Skip to content
This repository was archived by the owner on Oct 15, 2026. It is now read-only.

Releases

v1.0.0-alpha.14

v1.0.0-alpha.14 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 26 Sep 16:57
aecbb99

Bug fix batch (#81)

  • Deny dangerous tools when no approval channel is wired (core).
  • Add safe HTTP timeouts and graceful shutdown to the server.
  • Drop a whole rune on Backspace instead of one byte (client), and truncate by rune count instead of byte index (util).
  • Close the db handle when migrations fail in NewDatabase.
  • Guard provider/web provider update against empty field sets.
  • Extract prependSystemContext helper in SendChatMessage; make the update-check background test deterministic.

Provider fix (#82)

  • Read Anthropic cache stats correctly when streaming through OpenRouter.

v1.0.0-alpha.13

v1.0.0-alpha.13 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 23 Sep 02:26
8f8d09d

feat(tools): add ask_user_question for mid-turn question prompting

v1.0.0-alpha.12

v1.0.0-alpha.12 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 21 Sep 11:47
0933136

Web client support, and a license change to GPL-3.0-only (#75)

  • mininaru serve --cors-origin <origin> (repeatable) lets a web page or desktop client on another origin call the API. Preflight requests are answered before the key check and only for listed origins; nothing is allowed by default.
  • /ws also accepts the api key as a bearer.<key> websocket subprotocol, so a browser can authenticate without the key appearing in a URL or in the server's request log. REST requests ignore it.
  • mininaru serve --web-dir <dir> serves a built web client at /, falling back to its index.html for unknown paths; /api and /ws are never shadowed.
  • License: mininaru is now GPL-3.0-only (it was GPL-3.0-or-later). Every SPDX header and the README, CONTRIBUTING and COPYRIGHT wording changed; the LICENSE text itself is the same.
  • ./configure writes a config.mk (PREFIX, BINDIR) that the Makefile includes.

Dependencies

  • modelcontextprotocol/go-sdk 1.7.0 to 1.8.0 (#73), modernc.org/sqlite 1.58.0 to 1.59.0 (#74).

v1.0.0-alpha.11

v1.0.0-alpha.11 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 16 Sep 10:42
b8286ae

Real context usage & prompt caching (#71)

  • GET /api/sessions/:id/usage now reports the provider's own real usage (prompt_tokens + completion_tokens, plus a cached-token count when the provider reports one) once a session has a completed round, instead of always estimating; limit is a plain 80% of max_context with no separate fixed-overhead subtraction.
  • naru-shell's ctx:used/limit (percent) gains a cyan cache:percent segment when the provider reports cached prompt tokens.
  • Requests mark an Anthropic-style cache_control breakpoint on the conversation's fixed leading system prefix so providers that support prompt caching can reuse it; a new --no-cache root flag (REPL and -p) disables this for a single run without persisting anything.
  • Past (already-completed) turns' tool call results are no longer replayed into every subsequent request verbatim — they're replaced with a short placeholder, since resending large tool outputs on every turn was the main way a tool-heavy session burned through its context budget.
  • /compact and automatic mid-conversation compaction now show a "compacting..." spinner in naru-shell instead of a silent pause.

v1.0.0-alpha.10

v1.0.0-alpha.10 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 16 Sep 07:29
0abc34a

Context budget & compaction (#64, #65, #66)

  • max_context is now enforced as an input-context budget with 20% reserved for output. Session-backed chats compact old completed turns into a rolling summary once the budget is exceeded, retaining raw history in SQLite while preserving the newest completed turn and the current turn as real messages.
  • GET /api/sessions/:id/usage estimates the full next prompt (summaries, system context, tools included) using the model's real tokenizer instead of a character-count approximation.
  • naru-shell caches and shows ctx:used/limit (percent) next to the Git branch, refreshing it after every turn, /usage, and session/agent switches; /compact triggers compaction manually while keeping the latest completed turn intact.
  • The stateless /api/v1/chat/completions endpoint is unaffected — it keeps supplied history as-is and returns context_length_exceeded when it doesn't fit.

Provider/agent model selection rework (#69, #70)

  • Providers no longer have a single global "active" one — every registered provider is always usable. providers.active and its unique index, ProviderActivate/ProviderActive, the provider activate CLI subcommand, and POST /api/providers/:id/activate are all removed.
  • An agent's model is now an explicit <provider>:<model> string (e.g. openai:gpt-4o-mini) instead of a bare model name. Agents created before this release need mininaru agent set <id> --model <provider>:<model> once — there's no way to infer which provider a bare model string meant.
  • Agents get a single "primary" cursor instead (agents.selected, enforced unique by a partial index): the first agent you create becomes primary automatically, and mininaru agent primary <id-or-name> switches it. The REPL, -p, and a gateway's "+ new session" now actually default to the primary agent instead of the alphabetically-first one.
  • naru-shell's /agent (switch agent on a new session) is removed. /model with no arguments live-queries every configured provider's own /v1/models and lets you pick one by number; /model <provider>:<model> still sets one directly.
  • The CLI gains agent add --pick-model / agent set --pick-model, the same numbered picker, so a provider:model string doesn't have to be typed by hand from the command line either.

v1.0.0-alpha.9

v1.0.0-alpha.9 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 10 Sep 10:44
92b6189
  • Avoid session lock deadlocks and use the target session context for delegated execution.
  • Preserve failed Bash tool output for model recovery, bound output collection, and stop canceled turns before further work.

v1.0.0-alpha.8

v1.0.0-alpha.8 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 31 Aug 12:01
ddc4ce1
  • /api/mcp (#55) — the same config CRUD as mininaru mcp: GET /api/mcp lists every server with its live connection status, GET/DELETE /api/mcp/:name, POST /api/mcp (body is an mcp.json server object), POST /api/mcp/:name/enable / disable, POST /api/mcp/reload. Every mutation reconnects the pool.
  • /api/skill (#56, read-only) — GET /api/skill lists what's on disk, GET /api/skill/:name returns the text a skill puts in front of the model, GET /api/skill/uses the load counts.
  • /api/agents/:id/memory (#56) — that agent's persistent store: GET (the MEMORY.md index + file list), GET/PUT/DELETE /:file.

Chat is no longer text-only (#57, #58).

  • POST /api/sessions/:id/attachments takes a multipart image (≤20 MiB), stored under .mininaru/attachments/ with a row in the new attachments table; GET /api/attachments/:id streams it back.
  • Reference the ids with an images: ["<id>", …] field on POST /api/sessions/:id/messages or the /ws chat frame; they're base64-inlined as data URIs for the model.
  • /api/v1/chat/completions accepts the standard OpenAI content-parts array (content as [{type:"text"},{type:"image_url"}]).
  • The client does the upload for you: mininaru -p "…" --image a.png (repeatable) and /img <path> in the REPL (queued, sent with your next message).

Adds migration 0004_attachments.sql.

v1.0.0-alpha.7

v1.0.0-alpha.7 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 30 Aug 11:10
8df7f5a

mininaru gateway add|list|show|set|remove saves a name → websocket URL + api key in .mininaru/gateways.json (file mode 0600, keys in the clear, same trust model as .mininaru/mininaru.key). --gateway <name> then stands in for --url/--api-key anywhere the REPL or -p accepts them. With no --gateway, nothing changes — the client still uses ws://127.0.0.1:8223/ws and the local SQLite DB.

mininaru agent|provider|session list / show, plus session remove, provider remove, and provider activate, run against a --gateway (or a bare --url) endpoint's /api instead of the local database. --url/--api-key are now persistent flags so they work on subcommands too. add and set stay local; mcp and skill have no remote API and are always local.

A new /gateway command opens an arrow-key picker (↑/↓ or j/k, Enter, Esc to cancel, 10-row scrolling viewport): choose a saved gateway, then a session on it — or + new session — and the shell re-points its connection and reconnects in place. No restart.

v1.0.0-alpha.6

v1.0.0-alpha.6 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 30 Aug 09:23
d719e7e

What's Changed

  • feat(client): Shift+Enter multiline input in the REPL by @devproje in #48
  • feat(cli): -p --format for json/xml one-shot output by @devproje in #49
  • feat(client): render markdown tables, restyle inline code by @devproje in #50
  • feat(client): surface session_send rounds at the REPL prompt by @devproje in #51

Full Changelog: v1.0.0-alpha.5...v1.0.0-alpha.6

v1.0.0-alpha.5

v1.0.0-alpha.5 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 29 Aug 12:55
892c43b

Fifth alpha. Still not compatible with the pre-1.0 0.x line.

Changes:

  • client: mininaru shell and the narush alias are gone. mininaru is now a single-mode REPL — every line goes to the agent, and /bash / /!bash run one shell command in a shared bash context (only /bash shares the output with the agent). Esc or Ctrl+C interrupts a turn mid-stream.
  • client: mininaru -p "<prompt>" is a stateless one-shot prompt — attach, send one message, print the reply, exit; it no longer opens the interactive shell
  • client: streamed replies render markdown, and file edits show as a colored diff with line numbers and +/- counts
  • cli: new mininaru daemon install|restart|uninstall runs mininaru serve as a per-user background service — systemd --user on Linux, launchd on macOS, a logon Scheduled Task on Windows — replacing scripts/register-daemon.*. install also pins NARU_PATH into your shell rc so an interactive mininaru shares the daemon's data directory.
  • install: README now has a Windows PowerShell one-liner; scripts/install.sh offers mininaru daemon install rather than editing your shell rc itself
  • docs: ARCHITECTURE.md rewritten for the REPL client and the daemon command