@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.
Files changed (50) hide show
  1. package/dist/{agent-setup-B85GaVIz.mjs → agent-setup-B8DAiQ6Z.mjs} +2 -2
  2. package/dist/agent-setup-worker.mjs +5 -5
  3. package/dist/cli.mjs +108 -9
  4. package/dist/codex-title-worker.mjs +1 -1
  5. package/dist/configured-preview-worker.mjs +5 -5
  6. package/dist/configured-session-worker.mjs +4 -4
  7. package/dist/{frame-D1j9R8xX.mjs → frame-waS5FnN5.mjs} +1 -1
  8. package/dist/{heap-tfU61Ehy.mjs → heap-BHcvxWCw.mjs} +20 -8
  9. package/dist/inspection-worker.mjs +57 -0
  10. package/dist/{job--TceKk0l.mjs → job-J3NFw3MH.mjs} +2 -2
  11. package/dist/{locate-Bn32k2se.mjs → locate-U3-nkird.mjs} +29 -6
  12. package/dist/messages-D3m3bhva.mjs +40 -0
  13. package/dist/{model-7Nu7szNP.mjs → model-BJdTLNjT.mjs} +1 -1
  14. package/dist/operation-executor.mjs +3 -3
  15. package/dist/preview-worker.mjs +1 -1
  16. package/dist/privacy-validator.mjs +1 -1
  17. package/dist/{query-Da-KDbSV.mjs → query-BA0XCwnR.mjs} +486 -128
  18. package/dist/{run-CCATsHS2.mjs → run-BeLHsZWb.mjs} +4 -4
  19. package/dist/{src-DynBRDBc.mjs → src-B5SArpVY.mjs} +20 -9
  20. package/dist/{src-CPPjOyHZ.mjs → src-CC95LYYp.mjs} +271 -68
  21. package/dist/{src-BngGpFKd.mjs → src-k0Ya1Bri.mjs} +13 -7
  22. package/dist/store-database-worker.mjs +1 -1
  23. package/dist/web/assets/index-Bjos73wK.js +67 -0
  24. package/dist/web/assets/index-Bl4C2b2_.css +1 -0
  25. package/dist/web/index.html +2 -2
  26. package/package.json +1 -1
  27. package/skills/tacitt/SKILL.md +13 -11
  28. package/skills/tacitt/references/b-method.md +1 -1
  29. package/skills/tacitt/references/classification.md +3 -3
  30. package/skills/tacitt/references/commands.md +6 -6
  31. package/skills/tacitt/references/journey.md +13 -11
  32. package/skills/tacitt/references/parallel-review.md +3 -3
  33. package/skills/tacitt/references/send.md +5 -5
  34. package/skills/tacitt/scripts/answer.mjs +29 -8
  35. package/skills/tacitt/scripts/journey-card-consolidation.d.mts +13 -4
  36. package/skills/tacitt/scripts/journey-card-consolidation.mjs +81 -18
  37. package/skills/tacitt/scripts/journey-classification-progress.mjs +2 -1
  38. package/skills/tacitt/scripts/journey-classification-validation.mjs +49 -28
  39. package/skills/tacitt/scripts/journey-consolidation-submit.mjs +42 -5
  40. package/skills/tacitt/scripts/journey-consolidation.d.mts +5 -0
  41. package/skills/tacitt/scripts/journey-consolidation.mjs +4 -1
  42. package/skills/tacitt/scripts/journey-state.d.mts +1 -0
  43. package/skills/tacitt/scripts/journey-state.mjs +29 -3
  44. package/skills/tacitt/scripts/journey-tasks.mjs +4 -2
  45. package/skills/tacitt/scripts/journey.d.mts +2 -0
  46. package/skills/tacitt/scripts/journey.mjs +154 -13
  47. package/skills/tacitt/scripts/privacy-validator.mjs +25 -6
  48. package/skills/tacitt/scripts/review.mjs +24 -3
  49. package/dist/web/assets/index-CWQ05PFl.js +0 -67
  50. 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-Bn32k2se.mjs";
2
- import { t as createZstdFrameCheck } from "./frame-D1j9R8xX.mjs";
3
- import { Fn as bWordBounded, I as sourceIdentityEvidence, L as withSourceEvidence, Mn as bExceptionRanges, Pt as metadataProcessingVersion, R as agentSetupKey, Yr as sourceChangePolicy, Zr as approvedTreatmentSchema, at as defaultAgentSetupInclusion, dr as resolveSourceSelection, it as classifyAgentSetup, jn as bContainment, ni as staticCatalogRef } from "./src-CPPjOyHZ.mjs";
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
- const snapshots = await prepareSources(request, owner, metadata, agentSetup?.add);
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-tfU61Ehy.mjs";
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");