YodaMan Manual

Local-first workspace intelligence with chat, search, mandatory Graphify knowledge graphs, supervised agent automation, plugins, desktop controls, VS Code commands, and mobile pairing.

Version 0.2.2

1. Setup

Install Context Expert, install Graphify, install dependencies, and start the runtime from the project root.

npm install -g @contextexpert/cli
python3 -m pip install graphifyy
npm install
sh setup.sh
npm start

The backend runtime listens on http://localhost:3090. The development web UI listens on http://localhost:5190. Use npm run desktop for the Electron app.

2. Core ideas

Local runtime

One private Express runtime powers the web UI, desktop app, VS Code extension, mobile companion, plugins, and runtime API.

Workspace control

Paste paths, browse folders in desktop clients, select, refresh, validate, edit, delete, and reindex absolute local workspace paths.

Knowledge graph

Graphify builds required workspace graphs for graph-aware answers, impact analysis, freshness warnings, architecture maps, and CLI health checks with yodaman doctor --graph.

Human-approved writes

Agent tasks use graph context, stream events, and pause for approval before applying file writes.

Local persistence

Task history and audit logs persist in SQLite when available, with JSON fallback.

Restricted plugins

Plugins declare permissions. Plugin uploads, unrestricted plugins, and agent shell commands are disabled by default and should only be enabled for trusted local support sessions.

Crash recovery

The desktop recovery screen shows the logo, runtime logs, retry/status actions, and Copy Error.

3. Web UI

4. Desktop app

The Electron app starts a managed runtime sidecar when no runtime is already available on port 3090. It also runs from the system tray.

5. VS Code extension

The extension checks runtime status, starts the runtime command, adds workspaces by browsing, pasting, or using the current VS Code workspace, asks/searches/reindexes the current workspace, opens runtime logs, runs and cancels agent tasks, streams events, opens proposed writes as diffs, approves or rejects changes, clears task/audit history, and exposes the YodaMan activity bar sidebar.

6. Mobile companion

The mobile companion pairs with yodaman://pair links. It can check status, list projects, choose a workspace, ask, search, inspect task timelines, open event details, cancel active tasks, refresh pending approvals, and approve or reject proposed writes.

7. Runtime API highlights

8. Troubleshooting

9. Verification

npm test
npm run build
npm run desktop:pack
cd extensions/vscode-yodaman
npm run lint
npm run package