opencode-swarm 7.139.3 → 7.139.4
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 +2 -2
- package/dist/cli/{config-doctor-75qky762.js → config-doctor-whxr386t.js} +6 -6
- package/dist/cli/{core-nn8ffy5h.js → core-aj5g7an6.js} +4 -4
- package/dist/cli/{curation-policy-f46tf3dw.js → curation-policy-anym2y3v.js} +7 -7
- package/dist/cli/{curator-drift-r52hjskk.js → curator-drift-49p3jnte.js} +6 -6
- package/dist/cli/{curator-m6mk2v1n.js → curator-e8cvb55d.js} +39 -39
- package/dist/cli/curator-llm-factory-h9xbpgmw.js +61 -0
- package/dist/cli/{dispatch-nbv0hezh.js → dispatch-2s23fbcs.js} +3 -3
- package/dist/cli/{evidence-summary-service-sxcq5nrt.js → evidence-summary-service-g82bsjqa.js} +16 -16
- package/dist/cli/{gate-evidence-1982qswy.js → gate-evidence-72cgrvs2.js} +6 -5
- package/dist/cli/guardrail-explain-0be7msvq.js +62 -0
- package/dist/cli/{guardrail-log-320grggj.js → guardrail-log-9mm5443g.js} +8 -8
- package/dist/cli/{hive-promoter-v4w7cjvk.js → hive-promoter-nnzs5x1r.js} +39 -39
- package/dist/cli/{index-xeyr62x0.js → index-0e95eck5.js} +5 -5
- package/dist/cli/{index-5syvwd8g.js → index-0xkjhgrf.js} +5 -5
- package/dist/cli/{index-yh0q21nj.js → index-1kyex7z2.js} +1 -1
- package/dist/cli/{index-6mvbjqbt.js → index-33skgk1a.js} +1 -1
- package/dist/cli/{index-xsxrhakg.js → index-41hkt36g.js} +1 -1
- package/dist/cli/{index-jqn332jx.js → index-5azdnaty.js} +2 -2
- package/dist/cli/{index-kyz7259r.js → index-5s23pfsy.js} +7 -7
- package/dist/cli/{index-xzzcfwwm.js → index-5z2xps64.js} +2 -2
- package/dist/cli/{index-4fr94329.js → index-6nzmp937.js} +53 -108
- package/dist/cli/{index-2eet124q.js → index-6r522srn.js} +1 -1
- package/dist/cli/{index-4xbyy6aw.js → index-6rxgb5r9.js} +10 -6
- package/dist/cli/{index-z6qe8wft.js → index-6vh6vrnk.js} +10 -10
- package/dist/cli/{index-gen82t10.js → index-6z0a940s.js} +7 -7
- package/dist/cli/{index-ba5e5e3n.js → index-9cdj4020.js} +6 -6
- package/dist/cli/{index-1yd38ajy.js → index-e1k9vpqn.js} +4 -4
- package/dist/cli/{index-0mzz46we.js → index-ejbcpbzp.js} +7 -7
- package/dist/cli/{index-mzck763x.js → index-gfmrw2f5.js} +2 -2
- package/dist/cli/{index-mv0czd9c.js → index-j77frjq8.js} +6 -6
- package/dist/cli/{index-1jbj7vzv.js → index-jnfyxeap.js} +4 -4
- package/dist/cli/{index-hwnpd4tw.js → index-k41dn8me.js} +3 -3
- package/dist/cli/{index-k87hs2ff.js → index-k46me75h.js} +3 -3
- package/dist/cli/{index-hckq2r5m.js → index-nrx08gcr.js} +6 -2
- package/dist/cli/{index-6axm8q3s.js → index-pg84msyc.js} +7 -7
- package/dist/cli/{index-a5eba0t8.js → index-rsrx77fg.js} +6 -6
- package/dist/cli/index-s0qc4gj6.js +298 -0
- package/dist/cli/{index-yawwwhmc.js → index-s58vghgj.js} +6 -6
- package/dist/cli/{index-5hyq2mw6.js → index-sa15nfgg.js} +43 -43
- package/dist/cli/{index-ajwmn8gp.js → index-sd657fkp.js} +4 -4
- package/dist/cli/{index-v7g8dnyh.js → index-vfsqpcz6.js} +15 -15
- package/dist/cli/{index-tkg6rapy.js → index-vyqd1hzm.js} +19404 -19355
- package/dist/cli/{index-bcwx1335.js → index-xb1zq933.js} +1 -1
- package/dist/cli/{index-05mms0va.js → index-xmhhhjjw.js} +38 -3
- package/dist/cli/index.js +41 -41
- package/dist/cli/{knowledge-escalator-kkjsjtza.js → knowledge-escalator-a6z30y9p.js} +9 -9
- package/dist/cli/{knowledge-events-jbw9j94n.js → knowledge-events-deq0ds8e.js} +6 -6
- package/dist/cli/{knowledge-link-f6akgbdn.js → knowledge-link-bmbatt8s.js} +5 -5
- package/dist/cli/{knowledge-store-m7vnz62z.js → knowledge-store-vdr19mnq.js} +7 -7
- package/dist/cli/{knowledge-validator-rqj7kech.js → knowledge-validator-5hgacnrf.js} +10 -10
- package/dist/cli/{pending-delegations-14544jpr.js → pending-delegations-7ayryxbg.js} +7 -7
- package/dist/cli/{pr-subscriptions-qdwfm1a8.js → pr-subscriptions-w5y08ebc.js} +7 -7
- package/dist/cli/{runner-mzb3e2s6.js → runner-h7vmgkth.js} +7 -6
- package/dist/cli/{scan-cursor-8e6ryhjq.js → scan-cursor-d6qcg9hr.js} +8 -8
- package/dist/cli/{schema-g7rs20c6.js → schema-y1zekrag.js} +3 -3
- package/dist/cli/{scope-persistence-wy65zyha.js → scope-persistence-tj6qway9.js} +6 -6
- package/dist/cli/{skill-generator-2rv6ftre.js → skill-generator-bw8xhzzn.js} +12 -12
- package/dist/cli/{telemetry-4tgrfhaz.js → telemetry-62cn5t24.js} +1 -1
- package/dist/cli/{worktree-collision-ownership-24s0t62z.js → worktree-collision-ownership-hs5c2qzp.js} +8 -8
- package/dist/evidence/manager.d.ts +4 -1
- package/dist/index.js +590 -588
- package/dist/prm/escalation.d.ts +34 -0
- package/dist/prm/index.d.ts +6 -2
- package/dist/prm/pattern-detector.d.ts +22 -1
- package/dist/prm/types.d.ts +12 -2
- package/dist/state.d.ts +49 -0
- package/dist/summaries/schema.d.ts +2 -2
- package/dist/tools/convene-council.d.ts +1 -1
- package/dist/tools/pre-check-batch.d.ts +4 -0
- package/dist/tools/resolve-working-directory.d.ts +4 -4
- package/dist/tools/submit-phase-council-verdicts.d.ts +1 -1
- package/dist/tools/write-final-council-evidence.d.ts +1 -1
- package/dist/utils/project-boundary.d.ts +34 -0
- package/package.json +1 -1
- package/dist/cli/curator-llm-factory-1r9vz0g2.js +0 -61
- package/dist/cli/guardrail-explain-y2wg00dp.js +0 -62
- package/dist/cli/index-5j6chvj8.js +0 -159
- package/dist/cli/{index-z6xqpmqg.js → index-ee3x66a5.js} +3 -3
|
@@ -5,16 +5,19 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
computePlanStructureHash,
|
|
7
7
|
derivePlanId
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-6rxgb5r9.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./index-
|
|
10
|
+
assertProjectRoot
|
|
11
|
+
} from "./index-s0qc4gj6.js";
|
|
12
12
|
import {
|
|
13
13
|
require_proper_lockfile
|
|
14
14
|
} from "./index-7g4c7s5r.js";
|
|
15
15
|
import {
|
|
16
16
|
bunWrite
|
|
17
17
|
} from "./index-4nt52yr9.js";
|
|
18
|
+
import {
|
|
19
|
+
PlanSchema
|
|
20
|
+
} from "./index-1kz6da87.js";
|
|
18
21
|
import {
|
|
19
22
|
__toESM
|
|
20
23
|
} from "./index-a76rekgs.js";
|
|
@@ -409,6 +412,11 @@ function hasDurableRetirementIntent(bindingPath, binding) {
|
|
|
409
412
|
}
|
|
410
413
|
function ensureLockTargetSync(targetPath) {
|
|
411
414
|
try {
|
|
415
|
+
const scopesDir = path2.dirname(targetPath);
|
|
416
|
+
const swarmDir = path2.dirname(scopesDir);
|
|
417
|
+
if (path2.basename(scopesDir) !== "scopes" || path2.basename(swarmDir) !== ".swarm")
|
|
418
|
+
return false;
|
|
419
|
+
assertProjectRoot(path2.dirname(swarmDir));
|
|
412
420
|
fs2.mkdirSync(path2.dirname(targetPath), { recursive: true });
|
|
413
421
|
const nofollow = fs2.constants.O_NOFOLLOW ?? 0;
|
|
414
422
|
const fd = fs2.openSync(targetPath, fs2.constants.O_WRONLY | fs2.constants.O_CREAT | nofollow);
|
|
@@ -505,6 +513,11 @@ function exactFilenameMatches(filePath, binding) {
|
|
|
505
513
|
return normalizePathForComparison(filePath) === normalizePathForComparison(getBindingFilePath(binding.workspaceIdentity, binding));
|
|
506
514
|
}
|
|
507
515
|
function migrateLegacyBindingsSync(directory, scanCapacity = bindingFileScanCapacity) {
|
|
516
|
+
try {
|
|
517
|
+
assertProjectRoot(directory);
|
|
518
|
+
} catch {
|
|
519
|
+
return false;
|
|
520
|
+
}
|
|
508
521
|
const scopesDir = getScopesDir(directory);
|
|
509
522
|
if (!isScopesDirSafe(directory, scopesDir))
|
|
510
523
|
return false;
|
|
@@ -599,6 +612,11 @@ async function writeScopeToDisk(directory, taskId, files, ttlMs = DEFAULT_TTL_MS
|
|
|
599
612
|
return;
|
|
600
613
|
if (files.length > MAX_FILES_PER_SCOPE)
|
|
601
614
|
return;
|
|
615
|
+
try {
|
|
616
|
+
assertProjectRoot(directory);
|
|
617
|
+
} catch {
|
|
618
|
+
return;
|
|
619
|
+
}
|
|
602
620
|
const scopesDir = getScopesDir(directory);
|
|
603
621
|
const scopePath = getScopeFilePath(directory, taskId);
|
|
604
622
|
try {
|
|
@@ -645,6 +663,11 @@ async function writeScopeToDisk(directory, taskId, files, ttlMs = DEFAULT_TTL_MS
|
|
|
645
663
|
}
|
|
646
664
|
}
|
|
647
665
|
async function writeScopeBindingToDisk(directory, binding) {
|
|
666
|
+
try {
|
|
667
|
+
assertProjectRoot(directory);
|
|
668
|
+
} catch (error) {
|
|
669
|
+
return persistenceFailure(`Scope persistence project-root validation failed: ${error instanceof Error ? error.message : "unknown validation error"}`);
|
|
670
|
+
}
|
|
648
671
|
if (!isSafeTaskId(binding.taskId) || binding.version !== 2)
|
|
649
672
|
return persistenceFailure("Invalid binding schema or task identity.");
|
|
650
673
|
const workspaceIdentity = canonicalWorkspaceIdentity(directory);
|
|
@@ -750,6 +773,11 @@ function isDispatchCorrelated(binding) {
|
|
|
750
773
|
return binding.activation === "active" && typeof binding.dispatchCallId === "string" && binding.dispatchCallId.length > 0 && binding.ownerMessageId === binding.dispatchCallId && typeof binding.parentOwnerSessionId === "string" && binding.parentOwnerSessionId.length > 0 && binding.ownerSessionId !== binding.parentOwnerSessionId && binding.parentCallId === binding.dispatchCallId;
|
|
751
774
|
}
|
|
752
775
|
function clearScopeBindingFromDisk(input) {
|
|
776
|
+
try {
|
|
777
|
+
assertProjectRoot(input.directory);
|
|
778
|
+
} catch (error) {
|
|
779
|
+
return persistenceFailure(`Scope retirement project-root validation failed: ${error instanceof Error ? error.message : "unknown validation error"}`);
|
|
780
|
+
}
|
|
753
781
|
const localRetirement = installScopeBindingRetirementIntent(input.binding);
|
|
754
782
|
let release;
|
|
755
783
|
try {
|
|
@@ -1186,6 +1214,11 @@ async function writeClaimReceipt(claimPath, previous, claimed, input) {
|
|
|
1186
1214
|
}
|
|
1187
1215
|
}
|
|
1188
1216
|
async function replaceExistingScopeDeclaration(input) {
|
|
1217
|
+
try {
|
|
1218
|
+
assertProjectRoot(input.directory);
|
|
1219
|
+
} catch (error) {
|
|
1220
|
+
return persistenceFailure(`Scope declaration project-root validation failed: ${error instanceof Error ? error.message : "unknown validation error"}`);
|
|
1221
|
+
}
|
|
1189
1222
|
const { binding } = input;
|
|
1190
1223
|
if (binding.activation !== "declaration" || binding.dispatchCallId !== undefined)
|
|
1191
1224
|
return persistenceFailure("declare_scope may persist only a declaration generation.");
|
|
@@ -1697,11 +1730,13 @@ function clearScopeForTask(directory, taskId) {
|
|
|
1697
1730
|
if (!isSafeTaskId(taskId))
|
|
1698
1731
|
return;
|
|
1699
1732
|
try {
|
|
1733
|
+
assertProjectRoot(directory);
|
|
1700
1734
|
fs2.unlinkSync(getScopeFilePath(directory, taskId));
|
|
1701
1735
|
} catch {}
|
|
1702
1736
|
}
|
|
1703
1737
|
function clearAllScopes(directory) {
|
|
1704
1738
|
try {
|
|
1739
|
+
assertProjectRoot(directory);
|
|
1705
1740
|
fs2.rmSync(getScopesDir(directory), { recursive: true, force: true });
|
|
1706
1741
|
} catch {}
|
|
1707
1742
|
}
|
package/dist/cli/index.js
CHANGED
|
@@ -6,66 +6,66 @@ import {
|
|
|
6
6
|
getPluginConfigDir,
|
|
7
7
|
getPluginLockFilePaths,
|
|
8
8
|
resolveCommand
|
|
9
|
-
} from "./index-
|
|
10
|
-
import"./index-
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
14
|
-
import"./index-
|
|
15
|
-
import"./index-
|
|
9
|
+
} from "./index-vyqd1hzm.js";
|
|
10
|
+
import"./index-41hkt36g.js";
|
|
11
|
+
import"./index-sd657fkp.js";
|
|
12
|
+
import"./index-ejbcpbzp.js";
|
|
13
|
+
import"./index-e1k9vpqn.js";
|
|
14
|
+
import"./index-6nzmp937.js";
|
|
15
|
+
import"./index-nrx08gcr.js";
|
|
16
16
|
import"./index-y8552snf.js";
|
|
17
17
|
import"./index-4905hd2m.js";
|
|
18
18
|
import"./index-134d35c1.js";
|
|
19
|
-
import"./index-
|
|
20
|
-
import"./index-
|
|
21
|
-
import"./index-
|
|
19
|
+
import"./index-pg84msyc.js";
|
|
20
|
+
import"./index-0e95eck5.js";
|
|
21
|
+
import"./index-9cdj4020.js";
|
|
22
22
|
import"./index-6mjf4vr1.js";
|
|
23
23
|
import"./index-c8s9a3zh.js";
|
|
24
24
|
import"./index-9ss2m4rs.js";
|
|
25
|
+
import"./index-0xkjhgrf.js";
|
|
26
|
+
import"./index-xmhhhjjw.js";
|
|
27
|
+
import"./index-556ja8an.js";
|
|
28
|
+
import"./index-6rxgb5r9.js";
|
|
29
|
+
import"./index-1kyex7z2.js";
|
|
30
|
+
import"./index-b8zgtz81.js";
|
|
31
|
+
import"./index-6z0a940s.js";
|
|
32
|
+
import"./index-j77frjq8.js";
|
|
33
|
+
import"./index-k46me75h.js";
|
|
34
|
+
import"./index-ee3x66a5.js";
|
|
25
35
|
import"./index-74hpm6sh.js";
|
|
26
|
-
import"./index-
|
|
27
|
-
import"./index-
|
|
28
|
-
import"./index-
|
|
36
|
+
import"./index-5z2xps64.js";
|
|
37
|
+
import"./index-8fwhhayc.js";
|
|
38
|
+
import"./index-q1exe2b3.js";
|
|
39
|
+
import"./index-jnfyxeap.js";
|
|
40
|
+
import"./index-5azdnaty.js";
|
|
29
41
|
import"./index-rtry5xyf.js";
|
|
30
|
-
import"./index-
|
|
31
|
-
import"./index-
|
|
42
|
+
import"./index-6vh6vrnk.js";
|
|
43
|
+
import"./index-k41dn8me.js";
|
|
32
44
|
import"./index-ae75rja9.js";
|
|
33
|
-
import"./index-
|
|
34
|
-
import"./index-
|
|
35
|
-
import"./index-
|
|
45
|
+
import"./index-33skgk1a.js";
|
|
46
|
+
import"./index-6r522srn.js";
|
|
47
|
+
import"./index-ed5ykebp.js";
|
|
48
|
+
import"./index-s0qc4gj6.js";
|
|
49
|
+
import"./index-7g4c7s5r.js";
|
|
50
|
+
import"./index-4nt52yr9.js";
|
|
51
|
+
import"./index-s58vghgj.js";
|
|
36
52
|
import"./index-gprxjmm7.js";
|
|
37
53
|
import"./index-n832052r.js";
|
|
54
|
+
import"./index-1kz6da87.js";
|
|
55
|
+
import"./index-4rhhvd1a.js";
|
|
56
|
+
import"./index-zgwm4ryv.js";
|
|
38
57
|
import {
|
|
39
58
|
init_package,
|
|
40
59
|
package_default
|
|
41
|
-
} from "./index-
|
|
42
|
-
import"./index-bk5tah7q.js";
|
|
43
|
-
import"./index-8fwhhayc.js";
|
|
44
|
-
import"./index-q1exe2b3.js";
|
|
45
|
-
import"./index-5syvwd8g.js";
|
|
46
|
-
import"./index-05mms0va.js";
|
|
47
|
-
import"./index-556ja8an.js";
|
|
48
|
-
import"./index-4xbyy6aw.js";
|
|
49
|
-
import"./index-1kz6da87.js";
|
|
50
|
-
import"./index-yh0q21nj.js";
|
|
51
|
-
import"./index-b8zgtz81.js";
|
|
52
|
-
import"./index-gen82t10.js";
|
|
53
|
-
import"./index-4rhhvd1a.js";
|
|
60
|
+
} from "./index-5s23pfsy.js";
|
|
54
61
|
import {
|
|
55
62
|
DEFAULT_AGENT_CONFIGS,
|
|
56
63
|
init_constants
|
|
57
64
|
} from "./index-4wjk296r.js";
|
|
58
|
-
import"./index-mv0czd9c.js";
|
|
59
|
-
import"./index-k87hs2ff.js";
|
|
60
|
-
import"./index-ed5ykebp.js";
|
|
61
|
-
import"./index-5j6chvj8.js";
|
|
62
|
-
import"./index-7g4c7s5r.js";
|
|
63
|
-
import"./index-a5eba0t8.js";
|
|
64
|
-
import"./index-bpmtbmy9.js";
|
|
65
|
-
import"./index-z6xqpmqg.js";
|
|
66
65
|
import"./index-zjygnfay.js";
|
|
67
|
-
import"./index-
|
|
68
|
-
import"./index-
|
|
66
|
+
import"./index-bk5tah7q.js";
|
|
67
|
+
import"./index-rsrx77fg.js";
|
|
68
|
+
import"./index-bpmtbmy9.js";
|
|
69
69
|
import"./index-a76rekgs.js";
|
|
70
70
|
|
|
71
71
|
// src/cli/index.ts
|
|
@@ -8,20 +8,20 @@ import {
|
|
|
8
8
|
maybeEscalateOnViolation,
|
|
9
9
|
maybeQuarantineOnContradiction,
|
|
10
10
|
readRecentEscalations
|
|
11
|
-
} from "./index-
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
11
|
+
} from "./index-0e95eck5.js";
|
|
12
|
+
import"./index-6vh6vrnk.js";
|
|
13
|
+
import"./index-k41dn8me.js";
|
|
14
14
|
import"./index-ae75rja9.js";
|
|
15
|
-
import"./index-
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-bk5tah7q.js";
|
|
15
|
+
import"./index-33skgk1a.js";
|
|
16
|
+
import"./index-6r522srn.js";
|
|
18
17
|
import"./index-ed5ykebp.js";
|
|
19
|
-
import"./index-
|
|
18
|
+
import"./index-s0qc4gj6.js";
|
|
20
19
|
import"./index-7g4c7s5r.js";
|
|
21
|
-
import"./index-a5eba0t8.js";
|
|
22
|
-
import"./index-bpmtbmy9.js";
|
|
23
20
|
import"./index-4nt52yr9.js";
|
|
24
21
|
import"./index-zgwm4ryv.js";
|
|
22
|
+
import"./index-bk5tah7q.js";
|
|
23
|
+
import"./index-rsrx77fg.js";
|
|
24
|
+
import"./index-bpmtbmy9.js";
|
|
25
25
|
import"./index-a76rekgs.js";
|
|
26
26
|
export {
|
|
27
27
|
readRecentEscalations,
|
|
@@ -28,17 +28,17 @@ import {
|
|
|
28
28
|
resolveKnowledgeCounterBaselinePath,
|
|
29
29
|
resolveKnowledgeEventsPath,
|
|
30
30
|
resolveLegacyApplicationLogPath
|
|
31
|
-
} from "./index-
|
|
31
|
+
} from "./index-k41dn8me.js";
|
|
32
32
|
import"./index-ae75rja9.js";
|
|
33
|
-
import"./index-
|
|
34
|
-
import"./index-
|
|
33
|
+
import"./index-33skgk1a.js";
|
|
34
|
+
import"./index-6r522srn.js";
|
|
35
35
|
import"./index-ed5ykebp.js";
|
|
36
|
-
import"./index-
|
|
36
|
+
import"./index-s0qc4gj6.js";
|
|
37
37
|
import"./index-7g4c7s5r.js";
|
|
38
|
-
import"./index-a5eba0t8.js";
|
|
39
|
-
import"./index-bpmtbmy9.js";
|
|
40
38
|
import"./index-4nt52yr9.js";
|
|
41
39
|
import"./index-zgwm4ryv.js";
|
|
40
|
+
import"./index-rsrx77fg.js";
|
|
41
|
+
import"./index-bpmtbmy9.js";
|
|
42
42
|
import"./index-a76rekgs.js";
|
|
43
43
|
export {
|
|
44
44
|
resolveLegacyApplicationLogPath,
|
|
@@ -12,15 +12,15 @@ import {
|
|
|
12
12
|
resolveLinkDir,
|
|
13
13
|
sanitizeLinkId,
|
|
14
14
|
writeLinkPointer
|
|
15
|
-
} from "./index-
|
|
16
|
-
import"./index-
|
|
15
|
+
} from "./index-33skgk1a.js";
|
|
16
|
+
import"./index-6r522srn.js";
|
|
17
17
|
import"./index-ed5ykebp.js";
|
|
18
|
-
import"./index-
|
|
18
|
+
import"./index-s0qc4gj6.js";
|
|
19
19
|
import"./index-7g4c7s5r.js";
|
|
20
|
-
import"./index-a5eba0t8.js";
|
|
21
|
-
import"./index-bpmtbmy9.js";
|
|
22
20
|
import"./index-4nt52yr9.js";
|
|
23
21
|
import"./index-zgwm4ryv.js";
|
|
22
|
+
import"./index-rsrx77fg.js";
|
|
23
|
+
import"./index-bpmtbmy9.js";
|
|
24
24
|
import"./index-a76rekgs.js";
|
|
25
25
|
export {
|
|
26
26
|
writeLinkPointer,
|
|
@@ -41,20 +41,20 @@ import {
|
|
|
41
41
|
transactKnowledge,
|
|
42
42
|
transactKnowledgeWithCas,
|
|
43
43
|
wordBigrams
|
|
44
|
-
} from "./index-
|
|
44
|
+
} from "./index-6vh6vrnk.js";
|
|
45
45
|
import {
|
|
46
46
|
resolveHiveDataDir
|
|
47
47
|
} from "./index-ae75rja9.js";
|
|
48
|
-
import"./index-
|
|
49
|
-
import"./index-
|
|
50
|
-
import"./index-bk5tah7q.js";
|
|
48
|
+
import"./index-33skgk1a.js";
|
|
49
|
+
import"./index-6r522srn.js";
|
|
51
50
|
import"./index-ed5ykebp.js";
|
|
52
|
-
import"./index-
|
|
51
|
+
import"./index-s0qc4gj6.js";
|
|
53
52
|
import"./index-7g4c7s5r.js";
|
|
54
|
-
import"./index-a5eba0t8.js";
|
|
55
|
-
import"./index-bpmtbmy9.js";
|
|
56
53
|
import"./index-4nt52yr9.js";
|
|
57
54
|
import"./index-zgwm4ryv.js";
|
|
55
|
+
import"./index-bk5tah7q.js";
|
|
56
|
+
import"./index-rsrx77fg.js";
|
|
57
|
+
import"./index-bpmtbmy9.js";
|
|
58
58
|
import"./index-a76rekgs.js";
|
|
59
59
|
export {
|
|
60
60
|
wordBigrams,
|
|
@@ -23,22 +23,22 @@ import {
|
|
|
23
23
|
validateLesson,
|
|
24
24
|
validateSkillCandidatePath,
|
|
25
25
|
validateSkillPath
|
|
26
|
-
} from "./index-
|
|
27
|
-
import"./index-
|
|
26
|
+
} from "./index-jnfyxeap.js";
|
|
27
|
+
import"./index-5azdnaty.js";
|
|
28
28
|
import"./index-rtry5xyf.js";
|
|
29
|
-
import"./index-
|
|
30
|
-
import"./index-
|
|
29
|
+
import"./index-6vh6vrnk.js";
|
|
30
|
+
import"./index-k41dn8me.js";
|
|
31
31
|
import"./index-ae75rja9.js";
|
|
32
|
-
import"./index-
|
|
33
|
-
import"./index-
|
|
34
|
-
import"./index-bk5tah7q.js";
|
|
32
|
+
import"./index-33skgk1a.js";
|
|
33
|
+
import"./index-6r522srn.js";
|
|
35
34
|
import"./index-ed5ykebp.js";
|
|
36
|
-
import"./index-
|
|
35
|
+
import"./index-s0qc4gj6.js";
|
|
37
36
|
import"./index-7g4c7s5r.js";
|
|
38
|
-
import"./index-a5eba0t8.js";
|
|
39
|
-
import"./index-bpmtbmy9.js";
|
|
40
37
|
import"./index-4nt52yr9.js";
|
|
41
38
|
import"./index-zgwm4ryv.js";
|
|
39
|
+
import"./index-bk5tah7q.js";
|
|
40
|
+
import"./index-rsrx77fg.js";
|
|
41
|
+
import"./index-bpmtbmy9.js";
|
|
42
42
|
import"./index-a76rekgs.js";
|
|
43
43
|
export {
|
|
44
44
|
validateSkillPath,
|
|
@@ -41,17 +41,17 @@ import {
|
|
|
41
41
|
sweepStaleDelegations,
|
|
42
42
|
updateCoderSettlement,
|
|
43
43
|
writeDelegationFallback
|
|
44
|
-
} from "./index-
|
|
45
|
-
import"./index-
|
|
44
|
+
} from "./index-j77frjq8.js";
|
|
45
|
+
import"./index-k46me75h.js";
|
|
46
|
+
import"./index-ee3x66a5.js";
|
|
46
47
|
import"./index-ed5ykebp.js";
|
|
47
|
-
import"./index-
|
|
48
|
+
import"./index-s0qc4gj6.js";
|
|
48
49
|
import"./index-7g4c7s5r.js";
|
|
49
|
-
import"./index-a5eba0t8.js";
|
|
50
|
-
import"./index-bpmtbmy9.js";
|
|
51
|
-
import"./index-z6xqpmqg.js";
|
|
52
|
-
import"./index-zjygnfay.js";
|
|
53
50
|
import"./index-4nt52yr9.js";
|
|
54
51
|
import"./index-zgwm4ryv.js";
|
|
52
|
+
import"./index-zjygnfay.js";
|
|
53
|
+
import"./index-rsrx77fg.js";
|
|
54
|
+
import"./index-bpmtbmy9.js";
|
|
55
55
|
import"./index-a76rekgs.js";
|
|
56
56
|
export {
|
|
57
57
|
writeDelegationFallback,
|
|
@@ -9,17 +9,17 @@ import {
|
|
|
9
9
|
sweepStale,
|
|
10
10
|
unsubscribe,
|
|
11
11
|
updateSnapshot
|
|
12
|
-
} from "./index-
|
|
13
|
-
import"./index-
|
|
12
|
+
} from "./index-0xkjhgrf.js";
|
|
13
|
+
import"./index-k46me75h.js";
|
|
14
|
+
import"./index-ee3x66a5.js";
|
|
14
15
|
import"./index-ed5ykebp.js";
|
|
15
|
-
import"./index-
|
|
16
|
+
import"./index-s0qc4gj6.js";
|
|
16
17
|
import"./index-7g4c7s5r.js";
|
|
17
|
-
import"./index-a5eba0t8.js";
|
|
18
|
-
import"./index-bpmtbmy9.js";
|
|
19
|
-
import"./index-z6xqpmqg.js";
|
|
20
|
-
import"./index-zjygnfay.js";
|
|
21
18
|
import"./index-4nt52yr9.js";
|
|
22
19
|
import"./index-zgwm4ryv.js";
|
|
20
|
+
import"./index-zjygnfay.js";
|
|
21
|
+
import"./index-rsrx77fg.js";
|
|
22
|
+
import"./index-bpmtbmy9.js";
|
|
23
23
|
import"./index-a76rekgs.js";
|
|
24
24
|
export {
|
|
25
25
|
updateSnapshot,
|
|
@@ -3,16 +3,17 @@ import {
|
|
|
3
3
|
_internals,
|
|
4
4
|
createModelEvaluationExecutor,
|
|
5
5
|
runEvaluation
|
|
6
|
-
} from "./index-
|
|
7
|
-
import"./index-
|
|
6
|
+
} from "./index-sd657fkp.js";
|
|
7
|
+
import"./index-nrx08gcr.js";
|
|
8
8
|
import"./index-y8552snf.js";
|
|
9
|
-
import"./index-
|
|
9
|
+
import"./index-6r522srn.js";
|
|
10
10
|
import"./index-ed5ykebp.js";
|
|
11
|
-
import"./index-
|
|
11
|
+
import"./index-s0qc4gj6.js";
|
|
12
12
|
import"./index-7g4c7s5r.js";
|
|
13
|
-
import"./index-a5eba0t8.js";
|
|
14
|
-
import"./index-bpmtbmy9.js";
|
|
15
13
|
import"./index-4nt52yr9.js";
|
|
14
|
+
import"./index-zgwm4ryv.js";
|
|
15
|
+
import"./index-rsrx77fg.js";
|
|
16
|
+
import"./index-bpmtbmy9.js";
|
|
16
17
|
import"./index-a76rekgs.js";
|
|
17
18
|
export {
|
|
18
19
|
runEvaluation,
|
|
@@ -4,19 +4,19 @@ import {
|
|
|
4
4
|
alreadyCuratedThisGeneration,
|
|
5
5
|
claimNextScanBatch,
|
|
6
6
|
getScanStatus
|
|
7
|
-
} from "./index-
|
|
8
|
-
import"./index-
|
|
7
|
+
} from "./index-9cdj4020.js";
|
|
8
|
+
import"./index-6vh6vrnk.js";
|
|
9
9
|
import"./index-ae75rja9.js";
|
|
10
|
-
import"./index-
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-bk5tah7q.js";
|
|
10
|
+
import"./index-33skgk1a.js";
|
|
11
|
+
import"./index-6r522srn.js";
|
|
13
12
|
import"./index-ed5ykebp.js";
|
|
14
|
-
import"./index-
|
|
13
|
+
import"./index-s0qc4gj6.js";
|
|
15
14
|
import"./index-7g4c7s5r.js";
|
|
16
|
-
import"./index-a5eba0t8.js";
|
|
17
|
-
import"./index-bpmtbmy9.js";
|
|
18
15
|
import"./index-4nt52yr9.js";
|
|
19
16
|
import"./index-zgwm4ryv.js";
|
|
17
|
+
import"./index-bk5tah7q.js";
|
|
18
|
+
import"./index-rsrx77fg.js";
|
|
19
|
+
import"./index-bpmtbmy9.js";
|
|
20
20
|
import"./index-a76rekgs.js";
|
|
21
21
|
export {
|
|
22
22
|
getScanStatus,
|
|
@@ -96,11 +96,11 @@ import {
|
|
|
96
96
|
resolveGeneratedAgentRole,
|
|
97
97
|
resolveGuardrailsConfig,
|
|
98
98
|
stripKnownSwarmPrefix
|
|
99
|
-
} from "./index-
|
|
100
|
-
import"./index-bk5tah7q.js";
|
|
99
|
+
} from "./index-5s23pfsy.js";
|
|
101
100
|
import"./index-4wjk296r.js";
|
|
102
|
-
import"./index-bpmtbmy9.js";
|
|
103
101
|
import"./index-zjygnfay.js";
|
|
102
|
+
import"./index-bk5tah7q.js";
|
|
103
|
+
import"./index-bpmtbmy9.js";
|
|
104
104
|
import"./index-a76rekgs.js";
|
|
105
105
|
init_schema();
|
|
106
106
|
|
|
@@ -23,16 +23,16 @@ import {
|
|
|
23
23
|
tombstoneScopeBinding,
|
|
24
24
|
writeScopeBindingToDisk,
|
|
25
25
|
writeScopeToDisk
|
|
26
|
-
} from "./index-
|
|
26
|
+
} from "./index-xmhhhjjw.js";
|
|
27
27
|
import"./index-556ja8an.js";
|
|
28
|
-
import"./index-
|
|
29
|
-
import"./index-
|
|
30
|
-
import"./index-5j6chvj8.js";
|
|
28
|
+
import"./index-6rxgb5r9.js";
|
|
29
|
+
import"./index-s0qc4gj6.js";
|
|
31
30
|
import"./index-7g4c7s5r.js";
|
|
32
|
-
import"./index-a5eba0t8.js";
|
|
33
|
-
import"./index-bpmtbmy9.js";
|
|
34
31
|
import"./index-4nt52yr9.js";
|
|
32
|
+
import"./index-1kz6da87.js";
|
|
35
33
|
import"./index-zgwm4ryv.js";
|
|
34
|
+
import"./index-rsrx77fg.js";
|
|
35
|
+
import"./index-bpmtbmy9.js";
|
|
36
36
|
import"./index-a76rekgs.js";
|
|
37
37
|
export {
|
|
38
38
|
writeScopeToDisk,
|
|
@@ -33,24 +33,24 @@ import {
|
|
|
33
33
|
sanitizeSlug,
|
|
34
34
|
selectCandidateEntries,
|
|
35
35
|
writeEvalStub
|
|
36
|
-
} from "./index-
|
|
37
|
-
import"./index-
|
|
38
|
-
import"./index-
|
|
36
|
+
} from "./index-pg84msyc.js";
|
|
37
|
+
import"./index-jnfyxeap.js";
|
|
38
|
+
import"./index-5azdnaty.js";
|
|
39
39
|
import"./index-rtry5xyf.js";
|
|
40
|
-
import"./index-
|
|
41
|
-
import"./index-
|
|
40
|
+
import"./index-6vh6vrnk.js";
|
|
41
|
+
import"./index-k41dn8me.js";
|
|
42
42
|
import"./index-ae75rja9.js";
|
|
43
|
-
import"./index-
|
|
44
|
-
import"./index-
|
|
45
|
-
import"./index-bk5tah7q.js";
|
|
46
|
-
import"./index-4rhhvd1a.js";
|
|
43
|
+
import"./index-33skgk1a.js";
|
|
44
|
+
import"./index-6r522srn.js";
|
|
47
45
|
import"./index-ed5ykebp.js";
|
|
48
|
-
import"./index-
|
|
46
|
+
import"./index-s0qc4gj6.js";
|
|
49
47
|
import"./index-7g4c7s5r.js";
|
|
50
|
-
import"./index-a5eba0t8.js";
|
|
51
|
-
import"./index-bpmtbmy9.js";
|
|
52
48
|
import"./index-4nt52yr9.js";
|
|
49
|
+
import"./index-4rhhvd1a.js";
|
|
53
50
|
import"./index-zgwm4ryv.js";
|
|
51
|
+
import"./index-bk5tah7q.js";
|
|
52
|
+
import"./index-rsrx77fg.js";
|
|
53
|
+
import"./index-bpmtbmy9.js";
|
|
54
54
|
import"./index-a76rekgs.js";
|
|
55
55
|
export {
|
|
56
56
|
writeEvalStub,
|
|
@@ -3,26 +3,26 @@ import {
|
|
|
3
3
|
WORKTREE_PROVISIONING_OWNER_LEASE_MS,
|
|
4
4
|
removeWorktreeProvisioningOwner,
|
|
5
5
|
scanWorktreeProvisioningOwnersForRecovery
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-1kyex7z2.js";
|
|
7
7
|
import {
|
|
8
8
|
scanWorktreeMergeFailuresForRecovery
|
|
9
9
|
} from "./index-b8zgtz81.js";
|
|
10
10
|
import {
|
|
11
11
|
scanDelegationFallbacksForRecovery,
|
|
12
12
|
scanDelegationsForRecovery
|
|
13
|
-
} from "./index-
|
|
14
|
-
import"./index-
|
|
13
|
+
} from "./index-j77frjq8.js";
|
|
14
|
+
import"./index-k46me75h.js";
|
|
15
|
+
import"./index-ee3x66a5.js";
|
|
15
16
|
import"./index-ed5ykebp.js";
|
|
16
|
-
import"./index-
|
|
17
|
+
import"./index-s0qc4gj6.js";
|
|
17
18
|
import"./index-7g4c7s5r.js";
|
|
18
|
-
import"./index-a5eba0t8.js";
|
|
19
|
-
import"./index-bpmtbmy9.js";
|
|
20
|
-
import"./index-z6xqpmqg.js";
|
|
21
|
-
import"./index-zjygnfay.js";
|
|
22
19
|
import {
|
|
23
20
|
bunSpawn
|
|
24
21
|
} from "./index-4nt52yr9.js";
|
|
25
22
|
import"./index-zgwm4ryv.js";
|
|
23
|
+
import"./index-zjygnfay.js";
|
|
24
|
+
import"./index-rsrx77fg.js";
|
|
25
|
+
import"./index-bpmtbmy9.js";
|
|
26
26
|
import"./index-a76rekgs.js";
|
|
27
27
|
|
|
28
28
|
// src/hooks/delegation-gate/worktree-collision-ownership.ts
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { realpathSync, statSync } from 'node:fs';
|
|
1
2
|
import { type BuildEvidence, type Evidence, type EvidenceBundle, type PlaceholderEvidence, type QualityBudgetEvidence, type SastEvidence, type SbomEvidence, type SecretscanEvidence, type SyntaxEvidence } from '../config/evidence-schema';
|
|
2
3
|
import { type EvaluationRetentionResult } from '../evaluation/retention.js';
|
|
3
4
|
import { type DocumentsRetentionResult, pruneEvidenceDocuments } from './documents-retention.js';
|
|
@@ -66,7 +67,7 @@ export declare function isQualityBudgetEvidence(evidence: Evidence): evidence is
|
|
|
66
67
|
export declare function isSecretscanEvidence(evidence: Evidence): evidence is SecretscanEvidence;
|
|
67
68
|
import { sanitizeTaskId as _sanitizeTaskId } from '../validation/task-id';
|
|
68
69
|
export declare const sanitizeTaskId: typeof _sanitizeTaskId;
|
|
69
|
-
/** Maximum depth to walk up the directory tree before
|
|
70
|
+
/** Maximum depth to walk up the directory tree before failing closed. */
|
|
70
71
|
export declare const MAX_DEPTH = 20;
|
|
71
72
|
/** File/directory names that indicate a real project root. */
|
|
72
73
|
export declare const PROJECT_INDICATORS: readonly ["package.json", ".git", ".opencode", "Cargo.toml", "go.mod", "pyproject.toml", "Gemfile", "composer.json", "pom.xml", "build.gradle", "CMakeLists.txt"];
|
|
@@ -172,6 +173,8 @@ export declare const _internals: {
|
|
|
172
173
|
saveEvidence: typeof saveEvidence;
|
|
173
174
|
deleteEvidence: typeof deleteEvidence;
|
|
174
175
|
pruneEvidenceDocuments: typeof pruneEvidenceDocuments;
|
|
176
|
+
realpathSync: typeof realpathSync;
|
|
177
|
+
statSync: typeof statSync;
|
|
175
178
|
now: () => Date;
|
|
176
179
|
};
|
|
177
180
|
export {};
|