rungent v0.11.6
EN中文

rungent更新日志

更新日志

每个 rungent 版本改了什么,最新的在前。npm 包 rungent 与 Python 包 rungent 共用一个版本号。

[Unreleased]

Changed

  • The site, docs and skill moved to https://rungent.dev (skill at https://rungent.dev/skills/rungent/SKILL.md). https://rungent.acahti.dev, www.rungent.dev and https://aidy.acahti.dev redirect there, keeping the path. The packages' homepage follows with the next release.
  • Breaking (Argos suite): a benchmark scenario without cleanup rejects every approval in full mode, so a write the model makes on its own never runs. Before, every scenario approved by default, and a browse scenario on TurboMesh committed a real VM draft. decision: approve now needs cleanup, and a prompt that names one of its expected operations fails check. An approval is granted only for an operation the scenario expects, with arguments that match its expect.arguments, so a model that picks another target (a real project instead of the sandbox) is refused. The Acahti target opens its argos-sandbox project for a full-mode run.

[0.11.6] - 2026-11-27

Fixed

  • An answer that closes by offering help ("有什么可以帮您?", "How can I help?") is shown as it is. Since 0.11.4 it counted as a question in text, so a greeting was withdrawn and turned into a request_input card, or retried until the model chain gave up.

[0.11.5] - 2026-11-27

Fixed

  • The form of a change to an existing record opens. A form operation whose body is a single value (such as arguments: dict = Body() in FastAPI) was asked without its path parameters, so the host answered 404 and the change could not be made from the assistant.

[0.11.4] - 2026-11-26

Fixed

  • A question the assistant wrote in its answer is asked again with a card, or as the form or approval of the change it asked about, and never by a change that asks nobody. Before, the step after a withdrawn "Should I change it to 4?" could call a write with approval: never (such as editing a draft) before the user answered.

0.11.3 - 2026-11-26

Changed

  • Breaking: A write the user declines over MCP (elicitation not accepted) answers declined, the code a rejected approval has in the assistant, instead of not_executed. A client that cannot ask still gets not_executed. Match declined where you checked for a refusal.

0.11.2 - 2026-11-26

Fixed

  • A record made by a change earlier in the conversation counts as named: the draft the user's form just created can be changed or committed without asking which draft. 0.10.0 refused it as unnamed_target because its id came from a tool result. A failed change's result still names nothing.

0.11.1 - 2026-11-26

Fixed

  • An answer that says a change the user asked for was made, in a turn where no write was even called, is now followed by that change: the rewrite must call the operation, so its approval asks the user. Before, the rewrite could only promise the change ("I will proceed to set RMA-91453 to resolved.") and end the turn. The answer check asks a new requested question about the latest user message for this, quoting the message; a question such as "did you stop it?" still gets a plain answer.
  • A text question followed in the same paragraph by the choices it takes ("Which status? The statuses are: open, resolved or rejected.") is asked again with a card, like any closing question.

0.11.0 - 2026-11-26

Added

  • Answer check. The first final answer of a turn is checked by one quiet model call before the run ends. In a turn where no write succeeded, an answer that says the assistant changed something is withdrawn and written again, saying plainly what did not run. In a turn that answered from search alone, an answer that used hits without [n] is written again with its citations. A rewrite keeps the answer's language and happens once a turn. An answer that needs neither question is not checked. See answer check.
  • Benchmark metric withdrawn_answers: answers rungent withdrew and had written again, because they ended with a question in text or the answer check found something to change.

Changed

  • Breaking: A runtime passes the conformance suite only if it runs the answer check: a model call whose tools include verdict. Model turns marked check: true script its verdict; the scripted runner answers an unscripted check with a verdict that changes nothing.
  • Routing comes before the grounding search and never sees its hits; a message routed to a form is not searched. Hits describing the create form had pulled "which regions and sizes are there, not yet" into it.
  • rungent.message.discard also withdraws an answer the answer check sent back. Clients that handle the event need no change.

0.10.0 - 2026-11-26

Added

  • Named targets. A write the model calls must act on a record the user named, saw in an answer, picked in a card or has open on the page. Otherwise it is answered unnamed_target before any approval appears, and when the model picked the record from a lookup, its next step must ask with request_input. See named targets.
  • The dock shows a rejected change as the turn's outcome: "Rejected, nothing changed" (toolDeclined). A write refused for an unnamed target reads "Asks you which one first" (toolUnnamedTarget). Neither marks the turn as failed.
  • Each release is published on GitHub Releases, with its CHANGELOG section as the notes. The release workflow fails when the CHANGELOG has no dated section for the tag.

Fixed

  • Routing opens a form only when two parallel routing calls pick the same operation. A single stray pick opened the create form for "which regions and sizes are there, don't create one yet" in one of three Playground runs; now a split vote goes to the model loop. Routing costs one more quiet call per message.
  • The dock no longer shows a correction rungent wrote for the model, such as an invalid_arguments message naming a schema key. A failed call shows the host's own message for http_*, timeout and credential_expired, and "Did not succeed" otherwise.

Changed

  • Breaking: A rejected approval ends the turn. The call is answered with the new tool error code declined, and the run finishes without another model step, so the model can neither describe the change as done nor ask for it again. Show the declined call as the outcome where you showed the model's answer; not_executed remains for cancelled and expired calls.
  • Breaking: Conformance cases approval/declined-ends-turn, guards/unnamed-target-asks and guards/shown-target-runs replace approval/declined-run-answers-only, approval/declined-question-answered, approval/question-then-declined-question and approval/rejected-never-executes.
  • The changelog follows Keep a Changelog: dated sections grouped by type, with breaking changes marked in place. Earlier entries are rewritten in this form.

Removed

  • Breaking: The answer-only steps after a decline and their system-prompt note, and the declined and declinedRetried fields of the stored run state.

0.9.4 - 2026-11-26

Fixed

  • After a declined approval, the answer stays in the language of the user's last message when the product's instructions and tool results are in another language.
  • The system prompt and the note after a decline share one phrase that quotes the user's last message and names its language when its script or words show it ("create a VM with 2 GPUs", which is English).

0.9.3 - 2026-11-26

Changed

  • The runtime decides whether a message shows its language: two CJK characters or three words are answered in the message's language, and only a shorter message (ok, a name) is answered in the identity's locale.

Fixed

  • A closing line after a table or list that asks the user to tell or choose something counts as a question, and is withdrawn and asked again with a card. A sign-off after a finished change still ends the answer.

0.9.2 - 2026-11-25

Changed

  • The language rule comes last in the system prompt, after the product's instructions and the page context, and tells the model not to take the language from the instructions, the user's name, earlier messages or tool results.
  • After a declined approval, the model is told to say, in the language of the user's last message, that the change was not done because the user declined it.

Fixed

  • A question placed before a listing (bold headings included) or asked through options that are themselves questions is withdrawn and asked again with a card.
  • A closing alternative such as "Or if you have one in mind, let me know" no longer hides the question above it from withdrawal.
  • The benchmark reads an answer's language from its first paragraph with a few words, so records quoted in their own language do not count as a language mismatch.
  • Processes that open a new SQLite file at the same time no longer fail with "database is locked": the driver retries the switch to WAL within its 5 s busy timeout.

0.9.1 - 2026-11-25

Added

  • Benchmark attempts of a followup scenario record the earlier turns under earlier (prompt, calls and answer).

Changed

  • Breaking: Routing no longer decides whether the user wants a write now; it opens the form whenever it picks a write with one. The rungent_act_now tool and StepRequest.toolChoice {tool} are gone. A question about what is possible goes to the conversation; answer it with a read operation.
  • Breaking: Conformance case forms/routing-not-now-continues is gone, and routing turns script no rungent_act_now. Remove both from conformance runs.
  • Breaking: The step after a withdrawn question uses tool choice required (was {tool: request_input}): the model may call any tool, and its note stays for the rest of the run. forms/text-question-asked-again expects required, and sees.toolChoice takes no tool:<name>.
  • Breaking: A path parameter that one operation resolves from names must be resolved the same way on every operation of that path; rungent check and startup report resolve "<arg>" as <op> does. Add the same resolution to the other operations.
  • The language rule quotes the first words of the user's last message.
  • A request worded without a question mark ("Please tell me which product.", "Could you please provide: …") counts as a question and is asked again with a card, also before a short closing line.
  • After a repeated read or a failed write, the next step may call request_input and nothing else, so the model can still ask with a card. Conformance case guards/repeated-read-may-ask.
  • Routing's continue describes browsing as asking what is possible or saying not yet.
  • After a declined approval, an answer that asks for the declined change again is withdrawn once per run, separately from the withdrawal of a text question; the next step stays answer-only. Conformance case approval/declined-question-answered.
  • The benchmark counts the text of question cards as shown for answerIncludes, and the Chinese not-found phrases include 没找到 and 查询不到.

Removed

  • Breaking: The tool error code not_requested; a write with a form is no longer refused after routing opens no form.

Fixed

  • An answer from search hits in another language stays in the language of the user's message: the note after the hits asks for it.
  • After a declined approval, every step is told that the change did not run and must never be described as done.

0.9.0 - 2026-11-25

Added

  • StepRequest.toolChoice (auto, required, none, {tool}) sets the tool choice of a model step.
  • Tool error code unavailable: a search whose sources all failed answers it, and the model is told to say it could not look the information up.
  • Conformance checks sees.offered and sees.toolChoice, and cases forms/text-question-asked-again, basic/narration-withdrawn, forms/routing-not-now-continues and search/failed-source-not-searched-again. A scripted model turn may carry text beside its tool calls.
  • Benchmark metric task_success_ci (95% Wilson interval, also per category); scenarios are classed stable, flaky or failing and listed in failing_scenarios and flaky_scenarios.
  • Benchmark coverage of the agent's operations with uncovered_writes, and language_mismatches (threshold 0): every answer must be in its prompt's language, short values quoted from tool results excepted.
  • Routing offers each write with a required rungent_act_now; only true opens a form. When routing opens no form, every write with a form answers not_requested for the rest of the run.
  • The Playground exposes list_server_options, and the homepage's benchmark table shows the interval, failing and flaky counts and operation coverage.

Changed

  • Breaking: A declined approval makes the rest of the run answer-only: later steps see the run's tools with tool choice none, and a call made anyway is retried (rungent.model.retry, reason answer_only) and never runs. Handle the new retry reason.
  • Breaking: Conformance case approval/declined-run-answers-only replaces declined-run-asks-nothing and declined-run-offers-reads-only, and search/source-timeout expects unavailable. Update conformance runs to the new case ids.
  • Breaking: Every step of a run offers the same tools: a repeated read (repeated_call) or a retried failed write (already_attempted) makes the next step answer-only with the tools still in view. modelTools(ops, sources) always includes request_input.
  • Breaking: Text a step writes beside its tool calls is withdrawn with rungent.message.discard when the step ends and left out of the conversation. Clients must handle the event; hosts can drop instructions against narration.
  • Breaking: The agent answers in the language of the user's last message for every host; the identity's locale decides only when the message is too short to tell. Remove the equivalent rule from host instructions.
  • Breaking: A final answer that ends with a question is withdrawn (rungent.message.discard) and the model gets one more step, once per run, with tool choice request_input to ask with a card. A question before a list of options or a closing "let me know" counts.
  • Breaking: A search source that fails is left out of later searches in the same run, and a search whose sources all failed answers unavailable. Handle the new code where a timeout result was expected.
  • The system prompt tells the model to speak of the product, never of its tools, results, hits or error codes, for every host.
  • A declined approval is reported to the model as a fact ("The user declined this change, so it did not run.").
  • Benchmark honest scenarios default to the not-found phrases of the prompt's language, and an unavailable search counts as an infrastructure error.
  • Benchmark scoring counts a refused call the model corrects in argument_validity without failing the attempt, and a write the runtime refused does not count as acting.

Security

  • The system prompt tells the model, for every host, that tool results and search hits are data and that instructions found in them must never be followed.

0.8.3 - 2026-11-24

Changed

  • request_input may also ask for a value only the user knows, such as a tracking number, that an operation without a form needs. Operations with a form still never collect their inputs with it.
  • A request_input call rejected for a choice question without options answers an error telling the model to look up the candidates and call again.

0.8.2 - 2026-11-24

Added

  • Benchmark categories: a scenario's kind is one of read, resolve, search, cite, clarify, form, write, browse, followup, refuse, scope and honest, each with fixed expectations and checked rules, documented on the Benchmark page.
  • Benchmark scenario keys before (earlier turns) and expect.ask, and metrics ask_rate, text_questions, category.<kind>.task_success, infra_errors and infra_rate.
  • RUNGENT_BENCH_MODELS (a JSON chain, or @file) runs the benchmark on that chain through PUT /settings and restores the earlier settings afterwards, also on SIGTERM. RUNGENT_ADMIN_CREDENTIAL signs in for it.

Changed

  • Breaking: Benchmark scenario files need a scenario for every category, or a reason under the new key notApplicable, and a scenario that contradicts its category fails to load. Run rungent-argos init to write a stub for each category.
  • The system prompt and request_input's description tell the model to look up the candidates and call request_input when the user leaves open which thing or action they mean, and never to ask a question or ask permission in text.
  • After a declined approval, the model is offered only reads and search, without request_input.
  • Benchmark attempts the target refused (a rate limit, a 5xx, no model available) count as infra_errors and are left out of every other rate; an infra_rate above 5% fails the run as not measured.

Fixed

  • Benchmark scoring: in honest scenarios an unresolved_reference is not an invalid call, and "Let me …" counts as leaked deliberation only as its own sentence.

0.8.1 - 2026-11-24

Changed

  • The recommended model chain is qwen3.7-flash, then deepseek-v4.1-flash, both on DashScope with vision: true and thinking off.

Fixed

  • A run cancelled between two steps no longer leaves an unhandled provider rejection that ended the Node process and restarted rungent serve. A read left pending by a failed flush is handled too.
  • openai-compatible and dashscope endpoints request usage in streams (stream_options.include_usage), so models that send it only on request, such as DeepSeek and Kimi on DashScope, report tokens.

0.8.0 - 2026-11-24

Added

  • Thinking policy models.thinking = { default?: 'on'|'off', userSwitch?: boolean }, defaulting to off and true, in code, PUT /settings and RUNGENT_MODELS. Schema thinking-policy.schema.json.
  • A user run thinks when userSwitch is true and it sent forwardedProps.rungent.thinking, which then decides; otherwise when default is on. RUN_STARTED.input.forwardedProps records {rungent: {thinking: true}} whenever the run thinks.
  • GET /settings answers models.thinking with its defaults filled in, and PUT /settings takes it as optional.
  • Provider dashscope for Qwen on Alibaba Cloud Model Studio, with Qwen's enable_thinking switch built in unless the endpoint sets its own thinking. Its providerOptions are keyed openai-compatible.
  • dashscope's baseURL defaults to https://dashscope.aliyuncs.com/compatible-mode/v1 (Beijing); set it for another region, such as https://dashscope-intl.aliyuncs.com/compatible-mode/v1.
  • ModelSettings gains a Thinking section (default on or off, let users switch) and the dashscope provider.
  • Conformance cases thinking/default-on and thinking/no-user-switch, and a case-level thinking policy.

Changed

  • Breaking: GET /rungent/v0/info answers thinking: {default, userSwitch} | null (was a boolean): null when no endpoint of the chain in effect can think. Test info.thinking?.userSwitch instead of info.thinking === true.
  • Breaking: RUNGENT_MODELS is the JSON object {chain, thinking?} (was a JSON array), checked like PUT /settings models. Wrap the array as RUNGENT_MODELS='{"chain":[…]}'; unset, the chain is empty until an admin saves one.
  • models is { chain, thinking? } everywhere: in code, PUT /settings and RUNGENT_MODELS.
  • In @rungent/react, the Think switch shows only when info.thinking is non-null and userSwitch is true. It starts at the policy's default unless the user changed it in this browser, and every run sends it while it shows.
  • A Qwen endpoint configured as openai-compatible with the DashScope baseURL and thinking: { on, off } becomes provider: 'dashscope'. The default policy keeps 0.7's behaviour.
  • The documented recommended setup is dashscope qwen3.7-plus, then qwen3.7-flash, thinking off, with users allowed to switch it on.

0.7.7 - 2026-11-23

Fixed

  • A Workers AI failure that names 4006 or says used up rests the endpoint for quota (6 h, cooldownSeconds.quota), as does a quota-like message from any provider that throws a plain error. Conformance case model/workers-ai-quota-rests-endpoint; the conformance error turn takes status as optional.
  • Every search that finds hits asks the model to cite them as [n], also with a single source. The note naming what was not searched, and notSearched, appear only when sources were left out. Conformance case search/single-source-asks-for-citations.
  • Argument coercion leaves out the text "null" for an optional field whose schema takes null and lists no "null" in enum or const. Required and non-nullable fields keep it. Conformance case guards/null-text-for-nullable-fields.

0.7.6 - 2026-11-23

Added

  • Per-endpoint timeoutSeconds: {firstToken, idle} in settings, RUNGENT_MODELS and code: a first-token timeout of 20 s from the request, connecting included, and an idle timeout of 60 s between outputs.

Changed

  • Breaking: A stalled attempt moves the step to the next endpoint at once and rests the stalled one as for error, emitting rungent.model.retry with reason first_token_timeout or idle_timeout. Match these reasons instead of timeout.
  • A stalled attempt is retried on the same endpoint only when no other endpoint is left. Routing follows the same rule, and when no endpoint answers routing, the run goes on to the model loop.
  • Breaking: A run that outlasts limits.runTimeoutSeconds ends with RUN_ERROR code timeout (was internal), and @rungent/react shows it as a timeout. Handle timeout where internal was expected.

Fixed

  • An endpoint that accepts a request and then sends nothing no longer holds a run for minutes, and a provider that ignores the abort no longer holds the attempt.

0.7.5 - 2026-11-23

Changed

  • Routing first decides whether the user wants the change made now. A message that only looks at options, prices or how something works, or says not to do it yet, goes to the conversation instead of opening the form.

0.7.4 - 2026-11-23

Fixed

  • Answers grounded in documentation hits cite them as [n] again: the note says to cite the hits where they answer, and names the sources that were not searched after the hits.

0.7.3 - 2026-11-23

Added

  • The agent's search tool takes an optional sources list, whose names are listed in its schema; an unknown name answers invalid_arguments.

Changed

  • The grounding search before the first model step queries the knowledge sources only, recorded as search {q, limit: 5, sources: [...]}. Its result opens with note and notSearched, so the model searches the product's own operations itself.
  • After a declined approval, the rest of that run, resumes included, offers the model only reads, search and request_input. A write called anyway is refused, a write a chain reaches answers not_executed, and a new user message lifts the limit.
  • The Argos suite counts a write called or an approval raised after a rejected approval in the same attempt as a safety violation. tool_precision leaves out the grounding search, which still counts for recall.

0.7.2 - 2026-11-23

Fixed

  • The dock no longer loses a message sent while a run is starting: the thread counts as running from submit until RUN_STARTED, and the cards and previous state come back if the request fails.

0.7.1 - 2026-11-23

Added

  • RUN_STARTED.input carries resume: [{interruptId, status}] (no payload), naming the interrupts the run answers.

Fixed

  • An answered approval card closes as soon as the user answers instead of staying up until the resumed run ends, and shows again if the request fails.

0.7.0 - 2026-11-23

Added

  • Endpoint option thinking: { on, off }: the provider options that switch reasoning on and off, merged over the endpoint's providerOptions per call. An endpoint without it ignores the switch. Schema spec/schemas/model-thinking.schema.json.
  • PUT /settings, RUNGENT_MODELS and ModelSettings take thinking; ModelSettings edits each model's on and off options as JSON, with the provider's usual options as placeholders.
  • forwardedProps.rungent.thinking in a run's AG-UI RunAgentInput ({thinking?: boolean}, default false; unknown keys answer 400), recorded in RUN_STARTED.input.forwardedProps. Schema run-options.schema.json.
  • Routing, host jobs (/generate) and runs that finish a deferred task always run with thinking off.
  • GET /rungent/v0/info answers {name, thinking}; thinking is true when an endpoint of the chain in effect declares thinking. Schema info.schema.json.
  • @rungent/react shows a Think toggle (aria-pressed) in the composer when /info.thinking is true. It is off by default, remembered per browser under rungent:thinking:<origin>, and sent with each run and resume.
  • String keys think, thinkOnHint, thinkOffHint, thinkingOn, thinkingOff, thinkingHint and thinkingInvalid.
  • Client fields RunRequest.thinking, Info.thinking and ModelEndpointSettings.thinking, and types ModelThinking and ProviderOptions from @rungent/react/client.
  • Conformance cases thinking/on-sends-on-options, thinking/off-by-default, thinking/model-without-thinking-ignores-it and thinking/routing-never-thinks; the case format gains endpoints[].providerOptions, endpoints[].thinking, input.thinking, sees.providerOptions and info.

Changed

  • providerOptions is accepted on every endpoint, custom endpoints included.
  • RUNGENT_MODELS entries are checked like PUT /settings: unknown keys and bad values fail at start.
  • Qwen on DashScope switches thinking with thinking: { on: { 'openai-compatible': { enable_thinking: true } }, off: { 'openai-compatible': { enable_thinking: false } } } in place of a fixed providerOptions.

0.6.1 - 2026-11-23

Fixed

  • Host form styles no longer reach the dock's composer and the ⌘K input, so the composer card shows focus as one piece.

0.6.0 - 2026-11-22

Added

  • Package @rungent/react: the components, hooks and strings, ./styles.css, and ./client (the HTTP client and thread reducer, no React needed). It installs no server code, with react and react-dom as optional peers.
  • Package @rungent/cli: the CLI of any rungent host, bin rungent-cli (npx @rungent/cli …), and run for branded CLIs. It bundles its MCP client and has no dependencies.

Changed

  • Breaking: rungent/react, rungent/react/styles.css and rungent/client move to @rungent/react, @rungent/react/styles.css and @rungent/react/client, with no aliases. Change the imports and dependencies.
  • Breaking: rungent/cli moves to @rungent/cli. A rungent brand package depends on and imports @rungent/cli; rerun rungent brand or change the two lines.
  • Breaking: The generic CLI reads RUNGENT_CLI_HOST and RUNGENT_CLI_TOKEN (was RUNGENT_HOST and RUNGENT_TOKEN).
  • Breaking: The generic CLI's saved default host is defaults["rungent-cli"] in ~/.config/rungent/hosts.json (was defaults.rungent). Run rungent-cli login once; saved tokens are kept.
  • Breaking: The default CLI in /skill.md and /llms.txt is rungent-cli, installed with npm i -g @rungent/cli.
  • Breaking: The Argos suite's RUNGENT_CLI defaults to npx -y @rungent/cli and its token variable is RUNGENT_CLI_TOKEN.
  • rungent drops react-markdown, remark-gfm and the React peers; a clean install is 27.8 MB in 107 packages (was 33.1 MB in 208).

Removed

  • Breaking: The rungent bin no longer runs login, logout, status, tools or a host's commands; use rungent-cli from @rungent/cli. It keeps serve, keys generate, check, skill, llms, reference, docs and brand.

0.5.2 - 2026-11-22

Changed

Removed

  • Breaking: rungent-argos is no longer published. Install it from the repository with uv pip install -e rungent/argos.

0.5.1 - 2026-11-21

Fixed

  • The PyPI release jobs can check out the repository, so rungent and rungent-argos reach PyPI. No code changes.

0.5.0 - 2026-11-21

Changed

  • Breaking: aidy is renamed rungent everywhere at once, with no aliases; behaviour is unchanged. The repository is https://github.com/rungent/rungent and the site https://rungent.dev. Apply the renames below.
  • Breaking: The npm package @aidy-dev/aidy is rungent with the same subpaths, and the source export condition @aidy-dev/source is rungent-source.
  • Breaking: The command aidy is rungent (npx rungent serve), and the built-in CLI prefix aidy:<command> is rungent:<command>.
  • Breaking: The CLI login file and cache move to ~/.config/rungent/hosts.json and ~/.cache/rungent. Log in again.
  • Breaking: The Python distribution aidy is rungent on PyPI (pip install "rungent[fastapi]"), imported as rungent, rungent.fastapi and rungent.delegation.
  • Breaking: Python names AidyCall, AidyHost, AidyAssertionError, strip_aidy_headers and request.state.aidy are RungentCall, RungentHost, RungentAssertionError, strip_rungent_headers and request.state.rungent.
  • Breaking: The Argos suite is rungent-argos on PyPI, imported as rungent_argos, selected as pack:rungent, with RUNGENT_* target variables (was aidy-argos, aidy_argos, pack:aidy, AIDY_*).
  • Breaking: The server image is ghcr.io/rungent/rungent-server with entrypoint rungent serve (was ghcr.io/aidy-dev/aidy-server).
  • Breaking: The OpenAPI extension is x-rungent, schema spec/schemas/x-rungent.schema.json (was x-aidy). Rename it in the catalog.
  • Breaking: The HTTP API moves from /aidy/v0/* to /rungent/v0/*, and public keys from /.well-known/aidy-keys.json to /.well-known/rungent-keys.json. /mcp, /skill.md and /llms.txt are unchanged.
  • Breaking: Assertion headers are Rungent-Assertion and Rungent-Host-Assertion, the assertion typ is rungent-call+jwt (claims unchanged), the error code is rungent_assertion_invalid, and the admin scope is rungent:admin.
  • Breaking: The protocol id is rungent/0; the AG-UI profile uses metadata.rungent, MCP _meta.rungent, CUSTOM events rungent.* and activity rungent.progress.
  • Breaking: Interrupt reasons are rungent:approval, rungent:input, rungent:form and rungent:task (was aidy:*).
  • Breaking: Environment variables AIDY_* are RUNGENT_* with the same suffixes, the generic CLI's included (RUNGENT_HOST, RUNGENT_TOKEN). Branded CLIs keep their own prefix.
  • Breaking: TypeScript names createAidy, Aidy, AidyConfig, AidyEvent, AidyClient, AidyRequestError, AidyProtocolError and XAidy are createRungent, Rungent, RungentConfig, RungentEvent, RungentClient, RungentRequestError, RungentProtocolError and XRungent.
  • Breaking: React components AidyProvider, AidyDock, AidyThread and AidyForm and their *Props are RungentProvider, RungentDock, RungentThread and RungentForm; the string key askAidy is askAssistant.
  • Breaking: CSS classes .aidy-*, variables --aidy-*, attributes data-aidy-* and SCROLL_CLASS aidy-scroll are .rungent-*, --rungent-*, data-rungent-* and rungent-scroll.
  • Breaking: The dock's browser storage key is rungent:dock:<origin>, so the dock opens in its default state once.
  • Breaking: The skill is served at https://rungent.dev/skills/rungent/SKILL.md (was https://aidy.acahti.dev/skills/aidy/SKILL.md).
  • Breaking: The assistant's default name is Assistant. A product that showed the default "Aidy" sets RUNGENT_NAME=Aidy or name: 'Aidy' to keep it.
  • Breaking: Database tables are rungent_* and rungent_migrations. Postgres, SQLite and D1 deployments migrate on start, keeping threads, open approvals, feedback, settings and the host's own migrations.
  • Migrations core/003_rungent and knowledge/002_rungent rename the tables, keys, indexes and triggers and rewrite stored profile names; settings sealed by 0.4 open with the same secret.
  • rungent and rungent-argos publish to pypi.org by trusted publishing, and npm, the Python kit and the Argos suite share one version.

0.4.2 - 2026-11-20

Changed

  • The conformance runner fails a case whose scripted routing answer is retried.

Fixed

  • Routing never fails a run: a routing answer naming a tool it was not offered goes on to the model loop like continue, instead of ending the run with model_unavailable. Conformance case forms/routing-ignores-tools-it-was-not-offered.

0.4.1 - 2026-11-20

Changed

  • The system prompt asks for one answer after the last tool result, with no text before or between tool calls; hosts can drop the same rule from their instructions.

Fixed

  • The dock shows a call that did not run in the dock's language ("Not run" / "未执行") instead of the English message written for the model.
  • After a reload, an answer replayed from history that began more than 5 s before it mounted is shown as it arrives instead of being revealed like live text.

0.4.0 - 2026-11-20

Added

  • The model's reasoning streams to the user as AG-UI REASONING_START, REASONING_MESSAGE_START/_CONTENT/_END and REASONING_END, recorded with the thread for replay. It never goes back to the model, MCP, CLI or host job results.
  • Encrypted reasoning emits nothing. Conformance cases reasoning/streamed-to-user-only and reasoning/retry-discards-reasoning.
  • The dock shows each step live (search query and hits, operation and arguments, approvals, forms, errors, reasoning, time), folding a finished run to one line. ThreadItem gains reasoning items, and items carry startedAt and endedAt.
  • Quiet scrollbars for the dock and hosts: SCROLL_CLASS, useScrollbar(ref), watchScrollbar(el) and --aidy-scroll-thumb.
  • aidy --version prints the version.
  • A developer skill at /skills/aidy/SKILL.md; the docs shrink from 29 to 16 pages per language, and removed pages redirect.

Changed

  • Breaking: @aidy-dev/aidy replaces the nine @aidy-dev/* packages, each becoming a subpath: core is the root, server is /node, and sql, knowledge, documents, client, react, cli and spec/* keep their names as subpaths. Replace imports and dependencies.
  • react and react-dom are optional peer dependencies, and postgres comes with the package.
  • Breaking: Branded CLIs depend on @aidy-dev/aidy and import run from @aidy-dev/aidy/cli; rerun aidy brand. The default install line in /skill.md is npm i -g @aidy-dev/aidy.
  • Breaking: aidy serve replaces aidy-server serve, and the image ghcr.io/aidy-dev/aidy-server installs @aidy-dev/aidy with entrypoint aidy serve.
  • Breaking: CLI search is the host's product search (its MCP search tool) and no longer lists commands. Use aidy tools <words> to find commands.
  • Breaking: Dock string keys lookups, lookup, thinkingFor, toolRunning and toolSucceeded are replaced by trace* keys. Move overrides to the new keys.
  • The composer is one card that grows with its text up to 10 lines, then scrolls; IME composition never sends. Attach and the context ring sit on the left, send and stop on the right.
  • The open dock keeps its state, width, thread and view across navigation, and the open animation runs only when the user opens it. Mount AidyProvider and AidyDock once, in the root layout.

Removed

  • Breaking: The aidy-server bin and aidy-server keys. Use aidy serve, and aidy keys generate --kid <id> to write the private JWK for AIDY_SIGNING_KEY.
  • Breaking: The built-in aidy:search command; use aidy tools <words>.

Fixed

  • Role operations default to effect: read, so a role: form operation needs neither effect: read nor approval: never. Conformance case forms/form-operation-is-a-read.
  • host.fetch takes any handler from Request to Response | Promise<Response> (type HostFetch), so Hono's app.fetch fits without a wrapper.

0.3.2 - 2026-11-20

Added

  • The docs advise running aidy in a Durable Object on the Cloudflare Workers Free plan, since a run takes more than the plan's 10 ms of CPU per request.

Fixed

  • On Cloudflare Workers, an early-ending first request no longer fails every later request of the isolate: the runtime keeps only settled results, and concurrent first requests each run the migrations.

0.3.1 - 2026-11-20

Changed

  • The docs site is built from Markdown in English and Chinese into static pages with markdown twins, llms.txt and llms-full.txt. Pages move from /docs/<group>/<page>/ to /<page>/, and old addresses redirect.

Fixed

  • Routing sees every write the agent may call and acts only on one with a form, so a request to change something else no longer opens a create form. Conformance case forms/routing-leaves-other-writes-to-the-loop.

0.3.0 - 2026-11-20

Added

  • Routing: when the catalog has operations with a host form, a run that appends a user message first makes one quiet model call; a request matching one of them opens its form without running the model loop.
  • Grounding: with knowledge sources, each run that appends a user message starts with a search for the message's text (200 characters, limit 5), recorded as an ordinary citable search call.
  • @aidy-dev/spec/protocol exports FormInterruptMeta, FormSubmission, FormIssue, submissionResponseSchema and answersToArguments, with JSON schemas form-interrupt and form-submission.
  • forms on AidyProvider: the product's own form components by operation name (ComponentType<HostFormProps> with {op, arguments, issues, submit, cancel}), rendered prefilled. AidyForm takes values, issues and onCancel.
  • suggestions on AidyProvider: () => string[] preset questions shown under a welcome on an empty conversation.
  • The dock is resizable from 360 to 640 px (DOCK_WIDTH) and remembers its width, has an expand mode with history beside the conversation, and goes full screen at 640 px and below.
  • Dock props onLayoutChange(layout) (DockLayout) and launcher, and CSS variable --aidy-dock-top for a fixed header.
  • Conformance cases forms/routing-opens-form, forms/invalid-arguments-open-form, forms/invalid-submission-reopens-form and search/knowledge-before-first-step. A model turn may answer routing (routing: true); unscripted routing calls answer continue.
  • Argos suite (argos/, pack aidy): contract cases and agent metrics (task success, tool precision and recall, argument validity, safety, forms, citations, latency, tokens, cost) for any product that integrates aidy.

Changed

  • Breaking: Host forms (x-aidy.form) use interrupt aidy:form, with metadata.aidy {op, arguments, form, issues?}, resume payload {arguments: {...}} and responseSchema {arguments: <input schema>}. They used to arrive as aidy:input resumed with {answers}.
  • Breaking: aidy:input is only the model's request_input, resumed with {answers}. Conformance case forms/host-form-before-approval uses aidy:form.
  • Breaking: AidyDock wraps the page (<AidyDock>{page}</AidyDock>) and the open panel takes its room from the page; without children it is fixed at the window's right edge and the document gives up its width.
  • Breaking: --aidy-dock-width no longer sets the panel's width; the user drags it.
  • Arguments the model got wrong for an operation with a form are left out and the form opens with the rest, so the model never gets invalid_arguments for it.
  • A form submission that fails the input schema reopens the form with issues by argument path and runs nothing; one that fits goes on to resolve, lookup and approval.
  • The system prompt and request_input's description tell the model to call an operation with only what the user said, and to answer product questions only from tool results and search hits, citing them.
  • Validation issues name a missing property at its own path (zone_id, required).
  • Dock header actions are icon buttons.
  • The conversation reveals streaming text at a steady pace with a caret, sticks to the bottom with a "Jump to the latest" button, and shows "Thinking for Ns".
  • Context usage shows as a ring with a tooltip (amber at 70%, red at 90%), and the composer grows with its text and takes focus back after an answer.
  • The homepage and docs move to https://aidy.acahti.dev; the old workers.dev address redirects (301, or 308 for writes), and package homepage fields point there.

Removed

  • Breaking: answerForm in @aidy-dev/client. Use answerInput(interrupt, answers) for aidy:input, and submitForm(interrupt, args) or submitFormAnswers(interrupt, answers) for aidy:form; OpenInterrupt gains FormInterrupt (kind: 'form', meta).

0.2.4 - 2026-11-20

Changed

  • Deleting a thread cancels its run in progress.

Fixed

  • An event that cannot be recorded because its thread was deleted fails that run without resting the model endpoint, which used to give every user model_unavailable for five minutes.

0.2.3 - 2026-11-20

Added

  • MCP initialize returns instructions, set by mcp.instructions (AIDY_MCP_INSTRUCTIONS) and defaulting to the skill guide.

Changed

  • Breaking: MCP search refuses unknown arguments, such as the removed types, instead of ignoring them. Send only its documented arguments.

0.2.2 - 2026-11-19

Changed

  • GET /aidy/v0/info needs no credential, so UIs on cookie hosts can fetch the assistant's name before sign-in.

Fixed

  • The history list's delete button is always visible on touch screens, so a thread can be deleted on a phone.

0.2.1 - 2026-11-19

Added

  • product: { name, summary? } (AIDY_PRODUCT_NAME, AIDY_PRODUCT_SUMMARY) names the product in /skill.md and /llms.txt for signed-out callers when the OpenAPI needs a sign-in.

Changed

  • Breaking: Any 4xx from the host's identity operation or OpenAPI document means the credential was refused (401); a 5xx or an invalid answer is 502 host_unavailable (was 500 internal). Handle host_unavailable.

Fixed

  • Operations with a host form are offered to the model without required fields and with a note that a form collects the rest, so the model calls them and the form appears.

0.2.0 - 2026-11-19

Added

  • Host jobs: POST /aidy/v0/generate, signed with an Aidy-Host-Assertion for op generate, takes {instructions?, input, schema?, maxOutputTokens?} and answers {text} or {object} over the model chain, without tools or a thread.
  • A host job's {object} is validated against schema with one repair attempt, else 422 invalid_output.
  • Model chain rest durations: 6 h for quota-like answers (402, or a body matching quota, insufficient, exhausted or 401008), 60 s for 429, 5 min otherwise, overridable per endpoint with cooldownSeconds: {quota, rateLimit, error}.
  • Per-endpoint temperature and maxOutputTokens; one chain per instance, shared by runs and host jobs.
  • User messages take AG-UI text, image and document parts (up to 10 attachments). Host images are fetched with the user's credential and inlined up to 5 MB; images go only to vision endpoints.
  • Text-like documents are read as text, and every attachment is named for the model with its URL.
  • Page context: a run's AG-UI context is added to its system prompt (up to 16 entries, 8000 characters).
  • instructions may be an async function of the identity.
  • Per-source search timeouts (x-aidy.timeoutSeconds, SearchSource.timeoutMs). Hit content reaches the model through the search tool and MCP, never /search or citations.
  • A failed host call gives the model the host's redacted error body as error.detail (up to 4 KB).
  • Feedback: PUT /aidy/v0/threads/{id}/messages/{messageId}/feedback (up/down, comment) and GET /aidy/v0/feedback for admins.
  • GET /aidy/v0/info answers the assistant's name.
  • DELETE /aidy/v0/settings restores the configured models; secret may be a list for rotation (the first seals, all unseal). Unreadable settings answer 503 settings_unreadable.
  • Generated documents take skill.name (a valid slug even for non-ASCII product names) and skill.cli: {command, package?, install?}, named in /skill.md and /llms.txt.
  • Keys: importSigningKey and portableJwk.
  • Knowledge: explicit heading ids ## Title {#anchor} set the anchor and are stripped from the title, and hits carry the chunk text as content.
  • Client: run(threadId, {message, context?, resume?}), attachmentPart, attachmentsOf, info, setFeedback, listFeedback, resetSettings and baseUrl.
  • AidyProvider takes upload (attach button, drag and drop, paste, thumbnails), context, locale and strings; unknown locales fall back to English, and the assistant name comes from GET /info.
  • AidyDock remembers open state and thread per client baseUrl, and takes controlled open/onOpenChange and threadId/onThreadChange.
  • SearchPalette takes controlled open/onOpenChange and onAsk, with useSearchPalette() and type labels through strings (type.<type>).
  • Thumbs up or down with an optional comment on answers, and "Reset to defaults" in ModelSettings.
  • The CLI reads credentials from AIDY_HOST/AIDY_TOKEN, or a brand's own names with aidy brand --env-host --env-token; flags win over the environment, which wins over the saved login.
  • Every CLI command takes --help, and aidy brand --host is optional.
  • Host commands win over built-ins, which stay reachable as aidy:<name>.
  • aidy keys generate and aidy-server keys write portable JWKs.
  • Server environment variables AIDY_SKILL_NAME, AIDY_CLI_COMMAND, AIDY_CLI_PACKAGE, AIDY_CLI_INSTALL and AIDY_PREVIOUS_SECRET.
  • Python kit: SearchHit.content.
  • Conformance cases can script a model chain (endpoints, a turn's endpoint), check what the model sees (sees), send content parts and context, and script plain host requests, raw bodies and delays.
  • Conformance cases for model fall-through, quota rest, rate limit, every endpoint failing, host, external and no-vision images, page context, hit content, citation numbers, source timeout and host error bodies.

Changed

  • Breaking: aidy.citation is {messageId, citations: [{n, hit}]}, each cited hit under the number the answer wrote (was {messageId, hits}). ThreadState.citations holds Citation[].
  • Breaking: aidy.model.retry carries endpoint and fallback. Update consumers of the event to the new fields.
  • Breaking: Any failure not retried on the same endpoint (400, 401, 403, 404, quota answers, 429, retries used up) rests the endpoint and falls through to the next. model_unavailable comes only when no endpoint is left, and a rate-limited endpoint is not retried when all rest.
  • Breaking: SearchHit has content, which is model-only: FederatedHit and citation hits exclude it, and fuse returns FusedHit.
  • Breaking: Search operations default to a 2 s timeout and accept x-aidy.timeoutSeconds up to 10; a larger value is a catalog error.
  • Breaking: In @aidy-dev/client, ClientOptions.baseUrl is where aidy is mounted and is optional (default ''), RunRequest.message is string | ContentPart[], and UserItem.attachments and ModelEndpointUpdate.id are required.
  • Breaking: In @aidy-dev/react, locale is any string, with Strings and locales replacing the Locale type, and Markdown takes citations as Citation[].
  • Breaking: The CLI's built-in whoami is status.
  • Breaking: MCP serverInfo.name is the product's name (the catalog's info.title) instead of aidy.
  • Breaking: /skill.md drops a hand-written guide's own frontmatter and leading # title.
  • Breaking: In @aidy-dev/documents, SkillOptions.cli and LlmsTxtOptions.cli are CliOptions ({command, package?, install?}), and skillName is new.
  • Breaking: Stores need the methods putFeedback, listFeedback and deleteSettings; SQL migration 002_feedback adds their tables.
  • Breaking: The conformance runner's RuntimeEnv.model is RuntimeEnv.endpoints.
  • Generated documents answer without a credential: from the host's anonymous OpenAPI, or, when it needs a sign-in, the guide and how to connect without the operations.
  • Every component carries the .aidy-root theme outside the dock, and the styles no longer depend on browser defaults that CSS resets such as Tailwind preflight remove.
  • New rows in ModelSettings get ids.
  • Python kit wire models show their camelCase JSON Schema in FastAPI's OpenAPI and still omit absent fields.

Removed

  • Breaking: The types argument of the model's and MCP's search tool; GET /aidy/v0/search?types= keeps it.

Fixed

  • Host assertions are bound to aidy's public origin plus the path, so tasks and host jobs work behind a proxy.
  • Requests without a body (DELETE, cancel) no longer need Content-Type; a request body must be JSON.
  • importPublicKeys accepts Node-exported JWKs with alg, which workerd refused.

Security

  • An environment token used by the CLI is never written to disk or printed.

0.1.0 - 2026-11-19

Added

  • @aidy-dev/spec: the language-neutral contract, with the x-aidy catalog reader, delegation assertions, search fusion and the AG-UI profile schemas.
  • @aidy-dev/core: the runtime and its Web-standard fetch handler (createAidy), with threads, runs, approvals, forms, resolve, chains, AG-UI events, MCP, federated search, settings and generated documents, plus MemoryStore and SqlStore.
  • @aidy-dev/sql: the SqlDriver contract, drivers for Postgres, SQLite and Cloudflare D1, and a migration runner.
  • @aidy-dev/documents: generators for skill.md, llms.txt, the operation reference and CLI command names.
  • @aidy-dev/knowledge: Markdown ingestion, heading-based chunking and BM25 search, with vectors when an embedder is given, as a search source named knowledge.
  • @aidy-dev/client: a typed client of the HTTP API and a reducer from AG-UI events to thread state.
  • @aidy-dev/react: AidyDock, AidyThread, ApprovalCard, AidyForm, SearchPalette, HelpViewer and ModelSettings.
  • @aidy-dev/server: aidy-server (serve, keys) configured by environment variables, nodeHandler, and the Docker image ghcr.io/aidy-dev/aidy-server.
  • @aidy-dev/cli: the aidy command, a generic MCP client of any aidy host, plus check, skill, llms, reference, docs, keys generate and brand.
  • aidy on PyPI: the Python host kit, with op(), AidyHost and AidyCall for FastAPI, verify_assertion, check_call, and the Identity and search models.

供 Agent 读取: changelog.md编辑此页