@popcraft/kit 0.63.4 → 0.63.5

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-C2N3NV4Y.js → agent-SN6JLCZR.js} +1 -1
  2. package/dist/chunks/{builtin-RXJXTSQY.js → builtin-22J36YRW.js} +3 -3
  3. package/dist/chunks/{buy-credits-CCXHKNZ5.js → buy-credits-5YABF4X3.js} +2 -2
  4. package/dist/chunks/{check-template-JHR53TVQ.js → check-template-PWZ5GOFF.js} +2 -2
  5. package/dist/chunks/{chunk-O5TUK2FU.js → chunk-4F62PZMF.js} +2 -2
  6. package/dist/chunks/{chunk-XHW5TBBB.js → chunk-5RZFX5HB.js} +1 -1
  7. package/dist/chunks/{chunk-RSVZLTJF.js → chunk-A6PFFOSI.js} +3 -3
  8. package/dist/chunks/{chunk-XKVEIWMH.js → chunk-AIRNIQB6.js} +1 -1
  9. package/dist/chunks/{chunk-AWGCGLOI.js → chunk-ANXRYNAK.js} +9 -9
  10. package/dist/chunks/{chunk-DSFALQPH.js → chunk-CEJFPWFK.js} +3 -3
  11. package/dist/chunks/{chunk-GKNUQFCL.js → chunk-DA72ZP4M.js} +2 -2
  12. package/dist/chunks/{chunk-7AMO475U.js → chunk-DAGN4EE3.js} +1 -1
  13. package/dist/chunks/{chunk-Q7SNI3MR.js → chunk-E5RGUWCC.js} +4 -4
  14. package/dist/chunks/{chunk-QXNL5CXB.js → chunk-FZH4EQ5F.js} +1 -1
  15. package/dist/chunks/{chunk-Y47QSCFW.js → chunk-JT5PZTTL.js} +2 -2
  16. package/dist/chunks/{chunk-U6BGUGCJ.js → chunk-K7XXX2QK.js} +6 -6
  17. package/dist/chunks/{chunk-SS3J4F4P.js → chunk-KBP75KL6.js} +42 -42
  18. package/dist/chunks/{chunk-QD5M7DQO.js → chunk-PSE4IQFJ.js} +5 -5
  19. package/dist/chunks/{chunk-TWS37A46.js → chunk-S2H2DLDA.js} +1 -1
  20. package/dist/chunks/{chunk-23DHAXV3.js → chunk-SXRQZ62D.js} +11 -11
  21. package/dist/chunks/{chunk-NZJPVJXS.js → chunk-UQVIUPLO.js} +5 -5
  22. package/dist/chunks/{chunk-B4ZUZF5G.js → chunk-WOUZE2IL.js} +4 -4
  23. package/dist/chunks/{chunk-WESZZZEP.js → chunk-ZGKZRT5E.js} +2 -2
  24. package/dist/chunks/{client-3QLT6NED.js → client-NWZKZSCZ.js} +1 -1
  25. package/dist/chunks/{client-A5UF3HLS.js → client-O6EPGQH7.js} +2 -2
  26. package/dist/chunks/{client-3JQM2OIO.js → client-PLIXYI2C.js} +3 -3
  27. package/dist/chunks/{client-actions-Z462QF5C.js → client-actions-WDXO6WVK.js} +5 -5
  28. package/dist/chunks/{dangerous-XIRHDRTC.js → dangerous-AKSB3G3X.js} +3 -3
  29. package/dist/chunks/{delete-current-file-HAOLWXXO.js → delete-current-file-4ZH5Y6GU.js} +5 -5
  30. package/dist/chunks/{editor-seams-ORIBEUWW.js → editor-seams-LVFSI3PN.js} +12 -12
  31. package/dist/chunks/{editor-store-2WVOBH4J.js → editor-store-QMMWBNZY.js} +1 -1
  32. package/dist/chunks/{export-watermark-IDXJQ6JI.js → export-watermark-KIVAPYV5.js} +5 -5
  33. package/dist/chunks/{eyedropper-WKLUQFRU.js → eyedropper-HV54VQ4K.js} +1 -1
  34. package/dist/chunks/{generate-media-EWLPFCDG.js → generate-media-LVMYLGIY.js} +3 -3
  35. package/dist/chunks/{host-2X4KIPPZ.js → host-FIC67WX5.js} +6 -6
  36. package/dist/chunks/{integrations-5UPUSU5J.js → integrations-HIAJ7WJX.js} +1 -1
  37. package/dist/chunks/{libraries-PL3B6RIH.js → libraries-ICVUM4YU.js} +5 -5
  38. package/dist/chunks/{live-OEYNGZGD.js → live-HHQXI6HV.js} +1 -1
  39. package/dist/chunks/{media-tool-BRA56Z5L.js → media-tool-ZRGZQRZS.js} +1 -1
  40. package/dist/chunks/{new-file-I7SYDP3Y.js → new-file-4YCUK3VO.js} +3 -3
  41. package/dist/chunks/{plugin-3QX3KLXW.js → plugin-AYYWXETJ.js} +2 -2
  42. package/dist/chunks/{plugin-import-FZZGUZY4.js → plugin-import-FMOPPPTJ.js} +16 -16
  43. package/dist/chunks/{presence-AHPZVPHB.js → presence-KEBTDQXT.js} +2 -2
  44. package/dist/chunks/{project-IPE4HU3S.js → project-JYXWKPPC.js} +1 -1
  45. package/dist/chunks/{publish-site-CXEXFYYN.js → publish-site-22AO6WB2.js} +6 -6
  46. package/dist/chunks/{publish-store-GBCAUZLL.js → publish-store-T4PZHAZ4.js} +4 -4
  47. package/dist/chunks/{raster-actions-Z65VHMCO.js → raster-actions-HU5XMOMY.js} +1 -1
  48. package/dist/chunks/{runner-HWSH65JN.js → runner-I77KVE7R.js} +18 -18
  49. package/dist/chunks/{store-JX2VK7PW.js → store-VHBJ2RVM.js} +6 -6
  50. package/dist/chunks/{sync-4WGZPPYD.js → sync-WIYCNBBQ.js} +5 -5
  51. package/dist/chunks/{tabs-ZANRUXTC.js → tabs-TJNDOWL6.js} +8 -8
  52. package/dist/chunks/{team-AGPA3Q4K.js → team-L5GB72R7.js} +1 -1
  53. package/dist/chunks/{team-client-3OYUD2U4.js → team-client-NQFLELMK.js} +1 -1
  54. package/dist/chunks/{tools-74VWK66O.js → tools-CCDSZ2EP.js} +2 -2
  55. package/dist/chunks/{ui-commands-6BOC6O2O.js → ui-commands-GSHYDI5Z.js} +12 -12
  56. package/dist/chunks/{versions-PFOT22BQ.js → versions-4TMQ3JO7.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-RSVZLTJF.js";
21
+ } from "./chunk-A6PFFOSI.js";
22
22
  import "./chunk-PJ2EDRZS.js";
23
23
  import "./chunk-HETELR5V.js";
24
24
  import "./chunk-R66LLPY5.js";
@@ -7,8 +7,8 @@ const __dirname = __popcraftDirname(__filename);
7
7
  import {
8
8
  builtinTools,
9
9
  registerBuiltinTools
10
- } from "./chunk-Y47QSCFW.js";
11
- import "./chunk-SS3J4F4P.js";
10
+ } from "./chunk-JT5PZTTL.js";
11
+ import "./chunk-KBP75KL6.js";
12
12
  import "./chunk-VWLOSP5P.js";
13
13
  import "./chunk-XZCVQPV6.js";
14
14
  import "./chunk-NHPK5RDE.js";
@@ -17,7 +17,7 @@ import "./chunk-7ZG55E52.js";
17
17
  import "./chunk-IBHIPO2U.js";
18
18
  import "./chunk-CO5QRETZ.js";
19
19
  import "./chunk-VPMMB3C2.js";
20
- import "./chunk-RSVZLTJF.js";
20
+ import "./chunk-A6PFFOSI.js";
21
21
  import "./chunk-PJ2EDRZS.js";
22
22
  import "./chunk-UKEUJ3JW.js";
23
23
  import "./chunk-AJDUB6PH.js";
@@ -7,11 +7,11 @@ const __dirname = __popcraftDirname(__filename);
7
7
  import {
8
8
  HYPERY_TEAM_HEADER,
9
9
  hyperyRequestHeaders
10
- } from "./chunk-TWS37A46.js";
10
+ } from "./chunk-S2H2DLDA.js";
11
11
  import "./chunk-QDH7K5TG.js";
12
12
  import {
13
13
  useHyperyTeam
14
- } from "./chunk-QXNL5CXB.js";
14
+ } from "./chunk-FZH4EQ5F.js";
15
15
  import {
16
16
  ApiError
17
17
  } from "./chunk-N6ZQJYXS.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-AWGCGLOI.js";
9
+ } from "./chunk-ANXRYNAK.js";
10
10
  import {
11
11
  builtinCommands
12
- } from "./chunk-SS3J4F4P.js";
12
+ } from "./chunk-KBP75KL6.js";
13
13
  import "./chunk-VWLOSP5P.js";
14
14
  import "./chunk-XZCVQPV6.js";
15
15
  import "./chunk-NHPK5RDE.js";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-QDH7K5TG.js";
10
10
  import {
11
11
  activeTeamWorkspaceId
12
- } from "./chunk-QXNL5CXB.js";
12
+ } from "./chunk-FZH4EQ5F.js";
13
13
  import {
14
14
  prepareTemplate
15
15
  } from "./chunk-FLF5E6T2.js";
@@ -22,7 +22,7 @@ import {
22
22
  } from "./chunk-A7DXX5A5.js";
23
23
  import {
24
24
  markLibraryDocument
25
- } from "./chunk-NZJPVJXS.js";
25
+ } from "./chunk-UQVIUPLO.js";
26
26
  import {
27
27
  GUEST_FILE_LIMIT
28
28
  } from "./chunk-DFUHSE3I.js";
@@ -13,7 +13,7 @@ import {
13
13
  agentTool,
14
14
  agentToolList,
15
15
  registerCommands
16
- } from "./chunk-RSVZLTJF.js";
16
+ } from "./chunk-A6PFFOSI.js";
17
17
  import {
18
18
  dispatch
19
19
  } from "./chunk-R66LLPY5.js";
@@ -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-3JQM2OIO.js");
60
+ const { requestAudio } = await import("./client-PLIXYI2C.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-EWLPFCDG.js");
66
+ const { generateVideoFile } = await import("./generate-media-LVMYLGIY.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-3JQM2OIO.js"),
72
+ import("./client-PLIXYI2C.js"),
73
73
  import("./client-store-OXRM2Q43.js")
74
74
  ]);
75
75
  const modelId = effectiveImageModel(useAiStore.getState());
@@ -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-TWS37A46.js";
9
+ } from "./chunk-S2H2DLDA.js";
10
10
  import {
11
11
  aiAvailability,
12
12
  effectiveChatModel,
@@ -8,7 +8,7 @@ import {
8
8
  needsSelection,
9
9
  pageGo,
10
10
  selectionIsPicture
11
- } from "./chunk-SS3J4F4P.js";
11
+ } from "./chunk-KBP75KL6.js";
12
12
  import {
13
13
  external_exports
14
14
  } from "./chunk-VPMMB3C2.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-2WVOBH4J.js").then((m) => m.useEditorStore.getState());
34
+ var store = () => import("./editor-store-QMMWBNZY.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-CK2M5DL4.js")).openPlanDialog();
192
192
  break;
193
193
  case "credits":
194
- await (await import("./buy-credits-CCXHKNZ5.js")).buyAiCredits();
194
+ await (await import("./buy-credits-5YABF4X3.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-OXRM2Q43.js")).openAiDialog(dialog);
240
- else (await import("./store-JX2VK7PW.js")).openAgentPanel({ skillId: skillId ?? null });
240
+ else (await import("./store-VHBJ2RVM.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-HWSH65JN.js")).continueTurn();
253
+ const resumed = await (await import("./runner-I77KVE7R.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-BRA56Z5L.js");
332
+ const { placeMediaFromPicker } = await import("./media-tool-ZRGZQRZS.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-WKLUQFRU.js");
336
+ const { beginEyedrop } = await import("./eyedropper-HV54VQ4K.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-Z65VHMCO.js");
354
+ const { flattenSelectionToPaintLayer } = await import("./raster-actions-HU5XMOMY.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-2X4KIPPZ.js")).runPlugin(pluginId, commandId);
465
+ await (await import("./host-FIC67WX5.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-SS3J4F4P.js";
15
+ } from "./chunk-KBP75KL6.js";
16
16
  import {
17
17
  external_exports
18
18
  } from "./chunk-VPMMB3C2.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-DLYWE3XR.js"),
648
648
  import("./storefront-LXMQJCHV.js"),
649
- import("./project-IPE4HU3S.js"),
649
+ import("./project-JYXWKPPC.js"),
650
650
  import("./zip-export-UR4GGFYY.js"),
651
651
  import("./tree-PBB77TXT.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-2X4KIPPZ.js");
846
+ const { runPlugin } = await import("./host-FIC67WX5.js");
847
847
  await runPlugin(p.pluginId, p.commandId);
848
848
  ctx.notice(`Started ${p.pluginId}.`);
849
849
  return {
@@ -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-2WVOBH4J.js"),
94
+ import("./editor-store-QMMWBNZY.js"),
95
95
  import("../lib/document/photo-frames.js"),
96
- import("./media-tool-BRA56Z5L.js")
96
+ import("./media-tool-ZRGZQRZS.js")
97
97
  ]);
98
98
  const st = useEditorStore.getState();
99
99
  const frame = photoFrameOf(st.document.nodes, opts.targetId !== void 0 ? opts.targetId : st.selection[0] ?? null);
@@ -6,7 +6,7 @@ const __filename = __popcraftPath(import.meta.url);
6
6
  const __dirname = __popcraftDirname(__filename);
7
7
  import {
8
8
  useEditorStore
9
- } from "./chunk-NZJPVJXS.js";
9
+ } from "./chunk-UQVIUPLO.js";
10
10
  import {
11
11
  announce
12
12
  } from "./chunk-QEN7LZIX.js";
@@ -17,14 +17,14 @@ import {
17
17
  reportOpenStage,
18
18
  setCloudLink,
19
19
  trackOpen
20
- } from "./chunk-O5TUK2FU.js";
20
+ } from "./chunk-4F62PZMF.js";
21
21
  import {
22
22
  parseDeepLink,
23
23
  withDeepLink
24
24
  } from "./chunk-XNUX4MRE.js";
25
25
  import {
26
26
  activeTeamWorkspaceId
27
- } from "./chunk-QXNL5CXB.js";
27
+ } from "./chunk-FZH4EQ5F.js";
28
28
  import {
29
29
  ApiError,
30
30
  api,
@@ -32,7 +32,7 @@ import {
32
32
  } from "./chunk-N6ZQJYXS.js";
33
33
  import {
34
34
  attachPresence
35
- } from "./chunk-7AMO475U.js";
35
+ } from "./chunk-DAGN4EE3.js";
36
36
  import {
37
37
  fileOpeningMode,
38
38
  isAppleMobile,
@@ -45,7 +45,7 @@ import {
45
45
  setCollabHistory,
46
46
  storedDocument,
47
47
  useEditorStore
48
- } from "./chunk-NZJPVJXS.js";
48
+ } from "./chunk-UQVIUPLO.js";
49
49
  import {
50
50
  currentHistoryGroup
51
51
  } from "./chunk-XYXJGZE5.js";
@@ -150,7 +150,7 @@ function startHyperyTeams() {
150
150
  maybePromptForTeam();
151
151
  void followFileTeam(linkedKey);
152
152
  });
153
- void import("./sync-4WGZPPYD.js").then(({ onSyncStatus, syncStatus }) => {
153
+ void import("./sync-WIYCNBBQ.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-SS3J4F4P.js";
10
+ } from "./chunk-KBP75KL6.js";
11
11
  import {
12
12
  toolView
13
- } from "./chunk-RSVZLTJF.js";
13
+ } from "./chunk-A6PFFOSI.js";
14
14
  import {
15
15
  init_define_POPCRAFT_COMPONENT_IDS
16
16
  } from "./chunk-3JQ2IBTW.js";
@@ -6,7 +6,7 @@ const __filename = __popcraftPath(import.meta.url);
6
6
  const __dirname = __popcraftDirname(__filename);
7
7
  import {
8
8
  registerAppCommands
9
- } from "./chunk-AWGCGLOI.js";
9
+ } from "./chunk-ANXRYNAK.js";
10
10
  import {
11
11
  storeOpsSeam
12
12
  } from "./chunk-UVWTSHLG.js";
@@ -23,17 +23,17 @@ import {
23
23
  sameResolution,
24
24
  surfaceSize,
25
25
  windowCssSize
26
- } from "./chunk-SS3J4F4P.js";
26
+ } from "./chunk-KBP75KL6.js";
27
27
  import {
28
28
  notice
29
- } from "./chunk-WESZZZEP.js";
29
+ } from "./chunk-ZGKZRT5E.js";
30
30
  import {
31
31
  agentContext
32
- } from "./chunk-RSVZLTJF.js";
32
+ } from "./chunk-A6PFFOSI.js";
33
33
  import {
34
34
  collabSession,
35
35
  syncStatus
36
- } from "./chunk-Q7SNI3MR.js";
36
+ } from "./chunk-E5RGUWCC.js";
37
37
  import {
38
38
  loadEntitlements
39
39
  } from "./chunk-QDH7K5TG.js";
@@ -47,7 +47,7 @@ import {
47
47
  import {
48
48
  persist,
49
49
  useEditorStore
50
- } from "./chunk-NZJPVJXS.js";
50
+ } from "./chunk-UQVIUPLO.js";
51
51
  import {
52
52
  create
53
53
  } from "./chunk-YB2RTI5I.js";