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
53 lines
1.5 KiB
TypeScript
53 lines
1.5 KiB
TypeScript
import type { ToolCallStatusKind } from "../../workspaceAgentToolCallDisplay";
|
|
import type { WorkspaceAgentActivityTimelineItem } from "../../workspaceAgentTimelineTypes";
|
|
import type { AgentApprovalItemVM } from "./agentApprovalItemVM";
|
|
import type { AgentAskUserQuestionItemVM } from "./agentAskUserQuestionItemVM";
|
|
import type { AgentPlanModeItemVM } from "./agentPlanModeItemVM";
|
|
import type { AgentTaskItemVM } from "./agentTaskItemVM";
|
|
|
|
export type AgentToolRendererKind =
|
|
| "default"
|
|
| "approval"
|
|
| "plan-enter"
|
|
| "plan-exit"
|
|
| "ask-user"
|
|
| "task"
|
|
| "read"
|
|
| "write"
|
|
| "edit"
|
|
| "bash"
|
|
| "search"
|
|
| "web-search"
|
|
| "web-fetch"
|
|
| "image-generation"
|
|
| "todo-write"
|
|
| "tool-search"
|
|
| "skill"
|
|
| "mcp";
|
|
|
|
export interface AgentToolCallVM {
|
|
kind: "tool-call";
|
|
id: string;
|
|
turnId: string;
|
|
name: string;
|
|
toolName: string | null;
|
|
callType: string | null;
|
|
status: string | null;
|
|
statusKind: ToolCallStatusKind | null;
|
|
summary: string;
|
|
compactSummary: string | null;
|
|
payload: Record<string, unknown> | null;
|
|
input: Record<string, unknown> | null;
|
|
output: Record<string, unknown> | null;
|
|
error: Record<string, unknown> | null;
|
|
metadata: Record<string, unknown> | null;
|
|
locations: unknown[] | null;
|
|
rendererKind: AgentToolRendererKind;
|
|
approval: AgentApprovalItemVM | null;
|
|
planMode: AgentPlanModeItemVM | null;
|
|
askUserQuestion: AgentAskUserQuestionItemVM | null;
|
|
task: AgentTaskItemVM | null;
|
|
occurredAtUnixMs: number | null;
|
|
sourceTimelineItems?: WorkspaceAgentActivityTimelineItem[];
|
|
}
|