@yourgpt/copilot-sdk 2.0.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +29 -30
  2. package/package.json +2 -1
package/README.md CHANGED
@@ -1,9 +1,19 @@
1
- # @yourgpt/copilot-sdk
1
+ <a href="https://copilot-sdk.yourgpt.ai">
2
+ <img src="https://copilot-sdk.yourgpt.ai/images/yourgpt-copilot-sdk-npm.png" alt="YourGPT Copilot SDK" width="100%" />
3
+ </a>
4
+
5
+ # Copilot SDK
6
+
7
+ [![npm version](https://img.shields.io/npm/v/@yourgpt/copilot-sdk)](https://www.npmjs.com/package/@yourgpt/copilot-sdk)
8
+ [![npm downloads](https://img.shields.io/npm/dm/@yourgpt/copilot-sdk)](https://www.npmjs.com/package/@yourgpt/copilot-sdk)
9
+ [![License](https://img.shields.io/npm/l/@yourgpt/copilot-sdk)](https://github.com/YourGPT/copilot-sdk/blob/main/LICENSE)
2
10
 
3
11
  Build AI Copilots for Your Product.
4
12
 
5
13
  Production-ready AI Copilots for any product. Connect any LLM, deploy on your infrastructure, own your data.
6
14
 
15
+ **Documentation:** [copilot-sdk.yourgpt.ai](https://copilot-sdk.yourgpt.ai)
16
+
7
17
  ## Installation
8
18
 
9
19
  ```bash
@@ -34,46 +44,35 @@ function App() {
34
44
  | `/ui` | Pre-built UI components |
35
45
  | `/core` | Types, utilities, tool helpers |
36
46
 
37
- ## Styling (Tailwind CSS v4)
38
-
39
- ```css
40
- /* app/globals.css */
41
- @import "tailwindcss";
47
+ ## Examples
42
48
 
43
- /* IMPORTANT: Path is relative to your CSS file location */
44
- /* If globals.css is in app/ folder, use ../ prefix */
45
- @source "../node_modules/@yourgpt/copilot-sdk/dist/**/*.{js,ts,jsx,tsx}";
49
+ Explore real-world implementations and demo projects.
46
50
 
47
- @custom-variant dark (&:is(.dark *));
48
- ```
49
-
50
- > **Note:** The `@source` path must point to `dist/` (not `src/`) and include all file extensions `{js,ts,jsx,tsx}`.
51
+ ### Debug Assistant
51
52
 
52
- > **Important:** For Tailwind v4, you also need the `@theme inline` block to map CSS variables like `--background` to Tailwind utilities like `bg-background`. If you have shadcn/ui, this is already configured. Otherwise, see the [Quick Start guide](https://copilot-sdk.yourgpt.ai/docs/quickstart) for complete setup.
53
+ AI-powered debugging companion that captures console logs, takes screenshots, and provides intelligent analysis.
53
54
 
54
- ## Theming
55
+ <a href="https://copilot-sdk.yourgpt.ai/docs/examples">
56
+ <img src="https://copilot-sdk.yourgpt.ai/images/debug-assistant-demo.webp" alt="Debug Assistant" width="100%" style="border-radius: 12px;" />
57
+ </a>
55
58
 
56
- Works automatically with existing shadcn/ui setup. For projects without shadcn:
59
+ ### Support Ticket System
57
60
 
58
- ```tsx
59
- import "@yourgpt/copilot-sdk/ui/styles.css";
60
- import "@yourgpt/copilot-sdk/ui/themes/claude.css"; // Optional preset
61
+ AI-powered customer support with intelligent ticket routing, automatic escalation, and context-aware responses.
61
62
 
62
- <div className="csdk-theme-claude">
63
- <CopilotChat />
64
- </div>;
65
- ```
63
+ <a href="https://copilot-sdk.yourgpt.ai/docs/examples">
64
+ <img src="https://copilot-sdk.yourgpt.ai/images/copilot-sdk-support-demo.png" alt="Support Ticket System" width="100%" style="border-radius: 12px;" />
65
+ </a>
66
66
 
67
- **8 theme presets available:** Claude, Vercel, Supabase, Twitter, Linear, PostHog, Catppuccin, Modern
67
+ ### SaaS Application
68
68
 
69
- ## Documentation
69
+ SaaS template with AI copilot integration. Includes subscription handling, billing management, and intelligent assistance.
70
70
 
71
- Visit [copilot-sdk.yourgpt.ai](https://copilot-sdk.yourgpt.ai) for full documentation including:
71
+ <a href="https://copilot-sdk.yourgpt.ai/docs/examples">
72
+ <img src="https://copilot-sdk.yourgpt.ai/images/saas-demo.webp" alt="SaaS Application" width="100%" style="border-radius: 12px;" />
73
+ </a>
72
74
 
73
- - Theme customization & CSS variables
74
- - Semantic CSS classes (`csdk-*`)
75
- - Creating custom themes
76
- - Dark mode support
75
+ **[View all examples →](https://copilot-sdk.yourgpt.ai/docs/examples)**
77
76
 
78
77
  ## License
79
78
 
package/package.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "name": "@yourgpt/copilot-sdk",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "Copilot SDK for building Production-ready AI Copilots for any product. Connect any LLM, deploy on your infrastructure, own your data.",
5
5
  "type": "module",
6
+ "types": "./dist/core/index.d.ts",
6
7
  "exports": {
7
8
  "./core": {
8
9
  "types": "./dist/core/index.d.ts",