Repository navigation
feat(integrations): align managed Intelligence starters - #6188
Conversation
Production Digest-Pinning AuditAll 42 services digest-pinned. Run 2026-08-31 20:23:41 PDT — 0 finding(s). |
|
Size Change: 0 B Total Size: 1.57 MB ℹ️ View Unchanged
|
292ef03 to
4ccbd21
Compare
@copilotkit/a2ui-renderer
@copilotkit/agentcore-runner
@copilotkit/angular
@copilotkit/channels
@copilotkit/channels-core
@copilotkit/channels-discord
@copilotkit/channels-intelligence
@copilotkit/channels-slack
@copilotkit/channels-teams
@copilotkit/channels-telegram
@copilotkit/channels-ui
@copilotkit/channels-whatsapp
@copilotkit/core
@copilotkit/react-core
@copilotkit/react-native
@copilotkit/react-textarea
@copilotkit/react-ui
@copilotkit/runtime
@copilotkit/runtime-client-gql
@copilotkit/sdk-js
@copilotkit/shared
@copilotkit/sqlite-runner
@copilotkit/voice
@copilotkit/vue
@copilotkit/web-components
@copilotkit/web-inspector
commit: |
4ccbd21 to
40b99a5
Compare
dec178e to
92f6f5e
Compare
## What changed - replace the managed “Create a free account” wording with the hosted organization admission flow - state that Clerk's automatic Free subscription does not count as an explicit Developer choice - document Clerk-native Self-Service Agreement consent for new accounts and no re-consent for existing accounts - explain that old organizations continue while new hosted organizations choose Developer or a paid plan - make the browser return to the CLI or hosted destination explicit before that destination performs project selection - keep customer-run self-hosted setup outside Clerk and this admission gate ## Why Managed onboarding docs must describe the same flow users see in the hosted app and CLI without changing starters, runtime packages, or self-hosted setup. Plan: [New-Organization Admission, Clerk Consent, and Monthly Seat Pricing](https://app.notion.com/p/3b83aa381852818a868acee473e1a07c?pvs=204) ## Clean replacement This PR targets `main` directly and supersedes #6441. It does not depend on #6188 and changes only two managed-onboarding pages, one architecture CTA, and their standalone contract test. ## Validation - managed onboarding contract test: passed - TypeScript: passed - lint: passed with inherited warnings - production docs build: passed; 222 pages rendered - formatting and `git diff --check`: passed The repository-wide test command still has four unrelated baseline failures: three Git LFS PNG pointer checks and one Channels dark-image expectation. This PR does not change those files or checks.
9a73138 to
8898588
Compare
marthakelly
left a comment
There was a problem hiding this comment.
The focused tests pass. I found one blocking problem in the managed AgentCore deployment path. I left the details inline.
marthakelly
left a comment
There was a problem hiding this comment.
chatted with mike/my agent, the rollout strategy makes sense, and invalidates my previous blocker
b18c454 to
b39716e
Compare
|
Heads up on Against the current head ( in Why it happens. Fix, in that lambda directory: 10 insertions / 48 deletions, one file, and it leaves everything else in the lock untouched. Verified on top of Worth avoiding the tempting alternative: deleting the lock and regenerating also produces one clean copy, but sweeps 89 unrelated packages with it — Happy to push this as a stacked PR if that is easier than folding it in; I have it ready. (I had opened #6811 for the step-3 repin before your rebase landed and have closed it as superseded.) Separately, FWIW: |
|
Pushed it: #6813, stacked on |
…da lock (refs OSS-1029) (#6813) Stacked on #6188 — base is `agent/intelligence-starter-templates`, one commit on top of `56c2378ff5`. Fold it in or merge it; it is not meaningful against `main`. Follow-up to [my comment on #6188](#6188 (comment)). One file, 10 insertions / 48 deletions. ## The problem `064c5ed910 chore(examples): update CLI starters to CopilotKit 1.70.0` leaves the AgentCore lambda lock with two copies of `@copilotkit/shared`, plus a stale `@copilotkit/core`: ``` node_modules/@copilotkit/runtime/node_modules/@copilotkit/shared 1.70.0 node_modules/@copilotkit/shared 1.68.1 <-- hoisted node_modules/@copilotkit/core 1.68.1 <-- stale ``` The frontend lock is clean; this is only the lambda. ## Why it happens `[email protected]` pins `@copilotkit/shared` to exactly `1.70.0`. The transitive `@copilotkit/channels-*@0.9.0` packages ask for `^1.68.0`, which the pre-existing `1.68.1` resolution already satisfies. A `--package-lock-only` bump has no reason to move a range that is already satisfied, so npm hoists `1.68.1` for the channels packages and nests `1.70.0` under `runtime`. `npm dedupe --package-lock-only` does **not** collapse it. What does: ``` npm update @copilotkit/shared @copilotkit/core --package-lock-only ``` That is the entire change. ## The alternative worth not taking Deleting the lock and regenerating also produces one clean copy — and 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*, on a Lambda that ships to AWS. Recording it here so the next person doesn't reach for it. ## Validation On top of `56c2378ff5`: - exactly one copy of every `@copilotkit/*` and `@ag-ui/*` package in the lock afterwards, none left on a 1.6x line - `npm install` + `tsc -p tsconfig.json` → exit 0, `dist/` emitted - nothing else in the lock moves — the diff is confined to the three `@copilotkit` entries and the hoisting that follows ## Unrelated, still flagging `[email protected]` declares `@ag-ui/*` at `0.0.59`; the lambda's `overrides` block holds them at `0.0.58`. Left alone — it was already overriding the declared version before this bump, and it builds — but it may have a shelf life. Refs OSS-1029. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
…(refs OSS-1029) Three defects, all in the credential this branch renames. Twelve integration quickstarts read `CPK_INTELLIGENCE_API_KEY=your_license_key`, eleven of them under "The runtime reads the license key from step 1". The project API key and the self-hosted license token are different credentials with different lifetimes, and ENT-1151 exists to take the license token out of managed setup -- so a reader who goes looking for a license key to paste finds a dead end on the very page meant to connect them. Now `cpk-...`, and "reads the project API key from step 1". The placeholder prefix was wrong in the other direction on five pages, and newly pinned that way by a test: `cpk_...`, with `cpk-...` asserted absent. A provisioned key is `cpk-<projectId>_<short>_<long>` -- see the `cpk-` keyPrefix in Intelligence's `apps/app-api/src/api-keys.ts` and the `parseApiKeyToken` fixtures. No key the platform issues starts with `cpk_`, so the placeholder taught a reader to distrust their own key. Both assertions are flipped. The new copy guard scans every MDX page rather than listing the twelve, so a page added next month is covered the day it lands. It reports the offending file and value, which is how the twelve above were enumerated. Finally, the retired-name boundary check is extracted to an exported `retiredNameReference` and unit-tested. It is the load-bearing half of that rule and it fails in one direction only: the canonical name ends with the retired one, so a plain substring match reports all ~250 correct sites and the guard gets switched off. The repo-wide scan cannot cover this -- it can say "clean", not that the boundary is what made it clean, and it goes green either way once the last old name is gone. Verified: guard script exit 0; guard tests 20 passed; managed-starter-docs 10 passed (was 9); oxfmt and oxlint clean on the three changed TypeScript files. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
…da lock (refs OSS-1029) The 1.70.0 repin left two copies of @copilotkit/shared in the AgentCore lambda: 1.70.0 nested under runtime, and 1.68.1 still hoisted at the top level, alongside a stale @copilotkit/core 1.68.1. [email protected] pins shared to exactly 1.70.0, but the transitive @copilotkit/channels-* 0.9.0 packages ask for ^1.68.0, which the existing 1.68.1 resolution already satisfies. A --package-lock-only bump has no reason to move a range that is already satisfied, so npm hoists 1.68.1 for the channels packages and nests 1.70.0 under runtime. npm dedupe does not collapse it; npm update on shared and core does. Regenerating the lock from scratch also yields one clean copy, but sweeps 89 unrelated packages with it -- @graphql-tools/executor 1.5.1 -> 2.0.0, @graphql-tools/utils 10 -> 11, debug 2 -> 4, and a @types/express 5 -> 4 downgrade -- so it was rejected. Verified: one copy of every @CopilotKit and @Ag-ui package in the lock afterwards, none left on a 1.6x line, and npm install + tsc -p tsconfig.json exits 0. Refs OSS-1029.
1ecd280 to
2d44d3f
Compare
What changed
CPK_INTELLIGENCE_API_KEY.COPILOTKIT_LICENSE_TOKENfrom the AgentCore managed setup.Why
Managed CopilotKit Intelligence projects issue a project API key. They do not
issue a self-hosted license token. AgentCore must deploy with the managed key
alone.
Self-hosted license setup belongs to the Intelligence Helm chart. It is not part
of this managed AgentCore template.
Landing order
@copilotkit/runtimeand@copilotkit/react-corewith managed entitlement support.1.68.1to that release.Do not merge this PR before step 3. The current
1.68.1pins do not include themanaged entitlement path.
Companion PRs
Validation
git diff --checkpassed.Summary by CodeRabbit
New Features
Documentation
CPK_INTELLIGENCE_API_KEY.Bug Fixes
Tests