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'
homepagefollows with the next release. - Breaking (Argos suite): a benchmark scenario without
cleanuprejects 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: approvenow needscleanup, and a prompt that names one of its expected operations failscheck. An approval is granted only for an operation the scenario expects, with arguments that match itsexpect.arguments, so a model that picks another target (a real project instead of the sandbox) is refused. The Acahti target opens itsargos-sandboxproject 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_inputcard, 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 ofnot_executed. A client that cannot ask still getsnot_executed. Matchdeclinedwhere 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_targetbecause 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
requestedquestion 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 markedcheck: truescript 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.discardalso 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_targetbefore any approval appears, and when the model picked the record from a lookup, its next step must ask withrequest_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_argumentsmessage naming a schema key. A failed call shows the host's own message forhttp_*,timeoutandcredential_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_executedremains for cancelled and expired calls. - Breaking: Conformance cases
approval/declined-ends-turn,guards/unnamed-target-asksandguards/shown-target-runsreplaceapproval/declined-run-answers-only,approval/declined-question-answered,approval/question-then-declined-questionandapproval/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
declinedanddeclinedRetriedfields 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'slocale.
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
followupscenario record the earlier turns underearlier(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_nowtool andStepRequest.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-continuesis gone, and routing turns script norungent_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-againexpectsrequired, andsees.toolChoicetakes notool:<name>. - Breaking: A path parameter that one operation resolves from names must be resolved the same way on every operation of that path;
rungent checkand startup reportresolve "<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_inputand nothing else, so the model can still ask with a card. Conformance caseguards/repeated-read-may-ask. - Routing's
continuedescribes 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.offeredandsees.toolChoice, and casesforms/text-question-asked-again,basic/narration-withdrawn,forms/routing-not-now-continuesandsearch/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 classedstable,flakyorfailingand listed infailing_scenariosandflaky_scenarios. - Benchmark
coverageof the agent's operations withuncovered_writes, andlanguage_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; onlytrueopens a form. When routing opens no form, every write with a form answersnot_requestedfor 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, reasonanswer_only) and never runs. Handle the new retry reason. - Breaking: Conformance case
approval/declined-run-answers-onlyreplacesdeclined-run-asks-nothinganddeclined-run-offers-reads-only, andsearch/source-timeoutexpectsunavailable. 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 includesrequest_input. - Breaking: Text a step writes beside its tool calls is withdrawn with
rungent.message.discardwhen 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
localedecides 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 choicerequest_inputto 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
honestscenarios default to the not-found phrases of the prompt's language, and anunavailablesearch counts as an infrastructure error. - Benchmark scoring counts a refused call the model corrects in
argument_validitywithout 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_inputmay 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_inputcall 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
kindis one ofread,resolve,search,cite,clarify,form,write,browse,followup,refuse,scopeandhonest, each with fixed expectations and checked rules, documented on the Benchmark page. - Benchmark scenario keys
before(earlier turns) andexpect.ask, and metricsask_rate,text_questions,category.<kind>.task_success,infra_errorsandinfra_rate. RUNGENT_BENCH_MODELS(a JSON chain, or@file) runs the benchmark on that chain throughPUT /settingsand restores the earlier settings afterwards, also on SIGTERM.RUNGENT_ADMIN_CREDENTIALsigns 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. Runrungent-argos initto write a stub for each category. - The system prompt and
request_input's description tell the model to look up the candidates and callrequest_inputwhen 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, withoutrequest_input. - Benchmark attempts the target refused (a rate limit, a 5xx, no model available) count as
infra_errorsand are left out of every other rate; aninfra_rateabove 5% fails the run as not measured.
Fixed
- Benchmark scoring: in
honestscenarios anunresolved_referenceis 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, thendeepseek-v4.1-flash, both on DashScope withvision: trueand 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-compatibleanddashscopeendpoints 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 tooffandtrue, in code,PUT /settingsandRUNGENT_MODELS. Schemathinking-policy.schema.json. - A user run thinks when
userSwitchis true and it sentforwardedProps.rungent.thinking, which then decides; otherwise whendefaultison.RUN_STARTED.input.forwardedPropsrecords{rungent: {thinking: true}}whenever the run thinks. GET /settingsanswersmodels.thinkingwith its defaults filled in, andPUT /settingstakes it as optional.- Provider
dashscopefor Qwen on Alibaba Cloud Model Studio, with Qwen'senable_thinkingswitch built in unless the endpoint sets its ownthinking. ItsproviderOptionsare keyedopenai-compatible. dashscope'sbaseURLdefaults tohttps://dashscope.aliyuncs.com/compatible-mode/v1(Beijing); set it for another region, such ashttps://dashscope-intl.aliyuncs.com/compatible-mode/v1.ModelSettingsgains a Thinking section (default on or off, let users switch) and thedashscopeprovider.- Conformance cases
thinking/default-onandthinking/no-user-switch, and a case-levelthinkingpolicy.
Changed
- Breaking:
GET /rungent/v0/infoanswersthinking: {default, userSwitch} | null(was a boolean):nullwhen no endpoint of the chain in effect can think. Testinfo.thinking?.userSwitchinstead ofinfo.thinking === true. - Breaking:
RUNGENT_MODELSis the JSON object{chain, thinking?}(was a JSON array), checked likePUT /settingsmodels. Wrap the array asRUNGENT_MODELS='{"chain":[…]}'; unset, the chain is empty until an admin saves one. modelsis{ chain, thinking? }everywhere: in code,PUT /settingsandRUNGENT_MODELS.- In
@rungent/react, the Think switch shows only wheninfo.thinkingis non-null anduserSwitchis true. It starts at the policy'sdefaultunless the user changed it in this browser, and every run sends it while it shows. - A Qwen endpoint configured as
openai-compatiblewith the DashScopebaseURLandthinking: { on, off }becomesprovider: 'dashscope'. The default policy keeps 0.7's behaviour. - The documented recommended setup is
dashscopeqwen3.7-plus, thenqwen3.7-flash, thinking off, with users allowed to switch it on.
0.7.7 - 2026-11-23
Fixed
- A Workers AI failure that names
4006or saysused uprests the endpoint forquota(6 h,cooldownSeconds.quota), as does a quota-like message from any provider that throws a plain error. Conformance casemodel/workers-ai-quota-rests-endpoint; the conformanceerrorturn takesstatusas 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, andnotSearched, appear only when sources were left out. Conformance casesearch/single-source-asks-for-citations. - Argument coercion leaves out the text
"null"for an optional field whose schema takesnulland lists no"null"inenumorconst. Required and non-nullable fields keep it. Conformance caseguards/null-text-for-nullable-fields.
0.7.6 - 2026-11-23
Added
- Per-endpoint
timeoutSeconds: {firstToken, idle}in settings,RUNGENT_MODELSand 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, emittingrungent.model.retrywith reasonfirst_token_timeoutoridle_timeout. Match these reasons instead oftimeout. - 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.runTimeoutSecondsends withRUN_ERRORcodetimeout(wasinternal), and@rungent/reactshows it as a timeout. Handletimeoutwhereinternalwas 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
searchtool takes an optionalsourceslist, whose names are listed in its schema; an unknown name answersinvalid_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 withnoteandnotSearched, 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,
searchandrequest_input. A write called anyway is refused, a write a chain reaches answersnot_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_precisionleaves 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.inputcarriesresume: [{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'sproviderOptionsper call. An endpoint without it ignores the switch. Schemaspec/schemas/model-thinking.schema.json. PUT /settings,RUNGENT_MODELSandModelSettingstakethinking;ModelSettingsedits each model'sonandoffoptions as JSON, with the provider's usual options as placeholders.forwardedProps.rungent.thinkingin a run's AG-UIRunAgentInput({thinking?: boolean}, default false; unknown keys answer400), recorded inRUN_STARTED.input.forwardedProps. Schemarun-options.schema.json.- Routing, host jobs (
/generate) and runs that finish a deferred task always run with thinking off. GET /rungent/v0/infoanswers{name, thinking};thinkingis true when an endpoint of the chain in effect declaresthinking. Schemainfo.schema.json.@rungent/reactshows a Think toggle (aria-pressed) in the composer when/info.thinkingis true. It is off by default, remembered per browser underrungent:thinking:<origin>, and sent with each run and resume.- String keys
think,thinkOnHint,thinkOffHint,thinkingOn,thinkingOff,thinkingHintandthinkingInvalid. - Client fields
RunRequest.thinking,Info.thinkingandModelEndpointSettings.thinking, and typesModelThinkingandProviderOptionsfrom@rungent/react/client. - Conformance cases
thinking/on-sends-on-options,thinking/off-by-default,thinking/model-without-thinking-ignores-itandthinking/routing-never-thinks; the case format gainsendpoints[].providerOptions,endpoints[].thinking,input.thinking,sees.providerOptionsandinfo.
Changed
providerOptionsis accepted on every endpoint, custom endpoints included.RUNGENT_MODELSentries are checked likePUT /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 fixedproviderOptions.
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, withreactandreact-domas optional peers. - Package
@rungent/cli: the CLI of any rungent host, binrungent-cli(npx @rungent/cli …), andrunfor branded CLIs. It bundles its MCP client and has no dependencies.
Changed
- Breaking:
rungent/react,rungent/react/styles.cssandrungent/clientmove to@rungent/react,@rungent/react/styles.cssand@rungent/react/client, with no aliases. Change the imports and dependencies. - Breaking:
rungent/climoves to@rungent/cli. Arungent brandpackage depends on and imports@rungent/cli; rerunrungent brandor change the two lines. - Breaking: The generic CLI reads
RUNGENT_CLI_HOSTandRUNGENT_CLI_TOKEN(wasRUNGENT_HOSTandRUNGENT_TOKEN). - Breaking: The generic CLI's saved default host is
defaults["rungent-cli"]in~/.config/rungent/hosts.json(wasdefaults.rungent). Runrungent-cli loginonce; saved tokens are kept. - Breaking: The default CLI in
/skill.mdand/llms.txtisrungent-cli, installed withnpm i -g @rungent/cli. - Breaking: The Argos suite's
RUNGENT_CLIdefaults tonpx -y @rungent/cliand its token variable isRUNGENT_CLI_TOKEN. rungentdropsreact-markdown,remark-gfmand the React peers; a clean install is 27.8 MB in 107 packages (was 33.1 MB in 208).
Removed
- Breaking: The
rungentbin no longer runslogin,logout,status,toolsor a host's commands; userungent-clifrom@rungent/cli. It keepsserve,keys generate,check,skill,llms,reference,docsandbrand.
0.5.2 - 2026-11-22
Changed
- npm releases are published by trusted publishing and staged until an owner approves them; the
rungentpackage belongs to therungentnpm org. - The docs are served at https://rungent.acahti.dev, with the skill at https://rungent.acahti.dev/skills/rungent/SKILL.md; https://aidy.acahti.dev redirects there.
Removed
- Breaking:
rungent-argosis no longer published. Install it from the repository withuv pip install -e rungent/argos.
0.5.1 - 2026-11-21
Fixed
- The PyPI release jobs can check out the repository, so
rungentandrungent-argosreach 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/aidyisrungentwith the same subpaths, and the source export condition@aidy-dev/sourceisrungent-source. - Breaking: The command
aidyisrungent(npx rungent serve), and the built-in CLI prefixaidy:<command>isrungent:<command>. - Breaking: The CLI login file and cache move to
~/.config/rungent/hosts.jsonand~/.cache/rungent. Log in again. - Breaking: The Python distribution
aidyisrungenton PyPI (pip install "rungent[fastapi]"), imported asrungent,rungent.fastapiandrungent.delegation. - Breaking: Python names
AidyCall,AidyHost,AidyAssertionError,strip_aidy_headersandrequest.state.aidyareRungentCall,RungentHost,RungentAssertionError,strip_rungent_headersandrequest.state.rungent. - Breaking: The Argos suite is
rungent-argoson PyPI, imported asrungent_argos, selected aspack:rungent, withRUNGENT_*target variables (wasaidy-argos,aidy_argos,pack:aidy,AIDY_*). - Breaking: The server image is
ghcr.io/rungent/rungent-serverwith entrypointrungent serve(wasghcr.io/aidy-dev/aidy-server). - Breaking: The OpenAPI extension is
x-rungent, schemaspec/schemas/x-rungent.schema.json(wasx-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.jsonto/.well-known/rungent-keys.json./mcp,/skill.mdand/llms.txtare unchanged. - Breaking: Assertion headers are
Rungent-AssertionandRungent-Host-Assertion, the assertiontypisrungent-call+jwt(claims unchanged), the error code isrungent_assertion_invalid, and the admin scope isrungent:admin. - Breaking: The protocol id is
rungent/0; the AG-UI profile usesmetadata.rungent, MCP_meta.rungent, CUSTOM eventsrungent.*and activityrungent.progress. - Breaking: Interrupt reasons are
rungent:approval,rungent:input,rungent:formandrungent:task(wasaidy:*). - Breaking: Environment variables
AIDY_*areRUNGENT_*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,AidyProtocolErrorandXAidyarecreateRungent,Rungent,RungentConfig,RungentEvent,RungentClient,RungentRequestError,RungentProtocolErrorandXRungent. - Breaking: React components
AidyProvider,AidyDock,AidyThreadandAidyFormand their*PropsareRungentProvider,RungentDock,RungentThreadandRungentForm; the string keyaskAidyisaskAssistant. - Breaking: CSS classes
.aidy-*, variables--aidy-*, attributesdata-aidy-*andSCROLL_CLASSaidy-scrollare.rungent-*,--rungent-*,data-rungent-*andrungent-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(washttps://aidy.acahti.dev/skills/aidy/SKILL.md). - Breaking: The assistant's default name is
Assistant. A product that showed the default "Aidy" setsRUNGENT_NAME=Aidyorname: 'Aidy'to keep it. - Breaking: Database tables are
rungent_*andrungent_migrations. Postgres, SQLite and D1 deployments migrate on start, keeping threads, open approvals, feedback, settings and the host's own migrations. - Migrations
core/003_rungentandknowledge/002_rungentrename the tables, keys, indexes and triggers and rewrite stored profile names; settings sealed by 0.4 open with the same secret. rungentandrungent-argospublish 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 withmodel_unavailable. Conformance caseforms/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/_ENDandREASONING_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-onlyandreasoning/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.
ThreadItemgainsreasoningitems, and items carrystartedAtandendedAt. - Quiet scrollbars for the dock and hosts:
SCROLL_CLASS,useScrollbar(ref),watchScrollbar(el)and--aidy-scroll-thumb. aidy --versionprints 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/aidyreplaces the nine@aidy-dev/*packages, each becoming a subpath:coreis the root,serveris/node, andsql,knowledge,documents,client,react,cliandspec/*keep their names as subpaths. Replace imports and dependencies. reactandreact-domare optional peer dependencies, andpostgrescomes with the package.- Breaking: Branded CLIs depend on
@aidy-dev/aidyand importrunfrom@aidy-dev/aidy/cli; rerunaidy brand. The default install line in/skill.mdisnpm i -g @aidy-dev/aidy. - Breaking:
aidy servereplacesaidy-server serve, and the imageghcr.io/aidy-dev/aidy-serverinstalls@aidy-dev/aidywith entrypointaidy serve. - Breaking: CLI
searchis the host's product search (its MCPsearchtool) and no longer lists commands. Useaidy tools <words>to find commands. - Breaking: Dock string keys
lookups,lookup,thinkingFor,toolRunningandtoolSucceededare replaced bytrace*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
AidyProviderandAidyDockonce, in the root layout.
Removed
- Breaking: The
aidy-serverbin andaidy-server keys. Useaidy serve, andaidy keys generate --kid <id>to write the private JWK forAIDY_SIGNING_KEY. - Breaking: The built-in
aidy:searchcommand; useaidy tools <words>.
Fixed
- Role operations default to
effect: read, so arole: formoperation needs neithereffect: readnorapproval: never. Conformance caseforms/form-operation-is-a-read. host.fetchtakes any handler fromRequesttoResponse | Promise<Response>(typeHostFetch), so Hono'sapp.fetchfits 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.txtandllms-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
searchfor the message's text (200 characters,limit5), recorded as an ordinary citablesearchcall. @aidy-dev/spec/protocolexportsFormInterruptMeta,FormSubmission,FormIssue,submissionResponseSchemaandanswersToArguments, with JSON schemasform-interruptandform-submission.formsonAidyProvider: the product's own form components by operation name (ComponentType<HostFormProps>with{op, arguments, issues, submit, cancel}), rendered prefilled.AidyFormtakesvalues,issuesandonCancel.suggestionsonAidyProvider:() => 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) andlauncher, and CSS variable--aidy-dock-topfor a fixed header. - Conformance cases
forms/routing-opens-form,forms/invalid-arguments-open-form,forms/invalid-submission-reopens-formandsearch/knowledge-before-first-step. A model turn may answer routing (routing: true); unscripted routing calls answercontinue. - Argos suite (
argos/, packaidy): 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 interruptaidy:form, withmetadata.aidy{op, arguments, form, issues?}, resume payload{arguments: {...}}andresponseSchema{arguments: <input schema>}. They used to arrive asaidy:inputresumed with{answers}. - Breaking:
aidy:inputis only the model'srequest_input, resumed with{answers}. Conformance caseforms/host-form-before-approvalusesaidy:form. - Breaking:
AidyDockwraps 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-widthno 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_argumentsfor it. - A form submission that fails the input schema reopens the form with
issuesby 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
homepagefields point there.
Removed
- Breaking:
answerFormin@aidy-dev/client. UseanswerInput(interrupt, answers)foraidy:input, andsubmitForm(interrupt, args)orsubmitFormAnswers(interrupt, answers)foraidy:form;OpenInterruptgainsFormInterrupt(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_unavailablefor five minutes.
0.2.3 - 2026-11-20
Added
- MCP
initializereturnsinstructions, set bymcp.instructions(AIDY_MCP_INSTRUCTIONS) and defaulting to the skill guide.
Changed
- Breaking: MCP
searchrefuses unknown arguments, such as the removedtypes, instead of ignoring them. Send only its documented arguments.
0.2.2 - 2026-11-19
Changed
GET /aidy/v0/infoneeds 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.mdand/llms.txtfor 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(was500 internal). Handlehost_unavailable.
Fixed
- Operations with a host form are offered to the model without
requiredfields 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 anAidy-Host-Assertionfor opgenerate, 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 againstschemawith one repair attempt, else422 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
temperatureandmaxOutputTokens; one chain per instance, shared by runs and host jobs. - User messages take AG-UI
text,imageanddocumentparts (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
contextis added to its system prompt (up to 16 entries, 8000 characters). instructionsmay be an async function of the identity.- Per-source search timeouts (
x-aidy.timeoutSeconds,SearchSource.timeoutMs). Hitcontentreaches the model through thesearchtool and MCP, never/searchor 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) andGET /aidy/v0/feedbackfor admins. GET /aidy/v0/infoanswers the assistant'sname.DELETE /aidy/v0/settingsrestores the configured models;secretmay be a list for rotation (the first seals, all unseal). Unreadable settings answer503 settings_unreadable.- Generated documents take
skill.name(a valid slug even for non-ASCII product names) andskill.cli: {command, package?, install?}, named in/skill.mdand/llms.txt. - Keys:
importSigningKeyandportableJwk. - Knowledge: explicit heading ids
## Title {#anchor}set the anchor and are stripped from the title, and hits carry the chunk text ascontent. - Client:
run(threadId, {message, context?, resume?}),attachmentPart,attachmentsOf,info,setFeedback,listFeedback,resetSettingsandbaseUrl. AidyProvidertakesupload(attach button, drag and drop, paste, thumbnails),context,localeandstrings; unknown locales fall back to English, and the assistant name comes fromGET /info.AidyDockremembers open state and thread per clientbaseUrl, and takes controlledopen/onOpenChangeandthreadId/onThreadChange.SearchPalettetakes controlledopen/onOpenChangeandonAsk, withuseSearchPalette()and type labels throughstrings(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 withaidy brand --env-host --env-token; flags win over the environment, which wins over the saved login. - Every CLI command takes
--help, andaidy brand --hostis optional. - Host commands win over built-ins, which stay reachable as
aidy:<name>. aidy keys generateandaidy-server keyswrite portable JWKs.- Server environment variables
AIDY_SKILL_NAME,AIDY_CLI_COMMAND,AIDY_CLI_PACKAGE,AIDY_CLI_INSTALLandAIDY_PREVIOUS_SECRET. - Python kit:
SearchHit.content. - Conformance cases can script a model chain (
endpoints, a turn'sendpoint), 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.citationis{messageId, citations: [{n, hit}]}, each cited hit under the number the answer wrote (was{messageId, hits}).ThreadState.citationsholdsCitation[]. - Breaking:
aidy.model.retrycarriesendpointandfallback. 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_unavailablecomes only when no endpoint is left, and a rate-limited endpoint is not retried when all rest. - Breaking:
SearchHithascontent, which is model-only:FederatedHitand citation hits exclude it, andfusereturnsFusedHit. - Breaking: Search operations default to a 2 s timeout and accept
x-aidy.timeoutSecondsup to 10; a larger value is a catalog error. - Breaking: In
@aidy-dev/client,ClientOptions.baseUrlis where aidy is mounted and is optional (default''),RunRequest.messageisstring | ContentPart[], andUserItem.attachmentsandModelEndpointUpdate.idare required. - Breaking: In
@aidy-dev/react,localeis any string, withStringsandlocalesreplacing theLocaletype, andMarkdowntakescitationsasCitation[]. - Breaking: The CLI's built-in
whoamiisstatus. - Breaking: MCP
serverInfo.nameis the product's name (the catalog'sinfo.title) instead ofaidy. - Breaking:
/skill.mddrops a hand-written guide's own frontmatter and leading#title. - Breaking: In
@aidy-dev/documents,SkillOptions.cliandLlmsTxtOptions.cliareCliOptions({command, package?, install?}), andskillNameis new. - Breaking: Stores need the methods
putFeedback,listFeedbackanddeleteSettings; SQL migration002_feedbackadds their tables. - Breaking: The conformance runner's
RuntimeEnv.modelisRuntimeEnv.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-roottheme outside the dock, and the styles no longer depend on browser defaults that CSS resets such as Tailwind preflight remove. - New rows in
ModelSettingsget ids. - Python kit wire models show their camelCase JSON Schema in FastAPI's OpenAPI and still omit absent fields.
Removed
- Breaking: The
typesargument of the model's and MCP'ssearchtool;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 needContent-Type; a request body must be JSON. importPublicKeysaccepts Node-exported JWKs withalg, 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 thex-aidycatalog reader, delegation assertions, search fusion and the AG-UI profile schemas.@aidy-dev/core: the runtime and its Web-standardfetchhandler (createAidy), with threads, runs, approvals, forms, resolve, chains, AG-UI events, MCP, federated search, settings and generated documents, plusMemoryStoreandSqlStore.@aidy-dev/sql: theSqlDrivercontract, drivers for Postgres, SQLite and Cloudflare D1, and a migration runner.@aidy-dev/documents: generators forskill.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 namedknowledge.@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,HelpViewerandModelSettings.@aidy-dev/server:aidy-server(serve,keys) configured by environment variables,nodeHandler, and the Docker imageghcr.io/aidy-dev/aidy-server.@aidy-dev/cli: theaidycommand, a generic MCP client of any aidy host, pluscheck,skill,llms,reference,docs,keys generateandbrand.aidyon PyPI: the Python host kit, withop(),AidyHostandAidyCallfor FastAPI,verify_assertion,check_call, and theIdentityand search models.
供 Agent 读取: changelog.md编辑此页