Follow Discord
Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.259 ·

plugin-types command now also emits claude-code.d.ts for built-in tool inputs

A generated claude-code.d.ts now types built-in tool inputs, so TypeScript can narrow on checks like tool === Bash.

TierUse it nowhow much it should matter to you
Useful4my rating, 1 to 5
Signal2worth watching, 1 to 5
AreaPlugin SDKwhat it touches
KindNew Featuresin v2.1.259,
Group of 2 Use it now No documentation found

A generated claude-code.d.ts now types built-in tool inputs, so TypeScript can narrow on checks like tool === Bash.

A new generator (BuiltinToolInputs) writes a claude-code.d.ts declaration file merging built-in tool input schemas into ToolCallInput, similar to the existing MCP tool-input declaration file. This lets TypeScript users narrow e.tool === "Bash" etc. to typed arguments for built-in tools, not just MCP tools. The built-in plugin-types local command now writes both claude-code.d.ts and claude-code-mcp.d.ts, whereas previously it only wrote the MCP tool inputs file.

Read from
Names in the bundleclaude-code.d.tsToolCallInput

See this entry in the whole of v2.1.259 →

Feedback