@pinta-ai/mcp-logger 0.4.1 → 0.4.2-dev.1010

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 (92) hide show
  1. package/dist/cli/index.js +1 -1
  2. package/node_modules/@pinta-ai/core/README.md +180 -0
  3. package/node_modules/@pinta-ai/core/dist/atomic-write.d.ts +9 -0
  4. package/node_modules/@pinta-ai/core/dist/atomic-write.d.ts.map +1 -0
  5. package/node_modules/@pinta-ai/core/dist/atomic-write.js +20 -0
  6. package/node_modules/@pinta-ai/core/dist/atomic-write.js.map +1 -0
  7. package/node_modules/@pinta-ai/core/dist/credential-semantics.d.ts +20 -0
  8. package/node_modules/@pinta-ai/core/dist/credential-semantics.d.ts.map +1 -0
  9. package/node_modules/@pinta-ai/core/dist/credential-semantics.js +156 -0
  10. package/node_modules/@pinta-ai/core/dist/credential-semantics.js.map +1 -0
  11. package/node_modules/@pinta-ai/core/dist/env-file.d.ts +17 -0
  12. package/node_modules/@pinta-ai/core/dist/env-file.d.ts.map +1 -0
  13. package/node_modules/@pinta-ai/core/dist/env-file.js +81 -0
  14. package/node_modules/@pinta-ai/core/dist/env-file.js.map +1 -0
  15. package/node_modules/@pinta-ai/core/dist/export-mask.d.ts +26 -0
  16. package/node_modules/@pinta-ai/core/dist/export-mask.d.ts.map +1 -0
  17. package/node_modules/@pinta-ai/core/dist/export-mask.js +202 -0
  18. package/node_modules/@pinta-ai/core/dist/export-mask.js.map +1 -0
  19. package/node_modules/@pinta-ai/core/dist/guard.d.ts +196 -0
  20. package/node_modules/@pinta-ai/core/dist/guard.d.ts.map +1 -0
  21. package/node_modules/@pinta-ai/core/dist/guard.js +275 -0
  22. package/node_modules/@pinta-ai/core/dist/guard.js.map +1 -0
  23. package/node_modules/@pinta-ai/core/dist/index.d.ts +23 -0
  24. package/node_modules/@pinta-ai/core/dist/index.d.ts.map +1 -0
  25. package/node_modules/@pinta-ai/core/dist/index.js +85 -0
  26. package/node_modules/@pinta-ai/core/dist/index.js.map +1 -0
  27. package/node_modules/@pinta-ai/core/dist/json-text.d.ts +45 -0
  28. package/node_modules/@pinta-ai/core/dist/json-text.d.ts.map +1 -0
  29. package/node_modules/@pinta-ai/core/dist/json-text.js +116 -0
  30. package/node_modules/@pinta-ai/core/dist/json-text.js.map +1 -0
  31. package/node_modules/@pinta-ai/core/dist/lifecycle.d.ts +143 -0
  32. package/node_modules/@pinta-ai/core/dist/lifecycle.d.ts.map +1 -0
  33. package/node_modules/@pinta-ai/core/dist/lifecycle.js +20 -0
  34. package/node_modules/@pinta-ai/core/dist/lifecycle.js.map +1 -0
  35. package/node_modules/@pinta-ai/core/dist/matches.d.ts +24 -0
  36. package/node_modules/@pinta-ai/core/dist/matches.d.ts.map +1 -0
  37. package/node_modules/@pinta-ai/core/dist/matches.js +39 -0
  38. package/node_modules/@pinta-ai/core/dist/matches.js.map +1 -0
  39. package/node_modules/@pinta-ai/core/dist/mysql-password.d.ts +15 -0
  40. package/node_modules/@pinta-ai/core/dist/mysql-password.d.ts.map +1 -0
  41. package/node_modules/@pinta-ai/core/dist/mysql-password.js +375 -0
  42. package/node_modules/@pinta-ai/core/dist/mysql-password.js.map +1 -0
  43. package/node_modules/@pinta-ai/core/dist/otlp-types.d.ts +41 -0
  44. package/node_modules/@pinta-ai/core/dist/otlp-types.d.ts.map +1 -0
  45. package/node_modules/@pinta-ai/core/dist/otlp-types.js +7 -0
  46. package/node_modules/@pinta-ai/core/dist/otlp-types.js.map +1 -0
  47. package/node_modules/@pinta-ai/core/dist/otlp.d.ts +142 -0
  48. package/node_modules/@pinta-ai/core/dist/otlp.d.ts.map +1 -0
  49. package/node_modules/@pinta-ai/core/dist/otlp.js +638 -0
  50. package/node_modules/@pinta-ai/core/dist/otlp.js.map +1 -0
  51. package/node_modules/@pinta-ai/core/dist/output-denial.d.ts +69 -0
  52. package/node_modules/@pinta-ai/core/dist/output-denial.d.ts.map +1 -0
  53. package/node_modules/@pinta-ai/core/dist/output-denial.js +105 -0
  54. package/node_modules/@pinta-ai/core/dist/output-denial.js.map +1 -0
  55. package/node_modules/@pinta-ai/core/dist/redact.d.ts +65 -0
  56. package/node_modules/@pinta-ai/core/dist/redact.d.ts.map +1 -0
  57. package/node_modules/@pinta-ai/core/dist/redact.js +193 -0
  58. package/node_modules/@pinta-ai/core/dist/redact.js.map +1 -0
  59. package/node_modules/@pinta-ai/core/dist/retry-queue.d.ts +47 -0
  60. package/node_modules/@pinta-ai/core/dist/retry-queue.d.ts.map +1 -0
  61. package/node_modules/@pinta-ai/core/dist/retry-queue.js +177 -0
  62. package/node_modules/@pinta-ai/core/dist/retry-queue.js.map +1 -0
  63. package/node_modules/@pinta-ai/core/dist/secret-shapes.d.ts +47 -0
  64. package/node_modules/@pinta-ai/core/dist/secret-shapes.d.ts.map +1 -0
  65. package/node_modules/@pinta-ai/core/dist/secret-shapes.js +377 -0
  66. package/node_modules/@pinta-ai/core/dist/secret-shapes.js.map +1 -0
  67. package/node_modules/@pinta-ai/core/dist/session-trace.d.ts +50 -0
  68. package/node_modules/@pinta-ai/core/dist/session-trace.d.ts.map +1 -0
  69. package/node_modules/@pinta-ai/core/dist/session-trace.js +103 -0
  70. package/node_modules/@pinta-ai/core/dist/session-trace.js.map +1 -0
  71. package/node_modules/@pinta-ai/core/dist/shape-rules.d.ts +117 -0
  72. package/node_modules/@pinta-ai/core/dist/shape-rules.d.ts.map +1 -0
  73. package/node_modules/@pinta-ai/core/dist/shape-rules.js +592 -0
  74. package/node_modules/@pinta-ai/core/dist/shape-rules.js.map +1 -0
  75. package/node_modules/@pinta-ai/core/dist/trace.d.ts +17 -0
  76. package/node_modules/@pinta-ai/core/dist/trace.d.ts.map +1 -0
  77. package/node_modules/@pinta-ai/core/dist/trace.js +78 -0
  78. package/node_modules/@pinta-ai/core/dist/trace.js.map +1 -0
  79. package/node_modules/@pinta-ai/core/dist/transport.d.ts +75 -0
  80. package/node_modules/@pinta-ai/core/dist/transport.d.ts.map +1 -0
  81. package/node_modules/@pinta-ai/core/dist/transport.js +260 -0
  82. package/node_modules/@pinta-ai/core/dist/transport.js.map +1 -0
  83. package/node_modules/@pinta-ai/core/dist/value-copies.d.ts +46 -0
  84. package/node_modules/@pinta-ai/core/dist/value-copies.d.ts.map +1 -0
  85. package/node_modules/@pinta-ai/core/dist/value-copies.js +279 -0
  86. package/node_modules/@pinta-ai/core/dist/value-copies.js.map +1 -0
  87. package/node_modules/@pinta-ai/core/dist/value-masking.d.ts +22 -0
  88. package/node_modules/@pinta-ai/core/dist/value-masking.d.ts.map +1 -0
  89. package/node_modules/@pinta-ai/core/dist/value-masking.js +243 -0
  90. package/node_modules/@pinta-ai/core/dist/value-masking.js.map +1 -0
  91. package/node_modules/@pinta-ai/core/package.json +50 -0
  92. package/package.json +3 -1
@@ -0,0 +1,45 @@
1
+ /**
2
+ * Reading the strings of a JSON text without changing it (PTA-735).
3
+ *
4
+ * A tool input reaches the adapters as JSON text. A value found while reading
5
+ * the decoded string (`\n` is a line break, `\"` a quote) must be replaced in
6
+ * the text as written, character for character, so every other byte keeps its
7
+ * place. `decodeJsonBody` gives the decoded string and a map from each of its
8
+ * characters back to the source.
9
+ */
10
+ export interface DecodedBody {
11
+ /** The string as the JSON text means it. */
12
+ text: string;
13
+ /**
14
+ * `map[i]` is the offset in the source body of decoded character `i`;
15
+ * `map[text.length]` is the length of the source body. A decoded range
16
+ * `[a, b)` is the source range `[map[a], map[b])`.
17
+ */
18
+ map: Int32Array;
19
+ }
20
+ /** Decode the inside of a JSON string literal (without its quotes). */
21
+ export declare function decodeJsonBody(body: string): DecodedBody;
22
+ /** JSON text of an object or array (what `JSON.stringify` of a tool input gives). */
23
+ export declare function looksLikeJson(text: string): boolean;
24
+ export interface JsonToken {
25
+ kind: "string" | "number";
26
+ /** Offset of the opening quote (or the first character of the number) in the JSON text. */
27
+ start: number;
28
+ /** Offset after the closing quote (or after the number). */
29
+ end: number;
30
+ /** True when a `:` follows: the string is a member name. */
31
+ isKey: boolean;
32
+ /** The string is the value of a member named `command` or `cmd`. */
33
+ isCommand: boolean;
34
+ }
35
+ /**
36
+ * The strings and numbers of a JSON text, in order. `json` must be valid JSON:
37
+ * then the quotes that pair up in this scan are exactly the strings, and what
38
+ * is left between them is punctuation, numbers and `true`/`false`/`null`.
39
+ */
40
+ export declare function jsonTokens(json: string): JsonToken[];
41
+ /** The strings only. */
42
+ export declare function jsonStrings(json: string): JsonToken[];
43
+ /** The decoded text of the string token `[start, end)` and the map back to the source. */
44
+ export declare function decodeToken(json: string, start: number, end: number): DecodedBody;
45
+ //# sourceMappingURL=json-text.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"json-text.d.ts","sourceRoot":"","sources":["../src/json-text.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAIH,MAAM,WAAW,WAAW;IAC1B,4CAA4C;IAC5C,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,GAAG,EAAE,UAAU,CAAC;CACjB;AAED,uEAAuE;AACvE,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,WAAW,CAqBxD;AAED,qFAAqF;AACrF,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAWnD;AAED,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAC1B,2FAA2F;IAC3F,KAAK,EAAE,MAAM,CAAC;IACd,4DAA4D;IAC5D,GAAG,EAAE,MAAM,CAAC;IACZ,4DAA4D;IAC5D,KAAK,EAAE,OAAO,CAAC;IACf,oEAAoE;IACpE,SAAS,EAAE,OAAO,CAAC;CACpB;AAUD;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,EAAE,CAsBpD;AAED,wBAAwB;AACxB,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,EAAE,CAErD;AAOD,0FAA0F;AAC1F,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,WAAW,CAIjF"}
@@ -0,0 +1,116 @@
1
+ "use strict";
2
+ /**
3
+ * Reading the strings of a JSON text without changing it (PTA-735).
4
+ *
5
+ * A tool input reaches the adapters as JSON text. A value found while reading
6
+ * the decoded string (`\n` is a line break, `\"` a quote) must be replaced in
7
+ * the text as written, character for character, so every other byte keeps its
8
+ * place. `decodeJsonBody` gives the decoded string and a map from each of its
9
+ * characters back to the source.
10
+ */
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.decodeJsonBody = decodeJsonBody;
13
+ exports.looksLikeJson = looksLikeJson;
14
+ exports.jsonTokens = jsonTokens;
15
+ exports.jsonStrings = jsonStrings;
16
+ exports.decodeToken = decodeToken;
17
+ const SIMPLE_ESCAPES = { b: "\b", f: "\f", n: "\n", r: "\r", t: "\t" };
18
+ /** Decode the inside of a JSON string literal (without its quotes). */
19
+ function decodeJsonBody(body) {
20
+ const map = new Int32Array(body.length + 1);
21
+ const chars = [];
22
+ for (let i = 0; i < body.length;) {
23
+ map[chars.length] = i;
24
+ if (body[i] !== "\\") {
25
+ chars.push(body[i]);
26
+ i++;
27
+ continue;
28
+ }
29
+ const code = body[i + 1];
30
+ if (code === "u" && /^[0-9a-fA-F]{4}$/.test(body.slice(i + 2, i + 6))) {
31
+ chars.push(String.fromCharCode(parseInt(body.slice(i + 2, i + 6), 16)));
32
+ i += 6;
33
+ continue;
34
+ }
35
+ chars.push(code === undefined ? "\\" : SIMPLE_ESCAPES[code] ?? code);
36
+ i += 2;
37
+ }
38
+ map[chars.length] = body.length;
39
+ return { text: chars.join(""), map };
40
+ }
41
+ /** JSON text of an object or array (what `JSON.stringify` of a tool input gives). */
42
+ function looksLikeJson(text) {
43
+ const first = text.trimStart()[0];
44
+ if (first !== "{" && first !== "[")
45
+ return false;
46
+ try {
47
+ JSON.parse(text);
48
+ return true;
49
+ }
50
+ catch {
51
+ // Not JSON (the usual case: a log line that starts with `[`). Never throw
52
+ // from here: this runs on every attribute, before the hook can answer.
53
+ return false;
54
+ }
55
+ }
56
+ const TOKEN = /"(?:\\.|[^"\\])*"|-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?/gs;
57
+ const skipBlanks = (json, from) => {
58
+ let i = from;
59
+ while (i < json.length && (json[i] === " " || json[i] === "\t" || json[i] === "\n" || json[i] === "\r"))
60
+ i++;
61
+ return i;
62
+ };
63
+ /**
64
+ * The strings and numbers of a JSON text, in order. `json` must be valid JSON:
65
+ * then the quotes that pair up in this scan are exactly the strings, and what
66
+ * is left between them is punctuation, numbers and `true`/`false`/`null`.
67
+ */
68
+ function jsonTokens(json) {
69
+ const out = [];
70
+ const re = new RegExp(TOKEN.source, TOKEN.flags);
71
+ let previous = null;
72
+ for (let token = re.exec(json); token !== null; token = re.exec(json)) {
73
+ const start = token.index;
74
+ const end = start + token[0].length;
75
+ if (token[0][0] !== '"') {
76
+ out.push({ kind: "number", start, end, isKey: false, isCommand: false });
77
+ previous = null;
78
+ continue;
79
+ }
80
+ const isKey = json[skipBlanks(json, end)] === ":";
81
+ let isCommand = false;
82
+ if (!isKey && previous !== null && (previous.name === "command" || previous.name === "cmd")) {
83
+ const colon = skipBlanks(json, previous.end);
84
+ isCommand = json[colon] === ":" && skipBlanks(json, colon + 1) === start;
85
+ }
86
+ out.push({ kind: "string", start, end, isKey, isCommand });
87
+ previous = isKey ? { end, name: memberName(token[0]) } : null;
88
+ }
89
+ return out;
90
+ }
91
+ /** The strings only. */
92
+ function jsonStrings(json) {
93
+ return jsonTokens(json).filter((token) => token.kind === "string");
94
+ }
95
+ function memberName(literal) {
96
+ const body = literal.slice(1, -1);
97
+ return body.includes("\\") ? decodeJsonBody(body).text : body;
98
+ }
99
+ /** The decoded text of the string token `[start, end)` and the map back to the source. */
100
+ function decodeToken(json, start, end) {
101
+ const body = json.slice(start + 1, end - 1);
102
+ if (!body.includes("\\"))
103
+ return { text: body, map: identityMap(body.length) };
104
+ return decodeJsonBody(body);
105
+ }
106
+ let identity = new Int32Array(0);
107
+ /** `[0, 1, 2, ...]` of at least `length + 1` entries, shared (never written to by callers). */
108
+ function identityMap(length) {
109
+ if (identity.length < length + 1) {
110
+ identity = new Int32Array(Math.max(length + 1, identity.length * 2, 1024));
111
+ for (let i = 0; i < identity.length; i++)
112
+ identity[i] = i;
113
+ }
114
+ return identity;
115
+ }
116
+ //# sourceMappingURL=json-text.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"json-text.js","sourceRoot":"","sources":["../src/json-text.ts"],"names":[],"mappings":";AAAA;;;;;;;;GAQG;;AAgBH,wCAqBC;AAGD,sCAWC;AA2BD,gCAsBC;AAGD,kCAEC;AAQD,kCAIC;AAnHD,MAAM,cAAc,GAAqC,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC;AAazG,uEAAuE;AACvE,SAAgB,cAAc,CAAC,IAAY;IACzC,MAAM,GAAG,GAAG,IAAI,UAAU,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;IAC5C,MAAM,KAAK,GAAa,EAAE,CAAC;IAC3B,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,MAAM,GAAI,CAAC;QAClC,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;QACtB,IAAI,IAAI,CAAC,CAAC,CAAC,KAAK,IAAI,EAAE,CAAC;YACrB,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAE,CAAC,CAAC;YACrB,CAAC,EAAE,CAAC;YACJ,SAAS;QACX,CAAC;QACD,MAAM,IAAI,GAAG,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;QACzB,IAAI,IAAI,KAAK,GAAG,IAAI,kBAAkB,CA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AC,CAAC,CAAC;IAC5C,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC;QAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;IAC/E,OAAO,cAAc,CAAC,IAAI,CAAC,CAAC;AAC9B,CAAC;AAED,IAAI,QAAQ,GAAG,IAAI,UAAU,CAAC,CAAC,CAAC,CAAC;AACjC,+FAA+F;AAC/F,SAAS,WAAW,CAAC,MAAc;IACjC,IAAI,QAAQ,CAAC,MAAM,GAAG,MAAM,GAAG,CAAC,EAAE,CAAC;QACjC,QAAQ,GAAG,IAAI,UAAU,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,GAAG,CAAC,EAAE,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;QAC3E,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,QAAQ,CAAC,MAAM,EAAE,CAAC,EAAE;YAAE,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;IAC5D,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC"}
@@ -0,0 +1,143 @@
1
+ /**
2
+ * Transcript lifecycle interface — the sole contract between a wrapper adaptor
3
+ * (which knows *where* a coding tool stores its session logs and *how* they
4
+ * mutate) and the pinta-manager sidecar (which owns the generic incremental
5
+ * pack + upload pipeline).
6
+ *
7
+ * Design rule (project "troy", §4.2): the wrapper knows only "what lives where
8
+ * and what kind of file it is". Incremental diffing, packing, deduping and
9
+ * uploading are sidecar-common code — so adding a new wrapper never touches the
10
+ * sidecar. The `semantics` field is what makes that split possible: it tells the
11
+ * sidecar which incremental strategy to apply without the sidecar knowing the
12
+ * tool.
13
+ *
14
+ * The module deliberately uses only `node:*` primitives in its type surface so
15
+ * the same `.ts` compiles and runs identically under Node 20 (current sidecar)
16
+ * and Bun (v0.2 sidecar / adaptor `.mjs`).
17
+ */
18
+ /**
19
+ * How a transcript file mutates over time. This drives the sidecar's per-file
20
+ * incremental strategy (troy §4.2 table):
21
+ *
22
+ * - `append-log` — content is only ever appended; earlier bytes are immutable
23
+ * (verified for Claude Code / Codex jsonl: a live session grows while the
24
+ * prefix sha256 stays constant). Strategy: verify the prefix hash up to the
25
+ * last uploaded offset, then upload only the `[uploadedBytes, size)` tail as a
26
+ * segment. If the prefix hash mismatches or the file shrank (compaction /
27
+ * summary rewrite / truncate), fall back to a full segment marked
28
+ * `isRewrite`.
29
+ *
30
+ * - `rewritten-doc` — the whole file is rewritten on every save, but changes are
31
+ * infrequent (json / yaml / pbtxt: gemini logs, copilot workspace.yaml,
32
+ * memory *.md). Strategy: compare the whole-file sha256; upload a full segment
33
+ * (`isRewrite`) only when it actually changed. An mtime "quiesce" debounce
34
+ * (only consider files whose mtime has been stable for N seconds) absorbs
35
+ * save storms.
36
+ *
37
+ * - `database` — a live SQLite database (copilot session.db, opencode.db,
38
+ * antigravity conversations.db) with `-wal` / `-shm` sidecars. The live file
39
+ * MUST NOT be read directly (torn reads). Strategy: obtain a consistent copy
40
+ * via {@link TranscriptSource.snapshot} (backup API / `VACUUM INTO`), sha256
41
+ * the copy, upload a full segment only when it changed.
42
+ */
43
+ export type TranscriptSemantics = 'append-log' | 'rewritten-doc' | 'database';
44
+ /**
45
+ * A single transcript file discovered by a scan.
46
+ *
47
+ * `relPath` is always POSIX-style (`/` separators) and relative to the scan
48
+ * root that produced it — it is the identity of the file in the server ledger
49
+ * and the entry name inside a diff-pack zip, so it must be stable across scans
50
+ * and across platforms (Windows paths are normalised to `/`).
51
+ */
52
+ export interface TranscriptFile {
53
+ /** Root-relative POSIX path (`proj-a/sess-1/subagents/agent-x.jsonl`). Stable identity. */
54
+ relPath: string;
55
+ /** Absolute on-disk path the sidecar reads bytes from. Platform-native separators are fine here. */
56
+ absPath: string;
57
+ /** File size in bytes at scan time. For `append-log` this fixes the tail boundary (`[uploadedBytes, size)`). */
58
+ size: number;
59
+ /** Last modification time. Used for cursor `since` filtering and session mtime bucketing. */
60
+ mtime: Date;
61
+ /**
62
+ * Session this file belongs to, when the wrapper can attribute it (troy §4.1:
63
+ * CC groups `<sess>.jsonl` with `<sess>/subagents/**`). The sidecar groups by
64
+ * this for backfill bucketing; files without a `sessionId` fall back to their
65
+ * own mtime.
66
+ */
67
+ sessionId?: string;
68
+ /** Project/workspace this file belongs to, when known (e.g. CC project directory). */
69
+ projectKey?: string;
70
+ /** How this file mutates — selects the incremental strategy. See {@link TranscriptSemantics}. */
71
+ semantics: TranscriptSemantics;
72
+ }
73
+ /**
74
+ * Coarse role of a transcript file, used for downstream policy (retention,
75
+ * masking, dashboards). Independent of {@link TranscriptSemantics}, which is
76
+ * about *mutation shape*; this is about *what the file is*.
77
+ *
78
+ * - `session-log` — the primary conversation transcript (jsonl session logs).
79
+ * - `meta` — session metadata / config (workspace.yaml, session.db).
80
+ * - `memory` — persisted memory / knowledge files (`memory/*.md`).
81
+ * - `other` — anything else the wrapper chooses to include.
82
+ */
83
+ export type TranscriptClass = 'session-log' | 'meta' | 'memory' | 'other';
84
+ /**
85
+ * The wrapper-owned side of the transcript pipeline. A wrapper adaptor exports
86
+ * `export const lifecycle: TranscriptSource` from its `dist/index.mjs`; the
87
+ * sidecar `import()`s the installed adaptor version and drives it.
88
+ *
89
+ * The wrapper owns exclusion rules too: anything it must not upload (secrets
90
+ * like `auth.json`, large binaries like copilot's `bin/webm_encoder`) is simply
91
+ * never yielded by {@link scan}.
92
+ *
93
+ * Implementations should stream and stay allocation-light: `scan` is an
94
+ * `AsyncIterable` precisely so the sidecar never has to hold the whole corpus in
95
+ * memory (single files can be tens of MB).
96
+ */
97
+ export interface TranscriptSource {
98
+ /** Stable wrapper identifier, e.g. `'pinta-cc'`. Used as the `wrapper_type` in the server ledger and S3 key. */
99
+ id: string;
100
+ /**
101
+ * Absolute root directories this source scans, e.g. `['~/.claude/projects']`.
102
+ * `~` may be returned unexpanded; the sidecar expands it. Returned for
103
+ * diagnostics / status reporting — {@link scan} does its own walking.
104
+ */
105
+ roots(): Promise<string[]>;
106
+ /**
107
+ * Walk the roots and yield every transcript file the wrapper wants uploaded.
108
+ *
109
+ * @param opts.since - When provided, the wrapper SHOULD skip files whose
110
+ * `mtime <= since` as a cheap first filter (the sidecar re-checks against its
111
+ * own per-file cursor, so over-yielding is safe but wasteful). When omitted,
112
+ * yield the full corpus (initial backfill is just an empty-cursor scan).
113
+ *
114
+ * Yields are streamed: the sidecar may begin packing before the scan
115
+ * completes. Implementations must yield `relPath` in POSIX form.
116
+ */
117
+ scan(opts: {
118
+ since?: Date;
119
+ }): AsyncIterable<TranscriptFile>;
120
+ /**
121
+ * Optional: classify a file by role for downstream policy. Pure function of
122
+ * the (POSIX) `relPath`. When omitted, the sidecar treats every file as
123
+ * `'other'`.
124
+ */
125
+ classify?(relPath: string): TranscriptClass;
126
+ /**
127
+ * Optional: obtain a consistent, self-contained snapshot of a `'database'`
128
+ * file (e.g. `sqlite3 .backup` / `VACUUM INTO` / backup API) and return the
129
+ * absolute path to the resulting temp file.
130
+ *
131
+ * Contract:
132
+ * - Only meaningful for files whose `semantics === 'database'`.
133
+ * - The returned path points to a NEW temp file the sidecar reads instead of
134
+ * the live file (never read the live SQLite file directly — `-wal`/`-shm`
135
+ * torn reads).
136
+ * - The CALLER (sidecar) owns the returned temp file and MUST delete it after
137
+ * packing/uploading. Implementations must not reuse or clean it themselves.
138
+ * - If a source has `'database'` files but does not implement `snapshot`,
139
+ * the sidecar skips those files and emits an audit event.
140
+ */
141
+ snapshot?(file: TranscriptFile): Promise<string>;
142
+ }
143
+ //# sourceMappingURL=lifecycle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lifecycle.d.ts","sourceRoot":"","sources":["../src/lifecycle.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAM,MAAM,mBAAmB,GAAG,YAAY,GAAG,eAAe,GAAG,UAAU,CAAC;AAE9E;;;;;;;GAOG;AACH,MAAM,WAAW,cAAc;IAC7B,2FAA2F;IAC3F,OAAO,EAAE,MAAM,CAAC;IAChB,oGAAoG;IACpG,OAAO,EAAE,MAAM,CAAC;IAChB,gHAAgH;IAChH,IAAI,EAAE,MAAM,CAAC;IACb,6FAA6F;IAC7F,KAAK,EAAE,IAAI,CAAC;IACZ;;;;;OAKG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,sFAAsF;IACtF,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,iGAAiG;IACjG,SAAS,EAAE,mBAAmB,CAAC;CAChC;AAED;;;;;;;;;GASG;AACH,MAAM,MAAM,eAAe,GAAG,aAAa,GAAG,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;AAE1E;;;;;;;;;;;;GAYG;AACH,MAAM,WAAW,gBAAgB;IAC/B,gHAAgH;IAChH,EAAE,EAAE,MAAM,CAAC;IAEX;;;;OAIG;IACH,KAAK,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC;IAE3B;;;;;;;;;;OAUG;IACH,IAAI,CAAC,IAAI,EAAE;QAAE,KAAK,CAAC,EAAE,IAAI,CAAA;KAAE,GAAG,aAAa,CAAC,cAAc,CAAC,CAAC;IAE5D;;;;OAIG;IACH,QAAQ,CAAC,CAAC,OAAO,EAAE,MAAM,GAAG,eAAe,CAAC;IAE5C;;;;;;;;;;;;;;OAcG;IACH,QAAQ,CAAC,CAAC,IAAI,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAiD,CAAC;CAClG"}
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ /**
3
+ * Transcript lifecycle interface — the sole contract between a wrapper adaptor
4
+ * (which knows *where* a coding tool stores its session logs and *how* they
5
+ * mutate) and the pinta-manager sidecar (which owns the generic incremental
6
+ * pack + upload pipeline).
7
+ *
8
+ * Design rule (project "troy", §4.2): the wrapper knows only "what lives where
9
+ * and what kind of file it is". Incremental diffing, packing, deduping and
10
+ * uploading are sidecar-common code — so adding a new wrapper never touches the
11
+ * sidecar. The `semantics` field is what makes that split possible: it tells the
12
+ * sidecar which incremental strategy to apply without the sidecar knowing the
13
+ * tool.
14
+ *
15
+ * The module deliberately uses only `node:*` primitives in its type surface so
16
+ * the same `.ts` compiles and runs identically under Node 20 (current sidecar)
17
+ * and Bun (v0.2 sidecar / adaptor `.mjs`).
18
+ */
19
+ Object.defineProperty(exports, "__esModule", { value: true });
20
+ //# sourceMappingURL=lifecycle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lifecycle.js","sourceRoot":"","sources":["../src/lifecycle.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;GAgBG"}
@@ -0,0 +1,24 @@
1
+ /** A range of a text to replace, and what to write there. */
2
+ export interface Match {
3
+ start: number;
4
+ end: number;
5
+ replaceStart: number;
6
+ replaceEnd: number;
7
+ type: string;
8
+ replacement?: string;
9
+ nonstandardFetchMode?: true;
10
+ /**
11
+ * A value that is only the backslash of a line continuation (`--password <backslash><newline> v`).
12
+ * Main replaces it and the guard counts it; the stored span leaves it alone.
13
+ */
14
+ fake?: boolean;
15
+ }
16
+ /** A secret found in a text. `type` is the label printed inside `[REDACTED:<type>]`. */
17
+ export interface DetectedValue {
18
+ value: string;
19
+ type: string;
20
+ }
21
+ /** Overlapping ranges become one range that covers them all. */
22
+ export declare function resolveOverlaps(matches: Match[]): Match[];
23
+ export declare function applyMatches(input: string, matches: Match[]): string;
24
+ //# sourceMappingURL=matches.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"matches.d.ts","sourceRoot":"","sources":["../src/matches.ts"],"names":[],"mappings":"AAAA,6DAA6D;AAC7D,MAAM,WAAW,KAAK;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,oBAAoB,CAAC,EAAE,IAAI,CAAC;IAC5B;;;OAGG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAED,wFAAwF;AACxF,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd;AAED,gEAAgE;AAChE,wBAAgB,eAAe,CAAC,OAAO,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,CAezD;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,GAAG,MAAM,CAcpE"}
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.resolveOverlaps = resolveOverlaps;
4
+ exports.applyMatches = applyMatches;
5
+ /** Overlapping ranges become one range that covers them all. */
6
+ function resolveOverlaps(matches) {
7
+ const sorted = [...matches].sort((a, b) => a.replaceStart - b.replaceStart || b.replaceEnd - a.replaceEnd);
8
+ const kept = [];
9
+ for (const m of sorted) {
10
+ const previous = kept[kept.length - 1];
11
+ if (previous && m.replaceStart < previous.replaceEnd) {
12
+ previous.replaceEnd = Math.max(previous.replaceEnd, m.replaceEnd);
13
+ previous.start = Math.min(previous.start, m.start);
14
+ previous.end = Math.max(previous.end, m.end);
15
+ }
16
+ else {
17
+ kept.push({ ...m });
18
+ }
19
+ }
20
+ return kept;
21
+ }
22
+ function applyMatches(input, matches) {
23
+ if (matches.length === 0)
24
+ return input;
25
+ // One left-to-right pass: each piece of the output is appended once, so the
26
+ // cost follows the input and not (matches x input) as repeated slicing does.
27
+ const sorted = [...matches].sort((a, b) => a.replaceStart - b.replaceStart);
28
+ const parts = [];
29
+ let cursor = 0;
30
+ for (const m of sorted) {
31
+ if (m.replaceStart < cursor)
32
+ continue; // overlaps a piece already replaced
33
+ parts.push(input.slice(cursor, m.replaceStart), m.replacement ?? `[REDACTED:${m.type}]`);
34
+ cursor = m.replaceEnd;
35
+ }
36
+ parts.push(input.slice(cursor));
37
+ return parts.join("");
38
+ }
39
+ //# sourceMappingURL=matches.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"matches.js","sourceRoot":"","sources":["../src/matches.ts"],"names":[],"mappings":";;AAuBA,0CAeC;AAED,oCAcC;AAhCD,gEAAgE;AAChE,SAAgB,eAAe,CAAC,OAAgB;IAC9C,MAAM,MAAM,GAAG,CAAC,GAAG,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CACxC,CAAC,CAAC,YAAY,GAAG,CAAC,CAAC,YAAY,IAAI,CAAC,CAAC,UAAU,GAAG,CAAC,CAAC,UAAU,CAAC,CAAC;IAClE,MAAM,IAAI,GAAY,EAAE,CAAC;IACzB,KAAK,MAAM,CAAC,IAAI,MAAM,EAAE,CAAC;QACvB,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;QACvC,IAAI,QAAQ,IAAI,CAAC,CAAC,YAAY,GAAG,QAAQ,CAAC,UAAU,EAAE,CAAC;YACrD,QAAQ,CAAC,UAAU,GAAG,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,UAAU,EAAE,CAAC,CAAC,UAAU,CAAC,CAAC;YAClE,QAAQ,CAAC,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC;YACnD,QAAQ,CAAC,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,GAAG,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC;QAC/C,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,IAAI,CAAC,EAAE,GAAG,CAAC,EAAE,CAAC,CAAC;QACtB,CAAC;IACH,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC;AAED,SAAgB,YAAY,CAAC,KAAa,EAAE,OAAgB;IAC1D,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,KAAK,CAAC;IACvC,4EAA4E;IAC5E,6EAA6E;IAC7E,MAAM,MAAM,GAAG,CAAC,GAAG,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,YAAY,GAAG,CAAC,CAAC,YAAY,CAAC,CAAC;IAC5E,MAAM,KAAK,GAAa,EAAE,CAAC;IAC3B,IAAI,MAAM,GAAG,CAAC,CAAC;IACf,KAAK,MAAM,CAAC,IAAI,MAAM,EAAE,CAAC;QACvB,IAAI,CAAC,CAAC,YAAY,GAAG,MAAM;YAAE,SAAS,CAAC,oCAAoC;QAC3E,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC,WAAW,IAAI,aAAa,CAAC,CAAC,IAAI,GAAG,CAAC,CAAC;QACzF,MAAM,GAAG,CAAC,CAAC,UAAU,CAAC;IACxB,CAAC;IACD,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC;IAChC,OAAO,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACxB,CAAC"}
@@ -0,0 +1,15 @@
1
+ interface Range {
2
+ start: number;
3
+ end: number;
4
+ }
5
+ /** Literal executable/option ranges only. Never evaluates shell text or reads files. */
6
+ export declare function mysqlPasswordRanges(input: string): Range[];
7
+ /**
8
+ * Proven non-password flags only. Unknown consumers are not exemptions.
9
+ * jsonStringValues matches MCP's legacy scan of returned JSON text, not execution context.
10
+ */
11
+ export declare function nonPasswordShortOptionRanges(input: string, options?: {
12
+ jsonStringValues?: boolean;
13
+ }): Range[];
14
+ export {};
15
+ //# sourceMappingURL=mysql-password.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mysql-password.d.ts","sourceRoot":"","sources":["../src/mysql-password.ts"],"names":[],"mappings":"AAAA,UAAU,KAAK;IACb,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;CACb;AA8VD,wFAAwF;AACxF,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,EAAE,CAE1D;AAED;;;GAGG;AACH,wBAAgB,4BAA4B,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,GAAE;IAAE,gBAAgB,CAAC,EAAE,OAAO,CAAA;CAAO,GAAG,KAAK,EAAE,CAEjH"}