@desplega.ai/agent-swarm 1.158.0 → 1.160.0
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/README.md +1 -1
- package/dist/{acp-adapter-xaq4n6pc.js → acp-adapter-2mjwcsfh.js} +124 -27
- package/dist/{actions-p9hz5yat.js → actions-e43rxskr.js} +35 -30
- package/dist/{anthropic-messages-51pz26qe.js → anthropic-messages-5qx80j9k.js} +106 -16
- package/dist/{app-g26wdcz6.js → app-mc7xfagn.js} +12 -10
- package/dist/{assistant-wydfqkb3.js → assistant-sedkzv3b.js} +42 -31
- package/dist/{azure-openai-responses-8gksqtmz.js → azure-openai-responses-nfb21z9a.js} +13 -14
- package/dist/{boot-reembed-se8zmdcp.js → boot-reembed-cqz9swn5.js} +13 -12
- package/dist/{boot-reembed-g5ckg9yb.js → boot-reembed-m3656j2n.js} +14 -13
- package/dist/{boot-scrub-logs-wfxqan61.js → boot-scrub-logs-xbxf5d7w.js} +11 -9
- package/dist/boot-seeds-gsetbs5y.js +28 -0
- package/dist/{claude-adapter-tv2x4f36.js → claude-adapter-dc6289mc.js} +28 -23
- package/dist/{claude-managed-adapter-41b2s7fd.js → claude-managed-adapter-naaw51me.js} +4 -3
- package/dist/{claude-managed-setup-60g8aazx.js → claude-managed-setup-eacvchx0.js} +12 -3
- package/dist/claude-sdk-session-bqp2xvym.js +29722 -0
- package/dist/{cli-987hg0aa.js → cli-0jwe9034.js} +2 -2
- package/dist/{cli-vj6h9kc2.js → cli-0m7wct0d.js} +59 -1
- package/dist/{cli-c07r9a2m.js → cli-0q3avq3s.js} +12 -11
- package/dist/{cli-19jenss3.js → cli-0wgxmwf6.js} +31 -10
- package/dist/cli-0x01kwrd.js +491 -0
- package/dist/cli-0xqde53b.js +176 -0
- package/dist/cli-10nhj6xq.js +8355 -0
- package/dist/{cli-tt9k8r35.js → cli-12tszpk9.js} +479 -910
- package/dist/{cli-5b6b62tz.js → cli-13hw4z91.js} +1 -1
- package/dist/{cli-cqt19wg6.js → cli-1a2j50m0.js} +11 -2
- package/dist/{cli-xberxa1r.js → cli-25fcq4b4.js} +2 -2
- package/dist/{cli-npssxgaz.js → cli-2pdaysab.js} +52 -2
- package/dist/cli-3qhyh31j.js +166 -0
- package/dist/cli-447dt1h3.js +3828 -0
- package/dist/cli-4derpgyk.js +115 -0
- package/dist/{cli-00w2c66p.js → cli-523679eh.js} +13 -2
- package/dist/{cli-y95wp3tg.js → cli-58e8yr0d.js} +1 -1
- package/dist/{cli-24k806sc.js → cli-5nbmpy8w.js} +3 -3
- package/dist/{cli-53sz8gkz.js → cli-6cs6wzxt.js} +1 -1
- package/dist/cli-741yb0xx.js +1027 -0
- package/dist/cli-74h9hscv.js +69 -0
- package/dist/cli-7cxw8b60.js +14910 -0
- package/dist/{cli-xhaeg2nc.js → cli-7e398j1h.js} +1 -1
- package/dist/cli-7kyk9jr3.js +22 -0
- package/dist/cli-89s4ngw3.js +183 -0
- package/dist/{cli-9b13ggd1.js → cli-89v6kyq7.js} +1 -0
- package/dist/{cli-ftfvggzx.js → cli-9hsgwz4w.js} +1045 -581
- package/dist/{cli-rqz8qbw7.js → cli-a8dvhzrt.js} +59 -20
- package/dist/{cli-j57qkrpq.js → cli-azhgzetg.js} +395 -56
- package/dist/cli-br0qdrnp.js +2150 -0
- package/dist/{cli-rj19hc34.js → cli-btfv8y88.js} +1 -1
- package/dist/{cli-8qmme6vd.js → cli-c8a36vcc.js} +2 -2
- package/dist/cli-cpvsaqsw.js +333 -0
- package/dist/cli-d5czme6m.js +17805 -0
- package/dist/{cli-h38x0qhg.js → cli-et8m9xsv.js} +4 -3
- package/dist/{cli-x24pshtq.js → cli-evvtk35y.js} +6 -6
- package/dist/{cli-7s3syk22.js → cli-f8gy6r2r.js} +5 -5
- package/dist/{cli-zt1227k1.js → cli-fkqhbg8g.js} +5 -3
- package/dist/{cli-9httdpyq.js → cli-g2whhdrf.js} +1 -1
- package/dist/cli-gt4hxb8p.js +99 -0
- package/dist/{cli-s8eet254.js → cli-jajnsm8q.js} +37184 -53838
- package/dist/{cli-7gtvvpbh.js → cli-jayjpjmb.js} +21 -12
- package/dist/{cli-68w09sjw.js → cli-jyk0ynw2.js} +27 -89
- package/dist/{cli-aehm1rbq.js → cli-jz4w45qt.js} +1152 -61
- package/dist/cli-kmcpfwn2.js +333856 -0
- package/dist/{cli-4198qc9v.js → cli-ktmyrtpn.js} +19 -3
- package/dist/{cli-j55n64b6.js → cli-mfe5btp9.js} +505 -189
- package/dist/{cli-q67y4wzm.js → cli-phsaj4xq.js} +24 -2
- package/dist/{cli-1hkrch3k.js → cli-pm1rst0h.js} +46 -7
- package/dist/{cli-pw9rj5t9.js → cli-pqetb83f.js} +1 -176
- package/dist/{cli-ggm92wcn.js → cli-ptr8h7kp.js} +20 -1
- package/dist/{cli-s8s499xy.js → cli-qbksc292.js} +3 -2
- package/dist/{cli-47m6dkd3.js → cli-qydf22qq.js} +597 -346
- package/dist/{cli-3gmcwfyx.js → cli-r1mxd1xh.js} +13 -6
- package/dist/cli-rb9m6rpe.js +4980 -0
- package/dist/cli-rykfmgwg.js +102 -0
- package/dist/{cli-5d10vd2m.js → cli-shkxm1vn.js} +6 -5
- package/dist/{cli-eetrvv91.js → cli-t3p77qk1.js} +1 -1
- package/dist/cli-tfky2838.js +756 -0
- package/dist/{cli-g8djp6qe.js → cli-tmqt7dpj.js} +40 -0
- package/dist/{cli-fgqxwrpv.js → cli-tpq83z89.js} +1631 -127
- package/dist/cli-trc24wk2.js +143 -0
- package/dist/{cli-aky8tctm.js → cli-tzx2ke1v.js} +3 -3
- package/dist/cli-v7fn5gms.js +1425 -0
- package/dist/{cli-wscdvcqz.js → cli-vctdqs5h.js} +1 -1
- package/dist/{cli-cw9zck8j.js → cli-xjcywfsf.js} +8 -4
- package/dist/{cli-k0g1sjzm.js → cli-ybgv4kw2.js} +18 -11
- package/dist/{cli-rjehvrts.js → cli-ydmcgve1.js} +8 -8
- package/dist/{cli-vhjwh6cz.js → cli-ygwm91nt.js} +1 -1
- package/dist/{cli-mcnhgnn1.js → cli-ykk5jaax.js} +184 -26
- package/dist/{cli-de1396j2.js → cli-ywybs5as.js} +7 -1
- package/dist/cli-zpep9q5e.js +491 -0
- package/dist/cli.js +41 -32
- package/dist/cloudflare-workers-ai-system-one-k6fbxw9d.js +46 -0
- package/dist/{codex-adapter-cnm8wk11.js → codex-adapter-nmxcatww.js} +26 -17
- package/dist/{codex-hook-9hptmdhj.js → codex-hook-20me6byw.js} +2 -2
- package/dist/{codex-login-x3jk4etn.js → codex-login-w6fz4xbz.js} +50 -5
- package/dist/{codex-session-runner-gfg547zj.js → codex-session-runner-90aa80ev.js} +24 -17
- package/dist/{commands-e3bn0p75.js → commands-8wcq1kn7.js} +11 -9
- package/dist/{db-03v9kzr2.js → db-j40kc4se.js} +25 -11
- package/dist/{devin-adapter-8vgkwh29.js → devin-adapter-dpsv6hd9.js} +1 -1
- package/dist/{dispatcher-nrmg8yht.js → dispatcher-4zqy768d.js} +34 -29
- package/dist/{dsh-adapter-k03nfqa6.js → dsh-adapter-mpnzgztj.js} +3 -3
- package/dist/{e2b-93x1k0j5.js → e2b-ez07znam.js} +4 -3
- package/dist/execute-6e7qeyk4.js +1017 -0
- package/dist/{google-generative-ai-bxmv50nc.js → google-generative-ai-k6n5nbpp.js} +6 -5
- package/dist/{google-vertex-809af514.js → google-vertex-44xxtcvp.js} +6 -5
- package/dist/{handlers-aqcedbyb.js → handlers-kjdce1w5.js} +37 -32
- package/dist/{hook-ybvmrmhq.js → hook-czx13n12.js} +19 -15
- package/dist/{hook-7vkskkre.js → hook-r2t4bqfg.js} +18 -14
- package/dist/{http-2eqa8t24.js → http-3bbb19be.js} +900 -145
- package/dist/{index-f6cryxwe.js → index-4a5njnm1.js} +2 -59
- package/dist/{index-x71bvq0p.js → index-668me3f0.js} +35 -30
- package/dist/{index-c6zsv1bd.js → index-7aj368tw.js} +13 -12
- package/dist/{index-1yks3qcr.js → index-fg0dsp6c.js} +34 -29
- package/dist/{index-chgdkq36.js → index-kkv84jq9.js} +34 -29
- package/dist/{index-a3vn96n8.js → index-zg7vp46x.js} +198 -54
- package/dist/{keepalive-vtkf5n99.js → keepalive-yra8dy57.js} +13 -11
- package/dist/{lead-h3sp357x.js → lead-va0pad2c.js} +54 -49
- package/dist/llama-cpp-classify-tgj35k8d.js +335 -0
- package/dist/{maintenance-jzeqtk3q.js → maintenance-hqewtmyg.js} +14 -13
- package/dist/{mistral-conversations-zx0kn554.js → mistral-conversations-pc3ntnxt.js} +14 -17
- package/dist/{oauth-refresh-sweep-qp3dzmdp.js → oauth-refresh-sweep-7rdt1m9n.js} +12 -10
- package/dist/{onboard-tmsp0qbz.js → onboard-j6ms6d0x.js} +6 -5
- package/dist/{openai-codex-responses-4vjqzvjp.js → openai-codex-responses-bbancrr0.js} +21 -8
- package/dist/{openai-completions-9hjrqbw8.js → openai-completions-jpaj5g2b.js} +9 -12
- package/dist/{openai-responses-7b1pn0xt.js → openai-responses-200k1wx4.js} +23 -18
- package/dist/{opencode-adapter-x6x2da1z.js → opencode-adapter-89rabkw2.js} +8 -7
- package/dist/{openrouter-images-9f9ek4rw.js → openrouter-images-8yx3487g.js} +5 -7
- package/dist/{otel-impl-9mz73q65.js → otel-impl-a792rjz0.js} +1 -1
- package/dist/{pi-messages-txpjj39q.js → pi-messages-vxdt8v7j.js} +2 -1
- package/dist/{pi-mono-adapter-m6dvv0dz.js → pi-mono-adapter-g7qzvr3v.js} +295 -70
- package/dist/pricing-refresh-wx0tp7cb.js +39 -0
- package/dist/quickjs-r1pq2107.wasm +0 -0
- package/dist/{rbac-roles-c9wqz83x.js → rbac-roles-8tzawacv.js} +12 -10
- package/dist/{render-v2-gryrh9h8.js → render-v2-mm7zswb8.js} +12 -10
- package/dist/runtime-zyssgse0.js +24 -0
- package/dist/{setup-q9720bt6.js → setup-8y70ys6t.js} +6 -5
- package/dist/typesafe-system-one-2ef30pec.js +27 -0
- package/dist/{virtual-modules-3htpgn8x.js → virtual-modules-6nmk7h3n.js} +22 -13
- package/dist/{work-objects-b76x7deb.js → work-objects-fg6xkb0n.js} +37 -32
- package/dist/{worker-6vrxbv41.js → worker-wmwhxsph.js} +54 -49
- package/openapi.json +1314 -91
- package/package.json +12 -11
- package/src/be/db/agents.ts +20 -0
- package/src/be/db/api-keys.ts +70 -0
- package/src/be/db/tasks/human-free.ts +442 -0
- package/src/be/db/tasks/read.ts +56 -1
- package/src/be/db/tasks/write.ts +107 -11
- package/src/be/db.ts +274 -188
- package/src/be/harness-model-support.ts +182 -0
- package/src/be/human-free-drain.ts +67 -0
- package/src/be/memory/providers/sqlite-store.ts +51 -15
- package/src/be/migrations/182_task_human_free_flag.sql +63 -0
- package/src/be/migrations/183_human_free_reclassify_queue.sql +25 -0
- package/src/be/migrations/184_model_catalog.sql +120 -0
- package/src/be/migrations/185_api_key_auth_failures.sql +6 -0
- package/src/be/migrations/186_api_key_seat_mismatch.sql +8 -0
- package/src/be/model-catalog-store.ts +644 -0
- package/src/be/model-tier-keys.ts +46 -0
- package/src/be/model-tier-resolution.ts +534 -0
- package/src/be/model-validation.ts +188 -0
- package/src/be/models-catalog.ts +61 -7
- package/src/be/modelsdev-cache.json +82 -0
- package/src/be/modelsdev-cache.ts +2 -0
- package/src/be/pricing-refresh.ts +154 -12
- package/src/be/scripts/typecheck.ts +15 -0
- package/src/be/seed/runner.ts +18 -12
- package/src/be/seed/types.ts +1 -0
- package/src/be/seed-scripts/catalog/task-failure-audit.ts +61 -9
- package/src/be/swarm-config-guard.ts +8 -0
- package/src/cli.tsx +10 -0
- package/src/commands/claude-managed-setup.ts +3 -1
- package/src/commands/codex-login.ts +67 -0
- package/src/commands/credential-outcome-report.ts +191 -0
- package/src/commands/rate-limit-outcome.ts +34 -4
- package/src/commands/runner.ts +357 -186
- package/src/commands/seat-mismatch-report.ts +46 -0
- package/src/extensions/apply-task-create.ts +27 -1
- package/src/extensions/contract-types.generated.ts +1 -1
- package/src/heartbeat/heartbeat.ts +79 -17
- package/src/heartbeat/templates.ts +2 -2
- package/src/http/agents.ts +62 -1
- package/src/http/api-keys.ts +140 -2
- package/src/http/codex-oauth-keep-warm.ts +3 -5
- package/src/http/index.ts +8 -0
- package/src/http/memory.ts +12 -5
- package/src/http/models-catalog.ts +357 -8
- package/src/http/poll.ts +54 -3
- package/src/http/schedules.ts +51 -6
- package/src/http/script-runs.ts +12 -0
- package/src/http/session-data.ts +2 -5
- package/src/http/stats.ts +6 -8
- package/src/http/status.ts +15 -1
- package/src/http/tasks.ts +90 -7
- package/src/http/usage-cache.ts +56 -15
- package/src/http/workflows.ts +46 -8
- package/src/mcp-client/http-client.ts +5 -0
- package/src/memory/recall-query.ts +74 -0
- package/src/prompts/base-prompt.ts +15 -4
- package/src/prompts/session-templates.ts +23 -1
- package/src/providers/acp-adapter.ts +1 -0
- package/src/providers/claude-adapter.ts +14 -5
- package/src/providers/claude-managed-adapter.ts +1 -0
- package/src/providers/claude-managed-models.ts +47 -161
- package/src/providers/claude-sdk-session.ts +3 -1
- package/src/providers/codex-adapter.ts +14 -14
- package/src/providers/codex-models.ts +65 -198
- package/src/providers/devin-adapter.ts +1 -0
- package/src/providers/dsh-adapter.ts +2 -1
- package/src/providers/harness-version.ts +83 -7
- package/src/providers/opencode-adapter.ts +53 -1
- package/src/providers/pi-binary-root/src/extensions/codemode/worker.ts +11 -0
- package/src/providers/pi-codemode-runtime.ts +17 -0
- package/src/providers/pi-mono-adapter.ts +361 -83
- package/src/providers/pi-mono-extension.ts +16 -1
- package/src/providers/reasoning-effort.ts +44 -140
- package/src/providers/types.ts +8 -0
- package/src/rbac/legacy-policy.ts +43 -0
- package/src/rbac/permissions.ts +15 -0
- package/src/scripts-runtime/sdk-allowlist.ts +4 -0
- package/src/scripts-runtime/types/stdlib.d.ts +15 -0
- package/src/scripts-runtime/types/swarm-extension.d.ts +3 -0
- package/src/scripts-runtime/types/swarm-sdk.d.ts +15 -0
- package/src/server.ts +6 -0
- package/src/slack/assistant.ts +13 -0
- package/src/slack/message-text.ts +56 -2
- package/src/slack/render-v2.ts +87 -37
- package/src/slack/session-status.ts +541 -0
- package/src/slack/thread-buffer.ts +10 -2
- package/src/tasks/sibling-awareness.ts +3 -2
- package/src/telemetry.ts +5 -4
- package/src/templates.d.ts +6 -0
- package/src/tests/agents-list-model-display.test.ts +4 -6
- package/src/tests/api-key-auth-failure-route.test.ts +142 -0
- package/src/tests/api-key-tracking.test.ts +368 -1
- package/src/tests/base-prompt.test.ts +43 -2
- package/src/tests/claude-adapter.test.ts +68 -0
- package/src/tests/claude-managed-adapter.test.ts +12 -18
- package/src/tests/codex-adapter.test.ts +2 -1
- package/src/tests/codex-auth-failure.test.ts +52 -0
- package/src/tests/codex-gpt6-release.test.ts +66 -5
- package/src/tests/codex-login.test.ts +116 -0
- package/src/tests/context-window.test.ts +7 -5
- package/src/tests/credential-exhaustion-policy.test.ts +118 -3
- package/src/tests/credential-outcome-report.test.ts +171 -0
- package/src/tests/credential-status-api.test.ts +103 -2
- package/src/tests/db-extraction-contract.test.ts +1 -0
- package/src/tests/db-task-read-contract.test.ts +10 -1
- package/src/tests/db-task-write-contract.test.ts +535 -2
- package/src/tests/docs-index-footprint.test.js +3 -3
- package/src/tests/dokploy-deploy.test.ts +315 -0
- package/src/tests/dsh-adapter.test.ts +1 -1
- package/src/tests/explicit-model-validation.test.ts +583 -0
- package/src/tests/extensions-pre-task.test.ts +73 -0
- package/src/tests/fetch-resolved-env.test.ts +46 -0
- package/src/tests/hang-watchdog-worker.ts +47 -0
- package/src/tests/hang-watchdog.test.ts +45 -0
- package/src/tests/hang-watchdog.ts +30 -0
- package/src/tests/harness-model-guard.test.ts +123 -0
- package/src/tests/harness-model-support.test.ts +374 -0
- package/src/tests/harness-version.test.ts +70 -3
- package/src/tests/heartbeat-checklist-config.test.ts +71 -0
- package/src/tests/heartbeat-checklist.test.ts +4 -2
- package/src/tests/heartbeat-orphan-resume.test.ts +48 -0
- package/src/tests/http-task-write-ownership.test.ts +172 -0
- package/src/tests/human-free-flag.test.ts +279 -0
- package/src/tests/human-free-oracle.ts +57 -0
- package/src/tests/human-free-reclassify.test.ts +669 -0
- package/src/tests/memory-fts-populate.test.ts +139 -0
- package/src/tests/memory-http-recall-gating.test.ts +125 -1
- package/src/tests/migration-046-budgets.test.ts +3 -3
- package/src/tests/model-catalog-migration.test.ts +134 -0
- package/src/tests/model-catalog-table.test.ts +249 -0
- package/src/tests/model-catalog-write-access.test.ts +387 -0
- package/src/tests/model-rate-limit-windows.test.ts +19 -0
- package/src/tests/model-tier-resolution.test.ts +611 -0
- package/src/tests/models-catalog.test.ts +1 -1
- package/src/tests/multi-runtime-enabled-stats.test.ts +65 -1
- package/src/tests/opencode-adapter.test.ts +157 -2
- package/src/tests/package-publish.test.ts +137 -36
- package/src/tests/pi-codemode.test.ts +246 -0
- package/src/tests/pi-mono-adapter.test.ts +3 -0
- package/src/tests/pi-native-mcp.test.ts +193 -0
- package/src/tests/pi-tool-exposure.test.ts +374 -0
- package/src/tests/preload.ts +3 -0
- package/src/tests/pricing-routes.test.ts +2 -2
- package/src/tests/prompt-template-session.test.ts +5 -3
- package/src/tests/rate-limit-event.test.ts +65 -0
- package/src/tests/rate-limit-outcome.test.ts +90 -0
- package/src/tests/rbac-engine.test.ts +77 -3
- package/src/tests/reasoning-effort.test.ts +109 -0
- package/src/tests/refresh-modelsdev-carryforward.test.ts +5 -5
- package/src/tests/runner-key-completion-outcome.test.ts +112 -0
- package/src/tests/runner-key-outcome-late-reset.test.ts +224 -0
- package/src/tests/runner-registration-retry.test.ts +149 -0
- package/src/tests/runtime-model-catalog.test.ts +86 -0
- package/src/tests/script-connections.test.ts +9 -0
- package/src/tests/seat-mismatch-report.test.ts +85 -0
- package/src/tests/seed-scripts.test.ts +138 -0
- package/src/tests/seed.test.ts +25 -0
- package/src/tests/session-costs.test.ts +14 -11
- package/src/tests/slack-message-text.test.ts +101 -0
- package/src/tests/slack-render-v2.test.ts +96 -0
- package/src/tests/slack-session-status.test.ts +626 -0
- package/src/tests/slack-thread-buffer-context.test.ts +93 -0
- package/src/tests/status.test.ts +29 -0
- package/src/tests/steering-promotion.test.ts +51 -0
- package/src/tests/store-progress-ownership.test.ts +136 -0
- package/src/tests/subscription-plans.test.ts +28 -0
- package/src/tests/task-cascade-fail.test.ts +148 -2
- package/src/tests/task-citations.test.ts +3 -2
- package/src/tests/tool-annotations.test.ts +1 -1
- package/src/tests/usage-cache.test.ts +166 -0
- package/src/tests/workflow-agent-task.test.ts +30 -0
- package/src/tests/workflow-executors.test.ts +5 -2
- package/src/tests/workflow-system-one-decision-review.test.ts +1021 -0
- package/src/tests/workflow-system-one-decision-save-warnings.test.ts +365 -0
- package/src/tests/workflow-system-one-decision.test.ts +2063 -0
- package/src/tests/workflow-triggers-v2.test.ts +320 -0
- package/src/tools/model-catalog/index.ts +137 -0
- package/src/tools/schedules/create-schedule.ts +17 -2
- package/src/tools/schedules/patch-schedule.ts +31 -1
- package/src/tools/schedules/update-schedule.ts +31 -1
- package/src/tools/send-task.ts +18 -1
- package/src/tools/store-progress.ts +49 -4
- package/src/tools/task-action.ts +14 -1
- package/src/tools/tool-config.ts +3 -1
- package/src/tools/workflows/create-workflow.ts +17 -4
- package/src/tools/workflows/patch-workflow-node.ts +17 -7
- package/src/tools/workflows/patch-workflow.ts +9 -2
- package/src/tools/workflows/update-workflow.ts +17 -4
- package/src/types.ts +41 -1
- package/src/utils/codex-auth-failure.ts +34 -0
- package/src/utils/context-window.ts +47 -53
- package/src/utils/credentials.ts +72 -30
- package/src/utils/error-tracker.ts +80 -0
- package/src/utils/harness-cli-version.ts +115 -0
- package/src/utils/harness-model-error.ts +33 -0
- package/src/utils/model-rate-limit-windows.ts +12 -0
- package/src/utils/runtime-model-catalog.ts +152 -0
- package/src/utils/spawn-model-guard.ts +43 -0
- package/src/utils/subscription-plans.ts +22 -0
- package/src/workflows/approval-resolution.ts +39 -0
- package/src/workflows/definition.ts +7 -0
- package/src/workflows/engine.ts +69 -1
- package/src/workflows/executors/agent-task.ts +16 -6
- package/src/workflows/executors/base.ts +53 -0
- package/src/workflows/executors/human-in-the-loop.ts +8 -8
- package/src/workflows/executors/index.ts +1 -0
- package/src/workflows/executors/registry.ts +2 -0
- package/src/workflows/executors/system-one-decision.ts +1232 -0
- package/src/workflows/executors/system-one-providers.ts +301 -0
- package/src/workflows/executors/workflow-llm.ts +13 -1
- package/src/workflows/model-validation.ts +45 -0
- package/src/workflows/patch-definition.ts +5 -0
- package/src/workflows/readiness.ts +86 -0
- package/src/workflows/recovery.ts +12 -12
- package/src/workflows/resume.ts +23 -9
- package/src/workflows/triggers.ts +85 -0
- package/templates/schedules/daily-blocker-digest/content.md +4 -5
- package/templates/skills/agent-browser/SKILL.md +6 -5
- package/templates/skills/agent-browser/content.md +6 -5
- package/templates/skills/heartbeat-runbook/config.json +1 -1
- package/templates/skills/heartbeat-runbook/content.md +2 -2
- package/templates/skills/swarm-scripts/SKILL.md +1 -1
- package/templates/skills/swarm-scripts/content.md +1 -1
- package/templates/skills/workflow-iterate/content.md +82 -1
- package/templates/workflows/claude-code-changelog-watch/content.md +2 -0
- package/templates/workflows/pr-review-status-sweep/content.md +2 -0
- package/dist/boot-seeds-s3q01xj3.js +0 -26
- package/dist/claude-sdk-session-t442qz6f.js +0 -39108
- package/dist/cli-0xjkj1j7.js +0 -61
- package/dist/cli-20cj37vt.js +0 -335561
- package/dist/cli-2djtr51b.js +0 -48
- package/dist/cli-65hjmev5.js +0 -1141
- package/dist/cli-aw1jwp1r.js +0 -14075
- package/dist/cli-h967nb6r.js +0 -6603
- package/dist/cli-vapyk8sw.js +0 -20
- package/dist/cli-ws6rqycm.js +0 -247
- package/dist/pricing-refresh-v1cbr9te.js +0 -27
- package/src/providers/modelsdev-reasoning.json +0 -6453
- package/dist/{index-f24115ge.js → index-2wsdsnmm.js} +3 -3
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import {
|
|
2
|
+
classifySystemOne,
|
|
3
|
+
isRecord
|
|
4
|
+
} from "./cli-89s4ngw3.js";
|
|
5
|
+
import"./cli-qbksc292.js";
|
|
6
|
+
import"./cli-6map995v.js";
|
|
7
|
+
import"./cli-7kyk9jr3.js";
|
|
8
|
+
import"./cli-ykk5jaax.js";
|
|
9
|
+
import"./cli-bzr0ftht.js";
|
|
10
|
+
import"./cli-bc05qbss.js";
|
|
11
|
+
|
|
12
|
+
// node_modules/@earendil-works/pi-ai/dist/api/cloudflare-workers-ai-system-one.js
|
|
13
|
+
var LABEL = "Cloudflare Workers AI";
|
|
14
|
+
function cloudflareErrorMessage(errors) {
|
|
15
|
+
if (Array.isArray(errors)) {
|
|
16
|
+
const messages = errors.map((error) => isRecord(error) && typeof error.message === "string" ? error.message : undefined).filter((message) => message !== undefined);
|
|
17
|
+
if (messages.length > 0)
|
|
18
|
+
return `${LABEL} error: ${messages.join("; ")}`;
|
|
19
|
+
}
|
|
20
|
+
return `${LABEL} request failed`;
|
|
21
|
+
}
|
|
22
|
+
var transport = {
|
|
23
|
+
api: "cloudflare-workers-ai-system-one",
|
|
24
|
+
label: LABEL,
|
|
25
|
+
url: (model) => new URL("run", `${model.baseUrl.replace(/\/+$/u, "")}/`),
|
|
26
|
+
payload: (model, request) => ({ model: model.id, input: request }),
|
|
27
|
+
output: (body) => {
|
|
28
|
+
if (!isRecord(body))
|
|
29
|
+
throw new Error(`${LABEL} returned an unexpected response`);
|
|
30
|
+
if (body.success === false)
|
|
31
|
+
throw new Error(cloudflareErrorMessage(body.errors));
|
|
32
|
+
const run = body.result;
|
|
33
|
+
if (!isRecord(run))
|
|
34
|
+
throw new Error(`${LABEL} returned an unexpected response`);
|
|
35
|
+
if (run.state !== "Completed") {
|
|
36
|
+
throw new Error(`${LABEL} run did not complete (state: ${String(run.state)})`);
|
|
37
|
+
}
|
|
38
|
+
if (!isRecord(run.result))
|
|
39
|
+
throw new Error(`${LABEL} returned an unexpected response`);
|
|
40
|
+
return run.result;
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
var classify = (model, context, options) => classifySystemOne(transport, model, context, options);
|
|
44
|
+
export {
|
|
45
|
+
classify
|
|
46
|
+
};
|
|
@@ -2,40 +2,48 @@ import {
|
|
|
2
2
|
CodexAdapter,
|
|
3
3
|
CodexSession,
|
|
4
4
|
buildCodexConfig,
|
|
5
|
+
buildPoolRevalidationFailureReason,
|
|
5
6
|
checkCodexCredentials,
|
|
6
7
|
createInProcessCodexSession,
|
|
7
8
|
resolveCodexAuthMode,
|
|
8
9
|
resolveCodexRunnerArgv
|
|
9
|
-
} from "./cli-
|
|
10
|
-
import"./cli-r94z9p1z.js";
|
|
10
|
+
} from "./cli-br0qdrnp.js";
|
|
11
11
|
import"./cli-hsxj0yar.js";
|
|
12
|
-
import"./cli-
|
|
12
|
+
import"./cli-r94z9p1z.js";
|
|
13
|
+
import"./cli-gt4hxb8p.js";
|
|
13
14
|
import"./cli-q2j38vre.js";
|
|
14
|
-
import"./cli-
|
|
15
|
-
import"./cli-cw9zck8j.js";
|
|
16
|
-
import"./cli-0xjkj1j7.js";
|
|
15
|
+
import"./cli-xjcywfsf.js";
|
|
17
16
|
import"./cli-hp1n6zq3.js";
|
|
18
|
-
import"./cli-
|
|
19
|
-
import"./cli-
|
|
20
|
-
import"./cli-
|
|
21
|
-
import"./cli-
|
|
17
|
+
import"./cli-zm7njwzd.js";
|
|
18
|
+
import"./cli-74h9hscv.js";
|
|
19
|
+
import"./cli-2pdaysab.js";
|
|
20
|
+
import"./cli-4derpgyk.js";
|
|
21
|
+
import"./cli-cpvsaqsw.js";
|
|
22
22
|
import"./cli-re8z5p8p.js";
|
|
23
|
-
import"./cli-3dpj7atn.js";
|
|
24
|
-
import"./cli-aw1jwp1r.js";
|
|
25
23
|
import"./cli-y89t4nca.js";
|
|
26
24
|
import"./cli-f14fvzag.js";
|
|
25
|
+
import"./cli-12tszpk9.js";
|
|
26
|
+
import"./cli-ygwm91nt.js";
|
|
27
|
+
import"./cli-3dpj7atn.js";
|
|
28
|
+
import"./cli-10nhj6xq.js";
|
|
29
|
+
import"./cli-rb9m6rpe.js";
|
|
30
|
+
import"./cli-rykfmgwg.js";
|
|
27
31
|
import"./cli-bsakbbkm.js";
|
|
28
|
-
import"./cli-
|
|
29
|
-
import"./cli-
|
|
32
|
+
import"./cli-trc24wk2.js";
|
|
33
|
+
import"./cli-ktmyrtpn.js";
|
|
34
|
+
import"./cli-dv6cdjs2.js";
|
|
35
|
+
import"./cli-1a2j50m0.js";
|
|
36
|
+
import"./cli-ywybs5as.js";
|
|
30
37
|
import"./cli-ej6gbxfb.js";
|
|
38
|
+
import"./cli-kmcpfwn2.js";
|
|
31
39
|
import"./cli-sd0mxa3c.js";
|
|
32
40
|
import"./cli-w5e1d1vv.js";
|
|
33
|
-
import"./cli-
|
|
41
|
+
import"./cli-0q3avq3s.js";
|
|
34
42
|
import"./cli-r2ap2czm.js";
|
|
35
|
-
import"./cli-
|
|
43
|
+
import"./cli-13hw4z91.js";
|
|
36
44
|
import"./cli-btbzvq95.js";
|
|
37
45
|
import"./cli-1m2e086m.js";
|
|
38
|
-
import"./cli-
|
|
46
|
+
import"./cli-ykk5jaax.js";
|
|
39
47
|
import"./cli-bzr0ftht.js";
|
|
40
48
|
import"./cli-knd276ed.js";
|
|
41
49
|
import"./cli-bc05qbss.js";
|
|
@@ -43,6 +51,7 @@ export {
|
|
|
43
51
|
CodexAdapter,
|
|
44
52
|
CodexSession,
|
|
45
53
|
buildCodexConfig,
|
|
54
|
+
buildPoolRevalidationFailureReason,
|
|
46
55
|
checkCodexCredentials,
|
|
47
56
|
createInProcessCodexSession,
|
|
48
57
|
resolveCodexAuthMode,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env bun
|
|
2
2
|
import {
|
|
3
3
|
renderSteeringDelivery
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-58e8yr0d.js";
|
|
5
5
|
import {
|
|
6
6
|
getApiKey
|
|
7
7
|
} from "./cli-f14fvzag.js";
|
|
8
8
|
import {
|
|
9
9
|
init_steering_enabled,
|
|
10
10
|
isSteeringEnabled
|
|
11
|
-
} from "./cli-
|
|
11
|
+
} from "./cli-ptr8h7kp.js";
|
|
12
12
|
import {
|
|
13
13
|
getMcpBaseUrl,
|
|
14
14
|
init_constants
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
getApiKey
|
|
3
|
+
} from "./cli-f14fvzag.js";
|
|
1
4
|
import {
|
|
2
5
|
MAX_CODEX_OAUTH_SLOT,
|
|
6
|
+
deriveCodexKeySuffix,
|
|
3
7
|
loadAllCodexOAuthSlots,
|
|
4
8
|
loginCodexOAuth,
|
|
5
9
|
storeCodexOAuth
|
|
6
|
-
} from "./cli-
|
|
7
|
-
import
|
|
8
|
-
getApiKey
|
|
9
|
-
} from "./cli-f14fvzag.js";
|
|
10
|
-
import"./cli-cqt19wg6.js";
|
|
10
|
+
} from "./cli-ygwm91nt.js";
|
|
11
|
+
import"./cli-1a2j50m0.js";
|
|
11
12
|
import"./cli-r2ap2czm.js";
|
|
12
13
|
import {
|
|
13
14
|
__require
|
|
@@ -16,6 +17,34 @@ import {
|
|
|
16
17
|
// src/commands/codex-login.ts
|
|
17
18
|
import { exec } from "node:child_process";
|
|
18
19
|
import { emitKeypressEvents } from "node:readline";
|
|
20
|
+
async function readCodexAuthFailureFence(apiUrl, apiKey) {
|
|
21
|
+
const resp = await fetch(`${apiUrl}/api/keys/available?keyType=CODEX_OAUTH&totalKeys=1`, {
|
|
22
|
+
headers: { Authorization: `Bearer ${apiKey}` }
|
|
23
|
+
});
|
|
24
|
+
if (!resp.ok)
|
|
25
|
+
throw new Error(`keys/available returned ${resp.status}`);
|
|
26
|
+
const data = await resp.json();
|
|
27
|
+
if (typeof data.authFailureFence !== "number")
|
|
28
|
+
throw new Error("no authFailureFence in response");
|
|
29
|
+
return data.authFailureFence;
|
|
30
|
+
}
|
|
31
|
+
async function clearCodexAuthBench(apiUrl, apiKey, keySuffix, slot, authFence) {
|
|
32
|
+
const resp = await fetch(`${apiUrl}/api/keys/clear-rate-limit`, {
|
|
33
|
+
method: "POST",
|
|
34
|
+
headers: { "Content-Type": "application/json", Authorization: `Bearer ${apiKey}` },
|
|
35
|
+
body: JSON.stringify({
|
|
36
|
+
keyType: "CODEX_OAUTH",
|
|
37
|
+
keySuffix,
|
|
38
|
+
clearAuthBench: true,
|
|
39
|
+
keyIndex: slot,
|
|
40
|
+
authFence
|
|
41
|
+
})
|
|
42
|
+
});
|
|
43
|
+
if (!resp.ok)
|
|
44
|
+
throw new Error(`clear-rate-limit returned ${resp.status}`);
|
|
45
|
+
const data = await resp.json();
|
|
46
|
+
return data.cleared === true;
|
|
47
|
+
}
|
|
19
48
|
function parseCodexLoginArgs(args) {
|
|
20
49
|
const parsed = { showHelp: false };
|
|
21
50
|
for (let i = 0;i < args.length; i++) {
|
|
@@ -146,6 +175,8 @@ async function runCodexLogin(args, deps = {}) {
|
|
|
146
175
|
const login = deps.login ?? loginCodexOAuth;
|
|
147
176
|
const store = deps.store ?? storeCodexOAuth;
|
|
148
177
|
const loadAllSlots = deps.loadAllSlots ?? loadAllCodexOAuthSlots;
|
|
178
|
+
const clearAuthBench = deps.clearAuthBench ?? clearCodexAuthBench;
|
|
179
|
+
const readAuthFence = deps.readAuthFence ?? readCodexAuthFailureFence;
|
|
149
180
|
const log = deps.log ?? console.log;
|
|
150
181
|
const error = deps.error ?? console.error;
|
|
151
182
|
const exit = deps.exit ?? ((code) => process.exit(code));
|
|
@@ -218,10 +249,22 @@ Error: All credential slots (0-${MAX_CODEX_OAUTH_SLOT}) are already in use`);
|
|
|
218
249
|
OAuth flow completed successfully!`);
|
|
219
250
|
log(` Account ID: ${creds.accountId}`);
|
|
220
251
|
log(` Expires: ${new Date(creds.expires).toISOString()}`);
|
|
252
|
+
const authFence = await readAuthFence(apiUrl, apiKey).catch((err) => err);
|
|
221
253
|
log(`
|
|
222
254
|
Storing credentials in swarm API config store...`);
|
|
223
255
|
await store(apiUrl, apiKey, creds, slot);
|
|
224
256
|
log(`Credentials stored successfully in slot ${slot}!`);
|
|
257
|
+
const keySuffix = deriveCodexKeySuffix(creds.access, creds.accountId);
|
|
258
|
+
try {
|
|
259
|
+
if (typeof authFence !== "number")
|
|
260
|
+
throw authFence;
|
|
261
|
+
if (await clearAuthBench(apiUrl, apiKey, keySuffix, slot, authFence)) {
|
|
262
|
+
log(`Lifted the auth-failure bench on key ...${keySuffix}.`);
|
|
263
|
+
}
|
|
264
|
+
} catch (err) {
|
|
265
|
+
const message = err instanceof Error ? err.message : String(err);
|
|
266
|
+
error(`Warning: could not lift the auth-failure bench on key ...${keySuffix}: ${message}`);
|
|
267
|
+
}
|
|
225
268
|
log(`
|
|
226
269
|
Deployed Codex workers will automatically restore these credentials at boot.`);
|
|
227
270
|
} catch (err) {
|
|
@@ -232,7 +275,9 @@ Error: ${message}`);
|
|
|
232
275
|
}
|
|
233
276
|
}
|
|
234
277
|
export {
|
|
278
|
+
clearCodexAuthBench,
|
|
235
279
|
promptHiddenInput,
|
|
280
|
+
readCodexAuthFailureFence,
|
|
236
281
|
resolveCodexLoginConfig,
|
|
237
282
|
runCodexLogin
|
|
238
283
|
};
|
|
@@ -1,38 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createInProcessCodexSession
|
|
3
|
-
} from "./cli-
|
|
4
|
-
import"./cli-r94z9p1z.js";
|
|
3
|
+
} from "./cli-br0qdrnp.js";
|
|
5
4
|
import"./cli-hsxj0yar.js";
|
|
6
|
-
import"./cli-
|
|
5
|
+
import"./cli-r94z9p1z.js";
|
|
6
|
+
import"./cli-gt4hxb8p.js";
|
|
7
7
|
import"./cli-q2j38vre.js";
|
|
8
|
-
import"./cli-
|
|
9
|
-
import"./cli-cw9zck8j.js";
|
|
10
|
-
import"./cli-0xjkj1j7.js";
|
|
8
|
+
import"./cli-xjcywfsf.js";
|
|
11
9
|
import"./cli-hp1n6zq3.js";
|
|
12
|
-
import"./cli-
|
|
13
|
-
import"./cli-
|
|
14
|
-
import"./cli-
|
|
15
|
-
import"./cli-
|
|
10
|
+
import"./cli-zm7njwzd.js";
|
|
11
|
+
import"./cli-74h9hscv.js";
|
|
12
|
+
import"./cli-2pdaysab.js";
|
|
13
|
+
import"./cli-4derpgyk.js";
|
|
14
|
+
import"./cli-cpvsaqsw.js";
|
|
16
15
|
import"./cli-re8z5p8p.js";
|
|
17
|
-
import"./cli-3dpj7atn.js";
|
|
18
|
-
import"./cli-aw1jwp1r.js";
|
|
19
16
|
import"./cli-y89t4nca.js";
|
|
20
17
|
import"./cli-f14fvzag.js";
|
|
18
|
+
import"./cli-12tszpk9.js";
|
|
19
|
+
import"./cli-ygwm91nt.js";
|
|
20
|
+
import"./cli-3dpj7atn.js";
|
|
21
|
+
import"./cli-10nhj6xq.js";
|
|
22
|
+
import"./cli-rb9m6rpe.js";
|
|
23
|
+
import"./cli-rykfmgwg.js";
|
|
21
24
|
import"./cli-bsakbbkm.js";
|
|
22
|
-
import"./cli-
|
|
23
|
-
import"./cli-
|
|
25
|
+
import"./cli-trc24wk2.js";
|
|
26
|
+
import"./cli-ktmyrtpn.js";
|
|
27
|
+
import"./cli-dv6cdjs2.js";
|
|
28
|
+
import"./cli-1a2j50m0.js";
|
|
29
|
+
import"./cli-ywybs5as.js";
|
|
24
30
|
import"./cli-ej6gbxfb.js";
|
|
31
|
+
import"./cli-kmcpfwn2.js";
|
|
25
32
|
import"./cli-sd0mxa3c.js";
|
|
26
33
|
import"./cli-w5e1d1vv.js";
|
|
27
|
-
import"./cli-
|
|
34
|
+
import"./cli-0q3avq3s.js";
|
|
28
35
|
import {
|
|
29
36
|
init_secret_scrubber,
|
|
30
37
|
scrubSecrets
|
|
31
38
|
} from "./cli-r2ap2czm.js";
|
|
32
|
-
import"./cli-
|
|
39
|
+
import"./cli-13hw4z91.js";
|
|
33
40
|
import"./cli-btbzvq95.js";
|
|
34
41
|
import"./cli-1m2e086m.js";
|
|
35
|
-
import"./cli-
|
|
42
|
+
import"./cli-ykk5jaax.js";
|
|
36
43
|
import"./cli-bzr0ftht.js";
|
|
37
44
|
import"./cli-knd276ed.js";
|
|
38
45
|
import"./cli-bc05qbss.js";
|
|
@@ -2,22 +2,24 @@ import {
|
|
|
2
2
|
getAllAgents,
|
|
3
3
|
getAllTasks,
|
|
4
4
|
init_db
|
|
5
|
-
} from "./cli-
|
|
6
|
-
import"./cli-
|
|
7
|
-
import"./cli-
|
|
8
|
-
import"./cli-
|
|
9
|
-
import"./cli-19jenss3.js";
|
|
10
|
-
import"./cli-dv6cdjs2.js";
|
|
5
|
+
} from "./cli-qydf22qq.js";
|
|
6
|
+
import"./cli-3qhyh31j.js";
|
|
7
|
+
import"./cli-ktmyrtpn.js";
|
|
8
|
+
import"./cli-r1mxd1xh.js";
|
|
11
9
|
import"./cli-n7h1kqpf.js";
|
|
12
|
-
import"./cli-
|
|
13
|
-
import"./cli-
|
|
10
|
+
import"./cli-ptr8h7kp.js";
|
|
11
|
+
import"./cli-dv6cdjs2.js";
|
|
12
|
+
import"./cli-1a2j50m0.js";
|
|
13
|
+
import"./cli-0wgxmwf6.js";
|
|
14
|
+
import"./cli-ywybs5as.js";
|
|
14
15
|
import {
|
|
15
16
|
init_env_flag,
|
|
16
17
|
isEnvFlagEnabled
|
|
17
18
|
} from "./cli-ej6gbxfb.js";
|
|
19
|
+
import"./cli-kmcpfwn2.js";
|
|
18
20
|
import"./cli-sd0mxa3c.js";
|
|
19
21
|
import"./cli-w5e1d1vv.js";
|
|
20
|
-
import"./cli-
|
|
22
|
+
import"./cli-0q3avq3s.js";
|
|
21
23
|
import"./cli-r2ap2czm.js";
|
|
22
24
|
import"./cli-zf8jjwex.js";
|
|
23
25
|
import"./cli-bc05qbss.js";
|
|
@@ -128,6 +128,7 @@ import {
|
|
|
128
128
|
getAgentMailInboxMappingsByAgent,
|
|
129
129
|
getAgentMcpServers,
|
|
130
130
|
getAgentSkills,
|
|
131
|
+
getAgentStatusCounts,
|
|
131
132
|
getAgentWithTasks,
|
|
132
133
|
getAgentWorkingOnThread,
|
|
133
134
|
getAllAgentMailInboxMappings,
|
|
@@ -282,6 +283,7 @@ import {
|
|
|
282
283
|
getStuckApprovalRuns,
|
|
283
284
|
getStuckWaitRuns,
|
|
284
285
|
getStuckWorkflowRuns,
|
|
286
|
+
getSupersededTasksWithUnsettledDependents,
|
|
285
287
|
getSupersededTasksWithoutResume,
|
|
286
288
|
getSwarmConfigById,
|
|
287
289
|
getSwarmConfigLookupById,
|
|
@@ -305,7 +307,6 @@ import {
|
|
|
305
307
|
getUnassignedTasksCount,
|
|
306
308
|
getUnreadInboxMessages,
|
|
307
309
|
getUnreadMessages,
|
|
308
|
-
getUsageDataVersion,
|
|
309
310
|
getUserById,
|
|
310
311
|
getWaitStateById,
|
|
311
312
|
getWaitStateByStepId,
|
|
@@ -339,6 +340,7 @@ import {
|
|
|
339
340
|
isPendingSlackMessage,
|
|
340
341
|
isPoolAffinityEnforcementEnabled,
|
|
341
342
|
isSettledSlackMessage,
|
|
343
|
+
isSlackThreadAwaitingHuman,
|
|
342
344
|
isSqliteVecAvailable,
|
|
343
345
|
kvPrefixUpperBound,
|
|
344
346
|
listAgentsWithCredStatusByProvider,
|
|
@@ -360,6 +362,7 @@ import {
|
|
|
360
362
|
listScriptRuns,
|
|
361
363
|
listSkillFileManifest,
|
|
362
364
|
listSkills,
|
|
365
|
+
listSlackThreadsAwaitingHuman,
|
|
363
366
|
listTaskTemplates,
|
|
364
367
|
listUserFavorites,
|
|
365
368
|
listWorkflowRuns,
|
|
@@ -393,7 +396,9 @@ import {
|
|
|
393
396
|
reassociateSessionLogs,
|
|
394
397
|
recordBudgetRefusalNotification,
|
|
395
398
|
recordInlineScriptRun,
|
|
399
|
+
recordKeyAuthFailure,
|
|
396
400
|
recordKeyRateLimitWindows,
|
|
401
|
+
recordKeySeatMismatch,
|
|
397
402
|
recordKeyUsage,
|
|
398
403
|
recordSlackMessage,
|
|
399
404
|
recordTaskPullRequestAttachments,
|
|
@@ -426,6 +431,7 @@ import {
|
|
|
426
431
|
setFavorite,
|
|
427
432
|
setSlackMessageTracking,
|
|
428
433
|
setUserFavorite,
|
|
434
|
+
settleSupersededTaskDependents,
|
|
429
435
|
shouldBlockPolling,
|
|
430
436
|
startTask,
|
|
431
437
|
supersedeTask,
|
|
@@ -478,24 +484,26 @@ import {
|
|
|
478
484
|
upsertSkillFiles,
|
|
479
485
|
upsertSwarmConfig,
|
|
480
486
|
withFavoriteFlags
|
|
481
|
-
} from "./cli-
|
|
482
|
-
import"./cli-
|
|
487
|
+
} from "./cli-qydf22qq.js";
|
|
488
|
+
import"./cli-3qhyh31j.js";
|
|
489
|
+
import"./cli-ktmyrtpn.js";
|
|
483
490
|
import {
|
|
484
491
|
generateDefaultClaudeMd,
|
|
485
492
|
generateDefaultIdentityMd,
|
|
486
493
|
generateDefaultSoulMd,
|
|
487
494
|
generateDefaultToolsMd
|
|
488
|
-
} from "./cli-
|
|
489
|
-
import"./cli-ggm92wcn.js";
|
|
490
|
-
import"./cli-19jenss3.js";
|
|
491
|
-
import"./cli-dv6cdjs2.js";
|
|
495
|
+
} from "./cli-r1mxd1xh.js";
|
|
492
496
|
import"./cli-n7h1kqpf.js";
|
|
493
|
-
import"./cli-
|
|
494
|
-
import"./cli-
|
|
497
|
+
import"./cli-ptr8h7kp.js";
|
|
498
|
+
import"./cli-dv6cdjs2.js";
|
|
499
|
+
import"./cli-1a2j50m0.js";
|
|
500
|
+
import"./cli-0wgxmwf6.js";
|
|
501
|
+
import"./cli-ywybs5as.js";
|
|
495
502
|
import"./cli-ej6gbxfb.js";
|
|
503
|
+
import"./cli-kmcpfwn2.js";
|
|
496
504
|
import"./cli-sd0mxa3c.js";
|
|
497
505
|
import"./cli-w5e1d1vv.js";
|
|
498
|
-
import"./cli-
|
|
506
|
+
import"./cli-0q3avq3s.js";
|
|
499
507
|
import"./cli-r2ap2czm.js";
|
|
500
508
|
import"./cli-zf8jjwex.js";
|
|
501
509
|
import"./cli-bc05qbss.js";
|
|
@@ -635,6 +643,7 @@ export {
|
|
|
635
643
|
getAgentMailInboxMappingsByAgent,
|
|
636
644
|
getAgentMcpServers,
|
|
637
645
|
getAgentSkills,
|
|
646
|
+
getAgentStatusCounts,
|
|
638
647
|
getAgentWithTasks,
|
|
639
648
|
getAgentWorkingOnThread,
|
|
640
649
|
getAllAgentMailInboxMappings,
|
|
@@ -789,6 +798,7 @@ export {
|
|
|
789
798
|
getStuckApprovalRuns,
|
|
790
799
|
getStuckWaitRuns,
|
|
791
800
|
getStuckWorkflowRuns,
|
|
801
|
+
getSupersededTasksWithUnsettledDependents,
|
|
792
802
|
getSupersededTasksWithoutResume,
|
|
793
803
|
getSwarmConfigById,
|
|
794
804
|
getSwarmConfigLookupById,
|
|
@@ -812,7 +822,6 @@ export {
|
|
|
812
822
|
getUnassignedTasksCount,
|
|
813
823
|
getUnreadInboxMessages,
|
|
814
824
|
getUnreadMessages,
|
|
815
|
-
getUsageDataVersion,
|
|
816
825
|
getUserById,
|
|
817
826
|
getWaitStateById,
|
|
818
827
|
getWaitStateByStepId,
|
|
@@ -845,6 +854,7 @@ export {
|
|
|
845
854
|
isPendingSlackMessage,
|
|
846
855
|
isPoolAffinityEnforcementEnabled,
|
|
847
856
|
isSettledSlackMessage,
|
|
857
|
+
isSlackThreadAwaitingHuman,
|
|
848
858
|
isSqliteVecAvailable,
|
|
849
859
|
kvPrefixUpperBound,
|
|
850
860
|
listAgentsWithCredStatusByProvider,
|
|
@@ -866,6 +876,7 @@ export {
|
|
|
866
876
|
listScriptRuns,
|
|
867
877
|
listSkillFileManifest,
|
|
868
878
|
listSkills,
|
|
879
|
+
listSlackThreadsAwaitingHuman,
|
|
869
880
|
listTaskTemplates,
|
|
870
881
|
listUserFavorites,
|
|
871
882
|
listWorkflowRuns,
|
|
@@ -899,7 +910,9 @@ export {
|
|
|
899
910
|
reassociateSessionLogs,
|
|
900
911
|
recordBudgetRefusalNotification,
|
|
901
912
|
recordInlineScriptRun,
|
|
913
|
+
recordKeyAuthFailure,
|
|
902
914
|
recordKeyRateLimitWindows,
|
|
915
|
+
recordKeySeatMismatch,
|
|
903
916
|
recordKeyUsage,
|
|
904
917
|
recordSlackMessage,
|
|
905
918
|
recordTaskPullRequestAttachments,
|
|
@@ -932,6 +945,7 @@ export {
|
|
|
932
945
|
setFavorite,
|
|
933
946
|
setSlackMessageTracking,
|
|
934
947
|
setUserFavorite,
|
|
948
|
+
settleSupersededTaskDependents,
|
|
935
949
|
shouldBlockPolling,
|
|
936
950
|
startTask,
|
|
937
951
|
supersedeTask,
|
|
@@ -11,53 +11,58 @@ import {
|
|
|
11
11
|
resolveBridgeCallOrigin,
|
|
12
12
|
runContext,
|
|
13
13
|
unregister
|
|
14
|
-
} from "./cli-
|
|
14
|
+
} from "./cli-9hsgwz4w.js";
|
|
15
15
|
import"./cli-0z2v4nhw.js";
|
|
16
|
-
import"./cli-
|
|
17
|
-
import"./cli-vhjwh6cz.js";
|
|
16
|
+
import"./cli-cpvsaqsw.js";
|
|
18
17
|
import"./cli-re8z5p8p.js";
|
|
19
|
-
import"./cli-
|
|
20
|
-
import"./cli-
|
|
21
|
-
import"./cli-
|
|
22
|
-
import"./cli-
|
|
23
|
-
import"./cli-
|
|
24
|
-
import"./cli-
|
|
25
|
-
import"./cli-fgqxwrpv.js";
|
|
18
|
+
import"./cli-jsp14b6c.js";
|
|
19
|
+
import"./cli-tzx2ke1v.js";
|
|
20
|
+
import"./cli-tmqt7dpj.js";
|
|
21
|
+
import"./cli-tfky2838.js";
|
|
22
|
+
import"./cli-vctdqs5h.js";
|
|
23
|
+
import"./cli-tpq83z89.js";
|
|
26
24
|
import"./cli-epan13p1.js";
|
|
27
25
|
import"./cli-y89t4nca.js";
|
|
28
26
|
import"./cli-f14fvzag.js";
|
|
29
|
-
import"./cli-
|
|
30
|
-
import"./cli-
|
|
31
|
-
import"./cli-
|
|
32
|
-
import"./cli-
|
|
33
|
-
import"./cli-
|
|
34
|
-
import"./cli-
|
|
27
|
+
import"./cli-12tszpk9.js";
|
|
28
|
+
import"./cli-ygwm91nt.js";
|
|
29
|
+
import"./cli-3dpj7atn.js";
|
|
30
|
+
import"./cli-10nhj6xq.js";
|
|
31
|
+
import"./cli-rb9m6rpe.js";
|
|
32
|
+
import"./cli-rykfmgwg.js";
|
|
33
|
+
import"./cli-0jwe9034.js";
|
|
34
|
+
import"./cli-6cs6wzxt.js";
|
|
35
35
|
import"./cli-fad8m16k.js";
|
|
36
|
+
import"./cli-jz4w45qt.js";
|
|
37
|
+
import"./cli-25fcq4b4.js";
|
|
38
|
+
import"./cli-bsakbbkm.js";
|
|
39
|
+
import"./cli-trc24wk2.js";
|
|
36
40
|
import"./cli-51tf7ac3.js";
|
|
37
|
-
import"./cli-
|
|
38
|
-
import"./cli-j57qkrpq.js";
|
|
41
|
+
import"./cli-azhgzetg.js";
|
|
39
42
|
import"./cli-q51yprfq.js";
|
|
40
43
|
import"./cli-3er6gcsn.js";
|
|
41
44
|
import"./cli-2658f6at.js";
|
|
42
45
|
import"./cli-yatxqynm.js";
|
|
43
|
-
import"./cli-
|
|
44
|
-
import"./cli-
|
|
45
|
-
import"./cli-
|
|
46
|
-
import"./cli-
|
|
47
|
-
import"./cli-19jenss3.js";
|
|
48
|
-
import"./cli-dv6cdjs2.js";
|
|
46
|
+
import"./cli-qydf22qq.js";
|
|
47
|
+
import"./cli-3qhyh31j.js";
|
|
48
|
+
import"./cli-ktmyrtpn.js";
|
|
49
|
+
import"./cli-r1mxd1xh.js";
|
|
49
50
|
import"./cli-n7h1kqpf.js";
|
|
50
|
-
import"./cli-
|
|
51
|
-
import"./cli-
|
|
51
|
+
import"./cli-ptr8h7kp.js";
|
|
52
|
+
import"./cli-dv6cdjs2.js";
|
|
53
|
+
import"./cli-1a2j50m0.js";
|
|
54
|
+
import"./cli-0wgxmwf6.js";
|
|
55
|
+
import"./cli-ywybs5as.js";
|
|
52
56
|
import"./cli-ej6gbxfb.js";
|
|
57
|
+
import"./cli-kmcpfwn2.js";
|
|
53
58
|
import"./cli-sd0mxa3c.js";
|
|
54
59
|
import"./cli-w5e1d1vv.js";
|
|
55
|
-
import"./cli-
|
|
60
|
+
import"./cli-0q3avq3s.js";
|
|
56
61
|
import"./cli-r2ap2czm.js";
|
|
57
|
-
import"./cli-
|
|
62
|
+
import"./cli-13hw4z91.js";
|
|
58
63
|
import"./cli-btbzvq95.js";
|
|
59
64
|
import"./cli-1m2e086m.js";
|
|
60
|
-
import"./cli-
|
|
65
|
+
import"./cli-ykk5jaax.js";
|
|
61
66
|
import"./cli-bzr0ftht.js";
|
|
62
67
|
import"./cli-bd957dgb.js";
|
|
63
68
|
import"./cli-pzxba7gw.js";
|
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
DSH_PACKAGE,
|
|
3
3
|
DshAdapter,
|
|
4
4
|
checkDshCredentials
|
|
5
|
-
} from "./cli-
|
|
5
|
+
} from "./cli-shkxm1vn.js";
|
|
6
6
|
import"./cli-r94z9p1z.js";
|
|
7
|
-
import"./cli-3dpj7atn.js";
|
|
8
7
|
import"./cli-y89t4nca.js";
|
|
9
|
-
import"./cli-
|
|
8
|
+
import"./cli-3dpj7atn.js";
|
|
9
|
+
import"./cli-ktmyrtpn.js";
|
|
10
10
|
import"./cli-dv6cdjs2.js";
|
|
11
11
|
import"./cli-sd0mxa3c.js";
|
|
12
12
|
import"./cli-w5e1d1vv.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
require_jsx_dev_runtime
|
|
3
|
-
} from "./cli-
|
|
3
|
+
} from "./cli-t3p77qk1.js";
|
|
4
4
|
import {
|
|
5
5
|
getApiKey
|
|
6
6
|
} from "./cli-f14fvzag.js";
|
|
@@ -21,8 +21,9 @@ import {
|
|
|
21
21
|
render_default,
|
|
22
22
|
require_react,
|
|
23
23
|
use_app_default
|
|
24
|
-
} from "./cli-
|
|
25
|
-
import"./cli-
|
|
24
|
+
} from "./cli-fkqhbg8g.js";
|
|
25
|
+
import"./cli-0xqde53b.js";
|
|
26
|
+
import"./cli-pqetb83f.js";
|
|
26
27
|
import {
|
|
27
28
|
__require,
|
|
28
29
|
__toESM
|