@gitroll/tacitt-cli 0.6.11 → 0.6.13

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 (57) hide show
  1. package/README.md +4 -0
  2. package/bin/INDEX.md +6 -4
  3. package/bin/tacitt.cjs +1 -0
  4. package/dist/{agent-setup-DdfF3zch.mjs → agent-setup-Doy_AnPY.mjs} +2 -2
  5. package/dist/agent-setup-worker.mjs +5 -5
  6. package/dist/cli.mjs +32 -32
  7. package/dist/codex-title-worker.mjs +2 -2
  8. package/dist/configured-preview-worker.mjs +5 -5
  9. package/dist/configured-session-worker.mjs +23 -25
  10. package/dist/{frame-Bq2zRh-i.mjs → frame-BPbypzmt.mjs} +1 -1
  11. package/dist/{heap-CV8Eca8V.mjs → heap-DCS_WXIA.mjs} +264 -23
  12. package/dist/inspection-worker.mjs +4 -4
  13. package/dist/{job-BKsifhyv.mjs → job--zxwgaPy.mjs} +155 -41
  14. package/dist/{locate-Cx52Zqxv.mjs → locate-PLEyLYW-.mjs} +292 -236
  15. package/dist/{model-C1UXkHh9.mjs → model-CyXvsWLz.mjs} +1 -1
  16. package/dist/operation-executor.mjs +3 -3
  17. package/dist/preview-worker.mjs +1 -1
  18. package/dist/privacy-validator.mjs +28 -8
  19. package/dist/{query-AMZerUh8.mjs → query-BC7MIaWc.mjs} +1914 -759
  20. package/dist/{run-CaPktPhH.mjs → run-Dod7Vykp.mjs} +6 -6
  21. package/dist/session-process.mjs +20 -0
  22. package/dist/{src-DlVbGB32.mjs → src-CP-K2PBv.mjs} +2100 -1649
  23. package/dist/{src-D1iONla3.mjs → src-CttNuxOn.mjs} +925 -630
  24. package/dist/{src-wZx_v0Ih.mjs → src-dL6y2mcu.mjs} +180 -30
  25. package/dist/store-database-worker.mjs +1 -1
  26. package/dist/web/assets/index-BgDdPL1c.js +172 -0
  27. package/dist/web/index.html +2 -1
  28. package/package.json +2 -1
  29. package/skills/INDEX.md +6 -4
  30. package/skills/tacitt/INDEX.md +7 -6
  31. package/skills/tacitt/SKILL.md +7 -7
  32. package/skills/tacitt/references/INDEX.md +14 -11
  33. package/skills/tacitt/references/b-method.md +6 -4
  34. package/skills/tacitt/references/bootstrap.md +18 -4
  35. package/skills/tacitt/references/classification.md +1 -1
  36. package/skills/tacitt/references/commands.md +34 -10
  37. package/skills/tacitt/references/journey.md +7 -7
  38. package/skills/tacitt/references/parallel-review.md +31 -12
  39. package/skills/tacitt/references/remote-workers.md +6 -2
  40. package/skills/tacitt/references/send.md +7 -3
  41. package/skills/tacitt/scripts/INDEX.md +40 -37
  42. package/skills/tacitt/scripts/answer.mjs +31 -2
  43. package/skills/tacitt/scripts/describe.mjs +3 -2
  44. package/skills/tacitt/scripts/journey-card-consolidation.mjs +1 -1
  45. package/skills/tacitt/scripts/journey-classification-tasks.mjs +28 -8
  46. package/skills/tacitt/scripts/journey-classification.mjs +1 -0
  47. package/skills/tacitt/scripts/journey-panel-host.d.mts +2 -0
  48. package/skills/tacitt/scripts/journey-panel-host.mjs +25 -2
  49. package/skills/tacitt/scripts/journey-scan-timing.d.mts +4 -0
  50. package/skills/tacitt/scripts/journey-scan-timing.mjs +15 -2
  51. package/skills/tacitt/scripts/journey-state.mjs +11 -0
  52. package/skills/tacitt/scripts/journey-tasks.mjs +12 -5
  53. package/skills/tacitt/scripts/journey.mjs +11 -3
  54. package/skills/tacitt/scripts/privacy-validator.mjs +112 -40
  55. package/skills/tacitt/scripts/review.d.mts +1 -0
  56. package/skills/tacitt/scripts/review.mjs +680 -119
  57. package/dist/web/assets/index-CYl7eDUu.js +0 -172
@@ -1,7 +1,7 @@
1
- import { hn as sessionSchema } from "./locate-Cx52Zqxv.mjs";
2
- import { t as createZstdFrameCheck$1 } from "./frame-Bq2zRh-i.mjs";
3
- import "./src-D1iONla3.mjs";
4
- import { a as isRecord } from "./model-C1UXkHh9.mjs";
1
+ import { _n as sessionSchema } from "./locate-PLEyLYW-.mjs";
2
+ import { t as createZstdFrameCheck$1 } from "./frame-BPbypzmt.mjs";
3
+ import "./src-CttNuxOn.mjs";
4
+ import { a as isRecord } from "./model-CyXvsWLz.mjs";
5
5
  import { constants } from "node:fs";
6
6
  import { z } from "zod";
7
7
  import { lstat, open, stat } from "node:fs/promises";
@@ -10,7 +10,7 @@ import { dirname, isAbsolute, relative, resolve, sep } from "node:path";
10
10
  import { PassThrough, Readable } from "node:stream";
11
11
  import { createHash } from "node:crypto";
12
12
  import { pipeline } from "node:stream/promises";
13
- import { constants as constants$1, createZstdDecompress } from "node:zlib";
13
+ import { constants as constants$2, createZstdDecompress } from "node:zlib";
14
14
  import { getHeapStatistics } from "node:v8";
15
15
  import { lintSource } from "@secretlint/core";
16
16
  import { creator } from "@secretlint/secretlint-rule-aws";
@@ -239,7 +239,7 @@ async function* previewChunks(part) {
239
239
  });
240
240
  const decoded = part.representation === "jsonl.zst" ? createZstdDecompress({
241
241
  chunkSize: 65536,
242
- params: { [constants$1.ZSTD_d_windowLogMax]: previewLimits.zstdWindowLogMax }
242
+ params: { [constants$2.ZSTD_d_windowLogMax]: previewLimits.zstdWindowLogMax }
243
243
  }) : new PassThrough({ highWaterMark: 65536 });
244
244
  const cancellation = new AbortController();
245
245
  const completion = pipeline(input, decoded, { signal: cancellation.signal }).then(() => true, () => false);
@@ -22,6 +22,7 @@ const worker = new Worker(new URL(entry), {
22
22
  });
23
23
  worker.stdout.resume();
24
24
  worker.stderr.resume();
25
+ let claim;
25
26
  let busy = false;
26
27
  let terminal = false;
27
28
  let sending = false;
@@ -60,6 +61,13 @@ process.on("message", (message) => {
60
61
  worker.terminate();
61
62
  return;
62
63
  }
64
+ if (typeof message === "object" && message !== null && Reflect.get(message, "kind") === "spool-owned") {
65
+ if (!busy || !claim || Reflect.get(message, "path") !== claim.path) return fail();
66
+ Atomics.store(claim.receipt, 0, 1);
67
+ Atomics.notify(claim.receipt, 0);
68
+ claim = void 0;
69
+ return;
70
+ }
63
71
  if (busy || terminal) {
64
72
  fail();
65
73
  return;
@@ -77,6 +85,18 @@ worker.on("message", (message) => {
77
85
  fail();
78
86
  return;
79
87
  }
88
+ if (message.kind === "spool-claim") {
89
+ if (claim || !("path" in message) || typeof message.path !== "string" || !("receipt" in message) || !(message.receipt instanceof SharedArrayBuffer) || message.receipt.byteLength !== Int32Array.BYTES_PER_ELEMENT) return fail();
90
+ claim = {
91
+ path: message.path,
92
+ receipt: new Int32Array(message.receipt)
93
+ };
94
+ enqueue({
95
+ kind: "spool",
96
+ path: claim.path
97
+ });
98
+ return;
99
+ }
80
100
  if (message.kind === "source" && "bytes" in message && typeof message.bytes === "number") {
81
101
  const last = pending.at(-1);
82
102
  if (last && "kind" in last && last.kind === "source" && "bytes" in last && typeof last.bytes === "number") {