opencode-swarm 7.153.1 → 7.153.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/{config-doctor-ze21qs6b.js → config-doctor-tv0ar88m.js} +2 -2
- package/dist/cli/{core-qdmhh1kx.js → core-kmsm50zn.js} +1 -1
- package/dist/cli/{curator-llm-factory-s8atmc2n.js → curator-llm-factory-dxkhdhwg.js} +17 -17
- package/dist/cli/{curator-hxb3wsxr.js → curator-wxe863k9.js} +17 -17
- package/dist/cli/{evidence-summary-service-wzzym9r7.js → evidence-summary-service-9akrdg9t.js} +6 -6
- package/dist/cli/{gate-evidence-f71dn9vv.js → gate-evidence-bdzqbg2y.js} +2 -2
- package/dist/cli/{guardrail-explain-5kzeem4m.js → guardrail-explain-kx9rem51.js} +18 -18
- package/dist/cli/{guardrail-log-38jnajpa.js → guardrail-log-zxzyx1de.js} +3 -3
- package/dist/cli/{guardrail-reset-wzvtmpn2.js → guardrail-reset-1mc3st34.js} +17 -17
- package/dist/cli/{hive-promoter-55qcqgfx.js → hive-promoter-gncwtq0z.js} +17 -17
- package/dist/cli/{index-9v8d3c0k.js → index-02rbfrab.js} +1 -1
- package/dist/cli/{index-af0cqe6n.js → index-0azn976d.js} +3 -3
- package/dist/cli/{index-6vgb5fyb.js → index-21pt4jwf.js} +1 -1
- package/dist/cli/{index-tdzbm974.js → index-3bh4h6ve.js} +104 -4
- package/dist/cli/{index-ajkxx2k6.js → index-3fpqpyp6.js} +2 -2
- package/dist/cli/{index-v689bmr2.js → index-56ejcj07.js} +1 -1
- package/dist/cli/{index-8v9sj4aq.js → index-5ad8xcv3.js} +1 -1
- package/dist/cli/{index-1akn19mp.js → index-5zp4c36c.js} +1 -1
- package/dist/cli/{index-0tzv5zg2.js → index-84m4per1.js} +2 -2
- package/dist/cli/{index-n823qsae.js → index-a58nmnmz.js} +7 -1
- package/dist/cli/{index-k10qtq71.js → index-bw55r5bz.js} +4 -4
- package/dist/cli/{index-mb7b1gye.js → index-ebshrg4x.js} +1 -1
- package/dist/cli/{index-1dtshrzg.js → index-h06112sh.js} +2 -2
- package/dist/cli/{index-gn26q90p.js → index-h3zhb18p.js} +1 -1
- package/dist/cli/{index-0tyc8kdg.js → index-hhv2pvab.js} +1 -1
- package/dist/cli/{index-6ybjrqf7.js → index-j4f8sz67.js} +139 -52
- package/dist/cli/{index-23rneydq.js → index-kenz5bja.js} +19 -19
- package/dist/cli/{index-xkjrg9k4.js → index-kvk65qzz.js} +3 -3
- package/dist/cli/{index-4g0g3dqz.js → index-s6b8jgtn.js} +1 -1
- package/dist/cli/{index-n5pxkera.js → index-vhbds89e.js} +3 -3
- package/dist/cli/{index-smqsp8hs.js → index-yvepnbyd.js} +5 -5
- package/dist/cli/index.js +17 -17
- package/dist/cli/{knowledge-escalator-w05ztgvk.js → knowledge-escalator-gp3mpbqe.js} +6 -6
- package/dist/cli/{knowledge-events-pwm9jc0m.js → knowledge-events-nvkhtqvn.js} +4 -4
- package/dist/cli/{knowledge-store-4xv65tj2.js → knowledge-store-2ngh8xvv.js} +1 -1
- package/dist/cli/{knowledge-validator-0ttfsca7.js → knowledge-validator-4bphyrec.js} +2 -2
- package/dist/cli/{scan-cursor-b6n15w8d.js → scan-cursor-c16xtygz.js} +2 -2
- package/dist/cli/{schema-jkbfwqr2.js → schema-83tbte2g.js} +1 -1
- package/dist/cli/{scope-persistence-5xt2m5ep.js → scope-persistence-gdbw8xh8.js} +4 -4
- package/dist/cli/{skill-generator-3keadpf7.js → skill-generator-gr13xeha.js} +7 -7
- package/dist/cli/{worktree-isolation-1ymaxn4h.js → worktree-isolation-jjkfg2pg.js} +17 -17
- package/dist/commands/registry.d.ts +1 -1
- package/dist/commands/reset-session.d.ts +8 -2
- package/dist/hooks/knowledge-application-gate.d.ts +10 -1
- package/dist/hooks/knowledge-receipt-ledger.d.ts +1 -1
- package/dist/index.js +72 -72
- package/dist/state.d.ts +6 -4
- package/package.json +7 -1
|
@@ -12,9 +12,9 @@ import {
|
|
|
12
12
|
shouldRunOnStartup,
|
|
13
13
|
writeBackupArtifact,
|
|
14
14
|
writeDoctorArtifact
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-hhv2pvab.js";
|
|
16
16
|
import"./index-z6xqpmqg.js";
|
|
17
|
-
import"./index-
|
|
17
|
+
import"./index-a58nmnmz.js";
|
|
18
18
|
import"./index-myt57pht.js";
|
|
19
19
|
import"./index-zjygnfay.js";
|
|
20
20
|
import"./index-bk5tah7q.js";
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
createCuratorLLMDelegate
|
|
4
|
-
} from "./index-
|
|
5
|
-
import"./index-
|
|
6
|
-
import"./index-
|
|
7
|
-
import"./index-
|
|
4
|
+
} from "./index-j4f8sz67.js";
|
|
5
|
+
import"./index-h3zhb18p.js";
|
|
6
|
+
import"./index-hhv2pvab.js";
|
|
7
|
+
import"./index-0azn976d.js";
|
|
8
8
|
import"./index-134d35c1.js";
|
|
9
9
|
import"./index-nj6rmyeh.js";
|
|
10
10
|
import"./index-4pjkdcgc.js";
|
|
11
11
|
import"./index-1gzdnjg9.js";
|
|
12
12
|
import"./index-y8552snf.js";
|
|
13
|
-
import"./index-
|
|
13
|
+
import"./index-5ad8xcv3.js";
|
|
14
14
|
import"./index-70ha9e09.js";
|
|
15
15
|
import"./index-c8s9a3zh.js";
|
|
16
16
|
import"./index-9ss2m4rs.js";
|
|
17
17
|
import"./index-vnn7qq8c.js";
|
|
18
18
|
import"./index-meg33yyv.js";
|
|
19
|
-
import"./index-
|
|
20
|
-
import"./index-
|
|
21
|
-
import"./index-
|
|
19
|
+
import"./index-vhbds89e.js";
|
|
20
|
+
import"./index-yvepnbyd.js";
|
|
21
|
+
import"./index-56ejcj07.js";
|
|
22
22
|
import"./index-3ttktt56.js";
|
|
23
23
|
import"./index-rtry5xyf.js";
|
|
24
24
|
import"./index-3cegckkq.js";
|
|
25
25
|
import"./index-zsrtt42s.js";
|
|
26
|
-
import"./index-
|
|
27
|
-
import"./index-
|
|
26
|
+
import"./index-02rbfrab.js";
|
|
27
|
+
import"./index-s6b8jgtn.js";
|
|
28
28
|
import"./index-2mqmvxac.js";
|
|
29
|
-
import"./index-
|
|
30
|
-
import"./index-
|
|
29
|
+
import"./index-h06112sh.js";
|
|
30
|
+
import"./index-ebshrg4x.js";
|
|
31
31
|
import"./index-pk1gbqmq.js";
|
|
32
32
|
import"./index-556ja8an.js";
|
|
33
33
|
import"./index-b43rt5ph.js";
|
|
34
34
|
import"./index-q7sjgr1y.js";
|
|
35
35
|
import"./index-4fwbbad3.js";
|
|
36
|
-
import"./index-
|
|
37
|
-
import"./index-
|
|
38
|
-
import"./index-
|
|
36
|
+
import"./index-bw55r5bz.js";
|
|
37
|
+
import"./index-3bh4h6ve.js";
|
|
38
|
+
import"./index-3fpqpyp6.js";
|
|
39
39
|
import"./index-gprxjmm7.js";
|
|
40
40
|
import"./index-n832052r.js";
|
|
41
41
|
import"./index-4cgee5vh.js";
|
|
42
42
|
import"./index-z6xqpmqg.js";
|
|
43
43
|
import"./index-r3mvsbtq.js";
|
|
44
|
-
import"./index-
|
|
45
|
-
import"./index-
|
|
44
|
+
import"./index-5zp4c36c.js";
|
|
45
|
+
import"./index-a58nmnmz.js";
|
|
46
46
|
import"./index-myt57pht.js";
|
|
47
47
|
import"./index-9e6fdz2h.js";
|
|
48
48
|
import"./index-4rhhvd1a.js";
|
|
@@ -14,48 +14,48 @@ import {
|
|
|
14
14
|
runCuratorInit,
|
|
15
15
|
runCuratorPhase,
|
|
16
16
|
writeCuratorSummary
|
|
17
|
-
} from "./index-
|
|
18
|
-
import"./index-
|
|
19
|
-
import"./index-
|
|
20
|
-
import"./index-
|
|
17
|
+
} from "./index-j4f8sz67.js";
|
|
18
|
+
import"./index-h3zhb18p.js";
|
|
19
|
+
import"./index-hhv2pvab.js";
|
|
20
|
+
import"./index-0azn976d.js";
|
|
21
21
|
import"./index-134d35c1.js";
|
|
22
22
|
import"./index-nj6rmyeh.js";
|
|
23
23
|
import"./index-4pjkdcgc.js";
|
|
24
24
|
import"./index-1gzdnjg9.js";
|
|
25
25
|
import"./index-y8552snf.js";
|
|
26
|
-
import"./index-
|
|
26
|
+
import"./index-5ad8xcv3.js";
|
|
27
27
|
import"./index-70ha9e09.js";
|
|
28
28
|
import"./index-c8s9a3zh.js";
|
|
29
29
|
import"./index-9ss2m4rs.js";
|
|
30
30
|
import"./index-vnn7qq8c.js";
|
|
31
31
|
import"./index-meg33yyv.js";
|
|
32
|
-
import"./index-
|
|
33
|
-
import"./index-
|
|
34
|
-
import"./index-
|
|
32
|
+
import"./index-vhbds89e.js";
|
|
33
|
+
import"./index-yvepnbyd.js";
|
|
34
|
+
import"./index-56ejcj07.js";
|
|
35
35
|
import"./index-3ttktt56.js";
|
|
36
36
|
import"./index-rtry5xyf.js";
|
|
37
37
|
import"./index-3cegckkq.js";
|
|
38
38
|
import"./index-zsrtt42s.js";
|
|
39
|
-
import"./index-
|
|
40
|
-
import"./index-
|
|
39
|
+
import"./index-02rbfrab.js";
|
|
40
|
+
import"./index-s6b8jgtn.js";
|
|
41
41
|
import"./index-2mqmvxac.js";
|
|
42
|
-
import"./index-
|
|
43
|
-
import"./index-
|
|
42
|
+
import"./index-h06112sh.js";
|
|
43
|
+
import"./index-ebshrg4x.js";
|
|
44
44
|
import"./index-pk1gbqmq.js";
|
|
45
45
|
import"./index-556ja8an.js";
|
|
46
46
|
import"./index-b43rt5ph.js";
|
|
47
47
|
import"./index-q7sjgr1y.js";
|
|
48
48
|
import"./index-4fwbbad3.js";
|
|
49
|
-
import"./index-
|
|
50
|
-
import"./index-
|
|
51
|
-
import"./index-
|
|
49
|
+
import"./index-bw55r5bz.js";
|
|
50
|
+
import"./index-3bh4h6ve.js";
|
|
51
|
+
import"./index-3fpqpyp6.js";
|
|
52
52
|
import"./index-gprxjmm7.js";
|
|
53
53
|
import"./index-n832052r.js";
|
|
54
54
|
import"./index-4cgee5vh.js";
|
|
55
55
|
import"./index-z6xqpmqg.js";
|
|
56
56
|
import"./index-r3mvsbtq.js";
|
|
57
|
-
import"./index-
|
|
58
|
-
import"./index-
|
|
57
|
+
import"./index-5zp4c36c.js";
|
|
58
|
+
import"./index-a58nmnmz.js";
|
|
59
59
|
import"./index-myt57pht.js";
|
|
60
60
|
import"./index-9e6fdz2h.js";
|
|
61
61
|
import"./index-4rhhvd1a.js";
|
package/dist/cli/{evidence-summary-service-wzzym9r7.js → evidence-summary-service-9akrdg9t.js}
RENAMED
|
@@ -6,15 +6,15 @@ import {
|
|
|
6
6
|
loadPlanJsonOnly,
|
|
7
7
|
mergeDurableGateEntriesFromEvidence,
|
|
8
8
|
readDurableGateEvidence
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-0azn976d.js";
|
|
10
10
|
import"./index-134d35c1.js";
|
|
11
11
|
import"./index-1gzdnjg9.js";
|
|
12
12
|
import"./index-y8552snf.js";
|
|
13
13
|
import"./index-9ss2m4rs.js";
|
|
14
14
|
import"./index-zsrtt42s.js";
|
|
15
|
-
import"./index-
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-
|
|
15
|
+
import"./index-02rbfrab.js";
|
|
16
|
+
import"./index-s6b8jgtn.js";
|
|
17
|
+
import"./index-ebshrg4x.js";
|
|
18
18
|
import"./index-pk1gbqmq.js";
|
|
19
19
|
import"./index-556ja8an.js";
|
|
20
20
|
import"./index-4fwbbad3.js";
|
|
@@ -23,8 +23,8 @@ import"./index-n832052r.js";
|
|
|
23
23
|
import"./index-4cgee5vh.js";
|
|
24
24
|
import"./index-z6xqpmqg.js";
|
|
25
25
|
import"./index-r3mvsbtq.js";
|
|
26
|
-
import"./index-
|
|
27
|
-
import"./index-
|
|
26
|
+
import"./index-5zp4c36c.js";
|
|
27
|
+
import"./index-a58nmnmz.js";
|
|
28
28
|
import"./index-myt57pht.js";
|
|
29
29
|
import"./index-9e6fdz2h.js";
|
|
30
30
|
import"./index-4rhhvd1a.js";
|
|
@@ -17,8 +17,8 @@ import {
|
|
|
17
17
|
reduceTaskWorkflowSnapshot,
|
|
18
18
|
transitionTaskWorkflowEvidence,
|
|
19
19
|
withTaskEvidenceTransaction
|
|
20
|
-
} from "./index-
|
|
21
|
-
import"./index-
|
|
20
|
+
} from "./index-02rbfrab.js";
|
|
21
|
+
import"./index-s6b8jgtn.js";
|
|
22
22
|
import"./index-556ja8an.js";
|
|
23
23
|
import"./index-4cgee5vh.js";
|
|
24
24
|
import"./index-z6xqpmqg.js";
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
handleGuardrailExplain
|
|
4
|
-
} from "./index-
|
|
5
|
-
import"./index-
|
|
6
|
-
import"./index-
|
|
7
|
-
import"./index-
|
|
8
|
-
import"./index-
|
|
4
|
+
} from "./index-84m4per1.js";
|
|
5
|
+
import"./index-j4f8sz67.js";
|
|
6
|
+
import"./index-h3zhb18p.js";
|
|
7
|
+
import"./index-hhv2pvab.js";
|
|
8
|
+
import"./index-0azn976d.js";
|
|
9
9
|
import"./index-134d35c1.js";
|
|
10
10
|
import"./index-nj6rmyeh.js";
|
|
11
11
|
import"./index-4pjkdcgc.js";
|
|
12
12
|
import"./index-1gzdnjg9.js";
|
|
13
13
|
import"./index-y8552snf.js";
|
|
14
|
-
import"./index-
|
|
14
|
+
import"./index-5ad8xcv3.js";
|
|
15
15
|
import"./index-70ha9e09.js";
|
|
16
16
|
import"./index-c8s9a3zh.js";
|
|
17
17
|
import"./index-9ss2m4rs.js";
|
|
18
18
|
import"./index-vnn7qq8c.js";
|
|
19
19
|
import"./index-meg33yyv.js";
|
|
20
|
-
import"./index-
|
|
21
|
-
import"./index-
|
|
22
|
-
import"./index-
|
|
20
|
+
import"./index-vhbds89e.js";
|
|
21
|
+
import"./index-yvepnbyd.js";
|
|
22
|
+
import"./index-56ejcj07.js";
|
|
23
23
|
import"./index-3ttktt56.js";
|
|
24
24
|
import"./index-rtry5xyf.js";
|
|
25
25
|
import"./index-3cegckkq.js";
|
|
26
26
|
import"./index-zsrtt42s.js";
|
|
27
|
-
import"./index-
|
|
28
|
-
import"./index-
|
|
27
|
+
import"./index-02rbfrab.js";
|
|
28
|
+
import"./index-s6b8jgtn.js";
|
|
29
29
|
import"./index-2mqmvxac.js";
|
|
30
|
-
import"./index-
|
|
31
|
-
import"./index-
|
|
30
|
+
import"./index-h06112sh.js";
|
|
31
|
+
import"./index-ebshrg4x.js";
|
|
32
32
|
import"./index-pk1gbqmq.js";
|
|
33
33
|
import"./index-556ja8an.js";
|
|
34
34
|
import"./index-b43rt5ph.js";
|
|
35
35
|
import"./index-q7sjgr1y.js";
|
|
36
36
|
import"./index-4fwbbad3.js";
|
|
37
|
-
import"./index-
|
|
38
|
-
import"./index-
|
|
39
|
-
import"./index-
|
|
37
|
+
import"./index-bw55r5bz.js";
|
|
38
|
+
import"./index-3bh4h6ve.js";
|
|
39
|
+
import"./index-3fpqpyp6.js";
|
|
40
40
|
import"./index-gprxjmm7.js";
|
|
41
41
|
import"./index-n832052r.js";
|
|
42
42
|
import"./index-4cgee5vh.js";
|
|
43
43
|
import"./index-z6xqpmqg.js";
|
|
44
44
|
import"./index-r3mvsbtq.js";
|
|
45
|
-
import"./index-
|
|
46
|
-
import"./index-
|
|
45
|
+
import"./index-5zp4c36c.js";
|
|
46
|
+
import"./index-a58nmnmz.js";
|
|
47
47
|
import"./index-myt57pht.js";
|
|
48
48
|
import"./index-9e6fdz2h.js";
|
|
49
49
|
import"./index-4rhhvd1a.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
handleGuardrailLog
|
|
4
|
-
} from "./index-
|
|
5
|
-
import"./index-
|
|
4
|
+
} from "./index-21pt4jwf.js";
|
|
5
|
+
import"./index-h3zhb18p.js";
|
|
6
6
|
import"./index-pk1gbqmq.js";
|
|
7
7
|
import"./index-556ja8an.js";
|
|
8
8
|
import"./index-z6xqpmqg.js";
|
|
9
9
|
import"./index-r3mvsbtq.js";
|
|
10
|
-
import"./index-
|
|
10
|
+
import"./index-a58nmnmz.js";
|
|
11
11
|
import"./index-myt57pht.js";
|
|
12
12
|
import"./index-zjygnfay.js";
|
|
13
13
|
import"./index-bk5tah7q.js";
|
|
@@ -3,48 +3,48 @@ import {
|
|
|
3
3
|
getAgentSession,
|
|
4
4
|
getBlockingActionCircuit,
|
|
5
5
|
resetActionCircuitExternally
|
|
6
|
-
} from "./index-
|
|
7
|
-
import"./index-
|
|
8
|
-
import"./index-
|
|
9
|
-
import"./index-
|
|
6
|
+
} from "./index-j4f8sz67.js";
|
|
7
|
+
import"./index-h3zhb18p.js";
|
|
8
|
+
import"./index-hhv2pvab.js";
|
|
9
|
+
import"./index-0azn976d.js";
|
|
10
10
|
import"./index-134d35c1.js";
|
|
11
11
|
import"./index-nj6rmyeh.js";
|
|
12
12
|
import"./index-4pjkdcgc.js";
|
|
13
13
|
import"./index-1gzdnjg9.js";
|
|
14
14
|
import"./index-y8552snf.js";
|
|
15
|
-
import"./index-
|
|
15
|
+
import"./index-5ad8xcv3.js";
|
|
16
16
|
import"./index-70ha9e09.js";
|
|
17
17
|
import"./index-c8s9a3zh.js";
|
|
18
18
|
import"./index-9ss2m4rs.js";
|
|
19
19
|
import"./index-vnn7qq8c.js";
|
|
20
20
|
import"./index-meg33yyv.js";
|
|
21
|
-
import"./index-
|
|
22
|
-
import"./index-
|
|
23
|
-
import"./index-
|
|
21
|
+
import"./index-vhbds89e.js";
|
|
22
|
+
import"./index-yvepnbyd.js";
|
|
23
|
+
import"./index-56ejcj07.js";
|
|
24
24
|
import"./index-3ttktt56.js";
|
|
25
25
|
import"./index-rtry5xyf.js";
|
|
26
26
|
import"./index-3cegckkq.js";
|
|
27
27
|
import"./index-zsrtt42s.js";
|
|
28
|
-
import"./index-
|
|
29
|
-
import"./index-
|
|
28
|
+
import"./index-02rbfrab.js";
|
|
29
|
+
import"./index-s6b8jgtn.js";
|
|
30
30
|
import"./index-2mqmvxac.js";
|
|
31
|
-
import"./index-
|
|
32
|
-
import"./index-
|
|
31
|
+
import"./index-h06112sh.js";
|
|
32
|
+
import"./index-ebshrg4x.js";
|
|
33
33
|
import"./index-pk1gbqmq.js";
|
|
34
34
|
import"./index-556ja8an.js";
|
|
35
35
|
import"./index-b43rt5ph.js";
|
|
36
36
|
import"./index-q7sjgr1y.js";
|
|
37
37
|
import"./index-4fwbbad3.js";
|
|
38
|
-
import"./index-
|
|
39
|
-
import"./index-
|
|
40
|
-
import"./index-
|
|
38
|
+
import"./index-bw55r5bz.js";
|
|
39
|
+
import"./index-3bh4h6ve.js";
|
|
40
|
+
import"./index-3fpqpyp6.js";
|
|
41
41
|
import"./index-gprxjmm7.js";
|
|
42
42
|
import"./index-n832052r.js";
|
|
43
43
|
import"./index-4cgee5vh.js";
|
|
44
44
|
import"./index-z6xqpmqg.js";
|
|
45
45
|
import"./index-r3mvsbtq.js";
|
|
46
|
-
import"./index-
|
|
47
|
-
import"./index-
|
|
46
|
+
import"./index-5zp4c36c.js";
|
|
47
|
+
import"./index-a58nmnmz.js";
|
|
48
48
|
import"./index-myt57pht.js";
|
|
49
49
|
import"./index-9e6fdz2h.js";
|
|
50
50
|
import"./index-4rhhvd1a.js";
|
|
@@ -7,33 +7,33 @@ import {
|
|
|
7
7
|
isHiveEligible,
|
|
8
8
|
promoteFromSwarm,
|
|
9
9
|
promoteToHive
|
|
10
|
-
} from "./index-
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
10
|
+
} from "./index-j4f8sz67.js";
|
|
11
|
+
import"./index-h3zhb18p.js";
|
|
12
|
+
import"./index-hhv2pvab.js";
|
|
13
|
+
import"./index-0azn976d.js";
|
|
14
14
|
import"./index-134d35c1.js";
|
|
15
15
|
import"./index-nj6rmyeh.js";
|
|
16
16
|
import"./index-4pjkdcgc.js";
|
|
17
17
|
import"./index-1gzdnjg9.js";
|
|
18
18
|
import"./index-y8552snf.js";
|
|
19
|
-
import"./index-
|
|
19
|
+
import"./index-5ad8xcv3.js";
|
|
20
20
|
import"./index-70ha9e09.js";
|
|
21
21
|
import"./index-c8s9a3zh.js";
|
|
22
22
|
import"./index-9ss2m4rs.js";
|
|
23
23
|
import"./index-vnn7qq8c.js";
|
|
24
24
|
import"./index-meg33yyv.js";
|
|
25
|
-
import"./index-
|
|
26
|
-
import"./index-
|
|
27
|
-
import"./index-
|
|
25
|
+
import"./index-vhbds89e.js";
|
|
26
|
+
import"./index-yvepnbyd.js";
|
|
27
|
+
import"./index-56ejcj07.js";
|
|
28
28
|
import"./index-3ttktt56.js";
|
|
29
29
|
import"./index-rtry5xyf.js";
|
|
30
30
|
import"./index-3cegckkq.js";
|
|
31
31
|
import"./index-zsrtt42s.js";
|
|
32
|
-
import"./index-
|
|
33
|
-
import"./index-
|
|
32
|
+
import"./index-02rbfrab.js";
|
|
33
|
+
import"./index-s6b8jgtn.js";
|
|
34
34
|
import"./index-2mqmvxac.js";
|
|
35
|
-
import"./index-
|
|
36
|
-
import"./index-
|
|
35
|
+
import"./index-h06112sh.js";
|
|
36
|
+
import"./index-ebshrg4x.js";
|
|
37
37
|
import"./index-pk1gbqmq.js";
|
|
38
38
|
import"./index-556ja8an.js";
|
|
39
39
|
import"./index-b43rt5ph.js";
|
|
@@ -41,16 +41,16 @@ import"./index-q7sjgr1y.js";
|
|
|
41
41
|
import"./index-4fwbbad3.js";
|
|
42
42
|
import {
|
|
43
43
|
resolveHiveKnowledgePath
|
|
44
|
-
} from "./index-
|
|
45
|
-
import"./index-
|
|
46
|
-
import"./index-
|
|
44
|
+
} from "./index-bw55r5bz.js";
|
|
45
|
+
import"./index-3bh4h6ve.js";
|
|
46
|
+
import"./index-3fpqpyp6.js";
|
|
47
47
|
import"./index-gprxjmm7.js";
|
|
48
48
|
import"./index-n832052r.js";
|
|
49
49
|
import"./index-4cgee5vh.js";
|
|
50
50
|
import"./index-z6xqpmqg.js";
|
|
51
51
|
import"./index-r3mvsbtq.js";
|
|
52
|
-
import"./index-
|
|
53
|
-
import"./index-
|
|
52
|
+
import"./index-5zp4c36c.js";
|
|
53
|
+
import"./index-a58nmnmz.js";
|
|
54
54
|
import"./index-myt57pht.js";
|
|
55
55
|
import"./index-9e6fdz2h.js";
|
|
56
56
|
import"./index-4rhhvd1a.js";
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
readTaskEvidence,
|
|
24
24
|
readTaskEvidenceRaw,
|
|
25
25
|
sanitizeTaskId
|
|
26
|
-
} from "./index-
|
|
26
|
+
} from "./index-02rbfrab.js";
|
|
27
27
|
import {
|
|
28
28
|
LedgerStaleWriterError,
|
|
29
29
|
appendLedgerEvent,
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
replayFromLedgerWithStatus,
|
|
44
44
|
takeSnapshotEvent,
|
|
45
45
|
takeSnapshotWithRetry
|
|
46
|
-
} from "./index-
|
|
46
|
+
} from "./index-ebshrg4x.js";
|
|
47
47
|
import {
|
|
48
48
|
appendCoreEventSync
|
|
49
49
|
} from "./index-pk1gbqmq.js";
|
|
@@ -68,7 +68,7 @@ import {
|
|
|
68
68
|
} from "./index-r3mvsbtq.js";
|
|
69
69
|
import {
|
|
70
70
|
PlanSchema
|
|
71
|
-
} from "./index-
|
|
71
|
+
} from "./index-5zp4c36c.js";
|
|
72
72
|
import {
|
|
73
73
|
GIT_BINARY_ENV_VAR,
|
|
74
74
|
describeGitResolution,
|
|
@@ -4,11 +4,11 @@ import {
|
|
|
4
4
|
} from "./index-4cgee5vh.js";
|
|
5
5
|
import {
|
|
6
6
|
loadPluginConfigWithMeta
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-5zp4c36c.js";
|
|
8
8
|
import {
|
|
9
9
|
KnowledgeConfigSchema,
|
|
10
10
|
init_schema
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-a58nmnmz.js";
|
|
12
12
|
import {
|
|
13
13
|
resolveHiveEventsPath
|
|
14
14
|
} from "./index-ae75rja9.js";
|
|
@@ -590,6 +590,7 @@ var CANONICAL_RECEIPT_SOURCES = new Set([
|
|
|
590
590
|
"phase_override",
|
|
591
591
|
"application_gate_staleness_release",
|
|
592
592
|
"application_gate_denial_limit_release",
|
|
593
|
+
"application_gate_session_reset_release",
|
|
593
594
|
"manual",
|
|
594
595
|
"migration",
|
|
595
596
|
"unknown"
|
|
@@ -1715,6 +1716,26 @@ function isLegacyUnverifiableTrace(state, traceId) {
|
|
|
1715
1716
|
return false;
|
|
1716
1717
|
return ![...state.memberships.values()].some((membership) => membership.origin === "v2");
|
|
1717
1718
|
}
|
|
1719
|
+
function overlappingRepairUncertainties(state, filters) {
|
|
1720
|
+
return [...state.repairUncertainties.values()].filter((uncertainty) => {
|
|
1721
|
+
if (filters.phase && filters.phase !== uncertainty.phase)
|
|
1722
|
+
return false;
|
|
1723
|
+
if (filters.session_id && filters.session_id !== uncertainty.session_id) {
|
|
1724
|
+
return false;
|
|
1725
|
+
}
|
|
1726
|
+
return true;
|
|
1727
|
+
});
|
|
1728
|
+
}
|
|
1729
|
+
function repairUncertaintyUnavailable(uncertainties) {
|
|
1730
|
+
const scoped = uncertainties.map((uncertainty) => `${uncertainty.session_id}/${uncertainty.phase}`).join(", ");
|
|
1731
|
+
const detail = `receipt authority pending re-evaluation for repaired phase/session scope: ${scoped}`;
|
|
1732
|
+
return {
|
|
1733
|
+
ok: false,
|
|
1734
|
+
code: "store_unavailable",
|
|
1735
|
+
detail,
|
|
1736
|
+
uncertainty: detail
|
|
1737
|
+
};
|
|
1738
|
+
}
|
|
1718
1739
|
async function runLocked(directory, graceDays, action, options = {}) {
|
|
1719
1740
|
const observations = [];
|
|
1720
1741
|
try {
|
|
@@ -1816,6 +1837,85 @@ async function commitApplicationMarkerBatch(directory, input) {
|
|
|
1816
1837
|
return { committed, idempotent, rejected };
|
|
1817
1838
|
});
|
|
1818
1839
|
}
|
|
1840
|
+
async function commitGateReleaseBatch(directory, input) {
|
|
1841
|
+
return runLocked(directory, input.grace_days, async (paths, state) => {
|
|
1842
|
+
const committed = [];
|
|
1843
|
+
const idempotent = [];
|
|
1844
|
+
const rejected = [];
|
|
1845
|
+
const releases = [];
|
|
1846
|
+
const traceExists = state.traceIds.has(input.trace_id);
|
|
1847
|
+
const staged = new Set;
|
|
1848
|
+
for (const item of input.items) {
|
|
1849
|
+
const membership = state.memberships.get(keyOf(input.trace_id, item.entry_id));
|
|
1850
|
+
if (!membership) {
|
|
1851
|
+
rejected.push({
|
|
1852
|
+
entry_id: item.entry_id,
|
|
1853
|
+
reason: traceExists ? "id_not_in_trace" : isLegacyUnverifiableTrace(state, input.trace_id) ? "legacy_unverifiable" : "trace_not_found"
|
|
1854
|
+
});
|
|
1855
|
+
continue;
|
|
1856
|
+
}
|
|
1857
|
+
if (membership.session_id !== input.session_id) {
|
|
1858
|
+
rejected.push({ entry_id: item.entry_id, reason: "wrong_session" });
|
|
1859
|
+
continue;
|
|
1860
|
+
}
|
|
1861
|
+
if (staged.has(item.entry_id)) {
|
|
1862
|
+
idempotent.push({
|
|
1863
|
+
entry_id: item.entry_id,
|
|
1864
|
+
event_id: membership.gate_release?.event_id ?? releases.at(-1)?.release.event_id ?? ""
|
|
1865
|
+
});
|
|
1866
|
+
continue;
|
|
1867
|
+
}
|
|
1868
|
+
staged.add(item.entry_id);
|
|
1869
|
+
if (membership.gate_release?.membership_event_id === membership.membership_event_id) {
|
|
1870
|
+
idempotent.push({
|
|
1871
|
+
entry_id: item.entry_id,
|
|
1872
|
+
event_id: membership.gate_release.event_id
|
|
1873
|
+
});
|
|
1874
|
+
continue;
|
|
1875
|
+
}
|
|
1876
|
+
const release = {
|
|
1877
|
+
source: normalizeReceiptSource(item.source),
|
|
1878
|
+
reason: item.reason,
|
|
1879
|
+
event_id: randomUUID2(),
|
|
1880
|
+
committed_at: nowIso(),
|
|
1881
|
+
membership_event_id: membership.membership_event_id
|
|
1882
|
+
};
|
|
1883
|
+
releases.push({
|
|
1884
|
+
trace_id: input.trace_id,
|
|
1885
|
+
entry_id: item.entry_id,
|
|
1886
|
+
release
|
|
1887
|
+
});
|
|
1888
|
+
committed.push({
|
|
1889
|
+
entry_id: item.entry_id,
|
|
1890
|
+
event_id: release.event_id,
|
|
1891
|
+
membership_event_id: release.membership_event_id
|
|
1892
|
+
});
|
|
1893
|
+
}
|
|
1894
|
+
if (releases.length) {
|
|
1895
|
+
await appendRecord(paths, state, makeRecord(state, "gate_release_committed", {
|
|
1896
|
+
releases
|
|
1897
|
+
}));
|
|
1898
|
+
}
|
|
1899
|
+
return { committed, idempotent, rejected };
|
|
1900
|
+
});
|
|
1901
|
+
}
|
|
1902
|
+
async function queryLiveMemberships(directory, filters = {}) {
|
|
1903
|
+
return runLocked(directory, filters.grace_days, async (_paths, state) => {
|
|
1904
|
+
const overlaps = overlappingRepairUncertainties(state, {
|
|
1905
|
+
phase: filters.phase,
|
|
1906
|
+
session_id: filters.session_id
|
|
1907
|
+
});
|
|
1908
|
+
if (overlaps.length > 0) {
|
|
1909
|
+
throw new ReceiptStoreError("store_unavailable", repairUncertaintyUnavailable(overlaps).detail);
|
|
1910
|
+
}
|
|
1911
|
+
return {
|
|
1912
|
+
memberships: [...state.memberships.values()].filter((m) => (!filters.phase || m.phase === filters.phase) && (!filters.task_id || m.task_id === filters.task_id) && (!filters.session_id || m.session_id === filters.session_id) && (filters.include_terminal !== false || !m.terminal) && (filters.include_phase_closed !== false || !m.phase_closed_at) && (!filters.exposure_kind || m.exposure_kind === filters.exposure_kind)).map((m) => ({
|
|
1913
|
+
...m,
|
|
1914
|
+
terminal: m.terminal ? { ...m.terminal } : undefined
|
|
1915
|
+
}))
|
|
1916
|
+
};
|
|
1917
|
+
}, { compact: false, writeSnapshot: false });
|
|
1918
|
+
}
|
|
1819
1919
|
async function queryHistoricalOutcomes(directory, entryIds, graceDays) {
|
|
1820
1920
|
return runLocked(directory, graceDays, async (paths, state) => {
|
|
1821
1921
|
const wanted = entryIds ? new Set(entryIds) : null;
|
|
@@ -2693,7 +2793,7 @@ async function applyKnowledgeVerdictFeedback(directory, options) {
|
|
|
2693
2793
|
}
|
|
2694
2794
|
let bumps = 0;
|
|
2695
2795
|
if (deltas.length > 0) {
|
|
2696
|
-
const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-
|
|
2796
|
+
const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-2ngh8xvv.js");
|
|
2697
2797
|
bumps = await bumpKnowledgeConfidenceBatch(directory, deltas, options?.floorOptions);
|
|
2698
2798
|
}
|
|
2699
2799
|
return {
|
|
@@ -2730,4 +2830,4 @@ var _internals4 = {
|
|
|
2730
2830
|
mergeRollupInto
|
|
2731
2831
|
};
|
|
2732
2832
|
|
|
2733
|
-
export { queryHistoricalOutcomes, recordPhaseCloseIntent, reconcilePhaseClose, KNOWLEDGE_EVENT_SCHEMA_VERSION, MAX_EVENT_LOG_ENTRIES, RECEIPT_EVENT_TYPES, resolveKnowledgeEventsPath, resolveKnowledgeCounterBaselinePath, resolveHiveEventsPath2 as resolveHiveEventsPath, resolveLegacyApplicationLogPath, newTraceId, newEventId, appendKnowledgeEvent, appendKnowledgeEventsBatch, recordKnowledgeEvent, recordKnowledgeEventsBatch, appendHiveKnowledgeEvent, recordHiveKnowledgeEvent, readKnowledgeEvents, readHiveKnowledgeEvents, readLegacyApplicationRecords, MAX_VIOLATION_TIMESTAMPS, recomputeCounters, countViolationsInWindow, countEmptyTraceTerminals, countEntryViolationsInWindow, countEntryContradictionsInWindow, readKnowledgeCounterRollups, readAuthoritativeKnowledgeCounterRollups, effectiveRetrievalOutcomes, applyKnowledgeVerdictFeedback, _internals4 as _internals };
|
|
2833
|
+
export { commitGateReleaseBatch, queryLiveMemberships, queryHistoricalOutcomes, recordPhaseCloseIntent, reconcilePhaseClose, KNOWLEDGE_EVENT_SCHEMA_VERSION, MAX_EVENT_LOG_ENTRIES, RECEIPT_EVENT_TYPES, resolveKnowledgeEventsPath, resolveKnowledgeCounterBaselinePath, resolveHiveEventsPath2 as resolveHiveEventsPath, resolveLegacyApplicationLogPath, newTraceId, newEventId, appendKnowledgeEvent, appendKnowledgeEventsBatch, recordKnowledgeEvent, recordKnowledgeEventsBatch, appendHiveKnowledgeEvent, recordHiveKnowledgeEvent, readKnowledgeEvents, readHiveKnowledgeEvents, readLegacyApplicationRecords, MAX_VIOLATION_TIMESTAMPS, recomputeCounters, countViolationsInWindow, countEmptyTraceTerminals, countEntryViolationsInWindow, countEntryContradictionsInWindow, readKnowledgeCounterRollups, readAuthoritativeKnowledgeCounterRollups, effectiveRetrievalOutcomes, applyKnowledgeVerdictFeedback, _internals4 as _internals };
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
init_loader,
|
|
4
4
|
loadPluginConfigWithMeta
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-5zp4c36c.js";
|
|
6
6
|
import {
|
|
7
7
|
init_schema
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-a58nmnmz.js";
|
|
9
9
|
import {
|
|
10
10
|
DEFAULT_WORKTREE_ISOLATION_CONFIG,
|
|
11
11
|
init_constants
|