Persistent Sage 2.0
Persistent Sage 2.0 adds Coding mode — a repo-scoped AI development workspace alongside the existing Companion chat experience.
Highlights
Dual-mode application
- Companion mode — unchanged 1.0 experience: chat, Memory Anchor, Pulse, projects, agent web tools.
- Coding mode — git repos under
workspace/repos/, file tree, multi-tab editor, integrated terminal, and a coding agent with dedicated tools. - Mode switcher in the header; last mode persisted locally.
Repository management
- New project wizard with templates: empty, Rust, Node.js, Python, Tauri, C#.
- Clone HTTPS repositories into
workspace/repos/(GitHub PAT). - Refresh rescans the repos folder; manual folder drop supported.
- Per-repo coding conversations in SQLite, keyed by repo and companion when linked.
Built-in IDE layer
- Multi-tab file editor with line numbers, save/revert, Ctrl+S, open in external editor.
- Split | Editor | Chat view toolbar with unsaved-file indicator.
- Resizable integrated terminal with allowlisted shell commands.
- Agent
coding_run_commandoutput streams to the terminal during chat.
Coding agent tools (opt-in)
coding_grep,coding_apply_patch,coding_run_command- Local git: status, diff, commit
- Remote git (HTTPS + encrypted PAT): push, pull, fetch, clone
coding_repo_create,coding_github_save_pat- Workspace file tools with
repos/...paths
Companion ↔ coding link
- Link coding mode to active companion (default on): shared persona and memory recall; coding-specific memory extraction filters out code and tool output.
Security notes
- GitHub PAT encrypted like API keys; injected via
GIT_ASKPASS, not stored in.git/config. - Force push blocked; shell command allowlist and blocklist; repo paths confined to
workspace/repos/.
Provider support
Coding agent tools require OpenAI, Anthropic, xAI, or Ollama. Google Gemini and Placeholder providers support coding chat but not tool execution.
MSIX (Microsoft Store)
- Package version: 2.0.0.0
- Artifact:
PersistentSage_2.0.0.0_x64.msix - Build: push to
main→ Build MSIX workflow, ornpm run msix:packlocally on Windows.
GitHub (direct download)
- Tag:
v2.0.0 - Attach NSIS installer +
latest.jsonto the GitHub Release for Tauri updater users. - Settings → General → Updates checks GitHub Releases on non-Store installs.
Settings checklist for coding
- Settings → Provider — tool-capable model (OpenAI, Anthropic, xAI, or Ollama).
- Settings → Tools → Coding mode (v2) — enable grep/patch, shell, git, and remote git as needed.
- GitHub PAT — for clone/push/pull (Settings or paste in chat for agent to save).
- Link coding mode to active companion — leave on for shared memory, or off for isolated coding persona.
Full guide: docs/CODING-MODE.md.