P1: Bump ai-sdk from v0.1.29 to v0.1.30 #1591

Closed
opened 2026-10-27 13:41:00 +00:00 by sam · 0 comments
Owner

github.com/samcharles93/ai-sdk is pinned at v0.1.29, one release behind (v0.1.30 pushed today).

Missing features available in v0.1.30:

  • NewTypedTool
  • GenerateTypedObject
  • errx.ProviderError
  • RetryConfig.OnAttempt

Concrete usage sites in internal/agentexec/loop_runner.go:

  • pluginToolSet: hand-writes JSON Schema + manual unmarshal
  • scriptToolSet: hand-writes JSON Schema + manual unmarshal

These are clean NewTypedTool[In] candidates once bumped.

Need to:

  • Update go.mod to require ai-sdk v0.1.30
  • Run go mod tidy
  • Refactor pluginToolSet and scriptToolSet to use NewTypedTool
  • Verify no breaking changes

Blocked by: nothing

Close reason

go.mod already on ai-sdk v0.1.30. Refactored pluginToolSet and scriptToolSet in internal/agentexec/loop_runner.go to use NewTypedTool instead of hand-written JSON Schema + manual unmarshal; tests pass


Imported from beads archie-core-tnsr · GitHub #663 · type task · priority P1 · created 2026-08-28 · closed 2026-08-31

github.com/samcharles93/ai-sdk is pinned at v0.1.29, one release behind (v0.1.30 pushed today). Missing features available in v0.1.30: - NewTypedTool - GenerateTypedObject - errx.ProviderError - RetryConfig.OnAttempt Concrete usage sites in internal/agentexec/loop_runner.go: - pluginToolSet: hand-writes JSON Schema + manual unmarshal - scriptToolSet: hand-writes JSON Schema + manual unmarshal These are clean NewTypedTool[In] candidates once bumped. Need to: - Update go.mod to require ai-sdk v0.1.30 - Run go mod tidy - Refactor pluginToolSet and scriptToolSet to use NewTypedTool - Verify no breaking changes Blocked by: nothing ### Close reason go.mod already on ai-sdk v0.1.30. Refactored pluginToolSet and scriptToolSet in internal/agentexec/loop_runner.go to use NewTypedTool instead of hand-written JSON Schema + manual unmarshal; tests pass --- _Imported from beads `archie-core-tnsr` · GitHub #663 · type task · priority P1 · created 2026-08-28 · closed 2026-08-31_
sam added the hightask labels 2026-10-27 13:41:00 +00:00
sam self-assigned this 2026-10-27 13:41:00 +00:00
sam closed this issue 2026-10-27 13:41:00 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#1591