CLI loads harness spec 3.0.0-draft; the show tool over the link
The spec's version may be a pre-release (3.0.0-draft). Every tool file is loaded, with the new fields `sessions`, `requires`, `unavailable` and `confirm`; the CLI's tools are those not the server's alone and offered in an agent session (forCli) — a chat's own tools over the server's tree (mkdir, mv, rm, search, python, the forge verbs) are not built in. blocks/context.md is known; blocks/workspace.md is the server's alone. show is built in with `requires: display`: offered only in a session a client opened over the link when that client said `show: true` (capability `show`); the device reads the file (at most 1 MB) and sends it with `_lembas/show`. The harness tests now say 3.0.0's split of tools instead of "the execution tools are the CLI's alone". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
10 files changed
+200
-24
No files matched your search
@@ -17,6 +17,7 @@ import { memoryTool } from "./memory.ts"
|
||||
import { sessionSearchTool } from "./session_search.ts"
|
||||
import { skillManageTool, skillsListTool, skillViewTool } from "./skills.ts"
|
||||
import { settingsTool } from "./settings.ts"
|
||||
import { showTool } from "./show.ts"
|
||||
import { knowledgeGetTool, knowledgeSearchTool, noteManageTool, notesSearchTool, noteViewTool } from "./library.ts"
|
||||
import type { Tool } from "./tool.ts"
|
||||
import { writeTool } from "./write.ts"
|
||||
@@ -56,6 +57,7 @@ export const BUILTIN_TOOLS: Tool[] = [
|
||||
skillManageTool,
|
||||
settingsTool,
|
||||
viewImageTool,
|
||||
showTool,
|
||||
// Offered to subagents only (the spec's `offered: subagent`; app.ts SUBAGENT_ONLY).
|
||||
reportTool,
|
||||
] as Tool[]
|
||||
|
||||
Reference in new issue
Block a user