n8n-nodes-github-copilot 3.1.0 → 3.2.1

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.
@@ -0,0 +1,45 @@
1
+ import { IExecuteFunctions } from 'n8n-workflow';
2
+ export interface ChatMessage {
3
+ role: 'system' | 'user' | 'assistant';
4
+ content: string | Array<{
5
+ type: string;
6
+ text?: string;
7
+ image_url?: {
8
+ url: string;
9
+ };
10
+ }>;
11
+ }
12
+ export interface CopilotResponse {
13
+ choices: Array<{
14
+ message: {
15
+ content: string;
16
+ };
17
+ finish_reason: string;
18
+ }>;
19
+ usage?: {
20
+ prompt_tokens: number;
21
+ completion_tokens: number;
22
+ total_tokens: number;
23
+ };
24
+ }
25
+ export interface FileProcessOptions {
26
+ context: IExecuteFunctions;
27
+ itemIndex: number;
28
+ source: 'manual' | 'url' | 'binary';
29
+ filePath?: string;
30
+ url?: string;
31
+ binaryProperty?: string;
32
+ }
33
+ export interface ProcessedFileResult {
34
+ data: string;
35
+ mimeType: string;
36
+ filename: string;
37
+ size: number;
38
+ estimatedTokens: number;
39
+ }
40
+ export interface OptimizationOptions {
41
+ maxWidth?: number;
42
+ maxHeight?: number;
43
+ quality?: number;
44
+ maxSizeKB?: number;
45
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n8n-nodes-github-copilot",
3
- "version": "3.1.0",
3
+ "version": "3.2.1",
4
4
  "description": "n8n community node for GitHub Copilot with CLI integration and official Chat API access to GPT-5, Claude, Gemini and more using your existing Copilot credits",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/sufficit/n8n-nodes-github-copilot",