@mnemoverse/mcp-memory-server 0.11.0 → 0.12.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.
@@ -1 +1 @@
1
- {"version":3,"file":"errors.js","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqEG;AAEH;;;yDAGyD;AACzD,MAAM,cAAc,GAAG,GAAG,CAAC;AAE3B;;;;;;0BAM0B;AAC1B,MAAM,CAAC,MAAM,QAAQ,GAAG,+CAA+C,CAAC;AAExE;8EAC8E;AAC9E,MAAM,SAAS,GAAG,gDAAgD,CAAC;AAEnE;;;6CAG6C;AAC7C,MAAM,eAAe,GAAG,oCAAoC,CAAC;AAmD7D;;;;;;;;;;;;GAYG;AACH,SAAS,gBAAgB,CAAC,GAAY;IACpC,IAAI,OAAO,GAAG,KAAK,QAAQ;QAAE,OAAO,SAAS,CAAC;IAC9C,IAAI,GAAQ,CAAC;IACb,IAAI,CAAC;QACH,GAAG,GAAG,IAAI,GAAG,CAAC,GAAG,CAAC,CAAC;IACrB,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,2EAA2E;IAC3E,2EAA2E;IAC3E,yEAAyE;IACzE,wEAAwE;IACxE,2EAA2E;IAC3E,0EAA0E;IAC1E,4EAA4E;IAC5E,4EAA4E;IAC5E,qEAAqE;IACrE,wEAAwE;IACxE,kEAAkE;IAClE,0EAA0E;IAC1E,2EAA2E;IAC3E,uEAAuE;IACvE,8BAA8B;IAC9B,OAAO,GAAG,CAAC,QAAQ,KAAK,QAAQ;QAC9B,GAAG,CAAC,IAAI,KAAK,wBAAwB;QACrC,GAAG,CAAC,QAAQ,KAAK,EAAE;QACnB,GAAG,CAAC,QAAQ,KAAK,EAAE;QACnB,GAAG,CAAC,IAAI,KAAK,GAA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literal we will print for a domain name in a sentence or a list. */
99
99
  export declare const MAX_DOMAIN_LITERAL = 256;
100
- /** Longest literal we will print as an `@domain` tag on a result line. */
100
+ /**
101
+ * Longest literal we will print as an `@domain` tag on a result line.
102
+ *
103
+ * Shared, not mirrored: the ` [by "name"]` author tag (`formatAuthorTag`,
104
+ * src/render.ts) reuses this SAME constant rather than a second one of its
105
+ * own (owner decision I66-4, issue #66, 2026-09-24): one calibrated number,
106
+ * not two magic values that happen to agree today and can drift apart later.
107
+ */
101
108
  export declare const MAX_DOMAIN_TAG_LITERAL = 128;
102
109
  /**
103
110
  * The value as a reproducible JSON string literal, or `null` when it cannot be
@@ -132,8 +139,9 @@ export declare function roomNamePhrase(name: unknown): string;
132
139
  /**
133
140
  * How many characters of NAMES the `Domains:` line may spend.
134
141
  *
135
- * Sized against the tool-result cap it exists to respect: `MAX_RESULT_CHARS` in
136
- * src/index.ts is 96,000, and the reserve covers the four other stats lines, the
142
+ * Sized against the tool-result cap it exists to respect: `MAX_RESULT_CHARS`,
143
+ * exported from src/tools.ts (and re-exported from src/shared.ts), is 96,000,
144
+ * and the reserve covers the four other stats lines, the
137
145
  * escape legend, and the truncation notice `capResult` appends if it ever fires.
138
146
  * The relationship is pinned behaviourally — "memory_stats fits the result cap
139
147
  * without losing its tail", test/handlers.test.ts — so this number cannot drift
@@ -152,7 +160,12 @@ export declare const MAX_DOMAIN_LIST_CHARS = 90000;
152
160
  * dropping it would make this list assert that a store does not exist, on the
153
161
  * one surface whose job is the opposite. An absent or empty list keeps the
154
162
  * existing "none reported", which is honest about both of the states core can
155
- * produce (no key on a non-core 200, or a genuinely empty bucket).
163
+ * produce (no key on a non-core 200, or a genuinely empty bucket). The
164
+ * NON-ARRAY half of that first branch is unreachable from `memory_stats`
165
+ * (S7, 2026-09-23): its handler now returns `isError` before calling this
166
+ * function when `domains` is not an array at all, since its outputSchema
167
+ * requires one; it stays here for the direct unit tests below and as
168
+ * defense in depth for any other caller.
156
169
  *
157
170
  * `maxChars` bounds the NAMES, and it is the reason memory_stats is no longer
158
171
  * the one tool result that could exceed the 25K-token Connectors Directory cap.
@@ -194,6 +207,23 @@ export declare const DOMAIN_ESCAPE_LEGEND: string;
194
207
  * escapes in a name the reader cannot see is a caveat about nothing.
195
208
  */
196
209
  export declare function withDomainEscapeLegend(message: string, ...names: (string | null | undefined)[]): string;
210
+ /**
211
+ * The same legend, for a surface that printed its literals under a different
212
+ * cap. The result-line tags (`@domain`, `[by "name"]`) refuse a literal longer
213
+ * than MAX_DOMAIN_TAG_LITERAL and print a name-free fallback instead, so a
214
+ * candidate must be judged under THAT cap there: judged under the larger
215
+ * note cap, a name in between the two would count as printed-and-escaped
216
+ * whenever its literal happens to appear in a result's content, and the
217
+ * legend would explain an escape the tag never showed (review round 2 on
218
+ * issue #66).
219
+ *
220
+ * The at-most-once check looks for the whole legend, not a fragment of it:
221
+ * a fragment short enough to fit a printed literal (an author name from
222
+ * another connector, say) could otherwise appear inside a tag and suppress
223
+ * the legend for a genuinely escaped name elsewhere on the page. The whole
224
+ * legend is longer than any literal either cap admits.
225
+ */
226
+ export declare function withEscapeLegendAt(max: number, message: string, ...names: (string | null | undefined)[]): string;
197
227
  /**
198
228
  * A third renderer, for values that go into `structuredContent` as the
199
229
  * service sent them rather than into a sentence a reader compares by eye.
package/dist/names.js CHANGED
@@ -101,7 +101,14 @@ function escapeUnits(match) {
101
101
  }
102
102
  /** Longest literal we will print for a domain name in a sentence or a list. */
103
103
  export const MAX_DOMAIN_LITERAL = 256;
104
- /** Longest literal we will print as an `@domain` tag on a result line. */
104
+ /**
105
+ * Longest literal we will print as an `@domain` tag on a result line.
106
+ *
107
+ * Shared, not mirrored: the ` [by "name"]` author tag (`formatAuthorTag`,
108
+ * src/render.ts) reuses this SAME constant rather than a second one of its
109
+ * own (owner decision I66-4, issue #66, 2026-09-24): one calibrated number,
110
+ * not two magic values that happen to agree today and can drift apart later.
111
+ */
105
112
  export const MAX_DOMAIN_TAG_LITERAL = 128;
106
113
  /**
107
114
  * The value as a reproducible JSON string literal, or `null` when it cannot be
@@ -153,8 +160,9 @@ export function roomNamePhrase(name) {
153
160
  /**
154
161
  * How many characters of NAMES the `Domains:` line may spend.
155
162
  *
156
- * Sized against the tool-result cap it exists to respect: `MAX_RESULT_CHARS` in
157
- * src/index.ts is 96,000, and the reserve covers the four other stats lines, the
163
+ * Sized against the tool-result cap it exists to respect: `MAX_RESULT_CHARS`,
164
+ * exported from src/tools.ts (and re-exported from src/shared.ts), is 96,000,
165
+ * and the reserve covers the four other stats lines, the
158
166
  * escape legend, and the truncation notice `capResult` appends if it ever fires.
159
167
  * The relationship is pinned behaviourally — "memory_stats fits the result cap
160
168
  * without losing its tail", test/handlers.test.ts — so this number cannot drift
@@ -173,7 +181,12 @@ export const MAX_DOMAIN_LIST_CHARS = 90_000;
173
181
  * dropping it would make this list assert that a store does not exist, on the
174
182
  * one surface whose job is the opposite. An absent or empty list keeps the
175
183
  * existing "none reported", which is honest about both of the states core can
176
- * produce (no key on a non-core 200, or a genuinely empty bucket).
184
+ * produce (no key on a non-core 200, or a genuinely empty bucket). The
185
+ * NON-ARRAY half of that first branch is unreachable from `memory_stats`
186
+ * (S7, 2026-09-23): its handler now returns `isError` before calling this
187
+ * function when `domains` is not an array at all, since its outputSchema
188
+ * requires one; it stays here for the direct unit tests below and as
189
+ * defense in depth for any other caller.
177
190
  *
178
191
  * `maxChars` bounds the NAMES, and it is the reason memory_stats is no longer
179
192
  * the one tool result that could exceed the 25K-token Connectors Directory cap.
@@ -238,8 +251,6 @@ export const DOMAIN_ESCAPE_LEGEND = "\n\n(Quoted names above are printed as JSON
238
251
  "reproduced exactly: the surrounding quotes are not part of the name, and an " +
239
252
  "escape such as \\u00a0 or \\n stands for ONE character. Decode it before you " +
240
253
  "send the name back — do not paste the escape text.)";
241
- /** Substring that identifies the legend, for the at-most-once check below. */
242
- const LEGEND_MARK = "printed as JSON string literals";
243
254
  /**
244
255
  * Append {@link DOMAIN_ESCAPE_LEGEND} to `message` if one of `names` was printed
245
256
  * in it WITH an escape, and the legend is not there already.
@@ -255,10 +266,29 @@ const LEGEND_MARK = "printed as JSON string literals";
255
266
  * escapes in a name the reader cannot see is a caveat about nothing.
256
267
  */
257
268
  export function withDomainEscapeLegend(message, ...names) {
258
- if (message.includes(LEGEND_MARK))
269
+ return withEscapeLegendAt(MAX_DOMAIN_LITERAL, message, ...names);
270
+ }
271
+ /**
272
+ * The same legend, for a surface that printed its literals under a different
273
+ * cap. The result-line tags (`@domain`, `[by "name"]`) refuse a literal longer
274
+ * than MAX_DOMAIN_TAG_LITERAL and print a name-free fallback instead, so a
275
+ * candidate must be judged under THAT cap there: judged under the larger
276
+ * note cap, a name in between the two would count as printed-and-escaped
277
+ * whenever its literal happens to appear in a result's content, and the
278
+ * legend would explain an escape the tag never showed (review round 2 on
279
+ * issue #66).
280
+ *
281
+ * The at-most-once check looks for the whole legend, not a fragment of it:
282
+ * a fragment short enough to fit a printed literal (an author name from
283
+ * another connector, say) could otherwise appear inside a tag and suppress
284
+ * the legend for a genuinely escaped name elsewhere on the page. The whole
285
+ * legend is longer than any literal either cap admits.
286
+ */
287
+ export function withEscapeLegendAt(max, message, ...names) {
288
+ if (message.includes(DOMAIN_ESCAPE_LEGEND))
259
289
  return message;
260
290
  const needed = names.some((n) => {
261
- const r = exactLiteral(n);
291
+ const r = exactLiteral(n, max);
262
292
  return r !== null && r.escaped && message.includes(r.literal);
263
293
  });
264
294
  return needed ? message + DOMAIN_ESCAPE_LEGEND : message;
@@ -320,9 +350,19 @@ export function structuredText(s, cap) {
320
350
  code === 0x200d || // ZWJ
321
351
  code === 0x2060 || // WORD JOINER
322
352
  code === 0xfeff; // ZWNBSP / BOM
323
- if (isControl || isBidi)
353
+ // Every other Unicode format character (general category Cf) is dropped
354
+ // as well: the Tag block (U+E0000 to U+E007F, an invisible copy of ASCII
355
+ // used to smuggle text past a reader), U+00AD SOFT HYPHEN, and the rest.
356
+ // `exactLiteral` already escapes the whole category on the text surface;
357
+ // the data surface removed only the curated lists above until Sigma
358
+ // showed the gap on #168 (review round 4). Zl and Zp (line and paragraph
359
+ // separators) count as control here: they break a value the same way a
360
+ // newline does.
361
+ const isOtherFormat = /^[\p{Cf}]$/u.test(ch);
362
+ const isLineSeparator = /^[\p{Zl}\p{Zp}]$/u.test(ch);
363
+ if (isControl || isBidi || isLineSeparator)
324
364
  out += " ";
325
- else if (isZeroWidth)
365
+ else if (isZeroWidth || isOtherFormat)
326
366
  continue;
327
367
  else
328
368
  out += ch;
package/dist/names.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"names.js","sourceRoot":"","sources":["../src/names.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsFG;AAEH;;;;GAIG;AACH,MAAM,oBAAoB,GAAG,0CAA0C,CAAC;AAExE,6EAA6E;AAC7E,SAAS,WAAW,CAAC,KAAa;IAChC,IAAI,GAAG,GAAG,EAAE,CAAC;IACb,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;QACtC,GAAG,IAAI,KAAK,GAAG,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC;IACnE,CAAC;IACD,OAAO,GAAG,CAAC;AACb,CAAC;AAaD,+EAA+E;AAC/E,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,CAAC;AAEtC,0EAA0E;AAC1E,MAAM,CAAC,MAAM,sBAAsB,GAAG,GAAG,CAAC;AAE1C;;;GAGG;AACH,MAAM,UAAU,YAAY,CAC1B,KAAgC,EAChC,GAAG,GAAG,kBAAkB;IAExB,6EAA6E;IAC7E,sEAAsE;IACtE,2EAA2E;IAC3E,0DAA0D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,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC9E,CAAC"}
package/dist/render.d.ts CHANGED
@@ -74,21 +74,83 @@ export type RecentItem = {
74
74
  * `"[object Object]"` as an author would not be.
75
75
  */
76
76
  export declare function safeInline(s: unknown, cap?: number): string;
77
+ /**
78
+ * `agent_name || agent || client_env`, exactly as the wire sent it: no
79
+ * sanitising, no suffix. The single raw value `authorName` and
80
+ * `formatAuthorTag` below BOTH derive from, so the bare structured field and
81
+ * the quoted text tag cannot end up naming two different agents. The same
82
+ * raw value is what src/tools.ts passes to `withDomainEscapeLegend` as an
83
+ * author candidate, so its independent recomputation of `exactLiteral` finds
84
+ * the same literal `formatAuthorTag` printed (I66-3, issue #66).
85
+ *
86
+ * Returns `""`, not `null`/`undefined`, when there is no renderable name at
87
+ * all: an absent provenance, every field empty, or the field that won the
88
+ * `||` chain arriving with the wrong wire type. A numeric `agent_name` is a
89
+ * real shape a hostile or buggy connector sends, not a hypothetical one; see
90
+ * "a non-string where the type promised a string" below, and CN-032's own
91
+ * history with this exact field.
92
+ */
93
+ export declare function rawAuthorName(p?: Provenance | null): string;
77
94
  /**
78
95
  * "X" / "X · external": agent identity only, never the human `principal`
79
96
  * (may be an email / PII), even though the response carries it. Empty string
80
97
  * when there is no renderable name.
81
98
  *
82
- * Extracted from `formatAuthorTag` (S4, structured-output plan) so
83
- * `structuredItem` below can put the same sanitised name into
84
- * `structuredContent.author` without re-deriving it, and so the two never
85
- * drift: `formatAuthorTag` now builds its bracketed text FROM this value
86
- * rather than computing its own copy.
99
+ * Feeds `structuredContent.author` (via `structuredItem`, below), not the
100
+ * text tag; `formatAuthorTag` now quotes `rawAuthorName`'s value itself
101
+ * (I66-1) rather than building its bracketed text from this one, so the two
102
+ * no longer share a derivation the way the original S4 extraction intended,
103
+ * and instead share `rawAuthorName` as their common raw input.
104
+ *
105
+ * Until owner decision I66-2 (issue #66, 2026-09-23), this ran the raw name
106
+ * through `safeInline`, the same ASCII-only, bracket-stripping sanitiser the
107
+ * text tag used, which erased Cyrillic/CJK/Arabic names from the DATA just
108
+ * as completely as it erased them from the text: a second, previously
109
+ * unreported instance of the bug the issue reports for the tag, found with
110
+ * zero non-Latin fixtures anywhere in this file's history. It now runs
111
+ * through `structuredText` (src/names.ts) instead, the same
112
+ * control/bidi/zero-width-only normalisation `reason` already gets on this
113
+ * surface, so a name survives here whenever it survives on the page.
114
+ *
115
+ * This deliberately drops bracket-stripping on this field: a bare JSON
116
+ * value cannot be "closed early" by a literal `]` or `"` the way a
117
+ * hand-built sentence can (the MCP SDK serialises the field; this code does
118
+ * not concatenate it into one). The property CN-032 actually needs here, a
119
+ * reader must not be shown something that is not there or have text
120
+ * hidden/reordered inside it, is exactly what `structuredText` still strips
121
+ * (control, bidi, zero-width). The `[by "…"]` TEXT tag carries the
122
+ * anti-injection burden for the rendered surface instead, via
123
+ * `exactLiteral`'s quoting.
87
124
  */
88
125
  export declare function authorName(p?: Provenance | null): string;
89
126
  /**
90
- * ` [by X]` / ` [by X · external]` — agent identity only, never the human
91
- * `principal` (may be an email / PII), even though the response carries it.
127
+ * ` [by "X"]` / ` [by "X" · external]`: agent identity only, never the
128
+ * human `principal` (may be an email / PII), even though the response
129
+ * carries it.
130
+ *
131
+ * Quoted as an exact JSON literal (`exactLiteral`, src/names.ts), the same
132
+ * treatment `formatDomainTag` below already gives `@domain`, for EVERY
133
+ * name, including a plain ASCII one like "sigma", not only names that
134
+ * happen to need escaping (owner decision I66-1, issue #66, 2026-09-24:
135
+ * full symmetry with domains, no second unquoted branch). Before this, a
136
+ * Cyrillic, CJK or Arabic `agent_name` sanitised through `safeInline`'s
137
+ * ASCII-only charset to an empty string, and the tag disappeared with no
138
+ * trace, the exact defect `formatDomainTag` was already fixed for in 0.8.1,
139
+ * reached here in a later release (issue #66).
140
+ *
141
+ * Operates on `rawAuthorName`, not `authorName`'s sanitised value: quoting
142
+ * the raw wire name is what lets `exactLiteral` print and escape characters
143
+ * a sanitiser would have dropped, and what lets `withDomainEscapeLegend`'s
144
+ * independent recomputation (src/tools.ts) find the same literal this
145
+ * function printed.
146
+ *
147
+ * `" · external"` sits OUTSIDE the quotes (I66-3): it is a server-added
148
+ * qualifier, not part of the name, so it is not part of what gets escaped
149
+ * and not part of what the escape-legend candidate has to match.
150
+ *
151
+ * The cap is `MAX_DOMAIN_TAG_LITERAL` itself, not a second constant with the
152
+ * same value (I66-4): a name too long to print exactly gets the same
153
+ * disclosed, name-free fallback `formatDomainTag` uses, reworded for "name".
92
154
  */
93
155
  export declare function formatAuthorTag(p?: Provenance | null): string;
94
156
  /**
package/dist/render.js CHANGED
@@ -10,7 +10,7 @@
10
10
  * shapes without atom_id/created_at degrade gracefully: those parts of
11
11
  * the line are simply omitted.
12
12
  */
13
- import { MAX_DOMAIN_TAG_LITERAL, exactLiteral } from "./names.js";
13
+ import { MAX_DOMAIN_TAG_LITERAL, exactLiteral, structuredText } from "./names.js";
14
14
  import { parseAsUtc, utcInstant } from "./time.js";
15
15
  /**
16
16
  * Sanitize a string for inline interpolation into tool output (CN-032: hostile
@@ -59,33 +59,116 @@ export function safeInline(s, cap = 200) {
59
59
  .trim()
60
60
  .slice(0, cap);
61
61
  }
62
+ /**
63
+ * `agent_name || agent || client_env`, exactly as the wire sent it: no
64
+ * sanitising, no suffix. The single raw value `authorName` and
65
+ * `formatAuthorTag` below BOTH derive from, so the bare structured field and
66
+ * the quoted text tag cannot end up naming two different agents. The same
67
+ * raw value is what src/tools.ts passes to `withDomainEscapeLegend` as an
68
+ * author candidate, so its independent recomputation of `exactLiteral` finds
69
+ * the same literal `formatAuthorTag` printed (I66-3, issue #66).
70
+ *
71
+ * Returns `""`, not `null`/`undefined`, when there is no renderable name at
72
+ * all: an absent provenance, every field empty, or the field that won the
73
+ * `||` chain arriving with the wrong wire type. A numeric `agent_name` is a
74
+ * real shape a hostile or buggy connector sends, not a hypothetical one; see
75
+ * "a non-string where the type promised a string" below, and CN-032's own
76
+ * history with this exact field.
77
+ */
78
+ export function rawAuthorName(p) {
79
+ if (!p)
80
+ return "";
81
+ const raw = p.agent_name || p.agent || p.client_env;
82
+ return typeof raw === "string" ? raw : "";
83
+ }
62
84
  /**
63
85
  * "X" / "X · external": agent identity only, never the human `principal`
64
86
  * (may be an email / PII), even though the response carries it. Empty string
65
87
  * when there is no renderable name.
66
88
  *
67
- * Extracted from `formatAuthorTag` (S4, structured-output plan) so
68
- * `structuredItem` below can put the same sanitised name into
69
- * `structuredContent.author` without re-deriving it, and so the two never
70
- * drift: `formatAuthorTag` now builds its bracketed text FROM this value
71
- * rather than computing its own copy.
89
+ * Feeds `structuredContent.author` (via `structuredItem`, below), not the
90
+ * text tag; `formatAuthorTag` now quotes `rawAuthorName`'s value itself
91
+ * (I66-1) rather than building its bracketed text from this one, so the two
92
+ * no longer share a derivation the way the original S4 extraction intended,
93
+ * and instead share `rawAuthorName` as their common raw input.
94
+ *
95
+ * Until owner decision I66-2 (issue #66, 2026-09-23), this ran the raw name
96
+ * through `safeInline`, the same ASCII-only, bracket-stripping sanitiser the
97
+ * text tag used, which erased Cyrillic/CJK/Arabic names from the DATA just
98
+ * as completely as it erased them from the text: a second, previously
99
+ * unreported instance of the bug the issue reports for the tag, found with
100
+ * zero non-Latin fixtures anywhere in this file's history. It now runs
101
+ * through `structuredText` (src/names.ts) instead, the same
102
+ * control/bidi/zero-width-only normalisation `reason` already gets on this
103
+ * surface, so a name survives here whenever it survives on the page.
104
+ *
105
+ * This deliberately drops bracket-stripping on this field: a bare JSON
106
+ * value cannot be "closed early" by a literal `]` or `"` the way a
107
+ * hand-built sentence can (the MCP SDK serialises the field; this code does
108
+ * not concatenate it into one). The property CN-032 actually needs here, a
109
+ * reader must not be shown something that is not there or have text
110
+ * hidden/reordered inside it, is exactly what `structuredText` still strips
111
+ * (control, bidi, zero-width). The `[by "…"]` TEXT tag carries the
112
+ * anti-injection burden for the rendered surface instead, via
113
+ * `exactLiteral`'s quoting.
72
114
  */
73
115
  export function authorName(p) {
74
- if (!p)
116
+ // Present exactly when the text tag prints the name (Sigma, review round
117
+ // 3 on #66): the same exactLiteral check under MAX_DOMAIN_TAG_LITERAL
118
+ // decides, so a name the tag refuses ("(name cannot be printed exactly)")
119
+ // is withheld here too, and a name the tag prints is carried whole (the
120
+ // structuredText normalisation, never a truncated prefix). The old cap of
121
+ // 64 code points, inherited from safeInline, let the data hold a shorter
122
+ // name than the page showed, with nothing marking the cut.
123
+ const raw = rawAuthorName(p);
124
+ if (!raw || !exactLiteral(raw, MAX_DOMAIN_TAG_LITERAL))
75
125
  return "";
76
- const raw = p.agent_name || p.agent || p.client_env || "";
77
- const who = safeInline(raw, 64);
126
+ // One stated exception: a name made only of the characters structuredText
127
+ // removes (whitespace, control, bidi, zero-width) is printed exactly in
128
+ // the tag, as an escaped literal with the legend, but leaves nothing to
129
+ // carry as a plain data value; the data omits the field rather than carry
130
+ // "" or the raw characters.
131
+ const who = structuredText(raw, MAX_DOMAIN_TAG_LITERAL);
78
132
  if (!who)
79
133
  return "";
80
- return p.is_external ? `${who} · external` : who;
134
+ return p?.is_external === true ? `${who} · external` : who;
81
135
  }
82
136
  /**
83
- * ` [by X]` / ` [by X · external]` — agent identity only, never the human
84
- * `principal` (may be an email / PII), even though the response carries it.
137
+ * ` [by "X"]` / ` [by "X" · external]`: agent identity only, never the
138
+ * human `principal` (may be an email / PII), even though the response
139
+ * carries it.
140
+ *
141
+ * Quoted as an exact JSON literal (`exactLiteral`, src/names.ts), the same
142
+ * treatment `formatDomainTag` below already gives `@domain`, for EVERY
143
+ * name, including a plain ASCII one like "sigma", not only names that
144
+ * happen to need escaping (owner decision I66-1, issue #66, 2026-09-24:
145
+ * full symmetry with domains, no second unquoted branch). Before this, a
146
+ * Cyrillic, CJK or Arabic `agent_name` sanitised through `safeInline`'s
147
+ * ASCII-only charset to an empty string, and the tag disappeared with no
148
+ * trace, the exact defect `formatDomainTag` was already fixed for in 0.8.1,
149
+ * reached here in a later release (issue #66).
150
+ *
151
+ * Operates on `rawAuthorName`, not `authorName`'s sanitised value: quoting
152
+ * the raw wire name is what lets `exactLiteral` print and escape characters
153
+ * a sanitiser would have dropped, and what lets `withDomainEscapeLegend`'s
154
+ * independent recomputation (src/tools.ts) find the same literal this
155
+ * function printed.
156
+ *
157
+ * `" · external"` sits OUTSIDE the quotes (I66-3): it is a server-added
158
+ * qualifier, not part of the name, so it is not part of what gets escaped
159
+ * and not part of what the escape-legend candidate has to match.
160
+ *
161
+ * The cap is `MAX_DOMAIN_TAG_LITERAL` itself, not a second constant with the
162
+ * same value (I66-4): a name too long to print exactly gets the same
163
+ * disclosed, name-free fallback `formatDomainTag` uses, reworded for "name".
85
164
  */
86
165
  export function formatAuthorTag(p) {
87
- const who = authorName(p);
88
- return who ? ` [by ${who}]` : "";
166
+ const raw = rawAuthorName(p);
167
+ if (!raw)
168
+ return "";
169
+ const exact = exactLiteral(raw, MAX_DOMAIN_TAG_LITERAL);
170
+ const printed = exact ? exact.literal : "(name cannot be printed exactly)";
171
+ return ` [by ${printed}${p?.is_external === true ? " · external" : ""}]`;
89
172
  }
90
173
  /**
91
174
  * ` @"domain"` — which store the memory actually came from, printed so it can
@@ -1 +1 @@
1
- {"version":3,"file":"render.js","sourceRoot":"","sources":["../src/render.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,EAAE,sBAAsB,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAClE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AA8BnD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,MAAM,UAAU,UAAU,CAAC,CAAU,EAAE,GAAG,GAAG,GAAG;IAC9C,IAAI,OAAO,CAAC,KAAK,QAAQ;QAAE,OAAO,EAAE,CAAC;IACrC,OAAO,CAAC;SACL,OAAO,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EAAyE;AACzE,MAAM,UAAU,gBAAgB,CAAC,KAAmB,EAAE,UAAoB;IACxE,MAAM,KAAK,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC,gBAAgB,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC;IAC5D,uEAAuE;IACvE,0EAA0E;IAC1E,8EAA8E;IAC9E,8EAA8E;IAC9E,yEAAyE;IACzE,wBAAwB;IACxB,EAAE;IACF,qEAAqE;IACrE,0EAA0E;IAC1E,yEAAyE;IACzE,0EAA0E;IAC1E,oEAAoE;IACpE,2DAA2D;IAC3D,wEAAwE;IACxE,wEAAwE;IACxE,0EAA0E;IAC1E,uEAAuE;IACvE,SAAS;IACT,IAAI,IAAY,CAAC;IACjB,IAAI,UAAU,IAAI,IAAI,EAAE,CAAC;QACvB,IAAI,GAAG,mCAAmC,CAAC;IAC7C,CAAC;SAAM,IAAI,OAAO,UAAU,KAAK,QAAQ,IAAI,SAAS,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC;QACxE,IAAI,GAAG,+CAA+C,UAAU,EAAE,CAAC;IACrE,CAAC;SAAM,CAAC;QACN,IAAI,GAAG,uHAAuH,CAAC;IACjI,CAAC;IACD,OAAO,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;AACnC,CAAC"}
@@ -52,6 +52,29 @@ export interface WriteArgs {
52
52
  concepts?: string[];
53
53
  domain?: string;
54
54
  }
55
+ /**
56
+ * Supplier-vouched authorship for a write (STEP4-5, owner 2026-09-24),
57
+ * mirroring core's `ProvenanceWriteSchema` field for field
58
+ * (mnemoverse-core src/mnemo/api/schemas.py:123-150): `principal`, `agent`,
59
+ * `agent_name`, `client_env` and `is_external`, all optional.
60
+ *
61
+ * Core honours this ONLY for a SERVICE/supplier caller (`author` in the
62
+ * write body) and IGNORES it entirely for an OIDC end-user, who is stamped
63
+ * solely from their own verified token (`routes._get_provenance`,
64
+ * mnemoverse-core src/mnemo/api/routes.py:211-276), so a caller supplying
65
+ * this for a plain end-user key gets no error, just a silently dropped
66
+ * value. Core also RE-NORMALISES every field server-side (an allow-list on
67
+ * `client_env`, length caps, `is_external` coerced to a real boolean), so
68
+ * this package does not re-validate the shape beyond the `typeof` guard at
69
+ * the one call site that reads it: that is core's job, not this one's.
70
+ */
71
+ export interface WriteAuthor {
72
+ principal?: string;
73
+ agent?: string;
74
+ agent_name?: string;
75
+ client_env?: string;
76
+ is_external?: boolean;
77
+ }
55
78
  /**
56
79
  * The scope actually searched: what core receives, and therefore the only value
57
80
  * any message about the result may describe.
@@ -66,9 +89,17 @@ export declare function searchedScope(domain?: string): string | undefined;
66
89
  export declare function readRequestBody(a: ReadArgs): Record<string, unknown>;
67
90
  /** memory_list_recent. */
68
91
  export declare function recentRequestBody(a: RecentArgs): Record<string, unknown>;
69
- /** memory_write. `"general"` is the server-side default made explicit, and is
70
- * what 0.8.0 sent — NOT a normalisation of the caller's value. */
71
- export declare function writeRequestBody(a: WriteArgs): Record<string, unknown>;
92
+ /**
93
+ * memory_write. `"general"` is the server-side default made explicit, and is
94
+ * what 0.8.0 sent — NOT a normalisation of the caller's value.
95
+ *
96
+ * `author` (STEP4-5): sent verbatim, exactly as the caller's `writeAuthor()`
97
+ * dependency returned it, when present: this function does no field-level
98
+ * normalisation of it (core re-normalises server-side, see {@link WriteAuthor}).
99
+ * Omitted entirely, not sent as `undefined`, when there is none, so every
100
+ * existing write body this function ever produced stays byte-identical.
101
+ */
102
+ export declare function writeRequestBody(a: WriteArgs, author?: WriteAuthor): Record<string, unknown>;
72
103
  /**
73
104
  * Refuse a docs placeholder key from CONFIGURATION ALONE, before any tool
74
105
  * call sends it anywhere.
package/dist/requests.js CHANGED
@@ -71,13 +71,22 @@ export function recentRequestBody(a) {
71
71
  cursor: a.cursor || undefined,
72
72
  };
73
73
  }
74
- /** memory_write. `"general"` is the server-side default made explicit, and is
75
- * what 0.8.0 sent — NOT a normalisation of the caller's value. */
76
- export function writeRequestBody(a) {
74
+ /**
75
+ * memory_write. `"general"` is the server-side default made explicit, and is
76
+ * what 0.8.0 sent — NOT a normalisation of the caller's value.
77
+ *
78
+ * `author` (STEP4-5): sent verbatim, exactly as the caller's `writeAuthor()`
79
+ * dependency returned it, when present: this function does no field-level
80
+ * normalisation of it (core re-normalises server-side, see {@link WriteAuthor}).
81
+ * Omitted entirely, not sent as `undefined`, when there is none, so every
82
+ * existing write body this function ever produced stays byte-identical.
83
+ */
84
+ export function writeRequestBody(a, author) {
77
85
  return {
78
86
  content: a.content,
79
87
  concepts: a.concepts || [],
80
88
  domain: a.domain || "general",
89
+ ...(author === undefined ? {} : { author }),
81
90
  };
82
91
  }
83
92
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"requests.js","sourceRoot":"","sources":["../src/requests.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AAEH,4EAA4E;AAC5E,4EAA4E;AAC5E,6EAA6E;AAC7E,wDAAwD;AACxD,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AA2BvC;;;;;;;GAOG;AACH,MAAM,UAAU,aAAa,CAAC,MAAe;IAC3C,OAAO,MAAM,IAAI,SAAS,CAAC;AAC7B,CAAC;AAED;mEACmE;AACnE,MAAM,UAAU,eAAe,CAAC,CAAW;IACzC,OAAO;QACL,KAAK,EAAE,CAAC,CAAC,KAAK;QACd,KAAK,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC;QACnB,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;QAC/B,oBAAoB,EAAE,IAAI;QAC1B,GAAG,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QAC/C,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,C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