Skip to content

Commit 03164e9

Browse files
committed
v0.2 turbo refactor
1 parent 6b8366b commit 03164e9

197 files changed

Lines changed: 5501 additions & 7108 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.changeset/config.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
{
2-
"$schema": "https://unpkg.com/@changesets/config@2.2.0/schema.json",
2+
"$schema": "https://unpkg.com/@changesets/config@2.3.1/schema.json",
33
"changelog": "@changesets/cli/changelog",
44
"commit": false,
55
"fixed": [],
66
"linked": [],
7-
"access": "public",
7+
"access": "restricted",
88
"baseBranch": "main",
99
"updateInternalDependencies": "patch",
10-
"ignore": [
11-
"next-langchain",
12-
"next-openai"
13-
]
10+
"ignore": []
1411
}

.eslintrc.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
module.exports = {
22
root: true,
3-
// This tells ESLint to load the config from the package `eslint-config-copilotkit`
4-
extends: ['recursivelyai-copilotkit'],
3+
// This tells ESLint to load the config from the package `eslint-config-custom`
4+
extends: ["custom"],
55
settings: {
66
next: {
7-
rootDir: ['apps/*/']
8-
}
9-
}
10-
}
7+
rootDir: ["apps/*/"],
8+
},
9+
},
10+
};

.gitignore

Lines changed: 34 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,36 @@
1-
.DS_Store
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
24
node_modules
5+
.pnp
6+
.pnp.js
7+
8+
# testing
9+
coverage
10+
11+
# next.js
12+
.next/
13+
out/
14+
build
15+
.swc/
16+
17+
# misc
18+
.DS_Store
19+
*.pem
20+
21+
# debug
22+
npm-debug.log*
23+
yarn-debug.log*
24+
yarn-error.log*
25+
26+
# local env files
27+
.env.local
28+
.env.development.local
29+
.env.test.local
30+
.env.production.local
31+
32+
# turbo
333
.turbo
4-
*.log
5-
.next
6-
dist
7-
dist-ssr
8-
*.local
9-
.env
10-
.cache
11-
server/dist
12-
public/dist
13-
.turbo
34+
35+
# ui
36+
dist/

.prettierignore

Lines changed: 0 additions & 4 deletions
This file was deleted.

.vscode/launch.json

Lines changed: 0 additions & 36 deletions
This file was deleted.

README.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

README.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
![CopilotKit Banner](./assets/banner.png)
2+
3+
# CopilotKit
4+
5+
Add a powerful & customizable copilot to any app, in an afternoon.
6+
7+
## Installation
8+
9+
```bash
10+
pnpm install @copilotkit/react-core @copilotkit/react-ui
11+
```
12+
13+
## Example
14+
15+
You can Bring Your Own UI, but it's easy to get started with one of the built-in UIs:
16+
17+
```typescript
18+
import { Copilot } from "copilotkit";
19+
20+
// Create a new AI-powered copilot instance
21+
const myCopilot = new Copilot();
22+
23+
// Use your copilot in your application
24+
myCopilot.interact("Hello World");
25+
```
26+
27+
> Note: Please refer to our [API Documentation](link-to-your-api-documentation) for more detailed information.
28+
29+
## Key entrypoints:
30+
31+
- `useMakeCopilotReadable`: give static information to the copilot, in sync with on-screen state
32+
- `useMakeCopilotActionable`: allow the copilot to control the state of the application
33+
34+
## Demo
35+
36+
The following GIF showcases CopilotKit in action.
37+
38+
![Demo Gif](path-to-your-demo-gif)
39+
40+
## Contribute
41+
42+
Your contributions are always welcome! Please have a look at the [contribution guidelines](link-to-your-contribution-guidelines) first. 🎉

apps/docs/.eslintrc.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module.exports = {
2+
root: true,
3+
extends: ["custom"],
4+
};
Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,10 @@ yarn-debug.log*
2525
yarn-error.log*
2626

2727
# local env files
28-
.env*.local
28+
.env.local
29+
.env.development.local
30+
.env.test.local
31+
.env.production.local
2932

3033
# vercel
3134
.vercel
32-
33-
# typescript
34-
*.tsbuildinfo
35-
next-env.d.ts

apps/docs/CHANGELOG.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# docs
2+
3+
## 1.1.0
4+
5+
### Minor Changes
6+
7+
- working version
8+
- 9d2f3cb: semi compiling
9+
10+
### Patch Changes
11+
12+
- Updated dependencies
13+
- Updated dependencies [9d2f3cb]
14+
- @copilotkit/react-ui@0.3.0
15+
16+
## 1.0.2
17+
18+
### Patch Changes
19+
20+
- Updated dependencies
21+
- @copilotkit/react-ui@0.2.0
22+
23+
## 1.0.1
24+
25+
### Patch Changes
26+
27+
- Updated dependencies
28+
- ui@0.1.0

0 commit comments

Comments
 (0)