opencode-swarm 7.146.1 → 7.146.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-sd7x5bts.js → config-doctor-vstrprja.js} +2 -2
- package/dist/cli/{core-17febkvw.js → core-3wzpwe5z.js} +1 -1
- package/dist/cli/{curator-vghf320v.js → curator-cvy1s7wd.js} +17 -17
- package/dist/cli/{curator-llm-factory-zxbgkjm5.js → curator-llm-factory-6bra0bfd.js} +17 -17
- package/dist/cli/{evidence-summary-service-xma4aagr.js → evidence-summary-service-yhap2xph.js} +6 -6
- package/dist/cli/{gate-evidence-2bznvee8.js → gate-evidence-vxbyq5sb.js} +2 -2
- package/dist/cli/{guardrail-explain-ppzg0xz9.js → guardrail-explain-h8cnwa02.js} +18 -18
- package/dist/cli/{guardrail-log-xexwz93q.js → guardrail-log-syb7tz2w.js} +3 -3
- package/dist/cli/{hive-promoter-j3vw2hj4.js → hive-promoter-3tex870c.js} +17 -17
- package/dist/cli/{index-1c9mfnj0.js → index-01ybcsa5.js} +1 -1
- package/dist/cli/{index-vacrzesw.js → index-42nq97rb.js} +4 -4
- package/dist/cli/{index-zwn2e2pe.js → index-46cypnz3.js} +2 -2
- package/dist/cli/{index-twwb61bh.js → index-4vwn66wk.js} +3 -3
- package/dist/cli/{index-va8a2zrq.js → index-a1febb2k.js} +2 -2
- package/dist/cli/{index-xz0ccakc.js → index-c9jr4j2q.js} +1 -1
- package/dist/cli/{index-k46kg4t6.js → index-cr90rcg3.js} +3 -3
- package/dist/cli/{index-tzyvmkd1.js → index-cx67qa9g.js} +1 -1
- package/dist/cli/{index-bd4g9fvb.js → index-f3x2gsby.js} +1 -1
- package/dist/cli/{index-9qbr27bw.js → index-jv9xs6mb.js} +1 -1
- package/dist/cli/{index-cw96tpy6.js → index-n4k0pt5f.js} +1 -1
- package/dist/cli/{index-g8qbjqqz.js → index-p0m03xa6.js} +1 -1
- package/dist/cli/{index-e3caa7ng.js → index-r46q6996.js} +19 -19
- package/dist/cli/{index-7x00nx8m.js → index-rfph0nhf.js} +45 -45
- package/dist/cli/{index-t7sfrv3v.js → index-tj861zhd.js} +1 -1
- package/dist/cli/{index-txh3h83v.js → index-vj9bba5k.js} +3 -3
- package/dist/cli/{index-fksfxhmx.js → index-vmfaafte.js} +5 -5
- package/dist/cli/{index-19f0zycs.js → index-y3hmyvt6.js} +2 -2
- package/dist/cli/{index-n7trn9wz.js → index-yxhcy5cm.js} +1 -1
- package/dist/cli/{index-4qvsh3m5.js → index-z5ppkn8y.js} +3 -3
- package/dist/cli/{index-h8qed3pr.js → index-z9ed68jt.js} +1 -1
- package/dist/cli/index.js +17 -17
- package/dist/cli/{knowledge-escalator-wj85ppdt.js → knowledge-escalator-mn4sx4qd.js} +6 -6
- package/dist/cli/{knowledge-events-4y9kk2xe.js → knowledge-events-x975ngy4.js} +4 -4
- package/dist/cli/{knowledge-store-kc8dwc14.js → knowledge-store-33p762ey.js} +1 -1
- package/dist/cli/{knowledge-validator-584ga9fb.js → knowledge-validator-q5jc0scs.js} +2 -2
- package/dist/cli/{scan-cursor-rhjym1pn.js → scan-cursor-p7t5mb4x.js} +2 -2
- package/dist/cli/{schema-yb3pvhcs.js → schema-t8bmshhj.js} +1 -1
- package/dist/cli/{scope-persistence-bxwjk9rc.js → scope-persistence-2kyrgsca.js} +4 -4
- package/dist/cli/{skill-generator-3w8w7htr.js → skill-generator-fwvmcv8m.js} +7 -7
- package/dist/cli/{worktree-isolation-av1rshr3.js → worktree-isolation-87j70zg1.js} +17 -17
- package/dist/hooks/knowledge-application-gate.d.ts +23 -0
- package/dist/index.js +17 -16
- package/package.json +1 -1
|
@@ -33,17 +33,17 @@ import {
|
|
|
33
33
|
sanitizeSlug,
|
|
34
34
|
selectCandidateEntries,
|
|
35
35
|
writeEvalStub
|
|
36
|
-
} from "./index-
|
|
37
|
-
import"./index-
|
|
36
|
+
} from "./index-vj9bba5k.js";
|
|
37
|
+
import"./index-n4k0pt5f.js";
|
|
38
38
|
import"./index-e1hjd15c.js";
|
|
39
39
|
import"./index-rtry5xyf.js";
|
|
40
|
-
import"./index-
|
|
41
|
-
import"./index-
|
|
42
|
-
import"./index-
|
|
40
|
+
import"./index-42nq97rb.js";
|
|
41
|
+
import"./index-cr90rcg3.js";
|
|
42
|
+
import"./index-y3hmyvt6.js";
|
|
43
43
|
import"./index-gprxjmm7.js";
|
|
44
44
|
import"./index-n832052r.js";
|
|
45
|
-
import"./index-
|
|
46
|
-
import"./index-
|
|
45
|
+
import"./index-01ybcsa5.js";
|
|
46
|
+
import"./index-z9ed68jt.js";
|
|
47
47
|
import"./index-cpg98bh1.js";
|
|
48
48
|
import"./index-9e6fdz2h.js";
|
|
49
49
|
import"./index-4rhhvd1a.js";
|
|
@@ -21,47 +21,47 @@ import {
|
|
|
21
21
|
sanitizeWorktreeTaskId,
|
|
22
22
|
standardWorktreeByCallID,
|
|
23
23
|
standardWorktreeSerializationSessions
|
|
24
|
-
} from "./index-
|
|
24
|
+
} from "./index-rfph0nhf.js";
|
|
25
25
|
import"./index-w5r84rd1.js";
|
|
26
|
-
import"./index-
|
|
27
|
-
import"./index-
|
|
28
|
-
import"./index-
|
|
26
|
+
import"./index-c9jr4j2q.js";
|
|
27
|
+
import"./index-yxhcy5cm.js";
|
|
28
|
+
import"./index-z5ppkn8y.js";
|
|
29
29
|
import"./index-zkaz3fhw.js";
|
|
30
30
|
import"./index-134d35c1.js";
|
|
31
31
|
import"./index-abtrcs16.js";
|
|
32
32
|
import"./index-y8552snf.js";
|
|
33
|
-
import"./index-
|
|
34
|
-
import"./index-
|
|
33
|
+
import"./index-vmfaafte.js";
|
|
34
|
+
import"./index-jv9xs6mb.js";
|
|
35
35
|
import"./index-70ha9e09.js";
|
|
36
36
|
import"./index-c8s9a3zh.js";
|
|
37
37
|
import"./index-9ss2m4rs.js";
|
|
38
38
|
import"./index-z9yhhk6q.js";
|
|
39
39
|
import"./index-5e5a1y2r.js";
|
|
40
|
-
import"./index-
|
|
41
|
-
import"./index-
|
|
40
|
+
import"./index-vj9bba5k.js";
|
|
41
|
+
import"./index-n4k0pt5f.js";
|
|
42
42
|
import"./index-e1hjd15c.js";
|
|
43
43
|
import"./index-rtry5xyf.js";
|
|
44
44
|
import"./index-zsrtt42s.js";
|
|
45
45
|
import"./index-97psh79d.js";
|
|
46
46
|
import"./index-e1pxav9g.js";
|
|
47
|
-
import"./index-
|
|
48
|
-
import"./index-
|
|
49
|
-
import"./index-
|
|
50
|
-
import"./index-
|
|
47
|
+
import"./index-tj861zhd.js";
|
|
48
|
+
import"./index-cx67qa9g.js";
|
|
49
|
+
import"./index-46cypnz3.js";
|
|
50
|
+
import"./index-p0m03xa6.js";
|
|
51
51
|
import"./index-556ja8an.js";
|
|
52
52
|
import"./index-7sy3aa9m.js";
|
|
53
53
|
import"./index-wx8zdh4a.js";
|
|
54
54
|
import"./index-3g0xk6tk.js";
|
|
55
55
|
import"./index-85gkedsf.js";
|
|
56
|
-
import"./index-
|
|
57
|
-
import"./index-
|
|
56
|
+
import"./index-42nq97rb.js";
|
|
57
|
+
import"./index-cr90rcg3.js";
|
|
58
58
|
import {
|
|
59
59
|
resolveWorktreeIsolationConfig
|
|
60
|
-
} from "./index-
|
|
60
|
+
} from "./index-y3hmyvt6.js";
|
|
61
61
|
import"./index-gprxjmm7.js";
|
|
62
62
|
import"./index-n832052r.js";
|
|
63
|
-
import"./index-
|
|
64
|
-
import"./index-
|
|
63
|
+
import"./index-01ybcsa5.js";
|
|
64
|
+
import"./index-z9ed68jt.js";
|
|
65
65
|
import"./index-cpg98bh1.js";
|
|
66
66
|
import"./index-9e6fdz2h.js";
|
|
67
67
|
import"./index-4rhhvd1a.js";
|
|
@@ -45,6 +45,27 @@ export interface GateInput {
|
|
|
45
45
|
}
|
|
46
46
|
declare function selectCurrentArchitectDirectiveMemberships(memberships: ReceiptMembership[]): ReceiptMembership[];
|
|
47
47
|
declare function selectStaleUnmarkedMemberships(memberships: ReceiptMembership[], now: number, stalenessMs: number): ReceiptMembership[];
|
|
48
|
+
/**
|
|
49
|
+
* Best-effort lookup of directive lesson text by knowledge entry id, for
|
|
50
|
+
* surfacing the acknowledged content inside a gate denial (issue #2299).
|
|
51
|
+
*
|
|
52
|
+
* Reads the project-local swarm store always (cached by `readKnowledge` and
|
|
53
|
+
* bounded in size by the store's own knowledge cap) and the cross-project hive
|
|
54
|
+
* store only when the hive file exists. A hive entry can only be an
|
|
55
|
+
* unacknowledged architect-directive membership if it was displayed, which
|
|
56
|
+
* requires hive to have been enabled at display time, so reading it back here
|
|
57
|
+
* is not a fresh disclosure. Fail-open: any read error simply omits the
|
|
58
|
+
* content echo and never alters the denial outcome.
|
|
59
|
+
*/
|
|
60
|
+
export declare function loadDirectiveContents(directory: string, entryIds: string[]): Promise<Map<string, string>>;
|
|
61
|
+
/**
|
|
62
|
+
* Build the KNOWLEDGE_ENFORCE_GATE_DENY message (issue #2299). Renders
|
|
63
|
+
* unacknowledged memberships in the single canonical colon pair form
|
|
64
|
+
* `<trace_id>:<entry_id>`, lists every valid verb with its token grammar,
|
|
65
|
+
* and emits one fully-instantiated, copy-pasteable `KNOWLEDGE_N_A` example per
|
|
66
|
+
* membership plus the directive content being acknowledged.
|
|
67
|
+
*/
|
|
68
|
+
export declare function buildGateDenialMessage(toolName: string, memberships: ReceiptMembership[], contents: Map<string, string>): string;
|
|
48
69
|
/**
|
|
49
70
|
* Pre-tool gate. Throws when the architect attempts a high-risk action with
|
|
50
71
|
* an unacknowledged critical directive in `enforce` mode. Always returns in
|
|
@@ -69,5 +90,7 @@ export declare const _internals: {
|
|
|
69
90
|
writeWarnEvent: typeof writeWarnEvent;
|
|
70
91
|
selectCurrentArchitectDirectiveMemberships: typeof selectCurrentArchitectDirectiveMemberships;
|
|
71
92
|
selectStaleUnmarkedMemberships: typeof selectStaleUnmarkedMemberships;
|
|
93
|
+
loadDirectiveContents: typeof loadDirectiveContents;
|
|
94
|
+
buildGateDenialMessage: typeof buildGateDenialMessage;
|
|
72
95
|
};
|
|
73
96
|
export {};
|