unsys-canvas 0.1.0 → 0.1.2

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.
package/dist/index.d.ts CHANGED
@@ -252,11 +252,11 @@ declare function unsysCanvasHasLiveElements(scene: UnsysCanvasScene | null | und
252
252
  declare const UNSYS_CANVAS_COMMANDS: readonly [{
253
253
  readonly id: "simplify";
254
254
  readonly label: "Simplify";
255
- readonly tooltip: "Replace the selected marks with a shorter, plainer rewrite. If the selection is a term, make the meaning plain.";
255
+ readonly tooltip: "Keep the original marks and place a shorter, plainer rewrite next to them. If the selection is a term, make the meaning plain.";
256
256
  readonly shortcut: "s";
257
257
  readonly needsSelection: true;
258
258
  readonly boardOnly: false;
259
- readonly replacesSelection: true;
259
+ readonly replacesSelection: false;
260
260
  }, {
261
261
  readonly id: "breakdown";
262
262
  readonly label: "Subdivide";
@@ -299,6 +299,7 @@ type UnsysCanvasHostCommand = {
299
299
  shortcut?: string;
300
300
  slash?: string;
301
301
  needsSelection?: boolean;
302
+ /** Ignored. Only Refactor may replace the selection. */
302
303
  replacesSelection?: boolean;
303
304
  run?: (ctx: {
304
305
  selectedElements: UnsysCanvasElement[];
@@ -334,9 +335,9 @@ type UnsysCanvasCommandRun = {
334
335
  };
335
336
  /**
336
337
  * Local result of a sidebar/dock command click.
337
- * Subdivide, Focus, and Next mutate now. Simplify and Refactor drop the
338
- * original marks immediately, then ask XAI. Do/run and Concepts keep the
339
- * original and ask. A click that cannot run returns a short board notice instead of going silent.
338
+ * Subdivide, Focus, and Next mutate now. Refactor drops the original marks
339
+ * immediately, then asks XAI. Simplify, Do/run, and Concepts keep the original
340
+ * and ask. A click that cannot run returns a short board notice instead of going silent.
340
341
  */
341
342
  declare function runUnsysCanvasCommand(input: {
342
343
  action: UnsysCanvasCommandId;