n8n-nodes-github-copilot 4.0.1 → 4.0.2
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.
|
@@ -106,17 +106,17 @@ class GitHubCopilot {
|
|
|
106
106
|
async execute() {
|
|
107
107
|
const items = this.getInputData();
|
|
108
108
|
const returnData = [];
|
|
109
|
-
let copilotVersionInfo = {
|
|
109
|
+
let copilotVersionInfo = { build: 'unknown', commit: 'unknown' };
|
|
110
110
|
try {
|
|
111
111
|
const versionResult = await execAsync('copilot --version', { timeout: 5000 });
|
|
112
112
|
const versionOutput = versionResult.stdout.trim();
|
|
113
113
|
const lines = versionOutput.split('\n');
|
|
114
|
-
copilotVersionInfo.
|
|
114
|
+
copilotVersionInfo.build = lines[0] || 'unknown';
|
|
115
115
|
const commitLine = lines.find(l => l.startsWith('Commit:'));
|
|
116
116
|
copilotVersionInfo.commit = commitLine ? commitLine.replace('Commit:', '').trim() : 'unknown';
|
|
117
117
|
}
|
|
118
118
|
catch (error) {
|
|
119
|
-
copilotVersionInfo = {
|
|
119
|
+
copilotVersionInfo = { build: 'not installed', commit: 'unknown' };
|
|
120
120
|
}
|
|
121
121
|
for (let i = 0; i < items.length; i++) {
|
|
122
122
|
try {
|
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "n8n-nodes-github-copilot",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.2",
|
|
4
4
|
"description": "n8n community node for GitHub Copilot with NEW CLI programmatic mode, Chat API access, and AI Chat Model for workflows - access GPT-5, Claude Sonnet 4.5, 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": "4.0.
|
|
3
|
+
"version": "4.0.2",
|
|
4
4
|
"description": "n8n community node for GitHub Copilot with NEW CLI programmatic mode, Chat API access, and AI Chat Model for workflows - access GPT-5, Claude Sonnet 4.5, Gemini and more using your Copilot subscription",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://github.com/sufficit/n8n-nodes-github-copilot",
|