{"_id":"@bestdefense/bd-agent","_rev":"5-2d69837be2a3cb7b87e1c20b74bda1a2","name":"@bestdefense/bd-agent","dist-tags":{"latest":"0.1.5"},"versions":{"0.1.0":{"name":"@bestdefense/bd-agent","version":"0.1.0","keywords":["ai","coding-assistant","cli","aws-bedrock","developer-tools"],"author":{"name":"BestDefense, Inc."},"license":"MIT","_id":"@bestdefense/bd-agent@0.1.0","maintainers":[{"name":"danbaddeley","email":"dan.baddeley@bestdefense.io"}],"homepage":"https://github.com/bestdefense-io/BD.Agent#readme","bugs":{"url":"https://github.com/bestdefense-io/BD.Agent/issues"},"bin":{"bd-agent":"dist/cli.js"},"dist":{"shasum":"9387d75617edfefc913e55e63644d3261836e3fe","tarball":"https://registry.npmjs.org/@bestdefense/bd-agent/-/bd-agent-0.1.0.tgz","fileCount":42,"integrity":"sha512-vlfcuSr+cj8T0Ypj3BjloTqlPezqhfKOr8QgmDXd+9Bz3I3KFVREyEuXOonXp5EXAITFTZSiOxdxioB/QZTbNw==","signatures":[{"sig":"MEQCIGM98rdtDNBpzcFu8Vu4/vXzL1+fLdzlbD8uteMw5XuRAiBse6RhiTMPCj75udjh88HA54LhCQojSMd7Oc7UTeHhIA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":69900},"main":"dist/index.js","engines":{"node":">=18.0.0"},"gitHead":"74d76e3c28862799c47f7ae3e36af8a35f122f2d","scripts":{"dev":"tsx src/cli.ts","test":"jest","build":"tsc","prepare":"npm run build"},"_npmUser":{"name":"danbaddeley","email":"dan.baddeley@bestdefense.io"},"repository":{"url":"git+https://github.com/bestdefense-io/BD.Agent.git","type":"git"},"_npmVersion":"11.4.2","description":"An AI-powered coding assistant CLI that connects to AWS Bedrock","directories":{},"_nodeVersion":"24.4.1","dependencies":{"ora":"^8.0.1","chalk":"^5.3.0","dotenv":"^16.4.5","marked":"^12.0.2","inquirer":"^9.2.23","commander":"^12.0.0","marked-terminal":"^7.0.0","@aws-sdk/client-bedrock-runtime":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.15.0","jest":"^29.7.0","typescript":"^5.4.5","@types/node":"^20.14.0","@types/inquirer":"^9.0.7","@types/marked-terminal":"^3.1.3"},"_npmOperationalInternal":{"tmp":"tmp/bd-agent_0.1.0_1754153609148_0.5677966434212476","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@bestdefense/bd-agent","version":"0.1.1","keywords":["ai","coding-assistant","cli","aws-bedrock","developer-tools"],"author":{"name":"BestDefense, Inc."},"license":"MIT","_id":"@bestdefense/bd-agent@0.1.1","maintainers":[{"name":"danbaddeley","email":"dan.baddeley@bestdefense.io"}],"homepage":"https://github.com/bestdefense-io/BD.Agent#readme","bugs":{"url":"https://github.com/bestdefense-io/BD.Agent/issues"},"bin":{"bd-agent":"dist/cli.js"},"dist":{"shasum":"75c084548d02999ca1daa5d6fccc5e0ddce71bf8","tarball":"https://registry.npmjs.org/@bestdefense/bd-agent/-/bd-agent-0.1.1.tgz","fileCount":42,"integrity":"sha512-8ykX5w3AtnsXUk8BApDxIXtzUFoeSvlwPljadPp9Biv2FsaK3L2Vhl4974GeLRqMX621Eh1kgQPFAJI2k7UwZA==","signatures":[{"sig":"MEYCIQCOqNa+W8eiZsfsQZ+gG+mi1HgB2ETRPTQgLtkG44nWPgIhALmyJUhH+Qhr5kmtMMhr+b9J2/XhQPIkOVngkIWQ6GiU","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":71678},"main":"dist/index.js","engines":{"node":">=18.0.0"},"gitHead":"6a10517c9d1edf9ed344f42bdc206056ea435fe6","scripts":{"dev":"tsx src/cli.ts","test":"jest","build":"tsc","prepare":"npm run build"},"_npmUser":{"name":"danbaddeley","email":"dan.baddeley@bestdefense.io"},"repository":{"url":"git+https://github.com/bestdefense-io/BD.Agent.git","type":"git"},"_npmVersion":"11.4.2","description":"An AI-powered coding assistant CLI that connects to AWS Bedrock","directories":{},"_nodeVersion":"24.4.1","dependencies":{"ora":"^8.0.1","chalk":"^5.3.0","dotenv":"^16.4.5","marked":"^12.0.2","inquirer":"^9.2.23","commander":"^12.0.0","marked-terminal":"^7.0.0","@aws-sdk/client-bedrock-runtime":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.15.0","jest":"^29.7.0","typescript":"^5.4.5","@types/node":"^20.14.0","@types/inquirer":"^9.0.7","@types/marked-terminal":"^3.1.3"},"_npmOperationalInternal":{"tmp":"tmp/bd-agent_0.1.1_1754154406814_0.7806659895368033","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@bestdefense/bd-agent","version":"0.1.2","keywords":["ai","coding-assistant","cli","aws-bedrock","developer-tools"],"author":{"name":"BestDefense, Inc."},"license":"MIT","_id":"@bestdefense/bd-agent@0.1.2","maintainers":[{"name":"danbaddeley","email":"dan.baddeley@bestdefense.io"}],"homepage":"https://github.com/bestdefense-io/BD.Agent#readme","bugs":{"url":"https://github.com/bestdefense-io/BD.Agent/issues"},"bin":{"bd-agent":"dist/cli.js"},"dist":{"shasum":"6633f226529803a317b3a8a67a84d41f5a40fc39","tarball":"https://registry.npmjs.org/@bestdefense/bd-agent/-/bd-agent-0.1.2.tgz","fileCount":42,"integrity":"sha512-OtblQp9fOfyKag+u3T6iuNSVv8mjl72lizoU/SCmJTQPVx4msqlkEkjrYnnSnH4ds7FQuqXN/s2nMaPJRTQMUg==","signatures":[{"sig":"MEUCIG2eigfwfNzSPgYBjcCvKc3cY/h0gW4/vQKshIb7OyHcAiEA6AuFYUQW7Gdzd3UrQaFC1vI83j7OsPjMU+oSGz5PcEY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":76516},"main":"dist/index.js","engines":{"node":">=18.0.0"},"gitHead":"6a10517c9d1edf9ed344f42bdc206056ea435fe6","scripts":{"dev":"tsx src/cli.ts","test":"jest","build":"tsc","prepare":"npm run build"},"_npmUser":{"name":"danbaddeley","email":"dan.baddeley@bestdefense.io"},"repository":{"url":"git+https://github.com/bestdefense-io/BD.Agent.git","type":"git"},"_npmVersion":"11.4.2","description":"An AI-powered coding assistant CLI that connects to AWS Bedrock","directories":{},"_nodeVersion":"24.4.1","dependencies":{"ora":"^8.0.1","chalk":"^5.3.0","dotenv":"^16.4.5","marked":"^12.0.2","inquirer":"^9.2.23","commander":"^12.0.0","marked-terminal":"^7.0.0","@aws-sdk/client-bedrock-runtime":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.15.0","jest":"^29.7.0","typescript":"^5.4.5","@types/node":"^20.14.0","@types/inquirer":"^9.0.7","@types/marked-terminal":"^3.1.3"},"_npmOperationalInternal":{"tmp":"tmp/bd-agent_0.1.2_1754177175448_0.9262480264503321","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@bestdefense/bd-agent","version":"0.1.4","keywords":["ai","coding-assistant","cli","aws-bedrock","developer-tools"],"author":{"name":"BestDefense, Inc."},"license":"MIT","_id":"@bestdefense/bd-agent@0.1.4","maintainers":[{"name":"danbaddeley","email":"dan.baddeley@bestdefense.io"}],"homepage":"https://github.com/bestdefense-io/BD.Agent#readme","bugs":{"url":"https://github.com/bestdefense-io/BD.Agent/issues"},"bin":{"bd-agent":"dist/cli.js"},"dist":{"shasum":"73825b59d5370be4e8a35bae0a3480058510b0b6","tarball":"https://registry.npmjs.org/@bestdefense/bd-agent/-/bd-agent-0.1.4.tgz","fileCount":86,"integrity":"sha512-aEq5dh473hV3ePVD7FMHrlb8zhIRwrV+5F1PZoO/bArplMyfBQUjy+XoAQbwKa3/dYhDR6ScI7HhAwGD/57IaA==","signatures":[{"sig":"MEQCIGjbnZ+oodhsZV14PEUMeWhg3L8smaISnfJxJ4QYdxBfAiA9jGWUa/9dqPGG5PW1vJeiJAWd8UWLtcuYxVXVqoceOQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":265757},"main":"dist/index.js","engines":{"node":">=18.0.0"},"gitHead":"d451dbf858f0941d0cf511d8f227796557ecc7b1","scripts":{"dev":"tsx src/cli.ts","test":"jest","build":"tsc","prepare":"npm run build"},"_npmUser":{"name":"danbaddeley","email":"dan.baddeley@bestdefense.io"},"repository":{"url":"git+https://github.com/bestdefense-io/BD.Agent.git","type":"git"},"_npmVersion":"11.4.2","description":"An AI-powered coding assistant CLI that connects to AWS Bedrock","directories":{},"_nodeVersion":"24.4.1","dependencies":{"ora":"^8.0.1","glob":"^11.0.3","chalk":"^5.3.0","dotenv":"^16.4.5","marked":"^12.0.2","inquirer":"^9.2.23","commander":"^12.0.0","strip-ansi":"^7.1.0","@types/glob":"^8.1.0","highlight.js":"^11.11.1","cli-highlight":"^2.1.11","marked-terminal":"^7.0.0","@aws-sdk/client-bedrock-runtime":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.15.0","jest":"^29.7.0","typescript":"^5.4.5","@types/node":"^20.14.0","@types/inquirer":"^9.0.7","@types/marked-terminal":"^3.1.7"},"_npmOperationalInternal":{"tmp":"tmp/bd-agent_0.1.4_1754416519489_0.0007166307477242118","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@bestdefense/bd-agent","version":"0.1.5","description":"An AI-powered coding assistant CLI that connects to AWS Bedrock","main":"dist/index.js","bin":{"bd-agent":"dist/cli.js"},"scripts":{"build":"tsc","dev":"tsx src/cli.ts","prepare":"npm run build","test":"jest"},"keywords":["ai","coding-assistant","cli","aws-bedrock","developer-tools"],"author":{"name":"BestDefense, Inc."},"license":"MIT","dependencies":{"@aws-sdk/client-bedrock-runtime":"^3.0.0","@types/glob":"^8.1.0","chalk":"^5.3.0","cli-highlight":"^2.1.11","commander":"^12.0.0","dotenv":"^16.4.5","glob":"^11.0.3","highlight.js":"^11.11.1","inquirer":"^9.2.23","marked":"^12.0.2","marked-terminal":"^7.0.0","ora":"^8.0.1","strip-ansi":"^7.1.0"},"devDependencies":{"@types/inquirer":"^9.0.7","@types/marked-terminal":"^3.1.7","@types/node":"^20.14.0","jest":"^29.7.0","tsx":"^4.15.0","typescript":"^5.4.5"},"engines":{"node":">=18.0.0"},"repository":{"type":"git","url":"git+https://github.com/bestdefense-io/BD.Agent.git"},"_id":"@bestdefense/bd-agent@0.1.5","gitHead":"d451dbf858f0941d0cf511d8f227796557ecc7b1","bugs":{"url":"https://github.com/bestdefense-io/BD.Agent/issues"},"homepage":"https://github.com/bestdefense-io/BD.Agent#readme","_nodeVersion":"24.4.1","_npmVersion":"11.4.2","dist":{"integrity":"sha512-oOhsEJKmZT1QotIBIyFKDatSzdjkwMkFg6paPY4OEyQ1MfSluspXkk63yGcNW4LEXDcGZM6lyU222RyRgjZM7g==","shasum":"3e310c2164c15ba309e5c08511b2f191f3e704b9","tarball":"https://registry.npmjs.org/@bestdefense/bd-agent/-/bd-agent-0.1.5.tgz","fileCount":86,"unpackedSize":265819,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDBGGPKK2QXL9DIDbujGuzuN2+r+AgttaezdWNy6u67zgIhAIdo9vbyXu8XiGc1WI1ylrSPu5Wf+/nhHQZdKl6Ho+M8"}]},"_npmUser":{"name":"danbaddeley","email":"dan.baddeley@bestdefense.io"},"directories":{},"maintainers":[{"name":"danbaddeley","email":"dan.baddeley@bestdefense.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/bd-agent_0.1.5_1754418641093_0.19430172020858327"},"_hasShrinkwrap":false}},"time":{"created":"2025-08-02T16:53:29.039Z","modified":"2025-08-05T18:30:41.491Z","0.1.0":"2025-08-02T16:53:29.387Z","0.1.1":"2025-08-02T17:06:46.999Z","0.1.2":"2025-08-02T23:26:15.624Z","0.1.4":"2025-08-05T17:55:19.691Z","0.1.5":"2025-08-05T18:30:41.290Z"},"bugs":{"url":"https://github.com/bestdefense-io/BD.Agent/issues"},"author":{"name":"BestDefense, Inc."},"license":"MIT","homepage":"https://github.com/bestdefense-io/BD.Agent#readme","keywords":["ai","coding-assistant","cli","aws-bedrock","developer-tools"],"repository":{"type":"git","url":"git+https://github.com/bestdefense-io/BD.Agent.git"},"description":"An AI-powered coding assistant CLI that connects to AWS Bedrock","maintainers":[{"name":"danbaddeley","email":"dan.baddeley@bestdefense.io"}],"readme":"# BD Agent\n\nAn AI-powered coding assistant CLI that connects to AWS Bedrock. BD Agent helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.\n\n## Installation\n\n```bash\nnpm install -g @bestdefense/bd-agent\n```\n\n## Minimum Requirements\n```cli\nnpm -v 11.4.2\nnode -v 24.4.1\n```\n\n## Setup\n\nBefore using BD Agent, you need to configure your AWS credentials:\n\n```bash\nbd-agent setup\n```\n\nYou'll be prompted to enter:\n- AWS Access Key ID\n- AWS Secret Access Key  \n- AWS Session Token (optional)\n- AWS Region (default: us-east-1)\n- Bedrock Model ID (default: anthropic.claude-3-5-sonnet-20241022-v2:0)\n\nAlternatively, you can set these as environment variables:\n- `AWS_ACCESS_KEY_ID`\n- `AWS_SECRET_ACCESS_KEY`\n- `AWS_SESSION_TOKEN`\n- `AWS_REGION`\n- `BEDROCK_MODEL_ID`\n\n## Usage\n\nStart an interactive chat session:\n\n```bash\nbd-agent chat\n```\n\n### Available Commands\n\nBD Agent can help you with:\n\n- **File Operations**: Read, write, and edit files\n- **Git Workflows**: Check status, stage changes, commit, view logs\n- **Shell Commands**: Execute any shell command\n- **Code Assistance**: Write new code, debug issues, refactor, explain complex code\n\n### Example Interactions\n\n```\nYou: Can you help me create a new React component called UserProfile?\n\nYou: Show me the current git status and any uncommitted changes\n\nYou: Run the tests and fix any failing ones\n\nYou: Explain how this authentication middleware works\n```\n\n## Available Tools\n\n### File System Tools\n- `read_file` - Read file contents\n- `write_file` - Write content to files\n- `edit_file` - Replace content in files\n- `list_directory` - List directory contents\n\n### Git Tools\n- `git_status` - Check repository status\n- `git_diff` - Show changes\n- `git_add` - Stage files\n- `git_commit` - Create commits\n- `git_log` - View commit history\n\n### Shell Tools\n- `run_command` - Execute shell commands\n\n## Requirements\n\n- Node.js >= 18.0.0\n- AWS account with Bedrock access\n- Valid AWS credentials with permissions to invoke Bedrock models\n\n## Security\n\nBD Agent stores your AWS credentials locally in `~/.bd-agent/.env`. Make sure to:\n- Keep your credentials secure\n- Use IAM roles with minimal required permissions\n- Rotate your credentials regularly\n\n## License\n\nMIT","readmeFilename":"README.md"}