-
-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy pathtools.ts
More file actions
14 lines (11 loc) · 613 Bytes
/
Copy pathtools.ts
File metadata and controls
14 lines (11 loc) · 613 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import type { Terminal } from "lucide-react";
/** All tool identifiers available in the tool picker strip. */
export type ToolId = "terminal" | "browser" | "git" | "files" | "project-files" | "tasks" | "agents" | "mcp";
/** Subset of ToolId that renders as a panel in the tools column (excludes contextual tools like tasks/agents). */
export type PanelToolId = Extract<ToolId, "terminal" | "browser" | "git" | "files" | "project-files" | "mcp">;
/** Shape of a tool definition used by ToolPicker and workspace components. */
export interface ToolDef {
id: ToolId;
label: string;
icon: typeof Terminal;
}