@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,7 +1,7 @@
|
|
|
1
|
-
import { tn as sessionSchema } from "./locate-
|
|
2
|
-
import { t as createZstdFrameCheck$1 } from "./frame-
|
|
3
|
-
import "./src-
|
|
4
|
-
import { a as isRecord } from "./model-
|
|
1
|
+
import { tn as sessionSchema } from "./locate-U3-nkird.mjs";
|
|
2
|
+
import { t as createZstdFrameCheck$1 } from "./frame-waS5FnN5.mjs";
|
|
3
|
+
import "./src-CC95LYYp.mjs";
|
|
4
|
+
import { a as isRecord } from "./model-BJdTLNjT.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,7 +1,7 @@
|
|
|
1
|
-
import { An as nativeBoolean, Hn as defaultLimits, In as retainedMainTextNodes, Mn as nativeItems, Nn as nativeText, Qt as sourceSnapshotId, Tn as parseNativeRecord, Zt as observeSource, jn as nativeField, nr as ProcessingError, vn as walkNativeFields } from "./locate-
|
|
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 { An as nativeBoolean, Hn as defaultLimits, In as retainedMainTextNodes, Mn as nativeItems, Nn as nativeText, Qt as sourceSnapshotId, Tn as parseNativeRecord, Zt as observeSource, jn as nativeField, nr as ProcessingError, vn as walkNativeFields } from "./locate-U3-nkird.mjs";
|
|
2
|
+
import { Lt as nativeAdapterVersions, Xr as gitMetadataBudgetBytes, it as reviewInventory } from "./src-CC95LYYp.mjs";
|
|
3
|
+
import { a as isRecord, i as errorCode, n as checkDiscoveryAbort, o as unresolvedMetadata, r as discoveryBounds, t as DiscoveryWarnings } from "./model-BJdTLNjT.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-BeLHsZWb.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 { lstat, open, opendir, readFile, readdir, realpath, stat } from "node:fs/promises";
|
|
@@ -363,7 +363,8 @@ function interactionTime(value, harness) {
|
|
|
363
363
|
"permission-mode",
|
|
364
364
|
"pr-link",
|
|
365
365
|
"relocated",
|
|
366
|
-
"ai-title"
|
|
366
|
+
"ai-title",
|
|
367
|
+
"tools-used"
|
|
367
368
|
].includes(String(type))) return { kind: "unknown" };
|
|
368
369
|
} else if ([
|
|
369
370
|
"session_meta",
|
|
@@ -666,7 +667,8 @@ const excludedRecords = /* @__PURE__ */ new Set([
|
|
|
666
667
|
"frame-link",
|
|
667
668
|
"artifact-autoreact-ledger",
|
|
668
669
|
"artifact-comment-monitor",
|
|
669
|
-
"worktree-state"
|
|
670
|
+
"worktree-state",
|
|
671
|
+
"tools-used"
|
|
670
672
|
]);
|
|
671
673
|
/** Prove every conversational carrier, rather than trusting a deduplicated diagnostic node. */
|
|
672
674
|
function claudeMainProseComplete(root, selection) {
|
|
@@ -1833,6 +1835,7 @@ function withOutput(holder, tags, select) {
|
|
|
1833
1835
|
var ClaudeSelection = class {
|
|
1834
1836
|
edits = [];
|
|
1835
1837
|
diagnostics = [];
|
|
1838
|
+
images = 0;
|
|
1836
1839
|
/** Tags of the tool result being selected; set only while one result is processed. */
|
|
1837
1840
|
output;
|
|
1838
1841
|
diagnose(code, node) {
|
|
@@ -1910,10 +1913,15 @@ var ClaudeSelection = class {
|
|
|
1910
1913
|
};
|
|
1911
1914
|
}
|
|
1912
1915
|
}
|
|
1916
|
+
/** Counts one model-facing image block; sidecar and request copies are not counted. */
|
|
1917
|
+
image() {
|
|
1918
|
+
this.images += 1;
|
|
1919
|
+
}
|
|
1913
1920
|
result() {
|
|
1914
1921
|
return {
|
|
1915
1922
|
edits: this.edits,
|
|
1916
|
-
diagnostics: this.diagnostics
|
|
1923
|
+
diagnostics: this.diagnostics,
|
|
1924
|
+
...this.images ? { images: this.images } : {}
|
|
1917
1925
|
};
|
|
1918
1926
|
}
|
|
1919
1927
|
};
|
|
@@ -2144,6 +2152,7 @@ function outputMedia(body, selection) {
|
|
|
2144
2152
|
}
|
|
2145
2153
|
/** Readers check image blocks by type, media type and count; the encoded image is never read. */
|
|
2146
2154
|
function imageBody(block, selection) {
|
|
2155
|
+
selection.image();
|
|
2147
2156
|
selection.unread(() => mediaBody(block, selection));
|
|
2148
2157
|
}
|
|
2149
2158
|
function messageText(text, selection, worker, compact, user) {
|
|
@@ -2922,6 +2931,7 @@ function content(context, node, role, mode, userAttachments = false) {
|
|
|
2922
2931
|
"output_image",
|
|
2923
2932
|
"local_image"
|
|
2924
2933
|
].includes(type ?? "")) {
|
|
2934
|
+
if (context.images !== void 0) context.images += 1;
|
|
2925
2935
|
const from = context.edits.length;
|
|
2926
2936
|
media(context, part);
|
|
2927
2937
|
unread(context, from);
|
|
@@ -3538,12 +3548,13 @@ function createCodexRetention(options) {
|
|
|
3538
3548
|
const inspector = codexSourceInspector();
|
|
3539
3549
|
return (root) => {
|
|
3540
3550
|
inspector.inspect(root);
|
|
3551
|
+
const type = fieldText(root, "type");
|
|
3541
3552
|
const context = {
|
|
3542
3553
|
sourceRole,
|
|
3543
3554
|
edits: [],
|
|
3544
|
-
diagnostics: []
|
|
3555
|
+
diagnostics: [],
|
|
3556
|
+
...type === "response_item" ? { images: 0 } : {}
|
|
3545
3557
|
};
|
|
3546
|
-
const type = fieldText(root, "type");
|
|
3547
3558
|
const payload = nativeField(root, "payload");
|
|
3548
3559
|
if (type === "session_meta" && payload?.kind === "object") {
|
|
3549
3560
|
if (codexIdentity(root).role === "unknown") unsupported(context, payload);
|