mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
157d9fc723
Phase 3 of the banking->Intelligence-main migration. Self-hosted Intelligence gates the paid `memory` feature behind a signed offline license; a locally-built (unbaked) app-api trusts a runtime BAKED_LICENSE_KEYS_JSON, so a throwaway keypair can sign an enterprise license with features.memory=true. - scripts/mint-dev-license.mjs: prints (or --write upserts into .env) COPILOTKIT_LICENSE_TOKEN + BAKED_LICENSE_KEYS_JSON + INTELLIGENCE_DEPLOYMENT_MODE. Drives the signer from the PRIVATE Intelligence source via INTELLIGENCE_REPO (same coupling the docker-compose image build already has) rather than vendoring any signing code into this public repo. No secret is embedded; the script is dev-only and never imported by the app runtime. - .env.example: documents BOTH the managed path (CopilotKit-issued token, no baked key — the eventual hosting target) and the self-hosted dev path, so the demo is not locked to the local stack. - package.json: add `mint-dev-license` script. Replaces the ephemeral Intelligence/tmp/mint-banking-license.ts. .env stays gitignored; nothing sensitive is committed. Local-only until verified. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2.1 KiB
2.1 KiB