English · 简体中文
A VSCode extension that brings the Reasonix kernel into your editor sidebar — multi-tab agent sessions, project-scoped workspaces, and inline interactions.
- Sidebar integration — Runs as an Activity Bar panel, side-by-side with your editor.
- Editor tab settings — Click the gear icon to open settings as a VSCode Editor Tab (gear icon included), draggable and pinnable.
- Workspace awareness — Tracks the current VSCode workspace folder. Switch projects — your session tabs follow.
- Lifecycle managed — The Go backend runs as a child process. Close VSCode — it cleans up. No manual start/stop.
- No silent failures — Every
.catch(() => {})replaced with full-stacktrace error logging.
flowchart LR
subgraph Ext[VSCode Extension Host]
TS["extension.ts<br/><small>spawn / kill backend<br/>expose VSCode API</small>"]
end
subgraph FE[Frontend]
IF["iframe<br/><small>orchestrator<br/>who has the data, ask the source</small>"]
end
subgraph BE[Go Backend]
GO["my-reasonix<br/><small>pure Reasonix logic<br/>no VSCode concepts</small>"]
end
TS <==postMessage==> IF
IF ==HTTP/SSE==> GO
GO ==HTTP/SSE==> IF
style Ext fill:#1e1e2e,stroke:#45475a,color:#cdd6f4
style FE fill:#1e1e2e,stroke:#45475a,color:#cdd6f4
style BE fill:#1e1e2e,stroke:#45475a,color:#cdd6f4
style TS fill:#313244,stroke:#585b70,color:#cdd6f4
style IF fill:#313244,stroke:#585b70,color:#cdd6f4
style GO fill:#313244,stroke:#585b70,color:#cdd6f4
- extension.ts — Spawns/kills the Go process, pushes workspace root and VSCode events to the frontend via postMessage.
- Frontend (iframe) — Gets VSCode info from the extension, Reasonix data from the Go backend. Orchestrates.
- Go Backend — No VSCode-specific code. Pure Reasonix kernel. Communicates over HTTP/SSE.
# Build frontend
cd frontend
pnpm install && pnpm build
# Build Go backend
CGO_ENABLED=0 go build -o my-reasonix .
# Press F5 in VSCode to launch the Extension Host debug windowA pre-launch task build:all runs these steps automatically before F5.
MY_REASONIX_ADDR— backend listen address (default127.0.0.1:18765)- Uses standard
reasonix.toml/~/.reasonix/config.toml
Based on DeepSeek-Reasonix — a multi-session reasoning & coding assistant powered by Claude AI, available as a Desktop app (Wails), CLI, and HTTP server.