opencode-swarm 7.164.11 → 7.164.12
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/engineering-conventions/SKILL.md +1 -1
- package/dist/background/pending-delegations.d.ts +7 -2
- package/dist/background/pr-subscriptions.d.ts +3 -3
- package/dist/cli/{coder-settlement-0rfk8y11.js → coder-settlement-yh1q5fr3.js} +15 -16
- package/dist/cli/{config-doctor-j17b7qq2.js → config-doctor-bd4yzmh7.js} +3 -3
- package/dist/cli/{core-evhjjrtt.js → core-y0s1vmyc.js} +2 -2
- package/dist/cli/{curation-policy-vj6z5hvr.js → curation-policy-gs1qakn7.js} +5 -6
- package/dist/cli/{curator-vqd5yeck.js → curator-brqack0j.js} +48 -46
- package/dist/cli/{curator-drift-ez81vg2t.js → curator-drift-1sg9yk2m.js} +14 -12
- package/dist/cli/curator-llm-factory-dtsjc3zf.js +70 -0
- package/dist/cli/{dispatch-dqybvj8v.js → dispatch-c7xjt7js.js} +3 -3
- package/dist/cli/{evidence-summary-service-937x7rbg.js → evidence-summary-service-nqbcvp30.js} +24 -23
- package/dist/cli/{gate-evidence-q1cehr4k.js → gate-evidence-9stdtpej.js} +9 -10
- package/dist/cli/guardrail-explain-3ff1z3fm.js +71 -0
- package/dist/cli/{guardrail-log-3g93f3g2.js → guardrail-log-sf39x00b.js} +10 -10
- package/dist/cli/{guardrail-reset-qe2r5qzq.js → guardrail-reset-9wr6a60s.js} +48 -46
- package/dist/cli/hive-promoter-bqtj8261.js +85 -0
- package/dist/cli/{index-kv2tdkk5.js → index-03enxdaq.js} +1 -1
- package/dist/cli/{index-ggrp3v00.js → index-0byep4pe.js} +15 -17
- package/dist/cli/{index-2bgr671r.js → index-2bhz5k91.js} +20 -2
- package/dist/cli/{index-mmjamc9b.js → index-3fnym6ac.js} +5 -5
- package/dist/cli/{index-d9entpn3.js → index-40twgsyh.js} +4 -4
- package/dist/cli/{index-ggtmsm84.js → index-4mjmnysc.js} +1 -1
- package/dist/cli/{index-e90em0x4.js → index-4vb56w2k.js} +12 -17
- package/dist/cli/{index-r656jh9j.js → index-5wc5pbzc.js} +3700 -2609
- package/dist/cli/{index-w3gtqey0.js → index-6chhqq2n.js} +4 -4
- package/dist/cli/{index-qbw3yw2d.js → index-888pq4xx.js} +11 -11
- package/dist/cli/{index-3146wmgv.js → index-8d90gzaz.js} +1 -1
- package/dist/cli/{index-5jx22kwc.js → index-8vw2pjgr.js} +544 -15
- package/dist/cli/{index-b2nj04q6.js → index-9ss2m4rs.js} +1 -434
- package/dist/cli/{index-x43debgx.js → index-ad9064j9.js} +15 -17
- package/dist/cli/{index-5kcvrpkt.js → index-b25t91a3.js} +1 -1
- package/dist/cli/index-c45662wc.js +361 -0
- package/dist/cli/{index-aqppaaqx.js → index-cgewrpw5.js} +3 -2
- package/dist/cli/{index-zfs3zqeq.js → index-d3mpxsmy.js} +771 -21
- package/dist/cli/{index-y1yqmkv7.js → index-d7j3n5ra.js} +52 -50
- package/dist/cli/{index-4vb6qa73.js → index-ebce775n.js} +36 -2
- package/dist/cli/{index-dsg9dw3b.js → index-eed0gkv6.js} +2 -2
- package/dist/cli/index-es64amqt.js +675 -0
- package/dist/cli/{index-9gxbjkts.js → index-ewv8qa8q.js} +22 -19
- package/dist/cli/{index-1ww7wj8d.js → index-hb7bh4r2.js} +15 -15
- package/dist/cli/{index-kc2tgcm7.js → index-hg09xemc.js} +4 -4
- package/dist/cli/{index-w95vxjde.js → index-hvz4ad2t.js} +39 -8
- package/dist/cli/{index-77z98j76.js → index-k0s8n6m5.js} +314 -130
- package/dist/cli/{index-7m32fjb4.js → index-kxv193aq.js} +9 -9
- package/dist/cli/{index-hp22pzn5.js → index-m8xrbdmn.js} +2 -2
- package/dist/cli/{index-4gqxppcx.js → index-mee9maf5.js} +2 -2
- package/dist/cli/{index-r3mvsbtq.js → index-p612v1mv.js} +7 -1
- package/dist/cli/{index-r5q5gd2a.js → index-qgajv9rd.js} +2 -2
- package/dist/cli/{index-zjg4chy2.js → index-qqq04n70.js} +2 -2
- package/dist/cli/{index-ww6zm5hr.js → index-r2p0pgst.js} +3 -3
- package/dist/cli/{index-47kh2103.js → index-r69gzes2.js} +14 -14
- package/dist/cli/{index-vdn32nws.js → index-sphahrmq.js} +3 -3
- package/dist/cli/{index-rhqdsc1x.js → index-vw66q1rw.js} +9 -9
- package/dist/cli/{index-kch6yenm.js → index-wasdrhev.js} +7 -7
- package/dist/cli/{index-c5v1w13g.js → index-wknpkfm8.js} +807 -629
- package/dist/cli/{index-pp2nya9v.js → index-x39hjdf1.js} +2 -4
- package/dist/cli/{index-n8688d12.js → index-xxfk62zd.js} +2 -2
- package/dist/cli/index-yvqg6kn5.js +429 -0
- package/dist/cli/{index-nqsj0g5y.js → index-ztm0q26v.js} +8 -8
- package/dist/cli/index.js +50 -48
- package/dist/cli/{knowledge-escalator-j04g450p.js → knowledge-escalator-01vva51d.js} +17 -18
- package/dist/cli/{knowledge-events-53z45rs0.js → knowledge-events-dpfwh1hs.js} +15 -16
- package/dist/cli/{knowledge-link-a6kfg3qm.js → knowledge-link-2rvp966j.js} +4 -5
- package/dist/cli/{knowledge-store-whm0gagt.js → knowledge-store-aw58ae7b.js} +6 -7
- package/dist/cli/{knowledge-validator-h8m7065g.js → knowledge-validator-yhd31ryf.js} +8 -9
- package/dist/cli/{pending-delegations-6hkpe5ze.js → pending-delegations-fjetcz8e.js} +17 -8
- package/dist/cli/{pr-subscriptions-11zca1mh.js → pr-subscriptions-cwwtfs8w.js} +17 -8
- package/dist/cli/{pr-workflow-gate-6g29rkg7.js → pr-workflow-gate-5xwtg1k2.js} +50 -48
- package/dist/cli/{runner-5abw3t35.js → runner-mb51twxt.js} +6 -7
- package/dist/cli/{scan-cursor-mkfx410t.js → scan-cursor-j11qwf0v.js} +9 -10
- package/dist/cli/{schema-jbbam3ev.js → schema-0xp3bde3.js} +1 -1
- package/dist/cli/{scope-persistence-q1ct4k42.js → scope-persistence-brrk806y.js} +19 -12
- package/dist/cli/{skill-generator-cv8fg96x.js → skill-generator-j8qzmet9.js} +20 -21
- package/dist/cli/snapshot-coordination-init-h0xmtftq.js +84 -0
- package/dist/cli/{telemetry-mbqqamsj.js → telemetry-m84ap0pp.js} +1 -1
- package/dist/cli/{workspace-snapshot-eh18vgkn.js → workspace-snapshot-6z9rk7xw.js} +3 -3
- package/dist/cli/{worktree-collision-ownership-xgnn8dsq.js → worktree-collision-ownership-j9zykj18.js} +21 -12
- package/dist/cli/{worktree-isolation-k2dgfmeg.js → worktree-isolation-jd39xz6h.js} +48 -46
- package/dist/commands/close.d.ts +13 -6
- package/dist/commands/reset-session.d.ts +4 -0
- package/dist/db/coordination-store.d.ts +85 -0
- package/dist/db/durability.d.ts +22 -5
- package/dist/db/index.d.ts +1 -0
- package/dist/db/project-db.d.ts +12 -0
- package/dist/index.js +810 -705
- package/dist/memory/schema.d.ts +3 -3
- package/dist/pr-review/authorization.d.ts +5 -4
- package/dist/pr-review/persistence.d.ts +10 -1
- package/dist/scope/scope-binding.d.ts +10 -0
- package/dist/scope/scope-persistence.d.ts +10 -0
- package/dist/services/handoff-service.d.ts +2 -0
- package/dist/services/status-service.d.ts +4 -0
- package/dist/session/snapshot-coordination-init.d.ts +49 -0
- package/dist/session/snapshot-reader.d.ts +2 -0
- package/dist/session/snapshot-store.d.ts +42 -0
- package/dist/session/snapshot-writer.d.ts +4 -1
- package/dist/state.d.ts +6 -3
- package/dist/turbo/epic/state.d.ts +4 -20
- package/dist/utils/bun-compat.d.ts +10 -0
- package/dist/utils/external-tool-runner.d.ts +2 -0
- package/package.json +3 -2
- package/dist/cli/curator-llm-factory-sxcpmcqq.js +0 -68
- package/dist/cli/guardrail-explain-xv9aw1bf.js +0 -69
- package/dist/cli/hive-promoter-09yc9mp5.js +0 -83
- package/dist/cli/index-xnb3tk7x.js +0 -24
- package/dist/cli/{ast-diff-ekd9v10f.js → ast-diff-b0esr2kf.js} +3 -3
|
@@ -111,6 +111,12 @@ function sleep(ms) {
|
|
|
111
111
|
}
|
|
112
112
|
return new Promise((resolve) => setTimeout(resolve, ms));
|
|
113
113
|
}
|
|
114
|
+
function collectGarbageBestEffort() {
|
|
115
|
+
const bun = getBun();
|
|
116
|
+
try {
|
|
117
|
+
bun?.gc?.(true);
|
|
118
|
+
} catch {}
|
|
119
|
+
}
|
|
114
120
|
function bunHash(input) {
|
|
115
121
|
const bun = getBun();
|
|
116
122
|
if (bun?.hash) {
|
|
@@ -646,4 +652,4 @@ function bunSpawnSync(cmd, options) {
|
|
|
646
652
|
};
|
|
647
653
|
}
|
|
648
654
|
|
|
649
|
-
export { bunFile, bunWrite, sleep, bunHash, classifySpawnFailure, mergeEnvForChild, bunSpawn, bunSpawnSync };
|
|
655
|
+
export { bunFile, bunWrite, sleep, collectGarbageBestEffort, bunHash, classifySpawnFailure, mergeEnvForChild, bunSpawn, bunSpawnSync };
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
init_loader,
|
|
4
4
|
loadPluginConfigWithMeta
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-vw66q1rw.js";
|
|
6
6
|
import {
|
|
7
7
|
init_schema
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-cgewrpw5.js";
|
|
9
9
|
import {
|
|
10
10
|
DEFAULT_WORKTREE_ISOLATION_CONFIG,
|
|
11
11
|
init_constants
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
} from "./index-z6xqpmqg.js";
|
|
5
5
|
import {
|
|
6
6
|
bunFile
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-p612v1mv.js";
|
|
8
8
|
import {
|
|
9
9
|
readCachedTextFile
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-ewv8qa8q.js";
|
|
11
11
|
import {
|
|
12
12
|
warn
|
|
13
13
|
} from "./index-zgwm4ryv.js";
|
|
@@ -217,7 +217,7 @@ var CATALOG_SOURCE = [
|
|
|
217
217
|
category: "delegation",
|
|
218
218
|
severity: "info",
|
|
219
219
|
privacyClass: "pseudonymous",
|
|
220
|
-
producer: "src/index.ts:
|
|
220
|
+
producer: "src/index.ts:656",
|
|
221
221
|
consumers: CONSUMER_COST_CORRECTION,
|
|
222
222
|
retentionOwnerIssue: ISSUE_COST_RETENTION,
|
|
223
223
|
requiredWorkflowIds: REQUIRE_SESSION_AND_TASK,
|
|
@@ -230,7 +230,7 @@ var CATALOG_SOURCE = [
|
|
|
230
230
|
category: "delegation",
|
|
231
231
|
severity: "info",
|
|
232
232
|
privacyClass: "pseudonymous",
|
|
233
|
-
producer: "src/index.ts:
|
|
233
|
+
producer: "src/index.ts:1594",
|
|
234
234
|
consumers: NO_CONSUMERS,
|
|
235
235
|
futureOwnerIssue: ISSUE_SINK,
|
|
236
236
|
retentionOwnerIssue: ISSUE_COST_RETENTION,
|
|
@@ -244,7 +244,7 @@ var CATALOG_SOURCE = [
|
|
|
244
244
|
category: "delegation",
|
|
245
245
|
severity: "notice",
|
|
246
246
|
privacyClass: "pseudonymous",
|
|
247
|
-
producer: "src/index.ts:
|
|
247
|
+
producer: "src/index.ts:1614",
|
|
248
248
|
consumers: CONSUMER_COST_JOIN,
|
|
249
249
|
retentionOwnerIssue: ISSUE_COST_RETENTION,
|
|
250
250
|
requiredWorkflowIds: REQUIRE_SESSION,
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
captureWorkspaceSnapshot,
|
|
4
4
|
changedFilesSinceSnapshot
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-6chhqq2n.js";
|
|
6
6
|
import {
|
|
7
7
|
removeWorktreeProvisioningOwner
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-xxfk62zd.js";
|
|
9
9
|
import {
|
|
10
10
|
SOURCE_WORKTREE_GONE_STAGE,
|
|
11
11
|
ensureTaskGateRequirementsReceiptForSettledTransition,
|
|
@@ -14,16 +14,22 @@ import {
|
|
|
14
14
|
reconcileLandedMerge,
|
|
15
15
|
withTaskEvidenceTransaction,
|
|
16
16
|
writeWorkflowWalFile
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-ad9064j9.js";
|
|
18
|
+
import {
|
|
19
|
+
validateSwarmPath
|
|
20
|
+
} from "./index-qqq04n70.js";
|
|
18
21
|
import {
|
|
19
22
|
appendCoreEventSync
|
|
20
|
-
} from "./index-
|
|
23
|
+
} from "./index-mee9maf5.js";
|
|
21
24
|
import {
|
|
22
25
|
isPathWithinDeclaredScope
|
|
23
26
|
} from "./index-556ja8an.js";
|
|
24
27
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./index-
|
|
28
|
+
canonicalRootKeyFresh
|
|
29
|
+
} from "./index-7qefgq4j.js";
|
|
30
|
+
import {
|
|
31
|
+
tryAcquireLock
|
|
32
|
+
} from "./index-2bhz5k91.js";
|
|
27
33
|
import {
|
|
28
34
|
init_git_executable,
|
|
29
35
|
resolveGitExecutable
|
|
@@ -32,12 +38,6 @@ import {
|
|
|
32
38
|
advisoryWarn,
|
|
33
39
|
init_warning_buffer
|
|
34
40
|
} from "./index-4rhhvd1a.js";
|
|
35
|
-
import {
|
|
36
|
-
canonicalRootKeyFresh
|
|
37
|
-
} from "./index-7qefgq4j.js";
|
|
38
|
-
import {
|
|
39
|
-
tryAcquireLock
|
|
40
|
-
} from "./index-2bgr671r.js";
|
|
41
41
|
import {
|
|
42
42
|
criticalWarn,
|
|
43
43
|
init_logger
|
|
@@ -487,7 +487,7 @@ async function cleanupRecoveredWorktree(directory, descriptor) {
|
|
|
487
487
|
awaitingMergeByCallID,
|
|
488
488
|
cleanupStandardWorktreeForCallId,
|
|
489
489
|
standardWorktreeByCallID
|
|
490
|
-
} = await import("./worktree-isolation-
|
|
490
|
+
} = await import("./worktree-isolation-jd39xz6h.js");
|
|
491
491
|
standardWorktreeByCallID.delete(descriptor.callID);
|
|
492
492
|
if (hasResidue)
|
|
493
493
|
awaitingMergeByCallID.set(descriptor.callID, {
|
|
@@ -611,7 +611,7 @@ async function recoverCoderSettlement(directory, taskId) {
|
|
|
611
611
|
awaitingMergeByCallID,
|
|
612
612
|
finishStandardWorktreeDispatch,
|
|
613
613
|
standardWorktreeByCallID
|
|
614
|
-
} = await import("./worktree-isolation-
|
|
614
|
+
} = await import("./worktree-isolation-jd39xz6h.js");
|
|
615
615
|
const descriptor = wal.worktree;
|
|
616
616
|
const reconstructedDispatch = {
|
|
617
617
|
callID: descriptor.callID,
|
|
@@ -1,12 +1,4 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import {
|
|
3
|
-
ExternalSkillsConfigSchema,
|
|
4
|
-
GATE_CONFIG_KNOWN_SECTION_KEYS,
|
|
5
|
-
GateConfigSchema,
|
|
6
|
-
PluginConfigSchema,
|
|
7
|
-
init_schema,
|
|
8
|
-
resolveExternalSkillsConfig
|
|
9
|
-
} from "./index-aqppaaqx.js";
|
|
10
2
|
import {
|
|
11
3
|
GIT_BINARY_ENV_VAR,
|
|
12
4
|
init_git_executable
|
|
@@ -15,6 +7,14 @@ import {
|
|
|
15
7
|
advisoryWarn,
|
|
16
8
|
init_warning_buffer
|
|
17
9
|
} from "./index-4rhhvd1a.js";
|
|
10
|
+
import {
|
|
11
|
+
ExternalSkillsConfigSchema,
|
|
12
|
+
GATE_CONFIG_KNOWN_SECTION_KEYS,
|
|
13
|
+
GateConfigSchema,
|
|
14
|
+
PluginConfigSchema,
|
|
15
|
+
init_schema,
|
|
16
|
+
resolveExternalSkillsConfig
|
|
17
|
+
} from "./index-cgewrpw5.js";
|
|
18
18
|
import {
|
|
19
19
|
MAX_MERGE_DEPTH,
|
|
20
20
|
deepMerge,
|
|
@@ -864,4 +864,4 @@ var PlanSchema = exports_external.object({
|
|
|
864
864
|
execution_profile: ExecutionProfileSchema.optional()
|
|
865
865
|
});
|
|
866
866
|
|
|
867
|
-
export {
|
|
867
|
+
export { loadPluginConfig, loadPluginConfigWithMeta, loadGateOverrides, resetConfigAdvisoryDedup, getSafeDefaultConfigLoadResult, loadPluginConfigWithMetaAsync, loadAgentPrompt, exports_loader, init_loader, ExecutionProfileSchema, TaskStatusSchema, TaskSizeSchema, PhaseStatusSchema, MigrationStatusSchema, TaskSchema, PhaseSchema, PlanSchema };
|
|
@@ -8,19 +8,19 @@ import {
|
|
|
8
8
|
sanitizeDiagnosticText,
|
|
9
9
|
unsafePathTextReason
|
|
10
10
|
} from "./index-556ja8an.js";
|
|
11
|
+
import {
|
|
12
|
+
observeStoreHealth
|
|
13
|
+
} from "./index-eed0gkv6.js";
|
|
14
|
+
import {
|
|
15
|
+
telemetry
|
|
16
|
+
} from "./index-r2p0pgst.js";
|
|
11
17
|
import {
|
|
12
18
|
init_schema,
|
|
13
19
|
stripKnownSwarmPrefix
|
|
14
|
-
} from "./index-
|
|
15
|
-
import {
|
|
16
|
-
observeStoreHealth
|
|
17
|
-
} from "./index-dsg9dw3b.js";
|
|
20
|
+
} from "./index-cgewrpw5.js";
|
|
18
21
|
import {
|
|
19
22
|
init_constants
|
|
20
23
|
} from "./index-50j914b5.js";
|
|
21
|
-
import {
|
|
22
|
-
telemetry
|
|
23
|
-
} from "./index-ww6zm5hr.js";
|
|
24
24
|
import {
|
|
25
25
|
init_logger,
|
|
26
26
|
warn
|