opencode-swarm 7.161.0 → 7.162.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/.opencode/skills/critic-gate/SKILL.md +2 -1
- package/.opencode/skills/execute/SKILL.md +1 -1
- package/dist/cli/{coder-settlement-nayk1bbf.js → coder-settlement-s8cskxk7.js} +9 -9
- package/dist/cli/{config-doctor-b1w7yvcs.js → config-doctor-636h188h.js} +3 -3
- package/dist/cli/{core-whesnhpf.js → core-h3hsczyq.js} +2 -2
- package/dist/cli/{curation-policy-ej9xc0cd.js → curation-policy-ayq5kmnf.js} +4 -4
- package/dist/cli/curator-llm-factory-g65xmh8f.js +67 -0
- package/dist/cli/{curator-1rzb285s.js → curator-p0dwpn2x.js} +32 -32
- package/dist/cli/{evidence-summary-service-ma8drpv5.js → evidence-summary-service-hvbqyb4g.js} +14 -14
- package/dist/cli/{gate-evidence-7eh82zs0.js → gate-evidence-dhgmnsh0.js} +5 -5
- package/dist/cli/guardrail-explain-s0dzn8c6.js +68 -0
- package/dist/cli/{guardrail-log-845tfrwb.js → guardrail-log-qc7rfhv2.js} +7 -7
- package/dist/cli/{guardrail-reset-091xw53a.js → guardrail-reset-cxkf5h0x.js} +32 -32
- package/dist/cli/{hive-promoter-kx8t5em3.js → hive-promoter-ppbrv8m1.js} +32 -32
- package/dist/cli/{index-wrtgyvre.js → index-0h63swrc.js} +5 -5
- package/dist/cli/{index-14dgnwmh.js → index-1mbwgw4p.js} +2 -2
- package/dist/cli/{index-3cxfqdpv.js → index-1wapt173.js} +5 -5
- package/dist/cli/{index-52f67bbh.js → index-25xvw7hq.js} +34 -34
- package/dist/cli/{index-qjge2m9r.js → index-2rhs7j4r.js} +625 -243
- package/dist/cli/{index-zkgrayya.js → index-2ze7yqm8.js} +2 -2
- package/dist/cli/{index-7qera0f6.js → index-3gwkmq53.js} +2 -2
- package/dist/cli/{index-d1h4sf8f.js → index-4wmpv2kn.js} +6 -6
- package/dist/cli/{index-trmqq4wm.js → index-5wq0dd30.js} +3 -3
- package/dist/cli/{index-xy0e0r5f.js → index-6w468bjy.js} +2 -2
- package/dist/cli/{index-mj6ndvee.js → index-77syzssw.js} +4 -4
- package/dist/cli/{index-c6zyqgpq.js → index-7z9gyts0.js} +1 -1
- package/dist/cli/{index-k55td019.js → index-80pmq6q2.js} +1 -1
- package/dist/cli/{index-f4dmccpd.js → index-8vwe2qjh.js} +7 -7
- package/dist/cli/{index-awjx0wgk.js → index-9wrmzsnk.js} +1 -1
- package/dist/cli/{index-c9zp4xwc.js → index-9xd073d4.js} +1 -1
- package/dist/cli/{index-s33ee2w3.js → index-acnwj4pc.js} +1 -1
- package/dist/cli/{index-y14mwbk8.js → index-bdmg6yvj.js} +2 -2
- package/dist/cli/{index-d8st72j7.js → index-db520vnn.js} +1 -1
- package/dist/cli/{index-dq41vsf9.js → index-jw7z3gem.js} +1 -1
- package/dist/cli/{index-7619tk9a.js → index-kk9yk7an.js} +1 -1
- package/dist/cli/{index-ambz0ryy.js → index-mfewnd7j.js} +4 -4
- package/dist/cli/{index-134d35c1.js → index-n249fbw7.js} +9 -0
- package/dist/cli/{index-y0ra2v4w.js → index-pde4zn7j.js} +1 -1
- package/dist/cli/{index-dh5q6z7y.js → index-q87ht62k.js} +2 -2
- package/dist/cli/{index-54jznpq7.js → index-qn4w0gar.js} +1 -1
- package/dist/cli/{index-gkv7s4xy.js → index-qw893zqp.js} +6 -6
- package/dist/cli/{index-w9g58t3j.js → index-r7rn6e5f.js} +5 -5
- package/dist/cli/{index-93pf824c.js → index-sjkxrf06.js} +4 -4
- package/dist/cli/{index-et1jpj6z.js → index-tjaawnws.js} +3 -3
- package/dist/cli/{index-etdtfhhv.js → index-tnj464kq.js} +1 -1
- package/dist/cli/{index-t81fmfjj.js → index-vcv9m2q5.js} +2 -2
- package/dist/cli/{index-mbktm1ah.js → index-vkaqrrsc.js} +2 -2
- package/dist/cli/{index-f5axf6vq.js → index-ydbd41sv.js} +1 -1
- package/dist/cli/{index-h6wtxzvm.js → index-z4n60b0a.js} +2 -2
- package/dist/cli/{index-q8hm27yj.js → index-zg9d392c.js} +4 -1
- package/dist/cli/index.js +32 -32
- package/dist/cli/{knowledge-escalator-9eqpsbw5.js → knowledge-escalator-nyeg4ndw.js} +12 -12
- package/dist/cli/{knowledge-events-a8r4ej12.js → knowledge-events-z7smbnff.js} +10 -10
- package/dist/cli/{knowledge-link-8knefv8x.js → knowledge-link-0byjmj0w.js} +3 -3
- package/dist/cli/{knowledge-store-ydzeppv7.js → knowledge-store-p14t72y5.js} +4 -4
- package/dist/cli/{knowledge-validator-mnv58he9.js → knowledge-validator-jg6zhx9s.js} +6 -6
- package/dist/cli/{model-preflight-yqqchzjn.js → model-preflight-c3mc8njg.js} +1 -1
- package/dist/cli/{pending-delegations-9mwmrwwm.js → pending-delegations-0111ywd2.js} +3 -3
- package/dist/cli/{pr-review-reentry-authorization-h1ssfq37.js → pr-review-reentry-authorization-b7ceja9y.js} +32 -32
- package/dist/cli/{pr-subscriptions-3zwthnan.js → pr-subscriptions-4e64sbwg.js} +3 -3
- package/dist/cli/{runner-fzgkd6m1.js → runner-rddddxmq.js} +4 -4
- package/dist/cli/{scan-cursor-5rmaqw2t.js → scan-cursor-wjad4yd7.js} +5 -5
- package/dist/cli/{schema-72vpr9xy.js → schema-9ebqj7mv.js} +2 -2
- package/dist/cli/{scope-persistence-39mwns79.js → scope-persistence-j5hz4mnd.js} +8 -8
- package/dist/cli/{skill-generator-9aay0t53.js → skill-generator-x6b05jz6.js} +14 -14
- package/dist/cli/{sqlite-loader-r1kgt2pq.js → sqlite-loader-c92413n7.js} +1 -1
- package/dist/cli/{worktree-collision-ownership-ybhktnq4.js → worktree-collision-ownership-g5n5xbqy.js} +4 -4
- package/dist/cli/{worktree-isolation-w8ett6bs.js → worktree-isolation-ha70bwes.js} +32 -32
- package/dist/config/evidence-schema.d.ts +9 -0
- package/dist/db/sqlite-loader.d.ts +1 -0
- package/dist/hooks/delegation-gate.d.ts +4 -1
- package/dist/index.js +63 -49
- package/dist/memory/curator-decision-helpers.d.ts +1 -0
- package/dist/memory/index.d.ts +1 -1
- package/dist/memory/local-jsonl-provider.d.ts +2 -0
- package/dist/memory/proposal-load.d.ts +15 -0
- package/dist/memory/relation-constants.d.ts +3 -0
- package/dist/memory/relations.d.ts +8 -0
- package/dist/memory/schema.d.ts +8 -0
- package/dist/memory/sqlite-provider.d.ts +3 -0
- package/dist/memory/types.d.ts +21 -0
- package/dist/tools/placeholder-scan.d.ts +5 -3
- package/package.json +1 -1
- package/dist/cli/curator-llm-factory-bqfkaq6y.js +0 -67
- package/dist/cli/guardrail-explain-em2mqz9a.js +0 -68
|
@@ -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-9xd073d4.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.162.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",
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
import {
|
|
3
3
|
readKnowledge,
|
|
4
4
|
transactKnowledge
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-4wmpv2kn.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-7z9gyts0.js";
|
|
13
13
|
import {
|
|
14
14
|
init_knowledge_types,
|
|
15
15
|
isActiveStatus
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
} from "./index-ae75rja9.js";
|
|
7
7
|
import {
|
|
8
8
|
resolveKnowledgeStoreDir
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-7z9gyts0.js";
|
|
10
10
|
import {
|
|
11
11
|
atomicWriteFile
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-db520vnn.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-z7smbnff.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-jg6zhx9s.js");
|
|
784
|
+
const { KnowledgeConfigSchema } = await import("./schema-9ebqj7mv.js");
|
|
785
785
|
let config;
|
|
786
786
|
try {
|
|
787
|
-
const { loadPluginConfigWithMeta } = await import("./index-
|
|
787
|
+
const { loadPluginConfigWithMeta } = await import("./index-1wapt173.js");
|
|
788
788
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
789
789
|
config = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
790
790
|
} catch {
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
import {
|
|
3
3
|
init_loader,
|
|
4
4
|
loadPluginConfigWithMeta
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-tnj464kq.js";
|
|
6
6
|
import {
|
|
7
7
|
init_schema
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-2ze7yqm8.js";
|
|
9
9
|
import {
|
|
10
10
|
DEFAULT_WORKTREE_ISOLATION_CONFIG,
|
|
11
11
|
init_constants
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-9xd073d4.js";
|
|
13
13
|
|
|
14
14
|
// src/config/index.ts
|
|
15
15
|
init_constants();
|
|
@@ -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-j5hz4mnd.js");
|
|
96
96
|
return realWrite(directory, taskId, files);
|
|
97
97
|
},
|
|
98
98
|
writeLaneProfileToDisk: async (_worktreePath, _laneIndex, _envOverrides) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
authorizeCuration
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-ydbd41sv.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-4wmpv2kn.js";
|
|
13
13
|
import {
|
|
14
14
|
resolveKnowledgeStoreDir
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-7z9gyts0.js";
|
|
16
16
|
import {
|
|
17
17
|
atomicWriteFile
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-db520vnn.js";
|
|
19
19
|
import {
|
|
20
20
|
require_proper_lockfile
|
|
21
21
|
} from "./index-7g4c7s5r.js";
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
EvaluationRunV1Schema,
|
|
4
4
|
GateAuditResultV1Schema,
|
|
5
5
|
getProtectedEvaluationRunIds
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-jw7z3gem.js";
|
|
7
7
|
import {
|
|
8
8
|
loadDatabaseCtor
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-n249fbw7.js";
|
|
10
10
|
import {
|
|
11
11
|
readEffectiveSpecSync
|
|
12
12
|
} from "./index-9ss2m4rs.js";
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
readTaskEvidence,
|
|
24
24
|
readTaskEvidenceRaw,
|
|
25
25
|
sanitizeTaskId
|
|
26
|
-
} from "./index-
|
|
26
|
+
} from "./index-vcv9m2q5.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-pde4zn7j.js";
|
|
47
47
|
import {
|
|
48
48
|
appendCoreEventSync
|
|
49
|
-
} from "./index-
|
|
49
|
+
} from "./index-kk9yk7an.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-tnj464kq.js";
|
|
74
74
|
import {
|
|
75
75
|
GIT_BINARY_ENV_VAR,
|
|
76
76
|
describeGitResolution,
|
|
@@ -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: {
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
} from "./index-dtn0pne5.js";
|
|
5
5
|
import {
|
|
6
6
|
observeStoreHealth
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-80pmq6q2.js";
|
|
8
8
|
import {
|
|
9
9
|
withEvidenceLock
|
|
10
10
|
} from "./index-nqbqkx4c.js";
|
|
11
11
|
import {
|
|
12
12
|
atomicWriteSwarmFileSync
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-q87ht62k.js";
|
|
14
14
|
import {
|
|
15
15
|
telemetry
|
|
16
16
|
} from "./index-fx3em0dr.js";
|
|
@@ -2,23 +2,23 @@
|
|
|
2
2
|
import {
|
|
3
3
|
computePlanStructureHash,
|
|
4
4
|
derivePlanId
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-pde4zn7j.js";
|
|
6
6
|
import {
|
|
7
7
|
appendCoreEventSync
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-kk9yk7an.js";
|
|
9
9
|
import {
|
|
10
10
|
unsafePathTextReason
|
|
11
11
|
} from "./index-556ja8an.js";
|
|
12
12
|
import {
|
|
13
13
|
PlanSchema
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-tnj464kq.js";
|
|
15
15
|
import {
|
|
16
16
|
assertProjectRoot
|
|
17
17
|
} from "./index-nqbqkx4c.js";
|
|
18
18
|
import {
|
|
19
19
|
atomicWriteSwarmFile,
|
|
20
20
|
atomicWriteSwarmFileSync
|
|
21
|
-
} from "./index-
|
|
21
|
+
} from "./index-q87ht62k.js";
|
|
22
22
|
import {
|
|
23
23
|
require_proper_lockfile
|
|
24
24
|
} from "./index-7g4c7s5r.js";
|
|
@@ -34,6 +34,15 @@ function createNodeDatabaseCtor(DatabaseSyncCtor) {
|
|
|
34
34
|
iterate: (...params) => stmt.iterate(...params)
|
|
35
35
|
};
|
|
36
36
|
}
|
|
37
|
+
prepare(sql) {
|
|
38
|
+
const stmt = this.raw.prepare(sql);
|
|
39
|
+
return {
|
|
40
|
+
get: (...params) => stmt.get(...params),
|
|
41
|
+
all: (...params) => stmt.all(...params),
|
|
42
|
+
iterate: (...params) => stmt.iterate(...params),
|
|
43
|
+
finalize: () => {}
|
|
44
|
+
};
|
|
45
|
+
}
|
|
37
46
|
get inTransaction() {
|
|
38
47
|
return this.raw.isTransaction;
|
|
39
48
|
}
|
|
@@ -31,7 +31,7 @@ var SWARM_TEMP_GRAMMARS = [
|
|
|
31
31
|
producers: [
|
|
32
32
|
"src/commands/handoff.ts:48 (pre-#2035)",
|
|
33
33
|
"src/commands/handoff.ts:79 (pre-#2035)",
|
|
34
|
-
"src/memory/local-jsonl-provider.ts:
|
|
34
|
+
"src/memory/local-jsonl-provider.ts:1288",
|
|
35
35
|
"src/config/bundled-skills.ts:250"
|
|
36
36
|
]
|
|
37
37
|
},
|
|
@@ -91,7 +91,7 @@ var SWARM_TEMP_GRAMMARS = [
|
|
|
91
91
|
"src/turbo/epic/state.ts:177",
|
|
92
92
|
"src/turbo/epic/calibration.ts:197",
|
|
93
93
|
"src/commands/archive-sqlite.ts:318",
|
|
94
|
-
"src/memory/jsonl-migration.ts:
|
|
94
|
+
"src/memory/jsonl-migration.ts:161"
|
|
95
95
|
],
|
|
96
96
|
note: "fsync-discipline / lock-scoped fd writers whose temp naming is pinned by their own durability test suites (plan-durability invariant 5, #2034 crash matrix); grammars registered here so their residue stays discoverable"
|
|
97
97
|
},
|
|
@@ -4,23 +4,23 @@ import {
|
|
|
4
4
|
} from "./index-dtn0pne5.js";
|
|
5
5
|
import {
|
|
6
6
|
loadPluginConfigWithMeta
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-tnj464kq.js";
|
|
8
8
|
import {
|
|
9
9
|
KnowledgeConfigSchema,
|
|
10
10
|
init_schema
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-2ze7yqm8.js";
|
|
12
12
|
import {
|
|
13
13
|
observeReceiptTransition
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-80pmq6q2.js";
|
|
15
15
|
import {
|
|
16
16
|
resolveHiveEventsPath
|
|
17
17
|
} from "./index-ae75rja9.js";
|
|
18
18
|
import {
|
|
19
19
|
resolveKnowledgeStoreDir
|
|
20
|
-
} from "./index-
|
|
20
|
+
} from "./index-7z9gyts0.js";
|
|
21
21
|
import {
|
|
22
22
|
atomicWriteFile
|
|
23
|
-
} from "./index-
|
|
23
|
+
} from "./index-db520vnn.js";
|
|
24
24
|
import {
|
|
25
25
|
assertProjectRoot
|
|
26
26
|
} from "./index-nqbqkx4c.js";
|
|
@@ -2810,7 +2810,7 @@ async function applyKnowledgeVerdictFeedback(directory, options) {
|
|
|
2810
2810
|
}
|
|
2811
2811
|
let bumps = 0;
|
|
2812
2812
|
if (deltas.length > 0) {
|
|
2813
|
-
const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-
|
|
2813
|
+
const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-p14t72y5.js");
|
|
2814
2814
|
bumps = await bumpKnowledgeConfidenceBatch(directory, deltas, options?.floorOptions);
|
|
2815
2815
|
}
|
|
2816
2816
|
return {
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./index-3f7hqtgg.js";
|
|
6
6
|
import {
|
|
7
7
|
removeWorktreeProvisioningOwner
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-9wrmzsnk.js";
|
|
9
9
|
import {
|
|
10
10
|
SOURCE_WORKTREE_GONE_STAGE,
|
|
11
11
|
getTaskWorkflowSnapshot,
|
|
@@ -13,13 +13,13 @@ import {
|
|
|
13
13
|
reconcileLandedMerge,
|
|
14
14
|
withTaskEvidenceTransaction,
|
|
15
15
|
writeWorkflowWalFile
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-vcv9m2q5.js";
|
|
17
17
|
import {
|
|
18
18
|
canonicalRootKeyFresh
|
|
19
19
|
} from "./index-ddszzne4.js";
|
|
20
20
|
import {
|
|
21
21
|
appendCoreEventSync
|
|
22
|
-
} from "./index-
|
|
22
|
+
} from "./index-kk9yk7an.js";
|
|
23
23
|
import {
|
|
24
24
|
isPathWithinDeclaredScope
|
|
25
25
|
} from "./index-556ja8an.js";
|
|
@@ -478,7 +478,7 @@ async function cleanupRecoveredWorktree(directory, descriptor) {
|
|
|
478
478
|
awaitingMergeByCallID,
|
|
479
479
|
cleanupStandardWorktreeForCallId,
|
|
480
480
|
standardWorktreeByCallID
|
|
481
|
-
} = await import("./worktree-isolation-
|
|
481
|
+
} = await import("./worktree-isolation-ha70bwes.js");
|
|
482
482
|
standardWorktreeByCallID.delete(descriptor.callID);
|
|
483
483
|
if (hasResidue)
|
|
484
484
|
awaitingMergeByCallID.set(descriptor.callID, {
|
|
@@ -602,7 +602,7 @@ async function recoverCoderSettlement(directory, taskId) {
|
|
|
602
602
|
awaitingMergeByCallID,
|
|
603
603
|
finishStandardWorktreeDispatch,
|
|
604
604
|
standardWorktreeByCallID
|
|
605
|
-
} = await import("./worktree-isolation-
|
|
605
|
+
} = await import("./worktree-isolation-ha70bwes.js");
|
|
606
606
|
const descriptor = wal.worktree;
|
|
607
607
|
const reconstructedDispatch = {
|
|
608
608
|
callID: descriptor.callID,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
ALLOWED_SKILL_PATH_PREFIXES,
|
|
4
4
|
validateSkillPath
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-77syzssw.js";
|
|
6
6
|
import {
|
|
7
7
|
withTimeoutSignal
|
|
8
8
|
} from "./index-q7sjgr1y.js";
|
|
@@ -12,11 +12,11 @@ import {
|
|
|
12
12
|
resolveHiveKnowledgePath,
|
|
13
13
|
resolveSwarmKnowledgePath,
|
|
14
14
|
transactKnowledge
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-4wmpv2kn.js";
|
|
16
16
|
import {
|
|
17
17
|
effectiveRetrievalOutcomes,
|
|
18
18
|
readAuthoritativeKnowledgeCounterRollups
|
|
19
|
-
} from "./index-
|
|
19
|
+
} from "./index-qw893zqp.js";
|
|
20
20
|
import {
|
|
21
21
|
advisoryWarn,
|
|
22
22
|
init_warning_buffer
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
import {
|
|
29
29
|
atomicWriteFileAnyRoot,
|
|
30
30
|
atomicWriteSwarmFile
|
|
31
|
-
} from "./index-
|
|
31
|
+
} from "./index-q87ht62k.js";
|
|
32
32
|
import {
|
|
33
33
|
init_logger,
|
|
34
34
|
log,
|
|
@@ -11,13 +11,13 @@ import {
|
|
|
11
11
|
import {
|
|
12
12
|
init_schema,
|
|
13
13
|
stripKnownSwarmPrefix
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-2ze7yqm8.js";
|
|
15
15
|
import {
|
|
16
16
|
observeStoreHealth
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-80pmq6q2.js";
|
|
18
18
|
import {
|
|
19
19
|
init_constants
|
|
20
|
-
} from "./index-
|
|
20
|
+
} from "./index-9xd073d4.js";
|
|
21
21
|
import {
|
|
22
22
|
telemetry
|
|
23
23
|
} from "./index-fx3em0dr.js";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
autoCommitDirty,
|
|
4
4
|
cleanUntrackedFiles
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-6w468bjy.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-db520vnn.js";
|
|
30
30
|
import {
|
|
31
31
|
assertProjectRoot
|
|
32
32
|
} from "./index-nqbqkx4c.js";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "./index-r3mvsbtq.js";
|
|
11
11
|
import {
|
|
12
12
|
observeDelegationLedgerPressure
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-80pmq6q2.js";
|
|
14
14
|
import {
|
|
15
15
|
EvidenceLockTimeoutError,
|
|
16
16
|
withEvidenceLock
|
|
@@ -3937,7 +3937,7 @@ async function reconcileLegacyCoderSettlements(directory, maxRecords, onReconcil
|
|
|
3937
3937
|
const candidates = readDelegations(directory).filter((record) => record.normalizedAgent === "coder" && Boolean(record.legacyCoderSettlementTransfer) && Boolean(record.terminalResult)).slice(0, maxRecords);
|
|
3938
3938
|
if (candidates.length === 0)
|
|
3939
3939
|
return 0;
|
|
3940
|
-
const { transferCoderSettlementToBackground } = await import("./coder-settlement-
|
|
3940
|
+
const { transferCoderSettlementToBackground } = await import("./coder-settlement-s8cskxk7.js");
|
|
3941
3941
|
let transferred = 0;
|
|
3942
3942
|
for (const record of candidates) {
|
|
3943
3943
|
try {
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
readLinkPointer,
|
|
8
8
|
resolveKnowledgeStoreDir,
|
|
9
9
|
resolveLinkDir
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-7z9gyts0.js";
|
|
11
11
|
|
|
12
12
|
// src/knowledge/curation-policy.ts
|
|
13
13
|
import { appendFile, mkdir as mkdir2, readFile as readFile2 } from "fs/promises";
|
|
@@ -6,11 +6,11 @@ import {
|
|
|
6
6
|
PluginConfigSchema,
|
|
7
7
|
init_schema,
|
|
8
8
|
stripKnownSwarmPrefix
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-2ze7yqm8.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";
|
|
@@ -145,7 +145,10 @@ var PlaceholderEvidenceSchema = BaseEvidenceSchema.extend({
|
|
|
145
145
|
})).default([]),
|
|
146
146
|
files_scanned: exports_external.number().int(),
|
|
147
147
|
files_with_findings: exports_external.number().int(),
|
|
148
|
-
findings_count: exports_external.number().int()
|
|
148
|
+
findings_count: exports_external.number().int(),
|
|
149
|
+
diff_scoped: exports_external.boolean().optional(),
|
|
150
|
+
added_lines_files: exports_external.number().int().min(0).optional(),
|
|
151
|
+
added_lines_total: exports_external.number().int().min(0).optional()
|
|
149
152
|
});
|
|
150
153
|
var SastFindingSchema = exports_external.object({
|
|
151
154
|
rule_id: exports_external.string(),
|