@satori-sh/cli 0.0.27 → 0.0.29

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 (2) hide show
  1. package/dist/index.js +7 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -369,6 +369,13 @@ ${instruction}`);
369
369
  globalThis.Element = class Element {
370
370
  };
371
371
  }
372
+ if (typeof globalThis.document === "undefined") {
373
+ globalThis.document = {
374
+ createElement: () => ({}),
375
+ createElementNS: () => ({}),
376
+ createTextNode: () => ({})
377
+ };
378
+ }
372
379
  const { runInteractiveApp } = await import("./ui-OEY6KRG2.js");
373
380
  await runInteractiveApp({
374
381
  initialPrompt,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@satori-sh/cli",
3
- "version": "0.0.27",
3
+ "version": "0.0.29",
4
4
  "description": "CLI tool for Satori memory server",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",