opencode-swarm 7.162.0 → 7.163.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/background/pr-review-contract.d.ts +1 -24
- package/dist/cli/authorization-vstrh7ra.js +23 -0
- package/dist/cli/{coder-settlement-s8cskxk7.js → coder-settlement-g2g5kkv5.js} +10 -10
- package/dist/cli/{config-doctor-636h188h.js → config-doctor-p16xr78z.js} +2 -2
- package/dist/cli/{core-h3hsczyq.js → core-g088v0zt.js} +1 -1
- package/dist/cli/{curation-policy-ayq5kmnf.js → curation-policy-j12j2gvc.js} +6 -6
- package/dist/cli/{curator-p0dwpn2x.js → curator-3m8a8qsn.js} +33 -31
- package/dist/cli/curator-llm-factory-p00hks4v.js +69 -0
- package/dist/cli/{evidence-summary-service-hvbqyb4g.js → evidence-summary-service-4ghqakhx.js} +13 -13
- package/dist/cli/{gate-evidence-dhgmnsh0.js → gate-evidence-4v8apasx.js} +6 -6
- package/dist/cli/guardrail-explain-smqenqtm.js +70 -0
- package/dist/cli/{guardrail-log-qc7rfhv2.js → guardrail-log-mmh4b4k4.js} +7 -7
- package/dist/cli/{guardrail-reset-cxkf5h0x.js → guardrail-reset-zge5hg4p.js} +33 -31
- package/dist/cli/{hive-promoter-ppbrv8m1.js → hive-promoter-vxez5s7m.js} +33 -31
- package/dist/cli/{index-jw7z3gem.js → index-0103w5pf.js} +2 -2
- package/dist/cli/{index-fx3em0dr.js → index-2zgjcmmc.js} +139 -45
- package/dist/cli/{index-qw893zqp.js → index-3ab9tczn.js} +8 -8
- package/dist/cli/{index-q87ht62k.js → index-3b762978.js} +5 -2
- package/dist/cli/{index-5wq0dd30.js → index-3rjxbe1p.js} +2 -2
- package/dist/cli/{index-z4n60b0a.js → index-453tzvkg.js} +1 -1
- package/dist/cli/{index-pde4zn7j.js → index-4t68xs0p.js} +3 -3
- package/dist/cli/{index-sjkxrf06.js → index-4xggfhge.js} +4 -4
- package/dist/cli/{index-8vwe2qjh.js → index-5hgn302x.js} +9 -9
- package/dist/cli/{index-bdmg6yvj.js → index-7n9jznv0.js} +4 -4
- package/dist/cli/{index-2rhs7j4r.js → index-7wb2v7jg.js} +2152 -2622
- package/dist/cli/{index-kk9yk7an.js → index-8ada7ag7.js} +2 -2
- package/dist/cli/{index-nqbqkx4c.js → index-9crtmnqg.js} +1 -1
- package/dist/cli/{index-3gwkmq53.js → index-axx3t3k7.js} +2 -2
- package/dist/cli/{index-80pmq6q2.js → index-cqgpvx2d.js} +2 -2
- package/dist/cli/{index-vcv9m2q5.js → index-eqkdjfqa.js} +4 -4
- package/dist/cli/{index-77syzssw.js → index-f7t5fn4z.js} +4 -4
- package/dist/cli/{index-9wrmzsnk.js → index-fckfgptr.js} +1 -1
- package/dist/cli/{index-0h63swrc.js → index-g4bvsapf.js} +5 -5
- package/dist/cli/{index-ydbd41sv.js → index-hm239n1p.js} +1 -1
- package/dist/cli/{index-qn4w0gar.js → index-m4nhy4fp.js} +1 -1
- package/dist/cli/{index-2ze7yqm8.js → index-m7yt3xmk.js} +1 -1
- package/dist/cli/index-mmngnxev.js +883 -0
- package/dist/cli/{index-7z9gyts0.js → index-n2mhyect.js} +1 -1
- package/dist/cli/{index-db520vnn.js → index-n67vx5zw.js} +2 -2
- package/dist/cli/{index-25xvw7hq.js → index-nwa7ctyf.js} +35 -33
- package/dist/cli/{index-4wmpv2kn.js → index-ptsmms01.js} +6 -6
- package/dist/cli/{index-mfewnd7j.js → index-pykfqsk0.js} +5 -5
- package/dist/cli/{index-r7rn6e5f.js → index-qy2rm1f6.js} +6 -6
- package/dist/cli/{index-tnj464kq.js → index-rqh25ns3.js} +1 -1
- package/dist/cli/{index-tjaawnws.js → index-s8c6f9rr.js} +6 -4
- package/dist/cli/{index-vkaqrrsc.js → index-t4hs3qk6.js} +15 -644
- package/dist/cli/{index-1wapt173.js → index-w0yn4rmh.js} +3 -3
- package/dist/cli/{index-1mbwgw4p.js → index-w1mc7gcm.js} +2 -2
- package/dist/cli/index-w7ekntej.js +643 -0
- package/dist/cli/{index-acnwj4pc.js → index-xyhmt813.js} +1 -1
- package/dist/cli/{index-6w468bjy.js → index-zgz81a8x.js} +1 -1
- package/dist/cli/index.js +33 -31
- package/dist/cli/{knowledge-escalator-nyeg4ndw.js → knowledge-escalator-91d1n291.js} +12 -12
- package/dist/cli/{knowledge-events-z7smbnff.js → knowledge-events-xrd9es3p.js} +10 -10
- package/dist/cli/{knowledge-link-0byjmj0w.js → knowledge-link-vmdj5e5d.js} +5 -5
- package/dist/cli/{knowledge-store-p14t72y5.js → knowledge-store-2brg88cx.js} +6 -6
- package/dist/cli/{knowledge-validator-jg6zhx9s.js → knowledge-validator-s1v7kry2.js} +8 -8
- package/dist/cli/{pending-delegations-0111ywd2.js → pending-delegations-b341397j.js} +6 -5
- package/dist/cli/{pr-subscriptions-4e64sbwg.js → pr-subscriptions-2mkdt0ak.js} +5 -5
- package/dist/cli/{runner-rddddxmq.js → runner-3gw2njnx.js} +6 -6
- package/dist/cli/{scan-cursor-wjad4yd7.js → scan-cursor-jm7j3w1c.js} +7 -7
- package/dist/cli/{schema-9ebqj7mv.js → schema-6cpgnq4s.js} +1 -1
- package/dist/cli/{scope-persistence-j5hz4mnd.js → scope-persistence-q713ck5n.js} +9 -9
- package/dist/cli/{skill-generator-x6b05jz6.js → skill-generator-z9bs6vdt.js} +14 -14
- package/dist/cli/{telemetry-cmbjv240.js → telemetry-x4zggfd7.js} +1 -1
- package/dist/cli/{worktree-collision-ownership-g5n5xbqy.js → worktree-collision-ownership-drtv7jjp.js} +7 -6
- package/dist/cli/{worktree-isolation-ha70bwes.js → worktree-isolation-534h3c2f.js} +33 -31
- package/dist/council/council-observability.d.ts +42 -0
- package/dist/hooks/pr-workflow-gate.d.ts +20 -245
- package/dist/index.js +374 -374
- package/dist/observability/catalog.d.ts +8 -4
- package/dist/observability/ids.d.ts +1 -1
- package/dist/observability/legacy.d.ts +6 -4
- package/dist/observability/observe.d.ts +1 -1
- 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/dist/telemetry.d.ts +1 -1
- package/package.json +1 -1
- package/dist/cli/curator-llm-factory-g65xmh8f.js +0 -67
- package/dist/cli/guardrail-explain-s0dzn8c6.js +0 -68
- package/dist/cli/pr-review-reentry-authorization-b7ceja9y.js +0 -301
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
withEvidenceLock
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-9crtmnqg.js";
|
|
5
5
|
import {
|
|
6
6
|
atomicWriteFileAnyRoot
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-3b762978.js";
|
|
8
8
|
|
|
9
9
|
// src/evidence/task-file.ts
|
|
10
10
|
import * as path from "path";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
handleGuardrailExplain
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-w1mc7gcm.js";
|
|
5
5
|
import {
|
|
6
6
|
handleGuardrailLog
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-m4nhy4fp.js";
|
|
8
8
|
import {
|
|
9
9
|
COMMAND_REGISTRY,
|
|
10
10
|
SWARM_COMMAND_TOOL_ALLOWLIST,
|
|
@@ -94,56 +94,58 @@ import {
|
|
|
94
94
|
handleWriteRetroCommand,
|
|
95
95
|
normalizeSwarmCommandInput,
|
|
96
96
|
resolveCommand
|
|
97
|
-
} from "./index-
|
|
98
|
-
import"./index-
|
|
99
|
-
import"./index-
|
|
100
|
-
import"./index-
|
|
101
|
-
import"./index-
|
|
102
|
-
import"./index-
|
|
97
|
+
} from "./index-7wb2v7jg.js";
|
|
98
|
+
import"./index-xyhmt813.js";
|
|
99
|
+
import"./index-s8c6f9rr.js";
|
|
100
|
+
import"./index-453tzvkg.js";
|
|
101
|
+
import"./index-5hgn302x.js";
|
|
102
|
+
import"./index-0103w5pf.js";
|
|
103
103
|
import"./index-txdagbh7.js";
|
|
104
104
|
import"./index-n249fbw7.js";
|
|
105
105
|
import"./index-3146wmgv.js";
|
|
106
|
-
import"./index-
|
|
107
|
-
import"./index-
|
|
108
|
-
import"./index-
|
|
106
|
+
import"./index-4xggfhge.js";
|
|
107
|
+
import"./index-g4bvsapf.js";
|
|
108
|
+
import"./index-axx3t3k7.js";
|
|
109
109
|
import"./index-70ha9e09.js";
|
|
110
110
|
import"./index-c8s9a3zh.js";
|
|
111
111
|
import"./index-9ss2m4rs.js";
|
|
112
|
-
import"./index-
|
|
112
|
+
import"./index-7n9jznv0.js";
|
|
113
113
|
import"./index-zsrtt42s.js";
|
|
114
|
-
import"./index-
|
|
114
|
+
import"./index-qy2rm1f6.js";
|
|
115
115
|
import"./index-3f7hqtgg.js";
|
|
116
|
-
import"./index-
|
|
117
|
-
import"./index-
|
|
118
|
-
import"./index-
|
|
116
|
+
import"./index-fckfgptr.js";
|
|
117
|
+
import"./index-f7t5fn4z.js";
|
|
118
|
+
import"./index-hm239n1p.js";
|
|
119
119
|
import"./index-rtry5xyf.js";
|
|
120
|
-
import"./index-
|
|
121
|
-
import"./index-
|
|
122
|
-
import"./index-
|
|
120
|
+
import"./index-eqkdjfqa.js";
|
|
121
|
+
import"./index-zgz81a8x.js";
|
|
122
|
+
import"./index-t4hs3qk6.js";
|
|
123
123
|
import"./index-ddszzne4.js";
|
|
124
|
-
import"./index-
|
|
125
|
-
import"./index-
|
|
126
|
-
import"./index-
|
|
124
|
+
import"./index-mmngnxev.js";
|
|
125
|
+
import"./index-w7ekntej.js";
|
|
126
|
+
import"./index-pykfqsk0.js";
|
|
127
|
+
import"./index-4t68xs0p.js";
|
|
128
|
+
import"./index-8ada7ag7.js";
|
|
127
129
|
import"./index-556ja8an.js";
|
|
128
130
|
import"./index-4fwbbad3.js";
|
|
129
131
|
import"./index-b43rt5ph.js";
|
|
130
132
|
import"./index-q7sjgr1y.js";
|
|
131
|
-
import"./index-
|
|
132
|
-
import"./index-
|
|
133
|
-
import"./index-
|
|
133
|
+
import"./index-ptsmms01.js";
|
|
134
|
+
import"./index-3ab9tczn.js";
|
|
135
|
+
import"./index-3rjxbe1p.js";
|
|
134
136
|
import"./index-zg9d392c.js";
|
|
135
137
|
import"./index-n832052r.js";
|
|
136
138
|
import"./index-dtn0pne5.js";
|
|
137
139
|
import"./index-z6xqpmqg.js";
|
|
138
140
|
import"./index-r3mvsbtq.js";
|
|
139
|
-
import"./index-
|
|
141
|
+
import"./index-rqh25ns3.js";
|
|
140
142
|
import {
|
|
141
143
|
init_schema,
|
|
142
144
|
stripKnownSwarmPrefix
|
|
143
|
-
} from "./index-
|
|
145
|
+
} from "./index-m7yt3xmk.js";
|
|
144
146
|
import"./index-9e6fdz2h.js";
|
|
145
147
|
import"./index-4rhhvd1a.js";
|
|
146
|
-
import"./index-
|
|
148
|
+
import"./index-cqgpvx2d.js";
|
|
147
149
|
import {
|
|
148
150
|
AGENT_TOOL_MAP,
|
|
149
151
|
ORCHESTRATOR_NAME,
|
|
@@ -151,13 +153,13 @@ import {
|
|
|
151
153
|
} from "./index-9xd073d4.js";
|
|
152
154
|
import"./index-zjygnfay.js";
|
|
153
155
|
import"./index-ae75rja9.js";
|
|
154
|
-
import"./index-
|
|
155
|
-
import"./index-
|
|
156
|
+
import"./index-n2mhyect.js";
|
|
157
|
+
import"./index-n67vx5zw.js";
|
|
156
158
|
import"./index-bk5tah7q.js";
|
|
157
|
-
import"./index-
|
|
158
|
-
import"./index-
|
|
159
|
+
import"./index-9crtmnqg.js";
|
|
160
|
+
import"./index-3b762978.js";
|
|
161
|
+
import"./index-2zgjcmmc.js";
|
|
159
162
|
import"./index-ed5ykebp.js";
|
|
160
|
-
import"./index-fx3em0dr.js";
|
|
161
163
|
import"./index-7g4c7s5r.js";
|
|
162
164
|
import"./index-bpmtbmy9.js";
|
|
163
165
|
import"./index-zgwm4ryv.js";
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
} from "./index-ae75rja9.js";
|
|
7
7
|
import {
|
|
8
8
|
resolveKnowledgeStoreDir
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-n2mhyect.js";
|
|
10
10
|
import {
|
|
11
11
|
atomicWriteFile
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-n67vx5zw.js";
|
|
13
13
|
import {
|
|
14
14
|
init_knowledge_types,
|
|
15
15
|
isActiveStatus
|
|
@@ -713,7 +713,7 @@ async function applyConfidenceFloorAction(directory, touched, options) {
|
|
|
713
713
|
const {
|
|
714
714
|
readAuthoritativeKnowledgeCounterRollups,
|
|
715
715
|
effectiveRetrievalOutcomes
|
|
716
|
-
} = await import("./knowledge-events-
|
|
716
|
+
} = await import("./knowledge-events-xrd9es3p.js");
|
|
717
717
|
const rollups = await readAuthoritativeKnowledgeCounterRollups(directory);
|
|
718
718
|
const flagIds = new Set;
|
|
719
719
|
for (const e of atFloor) {
|
|
@@ -780,11 +780,11 @@ async function applyConfidenceFloorAction(directory, touched, options) {
|
|
|
780
780
|
});
|
|
781
781
|
}
|
|
782
782
|
if (action === "quarantine" && toQuarantine.length > 0) {
|
|
783
|
-
const { quarantineEntry } = await import("./knowledge-validator-
|
|
784
|
-
const { KnowledgeConfigSchema } = await import("./schema-
|
|
783
|
+
const { quarantineEntry } = await import("./knowledge-validator-s1v7kry2.js");
|
|
784
|
+
const { KnowledgeConfigSchema } = await import("./schema-6cpgnq4s.js");
|
|
785
785
|
let config;
|
|
786
786
|
try {
|
|
787
|
-
const { loadPluginConfigWithMeta } = await import("./index-
|
|
787
|
+
const { loadPluginConfigWithMeta } = await import("./index-w0yn4rmh.js");
|
|
788
788
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
789
789
|
config = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
790
790
|
} catch {
|
|
@@ -2,23 +2,23 @@
|
|
|
2
2
|
import {
|
|
3
3
|
computePlanStructureHash,
|
|
4
4
|
derivePlanId
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-4t68xs0p.js";
|
|
6
6
|
import {
|
|
7
7
|
appendCoreEventSync
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-8ada7ag7.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-rqh25ns3.js";
|
|
15
15
|
import {
|
|
16
16
|
assertProjectRoot
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-9crtmnqg.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";
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./index-3f7hqtgg.js";
|
|
6
6
|
import {
|
|
7
7
|
removeWorktreeProvisioningOwner
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-fckfgptr.js";
|
|
9
9
|
import {
|
|
10
10
|
SOURCE_WORKTREE_GONE_STAGE,
|
|
11
11
|
getTaskWorkflowSnapshot,
|
|
@@ -13,13 +13,13 @@ import {
|
|
|
13
13
|
reconcileLandedMerge,
|
|
14
14
|
withTaskEvidenceTransaction,
|
|
15
15
|
writeWorkflowWalFile
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-eqkdjfqa.js";
|
|
17
17
|
import {
|
|
18
18
|
canonicalRootKeyFresh
|
|
19
19
|
} from "./index-ddszzne4.js";
|
|
20
20
|
import {
|
|
21
21
|
appendCoreEventSync
|
|
22
|
-
} from "./index-
|
|
22
|
+
} from "./index-8ada7ag7.js";
|
|
23
23
|
import {
|
|
24
24
|
isPathWithinDeclaredScope
|
|
25
25
|
} from "./index-556ja8an.js";
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
} from "./index-4rhhvd1a.js";
|
|
37
37
|
import {
|
|
38
38
|
tryAcquireLock
|
|
39
|
-
} from "./index-
|
|
39
|
+
} from "./index-9crtmnqg.js";
|
|
40
40
|
import {
|
|
41
41
|
criticalWarn,
|
|
42
42
|
init_logger
|
|
@@ -478,7 +478,7 @@ async function cleanupRecoveredWorktree(directory, descriptor) {
|
|
|
478
478
|
awaitingMergeByCallID,
|
|
479
479
|
cleanupStandardWorktreeForCallId,
|
|
480
480
|
standardWorktreeByCallID
|
|
481
|
-
} = await import("./worktree-isolation-
|
|
481
|
+
} = await import("./worktree-isolation-534h3c2f.js");
|
|
482
482
|
standardWorktreeByCallID.delete(descriptor.callID);
|
|
483
483
|
if (hasResidue)
|
|
484
484
|
awaitingMergeByCallID.set(descriptor.callID, {
|
|
@@ -602,7 +602,7 @@ async function recoverCoderSettlement(directory, taskId) {
|
|
|
602
602
|
awaitingMergeByCallID,
|
|
603
603
|
finishStandardWorktreeDispatch,
|
|
604
604
|
standardWorktreeByCallID
|
|
605
|
-
} = await import("./worktree-isolation-
|
|
605
|
+
} = await import("./worktree-isolation-534h3c2f.js");
|
|
606
606
|
const descriptor = wal.worktree;
|
|
607
607
|
const reconstructedDispatch = {
|
|
608
608
|
callID: descriptor.callID,
|
|
@@ -11,16 +11,16 @@ import {
|
|
|
11
11
|
import {
|
|
12
12
|
init_schema,
|
|
13
13
|
stripKnownSwarmPrefix
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-m7yt3xmk.js";
|
|
15
15
|
import {
|
|
16
16
|
observeStoreHealth
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-cqgpvx2d.js";
|
|
18
18
|
import {
|
|
19
19
|
init_constants
|
|
20
20
|
} from "./index-9xd073d4.js";
|
|
21
21
|
import {
|
|
22
22
|
telemetry
|
|
23
|
-
} from "./index-
|
|
23
|
+
} from "./index-2zgjcmmc.js";
|
|
24
24
|
import {
|
|
25
25
|
init_logger,
|
|
26
26
|
warn
|
|
@@ -2639,6 +2639,9 @@ function checkFileAuthority(agentName, filePath, cwd, authorityConfig, options =
|
|
|
2639
2639
|
});
|
|
2640
2640
|
}
|
|
2641
2641
|
|
|
2642
|
+
// src/hooks/guardrails/helpers.ts
|
|
2643
|
+
init_constants();
|
|
2644
|
+
|
|
2642
2645
|
// src/hooks/normalize-tool-name.ts
|
|
2643
2646
|
var NAMESPACE_PREFIX_PATTERN = /^[^:]+[:.]/;
|
|
2644
2647
|
function normalizeToolName(toolName) {
|
|
@@ -2651,7 +2654,6 @@ function normalizeToolNameLowerCase(toolName) {
|
|
|
2651
2654
|
}
|
|
2652
2655
|
|
|
2653
2656
|
// src/hooks/guardrails/helpers.ts
|
|
2654
|
-
init_constants();
|
|
2655
2657
|
function isInDeclaredScope(filePath, scopeEntries, cwd) {
|
|
2656
2658
|
return isPathWithinDeclaredScope(filePath, scopeEntries, cwd);
|
|
2657
2659
|
}
|