n8n-nodes-github-copilot 3.7.0 → 3.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +22 -5
- package/package.json +5 -8
package/README.md
CHANGED
|
@@ -143,12 +143,24 @@ gh auth token
|
|
|
143
143
|
```
|
|
144
144
|
|
|
145
145
|
### 1. Adicionar o Node
|
|
146
|
+
|
|
146
147
|
1. Crie um novo workflow
|
|
147
148
|
2. Procure por **GitHub Copilot** na lista de nodes
|
|
148
149
|
3. Arraste para o canvas
|
|
149
150
|
4. **Deixe o campo token vazio** (se o servidor tem `gh auth login`)
|
|
150
151
|
5. **OU** insira um token gerado por `gh auth token`
|
|
151
152
|
|
|
153
|
+
### 2. Configuração para GitHub Copilot Chat API
|
|
154
|
+
|
|
155
|
+
Para usar o **GitHub Copilot Chat API** (com modelos GPT-5, Claude, etc.):
|
|
156
|
+
|
|
157
|
+
1. **Selecione credenciais built-in**: Use **"GitHub API"** (credencial padrão do n8n)
|
|
158
|
+
2. **Configure a credencial**:
|
|
159
|
+
- **GitHub Server**: `https://api.github.com`
|
|
160
|
+
- **User**: Seu username do GitHub
|
|
161
|
+
- **Access Token**: Token obtido via `gh auth token` (formato `gho_*`)
|
|
162
|
+
3. **Importante**: Apenas tokens GitHub Copilot funcionam - Personal Access Tokens (`ghp_*`) são rejeitados pela API
|
|
163
|
+
|
|
152
164
|
## 🎮 Como Usar
|
|
153
165
|
|
|
154
166
|
### Operações Disponíveis
|
|
@@ -307,12 +319,17 @@ npm run format
|
|
|
307
319
|
|
|
308
320
|
### Estrutura do Projeto
|
|
309
321
|
```
|
|
310
|
-
├── credentials/
|
|
311
|
-
│ └── GitHubApi.credentials.ts
|
|
312
322
|
├── nodes/
|
|
313
|
-
│
|
|
314
|
-
│
|
|
315
|
-
│
|
|
323
|
+
│ ├── GitHubCopilot/
|
|
324
|
+
│ │ ├── GitHubCopilot.node.ts
|
|
325
|
+
│ │ └── githubcopilot.svg
|
|
326
|
+
│ ├── GitHubCopilotChatAPI/
|
|
327
|
+
│ │ └── GitHubCopilotChatAPI.node.ts
|
|
328
|
+
│ └── GitHubCopilotChatModel/
|
|
329
|
+
│ └── GitHubCopilotChatModel.node.ts
|
|
330
|
+
├── shared/
|
|
331
|
+
│ └── models/
|
|
332
|
+
│ └── GitHubCopilotModels.ts
|
|
316
333
|
├── package.json
|
|
317
334
|
├── tsconfig.json
|
|
318
335
|
├── gulpfile.js
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "n8n-nodes-github-copilot",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.8.0",
|
|
4
4
|
"description": "n8n community node for GitHub Copilot with CLI integration, Chat API access, and AI Chat Model for workflows - access GPT-5, Claude, Gemini and more using your Copilot subscription",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://github.com/sufficit/n8n-nodes-github-copilot",
|
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
"scripts": {
|
|
17
17
|
"build": "tsc && gulp build:icons",
|
|
18
18
|
"dev": "tsc --watch",
|
|
19
|
-
"format": "prettier nodes
|
|
20
|
-
"lint": "eslint nodes
|
|
21
|
-
"lintfix": "eslint nodes
|
|
19
|
+
"format": "prettier nodes --write",
|
|
20
|
+
"lint": "eslint nodes package.json",
|
|
21
|
+
"lintfix": "eslint nodes package.json --fix",
|
|
22
22
|
"prepublishOnly": "npm run build && npm run lint -s"
|
|
23
23
|
},
|
|
24
24
|
"files": [
|
|
@@ -26,10 +26,7 @@
|
|
|
26
26
|
],
|
|
27
27
|
"n8n": {
|
|
28
28
|
"n8nNodesApiVersion": 1,
|
|
29
|
-
"credentials": [
|
|
30
|
-
"dist/credentials/GitHubApi.credentials.js",
|
|
31
|
-
"dist/credentials/GitHubApiManual.credentials.js"
|
|
32
|
-
],
|
|
29
|
+
"credentials": [],
|
|
33
30
|
"nodes": [
|
|
34
31
|
"dist/nodes/GitHubCopilot/GitHubCopilot.node.js",
|
|
35
32
|
"dist/nodes/GitHubCopilotChatAPI/GitHubCopilotChatAPI.node.js",
|