{"_id":"@byokkit/cmd-provider-copilot","_rev":"3-e61a7b27d5cc12855c2684197fa24c16","name":"@byokkit/cmd-provider-copilot","dist-tags":{"latest":"0.1.2"},"versions":{"0.1.0":{"name":"@byokkit/cmd-provider-copilot","version":"0.1.0","_id":"@byokkit/cmd-provider-copilot@0.1.0","maintainers":[{"name":"byokkit","email":"ahmadbilalme@gmail.com"}],"dist":{"shasum":"43d5e58359091f70b50c738feec54a8f09c4c863","tarball":"https://registry.npmjs.org/@byokkit/cmd-provider-copilot/-/cmd-provider-copilot-0.1.0.tgz","fileCount":16,"integrity":"sha512-ae1ZXjS9nrdkuc+7FOTGWaiEyjDjyTIAzQzaKewICzKdK323PJ9Jox8Egz2k5+6gCncLNk8V5bUA0lqe51/mOQ==","signatures":[{"sig":"MEYCIQD75OpSfiUGwZDjr4VCiKdBtGEUgRnB6j8o4jUz+0LdKQIhAODs5QSpUsKoNljZPbLBUfBiKFIgRdS05//WVSjtrt8L","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":123172},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./models":{"types":"./dist/models.d.ts","import":"./dist/models.js"},"./server":{"types":"./dist/server/index.d.ts","import":"./dist/server/index.js"}},"gitHead":"9668a5554aafde9d08e5ec786f431a8acc17771e","scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup && node ../../scripts/fix-provider-dts.mjs dist","typecheck":"tsc --noEmit","prepublishOnly":"pnpm build"},"_npmUser":{"name":"byokkit","email":"ahmadbilalme@gmail.com"},"_npmVersion":"11.4.2","description":"GitHub Copilot device-flow OAuth provider module for @commandcode/harness.","directories":{},"_nodeVersion":"24.4.1","dependencies":{"ai":"^6.0.116","@ai-sdk/openai":"^3.0.41","@ai-sdk/provider":"^3.0.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.0","vitest":"^4.1.6","typescript":"^5.9.2","@types/node":"^24.2.0","@commandcode/harness":"workspace:*"},"_npmOperationalInternal":{"tmp":"tmp/cmd-provider-copilot_0.1.0_1787264689852_0.8218045010278341","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@byokkit/cmd-provider-copilot","version":"0.1.1","_id":"@byokkit/cmd-provider-copilot@0.1.1","maintainers":[{"name":"byokkit","email":"ahmadbilalme@gmail.com"}],"dist":{"shasum":"c7c7d99d87bce0fb3908d9679a055f12e68d3f12","tarball":"https://registry.npmjs.org/@byokkit/cmd-provider-copilot/-/cmd-provider-copilot-0.1.1.tgz","fileCount":16,"integrity":"sha512-vuMxR67lkrq6Nu2ttThWhOEvtpWSvEmRKBN17EMEGcLbssuqFau8qpprKCDHktFP7jMA9o7EAdEh0kzK/piMUQ==","signatures":[{"sig":"MEQCIDfrt5EaJOrMEC2mk711GfeedRLkDYxPcrwNH4dWAevYAiBfwsEECHi0+xeqtl/QBgeZN0T4E94qHx8u3cMB6efDTQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":123166},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./models":{"types":"./dist/models.d.ts","import":"./dist/models.js"},"./server":{"types":"./dist/server/index.d.ts","import":"./dist/server/index.js"}},"gitHead":"b2f6443e60399b5bb9b0276a18a3566a800cd665","scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup && node ../../scripts/fix-provider-dts.mjs dist","typecheck":"tsc --noEmit","prepublishOnly":"pnpm build"},"_npmUser":{"name":"byokkit","email":"ahmadbilalme@gmail.com"},"_npmVersion":"11.4.2","description":"External BYOK provider for GitHub Copilot in cmd.","directories":{},"_nodeVersion":"24.4.1","dependencies":{"ai":"^6.0.116","zod":"^4.3.6","@ai-sdk/openai":"^3.0.41","@ai-sdk/provider":"^3.0.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.0","vitest":"^4.1.6","typescript":"^5.9.2","@types/node":"^24.2.0","@commandcode/harness":"workspace:*"},"_npmOperationalInternal":{"tmp":"tmp/cmd-provider-copilot_0.1.1_1787265227744_0.6356939075811088","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"_id":"@byokkit/cmd-provider-copilot@0.1.2","dist":{"shasum":"ef18bcf5fbaf01707ed03d4e6879726db34e7119","tarball":"https://registry.npmjs.org/@byokkit/cmd-provider-copilot/-/cmd-provider-copilot-0.1.2.tgz","fileCount":16,"integrity":"sha512-eloLCYMTFMvN8oJ+8anzFQQURWZCuWSy+NXPIEvtwU/tvAe8URkZ3a0J4UJ2K0tu5b0f64J+6iZE/3gBrnlpNQ==","signatures":[{"sig":"MEUCIQDlUOyR/j8yuBaRltiDTLwHyfHfHqoc5mq2AZNyOyaI3QIgfrYnfX78SBAWxKR/7J+UHEkJxg5u2l2p+MH/XIgOu2I=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIFBNOMzYH3TY1Mqj1yflIniKlhbkMe9Ea4Nk97N2r/wbAiALBGPfS9W+6wVNLv+bl9yaPoEHY6s3JiDsfXhZlDGUhw=="}],"unpackedSize":129027},"main":"./dist/index.js","name":"@byokkit/cmd-provider-copilot","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./models":{"types":"./dist/models.d.ts","import":"./dist/models.js"},"./server":{"types":"./dist/server/index.d.ts","import":"./dist/server/index.js"}},"scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup && node ../../scripts/fix-provider-dts.mjs dist","typecheck":"tsc --noEmit"},"version":"0.1.2","_npmUser":{"name":"byokkit","email":"ahmadbilalme@gmail.com"},"description":"External BYOK provider for GitHub Copilot in cmd.","directories":{},"maintainers":[{"name":"byokkit","email":"ahmadbilalme@gmail.com"}],"_nodeVersion":"24.4.1","dependencies":{"ai":"^6.0.116","zod":"^4.3.6","@ai-sdk/openai":"^3.0.41","@ai-sdk/provider":"^3.0.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.0","vitest":"^4.1.11","typescript":"^5.9.2","@types/node":"^24.2.0","@commandcode/harness":"0.1.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cmd-provider-copilot_0.1.2_1790365320907_0.8673386140772339"}}},"time":{"created":"2026-08-20T22:24:49.689Z","modified":"2026-09-25T19:42:01.177Z","0.1.0":"2026-08-20T22:24:50.039Z","0.1.1":"2026-08-20T22:33:47.881Z","0.1.2":"2026-09-25T19:42:00.987Z"},"description":"External BYOK provider for GitHub Copilot in cmd.","maintainers":[{"name":"byokkit","email":"ahmadbilalme@gmail.com"}],"readme":"# @byokkit/cmd-provider-copilot\n\nGitHub Copilot OAuth for the cmd CLI, packaged as an external BYOK provider.\n\nSigns you in with a GitHub Copilot subscription through GitHub's device flow: the CLI shows a one-time code, you approve it on github.com, and the module mints and refreshes the short-lived Copilot token automatically.\n\n## Development\n\n```sh\npnpm install\npnpm typecheck\npnpm test\npnpm build\n```\n\nTests inject `fetch`, the clock, and `sleep`; no real network.\n","readmeFilename":""}