{"_id":"b-code-cli-darwin-arm64","name":"b-code-cli-darwin-arm64","dist-tags":{"latest":"1.17.11"},"versions":{"1.17.11":{"name":"b-code-cli-darwin-arm64","version":"1.17.11","description":"B Code terminal CLI for QDeep AI Gateway native binary","license":"MIT","preferUnplugged":true,"os":["darwin"],"cpu":["arm64"],"_id":"b-code-cli-darwin-arm64@1.17.11","_integrity":"sha512-3mILNvCAhXcyu6YqhRpcda0Zw6xgWzngRaZ+kOa+gbTf8tug5g2ZlyL1CrNN7dpQ0U2Rk3Xqhs6jFPWAUvOzMw==","_resolved":"C:\\code\\Q-DEEP\\b-ai\\opencode\\packages\\opencode\\dist\\b-code-cli-darwin-arm64\\b-code-cli-darwin-arm64-1.17.11.tgz","_from":"file:b-code-cli-darwin-arm64-1.17.11.tgz","_nodeVersion":"24.15.0","_npmVersion":"11.12.1","dist":{"integrity":"sha512-3mILNvCAhXcyu6YqhRpcda0Zw6xgWzngRaZ+kOa+gbTf8tug5g2ZlyL1CrNN7dpQ0U2Rk3Xqhs6jFPWAUvOzMw==","shasum":"4f7b44c0ae98e77c79ea7e1c14448daca21fa092","tarball":"https://registry.npmjs.org/b-code-cli-darwin-arm64/-/b-code-cli-darwin-arm64-1.17.11.tgz","fileCount":4,"unpackedSize":101195290,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCICCfcFmGRVuL+fdnSU4zAAxiz01iOMgqDnOEqESaFHKmAiAbfJ3JXXkrCBCRbAGm0BhC7YWGP5a78YsGKr8SaBn3+Q=="}]},"_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-arm64_1.17.11_1783382834505_0.5294748911479799"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-07T00:07:14.320Z","1.17.11":"2026-07-07T00:07:15.047Z","modified":"2026-07-07T00:07:15.346Z"},"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-558ee5a6d3c1eb628d85b9bc13e790cc"}