opencode-swarm 7.187.3 → 7.188.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/binaries/win32-arm64/swarm-sandbox-runner.exe +0 -0
- package/binaries/win32-x64/swarm-sandbox-runner.exe +0 -0
- package/dist/background/delegation-lifecycle.d.ts +4 -0
- package/dist/cli/{auto-checkpoint-521fehr3.js → auto-checkpoint-w2mjh5m3.js} +7 -7
- package/dist/cli/{checkpoint-czx5eken.js → checkpoint-eac282hg.js} +12 -12
- package/dist/cli/{coder-settlement-skfkfgt7.js → coder-settlement-40qspmep.js} +8 -8
- package/dist/cli/{config-doctor-t88fd5ra.js → config-doctor-p21xsvfn.js} +11 -11
- package/dist/cli/{core-fap9x47g.js → core-z7qs8s32.js} +1 -1
- package/dist/cli/{curation-policy-e1ce7ha8.js → curation-policy-v64ctcbd.js} +5 -5
- package/dist/cli/{curator-b7zzsv98.js → curator-csg36d2a.js} +35 -35
- package/dist/cli/{curator-drift-ea11apaw.js → curator-drift-z6c2ctqr.js} +5 -5
- package/dist/cli/{curator-llm-factory-758hynyn.js → curator-llm-factory-dtyyh77f.js} +35 -35
- package/dist/cli/{doctor-knowledge-receipt-phase-id-5768wb0n.js → doctor-knowledge-receipt-phase-id-gps8dpqr.js} +6 -6
- package/dist/cli/{evidence-summary-service-z2yj87tn.js → evidence-summary-service-txbkchx6.js} +15 -15
- package/dist/cli/{gate-evidence-m90ynftc.js → gate-evidence-bwyxrk3z.js} +5 -5
- package/dist/cli/{guardrail-explain-y2g82gqv.js → guardrail-explain-gxzdr8w4.js} +36 -36
- package/dist/cli/{guardrail-log-c50qd8sf.js → guardrail-log-ra5qbb4b.js} +6 -6
- package/dist/cli/{guardrail-reset-h7g9a90e.js → guardrail-reset-b0s11ban.js} +35 -35
- package/dist/cli/{hive-promoter-wpcn3wyz.js → hive-promoter-avvddtgc.js} +35 -35
- package/dist/cli/{index-bkcd3nwh.js → index-0v2svrev.js} +1 -1
- package/dist/cli/{index-by488z8m.js → index-41v699sv.js} +3 -3
- package/dist/cli/{index-sec8fwf1.js → index-4htcpbs4.js} +67 -48
- package/dist/cli/{index-h03j41jw.js → index-4m6k2r0v.js} +4 -4
- package/dist/cli/{index-naxtsh2e.js → index-4rjw95qw.js} +4 -4
- package/dist/cli/{index-4tmk29gc.js → index-5m06enb0.js} +1 -1
- package/dist/cli/{index-by7x4ty3.js → index-61pxv4sk.js} +35 -35
- package/dist/cli/{index-xpj149rz.js → index-7sbyvk99.js} +1 -1
- package/dist/cli/{index-japwz660.js → index-8pbtv6ea.js} +1 -1
- package/dist/cli/{index-w3xapqjq.js → index-9007eaeh.js} +3 -3
- package/dist/cli/{index-5ktekhxk.js → index-936d3ny7.js} +1 -1
- package/dist/cli/{index-02nzb100.js → index-9bjf0bhd.js} +2 -2
- package/dist/cli/{index-mh3nsv7v.js → index-a1tpp2fs.js} +2 -2
- package/dist/cli/{index-5x8zhfsq.js → index-aqe9x8ga.js} +3 -3
- package/dist/cli/{index-hrxr48p5.js → index-b9pz70d0.js} +2 -2
- package/dist/cli/{index-468s960k.js → index-c66ywect.js} +1 -1
- package/dist/cli/{index-a5pjm9zc.js → index-cb72p9w2.js} +2 -2
- package/dist/cli/{index-m3dcecc5.js → index-cdakr0yh.js} +37 -37
- package/dist/cli/{index-npkxp81s.js → index-cs6g43qy.js} +14 -9
- package/dist/cli/{index-7fekgghd.js → index-dxhd7dsr.js} +7 -7
- package/dist/cli/{index-ksvm96bz.js → index-edaj9qxn.js} +1 -1
- package/dist/cli/{index-zbv9t6p2.js → index-fdx38afm.js} +6 -6
- package/dist/cli/{index-45d3vpry.js → index-gy57hcy2.js} +1 -1
- package/dist/cli/{index-fk7s8btv.js → index-jd3hvnqn.js} +2 -2
- package/dist/cli/{index-ez4kkgcd.js → index-jn08bcaa.js} +3 -3
- package/dist/cli/{index-7ba0hdg4.js → index-mb1reyw3.js} +1 -1
- package/dist/cli/{index-h7p78r0w.js → index-mdbqm6w1.js} +4 -4
- package/dist/cli/{index-mdxrk3az.js → index-pswvtgdx.js} +3 -3
- package/dist/cli/{index-6551m2st.js → index-qgvmq92m.js} +2 -2
- package/dist/cli/{index-nsvm2j4x.js → index-rwabrcsg.js} +1 -1
- package/dist/cli/{index-w9p41945.js → index-swagbt0g.js} +1 -1
- package/dist/cli/{index-10h0jx4e.js → index-w4q0sw5g.js} +4 -4
- package/dist/cli/{index-6rdajskg.js → index-wkxhhyej.js} +138 -102
- package/dist/cli/{index-e3vbyy10.js → index-x73e0zkb.js} +1 -1
- package/dist/cli/{index-7t15ybzn.js → index-xrsfbr31.js} +3 -3
- package/dist/cli/{index-yk9vs9pw.js → index-z4zznftq.js} +2 -2
- package/dist/cli/{index-wvkbp1qr.js → index-zhnywrhs.js} +6 -6
- package/dist/cli/{index-zzgv4jy6.js → index-ztq5ag7q.js} +4 -4
- package/dist/cli/{index-v8ytrkrg.js → index-zvrfvtp3.js} +77 -11
- package/dist/cli/{index-q0am9gm3.js → index-zwgh0gty.js} +1 -1
- package/dist/cli/index.js +36 -36
- package/dist/cli/{knowledge-escalator-wzsxp6yg.js → knowledge-escalator-02z57h57.js} +12 -12
- package/dist/cli/{knowledge-events-dcchq50n.js → knowledge-events-yqfwghad.js} +10 -10
- package/dist/cli/{knowledge-link-zh9rzesj.js → knowledge-link-9gx2djyd.js} +4 -4
- package/dist/cli/{knowledge-store-p27r8wa9.js → knowledge-store-85rcyme4.js} +5 -5
- package/dist/cli/{knowledge-validator-rmtymth5.js → knowledge-validator-0fax9dq4.js} +7 -7
- package/dist/cli/{mcp-jr1rr2zd.js → mcp-rt2qxyc1.js} +1 -1
- package/dist/cli/{model-preflight-xzy5x4rt.js → model-preflight-yf57x1x7.js} +35 -35
- package/dist/cli/{pending-delegations-4k740a2c.js → pending-delegations-3emmnz2y.js} +7 -7
- package/dist/cli/{pr-subscriptions-515xdgjj.js → pr-subscriptions-mpwtbpdd.js} +7 -7
- package/dist/cli/{pr-workflow-gate-srpa0mds.js → pr-workflow-gate-0qzc2dbr.js} +35 -35
- package/dist/cli/{runner-tk1cmgzt.js → runner-x8sbydkw.js} +5 -5
- package/dist/cli/{scan-cursor-w89sck5y.js → scan-cursor-w0m9zjrr.js} +6 -6
- package/dist/cli/{schema-1mwgvrv7.js → schema-0w9q2h6j.js} +1 -1
- package/dist/cli/{scope-persistence-qen27qx7.js → scope-persistence-3mc615t3.js} +11 -11
- package/dist/cli/{server-rhz44ye9.js → server-h36cgr2m.js} +35 -35
- package/dist/cli/{skill-generator-05mxym3d.js → skill-generator-qaskynvt.js} +14 -14
- package/dist/cli/{snapshot-coordination-init-jjegs3v5.js → snapshot-coordination-init-j226zrvz.js} +35 -35
- package/dist/cli/{speckit-checkoff-3m04ks95.js → speckit-checkoff-6xa1f1qr.js} +3 -3
- package/dist/cli/{telemetry-vwxbsnye.js → telemetry-d0j31j5d.js} +1 -1
- package/dist/cli/{worktree-collision-ownership-0d73y8h0.js → worktree-collision-ownership-frtjkhms.js} +7 -7
- package/dist/cli/{worktree-isolation-d0vn38wb.js → worktree-isolation-c07qk28m.js} +35 -35
- package/dist/commands/close/align-stage.d.ts +26 -0
- package/dist/commands/close/context.d.ts +8 -0
- package/dist/commands/close/internals.d.ts +1 -1
- package/dist/commands/destructive-purge.d.ts +55 -27
- package/dist/commands/registry.d.ts +1 -1
- package/dist/hooks/knowledge-validator.d.ts +18 -1
- package/dist/index.js +20 -19
- package/dist/observability/catalog.d.ts +3 -3
- package/dist/telemetry.d.ts +15 -1
- package/dist/tools/repo-map.d.ts +4 -0
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
EvaluationRunV1Schema,
|
|
4
4
|
GateAuditResultV1Schema,
|
|
5
5
|
getProtectedEvaluationRunIds
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-jd3hvnqn.js";
|
|
7
7
|
import {
|
|
8
8
|
TASK_WORKFLOW_SCHEMA_MARKER,
|
|
9
9
|
deriveApplicableGateSet,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
readTaskEvidence,
|
|
13
13
|
readTaskEvidenceRaw,
|
|
14
14
|
sanitizeTaskId
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-9007eaeh.js";
|
|
16
16
|
import {
|
|
17
17
|
readSwarmFileAsync,
|
|
18
18
|
validateSwarmPath
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
} from "./index-kbkk7vnh.js";
|
|
28
28
|
import {
|
|
29
29
|
withEvidenceLock
|
|
30
|
-
} from "./index-
|
|
30
|
+
} from "./index-0v2svrev.js";
|
|
31
31
|
import {
|
|
32
32
|
assertProjectRoot
|
|
33
33
|
} from "./index-t7hmqgjy.js";
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
readKnowledge,
|
|
4
4
|
transactKnowledge
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-fdx38afm.js";
|
|
6
6
|
import {
|
|
7
7
|
resolveKnowledgeStoreDir
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-zwgh0gty.js";
|
|
9
9
|
import {
|
|
10
10
|
init_git_executable,
|
|
11
11
|
resolveGitExecutableAsync
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
readKnowledgeEvents,
|
|
4
4
|
recordKnowledgeEvent
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-mdbqm6w1.js";
|
|
6
6
|
import {
|
|
7
7
|
queryHistoricalOutcomes
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-4m6k2r0v.js";
|
|
9
9
|
import {
|
|
10
10
|
jaccardBigram,
|
|
11
11
|
readKnowledge,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
resolveSwarmKnowledgePath,
|
|
14
14
|
transactKnowledge,
|
|
15
15
|
wordBigrams
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-fdx38afm.js";
|
|
17
17
|
import {
|
|
18
18
|
init_knowledge_types,
|
|
19
19
|
isActiveStatus
|
|
@@ -226,11 +226,11 @@ async function maybeQuarantineOnContradiction(directory, entryId, threshold, win
|
|
|
226
226
|
alreadyInactive: true
|
|
227
227
|
};
|
|
228
228
|
}
|
|
229
|
-
const { quarantineEntry } = await import("./knowledge-validator-
|
|
229
|
+
const { quarantineEntry } = await import("./knowledge-validator-0fax9dq4.js");
|
|
230
230
|
let policyConfig;
|
|
231
231
|
try {
|
|
232
|
-
const { KnowledgeConfigSchema } = await import("./schema-
|
|
233
|
-
const { loadPluginConfigWithMeta } = await import("./index-
|
|
232
|
+
const { KnowledgeConfigSchema } = await import("./schema-0w9q2h6j.js");
|
|
233
|
+
const { loadPluginConfigWithMeta } = await import("./index-pswvtgdx.js");
|
|
234
234
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
235
235
|
policyConfig = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
236
236
|
} catch {
|
|
@@ -14,13 +14,13 @@ import {
|
|
|
14
14
|
reconcileLandedMerge,
|
|
15
15
|
withTaskEvidenceTransaction,
|
|
16
16
|
writeWorkflowWalFile
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-9007eaeh.js";
|
|
18
18
|
import {
|
|
19
19
|
validateSwarmPath
|
|
20
20
|
} from "./index-bejxkee0.js";
|
|
21
21
|
import {
|
|
22
22
|
appendCoreEventSync
|
|
23
|
-
} from "./index-
|
|
23
|
+
} from "./index-b9pz70d0.js";
|
|
24
24
|
import {
|
|
25
25
|
canonicalRootKeyFresh
|
|
26
26
|
} from "./index-fzpt2djt.js";
|
|
@@ -512,7 +512,7 @@ async function cleanupRecoveredWorktree(directory, descriptor, options) {
|
|
|
512
512
|
awaitingMergeByCallID,
|
|
513
513
|
cleanupStandardWorktreeForCallId,
|
|
514
514
|
standardWorktreeByCallID
|
|
515
|
-
} = await import("./worktree-isolation-
|
|
515
|
+
} = await import("./worktree-isolation-c07qk28m.js");
|
|
516
516
|
standardWorktreeByCallID.delete(descriptor.callID);
|
|
517
517
|
if (hasResidue)
|
|
518
518
|
awaitingMergeByCallID.set(descriptor.callID, {
|
|
@@ -648,7 +648,7 @@ async function recoverCoderSettlement(directory, taskId) {
|
|
|
648
648
|
awaitingMergeByCallID,
|
|
649
649
|
finishStandardWorktreeDispatch,
|
|
650
650
|
standardWorktreeByCallID
|
|
651
|
-
} = await import("./worktree-isolation-
|
|
651
|
+
} = await import("./worktree-isolation-c07qk28m.js");
|
|
652
652
|
const descriptor = wal.worktree;
|
|
653
653
|
const reconstructedDispatch = {
|
|
654
654
|
callID: descriptor.callID,
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
loadPlan,
|
|
8
8
|
transientBackoff,
|
|
9
9
|
updateTaskCheckpointReceipt
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-dxhd7dsr.js";
|
|
11
11
|
import {
|
|
12
12
|
tool
|
|
13
13
|
} from "./index-9nyqt3kb.js";
|
|
@@ -23,10 +23,10 @@ import {
|
|
|
23
23
|
} from "./index-bejxkee0.js";
|
|
24
24
|
import {
|
|
25
25
|
readLedgerEvents
|
|
26
|
-
} from "./index-
|
|
26
|
+
} from "./index-4rjw95qw.js";
|
|
27
27
|
import {
|
|
28
28
|
appendCoreEventSync
|
|
29
|
-
} from "./index-
|
|
29
|
+
} from "./index-b9pz70d0.js";
|
|
30
30
|
import {
|
|
31
31
|
derivePlanId,
|
|
32
32
|
derivePlanIdentityHash
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
} from "./index-r6e8syr3.js";
|
|
45
45
|
import {
|
|
46
46
|
loadPluginConfigWithMeta
|
|
47
|
-
} from "./index-
|
|
47
|
+
} from "./index-936d3ny7.js";
|
|
48
48
|
import {
|
|
49
49
|
init_git_executable,
|
|
50
50
|
resolveGitExecutable
|
|
@@ -65,9 +65,11 @@ import * as fs4 from "fs";
|
|
|
65
65
|
import * as path5 from "path";
|
|
66
66
|
|
|
67
67
|
// src/commands/destructive-purge.ts
|
|
68
|
+
import { spawnSync } from "child_process";
|
|
68
69
|
import { createHash, randomBytes } from "crypto";
|
|
69
70
|
import * as fs from "fs";
|
|
70
71
|
import * as path from "path";
|
|
72
|
+
init_git_executable();
|
|
71
73
|
init_logger();
|
|
72
74
|
var PENDING_PURGE_PATH = "pending-purge.json";
|
|
73
75
|
var PENDING_PURGE_TTL_MS = 15 * 60 * 1000;
|
|
@@ -78,8 +80,72 @@ var _internals = {
|
|
|
78
80
|
atomicWriteSwarmFileSync,
|
|
79
81
|
now: () => Date.now(),
|
|
80
82
|
randomBytes,
|
|
81
|
-
scopeDigest
|
|
83
|
+
scopeDigest,
|
|
84
|
+
runGitStatus: runGitStatusSync
|
|
82
85
|
};
|
|
86
|
+
var GIT_STATUS_ARGS = ["status", "--porcelain"];
|
|
87
|
+
function runGitStatusSync(args, cwd) {
|
|
88
|
+
const result = spawnSync(resolveGitExecutable(), args, {
|
|
89
|
+
cwd,
|
|
90
|
+
encoding: "utf8",
|
|
91
|
+
timeout: 1e4,
|
|
92
|
+
maxBuffer: 1024 * 1024,
|
|
93
|
+
windowsHide: true,
|
|
94
|
+
stdio: ["ignore", "pipe", "pipe"]
|
|
95
|
+
});
|
|
96
|
+
if (result.error || result.status !== 0)
|
|
97
|
+
return null;
|
|
98
|
+
return result.stdout ?? "";
|
|
99
|
+
}
|
|
100
|
+
function parseTrackedDirtyPaths(statusOutput) {
|
|
101
|
+
const dirtyPaths = [];
|
|
102
|
+
for (const line of statusOutput.split(`
|
|
103
|
+
`)) {
|
|
104
|
+
if (!line)
|
|
105
|
+
continue;
|
|
106
|
+
if (line.startsWith("??"))
|
|
107
|
+
continue;
|
|
108
|
+
const filePath = line.slice(3).trim().replace(/^"|"$/g, "");
|
|
109
|
+
if (!filePath)
|
|
110
|
+
continue;
|
|
111
|
+
if (/[RC]/.test(line.slice(0, 2)) && filePath.includes(" -> ")) {
|
|
112
|
+
for (const side of filePath.split(" -> ")) {
|
|
113
|
+
const cleaned = side.trim().replace(/^"|"$/g, "");
|
|
114
|
+
if (cleaned)
|
|
115
|
+
dirtyPaths.push(cleaned);
|
|
116
|
+
}
|
|
117
|
+
} else {
|
|
118
|
+
dirtyPaths.push(filePath);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
return dirtyPaths;
|
|
122
|
+
}
|
|
123
|
+
function readTrackedDirtyPaths(directory) {
|
|
124
|
+
const statusOutput = _internals.runGitStatus(GIT_STATUS_ARGS, directory);
|
|
125
|
+
if (statusOutput === null)
|
|
126
|
+
return { ok: false };
|
|
127
|
+
return { ok: true, dirtyPaths: parseTrackedDirtyPaths(statusOutput) };
|
|
128
|
+
}
|
|
129
|
+
function recheckBeforeDestructive(directory, expectedDirtyPaths) {
|
|
130
|
+
const read = readTrackedDirtyPaths(directory);
|
|
131
|
+
if (!read.ok) {
|
|
132
|
+
return {
|
|
133
|
+
ok: false,
|
|
134
|
+
reason: "git status could not be re-read before the destructive reset \u2014 the confirmed scope cannot be re-verified",
|
|
135
|
+
newDirtyPaths: []
|
|
136
|
+
};
|
|
137
|
+
}
|
|
138
|
+
const expected = new Set(expectedDirtyPaths);
|
|
139
|
+
const newDirtyPaths = read.dirtyPaths.filter((p) => !expected.has(p));
|
|
140
|
+
if (newDirtyPaths.length > 0) {
|
|
141
|
+
return {
|
|
142
|
+
ok: false,
|
|
143
|
+
reason: `${newDirtyPaths.length} tracked file(s) changed after the close gate was verified`,
|
|
144
|
+
newDirtyPaths
|
|
145
|
+
};
|
|
146
|
+
}
|
|
147
|
+
return { ok: true, dirtyPaths: read.dirtyPaths };
|
|
148
|
+
}
|
|
83
149
|
function pendingPath(directory) {
|
|
84
150
|
return validateSwarmPath(directory, PENDING_PURGE_PATH);
|
|
85
151
|
}
|
|
@@ -370,7 +436,7 @@ function backupTrackedChangesBeforeRollback(directory, repoRelPaths) {
|
|
|
370
436
|
|
|
371
437
|
// src/commands/rollback-gate.ts
|
|
372
438
|
init_git_executable();
|
|
373
|
-
import { spawnSync } from "child_process";
|
|
439
|
+
import { spawnSync as spawnSync2 } from "child_process";
|
|
374
440
|
import * as fsSync from "fs";
|
|
375
441
|
import * as path3 from "path";
|
|
376
442
|
var ROLLBACK_GIT_KIND = "swarm-rollback-git";
|
|
@@ -379,7 +445,7 @@ var GIT_STATUS_TIMEOUT_MS = 1e4;
|
|
|
379
445
|
var GIT_LIST_MAX_BUFFER_BYTES = 32 * 1024 * 1024;
|
|
380
446
|
var _rollbackGateInternals = {
|
|
381
447
|
runGit: (args, cwd) => {
|
|
382
|
-
const result =
|
|
448
|
+
const result = spawnSync2(resolveGitExecutable(), args, {
|
|
383
449
|
cwd,
|
|
384
450
|
encoding: "utf-8",
|
|
385
451
|
timeout: GIT_STATUS_TIMEOUT_MS,
|
|
@@ -391,7 +457,7 @@ var _rollbackGateInternals = {
|
|
|
391
457
|
return result.stdout ?? "";
|
|
392
458
|
},
|
|
393
459
|
runGitBuffered: (args, cwd) => {
|
|
394
|
-
const result =
|
|
460
|
+
const result = spawnSync2(resolveGitExecutable(), args, {
|
|
395
461
|
cwd,
|
|
396
462
|
encoding: "utf-8",
|
|
397
463
|
timeout: GIT_STATUS_TIMEOUT_MS,
|
|
@@ -413,7 +479,7 @@ function isRealGitRepository(directory) {
|
|
|
413
479
|
}
|
|
414
480
|
return fsSync.existsSync(path3.join(directory, ".git", "HEAD"));
|
|
415
481
|
}
|
|
416
|
-
function
|
|
482
|
+
function parseTrackedDirtyPaths2(statusOutput) {
|
|
417
483
|
const dirtyPaths = [];
|
|
418
484
|
const tokens = statusOutput.split("\x00");
|
|
419
485
|
for (let i = 0;i < tokens.length; i += 1) {
|
|
@@ -471,7 +537,7 @@ function measureGitDestruction(directory, targetSha) {
|
|
|
471
537
|
if (status === null) {
|
|
472
538
|
return { kind: "unreadable" };
|
|
473
539
|
}
|
|
474
|
-
const dirtyRelPaths =
|
|
540
|
+
const dirtyRelPaths = parseTrackedDirtyPaths2(status);
|
|
475
541
|
if (targetSha) {
|
|
476
542
|
for (const rel of untrackedPathsInTargetTree(directory, targetSha)) {
|
|
477
543
|
if (!dirtyRelPaths.includes(rel))
|
|
@@ -1449,4 +1515,4 @@ var checkpoint = createSwarmTool({
|
|
|
1449
1515
|
}
|
|
1450
1516
|
});
|
|
1451
1517
|
|
|
1452
|
-
export { previewDestructivePurge, issueConfirmToken, consumeConfirmToken, executeDestructivePurge, backupSwarmStateBeforeReset, ROLLBACK_GIT_KIND, ROLLBACK_PHASE_KIND, trackedDirtyCandidates, swarmOverwriteCandidates, measureGitDestruction, resolveWorkingDirectory, createSwarmTool, _internals2 as _internals, saveCheckpointRecord, checkpoint };
|
|
1518
|
+
export { GIT_STATUS_ARGS, parseTrackedDirtyPaths, recheckBeforeDestructive, previewDestructivePurge, issueConfirmToken, consumeConfirmToken, executeDestructivePurge, backupSwarmStateBeforeReset, ROLLBACK_GIT_KIND, ROLLBACK_PHASE_KIND, trackedDirtyCandidates, swarmOverwriteCandidates, measureGitDestruction, resolveWorkingDirectory, createSwarmTool, _internals2 as _internals, saveCheckpointRecord, checkpoint };
|
package/dist/cli/index.js
CHANGED
|
@@ -14,77 +14,77 @@ import {
|
|
|
14
14
|
readCachePackageVersion,
|
|
15
15
|
resolveCommand,
|
|
16
16
|
safeRealpathSync
|
|
17
|
-
} from "./index-
|
|
18
|
-
import"./index-
|
|
19
|
-
import"./index-
|
|
20
|
-
import"./index-
|
|
17
|
+
} from "./index-wkxhhyej.js";
|
|
18
|
+
import"./index-jn08bcaa.js";
|
|
19
|
+
import"./index-qgvmq92m.js";
|
|
20
|
+
import"./index-xrsfbr31.js";
|
|
21
21
|
import"./index-vx8a8w3b.js";
|
|
22
|
-
import"./index-
|
|
23
|
-
import"./index-
|
|
22
|
+
import"./index-x73e0zkb.js";
|
|
23
|
+
import"./index-jd3hvnqn.js";
|
|
24
24
|
import"./index-txdagbh7.js";
|
|
25
|
-
import"./index-
|
|
25
|
+
import"./index-z4zznftq.js";
|
|
26
26
|
import"./index-rdec0y3z.js";
|
|
27
|
-
import"./index-
|
|
28
|
-
import"./index-
|
|
29
|
-
import"./index-
|
|
30
|
-
import"./index-
|
|
27
|
+
import"./index-gy57hcy2.js";
|
|
28
|
+
import"./index-ztq5ag7q.js";
|
|
29
|
+
import"./index-aqe9x8ga.js";
|
|
30
|
+
import"./index-zhnywrhs.js";
|
|
31
31
|
import"./index-mf19yqss.js";
|
|
32
|
-
import"./index-
|
|
32
|
+
import"./index-41v699sv.js";
|
|
33
33
|
import"./index-cjapb4hy.js";
|
|
34
34
|
import"./index-a8gvszr2.js";
|
|
35
35
|
import"./index-pt7h91zc.js";
|
|
36
36
|
import"./index-q7sjgr1y.js";
|
|
37
|
-
import"./index-
|
|
38
|
-
import"./index-
|
|
37
|
+
import"./index-zvrfvtp3.js";
|
|
38
|
+
import"./index-dxhd7dsr.js";
|
|
39
39
|
import"./index-6b295cas.js";
|
|
40
40
|
import"./index-9nyqt3kb.js";
|
|
41
|
-
import"./index-
|
|
41
|
+
import"./index-swagbt0g.js";
|
|
42
42
|
import"./index-zsrtt42s.js";
|
|
43
|
-
import"./index-
|
|
44
|
-
import"./index-
|
|
45
|
-
import"./index-
|
|
43
|
+
import"./index-c66ywect.js";
|
|
44
|
+
import"./index-9007eaeh.js";
|
|
45
|
+
import"./index-edaj9qxn.js";
|
|
46
46
|
import"./index-g4fs6z4e.js";
|
|
47
|
-
import"./index-
|
|
48
|
-
import"./index-
|
|
49
|
-
import"./index-
|
|
47
|
+
import"./index-w4q0sw5g.js";
|
|
48
|
+
import"./index-mdbqm6w1.js";
|
|
49
|
+
import"./index-4m6k2r0v.js";
|
|
50
50
|
import"./index-m9zzj4ee.js";
|
|
51
51
|
import"./index-bejxkee0.js";
|
|
52
52
|
import"./index-2s7dvzff.js";
|
|
53
|
-
import"./index-
|
|
54
|
-
import"./index-
|
|
53
|
+
import"./index-cs6g43qy.js";
|
|
54
|
+
import"./index-rwabrcsg.js";
|
|
55
55
|
import"./index-rtry5xyf.js";
|
|
56
|
-
import"./index-
|
|
56
|
+
import"./index-cb72p9w2.js";
|
|
57
57
|
import"./index-kbkk7vnh.js";
|
|
58
58
|
import"./index-0725jpp7.js";
|
|
59
|
-
import"./index-
|
|
60
|
-
import"./index-
|
|
61
|
-
import"./index-
|
|
59
|
+
import"./index-9bjf0bhd.js";
|
|
60
|
+
import"./index-4rjw95qw.js";
|
|
61
|
+
import"./index-b9pz70d0.js";
|
|
62
62
|
import"./index-m1qy7f1e.js";
|
|
63
63
|
import"./index-cc1vzq4m.js";
|
|
64
64
|
import"./index-9hag235h.js";
|
|
65
65
|
import"./index-ry16d01s.js";
|
|
66
66
|
import"./index-rdm3px0g.js";
|
|
67
67
|
import"./index-7pmbnjvj.js";
|
|
68
|
-
import"./index-
|
|
69
|
-
import"./index-
|
|
68
|
+
import"./index-mb1reyw3.js";
|
|
69
|
+
import"./index-fdx38afm.js";
|
|
70
70
|
import"./index-vzm6zre7.js";
|
|
71
71
|
import"./index-ae75rja9.js";
|
|
72
|
-
import"./index-
|
|
73
|
-
import"./index-
|
|
74
|
-
import"./index-
|
|
72
|
+
import"./index-zwgh0gty.js";
|
|
73
|
+
import"./index-7sbyvk99.js";
|
|
74
|
+
import"./index-0v2svrev.js";
|
|
75
75
|
import"./index-t7hmqgjy.js";
|
|
76
|
-
import"./index-
|
|
76
|
+
import"./index-4htcpbs4.js";
|
|
77
77
|
import"./index-fzpt2djt.js";
|
|
78
78
|
import"./index-ejhxgyvm.js";
|
|
79
79
|
import"./index-7g4c7s5r.js";
|
|
80
80
|
import"./index-r6e8syr3.js";
|
|
81
81
|
import"./index-gx2vp8gx.js";
|
|
82
|
-
import"./index-
|
|
82
|
+
import"./index-936d3ny7.js";
|
|
83
83
|
import"./index-zxdawwc7.js";
|
|
84
84
|
import {
|
|
85
85
|
init_package,
|
|
86
86
|
package_default
|
|
87
|
-
} from "./index-
|
|
87
|
+
} from "./index-5m06enb0.js";
|
|
88
88
|
import {
|
|
89
89
|
DEFAULT_AGENT_CONFIGS,
|
|
90
90
|
init_constants
|
|
@@ -910,7 +910,7 @@ async function main() {
|
|
|
910
910
|
const exitCode = await run(["ci", ...args.slice(1)]);
|
|
911
911
|
process.exit(exitCode);
|
|
912
912
|
} else if (command === "mcp") {
|
|
913
|
-
const { handleMcpCommand } = await import("./mcp-
|
|
913
|
+
const { handleMcpCommand } = await import("./mcp-rt2qxyc1.js");
|
|
914
914
|
const exitCode = await handleMcpCommand(args.slice(1));
|
|
915
915
|
process.exit(exitCode);
|
|
916
916
|
} else {
|
|
@@ -9,32 +9,32 @@ import {
|
|
|
9
9
|
maybeEscalateOnViolation,
|
|
10
10
|
maybeQuarantineOnContradiction,
|
|
11
11
|
readRecentEscalations
|
|
12
|
-
} from "./index-
|
|
13
|
-
import"./index-
|
|
14
|
-
import"./index-
|
|
12
|
+
} from "./index-zhnywrhs.js";
|
|
13
|
+
import"./index-mdbqm6w1.js";
|
|
14
|
+
import"./index-4m6k2r0v.js";
|
|
15
15
|
import"./index-m9zzj4ee.js";
|
|
16
16
|
import"./index-bejxkee0.js";
|
|
17
17
|
import"./index-2s7dvzff.js";
|
|
18
|
-
import"./index-
|
|
18
|
+
import"./index-cb72p9w2.js";
|
|
19
19
|
import"./index-kbkk7vnh.js";
|
|
20
20
|
import"./index-0725jpp7.js";
|
|
21
|
-
import"./index-
|
|
22
|
-
import"./index-
|
|
21
|
+
import"./index-mb1reyw3.js";
|
|
22
|
+
import"./index-fdx38afm.js";
|
|
23
23
|
import"./index-vzm6zre7.js";
|
|
24
24
|
import"./index-ae75rja9.js";
|
|
25
|
-
import"./index-
|
|
26
|
-
import"./index-
|
|
27
|
-
import"./index-
|
|
25
|
+
import"./index-zwgh0gty.js";
|
|
26
|
+
import"./index-7sbyvk99.js";
|
|
27
|
+
import"./index-0v2svrev.js";
|
|
28
28
|
import"./index-t7hmqgjy.js";
|
|
29
|
-
import"./index-
|
|
29
|
+
import"./index-4htcpbs4.js";
|
|
30
30
|
import"./index-fzpt2djt.js";
|
|
31
31
|
import"./index-ejhxgyvm.js";
|
|
32
32
|
import"./index-7g4c7s5r.js";
|
|
33
33
|
import"./index-r6e8syr3.js";
|
|
34
34
|
import"./index-gx2vp8gx.js";
|
|
35
|
-
import"./index-
|
|
35
|
+
import"./index-936d3ny7.js";
|
|
36
36
|
import"./index-zxdawwc7.js";
|
|
37
|
-
import"./index-
|
|
37
|
+
import"./index-5m06enb0.js";
|
|
38
38
|
import"./index-bstjg81q.js";
|
|
39
39
|
import"./index-bk5tah7q.js";
|
|
40
40
|
import"./index-gknz3bv1.js";
|
|
@@ -29,29 +29,29 @@ import {
|
|
|
29
29
|
resolveKnowledgeCounterBaselinePath,
|
|
30
30
|
resolveKnowledgeEventsPath,
|
|
31
31
|
resolveLegacyApplicationLogPath
|
|
32
|
-
} from "./index-
|
|
33
|
-
import"./index-
|
|
32
|
+
} from "./index-mdbqm6w1.js";
|
|
33
|
+
import"./index-4m6k2r0v.js";
|
|
34
34
|
import"./index-m9zzj4ee.js";
|
|
35
35
|
import"./index-bejxkee0.js";
|
|
36
36
|
import"./index-2s7dvzff.js";
|
|
37
|
-
import"./index-
|
|
37
|
+
import"./index-cb72p9w2.js";
|
|
38
38
|
import"./index-kbkk7vnh.js";
|
|
39
39
|
import"./index-0725jpp7.js";
|
|
40
|
-
import"./index-
|
|
40
|
+
import"./index-mb1reyw3.js";
|
|
41
41
|
import"./index-ae75rja9.js";
|
|
42
|
-
import"./index-
|
|
43
|
-
import"./index-
|
|
44
|
-
import"./index-
|
|
42
|
+
import"./index-zwgh0gty.js";
|
|
43
|
+
import"./index-7sbyvk99.js";
|
|
44
|
+
import"./index-0v2svrev.js";
|
|
45
45
|
import"./index-t7hmqgjy.js";
|
|
46
|
-
import"./index-
|
|
46
|
+
import"./index-4htcpbs4.js";
|
|
47
47
|
import"./index-fzpt2djt.js";
|
|
48
48
|
import"./index-ejhxgyvm.js";
|
|
49
49
|
import"./index-7g4c7s5r.js";
|
|
50
50
|
import"./index-r6e8syr3.js";
|
|
51
51
|
import"./index-gx2vp8gx.js";
|
|
52
|
-
import"./index-
|
|
52
|
+
import"./index-936d3ny7.js";
|
|
53
53
|
import"./index-zxdawwc7.js";
|
|
54
|
-
import"./index-
|
|
54
|
+
import"./index-5m06enb0.js";
|
|
55
55
|
import"./index-bstjg81q.js";
|
|
56
56
|
import"./index-bk5tah7q.js";
|
|
57
57
|
import"./index-gknz3bv1.js";
|
|
@@ -12,11 +12,11 @@ import {
|
|
|
12
12
|
resolveLinkDir,
|
|
13
13
|
sanitizeLinkId,
|
|
14
14
|
writeLinkPointer
|
|
15
|
-
} from "./index-
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-
|
|
15
|
+
} from "./index-zwgh0gty.js";
|
|
16
|
+
import"./index-7sbyvk99.js";
|
|
17
|
+
import"./index-0v2svrev.js";
|
|
18
18
|
import"./index-t7hmqgjy.js";
|
|
19
|
-
import"./index-
|
|
19
|
+
import"./index-4htcpbs4.js";
|
|
20
20
|
import"./index-fzpt2djt.js";
|
|
21
21
|
import"./index-ejhxgyvm.js";
|
|
22
22
|
import"./index-7g4c7s5r.js";
|
|
@@ -43,16 +43,16 @@ import {
|
|
|
43
43
|
transactKnowledge,
|
|
44
44
|
transactKnowledgeWithCas,
|
|
45
45
|
wordBigrams
|
|
46
|
-
} from "./index-
|
|
46
|
+
} from "./index-fdx38afm.js";
|
|
47
47
|
import"./index-vzm6zre7.js";
|
|
48
48
|
import {
|
|
49
49
|
resolveHiveDataDir
|
|
50
50
|
} from "./index-ae75rja9.js";
|
|
51
|
-
import"./index-
|
|
52
|
-
import"./index-
|
|
53
|
-
import"./index-
|
|
51
|
+
import"./index-zwgh0gty.js";
|
|
52
|
+
import"./index-7sbyvk99.js";
|
|
53
|
+
import"./index-0v2svrev.js";
|
|
54
54
|
import"./index-t7hmqgjy.js";
|
|
55
|
-
import"./index-
|
|
55
|
+
import"./index-4htcpbs4.js";
|
|
56
56
|
import"./index-fzpt2djt.js";
|
|
57
57
|
import"./index-ejhxgyvm.js";
|
|
58
58
|
import"./index-7g4c7s5r.js";
|
|
@@ -23,17 +23,17 @@ import {
|
|
|
23
23
|
validateLesson,
|
|
24
24
|
validateSkillCandidatePath,
|
|
25
25
|
validateSkillPath
|
|
26
|
-
} from "./index-
|
|
27
|
-
import"./index-
|
|
26
|
+
} from "./index-cs6g43qy.js";
|
|
27
|
+
import"./index-rwabrcsg.js";
|
|
28
28
|
import"./index-rtry5xyf.js";
|
|
29
|
-
import"./index-
|
|
29
|
+
import"./index-fdx38afm.js";
|
|
30
30
|
import"./index-vzm6zre7.js";
|
|
31
31
|
import"./index-ae75rja9.js";
|
|
32
|
-
import"./index-
|
|
33
|
-
import"./index-
|
|
34
|
-
import"./index-
|
|
32
|
+
import"./index-zwgh0gty.js";
|
|
33
|
+
import"./index-7sbyvk99.js";
|
|
34
|
+
import"./index-0v2svrev.js";
|
|
35
35
|
import"./index-t7hmqgjy.js";
|
|
36
|
-
import"./index-
|
|
36
|
+
import"./index-4htcpbs4.js";
|
|
37
37
|
import"./index-fzpt2djt.js";
|
|
38
38
|
import"./index-ejhxgyvm.js";
|
|
39
39
|
import"./index-7g4c7s5r.js";
|
|
@@ -95,7 +95,7 @@ function resolveMcpRoot(input) {
|
|
|
95
95
|
}
|
|
96
96
|
var _internals = {
|
|
97
97
|
runMcpServer: async (options) => {
|
|
98
|
-
const { runMcpServer } = await import("./server-
|
|
98
|
+
const { runMcpServer } = await import("./server-h36cgr2m.js");
|
|
99
99
|
return runMcpServer(options);
|
|
100
100
|
}
|
|
101
101
|
};
|