opencode-swarm 7.184.11 → 7.184.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/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-7y3x5cv2.js +183 -0
- package/dist/cli/checkpoint-j39f718z.js +51 -0
- package/dist/cli/{coder-settlement-6mhw6b36.js → coder-settlement-12ytzqvs.js} +13 -11
- package/dist/cli/{config-doctor-tbaswv40.js → config-doctor-vphp4shw.js} +2 -2
- package/dist/cli/{core-4389fcpc.js → core-5a1awn37.js} +3 -3
- package/dist/cli/{curation-policy-xe77n9zj.js → curation-policy-1rzheh1x.js} +6 -5
- package/dist/cli/{curator-drift-nnge4dkk.js → curator-drift-ex0qxt9p.js} +9 -9
- package/dist/cli/curator-llm-factory-ktkat73z.js +81 -0
- package/dist/cli/{curator-asqb0cm7.js → curator-x2hxjdac.js} +48 -42
- package/dist/cli/{dispatch-cv89p2y1.js → dispatch-0ejzwb45.js} +2 -1
- package/dist/cli/{evidence-summary-service-cdrwfdyp.js → evidence-summary-service-pfksvp16.js} +24 -19
- package/dist/cli/{gate-evidence-xbn83jeh.js → gate-evidence-8n8kb8tb.js} +8 -6
- package/dist/cli/guardrail-explain-px94swcz.js +82 -0
- package/dist/cli/{guardrail-log-b6ef00v7.js → guardrail-log-xevw9xht.js} +7 -7
- package/dist/cli/{guardrail-reset-77r7jfn2.js → guardrail-reset-18wvqbga.js} +48 -42
- package/dist/cli/hive-promoter-5r35f3ap.js +96 -0
- package/dist/cli/{index-7kmxy1rb.js → index-27wzbb3n.js} +4 -4
- package/dist/cli/{index-kaay5kmx.js → index-2cbt4b7t.js} +2 -2
- package/dist/cli/{index-w0jbrttk.js → index-2p1an48j.js} +3 -3
- package/dist/cli/index-2y9b45jj.js +24 -0
- package/dist/cli/index-34ysgky0.js +954 -0
- package/dist/cli/{index-ejpxkrp6.js → index-39ng38sp.js} +1 -1
- package/dist/cli/{index-hk0eh9qb.js → index-4g4sr4ah.js} +1 -1
- package/dist/cli/{index-cn67bp4y.js → index-53fy0aq2.js} +52 -46
- package/dist/cli/{index-5cawm255.js → index-5w404j07.js} +8 -6
- package/dist/cli/index-5y1qxw0x.js +963 -0
- package/dist/cli/{index-35cdceqf.js → index-6cjpmvpa.js} +2 -20
- package/dist/cli/{index-jhk62dp4.js → index-74e43s33.js} +4 -4
- 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-hamqvzqn.js → index-9nyqt3kb.js} +10 -2682
- package/dist/cli/{index-6z53ry5f.js → index-a53f5t61.js} +2 -2
- package/dist/cli/{index-e0rrj9kk.js → index-azyhws0s.js} +9 -9
- 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-c0dahh34.js → index-cvam011t.js} +1 -1
- package/dist/cli/{index-gqj1k2y6.js → index-d42kjvwy.js} +2 -2
- package/dist/cli/{index-gnryhmak.js → index-dftztz4y.js} +1 -1
- package/dist/cli/{index-zz5rryxj.js → index-dze05t9h.js} +7 -7
- package/dist/cli/{index-tamg9rve.js → index-eqfmabtd.js} +2 -2
- package/dist/cli/{index-hwjr3xyg.js → index-fbp7dqfe.js} +10 -38
- package/dist/cli/{index-0ajyhjht.js → index-fxf3zhtq.js} +1 -1
- package/dist/cli/index-g4fs6z4e.js +37 -0
- package/dist/cli/{index-9xfxsx8y.js → index-hfs97j0c.js} +1 -1
- package/dist/cli/{index-nh5fxxc9.js → index-jtg0zsnx.js} +4 -2
- package/dist/cli/{index-pbwfwc0v.js → index-kcbkce43.js} +48 -42
- 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-3w96sd7p.js → index-n572fdtf.js} +2969 -3838
- package/dist/cli/{index-5m1b70z3.js → index-pwcbtbhd.js} +4 -4
- package/dist/cli/{index-xpcvwzdq.js → index-rbvndg2d.js} +3 -3
- package/dist/cli/{index-8gs8qkjs.js → index-ryafwy2b.js} +1 -1
- package/dist/cli/{index-vx0wjfc1.js → index-s7rap90y.js} +7 -7
- package/dist/cli/{index-q7q00ppx.js → index-tyzmjw2s.js} +7 -7
- package/dist/cli/{index-7k4ksbqd.js → index-vk49btd6.js} +1 -1
- package/dist/cli/{index-89nqyqxs.js → index-w33zgxn6.js} +3 -3
- package/dist/cli/{index-x1gyqgze.js → index-w6w6ny06.js} +2 -2
- package/dist/cli/{index-ygdj73xq.js → index-x0jybm74.js} +3 -3
- package/dist/cli/{index-xw8xdcrf.js → index-ymhs7hng.js} +5 -5
- package/dist/cli/{index-645ckyxy.js → index-yvmvsej2.js} +55 -971
- 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-5njp971j.js → index-zmtpnyff.js} +8 -8
- package/dist/cli/{index-908zxswj.js → index-zzebc1td.js} +44 -16
- package/dist/cli/index.js +49 -43
- package/dist/cli/{knowledge-escalator-8cc6jcw0.js → knowledge-escalator-z5qb6y6s.js} +13 -12
- package/dist/cli/{knowledge-events-b5g6ky4h.js → knowledge-events-gv173j4d.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-g4sjhep5.js} +6 -5
- package/dist/cli/{knowledge-validator-sd88rjcy.js → knowledge-validator-8whkrsrb.js} +8 -7
- package/dist/cli/{mcp-3052r65q.js → mcp-x25b3q1g.js} +1 -1
- package/dist/cli/{model-preflight-m0nwfsx8.js → model-preflight-b21njmda.js} +48 -42
- package/dist/cli/{pending-delegations-5nx22evh.js → pending-delegations-f6rmrqzn.js} +16 -12
- package/dist/cli/{pr-subscriptions-kas44ty9.js → pr-subscriptions-nmbme4kp.js} +14 -12
- package/dist/cli/{pr-workflow-gate-pmggnw1j.js → pr-workflow-gate-mtzfsmkg.js} +48 -42
- package/dist/cli/{runner-ff0bj9w0.js → runner-cwmgb9rw.js} +6 -5
- package/dist/cli/{scan-cursor-yw12hvtc.js → scan-cursor-gmpjsr3a.js} +7 -6
- package/dist/cli/{schema-1g1y1d5q.js → schema-rvxnxp4n.js} +1 -1
- package/dist/cli/{scope-persistence-de472fxy.js → scope-persistence-fqenprq7.js} +17 -15
- package/dist/cli/{server-1n00bga4.js → server-ws1my2dz.js} +62 -54
- package/dist/cli/{skill-generator-c5wbbjqx.js → skill-generator-pt1epeer.js} +15 -14
- package/dist/cli/{snapshot-coordination-init-gwj594hc.js → snapshot-coordination-init-9zrktnh5.js} +48 -42
- package/dist/cli/{speckit-checkoff-hc479v4r.js → speckit-checkoff-k13zhgh5.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-mw3rkc4v.js} +18 -16
- package/dist/cli/{worktree-isolation-r9hr23r8.js → worktree-isolation-0rtrpf0b.js} +48 -42
- package/dist/index.js +541 -541
- package/dist/plan/auto-checkpoint.d.ts +56 -0
- package/dist/plan/manager.d.ts +8 -12
- 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
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
pseudonymousRef,
|
|
4
4
|
resolveLineageSalt,
|
|
5
5
|
telemetry
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-w6w6ny06.js";
|
|
7
7
|
import {
|
|
8
8
|
canonicalRootKeyFresh
|
|
9
9
|
} from "./index-mc72pk74.js";
|
|
10
10
|
import {
|
|
11
11
|
atomicWriteSwarmFile
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-bntwj2tp.js";
|
|
13
13
|
|
|
14
14
|
// src/health/learning-health.ts
|
|
15
15
|
import { promises as fs } from "fs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
validateSwarmPath
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-dftztz4y.js";
|
|
5
5
|
import {
|
|
6
6
|
atomicWriteSwarmFileSync
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-bntwj2tp.js";
|
|
8
8
|
|
|
9
9
|
// src/hooks/delegation-gate/worktree-provisioning-owner.ts
|
|
10
10
|
import { createHash } from "crypto";
|
|
@@ -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-vk49btd6.js";
|
|
32
32
|
import {
|
|
33
33
|
KnowledgeConfigSchema,
|
|
34
34
|
init_schema
|
|
35
|
-
} from "./index-
|
|
35
|
+
} from "./index-39ng38sp.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-g4sjhep5.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
|
bunWrite
|
|
7
7
|
} from "./index-2s7dvzff.js";
|
|
@@ -18,21 +18,21 @@ import {
|
|
|
18
18
|
releaseCoordinationLease,
|
|
19
19
|
transitionCoordinationState,
|
|
20
20
|
withCoordinationTransaction
|
|
21
|
-
} from "./index-
|
|
21
|
+
} from "./index-cftva3pa.js";
|
|
22
22
|
import {
|
|
23
23
|
getProjectDb,
|
|
24
24
|
projectDbExists
|
|
25
|
-
} from "./index-
|
|
25
|
+
} from "./index-pwcbtbhd.js";
|
|
26
26
|
import {
|
|
27
27
|
observeDelegationLedgerPressure
|
|
28
|
-
} from "./index-
|
|
28
|
+
} from "./index-yx5z4200.js";
|
|
29
29
|
import {
|
|
30
30
|
EvidenceLockTimeoutError,
|
|
31
31
|
withEvidenceLock
|
|
32
|
-
} from "./index-
|
|
32
|
+
} from "./index-6cjpmvpa.js";
|
|
33
33
|
import {
|
|
34
34
|
telemetry
|
|
35
|
-
} from "./index-
|
|
35
|
+
} from "./index-w6w6ny06.js";
|
|
36
36
|
import {
|
|
37
37
|
canonicalRootKeyFresh,
|
|
38
38
|
sameProjectRoot
|
|
@@ -1207,7 +1207,7 @@ var WorktreeDescriptorSchema = exports_external.object({
|
|
|
1207
1207
|
}).strict();
|
|
1208
1208
|
var TerminalResultSchema = exports_external.object({
|
|
1209
1209
|
eventId: exports_external.string().min(1).max(256),
|
|
1210
|
-
status: exports_external.enum(["completed", "error", "cancelled", "rejected"]),
|
|
1210
|
+
status: exports_external.enum(["completed", "error", "cancelled", "rejected", "stale"]),
|
|
1211
1211
|
recordedAt: exports_external.number().int().nonnegative(),
|
|
1212
1212
|
result: ResultSchema
|
|
1213
1213
|
}).strict();
|
|
@@ -2866,6 +2866,9 @@ function buildPromptSnapshot(text, maxChars) {
|
|
|
2866
2866
|
digest: createHash3("sha256").update(text).digest("hex")
|
|
2867
2867
|
};
|
|
2868
2868
|
}
|
|
2869
|
+
function isTypedTerminalStatus(status) {
|
|
2870
|
+
return status === "completed" || status === "error" || status === "cancelled" || status === "stale";
|
|
2871
|
+
}
|
|
2869
2872
|
async function appendDelegationTransition(directory, correlationId, transition) {
|
|
2870
2873
|
const now = Date.now();
|
|
2871
2874
|
try {
|
|
@@ -2885,13 +2888,16 @@ async function appendDelegationTransition(directory, correlationId, transition)
|
|
|
2885
2888
|
next = current;
|
|
2886
2889
|
return;
|
|
2887
2890
|
}
|
|
2891
|
+
const effectiveUpdatedAt = transition.updatedAt ?? now;
|
|
2892
|
+
const typedTerminal = current.terminalResult ? undefined : isTypedTerminalStatus(transition.status) ? transition.terminalResult ?? (transition.result?.workflowLaneFailureClass ? buildTypedDelegationTerminal(current, transition.status, transition.result, effectiveUpdatedAt) : undefined) : undefined;
|
|
2888
2893
|
next = {
|
|
2889
2894
|
...current,
|
|
2890
|
-
schemaVersion: transition.result?.prReviewResultReceipt ? 4 : current.schemaVersion === 1 ? 2 : current.schemaVersion,
|
|
2895
|
+
schemaVersion: transition.result?.prReviewResultReceipt ? 4 : typedTerminal ? current.schemaVersion === 4 ? 4 : 3 : current.schemaVersion === 1 ? 2 : current.schemaVersion,
|
|
2891
2896
|
status: transition.status,
|
|
2892
|
-
updatedAt:
|
|
2893
|
-
...transition.completedAt !== undefined ? { completedAt: transition.completedAt } : transition.status === "completed" || transition.status === "error" ? { completedAt: now } : {},
|
|
2894
|
-
...transition.result ? { result: transition.result } : {}
|
|
2897
|
+
updatedAt: effectiveUpdatedAt,
|
|
2898
|
+
...transition.completedAt !== undefined ? { completedAt: transition.completedAt } : transition.status === "completed" || transition.status === "error" ? { completedAt: now } : typedTerminal ? { completedAt: typedTerminal.recordedAt } : {},
|
|
2899
|
+
...transition.result ? { result: transition.result } : {},
|
|
2900
|
+
...typedTerminal ? { terminalResult: typedTerminal } : {}
|
|
2895
2901
|
};
|
|
2896
2902
|
appendRecord(directory, next);
|
|
2897
2903
|
maybeCompactDelegationsLocked(directory);
|
|
@@ -2952,6 +2958,7 @@ async function publishPrReviewResultReceipt(directory, input) {
|
|
|
2952
2958
|
return;
|
|
2953
2959
|
}
|
|
2954
2960
|
}
|
|
2961
|
+
const parentRepairBackfill = input.parentRepair === true && (current.status === "cancelled" || current.status === "stale" || current.status === "error") && !current.terminalResult && current.result?.workflowLaneFailureClass === "liveness" ? buildTypedDelegationTerminal(current, current.status, current.result, Date.now()) : undefined;
|
|
2955
2962
|
const owned = current.ownedWorkflowLanes?.length ? current.ownedWorkflowLanes : current.workflowLane ? [current.workflowLane] : [];
|
|
2956
2963
|
const sameOwned = owned.length === parsed.data.ownedWorkflowLanes.length && owned.every((lane) => parsed.data.ownedWorkflowLanes.includes(lane));
|
|
2957
2964
|
const dispatchWorkflowInstanceId = decodePrReviewWorkflowBinding(current.jobId);
|
|
@@ -2973,7 +2980,11 @@ async function publishPrReviewResultReceipt(directory, input) {
|
|
|
2973
2980
|
digest: createHash3("sha256").update("").digest("hex")
|
|
2974
2981
|
},
|
|
2975
2982
|
prReviewResultReceipt: parsed.data
|
|
2976
|
-
}
|
|
2983
|
+
},
|
|
2984
|
+
...parentRepairBackfill ? {
|
|
2985
|
+
terminalResult: parentRepairBackfill,
|
|
2986
|
+
completedAt: parentRepairBackfill.recordedAt
|
|
2987
|
+
} : {}
|
|
2977
2988
|
};
|
|
2978
2989
|
appendRecord(directory, next);
|
|
2979
2990
|
maybeCompactDelegationsLocked(directory);
|
|
@@ -2996,6 +3007,19 @@ function buildBackgroundCompletionEventId(input) {
|
|
|
2996
3007
|
]);
|
|
2997
3008
|
return `bgc1:${createHash3("sha256").update(canonical).digest("hex")}`;
|
|
2998
3009
|
}
|
|
3010
|
+
function buildTypedDelegationTerminal(record, status, result, now) {
|
|
3011
|
+
return {
|
|
3012
|
+
eventId: buildBackgroundCompletionEventId({
|
|
3013
|
+
correlationId: record.correlationId,
|
|
3014
|
+
jobId: record.jobId,
|
|
3015
|
+
status,
|
|
3016
|
+
resultDigest: result.digest
|
|
3017
|
+
}),
|
|
3018
|
+
status,
|
|
3019
|
+
recordedAt: now,
|
|
3020
|
+
result
|
|
3021
|
+
};
|
|
3022
|
+
}
|
|
2999
3023
|
function sameJson(left, right) {
|
|
3000
3024
|
return JSON.stringify(left) === JSON.stringify(right);
|
|
3001
3025
|
}
|
|
@@ -3815,11 +3839,15 @@ function sweepStaleLocked(directory, timeoutMs, now, statuses = DEFAULT_SWEEPABL
|
|
|
3815
3839
|
digest: createHash3("sha256").update(staleReason).digest("hex"),
|
|
3816
3840
|
workflowLaneFailureClass: "liveness"
|
|
3817
3841
|
};
|
|
3842
|
+
const staleTerminal = buildTypedDelegationTerminal(record, "stale", livenessResult, now);
|
|
3818
3843
|
appendRecord(directory, {
|
|
3819
3844
|
...record,
|
|
3845
|
+
schemaVersion: record.schemaVersion === 4 ? 4 : 3,
|
|
3820
3846
|
status: "stale",
|
|
3821
|
-
updatedAt:
|
|
3822
|
-
|
|
3847
|
+
updatedAt: Math.max(staleTerminal.recordedAt, record.updatedAt),
|
|
3848
|
+
completedAt: staleTerminal.recordedAt,
|
|
3849
|
+
result: livenessResult,
|
|
3850
|
+
terminalResult: staleTerminal
|
|
3823
3851
|
});
|
|
3824
3852
|
try {
|
|
3825
3853
|
_staleSweepObserver?.(record, "stale");
|
|
@@ -4669,7 +4697,7 @@ async function reconcileLegacyCoderSettlements(directory, maxRecords, onReconcil
|
|
|
4669
4697
|
const candidates = readDelegations(directory).filter((record) => record.normalizedAgent === "coder" && Boolean(record.legacyCoderSettlementTransfer) && Boolean(record.terminalResult)).slice(0, maxRecords);
|
|
4670
4698
|
if (candidates.length === 0)
|
|
4671
4699
|
return 0;
|
|
4672
|
-
const { transferCoderSettlementToBackground } = await import("./coder-settlement-
|
|
4700
|
+
const { transferCoderSettlementToBackground } = await import("./coder-settlement-12ytzqvs.js");
|
|
4673
4701
|
let transferred = 0;
|
|
4674
4702
|
for (const record of candidates) {
|
|
4675
4703
|
try {
|
|
@@ -5026,4 +5054,4 @@ async function maintainBackgroundDelegations(directory, options = {}) {
|
|
|
5026
5054
|
return emitObservation("ok");
|
|
5027
5055
|
}
|
|
5028
5056
|
|
|
5029
|
-
export { prReviewFindingRequiresCritic, PR_REVIEW_BASE_DIMENSION_IDS, PR_REVIEW_RISK_IMPACTS, PR_REVIEW_RISK_TAGS, prReviewLegacyTranscriptCompatibilityEnabled, PrReviewLaneResultEnvelopeSchema, decodePrReviewWorkflowBinding, prReviewLaneResultEnvelopeDigest, PrReviewResultReceiptSchema, PR_REVIEW_FINDINGS_MAX_BYTES, PR_REVIEW_HANDOFF_MAX_BYTES, PR_REVIEW_DISCARDED_EXAMPLE_ITEM_ID, PrReviewRunIdSchema, parsePrReviewRiskTagsField, PrReviewReviewerVerdictFieldsSchema, PrReviewCriticVerdictFieldsSchema, parsePrReviewVerdictRow, generatePrReviewRunId, MAX_RECOVERY_LEDGER_BYTES, readDelegationHealthArtifact, collectDelegationLedgerHealth, MAX_PR_REVIEW_COLLECTION_RECEIPT_ITEM_IDS, BACKGROUND_DELEGATIONS_FILE, BACKGROUND_DELEGATION_FALLBACK_DIR, BACKGROUND_CODER_RESERVATIONS_FILE, BACKGROUND_DELEGATIONS_CHECKPOINT_FILE, BACKGROUND_DELEGATIONS_MANIFEST_FILE, MAX_LIVE_BACKGROUND_FALLBACKS, MAX_LIVE_BACKGROUND_CODER_RESERVATIONS, MAX_BACKGROUND_OBSERVED_FILES, MAX_BACKGROUND_ADVISORY_CHARS, LEGACY_CODER_SETTLEMENT_PENDING_ADVISORY_MARKER, DELEGATION_COMPACTION_LOW_WATER_BYTES, DELEGATION_COMPACTION_HIGH_WATER_BYTES, MAX_CHECKPOINT_BYTES, MAX_CHECKPOINT_RECORDS, TOMBSTONE_MIN_AGE_MS, BACKGROUND_INGESTION_LEASE_MS, BACKGROUND_CODER_RESERVATION_LEASE_MS, BACKGROUND_CODER_RESERVATION_LEASE_MAX_MS, BACKGROUND_CODER_RESERVATION_LEASE_MIN_MS, DEFAULT_STALE_DELEGATION_TIMEOUT_MS, DEFAULT_SWEEPABLE_DELEGATION_STATUSES, _checkpointInternals, isUnsettledWorktreeOwner, compactBackgroundDelegations, DELEGATION_READ_RETRY_DELAY_MS, readDelegationsDetailed, readDelegations, scanDelegationsForRecovery, findByCorrelationIdDetailed, findByCorrelationId, recordPendingDelegationDetailed, recordPendingDelegation, buildPromptSnapshot, appendDelegationTransition, publishPrReviewResultReceipt, buildBackgroundCompletionEventId, claimTerminalResult, claimCoderSettlement, normalizeBackgroundObservedFiles, updateCoderSettlement, registerLegacyCoderSettlementReconciler, _internals, markLegacyCoderSettlementTransferPending, clearLegacyCoderSettlementTransferPending, claimDelegationIngestion, recordDelegationIngestionResult, putPendingBackgroundAdvisory, replacePendingBackgroundAdvisory, preparePendingBackgroundAdvisories, acknowledgeObservedBackgroundAdvisories, releasePreparedBackgroundAdvisories, findByBatchIdDetailed, findByBatchId, findOpenAsyncLaneBatches, isTerminalDelegationStatus, registerStaleSweepObserver, sweepStaleDelegations, readDelegationFallback, listDelegationFallbacks, scanDelegationFallbacksForRecovery, writeDelegationFallback, removeDelegationFallback, findDelegationForCompletion, promoteDelegationFallback, buildBackgroundCoderReservationId, scanBackgroundCoderReservationsForAdmission, reserveBackgroundCoderSlot, bindBackgroundCoderReservation, releaseBackgroundCoderReservation, maintainBackgroundDelegations };
|
|
5057
|
+
export { prReviewFindingRequiresCritic, PR_REVIEW_BASE_DIMENSION_IDS, PR_REVIEW_RISK_IMPACTS, PR_REVIEW_RISK_TAGS, prReviewLegacyTranscriptCompatibilityEnabled, PrReviewLaneResultEnvelopeSchema, decodePrReviewWorkflowBinding, prReviewLaneResultEnvelopeDigest, PrReviewResultReceiptSchema, PR_REVIEW_FINDINGS_MAX_BYTES, PR_REVIEW_HANDOFF_MAX_BYTES, PR_REVIEW_DISCARDED_EXAMPLE_ITEM_ID, PrReviewRunIdSchema, parsePrReviewRiskTagsField, PrReviewReviewerVerdictFieldsSchema, PrReviewCriticVerdictFieldsSchema, parsePrReviewVerdictRow, generatePrReviewRunId, MAX_RECOVERY_LEDGER_BYTES, readDelegationHealthArtifact, collectDelegationLedgerHealth, MAX_PR_REVIEW_COLLECTION_RECEIPT_ITEM_IDS, BACKGROUND_DELEGATIONS_FILE, BACKGROUND_DELEGATION_FALLBACK_DIR, BACKGROUND_CODER_RESERVATIONS_FILE, BACKGROUND_DELEGATIONS_CHECKPOINT_FILE, BACKGROUND_DELEGATIONS_MANIFEST_FILE, MAX_LIVE_BACKGROUND_FALLBACKS, MAX_LIVE_BACKGROUND_CODER_RESERVATIONS, MAX_BACKGROUND_OBSERVED_FILES, MAX_BACKGROUND_ADVISORY_CHARS, LEGACY_CODER_SETTLEMENT_PENDING_ADVISORY_MARKER, DELEGATION_COMPACTION_LOW_WATER_BYTES, DELEGATION_COMPACTION_HIGH_WATER_BYTES, MAX_CHECKPOINT_BYTES, MAX_CHECKPOINT_RECORDS, TOMBSTONE_MIN_AGE_MS, BACKGROUND_INGESTION_LEASE_MS, BACKGROUND_CODER_RESERVATION_LEASE_MS, BACKGROUND_CODER_RESERVATION_LEASE_MAX_MS, BACKGROUND_CODER_RESERVATION_LEASE_MIN_MS, DEFAULT_STALE_DELEGATION_TIMEOUT_MS, DEFAULT_SWEEPABLE_DELEGATION_STATUSES, _checkpointInternals, isUnsettledWorktreeOwner, compactBackgroundDelegations, DELEGATION_READ_RETRY_DELAY_MS, readDelegationsDetailed, readDelegations, scanDelegationsForRecovery, findByCorrelationIdDetailed, findByCorrelationId, recordPendingDelegationDetailed, recordPendingDelegation, buildPromptSnapshot, appendDelegationTransition, publishPrReviewResultReceipt, buildBackgroundCompletionEventId, buildTypedDelegationTerminal, claimTerminalResult, claimCoderSettlement, normalizeBackgroundObservedFiles, updateCoderSettlement, registerLegacyCoderSettlementReconciler, _internals, markLegacyCoderSettlementTransferPending, clearLegacyCoderSettlementTransferPending, claimDelegationIngestion, recordDelegationIngestionResult, putPendingBackgroundAdvisory, replacePendingBackgroundAdvisory, preparePendingBackgroundAdvisories, acknowledgeObservedBackgroundAdvisories, releasePreparedBackgroundAdvisories, findByBatchIdDetailed, findByBatchId, findOpenAsyncLaneBatches, isTerminalDelegationStatus, registerStaleSweepObserver, sweepStaleDelegations, readDelegationFallback, listDelegationFallbacks, scanDelegationFallbacksForRecovery, writeDelegationFallback, removeDelegationFallback, findDelegationForCompletion, promoteDelegationFallback, buildBackgroundCoderReservationId, scanBackgroundCoderReservationsForAdmission, reserveBackgroundCoderSlot, bindBackgroundCoderReservation, releaseBackgroundCoderReservation, maintainBackgroundDelegations };
|
package/dist/cli/index.js
CHANGED
|
@@ -14,70 +14,76 @@ import {
|
|
|
14
14
|
readCachePackageVersion,
|
|
15
15
|
resolveCommand,
|
|
16
16
|
safeRealpathSync
|
|
17
|
-
} from "./index-
|
|
18
|
-
import"./index-
|
|
19
|
-
import"./index-
|
|
20
|
-
import"./index-
|
|
21
|
-
import"./index-
|
|
22
|
-
import"./index-
|
|
23
|
-
import"./index-
|
|
24
|
-
import"./index-nh5fxxc9.js";
|
|
17
|
+
} from "./index-n572fdtf.js";
|
|
18
|
+
import"./index-2p1an48j.js";
|
|
19
|
+
import"./index-ryafwy2b.js";
|
|
20
|
+
import"./index-34ysgky0.js";
|
|
21
|
+
import"./index-7bxssqaf.js";
|
|
22
|
+
import"./index-mfqge140.js";
|
|
23
|
+
import"./index-jtg0zsnx.js";
|
|
25
24
|
import"./index-txdagbh7.js";
|
|
26
|
-
import"./index-
|
|
27
|
-
import"./index-6b295cas.js";
|
|
28
|
-
import"./index-jhk62dp4.js";
|
|
29
|
-
import"./index-xw8xdcrf.js";
|
|
30
|
-
import"./index-tamg9rve.js";
|
|
25
|
+
import"./index-eqfmabtd.js";
|
|
31
26
|
import"./index-rdec0y3z.js";
|
|
32
|
-
import"./index-
|
|
27
|
+
import"./index-w33zgxn6.js";
|
|
28
|
+
import"./index-s7rap90y.js";
|
|
29
|
+
import"./index-74e43s33.js";
|
|
30
|
+
import"./index-ymhs7hng.js";
|
|
31
|
+
import"./index-m1pqenq9.js";
|
|
32
|
+
import"./index-tyzmjw2s.js";
|
|
33
33
|
import"./index-cjapb4hy.js";
|
|
34
|
-
import"./index-
|
|
35
|
-
import"./index-vx0wjfc1.js";
|
|
36
|
-
import"./index-07fqfseh.js";
|
|
37
|
-
import"./index-dqpq8m9w.js";
|
|
34
|
+
import"./index-yydv4jfy.js";
|
|
38
35
|
import"./index-pt7h91zc.js";
|
|
39
36
|
import"./index-q7sjgr1y.js";
|
|
40
|
-
import"./index-
|
|
41
|
-
import"./index-
|
|
42
|
-
import"./index-
|
|
43
|
-
import"./index-
|
|
44
|
-
import"./index-
|
|
45
|
-
import"./index-
|
|
37
|
+
import"./index-5y1qxw0x.js";
|
|
38
|
+
import"./index-yvmvsej2.js";
|
|
39
|
+
import"./index-6b295cas.js";
|
|
40
|
+
import"./index-9nyqt3kb.js";
|
|
41
|
+
import"./index-cvam011t.js";
|
|
42
|
+
import"./index-zsrtt42s.js";
|
|
43
|
+
import"./index-2cbt4b7t.js";
|
|
44
|
+
import"./index-fbp7dqfe.js";
|
|
45
|
+
import"./index-rbvndg2d.js";
|
|
46
|
+
import"./index-g4fs6z4e.js";
|
|
47
|
+
import"./index-zzebc1td.js";
|
|
48
|
+
import"./index-zmtpnyff.js";
|
|
49
|
+
import"./index-dftztz4y.js";
|
|
46
50
|
import"./index-2s7dvzff.js";
|
|
47
|
-
import"./index-
|
|
48
|
-
import"./index-
|
|
51
|
+
import"./index-27wzbb3n.js";
|
|
52
|
+
import"./index-fxf3zhtq.js";
|
|
49
53
|
import"./index-rtry5xyf.js";
|
|
50
|
-
import"./index-
|
|
54
|
+
import"./index-d42kjvwy.js";
|
|
51
55
|
import"./index-frcemc0b.js";
|
|
52
56
|
import"./index-0725jpp7.js";
|
|
53
|
-
import"./index-
|
|
54
|
-
import"./index-
|
|
55
|
-
import"./index-
|
|
56
|
-
import"./index-
|
|
57
|
-
import"./index-
|
|
58
|
-
import"./index-
|
|
59
|
-
import"./index-rdm3px0g.js";
|
|
57
|
+
import"./index-5w404j07.js";
|
|
58
|
+
import"./index-azyhws0s.js";
|
|
59
|
+
import"./index-7rzgdcvc.js";
|
|
60
|
+
import"./index-7r3pkgma.js";
|
|
61
|
+
import"./index-cftva3pa.js";
|
|
62
|
+
import"./index-pwcbtbhd.js";
|
|
60
63
|
import"./index-ry16d01s.js";
|
|
61
|
-
import"./index-
|
|
62
|
-
import"./index-
|
|
64
|
+
import"./index-rdm3px0g.js";
|
|
65
|
+
import"./index-7pmbnjvj.js";
|
|
66
|
+
import"./index-yx5z4200.js";
|
|
67
|
+
import"./index-dze05t9h.js";
|
|
63
68
|
import"./index-vzm6zre7.js";
|
|
64
69
|
import"./index-ae75rja9.js";
|
|
65
|
-
import"./index-
|
|
66
|
-
import"./index-
|
|
70
|
+
import"./index-4g4sr4ah.js";
|
|
71
|
+
import"./index-2y9b45jj.js";
|
|
72
|
+
import"./index-6cjpmvpa.js";
|
|
67
73
|
import"./index-t7hmqgjy.js";
|
|
68
|
-
import"./index-
|
|
74
|
+
import"./index-w6w6ny06.js";
|
|
69
75
|
import"./index-mc72pk74.js";
|
|
70
76
|
import"./index-c1ggtmpm.js";
|
|
71
77
|
import"./index-ejhxgyvm.js";
|
|
72
78
|
import"./index-7g4c7s5r.js";
|
|
73
|
-
import"./index-
|
|
79
|
+
import"./index-bntwj2tp.js";
|
|
74
80
|
import"./index-gx2vp8gx.js";
|
|
75
|
-
import"./index-
|
|
81
|
+
import"./index-vk49btd6.js";
|
|
76
82
|
import"./index-zxdawwc7.js";
|
|
77
83
|
import {
|
|
78
84
|
init_package,
|
|
79
85
|
package_default
|
|
80
|
-
} from "./index-
|
|
86
|
+
} from "./index-39ng38sp.js";
|
|
81
87
|
import {
|
|
82
88
|
DEFAULT_AGENT_CONFIGS,
|
|
83
89
|
init_constants
|
|
@@ -903,7 +909,7 @@ async function main() {
|
|
|
903
909
|
const exitCode = await run(["ci", ...args.slice(1)]);
|
|
904
910
|
process.exit(exitCode);
|
|
905
911
|
} else if (command === "mcp") {
|
|
906
|
-
const { handleMcpCommand } = await import("./mcp-
|
|
912
|
+
const { handleMcpCommand } = await import("./mcp-x25b3q1g.js");
|
|
907
913
|
const exitCode = await handleMcpCommand(args.slice(1));
|
|
908
914
|
process.exit(exitCode);
|
|
909
915
|
} else {
|
|
@@ -9,30 +9,31 @@ import {
|
|
|
9
9
|
maybeEscalateOnViolation,
|
|
10
10
|
maybeQuarantineOnContradiction,
|
|
11
11
|
readRecentEscalations
|
|
12
|
-
} from "./index-
|
|
13
|
-
import"./index-
|
|
14
|
-
import"./index-
|
|
12
|
+
} from "./index-ymhs7hng.js";
|
|
13
|
+
import"./index-zmtpnyff.js";
|
|
14
|
+
import"./index-dftztz4y.js";
|
|
15
15
|
import"./index-2s7dvzff.js";
|
|
16
|
-
import"./index-
|
|
16
|
+
import"./index-d42kjvwy.js";
|
|
17
17
|
import"./index-frcemc0b.js";
|
|
18
18
|
import"./index-0725jpp7.js";
|
|
19
|
-
import"./index-
|
|
20
|
-
import"./index-
|
|
19
|
+
import"./index-yx5z4200.js";
|
|
20
|
+
import"./index-dze05t9h.js";
|
|
21
21
|
import"./index-vzm6zre7.js";
|
|
22
22
|
import"./index-ae75rja9.js";
|
|
23
|
-
import"./index-
|
|
24
|
-
import"./index-
|
|
23
|
+
import"./index-4g4sr4ah.js";
|
|
24
|
+
import"./index-2y9b45jj.js";
|
|
25
|
+
import"./index-6cjpmvpa.js";
|
|
25
26
|
import"./index-t7hmqgjy.js";
|
|
26
|
-
import"./index-
|
|
27
|
+
import"./index-w6w6ny06.js";
|
|
27
28
|
import"./index-mc72pk74.js";
|
|
28
29
|
import"./index-c1ggtmpm.js";
|
|
29
30
|
import"./index-ejhxgyvm.js";
|
|
30
31
|
import"./index-7g4c7s5r.js";
|
|
31
|
-
import"./index-
|
|
32
|
+
import"./index-bntwj2tp.js";
|
|
32
33
|
import"./index-gx2vp8gx.js";
|
|
33
|
-
import"./index-
|
|
34
|
+
import"./index-vk49btd6.js";
|
|
34
35
|
import"./index-zxdawwc7.js";
|
|
35
|
-
import"./index-
|
|
36
|
+
import"./index-39ng38sp.js";
|
|
36
37
|
import"./index-48jvqqfa.js";
|
|
37
38
|
import"./index-bk5tah7q.js";
|
|
38
39
|
import"./index-gknz3bv1.js";
|
|
@@ -29,27 +29,28 @@ import {
|
|
|
29
29
|
resolveKnowledgeCounterBaselinePath,
|
|
30
30
|
resolveKnowledgeEventsPath,
|
|
31
31
|
resolveLegacyApplicationLogPath
|
|
32
|
-
} from "./index-
|
|
33
|
-
import"./index-
|
|
32
|
+
} from "./index-zmtpnyff.js";
|
|
33
|
+
import"./index-dftztz4y.js";
|
|
34
34
|
import"./index-2s7dvzff.js";
|
|
35
|
-
import"./index-
|
|
35
|
+
import"./index-d42kjvwy.js";
|
|
36
36
|
import"./index-frcemc0b.js";
|
|
37
37
|
import"./index-0725jpp7.js";
|
|
38
|
-
import"./index-
|
|
38
|
+
import"./index-yx5z4200.js";
|
|
39
39
|
import"./index-ae75rja9.js";
|
|
40
|
-
import"./index-
|
|
41
|
-
import"./index-
|
|
40
|
+
import"./index-4g4sr4ah.js";
|
|
41
|
+
import"./index-2y9b45jj.js";
|
|
42
|
+
import"./index-6cjpmvpa.js";
|
|
42
43
|
import"./index-t7hmqgjy.js";
|
|
43
|
-
import"./index-
|
|
44
|
+
import"./index-w6w6ny06.js";
|
|
44
45
|
import"./index-mc72pk74.js";
|
|
45
46
|
import"./index-c1ggtmpm.js";
|
|
46
47
|
import"./index-ejhxgyvm.js";
|
|
47
48
|
import"./index-7g4c7s5r.js";
|
|
48
|
-
import"./index-
|
|
49
|
+
import"./index-bntwj2tp.js";
|
|
49
50
|
import"./index-gx2vp8gx.js";
|
|
50
|
-
import"./index-
|
|
51
|
+
import"./index-vk49btd6.js";
|
|
51
52
|
import"./index-zxdawwc7.js";
|
|
52
|
-
import"./index-
|
|
53
|
+
import"./index-39ng38sp.js";
|
|
53
54
|
import"./index-48jvqqfa.js";
|
|
54
55
|
import"./index-bk5tah7q.js";
|
|
55
56
|
import"./index-gknz3bv1.js";
|
|
@@ -12,15 +12,16 @@ import {
|
|
|
12
12
|
resolveLinkDir,
|
|
13
13
|
sanitizeLinkId,
|
|
14
14
|
writeLinkPointer
|
|
15
|
-
} from "./index-
|
|
16
|
-
import"./index-
|
|
15
|
+
} from "./index-4g4sr4ah.js";
|
|
16
|
+
import"./index-2y9b45jj.js";
|
|
17
|
+
import"./index-6cjpmvpa.js";
|
|
17
18
|
import"./index-t7hmqgjy.js";
|
|
18
|
-
import"./index-
|
|
19
|
+
import"./index-w6w6ny06.js";
|
|
19
20
|
import"./index-mc72pk74.js";
|
|
20
21
|
import"./index-c1ggtmpm.js";
|
|
21
22
|
import"./index-ejhxgyvm.js";
|
|
22
23
|
import"./index-7g4c7s5r.js";
|
|
23
|
-
import"./index-
|
|
24
|
+
import"./index-bntwj2tp.js";
|
|
24
25
|
import"./index-gknz3bv1.js";
|
|
25
26
|
import"./index-zpsr8rpc.js";
|
|
26
27
|
import"./index-zgwm4ryv.js";
|
|
@@ -43,20 +43,21 @@ import {
|
|
|
43
43
|
transactKnowledge,
|
|
44
44
|
transactKnowledgeWithCas,
|
|
45
45
|
wordBigrams
|
|
46
|
-
} from "./index-
|
|
46
|
+
} from "./index-dze05t9h.js";
|
|
47
47
|
import"./index-vzm6zre7.js";
|
|
48
48
|
import {
|
|
49
49
|
resolveHiveDataDir
|
|
50
50
|
} from "./index-ae75rja9.js";
|
|
51
|
-
import"./index-
|
|
52
|
-
import"./index-
|
|
51
|
+
import"./index-4g4sr4ah.js";
|
|
52
|
+
import"./index-2y9b45jj.js";
|
|
53
|
+
import"./index-6cjpmvpa.js";
|
|
53
54
|
import"./index-t7hmqgjy.js";
|
|
54
|
-
import"./index-
|
|
55
|
+
import"./index-w6w6ny06.js";
|
|
55
56
|
import"./index-mc72pk74.js";
|
|
56
57
|
import"./index-c1ggtmpm.js";
|
|
57
58
|
import"./index-ejhxgyvm.js";
|
|
58
59
|
import"./index-7g4c7s5r.js";
|
|
59
|
-
import"./index-
|
|
60
|
+
import"./index-bntwj2tp.js";
|
|
60
61
|
import"./index-bk5tah7q.js";
|
|
61
62
|
import"./index-gknz3bv1.js";
|
|
62
63
|
import"./index-zpsr8rpc.js";
|
|
@@ -23,21 +23,22 @@ import {
|
|
|
23
23
|
validateLesson,
|
|
24
24
|
validateSkillCandidatePath,
|
|
25
25
|
validateSkillPath
|
|
26
|
-
} from "./index-
|
|
27
|
-
import"./index-
|
|
26
|
+
} from "./index-27wzbb3n.js";
|
|
27
|
+
import"./index-fxf3zhtq.js";
|
|
28
28
|
import"./index-rtry5xyf.js";
|
|
29
|
-
import"./index-
|
|
29
|
+
import"./index-dze05t9h.js";
|
|
30
30
|
import"./index-vzm6zre7.js";
|
|
31
31
|
import"./index-ae75rja9.js";
|
|
32
|
-
import"./index-
|
|
33
|
-
import"./index-
|
|
32
|
+
import"./index-4g4sr4ah.js";
|
|
33
|
+
import"./index-2y9b45jj.js";
|
|
34
|
+
import"./index-6cjpmvpa.js";
|
|
34
35
|
import"./index-t7hmqgjy.js";
|
|
35
|
-
import"./index-
|
|
36
|
+
import"./index-w6w6ny06.js";
|
|
36
37
|
import"./index-mc72pk74.js";
|
|
37
38
|
import"./index-c1ggtmpm.js";
|
|
38
39
|
import"./index-ejhxgyvm.js";
|
|
39
40
|
import"./index-7g4c7s5r.js";
|
|
40
|
-
import"./index-
|
|
41
|
+
import"./index-bntwj2tp.js";
|
|
41
42
|
import"./index-bk5tah7q.js";
|
|
42
43
|
import"./index-gknz3bv1.js";
|
|
43
44
|
import"./index-zpsr8rpc.js";
|
|
@@ -95,7 +95,7 @@ function resolveMcpRoot(input) {
|
|
|
95
95
|
}
|
|
96
96
|
var _internals = {
|
|
97
97
|
runMcpServer: async (options) => {
|
|
98
|
-
const { runMcpServer } = await import("./server-
|
|
98
|
+
const { runMcpServer } = await import("./server-ws1my2dz.js");
|
|
99
99
|
return runMcpServer(options);
|
|
100
100
|
}
|
|
101
101
|
};
|