co-mono/package.json
Mario Zechner d46a98ec10 feat(ai): Rename package to @mariozechner/pi-ai and improve documentation
- Changed package name from @mariozechner/ai to @mariozechner/pi-ai
- Fixed generate-models.ts to fetch from models.dev API instead of local file
- Completely rewrote README with practical examples:
  - Image input with base64 encoding
  - Proper tool calling with context management
  - Streaming with completion indicators
  - Abort signal usage
  - Provider-specific options (reasoning/thinking)
  - Custom model definitions for local/self-hosted LLMs
  - Environment variables explanation
- Bumped version to 0.5.9 and published
2025-08-30 21:41:22 +02:00

33 lines
1.2 KiB
JSON

{
"name": "pi-monorepo",
"private": true,
"type": "module",
"workspaces": [
"packages/*"
],
"scripts": {
"clean": "npm run clean --workspaces",
"build": "npm run build -w @mariozechner/pi-tui && npm run build -w @mariozechner/pi-ai && npm run build -w @mariozechner/pi-agent && npm run build -w @mariozechner/pi",
"check": "biome check --write . && npm run check --workspaces && tsc --noEmit",
"test": "npm run test --workspaces --if-present",
"version:patch": "npm version patch -ws --no-git-tag-version && node scripts/sync-versions.js",
"version:minor": "npm version minor -ws --no-git-tag-version && node scripts/sync-versions.js",
"version:major": "npm version major -ws --no-git-tag-version && node scripts/sync-versions.js",
"version:set": "npm version -ws",
"prepublish": "npm run clean && npm run build && npm run check",
"publish": "npm run prepublish && npm publish -ws --access public",
"publish:dry": "npm run prepublish && npm publish -ws --access public --dry-run",
"prepare": "husky"
},
"devDependencies": {
"@biomejs/biome": "^2.1.4",
"@types/node": "^22.10.5",
"husky": "^9.1.7",
"tsx": "^4.20.3",
"typescript": "^5.9.2"
},
"engines": {
"node": ">=20.0.0"
},
"version": ""
}