@gitroll/tacitt-cli 0.6.8 → 0.6.10
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/README.md +1 -1
- package/dist/{agent-setup-YlFIJz-h.mjs → agent-setup-LPd8WEsN.mjs} +2 -2
- package/dist/agent-setup-worker.mjs +5 -5
- package/dist/cli.mjs +19 -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-Dj5Zs6UW.mjs → frame-ByT1xayJ.mjs} +1 -1
- package/dist/{heap-DsE74_-n.mjs → heap-CM298Yu0.mjs} +8 -6
- package/dist/inspection-worker.mjs +4 -4
- package/dist/{job-CeSf9UCC.mjs → job-BHIwElNF.mjs} +5 -5
- package/dist/{locate-BWkblijS.mjs → locate-Cwv6WH8n.mjs} +25 -2
- package/dist/{model-f_QnDyyb.mjs → model-zvn5GUJ9.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-CaBXQlpF.mjs → query-By41gaKm.mjs} +585 -250
- package/dist/{run-RA_8zZsL.mjs → run-ZQx7p4Rw.mjs} +4 -4
- package/dist/{src-p_uJNjV3.mjs → src-3jvMvSQn.mjs} +3 -3
- package/dist/{src-d7n58sbH.mjs → src-BqtdFVq7.mjs} +683 -341
- package/dist/{src-BBjnljUs.mjs → src-D_DfY--2.mjs} +4 -4
- package/dist/store-database-worker.mjs +1 -1
- package/dist/web/assets/index-B14e6_-z.js +174 -0
- package/dist/web/index.html +1 -1
- package/package.json +1 -1
- package/skills/tacitt/INDEX.md +6 -6
- package/skills/tacitt/SKILL.md +4 -4
- package/skills/tacitt/references/INDEX.md +3 -3
- package/skills/tacitt/references/classification.md +12 -2
- package/skills/tacitt/references/commands.md +60 -13
- package/skills/tacitt/references/journey.md +10 -2
- package/skills/tacitt/references/parallel-review.md +21 -0
- package/skills/tacitt/references/send.md +29 -8
- package/skills/tacitt/scripts/INDEX.md +39 -36
- package/skills/tacitt/scripts/journey-classification-validation.d.mts +13 -0
- package/skills/tacitt/scripts/journey-classification-validation.mjs +38 -0
- package/skills/tacitt/scripts/journey-scan-timing.d.mts +15 -0
- package/skills/tacitt/scripts/journey-scan-timing.mjs +153 -1
- package/skills/tacitt/scripts/journey-state.d.mts +6 -0
- package/skills/tacitt/scripts/journey-state.mjs +24 -1
- package/skills/tacitt/scripts/journey.d.mts +5 -0
- package/skills/tacitt/scripts/journey.mjs +48 -3
- package/skills/tacitt/scripts/privacy-validator.mjs +11 -1
- package/skills/tacitt/scripts/review.mjs +294 -38
- package/LICENSE +0 -11
- package/dist/web/assets/index-B6kJ6XXF.js +0 -174
package/README.md
CHANGED
|
@@ -38,5 +38,5 @@ Tacitt retains `UNLICENSED` package metadata. Bundled Web dependency notices are
|
|
|
38
38
|
in `dist/web/THIRD_PARTY_LICENSES.md`. Source and current guidance are maintained
|
|
39
39
|
at [gitroll-dev/tacitt-cli](https://github.com/gitroll-dev/tacitt-cli). The
|
|
40
40
|
repository contains proprietary source; public visibility does not grant an
|
|
41
|
-
open-source license.
|
|
41
|
+
open-source license. All rights are reserved; reuse requires separate permission
|
|
42
42
|
from the rights holders.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { J as listAgentSetup } from "./src-
|
|
2
|
-
import { Dn as createStaticProcessor, dn as workspaceSchema, ln as sessionSchema } from "./locate-
|
|
3
|
-
import { l as createNativeAdapters, u as createGitNameSeedProvider } from "./src-
|
|
4
|
-
import {
|
|
5
|
-
import "./agent-setup-
|
|
1
|
+
import { J as listAgentSetup } from "./src-3jvMvSQn.mjs";
|
|
2
|
+
import { Dn as createStaticProcessor, dn as workspaceSchema, ln as sessionSchema } from "./locate-Cwv6WH8n.mjs";
|
|
3
|
+
import { l as createNativeAdapters, u as createGitNameSeedProvider } from "./src-D_DfY--2.mjs";
|
|
4
|
+
import { ct as maximumAgentSetupSessions, gi as effectiveTreatmentSchema } from "./src-BqtdFVq7.mjs";
|
|
5
|
+
import "./agent-setup-LPd8WEsN.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,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { _ as
|
|
3
|
-
import { nt as makePrivateDirectory, rt as openPrivateFile } from "./src-
|
|
4
|
-
import { A as createExecutionPort, I as inBackgroundStatusPoll, j as startHost, k as readStateDump } from "./job-
|
|
5
|
-
import { $t as safeField, Qt as safeCode, Xt as ApplicationError } from "./locate-
|
|
6
|
-
import {
|
|
7
|
-
import { _t as isCoordinationBusy } from "./heap-
|
|
2
|
+
import { _ as longCommands, a as readAgentPresence, b as traceStartup, d as serveDetached, f as guardDetachedStartup, g as businessCommands, h as parseOptions, i as invoke, l as awaitingPassport, m as helpText, n as readOperation, o as createRuntime, p as createRenderActivity, r as waitOperation, s as executorEventSchema, t as cancelOperation, u as hostDrives, v as permissionDiagnostic, y as startupFailure } from "./query-By41gaKm.mjs";
|
|
3
|
+
import { nt as makePrivateDirectory, rt as openPrivateFile } from "./src-3jvMvSQn.mjs";
|
|
4
|
+
import { A as createExecutionPort, I as inBackgroundStatusPoll, j as startHost, k as readStateDump } from "./job-BHIwElNF.mjs";
|
|
5
|
+
import { $t as safeField, Qt as safeCode, Xt as ApplicationError } from "./locate-Cwv6WH8n.mjs";
|
|
6
|
+
import { fi as stateSchema, rt as readWorkspaceOutcomes, tr as reviewTransportBytes, ut as resolveFailureLocation } from "./src-BqtdFVq7.mjs";
|
|
7
|
+
import { _t as isCoordinationBusy } from "./heap-CM298Yu0.mjs";
|
|
8
8
|
import { constants, createReadStream, write } from "node:fs";
|
|
9
9
|
import { z } from "zod";
|
|
10
10
|
import { lstat, mkdir, mkdtemp, open, readFile, readdir, realpath, rename, rm, writeFile } from "node:fs/promises";
|
|
@@ -309,14 +309,23 @@ async function serve(options, journeyId) {
|
|
|
309
309
|
const ended = journey?.phase === "completed" || journey?.abandonedAt !== void 0;
|
|
310
310
|
const send = (await inBackgroundStatusPoll(async () => journeys?.get({})))?.journeyId === journeyId ? (await journeySend?.get({ journeyId }))?.send : null;
|
|
311
311
|
const waiting = Boolean(send && awaitingPassport(send));
|
|
312
|
+
const driving = Boolean(send && hostDrives(send));
|
|
312
313
|
const now = Date.now();
|
|
313
314
|
endedAt = ended ? endedAt ?? now : void 0;
|
|
314
315
|
settledAt = ended && !waiting ? settledAt ?? now : void 0;
|
|
315
316
|
if (endedAt !== void 0 && hostFinished(now, endedAt, settledAt)) return scheduleStop();
|
|
316
|
-
if (
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
317
|
+
if (driving && send && journeySend) {
|
|
318
|
+
let previous = send;
|
|
319
|
+
while (!hostLife.signal.aborted) {
|
|
320
|
+
const result = await journeySend.advance({
|
|
321
|
+
journeyId,
|
|
322
|
+
sendId: previous.id
|
|
323
|
+
}, hostLife.signal);
|
|
324
|
+
if (result.status !== "applied" || !result.send || !hostDrives(result.send) || result.send.revision === previous.revision) break;
|
|
325
|
+
if ((await inBackgroundStatusPoll(async () => journeys?.get({})))?.journeyId !== journeyId) break;
|
|
326
|
+
previous = result.send;
|
|
327
|
+
}
|
|
328
|
+
}
|
|
320
329
|
})().catch(() => {}).finally(() => {
|
|
321
330
|
following = false;
|
|
322
331
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as errorCode } from "./model-
|
|
1
|
+
import { i as errorCode } from "./model-zvn5GUJ9.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 { Y as createConfiguredPreviewStream } from "./src-
|
|
2
|
-
import { Dn as createStaticProcessor, dn as workspaceSchema, ln as sessionSchema } from "./locate-
|
|
3
|
-
import { l as createNativeAdapters, u as createGitNameSeedProvider } from "./src-
|
|
4
|
-
import {
|
|
5
|
-
import { a as classifyRecord, n as assertPreviewHeap, t as runPreview } from "./run-
|
|
1
|
+
import { Y as createConfiguredPreviewStream } from "./src-3jvMvSQn.mjs";
|
|
2
|
+
import { Dn as createStaticProcessor, dn as workspaceSchema, ln as sessionSchema } from "./locate-Cwv6WH8n.mjs";
|
|
3
|
+
import { l as createNativeAdapters, u as createGitNameSeedProvider } from "./src-D_DfY--2.mjs";
|
|
4
|
+
import { gi as effectiveTreatmentSchema } from "./src-BqtdFVq7.mjs";
|
|
5
|
+
import { a as classifyRecord, n as assertPreviewHeap, t as runPreview } from "./run-ZQx7p4Rw.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 { et as safeError, h as captureConfiguredSessionJob, j as runConfiguredSessionJob, u as runConfiguredScanJob, z as gitSeedsProvider } from "./src-
|
|
2
|
-
import { d as runJourneyBaseJob, i as runJourneyOutputVerifyJob, n as runJourneyOutputJob, r as runJourneyOutputShardJob } from "./job-
|
|
3
|
-
import { Dn as createStaticProcessor, Qt as safeCode } from "./locate-
|
|
4
|
-
import { l as createNativeAdapters } from "./src-
|
|
5
|
-
import "./src-
|
|
1
|
+
import { et as safeError, h as captureConfiguredSessionJob, j as runConfiguredSessionJob, u as runConfiguredScanJob, z as gitSeedsProvider } from "./src-3jvMvSQn.mjs";
|
|
2
|
+
import { d as runJourneyBaseJob, i as runJourneyOutputVerifyJob, n as runJourneyOutputJob, r as runJourneyOutputShardJob } from "./job-BHIwElNF.mjs";
|
|
3
|
+
import { Dn as createStaticProcessor, Qt as safeCode } from "./locate-Cwv6WH8n.mjs";
|
|
4
|
+
import { l as createNativeAdapters } from "./src-D_DfY--2.mjs";
|
|
5
|
+
import "./src-BqtdFVq7.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 { ur as ProcessingError } from "./locate-
|
|
1
|
+
import { ur as ProcessingError } from "./locate-Cwv6WH8n.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 { S as readPrivateReviewPayload, at as windowsOwnerOnly, it as restrictToOwner, rt as openPrivateFile, tt as exclusiveLock, x as writePrivateReviewPayload } from "./src-
|
|
2
|
-
import { At as journeyTermSchema, It as termTypeSchema, Mt as reviewTermsResultSchema, Xt as ApplicationError, _ as semanticFindingSchema, b as validateBReview, c as textDigest, d as reviewAlignmentAudit, dt as nativeJourneySchema, er as isStaticCategory, ft as journeyGuidanceSchema, g as validateReviewAlignment, gt as journeyWorkSuggestionSchema, ht as journeyDescribeSchema, i as reviewBatchSchema, it as journeyDigestSchema, jt as reviewTermsInputSchema, kt as privacyTermSchema, l as validateReview, m as reviewAlignmentSchema, nn as reviewFamilies, o as reviewDigest, ot as journeyIdSchema, r as reviewBatchChunks, s as reviewSubmitSchema, sn as fileIdentitySchema, tn as familySelected, tr as staticCategories, u as findingReferenceKey, v as bContextEvidence, wn as createDetectionSummary } from "./locate-
|
|
3
|
-
import { $
|
|
1
|
+
import { S as readPrivateReviewPayload, at as windowsOwnerOnly, it as restrictToOwner, rt as openPrivateFile, tt as exclusiveLock, x as writePrivateReviewPayload } from "./src-3jvMvSQn.mjs";
|
|
2
|
+
import { At as journeyTermSchema, It as termTypeSchema, Mt as reviewTermsResultSchema, Xt as ApplicationError, _ as semanticFindingSchema, b as validateBReview, c as textDigest, d as reviewAlignmentAudit, dt as nativeJourneySchema, er as isStaticCategory, ft as journeyGuidanceSchema, g as validateReviewAlignment, gt as journeyWorkSuggestionSchema, ht as journeyDescribeSchema, i as reviewBatchSchema, it as journeyDigestSchema, jt as reviewTermsInputSchema, kt as privacyTermSchema, l as validateReview, m as reviewAlignmentSchema, nn as reviewFamilies, o as reviewDigest, ot as journeyIdSchema, r as reviewBatchChunks, s as reviewSubmitSchema, sn as fileIdentitySchema, tn as familySelected, tr as staticCategories, u as findingReferenceKey, v as bContextEvidence, wn as createDetectionSummary } from "./locate-Cwv6WH8n.mjs";
|
|
3
|
+
import { $ as validateDetectionSummary, $t as searchScopeDigest, At as obsoleteJourney, Bn as confirmedHideKey, Cn as journeyEventSchema, Cr as validatePreparationFacts, Ft as journeyGuidance, Gn as maskedHitsStale, Hn as confirmedHideTerms, In as bMaskedHits, It as journeyBatchReadSchema, J as validateInspectionFence, Jn as workDecisionDigest, Jt as hideBeginSchema, Kn as syncTermGroups, Kr as journeySendSchema, Kt as journeyContextQuerySchema, Lt as journeyReviewStorageQuerySchema, Mr as applyCardAnswers, Nt as attemptBudgetCodePoints, On as settleConfirmedHides, Ot as settleCorrections, Pt as validateAttemptAppend, Q as validateInspectionContribution, Qn as reviewCandidateResourceSchema, Qt as journeySearchSaveSchema, Rr as mergePrivacyTerms, Rt as applyClassificationProposal, Sn as journeyCommitSchema, Sr as preparationStartSchema, Tn as confirmedHideDeltaSchema, U as validateInspectionBatch, Un as dictionaryHides, Vr as staticSessionId, W as validateInspectionBatches, Wt as newJourneyWork, X as validateInspectionInputs, Xt as hidePublishSchema, Y as validateInspectionHead, Yn as workPrivacyDecisions, Yt as hideFinishSchema, Z as validateInspectionQuery, Zt as journeySearchResultSchema, _n as sessionReviewResourceSchema, _r as journeyInventorySchema, ai as withReadingProgress, an as journeyPlaceSchema, ar as scanAliasResourceSchema, bn as sessionUsefulnessResourceSchema, br as preparationBeginSchema, c as reconstructBFields, cn as reviewAttemptsQuerySchema, cr as scanSessionResourceSchema, d as resolveGroupSplit, dn as sessionReconcileResultSchema, en as journeyPolicyRespondSchema, er as reviewRepairResourceSchema, et as inspectionInputs, fi as stateSchema, fn as sessionReconciliationResourceSchema, g as semanticGroupKey, gn as sessionReviewQuerySchema, gr as journeyInventoryReadSchema, gt as manualUploadSchema, h as hideScopeDigest, ii as selectedWorks, in as journeyIsolateSchema, l as chooseCheapPlacement, ln as reviewAttemptsResultSchema, lr as scanGitSeedsId, mn as sessionRereadResourceSchema, ni as isSelectedWork, nn as journeyResourceQuerySchema, nr as bReviewDigest, o as bRereadDigest, on as sortingApplySchema, or as scanCanonicalResourceSchema, pr as validateScanExclusion, pt as manualUploadBindingSchema, q as validateInspectionClaim, qn as retireWorkDescription, qt as journeyContextSchema, ri as isSkippedWork, rn as journeyResourceSchema, rr as mergeBRepair, s as reconcileBSession, sn as reviewAttemptResourceSchema, t as scanBatchContextDigest, ti as isReadingComplete, tn as projectPreparationProgress, u as reviseGroupMembership, v as projectJourneyInventory, vn as sessionReviewStatusSchema, vr as journeyPreparationProgressSchema, vt as candidateSortAvailable, x as bReviewScope, xn as journeyCommitResultSchema, xr as preparationSettlementSchema, y as preparationScope, yn as sessionUsefulnessInputSchema, zn as confirmedHideGroupIds, zt as classificationCommitSchema } from "./src-BqtdFVq7.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";
|
|
@@ -4571,9 +4571,11 @@ function isolateJourneyRoots(db, input) {
|
|
|
4571
4571
|
const access = {
|
|
4572
4572
|
access: parent.access,
|
|
4573
4573
|
accessOrigin: parent.accessOrigin,
|
|
4574
|
-
accessConfirmed: parent.accessConfirmed
|
|
4574
|
+
accessConfirmed: parent.accessConfirmed,
|
|
4575
|
+
...parent.accessChoice ? { accessChoice: parent.accessChoice } : {},
|
|
4576
|
+
...parent.accountAccessConflict === void 0 ? {} : { accountAccessConflict: parent.accountAccessConflict }
|
|
4575
4577
|
};
|
|
4576
|
-
const sameAccess = (work) => work.access === access.access && work.accessOrigin === access.accessOrigin && work.accessConfirmed === access.accessConfirmed;
|
|
4578
|
+
const sameAccess = (work) => work.access === access.access && work.accessOrigin === access.accessOrigin && work.accessConfirmed === access.accessConfirmed && work.accessChoice?.channel === access.accessChoice?.channel && work.accessChoice?.at === access.accessChoice?.at && work.accountAccessConflict === access.accountAccessConflict;
|
|
4577
4579
|
const targetId = Array.from({ length: state.works.length + 1 }, (_, ordinal) => isolatedWorkId(parent.id, ordinal)).find((id) => {
|
|
4578
4580
|
const work = state.works.find((item) => item.id === id);
|
|
4579
4581
|
return !work || sameAccess(work);
|
|
@@ -4689,7 +4691,7 @@ function finishJourneyDescription(db, packet) {
|
|
|
4689
4691
|
id: input.idempotencyKey
|
|
4690
4692
|
})[0];
|
|
4691
4693
|
if (original?.kind !== "work-description" || original.appliedRequestHash !== requestHash || original.preparedWorkRevision !== work.revision || original.snapshotId !== state.snapshotId || original.workId !== work.id || original.inputRevision !== work.inputRevision || original.explicitTitleId !== work.explicitTitleId || original.decisionDigest !== input.decisionDigest || original.confirmedHideRevision !== (state.confirmedHideRevision ?? 0)) throw new ApplicationError("REVISION_CONFLICT");
|
|
4692
|
-
const preserveAccess = state.scope.status === "confirmed" || work.accessOrigin === "explicit" || work.accessOrigin === "delegate";
|
|
4694
|
+
const preserveAccess = state.scope.status === "confirmed" || work.accessOrigin === "explicit" || work.accessOrigin === "account" || work.accessOrigin === "delegate";
|
|
4693
4695
|
const modelAccess = input.checkpoint === "complete" ? input.suggest : null;
|
|
4694
4696
|
const keepAccess = preserveAccess || modelAccess === null || modelAccess === "drop";
|
|
4695
4697
|
return commitJourney(db, {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { X as createInspectionProcessor } from "./src-
|
|
2
|
-
import { Dn as createStaticProcessor } from "./locate-
|
|
3
|
-
import { l as createNativeAdapters, u as createGitNameSeedProvider } from "./src-
|
|
4
|
-
import {
|
|
1
|
+
import { X as createInspectionProcessor } from "./src-3jvMvSQn.mjs";
|
|
2
|
+
import { Dn as createStaticProcessor } from "./locate-Cwv6WH8n.mjs";
|
|
3
|
+
import { l as createNativeAdapters, u as createGitNameSeedProvider } from "./src-D_DfY--2.mjs";
|
|
4
|
+
import { G as validateInspectionRequest } from "./src-BqtdFVq7.mjs";
|
|
5
5
|
import "./messages-D3m3bhva.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
import { parentPort, workerData } from "node:worker_threads";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { A as renderJobDigest, D as prepareCollectionProduction, E as checkReusableBundle, L as privateCollectionDirectory, M as readCollectionIndex, N as parseCollectionWorkspaceSummary, V as writeLogicalJourneyOutput, W as readConfiguredOutputInfo, at as windowsOwnerOnly, b as writeLogicalJourneyBase, d as verifyOutputShard, f as writeOutputShard, nt as makePrivateDirectory, ot as isWindowsAclFailure, rt as openPrivateFile, w as readConfiguredSearchFields, z as gitSeedsProvider } from "./src-
|
|
2
|
-
import { $t as safeField, F as bClassificationKey, Ft as termTypeInfo, H as codePointLength, Ht as journeyProfileAddressActionSchema, K as utf16Offset, Kt as passportAddressSchema, N as bUnitFragments, Qt as safeCode, Ut as journeyProfileLinksActionSchema, V as bDigest, Xt as ApplicationError, b as validateBReview, c as textDigest, h as reviewFindingsDigest, ht as journeyDescribeSchema, jt as reviewTermsInputSchema, l as validateReview, n as compileBFindings, nn as reviewFamilies, r as reviewBatchChunks, s as reviewSubmitSchema, t as locateTerms, z as bAnchorKey, zt as filterInventoryByPeriod } from "./locate-
|
|
3
|
-
import { $ as
|
|
4
|
-
import { $ as checkVersion, A as resourceSelectionQuerySchema, B as termReuseQuerySchema, C as loadAcceptedReview, D as aggregateUsefulness, E as loadPrivateResource, F as validateUnitCandidate, G as requireActiveBatch, H as batchHeader, I as reuseQuerySchema, J as validateDatabase, K as initializeAndClaim, L as batchQuery, M as evaluateUnitEvidence, N as sameCandidateRequest, O as sessionUsefulnessRecommendation, P as validateCandidateAttempt, Q as validateState, R as isPrivateResourceKind, S as validateSessionBindings, T as loadBatch, U as createJourneyPayloadFiles, V as privateReviewHash, W as validateBatchBody, X as readBundleDirectory, Y as withDatabase, Z as readStoredState, _ as loadReconciliation, _t as isCoordinationBusy, a as decodeError, at as hasResetMarker, b as validatePreparationSelection, c as dropsAnchor, ct as privatePath, d as parseDelivery, dt as stateDirectory, et as schemaVersion, f as validateCandidate, ft as syncDirectory, g as loadPreparedBodies, gt as errorCode, h as loadPreparation, ht as StoreError, i as createExecutor, it as finishReset, j as inspectionQuerySchema$1, k as sessionQuery, l as replySchema, lt as readResetMarker, m as loadStatus, mt as withFileCheckTimings, n as releaseInheritedHeapFlags, nt as createDatabaseFile, o as ProtocolError, ot as inspectStateFiles, p as classificationJourneyCommit, pt as withStateSnapshot, q as ownership, r as storeHeapLimits, rt as databaseName, s as allowedReplies, st as present, tt as beginReset, u as operations, ut as recheckPrivatePath, v as loadRereadBodies, vt as isSqliteCorruption, w as loadAuthenticatedReview, x as validateSessionReconciliation, y as loadSessionBodies, z as privateResourceHeader } from "./heap-
|
|
1
|
+
import { A as renderJobDigest, D as prepareCollectionProduction, E as checkReusableBundle, L as privateCollectionDirectory, M as readCollectionIndex, N as parseCollectionWorkspaceSummary, V as writeLogicalJourneyOutput, W as readConfiguredOutputInfo, at as windowsOwnerOnly, b as writeLogicalJourneyBase, d as verifyOutputShard, f as writeOutputShard, nt as makePrivateDirectory, ot as isWindowsAclFailure, rt as openPrivateFile, w as readConfiguredSearchFields, z as gitSeedsProvider } from "./src-3jvMvSQn.mjs";
|
|
2
|
+
import { $t as safeField, F as bClassificationKey, Ft as termTypeInfo, H as codePointLength, Ht as journeyProfileAddressActionSchema, K as utf16Offset, Kt as passportAddressSchema, N as bUnitFragments, Qt as safeCode, Ut as journeyProfileLinksActionSchema, V as bDigest, Xt as ApplicationError, b as validateBReview, c as textDigest, h as reviewFindingsDigest, ht as journeyDescribeSchema, jt as reviewTermsInputSchema, l as validateReview, n as compileBFindings, nn as reviewFamilies, r as reviewBatchChunks, s as reviewSubmitSchema, t as locateTerms, z as bAnchorKey, zt as filterInventoryByPeriod } from "./locate-Cwv6WH8n.mjs";
|
|
3
|
+
import { $n as reviewRepairInputSchema, An as addHideIndexTokens, C as rebindReviewOverlay, Ct as sendActionSchema, D as staticallyHiddenFindings, Dn as renderedHideValue, Dr as journeyPreviewSchema, Dt as sendStartSchema, E as guardedFindingText, En as readConfirmedHideChange, Er as journeyFindingsSchema, Et as sendRequestSchema, Fr as nativeEventsSchema, Gn as maskedHitsStale, Gt as reviewCompileSchema, H as inspectionStartSchema, Hr as staticSessionResourceSchema, Ir as nativeGetSchema, K as inspectionQuerySchema, Kt as journeyContextQuerySchema, Lr as nativeRespondSchema, Lt as journeyReviewStorageQuerySchema, Nn as packHideIndex, Or as journeyRenderInputSchema, Qn as reviewCandidateResourceSchema, S as rebindReviewAlignment, St as replaceSensitiveTermsSchema, T as reviewBatchReuse, Tr as journeyFindingImpactSchema, Tt as sendPrepareSchema, V as inspectionCancelSchema, Zn as reviewCandidateInputSchema, _i as defaultScopedSettings, _t as manualUploadStartSchema, a as bCrossSegmentReviewSchema, an as journeyPlaceSchema, b as isGenericPublicTerm, bt as maximumTermsFileBytes, c as reconstructBFields, ci as selectionBatchSchema, di as producerVersion, en as journeyPolicyRespondSchema, er as reviewRepairResourceSchema, f as selectedValueMembers, fi as stateSchema, ft as manualUploadActionSchema, gn as sessionReviewQuerySchema, hn as sessionReviewInputSchema, hr as journeyInventoryQuerySchema, ht as manualUploadPrepareSchema, i as validateBCrossSegmentReview, ir as planBRepair, jn as hideKeyId, kn as termHideAdditions, kr as journeyRenderSchema, li as selectionSchema, mt as manualUploadChoiceSchema, n as scanBatchEquivalenceDigest, nn as journeyResourceQuerySchema, nr as bReviewDigest, nt as settingsQuerySchema, o as bRereadDigest, oi as commandSchema, p as splitSelectorValues, pn as sessionRereadInputSchema, r as locateTermEvidence, rt as readWorkspaceOutcomes, s as reconcileBSession, si as packageCommandSchema, sn as reviewAttemptResourceSchema, t as scanBatchContextDigest, tt as settingsBatchSchema, un as sessionReconcileInputSchema, ut as resolveFailureLocation, vi as freezeConfiguration, w as rebindReviewSubmit, wn as confirmedHideAdditions, wr as journeyClassificationSessionsSchema, wt as sendChoiceSchema, x as bReviewScope, yi as selectFrozenConfiguration, yn as sessionUsefulnessInputSchema, zn as confirmedHideGroupIds } from "./src-BqtdFVq7.mjs";
|
|
4
|
+
import { $ as checkVersion, A as resourceSelectionQuerySchema, B as termReuseQuerySchema, C as loadAcceptedReview, D as aggregateUsefulness, E as loadPrivateResource, F as validateUnitCandidate, G as requireActiveBatch, H as batchHeader, I as reuseQuerySchema, J as validateDatabase, K as initializeAndClaim, L as batchQuery, M as evaluateUnitEvidence, N as sameCandidateRequest, O as sessionUsefulnessRecommendation, P as validateCandidateAttempt, Q as validateState, R as isPrivateResourceKind, S as validateSessionBindings, T as loadBatch, U as createJourneyPayloadFiles, V as privateReviewHash, W as validateBatchBody, X as readBundleDirectory, Y as withDatabase, Z as readStoredState, _ as loadReconciliation, _t as isCoordinationBusy, a as decodeError, at as hasResetMarker, b as validatePreparationSelection, c as dropsAnchor, ct as privatePath, d as parseDelivery, dt as stateDirectory, et as schemaVersion, f as validateCandidate, ft as syncDirectory, g as loadPreparedBodies, gt as errorCode, h as loadPreparation, ht as StoreError, i as createExecutor, it as finishReset, j as inspectionQuerySchema$1, k as sessionQuery, l as replySchema, lt as readResetMarker, m as loadStatus, mt as withFileCheckTimings, n as releaseInheritedHeapFlags, nt as createDatabaseFile, o as ProtocolError, ot as inspectStateFiles, p as classificationJourneyCommit, pt as withStateSnapshot, q as ownership, r as storeHeapLimits, rt as databaseName, s as allowedReplies, st as present, tt as beginReset, u as operations, ut as recheckPrivatePath, v as loadRereadBodies, vt as isSqliteCorruption, w as loadAuthenticatedReview, x as validateSessionReconciliation, y as loadSessionBodies, z as privateResourceHeader } from "./heap-CM298Yu0.mjs";
|
|
5
5
|
import { constants, write } from "node:fs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
import { copyFile, link, lstat, mkdir, mkdtemp, open, opendir, readFile, readdir, realpath, rename, rm, unlink, writeFile } from "node:fs/promises";
|
|
@@ -954,7 +954,7 @@ function createRouter(application, account, stopping, delivery, nativeInspection
|
|
|
954
954
|
files: t.procedure.input(journeyRenderSchema).query(({ input, signal }) => native().files(input, signal)),
|
|
955
955
|
searchResult: t.procedure.input(nativeGetSchema.required()).query(({ input }) => native().searchResult(input)),
|
|
956
956
|
prepare: t.procedure.input(nativeGetSchema.required()).mutation(({ input }) => native().prepare(input, stopping)),
|
|
957
|
-
render: t.procedure.input(journeyRenderInputSchema).mutation(({ input
|
|
957
|
+
render: t.procedure.input(journeyRenderInputSchema).mutation(({ input }) => native().render(input, stopping)),
|
|
958
958
|
findings: t.procedure.input(journeyFindingsSchema).query(({ input, signal }) => native().findings(input, signal)),
|
|
959
959
|
findingImpact: t.procedure.input(journeyFindingImpactSchema).query(({ input, signal }) => native().findingImpact(input, signal)),
|
|
960
960
|
preview: t.procedure.input(journeyPreviewSchema).query(({ input, signal }) => native().preview(input, signal)),
|
|
@@ -8494,6 +8494,8 @@ const safeCodes = /* @__PURE__ */ new Set([
|
|
|
8494
8494
|
"SEND_SCOPE_BUSY",
|
|
8495
8495
|
"SEND_REPLACE_REFUSED",
|
|
8496
8496
|
"SESSION_CONTENT_CONFLICT",
|
|
8497
|
+
"SESSION_MOVE_ACCESS_REQUIRED",
|
|
8498
|
+
"SESSION_MOVE_ACCESS_HELD",
|
|
8497
8499
|
"SEND_SCOPE_INVALIDATED",
|
|
8498
8500
|
"WORK_REMOVED",
|
|
8499
8501
|
"ACCOUNT_CHANGED",
|
|
@@ -8649,7 +8651,18 @@ const safeFields = /* @__PURE__ */ new Set([
|
|
|
8649
8651
|
"cleanup.ref",
|
|
8650
8652
|
"cleanup.bodyModes",
|
|
8651
8653
|
"changes",
|
|
8652
|
-
"mode"
|
|
8654
|
+
"mode",
|
|
8655
|
+
"cards.append.empty",
|
|
8656
|
+
"cards.append.limit",
|
|
8657
|
+
"cards.append.duplicate-card",
|
|
8658
|
+
"cards.append.existing-card",
|
|
8659
|
+
"cards.append.duplicate-extension",
|
|
8660
|
+
"cards.append.unknown-card",
|
|
8661
|
+
"cards.append.duplicate-term",
|
|
8662
|
+
"cards.append.term-not-open",
|
|
8663
|
+
"cards.append.own-identity-card",
|
|
8664
|
+
"cards.append.other-person",
|
|
8665
|
+
"classification.late.several-works"
|
|
8653
8666
|
]);
|
|
8654
8667
|
function safeField(error) {
|
|
8655
8668
|
if (!(error instanceof ApplicationError) || !error.field) return null;
|
|
@@ -9444,7 +9457,8 @@ const journeyWorkSchema = z.object({
|
|
|
9444
9457
|
"default",
|
|
9445
9458
|
"model",
|
|
9446
9459
|
"explicit",
|
|
9447
|
-
"delegate"
|
|
9460
|
+
"delegate",
|
|
9461
|
+
"account"
|
|
9448
9462
|
]),
|
|
9449
9463
|
placement: z.enum([
|
|
9450
9464
|
"placed",
|
|
@@ -9461,6 +9475,15 @@ const journeyWorkSchema = z.object({
|
|
|
9461
9475
|
grouping: z.enum(["workspace", "regrouped"]),
|
|
9462
9476
|
access: journeyAccessSchema,
|
|
9463
9477
|
accessConfirmed: z.boolean(),
|
|
9478
|
+
accessChoice: z.object({
|
|
9479
|
+
channel: z.enum([
|
|
9480
|
+
"conversation",
|
|
9481
|
+
"panel",
|
|
9482
|
+
"account"
|
|
9483
|
+
]),
|
|
9484
|
+
at: z.iso.datetime()
|
|
9485
|
+
}).strict().optional(),
|
|
9486
|
+
accountAccessConflict: z.boolean().optional(),
|
|
9464
9487
|
reason: z.string().max(1e3),
|
|
9465
9488
|
revision: count$1,
|
|
9466
9489
|
inputRevision: count$1.min(1),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { $t as safeField, Qt as safeCode, Xt as ApplicationError } from "./locate-
|
|
3
|
-
import "./src-
|
|
1
|
+
import { _ as longCommands, c as executorRequestSchema, h as parseOptions, i as invoke, n as readOperation, o as createRuntime, r as waitOperation, y as startupFailure } from "./query-By41gaKm.mjs";
|
|
2
|
+
import { $t as safeField, Qt as safeCode, Xt as ApplicationError } from "./locate-Cwv6WH8n.mjs";
|
|
3
|
+
import "./src-BqtdFVq7.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-ZQx7p4Rw.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-Cwv6WH8n.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({
|