mixdog 1.2.1 → 1.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (557) hide show
  1. package/README.md +18 -0
  2. package/package.json +2 -1
  3. package/scripts/gate-local.mjs +19 -3
  4. package/scripts/model-catalog-audit.mjs +1 -15
  5. package/scripts/provider-pingpong-live.mjs +509 -0
  6. package/src/agents/advisor/AGENT.md +1 -1
  7. package/src/agents/advisor/agent.json +1 -1
  8. package/src/agents/reviewer/AGENT.md +3 -3
  9. package/src/agents/reviewer/agent.json +1 -1
  10. package/src/defaults/shipped-history.json +6 -0
  11. package/src/defaults/skills/setup/SKILL.md +6 -1
  12. package/src/defaults/skills/setup/references/actions.md +44 -22
  13. package/src/defaults/skills/setup/references/surfaces.md +10 -8
  14. package/src/headless-exec.mjs +15 -8
  15. package/src/lib/keychain-cjs.cjs +7 -4
  16. package/src/output-styles/common.md +11 -10
  17. package/src/repl/slash-commands.mjs +16 -1
  18. package/src/rules/agent/AGENT.md +5 -5
  19. package/src/rules/lead/LEAD.md +5 -5
  20. package/src/runtime/agent/orchestrator/agent-runtime/agent-progress-watchdog.mjs +29 -4
  21. package/src/runtime/agent/orchestrator/agent-runtime/cache-strategy.mjs +10 -0
  22. package/src/runtime/agent/orchestrator/agent-trace-io.mjs +92 -61
  23. package/src/runtime/agent/orchestrator/cache-mtime.mjs +10 -1
  24. package/src/runtime/agent/orchestrator/config-providers-merge.mjs +7 -0
  25. package/src/runtime/agent/orchestrator/config.mjs +5 -0
  26. package/src/runtime/agent/orchestrator/context/collect.mjs +1 -0
  27. package/src/runtime/agent/orchestrator/context/deferred-tools.mjs +26 -7
  28. package/src/runtime/agent/orchestrator/context/skill-catalog.mjs +112 -7
  29. package/src/runtime/agent/orchestrator/mcp/client-config.mjs +36 -7
  30. package/src/runtime/agent/orchestrator/mcp/client-handshake.mjs +49 -10
  31. package/src/runtime/agent/orchestrator/mcp/client-transport.mjs +40 -3
  32. package/src/runtime/agent/orchestrator/mcp/client.mjs +230 -96
  33. package/src/runtime/agent/orchestrator/mcp/oauth-callback.mjs +103 -0
  34. package/src/runtime/agent/orchestrator/mcp/oauth-credentials.mjs +150 -0
  35. package/src/runtime/agent/orchestrator/mcp/oauth-login.mjs +111 -0
  36. package/src/runtime/agent/orchestrator/mcp/oauth-probe.mjs +87 -0
  37. package/src/runtime/agent/orchestrator/mcp/oauth-provider.mjs +95 -0
  38. package/src/runtime/agent/orchestrator/mcp/oauth-request.mjs +122 -0
  39. package/src/runtime/agent/orchestrator/mcp/oauth-shared.mjs +9 -0
  40. package/src/runtime/agent/orchestrator/mcp/oauth.mjs +229 -0
  41. package/src/runtime/agent/orchestrator/providers/account-pool.mjs +188 -29
  42. package/src/runtime/agent/orchestrator/providers/anthropic-api-recovery.mjs +2 -1
  43. package/src/runtime/agent/orchestrator/providers/anthropic-api-request.mjs +48 -20
  44. package/src/runtime/agent/orchestrator/providers/anthropic-api-transport.mjs +94 -31
  45. package/src/runtime/agent/orchestrator/providers/anthropic-error-contract.mjs +98 -0
  46. package/src/runtime/agent/orchestrator/providers/anthropic-fast-mode.mjs +39 -18
  47. package/src/runtime/agent/orchestrator/providers/anthropic-max-tokens-recovery.mjs +55 -0
  48. package/src/runtime/agent/orchestrator/providers/anthropic-max-tokens.mjs +48 -37
  49. package/src/runtime/agent/orchestrator/providers/anthropic-messages.mjs +10 -7
  50. package/src/runtime/agent/orchestrator/providers/anthropic-midstream-recovery.mjs +18 -4
  51. package/src/runtime/agent/orchestrator/providers/anthropic-model-resolve.mjs +13 -1
  52. package/src/runtime/agent/orchestrator/providers/anthropic-oauth-client-version.mjs +1 -1
  53. package/src/runtime/agent/orchestrator/providers/anthropic-oauth-midstream.mjs +10 -1
  54. package/src/runtime/agent/orchestrator/providers/anthropic-oauth-recovery.mjs +23 -9
  55. package/src/runtime/agent/orchestrator/providers/anthropic-oauth-request/initial-status.mjs +46 -20
  56. package/src/runtime/agent/orchestrator/providers/anthropic-oauth-request.mjs +14 -9
  57. package/src/runtime/agent/orchestrator/providers/anthropic-oauth.mjs +102 -45
  58. package/src/runtime/agent/orchestrator/providers/anthropic-overload-fallback.mjs +69 -0
  59. package/src/runtime/agent/orchestrator/providers/anthropic-server-fallback.mjs +4 -0
  60. package/src/runtime/agent/orchestrator/providers/anthropic-sse-turn/turn-blocks.mjs +20 -1
  61. package/src/runtime/agent/orchestrator/providers/anthropic-sse-turn/turn-events/content-block-delta.mjs +15 -2
  62. package/src/runtime/agent/orchestrator/providers/anthropic-sse-turn/turn-events/content-block-start.mjs +11 -4
  63. package/src/runtime/agent/orchestrator/providers/anthropic-sse-turn/turn-events/message-events.mjs +3 -0
  64. package/src/runtime/agent/orchestrator/providers/anthropic-sse-turn/turn-events.mjs +12 -5
  65. package/src/runtime/agent/orchestrator/providers/anthropic-sse-turn/turn-outcome.mjs +1 -0
  66. package/src/runtime/agent/orchestrator/providers/anthropic-sse-turn/turn-state.mjs +14 -0
  67. package/src/runtime/agent/orchestrator/providers/anthropic-sse.mjs +10 -1
  68. package/src/runtime/agent/orchestrator/providers/anthropic-turn-result.mjs +9 -0
  69. package/src/runtime/agent/orchestrator/providers/anthropic.mjs +40 -7
  70. package/src/runtime/agent/orchestrator/providers/antigravity-oauth-catalog.mjs +30 -9
  71. package/src/runtime/agent/orchestrator/providers/antigravity-oauth.mjs +7 -0
  72. package/src/runtime/agent/orchestrator/providers/antigravity-request.mjs +88 -21
  73. package/src/runtime/agent/orchestrator/providers/antigravity-response.mjs +30 -10
  74. package/src/runtime/agent/orchestrator/providers/antigravity-retry-policy.mjs +106 -0
  75. package/src/runtime/agent/orchestrator/providers/antigravity-stream.mjs +10 -61
  76. package/src/runtime/agent/orchestrator/providers/antigravity-transport.mjs +94 -15
  77. package/src/runtime/agent/orchestrator/providers/codex-client-meta.mjs +1 -1
  78. package/src/runtime/agent/orchestrator/providers/command-code-oauth.mjs +117 -72
  79. package/src/runtime/agent/orchestrator/providers/compat-request-policy.mjs +78 -2
  80. package/src/runtime/agent/orchestrator/providers/cursor-auth.mjs +75 -10
  81. package/src/runtime/agent/orchestrator/providers/cursor-client-version.mjs +1 -1
  82. package/src/runtime/agent/orchestrator/providers/cursor-wire-guards.mjs +97 -2
  83. package/src/runtime/agent/orchestrator/providers/cursor-wire-stream-bridge.mjs +103 -23
  84. package/src/runtime/agent/orchestrator/providers/cursor-wire-stream-messages.mjs +43 -2
  85. package/src/runtime/agent/orchestrator/providers/cursor-wire-transport.mjs +103 -33
  86. package/src/runtime/agent/orchestrator/providers/cursor-wire.mjs +32 -6
  87. package/src/runtime/agent/orchestrator/providers/cursor.mjs +27 -3
  88. package/src/runtime/agent/orchestrator/providers/custom-provider-config.mjs +64 -1
  89. package/src/runtime/agent/orchestrator/providers/custom-provider.mjs +70 -6
  90. package/src/runtime/agent/orchestrator/providers/custom-reasoning.mjs +34 -7
  91. package/src/runtime/agent/orchestrator/providers/custom-tool-wire.mjs +32 -6
  92. package/src/runtime/agent/orchestrator/providers/deepseek.mjs +67 -0
  93. package/src/runtime/agent/orchestrator/providers/effort-configuration.mjs +80 -18
  94. package/src/runtime/agent/orchestrator/providers/gemini-cache-policy.mjs +11 -4
  95. package/src/runtime/agent/orchestrator/providers/gemini-cache.mjs +46 -8
  96. package/src/runtime/agent/orchestrator/providers/gemini-error-contract.mjs +273 -0
  97. package/src/runtime/agent/orchestrator/providers/gemini-family.mjs +9 -0
  98. package/src/runtime/agent/orchestrator/providers/gemini-history-signatures.mjs +9 -4
  99. package/src/runtime/agent/orchestrator/providers/gemini-request-body.mjs +41 -5
  100. package/src/runtime/agent/orchestrator/providers/gemini-response.mjs +3 -1
  101. package/src/runtime/agent/orchestrator/providers/gemini-retry-policy.mjs +180 -0
  102. package/src/runtime/agent/orchestrator/providers/gemini-schema.mjs +369 -112
  103. package/src/runtime/agent/orchestrator/providers/gemini-sdk-request.mjs +3 -1
  104. package/src/runtime/agent/orchestrator/providers/gemini-stream.mjs +140 -35
  105. package/src/runtime/agent/orchestrator/providers/gemini-thinking.mjs +70 -24
  106. package/src/runtime/agent/orchestrator/providers/gemini.mjs +80 -29
  107. package/src/runtime/agent/orchestrator/providers/grok-client-version.mjs +1 -1
  108. package/src/runtime/agent/orchestrator/providers/grok-oauth-tokens.mjs +3 -0
  109. package/src/runtime/agent/orchestrator/providers/grok-oauth.mjs +69 -19
  110. package/src/runtime/agent/orchestrator/providers/lib/action-input-contract.mjs +60 -0
  111. package/src/runtime/agent/orchestrator/providers/lib/anthropic-native-blocks.mjs +1 -0
  112. package/src/runtime/agent/orchestrator/providers/lib/anthropic-request-utils.mjs +246 -42
  113. package/src/runtime/agent/orchestrator/providers/lib/anthropic-server-tool-usage.mjs +18 -0
  114. package/src/runtime/agent/orchestrator/providers/lib/anthropic-system-blocks.mjs +27 -6
  115. package/src/runtime/agent/orchestrator/providers/lib/claude-bridge-schema.mjs +388 -0
  116. package/src/runtime/agent/orchestrator/providers/lib/inclusive-usage.mjs +54 -0
  117. package/src/runtime/agent/orchestrator/providers/lib/origin-bound-fetch.mjs +16 -0
  118. package/src/runtime/agent/orchestrator/providers/lib/responses-terminal-fields.mjs +11 -0
  119. package/src/runtime/agent/orchestrator/providers/lib/usage-primitives.mjs +8 -0
  120. package/src/runtime/agent/orchestrator/providers/lib/wire-pairing.mjs +48 -22
  121. package/src/runtime/agent/orchestrator/providers/media-normalization.mjs +119 -18
  122. package/src/runtime/agent/orchestrator/providers/mimo-oauth-profile.mjs +13 -15
  123. package/src/runtime/agent/orchestrator/providers/mimo-oauth.mjs +3 -0
  124. package/src/runtime/agent/orchestrator/providers/model-list-sanitize.mjs +2 -1
  125. package/src/runtime/agent/orchestrator/providers/model-proxy-channel.d.mts +1 -1
  126. package/src/runtime/agent/orchestrator/providers/model-proxy-channel.mjs +1 -0
  127. package/src/runtime/agent/orchestrator/providers/model-proxy-provider.mjs +33 -1
  128. package/src/runtime/agent/orchestrator/providers/muse-code-oauth.mjs +4 -9
  129. package/src/runtime/agent/orchestrator/providers/oauth-credential-probes.mjs +2 -0
  130. package/src/runtime/agent/orchestrator/providers/openai-codex-metadata.mjs +2 -0
  131. package/src/runtime/agent/orchestrator/providers/openai-compat-chat-send.mjs +123 -61
  132. package/src/runtime/agent/orchestrator/providers/openai-compat-chat-stream/chunk-events.mjs +35 -14
  133. package/src/runtime/agent/orchestrator/providers/openai-compat-chat-stream/stream-result.mjs +27 -2
  134. package/src/runtime/agent/orchestrator/providers/openai-compat-chat-stream/stream-state.mjs +37 -7
  135. package/src/runtime/agent/orchestrator/providers/openai-compat-chat-stream/tool-call-acc.mjs +2 -9
  136. package/src/runtime/agent/orchestrator/providers/openai-compat-chat-stream.mjs +1 -0
  137. package/src/runtime/agent/orchestrator/providers/openai-compat-error-contract.mjs +50 -0
  138. package/src/runtime/agent/orchestrator/providers/openai-compat-models.mjs +47 -2
  139. package/src/runtime/agent/orchestrator/providers/openai-compat-options.mjs +47 -25
  140. package/src/runtime/agent/orchestrator/providers/openai-compat-presets.mjs +5 -1
  141. package/src/runtime/agent/orchestrator/providers/openai-compat-reasoning-field.mjs +151 -0
  142. package/src/runtime/agent/orchestrator/providers/openai-compat-response-normalization.mjs +64 -23
  143. package/src/runtime/agent/orchestrator/providers/openai-compat-responses-events.mjs +79 -33
  144. package/src/runtime/agent/orchestrator/providers/openai-compat-responses-head-parity.json +2901 -0
  145. package/src/runtime/agent/orchestrator/providers/openai-compat-responses-parity.fixtures.mjs +172 -0
  146. package/src/runtime/agent/orchestrator/providers/openai-compat-responses-state.mjs +3 -2
  147. package/src/runtime/agent/orchestrator/providers/openai-compat-responses.mjs +144 -15
  148. package/src/runtime/agent/orchestrator/providers/openai-compat-retry-profile.mjs +193 -0
  149. package/src/runtime/agent/orchestrator/providers/openai-compat-stream-common.mjs +66 -2
  150. package/src/runtime/agent/orchestrator/providers/openai-compat-stream.mjs +9 -2
  151. package/src/runtime/agent/orchestrator/providers/openai-compat-trace.mjs +2 -0
  152. package/src/runtime/agent/orchestrator/providers/openai-compat-wire.mjs +109 -26
  153. package/src/runtime/agent/orchestrator/providers/openai-compat-xai-send.mjs +27 -6
  154. package/src/runtime/agent/orchestrator/providers/openai-compat-xai.mjs +34 -20
  155. package/src/runtime/agent/orchestrator/providers/openai-compat.mjs +23 -4
  156. package/src/runtime/agent/orchestrator/providers/openai-direct-request.mjs +37 -28
  157. package/src/runtime/agent/orchestrator/providers/openai-error-contract.mjs +274 -0
  158. package/src/runtime/agent/orchestrator/providers/openai-http-sse-request.mjs +72 -32
  159. package/src/runtime/agent/orchestrator/providers/openai-http-sse-response-state/response-events/output-items.mjs +23 -10
  160. package/src/runtime/agent/orchestrator/providers/openai-http-sse-response-state/response-events/terminal-frames.mjs +43 -15
  161. package/src/runtime/agent/orchestrator/providers/openai-http-sse-response-state/response-events.mjs +10 -0
  162. package/src/runtime/agent/orchestrator/providers/openai-http-sse-response-state/response-items.mjs +18 -7
  163. package/src/runtime/agent/orchestrator/providers/openai-http-sse-response-state/response-outcome.mjs +5 -2
  164. package/src/runtime/agent/orchestrator/providers/openai-http-sse-response-state/response-stamps.mjs +2 -2
  165. package/src/runtime/agent/orchestrator/providers/openai-http-sse-response-state/response-state.mjs +7 -3
  166. package/src/runtime/agent/orchestrator/providers/openai-http-sse-response-state/text-relay.mjs +9 -1
  167. package/src/runtime/agent/orchestrator/providers/openai-http-sse-response-state.mjs +2 -2
  168. package/src/runtime/agent/orchestrator/providers/openai-http-sse-watchdogs.mjs +1 -3
  169. package/src/runtime/agent/orchestrator/providers/openai-model-capabilities.mjs +80 -0
  170. package/src/runtime/agent/orchestrator/providers/openai-oauth-dispatch.mjs +37 -4
  171. package/src/runtime/agent/orchestrator/providers/openai-oauth-http-sse.mjs +12 -1
  172. package/src/runtime/agent/orchestrator/providers/openai-oauth-tokens.mjs +22 -2
  173. package/src/runtime/agent/orchestrator/providers/openai-oauth.mjs +12 -1
  174. package/src/runtime/agent/orchestrator/providers/openai-responses-input.mjs +76 -33
  175. package/src/runtime/agent/orchestrator/providers/openai-responses-payload-parity.fixture.json +323 -0
  176. package/src/runtime/agent/orchestrator/providers/openai-responses-payload.mjs +44 -16
  177. package/src/runtime/agent/orchestrator/providers/openai-retry-policy.mjs +9 -0
  178. package/src/runtime/agent/orchestrator/providers/openai-ws-delta.mjs +7 -16
  179. package/src/runtime/agent/orchestrator/providers/openai-ws-handshake.mjs +16 -8
  180. package/src/runtime/agent/orchestrator/providers/openai-ws-response-state/refusals.mjs +60 -0
  181. package/src/runtime/agent/orchestrator/providers/openai-ws-response-state/tool-calls.mjs +51 -35
  182. package/src/runtime/agent/orchestrator/providers/openai-ws-response-state.mjs +30 -0
  183. package/src/runtime/agent/orchestrator/providers/openai-ws-send-attempts/attempt-context.mjs +1 -2
  184. package/src/runtime/agent/orchestrator/providers/openai-ws-send-attempts/policy.mjs +25 -14
  185. package/src/runtime/agent/orchestrator/providers/openai-ws-stream/event-switch.mjs +12 -0
  186. package/src/runtime/agent/orchestrator/providers/openai-ws-stream/terminal-frames.mjs +25 -6
  187. package/src/runtime/agent/orchestrator/providers/openai-ws-terminal.mjs +18 -11
  188. package/src/runtime/agent/orchestrator/providers/openai-ws.mjs +41 -22
  189. package/src/runtime/agent/orchestrator/providers/opencode-go-gemini.mjs +170 -0
  190. package/src/runtime/agent/orchestrator/providers/opencode-go.mjs +75 -70
  191. package/src/runtime/agent/orchestrator/providers/openrouter.mjs +75 -0
  192. package/src/runtime/agent/orchestrator/providers/provider-error-kind.mjs +720 -0
  193. package/src/runtime/agent/orchestrator/providers/registry.mjs +4 -1
  194. package/src/runtime/agent/orchestrator/providers/retry-backoff.mjs +46 -7
  195. package/src/runtime/agent/orchestrator/providers/retry-classification.mjs +123 -219
  196. package/src/runtime/agent/orchestrator/providers/retry-classifier.mjs +2 -0
  197. package/src/runtime/agent/orchestrator/providers/retry-executor.mjs +148 -45
  198. package/src/runtime/agent/orchestrator/providers/retry-midstream.mjs +81 -16
  199. package/src/runtime/agent/orchestrator/providers/transport-scope.d.mts +6 -0
  200. package/src/runtime/agent/orchestrator/providers/transport-scope.mjs +28 -0
  201. package/src/runtime/agent/orchestrator/providers/wire-gateway.mjs +157 -0
  202. package/src/runtime/agent/orchestrator/providers/wire-route.mjs +512 -0
  203. package/src/runtime/agent/orchestrator/providers/xai-tool-search-head-parity.json +1131 -0
  204. package/src/runtime/agent/orchestrator/providers/xai-tool-search.fixtures.mjs +183 -0
  205. package/src/runtime/agent/orchestrator/runtime-core/ask-user-tool-defs.mjs +100 -0
  206. package/src/runtime/agent/orchestrator/runtime-core/config-helpers.mjs +3 -0
  207. package/src/runtime/agent/orchestrator/runtime-core/deferred-tool-availability.mjs +21 -0
  208. package/src/runtime/agent/orchestrator/runtime-core/effort.mjs +15 -0
  209. package/src/runtime/agent/orchestrator/runtime-core/goal-reminder.mjs +0 -18
  210. package/src/runtime/agent/orchestrator/runtime-core/model-capabilities.mjs +57 -28
  211. package/src/runtime/agent/orchestrator/runtime-core/orchestration.mjs +19 -16
  212. package/src/runtime/agent/orchestrator/runtime-core/plugin-mcp.mjs +1 -97
  213. package/src/runtime/agent/orchestrator/runtime-core/provider-request-snapshot.mjs +7 -3
  214. package/src/runtime/agent/orchestrator/runtime-core/session-title.mjs +21 -1
  215. package/src/runtime/agent/orchestrator/runtime-core/skill-tool-loading.mjs +14 -3
  216. package/src/runtime/agent/orchestrator/runtime-core/tool-bridge.mjs +526 -0
  217. package/src/runtime/agent/orchestrator/runtime-core/tool-catalog-data.mjs +3 -0
  218. package/src/runtime/agent/orchestrator/runtime-core/tool-catalog-schema.mjs +10 -7
  219. package/src/runtime/agent/orchestrator/runtime-core/tool-catalog.mjs +176 -71
  220. package/src/runtime/agent/orchestrator/runtime-core/tool-defs.mjs +62 -10
  221. package/src/runtime/agent/orchestrator/runtime-core/tool-exposure.mjs +96 -0
  222. package/src/runtime/agent/orchestrator/session/catalog-db/schema.mjs +5 -1
  223. package/src/runtime/agent/orchestrator/session/compact/constants.mjs +3 -2
  224. package/src/runtime/agent/orchestrator/session/compact/messages.mjs +14 -93
  225. package/src/runtime/agent/orchestrator/session/compact/summary-anchor.mjs +5 -0
  226. package/src/runtime/agent/orchestrator/session/compact/user-message-kind.mjs +120 -0
  227. package/src/runtime/agent/orchestrator/session/context-tool-schema.mjs +17 -2
  228. package/src/runtime/agent/orchestrator/session/context-utils.mjs +8 -4
  229. package/src/runtime/agent/orchestrator/session/eager-dispatch/admission.mjs +2 -1
  230. package/src/runtime/agent/orchestrator/session/eager-dispatch.mjs +6 -1
  231. package/src/runtime/agent/orchestrator/session/loop/compact-policy.mjs +91 -1
  232. package/src/runtime/agent/orchestrator/session/loop/completion-guards.mjs +1 -1
  233. package/src/runtime/agent/orchestrator/session/loop/context-overflow.mjs +56 -0
  234. package/src/runtime/agent/orchestrator/session/loop/deferred-call-through.mjs +18 -8
  235. package/src/runtime/agent/orchestrator/session/loop/loop-state.mjs +1 -0
  236. package/src/runtime/agent/orchestrator/session/loop/pre-dispatch-deny.mjs +21 -10
  237. package/src/runtime/agent/orchestrator/session/loop/provider-tool-exclusions.mjs +132 -0
  238. package/src/runtime/agent/orchestrator/session/loop/request-boundary.mjs +30 -0
  239. package/src/runtime/agent/orchestrator/session/loop/send-phase.mjs +67 -20
  240. package/src/runtime/agent/orchestrator/session/loop/step-auto-effort.mjs +104 -19
  241. package/src/runtime/agent/orchestrator/session/loop/tool-call-resolution.mjs +95 -0
  242. package/src/runtime/agent/orchestrator/session/loop/tool-exec/before-hook.mjs +30 -3
  243. package/src/runtime/agent/orchestrator/session/loop/tool-exec/dispatch.mjs +15 -4
  244. package/src/runtime/agent/orchestrator/session/loop/tool-exec.mjs +15 -1
  245. package/src/runtime/agent/orchestrator/session/loop/tool-exposure-migration.mjs +150 -0
  246. package/src/runtime/agent/orchestrator/session/loop/tool-phase.mjs +7 -2
  247. package/src/runtime/agent/orchestrator/session/manager/ask-queue.mjs +30 -2
  248. package/src/runtime/agent/orchestrator/session/manager/ask-session.mjs +11 -2
  249. package/src/runtime/agent/orchestrator/session/manager/ask-turn-auto-effort.mjs +2 -1
  250. package/src/runtime/agent/orchestrator/session/manager/ask-turn-commit.mjs +34 -12
  251. package/src/runtime/agent/orchestrator/session/manager/ask-turn-execute.mjs +57 -21
  252. package/src/runtime/agent/orchestrator/session/manager/ask-turn-loop-options.mjs +57 -25
  253. package/src/runtime/agent/orchestrator/session/manager/ask-turn-prepare.mjs +6 -0
  254. package/src/runtime/agent/orchestrator/session/manager/ask-turn-settle.mjs +4 -0
  255. package/src/runtime/agent/orchestrator/session/manager/compaction-runner.mjs +8 -0
  256. package/src/runtime/agent/orchestrator/session/manager/pending-message-entry.mjs +5 -10
  257. package/src/runtime/agent/orchestrator/session/manager/prompt-utils.mjs +208 -14
  258. package/src/runtime/agent/orchestrator/session/manager/session-close.mjs +16 -4
  259. package/src/runtime/agent/orchestrator/session/manager/session-crud.mjs +25 -3
  260. package/src/runtime/agent/orchestrator/session/manager/session-fallback-title.mjs +82 -0
  261. package/src/runtime/agent/orchestrator/session/manager/session-lifecycle.mjs +19 -2
  262. package/src/runtime/agent/orchestrator/session/manager/session-record.mjs +3 -0
  263. package/src/runtime/agent/orchestrator/session/manager/tool-resolution.mjs +4 -1
  264. package/src/runtime/agent/orchestrator/session/manager/turn-interruption.mjs +18 -7
  265. package/src/runtime/agent/orchestrator/session/manager.mjs +2 -1
  266. package/src/runtime/agent/orchestrator/session/pre-send-compact.mjs +6 -0
  267. package/src/runtime/agent/orchestrator/session/send-with-recovery.mjs +168 -29
  268. package/src/runtime/agent/orchestrator/session/side-question-store.mjs +96 -0
  269. package/src/runtime/agent/orchestrator/session/side-question.mjs +192 -0
  270. package/src/runtime/agent/orchestrator/session/store/lifecycle-barriers.mjs +17 -3
  271. package/src/runtime/agent/orchestrator/session/store/live-state.mjs +23 -0
  272. package/src/runtime/agent/orchestrator/session/store/paths-heartbeat.mjs +58 -2
  273. package/src/runtime/agent/orchestrator/session/store/save-worker.mjs +6 -3
  274. package/src/runtime/agent/orchestrator/session/store/session-delete.mjs +41 -28
  275. package/src/runtime/agent/orchestrator/session/store/session-observers.mjs +4 -2
  276. package/src/runtime/agent/orchestrator/session/store/sweep/sweep-finish.mjs +12 -1
  277. package/src/runtime/agent/orchestrator/session/store/write-admission.mjs +3 -1
  278. package/src/runtime/agent/orchestrator/session/store/write-guards.mjs +16 -0
  279. package/src/runtime/agent/orchestrator/session/store-agent-worker-rows.mjs +22 -10
  280. package/src/runtime/agent/orchestrator/session/store-summary-archived-agent.mjs +34 -15
  281. package/src/runtime/agent/orchestrator/session/store-summary-catalog.mjs +6 -0
  282. package/src/runtime/agent/orchestrator/session/store-summary-fields.mjs +13 -0
  283. package/src/runtime/agent/orchestrator/session/store-summary-index.mjs +13 -1
  284. package/src/runtime/agent/orchestrator/session/store-summary-reader.mjs +10 -2
  285. package/src/runtime/agent/orchestrator/session/store.mjs +19 -3
  286. package/src/runtime/agent/orchestrator/session/tool-batch/execute-call.mjs +1 -0
  287. package/src/runtime/agent/orchestrator/session/tool-batch/finalize.mjs +1 -1
  288. package/src/runtime/agent/orchestrator/session/tool-batch/record-outcome.mjs +1 -1
  289. package/src/runtime/agent/orchestrator/session/tool-batch/state.mjs +7 -1
  290. package/src/runtime/agent/orchestrator/session/tool-result-offload.mjs +4 -0
  291. package/src/runtime/agent/orchestrator/session/tool-schema-rejection.mjs +77 -0
  292. package/src/runtime/agent/orchestrator/session/transcript-restore/restore.mjs +20 -1
  293. package/src/runtime/agent/orchestrator/tools/bash-policy-scan.mjs +8 -2
  294. package/src/runtime/agent/orchestrator/tools/builtin/arg-guard.mjs +2 -2
  295. package/src/runtime/agent/orchestrator/tools/builtin/bash-tool/command-preflight.mjs +3 -3
  296. package/src/runtime/agent/orchestrator/tools/builtin/bash-tool/deadline-plan.mjs +12 -15
  297. package/src/runtime/agent/orchestrator/tools/builtin/bash-tool.mjs +4 -1
  298. package/src/runtime/agent/orchestrator/tools/builtin/builtin-tools.mjs +5 -5
  299. package/src/runtime/agent/orchestrator/tools/builtin/external-tool-adapters.mjs +14 -10
  300. package/src/runtime/agent/orchestrator/tools/builtin/lib/shell-job-records.mjs +49 -34
  301. package/src/runtime/agent/orchestrator/tools/builtin/runtime-capabilities.mjs +23 -1
  302. package/src/runtime/agent/orchestrator/tools/code-graph/dispatch/root-resolution.mjs +1 -1
  303. package/src/runtime/agent/orchestrator/tools/code-graph/search.mjs +1 -1
  304. package/src/runtime/agent/orchestrator/tools/patch/ui-diff.mjs +73 -39
  305. package/src/runtime/agent/orchestrator/tools/progress-message.mjs +18 -1
  306. package/src/runtime/agent/orchestrator/tools/shell-command.mjs +7 -4
  307. package/src/runtime/agent/orchestrator/tools/shell-exec-policy.mjs +88 -12
  308. package/src/runtime/agent/orchestrator/tools/shell-policy.mjs +2 -0
  309. package/src/runtime/computer-bridge/action-schema.mjs +44 -21
  310. package/src/runtime/github/tool.mjs +92 -2
  311. package/src/runtime/memory/index.mjs +1 -0
  312. package/src/runtime/memory/lib/http-router/ingest-routes.mjs +22 -1
  313. package/src/runtime/memory/lib/ingest/transcript-offsets.mjs +2 -0
  314. package/src/runtime/memory/lib/pg/adapter.mjs +98 -1
  315. package/src/runtime/memory/lib/pg/process.mjs +65 -50
  316. package/src/runtime/memory/lib/pg/run-child.mjs +49 -0
  317. package/src/runtime/memory/lib/pg/supervisor.mjs +124 -16
  318. package/src/runtime/memory/lib/runtime-fetcher.mjs +12 -13
  319. package/src/runtime/memory/lib/transcript-ingest.mjs +14 -0
  320. package/src/runtime/office/README.md +2 -2
  321. package/src/runtime/office/authoring/html-document-author.mjs +2 -0
  322. package/src/runtime/office/authoring/pptx-contact-sheet.mjs +2 -0
  323. package/src/runtime/office/authoring/pptx-html-measure.mjs +2 -0
  324. package/src/runtime/office/authoring/pptx-html-runner.mjs +2 -0
  325. package/src/runtime/office/authoring/xlsx-html-runner.mjs +2 -0
  326. package/src/runtime/office/core/office-actions-read.mjs +3 -0
  327. package/src/runtime/office/core/office-render-preview.mjs +2 -0
  328. package/src/runtime/office/core/office-session-dispatch.mjs +7 -0
  329. package/src/runtime/office/core/office-sessionless-actions.mjs +8 -0
  330. package/src/runtime/office/core/office-sessions.mjs +5 -0
  331. package/src/runtime/office/core/office-transactions.mjs +3 -0
  332. package/src/runtime/office/core/office-write-ledger.mjs +98 -0
  333. package/src/runtime/office/design/library/templates/mixdog-executive.mixdog-edit.pptx +0 -0
  334. package/src/runtime/office/index.mjs +30 -0
  335. package/src/runtime/office/pdf/pdf-edit-document.mjs +2 -0
  336. package/src/runtime/office/pdf/pdf-render.mjs +23 -7
  337. package/src/runtime/office/pdf/pdf-security.mjs +2 -0
  338. package/src/runtime/office/portable/portable-opc.mjs +4 -1
  339. package/src/runtime/office/quality/visual-diff.mjs +2 -0
  340. package/src/runtime/office/shared/values.mjs +0 -5
  341. package/src/runtime/shared/background-tasks.mjs +92 -14
  342. package/src/runtime/shared/bounded-file-read.mjs +13 -0
  343. package/src/runtime/shared/bounded-line-diff.mjs +182 -0
  344. package/src/runtime/shared/buffered-appender.mjs +18 -0
  345. package/src/runtime/shared/config.mjs +78 -18
  346. package/src/runtime/shared/err-text.mjs +31 -0
  347. package/src/runtime/shared/error-presentation.mjs +159 -19
  348. package/src/runtime/shared/file-permissions.d.mts +6 -1
  349. package/src/runtime/shared/file-permissions.mjs +54 -6
  350. package/src/runtime/shared/llm/anthropic-betas.mjs +4 -3
  351. package/src/runtime/shared/llm/anthropic-effort.mjs +129 -134
  352. package/src/runtime/shared/llm/anthropic-thinking-contract.mjs +50 -14
  353. package/src/runtime/shared/llm/model-catalog.mjs +53 -40
  354. package/src/runtime/shared/llm/openai-daybreak.mjs +4 -16
  355. package/src/runtime/shared/llm/provider-catalog-registry.mjs +11 -0
  356. package/src/runtime/shared/llm/provider-model-identities.mjs +13 -4
  357. package/src/runtime/shared/llm/usage-accounting.mjs +5 -2
  358. package/src/runtime/shared/llm/usage-ledger-rollup.mjs +3 -0
  359. package/src/runtime/shared/llm/usage-rollup.mjs +0 -1
  360. package/src/runtime/shared/loopback-listener.mjs +9 -0
  361. package/src/runtime/shared/model-display.mjs +13 -0
  362. package/src/runtime/shared/provider-api-key.mjs +2 -0
  363. package/src/runtime/shared/quota-resume-store.mjs +11 -0
  364. package/src/runtime/shared/review-diff.mjs +52 -0
  365. package/src/runtime/shared/session-baseline-store.mjs +960 -0
  366. package/src/runtime/shared/session-sidebar-host.d.mts +4 -0
  367. package/src/runtime/shared/session-sidebar-host.mjs +38 -0
  368. package/src/runtime/shared/slow-span.mjs +114 -0
  369. package/src/runtime/shared/statusline/statusline-format.mjs +4 -4
  370. package/src/runtime/shared/statusline/statusline-segments.mjs +28 -4
  371. package/src/runtime/shared/task-notification-envelope.mjs +2 -2
  372. package/src/runtime/shared/tool-card-model/card-header.mjs +6 -1
  373. package/src/runtime/shared/tool-card-model/generic-detail.mjs +39 -5
  374. package/src/runtime/shared/tool-card-model.mjs +5 -2
  375. package/src/runtime/shared/tool-output-limit.mjs +4 -0
  376. package/src/runtime/shared/tool-primitives.mjs +13 -0
  377. package/src/runtime/shared/tool-result-summary.mjs +8 -1
  378. package/src/runtime/shared/tool-surface.mjs +18 -3
  379. package/src/runtime/shared/tool-work-units.mjs +40 -4
  380. package/src/runtime/shared/transcript-writer/purge.mjs +74 -0
  381. package/src/runtime/shared/transcript-writer.mjs +10 -2
  382. package/src/runtime/shared/turn-changes.mjs +670 -274
  383. package/src/runtime/shared/turn-review-reply.mjs +8 -39
  384. package/src/runtime/shared/turn-snapshot-store.mjs +94 -2
  385. package/src/runtime/shared/turn-snapshot.mjs +986 -690
  386. package/src/runtime/shared/turn-worktree-snapshot.mjs +279 -262
  387. package/src/runtime/shared/user-data-guard.mjs +262 -49
  388. package/src/runtime/shared/worktrees/carry.mjs +531 -0
  389. package/src/runtime/shared/worktrees/contract.mjs +34 -24
  390. package/src/runtime/shared/worktrees/file-recovery.mjs +68 -0
  391. package/src/runtime/shared/worktrees/git-head.mjs +205 -0
  392. package/src/runtime/shared/worktrees/git.mjs +8 -3
  393. package/src/runtime/shared/worktrees/maintenance.mjs +1 -1
  394. package/src/runtime/shared/worktrees/manager.mjs +156 -8
  395. package/src/runtime/shared/worktrees/merge.mjs +31 -21
  396. package/src/runtime/shared/worktrees/paths.d.mts +6 -0
  397. package/src/runtime/shared/worktrees/test-support.mjs +19 -4
  398. package/src/runtime/terminal-bridge/client.mjs +44 -11
  399. package/src/runtime/terminal-bridge/tool-defs.mjs +13 -6
  400. package/src/runtime/tidy/apply.mjs +47 -2
  401. package/src/runtime/tidy/run-engines.mjs +11 -5
  402. package/src/session-runtime/agent-tool-routing.mjs +19 -13
  403. package/src/session-runtime/boot/apis.mjs +19 -5
  404. package/src/session-runtime/boot/facade.mjs +1 -0
  405. package/src/session-runtime/boot/infrastructure.mjs +12 -1
  406. package/src/session-runtime/boot/session.mjs +0 -1
  407. package/src/session-runtime/boot/tools.mjs +4 -1
  408. package/src/session-runtime/cwd-plugins/cwd-apply.mjs +12 -5
  409. package/src/session-runtime/internal-tool-executor/ask-user-tool.mjs +65 -0
  410. package/src/session-runtime/internal-tool-executor/bridge-tools.mjs +3 -1
  411. package/src/session-runtime/internal-tool-executor/knowledge-tools.mjs +11 -4
  412. package/src/session-runtime/internal-tool-executor/workspace-tools.mjs +115 -18
  413. package/src/session-runtime/internal-tool-executor.mjs +6 -2
  414. package/src/session-runtime/lifecycle/cold-heir.mjs +188 -0
  415. package/src/session-runtime/lifecycle/inheritance.mjs +71 -27
  416. package/src/session-runtime/lifecycle/session-catalog.mjs +14 -3
  417. package/src/session-runtime/lifecycle/session-switch/resume.mjs +6 -0
  418. package/src/session-runtime/lifecycle/session-switch/session-delete.mjs +29 -6
  419. package/src/session-runtime/lifecycle/teardown.mjs +73 -8
  420. package/src/session-runtime/lifecycle-api.mjs +1 -0
  421. package/src/session-runtime/mcp-glue/connect.mjs +46 -14
  422. package/src/session-runtime/mcp-glue/server-catalog.mjs +20 -3
  423. package/src/session-runtime/mcp-glue.mjs +3 -0
  424. package/src/session-runtime/mcp-oauth-login.mjs +174 -0
  425. package/src/session-runtime/model-route/model-switch-target.mjs +34 -0
  426. package/src/session-runtime/model-route/set-route.mjs +85 -17
  427. package/src/session-runtime/model-route/web-search-route.mjs +1 -1
  428. package/src/session-runtime/native-web-search/routes.mjs +22 -3
  429. package/src/session-runtime/native-web-search-usage.mjs +51 -0
  430. package/src/session-runtime/native-web-search.mjs +10 -1
  431. package/src/session-runtime/new-session-config.mjs +4 -2
  432. package/src/session-runtime/provider-auth/login.mjs +4 -0
  433. package/src/session-runtime/provider-models/model-meta.mjs +12 -3
  434. package/src/session-runtime/quick-model-rows/web-search-rows.mjs +13 -8
  435. package/src/session-runtime/quick-web-search-models.mjs +13 -38
  436. package/src/session-runtime/resource-extension-sync.mjs +4 -0
  437. package/src/session-runtime/resource-mcp-api.mjs +98 -2
  438. package/src/session-runtime/resource-scope-decorate.mjs +10 -3
  439. package/src/session-runtime/runtime-review-api.mjs +21 -2
  440. package/src/session-runtime/services/agent-tool/index-write-queue.mjs +81 -20
  441. package/src/session-runtime/services/agent-tool/job-task-reconcile.mjs +13 -1
  442. package/src/session-runtime/services/agent-tool/job-views/agent-list.mjs +7 -2
  443. package/src/session-runtime/services/agent-tool/lead-worker-index/forgotten-leads.mjs +29 -0
  444. package/src/session-runtime/services/agent-tool/lead-worker-index/index-file.mjs +1 -1
  445. package/src/session-runtime/services/agent-tool/lead-worker-index.mjs +73 -7
  446. package/src/session-runtime/services/agent-tool/send-flow.mjs +22 -4
  447. package/src/session-runtime/services/agent-tool/spawn-flow/job-start.mjs +2 -0
  448. package/src/session-runtime/services/agent-tool/spawn-flow/spawn-run.mjs +22 -5
  449. package/src/session-runtime/services/agent-tool/tag-registry.mjs +15 -1
  450. package/src/session-runtime/services/agent-tool/worker-index/row-liveness.mjs +8 -1
  451. package/src/session-runtime/services/agent-tool/worker-index/row-shape.mjs +2 -2
  452. package/src/session-runtime/services/agent-tool/worker-index/row-store.mjs +10 -1
  453. package/src/session-runtime/services/agent-tool/worker-index.mjs +46 -7
  454. package/src/session-runtime/services/agent-tool/worker-rows.mjs +17 -0
  455. package/src/session-runtime/services/agent-tool.mjs +3 -0
  456. package/src/session-runtime/services/channel-admin.mjs +19 -3
  457. package/src/session-runtime/services/memory-runtime-proxy/calls.mjs +4 -0
  458. package/src/session-runtime/services/memory-runtime-proxy.mjs +1 -0
  459. package/src/session-runtime/services/provider-admin.mjs +81 -15
  460. package/src/session-runtime/session-transcript-purge.mjs +32 -0
  461. package/src/session-runtime/session-turn-api.mjs +14 -5
  462. package/src/session-runtime/settings-builtin-tools-api.mjs +9 -0
  463. package/src/session-runtime/settings-compaction-api.mjs +1 -0
  464. package/src/session-runtime/setup-tool/executor.mjs +36 -6
  465. package/src/session-runtime/setup-tool/extended-actions.mjs +86 -6
  466. package/src/session-runtime/setup-tool/settings-contract.mjs +13 -3
  467. package/src/session-runtime/setup-tool/tool-defs.mjs +13 -4
  468. package/src/session-runtime/skills-api.mjs +3 -5
  469. package/src/session-runtime/tool-surface.mjs +5 -1
  470. package/src/session-runtime/turn/compaction-gate.mjs +25 -0
  471. package/src/session-runtime/turn/session-ops.mjs +7 -5
  472. package/src/session-runtime/turn/side-question-ops.mjs +22 -0
  473. package/src/session-runtime/turn/turn-run/ask-callbacks.mjs +5 -1
  474. package/src/session-runtime/turn/turn-run/turn-prepare.mjs +8 -3
  475. package/src/session-runtime/turn/turn-run/turn-settle.mjs +10 -0
  476. package/src/session-runtime/turn/turn-run/turn-timing.mjs +4 -3
  477. package/src/session-runtime/turn/turn-run.mjs +25 -9
  478. package/src/session-runtime/usage-stats-api.mjs +43 -11
  479. package/src/session-runtime/workspace/project-branches.mjs +7 -5
  480. package/src/session-runtime/workspace/transition-steps.mjs +129 -31
  481. package/src/session-runtime/workspace/transitions.mjs +190 -15
  482. package/src/standalone/daemon-agent-control.mjs +9 -1
  483. package/src/standalone/daemon-drain-policy.mjs +8 -0
  484. package/src/standalone/daemon-local-session-bridge.mjs +14 -1
  485. package/src/standalone/daemon-owner.mjs +17 -4
  486. package/src/standalone/daemon-pg-stop.mjs +51 -0
  487. package/src/standalone/daemon-stop-budget.d.mts +2 -0
  488. package/src/standalone/daemon-stop-budget.mjs +18 -0
  489. package/src/standalone/daemon-stored-session-views.mjs +2 -0
  490. package/src/standalone/daemon-telemetry.mjs +74 -0
  491. package/src/standalone/daemon.mjs +64 -8
  492. package/src/standalone/desktop-service-registry.mjs +5 -0
  493. package/src/standalone/local-session-runtime.mjs +70 -19
  494. package/src/standalone/session-client.mjs +42 -0
  495. package/src/standalone/session-protocol.mjs +14 -0
  496. package/src/standalone/session-proxy/projection.mjs +41 -4
  497. package/src/standalone/session-runtime-inline-host/boot-loaders.mjs +15 -1
  498. package/src/standalone/session-runtime-inline-host.mjs +1 -0
  499. package/src/standalone/session-service/agent-tree/agent-cancel.mjs +33 -2
  500. package/src/standalone/session-service/agent-tree/agent-turns.mjs +26 -10
  501. package/src/standalone/session-service/agent-tree.mjs +12 -0
  502. package/src/standalone/session-service/quota-resume.mjs +8 -0
  503. package/src/standalone/session-service/retention/busy.mjs +15 -1
  504. package/src/standalone/session-service/session-calls/session-action.mjs +18 -3
  505. package/src/standalone/session-service-api.mjs +11 -1
  506. package/src/standalone/session-service.mjs +1 -0
  507. package/src/standalone/session-state-patch.d.mts +2 -1
  508. package/src/standalone/session-state-patch.mjs +41 -1
  509. package/src/tui/App.jsx +25 -0
  510. package/src/tui/app/app-view/floating-panel.jsx +26 -1
  511. package/src/tui/app/app-view.jsx +1 -0
  512. package/src/tui/app/btw-controller.mjs +118 -0
  513. package/src/tui/app/create-app-pickers.mjs +6 -0
  514. package/src/tui/app/extension-pickers/mcp-login.mjs +107 -0
  515. package/src/tui/app/extension-pickers/mcp-servers-picker.mjs +2 -1
  516. package/src/tui/app/extension-pickers.mjs +2 -1
  517. package/src/tui/app/model-options.mjs +11 -16
  518. package/src/tui/app/shell-layout/row-budgets.mjs +11 -1
  519. package/src/tui/app/shell-layout/surfaces.mjs +3 -1
  520. package/src/tui/app/slash-commands.mjs +20 -5
  521. package/src/tui/app/slash-dispatch/panel-commands.mjs +16 -1
  522. package/src/tui/app/slash-dispatch/session-commands.mjs +19 -6
  523. package/src/tui/app/use-global-key-input/approval-shortcut.mjs +12 -0
  524. package/src/tui/app/use-global-key-input.mjs +5 -12
  525. package/src/tui/app/use-prompt-handlers.mjs +11 -0
  526. package/src/tui/components/BtwPanel.jsx +53 -0
  527. package/src/tui/components/QuestionPanel.jsx +275 -0
  528. package/src/tui/components/StatusLine.jsx +2 -0
  529. package/src/tui/components/question-panel-model.mjs +156 -0
  530. package/src/tui/components/status-line/local-line.mjs +5 -2
  531. package/src/tui/components/status-line/use-statusline-text.mjs +7 -1
  532. package/src/tui/dist/index.mjs +3221 -1500
  533. package/src/tui/session/context-state.mjs +4 -2
  534. package/src/tui/session/quota-resume.mjs +46 -14
  535. package/src/tui/session/session-api/commands.mjs +43 -24
  536. package/src/tui/session/session-api/controls.mjs +2 -2
  537. package/src/tui/session/session-api/extensions.mjs +22 -0
  538. package/src/tui/session/session-api/integrations.mjs +16 -2
  539. package/src/tui/session/session-api/lifecycle/dispose.mjs +1 -0
  540. package/src/tui/session/session-api/lifecycle.mjs +7 -2
  541. package/src/tui/session/session-api/routes.mjs +71 -7
  542. package/src/tui/session/session-api/settings.mjs +11 -14
  543. package/src/tui/session/session-api.mjs +1 -0
  544. package/src/tui/session/session-flow/drain.mjs +7 -1
  545. package/src/tui/session/session-flow/failed-turn-rewind.mjs +10 -4
  546. package/src/tui/session/tool-approval.mjs +10 -7
  547. package/src/tui/session/transcript-spill.mjs +14 -7
  548. package/src/tui/session/turn-stream.mjs +174 -31
  549. package/src/tui/session/turn.mjs +46 -16
  550. package/src/tui/statusline-ansi-bridge.mjs +1 -1
  551. package/src/ui/statusline-agents.mjs +15 -4
  552. package/src/ui/statusline.mjs +7 -3
  553. package/src/ui/streaming-markdown-heal.mjs +34 -3
  554. package/src/vendor/statusline/src/gateway/claude-current.mjs +14 -4
  555. package/src/workflows/default/WORKFLOW.md +3 -1
  556. package/src/runtime/memory/lib/memory-session-merge.mjs +0 -32
  557. package/src/runtime/shared/llm/usage-session-history.mjs +0 -266
@@ -0,0 +1,2901 @@
1
+ {
2
+ "compat/opencode-go/gpt-5.5/native": {
3
+ "model": "gpt-5.5",
4
+ "input": [
5
+ {
6
+ "role": "user",
7
+ "content": [
8
+ {
9
+ "type": "input_text",
10
+ "text": "go"
11
+ }
12
+ ]
13
+ },
14
+ {
15
+ "type": "function_call",
16
+ "call_id": "ts1",
17
+ "name": "load_tool",
18
+ "arguments": "{\"names\":[\"x\"]}"
19
+ },
20
+ {
21
+ "type": "function_call",
22
+ "call_id": "cu1",
23
+ "name": "apply_patch",
24
+ "arguments": "{\"patch\":\"P\"}"
25
+ },
26
+ {
27
+ "type": "function_call",
28
+ "call_id": "fn1",
29
+ "name": "Read",
30
+ "arguments": "{\"path\":\"a\"}"
31
+ },
32
+ {
33
+ "type": "function_call_output",
34
+ "call_id": "ts1",
35
+ "output": "loaded"
36
+ },
37
+ {
38
+ "type": "function_call_output",
39
+ "call_id": "cu1",
40
+ "output": "patched"
41
+ },
42
+ {
43
+ "type": "function_call_output",
44
+ "call_id": "fn1",
45
+ "output": "file"
46
+ },
47
+ {
48
+ "role": "user",
49
+ "content": [
50
+ {
51
+ "type": "input_text",
52
+ "text": "next"
53
+ }
54
+ ]
55
+ }
56
+ ],
57
+ "store": false,
58
+ "include": [
59
+ "reasoning.encrypted_content"
60
+ ],
61
+ "stream": true
62
+ },
63
+ "compat/opencode-go/gpt-5.5/oauth": {
64
+ "model": "gpt-5.5",
65
+ "input": [
66
+ {
67
+ "role": "system",
68
+ "content": [
69
+ {
70
+ "type": "input_text",
71
+ "text": "sys"
72
+ }
73
+ ]
74
+ },
75
+ {
76
+ "role": "user",
77
+ "content": [
78
+ {
79
+ "type": "input_text",
80
+ "text": "go"
81
+ }
82
+ ]
83
+ },
84
+ {
85
+ "role": "assistant",
86
+ "content": [
87
+ {
88
+ "type": "output_text",
89
+ "text": "working"
90
+ }
91
+ ]
92
+ },
93
+ {
94
+ "role": "assistant",
95
+ "content": [
96
+ {
97
+ "type": "output_text",
98
+ "text": "looking"
99
+ }
100
+ ]
101
+ },
102
+ {
103
+ "type": "function_call",
104
+ "call_id": "ts1",
105
+ "name": "load_tool",
106
+ "arguments": "{\"names\":[\"x\"]}"
107
+ },
108
+ {
109
+ "type": "function_call",
110
+ "call_id": "cu1",
111
+ "name": "apply_patch",
112
+ "arguments": "{\"patch\":\"P\"}"
113
+ },
114
+ {
115
+ "type": "function_call",
116
+ "call_id": "sk1",
117
+ "name": "Skill",
118
+ "arguments": "{\"name\":\"s\"}"
119
+ },
120
+ {
121
+ "type": "function_call_output",
122
+ "call_id": "ts1",
123
+ "output": "loaded"
124
+ },
125
+ {
126
+ "type": "function_call_output",
127
+ "call_id": "cu1",
128
+ "output": "patched"
129
+ },
130
+ {
131
+ "type": "function_call_output",
132
+ "call_id": "sk1",
133
+ "output": "skill"
134
+ },
135
+ {
136
+ "type": "function_call",
137
+ "call_id": "f2",
138
+ "name": "Read",
139
+ "arguments": "{\"path\":\"a\"}"
140
+ },
141
+ {
142
+ "type": "function_call_output",
143
+ "call_id": "f2",
144
+ "output": "file"
145
+ },
146
+ {
147
+ "role": "user",
148
+ "content": [
149
+ {
150
+ "type": "input_text",
151
+ "text": "next"
152
+ }
153
+ ]
154
+ }
155
+ ],
156
+ "store": false,
157
+ "include": [
158
+ "reasoning.encrypted_content"
159
+ ],
160
+ "stream": true
161
+ },
162
+ "compat/opencode-go/gpt-5.5/own-search-output": {
163
+ "model": "gpt-5.5",
164
+ "input": [
165
+ {
166
+ "role": "user",
167
+ "content": [
168
+ {
169
+ "type": "input_text",
170
+ "text": "go"
171
+ }
172
+ ]
173
+ },
174
+ {
175
+ "type": "function_call",
176
+ "call_id": "ts1",
177
+ "name": "load_tool",
178
+ "arguments": "{\"names\":[\"x\"]}"
179
+ },
180
+ {
181
+ "type": "function_call",
182
+ "call_id": "cu1",
183
+ "name": "apply_patch",
184
+ "arguments": "{\"patch\":\"P\"}"
185
+ },
186
+ {
187
+ "type": "function_call",
188
+ "call_id": "fn1",
189
+ "name": "Read",
190
+ "arguments": "{\"path\":\"a\"}"
191
+ },
192
+ {
193
+ "type": "function_call_output",
194
+ "call_id": "ts1",
195
+ "output": "loaded"
196
+ },
197
+ {
198
+ "type": "function_call_output",
199
+ "call_id": "cu1",
200
+ "output": "patched"
201
+ },
202
+ {
203
+ "type": "function_call_output",
204
+ "call_id": "fn1",
205
+ "output": "file"
206
+ },
207
+ {
208
+ "role": "user",
209
+ "content": [
210
+ {
211
+ "type": "input_text",
212
+ "text": "next"
213
+ }
214
+ ]
215
+ }
216
+ ],
217
+ "store": false,
218
+ "include": [
219
+ "reasoning.encrypted_content"
220
+ ],
221
+ "stream": true
222
+ },
223
+ "compat/opencode-go/gpt-5.5/server-replay": {
224
+ "model": "gpt-5.5",
225
+ "input": [
226
+ {
227
+ "role": "user",
228
+ "content": [
229
+ {
230
+ "type": "input_text",
231
+ "text": "find tools"
232
+ }
233
+ ]
234
+ },
235
+ {
236
+ "type": "reasoning",
237
+ "id": "rs_1",
238
+ "encrypted_content": "ENC",
239
+ "summary": []
240
+ },
241
+ {
242
+ "type": "tool_search_call",
243
+ "id": "ts_srv",
244
+ "call_id": null,
245
+ "execution": "server",
246
+ "arguments": {
247
+ "query": "q"
248
+ }
249
+ },
250
+ {
251
+ "type": "tool_search_output",
252
+ "call_id": "ts_srv",
253
+ "status": "completed",
254
+ "execution": "client",
255
+ "tools": []
256
+ },
257
+ {
258
+ "type": "tool_search_output",
259
+ "id": "tso_srv",
260
+ "call_id": null,
261
+ "execution": "server",
262
+ "tools": []
263
+ },
264
+ {
265
+ "type": "function_call",
266
+ "call_id": "c1",
267
+ "name": "Read",
268
+ "arguments": "{}"
269
+ },
270
+ {
271
+ "type": "function_call_output",
272
+ "call_id": "c1",
273
+ "output": "ok"
274
+ },
275
+ {
276
+ "role": "user",
277
+ "content": [
278
+ {
279
+ "type": "input_text",
280
+ "text": "next"
281
+ }
282
+ ]
283
+ }
284
+ ],
285
+ "store": false,
286
+ "include": [
287
+ "reasoning.encrypted_content"
288
+ ],
289
+ "stream": true
290
+ },
291
+ "compat/muse-code/muse-spark/native": {
292
+ "model": "muse-spark",
293
+ "input": [
294
+ {
295
+ "role": "user",
296
+ "content": [
297
+ {
298
+ "type": "input_text",
299
+ "text": "go"
300
+ }
301
+ ]
302
+ },
303
+ {
304
+ "type": "function_call",
305
+ "call_id": "ts1",
306
+ "name": "load_tool",
307
+ "arguments": "{\"names\":[\"x\"]}"
308
+ },
309
+ {
310
+ "type": "function_call",
311
+ "call_id": "cu1",
312
+ "name": "apply_patch",
313
+ "arguments": "{\"patch\":\"P\"}"
314
+ },
315
+ {
316
+ "type": "function_call",
317
+ "call_id": "fn1",
318
+ "name": "Read",
319
+ "arguments": "{\"path\":\"a\"}"
320
+ },
321
+ {
322
+ "type": "function_call_output",
323
+ "call_id": "ts1",
324
+ "output": "loaded"
325
+ },
326
+ {
327
+ "type": "function_call_output",
328
+ "call_id": "cu1",
329
+ "output": "patched"
330
+ },
331
+ {
332
+ "type": "function_call_output",
333
+ "call_id": "fn1",
334
+ "output": "file"
335
+ },
336
+ {
337
+ "role": "user",
338
+ "content": [
339
+ {
340
+ "type": "input_text",
341
+ "text": "next"
342
+ }
343
+ ]
344
+ }
345
+ ],
346
+ "store": false,
347
+ "include": [
348
+ "reasoning.encrypted_content"
349
+ ],
350
+ "stream": true
351
+ },
352
+ "compat/muse-code/muse-spark/oauth": {
353
+ "model": "muse-spark",
354
+ "input": [
355
+ {
356
+ "role": "system",
357
+ "content": [
358
+ {
359
+ "type": "input_text",
360
+ "text": "sys"
361
+ }
362
+ ]
363
+ },
364
+ {
365
+ "role": "user",
366
+ "content": [
367
+ {
368
+ "type": "input_text",
369
+ "text": "go"
370
+ }
371
+ ]
372
+ },
373
+ {
374
+ "role": "assistant",
375
+ "content": [
376
+ {
377
+ "type": "output_text",
378
+ "text": "working"
379
+ }
380
+ ]
381
+ },
382
+ {
383
+ "role": "assistant",
384
+ "content": [
385
+ {
386
+ "type": "output_text",
387
+ "text": "looking"
388
+ }
389
+ ]
390
+ },
391
+ {
392
+ "type": "function_call",
393
+ "call_id": "ts1",
394
+ "name": "load_tool",
395
+ "arguments": "{\"names\":[\"x\"]}"
396
+ },
397
+ {
398
+ "type": "function_call",
399
+ "call_id": "cu1",
400
+ "name": "apply_patch",
401
+ "arguments": "{\"patch\":\"P\"}"
402
+ },
403
+ {
404
+ "type": "function_call",
405
+ "call_id": "sk1",
406
+ "name": "Skill",
407
+ "arguments": "{\"name\":\"s\"}"
408
+ },
409
+ {
410
+ "type": "function_call_output",
411
+ "call_id": "ts1",
412
+ "output": "loaded"
413
+ },
414
+ {
415
+ "type": "function_call_output",
416
+ "call_id": "cu1",
417
+ "output": "patched"
418
+ },
419
+ {
420
+ "type": "function_call_output",
421
+ "call_id": "sk1",
422
+ "output": "skill"
423
+ },
424
+ {
425
+ "type": "function_call",
426
+ "call_id": "f2",
427
+ "name": "Read",
428
+ "arguments": "{\"path\":\"a\"}"
429
+ },
430
+ {
431
+ "type": "function_call_output",
432
+ "call_id": "f2",
433
+ "output": "file"
434
+ },
435
+ {
436
+ "role": "user",
437
+ "content": [
438
+ {
439
+ "type": "input_text",
440
+ "text": "next"
441
+ }
442
+ ]
443
+ }
444
+ ],
445
+ "store": false,
446
+ "include": [
447
+ "reasoning.encrypted_content"
448
+ ],
449
+ "stream": true
450
+ },
451
+ "compat/muse-code/muse-spark/own-search-output": {
452
+ "model": "muse-spark",
453
+ "input": [
454
+ {
455
+ "role": "user",
456
+ "content": [
457
+ {
458
+ "type": "input_text",
459
+ "text": "go"
460
+ }
461
+ ]
462
+ },
463
+ {
464
+ "type": "function_call",
465
+ "call_id": "ts1",
466
+ "name": "load_tool",
467
+ "arguments": "{\"names\":[\"x\"]}"
468
+ },
469
+ {
470
+ "type": "function_call",
471
+ "call_id": "cu1",
472
+ "name": "apply_patch",
473
+ "arguments": "{\"patch\":\"P\"}"
474
+ },
475
+ {
476
+ "type": "function_call",
477
+ "call_id": "fn1",
478
+ "name": "Read",
479
+ "arguments": "{\"path\":\"a\"}"
480
+ },
481
+ {
482
+ "type": "function_call_output",
483
+ "call_id": "ts1",
484
+ "output": "loaded"
485
+ },
486
+ {
487
+ "type": "function_call_output",
488
+ "call_id": "cu1",
489
+ "output": "patched"
490
+ },
491
+ {
492
+ "type": "function_call_output",
493
+ "call_id": "fn1",
494
+ "output": "file"
495
+ },
496
+ {
497
+ "role": "user",
498
+ "content": [
499
+ {
500
+ "type": "input_text",
501
+ "text": "next"
502
+ }
503
+ ]
504
+ }
505
+ ],
506
+ "store": false,
507
+ "include": [
508
+ "reasoning.encrypted_content"
509
+ ],
510
+ "stream": true
511
+ },
512
+ "compat/muse-code/muse-spark/server-replay": {
513
+ "model": "muse-spark",
514
+ "input": [
515
+ {
516
+ "role": "user",
517
+ "content": [
518
+ {
519
+ "type": "input_text",
520
+ "text": "find tools"
521
+ }
522
+ ]
523
+ },
524
+ {
525
+ "type": "reasoning",
526
+ "id": "rs_1",
527
+ "encrypted_content": "ENC",
528
+ "summary": []
529
+ },
530
+ {
531
+ "type": "tool_search_call",
532
+ "id": "ts_srv",
533
+ "call_id": null,
534
+ "execution": "server",
535
+ "arguments": {
536
+ "query": "q"
537
+ }
538
+ },
539
+ {
540
+ "type": "tool_search_output",
541
+ "call_id": "ts_srv",
542
+ "status": "completed",
543
+ "execution": "client",
544
+ "tools": []
545
+ },
546
+ {
547
+ "type": "tool_search_output",
548
+ "id": "tso_srv",
549
+ "call_id": null,
550
+ "execution": "server",
551
+ "tools": []
552
+ },
553
+ {
554
+ "type": "function_call",
555
+ "call_id": "c1",
556
+ "name": "Read",
557
+ "arguments": "{}"
558
+ },
559
+ {
560
+ "type": "function_call_output",
561
+ "call_id": "c1",
562
+ "output": "ok"
563
+ },
564
+ {
565
+ "role": "user",
566
+ "content": [
567
+ {
568
+ "type": "input_text",
569
+ "text": "next"
570
+ }
571
+ ]
572
+ }
573
+ ],
574
+ "store": false,
575
+ "include": [
576
+ "reasoning.encrypted_content"
577
+ ],
578
+ "stream": true
579
+ },
580
+ "compat/command-code/gpt-5.5/native": {
581
+ "model": "gpt-5.5",
582
+ "input": [
583
+ {
584
+ "role": "user",
585
+ "content": [
586
+ {
587
+ "type": "input_text",
588
+ "text": "go"
589
+ }
590
+ ]
591
+ },
592
+ {
593
+ "type": "function_call",
594
+ "call_id": "ts1",
595
+ "name": "load_tool",
596
+ "arguments": "{\"names\":[\"x\"]}"
597
+ },
598
+ {
599
+ "type": "function_call",
600
+ "call_id": "cu1",
601
+ "name": "apply_patch",
602
+ "arguments": "{\"patch\":\"P\"}"
603
+ },
604
+ {
605
+ "type": "function_call",
606
+ "call_id": "fn1",
607
+ "name": "Read",
608
+ "arguments": "{\"path\":\"a\"}"
609
+ },
610
+ {
611
+ "type": "function_call_output",
612
+ "call_id": "ts1",
613
+ "output": "loaded"
614
+ },
615
+ {
616
+ "type": "function_call_output",
617
+ "call_id": "cu1",
618
+ "output": "patched"
619
+ },
620
+ {
621
+ "type": "function_call_output",
622
+ "call_id": "fn1",
623
+ "output": "file"
624
+ },
625
+ {
626
+ "role": "user",
627
+ "content": [
628
+ {
629
+ "type": "input_text",
630
+ "text": "next"
631
+ }
632
+ ]
633
+ }
634
+ ],
635
+ "store": false,
636
+ "include": [
637
+ "reasoning.encrypted_content"
638
+ ],
639
+ "stream": true
640
+ },
641
+ "compat/command-code/gpt-5.5/oauth": {
642
+ "model": "gpt-5.5",
643
+ "input": [
644
+ {
645
+ "role": "system",
646
+ "content": [
647
+ {
648
+ "type": "input_text",
649
+ "text": "sys"
650
+ }
651
+ ]
652
+ },
653
+ {
654
+ "role": "user",
655
+ "content": [
656
+ {
657
+ "type": "input_text",
658
+ "text": "go"
659
+ }
660
+ ]
661
+ },
662
+ {
663
+ "role": "assistant",
664
+ "content": [
665
+ {
666
+ "type": "output_text",
667
+ "text": "working"
668
+ }
669
+ ]
670
+ },
671
+ {
672
+ "role": "assistant",
673
+ "content": [
674
+ {
675
+ "type": "output_text",
676
+ "text": "looking"
677
+ }
678
+ ]
679
+ },
680
+ {
681
+ "type": "function_call",
682
+ "call_id": "ts1",
683
+ "name": "load_tool",
684
+ "arguments": "{\"names\":[\"x\"]}"
685
+ },
686
+ {
687
+ "type": "function_call",
688
+ "call_id": "cu1",
689
+ "name": "apply_patch",
690
+ "arguments": "{\"patch\":\"P\"}"
691
+ },
692
+ {
693
+ "type": "function_call",
694
+ "call_id": "sk1",
695
+ "name": "Skill",
696
+ "arguments": "{\"name\":\"s\"}"
697
+ },
698
+ {
699
+ "type": "function_call_output",
700
+ "call_id": "ts1",
701
+ "output": "loaded"
702
+ },
703
+ {
704
+ "type": "function_call_output",
705
+ "call_id": "cu1",
706
+ "output": "patched"
707
+ },
708
+ {
709
+ "type": "function_call_output",
710
+ "call_id": "sk1",
711
+ "output": "skill"
712
+ },
713
+ {
714
+ "type": "function_call",
715
+ "call_id": "f2",
716
+ "name": "Read",
717
+ "arguments": "{\"path\":\"a\"}"
718
+ },
719
+ {
720
+ "type": "function_call_output",
721
+ "call_id": "f2",
722
+ "output": "file"
723
+ },
724
+ {
725
+ "role": "user",
726
+ "content": [
727
+ {
728
+ "type": "input_text",
729
+ "text": "next"
730
+ }
731
+ ]
732
+ }
733
+ ],
734
+ "store": false,
735
+ "include": [
736
+ "reasoning.encrypted_content"
737
+ ],
738
+ "stream": true
739
+ },
740
+ "compat/command-code/gpt-5.5/own-search-output": {
741
+ "model": "gpt-5.5",
742
+ "input": [
743
+ {
744
+ "role": "user",
745
+ "content": [
746
+ {
747
+ "type": "input_text",
748
+ "text": "go"
749
+ }
750
+ ]
751
+ },
752
+ {
753
+ "type": "function_call",
754
+ "call_id": "ts1",
755
+ "name": "load_tool",
756
+ "arguments": "{\"names\":[\"x\"]}"
757
+ },
758
+ {
759
+ "type": "function_call",
760
+ "call_id": "cu1",
761
+ "name": "apply_patch",
762
+ "arguments": "{\"patch\":\"P\"}"
763
+ },
764
+ {
765
+ "type": "function_call",
766
+ "call_id": "fn1",
767
+ "name": "Read",
768
+ "arguments": "{\"path\":\"a\"}"
769
+ },
770
+ {
771
+ "type": "function_call_output",
772
+ "call_id": "ts1",
773
+ "output": "loaded"
774
+ },
775
+ {
776
+ "type": "function_call_output",
777
+ "call_id": "cu1",
778
+ "output": "patched"
779
+ },
780
+ {
781
+ "type": "function_call_output",
782
+ "call_id": "fn1",
783
+ "output": "file"
784
+ },
785
+ {
786
+ "role": "user",
787
+ "content": [
788
+ {
789
+ "type": "input_text",
790
+ "text": "next"
791
+ }
792
+ ]
793
+ }
794
+ ],
795
+ "store": false,
796
+ "include": [
797
+ "reasoning.encrypted_content"
798
+ ],
799
+ "stream": true
800
+ },
801
+ "compat/command-code/gpt-5.5/server-replay": {
802
+ "model": "gpt-5.5",
803
+ "input": [
804
+ {
805
+ "role": "user",
806
+ "content": [
807
+ {
808
+ "type": "input_text",
809
+ "text": "find tools"
810
+ }
811
+ ]
812
+ },
813
+ {
814
+ "type": "reasoning",
815
+ "id": "rs_1",
816
+ "encrypted_content": "ENC",
817
+ "summary": []
818
+ },
819
+ {
820
+ "type": "tool_search_call",
821
+ "id": "ts_srv",
822
+ "call_id": null,
823
+ "execution": "server",
824
+ "arguments": {
825
+ "query": "q"
826
+ }
827
+ },
828
+ {
829
+ "type": "tool_search_output",
830
+ "call_id": "ts_srv",
831
+ "status": "completed",
832
+ "execution": "client",
833
+ "tools": []
834
+ },
835
+ {
836
+ "type": "tool_search_output",
837
+ "id": "tso_srv",
838
+ "call_id": null,
839
+ "execution": "server",
840
+ "tools": []
841
+ },
842
+ {
843
+ "type": "function_call",
844
+ "call_id": "c1",
845
+ "name": "Read",
846
+ "arguments": "{}"
847
+ },
848
+ {
849
+ "type": "function_call_output",
850
+ "call_id": "c1",
851
+ "output": "ok"
852
+ },
853
+ {
854
+ "role": "user",
855
+ "content": [
856
+ {
857
+ "type": "input_text",
858
+ "text": "next"
859
+ }
860
+ ]
861
+ }
862
+ ],
863
+ "store": false,
864
+ "include": [
865
+ "reasoning.encrypted_content"
866
+ ],
867
+ "stream": true
868
+ },
869
+ "compat/custom-cmd/openai/gpt-5.6-sol/native": {
870
+ "model": "openai/gpt-5.6-sol",
871
+ "input": [
872
+ {
873
+ "role": "user",
874
+ "content": [
875
+ {
876
+ "type": "input_text",
877
+ "text": "go"
878
+ }
879
+ ]
880
+ },
881
+ {
882
+ "type": "function_call",
883
+ "call_id": "ts1",
884
+ "name": "load_tool",
885
+ "arguments": "{\"names\":[\"x\"]}"
886
+ },
887
+ {
888
+ "type": "function_call",
889
+ "call_id": "cu1",
890
+ "name": "apply_patch",
891
+ "arguments": "{\"patch\":\"P\"}"
892
+ },
893
+ {
894
+ "type": "function_call",
895
+ "call_id": "fn1",
896
+ "name": "Read",
897
+ "arguments": "{\"path\":\"a\"}"
898
+ },
899
+ {
900
+ "type": "function_call_output",
901
+ "call_id": "ts1",
902
+ "output": "loaded"
903
+ },
904
+ {
905
+ "type": "function_call_output",
906
+ "call_id": "cu1",
907
+ "output": "patched"
908
+ },
909
+ {
910
+ "type": "function_call_output",
911
+ "call_id": "fn1",
912
+ "output": "file"
913
+ },
914
+ {
915
+ "role": "user",
916
+ "content": [
917
+ {
918
+ "type": "input_text",
919
+ "text": "next"
920
+ }
921
+ ]
922
+ }
923
+ ],
924
+ "store": false,
925
+ "include": [
926
+ "reasoning.encrypted_content"
927
+ ],
928
+ "stream": true,
929
+ "prompt_cache_key": "sess-1"
930
+ },
931
+ "compat/custom-cmd/openai/gpt-5.6-sol/oauth": {
932
+ "model": "openai/gpt-5.6-sol",
933
+ "input": [
934
+ {
935
+ "role": "system",
936
+ "content": [
937
+ {
938
+ "type": "input_text",
939
+ "text": "sys"
940
+ }
941
+ ]
942
+ },
943
+ {
944
+ "role": "user",
945
+ "content": [
946
+ {
947
+ "type": "input_text",
948
+ "text": "go"
949
+ }
950
+ ]
951
+ },
952
+ {
953
+ "role": "assistant",
954
+ "content": [
955
+ {
956
+ "type": "output_text",
957
+ "text": "working"
958
+ }
959
+ ]
960
+ },
961
+ {
962
+ "role": "assistant",
963
+ "content": [
964
+ {
965
+ "type": "output_text",
966
+ "text": "looking"
967
+ }
968
+ ]
969
+ },
970
+ {
971
+ "type": "function_call",
972
+ "call_id": "ts1",
973
+ "name": "load_tool",
974
+ "arguments": "{\"names\":[\"x\"]}"
975
+ },
976
+ {
977
+ "type": "function_call",
978
+ "call_id": "cu1",
979
+ "name": "apply_patch",
980
+ "arguments": "{\"patch\":\"P\"}"
981
+ },
982
+ {
983
+ "type": "function_call",
984
+ "call_id": "sk1",
985
+ "name": "Skill",
986
+ "arguments": "{\"name\":\"s\"}"
987
+ },
988
+ {
989
+ "type": "function_call_output",
990
+ "call_id": "ts1",
991
+ "output": "loaded"
992
+ },
993
+ {
994
+ "type": "function_call_output",
995
+ "call_id": "cu1",
996
+ "output": "patched"
997
+ },
998
+ {
999
+ "type": "function_call_output",
1000
+ "call_id": "sk1",
1001
+ "output": "skill"
1002
+ },
1003
+ {
1004
+ "type": "function_call",
1005
+ "call_id": "f2",
1006
+ "name": "Read",
1007
+ "arguments": "{\"path\":\"a\"}"
1008
+ },
1009
+ {
1010
+ "type": "function_call_output",
1011
+ "call_id": "f2",
1012
+ "output": "file"
1013
+ },
1014
+ {
1015
+ "role": "user",
1016
+ "content": [
1017
+ {
1018
+ "type": "input_text",
1019
+ "text": "next"
1020
+ }
1021
+ ]
1022
+ }
1023
+ ],
1024
+ "store": false,
1025
+ "include": [
1026
+ "reasoning.encrypted_content"
1027
+ ],
1028
+ "stream": true,
1029
+ "prompt_cache_key": "sess-1"
1030
+ },
1031
+ "compat/custom-cmd/openai/gpt-5.6-sol/own-search-output": {
1032
+ "model": "openai/gpt-5.6-sol",
1033
+ "input": [
1034
+ {
1035
+ "role": "user",
1036
+ "content": [
1037
+ {
1038
+ "type": "input_text",
1039
+ "text": "go"
1040
+ }
1041
+ ]
1042
+ },
1043
+ {
1044
+ "type": "function_call",
1045
+ "call_id": "ts1",
1046
+ "name": "load_tool",
1047
+ "arguments": "{\"names\":[\"x\"]}"
1048
+ },
1049
+ {
1050
+ "type": "function_call",
1051
+ "call_id": "cu1",
1052
+ "name": "apply_patch",
1053
+ "arguments": "{\"patch\":\"P\"}"
1054
+ },
1055
+ {
1056
+ "type": "function_call",
1057
+ "call_id": "fn1",
1058
+ "name": "Read",
1059
+ "arguments": "{\"path\":\"a\"}"
1060
+ },
1061
+ {
1062
+ "type": "function_call_output",
1063
+ "call_id": "ts1",
1064
+ "output": "loaded"
1065
+ },
1066
+ {
1067
+ "type": "function_call_output",
1068
+ "call_id": "cu1",
1069
+ "output": "patched"
1070
+ },
1071
+ {
1072
+ "type": "function_call_output",
1073
+ "call_id": "fn1",
1074
+ "output": "file"
1075
+ },
1076
+ {
1077
+ "role": "user",
1078
+ "content": [
1079
+ {
1080
+ "type": "input_text",
1081
+ "text": "next"
1082
+ }
1083
+ ]
1084
+ }
1085
+ ],
1086
+ "store": false,
1087
+ "include": [
1088
+ "reasoning.encrypted_content"
1089
+ ],
1090
+ "stream": true,
1091
+ "prompt_cache_key": "sess-1"
1092
+ },
1093
+ "compat/custom-cmd/openai/gpt-5.6-sol/server-replay": {
1094
+ "model": "openai/gpt-5.6-sol",
1095
+ "input": [
1096
+ {
1097
+ "role": "user",
1098
+ "content": [
1099
+ {
1100
+ "type": "input_text",
1101
+ "text": "find tools"
1102
+ }
1103
+ ]
1104
+ },
1105
+ {
1106
+ "type": "reasoning",
1107
+ "id": "rs_1",
1108
+ "encrypted_content": "ENC",
1109
+ "summary": []
1110
+ },
1111
+ {
1112
+ "type": "tool_search_call",
1113
+ "id": "ts_srv",
1114
+ "call_id": null,
1115
+ "execution": "server",
1116
+ "arguments": {
1117
+ "query": "q"
1118
+ }
1119
+ },
1120
+ {
1121
+ "type": "tool_search_output",
1122
+ "call_id": "ts_srv",
1123
+ "status": "completed",
1124
+ "execution": "client",
1125
+ "tools": []
1126
+ },
1127
+ {
1128
+ "type": "tool_search_output",
1129
+ "id": "tso_srv",
1130
+ "call_id": null,
1131
+ "execution": "server",
1132
+ "tools": []
1133
+ },
1134
+ {
1135
+ "type": "function_call",
1136
+ "call_id": "c1",
1137
+ "name": "Read",
1138
+ "arguments": "{}"
1139
+ },
1140
+ {
1141
+ "type": "function_call_output",
1142
+ "call_id": "c1",
1143
+ "output": "ok"
1144
+ },
1145
+ {
1146
+ "role": "user",
1147
+ "content": [
1148
+ {
1149
+ "type": "input_text",
1150
+ "text": "next"
1151
+ }
1152
+ ]
1153
+ }
1154
+ ],
1155
+ "store": false,
1156
+ "include": [
1157
+ "reasoning.encrypted_content"
1158
+ ],
1159
+ "stream": true,
1160
+ "prompt_cache_key": "sess-1"
1161
+ },
1162
+ "compat/openrouter/openai/gpt-5.5/native": {
1163
+ "model": "openai/gpt-5.5",
1164
+ "input": [
1165
+ {
1166
+ "role": "user",
1167
+ "content": [
1168
+ {
1169
+ "type": "input_text",
1170
+ "text": "go"
1171
+ }
1172
+ ]
1173
+ },
1174
+ {
1175
+ "type": "function_call",
1176
+ "call_id": "ts1",
1177
+ "name": "load_tool",
1178
+ "arguments": "{\"names\":[\"x\"]}"
1179
+ },
1180
+ {
1181
+ "type": "function_call",
1182
+ "call_id": "cu1",
1183
+ "name": "apply_patch",
1184
+ "arguments": "{\"patch\":\"P\"}"
1185
+ },
1186
+ {
1187
+ "type": "function_call",
1188
+ "call_id": "fn1",
1189
+ "name": "Read",
1190
+ "arguments": "{\"path\":\"a\"}"
1191
+ },
1192
+ {
1193
+ "type": "function_call_output",
1194
+ "call_id": "ts1",
1195
+ "output": "loaded"
1196
+ },
1197
+ {
1198
+ "type": "function_call_output",
1199
+ "call_id": "cu1",
1200
+ "output": "patched"
1201
+ },
1202
+ {
1203
+ "type": "function_call_output",
1204
+ "call_id": "fn1",
1205
+ "output": "file"
1206
+ },
1207
+ {
1208
+ "role": "user",
1209
+ "content": [
1210
+ {
1211
+ "type": "input_text",
1212
+ "text": "next"
1213
+ }
1214
+ ]
1215
+ }
1216
+ ],
1217
+ "store": false,
1218
+ "include": [
1219
+ "reasoning.encrypted_content"
1220
+ ],
1221
+ "stream": true
1222
+ },
1223
+ "compat/openrouter/openai/gpt-5.5/oauth": {
1224
+ "model": "openai/gpt-5.5",
1225
+ "input": [
1226
+ {
1227
+ "role": "system",
1228
+ "content": [
1229
+ {
1230
+ "type": "input_text",
1231
+ "text": "sys"
1232
+ }
1233
+ ]
1234
+ },
1235
+ {
1236
+ "role": "user",
1237
+ "content": [
1238
+ {
1239
+ "type": "input_text",
1240
+ "text": "go"
1241
+ }
1242
+ ]
1243
+ },
1244
+ {
1245
+ "role": "assistant",
1246
+ "content": [
1247
+ {
1248
+ "type": "output_text",
1249
+ "text": "working"
1250
+ }
1251
+ ]
1252
+ },
1253
+ {
1254
+ "role": "assistant",
1255
+ "content": [
1256
+ {
1257
+ "type": "output_text",
1258
+ "text": "looking"
1259
+ }
1260
+ ]
1261
+ },
1262
+ {
1263
+ "type": "function_call",
1264
+ "call_id": "ts1",
1265
+ "name": "load_tool",
1266
+ "arguments": "{\"names\":[\"x\"]}"
1267
+ },
1268
+ {
1269
+ "type": "function_call",
1270
+ "call_id": "cu1",
1271
+ "name": "apply_patch",
1272
+ "arguments": "{\"patch\":\"P\"}"
1273
+ },
1274
+ {
1275
+ "type": "function_call",
1276
+ "call_id": "sk1",
1277
+ "name": "Skill",
1278
+ "arguments": "{\"name\":\"s\"}"
1279
+ },
1280
+ {
1281
+ "type": "function_call_output",
1282
+ "call_id": "ts1",
1283
+ "output": "loaded"
1284
+ },
1285
+ {
1286
+ "type": "function_call_output",
1287
+ "call_id": "cu1",
1288
+ "output": "patched"
1289
+ },
1290
+ {
1291
+ "type": "function_call_output",
1292
+ "call_id": "sk1",
1293
+ "output": "skill"
1294
+ },
1295
+ {
1296
+ "type": "function_call",
1297
+ "call_id": "f2",
1298
+ "name": "Read",
1299
+ "arguments": "{\"path\":\"a\"}"
1300
+ },
1301
+ {
1302
+ "type": "function_call_output",
1303
+ "call_id": "f2",
1304
+ "output": "file"
1305
+ },
1306
+ {
1307
+ "role": "user",
1308
+ "content": [
1309
+ {
1310
+ "type": "input_text",
1311
+ "text": "next"
1312
+ }
1313
+ ]
1314
+ }
1315
+ ],
1316
+ "store": false,
1317
+ "include": [
1318
+ "reasoning.encrypted_content"
1319
+ ],
1320
+ "stream": true
1321
+ },
1322
+ "compat/openrouter/openai/gpt-5.5/own-search-output": {
1323
+ "model": "openai/gpt-5.5",
1324
+ "input": [
1325
+ {
1326
+ "role": "user",
1327
+ "content": [
1328
+ {
1329
+ "type": "input_text",
1330
+ "text": "go"
1331
+ }
1332
+ ]
1333
+ },
1334
+ {
1335
+ "type": "function_call",
1336
+ "call_id": "ts1",
1337
+ "name": "load_tool",
1338
+ "arguments": "{\"names\":[\"x\"]}"
1339
+ },
1340
+ {
1341
+ "type": "function_call",
1342
+ "call_id": "cu1",
1343
+ "name": "apply_patch",
1344
+ "arguments": "{\"patch\":\"P\"}"
1345
+ },
1346
+ {
1347
+ "type": "function_call",
1348
+ "call_id": "fn1",
1349
+ "name": "Read",
1350
+ "arguments": "{\"path\":\"a\"}"
1351
+ },
1352
+ {
1353
+ "type": "function_call_output",
1354
+ "call_id": "ts1",
1355
+ "output": "loaded"
1356
+ },
1357
+ {
1358
+ "type": "function_call_output",
1359
+ "call_id": "cu1",
1360
+ "output": "patched"
1361
+ },
1362
+ {
1363
+ "type": "function_call_output",
1364
+ "call_id": "fn1",
1365
+ "output": "file"
1366
+ },
1367
+ {
1368
+ "role": "user",
1369
+ "content": [
1370
+ {
1371
+ "type": "input_text",
1372
+ "text": "next"
1373
+ }
1374
+ ]
1375
+ }
1376
+ ],
1377
+ "store": false,
1378
+ "include": [
1379
+ "reasoning.encrypted_content"
1380
+ ],
1381
+ "stream": true
1382
+ },
1383
+ "compat/openrouter/openai/gpt-5.5/server-replay": {
1384
+ "model": "openai/gpt-5.5",
1385
+ "input": [
1386
+ {
1387
+ "role": "user",
1388
+ "content": [
1389
+ {
1390
+ "type": "input_text",
1391
+ "text": "find tools"
1392
+ }
1393
+ ]
1394
+ },
1395
+ {
1396
+ "type": "reasoning",
1397
+ "id": "rs_1",
1398
+ "encrypted_content": "ENC",
1399
+ "summary": []
1400
+ },
1401
+ {
1402
+ "type": "tool_search_call",
1403
+ "id": "ts_srv",
1404
+ "call_id": null,
1405
+ "execution": "server",
1406
+ "arguments": {
1407
+ "query": "q"
1408
+ }
1409
+ },
1410
+ {
1411
+ "type": "tool_search_output",
1412
+ "call_id": "ts_srv",
1413
+ "status": "completed",
1414
+ "execution": "client",
1415
+ "tools": []
1416
+ },
1417
+ {
1418
+ "type": "tool_search_output",
1419
+ "id": "tso_srv",
1420
+ "call_id": null,
1421
+ "execution": "server",
1422
+ "tools": []
1423
+ },
1424
+ {
1425
+ "type": "function_call",
1426
+ "call_id": "c1",
1427
+ "name": "Read",
1428
+ "arguments": "{}"
1429
+ },
1430
+ {
1431
+ "type": "function_call_output",
1432
+ "call_id": "c1",
1433
+ "output": "ok"
1434
+ },
1435
+ {
1436
+ "role": "user",
1437
+ "content": [
1438
+ {
1439
+ "type": "input_text",
1440
+ "text": "next"
1441
+ }
1442
+ ]
1443
+ }
1444
+ ],
1445
+ "store": false,
1446
+ "include": [
1447
+ "reasoning.encrypted_content"
1448
+ ],
1449
+ "stream": true
1450
+ },
1451
+ "compat/xai/grok-4/native": {
1452
+ "model": "grok-4",
1453
+ "input": [
1454
+ {
1455
+ "role": "user",
1456
+ "content": [
1457
+ {
1458
+ "type": "input_text",
1459
+ "text": "go"
1460
+ }
1461
+ ]
1462
+ },
1463
+ {
1464
+ "type": "function_call",
1465
+ "call_id": "ts1",
1466
+ "name": "load_tool",
1467
+ "arguments": "{\"names\":[\"x\"]}"
1468
+ },
1469
+ {
1470
+ "type": "function_call",
1471
+ "call_id": "cu1",
1472
+ "name": "apply_patch",
1473
+ "arguments": "{\"patch\":\"P\"}"
1474
+ },
1475
+ {
1476
+ "type": "function_call",
1477
+ "call_id": "fn1",
1478
+ "name": "Read",
1479
+ "arguments": "{\"path\":\"a\"}"
1480
+ },
1481
+ {
1482
+ "type": "function_call_output",
1483
+ "call_id": "ts1",
1484
+ "output": "loaded"
1485
+ },
1486
+ {
1487
+ "type": "function_call_output",
1488
+ "call_id": "cu1",
1489
+ "output": "patched"
1490
+ },
1491
+ {
1492
+ "type": "function_call_output",
1493
+ "call_id": "fn1",
1494
+ "output": "file"
1495
+ },
1496
+ {
1497
+ "role": "user",
1498
+ "content": [
1499
+ {
1500
+ "type": "input_text",
1501
+ "text": "next"
1502
+ }
1503
+ ]
1504
+ }
1505
+ ],
1506
+ "store": false,
1507
+ "include": [
1508
+ "reasoning.encrypted_content"
1509
+ ],
1510
+ "stream": true
1511
+ },
1512
+ "compat/xai/grok-4/oauth": {
1513
+ "model": "grok-4",
1514
+ "input": [
1515
+ {
1516
+ "role": "system",
1517
+ "content": [
1518
+ {
1519
+ "type": "input_text",
1520
+ "text": "sys"
1521
+ }
1522
+ ]
1523
+ },
1524
+ {
1525
+ "role": "user",
1526
+ "content": [
1527
+ {
1528
+ "type": "input_text",
1529
+ "text": "go"
1530
+ }
1531
+ ]
1532
+ },
1533
+ {
1534
+ "role": "assistant",
1535
+ "content": [
1536
+ {
1537
+ "type": "output_text",
1538
+ "text": "working"
1539
+ }
1540
+ ]
1541
+ },
1542
+ {
1543
+ "role": "assistant",
1544
+ "content": [
1545
+ {
1546
+ "type": "output_text",
1547
+ "text": "looking"
1548
+ }
1549
+ ]
1550
+ },
1551
+ {
1552
+ "type": "function_call",
1553
+ "call_id": "ts1",
1554
+ "name": "load_tool",
1555
+ "arguments": "{\"names\":[\"x\"]}"
1556
+ },
1557
+ {
1558
+ "type": "function_call",
1559
+ "call_id": "cu1",
1560
+ "name": "apply_patch",
1561
+ "arguments": "{\"patch\":\"P\"}"
1562
+ },
1563
+ {
1564
+ "type": "function_call",
1565
+ "call_id": "sk1",
1566
+ "name": "Skill",
1567
+ "arguments": "{\"name\":\"s\"}"
1568
+ },
1569
+ {
1570
+ "type": "function_call_output",
1571
+ "call_id": "ts1",
1572
+ "output": "loaded"
1573
+ },
1574
+ {
1575
+ "type": "function_call_output",
1576
+ "call_id": "cu1",
1577
+ "output": "patched"
1578
+ },
1579
+ {
1580
+ "type": "function_call_output",
1581
+ "call_id": "sk1",
1582
+ "output": "skill"
1583
+ },
1584
+ {
1585
+ "type": "function_call",
1586
+ "call_id": "f2",
1587
+ "name": "Read",
1588
+ "arguments": "{\"path\":\"a\"}"
1589
+ },
1590
+ {
1591
+ "type": "function_call_output",
1592
+ "call_id": "f2",
1593
+ "output": "file"
1594
+ },
1595
+ {
1596
+ "role": "user",
1597
+ "content": [
1598
+ {
1599
+ "type": "input_text",
1600
+ "text": "next"
1601
+ }
1602
+ ]
1603
+ }
1604
+ ],
1605
+ "store": false,
1606
+ "include": [
1607
+ "reasoning.encrypted_content"
1608
+ ],
1609
+ "stream": true
1610
+ },
1611
+ "compat/xai/grok-4/own-search-output": {
1612
+ "model": "grok-4",
1613
+ "input": [
1614
+ {
1615
+ "role": "user",
1616
+ "content": [
1617
+ {
1618
+ "type": "input_text",
1619
+ "text": "go"
1620
+ }
1621
+ ]
1622
+ },
1623
+ {
1624
+ "type": "function_call",
1625
+ "call_id": "ts1",
1626
+ "name": "load_tool",
1627
+ "arguments": "{\"names\":[\"x\"]}"
1628
+ },
1629
+ {
1630
+ "type": "function_call",
1631
+ "call_id": "cu1",
1632
+ "name": "apply_patch",
1633
+ "arguments": "{\"patch\":\"P\"}"
1634
+ },
1635
+ {
1636
+ "type": "function_call",
1637
+ "call_id": "fn1",
1638
+ "name": "Read",
1639
+ "arguments": "{\"path\":\"a\"}"
1640
+ },
1641
+ {
1642
+ "type": "function_call_output",
1643
+ "call_id": "ts1",
1644
+ "output": "loaded"
1645
+ },
1646
+ {
1647
+ "type": "function_call_output",
1648
+ "call_id": "cu1",
1649
+ "output": "patched"
1650
+ },
1651
+ {
1652
+ "type": "function_call_output",
1653
+ "call_id": "fn1",
1654
+ "output": "file"
1655
+ },
1656
+ {
1657
+ "role": "user",
1658
+ "content": [
1659
+ {
1660
+ "type": "input_text",
1661
+ "text": "next"
1662
+ }
1663
+ ]
1664
+ }
1665
+ ],
1666
+ "store": false,
1667
+ "include": [
1668
+ "reasoning.encrypted_content"
1669
+ ],
1670
+ "stream": true
1671
+ },
1672
+ "compat/xai/grok-4/server-replay": {
1673
+ "model": "grok-4",
1674
+ "input": [
1675
+ {
1676
+ "role": "user",
1677
+ "content": [
1678
+ {
1679
+ "type": "input_text",
1680
+ "text": "find tools"
1681
+ }
1682
+ ]
1683
+ },
1684
+ {
1685
+ "type": "reasoning",
1686
+ "id": "rs_1",
1687
+ "encrypted_content": "ENC",
1688
+ "summary": []
1689
+ },
1690
+ {
1691
+ "type": "tool_search_call",
1692
+ "id": "ts_srv",
1693
+ "call_id": null,
1694
+ "execution": "server",
1695
+ "arguments": {
1696
+ "query": "q"
1697
+ }
1698
+ },
1699
+ {
1700
+ "type": "tool_search_output",
1701
+ "call_id": "ts_srv",
1702
+ "status": "completed",
1703
+ "execution": "client",
1704
+ "tools": []
1705
+ },
1706
+ {
1707
+ "type": "tool_search_output",
1708
+ "id": "tso_srv",
1709
+ "call_id": null,
1710
+ "execution": "server",
1711
+ "tools": []
1712
+ },
1713
+ {
1714
+ "type": "function_call",
1715
+ "call_id": "c1",
1716
+ "name": "Read",
1717
+ "arguments": "{}"
1718
+ },
1719
+ {
1720
+ "type": "function_call_output",
1721
+ "call_id": "c1",
1722
+ "output": "ok"
1723
+ },
1724
+ {
1725
+ "role": "user",
1726
+ "content": [
1727
+ {
1728
+ "type": "input_text",
1729
+ "text": "next"
1730
+ }
1731
+ ]
1732
+ }
1733
+ ],
1734
+ "store": false,
1735
+ "include": [
1736
+ "reasoning.encrypted_content"
1737
+ ],
1738
+ "stream": true
1739
+ },
1740
+ "compat/opencode-go/grok-4/native": {
1741
+ "model": "grok-4",
1742
+ "input": [
1743
+ {
1744
+ "role": "user",
1745
+ "content": [
1746
+ {
1747
+ "type": "input_text",
1748
+ "text": "go"
1749
+ }
1750
+ ]
1751
+ },
1752
+ {
1753
+ "type": "function_call",
1754
+ "call_id": "ts1",
1755
+ "name": "load_tool",
1756
+ "arguments": "{\"names\":[\"x\"]}"
1757
+ },
1758
+ {
1759
+ "type": "function_call",
1760
+ "call_id": "cu1",
1761
+ "name": "apply_patch",
1762
+ "arguments": "{\"patch\":\"P\"}"
1763
+ },
1764
+ {
1765
+ "type": "function_call",
1766
+ "call_id": "fn1",
1767
+ "name": "Read",
1768
+ "arguments": "{\"path\":\"a\"}"
1769
+ },
1770
+ {
1771
+ "type": "function_call_output",
1772
+ "call_id": "ts1",
1773
+ "output": "loaded"
1774
+ },
1775
+ {
1776
+ "type": "function_call_output",
1777
+ "call_id": "cu1",
1778
+ "output": "patched"
1779
+ },
1780
+ {
1781
+ "type": "function_call_output",
1782
+ "call_id": "fn1",
1783
+ "output": "file"
1784
+ },
1785
+ {
1786
+ "role": "user",
1787
+ "content": [
1788
+ {
1789
+ "type": "input_text",
1790
+ "text": "next"
1791
+ }
1792
+ ]
1793
+ }
1794
+ ],
1795
+ "store": false,
1796
+ "include": [
1797
+ "reasoning.encrypted_content"
1798
+ ],
1799
+ "stream": true
1800
+ },
1801
+ "compat/opencode-go/grok-4/oauth": {
1802
+ "model": "grok-4",
1803
+ "input": [
1804
+ {
1805
+ "role": "system",
1806
+ "content": [
1807
+ {
1808
+ "type": "input_text",
1809
+ "text": "sys"
1810
+ }
1811
+ ]
1812
+ },
1813
+ {
1814
+ "role": "user",
1815
+ "content": [
1816
+ {
1817
+ "type": "input_text",
1818
+ "text": "go"
1819
+ }
1820
+ ]
1821
+ },
1822
+ {
1823
+ "role": "assistant",
1824
+ "content": [
1825
+ {
1826
+ "type": "output_text",
1827
+ "text": "working"
1828
+ }
1829
+ ]
1830
+ },
1831
+ {
1832
+ "role": "assistant",
1833
+ "content": [
1834
+ {
1835
+ "type": "output_text",
1836
+ "text": "looking"
1837
+ }
1838
+ ]
1839
+ },
1840
+ {
1841
+ "type": "function_call",
1842
+ "call_id": "ts1",
1843
+ "name": "load_tool",
1844
+ "arguments": "{\"names\":[\"x\"]}"
1845
+ },
1846
+ {
1847
+ "type": "function_call",
1848
+ "call_id": "cu1",
1849
+ "name": "apply_patch",
1850
+ "arguments": "{\"patch\":\"P\"}"
1851
+ },
1852
+ {
1853
+ "type": "function_call",
1854
+ "call_id": "sk1",
1855
+ "name": "Skill",
1856
+ "arguments": "{\"name\":\"s\"}"
1857
+ },
1858
+ {
1859
+ "type": "function_call_output",
1860
+ "call_id": "ts1",
1861
+ "output": "loaded"
1862
+ },
1863
+ {
1864
+ "type": "function_call_output",
1865
+ "call_id": "cu1",
1866
+ "output": "patched"
1867
+ },
1868
+ {
1869
+ "type": "function_call_output",
1870
+ "call_id": "sk1",
1871
+ "output": "skill"
1872
+ },
1873
+ {
1874
+ "type": "function_call",
1875
+ "call_id": "f2",
1876
+ "name": "Read",
1877
+ "arguments": "{\"path\":\"a\"}"
1878
+ },
1879
+ {
1880
+ "type": "function_call_output",
1881
+ "call_id": "f2",
1882
+ "output": "file"
1883
+ },
1884
+ {
1885
+ "role": "user",
1886
+ "content": [
1887
+ {
1888
+ "type": "input_text",
1889
+ "text": "next"
1890
+ }
1891
+ ]
1892
+ }
1893
+ ],
1894
+ "store": false,
1895
+ "include": [
1896
+ "reasoning.encrypted_content"
1897
+ ],
1898
+ "stream": true
1899
+ },
1900
+ "compat/opencode-go/grok-4/own-search-output": {
1901
+ "model": "grok-4",
1902
+ "input": [
1903
+ {
1904
+ "role": "user",
1905
+ "content": [
1906
+ {
1907
+ "type": "input_text",
1908
+ "text": "go"
1909
+ }
1910
+ ]
1911
+ },
1912
+ {
1913
+ "type": "function_call",
1914
+ "call_id": "ts1",
1915
+ "name": "load_tool",
1916
+ "arguments": "{\"names\":[\"x\"]}"
1917
+ },
1918
+ {
1919
+ "type": "function_call",
1920
+ "call_id": "cu1",
1921
+ "name": "apply_patch",
1922
+ "arguments": "{\"patch\":\"P\"}"
1923
+ },
1924
+ {
1925
+ "type": "function_call",
1926
+ "call_id": "fn1",
1927
+ "name": "Read",
1928
+ "arguments": "{\"path\":\"a\"}"
1929
+ },
1930
+ {
1931
+ "type": "function_call_output",
1932
+ "call_id": "ts1",
1933
+ "output": "loaded"
1934
+ },
1935
+ {
1936
+ "type": "function_call_output",
1937
+ "call_id": "cu1",
1938
+ "output": "patched"
1939
+ },
1940
+ {
1941
+ "type": "function_call_output",
1942
+ "call_id": "fn1",
1943
+ "output": "file"
1944
+ },
1945
+ {
1946
+ "role": "user",
1947
+ "content": [
1948
+ {
1949
+ "type": "input_text",
1950
+ "text": "next"
1951
+ }
1952
+ ]
1953
+ }
1954
+ ],
1955
+ "store": false,
1956
+ "include": [
1957
+ "reasoning.encrypted_content"
1958
+ ],
1959
+ "stream": true
1960
+ },
1961
+ "compat/opencode-go/grok-4/server-replay": {
1962
+ "model": "grok-4",
1963
+ "input": [
1964
+ {
1965
+ "role": "user",
1966
+ "content": [
1967
+ {
1968
+ "type": "input_text",
1969
+ "text": "find tools"
1970
+ }
1971
+ ]
1972
+ },
1973
+ {
1974
+ "type": "reasoning",
1975
+ "id": "rs_1",
1976
+ "encrypted_content": "ENC",
1977
+ "summary": []
1978
+ },
1979
+ {
1980
+ "type": "tool_search_call",
1981
+ "id": "ts_srv",
1982
+ "call_id": null,
1983
+ "execution": "server",
1984
+ "arguments": {
1985
+ "query": "q"
1986
+ }
1987
+ },
1988
+ {
1989
+ "type": "tool_search_output",
1990
+ "call_id": "ts_srv",
1991
+ "status": "completed",
1992
+ "execution": "client",
1993
+ "tools": []
1994
+ },
1995
+ {
1996
+ "type": "tool_search_output",
1997
+ "id": "tso_srv",
1998
+ "call_id": null,
1999
+ "execution": "server",
2000
+ "tools": []
2001
+ },
2002
+ {
2003
+ "type": "function_call",
2004
+ "call_id": "c1",
2005
+ "name": "Read",
2006
+ "arguments": "{}"
2007
+ },
2008
+ {
2009
+ "type": "function_call_output",
2010
+ "call_id": "c1",
2011
+ "output": "ok"
2012
+ },
2013
+ {
2014
+ "role": "user",
2015
+ "content": [
2016
+ {
2017
+ "type": "input_text",
2018
+ "text": "next"
2019
+ }
2020
+ ]
2021
+ }
2022
+ ],
2023
+ "store": false,
2024
+ "include": [
2025
+ "reasoning.encrypted_content"
2026
+ ],
2027
+ "stream": true
2028
+ },
2029
+ "first-party/openai/native": {
2030
+ "model": "gpt-5.5",
2031
+ "instructions": "You are a helpful assistant.",
2032
+ "input": [
2033
+ {
2034
+ "role": "user",
2035
+ "content": [
2036
+ {
2037
+ "type": "input_text",
2038
+ "text": "go"
2039
+ }
2040
+ ]
2041
+ },
2042
+ {
2043
+ "type": "tool_search_call",
2044
+ "call_id": "ts1",
2045
+ "execution": "client",
2046
+ "arguments": {
2047
+ "names": [
2048
+ "x"
2049
+ ]
2050
+ }
2051
+ },
2052
+ {
2053
+ "type": "custom_tool_call",
2054
+ "call_id": "cu1",
2055
+ "name": "apply_patch",
2056
+ "input": "P"
2057
+ },
2058
+ {
2059
+ "type": "function_call",
2060
+ "call_id": "fn1",
2061
+ "name": "Read",
2062
+ "arguments": "{\"path\":\"a\"}"
2063
+ },
2064
+ {
2065
+ "type": "tool_search_output",
2066
+ "call_id": "ts1",
2067
+ "status": "completed",
2068
+ "execution": "client",
2069
+ "tools": []
2070
+ },
2071
+ {
2072
+ "type": "custom_tool_call_output",
2073
+ "call_id": "cu1",
2074
+ "name": "apply_patch",
2075
+ "output": "patched"
2076
+ },
2077
+ {
2078
+ "type": "function_call_output",
2079
+ "call_id": "fn1",
2080
+ "output": "file"
2081
+ },
2082
+ {
2083
+ "role": "user",
2084
+ "content": [
2085
+ {
2086
+ "type": "input_text",
2087
+ "text": "loaded"
2088
+ }
2089
+ ]
2090
+ },
2091
+ {
2092
+ "role": "user",
2093
+ "content": [
2094
+ {
2095
+ "type": "input_text",
2096
+ "text": "next"
2097
+ }
2098
+ ]
2099
+ }
2100
+ ],
2101
+ "tool_choice": "auto",
2102
+ "parallel_tool_calls": true,
2103
+ "reasoning": {
2104
+ "effort": "medium",
2105
+ "summary": "auto"
2106
+ },
2107
+ "store": false,
2108
+ "stream": true,
2109
+ "include": [
2110
+ "reasoning.encrypted_content"
2111
+ ],
2112
+ "prompt_cache_key": "mixdog-openai-dd85a2cac3a7facd7e",
2113
+ "text": {
2114
+ "verbosity": "low"
2115
+ }
2116
+ },
2117
+ "first-party/openai/oauth": {
2118
+ "model": "gpt-5.5",
2119
+ "instructions": "sys",
2120
+ "input": [
2121
+ {
2122
+ "role": "user",
2123
+ "content": [
2124
+ {
2125
+ "type": "input_text",
2126
+ "text": "go"
2127
+ }
2128
+ ]
2129
+ },
2130
+ {
2131
+ "role": "assistant",
2132
+ "content": [
2133
+ {
2134
+ "type": "output_text",
2135
+ "text": "working"
2136
+ }
2137
+ ],
2138
+ "phase": "commentary"
2139
+ },
2140
+ {
2141
+ "type": "reasoning",
2142
+ "id": "rs",
2143
+ "encrypted_content": "ENC",
2144
+ "summary": []
2145
+ },
2146
+ {
2147
+ "role": "assistant",
2148
+ "content": [
2149
+ {
2150
+ "type": "output_text",
2151
+ "text": "looking"
2152
+ }
2153
+ ],
2154
+ "phase": "commentary"
2155
+ },
2156
+ {
2157
+ "type": "tool_search_call",
2158
+ "call_id": "ts1",
2159
+ "execution": "client",
2160
+ "arguments": {
2161
+ "names": [
2162
+ "x"
2163
+ ]
2164
+ }
2165
+ },
2166
+ {
2167
+ "type": "custom_tool_call",
2168
+ "call_id": "cu1",
2169
+ "name": "apply_patch",
2170
+ "input": "P"
2171
+ },
2172
+ {
2173
+ "type": "function_call",
2174
+ "call_id": "sk1",
2175
+ "name": "Skill",
2176
+ "arguments": "{\"name\":\"s\"}"
2177
+ },
2178
+ {
2179
+ "type": "tool_search_output",
2180
+ "call_id": "ts1",
2181
+ "status": "completed",
2182
+ "execution": "client",
2183
+ "tools": [
2184
+ {
2185
+ "type": "function",
2186
+ "name": "x",
2187
+ "description": "d",
2188
+ "parameters": {
2189
+ "type": "object",
2190
+ "properties": {}
2191
+ },
2192
+ "strict": false
2193
+ }
2194
+ ]
2195
+ },
2196
+ {
2197
+ "type": "custom_tool_call_output",
2198
+ "call_id": "cu1",
2199
+ "name": "apply_patch",
2200
+ "output": "patched"
2201
+ },
2202
+ {
2203
+ "type": "function_call_output",
2204
+ "call_id": "sk1",
2205
+ "output": "skill"
2206
+ },
2207
+ {
2208
+ "type": "tool_search_call",
2209
+ "call_id": "sk1_load",
2210
+ "execution": "client",
2211
+ "arguments": {
2212
+ "names": [
2213
+ "x"
2214
+ ]
2215
+ }
2216
+ },
2217
+ {
2218
+ "type": "tool_search_output",
2219
+ "call_id": "sk1_load",
2220
+ "status": "completed",
2221
+ "execution": "client",
2222
+ "tools": [
2223
+ {
2224
+ "type": "function",
2225
+ "name": "x",
2226
+ "description": "d",
2227
+ "parameters": {
2228
+ "type": "object",
2229
+ "properties": {}
2230
+ },
2231
+ "strict": false
2232
+ }
2233
+ ]
2234
+ },
2235
+ {
2236
+ "type": "tool_search_call",
2237
+ "call_id": "ts9",
2238
+ "execution": "client",
2239
+ "arguments": {}
2240
+ },
2241
+ {
2242
+ "type": "tool_search_output",
2243
+ "call_id": "ts9",
2244
+ "status": "completed",
2245
+ "execution": "client",
2246
+ "tools": []
2247
+ },
2248
+ {
2249
+ "type": "function_call_output",
2250
+ "call_id": "f2",
2251
+ "output": "file"
2252
+ },
2253
+ {
2254
+ "role": "user",
2255
+ "content": [
2256
+ {
2257
+ "type": "input_text",
2258
+ "text": "next"
2259
+ }
2260
+ ]
2261
+ }
2262
+ ],
2263
+ "tool_choice": "auto",
2264
+ "parallel_tool_calls": true,
2265
+ "reasoning": {
2266
+ "effort": "medium",
2267
+ "summary": "auto"
2268
+ },
2269
+ "store": false,
2270
+ "stream": true,
2271
+ "include": [
2272
+ "reasoning.encrypted_content"
2273
+ ],
2274
+ "prompt_cache_key": "mixdog-openai-333154c75bf79502bd",
2275
+ "text": {
2276
+ "verbosity": "low"
2277
+ }
2278
+ },
2279
+ "first-party/openai/own-search-output": {
2280
+ "model": "gpt-5.5",
2281
+ "instructions": "You are a helpful assistant.",
2282
+ "input": [
2283
+ {
2284
+ "role": "user",
2285
+ "content": [
2286
+ {
2287
+ "type": "input_text",
2288
+ "text": "go"
2289
+ }
2290
+ ]
2291
+ },
2292
+ {
2293
+ "type": "tool_search_call",
2294
+ "call_id": "ts1",
2295
+ "execution": "client",
2296
+ "arguments": {
2297
+ "names": [
2298
+ "x"
2299
+ ]
2300
+ }
2301
+ },
2302
+ {
2303
+ "type": "custom_tool_call",
2304
+ "call_id": "cu1",
2305
+ "name": "apply_patch",
2306
+ "input": "P"
2307
+ },
2308
+ {
2309
+ "type": "function_call",
2310
+ "call_id": "fn1",
2311
+ "name": "Read",
2312
+ "arguments": "{\"path\":\"a\"}"
2313
+ },
2314
+ {
2315
+ "type": "tool_search_output",
2316
+ "call_id": "ts1",
2317
+ "status": "completed",
2318
+ "execution": "client",
2319
+ "tools": [
2320
+ {
2321
+ "type": "function",
2322
+ "name": "x",
2323
+ "description": "d",
2324
+ "parameters": {
2325
+ "type": "object",
2326
+ "properties": {}
2327
+ },
2328
+ "strict": false
2329
+ }
2330
+ ]
2331
+ },
2332
+ {
2333
+ "type": "custom_tool_call_output",
2334
+ "call_id": "cu1",
2335
+ "name": "apply_patch",
2336
+ "output": "patched"
2337
+ },
2338
+ {
2339
+ "type": "function_call_output",
2340
+ "call_id": "fn1",
2341
+ "output": "file"
2342
+ },
2343
+ {
2344
+ "role": "user",
2345
+ "content": [
2346
+ {
2347
+ "type": "input_text",
2348
+ "text": "next"
2349
+ }
2350
+ ]
2351
+ }
2352
+ ],
2353
+ "tool_choice": "auto",
2354
+ "parallel_tool_calls": true,
2355
+ "reasoning": {
2356
+ "effort": "medium",
2357
+ "summary": "auto"
2358
+ },
2359
+ "store": false,
2360
+ "stream": true,
2361
+ "include": [
2362
+ "reasoning.encrypted_content"
2363
+ ],
2364
+ "prompt_cache_key": "mixdog-openai-dd85a2cac3a7facd7e",
2365
+ "text": {
2366
+ "verbosity": "low"
2367
+ }
2368
+ },
2369
+ "first-party/openai/server-replay": {
2370
+ "model": "gpt-5.5",
2371
+ "instructions": "You are a helpful assistant.",
2372
+ "input": [
2373
+ {
2374
+ "role": "user",
2375
+ "content": [
2376
+ {
2377
+ "type": "input_text",
2378
+ "text": "find tools"
2379
+ }
2380
+ ]
2381
+ },
2382
+ {
2383
+ "type": "reasoning",
2384
+ "id": "rs_1",
2385
+ "encrypted_content": "ENC",
2386
+ "summary": []
2387
+ },
2388
+ {
2389
+ "type": "tool_search_call",
2390
+ "id": "ts_srv",
2391
+ "call_id": null,
2392
+ "execution": "server",
2393
+ "arguments": {
2394
+ "query": "q"
2395
+ }
2396
+ },
2397
+ {
2398
+ "type": "tool_search_output",
2399
+ "call_id": "ts_srv",
2400
+ "status": "completed",
2401
+ "execution": "client",
2402
+ "tools": []
2403
+ },
2404
+ {
2405
+ "type": "tool_search_output",
2406
+ "id": "tso_srv",
2407
+ "call_id": null,
2408
+ "execution": "server",
2409
+ "tools": []
2410
+ },
2411
+ {
2412
+ "type": "function_call",
2413
+ "call_id": "c1",
2414
+ "name": "Read",
2415
+ "arguments": "{}"
2416
+ },
2417
+ {
2418
+ "type": "function_call_output",
2419
+ "call_id": "c1",
2420
+ "output": "ok"
2421
+ },
2422
+ {
2423
+ "role": "user",
2424
+ "content": [
2425
+ {
2426
+ "type": "input_text",
2427
+ "text": "next"
2428
+ }
2429
+ ]
2430
+ }
2431
+ ],
2432
+ "tool_choice": "auto",
2433
+ "parallel_tool_calls": true,
2434
+ "reasoning": {
2435
+ "effort": "medium",
2436
+ "summary": "auto"
2437
+ },
2438
+ "store": false,
2439
+ "stream": true,
2440
+ "include": [
2441
+ "reasoning.encrypted_content"
2442
+ ],
2443
+ "prompt_cache_key": "mixdog-openai-dd85a2cac3a7facd7e",
2444
+ "text": {
2445
+ "verbosity": "low"
2446
+ }
2447
+ },
2448
+ "first-party/openai-oauth/native": {
2449
+ "model": "gpt-5.5",
2450
+ "instructions": "You are a helpful assistant.",
2451
+ "input": [
2452
+ {
2453
+ "type": "message",
2454
+ "role": "user",
2455
+ "content": [
2456
+ {
2457
+ "type": "input_text",
2458
+ "text": "go"
2459
+ }
2460
+ ],
2461
+ "internal_chat_message_metadata_passthrough": {}
2462
+ },
2463
+ {
2464
+ "type": "tool_search_call",
2465
+ "call_id": "ts1",
2466
+ "execution": "client",
2467
+ "arguments": {
2468
+ "names": [
2469
+ "x"
2470
+ ]
2471
+ }
2472
+ },
2473
+ {
2474
+ "type": "custom_tool_call",
2475
+ "call_id": "cu1",
2476
+ "name": "apply_patch",
2477
+ "input": "P"
2478
+ },
2479
+ {
2480
+ "type": "function_call",
2481
+ "call_id": "fn1",
2482
+ "name": "Read",
2483
+ "arguments": "{\"path\":\"a\"}"
2484
+ },
2485
+ {
2486
+ "type": "tool_search_output",
2487
+ "call_id": "ts1",
2488
+ "status": "completed",
2489
+ "execution": "client",
2490
+ "tools": []
2491
+ },
2492
+ {
2493
+ "type": "custom_tool_call_output",
2494
+ "call_id": "cu1",
2495
+ "name": "apply_patch",
2496
+ "output": "patched"
2497
+ },
2498
+ {
2499
+ "type": "function_call_output",
2500
+ "call_id": "fn1",
2501
+ "output": "file"
2502
+ },
2503
+ {
2504
+ "type": "message",
2505
+ "role": "user",
2506
+ "content": [
2507
+ {
2508
+ "type": "input_text",
2509
+ "text": "loaded"
2510
+ }
2511
+ ],
2512
+ "internal_chat_message_metadata_passthrough": {}
2513
+ },
2514
+ {
2515
+ "type": "message",
2516
+ "role": "user",
2517
+ "content": [
2518
+ {
2519
+ "type": "input_text",
2520
+ "text": "next"
2521
+ }
2522
+ ],
2523
+ "internal_chat_message_metadata_passthrough": {}
2524
+ }
2525
+ ],
2526
+ "tool_choice": "auto",
2527
+ "parallel_tool_calls": true,
2528
+ "reasoning": {
2529
+ "effort": "medium",
2530
+ "summary": "auto"
2531
+ },
2532
+ "store": false,
2533
+ "stream": true,
2534
+ "stream_options": {
2535
+ "reasoning_summary_delivery": "sequential_cutoff"
2536
+ },
2537
+ "include": [
2538
+ "reasoning.encrypted_content"
2539
+ ],
2540
+ "prompt_cache_key": "sess-1",
2541
+ "text": {
2542
+ "verbosity": "low"
2543
+ }
2544
+ },
2545
+ "first-party/openai-oauth/oauth": {
2546
+ "model": "gpt-5.5",
2547
+ "instructions": "sys",
2548
+ "input": [
2549
+ {
2550
+ "type": "message",
2551
+ "role": "user",
2552
+ "content": [
2553
+ {
2554
+ "type": "input_text",
2555
+ "text": "go"
2556
+ }
2557
+ ],
2558
+ "internal_chat_message_metadata_passthrough": {}
2559
+ },
2560
+ {
2561
+ "type": "message",
2562
+ "role": "assistant",
2563
+ "content": [
2564
+ {
2565
+ "type": "output_text",
2566
+ "text": "working"
2567
+ }
2568
+ ],
2569
+ "phase": "commentary",
2570
+ "internal_chat_message_metadata_passthrough": {}
2571
+ },
2572
+ {
2573
+ "type": "reasoning",
2574
+ "id": "rs",
2575
+ "encrypted_content": "ENC",
2576
+ "summary": []
2577
+ },
2578
+ {
2579
+ "type": "message",
2580
+ "role": "assistant",
2581
+ "content": [
2582
+ {
2583
+ "type": "output_text",
2584
+ "text": "looking"
2585
+ }
2586
+ ],
2587
+ "phase": "commentary",
2588
+ "internal_chat_message_metadata_passthrough": {}
2589
+ },
2590
+ {
2591
+ "type": "tool_search_call",
2592
+ "call_id": "ts1",
2593
+ "execution": "client",
2594
+ "arguments": {
2595
+ "names": [
2596
+ "x"
2597
+ ]
2598
+ }
2599
+ },
2600
+ {
2601
+ "type": "custom_tool_call",
2602
+ "call_id": "cu1",
2603
+ "name": "apply_patch",
2604
+ "input": "P"
2605
+ },
2606
+ {
2607
+ "type": "function_call",
2608
+ "call_id": "sk1",
2609
+ "name": "Skill",
2610
+ "arguments": "{\"name\":\"s\"}"
2611
+ },
2612
+ {
2613
+ "type": "tool_search_output",
2614
+ "call_id": "ts1",
2615
+ "status": "completed",
2616
+ "execution": "client",
2617
+ "tools": [
2618
+ {
2619
+ "type": "function",
2620
+ "name": "x",
2621
+ "description": "d",
2622
+ "parameters": {
2623
+ "type": "object",
2624
+ "properties": {}
2625
+ },
2626
+ "strict": false
2627
+ }
2628
+ ]
2629
+ },
2630
+ {
2631
+ "type": "custom_tool_call_output",
2632
+ "call_id": "cu1",
2633
+ "name": "apply_patch",
2634
+ "output": "patched"
2635
+ },
2636
+ {
2637
+ "type": "function_call_output",
2638
+ "call_id": "sk1",
2639
+ "output": "skill"
2640
+ },
2641
+ {
2642
+ "type": "tool_search_call",
2643
+ "call_id": "sk1_load",
2644
+ "execution": "client",
2645
+ "arguments": {
2646
+ "names": [
2647
+ "x"
2648
+ ]
2649
+ }
2650
+ },
2651
+ {
2652
+ "type": "tool_search_output",
2653
+ "call_id": "sk1_load",
2654
+ "status": "completed",
2655
+ "execution": "client",
2656
+ "tools": [
2657
+ {
2658
+ "type": "function",
2659
+ "name": "x",
2660
+ "description": "d",
2661
+ "parameters": {
2662
+ "type": "object",
2663
+ "properties": {}
2664
+ },
2665
+ "strict": false
2666
+ }
2667
+ ]
2668
+ },
2669
+ {
2670
+ "type": "tool_search_call",
2671
+ "call_id": "ts9",
2672
+ "execution": "client",
2673
+ "arguments": {}
2674
+ },
2675
+ {
2676
+ "type": "tool_search_output",
2677
+ "call_id": "ts9",
2678
+ "status": "completed",
2679
+ "execution": "client",
2680
+ "tools": []
2681
+ },
2682
+ {
2683
+ "type": "function_call_output",
2684
+ "call_id": "f2",
2685
+ "output": "file"
2686
+ },
2687
+ {
2688
+ "type": "message",
2689
+ "role": "user",
2690
+ "content": [
2691
+ {
2692
+ "type": "input_text",
2693
+ "text": "next"
2694
+ }
2695
+ ],
2696
+ "internal_chat_message_metadata_passthrough": {}
2697
+ }
2698
+ ],
2699
+ "tool_choice": "auto",
2700
+ "parallel_tool_calls": true,
2701
+ "reasoning": {
2702
+ "effort": "medium",
2703
+ "summary": "auto"
2704
+ },
2705
+ "store": false,
2706
+ "stream": true,
2707
+ "stream_options": {
2708
+ "reasoning_summary_delivery": "sequential_cutoff"
2709
+ },
2710
+ "include": [
2711
+ "reasoning.encrypted_content"
2712
+ ],
2713
+ "prompt_cache_key": "sess-1",
2714
+ "text": {
2715
+ "verbosity": "low"
2716
+ }
2717
+ },
2718
+ "first-party/openai-oauth/own-search-output": {
2719
+ "model": "gpt-5.5",
2720
+ "instructions": "You are a helpful assistant.",
2721
+ "input": [
2722
+ {
2723
+ "type": "message",
2724
+ "role": "user",
2725
+ "content": [
2726
+ {
2727
+ "type": "input_text",
2728
+ "text": "go"
2729
+ }
2730
+ ],
2731
+ "internal_chat_message_metadata_passthrough": {}
2732
+ },
2733
+ {
2734
+ "type": "tool_search_call",
2735
+ "call_id": "ts1",
2736
+ "execution": "client",
2737
+ "arguments": {
2738
+ "names": [
2739
+ "x"
2740
+ ]
2741
+ }
2742
+ },
2743
+ {
2744
+ "type": "custom_tool_call",
2745
+ "call_id": "cu1",
2746
+ "name": "apply_patch",
2747
+ "input": "P"
2748
+ },
2749
+ {
2750
+ "type": "function_call",
2751
+ "call_id": "fn1",
2752
+ "name": "Read",
2753
+ "arguments": "{\"path\":\"a\"}"
2754
+ },
2755
+ {
2756
+ "type": "tool_search_output",
2757
+ "call_id": "ts1",
2758
+ "status": "completed",
2759
+ "execution": "client",
2760
+ "tools": [
2761
+ {
2762
+ "type": "function",
2763
+ "name": "x",
2764
+ "description": "d",
2765
+ "parameters": {
2766
+ "type": "object",
2767
+ "properties": {}
2768
+ },
2769
+ "strict": false
2770
+ }
2771
+ ]
2772
+ },
2773
+ {
2774
+ "type": "custom_tool_call_output",
2775
+ "call_id": "cu1",
2776
+ "name": "apply_patch",
2777
+ "output": "patched"
2778
+ },
2779
+ {
2780
+ "type": "function_call_output",
2781
+ "call_id": "fn1",
2782
+ "output": "file"
2783
+ },
2784
+ {
2785
+ "type": "message",
2786
+ "role": "user",
2787
+ "content": [
2788
+ {
2789
+ "type": "input_text",
2790
+ "text": "next"
2791
+ }
2792
+ ],
2793
+ "internal_chat_message_metadata_passthrough": {}
2794
+ }
2795
+ ],
2796
+ "tool_choice": "auto",
2797
+ "parallel_tool_calls": true,
2798
+ "reasoning": {
2799
+ "effort": "medium",
2800
+ "summary": "auto"
2801
+ },
2802
+ "store": false,
2803
+ "stream": true,
2804
+ "stream_options": {
2805
+ "reasoning_summary_delivery": "sequential_cutoff"
2806
+ },
2807
+ "include": [
2808
+ "reasoning.encrypted_content"
2809
+ ],
2810
+ "prompt_cache_key": "sess-1",
2811
+ "text": {
2812
+ "verbosity": "low"
2813
+ }
2814
+ },
2815
+ "first-party/openai-oauth/server-replay": {
2816
+ "model": "gpt-5.5",
2817
+ "instructions": "You are a helpful assistant.",
2818
+ "input": [
2819
+ {
2820
+ "type": "message",
2821
+ "role": "user",
2822
+ "content": [
2823
+ {
2824
+ "type": "input_text",
2825
+ "text": "find tools"
2826
+ }
2827
+ ],
2828
+ "internal_chat_message_metadata_passthrough": {}
2829
+ },
2830
+ {
2831
+ "type": "reasoning",
2832
+ "id": "rs_1",
2833
+ "encrypted_content": "ENC",
2834
+ "summary": []
2835
+ },
2836
+ {
2837
+ "type": "tool_search_call",
2838
+ "id": "ts_srv",
2839
+ "call_id": null,
2840
+ "execution": "server",
2841
+ "arguments": {
2842
+ "query": "q"
2843
+ }
2844
+ },
2845
+ {
2846
+ "type": "tool_search_output",
2847
+ "call_id": "ts_srv",
2848
+ "status": "completed",
2849
+ "execution": "client",
2850
+ "tools": []
2851
+ },
2852
+ {
2853
+ "type": "tool_search_output",
2854
+ "id": "tso_srv",
2855
+ "call_id": null,
2856
+ "execution": "server",
2857
+ "tools": []
2858
+ },
2859
+ {
2860
+ "type": "function_call",
2861
+ "call_id": "c1",
2862
+ "name": "Read",
2863
+ "arguments": "{}"
2864
+ },
2865
+ {
2866
+ "type": "function_call_output",
2867
+ "call_id": "c1",
2868
+ "output": "ok"
2869
+ },
2870
+ {
2871
+ "type": "message",
2872
+ "role": "user",
2873
+ "content": [
2874
+ {
2875
+ "type": "input_text",
2876
+ "text": "next"
2877
+ }
2878
+ ],
2879
+ "internal_chat_message_metadata_passthrough": {}
2880
+ }
2881
+ ],
2882
+ "tool_choice": "auto",
2883
+ "parallel_tool_calls": true,
2884
+ "reasoning": {
2885
+ "effort": "medium",
2886
+ "summary": "auto"
2887
+ },
2888
+ "store": false,
2889
+ "stream": true,
2890
+ "stream_options": {
2891
+ "reasoning_summary_delivery": "sequential_cutoff"
2892
+ },
2893
+ "include": [
2894
+ "reasoning.encrypted_content"
2895
+ ],
2896
+ "prompt_cache_key": "sess-1",
2897
+ "text": {
2898
+ "verbosity": "low"
2899
+ }
2900
+ }
2901
+ }