@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.
- package/README.md +4 -0
- package/bin/INDEX.md +6 -4
- package/bin/tacitt.cjs +1 -0
- package/dist/{agent-setup-DdfF3zch.mjs → agent-setup-Doy_AnPY.mjs} +2 -2
- package/dist/agent-setup-worker.mjs +5 -5
- package/dist/cli.mjs +32 -32
- package/dist/codex-title-worker.mjs +2 -2
- package/dist/configured-preview-worker.mjs +5 -5
- package/dist/configured-session-worker.mjs +23 -25
- package/dist/{frame-Bq2zRh-i.mjs → frame-BPbypzmt.mjs} +1 -1
- package/dist/{heap-CV8Eca8V.mjs → heap-DCS_WXIA.mjs} +264 -23
- package/dist/inspection-worker.mjs +4 -4
- package/dist/{job-BKsifhyv.mjs → job--zxwgaPy.mjs} +155 -41
- package/dist/{locate-Cx52Zqxv.mjs → locate-PLEyLYW-.mjs} +292 -236
- package/dist/{model-C1UXkHh9.mjs → model-CyXvsWLz.mjs} +1 -1
- package/dist/operation-executor.mjs +3 -3
- package/dist/preview-worker.mjs +1 -1
- package/dist/privacy-validator.mjs +28 -8
- package/dist/{query-AMZerUh8.mjs → query-BC7MIaWc.mjs} +1914 -759
- package/dist/{run-CaPktPhH.mjs → run-Dod7Vykp.mjs} +6 -6
- package/dist/session-process.mjs +20 -0
- package/dist/{src-DlVbGB32.mjs → src-CP-K2PBv.mjs} +2100 -1649
- package/dist/{src-D1iONla3.mjs → src-CttNuxOn.mjs} +925 -630
- package/dist/{src-wZx_v0Ih.mjs → src-dL6y2mcu.mjs} +180 -30
- package/dist/store-database-worker.mjs +1 -1
- package/dist/web/assets/index-BgDdPL1c.js +172 -0
- package/dist/web/index.html +2 -1
- package/package.json +2 -1
- package/skills/INDEX.md +6 -4
- package/skills/tacitt/INDEX.md +7 -6
- package/skills/tacitt/SKILL.md +7 -7
- package/skills/tacitt/references/INDEX.md +14 -11
- package/skills/tacitt/references/b-method.md +6 -4
- package/skills/tacitt/references/bootstrap.md +18 -4
- package/skills/tacitt/references/classification.md +1 -1
- package/skills/tacitt/references/commands.md +34 -10
- package/skills/tacitt/references/journey.md +7 -7
- package/skills/tacitt/references/parallel-review.md +31 -12
- package/skills/tacitt/references/remote-workers.md +6 -2
- package/skills/tacitt/references/send.md +7 -3
- package/skills/tacitt/scripts/INDEX.md +40 -37
- package/skills/tacitt/scripts/answer.mjs +31 -2
- package/skills/tacitt/scripts/describe.mjs +3 -2
- package/skills/tacitt/scripts/journey-card-consolidation.mjs +1 -1
- package/skills/tacitt/scripts/journey-classification-tasks.mjs +28 -8
- package/skills/tacitt/scripts/journey-classification.mjs +1 -0
- package/skills/tacitt/scripts/journey-panel-host.d.mts +2 -0
- package/skills/tacitt/scripts/journey-panel-host.mjs +25 -2
- package/skills/tacitt/scripts/journey-scan-timing.d.mts +4 -0
- package/skills/tacitt/scripts/journey-scan-timing.mjs +15 -2
- package/skills/tacitt/scripts/journey-state.mjs +11 -0
- package/skills/tacitt/scripts/journey-tasks.mjs +12 -5
- package/skills/tacitt/scripts/journey.mjs +11 -3
- package/skills/tacitt/scripts/privacy-validator.mjs +112 -40
- package/skills/tacitt/scripts/review.d.mts +1 -0
- package/skills/tacitt/scripts/review.mjs +680 -119
- package/dist/web/assets/index-CYl7eDUu.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 { _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$
|
|
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$
|
|
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);
|
package/dist/session-process.mjs
CHANGED
|
@@ -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") {
|