* feat(agent): improve interactive CLI with colors, spinner, and status bar - Add colors.ts module with ANSI terminal color utilities - Add spinner animation for tool execution feedback - Add persistent status bar showing session/provider/model - Apply colors to welcome banner, prompts, commands, and suggestions - Support NO_COLOR env for accessibility Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * fix(agent): correct cursor position with ANSI-colored prompts Strip ANSI escape codes when calculating visual length of prompt to ensure cursor is positioned correctly after colored text. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * fix(agent): prevent duplicate input echo in interactive CLI Lazy-initialize readline.Interface only when multiline mode is active. This prevents readline from interfering with autocomplete's raw mode, which was causing user input to be echoed twice. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * refactor(agent): move CLI files to dedicated cli/ directory Reorganize CLI-related files into src/agent/cli/ for better separation: - interactive.ts (was interactive-cli.ts) - non-interactive.ts (was cli.ts) - profile.ts, skills.ts, tools.ts (was *-cli.ts) - autocomplete.ts, colors.ts, output.ts (CLI utilities) Update all imports, package.json scripts, and build configuration. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
76 lines
2.6 KiB
JSON
76 lines
2.6 KiB
JSON
{
|
|
"name": "super-multica",
|
|
"version": "1.0.0",
|
|
"description": "",
|
|
"type": "module",
|
|
"main": "dist/index.js",
|
|
"bin": {
|
|
"multica": "./bin/multica-interactive.mjs",
|
|
"multica-interactive": "./bin/multica-interactive.mjs",
|
|
"multica-cli": "./bin/multica-cli.mjs",
|
|
"multica-profile": "./bin/multica-profile.mjs"
|
|
},
|
|
"scripts": {
|
|
"dev": "concurrently -n gateway,console,web -c blue,yellow,green \"pnpm dev:gateway\" \"pnpm dev:console\" \"pnpm dev:web\"",
|
|
"agent:cli": "tsx --env-file=.env src/agent/cli/non-interactive.ts",
|
|
"agent:interactive": "tsx --env-file=.env src/agent/cli/interactive.ts",
|
|
"agent:profile": "tsx --env-file=.env src/agent/cli/profile.ts",
|
|
"skills:cli": "tsx --env-file=.env src/agent/cli/skills.ts",
|
|
"tools:cli": "tsx --env-file=.env src/agent/cli/tools.ts",
|
|
"dev:gateway": "tsx --env-file=.env --watch src/gateway/main.ts",
|
|
"dev:console": "tsx --env-file=.env --watch src/console/main.ts",
|
|
"dev:web": "pnpm --filter @multica/web dev",
|
|
"dev:desktop": "pnpm --filter @multica/desktop dev",
|
|
"build": "turbo build",
|
|
"build:sdk": "pnpm --filter @multica/sdk build",
|
|
"build:cli": "node scripts/build-cli.js",
|
|
"start": "node dist/index.js",
|
|
"typecheck": "turbo typecheck",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"test:coverage": "vitest run --coverage"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"packageManager": "pnpm@10.16.1",
|
|
"devDependencies": {
|
|
"@types/node": "catalog:",
|
|
"@types/turndown": "^5.0.6",
|
|
"@types/uuid": "^11.0.0",
|
|
"@vitest/coverage-v8": "^4.0.18",
|
|
"concurrently": "^9.2.1",
|
|
"esbuild": "^0.27.2",
|
|
"tsx": "^4.21.0",
|
|
"turbo": "^2.3.4",
|
|
"typescript": "catalog:",
|
|
"vitest": "^4.0.18"
|
|
},
|
|
"dependencies": {
|
|
"@mariozechner/pi-agent-core": "^0.50.3",
|
|
"@mariozechner/pi-ai": "^0.50.3",
|
|
"@mariozechner/pi-coding-agent": "^0.50.3",
|
|
"@mozilla/readability": "^0.6.0",
|
|
"@nestjs/common": "^11.1.12",
|
|
"@nestjs/core": "^11.1.12",
|
|
"@nestjs/platform-express": "^11.1.12",
|
|
"@nestjs/platform-socket.io": "^11.1.12",
|
|
"@nestjs/serve-static": "^5.0.4",
|
|
"@nestjs/websockets": "^11.1.12",
|
|
"@sinclair/typebox": "^0.34.41",
|
|
"fast-glob": "^3.3.3",
|
|
"linkedom": "^0.18.12",
|
|
"nestjs-pino": "^4.5.0",
|
|
"pino": "^10.3.0",
|
|
"pino-http": "^11.0.0",
|
|
"pino-pretty": "^13.1.3",
|
|
"reflect-metadata": "^0.2.2",
|
|
"rxjs": "^7.8.2",
|
|
"socket.io": "^4.8.3",
|
|
"socket.io-client": "^4.8.3",
|
|
"turndown": "^7.2.2",
|
|
"undici": "^7.19.2",
|
|
"uuid": "^13.0.0",
|
|
"yaml": "^2.8.2"
|
|
}
|
|
}
|