1 # Changelog
2
3 ## 1.4.0
4
5 Adds a headless one-shot mode, fine-grained permission rules, stdio transport
6 for MCP servers, an `/init` command, and a set of TUI upgrades: tabs, a live
7 thinking display, and collapsible tool calls.
8
9 ### What changed
10
11 - New headless mode: `sigit -p "prompt"` runs one agent turn with tools and exits — 0 on a completed turn, 1 on inference errors, 2 on bad invocations. Assistant text streams to stdout while logs and tool progress stay on stderr; `--cwd` sets the working directory and `--quiet` prints only the final message. Nobody can answer a permission prompt in a headless run, so `ask` collapses to a denial: grant tools for the run with `--allow-tool`, block them with `--deny-tool`, or use `SIGIT_PERMISSIONS=allow`
12 - Permission rules make autonomy granular: `[permissions.rules]` in `settings.toml` holds ordered `allow` and `deny` lists of `tool_name(pattern)` entries, e.g. `run_command(git *)` or `edit_file(src/*)`. Patterns match the command string for `run_command` and the path for file tools; deny always beats allow, and unparseable patterns fail closed, so a bad rule can only narrow access. Always-allow on a `run_command` prompt now grants that command family (its first two tokens), not the whole shell
13 - The MCP client speaks stdio: `mcp.toml` server entries can give a `command`, `args`, and an `env` map instead of a `url`, so the stdio-first majority of published MCP servers plugs in. Same handshake, timeouts, tool namespacing, and output caps as HTTP; `/mcp` shows the command line for stdio servers
14 - New `/init` command (TUI and ACP): runs a normal agent turn that explores the repository and writes an `AGENTS.md` — or improves an existing `AGENTS.md`/`CLAUDE.md` in place — going through the ordinary tools and permission checks
15 - The TUI gains tabs, cycled with the Tab key: Session is the chat, History lists saved sessions (restore with Enter, delete with a confirmed double-`d`, refresh with `r`), and Cloud shows the signed-in account, inference mode, current model and engine state, permission policy, and config dir, with a live Local Inference toggle
16 - The TUI shows model thinking: while a reply streams, the last three lines of the reasoning appear live under the spinner, dim and italic; finished replies collapse to a one-line indicator with the line count, and `/thinking` expands the full reasoning block above each reply. Display only — nothing changes in what is sent to the model, saved to sessions, or streamed over ACP
17 - Tool calls in the TUI transcript collapse to single dim title lines (the command for `run_command`, the path for file tools, the pattern for search and glob); `/tools` expands every entry to show the pretty-printed arguments and a capped tail of the result. Permission prompts keep showing the full command, and the model still receives full outputs
18 - When `AGENTS.md` and `CLAUDE.md` sit in the same directory, the instructions loader now prefers `AGENTS.md`, so shared content is injected once
19
20 ## 1.3.2
21
22 Adds a tool permission system with plan mode, durable sessions with context
23 compaction, background command execution, a subagent research tool, and commit
24 co-author attribution.
25
26 ### What changed
27
28 - Every tool call now passes a permission policy before executing. Read-only tools always run; mutating tools (and all MCP or unknown tools) are governed by, in order: plan mode, session grants, per-tool overrides, and a default mode from `[permissions]` in `settings.toml` (`allow`/`ask`/`deny`, default `ask`). On `ask`, editors get a native ACP permission dialog (allow once / allow for this session / deny) and the TUI pauses on a y/a/n prompt showing the tool and its arguments. `SIGIT_PERMISSIONS` overrides the default mode for headless runs and clients without permission support
29 - New `/plan [on|off]` command: plan mode blocks mutating tools and asks the model to present a plan while research tools keep working. `/permissions` prints the effective policy
30 - Sessions are durable: conversation history is saved per session under `~/.config/sigit/sessions/` after every turn. ACP `session/load` actually restores it, the TUI gets `/resume`, and `/clear` deletes the saved file
31 - Context compaction: `/compact` compresses the conversation on demand, and the agent compacts automatically once the history approaches a 24k-token budget, summarizing older turns and keeping the recent ones. The tool-round cap rises from 10 to 24 now that long sessions have a defense other than the cap
32 - `run_command` can run work in the background: pass `run_in_background` and the tool returns a task id immediately, so builds, test suites, and dev servers are no longer killed by the 120 second foreground timeout. Poll with the new `command_output` tool (read-only, never prompts) and stop with `kill_command`
33 - New `task` tool: delegate research to a fresh subagent conversation that only gets the read-only tools and returns its final answer, keeping the main context small. Available on OpenAI-compatible backends; on-device returns a clear fallback until onde supports a second context
34 - Commits created by the agent are co-authored: commit messages end with `Co-Authored-By: siGit Code <sigit@sigit.si>` (the [sigitc](https://github.com/sigitc) account), which GitHub renders next to the human author. If the model forgets the trailer, siGit amends it in, never rewriting commits that already exist on a remote
35 - ACP mode now honors the `OPENAI_BASE_URL`/`OPENAI_API_KEY` provider override at startup, matching the interactive client
36
37 ## 1.3.1
38
39 Adds [Model Context Protocol](https://modelcontextprotocol.io) (MCP) client
40 support with the official siGit Code MCP server baked in, a set of agent tools
41 that close parity gaps in the tool layer, and refreshed branding and licensing.
42
43 ### What changed
44
45 - siGit Code is now an MCP client: it connects to MCP servers over the Streamable HTTP transport (a single JSON-RPC endpoint), discovers the tools they expose, and offers them to the model alongside the built-in tools. When the model calls one, the call is forwarded to the owning server and the result fed back into the agent loop
46 - Bakes in the official siGit Code MCP server at `https://sigit.si/api/v1/mcp` (follows `SIGIT_CLOUD_URL`). When you are signed in (`sigit login`), the cloud session token is sent as the bearer credential
47 - Configure additional servers in `mcp.toml` — global (`~/.config/sigit/mcp.toml`) or project-local (`.sigit/mcp.toml`). Each `[[server]]` has a `name`, `url`, optional `enabled`, and optional `[server.headers]`; set `official = false` to opt out of the baked-in server
48 - MCP tools are namespaced `mcp__<server>__<tool>` so they never collide with built-in tools or across servers; tool output is capped to protect the model's context
49 - Discovery is best-effort at startup and bounded by a per-server timeout, so an unreachable server never blocks startup — it just contributes no tools
50 - Added a `/mcp` slash command (TUI and ACP) that lists configured servers, their connection status, and the tools each exposes
51 - Disable MCP entirely with `SIGIT_MCP=off`, or just the official server with `SIGIT_MCP_OFFICIAL=off`
52 - New agent tools that close parity gaps in the tool layer: `multi_edit` (apply a batch of exact-substring edits to one file atomically — written only if every edit matches), `glob` (locate files by name pattern with `**`/`*`/`?`/`{a,b}`, most-recently-modified first), `write_todos` (render a live task checklist through the tool result for multi-step work), and `remember` (append durable notes to the nearest `AGENTS.md`/`CLAUDE.md`)
53 - `edit_file` now supports `replace_all` and returns actionable failure context — naming the line whose trimmed text matches when only whitespace differs — so the model self-corrects in one round
54 - `search_files` gained a `file_glob` filter and a `max_results` cap (default 50, hard-capped at 1000) that also bounds the directory walk
55 - Refreshed branding and legal: updated `LICENSE`, `README`, and the npm/PyPI package descriptions
56
57 ## 1.3.0
58
59 Adds a Local Inference on/off toggle, the open [Agent Skills](https://agentskills.io)
60 format, and support for project instruction files (`AGENTS.md` and the like).
61
62 ### What changed
63
64 - Added a Local Inference on/off setting that is the explicit local-vs-cloud mode switch. It is persisted in `~/.config/sigit/settings.toml` (default on, local-first) and can be overridden with `SIGIT_LOCAL_INFERENCE`
65 - Toggle it with the `/local [on|off]` command (TUI and ACP); ACP clients without slash-command support get an equivalent "Local Inference" On/Off control in the session config panel
66 - `/models` now groups models by nature — Local vs siGit Code Cloud — and highlights the active mode's group while still showing the other, so the cloud tiers stay discoverable
67 - Discovers Agent Skills (folders with a `SKILL.md`) from `.sigit/skills/` and `.claude/skills/` in the project, `~/.config/sigit/skills/`, and `~/.claude/skills/`
68 - Follows the spec's progressive disclosure: each skill's name and description are advertised up front via a new `skill` tool, and the full instructions load only when the agent activates one
69 - Added a `/skills` slash command (TUI and ACP) that lists the discovered skills
70 - Reads project instruction files at session start: `AGENTS.md` (the cross-tool standard) and `CLAUDE.md`, walking from the working directory up to the repository root, plus a global file under `~/.config/sigit/`, and injects them into the session's system context so their guidance is always in force
71 - Nested instruction files are ordered outermost-first so the closest, most specific file takes precedence; the scan never reads above the repository root
72 - On-device models are no longer loaded implicitly. The chat UI and ACP sessions come up immediately, and the local model is brought into memory only when you run the `/load` command (or pick one in `/models`). Prompts sent before a model is loaded now return a hint instead of blocking on a multi-minute download.
73
74 ## 1.2.2
75
76 Streams assistant tokens as they arrive, on-device and over the cloud.
77
78 ### What changed
79
80 - Streamed assistant tokens live in the TUI and ACP sessions, both on-device and through siGit Code Cloud
81 - On-device inference streams only when a turn offers no tools, since `onde` can't stream and detect tool calls in the same pass; tool-capable turns still resolve in one shot
82 - Fixed the TUI so the latest message stays visible in long chats
83 - Put the cloud model-switch confirmation on its own line in ACP
84
85 ## 1.2.1
86
87 Stabilizes the Zed/ACP integration and finishes the cloud-tier wiring on top of 1.2.0.
88
89 ### What changed
90
91 - Fixed a Zed crash by keeping model-picker labels ASCII in the ACP model selector
92 - Wired ACP auth, cloud tiers, and slash commands into the Zed panel, including a `/reload` command to re-sync session state in place
93 - Fixed the TUI so the loaded-model checkmark appears once a download completes
94 - Synced bundled agent skills with the current code and added `CLAUDE.md`
95
96 ## 1.2.0
97
98 Adds siGit Code Cloud — a hosted inference tier alongside on-device models.
99
100 ### What changed
101
102 - Added siGit Code Cloud with cloud-tier routing, pointed at `sigit.si`
103 - Added account management slash commands and surfaced cloud tiers in `/models`
104 - Carried forward from 1.1.0: ACP SDK v0.13, refreshed dependencies and branding
105
106 ## 1.1.0
107
108 Bumps the ACP SDK to v0.13 and pulls in updated dependencies.
109
110 ### What changed
111
112 - Updated `agent-client-protocol` from v0.11 to v0.13
113 - Updated `onde` to 1.1.2
114 - Refreshed branding and skill metadata
115
116 ## 1.0.4
117
118 This release tightens up the terminal experience and finishes a few release-facing cleanup items.
119
120 ### What changed
121
122 - Added bold rich-text rendering in the TUI for assistant replies, so `**text**` now displays with terminal styling instead of raw markdown markers
123 - Refreshed the bundled skill metadata to follow the current Agent Skills `SKILL.md` format
124 - Synced the crate release metadata for the `1.0.4` cut
125
126 ## 1.0.3
127
128 This is the cleanup release for the editor-side startup problems.
129
130 ### What changed
131
132 - Fixed ACP sessions failing on the first real prompt because the server claimed the model was ready before anything had actually been loaded
133 - Changed ACP startup so the default model loads lazily on the first non-slash prompt instead of pretending it is already in memory
134 - Kept `initialize` and `session/new` lightweight while still sending proper progress updates once model loading begins
135 - Updated the Onde integration to `1.0.0`
136 - Removed a few dependencies we were no longer using
137
138 ## 1.0.2
139
140 This release was supposed to fix the ACP auth breakage. It did fix the stdout pollution problem, but it turned out not to be the whole story.
141
142 ### What changed
143
144 - Delayed model loading in ACP mode so startup diagnostics would not leak into protocol stdout during the auth handshake
145 - Tightened up the ACP startup path for editor integrations
146 - Refreshed some README wording while cutting `1.0.2`
147
148 ## 1.0.1
149
150 The first patch after `1.0.0` was mostly about making model loading and model switching feel less opaque.
151
152 ### What changed
153
154 - Added ToolCall-based progress UI for startup model loading and downloading
155 - Improved model-switch progress reporting in ACP clients
156 - Fixed model-load error handling so failed switches did not leave the UI in a weird state
157 - Cleaned up a few status messages and docs while the release was going out
158
159 ## 1.0.0 (2026)
160
161 siGit Code has been living in real smbCloud repos for a while now. At some point it stopped feeling like an experiment, so we called it 1.0.
162
163 ### What this release is
164
165 siGit Code is a local coding agent. It runs a quantized model on your machine, talks to editors over ACP, and can read files, run commands, fetch web pages, and write code without sending your project to a hosted API.
166
167 You can install it with Cargo, pip, npm, or Homebrew and use it like any other tool on your machine.
168
169 ### What shipped in 1.0
170
171 #### Editor integration
172
173 This is the core of the project.
174
175 Zed and VS Code can talk to siGit Code over ACP. Multi-turn sessions work. Tool calling works. Session forking works. Working-directory context works. That was the original goal, and it feels solid now.
176
177 #### Terminal UI
178
179 The terminal UI started as a side quest and turned out to be useful. You get a full-screen ratatui chat, streaming tokens, a spinner while the model is busy, and a model picker you can open in the middle of a session.
180
181 It runs on macOS and Linux. Windows gets ACP and editor mode for now. The Windows terminal UI is still unfinished.
182
183 #### Tool calling
184
185 This is the part that makes siGit Code feel like an agent instead of a chat box. The loop can run up to 10 rounds per message.
186
187 Available tools:
188
189 - `read_file` / `write_file` / `delete_file`
190 - `list_directory` / `search_files`
191 - `run_command`, with an optional working directory
192 - `read_website`, which fetches a URL and strips it down to readable text
193
194 The model can call a tool, inspect the result, and keep going until it has a real answer.
195
196 #### Model support
197
198 The model list ended up wider than we expected for 1.0:
199
200 - Qwen 3 1.7B, 4B, 8B, and 14B
201 - Qwen 2.5 1.5B and 3B
202 - Qwen 2.5 Coder 1.5B, 3B, and 7B
203 - DeepSeek Coder 6.7B
204
205 They are all GGUF models and they all come from Hugging Face on first run.
206
207 Qwen 3 is the interesting one. It uses extended thinking mode. The model reasons inside `<think>...</think>` blocks before answering. The TUI strips those blocks out and renders them dimmed above the reply, so you can see what happened without turning the whole conversation into noise.
208
209 The 8B model is the desktop default. Mobile stays on 1.7B because iOS gives apps roughly 2 to 3 GB of memory, and we learned the hard way that 3B can blow up on an iPhone 16e.
210
211 #### Model picker
212
213 The model picker shows:
214
215 - what is already cached locally
216 - what can be downloaded
217 - which models support tool calling
218 - whether the local cache looks healthy
219
220 You can open it with `/models` in the TUI or through the editor config option. Switching models happens in the background and the UI stays alive while the download or load is in progress.
221
222 #### smbCloud context
223
224 siGit Code knows smbCloud repos better than a generic coding assistant does. It understands the difference between platform-user flows and tenant-app auth flows, how `Project`, `FrontendApp`, `AuthApp`, and GresIQ fit together, and why Next.js SSR deploys are not the same thing as the generic git-push path.
225
226 Outside smbCloud, it backs off and behaves like a normal coding agent.
227
228 #### Distribution
229
230 Distribution took an unreasonable amount of time, honestly.
231
232 There are prebuilt binaries for macOS, Linux, and Windows on both arm64 and x64 where relevant, plus install paths through Cargo, PyPI, npm, and Homebrew:
233
234 - `cargo install sigit`
235 - `pip install sigit-code`
236 - `npm install -g @smbcloud/sigit`
237 - `brew install sigit`
238
239 Getting that whole pipeline to behave across CI, crates.io, PyPI, npm, and Homebrew was basically its own project.
240
241 ### What still does not work
242
243 The Windows terminal UI is still missing.
244
245 ACP and editor mode work on Windows. The part that is still missing is the interactive full-screen terminal UI. The blocker is Unix-specific terminal handling that has not been abstracted cleanly yet.
246
247 ### Changes since 0.1.2
248
249 - Added Qwen 3 14B support
250 - Added Qwen 3 `<think>` block parsing and separate rendering in the TUI
251 - Moved all TUI code into `#[cfg(unix)]`, which fixed a pile of dead-code errors on Windows CI
252 - Added live download progress during model switches, including cancellation with Ctrl+C
253 - Added model download and loading progress in the Zed agent config panel
254 - Added an animated spinner during model switching
255 - Added Qwen 2.5 Coder 7B
256 - Added downloadable models to the picker, not just locally cached ones
257 - Made model selection persist across restarts
258 - Added session working-directory support
259 - Moved model picker logic into a platform-independent module so Windows can compile without the TUI
260 - Added the `/models N` shortcut for picking a model by number
261 - Added the `read_website` tool
262 - Improved `read_file` handling and empty-reply detection
263 - Added async tool execution
264 - Fixed CI cross-compilation for macOS, iOS, Linux, and Windows
265 - Added npm, PyPI, and Homebrew distribution
266
267 ---
268
269 *© 2026 [Splitfire AB](https://5mb.app) ([siGit Code & Deploy](https://sigit.si)).*