mirror of
https://github.com/giancarloerra/socraticode.git
synced 2026-07-03 14:05:21 +02:00
bbc68199c3
A new top-level `extension/` package containing the SocratiCode VS Code extension. The same `.vsix` artefact ships to both VS Code Marketplace and Open VSX, which means it installs cleanly in Cursor, VSCodium, Gitpod, code-server, Eclipse Theia editors, Google Antigravity, and Particle Workbench in addition to stock VS Code. What it does: - Auto-registers the SocratiCode MCP server in VS Code's MCP host via `vscode.lm.registerMcpServerDefinitionProvider` (VS Code 1.99+). Copilot agent mode, Cline, Continue, Roo Code and any other MCP-aware client see SocratiCode's tools without the user editing any `.vscode/mcp.json`. - Forwards the user's `socraticode.env` setting to the engine subprocess unchanged. Power users point at an external Qdrant (`QDRANT_MODE=external` + `QDRANT_URL` + `QDRANT_API_KEY`), pick an embedding provider, or set any other engine knob exactly as documented in the engine README. - Activity Bar sidebar with "Indexed projects" tree view and welcome content. Discovers projects by listing graph artefacts the engine writes to `os.tmpdir()/socraticode-graph/`. - Webview panel for the interactive graph (`graphPanel.ts`). Reads the engine's self-contained HTML, wraps it with a tight CSP, injects a bridge script so node-clicks can `postMessage` back to the extension and open files in the editor. - Status-bar item showing "SocratiCode" with click-to-open-sidebar. Honours the `socraticode.statusBar` setting. - Two-step getting-started walkthrough (index your project, try search and the interactive graph). Shown automatically on first install; re-openable via the command palette. - Command palette commands: index workspace, open graph, refresh projects, open walkthrough, show output. - Output channel for engine logs. Build: esbuild bundles `src/extension.ts` to `dist/extension.js` (CJS, node18, sourcemap), `vscode` external. Biome lint and `tsc` strict mode both clean. Manifest smoke tests via Node's built-in test runner catch package.json regressions before activation. Packaged size: ~215 KB `.vsix`. Versioning: extension version tracks the engine version (currently `1.7.2`). Patch drift is allowed for extension-only hotfixes. The `scripts/bump-plugin-versions.mjs` hook from the previous commit already includes `extension/package.json` in its bump list, so future engine releases keep the extension in lockstep automatically.
1.2 KiB
1.2 KiB
SocratiCode VS Code / Open VSX extension changelog
All notable changes to the extension are documented here. The extension version tracks the engine version where possible.
1.7.2
Initial release.
Features
- Auto-registers the SocratiCode MCP server in VS Code's MCP host (Copilot
agent mode, Cline, Continue, Roo Code) via
vscode.lm.registerMcpServerDefinitionProvider. Nomcp.jsonediting required. - Activity-bar sidebar with "Indexed projects" tree view and welcome content.
- Status-bar item with click-to-open-sidebar.
- Webview-based interactive graph viewer (reads the HTML produced by the
engine's
codebase_graph_visualizetool). - Getting-started walkthrough (index your project, try search and the interactive graph).
- Commands palette entries:
- SocratiCode: Index current workspace
- SocratiCode: Open interactive graph
- SocratiCode: Refresh indexed projects
- SocratiCode: Open getting-started walkthrough
- SocratiCode: Show output / logs
- Output channel for engine logs.
- Engine env-var passthrough via
socraticode.env, so external Qdrant, alternate embedding providers, project IDs and other engine knobs all work out of the box.