@desplega.ai/agent-swarm 2.13.4 → 2.13.5
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-tbt61zkm.js +17 -0
- package/dist/{acp-targets-zrk9k0n7.js → acp-targets-w8dbs4nr.js} +7 -7
- package/dist/{actions-acqqj9jn.js → actions-8zrcbjrx.js} +26 -26
- package/dist/{agent-fs-provision-zmaykqnd.js → agent-fs-provision-cbt2ttds.js} +4 -4
- package/dist/{amp-adapter-a7ts8tmw.js → amp-adapter-8x6zp8w4.js} +2 -2
- package/dist/{anthropic-messages-88b7s3n9.js → anthropic-messages-vdd1zmha.js} +10 -10
- package/dist/{app-tmwa442h.js → app-zfa9dwjw.js} +6 -6
- package/dist/{approval-notifications-6psaaaye.js → approval-notifications-rv92zmza.js} +7 -7
- package/dist/{assistant-564v6emv.js → assistant-q7s7rm1q.js} +24 -24
- package/dist/{boot-args-schema-n099e0f2.js → boot-args-schema-g27kpzr1.js} +1 -1
- package/dist/{boot-reembed-epvg4fp9.js → boot-reembed-1mjs52nt.js} +1 -1
- package/dist/{boot-reembed-chx66qfk.js → boot-reembed-m62dpdkg.js} +1 -1
- package/dist/{boot-scrub-sweep-dhkfp0a7.js → boot-scrub-sweep-ss1vcamw.js} +2 -2
- package/dist/{boot-seeds-m74fc07r.js → boot-seeds-hwnvgbb3.js} +4 -4
- package/dist/{boxd-451q55ys.js → boxd-y0szhp0g.js} +1 -1
- package/dist/{claude-adapter-hw63yj3j.js → claude-adapter-0rjmbhjk.js} +7 -7
- package/dist/{claude-managed-adapter-z5s7fx6p.js → claude-managed-adapter-6k032agg.js} +3 -3
- package/dist/{claude-managed-setup-wee1762m.js → claude-managed-setup-6czvve8q.js} +4 -4
- package/dist/{claude-sdk-session-cktyqkpk.js → claude-sdk-session-pr0znb81.js} +12667 -11881
- package/dist/{cli-0fgvnb0x.js → cli-0qt3epg4.js} +3 -3
- package/dist/{cli-ka48vpev.js → cli-19d6v8er.js} +3 -3
- package/dist/{cli-zexwhj3f.js → cli-1jq2em7b.js} +3 -3
- package/dist/{cli-5rgm8p39.js → cli-2wzkvfgm.js} +2 -2
- package/dist/{cli-x2cem5vy.js → cli-34fygf87.js} +2 -2
- package/dist/{cli-tsc3pdfd.js → cli-3860pmrq.js} +3 -3
- package/dist/{cli-hhtbandk.js → cli-3vw6dd4g.js} +2 -2
- package/dist/{cli-qzz6tz8s.js → cli-4gaf3tx5.js} +1 -1
- package/dist/{cli-9ah37a8a.js → cli-55h8m1x3.js} +8 -5
- package/dist/{cli-7gbff32z.js → cli-5n9w2xzx.js} +1 -1
- package/dist/{cli-p436yrzp.js → cli-5tq15aa7.js} +1 -1
- package/dist/{cli-jyhbvdga.js → cli-5web09sb.js} +2 -2
- package/dist/{cli-3zrwrnz7.js → cli-69zzpjgh.js} +1 -1
- package/dist/{cli-7g3fg4gf.js → cli-6msnpj1z.js} +6 -6
- package/dist/{cli-azj9t1f9.js → cli-7r9tvk8v.js} +41 -3
- package/dist/{cli-4fpa0zns.js → cli-7ypg8hka.js} +3 -3
- package/dist/{cli-8cas2xvp.js → cli-887vhew6.js} +2 -2
- package/dist/{cli-t0jmkcah.js → cli-8pd1t17c.js} +7 -7
- package/dist/{cli-h9d3sdnc.js → cli-94mxerrp.js} +1 -1
- package/dist/{cli-bv4vvnmg.js → cli-9n6g14vs.js} +2 -2
- package/dist/{cli-5ashycw3.js → cli-abby987g.js} +2 -2
- package/dist/{cli-kj84fqxz.js → cli-avax5mp9.js} +1 -1
- package/dist/{cli-ea7nz50q.js → cli-b42yfn17.js} +11 -11
- package/dist/{cli-ysv0k1we.js → cli-b9ygp1kz.js} +1 -1
- package/dist/{cli-3bxrrh53.js → cli-bvamr9g0.js} +2 -2
- package/dist/{cli-gse7bp3z.js → cli-ced4azn1.js} +10 -9
- package/dist/{cli-7by7vp6m.js → cli-cmbb2t8a.js} +2 -2
- package/dist/{cli-0p76my9q.js → cli-cp163xga.js} +10 -10
- package/dist/{cli-jzerrzgc.js → cli-ebpq3c5z.js} +8 -8
- package/dist/{cli-p3knvk62.js → cli-ehg90jd1.js} +113 -39
- package/dist/{cli-jg5txpm6.js → cli-emdfd8fh.js} +75 -1
- package/dist/{cli-d5pc8ep0.js → cli-evy3egte.js} +7 -7
- package/dist/{cli-60dwk8tx.js → cli-ewk3sg68.js} +2 -2
- package/dist/{cli-nc4pbwmp.js → cli-f7b9nyvk.js} +4 -4
- package/dist/{cli-29h5239w.js → cli-f9xw9pr4.js} +4 -4
- package/dist/{cli-3tzmh38q.js → cli-ffn0a515.js} +7 -7
- package/dist/{cli-dqgnbnxs.js → cli-grbngev5.js} +6 -1
- package/dist/{cli-cq4am6vg.js → cli-hd5bm1e1.js} +4 -4
- package/dist/{cli-akm6y2a8.js → cli-htb5bpz2.js} +1 -1
- package/dist/{cli-tr19nyn9.js → cli-j69pzrrz.js} +6 -6
- package/dist/{cli-hdhpdrka.js → cli-jdq3jmny.js} +3 -3
- package/dist/{cli-ja450998.js → cli-ks06cd0n.js} +1 -1
- package/dist/{cli-pz1dp12c.js → cli-kwj3131p.js} +1 -1
- package/dist/{cli-1vmhnncj.js → cli-m8f4379k.js} +3 -3
- package/dist/{cli-jbrc98qb.js → cli-n79j1vxc.js} +2 -2
- package/dist/{cli-b768ek79.js → cli-nrt048ys.js} +1 -0
- package/dist/{cli-93n305hm.js → cli-pedm2kht.js} +1 -1
- package/dist/{cli-eds5xnsz.js → cli-phmy14hb.js} +2 -2
- package/dist/{cli-n1kjs58m.js → cli-prz1p3ft.js} +3 -3
- package/dist/{cli-pz1nq5xm.js → cli-q1h041y8.js} +3 -3
- package/dist/{cli-cah298e5.js → cli-q41qar56.js} +104 -119
- package/dist/{cli-4pbwg7sn.js → cli-qmx8bnt4.js} +1 -1
- package/dist/{cli-944w9wb4.js → cli-qrvk9nka.js} +18 -13
- package/dist/{cli-gtj12v95.js → cli-r3dxpmyt.js} +1 -1
- package/dist/{cli-phdzn699.js → cli-ryem5cfq.js} +7 -7
- package/dist/{cli-49aq3cyn.js → cli-s8dhq7rj.js} +4 -4
- package/dist/{cli-fkpnx3vf.js → cli-sejvnjvw.js} +3 -2
- package/dist/{cli-m1sns1da.js → cli-srre41gb.js} +2 -2
- package/dist/{cli-5rxsb3wq.js → cli-t0n9svkb.js} +3 -3
- package/dist/{cli-tzw1jr2t.js → cli-t879ww0y.js} +2 -2
- package/dist/{cli-xwsm6xkr.js → cli-tgc1kgg3.js} +1 -1
- package/dist/{cli-404am6f3.js → cli-tt7dkwjj.js} +6 -6
- package/dist/{cli-zjdhrzm0.js → cli-tvyt8w6n.js} +2 -2
- package/dist/{cli-hyqksecw.js → cli-v09eza21.js} +9 -9
- package/dist/{cli-rv3y60bt.js → cli-vbge4rsp.js} +4 -4
- package/dist/{cli-bzcwwebm.js → cli-vcpyttcw.js} +1 -1
- package/dist/{cli-904wk98s.js → cli-wzecestt.js} +338 -98
- package/dist/{cli-gkv0r2hq.js → cli-x2adbg4j.js} +70 -8
- package/dist/{cli-4q2c8rxw.js → cli-z3x7h79n.js} +12 -6
- package/dist/{cli-s33bzmk0.js → cli-z40t85ms.js} +1 -1
- package/dist/{cli-rmgvwcmy.js → cli-zbbtp02a.js} +98 -21
- package/dist/{cli-3xqad83h.js → cli-zntvmqmm.js} +1 -1
- package/dist/{cli-zhwjdhjr.js → cli-zxa1vmx7.js} +1 -1
- package/dist/{cli-50wa8k4h.js → cli-zy9bb22b.js} +1 -2
- package/dist/{cli-ts5yv7dn.js → cli-zzq96q57.js} +123 -33
- package/dist/cli.js +18 -18
- package/dist/{codex-adapter-2fs2c0n6.js → codex-adapter-bn7eaxk5.js} +6 -6
- package/dist/{codex-hook-jxjv6dy5.js → codex-hook-nnmezjg9.js} +2 -2
- package/dist/{codex-session-runner-r55tmx4c.js → codex-session-runner-j1e9hffc.js} +6 -6
- package/dist/{commands-0mxdy9x8.js → commands-amhpafrr.js} +3 -3
- package/dist/{controller-g3vkfhr4.js → controller-tw7g10j2.js} +3 -3
- package/dist/{controllers-connect-4wdmncqt.js → controllers-connect-2ssqz7f4.js} +23 -23
- package/dist/{core-gsvj5f3z.js → core-bwp98v4w.js} +21 -21
- package/dist/{cursor-adapter-t9qb96q2.js → cursor-adapter-d6knjmwa.js} +1 -1
- package/dist/{db-487vvyv9.js → db-fd6xxm77.js} +3 -3
- package/dist/{db-76p7w3gr.js → db-sc59379z.js} +2 -2
- package/dist/{dispatcher-64rp6w67.js → dispatcher-a2gdqz8c.js} +21 -21
- package/dist/{dsh-adapter-8abzqk5c.js → dsh-adapter-43ygwqn7.js} +1 -1
- package/dist/{e2b-dc8f6ctq.js → e2b-cn7cvjqy.js} +1 -1
- package/dist/{e2b-3ykbe805.js → e2b-qnxyfea6.js} +1 -1
- package/dist/{easter-egg-3d-jrrwyf55.js → easter-egg-3d-a0pphy71.js} +1 -1
- package/dist/{embedding-space-001hhhpk.js → embedding-space-qepzrach.js} +6 -6
- package/dist/{embeddings-esj19cnw.js → embeddings-d7vr881x.js} +1 -1
- package/dist/{execute-301hkxqg.js → execute-6afts2bn.js} +1 -1
- package/dist/{external-channel-w10e2j05.js → external-channel-881zq1x4.js} +2 -2
- package/dist/fx-adapter-cr2hq17y.js +20 -0
- package/dist/{grok-adapter-3a0ezfee.js → grok-adapter-ayddnbsc.js} +9 -9
- package/dist/handlers-7ghs84x2.js +41 -0
- package/dist/{heartbeat-tbrj7vhq.js → heartbeat-4c022m6a.js} +24 -24
- package/dist/{hook-3am1sq68.js → hook-4k84x499.js} +5 -5
- package/dist/{hook-tx917rqw.js → hook-a7eh6zty.js} +7 -7
- package/dist/{http-3rmemtqy.js → http-6aw5wanc.js} +180 -94
- package/dist/index-dtt0d634.js +44 -0
- package/dist/index-hmszyqkk.js +42 -0
- package/dist/index-j6rm1rtn.js +39 -0
- package/dist/{index-aetfyx6p.js → index-rwwhsmjg.js} +1 -1
- package/dist/{index-s7xtvc0f.js → index-xhad0n8m.js} +1 -1
- package/dist/{index-2jw11t8s.js → index-yq9hhhhy.js} +25 -25
- package/dist/{index-gfnq66t1.js → index-z2g9469g.js} +202 -17
- package/dist/{keepalive-9px3t7qj.js → keepalive-zhbmztqw.js} +4 -4
- package/dist/lead-g2j4q39z.js +83 -0
- package/dist/{maintenance-vwqjwst6.js → maintenance-rsp0591h.js} +1 -1
- package/dist/{node-2wfcey7d.js → node-0as4n1ef.js} +3 -3
- package/dist/{node-zd6shky9.js → node-dhxbt01p.js} +3 -3
- package/dist/{node-z67yjre7.js → node-rxte5hc6.js} +290 -70
- package/dist/{node-hjn5n1yp.js → node-t0ct2zpw.js} +3 -5
- package/dist/{oauth-refresh-sweep-yqry3wn4.js → oauth-refresh-sweep-w3cqmxq7.js} +3 -3
- package/dist/{object-webhooks-8s1wtths.js → object-webhooks-331hay92.js} +7 -7
- package/dist/{onboard-hb8czx0p.js → onboard-n2w80m2n.js} +3 -3
- package/dist/{opencode-adapter-djd6m6dk.js → opencode-adapter-z98127cz.js} +6 -6
- package/dist/{otel-impl-2ymwyczz.js → otel-impl-xsk35tvf.js} +1 -1
- package/dist/{pending-nxavtvx7.js → pending-2e6trkxd.js} +22 -22
- package/dist/{pi-mono-adapter-d2cpmcy4.js → pi-mono-adapter-wh6yndtm.js} +8 -8
- package/dist/{pricing-refresh-1yz8jkqv.js → pricing-refresh-9355dj1t.js} +2 -2
- package/dist/{rbac-roles-dbpx0x9v.js → rbac-roles-58y3m912.js} +3 -3
- package/dist/{rbac-roles-7s6m31xw.js → rbac-roles-8eajw4s6.js} +2 -2
- package/dist/{render-v2-7y20rjrn.js → render-v2-7gskkmd4.js} +6 -6
- package/dist/{resume-wz546x47.js → resume-0drnmpja.js} +9 -9
- package/dist/{runtime-cb5bd9tz.js → runtime-d2tcmqte.js} +1 -1
- package/dist/{session-access-4vcft8kq.js → session-access-0ztys6bd.js} +5 -5
- package/dist/{session-source-backfill-57b50tpw.js → session-source-backfill-cdm5s046.js} +2 -2
- package/dist/{setup-e1tevjyj.js → setup-pqwb9tcc.js} +1 -1
- package/dist/thread-buffer-epx3san4.js +42 -0
- package/dist/{tree-visibility-07wf1nct.js → tree-visibility-rwz67mje.js} +2 -2
- package/dist/{user-merge-jobs-n20qpv6s.js → user-merge-jobs-mxrhamwt.js} +3 -3
- package/dist/{virtual-modules-6fxmn1yv.js → virtual-modules-71y1gsmg.js} +3 -3
- package/dist/{work-objects-eg7y48pe.js → work-objects-3k4ykt9j.js} +24 -24
- package/dist/worker-09gqn9xy.js +83 -0
- package/dist/{worker-follow-up-jnvnnf2b.js → worker-follow-up-y0h64xpr.js} +21 -21
- package/openapi.json +387 -6
- package/package.json +4 -4
- package/src/apps/sync.ts +20 -5
- package/src/azure-devops/boards-sync.ts +1 -1
- package/src/be/db/slack-trees.ts +12 -1
- package/src/be/db/tasks/read.ts +25 -1
- package/src/be/db/tasks/write.ts +47 -12
- package/src/be/db/users/avatar.ts +12 -0
- package/src/be/db.ts +78 -5
- package/src/be/migrations/344_user_avatar.sql +4 -0
- package/src/be/migrations/345_task_status_kind.sql +6 -0
- package/src/be/primitives/object-embed.ts +2 -2
- package/src/be/primitives/objects.ts +2 -2
- package/src/be/runtime-pools/supervisor.ts +1 -0
- package/src/be/scripts/typecheck.ts +1 -1
- package/src/be/swarm-config-guard.ts +4 -0
- package/src/bitbucket/handlers.ts +1 -1
- package/src/commands/credential-outcome-report.ts +96 -0
- package/src/commands/onboard/agent-fs-version.ts +1 -1
- package/src/commands/runner.ts +49 -3
- package/src/event-waits/github.ts +39 -6
- package/src/event-waits/index.ts +4 -2
- package/src/event-waits/types.ts +10 -3
- package/src/extensions/contract-types.generated.ts +1 -1
- package/src/github/app.ts +177 -13
- package/src/github/handlers.ts +7 -2
- package/src/github/pull-request-state.ts +100 -11
- package/src/gitlab/handlers.ts +2 -2
- package/src/heartbeat/heartbeat.ts +6 -1
- package/src/http/api-keys.ts +26 -0
- package/src/http/asset-key-write.ts +45 -0
- package/src/http/assets.ts +4 -3
- package/src/http/github-token.ts +27 -6
- package/src/http/pages.ts +4 -10
- package/src/http/schedules.ts +6 -6
- package/src/http/sessions.ts +7 -2
- package/src/http/tasks.ts +23 -5
- package/src/http/users.ts +5 -0
- package/src/http/webhooks.ts +19 -1
- package/src/http/workflows.ts +5 -10
- package/src/integrations/chat-sdk/commands.ts +3 -1
- package/src/jira/sync.ts +1 -1
- package/src/linear/sync.ts +5 -3
- package/src/prompts/session-templates.ts +1 -0
- package/src/providers/acp-targets.ts +2 -2
- package/src/providers/amp-adapter.ts +1 -1
- package/src/providers/claude-adapter.ts +5 -0
- package/src/providers/claude-sdk-session.ts +5 -0
- package/src/providers/runtime-dependencies.ts +1 -1
- package/src/scheduler/deferred-task-waits.ts +74 -13
- package/src/scripts-runtime/swarm-sdk.ts +8 -1
- package/src/scripts-runtime/types/stdlib.d.ts +8 -1
- package/src/scripts-runtime/types/swarm-extension.d.ts +19 -2
- package/src/scripts-runtime/types/swarm-sdk.d.ts +8 -1
- package/src/slack/actions.ts +1 -1
- package/src/slack/render-v2.ts +148 -7
- package/src/tests/api-drain-worker-e2e.test.ts +0 -2
- package/src/tests/approval-auto-cancellation-migration.test.ts +8 -19
- package/src/tests/approval-card-resolution.test.ts +2 -17
- package/src/tests/approval-requests-notifications.test.ts +41 -27
- package/src/tests/approval-requests.test.ts +137 -369
- package/src/tests/apps-sync-engine.test.ts +5 -3
- package/src/tests/apps-table-filters-migration.test.ts +44 -25
- package/src/tests/bitbucket-handlers.test.ts +2 -0
- package/src/tests/chat-sdk-commands.test.ts +1 -0
- package/src/tests/claude-adapter.test.ts +35 -0
- package/src/tests/codex-adapter.test.ts +3 -92
- package/src/tests/codex-gpt6-release.test.ts +0 -9
- package/src/tests/codex-oauth-credential-info.test.ts +35 -18
- package/src/tests/codex-oauth.test.ts +0 -6
- package/src/tests/codex-pool.test.ts +5 -214
- package/src/tests/codex-rate-limit-parse.test.ts +0 -7
- package/src/tests/codex-swarm-events.test.ts +11 -54
- package/src/tests/db-client-busy-retry.test.ts +49 -16
- package/src/tests/defer-task.test.ts +1 -0
- package/src/tests/e2e-shards.test.ts +9 -9
- package/src/tests/enabled-tools.test.ts +0 -2
- package/src/tests/fixtures/base-prompt-baseline.json +6 -6
- package/src/tests/github-app-worker-auth-helper.test.ts +147 -1
- package/src/tests/gitlab-handlers.test.ts +2 -0
- package/src/tests/heartbeat-jev-gate.test.ts +9 -241
- package/src/tests/heartbeat-reroute-decision.test.ts +2 -0
- package/src/tests/heartbeat-supersede-resume.test.ts +2 -0
- package/src/tests/heartbeat.test.ts +1 -0
- package/src/tests/key-usage-selection.test.ts +302 -0
- package/src/tests/memory-e2e.test.ts +34 -103
- package/src/tests/memory-key-paths.test.ts +5 -0
- package/src/tests/memory-rater-llm.test.ts +33 -149
- package/src/tests/memory-store.test.ts +24 -125
- package/src/tests/memory.test.ts +31 -100
- package/src/tests/merge-gate-detect-changes.test.ts +108 -2
- package/src/tests/otel-service-name.test.ts +0 -9
- package/src/tests/otel-session-cost-metrics.test.ts +1 -38
- package/src/tests/pool-session-logs.test.ts +8 -42
- package/src/tests/pre-push-affected-tests.test.ts +106 -0
- package/src/tests/prompt-template-session.test.ts +3 -0
- package/src/tests/runner-api-drain.test.ts +2 -17
- package/src/tests/runner-terminal-window-report.test.ts +132 -0
- package/src/tests/runtime-supervisor-failures.test.ts +1 -0
- package/src/tests/sandboxed-process.test.ts +26 -21
- package/src/tests/schedule-http-triage-tools.test.ts +12 -9
- package/src/tests/scheduled-tasks.test.ts +14 -51
- package/src/tests/script-executor-conformance.test.ts +4 -48
- package/src/tests/script-executor-quickjs-pool.test.ts +9 -7
- package/src/tests/script-native-startup.test.ts +21 -25
- package/src/tests/secret-rules.test.ts +4 -2
- package/src/tests/session-logs.test.ts +1 -260
- package/src/tests/slack-render-v2.test.ts +5 -148
- package/src/tests/task-cascade-fail.test.ts +1 -0
- package/src/tests/task-supersede-resume.test.ts +1 -0
- package/src/tests/test-proc.ts +5 -2
- package/src/tests/window-stream-reporter.test.ts +122 -0
- package/src/tests/workflow-agent-task-retry.test.ts +1 -3
- package/src/tests/workflow-cascade-cancel.test.ts +1 -0
- package/src/tests/workflow-retry-v2.test.ts +34 -43
- package/src/tests/workflow-retry-validation.test.ts +8 -48
- package/src/tests/worktree-reaper.test.ts +2 -2
- package/src/tools/cancel-task.ts +2 -2
- package/src/tools/defer-task.ts +7 -2
- package/src/tools/get-task-details.ts +8 -4
- package/src/tools/get-tasks.ts +13 -2
- package/src/tools/manage-user.ts +9 -0
- package/src/tools/store-progress.ts +5 -3
- package/src/types.ts +93 -0
- package/src/utils/constants.ts +12 -0
- package/src/utils/credentials.ts +42 -5
- package/src/utils/error-tracker.ts +6 -0
- package/src/utils/key-usage.ts +114 -0
- package/src/utils/sandboxed-process.ts +1 -0
- package/src/workflows/resume.ts +5 -2
- package/templates/skills/apps/SKILL.md +2 -0
- package/templates/skills/apps/content.md +2 -0
- package/templates/skills/boards-and-sheets/content.md +4 -2
- package/templates/skills/pages/content.md +7 -0
- package/templates/skills/swarm-docs/content.md +1 -0
- package/templates/skills/swarm-scripts/SKILL.md +1 -0
- package/templates/skills/swarm-scripts/content.md +1 -0
- package/dist/acp-adapter-mr4temec.js +0 -17
- package/dist/fx-adapter-4sjrbdne.js +0 -20
- package/dist/handlers-ef3k11hb.js +0 -41
- package/dist/index-e6bq0exk.js +0 -42
- package/dist/index-hf2k1vge.js +0 -39
- package/dist/index-taxmejj3.js +0 -44
- package/dist/lead-5vt6f174.js +0 -83
- package/dist/thread-buffer-686pa1p1.js +0 -42
- package/dist/worker-4vp616ms.js +0 -83
- package/src/tests/apps-table-selection-migration.test.ts +0 -95
- package/src/tests/extensions-example-heartbeat-remediate.test.ts +0 -69
- package/src/tests/extensions-example-rewrite-and-suppress.test.ts +0 -70
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
import {
|
|
10
10
|
applyOpenRouterBaseUrlOverride2,
|
|
11
11
|
buildOpenAICompatibleProviderBlock2
|
|
12
|
-
} from "./cli-
|
|
12
|
+
} from "./cli-f7b9nyvk.js";
|
|
13
13
|
import {
|
|
14
14
|
getContextWindowSize,
|
|
15
15
|
clampContextPercent,
|
|
@@ -20,11 +20,11 @@ import {
|
|
|
20
20
|
resolveTemplateAsync,
|
|
21
21
|
init_resolver,
|
|
22
22
|
init_session_templates
|
|
23
|
-
} from "./cli-
|
|
23
|
+
} from "./cli-nrt048ys.js";
|
|
24
24
|
import {
|
|
25
25
|
DEFAULT_MODEL_TIER_MAP,
|
|
26
26
|
init_types5
|
|
27
|
-
} from "./cli-
|
|
27
|
+
} from "./cli-7r9tvk8v.js";
|
|
28
28
|
import {
|
|
29
29
|
fxModelRoute,
|
|
30
30
|
normalizeGrokModel,
|
|
@@ -12,11 +12,11 @@ import {
|
|
|
12
12
|
resolveTemplateAsync,
|
|
13
13
|
init_resolver,
|
|
14
14
|
init_session_templates
|
|
15
|
-
} from "./cli-
|
|
15
|
+
} from "./cli-nrt048ys.js";
|
|
16
16
|
import {
|
|
17
17
|
agentsMayMerge,
|
|
18
18
|
init_types5
|
|
19
|
-
} from "./cli-
|
|
19
|
+
} from "./cli-7r9tvk8v.js";
|
|
20
20
|
import {
|
|
21
21
|
MAX_PROFILE_FILE_LENGTH,
|
|
22
22
|
getAppUrl,
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
agentFsFileRoute,
|
|
26
26
|
buildAgentFsLiveUrl,
|
|
27
27
|
init_constants3
|
|
28
|
-
} from "./cli-
|
|
28
|
+
} from "./cli-grbngev5.js";
|
|
29
29
|
import {
|
|
30
30
|
isEnvFlagEnabled,
|
|
31
31
|
init_env_flag
|
|
@@ -51,7 +51,7 @@ async function validateProviderDependencies(provider, config, dependencies = pro
|
|
|
51
51
|
};
|
|
52
52
|
switch (provider) {
|
|
53
53
|
case "claude": {
|
|
54
|
-
const { resolveClaudeBinaryArgv, withClaudeRouteEnv } = await import("./claude-adapter-
|
|
54
|
+
const { resolveClaudeBinaryArgv, withClaudeRouteEnv } = await import("./claude-adapter-0rjmbhjk.js");
|
|
55
55
|
const sourceEnv = withClaudeRouteEnv(env);
|
|
56
56
|
const { argv, useClaudeBridge } = resolveClaudeBinaryArgv(sourceEnv);
|
|
57
57
|
requireExecutable(argv[0], useClaudeBridge ? "Use worker-full or install @desplega.ai/claude-bridge during image provisioning." : "Install Claude Code or set CLAUDE_BINARY to a trusted executable on the worker.", sourceEnv);
|
|
@@ -69,9 +69,9 @@ async function validateProviderDependencies(provider, config, dependencies = pro
|
|
|
69
69
|
case "grok":
|
|
70
70
|
case "fx":
|
|
71
71
|
case "acp": {
|
|
72
|
-
const { resolveAcpTarget, grokTargetProfile, fxTargetProfile } = await import("./acp-targets-
|
|
72
|
+
const { resolveAcpTarget, grokTargetProfile, fxTargetProfile } = await import("./acp-targets-w8dbs4nr.js");
|
|
73
73
|
const target = provider === "grok" ? grokTargetProfile : provider === "fx" ? fxTargetProfile : resolveAcpTarget(config);
|
|
74
|
-
const hint = provider === "grok" ? "Use worker-full, install @xai-official/grok@1.0.
|
|
74
|
+
const hint = provider === "grok" ? "Use worker-full, install @xai-official/grok@1.0.88, or set GROK_BINARY to a trusted executable." : provider === "fx" ? "Use worker-full, install the pinned fx release (Dockerfile.worker FX_VERSION), or set FX_BINARY." : `ACP_TARGET='${target.target}'. ${acpInstallHints[target.target]}`;
|
|
75
75
|
requireExecutable(target.command(config)[0], hint, target.env(config));
|
|
76
76
|
return;
|
|
77
77
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ACPAdapter2
|
|
3
|
-
} from "./cli-
|
|
3
|
+
} from "./cli-887vhew6.js";
|
|
4
4
|
import {
|
|
5
5
|
isGrokOpenRouterModel2,
|
|
6
6
|
grokTargetProfile2
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-0qt3epg4.js";
|
|
8
8
|
import {
|
|
9
9
|
getOpenRouterBaseUrl,
|
|
10
10
|
getOpenRouterAttributionHeaders,
|
|
@@ -8,12 +8,12 @@ import {
|
|
|
8
8
|
invalidateTelemetryUserRole,
|
|
9
9
|
init_telemetry_identity,
|
|
10
10
|
init_db4
|
|
11
|
-
} from "./cli-
|
|
11
|
+
} from "./cli-zzq96q57.js";
|
|
12
12
|
import {
|
|
13
13
|
revokeAllUserCredentials,
|
|
14
14
|
isLiveUserToken,
|
|
15
15
|
init_users
|
|
16
|
-
} from "./cli-
|
|
16
|
+
} from "./cli-avax5mp9.js";
|
|
17
17
|
import {
|
|
18
18
|
init_env_flag
|
|
19
19
|
} from "./cli-cebvbc9t.js";
|
|
@@ -8,11 +8,11 @@ import {
|
|
|
8
8
|
getMemoryStore2,
|
|
9
9
|
init_memory,
|
|
10
10
|
init_db4
|
|
11
|
-
} from "./cli-
|
|
11
|
+
} from "./cli-zzq96q57.js";
|
|
12
12
|
import {
|
|
13
13
|
contentSha256,
|
|
14
14
|
init_profile_sync
|
|
15
|
-
} from "./cli-
|
|
15
|
+
} from "./cli-19d6v8er.js";
|
|
16
16
|
import {
|
|
17
17
|
SCRUBBER_RULES_VERSION,
|
|
18
18
|
createSweepScrubber,
|
|
@@ -142,7 +142,7 @@ async function runBootScrubSweep2(opts = {}) {
|
|
|
142
142
|
console.log(`[${tag}] complete`);
|
|
143
143
|
const memoryChanged = stats.find((s) => s.table === "agent_memory")?.changed ?? 0;
|
|
144
144
|
if (memoryChanged > 0 && opts.reembed !== false) {
|
|
145
|
-
const { runBootReembed } = await import("./boot-reembed-
|
|
145
|
+
const { runBootReembed } = await import("./boot-reembed-1mjs52nt.js");
|
|
146
146
|
await runBootReembed();
|
|
147
147
|
}
|
|
148
148
|
return stats;
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
addMcpServerConfig,
|
|
12
12
|
removeMcpServerConfig,
|
|
13
13
|
questionTerminal
|
|
14
|
-
} from "./cli-
|
|
14
|
+
} from "./cli-ebpq3c5z.js";
|
|
15
15
|
import {
|
|
16
16
|
McpSignInCancelledError2,
|
|
17
17
|
McpOAuthCredentialStore2,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
McpServerLog2,
|
|
20
20
|
createDefaultTransport2,
|
|
21
21
|
McpServerConnection2
|
|
22
|
-
} from "./cli-
|
|
22
|
+
} from "./cli-t879ww0y.js";
|
|
23
23
|
|
|
24
24
|
// node_modules/@earendil-works/pi-coding-agent/dist/extensions/mcp/cli.js
|
|
25
25
|
import { existsSync } from "node:fs";
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
getPendingWaitsByEvent2,
|
|
36
36
|
resolveWaitState2,
|
|
37
37
|
init_db4
|
|
38
|
-
} from "./cli-
|
|
38
|
+
} from "./cli-zzq96q57.js";
|
|
39
39
|
import {
|
|
40
40
|
workflowEventBus2,
|
|
41
41
|
init_event_bus
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
import {
|
|
44
44
|
postApprovalCancellationUpdates2,
|
|
45
45
|
init_approval_notifications
|
|
46
|
-
} from "./cli-
|
|
46
|
+
} from "./cli-evy3egte.js";
|
|
47
47
|
import {
|
|
48
48
|
BaseExecutor,
|
|
49
49
|
init_base,
|
|
@@ -85,12 +85,12 @@ import {
|
|
|
85
85
|
getNextTargets,
|
|
86
86
|
getSuccessors,
|
|
87
87
|
init_definition2
|
|
88
|
-
} from "./cli-
|
|
88
|
+
} from "./cli-cp163xga.js";
|
|
89
89
|
import {
|
|
90
90
|
RetryPolicySchema,
|
|
91
91
|
SUPERSEDED_WORKFLOW_TASK_REASON,
|
|
92
92
|
init_types5
|
|
93
|
-
} from "./cli-
|
|
93
|
+
} from "./cli-7r9tvk8v.js";
|
|
94
94
|
import {
|
|
95
95
|
init_zod
|
|
96
96
|
} from "./cli-96234j5w.js";
|
|
@@ -1060,7 +1060,10 @@ async function cancelWorkflowRunRows2(runId, cancelReason) {
|
|
|
1060
1060
|
const openTaskIds = await getOpenWorkflowTreeTaskIds(runIds);
|
|
1061
1061
|
const withDependents = openTaskIds.length > 0 ? await getTaskIdsWithDependents() : new Set;
|
|
1062
1062
|
for (const taskId of openTaskIds) {
|
|
1063
|
-
await cancelTask2(taskId, cancelReason, {
|
|
1063
|
+
await cancelTask2(taskId, cancelReason, {
|
|
1064
|
+
cascadeDependents: withDependents.has(taskId),
|
|
1065
|
+
statusKind: "workflow"
|
|
1066
|
+
});
|
|
1064
1067
|
}
|
|
1065
1068
|
await cancelOpenWorkflowTreeSteps(runIds, cancelReason, now);
|
|
1066
1069
|
await disarmWorkflowTreeRetries(runIds, now);
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
acquireOAuthRefreshLock,
|
|
12
12
|
releaseOAuthRefreshLock,
|
|
13
13
|
init_oauth
|
|
14
|
-
} from "./cli-
|
|
14
|
+
} from "./cli-zzq96q57.js";
|
|
15
15
|
import {
|
|
16
16
|
generateRandomCodeVerifier,
|
|
17
17
|
generateRandomState,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
init_build,
|
|
20
20
|
publicEndpointSsrfOptions,
|
|
21
21
|
init_mcp_wrapper
|
|
22
|
-
} from "./cli-
|
|
22
|
+
} from "./cli-b9ygp1kz.js";
|
|
23
23
|
import {
|
|
24
24
|
scrubSecrets,
|
|
25
25
|
registerVolatileSecret,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
materializeClaudeMd,
|
|
3
3
|
stopClaudeMd
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-qmx8bnt4.js";
|
|
5
5
|
import {
|
|
6
6
|
summarizeSession
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-srre41gb.js";
|
|
8
8
|
import {
|
|
9
9
|
contextBoundNoteThreshold,
|
|
10
10
|
injectClaimedContextBoundNote
|
|
11
|
-
} from "./cli-
|
|
11
|
+
} from "./cli-zntvmqmm.js";
|
|
12
12
|
import {
|
|
13
13
|
canonicalToolName,
|
|
14
14
|
canonicalArgs,
|
|
@@ -44,12 +44,12 @@ import {
|
|
|
44
44
|
warnProfileFileTooLarge,
|
|
45
45
|
buildIndependentIdentityPayloads,
|
|
46
46
|
init_profile_sync
|
|
47
|
-
} from "./cli-
|
|
47
|
+
} from "./cli-19d6v8er.js";
|
|
48
48
|
import {
|
|
49
49
|
MAX_PROFILE_FILE_LENGTH,
|
|
50
50
|
getMcpBaseUrl,
|
|
51
51
|
init_constants3
|
|
52
|
-
} from "./cli-
|
|
52
|
+
} from "./cli-grbngev5.js";
|
|
53
53
|
import {
|
|
54
54
|
isSessionSummarySkipped,
|
|
55
55
|
init_env_flag
|
|
@@ -57,7 +57,7 @@ import {
|
|
|
57
57
|
import {
|
|
58
58
|
init_package,
|
|
59
59
|
package_default
|
|
60
|
-
} from "./cli-
|
|
60
|
+
} from "./cli-hd5bm1e1.js";
|
|
61
61
|
import {
|
|
62
62
|
scrubSecrets,
|
|
63
63
|
init_secret_scrubber
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
import {
|
|
26
26
|
MAX_PROFILE_FILE_LENGTH,
|
|
27
27
|
init_constants3
|
|
28
|
-
} from "./cli-
|
|
28
|
+
} from "./cli-grbngev5.js";
|
|
29
29
|
import {
|
|
30
30
|
__esm
|
|
31
31
|
} from "./cli-242037k3.js";
|
|
@@ -2158,6 +2158,9 @@ function resolveTaskModelSelection(opts) {
|
|
|
2158
2158
|
function isTerminalTaskStatus(status) {
|
|
2159
2159
|
return TERMINAL_TASK_STATUSES.includes(status);
|
|
2160
2160
|
}
|
|
2161
|
+
function isTaskStatusKindFor(status, kind) {
|
|
2162
|
+
return TASK_STATUS_KINDS[status].includes(kind ?? "");
|
|
2163
|
+
}
|
|
2161
2164
|
function agentsMayMerge(g) {
|
|
2162
2165
|
return g?.mergePolicy?.agentsMayMerge ?? g?.allowMerge === true;
|
|
2163
2166
|
}
|
|
@@ -2207,7 +2210,7 @@ function checkExtensionInstallSource(body, ctx) {
|
|
|
2207
2210
|
ctx.addIssue({ code: "custom", path: ["files"], message: "files is required with manifest" });
|
|
2208
2211
|
}
|
|
2209
2212
|
}
|
|
2210
|
-
var AssetKeySchema, AssetEntityTypeSchema, AssetProviderRefSchema, AssetKeyMappingSchema, AssetSummarySchema, ModelTierSchema, MODEL_TIERS, ReasoningEffortSchema, LEGACY_MODEL_TO_TIER, DEFAULT_MODEL_TIER_MAP, AgentTaskStatusSchema, TERMINAL_TASK_STATUSES, OPEN_TASK_STATUSES, InboxMessageStatusSchema, InboxMessageSchema, AgentTaskSourceSchema, RoutingReasonSchema, RoutingSourceSchema, ProviderNameSchema, ModelProfileNameSchema, ModelProfileCredentialsSchema, ModelProfileSchema, ModelGroupSchema, ProviderErrorClassSchema, FallbackHopSchema, ProfileCheckStateSchema, ProfileCheckRowSchema, ProfileCheckResultSchema, SessionShareAccessSchema, SessionAccessSchema, SessionOwnerSchema, SessionSharesSchema, SessionSharesUpdateSchema, SteerModeSchema, SteeringStatusSchema, SteeringSourceSchema, SteeringMessageSchema, SteerOutcomeSchema, OnUnsupportedSchema, SteerResultSchema, PROVIDER_STEER_CAPABILITIES, FollowUpConfigSchema, RoutingAffinitySchema, SlackParticipantTrustSchema, TaskSlackParticipantSchema, TaskSlackParticipantsSchema, AgentTaskSchema, CreateTaskOptionsSchema, TaskAttachmentKindSchema, SERVER_GENERATED_ATTACHMENT_CAPABILITY = "_agentSwarmGeneratedBy", attachmentCapabilitiesSchema, attachmentCommonFields, AttachmentInputSchema, TaskAttachmentSchema, UserSchema, UserMergeJobStatusSchema, UserMergeJobSchema, RbacRoleSchema, UserRbacRolesSchema, UserCommsPrefsSchema, IdentityEventTypeSchema, InboxItemTypeSchema, InboxItemStatusSchema, InboxItemStateSchema, ChecklistItemSchema, FavoriteItemTypeSchema, UserFavoriteSchema, TaskTemplateKindSchema, TaskTemplateSchema, AgentStatusSchema, HttpsImageUrlSchema, LucideIconSchema, UrlIconSchema, AgentFsIconSchema, MediaIconSchema, AgentAvatarSchema, AppIconSchema, AgentSlackIconSchema, AgentSchema, AgentHistoryEventSchema, AgentCredStatusKeyResultSchema, AgentCredStatusLiveTestSchema, AgentLatestModelSchema, AgentBedrockStatusSchema, AgentOpencodeGoStatusSchema, AcpSessionConfigSelectValueSchema, AcpSessionConfigSelectGroupSchema, AcpSessionConfigOptionSchema, AgentAcpStatusSchema, AgentCredStatusSchema, AgentWithTasksSchema, ChangeSourceSchema, VersionableFieldSchema, ContextVersionSchema, ChannelTypeSchema, ChannelSchema, ChannelMessageSchema, ServiceStatusSchema, ServiceSchema, AgentLogEventTypeSchema, ResumeReasonSchema, AgentLogSchema, SessionLogSchema, SessionCostSourceSchema, SessionCostKindSchema, SessionCostModelBreakdownSchema, SessionCostSchema, EventCategorySchema, EventStatusSchema, EventSourceSchema, EventNameSchema, SwarmEventSchema, AutomationIntegrationIdSchema, ScheduledTaskTargetTypeSchema, ScheduledTaskSchema, SwarmConfigScopeSchema, SwarmConfigSchema, REPO_GUIDELINES_MAX_ENTRIES = 50, RepoMergePolicySchema, RepoGuidelinesSchema, RepoGuidelinesInputSchema, RepoHooksSchema, SwarmRepoSchema, AgentMemoryScopeSchema, AgentMemorySourceSchema, AgentMemorySchema, ActiveSessionSchema, WorkerNudgeSchema, RuntimeInstanceStatusSchema, RuntimeProviderKindSchema, DeliveryModeSchema, PoolLifecycleSchema, RuntimeResourcesSchema, RuntimeControllerCreateSchema, RuntimeControllerUpdateSchema, RuntimeControllerSchema, RuntimePoolCacheSchema, RuntimePoolWorkspaceSchema, RuntimePoolCreateSchema, RuntimePoolUpdateSchema, RuntimePoolSchema, RuntimePoolCreateAgentSchema, RuntimeInstanceSchema, RetryPolicySchema, SUPERSEDED_WORKFLOW_TASK_REASON = "superseded_workflow_task", ExecutorMetaSchema, ValidationResultSchema, StepValidationConfigSchema, SwarmScriptNodeConfigSchema, WorkflowNodeSchema, WorkflowEdgeSchema, WorkflowDefinitionSchema, WorkflowNodePatchSchema, WorkflowPatchSchema, WebhookVerificationSchema, WEBHOOK_FILTER_MAX_FIELDS = 32, WEBHOOK_FILTER_MAX_VALUES = 64, WEBHOOK_FILTER_MAX_STRING = 512, WEBHOOK_FILTER_MAX_HEADER_NAME = 128, WEBHOOK_FILTER_MAX_PATH = 256, WEBHOOK_FILTER_MAX_SEGMENTS = 12, WEBHOOK_FILTER_MAX_SEGMENT = 128, WEBHOOK_FILTER_HEADER_NAME, WEBHOOK_FILTER_PRESETS, WebhookFilterPresetSchema, webhookFilterHeaderValueSchema, webhookFilterBodyScalarSchema, webhookFilterBodyValueSchema, WebhookDeliveryFilterSchema, TriggerConfigSchema, CooldownConfigSchema, InputValueSchema, WorkflowTemplateSchema, WorkflowSnapshotSchema, WorkflowSchema, WorkflowVersionSchema, PageContentTypeSchema, PageAuthModeSchema, PageThemeTokensSchema, PageThemeTokensInputSchema, DesignSystemStatusSchema, DesignSystemModeSchema, DesignSystemSourceSchema, DesignSystemLogoSchema, DesignSystemSchema, DesignSystemInputSchema, PageSnapshotSchema, PageSchema, PageVersionSchema, MetricParamSchema, MetricVariableTypeSchema, MetricFormatSchema, MetricVisualizationSchema, MetricQuerySchema, MetricVariableSchema, MetricVizConfigSchema, MetricWidgetSchema, MetricDefinitionSchema, MetricSnapshotSchema, MetricSchema, MetricVersionSchema, WorkflowRunStatusSchema, WorkflowRunSchema, WorkflowRunParentSchema, WorkflowRunSummarySchema, ScriptRunStatusSchema, TERMINAL_SCRIPT_RUN_STATUSES, ScriptRunKindSchema, ScriptRunSchema, ScriptRunListItemSchema, ScriptRunJournalEntrySchema, WorkflowRunStepStatusSchema, WorkflowRunStepSchema, WorkflowRunStepSlimSchema, WaitModeSchema, WaitStateStatusSchema, WaitStateRowSchema, PromptTemplateScopeSchema, PromptTemplateStateSchema, PromptTemplateSchema, PromptTemplateHistorySchema, ScriptScopeSchema, ScriptFsModeSchema, ScriptExecutorNameSchema, ScriptRecordSchema, ScriptVersionRecordSchema, ExtensionNameSchema, SemverSchema, ExtensionBundlePathSchema, ExtensionAssetNameSchema, ExtensionScriptAssetSchema, ExtensionScheduleAssetSchema, ExtensionWorkflowAssetSchema, ExtensionSkillAssetSchema, ExtensionWorkflowFileSchema, ExtensionManifestSchema, ExtensionStatusSchema, ExtensionSchema, ExtensionFileSchema, ExtensionVersionSchema, ExtensionRunSchema, ExtensionInstallBodySchema, ScriptApiAuthModeSchema, ScriptApiRecordSchema, SkillTypeSchema, SkillScopeSchema, SkillSchema, AgentSkillSchema, SkillWithInstallInfoSchema, SkillFileSchema, McpServerTransportSchema, McpServerScopeSchema, McpAuthMethodSchema, McpServerSchema, AgentMcpServerSchema, McpServerWithInstallInfoSchema, ContextSnapshotEventTypeSchema, ContextFormulaSchema, ContextSnapshotSchema, RequestCompositionPartKindSchema, RequestCompositionFidelitySchema, RequestCompositionPartInputSchema, RequestCompositionPartSchema, RequestCompositionToolLoadingSchema, RequestCompositionSchema, BudgetScopeSchema, BudgetSchema, PricingProviderSchema, PricingTokenClassSchema, PricingRowSchema, BudgetRefusalCauseSchema, BudgetRefusalNotificationSchema, BudgetRefusedTriggerSchema, KvValueTypeSchema, KV_NAME_REGEX, KvNamespaceSchema, KvKeySchema, KvEntrySchema;
|
|
2213
|
+
var AssetKeySchema, AssetEntityTypeSchema, AssetProviderRefSchema, AssetKeyMappingSchema, AssetSummarySchema, ModelTierSchema, MODEL_TIERS, ReasoningEffortSchema, LEGACY_MODEL_TO_TIER, DEFAULT_MODEL_TIER_MAP, AgentTaskStatusSchema, TERMINAL_TASK_STATUSES, TASK_STATUS_KINDS, TaskStatusKindSchema, OPEN_TASK_STATUSES, InboxMessageStatusSchema, InboxMessageSchema, AgentTaskSourceSchema, RoutingReasonSchema, RoutingSourceSchema, ProviderNameSchema, ModelProfileNameSchema, ModelProfileCredentialsSchema, ModelProfileSchema, ModelGroupSchema, ProviderErrorClassSchema, FallbackHopSchema, ProfileCheckStateSchema, ProfileCheckRowSchema, ProfileCheckResultSchema, SessionShareAccessSchema, SessionAccessSchema, SessionOwnerSchema, SessionSharesSchema, SessionSharesUpdateSchema, SteerModeSchema, SteeringStatusSchema, SteeringSourceSchema, SteeringMessageSchema, SteerOutcomeSchema, OnUnsupportedSchema, SteerResultSchema, PROVIDER_STEER_CAPABILITIES, FollowUpConfigSchema, RoutingAffinitySchema, SlackParticipantTrustSchema, TaskSlackParticipantSchema, TaskSlackParticipantsSchema, AgentTaskSchema, CreateTaskOptionsSchema, TaskAttachmentKindSchema, SERVER_GENERATED_ATTACHMENT_CAPABILITY = "_agentSwarmGeneratedBy", attachmentCapabilitiesSchema, attachmentCommonFields, AttachmentInputSchema, TaskAttachmentSchema, UserSchema, UserMergeJobStatusSchema, UserMergeJobSchema, RbacRoleSchema, UserRbacRolesSchema, UserCommsPrefsSchema, IdentityEventTypeSchema, InboxItemTypeSchema, InboxItemStatusSchema, InboxItemStateSchema, ChecklistItemSchema, FavoriteItemTypeSchema, UserFavoriteSchema, TaskTemplateKindSchema, TaskTemplateSchema, AgentStatusSchema, HttpsImageUrlSchema, LucideIconSchema, UrlIconSchema, AgentFsIconSchema, MediaIconSchema, AgentAvatarSchema, UserAvatarSchema, AppIconSchema, AgentSlackIconSchema, AgentSchema, AgentHistoryEventSchema, AgentCredStatusKeyResultSchema, AgentCredStatusLiveTestSchema, AgentLatestModelSchema, AgentBedrockStatusSchema, AgentOpencodeGoStatusSchema, AcpSessionConfigSelectValueSchema, AcpSessionConfigSelectGroupSchema, AcpSessionConfigOptionSchema, AgentAcpStatusSchema, AgentCredStatusSchema, AgentWithTasksSchema, ChangeSourceSchema, VersionableFieldSchema, ContextVersionSchema, ChannelTypeSchema, ChannelSchema, ChannelMessageSchema, ServiceStatusSchema, ServiceSchema, AgentLogEventTypeSchema, ResumeReasonSchema, _resumeReasonsAreSupersededKinds, AgentLogSchema, SessionLogSchema, SessionCostSourceSchema, SessionCostKindSchema, SessionCostModelBreakdownSchema, SessionCostSchema, EventCategorySchema, EventStatusSchema, EventSourceSchema, EventNameSchema, SwarmEventSchema, AutomationIntegrationIdSchema, ScheduledTaskTargetTypeSchema, ScheduledTaskSchema, SwarmConfigScopeSchema, SwarmConfigSchema, REPO_GUIDELINES_MAX_ENTRIES = 50, RepoMergePolicySchema, RepoGuidelinesSchema, RepoGuidelinesInputSchema, RepoHooksSchema, SwarmRepoSchema, AgentMemoryScopeSchema, AgentMemorySourceSchema, AgentMemorySchema, ActiveSessionSchema, WorkerNudgeSchema, RuntimeInstanceStatusSchema, RuntimeProviderKindSchema, DeliveryModeSchema, PoolLifecycleSchema, RuntimeResourcesSchema, RuntimeControllerCreateSchema, RuntimeControllerUpdateSchema, RuntimeControllerSchema, RuntimePoolCacheSchema, RuntimePoolWorkspaceSchema, RuntimePoolCreateSchema, RuntimePoolUpdateSchema, RuntimePoolSchema, RuntimePoolCreateAgentSchema, RuntimeInstanceSchema, RetryPolicySchema, SUPERSEDED_WORKFLOW_TASK_REASON = "superseded_workflow_task", ExecutorMetaSchema, ValidationResultSchema, StepValidationConfigSchema, SwarmScriptNodeConfigSchema, WorkflowNodeSchema, WorkflowEdgeSchema, WorkflowDefinitionSchema, WorkflowNodePatchSchema, WorkflowPatchSchema, WebhookVerificationSchema, WEBHOOK_FILTER_MAX_FIELDS = 32, WEBHOOK_FILTER_MAX_VALUES = 64, WEBHOOK_FILTER_MAX_STRING = 512, WEBHOOK_FILTER_MAX_HEADER_NAME = 128, WEBHOOK_FILTER_MAX_PATH = 256, WEBHOOK_FILTER_MAX_SEGMENTS = 12, WEBHOOK_FILTER_MAX_SEGMENT = 128, WEBHOOK_FILTER_HEADER_NAME, WEBHOOK_FILTER_PRESETS, WebhookFilterPresetSchema, webhookFilterHeaderValueSchema, webhookFilterBodyScalarSchema, webhookFilterBodyValueSchema, WebhookDeliveryFilterSchema, TriggerConfigSchema, CooldownConfigSchema, InputValueSchema, WorkflowTemplateSchema, WorkflowSnapshotSchema, WorkflowSchema, WorkflowVersionSchema, PageContentTypeSchema, PageAuthModeSchema, PageThemeTokensSchema, PageThemeTokensInputSchema, DesignSystemStatusSchema, DesignSystemModeSchema, DesignSystemSourceSchema, DesignSystemLogoSchema, DesignSystemSchema, DesignSystemInputSchema, PageSnapshotSchema, PageSchema, PageVersionSchema, MetricParamSchema, MetricVariableTypeSchema, MetricFormatSchema, MetricVisualizationSchema, MetricQuerySchema, MetricVariableSchema, MetricVizConfigSchema, MetricWidgetSchema, MetricDefinitionSchema, MetricSnapshotSchema, MetricSchema, MetricVersionSchema, WorkflowRunStatusSchema, WorkflowRunSchema, WorkflowRunParentSchema, WorkflowRunSummarySchema, ScriptRunStatusSchema, TERMINAL_SCRIPT_RUN_STATUSES, ScriptRunKindSchema, ScriptRunSchema, ScriptRunListItemSchema, ScriptRunJournalEntrySchema, WorkflowRunStepStatusSchema, WorkflowRunStepSchema, WorkflowRunStepSlimSchema, WaitModeSchema, WaitStateStatusSchema, WaitStateRowSchema, PromptTemplateScopeSchema, PromptTemplateStateSchema, PromptTemplateSchema, PromptTemplateHistorySchema, ScriptScopeSchema, ScriptFsModeSchema, ScriptExecutorNameSchema, ScriptRecordSchema, ScriptVersionRecordSchema, ExtensionNameSchema, SemverSchema, ExtensionBundlePathSchema, ExtensionAssetNameSchema, ExtensionScriptAssetSchema, ExtensionScheduleAssetSchema, ExtensionWorkflowAssetSchema, ExtensionSkillAssetSchema, ExtensionWorkflowFileSchema, ExtensionManifestSchema, ExtensionStatusSchema, ExtensionSchema, ExtensionFileSchema, ExtensionVersionSchema, ExtensionRunSchema, ExtensionInstallBodySchema, ScriptApiAuthModeSchema, ScriptApiRecordSchema, SkillTypeSchema, SkillScopeSchema, SkillSchema, AgentSkillSchema, SkillWithInstallInfoSchema, SkillFileSchema, McpServerTransportSchema, McpServerScopeSchema, McpAuthMethodSchema, McpServerSchema, AgentMcpServerSchema, McpServerWithInstallInfoSchema, ContextSnapshotEventTypeSchema, ContextFormulaSchema, ContextSnapshotSchema, RequestCompositionPartKindSchema, RequestCompositionFidelitySchema, RequestCompositionPartInputSchema, RequestCompositionPartSchema, RequestCompositionToolLoadingSchema, RequestCompositionSchema, BudgetScopeSchema, BudgetSchema, PricingProviderSchema, PricingTokenClassSchema, PricingRowSchema, BudgetRefusalCauseSchema, BudgetRefusalNotificationSchema, BudgetRefusedTriggerSchema, KvValueTypeSchema, KV_NAME_REGEX, KvNamespaceSchema, KvKeySchema, KvEntrySchema;
|
|
2211
2214
|
var init_types5 = __esm(() => {
|
|
2212
2215
|
init_key();
|
|
2213
2216
|
init_bundle_path();
|
|
@@ -2366,6 +2369,37 @@ var init_types5 = __esm(() => {
|
|
|
2366
2369
|
"superseded",
|
|
2367
2370
|
"skipped"
|
|
2368
2371
|
];
|
|
2372
|
+
TASK_STATUS_KINDS = {
|
|
2373
|
+
completed: ["agent", "runner", "deferred"],
|
|
2374
|
+
failed: ["agent", "error", "cascade", "external"],
|
|
2375
|
+
cancelled: ["user", "agent", "workflow", "external", "system"],
|
|
2376
|
+
skipped: ["agent", "runner"],
|
|
2377
|
+
superseded: [
|
|
2378
|
+
"graceful_shutdown",
|
|
2379
|
+
"context_limits",
|
|
2380
|
+
"manual_supersede",
|
|
2381
|
+
"crash_recovery",
|
|
2382
|
+
"provider_fallback",
|
|
2383
|
+
"workflow_retry"
|
|
2384
|
+
]
|
|
2385
|
+
};
|
|
2386
|
+
TaskStatusKindSchema = _enum2([
|
|
2387
|
+
"agent",
|
|
2388
|
+
"runner",
|
|
2389
|
+
"deferred",
|
|
2390
|
+
"error",
|
|
2391
|
+
"cascade",
|
|
2392
|
+
"external",
|
|
2393
|
+
"user",
|
|
2394
|
+
"workflow",
|
|
2395
|
+
"system",
|
|
2396
|
+
"graceful_shutdown",
|
|
2397
|
+
"context_limits",
|
|
2398
|
+
"manual_supersede",
|
|
2399
|
+
"crash_recovery",
|
|
2400
|
+
"provider_fallback",
|
|
2401
|
+
"workflow_retry"
|
|
2402
|
+
]);
|
|
2369
2403
|
OPEN_TASK_STATUSES = AgentTaskStatusSchema.options.filter((status) => !isTerminalTaskStatus(status));
|
|
2370
2404
|
InboxMessageStatusSchema = _enum2([
|
|
2371
2405
|
"unread",
|
|
@@ -2605,6 +2639,7 @@ var init_types5 = __esm(() => {
|
|
|
2605
2639
|
lastUpdatedAt: exports_iso.datetime(),
|
|
2606
2640
|
finishedAt: exports_iso.datetime().optional(),
|
|
2607
2641
|
notifiedAt: exports_iso.datetime().optional(),
|
|
2642
|
+
statusKind: TaskStatusKindSchema.optional().describe("Why the task reached its terminal status, e.g. `failed` + `agent` (the agent chose to fail) vs `failed` + `error` (rate limit, crash, exit code). Absent while open and on rows finished before the field existed."),
|
|
2608
2643
|
failureReason: string2().optional(),
|
|
2609
2644
|
output: string2().optional(),
|
|
2610
2645
|
progress: string2().optional(),
|
|
@@ -2802,6 +2837,7 @@ var init_types5 = __esm(() => {
|
|
|
2802
2837
|
dailyBudgetUsd: number2().nullable().optional(),
|
|
2803
2838
|
status: _enum2(["invited", "active", "suspended"]).default("active"),
|
|
2804
2839
|
mergedIntoUserId: string2().nullable().optional(),
|
|
2840
|
+
avatar: lazy(() => UserAvatarSchema).nullable().optional(),
|
|
2805
2841
|
createdAt: exports_iso.datetime(),
|
|
2806
2842
|
lastUpdatedAt: exports_iso.datetime()
|
|
2807
2843
|
}).openapi("User");
|
|
@@ -2954,6 +2990,7 @@ var init_types5 = __esm(() => {
|
|
|
2954
2990
|
AgentFsIconSchema
|
|
2955
2991
|
]);
|
|
2956
2992
|
AgentAvatarSchema = MediaIconSchema;
|
|
2993
|
+
UserAvatarSchema = MediaIconSchema;
|
|
2957
2994
|
AppIconSchema = MediaIconSchema;
|
|
2958
2995
|
AgentSlackIconSchema = discriminatedUnion("type", [
|
|
2959
2996
|
object2({
|
|
@@ -3201,6 +3238,7 @@ var init_types5 = __esm(() => {
|
|
|
3201
3238
|
"crash_recovery",
|
|
3202
3239
|
"provider_fallback"
|
|
3203
3240
|
]);
|
|
3241
|
+
_resumeReasonsAreSupersededKinds = ResumeReasonSchema.options;
|
|
3204
3242
|
AgentLogSchema = object2({
|
|
3205
3243
|
id: uuid(),
|
|
3206
3244
|
eventType: AgentLogEventTypeSchema,
|
|
@@ -4648,4 +4686,4 @@ var init_types5 = __esm(() => {
|
|
|
4648
4686
|
}).openapi("KvEntry");
|
|
4649
4687
|
});
|
|
4650
4688
|
|
|
4651
|
-
export { ASSET_KEY_MAX_LENGTH, AssetKeyError, normalizeAssetKey, defaultAssetKey, keyPrefixRange, SESSION_RESOURCE_KINDS, SESSION_LEAF_KINDS, NO_GROUP_LEAF_KINDS, isGroupKey, isResourceGroupPrefix, RESOURCE_GROUPS_READ_ONLY, sessionResourceGroupOf, sessionGroupKey, parseAssetKey, isCanonicalAssetKey, canWriteAssetKey, init_key, isSafeBundlePath, init_bundle_path, PAGE_THEME_COLOR_TOKENS, PAGE_THEME_SHARED_TOKENS, PAGE_THEME_TOKENS, HIVE_PAGE_TOKENS, init_tokens2, ThemeImportError, importThemeTokens, init_import, $OpenAPIRegistry, $OpenApiGeneratorV31, init_dist9, init_zod_openapi, AssetKeySchema, AssetEntityTypeSchema, AssetKeyMappingSchema, AssetSummarySchema, ModelTierSchema, MODEL_TIERS, ReasoningEffortSchema, DEFAULT_MODEL_TIER_MAP, parseModelTier, splitLegacyModelAlias, parseWorkerModelTierOverrides, resolveTaskModelSelection, AgentTaskStatusSchema, TERMINAL_TASK_STATUSES, isTerminalTaskStatus, OPEN_TASK_STATUSES, AgentTaskSourceSchema, RoutingReasonSchema, ProviderNameSchema, ModelProfileNameSchema, ModelProfileCredentialsSchema, ModelProfileSchema, ModelGroupSchema, ProviderErrorClassSchema, FallbackHopSchema, ProfileCheckResultSchema, SessionAccessSchema, SessionOwnerSchema, SessionSharesSchema, SessionSharesUpdateSchema, SteerModeSchema, SteeringSourceSchema, SteeringMessageSchema, SteerOutcomeSchema, OnUnsupportedSchema, SteerResultSchema, PROVIDER_STEER_CAPABILITIES, FollowUpConfigSchema, RoutingAffinitySchema, SlackParticipantTrustSchema, TaskSlackParticipantsSchema, AgentTaskSchema, CreateTaskOptionsSchema, SERVER_GENERATED_ATTACHMENT_CAPABILITY, AttachmentInputSchema, TaskAttachmentSchema, UserSchema, UserMergeJobStatusSchema, UserMergeJobSchema, RbacRoleSchema, UserRbacRolesSchema, UserCommsPrefsSchema, InboxItemTypeSchema, InboxItemStatusSchema, InboxItemStateSchema, ChecklistItemSchema, FavoriteItemTypeSchema, UserFavoriteSchema, TaskTemplateKindSchema, TaskTemplateSchema, AgentStatusSchema, AgentAvatarSchema, AppIconSchema, AgentSlackIconSchema, AgentSchema, AgentHistoryEventSchema, AgentLatestModelSchema, AgentAcpStatusSchema, AgentCredStatusSchema, AgentWithTasksSchema, VersionableFieldSchema, ChannelTypeSchema, ResumeReasonSchema, AgentLogSchema, SessionLogSchema, SessionCostModelBreakdownSchema, SessionCostSchema, EventCategorySchema, EventStatusSchema, EventSourceSchema, EventNameSchema, SwarmEventSchema, AutomationIntegrationIdSchema, ScheduledTaskTargetTypeSchema, ScheduledTaskSchema, SwarmConfigScopeSchema, SwarmConfigSchema, RepoGuidelinesInputSchema, agentsMayMerge, RepoHooksSchema, SwarmRepoSchema, AgentMemoryScopeSchema, AgentMemorySourceSchema, AgentMemorySchema, ActiveSessionSchema, WorkerNudgeSchema, RuntimeProviderKindSchema, DeliveryModeSchema, RuntimeControllerCreateSchema, RuntimeControllerUpdateSchema, RuntimeControllerSchema, RuntimePoolCacheSchema, RuntimePoolCreateSchema, RuntimePoolUpdateSchema, RuntimePoolSchema, RuntimePoolCreateAgentSchema, RuntimeInstanceSchema, RetryPolicySchema, SUPERSEDED_WORKFLOW_TASK_REASON, WorkflowEdgeSchema, WorkflowDefinitionSchema, WorkflowNodePatchSchema, WorkflowPatchSchema, WEBHOOK_FILTER_PRESETS, WebhookDeliveryFilterSchema, TriggerConfigSchema, CooldownConfigSchema, InputValueSchema, WorkflowSchema, WorkflowVersionSchema, PageContentTypeSchema, PageAuthModeSchema, PageThemeTokensSchema, PageThemeTokensInputSchema, DesignSystemSchema, DesignSystemInputSchema, PageSchema, PageVersionSchema, MetricWidgetSchema, MetricDefinitionSchema, MetricSchema, MetricVersionSchema, WorkflowRunStatusSchema, WorkflowRunSchema, WorkflowRunParentSchema, WorkflowRunSummarySchema, ScriptRunStatusSchema, TERMINAL_SCRIPT_RUN_STATUSES, ScriptRunSchema, ScriptRunListItemSchema, ScriptRunJournalEntrySchema, WorkflowRunStepSchema, WorkflowRunStepSlimSchema, PromptTemplateScopeSchema, PromptTemplateStateSchema, PromptTemplateSchema, PromptTemplateHistorySchema, ScriptScopeSchema, ScriptFsModeSchema, ScriptExecutorNameSchema, ScriptRecordSchema, ScriptVersionRecordSchema, ExtensionWorkflowFileSchema, ExtensionManifestSchema, ExtensionSchema, ExtensionVersionSchema, ExtensionRunSchema, checkExtensionInstallSource, ExtensionInstallBodySchema, ScriptApiAuthModeSchema, ScriptApiRecordSchema, SkillSchema, AgentSkillSchema, SkillWithInstallInfoSchema, SkillFileSchema, McpAuthMethodSchema, McpServerSchema, AgentMcpServerSchema, McpServerWithInstallInfoSchema, ContextSnapshotEventTypeSchema, ContextFormulaSchema, ContextSnapshotSchema, RequestCompositionPartInputSchema, RequestCompositionToolLoadingSchema, RequestCompositionSchema, BudgetScopeSchema, BudgetSchema, PricingProviderSchema, PricingTokenClassSchema, PricingRowSchema, BudgetRefusalCauseSchema, BudgetRefusalNotificationSchema, BudgetRefusedTriggerSchema, KvValueTypeSchema, KvNamespaceSchema, KvKeySchema, KvEntrySchema, init_types5 };
|
|
4689
|
+
export { ASSET_KEY_MAX_LENGTH, AssetKeyError, normalizeAssetKey, defaultAssetKey, keyPrefixRange, SESSION_RESOURCE_KINDS, SESSION_LEAF_KINDS, NO_GROUP_LEAF_KINDS, isGroupKey, isResourceGroupPrefix, RESOURCE_GROUPS_READ_ONLY, sessionResourceGroupOf, sessionGroupKey, parseAssetKey, isCanonicalAssetKey, canWriteAssetKey, init_key, isSafeBundlePath, init_bundle_path, PAGE_THEME_COLOR_TOKENS, PAGE_THEME_SHARED_TOKENS, PAGE_THEME_TOKENS, HIVE_PAGE_TOKENS, init_tokens2, ThemeImportError, importThemeTokens, init_import, $OpenAPIRegistry, $OpenApiGeneratorV31, init_dist9, init_zod_openapi, AssetKeySchema, AssetEntityTypeSchema, AssetKeyMappingSchema, AssetSummarySchema, ModelTierSchema, MODEL_TIERS, ReasoningEffortSchema, DEFAULT_MODEL_TIER_MAP, parseModelTier, splitLegacyModelAlias, parseWorkerModelTierOverrides, resolveTaskModelSelection, AgentTaskStatusSchema, TERMINAL_TASK_STATUSES, isTerminalTaskStatus, TaskStatusKindSchema, isTaskStatusKindFor, OPEN_TASK_STATUSES, AgentTaskSourceSchema, RoutingReasonSchema, ProviderNameSchema, ModelProfileNameSchema, ModelProfileCredentialsSchema, ModelProfileSchema, ModelGroupSchema, ProviderErrorClassSchema, FallbackHopSchema, ProfileCheckResultSchema, SessionAccessSchema, SessionOwnerSchema, SessionSharesSchema, SessionSharesUpdateSchema, SteerModeSchema, SteeringSourceSchema, SteeringMessageSchema, SteerOutcomeSchema, OnUnsupportedSchema, SteerResultSchema, PROVIDER_STEER_CAPABILITIES, FollowUpConfigSchema, RoutingAffinitySchema, SlackParticipantTrustSchema, TaskSlackParticipantsSchema, AgentTaskSchema, CreateTaskOptionsSchema, SERVER_GENERATED_ATTACHMENT_CAPABILITY, AttachmentInputSchema, TaskAttachmentSchema, UserSchema, UserMergeJobStatusSchema, UserMergeJobSchema, RbacRoleSchema, UserRbacRolesSchema, UserCommsPrefsSchema, InboxItemTypeSchema, InboxItemStatusSchema, InboxItemStateSchema, ChecklistItemSchema, FavoriteItemTypeSchema, UserFavoriteSchema, TaskTemplateKindSchema, TaskTemplateSchema, AgentStatusSchema, AgentAvatarSchema, UserAvatarSchema, AppIconSchema, AgentSlackIconSchema, AgentSchema, AgentHistoryEventSchema, AgentLatestModelSchema, AgentAcpStatusSchema, AgentCredStatusSchema, AgentWithTasksSchema, VersionableFieldSchema, ChannelTypeSchema, ResumeReasonSchema, AgentLogSchema, SessionLogSchema, SessionCostModelBreakdownSchema, SessionCostSchema, EventCategorySchema, EventStatusSchema, EventSourceSchema, EventNameSchema, SwarmEventSchema, AutomationIntegrationIdSchema, ScheduledTaskTargetTypeSchema, ScheduledTaskSchema, SwarmConfigScopeSchema, SwarmConfigSchema, RepoGuidelinesInputSchema, agentsMayMerge, RepoHooksSchema, SwarmRepoSchema, AgentMemoryScopeSchema, AgentMemorySourceSchema, AgentMemorySchema, ActiveSessionSchema, WorkerNudgeSchema, RuntimeProviderKindSchema, DeliveryModeSchema, RuntimeControllerCreateSchema, RuntimeControllerUpdateSchema, RuntimeControllerSchema, RuntimePoolCacheSchema, RuntimePoolCreateSchema, RuntimePoolUpdateSchema, RuntimePoolSchema, RuntimePoolCreateAgentSchema, RuntimeInstanceSchema, RetryPolicySchema, SUPERSEDED_WORKFLOW_TASK_REASON, WorkflowEdgeSchema, WorkflowDefinitionSchema, WorkflowNodePatchSchema, WorkflowPatchSchema, WEBHOOK_FILTER_PRESETS, WebhookDeliveryFilterSchema, TriggerConfigSchema, CooldownConfigSchema, InputValueSchema, WorkflowSchema, WorkflowVersionSchema, PageContentTypeSchema, PageAuthModeSchema, PageThemeTokensSchema, PageThemeTokensInputSchema, DesignSystemSchema, DesignSystemInputSchema, PageSchema, PageVersionSchema, MetricWidgetSchema, MetricDefinitionSchema, MetricSchema, MetricVersionSchema, WorkflowRunStatusSchema, WorkflowRunSchema, WorkflowRunParentSchema, WorkflowRunSummarySchema, ScriptRunStatusSchema, TERMINAL_SCRIPT_RUN_STATUSES, ScriptRunSchema, ScriptRunListItemSchema, ScriptRunJournalEntrySchema, WorkflowRunStepSchema, WorkflowRunStepSlimSchema, PromptTemplateScopeSchema, PromptTemplateStateSchema, PromptTemplateSchema, PromptTemplateHistorySchema, ScriptScopeSchema, ScriptFsModeSchema, ScriptExecutorNameSchema, ScriptRecordSchema, ScriptVersionRecordSchema, ExtensionWorkflowFileSchema, ExtensionManifestSchema, ExtensionSchema, ExtensionVersionSchema, ExtensionRunSchema, checkExtensionInstallSource, ExtensionInstallBodySchema, ScriptApiAuthModeSchema, ScriptApiRecordSchema, SkillSchema, AgentSkillSchema, SkillWithInstallInfoSchema, SkillFileSchema, McpAuthMethodSchema, McpServerSchema, AgentMcpServerSchema, McpServerWithInstallInfoSchema, ContextSnapshotEventTypeSchema, ContextFormulaSchema, ContextSnapshotSchema, RequestCompositionPartInputSchema, RequestCompositionToolLoadingSchema, RequestCompositionSchema, BudgetScopeSchema, BudgetSchema, PricingProviderSchema, PricingTokenClassSchema, PricingRowSchema, BudgetRefusalCauseSchema, BudgetRefusalNotificationSchema, BudgetRefusedTriggerSchema, KvValueTypeSchema, KvNamespaceSchema, KvKeySchema, KvEntrySchema, init_types5 };
|
|
@@ -12,17 +12,17 @@ import {
|
|
|
12
12
|
isModelNameTakenError,
|
|
13
13
|
init_model_profiles,
|
|
14
14
|
init_db4
|
|
15
|
-
} from "./cli-
|
|
15
|
+
} from "./cli-zzq96q57.js";
|
|
16
16
|
import {
|
|
17
17
|
ensureRbacSeedsSynced2,
|
|
18
18
|
init_rbac_roles
|
|
19
|
-
} from "./cli-
|
|
19
|
+
} from "./cli-34fygf87.js";
|
|
20
20
|
import {
|
|
21
21
|
MODEL_TIERS,
|
|
22
22
|
DEFAULT_MODEL_TIER_MAP,
|
|
23
23
|
ProviderNameSchema,
|
|
24
24
|
init_types5
|
|
25
|
-
} from "./cli-
|
|
25
|
+
} from "./cli-7r9tvk8v.js";
|
|
26
26
|
import {
|
|
27
27
|
__esm
|
|
28
28
|
} from "./cli-242037k3.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveAcpTarget2
|
|
3
|
-
} from "./cli-
|
|
3
|
+
} from "./cli-0qt3epg4.js";
|
|
4
4
|
import {
|
|
5
5
|
fetchInstalledMcpServers
|
|
6
6
|
} from "./cli-5y2fvw4z.js";
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
import {
|
|
35
35
|
init_package,
|
|
36
36
|
package_default
|
|
37
|
-
} from "./cli-
|
|
37
|
+
} from "./cli-hd5bm1e1.js";
|
|
38
38
|
import {
|
|
39
39
|
scrubSecrets,
|
|
40
40
|
init_secret_scrubber
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
contextBoundNoteThreshold,
|
|
3
3
|
createContextBoundNote
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-zntvmqmm.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionErrorTracker
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-sejvnjvw.js";
|
|
8
8
|
import {
|
|
9
9
|
summarizeSession
|
|
10
|
-
} from "./cli-
|
|
10
|
+
} from "./cli-srre41gb.js";
|
|
11
11
|
import {
|
|
12
12
|
resolveCodexCommand
|
|
13
|
-
} from "./cli-
|
|
13
|
+
} from "./cli-1jq2em7b.js";
|
|
14
14
|
import {
|
|
15
15
|
createSwarmEventHandler
|
|
16
16
|
} from "./cli-srktrbby.js";
|
|
@@ -83,11 +83,11 @@ import {
|
|
|
83
83
|
init_src,
|
|
84
84
|
selectCredential,
|
|
85
85
|
init_credentials2
|
|
86
|
-
} from "./cli-
|
|
86
|
+
} from "./cli-x2adbg4j.js";
|
|
87
87
|
import {
|
|
88
88
|
DEFAULT_MODEL_TIER_MAP,
|
|
89
89
|
init_types5
|
|
90
|
-
} from "./cli-
|
|
90
|
+
} from "./cli-7r9tvk8v.js";
|
|
91
91
|
import {
|
|
92
92
|
runtimeCatalogModel,
|
|
93
93
|
init_runtime_model_catalog
|
|
@@ -99,7 +99,7 @@ import {
|
|
|
99
99
|
import {
|
|
100
100
|
init_package,
|
|
101
101
|
package_default
|
|
102
|
-
} from "./cli-
|
|
102
|
+
} from "./cli-hd5bm1e1.js";
|
|
103
103
|
import {
|
|
104
104
|
init_src2,
|
|
105
105
|
scrubSecrets,
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
resolveCredential,
|
|
7
7
|
resolveCredentials,
|
|
8
8
|
init_credentials
|
|
9
|
-
} from "./cli-
|
|
9
|
+
} from "./cli-cmbb2t8a.js";
|
|
10
10
|
import {
|
|
11
11
|
kindForModelString,
|
|
12
12
|
parseModelStr,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
import {
|
|
16
16
|
selectCredential,
|
|
17
17
|
init_credentials2
|
|
18
|
-
} from "./cli-
|
|
18
|
+
} from "./cli-x2adbg4j.js";
|
|
19
19
|
import {
|
|
20
20
|
DEFAULT_OPENROUTER_BASE_URL,
|
|
21
21
|
getOpenRouterBaseUrl,
|
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
WORKFLOW_CONTEXT_REQUESTER_SQL,
|
|
14
14
|
init_user_references,
|
|
15
15
|
init_db4
|
|
16
|
-
} from "./cli-
|
|
16
|
+
} from "./cli-zzq96q57.js";
|
|
17
17
|
import {
|
|
18
18
|
nextRestRatio2
|
|
19
|
-
} from "./cli-
|
|
19
|
+
} from "./cli-3860pmrq.js";
|
|
20
20
|
import {
|
|
21
21
|
scrubSecrets,
|
|
22
22
|
init_secret_scrubber
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
CONTROLLER_COMMAND_TIMEOUT_MS,
|
|
5
5
|
RuntimeHandleSchema,
|
|
6
6
|
ControllerStatusResultSchema
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-5tq15aa7.js";
|
|
8
8
|
import {
|
|
9
9
|
getDbClient2,
|
|
10
10
|
validateControllerGraceSec,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
upsertSwarmConfig2,
|
|
20
20
|
getResolvedConfig2,
|
|
21
21
|
init_db4
|
|
22
|
-
} from "./cli-
|
|
22
|
+
} from "./cli-zzq96q57.js";
|
|
23
23
|
import {
|
|
24
24
|
getPoolCache,
|
|
25
25
|
reconcileCacheReleases,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
getPoolForAgent2,
|
|
34
34
|
resolvePoolDelivery2,
|
|
35
35
|
init_db2
|
|
36
|
-
} from "./cli-
|
|
36
|
+
} from "./cli-f9xw9pr4.js";
|
|
37
37
|
import {
|
|
38
38
|
workflowEventBus2,
|
|
39
39
|
init_event_bus
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
listRuntimeInstancesForAgent,
|
|
48
48
|
listRuntimeInstancesForPool,
|
|
49
49
|
init_multi_runtime
|
|
50
|
-
} from "./cli-
|
|
50
|
+
} from "./cli-evy3egte.js";
|
|
51
51
|
import {
|
|
52
52
|
pendingWorkForAgent,
|
|
53
53
|
countPoolRuntimes,
|
|
@@ -57,7 +57,7 @@ import {
|
|
|
57
57
|
init_worker_follow_up,
|
|
58
58
|
canClaim,
|
|
59
59
|
init_budget_admission
|
|
60
|
-
} from "./cli-
|
|
60
|
+
} from "./cli-wzecestt.js";
|
|
61
61
|
import {
|
|
62
62
|
isMultiRuntimeEnabled,
|
|
63
63
|
init_multi_runtime2
|
|
@@ -69,12 +69,12 @@ import {
|
|
|
69
69
|
import {
|
|
70
70
|
resolveWorkerApiUrl,
|
|
71
71
|
init_worker_api_url
|
|
72
|
-
} from "./cli-
|
|
72
|
+
} from "./cli-tgc1kgg3.js";
|
|
73
73
|
import {
|
|
74
74
|
canProvisionKind,
|
|
75
75
|
createRuntimeProvider,
|
|
76
76
|
init_runtime_providers
|
|
77
|
-
} from "./cli-
|
|
77
|
+
} from "./cli-n79j1vxc.js";
|
|
78
78
|
import {
|
|
79
79
|
workspaceVolumeKey,
|
|
80
80
|
RUNTIME_LABELS,
|
|
@@ -87,12 +87,12 @@ import {
|
|
|
87
87
|
import {
|
|
88
88
|
mintRuntimeToken,
|
|
89
89
|
init_users
|
|
90
|
-
} from "./cli-
|
|
90
|
+
} from "./cli-avax5mp9.js";
|
|
91
91
|
import {
|
|
92
92
|
TERMINAL_TASK_STATUSES,
|
|
93
93
|
isTerminalTaskStatus,
|
|
94
94
|
init_types5
|
|
95
|
-
} from "./cli-
|
|
95
|
+
} from "./cli-7r9tvk8v.js";
|
|
96
96
|
import {
|
|
97
97
|
init_zod
|
|
98
98
|
} from "./cli-96234j5w.js";
|
|
@@ -524,7 +524,7 @@ async function recoverSessions(runtimeId, reason) {
|
|
|
524
524
|
}
|
|
525
525
|
if (!sessions.length)
|
|
526
526
|
return;
|
|
527
|
-
const { remediateTaskForDeadRuntime } = await import("./heartbeat-
|
|
527
|
+
const { remediateTaskForDeadRuntime } = await import("./heartbeat-4c022m6a.js");
|
|
528
528
|
for (const session of sessions) {
|
|
529
529
|
try {
|
|
530
530
|
const task = await getTaskById2(session.taskId);
|
|
@@ -746,7 +746,7 @@ async function recordProvisionFailure(runtime, reason, now, countedFailures) {
|
|
|
746
746
|
for (const row of pending) {
|
|
747
747
|
if (!(await checkDependencies2(row.id)).ready)
|
|
748
748
|
continue;
|
|
749
|
-
const failed = await failTask2(row.id, `provisioning failed after ${attempts} attempts: ${error}
|
|
749
|
+
const failed = await failTask2(row.id, `provisioning failed after ${attempts} attempts: ${error}`, { statusKind: "error" });
|
|
750
750
|
if (!failed)
|
|
751
751
|
continue;
|
|
752
752
|
await tx.run("UPDATE agents SET runtime_provision_attempts = 0, runtime_provision_retry_at = NULL WHERE id = ?", [runtime.agentId]);
|