opencode-swarm 7.143.4 → 7.143.6
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-pr-review/SKILL.md +5 -5
- package/.opencode/skills/swarm-pr-review/references/lane-output-recoverability.md +129 -0
- package/dist/background/pending-delegations.d.ts +42 -1
- package/dist/background/pr-review-trigger-contract.d.ts +17 -0
- package/dist/cli/{config-doctor-az6nqawx.js → config-doctor-72zp0k4x.js} +2 -2
- package/dist/cli/{core-a6rzajem.js → core-aj0wmbg8.js} +1 -1
- package/dist/cli/{curator-tbw9przg.js → curator-2gt2835v.js} +18 -18
- package/dist/cli/{curator-llm-factory-j42j5rcr.js → curator-llm-factory-x1vjhrnc.js} +18 -18
- package/dist/cli/{evidence-summary-service-3f319cst.js → evidence-summary-service-yjr0662r.js} +6 -6
- package/dist/cli/{gate-evidence-k2yycngf.js → gate-evidence-r3c7eqpz.js} +2 -2
- package/dist/cli/{guardrail-explain-tsgsw91f.js → guardrail-explain-f3zysesy.js} +19 -19
- package/dist/cli/{guardrail-log-70cxb3va.js → guardrail-log-eat71fnh.js} +3 -3
- package/dist/cli/{hive-promoter-nksqxfs4.js → hive-promoter-fyb40am9.js} +18 -18
- package/dist/cli/{index-19wyta2k.js → index-02nm8qhk.js} +3 -3
- package/dist/cli/{index-8fq18k02.js → index-0adcjpyx.js} +3 -3
- package/dist/cli/{index-f39n8pbr.js → index-36vry26a.js} +1 -1
- package/dist/cli/{index-gz3z9d64.js → index-5d8ydxae.js} +399 -77
- package/dist/cli/{index-8aabbfhv.js → index-6vmazy9f.js} +8 -5
- package/dist/cli/{index-bt47jrhx.js → index-72zhsqgy.js} +2 -2
- package/dist/cli/{index-z4g05zbr.js → index-7bs015gm.js} +1 -1
- package/dist/cli/{index-dmtq7tvd.js → index-92bm9ys3.js} +1 -1
- package/dist/cli/{index-td2ga37v.js → index-bbv64s17.js} +1 -1
- package/dist/cli/{index-mewk624g.js → index-dtf2va28.js} +20 -20
- package/dist/cli/{index-jmgm1npc.js → index-fn0k0vsa.js} +1 -1
- package/dist/cli/{index-z0j133c4.js → index-gzxz0s50.js} +1 -1
- package/dist/cli/{index-8qmnqd6g.js → index-hjy4txgr.js} +1 -1
- package/dist/cli/{index-seedt8m3.js → index-kc2x117y.js} +3 -3
- package/dist/cli/{index-6htwcbxh.js → index-nd1j9wkw.js} +1 -1
- package/dist/cli/{index-9m5gz9ea.js → index-peqmw3wr.js} +2 -2
- package/dist/cli/{index-gbr0jbxy.js → index-s7nb33pc.js} +1 -1
- package/dist/cli/{index-f3xf9dv5.js → index-scj2asek.js} +5 -5
- package/dist/cli/{index-c9d5y70c.js → index-w1q9yy1e.js} +3 -3
- package/dist/cli/{index-ja15rdzd.js → index-whyrhjsk.js} +1 -1
- package/dist/cli/{index-5qqyvwqw.js → index-wjk00vwk.js} +4 -4
- package/dist/cli/{index-v9qmhrj9.js → index-z4cv77tq.js} +2 -2
- package/dist/cli/index.js +18 -18
- package/dist/cli/{knowledge-escalator-8akk4n18.js → knowledge-escalator-ejpyrby0.js} +6 -6
- package/dist/cli/{knowledge-events-51qk8fq2.js → knowledge-events-yw2kydyy.js} +4 -4
- package/dist/cli/{knowledge-store-7rsezhav.js → knowledge-store-j6gkk62e.js} +1 -1
- package/dist/cli/{knowledge-validator-nq75s9et.js → knowledge-validator-xervpe5k.js} +2 -2
- package/dist/cli/{pending-delegations-b3pt3w5w.js → pending-delegations-19wg9j08.js} +5 -1
- package/dist/cli/{scan-cursor-em4vrcw6.js → scan-cursor-x7a99wmq.js} +2 -2
- package/dist/cli/{schema-1wmfgtm9.js → schema-z141arx9.js} +1 -1
- package/dist/cli/{scope-persistence-8ehnjgsg.js → scope-persistence-js90c1f4.js} +4 -4
- package/dist/cli/{skill-generator-3jstr1sx.js → skill-generator-t202jza0.js} +7 -7
- package/dist/cli/{worktree-collision-ownership-bfz3drxm.js → worktree-collision-ownership-42bb3gcb.js} +1 -1
- package/dist/cli/{worktree-isolation-cc3x13ng.js → worktree-isolation-fbfvxw9a.js} +18 -18
- package/dist/hooks/pr-workflow-gate.d.ts +135 -1
- package/dist/index.js +20 -18
- package/dist/tools/complete-pr-workflow.d.ts +3 -1
- package/dist/tools/pr-workflow-status.d.ts +2 -2
- package/dist/tools/write-pr-review-trigger-eval.d.ts +2 -1
- package/package.json +1 -1
|
@@ -41,6 +41,8 @@ var RESERVATION_LOCK_TASK = "background-coder-reservations";
|
|
|
41
41
|
var ADVISORY_PREPARE_LEASE_MS = 30000;
|
|
42
42
|
var INGESTION_CLAIM_LEASE_MS = 30000;
|
|
43
43
|
var BACKGROUND_INGESTION_LEASE_MS = 30000;
|
|
44
|
+
var DEFAULT_STALE_DELEGATION_TIMEOUT_MS = 30 * 60000;
|
|
45
|
+
var DEFAULT_SWEEPABLE_DELEGATION_STATUSES = new Set(["pending", "running", "ingestion_error"]);
|
|
44
46
|
var ResultSchema = exports_external.object({
|
|
45
47
|
text: exports_external.string().optional(),
|
|
46
48
|
error: exports_external.string().optional(),
|
|
@@ -1065,10 +1067,10 @@ function findOpenAsyncLaneBatches(directory) {
|
|
|
1065
1067
|
function isTerminal(status) {
|
|
1066
1068
|
return status === "completed" || status === "error" || status === "cancelled" || status === "stale" || status === "consumed";
|
|
1067
1069
|
}
|
|
1068
|
-
function sweepStaleLocked(directory, timeoutMs, now) {
|
|
1070
|
+
function sweepStaleLocked(directory, timeoutMs, now, statuses = DEFAULT_SWEEPABLE_DELEGATION_STATUSES) {
|
|
1069
1071
|
let swept = 0;
|
|
1070
1072
|
for (const record of readDelegations(directory)) {
|
|
1071
|
-
if (
|
|
1073
|
+
if (!statuses.has(record.status))
|
|
1072
1074
|
continue;
|
|
1073
1075
|
if (now - record.updatedAt <= timeoutMs)
|
|
1074
1076
|
continue;
|
|
@@ -1081,11 +1083,12 @@ function sweepStaleLocked(directory, timeoutMs, now) {
|
|
|
1081
1083
|
}
|
|
1082
1084
|
return swept;
|
|
1083
1085
|
}
|
|
1084
|
-
async function sweepStaleDelegations(directory, timeoutMs) {
|
|
1086
|
+
async function sweepStaleDelegations(directory, timeoutMs, options = {}) {
|
|
1085
1087
|
if (!timeoutMs || timeoutMs <= 0)
|
|
1086
1088
|
return 0;
|
|
1089
|
+
const statuses = options.statuses ?? DEFAULT_SWEEPABLE_DELEGATION_STATUSES;
|
|
1087
1090
|
try {
|
|
1088
|
-
return await withEvidenceLock(directory, BACKGROUND_DELEGATIONS_FILE, STORE_LOCK_AGENT, STORE_LOCK_TASK, async () => sweepStaleLocked(directory, timeoutMs, Date.now()));
|
|
1091
|
+
return await withEvidenceLock(directory, BACKGROUND_DELEGATIONS_FILE, STORE_LOCK_AGENT, STORE_LOCK_TASK, async () => sweepStaleLocked(directory, timeoutMs, Date.now(), statuses));
|
|
1089
1092
|
} catch (err) {
|
|
1090
1093
|
warn(`[background] sweepStaleDelegations failed: ${err instanceof Error ? err.message : String(err)}`);
|
|
1091
1094
|
return 0;
|
|
@@ -1674,4 +1677,4 @@ async function releaseBackgroundCoderReservation(directory, input) {
|
|
|
1674
1677
|
}
|
|
1675
1678
|
}
|
|
1676
1679
|
|
|
1677
|
-
export { BACKGROUND_DELEGATIONS_FILE, BACKGROUND_DELEGATION_FALLBACK_DIR, BACKGROUND_CODER_RESERVATIONS_FILE, MAX_LIVE_BACKGROUND_FALLBACKS, MAX_LIVE_BACKGROUND_CODER_RESERVATIONS, MAX_BACKGROUND_OBSERVED_FILES, MAX_BACKGROUND_ADVISORY_CHARS, BACKGROUND_INGESTION_LEASE_MS, readDelegations, scanDelegationsForRecovery, findByCorrelationId, recordPendingDelegationDetailed, recordPendingDelegation, buildPromptSnapshot, appendDelegationTransition, buildBackgroundCompletionEventId, claimTerminalResult, claimCoderSettlement, normalizeBackgroundObservedFiles, updateCoderSettlement, claimDelegationIngestion, recordDelegationIngestionResult, putPendingBackgroundAdvisory, preparePendingBackgroundAdvisories, acknowledgeObservedBackgroundAdvisories, releasePreparedBackgroundAdvisories, findByBatchId, findOpenAsyncLaneBatches, sweepStaleDelegations, readDelegationFallback, listDelegationFallbacks, scanDelegationFallbacksForRecovery, writeDelegationFallback, removeDelegationFallback, findDelegationForCompletion, promoteDelegationFallback, buildBackgroundCoderReservationId, scanBackgroundCoderReservationsForAdmission, reserveBackgroundCoderSlot, bindBackgroundCoderReservation, releaseBackgroundCoderReservation };
|
|
1680
|
+
export { BACKGROUND_DELEGATIONS_FILE, BACKGROUND_DELEGATION_FALLBACK_DIR, BACKGROUND_CODER_RESERVATIONS_FILE, MAX_LIVE_BACKGROUND_FALLBACKS, MAX_LIVE_BACKGROUND_CODER_RESERVATIONS, MAX_BACKGROUND_OBSERVED_FILES, MAX_BACKGROUND_ADVISORY_CHARS, BACKGROUND_INGESTION_LEASE_MS, DEFAULT_STALE_DELEGATION_TIMEOUT_MS, DEFAULT_SWEEPABLE_DELEGATION_STATUSES, readDelegations, scanDelegationsForRecovery, findByCorrelationId, recordPendingDelegationDetailed, recordPendingDelegation, buildPromptSnapshot, appendDelegationTransition, buildBackgroundCompletionEventId, claimTerminalResult, claimCoderSettlement, normalizeBackgroundObservedFiles, updateCoderSettlement, claimDelegationIngestion, recordDelegationIngestionResult, putPendingBackgroundAdvisory, preparePendingBackgroundAdvisories, acknowledgeObservedBackgroundAdvisories, releasePreparedBackgroundAdvisories, findByBatchId, findOpenAsyncLaneBatches, sweepStaleDelegations, readDelegationFallback, listDelegationFallbacks, scanDelegationFallbacksForRecovery, writeDelegationFallback, removeDelegationFallback, findDelegationForCompletion, promoteDelegationFallback, buildBackgroundCoderReservationId, scanBackgroundCoderReservationsForAdmission, reserveBackgroundCoderSlot, bindBackgroundCoderReservation, releaseBackgroundCoderReservation };
|
|
@@ -12,14 +12,14 @@ import {
|
|
|
12
12
|
detectPosixWrites,
|
|
13
13
|
detectWindowsWrites,
|
|
14
14
|
resolveWriteTargets
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-5d8ydxae.js";
|
|
16
16
|
import {
|
|
17
17
|
checkFileAuthority,
|
|
18
18
|
classifyFile,
|
|
19
19
|
isInDeclaredScope,
|
|
20
20
|
redactPath,
|
|
21
21
|
redactShellCommand
|
|
22
|
-
} from "./index-
|
|
22
|
+
} from "./index-nd1j9wkw.js";
|
|
23
23
|
|
|
24
24
|
// src/services/guardrail-explain-service.ts
|
|
25
25
|
import path from "path";
|
|
@@ -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.143.
|
|
24
|
+
version: "7.143.6",
|
|
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",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
handleGuardrailExplain
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-72zhsqgy.js";
|
|
5
5
|
import {
|
|
6
6
|
handleGuardrailLog
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-fn0k0vsa.js";
|
|
8
8
|
import {
|
|
9
9
|
COMMAND_REGISTRY,
|
|
10
10
|
SWARM_COMMAND_TOOL_ALLOWLIST,
|
|
@@ -84,44 +84,44 @@ import {
|
|
|
84
84
|
handleWriteRetroCommand,
|
|
85
85
|
normalizeSwarmCommandInput,
|
|
86
86
|
resolveCommand
|
|
87
|
-
} from "./index-
|
|
88
|
-
import"./index-
|
|
89
|
-
import"./index-
|
|
90
|
-
import"./index-
|
|
87
|
+
} from "./index-5d8ydxae.js";
|
|
88
|
+
import"./index-nd1j9wkw.js";
|
|
89
|
+
import"./index-whyrhjsk.js";
|
|
90
|
+
import"./index-w1q9yy1e.js";
|
|
91
91
|
import"./index-134d35c1.js";
|
|
92
92
|
import"./index-b6e016tv.js";
|
|
93
93
|
import"./index-4q9vfav6.js";
|
|
94
94
|
import"./index-k92cagmt.js";
|
|
95
95
|
import"./index-y8552snf.js";
|
|
96
|
-
import"./index-
|
|
96
|
+
import"./index-92bm9ys3.js";
|
|
97
97
|
import"./index-xmzmeknp.js";
|
|
98
98
|
import"./index-c8s9a3zh.js";
|
|
99
99
|
import"./index-9ss2m4rs.js";
|
|
100
|
-
import"./index-
|
|
100
|
+
import"./index-bbv64s17.js";
|
|
101
101
|
import"./index-74hpm6sh.js";
|
|
102
|
-
import"./index-
|
|
103
|
-
import"./index-
|
|
104
|
-
import"./index-
|
|
105
|
-
import"./index-
|
|
102
|
+
import"./index-02nm8qhk.js";
|
|
103
|
+
import"./index-scj2asek.js";
|
|
104
|
+
import"./index-z4cv77tq.js";
|
|
105
|
+
import"./index-hjy4txgr.js";
|
|
106
106
|
import"./index-556ja8an.js";
|
|
107
107
|
import"./index-gdd4jt6b.js";
|
|
108
108
|
import"./index-zsrtt42s.js";
|
|
109
109
|
import"./index-k3cxyk66.js";
|
|
110
|
-
import"./index-
|
|
111
|
-
import"./index-
|
|
110
|
+
import"./index-6vmazy9f.js";
|
|
111
|
+
import"./index-s7nb33pc.js";
|
|
112
112
|
import"./index-8fwhhayc.js";
|
|
113
113
|
import"./index-q1exe2b3.js";
|
|
114
114
|
import"./index-7sy3aa9m.js";
|
|
115
115
|
import"./index-4905hd2m.js";
|
|
116
|
-
import"./index-
|
|
117
|
-
import"./index-
|
|
116
|
+
import"./index-0adcjpyx.js";
|
|
117
|
+
import"./index-peqmw3wr.js";
|
|
118
118
|
import"./index-gprxjmm7.js";
|
|
119
119
|
import"./index-n832052r.js";
|
|
120
|
-
import"./index-
|
|
120
|
+
import"./index-36vry26a.js";
|
|
121
121
|
import {
|
|
122
122
|
init_schema,
|
|
123
123
|
stripKnownSwarmPrefix
|
|
124
|
-
} from "./index-
|
|
124
|
+
} from "./index-7bs015gm.js";
|
|
125
125
|
import"./index-rn0eq85g.js";
|
|
126
126
|
import"./index-4rhhvd1a.js";
|
|
127
127
|
import {
|
|
@@ -131,10 +131,10 @@ import {
|
|
|
131
131
|
} from "./index-jqsfsqbx.js";
|
|
132
132
|
import"./index-z6xqpmqg.js";
|
|
133
133
|
import"./index-zjygnfay.js";
|
|
134
|
-
import"./index-
|
|
134
|
+
import"./index-gzxz0s50.js";
|
|
135
135
|
import"./index-tq5s07ta.js";
|
|
136
136
|
import"./index-rtry5xyf.js";
|
|
137
|
-
import"./index-
|
|
137
|
+
import"./index-wjk00vwk.js";
|
|
138
138
|
import"./index-ae75rja9.js";
|
|
139
139
|
import"./index-w7x7qxz2.js";
|
|
140
140
|
import"./index-erfnw81g.js";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
_internals,
|
|
4
4
|
resolveWorktreeIsolationConfig
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-peqmw3wr.js";
|
|
6
6
|
import {
|
|
7
7
|
ApprovalEvidenceSchema,
|
|
8
8
|
BaseEvidenceSchema,
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
loadPluginConfig,
|
|
43
43
|
loadPluginConfigWithMeta,
|
|
44
44
|
loadPluginConfigWithMetaAsync
|
|
45
|
-
} from "./index-
|
|
45
|
+
} from "./index-36vry26a.js";
|
|
46
46
|
import {
|
|
47
47
|
AUTO_REVIEW_V8_BURN_IN_DECISION,
|
|
48
48
|
AgentOverrideConfigSchema,
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
TurboConfigSchema,
|
|
65
65
|
WorktreeIsolationConfigSchema,
|
|
66
66
|
resolveAutoReviewConfig
|
|
67
|
-
} from "./index-
|
|
67
|
+
} from "./index-7bs015gm.js";
|
|
68
68
|
import"./index-4rhhvd1a.js";
|
|
69
69
|
import {
|
|
70
70
|
ALL_AGENT_NAMES,
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
init_loader,
|
|
4
4
|
loadPluginConfigWithMeta
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-36vry26a.js";
|
|
6
6
|
import {
|
|
7
7
|
init_schema
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-7bs015gm.js";
|
|
9
9
|
import {
|
|
10
10
|
DEFAULT_WORKTREE_ISOLATION_CONFIG,
|
|
11
11
|
init_constants
|
|
@@ -86,7 +86,7 @@ var _internals = {
|
|
|
86
86
|
symlinkSync: fs.symlinkSync
|
|
87
87
|
},
|
|
88
88
|
writeScopeToDisk: async (directory, taskId, files) => {
|
|
89
|
-
const { writeScopeToDisk: realWrite } = await import("./scope-persistence-
|
|
89
|
+
const { writeScopeToDisk: realWrite } = await import("./scope-persistence-js90c1f4.js");
|
|
90
90
|
return realWrite(directory, taskId, files);
|
|
91
91
|
},
|
|
92
92
|
writeLaneProfileToDisk: async (_worktreePath, _laneIndex, _envOverrides) => {
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
queryHistoricalOutcomes,
|
|
4
4
|
readKnowledgeEvents,
|
|
5
5
|
recordKnowledgeEvent
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-0adcjpyx.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-wjk00vwk.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-xervpe5k.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-z141arx9.js");
|
|
231
|
+
const { loadPluginConfigWithMeta } = await import("./index-kc2x117y.js");
|
|
232
232
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
233
233
|
policyConfig = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
234
234
|
} catch {
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
readTaskEvidence,
|
|
16
16
|
readTaskEvidenceRaw,
|
|
17
17
|
sanitizeTaskId
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-bbv64s17.js";
|
|
19
19
|
import {
|
|
20
20
|
LedgerStaleWriterError,
|
|
21
21
|
appendLedgerEvent,
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
replayFromLedgerWithStatus,
|
|
36
36
|
takeSnapshotEvent,
|
|
37
37
|
takeSnapshotWithRetry
|
|
38
|
-
} from "./index-
|
|
38
|
+
} from "./index-hjy4txgr.js";
|
|
39
39
|
import {
|
|
40
40
|
getWorktreeMergeFailure
|
|
41
41
|
} from "./index-zsrtt42s.js";
|
|
@@ -53,7 +53,7 @@ import {
|
|
|
53
53
|
} from "./index-gprxjmm7.js";
|
|
54
54
|
import {
|
|
55
55
|
PlanSchema
|
|
56
|
-
} from "./index-
|
|
56
|
+
} from "./index-36vry26a.js";
|
|
57
57
|
import {
|
|
58
58
|
readSwarmFileAsync,
|
|
59
59
|
validateSwarmPath
|
|
@@ -709,7 +709,7 @@ async function applyConfidenceFloorAction(directory, touched, options) {
|
|
|
709
709
|
const {
|
|
710
710
|
readAuthoritativeKnowledgeCounterRollups,
|
|
711
711
|
effectiveRetrievalOutcomes
|
|
712
|
-
} = await import("./knowledge-events-
|
|
712
|
+
} = await import("./knowledge-events-yw2kydyy.js");
|
|
713
713
|
const rollups = await readAuthoritativeKnowledgeCounterRollups(directory);
|
|
714
714
|
const flagIds = new Set;
|
|
715
715
|
for (const e of atFloor) {
|
|
@@ -776,11 +776,11 @@ async function applyConfidenceFloorAction(directory, touched, options) {
|
|
|
776
776
|
});
|
|
777
777
|
}
|
|
778
778
|
if (action === "quarantine" && toQuarantine.length > 0) {
|
|
779
|
-
const { quarantineEntry } = await import("./knowledge-validator-
|
|
780
|
-
const { KnowledgeConfigSchema } = await import("./schema-
|
|
779
|
+
const { quarantineEntry } = await import("./knowledge-validator-xervpe5k.js");
|
|
780
|
+
const { KnowledgeConfigSchema } = await import("./schema-z141arx9.js");
|
|
781
781
|
let config;
|
|
782
782
|
try {
|
|
783
|
-
const { loadPluginConfigWithMeta } = await import("./index-
|
|
783
|
+
const { loadPluginConfigWithMeta } = await import("./index-kc2x117y.js");
|
|
784
784
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
785
785
|
config = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
786
786
|
} catch {
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
import {
|
|
3
3
|
computePlanStructureHash,
|
|
4
4
|
derivePlanId
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-hjy4txgr.js";
|
|
6
6
|
import {
|
|
7
7
|
unsafePathTextReason
|
|
8
8
|
} from "./index-556ja8an.js";
|
|
9
9
|
import {
|
|
10
10
|
PlanSchema
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-36vry26a.js";
|
|
12
12
|
import {
|
|
13
13
|
assertProjectRoot
|
|
14
14
|
} from "./index-k31en0ja.js";
|
package/dist/cli/index.js
CHANGED
|
@@ -7,44 +7,44 @@ import {
|
|
|
7
7
|
getPluginConfigDir,
|
|
8
8
|
getPluginLockFilePaths,
|
|
9
9
|
resolveCommand
|
|
10
|
-
} from "./index-
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
10
|
+
} from "./index-5d8ydxae.js";
|
|
11
|
+
import"./index-nd1j9wkw.js";
|
|
12
|
+
import"./index-whyrhjsk.js";
|
|
13
|
+
import"./index-w1q9yy1e.js";
|
|
14
14
|
import"./index-134d35c1.js";
|
|
15
15
|
import"./index-b6e016tv.js";
|
|
16
16
|
import"./index-4q9vfav6.js";
|
|
17
17
|
import"./index-k92cagmt.js";
|
|
18
18
|
import"./index-y8552snf.js";
|
|
19
|
-
import"./index-
|
|
19
|
+
import"./index-92bm9ys3.js";
|
|
20
20
|
import"./index-xmzmeknp.js";
|
|
21
21
|
import"./index-c8s9a3zh.js";
|
|
22
22
|
import"./index-9ss2m4rs.js";
|
|
23
|
-
import"./index-
|
|
23
|
+
import"./index-bbv64s17.js";
|
|
24
24
|
import"./index-74hpm6sh.js";
|
|
25
|
-
import"./index-
|
|
26
|
-
import"./index-
|
|
27
|
-
import"./index-
|
|
28
|
-
import"./index-
|
|
25
|
+
import"./index-02nm8qhk.js";
|
|
26
|
+
import"./index-scj2asek.js";
|
|
27
|
+
import"./index-z4cv77tq.js";
|
|
28
|
+
import"./index-hjy4txgr.js";
|
|
29
29
|
import"./index-556ja8an.js";
|
|
30
30
|
import"./index-gdd4jt6b.js";
|
|
31
31
|
import"./index-zsrtt42s.js";
|
|
32
32
|
import"./index-k3cxyk66.js";
|
|
33
|
-
import"./index-
|
|
34
|
-
import"./index-
|
|
33
|
+
import"./index-6vmazy9f.js";
|
|
34
|
+
import"./index-s7nb33pc.js";
|
|
35
35
|
import"./index-8fwhhayc.js";
|
|
36
36
|
import"./index-q1exe2b3.js";
|
|
37
37
|
import"./index-7sy3aa9m.js";
|
|
38
38
|
import"./index-4905hd2m.js";
|
|
39
|
-
import"./index-
|
|
40
|
-
import"./index-
|
|
39
|
+
import"./index-0adcjpyx.js";
|
|
40
|
+
import"./index-peqmw3wr.js";
|
|
41
41
|
import"./index-gprxjmm7.js";
|
|
42
42
|
import"./index-n832052r.js";
|
|
43
|
-
import"./index-
|
|
43
|
+
import"./index-36vry26a.js";
|
|
44
44
|
import {
|
|
45
45
|
init_package,
|
|
46
46
|
package_default
|
|
47
|
-
} from "./index-
|
|
47
|
+
} from "./index-7bs015gm.js";
|
|
48
48
|
import"./index-rn0eq85g.js";
|
|
49
49
|
import"./index-4rhhvd1a.js";
|
|
50
50
|
import {
|
|
@@ -53,10 +53,10 @@ import {
|
|
|
53
53
|
} from "./index-jqsfsqbx.js";
|
|
54
54
|
import"./index-z6xqpmqg.js";
|
|
55
55
|
import"./index-zjygnfay.js";
|
|
56
|
-
import"./index-
|
|
56
|
+
import"./index-gzxz0s50.js";
|
|
57
57
|
import"./index-tq5s07ta.js";
|
|
58
58
|
import"./index-rtry5xyf.js";
|
|
59
|
-
import"./index-
|
|
59
|
+
import"./index-wjk00vwk.js";
|
|
60
60
|
import"./index-ae75rja9.js";
|
|
61
61
|
import"./index-w7x7qxz2.js";
|
|
62
62
|
import"./index-erfnw81g.js";
|
|
@@ -9,19 +9,19 @@ import {
|
|
|
9
9
|
maybeEscalateOnViolation,
|
|
10
10
|
maybeQuarantineOnContradiction,
|
|
11
11
|
readRecentEscalations
|
|
12
|
-
} from "./index-
|
|
13
|
-
import"./index-
|
|
14
|
-
import"./index-
|
|
12
|
+
} from "./index-scj2asek.js";
|
|
13
|
+
import"./index-0adcjpyx.js";
|
|
14
|
+
import"./index-peqmw3wr.js";
|
|
15
15
|
import"./index-gprxjmm7.js";
|
|
16
16
|
import"./index-n832052r.js";
|
|
17
|
-
import"./index-
|
|
18
|
-
import"./index-
|
|
17
|
+
import"./index-36vry26a.js";
|
|
18
|
+
import"./index-7bs015gm.js";
|
|
19
19
|
import"./index-rn0eq85g.js";
|
|
20
20
|
import"./index-4rhhvd1a.js";
|
|
21
21
|
import"./index-jqsfsqbx.js";
|
|
22
22
|
import"./index-z6xqpmqg.js";
|
|
23
23
|
import"./index-zjygnfay.js";
|
|
24
|
-
import"./index-
|
|
24
|
+
import"./index-wjk00vwk.js";
|
|
25
25
|
import"./index-ae75rja9.js";
|
|
26
26
|
import"./index-w7x7qxz2.js";
|
|
27
27
|
import"./index-erfnw81g.js";
|
|
@@ -29,12 +29,12 @@ import {
|
|
|
29
29
|
resolveKnowledgeCounterBaselinePath,
|
|
30
30
|
resolveKnowledgeEventsPath,
|
|
31
31
|
resolveLegacyApplicationLogPath
|
|
32
|
-
} from "./index-
|
|
33
|
-
import"./index-
|
|
32
|
+
} from "./index-0adcjpyx.js";
|
|
33
|
+
import"./index-peqmw3wr.js";
|
|
34
34
|
import"./index-gprxjmm7.js";
|
|
35
35
|
import"./index-n832052r.js";
|
|
36
|
-
import"./index-
|
|
37
|
-
import"./index-
|
|
36
|
+
import"./index-36vry26a.js";
|
|
37
|
+
import"./index-7bs015gm.js";
|
|
38
38
|
import"./index-rn0eq85g.js";
|
|
39
39
|
import"./index-4rhhvd1a.js";
|
|
40
40
|
import"./index-jqsfsqbx.js";
|
|
@@ -23,10 +23,10 @@ import {
|
|
|
23
23
|
validateLesson,
|
|
24
24
|
validateSkillCandidatePath,
|
|
25
25
|
validateSkillPath
|
|
26
|
-
} from "./index-
|
|
26
|
+
} from "./index-gzxz0s50.js";
|
|
27
27
|
import"./index-tq5s07ta.js";
|
|
28
28
|
import"./index-rtry5xyf.js";
|
|
29
|
-
import"./index-
|
|
29
|
+
import"./index-wjk00vwk.js";
|
|
30
30
|
import"./index-ae75rja9.js";
|
|
31
31
|
import"./index-w7x7qxz2.js";
|
|
32
32
|
import"./index-erfnw81g.js";
|
|
@@ -4,6 +4,8 @@ import {
|
|
|
4
4
|
BACKGROUND_DELEGATIONS_FILE,
|
|
5
5
|
BACKGROUND_DELEGATION_FALLBACK_DIR,
|
|
6
6
|
BACKGROUND_INGESTION_LEASE_MS,
|
|
7
|
+
DEFAULT_STALE_DELEGATION_TIMEOUT_MS,
|
|
8
|
+
DEFAULT_SWEEPABLE_DELEGATION_STATUSES,
|
|
7
9
|
MAX_BACKGROUND_ADVISORY_CHARS,
|
|
8
10
|
MAX_BACKGROUND_OBSERVED_FILES,
|
|
9
11
|
MAX_LIVE_BACKGROUND_CODER_RESERVATIONS,
|
|
@@ -41,7 +43,7 @@ import {
|
|
|
41
43
|
sweepStaleDelegations,
|
|
42
44
|
updateCoderSettlement,
|
|
43
45
|
writeDelegationFallback
|
|
44
|
-
} from "./index-
|
|
46
|
+
} from "./index-6vmazy9f.js";
|
|
45
47
|
import"./index-rn0eq85g.js";
|
|
46
48
|
import"./index-z6xqpmqg.js";
|
|
47
49
|
import"./index-zjygnfay.js";
|
|
@@ -91,6 +93,8 @@ export {
|
|
|
91
93
|
MAX_LIVE_BACKGROUND_CODER_RESERVATIONS,
|
|
92
94
|
MAX_BACKGROUND_OBSERVED_FILES,
|
|
93
95
|
MAX_BACKGROUND_ADVISORY_CHARS,
|
|
96
|
+
DEFAULT_SWEEPABLE_DELEGATION_STATUSES,
|
|
97
|
+
DEFAULT_STALE_DELEGATION_TIMEOUT_MS,
|
|
94
98
|
BACKGROUND_INGESTION_LEASE_MS,
|
|
95
99
|
BACKGROUND_DELEGATION_FALLBACK_DIR,
|
|
96
100
|
BACKGROUND_DELEGATIONS_FILE,
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
alreadyCuratedThisGeneration,
|
|
5
5
|
claimNextScanBatch,
|
|
6
6
|
getScanStatus
|
|
7
|
-
} from "./index-
|
|
8
|
-
import"./index-
|
|
7
|
+
} from "./index-92bm9ys3.js";
|
|
8
|
+
import"./index-wjk00vwk.js";
|
|
9
9
|
import"./index-ae75rja9.js";
|
|
10
10
|
import"./index-w7x7qxz2.js";
|
|
11
11
|
import"./index-erfnw81g.js";
|
|
@@ -23,11 +23,11 @@ import {
|
|
|
23
23
|
tombstoneScopeBinding,
|
|
24
24
|
writeScopeBindingToDisk,
|
|
25
25
|
writeScopeToDisk
|
|
26
|
-
} from "./index-
|
|
27
|
-
import"./index-
|
|
26
|
+
} from "./index-z4cv77tq.js";
|
|
27
|
+
import"./index-hjy4txgr.js";
|
|
28
28
|
import"./index-556ja8an.js";
|
|
29
|
-
import"./index-
|
|
30
|
-
import"./index-
|
|
29
|
+
import"./index-36vry26a.js";
|
|
30
|
+
import"./index-7bs015gm.js";
|
|
31
31
|
import"./index-4rhhvd1a.js";
|
|
32
32
|
import"./index-jqsfsqbx.js";
|
|
33
33
|
import"./index-zjygnfay.js";
|
|
@@ -33,22 +33,22 @@ import {
|
|
|
33
33
|
sanitizeSlug,
|
|
34
34
|
selectCandidateEntries,
|
|
35
35
|
writeEvalStub
|
|
36
|
-
} from "./index-
|
|
37
|
-
import"./index-
|
|
38
|
-
import"./index-
|
|
36
|
+
} from "./index-02nm8qhk.js";
|
|
37
|
+
import"./index-0adcjpyx.js";
|
|
38
|
+
import"./index-peqmw3wr.js";
|
|
39
39
|
import"./index-gprxjmm7.js";
|
|
40
40
|
import"./index-n832052r.js";
|
|
41
|
-
import"./index-
|
|
42
|
-
import"./index-
|
|
41
|
+
import"./index-36vry26a.js";
|
|
42
|
+
import"./index-7bs015gm.js";
|
|
43
43
|
import"./index-rn0eq85g.js";
|
|
44
44
|
import"./index-4rhhvd1a.js";
|
|
45
45
|
import"./index-jqsfsqbx.js";
|
|
46
46
|
import"./index-z6xqpmqg.js";
|
|
47
47
|
import"./index-zjygnfay.js";
|
|
48
|
-
import"./index-
|
|
48
|
+
import"./index-gzxz0s50.js";
|
|
49
49
|
import"./index-tq5s07ta.js";
|
|
50
50
|
import"./index-rtry5xyf.js";
|
|
51
|
-
import"./index-
|
|
51
|
+
import"./index-wjk00vwk.js";
|
|
52
52
|
import"./index-ae75rja9.js";
|
|
53
53
|
import"./index-w7x7qxz2.js";
|
|
54
54
|
import"./index-erfnw81g.js";
|