opencode-swarm 7.140.6 → 7.141.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/deep-dive/SKILL.md +7 -6
- package/.opencode/skills/running-tests/SKILL.md +7 -0
- package/dist/agents/explorer.d.ts +1 -1
- package/dist/background/lane-delivery-store.d.ts +43 -0
- package/dist/background/lane-output-store.d.ts +6 -0
- package/dist/cli/{config-doctor-y5qeh18c.js → config-doctor-xs2p0xy3.js} +2 -2
- package/dist/cli/{core-pwd9604e.js → core-znrxk8gw.js} +1 -1
- package/dist/cli/{curation-policy-avvb56x2.js → curation-policy-j1fbc3ry.js} +5 -5
- package/dist/cli/{curator-q1nchgpg.js → curator-a95x81ek.js} +28 -28
- package/dist/cli/{curator-llm-factory-96pnc23w.js → curator-llm-factory-ak7p0scv.js} +28 -28
- package/dist/cli/{dispatch-2s23fbcs.js → dispatch-rd10kdk1.js} +1 -1
- package/dist/cli/{evidence-summary-service-18142mr3.js → evidence-summary-service-2gk48s5s.js} +9 -9
- package/dist/cli/{explorer-e9h66egs.js → explorer-18353rhn.js} +1 -1
- package/dist/cli/{gate-evidence-smn2wqft.js → gate-evidence-rt9034ft.js} +4 -4
- package/dist/cli/{guardrail-explain-kyd89z8z.js → guardrail-explain-4st3vc3d.js} +29 -29
- package/dist/cli/{guardrail-log-cahp1ews.js → guardrail-log-vjexgpfm.js} +3 -3
- package/dist/cli/{hive-promoter-vcbcvcsh.js → hive-promoter-g9ad9vad.js} +28 -28
- package/dist/cli/{index-z0z9pe7b.js → index-2ygp3pnx.js} +5 -5
- package/dist/cli/{index-1p72dtym.js → index-39xs96mk.js} +1 -1
- package/dist/cli/{index-tjqzr3jc.js → index-3d13jkzq.js} +2 -2
- package/dist/cli/{index-p2ty3eee.js → index-3gfdb0t9.js} +1 -1
- package/dist/cli/{index-4s7xgzbm.js → index-44nf5s90.js} +1 -1
- package/dist/cli/{index-2778hhh7.js → index-5ykn39wq.js} +2 -2
- package/dist/cli/{index-bjqpdr83.js → index-8056f16v.js} +3 -3
- package/dist/cli/{index-y9q9f6ms.js → index-8s4vnqts.js} +4 -4
- package/dist/cli/{index-epvhf50h.js → index-9d4gck4e.js} +2 -1
- package/dist/cli/{index-p8kk34am.js → index-c2hczjhp.js} +1 -1
- package/dist/cli/{index-56rqw2hs.js → index-c6m3t5n2.js} +6 -6
- package/dist/cli/{index-nakkgkkt.js → index-dx1mdsrj.js} +1294 -934
- package/dist/cli/{index-41hkt36g.js → index-ebwznsfy.js} +90 -19
- package/dist/cli/{index-c432knmy.js → index-f1hsrgw1.js} +1 -1
- package/dist/cli/{index-5qd5vt2d.js → index-g29r600w.js} +30 -30
- package/dist/cli/{index-z3s0a44b.js → index-hjf8pjd4.js} +3 -3
- package/dist/cli/{index-vh05t3w5.js → index-kq5p3nm3.js} +1 -1
- package/dist/cli/{index-h01wb18g.js → index-mr397tze.js} +2 -2
- package/dist/cli/{index-s1v0wza5.js → index-nse60anv.js} +1 -1
- package/dist/cli/{index-thp186x0.js → index-pkxt2rg2.js} +1 -1
- package/dist/cli/{index-t5pytnca.js → index-q4vaar2b.js} +2 -2
- package/dist/cli/{index-m9xrdjn0.js → index-qskz8j2z.js} +1 -1
- package/dist/cli/{index-92n3d5ky.js → index-ry609ctr.js} +40 -9
- package/dist/cli/{index-qy1nq52t.js → index-v250345n.js} +1 -1
- package/dist/cli/{index-e58e3v0v.js → index-vnr917xf.js} +3 -3
- package/dist/cli/{index-fejfzy2j.js → index-w9613ace.js} +6 -6
- package/dist/cli/{index-dtqjxfw9.js → index-wbf8sv70.js} +1 -1
- package/dist/cli/{index-v2xrer41.js → index-xmzmeknp.js} +3 -1
- package/dist/cli/{index-p04qrwck.js → index-ysapwztd.js} +2 -2
- package/dist/cli/{index-zd4qhnr7.js → index-z8yr1yra.js} +1 -1
- package/dist/cli/{index-912qz4y0.js → index-zbj3yrrd.js} +1 -1
- package/dist/cli/{index-4zxrkk1h.js → index-zqshpey0.js} +3 -3
- package/dist/cli/index.js +28 -28
- package/dist/cli/{knowledge-escalator-gj58za4g.js → knowledge-escalator-5xg6vmr4.js} +10 -10
- package/dist/cli/{knowledge-events-3m5jnnv6.js → knowledge-events-qvzpqt5b.js} +8 -8
- package/dist/cli/{knowledge-link-m9p80f4r.js → knowledge-link-x86ebng8.js} +4 -4
- package/dist/cli/{knowledge-store-0vy8wbzd.js → knowledge-store-k5td1vqx.js} +5 -5
- package/dist/cli/{knowledge-validator-mvcs8wf6.js → knowledge-validator-zz26gk5d.js} +7 -7
- package/dist/cli/{pending-delegations-cxx9tezp.js → pending-delegations-7xsagjy5.js} +3 -3
- package/dist/cli/{pr-subscriptions-2sfnb599.js → pr-subscriptions-r6cdsa3t.js} +3 -3
- package/dist/cli/{runner-mky3vvht.js → runner-nm3baddf.js} +5 -5
- package/dist/cli/{scan-cursor-wznc7p7p.js → scan-cursor-nhcpebh5.js} +6 -6
- package/dist/cli/{schema-k596bhds.js → schema-6ecb0xhn.js} +1 -1
- package/dist/cli/{scope-persistence-0ny5fn07.js → scope-persistence-yet1hvmq.js} +6 -6
- package/dist/cli/{skill-generator-vrks0jjj.js → skill-generator-j0mbd2pp.js} +12 -12
- package/dist/cli/{telemetry-0x6kszvk.js → telemetry-zex3zv3v.js} +1 -1
- package/dist/cli/{worktree-collision-ownership-wm5pse49.js → worktree-collision-ownership-n41qw3n8.js} +3 -3
- package/dist/cli/{worktree-isolation-zgk7314k.js → worktree-isolation-445zjngp.js} +28 -28
- package/dist/hooks/delegation-gate.d.ts +6 -0
- package/dist/hooks/knowledge-application-gate.d.ts +1 -1
- package/dist/hooks/knowledge-events.d.ts +5 -2
- package/dist/hooks/knowledge-receipt-ledger.d.ts +38 -0
- package/dist/hooks/knowledge-receipt-observability.d.ts +24 -1
- package/dist/hooks/knowledge-receipt-validator.d.ts +19 -3
- package/dist/hooks/knowledge-types.d.ts +9 -0
- package/dist/hooks/repo-graph-injection.d.ts +52 -0
- package/dist/index.js +224 -213
- package/dist/lang/backend.d.ts +8 -1
- package/dist/lang/default-backend.d.ts +2 -1
- package/dist/tools/create-tool.d.ts +5 -2
- package/dist/tools/dispatch-lanes.d.ts +45 -5
- package/dist/tools/knowledge-receipt.d.ts +40 -0
- package/dist/tools/test-runner.d.ts +14 -5
- package/package.json +1 -1
|
@@ -7,61 +7,61 @@ import {
|
|
|
7
7
|
isHiveEligible,
|
|
8
8
|
promoteFromSwarm,
|
|
9
9
|
promoteToHive
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-dx1mdsrj.js";
|
|
11
11
|
import"./index-4905hd2m.js";
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
14
|
-
import"./index-
|
|
12
|
+
import"./index-ebwznsfy.js";
|
|
13
|
+
import"./index-f1hsrgw1.js";
|
|
14
|
+
import"./index-39xs96mk.js";
|
|
15
15
|
import"./index-c8s9a3zh.js";
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-
|
|
16
|
+
import"./index-3gfdb0t9.js";
|
|
17
|
+
import"./index-c6m3t5n2.js";
|
|
18
18
|
import"./index-134d35c1.js";
|
|
19
|
-
import"./index-
|
|
19
|
+
import"./index-q4vaar2b.js";
|
|
20
20
|
import"./index-y8552snf.js";
|
|
21
21
|
import"./index-9ss2m4rs.js";
|
|
22
22
|
import"./index-74hpm6sh.js";
|
|
23
|
-
import"./index-
|
|
24
|
-
import"./index-
|
|
25
|
-
import"./index-
|
|
26
|
-
import"./index-
|
|
27
|
-
import"./index-
|
|
28
|
-
import"./index-
|
|
23
|
+
import"./index-hjf8pjd4.js";
|
|
24
|
+
import"./index-2ygp3pnx.js";
|
|
25
|
+
import"./index-mr397tze.js";
|
|
26
|
+
import"./index-xmzmeknp.js";
|
|
27
|
+
import"./index-qskz8j2z.js";
|
|
28
|
+
import"./index-8056f16v.js";
|
|
29
29
|
import"./index-556ja8an.js";
|
|
30
|
-
import"./index-
|
|
30
|
+
import"./index-zqshpey0.js";
|
|
31
31
|
import"./index-zsrtt42s.js";
|
|
32
|
-
import"./index-
|
|
32
|
+
import"./index-wbf8sv70.js";
|
|
33
33
|
import"./index-qwm6vdyv.js";
|
|
34
|
-
import"./index-
|
|
35
|
-
import"./index-
|
|
34
|
+
import"./index-3d13jkzq.js";
|
|
35
|
+
import"./index-nse60anv.js";
|
|
36
36
|
import"./index-8fwhhayc.js";
|
|
37
37
|
import"./index-q1exe2b3.js";
|
|
38
|
-
import"./index-
|
|
38
|
+
import"./index-ry609ctr.js";
|
|
39
39
|
import"./index-k46me75h.js";
|
|
40
40
|
import"./index-ee3x66a5.js";
|
|
41
|
-
import"./index-
|
|
42
|
-
import"./index-
|
|
41
|
+
import"./index-8s4vnqts.js";
|
|
42
|
+
import"./index-v250345n.js";
|
|
43
43
|
import"./index-rtry5xyf.js";
|
|
44
44
|
import {
|
|
45
45
|
resolveHiveKnowledgePath
|
|
46
|
-
} from "./index-
|
|
46
|
+
} from "./index-w9613ace.js";
|
|
47
47
|
import"./index-ae75rja9.js";
|
|
48
|
-
import"./index-
|
|
49
|
-
import"./index-
|
|
50
|
-
import"./index-
|
|
48
|
+
import"./index-kq5p3nm3.js";
|
|
49
|
+
import"./index-c2hczjhp.js";
|
|
50
|
+
import"./index-zbj3yrrd.js";
|
|
51
51
|
import"./index-7g4c7s5r.js";
|
|
52
52
|
import"./index-ed5ykebp.js";
|
|
53
53
|
import"./index-4nt52yr9.js";
|
|
54
|
-
import"./index-
|
|
54
|
+
import"./index-ysapwztd.js";
|
|
55
55
|
import"./index-gprxjmm7.js";
|
|
56
56
|
import"./index-n832052r.js";
|
|
57
|
-
import"./index-
|
|
57
|
+
import"./index-z8yr1yra.js";
|
|
58
58
|
import"./index-4rhhvd1a.js";
|
|
59
59
|
import"./index-zgwm4ryv.js";
|
|
60
|
-
import"./index-
|
|
60
|
+
import"./index-pkxt2rg2.js";
|
|
61
61
|
import"./index-jqsfsqbx.js";
|
|
62
62
|
import"./index-zjygnfay.js";
|
|
63
63
|
import"./index-bk5tah7q.js";
|
|
64
|
-
import"./index-
|
|
64
|
+
import"./index-9d4gck4e.js";
|
|
65
65
|
import"./index-bpmtbmy9.js";
|
|
66
66
|
import"./index-a76rekgs.js";
|
|
67
67
|
export {
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
queryHistoricalOutcomes,
|
|
4
4
|
readKnowledgeEvents,
|
|
5
5
|
recordKnowledgeEvent
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-ry609ctr.js";
|
|
7
7
|
import {
|
|
8
8
|
jaccardBigram,
|
|
9
9
|
readKnowledge,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
resolveSwarmKnowledgePath,
|
|
12
12
|
transactKnowledge,
|
|
13
13
|
wordBigrams
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-w9613ace.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-zz26gk5d.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-6ecb0xhn.js");
|
|
231
|
+
const { loadPluginConfigWithMeta } = await import("./index-vnr917xf.js");
|
|
232
232
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
233
233
|
policyConfig = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
234
234
|
} catch {
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
atomicWriteFile,
|
|
7
7
|
taskEvidencePath,
|
|
8
8
|
withTaskEvidenceLock
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-c2hczjhp.js";
|
|
10
10
|
import {
|
|
11
11
|
telemetry
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-9d4gck4e.js";
|
|
13
13
|
import {
|
|
14
14
|
exports_external,
|
|
15
15
|
init_zod
|
|
@@ -12,14 +12,14 @@ import {
|
|
|
12
12
|
detectPosixWrites,
|
|
13
13
|
detectWindowsWrites,
|
|
14
14
|
resolveWriteTargets
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-dx1mdsrj.js";
|
|
16
16
|
import {
|
|
17
17
|
checkFileAuthority,
|
|
18
18
|
classifyFile,
|
|
19
19
|
isInDeclaredScope,
|
|
20
20
|
redactPath,
|
|
21
21
|
redactShellCommand
|
|
22
|
-
} from "./index-
|
|
22
|
+
} from "./index-39xs96mk.js";
|
|
23
23
|
|
|
24
24
|
// src/services/guardrail-explain-service.ts
|
|
25
25
|
import path from "path";
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
computePlanStructureHash,
|
|
7
7
|
derivePlanId
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-zqshpey0.js";
|
|
9
9
|
import {
|
|
10
10
|
assertProjectRoot
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-zbj3yrrd.js";
|
|
12
12
|
import {
|
|
13
13
|
require_proper_lockfile
|
|
14
14
|
} from "./index-7g4c7s5r.js";
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
} from "./index-4nt52yr9.js";
|
|
18
18
|
import {
|
|
19
19
|
PlanSchema
|
|
20
|
-
} from "./index-
|
|
20
|
+
} from "./index-z8yr1yra.js";
|
|
21
21
|
import {
|
|
22
22
|
__toESM
|
|
23
23
|
} from "./index-a76rekgs.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
authorizeCuration
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-v250345n.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-w9613ace.js";
|
|
13
13
|
import {
|
|
14
14
|
resolveKnowledgeStoreDir
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-kq5p3nm3.js";
|
|
16
16
|
import {
|
|
17
17
|
atomicWriteFile
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-c2hczjhp.js";
|
|
19
19
|
import {
|
|
20
20
|
require_proper_lockfile
|
|
21
21
|
} from "./index-7g4c7s5r.js";
|
|
@@ -599,7 +599,7 @@ var CATALOG_SOURCE = [
|
|
|
599
599
|
category: "knowledge",
|
|
600
600
|
severity: "info",
|
|
601
601
|
privacyClass: "pseudonymous",
|
|
602
|
-
producer: "src/hooks/knowledge-receipt-observability.ts:
|
|
602
|
+
producer: "src/hooks/knowledge-receipt-observability.ts:191",
|
|
603
603
|
consumers: NO_CONSUMERS,
|
|
604
604
|
futureOwnerIssue: ISSUE_SINK,
|
|
605
605
|
retentionOwnerIssue: ISSUE_LIFECYCLE_RETENTION,
|
|
@@ -969,6 +969,7 @@ var KNOWN_TELEMETRY_KEYS = Object.freeze({
|
|
|
969
969
|
"transition",
|
|
970
970
|
"reasonCode",
|
|
971
971
|
"schemaVersion",
|
|
972
|
+
"receiptSemantics",
|
|
972
973
|
"knowledgeTraceId",
|
|
973
974
|
"knowledgeEntryId",
|
|
974
975
|
"sessionId",
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
EvaluationRunV1Schema,
|
|
7
7
|
GateAuditResultV1Schema,
|
|
8
8
|
getProtectedEvaluationRunIds
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-q4vaar2b.js";
|
|
10
10
|
import {
|
|
11
11
|
readEffectiveSpecSync
|
|
12
12
|
} from "./index-9ss2m4rs.js";
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
replayFromLedgerWithStatus,
|
|
30
30
|
takeSnapshotEvent,
|
|
31
31
|
takeSnapshotWithRetry
|
|
32
|
-
} from "./index-
|
|
32
|
+
} from "./index-zqshpey0.js";
|
|
33
33
|
import {
|
|
34
34
|
getWorktreeMergeFailure
|
|
35
35
|
} from "./index-zsrtt42s.js";
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
readTaskEvidence,
|
|
39
39
|
readTaskEvidenceRaw,
|
|
40
40
|
sanitizeTaskId
|
|
41
|
-
} from "./index-
|
|
41
|
+
} from "./index-3d13jkzq.js";
|
|
42
42
|
import {
|
|
43
43
|
_internals,
|
|
44
44
|
buildDefaultPolicy,
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
assertProjectRoot,
|
|
55
55
|
tryAcquireLock,
|
|
56
56
|
withEvidenceLock
|
|
57
|
-
} from "./index-
|
|
57
|
+
} from "./index-zbj3yrrd.js";
|
|
58
58
|
import {
|
|
59
59
|
invalidateCachedArtifact,
|
|
60
60
|
readCachedParsedFile
|
|
@@ -71,7 +71,7 @@ import {
|
|
|
71
71
|
} from "./index-gprxjmm7.js";
|
|
72
72
|
import {
|
|
73
73
|
PlanSchema
|
|
74
|
-
} from "./index-
|
|
74
|
+
} from "./index-z8yr1yra.js";
|
|
75
75
|
import {
|
|
76
76
|
criticalWarn,
|
|
77
77
|
error,
|
|
@@ -80,7 +80,7 @@ import {
|
|
|
80
80
|
} from "./index-zgwm4ryv.js";
|
|
81
81
|
import {
|
|
82
82
|
emit
|
|
83
|
-
} from "./index-
|
|
83
|
+
} from "./index-9d4gck4e.js";
|
|
84
84
|
import {
|
|
85
85
|
ZodError,
|
|
86
86
|
init_zod
|