mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
4413987477
Remove duplicate .claude/skills and .cursor/skills directories (keep .agent/skills only), pin mcp-use to ^1.22.3, fix OpenAI model to gpt-5.4-2026-03-05, align e2b (^2.13.0) and @modelcontextprotocol/sdk (^1.25.2) versions across packages, replace vivek100 repo URLs with CopilotKit/CopilotKit, fix clean script to preserve pnpm-lock.yaml, and fix threejs-server main field to point to built output. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
52 lines
2.8 KiB
Bash
52 lines
2.8 KiB
Bash
# Required for chat/agent (OpenAI)
|
|
OPENAI_API_KEY=your-openai-api-key-here
|
|
# Chat model for /api/mastra-agent. Default if unset: gpt-5.4-2026-03-05
|
|
# OPENAI_MODEL=gpt-5.4-2026-03-05
|
|
|
|
# Verbose logs for POST /api/mastra-agent (per-request MCP load, etc.) — default off
|
|
# MASTRA_AGENT_DEBUG=1
|
|
|
|
# E2B sandbox (optional if you only use pre-connected MCP servers)
|
|
# Get key: https://e2b.dev/dashboard
|
|
E2B_API_KEY=e2b_your-key-here
|
|
# Repo cloned when E2B_TEMPLATE is not set (default: mcp-use-server-template)
|
|
E2B_REPO_URL=https://github.com/CopilotKit/CopilotKit
|
|
# Pre-built template ID for faster cold start (~5s). Set after running apps/mcp-use-server build.dev.ts
|
|
E2B_TEMPLATE=
|
|
|
|
# Optional: default MCP servers when no x-mcp-servers header (API fallback)
|
|
# JSON array, e.g. [{"type":"http","url":"https://your-mcp.example.com/mcp","serverId":"my-mcp"}]
|
|
# If unset: built-in default is Excalidraw (https://mcp.excalidraw.com)
|
|
# DEFAULT_MCP_SERVERS=
|
|
|
|
# Optional: initial sidebar MCP list in the UI (client; must be NEXT_PUBLIC_)
|
|
# JSON array, e.g. [{"endpoint":"https://your-mcp.example.com/mcp","serverId":"my-mcp"}]
|
|
# Set to [] for production if you have no hosted MCP; users can add URLs in the UI.
|
|
# If unset: built-in default is Excalidraw (https://mcp.excalidraw.com, serverId: excalidraw)
|
|
# NEXT_PUBLIC_DEFAULT_MCP_SERVERS=
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# Header CTAs (all optional — sensible CopilotKit / GitHub defaults if unset)
|
|
# -----------------------------------------------------------------------------
|
|
# Primary pill + logo link target (documentation)
|
|
# NEXT_PUBLIC_HEADER_DOCS_URL=https://docs.copilotkit.ai/
|
|
|
|
# Primary pill label
|
|
# NEXT_PUBLIC_HEADER_PRIMARY_CTA_LABEL=CopilotKit docs
|
|
|
|
# Second pill URL (e.g. your repo). Falls back to NEXT_PUBLIC_GITHUB_REPO_URL if unset.
|
|
# Code default without env: https://github.com/CopilotKit/CopilotKit
|
|
# NEXT_PUBLIC_HEADER_SECONDARY_CTA_URL=https://github.com/your-org/your-repo
|
|
|
|
# Second pill label
|
|
# NEXT_PUBLIC_HEADER_SECONDARY_CTA_LABEL=GitHub
|
|
|
|
# Legacy alias for secondary URL only (still supported)
|
|
# NEXT_PUBLIC_GITHUB_REPO_URL=https://github.com/your-org/your-repo
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# Chat starter / example prompts (CopilotKit suggestion chips)
|
|
# JSON array. "title" = short chip label (visible). "message" = full text sent when clicked (not shown on chip).
|
|
# If unset: four built-in prompts (tic tac toe, tip calculator, dice roller, Excalidraw test). Override with JSON below if you want different chips.
|
|
# NEXT_PUBLIC_CHAT_STARTER_PROMPTS=[{"title":"Tic tac toe","message":"Create a tic tac toe game"},{"title":"Tip calculator","message":"Create a single-widget tip calculator..."},{"title":"Dice roller","message":"Create a dice roller widget..."}]
|