@desplega.ai/agent-swarm 2.3.0 → 2.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/dist/{acp-adapter-v85a2bqy.js → acp-adapter-zvzr538d.js} +9 -9
- package/dist/{actions-zgcxfspj.js → actions-jhtqdw69.js} +21 -19
- package/dist/{amp-adapter-jw9xfz42.js → amp-adapter-bd84rhs2.js} +4 -4
- package/dist/{app-4e1s4675.js → app-kreq1gwg.js} +3 -3
- package/dist/{assistant-v238n9dk.js → assistant-3k22sbsq.js} +23 -21
- package/dist/{boot-reembed-p666cw5n.js → boot-reembed-e53x6b9v.js} +1 -1
- package/dist/{boot-reembed-w6pm64j4.js → boot-reembed-f6z923ny.js} +1 -1
- package/dist/{boot-scrub-sweep-jcyjagn3.js → boot-scrub-sweep-0538vsb7.js} +4 -4
- package/dist/{boot-seeds-gbedmamp.js → boot-seeds-6wxqkfk2.js} +4 -4
- package/dist/{claude-adapter-q7wspzt8.js → claude-adapter-gfts5044.js} +9 -9
- package/dist/{claude-managed-adapter-n7ahjyx6.js → claude-managed-adapter-h2y889ge.js} +3 -3
- package/dist/{claude-managed-setup-wza784fb.js → claude-managed-setup-h00hsgtz.js} +2 -2
- package/dist/{claude-sdk-session-yf400ptr.js → claude-sdk-session-56besmfz.js} +13 -13
- package/dist/{cli-65q70v2v.js → cli-0bh477zn.js} +33 -6
- package/dist/{cli-4ync7m60.js → cli-0ebey9hg.js} +1 -1
- package/dist/{cli-665j3feb.js → cli-0xk505e8.js} +1 -1
- package/dist/{cli-7gh7020n.js → cli-1dmcq2eh.js} +1 -1
- package/dist/{cli-gzvb3d4a.js → cli-1jx0srjt.js} +3 -3
- package/dist/{cli-zj4d6afs.js → cli-1pa3rz69.js} +21 -6
- package/dist/{cli-7ayprxp7.js → cli-2dfbv8qr.js} +8 -0
- package/dist/{cli-30m5q8mc.js → cli-3kh4kpqy.js} +6 -6
- package/dist/{cli-qrwp40st.js → cli-3p8fqcnh.js} +2 -2
- package/dist/{cli-y3dvz6ge.js → cli-3r448dqn.js} +3 -3
- package/dist/{cli-a17tzmn0.js → cli-3tnpj2bh.js} +7 -7
- package/dist/{cli-ea7chd26.js → cli-471qk6s2.js} +93 -46
- package/dist/{cli-a49vpbf3.js → cli-5kqnemen.js} +1 -1
- package/dist/{cli-0rh20bp3.js → cli-6ncjvx55.js} +3 -3
- package/dist/{cli-fb6t92v8.js → cli-6x9ma5w5.js} +1 -1
- package/dist/{cli-k28p6xh7.js → cli-7225gwj7.js} +2 -2
- package/dist/{cli-8cvvytad.js → cli-8nyhf7za.js} +3 -3
- package/dist/{cli-e09hj50q.js → cli-8wkb09q5.js} +11 -11
- package/dist/{cli-j0v75y13.js → cli-a0kcty51.js} +4 -4
- package/dist/{cli-zes4tsbb.js → cli-a4gvwttf.js} +4 -4
- package/dist/{cli-jhp7w1fy.js → cli-a5ebc95n.js} +2 -2
- package/dist/{cli-5d1m1qca.js → cli-ash6xxk7.js} +2 -2
- package/dist/{cli-fp4xbw07.js → cli-axh29tyr.js} +14 -12
- package/dist/{cli-p22zdvnt.js → cli-bn0rewsy.js} +3 -3
- package/dist/{cli-hz64bcnj.js → cli-bn5kevnf.js} +11 -373
- package/dist/{cli-8jtrekpy.js → cli-d2mb5s8a.js} +7 -7
- package/dist/{cli-c5sbmw1v.js → cli-d82btycs.js} +94 -15
- package/dist/{cli-vjfpshn3.js → cli-ejs3m1sx.js} +1 -1
- package/dist/{cli-yv0vgscc.js → cli-fpmsqq59.js} +18 -2
- package/dist/cli-fz9kewbh.js +382 -0
- package/dist/{cli-4s1kqrqg.js → cli-g0hgtz4p.js} +6 -6
- package/dist/{cli-hn3pftj2.js → cli-gf0kfg81.js} +7 -7
- package/dist/{cli-d43xqzbe.js → cli-hqhzg1qq.js} +2 -2
- package/dist/{cli-azs9bhc5.js → cli-j4rqdf2n.js} +2 -2
- package/dist/{cli-wtg6edvd.js → cli-jh0qcrga.js} +1 -1
- package/dist/{cli-kqypty34.js → cli-k9z4zd4p.js} +6 -5
- package/dist/{cli-jhmjwqcg.js → cli-kmqgmcnb.js} +47 -14
- package/dist/{cli-8qsx817b.js → cli-kr2pmfqx.js} +583 -769
- package/dist/{cli-4g629sgr.js → cli-m2qgh5sv.js} +20 -1
- package/dist/{cli-9e9kjqsj.js → cli-mfe7f7b5.js} +2 -2
- package/dist/{cli-x3en6ct3.js → cli-nwyw3zhg.js} +1 -1
- package/dist/{cli-6vcyw6v7.js → cli-nx462e4v.js} +5 -3
- package/dist/{cli-tr24eeny.js → cli-p0rakbrk.js} +9 -9
- package/dist/{cli-4hmaheb6.js → cli-p6argxh9.js} +9 -9
- package/dist/{cli-3avfh5az.js → cli-pemywhfq.js} +2 -2
- package/dist/{cli-etvn5ej2.js → cli-pnp2j5zg.js} +2 -2
- package/dist/{cli-wk8ccrz6.js → cli-pw7v69vp.js} +2 -2
- package/dist/{cli-ka01m5rb.js → cli-rdq7tzwm.js} +17 -14
- package/dist/{cli-re4wkbzx.js → cli-rqqsfz30.js} +677 -104
- package/dist/{cli-xgn4rwyv.js → cli-s48yvzb8.js} +4 -4
- package/dist/{cli-zv4vy2b0.js → cli-s95dknxh.js} +1 -1
- package/dist/{cli-g6p7c2my.js → cli-sjyetj21.js} +2 -2
- package/dist/{cli-rdr166ht.js → cli-smvcw9z5.js} +1 -1
- package/dist/{cli-fhvqt2fp.js → cli-sv5gb0yb.js} +1 -1
- package/dist/{cli-yv3n83x8.js → cli-syhq378v.js} +2 -2
- package/dist/{cli-q1812jbw.js → cli-tbhwrxpt.js} +9 -9
- package/dist/{cli-w7z94e6c.js → cli-tx00c0h6.js} +4 -2
- package/dist/{cli-dxwh4j32.js → cli-vy0fay6k.js} +46 -37
- package/dist/{cli-ptkpaqfy.js → cli-wt645v7q.js} +1 -1
- package/dist/{cli-ppapy34w.js → cli-wxbn3yfx.js} +2 -2
- package/dist/{cli-cby329ny.js → cli-x5mq1fyq.js} +3 -3
- package/dist/{cli-rc3r0bnh.js → cli-xbzvet96.js} +6 -6
- package/dist/{cli-4mkvwgzr.js → cli-xf234ws8.js} +1 -1
- package/dist/{cli-6p7ddg72.js → cli-xftrvxag.js} +5 -5
- package/dist/cli-z071fb95.js +848 -0
- package/dist/{cli-1v8w782f.js → cli-z1ew8vbq.js} +14 -7
- package/dist/{cli-9td5ss65.js → cli-zfg9enh9.js} +3 -3
- package/dist/{cli-yxqag76b.js → cli-zw88zjba.js} +1 -1
- package/dist/cli.js +19 -19
- package/dist/{codex-adapter-nhjj2veb.js → codex-adapter-p6rmm7vv.js} +6 -6
- package/dist/{codex-hook-x6tm6y5m.js → codex-hook-x7nejyrr.js} +8 -5
- package/dist/{codex-login-35p4sk85.js → codex-login-m819c41r.js} +1 -1
- package/dist/{codex-session-runner-6hggrjbx.js → codex-session-runner-8vd5t9t0.js} +7 -7
- package/dist/{commands-mrw1ph2w.js → commands-7ems2p13.js} +2 -2
- package/dist/{controller-pt1zam5w.js → controller-m263fg43.js} +4 -4
- package/dist/{controllers-connect-ymw5541d.js → controllers-connect-bg33ae53.js} +28 -24
- package/dist/{cursor-adapter-cf4zh5x0.js → cursor-adapter-cz6nm6mj.js} +3 -3
- package/dist/{db-hy80219q.js → db-w505dwa8.js} +2 -2
- package/dist/{db-hhpy6m4x.js → db-ys2rbdft.js} +3 -2
- package/dist/{devin-adapter-7egzmt0k.js → devin-adapter-zgqadvnm.js} +1 -1
- package/dist/{dispatcher-6pdjtkr1.js → dispatcher-0s0mckqr.js} +20 -18
- package/dist/{docker-njavd3fb.js → docker-fkgtr75t.js} +2 -2
- package/dist/{dsh-adapter-fbx06re2.js → dsh-adapter-3n3net33.js} +3 -3
- package/dist/{e2b-5r6a5jeb.js → e2b-7am6tmq6.js} +2 -2
- package/dist/{e2b-pw1nvtmh.js → e2b-thdcxtjd.js} +2 -2
- package/dist/{easter-egg-3d-6hg2r942.js → easter-egg-3d-5cgynaja.js} +1 -1
- package/dist/{event-bus-101fenkh.js → event-bus-9vpk8gmq.js} +1 -1
- package/dist/{execute-bcqc69a5.js → execute-t4e6m3rw.js} +1 -1
- package/dist/{external-channel-j6vb6ya1.js → external-channel-5b23fv8z.js} +2 -2
- package/dist/{google-generative-ai-phpmwxvg.js → google-generative-ai-bmq8gkf3.js} +1 -1
- package/dist/{google-vertex-es9ybgdy.js → google-vertex-b1rvp52s.js} +1 -1
- package/dist/{grok-adapter-1193sprp.js → grok-adapter-q9fghe5q.js} +10 -10
- package/dist/handlers-mqrym347.js +39 -0
- package/dist/{heartbeat-h1w1ktce.js → heartbeat-tww6yx1w.js} +23 -21
- package/dist/{hook-ejja4bpe.js → hook-dx0pkvar.js} +16 -9
- package/dist/{hook-skrbja18.js → hook-pvmh9b6m.js} +6 -6
- package/dist/{http-mzh41mfj.js → http-k2ejbt05.js} +975 -292
- package/dist/{index-6rmnn89d.js → index-2z710v4x.js} +10 -10
- package/dist/{index-xmmkyx82.js → index-dgz61nff.js} +20 -18
- package/dist/{index-wgsw9xcz.js → index-g6tbb6ve.js} +1 -1
- package/dist/index-h2ek08d6.js +40 -0
- package/dist/index-pqfwh9nn.js +41 -0
- package/dist/{index-epr2gnbw.js → index-x5aktmp8.js} +1 -1
- package/dist/{index-x0q2a4f9.js → index-ysd45kgc.js} +1 -1
- package/dist/{index-g909y089.js → index-zgvqzjsw.js} +8 -8
- package/dist/{keepalive-4djvbm2j.js → keepalive-nhvpw10z.js} +4 -4
- package/dist/lead-jb6sf69z.js +78 -0
- package/dist/{maintenance-f3xhnjsm.js → maintenance-agakc519.js} +1 -1
- package/dist/{oauth-refresh-sweep-fpd6x6rw.js → oauth-refresh-sweep-4dcbhtn0.js} +3 -3
- package/dist/{onboard-196tjgyn.js → onboard-4n2kwa4v.js} +3 -3
- package/dist/{opencode-adapter-eeesgfqk.js → opencode-adapter-3s7ax02e.js} +7 -7
- package/dist/{otel-impl-g8fh4c21.js → otel-impl-tfa12080.js} +2 -2
- package/dist/{pi-mono-adapter-zasp3ze3.js → pi-mono-adapter-ytp7gz8b.js} +24 -13
- package/dist/{pricing-refresh-sdcf5yaz.js → pricing-refresh-3cqx3f3x.js} +3 -3
- package/dist/{rbac-roles-bsp5657v.js → rbac-roles-9fae5rnv.js} +5 -3
- package/dist/{rbac-roles-2x4g1wb5.js → rbac-roles-y6zbfzve.js} +2 -2
- package/dist/{render-v2-0pyb39bb.js → render-v2-emawjvc4.js} +3 -3
- package/dist/{resume-a86tkj6r.js → resume-zhgts7h7.js} +10 -8
- package/dist/{runtime-ar8310ba.js → runtime-xe3aqy4x.js} +1 -1
- package/dist/session-access-cm823e06.js +25 -0
- package/dist/{setup-ypbzcapd.js → setup-tkp99w1e.js} +1 -1
- package/dist/{virtual-modules-wzk6jf3a.js → virtual-modules-4r3zkc20.js} +2 -2
- package/dist/{work-objects-yjp8de12.js → work-objects-f722h263.js} +23 -21
- package/dist/worker-p7f336rq.js +78 -0
- package/dist/{x-8ewt8gxn.js → x-y45mthwn.js} +2 -2
- package/openapi.json +1086 -305
- package/package.json +2 -2
- package/src/apps/action-caller.ts +6 -0
- package/src/apps/action-runner.ts +146 -0
- package/src/apps/row-store.ts +4 -2
- package/src/apps/script-types.ts +17 -4
- package/src/be/db/active-sessions.ts +5 -0
- package/src/be/db/session-visibility.ts +29 -0
- package/src/be/db/tasks/read.ts +61 -3
- package/src/be/db/tasks/write.ts +15 -6
- package/src/be/db.ts +106 -37
- package/src/be/events.ts +11 -0
- package/src/be/fleet-benchmark-stats.ts +10 -5
- package/src/be/migrations/230_session_shares.sql +23 -0
- package/src/be/models-catalog.ts +4 -0
- package/src/be/onboarding.ts +6 -0
- package/src/be/rbac-roles.ts +2 -0
- package/src/be/scripts/typecheck.ts +13 -0
- package/src/be/session-shares.ts +244 -0
- package/src/be/swarm-config-guard.ts +33 -3
- package/src/be/telemetry-enable.ts +1 -1
- package/src/commands/provider-credentials.ts +12 -2
- package/src/commands/runner.ts +14 -0
- package/src/heartbeat/heartbeat.ts +2 -2
- package/src/hooks/codex-hook.ts +6 -2
- package/src/hooks/hook.ts +7 -0
- package/src/hooks/pr-body-guard.ts +38 -11
- package/src/hooks/pr-room-guard.ts +88 -0
- package/src/http/active-sessions.ts +13 -2
- package/src/http/agents.ts +11 -3
- package/src/http/all-routes.ts +1 -0
- package/src/http/api-keys.ts +3 -1
- package/src/http/approval-requests.ts +2 -1
- package/src/http/apps.ts +118 -190
- package/src/http/config.ts +3 -0
- package/src/http/context.ts +2 -0
- package/src/http/core.ts +39 -2
- package/src/http/events.ts +6 -2
- package/src/http/favorite-owner.ts +1 -1
- package/src/http/fleet-benchmark.ts +79 -30
- package/src/http/fs.ts +38 -3
- package/src/http/global-config.ts +7 -0
- package/src/http/index.ts +3 -1
- package/src/http/memory.ts +3 -1
- package/src/http/ranking.ts +351 -0
- package/src/http/realtime.ts +26 -21
- package/src/http/route-def.ts +77 -11
- package/src/http/script-runs.ts +2 -1
- package/src/http/scripts.ts +8 -0
- package/src/http/session-access.ts +179 -0
- package/src/http/session-data.ts +10 -2
- package/src/http/sessions.ts +212 -12
- package/src/http/stats.ts +7 -3
- package/src/http/tasks.ts +85 -8
- package/src/http/telemetry-ui.ts +1 -1
- package/src/http/used-by.ts +64 -20
- package/src/http/users.ts +2 -2
- package/src/prompts/session-templates.ts +3 -1
- package/src/providers/amp-adapter.ts +1 -1
- package/src/providers/pi-mono-adapter.ts +15 -0
- package/src/providers/reasoning-effort.ts +2 -1
- package/src/providers/types.ts +2 -0
- package/src/ranking/telemetry-ranking.ts +119 -0
- package/src/ranking/usage.ts +57 -0
- package/src/rbac/admission.ts +22 -7
- package/src/rbac/legacy-policy.ts +2 -0
- package/src/rbac/permissions.ts +9 -0
- package/src/realtime/auth.ts +69 -0
- package/src/realtime/tickets.ts +4 -1
- package/src/realtime/transport.ts +77 -9
- package/src/scripts-runtime/sdk-allowlist.ts +7 -0
- package/src/scripts-runtime/types/stdlib.d.ts +31 -0
- package/src/scripts-runtime/types/swarm-sdk.d.ts +31 -0
- package/src/server.ts +4 -0
- package/src/slack/blocks.ts +18 -0
- package/src/slack/dm.ts +29 -0
- package/src/telemetry-context.ts +19 -1
- package/src/telemetry-contract/EVENTS.md +45 -8
- package/src/telemetry-contract/SOURCE.json +38 -4
- package/src/telemetry-contract/catalog.json +294 -5
- package/src/telemetry-contract/ranking/fixtures/expected.json +30 -0
- package/src/telemetry-contract/ranking/fixtures/invalid/bad-category.json +11 -0
- package/src/telemetry-contract/ranking/fixtures/invalid/bad-claim.json +11 -0
- package/src/telemetry-contract/ranking/fixtures/invalid/blank-description.json +11 -0
- package/src/telemetry-contract/ranking/fixtures/invalid/blank-name.json +11 -0
- package/src/telemetry-contract/ranking/fixtures/invalid/description-too-long.json +11 -0
- package/src/telemetry-contract/ranking/fixtures/invalid/domain-uppercase.json +11 -0
- package/src/telemetry-contract/ranking/fixtures/invalid/domain-with-scheme.json +11 -0
- package/src/telemetry-contract/ranking/fixtures/invalid/domain-with-www.json +11 -0
- package/src/telemetry-contract/ranking/fixtures/invalid/http-source-url.json +11 -0
- package/src/telemetry-contract/ranking/fixtures/invalid/missing-description.json +10 -0
- package/src/telemetry-contract/ranking/fixtures/invalid/missing-version.json +10 -0
- package/src/telemetry-contract/ranking/fixtures/invalid/name-not-string.json +11 -0
- package/src/telemetry-contract/ranking/fixtures/invalid/name-too-long.json +11 -0
- package/src/telemetry-contract/ranking/fixtures/invalid/not-object.json +1 -0
- package/src/telemetry-contract/ranking/fixtures/invalid/null.json +1 -0
- package/src/telemetry-contract/ranking/fixtures/invalid/other-with-subcategory.json +11 -0
- package/src/telemetry-contract/ranking/fixtures/invalid/oversize.json +1 -0
- package/src/telemetry-contract/ranking/fixtures/invalid/short-claim.json +11 -0
- package/src/telemetry-contract/ranking/fixtures/invalid/subcategory-other-category.json +11 -0
- package/src/telemetry-contract/ranking/fixtures/invalid/trailing-data.json +1 -0
- package/src/telemetry-contract/ranking/fixtures/invalid/unknown-field.json +12 -0
- package/src/telemetry-contract/ranking/fixtures/invalid/unsupported-version.json +11 -0
- package/src/telemetry-contract/ranking/fixtures/invalid/updated-at-not-date.json +11 -0
- package/src/telemetry-contract/ranking/fixtures/invalid/updated-at-offset.json +11 -0
- package/src/telemetry-contract/ranking/fixtures/invalid/wrong-case-field.json +11 -0
- package/src/telemetry-contract/ranking/fixtures/valid/category-without-subcategory.json +11 -0
- package/src/telemetry-contract/ranking/fixtures/valid/full.json +11 -0
- package/src/telemetry-contract/ranking/fixtures/valid/minimal.json +11 -0
- package/src/telemetry-contract/ranking/fixtures/valid/no-claim.json +10 -0
- package/src/telemetry-contract/ranking/fixtures/valid/padded-text.json +11 -0
- package/src/telemetry-contract/ranking/fixtures/valid/unicode-name.json +11 -0
- package/src/telemetry-contract/ranking/listing.v1.schema.json +61 -0
- package/src/telemetry-contract/ranking/taxonomy.json +8 -0
- package/src/telemetry-contract/ranking-taxonomy.gen.ts +11 -0
- package/src/telemetry-contract/types.gen.ts +963 -58
- package/src/telemetry-identity.ts +47 -9
- package/src/telemetry-snapshot.ts +9 -1
- package/src/telemetry-ui-events.ts +9 -2
- package/src/telemetry.ts +40 -5
- package/src/tests/app-action-run-tool.test.ts +178 -0
- package/src/tests/app-row-tools.test.ts +360 -0
- package/src/tests/apps-rbac.test.ts +189 -2
- package/src/tests/apps-script-types.test.ts +16 -3
- package/src/tests/credential-check.test.ts +38 -0
- package/src/tests/db-extraction-contract.test.ts +1 -0
- package/src/tests/db-task-read-contract.test.ts +1 -0
- package/src/tests/docs-index-footprint.test.js +2 -2
- package/src/tests/fleet-benchmark.test.ts +122 -2
- package/src/tests/http-users.test.ts +62 -1
- package/src/tests/model-catalog-table.test.ts +63 -0
- package/src/tests/model-profiles-api.test.ts +19 -7
- package/src/tests/models-catalog.test.ts +50 -0
- package/src/tests/onboarding.test.ts +21 -0
- package/src/tests/org-identity.test.ts +44 -0
- package/src/tests/org-website.test.ts +62 -0
- package/src/tests/pi-mono-adapter.test.ts +23 -0
- package/src/tests/pr-body-leaks.test.ts +4 -0
- package/src/tests/pr-room-guard.test.ts +242 -0
- package/src/tests/ranking-listing.test.ts +97 -0
- package/src/tests/ranking-route.test.ts +321 -0
- package/src/tests/ranking-usage.test.ts +50 -0
- package/src/tests/rbac-admission-e2e.test.ts +8 -0
- package/src/tests/rbac-admission.test.ts +38 -0
- package/src/tests/rbac-charact-http.test.ts +4 -3
- package/src/tests/rbac-engine.test.ts +2 -0
- package/src/tests/rbac-roles.test.ts +2 -0
- package/src/tests/realtime-room-surfaces.test.ts +3 -1
- package/src/tests/realtime-session-join-race.test.ts +142 -0
- package/src/tests/realtime-tickets.test.ts +24 -17
- package/src/tests/realtime-transport.test.ts +91 -0
- package/src/tests/reasoning-effort.test.ts +39 -3
- package/src/tests/runner-harness-telemetry-env.test.ts +56 -1
- package/src/tests/session-route-posture.test.ts +639 -0
- package/src/tests/session-sharing-routes.test.ts +282 -0
- package/src/tests/session-sharing.test.ts +526 -0
- package/src/tests/sessions-detail-batch.test.ts +7 -1
- package/src/tests/slack-tool-blocks.test.ts +101 -0
- package/src/tests/slack-update.test.ts +55 -0
- package/src/tests/slack-user-dm.test.ts +177 -0
- package/src/tests/swarm-tool-result-gate.test.ts +2 -4
- package/src/tests/telemetry-context.test.ts +128 -2
- package/src/tests/telemetry-ui-route.test.ts +123 -0
- package/src/tests/tool-annotations.test.ts +3 -2
- package/src/tests/used-by-route.test.ts +153 -9
- package/src/tests/workflow-agent-task-retry.test.ts +130 -4
- package/src/tests/workflow-wait-recovery.test.ts +116 -4
- package/src/tools/app-action-run.ts +63 -0
- package/src/tools/app-rows.ts +234 -0
- package/src/tools/model-catalog/index.ts +1 -1
- package/src/tools/slack-post.ts +18 -12
- package/src/tools/slack-read.ts +13 -1
- package/src/tools/slack-reply.ts +7 -10
- package/src/tools/slack-start-thread.ts +18 -11
- package/src/tools/slack-update.ts +2 -9
- package/src/tools/tool-config.ts +8 -0
- package/src/tools/utils.ts +1 -1
- package/src/tools/workflows/retry-workflow-run.ts +1 -1
- package/src/types.ts +52 -0
- package/src/utils/company-profile.ts +24 -0
- package/src/utils/org-identity.ts +33 -0
- package/src/utils/org-website.ts +58 -21
- package/src/workflows/recovery.ts +10 -22
- package/src/workflows/resume.ts +16 -0
- package/src/workflows/task-step-routing.ts +47 -7
- package/templates/skills/apps/SKILL.md +58 -2
- package/templates/skills/apps/content.md +58 -2
- package/dist/handlers-tb3xgjnm.js +0 -37
- package/dist/index-nyfcdpky.js +0 -39
- package/dist/index-vjn3wbzf.js +0 -38
- package/dist/lead-61kqp604.js +0 -76
- package/dist/worker-4ptnn1ge.js +0 -76
- package/dist/{cli-n5mrsg0f.js → cli-60cgh1rv.js} +3 -3
|
@@ -7,20 +7,20 @@ import {
|
|
|
7
7
|
tierConfigKey,
|
|
8
8
|
init_model_tier_keys,
|
|
9
9
|
init_db3
|
|
10
|
-
} from "./cli-
|
|
10
|
+
} from "./cli-rqqsfz30.js";
|
|
11
11
|
import {
|
|
12
12
|
ensureRbacSeedsSynced2,
|
|
13
13
|
init_rbac_roles
|
|
14
|
-
} from "./cli-
|
|
14
|
+
} from "./cli-nx462e4v.js";
|
|
15
15
|
import {
|
|
16
16
|
seedPricingFromModelsDev
|
|
17
|
-
} from "./cli-
|
|
17
|
+
} from "./cli-3p8fqcnh.js";
|
|
18
18
|
import {
|
|
19
19
|
MODEL_TIERS,
|
|
20
20
|
DEFAULT_MODEL_TIER_MAP,
|
|
21
21
|
ProviderNameSchema,
|
|
22
22
|
init_types
|
|
23
|
-
} from "./cli-
|
|
23
|
+
} from "./cli-fpmsqq59.js";
|
|
24
24
|
|
|
25
25
|
// src/be/boot-seeds.ts
|
|
26
26
|
init_db3();
|
|
@@ -9,12 +9,12 @@ import {
|
|
|
9
9
|
acquireOAuthRefreshLock,
|
|
10
10
|
releaseOAuthRefreshLock,
|
|
11
11
|
init_oauth
|
|
12
|
-
} from "./cli-
|
|
12
|
+
} from "./cli-rqqsfz30.js";
|
|
13
13
|
import {
|
|
14
14
|
scrubSecrets,
|
|
15
15
|
registerVolatileSecret,
|
|
16
16
|
init_secret_scrubber
|
|
17
|
-
} from "./cli-
|
|
17
|
+
} from "./cli-xf234ws8.js";
|
|
18
18
|
|
|
19
19
|
// node_modules/oauth4webapi/build/index.js
|
|
20
20
|
var USER_AGENT;
|
|
@@ -6,11 +6,11 @@ import {
|
|
|
6
6
|
getResolvedConfig2,
|
|
7
7
|
getAllUsers2,
|
|
8
8
|
init_db3
|
|
9
|
-
} from "./cli-
|
|
9
|
+
} from "./cli-rqqsfz30.js";
|
|
10
10
|
import {
|
|
11
11
|
scrubSecrets,
|
|
12
12
|
init_secret_scrubber
|
|
13
|
-
} from "./cli-
|
|
13
|
+
} from "./cli-xf234ws8.js";
|
|
14
14
|
|
|
15
15
|
// src/be/seed/agent-fs-provision.ts
|
|
16
16
|
init_secret_scrubber();
|
|
@@ -5,26 +5,26 @@ import {
|
|
|
5
5
|
completeApprovalCancellationNotificationClaim2,
|
|
6
6
|
releaseApprovalCancellationNotificationClaim2,
|
|
7
7
|
init_db3
|
|
8
|
-
} from "./cli-
|
|
8
|
+
} from "./cli-rqqsfz30.js";
|
|
9
9
|
import {
|
|
10
10
|
getSlackApp2
|
|
11
|
-
} from "./cli-
|
|
11
|
+
} from "./cli-vy0fay6k.js";
|
|
12
12
|
import {
|
|
13
13
|
DEFAULT_MODEL,
|
|
14
14
|
resolveCredential
|
|
15
|
-
} from "./cli-
|
|
15
|
+
} from "./cli-8nyhf7za.js";
|
|
16
16
|
import {
|
|
17
17
|
TERMINAL_TASK_STATUSES,
|
|
18
18
|
init_types
|
|
19
|
-
} from "./cli-
|
|
19
|
+
} from "./cli-fpmsqq59.js";
|
|
20
20
|
import {
|
|
21
21
|
selectCredential,
|
|
22
22
|
init_credentials
|
|
23
|
-
} from "./cli-
|
|
23
|
+
} from "./cli-zw88zjba.js";
|
|
24
24
|
import {
|
|
25
25
|
resolveTemplate,
|
|
26
26
|
init_resolver
|
|
27
|
-
} from "./cli-
|
|
27
|
+
} from "./cli-tx00c0h6.js";
|
|
28
28
|
import {
|
|
29
29
|
DEFAULT_OPENROUTER_BASE_URL,
|
|
30
30
|
getOpenRouterBaseUrl,
|
|
@@ -56,13 +56,13 @@ import {
|
|
|
56
56
|
import {
|
|
57
57
|
scrubSecrets,
|
|
58
58
|
init_secret_scrubber
|
|
59
|
-
} from "./cli-
|
|
59
|
+
} from "./cli-xf234ws8.js";
|
|
60
60
|
import {
|
|
61
61
|
providerKeyVars,
|
|
62
62
|
providerBaseUrl,
|
|
63
63
|
providerForModel,
|
|
64
64
|
init_src2
|
|
65
|
-
} from "./cli-
|
|
65
|
+
} from "./cli-nwyw3zhg.js";
|
|
66
66
|
|
|
67
67
|
// src/workflows/executors/system-one-decision.ts
|
|
68
68
|
init_zod();
|
|
@@ -454,7 +454,7 @@ class HumanInTheLoopExecutor extends BaseExecutor {
|
|
|
454
454
|
}
|
|
455
455
|
if (notification.channel === "slack") {
|
|
456
456
|
try {
|
|
457
|
-
const { getSlackApp } = await import("./app-
|
|
457
|
+
const { getSlackApp } = await import("./app-kreq1gwg.js");
|
|
458
458
|
const slackApp = getSlackApp();
|
|
459
459
|
if (!slackApp) {
|
|
460
460
|
console.warn("[HITL] Slack not initialized — cannot send notification");
|
|
@@ -649,12 +649,14 @@ If this task reveals new stable communication preferences for this requester, pe
|
|
|
649
649
|
header: "",
|
|
650
650
|
defaultBody: `{{prompt}}
|
|
651
651
|
|
|
652
|
-
[App action] app={{app_id}} action={{action_name}} input={{input_json}}
|
|
652
|
+
[App action] app={{app_id}} action={{action_name}} input={{input_json}}
|
|
653
|
+
Caller (server-verified): {{caller_json}}`,
|
|
653
654
|
variables: [
|
|
654
655
|
{ name: "prompt", description: "The task prompt configured on the app action" },
|
|
655
656
|
{ name: "app_id", description: "The app identifier" },
|
|
656
657
|
{ name: "action_name", description: "The invoked action name" },
|
|
657
|
-
{ name: "input_json", description: "The action input serialized as JSON" }
|
|
658
|
+
{ name: "input_json", description: "The action input serialized as JSON" },
|
|
659
|
+
{ name: "caller_json", description: "The server-verified action caller serialized as JSON" }
|
|
658
660
|
],
|
|
659
661
|
category: "task_lifecycle"
|
|
660
662
|
});
|
|
@@ -47,31 +47,31 @@ import {
|
|
|
47
47
|
checkDependencies2,
|
|
48
48
|
emitBuiltInIntegrationConnectedOnce2,
|
|
49
49
|
init_db3
|
|
50
|
-
} from "./cli-
|
|
50
|
+
} from "./cli-rqqsfz30.js";
|
|
51
51
|
import {
|
|
52
52
|
getChannelBlockReason2
|
|
53
|
-
} from "./cli-
|
|
53
|
+
} from "./cli-mfe7f7b5.js";
|
|
54
54
|
import {
|
|
55
|
-
require_jsonwebtoken,
|
|
56
55
|
require_dist5,
|
|
57
|
-
require_raw_body,
|
|
58
|
-
require_express
|
|
59
|
-
} from "./cli-gzvb3d4a.js";
|
|
60
|
-
import {
|
|
61
|
-
require_dist6,
|
|
62
56
|
require_axios,
|
|
57
|
+
require_dist7,
|
|
63
58
|
require_dist8,
|
|
64
|
-
require_dist9,
|
|
65
59
|
require_src2
|
|
66
|
-
} from "./cli-
|
|
60
|
+
} from "./cli-8wkb09q5.js";
|
|
61
|
+
import {
|
|
62
|
+
require_jsonwebtoken,
|
|
63
|
+
require_dist9,
|
|
64
|
+
require_raw_body,
|
|
65
|
+
require_express
|
|
66
|
+
} from "./cli-1jx0srjt.js";
|
|
67
67
|
import {
|
|
68
68
|
isTerminalTaskStatus,
|
|
69
69
|
init_types
|
|
70
|
-
} from "./cli-
|
|
70
|
+
} from "./cli-fpmsqq59.js";
|
|
71
71
|
import {
|
|
72
72
|
taskAttachmentDisplayUrl,
|
|
73
73
|
init_task_attachment_links
|
|
74
|
-
} from "./cli-
|
|
74
|
+
} from "./cli-x5mq1fyq.js";
|
|
75
75
|
import {
|
|
76
76
|
getSlackConfiguration,
|
|
77
77
|
init_config
|
|
@@ -102,7 +102,7 @@ import {
|
|
|
102
102
|
scrubSecrets,
|
|
103
103
|
scrubObject,
|
|
104
104
|
init_secret_scrubber
|
|
105
|
-
} from "./cli-
|
|
105
|
+
} from "./cli-xf234ws8.js";
|
|
106
106
|
import {
|
|
107
107
|
__toESM,
|
|
108
108
|
__commonJS,
|
|
@@ -1465,8 +1465,8 @@ var require_logger = __commonJS(function(exports) {
|
|
|
1465
1465
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1466
1466
|
exports.LogLevel = undefined;
|
|
1467
1467
|
exports.getLogger = getLogger;
|
|
1468
|
-
var logger_1 =
|
|
1469
|
-
var logger_2 =
|
|
1468
|
+
var logger_1 = require_dist5();
|
|
1469
|
+
var logger_2 = require_dist5();
|
|
1470
1470
|
Object.defineProperty(exports, "LogLevel", { enumerable: true, get: function() {
|
|
1471
1471
|
return logger_2.LogLevel;
|
|
1472
1472
|
} });
|
|
@@ -1754,7 +1754,7 @@ var require_file_state_store = __commonJS(function(exports) {
|
|
|
1754
1754
|
var node_fs_1 = __importDefault(__require("node:fs"));
|
|
1755
1755
|
var node_os_1 = __require("node:os");
|
|
1756
1756
|
var node_path_1 = __importDefault(__require("node:path"));
|
|
1757
|
-
var logger_1 =
|
|
1757
|
+
var logger_1 = require_dist5();
|
|
1758
1758
|
var errors_1 = require_errors2();
|
|
1759
1759
|
var FileStateStore = function() {
|
|
1760
1760
|
function FileStateStore(args) {
|
|
@@ -1988,7 +1988,7 @@ var require_install_provider = __commonJS(function(exports) {
|
|
|
1988
1988
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1989
1989
|
exports.InstallProvider = undefined;
|
|
1990
1990
|
var node_url_1 = __require("node:url");
|
|
1991
|
-
var web_api_1 =
|
|
1991
|
+
var web_api_1 = require_dist8();
|
|
1992
1992
|
var callback_options_1 = require_callback_options();
|
|
1993
1993
|
var default_render_html_for_install_path_1 = __importDefault(require_default_render_html_for_install_path());
|
|
1994
1994
|
var errors_1 = require_errors2();
|
|
@@ -3154,9 +3154,9 @@ var require_HTTPReceiver = __commonJS(function(exports) {
|
|
|
3154
3154
|
var node_http_1 = __require("node:http");
|
|
3155
3155
|
var node_https_1 = __require("node:https");
|
|
3156
3156
|
var node_url_1 = __require("node:url");
|
|
3157
|
-
var logger_1 =
|
|
3157
|
+
var logger_1 = require_dist5();
|
|
3158
3158
|
var oauth_1 = require_dist();
|
|
3159
|
-
var path_to_regexp_1 =
|
|
3159
|
+
var path_to_regexp_1 = require_dist9();
|
|
3160
3160
|
var errors_1 = require_errors();
|
|
3161
3161
|
var httpFunc = __importStar(require_HTTPModuleFunctions());
|
|
3162
3162
|
var HTTPResponseAck_1 = require_HTTPResponseAck();
|
|
@@ -3521,10 +3521,10 @@ var require_SocketModeReceiver = __commonJS(function(exports) {
|
|
|
3521
3521
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3522
3522
|
var node_http_1 = __require("node:http");
|
|
3523
3523
|
var node_url_1 = __require("node:url");
|
|
3524
|
-
var logger_1 =
|
|
3524
|
+
var logger_1 = require_dist5();
|
|
3525
3525
|
var oauth_1 = require_dist();
|
|
3526
3526
|
var socket_mode_1 = require_src2();
|
|
3527
|
-
var path_to_regexp_1 =
|
|
3527
|
+
var path_to_regexp_1 = require_dist9();
|
|
3528
3528
|
var SocketModeFunctions_1 = require_SocketModeFunctions();
|
|
3529
3529
|
var SocketModeResponseAck_1 = require_SocketModeResponseAck();
|
|
3530
3530
|
var custom_routes_1 = require_custom_routes();
|
|
@@ -3944,8 +3944,8 @@ var require_App = __commonJS(function(exports) {
|
|
|
3944
3944
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3945
3945
|
exports.LogLevel = undefined;
|
|
3946
3946
|
var node_util_1 = __importDefault(__require("node:util"));
|
|
3947
|
-
var logger_1 =
|
|
3948
|
-
var web_api_1 =
|
|
3947
|
+
var logger_1 = require_dist5();
|
|
3948
|
+
var web_api_1 = require_dist8();
|
|
3949
3949
|
var axios_1 = __importDefault(require_axios());
|
|
3950
3950
|
var CustomFunction_1 = require_CustomFunction();
|
|
3951
3951
|
var conversation_store_1 = require_conversation_store();
|
|
@@ -3960,7 +3960,7 @@ var require_App = __commonJS(function(exports) {
|
|
|
3960
3960
|
var packageJson = require_package();
|
|
3961
3961
|
var validViewTypes = ["view_closed", "view_submission"];
|
|
3962
3962
|
var tokenUsage = "Apps used in a single workspace can be initialized with a token. Apps used in many workspaces " + "should be initialized with oauth installer options or authorize.";
|
|
3963
|
-
var logger_2 =
|
|
3963
|
+
var logger_2 = require_dist5();
|
|
3964
3964
|
Object.defineProperty(exports, "LogLevel", { enumerable: true, get: function() {
|
|
3965
3965
|
return logger_2.LogLevel;
|
|
3966
3966
|
} });
|
|
@@ -4754,7 +4754,7 @@ var require_ExpressReceiver = __commonJS(function(exports) {
|
|
|
4754
4754
|
var node_http_1 = __require("node:http");
|
|
4755
4755
|
var node_https_1 = __require("node:https");
|
|
4756
4756
|
var node_querystring_1 = __importDefault(__require("node:querystring"));
|
|
4757
|
-
var logger_1 =
|
|
4757
|
+
var logger_1 = require_dist5();
|
|
4758
4758
|
var oauth_1 = require_dist();
|
|
4759
4759
|
var express_1 = __importStar(require_express());
|
|
4760
4760
|
var raw_body_1 = __importDefault(require_raw_body());
|
|
@@ -5105,7 +5105,7 @@ var require_AwsLambdaReceiver = __commonJS(function(exports) {
|
|
|
5105
5105
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5106
5106
|
var node_crypto_1 = __importDefault(__require("node:crypto"));
|
|
5107
5107
|
var node_querystring_1 = __importDefault(__require("node:querystring"));
|
|
5108
|
-
var logger_1 =
|
|
5108
|
+
var logger_1 = require_dist5();
|
|
5109
5109
|
var tsscmp_1 = __importDefault(require_lib());
|
|
5110
5110
|
var errors_1 = require_errors();
|
|
5111
5111
|
|
|
@@ -5857,8 +5857,8 @@ var require_dist4 = __commonJS(function(exports) {
|
|
|
5857
5857
|
Object.defineProperty(exports, "FileInstallationStore", { enumerable: true, get: function() {
|
|
5858
5858
|
return oauth_1.FileInstallationStore;
|
|
5859
5859
|
} });
|
|
5860
|
-
exports.types = __importStar(
|
|
5861
|
-
exports.webApi = __importStar(
|
|
5860
|
+
exports.types = __importStar(require_dist7());
|
|
5861
|
+
exports.webApi = __importStar(require_dist8());
|
|
5862
5862
|
});
|
|
5863
5863
|
|
|
5864
5864
|
// src/slack/app.ts
|
|
@@ -6235,7 +6235,7 @@ async function initOtel(serviceRole = process.env.AGENT_ROLE || "api") {
|
|
|
6235
6235
|
return;
|
|
6236
6236
|
initialized = true;
|
|
6237
6237
|
try {
|
|
6238
|
-
const impl = await import("./otel-impl-
|
|
6238
|
+
const impl = await import("./otel-impl-tfa12080.js");
|
|
6239
6239
|
await impl.boot(serviceRole, {
|
|
6240
6240
|
exportConsoleLogs: serviceRole === "api" && isApiLogExportEnabled()
|
|
6241
6241
|
});
|
|
@@ -6496,12 +6496,21 @@ function splitSlackSectionText(text) {
|
|
|
6496
6496
|
}
|
|
6497
6497
|
if (splitIdx < MAX_SECTION_LENGTH / 2) {
|
|
6498
6498
|
splitIdx = MAX_SECTION_LENGTH;
|
|
6499
|
+
const prev = remaining.charCodeAt(splitIdx - 1);
|
|
6500
|
+
if (prev >= 55296 && prev <= 56319)
|
|
6501
|
+
splitIdx -= 1;
|
|
6499
6502
|
}
|
|
6500
6503
|
chunks.push(remaining.slice(0, splitIdx));
|
|
6501
6504
|
remaining = remaining.slice(splitIdx).trimStart();
|
|
6502
6505
|
}
|
|
6503
6506
|
return chunks;
|
|
6504
6507
|
}
|
|
6508
|
+
var SLACK_SECTION_TEXT_LIMIT = 3000;
|
|
6509
|
+
function buildMrkdwnSectionBlocks(text) {
|
|
6510
|
+
if (text.length <= SLACK_SECTION_TEXT_LIMIT)
|
|
6511
|
+
return [sectionBlock(text)];
|
|
6512
|
+
return splitSlackSectionText(text).map((chunk) => sectionBlock(chunk));
|
|
6513
|
+
}
|
|
6505
6514
|
function contextBlock(...elements) {
|
|
6506
6515
|
return {
|
|
6507
6516
|
type: "context",
|
|
@@ -10071,17 +10080,17 @@ async function initSlackApp2() {
|
|
|
10071
10080
|
});
|
|
10072
10081
|
initialized2 = true;
|
|
10073
10082
|
app.use(slackInboundOutcomeMiddleware());
|
|
10074
|
-
const { registerMessageHandler } = await import("./handlers-
|
|
10075
|
-
const { registerCommandHandler } = await import("./commands-
|
|
10076
|
-
const { registerActionHandlers } = await import("./actions-
|
|
10077
|
-
const { registerWorkObjectHandlers } = await import("./work-objects-
|
|
10083
|
+
const { registerMessageHandler } = await import("./handlers-mqrym347.js");
|
|
10084
|
+
const { registerCommandHandler } = await import("./commands-7ems2p13.js");
|
|
10085
|
+
const { registerActionHandlers } = await import("./actions-jhtqdw69.js");
|
|
10086
|
+
const { registerWorkObjectHandlers } = await import("./work-objects-f722h263.js");
|
|
10078
10087
|
registerMessageHandler(app);
|
|
10079
10088
|
registerCommandHandler(app);
|
|
10080
10089
|
registerActionHandlers(app);
|
|
10081
10090
|
registerWorkObjectHandlers(app);
|
|
10082
|
-
const { createAssistant } = await import("./assistant-
|
|
10091
|
+
const { createAssistant } = await import("./assistant-3k22sbsq.js");
|
|
10083
10092
|
app.assistant(createAssistant());
|
|
10084
|
-
const { isBlockExternalEnabled, scanExternalChannelsOnBoot } = await import("./external-channel-
|
|
10093
|
+
const { isBlockExternalEnabled, scanExternalChannelsOnBoot } = await import("./external-channel-5b23fv8z.js");
|
|
10085
10094
|
if (isBlockExternalEnabled()) {
|
|
10086
10095
|
scanExternalChannelsOnBoot(app.client).catch((error) => {
|
|
10087
10096
|
console.error("[Slack] External channel boot scan failed:", error);
|
|
@@ -10094,7 +10103,7 @@ async function startSlackApp2() {
|
|
|
10094
10103
|
await initSlackApp2();
|
|
10095
10104
|
}
|
|
10096
10105
|
if (app) {
|
|
10097
|
-
const { isSlackRenderV2Enabled } = await import("./render-v2-
|
|
10106
|
+
const { isSlackRenderV2Enabled } = await import("./render-v2-emawjvc4.js");
|
|
10098
10107
|
if (isSlackRenderV2Enabled())
|
|
10099
10108
|
await ensureSlackRenderV2Activation2();
|
|
10100
10109
|
await app.start();
|
|
@@ -10117,4 +10126,4 @@ async function stopSlackApp2() {
|
|
|
10117
10126
|
initialized2 = false;
|
|
10118
10127
|
}
|
|
10119
10128
|
|
|
10120
|
-
export { require_dist4, getSlackConnectionState, noteSlackInboundSideEffect, ignoreSlackInbound, reportSlackInboundFailure, isAdmittedSlackDelivery, getSlackInboundDiagnostics, isPollTracingEnabled, initOtel, withSpan2, startSpan2, withSpanContext2, withRemoteContext2, injectTraceContext2, recordSessionCost2, recordDbRetentionSweep2, recordDbRetentionStatement2, slackTaskOutput, ackSlackMessage, getTaskLink, getTaskUrl, markdownToSlack, buildCaptionBlock, buildCancelledBlocks, buildBufferFlushBlocks, buildTreeBlocks, taskCitationIssues, stripInvalidTaskCitations, taskCitationSourceGroups, renderTaskCitations, taskCitationWarnings, MAX_TASK_CITATIONS, CitationInputSchema, TaskCitationSchema, upsertTaskCitations, getTaskCitations, getTaskCitationsForTasks, hasTaskCitationCheckRefusal, initialize, ensure, getAgentDisplayName, getAgentEmoji, markSlackSessionProcessing, isSlackRenderV2Enabled2, ensureSlackThreadTree2, processSlackRenderV22, registerTreeMessage, getSlackApp2, initSlackApp2, startSlackApp2, stopSlackApp2 };
|
|
10129
|
+
export { require_dist4, getSlackConnectionState, noteSlackInboundSideEffect, ignoreSlackInbound, reportSlackInboundFailure, isAdmittedSlackDelivery, getSlackInboundDiagnostics, isPollTracingEnabled, initOtel, withSpan2, startSpan2, withSpanContext2, withRemoteContext2, injectTraceContext2, recordSessionCost2, recordDbRetentionSweep2, recordDbRetentionStatement2, slackTaskOutput, ackSlackMessage, getTaskLink, getTaskUrl, markdownToSlack, buildMrkdwnSectionBlocks, buildCaptionBlock, buildCancelledBlocks, buildBufferFlushBlocks, buildTreeBlocks, taskCitationIssues, stripInvalidTaskCitations, taskCitationSourceGroups, renderTaskCitations, taskCitationWarnings, MAX_TASK_CITATIONS, CitationInputSchema, TaskCitationSchema, upsertTaskCitations, getTaskCitations, getTaskCitationsForTasks, hasTaskCitationCheckRefusal, initialize, ensure, getAgentDisplayName, getAgentEmoji, markSlackSessionProcessing, isSlackRenderV2Enabled2, ensureSlackThreadTree2, processSlackRenderV22, registerTreeMessage, getSlackApp2, initSlackApp2, startSlackApp2, stopSlackApp2 };
|
|
@@ -8,11 +8,11 @@ import {
|
|
|
8
8
|
resolveConfigValueOrThrow,
|
|
9
9
|
resolveHeadersOrThrow,
|
|
10
10
|
FileAuthStorageBackend
|
|
11
|
-
} from "./cli-
|
|
11
|
+
} from "./cli-d2mb5s8a.js";
|
|
12
12
|
import {
|
|
13
13
|
oauthSuccessHtml,
|
|
14
14
|
oauthErrorHtml
|
|
15
|
-
} from "./cli-
|
|
15
|
+
} from "./cli-8nyhf7za.js";
|
|
16
16
|
import {
|
|
17
17
|
__toESM
|
|
18
18
|
} from "./cli-242037k3.js";
|
|
@@ -8,12 +8,12 @@ import {
|
|
|
8
8
|
} from "./cli-mhywgrrz.js";
|
|
9
9
|
import {
|
|
10
10
|
init_templates3
|
|
11
|
-
} from "./cli-
|
|
11
|
+
} from "./cli-0ebey9hg.js";
|
|
12
12
|
import {
|
|
13
13
|
resolveTemplateAsync,
|
|
14
14
|
init_resolver,
|
|
15
15
|
init_session_templates
|
|
16
|
-
} from "./cli-
|
|
16
|
+
} from "./cli-tx00c0h6.js";
|
|
17
17
|
import {
|
|
18
18
|
MAX_PROFILE_FILE_LENGTH,
|
|
19
19
|
getAppUrl,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
import {
|
|
25
25
|
scrubSecrets,
|
|
26
26
|
init_secret_scrubber
|
|
27
|
-
} from "./cli-
|
|
27
|
+
} from "./cli-xf234ws8.js";
|
|
28
28
|
import {
|
|
29
29
|
__esm
|
|
30
30
|
} from "./cli-242037k3.js";
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
CONTEXT_FORMULA,
|
|
3
3
|
getContextWindowSize,
|
|
4
4
|
clampContextPercent
|
|
5
|
-
} from "./cli-
|
|
5
|
+
} from "./cli-a5ebc95n.js";
|
|
6
6
|
import {
|
|
7
7
|
swarmRuntimeInstanceId
|
|
8
8
|
} from "./cli-7a91w22y.js";
|
|
@@ -23,10 +23,10 @@ import {
|
|
|
23
23
|
autoIndexMemoryFile,
|
|
24
24
|
fetchConcurrentContext,
|
|
25
25
|
summarizeTranscript
|
|
26
|
-
} from "./cli-
|
|
26
|
+
} from "./cli-zfg9enh9.js";
|
|
27
27
|
import {
|
|
28
28
|
applyReasoningEffort
|
|
29
|
-
} from "./cli-
|
|
29
|
+
} from "./cli-bn0rewsy.js";
|
|
30
30
|
import {
|
|
31
31
|
fetchInstalledMcpServers
|
|
32
32
|
} from "./cli-bst1vp7e.js";
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
openAICompatibleKeyLabels,
|
|
36
36
|
validateOpencodeCredentials,
|
|
37
37
|
init_credentials
|
|
38
|
-
} from "./cli-
|
|
38
|
+
} from "./cli-zw88zjba.js";
|
|
39
39
|
import {
|
|
40
40
|
DEFAULT_OPENROUTER_BASE_URL,
|
|
41
41
|
getOpenRouterBaseUrl,
|
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
scrubSecrets,
|
|
51
51
|
registerVolatileSecret,
|
|
52
52
|
init_secret_scrubber
|
|
53
|
-
} from "./cli-
|
|
53
|
+
} from "./cli-xf234ws8.js";
|
|
54
54
|
import {
|
|
55
55
|
openAICompatibleProviders,
|
|
56
56
|
providerKeyVars,
|
|
@@ -61,7 +61,7 @@ import {
|
|
|
61
61
|
openAICompatibleProvider,
|
|
62
62
|
providerForKeyVar,
|
|
63
63
|
init_src2
|
|
64
|
-
} from "./cli-
|
|
64
|
+
} from "./cli-nwyw3zhg.js";
|
|
65
65
|
|
|
66
66
|
// src/providers/opencode-adapter.ts
|
|
67
67
|
init_src2();
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ampBillsCacheWrites,
|
|
3
3
|
resolveAmpModel
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-sv5gb0yb.js";
|
|
5
5
|
import {
|
|
6
6
|
CONTEXT_FORMULA,
|
|
7
7
|
computeContextUsedUnified,
|
|
8
8
|
clampContextPercent
|
|
9
|
-
} from "./cli-
|
|
9
|
+
} from "./cli-a5ebc95n.js";
|
|
10
10
|
import {
|
|
11
11
|
swarmRuntimeInstanceId
|
|
12
12
|
} from "./cli-7a91w22y.js";
|
|
@@ -23,12 +23,12 @@ import {
|
|
|
23
23
|
} from "./cli-jc1g9ndz.js";
|
|
24
24
|
import {
|
|
25
25
|
applyReasoningEffort
|
|
26
|
-
} from "./cli-
|
|
26
|
+
} from "./cli-bn0rewsy.js";
|
|
27
27
|
import {
|
|
28
28
|
scrubSecrets,
|
|
29
29
|
registerVolatileSecret,
|
|
30
30
|
init_secret_scrubber
|
|
31
|
-
} from "./cli-
|
|
31
|
+
} from "./cli-xf234ws8.js";
|
|
32
32
|
|
|
33
33
|
// src/providers/amp-adapter.ts
|
|
34
34
|
import { existsSync, readFileSync, renameSync, rmSync, writeFileSync } from "node:fs";
|
|
@@ -36,7 +36,7 @@ import { mkdir, mkdtemp, rm, writeFile } from "node:fs/promises";
|
|
|
36
36
|
import { tmpdir } from "node:os";
|
|
37
37
|
import { join } from "node:path";
|
|
38
38
|
init_secret_scrubber();
|
|
39
|
-
var AMP_PACKAGE = "@ampcode/cli@0.0.
|
|
39
|
+
var AMP_PACKAGE = "@ampcode/cli@0.0.1792368068-g91990d";
|
|
40
40
|
var AMP_MCP_SERVER_NAME = "agent-swarm";
|
|
41
41
|
var AMP_PLUGIN_MODE_KEY = "agent-swarm";
|
|
42
42
|
var AMP_LIVE_TEST_TIMEOUT_MS = 5000;
|