opencode-swarm 7.184.11 → 7.184.13
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/swarm-ci-monitor/SKILL.md +1 -0
- package/.opencode/skills/swarm-pr-feedback/SKILL.md +1 -0
- package/.opencode/skills/swarm-pr-review/SKILL.md +21 -21
- package/.opencode/skills/swarm-pr-review/references/lane-output-recoverability.md +11 -0
- package/.opencode/skills/swarm-pr-review/references/parallel-work-example.md +20 -0
- package/.opencode/skills/swarm-pr-subscribe/SKILL.md +1 -0
- package/binaries/win32-arm64/swarm-sandbox-runner.exe +0 -0
- package/binaries/win32-x64/swarm-sandbox-runner.exe +0 -0
- package/dist/background/delegation-lifecycle.d.ts +6 -2
- package/dist/background/pending-delegations.d.ts +23 -1
- package/dist/cli/auto-checkpoint-a2zbyh20.js +183 -0
- package/dist/cli/checkpoint-s444mhx5.js +51 -0
- package/dist/cli/{coder-settlement-6mhw6b36.js → coder-settlement-hnwwt3f0.js} +13 -11
- package/dist/cli/{config-doctor-tbaswv40.js → config-doctor-2qhay8ft.js} +2 -2
- package/dist/cli/{core-4389fcpc.js → core-567f7gbz.js} +3 -3
- package/dist/cli/{curation-policy-xe77n9zj.js → curation-policy-1rzheh1x.js} +6 -5
- package/dist/cli/{curator-asqb0cm7.js → curator-antxp3dg.js} +48 -42
- package/dist/cli/{curator-drift-nnge4dkk.js → curator-drift-ja4d9gq2.js} +9 -9
- package/dist/cli/curator-llm-factory-0a3svbcn.js +81 -0
- package/dist/cli/{dispatch-cv89p2y1.js → dispatch-0ejzwb45.js} +2 -1
- package/dist/cli/{evidence-summary-service-cdrwfdyp.js → evidence-summary-service-6ch3b0t5.js} +24 -19
- package/dist/cli/{gate-evidence-xbn83jeh.js → gate-evidence-zh4fpbnv.js} +8 -6
- package/dist/cli/guardrail-explain-pqyp8mx5.js +82 -0
- package/dist/cli/{guardrail-log-b6ef00v7.js → guardrail-log-99zsmp0p.js} +7 -7
- package/dist/cli/{guardrail-reset-77r7jfn2.js → guardrail-reset-mzs00j16.js} +48 -42
- package/dist/cli/hive-promoter-f3enyhkn.js +96 -0
- package/dist/cli/index-09wnx2ke.js +954 -0
- package/dist/cli/{index-kaay5kmx.js → index-0p0qwdyy.js} +2 -2
- package/dist/cli/{index-zz5rryxj.js → index-258a0p26.js} +7 -7
- package/dist/cli/{index-908zxswj.js → index-2n1ms79t.js} +44 -16
- package/dist/cli/{index-ejpxkrp6.js → index-2p3nzm9b.js} +1 -1
- package/dist/cli/index-2y9b45jj.js +24 -0
- package/dist/cli/{index-hk0eh9qb.js → index-4g4sr4ah.js} +1 -1
- package/dist/cli/{index-35cdceqf.js → index-6cjpmvpa.js} +2 -20
- package/dist/cli/{index-5cawm255.js → index-79y6dxa9.js} +8 -6
- package/dist/cli/index-7bxssqaf.js +2676 -0
- package/dist/cli/index-7pmbnjvj.js +11 -0
- package/dist/cli/{index-j4efx148.js → index-7r3pkgma.js} +5 -5
- package/dist/cli/{index-kg2mb1m5.js → index-7rzgdcvc.js} +2 -2
- package/dist/cli/{index-8gs8qkjs.js → index-7vb5rx5w.js} +1 -1
- package/dist/cli/{index-hamqvzqn.js → index-9nyqt3kb.js} +10 -2682
- package/dist/cli/{index-5njp971j.js → index-9rm7tw6y.js} +8 -8
- package/dist/cli/{index-c0dahh34.js → index-9y5b3nsk.js} +1 -1
- package/dist/cli/{index-xpcvwzdq.js → index-a96rm6zk.js} +3 -3
- package/dist/cli/{index-jhk62dp4.js → index-a9rfvc8j.js} +4 -4
- package/dist/cli/{index-xw8xdcrf.js → index-awkb5370.js} +5 -5
- package/dist/cli/{index-0mj7hc2z.js → index-bntwj2tp.js} +5 -5
- package/dist/cli/{index-aae38s4x.js → index-cftva3pa.js} +2 -11
- package/dist/cli/{index-hwjr3xyg.js → index-ck2hzp5b.js} +10 -38
- package/dist/cli/{index-e0rrj9kk.js → index-d2xdwz22.js} +9 -9
- package/dist/cli/{index-gnryhmak.js → index-dftztz4y.js} +1 -1
- package/dist/cli/{index-7k4ksbqd.js → index-djct2zsr.js} +1 -1
- package/dist/cli/{index-gqj1k2y6.js → index-e593fgq0.js} +2 -2
- package/dist/cli/{index-0ajyhjht.js → index-fxf3zhtq.js} +1 -1
- package/dist/cli/index-g4fs6z4e.js +37 -0
- package/dist/cli/{index-89nqyqxs.js → index-gz771bj7.js} +3 -3
- package/dist/cli/{index-tamg9rve.js → index-gzh04gxh.js} +2 -2
- package/dist/cli/index-hg1hqfy3.js +963 -0
- package/dist/cli/{index-nh5fxxc9.js → index-jtg0zsnx.js} +4 -2
- package/dist/cli/{index-3w96sd7p.js → index-kxm9wm5e.js} +3044 -3842
- package/dist/cli/{index-07fqfseh.js → index-m1pqenq9.js} +2 -2
- package/dist/cli/{index-be5h97z8.js → index-mfqge140.js} +1 -1
- package/dist/cli/{index-6z53ry5f.js → index-nt8g5952.js} +2 -2
- package/dist/cli/{index-cn67bp4y.js → index-pq35rmz5.js} +52 -46
- package/dist/cli/{index-5m1b70z3.js → index-pwcbtbhd.js} +4 -4
- package/dist/cli/{index-w0jbrttk.js → index-ra0z5wza.js} +3 -3
- package/dist/cli/{index-vx0wjfc1.js → index-sa061g64.js} +7 -7
- package/dist/cli/{index-7kmxy1rb.js → index-t7ck2nvk.js} +4 -4
- package/dist/cli/{index-ygdj73xq.js → index-tswsm3sw.js} +3 -3
- package/dist/cli/{index-q7q00ppx.js → index-tyzmjw2s.js} +7 -7
- package/dist/cli/{index-645ckyxy.js → index-v4ra6hz8.js} +55 -971
- package/dist/cli/{index-pbwfwc0v.js → index-vd1sd1m5.js} +48 -42
- package/dist/cli/{index-x1gyqgze.js → index-w6w6ny06.js} +2 -2
- package/dist/cli/{index-9xfxsx8y.js → index-wksedk4d.js} +1 -1
- package/dist/cli/{index-x119gdak.js → index-yx5z4200.js} +2 -2
- package/dist/cli/{index-dqpq8m9w.js → index-yydv4jfy.js} +2 -2
- package/dist/cli/index.js +49 -43
- package/dist/cli/{knowledge-escalator-8cc6jcw0.js → knowledge-escalator-6c813zv8.js} +13 -12
- package/dist/cli/{knowledge-events-b5g6ky4h.js → knowledge-events-9hbwedqb.js} +11 -10
- package/dist/cli/{knowledge-link-8tetyje0.js → knowledge-link-vvyfhhmr.js} +5 -4
- package/dist/cli/{knowledge-store-1w60j5xm.js → knowledge-store-8t9wy3ab.js} +6 -5
- package/dist/cli/{knowledge-validator-sd88rjcy.js → knowledge-validator-g61010aw.js} +8 -7
- package/dist/cli/{mcp-3052r65q.js → mcp-tyzj9cwy.js} +1 -1
- package/dist/cli/{model-preflight-m0nwfsx8.js → model-preflight-q8pnsjay.js} +48 -42
- package/dist/cli/{pending-delegations-5nx22evh.js → pending-delegations-8nah16wj.js} +16 -12
- package/dist/cli/{pr-subscriptions-kas44ty9.js → pr-subscriptions-rd3gnc3r.js} +14 -12
- package/dist/cli/{pr-workflow-gate-pmggnw1j.js → pr-workflow-gate-1y8by6bt.js} +56 -42
- package/dist/cli/{runner-ff0bj9w0.js → runner-cwmgb9rw.js} +6 -5
- package/dist/cli/{scan-cursor-yw12hvtc.js → scan-cursor-4s30je6f.js} +7 -6
- package/dist/cli/{schema-1g1y1d5q.js → schema-r3v5tb9r.js} +1 -1
- package/dist/cli/{scope-persistence-de472fxy.js → scope-persistence-vtz91b5n.js} +17 -15
- package/dist/cli/{server-1n00bga4.js → server-j1ybvgn4.js} +62 -54
- package/dist/cli/{skill-generator-c5wbbjqx.js → skill-generator-h27wtea0.js} +15 -14
- package/dist/cli/{snapshot-coordination-init-gwj594hc.js → snapshot-coordination-init-yntqf46w.js} +48 -42
- package/dist/cli/{speckit-checkoff-hc479v4r.js → speckit-checkoff-qxt03eh3.js} +4 -4
- package/dist/cli/{telemetry-39zmx4fp.js → telemetry-n6y2sjhg.js} +1 -1
- package/dist/cli/{workspace-snapshot-nrbvjh1c.js → workspace-snapshot-gnwak61t.js} +3 -3
- package/dist/cli/{worktree-collision-ownership-jvgxxnf9.js → worktree-collision-ownership-0a7jtwwe.js} +18 -16
- package/dist/cli/{worktree-isolation-r9hr23r8.js → worktree-isolation-4re648a3.js} +48 -42
- package/dist/hooks/pr-workflow-gate.d.ts +59 -1
- package/dist/index.js +543 -543
- package/dist/plan/auto-checkpoint.d.ts +56 -0
- package/dist/plan/manager.d.ts +8 -12
- package/dist/tools/dispatch-lanes.d.ts +7 -0
- package/dist/tools/submit-pr-review-result.d.ts +17 -0
- package/package.json +1 -1
- package/dist/cli/curator-llm-factory-1gjzcafw.js +0 -75
- package/dist/cli/guardrail-explain-xtyxjmyz.js +0 -76
- package/dist/cli/hive-promoter-dsrj2ar2.js +0 -90
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
validateSwarmPath
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-dftztz4y.js";
|
|
5
5
|
import {
|
|
6
6
|
observeReceiptTransition
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-yx5z4200.js";
|
|
8
8
|
import {
|
|
9
9
|
resolveHiveEventsPath
|
|
10
10
|
} from "./index-ae75rja9.js";
|
|
11
11
|
import {
|
|
12
12
|
resolveKnowledgeStoreDir
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-4g4sr4ah.js";
|
|
14
14
|
import {
|
|
15
15
|
atomicWriteFile
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-2y9b45jj.js";
|
|
17
17
|
import {
|
|
18
18
|
assertProjectRoot
|
|
19
19
|
} from "./index-t7hmqgjy.js";
|
|
20
20
|
import {
|
|
21
21
|
emit
|
|
22
|
-
} from "./index-
|
|
22
|
+
} from "./index-w6w6ny06.js";
|
|
23
23
|
import {
|
|
24
24
|
canonicalRootKey
|
|
25
25
|
} from "./index-mc72pk74.js";
|
|
@@ -28,11 +28,11 @@ import {
|
|
|
28
28
|
} from "./index-7g4c7s5r.js";
|
|
29
29
|
import {
|
|
30
30
|
loadPluginConfigWithMeta
|
|
31
|
-
} from "./index-
|
|
31
|
+
} from "./index-djct2zsr.js";
|
|
32
32
|
import {
|
|
33
33
|
KnowledgeConfigSchema,
|
|
34
34
|
init_schema
|
|
35
|
-
} from "./index-
|
|
35
|
+
} from "./index-2p3nzm9b.js";
|
|
36
36
|
import {
|
|
37
37
|
init_logger,
|
|
38
38
|
warn
|
|
@@ -2946,7 +2946,7 @@ async function applyKnowledgeVerdictFeedback(directory, options) {
|
|
|
2946
2946
|
}
|
|
2947
2947
|
let bumps = 0;
|
|
2948
2948
|
if (deltas.length > 0) {
|
|
2949
|
-
const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-
|
|
2949
|
+
const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-8t9wy3ab.js");
|
|
2950
2950
|
bumps = await bumpKnowledgeConfidenceBatch(directory, deltas, options?.floorOptions);
|
|
2951
2951
|
}
|
|
2952
2952
|
return {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
validateSwarmPath
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-dftztz4y.js";
|
|
5
5
|
import {
|
|
6
6
|
bunSpawn
|
|
7
7
|
} from "./index-2s7dvzff.js";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "./index-mc72pk74.js";
|
|
11
11
|
import {
|
|
12
12
|
atomicWriteSwarmFileSync
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-bntwj2tp.js";
|
|
14
14
|
import {
|
|
15
15
|
advisoryWarn,
|
|
16
16
|
init_git_executable,
|
|
@@ -242,7 +242,7 @@ var _internals2 = {
|
|
|
242
242
|
symlinkSync: fs2.symlinkSync
|
|
243
243
|
},
|
|
244
244
|
writeScopeToDisk: async (directory, taskId, files) => {
|
|
245
|
-
const { writeScopeToDisk: realWrite } = await import("./scope-persistence-
|
|
245
|
+
const { writeScopeToDisk: realWrite } = await import("./scope-persistence-vtz91b5n.js");
|
|
246
246
|
return realWrite(directory, taskId, files);
|
|
247
247
|
},
|
|
248
248
|
writeLaneProfileToDisk: async (_worktreePath, _laneIndex, _envOverrides) => {
|
|
@@ -5,18 +5,18 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
effectiveRetrievalOutcomes,
|
|
7
7
|
readAuthoritativeKnowledgeCounterRollups
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-9rm7tw6y.js";
|
|
9
9
|
import {
|
|
10
10
|
ALLOWED_SKILL_PATH_PREFIXES,
|
|
11
11
|
validateSkillPath
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-t7ck2nvk.js";
|
|
13
13
|
import {
|
|
14
14
|
computeOutcomeSignal,
|
|
15
15
|
readKnowledge,
|
|
16
16
|
resolveHiveKnowledgePath,
|
|
17
17
|
resolveSwarmKnowledgePath,
|
|
18
18
|
transactKnowledge
|
|
19
|
-
} from "./index-
|
|
19
|
+
} from "./index-258a0p26.js";
|
|
20
20
|
import {
|
|
21
21
|
appendCappedJsonl,
|
|
22
22
|
resolveRetentionCap
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
import {
|
|
28
28
|
atomicWriteFileAnyRoot,
|
|
29
29
|
atomicWriteSwarmFile
|
|
30
|
-
} from "./index-
|
|
30
|
+
} from "./index-bntwj2tp.js";
|
|
31
31
|
import {
|
|
32
32
|
advisoryWarn,
|
|
33
33
|
init_warning_buffer
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
queryHistoricalOutcomes,
|
|
4
4
|
readKnowledgeEvents,
|
|
5
5
|
recordKnowledgeEvent
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-9rm7tw6y.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-258a0p26.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-g61010aw.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-r3v5tb9r.js");
|
|
231
|
+
const { loadPluginConfigWithMeta } = await import("./index-tswsm3sw.js");
|
|
232
232
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
233
233
|
policyConfig = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
234
234
|
} catch {
|
|
@@ -229,9 +229,9 @@ var SWARM_TEMP_GRAMMARS = [
|
|
|
229
229
|
"src/evidence/task-file.ts (pre-#2035; migrated-to=src/evidence/task-file.ts:atomicWriteFile)",
|
|
230
230
|
"src/scope/scope-persistence.ts (pre-#2035; migrated-to=src/scope/scope-persistence.ts:atomicWrite)",
|
|
231
231
|
"src/scope/scope-persistence.ts (pre-#2035; migrated-to=src/scope/scope-persistence.ts:atomicWriteSync)",
|
|
232
|
-
"src/plan/manager.ts:
|
|
233
|
-
"src/plan/manager.ts:
|
|
234
|
-
"src/plan/manager.ts:
|
|
232
|
+
"src/plan/manager.ts:695",
|
|
233
|
+
"src/plan/manager.ts:2122",
|
|
234
|
+
"src/plan/manager.ts:2182",
|
|
235
235
|
"src/review/evidence.ts:175",
|
|
236
236
|
"src/turbo/lean/evidence.ts:182",
|
|
237
237
|
"src/summaries/manager.ts:163",
|
|
@@ -286,7 +286,7 @@ var SWARM_TEMP_GRAMMARS = [
|
|
|
286
286
|
"src/tools/spec-write.ts:98",
|
|
287
287
|
"src/sdd/effective-spec.ts:1377",
|
|
288
288
|
"src/background/lane-output-store.ts:353",
|
|
289
|
-
"src/background/pending-delegations.ts:
|
|
289
|
+
"src/background/pending-delegations.ts:1507",
|
|
290
290
|
"src/background/delegation-health.ts:391",
|
|
291
291
|
"src/tools/submit-phase-council-verdicts.ts:458",
|
|
292
292
|
"src/summaries/store.ts (pre-#2035; migrated-to=src/summaries/store.ts:writeRawSidecar)",
|
|
@@ -361,7 +361,7 @@ var SWARM_TEMP_GRAMMARS = [
|
|
|
361
361
|
token: "instance",
|
|
362
362
|
quarantineEligible: true,
|
|
363
363
|
parsesTarget: true,
|
|
364
|
-
producers: ["src/plan/manager.ts:
|
|
364
|
+
producers: ["src/plan/manager.ts:2381", "src/plan/manager.ts:2443"],
|
|
365
365
|
note: "plan-durability (invariant 5) fd-write paths; grammars registered, writers unchanged in this PR"
|
|
366
366
|
},
|
|
367
367
|
{
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
getProjectDb,
|
|
5
5
|
projectDbExists,
|
|
6
6
|
withImmediateTransaction
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-pwcbtbhd.js";
|
|
8
8
|
|
|
9
9
|
// src/db/coordination-store.ts
|
|
10
10
|
import { createHash } from "crypto";
|
|
@@ -366,13 +366,4 @@ function deleteCoordinationImports(directory, sources) {
|
|
|
366
366
|
});
|
|
367
367
|
}
|
|
368
368
|
|
|
369
|
-
|
|
370
|
-
import { createHash as createHash2 } from "crypto";
|
|
371
|
-
function derivePlanId(plan) {
|
|
372
|
-
return `${plan.swarm}-${plan.title}`.replace(/[^a-zA-Z0-9-_]/g, "_");
|
|
373
|
-
}
|
|
374
|
-
function derivePlanIdentityHash(plan) {
|
|
375
|
-
return createHash2("sha256").update(JSON.stringify([plan.swarm, plan.title]), "utf8").digest("hex");
|
|
376
|
-
}
|
|
377
|
-
|
|
378
|
-
export { MAX_COORDINATION_STATE_LIST_ROWS, getCoordinationStateRaw, withCoordinationTransaction, getCoordinationState, listCoordinationStates, countCoordinationStates, deleteCoordinationState, deleteCoordinationStateWithinTransaction, transitionCoordinationStateWithinTransaction, transitionCoordinationState, getCoordinationLease, acquireCoordinationLease, releaseCoordinationLease, importCoordinationOnce, deleteCoordinationImports, derivePlanId, derivePlanIdentityHash };
|
|
369
|
+
export { MAX_COORDINATION_STATE_LIST_ROWS, getCoordinationStateRaw, withCoordinationTransaction, getCoordinationState, listCoordinationStates, countCoordinationStates, deleteCoordinationState, deleteCoordinationStateWithinTransaction, transitionCoordinationStateWithinTransaction, transitionCoordinationState, getCoordinationLease, acquireCoordinationLease, releaseCoordinationLease, importCoordinationOnce, deleteCoordinationImports };
|
|
@@ -2,25 +2,28 @@
|
|
|
2
2
|
import {
|
|
3
3
|
autoCommitDirty,
|
|
4
4
|
cleanUntrackedFiles
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-a96rm6zk.js";
|
|
6
|
+
import {
|
|
7
|
+
isSpawnCwdMissing,
|
|
8
|
+
isSpawnCwdUnreadable
|
|
9
|
+
} from "./index-g4fs6z4e.js";
|
|
6
10
|
import {
|
|
7
11
|
validateSwarmPath
|
|
8
|
-
} from "./index-
|
|
12
|
+
} from "./index-dftztz4y.js";
|
|
9
13
|
import {
|
|
10
|
-
bunSpawn
|
|
11
|
-
classifySpawnFailure
|
|
14
|
+
bunSpawn
|
|
12
15
|
} from "./index-2s7dvzff.js";
|
|
13
16
|
import {
|
|
14
17
|
atomicWriteFile,
|
|
15
18
|
taskEvidencePath,
|
|
16
19
|
withTaskEvidenceLock
|
|
17
|
-
} from "./index-
|
|
20
|
+
} from "./index-2y9b45jj.js";
|
|
18
21
|
import {
|
|
19
22
|
assertProjectRoot
|
|
20
23
|
} from "./index-t7hmqgjy.js";
|
|
21
24
|
import {
|
|
22
25
|
telemetry
|
|
23
|
-
} from "./index-
|
|
26
|
+
} from "./index-w6w6ny06.js";
|
|
24
27
|
import {
|
|
25
28
|
advisoryWarn,
|
|
26
29
|
init_git_executable,
|
|
@@ -410,37 +413,6 @@ function recoveryReadErrored(directory) {
|
|
|
410
413
|
return readRecoveryRecords(directory).errored;
|
|
411
414
|
}
|
|
412
415
|
|
|
413
|
-
// src/utils/git-binary-missing-error.ts
|
|
414
|
-
class GitUnavailableError extends Error {
|
|
415
|
-
}
|
|
416
|
-
|
|
417
|
-
class GitBinaryMissingError extends GitUnavailableError {
|
|
418
|
-
name = "GitBinaryMissingError";
|
|
419
|
-
constructor(message = "git binary is not available", options) {
|
|
420
|
-
super(message, options);
|
|
421
|
-
}
|
|
422
|
-
}
|
|
423
|
-
|
|
424
|
-
class GitSpawnCwdError extends GitUnavailableError {
|
|
425
|
-
name = "GitSpawnCwdError";
|
|
426
|
-
cwd;
|
|
427
|
-
fault;
|
|
428
|
-
constructor(cwd, fault, options) {
|
|
429
|
-
super(fault === "missing" ? `git could not start: working directory no longer exists: ${cwd}` : `git could not start: working directory could not be inspected (permission denied): ${cwd}`, options);
|
|
430
|
-
this.cwd = cwd;
|
|
431
|
-
this.fault = fault;
|
|
432
|
-
}
|
|
433
|
-
}
|
|
434
|
-
function isGitBinaryMissing(err, cwd) {
|
|
435
|
-
return classifySpawnFailure(err, cwd) === "binary-missing";
|
|
436
|
-
}
|
|
437
|
-
function isSpawnCwdMissing(err, cwd) {
|
|
438
|
-
return classifySpawnFailure(err, cwd) === "cwd-missing";
|
|
439
|
-
}
|
|
440
|
-
function isSpawnCwdUnreadable(err, cwd) {
|
|
441
|
-
return classifySpawnFailure(err, cwd) === "cwd-unreadable";
|
|
442
|
-
}
|
|
443
|
-
|
|
444
416
|
// src/worktree/merge.ts
|
|
445
417
|
init_git_executable();
|
|
446
418
|
var _internals = {
|
|
@@ -2521,4 +2493,4 @@ function compareTaskWorkflowStateRank(left, right) {
|
|
|
2521
2493
|
return WORKFLOW_STATE_RANK[left] - WORKFLOW_STATE_RANK[right];
|
|
2522
2494
|
}
|
|
2523
2495
|
|
|
2524
|
-
export { isStrictTaskId, sanitizeTaskId, listRecoveryRecords,
|
|
2496
|
+
export { isStrictTaskId, sanitizeTaskId, listRecoveryRecords, _internals, SOURCE_WORKTREE_GONE_STAGE, SOURCE_WORKTREE_UNCERTAIN_STAGE, getMergeStrategy, recoverMergeBackFromImmutableCoordinates, reconcileLandedMerge, postMergeCleanup, pruneStaleWorktreeMetadata, attemptMergeBackFromDirty, cleanupOrphanedBranches, startupOrphanRecovery, readWorkflowWalFile, writeWorkflowWalFile, _internals3 as _internals1, TASK_WORKFLOW_SCHEMA_MARKER, readCurrentTaskDeclaredFiles, TASK_GATE_REQUIREMENTS_RECONSTRUCTION_SENTINEL, assertTaskEvidenceWriteAllowed, parseTaskEvidence, DEFAULT_REQUIRED_GATES, isValidTaskId, getTaskWorkflowSnapshot, deriveApplicableGateSet, isReadOnlyNoMutationEligible, reduceTaskWorkflowSnapshot, deriveRequiredGates, expandRequiredGates, transitionTaskWorkflowEvidence, transitionTaskWorkflowEvidenceWithStatus, withTaskEvidenceTransaction, ensureTaskGateRequirementsReceiptForSettledTransition, recordGateEvidence, recordTodoScanEvidence, recordAgentDispatch, readTaskEvidence, readTaskEvidenceState, readTaskEvidenceRaw, hasPassedAllGates, compareTaskWorkflowStateRank };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import {
|
|
3
|
-
derivePlanId,
|
|
4
|
-
derivePlanIdentityHash
|
|
5
|
-
} from "./index-aae38s4x.js";
|
|
6
2
|
import {
|
|
7
3
|
getProjectDb,
|
|
8
4
|
projectDbExists,
|
|
9
5
|
withImmediateTransaction,
|
|
10
6
|
withProjectDbReadOnly
|
|
11
|
-
} from "./index-
|
|
7
|
+
} from "./index-pwcbtbhd.js";
|
|
8
|
+
import {
|
|
9
|
+
derivePlanId,
|
|
10
|
+
derivePlanIdentityHash
|
|
11
|
+
} from "./index-7pmbnjvj.js";
|
|
12
12
|
import {
|
|
13
13
|
withEvidenceLock
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-6cjpmvpa.js";
|
|
15
15
|
import {
|
|
16
16
|
assertProjectRoot
|
|
17
17
|
} from "./index-t7hmqgjy.js";
|
|
18
18
|
import {
|
|
19
19
|
emit
|
|
20
|
-
} from "./index-
|
|
20
|
+
} from "./index-w6w6ny06.js";
|
|
21
21
|
import {
|
|
22
22
|
ExecutionProfileSchema,
|
|
23
23
|
PlanSchema,
|
|
@@ -27,11 +27,11 @@ import {
|
|
|
27
27
|
import {
|
|
28
28
|
init_loader,
|
|
29
29
|
loadPluginConfig
|
|
30
|
-
} from "./index-
|
|
30
|
+
} from "./index-djct2zsr.js";
|
|
31
31
|
import {
|
|
32
32
|
init_package,
|
|
33
33
|
package_default
|
|
34
|
-
} from "./index-
|
|
34
|
+
} from "./index-2p3nzm9b.js";
|
|
35
35
|
import {
|
|
36
36
|
criticalWarn,
|
|
37
37
|
init_logger,
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
init_loader,
|
|
4
4
|
loadPluginConfigWithMeta
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-djct2zsr.js";
|
|
6
6
|
import {
|
|
7
7
|
init_schema
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-2p3nzm9b.js";
|
|
9
9
|
import {
|
|
10
10
|
DEFAULT_WORKTREE_ISOLATION_CONFIG,
|
|
11
11
|
init_constants
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
classifySpawnFailure
|
|
4
|
+
} from "./index-2s7dvzff.js";
|
|
5
|
+
|
|
6
|
+
// src/utils/git-binary-missing-error.ts
|
|
7
|
+
class GitUnavailableError extends Error {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
class GitBinaryMissingError extends GitUnavailableError {
|
|
11
|
+
name = "GitBinaryMissingError";
|
|
12
|
+
constructor(message = "git binary is not available", options) {
|
|
13
|
+
super(message, options);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
class GitSpawnCwdError extends GitUnavailableError {
|
|
18
|
+
name = "GitSpawnCwdError";
|
|
19
|
+
cwd;
|
|
20
|
+
fault;
|
|
21
|
+
constructor(cwd, fault, options) {
|
|
22
|
+
super(fault === "missing" ? `git could not start: working directory no longer exists: ${cwd}` : `git could not start: working directory could not be inspected (permission denied): ${cwd}`, options);
|
|
23
|
+
this.cwd = cwd;
|
|
24
|
+
this.fault = fault;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
function isGitBinaryMissing(err, cwd) {
|
|
28
|
+
return classifySpawnFailure(err, cwd) === "binary-missing";
|
|
29
|
+
}
|
|
30
|
+
function isSpawnCwdMissing(err, cwd) {
|
|
31
|
+
return classifySpawnFailure(err, cwd) === "cwd-missing";
|
|
32
|
+
}
|
|
33
|
+
function isSpawnCwdUnreadable(err, cwd) {
|
|
34
|
+
return classifySpawnFailure(err, cwd) === "cwd-unreadable";
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export { GitBinaryMissingError, GitSpawnCwdError, isGitBinaryMissing, isSpawnCwdMissing, isSpawnCwdUnreadable };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
readEffectiveSpecSync
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-9y5b3nsk.js";
|
|
5
5
|
import {
|
|
6
6
|
readSwarmFileAsync
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-dftztz4y.js";
|
|
8
8
|
import {
|
|
9
9
|
DURABILITY_CLASSES,
|
|
10
10
|
DbWriteError,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
classifyDbWriteError,
|
|
14
14
|
getProjectDb,
|
|
15
15
|
projectDbExists
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-pwcbtbhd.js";
|
|
17
17
|
import {
|
|
18
18
|
_internals,
|
|
19
19
|
canonicalRootKeyFresh
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
readKnowledge,
|
|
4
4
|
transactKnowledge
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-258a0p26.js";
|
|
6
6
|
import {
|
|
7
7
|
resolveKnowledgeStoreDir
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-4g4sr4ah.js";
|
|
9
9
|
import {
|
|
10
10
|
init_git_executable,
|
|
11
11
|
resolveGitExecutableAsync
|