refactor: 拆分项目为 pnpm workspace 三模块并升级前端
- 拆分为 packages/coderio(底层引擎)、apps/server(编排服务)、apps/web(前端工程) - 后端:REST+SSE、SQLite Job 持久化、并发队列、子进程隔离、密钥服务端化 - 前端:React+Vite+TS+shadcn 工程化,五大页面,企业级深色 UI(翡翠绿主色、立体分层) - 清理拆分前根目录残留代码;忽略运行时 data/ 目录
Showing
345 changed files
with
3904 additions
and
154 deletions
apps/server/.env.example
0 → 100644
apps/server/README.md
0 → 100644
apps/server/package.json
0 → 100644
apps/server/public/index.html
0 → 100644
apps/server/src/config.ts
0 → 100644
apps/server/src/generate-child.ts
0 → 100644
apps/server/src/health.ts
0 → 100644
apps/server/src/index.ts
0 → 100644
apps/server/src/jobStore.ts
0 → 100644
apps/server/src/node-sqlite.d.ts
0 → 100644
apps/server/src/preview.ts
0 → 100644
apps/server/src/queue.ts
0 → 100644
apps/server/src/runner.ts
0 → 100644
apps/server/src/server.ts
0 → 100644
This diff is collapsed.
Click to expand it.
apps/server/src/types.ts
0 → 100644
apps/server/tsconfig.json
0 → 100644
apps/web/README.md
0 → 100644
apps/web/index.html
0 → 100644
apps/web/package-lock.json
0 → 100644
This diff could not be displayed because it is too large.
apps/web/package.json
0 → 100644
apps/web/postcss.config.js
0 → 100644
apps/web/src/App.tsx
0 → 100644
apps/web/src/components/layout/Sidebar.tsx
0 → 100644
apps/web/src/components/layout/Topbar.tsx
0 → 100644
apps/web/src/components/layout/nav.tsx
0 → 100644
apps/web/src/components/ui/badge.tsx
0 → 100644
apps/web/src/components/ui/button.tsx
0 → 100644
apps/web/src/components/ui/card.tsx
0 → 100644
apps/web/src/components/ui/input.tsx
0 → 100644
apps/web/src/components/ui/label.tsx
0 → 100644
apps/web/src/components/ui/progress.tsx
0 → 100644
apps/web/src/components/ui/select.tsx
0 → 100644
apps/web/src/components/ui/separator.tsx
0 → 100644
apps/web/src/components/ui/sonner.tsx
0 → 100644
apps/web/src/components/ui/status-pill.tsx
0 → 100644
apps/web/src/components/ui/tabs.tsx
0 → 100644
apps/web/src/components/ui/textarea.tsx
0 → 100644
apps/web/src/index.css
0 → 100644
apps/web/src/lib/api.ts
0 → 100644
apps/web/src/lib/connection.tsx
0 → 100644
apps/web/src/lib/status.ts
0 → 100644
apps/web/src/lib/theme.tsx
0 → 100644
apps/web/src/lib/types.ts
0 → 100644
apps/web/src/lib/utils.ts
0 → 100644
apps/web/src/main.tsx
0 → 100644
apps/web/src/pages/History.tsx
0 → 100644
apps/web/src/pages/Logs.tsx
0 → 100644
apps/web/src/pages/NewGeneration.tsx
0 → 100644
apps/web/src/pages/Preview.tsx
0 → 100644
apps/web/src/pages/Settings.tsx
0 → 100644
apps/web/tailwind.config.js
0 → 100644
apps/web/tsconfig.json
0 → 100644
apps/web/vite.config.ts
0 → 100644
packages/coderio/.gitignore
0 → 100644
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
File moved
File moved
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
packages/coderio/package.json
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
packages/coderio/src/cli/generate-child.ts
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
packages/coderio/src/cli/serve.ts
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
packages/coderio/src/types/file-types.ts
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
packages/coderio/tests/utils/file.test.ts
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
packages/coderio/tsconfig.json
0 → 100644
This diff is collapsed.
Click to expand it.
packages/coderio/tsup.config.ts
0 → 100644
This diff is collapsed.
Click to expand it.
packages/coderio/vitest.config.ts
0 → 100644
This diff is collapsed.
Click to expand it.
packages/coderio/web/index.html
0 → 100644
This diff is collapsed.
Click to expand it.
pnpm-workspace.yaml
0 → 100644
This diff is collapsed.
Click to expand it.
src/types/file-types.ts
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
tests/utils/checkpoint.test.ts
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
tests/utils/file.test.ts
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
tests/utils/promise-pool.test.ts
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
tests/utils/url-parser.test.ts
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
tests/utils/workspace.test.ts
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
tsconfig.json
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
tsup.config.ts
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
vitest.config.ts
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
-
Please register or sign in to post a comment