chore: update dependencies to latest versions#73
Merged
Conversation
647daf4 to
b5a971a
Compare
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
b5a971a to
3d1cf30
Compare
… rebase - Remove duplicate dotenv and p-limit entries in devDependencies - Widen validateEnvName param to string | undefined for clack v1 compat
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
anytypes in agent SDK usage with real typed importsWhy
Dependencies were stale across multiple packages. The clack upgrade is a major version (0.x → 1.0) that required a minor type fix on
validatecallbacks. The agent SDK type cleanup removesanyusage and caught dead code, improving type safety for future upgrades.Notes
validatecallback param widened tostring | undefined(already handled by existing guard)case 'tool'branch inhandleSDKMessage— not a validSDKMessagevariant