Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

feat(conversations): add REPL tool specs for stored tool results

Steven Enamakelf444b8753d17
diff --git a/app/src/features/conversations/tools/toolSpecs.ts b/app/src/features/conversations/tools/toolSpecs.ts
index 57a94ca510..24c1c1c5a9 100644
--- a/app/src/features/conversations/tools/toolSpecs.ts
+++ b/app/src/features/conversations/tools/toolSpecs.ts
@@ -196,6 +196,10 @@ export const EXACT_TOOL_SPECS: Record<string, ToolSpec> = {
resolve_time: spec('resolveDate', ClockIcon, 'system', { chip: chip.text('expr') }),
retrieve_tool_output: spec('retrieveOutput', ArchiveRestoreIcon, 'system'),
tinyjuice_retrieve: spec('retrieveOutput', ArchiveRestoreIcon, 'system'),
+ // REPL tools over a stored (handle) tool result; they reuse existing phrases.
+ juice_find: spec('searchCode', TextSearchIcon, 'system', { chip: chip.text('query') }),
+ juice_extract: spec('extractDetails', LayersIcon, 'system'),
+ juice_summarize: spec('extractDetails', LayersIcon, 'system'),
read_workspace_state: spec('reviewWorkspace', FolderOpenIcon, 'system'),
proxy_config: spec('configureProxy', SettingsIcon, 'system', { chip: chip.text('action') }),
update_check: spec('checkUpdates', DownloadIcon, 'system'),