@desplega.ai/agent-swarm 2.4.0 → 2.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/{acp-adapter-kedstxx6.js → acp-adapter-dv7hmx4r.js} +9 -9
- package/dist/{actions-vget6r1k.js → actions-51nc1gny.js} +21 -21
- package/dist/{amp-adapter-xeb5mktv.js → amp-adapter-abp5tdx8.js} +4 -4
- package/dist/{app-mqap8t8m.js → app-9h14qvr6.js} +3 -3
- package/dist/{assistant-h0gv97mv.js → assistant-wv1gz3mt.js} +22 -22
- package/dist/{boot-reembed-qr8a894z.js → boot-reembed-6yn53ms9.js} +1 -1
- package/dist/{boot-reembed-rj85jjhw.js → boot-reembed-7fcka4z5.js} +1 -1
- package/dist/{boot-scrub-sweep-eyfvn6v9.js → boot-scrub-sweep-pm1580ax.js} +4 -4
- package/dist/{boot-seeds-xs9a8dx1.js → boot-seeds-g5hfc1x8.js} +4 -4
- package/dist/{claude-adapter-bm23cye7.js → claude-adapter-gf3kxhf0.js} +9 -9
- package/dist/{claude-managed-adapter-1mwrsm9d.js → claude-managed-adapter-h2y889ge.js} +2 -2
- package/dist/{claude-managed-setup-gkfgks4j.js → claude-managed-setup-h00hsgtz.js} +2 -2
- package/dist/{claude-sdk-session-apb4ypz3.js → claude-sdk-session-s2k1qd8y.js} +13 -13
- package/dist/{cli-tj4j2ts4.js → cli-02qm7src.js} +8 -8
- package/dist/{cli-1cevz46c.js → cli-0qvtffe9.js} +6 -6
- package/dist/{cli-avmqhatn.js → cli-10hhg0km.js} +8 -8
- package/dist/{cli-7gh7020n.js → cli-1dmcq2eh.js} +1 -1
- package/dist/{cli-kz116kvw.js → cli-239yjk27.js} +7 -7
- package/dist/{cli-7ayprxp7.js → cli-2dfbv8qr.js} +8 -0
- package/dist/{cli-a49vpbf3.js → cli-5kqnemen.js} +1 -1
- package/dist/{cli-x719j3vs.js → cli-5rk36sjf.js} +442 -205
- package/dist/{cli-fb6t92v8.js → cli-6x9ma5w5.js} +1 -1
- package/dist/{cli-c8fwpgqb.js → cli-7225gwj7.js} +2 -2
- package/dist/{cli-5s5hx57y.js → cli-7awf1fp8.js} +1 -1
- package/dist/{cli-bn26xbcs.js → cli-8nyhf7za.js} +1 -1
- package/dist/{cli-ywyrffff.js → cli-8sxqsbbq.js} +1 -1
- package/dist/{cli-rsd7ga7v.js → cli-8zwe9mpk.js} +11 -11
- package/dist/{cli-y83zk5sb.js → cli-a0kcty51.js} +4 -4
- package/dist/{cli-8b9wvjps.js → cli-a4gvwttf.js} +4 -4
- package/dist/{cli-jhp7w1fy.js → cli-a5ebc95n.js} +2 -2
- package/dist/{cli-mvg2hf8p.js → cli-ahtpy9kf.js} +14 -7
- package/dist/{cli-x1p5dhq2.js → cli-bcj753sq.js} +3 -3
- package/dist/{cli-p22zdvnt.js → cli-bn0rewsy.js} +3 -3
- package/dist/{cli-p1m2b6gc.js → cli-d2mb5s8a.js} +7 -7
- package/dist/{cli-rg7ntypm.js → cli-d3qqdy4c.js} +456 -94
- package/dist/{cli-c5sbmw1v.js → cli-d82btycs.js} +94 -15
- package/dist/{cli-02vhhssk.js → cli-efaqv1c7.js} +5 -5
- package/dist/{cli-vjfpshn3.js → cli-ejs3m1sx.js} +1 -1
- package/dist/{cli-kk2r80n5.js → cli-faypxz7q.js} +4 -4
- package/dist/{cli-a1esmmee.js → cli-fpmsqq59.js} +7 -2
- package/dist/{cli-wrv09v7q.js → cli-ftyypbg5.js} +1 -1
- package/dist/{cli-zvze9rbm.js → cli-fyzjmseb.js} +3 -3
- package/dist/{cli-8rwvksbc.js → cli-g0hgtz4p.js} +5 -5
- package/dist/{cli-nrrg0fvy.js → cli-h38rjv87.js} +133 -12
- package/dist/{cli-tg9ksbn8.js → cli-h93c9vb3.js} +2 -2
- package/dist/{cli-eqgfs202.js → cli-hqhzg1qq.js} +2 -2
- package/dist/{cli-bhwa8rzc.js → cli-hyfw2j1e.js} +13 -12
- package/dist/{cli-3wjs22x3.js → cli-j4rqdf2n.js} +2 -2
- package/dist/{cli-6ftrrwm1.js → cli-n85dqg6d.js} +5 -5
- package/dist/{cli-8cxkw1f5.js → cli-nmqdc2t3.js} +2 -2
- package/dist/{cli-4fhyq711.js → cli-nn47d7e8.js} +13 -13
- package/dist/{cli-x3en6ct3.js → cli-nwyw3zhg.js} +1 -1
- package/dist/{cli-3avfh5az.js → cli-pemywhfq.js} +2 -2
- package/dist/{cli-xfe63zx3.js → cli-pkht5hap.js} +2 -2
- package/dist/{cli-sppc0cmw.js → cli-pnp2j5zg.js} +2 -2
- package/dist/{cli-wk8ccrz6.js → cli-pw7v69vp.js} +2 -2
- package/dist/{cli-tgvpmnwz.js → cli-r99kc9yq.js} +5 -5
- package/dist/{cli-bfc3k1x5.js → cli-rdyw3mct.js} +9 -9
- package/dist/{cli-b80a1100.js → cli-s6vr7r2d.js} +2 -2
- package/dist/{cli-zv4vy2b0.js → cli-s95dknxh.js} +1 -1
- package/dist/{cli-ttaz6c7m.js → cli-saw9a6f6.js} +6 -5
- package/dist/{cli-mz1ezzzh.js → cli-shvfedvm.js} +3 -3
- package/dist/{cli-rdr166ht.js → cli-smvcw9z5.js} +1 -1
- package/dist/{cli-2rwet3r7.js → cli-sv5gb0yb.js} +1 -1
- package/dist/{cli-5ff2sjyt.js → cli-t30yj95q.js} +2 -2
- package/dist/{cli-ptkpaqfy.js → cli-wt645v7q.js} +1 -1
- package/dist/{cli-f3nx1h8z.js → cli-wxbn3yfx.js} +2 -2
- package/dist/{cli-wyrr38xm.js → cli-x5mq1fyq.js} +1 -1
- package/dist/{cli-ccn0eybf.js → cli-xbzvet96.js} +6 -6
- package/dist/{cli-4mkvwgzr.js → cli-xf234ws8.js} +1 -1
- package/dist/{cli-nme7wery.js → cli-y2x52gs2.js} +46 -13
- package/dist/{cli-ffbrkh1r.js → cli-y8n5k515.js} +46 -38
- package/dist/{cli-ecshf504.js → cli-z4wd2ftv.js} +7 -7
- package/dist/{cli-dsgj3e7a.js → cli-zfg9enh9.js} +2 -2
- package/dist/{cli-yxqag76b.js → cli-zw88zjba.js} +1 -1
- package/dist/cli.js +20 -20
- package/dist/{codex-adapter-pp2gq8gr.js → codex-adapter-ttygw382.js} +6 -6
- package/dist/{codex-hook-qwzccd64.js → codex-hook-x7nejyrr.js} +7 -4
- package/dist/{codex-login-35p4sk85.js → codex-login-m819c41r.js} +1 -1
- package/dist/{codex-session-runner-0vzn09t8.js → codex-session-runner-60b58vv3.js} +7 -7
- package/dist/{commands-psqhkttb.js → commands-edmdwa4x.js} +2 -2
- package/dist/{controller-t20vz2k8.js → controller-m263fg43.js} +4 -4
- package/dist/{controllers-connect-gkxmqw9d.js → controllers-connect-5fym8sw1.js} +23 -23
- package/dist/{cursor-adapter-3v542qe5.js → cursor-adapter-cz6nm6mj.js} +3 -3
- package/dist/{db-nc1rd869.js → db-2y0mgstc.js} +3 -3
- package/dist/{db-2xbyenjr.js → db-nn0hcmx5.js} +6 -2
- package/dist/{devin-adapter-7egzmt0k.js → devin-adapter-zgqadvnm.js} +1 -1
- package/dist/{dispatcher-ewceb8ts.js → dispatcher-0a9wwjcx.js} +20 -20
- package/dist/{docker-njavd3fb.js → docker-fkgtr75t.js} +2 -2
- package/dist/{dsh-adapter-75xwh78t.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-xsc47jwf.js → easter-egg-3d-5cgynaja.js} +1 -1
- package/dist/{event-bus-101fenkh.js → event-bus-9vpk8gmq.js} +1 -1
- package/dist/{execute-gzmw1mnw.js → execute-t4e6m3rw.js} +1 -1
- package/dist/{external-channel-a5dsmxn4.js → external-channel-zhvt95n3.js} +2 -2
- package/dist/{grok-adapter-vj88xr23.js → grok-adapter-qnr1hp2y.js} +10 -10
- package/dist/handlers-dkcarkd0.js +39 -0
- package/dist/{heartbeat-t2m9r3wa.js → heartbeat-gz97r7ac.js} +23 -23
- package/dist/{hook-xa677f8r.js → hook-1mmdgjqs.js} +16 -9
- package/dist/{hook-8femx1bg.js → hook-x8rthca4.js} +6 -6
- package/dist/{http-xpmmq028.js → http-r8f85xr9.js} +274 -160
- package/dist/index-5jecgp3n.js +41 -0
- package/dist/index-aex0eba9.js +40 -0
- package/dist/{index-syztqdt6.js → index-g6tbb6ve.js} +1 -1
- package/dist/{index-cdzyfrsp.js → index-smxyk04s.js} +1 -1
- package/dist/{index-dg2tmj99.js → index-vzvfqzfj.js} +20 -20
- package/dist/{index-s7ckdajq.js → index-y7rbcrc1.js} +10 -10
- package/dist/{keepalive-3nr4st3r.js → keepalive-64c0f34c.js} +4 -4
- package/dist/lead-b1da0f97.js +78 -0
- package/dist/{maintenance-verwpe2c.js → maintenance-mnxpar12.js} +1 -1
- package/dist/{oauth-refresh-sweep-9q2t0y3q.js → oauth-refresh-sweep-36hs2v4h.js} +3 -3
- package/dist/{onboard-aytqedmq.js → onboard-xes8de61.js} +3 -3
- package/dist/{opencode-adapter-f4hryjny.js → opencode-adapter-3s7ax02e.js} +7 -7
- package/dist/{otel-impl-hckw4wt1.js → otel-impl-fzc57kcq.js} +2 -2
- package/dist/{pi-mono-adapter-hxby0ce1.js → pi-mono-adapter-ytp7gz8b.js} +22 -11
- package/dist/{pricing-refresh-5nvme3sm.js → pricing-refresh-1nek2w7b.js} +3 -3
- package/dist/{rbac-roles-vbpy21mg.js → rbac-roles-sqefb5hw.js} +2 -2
- package/dist/{rbac-roles-pd8c26m1.js → rbac-roles-ttyfaep2.js} +1 -1
- package/dist/{render-v2-7nqgvk2q.js → render-v2-vb527jwn.js} +3 -3
- package/dist/{resume-b6djcj3c.js → resume-jcdzg1bn.js} +10 -8
- package/dist/{runtime-txrxc9za.js → runtime-xe3aqy4x.js} +1 -1
- package/dist/{session-access-fc3f9y12.js → session-access-zsp4wsp0.js} +4 -4
- package/dist/{setup-n39szm6b.js → setup-1nb2zqd3.js} +1 -1
- package/dist/{virtual-modules-wyp2k6z3.js → virtual-modules-4r3zkc20.js} +2 -2
- package/dist/{work-objects-jem2fre0.js → work-objects-61w08fwr.js} +23 -23
- package/dist/worker-c1e68hpa.js +78 -0
- package/dist/{x-8ewt8gxn.js → x-y45mthwn.js} +2 -2
- package/openapi.json +491 -52
- package/package.json +3 -3
- package/src/apps/action-runner.ts +146 -0
- package/src/apps/catalog.generated.json +3 -2
- package/src/apps/definition.ts +152 -4
- package/src/apps/row-store.ts +23 -9
- package/src/apps/schema-migrate.ts +14 -6
- package/src/apps/script-types.ts +2 -1
- package/src/apps/sync.ts +20 -19
- package/src/be/db/tasks/read.ts +112 -0
- package/src/be/db.ts +16 -4
- package/src/be/fleet-benchmark-stats.ts +10 -5
- package/src/be/models-catalog.ts +4 -0
- package/src/be/onboarding.ts +6 -0
- package/src/be/scripts/typecheck.ts +13 -0
- package/src/be/swarm-config-guard.ts +25 -1
- package/src/be/telemetry-enable.ts +1 -1
- package/src/commands/provider-credentials.ts +12 -2
- package/src/commands/runner.ts +3 -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/agents.ts +1 -0
- package/src/http/apps.ts +99 -183
- package/src/http/fleet-benchmark.ts +79 -30
- package/src/http/global-config.ts +7 -0
- package/src/http/ranking.ts +24 -40
- package/src/http/status.ts +49 -43
- package/src/http/tasks.ts +49 -1
- package/src/http/telemetry-ui.ts +1 -1
- package/src/http/used-by.ts +55 -19
- package/src/http/users.ts +2 -2
- package/src/providers/acp-targets.ts +1 -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 +5 -33
- 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/telemetry-context.ts +19 -1
- package/src/telemetry-contract/EVENTS.md +42 -8
- package/src/telemetry-contract/SOURCE.json +6 -5
- package/src/telemetry-contract/catalog.json +225 -5
- package/src/telemetry-contract/ranking/fixtures/valid/no-claim.json +10 -0
- package/src/telemetry-contract/ranking/listing.v1.schema.json +2 -2
- package/src/telemetry-contract/types.gen.ts +225 -27
- 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 +29 -6
- package/src/tests/app-action-run-tool.test.ts +178 -0
- package/src/tests/app-row-tools.test.ts +385 -0
- package/src/tests/apps-json-column.test.ts +611 -0
- package/src/tests/apps-script-types.test.ts +2 -0
- package/src/tests/apps-sync-engine.test.ts +42 -0
- package/src/tests/check-pr-body.test.ts +0 -23
- package/src/tests/credential-check.test.ts +38 -0
- package/src/tests/db-task-read-contract.test.ts +4 -0
- package/src/tests/db-task-write-contract.test.ts +2 -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-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 +8 -23
- package/src/tests/ranking-route.test.ts +49 -47
- package/src/tests/reasoning-effort.test.ts +39 -3
- package/src/tests/runner-harness-telemetry-env.test.ts +62 -1
- package/src/tests/status.test.ts +158 -9
- package/src/tests/swarm-tool-result-gate.test.ts +2 -4
- package/src/tests/task-lineage.test.ts +180 -0
- package/src/tests/telemetry-context.test.ts +128 -2
- package/src/tests/telemetry-init.test.ts +62 -5
- 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 +144 -10
- package/src/tests/user-token-rest-auth.test.ts +38 -0
- 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 +239 -0
- package/src/tools/model-catalog/index.ts +1 -1
- 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 +17 -0
- package/src/utils/company-profile.ts +24 -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 +44 -4
- package/templates/skills/apps/content.md +44 -4
- package/dist/handlers-zbs90bny.js +0 -39
- package/dist/index-8pwc1jc8.js +0 -40
- package/dist/index-nxa6me0q.js +0 -41
- package/dist/lead-td8h2sfn.js +0 -78
- package/dist/worker-wr6xgfr2.js +0 -78
- package/src/tests/check-ranking-entry.test.ts +0 -146
package/README.md
CHANGED
|
@@ -118,7 +118,7 @@ AgentMail archives verified inbound deliveries before acknowledging them and ret
|
|
|
118
118
|
- [Getting started](https://docs.agent-swarm.dev/docs/getting-started) · [Architecture](https://docs.agent-swarm.dev/docs/architecture/overview) · [Playbooks](https://docs.agent-swarm.dev/docs/playbooks) · [CLI](https://docs.agent-swarm.dev/docs/reference/cli) · [API reference](https://docs.agent-swarm.dev/docs/api-reference)
|
|
119
119
|
- [Orchestration patterns](./docs/orchestration-patterns.md) — Five patterns for delegating, fanning out, gating on humans, retrying, and persisting multi-step agent work
|
|
120
120
|
- [Agent templates](https://templates.agent-swarm.dev)
|
|
121
|
-
- [Public ranking](
|
|
121
|
+
- [Public ranking](https://docs.agent-swarm.dev/docs/reference/telemetry#public-ranking): opt in with **Get ranked** (Settings → Configuration → Branding) to rank your install by tokens used on [agent-swarm.dev/ranking](https://agent-swarm.dev/ranking). It shows at the next hourly refresh. Token totals are public and exact; telemetry, the organization name and website must be set.
|
|
122
122
|
- Help: [contact@desplega.sh](mailto:contact@desplega.sh) · [Discord](https://discord.gg/KZgfyyDVZa)
|
|
123
123
|
|
|
124
124
|
## Contributing
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ACPAdapter2
|
|
3
|
-
} from "./cli-
|
|
4
|
-
import"./cli-
|
|
5
|
-
import"./cli-
|
|
3
|
+
} from "./cli-z4wd2ftv.js";
|
|
4
|
+
import"./cli-xbzvet96.js";
|
|
5
|
+
import"./cli-zfg9enh9.js";
|
|
6
6
|
import"./cli-4bd1rck6.js";
|
|
7
7
|
import"./cli-jc1g9ndz.js";
|
|
8
|
-
import"./cli-
|
|
9
|
-
import"./cli-
|
|
8
|
+
import"./cli-a5ebc95n.js";
|
|
9
|
+
import"./cli-pnp2j5zg.js";
|
|
10
10
|
import"./cli-0726awxw.js";
|
|
11
|
-
import"./cli-
|
|
12
|
-
import"./cli-
|
|
11
|
+
import"./cli-5kqnemen.js";
|
|
12
|
+
import"./cli-bn0rewsy.js";
|
|
13
13
|
import"./cli-v1sjhn52.js";
|
|
14
14
|
import"./cli-3h26v7yj.js";
|
|
15
15
|
import"./cli-7a91w22y.js";
|
|
16
16
|
import"./cli-3ggwdtb0.js";
|
|
17
|
-
import"./cli-
|
|
18
|
-
import"./cli-
|
|
17
|
+
import"./cli-8nyhf7za.js";
|
|
18
|
+
import"./cli-ejs3m1sx.js";
|
|
19
19
|
import"./cli-13p25grh.js";
|
|
20
20
|
import"./cli-0adyhvq2.js";
|
|
21
21
|
import"./cli-445c1vp7.js";
|
|
@@ -6,16 +6,16 @@ import {
|
|
|
6
6
|
getTaskById2,
|
|
7
7
|
cancelTask2,
|
|
8
8
|
init_db3
|
|
9
|
-
} from "./cli-
|
|
10
|
-
import"./cli-
|
|
11
|
-
import"./cli-
|
|
12
|
-
import"./cli-
|
|
9
|
+
} from "./cli-d3qqdy4c.js";
|
|
10
|
+
import"./cli-sv5gb0yb.js";
|
|
11
|
+
import"./cli-h93c9vb3.js";
|
|
12
|
+
import"./cli-saw9a6f6.js";
|
|
13
13
|
import {
|
|
14
14
|
createTaskWithSiblingAwareness
|
|
15
|
-
} from "./cli-
|
|
16
|
-
import"./cli-
|
|
17
|
-
import"./cli-
|
|
18
|
-
import"./cli-
|
|
15
|
+
} from "./cli-5rk36sjf.js";
|
|
16
|
+
import"./cli-y2x52gs2.js";
|
|
17
|
+
import"./cli-h38rjv87.js";
|
|
18
|
+
import"./cli-s6vr7r2d.js";
|
|
19
19
|
import"./cli-3ggwdtb0.js";
|
|
20
20
|
import {
|
|
21
21
|
noteSlackInboundSideEffect,
|
|
@@ -26,32 +26,32 @@ import {
|
|
|
26
26
|
getAgentEmoji,
|
|
27
27
|
isSlackRenderV2Enabled2,
|
|
28
28
|
ensureSlackThreadTree2
|
|
29
|
-
} from "./cli-
|
|
29
|
+
} from "./cli-nn47d7e8.js";
|
|
30
30
|
import {
|
|
31
31
|
EXTERNAL_CHANNEL_BLOCKED_REPLY2,
|
|
32
32
|
shouldBlockChannel2
|
|
33
|
-
} from "./cli-
|
|
34
|
-
import"./cli-
|
|
35
|
-
import"./cli-
|
|
33
|
+
} from "./cli-pkht5hap.js";
|
|
34
|
+
import"./cli-02qm7src.js";
|
|
35
|
+
import"./cli-8nyhf7za.js";
|
|
36
36
|
import"./cli-kvzgak7c.js";
|
|
37
37
|
import"./cli-445c1vp7.js";
|
|
38
|
-
import"./cli-
|
|
39
|
-
import"./cli-
|
|
38
|
+
import"./cli-ejs3m1sx.js";
|
|
39
|
+
import"./cli-wt645v7q.js";
|
|
40
40
|
import"./cli-qz93y3x5.js";
|
|
41
|
-
import"./cli-
|
|
42
|
-
import"./cli-
|
|
41
|
+
import"./cli-7awf1fp8.js";
|
|
42
|
+
import"./cli-faypxz7q.js";
|
|
43
43
|
import"./cli-7a91w22y.js";
|
|
44
44
|
import"./cli-qje9k2nh.js";
|
|
45
|
-
import"./cli-
|
|
46
|
-
import"./cli-
|
|
45
|
+
import"./cli-n85dqg6d.js";
|
|
46
|
+
import"./cli-efaqv1c7.js";
|
|
47
47
|
import"./cli-3h26v7yj.js";
|
|
48
|
-
import"./cli-
|
|
48
|
+
import"./cli-smvcw9z5.js";
|
|
49
49
|
import {
|
|
50
50
|
resolveSlackUserId
|
|
51
|
-
} from "./cli-
|
|
51
|
+
} from "./cli-bcj753sq.js";
|
|
52
52
|
import"./cli-13p25grh.js";
|
|
53
53
|
import"./cli-0adyhvq2.js";
|
|
54
|
-
import"./cli-
|
|
54
|
+
import"./cli-nmqdc2t3.js";
|
|
55
55
|
|
|
56
56
|
// src/slack/actions.ts
|
|
57
57
|
init_db3();
|
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
checkAmpCredentials2,
|
|
3
3
|
liveTestAmpCredentials2,
|
|
4
4
|
AmpAdapter2
|
|
5
|
-
} from "./cli-
|
|
5
|
+
} from "./cli-r99kc9yq.js";
|
|
6
6
|
import"./cli-jc1g9ndz.js";
|
|
7
|
-
import"./cli-
|
|
8
|
-
import"./cli-
|
|
9
|
-
import"./cli-
|
|
7
|
+
import"./cli-a5ebc95n.js";
|
|
8
|
+
import"./cli-bn0rewsy.js";
|
|
9
|
+
import"./cli-sv5gb0yb.js";
|
|
10
10
|
import"./cli-7a91w22y.js";
|
|
11
11
|
import"./cli-3ggwdtb0.js";
|
|
12
12
|
export {
|
|
@@ -3,9 +3,9 @@ import {
|
|
|
3
3
|
initSlackApp2,
|
|
4
4
|
startSlackApp2,
|
|
5
5
|
stopSlackApp2
|
|
6
|
-
} from "./cli-
|
|
7
|
-
import"./cli-
|
|
8
|
-
import"./cli-
|
|
6
|
+
} from "./cli-nn47d7e8.js";
|
|
7
|
+
import"./cli-pkht5hap.js";
|
|
8
|
+
import"./cli-d3qqdy4c.js";
|
|
9
9
|
export {
|
|
10
10
|
getSlackApp2 as getSlackApp,
|
|
11
11
|
initSlackApp2 as initSlackApp,
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
getMostRecentTaskInThread2,
|
|
7
7
|
reactionName,
|
|
8
8
|
init_db3
|
|
9
|
-
} from "./cli-
|
|
9
|
+
} from "./cli-d3qqdy4c.js";
|
|
10
10
|
import {
|
|
11
11
|
require_dist4,
|
|
12
12
|
noteSlackInboundSideEffect,
|
|
@@ -17,51 +17,51 @@ import {
|
|
|
17
17
|
markSlackSessionProcessing,
|
|
18
18
|
isSlackRenderV2Enabled2,
|
|
19
19
|
ensureSlackThreadTree2
|
|
20
|
-
} from "./cli-
|
|
20
|
+
} from "./cli-nn47d7e8.js";
|
|
21
21
|
import {
|
|
22
22
|
shouldBlockChannel2
|
|
23
|
-
} from "./cli-
|
|
23
|
+
} from "./cli-pkht5hap.js";
|
|
24
24
|
import {
|
|
25
25
|
buildEffectiveText,
|
|
26
26
|
fetchSlackFiles,
|
|
27
27
|
createSlackTaskWithFiles,
|
|
28
28
|
notifySlackFileFailures,
|
|
29
29
|
hasOtherUserMention
|
|
30
|
-
} from "./cli-
|
|
30
|
+
} from "./cli-5rk36sjf.js";
|
|
31
31
|
import {
|
|
32
32
|
resolveSlackUserId,
|
|
33
33
|
rewriteSlackMentions
|
|
34
|
-
} from "./cli-
|
|
34
|
+
} from "./cli-bcj753sq.js";
|
|
35
35
|
import {
|
|
36
36
|
wasEventSeen,
|
|
37
37
|
bufferThreadMessage,
|
|
38
38
|
getBufferMessageCount
|
|
39
|
-
} from "./cli-
|
|
39
|
+
} from "./cli-0qvtffe9.js";
|
|
40
40
|
import"./cli-qje9k2nh.js";
|
|
41
|
-
import"./cli-
|
|
42
|
-
import"./cli-
|
|
43
|
-
import"./cli-
|
|
44
|
-
import"./cli-
|
|
45
|
-
import"./cli-
|
|
46
|
-
import"./cli-
|
|
41
|
+
import"./cli-sv5gb0yb.js";
|
|
42
|
+
import"./cli-h93c9vb3.js";
|
|
43
|
+
import"./cli-saw9a6f6.js";
|
|
44
|
+
import"./cli-y2x52gs2.js";
|
|
45
|
+
import"./cli-h38rjv87.js";
|
|
46
|
+
import"./cli-s6vr7r2d.js";
|
|
47
47
|
import"./cli-3ggwdtb0.js";
|
|
48
|
-
import"./cli-
|
|
49
|
-
import"./cli-
|
|
48
|
+
import"./cli-02qm7src.js";
|
|
49
|
+
import"./cli-8nyhf7za.js";
|
|
50
50
|
import"./cli-kvzgak7c.js";
|
|
51
51
|
import"./cli-445c1vp7.js";
|
|
52
|
-
import"./cli-
|
|
53
|
-
import"./cli-
|
|
52
|
+
import"./cli-ejs3m1sx.js";
|
|
53
|
+
import"./cli-wt645v7q.js";
|
|
54
54
|
import"./cli-qz93y3x5.js";
|
|
55
|
-
import"./cli-
|
|
56
|
-
import"./cli-
|
|
55
|
+
import"./cli-7awf1fp8.js";
|
|
56
|
+
import"./cli-faypxz7q.js";
|
|
57
57
|
import"./cli-7a91w22y.js";
|
|
58
|
-
import"./cli-
|
|
59
|
-
import"./cli-
|
|
58
|
+
import"./cli-n85dqg6d.js";
|
|
59
|
+
import"./cli-efaqv1c7.js";
|
|
60
60
|
import"./cli-3h26v7yj.js";
|
|
61
|
-
import"./cli-
|
|
61
|
+
import"./cli-smvcw9z5.js";
|
|
62
62
|
import"./cli-13p25grh.js";
|
|
63
63
|
import"./cli-0adyhvq2.js";
|
|
64
|
-
import"./cli-
|
|
64
|
+
import"./cli-nmqdc2t3.js";
|
|
65
65
|
import {
|
|
66
66
|
resolveTemplate,
|
|
67
67
|
init_resolver
|
|
@@ -7,16 +7,16 @@ import {
|
|
|
7
7
|
getMemoryStore2,
|
|
8
8
|
init_memory,
|
|
9
9
|
init_db3
|
|
10
|
-
} from "./cli-
|
|
10
|
+
} from "./cli-d3qqdy4c.js";
|
|
11
11
|
import {
|
|
12
12
|
contentSha256,
|
|
13
13
|
init_profile_sync
|
|
14
|
-
} from "./cli-
|
|
14
|
+
} from "./cli-x5mq1fyq.js";
|
|
15
15
|
import {
|
|
16
16
|
SCRUBBER_RULES_VERSION,
|
|
17
17
|
scrubSecrets,
|
|
18
18
|
init_secret_scrubber
|
|
19
|
-
} from "./cli-
|
|
19
|
+
} from "./cli-xf234ws8.js";
|
|
20
20
|
|
|
21
21
|
// src/be/boot-scrub-sweep.ts
|
|
22
22
|
init_profile_sync();
|
|
@@ -79,7 +79,7 @@ async function runBootScrubSweep(opts = {}) {
|
|
|
79
79
|
console.log(`[${tag}] complete`);
|
|
80
80
|
const memoryChanged = stats.find((s) => s.table === "agent_memory")?.changed ?? 0;
|
|
81
81
|
if (memoryChanged > 0 && opts.reembed !== false) {
|
|
82
|
-
const { runBootReembed } = await import("./boot-reembed-
|
|
82
|
+
const { runBootReembed } = await import("./boot-reembed-6yn53ms9.js");
|
|
83
83
|
await runBootReembed();
|
|
84
84
|
}
|
|
85
85
|
return stats;
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
ensurePricingSeeded2,
|
|
3
3
|
ensureRbacSeeded2,
|
|
4
4
|
ensureModelProfilesSeeded2
|
|
5
|
-
} from "./cli-
|
|
6
|
-
import"./cli-
|
|
7
|
-
import"./cli-
|
|
8
|
-
import"./cli-
|
|
5
|
+
} from "./cli-faypxz7q.js";
|
|
6
|
+
import"./cli-h93c9vb3.js";
|
|
7
|
+
import"./cli-7awf1fp8.js";
|
|
8
|
+
import"./cli-d3qqdy4c.js";
|
|
9
9
|
export {
|
|
10
10
|
ensureModelProfilesSeeded2 as ensureModelProfilesSeeded,
|
|
11
11
|
ensurePricingSeeded2 as ensurePricingSeeded,
|
|
@@ -4,23 +4,23 @@ import {
|
|
|
4
4
|
buildClaudeSessionEnvironment2,
|
|
5
5
|
runClaudeSessionSummary2,
|
|
6
6
|
ClaudeAdapter2
|
|
7
|
-
} from "./cli-
|
|
8
|
-
import"./cli-
|
|
9
|
-
import"./cli-
|
|
10
|
-
import"./cli-
|
|
7
|
+
} from "./cli-239yjk27.js";
|
|
8
|
+
import"./cli-ahtpy9kf.js";
|
|
9
|
+
import"./cli-7225gwj7.js";
|
|
10
|
+
import"./cli-d82btycs.js";
|
|
11
11
|
import"./cli-vbhgkw9h.js";
|
|
12
12
|
import"./cli-4bd1rck6.js";
|
|
13
13
|
import"./cli-jc1g9ndz.js";
|
|
14
|
-
import"./cli-
|
|
15
|
-
import"./cli-
|
|
14
|
+
import"./cli-a5ebc95n.js";
|
|
15
|
+
import"./cli-pnp2j5zg.js";
|
|
16
16
|
import"./cli-0726awxw.js";
|
|
17
17
|
import"./cli-gx4rm0qx.js";
|
|
18
|
-
import"./cli-
|
|
18
|
+
import"./cli-bn0rewsy.js";
|
|
19
19
|
import"./cli-3h26v7yj.js";
|
|
20
20
|
import"./cli-7a91w22y.js";
|
|
21
21
|
import"./cli-3ggwdtb0.js";
|
|
22
|
-
import"./cli-
|
|
23
|
-
import"./cli-
|
|
22
|
+
import"./cli-8nyhf7za.js";
|
|
23
|
+
import"./cli-ejs3m1sx.js";
|
|
24
24
|
import"./cli-13p25grh.js";
|
|
25
25
|
import"./cli-0adyhvq2.js";
|
|
26
26
|
import"./cli-445c1vp7.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
checkClaudeManagedCredentials2,
|
|
3
3
|
ClaudeManagedAdapter2
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-a0kcty51.js";
|
|
5
5
|
import"./cli-4zsenjhy.js";
|
|
6
6
|
import"./cli-kr5tjjtz.js";
|
|
7
|
-
import"./cli-
|
|
7
|
+
import"./cli-a5ebc95n.js";
|
|
8
8
|
import"./cli-0726awxw.js";
|
|
9
9
|
import"./cli-er83cjbn.js";
|
|
10
10
|
export {
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
toFile,
|
|
3
3
|
Anthropic
|
|
4
4
|
} from "./cli-er83cjbn.js";
|
|
5
|
-
import"./cli-
|
|
5
|
+
import"./cli-ejs3m1sx.js";
|
|
6
6
|
import {
|
|
7
7
|
buildSkillContent
|
|
8
8
|
} from "./cli-691vz9mk.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
import {
|
|
13
13
|
DEFAULT_MODEL_TIER_MAP,
|
|
14
14
|
init_types
|
|
15
|
-
} from "./cli-
|
|
15
|
+
} from "./cli-fpmsqq59.js";
|
|
16
16
|
import {
|
|
17
17
|
getApiKey,
|
|
18
18
|
init_api_key
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getContextWindowSize
|
|
3
|
-
} from "./cli-
|
|
3
|
+
} from "./cli-a5ebc95n.js";
|
|
4
4
|
import {
|
|
5
5
|
redactRateLimitEvent,
|
|
6
6
|
SessionErrorTracker,
|
|
@@ -14,15 +14,15 @@ import {
|
|
|
14
14
|
terminateProcessGroup
|
|
15
15
|
} from "./cli-3ggwdtb0.js";
|
|
16
16
|
import"./cli-3h26v7yj.js";
|
|
17
|
-
import"./cli-
|
|
17
|
+
import"./cli-7225gwj7.js";
|
|
18
18
|
import"./cli-445c1vp7.js";
|
|
19
|
-
import"./cli-
|
|
19
|
+
import"./cli-8nyhf7za.js";
|
|
20
20
|
import"./cli-kvzgak7c.js";
|
|
21
|
-
import"./cli-
|
|
22
|
-
import"./cli-
|
|
23
|
-
import"./cli-
|
|
21
|
+
import"./cli-ejs3m1sx.js";
|
|
22
|
+
import"./cli-pnp2j5zg.js";
|
|
23
|
+
import"./cli-d82btycs.js";
|
|
24
24
|
import"./cli-0726awxw.js";
|
|
25
|
-
import"./cli-
|
|
25
|
+
import"./cli-ahtpy9kf.js";
|
|
26
26
|
import"./cli-7a91w22y.js";
|
|
27
27
|
import {
|
|
28
28
|
ClaudeBackgroundKeepalive,
|
|
@@ -30,17 +30,17 @@ import {
|
|
|
30
30
|
cleanupTaskFile2,
|
|
31
31
|
buildClaudeSessionEnvironment2,
|
|
32
32
|
runClaudeSessionSummary2
|
|
33
|
-
} from "./cli-
|
|
33
|
+
} from "./cli-239yjk27.js";
|
|
34
34
|
import"./cli-jc1g9ndz.js";
|
|
35
35
|
import"./cli-4bd1rck6.js";
|
|
36
36
|
import"./cli-vbhgkw9h.js";
|
|
37
|
-
import"./cli-
|
|
37
|
+
import"./cli-bn0rewsy.js";
|
|
38
38
|
import"./cli-13p25grh.js";
|
|
39
39
|
import"./cli-0adyhvq2.js";
|
|
40
40
|
import {
|
|
41
41
|
scrubSecrets,
|
|
42
42
|
init_secret_scrubber
|
|
43
|
-
} from "./cli-
|
|
43
|
+
} from "./cli-xf234ws8.js";
|
|
44
44
|
|
|
45
45
|
// src/providers/claude-sdk-session.ts
|
|
46
46
|
import { EventEmitter } from "node:events";
|
|
@@ -29346,7 +29346,7 @@ class cy {
|
|
|
29346
29346
|
try {
|
|
29347
29347
|
if (await this.sdkMcpServers.get(p)?.connection, n)
|
|
29348
29348
|
return;
|
|
29349
|
-
let m = await this.handleMcpControlRequest(p, { server_name: p, message: { jsonrpc: "2.0", id: ly + "initialize", method: "initialize", params: { protocolVersion: Y4, capabilities: V4, clientInfo: { ...q4, version: "0.3.
|
|
29349
|
+
let m = await this.handleMcpControlRequest(p, { server_name: p, message: { jsonrpc: "2.0", id: ly + "initialize", method: "initialize", params: { protocolVersion: Y4, capabilities: V4, clientInfo: { ...q4, version: "0.3.303" } } } }, f);
|
|
29350
29350
|
if (n)
|
|
29351
29351
|
return;
|
|
29352
29352
|
if (!("result" in m)) {
|
|
@@ -30634,7 +30634,7 @@ function Zx(e, t) {
|
|
|
30634
30634
|
p = s.prompt, g = s.snapshot;
|
|
30635
30635
|
else if (s.type === "preset")
|
|
30636
30636
|
f = s.append, m = s.excludeDynamicSections, g = s.snapshot;
|
|
30637
|
-
process.env.CLAUDE_AGENT_SDK_VERSION = "0.3.
|
|
30637
|
+
process.env.CLAUDE_AGENT_SDK_VERSION = "0.3.303";
|
|
30638
30638
|
let { abortController: _ = kp(), additionalDirectories: S = [], projectConfigRoot: y, agent: b, agents: E, allowedTools: C = [], betas: A, canUseTool: w, continue: L, cwd: U, debug: F, debugFile: ue, disallowedTools: O = [], tools: T, env: v, executable: D = nl() ? "bun" : "node", executableArgs: K = [], extraArgs: X = {}, fallbackModel: pe, enableFileCheckpointing: H, toolConfig: W, forkSession: Ot, hooks: ln, includeHookEvents: mt, includePartialMessages: Dt, forwardSubagentText: wt, verbatimPrompts: Zt = false, onElicitation: Je, onUserDialog: he, supportedDialogKinds: Yt, perTaskStopAffordance: cn, rapidFollowupPreempt: ts, workspaceTrust: ga, persistSession: ns, sessionStore: wn, sessionStoreFlush: my, thinking: qe, effort: _r, maxThinkingTokens: Bn, maxTurns: Si, maxBudgetUsd: ha, taskBudget: $p, mcpServers: _a, model: zp, outputFormat: Qx, permissionMode: eJ, allowDangerouslySkipPermissions: tJ = false, permissionPromptToolName: nJ, permissionPrompts: rJ, plugins: Hp, pluginDelivery: gy = "argv", getOAuthToken: ev, getHostAuthToken: tv, workload: nv, resume: rv, resumeSessionAt: oJ, resumeDropsTurn: sJ, sessionId: iJ, skills: ov, stderr: aJ, strictMcpConfig: lJ } = d, sv = eJ;
|
|
30639
30639
|
if (wn && ns === false)
|
|
30640
30640
|
throw Error("sessionStore cannot be used with persistSession: false -- the storage adapter requires local writes to mirror from. Use CLAUDE_CONFIG_DIR=/tmp for ephemeral local writes with external mirroring.");
|
|
@@ -30660,7 +30660,7 @@ function Zx(e, t) {
|
|
|
30660
30660
|
if (!Ct.CLAUDE_CODE_ENTRYPOINT)
|
|
30661
30661
|
Ct.CLAUDE_CODE_ENTRYPOINT = "sdk-ts";
|
|
30662
30662
|
if (!Ct.CLAUDE_AGENT_SDK_VERSION)
|
|
30663
|
-
Ct.CLAUDE_AGENT_SDK_VERSION = "0.3.
|
|
30663
|
+
Ct.CLAUDE_AGENT_SDK_VERSION = "0.3.303";
|
|
30664
30664
|
if (H)
|
|
30665
30665
|
Ct.CLAUDE_CODE_ENABLE_SDK_FILE_CHECKPOINTING = "true";
|
|
30666
30666
|
if (!Object.keys(Ct).some((Jt) => Jt.toUpperCase() === "CLAUDE_CODE_SDK_READS_SESSION_STATE"))
|
|
@@ -5,22 +5,22 @@ import {
|
|
|
5
5
|
completeApprovalCancellationNotificationClaim2,
|
|
6
6
|
releaseApprovalCancellationNotificationClaim2,
|
|
7
7
|
init_db3
|
|
8
|
-
} from "./cli-
|
|
8
|
+
} from "./cli-d3qqdy4c.js";
|
|
9
9
|
import {
|
|
10
10
|
getSlackApp2
|
|
11
|
-
} from "./cli-
|
|
11
|
+
} from "./cli-nn47d7e8.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
|
|
@@ -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-9h14qvr6.js");
|
|
458
458
|
const slackApp = getSlackApp();
|
|
459
459
|
if (!slackApp) {
|
|
460
460
|
console.warn("[HITL] Slack not initialized — cannot send notification");
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
init_steering,
|
|
11
11
|
createLogEntry2,
|
|
12
12
|
init_db3
|
|
13
|
-
} from "./cli-
|
|
13
|
+
} from "./cli-d3qqdy4c.js";
|
|
14
14
|
import {
|
|
15
15
|
ackSlackMessage,
|
|
16
16
|
buildBufferFlushBlocks,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
ensureSlackThreadTree2,
|
|
21
21
|
registerTreeMessage,
|
|
22
22
|
getSlackApp2
|
|
23
|
-
} from "./cli-
|
|
23
|
+
} from "./cli-nn47d7e8.js";
|
|
24
24
|
import {
|
|
25
25
|
createAdditiveBuffer,
|
|
26
26
|
TaskCreationBlockedError,
|
|
@@ -30,15 +30,15 @@ import {
|
|
|
30
30
|
createSlackTaskWithFiles,
|
|
31
31
|
notifySlackFileFailures,
|
|
32
32
|
extractSlackMessageText
|
|
33
|
-
} from "./cli-
|
|
33
|
+
} from "./cli-5rk36sjf.js";
|
|
34
34
|
import {
|
|
35
35
|
resolveSlackUserId,
|
|
36
36
|
rewriteSlackMentions
|
|
37
|
-
} from "./cli-
|
|
37
|
+
} from "./cli-bcj753sq.js";
|
|
38
38
|
import {
|
|
39
39
|
findUserByExternalId,
|
|
40
40
|
init_users
|
|
41
|
-
} from "./cli-
|
|
41
|
+
} from "./cli-nmqdc2t3.js";
|
|
42
42
|
import {
|
|
43
43
|
isSteeringEnabled2,
|
|
44
44
|
init_steering_enabled
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
import {
|
|
47
47
|
scrubSecrets,
|
|
48
48
|
init_secret_scrubber
|
|
49
|
-
} from "./cli-
|
|
49
|
+
} from "./cli-xf234ws8.js";
|
|
50
50
|
import {
|
|
51
51
|
__using,
|
|
52
52
|
__callDispose
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
getMostRecentTaskInThread2,
|
|
11
11
|
reactionName,
|
|
12
12
|
init_db3
|
|
13
|
-
} from "./cli-
|
|
13
|
+
} from "./cli-d3qqdy4c.js";
|
|
14
14
|
import {
|
|
15
15
|
TaskCreationBlockedError,
|
|
16
16
|
buildEffectiveText,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
extractTaskFromMessage,
|
|
24
24
|
extractSlackMessageText,
|
|
25
25
|
dispatchPre2
|
|
26
|
-
} from "./cli-
|
|
26
|
+
} from "./cli-5rk36sjf.js";
|
|
27
27
|
import {
|
|
28
28
|
noteSlackInboundSideEffect,
|
|
29
29
|
ignoreSlackInbound,
|
|
@@ -34,23 +34,23 @@ import {
|
|
|
34
34
|
isSlackRenderV2Enabled2,
|
|
35
35
|
ensureSlackThreadTree2,
|
|
36
36
|
registerTreeMessage
|
|
37
|
-
} from "./cli-
|
|
37
|
+
} from "./cli-nn47d7e8.js";
|
|
38
38
|
import {
|
|
39
39
|
isBlockExternalEnabled2,
|
|
40
40
|
invalidateChannelExternality2,
|
|
41
41
|
getChannelBlockReason2,
|
|
42
42
|
shouldBlockChannel2,
|
|
43
43
|
leaveExternalChannel2
|
|
44
|
-
} from "./cli-
|
|
44
|
+
} from "./cli-pkht5hap.js";
|
|
45
45
|
import {
|
|
46
46
|
workflowEventBus2,
|
|
47
47
|
init_event_bus
|
|
48
|
-
} from "./cli-
|
|
48
|
+
} from "./cli-wt645v7q.js";
|
|
49
49
|
import {
|
|
50
50
|
enrichSlackUserEmail,
|
|
51
51
|
resolveSlackUserId,
|
|
52
52
|
rewriteSlackMentions
|
|
53
|
-
} from "./cli-
|
|
53
|
+
} from "./cli-bcj753sq.js";
|
|
54
54
|
import {
|
|
55
55
|
wasEventSeen,
|
|
56
56
|
requestSlackThreadSteering,
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
bufferThreadMessage,
|
|
59
59
|
getBufferMessageCount,
|
|
60
60
|
instantFlush
|
|
61
|
-
} from "./cli-
|
|
61
|
+
} from "./cli-0qvtffe9.js";
|
|
62
62
|
import {
|
|
63
63
|
resolveTemplate,
|
|
64
64
|
init_resolver
|
|
@@ -79,7 +79,7 @@ import {
|
|
|
79
79
|
import {
|
|
80
80
|
scrubSecrets,
|
|
81
81
|
init_secret_scrubber
|
|
82
|
-
} from "./cli-
|
|
82
|
+
} from "./cli-xf234ws8.js";
|
|
83
83
|
import {
|
|
84
84
|
__using,
|
|
85
85
|
__callDispose
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runStopHookSessionSummarySubprocess
|
|
3
|
-
} from "./cli-
|
|
3
|
+
} from "./cli-ahtpy9kf.js";
|
|
4
4
|
import {
|
|
5
5
|
CONTEXT_FORMULA,
|
|
6
6
|
getContextWindowSize,
|
|
7
7
|
computeContextUsedUnified,
|
|
8
8
|
clampContextPercent
|
|
9
|
-
} from "./cli-
|
|
9
|
+
} from "./cli-a5ebc95n.js";
|
|
10
10
|
import {
|
|
11
11
|
redactRateLimitEventLine,
|
|
12
12
|
SessionErrorTracker,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
} from "./cli-vbhgkw9h.js";
|
|
34
34
|
import {
|
|
35
35
|
applyReasoningEffort
|
|
36
|
-
} from "./cli-
|
|
36
|
+
} from "./cli-bn0rewsy.js";
|
|
37
37
|
import {
|
|
38
38
|
fetchInstalledMcpServers
|
|
39
39
|
} from "./cli-bst1vp7e.js";
|
|
@@ -47,12 +47,12 @@ import {
|
|
|
47
47
|
import {
|
|
48
48
|
withFileLock,
|
|
49
49
|
init_file_lock
|
|
50
|
-
} from "./cli-
|
|
50
|
+
} from "./cli-x5mq1fyq.js";
|
|
51
51
|
import {
|
|
52
52
|
CLAUDE_CREDENTIALS_HINT,
|
|
53
53
|
validateClaudeCredentials,
|
|
54
54
|
init_credentials
|
|
55
|
-
} from "./cli-
|
|
55
|
+
} from "./cli-zw88zjba.js";
|
|
56
56
|
import {
|
|
57
57
|
routeCredentialStatus,
|
|
58
58
|
deriveDefaultRoute,
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
import {
|
|
71
71
|
scrubSecrets,
|
|
72
72
|
init_secret_scrubber
|
|
73
|
-
} from "./cli-
|
|
73
|
+
} from "./cli-xf234ws8.js";
|
|
74
74
|
import {
|
|
75
75
|
__toESM
|
|
76
76
|
} from "./cli-242037k3.js";
|
|
@@ -1236,7 +1236,7 @@ class ClaudeAdapter2 {
|
|
|
1236
1236
|
if (transport === "sdk" && isClaudeBridgeEffective(sourceEnv)) {
|
|
1237
1237
|
throw new Error("CLAUDE_TRANSPORT=sdk cannot run with an effective Claude Bridge configuration. Select CLI transport or disable the bridge.");
|
|
1238
1238
|
}
|
|
1239
|
-
const claudeSdk = transport === "sdk" ? await import("./claude-sdk-session-
|
|
1239
|
+
const claudeSdk = transport === "sdk" ? await import("./claude-sdk-session-s2k1qd8y.js") : undefined;
|
|
1240
1240
|
claudeSdk?.validateClaudeSdkAdditionalArgs([
|
|
1241
1241
|
...claudeBinaryArgv.slice(1),
|
|
1242
1242
|
...config.additionalArgs ?? []
|