n8n-nodes-github-copilot 1.0.1 → 1.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.
@@ -157,10 +157,10 @@ class GitHubCopilot {
157
157
  if (language !== 'other') {
158
158
  fullPrompt = `[${language}] ${fullPrompt}`;
159
159
  }
160
- command = `gh copilot suggest "${fullPrompt}"`;
160
+ command = `/usr/bin/gh copilot suggest "${fullPrompt}"`;
161
161
  break;
162
162
  case 'explain':
163
- command = `gh copilot explain "${fullPrompt}"`;
163
+ command = `/usr/bin/gh copilot explain "${fullPrompt}"`;
164
164
  break;
165
165
  case 'shell':
166
166
  const commandType = this.getNodeParameter('commandType', i);
@@ -181,7 +181,7 @@ class GitHubCopilot {
181
181
  default:
182
182
  shellPrompt = fullPrompt;
183
183
  }
184
- command = `gh copilot suggest "${shellPrompt}" --type shell`;
184
+ command = `/usr/bin/gh copilot suggest "${shellPrompt}" --type shell`;
185
185
  break;
186
186
  default:
187
187
  throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Unknown operation: ${operation}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n8n-nodes-github-copilot",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "n8n community node for GitHub Copilot CLI integration",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/sufficit/n8n-nodes-github-copilot",