n8n-nodes-test-node 1.0.11 → 1.0.13
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/README.md +13 -4
- package/dist/{GofileAPIApi.credentials.d.ts → CamofoxBrowserApi.credentials.d.ts} +1 -1
- package/dist/{GofileAPIApi.credentials.js → CamofoxBrowserApi.credentials.js} +7 -7
- package/dist/{GofileAPINode.node.d.ts → CamofoxBrowserNode.node.d.ts} +1 -1
- package/dist/CamofoxBrowserNode.node.js +2563 -0
- package/dist/CamofoxBrowserToolNode.node.d.ts +4 -0
- package/dist/CamofoxBrowserToolNode.node.js +2564 -0
- package/dist/RemoteChromiumCDPAutomationAPIToolNode.node.d.ts +4 -0
- package/dist/RemoteChromiumCDPAutomationAPIToolNode.node.js +3787 -0
- package/dist/icon.png +0 -0
- package/package.json +5 -4
- package/dist/GofileAPINode.node.js +0 -864
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# n8n-nodes-test-node
|
|
2
2
|
|
|
3
|
-
Auto-generated n8n community node for the **
|
|
3
|
+
Auto-generated n8n community node for the **camofox-browser** API (spec version 1.16.0), built from its OpenAPI document.
|
|
4
4
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
@@ -14,9 +14,18 @@ npm install n8n-nodes-test-node
|
|
|
14
14
|
|
|
15
15
|
## What was generated
|
|
16
16
|
|
|
17
|
-
-
|
|
18
|
-
-
|
|
19
|
-
-
|
|
17
|
+
- Node type(s) in this package: **camofoxBrowser**, **camofoxBrowserTool** (AI Agent tool).
|
|
18
|
+
- 8 resource(s), 40 operation(s) (identical parameter set on both the regular node and the tool node -- they share the same credential and routing, differing only in identity and how they present themselves).
|
|
19
|
+
- Credential type **camofoxBrowserApi**, with an editable **Base URL** field, plus: API Key / Bearer token field(s) per the spec's security scheme.
|
|
20
|
+
- Default Base URL: `http://localhost:9377` (override it in the credential's "Base URL" field to point at a different environment)
|
|
21
|
+
|
|
22
|
+
## Using the AI Agent tool node
|
|
23
|
+
|
|
24
|
+
This package includes a node with `usableAsTool: true` set, so it can be attached directly to an n8n **AI Agent** node's tool list.
|
|
25
|
+
|
|
26
|
+
**This requires the n8n instance itself to allow it** -- community-node tools are opt-in at the instance level. Set the environment variable `N8N_COMMUNITY_PACKAGES_ALLOW_TOOL_USAGE=true` on the n8n server (not on this package), then restart n8n, before the tool node will show up as available to an Agent. This also requires a reasonably recent n8n version (the AI Agent / LangChain tool-node support is a relatively recent addition to n8n).
|
|
27
|
+
|
|
28
|
+
Once installed and enabled, add an **AI Agent** node to your workflow, and this tool will be selectable in its tools list, using the same operations and fields as the regular node -- an Agent can choose the resource/operation and fill in parameters itself.
|
|
20
29
|
|
|
21
30
|
## Limitations
|
|
22
31
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, INodeProperties } from 'n8n-workflow';
|
|
2
|
-
export declare class
|
|
2
|
+
export declare class CamofoxBrowserApi implements ICredentialType {
|
|
3
3
|
name: string;
|
|
4
4
|
displayName: string;
|
|
5
5
|
documentationUrl: string;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
class
|
|
3
|
+
exports.CamofoxBrowserApi = void 0;
|
|
4
|
+
class CamofoxBrowserApi {
|
|
5
5
|
constructor() {
|
|
6
|
-
this.name = '
|
|
7
|
-
this.displayName = '
|
|
6
|
+
this.name = 'camofoxBrowserApi';
|
|
7
|
+
this.displayName = 'camofox-browser API';
|
|
8
8
|
this.documentationUrl = '';
|
|
9
9
|
this.properties = [
|
|
10
10
|
{
|
|
11
11
|
displayName: 'Base URL',
|
|
12
12
|
name: 'baseUrl',
|
|
13
13
|
type: 'string',
|
|
14
|
-
default: '
|
|
14
|
+
default: 'http://localhost:9377',
|
|
15
15
|
required: true,
|
|
16
16
|
description: 'Base URL every request is sent to. Change this to point the node at a different environment (staging, self-hosted, etc.).',
|
|
17
17
|
},
|
|
@@ -36,10 +36,10 @@ class GofileAPIApi {
|
|
|
36
36
|
this.test = {
|
|
37
37
|
request: {
|
|
38
38
|
baseURL: '={{$credentials.baseUrl}}',
|
|
39
|
-
url: '/
|
|
39
|
+
url: '/health',
|
|
40
40
|
method: 'GET',
|
|
41
41
|
},
|
|
42
42
|
};
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
|
-
exports.
|
|
45
|
+
exports.CamofoxBrowserApi = CamofoxBrowserApi;
|