opencode-swarm 7.159.0 → 7.159.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/dist/cli/{coder-settlement-66mqw0xt.js → coder-settlement-d89tqam8.js} +9 -9
- package/dist/cli/{config-doctor-nkx61b9e.js → config-doctor-8zawz3qh.js} +2 -2
- package/dist/cli/{core-b3db7gf6.js → core-pp64ys5v.js} +1 -1
- package/dist/cli/{curation-policy-vn3m5nq2.js → curation-policy-2gq8307w.js} +6 -6
- package/dist/cli/{curator-llm-factory-c4y1mrr5.js → curator-llm-factory-m3yw6sn5.js} +30 -30
- package/dist/cli/{curator-w4ntvkz5.js → curator-mpqpbr0r.js} +30 -30
- package/dist/cli/{evidence-summary-service-vadgnzk6.js → evidence-summary-service-qaq1eba9.js} +12 -12
- package/dist/cli/{gate-evidence-0chatz5e.js → gate-evidence-r0c71n04.js} +6 -6
- package/dist/cli/{guardrail-explain-ax2qmsp4.js → guardrail-explain-5z64w3ah.js} +31 -31
- package/dist/cli/{guardrail-log-t3c9g8tc.js → guardrail-log-f9nf687y.js} +5 -5
- package/dist/cli/{guardrail-reset-wvdb5sv5.js → guardrail-reset-yjwk20rb.js} +30 -30
- package/dist/cli/{hive-promoter-mfq3ee0n.js → hive-promoter-zjtgbh4w.js} +30 -30
- package/dist/cli/{index-nwkr6tvv.js → index-0zerbq1v.js} +1 -1
- package/dist/cli/{index-mc9qgkwd.js → index-1qpagg2t.js} +3 -3
- package/dist/cli/{index-fcp41snp.js → index-29wav1x0.js} +4 -4
- package/dist/cli/{index-ghjs1n7k.js → index-2z00wqvb.js} +3 -3
- package/dist/cli/{index-8kfbdrxa.js → index-36sgq7n9.js} +32 -32
- package/dist/cli/{index-9vt2hknx.js → index-3rcqxbwt.js} +1 -1
- package/dist/cli/{index-hte1e31d.js → index-3scbg6n2.js} +2 -2
- package/dist/cli/{index-e2s08v0q.js → index-4k9pqbxw.js} +2 -2
- package/dist/cli/{index-xmz69g65.js → index-4nc9npx5.js} +2 -2
- package/dist/cli/{index-pfnj5pvs.js → index-54pkyasv.js} +1 -1
- package/dist/cli/{index-6e6qxf5q.js → index-60mzwj91.js} +1 -1
- package/dist/cli/{index-8fqb0ynp.js → index-6z53bew2.js} +1 -1
- package/dist/cli/{index-tcbjjppb.js → index-7yg4ypyg.js} +1 -1
- package/dist/cli/{index-3e8600a7.js → index-86dvzyac.js} +703 -222
- package/dist/cli/{index-vywbn766.js → index-8819vcke.js} +4 -4
- package/dist/cli/{index-04yrxg0z.js → index-9fphcxes.js} +2 -2
- package/dist/cli/{index-1sdb57jv.js → index-9yxyc1gb.js} +6 -6
- package/dist/cli/{index-zcmwwp1x.js → index-a5w29k1t.js} +1 -1
- package/dist/cli/{index-xagq35tf.js → index-av3gnekk.js} +1 -1
- package/dist/cli/{index-erdsawqz.js → index-bea260ta.js} +6 -6
- package/dist/cli/{index-ynjy98vv.js → index-bz7ayg01.js} +5 -5
- package/dist/cli/{index-k4arrwrz.js → index-f3yphmk6.js} +7 -7
- package/dist/cli/{index-5zgf140g.js → index-g6d8xam2.js} +1 -1
- package/dist/cli/{index-k48kgm6z.js → index-gkw7kq6z.js} +5 -5
- package/dist/cli/{index-b82tq895.js → index-k6y6btb6.js} +3 -3
- package/dist/cli/{index-h1g8w4v0.js → index-prknc0xn.js} +129 -44
- package/dist/cli/{index-z54qw70y.js → index-tvz43tea.js} +1 -1
- package/dist/cli/{index-h52hs4e9.js → index-v3jy0tc6.js} +2 -2
- package/dist/cli/{index-pvzaryhr.js → index-ve3v09kq.js} +1 -1
- package/dist/cli/{index-b1tenv2s.js → index-wae55z9w.js} +7 -1
- package/dist/cli/{index-8jnzp5ct.js → index-wttqayp1.js} +2 -2
- package/dist/cli/{index-35grv4jg.js → index-yw26j0q7.js} +7 -7
- package/dist/cli/{index-we3nf5as.js → index-zmc8mm7v.js} +4 -4
- package/dist/cli/{index-7s1hmrfh.js → index-zxkv8x5n.js} +2 -2
- package/dist/cli/index.js +30 -30
- package/dist/cli/{knowledge-escalator-x85t1e66.js → knowledge-escalator-585m4927.js} +11 -11
- package/dist/cli/{knowledge-events-bwx99mxc.js → knowledge-events-ssegqfmy.js} +9 -9
- package/dist/cli/{knowledge-link-cj2abbae.js → knowledge-link-a9fafeb3.js} +5 -5
- package/dist/cli/{knowledge-store-21m81zsa.js → knowledge-store-nznky6cv.js} +6 -6
- package/dist/cli/{knowledge-validator-yxcadg1p.js → knowledge-validator-3byea8gp.js} +8 -8
- package/dist/cli/{pending-delegations-b8qka5nf.js → pending-delegations-qrjq3s29.js} +3 -3
- package/dist/cli/{pr-review-reentry-authorization-wv3ck5kh.js → pr-review-reentry-authorization-w8ja0m2p.js} +30 -30
- package/dist/cli/{pr-subscriptions-j9j70bmd.js → pr-subscriptions-fvmey1x6.js} +4 -4
- package/dist/cli/{runner-sj5sf36c.js → runner-atbehryj.js} +6 -6
- package/dist/cli/{scan-cursor-m3w0tapb.js → scan-cursor-kv9scb2v.js} +7 -7
- package/dist/cli/{schema-0b0dqn28.js → schema-a7f88yc3.js} +1 -1
- package/dist/cli/{scope-persistence-199f7yqc.js → scope-persistence-x6de46s4.js} +8 -8
- package/dist/cli/{skill-generator-a2ekcbe2.js → skill-generator-vwcrfrw3.js} +13 -13
- package/dist/cli/{telemetry-r8e8zey7.js → telemetry-3rh94wv3.js} +1 -1
- package/dist/cli/{worktree-collision-ownership-5qaab3q7.js → worktree-collision-ownership-7kf9mm5z.js} +5 -5
- package/dist/cli/{worktree-isolation-esesc842.js → worktree-isolation-6zh5bxrd.js} +30 -30
- package/dist/config/schema.d.ts +20 -0
- package/dist/evaluation/contracts.d.ts +5 -5
- package/dist/evaluation/ephemeral-agent-dispatcher.d.ts +2 -0
- package/dist/evaluation/model-dispatcher.d.ts +2 -2
- package/dist/index.js +189 -189
- package/dist/observability/catalog.d.ts +5 -3
- package/dist/review/contracts.d.ts +2 -1
- package/dist/review/evidence.d.ts +12 -0
- package/dist/services/cost-accounting.d.ts +100 -0
- package/dist/services/status-service.d.ts +12 -0
- package/dist/telemetry.d.ts +1 -1
- package/opencode-swarm.schema.json +40 -0
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
authorizeCuration
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-54pkyasv.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-bea260ta.js";
|
|
13
13
|
import {
|
|
14
14
|
resolveKnowledgeStoreDir
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-g6d8xam2.js";
|
|
16
16
|
import {
|
|
17
17
|
atomicWriteFile
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-v3jy0tc6.js";
|
|
19
19
|
import {
|
|
20
20
|
require_proper_lockfile
|
|
21
21
|
} from "./index-7g4c7s5r.js";
|
|
@@ -11,13 +11,13 @@ import {
|
|
|
11
11
|
import {
|
|
12
12
|
init_schema,
|
|
13
13
|
stripKnownSwarmPrefix
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-wae55z9w.js";
|
|
15
15
|
import {
|
|
16
16
|
init_constants
|
|
17
17
|
} from "./index-yt75r1er.js";
|
|
18
18
|
import {
|
|
19
19
|
telemetry
|
|
20
|
-
} from "./index-
|
|
20
|
+
} from "./index-prknc0xn.js";
|
|
21
21
|
import {
|
|
22
22
|
init_logger,
|
|
23
23
|
warn
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./index-3f7hqtgg.js";
|
|
6
6
|
import {
|
|
7
7
|
removeWorktreeProvisioningOwner
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-6z53bew2.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-zmc8mm7v.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-0zerbq1v.js";
|
|
23
23
|
import {
|
|
24
24
|
isPathWithinDeclaredScope
|
|
25
25
|
} from "./index-556ja8an.js";
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
} from "./index-4rhhvd1a.js";
|
|
37
37
|
import {
|
|
38
38
|
tryAcquireLock
|
|
39
|
-
} from "./index-
|
|
39
|
+
} from "./index-av3gnekk.js";
|
|
40
40
|
import {
|
|
41
41
|
criticalWarn,
|
|
42
42
|
init_logger
|
|
@@ -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-6zh5bxrd.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-6zh5bxrd.js");
|
|
606
606
|
const descriptor = wal.worktree;
|
|
607
607
|
const reconstructedDispatch = {
|
|
608
608
|
callID: descriptor.callID,
|
|
@@ -69,7 +69,7 @@ var SWARM_TEMP_GRAMMARS = [
|
|
|
69
69
|
"src/plan/manager.ts:629",
|
|
70
70
|
"src/plan/manager.ts:1785",
|
|
71
71
|
"src/plan/manager.ts:1831",
|
|
72
|
-
"src/review/evidence.ts:
|
|
72
|
+
"src/review/evidence.ts:175",
|
|
73
73
|
"src/turbo/lean/evidence.ts:182",
|
|
74
74
|
"src/summaries/manager.ts:122",
|
|
75
75
|
"src/evidence/manager.ts:288",
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
} from "./index-ae75rja9.js";
|
|
7
7
|
import {
|
|
8
8
|
resolveKnowledgeStoreDir
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-g6d8xam2.js";
|
|
10
10
|
import {
|
|
11
11
|
atomicWriteFile
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-v3jy0tc6.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-ssegqfmy.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-3byea8gp.js");
|
|
784
|
+
const { KnowledgeConfigSchema } = await import("./schema-a7f88yc3.js");
|
|
785
785
|
let config;
|
|
786
786
|
try {
|
|
787
|
-
const { loadPluginConfigWithMeta } = await import("./index-
|
|
787
|
+
const { loadPluginConfigWithMeta } = await import("./index-2z00wqvb.js");
|
|
788
788
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
789
789
|
config = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
790
790
|
} catch {
|
|
@@ -2,23 +2,23 @@
|
|
|
2
2
|
import {
|
|
3
3
|
computePlanStructureHash,
|
|
4
4
|
derivePlanId
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-k6y6btb6.js";
|
|
6
6
|
import {
|
|
7
7
|
appendCoreEventSync
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-0zerbq1v.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-7yg4ypyg.js";
|
|
15
15
|
import {
|
|
16
16
|
atomicWriteSwarmFile,
|
|
17
17
|
atomicWriteSwarmFileSync
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-a5w29k1t.js";
|
|
19
19
|
import {
|
|
20
20
|
assertProjectRoot
|
|
21
|
-
} from "./index-
|
|
21
|
+
} from "./index-av3gnekk.js";
|
|
22
22
|
import {
|
|
23
23
|
require_proper_lockfile
|
|
24
24
|
} from "./index-7g4c7s5r.js";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
EvaluationRunV1Schema,
|
|
4
4
|
GateAuditResultV1Schema,
|
|
5
5
|
getProtectedEvaluationRunIds
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-zxkv8x5n.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-zmc8mm7v.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-k6y6btb6.js";
|
|
47
47
|
import {
|
|
48
48
|
appendCoreEventSync
|
|
49
|
-
} from "./index-
|
|
49
|
+
} from "./index-0zerbq1v.js";
|
|
50
50
|
import {
|
|
51
51
|
init_executor,
|
|
52
52
|
isUntrustedEnvKey,
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
} from "./index-r3mvsbtq.js";
|
|
71
71
|
import {
|
|
72
72
|
PlanSchema
|
|
73
|
-
} from "./index-
|
|
73
|
+
} from "./index-7yg4ypyg.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-av3gnekk.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-prknc0xn.js";
|
|
92
92
|
import {
|
|
93
93
|
ZodError,
|
|
94
94
|
init_zod
|
|
@@ -6,12 +6,12 @@ import {
|
|
|
6
6
|
resolveSwarmKnowledgePath,
|
|
7
7
|
transactKnowledge,
|
|
8
8
|
wordBigrams
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-bea260ta.js";
|
|
10
10
|
import {
|
|
11
11
|
queryHistoricalOutcomes,
|
|
12
12
|
readKnowledgeEvents,
|
|
13
13
|
recordKnowledgeEvent
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-yw26j0q7.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-3byea8gp.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-a7f88yc3.js");
|
|
231
|
+
const { loadPluginConfigWithMeta } = await import("./index-2z00wqvb.js");
|
|
232
232
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
233
233
|
policyConfig = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
234
234
|
} catch {
|
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
PlanSchema,
|
|
5
5
|
TaskStatusSchema,
|
|
6
6
|
init_loader
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-7yg4ypyg.js";
|
|
8
8
|
import {
|
|
9
9
|
assertProjectRoot,
|
|
10
10
|
withEvidenceLock
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-av3gnekk.js";
|
|
12
12
|
import {
|
|
13
13
|
emit
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-prknc0xn.js";
|
|
15
15
|
import {
|
|
16
16
|
criticalWarn,
|
|
17
17
|
init_logger,
|