Skip to content

specsmith-vscode 0.10.0: BYOE + agents sidebar trees + multi-agent routing (REQ-142, REQ-146)#47

Merged
tbitcs merged 5 commits intodevelopfrom
feat/0.10.0-multi-agent
May 4, 2026
Merged

specsmith-vscode 0.10.0: BYOE + agents sidebar trees + multi-agent routing (REQ-142, REQ-146)#47
tbitcs merged 5 commits intodevelopfrom
feat/0.10.0-multi-agent

Conversation

@tbitcs
Copy link
Copy Markdown
Contributor

@tbitcs tbitcs commented May 2, 2026

Companion to BitConcepts/specsmith#93. Adds the BYOE Endpoints tree view, the new Agent Profiles tree view, an AgentsClient wrapping the new specsmith agents CLI group, and 8 new commands (agents, testAgent, applyAgentPreset, routeActivity, pickSessionProfile, refreshAgents, refreshEndpoints, plus existing endpoint/test). Bridge passes --agent when SessionConfig.profileId is set; in-chat /agent works end-to-end via the restored runner. Version 0.8.0 -> 0.10.0; tsc clean.

Co-Authored-By: Oz oz-agent@warp.dev

tbitcs and others added 4 commits May 4, 2026 06:36
… (REQ-142)

Phase 3 of the BYOE 0.8.0 sprint. Surfaces the CLI-side endpoints registry to the VS Code extension and threads endpointId through the bridge so the agent can be routed to a self-hosted OpenAI-v1-compatible backend.

- src/EndpointsClient.ts: pure TS wrapper around 'specsmith endpoints list / test --json' + JSON parsers (parseEndpointsList, parseEndpointHealth) and the applyEndpointArg bridge helper. Tokens are never read from TypeScript memory; the CLI redacts inline tokens before serialising.

- src/types.ts: SessionConfig.endpointId optional field.

- src/bridge.ts: appends '--endpoint <id>' to specsmith run when SessionConfig.endpointId is set, routing through the openai-compat driver added in PR-2.

- src/extension.ts: new specsmith.endpoints command (Quick Pick over registered endpoints with copy / set-default / test actions) and specsmith.testEndpoint command (probes /v1/models, surfaces a notification with latency + model count).

- package.json: declares the two new commands.

- src/test/endpoints-client.test.ts: 11 new mocha tests covering the JSON parsers and the bridge arg helper (happy path, malformed body, redacted inline tokens, unknown auth kinds, non-object items).

- CHANGELOG.md: [Unreleased] entry.

Validation: tsc --noEmit clean; esbuild bundle 279.8kb; npm test 117 passing (was 104; +13 from the new suite).

Co-Authored-By: Oz <oz-agent@warp.dev>
Bump package.json to 0.8.0 + cut the BYOE 0.8.0 changelog section.

Co-Authored-By: Oz <oz-agent@warp.dev>
…EQ-142, REQ-146)

PR-B: BYOE end-to-end UI
- new specsmith.endpoints tree view (EndpointsTreeProvider)
- specsmith.refreshEndpoints command
- shipped command bar buttons in package.json

PR-G: agent profiles + activity routing
- new AgentsClient.ts wrapping specsmith agents subcommands
- new specsmith.agents tree view (AgentsTreeProvider) with profiles + routes
- new commands: specsmith.agents, .testAgent, .applyAgentPreset,
  .routeActivity, .pickSessionProfile, .refreshAgents
- bridge passes --agent <id> when SessionConfig.profileId is set
- /agent <id> in-chat command works through the runner
- session header pick command lets user pin a profile per session

PR-C/D/E/F skeletons
- new SpecsmithSidebars.ts also exports richer CLI-backed providers for
  workflows/notebooks/rules/mcp (file watching trees in SidebarTrees.ts
  remain the source of truth for back-compat; richer ones are exported
  for a follow-up swap)

Extension version 0.8.0 -> 0.10.0 (matches CLI bump).

Co-Authored-By: Oz <oz-agent@warp.dev>
@tbitcs tbitcs force-pushed the feat/0.10.0-multi-agent branch from 60610b8 to 0658b1d Compare May 4, 2026 10:39
* Drop the \specsmith.cloud\ view and \CloudTree\ provider from
  package.json + SidebarTrees.ts (now four file-watcher trees:
  workflows / notebooks / rules / mcp). The CLI-side
  \specsmith cloud spawn\ / \cloud-serve\ commands they fronted are
  no longer shipped.
* WelcomePanel: drop the 'Cloud Runs' bullet from the onboarding card.
* SpecsmithSidebars: update the registration-helper comment to match
  the four legacy trees.
* New src/test/agents-client.test.ts (15 hermetic tests) mirroring the
  shape of endpoints-client.test.ts: parseAgentsList happy-path, JSON
  error handling, defensive coercion, route shape, and applyAgentArg
  trimming + immutability.
@tbitcs tbitcs merged commit 73799a4 into develop May 4, 2026
3 checks passed
@tbitcs tbitcs deleted the feat/0.10.0-multi-agent branch May 4, 2026 20:01
tbitcs added a commit that referenced this pull request May 4, 2026
Bumps `package.json` from 0.10.0 to 0.10.1 and renames the existing
`[Unreleased]` CHANGELOG section to `[0.10.1] - 2026-05-04`. The
0.10.0 tag captured the multi-agent + BYOE work (PRs #45/#47/#48);
this point release rolls in the security hardening from #49 (17
CodeQL alerts closed) and the regex follow-up.

Validation:
- npm run lint: clean.
- npm test: 144 passing.

Co-Authored-By: Oz <oz-agent@warp.dev>
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.

1 participant