@zerogpu/n8n-nodes-zerogpu 0.1.1 → 0.2.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zerogpu/n8n-nodes-zerogpu",
3
- "version": "0.1.1",
3
+ "version": "0.2.0",
4
4
  "description": "Official ZeroGPU nodes for n8n. ZeroGPU is a compute-efficient inference provider for apps and agents — purpose-built small and nano language models on an edge network that run the repeatable tasks frontier models shouldn’t, ~10x faster and 50%+ cheaper. Auto-scaling, with zero GPU infrastructure. Plug in and you’re live.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://zerogpu.ai",
@@ -39,11 +39,12 @@
39
39
  "n8n": {
40
40
  "n8nNodesApiVersion": 1,
41
41
  "strict": true,
42
+ "aiNodeSdkVersion": 1,
42
43
  "credentials": [
43
44
  "dist/credentials/ZeroGpuApi.credentials.js"
44
45
  ],
45
46
  "nodes": [
46
- "dist/nodes/ZeroGpu/ZeroGpu.node.js"
47
+ "dist/nodes/ZeroGpuChatModel/ZeroGpuChatModel.node.js"
47
48
  ]
48
49
  },
49
50
  "devDependencies": {
@@ -54,6 +55,7 @@
54
55
  "typescript": "5.9.2"
55
56
  },
56
57
  "peerDependencies": {
57
- "n8n-workflow": "*"
58
+ "n8n-workflow": "*",
59
+ "@n8n/ai-node-sdk": "*"
58
60
  }
59
61
  }
@@ -1,5 +0,0 @@
1
- import type { IExecuteFunctions, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow';
2
- export declare class ZeroGpu implements INodeType {
3
- description: INodeTypeDescription;
4
- execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
5
- }
@@ -1,36 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ZeroGpu = void 0;
4
- const n8n_workflow_1 = require("n8n-workflow");
5
- class ZeroGpu {
6
- constructor() {
7
- this.description = {
8
- displayName: 'ZeroGPU',
9
- name: 'zeroGpu',
10
- icon: { light: 'file:../../icons/zerogpu.svg', dark: 'file:../../icons/zerogpu.dark.svg' },
11
- group: ['transform'],
12
- version: 1,
13
- subtitle: 'No operations yet',
14
- description: 'Compute-efficient inference with small and nano language models',
15
- defaults: {
16
- name: 'ZeroGPU',
17
- },
18
- usableAsTool: true,
19
- inputs: [n8n_workflow_1.NodeConnectionTypes.Main],
20
- outputs: [n8n_workflow_1.NodeConnectionTypes.Main],
21
- properties: [
22
- {
23
- displayName: 'This early release has no ZeroGPU operations yet. Input items pass through unchanged.',
24
- name: 'notice',
25
- type: 'notice',
26
- default: '',
27
- },
28
- ],
29
- };
30
- }
31
- async execute() {
32
- return [this.getInputData()];
33
- }
34
- }
35
- exports.ZeroGpu = ZeroGpu;
36
- //# sourceMappingURL=ZeroGpu.node.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ZeroGpu.node.js","sourceRoot":"","sources":["../../../nodes/ZeroGpu/ZeroGpu.node.ts"],"names":[],"mappings":";;;AAMA,+CAAmD;AAGnD,MAAa,OAAO;IAApB;QACC,gBAAW,GAAyB;YACnC,WAAW,EAAE,SAAS;YACtB,IAAI,EAAE,SAAS;YACf,IAAI,EAAE,EAAE,KAAK,EAAE,8BAA8B,EAAE,IAAI,EAAE,mCAAmC,EAAE;YAC1F,KAAK,EAAE,CAAC,WAAW,CAAC;YACpB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,mBAAmB;YAC7B,WAAW,EAAE,iEAAiE;YAC9E,QAAQ,EAAE;gBACT,IAAI,EAAE,SAAS;aACf;YACD,YAAY,EAAE,IAAI;YAClB,MAAM,EAAE,CAAC,kCAAmB,CAAC,IAAI,CAAC;YAClC,OAAO,EAAE,CAAC,kCAAmB,CAAC,IAAI,CAAC;YACnC,UAAU,EAAE;gBACX;oBACC,WAAW,EACV,uFAAuF;oBACxF,IAAI,EAAE,QAAQ;oBACd,IAAI,EAAE,QAAQ;oBACd,OAAO,EAAE,EAAE;iBACX;aACD;SACD,CAAC;IAKH,CAAC;IAHA,KAAK,CAAC,OAAO;QACZ,OAAO,CAAC,IAAI,CAAC,YAAY,EAAE,CAAC,CAAC;IAC9B,CAAC;CACD;AA7BD,0BA6BC"}