Repository navigation
Conversation
pi-agent-core 0.85.1 depends on pi-ai ^0.85.1. Dependabot opened the two bumps as separate PRs (#75, #76); each one alone leaves a second pi-ai copy in the workspace, so AssistantMessageEventStream and StreamFn resolve to different declarations and the build fails with TS2322. Bump both packages in memflywheel and sdk in one change, and group them in dependabot so future updates land together. Signed-off-by: FenjuFu <92919259+FenjuFu@users.noreply.github.com>
This branch has not been deployed
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
Supersedes #75 and #76. Both Dependabot PRs fail CI with the same TS2322 errors (
StreamFn,ResolvePiAgentModel,AssistantMessageEventStream), and neither can pass on its own:@earendil-works/pi-agent-core@0.85.1depends on@earendil-works/pi-ai@^0.85.1.AssistantMessageEventStreamdeclares a privatequeue, so the two copies are nominally incompatible and everyStreamFnimplementation fails to type-check.This is the same version-skew failure seen on #67. It is not an API break in 0.85.1.
Changes
pi-aiandpi-agent-coreto^0.85.1in bothpackages/memflywheelandpackages/sdk, and regeneratepnpm-lock.yaml. The lockfile now contains only 0.85.1 for both packages.pigroup to.github/dependabot.ymlso future bumps of these two packages arrive in one PR.Validation
tsc -bincore,embeddings,sdkandmemflywheel: 0 errors. On deps(deps): bump @earendil-works/pi-agent-core from 0.84.3 to 0.85.1 #75/deps(deps): bump @earendil-works/pi-ai from 0.84.4 to 0.85.1 #76 CI, the same step failed.node --testlocally on Windows: a handful of failures, all in path-handling tests such asresolveRelativePathand assertions on OpenClaw/OpenCode paths that expect POSIX separators. None of them touch pi-ai or the stream types. Linux and macOS CI are the authoritative run.After this merges, #75 and #76 can be closed.