opencode-swarm 7.154.3 → 7.155.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/cli/{coder-settlement-7c9h07f5.js → coder-settlement-2kdtysrg.js} +6 -6
- package/dist/cli/{config-doctor-8zjz6dej.js → config-doctor-s6p9aqfv.js} +2 -2
- package/dist/cli/{core-dn8bn81g.js → core-ev2ebc4v.js} +1 -1
- package/dist/cli/{curation-policy-2jkbybw7.js → curation-policy-jabphe51.js} +4 -4
- package/dist/cli/{curator-v12rhct2.js → curator-adp0dsv4.js} +27 -27
- package/dist/cli/{curator-llm-factory-mxdjw6kz.js → curator-llm-factory-kd8v16jj.js} +27 -27
- package/dist/cli/{evidence-summary-service-zzvvcaa9.js → evidence-summary-service-kpjpd86j.js} +9 -9
- package/dist/cli/{gate-evidence-16jkjre9.js → gate-evidence-etbcms2v.js} +4 -4
- package/dist/cli/{guardrail-explain-11fx66cx.js → guardrail-explain-wqb5h7kk.js} +28 -28
- package/dist/cli/{guardrail-log-ahvfn58c.js → guardrail-log-614g1pta.js} +3 -3
- package/dist/cli/{guardrail-reset-zp5xe0n5.js → guardrail-reset-0wdj53cp.js} +27 -27
- package/dist/cli/{hive-promoter-k6y06jj8.js → hive-promoter-b1wv52fs.js} +27 -27
- package/dist/cli/{index-vntggpez.js → index-0q8kywcf.js} +1 -1
- package/dist/cli/{index-g1bh7980.js → index-26cvxrym.js} +2 -2
- package/dist/cli/{index-m0fy8jra.js → index-2gfe61qp.js} +312 -216
- package/dist/cli/{index-y3kw1zpm.js → index-34wn2ztk.js} +4 -2
- package/dist/cli/{index-0f4b9ywa.js → index-6bqqzfbe.js} +1 -1
- package/dist/cli/{index-q0prhdds.js → index-79qymsxf.js} +1 -1
- package/dist/cli/{index-ed13peqr.js → index-85p1850w.js} +1 -1
- package/dist/cli/{index-zak50rve.js → index-aqg7c1z9.js} +1 -1
- package/dist/cli/{index-qxj63890.js → index-c590qxts.js} +1 -1
- package/dist/cli/{index-env8fk17.js → index-c9nabqzd.js} +1 -1
- package/dist/cli/{index-kck2gtxk.js → index-caqe8x14.js} +1 -1
- package/dist/cli/{index-n7nnz0jp.js → index-ctsct3hy.js} +6 -6
- package/dist/cli/{index-gbkdj7ay.js → index-dw2q720x.js} +2 -2
- package/dist/cli/{index-6vcrkz80.js → index-e90g4dsw.js} +4 -4
- package/dist/cli/{index-ymgsmjba.js → index-egnpzfe3.js} +4 -4
- package/dist/cli/{index-bhjkxasn.js → index-ew6fykvv.js} +1 -1
- package/dist/cli/{index-94e20w95.js → index-fjcm6wwf.js} +1 -1
- package/dist/cli/{index-d7r6y724.js → index-ketfp4rv.js} +3 -3
- package/dist/cli/{index-a6xjn2zt.js → index-kgdbtwfm.js} +5 -5
- package/dist/cli/{index-qdnmnq65.js → index-kyc2c7hq.js} +1 -1
- package/dist/cli/{index-wkagbmpt.js → index-mm7ase9k.js} +1 -1
- package/dist/cli/{index-s23q9v6t.js → index-qj9jrjvr.js} +5 -5
- package/dist/cli/{index-9nw6z98k.js → index-qzqpq75z.js} +29 -29
- package/dist/cli/{index-v6xkgxts.js → index-rb4t72we.js} +2 -2
- package/dist/cli/{index-7qky94rr.js → index-spbxf9vn.js} +1 -1
- package/dist/cli/{index-4n557t8w.js → index-t3xqpece.js} +3 -3
- package/dist/cli/{index-4dt91x6e.js → index-veajr5x7.js} +1 -1
- package/dist/cli/{index-7fyv62b2.js → index-wwv3cbv1.js} +4 -4
- package/dist/cli/{index-ckp0z9d4.js → index-x9tbe9v7.js} +2 -2
- package/dist/cli/{index-2rgm3hgq.js → index-xn23xnnk.js} +4 -4
- package/dist/cli/{index-s5p8ryar.js → index-zvp68qx6.js} +1 -1
- package/dist/cli/index.js +27 -27
- package/dist/cli/{knowledge-escalator-yew2fbxb.js → knowledge-escalator-z09aqvfe.js} +9 -9
- package/dist/cli/{knowledge-events-zfg423hp.js → knowledge-events-03f1rwm8.js} +7 -7
- package/dist/cli/{knowledge-link-ydv6shg2.js → knowledge-link-4frk38w8.js} +3 -3
- package/dist/cli/{knowledge-store-zcv9stzz.js → knowledge-store-sn28k13f.js} +4 -4
- package/dist/cli/{knowledge-validator-q68wx2bf.js → knowledge-validator-rwrt3yja.js} +6 -6
- package/dist/cli/{pending-delegations-yet1rza6.js → pending-delegations-qe16vfrj.js} +1 -1
- package/dist/cli/{pr-subscriptions-mp7fyh1r.js → pr-subscriptions-00evnffe.js} +2 -2
- package/dist/cli/{runner-s89ja08q.js → runner-k1rkbjm8.js} +4 -4
- package/dist/cli/{scan-cursor-38bzfhwf.js → scan-cursor-h3mfzjc9.js} +5 -5
- package/dist/cli/{schema-9hqyt4t6.js → schema-c37h5xw4.js} +1 -1
- package/dist/cli/{scope-persistence-dd9s9q2b.js → scope-persistence-35z42pj5.js} +5 -5
- package/dist/cli/{skill-generator-b28ezazm.js → skill-generator-60px2mvb.js} +11 -11
- package/dist/cli/{worktree-collision-ownership-zw65t2p9.js → worktree-collision-ownership-2pc20ypq.js} +3 -3
- package/dist/cli/{worktree-isolation-0ag393t0.js → worktree-isolation-w4yamc3b.js} +27 -27
- package/dist/commands/close.d.ts +2 -0
- package/dist/config/schema.d.ts +8 -0
- package/dist/hooks/repo-graph-injection.d.ts +40 -0
- package/dist/index.js +376 -356
- package/dist/memory/reflection-service.d.ts +8 -2
- package/dist/memory/schema.d.ts +4 -4
- package/dist/tools/repo-graph/indexed-storage.d.ts +136 -0
- package/dist/tools/repo-graph/query.d.ts +7 -0
- package/package.json +2 -1
package/dist/cli/index.js
CHANGED
|
@@ -11,53 +11,53 @@ import {
|
|
|
11
11
|
readCachePackageVersion,
|
|
12
12
|
resolveCommand,
|
|
13
13
|
safeRealpathSync
|
|
14
|
-
} from "./index-
|
|
15
|
-
import"./index-
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-
|
|
18
|
-
import"./index-
|
|
19
|
-
import"./index-
|
|
14
|
+
} from "./index-2gfe61qp.js";
|
|
15
|
+
import"./index-kyc2c7hq.js";
|
|
16
|
+
import"./index-c590qxts.js";
|
|
17
|
+
import"./index-mm7ase9k.js";
|
|
18
|
+
import"./index-wwv3cbv1.js";
|
|
19
|
+
import"./index-c9nabqzd.js";
|
|
20
20
|
import"./index-134d35c1.js";
|
|
21
21
|
import"./index-nj6rmyeh.js";
|
|
22
22
|
import"./index-y8552snf.js";
|
|
23
|
-
import"./index-
|
|
24
|
-
import"./index-
|
|
23
|
+
import"./index-kgdbtwfm.js";
|
|
24
|
+
import"./index-rb4t72we.js";
|
|
25
25
|
import"./index-70ha9e09.js";
|
|
26
26
|
import"./index-c8s9a3zh.js";
|
|
27
27
|
import"./index-9ss2m4rs.js";
|
|
28
|
-
import"./index-
|
|
28
|
+
import"./index-fjcm6wwf.js";
|
|
29
29
|
import"./index-zsrtt42s.js";
|
|
30
|
-
import"./index-
|
|
31
|
-
import"./index-
|
|
32
|
-
import"./index-
|
|
33
|
-
import"./index-
|
|
34
|
-
import"./index-
|
|
30
|
+
import"./index-egnpzfe3.js";
|
|
31
|
+
import"./index-0q8kywcf.js";
|
|
32
|
+
import"./index-xn23xnnk.js";
|
|
33
|
+
import"./index-e90g4dsw.js";
|
|
34
|
+
import"./index-aqg7c1z9.js";
|
|
35
35
|
import"./index-rtry5xyf.js";
|
|
36
|
-
import"./index-
|
|
37
|
-
import"./index-
|
|
38
|
-
import"./index-
|
|
36
|
+
import"./index-26cvxrym.js";
|
|
37
|
+
import"./index-spbxf9vn.js";
|
|
38
|
+
import"./index-caqe8x14.js";
|
|
39
39
|
import"./index-ddszzne4.js";
|
|
40
40
|
import"./index-vnn7qq8c.js";
|
|
41
|
-
import"./index-
|
|
42
|
-
import"./index-
|
|
41
|
+
import"./index-t3xqpece.js";
|
|
42
|
+
import"./index-zvp68qx6.js";
|
|
43
43
|
import"./index-xdy28ngt.js";
|
|
44
44
|
import"./index-556ja8an.js";
|
|
45
45
|
import"./index-4fwbbad3.js";
|
|
46
46
|
import"./index-b43rt5ph.js";
|
|
47
47
|
import"./index-q7sjgr1y.js";
|
|
48
|
-
import"./index-
|
|
49
|
-
import"./index-
|
|
50
|
-
import"./index-
|
|
48
|
+
import"./index-ctsct3hy.js";
|
|
49
|
+
import"./index-qj9jrjvr.js";
|
|
50
|
+
import"./index-dw2q720x.js";
|
|
51
51
|
import"./index-gprxjmm7.js";
|
|
52
52
|
import"./index-n832052r.js";
|
|
53
53
|
import"./index-dtn0pne5.js";
|
|
54
54
|
import"./index-z6xqpmqg.js";
|
|
55
55
|
import"./index-r3mvsbtq.js";
|
|
56
|
-
import"./index-
|
|
56
|
+
import"./index-79qymsxf.js";
|
|
57
57
|
import {
|
|
58
58
|
init_package,
|
|
59
59
|
package_default
|
|
60
|
-
} from "./index-
|
|
60
|
+
} from "./index-34wn2ztk.js";
|
|
61
61
|
import {
|
|
62
62
|
DEFAULT_AGENT_CONFIGS,
|
|
63
63
|
init_constants
|
|
@@ -66,10 +66,10 @@ import"./index-zjygnfay.js";
|
|
|
66
66
|
import"./index-9e6fdz2h.js";
|
|
67
67
|
import"./index-4rhhvd1a.js";
|
|
68
68
|
import"./index-ae75rja9.js";
|
|
69
|
-
import"./index-
|
|
70
|
-
import"./index-
|
|
69
|
+
import"./index-85p1850w.js";
|
|
70
|
+
import"./index-ew6fykvv.js";
|
|
71
71
|
import"./index-bk5tah7q.js";
|
|
72
|
-
import"./index-
|
|
72
|
+
import"./index-6bqqzfbe.js";
|
|
73
73
|
import"./index-xagq35tf.js";
|
|
74
74
|
import"./index-ed5ykebp.js";
|
|
75
75
|
import"./index-h1g8w4v0.js";
|
|
@@ -9,26 +9,26 @@ import {
|
|
|
9
9
|
maybeEscalateOnViolation,
|
|
10
10
|
maybeQuarantineOnContradiction,
|
|
11
11
|
readRecentEscalations
|
|
12
|
-
} from "./index-
|
|
13
|
-
import"./index-
|
|
14
|
-
import"./index-
|
|
15
|
-
import"./index-
|
|
12
|
+
} from "./index-kgdbtwfm.js";
|
|
13
|
+
import"./index-ctsct3hy.js";
|
|
14
|
+
import"./index-qj9jrjvr.js";
|
|
15
|
+
import"./index-dw2q720x.js";
|
|
16
16
|
import"./index-gprxjmm7.js";
|
|
17
17
|
import"./index-n832052r.js";
|
|
18
18
|
import"./index-dtn0pne5.js";
|
|
19
19
|
import"./index-z6xqpmqg.js";
|
|
20
20
|
import"./index-r3mvsbtq.js";
|
|
21
|
-
import"./index-
|
|
22
|
-
import"./index-
|
|
21
|
+
import"./index-79qymsxf.js";
|
|
22
|
+
import"./index-34wn2ztk.js";
|
|
23
23
|
import"./index-myt57pht.js";
|
|
24
24
|
import"./index-zjygnfay.js";
|
|
25
25
|
import"./index-9e6fdz2h.js";
|
|
26
26
|
import"./index-4rhhvd1a.js";
|
|
27
27
|
import"./index-ae75rja9.js";
|
|
28
|
-
import"./index-
|
|
29
|
-
import"./index-
|
|
28
|
+
import"./index-85p1850w.js";
|
|
29
|
+
import"./index-ew6fykvv.js";
|
|
30
30
|
import"./index-bk5tah7q.js";
|
|
31
|
-
import"./index-
|
|
31
|
+
import"./index-6bqqzfbe.js";
|
|
32
32
|
import"./index-xagq35tf.js";
|
|
33
33
|
import"./index-ed5ykebp.js";
|
|
34
34
|
import"./index-h1g8w4v0.js";
|
|
@@ -29,24 +29,24 @@ import {
|
|
|
29
29
|
resolveKnowledgeCounterBaselinePath,
|
|
30
30
|
resolveKnowledgeEventsPath,
|
|
31
31
|
resolveLegacyApplicationLogPath
|
|
32
|
-
} from "./index-
|
|
33
|
-
import"./index-
|
|
32
|
+
} from "./index-qj9jrjvr.js";
|
|
33
|
+
import"./index-dw2q720x.js";
|
|
34
34
|
import"./index-gprxjmm7.js";
|
|
35
35
|
import"./index-n832052r.js";
|
|
36
36
|
import"./index-dtn0pne5.js";
|
|
37
37
|
import"./index-z6xqpmqg.js";
|
|
38
38
|
import"./index-r3mvsbtq.js";
|
|
39
|
-
import"./index-
|
|
40
|
-
import"./index-
|
|
39
|
+
import"./index-79qymsxf.js";
|
|
40
|
+
import"./index-34wn2ztk.js";
|
|
41
41
|
import"./index-myt57pht.js";
|
|
42
42
|
import"./index-zjygnfay.js";
|
|
43
43
|
import"./index-9e6fdz2h.js";
|
|
44
44
|
import"./index-4rhhvd1a.js";
|
|
45
45
|
import"./index-ae75rja9.js";
|
|
46
|
-
import"./index-
|
|
47
|
-
import"./index-
|
|
46
|
+
import"./index-85p1850w.js";
|
|
47
|
+
import"./index-ew6fykvv.js";
|
|
48
48
|
import"./index-bk5tah7q.js";
|
|
49
|
-
import"./index-
|
|
49
|
+
import"./index-6bqqzfbe.js";
|
|
50
50
|
import"./index-xagq35tf.js";
|
|
51
51
|
import"./index-ed5ykebp.js";
|
|
52
52
|
import"./index-h1g8w4v0.js";
|
|
@@ -12,9 +12,9 @@ import {
|
|
|
12
12
|
resolveLinkDir,
|
|
13
13
|
sanitizeLinkId,
|
|
14
14
|
writeLinkPointer
|
|
15
|
-
} from "./index-
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-
|
|
15
|
+
} from "./index-85p1850w.js";
|
|
16
|
+
import"./index-ew6fykvv.js";
|
|
17
|
+
import"./index-6bqqzfbe.js";
|
|
18
18
|
import"./index-xagq35tf.js";
|
|
19
19
|
import"./index-ed5ykebp.js";
|
|
20
20
|
import"./index-h1g8w4v0.js";
|
|
@@ -42,14 +42,14 @@ import {
|
|
|
42
42
|
transactKnowledge,
|
|
43
43
|
transactKnowledgeWithCas,
|
|
44
44
|
wordBigrams
|
|
45
|
-
} from "./index-
|
|
45
|
+
} from "./index-ctsct3hy.js";
|
|
46
46
|
import {
|
|
47
47
|
resolveHiveDataDir
|
|
48
48
|
} from "./index-ae75rja9.js";
|
|
49
|
-
import"./index-
|
|
50
|
-
import"./index-
|
|
49
|
+
import"./index-85p1850w.js";
|
|
50
|
+
import"./index-ew6fykvv.js";
|
|
51
51
|
import"./index-bk5tah7q.js";
|
|
52
|
-
import"./index-
|
|
52
|
+
import"./index-6bqqzfbe.js";
|
|
53
53
|
import"./index-xagq35tf.js";
|
|
54
54
|
import"./index-ed5ykebp.js";
|
|
55
55
|
import"./index-h1g8w4v0.js";
|
|
@@ -23,15 +23,15 @@ import {
|
|
|
23
23
|
validateLesson,
|
|
24
24
|
validateSkillCandidatePath,
|
|
25
25
|
validateSkillPath
|
|
26
|
-
} from "./index-
|
|
27
|
-
import"./index-
|
|
26
|
+
} from "./index-e90g4dsw.js";
|
|
27
|
+
import"./index-aqg7c1z9.js";
|
|
28
28
|
import"./index-rtry5xyf.js";
|
|
29
|
-
import"./index-
|
|
29
|
+
import"./index-ctsct3hy.js";
|
|
30
30
|
import"./index-ae75rja9.js";
|
|
31
|
-
import"./index-
|
|
32
|
-
import"./index-
|
|
31
|
+
import"./index-85p1850w.js";
|
|
32
|
+
import"./index-ew6fykvv.js";
|
|
33
33
|
import"./index-bk5tah7q.js";
|
|
34
|
-
import"./index-
|
|
34
|
+
import"./index-6bqqzfbe.js";
|
|
35
35
|
import"./index-xagq35tf.js";
|
|
36
36
|
import"./index-ed5ykebp.js";
|
|
37
37
|
import"./index-h1g8w4v0.js";
|
|
@@ -14,12 +14,12 @@ import {
|
|
|
14
14
|
sweepStale,
|
|
15
15
|
unsubscribe,
|
|
16
16
|
updateSnapshot
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-fjcm6wwf.js";
|
|
18
18
|
import"./index-dtn0pne5.js";
|
|
19
19
|
import"./index-z6xqpmqg.js";
|
|
20
20
|
import"./index-r3mvsbtq.js";
|
|
21
21
|
import"./index-zjygnfay.js";
|
|
22
|
-
import"./index-
|
|
22
|
+
import"./index-6bqqzfbe.js";
|
|
23
23
|
import"./index-xagq35tf.js";
|
|
24
24
|
import"./index-ed5ykebp.js";
|
|
25
25
|
import"./index-h1g8w4v0.js";
|
|
@@ -3,12 +3,12 @@ import {
|
|
|
3
3
|
_internals,
|
|
4
4
|
createModelEvaluationExecutor,
|
|
5
5
|
runEvaluation
|
|
6
|
-
} from "./index-
|
|
7
|
-
import"./index-
|
|
6
|
+
} from "./index-kyc2c7hq.js";
|
|
7
|
+
import"./index-c9nabqzd.js";
|
|
8
8
|
import"./index-y8552snf.js";
|
|
9
9
|
import"./index-r3mvsbtq.js";
|
|
10
|
-
import"./index-
|
|
11
|
-
import"./index-
|
|
10
|
+
import"./index-ew6fykvv.js";
|
|
11
|
+
import"./index-6bqqzfbe.js";
|
|
12
12
|
import"./index-xagq35tf.js";
|
|
13
13
|
import"./index-ed5ykebp.js";
|
|
14
14
|
import"./index-h1g8w4v0.js";
|
|
@@ -4,15 +4,15 @@ import {
|
|
|
4
4
|
alreadyCuratedThisGeneration,
|
|
5
5
|
claimNextScanBatch,
|
|
6
6
|
getScanStatus
|
|
7
|
-
} from "./index-
|
|
8
|
-
import"./index-
|
|
7
|
+
} from "./index-rb4t72we.js";
|
|
8
|
+
import"./index-ctsct3hy.js";
|
|
9
9
|
import"./index-9e6fdz2h.js";
|
|
10
10
|
import"./index-4rhhvd1a.js";
|
|
11
11
|
import"./index-ae75rja9.js";
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
12
|
+
import"./index-85p1850w.js";
|
|
13
|
+
import"./index-ew6fykvv.js";
|
|
14
14
|
import"./index-bk5tah7q.js";
|
|
15
|
-
import"./index-
|
|
15
|
+
import"./index-6bqqzfbe.js";
|
|
16
16
|
import"./index-xagq35tf.js";
|
|
17
17
|
import"./index-ed5ykebp.js";
|
|
18
18
|
import"./index-h1g8w4v0.js";
|
|
@@ -99,7 +99,7 @@ import {
|
|
|
99
99
|
resolveGeneratedAgentRole,
|
|
100
100
|
resolveGuardrailsConfig,
|
|
101
101
|
stripKnownSwarmPrefix
|
|
102
|
-
} from "./index-
|
|
102
|
+
} from "./index-34wn2ztk.js";
|
|
103
103
|
import"./index-myt57pht.js";
|
|
104
104
|
import"./index-zjygnfay.js";
|
|
105
105
|
import"./index-bk5tah7q.js";
|
|
@@ -23,18 +23,18 @@ import {
|
|
|
23
23
|
tombstoneScopeBinding,
|
|
24
24
|
writeScopeBindingToDisk,
|
|
25
25
|
writeScopeToDisk
|
|
26
|
-
} from "./index-
|
|
27
|
-
import"./index-
|
|
26
|
+
} from "./index-t3xqpece.js";
|
|
27
|
+
import"./index-zvp68qx6.js";
|
|
28
28
|
import"./index-xdy28ngt.js";
|
|
29
29
|
import"./index-556ja8an.js";
|
|
30
|
-
import"./index-
|
|
31
|
-
import"./index-
|
|
30
|
+
import"./index-79qymsxf.js";
|
|
31
|
+
import"./index-34wn2ztk.js";
|
|
32
32
|
import"./index-myt57pht.js";
|
|
33
33
|
import"./index-zjygnfay.js";
|
|
34
34
|
import"./index-9e6fdz2h.js";
|
|
35
35
|
import"./index-4rhhvd1a.js";
|
|
36
36
|
import"./index-bk5tah7q.js";
|
|
37
|
-
import"./index-
|
|
37
|
+
import"./index-6bqqzfbe.js";
|
|
38
38
|
import"./index-xagq35tf.js";
|
|
39
39
|
import"./index-ed5ykebp.js";
|
|
40
40
|
import"./index-h1g8w4v0.js";
|
|
@@ -33,30 +33,30 @@ import {
|
|
|
33
33
|
sanitizeSlug,
|
|
34
34
|
selectCandidateEntries,
|
|
35
35
|
writeEvalStub
|
|
36
|
-
} from "./index-
|
|
37
|
-
import"./index-
|
|
38
|
-
import"./index-
|
|
36
|
+
} from "./index-xn23xnnk.js";
|
|
37
|
+
import"./index-e90g4dsw.js";
|
|
38
|
+
import"./index-aqg7c1z9.js";
|
|
39
39
|
import"./index-rtry5xyf.js";
|
|
40
40
|
import"./index-q7sjgr1y.js";
|
|
41
|
-
import"./index-
|
|
42
|
-
import"./index-
|
|
43
|
-
import"./index-
|
|
41
|
+
import"./index-ctsct3hy.js";
|
|
42
|
+
import"./index-qj9jrjvr.js";
|
|
43
|
+
import"./index-dw2q720x.js";
|
|
44
44
|
import"./index-gprxjmm7.js";
|
|
45
45
|
import"./index-n832052r.js";
|
|
46
46
|
import"./index-dtn0pne5.js";
|
|
47
47
|
import"./index-z6xqpmqg.js";
|
|
48
48
|
import"./index-r3mvsbtq.js";
|
|
49
|
-
import"./index-
|
|
50
|
-
import"./index-
|
|
49
|
+
import"./index-79qymsxf.js";
|
|
50
|
+
import"./index-34wn2ztk.js";
|
|
51
51
|
import"./index-myt57pht.js";
|
|
52
52
|
import"./index-zjygnfay.js";
|
|
53
53
|
import"./index-9e6fdz2h.js";
|
|
54
54
|
import"./index-4rhhvd1a.js";
|
|
55
55
|
import"./index-ae75rja9.js";
|
|
56
|
-
import"./index-
|
|
57
|
-
import"./index-
|
|
56
|
+
import"./index-85p1850w.js";
|
|
57
|
+
import"./index-ew6fykvv.js";
|
|
58
58
|
import"./index-bk5tah7q.js";
|
|
59
|
-
import"./index-
|
|
59
|
+
import"./index-6bqqzfbe.js";
|
|
60
60
|
import"./index-xagq35tf.js";
|
|
61
61
|
import"./index-ed5ykebp.js";
|
|
62
62
|
import"./index-h1g8w4v0.js";
|
|
@@ -6,11 +6,11 @@ import {
|
|
|
6
6
|
WORKTREE_PROVISIONING_OWNER_LEASE_MS,
|
|
7
7
|
removeWorktreeProvisioningOwner,
|
|
8
8
|
scanWorktreeProvisioningOwnersForRecovery
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-0q8kywcf.js";
|
|
10
10
|
import {
|
|
11
11
|
scanDelegationFallbacksForRecovery,
|
|
12
12
|
scanDelegationsForRecovery
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-caqe8x14.js";
|
|
14
14
|
import"./index-ddszzne4.js";
|
|
15
15
|
import"./index-dtn0pne5.js";
|
|
16
16
|
import"./index-z6xqpmqg.js";
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
resolveGitExecutable
|
|
24
24
|
} from "./index-9e6fdz2h.js";
|
|
25
25
|
import"./index-4rhhvd1a.js";
|
|
26
|
-
import"./index-
|
|
26
|
+
import"./index-6bqqzfbe.js";
|
|
27
27
|
import"./index-xagq35tf.js";
|
|
28
28
|
import"./index-ed5ykebp.js";
|
|
29
29
|
import"./index-h1g8w4v0.js";
|
|
@@ -21,61 +21,61 @@ import {
|
|
|
21
21
|
sanitizeWorktreeTaskId,
|
|
22
22
|
standardWorktreeByCallID,
|
|
23
23
|
standardWorktreeSerializationSessions
|
|
24
|
-
} from "./index-
|
|
25
|
-
import"./index-
|
|
26
|
-
import"./index-
|
|
27
|
-
import"./index-
|
|
28
|
-
import"./index-
|
|
29
|
-
import"./index-
|
|
24
|
+
} from "./index-2gfe61qp.js";
|
|
25
|
+
import"./index-kyc2c7hq.js";
|
|
26
|
+
import"./index-c590qxts.js";
|
|
27
|
+
import"./index-mm7ase9k.js";
|
|
28
|
+
import"./index-wwv3cbv1.js";
|
|
29
|
+
import"./index-c9nabqzd.js";
|
|
30
30
|
import"./index-134d35c1.js";
|
|
31
31
|
import"./index-nj6rmyeh.js";
|
|
32
32
|
import"./index-y8552snf.js";
|
|
33
|
-
import"./index-
|
|
34
|
-
import"./index-
|
|
33
|
+
import"./index-kgdbtwfm.js";
|
|
34
|
+
import"./index-rb4t72we.js";
|
|
35
35
|
import"./index-70ha9e09.js";
|
|
36
36
|
import"./index-c8s9a3zh.js";
|
|
37
37
|
import"./index-9ss2m4rs.js";
|
|
38
|
-
import"./index-
|
|
38
|
+
import"./index-fjcm6wwf.js";
|
|
39
39
|
import"./index-zsrtt42s.js";
|
|
40
|
-
import"./index-
|
|
41
|
-
import"./index-
|
|
42
|
-
import"./index-
|
|
43
|
-
import"./index-
|
|
44
|
-
import"./index-
|
|
40
|
+
import"./index-egnpzfe3.js";
|
|
41
|
+
import"./index-0q8kywcf.js";
|
|
42
|
+
import"./index-xn23xnnk.js";
|
|
43
|
+
import"./index-e90g4dsw.js";
|
|
44
|
+
import"./index-aqg7c1z9.js";
|
|
45
45
|
import"./index-rtry5xyf.js";
|
|
46
|
-
import"./index-
|
|
47
|
-
import"./index-
|
|
48
|
-
import"./index-
|
|
46
|
+
import"./index-26cvxrym.js";
|
|
47
|
+
import"./index-spbxf9vn.js";
|
|
48
|
+
import"./index-caqe8x14.js";
|
|
49
49
|
import"./index-ddszzne4.js";
|
|
50
50
|
import"./index-vnn7qq8c.js";
|
|
51
|
-
import"./index-
|
|
52
|
-
import"./index-
|
|
51
|
+
import"./index-t3xqpece.js";
|
|
52
|
+
import"./index-zvp68qx6.js";
|
|
53
53
|
import"./index-xdy28ngt.js";
|
|
54
54
|
import"./index-556ja8an.js";
|
|
55
55
|
import"./index-4fwbbad3.js";
|
|
56
56
|
import"./index-b43rt5ph.js";
|
|
57
57
|
import"./index-q7sjgr1y.js";
|
|
58
|
-
import"./index-
|
|
59
|
-
import"./index-
|
|
58
|
+
import"./index-ctsct3hy.js";
|
|
59
|
+
import"./index-qj9jrjvr.js";
|
|
60
60
|
import {
|
|
61
61
|
resolveWorktreeIsolationConfig
|
|
62
|
-
} from "./index-
|
|
62
|
+
} from "./index-dw2q720x.js";
|
|
63
63
|
import"./index-gprxjmm7.js";
|
|
64
64
|
import"./index-n832052r.js";
|
|
65
65
|
import"./index-dtn0pne5.js";
|
|
66
66
|
import"./index-z6xqpmqg.js";
|
|
67
67
|
import"./index-r3mvsbtq.js";
|
|
68
|
-
import"./index-
|
|
69
|
-
import"./index-
|
|
68
|
+
import"./index-79qymsxf.js";
|
|
69
|
+
import"./index-34wn2ztk.js";
|
|
70
70
|
import"./index-myt57pht.js";
|
|
71
71
|
import"./index-zjygnfay.js";
|
|
72
72
|
import"./index-9e6fdz2h.js";
|
|
73
73
|
import"./index-4rhhvd1a.js";
|
|
74
74
|
import"./index-ae75rja9.js";
|
|
75
|
-
import"./index-
|
|
76
|
-
import"./index-
|
|
75
|
+
import"./index-85p1850w.js";
|
|
76
|
+
import"./index-ew6fykvv.js";
|
|
77
77
|
import"./index-bk5tah7q.js";
|
|
78
|
-
import"./index-
|
|
78
|
+
import"./index-6bqqzfbe.js";
|
|
79
79
|
import"./index-xagq35tf.js";
|
|
80
80
|
import"./index-ed5ykebp.js";
|
|
81
81
|
import"./index-h1g8w4v0.js";
|
package/dist/commands/close.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ import { runCuratorPostMortem } from '../hooks/curator-postmortem';
|
|
|
8
8
|
import { checkHivePromotions } from '../hooks/hive-promoter';
|
|
9
9
|
import { curateAndStoreSwarm } from '../hooks/knowledge-curator';
|
|
10
10
|
import { reconcilePhaseClose } from '../hooks/knowledge-receipt-ledger.js';
|
|
11
|
+
import { closeRepoMemory } from '../tools/repo-graph/indexed-storage';
|
|
11
12
|
/** Narrow seam for receipt/plan ordering tests. */
|
|
12
13
|
export declare const closeReceiptLifecycleInternals: {
|
|
13
14
|
recordPhaseCloseIntent: (directory: string, phase: string, sessionId?: string, taskId?: string) => Promise<import("../hooks/knowledge-receipt-ledger.js").ReceiptLedgerResult<{
|
|
@@ -274,6 +275,7 @@ declare function acquireFinalizeLock(directory: string): Promise<{
|
|
|
274
275
|
*/
|
|
275
276
|
declare function detectFullAuto(directory: string, sessionID: string): boolean;
|
|
276
277
|
export declare const _internals: {
|
|
278
|
+
closeRepoMemory: typeof closeRepoMemory;
|
|
277
279
|
ACTIVE_STATE_DIRS_TO_CLEAN: string[];
|
|
278
280
|
countSessionKnowledgeEntries: typeof countSessionKnowledgeEntries;
|
|
279
281
|
CLOSE_SKILL_REVIEW_TIMEOUT_MS: number;
|
package/dist/config/schema.d.ts
CHANGED
|
@@ -630,6 +630,10 @@ export declare const RepoGraphConfigSchema: z.ZodObject<{
|
|
|
630
630
|
walk_budget_ms: z.ZodDefault<z.ZodNumber>;
|
|
631
631
|
max_files: z.ZodDefault<z.ZodNumber>;
|
|
632
632
|
exclude_dirs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
633
|
+
storage: z.ZodDefault<z.ZodEnum<{
|
|
634
|
+
json: "json";
|
|
635
|
+
indexed: "indexed";
|
|
636
|
+
}>>;
|
|
633
637
|
}, z.core.$strip>;
|
|
634
638
|
export type RepoGraphConfig = z.infer<typeof RepoGraphConfigSchema>;
|
|
635
639
|
export declare const CheckpointConfigSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodObject<{
|
|
@@ -2089,6 +2093,10 @@ export declare const PluginConfigSchema: z.ZodObject<{
|
|
|
2089
2093
|
walk_budget_ms: z.ZodDefault<z.ZodNumber>;
|
|
2090
2094
|
max_files: z.ZodDefault<z.ZodNumber>;
|
|
2091
2095
|
exclude_dirs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2096
|
+
storage: z.ZodDefault<z.ZodEnum<{
|
|
2097
|
+
json: "json";
|
|
2098
|
+
indexed: "indexed";
|
|
2099
|
+
}>>;
|
|
2092
2100
|
}, z.core.$strip>>;
|
|
2093
2101
|
evidence: z.ZodOptional<z.ZodObject<{
|
|
2094
2102
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -16,25 +16,65 @@
|
|
|
16
16
|
* bounded workspace probe gates use of the graph. Uncertified graphs and
|
|
17
17
|
* complete drift above the configured refresh cap are suppressed;
|
|
18
18
|
* inconclusive probes remain usable as freshness-unknown, without mutation.
|
|
19
|
+
*
|
|
20
|
+
* Storage modes (issue #1534): when `options.storage === 'indexed'`, the two
|
|
21
|
+
* FILE-SCOPED block builders may, on a full-graph LRU miss, serve a bounded
|
|
22
|
+
* subgraph read from `.swarm/repo-memory.sqlite` instead of parsing the whole
|
|
23
|
+
* JSON document. The kill switch, the stat gate and the freshness probe all
|
|
24
|
+
* run first and are unchanged, and the LRU hit — the common case — never
|
|
25
|
+
* touches SQLite. Whole-graph consumers (`buildLaneOrientationBlock`,
|
|
26
|
+
* `semantic-diff-injection`) always get the full JSON graph.
|
|
19
27
|
*/
|
|
20
28
|
import { loadPluginConfigWithMetaAsync } from '../config/loader';
|
|
21
29
|
import { type FreshnessOptions, probeFreshness, type RepoGraph } from '../tools/repo-graph';
|
|
30
|
+
import { loadSubgraphForFiles } from '../tools/repo-graph/indexed-storage';
|
|
22
31
|
export interface RepoGraphInjectionOptions extends FreshnessOptions {
|
|
23
32
|
enabled?: boolean;
|
|
24
33
|
refreshCap?: number;
|
|
34
|
+
/**
|
|
35
|
+
* Resolved `repo_graph.storage` mode (issue #1534). Passed in by the caller
|
|
36
|
+
* — this module deliberately never reads config synchronously (see the
|
|
37
|
+
* `loadPluginConfigWithMetaAsync` note on `_internals`), so the mode rides
|
|
38
|
+
* in beside `enabled` / `refreshCap`. Anything other than `'indexed'`
|
|
39
|
+
* (including `undefined`) keeps every path on the JSON document.
|
|
40
|
+
*/
|
|
41
|
+
storage?: 'json' | 'indexed';
|
|
25
42
|
}
|
|
26
43
|
export declare const _internals: {
|
|
27
44
|
probeFreshness: typeof probeFreshness;
|
|
28
45
|
cacheSize: () => number;
|
|
46
|
+
subgraphCacheSize: () => number;
|
|
29
47
|
renderLaneOrientationBlock: typeof renderLaneOrientationBlock;
|
|
30
48
|
orientationFreshnessLine: typeof orientationFreshnessLine;
|
|
31
49
|
loadPluginConfigWithMetaAsync: typeof loadPluginConfigWithMetaAsync;
|
|
50
|
+
loadSubgraphForFiles: typeof loadSubgraphForFiles;
|
|
51
|
+
subgraphCacheKey: typeof subgraphCacheKey;
|
|
32
52
|
};
|
|
53
|
+
/**
|
|
54
|
+
* Cache key for a subgraph request. The graph artifact's `{mtimeMs, size, ino}`
|
|
55
|
+
* is part of the key, so a graph change invalidates every cached subgraph for
|
|
56
|
+
* that directory without an explicit sweep — the identical invalidation
|
|
57
|
+
* contract the full-graph LRU uses. Files are sorted because the closure is a
|
|
58
|
+
* set union and is order-independent; the caller's own array order (which does
|
|
59
|
+
* drive `BlastRadiusResult.target` and the rendered target list) is never read
|
|
60
|
+
* from this key. NUL is the separator because it is the one character that
|
|
61
|
+
* cannot appear in a path component, so no two distinct requests can collide
|
|
62
|
+
* by concatenation.
|
|
63
|
+
*/
|
|
64
|
+
declare function subgraphCacheKey(directoryKey: string, stat: {
|
|
65
|
+
mtimeMs: number;
|
|
66
|
+
size: number;
|
|
67
|
+
ino: number;
|
|
68
|
+
}, files: readonly string[], depth: number): string;
|
|
33
69
|
/**
|
|
34
70
|
* Load the repo graph for `directory`, using a bounded per-directory cache that
|
|
35
71
|
* invalidates on file mtime/size change and a shared content-freshness gate.
|
|
36
72
|
* Returns null if no graph exists or its workspace alignment is unsafe.
|
|
37
73
|
*
|
|
74
|
+
* Always returns the WHOLE graph — `semantic-diff-injection` and
|
|
75
|
+
* `buildLaneOrientationBlock` are whole-graph consumers and must never receive
|
|
76
|
+
* a bounded subgraph.
|
|
77
|
+
*
|
|
38
78
|
* Exported only for tests; production callers use the buildXxxBlock helpers below.
|
|
39
79
|
*/
|
|
40
80
|
export declare function getCachedGraph(directory: string, options?: RepoGraphInjectionOptions): Promise<RepoGraph | null>;
|