@desplega.ai/agent-swarm 2.9.0 → 2.9.1
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/dist/acp-adapter-g909b5hw.js +16 -0
- package/dist/{acp-targets-swxq55dr.js → acp-targets-ny75x1qy.js} +7 -7
- package/dist/{actions-pb678g3e.js → actions-b9qgrmeq.js} +81 -21
- package/dist/{agent-fs-provision-dmhnc38q.js → agent-fs-provision-b5dhdsbd.js} +4 -4
- package/dist/{amp-adapter-3pa66q27.js → amp-adapter-vtax2c9s.js} +2 -2
- package/dist/{anthropic-messages-x2cp5fvf.js → anthropic-messages-r5xf5hqw.js} +10 -10
- package/dist/{app-17d12ev4.js → app-g2z15hax.js} +6 -3
- package/dist/{approval-notifications-h7vd9pmg.js → approval-notifications-yt13wp8r.js} +8 -5
- package/dist/{assistant-t7k39ree.js → assistant-2cgfxsgk.js} +23 -21
- package/dist/{boot-args-schema-0gqmkfbe.js → boot-args-schema-3gwy0f60.js} +1 -1
- package/dist/{boot-reembed-n6anc01d.js → boot-reembed-92g7s5zp.js} +1 -1
- package/dist/{boot-reembed-f064w382.js → boot-reembed-mywmyp4s.js} +1 -1
- package/dist/{boot-scrub-sweep-ejd5dnrz.js → boot-scrub-sweep-7dkdzqxx.js} +3 -3
- package/dist/{boot-seeds-f99fjs5q.js → boot-seeds-ce7rvgq1.js} +4 -4
- package/dist/{claude-adapter-gvznwxgc.js → claude-adapter-3m4q7735.js} +7 -7
- package/dist/{claude-managed-adapter-pbrbvc64.js → claude-managed-adapter-t8nfgcgz.js} +2 -2
- package/dist/{claude-managed-setup-kdxttvc3.js → claude-managed-setup-c217draw.js} +3 -3
- package/dist/{claude-sdk-session-0t2teq6n.js → claude-sdk-session-7fbqm51z.js} +7 -7
- package/dist/{cli-9a2rtd77.js → cli-1jykg0py.js} +6 -4
- package/dist/{cli-5ntc4we6.js → cli-2czxfnvj.js} +235 -2003
- package/dist/{cli-dd37e0cm.js → cli-2dq9yv8p.js} +1 -1
- package/dist/{cli-c07v0qfa.js → cli-2xs8tsf7.js} +69 -66
- package/dist/{cli-7fx9jyfs.js → cli-2yjj3e31.js} +64 -10
- package/dist/{cli-4ghh072d.js → cli-32djehja.js} +36 -36
- package/dist/{cli-cw7mc1je.js → cli-3j873zxq.js} +3 -3
- package/dist/cli-43ms35q9.js +270 -0
- package/dist/cli-47hz21se.js +25584 -0
- package/dist/{cli-n515ex5z.js → cli-4ymxrwg5.js} +16 -16
- package/dist/{cli-5gygrr67.js → cli-67mwzr35.js} +1 -1
- package/dist/{cli-5kcmxwxv.js → cli-6945ywhr.js} +1 -1
- package/dist/{cli-812paz57.js → cli-6ehs4mta.js} +18 -2
- package/dist/{cli-95930z69.js → cli-6ym4jhzp.js} +2 -2
- package/dist/{cli-zg3z63x3.js → cli-7mv4h3sn.js} +1 -1
- package/dist/{cli-eg437b5p.js → cli-7sf9sb0w.js} +2 -1
- package/dist/{cli-nr46j5pw.js → cli-8zh9nrew.js} +1 -1
- package/dist/{cli-wr1h0k28.js → cli-9w8712tq.js} +617 -278
- package/dist/{cli-ssvdrk4y.js → cli-b6px1k1q.js} +1 -1
- package/dist/{cli-7831nhaw.js → cli-b91nz213.js} +3 -3
- package/dist/{cli-7cgf614g.js → cli-bg63qmsx.js} +2 -2
- package/dist/{cli-me4maa4j.js → cli-bkjdknnp.js} +9 -5
- package/dist/{cli-rts1qvb4.js → cli-bnqncekd.js} +2 -2
- package/dist/{cli-25nstr34.js → cli-br0924pw.js} +1 -1
- package/dist/{cli-ymct0ycy.js → cli-ctx0b85j.js} +5222 -4978
- package/dist/{cli-kqh27v2y.js → cli-dgs10ttj.js} +1 -1
- package/dist/{cli-kmvcm34h.js → cli-f3jyzq4g.js} +2 -2
- package/dist/cli-f8x9drqr.js +84 -0
- package/dist/{cli-8axx8vnw.js → cli-f9gz2vyj.js} +5 -5
- package/dist/{cli-vvgaz8t6.js → cli-fh97xn30.js} +2 -2
- package/dist/{cli-8x8y70av.js → cli-fkef327x.js} +2 -2
- package/dist/{cli-js8zrfyg.js → cli-gfy38pvt.js} +2 -2
- package/dist/{cli-kaa4bd7x.js → cli-h9yqfzx9.js} +7 -6
- package/dist/{cli-svc803vq.js → cli-j7svy295.js} +11 -11
- package/dist/{cli-nhq5js1b.js → cli-jaw5v1sy.js} +3 -3
- package/dist/{cli-w7dxb2fj.js → cli-jkw6ptfw.js} +6 -6
- package/dist/{cli-1tvdx9t5.js → cli-jm0hvmz2.js} +1 -1
- package/dist/{cli-e9973bf0.js → cli-jwampxxq.js} +2 -2
- package/dist/{cli-dx439zpg.js → cli-kpgcm7xy.js} +13 -1
- package/dist/{cli-pz1c00aa.js → cli-kxx4k2jw.js} +2 -2
- package/dist/{cli-aa8s22gn.js → cli-m7c2380k.js} +191 -182
- package/dist/{cli-2kg31ted.js → cli-m7zvgt57.js} +11 -11
- package/dist/{cli-57pvhnyt.js → cli-mhapr559.js} +1 -1
- package/dist/{cli-gddgcnav.js → cli-mjw0yf82.js} +1 -1
- package/dist/{cli-h474mvp5.js → cli-mkwkwq81.js} +7 -4
- package/dist/{cli-jd3kxppb.js → cli-mw620q3n.js} +1 -1
- package/dist/{cli-spzkdgtg.js → cli-n3qe7tyr.js} +172 -168
- package/dist/{cli-3zxdz9r7.js → cli-nafvvsp8.js} +3 -3
- package/dist/{cli-fnh4b12r.js → cli-nbt14he0.js} +6 -6
- package/dist/{cli-7akn6ze9.js → cli-nh7x3133.js} +7 -28
- package/dist/{cli-faf46gdq.js → cli-p4kckx1z.js} +10 -10
- package/dist/{cli-k7pt28ad.js → cli-pb2ay3sh.js} +2 -2
- package/dist/{cli-pn1v1pb0.js → cli-psffsanb.js} +3 -2
- package/dist/{cli-2tnbc3gw.js → cli-pyjn0qhk.js} +2257 -61
- package/dist/{cli-fgphc007.js → cli-rq5rpv6k.js} +1 -1
- package/dist/{cli-vw5x18yj.js → cli-sn650d7x.js} +9 -9
- package/dist/{cli-mc1fx4xd.js → cli-td9tb872.js} +10 -10
- package/dist/{cli-6dp0jkfj.js → cli-tvc4jag9.js} +3 -3
- package/dist/{cli-a9hfzg2r.js → cli-ty3gha1p.js} +6 -6
- package/dist/{cli-pwsax0vp.js → cli-v57d7fmm.js} +1 -1
- package/dist/{cli-nmcpzbty.js → cli-vt89089n.js} +4 -4
- package/dist/{cli-sn4pc4qx.js → cli-vyff45ve.js} +2 -2
- package/dist/{cli-m1fbz2wj.js → cli-w4n323t3.js} +175 -16
- package/dist/{cli-g3zzby8t.js → cli-wn13hhdt.js} +5 -5
- package/dist/{cli-q8cfh1t9.js → cli-xag7btpe.js} +1 -1
- package/dist/{cli-c5cspahx.js → cli-y2ewxhth.js} +38 -13
- package/dist/{cli-k09cxm6m.js → cli-ysvspf5e.js} +2 -2
- package/dist/{cli-eepnpee7.js → cli-zh0e5x7p.js} +4 -4
- package/dist/{cli-bk9v1xrv.js → cli-zr6qy15y.js} +11 -11
- package/dist/cli.js +21 -20
- package/dist/{codex-adapter-44yq2fkn.js → codex-adapter-n656pvb8.js} +6 -6
- package/dist/{codex-hook-h1zb7cfk.js → codex-hook-59atdwd8.js} +1 -1
- package/dist/{codex-login-cdyrr5y1.js → codex-login-a239g1ah.js} +1 -1
- package/dist/{codex-session-runner-zbh26gbw.js → codex-session-runner-p0fbv5y9.js} +6 -6
- package/dist/{commands-54f02v5b.js → commands-gwea8z5p.js} +3 -3
- package/dist/{controller-9gpwcdek.js → controller-t67c3grh.js} +6 -3
- package/dist/{controllers-connect-61re6k1n.js → controllers-connect-ks155r0h.js} +22 -20
- package/dist/{cursor-adapter-7e4g81vd.js → cursor-adapter-ygwrtmkv.js} +1 -1
- package/dist/{db-dg2gc7fd.js → db-kpmx06s9.js} +8 -2
- package/dist/{db-wnh0qjy1.js → db-rb2xqdb1.js} +3 -3
- package/dist/{dispatcher-jrm24r43.js → dispatcher-31sm0ej2.js} +20 -18
- package/dist/{docker-9aq30pp2.js → docker-09tkkg0n.js} +42 -3
- package/dist/{dsh-adapter-1yqk267c.js → dsh-adapter-qyxh0w31.js} +1 -1
- package/dist/{easter-egg-3d-r4h9cs9m.js → easter-egg-3d-00wjscn6.js} +1 -1
- package/dist/{embedding-space-bafjr5f7.js → embedding-space-qhw4g68n.js} +6 -6
- package/dist/{embeddings-7xmgqe0e.js → embeddings-zdv9ke6x.js} +1 -1
- package/dist/{execute-d6jg5ns0.js → execute-zna8wwr7.js} +1 -1
- package/dist/{external-channel-frq1xvq2.js → external-channel-1ac6t56s.js} +2 -2
- package/dist/fx-adapter-sk7n0fzc.js +19 -0
- package/dist/{google-generative-ai-hh7strj3.js → google-generative-ai-maq6c9bf.js} +1 -1
- package/dist/{google-vertex-fy5bw2pm.js → google-vertex-2jgsw2nb.js} +1 -1
- package/dist/grok-adapter-sjbcm5ew.js +19 -0
- package/dist/handlers-yzy0c87x.js +35 -0
- package/dist/{heartbeat-6bpa611t.js → heartbeat-2f6z4kdx.js} +23 -21
- package/dist/{hook-w12k146y.js → hook-8y0gvtp1.js} +6 -6
- package/dist/{hook-hvm5nf46.js → hook-w1skzaqc.js} +5 -5
- package/dist/{http-43tthdvs.js → http-wghxvpef.js} +714 -145
- package/dist/{index-1f0vypbg.js → index-0h6qd4p1.js} +34 -24
- package/dist/index-25pvya7q.js +40 -0
- package/dist/index-2t4859r5.js +35 -0
- package/dist/{index-4b1q8kan.js → index-4k7m5dgj.js} +629 -354
- package/dist/index-620y7jzq.js +15 -0
- package/dist/{index-cret47a5.js → index-8p0j4h4j.js} +506 -43
- package/dist/{index-mhq4sh5w.js → index-8zn8nxn5.js} +1 -1
- package/dist/{index-m5gx1xd6.js → index-9myfj74s.js} +40 -40
- package/dist/{index-ftywhyr0.js → index-9zkchs9t.js} +221 -65
- package/dist/{index-bs7gw5fd.js → index-b5wgnm78.js} +44 -44
- package/dist/index-cxca2t8y.js +36 -0
- package/dist/{index-585gyczt.js → index-pe3d8jfy.js} +3 -3
- package/dist/{index-tx9mc2ap.js → index-rv89fvzf.js} +24 -22
- package/dist/{index-fn054vsf.js → index-s71ez27v.js} +1 -1
- package/dist/{keepalive-rk0j0jvh.js → keepalive-sh02349h.js} +3 -3
- package/dist/lead-gk4h5eg7.js +74 -0
- package/dist/{maintenance-g6z6kaxw.js → maintenance-yj0dcjja.js} +1 -1
- package/dist/{node-jftbyawr.js → node-dqm4xgxw.js} +1 -1
- package/dist/{oauth-refresh-sweep-2k3g2q4w.js → oauth-refresh-sweep-d9xedk66.js} +2 -2
- package/dist/{onboard-6fdbvh3v.js → onboard-dpgjn03r.js} +2 -2
- package/dist/{opencode-adapter-fdbsvts7.js → opencode-adapter-2d31cpjc.js} +6 -6
- package/dist/{otel-impl-rvwtc09q.js → otel-impl-1skarpfq.js} +1 -1
- package/dist/{pending-sqkrb836.js → pending-bfmxtx0g.js} +21 -19
- package/dist/{pi-mono-adapter-asqayqcg.js → pi-mono-adapter-gvppnasy.js} +40 -13
- package/dist/{pricing-refresh-f5tkgmw2.js → pricing-refresh-c6b325mk.js} +2 -2
- package/dist/{rbac-roles-06s555fa.js → rbac-roles-h80qbdbs.js} +3 -3
- package/dist/{rbac-roles-szxsg8t1.js → rbac-roles-zfcx68tx.js} +2 -2
- package/dist/{render-v2-103p266q.js → render-v2-nx20t3rb.js} +6 -3
- package/dist/{resume-v7kjewt9.js → resume-5ep8agan.js} +10 -7
- package/dist/{runtime-f1gmk0b7.js → runtime-r3pj4mce.js} +1 -1
- package/dist/{session-access-6shev8ts.js → session-access-n7p3m15b.js} +4 -4
- package/dist/{session-source-backfill-bd7spzjd.js → session-source-backfill-v8mt0zwn.js} +3 -3
- package/dist/{setup-kmxmztdb.js → setup-z1psaqhe.js} +1 -1
- package/dist/thread-buffer-a1re2r9r.js +38 -0
- package/dist/{virtual-modules-57eje5wy.js → virtual-modules-rrbjdpxn.js} +3 -3
- package/dist/{work-objects-zr47ygmf.js → work-objects-4aghh73z.js} +29 -23
- package/dist/worker-3dyyb8ev.js +74 -0
- package/dist/{worker-follow-up-grrr3fda.js → worker-follow-up-166zmex1.js} +20 -18
- package/openapi.json +1387 -13
- package/package.json +7 -6
- package/src/apps/catalog.generated.json +43 -3
- package/src/apps/page-validator.ts +27 -0
- package/src/be/db/model-profiles.ts +4 -1
- package/src/be/db/session-costs.ts +219 -0
- package/src/be/db/session-log-reasoning.ts +36 -0
- package/src/be/db/tasks/read.ts +7 -3
- package/src/be/db/tasks/write.ts +33 -1
- package/src/be/db.ts +200 -304
- package/src/be/key-window-usage.ts +385 -0
- package/src/be/migrations/303_task_ui_specs.sql +28 -0
- package/src/be/migrations/306_provider_account_telemetry.sql +1 -0
- package/src/be/migrations/307_session_cost_credential_attribution.sql +23 -0
- package/src/be/migrations/310_session_logs_reasoning.sql +12 -0
- package/src/be/runtime-pools/db.ts +3 -0
- package/src/be/seed-scripts/catalog/boot-triage.inline.ts +1 -0
- package/src/be/seed-scripts/catalog/boot-triage.ts +1 -0
- package/src/be/seed-scripts/catalog/wait-for-task.ts +5 -1
- package/src/be/seed-skills/index.ts +3 -0
- package/src/be/swarm-config-guard.ts +24 -1
- package/src/be/task-ui-spec.ts +158 -0
- package/src/commands/controller.ts +3 -0
- package/src/commands/credential-outcome-report.ts +13 -3
- package/src/commands/rate-limit-outcome.ts +6 -0
- package/src/commands/runner.ts +34 -53
- package/src/extensions/catalog.generated.json +3 -3
- package/src/extensions/contract-types.generated.ts +1 -1
- package/src/http/api-keys.ts +258 -30
- package/src/http/session-data.ts +74 -23
- package/src/http/sessions.ts +6 -2
- package/src/http/tasks.ts +105 -5
- package/src/integrations/chat-sdk/relay.ts +87 -0
- package/src/jira/outbound.ts +5 -3
- package/src/linear/outbound.ts +5 -1
- package/src/prompts/base-prompt.ts +8 -0
- package/src/prompts/session-templates.ts +19 -2
- package/src/providers/acp-targets.ts +1 -1
- package/src/providers/amp-adapter.ts +1 -1
- package/src/providers/claude-adapter.ts +27 -4
- package/src/providers/claude-flag-settings.ts +39 -1
- package/src/providers/codex-adapter.ts +85 -3
- package/src/providers/codex-app-server.ts +9 -5
- package/src/providers/codex-oauth/auth-json.ts +1 -0
- package/src/providers/pi-mono-adapter.ts +35 -2
- package/src/providers/pricing-sources.md +32 -0
- package/src/providers/types.ts +11 -0
- package/src/runtime-providers/docker.ts +65 -1
- package/src/scheduler/deferred-task-waits.ts +18 -5
- package/src/scripts-runtime/types/swarm-extension.d.ts +8 -8
- package/src/slack/actions.ts +56 -0
- package/src/slack/app.ts +22 -15
- package/src/slack/inbound-files.ts +2 -0
- package/src/slack/render-v2.ts +107 -23
- package/src/slack/responses.ts +3 -2
- package/src/slack/work-objects.ts +4 -1
- package/src/tasks/errors.ts +5 -0
- package/src/tests/acp-adapter.test.ts +4 -6
- package/src/tests/api-key-tracking.test.ts +0 -72
- package/src/tests/api-keys-status-model-limits.test.ts +93 -1
- package/src/tests/api-keys-validation.test.ts +42 -0
- package/src/tests/approval-card-resolution.test.ts +7 -1
- package/src/tests/approval-requests-notifications.test.ts +11 -1
- package/src/tests/apps-catalog-page-frame.test.ts +49 -0
- package/src/tests/apps-session-thread.test.ts +79 -0
- package/src/tests/base-prompt.test.ts +111 -5
- package/src/tests/chat-sdk-relay.test.ts +149 -1
- package/src/tests/claude-adapter-binary.test.ts +67 -6
- package/src/tests/claude-flag-settings.test.ts +29 -0
- package/src/tests/claude-sdk-lifecycle.test.ts +5 -0
- package/src/tests/codex-adapter.test.ts +340 -2
- package/src/tests/codex-app-server.test.ts +16 -0
- package/src/tests/codex-oauth.test.ts +3 -1
- package/src/tests/codex-rate-limits.test.ts +384 -0
- package/src/tests/credential-outcome-report.test.ts +20 -0
- package/src/tests/db-task-read-contract.test.ts +3 -0
- package/src/tests/db-task-write-contract.test.ts +4 -0
- package/src/tests/deferred-task-wake.test.ts +63 -1
- package/src/tests/docker-isolation-config-guard.test.ts +29 -0
- package/src/tests/docs-index-footprint.test.js +11 -3
- package/src/tests/e2e-visuals-comment.test.ts +82 -0
- package/src/tests/e2e-visuals-verify-pr.test.ts +138 -0
- package/src/tests/extensions-example-sql-admin-only.test.ts +7 -4
- package/src/tests/fixtures/ui-spec-slack/deploys.json +121 -0
- package/src/tests/fixtures/ui-spec-slack/incident.json +183 -0
- package/src/tests/fixtures/ui-spec-slack/three-charts-stale.json +196 -0
- package/src/tests/fixtures/ui-spec-slack/video-rejected-by-slack.json +183 -0
- package/src/tests/fixtures/ui-spec-slack/video.json +446 -0
- package/src/tests/gitleaks-download-retry.test.ts +85 -0
- package/src/tests/human-thread-routing.test.ts +187 -0
- package/src/tests/jira-outbound-sync.test.ts +33 -1
- package/src/tests/key-window-usage.test.ts +831 -0
- package/src/tests/linear-outbound-sync.test.ts +30 -1
- package/src/tests/pi-mono-adapter.test.ts +79 -0
- package/src/tests/preload-env.test.ts +2 -0
- package/src/tests/preload.ts +3 -1
- package/src/tests/prompt-template-session.test.ts +4 -3
- package/src/tests/provider-quota-persistence.test.ts +362 -0
- package/src/tests/rate-limit-event.test.ts +22 -0
- package/src/tests/reasoning-events.test.ts +164 -0
- package/src/tests/routing-affinity-inventory.test.ts +22 -0
- package/src/tests/runtime-providers-docker.test.ts +91 -0
- package/src/tests/script-connections.test.ts +5 -0
- package/src/tests/secret-canary-sweep.test.ts +41 -5
- package/src/tests/seed-scripts.test.ts +23 -0
- package/src/tests/session-cost-attribution.test.ts +748 -0
- package/src/tests/session-costs.test.ts +14 -15
- package/src/tests/session-logs.test.ts +83 -0
- package/src/tests/sessions-detail-batch.test.ts +7 -0
- package/src/tests/slack-render-v2.test.ts +357 -0
- package/src/tests/slack-start-reload-race.test.ts +67 -0
- package/src/tests/subscription-plans.test.ts +20 -1
- package/src/tests/task-ui-action-route.test.ts +191 -0
- package/src/tests/task-ui-actions.test.ts +195 -0
- package/src/tests/task-ui-spec-fallback.test.ts +65 -0
- package/src/tests/task-ui-spec.test.ts +368 -0
- package/src/tests/workflow-agent-task-retry.test.ts +34 -1
- package/src/tools/defer-task.ts +1 -1
- package/src/tools/store-progress.ts +69 -3
- package/src/types.ts +7 -2
- package/src/ui-spec/actions.ts +86 -0
- package/src/ui-spec/fallback.ts +19 -0
- package/src/ui-spec/slack.ts +17 -0
- package/src/ui-spec/validate.ts +169 -0
- package/src/utils/codex-rate-limits.ts +159 -0
- package/src/utils/credentials.ts +2 -0
- package/src/utils/error-tracker.ts +19 -0
- package/src/utils/provider-account-telemetry.ts +331 -0
- package/src/utils/reasoning-events.ts +107 -0
- package/src/utils/subscription-plans.ts +11 -59
- package/src/utils/task-ui-spec.ts +67 -0
- package/src/workflows/task-step-routing.ts +8 -3
- package/templates/extensions/sql-admin-only/README.md +2 -1
- package/templates/extensions/sql-admin-only/hooks.ts +7 -3
- package/templates/extensions/sql-admin-only/manifest.json +1 -1
- package/templates/skills/apps/SKILL.md +32 -5
- package/templates/skills/apps/content.md +32 -5
- package/templates/skills/ui-spec/config.json +14 -0
- package/templates/skills/ui-spec/content.md +127 -0
- package/dist/acp-adapter-jqn86aam.js +0 -16
- package/dist/cli-srtkr1h2.js +0 -12078
- package/dist/fx-adapter-0zrkfbkd.js +0 -19
- package/dist/grok-adapter-3db1c538.js +0 -19
- package/dist/handlers-k22n8mnn.js +0 -33
- package/dist/index-8xcyd3mc.js +0 -33
- package/dist/index-9sy2bh6n.js +0 -38
- package/dist/index-b24j7t2m.js +0 -12797
- package/dist/index-wjd56k1v.js +0 -34
- package/dist/lead-atxf3q6e.js +0 -72
- package/dist/thread-buffer-4yz236d0.js +0 -36
- package/dist/worker-p4hbtcy3.js +0 -72
- package/dist/{cli-j49yqpvh.js → cli-7evph51z.js} +3 -3
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
contextStatePath,
|
|
3
3
|
contextBoundNoteMarkerPath,
|
|
4
4
|
recordContextState
|
|
5
|
-
} from "./cli-
|
|
5
|
+
} from "./cli-7mv4h3sn.js";
|
|
6
6
|
import {
|
|
7
7
|
runStopHookSessionSummarySubprocess
|
|
8
|
-
} from "./cli-
|
|
8
|
+
} from "./cli-wn13hhdt.js";
|
|
9
9
|
import {
|
|
10
10
|
redactRateLimitEventLine,
|
|
11
11
|
SessionErrorTracker,
|
|
12
12
|
trackErrorFromJson,
|
|
13
13
|
parseStderrForErrors
|
|
14
|
-
} from "./cli-
|
|
14
|
+
} from "./cli-kpgcm7xy.js";
|
|
15
15
|
import {
|
|
16
16
|
isHarnessOtelEnabled,
|
|
17
17
|
buildOtelTraceparentEnv
|
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
import {
|
|
50
50
|
withFileLock,
|
|
51
51
|
init_file_lock
|
|
52
|
-
} from "./cli-
|
|
52
|
+
} from "./cli-m7c2380k.js";
|
|
53
53
|
import {
|
|
54
54
|
getOpenRouterAttributionHeaders,
|
|
55
55
|
init_openrouter_base_url
|
|
@@ -62,7 +62,7 @@ import {
|
|
|
62
62
|
CLAUDE_CREDENTIALS_HINT,
|
|
63
63
|
validateClaudeCredentials,
|
|
64
64
|
init_credentials2
|
|
65
|
-
} from "./cli-
|
|
65
|
+
} from "./cli-psffsanb.js";
|
|
66
66
|
import {
|
|
67
67
|
isEnvFlagEnabled,
|
|
68
68
|
init_env_flag
|
|
@@ -217,9 +217,21 @@ var LEGACY_CONTEXT_MODE_CLAUDE_PLUGIN = "context-mode@context-mode";
|
|
|
217
217
|
function claudeFlagSettings() {
|
|
218
218
|
return {
|
|
219
219
|
claudeMdExcludes: [WORKSPACE_CLAUDE_MD_EXCLUDE, userClaudeMdExclude()],
|
|
220
|
-
enabledPlugins: { [LEGACY_CONTEXT_MODE_CLAUDE_PLUGIN]: false }
|
|
220
|
+
enabledPlugins: { [LEGACY_CONTEXT_MODE_CLAUDE_PLUGIN]: false },
|
|
221
|
+
showThinkingSummaries: true
|
|
221
222
|
};
|
|
222
223
|
}
|
|
224
|
+
var MIN_CLAUDE_THINKING_DISPLAY_VERSION = [2, 1, 112];
|
|
225
|
+
var THINKING_DISPLAY_FLAG = "--thinking-display";
|
|
226
|
+
function claudeThinkingDisplayArgs(settings, callerArgs) {
|
|
227
|
+
const callerSetsFlag = callerArgs.some((arg) => arg === THINKING_DISPLAY_FLAG || arg.startsWith(`${THINKING_DISPLAY_FLAG}=`));
|
|
228
|
+
if (callerSetsFlag)
|
|
229
|
+
return [];
|
|
230
|
+
return [
|
|
231
|
+
THINKING_DISPLAY_FLAG,
|
|
232
|
+
settings.showThinkingSummaries === false ? "omitted" : "summarized"
|
|
233
|
+
];
|
|
234
|
+
}
|
|
223
235
|
var SETTINGS_FLAG = "--settings";
|
|
224
236
|
|
|
225
237
|
class ClaudeSettingsConfigError extends Error {
|
|
@@ -280,7 +292,11 @@ function mergeClaudeSettingsArgs(argLists, cwd) {
|
|
|
280
292
|
const own = claudeFlagSettings();
|
|
281
293
|
for (const entry of own.claudeMdExcludes)
|
|
282
294
|
excludes.add(entry);
|
|
283
|
-
const settings = {
|
|
295
|
+
const settings = {
|
|
296
|
+
showThinkingSummaries: own.showThinkingSummaries,
|
|
297
|
+
...merged,
|
|
298
|
+
claudeMdExcludes: [...excludes]
|
|
299
|
+
};
|
|
284
300
|
if (own.enabledPlugins) {
|
|
285
301
|
const callerPlugins = isPlainObject(merged.enabledPlugins) ? merged.enabledPlugins : {};
|
|
286
302
|
settings.enabledPlugins = { ...callerPlugins, ...own.enabledPlugins };
|
|
@@ -516,19 +532,22 @@ function resolveClaudeQueueSteeringOverride(env) {
|
|
|
516
532
|
return true;
|
|
517
533
|
return;
|
|
518
534
|
}
|
|
519
|
-
function
|
|
535
|
+
function claudeVersionAtLeast(versionOutput, minimum) {
|
|
520
536
|
const match = versionOutput?.match(/claude(?: code)? version:\s*(\d+)\.(\d+)\.(\d+)/i) ?? versionOutput?.match(/(\d+)\.(\d+)\.(\d+)\s*\(Claude Code\)/i);
|
|
521
537
|
if (!match)
|
|
522
538
|
return false;
|
|
523
539
|
const detected = match.slice(1, 4).map(Number);
|
|
524
|
-
for (let index = 0;index <
|
|
540
|
+
for (let index = 0;index < minimum.length; index++) {
|
|
525
541
|
const actual = detected[index] ?? 0;
|
|
526
|
-
const
|
|
527
|
-
if (actual !==
|
|
528
|
-
return actual >
|
|
542
|
+
const floor = minimum[index] ?? 0;
|
|
543
|
+
if (actual !== floor)
|
|
544
|
+
return actual > floor;
|
|
529
545
|
}
|
|
530
546
|
return true;
|
|
531
547
|
}
|
|
548
|
+
function supportsClaudeQueueSteering(versionOutput) {
|
|
549
|
+
return claudeVersionAtLeast(versionOutput, MIN_CLAUDE_QUEUE_STEERING_VERSION);
|
|
550
|
+
}
|
|
532
551
|
function claudeUserMessage(text) {
|
|
533
552
|
return `${JSON.stringify({
|
|
534
553
|
type: "user",
|
|
@@ -1255,7 +1274,7 @@ class ClaudeAdapter2 {
|
|
|
1255
1274
|
if (transport === "sdk" && isClaudeBridgeEffective(sourceEnv)) {
|
|
1256
1275
|
throw new Error("CLAUDE_TRANSPORT=sdk cannot run with an effective Claude Bridge configuration. Select CLI transport or disable the bridge.");
|
|
1257
1276
|
}
|
|
1258
|
-
const claudeSdk = transport === "sdk" ? await import("./claude-sdk-session-
|
|
1277
|
+
const claudeSdk = transport === "sdk" ? await import("./claude-sdk-session-7fbqm51z.js") : undefined;
|
|
1259
1278
|
claudeSdk?.validateClaudeSdkAdditionalArgs([
|
|
1260
1279
|
...claudeBinaryArgv.slice(1),
|
|
1261
1280
|
...config.additionalArgs ?? []
|
|
@@ -1341,6 +1360,12 @@ ${stderr}`.trim();
|
|
|
1341
1360
|
}
|
|
1342
1361
|
} catch {}
|
|
1343
1362
|
const queueSteeringSupported = queueSteeringOverride ?? (transport === "sdk" || !isInteractiveTmuxClaude && supportsClaudeQueueSteering(harnessVersion));
|
|
1363
|
+
if (!isInteractiveTmuxClaude && claudeVersionAtLeast(harnessVersion, MIN_CLAUDE_THINKING_DISPLAY_VERSION)) {
|
|
1364
|
+
sessionConfig.additionalArgs = [
|
|
1365
|
+
...additionalArgs,
|
|
1366
|
+
...claudeThinkingDisplayArgs(flagSettings, [...prefixArgs, ...additionalArgs])
|
|
1367
|
+
];
|
|
1368
|
+
}
|
|
1344
1369
|
if (!queueSteeringSupported && queueSteeringOverride === undefined) {
|
|
1345
1370
|
console.warn(`\x1B[33m[claude]\x1B[0m Queued steering requires Claude Code >= ${MIN_CLAUDE_QUEUE_STEERING_VERSION.join(".")}; detected ${harnessVersion ?? "an unknown version"}. Steering messages will be promoted to follow-up tasks.`);
|
|
1346
1371
|
}
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
requireFxRoute,
|
|
4
4
|
fxSessionExists2,
|
|
5
5
|
fxTargetProfile2
|
|
6
|
-
} from "./cli-
|
|
6
|
+
} from "./cli-tvc4jag9.js";
|
|
7
7
|
import {
|
|
8
8
|
ACPAdapter2
|
|
9
|
-
} from "./cli-
|
|
9
|
+
} from "./cli-kxx4k2jw.js";
|
|
10
10
|
import {
|
|
11
11
|
getKnownContextWindowSize,
|
|
12
12
|
init_context_window
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
contextBoundNoteThreshold,
|
|
3
3
|
createContextBoundNote
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-7mv4h3sn.js";
|
|
5
5
|
import {
|
|
6
6
|
renderGoalReminder,
|
|
7
7
|
apiHeaders,
|
|
@@ -13,13 +13,13 @@ import {
|
|
|
13
13
|
autoIndexMemoryFile,
|
|
14
14
|
fetchConcurrentContext,
|
|
15
15
|
summarizeTranscript
|
|
16
|
-
} from "./cli-
|
|
16
|
+
} from "./cli-3j873zxq.js";
|
|
17
17
|
import {
|
|
18
18
|
applyReasoningEffort
|
|
19
19
|
} from "./cli-5gpqgs8b.js";
|
|
20
20
|
import {
|
|
21
21
|
resolveOpencodeSdkSpecifier
|
|
22
|
-
} from "./cli-
|
|
22
|
+
} from "./cli-fkef327x.js";
|
|
23
23
|
import {
|
|
24
24
|
fetchInstalledMcpServers
|
|
25
25
|
} from "./cli-5y2fvw4z.js";
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
openAICompatibleKeyLabels,
|
|
48
48
|
validateOpencodeCredentials,
|
|
49
49
|
init_credentials2
|
|
50
|
-
} from "./cli-
|
|
50
|
+
} from "./cli-psffsanb.js";
|
|
51
51
|
import {
|
|
52
52
|
snapshotCatalogRows,
|
|
53
53
|
init_runtime_model_catalog
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
persistCodexOAuth,
|
|
3
3
|
getValidCodexOAuth,
|
|
4
4
|
init_storage
|
|
5
|
-
} from "./cli-
|
|
5
|
+
} from "./cli-7sf9sb0w.js";
|
|
6
6
|
import {
|
|
7
7
|
resolveDeploymentName,
|
|
8
8
|
resolveAzureBaseUrl,
|
|
@@ -74,7 +74,7 @@ import {
|
|
|
74
74
|
init_src,
|
|
75
75
|
selectCredential,
|
|
76
76
|
init_credentials2
|
|
77
|
-
} from "./cli-
|
|
77
|
+
} from "./cli-psffsanb.js";
|
|
78
78
|
import {
|
|
79
79
|
__export,
|
|
80
80
|
__esm
|
|
@@ -3052,7 +3052,7 @@ var init_validator = __esm(() => {
|
|
|
3052
3052
|
});
|
|
3053
3053
|
|
|
3054
3054
|
// node_modules/@earendil-works/pi-schema/dist/index.js
|
|
3055
|
-
var
|
|
3055
|
+
var init_dist3 = __esm(() => {
|
|
3056
3056
|
init_builders();
|
|
3057
3057
|
init_validator();
|
|
3058
3058
|
});
|
|
@@ -3732,13 +3732,13 @@ ${JSON.stringify(toolCall.arguments, null, 2)}`;
|
|
|
3732
3732
|
}
|
|
3733
3733
|
var validatorCache;
|
|
3734
3734
|
var init_validation = __esm(() => {
|
|
3735
|
-
|
|
3735
|
+
init_dist3();
|
|
3736
3736
|
init_formats();
|
|
3737
3737
|
validatorCache = new WeakMap;
|
|
3738
3738
|
});
|
|
3739
3739
|
|
|
3740
3740
|
// node_modules/@earendil-works/pi-ai/dist/index.js
|
|
3741
|
-
var
|
|
3741
|
+
var init_dist4 = __esm(() => {
|
|
3742
3742
|
init_text();
|
|
3743
3743
|
init_uuid();
|
|
3744
3744
|
init_version4();
|
|
@@ -6318,7 +6318,7 @@ var init_bun_oauth = __esm(() => {
|
|
|
6318
6318
|
});
|
|
6319
6319
|
|
|
6320
6320
|
// node_modules/@earendil-works/pi-ai/dist/api/anthropic-messages.lazy.js
|
|
6321
|
-
var anthropicMessagesApi = () => lazyApi(() => import("./anthropic-messages-
|
|
6321
|
+
var anthropicMessagesApi = () => lazyApi(() => import("./anthropic-messages-r5xf5hqw.js"));
|
|
6322
6322
|
var init_anthropic_messages_lazy = __esm(() => {
|
|
6323
6323
|
init_lazy();
|
|
6324
6324
|
});
|
|
@@ -6330,13 +6330,13 @@ var init_azure_openai_responses_lazy = __esm(() => {
|
|
|
6330
6330
|
});
|
|
6331
6331
|
|
|
6332
6332
|
// node_modules/@earendil-works/pi-ai/dist/api/google-generative-ai.lazy.js
|
|
6333
|
-
var googleGenerativeAIApi = () => lazyApi(() => import("./google-generative-ai-
|
|
6333
|
+
var googleGenerativeAIApi = () => lazyApi(() => import("./google-generative-ai-maq6c9bf.js"));
|
|
6334
6334
|
var init_google_generative_ai_lazy = __esm(() => {
|
|
6335
6335
|
init_lazy();
|
|
6336
6336
|
});
|
|
6337
6337
|
|
|
6338
6338
|
// node_modules/@earendil-works/pi-ai/dist/api/google-vertex.lazy.js
|
|
6339
|
-
var googleVertexApi = () => lazyApi(() => import("./google-vertex-
|
|
6339
|
+
var googleVertexApi = () => lazyApi(() => import("./google-vertex-2jgsw2nb.js"));
|
|
6340
6340
|
var init_google_vertex_lazy = __esm(() => {
|
|
6341
6341
|
init_lazy();
|
|
6342
6342
|
});
|
|
@@ -9149,7 +9149,7 @@ var init_compat = __esm(() => {
|
|
|
9149
9149
|
init_image_models();
|
|
9150
9150
|
init_images();
|
|
9151
9151
|
init_images_api_registry();
|
|
9152
|
-
|
|
9152
|
+
init_dist4();
|
|
9153
9153
|
init_legacy_api_aliases();
|
|
9154
9154
|
init_register_builtins();
|
|
9155
9155
|
getModel = getBuiltinModel;
|
|
@@ -9301,7 +9301,7 @@ var resolveOAuthApiKey = async (providerId, credentials) => {
|
|
|
9301
9301
|
}, CREDENTIAL_KIND_PRECEDENCE;
|
|
9302
9302
|
var init_credentials = __esm(() => {
|
|
9303
9303
|
init_src();
|
|
9304
|
-
|
|
9304
|
+
init_dist4();
|
|
9305
9305
|
init_bun_oauth();
|
|
9306
9306
|
init_compat();
|
|
9307
9307
|
init_all();
|
|
@@ -9318,4 +9318,4 @@ var init_credentials = __esm(() => {
|
|
|
9318
9318
|
];
|
|
9319
9319
|
});
|
|
9320
9320
|
|
|
9321
|
-
export { envApiKeyAuth, lazyOAuth, fauxText, fauxThinking, fauxToolCall, fauxAssistantMessage, createFauxCore, fauxProvider, isContextOverflow, isRecoverableLength, getOverflowPatterns, DEFAULT_MAX_AGENT_RETRY_DELAY_MS, retryDelayMs, retryAssistantCall, isRetryableAssistantError, init_retry2, str, num, int, bool, nul, oneOf, union2, arr, opt, obj,
|
|
9321
|
+
export { envApiKeyAuth, lazyOAuth, fauxText, fauxThinking, fauxToolCall, fauxAssistantMessage, createFauxCore, fauxProvider, isContextOverflow, isRecoverableLength, getOverflowPatterns, DEFAULT_MAX_AGENT_RETRY_DELAY_MS, retryDelayMs, retryAssistantCall, isRetryableAssistantError, init_retry2, str, num, int, bool, nul, oneOf, union2, arr, opt, obj, init_dist3, validateToolCall, validateToolArguments, init_dist4, oauthSuccessHtml, oauthErrorHtml, init_oauth_page, DEFAULT_RADIUS_GATEWAY, normalizeRadiusGatewayUrl, init_radius_config, anthropicMessagesApi, azureOpenAIResponsesApi, googleGenerativeAIApi, googleVertexApi, mistralConversationsApi, openAICodexResponsesApi, openAICompletionsApi, openAIResponsesApi, piMessagesApi, getImageModel, getImageProviders, getImageModels, registerImagesApiProvider, getImagesApiProvider, generateImagesOpenRouter, registerBuiltInImagesApiProviders, generateImages2, streamAnthropic, streamSimpleAnthropic, streamAzureOpenAIResponses, streamSimpleAzureOpenAIResponses, streamGoogle, streamSimpleGoogle, streamGoogleVertex, streamSimpleGoogleVertex, streamMistral, streamSimpleMistral, streamOpenAICodexResponses, streamSimpleOpenAICodexResponses, streamOpenAICompletions, streamSimpleOpenAICompletions, streamOpenAIResponses, streamSimpleOpenAIResponses, typesafeSystemOneApi, init_typesafe_system_one_lazy, personalizeOpenRouterCatalog, init_openrouter, radiusProvider, getBuiltinModel, getBuiltinModelDataGeneratedAt, getBuiltinModels, builtinProviders, exports_all, init_all, getModel, getModels, getProviders, registerApiProvider, getApiProvider, getApiProviders, unregisterApiProviders, registerFauxProvider, registerBuiltInApiProviders, resetApiProviders, stream3, complete, streamSimple2, completeSimple, init_compat, resolveCredential, resolveCredentials, init_credentials };
|
package/dist/cli.js
CHANGED
|
@@ -50,7 +50,7 @@ var import_react = __toESM(require_react(), 1);
|
|
|
50
50
|
// package.json
|
|
51
51
|
var package_default = {
|
|
52
52
|
name: "@desplega.ai/agent-swarm",
|
|
53
|
-
version: "2.9.
|
|
53
|
+
version: "2.9.1",
|
|
54
54
|
description: "agent-swarm.dev — an open-source operating system for AI work: a lead agent breaks goals into tasks, routes them to specialized workers such as Claude Code or Codex, runs each worker in an isolated container, and preserves shared memory, tools, schedules, and review gates so delegated work compounds across sessions.",
|
|
55
55
|
keywords: [
|
|
56
56
|
"agent-swarm.dev",
|
|
@@ -261,10 +261,10 @@ var package_default = {
|
|
|
261
261
|
"@asteasolutions/zod-to-openapi": "^8.0.0",
|
|
262
262
|
"@aws-sdk/client-bedrock": "3.1048.0",
|
|
263
263
|
"@boxd-sh/sdk": "0.2.20",
|
|
264
|
-
"@chat-adapter/discord": "4.
|
|
265
|
-
"@chat-adapter/slack": "4.
|
|
266
|
-
"@chat-adapter/teams": "4.
|
|
267
|
-
"@chat-adapter/telegram": "4.
|
|
264
|
+
"@chat-adapter/discord": "4.44.0",
|
|
265
|
+
"@chat-adapter/slack": "4.44.0",
|
|
266
|
+
"@chat-adapter/teams": "4.44.0",
|
|
267
|
+
"@chat-adapter/telegram": "4.44.0",
|
|
268
268
|
"@cursor/sdk": "1.3.1",
|
|
269
269
|
"@desplega.ai/agent-fs-just-bash": "0.18.23",
|
|
270
270
|
"@desplega.ai/business-use": "^0.4.2",
|
|
@@ -274,6 +274,7 @@ var package_default = {
|
|
|
274
274
|
"@inkjs/ui": "^2.0.0",
|
|
275
275
|
"@jitl/quickjs-singlefile-mjs-release-sync": "0.32.0",
|
|
276
276
|
"@json-render/chat": "0.22.0",
|
|
277
|
+
"@json-render/core": "0.22.0",
|
|
277
278
|
"@linear/sdk": "^77.0.0",
|
|
278
279
|
"@modelcontextprotocol/sdk": "1.32.1",
|
|
279
280
|
"@openai/codex": "0.167.0",
|
|
@@ -293,7 +294,7 @@ var package_default = {
|
|
|
293
294
|
"@x402/evm": "^2.5.0",
|
|
294
295
|
"@x402/fetch": "^2.5.0",
|
|
295
296
|
ai: "^6.0.116",
|
|
296
|
-
chat: "4.
|
|
297
|
+
chat: "4.44.0",
|
|
297
298
|
"cron-parser": "^5.4.0",
|
|
298
299
|
"date-fns": "^4.1.0",
|
|
299
300
|
e2b: "2.26.0",
|
|
@@ -840,7 +841,7 @@ function McpServer({ port, apiKey, dbPath }) {
|
|
|
840
841
|
if (dbPath) {
|
|
841
842
|
process.env.DATABASE_PATH = dbPath;
|
|
842
843
|
}
|
|
843
|
-
import("./http-
|
|
844
|
+
import("./http-wghxvpef.js").then(() => {
|
|
844
845
|
setStatus("running");
|
|
845
846
|
}).catch((err) => {
|
|
846
847
|
setStatus("error");
|
|
@@ -921,7 +922,7 @@ function WorkerRunner({ prompt, systemPrompt, systemPromptFile, additionalArgs }
|
|
|
921
922
|
const { exit } = use_app_default();
|
|
922
923
|
import_react.useEffect(() => {
|
|
923
924
|
installConsoleScrub();
|
|
924
|
-
import("./worker-
|
|
925
|
+
import("./worker-3dyyb8ev.js").then(({ runWorker }) => runWorker({
|
|
925
926
|
prompt: prompt || undefined,
|
|
926
927
|
systemPrompt: systemPrompt || undefined,
|
|
927
928
|
systemPromptFile: systemPromptFile || undefined,
|
|
@@ -938,7 +939,7 @@ function LeadRunner({ prompt, systemPrompt, systemPromptFile, additionalArgs })
|
|
|
938
939
|
const { exit } = use_app_default();
|
|
939
940
|
import_react.useEffect(() => {
|
|
940
941
|
installConsoleScrub();
|
|
941
|
-
import("./lead-
|
|
942
|
+
import("./lead-gk4h5eg7.js").then(({ runLead }) => runLead({
|
|
942
943
|
prompt: prompt || undefined,
|
|
943
944
|
systemPrompt: systemPrompt || undefined,
|
|
944
945
|
systemPromptFile: systemPromptFile || undefined,
|
|
@@ -977,8 +978,8 @@ function LazyComponent({
|
|
|
977
978
|
}
|
|
978
979
|
return import_react.createElement(Component, props);
|
|
979
980
|
}
|
|
980
|
-
var loadOnboard = () => import("./onboard-
|
|
981
|
-
var loadConnect = () => import("./setup-
|
|
981
|
+
var loadOnboard = () => import("./onboard-dpgjn03r.js").then(({ Onboard }) => Onboard);
|
|
982
|
+
var loadConnect = () => import("./setup-z1psaqhe.js").then(({ Setup }) => Setup);
|
|
982
983
|
function UnknownCommand({ command }) {
|
|
983
984
|
const { exit } = use_app_default();
|
|
984
985
|
import_react.useEffect(() => {
|
|
@@ -1107,14 +1108,14 @@ ${binName} docs \u2014 v${package_default.version}
|
|
|
1107
1108
|
}
|
|
1108
1109
|
process.exit(0);
|
|
1109
1110
|
} else if (args.command === "hook") {
|
|
1110
|
-
const { runHook } = await import("./hook-
|
|
1111
|
+
const { runHook } = await import("./hook-w1skzaqc.js");
|
|
1111
1112
|
await runHook();
|
|
1112
1113
|
} else if (args.command === "codex-hook") {
|
|
1113
|
-
const { handleCodexHook } = await import("./codex-hook-
|
|
1114
|
+
const { handleCodexHook } = await import("./codex-hook-59atdwd8.js");
|
|
1114
1115
|
await handleCodexHook();
|
|
1115
1116
|
process.exit(process.exitCode ?? 0);
|
|
1116
1117
|
} else if (args.command === "session-summary-stdin") {
|
|
1117
|
-
const { runSessionSummaryFromStdin } = await import("./hook-
|
|
1118
|
+
const { runSessionSummaryFromStdin } = await import("./hook-8y0gvtp1.js");
|
|
1118
1119
|
await runSessionSummaryFromStdin();
|
|
1119
1120
|
process.exit(process.exitCode ?? 0);
|
|
1120
1121
|
} else if (args.command === "x") {
|
|
@@ -1127,7 +1128,7 @@ ${binName} docs \u2014 v${package_default.version}
|
|
|
1127
1128
|
printHelp("scripts");
|
|
1128
1129
|
process.exit(scriptsArgs[0] === "reembed" || args.showHelp ? 0 : 1);
|
|
1129
1130
|
}
|
|
1130
|
-
const { runScriptsMaintenanceCommand } = await import("./maintenance-
|
|
1131
|
+
const { runScriptsMaintenanceCommand } = await import("./maintenance-yj0dcjja.js");
|
|
1131
1132
|
await runScriptsMaintenanceCommand(scriptsArgs);
|
|
1132
1133
|
console.log("Scripts re-embedded.");
|
|
1133
1134
|
} else if (args.command === "rbac") {
|
|
@@ -1137,17 +1138,17 @@ ${binName} docs \u2014 v${package_default.version}
|
|
|
1137
1138
|
printHelp("rbac");
|
|
1138
1139
|
process.exit(args.showHelp ? 0 : 1);
|
|
1139
1140
|
}
|
|
1140
|
-
const { runRbacCliCommand } = await import("./rbac-roles-
|
|
1141
|
+
const { runRbacCliCommand } = await import("./rbac-roles-zfcx68tx.js");
|
|
1141
1142
|
await runRbacCliCommand(rbacArgs);
|
|
1142
1143
|
} else if (args.command === "codex-login") {
|
|
1143
|
-
const { runCodexLogin } = await import("./codex-login-
|
|
1144
|
+
const { runCodexLogin } = await import("./codex-login-a239g1ah.js");
|
|
1144
1145
|
const codexLoginArgs = process.argv.slice(process.argv.indexOf("codex-login") + 1);
|
|
1145
1146
|
await runCodexLogin(codexLoginArgs);
|
|
1146
1147
|
} else if (args.command === "codex-session-runner") {
|
|
1147
|
-
const { runCodexSessionRunner } = await import("./codex-session-runner-
|
|
1148
|
+
const { runCodexSessionRunner } = await import("./codex-session-runner-p0fbv5y9.js");
|
|
1148
1149
|
await runCodexSessionRunner();
|
|
1149
1150
|
} else if (args.command === "claude-managed-setup") {
|
|
1150
|
-
const { runClaudeManagedSetup } = await import("./claude-managed-setup-
|
|
1151
|
+
const { runClaudeManagedSetup } = await import("./claude-managed-setup-c217draw.js");
|
|
1151
1152
|
const setupArgs = process.argv.slice(process.argv.indexOf("claude-managed-setup") + 1);
|
|
1152
1153
|
await runClaudeManagedSetup(setupArgs);
|
|
1153
1154
|
} else if (args.command === "worker-token") {
|
|
@@ -1159,7 +1160,7 @@ ${binName} docs \u2014 v${package_default.version}
|
|
|
1159
1160
|
const e2bArgs = process.argv.slice(process.argv.indexOf("e2b") + 1);
|
|
1160
1161
|
await runE2BCommand(e2bArgs);
|
|
1161
1162
|
} else if (args.command === "controller") {
|
|
1162
|
-
const { runController } = await import("./controller-
|
|
1163
|
+
const { runController } = await import("./controller-t67c3grh.js");
|
|
1163
1164
|
await runController(process.argv.slice(process.argv.indexOf("controller") + 1));
|
|
1164
1165
|
} else {
|
|
1165
1166
|
render_default(/* @__PURE__ */ jsx_dev_runtime.jsxDEV(App, {
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
checkCodexCredentials2,
|
|
3
3
|
createInProcessCodexSession2,
|
|
4
4
|
CodexAdapter2
|
|
5
|
-
} from "./cli-
|
|
5
|
+
} from "./cli-w4n323t3.js";
|
|
6
6
|
import"./cli-vs9vdpy0.js";
|
|
7
7
|
import"./cli-kr5tjjtz.js";
|
|
8
|
-
import"./cli-
|
|
8
|
+
import"./cli-fkef327x.js";
|
|
9
9
|
import"./cli-snxhtehz.js";
|
|
10
|
-
import"./cli-
|
|
10
|
+
import"./cli-f3jyzq4g.js";
|
|
11
11
|
import"./cli-0726awxw.js";
|
|
12
|
-
import"./cli-
|
|
13
|
-
import"./cli-
|
|
14
|
-
import"./cli-
|
|
12
|
+
import"./cli-7mv4h3sn.js";
|
|
13
|
+
import"./cli-kpgcm7xy.js";
|
|
14
|
+
import"./cli-gfy38pvt.js";
|
|
15
15
|
import"./cli-5gpqgs8b.js";
|
|
16
16
|
export {
|
|
17
17
|
CodexAdapter2 as CodexAdapter,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import"./cli-
|
|
2
|
-
import"./cli-dx439zpg.js";
|
|
3
|
-
import"./cli-js8zrfyg.js";
|
|
4
|
-
import"./cli-kmvcm34h.js";
|
|
1
|
+
import"./cli-7mv4h3sn.js";
|
|
5
2
|
import {
|
|
6
3
|
createInProcessCodexSession2
|
|
7
|
-
} from "./cli-
|
|
8
|
-
import"./cli-
|
|
4
|
+
} from "./cli-w4n323t3.js";
|
|
5
|
+
import"./cli-kpgcm7xy.js";
|
|
6
|
+
import"./cli-gfy38pvt.js";
|
|
7
|
+
import"./cli-f3jyzq4g.js";
|
|
8
|
+
import"./cli-fkef327x.js";
|
|
9
9
|
import"./cli-0726awxw.js";
|
|
10
10
|
import"./cli-vs9vdpy0.js";
|
|
11
11
|
import"./cli-kr5tjjtz.js";
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
getAllAgents2,
|
|
3
3
|
getAllTasks2,
|
|
4
4
|
init_db4
|
|
5
|
-
} from "./cli-
|
|
5
|
+
} from "./cli-ctx0b85j.js";
|
|
6
6
|
import {
|
|
7
7
|
EXTERNAL_CHANNEL_BLOCKED_REPLY2,
|
|
8
8
|
shouldBlockChannel2,
|
|
9
9
|
init_external_channel
|
|
10
|
-
} from "./cli-
|
|
10
|
+
} from "./cli-xag7btpe.js";
|
|
11
11
|
import {
|
|
12
12
|
isSlackLeaveThreadDisabled,
|
|
13
13
|
init_left_threads
|
|
14
|
-
} from "./cli-
|
|
14
|
+
} from "./cli-br0924pw.js";
|
|
15
15
|
import {
|
|
16
16
|
isEnvFlagEnabled,
|
|
17
17
|
init_env_flag
|
|
@@ -3,15 +3,15 @@ import {
|
|
|
3
3
|
CONTROLLER_PROTOCOL_VERSION,
|
|
4
4
|
CONTROLLER_PING_INTERVAL_MS,
|
|
5
5
|
ControllerServerMessageSchema
|
|
6
|
-
} from "./cli-
|
|
6
|
+
} from "./cli-mhapr559.js";
|
|
7
7
|
import {
|
|
8
8
|
createRuntimeProvider,
|
|
9
9
|
init_runtime_providers
|
|
10
|
-
} from "./cli-
|
|
10
|
+
} from "./cli-6945ywhr.js";
|
|
11
11
|
import {
|
|
12
12
|
RuntimeProviderKindSchema,
|
|
13
13
|
init_types5
|
|
14
|
-
} from "./cli-
|
|
14
|
+
} from "./cli-bkjdknnp.js";
|
|
15
15
|
import {
|
|
16
16
|
scrubSecrets,
|
|
17
17
|
registerVolatileSecret,
|
|
@@ -190,6 +190,9 @@ async function runController(args) {
|
|
|
190
190
|
DOCKER_HOST: flags.get("--docker-host") ?? process.env.DOCKER_HOST,
|
|
191
191
|
DOCKER_NETWORK: flags.get("--docker-network") ?? process.env.DOCKER_NETWORK,
|
|
192
192
|
DOCKER_EXTRA_HOSTS: process.env.DOCKER_EXTRA_HOSTS,
|
|
193
|
+
DOCKER_RUNTIME: process.env.DOCKER_RUNTIME,
|
|
194
|
+
DOCKER_HARDENED: process.env.DOCKER_HARDENED,
|
|
195
|
+
DOCKER_PIDS_LIMIT: process.env.DOCKER_PIDS_LIMIT,
|
|
193
196
|
E2B_API_KEY: process.env.E2B_API_KEY,
|
|
194
197
|
E2B_API_BASE: process.env.E2B_API_BASE,
|
|
195
198
|
E2B_TTL_SEC: process.env.E2B_TTL_SEC,
|
|
@@ -3,16 +3,16 @@ import {
|
|
|
3
3
|
isRuntimePoolsEnabled,
|
|
4
4
|
init_runtime_pools_flag,
|
|
5
5
|
init_db4
|
|
6
|
-
} from "./cli-
|
|
6
|
+
} from "./cli-ctx0b85j.js";
|
|
7
7
|
import {
|
|
8
8
|
CONTROLLER_PROTOCOL_VERSION,
|
|
9
9
|
CONTROLLER_PING_INTERVAL_MS,
|
|
10
10
|
ControllerClientMessageSchema
|
|
11
|
-
} from "./cli-
|
|
11
|
+
} from "./cli-mhapr559.js";
|
|
12
12
|
import {
|
|
13
13
|
getRuntimeController2,
|
|
14
14
|
init_db2
|
|
15
|
-
} from "./cli-
|
|
15
|
+
} from "./cli-mkwkwq81.js";
|
|
16
16
|
import {
|
|
17
17
|
remoteControllerSession,
|
|
18
18
|
installRemoteController,
|
|
@@ -21,34 +21,36 @@ import {
|
|
|
21
21
|
ensureRuntimeOwnerId,
|
|
22
22
|
reconcileRemoteProvisions,
|
|
23
23
|
reconcileControllerOrphans
|
|
24
|
-
} from "./cli-
|
|
25
|
-
import"./cli-
|
|
24
|
+
} from "./cli-sn650d7x.js";
|
|
25
|
+
import"./cli-xag7btpe.js";
|
|
26
|
+
import"./cli-9w8712tq.js";
|
|
27
|
+
import"./cli-47hz21se.js";
|
|
26
28
|
import"./cli-q2d3e1k1.js";
|
|
27
|
-
import"./cli-
|
|
28
|
-
import"./cli-
|
|
29
|
-
import"./cli-
|
|
29
|
+
import"./cli-pyjn0qhk.js";
|
|
30
|
+
import"./cli-jkw6ptfw.js";
|
|
31
|
+
import"./cli-1jykg0py.js";
|
|
30
32
|
import {
|
|
31
33
|
resolveHttpRequestAuth,
|
|
32
34
|
init_auth
|
|
33
|
-
} from "./cli-
|
|
34
|
-
import"./cli-
|
|
35
|
-
import"./cli-
|
|
36
|
-
import"./cli-
|
|
35
|
+
} from "./cli-2czxfnvj.js";
|
|
36
|
+
import"./cli-pb2ay3sh.js";
|
|
37
|
+
import"./cli-b91nz213.js";
|
|
38
|
+
import"./cli-dgs10ttj.js";
|
|
37
39
|
import"./cli-7cp6aa1q.js";
|
|
38
|
-
import"./cli-wr1h0k28.js";
|
|
39
40
|
import {
|
|
40
41
|
route,
|
|
41
42
|
init_route_def
|
|
42
|
-
} from "./cli-
|
|
43
|
-
import"./cli-
|
|
44
|
-
import"./cli-
|
|
45
|
-
import"./cli-
|
|
46
|
-
import"./cli-
|
|
43
|
+
} from "./cli-nbt14he0.js";
|
|
44
|
+
import"./cli-2yjj3e31.js";
|
|
45
|
+
import"./cli-jm0hvmz2.js";
|
|
46
|
+
import"./cli-br0924pw.js";
|
|
47
|
+
import"./cli-j7svy295.js";
|
|
47
48
|
import {
|
|
48
49
|
getApiKey,
|
|
49
50
|
init_api_key
|
|
50
51
|
} from "./cli-pax9q4ff.js";
|
|
51
|
-
import"./cli-
|
|
52
|
+
import"./cli-n3qe7tyr.js";
|
|
53
|
+
import"./cli-2dq9yv8p.js";
|
|
52
54
|
import {
|
|
53
55
|
import_websocket_server,
|
|
54
56
|
init_wrapper2
|
|
@@ -56,7 +58,7 @@ import {
|
|
|
56
58
|
import {
|
|
57
59
|
registerSessionTokenConnection,
|
|
58
60
|
init_session_token_connections
|
|
59
|
-
} from "./cli-
|
|
61
|
+
} from "./cli-v57d7fmm.js";
|
|
60
62
|
import {
|
|
61
63
|
scrubSecrets,
|
|
62
64
|
init_secret_scrubber
|
|
@@ -6,6 +6,8 @@ import {
|
|
|
6
6
|
getDb2,
|
|
7
7
|
closeDb2,
|
|
8
8
|
getDbClient2,
|
|
9
|
+
SessionCostConflictError2,
|
|
10
|
+
insertSessionCost2,
|
|
9
11
|
updateAgentCredentialState2,
|
|
10
12
|
updateAgentCredentialMissing2,
|
|
11
13
|
createAgent2,
|
|
@@ -123,6 +125,7 @@ import {
|
|
|
123
125
|
cancelTask2,
|
|
124
126
|
skipTask2,
|
|
125
127
|
supersedeTask2,
|
|
128
|
+
markWorkflowStepTaskSuperseded2,
|
|
126
129
|
settleSupersededTaskDependents2,
|
|
127
130
|
backfillSupersedeTaskResumeTaskId2,
|
|
128
131
|
pauseTask2,
|
|
@@ -524,13 +527,13 @@ import {
|
|
|
524
527
|
countScriptRunJournalSteps2,
|
|
525
528
|
countScriptRunJournalAgentTaskSteps2,
|
|
526
529
|
init_db4
|
|
527
|
-
} from "./cli-
|
|
530
|
+
} from "./cli-ctx0b85j.js";
|
|
528
531
|
import {
|
|
529
532
|
generateDefaultClaudeMd2,
|
|
530
533
|
generateDefaultSoulMd2,
|
|
531
534
|
generateDefaultIdentityMd2,
|
|
532
535
|
generateDefaultToolsMd2
|
|
533
|
-
} from "./cli-
|
|
536
|
+
} from "./cli-m7c2380k.js";
|
|
534
537
|
init_db4();
|
|
535
538
|
|
|
536
539
|
export {
|
|
@@ -545,6 +548,7 @@ export {
|
|
|
545
548
|
SESSION_ACTIVITY_REFRESH_MIN_INTERVAL_MS2 as SESSION_ACTIVITY_REFRESH_MIN_INTERVAL_MS,
|
|
546
549
|
SKILL_FILE_LIMITS2 as SKILL_FILE_LIMITS,
|
|
547
550
|
SUPERSEDED_RESUME_REPAIR_WINDOW_MS2 as SUPERSEDED_RESUME_REPAIR_WINDOW_MS,
|
|
551
|
+
SessionCostConflictError2 as SessionCostConflictError,
|
|
548
552
|
TASK_LINEAGE_LIMITS2 as TASK_LINEAGE_LIMITS,
|
|
549
553
|
UNATTRIBUTED_USER_ID2 as UNATTRIBUTED_USER_ID,
|
|
550
554
|
__resetSqliteVecExtensionPathCacheForTests2 as __resetSqliteVecExtensionPathCacheForTests,
|
|
@@ -892,6 +896,7 @@ export {
|
|
|
892
896
|
initDb2 as initDb,
|
|
893
897
|
insertActiveSession2 as insertActiveSession,
|
|
894
898
|
insertPricingRow2 as insertPricingRow,
|
|
899
|
+
insertSessionCost2 as insertSessionCost,
|
|
895
900
|
insertTaskAttachment2 as insertTaskAttachment,
|
|
896
901
|
installMcpServer2 as installMcpServer,
|
|
897
902
|
installSkill2 as installSkill,
|
|
@@ -948,6 +953,7 @@ export {
|
|
|
948
953
|
markSteeringPromoted2 as markSteeringPromoted,
|
|
949
954
|
markTaskSlackReplySent2 as markTaskSlackReplySent,
|
|
950
955
|
markTasksNotified2 as markTasksNotified,
|
|
956
|
+
markWorkflowStepTaskSuperseded2 as markWorkflowStepTaskSuperseded,
|
|
951
957
|
maskSecrets2 as maskSecrets,
|
|
952
958
|
moveAssetKey2 as moveAssetKey,
|
|
953
959
|
moveTaskChainKeyInTx2 as moveTaskChainKeyInTx,
|