@popcraft/kit 0.63.2 → 0.63.3

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 (69) hide show
  1. package/dist/chunks/{agent-FTFKFRPM.js → agent-JG7NSI5F.js} +1 -1
  2. package/dist/chunks/{builtin-QF5WSSJS.js → builtin-FIFCVY72.js} +3 -3
  3. package/dist/chunks/{buy-credits-7DVWWWEH.js → buy-credits-EQ6AJIN3.js} +2 -2
  4. package/dist/chunks/{check-template-QIUUFAJX.js → check-template-A2RJMYU6.js} +5 -5
  5. package/dist/chunks/{chunk-IK3K4GYW.js → chunk-24KSG4GN.js} +1 -1
  6. package/dist/chunks/{chunk-Q3YFENIY.js → chunk-4NBICMS3.js} +1 -1
  7. package/dist/chunks/{chunk-FGF2NJ5D.js → chunk-65OAEAWE.js} +3 -3
  8. package/dist/chunks/{chunk-R7BRPIIU.js → chunk-ATIE7UOI.js} +1 -1
  9. package/dist/chunks/{chunk-JCKS24VO.js → chunk-C7JDUURH.js} +4 -4
  10. package/dist/chunks/{chunk-U7WOPEKL.js → chunk-D4HWELAE.js} +1 -0
  11. package/dist/chunks/{chunk-TDIQBFML.js → chunk-DBL7B4OB.js} +5 -5
  12. package/dist/chunks/{chunk-QPU75Z6Q.js → chunk-DJYLXECR.js} +1 -1
  13. package/dist/chunks/{chunk-CVYIZUAB.js → chunk-E5HBVURV.js} +1 -1
  14. package/dist/chunks/{chunk-BRVM4N76.js → chunk-EQCYOX3Y.js} +2 -2
  15. package/dist/chunks/{chunk-3IZLGVHF.js → chunk-F52J75FK.js} +9 -9
  16. package/dist/chunks/{chunk-D4CAXIMC.js → chunk-GUYFN7LO.js} +2 -2
  17. package/dist/chunks/{chunk-IOYBD4UJ.js → chunk-HA66E7QT.js} +1 -1
  18. package/dist/chunks/{chunk-HEOTQNP5.js → chunk-J3GNANCZ.js} +48 -48
  19. package/dist/chunks/{chunk-FEVG74V4.js → chunk-KNQCCCBU.js} +11 -11
  20. package/dist/chunks/{chunk-5AOAK4TJ.js → chunk-LEGP3ASN.js} +2 -2
  21. package/dist/chunks/{chunk-6K3YDAEA.js → chunk-MTDVLJF4.js} +4 -4
  22. package/dist/chunks/{chunk-YNK5WGBX.js → chunk-NEYUL4GW.js} +1 -1
  23. package/dist/chunks/{chunk-YFXFOKAN.js → chunk-O362LA7T.js} +6 -6
  24. package/dist/chunks/{chunk-BUNHNUDB.js → chunk-OUMQLK4A.js} +6 -6
  25. package/dist/chunks/{chunk-Z5PXRLTK.js → chunk-R3NC5A2S.js} +5 -5
  26. package/dist/chunks/{chunk-F62VIPIP.js → chunk-RTCAJDVY.js} +2 -2
  27. package/dist/chunks/{chunk-4GALME6C.js → chunk-VWBJ6L7Z.js} +2 -2
  28. package/dist/chunks/{chunk-EK2ICL57.js → chunk-ZYC5VHQK.js} +1 -1
  29. package/dist/chunks/{client-GMAYHRO2.js → client-5QNLO3JY.js} +2 -2
  30. package/dist/chunks/{client-KFR4UM5J.js → client-5TMC2L4Y.js} +1 -1
  31. package/dist/chunks/{client-7RYWZQ44.js → client-MIRO64O2.js} +3 -3
  32. package/dist/chunks/{client-actions-DHW6WZ6F.js → client-actions-WWLJ7MX3.js} +5 -5
  33. package/dist/chunks/{components-O6O4G3BT.js → components-Z3CESEVJ.js} +2 -2
  34. package/dist/chunks/{dangerous-EPYLDV6G.js → dangerous-HG5JGBNY.js} +3 -3
  35. package/dist/chunks/{delete-current-file-D2CJRSAQ.js → delete-current-file-A7QBWXXF.js} +5 -5
  36. package/dist/chunks/{editor-seams-QQFPIQXA.js → editor-seams-URUJLQ7N.js} +12 -12
  37. package/dist/chunks/{editor-store-YB4OMB5G.js → editor-store-64K4BZQD.js} +1 -1
  38. package/dist/chunks/{export-watermark-3OCB5WUE.js → export-watermark-MOUCFBIF.js} +5 -5
  39. package/dist/chunks/{eyedropper-HCSGA5NV.js → eyedropper-X5XKGEJS.js} +1 -1
  40. package/dist/chunks/{generate-media-5JJBIVDG.js → generate-media-6HQ7OOV6.js} +3 -3
  41. package/dist/chunks/{host-YGMXYIG2.js → host-IXHH7YAC.js} +3 -3
  42. package/dist/chunks/{host-TO3CBJRU.js → host-ZRVHL6BJ.js} +6 -6
  43. package/dist/chunks/{integrations-2MP2UC3F.js → integrations-2SF3ET4I.js} +1 -1
  44. package/dist/chunks/{libraries-YP423MAW.js → libraries-77NYGYPJ.js} +5 -5
  45. package/dist/chunks/{live-NXNQGHGT.js → live-KTVFWA3T.js} +1 -1
  46. package/dist/chunks/{media-tool-JJ6GOQFL.js → media-tool-62E76O5U.js} +1 -1
  47. package/dist/chunks/{new-file-SM23LCUM.js → new-file-FHE6NDAP.js} +3 -3
  48. package/dist/chunks/{next-commerce-FC3LZGWQ.js → next-commerce-PNC3ZXDS.js} +3 -3
  49. package/dist/chunks/{plugin-F2ILAYB2.js → plugin-N54NXNEW.js} +2 -2
  50. package/dist/chunks/{plugin-import-PTRRP4XK.js → plugin-import-UVOZX5WB.js} +16 -16
  51. package/dist/chunks/{presence-Z54F3LLT.js → presence-2WWKQ6S2.js} +2 -2
  52. package/dist/chunks/{project-H5QJZM4C.js → project-J7JQIWYB.js} +4 -4
  53. package/dist/chunks/{publish-site-LOQRU6PC.js → publish-site-KTFDPQ3H.js} +6 -6
  54. package/dist/chunks/{publish-store-TRWYN4UJ.js → publish-store-HYYA4RXT.js} +6 -6
  55. package/dist/chunks/{raster-actions-2YRJ4SK7.js → raster-actions-3GDZRPGH.js} +1 -1
  56. package/dist/chunks/{runner-2MNDOMTD.js → runner-F22S6D6N.js} +18 -18
  57. package/dist/chunks/{store-RZVOIVPW.js → store-62BUYI77.js} +6 -6
  58. package/dist/chunks/{storefront-OMB6YHQG.js → storefront-LXMQJCHV.js} +4 -4
  59. package/dist/chunks/{storefront-prepare-46ZXGRO7.js → storefront-prepare-DLYWE3XR.js} +2 -2
  60. package/dist/chunks/{sync-IG3NGEDB.js → sync-NNGUR4LU.js} +5 -5
  61. package/dist/chunks/{tabs-VR7TXPSZ.js → tabs-BSIUM23F.js} +8 -8
  62. package/dist/chunks/{team-AE7KKREG.js → team-CAOHTOO3.js} +1 -1
  63. package/dist/chunks/{team-client-ZQELGK5U.js → team-client-L3YDUTBT.js} +1 -1
  64. package/dist/chunks/{tools-7GEABWBU.js → tools-F4ZINAJC.js} +2 -2
  65. package/dist/chunks/{ui-commands-KJLWSOQF.js → ui-commands-XE2P64NB.js} +12 -12
  66. package/dist/chunks/{versions-AMFUYX5J.js → versions-5A3SOLJV.js} +5 -5
  67. package/dist/chunks/{web-OQSGOY3Y.js → web-T7DCTA2I.js} +3 -3
  68. package/dist/index.js +1 -1
  69. package/package.json +1 -1
@@ -18,7 +18,7 @@ import {
18
18
  renderDocument,
19
19
  toolView,
20
20
  underReviewKit
21
- } from "./chunk-FGF2NJ5D.js";
21
+ } from "./chunk-65OAEAWE.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-D4CAXIMC.js";
11
- import "./chunk-HEOTQNP5.js";
10
+ } from "./chunk-GUYFN7LO.js";
11
+ import "./chunk-J3GNANCZ.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-FGF2NJ5D.js";
20
+ import "./chunk-65OAEAWE.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-IK3K4GYW.js";
10
+ } from "./chunk-24KSG4GN.js";
11
11
  import "./chunk-QDH7K5TG.js";
12
12
  import {
13
13
  useHyperyTeam
14
- } from "./chunk-CVYIZUAB.js";
14
+ } from "./chunk-E5HBVURV.js";
15
15
  import {
16
16
  ApiError
17
17
  } from "./chunk-N6ZQJYXS.js";
@@ -6,21 +6,21 @@ const __filename = __popcraftPath(import.meta.url);
6
6
  const __dirname = __popcraftDirname(__filename);
7
7
  import {
8
8
  appCommands
9
- } from "./chunk-3IZLGVHF.js";
9
+ } from "./chunk-F52J75FK.js";
10
10
  import {
11
11
  builtinCommands
12
- } from "./chunk-HEOTQNP5.js";
12
+ } from "./chunk-J3GNANCZ.js";
13
13
  import "./chunk-VWLOSP5P.js";
14
14
  import "./chunk-XZCVQPV6.js";
15
15
  import "./chunk-NHPK5RDE.js";
16
16
  import "./chunk-XMBCZSHZ.js";
17
17
  import "./chunk-7ZG55E52.js";
18
- import "./chunk-5AOAK4TJ.js";
18
+ import "./chunk-LEGP3ASN.js";
19
19
  import "./chunk-IBHIPO2U.js";
20
- import "./chunk-YNK5WGBX.js";
20
+ import "./chunk-NEYUL4GW.js";
21
21
  import {
22
22
  buildWebSite
23
- } from "./chunk-U7WOPEKL.js";
23
+ } from "./chunk-D4HWELAE.js";
24
24
  import "./chunk-CO5QRETZ.js";
25
25
  import "./chunk-GGLXX3FD.js";
26
26
  import "./chunk-VPMMB3C2.js";
@@ -11,7 +11,7 @@ import {
11
11
  activeHyperyTeamId,
12
12
  activeTeamWorkspaceId,
13
13
  useHyperyTeam
14
- } from "./chunk-CVYIZUAB.js";
14
+ } from "./chunk-E5HBVURV.js";
15
15
  import {
16
16
  inAppPurchases
17
17
  } from "./chunk-DFUHSE3I.js";
@@ -7,7 +7,7 @@ const __dirname = __popcraftDirname(__filename);
7
7
  import {
8
8
  componentFiles,
9
9
  componentPlan
10
- } from "./chunk-EK2ICL57.js";
10
+ } from "./chunk-ZYC5VHQK.js";
11
11
  import {
12
12
  routesOf,
13
13
  screensOf
@@ -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-7RYWZQ44.js");
60
+ const { requestAudio } = await import("./client-MIRO64O2.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-5JJBIVDG.js");
66
+ const { generateVideoFile } = await import("./generate-media-6HQ7OOV6.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-7RYWZQ44.js"),
72
+ import("./client-MIRO64O2.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
  useEditorStore
9
- } from "./chunk-TDIQBFML.js";
9
+ } from "./chunk-DBL7B4OB.js";
10
10
  import {
11
11
  announce
12
12
  } from "./chunk-QEN7LZIX.js";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-4RRGRQBL.js";
10
10
  import {
11
11
  notice
12
- } from "./chunk-F62VIPIP.js";
12
+ } from "./chunk-RTCAJDVY.js";
13
13
  import {
14
14
  effectiveChatModel,
15
15
  setModelPref,
@@ -17,7 +17,7 @@ import {
17
17
  } from "./chunk-U6ZHQH5G.js";
18
18
  import {
19
19
  useEditorStore
20
- } from "./chunk-TDIQBFML.js";
20
+ } from "./chunk-DBL7B4OB.js";
21
21
  import {
22
22
  create
23
23
  } from "./chunk-YB2RTI5I.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-2MNDOMTD.js");
1906
+ const { runTurn } = await import("./runner-F22S6D6N.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-2MNDOMTD.js").then(({ onChildTool }) => {
2009
+ void import("./runner-F22S6D6N.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);
@@ -664,6 +664,7 @@ function buildWebSite(doc, opts = {}) {
664
664
  const platformer = opts2.static ? null : screenPhysics(doc, s.id);
665
665
  const sound = opts2.static ? [] : (s.timeline?.audio ?? []).filter((c) => !c.muted && (c.speed ?? 1) === 1).map((c) => ({
666
666
  src: `media://${c.mediaHash}`,
667
+ hash: c.mediaHash,
667
668
  start: c.start,
668
669
  in: c.in,
669
670
  out: c.out,
@@ -4862,7 +4862,7 @@ function createPopcornSlice(set2, get2) {
4862
4862
  privateMode: false,
4863
4863
  setPrivateMode: (on) => {
4864
4864
  set2({ privateMode: on });
4865
- void import("./presence-Z54F3LLT.js").then((m) => m.setPresencePrivate(on)).catch(() => {
4865
+ void import("./presence-2WWKQ6S2.js").then((m) => m.setPresencePrivate(on)).catch(() => {
4866
4866
  });
4867
4867
  },
4868
4868
  /** Reveal every private item THIS user created (they sync to collaborators). Others' stay theirs. */
@@ -6933,7 +6933,7 @@ var useEditorStore = create()(
6933
6933
  // A copy is a new file, so it is cloud-backed like any other (see lib/client/cloud/new-file.ts).
6934
6934
  // Returns '' when it was refused (offline, signed out, plan full) or failed; nothing is left behind.
6935
6935
  duplicateDocument: async (id) => {
6936
- const { duplicateDocumentToCloud } = await import("./sync-IG3NGEDB.js");
6936
+ const { duplicateDocumentToCloud } = await import("./sync-NNGUR4LU.js");
6937
6937
  return duplicateDocumentToCloud(id);
6938
6938
  },
6939
6939
  deleteDocument: async (id) => {
@@ -10443,9 +10443,9 @@ if (typeof window !== "undefined") {
10443
10443
  if (typeof window !== "undefined" && navigator.webdriver) {
10444
10444
  window.__vpDesign = async (script, o = {}) => {
10445
10445
  const [{ registerBuiltinTools, runTool }, { editorToolContext }, { createDesignPreview }] = await Promise.all([
10446
- import("./tools-7GEABWBU.js").then(async (m) => ({ ...m, registerBuiltinTools: (await import("./builtin-QF5WSSJS.js")).registerBuiltinTools })),
10447
- import("./editor-seams-QQFPIQXA.js"),
10448
- import("./live-NXNQGHGT.js")
10446
+ import("./tools-F4ZINAJC.js").then(async (m) => ({ ...m, registerBuiltinTools: (await import("./builtin-FIFCVY72.js")).registerBuiltinTools })),
10447
+ import("./editor-seams-URUJLQ7N.js"),
10448
+ import("./live-KTVFWA3T.js")
10449
10449
  ]);
10450
10450
  registerBuiltinTools();
10451
10451
  const args = JSON.stringify({ ...o.name ? { name: o.name } : {}, ...o.size ? { size: o.size } : {}, ...o.frame ? { frame: o.frame } : {}, script });
@@ -6,7 +6,7 @@ const __filename = __popcraftPath(import.meta.url);
6
6
  const __dirname = __popcraftDirname(__filename);
7
7
  import {
8
8
  hyperyRequestHeaders
9
- } from "./chunk-IK3K4GYW.js";
9
+ } from "./chunk-24KSG4GN.js";
10
10
  import {
11
11
  aiAvailability,
12
12
  effectiveChatModel,
@@ -150,7 +150,7 @@ function startHyperyTeams() {
150
150
  maybePromptForTeam();
151
151
  void followFileTeam(linkedKey);
152
152
  });
153
- void import("./sync-IG3NGEDB.js").then(({ onSyncStatus, syncStatus }) => {
153
+ void import("./sync-NNGUR4LU.js").then(({ onSyncStatus, syncStatus }) => {
154
154
  linkedKey = syncStatus().link?.key ?? null;
155
155
  void followFileTeam(linkedKey);
156
156
  onSyncStatus((_s, link) => {
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-QDH7K5TG.js";
10
10
  import {
11
11
  activeTeamWorkspaceId
12
- } from "./chunk-CVYIZUAB.js";
12
+ } from "./chunk-E5HBVURV.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-TDIQBFML.js";
25
+ } from "./chunk-DBL7B4OB.js";
26
26
  import {
27
27
  GUEST_FILE_LIMIT
28
28
  } from "./chunk-DFUHSE3I.js";
@@ -8,7 +8,7 @@ import {
8
8
  needsSelection,
9
9
  pageGo,
10
10
  selectionIsPicture
11
- } from "./chunk-HEOTQNP5.js";
11
+ } from "./chunk-J3GNANCZ.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-YB4OMB5G.js").then((m) => m.useEditorStore.getState());
34
+ var store = () => import("./editor-store-64K4BZQD.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-7DVWWWEH.js")).buyAiCredits();
194
+ await (await import("./buy-credits-EQ6AJIN3.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-RZVOIVPW.js")).openAgentPanel({ skillId: skillId ?? null });
240
+ else (await import("./store-62BUYI77.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-2MNDOMTD.js")).continueTurn();
253
+ const resumed = await (await import("./runner-F22S6D6N.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-JJ6GOQFL.js");
332
+ const { placeMediaFromPicker } = await import("./media-tool-62E76O5U.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-HCSGA5NV.js");
336
+ const { beginEyedrop } = await import("./eyedropper-X5XKGEJS.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-2YRJ4SK7.js");
354
+ const { flattenSelectionToPaintLayer } = await import("./raster-actions-3GDZRPGH.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-TO3CBJRU.js")).runPlugin(pluginId, commandId);
465
+ await (await import("./host-ZRVHL6BJ.js")).runPlugin(pluginId, commandId);
466
466
  return { summary: "Plugin started" };
467
467
  }
468
468
  });
@@ -7,10 +7,10 @@ const __dirname = __popcraftDirname(__filename);
7
7
  import {
8
8
  builtinCommands,
9
9
  registerBuiltinCommands
10
- } from "./chunk-HEOTQNP5.js";
10
+ } from "./chunk-J3GNANCZ.js";
11
11
  import {
12
12
  toolView
13
- } from "./chunk-FGF2NJ5D.js";
13
+ } from "./chunk-65OAEAWE.js";
14
14
  import {
15
15
  init_define_POPCRAFT_COMPONENT_IDS
16
16
  } from "./chunk-3JQ2IBTW.js";
@@ -13,7 +13,7 @@ import {
13
13
  agentTool,
14
14
  agentToolList,
15
15
  registerCommands
16
- } from "./chunk-FGF2NJ5D.js";
16
+ } from "./chunk-65OAEAWE.js";
17
17
  import {
18
18
  dispatch
19
19
  } from "./chunk-R66LLPY5.js";