opencode-swarm 7.170.2 → 7.171.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 +5 -0
- package/dist/cli/{coder-settlement-rrm3ngsa.js → coder-settlement-vxpmxk46.js} +7 -7
- package/dist/cli/{config-doctor-rnfyv55m.js → config-doctor-vwy3c9g9.js} +2 -2
- package/dist/cli/{core-b161yfjy.js → core-2znms60v.js} +1 -1
- package/dist/cli/{curation-policy-tg84dnnd.js → curation-policy-fakrpw5t.js} +4 -4
- package/dist/cli/{curator-drift-3ssjr0nx.js → curator-drift-r9r8gepb.js} +2 -2
- package/dist/cli/{curator-dfcpzqwr.js → curator-kc80aj6d.js} +32 -32
- package/dist/cli/{curator-llm-factory-cjrh0sa3.js → curator-llm-factory-exke3rag.js} +32 -32
- package/dist/cli/{evidence-summary-service-7jfq6dax.js → evidence-summary-service-g3gr1pfs.js} +13 -13
- package/dist/cli/{gate-evidence-0e70dqjg.js → gate-evidence-8mwsj2b7.js} +4 -4
- package/dist/cli/{guardrail-explain-a40pmzzc.js → guardrail-explain-pkbjswtd.js} +33 -33
- package/dist/cli/{guardrail-log-71wvwyd0.js → guardrail-log-qx1tpeda.js} +6 -6
- package/dist/cli/{guardrail-reset-znw5636e.js → guardrail-reset-v91p8ca6.js} +32 -32
- package/dist/cli/{hive-promoter-pznn5yfn.js → hive-promoter-02vxb018.js} +32 -32
- package/dist/cli/{index-zr6ev5kt.js → index-0caqxnby.js} +1 -1
- package/dist/cli/{index-7pgzjj3z.js → index-2j0pd6sj.js} +32 -32
- package/dist/cli/{index-4say55ww.js → index-3jcp3zb6.js} +1 -1
- package/dist/cli/{index-2q6qj0vw.js → index-3jwamrzw.js} +3 -3
- package/dist/cli/{index-j1tjd6aq.js → index-3zzyxs7q.js} +5 -5
- package/dist/cli/{index-9g3c0w22.js → index-4rq1d5k5.js} +2 -1
- package/dist/cli/{index-g2sc35qk.js → index-4sf357vj.js} +3 -3
- package/dist/cli/{index-x067zyvp.js → index-5134766r.js} +6 -6
- package/dist/cli/{index-we9jztxd.js → index-5vgd9st3.js} +6 -6
- package/dist/cli/{index-p6zt0qm1.js → index-6k5aq7b9.js} +2 -2
- package/dist/cli/{index-z4ewmn1h.js → index-6mjtptnb.js} +1 -1
- package/dist/cli/{index-dbg2g834.js → index-7pae558g.js} +6 -6
- package/dist/cli/{index-70avfxnw.js → index-7qqwx64h.js} +5 -5
- package/dist/cli/{index-45x6meqp.js → index-8nbzfbjg.js} +5 -5
- package/dist/cli/{index-g0q47r3r.js → index-95e3a9en.js} +1 -1
- package/dist/cli/{index-4m9hfbhe.js → index-9cp6bhx9.js} +3 -3
- package/dist/cli/{index-7sz2rkx3.js → index-9dz2ee2g.js} +74 -52
- package/dist/cli/{index-br3mvbsa.js → index-aa2eyfvr.js} +2 -2
- package/dist/cli/{index-1kt9xbrt.js → index-cdee25pp.js} +2 -2
- package/dist/cli/{index-efkxjmdb.js → index-d5pk5b95.js} +2 -2
- package/dist/cli/{index-d1sdve0x.js → index-d6bs0p6d.js} +7 -7
- package/dist/cli/{index-3q7bb7qz.js → index-dr1ym009.js} +9 -9
- package/dist/cli/{index-a0vggadp.js → index-er6sk4e6.js} +1 -1
- package/dist/cli/{index-sf32ny5w.js → index-evxd1art.js} +1 -1
- package/dist/cli/{index-bernkwgf.js → index-g6nen3gt.js} +1 -1
- package/dist/cli/{index-cgpwjctj.js → index-kb66he4e.js} +1 -1
- package/dist/cli/{index-29gnavqx.js → index-m1j1rth6.js} +1 -1
- package/dist/cli/{index-5y7kqjyt.js → index-nfs78aqj.js} +1 -1
- package/dist/cli/{index-9vxaf499.js → index-rdjmbeex.js} +1 -1
- package/dist/cli/{index-gs4m1dxw.js → index-rkj71ej6.js} +3 -3
- package/dist/cli/{index-24pamt0h.js → index-s7h6txsk.js} +2 -2
- package/dist/cli/{index-8v2k9xqv.js → index-vs7b2pqm.js} +4 -4
- package/dist/cli/{index-19xctk9g.js → index-wn9gf91x.js} +1 -1
- package/dist/cli/{index-7htmxmjp.js → index-xefajbqv.js} +2734 -1698
- package/dist/cli/{index-w79t20a6.js → index-xm0131fx.js} +5 -5
- package/dist/cli/{index-dvbf6fpn.js → index-yqbnsmmv.js} +39 -0
- package/dist/cli/{index-7a180w76.js → index-ztxh3nmf.js} +34 -34
- package/dist/cli/index.js +32 -32
- package/dist/cli/{knowledge-escalator-95gqgg8e.js → knowledge-escalator-4j6xgcvj.js} +10 -10
- package/dist/cli/{knowledge-events-hcx770h3.js → knowledge-events-5ax1g356.js} +8 -8
- package/dist/cli/{knowledge-link-twmzh8cf.js → knowledge-link-vh9pfnb9.js} +3 -3
- package/dist/cli/{knowledge-store-ppmrqs41.js → knowledge-store-2nrtfb5x.js} +4 -4
- package/dist/cli/{knowledge-validator-63rfvqmw.js → knowledge-validator-efcax8g9.js} +6 -6
- package/dist/cli/{pending-delegations-dqdetx92.js → pending-delegations-29qj2kya.js} +9 -9
- package/dist/cli/{pr-subscriptions-z9t7f7m0.js → pr-subscriptions-t51vcrvd.js} +9 -9
- package/dist/cli/{pr-workflow-gate-wqrcb5m8.js → pr-workflow-gate-03367gvd.js} +32 -32
- package/dist/cli/{runner-2r5j33tm.js → runner-8m8qhngm.js} +4 -4
- package/dist/cli/{scan-cursor-xzmmf7r4.js → scan-cursor-nhxpv6tj.js} +5 -5
- package/dist/cli/{schema-6bn7mj29.js → schema-ht5hmsce.js} +1 -1
- package/dist/cli/{scope-persistence-wyg0rb07.js → scope-persistence-6qebaksv.js} +13 -13
- package/dist/cli/{skill-generator-kwnwapfn.js → skill-generator-tfm4kawf.js} +12 -12
- package/dist/cli/{snapshot-coordination-init-ajvmd1z6.js → snapshot-coordination-init-zgfjjv9p.js} +32 -32
- package/dist/cli/{telemetry-yst95z2f.js → telemetry-0mz37v3h.js} +1 -1
- package/dist/cli/{worktree-collision-ownership-dm6nq9yw.js → worktree-collision-ownership-6mgm8p9g.js} +9 -9
- package/dist/cli/{worktree-isolation-b10h20sv.js → worktree-isolation-02rr7t21.js} +32 -32
- package/dist/commands/dataset.d.ts +20 -0
- package/dist/commands/registry.d.ts +39 -0
- package/dist/db/observability-event-store.d.ts +17 -1
- package/dist/index.js +356 -338
- package/dist/observability/catalog.d.ts +3 -3
- package/dist/observability/index.d.ts +1 -1
- package/dist/observability/observe.d.ts +6 -0
- package/dist/pr-review/reducer.d.ts +18 -10
- package/dist/pr-review/types.d.ts +43 -47
- package/dist/telemetry.d.ts +23 -3
- package/dist/tools/repo-map.d.ts +5 -0
- package/dist/training/capture.d.ts +37 -0
- package/dist/training/consent.d.ts +96 -0
- package/dist/training/disk.d.ts +16 -0
- package/dist/training/exporter.d.ts +88 -0
- package/dist/training/paths.d.ts +20 -0
- package/dist/training/redact.d.ts +29 -0
- package/dist/training/vault.d.ts +177 -0
- package/package.json +2 -1
|
@@ -23,29 +23,29 @@ import {
|
|
|
23
23
|
tombstoneScopeBinding,
|
|
24
24
|
writeScopeBindingToDisk,
|
|
25
25
|
writeScopeToDisk
|
|
26
|
-
} from "./index-
|
|
27
|
-
import"./index-
|
|
28
|
-
import"./index-
|
|
29
|
-
import"./index-
|
|
30
|
-
import"./index-
|
|
31
|
-
import"./index-
|
|
26
|
+
} from "./index-5vgd9st3.js";
|
|
27
|
+
import"./index-7pae558g.js";
|
|
28
|
+
import"./index-6k5aq7b9.js";
|
|
29
|
+
import"./index-aa2eyfvr.js";
|
|
30
|
+
import"./index-g6nen3gt.js";
|
|
31
|
+
import"./index-yqbnsmmv.js";
|
|
32
32
|
import"./index-rdm3px0g.js";
|
|
33
33
|
import"./index-ry16d01s.js";
|
|
34
|
-
import"./index-
|
|
35
|
-
import"./index-
|
|
34
|
+
import"./index-nfs78aqj.js";
|
|
35
|
+
import"./index-5134766r.js";
|
|
36
36
|
import"./index-vzm6zre7.js";
|
|
37
37
|
import"./index-ae75rja9.js";
|
|
38
|
-
import"./index-
|
|
39
|
-
import"./index-
|
|
38
|
+
import"./index-95e3a9en.js";
|
|
39
|
+
import"./index-evxd1art.js";
|
|
40
40
|
import"./index-7g4c7s5r.js";
|
|
41
|
-
import"./index-
|
|
41
|
+
import"./index-9dz2ee2g.js";
|
|
42
42
|
import"./index-nbdmdyke.js";
|
|
43
43
|
import"./index-1xnse449.js";
|
|
44
44
|
import"./index-ee6ydtfe.js";
|
|
45
|
-
import"./index-
|
|
45
|
+
import"./index-m1j1rth6.js";
|
|
46
46
|
import"./index-0mhftbpp.js";
|
|
47
47
|
import"./index-a1w58b47.js";
|
|
48
|
-
import"./index-
|
|
48
|
+
import"./index-4rq1d5k5.js";
|
|
49
49
|
import"./index-sxt7fgcw.js";
|
|
50
50
|
import"./index-bk5tah7q.js";
|
|
51
51
|
import"./index-bpmtbmy9.js";
|
|
@@ -33,32 +33,32 @@ import {
|
|
|
33
33
|
sanitizeSlug,
|
|
34
34
|
selectCandidateEntries,
|
|
35
35
|
writeEvalStub
|
|
36
|
-
} from "./index-
|
|
36
|
+
} from "./index-9cp6bhx9.js";
|
|
37
37
|
import"./index-q7sjgr1y.js";
|
|
38
|
-
import"./index-
|
|
38
|
+
import"./index-d6bs0p6d.js";
|
|
39
39
|
import"./index-b3pmzbh1.js";
|
|
40
40
|
import"./index-2s7dvzff.js";
|
|
41
|
-
import"./index-
|
|
42
|
-
import"./index-
|
|
41
|
+
import"./index-vs7b2pqm.js";
|
|
42
|
+
import"./index-0caqxnby.js";
|
|
43
43
|
import"./index-rtry5xyf.js";
|
|
44
|
-
import"./index-
|
|
44
|
+
import"./index-s7h6txsk.js";
|
|
45
45
|
import"./index-3qf1vxtb.js";
|
|
46
46
|
import"./index-n832052r.js";
|
|
47
|
-
import"./index-
|
|
48
|
-
import"./index-
|
|
47
|
+
import"./index-nfs78aqj.js";
|
|
48
|
+
import"./index-5134766r.js";
|
|
49
49
|
import"./index-vzm6zre7.js";
|
|
50
50
|
import"./index-ae75rja9.js";
|
|
51
|
-
import"./index-
|
|
52
|
-
import"./index-
|
|
51
|
+
import"./index-95e3a9en.js";
|
|
52
|
+
import"./index-evxd1art.js";
|
|
53
53
|
import"./index-7g4c7s5r.js";
|
|
54
|
-
import"./index-
|
|
54
|
+
import"./index-9dz2ee2g.js";
|
|
55
55
|
import"./index-nbdmdyke.js";
|
|
56
56
|
import"./index-1xnse449.js";
|
|
57
57
|
import"./index-ee6ydtfe.js";
|
|
58
|
-
import"./index-
|
|
58
|
+
import"./index-m1j1rth6.js";
|
|
59
59
|
import"./index-0mhftbpp.js";
|
|
60
60
|
import"./index-a1w58b47.js";
|
|
61
|
-
import"./index-
|
|
61
|
+
import"./index-4rq1d5k5.js";
|
|
62
62
|
import"./index-sxt7fgcw.js";
|
|
63
63
|
import"./index-bk5tah7q.js";
|
|
64
64
|
import"./index-bpmtbmy9.js";
|
package/dist/cli/{snapshot-coordination-init-ajvmd1z6.js → snapshot-coordination-init-zgfjjv9p.js}
RENAMED
|
@@ -8,64 +8,64 @@ import {
|
|
|
8
8
|
markSnapshotCoordinationClosing,
|
|
9
9
|
retrySnapshotCoordinationInitialization,
|
|
10
10
|
startSnapshotCoordinationInitialization
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-xefajbqv.js";
|
|
12
12
|
import"./index-5400m33a.js";
|
|
13
|
-
import"./index-
|
|
14
|
-
import"./index-
|
|
15
|
-
import"./index-
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-
|
|
18
|
-
import"./index-
|
|
13
|
+
import"./index-er6sk4e6.js";
|
|
14
|
+
import"./index-4sf357vj.js";
|
|
15
|
+
import"./index-kb66he4e.js";
|
|
16
|
+
import"./index-wn9gf91x.js";
|
|
17
|
+
import"./index-dr1ym009.js";
|
|
18
|
+
import"./index-3jcp3zb6.js";
|
|
19
19
|
import"./index-txdagbh7.js";
|
|
20
20
|
import"./index-9br68j86.js";
|
|
21
21
|
import"./index-cw912re7.js";
|
|
22
|
-
import"./index-
|
|
23
|
-
import"./index-
|
|
24
|
-
import"./index-
|
|
22
|
+
import"./index-9cp6bhx9.js";
|
|
23
|
+
import"./index-8nbzfbjg.js";
|
|
24
|
+
import"./index-cdee25pp.js";
|
|
25
25
|
import"./index-fyfbpz4f.js";
|
|
26
|
-
import"./index-
|
|
26
|
+
import"./index-7qqwx64h.js";
|
|
27
27
|
import"./index-0hgmsyfp.js";
|
|
28
28
|
import"./index-zsrtt42s.js";
|
|
29
|
-
import"./index-
|
|
29
|
+
import"./index-3zzyxs7q.js";
|
|
30
30
|
import"./index-fhh02gwx.js";
|
|
31
31
|
import"./index-nyn01yrz.js";
|
|
32
32
|
import"./index-b43rt5ph.js";
|
|
33
33
|
import"./index-q7sjgr1y.js";
|
|
34
|
-
import"./index-
|
|
35
|
-
import"./index-
|
|
36
|
-
import"./index-
|
|
37
|
-
import"./index-
|
|
34
|
+
import"./index-3jwamrzw.js";
|
|
35
|
+
import"./index-rdjmbeex.js";
|
|
36
|
+
import"./index-xm0131fx.js";
|
|
37
|
+
import"./index-d6bs0p6d.js";
|
|
38
38
|
import"./index-b3pmzbh1.js";
|
|
39
39
|
import"./index-2s7dvzff.js";
|
|
40
|
-
import"./index-
|
|
41
|
-
import"./index-
|
|
40
|
+
import"./index-vs7b2pqm.js";
|
|
41
|
+
import"./index-0caqxnby.js";
|
|
42
42
|
import"./index-rtry5xyf.js";
|
|
43
|
-
import"./index-
|
|
43
|
+
import"./index-s7h6txsk.js";
|
|
44
44
|
import"./index-3qf1vxtb.js";
|
|
45
45
|
import"./index-n832052r.js";
|
|
46
|
-
import"./index-
|
|
47
|
-
import"./index-
|
|
48
|
-
import"./index-
|
|
49
|
-
import"./index-
|
|
50
|
-
import"./index-
|
|
51
|
-
import"./index-
|
|
46
|
+
import"./index-5vgd9st3.js";
|
|
47
|
+
import"./index-7pae558g.js";
|
|
48
|
+
import"./index-6k5aq7b9.js";
|
|
49
|
+
import"./index-aa2eyfvr.js";
|
|
50
|
+
import"./index-g6nen3gt.js";
|
|
51
|
+
import"./index-yqbnsmmv.js";
|
|
52
52
|
import"./index-rdm3px0g.js";
|
|
53
53
|
import"./index-ry16d01s.js";
|
|
54
|
-
import"./index-
|
|
55
|
-
import"./index-
|
|
54
|
+
import"./index-nfs78aqj.js";
|
|
55
|
+
import"./index-5134766r.js";
|
|
56
56
|
import"./index-vzm6zre7.js";
|
|
57
57
|
import"./index-ae75rja9.js";
|
|
58
|
-
import"./index-
|
|
59
|
-
import"./index-
|
|
58
|
+
import"./index-95e3a9en.js";
|
|
59
|
+
import"./index-evxd1art.js";
|
|
60
60
|
import"./index-7g4c7s5r.js";
|
|
61
|
-
import"./index-
|
|
61
|
+
import"./index-9dz2ee2g.js";
|
|
62
62
|
import"./index-nbdmdyke.js";
|
|
63
63
|
import"./index-1xnse449.js";
|
|
64
64
|
import"./index-ee6ydtfe.js";
|
|
65
|
-
import"./index-
|
|
65
|
+
import"./index-m1j1rth6.js";
|
|
66
66
|
import"./index-0mhftbpp.js";
|
|
67
67
|
import"./index-a1w58b47.js";
|
|
68
|
-
import"./index-
|
|
68
|
+
import"./index-4rq1d5k5.js";
|
|
69
69
|
import"./index-sxt7fgcw.js";
|
|
70
70
|
import"./index-bk5tah7q.js";
|
|
71
71
|
import"./index-bpmtbmy9.js";
|
|
@@ -13,22 +13,22 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
scanDelegationFallbacksForRecovery,
|
|
15
15
|
scanDelegationsForRecovery
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-xm0131fx.js";
|
|
17
17
|
import"./index-b3pmzbh1.js";
|
|
18
18
|
import"./index-2s7dvzff.js";
|
|
19
|
-
import"./index-
|
|
20
|
-
import"./index-
|
|
21
|
-
import"./index-
|
|
19
|
+
import"./index-aa2eyfvr.js";
|
|
20
|
+
import"./index-g6nen3gt.js";
|
|
21
|
+
import"./index-yqbnsmmv.js";
|
|
22
22
|
import"./index-rdm3px0g.js";
|
|
23
23
|
import"./index-ry16d01s.js";
|
|
24
|
-
import"./index-
|
|
25
|
-
import"./index-
|
|
24
|
+
import"./index-nfs78aqj.js";
|
|
25
|
+
import"./index-5134766r.js";
|
|
26
26
|
import"./index-vzm6zre7.js";
|
|
27
27
|
import"./index-ae75rja9.js";
|
|
28
|
-
import"./index-
|
|
29
|
-
import"./index-
|
|
28
|
+
import"./index-95e3a9en.js";
|
|
29
|
+
import"./index-evxd1art.js";
|
|
30
30
|
import"./index-7g4c7s5r.js";
|
|
31
|
-
import"./index-
|
|
31
|
+
import"./index-9dz2ee2g.js";
|
|
32
32
|
import"./index-nbdmdyke.js";
|
|
33
33
|
import {
|
|
34
34
|
canonicalRootKeyFresh
|
|
@@ -21,66 +21,66 @@ import {
|
|
|
21
21
|
sanitizeWorktreeTaskId,
|
|
22
22
|
standardWorktreeByCallID,
|
|
23
23
|
standardWorktreeSerializationSessions
|
|
24
|
-
} from "./index-
|
|
24
|
+
} from "./index-xefajbqv.js";
|
|
25
25
|
import"./index-5400m33a.js";
|
|
26
|
-
import"./index-
|
|
27
|
-
import"./index-
|
|
28
|
-
import"./index-
|
|
29
|
-
import"./index-
|
|
30
|
-
import"./index-
|
|
31
|
-
import"./index-
|
|
26
|
+
import"./index-er6sk4e6.js";
|
|
27
|
+
import"./index-4sf357vj.js";
|
|
28
|
+
import"./index-kb66he4e.js";
|
|
29
|
+
import"./index-wn9gf91x.js";
|
|
30
|
+
import"./index-dr1ym009.js";
|
|
31
|
+
import"./index-3jcp3zb6.js";
|
|
32
32
|
import"./index-txdagbh7.js";
|
|
33
33
|
import"./index-9br68j86.js";
|
|
34
34
|
import"./index-cw912re7.js";
|
|
35
|
-
import"./index-
|
|
36
|
-
import"./index-
|
|
37
|
-
import"./index-
|
|
35
|
+
import"./index-9cp6bhx9.js";
|
|
36
|
+
import"./index-8nbzfbjg.js";
|
|
37
|
+
import"./index-cdee25pp.js";
|
|
38
38
|
import"./index-fyfbpz4f.js";
|
|
39
|
-
import"./index-
|
|
39
|
+
import"./index-7qqwx64h.js";
|
|
40
40
|
import"./index-0hgmsyfp.js";
|
|
41
41
|
import"./index-zsrtt42s.js";
|
|
42
|
-
import"./index-
|
|
42
|
+
import"./index-3zzyxs7q.js";
|
|
43
43
|
import"./index-fhh02gwx.js";
|
|
44
44
|
import"./index-nyn01yrz.js";
|
|
45
45
|
import"./index-b43rt5ph.js";
|
|
46
46
|
import"./index-q7sjgr1y.js";
|
|
47
|
-
import"./index-
|
|
48
|
-
import"./index-
|
|
49
|
-
import"./index-
|
|
50
|
-
import"./index-
|
|
47
|
+
import"./index-3jwamrzw.js";
|
|
48
|
+
import"./index-rdjmbeex.js";
|
|
49
|
+
import"./index-xm0131fx.js";
|
|
50
|
+
import"./index-d6bs0p6d.js";
|
|
51
51
|
import"./index-b3pmzbh1.js";
|
|
52
52
|
import"./index-2s7dvzff.js";
|
|
53
|
-
import"./index-
|
|
54
|
-
import"./index-
|
|
53
|
+
import"./index-vs7b2pqm.js";
|
|
54
|
+
import"./index-0caqxnby.js";
|
|
55
55
|
import"./index-rtry5xyf.js";
|
|
56
56
|
import {
|
|
57
57
|
resolveWorktreeIsolationConfig
|
|
58
|
-
} from "./index-
|
|
58
|
+
} from "./index-s7h6txsk.js";
|
|
59
59
|
import"./index-3qf1vxtb.js";
|
|
60
60
|
import"./index-n832052r.js";
|
|
61
|
-
import"./index-
|
|
62
|
-
import"./index-
|
|
63
|
-
import"./index-
|
|
64
|
-
import"./index-
|
|
65
|
-
import"./index-
|
|
66
|
-
import"./index-
|
|
61
|
+
import"./index-5vgd9st3.js";
|
|
62
|
+
import"./index-7pae558g.js";
|
|
63
|
+
import"./index-6k5aq7b9.js";
|
|
64
|
+
import"./index-aa2eyfvr.js";
|
|
65
|
+
import"./index-g6nen3gt.js";
|
|
66
|
+
import"./index-yqbnsmmv.js";
|
|
67
67
|
import"./index-rdm3px0g.js";
|
|
68
68
|
import"./index-ry16d01s.js";
|
|
69
|
-
import"./index-
|
|
70
|
-
import"./index-
|
|
69
|
+
import"./index-nfs78aqj.js";
|
|
70
|
+
import"./index-5134766r.js";
|
|
71
71
|
import"./index-vzm6zre7.js";
|
|
72
72
|
import"./index-ae75rja9.js";
|
|
73
|
-
import"./index-
|
|
74
|
-
import"./index-
|
|
73
|
+
import"./index-95e3a9en.js";
|
|
74
|
+
import"./index-evxd1art.js";
|
|
75
75
|
import"./index-7g4c7s5r.js";
|
|
76
|
-
import"./index-
|
|
76
|
+
import"./index-9dz2ee2g.js";
|
|
77
77
|
import"./index-nbdmdyke.js";
|
|
78
78
|
import"./index-1xnse449.js";
|
|
79
79
|
import"./index-ee6ydtfe.js";
|
|
80
|
-
import"./index-
|
|
80
|
+
import"./index-m1j1rth6.js";
|
|
81
81
|
import"./index-0mhftbpp.js";
|
|
82
82
|
import"./index-a1w58b47.js";
|
|
83
|
-
import"./index-
|
|
83
|
+
import"./index-4rq1d5k5.js";
|
|
84
84
|
import"./index-sxt7fgcw.js";
|
|
85
85
|
import"./index-bk5tah7q.js";
|
|
86
86
|
import"./index-bpmtbmy9.js";
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `/swarm dataset consent` — grant or revoke the training-content consent.
|
|
3
|
+
* Granting is two-step: the bare command prints the terms and issues a token;
|
|
4
|
+
* `--confirm=<token>` writes the grant. Quotas may only lower the ceilings.
|
|
5
|
+
*/
|
|
6
|
+
export declare function handleDatasetConsentCommand(directory: string, args: string[]): Promise<string>;
|
|
7
|
+
/**
|
|
8
|
+
* `/swarm dataset withdraw` — the destructive, confirmed purge: physically
|
|
9
|
+
* deletes ALL vault content, writes a withdrawal tombstone, and revokes every
|
|
10
|
+
* export still under plugin control.
|
|
11
|
+
*/
|
|
12
|
+
export declare function handleDatasetWithdrawCommand(directory: string, args: string[]): Promise<string>;
|
|
13
|
+
/**
|
|
14
|
+
* `/swarm dataset export` — the governed, deterministic dataset export.
|
|
15
|
+
* Preview by default (filters, counts, destination, checksum-backed manifest
|
|
16
|
+
* summary); executes only behind the confirmation token.
|
|
17
|
+
*/
|
|
18
|
+
export declare function handleDatasetExportCommand(directory: string, args: string[]): Promise<string>;
|
|
19
|
+
/** Shared status block used by help/report surfaces. */
|
|
20
|
+
export declare function describeTrainingVault(directory: string): string;
|
|
@@ -515,6 +515,45 @@ export declare const COMMAND_REGISTRY: {
|
|
|
515
515
|
readonly toolPolicy: "agent";
|
|
516
516
|
readonly toolNoArgs: true;
|
|
517
517
|
};
|
|
518
|
+
readonly 'dataset consent': {
|
|
519
|
+
readonly handler: (ctx: CommandContext) => Promise<string>;
|
|
520
|
+
readonly description: "Human-only grant/revoke of the training-content consent record (two-step confirm token)";
|
|
521
|
+
readonly args: "[--confirm=<token>] [--revoke] [--max-bytes N] [--max-records N] [--retention-days N]";
|
|
522
|
+
readonly details: "Issue #2486 (D7). Training-content capture is OFF by default and cannot be enabled by config, env, agents, or tools — only by this durable, project-bound consent record under .swarm/training/v1/consent.json. Bare invocation prints the consent terms (purpose, content classes, redaction, hard quota ceilings) and issues a 15-minute confirmation token; --confirm=<token> writes the grant (quotas clamp to the ceilings, never above); --revoke stops capture immediately (physical deletion is /swarm dataset withdraw).";
|
|
523
|
+
readonly category: "utility";
|
|
524
|
+
readonly toolPolicy: "human-only";
|
|
525
|
+
};
|
|
526
|
+
readonly 'dataset withdraw': {
|
|
527
|
+
readonly handler: (ctx: CommandContext) => Promise<string>;
|
|
528
|
+
readonly description: "Human-only destructive withdrawal: purge vault content, tombstone, revoke exports";
|
|
529
|
+
readonly args: "[--confirm=<token>]";
|
|
530
|
+
readonly details: "Issue #2486 (D7). Preview-first: the bare command shows exactly what would be deleted (records, bytes, exports to revoke) and issues a 15-minute confirmation token. --confirm=<token> physically empties the vault records file, appends a durable withdrawal tombstone (never deleted by any later operation), writes REVOKED.json revocation manifests into every export still under plugin control, and marks the consent withdrawn.";
|
|
531
|
+
readonly category: "utility";
|
|
532
|
+
readonly toolPolicy: "human-only";
|
|
533
|
+
};
|
|
534
|
+
readonly 'dataset export': {
|
|
535
|
+
readonly handler: (ctx: CommandContext) => Promise<string>;
|
|
536
|
+
readonly description: "Human-only governed dataset export (deterministic bundle + manifest, two-step confirm token)";
|
|
537
|
+
readonly args: "[--kind <k>[,<k>]] [--session <id>] [--task <id>] [--since <ISO>] [--validation-ratio <0..0.5>] [--confirm=<token>]";
|
|
538
|
+
readonly details: "Issue #2486 (D7). Side-effect-free preview by default: export id, record counts (train/validation split, quarantined excluded), estimated size, destination, and a 15-minute confirmation token. --confirm=<token> writes the deterministic bundle (records.jsonl, train.jsonl, validation.jsonl, manifest.json with sha256 checksums, schema version, echoed filters, and a session-coherent split) under .swarm/training/v1/exports/<export-id>/; identical re-exports are idempotent. The existing /swarm export (plan+context JSON) is unchanged.";
|
|
539
|
+
readonly category: "utility";
|
|
540
|
+
readonly toolPolicy: "human-only";
|
|
541
|
+
};
|
|
542
|
+
readonly 'dataset-consent': {
|
|
543
|
+
readonly description: "Human-only grant/revoke of the training-content consent record (two-step confirm token)";
|
|
544
|
+
readonly aliasOf: "dataset consent";
|
|
545
|
+
readonly deprecated: true;
|
|
546
|
+
};
|
|
547
|
+
readonly 'dataset-withdraw': {
|
|
548
|
+
readonly description: "Human-only destructive withdrawal: purge vault content, tombstone, revoke exports";
|
|
549
|
+
readonly aliasOf: "dataset withdraw";
|
|
550
|
+
readonly deprecated: true;
|
|
551
|
+
};
|
|
552
|
+
readonly 'dataset-export': {
|
|
553
|
+
readonly description: "Human-only governed dataset export (deterministic bundle + manifest, two-step confirm token)";
|
|
554
|
+
readonly aliasOf: "dataset export";
|
|
555
|
+
readonly deprecated: true;
|
|
556
|
+
};
|
|
518
557
|
readonly evidence: {
|
|
519
558
|
readonly handler: (ctx: CommandContext) => Promise<string>;
|
|
520
559
|
readonly description: "Show evidence bundles [taskId]";
|
|
@@ -37,6 +37,7 @@
|
|
|
37
37
|
*/
|
|
38
38
|
import type { ObservabilityEvent } from '../observability/envelope.js';
|
|
39
39
|
import { extractWorkflowIds } from '../observability/legacy.js';
|
|
40
|
+
import { canonicalLineContent } from '../observability/observe.js';
|
|
40
41
|
import { getGroupCommitWriter } from './group-commit-writer.js';
|
|
41
42
|
import { getProjectDb } from './project-db.js';
|
|
42
43
|
/** Hard cap on retained observability rows (DELETE-based retention). */
|
|
@@ -47,6 +48,14 @@ export declare const RETENTION_CHECK_INTERVAL = 512;
|
|
|
47
48
|
export declare const HEALTH_UPSERT_INTERVAL = 256;
|
|
48
49
|
/** Hard cap on a single serialized payload (oversize → quarantined stub). */
|
|
49
50
|
export declare const MAX_EVENT_PAYLOAD_BYTES: number;
|
|
51
|
+
/**
|
|
52
|
+
* Kill switch for the local SQLite observability sink (issue #2487 AC5),
|
|
53
|
+
* mirroring `SWARM_OTLP_EXPORT_DISABLE`. Strictly `=== '1'`; read live on
|
|
54
|
+
* every call so env changes take effect without re-registration. Disables only
|
|
55
|
+
* the LIVE sink — `syncObservabilityImport` (the report-path legacy import)
|
|
56
|
+
* is intentionally never gated: JSONL + rebuildable import IS the rollback.
|
|
57
|
+
*/
|
|
58
|
+
export declare function isObservabilitySinkDisabled(): boolean;
|
|
50
59
|
export type IngestedVia = 'live' | 'import';
|
|
51
60
|
export interface ObservabilityEventRow {
|
|
52
61
|
rowid: number;
|
|
@@ -112,11 +121,17 @@ export declare function resetObservabilityEventSinkForTesting(): void;
|
|
|
112
121
|
* the same batch on their throttle intervals so they can never race a live
|
|
113
122
|
* append.
|
|
114
123
|
*/
|
|
115
|
-
export declare function appendObservabilityEventDb(directory: string, canonical: ObservabilityEvent): void;
|
|
124
|
+
export declare function appendObservabilityEventDb(directory: string, canonical: ObservabilityEvent, canonicalContent?: string): void;
|
|
116
125
|
export interface ObservabilityImportResult {
|
|
117
126
|
imported: number;
|
|
118
127
|
quarantined: number;
|
|
119
128
|
skippedUnchanged: boolean;
|
|
129
|
+
/**
|
|
130
|
+
* Segments skipped because a live row (or a backfilled pre-upgrade live
|
|
131
|
+
* row) already carries their content hash — the issue #2487 overlap
|
|
132
|
+
* suppression. Always present (0 when nothing matched).
|
|
133
|
+
*/
|
|
134
|
+
skippedLive: number;
|
|
120
135
|
}
|
|
121
136
|
/**
|
|
122
137
|
* Incrementally import the bounded legacy `telemetry.jsonl(.1)` stream into
|
|
@@ -159,4 +174,5 @@ export declare const _internals: {
|
|
|
159
174
|
getProjectDb: typeof getProjectDb;
|
|
160
175
|
getGroupCommitWriter: typeof getGroupCommitWriter;
|
|
161
176
|
extractWorkflowIds: typeof extractWorkflowIds;
|
|
177
|
+
canonicalLineContent: typeof canonicalLineContent;
|
|
162
178
|
};
|