Repository navigation
v0.13.0
What's Changed
- fix: flatten
TodoWritetool 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 nowtodoWrite(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 callstodoWritedirectly from Java needs updating;TodoEventHandlerstill receivesTodos.
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
ClassPathResourceskills location such asMETA-INF/skillsnow 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):
ClassPathResourceskill locations failed withUnsupported 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,GlobToolandListDirectoryToolresolve a relativepathagainst 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). DockerCliExecBackendon Windows (#88): arguments containing double quotes reacheddocker.exemangled, so commands silently ran a bareecho(exit 0, empty output, no side effects). They are now quoted for the Windows command line.- Misleading
Readtool description (#85, #86): no longer claims to read images, PDFs and Jupyter notebooks. Bashtool description: the git commit and pull request examples no longer tell the model to add "Generated with Claude Code" andCo-Authored-By: Claudelines 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 asSKILL.mdfiles, 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
Tasktool.
Examples and docs
- New
observability-demo: traces tool calls with aToolCallListenerand stops running turns withInterruptAdvisor(type/stop, or a per-turn tool-call budget).code-agent-demonow traces tool calls and stops turns that exceedagent.turn.timeout. todo-demo,subagent-demo,subagent-a2a-demoandcode-agent-demostart withoutBRAVE_API_KEY, and the commented-out OpenAI starter now uses the correctspring-ai-starter-model-openaiartifact (#71, #72).- The guides now live only in the documentation site; the duplicate copy in
spring-ai-agent-utils/docswas removed.
Dependencies
- Spring AI is unchanged (2.0.1).
- The optional
spring-ai-sessiondependency (used byAutoDreamServicefor cross-session recall) moves from 0.7.0 to 0.10.0.
New Contributors
- @yamakze made their first contribution in #86
- @lyxnbclass made their first contribution in #89
- @Ashfaqbs made their first contribution in #90
- @Hugo-DDT made their first contribution in #93
- @pengbo made their first contribution in #72
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