@desplega.ai/agent-swarm 1.165.0 → 1.166.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{acp-adapter-w6zws6me.js → acp-adapter-yzfxn8vj.js} +4 -4
- package/dist/{actions-jna0b3wm.js → actions-qz3m692w.js} +20 -24
- package/dist/{amp-adapter-0eve81pz.js → amp-adapter-j1xbmsqz.js} +4 -4
- package/dist/{app-75hm5cfa.js → app-43vrdmv8.js} +6 -7
- package/dist/{assistant-yzd51j33.js → assistant-ertffmka.js} +21 -25
- package/dist/{boot-reembed-z158xq32.js → boot-reembed-998jtpdg.js} +9 -12
- package/dist/{boot-reembed-2ex2mcsh.js → boot-reembed-s7k7c6v2.js} +10 -12
- package/dist/boot-scrub-sweep-nepsk4t1.js +211 -0
- package/dist/{boot-seeds-2bmnh18p.js → boot-seeds-vvzs1zhk.js} +8 -8
- package/dist/{claude-adapter-jbj1mycz.js → claude-adapter-2zvmekrp.js} +9 -11
- package/dist/{claude-managed-adapter-17ggz09t.js → claude-managed-adapter-s49wbk8t.js} +3 -3
- package/dist/{claude-managed-setup-ptm1nzm2.js → claude-managed-setup-cvhqq8qn.js} +4 -4
- package/dist/{claude-sdk-session-9re1g7r2.js → claude-sdk-session-kkbxtw5q.js} +2618 -2600
- package/dist/{cli-k6xx3pve.js → cli-0nhdwxd5.js} +4 -4
- package/dist/{cli-n9ehc28t.js → cli-0qjcsxgz.js} +4 -4
- package/dist/{cli-zn2v3t8v.js → cli-3ddybbbx.js} +1 -1
- package/dist/{cli-5anb0ev3.js → cli-3qn4r334.js} +71 -14
- package/dist/{cli-1kzfvd1z.js → cli-4r1sjfc4.js} +9 -5
- package/dist/{cli-ba66wyhy.js → cli-66zh26sp.js} +6 -6
- package/dist/{cli-9xb89xca.js → cli-68r1j4sg.js} +6 -6
- package/dist/{cli-xnzrzets.js → cli-8kgvmkak.js} +2 -2
- package/dist/{cli-28smfvbn.js → cli-8t229cmr.js} +5 -5
- package/dist/{cli-9866bd07.js → cli-aqcey741.js} +1 -1
- package/dist/{cli-90v942q1.js → cli-cpfmqz3n.js} +8 -8
- package/dist/{cli-50eg13rj.js → cli-df56tqdw.js} +459 -282
- package/dist/{cli-8gpbwy09.js → cli-dw2q9f7g.js} +5 -5
- package/dist/{cli-0n4fasz0.js → cli-ecknp7p1.js} +15 -15
- package/dist/{cli-xb3c6aat.js → cli-f2n17zhp.js} +1 -1
- package/dist/{cli-ftry7975.js → cli-feh3dkah.js} +1 -1
- package/dist/{cli-amwhs8h2.js → cli-fn697bnt.js} +2 -2
- package/dist/{cli-prt9emct.js → cli-gt8azyet.js} +3 -3
- package/dist/{cli-59jn5twa.js → cli-h3x613ze.js} +2 -2
- package/dist/{cli-mmzwwptd.js → cli-hf5s9pgf.js} +1 -1
- package/dist/cli-j2jbr8af.js +516 -0
- package/dist/{cli-wfajtmf7.js → cli-jhm6hzjn.js} +593 -10
- package/dist/{cli-xtgtyafv.js → cli-jvj6a0cv.js} +190 -439
- package/dist/{cli-hpryr6em.js → cli-mb75wpxf.js} +1 -1
- package/dist/{cli-420bdgw0.js → cli-mv2520nm.js} +1 -1
- package/dist/{cli-pjxnr1jn.js → cli-mwegs4af.js} +3 -3
- package/dist/{cli-5b2fjjzh.js → cli-p4ztb80h.js} +2 -2
- package/dist/{cli-e7t4snpa.js → cli-rggdq8wq.js} +4 -4
- package/dist/{cli-bdv39kgj.js → cli-rsy933yz.js} +5 -5
- package/dist/{cli-gh5yqzpe.js → cli-v2a8x45d.js} +2 -2
- package/dist/{cli-bns5c8k9.js → cli-vzc73wet.js} +43 -47
- package/dist/cli-wt7ccy4r.js +2654 -0
- package/dist/{cli-j0pdrmwg.js → cli-x7kpr72a.js} +3 -3
- package/dist/{cli-x7afk5wm.js → cli-xvc3q9br.js} +1 -1
- package/dist/{cli-9s3h836g.js → cli-xvdgasgy.js} +1 -1
- package/dist/{cli-zvckv750.js → cli-y59h2pk9.js} +2 -2
- package/dist/{cli-qdv8kgz7.js → cli-yshaazs1.js} +13884 -3241
- package/dist/{cli-nfygw434.js → cli-ysnyhws9.js} +2 -2
- package/dist/{cli-fw6vdcq5.js → cli-zp67qg5x.js} +34 -1
- package/dist/{cli-ma3zvh39.js → cli-zy7vwsne.js} +6066 -5829
- package/dist/cli.js +24 -20
- package/dist/{codex-adapter-3qnxshje.js → codex-adapter-dw1wxqt8.js} +7 -7
- package/dist/{codex-login-brkxhhdg.js → codex-login-terbdsqq.js} +2 -2
- package/dist/{codex-session-runner-612wnapp.js → codex-session-runner-3cgb8y1g.js} +7 -7
- package/dist/{commands-2ybfcxkj.js → commands-mhxam6z2.js} +6 -6
- package/dist/{cursor-adapter-p3jgdehv.js → cursor-adapter-2qda3st7.js} +3 -3
- package/dist/{db-f4ans0jj.js → db-sjks418k.js} +8 -6
- package/dist/{devin-adapter-dhzt01ff.js → devin-adapter-bffjj5n4.js} +2 -2
- package/dist/{dispatcher-pk182apd.js → dispatcher-1es759rn.js} +18 -22
- package/dist/{dsh-adapter-7twaeps1.js → dsh-adapter-bek4cyw9.js} +3 -3
- package/dist/{e2b-y8t3jzyz.js → e2b-nd50eccg.js} +1 -1
- package/dist/{event-bus-w7ac4n3c.js → event-bus-vnfthafg.js} +2 -2
- package/dist/{grok-adapter-yt9pab3k.js → grok-adapter-ar9cw9jg.js} +5 -5
- package/dist/{handlers-g2wnr4t9.js → handlers-1gkbhktr.js} +21 -25
- package/dist/{hook-f7jt9vnm.js → hook-ds2zxq9v.js} +14 -16
- package/dist/{hook-bbdpnkb4.js → hook-vxa3tcsy.js} +8 -10
- package/dist/{http-w40q4w94.js → http-3h21z9md.js} +247 -164
- package/dist/{index-056j5kzn.js → index-9b65j1m5.js} +8 -8
- package/dist/{index-9bfssf54.js → index-bn6cy8ps.js} +18 -22
- package/dist/{index-cj1r9q83.js → index-dkfxpkmm.js} +19 -23
- package/dist/{index-7n70jwbb.js → index-f8xnqrye.js} +19 -21
- package/dist/{index-fdk1t4d6.js → index-n0rxa4ca.js} +11962 -9900
- package/dist/{index-k8xc083e.js → index-n99fycq7.js} +18 -22
- package/dist/{keepalive-1tj10tf4.js → keepalive-3xspa9jw.js} +11 -8
- package/dist/{lead-st0bg7v4.js → lead-6qphc124.js} +34 -38
- package/dist/{maintenance-nz71zats.js → maintenance-0teem1bb.js} +7 -9
- package/dist/{node-f0ykebbv.js → node-9sg7ajby.js} +25 -7
- package/dist/{oauth-refresh-sweep-aefzwvvq.js → oauth-refresh-sweep-sh9q25xp.js} +10 -7
- package/dist/{onboard-kgpr9mbn.js → onboard-54qmnqxe.js} +2 -2
- package/dist/{opencode-adapter-0c8e70dk.js → opencode-adapter-wjfa2wvd.js} +2 -2
- package/dist/{otel-impl-x8zp4y5a.js → otel-impl-ycqzp2a1.js} +2 -2
- package/dist/{pi-mono-adapter-t280ah5c.js → pi-mono-adapter-e77e9zst.js} +4 -4
- package/dist/{pricing-refresh-9e0q7cwk.js → pricing-refresh-atnkngqs.js} +7 -7
- package/dist/{rbac-roles-kcp6zge2.js → rbac-roles-9pjphh9q.js} +6 -6
- package/dist/{rbac-roles-790j3ga8.js → rbac-roles-j78wdksm.js} +6 -6
- package/dist/{render-v2-tch4nefj.js → render-v2-pxjs49fx.js} +6 -7
- package/dist/{setup-rcm303ns.js → setup-ymej0xtx.js} +2 -2
- package/dist/{work-objects-ctg7t70w.js → work-objects-3nh4ymzb.js} +22 -26
- package/dist/{worker-5dp0xm55.js → worker-qa9fkz5s.js} +34 -38
- package/dist/{x-v3yw66zs.js → x-ma4gnfgy.js} +2 -2
- package/openapi.json +5 -2
- package/package.json +9 -5
- package/src/be/automation-preflight.ts +9 -4
- package/src/be/boot-scrub-sweep.ts +302 -0
- package/src/be/crypto/key-bootstrap.ts +1 -1
- package/src/be/db/approvals.ts +15 -1
- package/src/be/db/codex-oauth-device-flows.ts +40 -0
- package/src/be/db/config-secrets.ts +31 -0
- package/src/be/db/runtime.ts +4 -0
- package/src/be/db/script-runs.ts +15 -0
- package/src/be/db/tasks/write.ts +1 -1
- package/src/be/db-queries/mcp-oauth.ts +5 -0
- package/src/be/db-queries/oauth.ts +77 -0
- package/src/be/db.ts +162 -59
- package/src/be/events.ts +17 -1
- package/src/be/memory/index-content.ts +2 -2
- package/src/be/memory/providers/sqlite-store.ts +63 -11
- package/src/be/memory/types.ts +14 -0
- package/src/be/migrations/201_workflow_replay_columns.sql +10 -0
- package/src/be/migrations/202_codex_oauth_device_flows.sql +24 -0
- package/src/be/scripts/db.ts +28 -4
- package/src/be/scripts/source-secrets.ts +37 -0
- package/src/be/scrub-json.ts +32 -0
- package/src/be/sealed-json.ts +59 -0
- package/src/be/secret-registry.ts +131 -0
- package/src/be/workflow-replay.ts +77 -0
- package/src/http/codex-oauth-device.ts +8 -10
- package/src/http/db-query-bounded.ts +3 -0
- package/src/http/db-query-shared.ts +107 -15
- package/src/http/db-query.ts +10 -2
- package/src/http/index.ts +23 -6
- package/src/http/script-runs.ts +9 -1
- package/src/http/scripts.ts +15 -0
- package/src/http/workflows.ts +3 -2
- package/src/oauth/mcp-wrapper.ts +1 -1
- package/src/providers/acp-adapter.ts +25 -11
- package/src/providers/acp-target-catalog.ts +35 -1
- package/src/providers/acp-targets.ts +69 -3
- package/src/providers/amp-adapter.ts +1 -1
- package/src/providers/cursor-adapter.ts +1 -1
- package/src/script-workflows/supervisor.ts +11 -2
- package/src/scripts-runtime/eval-harness.ts +2 -12
- package/src/scripts-runtime/executors/quickjs-bundle.ts +152 -0
- package/src/scripts-runtime/executors/quickjs-prelude.ts +285 -0
- package/src/scripts-runtime/executors/quickjs-runner.ts +580 -0
- package/src/scripts-runtime/executors/quickjs-worker.ts +81 -0
- package/src/scripts-runtime/executors/quickjs.ts +196 -0
- package/src/scripts-runtime/executors/registry.ts +2 -0
- package/src/scripts-runtime/executors/sourcemap.ts +79 -0
- package/src/scripts-runtime/script-error-hints.ts +14 -0
- package/src/server.ts +3 -1
- package/src/tests/acp-adapter.test.ts +127 -2
- package/src/tests/boot-scrub-sweep.test.ts +390 -0
- package/src/tests/check-text-columns.test.ts +145 -0
- package/src/tests/claude-sdk-process.fixture.ts +13 -2
- package/src/tests/codex-oauth-device.test.ts +23 -37
- package/src/tests/db-query-denylist.test.ts +202 -0
- package/src/tests/db-task-read-contract.test.ts +1 -0
- package/src/tests/db-task-write-contract.test.ts +1 -0
- package/src/tests/entrypoint-acp-target-binary.test.ts +31 -1
- package/src/tests/events-scrub.test.ts +88 -0
- package/src/tests/fixtures/secret-corpus.ts +320 -0
- package/src/tests/script-connections.test.ts +5 -0
- package/src/tests/script-executor-conformance.test.ts +3 -0
- package/src/tests/script-executor-quickjs.test.ts +442 -0
- package/src/tests/script-executor-registry.test.ts +6 -1
- package/src/tests/script-runs-http.test.ts +88 -1
- package/src/tests/script-runs-scrub.test.ts +275 -0
- package/src/tests/scripts-http.test.ts +82 -1
- package/src/tests/scrubbed-text-12e.test.ts +289 -0
- package/src/tests/sealed-key-guard.test.ts +166 -0
- package/src/tests/secret-canary-sweep.test.ts +958 -0
- package/src/tests/secret-registry.test.ts +355 -0
- package/src/tests/secret-rules.test.ts +230 -0
- package/src/tests/secret-scrubber.test.ts +3 -2
- package/src/tests/workflow-replay.test.ts +518 -0
- package/src/tests/workflow-scrub.test.ts +242 -0
- package/src/tools/db-query.ts +1 -1
- package/src/tools/inject-learning.ts +1 -1
- package/src/tools/workflows/get-workflow-run.ts +3 -2
- package/src/types.ts +1 -1
- package/src/utils/secret-rules.generated.ts +2055 -0
- package/src/utils/secret-scrubber.ts +363 -29
- package/src/workflows/engine.ts +39 -4
- package/src/workflows/recovery.ts +10 -1
- package/src/workflows/resume.ts +62 -3
- package/src/workflows/retry-poller.ts +3 -0
- package/dist/boot-scrub-logs-246yn076.js +0 -99
- package/dist/cli-3a4m1aws.js +0 -572
- package/dist/cli-a87b04k8.js +0 -951
- package/dist/cli-cvk6yzw5.js +0 -40
- package/dist/cli-h1spv8v4.js +0 -427
- package/dist/cli-jqt9hrnz.js +0 -168
- package/dist/cli-yhmwmv0g.js +0 -9281
- package/src/be/boot-scrub-logs.ts +0 -132
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
import {
|
|
13
13
|
ampBillsCacheWrites,
|
|
14
14
|
resolveAmpModel
|
|
15
|
-
} from "./cli-
|
|
15
|
+
} from "./cli-mv2520nm.js";
|
|
16
16
|
import {
|
|
17
17
|
swarmRuntimeInstanceId
|
|
18
18
|
} from "./cli-re8z5p8p.js";
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
init_secret_scrubber,
|
|
29
29
|
registerVolatileSecret,
|
|
30
30
|
scrubSecrets
|
|
31
|
-
} from "./cli-
|
|
31
|
+
} from "./cli-wt7ccy4r.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.1791403257-g05ffa9";
|
|
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;
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
parseModelStr,
|
|
8
8
|
resolveCredential
|
|
9
|
-
} from "./cli-
|
|
9
|
+
} from "./cli-f2n17zhp.js";
|
|
10
10
|
import {
|
|
11
11
|
DEFAULT_OPENROUTER_BASE_URL,
|
|
12
12
|
getOpenRouterBaseUrl
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
import {
|
|
28
28
|
init_secret_scrubber,
|
|
29
29
|
scrubSecrets
|
|
30
|
-
} from "./cli-
|
|
30
|
+
} from "./cli-wt7ccy4r.js";
|
|
31
31
|
|
|
32
32
|
// src/utils/internal-ai/complete-structured.ts
|
|
33
33
|
init_zod();
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildModelsDevSeedRows,
|
|
3
3
|
loadModelsDevCache
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-ysnyhws9.js";
|
|
5
5
|
import {
|
|
6
6
|
createLogEntry,
|
|
7
7
|
getActivePricingRow,
|
|
8
8
|
getDbClient,
|
|
9
|
-
init_db,
|
|
9
|
+
init_db1 as init_db,
|
|
10
10
|
insertPricingRow
|
|
11
|
-
} from "./cli-
|
|
11
|
+
} from "./cli-yshaazs1.js";
|
|
12
12
|
import {
|
|
13
13
|
init_runtime_model_catalog,
|
|
14
14
|
setRuntimeModelCatalog
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
import {
|
|
17
17
|
init_secret_scrubber,
|
|
18
18
|
scrubSecrets
|
|
19
|
-
} from "./cli-
|
|
19
|
+
} from "./cli-wt7ccy4r.js";
|
|
20
20
|
|
|
21
21
|
// src/be/pricing-refresh.ts
|
|
22
22
|
init_secret_scrubber();
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
materializeClaudeMd,
|
|
3
3
|
stopClaudeMd
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-y59h2pk9.js";
|
|
5
5
|
import {
|
|
6
6
|
guardGhPrBody
|
|
7
7
|
} from "./cli-v6vv7dy8.js";
|
|
8
8
|
import {
|
|
9
9
|
summarizeSession
|
|
10
|
-
} from "./cli-
|
|
10
|
+
} from "./cli-p4ztb80h.js";
|
|
11
11
|
import {
|
|
12
12
|
checkToolLoop,
|
|
13
13
|
clearToolHistory
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
init_profile_sync,
|
|
30
30
|
readIdentityBaselines,
|
|
31
31
|
warnProfileFileTooLarge
|
|
32
|
-
} from "./cli-
|
|
32
|
+
} from "./cli-jhm6hzjn.js";
|
|
33
33
|
import {
|
|
34
34
|
MAX_PROFILE_FILE_LENGTH,
|
|
35
35
|
getMcpBaseUrl,
|
|
@@ -38,11 +38,11 @@ import {
|
|
|
38
38
|
import {
|
|
39
39
|
init_package,
|
|
40
40
|
package_default
|
|
41
|
-
} from "./cli-
|
|
41
|
+
} from "./cli-4r1sjfc4.js";
|
|
42
42
|
import {
|
|
43
43
|
init_secret_scrubber,
|
|
44
44
|
scrubSecrets
|
|
45
|
-
} from "./cli-
|
|
45
|
+
} from "./cli-wt7ccy4r.js";
|
|
46
46
|
|
|
47
47
|
// src/hooks/hook.ts
|
|
48
48
|
init_package();
|
|
@@ -24,12 +24,12 @@ import {
|
|
|
24
24
|
import {
|
|
25
25
|
DEFAULT_MODEL_TIER_MAP,
|
|
26
26
|
init_types
|
|
27
|
-
} from "./cli-
|
|
27
|
+
} from "./cli-xvdgasgy.js";
|
|
28
28
|
import {
|
|
29
29
|
init_secret_scrubber,
|
|
30
30
|
registerVolatileSecret,
|
|
31
31
|
scrubSecrets
|
|
32
|
-
} from "./cli-
|
|
32
|
+
} from "./cli-wt7ccy4r.js";
|
|
33
33
|
|
|
34
34
|
// src/providers/dsh-adapter.ts
|
|
35
35
|
init_types();
|
|
@@ -3,30 +3,30 @@ import {
|
|
|
3
3
|
} from "./cli-9q3wt23f.js";
|
|
4
4
|
import {
|
|
5
5
|
checkCursorCredentials
|
|
6
|
-
} from "./cli-
|
|
6
|
+
} from "./cli-68r1j4sg.js";
|
|
7
7
|
import {
|
|
8
8
|
checkGrokCredentials
|
|
9
|
-
} from "./cli-
|
|
9
|
+
} from "./cli-fn697bnt.js";
|
|
10
10
|
import {
|
|
11
11
|
checkCodexCredentials,
|
|
12
12
|
codexUserHome
|
|
13
|
-
} from "./cli-
|
|
13
|
+
} from "./cli-8t229cmr.js";
|
|
14
14
|
import {
|
|
15
15
|
checkClaudeManagedCredentials
|
|
16
|
-
} from "./cli-
|
|
16
|
+
} from "./cli-h3x613ze.js";
|
|
17
17
|
import {
|
|
18
18
|
checkDevinCredentials
|
|
19
|
-
} from "./cli-
|
|
19
|
+
} from "./cli-hf5s9pgf.js";
|
|
20
20
|
import {
|
|
21
21
|
checkOpencodeCredentials
|
|
22
|
-
} from "./cli-
|
|
22
|
+
} from "./cli-3ddybbbx.js";
|
|
23
23
|
import {
|
|
24
24
|
checkDshCredentials
|
|
25
|
-
} from "./cli-
|
|
25
|
+
} from "./cli-v2a8x45d.js";
|
|
26
26
|
import {
|
|
27
27
|
checkAmpCredentials,
|
|
28
28
|
liveTestAmpCredentials
|
|
29
|
-
} from "./cli-
|
|
29
|
+
} from "./cli-mwegs4af.js";
|
|
30
30
|
import {
|
|
31
31
|
createSkillInvokeTracker,
|
|
32
32
|
isSkillLoaderCall,
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
} from "./cli-9k7mqz00.js";
|
|
35
35
|
import {
|
|
36
36
|
checkClaudeCredentials
|
|
37
|
-
} from "./cli-
|
|
37
|
+
} from "./cli-0qjcsxgz.js";
|
|
38
38
|
import {
|
|
39
39
|
getContextWindowSize
|
|
40
40
|
} from "./cli-32bca7nr.js";
|
|
@@ -63,7 +63,7 @@ import {
|
|
|
63
63
|
parseAzureDevOpsRepoUrl,
|
|
64
64
|
resolveScriptsOnlyMode,
|
|
65
65
|
validateJsonSchema
|
|
66
|
-
} from "./cli-
|
|
66
|
+
} from "./cli-df56tqdw.js";
|
|
67
67
|
import {
|
|
68
68
|
getApiKey
|
|
69
69
|
} from "./cli-f14fvzag.js";
|
|
@@ -74,23 +74,10 @@ import {
|
|
|
74
74
|
authJsonToCredentialSelection,
|
|
75
75
|
credentialsToAuthJson,
|
|
76
76
|
loadAllCodexOAuthSlots
|
|
77
|
-
} from "./cli-
|
|
77
|
+
} from "./cli-feh3dkah.js";
|
|
78
78
|
import {
|
|
79
79
|
getOpenRouterBaseUrl
|
|
80
80
|
} from "./cli-3dpj7atn.js";
|
|
81
|
-
import {
|
|
82
|
-
buildContextPreamble,
|
|
83
|
-
buildResumeContextPreamble,
|
|
84
|
-
contentSha256,
|
|
85
|
-
init_context_preamble,
|
|
86
|
-
init_profile_sync,
|
|
87
|
-
prependContextPreamble,
|
|
88
|
-
prependProfileSyncRejectionBanner,
|
|
89
|
-
resolveClaudeMdPath,
|
|
90
|
-
syncProfileFilesToServer,
|
|
91
|
-
writeIdentityBaselines,
|
|
92
|
-
writeProfileFileFromDb
|
|
93
|
-
} from "./cli-wfajtmf7.js";
|
|
94
81
|
import {
|
|
95
82
|
ensure,
|
|
96
83
|
initOtel,
|
|
@@ -100,11 +87,7 @@ import {
|
|
|
100
87
|
startSpan,
|
|
101
88
|
withSpan,
|
|
102
89
|
withSpanContext
|
|
103
|
-
} from "./cli-
|
|
104
|
-
import {
|
|
105
|
-
init_task_attachment_links,
|
|
106
|
-
taskAttachmentFetchCommand
|
|
107
|
-
} from "./cli-cvk6yzw5.js";
|
|
90
|
+
} from "./cli-ecknp7p1.js";
|
|
108
91
|
import {
|
|
109
92
|
initTelemetry,
|
|
110
93
|
init_api_drain,
|
|
@@ -115,23 +98,36 @@ import {
|
|
|
115
98
|
isCodexAuthFailureReason,
|
|
116
99
|
mapTriggerSurface,
|
|
117
100
|
telemetry
|
|
118
|
-
} from "./cli-
|
|
101
|
+
} from "./cli-yshaazs1.js";
|
|
119
102
|
import {
|
|
120
103
|
ProviderNameSchema,
|
|
121
104
|
init_types,
|
|
122
105
|
isTerminalTaskStatus,
|
|
123
106
|
parseWorkerModelTierOverrides,
|
|
124
107
|
resolveTaskModelSelection
|
|
125
|
-
} from "./cli-
|
|
108
|
+
} from "./cli-xvdgasgy.js";
|
|
126
109
|
import {
|
|
110
|
+
buildContextPreamble,
|
|
111
|
+
buildResumeContextPreamble,
|
|
112
|
+
contentSha256,
|
|
127
113
|
generateDefaultClaudeMd,
|
|
128
114
|
generateDefaultIdentityMd,
|
|
129
115
|
generateDefaultSoulMd,
|
|
130
116
|
generateDefaultToolsMd,
|
|
131
117
|
getBasePrompt,
|
|
132
118
|
init_base_prompt,
|
|
133
|
-
|
|
134
|
-
|
|
119
|
+
init_context_preamble,
|
|
120
|
+
init_defaults,
|
|
121
|
+
init_profile_sync,
|
|
122
|
+
init_task_attachment_links,
|
|
123
|
+
prependContextPreamble,
|
|
124
|
+
prependProfileSyncRejectionBanner,
|
|
125
|
+
resolveClaudeMdPath,
|
|
126
|
+
syncProfileFilesToServer,
|
|
127
|
+
taskAttachmentFetchCommand,
|
|
128
|
+
writeIdentityBaselines,
|
|
129
|
+
writeProfileFileFromDb
|
|
130
|
+
} from "./cli-jhm6hzjn.js";
|
|
135
131
|
import {
|
|
136
132
|
init_steering_enabled,
|
|
137
133
|
isSteeringEnabled
|
|
@@ -179,7 +175,7 @@ import {
|
|
|
179
175
|
init_secret_scrubber,
|
|
180
176
|
registerSensitiveKeyName,
|
|
181
177
|
scrubSecrets
|
|
182
|
-
} from "./cli-
|
|
178
|
+
} from "./cli-wt7ccy4r.js";
|
|
183
179
|
import {
|
|
184
180
|
__require
|
|
185
181
|
} from "./cli-bc05qbss.js";
|
|
@@ -216,47 +212,47 @@ async function materializeCodexAuthJson(_slot, creds, deps = {}) {
|
|
|
216
212
|
async function createProviderAdapter(provider) {
|
|
217
213
|
switch (provider) {
|
|
218
214
|
case "claude": {
|
|
219
|
-
const { ClaudeAdapter } = await import("./claude-adapter-
|
|
215
|
+
const { ClaudeAdapter } = await import("./claude-adapter-2zvmekrp.js");
|
|
220
216
|
return new ClaudeAdapter;
|
|
221
217
|
}
|
|
222
218
|
case "pi": {
|
|
223
|
-
const { PiMonoAdapter } = await import("./pi-mono-adapter-
|
|
219
|
+
const { PiMonoAdapter } = await import("./pi-mono-adapter-e77e9zst.js");
|
|
224
220
|
return new PiMonoAdapter;
|
|
225
221
|
}
|
|
226
222
|
case "codex": {
|
|
227
|
-
const { CodexAdapter } = await import("./codex-adapter-
|
|
223
|
+
const { CodexAdapter } = await import("./codex-adapter-dw1wxqt8.js");
|
|
228
224
|
return new CodexAdapter;
|
|
229
225
|
}
|
|
230
226
|
case "claude-managed": {
|
|
231
|
-
const { ClaudeManagedAdapter } = await import("./claude-managed-adapter-
|
|
227
|
+
const { ClaudeManagedAdapter } = await import("./claude-managed-adapter-s49wbk8t.js");
|
|
232
228
|
return new ClaudeManagedAdapter;
|
|
233
229
|
}
|
|
234
230
|
case "devin": {
|
|
235
|
-
const { DevinAdapter } = await import("./devin-adapter-
|
|
231
|
+
const { DevinAdapter } = await import("./devin-adapter-bffjj5n4.js");
|
|
236
232
|
return new DevinAdapter;
|
|
237
233
|
}
|
|
238
234
|
case "opencode": {
|
|
239
|
-
const { OpencodeAdapter } = await import("./opencode-adapter-
|
|
235
|
+
const { OpencodeAdapter } = await import("./opencode-adapter-wjfa2wvd.js");
|
|
240
236
|
return new OpencodeAdapter;
|
|
241
237
|
}
|
|
242
238
|
case "dsh": {
|
|
243
|
-
const { DshAdapter } = await import("./dsh-adapter-
|
|
239
|
+
const { DshAdapter } = await import("./dsh-adapter-bek4cyw9.js");
|
|
244
240
|
return new DshAdapter;
|
|
245
241
|
}
|
|
246
242
|
case "amp": {
|
|
247
|
-
const { AmpAdapter } = await import("./amp-adapter-
|
|
243
|
+
const { AmpAdapter } = await import("./amp-adapter-j1xbmsqz.js");
|
|
248
244
|
return new AmpAdapter;
|
|
249
245
|
}
|
|
250
246
|
case "cursor": {
|
|
251
|
-
const { CursorAdapter } = await import("./cursor-adapter-
|
|
247
|
+
const { CursorAdapter } = await import("./cursor-adapter-2qda3st7.js");
|
|
252
248
|
return new CursorAdapter;
|
|
253
249
|
}
|
|
254
250
|
case "grok": {
|
|
255
|
-
const { GrokAdapter } = await import("./grok-adapter-
|
|
251
|
+
const { GrokAdapter } = await import("./grok-adapter-ar9cw9jg.js");
|
|
256
252
|
return new GrokAdapter;
|
|
257
253
|
}
|
|
258
254
|
case "acp": {
|
|
259
|
-
const { ACPAdapter } = await import("./acp-adapter-
|
|
255
|
+
const { ACPAdapter } = await import("./acp-adapter-yzfxn8vj.js");
|
|
260
256
|
return new ACPAdapter;
|
|
261
257
|
}
|
|
262
258
|
default:
|
|
@@ -956,7 +952,7 @@ var CREDENTIAL_PROVIDER_CHECKERS = {
|
|
|
956
952
|
devin: (env) => checkDevinCredentials(env),
|
|
957
953
|
opencode: (env, opts) => checkOpencodeCredentials(env, opts),
|
|
958
954
|
pi: async (env, opts) => {
|
|
959
|
-
const { checkPiMonoCredentials } = await import("./pi-mono-adapter-
|
|
955
|
+
const { checkPiMonoCredentials } = await import("./pi-mono-adapter-e77e9zst.js");
|
|
960
956
|
return checkPiMonoCredentials(env, opts);
|
|
961
957
|
},
|
|
962
958
|
acp: () => ({ ready: true, missing: [], satisfiedBy: "sdk-delegated" })
|
|
@@ -1187,7 +1183,7 @@ async function validateProviderCredentials(provider, env = process.env, presence
|
|
|
1187
1183
|
latency_ms: Date.now() - startedAt
|
|
1188
1184
|
};
|
|
1189
1185
|
}
|
|
1190
|
-
const { liveTestCursorKey } = await import("./cursor-adapter-
|
|
1186
|
+
const { liveTestCursorKey } = await import("./cursor-adapter-2qda3st7.js");
|
|
1191
1187
|
const result = await liveTestCursorKey(apiKey);
|
|
1192
1188
|
return result.ok ? { ok: true, latency_ms: Date.now() - startedAt } : { ok: false, error: result.error, latency_ms: Date.now() - startedAt };
|
|
1193
1189
|
}
|