Skip to content

Commit b06c3eb

Browse files
committed
Remove dead tools
1 parent f9218ec commit b06c3eb

File tree

6 files changed

+7
-245
lines changed

6 files changed

+7
-245
lines changed

apps/sim/app/workspace/[workspaceId]/home/components/message-content/utils.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import {
44
Blimp,
55
Bug,
66
Calendar,
7-
ClipboardList,
87
Database,
98
Eye,
109
File,
@@ -55,10 +54,7 @@ const TOOL_ICONS: Record<string, IconComponent> = {
5554
agent: AgentIcon,
5655
custom_tool: Wrench,
5756
research: Search,
58-
plan: ClipboardList,
5957
debug: Bug,
60-
edit: Pencil,
61-
fast_edit: Pencil,
6258
context_compaction: Asterisk,
6359
open_resource: Eye,
6460
file_write: File,

apps/sim/app/workspace/[workspaceId]/home/components/mothership-view/components/resource-content/resource-content.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ function extractFileContent(raw: string): string {
459459
const marker = '"content":'
460460
const idx = raw.indexOf(marker)
461461
if (idx === -1) return ''
462-
let rest = raw.slice(idx + marker.length).trimStart()
462+
const rest = raw.slice(idx + marker.length).trimStart()
463463
if (!rest.startsWith('"')) return rest
464464

465465
// Walk the JSON string value to find the unescaped closing quote.

apps/sim/app/workspace/[workspaceId]/home/types.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -181,10 +181,7 @@ export const SUBAGENT_LABELS: Record<string, string> = {
181181
table: 'Table agent',
182182
custom_tool: 'Custom Tool agent',
183183
superagent: 'Superagent',
184-
plan: 'Plan agent',
185184
debug: 'Debug agent',
186-
edit: 'Edit agent',
187-
fast_edit: 'Build agent',
188185
run: 'Run agent',
189186
agent: 'Agent manager',
190187
job: 'Job agent',
@@ -306,14 +303,7 @@ export const TOOL_UI_METADATA: Record<string, ToolUIMetadata> = {
306303
phase: 'subagent',
307304
},
308305
[Research.id]: { title: 'Researching', phaseLabel: 'Research', phase: 'subagent' },
309-
plan: { title: 'Planning', phaseLabel: 'Plan', phase: 'subagent' },
310306
[Debug.id]: { title: 'Debugging', phaseLabel: 'Debug', phase: 'subagent' },
311-
edit: { title: 'Editing workflow', phaseLabel: 'Edit', phase: 'subagent' },
312-
fast_edit: {
313-
title: 'Editing workflow',
314-
phaseLabel: 'Edit',
315-
phase: 'subagent',
316-
},
317307
[OpenResource.id]: {
318308
title: 'Opening resource',
319309
phaseLabel: 'Resource',

apps/sim/lib/copilot/generated/request-trace-v1.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,8 @@ export interface RequestTraceV1MergedTrace {
8484
cost?: RequestTraceV1CostSummary
8585
durationMs: number
8686
endMs: number
87-
executionId?: string
8887
goTraceId: string
89-
model?: string
9088
outcome: RequestTraceV1Outcome
91-
provider?: string
92-
runId?: string
9389
serviceCharges?: MothershipStreamV1AdditionalPropertiesMap
9490
simRequestId?: string
9591
spans: RequestTraceV1Span[]

0 commit comments

Comments
 (0)