@desplega.ai/agent-swarm 2.13.3 → 2.13.4
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-mr4temec.js +17 -0
- package/dist/{acp-targets-k8xs4tj8.js → acp-targets-zrk9k0n7.js} +10 -10
- package/dist/{actions-pg5fxjer.js → actions-acqqj9jn.js} +236 -26
- package/dist/{agent-fs-provision-vbk3fppw.js → agent-fs-provision-zmaykqnd.js} +4 -4
- package/dist/{amp-adapter-adbhxsz9.js → amp-adapter-a7ts8tmw.js} +3 -3
- package/dist/{app-b267ggx1.js → app-tmwa442h.js} +7 -7
- package/dist/{approval-notifications-evc1a9z5.js → approval-notifications-6psaaaye.js} +8 -8
- package/dist/{assistant-wgz2ab84.js → assistant-564v6emv.js} +24 -24
- package/dist/{boot-args-schema-6tpk28j4.js → boot-args-schema-n099e0f2.js} +1 -1
- package/dist/{boot-reembed-ankp369c.js → boot-reembed-chx66qfk.js} +1 -1
- package/dist/{boot-reembed-r1zyvefv.js → boot-reembed-epvg4fp9.js} +1 -1
- package/dist/{boot-scrub-sweep-cgb6r5bd.js → boot-scrub-sweep-dhkfp0a7.js} +2 -2
- package/dist/{boot-seeds-bjceqg7b.js → boot-seeds-m74fc07r.js} +4 -4
- package/dist/{boxd-hr8rsxzq.js → boxd-451q55ys.js} +1 -1
- package/dist/{claude-adapter-knztdnff.js → claude-adapter-hw63yj3j.js} +9 -9
- package/dist/{claude-managed-adapter-qwejzqkk.js → claude-managed-adapter-z5s7fx6p.js} +3 -3
- package/dist/{claude-managed-setup-0vgz4d1j.js → claude-managed-setup-wee1762m.js} +3 -3
- package/dist/{claude-sdk-session-c3g6dv0g.js → claude-sdk-session-cktyqkpk.js} +11 -11
- package/dist/{cli-7fa6yv98.js → cli-0fgvnb0x.js} +6 -6
- package/dist/{cli-2v4xxnx2.js → cli-0h8skzss.js} +1 -1
- package/dist/{cli-hhb8kbwd.js → cli-0p76my9q.js} +29 -14
- package/dist/{cli-fp65jdp2.js → cli-1kvcsd2f.js} +219 -155
- package/dist/{cli-wtffytm8.js → cli-1vmhnncj.js} +3 -3
- package/dist/{cli-268b3dgn.js → cli-29h5239w.js} +5 -5
- package/dist/{cli-8fj8yfmk.js → cli-2vp0z049.js} +1 -1
- package/dist/{cli-bh53ppqm.js → cli-3bxrrh53.js} +4 -4
- package/dist/{cli-61fzwtjk.js → cli-3tzmh38q.js} +9 -9
- package/dist/{cli-88np9va3.js → cli-3xqad83h.js} +1 -1
- package/dist/{cli-gc715jrc.js → cli-3zrwrnz7.js} +1 -1
- package/dist/{cli-dw43pnzp.js → cli-404am6f3.js} +7 -7
- package/dist/{cli-8pnawt98.js → cli-49aq3cyn.js} +4 -4
- package/dist/{cli-fbmgpt72.js → cli-4fpa0zns.js} +3 -3
- package/dist/{cli-kwm1bek7.js → cli-4pbwg7sn.js} +2 -2
- package/dist/{cli-djwt4mtn.js → cli-4q2c8rxw.js} +9 -9
- package/dist/{cli-3mf04tkh.js → cli-4vynxtrb.js} +1 -1
- package/dist/{cli-80d5g0fa.js → cli-5ashycw3.js} +3 -3
- package/dist/{cli-61p7ty8d.js → cli-5rgm8p39.js} +3 -3
- package/dist/{cli-r6xnchva.js → cli-5rxsb3wq.js} +6 -6
- package/dist/{cli-a21cwm89.js → cli-60dwk8tx.js} +3 -3
- package/dist/{cli-v1v49t36.js → cli-7by7vp6m.js} +2 -2
- package/dist/{cli-vgh5adn9.js → cli-7g3fg4gf.js} +7 -7
- package/dist/{cli-hxj888w3.js → cli-7gbff32z.js} +2 -2
- package/dist/{cli-q8aq48v1.js → cli-8b4rpnwj.js} +1 -1
- package/dist/{cli-xc8m5cjn.js → cli-8cas2xvp.js} +3 -3
- package/dist/{cli-1606qw3n.js → cli-904wk98s.js} +797 -369
- package/dist/{cli-h3drhntp.js → cli-93n305hm.js} +2 -2
- package/dist/{cli-1wew39p0.js → cli-944w9wb4.js} +20 -16
- package/dist/{cli-je587f74.js → cli-94gx6ze9.js} +1 -1
- package/dist/{cli-hpxcfvdm.js → cli-9ah37a8a.js} +6 -6
- package/dist/{cli-rfejbpe1.js → cli-akm6y2a8.js} +1 -1
- package/dist/{cli-f8rcvf2x.js → cli-azj9t1f9.js} +37 -2
- package/dist/{cli-ef590376.js → cli-bv4vvnmg.js} +3 -3
- package/dist/{cli-ppf9ap9n.js → cli-bzcwwebm.js} +1 -1
- package/dist/{cli-sy2ge2ye.js → cli-cq4am6vg.js} +2 -2
- package/dist/{cli-gxqwm3k3.js → cli-d5pc8ep0.js} +102 -8
- package/dist/{cli-hd2a204w.js → cli-ea7nz50q.js} +12 -12
- package/dist/{cli-zkbz8m2q.js → cli-fkpnx3vf.js} +1 -1
- package/dist/{cli-ya1cj689.js → cli-fw67mnyc.js} +1 -1
- package/dist/{cli-5basv0e7.js → cli-gkv0r2hq.js} +1 -1
- package/dist/{cli-ka4tqjzd.js → cli-gse7bp3z.js} +12 -10
- package/dist/{cli-v8rpjrnx.js → cli-gtj12v95.js} +1 -1
- package/dist/{cli-g4dhd3pr.js → cli-hdhpdrka.js} +6 -23
- package/dist/{cli-dq30fq3q.js → cli-hhtbandk.js} +2 -2
- package/dist/cli-hyqksecw.js +1907 -0
- package/dist/{cli-t25rq8mg.js → cli-ja450998.js} +40 -11
- package/dist/{cli-43dsqhcp.js → cli-jbrc98qb.js} +4 -4
- package/dist/{cli-8sayvj48.js → cli-jyhbvdga.js} +3 -3
- package/dist/{cli-55fqpd9q.js → cli-jzerrzgc.js} +8 -8
- package/dist/{cli-hv3820ez.js → cli-k0nebh10.js} +1 -1
- package/dist/{cli-aytna2fm.js → cli-ka48vpev.js} +5 -5
- package/dist/{cli-d2epqm0y.js → cli-kezzteka.js} +1 -1
- package/dist/{cli-grk77aen.js → cli-kj84fqxz.js} +2 -2
- package/dist/{cli-h0ewec3d.js → cli-kr0jpw9c.js} +1 -1
- package/dist/{cli-wsnradtk.js → cli-m1sns1da.js} +2 -2
- package/dist/{cli-7kv5d674.js → cli-n1kjs58m.js} +4 -4
- package/dist/{cli-syqcny89.js → cli-nc4pbwmp.js} +9 -9
- package/dist/{cli-9gmkw6xn.js → cli-p3knvk62.js} +48 -42
- package/dist/{cli-50whymxq.js → cli-p436yrzp.js} +2 -2
- package/dist/{cli-0j4qmc80.js → cli-phdzn699.js} +7 -7
- package/dist/{cli-1gnf5c7x.js → cli-pz1dp12c.js} +1 -1
- package/dist/{cli-nbawx3s0.js → cli-pz1nq5xm.js} +6 -6
- package/dist/{cli-4dyhzhpx.js → cli-qzz6tz8s.js} +1 -1
- package/dist/{cli-ea367bdn.js → cli-rmgvwcmy.js} +22 -22
- package/dist/{cli-mgr3gatr.js → cli-rv3y60bt.js} +4 -4
- package/dist/cli-s33bzmk0.js +27 -0
- package/dist/{cli-at67kvnp.js → cli-srktrbby.js} +1 -1
- package/dist/{cli-pzsedyb0.js → cli-t0jmkcah.js} +14 -14
- package/dist/{cli-eetzmsy5.js → cli-t9pzz2eq.js} +2 -2
- package/dist/{cli-w24741sm.js → cli-tr19nyn9.js} +4 -4
- package/dist/{cli-e4gx499y.js → cli-ts5yv7dn.js} +163 -86
- package/dist/{cli-czeh7x13.js → cli-tsc3pdfd.js} +4 -4
- package/dist/{cli-y0q92v4r.js → cli-tzw1jr2t.js} +2 -2
- package/dist/{cli-tjf1bh1v.js → cli-x2cem5vy.js} +6 -4
- package/dist/{cli-vx9acp12.js → cli-ybte1fqc.js} +1 -1
- package/dist/{cli-gkjw33x5.js → cli-ysv0k1we.js} +2 -2
- package/dist/{cli-vdfngx2g.js → cli-ywy8yz6t.js} +2 -2
- package/dist/{cli-cpkxh68d.js → cli-z1vam71h.js} +2 -2
- package/dist/{cli-8m6gqnf1.js → cli-zexwhj3f.js} +3 -3
- package/dist/{cli-snwz16eg.js → cli-zhwjdhjr.js} +2 -2
- package/dist/{cli-y754psdt.js → cli-zjdhrzm0.js} +4 -4
- package/dist/cli.js +19 -19
- package/dist/{codex-adapter-493vb8cv.js → codex-adapter-2fs2c0n6.js} +8 -8
- package/dist/{codex-hook-ej8hn6z5.js → codex-hook-jxjv6dy5.js} +1 -1
- package/dist/{codex-login-ven5cz5j.js → codex-login-ktfg1cxk.js} +1 -1
- package/dist/{codex-session-runner-ps5m4z1g.js → codex-session-runner-r55tmx4c.js} +9 -9
- package/dist/{commands-shktk0b8.js → commands-0mxdy9x8.js} +3 -3
- package/dist/{controller-wn3vd217.js → controller-g3vkfhr4.js} +4 -4
- package/dist/{controllers-connect-yft057ws.js → controllers-connect-4wdmncqt.js} +25 -25
- package/dist/core-gsvj5f3z.js +42 -0
- package/dist/{cursor-adapter-8fpm4dng.js → cursor-adapter-t9qb96q2.js} +2 -2
- package/dist/{db-0ezhdhz5.js → db-487vvyv9.js} +3 -3
- package/dist/{db-84pz2w5c.js → db-76p7w3gr.js} +2 -2
- package/dist/{devin-adapter-fs90ab4v.js → devin-adapter-3bp6rape.js} +1 -1
- package/dist/{dispatcher-h2rz69f6.js → dispatcher-64rp6w67.js} +22 -22
- package/dist/{docker-1h33jvh9.js → docker-a59g3ebm.js} +2 -2
- package/dist/{dsh-adapter-g9yqv09y.js → dsh-adapter-8abzqk5c.js} +2 -2
- package/dist/{e2b-y7e5kmzf.js → e2b-3ykbe805.js} +2 -2
- package/dist/{e2b-jnk0yeva.js → e2b-dc8f6ctq.js} +2 -2
- package/dist/{easter-egg-3d-m41ad78v.js → easter-egg-3d-jrrwyf55.js} +1 -1
- package/dist/{embedding-space-yam9zwzj.js → embedding-space-001hhhpk.js} +6 -6
- package/dist/{embeddings-g2be0y8q.js → embeddings-esj19cnw.js} +1 -1
- package/dist/{event-bus-08t2b4y2.js → event-bus-7gbsr0g4.js} +1 -1
- package/dist/{execute-hhdejgzf.js → execute-301hkxqg.js} +1 -1
- package/dist/{external-channel-kjt2yzfj.js → external-channel-w10e2j05.js} +2 -2
- package/dist/fx-adapter-4sjrbdne.js +20 -0
- package/dist/grok-adapter-3a0ezfee.js +20 -0
- package/dist/handlers-ef3k11hb.js +41 -0
- package/dist/{heartbeat-2e5jdexj.js → heartbeat-tbrj7vhq.js} +25 -25
- package/dist/{hook-acg9saz7.js → hook-3am1sq68.js} +6 -6
- package/dist/{hook-34s8cmgn.js → hook-tx917rqw.js} +8 -8
- package/dist/{http-ra2zr2f8.js → http-3rmemtqy.js} +335 -1829
- package/dist/{index-mbpxhc4w.js → index-126v2d0t.js} +1 -4
- package/dist/{index-2z1z7qx6.js → index-2jw11t8s.js} +26 -26
- package/dist/{index-9q42cr54.js → index-aetfyx6p.js} +1 -1
- package/dist/index-e6bq0exk.js +42 -0
- package/dist/{index-9r4j0a60.js → index-gfnq66t1.js} +223 -25
- package/dist/index-hf2k1vge.js +39 -0
- package/dist/{index-93bw5wds.js → index-s7xtvc0f.js} +1 -1
- package/dist/index-taxmejj3.js +44 -0
- package/dist/{k8s-8326q0rq.js → k8s-36gfn847.js} +2 -2
- package/dist/{keepalive-vjnnqbkm.js → keepalive-9px3t7qj.js} +5 -5
- package/dist/lead-5vt6f174.js +83 -0
- package/dist/{maintenance-px2g599e.js → maintenance-vwqjwst6.js} +1 -1
- package/dist/{oauth-refresh-sweep-nkykf09m.js → oauth-refresh-sweep-yqry3wn4.js} +4 -4
- package/dist/{object-webhooks-gt9xnq21.js → object-webhooks-8s1wtths.js} +7 -7
- package/dist/{onboard-1f134p65.js → onboard-hb8czx0p.js} +7 -7
- package/dist/{opencode-adapter-94976yab.js → opencode-adapter-djd6m6dk.js} +8 -8
- package/dist/{otel-impl-5d4p2fqs.js → otel-impl-2ymwyczz.js} +2 -2
- package/dist/{pending-vkk0vx6n.js → pending-nxavtvx7.js} +23 -23
- package/dist/{pi-mono-adapter-cyzdv5er.js → pi-mono-adapter-d2cpmcy4.js} +12 -12
- package/dist/{pricing-refresh-jtmjwss9.js → pricing-refresh-1yz8jkqv.js} +2 -2
- package/dist/{rbac-roles-1fvmdyeb.js → rbac-roles-7s6m31xw.js} +6 -4
- package/dist/{rbac-roles-yd1fgpsn.js → rbac-roles-dbpx0x9v.js} +3 -3
- package/dist/{render-v2-kb5s3vx4.js → render-v2-7y20rjrn.js} +7 -7
- package/dist/{resume-z1vs44n5.js → resume-wz546x47.js} +10 -10
- package/dist/{runtime-gk6ct7r7.js → runtime-cb5bd9tz.js} +1 -1
- package/dist/{session-access-nz6nre4d.js → session-access-4vcft8kq.js} +5 -5
- package/dist/{session-source-backfill-wb60zjkd.js → session-source-backfill-57b50tpw.js} +3 -3
- package/dist/{setup-2x8g8j4s.js → setup-e1tevjyj.js} +1 -1
- package/dist/thread-buffer-686pa1p1.js +42 -0
- package/dist/{tree-visibility-ts3z30kw.js → tree-visibility-07wf1nct.js} +2 -2
- package/dist/{user-merge-jobs-zetg26e0.js → user-merge-jobs-n20qpv6s.js} +3 -3
- package/dist/{virtual-modules-674fka8x.js → virtual-modules-6fxmn1yv.js} +3 -3
- package/dist/{work-objects-w52yyjxm.js → work-objects-eg7y48pe.js} +25 -25
- package/dist/worker-4vp616ms.js +83 -0
- package/dist/{worker-follow-up-dyfxyjbj.js → worker-follow-up-jnvnnf2b.js} +22 -22
- package/dist/{x-asbrnafg.js → x-d27jj7z7.js} +2 -2
- package/openapi.json +475 -28
- package/package.json +2 -2
- package/src/be/db/approvals.ts +2 -0
- package/src/be/db/runtime.ts +5 -0
- package/src/be/db/script-run-sources.ts +17 -0
- package/src/be/db-retention.ts +1 -1
- package/src/be/db.ts +71 -62
- package/src/be/design-system.ts +63 -0
- package/src/be/migrations/342_script_run_sources.sql +20 -0
- package/src/be/migrations/runner.ts +8 -0
- package/src/be/migrations/script-run-sources.ts +51 -0
- package/src/be/rbac-roles.ts +2 -0
- package/src/be/scripts/typecheck.ts +4 -2
- package/src/be/seed-scripts/catalog/design-system-seed.ts +158 -0
- package/src/be/seed-scripts/index.ts +9 -0
- package/src/be/swarm-config-guard.ts +21 -1
- package/src/commands/onboard/agent-fs-version.ts +1 -1
- package/src/heartbeat/heartbeat.ts +18 -4
- package/src/http/all-routes.ts +1 -0
- package/src/http/approval-chat-answer.ts +99 -0
- package/src/http/approval-requests.ts +280 -225
- package/src/http/design-system.ts +103 -0
- package/src/http/index.ts +10 -6
- package/src/http/pages-public.ts +25 -10
- package/src/http/pages.ts +17 -0
- package/src/http/person-responder.ts +28 -0
- package/src/integrations/chat-sdk/adapters.ts +33 -3
- package/src/integrations/chat-sdk/inbound.ts +6 -18
- package/src/integrations/chat-sdk/mentions.ts +188 -0
- package/src/integrations/chat-sdk/outbound.ts +20 -3
- package/src/integrations/chat-sdk/router.ts +8 -0
- package/src/integrations/chat-sdk/telegram-thread.ts +12 -0
- package/src/jira/adf.ts +35 -9
- package/src/kv-reserved-namespaces.ts +5 -0
- package/src/pages/page-head.ts +11 -1
- package/src/providers/amp-adapter.ts +1 -1
- package/src/providers/dsh-adapter.ts +48 -13
- package/src/rbac/legacy-policy.ts +4 -0
- package/src/rbac/permissions.ts +8 -0
- package/src/scheduler/index.ts +1 -0
- package/src/scheduler/scheduler.test.ts +32 -1
- package/src/scheduler/scheduler.ts +24 -1
- package/src/script-workflows/executor.ts +6 -0
- package/src/script-workflows/supervisor.ts +2 -1
- package/src/scripts-runtime/sdk-allowlist.ts +2 -0
- package/src/scripts-runtime/swarm-sdk.ts +12 -23
- package/src/scripts-runtime/types/stdlib.d.ts +4 -1
- package/src/scripts-runtime/types/swarm-sdk.d.ts +4 -1
- package/src/server.ts +2 -0
- package/src/slack/actions.ts +3 -0
- package/src/slack/approval-actions.ts +148 -0
- package/src/slack/approval-buttons.ts +28 -0
- package/src/tests/chat-sdk-mentions.test.ts +183 -0
- package/src/tests/create-page-tool.test.ts +5 -0
- package/src/tests/dsh-adapter.test.ts +53 -1
- package/src/tests/fixtures/compiled-source-schema-boot.ts +24 -0
- package/src/tests/fixtures/secret-corpus.ts +43 -1
- package/src/tests/heartbeat-stall-thresholds.test.ts +174 -0
- package/src/tests/jira-adf.test.ts +42 -2
- package/src/tests/merge-gate-detect-changes.test.ts +208 -16
- package/src/tests/migration-342-script-run-sources.test.ts +196 -0
- package/src/tests/migration-bunfs-compat.test.ts +129 -9
- package/src/tests/rbac-e2e-helpers.test.ts +10 -4
- package/src/tests/rbac-e2e-helpers.ts +13 -4
- package/src/tests/rbac-roles.test.ts +2 -0
- package/src/tests/runtime-e2b-pools.test.ts +7 -1
- package/src/tests/schedule-target-type.test.ts +4 -1
- package/src/tests/script-connections.test.ts +2 -0
- package/src/tests/script-runs-retention.test.ts +43 -16
- package/src/tests/script-workflows-runtime-e2e.test.ts +56 -22
- package/src/tests/scripts-http.test.ts +9 -3
- package/src/tests/sdk-allowlist.test.ts +26 -13
- package/src/tests/sdk-store-progress-skipped.test.ts +12 -5
- package/src/tests/secret-rules.test.ts +34 -0
- package/src/tests/secret-scrub-gate.test.ts +7 -0
- package/src/tests/secret-scrubber.test.ts +62 -2
- package/src/tests/seed-scripts.test.ts +2 -2
- package/src/tests/system-one-hosts-ui-mirror.test.ts +1 -0
- package/src/tests/vcs-azure-devops.test.ts +10 -0
- package/src/tests/vcs-provider.test.ts +8 -0
- package/src/themes/design-system.ts +163 -0
- package/src/themes/page-theme.ts +28 -19
- package/src/tools/chat-post.ts +7 -3
- package/src/tools/create-page.ts +3 -0
- package/src/tools/design-system.ts +102 -0
- package/src/tools/mcp-servers/mcp-server-get.ts +1 -1
- package/src/tools/mcp-servers/mcp-server-list.ts +1 -1
- package/src/tools/register-chat-channel.ts +11 -2
- package/src/tools/skills/skill-get-file.ts +1 -1
- package/src/tools/skills/skill-get.ts +1 -1
- package/src/tools/skills/skill-list.ts +1 -1
- package/src/tools/skills/skill-search.ts +1 -1
- package/src/tools/utils.ts +49 -4
- package/src/tools/workflows/get-workflow-run.ts +1 -1
- package/src/tools/workflows/get-workflow.ts +1 -1
- package/src/tools/workflows/list-workflow-runs.ts +1 -1
- package/src/tools/workflows/list-workflows.ts +1 -1
- package/src/types.ts +65 -0
- package/src/utils/secret-rules.generated.ts +149 -149
- package/src/utils/secret-scrubber.ts +111 -5
- package/src/vcs/azure-devops.ts +22 -1
- package/src/vcs/index.ts +3 -1
- package/src/workflows/approval-inline.ts +122 -0
- package/src/workflows/approval-notifications.ts +7 -2
- package/src/workflows/engine.ts +6 -5
- package/src/workflows/executors/agent-task.ts +14 -0
- package/src/workflows/executors/system-one-providers.ts +23 -0
- package/templates/skills/pages/content.md +34 -8
- package/templates/skills/swarm-docs/content.md +5 -0
- package/templates/skills/workflow-iterate/content.md +1 -1
- package/dist/acp-adapter-t2q6nsqv.js +0 -17
- package/dist/cli-kh973792.js +0 -98
- package/dist/core-nheayfgm.js +0 -42
- package/dist/fx-adapter-8g7xsp8q.js +0 -20
- package/dist/grok-adapter-ztk2zkz1.js +0 -20
- package/dist/handlers-9ywssz71.js +0 -41
- package/dist/index-6mgbdtv1.js +0 -44
- package/dist/index-hqdsn2t2.js +0 -39
- package/dist/index-st231bqv.js +0 -40
- package/dist/lead-mk0xkth2.js +0 -82
- package/dist/thread-buffer-d50rqpev.js +0 -42
- package/dist/worker-662x1vse.js +0 -82
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isLeadChannelMonitoringEnabled,
|
|
3
|
-
orgIdentityStatus,
|
|
4
3
|
renderMemoriesPrompt,
|
|
5
4
|
isUnknownModelError,
|
|
6
5
|
timedFetch,
|
|
@@ -11,16 +10,16 @@ import {
|
|
|
11
10
|
checkDeepSeekApiKey,
|
|
12
11
|
checkOpenAICompatibleProvider,
|
|
13
12
|
writeSkillsToFilesystem
|
|
14
|
-
} from "./cli-
|
|
13
|
+
} from "./cli-hdhpdrka.js";
|
|
15
14
|
import {
|
|
16
15
|
renderSteeringDelivery
|
|
17
16
|
} from "./cli-h9d3sdnc.js";
|
|
18
17
|
import {
|
|
19
18
|
effectiveReasoningEffort
|
|
20
|
-
} from "./cli-
|
|
19
|
+
} from "./cli-ywy8yz6t.js";
|
|
21
20
|
import {
|
|
22
21
|
validateProviderDependencies
|
|
23
|
-
} from "./cli-
|
|
22
|
+
} from "./cli-zexwhj3f.js";
|
|
24
23
|
import {
|
|
25
24
|
isSkillLoaderCall,
|
|
26
25
|
skillFromToolArgs,
|
|
@@ -34,43 +33,43 @@ import {
|
|
|
34
33
|
CODEX_CREDITS_EXHAUSTED_COOLDOWN_MS,
|
|
35
34
|
resolveCodexCreditsExhaustedCooldownMs,
|
|
36
35
|
parseRateLimitResetTime
|
|
37
|
-
} from "./cli-
|
|
36
|
+
} from "./cli-fkpnx3vf.js";
|
|
38
37
|
import {
|
|
39
38
|
ACP_TARGET_IDS,
|
|
40
39
|
isAcpTarget
|
|
41
|
-
} from "./cli-
|
|
40
|
+
} from "./cli-k0nebh10.js";
|
|
42
41
|
import {
|
|
43
42
|
checkAmpCredentials2,
|
|
44
43
|
liveTestAmpCredentials2
|
|
45
|
-
} from "./cli-
|
|
44
|
+
} from "./cli-pz1nq5xm.js";
|
|
46
45
|
import {
|
|
47
46
|
checkClaudeCredentials2
|
|
48
|
-
} from "./cli-
|
|
47
|
+
} from "./cli-4q2c8rxw.js";
|
|
49
48
|
import {
|
|
50
49
|
checkClaudeManagedCredentials2
|
|
51
|
-
} from "./cli-
|
|
50
|
+
} from "./cli-5rxsb3wq.js";
|
|
52
51
|
import {
|
|
53
52
|
codexUserHome,
|
|
54
53
|
checkCodexCredentials2
|
|
55
|
-
} from "./cli-
|
|
54
|
+
} from "./cli-t0jmkcah.js";
|
|
56
55
|
import {
|
|
57
56
|
checkCursorCredentials2
|
|
58
|
-
} from "./cli-
|
|
57
|
+
} from "./cli-zjdhrzm0.js";
|
|
59
58
|
import {
|
|
60
59
|
checkDevinCredentials2
|
|
61
|
-
} from "./cli-
|
|
60
|
+
} from "./cli-94gx6ze9.js";
|
|
62
61
|
import {
|
|
63
62
|
checkDshCredentials2
|
|
64
|
-
} from "./cli-
|
|
63
|
+
} from "./cli-ja450998.js";
|
|
65
64
|
import {
|
|
66
65
|
checkOpencodeCredentials2
|
|
67
|
-
} from "./cli-
|
|
66
|
+
} from "./cli-nc4pbwmp.js";
|
|
68
67
|
import {
|
|
69
68
|
checkFxCredentials2
|
|
70
|
-
} from "./cli-
|
|
69
|
+
} from "./cli-3bxrrh53.js";
|
|
71
70
|
import {
|
|
72
71
|
checkGrokCredentials2
|
|
73
|
-
} from "./cli-
|
|
72
|
+
} from "./cli-5rgm8p39.js";
|
|
74
73
|
import {
|
|
75
74
|
CODEX_OAUTH_POOL_SLOTS_ENV,
|
|
76
75
|
isCodexOAuthConfigKey,
|
|
@@ -80,7 +79,11 @@ import {
|
|
|
80
79
|
import {
|
|
81
80
|
getContextWindowSize,
|
|
82
81
|
init_context_window
|
|
83
|
-
} from "./cli-
|
|
82
|
+
} from "./cli-z1vam71h.js";
|
|
83
|
+
import {
|
|
84
|
+
orgIdentityStatus,
|
|
85
|
+
init_org_identity
|
|
86
|
+
} from "./cli-s33bzmk0.js";
|
|
84
87
|
import {
|
|
85
88
|
isAzureDevOpsUrl,
|
|
86
89
|
canonicalAzureDevOpsRepoUrl,
|
|
@@ -88,7 +91,7 @@ import {
|
|
|
88
91
|
init_azure_devops,
|
|
89
92
|
resolveScriptsOnlyMode,
|
|
90
93
|
init_scripts_only_mode
|
|
91
|
-
} from "./cli-
|
|
94
|
+
} from "./cli-904wk98s.js";
|
|
92
95
|
import {
|
|
93
96
|
terminateRegisteredProcessGroups,
|
|
94
97
|
init_process_group
|
|
@@ -96,14 +99,14 @@ import {
|
|
|
96
99
|
import {
|
|
97
100
|
validateJsonSchema,
|
|
98
101
|
init_json_schema_validator
|
|
99
|
-
} from "./cli-
|
|
102
|
+
} from "./cli-0p76my9q.js";
|
|
100
103
|
import {
|
|
101
104
|
authJsonToCredentialSelection,
|
|
102
105
|
credentialsToAuthJson,
|
|
103
106
|
init_auth_json,
|
|
104
107
|
loadAllCodexOAuthSlots,
|
|
105
108
|
init_storage
|
|
106
|
-
} from "./cli-
|
|
109
|
+
} from "./cli-2vp0z049.js";
|
|
107
110
|
import {
|
|
108
111
|
getApiKey,
|
|
109
112
|
init_api_key
|
|
@@ -119,7 +122,7 @@ import {
|
|
|
119
122
|
initialize,
|
|
120
123
|
ensure,
|
|
121
124
|
init_business_use
|
|
122
|
-
} from "./cli-
|
|
125
|
+
} from "./cli-rmgvwcmy.js";
|
|
123
126
|
import {
|
|
124
127
|
sourceOfKey,
|
|
125
128
|
init_source_key,
|
|
@@ -141,7 +144,7 @@ import {
|
|
|
141
144
|
init_vcs_repo_match,
|
|
142
145
|
resumedTaskModelSelection,
|
|
143
146
|
init_model_pin
|
|
144
|
-
} from "./cli-
|
|
147
|
+
} from "./cli-ts5yv7dn.js";
|
|
145
148
|
import {
|
|
146
149
|
isCodexAuthFailureReason,
|
|
147
150
|
init_codex_auth_failure
|
|
@@ -178,7 +181,7 @@ import {
|
|
|
178
181
|
resolveClaudeMdPath,
|
|
179
182
|
syncProfileFilesToServer,
|
|
180
183
|
init_profile_sync
|
|
181
|
-
} from "./cli-
|
|
184
|
+
} from "./cli-ka48vpev.js";
|
|
182
185
|
import {
|
|
183
186
|
isSteeringEnabled2,
|
|
184
187
|
init_steering_enabled
|
|
@@ -201,7 +204,7 @@ import {
|
|
|
201
204
|
CLAUDE_CREDENTIALS_HINT,
|
|
202
205
|
resolveCredentialPools,
|
|
203
206
|
init_credentials2
|
|
204
|
-
} from "./cli-
|
|
207
|
+
} from "./cli-gkv0r2hq.js";
|
|
205
208
|
import {
|
|
206
209
|
interpolate,
|
|
207
210
|
init_template2,
|
|
@@ -218,12 +221,12 @@ import {
|
|
|
218
221
|
ProviderNameSchema,
|
|
219
222
|
WorkerNudgeSchema,
|
|
220
223
|
init_types5
|
|
221
|
-
} from "./cli-
|
|
224
|
+
} from "./cli-azj9t1f9.js";
|
|
222
225
|
import {
|
|
223
226
|
runtimeHarnessSections,
|
|
224
227
|
refreshRuntimeModelCatalog,
|
|
225
228
|
init_runtime_model_catalog
|
|
226
|
-
} from "./cli-
|
|
229
|
+
} from "./cli-8b4rpnwj.js";
|
|
227
230
|
import {
|
|
228
231
|
getMcpBaseUrl,
|
|
229
232
|
init_constants3
|
|
@@ -246,7 +249,7 @@ import {
|
|
|
246
249
|
registerEnvSecrets,
|
|
247
250
|
registerSensitiveKeyName,
|
|
248
251
|
init_secret_scrubber
|
|
249
|
-
} from "./cli-
|
|
252
|
+
} from "./cli-1kvcsd2f.js";
|
|
250
253
|
|
|
251
254
|
// src/commands/runner.ts
|
|
252
255
|
init_src2();
|
|
@@ -290,51 +293,51 @@ init_storage();
|
|
|
290
293
|
async function createProviderAdapter(provider) {
|
|
291
294
|
switch (provider) {
|
|
292
295
|
case "claude": {
|
|
293
|
-
const { ClaudeAdapter } = await import("./claude-adapter-
|
|
296
|
+
const { ClaudeAdapter } = await import("./claude-adapter-hw63yj3j.js");
|
|
294
297
|
return new ClaudeAdapter;
|
|
295
298
|
}
|
|
296
299
|
case "pi": {
|
|
297
|
-
const { PiMonoAdapter } = await import("./pi-mono-adapter-
|
|
300
|
+
const { PiMonoAdapter } = await import("./pi-mono-adapter-d2cpmcy4.js");
|
|
298
301
|
return new PiMonoAdapter;
|
|
299
302
|
}
|
|
300
303
|
case "codex": {
|
|
301
|
-
const { CodexAdapter } = await import("./codex-adapter-
|
|
304
|
+
const { CodexAdapter } = await import("./codex-adapter-2fs2c0n6.js");
|
|
302
305
|
return new CodexAdapter;
|
|
303
306
|
}
|
|
304
307
|
case "claude-managed": {
|
|
305
|
-
const { ClaudeManagedAdapter } = await import("./claude-managed-adapter-
|
|
308
|
+
const { ClaudeManagedAdapter } = await import("./claude-managed-adapter-z5s7fx6p.js");
|
|
306
309
|
return new ClaudeManagedAdapter;
|
|
307
310
|
}
|
|
308
311
|
case "devin": {
|
|
309
|
-
const { DevinAdapter } = await import("./devin-adapter-
|
|
312
|
+
const { DevinAdapter } = await import("./devin-adapter-3bp6rape.js");
|
|
310
313
|
return new DevinAdapter;
|
|
311
314
|
}
|
|
312
315
|
case "opencode": {
|
|
313
|
-
const { OpencodeAdapter } = await import("./opencode-adapter-
|
|
316
|
+
const { OpencodeAdapter } = await import("./opencode-adapter-djd6m6dk.js");
|
|
314
317
|
return new OpencodeAdapter;
|
|
315
318
|
}
|
|
316
319
|
case "dsh": {
|
|
317
|
-
const { DshAdapter } = await import("./dsh-adapter-
|
|
320
|
+
const { DshAdapter } = await import("./dsh-adapter-8abzqk5c.js");
|
|
318
321
|
return new DshAdapter;
|
|
319
322
|
}
|
|
320
323
|
case "amp": {
|
|
321
|
-
const { AmpAdapter } = await import("./amp-adapter-
|
|
324
|
+
const { AmpAdapter } = await import("./amp-adapter-a7ts8tmw.js");
|
|
322
325
|
return new AmpAdapter;
|
|
323
326
|
}
|
|
324
327
|
case "cursor": {
|
|
325
|
-
const { CursorAdapter } = await import("./cursor-adapter-
|
|
328
|
+
const { CursorAdapter } = await import("./cursor-adapter-t9qb96q2.js");
|
|
326
329
|
return new CursorAdapter;
|
|
327
330
|
}
|
|
328
331
|
case "grok": {
|
|
329
|
-
const { GrokAdapter } = await import("./grok-adapter-
|
|
332
|
+
const { GrokAdapter } = await import("./grok-adapter-3a0ezfee.js");
|
|
330
333
|
return new GrokAdapter;
|
|
331
334
|
}
|
|
332
335
|
case "fx": {
|
|
333
|
-
const { FxAdapter } = await import("./fx-adapter-
|
|
336
|
+
const { FxAdapter } = await import("./fx-adapter-4sjrbdne.js");
|
|
334
337
|
return new FxAdapter;
|
|
335
338
|
}
|
|
336
339
|
case "acp": {
|
|
337
|
-
const { ACPAdapter } = await import("./acp-adapter-
|
|
340
|
+
const { ACPAdapter } = await import("./acp-adapter-mr4temec.js");
|
|
338
341
|
return new ACPAdapter;
|
|
339
342
|
}
|
|
340
343
|
default:
|
|
@@ -344,6 +347,7 @@ async function createProviderAdapter(provider) {
|
|
|
344
347
|
|
|
345
348
|
// src/ranking/usage.ts
|
|
346
349
|
init_env_flag();
|
|
350
|
+
init_org_identity();
|
|
347
351
|
var tokens = (value) => typeof value === "number" && Number.isFinite(value) && value > 0 ? Math.floor(value) : 0;
|
|
348
352
|
function rankingUsageProps(cost, session, env = process.env) {
|
|
349
353
|
if (!isEnvFlagEnabled("ANONYMIZED_TELEMETRY", true, env))
|
|
@@ -1077,7 +1081,9 @@ function detectVcsProvider(url) {
|
|
|
1077
1081
|
}
|
|
1078
1082
|
if (hostname?.startsWith("gitlab."))
|
|
1079
1083
|
return "gitlab";
|
|
1080
|
-
if (
|
|
1084
|
+
if (hostname === "github.com" || hostname === "www.github.com")
|
|
1085
|
+
return "github";
|
|
1086
|
+
if (/^[\w.-]+\/[\w.-]+$/.test(url))
|
|
1081
1087
|
return "github";
|
|
1082
1088
|
return null;
|
|
1083
1089
|
}
|
|
@@ -1383,7 +1389,7 @@ var CREDENTIAL_PROVIDER_CHECKERS = {
|
|
|
1383
1389
|
devin: (env) => checkDevinCredentials2(env),
|
|
1384
1390
|
opencode: (env, opts) => checkOpencodeCredentials2(env, opts),
|
|
1385
1391
|
pi: async (env, opts) => {
|
|
1386
|
-
const { checkPiMonoCredentials, listPiOpencodeGoModelIds } = await import("./pi-mono-adapter-
|
|
1392
|
+
const { checkPiMonoCredentials, listPiOpencodeGoModelIds } = await import("./pi-mono-adapter-d2cpmcy4.js");
|
|
1387
1393
|
return {
|
|
1388
1394
|
...await checkPiMonoCredentials(env, opts),
|
|
1389
1395
|
opencodeGoModels: listPiOpencodeGoModelIds()
|
|
@@ -1662,7 +1668,7 @@ async function validateProviderCredentials(provider, env = process.env, presence
|
|
|
1662
1668
|
latency_ms: Date.now() - startedAt
|
|
1663
1669
|
};
|
|
1664
1670
|
}
|
|
1665
|
-
const { liveTestCursorKey } = await import("./cursor-adapter-
|
|
1671
|
+
const { liveTestCursorKey } = await import("./cursor-adapter-t9qb96q2.js");
|
|
1666
1672
|
return checkEachKey("CURSOR_API_KEY", apiKey, async (member) => {
|
|
1667
1673
|
const start = Date.now();
|
|
1668
1674
|
const result = await liveTestCursorKey(member);
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
RuntimeProviderKindSchema,
|
|
3
3
|
RuntimePoolCacheSchema,
|
|
4
4
|
init_types5
|
|
5
|
-
} from "./cli-
|
|
5
|
+
} from "./cli-azj9t1f9.js";
|
|
6
6
|
import {
|
|
7
7
|
init_zod
|
|
8
8
|
} from "./cli-96234j5w.js";
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
import {
|
|
23
23
|
scrubSecrets,
|
|
24
24
|
init_secret_scrubber
|
|
25
|
-
} from "./cli-
|
|
25
|
+
} from "./cli-1kvcsd2f.js";
|
|
26
26
|
|
|
27
27
|
// src/runtime-providers/controller.ts
|
|
28
28
|
init_secret_scrubber();
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
deleteKv2,
|
|
20
20
|
listKv2,
|
|
21
21
|
init_db4
|
|
22
|
-
} from "./cli-
|
|
22
|
+
} from "./cli-ts5yv7dn.js";
|
|
23
23
|
import {
|
|
24
24
|
ackSlackMessage,
|
|
25
25
|
skipSlackMessageReaction,
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
init_watcher,
|
|
37
37
|
getSlackApp2,
|
|
38
38
|
init_app4
|
|
39
|
-
} from "./cli-
|
|
39
|
+
} from "./cli-rmgvwcmy.js";
|
|
40
40
|
import {
|
|
41
41
|
applyPreTaskCreate,
|
|
42
42
|
init_apply_task_create,
|
|
@@ -55,21 +55,21 @@ import {
|
|
|
55
55
|
init_message_text,
|
|
56
56
|
createAdditiveBuffer,
|
|
57
57
|
init_additive_buffer
|
|
58
|
-
} from "./cli-
|
|
58
|
+
} from "./cli-904wk98s.js";
|
|
59
59
|
import {
|
|
60
60
|
resolveSlackParticipant,
|
|
61
61
|
resolveSlackUserId,
|
|
62
62
|
rewriteSlackMentions,
|
|
63
63
|
init_enrich
|
|
64
|
-
} from "./cli-
|
|
64
|
+
} from "./cli-1vmhnncj.js";
|
|
65
65
|
import {
|
|
66
66
|
isSlackThreadLeft,
|
|
67
67
|
init_left_threads
|
|
68
|
-
} from "./cli-
|
|
68
|
+
} from "./cli-gtj12v95.js";
|
|
69
69
|
import {
|
|
70
70
|
findUserByExternalId,
|
|
71
71
|
init_users
|
|
72
|
-
} from "./cli-
|
|
72
|
+
} from "./cli-kj84fqxz.js";
|
|
73
73
|
import {
|
|
74
74
|
isSteeringEnabled2,
|
|
75
75
|
init_steering_enabled
|
|
@@ -81,7 +81,7 @@ import {
|
|
|
81
81
|
import {
|
|
82
82
|
scrubSecrets,
|
|
83
83
|
init_secret_scrubber
|
|
84
|
-
} from "./cli-
|
|
84
|
+
} from "./cli-1kvcsd2f.js";
|
|
85
85
|
import {
|
|
86
86
|
__esm,
|
|
87
87
|
__using,
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
contextBoundNoteThreshold,
|
|
3
3
|
createContextBoundNote
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-3xqad83h.js";
|
|
5
5
|
import {
|
|
6
6
|
applyReasoningEffort
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-ywy8yz6t.js";
|
|
8
8
|
import {
|
|
9
9
|
CONTEXT_FORMULA,
|
|
10
10
|
computeContextUsedUnified,
|
|
11
11
|
clampContextPercent,
|
|
12
12
|
init_context_window
|
|
13
|
-
} from "./cli-
|
|
13
|
+
} from "./cli-z1vam71h.js";
|
|
14
14
|
import {
|
|
15
15
|
resolveSlashSkillPrompt
|
|
16
16
|
} from "./cli-5j88qqa8.js";
|
|
@@ -31,12 +31,12 @@ import {
|
|
|
31
31
|
ampBillsCacheWrites,
|
|
32
32
|
resolveAmpModel,
|
|
33
33
|
init_amp_models
|
|
34
|
-
} from "./cli-
|
|
34
|
+
} from "./cli-akm6y2a8.js";
|
|
35
35
|
import {
|
|
36
36
|
scrubSecrets,
|
|
37
37
|
registerVolatileSecret,
|
|
38
38
|
init_secret_scrubber
|
|
39
|
-
} from "./cli-
|
|
39
|
+
} from "./cli-1kvcsd2f.js";
|
|
40
40
|
|
|
41
41
|
// src/providers/amp-adapter.ts
|
|
42
42
|
import { existsSync, readFileSync, renameSync, rmSync, writeFileSync } from "node:fs";
|
|
@@ -48,7 +48,7 @@ init_context_window();
|
|
|
48
48
|
init_multi_runtime2();
|
|
49
49
|
init_process_group();
|
|
50
50
|
init_secret_scrubber();
|
|
51
|
-
var AMP_PACKAGE = "@ampcode/cli@0.0.
|
|
51
|
+
var AMP_PACKAGE = "@ampcode/cli@0.0.1794838312-g371aa5";
|
|
52
52
|
var AMP_MCP_SERVER_NAME = "agent-swarm";
|
|
53
53
|
var AMP_PLUGIN_MODE_KEY = "agent-swarm";
|
|
54
54
|
var AMP_LIVE_TEST_TIMEOUT_MS = 5000;
|
|
@@ -64,12 +64,12 @@ import {
|
|
|
64
64
|
claimKv2,
|
|
65
65
|
deleteKv2,
|
|
66
66
|
init_db4
|
|
67
|
-
} from "./cli-
|
|
67
|
+
} from "./cli-ts5yv7dn.js";
|
|
68
68
|
import {
|
|
69
69
|
getChannelExternality2,
|
|
70
70
|
getChannelBlockReason2,
|
|
71
71
|
init_external_channel
|
|
72
|
-
} from "./cli-
|
|
72
|
+
} from "./cli-7gbff32z.js";
|
|
73
73
|
import {
|
|
74
74
|
isSlackTaskTreeEnabled2,
|
|
75
75
|
invalidateSlackTreeOperations2,
|
|
@@ -80,7 +80,7 @@ import {
|
|
|
80
80
|
assertSlackTreeCurrent2,
|
|
81
81
|
canPresentSlackTree2,
|
|
82
82
|
init_tree_visibility
|
|
83
|
-
} from "./cli-
|
|
83
|
+
} from "./cli-qzz6tz8s.js";
|
|
84
84
|
import {
|
|
85
85
|
require_dist6,
|
|
86
86
|
require_is_electron,
|
|
@@ -96,7 +96,7 @@ import {
|
|
|
96
96
|
import {
|
|
97
97
|
workflowEventBus2,
|
|
98
98
|
init_event_bus
|
|
99
|
-
} from "./cli-
|
|
99
|
+
} from "./cli-ybte1fqc.js";
|
|
100
100
|
import {
|
|
101
101
|
require_jsonwebtoken,
|
|
102
102
|
require_dist9,
|
|
@@ -110,7 +110,7 @@ import {
|
|
|
110
110
|
import {
|
|
111
111
|
getSessionRoot,
|
|
112
112
|
init_session_shares
|
|
113
|
-
} from "./cli-
|
|
113
|
+
} from "./cli-pz1dp12c.js";
|
|
114
114
|
import {
|
|
115
115
|
require_p_retry
|
|
116
116
|
} from "./cli-952zgdwp.js";
|
|
@@ -118,7 +118,7 @@ import {
|
|
|
118
118
|
findUserById,
|
|
119
119
|
getUserIdentities,
|
|
120
120
|
init_users
|
|
121
|
-
} from "./cli-
|
|
121
|
+
} from "./cli-kj84fqxz.js";
|
|
122
122
|
import {
|
|
123
123
|
getGitHubLinkConfig,
|
|
124
124
|
init_github_host
|
|
@@ -126,15 +126,15 @@ import {
|
|
|
126
126
|
import {
|
|
127
127
|
taskAttachmentDisplayUrl,
|
|
128
128
|
init_task_attachment_links
|
|
129
|
-
} from "./cli-
|
|
129
|
+
} from "./cli-ka48vpev.js";
|
|
130
130
|
import {
|
|
131
131
|
getSlackConfiguration,
|
|
132
|
-
|
|
133
|
-
} from "./cli-
|
|
132
|
+
init_config5
|
|
133
|
+
} from "./cli-t9pzz2eq.js";
|
|
134
134
|
import {
|
|
135
135
|
isTerminalTaskStatus,
|
|
136
136
|
init_types5
|
|
137
|
-
} from "./cli-
|
|
137
|
+
} from "./cli-azj9t1f9.js";
|
|
138
138
|
import {
|
|
139
139
|
init_zod
|
|
140
140
|
} from "./cli-96234j5w.js";
|
|
@@ -171,7 +171,7 @@ import {
|
|
|
171
171
|
scrubSecrets,
|
|
172
172
|
scrubObject,
|
|
173
173
|
init_secret_scrubber
|
|
174
|
-
} from "./cli-
|
|
174
|
+
} from "./cli-1kvcsd2f.js";
|
|
175
175
|
import {
|
|
176
176
|
__toESM,
|
|
177
177
|
__commonJS,
|
|
@@ -11986,7 +11986,7 @@ var init_inbound_dispatch = __esm(() => {
|
|
|
11986
11986
|
init_crypto();
|
|
11987
11987
|
init_slack_inbound();
|
|
11988
11988
|
init_secret_scrubber();
|
|
11989
|
-
|
|
11989
|
+
init_config5();
|
|
11990
11990
|
init_workspace_guard();
|
|
11991
11991
|
import_bolt3 = __toESM(require_dist5(), 1);
|
|
11992
11992
|
deliveryStorage = new AsyncLocalStorage;
|
|
@@ -12411,7 +12411,7 @@ async function initOtel(serviceRole = process.env.AGENT_ROLE || "api") {
|
|
|
12411
12411
|
return;
|
|
12412
12412
|
initialized = true;
|
|
12413
12413
|
try {
|
|
12414
|
-
const impl = await import("./otel-impl-
|
|
12414
|
+
const impl = await import("./otel-impl-2ymwyczz.js");
|
|
12415
12415
|
await impl.boot(serviceRole, {
|
|
12416
12416
|
exportConsoleLogs: serviceRole === "api" && isApiLogExportEnabled()
|
|
12417
12417
|
});
|
|
@@ -19111,17 +19111,17 @@ async function initSlackApp2() {
|
|
|
19111
19111
|
created.use(slackInboundOutcomeMiddleware(config.mode === "http" ? "http" : "socket"));
|
|
19112
19112
|
if (config.mode === "http")
|
|
19113
19113
|
created.use(ignoreSelfAsIgnored);
|
|
19114
|
-
const { registerMessageHandler } = await import("./handlers-
|
|
19115
|
-
const { registerCommandHandler } = await import("./commands-
|
|
19116
|
-
const { registerActionHandlers } = await import("./actions-
|
|
19117
|
-
const { registerWorkObjectHandlers } = await import("./work-objects-
|
|
19114
|
+
const { registerMessageHandler } = await import("./handlers-ef3k11hb.js");
|
|
19115
|
+
const { registerCommandHandler } = await import("./commands-0mxdy9x8.js");
|
|
19116
|
+
const { registerActionHandlers } = await import("./actions-acqqj9jn.js");
|
|
19117
|
+
const { registerWorkObjectHandlers } = await import("./work-objects-eg7y48pe.js");
|
|
19118
19118
|
registerMessageHandler(created);
|
|
19119
19119
|
registerCommandHandler(created);
|
|
19120
19120
|
registerActionHandlers(created);
|
|
19121
19121
|
registerWorkObjectHandlers(created);
|
|
19122
|
-
const { createAssistant } = await import("./assistant-
|
|
19122
|
+
const { createAssistant } = await import("./assistant-564v6emv.js");
|
|
19123
19123
|
created.assistant(createAssistant());
|
|
19124
|
-
const { isBlockExternalEnabled, scanExternalChannelsOnBoot } = await import("./external-channel-
|
|
19124
|
+
const { isBlockExternalEnabled, scanExternalChannelsOnBoot } = await import("./external-channel-w10e2j05.js");
|
|
19125
19125
|
if (isBlockExternalEnabled()) {
|
|
19126
19126
|
scanExternalChannelsOnBoot(created.client).catch((error) => {
|
|
19127
19127
|
console.error("[Slack] External channel boot scan failed:", error);
|
|
@@ -19149,7 +19149,7 @@ async function startSlackApp2() {
|
|
|
19149
19149
|
startRetryAttempt = 0;
|
|
19150
19150
|
if (!httpReceiver)
|
|
19151
19151
|
startSocketWatchdog();
|
|
19152
|
-
const { isSlackRenderV2Enabled } = await import("./render-v2-
|
|
19152
|
+
const { isSlackRenderV2Enabled } = await import("./render-v2-7y20rjrn.js");
|
|
19153
19153
|
if (isSlackRenderV2Enabled())
|
|
19154
19154
|
await ensureSlackRenderV2Activation2();
|
|
19155
19155
|
await recoverSlackInboundAfterRestart();
|
|
@@ -19165,7 +19165,7 @@ async function startSlackApp2() {
|
|
|
19165
19165
|
} else {
|
|
19166
19166
|
console.log("[Slack] Bot connected via Socket Mode");
|
|
19167
19167
|
}
|
|
19168
|
-
const { restoreBufferedSlackMessages } = await import("./thread-buffer-
|
|
19168
|
+
const { restoreBufferedSlackMessages } = await import("./thread-buffer-686pa1p1.js");
|
|
19169
19169
|
await restoreBufferedSlackMessages().catch((error) => {
|
|
19170
19170
|
console.error("[Slack] Failed to restore buffered thread messages:", error);
|
|
19171
19171
|
});
|
|
@@ -19279,7 +19279,7 @@ var init_app4 = __esm(() => {
|
|
|
19279
19279
|
init_db4();
|
|
19280
19280
|
init_node_env();
|
|
19281
19281
|
init_secret_scrubber();
|
|
19282
|
-
|
|
19282
|
+
init_config5();
|
|
19283
19283
|
init_connection_state();
|
|
19284
19284
|
init_egress_scrub();
|
|
19285
19285
|
init_external_channel_egress();
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
deleteSkillFile2,
|
|
18
18
|
getSkillById2,
|
|
19
19
|
init_db4
|
|
20
|
-
} from "./cli-
|
|
20
|
+
} from "./cli-ts5yv7dn.js";
|
|
21
21
|
import {
|
|
22
22
|
snapshotAndUpdateWorkflow,
|
|
23
23
|
init_version,
|
|
@@ -28,15 +28,15 @@ import {
|
|
|
28
28
|
liveSkillSpec,
|
|
29
29
|
skillHash,
|
|
30
30
|
init_assets
|
|
31
|
-
} from "./cli-
|
|
31
|
+
} from "./cli-904wk98s.js";
|
|
32
32
|
import {
|
|
33
33
|
getSeedState,
|
|
34
34
|
init_state_db
|
|
35
|
-
} from "./cli-
|
|
35
|
+
} from "./cli-gse7bp3z.js";
|
|
36
36
|
import {
|
|
37
37
|
matchesDefaultIdentityMd,
|
|
38
38
|
init_defaults
|
|
39
|
-
} from "./cli-
|
|
39
|
+
} from "./cli-ka48vpev.js";
|
|
40
40
|
import {
|
|
41
41
|
__esm
|
|
42
42
|
} from "./cli-242037k3.js";
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import {
|
|
2
|
+
normalizeOrgWebsite,
|
|
3
|
+
init_org_website
|
|
4
|
+
} from "./cli-ts5yv7dn.js";
|
|
5
|
+
import {
|
|
6
|
+
__esm
|
|
7
|
+
} from "./cli-242037k3.js";
|
|
8
|
+
|
|
9
|
+
// src/utils/org-identity.ts
|
|
10
|
+
function orgIdentityStatus(src) {
|
|
11
|
+
const name = src.SWARM_ORG_NAME?.trim() || null;
|
|
12
|
+
const website = normalizeOrgWebsite(src.SWARM_ORG_WEBSITE) || null;
|
|
13
|
+
const missing = [];
|
|
14
|
+
if (!name || PLACEHOLDER_NAMES.has(name.toLowerCase()))
|
|
15
|
+
missing.push("SWARM_ORG_NAME");
|
|
16
|
+
if (!website)
|
|
17
|
+
missing.push("SWARM_ORG_WEBSITE");
|
|
18
|
+
return { name, website, missing, ok: missing.length === 0 };
|
|
19
|
+
}
|
|
20
|
+
var ORG_IDENTITY_KEYS, PLACEHOLDER_NAMES;
|
|
21
|
+
var init_org_identity = __esm(() => {
|
|
22
|
+
init_org_website();
|
|
23
|
+
ORG_IDENTITY_KEYS = ["SWARM_ORG_NAME", "SWARM_ORG_WEBSITE"];
|
|
24
|
+
PLACEHOLDER_NAMES = new Set(["swarm", "your swarm"]);
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
export { ORG_IDENTITY_KEYS, orgIdentityStatus, init_org_identity };
|