@gitroll/tacitt-cli 0.6.13 → 0.6.15
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-Doy_AnPY.mjs → agent-setup-Bv73EZ2b.mjs} +2 -2
- package/dist/agent-setup-worker.mjs +5 -5
- package/dist/cli.mjs +10 -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-BPbypzmt.mjs → frame-0v_mLdvG.mjs} +1 -1
- package/dist/{heap-DCS_WXIA.mjs → heap-aWke8lrK.mjs} +8 -7
- package/dist/inspection-worker.mjs +4 -4
- package/dist/{job--zxwgaPy.mjs → job-ILnqW1ge.mjs} +4 -4
- package/dist/{locate-PLEyLYW-.mjs → locate-LpCex6Xj.mjs} +81 -16
- package/dist/{model-CyXvsWLz.mjs → model-BEWsfkIU.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-BC7MIaWc.mjs → query-BX8QwaBi.mjs} +5923 -5721
- package/dist/{run-Dod7Vykp.mjs → run-P_uZgSYa.mjs} +4 -4
- package/dist/{src-CttNuxOn.mjs → src-CHy3-siB.mjs} +81 -24
- package/dist/{src-dL6y2mcu.mjs → src-ikYI-1c5.mjs} +4 -4
- package/dist/{src-CP-K2PBv.mjs → src-sERffIem.mjs} +3 -3
- package/dist/store-database-worker.mjs +1 -1
- package/dist/web/assets/index-XdWDOC5H.js +172 -0
- package/dist/web/index.html +1 -1
- package/package.json +1 -1
- package/skills/tacitt/INDEX.md +1 -1
- package/skills/tacitt/SKILL.md +3 -1
- package/skills/tacitt/references/INDEX.md +2 -2
- package/skills/tacitt/references/bootstrap.md +1 -1
- package/skills/tacitt/references/classification.md +2 -0
- package/skills/tacitt/references/commands.md +17 -3
- package/skills/tacitt/references/journey.md +4 -2
- package/skills/tacitt/references/parallel-review.md +3 -3
- package/skills/tacitt/scripts/INDEX.md +5 -5
- package/skills/tacitt/scripts/journey-classification-progress.mjs +6 -0
- package/skills/tacitt/scripts/journey-classification-tasks.mjs +11 -1
- package/skills/tacitt/scripts/journey-classification-validation.d.mts +14 -1
- package/skills/tacitt/scripts/journey-classification-validation.mjs +45 -0
- package/skills/tacitt/scripts/journey-consolidation-submit.mjs +22 -5
- package/skills/tacitt/scripts/journey-scan-timing.mjs +1 -1
- package/skills/tacitt/scripts/journey-state.d.mts +3 -0
- package/skills/tacitt/scripts/journey-state.mjs +8 -1
- package/skills/tacitt/scripts/journey.mjs +45 -7
- package/skills/tacitt/scripts/privacy-validator.mjs +76 -7
- package/skills/tacitt/scripts/review.mjs +2 -2
- package/dist/web/assets/index-BgDdPL1c.js +0 -172
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as createZstdFrameCheck$1 } from "./frame-
|
|
3
|
-
import "./src-
|
|
4
|
-
import { a as isRecord } from "./model-
|
|
1
|
+
import { vn as sessionSchema } from "./locate-LpCex6Xj.mjs";
|
|
2
|
+
import { t as createZstdFrameCheck$1 } from "./frame-0v_mLdvG.mjs";
|
|
3
|
+
import "./src-CHy3-siB.mjs";
|
|
4
|
+
import { a as isRecord } from "./model-BEWsfkIU.mjs";
|
|
5
5
|
import { constants } from "node:fs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
import { lstat, open, stat } from "node:fs/promises";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as createCodePointIndex,
|
|
1
|
+
import { $ as createCodePointIndex, A as bLegacyBindings, B as bIssue, Bt as reviewTermsResultSchema, C as validateBReview, Ct as hideConfirmSchema, Dt as cardAnswerActionSchema, E as validateBUnit, Et as journeyConfigurationSchema, F as bLiterals, G as bReviewSubmissionSchema, Gt as termTypes, H as unownedBObligations, Ht as termOverrideValueSchema, I as uncoveredBObligations, In as createStaticProcessor, J as bAnchorKey, Jt as sessionPeriodSchema, K as bSessionDecisionSchema, Kt as deselectOutsidePeriod, L as indexBRanges, Ln as staticDefaults, Lt as emptyReviewCorrectionSchema, M as semanticFindingSchema, Mn as inspectionSemanticVersions, Mt as packageConfirmActionSchema, N as bLiteralAdmitted, Nt as privacyResolveSchema, O as bDuplicateMirror, Ot as cardsConfirmActionSchema, P as bLiteralTerms, Pn as gapReasons, Pt as privacyTermKey, Q as codePointSlice, R as bAdoptedObligations, Rn as staticOptions, S as validateBClassification, T as validateBFields, Tt as hidePlanResourceSchema, U as bRepresentationSchema, Un as cleanupImplementationVersion, Ut as termTypeInfo, V as bOverlaps, Vt as termAssessmentSchema, W as bRetainedGroupSchema, Wn as entityDictionaryVersion, Wt as termTypeSchema, X as bDigest, Xt as journeyProfileAddressActionSchema, Y as bEvidenceReader, Yt as emptyJourneyProfile, Z as codePointLength, Zt as journeyProfileLinksActionSchema, _ as reviewAlignmentInputSchema, _n as inventorySchema, _r as scalarBefore, _t as reviewInterruptionSchema, an as ApplicationError, at as bMethod, b as validateReviewAlignment, bt as delegatedDecisionSchema, c as reviewBatchSchema, cr as detectStatic, ct as journeyChoiceSchema, d as reviewSubmitSchema, dn as reviewFamilies, dt as journeyIdSchema, er as validateProfile, et as subtractBRanges, f as textDigest, fn as sourceGraph, ft as journeyKindSchema, g as reviewAlignmentAuditSchema, gn as fileIdentitySchema, gr as scalarAfter, gt as nativeJourneySchema, hn as sourceSnapshotId, ht as journeyWorkTypeSchema, in as classificationTitleMaskSchema, ir as copyData, it as bIdSchema, j as bUnitFragments, jn as currentDetectorVersion, jt as emptyJourneyPrivacy, kt as cardsSubmitSchema, l as reviewChunkSchema, ln as familyNeedsReview, lt as journeyDigestSchema, m as findingReferenceKey, mn as observeSource, mt as journeyProjectTypeSchema, nn as respondProfileLinks, nt as bAnchorSchema, o as compileBFindings, on as UnfinishedJourneyError, ot as consentedWithoutAccount, p as validateReview, pn as sourceKey, pr as createEntityMatcher, pt as journeyPreferenceScopeSchema, q as bTermSchema, rr as validatePlan, rt as bCountSchema, s as reviewBatchChunks, sn as safeCode, st as journeyAccessSchema, tr as orderProfile, u as reviewDigest, un as familySelected, ur as staticCategories, ut as journeyExceptionSchema, v as reviewAlignmentSchema, vr as defaultDetectionLimits, vt as journeyGuidanceSchema, w as createBAnalysisUnits, wt as hidePlanInputSchema, xn as nativeSourceIdentitySchema, xt as journeyDescribeSchema, y as reviewFindingsDigest, yn as sourcePartSchema, yt as journeyInstructionInputSchema, zt as reviewTermsInputSchema } from "./locate-LpCex6Xj.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
import { createHash, createHmac, createSecretKey, randomUUID } from "node:crypto";
|
|
4
4
|
import { setTimeout as setTimeout$1 } from "node:timers/promises";
|
|
@@ -1532,7 +1532,7 @@ function confirmedHideTerms(groups, records) {
|
|
|
1532
1532
|
//#endregion
|
|
1533
1533
|
//#region packages/application/src/journey/placement/readiness.ts
|
|
1534
1534
|
function hasCompleteWorkDescription(work) {
|
|
1535
|
-
return work.placement === "placed" && !!work.description.trim() && work.classificationRecommendation !== null;
|
|
1535
|
+
return work.placement === "placed" && (work.accountWork === true || !!work.description.trim() && work.classificationRecommendation !== null);
|
|
1536
1536
|
}
|
|
1537
1537
|
/** Explain why a requested Work still has no usable output after rendering. */
|
|
1538
1538
|
function unfinishedPackagingCode(work) {
|
|
@@ -2321,7 +2321,12 @@ const classificationKnownProjectSchema = z.object({
|
|
|
2321
2321
|
repositoryName: safeText,
|
|
2322
2322
|
workspaceIds: z.array(z.string().min(1).max(128)).min(1),
|
|
2323
2323
|
rootSessionIds: z.array(z.string().min(1).max(128)),
|
|
2324
|
-
titles: z.array(safeText).max(5)
|
|
2324
|
+
titles: z.array(safeText).max(5),
|
|
2325
|
+
/**
|
|
2326
|
+
* ADR 0276 slice H: the one rebuilt account Work whose roots share this identity, given only
|
|
2327
|
+
* when the account has never listed a key of these roots. The Skill joins them to it.
|
|
2328
|
+
*/
|
|
2329
|
+
accountWorkId: journeyIdSchema.optional()
|
|
2325
2330
|
}).strict();
|
|
2326
2331
|
const classificationAssignmentSchema = z.object({
|
|
2327
2332
|
rootSessionId: z.string().min(1).max(128),
|
|
@@ -3097,20 +3102,33 @@ const journeyClassificationReadSchema = z.object({
|
|
|
3097
3102
|
/** Classification-only prefix; omitted callers retain full capture verification. */
|
|
3098
3103
|
limit: z.number().int().min(1).max(8).optional()
|
|
3099
3104
|
}).strict();
|
|
3105
|
+
const classificationRootsSchema = z.array(z.string().min(1).max(128)).min(1).max(1e4);
|
|
3106
|
+
/** A new Work the classifier names and describes. */
|
|
3107
|
+
const classificationProjectItemSchema = z.object({
|
|
3108
|
+
projectName: z.string().trim().min(1).max(240),
|
|
3109
|
+
description: z.string().trim().min(1).max(1e3),
|
|
3110
|
+
projectType: journeyProjectTypeSchema,
|
|
3111
|
+
rootSessionIds: classificationRootsSchema,
|
|
3112
|
+
recommendation: z.object({
|
|
3113
|
+
access: journeyAccessSchema,
|
|
3114
|
+
reason: z.string().trim().min(1).max(200)
|
|
3115
|
+
}).strict()
|
|
3116
|
+
}).strict();
|
|
3117
|
+
/**
|
|
3118
|
+
* ADR 0276 slice H: unplaced roots the account has never listed join one rebuilt account Work,
|
|
3119
|
+
* which keeps its id, title, access and marker. It carries no description, project type or
|
|
3120
|
+
* recommendation (Q6).
|
|
3121
|
+
*/
|
|
3122
|
+
const classificationAccountJoinSchema = z.object({
|
|
3123
|
+
accountWorkId: journeyIdSchema,
|
|
3124
|
+
rootSessionIds: classificationRootsSchema
|
|
3125
|
+
}).strict();
|
|
3126
|
+
const isClassificationAccountJoin = (item) => "accountWorkId" in item;
|
|
3100
3127
|
const journeyClassificationSubmitSchema = z.object({
|
|
3101
3128
|
journeyId: journeyIdSchema,
|
|
3102
3129
|
expectedRevision: count$10,
|
|
3103
3130
|
idempotencyKey: journeyIdSchema,
|
|
3104
|
-
items: z.array(z.
|
|
3105
|
-
projectName: z.string().trim().min(1).max(240),
|
|
3106
|
-
description: z.string().trim().min(1).max(1e3),
|
|
3107
|
-
projectType: journeyProjectTypeSchema,
|
|
3108
|
-
rootSessionIds: z.array(z.string().min(1).max(128)).min(1).max(1e4),
|
|
3109
|
-
recommendation: z.object({
|
|
3110
|
-
access: journeyAccessSchema,
|
|
3111
|
-
reason: z.string().trim().min(1).max(200)
|
|
3112
|
-
}).strict()
|
|
3113
|
-
}).strict()).min(1).max(1e3),
|
|
3131
|
+
items: z.array(z.union([classificationProjectItemSchema, classificationAccountJoinSchema])).min(1).max(1e3),
|
|
3114
3132
|
/**
|
|
3115
3133
|
* E2: roots classification has not grouped yet. They wait in one unread Work while the
|
|
3116
3134
|
* listed Works are confirmed and read; a later submission without them completes it.
|
|
@@ -3944,7 +3962,7 @@ function retryAccountRead(state, read, now) {
|
|
|
3944
3962
|
/** Classification confirmation initializes visibility and scan membership for this journey. */
|
|
3945
3963
|
function confirmScope(state, now, decision, accountAccess) {
|
|
3946
3964
|
if (state.scope.status === "confirmed") return state;
|
|
3947
|
-
if (state.classificationRevision === null || !state.works.length || state.works.some((work) => work.placement !== "placed" && work.placement !== "classifying" || work.placement === "placed" && !(work.status === "blocked" && work.access === "drop" && work.accessConfirmed) && (!work.description.trim() || !work.projectType))) throw new ApplicationError("SCOPE_NOT_READY");
|
|
3965
|
+
if (state.classificationRevision === null || !state.works.length || state.works.some((work) => work.placement !== "placed" && work.placement !== "classifying" || work.placement === "placed" && !work.accountWork && !(work.status === "blocked" && work.access === "drop" && work.accessConfirmed) && (!work.description.trim() || !work.projectType))) throw new ApplicationError("SCOPE_NOT_READY");
|
|
3948
3966
|
return withReadingProgress({
|
|
3949
3967
|
...state,
|
|
3950
3968
|
scope: {
|
|
@@ -5580,10 +5598,13 @@ const classificationCommitSchema = z.object({
|
|
|
5580
5598
|
accountSubject: z.string().min(1).max(128).optional(),
|
|
5581
5599
|
/** A failed or mismatched late read (ADR 0277 section 5). */
|
|
5582
5600
|
accountRead: z.enum(["signed-out", "unavailable"]).optional(),
|
|
5583
|
-
|
|
5601
|
+
/** Empty when every classified root joins a rebuilt account Work. */
|
|
5602
|
+
items: z.array(classificationProjectItemSchema.extend({
|
|
5584
5603
|
workId: journeyIdSchema,
|
|
5585
5604
|
workspaceIds: workspaces
|
|
5586
|
-
})).
|
|
5605
|
+
})).max(1e3),
|
|
5606
|
+
/** ADR 0276 slice H: roots added to a rebuilt account Work, one entry per Work. */
|
|
5607
|
+
accountJoins: z.array(classificationAccountJoinSchema.extend({ workspaceIds: workspaces })).max(1e3).optional(),
|
|
5587
5608
|
pending: z.object({
|
|
5588
5609
|
workId: journeyIdSchema,
|
|
5589
5610
|
rootSessionIds: z.array(z.string().min(1).max(128)).min(1).max(1e4),
|
|
@@ -5610,12 +5631,32 @@ function classificationPartition(state) {
|
|
|
5610
5631
|
function sameAccessRecord(work, other) {
|
|
5611
5632
|
return work.access === other?.access && work.accessOrigin === other.accessOrigin && work.accessConfirmed === other.accessConfirmed && work.accessChoice?.channel === other.accessChoice?.channel && work.accessChoice?.at === other.accessChoice?.at && work.accountAccessConflict === other.accountAccessConflict;
|
|
5612
5633
|
}
|
|
5634
|
+
/**
|
|
5635
|
+
* ADR 0276 slice H: the rebuilt Work takes the joined roots and is read again with them. Its
|
|
5636
|
+
* access value never changes. Neither an account proof nor a person's Public choice covered the
|
|
5637
|
+
* new sessions, so Public becomes a suggestion again (D5, agent default); Private stays confirmed.
|
|
5638
|
+
*/
|
|
5639
|
+
function joinedAccountWork(work, join) {
|
|
5640
|
+
const scan = resetWorkScan(work);
|
|
5641
|
+
const { accessChoice: _choice, ...unchosen } = scan;
|
|
5642
|
+
return {
|
|
5643
|
+
...work.access === "public" ? {
|
|
5644
|
+
...unchosen,
|
|
5645
|
+
accessConfirmed: false
|
|
5646
|
+
} : scan,
|
|
5647
|
+
rootSessionIds: [...work.rootSessionIds, ...join.rootSessionIds],
|
|
5648
|
+
sourceWorkspaceIds: [.../* @__PURE__ */ new Set([...work.sourceWorkspaceIds, ...join.workspaceIds])]
|
|
5649
|
+
};
|
|
5650
|
+
}
|
|
5613
5651
|
/** The proposal's Works built from the given state's current Works (E2). */
|
|
5614
5652
|
function classificationWorks(state, plan) {
|
|
5615
5653
|
const late = plan.late;
|
|
5616
|
-
const works =
|
|
5654
|
+
const works = state.works.filter((work) => work.accountWork).map((work) => {
|
|
5655
|
+
const join = plan.accountJoins?.find((item) => item.accountWorkId === work.id);
|
|
5656
|
+
return join ? joinedAccountWork(work, join) : work;
|
|
5657
|
+
});
|
|
5617
5658
|
for (const item of plan.items) {
|
|
5618
|
-
const existing = state.works.find((work) => work.placement !== "classifying" && work.rootSessionIds.length === item.rootSessionIds.length && work.rootSessionIds.every((root) => item.rootSessionIds.includes(root)));
|
|
5659
|
+
const existing = state.works.find((work) => work.placement !== "classifying" && !work.accountWork && work.rootSessionIds.length === item.rootSessionIds.length && work.rootSessionIds.every((root) => item.rootSessionIds.includes(root)));
|
|
5619
5660
|
const owners = late ? state.works.filter((work) => work.placement === "placed" && work.rootSessionIds.some((root) => item.rootSessionIds.includes(root))) : [];
|
|
5620
5661
|
if (owners.some((work) => !sameAccessRecord(work, owners[0]))) throw new ApplicationError("INVALID_SELECTION", "classification.late.several-works");
|
|
5621
5662
|
const extended = owners.find((work) => work.rootSessionIds.every((root) => item.rootSessionIds.includes(root)));
|
|
@@ -5635,7 +5676,7 @@ function classificationWorks(state, plan) {
|
|
|
5635
5676
|
works.push({
|
|
5636
5677
|
...original,
|
|
5637
5678
|
projectName: item.projectName,
|
|
5638
|
-
title: base.titleOrigin === "
|
|
5679
|
+
title: base.titleOrigin === "model" ? item.projectName : base.title,
|
|
5639
5680
|
description: item.description,
|
|
5640
5681
|
projectType: {
|
|
5641
5682
|
type: item.projectType,
|
|
@@ -6126,6 +6167,7 @@ function respondToJourney(state, action, source, now, decision, preferenceScope,
|
|
|
6126
6167
|
return accountRead && confirmed !== state ? withAccountRead(confirmed, accountRead, now) : confirmed;
|
|
6127
6168
|
}
|
|
6128
6169
|
if (action.kind === "account-read") {
|
|
6170
|
+
if (!state.snapshotId && state.accountWorks && state.accountWorks.status !== "read") return state;
|
|
6129
6171
|
if (!accountRead) throw new ApplicationError("INVALID_TRANSITION");
|
|
6130
6172
|
return retryAccountRead(state, accountRead, now);
|
|
6131
6173
|
}
|
|
@@ -6937,7 +6979,7 @@ function digest$1(value) {
|
|
|
6937
6979
|
* quotes stay out. The agent reads override values from `journey.get` and the guidance.
|
|
6938
6980
|
*/
|
|
6939
6981
|
function journeyView(state, now) {
|
|
6940
|
-
const { exceptions, instructions, corrections, valueOverrides, consent, accountRead, rememberedHides: _remembered, ...safe } = state;
|
|
6982
|
+
const { exceptions, instructions, corrections, valueOverrides, consent, accountRead, accountWorks, rememberedHides: _remembered, ...safe } = state;
|
|
6941
6983
|
const terms = activePrivacyTerms(state);
|
|
6942
6984
|
const hidden = dictionaryHides(state, state.privacy.terms);
|
|
6943
6985
|
return {
|
|
@@ -6947,6 +6989,21 @@ function journeyView(state, now) {
|
|
|
6947
6989
|
allowedAt: consent.allowedAt,
|
|
6948
6990
|
source: consent.source
|
|
6949
6991
|
},
|
|
6992
|
+
...accountWorks ? { accountWorks: accountWorks.status === "read" ? {
|
|
6993
|
+
status: accountWorks.status,
|
|
6994
|
+
at: accountWorks.at,
|
|
6995
|
+
leftOut: accountWorks.leftOut.length,
|
|
6996
|
+
heldBack: accountWorks.heldBack.length,
|
|
6997
|
+
...accountWorks.nothingToSend ? { nothingToSend: true } : {}
|
|
6998
|
+
} : {
|
|
6999
|
+
status: accountWorks.status,
|
|
7000
|
+
at: accountWorks.at
|
|
7001
|
+
} } : {},
|
|
7002
|
+
accountReadRecovery: !state.snapshotId && !consentedWithoutAccount(state) && accountWorks && accountWorks.status !== "read" ? {
|
|
7003
|
+
code: accountWorks.status === "unavailable" ? "ACCOUNT_WORKS_UNAVAILABLE" : "ACCOUNT_SIGNED_OUT",
|
|
7004
|
+
action: { kind: "account-read" },
|
|
7005
|
+
choices: ["retry"]
|
|
7006
|
+
} : null,
|
|
6950
7007
|
...accountRead ? { accountRead: {
|
|
6951
7008
|
status: accountRead.status,
|
|
6952
7009
|
at: accountRead.at
|
|
@@ -6960,7 +7017,7 @@ function journeyView(state, now) {
|
|
|
6960
7017
|
const localTitle = work.suggestion || work.explicitTitleId ? work.title : work.classificationMetadata?.title ?? work.title;
|
|
6961
7018
|
const imagesOmitted = hasCurrentStaticReview(state, work) ? work.staticReview?.imagesOmitted ?? 0 : 0;
|
|
6962
7019
|
const source = publicSource(work);
|
|
6963
|
-
const title = work.titleOrigin === "explicit" ? localTitle : presentedTitle(localTitle, hidden.keys(), state.exceptions.filter((item) => item.workId === work.id).map((item) => item.value));
|
|
7020
|
+
const title = work.titleOrigin === "explicit" || work.titleOrigin === "account" ? localTitle : presentedTitle(localTitle, hidden.keys(), state.exceptions.filter((item) => item.workId === work.id).map((item) => item.value));
|
|
6964
7021
|
if (!work.classificationMetadata) return {
|
|
6965
7022
|
...work,
|
|
6966
7023
|
title,
|
|
@@ -7217,7 +7274,7 @@ function createNativeJourney(storage, now = () => (/* @__PURE__ */ new Date()).t
|
|
|
7217
7274
|
if (current && current.phase !== "completed" && !current.abandonedAt && !obsoleteJourney(current)) return resume(current);
|
|
7218
7275
|
const carried = current && !current.abandonedAt && obsoleteJourney(current) ? (current.instructions ?? []).filter((item) => item.actor === "human") : [];
|
|
7219
7276
|
const state = {
|
|
7220
|
-
formatVersion:
|
|
7277
|
+
formatVersion: 11,
|
|
7221
7278
|
classificationRevision: null,
|
|
7222
7279
|
privacy: emptyJourneyPrivacy(),
|
|
7223
7280
|
delegation: null,
|
|
@@ -7367,7 +7424,7 @@ function createNativeJourney(storage, now = () => (/* @__PURE__ */ new Date()).t
|
|
|
7367
7424
|
if (!current) throw new ApplicationError("UNKNOWN_ITEM");
|
|
7368
7425
|
const expectedRevision = rebase ? current.revision : input.expectedRevision;
|
|
7369
7426
|
const scopeRead = input.action.kind === "scope-confirm" && current.scope.status !== "confirmed" && source === "conversation" && !input.decision;
|
|
7370
|
-
const accountRead = current.revision === expectedRevision && (scopeRead || input.action.kind === "account-read") ? await readAccount(current) : void 0;
|
|
7427
|
+
const accountRead = current.revision === expectedRevision && (scopeRead || input.action.kind === "account-read" && current.snapshotId !== null) ? await readAccount(current) : void 0;
|
|
7371
7428
|
const account = current.revision === expectedRevision && (input.action.kind === "consent" && input.action.allow && !current.consent || scopeRead) ? await local?.accountState?.() : void 0;
|
|
7372
7429
|
const stop = scopeRead && accountReadStop(current, accountRead);
|
|
7373
7430
|
if (stop && accountRead) {
|
|
@@ -14345,4 +14402,4 @@ function equivalenceDuplicates(batch) {
|
|
|
14345
14402
|
return bindings.sort();
|
|
14346
14403
|
}
|
|
14347
14404
|
//#endregion
|
|
14348
|
-
export { validateDetectionSummary as $,
|
|
14405
|
+
export { validateDetectionSummary as $, hideKeyId as $n, sendArtifactSchema as $r, journeyPlaceSchema as $t, renewBeforeMs as A, selectionBatchSchema as Ai, scanExclusionResourceSchema as An, nativeRespondSchema as Ar, validateAttemptAppend as At, createApplication as B, freezeConfiguration as Bi, journeySearchResultSchema as Bn, sendReachedPassport as Br, newJourneyWork as Bt, rebindReviewOverlay as C, bExceptionRanges as Ci, scanAliasResourceSchema as Cn, applyCardAnswers as Cr, sendActionSchema as Ct, staticallyHiddenFindings as D, replacementMarkerPattern as Di, scanGitSeedsId as Dn, rememberedHideValues as Dr, sendStartSchema as Dt, guardedFindingText as E, bWordBounded as Ei, scanSessionResourceSchema as En, reconcileReaderKeeps as Er, sendRequestSchema as Et, readAccountAvatarUrl as F, sourceChangePolicy as Fi, journeyInventoryReadSchema as Fn, currentJourneyAdapters as Fr, classificationCommitSchema as Ft, validateInspectionRequest as G, journeyEventSchema as Gn, hasCurrentStaticReview as Gr, hideFinishSchema as Gt, inspectionStartSchema as H, staticCatalogRef as Hi, searchScopeDigest as Hn, metadataProcessingVersion as Hr, journeyContextQuerySchema as Ht, storedCredentialSchema as I, recommendParallelism as Ii, journeyInventorySchema as In, hostDrives as Ir, classificationPartition as It, validateInspectionFence as J, readConfirmedHideChange as Jn, staticSessionResourceSchema as Jr, sendOutputQuerySchema as Jt, inspectionQuerySchema as K, confirmedHideAdditions as Kn, staticReviewDigest as Kr, hidePublishSchema as Kt, sourceIdentityEvidence as L, approvedTreatmentSchema as Li, journeyPreparationProgressSchema as Ln, itemAtPassport as Lr, classificationWorks as Lt, deviceAuthorizationSchema as M, gitMetadataBudgetBytes as Mi, resolveSourceSelection as Mn, retryReviewActionSchema as Mr, journeyBatchReadSchema as Mt, deviceProfileScopeSchema as N, producerVersion as Ni, projectPreparationProgress as Nn, advanceStepsSend as Nr, journeyReviewStorageQuerySchema as Nt, createAccount as O, commandSchema as Oi, scanGitSeedsResource as On, nativeEventsSchema as Or, settleCorrections as Ot, profileUrlMatchesIdentity as P, stateSchema as Pi, journeyInventoryQuerySchema as Pn, awaitingPassport as Pr, applyClassificationProposal as Pt, validateInspectionContribution as Q, addHideIndexTokens as Qn, journeySendSchema as Qr, journeyIsolateSchema as Qt, withSourceEvidence as R, effectiveTreatmentSchema as Ri, accountReadStop as Rn, obsoleteJourney as Rr, retireScanGeneration as Rt, rebindReviewAlignment as S, bContainment as Si, planBRepair as Sn, requestedScope as Sr, replaceSensitiveTermsSchema as St, reviewBatchReuse as T, bTermMatcher as Ti, scanPreparationDigest as Tn, privacyDecisionDigest as Tr, sendPrepareSchema as Tt, validateInspectionBatch as U, journeyCommitResultSchema as Un, nativeAdapterVersions as Ur, journeyContextSchema as Ut, inspectionCancelSchema as V, selectFrozenConfiguration as Vi, journeySearchSaveSchema as Vn, sendsOnNextAdvance as Vr, reviewCompileSchema as Vt, validateInspectionBatches as W, journeyCommitSchema as Wn, mergePrivacyTerms as Wr, hideBeginSchema as Wt, validateInspectionInputs as X, settleConfirmedHides as Xn, agentSourceSchema as Xr, journeyResourceQuerySchema as Xt, validateInspectionHead as Y, renderedHideValue as Yn, agentSourcePathSegment as Yr, sendOutputSchema as Yt, validateInspectionQuery as Z, termHideAdditions as Zn, agentSourcesSchema as Zr, journeyResourceSchema as Zt, changeJourney as _, confirmedHideTerms as _i, reviewRepairInputSchema as _n, journeyFindingsSchema as _r, manualUploadStartSchema as _t, bCrossSegmentReviewSchema as a, hasCompleteWorkDescription as ai, sessionReconcileResultSchema as an, workCorrectionBinding as ar, appendSensitiveTerms as at, isGenericPublicTerm as b, maskedHitsStale as bi, bReviewDigest as bn, journeyRenderSchema as br, maximumTermsFileBytes as bt, reconstructBFields as c, isReadingComplete as ci, sessionRereadResourceSchema as cn, preparationPermissionSchema as cr, maximumAgentSetupSessions as ct, resolveGroupSplit as d, selectedWorks as di, sessionReviewResourceSchema as dn, preparationStateSchema as dr, validateFailureLocation as dt, sendReceiptSchema as ei, sortingApplySchema as en, maximumHideIndexTokens as er, inspectionInputs as et, selectedValueMembers as f, unfinishedPackagingCode as fi, sessionReviewStatusSchema as fn, preparationUpdateSchema as fr, manualUploadActionSchema as ft, semanticGroupKey as g, confirmedHideKinds as gi, reviewCandidateResourceSchema as gn, journeyFindingImpactSchema as gr, manualUploadSchema as gt, hideScopeDigest as h, confirmedHideKey as hi, reviewCandidateInputSchema as hn, journeyClassificationSessionsSchema as hr, manualUploadPrepareSchema as ht, validateBCrossSegmentReview as i, sendSettingsSchema as ii, sessionReconcileInputSchema as in, workPrivacyDecisions as ir, reviewInventory as it, accountProfileSchema as j, selectionSchema as ji, validateScanExclusion as jn, nativeStartSchema as jr, journeyGuidance as jt, renew as k, packageCommandSchema as ki, verifiedScanGitSeeds as kn, nativeGetSchema as kr, attemptBudgetCodePoints as kt, chooseCheapPlacement as l, isSelectedWork as li, sessionReviewInputSchema as ln, preparationSettlementSchema as lr, artifactFailureDetailSchema as lt, activeJourneyTerms as m, confirmedHideGroupIds as mi, sessionUsefulnessResourceSchema as mn, isClassificationAccountJoin as mr, manualUploadChoiceSchema as mt, scanBatchEquivalenceDigest as n, sendResolutionSchema as ni, reviewAttemptsQuerySchema as nn, retireWorkDescription as nr, settingsQuerySchema as nt, bRereadDigest as o, isClassifying as oi, sessionReconciliationResourceSchema as on, emptyPreparationFacts as or, classifyAgentSetup as ot, splitSelectorValues as p, withReadingProgress as pi, sessionUsefulnessInputSchema as pn, validatePreparationFacts as pr, manualUploadBindingSchema as pt, validateInspectionClaim as q, confirmedHideDeltaSchema as qn, staticSessionId as qr, journeyPolicyRespondSchema as qt, locateTermEvidence as r, sendSessionUploadSchema as ri, reviewAttemptsResultSchema as rn, workDecisionDigest as rr, readWorkspaceOutcomes as rt, reconcileBSession as s, isIncludedWork as si, sessionRereadInputSchema as sn, preparationBeginSchema as sr, defaultAgentSetupInclusion as st, scanBatchContextDigest as t, sendReplaceResultSchema as ti, reviewAttemptResourceSchema as tn, packHideIndex as tr, settingsBatchSchema as tt, reviseGroupMembership as u, isSkippedWork as ui, sessionReviewQuerySchema as un, preparationStartSchema as ur, resolveFailureLocation as ut, projectJourneyInventory as v, dictionaryHides as vi, reviewRepairResourceSchema as vn, journeyPreviewSchema as vr, candidateSortAvailable as vt, rebindReviewSubmit as w, bMaskedHits as wi, scanCanonicalResourceSchema as wn, assertJourneyPrivacyReady as wr, sendChoiceSchema as wt, bReviewScope as x, syncTermGroups as xi, mergeBRepair as xn, displayedScopeDigest as xr, normalizeSensitiveTerms as xt, preparationScope as y, journeyConfirmedHides as yi, reviewTransportBytes as yn, journeyRenderInputSchema as yr, emptyTermsRevision as yt, agentSetupKey as z, defaultScopedSettings as zi, applyClassification as zn, sendOwesPassport as zr, isolatedWorkId as zt };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { a as isRecord, i as errorCode, n as checkDiscoveryAbort, o as unresolvedMetadata, r as discoveryBounds, t as DiscoveryWarnings } from "./model-
|
|
4
|
-
import { c as previewLimits, d as checkOpenSource, f as checkSource, h as openSource, i as pageFits, l as previewSourceVersion, m as noSymlinks, p as fileSnapshot, r as previewHeapLimits, s as previewMessageSchema, u as createZstdFrameCheck } from "./run-
|
|
1
|
+
import { $n as retainedMainTextNodes, Cr as processingSite, Fn as walkNativeFields, Hn as parseNativeRecord, Jn as nativeField, Xn as nativeText, Yn as nativeItems, ar as defaultLimits, br as declaredVersion, hn as sourceSnapshotId, mn as observeSource, qn as nativeBoolean, yr as ProcessingError } from "./locate-LpCex6Xj.mjs";
|
|
2
|
+
import { Mi as gitMetadataBudgetBytes, Ur as nativeAdapterVersions, it as reviewInventory } from "./src-CHy3-siB.mjs";
|
|
3
|
+
import { a as isRecord, i as errorCode, n as checkDiscoveryAbort, o as unresolvedMetadata, r as discoveryBounds, t as DiscoveryWarnings } from "./model-BEWsfkIU.mjs";
|
|
4
|
+
import { c as previewLimits, d as checkOpenSource, f as checkSource, h as openSource, i as pageFits, l as previewSourceVersion, m as noSymlinks, p as fileSnapshot, r as previewHeapLimits, s as previewMessageSchema, u as createZstdFrameCheck } from "./run-P_uZgSYa.mjs";
|
|
5
5
|
import { a as titleHintLimits, n as titleHeapLimits, o as titleInputSchema, r as decodeTitleError, s as titleReplySchema } from "./heap-1FYhGds4.mjs";
|
|
6
6
|
import { constants } from "node:fs";
|
|
7
7
|
import { access, constants as constants$1, lstat, open, opendir, readFile, readdir, realpath, stat } from "node:fs/promises";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { $n as
|
|
2
|
-
import { t as createZstdFrameCheck } from "./frame-
|
|
3
|
-
import {
|
|
1
|
+
import { $n as retainedMainTextNodes, An as bindInspection, Bn as sessionNonce, Cn as processNativeRecord, Cr as processingSite, D as bBindingCap, Dn as createSentenceContext, En as reviewRoles, Fn as walkNativeFields, Gn as nativeParserVersion, Hn as parseNativeRecord, Jn as nativeField, Kn as redactionImplementationVersion, Nn as createDetectionSummary, On as renderNative, Qn as frameRecords, Sn as withMandatoryCustomTerms, Sr as isProcessingCode, Tn as mainReviewRole, Un as cleanupImplementationVersion, Vn as projectNativeRecord, Wn as entityDictionaryVersion, X as bDigest, Xn as nativeText, Yn as nativeItems, Z as codePointLength, Zn as transformRecords, an as ApplicationError, ar as defaultLimits, cr as detectStatic, dn as reviewFamilies, dr as jsonSpans, er as validateProfile, f as textDigest, fr as agentContextLocation, hn as sourceSnapshotId, k as bDuplicateShift, kn as createSessionPreparation, nr as buildPlan, or as recordPointerLimits, pn as sourceKey, pr as createEntityMatcher, rr as validatePlan, sn as safeCode, sr as resolveLimits, u as reviewDigest, un as familySelected, vr as defaultDetectionLimits, w as createBAnalysisUnits, wn as projectNativeReviewInput, wr as siteFields, xn as nativeSourceIdentitySchema, xr as fail$1, yr as ProcessingError, zn as createReplacementKey } from "./locate-LpCex6Xj.mjs";
|
|
2
|
+
import { t as createZstdFrameCheck } from "./frame-0v_mLdvG.mjs";
|
|
3
|
+
import { Ci as bExceptionRanges, Di as replacementMarkerPattern, Ei as bWordBounded, Fi as sourceChangePolicy, Hi as staticCatalogRef, Hr as metadataProcessingVersion, L as sourceIdentityEvidence, Li as approvedTreatmentSchema, Mn as resolveSourceSelection, R as withSourceEvidence, Si as bContainment, Xr as agentSourceSchema, Yr as agentSourcePathSegment, ot as classifyAgentSetup, st as defaultAgentSetupInclusion, z as agentSetupKey } from "./src-CHy3-siB.mjs";
|
|
4
4
|
import { constants } from "node:fs";
|
|
5
5
|
import { link, lstat, mkdir, open, readFile, readdir, realpath, rm, rmdir, stat, unlink } from "node:fs/promises";
|
|
6
6
|
import { execFile, fork, spawn } from "node:child_process";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as createExecutor, t as assertStoreHeap } from "./heap-
|
|
1
|
+
import { i as createExecutor, t as assertStoreHeap } from "./heap-aWke8lrK.mjs";
|
|
2
2
|
import { parentPort } from "node:worker_threads";
|
|
3
3
|
//#region packages/local-host/src/store/worker/entry.ts
|
|
4
4
|
if (!parentPort) throw new Error("STORE_WORKER_REQUIRED");
|