mixdog 0.9.160 → 0.9.162

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 (744) hide show
  1. package/LICENSE +198 -18
  2. package/NOTICE.md +5 -2
  3. package/README.md +179 -69
  4. package/package.json +20 -11
  5. package/scripts/context-renewal-live-check.mjs +105 -0
  6. package/scripts/lib/local-provider-live-scenarios.mjs +22 -0
  7. package/scripts/lib/test-timing-reporter.mjs +38 -0
  8. package/scripts/local-provider-live-check.mjs +141 -0
  9. package/scripts/media-image-live.mjs +143 -0
  10. package/scripts/office/aesthetics-probe.mjs +59 -0
  11. package/scripts/office/author-deck.mjs +56 -0
  12. package/scripts/office/build-pptx-icons.mjs +48 -0
  13. package/scripts/office-live-test-plan.mjs +34 -0
  14. package/scripts/pdf-rotation-stress.mjs +74 -0
  15. package/scripts/perf/cold-reconnect-probe.mjs +109 -0
  16. package/scripts/perf/transcript-baseline.mjs +56 -0
  17. package/scripts/perf/transcript-runtime-probe.mjs +62 -0
  18. package/scripts/prepare-native-assets.mjs +4 -1
  19. package/scripts/release-paths.mjs +8 -38
  20. package/scripts/run-advisory-spec.mjs +6 -0
  21. package/scripts/run-office-live-tests.mjs +51 -18
  22. package/scripts/suite-health.mjs +3 -5
  23. package/scripts/test.mjs +103 -0
  24. package/src/app.mjs +2 -14
  25. package/src/defaults/cycle3-review-prompt.md +32 -14
  26. package/src/defaults/memory-promote-prompt.md +17 -6
  27. package/src/defaults/plugin.json +6 -0
  28. package/src/defaults/skills/browser-use/SKILL.md +242 -0
  29. package/src/defaults/skills/computer-use/SKILL.md +202 -0
  30. package/src/defaults/skills/docx/SKILL.md +61 -0
  31. package/src/defaults/skills/docx/references/native-authoring.md +50 -0
  32. package/src/defaults/skills/goal-management/SKILL.md +59 -0
  33. package/src/defaults/skills/history-recall/SKILL.md +36 -0
  34. package/src/defaults/skills/image/SKILL.md +101 -0
  35. package/src/defaults/skills/local-provider/SKILL.md +119 -0
  36. package/src/defaults/skills/memory-management/SKILL.md +51 -0
  37. package/src/defaults/skills/pdf/SKILL.md +59 -0
  38. package/src/defaults/skills/pptx/SKILL.md +154 -0
  39. package/src/defaults/skills/pptx/references/charts.md +159 -0
  40. package/src/defaults/skills/pptx/references/composition.md +188 -0
  41. package/src/defaults/skills/pptx/references/direction.md +73 -0
  42. package/src/defaults/skills/pptx/references/kit.md +649 -0
  43. package/src/defaults/skills/pptx/references/pictures.md +76 -0
  44. package/src/defaults/skills/pptx/references/review.md +116 -0
  45. package/src/defaults/skills/pptx/references/writing.md +37 -0
  46. package/src/defaults/skills/pptx/scripts/qc-pages.mjs +368 -0
  47. package/src/defaults/skills/pptx/scripts/review-deck.mjs +155 -0
  48. package/src/defaults/skills/pptx/scripts/source-extract.mjs +121 -0
  49. package/src/defaults/skills/setup/SKILL.md +92 -460
  50. package/src/defaults/skills/setup/references/actions.md +128 -0
  51. package/src/defaults/skills/setup/references/surfaces.md +72 -0
  52. package/src/defaults/skills/skill-creator/SKILL.md +209 -0
  53. package/src/defaults/skills/skill-creator/references/design.md +209 -0
  54. package/src/defaults/skills/skill-creator/references/evaluation.md +111 -0
  55. package/src/defaults/skills/skill-creator/references/source-review.md +94 -0
  56. package/src/defaults/skills/skill-creator/scripts/validate-skill.mjs +173 -0
  57. package/src/defaults/skills/video/SKILL.md +70 -0
  58. package/src/defaults/skills/xlsx/SKILL.md +81 -0
  59. package/src/defaults/skills/xlsx/references/model-conventions.md +52 -0
  60. package/src/defaults/skills/xlsx/references/report-design.md +83 -0
  61. package/src/headless-exec.mjs +1 -4
  62. package/src/headless-role.mjs +2 -5
  63. package/src/help.mjs +1 -1
  64. package/src/lib/output-style-meta.cjs +5 -1
  65. package/src/lib/rules-builder.cjs +26 -35
  66. package/src/mixdog-session-runtime.mjs +16 -7
  67. package/src/output-styles/common.md +8 -18
  68. package/src/output-styles/detailed.md +5 -7
  69. package/src/output-styles/extreme-minimal.md +5 -7
  70. package/src/output-styles/minimal.md +5 -6
  71. package/src/output-styles/simple.md +5 -6
  72. package/src/rules/lead/01-general.md +4 -4
  73. package/src/rules/lead/02-persona.md +2 -4
  74. package/src/rules/shared/00-general.md +12 -1
  75. package/src/rules/shared/10-tool-workflow.md +10 -3
  76. package/src/rules/shared/30-exploration.md +2 -1
  77. package/src/rules/shared/35-implementation.md +10 -0
  78. package/src/rules/shared/50-execution.md +10 -0
  79. package/src/rules/shared/75-goal.md +8 -0
  80. package/src/rules/shared/80-memory.md +5 -7
  81. package/src/runtime/agent/orchestrator/agent-runtime/agent-dispatch.mjs +2 -2
  82. package/src/runtime/agent/orchestrator/agent-runtime/agent-loop-policy.mjs +1 -6
  83. package/src/runtime/agent/orchestrator/agent-runtime/cache-strategy.mjs +2 -63
  84. package/src/runtime/agent/orchestrator/agent-runtime/completion-text.mjs +13 -0
  85. package/src/runtime/agent/orchestrator/agent-runtime/session-builder.mjs +0 -1
  86. package/src/runtime/agent/orchestrator/agent-runtime/title-completion.mjs +4 -15
  87. package/src/runtime/agent/orchestrator/agent-trace-format.mjs +1 -1
  88. package/src/runtime/agent/orchestrator/agent-trace-io.mjs +1 -2
  89. package/src/runtime/agent/orchestrator/agent-trace.mjs +3 -4
  90. package/src/runtime/agent/orchestrator/cache-break-trace.mjs +1 -1
  91. package/src/runtime/agent/orchestrator/config.mjs +69 -10
  92. package/src/runtime/agent/orchestrator/context/collect.mjs +176 -71
  93. package/src/runtime/agent/orchestrator/dispatch-persist.mjs +1 -1
  94. package/src/runtime/agent/orchestrator/internal-tools.mjs +0 -5
  95. package/src/runtime/agent/orchestrator/mcp/client.mjs +2 -34
  96. package/src/runtime/agent/orchestrator/providers/account-pool.mjs +111 -0
  97. package/src/runtime/agent/orchestrator/providers/admission-scheduler.mjs +5 -16
  98. package/src/runtime/agent/orchestrator/providers/anthropic-betas.mjs +10 -0
  99. package/src/runtime/agent/orchestrator/providers/anthropic-effort.mjs +7 -0
  100. package/src/runtime/agent/orchestrator/providers/anthropic-fable-history.mjs +77 -0
  101. package/src/runtime/agent/orchestrator/providers/anthropic-leaked-toolcall.mjs +1 -1
  102. package/src/runtime/agent/orchestrator/providers/anthropic-max-tokens.mjs +1 -15
  103. package/src/runtime/agent/orchestrator/providers/anthropic-messages.mjs +14 -63
  104. package/src/runtime/agent/orchestrator/providers/anthropic-model-resolve.mjs +5 -5
  105. package/src/runtime/agent/orchestrator/providers/anthropic-oauth-client-version.mjs +1 -1
  106. package/src/runtime/agent/orchestrator/providers/anthropic-oauth-credentials.mjs +14 -142
  107. package/src/runtime/agent/orchestrator/providers/anthropic-oauth.mjs +109 -49
  108. package/src/runtime/agent/orchestrator/providers/anthropic-thinking-contract.mjs +13 -0
  109. package/src/runtime/agent/orchestrator/providers/anthropic.mjs +55 -44
  110. package/src/runtime/agent/orchestrator/providers/antigravity-oauth-login.mjs +5 -22
  111. package/src/runtime/agent/orchestrator/providers/antigravity-oauth-tokens.mjs +14 -15
  112. package/src/runtime/agent/orchestrator/providers/antigravity-oauth.mjs +2 -85
  113. package/src/runtime/agent/orchestrator/providers/antigravity-request.mjs +91 -0
  114. package/src/runtime/agent/orchestrator/providers/api-usage.mjs +4 -19
  115. package/src/runtime/agent/orchestrator/providers/compat-request-policy.mjs +21 -0
  116. package/src/runtime/agent/orchestrator/providers/cursor-auth.mjs +8 -6
  117. package/src/runtime/agent/orchestrator/providers/cursor-wire-guards.mjs +63 -6
  118. package/src/runtime/agent/orchestrator/providers/cursor-wire-normalization.mjs +12 -7
  119. package/src/runtime/agent/orchestrator/providers/cursor-wire.mjs +27 -7
  120. package/src/runtime/agent/orchestrator/providers/cursor.mjs +16 -10
  121. package/src/runtime/agent/orchestrator/providers/effort-configuration.mjs +150 -0
  122. package/src/runtime/agent/orchestrator/providers/gemini-cache.mjs +1 -1
  123. package/src/runtime/agent/orchestrator/providers/gemini-history-signatures.mjs +29 -0
  124. package/src/runtime/agent/orchestrator/providers/gemini-schema.mjs +5 -4
  125. package/src/runtime/agent/orchestrator/providers/gemini-stream.mjs +5 -6
  126. package/src/runtime/agent/orchestrator/providers/gemini-thinking.mjs +48 -0
  127. package/src/runtime/agent/orchestrator/providers/gemini.mjs +23 -26
  128. package/src/runtime/agent/orchestrator/providers/grok-oauth-login.mjs +5 -36
  129. package/src/runtime/agent/orchestrator/providers/grok-oauth-tokens.mjs +27 -41
  130. package/src/runtime/agent/orchestrator/providers/grok-oauth.mjs +1 -7
  131. package/src/runtime/agent/orchestrator/providers/lib/anthropic-image-input.mjs +105 -0
  132. package/src/runtime/agent/orchestrator/providers/lib/anthropic-request-utils.mjs +50 -94
  133. package/src/runtime/agent/orchestrator/providers/lib/json-memory-cache.mjs +27 -0
  134. package/src/runtime/agent/orchestrator/providers/lib/oauth-pkce.mjs +27 -0
  135. package/src/runtime/agent/orchestrator/providers/lib/oauth-token-utils.mjs +29 -0
  136. package/src/runtime/agent/orchestrator/providers/lib/provider-replay.mjs +10 -6
  137. package/src/runtime/agent/orchestrator/providers/lib/wire-pairing.mjs +143 -0
  138. package/src/runtime/agent/orchestrator/providers/mixdog-local-wire.mjs +25 -0
  139. package/src/runtime/agent/orchestrator/providers/mixdog-local.mjs +79 -0
  140. package/src/runtime/agent/orchestrator/providers/model-catalog-projection.mjs +8 -0
  141. package/src/runtime/agent/orchestrator/providers/model-catalog.mjs +18 -1
  142. package/src/runtime/agent/orchestrator/providers/model-list-sanitize.mjs +2 -2
  143. package/src/runtime/agent/orchestrator/providers/model-service-tiers.mjs +11 -0
  144. package/src/runtime/agent/orchestrator/providers/oauth-credential-probes.mjs +23 -3
  145. package/src/runtime/agent/orchestrator/providers/oauth-usage.mjs +25 -7
  146. package/src/runtime/agent/orchestrator/providers/openai-codex-model.mjs +5 -0
  147. package/src/runtime/agent/orchestrator/providers/openai-compat-presets.mjs +0 -8
  148. package/src/runtime/agent/orchestrator/providers/openai-compat-responses.mjs +208 -0
  149. package/src/runtime/agent/orchestrator/providers/openai-compat-stream.mjs +5 -3
  150. package/src/runtime/agent/orchestrator/providers/openai-compat-wire.mjs +18 -14
  151. package/src/runtime/agent/orchestrator/providers/openai-compat-xai.mjs +1 -1
  152. package/src/runtime/agent/orchestrator/providers/openai-compat.mjs +30 -27
  153. package/src/runtime/agent/orchestrator/providers/openai-direct-request.mjs +18 -0
  154. package/src/runtime/agent/orchestrator/providers/openai-oauth-http-sse.mjs +2 -15
  155. package/src/runtime/agent/orchestrator/providers/openai-oauth-login.mjs +4 -29
  156. package/src/runtime/agent/orchestrator/providers/openai-oauth-ws.mjs +3 -4
  157. package/src/runtime/agent/orchestrator/providers/openai-oauth.mjs +66 -93
  158. package/src/runtime/agent/orchestrator/providers/openai-responses-input.mjs +152 -0
  159. package/src/runtime/agent/orchestrator/providers/openai-responses-payload.mjs +16 -243
  160. package/src/runtime/agent/orchestrator/providers/openai-ws-headers.mjs +1 -36
  161. package/src/runtime/agent/orchestrator/providers/openai-ws-pool.mjs +2 -3
  162. package/src/runtime/agent/orchestrator/providers/openai-ws.mjs +6 -38
  163. package/src/runtime/agent/orchestrator/providers/opencode-go-usage.mjs +7 -20
  164. package/src/runtime/agent/orchestrator/providers/opencode-go.mjs +57 -19
  165. package/src/runtime/agent/orchestrator/providers/registry.mjs +17 -1
  166. package/src/runtime/agent/orchestrator/providers/retry-classifier.mjs +46 -7
  167. package/src/runtime/agent/orchestrator/providers/statusline-route-meta.mjs +0 -5
  168. package/src/runtime/agent/orchestrator/providers/stream-json-pool.mjs +2 -6
  169. package/src/runtime/agent/orchestrator/session/agent-loop.mjs +49 -58
  170. package/src/runtime/agent/orchestrator/session/browser-snapshot-supersession.mjs +1 -1
  171. package/src/runtime/agent/orchestrator/session/cache/scoped-cache.mjs +38 -11
  172. package/src/runtime/agent/orchestrator/session/cache/util.mjs +3 -3
  173. package/src/runtime/agent/orchestrator/session/compact/budget.mjs +1 -112
  174. package/src/runtime/agent/orchestrator/session/compact/constants.mjs +4 -5
  175. package/src/runtime/agent/orchestrator/session/compact/continuation.mjs +2 -2
  176. package/src/runtime/agent/orchestrator/session/compact/execution-tail.mjs +120 -0
  177. package/src/runtime/agent/orchestrator/session/compact/messages.mjs +2 -1
  178. package/src/runtime/agent/orchestrator/session/compact/runner.mjs +27 -11
  179. package/src/runtime/agent/orchestrator/session/compact/summary.mjs +3 -5
  180. package/src/runtime/agent/orchestrator/session/compact/text-utils.mjs +0 -12
  181. package/src/runtime/agent/orchestrator/session/compact.mjs +0 -1
  182. package/src/runtime/agent/orchestrator/session/context-compaction-policy.mjs +18 -24
  183. package/src/runtime/agent/orchestrator/session/context-fingerprint.mjs +54 -0
  184. package/src/runtime/agent/orchestrator/session/context-utils.mjs +9 -59
  185. package/src/runtime/agent/orchestrator/session/eager-dispatch.mjs +4 -5
  186. package/src/runtime/agent/orchestrator/session/evidence-union.mjs +3 -7
  187. package/src/runtime/agent/orchestrator/session/image-strip-recovery.mjs +1 -8
  188. package/src/runtime/agent/orchestrator/session/loop/arg-schema-coerce.mjs +92 -0
  189. package/src/runtime/agent/orchestrator/session/loop/compact-debug.mjs +2 -10
  190. package/src/runtime/agent/orchestrator/session/loop/compact-policy.mjs +35 -71
  191. package/src/runtime/agent/orchestrator/session/loop/fresh-context.mjs +16 -18
  192. package/src/runtime/agent/orchestrator/session/loop/pre-dispatch-deny.mjs +1 -1
  193. package/src/runtime/agent/orchestrator/session/loop/steering.mjs +17 -0
  194. package/src/runtime/agent/orchestrator/session/loop/tool-classify.mjs +5 -2
  195. package/src/runtime/agent/orchestrator/session/loop/tool-exec.mjs +8 -3
  196. package/src/runtime/agent/orchestrator/session/loop/tool-helpers.mjs +9 -3
  197. package/src/runtime/agent/orchestrator/session/manager/ask-session.mjs +90 -58
  198. package/src/runtime/agent/orchestrator/session/manager/compaction-runner.mjs +10 -14
  199. package/src/runtime/agent/orchestrator/session/manager/context-meta.mjs +30 -33
  200. package/src/runtime/agent/orchestrator/session/manager/foreign-pending-messages.mjs +355 -0
  201. package/src/runtime/agent/orchestrator/session/manager/idle-cleanup.mjs +6 -6
  202. package/src/runtime/agent/orchestrator/session/manager/message-sanitize.mjs +1 -1
  203. package/src/runtime/agent/orchestrator/session/manager/pending-message-entry.mjs +324 -0
  204. package/src/runtime/agent/orchestrator/session/manager/pending-messages.mjs +62 -688
  205. package/src/runtime/agent/orchestrator/session/manager/prompt-surface-publish.mjs +35 -0
  206. package/src/runtime/agent/orchestrator/session/manager/prompt-utils.mjs +16 -30
  207. package/src/runtime/agent/orchestrator/session/manager/rules-cache.mjs +38 -81
  208. package/src/runtime/agent/orchestrator/session/manager/rules-source-cache.mjs +61 -0
  209. package/src/runtime/agent/orchestrator/session/manager/session-close.mjs +1 -1
  210. package/src/runtime/agent/orchestrator/session/manager/session-lifecycle.mjs +45 -15
  211. package/src/runtime/agent/orchestrator/session/manager/tool-resolution.mjs +9 -4
  212. package/src/runtime/agent/orchestrator/session/manager/turn-checkpoint-context.mjs +7 -1
  213. package/src/runtime/agent/orchestrator/session/manager/turn-checkpoint-journal.mjs +3 -3
  214. package/src/runtime/agent/orchestrator/session/manager/turn-checkpoint.mjs +2 -28
  215. package/src/runtime/agent/orchestrator/session/manager/usage-metrics.mjs +9 -2
  216. package/src/runtime/agent/orchestrator/session/manager.mjs +1 -0
  217. package/src/runtime/agent/orchestrator/session/provider-prefix-guard.mjs +1 -1
  218. package/src/runtime/agent/orchestrator/session/result-classification.mjs +0 -67
  219. package/src/runtime/agent/orchestrator/session/send-with-recovery.mjs +5 -0
  220. package/src/runtime/agent/orchestrator/session/store/canonical-reader.mjs +62 -0
  221. package/src/runtime/agent/orchestrator/session/store/fs-probe.mjs +1 -20
  222. package/src/runtime/agent/orchestrator/session/store/listing.mjs +60 -9
  223. package/src/runtime/agent/orchestrator/session/store/load-cache.mjs +0 -19
  224. package/src/runtime/agent/orchestrator/session/store/save-worker.mjs +0 -11
  225. package/src/runtime/agent/orchestrator/session/store-summary-reader.mjs +121 -152
  226. package/src/runtime/agent/orchestrator/session/store-summary-visibility.mjs +4 -4
  227. package/src/runtime/agent/orchestrator/session/store-transcript-cache.mjs +131 -0
  228. package/src/runtime/agent/orchestrator/session/store.mjs +20 -46
  229. package/src/runtime/agent/orchestrator/session/synthetic-user-envelope.mjs +133 -0
  230. package/src/runtime/agent/orchestrator/session/thinking-replay-recovery.mjs +1 -4
  231. package/src/runtime/agent/orchestrator/session/token-estimate-floors.mjs +34 -0
  232. package/src/runtime/agent/orchestrator/session/token-estimate.mjs +3 -36
  233. package/src/runtime/agent/orchestrator/session/tool-batch.mjs +4 -0
  234. package/src/runtime/agent/orchestrator/session/tool-result-offload.mjs +20 -5
  235. package/src/runtime/agent/orchestrator/tools/builtin/arg-guard.mjs +1 -7
  236. package/src/runtime/agent/orchestrator/tools/builtin/atomic-write.mjs +2 -1
  237. package/src/runtime/agent/orchestrator/tools/builtin/bash-tool.mjs +1 -1
  238. package/src/runtime/agent/orchestrator/tools/builtin/binary-file.mjs +0 -25
  239. package/src/runtime/agent/orchestrator/tools/builtin/builtin-tools.mjs +7 -5
  240. package/src/runtime/agent/orchestrator/tools/builtin/cache-layers.mjs +2 -7
  241. package/src/runtime/agent/orchestrator/tools/builtin/git-partial-stage.mjs +1 -5
  242. package/src/runtime/agent/orchestrator/tools/builtin/lib/grep-context-expander.mjs +19 -0
  243. package/src/runtime/agent/orchestrator/tools/builtin/lib/search-input-helpers.mjs +1 -2
  244. package/src/runtime/agent/orchestrator/tools/builtin/lib/shell-job-records.mjs +1 -1
  245. package/src/runtime/agent/orchestrator/tools/builtin/list-tool.mjs +26 -2
  246. package/src/runtime/agent/orchestrator/tools/builtin/local-search-telemetry.mjs +0 -9
  247. package/src/runtime/agent/orchestrator/tools/builtin/native-search-client.mjs +0 -20
  248. package/src/runtime/agent/orchestrator/tools/builtin/read-formatting.mjs +0 -6
  249. package/src/runtime/agent/orchestrator/tools/builtin/read-image-resize.mjs +7 -16
  250. package/src/runtime/agent/orchestrator/tools/builtin/read-open.mjs +1 -14
  251. package/src/runtime/agent/orchestrator/tools/builtin/read-range-index.mjs +1 -1
  252. package/src/runtime/agent/orchestrator/tools/builtin/read-single-tool.mjs +5 -22
  253. package/src/runtime/agent/orchestrator/tools/builtin/read-tool.mjs +0 -1
  254. package/src/runtime/agent/orchestrator/tools/builtin/runtime-capabilities.mjs +1 -1
  255. package/src/runtime/agent/orchestrator/tools/builtin/search-admission.mjs +1 -1
  256. package/src/runtime/agent/orchestrator/tools/builtin/search-glob-tool.mjs +17 -75
  257. package/src/runtime/agent/orchestrator/tools/builtin/search-grep-tool.mjs +3 -19
  258. package/src/runtime/agent/orchestrator/tools/builtin/shell-jobs.mjs +4 -57
  259. package/src/runtime/agent/orchestrator/tools/builtin/shell-lossless-compact.mjs +0 -12
  260. package/src/runtime/agent/orchestrator/tools/builtin/shell-output.mjs +1 -1
  261. package/src/runtime/agent/orchestrator/tools/builtin/shell-runtime.mjs +1 -1
  262. package/src/runtime/agent/orchestrator/tools/builtin/snapshot-helpers.mjs +1 -7
  263. package/src/runtime/agent/orchestrator/tools/builtin/snapshot-store.mjs +3 -25
  264. package/src/runtime/agent/orchestrator/tools/builtin.mjs +9 -7
  265. package/src/runtime/agent/orchestrator/tools/code-graph/aggregate-roots.mjs +276 -0
  266. package/src/runtime/agent/orchestrator/tools/code-graph/build.mjs +38 -16
  267. package/src/runtime/agent/orchestrator/tools/code-graph/disk-cache.mjs +11 -3
  268. package/src/runtime/agent/orchestrator/tools/code-graph/dispatch.mjs +23 -355
  269. package/src/runtime/agent/orchestrator/tools/code-graph/exact-file-graph.mjs +92 -0
  270. package/src/runtime/agent/orchestrator/tools/code-graph/graph-binary.mjs +1 -2
  271. package/src/runtime/agent/orchestrator/tools/code-graph/search-references.mjs +1 -11
  272. package/src/runtime/agent/orchestrator/tools/code-graph/search.mjs +2 -4
  273. package/src/runtime/agent/orchestrator/tools/code-graph/symbol-index.mjs +8 -0
  274. package/src/runtime/agent/orchestrator/tools/code-graph-tool-defs.mjs +1 -1
  275. package/src/runtime/agent/orchestrator/tools/graph-binary-fetcher.mjs +51 -124
  276. package/src/runtime/agent/orchestrator/tools/lib/native-spawn-client.mjs +2 -68
  277. package/src/runtime/agent/orchestrator/tools/lib/shell-warm-standby.mjs +7 -14
  278. package/src/runtime/agent/orchestrator/tools/patch/dispatch.mjs +0 -1
  279. package/src/runtime/agent/orchestrator/tools/patch/matcher.mjs +1 -2
  280. package/src/runtime/agent/orchestrator/tools/patch/native-server.mjs +2 -1
  281. package/src/runtime/agent/orchestrator/tools/patch/orchestrator.mjs +1 -1
  282. package/src/runtime/agent/orchestrator/tools/patch/v4a-convert.mjs +2 -14
  283. package/src/runtime/agent/orchestrator/tools/patch-binary-fetcher.mjs +57 -138
  284. package/src/runtime/agent/orchestrator/tools/progress-message.mjs +6 -1
  285. package/src/runtime/agent/orchestrator/tools/shell-command.mjs +2 -2
  286. package/src/runtime/agent/orchestrator/tools/shell-exec-output.mjs +4 -8
  287. package/src/runtime/agent/orchestrator/tools/spawn-binary-fetcher.mjs +45 -122
  288. package/src/runtime/attachments/pdf-extract.mjs +14 -6
  289. package/src/runtime/attachments/pdfjs-runtime.mjs +12 -0
  290. package/src/runtime/attachments/store.mjs +8 -8
  291. package/src/runtime/bridge-discovery.mjs +67 -0
  292. package/src/runtime/browser-bridge/action-schema.d.mts +14 -0
  293. package/src/runtime/browser-bridge/action-schema.mjs +172 -71
  294. package/src/runtime/browser-bridge/browser-action-contract.d.mts +6 -0
  295. package/src/runtime/browser-bridge/browser-action-contract.mjs +30 -6
  296. package/src/runtime/browser-bridge/client.mjs +34 -34
  297. package/src/runtime/browser-bridge/timing.mjs +43 -0
  298. package/src/runtime/browser-bridge/tool-defs.mjs +119 -41
  299. package/src/runtime/channels/lib/boot-profile.mjs +3 -16
  300. package/src/runtime/channels/lib/config.mjs +0 -1
  301. package/src/runtime/channels/lib/fixtures/whisper-server-fixture.mjs +18 -0
  302. package/src/runtime/channels/lib/runtime-paths.mjs +2 -15
  303. package/src/runtime/channels/lib/scheduler.mjs +0 -15
  304. package/src/runtime/channels/lib/voice-runtime-fetcher.mjs +31 -60
  305. package/src/runtime/channels/lib/whisper-port.mjs +52 -0
  306. package/src/runtime/channels/lib/whisper-server.mjs +35 -29
  307. package/src/runtime/channels/lib/worker-main.mjs +2 -30
  308. package/src/runtime/computer-bridge/action-schema.mjs +25 -29
  309. package/src/runtime/computer-bridge/actions.d.mts +6 -0
  310. package/src/runtime/computer-bridge/actions.mjs +76 -0
  311. package/src/runtime/computer-bridge/client.mjs +53 -41
  312. package/src/runtime/computer-bridge/core-actions.mjs +5 -4
  313. package/src/runtime/computer-bridge/error-recovery.mjs +22 -8
  314. package/src/runtime/computer-bridge/limits.d.mts +8 -0
  315. package/src/runtime/computer-bridge/limits.mjs +67 -0
  316. package/src/runtime/computer-bridge/pending-continuation.mjs +53 -0
  317. package/src/runtime/computer-bridge/tool-defs.mjs +9 -16
  318. package/src/runtime/github/client.d.mts +17 -0
  319. package/src/runtime/github/client.mjs +127 -0
  320. package/src/runtime/github/commands.mjs +106 -0
  321. package/src/runtime/github/contract.d.mts +58 -0
  322. package/src/runtime/github/contract.mjs +147 -0
  323. package/src/runtime/github/tool.mjs +64 -0
  324. package/src/runtime/local-provider/asset-installer.mjs +261 -0
  325. package/src/runtime/local-provider/asset-storage.mjs +36 -0
  326. package/src/runtime/local-provider/catalog.mjs +150 -0
  327. package/src/runtime/local-provider/context-settings.mjs +37 -0
  328. package/src/runtime/local-provider/data/manifest.json +49 -0
  329. package/src/runtime/local-provider/gguf-header.mjs +92 -0
  330. package/src/runtime/local-provider/hardware.mjs +83 -0
  331. package/src/runtime/local-provider/hugging-face.mjs +111 -0
  332. package/src/runtime/local-provider/input-capabilities.mjs +19 -0
  333. package/src/runtime/local-provider/install-progress.mjs +77 -0
  334. package/src/runtime/local-provider/managed-runtime.mjs +45 -0
  335. package/src/runtime/local-provider/model-maintenance.mjs +114 -0
  336. package/src/runtime/local-provider/model-state.mjs +53 -0
  337. package/src/runtime/local-provider/registered-models.mjs +67 -0
  338. package/src/runtime/local-provider/request-queue.mjs +125 -0
  339. package/src/runtime/local-provider/resumable-installations.mjs +27 -0
  340. package/src/runtime/local-provider/server-process.mjs +209 -0
  341. package/src/runtime/local-provider/server.mjs +119 -0
  342. package/src/runtime/media/adapters/codex-image.mjs +30 -12
  343. package/src/runtime/media/adapters/gemini-image.mjs +15 -15
  344. package/src/runtime/media/catalog-errors.mjs +32 -0
  345. package/src/runtime/media/catalog.mjs +240 -0
  346. package/src/runtime/media/defaults.mjs +55 -0
  347. package/src/runtime/media/download.mjs +1 -1
  348. package/src/runtime/media/jobs.mjs +13 -4
  349. package/src/runtime/media/lanes.mjs +77 -106
  350. package/src/runtime/media/renditions.mjs +1 -1
  351. package/src/runtime/media/store.mjs +1 -1
  352. package/src/runtime/media/tool-defs.mjs +40 -0
  353. package/src/runtime/media/tool.mjs +322 -0
  354. package/src/runtime/memory/index.mjs +11 -29
  355. package/src/runtime/memory/lib/core-memory-candidates.mjs +14 -7
  356. package/src/runtime/memory/lib/core-memory-file.mjs +17 -8
  357. package/src/runtime/memory/lib/core-memory-index.mjs +77 -0
  358. package/src/runtime/memory/lib/core-memory-store.mjs +43 -11
  359. package/src/runtime/memory/lib/cycle-scheduler.mjs +16 -2
  360. package/src/runtime/memory/lib/embedding-model-config.mjs +2 -4
  361. package/src/runtime/memory/lib/embedding-provider.mjs +11 -0
  362. package/src/runtime/memory/lib/embedding-reindex.mjs +2 -4
  363. package/src/runtime/memory/lib/generated-memory-management.mjs +98 -0
  364. package/src/runtime/memory/lib/http-router.mjs +14 -14
  365. package/src/runtime/memory/lib/http-wire.mjs +1 -1
  366. package/src/runtime/memory/lib/memory-action-handlers.mjs +28 -32
  367. package/src/runtime/memory/lib/memory-authority-review.mjs +89 -0
  368. package/src/runtime/memory/lib/memory-config-flags.mjs +8 -12
  369. package/src/runtime/memory/lib/memory-cycle-requests.mjs +0 -40
  370. package/src/runtime/memory/lib/memory-cycle1.mjs +1 -5
  371. package/src/runtime/memory/lib/memory-cycle2-gate.mjs +23 -40
  372. package/src/runtime/memory/lib/memory-cycle2-mutations.mjs +35 -4
  373. package/src/runtime/memory/lib/memory-cycle2.mjs +25 -5
  374. package/src/runtime/memory/lib/memory-cycle3-evidence.mjs +117 -0
  375. package/src/runtime/memory/lib/memory-cycle3-generated.mjs +76 -0
  376. package/src/runtime/memory/lib/memory-cycle3-guards.mjs +272 -0
  377. package/src/runtime/memory/lib/memory-cycle3.mjs +102 -239
  378. package/src/runtime/memory/lib/memory-embed.mjs +1 -4
  379. package/src/runtime/memory/lib/memory-score.mjs +22 -47
  380. package/src/runtime/memory/lib/memory-source-evidence.mjs +34 -0
  381. package/src/runtime/memory/lib/memory-text-utils.mjs +7 -1
  382. package/src/runtime/memory/lib/memory.mjs +8 -8
  383. package/src/runtime/memory/lib/pg/adapter.mjs +2 -2
  384. package/src/runtime/memory/lib/phase-merge-verdicts.mjs +54 -0
  385. package/src/runtime/memory/lib/prompt-surface-file.mjs +99 -0
  386. package/src/runtime/memory/lib/query-handlers.mjs +4 -1
  387. package/src/runtime/memory/lib/recall-embedding-readiness.mjs +1 -1
  388. package/src/runtime/memory/lib/recall-format.mjs +15 -7
  389. package/src/runtime/memory/lib/recall-order.mjs +6 -0
  390. package/src/runtime/memory/lib/runtime-fetcher.mjs +25 -52
  391. package/src/runtime/memory/lib/session-ingest.mjs +4 -4
  392. package/src/runtime/memory/lib/trace-mode.mjs +1 -1
  393. package/src/runtime/memory/lib/trace-store.mjs +1 -10
  394. package/src/runtime/memory/lib/transcript-ingest.mjs +2 -2
  395. package/src/runtime/memory/tool-defs.mjs +9 -4
  396. package/src/runtime/office/README.md +39 -9
  397. package/src/runtime/office/authoring/pptx-author-action.mjs +166 -0
  398. package/src/runtime/office/authoring/pptx-author-session.mjs +112 -0
  399. package/src/runtime/office/authoring/pptx-brief.mjs +270 -0
  400. package/src/runtime/office/authoring/pptx-contact-sheet.mjs +54 -0
  401. package/src/runtime/office/authoring/pptx-icons.json +1 -0
  402. package/src/runtime/office/authoring/pptx-icons.mjs +50 -0
  403. package/src/runtime/office/authoring/pptx-kit.mjs +33 -0
  404. package/src/runtime/office/authoring/pptx-receipt.mjs +431 -0
  405. package/src/runtime/office/authoring/pptx-review-artifacts.mjs +32 -0
  406. package/src/runtime/office/authoring/pptx-script-contract.mjs +15 -0
  407. package/src/runtime/office/authoring/pptx-script-normalize.mjs +244 -0
  408. package/src/runtime/office/authoring/pptx-script-runner.mjs +142 -0
  409. package/src/runtime/office/bench/assurance-benchmark.mjs +5 -95
  410. package/src/runtime/office/bench/bench-support.mjs +1 -1
  411. package/src/runtime/office/bench/benchmark.mjs +1 -1
  412. package/src/runtime/office/bench/contract-benchmark.mjs +2 -2
  413. package/src/runtime/office/bench/deck-bench.mjs +78 -0
  414. package/src/runtime/office/bench/quality-live-benchmark.mjs +3 -201
  415. package/src/runtime/office/capabilities.mjs +111 -51
  416. package/src/runtime/office/com/com-adapter.mjs +56 -48
  417. package/src/runtime/office/com/office-com-cleanup.ps1 +126 -0
  418. package/src/runtime/office/com/office-com-host.ps1 +369 -100
  419. package/src/runtime/office/com/office-com-session-host.ps1 +117 -90
  420. package/src/runtime/office/com/office-session-client.mjs +91 -0
  421. package/src/runtime/office/com/office-word-formatting.ps1 +23 -0
  422. package/src/runtime/office/core/journal.mjs +1 -1
  423. package/src/runtime/office/core/office-actions-batch.mjs +35 -3
  424. package/src/runtime/office/core/office-actions-inspect.mjs +7 -0
  425. package/src/runtime/office/core/office-actions-lifecycle.mjs +87 -28
  426. package/src/runtime/office/core/office-actions-render.mjs +53 -81
  427. package/src/runtime/office/core/office-actions.mjs +1 -1
  428. package/src/runtime/office/core/office-core.mjs +33 -4
  429. package/src/runtime/office/core/office-recalculation.mjs +18 -0
  430. package/src/runtime/office/core/office-render-preview.mjs +164 -0
  431. package/src/runtime/office/core/office-sessions.mjs +135 -3
  432. package/src/runtime/office/core/office-transactions.mjs +1 -0
  433. package/src/runtime/office/core/pptx-page-cache.mjs +70 -0
  434. package/src/runtime/office/core/snapshot-contract.mjs +28 -0
  435. package/src/runtime/office/design/composition-system.mjs +1 -1
  436. package/src/runtime/office/design/design-art-direction.mjs +51 -42
  437. package/src/runtime/office/design/design-creative-director.mjs +6 -46
  438. package/src/runtime/office/design/design-discipline.mjs +330 -0
  439. package/src/runtime/office/design/design-system.mjs +30 -101
  440. package/src/runtime/office/design/design-tokens.mjs +32 -30
  441. package/src/runtime/office/design/docx/design-docx-components.mjs +16 -8
  442. package/src/runtime/office/design/docx/design-docx.mjs +24 -22
  443. package/src/runtime/office/design/docx/document-typography.mjs +10 -0
  444. package/src/runtime/office/design/library/design-library-core.mjs +5 -6
  445. package/src/runtime/office/design/library/design-library.mjs +1 -1
  446. package/src/runtime/office/design/native-design.mjs +31 -0
  447. package/src/runtime/office/design/xlsx/design-xlsx-components.mjs +4 -3
  448. package/src/runtime/office/design/xlsx/design-xlsx.mjs +7 -23
  449. package/src/runtime/office/index.mjs +89 -27
  450. package/src/runtime/office/pdf/pdf-adapter.mjs +590 -357
  451. package/src/runtime/office/pdf/pdf-analysis.mjs +368 -64
  452. package/src/runtime/office/pdf/pdf-draw.mjs +91 -0
  453. package/src/runtime/office/pdf/pdf-fonts.mjs +91 -0
  454. package/src/runtime/office/pdf/pdf-forms.mjs +265 -0
  455. package/src/runtime/office/pdf/pdf-render.mjs +42 -36
  456. package/src/runtime/office/pdf/pdf-safety.mjs +50 -0
  457. package/src/runtime/office/pdf/pdf-search.mjs +187 -0
  458. package/src/runtime/office/pdf/pdf-security.mjs +7 -3
  459. package/src/runtime/office/pdf/pdf-writer.mjs +195 -0
  460. package/src/runtime/office/portable/docx-formatting.mjs +110 -0
  461. package/src/runtime/office/portable/docx-revisions.mjs +474 -0
  462. package/src/runtime/office/portable/docx-runs.mjs +293 -0
  463. package/src/runtime/office/portable/docx-tracked-edits.mjs +165 -0
  464. package/src/runtime/office/portable/font-provisioner.mjs +210 -0
  465. package/src/runtime/office/portable/ooxml-validator.mjs +26 -3
  466. package/src/runtime/office/portable/portable-cells.mjs +10 -1
  467. package/src/runtime/office/portable/portable-chart-faults.mjs +96 -0
  468. package/src/runtime/office/portable/portable-chart.mjs +3 -3
  469. package/src/runtime/office/portable/portable-docx-parts.mjs +97 -0
  470. package/src/runtime/office/portable/portable-docx-xml.mjs +12 -10
  471. package/src/runtime/office/portable/portable-docx.mjs +219 -60
  472. package/src/runtime/office/portable/portable-opc.mjs +11 -3
  473. package/src/runtime/office/portable/portable-package.mjs +1 -1
  474. package/src/runtime/office/portable/portable-pivot.mjs +1 -1
  475. package/src/runtime/office/portable/portable-pptx-chart.mjs +4 -2
  476. package/src/runtime/office/portable/portable-pptx-charts.mjs +5 -19
  477. package/src/runtime/office/portable/portable-pptx-core.mjs +14 -3
  478. package/src/runtime/office/portable/portable-pptx-package.mjs +62 -5
  479. package/src/runtime/office/portable/portable-pptx-shapes.mjs +1 -1
  480. package/src/runtime/office/portable/portable-pptx.mjs +11 -2
  481. package/src/runtime/office/portable/portable-sheet-page.mjs +134 -0
  482. package/src/runtime/office/portable/portable-sheet-styles.mjs +70 -0
  483. package/src/runtime/office/portable/portable-slide-shapes.mjs +1 -1
  484. package/src/runtime/office/portable/portable-snapshot.mjs +254 -27
  485. package/src/runtime/office/portable/portable-soffice.mjs +45 -1
  486. package/src/runtime/office/portable/portable-validation.mjs +73 -34
  487. package/src/runtime/office/portable/portable-xlsx.mjs +7 -43
  488. package/src/runtime/office/portable/portable-xml.mjs +20 -0
  489. package/src/runtime/office/portable/pptx-relations.mjs +92 -0
  490. package/src/runtime/office/portable/pptx-targets.mjs +30 -0
  491. package/src/runtime/office/portable/review-editability.mjs +111 -0
  492. package/src/runtime/office/portable/text-metrics.mjs +232 -28
  493. package/src/runtime/office/portable/xlsx-assertions.mjs +3 -15
  494. package/src/runtime/office/portable/xlsx-audit-support.mjs +132 -0
  495. package/src/runtime/office/portable/xlsx-contract.mjs +49 -5
  496. package/src/runtime/office/portable/xlsx-conventions.mjs +75 -0
  497. package/src/runtime/office/portable/xlsx-formula-audit.mjs +247 -0
  498. package/src/runtime/office/portable/xlsx-sheet-hygiene.mjs +100 -0
  499. package/src/runtime/office/quality/assurance-checklist.mjs +3 -3
  500. package/src/runtime/office/quality/assurance-rendered.mjs +18 -3
  501. package/src/runtime/office/quality/assurance-structure.mjs +86 -15
  502. package/src/runtime/office/quality/design-aesthetics-metrics.mjs +271 -0
  503. package/src/runtime/office/quality/design-aesthetics.mjs +46 -218
  504. package/src/runtime/office/quality/design-deck-diversity.mjs +31 -1
  505. package/src/runtime/office/quality/design-review-authored.mjs +113 -0
  506. package/src/runtime/office/quality/design-review-critique.mjs +120 -0
  507. package/src/runtime/office/quality/design-review.mjs +145 -117
  508. package/src/runtime/office/quality/document-acceptance.mjs +67 -0
  509. package/src/runtime/office/quality/document-design-review.mjs +35 -0
  510. package/src/runtime/office/quality/inline-audit.mjs +142 -0
  511. package/src/runtime/office/quality/pptx-deck-rubric.mjs +93 -0
  512. package/src/runtime/office/quality/pptx-slide-roles.mjs +136 -0
  513. package/src/runtime/office/quality/presentation-acceptance.mjs +25 -0
  514. package/src/runtime/office/quality/quality-pipeline.mjs +131 -5
  515. package/src/runtime/office/quality/quality-score.mjs +11 -2
  516. package/src/runtime/office/quality/render-air.mjs +114 -0
  517. package/src/runtime/office/tool-defs.mjs +37 -31
  518. package/src/runtime/shared/agent-route-config.mjs +3 -3
  519. package/src/runtime/shared/atomic-file.mjs +27 -20
  520. package/src/runtime/shared/background-tasks.mjs +2 -37
  521. package/src/runtime/shared/boot-profile.mjs +26 -0
  522. package/src/runtime/shared/bounded-download.mjs +40 -0
  523. package/src/runtime/shared/bridge-tool-args.mjs +1 -1
  524. package/src/runtime/shared/buffered-appender.mjs +1 -1
  525. package/src/runtime/shared/child-guardian.mjs +1 -5
  526. package/src/runtime/shared/child-spawn-gate.mjs +2 -2
  527. package/src/runtime/shared/clean.mjs +5 -0
  528. package/src/runtime/shared/config.mjs +8 -30
  529. package/src/runtime/shared/edit-tool-dialect.mjs +19 -6
  530. package/src/runtime/shared/env.mjs +41 -0
  531. package/src/runtime/shared/err-text.mjs +15 -5
  532. package/src/runtime/shared/error-presentation.mjs +101 -0
  533. package/src/runtime/shared/extension-scopes.mjs +139 -0
  534. package/src/runtime/shared/json-file.mjs +6 -0
  535. package/src/runtime/shared/llm/cost.mjs +2 -2
  536. package/src/runtime/shared/llm/http-agent.mjs +18 -6
  537. package/src/runtime/shared/markdown-frontmatter.mjs +2 -4
  538. package/src/runtime/shared/memory-snapshot.mjs +0 -4
  539. package/src/runtime/shared/native-asset.mjs +149 -0
  540. package/src/runtime/shared/numbers.mjs +12 -0
  541. package/src/runtime/shared/object.mjs +7 -0
  542. package/src/runtime/shared/owner-fair-gate.mjs +1 -5
  543. package/src/runtime/shared/plugin-manifest.mjs +44 -0
  544. package/src/runtime/shared/plugin-metadata.mjs +32 -0
  545. package/src/runtime/shared/pristine-execution.mjs +4 -7
  546. package/src/runtime/shared/process-lifecycle.mjs +1 -5
  547. package/src/runtime/shared/provider-accounts.mjs +190 -0
  548. package/src/runtime/shared/provider-auth-binding.mjs +29 -1
  549. package/src/runtime/shared/resource-admission.mjs +4 -7
  550. package/src/runtime/shared/service-discovery.mjs +1 -22
  551. package/src/runtime/shared/session-runtime-health.mjs +15 -1
  552. package/src/runtime/shared/skill-document.mjs +36 -8
  553. package/src/runtime/shared/skill-tool-dependencies.mjs +113 -0
  554. package/src/runtime/shared/task-notification-envelope.mjs +0 -25
  555. package/src/runtime/shared/time-format.mjs +1 -1
  556. package/src/runtime/shared/tool-execution-contract.mjs +29 -7
  557. package/src/runtime/shared/tool-result-summary.mjs +1 -1
  558. package/src/runtime/shared/tool-surface.mjs +25 -22
  559. package/src/runtime/shared/tool-workload-gates.mjs +1 -5
  560. package/src/runtime/shared/transcript-metadata.mjs +39 -0
  561. package/src/runtime/shared/transcript-writer.mjs +5 -2
  562. package/src/runtime/shared/transport-error-text.mjs +128 -0
  563. package/src/runtime/shared/turn-snapshot-store.mjs +81 -7
  564. package/src/runtime/shared/turn-snapshot.mjs +147 -19
  565. package/src/runtime/shared/user-data-guard.mjs +1 -73
  566. package/src/runtime/web-search/index.mjs +8 -47
  567. package/src/runtime/web-search/lib/document-content.mjs +131 -0
  568. package/src/runtime/web-search/lib/fetch-pipeline.mjs +155 -0
  569. package/src/runtime/web-search/lib/formatter.mjs +55 -3
  570. package/src/runtime/web-search/lib/http-fetch.mjs +78 -76
  571. package/src/runtime/web-search/lib/ssrf-guard.mjs +5 -4
  572. package/src/runtime/web-search/lib/state.mjs +0 -12
  573. package/src/runtime/web-search/lib/web-tools.mjs +88 -399
  574. package/src/session-runtime/agent-tool-routing.mjs +56 -0
  575. package/src/session-runtime/boot-profile.mjs +6 -18
  576. package/src/session-runtime/bridge-first-use-gate.mjs +65 -0
  577. package/src/session-runtime/builtin-features.d.mts +8 -0
  578. package/src/session-runtime/builtin-features.mjs +62 -5
  579. package/src/session-runtime/config-helpers.mjs +1 -1
  580. package/src/session-runtime/context-status.mjs +49 -11
  581. package/src/session-runtime/cwd-plugins.mjs +2 -1
  582. package/src/session-runtime/effort.mjs +28 -32
  583. package/src/session-runtime/extension-scopes.mjs +94 -0
  584. package/src/session-runtime/fs-utils.mjs +1 -3
  585. package/src/session-runtime/goal-facade-api.mjs +52 -0
  586. package/src/session-runtime/goal-reminder.mjs +12 -5
  587. package/src/session-runtime/goal-runtime.mjs +193 -355
  588. package/src/session-runtime/goal-storage.mjs +82 -0
  589. package/src/session-runtime/goal-tasks.mjs +125 -0
  590. package/src/session-runtime/goal-text.mjs +69 -5
  591. package/src/session-runtime/goal-tool-defs.mjs +87 -0
  592. package/src/session-runtime/hitch-profile.mjs +1 -1
  593. package/src/session-runtime/hook-payload.mjs +32 -0
  594. package/src/session-runtime/internal-tool-executor.mjs +194 -0
  595. package/src/session-runtime/lifecycle-api.mjs +24 -2
  596. package/src/session-runtime/local-model-api.mjs +22 -0
  597. package/src/session-runtime/local-provider-settings.mjs +55 -0
  598. package/src/session-runtime/mcp-glue.mjs +8 -3
  599. package/src/session-runtime/media-api.mjs +14 -0
  600. package/src/session-runtime/model-capabilities.mjs +3 -15
  601. package/src/session-runtime/model-recency.mjs +3 -0
  602. package/src/session-runtime/model-route-api.mjs +26 -51
  603. package/src/session-runtime/native-teardown.mjs +42 -0
  604. package/src/session-runtime/notification-bus.mjs +13 -1
  605. package/src/session-runtime/plugin-mcp.mjs +9 -30
  606. package/src/session-runtime/provider-auth-api.mjs +46 -17
  607. package/src/session-runtime/provider-models.mjs +5 -0
  608. package/src/session-runtime/provider-readiness.mjs +131 -0
  609. package/src/session-runtime/provider-request-snapshot.mjs +0 -19
  610. package/src/session-runtime/resource-api.mjs +70 -3
  611. package/src/session-runtime/runtime-core.mjs +186 -707
  612. package/src/session-runtime/runtime-facade.mjs +112 -0
  613. package/src/session-runtime/runtime-modules.mjs +56 -0
  614. package/src/session-runtime/runtime-review-api.mjs +19 -0
  615. package/src/session-runtime/runtime-tunables.mjs +1 -1
  616. package/src/session-runtime/session-lifecycle.mjs +14 -4
  617. package/src/session-runtime/session-route-policy.mjs +26 -0
  618. package/src/session-runtime/session-text.mjs +3 -32
  619. package/src/session-runtime/session-turn-api.mjs +16 -4
  620. package/src/session-runtime/settings-api.mjs +78 -4
  621. package/src/session-runtime/setup-tool/executor.mjs +320 -0
  622. package/src/session-runtime/setup-tool/tool-defs.mjs +165 -0
  623. package/src/session-runtime/skill-tool-loading.mjs +64 -0
  624. package/src/session-runtime/skills-api.mjs +77 -17
  625. package/src/session-runtime/tool-catalog-data.mjs +4 -3
  626. package/src/session-runtime/tool-catalog-schema.mjs +1 -16
  627. package/src/session-runtime/tool-catalog.mjs +11 -8
  628. package/src/session-runtime/tool-defs.mjs +2 -2
  629. package/src/session-runtime/tool-policy-refresh.mjs +4 -1
  630. package/src/session-runtime/tool-profile.mjs +1 -0
  631. package/src/session-runtime/tool-surface.mjs +10 -0
  632. package/src/session-runtime/workflow-agents-api.mjs +2 -1
  633. package/src/session-runtime/workflow.mjs +2 -2
  634. package/src/standalone/agent-tool/helpers.mjs +31 -7
  635. package/src/standalone/agent-tool/lead-worker-index.mjs +3 -27
  636. package/src/standalone/agent-tool/notify.mjs +1 -0
  637. package/src/standalone/agent-tool/worker-index.mjs +1 -25
  638. package/src/standalone/agent-tool.mjs +0 -24
  639. package/src/standalone/channel-admin.mjs +1 -42
  640. package/src/standalone/channel-transport.mjs +21 -4
  641. package/src/standalone/daemon-boot-coordinator.mjs +14 -0
  642. package/src/standalone/daemon.mjs +26 -14
  643. package/src/standalone/desktop-service-registry.mjs +239 -0
  644. package/src/standalone/fair-call-scheduler.mjs +1 -4
  645. package/src/standalone/hook-bus/config.mjs +1 -1
  646. package/src/standalone/hook-bus.mjs +11 -0
  647. package/src/standalone/plugin-admin.mjs +5 -15
  648. package/src/standalone/provider-admin.mjs +120 -64
  649. package/src/standalone/seeds.mjs +62 -18
  650. package/src/standalone/session-attachment-pool.mjs +127 -0
  651. package/src/standalone/session-client.mjs +51 -669
  652. package/src/standalone/session-protocol.mjs +17 -1
  653. package/src/standalone/session-proxy.mjs +538 -0
  654. package/src/standalone/session-runtime-inline-host.mjs +10 -1
  655. package/src/standalone/session-runtime-worker.mjs +13 -3
  656. package/src/standalone/session-service/agent-tree.mjs +477 -0
  657. package/src/standalone/session-service/project-catalog.mjs +86 -0
  658. package/src/standalone/session-service/projection.mjs +295 -0
  659. package/src/standalone/session-service-api.mjs +56 -0
  660. package/src/standalone/session-service.mjs +153 -1087
  661. package/src/standalone/session-state-projection.mjs +57 -0
  662. package/src/standalone/session-transport.mjs +17 -2
  663. package/src/standalone/session-wire-values.mjs +54 -0
  664. package/src/standalone/session-wire.mjs +1 -1
  665. package/src/standalone/test-fixtures/browser-lifecycle-desktop.mjs +3 -0
  666. package/src/standalone/usage-dashboard.mjs +3 -30
  667. package/src/tui/App.jsx +14 -0
  668. package/src/tui/app/app-format.mjs +4 -12
  669. package/src/tui/app/app-view.jsx +1 -0
  670. package/src/tui/app/core-memory-picker.mjs +4 -2
  671. package/src/tui/app/extension-pickers.mjs +20 -4
  672. package/src/tui/app/input-parsers.mjs +9 -23
  673. package/src/tui/app/model-options.mjs +7 -5
  674. package/src/tui/app/prompt-submit.mjs +3 -21
  675. package/src/tui/app/provider-setup-picker.mjs +24 -76
  676. package/src/tui/app/transcript-row-estimate.mjs +0 -1
  677. package/src/tui/app/transcript-window.mjs +2 -13
  678. package/src/tui/app/usage-context-panels.mjs +12 -5
  679. package/src/tui/app/use-transcript-activity.mjs +1 -1
  680. package/src/tui/app/use-transcript-window.mjs +1 -1
  681. package/src/tui/components/ContextPanel.jsx +8 -7
  682. package/src/tui/components/StatusLine.jsx +6 -26
  683. package/src/tui/dist/index.mjs +5847 -5530
  684. package/src/tui/index.jsx +3 -1
  685. package/src/tui/lib/voice-setup.mjs +1 -0
  686. package/src/tui/markdown/format-token.mjs +0 -5
  687. package/src/tui/markdown/streaming-markdown.mjs +2 -157
  688. package/src/tui/prompt-history-store.mjs +0 -13
  689. package/src/tui/session/agent-envelope.mjs +38 -5
  690. package/src/tui/session/agent-job-feed.mjs +8 -0
  691. package/src/tui/session/boot-profile.mjs +2 -14
  692. package/src/tui/session/context-state.mjs +13 -71
  693. package/src/tui/session/goal-continuation.mjs +7 -11
  694. package/src/tui/session/goal-turn-state.mjs +26 -0
  695. package/src/tui/session/notification-plan.mjs +8 -0
  696. package/src/tui/session/render-frame-source.mjs +22 -0
  697. package/src/tui/session/render-timing.mjs +13 -3
  698. package/src/tui/session/session-api-ext.mjs +49 -41
  699. package/src/tui/session/session-api.mjs +40 -4
  700. package/src/tui/session/session-stats.mjs +7 -41
  701. package/src/tui/session/transcript-spill.mjs +2 -83
  702. package/src/tui/session/turn-aggregate-cards.mjs +252 -0
  703. package/src/tui/session/turn-deferred-cards.mjs +127 -0
  704. package/src/tui/session/turn.mjs +82 -396
  705. package/src/tui/session-local.mjs +26 -79
  706. package/src/ui/context-measurement.mjs +71 -0
  707. package/src/ui/model-display.mjs +57 -1
  708. package/src/ui/statusline-agents.mjs +1 -5
  709. package/src/ui/statusline-format.mjs +5 -3
  710. package/src/ui/statusline-segments.mjs +1 -5
  711. package/src/ui/statusline.mjs +21 -45
  712. package/src/ui/streaming-markdown-heal.mjs +147 -0
  713. package/src/vendor/statusline/bin/statusline-route.mjs +1 -1
  714. package/src/vendor/statusline/src/gateway/route-meta.mjs +1 -1
  715. package/src/workflows/default/WORKFLOW.md +3 -3
  716. package/src/workflows/solo/WORKFLOW.md +3 -3
  717. package/src/runtime/agent/orchestrator/agent-runtime/commit-message-completion.mjs +0 -67
  718. package/src/runtime/agent/orchestrator/providers/lib/env-utils.mjs +0 -15
  719. package/src/runtime/agent/orchestrator/session/compact/file-reattach.mjs +0 -112
  720. package/src/runtime/agent/orchestrator/session/compact/handoff.mjs +0 -476
  721. package/src/runtime/agent/orchestrator/session/loop/env.mjs +0 -14
  722. package/src/runtime/agent/orchestrator/session/manager/env-utils.mjs +0 -8
  723. package/src/runtime/office/bench/freeform-live-benchmark.mjs +0 -792
  724. package/src/runtime/office/core/office-candidate-actions.mjs +0 -459
  725. package/src/runtime/office/design/design-freeform-board.mjs +0 -409
  726. package/src/runtime/office/design/design-layout-grammar.mjs +0 -618
  727. package/src/runtime/office/design/design-layout-tournament.mjs +0 -163
  728. package/src/runtime/office/design/design-reference-genome.mjs +0 -132
  729. package/src/runtime/office/design/design-reference-visual-catalog.mjs +0 -130
  730. package/src/runtime/office/design/pptx/design-pptx-authored-project.mjs +0 -172
  731. package/src/runtime/office/design/pptx/design-pptx-authored-scene.mjs +0 -436
  732. package/src/runtime/office/design/pptx/design-pptx-executive-revisions.mjs +0 -429
  733. package/src/runtime/office/design/pptx/design-pptx-executive-scenes.mjs +0 -304
  734. package/src/runtime/office/design/pptx/design-pptx-executive.mjs +0 -336
  735. package/src/runtime/office/design/pptx/design-pptx-plan.mjs +0 -1020
  736. package/src/runtime/office/design/pptx/design-pptx-primitives.mjs +0 -94
  737. package/src/runtime/office/design/pptx/design-pptx-review-gate.mjs +0 -199
  738. package/src/runtime/office/design/pptx/design-pptx-scene-builders.mjs +0 -27
  739. package/src/runtime/office/design/pptx/design-pptx-semantic-flow.mjs +0 -111
  740. package/src/runtime/office/design/pptx/design-pptx-semantic-visuals.mjs +0 -995
  741. package/src/runtime/office/design/pptx/design-pptx-stack.mjs +0 -58
  742. package/src/runtime/office/design/pptx/design-pptx.mjs +0 -777
  743. package/src/runtime/office/quality/design-frontier-review.mjs +0 -279
  744. package/src/session-runtime/env.mjs +0 -16
package/LICENSE CHANGED
@@ -1,21 +1,201 @@
1
- MIT License
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
2
188
 
3
189
  Copyright (c) 2026 tribgames
4
190
 
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
package/NOTICE.md CHANGED
@@ -1,6 +1,9 @@
1
1
  # NOTICE
2
2
 
3
- Mixdog itself is MIT-licensed (see `LICENSE`). The sections below cover the
3
+ Mixdog
4
+ Copyright (c) 2026 tribgames
5
+
6
+ Mixdog itself is licensed under Apache-2.0 (see `LICENSE`). The sections below cover the
4
7
  third-party code and data that Mixdog actually carries, kept here in one place
5
8
  so the individual source files stay free of scattered attribution comments.
6
9
 
@@ -115,5 +118,5 @@ the derived files. Full license text: `LICENSES/Apache-2.0.txt`
115
118
 
116
119
  The Windows password importer is a separate process built from the
117
120
  pinned source and Mixdog wrapper recorded in
118
- `LICENSES/browser-import-NOTICE.txt`. It is not linked into the MIT desktop
121
+ `LICENSES/browser-import-NOTICE.txt`. It is not linked into the Apache-2.0 desktop
119
122
  application. Its complete GPL text ships beside the two native executables.
package/README.md CHANGED
@@ -2,19 +2,33 @@
2
2
 
3
3
  [![npm](https://img.shields.io/npm/v/mixdog)](https://www.npmjs.com/package/mixdog)
4
4
  ![node](https://img.shields.io/badge/node-%3E%3D22-brightgreen)
5
- ![license](https://img.shields.io/badge/license-MIT-blue)
6
-
7
- ## Better results. Less cost. More work.
8
-
9
- Mixdog is an efficiency-first AI coding harness designed to deliver equal or
10
- better performance with less context, time, and cost—so you can complete more
11
- work within the same API budget or subscription quota.
12
-
13
- With simple setup and an intuitive UX, Mixdog makes powerful orchestration,
14
- parallel tasks, and seamless work across terminal, desktop, and web accessible
15
- to everyone—from beginners to experts.
16
-
17
- **The easiest way to get more out of every coding model.**
5
+ ![license](https://img.shields.io/badge/license-Apache--2.0-blue)
6
+
7
+ ## The most efficient harness. The easiest way to use it.
8
+
9
+ Mixdog's goal is simple: make the most efficient AI coding harness the
10
+ easiest to use. Get more work done with the same model and budget, without
11
+ needing to become an expert in agent infrastructure.
12
+
13
+ That means more than an easy first run. Advanced capabilities should be easy
14
+ to access, configure, and manage as your work grows—from choosing a model
15
+ to coordinating agents and shaping your own workflows.
16
+
17
+ - **Efficiency that turns into more work.** Cache-aware context, focused
18
+ tools, and compaction reduce overhead so more of your budget goes toward
19
+ the task. The same-model Terminal-Bench comparisons below show comparable
20
+ or better results with less context and lower priced cost.
21
+ - **Advanced capabilities, within easy reach.** Guided setup and visual
22
+ controls help you assign models by role, configure workflows, and work
23
+ with parallel agent sessions without building your own agent stack.
24
+ - **Simple to manage. Flexible when you need it.** Manage providers, agents,
25
+ workflows, and extensions in one app. Customize agent definitions and
26
+ operating rules, or add skills, MCP servers, hooks, and plugins as needed.
27
+
28
+ Use supported subscription accounts, API keys, or Mixdog's built-in Local Provider.
29
+ Take the same agent beyond code into browsers, Windows apps, documents,
30
+ images, and video—and continue live sessions across terminal, Desktop,
31
+ and a paired browser on your computer or phone.
18
32
 
19
33
  ## Get started
20
34
 
@@ -31,7 +45,11 @@ security warning.
31
45
 
32
46
  ### CLI
33
47
 
34
- Requires Node.js >= 22.
48
+ Requires Node.js 22.19+ (22.x) or 24+.
49
+
50
+ CLI native assets support Windows x64, macOS x64/ARM64, and Linux x64/ARM64.
51
+ Windows ARM64 Node.js is not supported. On ARM Windows, use x64 Node.js under
52
+ Windows x64 emulation; native ARM64 installation is not available.
35
53
 
36
54
  ```bash
37
55
  npm install -g mixdog
@@ -67,13 +85,14 @@ for far less cost.
67
85
  - **79/89** vs Claude Code's **77/89**
68
86
  - **1.16×** faster — 610s vs 708s wall time per trial
69
87
 
70
- Every run uses the official Harbor verifier, fast mode off, and a 272k context
71
- window; task failures and agent timeouts are never retried. The Sol comparison
88
+ These published runs use the official Harbor verifier with fast mode off;
89
+ task failures and agent timeouts are never retried. The Sol comparison
72
90
  follows the protocol the official Terminal-Bench leaderboard requires on both
73
91
  sides — all 89 tasks repeated five times (`k=5`, 445 trials each); the
74
92
  Opus-side runs are single passes (`k=1`, 89 trials each). Speed is the full
75
93
  trial wall clock, and cost values both sides at the same current API list
76
- rates.
94
+ rates, not actual subscription charges or invoices. These are measurements of
95
+ the pinned source revision, not a new benchmark of every subsequent release.
77
96
 
78
97
  The leaderboard is not accepting community submissions, so every run here ships
79
98
  its raw artifacts instead — Harbor verdicts, official verifier output, pinned
@@ -81,28 +100,60 @@ task checksums, and the usage snapshots behind every cost figure — alongside
81
100
  the harness, presets, and metric scripts that recompute each number above:
82
101
  [`benchmarks/terminal-bench-2.1/`](benchmarks/terminal-bench-2.1/).
83
102
 
84
- ## Highlights
85
-
86
- - **Multi-provider routing** — assign different providers and models by role.
87
- - **Shared live sessions** — move between the TUI, desktop windows, and paired
88
- browsers without starting a second copy of the session.
89
- - **Efficient context** cache-aware prompts, compaction, resumable sessions,
90
- and focused repo-native tools.
91
- - **Complete coding surface** — read, search, edit, test, review, web search,
92
- MCP, skills, hooks, and plugins.
93
- - **Local memory** — semantic and lexical recall with project-scoped context
94
- and multilingual retrieval.
95
- - **Browser Use** a logged-in Chromium pane the agent can drive: tabs,
96
- forms, downloads, and snapshots, with one-time Chrome profile import
97
- including cookies and passwords.
98
- - **Computer Use** — agent control of the Windows desktop through screen
99
- capture, accessibility, OCR, and a strict guarded input contract.
100
- - **Office documents** author and edit Word, Excel, and PowerPoint files
101
- with model-authored design plans, charts, and assurance-checked output.
102
- - **Encrypted remote access** pair the installable web app with Desktop and
103
- use Mixdog from a browser or phone over authenticated E2EE.
104
- - **Desktop coding app** agent panes, Monaco editor, Git, terminals, file
105
- explorer, Studio, automation, voice input, and settings in one app.
103
+ ## What you can do
104
+
105
+ ### Build, test, and review
106
+
107
+ Search repositories with text and symbol-aware tools, edit files, run tests
108
+ and background commands, and review changes. Desktop brings the agent together
109
+ with a Monaco editor, Git, terminals, and a file explorer. Use workflows and
110
+ role-specific models to organize work, and extend the toolset with MCP
111
+ servers, skills, hooks, and plugins.
112
+
113
+ The GitHub integration manages repositories, issues, pull requests and reviews,
114
+ Actions, releases, and notifications. Source Control commits use a manually
115
+ entered summary and optional description; there is no built-in AI commit-message
116
+ generator. See [Git & GitHub](docs/git-github-integration.md) for supported
117
+ operations and permission requirements.
118
+
119
+ ### Keep longer work moving
120
+
121
+ Resume saved chats, recall prior work through local semantic and lexical
122
+ search, and retain project-scoped preferences across sessions. Compaction
123
+ keeps long conversations manageable. For an explicitly requested longer-running
124
+ objective, **Goals** track completion conditions and tasks, support time limits
125
+ and automatic continuation, and let you pause or resume the work.
126
+
127
+ ### Work beyond the repository
128
+
129
+ - **Browser Use** — operate signed-in Chromium pages, forms, tabs, and
130
+ downloads. On Windows, import a Chrome profile, including cookies and
131
+ passwords; cookie and password import require administrator approval and
132
+ a build with the native importer. Session cookies are encrypted with the
133
+ OS keychain and restored on launch when encryption is available.
134
+ Developer controls share the same pages and sign-in through
135
+ `browser_devtools`.
136
+ - **Computer Use on Windows** — operate native apps through accessibility,
137
+ screenshots, OCR, keyboard, and pointer input with guarded execution.
138
+ - **Documents** — create and edit Word, Excel, and PowerPoint files, work
139
+ with PDFs, and inspect rendered previews and document quality checks.
140
+ - **Image and video Studio** — generate and edit images, generate short video
141
+ clips, and keep the results in a persistent local gallery. Continue a clip
142
+ by using its last frame as the reference for a new generation; this carries
143
+ over the pose, not the original motion or camera trajectory. Available
144
+ models and controls depend on your signed-in provider routes.
145
+
146
+ Browser Use and Computer Use are opt-in capabilities. In interactive sessions,
147
+ each asks for approval before its first live call by default; approval covers
148
+ the rest of that session, and a restart asks again. Headless and agent-owned
149
+ sessions without an approval UI are not gated by this first-use prompt.
150
+
151
+ ### Continue from another screen
152
+
153
+ Desktop, TUI, and paired browsers share live sessions rather than starting
154
+ independent copies. The installable remote web app connects to Desktop over
155
+ authenticated end-to-end encryption, so you can follow and continue work from
156
+ a computer or phone.
106
157
 
107
158
  ## Providers
108
159
 
@@ -110,17 +161,30 @@ Mixdog supports subscription OAuth and API-key routes, including:
110
161
 
111
162
  - Anthropic API keys and Claude account OAuth
112
163
  - OpenAI API keys and ChatGPT/Codex account OAuth
113
- - Google Gemini and Antigravity OAuth
164
+ - Google Gemini API keys and Antigravity OAuth
114
165
  - xAI API keys and Grok account OAuth
115
166
  - OpenRouter API keys and its unified model catalog
116
167
  - Experimental Cursor account OAuth
117
168
  - DeepSeek and OpenCode Go
118
- - OpenAI-compatible APIs
119
- - Ollama and LM Studio
169
+ - Mixdog's built-in Local Provider
120
170
 
121
171
  The model picker combines live provider catalogs with model metadata for
122
172
  context limits, pricing, tool support, reasoning, and recency.
123
173
 
174
+ The supported provider list above is not an arbitrary OpenAI-compatible
175
+ endpoint registry. The former Ollama and LM Studio routes have been retired.
176
+
177
+ ### Local Provider
178
+
179
+ Download and run models directly in Mixdog, without managing a separate model
180
+ server. The managed runtime currently requires **Windows x64 and an NVIDIA
181
+ GPU**, with enough VRAM for the selected model.
182
+
183
+ Ask in chat to add a local model; Mixdog checks your hardware and guides
184
+ installation. **Extensions → Plugin → Local Provider** manages installed
185
+ models, download progress and resumption, and automatic unloading when idle.
186
+ Installed models are available through the `mixdog-local` provider.
187
+
124
188
  ## Run
125
189
 
126
190
  ```bash
@@ -136,7 +200,7 @@ mixdog --workflow solo
136
200
  # Use read-only tools
137
201
  mixdog --readonly
138
202
 
139
- # Enable remote and channel features
203
+ # Enable remote mode
140
204
  mixdog --remote
141
205
 
142
206
  # Run onboarding again
@@ -148,7 +212,9 @@ Run `mixdog --help` for the complete option reference.
148
212
  ## Headless exec
149
213
 
150
214
  `mixdog exec` runs one non-interactive, single-model session with ephemeral
151
- configuration. It requires an explicit provider and model:
215
+ configuration and no agent delegation. It requires an explicit provider and
216
+ model. It does not load the host's behavioral configuration, personal memory,
217
+ prior sessions, user profile, skills, MCP servers, or plugins:
152
218
 
153
219
  ```bash
154
220
  mixdog exec --provider anthropic-oauth --model claude-opus-5 "fix the failing test"
@@ -156,17 +222,21 @@ mixdog exec --provider openai-oauth --model gpt-5.6-sol --effort xhigh --fast "r
156
222
  mixdog exec --provider openai-oauth --model gpt-5.6-sol --json "fix the failing test"
157
223
  ```
158
224
 
159
- Web search and memory are disabled by default in headless runs. Enable them
160
- per run when needed:
225
+ Web search and page retrieval are disabled by default. Enable them per run
226
+ when needed:
161
227
 
162
228
  ```bash
163
229
  mixdog exec --provider openai-oauth --model gpt-5.6-sol --web-search "research this issue"
164
- mixdog exec --provider openai-oauth --model gpt-5.6-sol --memory "continue the previous work"
165
230
  ```
166
231
 
167
- Without `--web-search`, shell child processes use an offline network policy
168
- while loopback remains available. `--json` emits timestamped JSONL events to
169
- stdout; diagnostics remain on stderr.
232
+ Disabling web search does **not** block ordinary shell networking: package
233
+ managers, Git clients, and other commands can still access the network.
234
+ Headless exec is not an offline sandbox.
235
+
236
+ `--memory`, `--workflow`, `--readonly`, `--remote`, and `--onboarding` are not
237
+ supported by `mixdog exec`. Use an interactive session for personal memory and
238
+ saved-work continuation. `--json` emits timestamped JSONL events to stdout;
239
+ diagnostics remain on stderr.
170
240
 
171
241
  ## TUI commands
172
242
 
@@ -174,11 +244,13 @@ stdout; diagnostics remain on stderr.
174
244
  /clear start a fresh chat
175
245
  /project switch the current project
176
246
  /resume resume a saved chat
247
+ /inherit carry this conversation into a new session on the current model
177
248
  /compact compact older conversation context
249
+ /goal start, inspect, pause, or resume a durable session Goal
178
250
  /autoclear manage idle-time context clearing
179
251
  /context inspect the current context surface
180
252
  /usage show provider quota and balance
181
- /providers configure authentication and local endpoints
253
+ /providers configure provider authentication
182
254
  /model choose the main provider and model
183
255
  /websearch choose the web search route
184
256
  /workflow choose the active workflow
@@ -192,7 +264,7 @@ stdout; diagnostics remain on stderr.
192
264
  /skills choose a skill for the next request
193
265
  /plugins manage local plugin integrations
194
266
  /setting open runtime settings
195
- /profile set your title and response language
267
+ /profile set your title, development experience, and response language
196
268
  /update check for updates
197
269
  /doctor diagnose installation health
198
270
  /quit quit the TUI
@@ -202,38 +274,59 @@ Workflows and agents are Markdown definition packs (`WORKFLOW.md`, `AGENT.md`).
202
274
  Built-in packs ship with Mixdog; custom packs live under the Mixdog data
203
275
  directory.
204
276
 
277
+ **Solo** is the default workflow: the Lead does the work without delegating.
278
+ Choose **Cowork** (`mixdog --workflow default`) for parallel agent delegation.
279
+ Running multiple independent Desktop sessions is separate from delegating
280
+ work to agents within one session.
281
+
282
+ To start a time-bounded Goal, for example:
283
+
284
+ ```text
285
+ /goal Fix the failing tests --time 1h
286
+ /goal status
287
+ /goal pause
288
+ /goal resume
289
+ ```
290
+
205
291
  ## Desktop app
206
292
 
207
- Mixdog Desktop runs the same agent runtime as the CLI:
293
+ Mixdog Desktop runs the same agent runtime as the CLI. In the **Sessions**
294
+ panel, choose **New task** for agent work or **New Studio** for image and video
295
+ work. The **Projects** panel has **Project** and **Workflow** tabs for managing
296
+ repositories, workflow packs, and agent definitions.
297
+
298
+ The workspace includes:
208
299
 
209
300
  - Split panes for parallel, independently routed agent sessions
210
301
  - Live session handoff between the TUI, desktop windows, and paired browsers
211
302
  - Monaco editor, LSP integration, diffs, and turn-by-turn edit review
212
- - Git staging, commits, branches, and generated commit messages
303
+ - Git staging, commits with manually entered messages, and branches
304
+ - GitHub repositories, issues, pull requests, reviews, Actions, releases,
305
+ and notifications
213
306
  - File explorer with previews, thumbnails, search, and drag-and-drop
214
307
  - Integrated terminal tabs using the local system shell
215
- - Browser Use pane with agent control and Chromium profile import
308
+ - Browser Use pane with agent control and Chrome profile import on Windows
216
309
  - Computer Use on Windows with guarded native input
217
- - Office document authoring with rendered previews
310
+ - Word, Excel, PowerPoint, and PDF tools with rendered previews
218
311
  - Image and video generation Studio with a persistent local gallery
219
- - Visual workflow, agent, schedule, and webhook editors
312
+ - Visual workflow, agent, schedule, and webhook editors, plus session Goal
313
+ progress and controls
220
314
  - Voice dictation with an optional local transcription runtime
221
- - Extensions hub with guided setup for Git, Memory, Browser Use, Computer
222
- Use, Office, and voice
315
+ - Extensions hub with guided setup for Git & GitHub, Memory, Browser Use,
316
+ Computer Use, Office, Local Provider, and voice
223
317
  - Provider setup, usage, git identity, and remote pairing settings
224
318
 
319
+ In **Extensions**, the **Plugin** tab manages integrations and built-in
320
+ capabilities; the **Skill** tab lets you add and manage skills and MCP servers.
321
+ Language servers start on demand when installed locally or on your system;
322
+ Mixdog does not download them automatically. See
323
+ [language server setup](docs/language-servers.md).
324
+
225
325
  The paired remote web app is installable on desktop and mobile browsers. It
226
326
  uses an authenticated end-to-end encrypted connection before session state,
227
327
  terminal data, files, or operation requests cross the relay, and adds mobile
228
328
  share-target intake, push notifications, and remote Browser Use.
229
329
 
230
- For desktop development:
231
-
232
- ```bash
233
- cd apps/desktop
234
- npm run dev
235
- ```
236
-
237
330
  ## Data and configuration
238
331
 
239
332
  Mixdog uses `~/.mixdog` as its home root and `~/.mixdog/data` for runtime data
@@ -259,11 +352,27 @@ npm start
259
352
 
260
353
  npm run smoke
261
354
  npm run smoke:all
262
- npm run test:tool-contracts
355
+ npm test # discovered fast-lane tests
356
+ npm test -- src/runtime/memory # narrow to one path
357
+ npm run test:slow # *.slow.test.mjs
358
+ npm run test:live # built-artifact or live-system checks
263
359
  npm run build:tui
264
360
  npm run audit:models
265
361
  ```
266
362
 
363
+ For desktop development, install the root dependencies above, then:
364
+
365
+ ```bash
366
+ cd apps/desktop
367
+ npm install
368
+ npm run dev
369
+ ```
370
+
371
+ Both packages discover `*.test.mjs` and `*-test.mjs` under their `src/` and
372
+ `scripts/` directories. Fast, slow, and live tests run in separate lanes;
373
+ live checks need their corresponding built artifacts or services. See
374
+ [testing practices](docs/testing.md) for details.
375
+
267
376
  Main directories:
268
377
 
269
378
  ```text
@@ -273,9 +382,10 @@ apps/relay/ remote web app and relay
273
382
  native/ native process, search, patch, and support binaries
274
383
  scripts/ tests, diagnostics, benchmarks, and build scripts
275
384
  benchmarks/ reproducible benchmark harnesses, results, and raw artifacts
276
- vendor/ vendored runtime components
385
+ src/vendor/ vendored runtime components
277
386
  ```
278
387
 
279
388
  ## License
280
389
 
281
- MIT
390
+ Mixdog is licensed under [Apache-2.0](LICENSE).
391
+ Third-party components retain their respective licenses; see [NOTICE.md](NOTICE.md).