open-agents-ai 0.12.13 → 0.12.14
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/index.d.ts +6 -59
- package/dist/index.js +15034 -253
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,59 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
* Commands:
|
|
8
|
-
* open-agents "task" implicit run
|
|
9
|
-
* open-agents run "task" explicit run
|
|
10
|
-
* open-agents index /path/to/repo index a repository
|
|
11
|
-
* open-agents status show system status
|
|
12
|
-
* open-agents config show config
|
|
13
|
-
* open-agents config set KEY VALUE set config key
|
|
14
|
-
* open-agents serve start vLLM server
|
|
15
|
-
* open-agents eval run eval suite
|
|
16
|
-
* open-agents --help help
|
|
17
|
-
* open-agents --version version
|
|
18
|
-
*/
|
|
19
|
-
import type { BackendType } from "./config.js";
|
|
20
|
-
export type CommandName = "run" | "index" | "status" | "config" | "serve" | "eval" | "unknown";
|
|
21
|
-
export interface ParsedCliArgs {
|
|
22
|
-
command: CommandName;
|
|
23
|
-
/** Task text for the run command */
|
|
24
|
-
task?: string;
|
|
25
|
-
/** Repository path (for run and index commands) */
|
|
26
|
-
repoPath?: string;
|
|
27
|
-
/** Config sub-command (e.g. "set", "keys") */
|
|
28
|
-
configSubCommand?: string;
|
|
29
|
-
/** Config key (for config set) */
|
|
30
|
-
configKey?: string;
|
|
31
|
-
/** Config value (for config set) */
|
|
32
|
-
configValue?: string;
|
|
33
|
-
/** Eval suite name */
|
|
34
|
-
evalSuite?: string;
|
|
35
|
-
/** vLLM server port for serve command */
|
|
36
|
-
servePort?: number;
|
|
37
|
-
model?: string;
|
|
38
|
-
backendUrl?: string;
|
|
39
|
-
backendType?: BackendType;
|
|
40
|
-
dryRun?: boolean;
|
|
41
|
-
verbose?: boolean;
|
|
42
|
-
maxRetries?: number;
|
|
43
|
-
timeoutMs?: number;
|
|
44
|
-
offline?: boolean;
|
|
45
|
-
/** When true, config set writes to .oa/settings.json (project-local) */
|
|
46
|
-
local?: boolean;
|
|
47
|
-
help?: boolean;
|
|
48
|
-
version?: boolean;
|
|
49
|
-
}
|
|
50
|
-
export declare function routeCommand(command: string): CommandName;
|
|
51
|
-
export declare function parseCliArgs(argv: string[]): ParsedCliArgs;
|
|
52
|
-
export { createCli } from "./cli.js";
|
|
53
|
-
export { parseArgs } from "./args.js";
|
|
54
|
-
export type { CliOptions } from "./types.js";
|
|
55
|
-
export { loadConfig, mergeConfig, setConfigValue, DEFAULT_CONFIG } from "./config.js";
|
|
56
|
-
export type { AgentConfig, BackendType } from "./config.js";
|
|
57
|
-
export { Spinner } from "./ui/spinner.js";
|
|
58
|
-
export { printHeader, printSuccess, printError, printWarning, printInfo, printSection, printKeyValue, printBlank, printReport, formatDuration, } from "./ui/output.js";
|
|
59
|
-
//# sourceMappingURL=index.d.ts.map
|
|
1
|
+
export { parseCliArgs, routeCommand } from "./types.js";
|
|
2
|
+
export type { ParsedCliArgs, CommandName } from "./types.js";
|
|
3
|
+
export { loadConfig, mergeConfig, setConfigValue, DEFAULT_CONFIG } from "./types.js";
|
|
4
|
+
export type { AgentConfig, BackendType } from "./types.js";
|
|
5
|
+
export { Spinner } from "./types.js";
|
|
6
|
+
export { printHeader, printSuccess, printError, printWarning, printInfo, printSection, printKeyValue, printBlank, printReport, formatDuration } from "./types.js";
|