@gitroll/tacitt-cli 0.4.1 → 0.4.2
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/{agent-setup-Cb_spmGb.mjs → agent-setup-Bpsi-BCv.mjs} +2 -2
- package/dist/agent-setup-worker.mjs +5 -5
- package/dist/cli.mjs +36 -10
- package/dist/codex-title-worker.mjs +1 -1
- package/dist/configured-preview-worker.mjs +5 -5
- package/dist/configured-session-worker.mjs +5 -5
- package/dist/{frame-waS5FnN5.mjs → frame-IeDOLy1o.mjs} +1 -1
- package/dist/{heap-eZTo0VYj.mjs → heap-DiOlSa8T.mjs} +6 -6
- package/dist/inspection-worker.mjs +4 -4
- package/dist/{job-Bi57uRU-.mjs → job-BII94L2c.mjs} +3 -3
- package/dist/{locate-U3-nkird.mjs → locate-CBiw-CJK.mjs} +5 -0
- package/dist/{model-BDrntocp.mjs → model-DGTsARtV.mjs} +1 -1
- package/dist/operation-executor.mjs +3 -3
- package/dist/preview-worker.mjs +1 -1
- package/dist/privacy-validator.mjs +1 -1
- package/dist/{query-7uY266qY.mjs → query-CVqWNFYf.mjs} +822 -244
- package/dist/{run-CV6Io7CS.mjs → run-BGlf-W0M.mjs} +4 -4
- package/dist/{src-BESjwh7X.mjs → src-37kIclGK.mjs} +5 -4
- package/dist/{src-DSDRF7i6.mjs → src-CBTvOa44.mjs} +45 -2
- package/dist/{src-DIuh0LHk.mjs → src-D4nrfC2S.mjs} +165 -5
- package/dist/store-database-worker.mjs +1 -1
- package/dist/web/assets/index-D3g_ATU-.js +69 -0
- package/dist/web/index.html +1 -1
- package/package.json +1 -1
- package/skills/tacitt/SKILL.md +2 -2
- package/skills/tacitt/references/INDEX.md +10 -10
- package/skills/tacitt/references/journey.md +3 -3
- package/skills/tacitt/references/send.md +38 -12
- package/skills/tacitt/scripts/INDEX.md +36 -36
- package/skills/tacitt/scripts/journey-card-consolidation.mjs +2 -4
- package/skills/tacitt/scripts/journey-state.d.mts +30 -0
- package/skills/tacitt/scripts/journey-state.mjs +56 -3
- package/skills/tacitt/scripts/journey-tasks.d.mts +8 -0
- package/skills/tacitt/scripts/journey-tasks.mjs +4 -1
- package/skills/tacitt/scripts/privacy-validator.mjs +2 -0
- package/skills/tacitt/scripts/review.mjs +36 -5
- package/dist/web/assets/index-Dh4iG6x2.js +0 -69
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { rn as workspaceSchema, tn as sessionSchema, yn as createStaticProcessor } from "./locate-
|
|
3
|
-
import { l as createNativeAdapters, u as createGitNameSeedProvider } from "./src-
|
|
4
|
-
import { at as maximumAgentSetupSessions, ci as effectiveTreatmentSchema } from "./src-
|
|
5
|
-
import "./agent-setup-
|
|
1
|
+
import { J as listAgentSetup } from "./src-D4nrfC2S.mjs";
|
|
2
|
+
import { rn as workspaceSchema, tn as sessionSchema, yn as createStaticProcessor } from "./locate-CBiw-CJK.mjs";
|
|
3
|
+
import { l as createNativeAdapters, u as createGitNameSeedProvider } from "./src-37kIclGK.mjs";
|
|
4
|
+
import { at as maximumAgentSetupSessions, ci as effectiveTreatmentSchema } from "./src-CBTvOa44.mjs";
|
|
5
|
+
import "./agent-setup-Bpsi-BCv.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
import { parentPort, workerData } from "node:worker_threads";
|
|
8
8
|
//#region apps/cli/src/agent-setup/worker.ts
|
package/dist/cli.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { _ as
|
|
3
|
-
import { nt as
|
|
4
|
-
import { Gt as safeField, Ht as ApplicationError, Wt as safeCode } from "./locate-
|
|
5
|
-
import { Zn as reviewTransportBytes, et as readWorkspaceOutcomes, ii as stateSchema, st as resolveFailureLocation } from "./src-
|
|
6
|
-
import { _t as isCoordinationBusy } from "./heap-
|
|
2
|
+
import { _ as readStateDump, a as readAgentPresence, b as traceStartup, d as helpText, f as parseOptions, g as startupFailure, h as permissionDiagnostic, i as invoke, l as awaitingPassport, m as longCommands, n as readOperation, o as createRuntime, p as businessCommands, r as waitOperation, s as executorEventSchema, t as cancelOperation, u as createRenderActivity, v as createExecutionPort, y as startHost$1 } from "./query-CVqWNFYf.mjs";
|
|
3
|
+
import { nt as makePrivateDirectory, rt as openPrivateFile } from "./src-D4nrfC2S.mjs";
|
|
4
|
+
import { Gt as safeField, Ht as ApplicationError, Wt as safeCode } from "./locate-CBiw-CJK.mjs";
|
|
5
|
+
import { Zn as reviewTransportBytes, et as readWorkspaceOutcomes, ii as stateSchema, st as resolveFailureLocation } from "./src-CBTvOa44.mjs";
|
|
6
|
+
import { _t as isCoordinationBusy } from "./heap-DiOlSa8T.mjs";
|
|
7
7
|
import { constants, createReadStream, write } from "node:fs";
|
|
8
8
|
import { z } from "zod";
|
|
9
9
|
import { lstat, mkdir, mkdtemp, open, readFile, readdir, realpath, rename, rm, writeFile } from "node:fs/promises";
|
|
@@ -140,6 +140,13 @@ function reportOwnershipCheckDeferred() {
|
|
|
140
140
|
})}\n`, (_error) => {});
|
|
141
141
|
} catch {}
|
|
142
142
|
}
|
|
143
|
+
/**
|
|
144
|
+
* A focused host stops 30 minutes after its journey ended and Passport finished with the last
|
|
145
|
+
* Send, and at most 3 hours after the journey ended (ADR 0233).
|
|
146
|
+
*/
|
|
147
|
+
function hostFinished(now, endedAt, settledAt) {
|
|
148
|
+
return now - endedAt >= 108e5 || settledAt !== void 0 && now - settledAt >= 18e5;
|
|
149
|
+
}
|
|
143
150
|
async function serve(options, journeyId) {
|
|
144
151
|
let initializing;
|
|
145
152
|
let shutdownPhase = "application-and-account";
|
|
@@ -147,6 +154,7 @@ async function serve(options, journeyId) {
|
|
|
147
154
|
let host;
|
|
148
155
|
let ownerTimer;
|
|
149
156
|
let finishTimer;
|
|
157
|
+
const hostLife = new AbortController();
|
|
150
158
|
let observedStore = void 0;
|
|
151
159
|
const timing = process.env["CI"] ? createHostTimingSampler() : void 0;
|
|
152
160
|
const timingTimer = process.env["CI"] ? setInterval(() => {
|
|
@@ -197,6 +205,7 @@ async function serve(options, journeyId) {
|
|
|
197
205
|
}, 5e3);
|
|
198
206
|
if (ownerTimer) clearInterval(ownerTimer);
|
|
199
207
|
if (finishTimer) clearInterval(finishTimer);
|
|
208
|
+
hostLife.abort();
|
|
200
209
|
host?.beginStop();
|
|
201
210
|
try {
|
|
202
211
|
await runtime.close();
|
|
@@ -286,12 +295,29 @@ async function serve(options, journeyId) {
|
|
|
286
295
|
process.on("SIGTERM", onSignal);
|
|
287
296
|
if (journeyId) {
|
|
288
297
|
let endedAt;
|
|
298
|
+
let settledAt;
|
|
299
|
+
let following = false;
|
|
289
300
|
finishTimer = setInterval(() => {
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
301
|
+
if (following) return;
|
|
302
|
+
following = true;
|
|
303
|
+
(async () => {
|
|
304
|
+
const { journey: journeys, journeySend } = runtime.application;
|
|
305
|
+
const journey = await journeys?.get({ journeyId });
|
|
306
|
+
const ended = journey?.phase === "completed" || journey?.abandonedAt !== void 0;
|
|
307
|
+
const send = (await journeys?.get({}))?.journeyId === journeyId ? (await journeySend?.get({ journeyId }))?.send : null;
|
|
308
|
+
const waiting = Boolean(send && awaitingPassport(send));
|
|
309
|
+
const now = Date.now();
|
|
310
|
+
endedAt = ended ? endedAt ?? now : void 0;
|
|
311
|
+
settledAt = ended && !waiting ? settledAt ?? now : void 0;
|
|
312
|
+
if (endedAt !== void 0 && hostFinished(now, endedAt, settledAt)) return scheduleStop();
|
|
313
|
+
if (waiting && send) await journeySend?.advance({
|
|
314
|
+
journeyId,
|
|
315
|
+
sendId: send.id
|
|
316
|
+
}, hostLife.signal);
|
|
317
|
+
})().catch(() => {}).finally(() => {
|
|
318
|
+
following = false;
|
|
319
|
+
});
|
|
320
|
+
}, 15e3);
|
|
295
321
|
finishTimer.unref();
|
|
296
322
|
const url = new URL(host.url);
|
|
297
323
|
url.searchParams.set("view", "skill");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as errorCode } from "./model-
|
|
1
|
+
import { i as errorCode } from "./model-DGTsARtV.mjs";
|
|
2
2
|
import { a as titleHintLimits, i as encodeTitleError, o as titleInputSchema, t as assertTitleHeap } from "./heap-1FYhGds4.mjs";
|
|
3
3
|
import { stat } from "node:fs/promises";
|
|
4
4
|
import { isAbsolute, join } from "node:path";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { rn as workspaceSchema, tn as sessionSchema, yn as createStaticProcessor } from "./locate-
|
|
3
|
-
import { l as createNativeAdapters, u as createGitNameSeedProvider } from "./src-
|
|
4
|
-
import { ci as effectiveTreatmentSchema } from "./src-
|
|
5
|
-
import { a as classifyRecord, n as assertPreviewHeap, t as runPreview } from "./run-
|
|
1
|
+
import { Y as createConfiguredPreviewStream } from "./src-D4nrfC2S.mjs";
|
|
2
|
+
import { rn as workspaceSchema, tn as sessionSchema, yn as createStaticProcessor } from "./locate-CBiw-CJK.mjs";
|
|
3
|
+
import { l as createNativeAdapters, u as createGitNameSeedProvider } from "./src-37kIclGK.mjs";
|
|
4
|
+
import { ci as effectiveTreatmentSchema } from "./src-CBTvOa44.mjs";
|
|
5
|
+
import { a as classifyRecord, n as assertPreviewHeap, t as runPreview } from "./run-BGlf-W0M.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
import { parentPort, workerData } from "node:worker_threads";
|
|
8
8
|
//#region apps/cli/src/preview/run.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Wt as safeCode, yn as createStaticProcessor } from "./locate-
|
|
3
|
-
import { l as createNativeAdapters } from "./src-
|
|
4
|
-
import "./src-
|
|
5
|
-
import { d as runJourneyBaseJob, i as runJourneyOutputVerifyJob, n as runJourneyOutputJob, r as runJourneyOutputShardJob } from "./job-
|
|
1
|
+
import { et as safeError, h as captureConfiguredSessionJob, j as runConfiguredSessionJob, u as runConfiguredScanJob, z as gitSeedsProvider } from "./src-D4nrfC2S.mjs";
|
|
2
|
+
import { Wt as safeCode, yn as createStaticProcessor } from "./locate-CBiw-CJK.mjs";
|
|
3
|
+
import { l as createNativeAdapters } from "./src-37kIclGK.mjs";
|
|
4
|
+
import "./src-CBTvOa44.mjs";
|
|
5
|
+
import { d as runJourneyBaseJob, i as runJourneyOutputVerifyJob, n as runJourneyOutputJob, r as runJourneyOutputShardJob } from "./job-BII94L2c.mjs";
|
|
6
6
|
import { parentPort } from "node:worker_threads";
|
|
7
7
|
//#region apps/cli/src/configured-session-worker.ts
|
|
8
8
|
const port = parentPort;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { nr as ProcessingError } from "./locate-
|
|
1
|
+
import { nr as ProcessingError } from "./locate-CBiw-CJK.mjs";
|
|
2
2
|
//#region packages/processing/src/compression/frame.ts
|
|
3
3
|
function createZstdFrameCheck(fail = () => {
|
|
4
4
|
throw new ProcessingError("PROCESSING_INVALID_RECORD");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { $t as fileIdentitySchema, At as journeyTermSchema, Ht as ApplicationError, It as termTypeSchema, Jt as reviewFamilies, Kn as isStaticCategory, Mt as reviewTermsResultSchema, _ as semanticFindingSchema, b as validateBReview, c as textDigest, d as reviewAlignmentAudit, dt as nativeJourneySchema, ft as journeyGuidanceSchema, g as validateReviewAlignment, gn as createDetectionSummary, gt as journeyWorkSuggestionSchema, ht as journeyDescribeSchema, i as reviewBatchSchema, it as journeyDigestSchema, jt as reviewTermsInputSchema, kt as privacyTermSchema, l as validateReview, m as reviewAlignmentSchema, o as reviewDigest, ot as journeyIdSchema, qn as staticCategories, qt as familySelected, r as reviewBatchChunks, s as reviewSubmitSchema, u as findingReferenceKey, v as bContextEvidence } from "./locate-
|
|
3
|
-
import { $n as mergeBRepair, $t as journeyResourceSchema, At as validateAttemptAppend, B as validateInspectionBatch, Bt as newJourneyWork, Et as obsoleteJourney, Fn as confirmedHideGroupIds, Ft as applyClassificationProposal, G as validateInspectionFence, Gn as workPrivacyDecisions, Gr as withReadingProgress, Gt as hideFinishSchema, Hn as syncTermGroups, Hr as isReadingComplete, Ht as journeyContextQuerySchema, In as confirmedHideKey, It as classificationCommitSchema, J as validateInspectionQuery, Jn as reviewCandidateResourceSchema, Jt as journeySearchSaveSchema, K as validateInspectionHead, Kr as mergePrivacyTerms, Kt as hidePublishSchema, Mn as bMaskedHits, Nt as journeyBatchReadSchema, Pr as journeySendSchema, Pt as journeyReviewStorageQuerySchema, Qn as bReviewDigest, Qt as journeyResourceQuerySchema, Rn as confirmedHideTerms, Un as retireWorkDescription, Ur as isSelectedWork, Ut as journeyContextSchema, V as validateInspectionBatches, Vn as maskedHitsStale, W as validateInspectionClaim, Wn as workDecisionDigest, Wr as selectedWorks, Wt as hideBeginSchema, X as validateDetectionSummary, Xn as reviewRepairResourceSchema, Xt as journeyPolicyRespondSchema, Y as validateInspectionContribution, Yt as searchScopeDigest, Z as inspectionInputs, Zt as projectPreparationProgress, _ as projectJourneyInventory, _n as journeyCommitResultSchema, _r as preparationSettlementSchema, an as reviewAttemptsResultSchema, ar as scanGitSeedsId, b as bReviewScope, c as reconstructBFields, cn as sessionReconciliationResourceSchema, en as journeyIsolateSchema, fn as sessionReviewQuerySchema, fr as journeyInventoryReadSchema, gn as sessionUsefulnessResourceSchema, gr as preparationBeginSchema, h as semanticGroupKey, hn as sessionUsefulnessInputSchema, ht as candidateSortAvailable, ii as stateSchema, in as reviewAttemptsQuerySchema, ir as scanSessionResourceSchema, jt as journeyGuidance, kr as staticSessionId, kt as attemptBudgetCodePoints, l as reviseGroupMembership, lr as validateScanExclusion, m as hideScopeDigest, mn as sessionReviewStatusSchema, mr as journeyPreparationProgressSchema, nn as sortingApplySchema, nr as scanCanonicalResourceSchema, o as bRereadDigest, pn as sessionReviewResourceSchema, pr as journeyInventorySchema, pt as manualUploadSchema, q as validateInspectionInputs, qt as journeySearchResultSchema, rn as reviewAttemptResourceSchema, s as reconcileBSession, sn as sessionReconcileResultSchema, t as scanBatchContextDigest, tn as journeyPlaceSchema, tr as scanAliasResourceSchema, u as resolveGroupSplit, un as sessionRereadResourceSchema, ut as manualUploadBindingSchema, v as preparationScope, vn as journeyCommitSchema, vr as preparationStartSchema, wn as settleConfirmedHides, wt as settleCorrections, xn as confirmedHideDeltaSchema, xr as applyCardAnswers, yn as journeyEventSchema, yr as validatePreparationFacts, zn as dictionaryHides } from "./src-
|
|
1
|
+
import { S as readPrivateReviewPayload, at as windowsOwnerOnly, it as restrictToOwner, rt as openPrivateFile, tt as exclusiveLock, x as writePrivateReviewPayload } from "./src-D4nrfC2S.mjs";
|
|
2
|
+
import { $t as fileIdentitySchema, At as journeyTermSchema, Ht as ApplicationError, It as termTypeSchema, Jt as reviewFamilies, Kn as isStaticCategory, Mt as reviewTermsResultSchema, _ as semanticFindingSchema, b as validateBReview, c as textDigest, d as reviewAlignmentAudit, dt as nativeJourneySchema, ft as journeyGuidanceSchema, g as validateReviewAlignment, gn as createDetectionSummary, gt as journeyWorkSuggestionSchema, ht as journeyDescribeSchema, i as reviewBatchSchema, it as journeyDigestSchema, jt as reviewTermsInputSchema, kt as privacyTermSchema, l as validateReview, m as reviewAlignmentSchema, o as reviewDigest, ot as journeyIdSchema, qn as staticCategories, qt as familySelected, r as reviewBatchChunks, s as reviewSubmitSchema, u as findingReferenceKey, v as bContextEvidence } from "./locate-CBiw-CJK.mjs";
|
|
3
|
+
import { $n as mergeBRepair, $t as journeyResourceSchema, At as validateAttemptAppend, B as validateInspectionBatch, Bt as newJourneyWork, Et as obsoleteJourney, Fn as confirmedHideGroupIds, Ft as applyClassificationProposal, G as validateInspectionFence, Gn as workPrivacyDecisions, Gr as withReadingProgress, Gt as hideFinishSchema, Hn as syncTermGroups, Hr as isReadingComplete, Ht as journeyContextQuerySchema, In as confirmedHideKey, It as classificationCommitSchema, J as validateInspectionQuery, Jn as reviewCandidateResourceSchema, Jt as journeySearchSaveSchema, K as validateInspectionHead, Kr as mergePrivacyTerms, Kt as hidePublishSchema, Mn as bMaskedHits, Nt as journeyBatchReadSchema, Pr as journeySendSchema, Pt as journeyReviewStorageQuerySchema, Qn as bReviewDigest, Qt as journeyResourceQuerySchema, Rn as confirmedHideTerms, Un as retireWorkDescription, Ur as isSelectedWork, Ut as journeyContextSchema, V as validateInspectionBatches, Vn as maskedHitsStale, W as validateInspectionClaim, Wn as workDecisionDigest, Wr as selectedWorks, Wt as hideBeginSchema, X as validateDetectionSummary, Xn as reviewRepairResourceSchema, Xt as journeyPolicyRespondSchema, Y as validateInspectionContribution, Yt as searchScopeDigest, Z as inspectionInputs, Zt as projectPreparationProgress, _ as projectJourneyInventory, _n as journeyCommitResultSchema, _r as preparationSettlementSchema, an as reviewAttemptsResultSchema, ar as scanGitSeedsId, b as bReviewScope, c as reconstructBFields, cn as sessionReconciliationResourceSchema, en as journeyIsolateSchema, fn as sessionReviewQuerySchema, fr as journeyInventoryReadSchema, gn as sessionUsefulnessResourceSchema, gr as preparationBeginSchema, h as semanticGroupKey, hn as sessionUsefulnessInputSchema, ht as candidateSortAvailable, ii as stateSchema, in as reviewAttemptsQuerySchema, ir as scanSessionResourceSchema, jt as journeyGuidance, kr as staticSessionId, kt as attemptBudgetCodePoints, l as reviseGroupMembership, lr as validateScanExclusion, m as hideScopeDigest, mn as sessionReviewStatusSchema, mr as journeyPreparationProgressSchema, nn as sortingApplySchema, nr as scanCanonicalResourceSchema, o as bRereadDigest, pn as sessionReviewResourceSchema, pr as journeyInventorySchema, pt as manualUploadSchema, q as validateInspectionInputs, qt as journeySearchResultSchema, rn as reviewAttemptResourceSchema, s as reconcileBSession, sn as sessionReconcileResultSchema, t as scanBatchContextDigest, tn as journeyPlaceSchema, tr as scanAliasResourceSchema, u as resolveGroupSplit, un as sessionRereadResourceSchema, ut as manualUploadBindingSchema, v as preparationScope, vn as journeyCommitSchema, vr as preparationStartSchema, wn as settleConfirmedHides, wt as settleCorrections, xn as confirmedHideDeltaSchema, xr as applyCardAnswers, yn as journeyEventSchema, yr as validatePreparationFacts, zn as dictionaryHides } from "./src-CBTvOa44.mjs";
|
|
4
4
|
import { constants } from "node:fs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
import { copyFile, link, lstat, mkdir, mkdtemp, open, readFile, realpath, rm, unlink } from "node:fs/promises";
|
|
@@ -415,11 +415,11 @@ function insertCorrectionReport(db, resource) {
|
|
|
415
415
|
* A snapshot of an earlier release cannot render, so a new Journey may replace it, but never
|
|
416
416
|
* one with a Send record or a sent Work: that Send stays for the person to finish.
|
|
417
417
|
*/
|
|
418
|
-
/**
|
|
418
|
+
/** A receipt or persisted session mutation intent means a Send may have reached Passport. */
|
|
419
419
|
function reachedPassport(db, journeyId) {
|
|
420
420
|
return db.prepare("SELECT json FROM journey_sends WHERE journey_id=?").all(journeyId).some((row) => {
|
|
421
421
|
if (typeof row["json"] !== "string") throw new ApplicationError("CORRUPTED_STATE");
|
|
422
|
-
return journeySendSchema.parse(JSON.parse(row["json"])).items.some((item) => item.receipt || item.previousReceipts.length);
|
|
422
|
+
return journeySendSchema.parse(JSON.parse(row["json"])).items.some((item) => item.receipt || item.previousReceipts.length || item.sessionUpload !== void 0 || item.sessionMembership || item.sessionAssembly);
|
|
423
423
|
});
|
|
424
424
|
}
|
|
425
425
|
/** An abandoned Journey gives way to a new one unless one of its Sends reached Passport. */
|
|
@@ -4828,7 +4828,7 @@ function commitJourneySend(db, input) {
|
|
|
4828
4828
|
].includes(work.reason));
|
|
4829
4829
|
const journey = {
|
|
4830
4830
|
...current.journey,
|
|
4831
|
-
phase: current.journey.phase === "paused"
|
|
4831
|
+
phase: current.journey.phase === "paused" || prior?.status === "completed" ? current.journey.phase : finished ? "completed" : [
|
|
4832
4832
|
"completed",
|
|
4833
4833
|
"blocked",
|
|
4834
4834
|
"paused"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { yn as createStaticProcessor } from "./locate-
|
|
3
|
-
import { l as createNativeAdapters, u as createGitNameSeedProvider } from "./src-
|
|
4
|
-
import { H as validateInspectionRequest } from "./src-
|
|
1
|
+
import { X as createInspectionProcessor } from "./src-D4nrfC2S.mjs";
|
|
2
|
+
import { yn as createStaticProcessor } from "./locate-CBiw-CJK.mjs";
|
|
3
|
+
import { l as createNativeAdapters, u as createGitNameSeedProvider } from "./src-37kIclGK.mjs";
|
|
4
|
+
import { H as validateInspectionRequest } from "./src-CBTvOa44.mjs";
|
|
5
5
|
import "./messages-D3m3bhva.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
import { parentPort, workerData } from "node:worker_threads";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Ht as ApplicationError, Jt as reviewFamilies, zt as filterInventoryByPeriod } from "./locate-
|
|
3
|
-
import { Ar as staticSessionResourceSchema, Cn as renderedHideValue, Dn as hideKeyId, En as addHideIndexTokens, di as selectFrozenConfiguration, kn as packHideIndex, li as defaultScopedSettings, ui as freezeConfiguration } from "./src-
|
|
1
|
+
import { A as renderJobDigest, D as prepareCollectionProduction, V as writeLogicalJourneyOutput, W as readConfiguredOutputInfo, b as writeLogicalJourneyBase, d as verifyOutputShard, f as writeOutputShard, w as readConfiguredSearchFields, z as gitSeedsProvider } from "./src-D4nrfC2S.mjs";
|
|
2
|
+
import { Ht as ApplicationError, Jt as reviewFamilies, zt as filterInventoryByPeriod } from "./locate-CBiw-CJK.mjs";
|
|
3
|
+
import { Ar as staticSessionResourceSchema, Cn as renderedHideValue, Dn as hideKeyId, En as addHideIndexTokens, di as selectFrozenConfiguration, kn as packHideIndex, li as defaultScopedSettings, ui as freezeConfiguration } from "./src-CBTvOa44.mjs";
|
|
4
4
|
import { constants } from "node:fs";
|
|
5
5
|
import { link, lstat, open, unlink } from "node:fs/promises";
|
|
6
6
|
import { join } from "node:path";
|
|
@@ -8246,6 +8246,8 @@ const sourcePartSchema = z.object({
|
|
|
8246
8246
|
id: z.string(),
|
|
8247
8247
|
path: z.string(),
|
|
8248
8248
|
root: z.string(),
|
|
8249
|
+
/** Original harness-home-relative name, preserved before resolving a linked discovery root. */
|
|
8250
|
+
harnessRelativePath: z.string().min(1).max(16384).optional(),
|
|
8249
8251
|
representation: z.enum(["jsonl", "jsonl.zst"]),
|
|
8250
8252
|
snapshot: fileSnapshotSchema,
|
|
8251
8253
|
nativeEvidence: nativeSourceEvidenceSchema.optional()
|
|
@@ -8472,7 +8474,10 @@ const safeCodes = /* @__PURE__ */ new Set([
|
|
|
8472
8474
|
"EMPTY_MAIN_SESSION",
|
|
8473
8475
|
"SEND_REMOTE_REFUSED",
|
|
8474
8476
|
"SEND_INTERRUPTED",
|
|
8477
|
+
"SEND_SCOPE_BUSY",
|
|
8475
8478
|
"SEND_REPLACE_REFUSED",
|
|
8479
|
+
"SESSION_CONTENT_CONFLICT",
|
|
8480
|
+
"WORK_REMOVED",
|
|
8476
8481
|
"ACCOUNT_CHANGED",
|
|
8477
8482
|
"JOURNEY_DESTINATION_CHANGED",
|
|
8478
8483
|
"SENSITIVE_TERMS_UNSAFE_PATH",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as executorRequestSchema,
|
|
2
|
-
import { Gt as safeField, Ht as ApplicationError, Wt as safeCode } from "./locate-
|
|
3
|
-
import "./src-
|
|
1
|
+
import { c as executorRequestSchema, f as parseOptions, g as startupFailure, i as invoke, m as longCommands, n as readOperation, o as createRuntime, r as waitOperation } from "./query-CVqWNFYf.mjs";
|
|
2
|
+
import { Gt as safeField, Ht as ApplicationError, Wt as safeCode } from "./locate-CBiw-CJK.mjs";
|
|
3
|
+
import "./src-CBTvOa44.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
import { setTimeout } from "node:timers/promises";
|
|
6
6
|
//#region apps/cli/src/operation/executor.ts
|
package/dist/preview-worker.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as assertPreviewHeap, o as previewInputSchema, t as runPreview } from "./run-
|
|
1
|
+
import { n as assertPreviewHeap, o as previewInputSchema, t as runPreview } from "./run-BGlf-W0M.mjs";
|
|
2
2
|
import { parentPort, workerData } from "node:worker_threads";
|
|
3
3
|
//#region packages/harnesses/src/preview/worker/index.ts
|
|
4
4
|
function notify(message) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Dt as privacyResolveSchema, Ot as privacyTermKey, t as locateTerms, wt as decisionCardInputSchema } from "./locate-
|
|
1
|
+
import { Dt as privacyResolveSchema, Ot as privacyTermKey, t as locateTerms, wt as decisionCardInputSchema } from "./locate-CBiw-CJK.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
//#region apps/cli/src/skill-install/privacy-validator.ts
|
|
4
4
|
const suppliedTerms = z.array(z.object({
|