@tooee/ask 0.1.22 → 0.2.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.
@@ -0,0 +1,414 @@
1
+ import { useCallback, useEffect, useRef, useState } from "react";
2
+ import { readPrimaryText } from "@tooee/clipboard";
3
+ import { useActiveCommandSurface, useCommand, useCommandSurfaceId, useMode, useProvideCommandContext, useSetMode, } from "@tooee/commands";
4
+ import { appendAtCursor, openLineAtCursor } from "./vim-motions.js";
5
+ /**
6
+ * Headless ask editor core: owns editor state and registers all editing
7
+ * commands (vim motions, insert entries, submit/cancel/escape) on the nearest
8
+ * command surface, so it works identically at the app root, inside an
9
+ * `ownCommands` overlay, or under any `CommandSurfaceProvider`.
10
+ */
11
+ export function useAskEditor(options = {}) {
12
+ const { multiline = false, defaultValue, placeholder, commandScope = "ask" } = options;
13
+ const mode = useMode();
14
+ const setMode = useSetMode();
15
+ const [value, setValue] = useState(defaultValue ?? "");
16
+ const textareaRef = useRef(null);
17
+ const inputRef = useRef(null);
18
+ const didPositionInitialCursorRef = useRef(false);
19
+ const vimMotionStateRef = useRef({ pendingG: false });
20
+ // Bumped whenever the editor viewport may have moved (cursor, content, wheel)
21
+ // so the scrollbar thumb re-computes from the editor's internal scroll state.
22
+ const [scrollRevision, setScrollRevision] = useState(0);
23
+ const bumpScroll = useCallback(() => setScrollRevision((r) => r + 1), []);
24
+ const optionsRef = useRef(options);
25
+ optionsRef.current = options;
26
+ const modeRef = useRef(mode);
27
+ modeRef.current = mode;
28
+ const multilineRef = useRef(multiline);
29
+ multilineRef.current = multiline;
30
+ const valueRef = useRef(value);
31
+ valueRef.current = value;
32
+ // Suspension: while a modal command surface other than our own is topmost,
33
+ // our commands are already suspended by the surface stack; this mirrors that
34
+ // for renderable focus so the editor blurs under a nested picker.
35
+ const surfaceId = useCommandSurfaceId();
36
+ const activeSurface = useActiveCommandSurface();
37
+ const suspended = (options.suspended ?? false) || (activeSurface !== null && activeSurface.id !== surfaceId);
38
+ const focused = (mode === "insert" || mode === "cursor") && !suspended;
39
+ const preventCursorModeEditorInput = useCallback((event) => {
40
+ if (modeRef.current === "cursor")
41
+ event.preventDefault();
42
+ }, []);
43
+ useEffect(() => {
44
+ if (didPositionInitialCursorRef.current || !defaultValue)
45
+ return;
46
+ const target = multiline ? textareaRef.current : inputRef.current;
47
+ if (!target)
48
+ return;
49
+ target.cursorOffset = target.plainText.length;
50
+ didPositionInitialCursorRef.current = true;
51
+ }, [defaultValue, multiline]);
52
+ // Ensure the scrollbar computes once the editor ref and layout exist.
53
+ useEffect(() => {
54
+ bumpScroll();
55
+ }, [bumpScroll]);
56
+ const getTarget = useCallback(() => (multilineRef.current ? textareaRef.current : inputRef.current), []);
57
+ const getText = useCallback(() => multilineRef.current
58
+ ? (textareaRef.current?.plainText ?? "")
59
+ : // Read the renderable's live text: controller mutations (insertText)
60
+ // must be visible before React state re-syncs on the next render.
61
+ (inputRef.current?.plainText ?? valueRef.current), []);
62
+ const submit = useCallback(() => {
63
+ void optionsRef.current.onSubmit?.(getText());
64
+ }, [getText]);
65
+ useProvideCommandContext(() => ({ ask: { value: getText() } }));
66
+ const enabled = useCallback((group) => !(optionsRef.current.disable?.includes(group) ?? false), []);
67
+ const resolveSubmitKey = useCallback(() => {
68
+ const current = optionsRef.current;
69
+ return current.submitKey ?? (current.multiline ? "shift+enter" : "enter");
70
+ }, []);
71
+ const enterInsertMode = useCallback(() => {
72
+ vimMotionStateRef.current.pendingG = false;
73
+ setMode("insert");
74
+ }, [setMode]);
75
+ const appendAndEnterInsertMode = useCallback(() => {
76
+ vimMotionStateRef.current.pendingG = false;
77
+ appendAtCursor(getTarget());
78
+ setMode("insert");
79
+ }, [getTarget, setMode]);
80
+ const openLineAbove = useCallback(() => {
81
+ if (!multilineRef.current)
82
+ return;
83
+ vimMotionStateRef.current.pendingG = false;
84
+ openLineAtCursor(textareaRef.current, "above");
85
+ setMode("insert");
86
+ }, [setMode]);
87
+ const openLineBelow = useCallback(() => {
88
+ if (!multilineRef.current)
89
+ return;
90
+ vimMotionStateRef.current.pendingG = false;
91
+ openLineAtCursor(textareaRef.current, "below");
92
+ setMode("insert");
93
+ }, [setMode]);
94
+ const leaveInsertMode = useCallback(() => {
95
+ vimMotionStateRef.current.pendingG = false;
96
+ setMode("cursor");
97
+ }, [setMode]);
98
+ useCommand({
99
+ id: `${commandScope}:leave-insert-mode`,
100
+ title: "Command mode",
101
+ hotkey: "Escape",
102
+ modes: ["insert"],
103
+ hidden: true,
104
+ when: () => enabled("escape"),
105
+ handler: leaveInsertMode,
106
+ });
107
+ useCommand({
108
+ id: `${commandScope}:cancel`,
109
+ title: "Cancel",
110
+ hotkey: "q",
111
+ modes: ["cursor"],
112
+ hidden: true,
113
+ when: () => enabled("cancel") && optionsRef.current.onCancel !== undefined,
114
+ handler: () => optionsRef.current.onCancel?.(),
115
+ });
116
+ useCommand({
117
+ id: `${commandScope}:insert-mode-i`,
118
+ title: "Insert mode",
119
+ hotkey: "i",
120
+ modes: ["cursor"],
121
+ hidden: true,
122
+ when: () => enabled("insert-commands"),
123
+ handler: enterInsertMode,
124
+ });
125
+ useCommand({
126
+ id: `${commandScope}:insert-mode-a`,
127
+ title: "Append",
128
+ hotkey: "a",
129
+ modes: ["cursor"],
130
+ hidden: true,
131
+ when: () => enabled("insert-commands"),
132
+ handler: appendAndEnterInsertMode,
133
+ });
134
+ useCommand({
135
+ id: `${commandScope}:open-line-above`,
136
+ title: "Open line above",
137
+ hotkey: "shift+o",
138
+ modes: ["cursor"],
139
+ hidden: true,
140
+ when: () => enabled("insert-commands") && multilineRef.current,
141
+ handler: openLineAbove,
142
+ });
143
+ useCommand({
144
+ id: `${commandScope}:open-line-below`,
145
+ title: "Open line below",
146
+ hotkey: "o",
147
+ modes: ["cursor"],
148
+ hidden: true,
149
+ when: () => enabled("insert-commands") && multilineRef.current,
150
+ handler: openLineBelow,
151
+ });
152
+ useCommand({
153
+ id: `${commandScope}:submit-single-line`,
154
+ title: "Submit",
155
+ hotkey: "Enter",
156
+ modes: ["insert", "cursor"],
157
+ hidden: true,
158
+ when: () => enabled("submit") && resolveSubmitKey() === "enter",
159
+ handler: submit,
160
+ });
161
+ useCommand({
162
+ id: `${commandScope}:submit-multiline`,
163
+ title: "Submit",
164
+ hotkey: "shift+Enter",
165
+ modes: ["insert", "cursor"],
166
+ hidden: true,
167
+ // Shift+Enter always submits (single-line editors have no newline for it
168
+ // to mean); plain Enter only when it is the configured submit key.
169
+ when: () => enabled("submit") && resolveSubmitKey() !== "none",
170
+ handler: submit,
171
+ });
172
+ const motion = useCallback((run) => {
173
+ const target = getTarget();
174
+ if (target)
175
+ run(target);
176
+ vimMotionStateRef.current.pendingG = false;
177
+ bumpScroll();
178
+ }, [getTarget, bumpScroll]);
179
+ useCommand({
180
+ id: `${commandScope}:move-left`,
181
+ title: "Move left",
182
+ hotkey: "h",
183
+ modes: ["cursor"],
184
+ hidden: true,
185
+ when: () => enabled("motions"),
186
+ handler: () => motion((target) => target.moveCursorLeft()),
187
+ });
188
+ useCommand({
189
+ id: `${commandScope}:move-left-arrow`,
190
+ title: "Move left",
191
+ hotkey: "left",
192
+ modes: ["cursor"],
193
+ hidden: true,
194
+ when: () => enabled("motions"),
195
+ handler: () => motion((target) => target.moveCursorLeft()),
196
+ });
197
+ useCommand({
198
+ id: `${commandScope}:move-right`,
199
+ title: "Move right",
200
+ hotkey: "l",
201
+ modes: ["cursor"],
202
+ hidden: true,
203
+ when: () => enabled("motions"),
204
+ handler: () => motion((target) => target.moveCursorRight()),
205
+ });
206
+ useCommand({
207
+ id: `${commandScope}:move-right-arrow`,
208
+ title: "Move right",
209
+ hotkey: "right",
210
+ modes: ["cursor"],
211
+ hidden: true,
212
+ when: () => enabled("motions"),
213
+ handler: () => motion((target) => target.moveCursorRight()),
214
+ });
215
+ useCommand({
216
+ id: `${commandScope}:move-down`,
217
+ title: "Move down",
218
+ hotkey: "j",
219
+ modes: ["cursor"],
220
+ hidden: true,
221
+ when: () => enabled("motions"),
222
+ handler: () => motion((target) => target.moveCursorDown()),
223
+ });
224
+ useCommand({
225
+ id: `${commandScope}:move-down-arrow`,
226
+ title: "Move down",
227
+ hotkey: "down",
228
+ modes: ["cursor"],
229
+ hidden: true,
230
+ when: () => enabled("motions"),
231
+ handler: () => motion((target) => target.moveCursorDown()),
232
+ });
233
+ useCommand({
234
+ id: `${commandScope}:move-up`,
235
+ title: "Move up",
236
+ hotkey: "k",
237
+ modes: ["cursor"],
238
+ hidden: true,
239
+ when: () => enabled("motions"),
240
+ handler: () => motion((target) => target.moveCursorUp()),
241
+ });
242
+ useCommand({
243
+ id: `${commandScope}:move-up-arrow`,
244
+ title: "Move up",
245
+ hotkey: "up",
246
+ modes: ["cursor"],
247
+ hidden: true,
248
+ when: () => enabled("motions"),
249
+ handler: () => motion((target) => target.moveCursorUp()),
250
+ });
251
+ useCommand({
252
+ id: `${commandScope}:line-home`,
253
+ title: "Line home",
254
+ hotkey: "0",
255
+ modes: ["cursor"],
256
+ hidden: true,
257
+ when: () => enabled("motions"),
258
+ handler: () => motion((target) => target.gotoLineHome()),
259
+ });
260
+ useCommand({
261
+ id: `${commandScope}:line-home-key`,
262
+ title: "Line home",
263
+ hotkey: "home",
264
+ modes: ["cursor"],
265
+ hidden: true,
266
+ when: () => enabled("motions"),
267
+ handler: () => motion((target) => target.gotoLineHome()),
268
+ });
269
+ useCommand({
270
+ id: `${commandScope}:line-end`,
271
+ title: "Line end",
272
+ hotkey: "shift+4",
273
+ modes: ["cursor"],
274
+ hidden: true,
275
+ when: () => enabled("motions"),
276
+ handler: () => motion((target) => target.gotoLineEnd()),
277
+ });
278
+ useCommand({
279
+ id: `${commandScope}:line-end-key`,
280
+ title: "Line end",
281
+ hotkey: "end",
282
+ modes: ["cursor"],
283
+ hidden: true,
284
+ when: () => enabled("motions"),
285
+ handler: () => motion((target) => target.gotoLineEnd()),
286
+ });
287
+ useCommand({
288
+ id: `${commandScope}:word-forward`,
289
+ title: "Word forward",
290
+ hotkey: "w",
291
+ modes: ["cursor"],
292
+ hidden: true,
293
+ when: () => enabled("motions"),
294
+ handler: () => motion((target) => target.moveWordForward()),
295
+ });
296
+ useCommand({
297
+ id: `${commandScope}:word-backward`,
298
+ title: "Word backward",
299
+ hotkey: "b",
300
+ modes: ["cursor"],
301
+ hidden: true,
302
+ when: () => enabled("motions"),
303
+ handler: () => motion((target) => target.moveWordBackward()),
304
+ });
305
+ useCommand({
306
+ id: `${commandScope}:buffer-home`,
307
+ title: "Buffer home",
308
+ hotkey: "g g",
309
+ modes: ["cursor"],
310
+ hidden: true,
311
+ when: () => enabled("motions"),
312
+ handler: () => motion((target) => target.gotoBufferHome()),
313
+ });
314
+ useCommand({
315
+ id: `${commandScope}:buffer-end`,
316
+ title: "Buffer end",
317
+ hotkey: "shift+g",
318
+ modes: ["cursor"],
319
+ hidden: true,
320
+ when: () => enabled("motions"),
321
+ handler: () => motion((target) => target.gotoBufferEnd()),
322
+ });
323
+ // Middle-click paste from primary selection
324
+ const handleMouseDown = useCallback((event) => {
325
+ if (event.button === 1) {
326
+ event.preventDefault();
327
+ void readPrimaryText().then((text) => {
328
+ if (!text)
329
+ return;
330
+ getTarget()?.insertText(text);
331
+ });
332
+ }
333
+ }, [getTarget]);
334
+ const setText = useCallback((text, opts) => {
335
+ const cursorToEnd = opts?.cursorToEnd ?? true;
336
+ if (multilineRef.current) {
337
+ const target = textareaRef.current;
338
+ if (!target)
339
+ return;
340
+ const prevOffset = target.cursorOffset;
341
+ target.replaceText(text);
342
+ target.cursorOffset = cursorToEnd
343
+ ? target.plainText.length
344
+ : Math.min(prevOffset, target.plainText.length);
345
+ }
346
+ else {
347
+ // Route through React state (the input is controlled) and mirror onto
348
+ // the renderable so the change takes effect before the next render.
349
+ const target = inputRef.current;
350
+ const prevOffset = target?.cursorOffset ?? 0;
351
+ setValue(text);
352
+ if (target) {
353
+ target.value = text;
354
+ target.cursorOffset = cursorToEnd
355
+ ? target.plainText.length
356
+ : Math.min(prevOffset, target.plainText.length);
357
+ }
358
+ }
359
+ bumpScroll();
360
+ }, [bumpScroll]);
361
+ const insertText = useCallback((text) => {
362
+ getTarget()?.insertText(text);
363
+ bumpScroll();
364
+ }, [getTarget, bumpScroll]);
365
+ const setCursorToEnd = useCallback(() => {
366
+ const target = getTarget();
367
+ if (!target)
368
+ return;
369
+ target.cursorOffset = target.plainText.length;
370
+ bumpScroll();
371
+ }, [getTarget, bumpScroll]);
372
+ const setModeExternal = useCallback((next) => {
373
+ vimMotionStateRef.current.pendingG = false;
374
+ setMode(next);
375
+ }, [setMode]);
376
+ // Stable identity so composites can capture it in refs/effects; `mode` reads
377
+ // live through the getter.
378
+ const controllerRef = useRef(null);
379
+ if (controllerRef.current === null) {
380
+ controllerRef.current = {
381
+ getText,
382
+ setText,
383
+ insertText,
384
+ setCursorToEnd,
385
+ submit,
386
+ get mode() {
387
+ return modeRef.current;
388
+ },
389
+ setMode: setModeExternal,
390
+ };
391
+ }
392
+ return {
393
+ controller: controllerRef.current,
394
+ editor: {
395
+ multiline,
396
+ defaultValue,
397
+ placeholder,
398
+ value,
399
+ onInput: setValue,
400
+ textareaRef,
401
+ inputRef,
402
+ mode,
403
+ suspended,
404
+ focused,
405
+ scrollRevision,
406
+ bumpScroll,
407
+ onEditorKeyDown: preventCursorModeEditorInput,
408
+ onEditorPaste: preventCursorModeEditorInput,
409
+ submit,
410
+ onMouseDown: handleMouseDown,
411
+ },
412
+ };
413
+ }
414
+ //# sourceMappingURL=use-ask-editor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-ask-editor.js","sourceRoot":"","sources":["../src/use-ask-editor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAQhE,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAA;AAClD,OAAO,EACL,uBAAuB,EACvB,UAAU,EACV,mBAAmB,EACnB,OAAO,EACP,wBA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MAAM;YACN,WAAW,EAAE,eAAe;SAC7B;KACF,CAAA;AACH,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tooee/ask",
3
- "version": "0.1.22",
3
+ "version": "0.2.0",
4
4
  "description": "Terminal text input gathering",
5
5
  "keywords": [
6
6
  "cli",
@@ -36,23 +36,23 @@
36
36
  "typecheck": "tsc --noEmit"
37
37
  },
38
38
  "dependencies": {
39
- "@tooee/clipboard": "0.1.22",
40
- "@tooee/commands": "0.1.22",
41
- "@tooee/layout": "0.1.22",
42
- "@tooee/overlays": "0.1.22",
43
- "@tooee/shell": "0.1.22",
44
- "@tooee/themes": "0.1.22"
39
+ "@tooee/clipboard": "0.2.0",
40
+ "@tooee/commands": "0.2.0",
41
+ "@tooee/layout": "0.2.0",
42
+ "@tooee/overlays": "0.2.0",
43
+ "@tooee/shell": "0.2.0",
44
+ "@tooee/themes": "0.2.0"
45
45
  },
46
46
  "devDependencies": {
47
- "@opentui/core": "^0.2.15",
48
- "@opentui/react": "^0.2.15",
47
+ "@opentui/core": "^0.4.3",
48
+ "@opentui/react": "^0.4.3",
49
49
  "@types/bun": "^1.3.10",
50
50
  "@types/react": "^19.2.14",
51
51
  "typescript": "^5.9.3"
52
52
  },
53
53
  "peerDependencies": {
54
- "@opentui/core": "^0.2.15",
55
- "@opentui/react": "^0.2.15",
54
+ "@opentui/core": "^0.4.3",
55
+ "@opentui/react": "^0.4.3",
56
56
  "react": "^18.0.0 || ^19.0.0"
57
57
  }
58
58
  }