opencode-swarm 7.192.2 → 7.192.4
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/binaries/win32-arm64/swarm-sandbox-runner.exe +0 -0
- package/binaries/win32-x64/swarm-sandbox-runner.exe +0 -0
- package/dist/cli/{auto-checkpoint-735m8sz7.js → auto-checkpoint-1xy6dprq.js} +4 -4
- package/dist/cli/{checkpoint-ptzc5jev.js → checkpoint-wvhmkgv5.js} +8 -8
- package/dist/cli/{coder-settlement-hh5165m1.js → coder-settlement-wpkmkgcf.js} +3 -3
- package/dist/cli/{config-doctor-wzzvhpcr.js → config-doctor-xvhejh7g.js} +7 -7
- package/dist/cli/{core-0jarm64k.js → core-yzgm8pcw.js} +1 -1
- package/dist/cli/{curator-f7crssw2.js → curator-3xh6246r.js} +25 -25
- package/dist/cli/{curator-drift-f4aqxz9e.js → curator-drift-5c041yaf.js} +5 -5
- package/dist/cli/{curator-llm-factory-kxnzvhje.js → curator-llm-factory-6y7wrbvk.js} +25 -25
- package/dist/cli/{doctor-knowledge-receipt-phase-id-qvp1h3xv.js → doctor-knowledge-receipt-phase-id-cx6n5jtp.js} +4 -4
- package/dist/cli/{evidence-summary-service-379skych.js → evidence-summary-service-cc139a85.js} +9 -9
- package/dist/cli/{gate-evidence-b4cfrrgn.js → gate-evidence-7azk0xbt.js} +2 -2
- package/dist/cli/{guardrail-explain-tcnfc3te.js → guardrail-explain-b3y98j5b.js} +26 -26
- package/dist/cli/{guardrail-log-xe1evybk.js → guardrail-log-env1h4wr.js} +3 -3
- package/dist/cli/{guardrail-reset-jwx5hsgp.js → guardrail-reset-1404ymcw.js} +25 -25
- package/dist/cli/{hive-promoter-nks9a9s8.js → hive-promoter-hap3dh02.js} +25 -25
- package/dist/cli/{index-xf5v44qh.js → index-22ww8fjt.js} +1 -1
- package/dist/cli/{index-7a92gwbg.js → index-2qpme44n.js} +1 -1
- package/dist/cli/{index-ba87gkb4.js → index-54p1vs33.js} +2 -2
- package/dist/cli/{index-qta3x82z.js → index-5gyq54c5.js} +4296 -3283
- package/dist/cli/{index-k96fx4yw.js → index-6k70exke.js} +1 -1
- package/dist/cli/{index-89826pb5.js → index-6vwnm3sm.js} +2 -2
- package/dist/cli/{index-f54stv77.js → index-72eh47b2.js} +1 -1
- package/dist/cli/{index-878ksabw.js → index-c5gb6a86.js} +5 -5
- package/dist/cli/{index-914wsfyy.js → index-c6wzbs0g.js} +1 -1
- package/dist/cli/{index-q0bctx7k.js → index-c8fjbghs.js} +1 -1
- package/dist/cli/{index-5s74qd5b.js → index-cp9h2sqb.js} +1 -1
- package/dist/cli/{index-2y7y0bxf.js → index-ftatc9wj.js} +25 -25
- package/dist/cli/{index-yte4hqhv.js → index-g2phkwh2.js} +3 -3
- package/dist/cli/{index-w8e73tp0.js → index-gkr6ns9n.js} +2 -2
- package/dist/cli/{index-7bppy3ve.js → index-j4pxkvw3.js} +1 -1
- package/dist/cli/{index-xen0j48x.js → index-jb669k7s.js} +30 -8
- package/dist/cli/{index-ejq082zj.js → index-kn16k0fv.js} +1 -1
- package/dist/cli/{index-4tfr4j1a.js → index-myjqj3na.js} +3 -3
- package/dist/cli/{index-hcsz7bhg.js → index-q47snsb2.js} +3 -3
- package/dist/cli/{index-cf003krm.js → index-qzkrcz1r.js} +3 -3
- package/dist/cli/{index-w9y482mp.js → index-rqapvhh5.js} +1 -1
- package/dist/cli/{index-29z0w323.js → index-rsfvxaw0.js} +4 -4
- package/dist/cli/{index-qp3twbdz.js → index-s43zb23q.js} +27 -27
- package/dist/cli/{index-a83gmv2e.js → index-s68yyat0.js} +1 -1
- package/dist/cli/{index-w917g452.js → index-tww9qw9z.js} +6 -6
- package/dist/cli/{index-br28jc6d.js → index-v6ghzghn.js} +1 -1
- package/dist/cli/{index-asm2r4g2.js → index-vgktct21.js} +3 -3
- package/dist/cli/{index-ypvz2c60.js → index-xpwp9hw1.js} +1 -1
- package/dist/cli/{index-25zjz6kv.js → index-xwxqtdwz.js} +1 -1
- package/dist/cli/{index-4qreeddq.js → index-zya4a544.js} +2 -2
- package/dist/cli/index.js +26 -26
- package/dist/cli/{knowledge-escalator-gzzr7cy2.js → knowledge-escalator-eta167xh.js} +7 -7
- package/dist/cli/{knowledge-events-b16yc189.js → knowledge-events-mz25jn9f.js} +5 -5
- package/dist/cli/{knowledge-store-arj3by4h.js → knowledge-store-qd08dbws.js} +1 -1
- package/dist/cli/{knowledge-validator-b3qhjg0t.js → knowledge-validator-jyrsgamq.js} +2 -2
- package/dist/cli/{mcp-972t0jt0.js → mcp-4wgxc5ax.js} +1 -1
- package/dist/cli/{model-preflight-f1xvxk6e.js → model-preflight-4p3x4vma.js} +25 -25
- package/dist/cli/{pending-delegations-fv5xz799.js → pending-delegations-7hm6xgzw.js} +2 -2
- package/dist/cli/{pr-subscriptions-4mcwj33s.js → pr-subscriptions-2y3w5pyt.js} +1 -1
- package/dist/cli/{pr-workflow-gate-ap5cp211.js → pr-workflow-gate-y04z3z80.js} +25 -25
- package/dist/cli/{scan-cursor-tceyckdx.js → scan-cursor-2hpc6mxt.js} +2 -2
- package/dist/cli/{schema-pqevpe3m.js → schema-33k1e2cv.js} +1 -1
- package/dist/cli/{scope-persistence-ta6ydymv.js → scope-persistence-y769jep8.js} +5 -5
- package/dist/cli/{server-s9bfax7h.js → server-199m00cz.js} +25 -25
- package/dist/cli/{skill-generator-xdg4626x.js → skill-generator-b9by3739.js} +8 -8
- package/dist/cli/{snapshot-coordination-init-wn0hnwyv.js → snapshot-coordination-init-wyyn8ftk.js} +25 -25
- package/dist/cli/{speckit-checkoff-8x139jpf.js → speckit-checkoff-y2ywmh9k.js} +3 -3
- package/dist/cli/{worktree-collision-ownership-as8hnnff.js → worktree-collision-ownership-hg0yrc5b.js} +2 -2
- package/dist/cli/{worktree-isolation-7vrs8t9b.js → worktree-isolation-epbn1xgh.js} +25 -25
- package/dist/failures/provider-message-error.d.ts +2 -1
- package/dist/hooks/guardrails/tool-before.d.ts +19 -0
- package/dist/hooks/pr-workflow-gate.d.ts +8 -0
- package/dist/hooks/shell-executor-context.d.ts +43 -0
- package/dist/hooks/shell-write-detect.d.ts +44 -0
- package/dist/index.js +423 -420
- package/dist/services/pr-workflow-gh-readiness.d.ts +30 -0
- package/dist/tools/gh-evidence.d.ts +14 -0
- package/dist/turbo/lean/runner.d.ts +2 -0
- package/package.json +1 -1
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
init_loader,
|
|
4
4
|
loadPluginConfigWithMeta
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-rqapvhh5.js";
|
|
6
6
|
import {
|
|
7
7
|
init_schema
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-s68yyat0.js";
|
|
9
9
|
import {
|
|
10
10
|
DEFAULT_WORKTREE_ISOLATION_CONFIG,
|
|
11
11
|
init_constants
|
|
@@ -242,7 +242,7 @@ var _internals2 = {
|
|
|
242
242
|
symlinkSync: fs2.symlinkSync
|
|
243
243
|
},
|
|
244
244
|
writeScopeToDisk: async (directory, taskId, files) => {
|
|
245
|
-
const { writeScopeToDisk: realWrite } = await import("./scope-persistence-
|
|
245
|
+
const { writeScopeToDisk: realWrite } = await import("./scope-persistence-y769jep8.js");
|
|
246
246
|
return realWrite(directory, taskId, files);
|
|
247
247
|
},
|
|
248
248
|
writeLaneProfileToDisk: async (_worktreePath, _laneIndex, _envOverrides) => {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./index-6b295cas.js";
|
|
5
5
|
import {
|
|
6
6
|
readEffectiveSpecSync
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-cp9h2sqb.js";
|
|
8
8
|
import {
|
|
9
9
|
_internals,
|
|
10
10
|
clearWorktreeMergeStatus,
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
replayFromLedgerWithStatus,
|
|
44
44
|
takeSnapshotEvent,
|
|
45
45
|
takeSnapshotWithRetry
|
|
46
|
-
} from "./index-
|
|
46
|
+
} from "./index-54p1vs33.js";
|
|
47
47
|
import {
|
|
48
48
|
appendCoreEventSync
|
|
49
49
|
} from "./index-a9m7h5v0.js";
|
|
@@ -93,7 +93,7 @@ import {
|
|
|
93
93
|
init_loader,
|
|
94
94
|
isEpicModeConfigEnabled,
|
|
95
95
|
loadPluginConfigWithMeta
|
|
96
|
-
} from "./index-
|
|
96
|
+
} from "./index-rqapvhh5.js";
|
|
97
97
|
import {
|
|
98
98
|
exports_external,
|
|
99
99
|
init_zod
|
|
@@ -2664,7 +2664,7 @@ ${markdown}`;
|
|
|
2664
2664
|
}
|
|
2665
2665
|
}
|
|
2666
2666
|
async function defaultMaybeSaveAutoCheckpoint(directory, plan) {
|
|
2667
|
-
const { maybeSaveAutoCheckpoint } = await import("./auto-checkpoint-
|
|
2667
|
+
const { maybeSaveAutoCheckpoint } = await import("./auto-checkpoint-1xy6dprq.js");
|
|
2668
2668
|
return maybeSaveAutoCheckpoint(directory, plan);
|
|
2669
2669
|
}
|
|
2670
2670
|
async function updateTaskStatus(directory, taskId, status, options) {
|
|
@@ -2740,7 +2740,7 @@ async function updateTaskStatus(directory, taskId, status, options) {
|
|
|
2740
2740
|
if (status === "completed") {
|
|
2741
2741
|
try {
|
|
2742
2742
|
const completedTask = updatedPlan.phases.flatMap((phase) => phase.tasks).find((candidate) => candidate.id === taskId);
|
|
2743
|
-
const { maybePropagateSpeckitCheckoff } = await import("./speckit-checkoff-
|
|
2743
|
+
const { maybePropagateSpeckitCheckoff } = await import("./speckit-checkoff-y2ywmh9k.js");
|
|
2744
2744
|
await maybePropagateSpeckitCheckoff(directory, {
|
|
2745
2745
|
taskId,
|
|
2746
2746
|
frRefs: completedTask?.fr_refs ?? [],
|
|
@@ -23,52 +23,52 @@ import {
|
|
|
23
23
|
resolveFallbackModel,
|
|
24
24
|
resolvePrimaryAgentNames,
|
|
25
25
|
stripSwarmPrefix
|
|
26
|
-
} from "./index-
|
|
27
|
-
import"./index-
|
|
28
|
-
import"./index-
|
|
29
|
-
import"./index-
|
|
26
|
+
} from "./index-5gyq54c5.js";
|
|
27
|
+
import"./index-22ww8fjt.js";
|
|
28
|
+
import"./index-g2phkwh2.js";
|
|
29
|
+
import"./index-xwxqtdwz.js";
|
|
30
30
|
import"./index-j2vv0h13.js";
|
|
31
31
|
import"./index-0e1nxkte.js";
|
|
32
32
|
import"./index-5gy5dc2n.js";
|
|
33
33
|
import"./index-txdagbh7.js";
|
|
34
|
-
import"./index-
|
|
34
|
+
import"./index-c6wzbs0g.js";
|
|
35
35
|
import {
|
|
36
36
|
createExplorerAgent
|
|
37
37
|
} from "./index-rdec0y3z.js";
|
|
38
|
-
import"./index-
|
|
39
|
-
import"./index-
|
|
40
|
-
import"./index-
|
|
41
|
-
import"./index-
|
|
38
|
+
import"./index-v6ghzghn.js";
|
|
39
|
+
import"./index-myjqj3na.js";
|
|
40
|
+
import"./index-vgktct21.js";
|
|
41
|
+
import"./index-tww9qw9z.js";
|
|
42
42
|
import"./index-fzqn2kk8.js";
|
|
43
43
|
import"./index-dtet46e6.js";
|
|
44
44
|
import"./index-cjapb4hy.js";
|
|
45
45
|
import"./index-g8jd3h4r.js";
|
|
46
46
|
import"./index-pt7h91zc.js";
|
|
47
47
|
import"./index-q7sjgr1y.js";
|
|
48
|
-
import"./index-
|
|
49
|
-
import"./index-
|
|
48
|
+
import"./index-qzkrcz1r.js";
|
|
49
|
+
import"./index-c5gb6a86.js";
|
|
50
50
|
import"./index-6b295cas.js";
|
|
51
51
|
import"./index-9nyqt3kb.js";
|
|
52
|
-
import"./index-
|
|
52
|
+
import"./index-cp9h2sqb.js";
|
|
53
53
|
import"./index-v3bmwmqw.js";
|
|
54
|
-
import"./index-
|
|
55
|
-
import"./index-
|
|
56
|
-
import"./index-
|
|
54
|
+
import"./index-6k70exke.js";
|
|
55
|
+
import"./index-2qpme44n.js";
|
|
56
|
+
import"./index-72eh47b2.js";
|
|
57
57
|
import"./index-g4fs6z4e.js";
|
|
58
|
-
import"./index-
|
|
59
|
-
import"./index-
|
|
60
|
-
import"./index-
|
|
58
|
+
import"./index-xpwp9hw1.js";
|
|
59
|
+
import"./index-zya4a544.js";
|
|
60
|
+
import"./index-gkr6ns9n.js";
|
|
61
61
|
import"./index-m9zzj4ee.js";
|
|
62
62
|
import"./index-eaess7dm.js";
|
|
63
63
|
import"./index-2s7dvzff.js";
|
|
64
|
-
import"./index-
|
|
64
|
+
import"./index-j4pxkvw3.js";
|
|
65
65
|
import"./index-5dws7eyb.js";
|
|
66
66
|
import"./index-rtry5xyf.js";
|
|
67
|
-
import"./index-
|
|
67
|
+
import"./index-6vwnm3sm.js";
|
|
68
68
|
import"./index-g22dps7x.js";
|
|
69
69
|
import"./index-0725jpp7.js";
|
|
70
|
-
import"./index-
|
|
71
|
-
import"./index-
|
|
70
|
+
import"./index-kn16k0fv.js";
|
|
71
|
+
import"./index-54p1vs33.js";
|
|
72
72
|
import"./index-a9m7h5v0.js";
|
|
73
73
|
import"./index-dt4cjxbz.js";
|
|
74
74
|
import"./index-mbn4vn3z.js";
|
|
@@ -77,7 +77,7 @@ import"./index-ry16d01s.js";
|
|
|
77
77
|
import"./index-rdm3px0g.js";
|
|
78
78
|
import"./index-7pmbnjvj.js";
|
|
79
79
|
import"./index-4twjbsfw.js";
|
|
80
|
-
import"./index-
|
|
80
|
+
import"./index-rsfvxaw0.js";
|
|
81
81
|
import"./index-vzm6zre7.js";
|
|
82
82
|
import"./index-ae75rja9.js";
|
|
83
83
|
import"./index-bgzpw6ge.js";
|
|
@@ -90,9 +90,9 @@ import"./index-ejhxgyvm.js";
|
|
|
90
90
|
import"./index-7g4c7s5r.js";
|
|
91
91
|
import"./index-nwswxes7.js";
|
|
92
92
|
import"./index-gx2vp8gx.js";
|
|
93
|
-
import"./index-
|
|
93
|
+
import"./index-rqapvhh5.js";
|
|
94
94
|
import"./index-zxdawwc7.js";
|
|
95
|
-
import"./index-
|
|
95
|
+
import"./index-s68yyat0.js";
|
|
96
96
|
import"./index-py8wpe81.js";
|
|
97
97
|
import"./index-bk5tah7q.js";
|
|
98
98
|
import"./index-gknz3bv1.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
loadPlanJsonOnly
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-c5gb6a86.js";
|
|
5
5
|
import {
|
|
6
6
|
isCanonicalPathWithinRoot
|
|
7
7
|
} from "./index-6b295cas.js";
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
legacyEpicIssuePath,
|
|
15
15
|
migrateLegacyEpicConfig,
|
|
16
16
|
resolveEpicConfig
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-rqapvhh5.js";
|
|
18
18
|
import {
|
|
19
19
|
FALLBACK_MODELS_MAX,
|
|
20
20
|
GATE_CONFIG_KNOWN_SECTION_KEYS,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
init_schema,
|
|
25
25
|
retiredEpicKeyReplacement,
|
|
26
26
|
stripKnownSwarmPrefix
|
|
27
|
-
} from "./index-
|
|
27
|
+
} from "./index-s68yyat0.js";
|
|
28
28
|
import {
|
|
29
29
|
ALL_AGENT_NAMES,
|
|
30
30
|
TOOL_NAME_SET,
|
|
@@ -19,11 +19,11 @@ import {
|
|
|
19
19
|
} from "./index-gx2vp8gx.js";
|
|
20
20
|
import {
|
|
21
21
|
loadPluginConfigWithMeta
|
|
22
|
-
} from "./index-
|
|
22
|
+
} from "./index-rqapvhh5.js";
|
|
23
23
|
import {
|
|
24
24
|
KnowledgeConfigSchema,
|
|
25
25
|
init_schema
|
|
26
|
-
} from "./index-
|
|
26
|
+
} from "./index-s68yyat0.js";
|
|
27
27
|
|
|
28
28
|
// src/utils/context-decisions.ts
|
|
29
29
|
function extractContextDecisions(content) {
|
|
@@ -10,18 +10,23 @@ import {
|
|
|
10
10
|
dcNormalizeCommand,
|
|
11
11
|
dcSplitSegments,
|
|
12
12
|
dcUnwrapWrappers,
|
|
13
|
+
declaresWindowsWrapperLoose,
|
|
13
14
|
detectPosixWrites,
|
|
14
15
|
detectWindowsWrites,
|
|
15
16
|
getSharedClassifierGuardrailBlock,
|
|
17
|
+
isPowerShellReadOnlyPipeline,
|
|
18
|
+
isPowerShellShaped,
|
|
19
|
+
mergeWriteAnalyses,
|
|
20
|
+
resolveWindowsWriteAuthority,
|
|
16
21
|
resolveWriteTargets
|
|
17
|
-
} from "./index-
|
|
22
|
+
} from "./index-5gyq54c5.js";
|
|
18
23
|
import {
|
|
19
24
|
checkFileAuthority,
|
|
20
25
|
classifyFile,
|
|
21
26
|
isInDeclaredScope,
|
|
22
27
|
redactPath,
|
|
23
28
|
redactShellCommand
|
|
24
|
-
} from "./index-
|
|
29
|
+
} from "./index-22ww8fjt.js";
|
|
25
30
|
|
|
26
31
|
// src/services/guardrail-explain-service.ts
|
|
27
32
|
import path from "path";
|
|
@@ -355,14 +360,28 @@ async function handleGuardrailExplain(directory, args) {
|
|
|
355
360
|
decision = "block";
|
|
356
361
|
firingRule = destructiveEval.firingRule;
|
|
357
362
|
}
|
|
363
|
+
const commandSegments = dcSplitSegments(shellCommand);
|
|
364
|
+
const unwrappedSegments = commandSegments.map((s) => dcUnwrapWrappers(s));
|
|
365
|
+
const didUnwrap = commandSegments.some((s, i) => unwrappedSegments[i] !== s);
|
|
366
|
+
const detectionCommand = didUnwrap ? unwrappedSegments.join(`
|
|
367
|
+
`) : shellCommand;
|
|
358
368
|
if (decision === "allow") {
|
|
359
|
-
const
|
|
360
|
-
const
|
|
361
|
-
|
|
369
|
+
const detected = resolveShellType(shellCommand);
|
|
370
|
+
const authority = resolveWindowsWriteAuthority("shell", shellCommand, detected, isPowerShellShaped(shellCommand));
|
|
371
|
+
const wrapperDeclaredHere = declaresWindowsWrapperLoose(shellCommand);
|
|
372
|
+
const posix = detectPosixWrites(detectionCommand);
|
|
373
|
+
const analysis = authority === null ? posix : mergeWriteAnalyses(posix, detectWindowsWrites(detectionCommand, authority), true, wrapperDeclaredHere);
|
|
374
|
+
const rawPosix = detectPosixWrites(shellCommand);
|
|
375
|
+
const rawAnalysis = authority === null ? rawPosix : mergeWriteAnalyses(rawPosix, detectWindowsWrites(shellCommand, authority), true, wrapperDeclaredHere);
|
|
376
|
+
const rawParseFailure = rawAnalysis.parseError && !isPowerShellReadOnlyPipeline(shellCommand);
|
|
377
|
+
if (rawParseFailure) {
|
|
378
|
+
decision = "block";
|
|
379
|
+
firingRule = "parse_error: write detection failed to parse command \u2014 rejecting for safety";
|
|
380
|
+
} else if (analysis.parseError && !isPowerShellReadOnlyPipeline(detectionCommand)) {
|
|
362
381
|
decision = "block";
|
|
363
382
|
firingRule = "parse_error: write detection failed to parse command \u2014 rejecting for safety";
|
|
364
383
|
} else if (analysis.hasWrites) {
|
|
365
|
-
const resolvedWrites = resolveWriteTargets(
|
|
384
|
+
const resolvedWrites = resolveWriteTargets(detectionCommand, analysis.writes, directory);
|
|
366
385
|
for (const write of resolvedWrites) {
|
|
367
386
|
if (write.resolvedPath) {
|
|
368
387
|
if (agent !== "architect") {
|
|
@@ -380,8 +399,11 @@ async function handleGuardrailExplain(directory, args) {
|
|
|
380
399
|
}
|
|
381
400
|
}
|
|
382
401
|
} else {
|
|
383
|
-
const
|
|
384
|
-
const
|
|
402
|
+
const detected = resolveShellType(shellCommand);
|
|
403
|
+
const authority = resolveWindowsWriteAuthority("shell", shellCommand, detected, isPowerShellShaped(shellCommand));
|
|
404
|
+
const wrapperDeclaredElse = declaresWindowsWrapperLoose(shellCommand);
|
|
405
|
+
const posix = detectPosixWrites(detectionCommand);
|
|
406
|
+
const analysis = authority === null ? posix : mergeWriteAnalyses(posix, detectWindowsWrites(detectionCommand, authority), true, wrapperDeclaredElse);
|
|
385
407
|
if (!analysis.parseError && analysis.hasWrites) {
|
|
386
408
|
for (const write of analysis.writes) {
|
|
387
409
|
writeCategories.add(write.category);
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
reconcileLandedMerge,
|
|
15
15
|
withTaskEvidenceTransaction,
|
|
16
16
|
writeWorkflowWalFile
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-2qpme44n.js";
|
|
18
18
|
import {
|
|
19
19
|
validateSwarmPath
|
|
20
20
|
} from "./index-eaess7dm.js";
|
|
@@ -512,7 +512,7 @@ async function cleanupRecoveredWorktree(directory, descriptor, options) {
|
|
|
512
512
|
awaitingMergeByCallID,
|
|
513
513
|
cleanupStandardWorktreeForCallId,
|
|
514
514
|
standardWorktreeByCallID
|
|
515
|
-
} = await import("./worktree-isolation-
|
|
515
|
+
} = await import("./worktree-isolation-epbn1xgh.js");
|
|
516
516
|
standardWorktreeByCallID.delete(descriptor.callID);
|
|
517
517
|
if (hasResidue)
|
|
518
518
|
awaitingMergeByCallID.set(descriptor.callID, {
|
|
@@ -648,7 +648,7 @@ async function recoverCoderSettlement(directory, taskId) {
|
|
|
648
648
|
awaitingMergeByCallID,
|
|
649
649
|
finishStandardWorktreeDispatch,
|
|
650
650
|
standardWorktreeByCallID
|
|
651
|
-
} = await import("./worktree-isolation-
|
|
651
|
+
} = await import("./worktree-isolation-epbn1xgh.js");
|
|
652
652
|
const descriptor = wal.worktree;
|
|
653
653
|
const reconstructedDispatch = {
|
|
654
654
|
callID: descriptor.callID,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
_internals,
|
|
4
4
|
resolveWorktreeIsolationConfig
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-6vwnm3sm.js";
|
|
6
6
|
import {
|
|
7
7
|
ApprovalEvidenceSchema,
|
|
8
8
|
BaseEvidenceSchema,
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
loadPluginConfigWithMeta,
|
|
47
47
|
loadPluginConfigWithMetaAsync,
|
|
48
48
|
resetConfigAdvisoryDedup
|
|
49
|
-
} from "./index-
|
|
49
|
+
} from "./index-rqapvhh5.js";
|
|
50
50
|
import"./index-zxdawwc7.js";
|
|
51
51
|
import {
|
|
52
52
|
AUTO_REVIEW_V8_BURN_IN_DECISION,
|
|
@@ -72,7 +72,7 @@ import {
|
|
|
72
72
|
TurboConfigSchema,
|
|
73
73
|
WorktreeIsolationConfigSchema,
|
|
74
74
|
resolveAutoReviewConfig
|
|
75
|
-
} from "./index-
|
|
75
|
+
} from "./index-s68yyat0.js";
|
|
76
76
|
import {
|
|
77
77
|
ALL_AGENT_NAMES,
|
|
78
78
|
ALL_SUBAGENT_NAMES,
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
ensureTaskCheckpointReceipt,
|
|
5
5
|
loadPlan,
|
|
6
6
|
updateTaskCheckpointReceipt
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-c5gb6a86.js";
|
|
8
8
|
import {
|
|
9
9
|
tool
|
|
10
10
|
} from "./index-9nyqt3kb.js";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
} from "./index-eaess7dm.js";
|
|
21
21
|
import {
|
|
22
22
|
readLedgerEvents
|
|
23
|
-
} from "./index-
|
|
23
|
+
} from "./index-54p1vs33.js";
|
|
24
24
|
import {
|
|
25
25
|
appendCoreEventSync
|
|
26
26
|
} from "./index-a9m7h5v0.js";
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
} from "./index-nwswxes7.js";
|
|
42
42
|
import {
|
|
43
43
|
loadPluginConfigWithMeta
|
|
44
|
-
} from "./index-
|
|
44
|
+
} from "./index-rqapvhh5.js";
|
|
45
45
|
import {
|
|
46
46
|
init_git_executable,
|
|
47
47
|
resolveGitExecutable
|
|
@@ -739,7 +739,7 @@ async function applyConfidenceFloorAction(directory, touched, options) {
|
|
|
739
739
|
const {
|
|
740
740
|
readAuthoritativeKnowledgeCounterRollups,
|
|
741
741
|
effectiveRetrievalOutcomes
|
|
742
|
-
} = await import("./knowledge-events-
|
|
742
|
+
} = await import("./knowledge-events-mz25jn9f.js");
|
|
743
743
|
const rollups = await readAuthoritativeKnowledgeCounterRollups(directory);
|
|
744
744
|
const flagIds = new Set;
|
|
745
745
|
for (const e of atFloor) {
|
|
@@ -806,11 +806,11 @@ async function applyConfidenceFloorAction(directory, touched, options) {
|
|
|
806
806
|
});
|
|
807
807
|
}
|
|
808
808
|
if (action === "quarantine" && toQuarantine.length > 0) {
|
|
809
|
-
const { quarantineEntry } = await import("./knowledge-validator-
|
|
810
|
-
const { KnowledgeConfigSchema } = await import("./schema-
|
|
809
|
+
const { quarantineEntry } = await import("./knowledge-validator-jyrsgamq.js");
|
|
810
|
+
const { KnowledgeConfigSchema } = await import("./schema-33k1e2cv.js");
|
|
811
811
|
let config;
|
|
812
812
|
try {
|
|
813
|
-
const { loadPluginConfigWithMeta } = await import("./index-
|
|
813
|
+
const { loadPluginConfigWithMeta } = await import("./index-q47snsb2.js");
|
|
814
814
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
815
815
|
config = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
816
816
|
} catch {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
handleGuardrailExplain
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-jb669k7s.js";
|
|
5
5
|
import {
|
|
6
6
|
handleGuardrailLog
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-c8fjbghs.js";
|
|
8
8
|
import {
|
|
9
9
|
COMMAND_REGISTRY,
|
|
10
10
|
DEFAULT_CI_DEADLINE_MS,
|
|
@@ -97,50 +97,50 @@ import {
|
|
|
97
97
|
handleWriteRetroCommand,
|
|
98
98
|
normalizeSwarmCommandInput,
|
|
99
99
|
resolveCommand
|
|
100
|
-
} from "./index-
|
|
101
|
-
import"./index-
|
|
102
|
-
import"./index-
|
|
103
|
-
import"./index-
|
|
100
|
+
} from "./index-5gyq54c5.js";
|
|
101
|
+
import"./index-22ww8fjt.js";
|
|
102
|
+
import"./index-g2phkwh2.js";
|
|
103
|
+
import"./index-xwxqtdwz.js";
|
|
104
104
|
import"./index-j2vv0h13.js";
|
|
105
105
|
import"./index-0e1nxkte.js";
|
|
106
106
|
import"./index-5gy5dc2n.js";
|
|
107
107
|
import"./index-txdagbh7.js";
|
|
108
|
-
import"./index-
|
|
108
|
+
import"./index-c6wzbs0g.js";
|
|
109
109
|
import"./index-rdec0y3z.js";
|
|
110
|
-
import"./index-
|
|
111
|
-
import"./index-
|
|
112
|
-
import"./index-
|
|
113
|
-
import"./index-
|
|
110
|
+
import"./index-v6ghzghn.js";
|
|
111
|
+
import"./index-myjqj3na.js";
|
|
112
|
+
import"./index-vgktct21.js";
|
|
113
|
+
import"./index-tww9qw9z.js";
|
|
114
114
|
import"./index-fzqn2kk8.js";
|
|
115
115
|
import"./index-dtet46e6.js";
|
|
116
116
|
import"./index-cjapb4hy.js";
|
|
117
117
|
import"./index-g8jd3h4r.js";
|
|
118
118
|
import"./index-pt7h91zc.js";
|
|
119
119
|
import"./index-q7sjgr1y.js";
|
|
120
|
-
import"./index-
|
|
121
|
-
import"./index-
|
|
120
|
+
import"./index-qzkrcz1r.js";
|
|
121
|
+
import"./index-c5gb6a86.js";
|
|
122
122
|
import"./index-6b295cas.js";
|
|
123
123
|
import"./index-9nyqt3kb.js";
|
|
124
|
-
import"./index-
|
|
124
|
+
import"./index-cp9h2sqb.js";
|
|
125
125
|
import"./index-v3bmwmqw.js";
|
|
126
|
-
import"./index-
|
|
127
|
-
import"./index-
|
|
128
|
-
import"./index-
|
|
126
|
+
import"./index-6k70exke.js";
|
|
127
|
+
import"./index-2qpme44n.js";
|
|
128
|
+
import"./index-72eh47b2.js";
|
|
129
129
|
import"./index-g4fs6z4e.js";
|
|
130
|
-
import"./index-
|
|
131
|
-
import"./index-
|
|
132
|
-
import"./index-
|
|
130
|
+
import"./index-xpwp9hw1.js";
|
|
131
|
+
import"./index-zya4a544.js";
|
|
132
|
+
import"./index-gkr6ns9n.js";
|
|
133
133
|
import"./index-m9zzj4ee.js";
|
|
134
134
|
import"./index-eaess7dm.js";
|
|
135
135
|
import"./index-2s7dvzff.js";
|
|
136
|
-
import"./index-
|
|
136
|
+
import"./index-j4pxkvw3.js";
|
|
137
137
|
import"./index-5dws7eyb.js";
|
|
138
138
|
import"./index-rtry5xyf.js";
|
|
139
|
-
import"./index-
|
|
139
|
+
import"./index-6vwnm3sm.js";
|
|
140
140
|
import"./index-g22dps7x.js";
|
|
141
141
|
import"./index-0725jpp7.js";
|
|
142
|
-
import"./index-
|
|
143
|
-
import"./index-
|
|
142
|
+
import"./index-kn16k0fv.js";
|
|
143
|
+
import"./index-54p1vs33.js";
|
|
144
144
|
import"./index-a9m7h5v0.js";
|
|
145
145
|
import"./index-dt4cjxbz.js";
|
|
146
146
|
import"./index-mbn4vn3z.js";
|
|
@@ -149,7 +149,7 @@ import"./index-ry16d01s.js";
|
|
|
149
149
|
import"./index-rdm3px0g.js";
|
|
150
150
|
import"./index-7pmbnjvj.js";
|
|
151
151
|
import"./index-4twjbsfw.js";
|
|
152
|
-
import"./index-
|
|
152
|
+
import"./index-rsfvxaw0.js";
|
|
153
153
|
import"./index-vzm6zre7.js";
|
|
154
154
|
import"./index-ae75rja9.js";
|
|
155
155
|
import"./index-bgzpw6ge.js";
|
|
@@ -162,12 +162,12 @@ import"./index-ejhxgyvm.js";
|
|
|
162
162
|
import"./index-7g4c7s5r.js";
|
|
163
163
|
import"./index-nwswxes7.js";
|
|
164
164
|
import"./index-gx2vp8gx.js";
|
|
165
|
-
import"./index-
|
|
165
|
+
import"./index-rqapvhh5.js";
|
|
166
166
|
import"./index-zxdawwc7.js";
|
|
167
167
|
import {
|
|
168
168
|
init_schema,
|
|
169
169
|
stripKnownSwarmPrefix
|
|
170
|
-
} from "./index-
|
|
170
|
+
} from "./index-s68yyat0.js";
|
|
171
171
|
import {
|
|
172
172
|
AGENT_TOOL_MAP,
|
|
173
173
|
ORCHESTRATOR_NAME,
|
|
@@ -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.192.
|
|
24
|
+
version: "7.192.4",
|
|
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",
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
readKnowledgeEvents,
|
|
4
4
|
recordKnowledgeEvent
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-zya4a544.js";
|
|
6
6
|
import {
|
|
7
7
|
queryHistoricalOutcomes
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-gkr6ns9n.js";
|
|
9
9
|
import {
|
|
10
10
|
jaccardBigram,
|
|
11
11
|
readKnowledge,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
resolveSwarmKnowledgePath,
|
|
14
14
|
transactKnowledge,
|
|
15
15
|
wordBigrams
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-rsfvxaw0.js";
|
|
17
17
|
import {
|
|
18
18
|
init_knowledge_types,
|
|
19
19
|
isActiveStatus
|
|
@@ -226,11 +226,11 @@ async function maybeQuarantineOnContradiction(directory, entryId, threshold, win
|
|
|
226
226
|
alreadyInactive: true
|
|
227
227
|
};
|
|
228
228
|
}
|
|
229
|
-
const { quarantineEntry } = await import("./knowledge-validator-
|
|
229
|
+
const { quarantineEntry } = await import("./knowledge-validator-jyrsgamq.js");
|
|
230
230
|
let policyConfig;
|
|
231
231
|
try {
|
|
232
|
-
const { KnowledgeConfigSchema } = await import("./schema-
|
|
233
|
-
const { loadPluginConfigWithMeta } = await import("./index-
|
|
232
|
+
const { KnowledgeConfigSchema } = await import("./schema-33k1e2cv.js");
|
|
233
|
+
const { loadPluginConfigWithMeta } = await import("./index-q47snsb2.js");
|
|
234
234
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
235
235
|
policyConfig = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
236
236
|
} catch {
|
|
@@ -5,18 +5,18 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
effectiveRetrievalOutcomes,
|
|
7
7
|
readAuthoritativeKnowledgeCounterRollups
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-zya4a544.js";
|
|
9
9
|
import {
|
|
10
10
|
ALLOWED_SKILL_PATH_PREFIXES,
|
|
11
11
|
validateSkillPath
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-j4pxkvw3.js";
|
|
13
13
|
import {
|
|
14
14
|
computeOutcomeSignal,
|
|
15
15
|
readKnowledge,
|
|
16
16
|
resolveHiveKnowledgePath,
|
|
17
17
|
resolveSwarmKnowledgePath,
|
|
18
18
|
transactKnowledge
|
|
19
|
-
} from "./index-
|
|
19
|
+
} from "./index-rsfvxaw0.js";
|
|
20
20
|
import {
|
|
21
21
|
appendCappedJsonl,
|
|
22
22
|
resolveRetentionCap
|
|
@@ -4735,7 +4735,7 @@ async function reconcileLegacyCoderSettlements(directory, maxRecords, onReconcil
|
|
|
4735
4735
|
const candidates = readDelegations(directory).filter((record) => record.normalizedAgent === "coder" && Boolean(record.legacyCoderSettlementTransfer) && Boolean(record.terminalResult)).slice(0, maxRecords);
|
|
4736
4736
|
if (candidates.length === 0)
|
|
4737
4737
|
return 0;
|
|
4738
|
-
const { transferCoderSettlementToBackground } = await import("./coder-settlement-
|
|
4738
|
+
const { transferCoderSettlementToBackground } = await import("./coder-settlement-wpkmkgcf.js");
|
|
4739
4739
|
let transferred = 0;
|
|
4740
4740
|
for (const record of candidates) {
|
|
4741
4741
|
try {
|