{"_id":"b-code-cli-linux-x64","name":"b-code-cli-linux-x64","dist-tags":{"latest":"1.17.11"},"versions":{"1.17.11":{"name":"b-code-cli-linux-x64","version":"1.17.11","description":"B Code terminal CLI for QDeep AI Gateway native binary","license":"MIT","preferUnplugged":true,"os":["linux"],"cpu":["x64"],"_id":"b-code-cli-linux-x64@1.17.11","_integrity":"sha512-WC+HVXQixpFkCg7hh4lEGATu4ygJfDLqFw0xBfmZTvD838VLFbcYL/DJ/Tnugqd7CPzrYVteQP5ON9xZUKUtWw==","_resolved":"C:\\code\\Q-DEEP\\b-ai\\opencode\\packages\\opencode\\dist\\b-code-cli-linux-x64\\b-code-cli-linux-x64-1.17.11.tgz","_from":"file:b-code-cli-linux-x64-1.17.11.tgz","_nodeVersion":"24.15.0","_npmVersion":"11.12.1","dist":{"integrity":"sha512-WC+HVXQixpFkCg7hh4lEGATu4ygJfDLqFw0xBfmZTvD838VLFbcYL/DJ/Tnugqd7CPzrYVteQP5ON9xZUKUtWw==","shasum":"8f2f64daa8266c60b62943a4bd2baed6ed4b7192","tarball":"https://registry.npmjs.org/b-code-cli-linux-x64/-/b-code-cli-linux-x64-1.17.11.tgz","fileCount":4,"unpackedSize":139907890,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIBS9vb+HL6IDBDwa+2QLCf9MjrQk4tpLrC2gSDu0EMu9AiAw0CSar3vILqmi2hMfk13sCkxhpqGe7HNn4ksPTl8cqQ=="}]},"_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-linux-x64_1.17.11_1783383262431_0.2676107857686487"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-07T00:14:22.182Z","1.17.11":"2026-07-07T00:14:23.115Z","modified":"2026-07-07T00:14:23.390Z"},"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-30f8b2780c21e52d1ac437ea4d06099e"}