{"_id":"b-code-cli-darwin-x64","name":"b-code-cli-darwin-x64","dist-tags":{"latest":"1.17.11"},"versions":{"1.17.11":{"name":"b-code-cli-darwin-x64","version":"1.17.11","description":"B Code terminal CLI for QDeep AI Gateway native binary","license":"MIT","preferUnplugged":true,"os":["darwin"],"cpu":["x64"],"_id":"b-code-cli-darwin-x64@1.17.11","_integrity":"sha512-2LCrOrABJuipjj3ao0ljiHAsv7XXUnp6of+qsGSUhAizGL50n4vu/7vMeKKha2SMofVCV4CreIhUqr6huTXqYg==","_resolved":"C:\\code\\Q-DEEP\\b-ai\\opencode\\packages\\opencode\\dist\\b-code-cli-darwin-x64\\b-code-cli-darwin-x64-1.17.11.tgz","_from":"file:b-code-cli-darwin-x64-1.17.11.tgz","_nodeVersion":"24.15.0","_npmVersion":"11.12.1","dist":{"integrity":"sha512-2LCrOrABJuipjj3ao0ljiHAsv7XXUnp6of+qsGSUhAizGL50n4vu/7vMeKKha2SMofVCV4CreIhUqr6huTXqYg==","shasum":"cf63b72be69f60f14e170be9f3f410aebae37c03","tarball":"https://registry.npmjs.org/b-code-cli-darwin-x64/-/b-code-cli-darwin-x64-1.17.11.tgz","fileCount":4,"unpackedSize":107023108,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIB9u6JFx2D2tNzlZFYqRm8fQ0vrZYaIzzMsVRLIU/rILAiA6iNeKHezwaxg4/hjHeVct2pmknB9jCgtVQRHGKq5b3w=="}]},"_npmUser":{"name":"mohammedkarim","email":"mohammedkarimcode@gmail.com"},"directories":{},"maintainers":[{"name":"mohammedkarim","email":"mohammedkarimcode@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/b-code-cli-darwin-x64_1.17.11_1783382887746_0.6198698517889667"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-07T00:08:07.610Z","1.17.11":"2026-07-07T00:08:08.323Z","modified":"2026-07-07T00:08:08.562Z"},"maintainers":[{"name":"mohammedkarim","email":"mohammedkarimcode@gmail.com"}],"description":"B Code terminal CLI for QDeep AI Gateway native binary","license":"MIT","readme":"# B Code\r\n\r\nB Code is the QDeep-managed terminal coding assistant. It uses your QDeep AI Gateway for model discovery, routing, logging, metering, and quotas.\r\n\r\n## Install\r\n\r\n```bash\r\nnpm install -g b-code-cli\nb-code\n```\r\n\r\n## Gateway Configuration\r\n\r\nB Code reads QDeep runtime values from environment variables or from a `.env.qdeep.local` file in the current directory or one of its parent directories.\r\n\r\n```env\r\nQDEEP_GATEWAY_PUBLIC_ORIGIN=https://api.example.com\r\nQDEEP_GATEWAY_BASE_URL=https://api.example.com/opencode/v1\r\nQDEEP_OIDC_ISSUER=https://api.example.com/auth/oidc\r\nQDEEP_API_KEY=replace-with-a-gateway-key\r\n```\r\n\r\nFor local development, keep using the repository `.env.qdeep.local` pattern. For production distribution, prefer user-scoped auth tokens from QDeep OIDC instead of a shared static API key.\r\n\r\nThe gateway also keeps the legacy `/v1` path for compatibility, but production B Code builds should use `/opencode/v1` so usage logs identify the caller as `opencode`.\r\n\r\n## Publish\r\n\r\nBuild every platform package and publish to npm:\r\n\r\n```bash\r\nOPENCODE_VERSION=1.0.0 NPM_TAG=latest bun run publish:npm\r\n```\r\n\r\nBuild only the current platform and create local tarballs:\r\n\r\n```bash\r\nbun run pack:npm:local\r\n```\r\n\r\nBefore the first publish, make sure the npm account is logged in and has permission to publish `b-code-cli` and the generated platform packages such as `b-code-cli-darwin-arm64`.\n","readmeFilename":"README.md","_rev":"1-5a0aeb37fd5cdb175df5440666586436"}