@popcraft/kit 1.5.0 → 1.5.1

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 (62) hide show
  1. package/dist/chunks/{agent-YEGJNS2E.js → agent-JJD54D2J.js} +1 -1
  2. package/dist/chunks/{builtin-HB7X5SLH.js → builtin-HSAQOWVY.js} +3 -3
  3. package/dist/chunks/{buy-credits-A24A26BX.js → buy-credits-362Q5RCV.js} +2 -2
  4. package/dist/chunks/{check-template-PXBH3QHI.js → check-template-Q4GXEPE5.js} +2 -2
  5. package/dist/chunks/{chunk-HDNTE5DW.js → chunk-3QVRQ7WZ.js} +2 -2
  6. package/dist/chunks/{chunk-7NSRLPLJ.js → chunk-4R3XPUU3.js} +1 -1
  7. package/dist/chunks/{chunk-BXWSEAE3.js → chunk-5D6KTT3A.js} +4 -4
  8. package/dist/chunks/{chunk-KQEOY2YM.js → chunk-6HT23SD6.js} +6 -6
  9. package/dist/chunks/{chunk-JYSQGB2D.js → chunk-6QM5A6AK.js} +4 -4
  10. package/dist/chunks/{chunk-4IISI6JM.js → chunk-7ZXHXPQQ.js} +3 -3
  11. package/dist/chunks/{chunk-R4DSLWTP.js → chunk-DYUH5UX4.js} +5 -5
  12. package/dist/chunks/{chunk-QZTMOLOV.js → chunk-EZ3366TP.js} +5 -5
  13. package/dist/chunks/{chunk-R6TA7B45.js → chunk-F66OYDXW.js} +2 -2
  14. package/dist/chunks/{chunk-ER2WMAK4.js → chunk-GQQS7B2P.js} +2 -2
  15. package/dist/chunks/{chunk-FIQGQYP6.js → chunk-H2GFXDGF.js} +2 -2
  16. package/dist/chunks/{chunk-C6N3IMIO.js → chunk-IHDWRMIN.js} +1 -1
  17. package/dist/chunks/{chunk-43ZYKEVQ.js → chunk-KVIX64FI.js} +11 -11
  18. package/dist/chunks/{chunk-TFA6VGGL.js → chunk-NK2PUHBQ.js} +1 -1
  19. package/dist/chunks/{chunk-HEV7EV5H.js → chunk-O2VSCWYY.js} +9 -9
  20. package/dist/chunks/{chunk-6F6CQQBF.js → chunk-O2YQP5OW.js} +1 -1
  21. package/dist/chunks/{chunk-DCWHFF3C.js → chunk-RHF6YVAZ.js} +1 -1
  22. package/dist/chunks/{chunk-RSBL56YF.js → chunk-SGMCCPOB.js} +1 -1
  23. package/dist/chunks/{chunk-56IZO6ES.js → chunk-SZ6IZBR6.js} +1 -1
  24. package/dist/chunks/{chunk-KVY2HHMU.js → chunk-XMIGWM3P.js} +5 -5
  25. package/dist/chunks/{chunk-CXNRF4PT.js → chunk-XSSSREYY.js} +54 -46
  26. package/dist/chunks/{client-SIBIJLFA.js → client-2HP46XRF.js} +1 -1
  27. package/dist/chunks/{client-XE3R5AMY.js → client-3RZGPY7C.js} +2 -2
  28. package/dist/chunks/{client-6GG4XIDT.js → client-NMHWCEKF.js} +3 -3
  29. package/dist/chunks/{client-actions-KD3YWCNX.js → client-actions-VF6JCZIT.js} +5 -5
  30. package/dist/chunks/{dangerous-S6EGGN7F.js → dangerous-KHDEYKFN.js} +3 -3
  31. package/dist/chunks/{delete-current-file-QNAT6SOB.js → delete-current-file-BZYDW2WF.js} +5 -5
  32. package/dist/chunks/{editor-seams-RX2FIIJN.js → editor-seams-KNPWGH2B.js} +12 -12
  33. package/dist/chunks/{editor-store-ISAXY2JC.js → editor-store-ZJBV25ND.js} +1 -1
  34. package/dist/chunks/{export-watermark-I4UF7QZC.js → export-watermark-FVSMTF2A.js} +5 -5
  35. package/dist/chunks/{eyedropper-X5NNU5JM.js → eyedropper-RKNYOPLX.js} +1 -1
  36. package/dist/chunks/{generate-media-KBDBFF7Z.js → generate-media-5I6PAIUV.js} +3 -3
  37. package/dist/chunks/{host-PUSDBFDA.js → host-55HZJRIO.js} +6 -6
  38. package/dist/chunks/{integrations-Z65KCCUJ.js → integrations-HZZHVNMN.js} +1 -1
  39. package/dist/chunks/{libraries-3AQDDAFP.js → libraries-O5KBPXPE.js} +5 -5
  40. package/dist/chunks/{live-2IGXY3OD.js → live-2BARV5V4.js} +1 -1
  41. package/dist/chunks/{media-tool-K4P6DPPH.js → media-tool-OAYUGAKY.js} +1 -1
  42. package/dist/chunks/{new-file-XRS6DNEC.js → new-file-37YEQKW6.js} +3 -3
  43. package/dist/chunks/{next-commerce-QAPWUNMF.js → next-commerce-GFY6YBH3.js} +2 -2
  44. package/dist/chunks/{plugin-YF6XCOBE.js → plugin-JTSJM5DC.js} +2 -2
  45. package/dist/chunks/{plugin-import-PGGZ5BYE.js → plugin-import-XPSC5CXD.js} +16 -16
  46. package/dist/chunks/{presence-HUBU5WYV.js → presence-3AXZXTBG.js} +2 -2
  47. package/dist/chunks/{project-2NAEQD2W.js → project-OOUCBWRU.js} +1 -1
  48. package/dist/chunks/{publish-site-TTNKSHFC.js → publish-site-W7F67SYQ.js} +6 -6
  49. package/dist/chunks/{publish-store-ELPEEP7G.js → publish-store-DZE5QJEA.js} +5 -5
  50. package/dist/chunks/{raster-actions-XWDI7UVM.js → raster-actions-55JC6MJ3.js} +1 -1
  51. package/dist/chunks/{runner-HN44SHHA.js → runner-GBVW2QZE.js} +18 -18
  52. package/dist/chunks/{store-EC6CBOZT.js → store-47OZLF6J.js} +6 -6
  53. package/dist/chunks/{storefront-GDSD3GOC.js → storefront-3D22HDDT.js} +2 -2
  54. package/dist/chunks/{sync-CEDDBDWO.js → sync-BVVK6NYF.js} +5 -5
  55. package/dist/chunks/{tabs-R2VT6HI6.js → tabs-4N3PYF7I.js} +8 -8
  56. package/dist/chunks/{team-B7AIJUW2.js → team-S7HZ2AMU.js} +1 -1
  57. package/dist/chunks/{team-client-RN72REPE.js → team-client-HIJB2MU2.js} +1 -1
  58. package/dist/chunks/{tools-MQZHZCSE.js → tools-5DMLFYOM.js} +2 -2
  59. package/dist/chunks/{ui-commands-LJDCOI6C.js → ui-commands-IVCWKGSU.js} +12 -12
  60. package/dist/chunks/{versions-QR4OJYEL.js → versions-L62WGAF2.js} +5 -5
  61. package/dist/index.js +1 -1
  62. package/package.json +1 -1
@@ -951,7 +951,7 @@ init_scene_graph();
951
951
  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.");
952
952
  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 });
953
953
  async function placeImportedPicture(ctx, imported, at2, what, extra = {}) {
954
- const client = await import("./client-SIBIJLFA.js");
954
+ const client = await import("./client-2HP46XRF.js");
955
955
  if (at2.fillLayerId) {
956
956
  const doc2 = ctx.doc();
957
957
  const target = nodeOrThrow(doc2, at2.fillLayerId);
@@ -997,7 +997,7 @@ var photoSearch = defineCommand({
997
997
  }
998
998
  },
999
999
  run: async (args) => {
1000
- const { searchStockPhotos } = await import("./client-SIBIJLFA.js");
1000
+ const { searchStockPhotos } = await import("./client-2HP46XRF.js");
1001
1001
  const page = await searchStockPhotos(args.query, args.page ?? 1, { licence: args.licence });
1002
1002
  return {
1003
1003
  summary: `${page.results.length} photo${page.results.length === 1 ? "" : "s"} for \u201C${page.query}\u201D (page ${page.page} of ${page.pageCount || 1})`,
@@ -1031,7 +1031,7 @@ var photoInsert = defineCommand({
1031
1031
  run: async (args, ctx) => {
1032
1032
  if (!args.id && !args.query) throw new ToolError("Pass an id from search_photos, or a query.");
1033
1033
  if (args.id && !isPhotoId(args.id)) throw new ToolError(`"${args.id}" is not a photo id from search_photos.`);
1034
- const client = await import("./client-SIBIJLFA.js");
1034
+ const client = await import("./client-2HP46XRF.js");
1035
1035
  let photo;
1036
1036
  if (args.id) photo = await client.stockPhotoInfo(args.id);
1037
1037
  else {
@@ -1069,10 +1069,10 @@ var mediaList = defineCommand({
1069
1069
  }
1070
1070
  },
1071
1071
  run: async (args) => {
1072
- const { listLibraryMedia } = await import("./client-XE3R5AMY.js");
1072
+ const { listLibraryMedia } = await import("./client-3RZGPY7C.js");
1073
1073
  const q = { ...args };
1074
1074
  if (!q.workspace) {
1075
- const { syncStatus } = await import("./sync-CEDDBDWO.js");
1075
+ const { syncStatus } = await import("./sync-BVVK6NYF.js");
1076
1076
  const link2 = syncStatus().link;
1077
1077
  if (!link2) throw new ToolError("This document is not saved to the cloud, so it has no team media library. Pass workspace.");
1078
1078
  q.workspace = (await listLibraryMedia({ file: link2.key, limit: 1 })).workspaceId;
@@ -1107,7 +1107,7 @@ var mediaInsert = defineCommand({
1107
1107
  run: async (args, ctx) => {
1108
1108
  const contentType = args.contentType ?? "image/*";
1109
1109
  if (!contentType.startsWith("image/")) throw new ToolError("insert_media places pictures; this item is not one.");
1110
- const { importLibraryPicture } = await import("./client-XE3R5AMY.js");
1110
+ const { importLibraryPicture } = await import("./client-3RZGPY7C.js");
1111
1111
  const item = { hash: args.hash, fileKey: args.fileKey, fileName: args.name ?? "Media", contentType, size: 0, createdAt: "", fileCount: 1, source: null };
1112
1112
  const imported = await importLibraryPicture(item);
1113
1113
  return placeImportedPicture(ctx, imported, args, `\u201C${imported.name}\u201D`, { hash: imported.hash });
@@ -1128,7 +1128,7 @@ var mediaDownload = defineCommand({
1128
1128
  // The Library's right-click menu: saves the item's file to the computer.
1129
1129
  expose: { ui: { label: "Download", palette: false } },
1130
1130
  run: async (args) => {
1131
- const { libraryBlob, libraryFileName } = await import("./client-XE3R5AMY.js");
1131
+ const { libraryBlob, libraryFileName } = await import("./client-3RZGPY7C.js");
1132
1132
  const { downloadBlob } = await import("./download-LGO334GG.js");
1133
1133
  const item = { hash: args.hash, fileKey: args.fileKey, fileName: args.name ?? "media", contentType: args.contentType ?? "", size: 0, createdAt: "", fileCount: 1, source: null };
1134
1134
  const blob = await libraryBlob(item);
@@ -1159,7 +1159,7 @@ var mediaDelete = defineCommand({
1159
1159
  }
1160
1160
  },
1161
1161
  run: async (args) => {
1162
- const { deleteLibraryMedia } = await import("./client-XE3R5AMY.js");
1162
+ const { deleteLibraryMedia } = await import("./client-3RZGPY7C.js");
1163
1163
  const out = await deleteLibraryMedia(args.workspace, args.hash);
1164
1164
  return { summary: `Deleted it from the library (it was in ${out.files} file${out.files === 1 ? "" : "s"})`, data: out };
1165
1165
  }
@@ -1173,13 +1173,13 @@ async function signedIn() {
1173
1173
  }
1174
1174
  async function publishedFile() {
1175
1175
  await signedIn();
1176
- const { openFileKey } = await import("./publish-site-TTNKSHFC.js");
1176
+ const { openFileKey } = await import("./publish-site-W7F67SYQ.js");
1177
1177
  const key = openFileKey();
1178
1178
  if (!key) throw new CommandError("This file is not saved to the cloud yet, so it has no site. Publish it first.", "failed");
1179
1179
  return key;
1180
1180
  }
1181
1181
  async function formsWithoutDatabase(key) {
1182
- const [{ useEditorStore }, { usesForms, formsGoNowhere }, { siteBackend }] = await Promise.all([import("./editor-store-ISAXY2JC.js"), import("./backend-UBNQXZLP.js"), import("./integrations-Z65KCCUJ.js")]);
1182
+ const [{ useEditorStore }, { usesForms, formsGoNowhere }, { siteBackend }] = await Promise.all([import("./editor-store-ZJBV25ND.js"), import("./backend-UBNQXZLP.js"), import("./integrations-HZZHVNMN.js")]);
1183
1183
  const doc2 = useEditorStore.getState().document;
1184
1184
  if (!usesForms(doc2)) return false;
1185
1185
  return formsGoNowhere(doc2, await siteBackend(key).catch(() => void 0));
@@ -1215,7 +1215,7 @@ var publishSite = defineCommand({
1215
1215
  const { cleanSlug } = await import("./rules-H4GGTEVN.js");
1216
1216
  const address = p.address === void 0 ? void 0 : cleanSlug(p.address);
1217
1217
  if (address === null) throw new CommandError("That cannot be a site address: use 3 to 40 letters, digits and dashes.", "invalid_params");
1218
- const { publishOpenFile, NoScreens } = await import("./publish-site-TTNKSHFC.js");
1218
+ const { publishOpenFile, NoScreens } = await import("./publish-site-W7F67SYQ.js");
1219
1219
  try {
1220
1220
  const done = await publishOpenFile(address);
1221
1221
  ctx.notice(`Published version ${done.version}: ${done.url}`);
@@ -1270,7 +1270,7 @@ var publishListSites = defineCommand({
1270
1270
  },
1271
1271
  run: async (p) => {
1272
1272
  await signedIn();
1273
- const [{ workspaceSites }, { activeTeamWorkspaceId, useHyperyTeam }] = await Promise.all([import("./sites-TQK4AZ4D.js"), import("./team-B7AIJUW2.js")]);
1273
+ const [{ workspaceSites }, { activeTeamWorkspaceId, useHyperyTeam }] = await Promise.all([import("./sites-TQK4AZ4D.js"), import("./team-S7HZ2AMU.js")]);
1274
1274
  const workspaceId = p.workspaceId ?? activeTeamWorkspaceId() ?? useHyperyTeam.getState().personalWorkspaceId;
1275
1275
  if (!workspaceId) throw new CommandError("Your workspaces have not loaded yet. Try again in a moment.", "failed");
1276
1276
  const out = await workspaceSites(workspaceId);
@@ -1319,12 +1319,12 @@ var publishStatus = defineCommand({
1319
1319
  },
1320
1320
  run: async () => {
1321
1321
  await signedIn();
1322
- const [{ openFileKey }, { siteStatus }] = await Promise.all([import("./publish-site-TTNKSHFC.js"), import("./sites-TQK4AZ4D.js")]);
1322
+ const [{ openFileKey }, { siteStatus }] = await Promise.all([import("./publish-site-W7F67SYQ.js"), import("./sites-TQK4AZ4D.js")]);
1323
1323
  const key = openFileKey();
1324
1324
  const status = await siteStatus(key);
1325
1325
  const site = status.site;
1326
- const backend = key ? await (await import("./integrations-Z65KCCUJ.js")).siteBackend(key).catch(() => null) : null;
1327
- const destinations = key ? await (await import("./integrations-Z65KCCUJ.js")).listDestinations(key).catch(() => []) : [];
1326
+ const backend = key ? await (await import("./integrations-HZZHVNMN.js")).siteBackend(key).catch(() => null) : null;
1327
+ const destinations = key ? await (await import("./integrations-HZZHVNMN.js")).listDestinations(key).catch(() => []) : [];
1328
1328
  return {
1329
1329
  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}`,
1330
1330
  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 })) }
@@ -1355,7 +1355,7 @@ var publishStore = defineCommand({
1355
1355
  },
1356
1356
  run: async (p, ctx) => {
1357
1357
  await signedIn();
1358
- const { deployOpenStore } = await import("./publish-store-ELPEEP7G.js");
1358
+ const { deployOpenStore } = await import("./publish-store-DZE5QJEA.js");
1359
1359
  const done = await deployOpenStore(ctx.doc(), ctx.pageId(), { destinationId: p.destinationId }).catch((e) => {
1360
1360
  throw new CommandError(e instanceof Error ? e.message : String(e), "failed");
1361
1361
  });
@@ -1384,7 +1384,7 @@ var integrationList = defineCommand({
1384
1384
  }
1385
1385
  },
1386
1386
  run: async ({ capability }) => {
1387
- const [{ cloudUser }, { integrationsWorkspaceId, listWorkspaceIntegrations }] = await Promise.all([import("./session-NFEH6OYZ.js"), import("./integrations-Z65KCCUJ.js")]);
1387
+ const [{ cloudUser }, { integrationsWorkspaceId, listWorkspaceIntegrations }] = await Promise.all([import("./session-NFEH6OYZ.js"), import("./integrations-HZZHVNMN.js")]);
1388
1388
  if (!cloudUser()) throw new CommandError("You are not signed in: integrations belong to your account's workspace.", "denied");
1389
1389
  const workspaceId = integrationsWorkspaceId();
1390
1390
  if (!workspaceId) throw new CommandError("Your workspaces have not loaded yet. Try again in a moment.", "failed");
@@ -1425,7 +1425,7 @@ var integrationOpen = defineCommand({
1425
1425
  }
1426
1426
  });
1427
1427
  async function openFile() {
1428
- const [{ cloudUser }, { openFileKey }] = await Promise.all([import("./session-NFEH6OYZ.js"), import("./publish-site-TTNKSHFC.js")]);
1428
+ const [{ cloudUser }, { openFileKey }] = await Promise.all([import("./session-NFEH6OYZ.js"), import("./publish-site-W7F67SYQ.js")]);
1429
1429
  if (!cloudUser()) throw new CommandError("You are not signed in.", "denied");
1430
1430
  const key = openFileKey();
1431
1431
  if (!key) throw new CommandError("This file is not saved to the cloud yet. Publish it first (publish_site).", "failed");
@@ -1451,7 +1451,7 @@ var integrationListResources = defineCommand({
1451
1451
  }
1452
1452
  },
1453
1453
  run: async ({ connectionId, capability, path }) => {
1454
- const { listResources } = await import("./integrations-Z65KCCUJ.js");
1454
+ const { listResources } = await import("./integrations-HZZHVNMN.js");
1455
1455
  const list = await listResources(connectionId, capability, asPath2(path));
1456
1456
  return {
1457
1457
  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",
@@ -1486,7 +1486,7 @@ var integrationAddDestination = defineCommand({
1486
1486
  },
1487
1487
  run: async (p, ctx) => {
1488
1488
  const key = await openFile();
1489
- const { addDestination, createDestination, createResource } = await import("./integrations-Z65KCCUJ.js");
1489
+ const { addDestination, createDestination, createResource } = await import("./integrations-HZZHVNMN.js");
1490
1490
  let made;
1491
1491
  if (p.create) made = await createDestination(key, p.capability, void 0, p.connectionId);
1492
1492
  else {
@@ -1523,7 +1523,7 @@ var integrationDeploy = defineCommand({
1523
1523
  },
1524
1524
  run: async (p, ctx) => {
1525
1525
  const key = await openFile();
1526
- const { deployDestination, listDestinations } = await import("./integrations-Z65KCCUJ.js");
1526
+ const { deployDestination, listDestinations } = await import("./integrations-HZZHVNMN.js");
1527
1527
  const all = await listDestinations(key);
1528
1528
  const dest = p.destinationId ? all.find((d) => d.id === p.destinationId) : all.length === 1 ? all[0] : void 0;
1529
1529
  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");
@@ -1557,7 +1557,7 @@ var integrationAttachDatabase = defineCommand({
1557
1557
  },
1558
1558
  run: async (p, ctx) => {
1559
1559
  const key = await openFile();
1560
- const { attachDatabase, createDatabase, createResource, listResources } = await import("./integrations-Z65KCCUJ.js");
1560
+ const { attachDatabase, createDatabase, createResource, listResources } = await import("./integrations-HZZHVNMN.js");
1561
1561
  if (p.create) return attached(await createDatabase(key, void 0, p.connectionId), ctx);
1562
1562
  if (!p.connectionId || !p.target) throw new CommandError("Say connectionId and target, or create: true.", "invalid_params");
1563
1563
  let target = asPath2(p.target);
@@ -1596,7 +1596,7 @@ var integrationSubmissions = defineCommand({
1596
1596
  },
1597
1597
  run: async ({ form, limit }) => {
1598
1598
  const key = await openFile();
1599
- const { listSubmissions } = await import("./integrations-Z65KCCUJ.js");
1599
+ const { listSubmissions } = await import("./integrations-HZZHVNMN.js");
1600
1600
  const rows = await listSubmissions(key, { form, limit: limit ?? 20 });
1601
1601
  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 } };
1602
1602
  }
@@ -1621,7 +1621,7 @@ var integrationSetSignIn = defineCommand({
1621
1621
  },
1622
1622
  run: async ({ on }, ctx) => {
1623
1623
  const key = await openFile();
1624
- const { setSignIn } = await import("./integrations-Z65KCCUJ.js");
1624
+ const { setSignIn } = await import("./integrations-HZZHVNMN.js");
1625
1625
  const done = await setSignIn(key, on);
1626
1626
  ctx.notice(on ? "Visitors can sign in." : "Sign-in is off.");
1627
1627
  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 } };
@@ -1839,7 +1839,7 @@ var fontTeamList = defineCommand({
1839
1839
  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)." }
1840
1840
  },
1841
1841
  run: async (args) => {
1842
- const { refreshTeamFonts } = await import("./team-client-RN72REPE.js");
1842
+ const { refreshTeamFonts } = await import("./team-client-HIJB2MU2.js");
1843
1843
  const fonts = await refreshTeamFonts(args.workspace);
1844
1844
  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 })) } };
1845
1845
  }
@@ -1866,7 +1866,7 @@ var fontTeamAdd = defineCommand({
1866
1866
  run: async (args, ctx) => {
1867
1867
  const { bytes, fileName: fileName2 } = await fontBytes(args, ctx);
1868
1868
  const { face, family, weight, style } = await resolveFace(bytes, args);
1869
- const { uploadTeamFont } = await import("./team-client-RN72REPE.js");
1869
+ const { uploadTeamFont } = await import("./team-client-HIJB2MU2.js");
1870
1870
  const font = await uploadTeamFont(bytes, { family, weight, style, face: face.index, fileName: fileName2 }, args.workspace);
1871
1871
  return { summary: `Added ${family} ${weight}${style === "italic" ? " italic" : ""} to the team`, data: { font } };
1872
1872
  }
@@ -1888,7 +1888,7 @@ var fontTeamRemove = defineCommand({
1888
1888
  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." }
1889
1889
  },
1890
1890
  run: async (args) => {
1891
- const { removeTeamFont } = await import("./team-client-RN72REPE.js");
1891
+ const { removeTeamFont } = await import("./team-client-HIJB2MU2.js");
1892
1892
  const out = await removeTeamFont(args.id, args.workspace);
1893
1893
  return { summary: `Removed the team font${out.freed ? " and freed its storage" : ""}`, data: out };
1894
1894
  }
@@ -1899,7 +1899,7 @@ var fontTeamCommands = [fontTeamList, fontTeamAdd];
1899
1899
  init_define_POPCRAFT_COMPONENT_IDS();
1900
1900
  async function cloudFile() {
1901
1901
  const [{ syncStatus }, { cloudUser }] = await Promise.all([
1902
- import("./sync-CEDDBDWO.js"),
1902
+ import("./sync-BVVK6NYF.js"),
1903
1903
  import("./session-NFEH6OYZ.js")
1904
1904
  ]);
1905
1905
  const link2 = syncStatus().link;
@@ -1961,7 +1961,7 @@ var fileTrash = defineCommand({
1961
1961
  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." }
1962
1962
  },
1963
1963
  run: async () => {
1964
- const { deleteCurrentFile, leaveDeletedFile } = await import("./delete-current-file-QNAT6SOB.js");
1964
+ const { deleteCurrentFile, leaveDeletedFile } = await import("./delete-current-file-BZYDW2WF.js");
1965
1965
  const { name: name2, kind } = await deleteCurrentFile();
1966
1966
  leaveDeletedFile();
1967
1967
  return { summary: kind === "cloud" ? `Moved \u201C${name2}\u201D to the Trash` : `Deleted \u201C${name2}\u201D` };
@@ -2078,11 +2078,11 @@ var fileDuplicate = defineCommand({
2078
2078
  },
2079
2079
  run: async (p, ctx) => {
2080
2080
  const [{ syncStatus }, { cloudApi }, { isDesktopTabs }, { createFileInTab }, { openNewCloudFile }, { v4: uuid }] = await Promise.all([
2081
- import("./sync-CEDDBDWO.js"),
2081
+ import("./sync-BVVK6NYF.js"),
2082
2082
  import("./api-YVXVJBGF.js"),
2083
2083
  import("./tab-mode-QJIL6WSO.js"),
2084
- import("./tabs-R2VT6HI6.js"),
2085
- import("./sync-CEDDBDWO.js"),
2084
+ import("./tabs-4N3PYF7I.js"),
2085
+ import("./sync-BVVK6NYF.js"),
2086
2086
  import("./dist-node-YGFDJJIW.js")
2087
2087
  ]);
2088
2088
  const doc2 = ctx.doc();
@@ -4960,7 +4960,7 @@ var viewCopyLink = defineCommand({
4960
4960
  },
4961
4961
  run: async (args, ctx) => {
4962
4962
  const [{ syncStatus }, { fileUrl }, { withDeepLink }] = await Promise.all([
4963
- import("./sync-CEDDBDWO.js"),
4963
+ import("./sync-BVVK6NYF.js"),
4964
4964
  import("./api-YVXVJBGF.js"),
4965
4965
  import("./deep-link-B6KYNDBD.js")
4966
4966
  ]);
@@ -5285,7 +5285,7 @@ var pageGo = defineCommand({
5285
5285
  ] }
5286
5286
  },
5287
5287
  run: async ({ to }) => {
5288
- const { useEditorStore } = await import("./editor-store-ISAXY2JC.js");
5288
+ const { useEditorStore } = await import("./editor-store-ZJBV25ND.js");
5289
5289
  useEditorStore.getState().goToPrintPage(to);
5290
5290
  return { summary: typeof to === "number" ? `Page ${to + 1}` : `${to} page` };
5291
5291
  }
@@ -5319,7 +5319,7 @@ var pageSetup = defineCommand({
5319
5319
  }
5320
5320
  },
5321
5321
  run: async (args) => {
5322
- const { useEditorStore } = await import("./editor-store-ISAXY2JC.js");
5322
+ const { useEditorStore } = await import("./editor-store-ZJBV25ND.js");
5323
5323
  useEditorStore.getState().applyPageSetup(args);
5324
5324
  return { summary: `Page setup updated${args.kind ? ` (${args.kind.toLowerCase()})` : ""}` };
5325
5325
  }
@@ -5757,7 +5757,7 @@ async function docAtTime(doc2, ids, time2) {
5757
5757
  let frameId;
5758
5758
  if (time2 === void 0) {
5759
5759
  try {
5760
- const { useEditorStore } = await import("./editor-store-ISAXY2JC.js");
5760
+ const { useEditorStore } = await import("./editor-store-ZJBV25ND.js");
5761
5761
  const st = useEditorStore.getState();
5762
5762
  const target = st.transport?.target;
5763
5763
  if (st.mode !== "ANIMATE" || target?.kind !== "frame") return doc2;
@@ -6151,7 +6151,7 @@ async function runAnimationExport(format, args, ctx) {
6151
6151
  const filename = exportFileName(args.filename || targetName(doc2, target), format);
6152
6152
  const [{ exportAnimation }, { memoryDestination }] = await Promise.all([import("./video-A5ORCB63.js"), import("./destination-UFEMHPXG.js")]);
6153
6153
  if (format === "lottie" || format === "dotlottie") return runLottieExport(renderer, doc2, spec, filename, ctx, memoryDestination, args.stateMachine);
6154
- const planWatermark = format !== "png" && await (await import("./export-watermark-I4UF7QZC.js")).exportWatermark();
6154
+ const planWatermark = format !== "png" && await (await import("./export-watermark-FVSMTF2A.js")).exportWatermark();
6155
6155
  if (format !== "png") spec = { ...spec, watermark: planWatermark || args.watermark !== false };
6156
6156
  const dest = ctx.destination ? await ctx.destination(filename, FORMAT_MIME[format]) : memoryDestination(filename, FORMAT_MIME[format]);
6157
6157
  let stats;
@@ -6237,7 +6237,7 @@ var exportLottie = animationCommand((args) => args.container === "lottie" ? "dot
6237
6237
  });
6238
6238
  async function exportSite(doc2, pageId2, packaging, styling = "css", siteUrl) {
6239
6239
  const [{ completeSite, nextFilesOf, nextProjectDropped, shareImageFiles, staticFilesOf, NoSiteRuntime, bytesOf }, { fileBase }, { zipFiles }, { downloadBlob }] = await Promise.all([
6240
- import("./project-2NAEQD2W.js"),
6240
+ import("./project-OOUCBWRU.js"),
6241
6241
  import("./web-C4ETLN35.js"),
6242
6242
  import("./zip-export-KOARFOBZ.js"),
6243
6243
  import("./download-LGO334GG.js")
@@ -6332,8 +6332,8 @@ var exportStorefront = defineCommand({
6332
6332
  const doc2 = ctx.doc();
6333
6333
  const [{ storefrontInputs }, { STOREFRONT_TARGETS }, { bytesOf }, { fileBase, flatten }, { zipFiles }, { downloadBlob }] = await Promise.all([
6334
6334
  import("./storefront-prepare-JE7H6N22.js"),
6335
- import("./storefront-GDSD3GOC.js"),
6336
- import("./project-2NAEQD2W.js"),
6335
+ import("./storefront-3D22HDDT.js"),
6336
+ import("./project-OOUCBWRU.js"),
6337
6337
  import("./web-C4ETLN35.js"),
6338
6338
  import("./zip-export-KOARFOBZ.js"),
6339
6339
  import("./download-LGO334GG.js")
@@ -6728,7 +6728,7 @@ var visionRegenerateImage = defineCommand({
6728
6728
  const id = args.id ?? ctx.selection()[0];
6729
6729
  if (!id) throw new ToolError("Select a generated image to regenerate.");
6730
6730
  nodeOrThrow(ctx.doc(), id);
6731
- const { regenerateImage } = await import("./client-actions-KD3YWCNX.js");
6731
+ const { regenerateImage } = await import("./client-actions-VF6JCZIT.js");
6732
6732
  regenerateImage(id, args.count);
6733
6733
  return { summary: args.count > 1 ? `Regenerating ${args.count} variants` : "Regenerating the image", data: { id, count: args.count } };
6734
6734
  }
@@ -10546,11 +10546,15 @@ var nodeId = external_exports.string().regex(/^[A-Za-z][A-Za-z0-9]*$/).max(40);
10546
10546
  var portValue = external_exports.union([external_exports.number(), external_exports.string(), external_exports.record(external_exports.string(), external_exports.number())]).describe('A number, a color "#rrggbb" / {r,g,b,a}, or a vector {x,y[,z]}.');
10547
10547
  var point = { x: external_exports.number().finite(), y: external_exports.number().finite() };
10548
10548
  var PRESET_IDS3 = SHADER_PRESETS.map((p) => p.id);
10549
+ var NODE_CATALOG = [...SHADER_NODES.values()].map((n) => {
10550
+ const opts = (n.options ?? []).map((o) => o.free ? `${o.name}=<text>` : `${o.name}=${o.values.join("|")}`);
10551
+ return `${n.kind}(${[n.inputs.map((p) => p.name).join(", "), opts.join(" ")].filter(Boolean).join("; ")})`;
10552
+ }).join(" \xB7 ");
10549
10553
  var op = external_exports.discriminatedUnion("op", [
10550
10554
  external_exports.object({ op: external_exports.literal("create"), preset: external_exports.enum(PRESET_IDS3).optional().describe(`Start from a built-in graph: ${PRESET_IDS3.join(", ")} (default: just an output).`), name: external_exports.string().max(80).optional() }),
10551
10555
  external_exports.object({
10552
10556
  op: external_exports.literal("addNode"),
10553
- kind: external_exports.string().describe("A node kind (get one wrong and the error lists them)."),
10557
+ kind: external_exports.string().describe("A node kind from the catalog in the tool description."),
10554
10558
  id: nodeId.optional(),
10555
10559
  ...point,
10556
10560
  inputs: external_exports.record(external_exports.string(), portValue).optional(),
@@ -10756,7 +10760,7 @@ var shaderEditGraph = defineCommand({
10756
10760
  },
10757
10761
  agent: {
10758
10762
  name: "edit_shader_graph",
10759
- description: `Build or edit a node shader on a layer: "create" adds a graph fill (from a preset or just an output), then addNode / connect (an output into a node's input) / setInput / setOption / removeNodes / moveNodes / duplicateNodes. Every built-in preset is a graph, so any preset fill can be edited (one from an older file, still in its hand-written WGSL, becomes its graph on the first edit, keys renamed). Each op recompiles the fill; the result says what does not compile yet (issues, with the node or port) and lists the knobs (keyable at fills[@id].shaderParams.<field>).`
10763
+ description: `Build or edit a node shader on a layer: "create" adds a graph fill (from a preset or just an output), then addNode / connect (an output into a node's input) / setInput / setOption / removeNodes / moveNodes / duplicateNodes. Every built-in preset is a graph, so any preset fill can be edited (one from an older file, still in its hand-written WGSL, becomes its graph on the first edit, keys renamed). Each op recompiles the fill; the result says what does not compile yet (issues, with the node or port) and lists the knobs (keyable at fills[@id].shaderParams.<field>). After "create", pass the fill id it returns as fill. Build from these nodes, kind(inputs; options), and only use the port and option names listed: ${NODE_CATALOG}. Prefer nodes to a code node: a code node is raw WGSL that must compile.`
10760
10764
  }
10761
10765
  },
10762
10766
  run: async (args, ctx) => {
@@ -10814,7 +10818,11 @@ var shaderEditGraph = defineCommand({
10814
10818
  id: layer.id,
10815
10819
  fill: fillId,
10816
10820
  nodes: Object.keys(graph.nodes).length,
10817
- ...added.length ? { added } : {},
10821
+ // The new nodes' ports and options, so the next connect / setInput / setOption names them right first time.
10822
+ ...added.length ? { added: added.map((id) => {
10823
+ const def = SHADER_NODES.get(graph.nodes[id]?.kind ?? "");
10824
+ return def ? { id, kind: def.kind, inputs: def.inputs.map((p) => p.name), options: (def.options ?? []).map((o) => o.name) } : { id };
10825
+ }) } : {},
10818
10826
  issues: c.issues,
10819
10827
  knobs: c.knobs.map((k) => ({ field: k.field, node: k.node, port: k.port, path: `fills[@${fillId}].shaderParams.${k.field}` }))
10820
10828
  }
@@ -12123,7 +12131,7 @@ var scriptRun = defineCommand({
12123
12131
  // A script is not the turn the user is watching: confirm-tier tools are refused inside it (dispatch, `nested`).
12124
12132
  actor: { ...ctx.actor, nested: true, label: "Script" },
12125
12133
  // A look_at inside the script sees the document as the script has left it so far, not as it was before.
12126
- use: ((name2) => name2 === "render" && ctx.can("render") ? (async (ids, options) => (await import("./agent-YEGJNS2E.js")).renderDocument(staged, ids, options)) : ctx.use(name2))
12134
+ use: ((name2) => name2 === "render" && ctx.can("render") ? (async (ids, options) => (await import("./agent-JJD54D2J.js")).renderDocument(staged, ids, options)) : ctx.use(name2))
12127
12135
  };
12128
12136
  let calls = 0;
12129
12137
  const images = [];
@@ -12976,7 +12984,7 @@ var docImportFile = defineCommand({
12976
12984
  const file = new File([body], args.name);
12977
12985
  if (file.size > MAX_BYTES) throw new ToolError(`"${args.name}" is larger than ${MAX_BYTES / 1024 / 1024} MB.`);
12978
12986
  const [{ buildImportedDocument }, { mergeImportedDocument }] = await Promise.all([
12979
- import("./plugin-import-PGGZ5BYE.js"),
12987
+ import("./plugin-import-XPSC5CXD.js"),
12980
12988
  import("./import-merge-J77TJILI.js")
12981
12989
  ]);
12982
12990
  const built = await buildImportedDocument(file);
@@ -14,7 +14,7 @@ import {
14
14
  placeStockPhoto,
15
15
  searchStockPhotos,
16
16
  stockPhotoInfo
17
- } from "./chunk-ER2WMAK4.js";
17
+ } from "./chunk-GQQS7B2P.js";
18
18
  import "./chunk-ZGAS4W6T.js";
19
19
  import "./chunk-2BY2WVRN.js";
20
20
  import "./chunk-LJSVREWM.js";
@@ -7,7 +7,7 @@ const __dirname = __popcraftDirname(__filename);
7
7
  import {
8
8
  defaultMeasure,
9
9
  placePicture
10
- } from "./chunk-ER2WMAK4.js";
10
+ } from "./chunk-GQQS7B2P.js";
11
11
  import "./chunk-ZGAS4W6T.js";
12
12
  import {
13
13
  api
@@ -122,7 +122,7 @@ async function placeLibraryItem(item, opts = {}) {
122
122
  }
123
123
  if (item.contentType.startsWith("video/")) {
124
124
  const file = await libraryFile(item, opts);
125
- const [{ useEditorStore }, { placeMediaFile }] = await Promise.all([import("./editor-store-ISAXY2JC.js"), import("./media-tool-K4P6DPPH.js")]);
125
+ const [{ useEditorStore }, { placeMediaFile }] = await Promise.all([import("./editor-store-ZJBV25ND.js"), import("./media-tool-OAYUGAKY.js")]);
126
126
  const cam = useEditorStore.getState().camera;
127
127
  await placeMediaFile(file, { kind: "point", ...opts.at ?? { x: cam.x, y: cam.y } });
128
128
  return useEditorStore.getState().selection[0] ?? null;
@@ -16,11 +16,11 @@ import {
16
16
  requestEmbeddings,
17
17
  requestImage,
18
18
  requestImageAction
19
- } from "./chunk-56IZO6ES.js";
20
- import "./chunk-TFA6VGGL.js";
19
+ } from "./chunk-SZ6IZBR6.js";
20
+ import "./chunk-NK2PUHBQ.js";
21
21
  import "./chunk-SMWJL5MM.js";
22
22
  import "./chunk-MVBQZIAW.js";
23
- import "./chunk-RSBL56YF.js";
23
+ import "./chunk-SGMCCPOB.js";
24
24
  import "./chunk-MSRTWLAS.js";
25
25
  import "./chunk-H63AUCWS.js";
26
26
  import "./chunk-UIPZNU4Z.js";
@@ -16,7 +16,7 @@ import {
16
16
  selectedVectorTarget,
17
17
  startImageAction,
18
18
  startImageGeneration
19
- } from "./chunk-R6TA7B45.js";
19
+ } from "./chunk-F66OYDXW.js";
20
20
  import "./chunk-YTV4HO2X.js";
21
21
  import "./chunk-CFBLW5PB.js";
22
22
  import "./chunk-JQ5LORDZ.js";
@@ -29,18 +29,18 @@ import "./chunk-33XJYP2J.js";
29
29
  import "./chunk-6NCNSWZ4.js";
30
30
  import "./chunk-KCLOORAK.js";
31
31
  import "./chunk-VJ5UVXUY.js";
32
- import "./chunk-56IZO6ES.js";
33
- import "./chunk-TFA6VGGL.js";
32
+ import "./chunk-SZ6IZBR6.js";
33
+ import "./chunk-NK2PUHBQ.js";
34
34
  import "./chunk-SMWJL5MM.js";
35
35
  import "./chunk-UKPTMVIJ.js";
36
36
  import "./chunk-OOMIFAU3.js";
37
37
  import "./chunk-VJ5YVKWD.js";
38
38
  import "./chunk-MVBQZIAW.js";
39
39
  import "./chunk-MGWKMB6Y.js";
40
- import "./chunk-RSBL56YF.js";
40
+ import "./chunk-SGMCCPOB.js";
41
41
  import "./chunk-MSRTWLAS.js";
42
42
  import "./chunk-H63AUCWS.js";
43
- import "./chunk-R4DSLWTP.js";
43
+ import "./chunk-DYUH5UX4.js";
44
44
  import "./chunk-6633JFGM.js";
45
45
  import "./chunk-EC4ATWIU.js";
46
46
  import "./chunk-7MBYRDVK.js";
@@ -8,10 +8,10 @@ import {
8
8
  confirmTierCommands,
9
9
  dangerousCommands,
10
10
  registerDangerousCommands
11
- } from "./chunk-43ZYKEVQ.js";
12
- import "./chunk-QZTMOLOV.js";
11
+ } from "./chunk-KVIX64FI.js";
12
+ import "./chunk-EZ3366TP.js";
13
13
  import "./chunk-HOZP2UPY.js";
14
- import "./chunk-CXNRF4PT.js";
14
+ import "./chunk-XSSSREYY.js";
15
15
  import "./chunk-2BVEMMNS.js";
16
16
  import "./chunk-GTQXQLFP.js";
17
17
  import "./chunk-JD2L6XOS.js";
@@ -6,21 +6,21 @@ const __filename = __popcraftPath(import.meta.url);
6
6
  const __dirname = __popcraftDirname(__filename);
7
7
  import {
8
8
  syncStatus
9
- } from "./chunk-BXWSEAE3.js";
9
+ } from "./chunk-5D6KTT3A.js";
10
10
  import "./chunk-KQLUTEMA.js";
11
- import "./chunk-HDNTE5DW.js";
11
+ import "./chunk-3QVRQ7WZ.js";
12
12
  import "./chunk-MVBQZIAW.js";
13
13
  import "./chunk-IXRXUUA2.js";
14
- import "./chunk-RSBL56YF.js";
14
+ import "./chunk-SGMCCPOB.js";
15
15
  import {
16
16
  cloudApi
17
17
  } from "./chunk-MSRTWLAS.js";
18
18
  import "./chunk-U7FSUXA7.js";
19
19
  import "./chunk-H63AUCWS.js";
20
- import "./chunk-DCWHFF3C.js";
20
+ import "./chunk-RHF6YVAZ.js";
21
21
  import {
22
22
  useEditorStore
23
- } from "./chunk-R4DSLWTP.js";
23
+ } from "./chunk-DYUH5UX4.js";
24
24
  import "./chunk-6633JFGM.js";
25
25
  import "./chunk-EC4ATWIU.js";
26
26
  import "./chunk-7MBYRDVK.js";
@@ -7,21 +7,21 @@ const __dirname = __popcraftDirname(__filename);
7
7
  import {
8
8
  editBlockReason,
9
9
  editorToolContext
10
- } from "./chunk-KQEOY2YM.js";
11
- import "./chunk-HEV7EV5H.js";
10
+ } from "./chunk-6HT23SD6.js";
11
+ import "./chunk-O2VSCWYY.js";
12
12
  import "./chunk-HOZP2UPY.js";
13
- import "./chunk-CXNRF4PT.js";
13
+ import "./chunk-XSSSREYY.js";
14
14
  import "./chunk-2BVEMMNS.js";
15
15
  import "./chunk-GTQXQLFP.js";
16
16
  import "./chunk-JD2L6XOS.js";
17
- import "./chunk-R6TA7B45.js";
17
+ import "./chunk-F66OYDXW.js";
18
18
  import "./chunk-YTV4HO2X.js";
19
19
  import "./chunk-T5HEL2BJ.js";
20
20
  import "./chunk-R3UXIN2A.js";
21
21
  import "./chunk-AOZYQTBI.js";
22
22
  import "./chunk-MWYE73HL.js";
23
23
  import "./chunk-CFBLW5PB.js";
24
- import "./chunk-4IISI6JM.js";
24
+ import "./chunk-7ZXHXPQQ.js";
25
25
  import "./chunk-5UOQJFFB.js";
26
26
  import "./chunk-JQ5LORDZ.js";
27
27
  import "./chunk-ISSKF7BJ.js";
@@ -35,28 +35,28 @@ import "./chunk-33XJYP2J.js";
35
35
  import "./chunk-6NCNSWZ4.js";
36
36
  import "./chunk-KCLOORAK.js";
37
37
  import "./chunk-VJ5UVXUY.js";
38
- import "./chunk-56IZO6ES.js";
39
- import "./chunk-TFA6VGGL.js";
38
+ import "./chunk-SZ6IZBR6.js";
39
+ import "./chunk-NK2PUHBQ.js";
40
40
  import "./chunk-SMWJL5MM.js";
41
41
  import "./chunk-LATDLMOM.js";
42
42
  import "./chunk-UKPTMVIJ.js";
43
43
  import "./chunk-OOMIFAU3.js";
44
44
  import "./chunk-VJ5YVKWD.js";
45
- import "./chunk-BXWSEAE3.js";
45
+ import "./chunk-5D6KTT3A.js";
46
46
  import "./chunk-KQLUTEMA.js";
47
- import "./chunk-HDNTE5DW.js";
47
+ import "./chunk-3QVRQ7WZ.js";
48
48
  import "./chunk-MVBQZIAW.js";
49
49
  import "./chunk-IXRXUUA2.js";
50
50
  import "./chunk-MGWKMB6Y.js";
51
- import "./chunk-RSBL56YF.js";
51
+ import "./chunk-SGMCCPOB.js";
52
52
  import "./chunk-MSRTWLAS.js";
53
53
  import "./chunk-U7FSUXA7.js";
54
54
  import "./chunk-6RH5MQLP.js";
55
55
  import "./chunk-TSLQYSHG.js";
56
56
  import "./chunk-H63AUCWS.js";
57
57
  import "./chunk-RRMMUPCK.js";
58
- import "./chunk-DCWHFF3C.js";
59
- import "./chunk-R4DSLWTP.js";
58
+ import "./chunk-RHF6YVAZ.js";
59
+ import "./chunk-DYUH5UX4.js";
60
60
  import "./chunk-6633JFGM.js";
61
61
  import "./chunk-EC4ATWIU.js";
62
62
  import "./chunk-7MBYRDVK.js";
@@ -19,7 +19,7 @@ import {
19
19
  useEditorStore,
20
20
  useMode,
21
21
  useSelection
22
- } from "./chunk-R4DSLWTP.js";
22
+ } from "./chunk-DYUH5UX4.js";
23
23
  import "./chunk-6633JFGM.js";
24
24
  import "./chunk-EC4ATWIU.js";
25
25
  import "./chunk-7MBYRDVK.js";
@@ -6,24 +6,24 @@ const __filename = __popcraftPath(import.meta.url);
6
6
  const __dirname = __popcraftDirname(__filename);
7
7
  import {
8
8
  syncStatus
9
- } from "./chunk-BXWSEAE3.js";
9
+ } from "./chunk-5D6KTT3A.js";
10
10
  import "./chunk-KQLUTEMA.js";
11
11
  import {
12
12
  isGuest
13
- } from "./chunk-HDNTE5DW.js";
13
+ } from "./chunk-3QVRQ7WZ.js";
14
14
  import {
15
15
  cachedLimits,
16
16
  loadEntitlements
17
17
  } from "./chunk-MVBQZIAW.js";
18
18
  import "./chunk-IXRXUUA2.js";
19
- import "./chunk-RSBL56YF.js";
19
+ import "./chunk-SGMCCPOB.js";
20
20
  import {
21
21
  cloudApi
22
22
  } from "./chunk-MSRTWLAS.js";
23
23
  import "./chunk-U7FSUXA7.js";
24
24
  import "./chunk-H63AUCWS.js";
25
- import "./chunk-DCWHFF3C.js";
26
- import "./chunk-R4DSLWTP.js";
25
+ import "./chunk-RHF6YVAZ.js";
26
+ import "./chunk-DYUH5UX4.js";
27
27
  import "./chunk-6633JFGM.js";
28
28
  import "./chunk-EC4ATWIU.js";
29
29
  import "./chunk-7MBYRDVK.js";
@@ -8,7 +8,7 @@ import {
8
8
  canvasDpr,
9
9
  screenToWorld,
10
10
  useEditorStore
11
- } from "./chunk-R4DSLWTP.js";
11
+ } from "./chunk-DYUH5UX4.js";
12
12
  import "./chunk-6633JFGM.js";
13
13
  import "./chunk-EC4ATWIU.js";
14
14
  import "./chunk-7MBYRDVK.js";
@@ -15,8 +15,8 @@ import {
15
15
  import {
16
16
  AiClientError,
17
17
  aiFetch
18
- } from "./chunk-56IZO6ES.js";
19
- import "./chunk-TFA6VGGL.js";
18
+ } from "./chunk-SZ6IZBR6.js";
19
+ import "./chunk-NK2PUHBQ.js";
20
20
  import {
21
21
  useAiStore
22
22
  } from "./chunk-SMWJL5MM.js";
@@ -24,7 +24,7 @@ import "./chunk-OOMIFAU3.js";
24
24
  import "./chunk-VJ5YVKWD.js";
25
25
  import "./chunk-MVBQZIAW.js";
26
26
  import "./chunk-MGWKMB6Y.js";
27
- import "./chunk-RSBL56YF.js";
27
+ import "./chunk-SGMCCPOB.js";
28
28
  import "./chunk-MSRTWLAS.js";
29
29
  import "./chunk-H63AUCWS.js";
30
30
  import {