Repository navigation
Agents: the DeepSeek compaction packages are optional peers - #17
Merged
Merged
Conversation
…ther DeepSeek packages (a pi-only app installs none)
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
Reviewed the dependency metadata, lockfile, install documentation, and packaging behavior for making the DeepSeek compaction packages optional peers.
- Optional peers. Five DeepSeek compaction packages are now optional peer dependencies instead of runtime dependencies, while remaining development dependencies for this repository.
- Install guidance. The DeepSeek install command and lockfile are updated to match the new peer dependency declarations.
Important
This run used your free trial credits ($9.75 of $10 left) on GPT Luna, a fast, lightweight model. Connect a provider → to run the model you choose.
gpt-6-luna (free trial credits) | 𝕏
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.

#11 added five
@deepseek-ai/dsh-*packages (commands,compaction,compaction-basic,compaction-tool-result-pruner,token-meter) as hard dependencies of@restatedev/agents. Onlysrc/deepseekimports them, so an app that uses pi alone installed about 22 DeepSeek packages, against the README's word that a project installs only the frameworks it uses.They are now optional peer dependencies like the other DeepSeek packages (and development dependencies here), and the DeepSeek install line of the README names them.
dsh-commandsanddsh-compactionare not imported by the source, but are peers ofdsh-compaction-basic, so they are listed too.Checked with
pnpm --filter e2e packaging: a pi-only project installs 102 packages, and@restatedev/agents/deepseeksays it needs@deepseek-ai/cordis.