Skip to content

chore: update dependencies to latest versions#73

Merged
nicknisi merged 3 commits intomainfrom
nicknisi/deps-updates
Feb 27, 2026
Merged

chore: update dependencies to latest versions#73
nicknisi merged 3 commits intomainfrom
nicknisi/deps-updates

Conversation

@nicknisi
Copy link
Member

Summary

  • Upgrade @clack/core and @clack/prompts to v1 (first stable release)
  • Upgrade @anthropic-ai/sdk from 0.71.2 to 0.78.0
  • Upgrade @anthropic-ai/claude-agent-sdk from 0.2.19 to 0.2.62
  • Update xstate (5.28.0), ink (6.8.0), p-limit (7.3.0), dotenv (17.3.1), @types/react (19.2.14)
  • Replace any types in agent SDK usage with real typed imports

Why

Dependencies were stale across multiple packages. The clack upgrade is a major version (0.x → 1.0) that required a minor type fix on validate callbacks. The agent SDK type cleanup removes any usage and caught dead code, improving type safety for future upgrades.

Notes

  • Clack v1 breaking change: validate callback param widened to string | undefined (already handled by existing guard)
  • Removed dead case 'tool' branch in handleSDKMessage — not a valid SDKMessage variant
  • Zod already at latest stable (4.3.5); only canary prereleases available

@nicknisi nicknisi changed the title Update dependencies to latest versions chore: update dependencies to latest versions Feb 27, 2026
@nicknisi nicknisi force-pushed the nicknisi/deps-updates branch from 647daf4 to b5a971a Compare February 27, 2026 16:37
Upgrade @clack/core from 0.5.0 to 1.0.1 and @clack/prompts from
0.11.0 to 1.0.1. Remove explicit type annotations on validate
callbacks to match the widened `string | undefined` parameter type.

refactor: replace any types with real agent SDK types and upgrade @anthropic-ai/sdk

- Import SDKMessage, SDKUserMessage, PermissionResult, Options, and
  query from @anthropic-ai/claude-agent-sdk instead of using any
- Type _sdkModule cache, McpServersConfig, and canUseTool return value
- Remove dead 'tool' case from handleSDKMessage switch
- Upgrade @anthropic-ai/sdk from 0.71.2 to 0.78.0

feat: upgrade @anthropic-ai/claude-agent-sdk from 0.2.19 to 0.2.62

chore: update xstate, ink, and dotenv to latest minor versions

- xstate 5.25.1 → 5.28.0
- ink 6.6.0 → 6.8.0
- dotenv 17.2.3 → 17.3.1

chore: update p-limit and @types/react to latest minor versions

- p-limit 7.2.0 → 7.3.0
- @types/react 19.2.9 → 19.2.14
@nicknisi nicknisi force-pushed the nicknisi/deps-updates branch from b5a971a to 3d1cf30 Compare February 27, 2026 16:40
… rebase

- Remove duplicate dotenv and p-limit entries in devDependencies
- Widen validateEnvName param to string | undefined for clack v1 compat
@nicknisi nicknisi merged commit 44fc4c2 into main Feb 27, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant