dirvi-lib 0.11.0-beta.5 → 0.11.0-beta.6

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.
@@ -10,5 +10,5 @@ import type { Effect, Intent } from '../domain/index.js';
10
10
  * @typeParam Value - Application-owned data stored in each tree node.
11
11
  */
12
12
  export type IntentToEffect<Id extends SerializableKey, Value> = (intent: Intent, state: State<Id, Value>) => Effect<Id, Value> | undefined;
13
- export declare function createIntentToEffect<Id extends SerializableKey, Value>(stateApi: StateApi<Id, Value>, cursorApi: CursorApi<Id>, treeNodeApi: TreeNodeApi<Id, Value>): IntentToEffect<Id, Value>;
13
+ export declare function createIntentToEffect<Id extends SerializableKey, Value>(registeredCommands: ReadonlySet<string>, stateApi: StateApi<Id, Value>, cursorApi: CursorApi<Id>, treeNodeApi: TreeNodeApi<Id, Value>): IntentToEffect<Id, Value>;
14
14
  //# sourceMappingURL=intent-to-effect.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"intent-to-effect.d.ts","sourceRoot":"","sources":["../../../src/input/application/intent-to-effect.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,SAAS,EACT,eAAe,EACf,KAAK,EACL,QAAQ,EACR,WAAW,EACZ,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,MAAM,EAAgB,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAKvE;;;;;;;;GAQG;AACH,MAAM,MAAM,cAAc,CAAC,EAAE,SAAS,eAAe,EAAE,KAAK,IAAI,CAC9D,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,KAAK,CAAC,EAAE,EAAE,KAAK,CAAC,KACpB,MAAM,CAAC,EAAE,EAAE,KAAK,CAAC,GAAG,SAAS,CAAC;AAEnC,wBAAgB,oBAAoB,CAAC,EAAE,SAAS,eAAe,EAAE,KAAK,EACpE,QAAQ,EAAE,QAAQ,CAAC,EAAE,EAAE,KAAK,CAAC,EAC7B,SAAS,EAAE,SAAS,CAAC,EAAE,CAAC,EACxB,WAAW,EAAE,WAAW,CAAC,EAAE,EAAE,KAAK,CAAC,GAClC,cAAc,CAAC,EAAE,EAAE,KAAK,CAAC,CAkE3B"}
1
+ {"version":3,"file":"intent-to-effect.d.ts","sourceRoot":"","sources":["../../../src/input/application/intent-to-effect.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,SAAS,EACT,eAAe,EACf,KAAK,EACL,QAAQ,EACR,WAAW,EACZ,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,MAAM,EAAgB,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAKvE;;;;;;;;GAQG;AACH,MAAM,MAAM,cAAc,CAAC,EAAE,SAAS,eAAe,EAAE,KAAK,IAAI,CAC9D,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,KAAK,CAAC,EAAE,EAAE,KAAK,CAAC,KACpB,MAAM,CAAC,EAAE,EAAE,KAAK,CAAC,GAAG,SAAS,CAAC;AAEnC,wBAAgB,oBAAoB,CAAC,EAAE,SAAS,eAAe,EAAE,KAAK,EACpE,kBAAkB,EAAE,WAAW,CAAC,MAAM,CAAC,EACvC,QAAQ,EAAE,QAAQ,CAAC,EAAE,EAAE,KAAK,CAAC,EAC7B,SAAS,EAAE,SAAS,CAAC,EAAE,CAAC,EACxB,WAAW,EAAE,WAAW,CAAC,EAAE,EAAE,KAAK,CAAC,GAClC,cAAc,CAAC,EAAE,EAAE,KAAK,CAAC,CAkE3B"}
@@ -1,6 +1,6 @@
1
1
  import { parseExCommand } from './parse-ex-command.js';
2
2
  import { parseNormalCommand } from './parse-normal-command.js';
3
- export function createIntentToEffect(stateApi, cursorApi, treeNodeApi) {
3
+ export function createIntentToEffect(registeredCommands, stateApi, cursorApi, treeNodeApi) {
4
4
  return (intent, state) => {
5
5
  switch (intent.intentType) {
6
6
  case 'setNormalBuffer':
@@ -42,7 +42,7 @@ export function createIntentToEffect(stateApi, cursorApi, treeNodeApi) {
42
42
  },
43
43
  };
44
44
  case 'executeCommandLine':
45
- return (parseExCommand(intent.commandLine) ?? {
45
+ return (parseExCommand(intent.commandLine, registeredCommands) ?? {
46
46
  effectType: 'setInputState',
47
47
  inputState: {
48
48
  inputMode: 'normal',
@@ -3,20 +3,28 @@ import type { Effect } from '../domain/index.js';
3
3
  /**
4
4
  * Parses a Vim-style Ex command line into an application effect.
5
5
  *
6
- * Leading and trailing whitespace is removed, and all consecutive leading `:`
7
- * characters are removed before parsing. The remaining text is split on one or
8
- * more whitespace characters:
6
+ * Leading and trailing whitespace is removed, followed by all consecutive
7
+ * leading `:` characters. The remaining text is split on one or more
8
+ * whitespace characters:
9
9
  *
10
10
  * - The first token is treated as the command name.
11
- * - All remaining tokens are passed to the command-specific parser as
12
- * `commandArgs`.
11
+ * - All remaining tokens are treated as command arguments.
12
+ *
13
+ * Registered user commands are matched by exact name before built-in commands,
14
+ * allowing them to override built-ins. A match produces a `userExCommand`
15
+ * effect containing the registered name and argument tokens. This function
16
+ * neither looks up nor executes the registered callback.
17
+ *
18
+ * Otherwise, the command is interpreted as a built-in, with its arguments
19
+ * passed to the command-specific parser where applicable.
13
20
  *
14
21
  * Parsing is token-based and does not support quoted or escaped arguments.
15
22
  * Consequently, whitespace within an argument cannot currently be preserved.
16
- * Command-specific parsers are responsible for validating their arguments.
23
+ * Built-in argument validation is handled by the command-specific parsers;
24
+ * registered user-command arguments are forwarded without validation.
17
25
  *
18
- * An empty command line produces `undefined`. An unknown command produces an
19
- * `unrecognizedCommand` effect containing the original `commandLine`.
26
+ * An empty command produces `undefined`. An unknown command produces an
27
+ * `emitError` effect whose message includes the original `commandLine`.
20
28
  *
21
29
  * Command parsing is independent of the concrete tree-node value type, but the
22
30
  * generic parameters allow its result to compose with the application's
@@ -24,9 +32,11 @@ import type { Effect } from '../domain/index.js';
24
32
  *
25
33
  * @typeParam Id - The sibling-unique tree-node ID type.
26
34
  * @typeParam Value - Application-owned data stored in each tree node.
27
- * @param commandLine - The raw Ex command line, optionally prefixed with one
28
- * or more `:` characters.
35
+ * @param commandLine - The raw Ex command line, whitespace before or after,
36
+ * optionally prefixed with one or more `:` characters.
37
+ * @param registeredCommands - Registered user-command names that take
38
+ * precedence over built-in commands.
29
39
  * @returns The parsed application effect, or `undefined` for an empty command.
30
40
  */
31
- export declare function parseExCommand<Id extends SerializableKey, Value>(commandLine: string): Effect<Id, Value> | undefined;
41
+ export declare function parseExCommand<Id extends SerializableKey, Value>(commandLine: string, registeredCommands: ReadonlySet<string>): Effect<Id, Value> | undefined;
32
42
  //# sourceMappingURL=parse-ex-command.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"parse-ex-command.d.ts","sourceRoot":"","sources":["../../../src/input/application/parse-ex-command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAmKjD;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,wBAAgB,cAAc,CAAC,EAAE,SAAS,eAAe,EAAE,KAAK,EAC9D,WAAW,EAAE,MAAM,GAClB,MAAM,CAAC,EAAE,EAAE,KAAK,CAAC,GAAG,SAAS,CA4D/B"}
1
+ {"version":3,"file":"parse-ex-command.d.ts","sourceRoot":"","sources":["../../../src/input/application/parse-ex-command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AA6IjD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,wBAAgB,cAAc,CAAC,EAAE,SAAS,eAAe,EAAE,KAAK,EAC9D,WAAW,EAAE,MAAM,EACnB,kBAAkB,EAAE,WAAW,CAAC,MAAM,CAAC,GACtC,MAAM,CAAC,EAAE,EAAE,KAAK,CAAC,GAAG,SAAS,CAoE/B"}
@@ -1,25 +1,23 @@
1
- const DEFAULT_VIEW_NAME = 'default';
1
+ // const DEFAULT_VIEW_NAME = 'default';
2
2
  const DEFAULT_FOLD_TREE_NAME = 'default';
3
3
  function parseAppCommand(commandArgs) {
4
4
  const [firstArgument, ...remainingArguments] = commandArgs;
5
+ const badArgs = {
6
+ effectType: 'emitError',
7
+ message: `Unrecognized command arguments: app ${commandArgs.join(' ')}`,
8
+ };
5
9
  switch (firstArgument) {
6
10
  case 'list':
7
11
  return commandArgs.length === 1
8
12
  ? {
9
13
  effectType: 'listApps',
10
14
  }
11
- : {
12
- effectType: 'unrecognizedCommand',
13
- commandLine: `app ${commandArgs.join(' ')}`,
14
- };
15
+ : badArgs;
15
16
  case 'open':
16
17
  case 'switch': {
17
18
  const [appId, input] = remainingArguments;
18
19
  if (appId === undefined || remainingArguments.length > 2) {
19
- return {
20
- effectType: 'unrecognizedCommand',
21
- commandLine: `app ${commandArgs.join(' ')}`,
22
- };
20
+ return badArgs;
23
21
  }
24
22
  return {
25
23
  effectType: 'switchApp',
@@ -29,10 +27,7 @@ function parseAppCommand(commandArgs) {
29
27
  }
30
28
  default: {
31
29
  if (firstArgument === undefined || remainingArguments.length > 1) {
32
- return {
33
- effectType: 'unrecognizedCommand',
34
- commandLine: `app ${commandArgs.join(' ')}`,
35
- };
30
+ return badArgs;
36
31
  }
37
32
  const input = remainingArguments[0];
38
33
  return {
@@ -45,22 +40,20 @@ function parseAppCommand(commandArgs) {
45
40
  }
46
41
  function parseFoldCommand(commandArgs) {
47
42
  const [subcommand, name] = commandArgs;
43
+ const badArgs = {
44
+ effectType: 'emitError',
45
+ message: `Unrecognized command arguments: fold ${commandArgs.join(' ')}`,
46
+ };
48
47
  switch (subcommand) {
49
48
  case 'list':
50
49
  return commandArgs.length === 1
51
50
  ? {
52
51
  effectType: 'listFolds',
53
52
  }
54
- : {
55
- effectType: 'unrecognizedCommand',
56
- commandLine: `fold ${commandArgs.join(' ')}`,
57
- };
53
+ : badArgs;
58
54
  case 'create':
59
55
  return name === undefined || commandArgs.length !== 2
60
- ? {
61
- effectType: 'unrecognizedCommand',
62
- commandLine: `fold ${commandArgs.join(' ')}`,
63
- }
56
+ ? badArgs
64
57
  : {
65
58
  effectType: 'dispatchEffectAction',
66
59
  action: {
@@ -70,10 +63,7 @@ function parseFoldCommand(commandArgs) {
70
63
  };
71
64
  case 'delete':
72
65
  return name === undefined || commandArgs.length !== 2
73
- ? {
74
- effectType: 'unrecognizedCommand',
75
- commandLine: `fold ${commandArgs.join(' ')}`,
76
- }
66
+ ? badArgs
77
67
  : {
78
68
  effectType: 'dispatchEffectAction',
79
69
  action: {
@@ -84,10 +74,7 @@ function parseFoldCommand(commandArgs) {
84
74
  case 'enable':
85
75
  case 'close':
86
76
  return commandArgs.length > 2
87
- ? {
88
- effectType: 'unrecognizedCommand',
89
- commandLine: `fold ${commandArgs.join(' ')}`,
90
- }
77
+ ? badArgs
91
78
  : {
92
79
  effectType: 'dispatchEffectAction',
93
80
  action: {
@@ -101,10 +88,7 @@ function parseFoldCommand(commandArgs) {
101
88
  case 'disable':
102
89
  case 'open':
103
90
  return commandArgs.length > 2
104
- ? {
105
- effectType: 'unrecognizedCommand',
106
- commandLine: `fold ${commandArgs.join(' ')}`,
107
- }
91
+ ? badArgs
108
92
  : {
109
93
  effectType: 'dispatchEffectAction',
110
94
  action: {
@@ -117,10 +101,7 @@ function parseFoldCommand(commandArgs) {
117
101
  };
118
102
  case 'toggle':
119
103
  return commandArgs.length > 2
120
- ? {
121
- effectType: 'unrecognizedCommand',
122
- commandLine: `fold ${commandArgs.join(' ')}`,
123
- }
104
+ ? badArgs
124
105
  : {
125
106
  effectType: 'dispatchEffectAction',
126
107
  action: {
@@ -132,29 +113,34 @@ function parseFoldCommand(commandArgs) {
132
113
  },
133
114
  };
134
115
  default:
135
- return {
136
- effectType: 'unrecognizedCommand',
137
- commandLine: `fold ${commandArgs.join(' ')}`,
138
- };
116
+ return badArgs;
139
117
  }
140
118
  }
141
119
  /**
142
120
  * Parses a Vim-style Ex command line into an application effect.
143
121
  *
144
- * Leading and trailing whitespace is removed, and all consecutive leading `:`
145
- * characters are removed before parsing. The remaining text is split on one or
146
- * more whitespace characters:
122
+ * Leading and trailing whitespace is removed, followed by all consecutive
123
+ * leading `:` characters. The remaining text is split on one or more
124
+ * whitespace characters:
147
125
  *
148
126
  * - The first token is treated as the command name.
149
- * - All remaining tokens are passed to the command-specific parser as
150
- * `commandArgs`.
127
+ * - All remaining tokens are treated as command arguments.
128
+ *
129
+ * Registered user commands are matched by exact name before built-in commands,
130
+ * allowing them to override built-ins. A match produces a `userExCommand`
131
+ * effect containing the registered name and argument tokens. This function
132
+ * neither looks up nor executes the registered callback.
133
+ *
134
+ * Otherwise, the command is interpreted as a built-in, with its arguments
135
+ * passed to the command-specific parser where applicable.
151
136
  *
152
137
  * Parsing is token-based and does not support quoted or escaped arguments.
153
138
  * Consequently, whitespace within an argument cannot currently be preserved.
154
- * Command-specific parsers are responsible for validating their arguments.
139
+ * Built-in argument validation is handled by the command-specific parsers;
140
+ * registered user-command arguments are forwarded without validation.
155
141
  *
156
- * An empty command line produces `undefined`. An unknown command produces an
157
- * `unrecognizedCommand` effect containing the original `commandLine`.
142
+ * An empty command produces `undefined`. An unknown command produces an
143
+ * `emitError` effect whose message includes the original `commandLine`.
158
144
  *
159
145
  * Command parsing is independent of the concrete tree-node value type, but the
160
146
  * generic parameters allow its result to compose with the application's
@@ -162,16 +148,25 @@ function parseFoldCommand(commandArgs) {
162
148
  *
163
149
  * @typeParam Id - The sibling-unique tree-node ID type.
164
150
  * @typeParam Value - Application-owned data stored in each tree node.
165
- * @param commandLine - The raw Ex command line, optionally prefixed with one
166
- * or more `:` characters.
151
+ * @param commandLine - The raw Ex command line, whitespace before or after,
152
+ * optionally prefixed with one or more `:` characters.
153
+ * @param registeredCommands - Registered user-command names that take
154
+ * precedence over built-in commands.
167
155
  * @returns The parsed application effect, or `undefined` for an empty command.
168
156
  */
169
- export function parseExCommand(commandLine) {
157
+ export function parseExCommand(commandLine, registeredCommands) {
170
158
  const command = commandLine.trim().replace(/^:+/, '');
171
159
  if (command === '') {
172
160
  return undefined;
173
161
  }
174
162
  const [commandName, ...commandArgs] = command.split(/\s+/);
163
+ if (commandName !== undefined && registeredCommands.has(commandName)) {
164
+ return {
165
+ effectType: 'userExCommand',
166
+ name: commandName,
167
+ args: commandArgs,
168
+ };
169
+ }
175
170
  switch (commandName) {
176
171
  case 'q':
177
172
  return {
@@ -186,21 +181,22 @@ export function parseExCommand(commandLine) {
186
181
  return {
187
182
  effectType: 'emitVisibleLeavesPaths',
188
183
  };
189
- case 'mkview!':
190
- return {
191
- effectType: 'saveView',
192
- name: commandArgs[0] || DEFAULT_VIEW_NAME,
193
- overwrite: true,
194
- };
195
- case 'loadview':
196
- return {
197
- effectType: 'loadView',
198
- name: commandArgs[0] || DEFAULT_VIEW_NAME,
199
- };
184
+ // case 'mkview!':
185
+ // return {
186
+ // effectType: 'saveView',
187
+ // name: commandArgs[0] || DEFAULT_VIEW_NAME,
188
+ // overwrite: true,
189
+ // };
190
+ //
191
+ // case 'loadview':
192
+ // return {
193
+ // effectType: 'loadView',
194
+ // name: commandArgs[0] || DEFAULT_VIEW_NAME,
195
+ // };
200
196
  default:
201
197
  return {
202
- effectType: 'unrecognizedCommand',
203
- commandLine,
198
+ effectType: 'emitError',
199
+ message: `Unrecognized command: "${commandLine}"`,
204
200
  };
205
201
  }
206
202
  /*
@@ -1,8 +1,9 @@
1
1
  import type { InputModeState } from './input-mode-state.js';
2
2
  import type { SerializableKey, TreeNode } from '../../trees/index.js';
3
+ export type EffectClosure = () => void | Promise<void>;
3
4
  /**
4
- * An effect is some execution to be done in `App`, that could affect any part
5
- * of dirvi.
5
+ * An effect is some execution to be done in `App`, that could affect the shell
6
+ * or current app of dirvi.
6
7
  *
7
8
  * It is produced by interpreting an intent against the current state.
8
9
  *
@@ -39,8 +40,12 @@ export type Effect<Id extends SerializableKey, Value> = Readonly<{
39
40
  effectType: 'setInputState';
40
41
  inputState: InputModeState;
41
42
  }> | Readonly<{
42
- effectType: 'unrecognizedCommand';
43
- commandLine: string;
43
+ effectType: 'userExCommand';
44
+ name: string;
45
+ args: readonly string[];
46
+ }> | Readonly<{
47
+ effectType: 'emitError';
48
+ message: string;
44
49
  }>;
45
50
  /**
46
51
  * A user-facing reference to a fold tree.
@@ -1 +1 @@
1
- {"version":3,"file":"effect.d.ts","sourceRoot":"","sources":["../../../src/input/domain/effect.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,KAAK,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEtE;;;;;;;;GAQG;AACH,MAAM,MAAM,MAAM,CAAC,EAAE,SAAS,eAAe,EAAE,KAAK,IAChD,QAAQ,CAAC;IACP,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC,GACF,QAAQ,CAAC;IACP,UAAU,EAAE,UAAU,CAAC;CACxB,CAAC,GACF,QAAQ,CAAC;IACP,UAAU,EAAE,WAAW,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;CAC3B,CAAC,GACF,QAAQ,CAAC;IACP,UAAU,EAAE,sBAAsB,CAAC;IACnC,MAAM,EAAE,YAAY,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;CACjC,CAAC,GACF,QAAQ,CAAC;IACP,UAAU,EAAE,mBAAmB,CAAC;IAChC,IAAI,EAAE,SAAS,EAAE,EAAE,CAAC;CACrB,CAAC,GACF,QAAQ,CAAC;IACP,UAAU,EAAE,UAAU,CAAC;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,OAAO,CAAC;CACpB,CAAC,GACF,QAAQ,CAAC;IACP,UAAU,EAAE,UAAU,CAAC;IACvB,IAAI,EAAE,MAAM,CAAC;CACd,CAAC,GACF,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,EAAE,EAAE,CAAC;IACpB,OAAO,EAAE,SAAS,QAAQ,CAAC,EAAE,EAAE,KAAK,CAAC,EAAE,GAAG,IAAI,CAAC;CAChD,CAAC,GACF,QAAQ,CAAC;IACP,gBAAgB,EAAE,kBAAkB,CAAC;CACtC,CAAC,GACF,QAAQ,CAAC;IACP,gBAAgB,EAAE,eAAe,CAAC;IAClC,QAAQ,EAAE,iBAAiB,CAAC;CAC7B,CAAC,GACF,QAAQ,CAAC;IACP,gBAAgB,EAAE,oBAAoB,CAAC;IACvC,QAAQ,EAAE,iBAAiB,CAAC;CAC7B,CAAC,GACF,QAAQ,CAAC;IACP,gBAAgB,EAAE,MAAM,CAAC;IACzB,QAAQ,EAAE,iBAAiB,CAAC;CAC7B,CAAC,GACF,QAAQ,CAAC;IACP,gBAAgB,EAAE,QAAQ,CAAC;IAC3B,QAAQ,EAAE,iBAAiB,CAAC;CAC7B,CAAC,GACF,QAAQ,CAAC;IACP,gBAAgB,EAAE,YAAY,CAAC;IAC/B,QAAQ,EAAE,iBAAiB,CAAC;CAC7B,CAAC,GACF,QAAQ,CAAC;IACP,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,IAAI,EAAE,MAAM,CAAC;CACd,CAAC,GACF,QAAQ,CAAC;IACP,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,IAAI,EAAE,MAAM,CAAC;CACd,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dirvi-lib",
3
- "version": "0.11.0-beta.5",
3
+ "version": "0.11.0-beta.6",
4
4
  "description": "Dependency for dirvi.",
5
5
  "license": "LGPL-3.0-or-later",
6
6
  "type": "module",