mirror of
https://github.com/JohnRiceML/clawport-ui.git
synced 2026-08-14 08:51:58 +00:00
Move OpenAI client initialization from module top-level to a lazy singleton (lib/openai.ts) called inside route handlers. Prevents build errors when gateway env vars aren't set. Also adds openclaw.json agents.defaults.workspace as the first workspace detection source, before falling back to filesystem paths. Inspired by PR #21 (cherry-picked the good parts, skipped the fragile cli-utils rewrite and the agents-registry simplification that dropped sub-agents). Bumps to v0.8.8. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
79 lines
1.8 KiB
JSON
79 lines
1.8 KiB
JSON
{
|
|
"name": "clawport-ui",
|
|
"version": "0.8.8",
|
|
"description": "Open-source dashboard for managing, monitoring, and chatting with your OpenClaw AI agents.",
|
|
"homepage": "https://clawport.dev",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/JohnRiceML/clawport-ui.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/JohnRiceML/clawport-ui/issues"
|
|
},
|
|
"keywords": [
|
|
"openclaw",
|
|
"ai-agents",
|
|
"dashboard",
|
|
"clawport",
|
|
"agent-management",
|
|
"next.js"
|
|
],
|
|
"license": "MIT",
|
|
"engines": {
|
|
"node": ">=22"
|
|
},
|
|
"files": [
|
|
"app/",
|
|
"bin/",
|
|
"clawport-logo.png",
|
|
"components/",
|
|
"docs/",
|
|
"lib/",
|
|
"public/",
|
|
"scripts/",
|
|
"next.config.mjs",
|
|
"postcss.config.mjs",
|
|
"tsconfig.json",
|
|
".env.example"
|
|
],
|
|
"bin": {
|
|
"clawport": "./bin/clawport.mjs"
|
|
},
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"test": "vitest run",
|
|
"setup": "node scripts/setup.mjs",
|
|
"prepublishOnly": "npx tsc --noEmit && vitest run"
|
|
},
|
|
"dependencies": {
|
|
"@dagrejs/dagre": "^2.0.4",
|
|
"@tailwindcss/postcss": "^4",
|
|
"@types/node": "^20",
|
|
"@types/react": "^19",
|
|
"@types/react-dom": "^19",
|
|
"@xyflow/react": "^12.10.1",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"lucide-react": "^0.575.0",
|
|
"next": "16.1.6",
|
|
"openai": "^6.25.0",
|
|
"radix-ui": "^1.4.3",
|
|
"react": "19.2.3",
|
|
"react-dom": "19.2.3",
|
|
"tailwind-merge": "^3.5.0",
|
|
"tailwindcss": "^4",
|
|
"tw-animate-css": "^1.4.0",
|
|
"typescript": "^5"
|
|
},
|
|
"devDependencies": {
|
|
"@testing-library/jest-dom": "^6.9.1",
|
|
"@testing-library/react": "^16.3.2",
|
|
"@vitejs/plugin-react": "^5.1.4",
|
|
"jsdom": "^28.1.0",
|
|
"shadcn": "^3.8.5",
|
|
"vitest": "^4.0.18"
|
|
}
|
|
}
|