opencode-swarm 7.153.2 → 7.154.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/pending-delegations.d.ts +29 -0
- package/dist/background/pr-subscriptions.d.ts +258 -27
- package/dist/cli/{config-doctor-tv0ar88m.js → config-doctor-8p9y543t.js} +2 -2
- package/dist/cli/{core-kmsm50zn.js → core-1h6x6k59.js} +1 -1
- package/dist/cli/{curation-policy-twa6agf8.js → curation-policy-9r902jw4.js} +6 -6
- package/dist/cli/{curator-llm-factory-dxkhdhwg.js → curator-llm-factory-ypwf3a90.js} +29 -29
- package/dist/cli/{curator-wxe863k9.js → curator-yj00z1qz.js} +29 -29
- package/dist/cli/{evidence-summary-service-9akrdg9t.js → evidence-summary-service-npq04240.js} +12 -12
- package/dist/cli/{gate-evidence-bdzqbg2y.js → gate-evidence-4b6t0ycn.js} +6 -6
- package/dist/cli/{guardrail-explain-kx9rem51.js → guardrail-explain-dyxbhrdj.js} +30 -30
- package/dist/cli/{guardrail-log-zxzyx1de.js → guardrail-log-eyecsekk.js} +5 -5
- package/dist/cli/{guardrail-reset-1mc3st34.js → guardrail-reset-269jdwhd.js} +29 -29
- package/dist/cli/{hive-promoter-gncwtq0z.js → hive-promoter-5936am48.js} +29 -29
- package/dist/cli/{index-hhv2pvab.js → index-10zvxqra.js} +1 -1
- package/dist/cli/{index-j4f8sz67.js → index-1tdsddab.js} +192 -102
- package/dist/cli/{index-kenz5bja.js → index-2kzxkx50.js} +31 -31
- package/dist/cli/{index-3bh4h6ve.js → index-2mbs5q26.js} +7 -7
- package/dist/cli/{index-x3y6zhgj.js → index-3db7xza0.js} +1 -1
- package/dist/cli/{index-h3zhb18p.js → index-3hdnfmhp.js} +2 -2
- package/dist/cli/{index-84m4per1.js → index-3mhgv8d6.js} +2 -2
- package/dist/cli/{index-21pt4jwf.js → index-48m4841x.js} +1 -1
- package/dist/cli/{index-ebshrg4x.js → index-4g00jhbs.js} +3 -3
- package/dist/cli/{index-5zp4c36c.js → index-4y7g04py.js} +1 -1
- package/dist/cli/{index-vhbds89e.js → index-68w5jxv5.js} +4 -4
- package/dist/cli/{index-4pjkdcgc.js → index-6yc06dx9.js} +1 -1
- package/dist/cli/{index-2mqmvxac.js → index-7jnh1sgb.js} +7 -1
- package/dist/cli/{index-pk1gbqmq.js → index-c6dfyzdh.js} +1 -1
- package/dist/cli/{index-td0jz8xe.js → index-c809a69b.js} +2 -2
- package/dist/cli/{index-0azn976d.js → index-dwh02jmv.js} +7 -7
- package/dist/cli/{index-3cegckkq.js → index-garsang6.js} +1 -1
- package/dist/cli/{index-bw55r5bz.js → index-hk4wa0v1.js} +6 -6
- package/dist/cli/{index-5ad8xcv3.js → index-mddgkqg9.js} +2 -2
- package/dist/cli/{index-s6b8jgtn.js → index-nkr634n6.js} +1 -1
- package/dist/cli/{index-3fpqpyp6.js → index-p4y7jefb.js} +2 -2
- package/dist/cli/{index-kvk65qzz.js → index-pcj7jk4t.js} +3 -3
- package/dist/cli/{index-56ejcj07.js → index-qcz4xprd.js} +4 -4
- package/dist/cli/{index-zppxpc3y.js → index-s0a4ewkb.js} +2 -2
- package/dist/cli/{index-h06112sh.js → index-s70tmqn3.js} +5 -5
- package/dist/cli/{index-yvepnbyd.js → index-snnps1vm.js} +5 -5
- package/dist/cli/{index-a58nmnmz.js → index-tnm9bb8b.js} +5 -3
- package/dist/cli/{index-x8vw6ap1.js → index-ttqnhxxq.js} +59 -42
- package/dist/cli/{index-891g7hbf.js → index-vtdwkfbv.js} +1 -1
- package/dist/cli/index-wfxg3s7n.js +1158 -0
- package/dist/cli/{index-02rbfrab.js → index-wpstzk85.js} +4 -4
- package/dist/cli/{index-1gzdnjg9.js → index-y64jrbch.js} +2 -2
- package/dist/cli/{index-3ttktt56.js → index-yve4e8fx.js} +1 -1
- package/dist/cli/index.js +29 -29
- package/dist/cli/{knowledge-escalator-gp3mpbqe.js → knowledge-escalator-bxpzeth0.js} +11 -11
- package/dist/cli/{knowledge-events-nvkhtqvn.js → knowledge-events-jxdpg2hj.js} +9 -9
- package/dist/cli/{knowledge-link-ge0rddxw.js → knowledge-link-nwxykjya.js} +5 -5
- package/dist/cli/{knowledge-store-2ngh8xvv.js → knowledge-store-336hyzs8.js} +6 -6
- package/dist/cli/{knowledge-validator-4bphyrec.js → knowledge-validator-9wkvnsv0.js} +8 -8
- package/dist/cli/{pending-delegations-nk78wx7h.js → pending-delegations-0fmj1qy6.js} +3 -3
- package/dist/cli/{pr-subscriptions-dq1f61ye.js → pr-subscriptions-1ndwgtbw.js} +15 -4
- package/dist/cli/{runner-n50w1y4w.js → runner-06dvm53x.js} +6 -6
- package/dist/cli/{scan-cursor-c16xtygz.js → scan-cursor-3xxqtxwx.js} +7 -7
- package/dist/cli/{schema-83tbte2g.js → schema-jdx83m4m.js} +1 -1
- package/dist/cli/{scope-persistence-gdbw8xh8.js → scope-persistence-wgxn2kba.js} +8 -8
- package/dist/cli/{skill-generator-gr13xeha.js → skill-generator-vmxsc2fm.js} +13 -13
- package/dist/cli/{telemetry-hh1j99za.js → telemetry-q2km2zrz.js} +1 -1
- package/dist/cli/{worktree-collision-ownership-4drcjymy.js → worktree-collision-ownership-gsay5210.js} +5 -5
- package/dist/cli/{worktree-isolation-jjkfg2pg.js → worktree-isolation-peb4bkg3.js} +29 -29
- package/dist/commands/pr-monitor-status.d.ts +8 -1
- package/dist/config/schema.d.ts +8 -0
- package/dist/hooks/pr-review-resilience-circuit.d.ts +232 -0
- package/dist/hooks/pr-workflow-gate.d.ts +10 -11
- package/dist/index.js +298 -289
- package/dist/observability/catalog.d.ts +6 -3
- package/dist/telemetry.d.ts +21 -1
- package/package.json +1 -1
- package/dist/cli/index-meg33yyv.js +0 -247
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
handleGuardrailExplain
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-3mhgv8d6.js";
|
|
5
5
|
import {
|
|
6
6
|
handleGuardrailLog
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-48m4841x.js";
|
|
8
8
|
import {
|
|
9
9
|
COMMAND_REGISTRY,
|
|
10
10
|
SWARM_COMMAND_TOOL_ALLOWLIST,
|
|
@@ -86,51 +86,51 @@ import {
|
|
|
86
86
|
handleWriteRetroCommand,
|
|
87
87
|
normalizeSwarmCommandInput,
|
|
88
88
|
resolveCommand
|
|
89
|
-
} from "./index-
|
|
90
|
-
import"./index-
|
|
91
|
-
import"./index-
|
|
92
|
-
import"./index-
|
|
89
|
+
} from "./index-1tdsddab.js";
|
|
90
|
+
import"./index-3hdnfmhp.js";
|
|
91
|
+
import"./index-10zvxqra.js";
|
|
92
|
+
import"./index-dwh02jmv.js";
|
|
93
93
|
import"./index-134d35c1.js";
|
|
94
94
|
import"./index-nj6rmyeh.js";
|
|
95
|
-
import"./index-
|
|
96
|
-
import"./index-
|
|
95
|
+
import"./index-6yc06dx9.js";
|
|
96
|
+
import"./index-y64jrbch.js";
|
|
97
97
|
import"./index-y8552snf.js";
|
|
98
|
-
import"./index-
|
|
98
|
+
import"./index-mddgkqg9.js";
|
|
99
99
|
import"./index-70ha9e09.js";
|
|
100
100
|
import"./index-c8s9a3zh.js";
|
|
101
101
|
import"./index-9ss2m4rs.js";
|
|
102
102
|
import"./index-vnn7qq8c.js";
|
|
103
|
-
import"./index-
|
|
104
|
-
import"./index-
|
|
105
|
-
import"./index-
|
|
106
|
-
import"./index-
|
|
107
|
-
import"./index-
|
|
103
|
+
import"./index-wfxg3s7n.js";
|
|
104
|
+
import"./index-68w5jxv5.js";
|
|
105
|
+
import"./index-snnps1vm.js";
|
|
106
|
+
import"./index-qcz4xprd.js";
|
|
107
|
+
import"./index-yve4e8fx.js";
|
|
108
108
|
import"./index-rtry5xyf.js";
|
|
109
|
-
import"./index-
|
|
109
|
+
import"./index-garsang6.js";
|
|
110
110
|
import"./index-zsrtt42s.js";
|
|
111
|
-
import"./index-
|
|
112
|
-
import"./index-
|
|
113
|
-
import"./index-
|
|
114
|
-
import"./index-
|
|
115
|
-
import"./index-
|
|
116
|
-
import"./index-
|
|
111
|
+
import"./index-wpstzk85.js";
|
|
112
|
+
import"./index-nkr634n6.js";
|
|
113
|
+
import"./index-7jnh1sgb.js";
|
|
114
|
+
import"./index-s70tmqn3.js";
|
|
115
|
+
import"./index-4g00jhbs.js";
|
|
116
|
+
import"./index-c6dfyzdh.js";
|
|
117
117
|
import"./index-556ja8an.js";
|
|
118
118
|
import"./index-b43rt5ph.js";
|
|
119
119
|
import"./index-q7sjgr1y.js";
|
|
120
120
|
import"./index-4fwbbad3.js";
|
|
121
|
-
import"./index-
|
|
122
|
-
import"./index-
|
|
123
|
-
import"./index-
|
|
121
|
+
import"./index-hk4wa0v1.js";
|
|
122
|
+
import"./index-2mbs5q26.js";
|
|
123
|
+
import"./index-p4y7jefb.js";
|
|
124
124
|
import"./index-gprxjmm7.js";
|
|
125
125
|
import"./index-n832052r.js";
|
|
126
126
|
import"./index-4cgee5vh.js";
|
|
127
127
|
import"./index-z6xqpmqg.js";
|
|
128
128
|
import"./index-r3mvsbtq.js";
|
|
129
|
-
import"./index-
|
|
129
|
+
import"./index-4y7g04py.js";
|
|
130
130
|
import {
|
|
131
131
|
init_schema,
|
|
132
132
|
stripKnownSwarmPrefix
|
|
133
|
-
} from "./index-
|
|
133
|
+
} from "./index-tnm9bb8b.js";
|
|
134
134
|
import {
|
|
135
135
|
AGENT_TOOL_MAP,
|
|
136
136
|
ORCHESTRATOR_NAME,
|
|
@@ -140,13 +140,13 @@ import"./index-9e6fdz2h.js";
|
|
|
140
140
|
import"./index-4rhhvd1a.js";
|
|
141
141
|
import"./index-zjygnfay.js";
|
|
142
142
|
import"./index-ae75rja9.js";
|
|
143
|
-
import"./index-
|
|
144
|
-
import"./index-
|
|
143
|
+
import"./index-3db7xza0.js";
|
|
144
|
+
import"./index-s0a4ewkb.js";
|
|
145
145
|
import"./index-bk5tah7q.js";
|
|
146
|
-
import"./index-
|
|
147
|
-
import"./index-
|
|
146
|
+
import"./index-c809a69b.js";
|
|
147
|
+
import"./index-vtdwkfbv.js";
|
|
148
148
|
import"./index-ed5ykebp.js";
|
|
149
|
-
import"./index-
|
|
149
|
+
import"./index-ttqnhxxq.js";
|
|
150
150
|
import"./index-7g4c7s5r.js";
|
|
151
151
|
import"./index-bpmtbmy9.js";
|
|
152
152
|
import"./index-zgwm4ryv.js";
|
|
@@ -4,26 +4,26 @@ import {
|
|
|
4
4
|
} from "./index-4cgee5vh.js";
|
|
5
5
|
import {
|
|
6
6
|
loadPluginConfigWithMeta
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-4y7g04py.js";
|
|
8
8
|
import {
|
|
9
9
|
KnowledgeConfigSchema,
|
|
10
10
|
init_schema
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-tnm9bb8b.js";
|
|
12
12
|
import {
|
|
13
13
|
resolveHiveEventsPath
|
|
14
14
|
} from "./index-ae75rja9.js";
|
|
15
15
|
import {
|
|
16
16
|
resolveKnowledgeStoreDir
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-3db7xza0.js";
|
|
18
18
|
import {
|
|
19
19
|
atomicWriteFile
|
|
20
|
-
} from "./index-
|
|
20
|
+
} from "./index-s0a4ewkb.js";
|
|
21
21
|
import {
|
|
22
22
|
assertProjectRoot
|
|
23
|
-
} from "./index-
|
|
23
|
+
} from "./index-vtdwkfbv.js";
|
|
24
24
|
import {
|
|
25
25
|
emit
|
|
26
|
-
} from "./index-
|
|
26
|
+
} from "./index-ttqnhxxq.js";
|
|
27
27
|
import {
|
|
28
28
|
require_proper_lockfile
|
|
29
29
|
} from "./index-7g4c7s5r.js";
|
|
@@ -2793,7 +2793,7 @@ async function applyKnowledgeVerdictFeedback(directory, options) {
|
|
|
2793
2793
|
}
|
|
2794
2794
|
let bumps = 0;
|
|
2795
2795
|
if (deltas.length > 0) {
|
|
2796
|
-
const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-
|
|
2796
|
+
const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-336hyzs8.js");
|
|
2797
2797
|
bumps = await bumpKnowledgeConfidenceBatch(directory, deltas, options?.floorOptions);
|
|
2798
2798
|
}
|
|
2799
2799
|
return {
|
|
@@ -11,13 +11,13 @@ import {
|
|
|
11
11
|
import {
|
|
12
12
|
init_schema,
|
|
13
13
|
stripKnownSwarmPrefix
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-tnm9bb8b.js";
|
|
15
15
|
import {
|
|
16
16
|
init_constants
|
|
17
17
|
} from "./index-myt57pht.js";
|
|
18
18
|
import {
|
|
19
19
|
telemetry
|
|
20
|
-
} from "./index-
|
|
20
|
+
} from "./index-ttqnhxxq.js";
|
|
21
21
|
import {
|
|
22
22
|
init_logger,
|
|
23
23
|
warn
|
|
@@ -14,14 +14,14 @@ import {
|
|
|
14
14
|
detectWindowsWrites,
|
|
15
15
|
getSharedClassifierGuardrailBlock,
|
|
16
16
|
resolveWriteTargets
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-1tdsddab.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-3hdnfmhp.js";
|
|
25
25
|
|
|
26
26
|
// src/services/guardrail-explain-service.ts
|
|
27
27
|
import path from "path";
|
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
PlanSchema,
|
|
5
5
|
TaskStatusSchema,
|
|
6
6
|
init_loader
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-4y7g04py.js";
|
|
8
8
|
import {
|
|
9
9
|
assertProjectRoot,
|
|
10
10
|
withEvidenceLock
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-vtdwkfbv.js";
|
|
12
12
|
import {
|
|
13
13
|
emit
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-ttqnhxxq.js";
|
|
15
15
|
import {
|
|
16
16
|
criticalWarn,
|
|
17
17
|
init_logger,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
ALLOWED_SKILL_PATH_PREFIXES,
|
|
4
4
|
validateSkillPath
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-qcz4xprd.js";
|
|
6
6
|
import {
|
|
7
7
|
withTimeoutSignal
|
|
8
8
|
} from "./index-q7sjgr1y.js";
|
|
@@ -12,11 +12,11 @@ import {
|
|
|
12
12
|
resolveHiveKnowledgePath,
|
|
13
13
|
resolveSwarmKnowledgePath,
|
|
14
14
|
transactKnowledge
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-hk4wa0v1.js";
|
|
16
16
|
import {
|
|
17
17
|
effectiveRetrievalOutcomes,
|
|
18
18
|
readAuthoritativeKnowledgeCounterRollups
|
|
19
|
-
} from "./index-
|
|
19
|
+
} from "./index-2mbs5q26.js";
|
|
20
20
|
import {
|
|
21
21
|
advisoryWarn,
|
|
22
22
|
init_warning_buffer
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
import {
|
|
29
29
|
atomicWriteFileAnyRoot,
|
|
30
30
|
atomicWriteSwarmFile
|
|
31
|
-
} from "./index-
|
|
31
|
+
} from "./index-c809a69b.js";
|
|
32
32
|
import {
|
|
33
33
|
init_logger,
|
|
34
34
|
log,
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
EvidenceLockTimeoutError,
|
|
10
10
|
withEvidenceLock
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-vtdwkfbv.js";
|
|
12
12
|
import {
|
|
13
13
|
exports_external,
|
|
14
14
|
init_zod
|
|
@@ -442,6 +442,12 @@ var ResultSchema = exports_external.object({
|
|
|
442
442
|
transcriptIncomplete: exports_external.boolean().optional(),
|
|
443
443
|
messageCount: exports_external.number().optional(),
|
|
444
444
|
workflowLaneFailureClass: exports_external.enum(["contract", "resource", "deadline"]).optional(),
|
|
445
|
+
terminalErrorClass: exports_external.object({
|
|
446
|
+
kind: exports_external.enum(["provider", "aborted", "output_length", "unknown"]),
|
|
447
|
+
category: exports_external.string().min(1).max(128),
|
|
448
|
+
statusCode: exports_external.number().int().optional(),
|
|
449
|
+
hostRetryable: exports_external.boolean().optional()
|
|
450
|
+
}).strict().optional(),
|
|
445
451
|
salvagedWorkflowLanes: exports_external.array(exports_external.string()).optional(),
|
|
446
452
|
salvagedWorkflowLaneRecoveries: exports_external.array(WorkflowLaneRecoverySchema).optional()
|
|
447
453
|
}).strict();
|
|
@@ -42,7 +42,7 @@ var SWARM_TEMP_GRAMMARS = [
|
|
|
42
42
|
token: "instance",
|
|
43
43
|
quarantineEligible: true,
|
|
44
44
|
parsesTarget: true,
|
|
45
|
-
producers: ["src/hooks/pr-workflow-gate.ts:
|
|
45
|
+
producers: ["src/hooks/pr-workflow-gate.ts:14774"],
|
|
46
46
|
note: "pre/post-rename file-identity verification (assertOpened/ClosedSwarmFileIdentity, pr-workflow-gate.ts:14547-14595) is writer-specific and load-bearing"
|
|
47
47
|
},
|
|
48
48
|
{
|
|
@@ -123,7 +123,7 @@ var SWARM_TEMP_GRAMMARS = [
|
|
|
123
123
|
"src/tools/spec-write.ts:98",
|
|
124
124
|
"src/sdd/effective-spec.ts:1149",
|
|
125
125
|
"src/background/lane-output-store.ts:353",
|
|
126
|
-
"src/background/pending-delegations.ts:
|
|
126
|
+
"src/background/pending-delegations.ts:1053",
|
|
127
127
|
"src/background/delegation-health.ts:390",
|
|
128
128
|
"src/tools/submit-phase-council-verdicts.ts:458",
|
|
129
129
|
"src/summaries/store.ts:46 (pre-#2035)"
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
EvaluationRunV1Schema,
|
|
7
7
|
GateAuditResultV1Schema,
|
|
8
8
|
getProtectedEvaluationRunIds
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-y64jrbch.js";
|
|
10
10
|
import {
|
|
11
11
|
readEffectiveSpecSync
|
|
12
12
|
} from "./index-9ss2m4rs.js";
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
readTaskEvidence,
|
|
24
24
|
readTaskEvidenceRaw,
|
|
25
25
|
sanitizeTaskId
|
|
26
|
-
} from "./index-
|
|
26
|
+
} from "./index-wpstzk85.js";
|
|
27
27
|
import {
|
|
28
28
|
LedgerStaleWriterError,
|
|
29
29
|
appendLedgerEvent,
|
|
@@ -43,10 +43,10 @@ import {
|
|
|
43
43
|
replayFromLedgerWithStatus,
|
|
44
44
|
takeSnapshotEvent,
|
|
45
45
|
takeSnapshotWithRetry
|
|
46
|
-
} from "./index-
|
|
46
|
+
} from "./index-4g00jhbs.js";
|
|
47
47
|
import {
|
|
48
48
|
appendCoreEventSync
|
|
49
|
-
} from "./index-
|
|
49
|
+
} from "./index-c6dfyzdh.js";
|
|
50
50
|
import {
|
|
51
51
|
init_executor,
|
|
52
52
|
isUntrustedEnvKey,
|
|
@@ -68,7 +68,7 @@ import {
|
|
|
68
68
|
} from "./index-r3mvsbtq.js";
|
|
69
69
|
import {
|
|
70
70
|
PlanSchema
|
|
71
|
-
} from "./index-
|
|
71
|
+
} from "./index-4y7g04py.js";
|
|
72
72
|
import {
|
|
73
73
|
GIT_BINARY_ENV_VAR,
|
|
74
74
|
describeGitResolution,
|
|
@@ -79,14 +79,14 @@ import {
|
|
|
79
79
|
assertProjectRoot,
|
|
80
80
|
tryAcquireLock,
|
|
81
81
|
withEvidenceLock
|
|
82
|
-
} from "./index-
|
|
82
|
+
} from "./index-vtdwkfbv.js";
|
|
83
83
|
import {
|
|
84
84
|
invalidateCachedArtifact,
|
|
85
85
|
readCachedParsedFile
|
|
86
86
|
} from "./index-ed5ykebp.js";
|
|
87
87
|
import {
|
|
88
88
|
emit
|
|
89
|
-
} from "./index-
|
|
89
|
+
} from "./index-ttqnhxxq.js";
|
|
90
90
|
import {
|
|
91
91
|
ZodError,
|
|
92
92
|
init_zod
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
} from "./index-ae75rja9.js";
|
|
7
7
|
import {
|
|
8
8
|
resolveKnowledgeStoreDir
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-3db7xza0.js";
|
|
10
10
|
import {
|
|
11
11
|
atomicWriteFile
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-s0a4ewkb.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-jxdpg2hj.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-9wkvnsv0.js");
|
|
784
|
+
const { KnowledgeConfigSchema } = await import("./schema-jdx83m4m.js");
|
|
785
785
|
let config;
|
|
786
786
|
try {
|
|
787
|
-
const { loadPluginConfigWithMeta } = await import("./index-
|
|
787
|
+
const { loadPluginConfigWithMeta } = await import("./index-pcj7jk4t.js");
|
|
788
788
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
789
789
|
config = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
790
790
|
} catch {
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
import {
|
|
3
3
|
readKnowledge,
|
|
4
4
|
transactKnowledge
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-hk4wa0v1.js";
|
|
6
6
|
import {
|
|
7
7
|
init_git_executable,
|
|
8
8
|
resolveGitExecutableAsync
|
|
9
9
|
} from "./index-9e6fdz2h.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveKnowledgeStoreDir
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-3db7xza0.js";
|
|
13
13
|
import {
|
|
14
14
|
init_knowledge_types,
|
|
15
15
|
isActiveStatus
|
|
@@ -92,7 +92,7 @@ var _internals = {
|
|
|
92
92
|
symlinkSync: fs.symlinkSync
|
|
93
93
|
},
|
|
94
94
|
writeScopeToDisk: async (directory, taskId, files) => {
|
|
95
|
-
const { writeScopeToDisk: realWrite } = await import("./scope-persistence-
|
|
95
|
+
const { writeScopeToDisk: realWrite } = await import("./scope-persistence-wgxn2kba.js");
|
|
96
96
|
return realWrite(directory, taskId, files);
|
|
97
97
|
},
|
|
98
98
|
writeLaneProfileToDisk: async (_worktreePath, _laneIndex, _envOverrides) => {
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
init_loader,
|
|
4
4
|
loadPluginConfigWithMeta
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-4y7g04py.js";
|
|
6
6
|
import {
|
|
7
7
|
init_schema
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-tnm9bb8b.js";
|
|
9
9
|
import {
|
|
10
10
|
DEFAULT_WORKTREE_ISOLATION_CONFIG,
|
|
11
11
|
init_constants
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
_internals,
|
|
4
4
|
resolveWorktreeIsolationConfig
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-p4y7jefb.js";
|
|
6
6
|
import {
|
|
7
7
|
ApprovalEvidenceSchema,
|
|
8
8
|
BaseEvidenceSchema,
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
loadPluginConfig,
|
|
43
43
|
loadPluginConfigWithMeta,
|
|
44
44
|
loadPluginConfigWithMetaAsync
|
|
45
|
-
} from "./index-
|
|
45
|
+
} from "./index-4y7g04py.js";
|
|
46
46
|
import {
|
|
47
47
|
AUTO_REVIEW_V8_BURN_IN_DECISION,
|
|
48
48
|
AgentOverrideConfigSchema,
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
TurboConfigSchema,
|
|
65
65
|
WorktreeIsolationConfigSchema,
|
|
66
66
|
resolveAutoReviewConfig
|
|
67
|
-
} from "./index-
|
|
67
|
+
} from "./index-tnm9bb8b.js";
|
|
68
68
|
import {
|
|
69
69
|
ALL_AGENT_NAMES,
|
|
70
70
|
ALL_SUBAGENT_NAMES,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
authorizeCuration
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-yve4e8fx.js";
|
|
5
5
|
import {
|
|
6
6
|
findNearDuplicate,
|
|
7
7
|
inferTags,
|
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
resolveSwarmKnowledgePath,
|
|
10
10
|
resolveSwarmRejectedPath,
|
|
11
11
|
transactKnowledge
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-hk4wa0v1.js";
|
|
13
13
|
import {
|
|
14
14
|
resolveKnowledgeStoreDir
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-3db7xza0.js";
|
|
16
16
|
import {
|
|
17
17
|
atomicWriteFile
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-s0a4ewkb.js";
|
|
19
19
|
import {
|
|
20
20
|
require_proper_lockfile
|
|
21
21
|
} from "./index-7g4c7s5r.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
atomicWriteFileAnyRoot
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-c809a69b.js";
|
|
5
5
|
import {
|
|
6
6
|
withEvidenceLock
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-vtdwkfbv.js";
|
|
8
8
|
|
|
9
9
|
// src/evidence/task-file.ts
|
|
10
10
|
import * as path from "path";
|
|
@@ -2,23 +2,23 @@
|
|
|
2
2
|
import {
|
|
3
3
|
computePlanStructureHash,
|
|
4
4
|
derivePlanId
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-4g00jhbs.js";
|
|
6
6
|
import {
|
|
7
7
|
appendCoreEventSync
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-c6dfyzdh.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-4y7g04py.js";
|
|
15
15
|
import {
|
|
16
16
|
atomicWriteSwarmFile,
|
|
17
17
|
atomicWriteSwarmFileSync
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-c809a69b.js";
|
|
19
19
|
import {
|
|
20
20
|
assertProjectRoot
|
|
21
|
-
} from "./index-
|
|
21
|
+
} from "./index-vtdwkfbv.js";
|
|
22
22
|
import {
|
|
23
23
|
require_proper_lockfile
|
|
24
24
|
} from "./index-7g4c7s5r.js";
|
|
@@ -6,12 +6,12 @@ import {
|
|
|
6
6
|
resolveSwarmKnowledgePath,
|
|
7
7
|
transactKnowledge,
|
|
8
8
|
wordBigrams
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-hk4wa0v1.js";
|
|
10
10
|
import {
|
|
11
11
|
queryHistoricalOutcomes,
|
|
12
12
|
readKnowledgeEvents,
|
|
13
13
|
recordKnowledgeEvent
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-2mbs5q26.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-9wkvnsv0.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-jdx83m4m.js");
|
|
231
|
+
const { loadPluginConfigWithMeta } = await import("./index-pcj7jk4t.js");
|
|
232
232
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
233
233
|
policyConfig = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
234
234
|
} catch {
|
|
@@ -21,7 +21,7 @@ var package_default;
|
|
|
21
21
|
var init_package = __esm(() => {
|
|
22
22
|
package_default = {
|
|
23
23
|
name: "opencode-swarm",
|
|
24
|
-
version: "7.
|
|
24
|
+
version: "7.154.0",
|
|
25
25
|
description: "Architect-centric agentic swarm plugin for OpenCode - hub-and-spoke orchestration with SME consultation, code generation, and QA review",
|
|
26
26
|
main: "dist/index.js",
|
|
27
27
|
types: "dist/index.d.ts",
|
|
@@ -1620,14 +1620,16 @@ var init_schema = __esm(() => {
|
|
|
1620
1620
|
canary_probe_ms: 300000,
|
|
1621
1621
|
status_probe_timeout_ms: 2000,
|
|
1622
1622
|
correlated_failure_threshold: 2,
|
|
1623
|
-
max_retry_attempts_after_initial: 2
|
|
1623
|
+
max_retry_attempts_after_initial: 2,
|
|
1624
|
+
circuit_open_duration_ms: 60000
|
|
1624
1625
|
};
|
|
1625
1626
|
PrReviewResilienceConfigSchema = exports_external.object({
|
|
1626
1627
|
enabled: exports_external.boolean().default(false),
|
|
1627
1628
|
canary_probe_ms: exports_external.number().int().min(1).max(3600000).default(300000),
|
|
1628
1629
|
status_probe_timeout_ms: exports_external.number().int().min(1).max(60000).default(2000),
|
|
1629
1630
|
correlated_failure_threshold: exports_external.number().int().min(2).max(8).default(2),
|
|
1630
|
-
max_retry_attempts_after_initial: exports_external.number().int().min(0).max(2).default(2)
|
|
1631
|
+
max_retry_attempts_after_initial: exports_external.number().int().min(0).max(2).default(2),
|
|
1632
|
+
circuit_open_duration_ms: exports_external.number().int().min(1000).max(1800000).default(60000)
|
|
1631
1633
|
}).strict();
|
|
1632
1634
|
PluginConfigSchema = exports_external.object({
|
|
1633
1635
|
config_format_version: exports_external.number().int().min(0).default(1),
|