@popcraft/kit 0.61.6 → 0.61.7

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-G5NEKUWD.js → agent-WHYO4Q6Q.js} +1 -1
  2. package/dist/chunks/{builtin-NNGTVHTP.js → builtin-37ZV3MUL.js} +3 -3
  3. package/dist/chunks/{buy-credits-5JZAFYJK.js → buy-credits-ARRJBYXI.js} +2 -2
  4. package/dist/chunks/{check-template-WIWQT2CB.js → check-template-Z35LWSM7.js} +2 -2
  5. package/dist/chunks/{chunk-2N6LQHLE.js → chunk-2WAQL3FE.js} +1 -1
  6. package/dist/chunks/{chunk-UYVJGJW5.js → chunk-2WXSWRH4.js} +1 -1
  7. package/dist/chunks/{chunk-TASI5TF4.js → chunk-4PLQHKIY.js} +2 -2
  8. package/dist/chunks/{chunk-ILHOJ7XG.js → chunk-5ZH3YDV5.js} +42 -42
  9. package/dist/chunks/{chunk-5AY72TZW.js → chunk-6O7ZCN7K.js} +4 -4
  10. package/dist/chunks/{chunk-W5ZRTAW5.js → chunk-7DCRNYTO.js} +1 -1
  11. package/dist/chunks/{chunk-S7GE7IYL.js → chunk-H33NKSIK.js} +1 -1
  12. package/dist/chunks/{chunk-VQZVCXQX.js → chunk-H44JG4PQ.js} +9 -9
  13. package/dist/chunks/{chunk-M7GAXMOQ.js → chunk-HOHLQEP7.js} +3 -3
  14. package/dist/chunks/{chunk-ZIBZ5L22.js → chunk-JZNZLCTL.js} +5 -5
  15. package/dist/chunks/{chunk-XCVFYRMZ.js → chunk-MXNCYFGX.js} +4 -4
  16. package/dist/chunks/{chunk-DUOZ76US.js → chunk-OQWBPAID.js} +6 -6
  17. package/dist/chunks/{chunk-UJ2OZ4CM.js → chunk-P4IXXUDO.js} +2 -2
  18. package/dist/chunks/{chunk-N35LUVFZ.js → chunk-QPJJIAJB.js} +1 -1
  19. package/dist/chunks/{chunk-45IQML2J.js → chunk-TDKIR3PO.js} +11 -11
  20. package/dist/chunks/{chunk-DNPMT73U.js → chunk-TZTTVZRD.js} +2 -2
  21. package/dist/chunks/{chunk-RHBGJ4CN.js → chunk-WNVGCWBX.js} +3 -3
  22. package/dist/chunks/{chunk-HVTPC2AT.js → chunk-WQYTUQT6.js} +5 -5
  23. package/dist/chunks/{chunk-LF75QF4X.js → chunk-X5SVIUUM.js} +2 -2
  24. package/dist/chunks/{client-PRADEW6P.js → client-FQBNNBKP.js} +3 -3
  25. package/dist/chunks/{client-SF7KP2LI.js → client-Z3VBMGNY.js} +1 -1
  26. package/dist/chunks/{client-XQB6AT5L.js → client-ZYDECQIC.js} +2 -2
  27. package/dist/chunks/{client-actions-3JLEWZ5Y.js → client-actions-NTOZSN5H.js} +5 -5
  28. package/dist/chunks/{dangerous-VH4STIBF.js → dangerous-OIMCXC77.js} +3 -3
  29. package/dist/chunks/{delete-current-file-KFAGNQGL.js → delete-current-file-MV7AJBJM.js} +5 -5
  30. package/dist/chunks/{editor-seams-6CUOKXNS.js → editor-seams-UIDEGF3W.js} +12 -12
  31. package/dist/chunks/{editor-store-5JJXGWMW.js → editor-store-NRJGMZZO.js} +1 -1
  32. package/dist/chunks/{export-watermark-R4DQD2MU.js → export-watermark-D5GEVWDB.js} +5 -5
  33. package/dist/chunks/{eyedropper-FL5PEW2P.js → eyedropper-A4VJTPRG.js} +1 -1
  34. package/dist/chunks/{generate-media-HYB2XXSI.js → generate-media-JQUSVWRS.js} +3 -3
  35. package/dist/chunks/{host-22TQMP3N.js → host-UE4XSXWW.js} +6 -6
  36. package/dist/chunks/{integrations-S7YR3CPC.js → integrations-TTQFE4SY.js} +1 -1
  37. package/dist/chunks/{libraries-DRD6CRME.js → libraries-KBIJXN5N.js} +5 -5
  38. package/dist/chunks/{live-WQ2FVX7M.js → live-2PRKQJKP.js} +1 -1
  39. package/dist/chunks/{media-tool-C5I5NMLR.js → media-tool-WTHANGRY.js} +1 -1
  40. package/dist/chunks/{new-file-YEPQAPSH.js → new-file-2GCTS6AZ.js} +3 -3
  41. package/dist/chunks/{plugin-K3AEK5B4.js → plugin-4SZ4YAGG.js} +2 -2
  42. package/dist/chunks/{plugin-import-S5M3RA5O.js → plugin-import-4ZC2Q46U.js} +16 -16
  43. package/dist/chunks/{presence-B3CIJFMC.js → presence-NDG6WOXJ.js} +2 -2
  44. package/dist/chunks/{project-DKGB2RX7.js → project-D2EYZYOD.js} +1 -1
  45. package/dist/chunks/{publish-site-NLEBFWVJ.js → publish-site-OVGDPOI2.js} +6 -6
  46. package/dist/chunks/{publish-store-Q2PV7GIJ.js → publish-store-MRPTMNAK.js} +4 -4
  47. package/dist/chunks/{raster-actions-JID7IB65.js → raster-actions-XA7MOM54.js} +1 -1
  48. package/dist/chunks/{runner-KSQNGEKT.js → runner-6JZ4MMZD.js} +18 -18
  49. package/dist/chunks/{store-47REJOBP.js → store-KLWJHTL4.js} +6 -6
  50. package/dist/chunks/{sync-ZYLMW5IG.js → sync-W7NQ7APO.js} +5 -5
  51. package/dist/chunks/{tabs-EKF36KWY.js → tabs-47AY6YQW.js} +8 -8
  52. package/dist/chunks/{team-GFGX457M.js → team-DITATNRW.js} +1 -1
  53. package/dist/chunks/{team-client-3DNX7F7K.js → team-client-Q6QVZFSX.js} +1 -1
  54. package/dist/chunks/{tools-5RLTU7PZ.js → tools-W2X7R6CC.js} +2 -2
  55. package/dist/chunks/{ui-commands-EZSV7Z5S.js → ui-commands-GFOX4BAX.js} +12 -12
  56. package/dist/chunks/{versions-DP73RT3H.js → versions-NKM2REB7.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-RHBGJ4CN.js";
21
+ } from "./chunk-WNVGCWBX.js";
22
22
  import "./chunk-TYLZD5QF.js";
23
23
  import "./chunk-JJ6G3CGC.js";
24
24
  import "./chunk-QMR7OFNX.js";
@@ -7,8 +7,8 @@ const __dirname = __popcraftDirname(__filename);
7
7
  import {
8
8
  builtinTools,
9
9
  registerBuiltinTools
10
- } from "./chunk-LF75QF4X.js";
11
- import "./chunk-ILHOJ7XG.js";
10
+ } from "./chunk-X5SVIUUM.js";
11
+ import "./chunk-5ZH3YDV5.js";
12
12
  import "./chunk-3JGOPCPQ.js";
13
13
  import "./chunk-Y4K2U3U5.js";
14
14
  import "./chunk-XOEASCVH.js";
@@ -19,7 +19,7 @@ import "./chunk-QKNPFV7R.js";
19
19
  import "./chunk-HFKXK2TH.js";
20
20
  import "./chunk-XVB36Q7W.js";
21
21
  import "./chunk-NGQ553CY.js";
22
- import "./chunk-RHBGJ4CN.js";
22
+ import "./chunk-WNVGCWBX.js";
23
23
  import "./chunk-TYLZD5QF.js";
24
24
  import "./chunk-Y5OJMFXN.js";
25
25
  import "./chunk-EW4AJAP7.js";
@@ -7,11 +7,11 @@ const __dirname = __popcraftDirname(__filename);
7
7
  import {
8
8
  HYPERY_TEAM_HEADER,
9
9
  hyperyRequestHeaders
10
- } from "./chunk-W5ZRTAW5.js";
10
+ } from "./chunk-7DCRNYTO.js";
11
11
  import "./chunk-M5SCUGMF.js";
12
12
  import {
13
13
  useHyperyTeam
14
- } from "./chunk-2N6LQHLE.js";
14
+ } from "./chunk-2WAQL3FE.js";
15
15
  import {
16
16
  ApiError
17
17
  } from "./chunk-YBIRNJKJ.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-VQZVCXQX.js";
9
+ } from "./chunk-H44JG4PQ.js";
10
10
  import {
11
11
  builtinCommands
12
- } from "./chunk-ILHOJ7XG.js";
12
+ } from "./chunk-5ZH3YDV5.js";
13
13
  import "./chunk-3JGOPCPQ.js";
14
14
  import "./chunk-Y4K2U3U5.js";
15
15
  import "./chunk-XOEASCVH.js";
@@ -150,7 +150,7 @@ function startHyperyTeams() {
150
150
  maybePromptForTeam();
151
151
  void followFileTeam(linkedKey);
152
152
  });
153
- void import("./sync-ZYLMW5IG.js").then(({ onSyncStatus, syncStatus }) => {
153
+ void import("./sync-W7NQ7APO.js").then(({ onSyncStatus, syncStatus }) => {
154
154
  linkedKey = syncStatus().link?.key ?? null;
155
155
  void followFileTeam(linkedKey);
156
156
  onSyncStatus((_s, link) => {
@@ -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-W5ZRTAW5.js";
9
+ } from "./chunk-7DCRNYTO.js";
10
10
  import {
11
11
  aiAvailability,
12
12
  effectiveChatModel,
@@ -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-5JJXGWMW.js"),
94
+ import("./editor-store-NRJGMZZO.js"),
95
95
  import("../lib/document/photo-frames.js"),
96
- import("./media-tool-C5I5NMLR.js")
96
+ import("./media-tool-WTHANGRY.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);
@@ -949,7 +949,7 @@ init_scene_graph();
949
949
  var licence = external_exports.enum(["commercial", "any"]).optional().describe("commercial (default): only licences that allow commercial use and edits (CC0, public domain, CC BY, CC BY-SA). any: every Creative Commons licence, including NC and ND.");
950
950
  var brief2 = (p) => ({ id: p.id, title: p.title, creator: p.credit.creator, licence: licenceLabel(p.credit), width: p.width, height: p.height, source: p.credit.sourceUrl });
951
951
  async function placeImportedPicture(ctx, imported, at2, what, extra = {}) {
952
- const client = await import("./client-SF7KP2LI.js");
952
+ const client = await import("./client-Z3VBMGNY.js");
953
953
  if (at2.fillLayerId) {
954
954
  const doc2 = ctx.doc();
955
955
  const target = nodeOrThrow(doc2, at2.fillLayerId);
@@ -995,7 +995,7 @@ var photoSearch = defineCommand({
995
995
  }
996
996
  },
997
997
  run: async (args) => {
998
- const { searchStockPhotos } = await import("./client-SF7KP2LI.js");
998
+ const { searchStockPhotos } = await import("./client-Z3VBMGNY.js");
999
999
  const page = await searchStockPhotos(args.query, args.page ?? 1, { licence: args.licence });
1000
1000
  return {
1001
1001
  summary: `${page.results.length} photo${page.results.length === 1 ? "" : "s"} for \u201C${page.query}\u201D (page ${page.page} of ${page.pageCount || 1})`,
@@ -1029,7 +1029,7 @@ var photoInsert = defineCommand({
1029
1029
  run: async (args, ctx) => {
1030
1030
  if (!args.id && !args.query) throw new ToolError("Pass an id from search_photos, or a query.");
1031
1031
  if (args.id && !isPhotoId(args.id)) throw new ToolError(`"${args.id}" is not a photo id from search_photos.`);
1032
- const client = await import("./client-SF7KP2LI.js");
1032
+ const client = await import("./client-Z3VBMGNY.js");
1033
1033
  let photo;
1034
1034
  if (args.id) photo = await client.stockPhotoInfo(args.id);
1035
1035
  else {
@@ -1067,10 +1067,10 @@ var mediaList = defineCommand({
1067
1067
  }
1068
1068
  },
1069
1069
  run: async (args) => {
1070
- const { listLibraryMedia } = await import("./client-XQB6AT5L.js");
1070
+ const { listLibraryMedia } = await import("./client-ZYDECQIC.js");
1071
1071
  const q = { ...args };
1072
1072
  if (!q.workspace) {
1073
- const { syncStatus } = await import("./sync-ZYLMW5IG.js");
1073
+ const { syncStatus } = await import("./sync-W7NQ7APO.js");
1074
1074
  const link2 = syncStatus().link;
1075
1075
  if (!link2) throw new ToolError("This document is not saved to the cloud, so it has no team media library. Pass workspace.");
1076
1076
  q.workspace = (await listLibraryMedia({ file: link2.key, limit: 1 })).workspaceId;
@@ -1105,7 +1105,7 @@ var mediaInsert = defineCommand({
1105
1105
  run: async (args, ctx) => {
1106
1106
  const contentType = args.contentType ?? "image/*";
1107
1107
  if (!contentType.startsWith("image/")) throw new ToolError("insert_media places pictures; this item is not one.");
1108
- const { importLibraryPicture } = await import("./client-XQB6AT5L.js");
1108
+ const { importLibraryPicture } = await import("./client-ZYDECQIC.js");
1109
1109
  const item = { hash: args.hash, fileKey: args.fileKey, fileName: args.name ?? "Media", contentType, size: 0, createdAt: "", fileCount: 1, source: null };
1110
1110
  const imported = await importLibraryPicture(item);
1111
1111
  return placeImportedPicture(ctx, imported, args, `\u201C${imported.name}\u201D`, { hash: imported.hash });
@@ -1126,7 +1126,7 @@ var mediaDownload = defineCommand({
1126
1126
  // The Library's right-click menu: saves the item's file to the computer.
1127
1127
  expose: { ui: { label: "Download", palette: false } },
1128
1128
  run: async (args) => {
1129
- const { libraryBlob, libraryFileName } = await import("./client-XQB6AT5L.js");
1129
+ const { libraryBlob, libraryFileName } = await import("./client-ZYDECQIC.js");
1130
1130
  const { downloadBlob } = await import("./download-TILSPGFV.js");
1131
1131
  const item = { hash: args.hash, fileKey: args.fileKey, fileName: args.name ?? "media", contentType: args.contentType ?? "", size: 0, createdAt: "", fileCount: 1, source: null };
1132
1132
  const blob = await libraryBlob(item);
@@ -1157,7 +1157,7 @@ var mediaDelete = defineCommand({
1157
1157
  }
1158
1158
  },
1159
1159
  run: async (args) => {
1160
- const { deleteLibraryMedia } = await import("./client-XQB6AT5L.js");
1160
+ const { deleteLibraryMedia } = await import("./client-ZYDECQIC.js");
1161
1161
  const out = await deleteLibraryMedia(args.workspace, args.hash);
1162
1162
  return { summary: `Deleted it from the library (it was in ${out.files} file${out.files === 1 ? "" : "s"})`, data: out };
1163
1163
  }
@@ -1171,13 +1171,13 @@ async function signedIn() {
1171
1171
  }
1172
1172
  async function publishedFile() {
1173
1173
  await signedIn();
1174
- const { openFileKey } = await import("./publish-site-NLEBFWVJ.js");
1174
+ const { openFileKey } = await import("./publish-site-OVGDPOI2.js");
1175
1175
  const key = openFileKey();
1176
1176
  if (!key) throw new CommandError("This file is not saved to the cloud yet, so it has no site. Publish it first.", "failed");
1177
1177
  return key;
1178
1178
  }
1179
1179
  async function formsWithoutDatabase(key) {
1180
- const [{ useEditorStore }, { usesForms, formsGoNowhere }, { siteBackend }] = await Promise.all([import("./editor-store-5JJXGWMW.js"), import("./backend-CDSZDZTE.js"), import("./integrations-S7YR3CPC.js")]);
1180
+ const [{ useEditorStore }, { usesForms, formsGoNowhere }, { siteBackend }] = await Promise.all([import("./editor-store-NRJGMZZO.js"), import("./backend-CDSZDZTE.js"), import("./integrations-TTQFE4SY.js")]);
1181
1181
  const doc2 = useEditorStore.getState().document;
1182
1182
  if (!usesForms(doc2)) return false;
1183
1183
  return formsGoNowhere(doc2, await siteBackend(key).catch(() => void 0));
@@ -1213,7 +1213,7 @@ var publishSite = defineCommand({
1213
1213
  const { cleanSlug } = await import("./rules-YUCJ5ZC5.js");
1214
1214
  const address = p.address === void 0 ? void 0 : cleanSlug(p.address);
1215
1215
  if (address === null) throw new CommandError("That cannot be a site address: use 3 to 40 letters, digits and dashes.", "invalid_params");
1216
- const { publishOpenFile, NoScreens } = await import("./publish-site-NLEBFWVJ.js");
1216
+ const { publishOpenFile, NoScreens } = await import("./publish-site-OVGDPOI2.js");
1217
1217
  try {
1218
1218
  const done = await publishOpenFile(address);
1219
1219
  ctx.notice(`Published version ${done.version}: ${done.url}`);
@@ -1268,7 +1268,7 @@ var publishListSites = defineCommand({
1268
1268
  },
1269
1269
  run: async (p) => {
1270
1270
  await signedIn();
1271
- const [{ workspaceSites }, { activeTeamWorkspaceId, useHyperyTeam }] = await Promise.all([import("./sites-TZWJRRUS.js"), import("./team-GFGX457M.js")]);
1271
+ const [{ workspaceSites }, { activeTeamWorkspaceId, useHyperyTeam }] = await Promise.all([import("./sites-TZWJRRUS.js"), import("./team-DITATNRW.js")]);
1272
1272
  const workspaceId = p.workspaceId ?? activeTeamWorkspaceId() ?? useHyperyTeam.getState().personalWorkspaceId;
1273
1273
  if (!workspaceId) throw new CommandError("Your workspaces have not loaded yet. Try again in a moment.", "failed");
1274
1274
  const out = await workspaceSites(workspaceId);
@@ -1317,12 +1317,12 @@ var publishStatus = defineCommand({
1317
1317
  },
1318
1318
  run: async () => {
1319
1319
  await signedIn();
1320
- const [{ openFileKey }, { siteStatus }] = await Promise.all([import("./publish-site-NLEBFWVJ.js"), import("./sites-TZWJRRUS.js")]);
1320
+ const [{ openFileKey }, { siteStatus }] = await Promise.all([import("./publish-site-OVGDPOI2.js"), import("./sites-TZWJRRUS.js")]);
1321
1321
  const key = openFileKey();
1322
1322
  const status = await siteStatus(key);
1323
1323
  const site = status.site;
1324
- const backend = key ? await (await import("./integrations-S7YR3CPC.js")).siteBackend(key).catch(() => null) : null;
1325
- const destinations = key ? await (await import("./integrations-S7YR3CPC.js")).listDestinations(key).catch(() => []) : [];
1324
+ const backend = key ? await (await import("./integrations-TTQFE4SY.js")).siteBackend(key).catch(() => null) : null;
1325
+ const destinations = key ? await (await import("./integrations-TTQFE4SY.js")).listDestinations(key).catch(() => []) : [];
1326
1326
  return {
1327
1327
  summary: !status.configured ? "This server does not publish websites" : !site ? "Not published yet" : site.currentVersion === null ? `Offline (${site.versions.length} versions kept) \u2014 ${site.url}` : `Version ${site.currentVersion} is online at ${site.url}`,
1328
1328
  data: { ...statusData(status), database: backend?.database ? { provider: backend.database.connection.provider, account: backend.database.connection.account, target: backend.database.target.map((t) => t.name), visitorsCanSignIn: backend.database.signIn } : null, destinations: destinations.map((d) => ({ destinationId: d.id, provider: d.connection.provider, account: d.connection.account, kind: d.capability, target: d.target.map((t) => t.name), lastSent: d.lastDeploy })) }
@@ -1353,7 +1353,7 @@ var publishStore = defineCommand({
1353
1353
  },
1354
1354
  run: async (p, ctx) => {
1355
1355
  await signedIn();
1356
- const { deployOpenStore } = await import("./publish-store-Q2PV7GIJ.js");
1356
+ const { deployOpenStore } = await import("./publish-store-MRPTMNAK.js");
1357
1357
  const done = await deployOpenStore(ctx.doc(), ctx.pageId(), { destinationId: p.destinationId }).catch((e) => {
1358
1358
  throw new CommandError(e instanceof Error ? e.message : String(e), "failed");
1359
1359
  });
@@ -1382,7 +1382,7 @@ var integrationList = defineCommand({
1382
1382
  }
1383
1383
  },
1384
1384
  run: async ({ capability }) => {
1385
- const [{ cloudUser }, { integrationsWorkspaceId, listWorkspaceIntegrations }] = await Promise.all([import("./session-2TYDXLMP.js"), import("./integrations-S7YR3CPC.js")]);
1385
+ const [{ cloudUser }, { integrationsWorkspaceId, listWorkspaceIntegrations }] = await Promise.all([import("./session-2TYDXLMP.js"), import("./integrations-TTQFE4SY.js")]);
1386
1386
  if (!cloudUser()) throw new CommandError("You are not signed in: integrations belong to your account's workspace.", "denied");
1387
1387
  const workspaceId = integrationsWorkspaceId();
1388
1388
  if (!workspaceId) throw new CommandError("Your workspaces have not loaded yet. Try again in a moment.", "failed");
@@ -1423,7 +1423,7 @@ var integrationOpen = defineCommand({
1423
1423
  }
1424
1424
  });
1425
1425
  async function openFile() {
1426
- const [{ cloudUser }, { openFileKey }] = await Promise.all([import("./session-2TYDXLMP.js"), import("./publish-site-NLEBFWVJ.js")]);
1426
+ const [{ cloudUser }, { openFileKey }] = await Promise.all([import("./session-2TYDXLMP.js"), import("./publish-site-OVGDPOI2.js")]);
1427
1427
  if (!cloudUser()) throw new CommandError("You are not signed in.", "denied");
1428
1428
  const key = openFileKey();
1429
1429
  if (!key) throw new CommandError("This file is not saved to the cloud yet. Publish it first (publish_site).", "failed");
@@ -1449,7 +1449,7 @@ var integrationListResources = defineCommand({
1449
1449
  }
1450
1450
  },
1451
1451
  run: async ({ connectionId, capability, path }) => {
1452
- const { listResources } = await import("./integrations-S7YR3CPC.js");
1452
+ const { listResources } = await import("./integrations-TTQFE4SY.js");
1453
1453
  const list = await listResources(connectionId, capability, asPath2(path));
1454
1454
  return {
1455
1455
  summary: list.level ? `${list.resources.length} at the ${list.level.label.toLowerCase()} level${list.canCreate ? " (a new one can be made)" : ""}` : "Nothing further to pick: the path is complete",
@@ -1484,7 +1484,7 @@ var integrationAddDestination = defineCommand({
1484
1484
  },
1485
1485
  run: async (p, ctx) => {
1486
1486
  const key = await openFile();
1487
- const { addDestination, createDestination, createResource } = await import("./integrations-S7YR3CPC.js");
1487
+ const { addDestination, createDestination, createResource } = await import("./integrations-TTQFE4SY.js");
1488
1488
  let made;
1489
1489
  if (p.create) made = await createDestination(key, p.capability, void 0, p.connectionId);
1490
1490
  else {
@@ -1521,7 +1521,7 @@ var integrationDeploy = defineCommand({
1521
1521
  },
1522
1522
  run: async (p, ctx) => {
1523
1523
  const key = await openFile();
1524
- const { deployDestination, listDestinations } = await import("./integrations-S7YR3CPC.js");
1524
+ const { deployDestination, listDestinations } = await import("./integrations-TTQFE4SY.js");
1525
1525
  const all = await listDestinations(key);
1526
1526
  const dest = p.destinationId ? all.find((d) => d.id === p.destinationId) : all.length === 1 ? all[0] : void 0;
1527
1527
  if (!dest) throw new CommandError(all.length ? `Say which destination: ${all.map((d) => `${d.id} (${d.target.map((t) => t.name).join(" / ")})`).join(", ")}.` : "This file has no destination yet. Add one first (add_site_destination).", "invalid_params");
@@ -1555,7 +1555,7 @@ var integrationAttachDatabase = defineCommand({
1555
1555
  },
1556
1556
  run: async (p, ctx) => {
1557
1557
  const key = await openFile();
1558
- const { attachDatabase, createDatabase, createResource, listResources } = await import("./integrations-S7YR3CPC.js");
1558
+ const { attachDatabase, createDatabase, createResource, listResources } = await import("./integrations-TTQFE4SY.js");
1559
1559
  if (p.create) return attached(await createDatabase(key, void 0, p.connectionId), ctx);
1560
1560
  if (!p.connectionId || !p.target) throw new CommandError("Say connectionId and target, or create: true.", "invalid_params");
1561
1561
  let target = asPath2(p.target);
@@ -1594,7 +1594,7 @@ var integrationSubmissions = defineCommand({
1594
1594
  },
1595
1595
  run: async ({ form, limit }) => {
1596
1596
  const key = await openFile();
1597
- const { listSubmissions } = await import("./integrations-S7YR3CPC.js");
1597
+ const { listSubmissions } = await import("./integrations-TTQFE4SY.js");
1598
1598
  const rows = await listSubmissions(key, { form, limit: limit ?? 20 });
1599
1599
  return { summary: rows.length ? `${rows.length} ${rows.length === 1 ? "submission" : "submissions"}, the newest ${new Date(rows[0].createdAt).toISOString()}` : "Nothing has been sent yet", data: { submissions: rows } };
1600
1600
  }
@@ -1619,7 +1619,7 @@ var integrationSetSignIn = defineCommand({
1619
1619
  },
1620
1620
  run: async ({ on }, ctx) => {
1621
1621
  const key = await openFile();
1622
- const { setSignIn } = await import("./integrations-S7YR3CPC.js");
1622
+ const { setSignIn } = await import("./integrations-TTQFE4SY.js");
1623
1623
  const done = await setSignIn(key, on);
1624
1624
  ctx.notice(on ? "Visitors can sign in." : "Sign-in is off.");
1625
1625
  return { summary: on ? "Visitors can now create accounts and sign in on the published site" : "Sign-in is off for the published site", data: { signIn: !!done.database?.signIn } };
@@ -1837,7 +1837,7 @@ var fontTeamList = defineCommand({
1837
1837
  agent: { name: "list_team_fonts", readOnly: true, description: "The team's fonts: faces uploaded once that every file of the team can use (family, weight, style)." }
1838
1838
  },
1839
1839
  run: async (args) => {
1840
- const { refreshTeamFonts } = await import("./team-client-3DNX7F7K.js");
1840
+ const { refreshTeamFonts } = await import("./team-client-Q6QVZFSX.js");
1841
1841
  const fonts = await refreshTeamFonts(args.workspace);
1842
1842
  return { summary: plural(fonts.length, "team font"), data: { fonts: fonts.map((f) => ({ id: f.id, family: f.family, weight: f.weight, style: f.style, face: f.face, fileName: f.fileName })) } };
1843
1843
  }
@@ -1864,7 +1864,7 @@ var fontTeamAdd = defineCommand({
1864
1864
  run: async (args, ctx) => {
1865
1865
  const { bytes, fileName: fileName2 } = await fontBytes(args, ctx);
1866
1866
  const { face, family, weight, style } = await resolveFace(bytes, args);
1867
- const { uploadTeamFont } = await import("./team-client-3DNX7F7K.js");
1867
+ const { uploadTeamFont } = await import("./team-client-Q6QVZFSX.js");
1868
1868
  const font = await uploadTeamFont(bytes, { family, weight, style, face: face.index, fileName: fileName2 }, args.workspace);
1869
1869
  return { summary: `Added ${family} ${weight}${style === "italic" ? " italic" : ""} to the team`, data: { font } };
1870
1870
  }
@@ -1886,7 +1886,7 @@ var fontTeamRemove = defineCommand({
1886
1886
  agent: { name: "remove_team_font", description: "Remove a font from the team (list_team_fonts). Files that use it fall back to another font unless they carry it themselves. The user approves every call." }
1887
1887
  },
1888
1888
  run: async (args) => {
1889
- const { removeTeamFont } = await import("./team-client-3DNX7F7K.js");
1889
+ const { removeTeamFont } = await import("./team-client-Q6QVZFSX.js");
1890
1890
  const out = await removeTeamFont(args.id, args.workspace);
1891
1891
  return { summary: `Removed the team font${out.freed ? " and freed its storage" : ""}`, data: out };
1892
1892
  }
@@ -1897,7 +1897,7 @@ var fontTeamCommands = [fontTeamList, fontTeamAdd];
1897
1897
  init_define_POPCRAFT_COMPONENT_IDS();
1898
1898
  async function cloudFile() {
1899
1899
  const [{ syncStatus }, { cloudUser }] = await Promise.all([
1900
- import("./sync-ZYLMW5IG.js"),
1900
+ import("./sync-W7NQ7APO.js"),
1901
1901
  import("./session-2TYDXLMP.js")
1902
1902
  ]);
1903
1903
  const link2 = syncStatus().link;
@@ -1959,7 +1959,7 @@ var fileTrash = defineCommand({
1959
1959
  agent: { name: "trash_file", description: "Delete the open file: a cloud file goes to the Trash (restorable), a signed-out local file is deleted for good. Then the editor goes back to Home. The user approves every call." }
1960
1960
  },
1961
1961
  run: async () => {
1962
- const { deleteCurrentFile, leaveDeletedFile } = await import("./delete-current-file-KFAGNQGL.js");
1962
+ const { deleteCurrentFile, leaveDeletedFile } = await import("./delete-current-file-MV7AJBJM.js");
1963
1963
  const { name: name2, kind } = await deleteCurrentFile();
1964
1964
  leaveDeletedFile();
1965
1965
  return { summary: kind === "cloud" ? `Moved \u201C${name2}\u201D to the Trash` : `Deleted \u201C${name2}\u201D` };
@@ -2072,11 +2072,11 @@ var fileDuplicate = defineCommand({
2072
2072
  },
2073
2073
  run: async (_p, ctx) => {
2074
2074
  const [{ syncStatus }, { cloudApi }, { isDesktopTabs }, { createFileInTab }, { openNewCloudFile }, { v4: uuid }] = await Promise.all([
2075
- import("./sync-ZYLMW5IG.js"),
2075
+ import("./sync-W7NQ7APO.js"),
2076
2076
  import("./api-JBQNQDWI.js"),
2077
2077
  import("./tab-mode-KLYWQDP6.js"),
2078
- import("./tabs-EKF36KWY.js"),
2079
- import("./sync-ZYLMW5IG.js"),
2078
+ import("./tabs-47AY6YQW.js"),
2079
+ import("./sync-W7NQ7APO.js"),
2080
2080
  import("./dist-node-NVLTXNUR.js")
2081
2081
  ]);
2082
2082
  const doc2 = ctx.doc();
@@ -4953,7 +4953,7 @@ var viewCopyLink = defineCommand({
4953
4953
  },
4954
4954
  run: async (args, ctx) => {
4955
4955
  const [{ syncStatus }, { fileUrl }, { withDeepLink }] = await Promise.all([
4956
- import("./sync-ZYLMW5IG.js"),
4956
+ import("./sync-W7NQ7APO.js"),
4957
4957
  import("./api-JBQNQDWI.js"),
4958
4958
  import("./deep-link-YXCVTGCA.js")
4959
4959
  ]);
@@ -5278,7 +5278,7 @@ var pageGo = defineCommand({
5278
5278
  ] }
5279
5279
  },
5280
5280
  run: async ({ to }) => {
5281
- const { useEditorStore } = await import("./editor-store-5JJXGWMW.js");
5281
+ const { useEditorStore } = await import("./editor-store-NRJGMZZO.js");
5282
5282
  useEditorStore.getState().goToPrintPage(to);
5283
5283
  return { summary: typeof to === "number" ? `Page ${to + 1}` : `${to} page` };
5284
5284
  }
@@ -5312,7 +5312,7 @@ var pageSetup = defineCommand({
5312
5312
  }
5313
5313
  },
5314
5314
  run: async (args) => {
5315
- const { useEditorStore } = await import("./editor-store-5JJXGWMW.js");
5315
+ const { useEditorStore } = await import("./editor-store-NRJGMZZO.js");
5316
5316
  useEditorStore.getState().applyPageSetup(args);
5317
5317
  return { summary: `Page setup updated${args.kind ? ` (${args.kind.toLowerCase()})` : ""}` };
5318
5318
  }
@@ -5750,7 +5750,7 @@ async function docAtTime(doc2, ids, time2) {
5750
5750
  let frameId;
5751
5751
  if (time2 === void 0) {
5752
5752
  try {
5753
- const { useEditorStore } = await import("./editor-store-5JJXGWMW.js");
5753
+ const { useEditorStore } = await import("./editor-store-NRJGMZZO.js");
5754
5754
  const st = useEditorStore.getState();
5755
5755
  const target = st.transport?.target;
5756
5756
  if (st.mode !== "ANIMATE" || target?.kind !== "frame") return doc2;
@@ -6144,7 +6144,7 @@ async function runAnimationExport(format, args, ctx) {
6144
6144
  const filename = exportFileName(args.filename || targetName(doc2, target), format);
6145
6145
  const [{ exportAnimation }, { memoryDestination }] = await Promise.all([import("./video-RI6MHOQF.js"), import("./destination-7UP3UXPD.js")]);
6146
6146
  if (format === "lottie" || format === "dotlottie") return runLottieExport(renderer, doc2, spec, filename, ctx, memoryDestination, args.stateMachine);
6147
- const planWatermark = format !== "png" && await (await import("./export-watermark-R4DQD2MU.js")).exportWatermark();
6147
+ const planWatermark = format !== "png" && await (await import("./export-watermark-D5GEVWDB.js")).exportWatermark();
6148
6148
  if (format !== "png") spec = { ...spec, watermark: planWatermark || args.watermark !== false };
6149
6149
  const dest = ctx.destination ? await ctx.destination(filename, FORMAT_MIME[format]) : memoryDestination(filename, FORMAT_MIME[format]);
6150
6150
  let stats;
@@ -6230,7 +6230,7 @@ var exportLottie = animationCommand((args) => args.container === "lottie" ? "dot
6230
6230
  });
6231
6231
  async function exportSite(doc2, pageId2, packaging, styling = "css", siteUrl) {
6232
6232
  const [{ completeSite, nextFilesOf, shareImageFiles, staticFilesOf, NoSiteRuntime, bytesOf }, { fileBase }, { zipFiles }, { downloadBlob }] = await Promise.all([
6233
- import("./project-DKGB2RX7.js"),
6233
+ import("./project-D2EYZYOD.js"),
6234
6234
  import("./web-K2TQLDMO.js"),
6235
6235
  import("./zip-export-Z3W2L3YO.js"),
6236
6236
  import("./download-TILSPGFV.js")
@@ -6324,7 +6324,7 @@ var exportStorefront = defineCommand({
6324
6324
  const [{ storefrontInputs }, { STOREFRONT_TARGETS }, { bytesOf }, { fileBase, flatten }, { zipFiles }, { downloadBlob }] = await Promise.all([
6325
6325
  import("./storefront-prepare-G24RQGIU.js"),
6326
6326
  import("./storefront-572FTCUC.js"),
6327
- import("./project-DKGB2RX7.js"),
6327
+ import("./project-D2EYZYOD.js"),
6328
6328
  import("./web-K2TQLDMO.js"),
6329
6329
  import("./zip-export-Z3W2L3YO.js"),
6330
6330
  import("./download-TILSPGFV.js")
@@ -6719,7 +6719,7 @@ var visionRegenerateImage = defineCommand({
6719
6719
  const id = args.id ?? ctx.selection()[0];
6720
6720
  if (!id) throw new ToolError("Select a generated image to regenerate.");
6721
6721
  nodeOrThrow(ctx.doc(), id);
6722
- const { regenerateImage } = await import("./client-actions-3JLEWZ5Y.js");
6722
+ const { regenerateImage } = await import("./client-actions-NTOZSN5H.js");
6723
6723
  regenerateImage(id, args.count);
6724
6724
  return { summary: args.count > 1 ? `Regenerating ${args.count} variants` : "Regenerating the image", data: { id, count: args.count } };
6725
6725
  }
@@ -11936,7 +11936,7 @@ var scriptRun = defineCommand({
11936
11936
  // A script is not the turn the user is watching: confirm-tier tools are refused inside it (dispatch, `nested`).
11937
11937
  actor: { ...ctx.actor, nested: true, label: "Script" },
11938
11938
  // A look_at inside the script sees the document as the script has left it so far, not as it was before.
11939
- use: ((name2) => name2 === "render" && ctx.can("render") ? (async (ids, options) => (await import("./agent-G5NEKUWD.js")).renderDocument(staged, ids, options)) : ctx.use(name2))
11939
+ use: ((name2) => name2 === "render" && ctx.can("render") ? (async (ids, options) => (await import("./agent-WHYO4Q6Q.js")).renderDocument(staged, ids, options)) : ctx.use(name2))
11940
11940
  };
11941
11941
  let calls = 0;
11942
11942
  const images = [];
@@ -12756,7 +12756,7 @@ var docImportFile = defineCommand({
12756
12756
  const file = new File([body], args.name);
12757
12757
  if (file.size > MAX_BYTES) throw new ToolError(`"${args.name}" is larger than ${MAX_BYTES / 1024 / 1024} MB.`);
12758
12758
  const [{ buildImportedDocument }, { mergeImportedDocument }] = await Promise.all([
12759
- import("./plugin-import-S5M3RA5O.js"),
12759
+ import("./plugin-import-4ZC2Q46U.js"),
12760
12760
  import("./import-merge-NBSFRX5F.js")
12761
12761
  ]);
12762
12762
  const built = await buildImportedDocument(file);
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-AKL6MQ5Q.js";
10
10
  import {
11
11
  notice
12
- } from "./chunk-DNPMT73U.js";
12
+ } from "./chunk-TZTTVZRD.js";
13
13
  import {
14
14
  effectiveChatModel,
15
15
  setModelPref,
@@ -17,7 +17,7 @@ import {
17
17
  } from "./chunk-ISPIBFEW.js";
18
18
  import {
19
19
  useEditorStore
20
- } from "./chunk-ZIBZ5L22.js";
20
+ } from "./chunk-JZNZLCTL.js";
21
21
  import {
22
22
  create
23
23
  } from "./chunk-LQFJW7ZP.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-KSQNGEKT.js");
1906
+ const { runTurn } = await import("./runner-6JZ4MMZD.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-KSQNGEKT.js").then(({ onChildTool }) => {
2009
+ void import("./runner-6JZ4MMZD.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);
@@ -11,7 +11,7 @@ import {
11
11
  activeHyperyTeamId,
12
12
  activeTeamWorkspaceId,
13
13
  useHyperyTeam
14
- } from "./chunk-2N6LQHLE.js";
14
+ } from "./chunk-2WAQL3FE.js";
15
15
  import {
16
16
  inAppPurchases
17
17
  } from "./chunk-MGHZX3C6.js";
@@ -13,7 +13,7 @@ import {
13
13
  agentTool,
14
14
  agentToolList,
15
15
  registerCommands
16
- } from "./chunk-RHBGJ4CN.js";
16
+ } from "./chunk-WNVGCWBX.js";
17
17
  import {
18
18
  dispatch
19
19
  } from "./chunk-JJ6G3CGC.js";
@@ -8,7 +8,7 @@ import {
8
8
  needsSelection,
9
9
  pageGo,
10
10
  selectionIsPicture
11
- } from "./chunk-ILHOJ7XG.js";
11
+ } from "./chunk-5ZH3YDV5.js";
12
12
  import {
13
13
  external_exports
14
14
  } from "./chunk-NGQ553CY.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-5JJXGWMW.js").then((m) => m.useEditorStore.getState());
34
+ var store = () => import("./editor-store-NRJGMZZO.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-DCDO4F7R.js")).openPlanDialog();
192
192
  break;
193
193
  case "credits":
194
- await (await import("./buy-credits-5JZAFYJK.js")).buyAiCredits();
194
+ await (await import("./buy-credits-ARRJBYXI.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-QKIY73ZZ.js")).openAiDialog(dialog);
240
- else (await import("./store-47REJOBP.js")).openAgentPanel({ skillId: skillId ?? null });
240
+ else (await import("./store-KLWJHTL4.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-KSQNGEKT.js")).continueTurn();
253
+ const resumed = await (await import("./runner-6JZ4MMZD.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-C5I5NMLR.js");
332
+ const { placeMediaFromPicker } = await import("./media-tool-WTHANGRY.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-FL5PEW2P.js");
336
+ const { beginEyedrop } = await import("./eyedropper-A4VJTPRG.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-JID7IB65.js");
354
+ const { flattenSelectionToPaintLayer } = await import("./raster-actions-XA7MOM54.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-22TQMP3N.js")).runPlugin(pluginId, commandId);
465
+ await (await import("./host-UE4XSXWW.js")).runPlugin(pluginId, commandId);
466
466
  return { summary: "Plugin started" };
467
467
  }
468
468
  });
@@ -12,7 +12,7 @@ import {
12
12
  hostEnv,
13
13
  plain,
14
14
  registerBuiltinCommands
15
- } from "./chunk-ILHOJ7XG.js";
15
+ } from "./chunk-5ZH3YDV5.js";
16
16
  import {
17
17
  external_exports
18
18
  } from "./chunk-NGQ553CY.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-G24RQGIU.js"),
648
648
  import("./storefront-572FTCUC.js"),
649
- import("./project-DKGB2RX7.js"),
649
+ import("./project-D2EYZYOD.js"),
650
650
  import("./zip-export-Z3W2L3YO.js"),
651
651
  import("./tree-CLDVZQ72.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-22TQMP3N.js");
846
+ const { runPlugin } = await import("./host-UE4XSXWW.js");
847
847
  await runPlugin(p.pluginId, p.commandId);
848
848
  ctx.notice(`Started ${p.pluginId}.`);
849
849
  return {
@@ -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-B3CIJFMC.js").then((m) => m.setPresencePrivate(on)).catch(() => {
4862
+ void import("./presence-NDG6WOXJ.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-ZYLMW5IG.js");
6933
+ const { duplicateDocumentToCloud } = await import("./sync-W7NQ7APO.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-5RLTU7PZ.js").then(async (m) => ({ ...m, registerBuiltinTools: (await import("./builtin-NNGTVHTP.js")).registerBuiltinTools })),
10444
- import("./editor-seams-6CUOKXNS.js"),
10445
- import("./live-WQ2FVX7M.js")
10443
+ import("./tools-W2X7R6CC.js").then(async (m) => ({ ...m, registerBuiltinTools: (await import("./builtin-37ZV3MUL.js")).registerBuiltinTools })),
10444
+ import("./editor-seams-UIDEGF3W.js"),
10445
+ import("./live-2PRKQJKP.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 });