@robota-sdk/agent-cli 3.0.0-beta.43 → 3.0.0-beta.45
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/node/bin.js +1 -1
- package/dist/node/{chunk-SYGOHAAL.js → chunk-Y6VSMUKG.js} +328 -413
- package/dist/node/index.cjs +323 -410
- package/dist/node/index.d.cts +10 -23
- package/dist/node/index.d.ts +10 -23
- package/dist/node/index.js +1 -8
- package/package.json +4 -3
package/dist/node/index.d.cts
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/**
|
|
2
|
+
* CLI entry point — parses arguments, creates provider, and starts the Ink TUI.
|
|
3
|
+
*
|
|
4
|
+
* CLI owns provider creation. SDK owns everything else
|
|
5
|
+
* (config, context, session, tools).
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* Main CLI orchestration function.
|
|
9
|
+
*/
|
|
10
|
+
declare function startCli(): Promise<void>;
|
|
3
11
|
|
|
4
12
|
/**
|
|
5
13
|
* CLI-specific types for terminal I/O abstraction.
|
|
@@ -25,25 +33,4 @@ interface ITerminalOutput {
|
|
|
25
33
|
spinner(message: string): ISpinner;
|
|
26
34
|
}
|
|
27
35
|
|
|
28
|
-
/**
|
|
29
|
-
* CLI entry point — parses arguments, loads config/context, and starts the
|
|
30
|
-
* Ink TUI or runs in print mode.
|
|
31
|
-
*
|
|
32
|
-
* CLI flags:
|
|
33
|
-
* robota Interactive TUI mode
|
|
34
|
-
* robota "prompt" TUI with initial prompt (future)
|
|
35
|
-
* robota -p "prompt" Print mode (one-shot, exit after response)
|
|
36
|
-
* robota -c Continue last session
|
|
37
|
-
* robota -r <id> Resume session by ID
|
|
38
|
-
* robota --model <model> Model override
|
|
39
|
-
* robota --permission-mode <m> plan|default|acceptEdits|bypassPermissions
|
|
40
|
-
* robota --max-turns <n> Limit agentic turns
|
|
41
|
-
* robota --version Print package version and exit
|
|
42
|
-
*/
|
|
43
|
-
/**
|
|
44
|
-
* Main CLI orchestration function.
|
|
45
|
-
* Called from bin.ts as the top-level entry.
|
|
46
|
-
*/
|
|
47
|
-
declare function startCli(): Promise<void>;
|
|
48
|
-
|
|
49
36
|
export { type ISpinner, type ITerminalOutput, startCli };
|
package/dist/node/index.d.ts
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/**
|
|
2
|
+
* CLI entry point — parses arguments, creates provider, and starts the Ink TUI.
|
|
3
|
+
*
|
|
4
|
+
* CLI owns provider creation. SDK owns everything else
|
|
5
|
+
* (config, context, session, tools).
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* Main CLI orchestration function.
|
|
9
|
+
*/
|
|
10
|
+
declare function startCli(): Promise<void>;
|
|
3
11
|
|
|
4
12
|
/**
|
|
5
13
|
* CLI-specific types for terminal I/O abstraction.
|
|
@@ -25,25 +33,4 @@ interface ITerminalOutput {
|
|
|
25
33
|
spinner(message: string): ISpinner;
|
|
26
34
|
}
|
|
27
35
|
|
|
28
|
-
/**
|
|
29
|
-
* CLI entry point — parses arguments, loads config/context, and starts the
|
|
30
|
-
* Ink TUI or runs in print mode.
|
|
31
|
-
*
|
|
32
|
-
* CLI flags:
|
|
33
|
-
* robota Interactive TUI mode
|
|
34
|
-
* robota "prompt" TUI with initial prompt (future)
|
|
35
|
-
* robota -p "prompt" Print mode (one-shot, exit after response)
|
|
36
|
-
* robota -c Continue last session
|
|
37
|
-
* robota -r <id> Resume session by ID
|
|
38
|
-
* robota --model <model> Model override
|
|
39
|
-
* robota --permission-mode <m> plan|default|acceptEdits|bypassPermissions
|
|
40
|
-
* robota --max-turns <n> Limit agentic turns
|
|
41
|
-
* robota --version Print package version and exit
|
|
42
|
-
*/
|
|
43
|
-
/**
|
|
44
|
-
* Main CLI orchestration function.
|
|
45
|
-
* Called from bin.ts as the top-level entry.
|
|
46
|
-
*/
|
|
47
|
-
declare function startCli(): Promise<void>;
|
|
48
|
-
|
|
49
36
|
export { type ISpinner, type ITerminalOutput, startCli };
|
package/dist/node/index.js
CHANGED
|
@@ -1,13 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
startCli
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
|
|
5
|
-
// src/index.ts
|
|
6
|
-
import { Session, SessionStore, query, TRUST_TO_MODE } from "@robota-sdk/agent-sdk";
|
|
3
|
+
} from "./chunk-Y6VSMUKG.js";
|
|
7
4
|
export {
|
|
8
|
-
Session,
|
|
9
|
-
SessionStore,
|
|
10
|
-
TRUST_TO_MODE,
|
|
11
|
-
query,
|
|
12
5
|
startCli
|
|
13
6
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@robota-sdk/agent-cli",
|
|
3
|
-
"version": "3.0.0-beta.
|
|
3
|
+
"version": "3.0.0-beta.45",
|
|
4
4
|
"description": "AI coding assistant CLI built on Robota SDK",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -35,8 +35,9 @@
|
|
|
35
35
|
"marked-terminal": "^7.3.0",
|
|
36
36
|
"react": "19.2.4",
|
|
37
37
|
"string-width": "^8.2.0",
|
|
38
|
-
"@robota-sdk/agent-core": "3.0.0-beta.
|
|
39
|
-
"@robota-sdk/agent-
|
|
38
|
+
"@robota-sdk/agent-core": "3.0.0-beta.45",
|
|
39
|
+
"@robota-sdk/agent-provider-anthropic": "3.0.0-beta.45",
|
|
40
|
+
"@robota-sdk/agent-sdk": "3.0.0-beta.45"
|
|
40
41
|
},
|
|
41
42
|
"devDependencies": {
|
|
42
43
|
"@types/marked": "^6.0.0",
|