{"_id":"@blueprompts-cli/bp","_rev":"2-d2ea8f840cb324bf5496890df1ad9b29","name":"@blueprompts-cli/bp","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.1":{"name":"@blueprompts-cli/bp","version":"1.0.1","keywords":["blueprompts","cli","ai","project-management"],"license":"SEE LICENSE IN LICENSE","_id":"@blueprompts-cli/bp@1.0.1","maintainers":[{"name":"blueprompts","email":"admin@blueprompts.ai"}],"homepage":"https://github.com/blueprompts/blueprompts#readme","bugs":{"url":"https://github.com/blueprompts/blueprompts/issues"},"bin":{"bP":"dist/bin/bP.js","blueprompts":"dist/bin/bP.js"},"dist":{"shasum":"3aaba5dc3c5f88b6c81e515a348cbd424675689f","tarball":"https://registry.npmjs.org/@blueprompts-cli/bp/-/bp-1.0.1.tgz","fileCount":87,"integrity":"sha512-NoLZU8I/NVsF+DXb4xslcrmwNWGYsM9pmPQLuIuRAxICIFfggTk1M9lIViVCNpwEyyeGdLhTNsyKCaUJTMWlMw==","signatures":[{"sig":"MEYCIQDiAxHaIeFRyy3cxPqIYENmvMgpyRmoQ8VDODZ1MHZ4JgIhAPpAHCU4oktq3bAewjkg7+jy6fI4qn2LMxf7ES7LfMzo","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":188913},"main":"./dist/src/index.js","type":"module","types":"./dist/src/index.d.ts","engines":{"node":">=18"},"gitHead":"7e5a7d332209df7f93c59527eaae5d8671a3080f","scripts":{"dev":"tsc --watch","lint":"tsc --noEmit","test":"vitest run","build":"tsc","start":"node dist/bin/bP.js","test:watch":"vitest","prepublishOnly":"npm run build && npm run test"},"_npmUser":{"name":"blueprompts","email":"admin@blueprompts.ai"},"repository":{"url":"git+https://github.com/blueprompts/blueprompts.git","type":"git","directory":"cli"},"_npmVersion":"10.8.2","description":"bluePROmpts CLI — mirror every platform action from your terminal","directories":{},"_nodeVersion":"20.19.6","dependencies":{"ora":"^8.1.0","axios":"^1.16.1","chalk":"^5.3.0","inquirer":"^9.3.0","commander":"^12.1.0","cli-table3":"^0.6.5","eventsource":"^2.0.2"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^2.0.0","typescript":"^5.5.0","@types/node":"^20.14.0","@types/inquirer":"^9.0.7","@types/eventsource":"^1.1.15"},"_npmOperationalInternal":{"tmp":"tmp/bp_1.0.1_1787525370582_0.675328415891717","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@blueprompts-cli/bp","version":"1.0.2","description":"bluePROmpts CLI — mirror every platform action from your terminal","type":"module","bin":{"bP":"dist/bin/bP.js","blueprompts":"dist/bin/bP.js"},"main":"./dist/src/index.js","types":"./dist/src/index.d.ts","engines":{"node":">=18"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"scripts":{"build":"tsc","dev":"tsc --watch","start":"node dist/bin/bP.js","test":"vitest run","test:watch":"vitest","lint":"tsc --noEmit","prepublishOnly":"npm run build && npm run test"},"dependencies":{"axios":"^1.16.1","chalk":"^5.3.0","cli-table3":"^0.6.5","commander":"^12.1.0","eventsource":"^2.0.2","inquirer":"^9.3.0","ora":"^8.1.0"},"devDependencies":{"@types/eventsource":"^1.1.15","@types/inquirer":"^9.0.7","@types/node":"^20.14.0","typescript":"^5.5.0","vitest":"^2.0.0"},"keywords":["blueprompts","cli","ai","project-management"],"license":"SEE LICENSE IN LICENSE","repository":{"type":"git","url":"git+https://github.com/blueprompts/blueprompts.git","directory":"cli"},"_id":"@blueprompts-cli/bp@1.0.2","gitHead":"7e5a7d332209df7f93c59527eaae5d8671a3080f","bugs":{"url":"https://github.com/blueprompts/blueprompts/issues"},"homepage":"https://github.com/blueprompts/blueprompts#readme","_nodeVersion":"20.19.6","_npmVersion":"10.8.2","dist":{"integrity":"sha512-XeF+zeVsYFCO7E9fUowSCfsL86hIBiosXXut7PpRc3ogfIXl0Wd7uGuWJaFYltiHYgFr89WsjEn9UmV3lT1ZbQ==","shasum":"0ffdd4729f191b955984d45beff6b9d7b786a5ec","tarball":"https://registry.npmjs.org/@blueprompts-cli/bp/-/bp-1.0.2.tgz","fileCount":87,"unpackedSize":190028,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCICBCkJ1JnCywNawQtueM4ijry65L0fJOkZY5z2D1GzrJAiEA8Ey9xiHfvKRVhgsxq/oawWODyE20Nx90/JBwezuFNxs="}]},"_npmUser":{"name":"blueprompts","email":"admin@blueprompts.ai"},"directories":{},"maintainers":[{"name":"blueprompts","email":"admin@blueprompts.ai"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/bp_1.0.2_1787526378182_0.8434829839472715"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-23T22:49:30.434Z","modified":"2026-08-23T23:06:18.509Z","1.0.1":"2026-08-23T22:49:30.745Z","1.0.2":"2026-08-23T23:06:18.325Z"},"bugs":{"url":"https://github.com/blueprompts/blueprompts/issues"},"license":"SEE LICENSE IN LICENSE","homepage":"https://github.com/blueprompts/blueprompts#readme","keywords":["blueprompts","cli","ai","project-management"],"repository":{"type":"git","url":"git+https://github.com/blueprompts/blueprompts.git","directory":"cli"},"description":"bluePROmpts CLI — mirror every platform action from your terminal","maintainers":[{"name":"blueprompts","email":"admin@blueprompts.ai"}],"readme":"# @blueprompts/cli\n\nCommand-line interface for the bluePROmpts platform. Mirror every platform action from your terminal.\n\n## Install\n\n```bash\nnpm install -g @blueprompts-cli/bp\n```\n\nRequires Node.js 18+. After install, `bP` and `blueprompts` are available globally.\n\n## Quick Start\n\n```bash\n# Authenticate\nbP login\n\n# List projects\nbP projects\n\n# Select a project\nbP projects select <id>\n\n# View stories\nbP stories\n\n# Generate stories with AI\nbP generate --epic <id> \"Add user authentication\"\n\n# Check status\nbP status\n```\n\n## Commands\n\n### Authentication\n\n| Command | Description |\n|---------|-------------|\n| `bP login` | Authenticate with username/password |\n| `bP login --api-key <key>` | Authenticate using an API key |\n| `bP logout` | Clear stored credentials |\n| `bP whoami` | Display current user info |\n\n### API Keys\n\n| Command | Description |\n|---------|-------------|\n| `bP api-key generate --name <n>` | Create a new API key |\n| `bP api-key list` | List all API keys |\n| `bP api-key revoke <id>` | Revoke an API key |\n\n### Projects\n\n| Command | Description |\n|---------|-------------|\n| `bP projects` | List all projects |\n| `bP projects select <id>` | Set active project |\n| `bP projects create --name <n>` | Create a new project |\n| `bP projects info` | Show active project details |\n\n### Epics\n\n| Command | Description |\n|---------|-------------|\n| `bP epics` | List epics in active project |\n| `bP epics create --title <t>` | Create a new epic |\n\n### Stories\n\n| Command | Description |\n|---------|-------------|\n| `bP stories` | List stories (filter with --epic, --status, --sprint) |\n| `bP stories create --epic <id> --title <t>` | Create a user story |\n| `bP stories view <id>` | View story details |\n| `bP stories update <id> --status <s>` | Update story status |\n\n### AI Generation\n\n| Command | Description |\n|---------|-------------|\n| `bP generate --epic <id> \"<desc>\"` | Generate stories from description |\n| `bP generate --dry-run ...` | Preview without saving |\n| `bP generate --accept ...` | Auto-accept generated stories |\n\n### Scratch Pads\n\n| Command | Description |\n|---------|-------------|\n| `bP scratch create \"<content>\"` | Create a scratch pad |\n| `bP scratch list` | List all scratch pads |\n| `bP scratch view <id>` | View scratch pad content |\n| `bP scratch enrich <id>` | Enrich into a full project |\n\n### Implementation\n\n| Command | Description |\n|---------|-------------|\n| `bP implement --story <id>` | Trigger AI implementation |\n| `bP preview --share` | Deploy a shareable preview |\n| `bP push --story <id>` | Push implemented code |\n\n### Status\n\n| Command | Description |\n|---------|-------------|\n| `bP status` | Sprint progress and recent activity |\n| `bP dashboard` | Full dashboard with velocity data |\n\n### Configuration\n\n| Command | Description |\n|---------|-------------|\n| `bP config set apiUrl <url>` | Set server URL |\n| `bP config get <key>` | Read a config value |\n| `bP config list` | Show all config values |\n\n## Global Flags\n\n| Flag | Description |\n|------|-------------|\n| `--json` | Output raw JSON (useful for scripting) |\n| `--quiet` | Suppress non-essential output |\n| `--insecure` | Skip TLS verification (dev only) |\n\n## Environment Variables\n\n| Variable | Description |\n|----------|-------------|\n| `BLUEPROMPTS_API_URL` | Override the server URL |\n| `BLUEPROMPTS_API_KEY` | Authenticate via env var |\n\n## Configuration\n\nConfig is stored in `~/.blueprompts/config.json`. Credentials are stored in `~/.blueprompts/credentials.json` with 0600 permissions.\n\nProject context can be set per-directory in `.blueprompts/context.json`.\n\n## Security\n\n- Credentials stored with 0600 permissions (owner read/write only)\n- API keys are bcrypt-hashed server-side\n- All requests scoped to your tenant and organization\n- JWT tokens auto-refresh on expiry\n\n## Development\n\n```bash\n# Clone and install\ncd cli && npm install\n\n# Build\nnpm run build\n\n# Link globally for development\nnpm link\n\n# Run tests\nnpm test\n```\n\n## License\n\nProprietary - bluePROmpts\n","readmeFilename":"README.md"}