opencode-swarm 7.161.1 → 7.162.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/dist/background/pr-review-contract.d.ts +1 -24
- package/dist/cli/authorization-vstrh7ra.js +23 -0
- package/dist/cli/{coder-settlement-2jteb5vy.js → coder-settlement-zrda71k0.js} +9 -9
- package/dist/cli/{config-doctor-1yn317qf.js → config-doctor-gjw4hdvt.js} +2 -2
- package/dist/cli/{core-k687jrr3.js → core-q5j5a7fh.js} +1 -1
- package/dist/cli/{curation-policy-ej9xc0cd.js → curation-policy-nv31cr6t.js} +5 -5
- package/dist/cli/{curator-llm-factory-m1ke17eq.js → curator-llm-factory-8d6kqsj1.js} +33 -31
- package/dist/cli/{curator-q017rjfk.js → curator-njskp28b.js} +33 -31
- package/dist/cli/{evidence-summary-service-6jzfa547.js → evidence-summary-service-5rry81jm.js} +13 -13
- package/dist/cli/{gate-evidence-j6nskaka.js → gate-evidence-b6k9wng8.js} +5 -5
- package/dist/cli/{guardrail-explain-xw3ma90f.js → guardrail-explain-5yw549sm.js} +34 -32
- package/dist/cli/{guardrail-log-etmzhbge.js → guardrail-log-nrnx87ac.js} +7 -7
- package/dist/cli/{guardrail-reset-z9fkxksy.js → guardrail-reset-zm5an5bw.js} +33 -31
- package/dist/cli/{hive-promoter-dmwjya83.js → hive-promoter-zzgnfhxr.js} +33 -31
- package/dist/cli/{index-32avgbyq.js → index-0myjf1y2.js} +2 -2
- package/dist/cli/{index-dq41vsf9.js → index-1eqbnwm6.js} +1 -1
- package/dist/cli/{index-dh5q6z7y.js → index-3b762978.js} +7 -4
- package/dist/cli/{index-qd9mrd7e.js → index-3fs3p6ck.js} +5 -5
- package/dist/cli/{index-cbcfpgz9.js → index-3gym3fjj.js} +6 -6
- package/dist/cli/{index-c6zyqgpq.js → index-3nsewz46.js} +1 -1
- package/dist/cli/{index-nm0cpfrv.js → index-5a8nk165.js} +4 -4
- package/dist/cli/{index-d8st72j7.js → index-63s6t3z4.js} +1 -1
- package/dist/cli/{index-7d79mj06.js → index-7322jr05.js} +9 -9
- package/dist/cli/{index-bn78ywnb.js → index-9cvfa8p8.js} +1 -1
- package/dist/cli/{index-k55td019.js → index-9m1ze4z4.js} +1 -1
- package/dist/cli/{index-hvfsz7e3.js → index-a1bh2e4f.js} +6 -6
- package/dist/cli/{index-c1geyan9.js → index-bgzdwkpe.js} +1 -1
- package/dist/cli/{index-epjvntnm.js → index-cjjcey0h.js} +1 -1
- package/dist/cli/{index-29f9te70.js → index-f18bqg18.js} +5 -3
- package/dist/cli/{index-awjx0wgk.js → index-fckfgptr.js} +1 -1
- package/dist/cli/{index-88wb0z9r.js → index-gss86tj3.js} +2 -2
- package/dist/cli/{index-za42r41w.js → index-gwbxeh8j.js} +14 -643
- package/dist/cli/{index-1j532307.js → index-hq1gdz0g.js} +2 -2
- package/dist/cli/{index-zhdfqz89.js → index-j1gq4qm8.js} +5 -5
- package/dist/cli/{index-4p6x3xxy.js → index-m24pv3f4.js} +4 -4
- package/dist/cli/{index-jm21vbyp.js → index-m516tpxe.js} +2 -2
- package/dist/cli/index-mmngnxev.js +883 -0
- package/dist/cli/{index-134d35c1.js → index-n249fbw7.js} +9 -0
- package/dist/cli/{index-s33ee2w3.js → index-nbfpnb0w.js} +1 -1
- package/dist/cli/{index-7619tk9a.js → index-rkr19fdv.js} +1 -1
- package/dist/cli/{index-9kp3cp5n.js → index-ttdjphep.js} +3 -3
- package/dist/cli/{index-f5axf6vq.js → index-v0t8z5ab.js} +1 -1
- package/dist/cli/{index-rracnf2y.js → index-vcen0ne4.js} +1 -1
- package/dist/cli/{index-y14mwbk8.js → index-w1sfjffe.js} +2 -2
- package/dist/cli/index-w7ekntej.js +643 -0
- package/dist/cli/{index-hq57ytm5.js → index-wvfgkms6.js} +1 -1
- package/dist/cli/{index-e0re84cx.js → index-xsv6zv7n.js} +35 -33
- package/dist/cli/{index-cs9w1hfs.js → index-xtjvg1wx.js} +2691 -2781
- package/dist/cli/{index-k4xey4kh.js → index-y3fgbx8g.js} +1 -1
- package/dist/cli/{index-yhadrxka.js → index-z74stz9p.js} +4 -4
- package/dist/cli/index.js +33 -31
- package/dist/cli/{knowledge-escalator-cqyxfjfh.js → knowledge-escalator-8y3adkn0.js} +11 -11
- package/dist/cli/{knowledge-events-g707awjf.js → knowledge-events-mnexhwe2.js} +9 -9
- package/dist/cli/{knowledge-link-8knefv8x.js → knowledge-link-jr8rqr39.js} +4 -4
- package/dist/cli/{knowledge-store-byhv66xq.js → knowledge-store-cp42ccd1.js} +5 -5
- package/dist/cli/{knowledge-validator-qfkr8eje.js → knowledge-validator-hwp1t6x3.js} +7 -7
- package/dist/cli/{pending-delegations-n3baz9m3.js → pending-delegations-jj5vaq9q.js} +5 -4
- package/dist/cli/{pr-subscriptions-3zwthnan.js → pr-subscriptions-mm6kyyv0.js} +4 -4
- package/dist/cli/{runner-fzgkd6m1.js → runner-d402vnq3.js} +5 -5
- package/dist/cli/{scan-cursor-fbtgyeft.js → scan-cursor-d75dh3hv.js} +6 -6
- package/dist/cli/{schema-xb7d31wq.js → schema-djm1bhb8.js} +1 -1
- package/dist/cli/{scope-persistence-5npzdfjf.js → scope-persistence-g0yc6dfa.js} +8 -8
- package/dist/cli/{skill-generator-k1e7nee3.js → skill-generator-9ppgxz4j.js} +13 -13
- package/dist/cli/{sqlite-loader-r1kgt2pq.js → sqlite-loader-c92413n7.js} +1 -1
- package/dist/cli/{worktree-collision-ownership-jfam09nj.js → worktree-collision-ownership-061zmyyp.js} +6 -5
- package/dist/cli/{worktree-isolation-avp3yxcs.js → worktree-isolation-vk82698z.js} +33 -31
- package/dist/db/sqlite-loader.d.ts +1 -0
- package/dist/hooks/pr-workflow-gate.d.ts +20 -245
- package/dist/index.js +392 -378
- package/dist/memory/curator-decision-helpers.d.ts +1 -0
- package/dist/memory/index.d.ts +1 -1
- package/dist/memory/local-jsonl-provider.d.ts +2 -0
- package/dist/memory/proposal-load.d.ts +15 -0
- package/dist/memory/relation-constants.d.ts +3 -0
- package/dist/memory/relations.d.ts +8 -0
- package/dist/memory/schema.d.ts +8 -0
- package/dist/memory/sqlite-provider.d.ts +3 -0
- package/dist/memory/types.d.ts +21 -0
- package/dist/{hooks/pr-review-reentry-authorization.d.ts → pr-review/authorization.d.ts} +32 -10
- package/dist/{hooks/pr-review-resilience-circuit.d.ts → pr-review/circuit.d.ts} +60 -3
- package/dist/pr-review/completion.d.ts +373 -0
- package/dist/pr-review/critic-routing.d.ts +37 -0
- package/dist/pr-review/guardrails.d.ts +67 -0
- package/dist/pr-review/legacy-transcript-adapter.d.ts +276 -0
- package/dist/pr-review/persistence.d.ts +107 -0
- package/dist/pr-review/reducer.d.ts +54 -0
- package/dist/pr-review/types.d.ts +225 -0
- package/package.json +1 -1
- package/dist/cli/pr-review-reentry-authorization-ttctn8xv.js +0 -301
|
@@ -14,14 +14,14 @@ import {
|
|
|
14
14
|
detectWindowsWrites,
|
|
15
15
|
getSharedClassifierGuardrailBlock,
|
|
16
16
|
resolveWriteTargets
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-xtjvg1wx.js";
|
|
18
18
|
import {
|
|
19
19
|
checkFileAuthority,
|
|
20
20
|
classifyFile,
|
|
21
21
|
isInDeclaredScope,
|
|
22
22
|
redactPath,
|
|
23
23
|
redactShellCommand
|
|
24
|
-
} from "./index-
|
|
24
|
+
} from "./index-f18bqg18.js";
|
|
25
25
|
|
|
26
26
|
// src/services/guardrail-explain-service.ts
|
|
27
27
|
import path from "path";
|
|
@@ -6,12 +6,12 @@ import {
|
|
|
6
6
|
resolveSwarmKnowledgePath,
|
|
7
7
|
transactKnowledge,
|
|
8
8
|
wordBigrams
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-3gym3fjj.js";
|
|
10
10
|
import {
|
|
11
11
|
queryHistoricalOutcomes,
|
|
12
12
|
readKnowledgeEvents,
|
|
13
13
|
recordKnowledgeEvent
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-a1bh2e4f.js";
|
|
15
15
|
import {
|
|
16
16
|
init_knowledge_types,
|
|
17
17
|
isActiveStatus
|
|
@@ -224,11 +224,11 @@ async function maybeQuarantineOnContradiction(directory, entryId, threshold, win
|
|
|
224
224
|
alreadyInactive: true
|
|
225
225
|
};
|
|
226
226
|
}
|
|
227
|
-
const { quarantineEntry } = await import("./knowledge-validator-
|
|
227
|
+
const { quarantineEntry } = await import("./knowledge-validator-hwp1t6x3.js");
|
|
228
228
|
let policyConfig;
|
|
229
229
|
try {
|
|
230
|
-
const { KnowledgeConfigSchema } = await import("./schema-
|
|
231
|
-
const { loadPluginConfigWithMeta } = await import("./index-
|
|
230
|
+
const { KnowledgeConfigSchema } = await import("./schema-djm1bhb8.js");
|
|
231
|
+
const { loadPluginConfigWithMeta } = await import("./index-ttdjphep.js");
|
|
232
232
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
233
233
|
policyConfig = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
234
234
|
} catch {
|
|
@@ -2,23 +2,23 @@
|
|
|
2
2
|
import {
|
|
3
3
|
computePlanStructureHash,
|
|
4
4
|
derivePlanId
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-wvfgkms6.js";
|
|
6
6
|
import {
|
|
7
7
|
appendCoreEventSync
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-rkr19fdv.js";
|
|
9
9
|
import {
|
|
10
10
|
unsafePathTextReason
|
|
11
11
|
} from "./index-556ja8an.js";
|
|
12
12
|
import {
|
|
13
13
|
PlanSchema
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-cjjcey0h.js";
|
|
15
15
|
import {
|
|
16
16
|
assertProjectRoot
|
|
17
17
|
} from "./index-nqbqkx4c.js";
|
|
18
18
|
import {
|
|
19
19
|
atomicWriteSwarmFile,
|
|
20
20
|
atomicWriteSwarmFileSync
|
|
21
|
-
} from "./index-
|
|
21
|
+
} from "./index-3b762978.js";
|
|
22
22
|
import {
|
|
23
23
|
require_proper_lockfile
|
|
24
24
|
} from "./index-7g4c7s5r.js";
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
init_loader,
|
|
4
4
|
loadPluginConfigWithMeta
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-cjjcey0h.js";
|
|
6
6
|
import {
|
|
7
7
|
init_schema
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-vcen0ne4.js";
|
|
9
9
|
import {
|
|
10
10
|
DEFAULT_WORKTREE_ISOLATION_CONFIG,
|
|
11
11
|
init_constants
|