@gitroll/tacitt-cli 0.1.0 → 0.2.0
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-B85GaVIz.mjs → agent-setup-B8DAiQ6Z.mjs} +2 -2
- package/dist/agent-setup-worker.mjs +5 -5
- package/dist/cli.mjs +108 -9
- package/dist/codex-title-worker.mjs +1 -1
- package/dist/configured-preview-worker.mjs +5 -5
- package/dist/configured-session-worker.mjs +4 -4
- package/dist/{frame-D1j9R8xX.mjs → frame-waS5FnN5.mjs} +1 -1
- package/dist/{heap-tfU61Ehy.mjs → heap-BHcvxWCw.mjs} +20 -8
- package/dist/inspection-worker.mjs +57 -0
- package/dist/{job--TceKk0l.mjs → job-J3NFw3MH.mjs} +2 -2
- package/dist/{locate-Bn32k2se.mjs → locate-U3-nkird.mjs} +29 -6
- package/dist/messages-D3m3bhva.mjs +40 -0
- package/dist/{model-7Nu7szNP.mjs → model-BJdTLNjT.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-Da-KDbSV.mjs → query-BA0XCwnR.mjs} +486 -128
- package/dist/{run-CCATsHS2.mjs → run-BeLHsZWb.mjs} +4 -4
- package/dist/{src-DynBRDBc.mjs → src-B5SArpVY.mjs} +20 -9
- package/dist/{src-CPPjOyHZ.mjs → src-CC95LYYp.mjs} +271 -68
- package/dist/{src-BngGpFKd.mjs → src-k0Ya1Bri.mjs} +13 -7
- package/dist/store-database-worker.mjs +1 -1
- package/dist/web/assets/index-Bjos73wK.js +67 -0
- package/dist/web/assets/index-Bl4C2b2_.css +1 -0
- package/dist/web/index.html +2 -2
- package/package.json +1 -1
- package/skills/tacitt/SKILL.md +13 -11
- package/skills/tacitt/references/b-method.md +1 -1
- package/skills/tacitt/references/classification.md +3 -3
- package/skills/tacitt/references/commands.md +6 -6
- package/skills/tacitt/references/journey.md +13 -11
- package/skills/tacitt/references/parallel-review.md +3 -3
- package/skills/tacitt/references/send.md +5 -5
- package/skills/tacitt/scripts/answer.mjs +29 -8
- package/skills/tacitt/scripts/journey-card-consolidation.d.mts +13 -4
- package/skills/tacitt/scripts/journey-card-consolidation.mjs +81 -18
- package/skills/tacitt/scripts/journey-classification-progress.mjs +2 -1
- package/skills/tacitt/scripts/journey-classification-validation.mjs +49 -28
- package/skills/tacitt/scripts/journey-consolidation-submit.mjs +42 -5
- package/skills/tacitt/scripts/journey-consolidation.d.mts +5 -0
- package/skills/tacitt/scripts/journey-consolidation.mjs +4 -1
- package/skills/tacitt/scripts/journey-state.d.mts +1 -0
- package/skills/tacitt/scripts/journey-state.mjs +29 -3
- package/skills/tacitt/scripts/journey-tasks.mjs +4 -2
- package/skills/tacitt/scripts/journey.d.mts +2 -0
- package/skills/tacitt/scripts/journey.mjs +154 -13
- package/skills/tacitt/scripts/privacy-validator.mjs +25 -6
- package/skills/tacitt/scripts/review.mjs +24 -3
- package/dist/web/assets/index-CWQ05PFl.js +0 -67
- package/dist/web/assets/index-J-AWt_cW.css +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Bn as validatePlan, Cn as sessionNonce, Dn as entityDictionaryVersion, En as cleanupImplementationVersion, Fn as frameRecords, Gn as detectStatic, H as codePointLength, Hn as defaultLimits, Ht as ApplicationError, In as retainedMainTextNodes, Jn as jsonSpans, Jt as reviewFamilies, Ln as validateProfile, Nn as nativeText, On as nativeParserVersion, Pn as transformRecords, Qt as sourceSnapshotId, Sn as createReplacementKey, Tn as parseNativeRecord, Un as recordPointerLimits, V as bDigest, Wn as resolveLimits, Wt as safeCode, Xn as createEntityMatcher, Xt as sourceKey, Yn as agentContextLocation, an as withMandatoryCustomTerms, c as textDigest, cn as mainReviewRole, dn as renderNative, fn as createSessionPreparation, gn as createDetectionSummary, in as nativeSourceIdentitySchema, ir as isProcessingCode, j as bDuplicateShift, jn as nativeField, k as bBindingCap, kn as redactionImplementationVersion, ln as reviewRoles, nr as ProcessingError, o as reviewDigest, on as processNativeRecord, pn as bindInspection, qt as familySelected, rr as fail$1, sn as projectNativeReviewInput, tr as defaultDetectionLimits, un as createSentenceContext, vn as walkNativeFields, wn as projectNativeRecord, x as createBAnalysisUnits, zn as buildPlan } from "./locate-
|
|
2
|
-
import { t as createZstdFrameCheck } from "./frame-
|
|
3
|
-
import {
|
|
1
|
+
import { Bn as validatePlan, Cn as sessionNonce, Dn as entityDictionaryVersion, En as cleanupImplementationVersion, Fn as frameRecords, Gn as detectStatic, H as codePointLength, Hn as defaultLimits, Ht as ApplicationError, In as retainedMainTextNodes, Jn as jsonSpans, Jt as reviewFamilies, Ln as validateProfile, Nn as nativeText, On as nativeParserVersion, Pn as transformRecords, Qt as sourceSnapshotId, Sn as createReplacementKey, Tn as parseNativeRecord, Un as recordPointerLimits, V as bDigest, Wn as resolveLimits, Wt as safeCode, Xn as createEntityMatcher, Xt as sourceKey, Yn as agentContextLocation, an as withMandatoryCustomTerms, c as textDigest, cn as mainReviewRole, dn as renderNative, fn as createSessionPreparation, gn as createDetectionSummary, in as nativeSourceIdentitySchema, ir as isProcessingCode, j as bDuplicateShift, jn as nativeField, k as bBindingCap, kn as redactionImplementationVersion, ln as reviewRoles, nr as ProcessingError, o as reviewDigest, on as processNativeRecord, pn as bindInspection, qt as familySelected, rr as fail$1, sn as projectNativeReviewInput, tr as defaultDetectionLimits, un as createSentenceContext, vn as walkNativeFields, wn as projectNativeRecord, x as createBAnalysisUnits, zn as buildPlan } from "./locate-U3-nkird.mjs";
|
|
2
|
+
import { t as createZstdFrameCheck } from "./frame-waS5FnN5.mjs";
|
|
3
|
+
import { $r as sourceChangePolicy, It as metadataProcessingVersion, L as sourceIdentityEvidence, Ln as bWordBounded, Nn as bContainment, Pn as bExceptionRanges, R as withSourceEvidence, oi as staticCatalogRef, ot as classifyAgentSetup, pr as resolveSourceSelection, st as defaultAgentSetupInclusion, ti as approvedTreatmentSchema, z as agentSetupKey } from "./src-CC95LYYp.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";
|
|
@@ -4025,7 +4025,7 @@ function nativeIdentityKey(value) {
|
|
|
4025
4025
|
]
|
|
4026
4026
|
]);
|
|
4027
4027
|
}
|
|
4028
|
-
async function prepareSources(request, owner, metadata, collect) {
|
|
4028
|
+
async function prepareSources(request, owner, metadata, collect, onImages) {
|
|
4029
4029
|
if (request.sources.length === 0 || request.sources.length > 1e4) fail("ARTIFACT_EMPTY_SCOPE");
|
|
4030
4030
|
requireCurrentCleanup(request.treatment.cleanup);
|
|
4031
4031
|
const snapshots = /* @__PURE__ */ new Map();
|
|
@@ -4050,6 +4050,7 @@ async function prepareSources(request, owner, metadata, collect) {
|
|
|
4050
4050
|
inspector.inspect(root);
|
|
4051
4051
|
collect?.(root);
|
|
4052
4052
|
const selection = retain(root);
|
|
4053
|
+
if (selection.images) onImages?.(selection.images);
|
|
4053
4054
|
prepareOriginals(root, selection, adapter.annotations(root, nativeOptions, selection), owner.preparation, owner.limits, owner.signal);
|
|
4054
4055
|
ordinal += 1;
|
|
4055
4056
|
}
|
|
@@ -4913,7 +4914,10 @@ async function prepareConfiguredSession(request) {
|
|
|
4913
4914
|
const metadata = metadataRoot(request, owner.limits);
|
|
4914
4915
|
const gitIdentity = await prepareGit(request, owner.signal, owner.preparation);
|
|
4915
4916
|
const agentSetup = request.collectAgentSetup ? createAgentSetupCollector(request) : void 0;
|
|
4916
|
-
|
|
4917
|
+
let images = 0;
|
|
4918
|
+
const snapshots = await prepareSources(request, owner, metadata, agentSetup?.add, (count) => {
|
|
4919
|
+
images += count;
|
|
4920
|
+
});
|
|
4917
4921
|
owner.seal();
|
|
4918
4922
|
guardSourceIdentities(request, owner);
|
|
4919
4923
|
const finished = /* @__PURE__ */ new Set();
|
|
@@ -4977,7 +4981,8 @@ async function prepareConfiguredSession(request) {
|
|
|
4977
4981
|
metadata: processedMetadata.text,
|
|
4978
4982
|
...processedMetadata.masks === void 0 ? {} : { metadataMasks: processedMetadata.masks },
|
|
4979
4983
|
sources: Object.freeze(sources),
|
|
4980
|
-
agentSetup: Object.freeze(setup)
|
|
4984
|
+
agentSetup: Object.freeze(setup),
|
|
4985
|
+
images
|
|
4981
4986
|
});
|
|
4982
4987
|
await owner.close();
|
|
4983
4988
|
completion = result;
|
|
@@ -11039,7 +11044,8 @@ async function runConfiguredSessionJob(job, processing, signal, onSourceProgress
|
|
|
11039
11044
|
metadata: completed.metadata,
|
|
11040
11045
|
parts,
|
|
11041
11046
|
entries,
|
|
11042
|
-
agentSetup: completed.agentSetup
|
|
11047
|
+
agentSetup: completed.agentSetup,
|
|
11048
|
+
images: completed.images
|
|
11043
11049
|
};
|
|
11044
11050
|
} catch (error) {
|
|
11045
11051
|
cleanup.failed(error);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as createExecutor, t as assertStoreHeap } from "./heap-
|
|
1
|
+
import { i as createExecutor, t as assertStoreHeap } from "./heap-BHcvxWCw.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");
|