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.
- package/LICENSE +198 -18
- package/NOTICE.md +5 -2
- package/README.md +179 -69
- package/package.json +20 -11
- package/scripts/context-renewal-live-check.mjs +105 -0
- package/scripts/lib/local-provider-live-scenarios.mjs +22 -0
- package/scripts/lib/test-timing-reporter.mjs +38 -0
- package/scripts/local-provider-live-check.mjs +141 -0
- package/scripts/media-image-live.mjs +143 -0
- package/scripts/office/aesthetics-probe.mjs +59 -0
- package/scripts/office/author-deck.mjs +56 -0
- package/scripts/office/build-pptx-icons.mjs +48 -0
- package/scripts/office-live-test-plan.mjs +34 -0
- package/scripts/pdf-rotation-stress.mjs +74 -0
- package/scripts/perf/cold-reconnect-probe.mjs +109 -0
- package/scripts/perf/transcript-baseline.mjs +56 -0
- package/scripts/perf/transcript-runtime-probe.mjs +62 -0
- package/scripts/prepare-native-assets.mjs +4 -1
- package/scripts/release-paths.mjs +8 -38
- package/scripts/run-advisory-spec.mjs +6 -0
- package/scripts/run-office-live-tests.mjs +51 -18
- package/scripts/suite-health.mjs +3 -5
- package/scripts/test.mjs +103 -0
- package/src/app.mjs +2 -14
- package/src/defaults/cycle3-review-prompt.md +32 -14
- package/src/defaults/memory-promote-prompt.md +17 -6
- package/src/defaults/plugin.json +6 -0
- package/src/defaults/skills/browser-use/SKILL.md +242 -0
- package/src/defaults/skills/computer-use/SKILL.md +202 -0
- package/src/defaults/skills/docx/SKILL.md +61 -0
- package/src/defaults/skills/docx/references/native-authoring.md +50 -0
- package/src/defaults/skills/goal-management/SKILL.md +59 -0
- package/src/defaults/skills/history-recall/SKILL.md +36 -0
- package/src/defaults/skills/image/SKILL.md +101 -0
- package/src/defaults/skills/local-provider/SKILL.md +119 -0
- package/src/defaults/skills/memory-management/SKILL.md +51 -0
- package/src/defaults/skills/pdf/SKILL.md +59 -0
- package/src/defaults/skills/pptx/SKILL.md +154 -0
- package/src/defaults/skills/pptx/references/charts.md +159 -0
- package/src/defaults/skills/pptx/references/composition.md +188 -0
- package/src/defaults/skills/pptx/references/direction.md +73 -0
- package/src/defaults/skills/pptx/references/kit.md +649 -0
- package/src/defaults/skills/pptx/references/pictures.md +76 -0
- package/src/defaults/skills/pptx/references/review.md +116 -0
- package/src/defaults/skills/pptx/references/writing.md +37 -0
- package/src/defaults/skills/pptx/scripts/qc-pages.mjs +368 -0
- package/src/defaults/skills/pptx/scripts/review-deck.mjs +155 -0
- package/src/defaults/skills/pptx/scripts/source-extract.mjs +121 -0
- package/src/defaults/skills/setup/SKILL.md +92 -460
- package/src/defaults/skills/setup/references/actions.md +128 -0
- package/src/defaults/skills/setup/references/surfaces.md +72 -0
- package/src/defaults/skills/skill-creator/SKILL.md +209 -0
- package/src/defaults/skills/skill-creator/references/design.md +209 -0
- package/src/defaults/skills/skill-creator/references/evaluation.md +111 -0
- package/src/defaults/skills/skill-creator/references/source-review.md +94 -0
- package/src/defaults/skills/skill-creator/scripts/validate-skill.mjs +173 -0
- package/src/defaults/skills/video/SKILL.md +70 -0
- package/src/defaults/skills/xlsx/SKILL.md +81 -0
- package/src/defaults/skills/xlsx/references/model-conventions.md +52 -0
- package/src/defaults/skills/xlsx/references/report-design.md +83 -0
- package/src/headless-exec.mjs +1 -4
- package/src/headless-role.mjs +2 -5
- package/src/help.mjs +1 -1
- package/src/lib/output-style-meta.cjs +5 -1
- package/src/lib/rules-builder.cjs +26 -35
- package/src/mixdog-session-runtime.mjs +16 -7
- package/src/output-styles/common.md +8 -18
- package/src/output-styles/detailed.md +5 -7
- package/src/output-styles/extreme-minimal.md +5 -7
- package/src/output-styles/minimal.md +5 -6
- package/src/output-styles/simple.md +5 -6
- package/src/rules/lead/01-general.md +4 -4
- package/src/rules/lead/02-persona.md +2 -4
- package/src/rules/shared/00-general.md +12 -1
- package/src/rules/shared/10-tool-workflow.md +10 -3
- package/src/rules/shared/30-exploration.md +2 -1
- package/src/rules/shared/35-implementation.md +10 -0
- package/src/rules/shared/50-execution.md +10 -0
- package/src/rules/shared/75-goal.md +8 -0
- package/src/rules/shared/80-memory.md +5 -7
- package/src/runtime/agent/orchestrator/agent-runtime/agent-dispatch.mjs +2 -2
- package/src/runtime/agent/orchestrator/agent-runtime/agent-loop-policy.mjs +1 -6
- package/src/runtime/agent/orchestrator/agent-runtime/cache-strategy.mjs +2 -63
- package/src/runtime/agent/orchestrator/agent-runtime/completion-text.mjs +13 -0
- package/src/runtime/agent/orchestrator/agent-runtime/session-builder.mjs +0 -1
- package/src/runtime/agent/orchestrator/agent-runtime/title-completion.mjs +4 -15
- package/src/runtime/agent/orchestrator/agent-trace-format.mjs +1 -1
- package/src/runtime/agent/orchestrator/agent-trace-io.mjs +1 -2
- package/src/runtime/agent/orchestrator/agent-trace.mjs +3 -4
- package/src/runtime/agent/orchestrator/cache-break-trace.mjs +1 -1
- package/src/runtime/agent/orchestrator/config.mjs +69 -10
- package/src/runtime/agent/orchestrator/context/collect.mjs +176 -71
- package/src/runtime/agent/orchestrator/dispatch-persist.mjs +1 -1
- package/src/runtime/agent/orchestrator/internal-tools.mjs +0 -5
- package/src/runtime/agent/orchestrator/mcp/client.mjs +2 -34
- package/src/runtime/agent/orchestrator/providers/account-pool.mjs +111 -0
- package/src/runtime/agent/orchestrator/providers/admission-scheduler.mjs +5 -16
- package/src/runtime/agent/orchestrator/providers/anthropic-betas.mjs +10 -0
- package/src/runtime/agent/orchestrator/providers/anthropic-effort.mjs +7 -0
- package/src/runtime/agent/orchestrator/providers/anthropic-fable-history.mjs +77 -0
- package/src/runtime/agent/orchestrator/providers/anthropic-leaked-toolcall.mjs +1 -1
- package/src/runtime/agent/orchestrator/providers/anthropic-max-tokens.mjs +1 -15
- package/src/runtime/agent/orchestrator/providers/anthropic-messages.mjs +14 -63
- package/src/runtime/agent/orchestrator/providers/anthropic-model-resolve.mjs +5 -5
- package/src/runtime/agent/orchestrator/providers/anthropic-oauth-client-version.mjs +1 -1
- package/src/runtime/agent/orchestrator/providers/anthropic-oauth-credentials.mjs +14 -142
- package/src/runtime/agent/orchestrator/providers/anthropic-oauth.mjs +109 -49
- package/src/runtime/agent/orchestrator/providers/anthropic-thinking-contract.mjs +13 -0
- package/src/runtime/agent/orchestrator/providers/anthropic.mjs +55 -44
- package/src/runtime/agent/orchestrator/providers/antigravity-oauth-login.mjs +5 -22
- package/src/runtime/agent/orchestrator/providers/antigravity-oauth-tokens.mjs +14 -15
- package/src/runtime/agent/orchestrator/providers/antigravity-oauth.mjs +2 -85
- package/src/runtime/agent/orchestrator/providers/antigravity-request.mjs +91 -0
- package/src/runtime/agent/orchestrator/providers/api-usage.mjs +4 -19
- package/src/runtime/agent/orchestrator/providers/compat-request-policy.mjs +21 -0
- package/src/runtime/agent/orchestrator/providers/cursor-auth.mjs +8 -6
- package/src/runtime/agent/orchestrator/providers/cursor-wire-guards.mjs +63 -6
- package/src/runtime/agent/orchestrator/providers/cursor-wire-normalization.mjs +12 -7
- package/src/runtime/agent/orchestrator/providers/cursor-wire.mjs +27 -7
- package/src/runtime/agent/orchestrator/providers/cursor.mjs +16 -10
- package/src/runtime/agent/orchestrator/providers/effort-configuration.mjs +150 -0
- package/src/runtime/agent/orchestrator/providers/gemini-cache.mjs +1 -1
- package/src/runtime/agent/orchestrator/providers/gemini-history-signatures.mjs +29 -0
- package/src/runtime/agent/orchestrator/providers/gemini-schema.mjs +5 -4
- package/src/runtime/agent/orchestrator/providers/gemini-stream.mjs +5 -6
- package/src/runtime/agent/orchestrator/providers/gemini-thinking.mjs +48 -0
- package/src/runtime/agent/orchestrator/providers/gemini.mjs +23 -26
- package/src/runtime/agent/orchestrator/providers/grok-oauth-login.mjs +5 -36
- package/src/runtime/agent/orchestrator/providers/grok-oauth-tokens.mjs +27 -41
- package/src/runtime/agent/orchestrator/providers/grok-oauth.mjs +1 -7
- package/src/runtime/agent/orchestrator/providers/lib/anthropic-image-input.mjs +105 -0
- package/src/runtime/agent/orchestrator/providers/lib/anthropic-request-utils.mjs +50 -94
- package/src/runtime/agent/orchestrator/providers/lib/json-memory-cache.mjs +27 -0
- package/src/runtime/agent/orchestrator/providers/lib/oauth-pkce.mjs +27 -0
- package/src/runtime/agent/orchestrator/providers/lib/oauth-token-utils.mjs +29 -0
- package/src/runtime/agent/orchestrator/providers/lib/provider-replay.mjs +10 -6
- package/src/runtime/agent/orchestrator/providers/lib/wire-pairing.mjs +143 -0
- package/src/runtime/agent/orchestrator/providers/mixdog-local-wire.mjs +25 -0
- package/src/runtime/agent/orchestrator/providers/mixdog-local.mjs +79 -0
- package/src/runtime/agent/orchestrator/providers/model-catalog-projection.mjs +8 -0
- package/src/runtime/agent/orchestrator/providers/model-catalog.mjs +18 -1
- package/src/runtime/agent/orchestrator/providers/model-list-sanitize.mjs +2 -2
- package/src/runtime/agent/orchestrator/providers/model-service-tiers.mjs +11 -0
- package/src/runtime/agent/orchestrator/providers/oauth-credential-probes.mjs +23 -3
- package/src/runtime/agent/orchestrator/providers/oauth-usage.mjs +25 -7
- package/src/runtime/agent/orchestrator/providers/openai-codex-model.mjs +5 -0
- package/src/runtime/agent/orchestrator/providers/openai-compat-presets.mjs +0 -8
- package/src/runtime/agent/orchestrator/providers/openai-compat-responses.mjs +208 -0
- package/src/runtime/agent/orchestrator/providers/openai-compat-stream.mjs +5 -3
- package/src/runtime/agent/orchestrator/providers/openai-compat-wire.mjs +18 -14
- package/src/runtime/agent/orchestrator/providers/openai-compat-xai.mjs +1 -1
- package/src/runtime/agent/orchestrator/providers/openai-compat.mjs +30 -27
- package/src/runtime/agent/orchestrator/providers/openai-direct-request.mjs +18 -0
- package/src/runtime/agent/orchestrator/providers/openai-oauth-http-sse.mjs +2 -15
- package/src/runtime/agent/orchestrator/providers/openai-oauth-login.mjs +4 -29
- package/src/runtime/agent/orchestrator/providers/openai-oauth-ws.mjs +3 -4
- package/src/runtime/agent/orchestrator/providers/openai-oauth.mjs +66 -93
- package/src/runtime/agent/orchestrator/providers/openai-responses-input.mjs +152 -0
- package/src/runtime/agent/orchestrator/providers/openai-responses-payload.mjs +16 -243
- package/src/runtime/agent/orchestrator/providers/openai-ws-headers.mjs +1 -36
- package/src/runtime/agent/orchestrator/providers/openai-ws-pool.mjs +2 -3
- package/src/runtime/agent/orchestrator/providers/openai-ws.mjs +6 -38
- package/src/runtime/agent/orchestrator/providers/opencode-go-usage.mjs +7 -20
- package/src/runtime/agent/orchestrator/providers/opencode-go.mjs +57 -19
- package/src/runtime/agent/orchestrator/providers/registry.mjs +17 -1
- package/src/runtime/agent/orchestrator/providers/retry-classifier.mjs +46 -7
- package/src/runtime/agent/orchestrator/providers/statusline-route-meta.mjs +0 -5
- package/src/runtime/agent/orchestrator/providers/stream-json-pool.mjs +2 -6
- package/src/runtime/agent/orchestrator/session/agent-loop.mjs +49 -58
- package/src/runtime/agent/orchestrator/session/browser-snapshot-supersession.mjs +1 -1
- package/src/runtime/agent/orchestrator/session/cache/scoped-cache.mjs +38 -11
- package/src/runtime/agent/orchestrator/session/cache/util.mjs +3 -3
- package/src/runtime/agent/orchestrator/session/compact/budget.mjs +1 -112
- package/src/runtime/agent/orchestrator/session/compact/constants.mjs +4 -5
- package/src/runtime/agent/orchestrator/session/compact/continuation.mjs +2 -2
- package/src/runtime/agent/orchestrator/session/compact/execution-tail.mjs +120 -0
- package/src/runtime/agent/orchestrator/session/compact/messages.mjs +2 -1
- package/src/runtime/agent/orchestrator/session/compact/runner.mjs +27 -11
- package/src/runtime/agent/orchestrator/session/compact/summary.mjs +3 -5
- package/src/runtime/agent/orchestrator/session/compact/text-utils.mjs +0 -12
- package/src/runtime/agent/orchestrator/session/compact.mjs +0 -1
- package/src/runtime/agent/orchestrator/session/context-compaction-policy.mjs +18 -24
- package/src/runtime/agent/orchestrator/session/context-fingerprint.mjs +54 -0
- package/src/runtime/agent/orchestrator/session/context-utils.mjs +9 -59
- package/src/runtime/agent/orchestrator/session/eager-dispatch.mjs +4 -5
- package/src/runtime/agent/orchestrator/session/evidence-union.mjs +3 -7
- package/src/runtime/agent/orchestrator/session/image-strip-recovery.mjs +1 -8
- package/src/runtime/agent/orchestrator/session/loop/arg-schema-coerce.mjs +92 -0
- package/src/runtime/agent/orchestrator/session/loop/compact-debug.mjs +2 -10
- package/src/runtime/agent/orchestrator/session/loop/compact-policy.mjs +35 -71
- package/src/runtime/agent/orchestrator/session/loop/fresh-context.mjs +16 -18
- package/src/runtime/agent/orchestrator/session/loop/pre-dispatch-deny.mjs +1 -1
- package/src/runtime/agent/orchestrator/session/loop/steering.mjs +17 -0
- package/src/runtime/agent/orchestrator/session/loop/tool-classify.mjs +5 -2
- package/src/runtime/agent/orchestrator/session/loop/tool-exec.mjs +8 -3
- package/src/runtime/agent/orchestrator/session/loop/tool-helpers.mjs +9 -3
- package/src/runtime/agent/orchestrator/session/manager/ask-session.mjs +90 -58
- package/src/runtime/agent/orchestrator/session/manager/compaction-runner.mjs +10 -14
- package/src/runtime/agent/orchestrator/session/manager/context-meta.mjs +30 -33
- package/src/runtime/agent/orchestrator/session/manager/foreign-pending-messages.mjs +355 -0
- package/src/runtime/agent/orchestrator/session/manager/idle-cleanup.mjs +6 -6
- package/src/runtime/agent/orchestrator/session/manager/message-sanitize.mjs +1 -1
- package/src/runtime/agent/orchestrator/session/manager/pending-message-entry.mjs +324 -0
- package/src/runtime/agent/orchestrator/session/manager/pending-messages.mjs +62 -688
- package/src/runtime/agent/orchestrator/session/manager/prompt-surface-publish.mjs +35 -0
- package/src/runtime/agent/orchestrator/session/manager/prompt-utils.mjs +16 -30
- package/src/runtime/agent/orchestrator/session/manager/rules-cache.mjs +38 -81
- package/src/runtime/agent/orchestrator/session/manager/rules-source-cache.mjs +61 -0
- package/src/runtime/agent/orchestrator/session/manager/session-close.mjs +1 -1
- package/src/runtime/agent/orchestrator/session/manager/session-lifecycle.mjs +45 -15
- package/src/runtime/agent/orchestrator/session/manager/tool-resolution.mjs +9 -4
- package/src/runtime/agent/orchestrator/session/manager/turn-checkpoint-context.mjs +7 -1
- package/src/runtime/agent/orchestrator/session/manager/turn-checkpoint-journal.mjs +3 -3
- package/src/runtime/agent/orchestrator/session/manager/turn-checkpoint.mjs +2 -28
- package/src/runtime/agent/orchestrator/session/manager/usage-metrics.mjs +9 -2
- package/src/runtime/agent/orchestrator/session/manager.mjs +1 -0
- package/src/runtime/agent/orchestrator/session/provider-prefix-guard.mjs +1 -1
- package/src/runtime/agent/orchestrator/session/result-classification.mjs +0 -67
- package/src/runtime/agent/orchestrator/session/send-with-recovery.mjs +5 -0
- package/src/runtime/agent/orchestrator/session/store/canonical-reader.mjs +62 -0
- package/src/runtime/agent/orchestrator/session/store/fs-probe.mjs +1 -20
- package/src/runtime/agent/orchestrator/session/store/listing.mjs +60 -9
- package/src/runtime/agent/orchestrator/session/store/load-cache.mjs +0 -19
- package/src/runtime/agent/orchestrator/session/store/save-worker.mjs +0 -11
- package/src/runtime/agent/orchestrator/session/store-summary-reader.mjs +121 -152
- package/src/runtime/agent/orchestrator/session/store-summary-visibility.mjs +4 -4
- package/src/runtime/agent/orchestrator/session/store-transcript-cache.mjs +131 -0
- package/src/runtime/agent/orchestrator/session/store.mjs +20 -46
- package/src/runtime/agent/orchestrator/session/synthetic-user-envelope.mjs +133 -0
- package/src/runtime/agent/orchestrator/session/thinking-replay-recovery.mjs +1 -4
- package/src/runtime/agent/orchestrator/session/token-estimate-floors.mjs +34 -0
- package/src/runtime/agent/orchestrator/session/token-estimate.mjs +3 -36
- package/src/runtime/agent/orchestrator/session/tool-batch.mjs +4 -0
- package/src/runtime/agent/orchestrator/session/tool-result-offload.mjs +20 -5
- package/src/runtime/agent/orchestrator/tools/builtin/arg-guard.mjs +1 -7
- package/src/runtime/agent/orchestrator/tools/builtin/atomic-write.mjs +2 -1
- package/src/runtime/agent/orchestrator/tools/builtin/bash-tool.mjs +1 -1
- package/src/runtime/agent/orchestrator/tools/builtin/binary-file.mjs +0 -25
- package/src/runtime/agent/orchestrator/tools/builtin/builtin-tools.mjs +7 -5
- package/src/runtime/agent/orchestrator/tools/builtin/cache-layers.mjs +2 -7
- package/src/runtime/agent/orchestrator/tools/builtin/git-partial-stage.mjs +1 -5
- package/src/runtime/agent/orchestrator/tools/builtin/lib/grep-context-expander.mjs +19 -0
- package/src/runtime/agent/orchestrator/tools/builtin/lib/search-input-helpers.mjs +1 -2
- package/src/runtime/agent/orchestrator/tools/builtin/lib/shell-job-records.mjs +1 -1
- package/src/runtime/agent/orchestrator/tools/builtin/list-tool.mjs +26 -2
- package/src/runtime/agent/orchestrator/tools/builtin/local-search-telemetry.mjs +0 -9
- package/src/runtime/agent/orchestrator/tools/builtin/native-search-client.mjs +0 -20
- package/src/runtime/agent/orchestrator/tools/builtin/read-formatting.mjs +0 -6
- package/src/runtime/agent/orchestrator/tools/builtin/read-image-resize.mjs +7 -16
- package/src/runtime/agent/orchestrator/tools/builtin/read-open.mjs +1 -14
- package/src/runtime/agent/orchestrator/tools/builtin/read-range-index.mjs +1 -1
- package/src/runtime/agent/orchestrator/tools/builtin/read-single-tool.mjs +5 -22
- package/src/runtime/agent/orchestrator/tools/builtin/read-tool.mjs +0 -1
- package/src/runtime/agent/orchestrator/tools/builtin/runtime-capabilities.mjs +1 -1
- package/src/runtime/agent/orchestrator/tools/builtin/search-admission.mjs +1 -1
- package/src/runtime/agent/orchestrator/tools/builtin/search-glob-tool.mjs +17 -75
- package/src/runtime/agent/orchestrator/tools/builtin/search-grep-tool.mjs +3 -19
- package/src/runtime/agent/orchestrator/tools/builtin/shell-jobs.mjs +4 -57
- package/src/runtime/agent/orchestrator/tools/builtin/shell-lossless-compact.mjs +0 -12
- package/src/runtime/agent/orchestrator/tools/builtin/shell-output.mjs +1 -1
- package/src/runtime/agent/orchestrator/tools/builtin/shell-runtime.mjs +1 -1
- package/src/runtime/agent/orchestrator/tools/builtin/snapshot-helpers.mjs +1 -7
- package/src/runtime/agent/orchestrator/tools/builtin/snapshot-store.mjs +3 -25
- package/src/runtime/agent/orchestrator/tools/builtin.mjs +9 -7
- package/src/runtime/agent/orchestrator/tools/code-graph/aggregate-roots.mjs +276 -0
- package/src/runtime/agent/orchestrator/tools/code-graph/build.mjs +38 -16
- package/src/runtime/agent/orchestrator/tools/code-graph/disk-cache.mjs +11 -3
- package/src/runtime/agent/orchestrator/tools/code-graph/dispatch.mjs +23 -355
- package/src/runtime/agent/orchestrator/tools/code-graph/exact-file-graph.mjs +92 -0
- package/src/runtime/agent/orchestrator/tools/code-graph/graph-binary.mjs +1 -2
- package/src/runtime/agent/orchestrator/tools/code-graph/search-references.mjs +1 -11
- package/src/runtime/agent/orchestrator/tools/code-graph/search.mjs +2 -4
- package/src/runtime/agent/orchestrator/tools/code-graph/symbol-index.mjs +8 -0
- package/src/runtime/agent/orchestrator/tools/code-graph-tool-defs.mjs +1 -1
- package/src/runtime/agent/orchestrator/tools/graph-binary-fetcher.mjs +51 -124
- package/src/runtime/agent/orchestrator/tools/lib/native-spawn-client.mjs +2 -68
- package/src/runtime/agent/orchestrator/tools/lib/shell-warm-standby.mjs +7 -14
- package/src/runtime/agent/orchestrator/tools/patch/dispatch.mjs +0 -1
- package/src/runtime/agent/orchestrator/tools/patch/matcher.mjs +1 -2
- package/src/runtime/agent/orchestrator/tools/patch/native-server.mjs +2 -1
- package/src/runtime/agent/orchestrator/tools/patch/orchestrator.mjs +1 -1
- package/src/runtime/agent/orchestrator/tools/patch/v4a-convert.mjs +2 -14
- package/src/runtime/agent/orchestrator/tools/patch-binary-fetcher.mjs +57 -138
- package/src/runtime/agent/orchestrator/tools/progress-message.mjs +6 -1
- package/src/runtime/agent/orchestrator/tools/shell-command.mjs +2 -2
- package/src/runtime/agent/orchestrator/tools/shell-exec-output.mjs +4 -8
- package/src/runtime/agent/orchestrator/tools/spawn-binary-fetcher.mjs +45 -122
- package/src/runtime/attachments/pdf-extract.mjs +14 -6
- package/src/runtime/attachments/pdfjs-runtime.mjs +12 -0
- package/src/runtime/attachments/store.mjs +8 -8
- package/src/runtime/bridge-discovery.mjs +67 -0
- package/src/runtime/browser-bridge/action-schema.d.mts +14 -0
- package/src/runtime/browser-bridge/action-schema.mjs +172 -71
- package/src/runtime/browser-bridge/browser-action-contract.d.mts +6 -0
- package/src/runtime/browser-bridge/browser-action-contract.mjs +30 -6
- package/src/runtime/browser-bridge/client.mjs +34 -34
- package/src/runtime/browser-bridge/timing.mjs +43 -0
- package/src/runtime/browser-bridge/tool-defs.mjs +119 -41
- package/src/runtime/channels/lib/boot-profile.mjs +3 -16
- package/src/runtime/channels/lib/config.mjs +0 -1
- package/src/runtime/channels/lib/fixtures/whisper-server-fixture.mjs +18 -0
- package/src/runtime/channels/lib/runtime-paths.mjs +2 -15
- package/src/runtime/channels/lib/scheduler.mjs +0 -15
- package/src/runtime/channels/lib/voice-runtime-fetcher.mjs +31 -60
- package/src/runtime/channels/lib/whisper-port.mjs +52 -0
- package/src/runtime/channels/lib/whisper-server.mjs +35 -29
- package/src/runtime/channels/lib/worker-main.mjs +2 -30
- package/src/runtime/computer-bridge/action-schema.mjs +25 -29
- package/src/runtime/computer-bridge/actions.d.mts +6 -0
- package/src/runtime/computer-bridge/actions.mjs +76 -0
- package/src/runtime/computer-bridge/client.mjs +53 -41
- package/src/runtime/computer-bridge/core-actions.mjs +5 -4
- package/src/runtime/computer-bridge/error-recovery.mjs +22 -8
- package/src/runtime/computer-bridge/limits.d.mts +8 -0
- package/src/runtime/computer-bridge/limits.mjs +67 -0
- package/src/runtime/computer-bridge/pending-continuation.mjs +53 -0
- package/src/runtime/computer-bridge/tool-defs.mjs +9 -16
- package/src/runtime/github/client.d.mts +17 -0
- package/src/runtime/github/client.mjs +127 -0
- package/src/runtime/github/commands.mjs +106 -0
- package/src/runtime/github/contract.d.mts +58 -0
- package/src/runtime/github/contract.mjs +147 -0
- package/src/runtime/github/tool.mjs +64 -0
- package/src/runtime/local-provider/asset-installer.mjs +261 -0
- package/src/runtime/local-provider/asset-storage.mjs +36 -0
- package/src/runtime/local-provider/catalog.mjs +150 -0
- package/src/runtime/local-provider/context-settings.mjs +37 -0
- package/src/runtime/local-provider/data/manifest.json +49 -0
- package/src/runtime/local-provider/gguf-header.mjs +92 -0
- package/src/runtime/local-provider/hardware.mjs +83 -0
- package/src/runtime/local-provider/hugging-face.mjs +111 -0
- package/src/runtime/local-provider/input-capabilities.mjs +19 -0
- package/src/runtime/local-provider/install-progress.mjs +77 -0
- package/src/runtime/local-provider/managed-runtime.mjs +45 -0
- package/src/runtime/local-provider/model-maintenance.mjs +114 -0
- package/src/runtime/local-provider/model-state.mjs +53 -0
- package/src/runtime/local-provider/registered-models.mjs +67 -0
- package/src/runtime/local-provider/request-queue.mjs +125 -0
- package/src/runtime/local-provider/resumable-installations.mjs +27 -0
- package/src/runtime/local-provider/server-process.mjs +209 -0
- package/src/runtime/local-provider/server.mjs +119 -0
- package/src/runtime/media/adapters/codex-image.mjs +30 -12
- package/src/runtime/media/adapters/gemini-image.mjs +15 -15
- package/src/runtime/media/catalog-errors.mjs +32 -0
- package/src/runtime/media/catalog.mjs +240 -0
- package/src/runtime/media/defaults.mjs +55 -0
- package/src/runtime/media/download.mjs +1 -1
- package/src/runtime/media/jobs.mjs +13 -4
- package/src/runtime/media/lanes.mjs +77 -106
- package/src/runtime/media/renditions.mjs +1 -1
- package/src/runtime/media/store.mjs +1 -1
- package/src/runtime/media/tool-defs.mjs +40 -0
- package/src/runtime/media/tool.mjs +322 -0
- package/src/runtime/memory/index.mjs +11 -29
- package/src/runtime/memory/lib/core-memory-candidates.mjs +14 -7
- package/src/runtime/memory/lib/core-memory-file.mjs +17 -8
- package/src/runtime/memory/lib/core-memory-index.mjs +77 -0
- package/src/runtime/memory/lib/core-memory-store.mjs +43 -11
- package/src/runtime/memory/lib/cycle-scheduler.mjs +16 -2
- package/src/runtime/memory/lib/embedding-model-config.mjs +2 -4
- package/src/runtime/memory/lib/embedding-provider.mjs +11 -0
- package/src/runtime/memory/lib/embedding-reindex.mjs +2 -4
- package/src/runtime/memory/lib/generated-memory-management.mjs +98 -0
- package/src/runtime/memory/lib/http-router.mjs +14 -14
- package/src/runtime/memory/lib/http-wire.mjs +1 -1
- package/src/runtime/memory/lib/memory-action-handlers.mjs +28 -32
- package/src/runtime/memory/lib/memory-authority-review.mjs +89 -0
- package/src/runtime/memory/lib/memory-config-flags.mjs +8 -12
- package/src/runtime/memory/lib/memory-cycle-requests.mjs +0 -40
- package/src/runtime/memory/lib/memory-cycle1.mjs +1 -5
- package/src/runtime/memory/lib/memory-cycle2-gate.mjs +23 -40
- package/src/runtime/memory/lib/memory-cycle2-mutations.mjs +35 -4
- package/src/runtime/memory/lib/memory-cycle2.mjs +25 -5
- package/src/runtime/memory/lib/memory-cycle3-evidence.mjs +117 -0
- package/src/runtime/memory/lib/memory-cycle3-generated.mjs +76 -0
- package/src/runtime/memory/lib/memory-cycle3-guards.mjs +272 -0
- package/src/runtime/memory/lib/memory-cycle3.mjs +102 -239
- package/src/runtime/memory/lib/memory-embed.mjs +1 -4
- package/src/runtime/memory/lib/memory-score.mjs +22 -47
- package/src/runtime/memory/lib/memory-source-evidence.mjs +34 -0
- package/src/runtime/memory/lib/memory-text-utils.mjs +7 -1
- package/src/runtime/memory/lib/memory.mjs +8 -8
- package/src/runtime/memory/lib/pg/adapter.mjs +2 -2
- package/src/runtime/memory/lib/phase-merge-verdicts.mjs +54 -0
- package/src/runtime/memory/lib/prompt-surface-file.mjs +99 -0
- package/src/runtime/memory/lib/query-handlers.mjs +4 -1
- package/src/runtime/memory/lib/recall-embedding-readiness.mjs +1 -1
- package/src/runtime/memory/lib/recall-format.mjs +15 -7
- package/src/runtime/memory/lib/recall-order.mjs +6 -0
- package/src/runtime/memory/lib/runtime-fetcher.mjs +25 -52
- package/src/runtime/memory/lib/session-ingest.mjs +4 -4
- package/src/runtime/memory/lib/trace-mode.mjs +1 -1
- package/src/runtime/memory/lib/trace-store.mjs +1 -10
- package/src/runtime/memory/lib/transcript-ingest.mjs +2 -2
- package/src/runtime/memory/tool-defs.mjs +9 -4
- package/src/runtime/office/README.md +39 -9
- package/src/runtime/office/authoring/pptx-author-action.mjs +166 -0
- package/src/runtime/office/authoring/pptx-author-session.mjs +112 -0
- package/src/runtime/office/authoring/pptx-brief.mjs +270 -0
- package/src/runtime/office/authoring/pptx-contact-sheet.mjs +54 -0
- package/src/runtime/office/authoring/pptx-icons.json +1 -0
- package/src/runtime/office/authoring/pptx-icons.mjs +50 -0
- package/src/runtime/office/authoring/pptx-kit.mjs +33 -0
- package/src/runtime/office/authoring/pptx-receipt.mjs +431 -0
- package/src/runtime/office/authoring/pptx-review-artifacts.mjs +32 -0
- package/src/runtime/office/authoring/pptx-script-contract.mjs +15 -0
- package/src/runtime/office/authoring/pptx-script-normalize.mjs +244 -0
- package/src/runtime/office/authoring/pptx-script-runner.mjs +142 -0
- package/src/runtime/office/bench/assurance-benchmark.mjs +5 -95
- package/src/runtime/office/bench/bench-support.mjs +1 -1
- package/src/runtime/office/bench/benchmark.mjs +1 -1
- package/src/runtime/office/bench/contract-benchmark.mjs +2 -2
- package/src/runtime/office/bench/deck-bench.mjs +78 -0
- package/src/runtime/office/bench/quality-live-benchmark.mjs +3 -201
- package/src/runtime/office/capabilities.mjs +111 -51
- package/src/runtime/office/com/com-adapter.mjs +56 -48
- package/src/runtime/office/com/office-com-cleanup.ps1 +126 -0
- package/src/runtime/office/com/office-com-host.ps1 +369 -100
- package/src/runtime/office/com/office-com-session-host.ps1 +117 -90
- package/src/runtime/office/com/office-session-client.mjs +91 -0
- package/src/runtime/office/com/office-word-formatting.ps1 +23 -0
- package/src/runtime/office/core/journal.mjs +1 -1
- package/src/runtime/office/core/office-actions-batch.mjs +35 -3
- package/src/runtime/office/core/office-actions-inspect.mjs +7 -0
- package/src/runtime/office/core/office-actions-lifecycle.mjs +87 -28
- package/src/runtime/office/core/office-actions-render.mjs +53 -81
- package/src/runtime/office/core/office-actions.mjs +1 -1
- package/src/runtime/office/core/office-core.mjs +33 -4
- package/src/runtime/office/core/office-recalculation.mjs +18 -0
- package/src/runtime/office/core/office-render-preview.mjs +164 -0
- package/src/runtime/office/core/office-sessions.mjs +135 -3
- package/src/runtime/office/core/office-transactions.mjs +1 -0
- package/src/runtime/office/core/pptx-page-cache.mjs +70 -0
- package/src/runtime/office/core/snapshot-contract.mjs +28 -0
- package/src/runtime/office/design/composition-system.mjs +1 -1
- package/src/runtime/office/design/design-art-direction.mjs +51 -42
- package/src/runtime/office/design/design-creative-director.mjs +6 -46
- package/src/runtime/office/design/design-discipline.mjs +330 -0
- package/src/runtime/office/design/design-system.mjs +30 -101
- package/src/runtime/office/design/design-tokens.mjs +32 -30
- package/src/runtime/office/design/docx/design-docx-components.mjs +16 -8
- package/src/runtime/office/design/docx/design-docx.mjs +24 -22
- package/src/runtime/office/design/docx/document-typography.mjs +10 -0
- package/src/runtime/office/design/library/design-library-core.mjs +5 -6
- package/src/runtime/office/design/library/design-library.mjs +1 -1
- package/src/runtime/office/design/native-design.mjs +31 -0
- package/src/runtime/office/design/xlsx/design-xlsx-components.mjs +4 -3
- package/src/runtime/office/design/xlsx/design-xlsx.mjs +7 -23
- package/src/runtime/office/index.mjs +89 -27
- package/src/runtime/office/pdf/pdf-adapter.mjs +590 -357
- package/src/runtime/office/pdf/pdf-analysis.mjs +368 -64
- package/src/runtime/office/pdf/pdf-draw.mjs +91 -0
- package/src/runtime/office/pdf/pdf-fonts.mjs +91 -0
- package/src/runtime/office/pdf/pdf-forms.mjs +265 -0
- package/src/runtime/office/pdf/pdf-render.mjs +42 -36
- package/src/runtime/office/pdf/pdf-safety.mjs +50 -0
- package/src/runtime/office/pdf/pdf-search.mjs +187 -0
- package/src/runtime/office/pdf/pdf-security.mjs +7 -3
- package/src/runtime/office/pdf/pdf-writer.mjs +195 -0
- package/src/runtime/office/portable/docx-formatting.mjs +110 -0
- package/src/runtime/office/portable/docx-revisions.mjs +474 -0
- package/src/runtime/office/portable/docx-runs.mjs +293 -0
- package/src/runtime/office/portable/docx-tracked-edits.mjs +165 -0
- package/src/runtime/office/portable/font-provisioner.mjs +210 -0
- package/src/runtime/office/portable/ooxml-validator.mjs +26 -3
- package/src/runtime/office/portable/portable-cells.mjs +10 -1
- package/src/runtime/office/portable/portable-chart-faults.mjs +96 -0
- package/src/runtime/office/portable/portable-chart.mjs +3 -3
- package/src/runtime/office/portable/portable-docx-parts.mjs +97 -0
- package/src/runtime/office/portable/portable-docx-xml.mjs +12 -10
- package/src/runtime/office/portable/portable-docx.mjs +219 -60
- package/src/runtime/office/portable/portable-opc.mjs +11 -3
- package/src/runtime/office/portable/portable-package.mjs +1 -1
- package/src/runtime/office/portable/portable-pivot.mjs +1 -1
- package/src/runtime/office/portable/portable-pptx-chart.mjs +4 -2
- package/src/runtime/office/portable/portable-pptx-charts.mjs +5 -19
- package/src/runtime/office/portable/portable-pptx-core.mjs +14 -3
- package/src/runtime/office/portable/portable-pptx-package.mjs +62 -5
- package/src/runtime/office/portable/portable-pptx-shapes.mjs +1 -1
- package/src/runtime/office/portable/portable-pptx.mjs +11 -2
- package/src/runtime/office/portable/portable-sheet-page.mjs +134 -0
- package/src/runtime/office/portable/portable-sheet-styles.mjs +70 -0
- package/src/runtime/office/portable/portable-slide-shapes.mjs +1 -1
- package/src/runtime/office/portable/portable-snapshot.mjs +254 -27
- package/src/runtime/office/portable/portable-soffice.mjs +45 -1
- package/src/runtime/office/portable/portable-validation.mjs +73 -34
- package/src/runtime/office/portable/portable-xlsx.mjs +7 -43
- package/src/runtime/office/portable/portable-xml.mjs +20 -0
- package/src/runtime/office/portable/pptx-relations.mjs +92 -0
- package/src/runtime/office/portable/pptx-targets.mjs +30 -0
- package/src/runtime/office/portable/review-editability.mjs +111 -0
- package/src/runtime/office/portable/text-metrics.mjs +232 -28
- package/src/runtime/office/portable/xlsx-assertions.mjs +3 -15
- package/src/runtime/office/portable/xlsx-audit-support.mjs +132 -0
- package/src/runtime/office/portable/xlsx-contract.mjs +49 -5
- package/src/runtime/office/portable/xlsx-conventions.mjs +75 -0
- package/src/runtime/office/portable/xlsx-formula-audit.mjs +247 -0
- package/src/runtime/office/portable/xlsx-sheet-hygiene.mjs +100 -0
- package/src/runtime/office/quality/assurance-checklist.mjs +3 -3
- package/src/runtime/office/quality/assurance-rendered.mjs +18 -3
- package/src/runtime/office/quality/assurance-structure.mjs +86 -15
- package/src/runtime/office/quality/design-aesthetics-metrics.mjs +271 -0
- package/src/runtime/office/quality/design-aesthetics.mjs +46 -218
- package/src/runtime/office/quality/design-deck-diversity.mjs +31 -1
- package/src/runtime/office/quality/design-review-authored.mjs +113 -0
- package/src/runtime/office/quality/design-review-critique.mjs +120 -0
- package/src/runtime/office/quality/design-review.mjs +145 -117
- package/src/runtime/office/quality/document-acceptance.mjs +67 -0
- package/src/runtime/office/quality/document-design-review.mjs +35 -0
- package/src/runtime/office/quality/inline-audit.mjs +142 -0
- package/src/runtime/office/quality/pptx-deck-rubric.mjs +93 -0
- package/src/runtime/office/quality/pptx-slide-roles.mjs +136 -0
- package/src/runtime/office/quality/presentation-acceptance.mjs +25 -0
- package/src/runtime/office/quality/quality-pipeline.mjs +131 -5
- package/src/runtime/office/quality/quality-score.mjs +11 -2
- package/src/runtime/office/quality/render-air.mjs +114 -0
- package/src/runtime/office/tool-defs.mjs +37 -31
- package/src/runtime/shared/agent-route-config.mjs +3 -3
- package/src/runtime/shared/atomic-file.mjs +27 -20
- package/src/runtime/shared/background-tasks.mjs +2 -37
- package/src/runtime/shared/boot-profile.mjs +26 -0
- package/src/runtime/shared/bounded-download.mjs +40 -0
- package/src/runtime/shared/bridge-tool-args.mjs +1 -1
- package/src/runtime/shared/buffered-appender.mjs +1 -1
- package/src/runtime/shared/child-guardian.mjs +1 -5
- package/src/runtime/shared/child-spawn-gate.mjs +2 -2
- package/src/runtime/shared/clean.mjs +5 -0
- package/src/runtime/shared/config.mjs +8 -30
- package/src/runtime/shared/edit-tool-dialect.mjs +19 -6
- package/src/runtime/shared/env.mjs +41 -0
- package/src/runtime/shared/err-text.mjs +15 -5
- package/src/runtime/shared/error-presentation.mjs +101 -0
- package/src/runtime/shared/extension-scopes.mjs +139 -0
- package/src/runtime/shared/json-file.mjs +6 -0
- package/src/runtime/shared/llm/cost.mjs +2 -2
- package/src/runtime/shared/llm/http-agent.mjs +18 -6
- package/src/runtime/shared/markdown-frontmatter.mjs +2 -4
- package/src/runtime/shared/memory-snapshot.mjs +0 -4
- package/src/runtime/shared/native-asset.mjs +149 -0
- package/src/runtime/shared/numbers.mjs +12 -0
- package/src/runtime/shared/object.mjs +7 -0
- package/src/runtime/shared/owner-fair-gate.mjs +1 -5
- package/src/runtime/shared/plugin-manifest.mjs +44 -0
- package/src/runtime/shared/plugin-metadata.mjs +32 -0
- package/src/runtime/shared/pristine-execution.mjs +4 -7
- package/src/runtime/shared/process-lifecycle.mjs +1 -5
- package/src/runtime/shared/provider-accounts.mjs +190 -0
- package/src/runtime/shared/provider-auth-binding.mjs +29 -1
- package/src/runtime/shared/resource-admission.mjs +4 -7
- package/src/runtime/shared/service-discovery.mjs +1 -22
- package/src/runtime/shared/session-runtime-health.mjs +15 -1
- package/src/runtime/shared/skill-document.mjs +36 -8
- package/src/runtime/shared/skill-tool-dependencies.mjs +113 -0
- package/src/runtime/shared/task-notification-envelope.mjs +0 -25
- package/src/runtime/shared/time-format.mjs +1 -1
- package/src/runtime/shared/tool-execution-contract.mjs +29 -7
- package/src/runtime/shared/tool-result-summary.mjs +1 -1
- package/src/runtime/shared/tool-surface.mjs +25 -22
- package/src/runtime/shared/tool-workload-gates.mjs +1 -5
- package/src/runtime/shared/transcript-metadata.mjs +39 -0
- package/src/runtime/shared/transcript-writer.mjs +5 -2
- package/src/runtime/shared/transport-error-text.mjs +128 -0
- package/src/runtime/shared/turn-snapshot-store.mjs +81 -7
- package/src/runtime/shared/turn-snapshot.mjs +147 -19
- package/src/runtime/shared/user-data-guard.mjs +1 -73
- package/src/runtime/web-search/index.mjs +8 -47
- package/src/runtime/web-search/lib/document-content.mjs +131 -0
- package/src/runtime/web-search/lib/fetch-pipeline.mjs +155 -0
- package/src/runtime/web-search/lib/formatter.mjs +55 -3
- package/src/runtime/web-search/lib/http-fetch.mjs +78 -76
- package/src/runtime/web-search/lib/ssrf-guard.mjs +5 -4
- package/src/runtime/web-search/lib/state.mjs +0 -12
- package/src/runtime/web-search/lib/web-tools.mjs +88 -399
- package/src/session-runtime/agent-tool-routing.mjs +56 -0
- package/src/session-runtime/boot-profile.mjs +6 -18
- package/src/session-runtime/bridge-first-use-gate.mjs +65 -0
- package/src/session-runtime/builtin-features.d.mts +8 -0
- package/src/session-runtime/builtin-features.mjs +62 -5
- package/src/session-runtime/config-helpers.mjs +1 -1
- package/src/session-runtime/context-status.mjs +49 -11
- package/src/session-runtime/cwd-plugins.mjs +2 -1
- package/src/session-runtime/effort.mjs +28 -32
- package/src/session-runtime/extension-scopes.mjs +94 -0
- package/src/session-runtime/fs-utils.mjs +1 -3
- package/src/session-runtime/goal-facade-api.mjs +52 -0
- package/src/session-runtime/goal-reminder.mjs +12 -5
- package/src/session-runtime/goal-runtime.mjs +193 -355
- package/src/session-runtime/goal-storage.mjs +82 -0
- package/src/session-runtime/goal-tasks.mjs +125 -0
- package/src/session-runtime/goal-text.mjs +69 -5
- package/src/session-runtime/goal-tool-defs.mjs +87 -0
- package/src/session-runtime/hitch-profile.mjs +1 -1
- package/src/session-runtime/hook-payload.mjs +32 -0
- package/src/session-runtime/internal-tool-executor.mjs +194 -0
- package/src/session-runtime/lifecycle-api.mjs +24 -2
- package/src/session-runtime/local-model-api.mjs +22 -0
- package/src/session-runtime/local-provider-settings.mjs +55 -0
- package/src/session-runtime/mcp-glue.mjs +8 -3
- package/src/session-runtime/media-api.mjs +14 -0
- package/src/session-runtime/model-capabilities.mjs +3 -15
- package/src/session-runtime/model-recency.mjs +3 -0
- package/src/session-runtime/model-route-api.mjs +26 -51
- package/src/session-runtime/native-teardown.mjs +42 -0
- package/src/session-runtime/notification-bus.mjs +13 -1
- package/src/session-runtime/plugin-mcp.mjs +9 -30
- package/src/session-runtime/provider-auth-api.mjs +46 -17
- package/src/session-runtime/provider-models.mjs +5 -0
- package/src/session-runtime/provider-readiness.mjs +131 -0
- package/src/session-runtime/provider-request-snapshot.mjs +0 -19
- package/src/session-runtime/resource-api.mjs +70 -3
- package/src/session-runtime/runtime-core.mjs +186 -707
- package/src/session-runtime/runtime-facade.mjs +112 -0
- package/src/session-runtime/runtime-modules.mjs +56 -0
- package/src/session-runtime/runtime-review-api.mjs +19 -0
- package/src/session-runtime/runtime-tunables.mjs +1 -1
- package/src/session-runtime/session-lifecycle.mjs +14 -4
- package/src/session-runtime/session-route-policy.mjs +26 -0
- package/src/session-runtime/session-text.mjs +3 -32
- package/src/session-runtime/session-turn-api.mjs +16 -4
- package/src/session-runtime/settings-api.mjs +78 -4
- package/src/session-runtime/setup-tool/executor.mjs +320 -0
- package/src/session-runtime/setup-tool/tool-defs.mjs +165 -0
- package/src/session-runtime/skill-tool-loading.mjs +64 -0
- package/src/session-runtime/skills-api.mjs +77 -17
- package/src/session-runtime/tool-catalog-data.mjs +4 -3
- package/src/session-runtime/tool-catalog-schema.mjs +1 -16
- package/src/session-runtime/tool-catalog.mjs +11 -8
- package/src/session-runtime/tool-defs.mjs +2 -2
- package/src/session-runtime/tool-policy-refresh.mjs +4 -1
- package/src/session-runtime/tool-profile.mjs +1 -0
- package/src/session-runtime/tool-surface.mjs +10 -0
- package/src/session-runtime/workflow-agents-api.mjs +2 -1
- package/src/session-runtime/workflow.mjs +2 -2
- package/src/standalone/agent-tool/helpers.mjs +31 -7
- package/src/standalone/agent-tool/lead-worker-index.mjs +3 -27
- package/src/standalone/agent-tool/notify.mjs +1 -0
- package/src/standalone/agent-tool/worker-index.mjs +1 -25
- package/src/standalone/agent-tool.mjs +0 -24
- package/src/standalone/channel-admin.mjs +1 -42
- package/src/standalone/channel-transport.mjs +21 -4
- package/src/standalone/daemon-boot-coordinator.mjs +14 -0
- package/src/standalone/daemon.mjs +26 -14
- package/src/standalone/desktop-service-registry.mjs +239 -0
- package/src/standalone/fair-call-scheduler.mjs +1 -4
- package/src/standalone/hook-bus/config.mjs +1 -1
- package/src/standalone/hook-bus.mjs +11 -0
- package/src/standalone/plugin-admin.mjs +5 -15
- package/src/standalone/provider-admin.mjs +120 -64
- package/src/standalone/seeds.mjs +62 -18
- package/src/standalone/session-attachment-pool.mjs +127 -0
- package/src/standalone/session-client.mjs +51 -669
- package/src/standalone/session-protocol.mjs +17 -1
- package/src/standalone/session-proxy.mjs +538 -0
- package/src/standalone/session-runtime-inline-host.mjs +10 -1
- package/src/standalone/session-runtime-worker.mjs +13 -3
- package/src/standalone/session-service/agent-tree.mjs +477 -0
- package/src/standalone/session-service/project-catalog.mjs +86 -0
- package/src/standalone/session-service/projection.mjs +295 -0
- package/src/standalone/session-service-api.mjs +56 -0
- package/src/standalone/session-service.mjs +153 -1087
- package/src/standalone/session-state-projection.mjs +57 -0
- package/src/standalone/session-transport.mjs +17 -2
- package/src/standalone/session-wire-values.mjs +54 -0
- package/src/standalone/session-wire.mjs +1 -1
- package/src/standalone/test-fixtures/browser-lifecycle-desktop.mjs +3 -0
- package/src/standalone/usage-dashboard.mjs +3 -30
- package/src/tui/App.jsx +14 -0
- package/src/tui/app/app-format.mjs +4 -12
- package/src/tui/app/app-view.jsx +1 -0
- package/src/tui/app/core-memory-picker.mjs +4 -2
- package/src/tui/app/extension-pickers.mjs +20 -4
- package/src/tui/app/input-parsers.mjs +9 -23
- package/src/tui/app/model-options.mjs +7 -5
- package/src/tui/app/prompt-submit.mjs +3 -21
- package/src/tui/app/provider-setup-picker.mjs +24 -76
- package/src/tui/app/transcript-row-estimate.mjs +0 -1
- package/src/tui/app/transcript-window.mjs +2 -13
- package/src/tui/app/usage-context-panels.mjs +12 -5
- package/src/tui/app/use-transcript-activity.mjs +1 -1
- package/src/tui/app/use-transcript-window.mjs +1 -1
- package/src/tui/components/ContextPanel.jsx +8 -7
- package/src/tui/components/StatusLine.jsx +6 -26
- package/src/tui/dist/index.mjs +5847 -5530
- package/src/tui/index.jsx +3 -1
- package/src/tui/lib/voice-setup.mjs +1 -0
- package/src/tui/markdown/format-token.mjs +0 -5
- package/src/tui/markdown/streaming-markdown.mjs +2 -157
- package/src/tui/prompt-history-store.mjs +0 -13
- package/src/tui/session/agent-envelope.mjs +38 -5
- package/src/tui/session/agent-job-feed.mjs +8 -0
- package/src/tui/session/boot-profile.mjs +2 -14
- package/src/tui/session/context-state.mjs +13 -71
- package/src/tui/session/goal-continuation.mjs +7 -11
- package/src/tui/session/goal-turn-state.mjs +26 -0
- package/src/tui/session/notification-plan.mjs +8 -0
- package/src/tui/session/render-frame-source.mjs +22 -0
- package/src/tui/session/render-timing.mjs +13 -3
- package/src/tui/session/session-api-ext.mjs +49 -41
- package/src/tui/session/session-api.mjs +40 -4
- package/src/tui/session/session-stats.mjs +7 -41
- package/src/tui/session/transcript-spill.mjs +2 -83
- package/src/tui/session/turn-aggregate-cards.mjs +252 -0
- package/src/tui/session/turn-deferred-cards.mjs +127 -0
- package/src/tui/session/turn.mjs +82 -396
- package/src/tui/session-local.mjs +26 -79
- package/src/ui/context-measurement.mjs +71 -0
- package/src/ui/model-display.mjs +57 -1
- package/src/ui/statusline-agents.mjs +1 -5
- package/src/ui/statusline-format.mjs +5 -3
- package/src/ui/statusline-segments.mjs +1 -5
- package/src/ui/statusline.mjs +21 -45
- package/src/ui/streaming-markdown-heal.mjs +147 -0
- package/src/vendor/statusline/bin/statusline-route.mjs +1 -1
- package/src/vendor/statusline/src/gateway/route-meta.mjs +1 -1
- package/src/workflows/default/WORKFLOW.md +3 -3
- package/src/workflows/solo/WORKFLOW.md +3 -3
- package/src/runtime/agent/orchestrator/agent-runtime/commit-message-completion.mjs +0 -67
- package/src/runtime/agent/orchestrator/providers/lib/env-utils.mjs +0 -15
- package/src/runtime/agent/orchestrator/session/compact/file-reattach.mjs +0 -112
- package/src/runtime/agent/orchestrator/session/compact/handoff.mjs +0 -476
- package/src/runtime/agent/orchestrator/session/loop/env.mjs +0 -14
- package/src/runtime/agent/orchestrator/session/manager/env-utils.mjs +0 -8
- package/src/runtime/office/bench/freeform-live-benchmark.mjs +0 -792
- package/src/runtime/office/core/office-candidate-actions.mjs +0 -459
- package/src/runtime/office/design/design-freeform-board.mjs +0 -409
- package/src/runtime/office/design/design-layout-grammar.mjs +0 -618
- package/src/runtime/office/design/design-layout-tournament.mjs +0 -163
- package/src/runtime/office/design/design-reference-genome.mjs +0 -132
- package/src/runtime/office/design/design-reference-visual-catalog.mjs +0 -130
- package/src/runtime/office/design/pptx/design-pptx-authored-project.mjs +0 -172
- package/src/runtime/office/design/pptx/design-pptx-authored-scene.mjs +0 -436
- package/src/runtime/office/design/pptx/design-pptx-executive-revisions.mjs +0 -429
- package/src/runtime/office/design/pptx/design-pptx-executive-scenes.mjs +0 -304
- package/src/runtime/office/design/pptx/design-pptx-executive.mjs +0 -336
- package/src/runtime/office/design/pptx/design-pptx-plan.mjs +0 -1020
- package/src/runtime/office/design/pptx/design-pptx-primitives.mjs +0 -94
- package/src/runtime/office/design/pptx/design-pptx-review-gate.mjs +0 -199
- package/src/runtime/office/design/pptx/design-pptx-scene-builders.mjs +0 -27
- package/src/runtime/office/design/pptx/design-pptx-semantic-flow.mjs +0 -111
- package/src/runtime/office/design/pptx/design-pptx-semantic-visuals.mjs +0 -995
- package/src/runtime/office/design/pptx/design-pptx-stack.mjs +0 -58
- package/src/runtime/office/design/pptx/design-pptx.mjs +0 -777
- package/src/runtime/office/quality/design-frontier-review.mjs +0 -279
- package/src/session-runtime/env.mjs +0 -16
package/LICENSE
CHANGED
|
@@ -1,21 +1,201 @@
|
|
|
1
|
-
|
|
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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
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
|
|
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
|
|
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
|
[](https://www.npmjs.com/package/mixdog)
|
|
4
4
|

|
|
5
|
-

|
|
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
|
|
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
|
-
|
|
71
|
-
|
|
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
|
-
##
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
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
|
-
-
|
|
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
|
|
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
|
|
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
|
|
160
|
-
|
|
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
|
-
|
|
168
|
-
|
|
169
|
-
|
|
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
|
|
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
|
|
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
|
|
308
|
+
- Browser Use pane with agent control and Chrome profile import on Windows
|
|
216
309
|
- Computer Use on Windows with guarded native input
|
|
217
|
-
-
|
|
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,
|
|
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
|
|
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/
|
|
385
|
+
src/vendor/ vendored runtime components
|
|
277
386
|
```
|
|
278
387
|
|
|
279
388
|
## License
|
|
280
389
|
|
|
281
|
-
|
|
390
|
+
Mixdog is licensed under [Apache-2.0](LICENSE).
|
|
391
|
+
Third-party components retain their respective licenses; see [NOTICE.md](NOTICE.md).
|