@flighthq/command 0.5.1-next.1723.553fc7a → 0.5.1-next.1724.c250cb4

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/README.md CHANGED
@@ -13,5 +13,5 @@ Import the supported application-facing API from `@flighthq/command`. The `@flig
13
13
  This package is part of the locked-version Flight SDK graph. Applications may instead install and import `@flighthq/sdk` when package-level tree shaking is sufficient.
14
14
 
15
15
  - [Flight project](https://github.com/flighthq/flight)
16
- - [Source for @flighthq/command@0.5.1-next.1723.553fc7a](https://github.com/flighthq/flight/tree/553fc7a1292841a9d196d6a6c7e366a888c90e0f/packages/command)
17
- - [License](https://github.com/flighthq/flight/blob/553fc7a1292841a9d196d6a6c7e366a888c90e0f/LICENSE.md)
16
+ - [Source for @flighthq/command@0.5.1-next.1724.c250cb4](https://github.com/flighthq/flight/tree/c250cb4b50daa2af7ec8390f9ae207aa0b2110dc/packages/command)
17
+ - [License](https://github.com/flighthq/flight/blob/c250cb4b50daa2af7ec8390f9ae207aa0b2110dc/LICENSE.md)
@@ -1,6 +1,6 @@
1
1
  import { allocateEntity, finishEntity } from '@flighthq/entity/contract';
2
2
  import { emitSignal } from '@flighthq/signals/contract';
3
- import { createCommandBindingTable, getCommandBinding } from './commandBinding';
3
+ import { createCommandBindingTable, getCommandBinding } from "./commandBinding.js";
4
4
  /** Whether there is an applied entry to reverse. */
5
5
  export function canRedoCommand(history) {
6
6
  return history.index < history.entries.length;
@@ -1 +1 @@
1
- {"version":3,"file":"commandHistory.js","sourceRoot":"","sources":["../src/commandHistory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzE,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAGxD,OAAO,EAAE,yBAAyB,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAEhF,oDAAoD;AACpD,MAAM,UAAU,cAAc,CAAC,OA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oEAAoE;AACpE,SAAS,kBAAkB,CAAC,OAAuB;IACjD,IAAI,OAAO,CAAC,OAAO,IAAI,CAAC,IAAI,OAAO,CAAC,OAAO,CAAC,MAAM,IAAI,OAAO,CAAC,OAAO;QAAE,OAAO;IAC9E,MAAM,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IACxD,OAAO,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC;IAClC,OAAO,CAAC,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,OAAO,CAAC,KAAK,GAAG,MAAM,CAAC,CAAC;IACpD,OAAO,CAAC,gBAAgB,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,OAAO,CAAC,gBAAgB,GAAG,MAAM,CAAC,CAAC;AAC5E,CAAC"}
@@ -1,6 +1,6 @@
1
- import { createCompositeCommand } from './command';
2
- import { getCommandBinding } from './commandBinding';
3
- import { notifyCommandHistoryChanged } from './commandHistory';
1
+ import { createCompositeCommand } from "./command.js";
2
+ import { getCommandBinding } from "./commandBinding.js";
3
+ import { notifyCommandHistoryChanged } from "./commandHistory.js";
4
4
  // Transaction brackets, for operations whose full set of sub-commands is not known upfront — a gizmo drag
5
5
  // that emits one command per frame, a paste that discovers what it is pasting as it goes.
6
6
  //
@@ -1 +1 @@
1
- {"version":3,"file":"commandTransaction.js","sourceRoot":"","sources":["../src/commandTransaction.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,sBAAsB,EAAE,MAAM,WAAW,CAAC;AACnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EAAE,2BAA2B,EAAE,MAAM,kBAAkB,CAAC;AAE/D,0GAA0G;AAC1G,0FAA0F;AAC1F,EAAE;AACF,0GAA0G;AAC1G,mGAAmG;AAEnG,wGAAwG;AACxG,mGAAmG;AACnG,MAAM,UAAU,uBAAuB,CAAC,OA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AC;QAAE,OAAO,IAAI,CAAC;IAE9C,MAAM,KAAK,GAAG,OAAO,CAAC,gBAAgB,CAAC;IACvC,MAAM,SAAS,GAAG,OAAO,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IAC/C,MAAM,KAAK,GAAG,OAAO,CAAC,gBAAgB,IAAI,EAAE,CAAC;IAC7C,OAAO,CAAC,gBAAgB,GAAG,IAAI,CAAC;IAChC,IAAI,SAAS,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,IAAI,CAAC;IAExC,uGAAuG;IACvG,qGAAqG;IACrG,qDAAqD;IACrD,OAAO,CAAC,OAAO,CAAC,MAAM,GAAG,KAAK,CAAC;IAC/B,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,sBAAsB,CAAC,KAAK,EAAE,SAAS,CAAC,CAAC,CAAC;IACvG,OAAO,CAAC,KAAK,GAAG,KAAK,GAAG,CAAC,CAAC;IAC1B,2BAA2B,CAAC,OAAO,CAAC,CAAC;IACrC,OAAO,IAAI,CAAC;AACd,CAAC;AAED,2CAA2C;AAC3C,MAAM,UAAU,wBAAwB,CAAC,OAAiC;IACxE,OAAO,OAAO,CAAC,gBAAgB,GAAG,CAAC,CAAC;AACtC,CAAC"}
@@ -1,7 +1,7 @@
1
- export * from './command';
2
- export * from './commandBinding';
3
- export * from './commandHistory';
4
- export * from './commandHistorySignals';
5
- export * from './commandTransaction';
6
- export * from './explainCommandDispatch';
1
+ export * from './command.ts';
2
+ export * from './commandBinding.ts';
3
+ export * from './commandHistory.ts';
4
+ export * from './commandHistorySignals.ts';
5
+ export * from './commandTransaction.ts';
6
+ export * from './explainCommandDispatch.ts';
7
7
  //# sourceMappingURL=contract.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"contract.d.ts","sourceRoot":"","sources":["../src/contract.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,yBAAyB,CAAC;AACxC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC"}
1
+ {"version":3,"file":"contract.d.ts","sourceRoot":"","sources":["../src/contract.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yBAAyB,CAAC;AACxC,cAAc,6BAA6B,CAAC"}
package/dist/contract.js CHANGED
@@ -1,7 +1,7 @@
1
- export * from './command';
2
- export * from './commandBinding';
3
- export * from './commandHistory';
4
- export * from './commandHistorySignals';
5
- export * from './commandTransaction';
6
- export * from './explainCommandDispatch';
1
+ export * from "./command.js";
2
+ export * from "./commandBinding.js";
3
+ export * from "./commandHistory.js";
4
+ export * from "./commandHistorySignals.js";
5
+ export * from "./commandTransaction.js";
6
+ export * from "./explainCommandDispatch.js";
7
7
  //# sourceMappingURL=contract.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"contract.js","sourceRoot":"","sources":["../src/contract.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,yBAAyB,CAAC;AACxC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC"}
1
+ {"version":3,"file":"contract.js","sourceRoot":"","sources":["../src/contract.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yBAAyB,CAAC;AACxC,cAAc,6BAA6B,CAAC"}
@@ -1,4 +1,4 @@
1
- import { getCommandBinding } from './commandBinding';
1
+ import { getCommandBinding } from "./commandBinding.js";
2
2
  // Why `executeCommand` would refuse, as plain data rather than a message. A separately importable query,
3
3
  // so a caller who never asks pays nothing for it and the core carries no prose — the diagnostics inversion
4
4
  // rule. Descends into composites, because a composite whose child kind is unregistered dispatches into a
@@ -1 +1 @@
1
- {"version":3,"file":"explainCommandDispatch.js","sourceRoot":"","sources":["../src/explainCommandDispatch.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAErD,yGAAyG;AACzG,2GAA2G;AAC3G,yGAAyG;AACzG,+DAA+D;AAC/D,MAAM,UAAU,sBAAsB,CACpC,OAAiC,EACjC,OAA0B;IAE1B,MAAM,WAAW,GAAG,sBAAsB,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IAC7D,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,WAAW,KAAK,IAAI,EAAE,CAAC;AACzD,CAAC;AAED,SAAS,sBAAsB,CAAC,OAAiC,EAAE,OAA0B;IAC3F,IAAI,iBAAiB,CAAC,OAAO,EAAE,OAAO,CAAC,IAAI,CAAC,KAAK,IAAI;QAAE,OAAO,OAAO,CAAC,IAAI,CAAC;IAC3E,MAAM,QAAQ,GAAI,OAA+C,CAAC,QAAQ,CAAC;IAC3E,IAAI,QAAQ,KAAK,SAAS;QAAE,OAAO,IAAI,CAAC;IACxC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,QAAQ,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;QACzC,MAAM,OAAO,GAAG,sBAAsB,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC;QAC7D,IAAI,OAAO,KAAK,IAAI;YAAE,OAAO,OAAO,CAAC;IACvC,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC"}
1
+ {"version":3,"file":"explainCommandDispatch.js","sourceRoot":"","sources":["../src/explainCommandDispatch.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,yGAAyG;AACzG,2GAA2G;AAC3G,yGAAyG;AACzG,+DAA+D;AAC/D,MAAM,UAAU,sBAAsB,CACpC,OAAiC,EACjC,OAA0B;IAE1B,MAAM,WAAW,GAAG,sBAAsB,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IAC7D,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,WAAW,KAAK,IAAI,EAAE,CAAC;AACzD,CAAC;AAED,SAAS,sBAAsB,CAAC,OAAiC,EAAE,OAA0B;IAC3F,IAAI,iBAAiB,CAAC,OAAO,EAAE,OAAO,CAAC,IAAI,CAAC,KAAK,IAAI;QAAE,OAAO,OAAO,CAAC,IAAI,CAAC;IAC3E,MAAM,QAAQ,GAAI,OAA+C,CAAC,QAAQ,CAAC;IAC3E,IAAI,QAAQ,KAAK,SAAS;QAAE,OAAO,IAAI,CAAC;IACxC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,QAAQ,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;QACzC,MAAM,OAAO,GAAG,sBAAsB,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC;QAC7D,IAAI,OAAO,KAAK,IAAI;YAAE,OAAO,OAAO,CAAC;IACvC,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC"}
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- export { createAddNodeChildCommand, createCompositeCommand, createRemoveNodeChildCommand, createReorderNodeChildCommand, createSetNodePropertyCommand, createSetNodePropertyCommandBatch, } from './command';
2
- export { createCommandBindingTable, getCommandBinding, hasCommandBinding, registerCommandBinding, registerDefaultCommandBindings, } from './commandBinding';
3
- export { canRedoCommand, canUndoCommand, clearCommandHistory, createCommandHistory, executeCommand, getCommandHistoryEntries, getCommandHistoryIndex, getCommandHistoryRedoLabel, getCommandHistoryUndoLabel, notifyCommandHistoryChanged, redoCommand, undoCommand, } from './commandHistory';
4
- export * from './commandHistorySignals';
5
- export * from './commandTransaction';
6
- export * from './explainCommandDispatch';
1
+ export { createAddNodeChildCommand, createCompositeCommand, createRemoveNodeChildCommand, createReorderNodeChildCommand, createSetNodePropertyCommand, createSetNodePropertyCommandBatch, } from './command.ts';
2
+ export { createCommandBindingTable, getCommandBinding, hasCommandBinding, registerCommandBinding, registerDefaultCommandBindings, } from './commandBinding.ts';
3
+ export { canRedoCommand, canUndoCommand, clearCommandHistory, createCommandHistory, executeCommand, getCommandHistoryEntries, getCommandHistoryIndex, getCommandHistoryRedoLabel, getCommandHistoryUndoLabel, notifyCommandHistoryChanged, redoCommand, undoCommand, } from './commandHistory.ts';
4
+ export * from './commandHistorySignals.ts';
5
+ export * from './commandTransaction.ts';
6
+ export * from './explainCommandDispatch.ts';
7
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,yBAAyB,EACzB,sBAAsB,EACtB,4BAA4B,EAC5B,6BAA6B,EAC7B,4BAA4B,EAC5B,iCAAiC,GAClC,MAAM,WAAW,CAAC;AACnB,OAAO,EACL,yBAAyB,EACzB,iBAAiB,EACjB,iBAAiB,EACjB,sBAAsB,EACtB,8BAA8B,GAC/B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,cAAc,EACd,cAAc,EACd,mBAAmB,EACnB,oBAAoB,EACpB,cAAc,EACd,wBAAwB,EACxB,sBAAsB,EACtB,0BAA0B,EAC1B,0BAA0B,EAC1B,2BAA2B,EAC3B,WAAW,EACX,WAAW,GACZ,MAAM,kBAAkB,CAAC;AAC1B,cAAc,yBAAyB,CAAC;AACxC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,yBAAyB,EACzB,sBAAsB,EACtB,4BAA4B,EAC5B,6BAA6B,EAC7B,4BAA4B,EAC5B,iCAAiC,GAClC,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,yBAAyB,EACzB,iBAAiB,EACjB,iBAAiB,EACjB,sBAAsB,EACtB,8BAA8B,GAC/B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,cAAc,EACd,cAAc,EACd,mBAAmB,EACnB,oBAAoB,EACpB,cAAc,EACd,wBAAwB,EACxB,sBAAsB,EACtB,0BAA0B,EAC1B,0BAA0B,EAC1B,2BAA2B,EAC3B,WAAW,EACX,WAAW,GACZ,MAAM,qBAAqB,CAAC;AAC7B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yBAAyB,CAAC;AACxC,cAAc,6BAA6B,CAAC"}
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
- export { createAddNodeChildCommand, createCompositeCommand, createRemoveNodeChildCommand, createReorderNodeChildCommand, createSetNodePropertyCommand, createSetNodePropertyCommandBatch, } from './command';
2
- export { createCommandBindingTable, getCommandBinding, hasCommandBinding, registerCommandBinding, registerDefaultCommandBindings, } from './commandBinding';
3
- export { canRedoCommand, canUndoCommand, clearCommandHistory, createCommandHistory, executeCommand, getCommandHistoryEntries, getCommandHistoryIndex, getCommandHistoryRedoLabel, getCommandHistoryUndoLabel, notifyCommandHistoryChanged, redoCommand, undoCommand, } from './commandHistory';
4
- export * from './commandHistorySignals';
5
- export * from './commandTransaction';
6
- export * from './explainCommandDispatch';
1
+ export { createAddNodeChildCommand, createCompositeCommand, createRemoveNodeChildCommand, createReorderNodeChildCommand, createSetNodePropertyCommand, createSetNodePropertyCommandBatch, } from "./command.js";
2
+ export { createCommandBindingTable, getCommandBinding, hasCommandBinding, registerCommandBinding, registerDefaultCommandBindings, } from "./commandBinding.js";
3
+ export { canRedoCommand, canUndoCommand, clearCommandHistory, createCommandHistory, executeCommand, getCommandHistoryEntries, getCommandHistoryIndex, getCommandHistoryRedoLabel, getCommandHistoryUndoLabel, notifyCommandHistoryChanged, redoCommand, undoCommand, } from "./commandHistory.js";
4
+ export * from "./commandHistorySignals.js";
5
+ export * from "./commandTransaction.js";
6
+ export * from "./explainCommandDispatch.js";
7
7
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,yBAAyB,EACzB,sBAAsB,EACtB,4BAA4B,EAC5B,6BAA6B,EAC7B,4BAA4B,EAC5B,iCAAiC,GAClC,MAAM,WAAW,CAAC;AACnB,OAAO,EACL,yBAAyB,EACzB,iBAAiB,EACjB,iBAAiB,EACjB,sBAAsB,EACtB,8BAA8B,GAC/B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,cAAc,EACd,cAAc,EACd,mBAAmB,EACnB,oBAAoB,EACpB,cAAc,EACd,wBAAwB,EACxB,sBAAsB,EACtB,0BAA0B,EAC1B,0BAA0B,EAC1B,2BAA2B,EAC3B,WAAW,EACX,WAAW,GACZ,MAAM,kBAAkB,CAAC;AAC1B,cAAc,yBAAyB,CAAC;AACxC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,yBAAyB,EACzB,sBAAsB,EACtB,4BAA4B,EAC5B,6BAA6B,EAC7B,4BAA4B,EAC5B,iCAAiC,GAClC,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,yBAAyB,EACzB,iBAAiB,EACjB,iBAAiB,EACjB,sBAAsB,EACtB,8BAA8B,GAC/B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,cAAc,EACd,cAAc,EACd,mBAAmB,EACnB,oBAAoB,EACpB,cAAc,EACd,wBAAwB,EACxB,sBAAsB,EACtB,0BAA0B,EAC1B,0BAA0B,EAC1B,2BAA2B,EAC3B,WAAW,EACX,WAAW,GACZ,MAAM,qBAAqB,CAAC;AAC7B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yBAAyB,CAAC;AACxC,cAAc,6BAA6B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flighthq/command",
3
- "version": "0.5.1-next.1723.553fc7a",
3
+ "version": "0.5.1-next.1724.c250cb4",
4
4
  "author": "Joshua Granick and other contributors",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -38,11 +38,11 @@
38
38
  "clean:dist": "tsx ../../scripts/clean-package-dist.ts"
39
39
  },
40
40
  "dependencies": {
41
- "@flighthq/entity": "0.5.1-next.1723.553fc7a",
42
- "@flighthq/node": "0.5.1-next.1723.553fc7a",
43
- "@flighthq/registry": "0.5.1-next.1723.553fc7a",
44
- "@flighthq/signals": "0.5.1-next.1723.553fc7a",
45
- "@flighthq/types": "0.5.1-next.1723.553fc7a"
41
+ "@flighthq/entity": "0.5.1-next.1724.c250cb4",
42
+ "@flighthq/node": "0.5.1-next.1724.c250cb4",
43
+ "@flighthq/registry": "0.5.1-next.1724.c250cb4",
44
+ "@flighthq/signals": "0.5.1-next.1724.c250cb4",
45
+ "@flighthq/types": "0.5.1-next.1724.c250cb4"
46
46
  },
47
47
  "devDependencies": {
48
48
  "typescript": "^5.3.0"
@@ -21,7 +21,7 @@ import {
21
21
  initializeCompositeCommand,
22
22
  initializeRemoveNodeChildCommand,
23
23
  initializeReorderNodeChildCommand,
24
- } from './command';
24
+ } from './command.ts';
25
25
 
26
26
  describe('createAddNodeChildCommand', () => {
27
27
  it('is Entity data carrying its kind, and appends by default', () => {
@@ -10,7 +10,7 @@ import {
10
10
  createRemoveNodeChildCommand,
11
11
  createReorderNodeChildCommand,
12
12
  createSetNodePropertyCommand,
13
- } from './command';
13
+ } from './command.ts';
14
14
  import {
15
15
  createCommandBindingTable,
16
16
  getCommandBinding,
@@ -18,8 +18,8 @@ import {
18
18
  initializeSetNodePropertyCommand,
19
19
  registerCommandBinding,
20
20
  registerDefaultCommandBindings,
21
- } from './commandBinding';
22
- import { createCommandHistory, executeCommand, undoCommand } from './commandHistory';
21
+ } from './commandBinding.ts';
22
+ import { createCommandHistory, executeCommand, undoCommand } from './commandHistory.ts';
23
23
 
24
24
  describe('createCommandBindingTable', () => {
25
25
  it('starts empty, so nothing dispatches until a caller registers it', () => {
@@ -4,8 +4,8 @@ import { connectSignal } from '@flighthq/signals/contract';
4
4
  import type { Command, CommandHistory, NodeAny } from '@flighthq/types/contract';
5
5
  import { describe, expect, it } from 'vitest';
6
6
 
7
- import { createAddNodeChildCommand, createSetNodePropertyCommand } from './command';
8
- import { registerCommandBinding, registerDefaultCommandBindings } from './commandBinding';
7
+ import { createAddNodeChildCommand, createSetNodePropertyCommand } from './command.ts';
8
+ import { registerCommandBinding, registerDefaultCommandBindings } from './commandBinding.ts';
9
9
  import {
10
10
  canRedoCommand,
11
11
  canUndoCommand,
@@ -20,8 +20,8 @@ import {
20
20
  notifyCommandHistoryChanged,
21
21
  redoCommand,
22
22
  undoCommand,
23
- } from './commandHistory';
24
- import { enableCommandHistorySignals } from './commandHistorySignals';
23
+ } from './commandHistory.ts';
24
+ import { enableCommandHistorySignals } from './commandHistorySignals.ts';
25
25
 
26
26
  describe('canRedoCommand', () => {
27
27
  it('is false until something has been undone', () => {
@@ -2,9 +2,9 @@ import { allocateEntity, finishEntity } from '@flighthq/entity/contract';
2
2
  import { connectSignal } from '@flighthq/signals/contract';
3
3
  import { describe, expect, it } from 'vitest';
4
4
 
5
- import { registerCommandBinding } from './commandBinding';
6
- import { createCommandHistory, executeCommand, undoCommand } from './commandHistory';
7
- import { enableCommandHistorySignals, getCommandHistorySignals } from './commandHistorySignals';
5
+ import { registerCommandBinding } from './commandBinding.ts';
6
+ import { createCommandHistory, executeCommand, undoCommand } from './commandHistory.ts';
7
+ import { enableCommandHistorySignals, getCommandHistorySignals } from './commandHistorySignals.ts';
8
8
 
9
9
  describe('enableCommandHistorySignals', () => {
10
10
  it('allocates once and returns the same signal on a second call', () => {
@@ -3,21 +3,21 @@ import type { CommandHistory, CompositeCommand, NodeAny } from '@flighthq/types/
3
3
  import { CompositeCommandKind } from '@flighthq/types/contract';
4
4
  import { describe, expect, it } from 'vitest';
5
5
 
6
- import { createAddNodeChildCommand, createSetNodePropertyCommand } from './command';
7
- import { registerDefaultCommandBindings } from './commandBinding';
6
+ import { createAddNodeChildCommand, createSetNodePropertyCommand } from './command.ts';
7
+ import { registerDefaultCommandBindings } from './commandBinding.ts';
8
8
  import {
9
9
  createCommandHistory,
10
10
  executeCommand,
11
11
  getCommandHistoryEntries,
12
12
  getCommandHistoryUndoLabel,
13
13
  undoCommand,
14
- } from './commandHistory';
14
+ } from './commandHistory.ts';
15
15
  import {
16
16
  abortCommandTransaction,
17
17
  beginCommandTransaction,
18
18
  endCommandTransaction,
19
19
  isCommandTransactionOpen,
20
- } from './commandTransaction';
20
+ } from './commandTransaction.ts';
21
21
 
22
22
  describe('abortCommandTransaction', () => {
23
23
  it('returns false when no bracket is open', () => {
@@ -1,10 +1,10 @@
1
1
  import { allocateEntity, finishEntity } from '@flighthq/entity/contract';
2
2
  import { describe, expect, it } from 'vitest';
3
3
 
4
- import { createCompositeCommand } from './command';
5
- import { registerCommandBinding } from './commandBinding';
6
- import { createCommandHistory } from './commandHistory';
7
- import { explainCommandDispatch } from './explainCommandDispatch';
4
+ import { createCompositeCommand } from './command.ts';
5
+ import { registerCommandBinding } from './commandBinding.ts';
6
+ import { createCommandHistory } from './commandHistory.ts';
7
+ import { explainCommandDispatch } from './explainCommandDispatch.ts';
8
8
 
9
9
  describe('explainCommandDispatch', () => {
10
10
  it('names the unregistered kind behind a refusal', () => {