opencode-copilot-auth
Advanced tools
@@ -7,6 +7,10 @@ name: Publish to npm | ||
| bump: | ||
| description: 'Version bump type' | ||
| description: "Version bump type" | ||
| required: false | ||
| default: 'patch' | ||
| default: "patch" | ||
| permissions: | ||
| id-token: write | ||
| contents: read | ||
| jobs: | ||
@@ -17,12 +21,13 @@ publish: | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: '20' | ||
| registry-url: 'https://registry.npmjs.org' | ||
| node-version: "24" | ||
| registry-url: "https://registry.npmjs.org" | ||
| - run: npm install | ||
| - run: npm publish --access public | ||
| env: | ||
| NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
| NPM_CONFIG_PROVENANCE: false |
+4
-4
@@ -7,5 +7,5 @@ /** | ||
| const HEADERS = { | ||
| "User-Agent": "GitHubCopilotChat/0.32.4", | ||
| "Editor-Version": "vscode/1.105.1", | ||
| "Editor-Plugin-Version": "copilot-chat/0.32.4", | ||
| "User-Agent": "GitHubCopilotChat/0.35.0", | ||
| "Editor-Version": "vscode/1.107.0", | ||
| "Editor-Plugin-Version": "copilot-chat/0.35.0", | ||
| "Copilot-Integration-Id": "vscode-chat", | ||
@@ -106,3 +106,3 @@ }; | ||
| access: tokenData.token, | ||
| expires: tokenData.expires_at * 1000, | ||
| expires: tokenData.expires_at * 1000 - 5 * 60 * 1000, | ||
| ...(info.enterpriseUrl && { | ||
@@ -109,0 +109,0 @@ enterpriseUrl: info.enterpriseUrl, |
+1
-1
| { | ||
| "name": "opencode-copilot-auth", | ||
| "version": "0.0.9", | ||
| "version": "0.0.11", | ||
| "main": "./index.mjs", | ||
@@ -5,0 +5,0 @@ "devDependencies": { |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
13457
0.65%