DEV Community

Cover image for Iam 12 .I Shipped Streaming & Slash Commands in 1 Hour. Here Is Exactly What Didn’t Work Yet (And How I’ll Fix It).
Harun - solo dev
Harun - solo dev

Posted on

Iam 12 .I Shipped Streaming & Slash Commands in 1 Hour. Here Is Exactly What Didn’t Work Yet (And How I’ll Fix It).

I am 12 years old.
My development machine is a POCO C55 ($150 USD).
It is December 1st.

Yesterday evening, I launched KODA v0.1.0.
Today afternoon, I shipped v0.2.0 with streaming, slash commands, and new context sources.

Most founders would hide the bugs. They would pretend everything works perfectly.

I’m going to do the opposite. I’m going to show you exactly what is broken, what is missing, and why I shipped anyway.

Because in solo founder mode, velocity beats perfection. And honesty builds trust faster than any feature ever could.

⚡ WHAT SHIPPED IN V0.2.0 (THE WINS)

In less than an hour, I transformed KODA from a chat widget into an agentic assistant.

1. True Streaming (No More Spinners)

Before, you waited 3–6 seconds for the full response. Now, tokens render as they arrive via Server-Sent Events (SSE).

  • Result: First word appears in <500ms.
  • Feature: Added a Stop Button. If KODA starts hallucinating, kill it instantly. Save tokens. Save time.

2. Slash Commands (Muscle Memory)

Typing "Please explain this function" is tedious. Developers want shortcuts.
I added native slash command parsing:

  • /explain → Forces the "Problem → Cause → Solution" teaching mode.
  • /fix → Targets specific syntax/logic errors.
  • /test → Generates unit tests.
  • /doc → Writes JSDoc/Docstrings.
  • /refactor → Optimizes structure.
  • /optimize → Improves Big-O complexity.

These aren’t just prompts; they are intent classifiers that expand into structured requests with injected code context.

3. New Context Sources: @problems and @git

This is the game-changer.

  • @problems: Queries vscode.languages.getDiagnostics() to attach actual compiler errors/lint warnings to the prompt.
  • @git: Reads branch name and uncommitted changes via the VS Code Git API.

🛑 WHAT DIDN’T WORK YET (THE GAPS)

Here is the brutal truth. In v0.2.0, two major features are half-built.

Gap 1: @problems and @git Are Collected But Ignored

The extension gathers the diagnostics and git state perfectly. It sends them to the Cloudflare Worker.
But the Worker doesn’t use them yet.

Why? Because I prioritized getting the collection logic right before wiring the injection logic. If I had tried to do both at once, I would have introduced race conditions or token overflow bugs.

The Fix (v0.3.0): Update the Worker’s context-block builder to serialize context.problems and context.git into the Groq system prompt. This is a ~20-line change. Easy win.

Gap 2: Stop Button Doesn’t Kill the Backend Call

When you click Stop, the frontend aborts the fetch. The UI freezes. The user sees nothing.
But the Worker continues generating tokens until Groq finishes.

This burns credits unnecessarily.

The Fix (Future): Implement a Durable Object-based session ID. When the frontend aborts, it sends a DELETE /session/{id} request to the Worker, which then aborts the upstream Groq call. Complex, but necessary for scale.

Gap 3: No Multi-Conversation Persistence

Chat history lives in memory (retainContextWhenHidden). If you close VS Code, it’s gone.

The Fix (v0.3.0): Persist conversations in workspaceState. Add a drawer UI to switch between chats.

Gap 4: No Inline Code Actions

You can only invoke slash commands by typing them in chat. The lightbulb menu (CodeActionProvider) is not wired up.

The Fix (v0.3.0): Register a CodeActionProvider that adds "KODA: Explain/Fix/Test" to the editor gutter.

👑 WHY I SHIPPED ANYWAY

Big companies wait for QA sign-off. They wait for product managers to approve specs. They wait for legal review on privacy implications.

I waited 1 hour.

Because here is the secret: Users forgive missing features. They never forgive stagnation.

By shipping v0.2.0 with known gaps, I achieved three things:

  1. Feedback Loop: Real users tested the streaming parser under load. I found edge cases I couldn’t simulate locally.
  2. Trust Signal: By documenting the gaps publicly, I proved I know my own codebase inside out.
  3. Momentum: The psychological weight of "shipping" clears the fog of "planning."

🚀 ROADMAP TO V0.3.0 (NEXT 24 HOURS)

Based on the gaps above, here is the immediate priority list:

  1. Wire @problems and @git into the Worker prompt. (High Impact, Low Effort)
  2. Add Conversation Persistence. (Medium Impact, Medium Effort)
  3. Implement CodeActionProvider. (High UX Impact, Low Effort)
  4. Dedicated System Prompts per Slash Command. (Quality Improvement)

Target: v0.3.0 released within 24 hours. Same pace. Same transparency.

📥 DOWNLOAD V0.2.0

Get the current build here: github.com/harun-sket/Koda-cursor/releases/tag/v0.2.0

  1. Download koda-cursor-0.2.0.vsix (17.7 KB).
  2. Install via Ctrl+Shift+P → "Extensions: Install from VSIX".
  3. Restart.
  4. Try /explain @problems and watch the streaming cursor dance.

Tell me what breaks next. I’ll be watching the logs. And yes, v0.3.0 might drop before breakfast. 😂🐯

Top comments (0)