1 # Changelog
2
3 ## 1.5.10
4
5 ### What changed
6
7 - **Xcode's context no longer buries slash commands.** Xcode sends the user's
8 prompt as the last of several text blocks, with project context in the
9 blocks before it, so `/models` and friends sat in the middle of joined text
10 and were handed to the model instead of dispatching locally. Slash-command
11 parsing now searches the prompt's text blocks from the end, so a standalone
12 command in the final user block dispatches no matter what context the client
13 prepends
14 - **The nova tier is the default cloud engine.** When local inference is off
15 and no explicit provider override is set, the cloud tier now defaults to
16 `nova` (the `onde-nova` model) instead of the balanced tier, in both the
17 interactive and headless paths
18
19 ### Fixed
20
21 - **Malformed Chinese-model tool calls are handled end-to-end in ACP.** The
22 inline-call recovery that 1.5.9 added for Kimi K3's XTML protocol and GLM's
23 mis-tagged blocks only applied to the interactive and headless surfaces;
24 the ACP path never ran it, so an editor session still surfaced raw protocol
25 text and dropped the calls. Recovery now runs in the ACP prompt loop too,
26 covered by integration tests, and the tool names are checked against the
27 turn's offered tools before anything executes
28 - **Suppressed tool-call log spam is gone.** The guard that logs when a
29 structured call is dropped for arriving as forced text fired once per
30 streamed argument fragment — one malformed call could log a warning per
31 chunk. The check now fires once per turn with the count and names of what
32 was dropped, and the non-streaming path reports the same
33 - **A history-replay test no longer races on the process cwd.** One ACP test
34 built its expected path from `std::env::current_dir()` while other tests
35 briefly swap that process-global cwd, so on CI it could read a temp
36 directory mid-swap and compare a truncated title against an untruncated
37 expectation. It now uses a fixed path it never needed to derive
38
39 ## 1.5.9
40
41 ### Fixed
42
43 - **Kimi K3 tool calls no longer arrive as raw protocol text.** Kimi K3 renders
44 a call in Moonshot's XTML protocol — pipe-delimited open/sep/close tokens
45 wrapping named blocks — and when the serving stack doesn't parse that back
46 into structured tool calls, the whole block surfaced in the editor as literal
47 text and the turn ended as though the model had answered in prose. The
48 inline-call recovery now speaks that protocol alongside the legacy XML tags:
49 tools blocks are parsed into real calls (several per block, argument values
50 decoded and typed from the block's own type attribute or, when it is
51 missing, the turn's tool schemas), response blocks are unwrapped so their
52 text still renders, and think blocks are dropped as private reasoning rather
53 than shown. The streaming scanner watches all the opening markers, so a
54 block split across chunk boundaries still recovers
55 - **GLM's mis-tagged calls recover too.** GLM sometimes precedes the legacy
56 block's first argument key with another tool-call opening tag instead of the
57 arg-key opening tag the format calls for, and the recovery rejected the
58 whole block when it did — the call surfaced as text and whatever it was
59 trying to do was dropped. The parser now accepts that alias for the first
60 argument only — later arguments stay strict, so text that merely resembles a
61 call cannot be recovered as one — in both the whole-blob and streaming
62 paths, and the scanner tolerates the malformed marker split across chunk
63 boundaries. Recovery in both protocols also checks the call's name against
64 the tools actually offered in the turn: a tag naming a tool that was never
65 in the turn's spec stays on screen instead of being executed
66
67 ## 1.5.8
68
69 ### What changed
70
71 - **Editor panels can switch permission mode without a slash command.** ACP
72 clients now get a Permissions selector next to the model controls with
73 Manual, Auto, and Plan choices for the current session. Manual keeps the
74 existing approval prompts, Auto lets mutating tools run unattended while
75 still respecting explicit deny rules in `settings.toml`, and Plan keeps the
76 agent in research-only mode. The selector follows `/plan` and `/clear`, and
77 it is deliberately session-scoped so a risky Auto choice does not persist
78 into the next task
79 - **Tool calls in the editor are worth opening now.** Zed only drew the
80 disclosure arrow on the handful of cards siGit set `content` on — the model
81 download and switch spinners — because everything else carried nothing but
82 `rawInput` and `rawOutput`, fields ACP gives clients no display guidance for.
83 Every tool call now gets a fenced content block: the pretty-printed arguments
84 while it runs, then the tool's output once it finishes, with a `(no output)`
85 placeholder for a silent command like `git add`. Cards are titled
86 `<tool> · <arg>` rather than the bare tool name, path-bearing tools set
87 `locations` so the editor can follow along, and a replayed session gets the
88 same treatment as a live one
89 - **The context window is visible before compaction fires.** Both model pickers
90 show each model's window, and the TUI title bar has a gauge for how much of
91 it the conversation is using. Cloud tiers report their own window instead of
92 the compaction budget — the budget is when siGit Code summarizes history, not
93 how much the model can hold, and labelling one with the other understated the
94 window by an order of magnitude
95 - **`write_todos` renders as a plan, not a tool card.** Zed and other clients
96 have real progress UI for `session/update` plans, so the model's todo list
97 goes there
98 - **Picker changes read as status rather than chat.** Switching model or
99 inference backend is UI state, so it renders as a completed think-kind tool
100 call. The sign-in prompt stays an assistant message, since it needs the user
101 to act on it
102
103 ### Fixed
104
105 - **A reopened thread comes back with its history.** Clicking a saved thread in
106 Zed sends `session/load`, and the client draws the thread purely from the
107 `session/update` notifications the agent streams while that request is in
108 flight. siGit restored the saved history into the backend, which is what
109 makes the model remember, but sent the client nothing — so the thread opened
110 empty and looked like a brand new conversation. The snapshot is now turned
111 into updates before it is restored: user and assistant text as message chunks
112 with reasoning stripped, each tool call completed with its result folded in,
113 and `write_todos` as a plan the way it renders live. System messages stay
114 out, since they seeded the model and were never on screen
115 - **Compaction no longer fails in every session that ran a tool.**
116 `compact_history` asked for the summary through `complete(None, None)`, which
117 sends no tools array but left the live history in place. That history is
118 thick with assistant `tool_calls` and `role: "tool"` messages, and an
119 endpoint handed tool shapes with no schema to check them against rejects the
120 request — Anthropic answers 400. So compaction failed on every attempt in any
121 session that had run a single tool, however small the history was, and then
122 retried on every prompt and tool round while that history kept growing. The
123 conversation now goes as a flattened transcript in one user message, which
124 keeps what the summary needs and drops the shapes that only mean anything
125 next to a tool schema
126 - **A tool call emitted as text is no longer dropped.** Qwen 3, GLM and
127 DeepSeek write a call as `<tool_call>NAME<arg_key>…` in their chat template
128 and rely on the serving stack to parse it back into `tool_calls`. When that
129 doesn't happen the tag arrives as ordinary content, so it was rendered
130 verbatim in the editor and the turn ended as though the model had chosen to
131 answer in prose. Both the streaming and non-streaming paths now scan content
132 for those blocks and turn well-formed ones back into real calls, typing
133 argument values from the turn's own tool schemas. The streaming scanner holds
134 back only enough text to catch a tag straddling a chunk boundary, so ordinary
135 answers still stream token by token. A block that doesn't match the expected
136 shape is left in the text untouched: reissuing a `run_command` is cheap, but
137 guessing wrong at a half-parsed `edit_file` would write the wrong change to a
138 file
139 - **Tool-call content survives awkward output.** Whitespace-only output is
140 preserved rather than collapsed, malformed arguments no longer get a
141 misleading JSON fence, and fence language identifiers are sanitized
142
143 ## 1.5.7
144
145 ### What changed
146
147 - **`@smbcloud/sigit` gets releases again.** The npm scope moved to
148 `@getsigit` in 1.5.5 and the old package was left sitting on the registry at
149 1.5.2, so an install made before the rename went quiet — `npm update` had
150 nothing to give it and nothing said why. All seven packages now publish under
151 both scopes from the same build, so `@smbcloud/sigit` is a full install again
152 rather than a stub, with its own platform binaries and no dependency on the
153 new scope. It prints a line on stderr saying where the package moved to;
154 `SIGIT_SUPPRESS_SCOPE_NOTICE=1` turns that off. This is a migration path, not
155 a second home: `@getsigit/sigit` is what the docs, the Homebrew tap, and the
156 ACP registry entry point at, and it is the name to move to
157 - **Multi-root projects now work in the editor.** When a client opens several
158 directories in one project, ACP sends the extra ones as
159 `additionalDirectories` — but only to an agent that says it wants them, which
160 siGit never did, so Zed kept the first root and showed a banner saying
161 multi-root workspaces were unsupported. The capability is now advertised at
162 `initialize`, and the directories that arrive are no longer logged and thrown
163 away. All the roots are now part of the session: the model is told about each
164 one, every root's `AGENTS.md` / `CLAUDE.md` is loaded, and skills, slash
165 commands, and subagent types are discovered from all of them (primary root
166 first, so it still wins name collisions). `/status` lists the roots when
167 there is more than one, and headless runs take the same thing as repeatable
168 `--add-dir <dir>` flags. MCP servers are the exception: discovery happens
169 once at startup, before a session exists, so a second root's `.sigit/mcp.toml`
170 is not picked up
171
172 ### Fixed
173
174 - **A shell command can no longer wedge the editor session.** Tool commands
175 inherited siGit's own stdin, which in ACP mode is the JSON-RPC pipe from the
176 editor. A command that read stdin — a signing passphrase prompt, a pager, a
177 `git` credential ask — blocked on it and consumed the client's next request
178 out of the pipe, so nothing typed afterwards ever reached the agent and the
179 session stayed dead past the command timeout. Commands, hooks, and the
180 co-author `git` helpers now run with stdin closed, so a command that wants
181 input gets EOF and reports an error instead
182 - **A command that prints a lot no longer stalls for two minutes.**
183 `run_command` waited for the command to exit before reading its output, so
184 anything past the pipe buffer (a build, a verbose test run) blocked writing
185 while siGit blocked waiting, until the 120-second timeout killed it. Output
186 is now drained while the command runs
187 - **The command timeout now stops the whole command.** It killed only the
188 shell, leaving anything that shell had started running and unreaped; it now
189 kills the process group
190 - **A refused turn now shows the endpoint's own message.** siGit pasted the
191 status line and the raw JSON body into the editor's error banner, so a
192 billing or allowance message arrived wrapped in
193 `endpoint returned 429 Too Many Requests: {"error":{"message":…`. The message
194 the endpoint wrote is what the banner shows now; the status is only used when
195 there is no message to show
196 - **An error that arrives mid-stream is no longer silent.** An endpoint that
197 fails after the response is already open reports it as a frame in the stream.
198 That frame carries no `choices`, so siGit parsed it as an empty chunk and
199 skipped it, and the turn ended as though the model had answered with nothing
200
201 ## 1.5.6
202
203 ### What changed
204
205 - **Switching models mid-conversation no longer restarts it.** Both switching
206 to a local GGUF model and picking a different cloud tier now carry the live
207 conversation history across, repairing any half-finished tool call so
208 strict OpenAI-compatible endpoints don't reject the session
209 - **Long-running tools now show progress in ACP clients.** Synchronous tools
210 (shell commands, file operations, `read_website`, ...) run on a blocking
211 thread pool instead of the ACP connection's own task, so a slow command's
212 `in_progress` update reaches the client — and Zed's spinner — while the
213 command is still running instead of arriving with the result
214 - **Text from consecutive tool rounds no longer runs together.** ACP and
215 headless clients concatenate consecutive message chunks, so a reply that
216 continued after a tool call used to glue onto the previous round's last
217 sentence with no space. A blank line now opens the next round's text
218 - **New onde-cloud model tiers.** The model picker (`/models` in the TUI, the
219 config panel in editors) now offers five additional siGit Code Cloud tiers —
220 `flux`, `apex`, `aura`, `orbit`, and `nova` — alongside the existing Fast,
221 Balanced, Large, Mini, Air, Pro, and KKK options. The tier list mirrors
222 onde-cloud's router catalogue, so all three sides (the picker, the router,
223 and the cloud catalogue) have to be updated together when a tier is added
224 - **MCP Registry listing moved to `getsigit/si`.** The `server.json` manifest
225 and its `release-mcp-registry.yml` publish workflow now live in the
226 [`getsigit/si`](https://github.com/getsigit/si) repo alongside the si CLI's
227 other code, since the registry entry describes the si platform rather than
228 the coding agent
229
230 ## 1.5.5
231
232 A distribution release. siGit Code itself is unchanged. What moved is how it
233 reaches you on npm and on Windows.
234
235 ### What changed
236
237 - **The npm package is now `@getsigit/sigit`.** The six platform packages moved
238 with it. `@smbcloud/sigit` stays on the registry but stops receiving updates,
239 so upgrading means switching names:
240 `npm uninstall -g @smbcloud/sigit && npm install -g @getsigit/sigit`. The old
241 package had been stuck at 1.5.2, so this picks up 1.5.3 and 1.5.4 as well.
242 - **npm publishes over OIDC.** Every `@getsigit/*` package has a trusted
243 publisher pointing at the release workflow, so no npm token is stored in the
244 repository. The release workflow moves to Node 22, which trusted publishing
245 requires.
246 - **winget releases actually go out.** The workflow could only update a package
247 already present in `microsoft/winget-pkgs`, and siGit Code had never been
248 submitted there, so every dispatch failed. It now submits the package the
249 first time and updates it on later releases. The identifier is
250 `getSigit.siGitCode`.
251
252 ## 1.5.4
253
254 - **CI**: nfpm config expanded to include package version and binary path
255
256 ## 1.5.3
257
258 Adds browser-based sign-in, expands distribution channels to Windows (winget,
259 Scoop), Linux (AUR, deb, rpm), and .NET (NuGet), gives ACP clients live
260 visibility into tool activity, adds the KKK and Moonshot AI cloud tiers, and
261 fixes the co-authored-by trailer email.
262
263 ### What changed
264
265 - **Browser sign-in:** `sigit login` now opens a browser OAuth flow (PKCE S256
266 against the siGit Code Cloud authorization server) so you can sign in without
267 a password. A loopback listener catches the redirect automatically; a
268 paste-back fallback handles environments where a loopback isn't reachable.
269 `--paste` forces the paste path, `--password` keeps the old email/password
270 prompt. Zed's "Sign in to siGit Code" button uses the loopback path via ACP
271 `authenticate`
272 - **New release channels:** siGit Code is now published to winget
273 (`getsigit.siGitCode`), Scoop (`getsigit/scoop-bucket`), the AUR
274 (`sigit-bin`), and as `.deb`/`.rpm` packages alongside the existing
275 Homebrew, npm, PyPI, crates.io, and NuGet channels
276 - **NuGet .NET tool:** `dotnet tool install --global SiGit.Code` now works on
277 Windows, macOS, and Linux — the package bundles all six platform binaries and
278 a managed shim that execs the right one, leaving stdin/stdout/stderr
279 unredirected so TUI vs ACP mode detection still works
280 - **New cloud tiers:** the model picker (`/models` in the TUI, the config
281 panel in Zed) now offers the `onde-kkk` (KKK) and Moonshot AI (`oke`) tiers
282 alongside the existing Fast, Balanced, Large, Mini, Air, and Pro options
283 - **ACP tool visibility:** the agent loop now emits `ToolCall(InProgress)`
284 before each tool runs and `ToolCallUpdate(Completed/Failed)` after it
285 returns, so clients like Zed gain live visibility into tool activity between
286 inference rounds. `tool_choice: "auto"` is also sent explicitly whenever
287 tools are present, fixing models that describe actions in prose rather than
288 issuing a tool call when the field is absent
289 - **Malformed tool argument logging:** invalid tool argument JSON is now logged
290 at three sites (TUI pretty-printer, ACP tool-call event, permission request)
291 instead of silently falling back to a string value, making malformed payloads
292 visible in logs while preserving backward-compatible behaviour
293 - **Co-authored-by trailer fix:** the `Co-Authored-By` trailer email was
294 updated to `noreply@sigit.si` (platform-neutral); the commit attribution
295 check was tightened to use idiomatic ownership
296 - **NuGet trusted publishing:** the NuGet release workflow now exchanges a
297 GitHub OIDC token for a short-lived NuGet API key (via `NuGet/login`) instead
298 of relying on a long-lived `NUGET_API_KEY` secret, so there is no stored
299 credential to rotate or leak
300 - **AUR dispatch temporarily disabled:** the AUR release workflow is no longer
301 dispatched from `release-github` while new AUR account registration is
302 closed; the `sigit-bin` channel returns once registration reopens
303 - Legal and branding copy updated
304
305 ## 1.5.2
306
307 Brings the latest siGit Code Cloud tiers to the picker and aligns the MCP
308 registry metadata with the server release.
309
310 ### What changed
311
312 - `/models` now lists the Pro, Air, and Mini siGit Code Cloud tiers alongside
313 Fast, Balanced, and Large
314 - Updated the MCP registry manifest to version 1.2.5, matching the siGit Code
315 Cloud server release
316 - Updated the Agent Client Protocol SDK to the latest v1 release
317
318 ## 1.5.1
319
320 Makes siGit Code work as an Xcode custom agent, and updates the Onde SDK.
321
322 ### What changed
323
324 - Xcode can now run siGit Code as a custom agent. Point it at the binary with
325 `--acp` as the argument, and that explicit mode loads the selected on-device
326 model on the first prompt, since Xcode's chat has no equivalent of `/load`.
327 The README covers the setup, including wiring up `xcrun mcpbridge` in
328 `mcp.toml` so the agent can use Xcode's build, test, and project tools
329 - MCP calls to the `xcode` server time out after 30 seconds instead of 120, so
330 a request Xcode cannot service no longer leaves the prompt looking busy for
331 two minutes. String JSON-RPC ids from the bridge are handled too
332 - The agent stops repeating itself: a tool call made three times with identical
333 arguments now forces a text reply instead of looping
334 - Onde SDK bumped to 1.2.2
335 - The registry listing in `server.json` matches what sigit.si publishes
336
337 ## 1.5.0
338
339 Opens the agent up to user extension: lifecycle hooks, custom slash commands,
340 and configurable subagent types. Also adds web search, a Repo tab in the TUI,
341 and a baked-in smbCloud MCP server.
342
343 ### What changed
344
345 - Hooks let you run shell commands at three points in the agent's lifecycle:
346 `session_start`, `pre_tool_use`, and `post_tool_use`, configured under
347 `[hooks]` in `settings.toml`. Commands get context through variable
348 substitution (`{cwd}`, `{tool_name}`, `{tool_result_len}`) and run in the
349 session working directory. A hook that fails is logged and the session
350 continues; a hook that hangs is killed on a timeout, along with its whole
351 process group
352 - User-defined slash commands: drop a Markdown file in `.sigit/commands/` or
353 `.claude/commands/` (or the personal `$SIGIT_CONFIG_DIR/commands/` and
354 `~/.claude/commands/`) with optional `description` and `argument-hint`
355 frontmatter, and the body becomes a prompt template. `$ARGUMENTS` takes the
356 whole argument string and `$1`..`$9` the positional words. A subdirectory
357 namespaces the command with `:`, so `.sigit/commands/git/commit.md` becomes
358 `/git:commit`. They run as ordinary agent turns through the usual tools and
359 permission checks, and are advertised to ACP clients like Zed. `/commands`
360 lists what was discovered
361 - Configurable subagent types for the `task` tool: a Markdown file in
362 `.sigit/agents/` or `.claude/agents/` with `name`, `description`, and an
363 optional `tools:` allow-list, whose body becomes that subagent's system
364 prompt. Pass its name as `subagent_type` to swap the prompt in. The
365 `tools:` list can only narrow the subagent's read-only ceiling, never widen
366 it, so a config file cannot grant itself `edit_file` or `run_command` and
367 route around the permission system. `/agents` lists the discovered types
368 - New `web_search` tool, backed by the Brave-Search-backed search on siGit
369 Code Cloud's MCP server. It is offered only when you are signed in, and it
370 is classified read-only, so searching never triggers a permission prompt
371 - The TUI gains a Repo tab, shown when the session's `origin` remote points at
372 the sigit.si host. It lists issues and pull requests fetched through the
373 official MCP server: Up and Down select, Enter opens a scrollable detail,
374 `i`, `p`, Left and Right switch sections, `r` refreshes. The tab is hidden
375 and skipped in the cycle for any other remote
376 - The smbCloud CLI's stdio MCP server (`smb --mcp`) is now baked in, so
377 smbCloud project and deployment tools work with no `mcp.toml` setup. It is
378 added only when the `smb` binary is on `PATH`, its read-only tools (`me`,
379 `deployments`, `project_list`, `project_show`) skip permission prompts, and
380 you can opt out with `smbcloud = false` in `mcp.toml` or
381 `SIGIT_MCP_SMBCLOUD=off`
382 - siGit Code Cloud's MCP server is now listed in the public MCP Registry as
383 `si.sigit/sigit`, published from `server.json` at the repository root
384
385 ### Fixes
386
387 - An explicit `deny` rule now applies to read-only first-party tools instead
388 of being skipped
389 - A subagent type whose `tools:` list resolves to an empty set is rejected
390 rather than producing a subagent with no tools
391 - Command templates render in a single substitution pass, so an argument that
392 contains something like `$1` is no longer re-substituted
393 - Frontmatter is stripped with the same leniency it is parsed with
394 - The Repo tab's detail view no longer shows stale data after a refresh
395
396 ## 1.4.1
397
398 Two small fixes: correct co-author attribution and a Homebrew tap fix.
399
400 ### What changed
401
402 - The `Co-Authored-By` trailer siGit Code adds to commits now uses the GitHub
403 noreply address for the [sigitc](https://github.com/sigitc) account instead
404 of `sigit@sigit.si`, so GitHub reliably attributes co-authored commits to
405 the siGit Code profile
406 - Fixed the Homebrew tap install docs to trust the tap with `brew trust`
407 instead of a `brew tap --force` flag
408
409 ## 1.4.0
410
411 Adds a headless one-shot mode, fine-grained permission rules, stdio transport
412 for MCP servers, an `/init` command, and a set of TUI upgrades: tabs, a live
413 thinking display, and collapsible tool calls.
414
415 ### What changed
416
417 - 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`
418 - 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
419 - 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
420 - 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
421 - 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
422 - 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
423 - 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
424 - When `AGENTS.md` and `CLAUDE.md` sit in the same directory, the instructions loader now prefers `AGENTS.md`, so shared content is injected once
425
426 ## 1.3.2
427
428 Adds a tool permission system with plan mode, durable sessions with context
429 compaction, background command execution, a subagent research tool, and commit
430 co-author attribution.
431
432 ### What changed
433
434 - 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
435 - 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
436 - 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
437 - 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
438 - `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`
439 - 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
440 - 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
441 - ACP mode now honors the `OPENAI_BASE_URL`/`OPENAI_API_KEY` provider override at startup, matching the interactive client
442
443 ## 1.3.1
444
445 Adds [Model Context Protocol](https://modelcontextprotocol.io) (MCP) client
446 support with the official siGit Code MCP server baked in, a set of agent tools
447 that close parity gaps in the tool layer, and refreshed branding and licensing.
448
449 ### What changed
450
451 - 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
452 - 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
453 - 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
454 - 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
455 - 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
456 - Added a `/mcp` slash command (TUI and ACP) that lists configured servers, their connection status, and the tools each exposes
457 - Disable MCP entirely with `SIGIT_MCP=off`, or just the official server with `SIGIT_MCP_OFFICIAL=off`
458 - 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`)
459 - `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
460 - `search_files` gained a `file_glob` filter and a `max_results` cap (default 50, hard-capped at 1000) that also bounds the directory walk
461 - Refreshed branding and legal: updated `LICENSE`, `README`, and the npm/PyPI package descriptions
462
463 ## 1.3.0
464
465 Adds a Local Inference on/off toggle, the open [Agent Skills](https://agentskills.io)
466 format, and support for project instruction files (`AGENTS.md` and the like).
467
468 ### What changed
469
470 - 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`
471 - 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
472 - `/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
473 - Discovers Agent Skills (folders with a `SKILL.md`) from `.sigit/skills/` and `.claude/skills/` in the project, `~/.config/sigit/skills/`, and `~/.claude/skills/`
474 - 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
475 - Added a `/skills` slash command (TUI and ACP) that lists the discovered skills
476 - 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
477 - Nested instruction files are ordered outermost-first so the closest, most specific file takes precedence; the scan never reads above the repository root
478 - 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.
479
480 ## 1.2.2
481
482 Streams assistant tokens as they arrive, on-device and over the cloud.
483
484 ### What changed
485
486 - Streamed assistant tokens live in the TUI and ACP sessions, both on-device and through siGit Code Cloud
487 - 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
488 - Fixed the TUI so the latest message stays visible in long chats
489 - Put the cloud model-switch confirmation on its own line in ACP
490
491 ## 1.2.1
492
493 Stabilizes the Zed/ACP integration and finishes the cloud-tier wiring on top of 1.2.0.
494
495 ### What changed
496
497 - Fixed a Zed crash by keeping model-picker labels ASCII in the ACP model selector
498 - Wired ACP auth, cloud tiers, and slash commands into the Zed panel, including a `/reload` command to re-sync session state in place
499 - Fixed the TUI so the loaded-model checkmark appears once a download completes
500 - Synced bundled agent skills with the current code and added `CLAUDE.md`
501
502 ## 1.2.0
503
504 Adds siGit Code Cloud — a hosted inference tier alongside on-device models.
505
506 ### What changed
507
508 - Added siGit Code Cloud with cloud-tier routing, pointed at `sigit.si`
509 - Added account management slash commands and surfaced cloud tiers in `/models`
510 - Carried forward from 1.1.0: ACP SDK v0.13, refreshed dependencies and branding
511
512 ## 1.1.0
513
514 Bumps the ACP SDK to v0.13 and pulls in updated dependencies.
515
516 ### What changed
517
518 - Updated `agent-client-protocol` from v0.11 to v0.13
519 - Updated `onde` to 1.1.2
520 - Refreshed branding and skill metadata
521
522 ## 1.0.4
523
524 This release tightens up the terminal experience and finishes a few release-facing cleanup items.
525
526 ### What changed
527
528 - Added bold rich-text rendering in the TUI for assistant replies, so `**text**` now displays with terminal styling instead of raw markdown markers
529 - Refreshed the bundled skill metadata to follow the current Agent Skills `SKILL.md` format
530 - Synced the crate release metadata for the `1.0.4` cut
531
532 ## 1.0.3
533
534 This is the cleanup release for the editor-side startup problems.
535
536 ### What changed
537
538 - Fixed ACP sessions failing on the first real prompt because the server claimed the model was ready before anything had actually been loaded
539 - Changed ACP startup so the default model loads lazily on the first non-slash prompt instead of pretending it is already in memory
540 - Kept `initialize` and `session/new` lightweight while still sending proper progress updates once model loading begins
541 - Updated the Onde integration to `1.0.0`
542 - Removed a few dependencies we were no longer using
543
544 ## 1.0.2
545
546 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.
547
548 ### What changed
549
550 - Delayed model loading in ACP mode so startup diagnostics would not leak into protocol stdout during the auth handshake
551 - Tightened up the ACP startup path for editor integrations
552 - Refreshed some README wording while cutting `1.0.2`
553
554 ## 1.0.1
555
556 The first patch after `1.0.0` was mostly about making model loading and model switching feel less opaque.
557
558 ### What changed
559
560 - Added ToolCall-based progress UI for startup model loading and downloading
561 - Improved model-switch progress reporting in ACP clients
562 - Fixed model-load error handling so failed switches did not leave the UI in a weird state
563 - Cleaned up a few status messages and docs while the release was going out
564
565 ## 1.0.0 (2026)
566
567 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.
568
569 ### What this release is
570
571 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.
572
573 You can install it with Cargo, pip, npm, or Homebrew and use it like any other tool on your machine.
574
575 ### What shipped in 1.0
576
577 #### Editor integration
578
579 This is the core of the project.
580
581 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.
582
583 #### Terminal UI
584
585 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.
586
587 It runs on macOS and Linux. Windows gets ACP and editor mode for now. The Windows terminal UI is still unfinished.
588
589 #### Tool calling
590
591 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.
592
593 Available tools:
594
595 - `read_file` / `write_file` / `delete_file`
596 - `list_directory` / `search_files`
597 - `run_command`, with an optional working directory
598 - `read_website`, which fetches a URL and strips it down to readable text
599
600 The model can call a tool, inspect the result, and keep going until it has a real answer.
601
602 #### Model support
603
604 The model list ended up wider than we expected for 1.0:
605
606 - Qwen 3 1.7B, 4B, 8B, and 14B
607 - Qwen 2.5 1.5B and 3B
608 - Qwen 2.5 Coder 1.5B, 3B, and 7B
609 - DeepSeek Coder 6.7B
610
611 They are all GGUF models and they all come from Hugging Face on first run.
612
613 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.
614
615 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.
616
617 #### Model picker
618
619 The model picker shows:
620
621 - what is already cached locally
622 - what can be downloaded
623 - which models support tool calling
624 - whether the local cache looks healthy
625
626 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.
627
628 #### smbCloud context
629
630 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.
631
632 Outside smbCloud, it backs off and behaves like a normal coding agent.
633
634 #### Distribution
635
636 Distribution took an unreasonable amount of time, honestly.
637
638 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:
639
640 - `cargo install sigit`
641 - `pip install sigit-code`
642 - `npm install -g @smbcloud/sigit`
643 - `brew install sigit`
644
645 Getting that whole pipeline to behave across CI, crates.io, PyPI, npm, and Homebrew was basically its own project.
646
647 ### What still does not work
648
649 The Windows terminal UI is still missing.
650
651 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.
652
653 ### Changes since 0.1.2
654
655 - Added Qwen 3 14B support
656 - Added Qwen 3 `<think>` block parsing and separate rendering in the TUI
657 - Moved all TUI code into `#[cfg(unix)]`, which fixed a pile of dead-code errors on Windows CI
658 - Added live download progress during model switches, including cancellation with Ctrl+C
659 - Added model download and loading progress in the Zed agent config panel
660 - Added an animated spinner during model switching
661 - Added Qwen 2.5 Coder 7B
662 - Added downloadable models to the picker, not just locally cached ones
663 - Made model selection persist across restarts
664 - Added session working-directory support
665 - Moved model picker logic into a platform-independent module so Windows can compile without the TUI
666 - Added the `/models N` shortcut for picking a model by number
667 - Added the `read_website` tool
668 - Improved `read_file` handling and empty-reply detection
669 - Added async tool execution
670 - Fixed CI cross-compilation for macOS, iOS, Linux, and Windows
671 - Added npm, PyPI, and Homebrew distribution
672
673 ---
674
675 *© 2026 PT Sigit Mitra Bangun ([siGit Code & Deploy](https://sigit.si)), distributed by [Splitfire AB](https://5mb.app).*