Repository navigation
fix(factory): project script_only tools, refresh post-compact context, and surface OAuth email - #1133
Merged
Merged
Conversation
…, and surface OAuth email - Project unseen assistant `create_message` `tool_use` blocks in `projection.ts` so `script_only` `repl-tool-call` invocations emit `tool_call_started` before `tool_result` without duplicating outer `tool_call` announcements - Classify recorded `droid 1.17.2` built-in (`Execute`, `Read`, `Create`, `Edit`, `Grep`, `Glob`, `Script`) and `<server>___<tool>` MCP names in `tool-activity.ts`, extracting `Execute` `command` and `summary` - Serialize frame recording via `createFrameQueue` (`session-state.ts`, `session.ts`, `compaction.ts`) so confirmed `droid.compact_session` waits for bounded `droid.get_context_stats` before ordering later notifications or `onExit`, and refresh background context on automatic `session_compacted` - Surface trimmed non-empty active `email` from `auth/status` as `account.email` in `account.ts` - Update `docs/runtimes/factory.md` with live `FACTORY_API_KEY` and OAuth `device-pairing` verification results (Harbor, `auth.v2.file` billing limits, `account.email`, and OAuth `logout`) and `docs/development.md` with the two-pass probe + CLI/Harbor verification rule Co-authored-by: xxchan <[email protected]>
stamp-build Bot
added a commit
that referenced
this pull request
Nov 23, 2026
<!-- stamp:review:v1 --> <sup><img src="https://api.raft.build/api/avatars/pixel/bXVn.svg" width="16" height="16" align="absmiddle" alt=""> <b>Cindy</b> (open-agent-runtime) opened via Stamp · <a href="https://stamp.build/review?receipt=prc_5d3a397b07e608c8e27fe089d5ec351b"><picture><source media="(prefers-color-scheme: dark)" srcset="https://stamp.build/assets/brand/stamp-glyph-dark.d907ffcadb44.svg"><img src="https://stamp.build/assets/brand/stamp-glyph-light.58a2c10ed108.svg" width="13" height="12" align="absmiddle" alt=""></picture> View →</a></sup> --- <!-- /stamp:review:v1 --> ## OAR 0.130.0 ### Features - **Kimi capability-gated KAP session adapter with ACP fallback** (#1137, #1156, #1157). Adds the Kimi Agent Protocol (KAP) session adapter gated on server capabilities with automatic fallback to ACP on unpatched installations, clears pending steers on aborted turns with steer-gap abort support, and projects partial tool input text as deltas with complete input on item end. - **Subagent selected-model reporting** (#1148). Reports the model selected for subagent sessions. - **Antigravity local file skill discovery** (#1144, #1145). Reads skill files locally on Antigravity 1.5.14 and enables file skill discovery on 1.5.15. ### Fixes - **Pi RPC private-pipe startup config and MCP credential admission** (#1161). Delivers Pi RPC startup configuration once over the cross-platform private fd 3 pipe with no config file written to disk, and admits `mcpServerCredentials` on Pi RPC across all platforms. - **Claude Code private-file MCP credential handoff on non-FIFO platforms** (#1160). Delivers credentialed MCP config through an owner-only temporary file on platforms without FIFOs (including Windows), waits for Claude `initialize`, and unlinks the file before session open returns. - **ACP `session/load` 60-second default deadline and Grok open bounds** (#1159). Gives ACP `session/load` a 60-second default deadline, shares a single deadline across open and readiness checks, and sets Grok's default request timeout to 30 seconds. - **Grok `serveMcpTools` readiness wait** (#1128). Awaits `server_status` ready for every `serveMcpTools` server before completing startup. - **DSH cross-process startup serialization** (#1119). Serializes same-profile startup across processes. - **Factory tool projection, compaction context, and OAuth email** (#1133). Projects `script_only` tools, refreshes post-compact context, and surfaces OAuth email. - **Pi Durable tool input and CLI runtime dispatch alignment** (#1143). Aligns Pi Durable tool input handling and CLI runtime dispatch with contracts. ### Documentation, CI, and Tests - **Documentation alignment** (#1124, #1132, #1135, #1136, #1138, #1139, #1140, #1141, #1142). Aligns design docs, specs, runtime guides, package READMEs, and Kimi KAP wire and verification records with shipped contracts, and links `awesome-oar` in README. - **CI and test reliability** (#1122, #1127, #1129, #1131, #1146, #1147, #1149, #1150, #1152, #1158). Tightens native fixture cleanup, Windows case-insensitive `Path` handling in CI sharding, the Antigravity 1.5.14 ACP baseline, bounded fetch retries, and test timing stability. Full diff: v0.129.1...v0.130.0 Co-authored-by: Cindy <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
create_messagetool_useblocks inpackages/oar/src/runtimes/factory/projection.tssodroid 1.17.2script_onlyrepl-tool-callinvocations emittool_call_startedbeforetool_resultwithout duplicating outertool_callframes.droid 1.17.2built-ins (Execute,Read,Create,Edit,Grep,Glob,Script) and<server>___<tool>MCP names inpackages/oar/src/observe/tool-activity.ts(linear prefix/suffix check, plusExecutecommandandsummaryextraction).createFrameQueue(session-state.ts,session.ts,compaction.ts) so confirmed manualdroid.compact_sessionwaits for boundeddroid.get_context_statsbefore ordering later notifications oronExit, never drops an already-received compaction frame on exit/dispose, and triggers background reads on automaticsession_compacted.emailfromauth/statusasaccount.emailinpackages/oar/src/runtimes/factory/account.ts.docs/runtimes/factory.mdwith November 22, 2026 Linux x64 live verification results ondroid 1.17.2(bothFACTORY_API_KEYand live OAuthdevice-pairing,account.email,auth.v2.filebilling limits,pnpm harborruns, and OAuthlogout) and updatedocs/development.mdwith the two-pass probe plus CLI/Harbor verification rule.Verification
pnpm run build: passedpnpm run typecheck: passedoxlint --type-aware --deny-warnings: 0 warnings, 0 errors across 1927 filesCI=1 OAR_COMMUNITY_TESTS=1 pnpm vitest run --maxWorkers=4: 578 passed, 3 Windows-skipped (581 files); 5542 passed, 111 skipped (5653 tests) (notingtests/antigravity/antigravity-plan.test.tswith its 400ms process deadline flaked under 16-worker CPU contention and passed cleanly at--maxWorkers=4)CI=1 pnpm run sea-trial: 19 passed, 1 skipped, 0 failedOAR_TEST=factory-aimockvendor tests (droid 1.17.2): 2 files, 9 passed (8 + 1)droid 1.17.2checks (Linux x64):FACTORY_API_KEY+ live OAuthdevice-pairing,account status(account.email),account usage(/api/billing/limits), multi-turnpnpm harbor(compactcontext reduction,restartsession resume, zero findings, zero orphan tool calls), and OAuthlogout(auth.v2.fileremoved,logged_out,credentials_missing).