@jxsuite/studio 5.0.0 → 5.1.0

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 (94) hide show
  1. package/dist/chunks/{cf-account-picker-fyf63pmy.js → cf-account-picker-qwkm9zrf.js} +5 -5
  2. package/dist/chunks/{components-2w1f35qs.js → components-vj72gqtq.js} +6 -4
  3. package/dist/chunks/{content-source-3wqeas45.js → content-source-5mex4x1h.js} +20 -20
  4. package/dist/chunks/{convert-to-repeater-d0cgnb6d.js → convert-to-repeater-n64h8znc.js} +20 -20
  5. package/dist/chunks/entry-commands-234hjnqw.js +42 -0
  6. package/dist/chunks/{extension-sections-fy7q4fe9.js → extension-sections-3hpcambp.js} +22 -22
  7. package/dist/chunks/{file-ops-3btj6st0.js → file-ops-8yhd83xr.js} +19 -19
  8. package/dist/chunks/{files-ef8fgs3w.js → files-hnxqxtsg.js} +26 -26
  9. package/dist/chunks/{format-host-3c33nwr8.js → format-host-779sfp2n.js} +2 -2
  10. package/dist/chunks/{fs-events-13tj6sex.js → fs-events-b88z7g4h.js} +4 -4
  11. package/dist/chunks/{git-panel-4wp2rn9b.js → git-panel-xwj8fpab.js} +18 -18
  12. package/dist/chunks/{iframe-host-jgesd924.js → iframe-host-syr0f9sb.js} +9 -9
  13. package/dist/chunks/{layers-1nq5evsh.js → layers-ff81wthn.js} +5 -4
  14. package/dist/chunks/layers-panel-pnnghw12.js +40 -0
  15. package/dist/chunks/{media-picker-2qbetq73.js → media-picker-cqhhxhhe.js} +10 -10
  16. package/dist/chunks/menu-9p2w46gj.js +15 -0
  17. package/dist/chunks/{publish-panel-98f7sr3g.js → publish-panel-5zt840sy.js} +9 -9
  18. package/dist/chunks/quick-search-3748564r.js +45 -0
  19. package/dist/chunks/{references-n553f0e1.js → references-qvvxej7h.js} +3 -3
  20. package/dist/chunks/right-panel-eccz92qt.js +45 -0
  21. package/dist/chunks/{studio-x3rty6tr.js → studio-1knfqgy7.js} +6 -6
  22. package/dist/chunks/{studio-rkstz940.js → studio-1z1kcjv4.js} +17 -8
  23. package/dist/chunks/{studio-qahxvnan.js → studio-3773086z.js} +2 -2
  24. package/dist/chunks/{studio-arfpe389.js → studio-3rz5md06.js} +4 -4
  25. package/dist/chunks/{studio-pm6hgy7r.js → studio-5wt9nvhd.js} +16 -16
  26. package/dist/chunks/{studio-akbww0j5.js → studio-7xnmgv66.js} +19 -19
  27. package/dist/chunks/{studio-26d7myd1.js → studio-8scdew0e.js} +3 -3
  28. package/dist/chunks/{studio-3hxkd92t.js → studio-93zafjcm.js} +8 -8
  29. package/dist/chunks/{studio-5rt7sqa0.js → studio-a79k90n9.js} +11 -17
  30. package/dist/chunks/{studio-3gxv60tn.js → studio-aj37eer3.js} +3 -3
  31. package/dist/chunks/{studio-18avnhjp.js → studio-b0k5tqgp.js} +23 -21
  32. package/dist/chunks/{studio-fabxk6r9.js → studio-b4s9eykd.js} +13 -13
  33. package/dist/chunks/{studio-8qtrpzr3.js → studio-e1pgga3k.js} +5 -5
  34. package/dist/chunks/{studio-8jn5yhyn.js → studio-g3jevyjt.js} +2 -2
  35. package/dist/chunks/{studio-rpyah2ew.js → studio-gb13095a.js} +18 -17
  36. package/dist/chunks/{studio-57mf66w2.js → studio-js8nv53n.js} +5 -5
  37. package/dist/chunks/{studio-vz68yn9e.js → studio-jxp12rnj.js} +4 -4
  38. package/dist/chunks/{studio-az3zd49t.js → studio-k75n7vhp.js} +56 -4
  39. package/dist/chunks/{studio-5jy81t3s.js → studio-kkqkcp3d.js} +221 -16
  40. package/dist/chunks/{studio-tb3ev01j.js → studio-mhhyamxf.js} +4 -4
  41. package/dist/chunks/{studio-81390n6f.js → studio-nq5yf5mp.js} +1 -1
  42. package/dist/chunks/{studio-4m0haseg.js → studio-nzzpvzx9.js} +3 -3
  43. package/dist/chunks/{studio-em9nw8eh.js → studio-pxbgypmg.js} +12 -12
  44. package/dist/chunks/{studio-sgdc5pfc.js → studio-qhhm6hbt.js} +3 -3
  45. package/dist/chunks/{studio-d1ja2x9r.js → studio-qk4bfsq2.js} +3 -3
  46. package/dist/chunks/{studio-25hkdrkw.js → studio-qk90fgqm.js} +9 -9
  47. package/dist/chunks/{studio-s6z853aq.js → studio-r6nvacqs.js} +18 -17
  48. package/dist/chunks/{studio-7xptrg0j.js → studio-sbjyc8bt.js} +6 -6
  49. package/dist/chunks/{studio-5523bpzt.js → studio-syg2tadj.js} +3 -3
  50. package/dist/chunks/{studio-cpvb2ed1.js → studio-tqgryxwg.js} +7 -7
  51. package/dist/chunks/{studio-xsykpvsh.js → studio-try13h8c.js} +11 -11
  52. package/dist/chunks/{studio-erdatzvp.js → studio-vfq8qpjt.js} +34 -5
  53. package/dist/chunks/{studio-79y5sz51.js → studio-vw7mzp6z.js} +2 -2
  54. package/dist/chunks/{studio-9xxz1q69.js → studio-wqz6dggm.js} +5 -5
  55. package/dist/chunks/studio-zdn2g6dt.js +148 -0
  56. package/dist/chunks/{workspace-wrew8zk4.js → workspace-t55jdjbx.js} +3 -3
  57. package/dist/iframe-entry.js +97 -10
  58. package/dist/studio.js +127 -244
  59. package/package.json +6 -6
  60. package/src/canvas/canvas-utils.ts +29 -2
  61. package/src/commands/command-args.ts +37 -2
  62. package/src/commands/registry.ts +18 -8
  63. package/src/commands/run-reported.ts +120 -0
  64. package/src/editor/shortcuts.ts +11 -23
  65. package/src/files/components.ts +39 -0
  66. package/src/files/files.ts +3 -2
  67. package/src/i18n/i18n-commands.ts +10 -0
  68. package/src/packages/pull-package-sync.ts +5 -1
  69. package/src/panels/ai-panel.ts +5 -2
  70. package/src/panels/block-action-bar.ts +7 -2
  71. package/src/panels/i18n-panel.ts +8 -15
  72. package/src/panels/jump-bar.ts +3 -2
  73. package/src/panels/problems-panel.ts +6 -2
  74. package/src/panels/quick-search.ts +6 -12
  75. package/src/panels/settings-menu.ts +5 -15
  76. package/src/panels/tab-strip.ts +3 -3
  77. package/src/services/ai-command-tools.ts +78 -8
  78. package/src/services/ai-project-tools.ts +8 -2
  79. package/src/services/ai-system-prompt.ts +4 -8
  80. package/src/services/ai-tools.ts +8 -69
  81. package/src/services/document-assistant.ts +9 -6
  82. package/src/studio.ts +14 -2
  83. package/src/surfaces/commandbar.json +13 -12
  84. package/src/surfaces/commandbar.ts +6 -5
  85. package/src/surfaces/statusbar.ts +2 -1
  86. package/src/tabs/project-config.ts +45 -11
  87. package/src/ui/layers.ts +4 -1
  88. package/src/workspace/workspace.ts +60 -0
  89. package/dist/chunks/entry-commands-d6g50j7s.js +0 -42
  90. package/dist/chunks/layers-panel-ar2gh90g.js +0 -40
  91. package/dist/chunks/menu-rf7n72mf.js +0 -14
  92. package/dist/chunks/quick-search-srzz83k2.js +0 -45
  93. package/dist/chunks/right-panel-rrgx2dn3.js +0 -45
  94. package/dist/chunks/studio-d055c37e.js +0 -62
@@ -4,11 +4,11 @@ import {
4
4
  } from "./studio-6ewqv390.js";
5
5
  import {
6
6
  isKeyframesAtRule
7
- } from "./studio-5jy81t3s.js";
7
+ } from "./studio-kkqkcp3d.js";
8
8
  import {
9
9
  registerSurface,
10
10
  mountSurface
11
- } from "./studio-erdatzvp.js";
11
+ } from "./studio-vfq8qpjt.js";
12
12
  import {
13
13
  reactive
14
14
  } from "./studio-p1dw8wfw.js";
@@ -16,15 +16,15 @@ import {
16
16
  isSpliceablePath,
17
17
  varDisplayName,
18
18
  activeTab2
19
- } from "./studio-az3zd49t.js";
19
+ } from "./studio-k75n7vhp.js";
20
20
  import {
21
21
  getEffectiveMedia,
22
22
  getEffectiveStyle,
23
23
  shell
24
- } from "./studio-25hkdrkw.js";
24
+ } from "./studio-qk90fgqm.js";
25
25
  import {
26
26
  componentRegistry2
27
- } from "./studio-d055c37e.js";
27
+ } from "./studio-zdn2g6dt.js";
28
28
  import {
29
29
  tabOfPane,
30
30
  mediaDisplayName,
@@ -33,7 +33,7 @@ import {
33
33
  parseMediaEntries,
34
34
  mountStylebookCanvas2,
35
35
  panToStylebookTag2
36
- } from "./studio-rkstz940.js";
36
+ } from "./studio-1z1kcjv4.js";
37
37
  import {
38
38
  __preload
39
39
  } from "./studio-5te5tqng.js";
@@ -981,7 +981,7 @@ function defaultCommands(deps) {
981
981
  enablement: (ctx) => structurallyEditable(ctx) && !ctx.selection.isRepeater,
982
982
  requires: "an element with a sibling position that is not already a repeater",
983
983
  run: () => {
984
- (__preload("d0cgnb6d"), import("./convert-to-repeater-d0cgnb6d.js")).then(({ convertToRepeater }) => convertToRepeater());
984
+ (__preload("n64h8znc"), import("./convert-to-repeater-n64h8znc.js")).then(({ convertToRepeater }) => convertToRepeater());
985
985
  }
986
986
  },
987
987
  {
@@ -1190,4 +1190,4 @@ function inspectorFocusCommands(deps) {
1190
1190
  export { transposeStylebookStyle, PROJECT_STYLES_TITLE, PROJECT_STYLES_VIEW, TOKEN_GROUPS, tokenLabel, groupTokens, listTokenContexts, readTokenOverride, writeTokenOverride, addableContexts, stylebook_meta_default, renderStylebookMode, selectStylebookTag, INSPECTOR_TABS, noopCommandDeps, defaultCommands };
1191
1191
 
1192
1192
  //# debugId=10489CF10762040B64756E2164756E21
1193
- //# sourceMappingURL=studio-3hxkd92t.js.map
1193
+ //# sourceMappingURL=studio-93zafjcm.js.map
@@ -10,18 +10,20 @@ import {
10
10
  loadFormats2,
11
11
  formatByExtension2,
12
12
  documentExtensions2
13
- } from "./studio-79y5sz51.js";
13
+ } from "./studio-vw7mzp6z.js";
14
14
  import {
15
15
  activeTab2
16
- } from "./studio-az3zd49t.js";
16
+ } from "./studio-k75n7vhp.js";
17
17
  import {
18
18
  registerSurface,
19
19
  mountSurface,
20
+ runReported,
21
+ runActiveReported,
20
22
  getLayerSlot2
21
- } from "./studio-erdatzvp.js";
23
+ } from "./studio-vfq8qpjt.js";
22
24
  import {
23
25
  activeRegistry
24
- } from "./studio-5jy81t3s.js";
26
+ } from "./studio-kkqkcp3d.js";
25
27
  import {
26
28
  reactive
27
29
  } from "./studio-p1dw8wfw.js";
@@ -30,7 +32,7 @@ import {
30
32
  getRecentFiles,
31
33
  trackRecentFile,
32
34
  openFileInTab2
33
- } from "./studio-18avnhjp.js";
35
+ } from "./studio-b0k5tqgp.js";
34
36
  // src/surfaces/palette.json
35
37
  var palette_default = {
36
38
  $schema: "https://jxsuite.com/schema/v1",
@@ -931,14 +933,7 @@ function runCommand(command, args) {
931
933
  }
932
934
  trackRecentCommand(command.id);
933
935
  closeQuickSearch();
934
- const report = (error) => {
935
- console.error(`palette: command "${command.id}" failed`, error);
936
- };
937
- try {
938
- Promise.resolve(registry.run(command.id, args)).catch(report);
939
- } catch (error) {
940
- report(error);
941
- }
936
+ runReported(registry, command.id, args, "Palette");
942
937
  }
943
938
  function selectRow(row) {
944
939
  switch (row.kind) {
@@ -958,9 +953,8 @@ function selectRow(row) {
958
953
  return;
959
954
  }
960
955
  case "node": {
961
- const registry = activeRegistry();
962
956
  closeQuickSearch();
963
- registry?.run("selection.set", { path: row.path });
957
+ runActiveReported("selection.set", { path: row.path }, "Palette");
964
958
  return;
965
959
  }
966
960
  case "arg": {
@@ -1164,5 +1158,5 @@ function renderOverlay() {
1164
1158
 
1165
1159
  export { initQuickSearch2, openQuickSearch2 };
1166
1160
 
1167
- //# debugId=46E99F715645799364756E2164756E21
1168
- //# sourceMappingURL=studio-5rt7sqa0.js.map
1161
+ //# debugId=EFFDF77A3587A37264756E2164756E21
1162
+ //# sourceMappingURL=studio-a79k90n9.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  ensureCaret
3
- } from "./studio-5jy81t3s.js";
3
+ } from "./studio-kkqkcp3d.js";
4
4
  import {
5
5
  registerSurface,
6
6
  mountSurface,
7
7
  getLayerSlot2,
8
8
  clearLayerSlot2
9
- } from "./studio-erdatzvp.js";
9
+ } from "./studio-vfq8qpjt.js";
10
10
  import {
11
11
  reactive
12
12
  } from "./studio-p1dw8wfw.js";
@@ -419,4 +419,4 @@ function restoreFocus(opener) {
419
419
  export { openMenu2 };
420
420
 
421
421
  //# debugId=AF40C481EA74291464756E2164756E21
422
- //# sourceMappingURL=studio-3gxv60tn.js.map
422
+ //# sourceMappingURL=studio-aj37eer3.js.map
@@ -20,15 +20,17 @@ import {
20
20
  activateTab2,
21
21
  moveTabToPane2,
22
22
  renameTab2
23
- } from "./studio-az3zd49t.js";
23
+ } from "./studio-k75n7vhp.js";
24
24
  import {
25
25
  registerSurface,
26
26
  mountSurface,
27
+ runReported,
28
+ runActiveReported,
27
29
  showPromptDialog2
28
- } from "./studio-erdatzvp.js";
30
+ } from "./studio-vfq8qpjt.js";
29
31
  import {
30
32
  activeRegistry
31
- } from "./studio-5jy81t3s.js";
33
+ } from "./studio-kkqkcp3d.js";
32
34
  import {
33
35
  reactive,
34
36
  now,
@@ -52,16 +54,16 @@ import {
52
54
  noFormatError2,
53
55
  formatForPath2,
54
56
  documentExtensions2
55
- } from "./studio-79y5sz51.js";
57
+ } from "./studio-vw7mzp6z.js";
56
58
  import {
57
59
  resetIgnoreCache,
58
60
  ensureIgnoreLayers,
59
61
  isIgnoredEntry,
60
62
  markLocalMutation2
61
- } from "./studio-8jn5yhyn.js";
63
+ } from "./studio-g3jevyjt.js";
62
64
  import {
63
65
  invalidateUsages2
64
- } from "./studio-81390n6f.js";
66
+ } from "./studio-nq5yf5mp.js";
65
67
  import {
66
68
  parseJsonDocument,
67
69
  restoreSession,
@@ -69,7 +71,7 @@ import {
69
71
  markSessionRestored,
70
72
  setActivityTab,
71
73
  resetProjectShell
72
- } from "./studio-25hkdrkw.js";
74
+ } from "./studio-qk90fgqm.js";
73
75
  import {
74
76
  SETTINGS,
75
77
  readStoredSetting,
@@ -77,19 +79,19 @@ import {
77
79
  } from "./studio-y9zedyjn.js";
78
80
  import {
79
81
  showProgressModal
80
- } from "./studio-cpvb2ed1.js";
82
+ } from "./studio-tqgryxwg.js";
81
83
  import {
82
84
  registerPanel
83
- } from "./studio-26d7myd1.js";
85
+ } from "./studio-8scdew0e.js";
84
86
  import {
85
87
  disarmPreviewOverlay,
86
88
  parseSourceForPath2,
87
89
  confirmFileDelete2,
88
90
  renamePromptMessage2
89
- } from "./studio-rpyah2ew.js";
91
+ } from "./studio-gb13095a.js";
90
92
  import {
91
93
  loadComponentRegistry2
92
- } from "./studio-d055c37e.js";
94
+ } from "./studio-zdn2g6dt.js";
93
95
  import {
94
96
  combine,
95
97
  dropTargetForElements2,
@@ -103,19 +105,19 @@ import {
103
105
  isViewableMedia,
104
106
  openMediaTab,
105
107
  cleanupGitPanel2
106
- } from "./studio-pm6hgy7r.js";
108
+ } from "./studio-5wt9nvhd.js";
107
109
  import {
108
110
  uploadAccept,
109
111
  isImage,
110
112
  uploadAssets
111
- } from "./studio-vz68yn9e.js";
113
+ } from "./studio-jxp12rnj.js";
112
114
  import {
113
115
  openCsvGridTab,
114
116
  openPagesGrid
115
- } from "./studio-em9nw8eh.js";
117
+ } from "./studio-pxbgypmg.js";
116
118
  import {
117
119
  openMenu2
118
- } from "./studio-3gxv60tn.js";
120
+ } from "./studio-aj37eer3.js";
119
121
  import {
120
122
  listWindow,
121
123
  revealListRow,
@@ -123,7 +125,7 @@ import {
123
125
  } from "./studio-38emantv.js";
124
126
  import {
125
127
  collectionOfPath
126
- } from "./studio-sgdc5pfc.js";
128
+ } from "./studio-qhhm6hbt.js";
127
129
  import {
128
130
  __preload
129
131
  } from "./studio-5te5tqng.js";
@@ -1876,7 +1878,7 @@ function placedFileRows(entry) {
1876
1878
  }
1877
1879
  const reason = registry.disabledReason(command.id);
1878
1880
  rows.push(reason === undefined ? treeMenuRow(command.id, command.title, () => {
1879
- registry.run(command.id, args);
1881
+ runReported(registry, command.id, args, "Files");
1880
1882
  }) : {
1881
1883
  destructive: false,
1882
1884
  disabled: true,
@@ -2079,7 +2081,7 @@ async function createNewFile(dirPath, renderLeftPanel) {
2079
2081
  const seedable = constrained && collection.isSourceRoot && collection.def.schema !== undefined;
2080
2082
  let created;
2081
2083
  if (seedable) {
2082
- const { createEntry } = await (__preload("d6g50j7s"), import("./entry-commands-d6g50j7s.js"));
2084
+ const { createEntry } = await (__preload("234hjnqw"), import("./entry-commands-234hjnqw.js"));
2083
2085
  created = await createEntry(collection.name, { dir: dirPath });
2084
2086
  } else {
2085
2087
  created = await createFileIn2({
@@ -2378,7 +2380,7 @@ var FILE_ACTIONS = {
2378
2380
  createNewFile(".", repaintFiles);
2379
2381
  },
2380
2382
  openProject: () => {
2381
- activeRegistry()?.run("project.open");
2383
+ runActiveReported("project.open", undefined, "Files");
2382
2384
  },
2383
2385
  refresh: () => {
2384
2386
  refreshFileTree();
@@ -2426,5 +2428,5 @@ function unmountFilesPanel() {
2426
2428
 
2427
2429
  export { ensureDependenciesInstalled, convertTargets, convertTargetExtensions, hydrateRecentProjects, getRecentProjects, addRecentProject, removeRecentProject, clearRecentProjects, getRecentFiles, trackRecentFile, loadDirectory2, loadProject2, openProject2, initProjectRepo2, findHomePage2, openLastSessionOrHome2, renderFilesTemplate2, registerFileTreeDnD2, createFileIn2, notifyMoveOutcome2, settleRename2, openFileInTab2, openFileInPane2, reloadCleanTab2, reloadFileInTab2, registerFilesPanel2 };
2428
2430
 
2429
- //# debugId=5083AA46217E6A1764756E2164756E21
2430
- //# sourceMappingURL=studio-18avnhjp.js.map
2431
+ //# debugId=E1EE7183DAEAEF7C64756E2164756E21
2432
+ //# sourceMappingURL=studio-b0k5tqgp.js.map
@@ -4,7 +4,7 @@ import {
4
4
  formatForPath2,
5
5
  defaultContentFormat2,
6
6
  formatSerialize2
7
- } from "./studio-79y5sz51.js";
7
+ } from "./studio-vw7mzp6z.js";
8
8
  import {
9
9
  effectScope,
10
10
  effect,
@@ -32,24 +32,24 @@ import {
32
32
  workspace2,
33
33
  activeTab2,
34
34
  activateTab2
35
- } from "./studio-az3zd49t.js";
35
+ } from "./studio-k75n7vhp.js";
36
36
  import {
37
37
  errorMessage2
38
38
  } from "./studio-yxa81f45.js";
39
39
  import {
40
40
  activeRegistry
41
- } from "./studio-5jy81t3s.js";
41
+ } from "./studio-kkqkcp3d.js";
42
42
  import {
43
43
  paneRegion,
44
44
  registerSurface,
45
45
  mountSurface
46
- } from "./studio-erdatzvp.js";
46
+ } from "./studio-vfq8qpjt.js";
47
47
  import {
48
48
  registerFormControl,
49
49
  referenceTarget,
50
50
  mountSchemaForm,
51
51
  resolveContextPointer
52
- } from "./studio-57mf66w2.js";
52
+ } from "./studio-js8nv53n.js";
53
53
  import {
54
54
  DRAFT_FIELD,
55
55
  DRAFT_MEANING,
@@ -57,20 +57,20 @@ import {
57
57
  hasDraftAxis,
58
58
  setIncludeDrafts,
59
59
  reloadDraftAwareGrids2
60
- } from "./studio-x3rty6tr.js";
60
+ } from "./studio-1knfqgy7.js";
61
61
  import {
62
62
  serializeJson
63
- } from "./studio-25hkdrkw.js";
63
+ } from "./studio-qk90fgqm.js";
64
64
  import {
65
65
  notePreviewOverlayEdit
66
- } from "./studio-rpyah2ew.js";
66
+ } from "./studio-gb13095a.js";
67
67
  import {
68
68
  entryCollection,
69
69
  entryCollections,
70
70
  collectionOfPath,
71
71
  seedEntry,
72
72
  missingRequired
73
- } from "./studio-sgdc5pfc.js";
73
+ } from "./studio-qhhm6hbt.js";
74
74
  import {
75
75
  cloneValue2
76
76
  } from "./studio-727xh0e3.js";
@@ -1973,7 +1973,7 @@ function entryIdsFor(collection) {
1973
1973
  if (known) {
1974
1974
  return known;
1975
1975
  }
1976
- const pending = (__preload("3wqeas45"), import("./content-source-3wqeas45.js")).then((m) => m.listCollectionEntryIds(collection));
1976
+ const pending = (__preload("5mex4x1h"), import("./content-source-5mex4x1h.js")).then((m) => m.listCollectionEntryIds(collection));
1977
1977
  entryIdCache.set(collection, pending);
1978
1978
  return pending;
1979
1979
  }
@@ -2641,7 +2641,7 @@ function renderEntryMode(surface, tab) {
2641
2641
  });
2642
2642
  }
2643
2643
  async function openEntryEditor(path) {
2644
- const { openFileInTab } = await (__preload("ef8fgs3w"), import("./files-ef8fgs3w.js"));
2644
+ const { openFileInTab } = await (__preload("hnxqxtsg"), import("./files-hnxqxtsg.js"));
2645
2645
  await openFileInTab(path);
2646
2646
  for (const [id, tab] of workspace2.tabs.entries()) {
2647
2647
  if (tab.documentPath !== path) {
@@ -2703,7 +2703,7 @@ async function createEntry2(collectionName, opts = {}) {
2703
2703
  });
2704
2704
  return null;
2705
2705
  }
2706
- const { createFileIn } = await (__preload("ef8fgs3w"), import("./files-ef8fgs3w.js"));
2706
+ const { createFileIn } = await (__preload("hnxqxtsg"), import("./files-hnxqxtsg.js"));
2707
2707
  const created = await createFileIn({
2708
2708
  content,
2709
2709
  dir: destination,
@@ -2808,4 +2808,4 @@ function registerContentCommands2(registry) {
2808
2808
  export { FIELD_TYPES, FORMAT_OPTIONS, detectFieldType, detectFieldFormat, schemaForType, referenceEntryState, entryFields, entryPaneMounted, detachEntryPane, entryDraftPill, renderEntryMode, createEntry2, registerContentCommands2 };
2809
2809
 
2810
2810
  //# debugId=BCB2AC86669613BA64756E2164756E21
2811
- //# sourceMappingURL=studio-fabxk6r9.js.map
2811
+ //# sourceMappingURL=studio-b4s9eykd.js.map
@@ -11,7 +11,7 @@ import {
11
11
  registerSurface,
12
12
  mountSurface,
13
13
  layerHost2
14
- } from "./studio-erdatzvp.js";
14
+ } from "./studio-vfq8qpjt.js";
15
15
  import {
16
16
  reactive
17
17
  } from "./studio-p1dw8wfw.js";
@@ -23,17 +23,17 @@ import {
23
23
  uploadAssets,
24
24
  mediaSiteUrl,
25
25
  previewFileSrc
26
- } from "./studio-vz68yn9e.js";
26
+ } from "./studio-jxp12rnj.js";
27
27
  import {
28
28
  peekMediaMeta,
29
29
  seedMediaMeta,
30
30
  recordImageSize,
31
31
  invalidateMediaMeta,
32
32
  mediaMetaSummary
33
- } from "./studio-5523bpzt.js";
33
+ } from "./studio-syg2tadj.js";
34
34
  import {
35
35
  previewAssetSrc
36
- } from "./studio-4m0haseg.js";
36
+ } from "./studio-nzzpvzx9.js";
37
37
  import {
38
38
  rectOf
39
39
  } from "./studio-rs76k67r.js";
@@ -836,4 +836,4 @@ function unmountMediaPicker2(host) {
836
836
  export { openPopoverSurface, invalidateMediaCache2, showMediaPickerPopover2, uploadAndAssign2, pickAndUpload2, mountMediaPicker2, unmountMediaPicker2 };
837
837
 
838
838
  //# debugId=9A676D8FC549E4AE64756E2164756E21
839
- //# sourceMappingURL=studio-8qtrpzr3.js.map
839
+ //# sourceMappingURL=studio-e1pgga3k.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./studio-6nzaktvy.js";
4
4
  import {
5
5
  invalidateUsages2
6
- } from "./studio-81390n6f.js";
6
+ } from "./studio-nq5yf5mp.js";
7
7
  import {
8
8
  projectState
9
9
  } from "./studio-6ewqv390.js";
@@ -391,4 +391,4 @@ function startFsSync2(ctx) {
391
391
  export { resetIgnoreCache, ensureIgnoreLayers, isIgnoredEntry, markLocalMutation2, isRecentLocal2, startFsSync2 };
392
392
 
393
393
  //# debugId=021BCC8E71B450F764756E2164756E21
394
- //# sourceMappingURL=studio-8jn5yhyn.js.map
394
+ //# sourceMappingURL=studio-g3jevyjt.js.map
@@ -11,7 +11,7 @@ import {
11
11
  import {
12
12
  loadUsages2,
13
13
  usageWarning2
14
- } from "./studio-81390n6f.js";
14
+ } from "./studio-nq5yf5mp.js";
15
15
  import {
16
16
  effectScope,
17
17
  onScopeDispose,
@@ -34,7 +34,7 @@ import {
34
34
  formatParse2,
35
35
  formatSerialize2,
36
36
  splitFormatDocument2
37
- } from "./studio-79y5sz51.js";
37
+ } from "./studio-vw7mzp6z.js";
38
38
  import {
39
39
  getNodeAtPath2,
40
40
  childList,
@@ -59,10 +59,10 @@ import {
59
59
  PRIMARY_PANE2,
60
60
  workspace2,
61
61
  activeTab2
62
- } from "./studio-az3zd49t.js";
62
+ } from "./studio-k75n7vhp.js";
63
63
  import {
64
64
  isMediaFile
65
- } from "./studio-vz68yn9e.js";
65
+ } from "./studio-jxp12rnj.js";
66
66
  import {
67
67
  POPOVER_DEFAULT_MODE,
68
68
  findPopoverDefects,
@@ -70,37 +70,38 @@ import {
70
70
  POPOVER_TAGS,
71
71
  INVOKER_TAGS,
72
72
  activeRegistry
73
- } from "./studio-5jy81t3s.js";
73
+ } from "./studio-kkqkcp3d.js";
74
74
  import {
75
75
  paneRegion,
76
76
  registerSurface,
77
77
  mountSurface,
78
+ runReported,
78
79
  showConfirmDialog2
79
- } from "./studio-erdatzvp.js";
80
+ } from "./studio-vfq8qpjt.js";
80
81
  import {
81
82
  openMenu2
82
- } from "./studio-3gxv60tn.js";
83
+ } from "./studio-aj37eer3.js";
83
84
  import {
84
85
  parseJsonDocument,
85
86
  serializeJson,
86
87
  shell
87
- } from "./studio-25hkdrkw.js";
88
+ } from "./studio-qk90fgqm.js";
88
89
  import {
89
90
  deployStatusItem
90
- } from "./studio-tb3ev01j.js";
91
+ } from "./studio-mhhyamxf.js";
91
92
  import {
92
93
  tabOfPane,
93
94
  derivationOfPane,
94
95
  findDialogDefects,
95
96
  flushCanvasEdits2
96
- } from "./studio-rkstz940.js";
97
+ } from "./studio-1z1kcjv4.js";
97
98
  import {
98
99
  isRecentLocal2
99
- } from "./studio-8jn5yhyn.js";
100
+ } from "./studio-g3jevyjt.js";
100
101
  import {
101
102
  showProgressModal,
102
103
  loadMediaUsages
103
- } from "./studio-cpvb2ed1.js";
104
+ } from "./studio-tqgryxwg.js";
104
105
  import {
105
106
  validateComponentSlots
106
107
  } from "./studio-q0a3yk4n.js";
@@ -805,7 +806,7 @@ function openChoices(segment, anchor) {
805
806
  dividerAbove: false,
806
807
  id: String(i),
807
808
  run: () => {
808
- registry.run(choice.command, choice.args);
809
+ runReported(registry, choice.command, choice.args, "Jump Bar");
809
810
  },
810
811
  title: choice.label
811
812
  }));
@@ -876,7 +877,7 @@ function attachJumpBarHost(paneId, host) {
876
877
  const segment = _bars.get(paneId)?.segments.get(key);
877
878
  const registry = activeRegistry();
878
879
  if (segment?.command && registry) {
879
- registry.run(segment.command, segment.args);
880
+ runReported(registry, segment.command, segment.args, "Jump Bar");
880
881
  }
881
882
  }
882
883
  })
@@ -1196,7 +1197,7 @@ function state() {
1196
1197
  const item = _state?.fields.flatMap((field) => field.items).find((i) => i.key === key);
1197
1198
  const registry = activeRegistry();
1198
1199
  if (item?.command && registry) {
1199
- registry.run(item.command, item.args);
1200
+ runReported(registry, item.command, item.args, "Status Bar");
1200
1201
  }
1201
1202
  }
1202
1203
  });
@@ -2801,5 +2802,5 @@ async function renamePromptMessage2(path, verb = "rename") {
2801
2802
 
2802
2803
  export { cellValuesEqual, makeGridTabId, parseGridTabId, gridTabLabel, columnsFromSchema, inferColumnsFromRows, coerceCellInput, cellToText, ROW_KEY_FIELD, getGridController, createGridController, PANE_SELECTOR, STAGE_SELECTOR, mountPaneGridSurface, attachJumpBarHost, mountJumpBar, projectSessions, renderStatusbar, mountStatusbar, registerPopoverCommands, serializeDocument, notePreviewOverlayEdit, armPreviewOverlay, disarmPreviewOverlay, flushPreviewOverlay, mediaTypeEssence, parseSourceForPath2, parseCollabSource2, setDocumentSavedListener2, saveFile2, exportFile2, confirmFileDelete2, renamePromptMessage2 };
2803
2804
 
2804
- //# debugId=F690D395FACA498E64756E2164756E21
2805
- //# sourceMappingURL=studio-rpyah2ew.js.map
2805
+ //# debugId=4552E6F8EAA3D63064756E2164756E21
2806
+ //# sourceMappingURL=studio-gb13095a.js.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  intlHelpersClause
3
- } from "./studio-5jy81t3s.js";
3
+ } from "./studio-kkqkcp3d.js";
4
4
  import {
5
5
  LANGUAGE_TAG_PATTERN,
6
6
  activeTab2
7
- } from "./studio-az3zd49t.js";
7
+ } from "./studio-k75n7vhp.js";
8
8
  import {
9
9
  isRef2,
10
10
  isFunctionDef,
@@ -16,10 +16,10 @@ import {
16
16
  import {
17
17
  registerSurface,
18
18
  mountSurface
19
- } from "./studio-erdatzvp.js";
19
+ } from "./studio-vfq8qpjt.js";
20
20
  import {
21
21
  openMenu2
22
- } from "./studio-3gxv60tn.js";
22
+ } from "./studio-aj37eer3.js";
23
23
  import {
24
24
  cloneValue2
25
25
  } from "./studio-727xh0e3.js";
@@ -3502,4 +3502,4 @@ function resolveContextPointer(pointer, opts) {
3502
3502
  export { REDIRECT_STATUSES, VALUE_SOURCE_LABELS, VALUE_SOURCE_HINTS, slotMode, TAG_EXPRESSION_OPERATORS, capsForPosition, slotCaps, stashSlotValue, hasStashedSlotValue, effectiveSlotMode, slotModeSeed, switchSlotMode, registerFormControl, referenceTarget, mountSchemaForm, resolveContextPointer };
3503
3503
 
3504
3504
  //# debugId=427B709FE510BC3D64756E2164756E21
3505
- //# sourceMappingURL=studio-57mf66w2.js.map
3505
+ //# sourceMappingURL=studio-js8nv53n.js.map
@@ -13,18 +13,18 @@ import {
13
13
  } from "./studio-6ewqv390.js";
14
14
  import {
15
15
  activeTab2
16
- } from "./studio-az3zd49t.js";
16
+ } from "./studio-k75n7vhp.js";
17
17
  import {
18
18
  PUBLIC_DIR,
19
19
  normalizeProjectPath,
20
20
  encodeProjectPath
21
- } from "./studio-5jy81t3s.js";
21
+ } from "./studio-kkqkcp3d.js";
22
22
  import {
23
23
  contentMountFor,
24
24
  loopbackAssetSrc,
25
25
  projectLocales2,
26
26
  hostAssetDeclarations
27
- } from "./studio-4m0haseg.js";
27
+ } from "./studio-nzzpvzx9.js";
28
28
 
29
29
  // src/files/media-upload.ts
30
30
  var IMAGE_EXTENSIONS = new Set([
@@ -237,4 +237,4 @@ function previewFileSrc(path) {
237
237
  export { IMAGE_EXTENSIONS, MEDIA_EXTENSIONS, uploadAccept, extensionOf, isImage, isMediaFile, mediaKind, setMediaChangedHandler, uploadAssets, baseName, dirName, mediaSiteUrl, previewFileSrc };
238
238
 
239
239
  //# debugId=4C51950010FE40AA64756E2164756E21
240
- //# sourceMappingURL=studio-vz68yn9e.js.map
240
+ //# sourceMappingURL=studio-jxp12rnj.js.map