@vextlabs/theron-cli 0.1.1 → 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.
- package/README.md +29 -5
- package/dist/banner.d.ts +8 -1
- package/dist/banner.js +14 -2
- package/dist/banner.js.map +1 -1
- package/dist/file_refs.d.ts +38 -0
- package/dist/file_refs.js +219 -0
- package/dist/file_refs.js.map +1 -0
- package/dist/index.js +112 -2
- package/dist/index.js.map +1 -1
- package/dist/repl.d.ts +15 -2
- package/dist/repl.js +420 -44
- package/dist/repl.js.map +1 -1
- package/dist/sessions.d.ts +47 -0
- package/dist/sessions.js +200 -0
- package/dist/sessions.js.map +1 -0
- package/dist/slash_commands.d.ts +47 -0
- package/dist/slash_commands.js +194 -0
- package/dist/slash_commands.js.map +1 -0
- package/dist/tools/index.d.ts +9 -0
- package/dist/tools/index.js +11 -0
- package/dist/tools/index.js.map +1 -1
- package/package.json +5 -2
package/dist/repl.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { renderMarkdown } from "./render.js";
|
|
2
1
|
interface ReplOptions {
|
|
3
2
|
apiUrl: string;
|
|
4
3
|
apiKey: string | undefined;
|
|
@@ -8,6 +7,20 @@ interface ReplOptions {
|
|
|
8
7
|
oneShot?: string;
|
|
9
8
|
/** Domain profile slug. Defaults to "code". */
|
|
10
9
|
profile?: string;
|
|
10
|
+
/** Start in plan mode — read-only tools, plan instruction, hard write deny. */
|
|
11
|
+
planMode?: boolean;
|
|
12
|
+
/** Headless mode: suppress interactive chrome; for json, buffer the
|
|
13
|
+
* answer and emit one JSON object at the end. Implies oneShot. */
|
|
14
|
+
headless?: boolean;
|
|
15
|
+
/** Output format for headless mode. */
|
|
16
|
+
outputFormat?: "text" | "json";
|
|
17
|
+
/** Resume the most-recent session for this cwd before the loop. */
|
|
18
|
+
continueSession?: boolean;
|
|
19
|
+
/** Resume a session (with resumeId, that one; else a picker). */
|
|
20
|
+
resumeSession?: boolean;
|
|
21
|
+
resumeId?: string;
|
|
22
|
+
/** Pretty-render the assistant's markdown at end of turn. */
|
|
23
|
+
renderMode?: boolean;
|
|
11
24
|
}
|
|
12
25
|
export declare function runRepl(opts: ReplOptions): Promise<number>;
|
|
13
|
-
export {
|
|
26
|
+
export {};
|