opencode-swarm 7.160.2 → 7.161.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.opencode/skills/critic-gate/SKILL.md +2 -1
- package/.opencode/skills/execute/SKILL.md +1 -1
- package/dist/background/delegation-lifecycle.d.ts +374 -0
- package/dist/background/pending-delegations.d.ts +6 -0
- package/dist/cli/{coder-settlement-gzar5ypz.js → coder-settlement-2jteb5vy.js} +9 -9
- package/dist/cli/{config-doctor-ancn1sj7.js → config-doctor-1yn317qf.js} +3 -3
- package/dist/cli/{core-bhmqtxev.js → core-k687jrr3.js} +2 -2
- package/dist/cli/{curation-policy-47przjwg.js → curation-policy-ej9xc0cd.js} +5 -5
- package/dist/cli/{curator-llm-factory-6mw01jx1.js → curator-llm-factory-m1ke17eq.js} +31 -31
- package/dist/cli/{curator-sgmynbpm.js → curator-q017rjfk.js} +31 -31
- package/dist/cli/{evidence-summary-service-1pcfsqhv.js → evidence-summary-service-6jzfa547.js} +14 -14
- package/dist/cli/{gate-evidence-w0kjqmew.js → gate-evidence-j6nskaka.js} +6 -6
- package/dist/cli/{guardrail-explain-k99eje1y.js → guardrail-explain-xw3ma90f.js} +32 -32
- package/dist/cli/{guardrail-log-md5gcpk7.js → guardrail-log-etmzhbge.js} +7 -7
- package/dist/cli/{guardrail-reset-3385eqmq.js → guardrail-reset-z9fkxksy.js} +31 -31
- package/dist/cli/{hive-promoter-r0ekyn5m.js → hive-promoter-dmwjya83.js} +31 -31
- package/dist/cli/{index-vv760pbg.js → index-1j532307.js} +2 -2
- package/dist/cli/{index-2123hwbj.js → index-29f9te70.js} +4 -4
- package/dist/cli/{index-4dcz9fpn.js → index-32avgbyq.js} +4 -4
- package/dist/cli/{index-xsd7y4hp.js → index-4p6x3xxy.js} +4 -4
- package/dist/cli/{index-7h2armwf.js → index-7619tk9a.js} +2 -2
- package/dist/cli/{index-zbnf26br.js → index-7d79mj06.js} +8 -8
- package/dist/cli/{index-am5bz6mf.js → index-88wb0z9r.js} +2 -2
- package/dist/cli/{index-k0qy284k.js → index-9kp3cp5n.js} +5 -5
- package/dist/cli/{index-c9zp4xwc.js → index-9xd073d4.js} +1 -1
- package/dist/cli/{index-xtwny1ae.js → index-bn78ywnb.js} +2 -2
- package/dist/cli/{index-kqzba6ex.js → index-c1geyan9.js} +2 -2
- package/dist/cli/{index-prv20xq6.js → index-c6zyqgpq.js} +1 -1
- package/dist/cli/{index-war2dt6a.js → index-cbcfpgz9.js} +6 -6
- package/dist/cli/{index-s7w6ntw6.js → index-cs9w1hfs.js} +82 -80
- package/dist/cli/{index-7ezv5j23.js → index-d8st72j7.js} +1 -1
- package/dist/cli/{index-nk498mx6.js → index-dq41vsf9.js} +2 -2
- package/dist/cli/{index-vsy942dt.js → index-e0re84cx.js} +33 -33
- package/dist/cli/{index-717pmdce.js → index-epjvntnm.js} +1 -1
- package/dist/cli/{index-znf683sm.js → index-f5axf6vq.js} +1 -1
- package/dist/cli/{index-dke4wzkn.js → index-fx3em0dr.js} +17 -1
- package/dist/cli/{index-5th50g17.js → index-hq57ytm5.js} +3 -3
- package/dist/cli/{index-3a35tt6a.js → index-hvfsz7e3.js} +8 -8
- package/dist/cli/{index-xkmzsfg5.js → index-jm21vbyp.js} +3 -3
- package/dist/cli/{index-yd6y4qr7.js → index-k4xey4kh.js} +1 -1
- package/dist/cli/{index-mmr96pwr.js → index-k55td019.js} +1 -1
- package/dist/cli/{index-yp81ebrx.js → index-nm0cpfrv.js} +4 -4
- package/dist/cli/{index-b5adxpy6.js → index-nqbqkx4c.js} +1 -1
- package/dist/cli/{index-4d8cq6e1.js → index-qd9mrd7e.js} +5 -5
- package/dist/cli/{index-6scakreq.js → index-rracnf2y.js} +2 -2
- package/dist/cli/{index-j3ss86kf.js → index-s33ee2w3.js} +1 -1
- package/dist/cli/{index-497a3hhj.js → index-y14mwbk8.js} +3 -3
- package/dist/cli/{index-re338hf1.js → index-yhadrxka.js} +3 -3
- package/dist/cli/{index-k50kxd3w.js → index-za42r41w.js} +7 -4
- package/dist/cli/{index-q8hm27yj.js → index-zg9d392c.js} +4 -1
- package/dist/cli/{index-5xfx5sbw.js → index-zhdfqz89.js} +5 -5
- package/dist/cli/index.js +31 -31
- package/dist/cli/{knowledge-escalator-saekqp8t.js → knowledge-escalator-cqyxfjfh.js} +13 -13
- package/dist/cli/{knowledge-events-ej8yz3yq.js → knowledge-events-g707awjf.js} +11 -11
- package/dist/cli/{knowledge-link-xezm8hr3.js → knowledge-link-8knefv8x.js} +4 -4
- package/dist/cli/{knowledge-store-3jamj5n4.js → knowledge-store-byhv66xq.js} +5 -5
- package/dist/cli/{knowledge-validator-26w2mvqv.js → knowledge-validator-qfkr8eje.js} +7 -7
- package/dist/cli/{model-preflight-yqqchzjn.js → model-preflight-c3mc8njg.js} +1 -1
- package/dist/cli/{pending-delegations-7xak7g59.js → pending-delegations-n3baz9m3.js} +6 -4
- package/dist/cli/{pr-review-reentry-authorization-v97q63q4.js → pr-review-reentry-authorization-ttctn8xv.js} +31 -31
- package/dist/cli/{pr-subscriptions-asjevc5p.js → pr-subscriptions-3zwthnan.js} +4 -4
- package/dist/cli/{runner-wsdcy2d6.js → runner-fzgkd6m1.js} +5 -5
- package/dist/cli/{scan-cursor-1agr50f8.js → scan-cursor-fbtgyeft.js} +6 -6
- package/dist/cli/{schema-z0ygrqgy.js → schema-xb7d31wq.js} +2 -2
- package/dist/cli/{scope-persistence-tncg38by.js → scope-persistence-5npzdfjf.js} +9 -9
- package/dist/cli/{skill-generator-jq20a09m.js → skill-generator-k1e7nee3.js} +15 -15
- package/dist/cli/{telemetry-gpr9s3sm.js → telemetry-cmbjv240.js} +1 -1
- package/dist/cli/{worktree-collision-ownership-b9cp9zvw.js → worktree-collision-ownership-jfam09nj.js} +4 -4
- package/dist/cli/{worktree-isolation-dzyxf8hn.js → worktree-isolation-avp3yxcs.js} +31 -31
- package/dist/config/evidence-schema.d.ts +11 -2
- package/dist/config/schema.d.ts +7 -7
- package/dist/hooks/delegate-ack-collector.d.ts +74 -0
- package/dist/hooks/delegation-gate.d.ts +4 -1
- package/dist/hooks/knowledge-injector.d.ts +12 -1
- package/dist/index.js +98 -98
- package/dist/learning/admission.d.ts +2 -2
- package/dist/memory/schema.d.ts +3 -3
- package/dist/observability/catalog.d.ts +2 -2
- package/dist/prm/types.d.ts +9 -0
- package/dist/telemetry.d.ts +9 -1
- package/dist/tools/placeholder-scan.d.ts +5 -3
- package/dist/tools/repo-graph/retrieval-router.d.ts +57 -0
- package/dist/tools/repo-graph.d.ts +2 -0
- package/dist/tools/repo-map.d.ts +202 -0
- package/dist/tools/search.d.ts +2 -2
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
EvaluationRunV1Schema,
|
|
4
4
|
GateAuditResultV1Schema,
|
|
5
5
|
getProtectedEvaluationRunIds
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-dq41vsf9.js";
|
|
7
7
|
import {
|
|
8
8
|
loadDatabaseCtor
|
|
9
9
|
} from "./index-134d35c1.js";
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
readTaskEvidence,
|
|
24
24
|
readTaskEvidenceRaw,
|
|
25
25
|
sanitizeTaskId
|
|
26
|
-
} from "./index-
|
|
26
|
+
} from "./index-32avgbyq.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-hq57ytm5.js";
|
|
47
47
|
import {
|
|
48
48
|
appendCoreEventSync
|
|
49
|
-
} from "./index-
|
|
49
|
+
} from "./index-7619tk9a.js";
|
|
50
50
|
import {
|
|
51
51
|
init_executor,
|
|
52
52
|
isUntrustedEnvKey,
|
|
@@ -56,7 +56,7 @@ import {
|
|
|
56
56
|
EVIDENCE_MAX_JSON_BYTES,
|
|
57
57
|
EvidenceBundleSchema,
|
|
58
58
|
EvidenceSchema
|
|
59
|
-
} from "./index-
|
|
59
|
+
} from "./index-zg9d392c.js";
|
|
60
60
|
import {
|
|
61
61
|
estimateCharsForTokens,
|
|
62
62
|
estimateTokens,
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
} from "./index-r3mvsbtq.js";
|
|
71
71
|
import {
|
|
72
72
|
PlanSchema
|
|
73
|
-
} from "./index-
|
|
73
|
+
} from "./index-epjvntnm.js";
|
|
74
74
|
import {
|
|
75
75
|
GIT_BINARY_ENV_VAR,
|
|
76
76
|
describeGitResolution,
|
|
@@ -81,14 +81,14 @@ import {
|
|
|
81
81
|
assertProjectRoot,
|
|
82
82
|
tryAcquireLock,
|
|
83
83
|
withEvidenceLock
|
|
84
|
-
} from "./index-
|
|
84
|
+
} from "./index-nqbqkx4c.js";
|
|
85
85
|
import {
|
|
86
86
|
invalidateCachedArtifact,
|
|
87
87
|
readCachedParsedFile
|
|
88
88
|
} from "./index-ed5ykebp.js";
|
|
89
89
|
import {
|
|
90
90
|
emit
|
|
91
|
-
} from "./index-
|
|
91
|
+
} from "./index-fx3em0dr.js";
|
|
92
92
|
import {
|
|
93
93
|
ZodError,
|
|
94
94
|
init_zod
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
import {
|
|
3
3
|
readKnowledge,
|
|
4
4
|
transactKnowledge
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-cbcfpgz9.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-c6zyqgpq.js";
|
|
13
13
|
import {
|
|
14
14
|
init_knowledge_types,
|
|
15
15
|
isActiveStatus
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
_internals,
|
|
4
4
|
resolveWorktreeIsolationConfig
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-jm21vbyp.js";
|
|
6
6
|
import {
|
|
7
7
|
ApprovalEvidenceSchema,
|
|
8
8
|
BaseEvidenceSchema,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
NoteEvidenceSchema,
|
|
18
18
|
ReviewEvidenceSchema,
|
|
19
19
|
TestEvidenceSchema
|
|
20
|
-
} from "./index-
|
|
20
|
+
} from "./index-zg9d392c.js";
|
|
21
21
|
import {
|
|
22
22
|
DeltaSpecSchema,
|
|
23
23
|
ObligationSchema,
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
loadPluginConfig,
|
|
43
43
|
loadPluginConfigWithMeta,
|
|
44
44
|
loadPluginConfigWithMetaAsync
|
|
45
|
-
} from "./index-
|
|
45
|
+
} from "./index-epjvntnm.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-rracnf2y.js";
|
|
68
68
|
import"./index-9e6fdz2h.js";
|
|
69
69
|
import"./index-4rhhvd1a.js";
|
|
70
70
|
import {
|
|
@@ -76,7 +76,7 @@ import {
|
|
|
76
76
|
QA_AGENTS,
|
|
77
77
|
isQAAgent,
|
|
78
78
|
isSubagent
|
|
79
|
-
} from "./index-
|
|
79
|
+
} from "./index-9xd073d4.js";
|
|
80
80
|
import"./index-zjygnfay.js";
|
|
81
81
|
import"./index-bk5tah7q.js";
|
|
82
82
|
import"./index-bpmtbmy9.js";
|
|
@@ -248,7 +248,7 @@ var init_tool_metadata = __esm(() => {
|
|
|
248
248
|
prWorkflow: { modes: ["PR_REVIEW"], capability: "validate" }
|
|
249
249
|
},
|
|
250
250
|
approve_plan_critic: {
|
|
251
|
-
description: "record a MANUAL plan_critic_gate approval snapshot to unblock the ratchet-tighter critic_pre_plan execution gate when the critic already returned APPROVED but the mechanical recorder failed to persist it (issue #2012)",
|
|
251
|
+
description: "record a MANUAL plan_critic_gate approval snapshot to unblock the ratchet-tighter critic_pre_plan execution gate when the critic already returned APPROVED but the mechanical recorder failed to persist it (issue #2012), or as the sanctioned recovery for a bookkeeping-grade hashed-field repair under the critic-gate PLAN FREEZE rule (the reason must state which case applies)",
|
|
252
252
|
agents: ["architect"]
|
|
253
253
|
},
|
|
254
254
|
prepare_pr_workflow_checkout: {
|
|
@@ -6,11 +6,11 @@ import {
|
|
|
6
6
|
PluginConfigSchema,
|
|
7
7
|
init_schema,
|
|
8
8
|
stripKnownSwarmPrefix
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-rracnf2y.js";
|
|
10
10
|
import {
|
|
11
11
|
ALL_AGENT_NAMES,
|
|
12
12
|
init_constants
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-9xd073d4.js";
|
|
14
14
|
import {
|
|
15
15
|
log
|
|
16
16
|
} from "./index-zgwm4ryv.js";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
SWARM_WORKTREE_DIR_NAME,
|
|
15
15
|
init_constants
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-9xd073d4.js";
|
|
17
17
|
import {
|
|
18
18
|
log
|
|
19
19
|
} from "./index-zgwm4ryv.js";
|
|
@@ -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-5npzdfjf.js");
|
|
96
96
|
return realWrite(directory, taskId, files);
|
|
97
97
|
},
|
|
98
98
|
writeLaneProfileToDisk: async (_worktreePath, _laneIndex, _envOverrides) => {
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
} from "./index-ae75rja9.js";
|
|
7
7
|
import {
|
|
8
8
|
resolveKnowledgeStoreDir
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-c6zyqgpq.js";
|
|
10
10
|
import {
|
|
11
11
|
atomicWriteFile
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-d8st72j7.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-g707awjf.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-qfkr8eje.js");
|
|
784
|
+
const { KnowledgeConfigSchema } = await import("./schema-xb7d31wq.js");
|
|
785
785
|
let config;
|
|
786
786
|
try {
|
|
787
|
-
const { loadPluginConfigWithMeta } = await import("./index-
|
|
787
|
+
const { loadPluginConfigWithMeta } = await import("./index-9kp3cp5n.js");
|
|
788
788
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
789
789
|
config = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
790
790
|
} catch {
|