@popcraft/kit 0.53.11 → 0.53.12

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-H2ZR77W4.js → agent-6X6CQ6AU.js} +1 -1
  2. package/dist/chunks/{builtin-RYLK5E2B.js → builtin-6KNOB5JJ.js} +3 -3
  3. package/dist/chunks/{buy-credits-3LSQ3HBM.js → buy-credits-7V2X3MS4.js} +2 -2
  4. package/dist/chunks/{check-template-2RC4DXEH.js → check-template-W3NLNWPA.js} +2 -2
  5. package/dist/chunks/{chunk-6XJHUT2F.js → chunk-2AKRWQSV.js} +2 -2
  6. package/dist/chunks/{chunk-O2ALUT4Y.js → chunk-2D22Y3MD.js} +2 -2
  7. package/dist/chunks/{chunk-L5H4VT2K.js → chunk-2L42OR4I.js} +1 -1
  8. package/dist/chunks/{chunk-RPN2JIWM.js → chunk-32FXZJAC.js} +5 -5
  9. package/dist/chunks/{chunk-DETZ73W7.js → chunk-3FFBM74Y.js} +4 -4
  10. package/dist/chunks/{chunk-G56Y3KYJ.js → chunk-3KCKZBSX.js} +4 -4
  11. package/dist/chunks/{chunk-3RGR5QIJ.js → chunk-5UUUFCVL.js} +11 -11
  12. package/dist/chunks/{chunk-UFBDKDL2.js → chunk-6P5B6U54.js} +2 -2
  13. package/dist/chunks/{chunk-77J6JPFH.js → chunk-72II2UHQ.js} +5 -5
  14. package/dist/chunks/{chunk-TDWXLZW2.js → chunk-CFGA7YNY.js} +1 -1
  15. package/dist/chunks/{chunk-MGJGJ5NY.js → chunk-D4G3VK5Q.js} +1 -1
  16. package/dist/chunks/{chunk-WY7RRJ36.js → chunk-DZFDLXE2.js} +3 -3
  17. package/dist/chunks/{chunk-4GRUVEVA.js → chunk-EXPOT3PT.js} +3 -3
  18. package/dist/chunks/{chunk-XP7JLO26.js → chunk-HAA6M4WD.js} +1 -1
  19. package/dist/chunks/{chunk-QR6P3Y2K.js → chunk-HXCS6QVI.js} +2 -2
  20. package/dist/chunks/{chunk-S5U5NGNW.js → chunk-KK2PSBKP.js} +1 -1
  21. package/dist/chunks/{chunk-NZXI7DOH.js → chunk-RJIQHFLC.js} +4 -4
  22. package/dist/chunks/{chunk-4Z5DSNBQ.js → chunk-RNNMA3DP.js} +42 -42
  23. package/dist/chunks/{chunk-FEYVQ3YV.js → chunk-SYMVBNJX.js} +9 -9
  24. package/dist/chunks/{client-MV62ZCFX.js → client-IXG6YWBJ.js} +2 -2
  25. package/dist/chunks/{client-TBW6T7EL.js → client-SJR3QFTG.js} +3 -3
  26. package/dist/chunks/{client-EZZPWIT4.js → client-UETXB3R6.js} +1 -1
  27. package/dist/chunks/{client-actions-VUESDEU5.js → client-actions-TT75CWQF.js} +5 -5
  28. package/dist/chunks/{dangerous-2NAND4XD.js → dangerous-LH2ONZ4D.js} +3 -3
  29. package/dist/chunks/{delete-current-file-CRAO2UA7.js → delete-current-file-U6IIVDRE.js} +5 -5
  30. package/dist/chunks/{editor-seams-RLEY6DWP.js → editor-seams-HJBRSIS2.js} +10 -10
  31. package/dist/chunks/{editor-store-YDZFPELG.js → editor-store-RFZADWSG.js} +1 -1
  32. package/dist/chunks/{export-watermark-VIXQ2F6U.js → export-watermark-AOVVUZTN.js} +5 -5
  33. package/dist/chunks/{eyedropper-FWRAMEP6.js → eyedropper-MGM5Y4LD.js} +1 -1
  34. package/dist/chunks/{generate-media-F7E6TDO2.js → generate-media-Z7P675YO.js} +3 -3
  35. package/dist/chunks/{host-TY5EDR7V.js → host-7VYQV2TS.js} +6 -6
  36. package/dist/chunks/{integrations-RSK4IMWS.js → integrations-NOZ26TZI.js} +1 -1
  37. package/dist/chunks/{libraries-4VTJF6CL.js → libraries-EX2D52NB.js} +5 -5
  38. package/dist/chunks/{live-NMTMLSIB.js → live-HISA7K2O.js} +1 -1
  39. package/dist/chunks/{media-tool-THEPUIVW.js → media-tool-22LD3MKC.js} +1 -1
  40. package/dist/chunks/{new-file-YDGIWOBC.js → new-file-DJQJ2C57.js} +3 -3
  41. package/dist/chunks/{plugin-Q6YLWWZF.js → plugin-L5TJP32A.js} +2 -2
  42. package/dist/chunks/{plugin-import-FZAJPGOW.js → plugin-import-MGILH7ZT.js} +14 -14
  43. package/dist/chunks/{presence-SRAIZDZH.js → presence-NAMX6F62.js} +2 -2
  44. package/dist/chunks/{project-QXI42SSE.js → project-GSJR22B6.js} +1 -1
  45. package/dist/chunks/{publish-site-2I5XM2LR.js → publish-site-G62PVICN.js} +6 -6
  46. package/dist/chunks/{publish-store-QCL7YSKB.js → publish-store-2PZDU7WN.js} +4 -4
  47. package/dist/chunks/{raster-actions-GJK6KY4K.js → raster-actions-WWOBZRQI.js} +1 -1
  48. package/dist/chunks/{runner-RUJRBWIV.js → runner-MWMX7CRT.js} +17 -17
  49. package/dist/chunks/{store-5PJRBLNP.js → store-SUCJXQSS.js} +6 -6
  50. package/dist/chunks/{sync-QLAW23XV.js → sync-UNJQLJCF.js} +5 -5
  51. package/dist/chunks/{tabs-5UJXN5QI.js → tabs-AOPVT7CJ.js} +8 -8
  52. package/dist/chunks/{team-KV7MMFWP.js → team-GC5AN54Q.js} +1 -1
  53. package/dist/chunks/{team-client-DZT5GURJ.js → team-client-QBTSQD7L.js} +1 -1
  54. package/dist/chunks/{tools-YBVC42N2.js → tools-WULISEVE.js} +2 -2
  55. package/dist/chunks/{ui-commands-RREB7SRB.js → ui-commands-FZIPR5UL.js} +12 -12
  56. package/dist/chunks/{versions-6AQXSEAU.js → versions-QMFBGOYT.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-4GRUVEVA.js";
21
+ } from "./chunk-EXPOT3PT.js";
22
22
  import "./chunk-T2U7UWFL.js";
23
23
  import "./chunk-A2DCJZGE.js";
24
24
  import "./chunk-SZHIVENR.js";
@@ -7,8 +7,8 @@ const __dirname = __popcraftDirname(__filename);
7
7
  import {
8
8
  builtinTools,
9
9
  registerBuiltinTools
10
- } from "./chunk-QR6P3Y2K.js";
11
- import "./chunk-4Z5DSNBQ.js";
10
+ } from "./chunk-HXCS6QVI.js";
11
+ import "./chunk-RNNMA3DP.js";
12
12
  import "./chunk-LJZR7CU3.js";
13
13
  import "./chunk-JNBUJE2Z.js";
14
14
  import "./chunk-EGUH2RFR.js";
@@ -19,7 +19,7 @@ import "./chunk-SH6T47YM.js";
19
19
  import "./chunk-O6H6N3RA.js";
20
20
  import "./chunk-WA5G5BAY.js";
21
21
  import "./chunk-UDDWBCFE.js";
22
- import "./chunk-4GRUVEVA.js";
22
+ import "./chunk-EXPOT3PT.js";
23
23
  import "./chunk-T2U7UWFL.js";
24
24
  import "./chunk-MD3CNNTN.js";
25
25
  import "./chunk-AKNWNB6A.js";
@@ -7,11 +7,11 @@ const __dirname = __popcraftDirname(__filename);
7
7
  import {
8
8
  HYPERY_TEAM_HEADER,
9
9
  hyperyRequestHeaders
10
- } from "./chunk-L5H4VT2K.js";
10
+ } from "./chunk-2L42OR4I.js";
11
11
  import "./chunk-6TMH7HCQ.js";
12
12
  import {
13
13
  useHyperyTeam
14
- } from "./chunk-XP7JLO26.js";
14
+ } from "./chunk-HAA6M4WD.js";
15
15
  import {
16
16
  ApiError,
17
17
  inAppPurchases,
@@ -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-FEYVQ3YV.js";
9
+ } from "./chunk-SYMVBNJX.js";
10
10
  import {
11
11
  builtinCommands
12
- } from "./chunk-4Z5DSNBQ.js";
12
+ } from "./chunk-RNNMA3DP.js";
13
13
  import "./chunk-LJZR7CU3.js";
14
14
  import "./chunk-JNBUJE2Z.js";
15
15
  import "./chunk-EGUH2RFR.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-YDZFPELG.js"),
94
+ import("./editor-store-RFZADWSG.js"),
95
95
  import("../lib/document/photo-frames.js"),
96
- import("./media-tool-THEPUIVW.js")
96
+ import("./media-tool-22LD3MKC.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);
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-6TMH7HCQ.js";
10
10
  import {
11
11
  activeTeamWorkspaceId
12
- } from "./chunk-XP7JLO26.js";
12
+ } from "./chunk-HAA6M4WD.js";
13
13
  import {
14
14
  ApiError,
15
15
  GUEST_FILE_LIMIT,
@@ -23,7 +23,7 @@ import {
23
23
  } from "./chunk-KA6COJ7W.js";
24
24
  import {
25
25
  markLibraryDocument
26
- } from "./chunk-77J6JPFH.js";
26
+ } from "./chunk-72II2UHQ.js";
27
27
  import {
28
28
  create
29
29
  } from "./chunk-RVNIEOXA.js";
@@ -11,7 +11,7 @@ import {
11
11
  activeHyperyTeamId,
12
12
  activeTeamWorkspaceId,
13
13
  useHyperyTeam
14
- } from "./chunk-XP7JLO26.js";
14
+ } from "./chunk-HAA6M4WD.js";
15
15
  import {
16
16
  inAppPurchases
17
17
  } from "./chunk-7OJZZPU4.js";
@@ -15,7 +15,7 @@ import {
15
15
  } from "./chunk-T2U7UWFL.js";
16
16
  import {
17
17
  syncStatus
18
- } from "./chunk-G56Y3KYJ.js";
18
+ } from "./chunk-3KCKZBSX.js";
19
19
  import {
20
20
  exportNodeToSVG
21
21
  } from "./chunk-O7KIQRJE.js";
@@ -28,7 +28,7 @@ import {
28
28
  import {
29
29
  setPluginTabs,
30
30
  useEditorStore
31
- } from "./chunk-77J6JPFH.js";
31
+ } from "./chunk-72II2UHQ.js";
32
32
  import {
33
33
  openBeside
34
34
  } from "./chunk-HU75T2CC.js";
@@ -69,7 +69,7 @@ init_define_POPCRAFT_COMPONENT_IDS();
69
69
  // lib/plugins/api.ts
70
70
  init_define_POPCRAFT_COMPONENT_IDS();
71
71
  async function handlePluginCall(env, method, params = {}) {
72
- const { dispatchPluginCall } = await import("./plugin-Q6YLWWZF.js");
72
+ const { dispatchPluginCall } = await import("./plugin-L5TJP32A.js");
73
73
  return dispatchPluginCall(env, method, params);
74
74
  }
75
75
 
@@ -579,7 +579,7 @@ async function runPlugin(pluginId, commandId, opts = {}) {
579
579
  if (!openBeside(url)) throw new Error("The browser blocked the new tab");
580
580
  },
581
581
  createDocument: async (opts2) => {
582
- const { createFreshFileOrExplain } = await import("./new-file-YDGIWOBC.js");
582
+ const { createFreshFileOrExplain } = await import("./new-file-DJQJ2C57.js");
583
583
  const created = await createFreshFileOrExplain({}, { name: opts2?.name });
584
584
  if (!created.ok) throw new Error(created.reason === "plan" ? "Plan limit reached" : created.reason === "guest-limit" ? "Sign in to create another file" : `Could not create file (${created.reason})`);
585
585
  await useEditorStore.getState().openDocument(created.docId);
@@ -769,7 +769,7 @@ if (typeof window !== "undefined") {
769
769
  const name = d.name || "Imported";
770
770
  void (async () => {
771
771
  try {
772
- const { importViaPlugin, applyPluginLayoutIr } = await import("./plugin-import-FZAJPGOW.js");
772
+ const { importViaPlugin, applyPluginLayoutIr } = await import("./plugin-import-MGILH7ZT.js");
773
773
  if (d.ir && typeof d.ir === "object") {
774
774
  await applyPluginLayoutIr(d.ir, { mode, name });
775
775
  return;
@@ -20,14 +20,14 @@ import {
20
20
  } from "./chunk-D6YVHRBL.js";
21
21
  import {
22
22
  notice
23
- } from "./chunk-UFBDKDL2.js";
23
+ } from "./chunk-6P5B6U54.js";
24
24
  import {
25
25
  agentContext
26
- } from "./chunk-4GRUVEVA.js";
26
+ } from "./chunk-EXPOT3PT.js";
27
27
  import {
28
28
  collabSession,
29
29
  syncStatus
30
- } from "./chunk-G56Y3KYJ.js";
30
+ } from "./chunk-3KCKZBSX.js";
31
31
  import {
32
32
  loadEntitlements
33
33
  } from "./chunk-6TMH7HCQ.js";
@@ -36,7 +36,7 @@ import {
36
36
  } from "./chunk-7OJZZPU4.js";
37
37
  import {
38
38
  useEditorStore
39
- } from "./chunk-77J6JPFH.js";
39
+ } from "./chunk-72II2UHQ.js";
40
40
  import {
41
41
  getActiveRenderer
42
42
  } from "./chunk-A2DCJZGE.js";
@@ -16,14 +16,14 @@ import {
16
16
  reportOpenStage,
17
17
  setCloudLink,
18
18
  trackOpen
19
- } from "./chunk-O2ALUT4Y.js";
19
+ } from "./chunk-2D22Y3MD.js";
20
20
  import {
21
21
  parseDeepLink,
22
22
  withDeepLink
23
23
  } from "./chunk-HFCMTDPQ.js";
24
24
  import {
25
25
  activeTeamWorkspaceId
26
- } from "./chunk-XP7JLO26.js";
26
+ } from "./chunk-HAA6M4WD.js";
27
27
  import {
28
28
  ApiError,
29
29
  api,
@@ -31,7 +31,7 @@ import {
31
31
  } from "./chunk-7OJZZPU4.js";
32
32
  import {
33
33
  attachPresence
34
- } from "./chunk-MGJGJ5NY.js";
34
+ } from "./chunk-D4G3VK5Q.js";
35
35
  import {
36
36
  isPersistableDocument,
37
37
  isUnsavedPlaceholder,
@@ -42,7 +42,7 @@ import {
42
42
  setCollabHistory,
43
43
  storedDocument,
44
44
  useEditorStore
45
- } from "./chunk-77J6JPFH.js";
45
+ } from "./chunk-72II2UHQ.js";
46
46
  import {
47
47
  currentHistoryGroup
48
48
  } from "./chunk-DUH4J3CB.js";
@@ -6,14 +6,14 @@ const __filename = __popcraftPath(import.meta.url);
6
6
  const __dirname = __popcraftDirname(__filename);
7
7
  import {
8
8
  pluginRun
9
- } from "./chunk-WY7RRJ36.js";
9
+ } from "./chunk-DZFDLXE2.js";
10
10
  import {
11
11
  fileCommands,
12
12
  fontTeamRemove,
13
13
  integrationConfirmCommands,
14
14
  mediaDelete,
15
15
  publishCommands
16
- } from "./chunk-4Z5DSNBQ.js";
16
+ } from "./chunk-RNNMA3DP.js";
17
17
  import {
18
18
  external_exports
19
19
  } from "./chunk-UDDWBCFE.js";
@@ -53,7 +53,7 @@ var collabSetSpotlight = defineCommand({
53
53
  }
54
54
  },
55
55
  run: async ({ on }, ctx) => {
56
- const { setSpotlight } = await import("./presence-SRAIZDZH.js");
56
+ const { setSpotlight } = await import("./presence-NAMX6F62.js");
57
57
  setSpotlight(on);
58
58
  ctx.notice(on ? "Spotlight on \u2014 everyone is following this view." : "Spotlight off.");
59
59
  return { summary: on ? "Spotlight on" : "Spotlight off", data: { spotlight: on } };
@@ -80,7 +80,7 @@ var collabRevealPrivate = defineCommand({
80
80
  }
81
81
  },
82
82
  run: async (_p, ctx) => {
83
- const { useEditorStore } = await import("./editor-store-YDZFPELG.js");
83
+ const { useEditorStore } = await import("./editor-store-RFZADWSG.js");
84
84
  const before = Object.values(useEditorStore.getState().document.nodes).filter((n) => n.privateTo).length;
85
85
  useEditorStore.getState().revealPrivate();
86
86
  ctx.notice(before ? `Revealed ${before} private item${before === 1 ? "" : "s"}.` : "Nothing was private.");
@@ -144,7 +144,7 @@ var documentDelete = defineCommand({
144
144
  }
145
145
  },
146
146
  run: async ({ id }, ctx) => {
147
- const { useEditorStore } = await import("./editor-store-YDZFPELG.js");
147
+ const { useEditorStore } = await import("./editor-store-RFZADWSG.js");
148
148
  const wasOpen = useEditorStore.getState().document.id === id;
149
149
  await useEditorStore.getState().deleteDocument(id);
150
150
  ctx.notice("Deleted the document.");
@@ -188,7 +188,7 @@ var libraryPublish = defineCommand({
188
188
  }
189
189
  },
190
190
  run: async (p, ctx) => {
191
- const { publishLibrary } = await import("./libraries-4VTJF6CL.js");
191
+ const { publishLibrary } = await import("./libraries-EX2D52NB.js");
192
192
  const doc = ctx.doc();
193
193
  const pick = {
194
194
  componentIds: p.componentIds ?? Object.keys(doc.components ?? {}),
@@ -220,7 +220,7 @@ var libraryUnpublish = defineCommand({
220
220
  },
221
221
  run: async ({ libraryId }, ctx) => {
222
222
  if (!libraryId.trim()) throw new CommandError("Which library? Pass its `libraryId`.", "invalid_params");
223
- const { unpublishLibrary } = await import("./libraries-4VTJF6CL.js");
223
+ const { unpublishLibrary } = await import("./libraries-EX2D52NB.js");
224
224
  await unpublishLibrary(libraryId);
225
225
  ctx.notice(`Unpublished library ${libraryId}.`);
226
226
  return { summary: `Unpublished library ${libraryId}`, data: { libraryId, unpublished: true } };
@@ -232,8 +232,8 @@ var libraryCommands = [libraryPublish, libraryUnpublish];
232
232
  init_define_POPCRAFT_COMPONENT_IDS();
233
233
  async function findVersion(id) {
234
234
  const [{ useEditorStore }, { versionLabel }] = await Promise.all([
235
- import("./editor-store-YDZFPELG.js"),
236
- import("./versions-6AQXSEAU.js")
235
+ import("./editor-store-RFZADWSG.js"),
236
+ import("./versions-QMFBGOYT.js")
237
237
  ]);
238
238
  const meta = useEditorStore.getState().versions.find((v) => v.id === id);
239
239
  if (!meta) {
@@ -266,7 +266,7 @@ var versionRestore = defineCommand({
266
266
  },
267
267
  run: async ({ id }) => {
268
268
  const found = await findVersion(id);
269
- const { restoreVersion } = await import("./versions-6AQXSEAU.js");
269
+ const { restoreVersion } = await import("./versions-QMFBGOYT.js");
270
270
  await restoreVersion(found.meta);
271
271
  return { summary: `Restored \u201C${found.label}\u201D`, data: { id, label: found.label, restored: true } };
272
272
  }
@@ -291,7 +291,7 @@ var versionDelete = defineCommand({
291
291
  },
292
292
  run: async ({ id }, ctx) => {
293
293
  const found = await findVersion(id);
294
- const { deleteVersion } = await import("./versions-6AQXSEAU.js");
294
+ const { deleteVersion } = await import("./versions-QMFBGOYT.js");
295
295
  await deleteVersion(found.meta);
296
296
  ctx.notice(`Deleted the version \u201C${found.label}\u201D.`);
297
297
  return { summary: `Deleted the version \u201C${found.label}\u201D`, data: { id, label: found.label, deleted: true } };
@@ -16,7 +16,7 @@ import {
16
16
  requestImageAction,
17
17
  sizeForAspect,
18
18
  vectorSupport
19
- } from "./chunk-TDWXLZW2.js";
19
+ } from "./chunk-CFGA7YNY.js";
20
20
  import {
21
21
  external_exports
22
22
  } from "./chunk-UDDWBCFE.js";
@@ -31,7 +31,7 @@ import {
31
31
  } from "./chunk-X4E6BGB6.js";
32
32
  import {
33
33
  useEditorStore
34
- } from "./chunk-77J6JPFH.js";
34
+ } from "./chunk-72II2UHQ.js";
35
35
  import {
36
36
  withHistoryGroup
37
37
  } from "./chunk-DUH4J3CB.js";
@@ -4611,7 +4611,7 @@ function createPopcornSlice(set2, get2) {
4611
4611
  privateMode: false,
4612
4612
  setPrivateMode: (on) => {
4613
4613
  set2({ privateMode: on });
4614
- void import("./presence-SRAIZDZH.js").then((m) => m.setPresencePrivate(on)).catch(() => {
4614
+ void import("./presence-NAMX6F62.js").then((m) => m.setPresencePrivate(on)).catch(() => {
4615
4615
  });
4616
4616
  },
4617
4617
  /** Reveal every private item THIS user created (they sync to collaborators). Others' stay theirs. */
@@ -6656,7 +6656,7 @@ var useEditorStore = create()(
6656
6656
  // A copy is a new file, so it is cloud-backed like any other (see lib/client/cloud/new-file.ts).
6657
6657
  // Returns '' when it was refused (offline, signed out, plan full) or failed; nothing is left behind.
6658
6658
  duplicateDocument: async (id) => {
6659
- const { duplicateDocumentToCloud } = await import("./sync-QLAW23XV.js");
6659
+ const { duplicateDocumentToCloud } = await import("./sync-UNJQLJCF.js");
6660
6660
  return duplicateDocumentToCloud(id);
6661
6661
  },
6662
6662
  deleteDocument: async (id) => {
@@ -10131,9 +10131,9 @@ if (typeof window !== "undefined") {
10131
10131
  if (typeof window !== "undefined" && navigator.webdriver) {
10132
10132
  window.__vpDesign = async (script, o = {}) => {
10133
10133
  const [{ registerBuiltinTools, runTool }, { editorToolContext }, { createDesignPreview }] = await Promise.all([
10134
- import("./tools-YBVC42N2.js").then(async (m) => ({ ...m, registerBuiltinTools: (await import("./builtin-RYLK5E2B.js")).registerBuiltinTools })),
10135
- import("./editor-seams-RLEY6DWP.js"),
10136
- import("./live-NMTMLSIB.js")
10134
+ import("./tools-WULISEVE.js").then(async (m) => ({ ...m, registerBuiltinTools: (await import("./builtin-6KNOB5JJ.js")).registerBuiltinTools })),
10135
+ import("./editor-seams-HJBRSIS2.js"),
10136
+ import("./live-HISA7K2O.js")
10137
10137
  ]);
10138
10138
  registerBuiltinTools();
10139
10139
  const args = JSON.stringify({ ...o.name ? { name: o.name } : {}, ...o.size ? { size: o.size } : {}, ...o.frame ? { frame: o.frame } : {}, script });
@@ -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-L5H4VT2K.js";
9
+ } from "./chunk-2L42OR4I.js";
10
10
  import {
11
11
  aiAvailability,
12
12
  effectiveChatModel,
@@ -6,7 +6,7 @@ const __filename = __popcraftPath(import.meta.url);
6
6
  const __dirname = __popcraftDirname(__filename);
7
7
  import {
8
8
  useEditorStore
9
- } from "./chunk-77J6JPFH.js";
9
+ } from "./chunk-72II2UHQ.js";
10
10
  import {
11
11
  announce
12
12
  } from "./chunk-MBI3PCPN.js";
@@ -9,7 +9,7 @@ import {
9
9
  hostEnv,
10
10
  plain,
11
11
  registerBuiltinCommands
12
- } from "./chunk-4Z5DSNBQ.js";
12
+ } from "./chunk-RNNMA3DP.js";
13
13
  import {
14
14
  storeOpsSeam
15
15
  } from "./chunk-GUR467P4.js";
@@ -618,7 +618,7 @@ var commands = [
618
618
  const [{ storefrontInputs }, { STOREFRONT_TARGETS }, { bytesOf }, { zipFiles }, { EXPORT_NODE_CAP }] = await Promise.all([
619
619
  import("./storefront-prepare-KXYUIYOX.js"),
620
620
  import("./storefront-UUS57X6E.js"),
621
- import("./project-QXI42SSE.js"),
621
+ import("./project-GSJR22B6.js"),
622
622
  import("./zip-export-ITATIAQ3.js"),
623
623
  import("./tree-WU53OA64.js")
624
624
  ]);
@@ -815,7 +815,7 @@ var pluginRun = defineCommand({
815
815
  }
816
816
  },
817
817
  run: async (p, ctx) => {
818
- const { runPlugin } = await import("./host-TY5EDR7V.js");
818
+ const { runPlugin } = await import("./host-7VYQV2TS.js");
819
819
  await runPlugin(p.pluginId, p.commandId);
820
820
  ctx.notice(`Started ${p.pluginId}.`);
821
821
  return {
@@ -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-TBW6T7EL.js");
60
+ const { requestAudio } = await import("./client-SJR3QFTG.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-F7E6TDO2.js");
66
+ const { generateVideoFile } = await import("./generate-media-Z7P675YO.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-TBW6T7EL.js"),
72
+ import("./client-SJR3QFTG.js"),
73
73
  import("./client-store-4J5MJDAW.js")
74
74
  ]);
75
75
  const modelId = effectiveImageModel(useAiStore.getState());
@@ -150,7 +150,7 @@ function startHyperyTeams() {
150
150
  maybePromptForTeam();
151
151
  void followFileTeam(linkedKey);
152
152
  });
153
- void import("./sync-QLAW23XV.js").then(({ onSyncStatus, syncStatus }) => {
153
+ void import("./sync-UNJQLJCF.js").then(({ onSyncStatus, syncStatus }) => {
154
154
  linkedKey = syncStatus().link?.key ?? null;
155
155
  void followFileTeam(linkedKey);
156
156
  onSyncStatus((_s, link) => {
@@ -7,10 +7,10 @@ const __dirname = __popcraftDirname(__filename);
7
7
  import {
8
8
  builtinCommands,
9
9
  registerBuiltinCommands
10
- } from "./chunk-4Z5DSNBQ.js";
10
+ } from "./chunk-RNNMA3DP.js";
11
11
  import {
12
12
  toolView
13
- } from "./chunk-4GRUVEVA.js";
13
+ } from "./chunk-EXPOT3PT.js";
14
14
  import {
15
15
  init_define_POPCRAFT_COMPONENT_IDS
16
16
  } from "./chunk-63KP74KB.js";
@@ -13,7 +13,7 @@ import {
13
13
  agentTool,
14
14
  agentToolList,
15
15
  registerCommands
16
- } from "./chunk-4GRUVEVA.js";
16
+ } from "./chunk-EXPOT3PT.js";
17
17
  import {
18
18
  dispatch
19
19
  } from "./chunk-SZHIVENR.js";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-6YGUTIAY.js";
10
10
  import {
11
11
  notice
12
- } from "./chunk-UFBDKDL2.js";
12
+ } from "./chunk-6P5B6U54.js";
13
13
  import {
14
14
  effectiveChatModel,
15
15
  setModelPref,
@@ -17,7 +17,7 @@ import {
17
17
  } from "./chunk-L47DGY5Z.js";
18
18
  import {
19
19
  useEditorStore
20
- } from "./chunk-77J6JPFH.js";
20
+ } from "./chunk-72II2UHQ.js";
21
21
  import {
22
22
  create
23
23
  } from "./chunk-RVNIEOXA.js";
@@ -1797,7 +1797,7 @@ async function sendMessage(text) {
1797
1797
  if (!useAgentStore.getState().activeThreadId) newThread();
1798
1798
  const mentions = pruneMentions(body, useAgentStore.getState().draftMentions);
1799
1799
  useAgentStore.setState({ draft: "", draftMentions: [], error: null });
1800
- const { runTurn } = await import("./runner-RUJRBWIV.js");
1800
+ const { runTurn } = await import("./runner-MWMX7CRT.js");
1801
1801
  await runTurn(body, mentions);
1802
1802
  }
1803
1803
  function stop() {
@@ -1900,7 +1900,7 @@ var clearTaskChildren = () => useAgentStore.setState({ taskChildren: {} });
1900
1900
  function subscribeChildTools() {
1901
1901
  let dispose;
1902
1902
  let cancelled = false;
1903
- void import("./runner-RUJRBWIV.js").then(({ onChildTool }) => {
1903
+ void import("./runner-MWMX7CRT.js").then(({ onChildTool }) => {
1904
1904
  const off = onChildTool((report) => {
1905
1905
  if (report?.status !== "running" || report.jobId) return;
1906
1906
  recordChildTool(report.toolCallId ?? "", report.name);