@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
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
authJsonToCredentialSelection,
|
|
6
6
|
credentialsToAuthJson,
|
|
7
7
|
loadAllCodexOAuthSlots
|
|
8
|
-
} from "./cli-
|
|
8
|
+
} from "./cli-ejs3m1sx.js";
|
|
9
9
|
import {
|
|
10
10
|
effectiveReasoningEffort
|
|
11
|
-
} from "./cli-
|
|
11
|
+
} from "./cli-bn0rewsy.js";
|
|
12
12
|
import {
|
|
13
13
|
isSkillLoaderCall,
|
|
14
14
|
skillFromToolArgs,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
renderMemoriesPrompt,
|
|
21
21
|
isUnknownModelError,
|
|
22
22
|
writeSkillsToFilesystem
|
|
23
|
-
} from "./cli-
|
|
23
|
+
} from "./cli-ftyypbg5.js";
|
|
24
24
|
import {
|
|
25
25
|
isPollTracingEnabled,
|
|
26
26
|
initOtel,
|
|
@@ -30,10 +30,10 @@ import {
|
|
|
30
30
|
injectTraceContext2,
|
|
31
31
|
initialize,
|
|
32
32
|
ensure
|
|
33
|
-
} from "./cli-
|
|
33
|
+
} from "./cli-nn47d7e8.js";
|
|
34
34
|
import {
|
|
35
35
|
getContextWindowSize
|
|
36
|
-
} from "./cli-
|
|
36
|
+
} from "./cli-a5ebc95n.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_RATE_LIMIT_RESET_MS,
|
|
39
39
|
isRateLimitMessage,
|
|
@@ -51,40 +51,40 @@ import {
|
|
|
51
51
|
canonicalAzureDevOpsRepoUrl,
|
|
52
52
|
parseAzureDevOpsRepoUrl,
|
|
53
53
|
resolveScriptsOnlyMode
|
|
54
|
-
} from "./cli-
|
|
54
|
+
} from "./cli-5rk36sjf.js";
|
|
55
55
|
import {
|
|
56
56
|
ACP_TARGET_IDS,
|
|
57
57
|
isAcpTarget
|
|
58
|
-
} from "./cli-
|
|
58
|
+
} from "./cli-5kqnemen.js";
|
|
59
59
|
import {
|
|
60
60
|
checkAmpCredentials2,
|
|
61
61
|
liveTestAmpCredentials2
|
|
62
|
-
} from "./cli-
|
|
62
|
+
} from "./cli-r99kc9yq.js";
|
|
63
63
|
import {
|
|
64
64
|
checkClaudeCredentials2
|
|
65
|
-
} from "./cli-
|
|
65
|
+
} from "./cli-239yjk27.js";
|
|
66
66
|
import {
|
|
67
67
|
checkClaudeManagedCredentials2
|
|
68
|
-
} from "./cli-
|
|
68
|
+
} from "./cli-a0kcty51.js";
|
|
69
69
|
import {
|
|
70
70
|
codexUserHome,
|
|
71
71
|
checkCodexCredentials2
|
|
72
|
-
} from "./cli-
|
|
72
|
+
} from "./cli-rdyw3mct.js";
|
|
73
73
|
import {
|
|
74
74
|
checkCursorCredentials2
|
|
75
|
-
} from "./cli-
|
|
75
|
+
} from "./cli-g0hgtz4p.js";
|
|
76
76
|
import {
|
|
77
77
|
checkDevinCredentials2
|
|
78
|
-
} from "./cli-
|
|
78
|
+
} from "./cli-s95dknxh.js";
|
|
79
79
|
import {
|
|
80
80
|
checkDshCredentials2
|
|
81
|
-
} from "./cli-
|
|
81
|
+
} from "./cli-a4gvwttf.js";
|
|
82
82
|
import {
|
|
83
83
|
checkOpencodeCredentials2
|
|
84
|
-
} from "./cli-
|
|
84
|
+
} from "./cli-xbzvet96.js";
|
|
85
85
|
import {
|
|
86
86
|
checkGrokCredentials2
|
|
87
|
-
} from "./cli-
|
|
87
|
+
} from "./cli-fyzjmseb.js";
|
|
88
88
|
import {
|
|
89
89
|
CODEX_OAUTH_POOL_SLOTS_ENV,
|
|
90
90
|
isCodexOAuthConfigKey,
|
|
@@ -93,7 +93,7 @@ import {
|
|
|
93
93
|
} from "./cli-j4bwnpkm.js";
|
|
94
94
|
import {
|
|
95
95
|
validateJsonSchema
|
|
96
|
-
} from "./cli-
|
|
96
|
+
} from "./cli-y2x52gs2.js";
|
|
97
97
|
import {
|
|
98
98
|
mapTriggerSurface,
|
|
99
99
|
init_telemetry_context,
|
|
@@ -111,7 +111,7 @@ import {
|
|
|
111
111
|
init_vcs_repo_match,
|
|
112
112
|
isApiDrainingResponse,
|
|
113
113
|
init_api_drain
|
|
114
|
-
} from "./cli-
|
|
114
|
+
} from "./cli-d3qqdy4c.js";
|
|
115
115
|
import {
|
|
116
116
|
parseWorkerModelTierOverrides,
|
|
117
117
|
resolveTaskModelSelection,
|
|
@@ -119,7 +119,7 @@ import {
|
|
|
119
119
|
ProviderNameSchema,
|
|
120
120
|
WorkerNudgeSchema,
|
|
121
121
|
init_types
|
|
122
|
-
} from "./cli-
|
|
122
|
+
} from "./cli-fpmsqq59.js";
|
|
123
123
|
import {
|
|
124
124
|
generateDefaultClaudeMd2,
|
|
125
125
|
generateDefaultSoulMd2,
|
|
@@ -143,7 +143,7 @@ import {
|
|
|
143
143
|
resolveClaudeMdPath,
|
|
144
144
|
syncProfileFilesToServer,
|
|
145
145
|
init_profile_sync
|
|
146
|
-
} from "./cli-
|
|
146
|
+
} from "./cli-x5mq1fyq.js";
|
|
147
147
|
import {
|
|
148
148
|
isSteeringEnabled2,
|
|
149
149
|
init_steering_enabled
|
|
@@ -154,7 +154,7 @@ import {
|
|
|
154
154
|
CLAUDE_CREDENTIALS_HINT,
|
|
155
155
|
resolveCredentialPools,
|
|
156
156
|
init_credentials
|
|
157
|
-
} from "./cli-
|
|
157
|
+
} from "./cli-zw88zjba.js";
|
|
158
158
|
import {
|
|
159
159
|
init_templates3
|
|
160
160
|
} from "./cli-0ebey9hg.js";
|
|
@@ -186,7 +186,7 @@ import {
|
|
|
186
186
|
runtimeHarnessSections,
|
|
187
187
|
refreshRuntimeModelCatalog,
|
|
188
188
|
init_runtime_model_catalog
|
|
189
|
-
} from "./cli-
|
|
189
|
+
} from "./cli-6x9ma5w5.js";
|
|
190
190
|
import {
|
|
191
191
|
getMcpBaseUrl,
|
|
192
192
|
init_constants2
|
|
@@ -204,7 +204,7 @@ import {
|
|
|
204
204
|
registerEnvSecrets,
|
|
205
205
|
registerSensitiveKeyName,
|
|
206
206
|
init_secret_scrubber
|
|
207
|
-
} from "./cli-
|
|
207
|
+
} from "./cli-xf234ws8.js";
|
|
208
208
|
import {
|
|
209
209
|
harnessModelMismatch,
|
|
210
210
|
openAICompatibleProviders,
|
|
@@ -212,7 +212,7 @@ import {
|
|
|
212
212
|
providerBaseUrl,
|
|
213
213
|
providerKeyFromEnv,
|
|
214
214
|
init_src2
|
|
215
|
-
} from "./cli-
|
|
215
|
+
} from "./cli-nwyw3zhg.js";
|
|
216
216
|
|
|
217
217
|
// src/commands/runner.ts
|
|
218
218
|
import { existsSync, statSync } from "node:fs";
|
|
@@ -246,47 +246,47 @@ async function materializeCodexAuthJson(_slot, creds, deps = {}) {
|
|
|
246
246
|
async function createProviderAdapter(provider) {
|
|
247
247
|
switch (provider) {
|
|
248
248
|
case "claude": {
|
|
249
|
-
const { ClaudeAdapter } = await import("./claude-adapter-
|
|
249
|
+
const { ClaudeAdapter } = await import("./claude-adapter-gf3kxhf0.js");
|
|
250
250
|
return new ClaudeAdapter;
|
|
251
251
|
}
|
|
252
252
|
case "pi": {
|
|
253
|
-
const { PiMonoAdapter } = await import("./pi-mono-adapter-
|
|
253
|
+
const { PiMonoAdapter } = await import("./pi-mono-adapter-ytp7gz8b.js");
|
|
254
254
|
return new PiMonoAdapter;
|
|
255
255
|
}
|
|
256
256
|
case "codex": {
|
|
257
|
-
const { CodexAdapter } = await import("./codex-adapter-
|
|
257
|
+
const { CodexAdapter } = await import("./codex-adapter-ttygw382.js");
|
|
258
258
|
return new CodexAdapter;
|
|
259
259
|
}
|
|
260
260
|
case "claude-managed": {
|
|
261
|
-
const { ClaudeManagedAdapter } = await import("./claude-managed-adapter-
|
|
261
|
+
const { ClaudeManagedAdapter } = await import("./claude-managed-adapter-h2y889ge.js");
|
|
262
262
|
return new ClaudeManagedAdapter;
|
|
263
263
|
}
|
|
264
264
|
case "devin": {
|
|
265
|
-
const { DevinAdapter } = await import("./devin-adapter-
|
|
265
|
+
const { DevinAdapter } = await import("./devin-adapter-zgqadvnm.js");
|
|
266
266
|
return new DevinAdapter;
|
|
267
267
|
}
|
|
268
268
|
case "opencode": {
|
|
269
|
-
const { OpencodeAdapter } = await import("./opencode-adapter-
|
|
269
|
+
const { OpencodeAdapter } = await import("./opencode-adapter-3s7ax02e.js");
|
|
270
270
|
return new OpencodeAdapter;
|
|
271
271
|
}
|
|
272
272
|
case "dsh": {
|
|
273
|
-
const { DshAdapter } = await import("./dsh-adapter-
|
|
273
|
+
const { DshAdapter } = await import("./dsh-adapter-3n3net33.js");
|
|
274
274
|
return new DshAdapter;
|
|
275
275
|
}
|
|
276
276
|
case "amp": {
|
|
277
|
-
const { AmpAdapter } = await import("./amp-adapter-
|
|
277
|
+
const { AmpAdapter } = await import("./amp-adapter-abp5tdx8.js");
|
|
278
278
|
return new AmpAdapter;
|
|
279
279
|
}
|
|
280
280
|
case "cursor": {
|
|
281
|
-
const { CursorAdapter } = await import("./cursor-adapter-
|
|
281
|
+
const { CursorAdapter } = await import("./cursor-adapter-cz6nm6mj.js");
|
|
282
282
|
return new CursorAdapter;
|
|
283
283
|
}
|
|
284
284
|
case "grok": {
|
|
285
|
-
const { GrokAdapter } = await import("./grok-adapter-
|
|
285
|
+
const { GrokAdapter } = await import("./grok-adapter-qnr1hp2y.js");
|
|
286
286
|
return new GrokAdapter;
|
|
287
287
|
}
|
|
288
288
|
case "acp": {
|
|
289
|
-
const { ACPAdapter } = await import("./acp-adapter-
|
|
289
|
+
const { ACPAdapter } = await import("./acp-adapter-dv7hmx4r.js");
|
|
290
290
|
return new ACPAdapter;
|
|
291
291
|
}
|
|
292
292
|
default:
|
|
@@ -1205,8 +1205,11 @@ var CREDENTIAL_PROVIDER_CHECKERS = {
|
|
|
1205
1205
|
devin: (env) => checkDevinCredentials2(env),
|
|
1206
1206
|
opencode: (env, opts) => checkOpencodeCredentials2(env, opts),
|
|
1207
1207
|
pi: async (env, opts) => {
|
|
1208
|
-
const { checkPiMonoCredentials } = await import("./pi-mono-adapter-
|
|
1209
|
-
return
|
|
1208
|
+
const { checkPiMonoCredentials, listPiOpencodeGoModelIds } = await import("./pi-mono-adapter-ytp7gz8b.js");
|
|
1209
|
+
return {
|
|
1210
|
+
...await checkPiMonoCredentials(env, opts),
|
|
1211
|
+
opencodeGoModels: listPiOpencodeGoModelIds()
|
|
1212
|
+
};
|
|
1210
1213
|
},
|
|
1211
1214
|
acp: (env) => {
|
|
1212
1215
|
const target = env.ACP_TARGET ?? "custom";
|
|
@@ -1474,7 +1477,7 @@ async function validateProviderCredentials(provider, env = process.env, presence
|
|
|
1474
1477
|
latency_ms: Date.now() - startedAt
|
|
1475
1478
|
};
|
|
1476
1479
|
}
|
|
1477
|
-
const { liveTestCursorKey } = await import("./cursor-adapter-
|
|
1480
|
+
const { liveTestCursorKey } = await import("./cursor-adapter-cz6nm6mj.js");
|
|
1478
1481
|
const result = await liveTestCursorKey(apiKey);
|
|
1479
1482
|
return result.ok ? { ok: true, latency_ms: Date.now() - startedAt } : { ok: false, error: result.error, latency_ms: Date.now() - startedAt };
|
|
1480
1483
|
}
|
|
@@ -1526,6 +1529,7 @@ async function buildCredStatusReport(provider, env, opts = {}, kind) {
|
|
|
1526
1529
|
models: presence.bedrockModels ?? [],
|
|
1527
1530
|
error: presence.ready ? undefined : presence.hint ?? undefined
|
|
1528
1531
|
} : null;
|
|
1532
|
+
const opencodeGo = presence.opencodeGoModels !== undefined ? { probedAt: Date.now(), models: presence.opencodeGoModels } : null;
|
|
1529
1533
|
return {
|
|
1530
1534
|
ready: presence.ready,
|
|
1531
1535
|
missing: presence.missing ?? [],
|
|
@@ -1536,6 +1540,7 @@ async function buildCredStatusReport(provider, env, opts = {}, kind) {
|
|
|
1536
1540
|
reportedAt: Date.now(),
|
|
1537
1541
|
reportKind: kind,
|
|
1538
1542
|
bedrock,
|
|
1543
|
+
opencodeGo,
|
|
1539
1544
|
acp: null
|
|
1540
1545
|
};
|
|
1541
1546
|
}
|
|
@@ -2499,6 +2504,9 @@ var RELOADABLE_ENV_KEYS = new Set([
|
|
|
2499
2504
|
"SWARM_ORG_NAME",
|
|
2500
2505
|
"SWARM_ORG_WEBSITE",
|
|
2501
2506
|
"PUBLIC_RANKING_ENABLED",
|
|
2507
|
+
"SWARM_ORG_TEAM_SIZE",
|
|
2508
|
+
"SWARM_ORG_USE_CASE",
|
|
2509
|
+
"SWARM_ORG_ACQUISITION_SOURCE",
|
|
2502
2510
|
"PI_TOOL_DEFERRAL",
|
|
2503
2511
|
"PI_CODEMODE",
|
|
2504
2512
|
"PI_CODEMODE_MODELS",
|
|
@@ -6,19 +6,19 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
getContextWindowSize,
|
|
8
8
|
clampContextPercent
|
|
9
|
-
} from "./cli-
|
|
9
|
+
} from "./cli-a5ebc95n.js";
|
|
10
10
|
import {
|
|
11
11
|
ACP_TARGET_IDS,
|
|
12
12
|
isAcpTarget,
|
|
13
13
|
getAcpTargetCatalogEntry
|
|
14
|
-
} from "./cli-
|
|
14
|
+
} from "./cli-5kqnemen.js";
|
|
15
15
|
import {
|
|
16
16
|
applyReasoningEffort
|
|
17
|
-
} from "./cli-
|
|
17
|
+
} from "./cli-bn0rewsy.js";
|
|
18
18
|
import {
|
|
19
19
|
applyOpenRouterBaseUrlOverride2,
|
|
20
20
|
buildOpenAICompatibleProviderBlock2
|
|
21
|
-
} from "./cli-
|
|
21
|
+
} from "./cli-xbzvet96.js";
|
|
22
22
|
import {
|
|
23
23
|
fetchInstalledMcpServers
|
|
24
24
|
} from "./cli-bst1vp7e.js";
|
|
@@ -43,18 +43,18 @@ import {
|
|
|
43
43
|
import {
|
|
44
44
|
init_package,
|
|
45
45
|
package_default
|
|
46
|
-
} from "./cli-
|
|
46
|
+
} from "./cli-shvfedvm.js";
|
|
47
47
|
import {
|
|
48
48
|
scrubSecrets,
|
|
49
49
|
init_secret_scrubber
|
|
50
|
-
} from "./cli-
|
|
50
|
+
} from "./cli-xf234ws8.js";
|
|
51
51
|
import {
|
|
52
52
|
normalizeGrokModel,
|
|
53
53
|
baseUrlOverride,
|
|
54
54
|
providerBaseUrl,
|
|
55
55
|
providerForModel,
|
|
56
56
|
init_src2
|
|
57
|
-
} from "./cli-
|
|
57
|
+
} from "./cli-nwyw3zhg.js";
|
|
58
58
|
|
|
59
59
|
// node_modules/@agentclientprotocol/sdk/dist/schema/index.js
|
|
60
60
|
var AGENT_METHODS = {
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "./cli-0726awxw.js";
|
|
11
11
|
import {
|
|
12
12
|
summarizeSession
|
|
13
|
-
} from "./cli-
|
|
13
|
+
} from "./cli-pnp2j5zg.js";
|
|
14
14
|
import {
|
|
15
15
|
resolveTemplateFromCode,
|
|
16
16
|
resolveTemplateAsync,
|
|
@@ -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
|
|
|
29
29
|
// src/prompts/goal-reminder.ts
|
|
30
30
|
init_session_templates();
|
package/dist/cli.js
CHANGED
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
import {
|
|
23
23
|
scrubSecrets,
|
|
24
24
|
init_secret_scrubber
|
|
25
|
-
} from "./cli-
|
|
25
|
+
} from "./cli-xf234ws8.js";
|
|
26
26
|
import {
|
|
27
27
|
__toESM,
|
|
28
28
|
__commonJS
|
|
@@ -51,7 +51,7 @@ var import_react = __toESM(require_react(), 1);
|
|
|
51
51
|
// package.json
|
|
52
52
|
var package_default = {
|
|
53
53
|
name: "@desplega.ai/agent-swarm",
|
|
54
|
-
version: "2.4.
|
|
54
|
+
version: "2.4.2",
|
|
55
55
|
description: "agent-swarm.dev — an open-source operating system for AI work: a lead agent breaks goals into tasks, routes them to specialized workers such as Claude Code or Codex, runs each worker in an isolated container, and preserves shared memory, tools, schedules, and review gates so delegated work compounds across sessions.",
|
|
56
56
|
keywords: [
|
|
57
57
|
"agent-swarm.dev",
|
|
@@ -251,7 +251,7 @@ var package_default = {
|
|
|
251
251
|
dependencies: {
|
|
252
252
|
"@agentclientprotocol/sdk": "1.9.0",
|
|
253
253
|
"@ai-sdk/openai": "^3.0.41",
|
|
254
|
-
"@anthropic-ai/claude-agent-sdk": "0.3.
|
|
254
|
+
"@anthropic-ai/claude-agent-sdk": "0.3.303",
|
|
255
255
|
"@anthropic-ai/sdk": "^0.135.0",
|
|
256
256
|
"@asteasolutions/zod-to-openapi": "^8.0.0",
|
|
257
257
|
"@aws-sdk/client-bedrock": "3.1048.0",
|
|
@@ -260,7 +260,7 @@ var package_default = {
|
|
|
260
260
|
"@chat-adapter/teams": "4.41.1",
|
|
261
261
|
"@chat-adapter/telegram": "4.41.1",
|
|
262
262
|
"@cursor/sdk": "1.0.38",
|
|
263
|
-
"@desplega.ai/agent-fs-just-bash": "0.18.
|
|
263
|
+
"@desplega.ai/agent-fs-just-bash": "0.18.5",
|
|
264
264
|
"@desplega.ai/business-use": "^0.4.2",
|
|
265
265
|
"@earendil-works/pi-agent-core": "^1.3.0",
|
|
266
266
|
"@earendil-works/pi-ai": "^1.3.0",
|
|
@@ -812,7 +812,7 @@ function McpServer({ port, apiKey, dbPath }) {
|
|
|
812
812
|
if (dbPath) {
|
|
813
813
|
process.env.DATABASE_PATH = dbPath;
|
|
814
814
|
}
|
|
815
|
-
import("./http-
|
|
815
|
+
import("./http-r8f85xr9.js").then(() => {
|
|
816
816
|
setStatus("running");
|
|
817
817
|
}).catch((err) => {
|
|
818
818
|
setStatus("error");
|
|
@@ -899,7 +899,7 @@ function WorkerRunner({
|
|
|
899
899
|
const { exit } = use_app_default();
|
|
900
900
|
import_react.useEffect(() => {
|
|
901
901
|
installConsoleScrub();
|
|
902
|
-
import("./worker-
|
|
902
|
+
import("./worker-c1e68hpa.js").then(({ runWorker }) => runWorker({
|
|
903
903
|
prompt: prompt || undefined,
|
|
904
904
|
yolo,
|
|
905
905
|
systemPrompt: systemPrompt || undefined,
|
|
@@ -917,7 +917,7 @@ function LeadRunner({ prompt, yolo, systemPrompt, systemPromptFile, additionalAr
|
|
|
917
917
|
const { exit } = use_app_default();
|
|
918
918
|
import_react.useEffect(() => {
|
|
919
919
|
installConsoleScrub();
|
|
920
|
-
import("./lead-
|
|
920
|
+
import("./lead-b1da0f97.js").then(({ runLead }) => runLead({
|
|
921
921
|
prompt: prompt || undefined,
|
|
922
922
|
yolo,
|
|
923
923
|
systemPrompt: systemPrompt || undefined,
|
|
@@ -957,8 +957,8 @@ function LazyComponent({
|
|
|
957
957
|
}
|
|
958
958
|
return import_react.createElement(Component, props);
|
|
959
959
|
}
|
|
960
|
-
var loadOnboard = () => import("./onboard-
|
|
961
|
-
var loadConnect = () => import("./setup-
|
|
960
|
+
var loadOnboard = () => import("./onboard-xes8de61.js").then(({ Onboard }) => Onboard);
|
|
961
|
+
var loadConnect = () => import("./setup-1nb2zqd3.js").then(({ Setup }) => Setup);
|
|
962
962
|
function UnknownCommand({ command }) {
|
|
963
963
|
const { exit } = use_app_default();
|
|
964
964
|
import_react.useEffect(() => {
|
|
@@ -1088,19 +1088,19 @@ ${binName} docs \u2014 v${package_default.version}
|
|
|
1088
1088
|
}
|
|
1089
1089
|
process.exit(0);
|
|
1090
1090
|
} else if (args.command === "hook") {
|
|
1091
|
-
const { runHook } = await import("./hook-
|
|
1091
|
+
const { runHook } = await import("./hook-x8rthca4.js");
|
|
1092
1092
|
await runHook();
|
|
1093
1093
|
} else if (args.command === "codex-hook") {
|
|
1094
|
-
const { handleCodexHook } = await import("./codex-hook-
|
|
1094
|
+
const { handleCodexHook } = await import("./codex-hook-x7nejyrr.js");
|
|
1095
1095
|
await handleCodexHook();
|
|
1096
1096
|
process.exit(process.exitCode ?? 0);
|
|
1097
1097
|
} else if (args.command === "session-summary-stdin") {
|
|
1098
|
-
const { runSessionSummaryFromStdin } = await import("./hook-
|
|
1098
|
+
const { runSessionSummaryFromStdin } = await import("./hook-1mmdgjqs.js");
|
|
1099
1099
|
await runSessionSummaryFromStdin();
|
|
1100
1100
|
process.exit(process.exitCode ?? 0);
|
|
1101
1101
|
} else if (args.command === "x") {
|
|
1102
1102
|
const xArgs = process.argv.slice(process.argv.indexOf("x") + 1);
|
|
1103
|
-
const { runXCommand } = await import("./x-
|
|
1103
|
+
const { runXCommand } = await import("./x-y45mthwn.js");
|
|
1104
1104
|
await runXCommand(xArgs);
|
|
1105
1105
|
} else if (args.command === "scripts") {
|
|
1106
1106
|
const scriptsArgs = process.argv.slice(process.argv.indexOf("scripts") + 1);
|
|
@@ -1108,7 +1108,7 @@ ${binName} docs \u2014 v${package_default.version}
|
|
|
1108
1108
|
printHelp("scripts");
|
|
1109
1109
|
process.exit(scriptsArgs[0] === "reembed" || args.showHelp ? 0 : 1);
|
|
1110
1110
|
}
|
|
1111
|
-
const { runScriptsMaintenanceCommand } = await import("./maintenance-
|
|
1111
|
+
const { runScriptsMaintenanceCommand } = await import("./maintenance-mnxpar12.js");
|
|
1112
1112
|
await runScriptsMaintenanceCommand(scriptsArgs);
|
|
1113
1113
|
console.log("Scripts re-embedded.");
|
|
1114
1114
|
} else if (args.command === "rbac") {
|
|
@@ -1118,25 +1118,25 @@ ${binName} docs \u2014 v${package_default.version}
|
|
|
1118
1118
|
printHelp("rbac");
|
|
1119
1119
|
process.exit(args.showHelp ? 0 : 1);
|
|
1120
1120
|
}
|
|
1121
|
-
const { runRbacCliCommand } = await import("./rbac-roles-
|
|
1121
|
+
const { runRbacCliCommand } = await import("./rbac-roles-ttyfaep2.js");
|
|
1122
1122
|
await runRbacCliCommand(rbacArgs);
|
|
1123
1123
|
} else if (args.command === "codex-login") {
|
|
1124
|
-
const { runCodexLogin } = await import("./codex-login-
|
|
1124
|
+
const { runCodexLogin } = await import("./codex-login-m819c41r.js");
|
|
1125
1125
|
const codexLoginArgs = process.argv.slice(process.argv.indexOf("codex-login") + 1);
|
|
1126
1126
|
await runCodexLogin(codexLoginArgs);
|
|
1127
1127
|
} else if (args.command === "codex-session-runner") {
|
|
1128
|
-
const { runCodexSessionRunner } = await import("./codex-session-runner-
|
|
1128
|
+
const { runCodexSessionRunner } = await import("./codex-session-runner-60b58vv3.js");
|
|
1129
1129
|
await runCodexSessionRunner();
|
|
1130
1130
|
} else if (args.command === "claude-managed-setup") {
|
|
1131
|
-
const { runClaudeManagedSetup } = await import("./claude-managed-setup-
|
|
1131
|
+
const { runClaudeManagedSetup } = await import("./claude-managed-setup-h00hsgtz.js");
|
|
1132
1132
|
const setupArgs = process.argv.slice(process.argv.indexOf("claude-managed-setup") + 1);
|
|
1133
1133
|
await runClaudeManagedSetup(setupArgs);
|
|
1134
1134
|
} else if (args.command === "e2b") {
|
|
1135
|
-
const { runE2BCommand } = await import("./e2b-
|
|
1135
|
+
const { runE2BCommand } = await import("./e2b-thdcxtjd.js");
|
|
1136
1136
|
const e2bArgs = process.argv.slice(process.argv.indexOf("e2b") + 1);
|
|
1137
1137
|
await runE2BCommand(e2bArgs);
|
|
1138
1138
|
} else if (args.command === "controller") {
|
|
1139
|
-
const { runController } = await import("./controller-
|
|
1139
|
+
const { runController } = await import("./controller-m263fg43.js");
|
|
1140
1140
|
await runController(process.argv.slice(process.argv.indexOf("controller") + 1));
|
|
1141
1141
|
} else {
|
|
1142
1142
|
render_default(/* @__PURE__ */ jsx_dev_runtime.jsxDEV(App, {
|
|
@@ -2,22 +2,22 @@ import {
|
|
|
2
2
|
checkCodexCredentials2,
|
|
3
3
|
createInProcessCodexSession2,
|
|
4
4
|
CodexAdapter2
|
|
5
|
-
} from "./cli-
|
|
5
|
+
} from "./cli-rdyw3mct.js";
|
|
6
6
|
import"./cli-4zsenjhy.js";
|
|
7
7
|
import"./cli-kr5tjjtz.js";
|
|
8
8
|
import"./cli-vbhgkw9h.js";
|
|
9
9
|
import"./cli-4bd1rck6.js";
|
|
10
10
|
import"./cli-jc1g9ndz.js";
|
|
11
|
-
import"./cli-
|
|
12
|
-
import"./cli-
|
|
11
|
+
import"./cli-a5ebc95n.js";
|
|
12
|
+
import"./cli-pnp2j5zg.js";
|
|
13
13
|
import"./cli-0726awxw.js";
|
|
14
14
|
import"./cli-gx4rm0qx.js";
|
|
15
|
-
import"./cli-
|
|
15
|
+
import"./cli-bn0rewsy.js";
|
|
16
16
|
import"./cli-3h26v7yj.js";
|
|
17
17
|
import"./cli-7a91w22y.js";
|
|
18
18
|
import"./cli-3ggwdtb0.js";
|
|
19
|
-
import"./cli-
|
|
20
|
-
import"./cli-
|
|
19
|
+
import"./cli-8nyhf7za.js";
|
|
20
|
+
import"./cli-ejs3m1sx.js";
|
|
21
21
|
import"./cli-13p25grh.js";
|
|
22
22
|
import"./cli-0adyhvq2.js";
|
|
23
23
|
import"./cli-445c1vp7.js";
|
|
@@ -3,8 +3,9 @@ import {
|
|
|
3
3
|
renderSteeringDelivery
|
|
4
4
|
} from "./cli-0xk505e8.js";
|
|
5
5
|
import {
|
|
6
|
-
guardGhPrBody
|
|
7
|
-
|
|
6
|
+
guardGhPrBody,
|
|
7
|
+
guardGhPrRoom
|
|
8
|
+
} from "./cli-d82btycs.js";
|
|
8
9
|
import {
|
|
9
10
|
isSteeringEnabled2,
|
|
10
11
|
init_steering_enabled
|
|
@@ -97,10 +98,12 @@ ${additionalContext}`
|
|
|
97
98
|
hookSpecificOutput: { hookEventName: event, additionalContext }
|
|
98
99
|
};
|
|
99
100
|
}
|
|
100
|
-
async function codexPreToolUseBlock(msg, deps) {
|
|
101
|
+
async function codexPreToolUseBlock(msg, deps, roomDeps) {
|
|
101
102
|
if (msg.hook_event_name !== "PreToolUse")
|
|
102
103
|
return null;
|
|
103
|
-
|
|
104
|
+
const cwd = msg.cwd ?? process.cwd();
|
|
105
|
+
const block = await guardGhPrBody(msg.tool_input, cwd, deps);
|
|
106
|
+
return block ?? await guardGhPrRoom(msg.tool_input, cwd, roomDeps);
|
|
104
107
|
}
|
|
105
108
|
async function handleCodexHook() {
|
|
106
109
|
let msg;
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import"./cli-3h26v7yj.js";
|
|
2
|
-
import"./cli-
|
|
2
|
+
import"./cli-a5ebc95n.js";
|
|
3
3
|
import"./cli-gx4rm0qx.js";
|
|
4
4
|
import"./cli-445c1vp7.js";
|
|
5
|
-
import"./cli-
|
|
5
|
+
import"./cli-8nyhf7za.js";
|
|
6
6
|
import"./cli-kvzgak7c.js";
|
|
7
|
-
import"./cli-
|
|
8
|
-
import"./cli-
|
|
7
|
+
import"./cli-ejs3m1sx.js";
|
|
8
|
+
import"./cli-pnp2j5zg.js";
|
|
9
9
|
import"./cli-7a91w22y.js";
|
|
10
10
|
import"./cli-3ggwdtb0.js";
|
|
11
11
|
import {
|
|
12
12
|
createInProcessCodexSession2
|
|
13
|
-
} from "./cli-
|
|
13
|
+
} from "./cli-rdyw3mct.js";
|
|
14
14
|
import"./cli-jc1g9ndz.js";
|
|
15
15
|
import"./cli-0726awxw.js";
|
|
16
16
|
import"./cli-4bd1rck6.js";
|
|
17
17
|
import"./cli-kr5tjjtz.js";
|
|
18
18
|
import"./cli-vbhgkw9h.js";
|
|
19
|
-
import"./cli-
|
|
19
|
+
import"./cli-bn0rewsy.js";
|
|
20
20
|
import"./cli-4zsenjhy.js";
|
|
21
21
|
import"./cli-13p25grh.js";
|
|
22
22
|
import"./cli-0adyhvq2.js";
|
|
23
23
|
import {
|
|
24
24
|
scrubSecrets,
|
|
25
25
|
init_secret_scrubber
|
|
26
|
-
} from "./cli-
|
|
26
|
+
} from "./cli-xf234ws8.js";
|
|
27
27
|
|
|
28
28
|
// src/commands/codex-session-runner.ts
|
|
29
29
|
init_secret_scrubber();
|
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
getAllAgents2,
|
|
3
3
|
getAllTasks2,
|
|
4
4
|
init_db3
|
|
5
|
-
} from "./cli-
|
|
5
|
+
} from "./cli-d3qqdy4c.js";
|
|
6
6
|
import {
|
|
7
7
|
EXTERNAL_CHANNEL_BLOCKED_REPLY2,
|
|
8
8
|
shouldBlockChannel2
|
|
9
|
-
} from "./cli-
|
|
9
|
+
} from "./cli-pkht5hap.js";
|
|
10
10
|
import {
|
|
11
11
|
isEnvFlagEnabled,
|
|
12
12
|
init_env_flag
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
BuiltinController,
|
|
3
3
|
CONTROLLER_PROTOCOL_VERSION,
|
|
4
4
|
ControllerServerMessageSchema
|
|
5
|
-
} from "./cli-
|
|
5
|
+
} from "./cli-hqhzg1qq.js";
|
|
6
6
|
import {
|
|
7
7
|
createRuntimeProvider,
|
|
8
8
|
init_runtime_providers
|
|
9
|
-
} from "./cli-
|
|
9
|
+
} from "./cli-pw7v69vp.js";
|
|
10
10
|
import {
|
|
11
11
|
RuntimeProviderKindSchema,
|
|
12
12
|
init_types
|
|
13
|
-
} from "./cli-
|
|
13
|
+
} from "./cli-fpmsqq59.js";
|
|
14
14
|
import {
|
|
15
15
|
scrubSecrets,
|
|
16
16
|
registerVolatileSecret,
|
|
17
17
|
init_secret_scrubber
|
|
18
|
-
} from "./cli-
|
|
18
|
+
} from "./cli-xf234ws8.js";
|
|
19
19
|
|
|
20
20
|
// src/commands/controller.ts
|
|
21
21
|
init_runtime_providers();
|