@aitherium/shell-cli 1.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.
package/dist/repl.d.ts ADDED
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Interactive REPL — readline, streaming, history, Ctrl+C,
3
+ * shell escape (!), interactive slash-command picker (/), agent routing (@).
4
+ *
5
+ * NON-BLOCKING: Long-running tasks (forge, swarm, agent chat with &) run
6
+ * as background jobs. The REPL stays interactive — you can chat, queue more
7
+ * tasks, or check job status while agents work.
8
+ *
9
+ * "/" on an empty line immediately launches a searchable command picker
10
+ * (via @inquirer/prompts) WITHOUT pressing Enter. This is achieved by
11
+ * monkey-patching readline's _ttyWrite to intercept before the character
12
+ * is added to the line buffer.
13
+ */
14
+ import type { GenesisClient } from './client.js';
15
+ import type { ShellConfig } from './config.js';
16
+ export declare function startRepl(client: GenesisClient, config: ShellConfig): Promise<void>;