opencode-codex-memory 0.10.1 → 0.10.2

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 (45) hide show
  1. package/README.md +10 -12
  2. package/dist/src/agent-health.js +10 -7
  3. package/dist/src/capture.js +7 -7
  4. package/dist/src/citation.js +12 -3
  5. package/dist/src/claude-import.js +1 -3
  6. package/dist/src/codex-interop.js +20 -5
  7. package/dist/src/db.d.ts +0 -2
  8. package/dist/src/db.js +0 -4
  9. package/dist/src/git-baseline.d.ts +4 -6
  10. package/dist/src/git-baseline.js +45 -68
  11. package/dist/src/host-client.d.ts +5 -0
  12. package/dist/src/host-client.js +24 -0
  13. package/dist/src/index.d.ts +1 -1
  14. package/dist/src/index.js +56 -99
  15. package/dist/src/llm.d.ts +4 -1
  16. package/dist/src/llm.js +41 -13
  17. package/dist/src/options.d.ts +7 -0
  18. package/dist/src/options.js +20 -2
  19. package/dist/src/paths.d.ts +1 -0
  20. package/dist/src/paths.js +5 -2
  21. package/dist/src/phase1.js +12 -21
  22. package/dist/src/phase2.js +3 -3
  23. package/dist/src/reasoning-variant.d.ts +7 -0
  24. package/dist/src/reasoning-variant.js +11 -2
  25. package/dist/src/rollout-input.js +3 -5
  26. package/dist/src/session-version.js +4 -5
  27. package/dist/src/source.js +6 -2
  28. package/dist/src/store.d.ts +3 -2
  29. package/dist/src/store.js +72 -47
  30. package/dist/src/v2/agents.js +11 -14
  31. package/dist/src/v2/model-readiness.js +3 -1
  32. package/dist/src/v2/plugin.js +81 -109
  33. package/dist/src/v2/search-sandbox.js +1 -1
  34. package/dist/src/v2/service.js +5 -0
  35. package/dist/src/v2/shim.d.ts +3 -0
  36. package/dist/src/v2/shim.js +144 -90
  37. package/dist/src/v2/status-rpc.js +40 -14
  38. package/dist/src/v2/status.js +4 -7
  39. package/dist/src/v2/tools.d.ts +15 -9
  40. package/dist/src/v2/tools.js +9 -9
  41. package/dist/src/v2/tui.js +14 -4
  42. package/dist/src/workspace.js +13 -4
  43. package/dist/tools/control.js +29 -28
  44. package/dist/tools/memory.js +163 -89
  45. package/package.json +22 -9
@@ -1,6 +1,7 @@
1
1
  import fs from "fs";
2
2
  import path from "path";
3
- import { safeResolveMemoryPath, assertMemoryRootSafe, readRegularFileNoFollow, writeRegularFileNoFollow, } from "../src/path-guard.js";
3
+ import { setImmediate as yieldToHost } from "node:timers/promises";
4
+ import { safeResolveMemoryPath, safeResolveUnderRoot, assertMemoryRootSafe, readRegularFileNoFollow, writeRegularFileNoFollow, } from "../src/path-guard.js";
4
5
  import { tool as defineTool } from "@opencode-ai/plugin";
5
6
  import { withSessionMemoryVersion } from "../src/session-version.js";
6
7
  // Both host adapters call these definitions. Resolve once for the whole tool
@@ -18,7 +19,9 @@ export const memory_read = tool({
18
19
  "Paths are relative to the memory root and cannot escape it. Supports line_offset/max_lines for " +
19
20
  "reading a window of a large file; line_offset is 1-indexed and the starting line is reported.",
20
21
  args: {
21
- path: tool.schema.string().describe("Relative path inside the memory workspace (e.g. MEMORY.md, rollout_summaries/session-xyz.md)."),
22
+ path: tool.schema
23
+ .string()
24
+ .describe("Relative path inside the memory workspace (e.g. MEMORY.md, rollout_summaries/session-xyz.md)."),
22
25
  line_offset: tool.schema.number().int().min(1).optional().describe("1-indexed line to start reading from."),
23
26
  max_lines: tool.schema.number().int().min(1).optional().describe("Maximum number of lines to return."),
24
27
  },
@@ -34,7 +37,9 @@ export const memory_read = tool({
34
37
  .sort((a, b) => comparePathNames(a.name, b.name))
35
38
  .map((e) => e.name);
36
39
  return {
37
- output: `Directory ${args.path}/\n` + entries.map((e) => `- ${e}`).join("\n") + "\n(use memory_list for sorted, typed listings)",
40
+ output: `Directory ${args.path}/\n` +
41
+ entries.map((e) => `- ${e}`).join("\n") +
42
+ "\n(use memory_list for sorted, typed listings)",
38
43
  metadata: { kind: "directory", entries },
39
44
  };
40
45
  }
@@ -61,7 +66,10 @@ export const memory_read = tool({
61
66
  if (Buffer.byteLength(body, "utf8") > MAX_READ_BYTES) {
62
67
  byteTruncated = true;
63
68
  // Byte-accurate cut; drop a possibly split trailing multibyte char.
64
- body = Buffer.from(body, "utf8").subarray(0, MAX_READ_BYTES).toString("utf8").replace(/\uFFFD+$/, "");
69
+ body = Buffer.from(body, "utf8")
70
+ .subarray(0, MAX_READ_BYTES)
71
+ .toString("utf8")
72
+ .replace(/\uFFFD+$/, "");
65
73
  }
66
74
  const notes = [];
67
75
  if (lineTruncated)
@@ -71,7 +79,12 @@ export const memory_read = tool({
71
79
  const header = startLine > 1 ? `[starting at line ${startLine}]\n` : "";
72
80
  return {
73
81
  output: header + body + (notes.length ? "\n\n" + notes.join("\n") : ""),
74
- metadata: { path: args.path, bytes: stat.size, start_line_number: startLine, truncated: byteTruncated || lineTruncated },
82
+ metadata: {
83
+ path: args.path,
84
+ bytes: stat.size,
85
+ start_line_number: startLine,
86
+ truncated: byteTruncated || lineTruncated,
87
+ },
75
88
  };
76
89
  }
77
90
  catch (err) {
@@ -114,9 +127,18 @@ export const memory_list = tool({
114
127
  "with entry types. Hidden files and symlinks are skipped. Supports cursor pagination and listing " +
115
128
  "a single file. Use path '' (empty) for the memory root.",
116
129
  args: {
117
- path: tool.schema.string().default("").describe("Relative directory path inside the memory workspace ('' for the root)."),
130
+ path: tool.schema
131
+ .string()
132
+ .default("")
133
+ .describe("Relative directory path inside the memory workspace ('' for the root)."),
118
134
  cursor: tool.schema.string().optional().describe("Pagination cursor from a previous response's next_cursor."),
119
- max_results: tool.schema.number().int().min(1).max(LIST_MAX_RESULTS).default(LIST_MAX_RESULTS).describe("Maximum entries to return."),
135
+ max_results: tool.schema
136
+ .number()
137
+ .int()
138
+ .min(1)
139
+ .max(LIST_MAX_RESULTS)
140
+ .default(LIST_MAX_RESULTS)
141
+ .describe("Maximum entries to return."),
120
142
  },
121
143
  async execute(args) {
122
144
  try {
@@ -235,6 +257,8 @@ function firstContentLine(content) {
235
257
  }
236
258
  // --- search engine, ported from codex ext/memories/src/local/search.rs ---
237
259
  const SEARCH_MAX_RESULTS = 200; // codex MAX_SEARCH_RESULTS (= default)
260
+ const SEARCH_PAGE_BYTES = 128 * 1024;
261
+ const SNIPPET_BYTES = 16 * 1024;
238
262
  // codex SearchComparison::prepare: lowercase when case-insensitive; when
239
263
  // normalized, keep ONLY alphanumeric characters (Unicode) so "blue-green",
240
264
  // "blue green" and "bluegreen" compare equal.
@@ -244,61 +268,57 @@ function prepareComparable(value, caseSensitive, normalized) {
244
268
  v = v.replace(/[^\p{L}\p{N}]/gu, "");
245
269
  return v;
246
270
  }
247
- /**
248
- * Per-file matching, all three codex modes. Window mode extends from every
249
- * line matching at least one query until all queries are covered (bounded by
250
- * lineCount), then drops windows that strictly contain another window so only
251
- * minimal windows are reported.
252
- */
253
- function searchFileContent(file, lines, queries, preparedQueries, mode, lineCount, contextLines, caseSensitive, normalized, out) {
254
- const lineFlags = lines.map((line) => {
255
- const prepared = prepareComparable(line, caseSensitive, normalized);
256
- return preparedQueries.map((q) => prepared.includes(q));
257
- });
258
- const matchedQueries = (flags) => queries.filter((_, i) => flags[i]);
259
- const push = (start, end, flags) => {
260
- const contentStart = Math.max(0, start - contextLines);
261
- const contentEnd = Math.min(lines.length, end + contextLines + 1);
262
- out.push({
263
- path: file.rel,
264
- match_line_number: start + 1,
265
- content_start_line_number: contentStart + 1,
266
- content: lines.slice(contentStart, contentEnd).join("\n"),
267
- matched_queries: matchedQueries(flags),
268
- });
269
- };
270
- if (mode === "any" || mode === "all_on_same_line") {
271
- for (let i = 0; i < lines.length; i++) {
272
- const flags = lineFlags[i];
273
- const hit = mode === "any" ? flags.some(Boolean) : flags.every(Boolean);
274
- if (hit)
275
- push(i, i, flags);
271
+ /** A minimal covering window ends exactly when the oldest last-seen query moves forward. */
272
+ async function searchFileContent(lines, preparedQueries, mode, lineCount, caseSensitive, normalized, signal, hit) {
273
+ const last = preparedQueries.map(() => -1);
274
+ let previous = -1;
275
+ for (let i = 0; i < lines.length; i++) {
276
+ if (i && i % 2048 === 0) {
277
+ await yieldToHost();
278
+ signal?.throwIfAborted();
276
279
  }
277
- return;
278
- }
279
- // all_within_lines
280
- const windows = [];
281
- for (let start = 0; start < lines.length; start++) {
282
- if (!lineFlags[start].some(Boolean))
280
+ const line = prepareComparable(lines[i], caseSensitive, normalized);
281
+ const flags = preparedQueries.map((q) => line.includes(q));
282
+ if (mode !== "all_within_lines") {
283
+ if (mode === "any" ? flags.some(Boolean) : flags.every(Boolean))
284
+ hit(i, i, flags);
283
285
  continue;
284
- const lastAllowed = Math.min(start + lineCount - 1, lines.length - 1);
285
- const flags = new Array(preparedQueries.length).fill(false);
286
- for (let end = start; end <= lastAllowed; end++) {
287
- for (let q = 0; q < flags.length; q++)
288
- flags[q] = flags[q] || lineFlags[end][q];
289
- if (flags.every(Boolean)) {
290
- windows.push({ start, end, flags });
291
- break;
292
- }
293
286
  }
287
+ for (let q = 0; q < flags.length; q++)
288
+ if (flags[q])
289
+ last[q] = i;
290
+ const start = Math.min(...last);
291
+ if (start > previous && i - start < lineCount)
292
+ hit(start, i);
293
+ previous = start;
294
294
  }
295
- for (let i = 0; i < windows.length; i++) {
296
- const w = windows[i];
297
- const containsAnother = windows.some((o, j) => i !== j && w.start <= o.start && w.end >= o.end && (w.start !== o.start || w.end !== o.end));
298
- if (containsAnother)
299
- continue;
300
- push(w.start, w.end, w.flags);
295
+ }
296
+ /** Materialize only returned matches. Keep the hit visible even with huge leading context. */
297
+ function searchSnippet(lines, start, end, context) {
298
+ let first = start;
299
+ let bytes = 0;
300
+ while (first > Math.max(0, start - context)) {
301
+ const extra = Buffer.byteLength(lines[first - 1]) + 1;
302
+ if (bytes + extra > SNIPPET_BYTES / 4)
303
+ break;
304
+ bytes += extra;
305
+ first--;
306
+ }
307
+ const chunks = lines.slice(first, start);
308
+ for (let i = start; i <= Math.min(end + context, lines.length - 1); i++) {
309
+ const line = lines[i];
310
+ const room = SNIPPET_BYTES - bytes - 32;
311
+ if (line.length > room || Buffer.byteLength(line) > room) {
312
+ chunks.push(Buffer.from(line.slice(0, Math.max(0, room)))
313
+ .subarray(0, Math.max(0, room))
314
+ .toString("utf8")
315
+ .replace(/\uFFFD$/, "") + " […truncated]");
316
+ break;
317
+ }
318
+ chunks.push(line);
319
+ bytes += Buffer.byteLength(line) + 1;
301
320
  }
321
+ return { content_start_line_number: first + 1, content: chunks.join("\n") };
302
322
  }
303
323
  function renderMatch(m) {
304
324
  const header = `${m.path}:${m.match_line_number}`;
@@ -316,17 +336,49 @@ export const memory_search = tool({
316
336
  "notes) from that period — useful to recall what the user was working on around a given time. " +
317
337
  "With since/until and no queries, returns a chronological listing of that period's sessions/notes.",
318
338
  args: {
319
- queries: tool.schema.array(tool.schema.string()).optional().describe("Search substrings (at least one, non-empty after trim). Optional only when since/until is set."),
320
- match_mode: tool.schema.enum(["any", "all_on_same_line", "all_within_lines"]).default("any").describe("How multiple queries combine (default any)."),
321
- line_count: tool.schema.number().int().min(1).optional().describe("Window size in lines for all_within_lines (required for that mode)."),
322
- path: tool.schema.string().optional().describe("Restrict the search to a file or directory relative to the memory root."),
339
+ queries: tool.schema
340
+ .array(tool.schema.string())
341
+ .optional()
342
+ .describe("Search substrings (at least one, non-empty after trim). Optional only when since/until is set."),
343
+ match_mode: tool.schema
344
+ .enum(["any", "all_on_same_line", "all_within_lines"])
345
+ .default("any")
346
+ .describe("How multiple queries combine (default any)."),
347
+ line_count: tool.schema
348
+ .number()
349
+ .int()
350
+ .min(1)
351
+ .optional()
352
+ .describe("Window size in lines for all_within_lines (required for that mode)."),
353
+ path: tool.schema
354
+ .string()
355
+ .optional()
356
+ .describe("Restrict the search to a file or directory relative to the memory root."),
323
357
  cursor: tool.schema.string().optional().describe("Pagination cursor from a previous response's next_cursor."),
324
358
  context_lines: tool.schema.number().int().min(0).default(0).describe("Extra lines of context around each match."),
325
- case_sensitive: tool.schema.boolean().default(true).describe("Case-sensitive matching (default true, like codex memories/search)."),
326
- normalized: tool.schema.boolean().default(false).describe("Compare only alphanumeric characters, ignoring separators (blue-green == bluegreen); combine with case_sensitive=false to also ignore case."),
327
- since: tool.schema.string().optional().describe("Only time-anchored files at/after this time (YYYY-MM-DD or ISO datetime)."),
328
- until: tool.schema.string().optional().describe("Only time-anchored files at/before this time (YYYY-MM-DD or ISO datetime; whole day for date-only)."),
329
- max_results: tool.schema.number().int().min(1).max(SEARCH_MAX_RESULTS).default(SEARCH_MAX_RESULTS).describe("Max matches per page (default/max 200, like codex)."),
359
+ case_sensitive: tool.schema
360
+ .boolean()
361
+ .default(true)
362
+ .describe("Case-sensitive matching (default true, like codex memories/search)."),
363
+ normalized: tool.schema
364
+ .boolean()
365
+ .default(false)
366
+ .describe("Compare only alphanumeric characters, ignoring separators (blue-green == bluegreen); combine with case_sensitive=false to also ignore case."),
367
+ since: tool.schema
368
+ .string()
369
+ .optional()
370
+ .describe("Only time-anchored files at/after this time (YYYY-MM-DD or ISO datetime)."),
371
+ until: tool.schema
372
+ .string()
373
+ .optional()
374
+ .describe("Only time-anchored files at/before this time (YYYY-MM-DD or ISO datetime; whole day for date-only)."),
375
+ max_results: tool.schema
376
+ .number()
377
+ .int()
378
+ .min(1)
379
+ .max(SEARCH_MAX_RESULTS)
380
+ .default(SEARCH_MAX_RESULTS)
381
+ .describe("Max matches per page (default/max 200, like codex)."),
330
382
  },
331
383
  async execute(args, ctx) {
332
384
  try {
@@ -336,6 +388,8 @@ export const memory_search = tool({
336
388
  if (!fs.existsSync(root))
337
389
  return { output: "Memory workspace is empty." };
338
390
  const queries = (args.queries ?? []).map((q) => q.trim());
391
+ if (queries.length > 64 || queries.reduce((sum, q) => sum + Buffer.byteLength(q), 0) > 8192)
392
+ return { output: "memory_search error: at most 64 queries and 8192 query bytes are supported." };
339
393
  if (args.queries && (queries.length === 0 || queries.some((q) => q.length === 0))) {
340
394
  return { output: "memory_search error: queries must be non-empty strings." };
341
395
  }
@@ -364,7 +418,9 @@ export const memory_search = tool({
364
418
  return { output: `Not found: ${args.path}` };
365
419
  }
366
420
  const rel = args.path.replace(/\/+$/, "");
367
- files = st.isFile() ? [{ rel, abs: start, ts: fileTimestamp(path.basename(start)) }] : collectSearchFiles(start, rel);
421
+ files = st.isFile()
422
+ ? [{ rel, abs: start, ts: fileTimestamp(path.basename(start)) }]
423
+ : collectSearchFiles(start, rel);
368
424
  }
369
425
  else {
370
426
  files = collectSearchFiles(root, "");
@@ -397,8 +453,7 @@ export const memory_search = tool({
397
453
  try {
398
454
  content = readRegularFileNoFollow(f.abs).content.toString("utf8");
399
455
  }
400
- catch {
401
- }
456
+ catch { }
402
457
  return `${new Date(f.ts).toISOString()} ${f.rel} — ${firstContentLine(content)}`;
403
458
  });
404
459
  if (files.length === 0)
@@ -428,40 +483,59 @@ export const memory_search = tool({
428
483
  if (preparedQueries.some((q) => q.length === 0)) {
429
484
  return { output: "memory_search error: a query is empty after normalization." };
430
485
  }
431
- // codex: collect ALL matches, sort by (path, line), then page by cursor.
432
- const all = [];
486
+ const startIndex = args.cursor === undefined ? 0 : Number(args.cursor);
487
+ if (!Number.isSafeInteger(startIndex) ||
488
+ startIndex < 0 ||
489
+ (args.cursor !== undefined && String(startIndex) !== args.cursor.trim()))
490
+ return { output: `memory_search error: invalid cursor "${args.cursor}" (must be a non-negative integer).` };
491
+ const pageMatches = [];
492
+ const pageSize = args.max_results ?? SEARCH_MAX_RESULTS;
493
+ let count = 0;
494
+ let pageBytes = 0;
495
+ let pageFull = false;
496
+ files.sort((a, b) => comparePathNames(a.rel, b.rel));
433
497
  for (const f of files) {
498
+ await yieldToHost();
499
+ ctx.abort?.throwIfAborted();
434
500
  let content;
435
501
  try {
436
- content = readRegularFileNoFollow(f.abs).content.toString("utf8");
502
+ content = readRegularFileNoFollow(safeResolveUnderRoot(root, f.rel)).content.toString("utf8");
437
503
  }
438
504
  catch {
439
505
  continue;
440
506
  }
441
507
  if (content.includes("\u0000"))
442
508
  continue; // binary, like codex's InvalidData skip
443
- searchFileContent(f, content.split(/\r?\n/), queries, preparedQueries, mode, args.line_count ?? 1, args.context_lines ?? 0, caseSensitive, normalized, all);
444
- }
445
- all.sort((a, b) => comparePathNames(a.path, b.path) || a.match_line_number - b.match_line_number);
446
- let startIndex = 0;
447
- if (args.cursor !== undefined) {
448
- startIndex = Number.parseInt(args.cursor, 10);
449
- if (!Number.isInteger(startIndex) || startIndex < 0 || String(startIndex) !== args.cursor.trim()) {
450
- return { output: `memory_search error: invalid cursor "${args.cursor}" (must be a non-negative integer).` };
451
- }
452
- if (startIndex > all.length) {
453
- return { output: `memory_search error: cursor ${startIndex} exceeds result count ${all.length}.` };
454
- }
509
+ const lines = content.split(/\r?\n/);
510
+ await searchFileContent(lines, preparedQueries, mode, args.line_count ?? 1, caseSensitive, normalized, ctx.abort, (start, end, flags) => {
511
+ if (count++ < startIndex || pageFull || pageMatches.length >= pageSize)
512
+ return;
513
+ const match = {
514
+ path: f.rel,
515
+ match_line_number: start + 1,
516
+ ...searchSnippet(lines, start, end, args.context_lines ?? 0),
517
+ matched_queries: flags ? queries.filter((_, i) => flags[i]) : queries,
518
+ };
519
+ // Account for both the display text and persisted match metadata.
520
+ const size = Buffer.byteLength(JSON.stringify(match)) + Buffer.byteLength(renderMatch(match)) + 1;
521
+ if (pageMatches.length && pageBytes + size > SEARCH_PAGE_BYTES) {
522
+ pageFull = true;
523
+ return;
524
+ }
525
+ pageBytes += size;
526
+ pageMatches.push(match);
527
+ });
455
528
  }
456
- const endIndex = Math.min(startIndex + (args.max_results ?? SEARCH_MAX_RESULTS), all.length);
457
- const pageMatches = all.slice(startIndex, endIndex);
458
- const nextCursor = endIndex < all.length ? String(endIndex) : null;
529
+ if (startIndex > count)
530
+ return { output: `memory_search error: cursor ${startIndex} exceeds result count ${count}.` };
531
+ const endIndex = startIndex + pageMatches.length;
532
+ const nextCursor = endIndex < count ? String(endIndex) : null;
459
533
  const truncated = nextCursor !== null;
460
534
  const label = queries.map((q) => `"${q}"`).join(", ");
461
- if (all.length === 0)
535
+ if (count === 0)
462
536
  return { output: `No matches for ${label}${rangeLabel}.` };
463
537
  return {
464
- output: `${pageMatches.length} of ${all.length} match(es) for ${label}${rangeLabel}` +
538
+ output: `${pageMatches.length} of ${count} match(es) for ${label}${rangeLabel}` +
465
539
  `${truncated ? ` (more available; pass cursor=${nextCursor})` : ""}:\n` +
466
540
  pageMatches.map(renderMatch).join("\n"),
467
541
  metadata: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-codex-memory",
3
- "version": "0.10.1",
3
+ "version": "0.10.2",
4
4
  "description": "Persistent memory plugin for opencode — ports codex's two-phase memory system (extraction → consolidation → injection → citation feedback)",
5
5
  "type": "module",
6
6
  "main": "./dist/src/index.js",
@@ -51,7 +51,9 @@
51
51
  "live:e2e": "bun scripts/live-e2e.ts",
52
52
  "prepack": "npm run build && npm run smoke",
53
53
  "test": "bun test",
54
- "typecheck": "tsc --noEmit -p tsconfig.typecheck.json"
54
+ "typecheck": "tsc --noEmit -p tsconfig.typecheck.json",
55
+ "format": "prettier --write .",
56
+ "format:check": "prettier --check ."
55
57
  },
56
58
  "keywords": [
57
59
  "opencode",
@@ -75,9 +77,10 @@
75
77
  "@opencode/theme": "2.0.3",
76
78
  "@opentui/core": "0.5.10",
77
79
  "@opentui/solid": "0.5.10",
80
+ "@types/bun": "^1.1.0",
81
+ "prettier": "^3.9.10",
78
82
  "solid-js": "1.9.15",
79
- "typescript": "^5.5.0",
80
- "@types/bun": "^1.1.0"
83
+ "typescript": "^5.5.0"
81
84
  },
82
85
  "peerDependencies": {
83
86
  "@opencode/client": ">=2.0.3",
@@ -87,11 +90,21 @@
87
90
  "solid-js": ">=1.9.0"
88
91
  },
89
92
  "peerDependenciesMeta": {
90
- "@opencode/client": { "optional": true },
91
- "@opencode/plugin": { "optional": true },
92
- "@opentui/core": { "optional": true },
93
- "@opentui/solid": { "optional": true },
94
- "solid-js": { "optional": true }
93
+ "@opencode/client": {
94
+ "optional": true
95
+ },
96
+ "@opencode/plugin": {
97
+ "optional": true
98
+ },
99
+ "@opentui/core": {
100
+ "optional": true
101
+ },
102
+ "@opentui/solid": {
103
+ "optional": true
104
+ },
105
+ "solid-js": {
106
+ "optional": true
107
+ }
95
108
  },
96
109
  "engines": {
97
110
  "bun": ">=1.1.0"