Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

Commits on main

test(feedback): cover comment post errors
Sami Rusani committed 2 months ago
f8525a6
test(feedback): cover comment post errors\n
Sami Rusani committed 2 months ago
230010f
fix(feedback): surface api client error messages
Sami Rusani committed 3 months ago
614fec5
fix(feedback): surface api client error messages\n
Sami Rusani committed 3 months ago
f52d72c
style: format sweep error chain test for rustfmt
Sagar Kewat committed 3 months ago
c2d0691
fix(chat): store a delivered reply before announcing it\n\nAn interactive reply reached disk only if the viewing client persisted the\n`chat_done` it received, which made the renderer the single writer of an\nanswer the core had already produced. One failed `threads_message_append`,\none socket reconnect (a new `client_id` leaves only the `thread:<id>` room\nas a route), or one webview reload during a long turn, and the reply was\ngone from the thread while the agent's own session history still held it.\n\n`deliver_response` now writes an unsegmented reply under\n`agent:<request_id>` before it publishes the terminal event, the way\n`task_session::append_final` already did for autonomous turns, and the\nclient's append collapses onto that row because both derive the same id.\nThe workspace rides on the turn result rather than being re-read at\ndelivery, so an account switch mid-turn cannot file a reply under whoever\nis signed in when it happens to finish. A segmented delivery is excluded:\nthe client owns one row per segment there, so the core stores none.\n\nTwo client-side gaps that made a lost event permanent are closed with it.\nA failed append now re-reads the thread instead of only logging, which\nsurfaces the core's copy without the user re-asking. And a reconnect\nrejoins the rooms of the threads a disconnect orphaned and re-reads them,\nso a turn that finished during the gap is not invisible until the thread\nis reselected.\n\nCloses #6034\n
Shanu committed 3 months ago
284ba95
chore(release): v0.63.22 [skip ci]
github-actions[bot] committed 3 months ago
5a16497
chore(release): v0.63.22 [skip ci]\n
github-actions[bot] committed 3 months ago
de23824
test(chat): cover the parked-approval rules nothing else would catch\n\nA coverage pass over the 13 changed files on this branch, filling the gaps\nwhere a behaviour would survive being reverted. Ten rules were uncovered; six\nof them decide whether a blocked turn can be un-blocked at all.\n\n`assistantUiMessages.approvalProjection` — three rules about a turn that is\nstopped rather than running:\n\n- the gate never attaches to a call that already returned. Matching by tool\n name alone finds an earlier finished `shell`, and a part carrying a `result`\n is settled: assistant-ui renders no decision on it, so the prompt lands\n somewhere it cannot be seen. Requiring an unsettled row is what makes the\n projection fall through to a synthesised prompt.\n- the tail is minted even when the projection reports the turn finished. A\n parked turn has not sent `chat_done`, but a snapshot race can still say\n `isRunning: false`, and suppressing the tail there swallows the only surface\n that can answer.\n- and in that case the live rows are emitted once. The settled-live fallback\n would replay them onto the last agent message while the tail carries them\n too, and a repeated `toolCallId` throws inside assistant-ui rather than\n dropping the duplicate — the transcript goes down at the exact moment the\n user is being asked to unblock the turn.\n\n`useOpenHumanExternalStore.approvalDecision` — the adapter callback the runtime\ncalls on a decision (without it the runtime throws rather than no-ops):\n\n- a decide that never lands leaves the gate parked. Clearing first drops the\n last prompt on screen while the core is still holding the call, and the turn\n then hangs to the gate's TTL with nothing to retry from.\n- the paired rule, so "never clears" is not mistaken for a fix.\n- a renderer answering with the bare `approved` boolean still maps to a\n decision the core accepts, not `undefined`.\n\n`AssistantUiRuntimeProvider.auiThreadId` — `useAuiThreadId` reports the\nruntime's own thread, not `selectedThreadId`. Its two consumers both live in\n`ChatToolParts`, and on the home chat the two strings are equal, so a Redux\nsubstitution passes every existing test while pointing the copilot's connect\ncard at the home chat's gate.\n\n`Conversations.auiComposerSurfaces` — three more collateral items: the\nprompt-injection advisory, the thread files chip, and that the composer toolbar\nis read live rather than frozen at first render (the slot is rendered by type,\nso closing over the node keeps whatever the first render produced and a\nsub-agent spawned mid-turn stays invisible).\n\nEvery case was revert-checked: the behaviour reverted, the test observed to\nfail naming its own assertion, the source restored byte-identical. One earlier\ndraft passed with its fix reverted and was rewritten rather than kept.\n
M3gA-Mind committed 3 months ago
7bfc439