Skip to content

Commit d97c616

Browse files
committed
refactor: overhaul design, UI and architecture for simplicity
- Brand new mono-repo structure with Turbo - Utilize all of the latest recommendations for LangGraph for agent - Use CopilotKit's v2 UI's and hooks - Add ThreeJS example MCP App server to the mono-repo - Add .env.example - New README structure - Restructure components for progressive disclosure of complexity - Add new "canvas mode" to default UI - Include new suggestions for guiding and teaching about CopilotKit
1 parent bbaf033 commit d97c616

Some content is hidden

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

71 files changed

+2745
-503
lines changed

.env.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
OPENAI_API_KEY=

.github/workflows/smoke.yml

Lines changed: 36 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ on:
99
- cron: "0 0 * * *" # Run daily at midnight UTC
1010

1111
jobs:
12-
smoke:
13-
name: ${{ matrix.os }} / Node ${{ matrix.node }} / Python ${{ matrix.python }}
12+
build-and-test:
13+
name: Build & Test - ${{ matrix.os }} / Node ${{ matrix.node }} / Python ${{ matrix.python }}
1414
runs-on: ${{ matrix.os }}
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
os: [ubuntu-latest, windows-latest, macos-latest]
19-
node: [20, 22]
18+
os: [ubuntu-latest, windows-latest]
19+
node: [22, 24]
2020
python: [3.12, 3.13]
2121

2222
steps:
@@ -33,6 +33,9 @@ jobs:
3333
with:
3434
python-version: ${{ matrix.python }}
3535

36+
- name: Install pnpm
37+
uses: pnpm/action-setup@v4
38+
3639
- name: Install uv
3740
uses: astral-sh/setup-uv@v4
3841
with:
@@ -41,22 +44,20 @@ jobs:
4144
- name: Configure uv to use matrix Python version
4245
run: echo "UV_PYTHON=python${{ matrix.python }}" >> $GITHUB_ENV
4346

44-
- name: Install Node.js dependencies (root)
45-
run: npm install
47+
- name: Install dependencies (monorepo)
48+
run: pnpm install
4649

47-
- name: Install Node.js dependencies (agent)
48-
run: |
49-
cd agent
50-
npm install
50+
- name: Build all apps
51+
run: pnpm build
5152

52-
- name: Build frontend
53-
run: npm run build
53+
- name: Create empty .env file
54+
run: touch .env
5455

5556
- name: Test frontend startup (Linux/macOS)
5657
if: runner.os != 'Windows'
5758
run: |
5859
# Start the Next.js frontend in background
59-
npm start &
60+
pnpm --filter app start &
6061
FRONTEND_PID=$!
6162
6263
# Wait for frontend to start (max 30 seconds)
@@ -87,7 +88,7 @@ jobs:
8788
if: runner.os == 'Windows'
8889
run: |
8990
# Start the Next.js frontend in background
90-
npm start &
91+
pnpm --filter app start &
9192
9293
# Wait for frontend to start (max 30 seconds)
9394
$timeout = 30
@@ -113,13 +114,32 @@ jobs:
113114
}
114115
shell: pwsh
115116

117+
lint:
118+
name: Lint
119+
runs-on: ubuntu-latest
120+
121+
steps:
122+
- name: Checkout
123+
uses: actions/checkout@v4
124+
125+
- name: Setup Node.js
126+
uses: actions/setup-node@v4
127+
with:
128+
node-version: 22
129+
130+
- name: Install pnpm
131+
uses: pnpm/action-setup@v4
132+
133+
- name: Install dependencies
134+
run: pnpm install
135+
116136
- name: Run linting
117-
run: npm run lint
137+
run: pnpm lint
118138

119139
notify-slack:
120140
name: Notify Slack on Failure
121141
runs-on: ubuntu-latest
122-
needs: smoke
142+
needs: [build-and-test, lint]
123143
if: |
124144
failure() &&
125145
github.event_name == 'schedule'

.gitignore

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
22

33
# dependencies
4-
/node_modules
5-
/.pnp
4+
node_modules
5+
.pnp
66
.pnp.*
77
.yarn/*
88
!.yarn/patches
@@ -11,14 +11,14 @@
1111
!.yarn/versions
1212

1313
# testing
14-
/coverage
14+
coverage
1515

1616
# next.js
17-
/.next/
18-
/out/
17+
.next/
18+
out/
1919

2020
# production
21-
/build
21+
build
2222

2323
# misc
2424
.DS_Store
@@ -32,6 +32,7 @@ yarn-error.log*
3232

3333
# env files (can opt-in for committing if needed)
3434
.env*
35+
!.env.example
3536

3637
# vercel
3738
.vercel
@@ -48,3 +49,12 @@ bun.lockb
4849

4950
# LangGraph API
5051
.langgraph_api
52+
53+
# Git worktrees
54+
.worktrees
55+
56+
# Turbo
57+
.turbo
58+
59+
# Tools
60+
.claude

0 commit comments

Comments
 (0)