mirror of
https://github.com/jlengrand/Maestro.git
synced 2026-03-10 08:31:19 +00:00
Major architectural improvement where each session now runs two processes simultaneously (AI agent + terminal), enabling seamless mode switching without process restarts. Changes: - Dual-process model: each session spawns both AI agent and terminal processes - Session type updated: replaced single `pid` with `aiPid` and `terminalPid` - Process routing: sessionIds now use `-ai` and `-terminal` suffixes - Input routing: directs input to correct process based on `inputMode` - ANSI rendering: terminal output now displays ANSI escape codes with theme-aware colors - Terminal filtering: bash prompts automatically filtered for cleaner output - Session restoration: detects and fixes corrupted sessions with mismatched inputMode/toolType - Agent serialization: strips non-serializable `argBuilder` functions before IPC - Dependencies: added ansi-to-html and dompurify for secure ANSI rendering Documentation updates: - Updated README.md and CLAUDE.md to reflect dual-process architecture - Added new features to Recent Features section - Updated tech stack with new dependencies
127 lines
3.2 KiB
JSON
127 lines
3.2 KiB
JSON
{
|
|
"name": "maestro",
|
|
"version": "0.1.0",
|
|
"description": "Multi-Instance AI Coding Console - Unified IDE for managing multiple AI coding assistants",
|
|
"main": "dist/index.js",
|
|
"author": "Maestro Team",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/yourusername/maestro.git"
|
|
},
|
|
"scripts": {
|
|
"dev": "concurrently \"npm run dev:main\" \"npm run dev:renderer\"",
|
|
"dev:main": "tsc -p tsconfig.main.json && NODE_ENV=development electron .",
|
|
"dev:renderer": "vite",
|
|
"build": "npm run build:main && npm run build:renderer",
|
|
"build:main": "tsc -p tsconfig.main.json",
|
|
"build:renderer": "vite build",
|
|
"package": "npm run build && electron-builder --mac --win --linux",
|
|
"package:mac": "npm run build && electron-builder --mac",
|
|
"package:win": "npm run build && electron-builder --win",
|
|
"package:linux": "npm run build && electron-builder --linux",
|
|
"start": "electron .",
|
|
"clean": "rm -rf dist release node_modules/.vite",
|
|
"postinstall": "electron-rebuild -f -w node-pty"
|
|
},
|
|
"build": {
|
|
"appId": "com.maestro.app",
|
|
"productName": "Maestro",
|
|
"directories": {
|
|
"output": "release",
|
|
"buildResources": "build"
|
|
},
|
|
"files": [
|
|
"dist/**/*",
|
|
"package.json"
|
|
],
|
|
"mac": {
|
|
"category": "public.app-category.developer-tools",
|
|
"target": [
|
|
{
|
|
"target": "dmg",
|
|
"arch": [
|
|
"x64",
|
|
"arm64"
|
|
]
|
|
},
|
|
{
|
|
"target": "zip",
|
|
"arch": [
|
|
"x64",
|
|
"arm64"
|
|
]
|
|
}
|
|
],
|
|
"icon": "build/icon.icns"
|
|
},
|
|
"win": {
|
|
"target": [
|
|
{
|
|
"target": "nsis",
|
|
"arch": [
|
|
"x64"
|
|
]
|
|
},
|
|
{
|
|
"target": "portable",
|
|
"arch": [
|
|
"x64"
|
|
]
|
|
}
|
|
],
|
|
"icon": "build/icon.ico"
|
|
},
|
|
"linux": {
|
|
"target": [
|
|
"AppImage",
|
|
"deb",
|
|
"rpm"
|
|
],
|
|
"category": "Development",
|
|
"icon": "build/icon.png"
|
|
},
|
|
"nsis": {
|
|
"oneClick": false,
|
|
"allowToChangeInstallationDirectory": true
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@emoji-mart/data": "^1.2.1",
|
|
"@emoji-mart/react": "^1.1.1",
|
|
"@fastify/cors": "^8.5.0",
|
|
"@fastify/websocket": "^9.0.0",
|
|
"@types/dompurify": "^3.0.5",
|
|
"ansi-to-html": "^0.7.2",
|
|
"dompurify": "^3.3.0",
|
|
"electron-store": "^8.1.0",
|
|
"fastify": "^4.25.2",
|
|
"node-pty": "^1.0.0",
|
|
"react-markdown": "^10.1.0",
|
|
"react-syntax-highlighter": "^16.1.0",
|
|
"remark-gfm": "^4.0.1",
|
|
"ws": "^8.16.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.10.6",
|
|
"@types/react": "^18.2.47",
|
|
"@types/react-dom": "^18.2.18",
|
|
"@types/react-syntax-highlighter": "^15.5.13",
|
|
"@types/ws": "^8.5.10",
|
|
"@vitejs/plugin-react": "^4.2.1",
|
|
"autoprefixer": "^10.4.16",
|
|
"concurrently": "^8.2.2",
|
|
"electron": "^28.1.0",
|
|
"electron-builder": "^24.9.1",
|
|
"electron-rebuild": "^3.2.9",
|
|
"lucide-react": "^0.303.0",
|
|
"postcss": "^8.4.33",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"tailwindcss": "^3.4.1",
|
|
"typescript": "^5.3.3",
|
|
"vite": "^5.0.11",
|
|
"vite-plugin-electron": "^0.28.2"
|
|
}
|
|
}
|