Replace the browser-only example with a full-stack architecture: - Node.js/Express backend running the Pi SDK with system access (bash, file read/write/edit) via WebSocket - Lit-based client using @mariozechner/pi-web-ui components - Session persistence with SessionManager, session history sidebar - LiteLLM model integration with sorted/filterable model selector - Green accent theme, collapsible sidebar, mobile-responsive layout - Deployed as systemd user service on port 8085 (pi.zetaphor.space)
18 lines
452 B
JSON
18 lines
452 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2022",
|
|
"module": "ES2022",
|
|
"lib": ["ES2022", "DOM", "DOM.Iterable"],
|
|
"moduleResolution": "bundler",
|
|
"strict": true,
|
|
"skipLibCheck": true,
|
|
"esModuleInterop": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"experimentalDecorators": true,
|
|
"useDefineForClassFields": false,
|
|
"outDir": "dist",
|
|
"rootDir": "."
|
|
},
|
|
"include": ["client/**/*", "server/**/*", "shared/**/*"]
|
|
}
|