@popcraft/kit 0.60.5 → 0.60.6

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 (58) hide show
  1. package/dist/chunks/{agent-MPB6KF6O.js → agent-IHYBT4IU.js} +1 -1
  2. package/dist/chunks/{builtin-4MJRF3UM.js → builtin-2HAEUEDP.js} +3 -3
  3. package/dist/chunks/{buy-credits-YXKFNQBR.js → buy-credits-CP4ENUIA.js} +2 -2
  4. package/dist/chunks/{check-template-XKOFXQAZ.js → check-template-RCEAKWY3.js} +2 -2
  5. package/dist/chunks/{chunk-5RHXRDFP.js → chunk-24727MNX.js} +3 -3
  6. package/dist/chunks/{chunk-HJY6WM7P.js → chunk-6DBFYB2B.js} +2 -2
  7. package/dist/chunks/{chunk-U6ZIGXLS.js → chunk-EECUKMAP.js} +2 -2
  8. package/dist/chunks/{chunk-IDOEJATK.js → chunk-ETYXKZY3.js} +1 -1
  9. package/dist/chunks/{chunk-WS6OCUDP.js → chunk-GUH5PTAL.js} +6 -6
  10. package/dist/chunks/{chunk-F4WNCVB2.js → chunk-H62KUO3K.js} +9 -9
  11. package/dist/chunks/{chunk-ZFDB4WSU.js → chunk-J5DMH2IF.js} +2 -2
  12. package/dist/chunks/{chunk-UMRDOAOJ.js → chunk-LUKUZ45K.js} +2 -2
  13. package/dist/chunks/{chunk-VDX72FGB.js → chunk-P642AWNG.js} +3 -1
  14. package/dist/chunks/{chunk-RRCV4NGI.js → chunk-PIDBV57C.js} +3 -3
  15. package/dist/chunks/{chunk-SDNOT64F.js → chunk-PRIV655C.js} +4 -4
  16. package/dist/chunks/{chunk-TZMWXNJL.js → chunk-QCJHDEW5.js} +4 -4
  17. package/dist/chunks/{chunk-256B3VI7.js → chunk-SGS37ERN.js} +5 -5
  18. package/dist/chunks/{chunk-3ILWFQAI.js → chunk-V4L7ZGR7.js} +1 -1
  19. package/dist/chunks/{chunk-S3T6HZ53.js → chunk-V7HTPMQ2.js} +42 -42
  20. package/dist/chunks/{chunk-IRKOZ7VA.js → chunk-VHVKLFPM.js} +1 -1
  21. package/dist/chunks/{chunk-NVHEEASH.js → chunk-W4DOD7RI.js} +1 -1
  22. package/dist/chunks/{chunk-T6673VYV.js → chunk-WHTHVJ25.js} +5 -5
  23. package/dist/chunks/{chunk-MFPPANYB.js → chunk-XUETLJZC.js} +11 -11
  24. package/dist/chunks/{client-MEHQKELZ.js → client-2L4UAPV6.js} +1 -1
  25. package/dist/chunks/{client-2SBD4WFT.js → client-72J2BIWR.js} +2 -2
  26. package/dist/chunks/{client-IQ274NHM.js → client-E75CODAZ.js} +3 -3
  27. package/dist/chunks/{client-actions-4WXN3M3A.js → client-actions-O32VWSKY.js} +5 -5
  28. package/dist/chunks/{dangerous-BMS4E63E.js → dangerous-HSCZZ2EM.js} +3 -3
  29. package/dist/chunks/{delete-current-file-VQFU6HYB.js → delete-current-file-7FGDZEWF.js} +5 -5
  30. package/dist/chunks/{editor-seams-P5HTYFBF.js → editor-seams-C25HPKDI.js} +12 -12
  31. package/dist/chunks/{editor-store-Y3HEJHHG.js → editor-store-SBLSG222.js} +1 -1
  32. package/dist/chunks/{export-watermark-27CWCN2I.js → export-watermark-NDG42Z7M.js} +5 -5
  33. package/dist/chunks/{eyedropper-Y6RXJA56.js → eyedropper-2LEDCI2E.js} +1 -1
  34. package/dist/chunks/{generate-media-JPKBW77K.js → generate-media-WXC4GOZ3.js} +3 -3
  35. package/dist/chunks/{host-OGMQAN42.js → host-INP7AYXA.js} +6 -6
  36. package/dist/chunks/{integrations-BVG6HCTZ.js → integrations-AZIVSQVJ.js} +1 -1
  37. package/dist/chunks/{libraries-6SW5UPRD.js → libraries-ILTGIXCT.js} +5 -5
  38. package/dist/chunks/{live-OVXCVZOP.js → live-36HSV3PS.js} +1 -1
  39. package/dist/chunks/{media-tool-S7BMQB2A.js → media-tool-GGM67MOQ.js} +1 -1
  40. package/dist/chunks/{new-file-JZKEWQHD.js → new-file-O7B3B3O7.js} +3 -3
  41. package/dist/chunks/{plugin-5J4KFH3I.js → plugin-ZTOCPEDP.js} +2 -2
  42. package/dist/chunks/{plugin-import-ZEYZM6AO.js → plugin-import-CNYEBCIR.js} +16 -16
  43. package/dist/chunks/{presence-HUGA23IG.js → presence-ICIIVPPA.js} +2 -2
  44. package/dist/chunks/{project-4DGFGSUG.js → project-W3BRM6P4.js} +1 -1
  45. package/dist/chunks/{publish-site-IGT7CHTB.js → publish-site-SIRQLH6P.js} +6 -6
  46. package/dist/chunks/{publish-store-CDTXUAMT.js → publish-store-AWDK25BA.js} +4 -4
  47. package/dist/chunks/{raster-actions-SD5T4QCS.js → raster-actions-47W3AXQZ.js} +1 -1
  48. package/dist/chunks/{runner-GDJWNAA4.js → runner-5YU2TB5O.js} +18 -18
  49. package/dist/chunks/{store-DOSIFP5A.js → store-J4YTWJWP.js} +6 -6
  50. package/dist/chunks/{sync-VT2APLNL.js → sync-A27DLNTU.js} +5 -5
  51. package/dist/chunks/{tabs-BQNUB4QE.js → tabs-EIMF5GYW.js} +8 -8
  52. package/dist/chunks/{team-5BF7TTCT.js → team-JOUBOCZV.js} +1 -1
  53. package/dist/chunks/{team-client-6TREUV7T.js → team-client-LEC37CJM.js} +1 -1
  54. package/dist/chunks/{tools-PQVTKNM5.js → tools-YGZKC52S.js} +2 -2
  55. package/dist/chunks/{ui-commands-AZLD3A7H.js → ui-commands-UOKYGS44.js} +12 -12
  56. package/dist/chunks/{versions-COOR53WV.js → versions-5AMTY66W.js} +5 -5
  57. package/dist/index.js +1 -1
  58. package/package.json +1 -1
@@ -18,7 +18,7 @@ import {
18
18
  renderDocument,
19
19
  toolView,
20
20
  underReviewKit
21
- } from "./chunk-RRCV4NGI.js";
21
+ } from "./chunk-PIDBV57C.js";
22
22
  import "./chunk-43RWRBYS.js";
23
23
  import "./chunk-6ATVAMKW.js";
24
24
  import "./chunk-AB3XUR6D.js";
@@ -7,8 +7,8 @@ const __dirname = __popcraftDirname(__filename);
7
7
  import {
8
8
  builtinTools,
9
9
  registerBuiltinTools
10
- } from "./chunk-HJY6WM7P.js";
11
- import "./chunk-S3T6HZ53.js";
10
+ } from "./chunk-6DBFYB2B.js";
11
+ import "./chunk-V7HTPMQ2.js";
12
12
  import "./chunk-FFMQBP2G.js";
13
13
  import "./chunk-TE5EUMPW.js";
14
14
  import "./chunk-X3S25JPD.js";
@@ -19,7 +19,7 @@ import "./chunk-MMB4B5CF.js";
19
19
  import "./chunk-NW47UGLS.js";
20
20
  import "./chunk-TNMWUBHL.js";
21
21
  import "./chunk-HKLETGAG.js";
22
- import "./chunk-RRCV4NGI.js";
22
+ import "./chunk-PIDBV57C.js";
23
23
  import "./chunk-43RWRBYS.js";
24
24
  import "./chunk-BURFZFNE.js";
25
25
  import "./chunk-ANWXVRFG.js";
@@ -7,11 +7,11 @@ const __dirname = __popcraftDirname(__filename);
7
7
  import {
8
8
  HYPERY_TEAM_HEADER,
9
9
  hyperyRequestHeaders
10
- } from "./chunk-IDOEJATK.js";
10
+ } from "./chunk-ETYXKZY3.js";
11
11
  import "./chunk-LOE4AAWT.js";
12
12
  import {
13
13
  useHyperyTeam
14
- } from "./chunk-IRKOZ7VA.js";
14
+ } from "./chunk-VHVKLFPM.js";
15
15
  import {
16
16
  ApiError
17
17
  } from "./chunk-POYUEX5R.js";
@@ -6,10 +6,10 @@ const __filename = __popcraftPath(import.meta.url);
6
6
  const __dirname = __popcraftDirname(__filename);
7
7
  import {
8
8
  appCommands
9
- } from "./chunk-F4WNCVB2.js";
9
+ } from "./chunk-H62KUO3K.js";
10
10
  import {
11
11
  builtinCommands
12
- } from "./chunk-S3T6HZ53.js";
12
+ } from "./chunk-V7HTPMQ2.js";
13
13
  import "./chunk-FFMQBP2G.js";
14
14
  import "./chunk-TE5EUMPW.js";
15
15
  import "./chunk-X3S25JPD.js";
@@ -12,7 +12,7 @@ import {
12
12
  hostEnv,
13
13
  plain,
14
14
  registerBuiltinCommands
15
- } from "./chunk-S3T6HZ53.js";
15
+ } from "./chunk-V7HTPMQ2.js";
16
16
  import {
17
17
  external_exports
18
18
  } from "./chunk-HKLETGAG.js";
@@ -646,7 +646,7 @@ var commands = [
646
646
  const [{ storefrontInputs }, { STOREFRONT_TARGETS }, { bytesOf }, { zipFiles }, { EXPORT_NODE_CAP }] = await Promise.all([
647
647
  import("./storefront-prepare-HSY6YM5D.js"),
648
648
  import("./storefront-M55I7EVN.js"),
649
- import("./project-4DGFGSUG.js"),
649
+ import("./project-W3BRM6P4.js"),
650
650
  import("./zip-export-DTM2ZJVR.js"),
651
651
  import("./tree-E4A2CIDX.js")
652
652
  ]);
@@ -843,7 +843,7 @@ var pluginRun = defineCommand({
843
843
  }
844
844
  },
845
845
  run: async (p, ctx) => {
846
- const { runPlugin } = await import("./host-OGMQAN42.js");
846
+ const { runPlugin } = await import("./host-INP7AYXA.js");
847
847
  await runPlugin(p.pluginId, p.commandId);
848
848
  ctx.notice(`Started ${p.pluginId}.`);
849
849
  return {
@@ -7,10 +7,10 @@ const __dirname = __popcraftDirname(__filename);
7
7
  import {
8
8
  builtinCommands,
9
9
  registerBuiltinCommands
10
- } from "./chunk-S3T6HZ53.js";
10
+ } from "./chunk-V7HTPMQ2.js";
11
11
  import {
12
12
  toolView
13
- } from "./chunk-RRCV4NGI.js";
13
+ } from "./chunk-PIDBV57C.js";
14
14
  import {
15
15
  init_define_POPCRAFT_COMPONENT_IDS
16
16
  } from "./chunk-GBXIKUG3.js";
@@ -19,7 +19,7 @@ import {
19
19
  requestImageAction,
20
20
  sizeForAspect,
21
21
  vectorSupport
22
- } from "./chunk-VDX72FGB.js";
22
+ } from "./chunk-P642AWNG.js";
23
23
  import {
24
24
  external_exports
25
25
  } from "./chunk-HKLETGAG.js";
@@ -31,7 +31,7 @@ import {
31
31
  } from "./chunk-4DBGZHB6.js";
32
32
  import {
33
33
  useEditorStore
34
- } from "./chunk-256B3VI7.js";
34
+ } from "./chunk-SGS37ERN.js";
35
35
  import {
36
36
  withHistoryGroup
37
37
  } from "./chunk-223LL57D.js";
@@ -11,7 +11,7 @@ import {
11
11
  activeHyperyTeamId,
12
12
  activeTeamWorkspaceId,
13
13
  useHyperyTeam
14
- } from "./chunk-IRKOZ7VA.js";
14
+ } from "./chunk-VHVKLFPM.js";
15
15
  import {
16
16
  inAppPurchases
17
17
  } from "./chunk-VYKTWR6G.js";
@@ -6,7 +6,7 @@ const __filename = __popcraftPath(import.meta.url);
6
6
  const __dirname = __popcraftDirname(__filename);
7
7
  import {
8
8
  registerAppCommands
9
- } from "./chunk-F4WNCVB2.js";
9
+ } from "./chunk-H62KUO3K.js";
10
10
  import {
11
11
  storeOpsSeam
12
12
  } from "./chunk-R27N5HJZ.js";
@@ -23,17 +23,17 @@ import {
23
23
  sameResolution,
24
24
  surfaceSize,
25
25
  windowCssSize
26
- } from "./chunk-S3T6HZ53.js";
26
+ } from "./chunk-V7HTPMQ2.js";
27
27
  import {
28
28
  notice
29
- } from "./chunk-U6ZIGXLS.js";
29
+ } from "./chunk-EECUKMAP.js";
30
30
  import {
31
31
  agentContext
32
- } from "./chunk-RRCV4NGI.js";
32
+ } from "./chunk-PIDBV57C.js";
33
33
  import {
34
34
  collabSession,
35
35
  syncStatus
36
- } from "./chunk-TZMWXNJL.js";
36
+ } from "./chunk-QCJHDEW5.js";
37
37
  import {
38
38
  setAudioOutputDocument,
39
39
  setMediaDocument
@@ -47,7 +47,7 @@ import {
47
47
  import {
48
48
  persist,
49
49
  useEditorStore
50
- } from "./chunk-256B3VI7.js";
50
+ } from "./chunk-SGS37ERN.js";
51
51
  import {
52
52
  plansEnabled
53
53
  } from "./chunk-4UGWNQBM.js";
@@ -8,7 +8,7 @@ import {
8
8
  needsSelection,
9
9
  pageGo,
10
10
  selectionIsPicture
11
- } from "./chunk-S3T6HZ53.js";
11
+ } from "./chunk-V7HTPMQ2.js";
12
12
  import {
13
13
  external_exports
14
14
  } from "./chunk-HKLETGAG.js";
@@ -31,7 +31,7 @@ var none = external_exports.object({});
31
31
  var emit = (name, detail) => {
32
32
  if (typeof window !== "undefined") window.dispatchEvent(new CustomEvent(name, { detail }));
33
33
  };
34
- var store = () => import("./editor-store-Y3HEJHHG.js").then((m) => m.useEditorStore.getState());
34
+ var store = () => import("./editor-store-SBLSG222.js").then((m) => m.useEditorStore.getState());
35
35
  var MODE_IDS = MODE_LIST.map((m) => m.id);
36
36
  var MODE_ALIASES = { JAM: "POPCORN", DEV: "VIEW" };
37
37
  var modeSet = defineCommand({
@@ -191,7 +191,7 @@ var dialogOpen = defineCommand({
191
191
  (await import("./plan-limit-ORD3YLOF.js")).openPlanDialog();
192
192
  break;
193
193
  case "credits":
194
- await (await import("./buy-credits-YXKFNQBR.js")).buyAiCredits();
194
+ await (await import("./buy-credits-CP4ENUIA.js")).buyAiCredits();
195
195
  break;
196
196
  case "tokens":
197
197
  emit("popcraft-open-tokens");
@@ -237,7 +237,7 @@ var aiOpen = defineCommand({
237
237
  ] } },
238
238
  run: async ({ dialog, skillId }) => {
239
239
  if (dialog) (await import("./client-store-RWAMHE2E.js")).openAiDialog(dialog);
240
- else (await import("./store-DOSIFP5A.js")).openAgentPanel({ skillId: skillId ?? null });
240
+ else (await import("./store-J4YTWJWP.js")).openAgentPanel({ skillId: skillId ?? null });
241
241
  return { summary: dialog ? `Opened AI ${dialog}` : "Opened the agent" };
242
242
  }
243
243
  });
@@ -250,7 +250,7 @@ var agentContinue = defineCommand({
250
250
  params: external_exports.object({}),
251
251
  expose: { ui: { label: "AI: Continue the agent\u2019s last turn", keywords: ["ai", "agent", "continue", "resume", "retry", "keep going"] } },
252
252
  run: async () => {
253
- const resumed = await (await import("./runner-GDJWNAA4.js")).continueTurn();
253
+ const resumed = await (await import("./runner-5YU2TB5O.js")).continueTurn();
254
254
  return { summary: resumed ? "Continued the agent" : "Nothing to continue" };
255
255
  }
256
256
  });
@@ -329,11 +329,11 @@ var toolPlace = defineCommand({
329
329
  run: async ({ what }) => {
330
330
  if (what === "media") {
331
331
  const s = await store();
332
- const { placeMediaFromPicker } = await import("./media-tool-S7BMQB2A.js");
332
+ const { placeMediaFromPicker } = await import("./media-tool-GGM67MOQ.js");
333
333
  await placeMediaFromPicker({ kind: "point", x: s.camera.x, y: s.camera.y });
334
334
  return { summary: "Placing media" };
335
335
  }
336
- const { beginEyedrop } = await import("./eyedropper-Y6RXJA56.js");
336
+ const { beginEyedrop } = await import("./eyedropper-2LEDCI2E.js");
337
337
  void beginEyedrop();
338
338
  return { summary: "Pick a color" };
339
339
  }
@@ -351,7 +351,7 @@ var nodeRasterize = defineCommand({
351
351
  keywords: ["rasterize", "raster", "flatten", "pixels", "paint layer", "erase", "bitmap"]
352
352
  } },
353
353
  run: async () => {
354
- const { flattenSelectionToPaintLayer } = await import("./raster-actions-SD5T4QCS.js");
354
+ const { flattenSelectionToPaintLayer } = await import("./raster-actions-47W3AXQZ.js");
355
355
  await flattenSelectionToPaintLayer();
356
356
  return { summary: "Rasterized" };
357
357
  }
@@ -462,7 +462,7 @@ function pluginCommand(plugins) {
462
462
  params: external_exports.object({ pluginId: external_exports.string(), commandId: external_exports.string() }),
463
463
  expose: { ui: { label: "Run plugin", keywords: ["plugin", "extension", "run"], variants, palette: variants.length ? void 0 : false } },
464
464
  run: async ({ pluginId, commandId }) => {
465
- await (await import("./host-OGMQAN42.js")).runPlugin(pluginId, commandId);
465
+ await (await import("./host-INP7AYXA.js")).runPlugin(pluginId, commandId);
466
466
  return { summary: "Plugin started" };
467
467
  }
468
468
  });
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-LOE4AAWT.js";
10
10
  import {
11
11
  activeTeamWorkspaceId
12
- } from "./chunk-IRKOZ7VA.js";
12
+ } from "./chunk-VHVKLFPM.js";
13
13
  import {
14
14
  ApiError,
15
15
  cloudApi
@@ -22,7 +22,7 @@ import {
22
22
  } from "./chunk-5JR5YDLE.js";
23
23
  import {
24
24
  markLibraryDocument
25
- } from "./chunk-256B3VI7.js";
25
+ } from "./chunk-SGS37ERN.js";
26
26
  import {
27
27
  GUEST_FILE_LIMIT
28
28
  } from "./chunk-VYKTWR6G.js";
@@ -91,9 +91,9 @@ async function placeStockPhoto(photo, opts = {}) {
91
91
  }
92
92
  async function placePicture(imported, opts = {}) {
93
93
  const [{ useEditorStore }, { photoFrameOf }, { placeImage }] = await Promise.all([
94
- import("./editor-store-Y3HEJHHG.js"),
94
+ import("./editor-store-SBLSG222.js"),
95
95
  import("../lib/document/photo-frames.js"),
96
- import("./media-tool-S7BMQB2A.js")
96
+ import("./media-tool-GGM67MOQ.js")
97
97
  ]);
98
98
  const st = useEditorStore.getState();
99
99
  const frame = photoFrameOf(st.document.nodes, opts.targetId !== void 0 ? opts.targetId : st.selection[0] ?? null);
@@ -6,7 +6,7 @@ const __filename = __popcraftPath(import.meta.url);
6
6
  const __dirname = __popcraftDirname(__filename);
7
7
  import {
8
8
  hyperyRequestHeaders
9
- } from "./chunk-IDOEJATK.js";
9
+ } from "./chunk-ETYXKZY3.js";
10
10
  import {
11
11
  aiAvailability,
12
12
  effectiveChatModel,
@@ -75,6 +75,8 @@ var AiClientError = class extends Error {
75
75
  this.code = code;
76
76
  this.status = status;
77
77
  }
78
+ code;
79
+ status;
78
80
  };
79
81
  var needsReauth = (e) => e instanceof AiClientError && (e.code === "ai_reauth" || e.code === "ai_scope" || e.code === "unauthenticated");
80
82
  function ensureAvailable() {
@@ -57,19 +57,19 @@ async function renderDocument(doc, nodeIds, options) {
57
57
  function generateCapability(ctx) {
58
58
  return async (prompt, options = {}) => {
59
59
  if (options.format === "audio") {
60
- const { requestAudio } = await import("./client-IQ274NHM.js");
60
+ const { requestAudio } = await import("./client-E75CODAZ.js");
61
61
  const { signal: signal2, format: _f, ...rest2 } = options;
62
62
  void _f;
63
63
  return requestAudio({ prompt, ...rest2 }, signal2 ?? ctx.signal);
64
64
  }
65
65
  if (options.format === "video") {
66
- const { generateVideoFile } = await import("./generate-media-JPKBW77K.js");
66
+ const { generateVideoFile } = await import("./generate-media-WXC4GOZ3.js");
67
67
  const { format: _f, signal: signal2, ...rest2 } = options;
68
68
  void _f;
69
69
  return generateVideoFile({ ...rest2, prompt, doc: ctx.doc() }, { signal: signal2 ?? ctx.signal });
70
70
  }
71
71
  const [{ requestImage }, { effectiveImageModel, useAiStore }] = await Promise.all([
72
- import("./client-IQ274NHM.js"),
72
+ import("./client-E75CODAZ.js"),
73
73
  import("./client-store-RWAMHE2E.js")
74
74
  ]);
75
75
  const modelId = effectiveImageModel(useAiStore.getState());
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-FTKTFEVX.js";
10
10
  import {
11
11
  notice
12
- } from "./chunk-U6ZIGXLS.js";
12
+ } from "./chunk-EECUKMAP.js";
13
13
  import {
14
14
  effectiveChatModel,
15
15
  setModelPref,
@@ -17,7 +17,7 @@ import {
17
17
  } from "./chunk-E5DYZWT4.js";
18
18
  import {
19
19
  useEditorStore
20
- } from "./chunk-256B3VI7.js";
20
+ } from "./chunk-SGS37ERN.js";
21
21
  import {
22
22
  create
23
23
  } from "./chunk-H4SIXRFG.js";
@@ -1903,7 +1903,7 @@ async function sendMessage(text) {
1903
1903
  if (!useAgentStore.getState().activeThreadId) newThread();
1904
1904
  const mentions = pruneMentions(body, useAgentStore.getState().draftMentions);
1905
1905
  useAgentStore.setState({ draft: "", draftMentions: [], error: null });
1906
- const { runTurn } = await import("./runner-GDJWNAA4.js");
1906
+ const { runTurn } = await import("./runner-5YU2TB5O.js");
1907
1907
  await runTurn(body, mentions);
1908
1908
  }
1909
1909
  function stop() {
@@ -2006,7 +2006,7 @@ var clearTaskChildren = () => useAgentStore.setState({ taskChildren: {} });
2006
2006
  function subscribeChildTools() {
2007
2007
  let dispose;
2008
2008
  let cancelled = false;
2009
- void import("./runner-GDJWNAA4.js").then(({ onChildTool }) => {
2009
+ void import("./runner-5YU2TB5O.js").then(({ onChildTool }) => {
2010
2010
  const off = onChildTool((report) => {
2011
2011
  if (report?.status !== "running" || report.jobId) return;
2012
2012
  recordChildTool(report.toolCallId ?? "", report.name);
@@ -17,10 +17,10 @@ import {
17
17
  reportOpenStage,
18
18
  setCloudLink,
19
19
  trackOpen
20
- } from "./chunk-ZFDB4WSU.js";
20
+ } from "./chunk-J5DMH2IF.js";
21
21
  import {
22
22
  activeTeamWorkspaceId
23
- } from "./chunk-IRKOZ7VA.js";
23
+ } from "./chunk-VHVKLFPM.js";
24
24
  import {
25
25
  ApiError,
26
26
  api,
@@ -28,7 +28,7 @@ import {
28
28
  } from "./chunk-POYUEX5R.js";
29
29
  import {
30
30
  attachPresence
31
- } from "./chunk-NVHEEASH.js";
31
+ } from "./chunk-W4DOD7RI.js";
32
32
  import {
33
33
  fileOpeningMode,
34
34
  isAppleMobile,
@@ -41,7 +41,7 @@ import {
41
41
  setCollabHistory,
42
42
  storedDocument,
43
43
  useEditorStore
44
- } from "./chunk-256B3VI7.js";
44
+ } from "./chunk-SGS37ERN.js";
45
45
  import {
46
46
  currentHistoryGroup
47
47
  } from "./chunk-223LL57D.js";
@@ -4859,7 +4859,7 @@ function createPopcornSlice(set2, get2) {
4859
4859
  privateMode: false,
4860
4860
  setPrivateMode: (on) => {
4861
4861
  set2({ privateMode: on });
4862
- void import("./presence-HUGA23IG.js").then((m) => m.setPresencePrivate(on)).catch(() => {
4862
+ void import("./presence-ICIIVPPA.js").then((m) => m.setPresencePrivate(on)).catch(() => {
4863
4863
  });
4864
4864
  },
4865
4865
  /** Reveal every private item THIS user created (they sync to collaborators). Others' stay theirs. */
@@ -6930,7 +6930,7 @@ var useEditorStore = create()(
6930
6930
  // A copy is a new file, so it is cloud-backed like any other (see lib/client/cloud/new-file.ts).
6931
6931
  // Returns '' when it was refused (offline, signed out, plan full) or failed; nothing is left behind.
6932
6932
  duplicateDocument: async (id) => {
6933
- const { duplicateDocumentToCloud } = await import("./sync-VT2APLNL.js");
6933
+ const { duplicateDocumentToCloud } = await import("./sync-A27DLNTU.js");
6934
6934
  return duplicateDocumentToCloud(id);
6935
6935
  },
6936
6936
  deleteDocument: async (id) => {
@@ -10440,9 +10440,9 @@ if (typeof window !== "undefined") {
10440
10440
  if (typeof window !== "undefined" && navigator.webdriver) {
10441
10441
  window.__vpDesign = async (script, o = {}) => {
10442
10442
  const [{ registerBuiltinTools, runTool }, { editorToolContext }, { createDesignPreview }] = await Promise.all([
10443
- import("./tools-PQVTKNM5.js").then(async (m) => ({ ...m, registerBuiltinTools: (await import("./builtin-4MJRF3UM.js")).registerBuiltinTools })),
10444
- import("./editor-seams-P5HTYFBF.js"),
10445
- import("./live-OVXCVZOP.js")
10443
+ import("./tools-YGZKC52S.js").then(async (m) => ({ ...m, registerBuiltinTools: (await import("./builtin-2HAEUEDP.js")).registerBuiltinTools })),
10444
+ import("./editor-seams-C25HPKDI.js"),
10445
+ import("./live-36HSV3PS.js")
10446
10446
  ]);
10447
10447
  registerBuiltinTools();
10448
10448
  const args = JSON.stringify({ ...o.name ? { name: o.name } : {}, ...o.size ? { size: o.size } : {}, ...o.frame ? { frame: o.frame } : {}, script });
@@ -13,7 +13,7 @@ import {
13
13
  agentTool,
14
14
  agentToolList,
15
15
  registerCommands
16
- } from "./chunk-RRCV4NGI.js";
16
+ } from "./chunk-PIDBV57C.js";
17
17
  import {
18
18
  dispatch
19
19
  } from "./chunk-6ATVAMKW.js";