Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.119 Home All releases olderv2.1.118 v2.1.120newer
Claude Code v2.1.119

SDK Enhancements

Several new options are available for the Agent SDK:

  • askUserQuestion.previewFormat exposed via CLAUDE_CODE_QUESTION_PREVIEW_FORMAT env var
  • canUseTool callback for dynamic tool permission decisions (mutually exclusive with permissionPromptToolName)
  • getOAuthToken callback for custom OAuth token provision
  • Input/output validation with structured error messages: "Input validation error: Invalid arguments for tool" / "Output validation error: Invalid structured content for tool"
  • Tool annotations support via Zod schemas
  • taskSupport for tools: "required" (needs task augmentation) vs "forbidden" (must use registerTool() instead)
Evidence

SDK enhancements (search for "CLAUDE_CODE_QUESTION_PREVIEW_FORMAT", "canUseTool callback", "Output validation error")

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.119 →