Skip to content

quei4r/My-Reasonix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2,687 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

English  ·  简体中文


My Reasonix

My Reasonix

A VSCode extension that brings the Reasonix kernel into your editor sidebar — multi-tab agent sessions, project-scoped workspaces, and inline interactions.


VSCode-specific Features

  • 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.

Architecture

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
Loading
  • 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.

Development

# 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 window

A pre-launch task build:all runs these steps automatically before F5.

Configuration

  • MY_REASONIX_ADDR — backend listen address (default 127.0.0.1:18765)
  • Uses standard reasonix.toml / ~/.reasonix/config.toml

Credits

Based on DeepSeek-Reasonix — a multi-session reasoning & coding assistant powered by Claude AI, available as a Desktop app (Wails), CLI, and HTTP server.

About

Personal fork of Reasonix with Guardian model UI, web mode and tweaks

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages