Skip to content

chore(agentcore): repin @copilotkit packages to 1.70.0 (refs OSS-1029) - #6811

Closed
BenTaylorDev wants to merge 1 commit into
mainfrom
ben1/oss-1029-agentcore-repin
Closed

BenTaylorDev wants to merge 1 commit into
mainfrom
ben1/oss-1029-agentcore-repin

Conversation

@BenTaylorDev

@BenTaylorDev BenTaylorDev commented Aug 31, 2026 •

Copy link
Copy Markdown
Contributor

Step 3 of #6188's landing order. That PR states: "1. Merge #6098. 2. Publish @copilotkit/runtime and @copilotkit/react-core with managed entitlement support. 3. Update the two AgentCore pins from 1.68.1 to that release. 4. Merge this PR. Do not merge this PR before step 3."

Steps 1 and 2 completed today:

This is step 3, so #6188 is no longer blocked on the release train.

The locks are bumped minimally, not regenerated

Worth a look, because the obvious approach is wrong in two different directions.

A plain npm install --package-lock-only leaves a duplicate. The lambda ended up with two copies of @copilotkit/shared — 1.70.0 nested under runtime, and 1.68.1 still hoisted at the top level for the @copilotkit/channels-*@0.9.0 packages, which ask for ^1.68.0 and were already satisfied. npm dedupe does not collapse it. npm update @copilotkit/shared @copilotkit/core --package-lock-only does.

A full regeneration is far too broad. Deleting the lock and rebuilding it produces a single clean copy, but sweeps 89 unrelated packages along with it — including @graphql-tools/executor 1.5.1 → 2.0.0, @graphql-tools/utils 10 → 11, debug 2 → 4, and a @types/express 5 → 4 downgrade. That is a dependency sweep on a Lambda that ships to AWS, not a repin, so it was rejected.

What landed changes exactly three resolved versions in the lambda lock (@copilotkit/core, runtime, shared, all 1.68.1 → 1.70.0) plus the type-package hoisting that follows from runtime 1.70.0's own tree, and seven in the frontend lock.

One thing left deliberately alone

The lambda's overrides block pins @ag-ui/{client,core,encoder,proto} to 0.0.58, while [email protected] declares 0.0.59. I left it as-is — it was already overriding runtime's declared version before this change, so the override goes on doing what it did. Flagging it in case that pin has a shelf life.

Validation

  • lambda npm install + tsc -p tsconfig.json → exit 0, dist/ emitted
  • frontend npm install + tsc && vite build → exit 0, built in 11.14s
  • exactly one copy of every @copilotkit/* and @ag-ui/* package in both locks, none left on a 1.6x line
  • no remaining 1.68.1 under examples/integrations/agentcore

Note 1.68.1 is pinned across ~20 other examples/integrations/*/package.json. Those are deliberately untouched — the landing order names only the two AgentCore pins.

Refs OSS-1029.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Updated the AgentCore integration to the latest CopilotKit release.
    • Keeps the frontend and runtime components aligned for improved compatibility and access to the latest fixes and enhancements.

Step 3 of #6188's landing order. @copilotkit/runtime and @copilotkit/react-core 1.70.0
published today and carry the managed Intelligence authority from #6098, so the two
AgentCore pins can come off 1.68.1 and #6188 is no longer blocked on the release train.

The locks are bumped minimally, not regenerated. A plain --package-lock-only bump left
two copies of @copilotkit/shared in the lambda (1.70.0 nested under runtime, 1.68.1
hoisted for the channels-* packages that ask ^1.68.0); npm update on shared and core
collapses that to one. Full regeneration was rejected: it swept 89 unrelated packages,
including @graphql-tools/executor 1.5.1 -> 2.0.0 and a @types/express 5 -> 4 downgrade.

The lambda's @Ag-ui overrides block is left alone, so it still holds @ag-ui/* at 0.0.58
against runtime 1.70.0's declared 0.0.59, exactly as it did against 1.68.1.

Verified: lambda `tsc -p tsconfig.json` exit 0; frontend `tsc && vite build` exit 0;
one copy of every @CopilotKit and @Ag-ui package in both locks.

Refs OSS-1029.
@linear-code

linear-code Bot commented Aug 31, 2026

Copy link
Copy Markdown

OSS-1029

@coderabbitai

coderabbitai Bot commented Aug 31, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Team

Run ID: 4a5f719e-a562-4179-9482-7156932971bc

📥 Commits

Reviewing files that changed from the base of the PR and between f08f478 and 7abff7b.

⛔ Files ignored due to path filters (2)
  • examples/integrations/agentcore/frontend/package-lock.json is excluded by !**/package-lock.json, !**/package-lock.json
  • examples/integrations/agentcore/infra-cdk/lambdas/copilotkit-runtime/package-lock.json is excluded by !**/package-lock.json, !**/package-lock.json
📒 Files selected for processing (2)
  • examples/integrations/agentcore/frontend/package.json
  • examples/integrations/agentcore/infra-cdk/lambdas/copilotkit-runtime/package.json

📝 Walkthrough

Walkthrough

The AgentCore frontend and Lambda packages update their CopilotKit dependencies from version 1.68.1 to 1.70.0.

Changes

AgentCore dependency updates

Layer / File(s) Summary
Update CopilotKit package versions
examples/integrations/agentcore/frontend/package.json, examples/integrations/agentcore/infra-cdk/lambdas/copilotkit-runtime/package.json
The frontend updates @copilotkit/react-core. The Lambda package updates @copilotkit/runtime. Both versions change from 1.68.1 to 1.70.0.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Suggested reviewers: jpr5

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch ben1/oss-1029-agentcore-repin

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@BenTaylorDev

Copy link
Copy Markdown
Contributor Author

Superseded by #6188 itself. When I opened this, #6188 was still pre-rebase and the AgentCore pins were the outstanding step 3. The force-push at 22:04Z brought 064c5ed910 chore(examples): update CLI starters to CopilotKit 1.70.0, which repins the same four files — so this would now conflict with #6188 rather than unblock it. Closing.

One finding from here is still live against #6188, and I've reported it there: 064c5ed910's lambda lock carries two copies of @copilotkit/shared.

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