Skip to content

feat: expand VS Code extension with 12 new chat commands#33

Closed
bilersan wants to merge 1 commit intoActiveMemory:mainfrom
bilersan:feat/vsix-commands
Closed

feat: expand VS Code extension with 12 new chat commands#33
bilersan wants to merge 1 commit intoActiveMemory:mainfrom
bilersan:feat/vsix-commands

Conversation

@bilersan
Copy link
Contributor

@bilersan bilersan commented Mar 7, 2026

Summary

Fixes #32 — Expands the VS Code chat participant with 12 new command handlers, bringing total coverage from 16 to 28 commands.

New Commands (12)

Command Handler Tests
/changes handleChanges 4
/config handleConfig 4
/doctor handleDoctor 2
/guide handleGuide 4
/why handleWhy 3
/memory handleMemory 4
/prompt handlePrompt 5
/decisions handleDecisions 3
/learnings handleLearnings 2
/deps handleDeps 6
/journal handleJournal 3
/reindex handleReindex 3

Other Changes

  • splitArgs helper — Parses quoted arguments ("multi word arg") correctly for commands like add task "my task title"
  • Activation event — Added onChatParticipant:ctx.participant to ensure the extension activates when users invoke the chat participant
  • Windows shell supportexecFile calls now use shell: true on Windows for proper PATH resolution
  • LICENSE — Added Apache-2.0 license file for the extension package
  • Tests — 78 new tests across all new handlers (53 → 131 total, all passing)

Files Changed

File Change
editors/vscode/src/extension.ts +683 lines (12 handlers, splitArgs, Windows shell)
editors/vscode/src/extension.test.ts +830 lines (78 new tests)
editors/vscode/package.json +52 lines (12 command definitions, activation event)
editors/vscode/README.md Updated feature list
editors/vscode/LICENSE New file (Apache-2.0)

Testing

npm run build  ✅ (28.9kb bundle)
npm test       ✅ (131 tests, 535ms)

Add comprehensive chat participant command coverage:
- changes: show what changed since last session
- config: manage runtime configuration profiles
- doctor: structural health check
- guide: quick-reference cheat sheet
- why: read the philosophy behind ctx
- memory: bridge Claude Code auto memory into .context/
- prompt: manage reusable prompt templates
- decisions: manage DECISIONS.md file
- learnings: manage LEARNINGS.md file
- deps: show package dependency graph
- journal: analyze exported AI sessions
- reindex: regenerate indices for DECISIONS.md and LEARNINGS.md

Also includes:
- splitArgs helper for quoted argument parsing
- Activation event for chat participant
- LICENSE file (Apache-2.0)
- 830+ lines of new tests (53 -> 131 total)
- Windows shell support in execFile calls

Signed-off-by: ersan bilik <ersanbilik@gmail.com>
@bilersan bilersan requested a review from josealekhine as a code owner March 7, 2026 02:48
@bilersan
Copy link
Contributor Author

bilersan commented Mar 7, 2026

Superseded by consolidated VS Code extension PR with full CLI parity (45 commands + Command Palette).

@bilersan bilersan closed this Mar 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

VS Code extension: add 12 missing chat participant commands

1 participant