Skip to content

Agents: the DeepSeek compaction packages are optional peers - #17

Merged
igalshilman merged 1 commit into
restatedev:mainfrom
igalshilman:deepseek-optional-peers
Nov 9, 2026
Merged

igalshilman merged 1 commit into
restatedev:mainfrom
igalshilman:deepseek-optional-peers

Conversation

@igalshilman

Copy link
Copy Markdown
Collaborator

#11 added five @deepseek-ai/dsh-* packages (commands, compaction, compaction-basic, compaction-tool-result-pruner, token-meter) as hard dependencies of @restatedev/agents. Only src/deepseek imports 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-commands and dsh-compaction are not imported by the source, but are peers of dsh-compaction-basic, so they are listed too.

Checked with pnpm --filter e2e packaging: a pi-only project installs 102 packages, and @restatedev/agents/deepseek says it needs @deepseek-ai/cordis.

…ther DeepSeek packages (a pi-only app installs none)

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ 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.

Pullfrog  | View workflow run | Using gpt-6-luna (free trial credits) | 𝕏

@igalshilman
igalshilman merged commit 6a5b1e4 into restatedev:main Nov 9, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant