Skip to content

v0.13.0

Choose a tag to compare

@tzolov tzolov released this 03 Oct 17:33
· 19 commits to main since this release

What's Changed

  • fix: flatten TodoWrite tool parameter to a plain list of todo items by @kezhenxu94 in #74
  • fix(tools): describe Read as UTF-8 text only by @yamakze in #86
  • fix(tools): make Brave web search tests deterministic by @lyxnbclass in #89
  • fix: aggregate skills across multiple SkillsJars sharing the same classpath prefix by @Ashfaqbs in #90
  • feat: add programmatic skill registration via SkillsTool.Builder.addSkill by @Hugo-DDT in #93
  • feat: enhance A2A subagent description to include AgentCard skills and examples by @caio-henrique in #68
  • Add completion callback for tool invocation cleanup by @zz-zhi54 in #96
  • Fix todo-demo first-run failures by @pengbo in #72

Also fixed in this release: #94 (relative paths in workspaces), #56 (skills in GraalVM native images), #88 (DockerCliExecBackend on Windows), and the A2A agent card URL (based on the analysis in #70 by @caio-henrique).

Breaking change

  • TodoWriteTool.todoWrite(Todos) is now todoWrite(List<TodoItem>) (#74). The tool's input schema was nested twice ({"todos": {"todos": [...]}}), so most model calls failed to deserialize; models now send the flat {"todos": [...]} they naturally produce. Only code that calls todoWrite directly from Java needs updating; TodoEventHandler still receives Todos.

See the 0.12.0 to 0.13.0 migration guide for before/after code and all behavioral changes.

Fixes

  • Multiple SkillsJars (#28, #90): a ClassPathResource skills location such as META-INF/skills now collects skills from every classpath entry (your own classes directory and all JARs) instead of only the first. When two locations define the same skill name, the first is kept and a warning is logged.
  • Skills in GraalVM native images (#56): ClassPathResource skill locations failed with Unsupported resource protocol for JAR loading: resource; they now load without registering each file. Native-image hints also cover .claude/skills/**/*.md.
  • Relative paths in workspaces (#94): GrepTool, GlobTool and ListDirectoryTool resolve a relative path against the working directory (the workspace root) instead of the JVM's working directory, which denied valid paths when the JVM ran outside the workspace (for example in a container).
  • DockerCliExecBackend on Windows (#88): arguments containing double quotes reached docker.exe mangled, so commands silently ran a bare echo (exit 0, empty output, no side effects). They are now quoted for the Windows command line.
  • Misleading Read tool description (#85, #86): no longer claims to read images, PDFs and Jupyter notebooks.
  • Bash tool description: the git commit and pull request examples no longer tell the model to add "Generated with Claude Code" and Co-Authored-By: Claude lines to your users' commits and PRs.
  • A2A agent card URL: correct for agent URLs with a trailing slash (http://host:8080/ previously failed), card paths without a leading /, and percent-encoded paths.
  • Offline builds (#87, #89): the Brave web search tests no longer call the live API.

New

  • SkillsTool.Builder.addSkill(name, description, content) (#50, #93): register skills that are not packaged as SKILL.md files, for example generated at runtime or loaded from a database.
  • ToolCallListener.afterCompletion(...) (#96): a default method called once after every tool invocation, on success or failure, for per-invocation cleanup.
  • Richer A2A subagent descriptions (#68): the agent card's skills and examples are listed under each remote agent in the Task tool.

Examples and docs

  • New observability-demo: traces tool calls with a ToolCallListener and stops running turns with InterruptAdvisor (type /stop, or a per-turn tool-call budget). code-agent-demo now traces tool calls and stops turns that exceed agent.turn.timeout.
  • todo-demo, subagent-demo, subagent-a2a-demo and code-agent-demo start without BRAVE_API_KEY, and the commented-out OpenAI starter now uses the correct spring-ai-starter-model-openai artifact (#71, #72).
  • The guides now live only in the documentation site; the duplicate copy in spring-ai-agent-utils/docs was removed.

Dependencies

  • Spring AI is unchanged (2.0.1).
  • The optional spring-ai-session dependency (used by AutoDreamService for cross-session recall) moves from 0.7.0 to 0.10.0.

New Contributors

Thanks also to everyone who reported issues for this release: @mands, @habuma, @hujiayi0126, @joshlong, @git-syl and @mumuzi6.

Full Changelog: v0.12.0...v0.13.0