Publish Claude Code Binaries / Stage and publish binaries (push) Canceled after 0s
Publish Tutti App Runtime / Build darwin-arm64 (push) Canceled after 0s
Publish Tutti App Runtime / Build darwin-amd64 (push) Canceled after 0s
Publish Tutti App Runtime / Build linux-amd64 (push) Canceled after 0s
Publish Tutti App Runtime / Build windows-amd64 (push) Canceled after 0s
Sync Tutti Agent Skills / sync (push) Canceled after 0s
Windows Agent Adapters / Test Windows agent adapters (push) Canceled after 0s
Windows Daemon Adapters / Test Windows daemon adapters (push) Canceled after 0s
Publish Tutti App Runtime / Publish runtime catalog (push) Canceled after 0s
58 lines
1.2 KiB
TypeScript
58 lines
1.2 KiB
TypeScript
export type AgentProviderId =
|
|
| "claude-code"
|
|
| "codex"
|
|
| "tutti-agent"
|
|
| "cursor"
|
|
| "nexight"
|
|
| "opencode"
|
|
| "openclaw"
|
|
| "hermes";
|
|
|
|
export type AgentModelCatalogSource =
|
|
| "codex-cli"
|
|
| "tutti-agent-cli"
|
|
| "nexight-cli"
|
|
| "opencode-cli"
|
|
| "openclaw-cli"
|
|
| "hermes-cli";
|
|
import type { AppErrorDescriptor } from "./error";
|
|
import type { TerminalRuntimeKind } from "./terminal";
|
|
|
|
export type AgentLaunchMode = "new" | "resume";
|
|
|
|
export interface ListAgentModelsInput {
|
|
provider: AgentProviderId;
|
|
refresh?: boolean;
|
|
}
|
|
|
|
export interface ListInstalledAgentProvidersResult {
|
|
providers: AgentProviderId[];
|
|
}
|
|
|
|
export interface AgentModelOption {
|
|
id: string;
|
|
displayName: string;
|
|
description: string;
|
|
isDefault: boolean;
|
|
}
|
|
|
|
export interface ListAgentModelsResult {
|
|
provider: AgentProviderId;
|
|
source: AgentModelCatalogSource;
|
|
fetchedAt: string;
|
|
models: AgentModelOption[];
|
|
error: AppErrorDescriptor | null;
|
|
}
|
|
|
|
export interface LaunchAgentResult {
|
|
sessionId: string;
|
|
provider: AgentProviderId;
|
|
profileId?: string | null;
|
|
runtimeKind?: TerminalRuntimeKind;
|
|
command: string;
|
|
args: string[];
|
|
launchMode: AgentLaunchMode;
|
|
effectiveModel: string | null;
|
|
resumeSessionId: string | null;
|
|
}
|