n8n-nodes-github-copilot 3.31.6 → 3.31.8

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.
@@ -13,7 +13,18 @@ class GitHubCopilotApi {
13
13
  name: "notice",
14
14
  type: "notice",
15
15
  default: "",
16
- description: "Only tokens generated by GitHub CLI work with Copilot API. OAuth2 and Personal Access Tokens from GitHub website DO NOT work.",
16
+ },
17
+ {
18
+ displayName: "🚀 Easy Token Generation",
19
+ name: "helperNotice",
20
+ type: "notice",
21
+ default: "Don't have GitHub CLI? Use our visual helper to get your token without terminal! Create a workflow with the 'GitHub Copilot Auth Helper' node, or access directly at your n8n instance.",
22
+ },
23
+ {
24
+ displayName: "📖 How to Get Token",
25
+ name: "instructionsNotice",
26
+ type: "notice",
27
+ default: "METHOD 1 (Visual): Use 'GitHub Copilot Auth Helper' node in n8n. METHOD 2 (CLI): Run 'gh auth login && gh auth token' in terminal. Only tokens starting with 'gho_' work with Copilot API.",
17
28
  },
18
29
  {
19
30
  displayName: "GitHub CLI Token",
@@ -31,36 +31,34 @@ class GitHubCopilotAuthHelper {
31
31
  ],
32
32
  properties: [
33
33
  {
34
- displayName: "🎯 Como Usar",
35
- name: "instructions",
34
+ displayName: " Autenticação Visual - Sem Terminal!",
35
+ name: "notice1",
36
36
  type: "notice",
37
- default: `
38
- <div style="background: #e8f5e8; padding: 20px; border-left: 4px solid #4CAF50; border-radius: 4px;">
39
- <h3 style="margin-top: 0; color: #2E7D32;">✨ Autenticação Visual - Sem Terminal!</h3>
40
-
41
- <p><strong>1. Ative este workflow</strong></p>
42
- <p>Clique em "Active" no canto superior direito</p>
43
-
44
- <p><strong>2. Copie a URL do Webhook</strong></p>
45
- <p>Clique em "Copy URL" abaixo e envie para o usuário</p>
46
-
47
- <p><strong>3. Usuário acessa a URL no navegador</strong></p>
48
- <p>Uma página bonita vai abrir com instruções claras</p>
49
-
50
- <p><strong>4. Processo automático!</strong></p>
51
- <ul style="margin: 10px 0; padding-left: 20px;">
52
- <li>✅ Página solicita código do GitHub</li>
53
- <li>✅ Mostra código grande para copiar</li>
54
- <li>✅ Abre GitHub automaticamente</li>
55
- <li>✅ Aguarda autorização (polling automático)</li>
56
- <li>✅ Exibe token pronto para copiar</li>
57
- </ul>
58
-
59
- <p style="background: #fff3e0; padding: 10px; border-radius: 4px; margin-top: 15px;">
60
- <strong>💡 Sem CORS!</strong> O n8n faz as chamadas para o GitHub, não o navegador!
61
- </p>
62
- </div>
63
- `,
37
+ default: "Este node permite que usuários finais obtenham tokens GitHub Copilot sem usar terminal.",
38
+ },
39
+ {
40
+ displayName: "📋 Passo 1: Ativar Workflow",
41
+ name: "notice2",
42
+ type: "notice",
43
+ default: "Clique no botão 'Active' no canto superior direito para ativar o workflow. A Production URL só funciona com workflow ativo!",
44
+ },
45
+ {
46
+ displayName: "🔗 Passo 2: Copiar URL",
47
+ name: "notice3",
48
+ type: "notice",
49
+ default: "Copie a 'Production URL' que aparece abaixo (em Webhook URLs) e envie para o usuário final.",
50
+ },
51
+ {
52
+ displayName: "🌐 Passo 3: Usuário Acessa URL",
53
+ name: "notice4",
54
+ type: "notice",
55
+ default: "O usuário abre a URL no navegador e segue as instruções visuais: 1) Clica 'Começar', 2) Copia o código, 3) Autoriza no GitHub, 4) Copia o token gerado automaticamente.",
56
+ },
57
+ {
58
+ displayName: "💡 Sem CORS!",
59
+ name: "notice5",
60
+ type: "notice",
61
+ default: "O n8n faz proxy das requisições para GitHub API, então não há problemas de CORS quando usuário acessa a página pelo navegador.",
64
62
  },
65
63
  {
66
64
  displayName: "Client ID",
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n8n-nodes-github-copilot",
3
- "version": "3.31.6",
3
+ "version": "3.31.8",
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",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n8n-nodes-github-copilot",
3
- "version": "3.31.6",
3
+ "version": "3.31.8",
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",