opencode-swarm 7.155.0 → 7.157.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/workspace-snapshot.d.ts +28 -0
- package/dist/cli/{coder-settlement-2kdtysrg.js → coder-settlement-dz2x352d.js} +9 -9
- package/dist/cli/{config-doctor-s6p9aqfv.js → config-doctor-4jxf9w9e.js} +3 -3
- package/dist/cli/{core-ev2ebc4v.js → core-xf2f087t.js} +2 -2
- package/dist/cli/{curation-policy-jabphe51.js → curation-policy-72qx868r.js} +4 -4
- package/dist/cli/{curator-llm-factory-kd8v16jj.js → curator-llm-factory-7mfvey3x.js} +31 -31
- package/dist/cli/{curator-adp0dsv4.js → curator-pjjw3ja4.js} +31 -31
- package/dist/cli/{dispatch-w0rzasz3.js → dispatch-7r46tfr9.js} +10 -8
- package/dist/cli/{evidence-summary-service-kpjpd86j.js → evidence-summary-service-5ffkbs50.js} +12 -12
- package/dist/cli/{gate-evidence-etbcms2v.js → gate-evidence-ne9rbdtb.js} +5 -5
- package/dist/cli/guardrail-explain-b9vr4ta3.js +67 -0
- package/dist/cli/{guardrail-log-614g1pta.js → guardrail-log-hrt36jz5.js} +5 -5
- package/dist/cli/{guardrail-reset-0wdj53cp.js → guardrail-reset-pggm9hx4.js} +31 -31
- package/dist/cli/{hashing-mjwn6j4y.js → hashing-r4hbav6j.js} +1 -1
- package/dist/cli/{hive-promoter-b1wv52fs.js → hive-promoter-7vxm11sm.js} +31 -31
- package/dist/cli/{index-caqe8x14.js → index-12e2hztp.js} +1 -1
- package/dist/cli/{index-rb4t72we.js → index-1dzy1j4v.js} +2 -2
- package/dist/cli/{index-79qymsxf.js → index-2e60kmzg.js} +1 -1
- package/dist/cli/{index-vnn7qq8c.js → index-3f7hqtgg.js} +62 -1
- package/dist/cli/{index-qzqpq75z.js → index-3qpr16k2.js} +52 -33
- package/dist/cli/{index-qj9jrjvr.js → index-3vqdt1sx.js} +5 -5
- package/dist/cli/{index-c590qxts.js → index-4kd1nqd2.js} +8 -3
- package/dist/cli/{index-34wn2ztk.js → index-4w20thrc.js} +22 -4
- package/dist/cli/{index-26cvxrym.js → index-61nkp124.js} +2 -2
- package/dist/cli/{index-6bqqzfbe.js → index-6sbx96v6.js} +2 -2
- package/dist/cli/{index-zvp68qx6.js → index-79k7p589.js} +1 -1
- package/dist/cli/{index-ketfp4rv.js → index-8n602qc2.js} +4 -4
- package/dist/cli/{index-fjcm6wwf.js → index-91ybfvy2.js} +1 -1
- package/dist/cli/{index-wwv3cbv1.js → index-93ymj3j5.js} +5 -5
- package/dist/cli/{index-myt57pht.js → index-9r7gp6cp.js} +5 -1
- package/dist/cli/{index-85p1850w.js → index-b5xm177r.js} +1 -1
- package/dist/cli/{index-0q8kywcf.js → index-dwkrdpz2.js} +1 -1
- package/dist/cli/{index-veajr5x7.js → index-ebratyzr.js} +1 -1
- package/dist/cli/{index-kgdbtwfm.js → index-g0j2hnse.js} +5 -5
- package/dist/cli/{index-2gfe61qp.js → index-gk6wpq41.js} +5259 -1394
- package/dist/cli/{index-aqg7c1z9.js → index-gpf3cjre.js} +1 -1
- package/dist/cli/{index-ctsct3hy.js → index-j3egsxa1.js} +6 -6
- package/dist/cli/{index-xn23xnnk.js → index-n6ayyadp.js} +4 -4
- package/dist/cli/{index-t3xqpece.js → index-n7gv8m7v.js} +4 -4
- package/dist/cli/{index-mm7ase9k.js → index-nd22bsnt.js} +6 -2
- package/dist/cli/{index-c9nabqzd.js → index-ngn6jmad.js} +2 -2
- package/dist/cli/{index-xdy28ngt.js → index-nwkr6tvv.js} +17 -1
- package/dist/cli/{index-spbxf9vn.js → index-p0by16z8.js} +2 -2
- package/dist/cli/{index-dw2q720x.js → index-q94gt4n9.js} +3 -3
- package/dist/cli/{index-kyc2c7hq.js → index-t0kxka8n.js} +2 -2
- package/dist/cli/{index-e90g4dsw.js → index-tvtvhjh0.js} +4 -4
- package/dist/cli/{index-y8552snf.js → index-txdagbh7.js} +6 -1
- package/dist/cli/{index-egnpzfe3.js → index-vbqssmbs.js} +6 -6
- package/dist/cli/{index-ew6fykvv.js → index-xe6zbfps.js} +1 -1
- package/dist/cli/{index-x9tbe9v7.js → index-zq7pw6qg.js} +2 -2
- package/dist/cli/index.js +31 -31
- package/dist/cli/{knowledge-escalator-z09aqvfe.js → knowledge-escalator-d65mctqy.js} +10 -10
- package/dist/cli/{knowledge-events-03f1rwm8.js → knowledge-events-6aet71sp.js} +8 -8
- package/dist/cli/{knowledge-link-4frk38w8.js → knowledge-link-z9cchqdj.js} +3 -3
- package/dist/cli/{knowledge-store-sn28k13f.js → knowledge-store-vvgxbakx.js} +4 -4
- package/dist/cli/{knowledge-validator-rwrt3yja.js → knowledge-validator-4fb6pbpn.js} +6 -6
- package/dist/cli/{model-preflight-b95w8wxy.js → model-preflight-cv9kvw8h.js} +1 -1
- package/dist/cli/{pending-delegations-qe16vfrj.js → pending-delegations-f52jtanf.js} +1 -1
- package/dist/cli/{pr-subscriptions-00evnffe.js → pr-subscriptions-76vg2xya.js} +2 -2
- package/dist/cli/{runner-k1rkbjm8.js → runner-eagt6gf8.js} +5 -5
- package/dist/cli/{scan-cursor-h3mfzjc9.js → scan-cursor-q3530gc8.js} +5 -5
- package/dist/cli/{schema-c37h5xw4.js → schema-5zc62306.js} +6 -2
- package/dist/cli/{scope-persistence-35z42pj5.js → scope-persistence-fzqf115q.js} +7 -7
- package/dist/cli/{skill-generator-60px2mvb.js → skill-generator-kh1z90tm.js} +12 -12
- package/dist/cli/{workspace-snapshot-8269e1p9.js → workspace-snapshot-yq0tc49d.js} +9 -1
- package/dist/cli/{worktree-collision-ownership-2pc20ypq.js → worktree-collision-ownership-2qxjtxt6.js} +3 -3
- package/dist/cli/{worktree-isolation-w4yamc3b.js → worktree-isolation-40v34p0s.js} +31 -31
- package/dist/commands/command-dispatch.d.ts +2 -1
- package/dist/commands/harness.d.ts +14 -0
- package/dist/commands/index.d.ts +3 -1
- package/dist/commands/registry.d.ts +115 -2
- package/dist/config/schema.d.ts +34 -0
- package/dist/harness/contracts.d.ts +492 -0
- package/dist/harness/factory.d.ts +72 -0
- package/dist/harness/hash.d.ts +4 -0
- package/dist/harness/index.d.ts +6 -0
- package/dist/harness/patch.d.ts +3 -0
- package/dist/harness/public-api.d.ts +105 -0
- package/dist/harness/source-candidate.d.ts +45 -0
- package/dist/harness/store.d.ts +256 -0
- package/dist/hooks/pr-workflow-gate.d.ts +291 -3
- package/dist/index.d.ts +2 -0
- package/dist/index.js +320 -296
- package/dist/lang/manifest-files.d.ts +25 -0
- package/dist/security/write-authority.d.ts +2 -1
- package/dist/tools/index.d.ts +1 -0
- package/dist/tools/invalidate-pr-feedback-publication.d.ts +20 -0
- package/dist/tools/manifest.d.ts +1 -0
- package/dist/tools/tool-metadata.d.ts +4 -0
- package/package.json +1 -1
- package/dist/cli/guardrail-explain-wqb5h7kk.js +0 -67
|
@@ -7,61 +7,61 @@ import {
|
|
|
7
7
|
isHiveEligible,
|
|
8
8
|
promoteFromSwarm,
|
|
9
9
|
promoteToHive
|
|
10
|
-
} from "./index-
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
14
|
-
import"./index-
|
|
15
|
-
import"./index-
|
|
10
|
+
} from "./index-gk6wpq41.js";
|
|
11
|
+
import"./index-t0kxka8n.js";
|
|
12
|
+
import"./index-4kd1nqd2.js";
|
|
13
|
+
import"./index-nd22bsnt.js";
|
|
14
|
+
import"./index-93ymj3j5.js";
|
|
15
|
+
import"./index-ngn6jmad.js";
|
|
16
16
|
import"./index-134d35c1.js";
|
|
17
17
|
import"./index-nj6rmyeh.js";
|
|
18
|
-
import"./index-
|
|
19
|
-
import"./index-
|
|
20
|
-
import"./index-
|
|
18
|
+
import"./index-txdagbh7.js";
|
|
19
|
+
import"./index-g0j2hnse.js";
|
|
20
|
+
import"./index-1dzy1j4v.js";
|
|
21
21
|
import"./index-70ha9e09.js";
|
|
22
22
|
import"./index-c8s9a3zh.js";
|
|
23
23
|
import"./index-9ss2m4rs.js";
|
|
24
|
-
import"./index-
|
|
24
|
+
import"./index-91ybfvy2.js";
|
|
25
25
|
import"./index-zsrtt42s.js";
|
|
26
|
-
import"./index-
|
|
27
|
-
import"./index-
|
|
28
|
-
import"./index-
|
|
29
|
-
import"./index-
|
|
30
|
-
import"./index-
|
|
26
|
+
import"./index-vbqssmbs.js";
|
|
27
|
+
import"./index-dwkrdpz2.js";
|
|
28
|
+
import"./index-n6ayyadp.js";
|
|
29
|
+
import"./index-tvtvhjh0.js";
|
|
30
|
+
import"./index-gpf3cjre.js";
|
|
31
31
|
import"./index-rtry5xyf.js";
|
|
32
|
-
import"./index-
|
|
33
|
-
import"./index-
|
|
34
|
-
import"./index-
|
|
32
|
+
import"./index-61nkp124.js";
|
|
33
|
+
import"./index-p0by16z8.js";
|
|
34
|
+
import"./index-12e2hztp.js";
|
|
35
35
|
import"./index-ddszzne4.js";
|
|
36
|
-
import"./index-
|
|
37
|
-
import"./index-
|
|
38
|
-
import"./index-
|
|
39
|
-
import"./index-
|
|
36
|
+
import"./index-3f7hqtgg.js";
|
|
37
|
+
import"./index-n7gv8m7v.js";
|
|
38
|
+
import"./index-79k7p589.js";
|
|
39
|
+
import"./index-nwkr6tvv.js";
|
|
40
40
|
import"./index-556ja8an.js";
|
|
41
41
|
import"./index-4fwbbad3.js";
|
|
42
42
|
import"./index-b43rt5ph.js";
|
|
43
43
|
import"./index-q7sjgr1y.js";
|
|
44
44
|
import {
|
|
45
45
|
resolveHiveKnowledgePath
|
|
46
|
-
} from "./index-
|
|
47
|
-
import"./index-
|
|
48
|
-
import"./index-
|
|
46
|
+
} from "./index-j3egsxa1.js";
|
|
47
|
+
import"./index-3vqdt1sx.js";
|
|
48
|
+
import"./index-q94gt4n9.js";
|
|
49
49
|
import"./index-gprxjmm7.js";
|
|
50
50
|
import"./index-n832052r.js";
|
|
51
51
|
import"./index-dtn0pne5.js";
|
|
52
52
|
import"./index-z6xqpmqg.js";
|
|
53
53
|
import"./index-r3mvsbtq.js";
|
|
54
|
-
import"./index-
|
|
55
|
-
import"./index-
|
|
56
|
-
import"./index-
|
|
54
|
+
import"./index-2e60kmzg.js";
|
|
55
|
+
import"./index-4w20thrc.js";
|
|
56
|
+
import"./index-9r7gp6cp.js";
|
|
57
57
|
import"./index-zjygnfay.js";
|
|
58
58
|
import"./index-9e6fdz2h.js";
|
|
59
59
|
import"./index-4rhhvd1a.js";
|
|
60
60
|
import"./index-ae75rja9.js";
|
|
61
|
-
import"./index-
|
|
62
|
-
import"./index-
|
|
61
|
+
import"./index-b5xm177r.js";
|
|
62
|
+
import"./index-xe6zbfps.js";
|
|
63
63
|
import"./index-bk5tah7q.js";
|
|
64
|
-
import"./index-
|
|
64
|
+
import"./index-6sbx96v6.js";
|
|
65
65
|
import"./index-xagq35tf.js";
|
|
66
66
|
import"./index-ed5ykebp.js";
|
|
67
67
|
import"./index-h1g8w4v0.js";
|
|
@@ -3096,7 +3096,7 @@ async function reconcileLegacyCoderSettlements(directory, maxRecords, onReconcil
|
|
|
3096
3096
|
const candidates = readDelegations(directory).filter((record) => record.normalizedAgent === "coder" && Boolean(record.legacyCoderSettlementTransfer) && Boolean(record.terminalResult)).slice(0, maxRecords);
|
|
3097
3097
|
if (candidates.length === 0)
|
|
3098
3098
|
return 0;
|
|
3099
|
-
const { transferCoderSettlementToBackground } = await import("./coder-settlement-
|
|
3099
|
+
const { transferCoderSettlementToBackground } = await import("./coder-settlement-dz2x352d.js");
|
|
3100
3100
|
let transferred = 0;
|
|
3101
3101
|
for (const record of candidates) {
|
|
3102
3102
|
try {
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
import {
|
|
3
3
|
readKnowledge,
|
|
4
4
|
transactKnowledge
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-j3egsxa1.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-b5xm177r.js";
|
|
13
13
|
import {
|
|
14
14
|
init_knowledge_types,
|
|
15
15
|
isActiveStatus
|
|
@@ -358,6 +358,14 @@ async function resolveCurrentUpstreamPushTargetAsync(directory) {
|
|
|
358
358
|
}
|
|
359
359
|
return { remoteName, remoteBranchRef, remoteTrackingRef };
|
|
360
360
|
}
|
|
361
|
+
async function resolveCurrentLocalHeadRefAsync(directory) {
|
|
362
|
+
const localBranchRef = await runGitAsync(directory, [
|
|
363
|
+
"symbolic-ref",
|
|
364
|
+
"--quiet",
|
|
365
|
+
"HEAD"
|
|
366
|
+
]);
|
|
367
|
+
return localBranchRef?.startsWith("refs/heads/") ? localBranchRef : null;
|
|
368
|
+
}
|
|
361
369
|
function resolveExactRemoteBranchHead(directory, remoteName, remoteBranchRef) {
|
|
362
370
|
if (!remoteName || remoteName.startsWith("-") || /[\s;&|<>`]/.test(remoteName) || !remoteBranchRef.startsWith("refs/heads/") || remoteBranchRef === "refs/heads/" || /[\s;&|<>`]/.test(remoteBranchRef)) {
|
|
363
371
|
return null;
|
|
@@ -390,6 +398,59 @@ async function resolveExactRemoteBranchHeadAsync(directory, remoteName, remoteBr
|
|
|
390
398
|
}
|
|
391
399
|
return objectName;
|
|
392
400
|
}
|
|
401
|
+
function redactRemoteUrlIdentity(url, maxChars) {
|
|
402
|
+
const cap = (value) => value.length > maxChars ? value.slice(0, maxChars) : value;
|
|
403
|
+
const stripQueryAndFragment = (value) => {
|
|
404
|
+
const cut = [value.indexOf("?"), value.indexOf("#")].filter((index) => index >= 0).sort((a, b) => a - b)[0];
|
|
405
|
+
return cut === undefined ? value : `${value.slice(0, cut)}?\u2026`;
|
|
406
|
+
};
|
|
407
|
+
const trimmed = url.trim();
|
|
408
|
+
const urlForm = trimmed.match(/^([A-Za-z][A-Za-z0-9+.-]*):\/\/(.*)$/);
|
|
409
|
+
if (urlForm) {
|
|
410
|
+
const [, scheme, rest] = urlForm;
|
|
411
|
+
const authorityEnd = rest.indexOf("/");
|
|
412
|
+
const authority = authorityEnd >= 0 ? rest.slice(0, authorityEnd) : rest;
|
|
413
|
+
const pathAndAfter = authorityEnd >= 0 ? rest.slice(authorityEnd) : "";
|
|
414
|
+
const at = authority.lastIndexOf("@");
|
|
415
|
+
const redactedAuthority = at >= 0 ? `***${authority.slice(at)}` : authority;
|
|
416
|
+
return cap(`${scheme}://${redactedAuthority}${stripQueryAndFragment(pathAndAfter)}`);
|
|
417
|
+
}
|
|
418
|
+
const scpForm = trimmed.match(/^([^/@]+)@([^/@]+):(\S.*)$/);
|
|
419
|
+
if (scpForm) {
|
|
420
|
+
const [, , host, path2] = scpForm;
|
|
421
|
+
return cap(`***@${host}:${stripQueryAndFragment(path2)}`);
|
|
422
|
+
}
|
|
423
|
+
return cap(stripQueryAndFragment(trimmed));
|
|
424
|
+
}
|
|
425
|
+
function resolveRemoteUrlIdentity(directory, remoteName, maxChars = 200) {
|
|
426
|
+
if (!remoteName || remoteName.startsWith("-") || /[\s;&|<>`]/.test(remoteName)) {
|
|
427
|
+
return null;
|
|
428
|
+
}
|
|
429
|
+
const output = runGit(directory, ["remote", "get-url", "--push", remoteName]);
|
|
430
|
+
if (!output)
|
|
431
|
+
return null;
|
|
432
|
+
const url = output.split(/\r?\n/).filter(Boolean)[0];
|
|
433
|
+
if (!url)
|
|
434
|
+
return null;
|
|
435
|
+
return redactRemoteUrlIdentity(url, maxChars);
|
|
436
|
+
}
|
|
437
|
+
async function resolveRemoteUrlIdentityAsync(directory, remoteName, maxChars = 200) {
|
|
438
|
+
if (!remoteName || remoteName.startsWith("-") || /[\s;&|<>`]/.test(remoteName)) {
|
|
439
|
+
return null;
|
|
440
|
+
}
|
|
441
|
+
const output = await runGitAsync(directory, [
|
|
442
|
+
"remote",
|
|
443
|
+
"get-url",
|
|
444
|
+
"--push",
|
|
445
|
+
remoteName
|
|
446
|
+
]);
|
|
447
|
+
if (!output)
|
|
448
|
+
return null;
|
|
449
|
+
const url = output.split(/\r?\n/).filter(Boolean)[0];
|
|
450
|
+
if (!url)
|
|
451
|
+
return null;
|
|
452
|
+
return redactRemoteUrlIdentity(url, maxChars);
|
|
453
|
+
}
|
|
393
454
|
function resolveGitControlStateDigest(directory) {
|
|
394
455
|
const head = runGit(directory, ["rev-parse", "--verify", "HEAD^{commit}"]);
|
|
395
456
|
const symbolicHead = runGit(directory, ["symbolic-ref", "--quiet", "HEAD"]);
|
|
@@ -1150,4 +1211,4 @@ var _internals = {
|
|
|
1150
1211
|
readChangedFileSync: (filePath) => fs.readFileSync(filePath)
|
|
1151
1212
|
};
|
|
1152
1213
|
|
|
1153
|
-
export { readGitTextAtRevision, resolveCurrentGitHead, resolveCurrentGitHeadAsync, resolveExactMergeBase, resolveExactMergeBaseAsync, resolvePrReviewDiffStats, resolvePrReviewDiffStatsAsync, resolveCurrentUpstreamRemoteRef, resolveCurrentUpstreamPushTarget, resolveCurrentUpstreamPushTargetAsync, resolveExactRemoteBranchHead, resolveExactRemoteBranchHeadAsync, resolveGitControlStateDigest, resolveGitControlStateDigestAsync, resolveIsWorkingTreeClean, resolveIsWorkingTreeCleanAsync, resolveCommitCountSince, resolveCommitCountSinceAsync, resolveIsExactSingleChildCommit, resolveIsExactSingleChildCommitAsync, resolveRemoteRefsContainingHead, resolveRemoteRefsContainingHeadAsync, resolvePrFeedbackTrackingCandidatesAsync, switchPrFeedbackTrackingCandidateAsync, resolvePrWorkflowRevisionDigestDetailed, resolvePrWorkflowRevisionDigest, resolvePrWorkflowRevisionDigestDetailedAsync, resolvePrWorkflowRevisionDigestAsync, parsePorcelainPaths, isSwarmRuntimePath, parsePorcelainV2Snapshot, captureWorkspaceSnapshot, changedFilesSinceSnapshot, workspaceSnapshotMatches, compareWorkspaceSnapshot, compareWorkspaceSnapshots, digest, _internals };
|
|
1214
|
+
export { readGitTextAtRevision, resolveCurrentGitHead, resolveCurrentGitHeadAsync, resolveExactMergeBase, resolveExactMergeBaseAsync, resolvePrReviewDiffStats, resolvePrReviewDiffStatsAsync, resolveCurrentUpstreamRemoteRef, resolveCurrentUpstreamPushTarget, resolveCurrentUpstreamPushTargetAsync, resolveCurrentLocalHeadRefAsync, resolveExactRemoteBranchHead, resolveExactRemoteBranchHeadAsync, redactRemoteUrlIdentity, resolveRemoteUrlIdentity, resolveRemoteUrlIdentityAsync, resolveGitControlStateDigest, resolveGitControlStateDigestAsync, resolveIsWorkingTreeClean, resolveIsWorkingTreeCleanAsync, resolveCommitCountSince, resolveCommitCountSinceAsync, resolveIsExactSingleChildCommit, resolveIsExactSingleChildCommitAsync, resolveRemoteRefsContainingHead, resolveRemoteRefsContainingHeadAsync, resolvePrFeedbackTrackingCandidatesAsync, switchPrFeedbackTrackingCandidateAsync, resolvePrWorkflowRevisionDigestDetailed, resolvePrWorkflowRevisionDigest, resolvePrWorkflowRevisionDigestDetailedAsync, resolvePrWorkflowRevisionDigestAsync, parsePorcelainPaths, isSwarmRuntimePath, parsePorcelainV2Snapshot, captureWorkspaceSnapshot, changedFilesSinceSnapshot, workspaceSnapshotMatches, compareWorkspaceSnapshot, compareWorkspaceSnapshots, digest, _internals };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
handleGuardrailExplain
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-zq7pw6qg.js";
|
|
5
5
|
import {
|
|
6
6
|
handleGuardrailLog
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-ebratyzr.js";
|
|
8
8
|
import {
|
|
9
9
|
COMMAND_REGISTRY,
|
|
10
10
|
SWARM_COMMAND_TOOL_ALLOWLIST,
|
|
@@ -23,6 +23,11 @@ import {
|
|
|
23
23
|
handleArchiveCommand,
|
|
24
24
|
handleAutoProceedCommand,
|
|
25
25
|
handleBenchmarkCommand,
|
|
26
|
+
handleBlueprintCurrentCommand,
|
|
27
|
+
handleBlueprintDiffCommand,
|
|
28
|
+
handleBlueprintExportCommand,
|
|
29
|
+
handleBlueprintHistoryCommand,
|
|
30
|
+
handleBlueprintValidateCommand,
|
|
26
31
|
handleBrainstormCommand,
|
|
27
32
|
handleCheckpointCommand,
|
|
28
33
|
handleCiSimulateCommand,
|
|
@@ -47,6 +52,9 @@ import {
|
|
|
47
52
|
handleGateAuditCommand,
|
|
48
53
|
handleGateStatsCommand,
|
|
49
54
|
handleHandoffCommand,
|
|
55
|
+
handleHarnessCandidateDiffCommand,
|
|
56
|
+
handleHarnessCandidateShowCommand,
|
|
57
|
+
handleHarnessCandidateValidateCommand,
|
|
50
58
|
handleHelpCommand,
|
|
51
59
|
handleHistoryCommand,
|
|
52
60
|
handleKnowledgeListCommand,
|
|
@@ -86,66 +94,66 @@ import {
|
|
|
86
94
|
handleWriteRetroCommand,
|
|
87
95
|
normalizeSwarmCommandInput,
|
|
88
96
|
resolveCommand
|
|
89
|
-
} from "./index-
|
|
90
|
-
import"./index-
|
|
91
|
-
import"./index-
|
|
92
|
-
import"./index-
|
|
93
|
-
import"./index-
|
|
94
|
-
import"./index-
|
|
97
|
+
} from "./index-gk6wpq41.js";
|
|
98
|
+
import"./index-t0kxka8n.js";
|
|
99
|
+
import"./index-4kd1nqd2.js";
|
|
100
|
+
import"./index-nd22bsnt.js";
|
|
101
|
+
import"./index-93ymj3j5.js";
|
|
102
|
+
import"./index-ngn6jmad.js";
|
|
95
103
|
import"./index-134d35c1.js";
|
|
96
104
|
import"./index-nj6rmyeh.js";
|
|
97
|
-
import"./index-
|
|
98
|
-
import"./index-
|
|
99
|
-
import"./index-
|
|
105
|
+
import"./index-txdagbh7.js";
|
|
106
|
+
import"./index-g0j2hnse.js";
|
|
107
|
+
import"./index-1dzy1j4v.js";
|
|
100
108
|
import"./index-70ha9e09.js";
|
|
101
109
|
import"./index-c8s9a3zh.js";
|
|
102
110
|
import"./index-9ss2m4rs.js";
|
|
103
|
-
import"./index-
|
|
111
|
+
import"./index-91ybfvy2.js";
|
|
104
112
|
import"./index-zsrtt42s.js";
|
|
105
|
-
import"./index-
|
|
106
|
-
import"./index-
|
|
107
|
-
import"./index-
|
|
108
|
-
import"./index-
|
|
109
|
-
import"./index-
|
|
113
|
+
import"./index-vbqssmbs.js";
|
|
114
|
+
import"./index-dwkrdpz2.js";
|
|
115
|
+
import"./index-n6ayyadp.js";
|
|
116
|
+
import"./index-tvtvhjh0.js";
|
|
117
|
+
import"./index-gpf3cjre.js";
|
|
110
118
|
import"./index-rtry5xyf.js";
|
|
111
|
-
import"./index-
|
|
112
|
-
import"./index-
|
|
113
|
-
import"./index-
|
|
119
|
+
import"./index-61nkp124.js";
|
|
120
|
+
import"./index-p0by16z8.js";
|
|
121
|
+
import"./index-12e2hztp.js";
|
|
114
122
|
import"./index-ddszzne4.js";
|
|
115
|
-
import"./index-
|
|
116
|
-
import"./index-
|
|
117
|
-
import"./index-
|
|
118
|
-
import"./index-
|
|
123
|
+
import"./index-3f7hqtgg.js";
|
|
124
|
+
import"./index-n7gv8m7v.js";
|
|
125
|
+
import"./index-79k7p589.js";
|
|
126
|
+
import"./index-nwkr6tvv.js";
|
|
119
127
|
import"./index-556ja8an.js";
|
|
120
128
|
import"./index-4fwbbad3.js";
|
|
121
129
|
import"./index-b43rt5ph.js";
|
|
122
130
|
import"./index-q7sjgr1y.js";
|
|
123
|
-
import"./index-
|
|
124
|
-
import"./index-
|
|
125
|
-
import"./index-
|
|
131
|
+
import"./index-j3egsxa1.js";
|
|
132
|
+
import"./index-3vqdt1sx.js";
|
|
133
|
+
import"./index-q94gt4n9.js";
|
|
126
134
|
import"./index-gprxjmm7.js";
|
|
127
135
|
import"./index-n832052r.js";
|
|
128
136
|
import"./index-dtn0pne5.js";
|
|
129
137
|
import"./index-z6xqpmqg.js";
|
|
130
138
|
import"./index-r3mvsbtq.js";
|
|
131
|
-
import"./index-
|
|
139
|
+
import"./index-2e60kmzg.js";
|
|
132
140
|
import {
|
|
133
141
|
init_schema,
|
|
134
142
|
stripKnownSwarmPrefix
|
|
135
|
-
} from "./index-
|
|
143
|
+
} from "./index-4w20thrc.js";
|
|
136
144
|
import {
|
|
137
145
|
AGENT_TOOL_MAP,
|
|
138
146
|
ORCHESTRATOR_NAME,
|
|
139
147
|
init_constants
|
|
140
|
-
} from "./index-
|
|
148
|
+
} from "./index-9r7gp6cp.js";
|
|
141
149
|
import"./index-zjygnfay.js";
|
|
142
150
|
import"./index-9e6fdz2h.js";
|
|
143
151
|
import"./index-4rhhvd1a.js";
|
|
144
152
|
import"./index-ae75rja9.js";
|
|
145
|
-
import"./index-
|
|
146
|
-
import"./index-
|
|
153
|
+
import"./index-b5xm177r.js";
|
|
154
|
+
import"./index-xe6zbfps.js";
|
|
147
155
|
import"./index-bk5tah7q.js";
|
|
148
|
-
import"./index-
|
|
156
|
+
import"./index-6sbx96v6.js";
|
|
149
157
|
import"./index-xagq35tf.js";
|
|
150
158
|
import"./index-ed5ykebp.js";
|
|
151
159
|
import"./index-h1g8w4v0.js";
|
|
@@ -277,6 +285,7 @@ function createSwarmCommandHandler(directory, agents, options = {}) {
|
|
|
277
285
|
sessionID: input.sessionID,
|
|
278
286
|
tokens: normalized.tokens,
|
|
279
287
|
activeAgentName: options.getActiveAgentName?.(input.sessionID),
|
|
288
|
+
config: options.config,
|
|
280
289
|
packageRoot: options.packageRoot,
|
|
281
290
|
registeredAgents: options.registeredAgents,
|
|
282
291
|
evaluationModelDispatcher: options.evaluationModelDispatcher,
|
|
@@ -295,6 +304,7 @@ async function buildSwarmCommandPrompt(args) {
|
|
|
295
304
|
sessionID,
|
|
296
305
|
tokens,
|
|
297
306
|
activeAgentName,
|
|
307
|
+
config,
|
|
298
308
|
packageRoot,
|
|
299
309
|
registeredAgents,
|
|
300
310
|
evaluationModelDispatcher,
|
|
@@ -343,6 +353,7 @@ async function buildSwarmCommandPrompt(args) {
|
|
|
343
353
|
agents,
|
|
344
354
|
sessionID,
|
|
345
355
|
tokens,
|
|
356
|
+
config,
|
|
346
357
|
packageRoot,
|
|
347
358
|
evaluationModelDispatcher,
|
|
348
359
|
reviewModelDispatcher,
|
|
@@ -440,6 +451,9 @@ export {
|
|
|
440
451
|
handleKnowledgeListCommand,
|
|
441
452
|
handleHistoryCommand,
|
|
442
453
|
handleHelpCommand,
|
|
454
|
+
handleHarnessCandidateValidateCommand,
|
|
455
|
+
handleHarnessCandidateShowCommand,
|
|
456
|
+
handleHarnessCandidateDiffCommand,
|
|
443
457
|
handleHandoffCommand,
|
|
444
458
|
handleGuardrailLog,
|
|
445
459
|
handleGuardrailExplain,
|
|
@@ -466,6 +480,11 @@ export {
|
|
|
466
480
|
handleCiSimulateCommand,
|
|
467
481
|
handleCheckpointCommand,
|
|
468
482
|
handleBrainstormCommand,
|
|
483
|
+
handleBlueprintValidateCommand,
|
|
484
|
+
handleBlueprintHistoryCommand,
|
|
485
|
+
handleBlueprintExportCommand,
|
|
486
|
+
handleBlueprintDiffCommand,
|
|
487
|
+
handleBlueprintCurrentCommand,
|
|
469
488
|
handleBenchmarkCommand,
|
|
470
489
|
handleAutoProceedCommand,
|
|
471
490
|
handleArchiveCommand,
|
|
@@ -4,20 +4,20 @@ import {
|
|
|
4
4
|
} from "./index-dtn0pne5.js";
|
|
5
5
|
import {
|
|
6
6
|
loadPluginConfigWithMeta
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-2e60kmzg.js";
|
|
8
8
|
import {
|
|
9
9
|
KnowledgeConfigSchema,
|
|
10
10
|
init_schema
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-4w20thrc.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-b5xm177r.js";
|
|
18
18
|
import {
|
|
19
19
|
atomicWriteFile
|
|
20
|
-
} from "./index-
|
|
20
|
+
} from "./index-xe6zbfps.js";
|
|
21
21
|
import {
|
|
22
22
|
assertProjectRoot
|
|
23
23
|
} from "./index-xagq35tf.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-vvgxbakx.js");
|
|
2797
2797
|
bumps = await bumpKnowledgeConfidenceBatch(directory, deltas, options?.floorOptions);
|
|
2798
2798
|
}
|
|
2799
2799
|
return {
|
|
@@ -11,10 +11,10 @@ import {
|
|
|
11
11
|
import {
|
|
12
12
|
init_schema,
|
|
13
13
|
stripKnownSwarmPrefix
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-4w20thrc.js";
|
|
15
15
|
import {
|
|
16
16
|
init_constants
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-9r7gp6cp.js";
|
|
18
18
|
import {
|
|
19
19
|
telemetry
|
|
20
20
|
} from "./index-h1g8w4v0.js";
|
|
@@ -2641,6 +2641,11 @@ init_constants();
|
|
|
2641
2641
|
|
|
2642
2642
|
// src/hooks/normalize-tool-name.ts
|
|
2643
2643
|
var NAMESPACE_PREFIX_PATTERN = /^[^:]+[:.]/;
|
|
2644
|
+
function normalizeToolName(toolName) {
|
|
2645
|
+
if (!toolName)
|
|
2646
|
+
return;
|
|
2647
|
+
return toolName.replace(NAMESPACE_PREFIX_PATTERN, "");
|
|
2648
|
+
}
|
|
2644
2649
|
function normalizeToolNameLowerCase(toolName) {
|
|
2645
2650
|
return toolName.replace(NAMESPACE_PREFIX_PATTERN, "").toLowerCase();
|
|
2646
2651
|
}
|
|
@@ -3421,4 +3426,4 @@ function redactDecisionLineForArchive(line) {
|
|
|
3421
3426
|
return changed ? JSON.stringify(record) : line;
|
|
3422
3427
|
}
|
|
3423
3428
|
|
|
3424
|
-
export { isPolicyProtectedPath, protectedRoots, classifyFile, stableCanonicalStringify, checkFileAuthority, normalizeToolNameLowerCase, isInDeclaredScope, redactShellCommand, readShellAuditTail, getShellAuditFoldedSummary, finalizeShellAuditForClose, redactPath, redactDecisionLineForArchive };
|
|
3429
|
+
export { isPolicyProtectedPath, protectedRoots, classifyFile, stableCanonicalStringify, checkFileAuthority, normalizeToolName, normalizeToolNameLowerCase, isInDeclaredScope, redactShellCommand, readShellAuditTail, getShellAuditFoldedSummary, finalizeShellAuditForClose, redactPath, redactDecisionLineForArchive };
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
ALL_AGENT_NAMES,
|
|
4
4
|
SUMMARIZER_EXEMPT_TOOL_NAMES,
|
|
5
5
|
init_constants
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-9r7gp6cp.js";
|
|
7
7
|
import {
|
|
8
8
|
OUTCOME_BLOCK_THRESHOLD,
|
|
9
9
|
init_knowledge_types
|
|
@@ -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.157.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",
|
|
@@ -314,7 +314,7 @@ function resolveExternalSkillsConfig(input) {
|
|
|
314
314
|
};
|
|
315
315
|
return merged;
|
|
316
316
|
}
|
|
317
|
-
var _internals, SEPARATORS, CANONICAL_ROLES_LONGEST_FIRST, CANONICAL_ROLES_SET, AgentReasoningConfigSchema, AgentThinkingConfigSchema, FALLBACK_MODELS_MAX = 3, AgentOverrideConfigSchema, SwarmConfigSchema, ModelPricingConfigSchema, PricingConfigSchema, HooksConfigSchema, ScoringWeightsSchema, DecisionDecaySchema, TokenRatiosSchema, ScoringConfigSchema, ContextBudgetConfigSchema, EvidenceConfigSchema, GateFeatureSchema, PlaceholderScanConfigSchema, QualityBudgetConfigSchema, GATE_CONFIG_KNOWN_SECTION_KEYS, GateConfigSchema, PipelineConfigSchema, PhaseCompleteConfigSchema, SummaryConfigSchema, ReviewPassesConfigSchema, AUTO_REVIEW_V8_BURN_IN_DECISION, AutoReviewFinalConfigSchema, AutoReviewConfigObjectSchema, AutoReviewConfigSchema, AdversarialDetectionConfigSchema, AdversarialTestingConfigSchemaBase, AdversarialTestingConfigSchema, IntegrationAnalysisConfigSchema, DocsConfigSchema, DesignDocsConfigSchema, GitConfigSchema, UIReviewConfigSchema, CompactionAdvisoryConfigSchema, LintConfigSchema, SecretscanConfigSchema, GuardrailsProfileSchema, DEFAULT_AGENT_PROFILES, DEFAULT_ARCHITECT_PROFILE, GuardrailsConfigSchema, WatchdogConfigSchema, SelfReviewConfigSchema, ToolFilterConfigSchema, PlanCursorConfigSchema, ContextMapConfigSchema, RepoGraphConfigSchema, INVALID_CHECKPOINT_PROTO_FIELD = "__swarm_invalid_checkpoint_proto__", FORBIDDEN_CHECKPOINT_CONFIG_KEYS, CheckpointConfigSchema, ApplyPatchConfigSchema, AutomationModeSchema, AutomationCapabilitiesSchema, AutomationConfigSchemaBase, AutomationConfigSchema, KnowledgeConfigSchema, LearningConfigSchema, ConsensusConfigSchema, MemoryConfigSchema, CuratorConfigSchema, ArchitecturalSupervisionConfigSchema, KnowledgeApplicationConfigSchema, SkillPropagationAudienceSchema, SkillPropagationConfigSchema, SkillImproverConfigSchema, SkillsConfigSchema, SkillOptConfigSchema, DEFAULT_SKILL_OPT_CONFIG, SpecWriterConfigSchema, SlopDetectorConfigSchema, IncrementalVerifyConfigSchema, CompactionConfigSchema, PrmConfigSchema, AgentAuthorityRuleSchema, AuthorityConfigSchema, GeneralCouncilMemberConfigSchema, GeneralCouncilConfigSchema, CouncilConfigSchema, PrMonitorConfigSchema, ParallelizationConfigSchema, WorktreeIsolationConfigSchema, LeanTurboConfigSchema, EpicConfigSchema, StandardTurboConfigSchema, LeanTurboStrategyConfigSchema, TurboConfigSchema, ExternalSkillCandidateSourceTypeSchema, ExternalSkillCandidateEvaluationVerdictSchema, DiscoverySourceSchema, ExternalSkillCandidateSchema, ExternalSkillsConfigSchema, DEFAULT_EXTERNAL_SKILLS_CONFIG, DEFAULT_SKILLS_CONFIG, DEFAULT_PR_REVIEW_RESILIENCE_CONFIG, PrReviewResilienceConfigSchema, PluginConfigSchema;
|
|
317
|
+
var _internals, SEPARATORS, CANONICAL_ROLES_LONGEST_FIRST, CANONICAL_ROLES_SET, AgentReasoningConfigSchema, AgentThinkingConfigSchema, FALLBACK_MODELS_MAX = 3, AgentOverrideConfigSchema, SwarmConfigSchema, ModelPricingConfigSchema, PricingConfigSchema, HooksConfigSchema, ScoringWeightsSchema, DecisionDecaySchema, TokenRatiosSchema, ScoringConfigSchema, ContextBudgetConfigSchema, EvidenceConfigSchema, GateFeatureSchema, PlaceholderScanConfigSchema, QualityBudgetConfigSchema, GATE_CONFIG_KNOWN_SECTION_KEYS, GateConfigSchema, PipelineConfigSchema, PhaseCompleteConfigSchema, SummaryConfigSchema, ReviewPassesConfigSchema, AUTO_REVIEW_V8_BURN_IN_DECISION, AutoReviewFinalConfigSchema, AutoReviewConfigObjectSchema, AutoReviewConfigSchema, AdversarialDetectionConfigSchema, AdversarialTestingConfigSchemaBase, AdversarialTestingConfigSchema, IntegrationAnalysisConfigSchema, DocsConfigSchema, DesignDocsConfigSchema, GitConfigSchema, UIReviewConfigSchema, CompactionAdvisoryConfigSchema, LintConfigSchema, SecretscanConfigSchema, GuardrailsProfileSchema, DEFAULT_AGENT_PROFILES, DEFAULT_ARCHITECT_PROFILE, GuardrailsConfigSchema, WatchdogConfigSchema, SelfReviewConfigSchema, ToolFilterConfigSchema, PlanCursorConfigSchema, ContextMapConfigSchema, RepoGraphConfigSchema, INVALID_CHECKPOINT_PROTO_FIELD = "__swarm_invalid_checkpoint_proto__", FORBIDDEN_CHECKPOINT_CONFIG_KEYS, CheckpointConfigSchema, ApplyPatchConfigSchema, AutomationModeSchema, AutomationCapabilitiesSchema, AutomationConfigSchemaBase, AutomationConfigSchema, KnowledgeConfigSchema, LearningConfigSchema, ConsensusConfigSchema, MemoryConfigSchema, CuratorConfigSchema, ArchitecturalSupervisionConfigSchema, KnowledgeApplicationConfigSchema, SkillPropagationAudienceSchema, SkillPropagationConfigSchema, HarnessRelativePathSchema, HarnessEvolutionConfigSchema, DEFAULT_HARNESS_EVOLUTION_CONFIG, SkillImproverConfigSchema, SkillsConfigSchema, SkillOptConfigSchema, DEFAULT_SKILL_OPT_CONFIG, SpecWriterConfigSchema, SlopDetectorConfigSchema, IncrementalVerifyConfigSchema, CompactionConfigSchema, PrmConfigSchema, AgentAuthorityRuleSchema, AuthorityConfigSchema, GeneralCouncilMemberConfigSchema, GeneralCouncilConfigSchema, CouncilConfigSchema, PrMonitorConfigSchema, ParallelizationConfigSchema, WorktreeIsolationConfigSchema, LeanTurboConfigSchema, EpicConfigSchema, StandardTurboConfigSchema, LeanTurboStrategyConfigSchema, TurboConfigSchema, ExternalSkillCandidateSourceTypeSchema, ExternalSkillCandidateEvaluationVerdictSchema, DiscoverySourceSchema, ExternalSkillCandidateSchema, ExternalSkillsConfigSchema, DEFAULT_EXTERNAL_SKILLS_CONFIG, DEFAULT_SKILLS_CONFIG, DEFAULT_PR_REVIEW_RESILIENCE_CONFIG, PrReviewResilienceConfigSchema, PluginConfigSchema;
|
|
318
318
|
var init_schema = __esm(() => {
|
|
319
319
|
init_zod();
|
|
320
320
|
init_package();
|
|
@@ -1267,6 +1267,23 @@ var init_schema = __esm(() => {
|
|
|
1267
1267
|
enforce: exports_external.boolean().default(false),
|
|
1268
1268
|
audiences: exports_external.array(SkillPropagationAudienceSchema).max(16).transform((values) => [...new Set(values)]).default([])
|
|
1269
1269
|
});
|
|
1270
|
+
HarnessRelativePathSchema = exports_external.string().min(1).max(1024).refine((value) => !value.includes("\x00"), "path contains a NUL byte").refine((value) => !/^(?:[A-Za-z]:[\\/]|[\\/]{1,2})/.test(value), {
|
|
1271
|
+
message: "path must be project-relative"
|
|
1272
|
+
}).refine((value) => !value.replace(/\\/g, "/").split("/").some((segment) => segment === ".."), "path must not traverse outside the project");
|
|
1273
|
+
HarnessEvolutionConfigSchema = exports_external.object({
|
|
1274
|
+
source_allowlist: exports_external.array(HarnessRelativePathSchema).max(128).default([]),
|
|
1275
|
+
extra_protected_paths: exports_external.array(HarnessRelativePathSchema).max(128).default([]),
|
|
1276
|
+
max_patch_bytes: exports_external.number().int().min(1).max(16777216).default(1048576),
|
|
1277
|
+
max_files: exports_external.number().int().min(1).max(1024).default(64),
|
|
1278
|
+
max_file_bytes: exports_external.number().int().min(1).max(8388608).default(524288),
|
|
1279
|
+
max_total_bytes: exports_external.number().int().min(1).max(67108864).default(4194304),
|
|
1280
|
+
max_changed_lines: exports_external.number().int().min(1).max(1e5).default(1e4),
|
|
1281
|
+
max_versions: exports_external.number().int().min(1).max(1e4).default(100),
|
|
1282
|
+
max_inactive_candidates: exports_external.number().int().min(0).max(128).default(32),
|
|
1283
|
+
max_replay_records: exports_external.number().int().min(1).max(1e5).default(1e4),
|
|
1284
|
+
max_output_bytes: exports_external.number().int().min(1024).max(1048576).default(262144)
|
|
1285
|
+
}).strict();
|
|
1286
|
+
DEFAULT_HARNESS_EVOLUTION_CONFIG = Object.freeze(HarnessEvolutionConfigSchema.parse({}));
|
|
1270
1287
|
SkillImproverConfigSchema = exports_external.object({
|
|
1271
1288
|
enabled: exports_external.boolean().default(false),
|
|
1272
1289
|
model: exports_external.string().nullable().default(null),
|
|
@@ -1697,6 +1714,7 @@ var init_schema = __esm(() => {
|
|
|
1697
1714
|
knowledge_application: KnowledgeApplicationConfigSchema.optional(),
|
|
1698
1715
|
skillPropagation: SkillPropagationConfigSchema.optional(),
|
|
1699
1716
|
skill_improver: SkillImproverConfigSchema.optional(),
|
|
1717
|
+
harness_evolution: HarnessEvolutionConfigSchema.optional(),
|
|
1700
1718
|
spec_writer: SpecWriterConfigSchema.optional(),
|
|
1701
1719
|
tool_output: exports_external.object({
|
|
1702
1720
|
truncation_enabled: exports_external.boolean().default(true),
|
|
@@ -1886,4 +1904,4 @@ var init_schema = __esm(() => {
|
|
|
1886
1904
|
});
|
|
1887
1905
|
});
|
|
1888
1906
|
|
|
1889
|
-
export { init_package, package_default, DEFAULT_MODEL_CONTEXT_TOKENS, init_context_window, _internals, isKnownCanonicalRole, getCanonicalAgentRole, resolveGeneratedAgentRole, stripKnownSwarmPrefix, AgentReasoningConfigSchema, AgentThinkingConfigSchema, FALLBACK_MODELS_MAX, AgentOverrideConfigSchema, SwarmConfigSchema, ModelPricingConfigSchema, PricingConfigSchema, HooksConfigSchema, ScoringWeightsSchema, DecisionDecaySchema, TokenRatiosSchema, ScoringConfigSchema, ContextBudgetConfigSchema, EvidenceConfigSchema, GateFeatureSchema, PlaceholderScanConfigSchema, QualityBudgetConfigSchema, GATE_CONFIG_KNOWN_SECTION_KEYS, GateConfigSchema, PipelineConfigSchema, PhaseCompleteConfigSchema, SummaryConfigSchema, ReviewPassesConfigSchema, AUTO_REVIEW_V8_BURN_IN_DECISION, AutoReviewConfigSchema, resolveAutoReviewConfig, AdversarialDetectionConfigSchema, AdversarialTestingConfigSchema, IntegrationAnalysisConfigSchema, DocsConfigSchema, DesignDocsConfigSchema, GitConfigSchema, UIReviewConfigSchema, CompactionAdvisoryConfigSchema, LintConfigSchema, SecretscanConfigSchema, GuardrailsProfileSchema, DEFAULT_AGENT_PROFILES, DEFAULT_ARCHITECT_PROFILE, GuardrailsConfigSchema, WatchdogConfigSchema, SelfReviewConfigSchema, resolveGuardrailsConfig, ToolFilterConfigSchema, PlanCursorConfigSchema, ContextMapConfigSchema, RepoGraphConfigSchema, CheckpointConfigSchema, ApplyPatchConfigSchema, AutomationModeSchema, AutomationCapabilitiesSchema, AutomationConfigSchema, KnowledgeConfigSchema, LearningConfigSchema, ConsensusConfigSchema, MemoryConfigSchema, CuratorConfigSchema, ArchitecturalSupervisionConfigSchema, KnowledgeApplicationConfigSchema, SkillPropagationConfigSchema, SkillImproverConfigSchema, SkillsConfigSchema, SkillOptConfigSchema, DEFAULT_SKILL_OPT_CONFIG, SpecWriterConfigSchema, SlopDetectorConfigSchema, IncrementalVerifyConfigSchema, CompactionConfigSchema, PrmConfigSchema, AgentAuthorityRuleSchema, AuthorityConfigSchema, GeneralCouncilConfigSchema, CouncilConfigSchema, PrMonitorConfigSchema, ParallelizationConfigSchema, WorktreeIsolationConfigSchema, LeanTurboConfigSchema, EpicConfigSchema, StandardTurboConfigSchema, LeanTurboStrategyConfigSchema, TurboConfigSchema, ExternalSkillCandidateSourceTypeSchema, ExternalSkillCandidateEvaluationVerdictSchema, DiscoverySourceSchema, ExternalSkillCandidateSchema, ExternalSkillsConfigSchema, DEFAULT_EXTERNAL_SKILLS_CONFIG, DEFAULT_SKILLS_CONFIG, resolveExternalSkillsConfig, DEFAULT_PR_REVIEW_RESILIENCE_CONFIG, PrReviewResilienceConfigSchema, PluginConfigSchema, init_schema };
|
|
1907
|
+
export { init_package, package_default, DEFAULT_MODEL_CONTEXT_TOKENS, init_context_window, _internals, isKnownCanonicalRole, getCanonicalAgentRole, resolveGeneratedAgentRole, stripKnownSwarmPrefix, AgentReasoningConfigSchema, AgentThinkingConfigSchema, FALLBACK_MODELS_MAX, AgentOverrideConfigSchema, SwarmConfigSchema, ModelPricingConfigSchema, PricingConfigSchema, HooksConfigSchema, ScoringWeightsSchema, DecisionDecaySchema, TokenRatiosSchema, ScoringConfigSchema, ContextBudgetConfigSchema, EvidenceConfigSchema, GateFeatureSchema, PlaceholderScanConfigSchema, QualityBudgetConfigSchema, GATE_CONFIG_KNOWN_SECTION_KEYS, GateConfigSchema, PipelineConfigSchema, PhaseCompleteConfigSchema, SummaryConfigSchema, ReviewPassesConfigSchema, AUTO_REVIEW_V8_BURN_IN_DECISION, AutoReviewConfigSchema, resolveAutoReviewConfig, AdversarialDetectionConfigSchema, AdversarialTestingConfigSchema, IntegrationAnalysisConfigSchema, DocsConfigSchema, DesignDocsConfigSchema, GitConfigSchema, UIReviewConfigSchema, CompactionAdvisoryConfigSchema, LintConfigSchema, SecretscanConfigSchema, GuardrailsProfileSchema, DEFAULT_AGENT_PROFILES, DEFAULT_ARCHITECT_PROFILE, GuardrailsConfigSchema, WatchdogConfigSchema, SelfReviewConfigSchema, resolveGuardrailsConfig, ToolFilterConfigSchema, PlanCursorConfigSchema, ContextMapConfigSchema, RepoGraphConfigSchema, CheckpointConfigSchema, ApplyPatchConfigSchema, AutomationModeSchema, AutomationCapabilitiesSchema, AutomationConfigSchema, KnowledgeConfigSchema, LearningConfigSchema, ConsensusConfigSchema, MemoryConfigSchema, CuratorConfigSchema, ArchitecturalSupervisionConfigSchema, KnowledgeApplicationConfigSchema, SkillPropagationConfigSchema, HarnessEvolutionConfigSchema, DEFAULT_HARNESS_EVOLUTION_CONFIG, SkillImproverConfigSchema, SkillsConfigSchema, SkillOptConfigSchema, DEFAULT_SKILL_OPT_CONFIG, SpecWriterConfigSchema, SlopDetectorConfigSchema, IncrementalVerifyConfigSchema, CompactionConfigSchema, PrmConfigSchema, AgentAuthorityRuleSchema, AuthorityConfigSchema, GeneralCouncilConfigSchema, CouncilConfigSchema, PrMonitorConfigSchema, ParallelizationConfigSchema, WorktreeIsolationConfigSchema, LeanTurboConfigSchema, EpicConfigSchema, StandardTurboConfigSchema, LeanTurboStrategyConfigSchema, TurboConfigSchema, ExternalSkillCandidateSourceTypeSchema, ExternalSkillCandidateEvaluationVerdictSchema, DiscoverySourceSchema, ExternalSkillCandidateSchema, ExternalSkillsConfigSchema, DEFAULT_EXTERNAL_SKILLS_CONFIG, DEFAULT_SKILLS_CONFIG, resolveExternalSkillsConfig, DEFAULT_PR_REVIEW_RESILIENCE_CONFIG, PrReviewResilienceConfigSchema, PluginConfigSchema, init_schema };
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
autoCommitDirty,
|
|
4
4
|
cleanUntrackedFiles
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-p0by16z8.js";
|
|
6
6
|
import {
|
|
7
7
|
isPathWithinDeclaredScope,
|
|
8
8
|
unsafePathTextReason
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
atomicWriteFile,
|
|
27
27
|
taskEvidencePath,
|
|
28
28
|
withTaskEvidenceLock
|
|
29
|
-
} from "./index-
|
|
29
|
+
} from "./index-xe6zbfps.js";
|
|
30
30
|
import {
|
|
31
31
|
assertProjectRoot
|
|
32
32
|
} from "./index-xagq35tf.js";
|
|
@@ -42,8 +42,8 @@ var SWARM_TEMP_GRAMMARS = [
|
|
|
42
42
|
token: "instance",
|
|
43
43
|
quarantineEligible: true,
|
|
44
44
|
parsesTarget: true,
|
|
45
|
-
producers: ["src/hooks/pr-workflow-gate.ts:
|
|
46
|
-
note: "pre/post-rename file-identity verification (assertOpened/ClosedSwarmFileIdentity, pr-workflow-gate.ts:
|
|
45
|
+
producers: ["src/hooks/pr-workflow-gate.ts:16990"],
|
|
46
|
+
note: "pre/post-rename file-identity verification (assertOpened/ClosedSwarmFileIdentity, pr-workflow-gate.ts:16932-16970) is writer-specific and load-bearing"
|
|
47
47
|
},
|
|
48
48
|
{
|
|
49
49
|
id: "target-suffix-tmp-num-num-json",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
_internals,
|
|
4
4
|
resolveWorktreeIsolationConfig
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-q94gt4n9.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-2e60kmzg.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-4w20thrc.js";
|
|
68
68
|
import {
|
|
69
69
|
ALL_AGENT_NAMES,
|
|
70
70
|
ALL_SUBAGENT_NAMES,
|
|
@@ -74,7 +74,7 @@ import {
|
|
|
74
74
|
QA_AGENTS,
|
|
75
75
|
isQAAgent,
|
|
76
76
|
isSubagent
|
|
77
|
-
} from "./index-
|
|
77
|
+
} from "./index-9r7gp6cp.js";
|
|
78
78
|
import"./index-zjygnfay.js";
|
|
79
79
|
import"./index-9e6fdz2h.js";
|
|
80
80
|
import"./index-4rhhvd1a.js";
|