@memnexus-ai/cli 1.7.217 → 1.7.218

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.
@@ -122,6 +122,179 @@ export declare function runBulkDeletePaged(ids: string[], deps: Omit<BulkDeleteD
122
122
  * id. Used by `--all`. Stops when a page returns fewer than the page size.
123
123
  */
124
124
  export declare function collectAllMemoryIds(listFn: (params: any) => Promise<any>, filterParams?: Record<string, unknown>, pageSize?: number): Promise<string[]>;
125
+ /** Default parallel creates when MX_CREATE_CONCURRENCY is unset. */
126
+ export declare const BATCH_CREATE_DEFAULT_CONCURRENCY = 4;
127
+ /** Clamp band for MX_CREATE_CONCURRENCY (mirrors the RECALL_MAX_MS clamp convention). */
128
+ export declare const BATCH_CREATE_CONCURRENCY_MIN = 1;
129
+ export declare const BATCH_CREATE_CONCURRENCY_MAX = 8;
130
+ /** Max retries per item on 429/503 before giving up (mirrors batch delete). */
131
+ export declare const BATCH_CREATE_MAX_RETRIES = 3;
132
+ /**
133
+ * Hard cap on total stdin bytes read (128 MB) before we abort. A mistaken
134
+ * multi-GB pipe would otherwise accumulate unbounded and OOM the CLI
135
+ * (CWE-400, client-side); we fail closed with a clear error instead. Matches
136
+ * the 64KB-class file-bound precedent from v3.89a — generous enough that any
137
+ * legitimate JSONL batch fits, small enough that a runaway pipe stops early.
138
+ */
139
+ export declare const BATCH_CREATE_MAX_STDIN_BYTES: number;
140
+ /**
141
+ * Hard cap on a single JSONL line length (1 MB). A line longer than this is
142
+ * rejected as a per-line parse error BEFORE JSON.parse (bounding parser memory),
143
+ * preserving the one-result-line-per-input-line contract instead of aborting
144
+ * the whole stream. A single memory body never legitimately approaches 1 MB.
145
+ */
146
+ export declare const BATCH_CREATE_MAX_LINE_BYTES: number;
147
+ /**
148
+ * Fields a JSONL create line may carry. Mirrors the single-create option map
149
+ * (createMemory body). Any other key is rejected per-line — a typo like
150
+ * "contnet" fails that line loudly instead of silently dropping the content.
151
+ * `supersedes` is intentionally excluded: it is a separate relationship call in
152
+ * single-create, out of scope for the streaming path (noted in the PR).
153
+ */
154
+ export declare const BATCH_CREATE_ALLOWED_KEYS: Set<string>;
155
+ /** True when an error is an HTTP 503 (service unavailable — transient). */
156
+ export declare function isServiceUnavailableError(error: any): boolean;
157
+ /** True when a create should be retried: 429 (rate limited) or 503 (transient). */
158
+ export declare function isRetryableCreateError(error: any): boolean;
159
+ /** True when an error is an HTTP 402 (quota / payment required). */
160
+ export declare function isQuotaError(error: any): boolean;
161
+ export interface BatchCreateItem {
162
+ /** 1-based input line number (blank lines are skipped, so this is not dense). */
163
+ line: number;
164
+ /** Parsed createMemory body; absent when the line failed to parse/validate. */
165
+ data?: Record<string, unknown>;
166
+ /** Set when the line could not be parsed or validated. */
167
+ parseError?: string;
168
+ }
169
+ /**
170
+ * Machine-readable reason on a FAILED result line. Absent on success. Lets a
171
+ * script branch on the failure class without string-matching `error`:
172
+ * - PARSE_ERROR the input line was not a valid createMemory object.
173
+ * - CREATE_FAILED the create request failed (after retries) for this line.
174
+ * - QUOTA_STOPPED a 402 on this line stopped the stream early.
175
+ * - NOT_ATTEMPTED never sent because the stream stopped early on a quota.
176
+ * - OUTPUT_CLOSED never sent because the stdout sink closed early (EPIPE).
177
+ */
178
+ export type BatchCreateResultCode = 'PARSE_ERROR' | 'CREATE_FAILED' | 'QUOTA_STOPPED' | 'NOT_ATTEMPTED' | 'OUTPUT_CLOSED';
179
+ export interface BatchCreateResult {
180
+ line: number;
181
+ ok: boolean;
182
+ id?: string;
183
+ error?: string;
184
+ /** Failure class (absent on success). */
185
+ code?: BatchCreateResultCode;
186
+ }
187
+ export interface BatchCreateSummary {
188
+ total: number;
189
+ ok: number;
190
+ failed: number;
191
+ /** Lines never attempted because the stream stopped early (quota or sink close). */
192
+ notAttempted: number;
193
+ /** True when a 402 stopped the stream early. */
194
+ quotaStopped: boolean;
195
+ /** 429/503 responses observed across all items and retries. */
196
+ rateLimitedCount: number;
197
+ /** Result lines successfully written to the sink (< ok+failed if the sink died). */
198
+ delivered: number;
199
+ /** True when the stdout sink threw (EPIPE / reader closed early). */
200
+ outputClosed: boolean;
201
+ }
202
+ /**
203
+ * Parse and validate one JSONL line into a createMemory body.
204
+ *
205
+ * Returns `{ data }` on success or `{ error }` on failure. Rejects: non-JSON,
206
+ * non-object lines, unknown keys, and a missing/blank `content`. `conversationId`
207
+ * defaults to "NEW" (mirrors single-create). `topics` accepts a JSON array or a
208
+ * comma-separated string; `importance` accepts a number or numeric string.
209
+ */
210
+ export declare function parseJsonlCreateLine(raw: string): {
211
+ data?: Record<string, unknown>;
212
+ error?: string;
213
+ };
214
+ /**
215
+ * Resolve the create concurrency from MX_CREATE_CONCURRENCY, clamped to
216
+ * [MIN, MAX]. Out-of-band values are clamped to the nearest bound (non-numeric →
217
+ * default) and warn once on stderr — mirrors the RECALL_MAX_MS clamp convention
218
+ * (import-time band + single WARN).
219
+ */
220
+ export declare function resolveCreateConcurrency(raw: string | undefined, warn?: (msg: string) => void): number;
221
+ export interface BatchCreateItemDeps {
222
+ createFn: (data: Record<string, unknown>) => Promise<{
223
+ id?: string;
224
+ }>;
225
+ sleep: (ms: number) => Promise<void>;
226
+ maxRetries?: number;
227
+ defaultRetryMs?: number;
228
+ onRateLimited?: (waitMs: number) => void;
229
+ }
230
+ /**
231
+ * Create one memory, retrying on 429/503 up to `maxRetries` times, honoring the
232
+ * server's Retry-After hint (falls back to linear backoff). A 402 (quota) is
233
+ * NOT retried — it rethrows immediately so the pool can stop the stream early.
234
+ */
235
+ export declare function batchCreateWithRetry(data: Record<string, unknown>, deps: BatchCreateItemDeps): Promise<{
236
+ id?: string;
237
+ }>;
238
+ export interface RunBatchCreateDeps extends BatchCreateItemDeps {
239
+ /** Number of parallel creates in flight (already clamped by the caller). */
240
+ concurrency: number;
241
+ /** Emitted once per result in COMPLETION order (not-attempted appended last). */
242
+ onResult?: (result: BatchCreateResult) => void;
243
+ }
244
+ /**
245
+ * Run `items` through a bounded-concurrency worker pool. Each valid line becomes
246
+ * one createMemory call with per-item 429/503 retry; each parse-error line
247
+ * resolves immediately as a failure. Results are emitted via `onResult` in
248
+ * COMPLETION order, with the input line number attached.
249
+ *
250
+ * A 402 (quota exhausted) STOPS the stream early: the offending line is reported
251
+ * as failed, no new lines are pulled, in-flight creates drain, and every
252
+ * not-yet-pulled line is emitted as a not-attempted failure in line order. This
253
+ * mirrors the batch-delete early-abort contract — the caller always gets one
254
+ * result line per input line, never a dropped report (the v3.90 lesson).
255
+ *
256
+ * If the sink (`onResult`, i.e. stdout) THROWS — the classic `... | head`
257
+ * EPIPE — that is a distinct terminal condition, NOT a create failure. The
258
+ * create for that line already succeeded and is counted; we stop pulling new
259
+ * work, emit nothing further to the dead sink, and set `outputClosed` so the
260
+ * caller can print an accounting to stderr (which is still open). `emit` is
261
+ * guarded so a sink throw can never be misread as a create failure (which would
262
+ * duplicate the line) nor propagate uncaught.
263
+ */
264
+ export declare function runBatchCreate(items: BatchCreateItem[], deps: RunBatchCreateDeps): Promise<BatchCreateSummary>;
265
+ /**
266
+ * Split raw stdin into non-blank lines, each paired with its 1-based input line
267
+ * number and parse result. Blank/whitespace-only lines are skipped silently (a
268
+ * trailing newline is normal in JSONL and is not an error).
269
+ */
270
+ export declare function buildBatchCreateItems(raw: string): BatchCreateItem[];
271
+ /** Thrown by readStdinRaw when accumulated stdin exceeds the byte cap. */
272
+ export declare class StdinTooLargeError extends Error {
273
+ readonly bytes: number;
274
+ readonly limit: number;
275
+ readonly code = "STDIN_TOO_LARGE";
276
+ constructor(bytes: number, limit: number);
277
+ }
278
+ /**
279
+ * Read all of stdin as a single string (no whitespace splitting), aborting once
280
+ * accumulated bytes exceed `maxBytes`. Without the cap a mistaken multi-GB pipe
281
+ * would grow `data` unbounded and OOM the CLI (CWE-400); we fail closed with a
282
+ * StdinTooLargeError instead. `maxBytes` is injectable for tests; production
283
+ * uses BATCH_CREATE_MAX_STDIN_BYTES.
284
+ */
285
+ export declare function readStdinRaw(maxBytes?: number): Promise<string>;
286
+ /**
287
+ * `mx memories create --stdin-jsonl`: streaming batch create. Reads JSONL from
288
+ * stdin (one createMemory body per line), fires bounded-concurrency creates, and
289
+ * writes one JSONL result line per input line to stdout in completion order.
290
+ *
291
+ * stdout is PURE JSONL: the ONLY writes are the per-line result objects below.
292
+ * Every status/warning/summary goes to stderr. There is no session-preamble
293
+ * printer on this command path, so the #4176-class stdout-pollution bug cannot
294
+ * occur here — but the split is enforced deliberately so a future preamble can
295
+ * never leak into the machine-readable stream.
296
+ */
297
+ export declare function handleStreamingCreate(maxStdinBytes?: number): Promise<void>;
125
298
  /**
126
299
  * Register memory management commands
127
300
  * @param program - Commander program instance
@@ -1 +1 @@
1
- {"version":3,"file":"memories.d.ts","sourceRoot":"","sources":["../../src/commands/memories.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AA0BpC,qEAAqE;AACrE,eAAO,MAAM,2BAA2B,IAAI,CAAC;AAC7C,mDAAmD;AACnD,eAAO,MAAM,2BAA2B,QAAS,CAAC;AAElD,mDAAmD;AACnD,wBAAgB,sBAAsB,IAAI,MAAM,CAE/C;AAED;;;;;;GAMG;AACH,wBAAgB,yBAAyB,CAAC,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,EAAE,CAYlF;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAAC,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,IAAI,CASnE;AAED;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CA0B5E;AA0CD;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CA0BzE;AA0RD,sFAAsF;AACtF,eAAO,MAAM,mBAAmB,MAAM,CAAC;AACvC,2EAA2E;AAC3E,eAA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