opencode-swarm 7.148.4 → 7.149.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/{config-doctor-ycf9ws4p.js → config-doctor-fx8d6pma.js} +3 -3
- package/dist/cli/{core-a1bhs3xa.js → core-0v762txd.js} +3 -3
- package/dist/cli/{curation-policy-fbvctttr.js → curation-policy-4jxx3ey4.js} +6 -6
- package/dist/cli/{curator-8y57gq1g.js → curator-6w4frzdz.js} +32 -31
- package/dist/cli/{curator-llm-factory-rj4vw5fd.js → curator-llm-factory-8fstpeqh.js} +32 -31
- package/dist/cli/{evidence-summary-service-wkp0gfpd.js → evidence-summary-service-x00z38n2.js} +15 -14
- package/dist/cli/{gate-evidence-qty15skw.js → gate-evidence-ejdek2td.js} +9 -9
- package/dist/cli/{guardrail-explain-2n3ahs0m.js → guardrail-explain-nynjhbzk.js} +33 -32
- package/dist/cli/{guardrail-log-bmxrb3r2.js → guardrail-log-6bktj08e.js} +6 -4
- package/dist/cli/{guardrail-reset-be3sx0am.js → guardrail-reset-hsfd5ykq.js} +32 -31
- package/dist/cli/{hive-promoter-te5d78yt.js → hive-promoter-32artf8c.js} +32 -31
- package/dist/cli/{index-sxtz2d26.js → index-01q7mb83.js} +6 -6
- package/dist/cli/{index-yq89bgnz.js → index-41n0thtd.js} +2 -1
- package/dist/cli/{index-bccfz7br.js → index-42habrdv.js} +4 -4
- package/dist/cli/{index-622phhp5.js → index-5q5ws00e.js} +11 -11
- package/dist/cli/{index-9m8jy3av.js → index-6thxr1q7.js} +3 -3
- package/dist/cli/{index-6kw1a3bk.js → index-79pwr8hc.js} +9 -12
- package/dist/cli/{index-gswx08pr.js → index-8hkxm9mh.js} +4 -4
- package/dist/cli/{index-qpewzk0q.js → index-8yan955h.js} +2 -2
- package/dist/cli/{index-vrp2zva8.js → index-a90c1gtn.js} +1 -1
- package/dist/cli/{index-kg4knw6r.js → index-ame8ek9g.js} +7 -6
- package/dist/cli/{index-hj1xd3pg.js → index-bcfcekx9.js} +1314 -371
- package/dist/cli/{index-nq4tkfpc.js → index-bmaz2yy4.js} +1 -1
- package/dist/cli/{index-k1s8gxjh.js → index-c1h0rdkr.js} +1 -1
- package/dist/cli/index-c83bztkp.js +881 -0
- package/dist/cli/{index-1vbmra32.js → index-ccyve4pb.js} +1 -1
- package/dist/cli/{index-vhefvcta.js → index-cfvbd3dg.js} +2 -2
- package/dist/cli/{index-ye7kpzrk.js → index-ef0wracg.js} +5 -5
- package/dist/cli/{index-9qzkcmry.js → index-hbhw2qd7.js} +3 -3
- package/dist/cli/{index-rzzwem6x.js → index-ka2vav7t.js} +34 -33
- package/dist/cli/{index-b1c83zf9.js → index-kb1p6dpx.js} +18 -17
- package/dist/cli/{index-8kzrgjt6.js → index-mza55jmc.js} +4 -4
- package/dist/cli/{index-t25evmna.js → index-n6jykega.js} +1 -1
- package/dist/cli/{index-skgeytf6.js → index-pgfn8h50.js} +10 -10
- package/dist/cli/{index-7rerkeg8.js → index-q8e2yd98.js} +1 -1
- package/dist/cli/{index-w00hn0dd.js → index-s7t2c9jd.js} +2 -2
- package/dist/cli/{index-j382eh60.js → index-vfv4vnnc.js} +1 -1
- package/dist/cli/{index-qwmrt51t.js → index-wbz365gn.js} +1 -1
- package/dist/cli/{index-ghbkknjz.js → index-wj0gnab0.js} +72 -41
- package/dist/cli/{index-b94487xm.js → index-wsar7d91.js} +1 -1
- package/dist/cli/{index-0045n7qe.js → index-xdp0bx28.js} +2 -2
- package/dist/cli/{index-8djgxw2w.js → index-z6471b7r.js} +2 -2
- package/dist/cli/{index-qbvq3xt2.js → index-zkcwan96.js} +1 -1
- package/dist/cli/index.js +32 -31
- package/dist/cli/{knowledge-escalator-9w53tx55.js → knowledge-escalator-ty2kesdj.js} +14 -14
- package/dist/cli/{knowledge-events-my31zepa.js → knowledge-events-x3rd7r3j.js} +12 -12
- package/dist/cli/{knowledge-link-spw879rs.js → knowledge-link-a5f89833.js} +5 -5
- package/dist/cli/{knowledge-store-yf59mxp5.js → knowledge-store-zsz4dxjq.js} +6 -6
- package/dist/cli/{knowledge-validator-8n569fp4.js → knowledge-validator-bdhgkw9f.js} +8 -8
- package/dist/cli/{pending-delegations-f4wvyzbf.js → pending-delegations-aez8ebdr.js} +3 -3
- package/dist/cli/{pr-subscriptions-f4xw1rxy.js → pr-subscriptions-cpnwvc6y.js} +3 -3
- package/dist/cli/{runner-rk26nk58.js → runner-9mnkfjw7.js} +6 -6
- package/dist/cli/{scan-cursor-www6dbn8.js → scan-cursor-3ba1spad.js} +7 -7
- package/dist/cli/{schema-vyg0k7rh.js → schema-h251vmd1.js} +1 -1
- package/dist/cli/{scope-persistence-3qbr019s.js → scope-persistence-h1b31ba2.js} +8 -10
- package/dist/cli/{skill-generator-fh8emssb.js → skill-generator-esrn40th.js} +16 -16
- package/dist/cli/{telemetry-1pnsftp0.js → telemetry-jtq6px7k.js} +1 -1
- package/dist/cli/{workspace-snapshot-nq25j94x.js → workspace-snapshot-8269e1p9.js} +2 -2
- package/dist/cli/{worktree-collision-ownership-wqy7mgb3.js → worktree-collision-ownership-r8j31h06.js} +8 -8
- package/dist/cli/{worktree-isolation-sbsdx1yj.js → worktree-isolation-pbr4d5m9.js} +32 -31
- package/dist/commands/close.d.ts +1 -0
- package/dist/events/core-events.d.ts +250 -0
- package/dist/full-auto/oversight.d.ts +5 -3
- package/dist/hooks/full-auto-delegation.d.ts +24 -0
- package/dist/hooks/full-auto-input-probe.d.ts +11 -0
- package/dist/hooks/steering-consumed.d.ts +12 -4
- package/dist/index.js +588 -603
- package/dist/observability/catalog.d.ts +9 -7
- package/dist/sast/rules/javascript-call-classifier.d.ts +4 -0
- package/dist/services/spec-drift-recovery.d.ts +9 -2
- package/dist/telemetry.d.ts +24 -1
- package/package.json +2 -1
- package/dist/cli/{curator-drift-fv4rttf4.js → curator-drift-2h1d2fnq.js} +1 -1
- package/dist/cli/{index-g8wwj0sz.js → index-vnn7qq8c.js} +3 -3
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Full-Auto v2 input-probe hook (tool.execute.after).
|
|
3
|
+
*
|
|
4
|
+
* Inspects tool output for prompt-injection / credential-request /
|
|
5
|
+
* exfiltration / guardrail-disable shapes and stores a warning on the
|
|
6
|
+
* durable Full-Auto run state. The warning is consulted by the permission
|
|
7
|
+
* hook on the next risky action — when both fire, the action escalates to
|
|
8
|
+
* the critic instead of using the deterministic policy.
|
|
9
|
+
*
|
|
10
|
+
* The probe never blocks tool execution by itself.
|
|
11
|
+
*/
|
|
1
12
|
import type { PluginConfig } from '../config';
|
|
2
13
|
export interface FullAutoInputProbeHookOptions {
|
|
3
14
|
config: PluginConfig;
|
|
@@ -2,10 +2,17 @@
|
|
|
2
2
|
* Steering consumed hook for OpenCode Swarm
|
|
3
3
|
*
|
|
4
4
|
* Provides mechanisms for recording and tracking steering directive consumption.
|
|
5
|
-
* Writes steering-consumed events to
|
|
5
|
+
* Writes steering-consumed events to the core event store for health check
|
|
6
|
+
* verification.
|
|
7
|
+
*
|
|
8
|
+
* ISSUE #2039: the reconciliation read is now the bounded core event window
|
|
9
|
+
* (manifest-stripped, hard read bound) instead of the whole file. Directives
|
|
10
|
+
* issued before the retained window cannot be reconciled by design; the
|
|
11
|
+
* window's coverage is observable via the core event store (diagnose Check E
|
|
12
|
+
* discloses it).
|
|
6
13
|
*/
|
|
7
14
|
/**
|
|
8
|
-
* Event written
|
|
15
|
+
* Event written when a steering directive is consumed
|
|
9
16
|
*/
|
|
10
17
|
export interface SteeringConsumedEvent {
|
|
11
18
|
type: 'steering-consumed';
|
|
@@ -13,7 +20,7 @@ export interface SteeringConsumedEvent {
|
|
|
13
20
|
timestamp: string;
|
|
14
21
|
}
|
|
15
22
|
/**
|
|
16
|
-
* Records a steering-consumed event to the
|
|
23
|
+
* Records a steering-consumed event to the core event store.
|
|
17
24
|
* Synchronous function that appends a single JSON line.
|
|
18
25
|
*
|
|
19
26
|
* @param directory - The project directory containing the .swarm folder
|
|
@@ -22,7 +29,8 @@ export interface SteeringConsumedEvent {
|
|
|
22
29
|
export declare function recordSteeringConsumed(directory: string, directiveId: string): void;
|
|
23
30
|
/**
|
|
24
31
|
* Creates a hook that records steering-consumed events for any unconsumed directives.
|
|
25
|
-
* Reads
|
|
32
|
+
* Reads the bounded core event window to find steering-directive events without
|
|
33
|
+
* matching consumed events (issue #2039).
|
|
26
34
|
*
|
|
27
35
|
* @param directory - The project directory containing the .swarm folder
|
|
28
36
|
* @returns A fire-and-forget hook function
|