@ctera/n8n-nodes-ctera-ai 0.4.1 → 0.6.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/LICENSE +24 -24
- package/README.md +68 -68
- package/dist/nodes/CteraAi/CteraAi.node.js +11 -0
- package/dist/nodes/CteraAi/ctera.svg +13 -13
- package/dist/nodes/CteraFilesystem/ctera.svg +13 -13
- package/index.js +10 -10
- package/package.json +71 -71
- package/dist/credentials/CteraFilesystemApi.credentials.d.ts +0 -7
- package/dist/credentials/CteraFilesystemApi.credentials.js +0 -40
package/LICENSE
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2025 CTERA Networks
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 CTERA Networks
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
package/README.md
CHANGED
|
@@ -1,68 +1,68 @@
|
|
|
1
|
-
# n8n-nodes-ctera
|
|
2
|
-
|
|
3
|
-
n8n community nodes for CTERA integration - filesystem operations and AI-powered data intelligence.
|
|
4
|
-
|
|
5
|
-
## Installation
|
|
6
|
-
|
|
7
|
-
```bash
|
|
8
|
-
cd ~/.n8n/nodes
|
|
9
|
-
npm install @ctera/n8n-nodes-ctera
|
|
10
|
-
```
|
|
11
|
-
|
|
12
|
-
Restart n8n after installation.
|
|
13
|
-
|
|
14
|
-
## Nodes
|
|
15
|
-
|
|
16
|
-
### CTERA Filesystem
|
|
17
|
-
|
|
18
|
-
Perform storage operations on CTERA Portal via MCP:
|
|
19
|
-
- **File**: Read, write, copy, move, rename, delete
|
|
20
|
-
- **Directory**: List, create, delete, walk, recover
|
|
21
|
-
- **Links**: Public sharing links and permalinks
|
|
22
|
-
- **Versions**: File version history
|
|
23
|
-
|
|
24
|
-
Supports OAuth2 (Entra ID / Azure AD) authentication.
|
|
25
|
-
|
|
26
|
-
**[Detailed Documentation →](nodes/CteraFilesystem/README.md)**
|
|
27
|
-
|
|
28
|
-
### CTERA Data Intelligence
|
|
29
|
-
|
|
30
|
-
Interact with CTERA AI experts for semantic search and knowledge retrieval:
|
|
31
|
-
- **List Experts**: Discover available knowledge bases
|
|
32
|
-
- **Semantic Search**: Retrieve text chunks for RAG workflows
|
|
33
|
-
- **File Search**: Search files with metadata filters
|
|
34
|
-
- **Chat**: Get AI-generated answers
|
|
35
|
-
|
|
36
|
-
**[Detailed Documentation →](nodes/CteraAi/README.md)**
|
|
37
|
-
|
|
38
|
-
## Credentials
|
|
39
|
-
|
|
40
|
-
| Credential | Used By | Description |
|
|
41
|
-
|------------|---------|-------------|
|
|
42
|
-
| CTERA Portal OAuth2 API | Filesystem | Entra ID / Azure AD SSO authentication |
|
|
43
|
-
| CTERA AI MCP API | Data Intelligence | MCP bearer token authentication |
|
|
44
|
-
|
|
45
|
-
## Development
|
|
46
|
-
|
|
47
|
-
```bash
|
|
48
|
-
# Install dependencies
|
|
49
|
-
npm install
|
|
50
|
-
|
|
51
|
-
# Build
|
|
52
|
-
npm run build
|
|
53
|
-
|
|
54
|
-
# Run tests
|
|
55
|
-
npm test
|
|
56
|
-
|
|
57
|
-
# Link for local development
|
|
58
|
-
npm link
|
|
59
|
-
cd ~/.n8n/nodes && npm link @ctera/n8n-nodes-ctera
|
|
60
|
-
```
|
|
61
|
-
|
|
62
|
-
## Publishing
|
|
63
|
-
|
|
64
|
-
See [PUBLISH.md](PUBLISH.md) for npm publishing guidelines.
|
|
65
|
-
|
|
66
|
-
## License
|
|
67
|
-
|
|
68
|
-
[MIT](LICENSE)
|
|
1
|
+
# n8n-nodes-ctera
|
|
2
|
+
|
|
3
|
+
n8n community nodes for CTERA integration - filesystem operations and AI-powered data intelligence.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
cd ~/.n8n/nodes
|
|
9
|
+
npm install @ctera/n8n-nodes-ctera
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
Restart n8n after installation.
|
|
13
|
+
|
|
14
|
+
## Nodes
|
|
15
|
+
|
|
16
|
+
### CTERA Filesystem
|
|
17
|
+
|
|
18
|
+
Perform storage operations on CTERA Portal via MCP:
|
|
19
|
+
- **File**: Read, write, copy, move, rename, delete
|
|
20
|
+
- **Directory**: List, create, delete, walk, recover
|
|
21
|
+
- **Links**: Public sharing links and permalinks
|
|
22
|
+
- **Versions**: File version history
|
|
23
|
+
|
|
24
|
+
Supports OAuth2 (Entra ID / Azure AD) authentication.
|
|
25
|
+
|
|
26
|
+
**[Detailed Documentation →](nodes/CteraFilesystem/README.md)**
|
|
27
|
+
|
|
28
|
+
### CTERA Data Intelligence
|
|
29
|
+
|
|
30
|
+
Interact with CTERA AI experts for semantic search and knowledge retrieval:
|
|
31
|
+
- **List Experts**: Discover available knowledge bases
|
|
32
|
+
- **Semantic Search**: Retrieve text chunks for RAG workflows
|
|
33
|
+
- **File Search**: Search files with metadata filters
|
|
34
|
+
- **Chat**: Get AI-generated answers
|
|
35
|
+
|
|
36
|
+
**[Detailed Documentation →](nodes/CteraAi/README.md)**
|
|
37
|
+
|
|
38
|
+
## Credentials
|
|
39
|
+
|
|
40
|
+
| Credential | Used By | Description |
|
|
41
|
+
|------------|---------|-------------|
|
|
42
|
+
| CTERA Portal OAuth2 API | Filesystem | Entra ID / Azure AD SSO authentication |
|
|
43
|
+
| CTERA AI MCP API | Data Intelligence | MCP bearer token authentication |
|
|
44
|
+
|
|
45
|
+
## Development
|
|
46
|
+
|
|
47
|
+
```bash
|
|
48
|
+
# Install dependencies
|
|
49
|
+
npm install
|
|
50
|
+
|
|
51
|
+
# Build
|
|
52
|
+
npm run build
|
|
53
|
+
|
|
54
|
+
# Run tests
|
|
55
|
+
npm test
|
|
56
|
+
|
|
57
|
+
# Link for local development
|
|
58
|
+
npm link
|
|
59
|
+
cd ~/.n8n/nodes && npm link @ctera/n8n-nodes-ctera
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
## Publishing
|
|
63
|
+
|
|
64
|
+
See [PUBLISH.md](PUBLISH.md) for npm publishing guidelines.
|
|
65
|
+
|
|
66
|
+
## License
|
|
67
|
+
|
|
68
|
+
[MIT](LICENSE)
|
|
@@ -207,6 +207,14 @@ class CteraAi {
|
|
|
207
207
|
default: false,
|
|
208
208
|
description: 'Whether to return full markdown body per file',
|
|
209
209
|
},
|
|
210
|
+
{
|
|
211
|
+
displayName: 'Path Prefix',
|
|
212
|
+
name: 'path_prefix',
|
|
213
|
+
type: 'string',
|
|
214
|
+
default: '',
|
|
215
|
+
placeholder: '/Documents/Engineering',
|
|
216
|
+
description: 'Filter results to files within this directory path. Matches files at the exact path and all subfolders. Example: "/Documents/2024" matches both "/Documents/2024/report.pdf" and "/Documents/2024/Q1/summary.pdf"',
|
|
217
|
+
},
|
|
210
218
|
],
|
|
211
219
|
},
|
|
212
220
|
],
|
|
@@ -270,6 +278,9 @@ class CteraAi {
|
|
|
270
278
|
if (fileSearchOptions.include_markdown !== undefined) {
|
|
271
279
|
params.include_markdown = fileSearchOptions.include_markdown;
|
|
272
280
|
}
|
|
281
|
+
if (fileSearchOptions.path_prefix) {
|
|
282
|
+
params.path_prefix = fileSearchOptions.path_prefix;
|
|
283
|
+
}
|
|
273
284
|
}
|
|
274
285
|
else if (operation === 'chat') {
|
|
275
286
|
toolName = 'expert_chat';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<g clip-path="url(#ub91fxv4ea)" transform="scale(1.15) translate(-1.8, -1.8)">
|
|
3
|
-
<path d="M20 0H4a4 4 0 0 0-4 4v16a4 4 0 0 0 4 4h16a4 4 0 0 0 4-4V4a4 4 0 0 0-4-4z" fill="#4F5CE5"/>
|
|
4
|
-
<path d="M20.373 15.297a8.941 8.941 0 0 1-2.01 3.066A8.98 8.98 0 0 1 12 21a8.883 8.883 0 0 1-3.297-.627 8.942 8.942 0 0 1-3.066-2.01A8.981 8.981 0 0 1 3 12c0-1.163.22-2.277.627-3.297a8.943 8.943 0 0 1 2.01-3.066A8.982 8.982 0 0 1 12 3c1.163 0 2.277.22 3.297.627a8.943 8.943 0 0 1 3.066 2.01l-1.65 1.65A6.668 6.668 0 0 0 12 5.333a6.663 6.663 0 0 0-4.713 1.953A6.668 6.668 0 0 0 5.333 12a6.664 6.664 0 0 0 1.953 4.713A6.668 6.668 0 0 0 12 18.667a6.662 6.662 0 0 0 4.713-1.953 6.667 6.667 0 0 0 1.49-2.27l2.17.853z" fill="#fff" stroke="#4F5CE5" stroke-width=".667" stroke-miterlimit="10"/>
|
|
5
|
-
<path d="M18.203 14.443a6.668 6.668 0 0 1-3.543 3.67 6.608 6.608 0 0 1-2.66.554 6.669 6.669 0 0 1-6.113-4.007A6.607 6.607 0 0 1 5.333 12 6.668 6.668 0 0 1 9.34 5.887 6.607 6.607 0 0 1 12 5.333a6.667 6.667 0 0 1 4.713 1.953L14.71 9.29A3.818 3.818 0 0 0 12 8.167c-.543 0-1.06.113-1.53.316A3.85 3.85 0 0 0 8.167 12c0 .543.113 1.06.316 1.53a3.847 3.847 0 0 0 5.047 1.987 3.848 3.848 0 0 0 2.037-2.114l2.636 1.04z" fill="#fff" stroke="#4F5CE5" stroke-width=".667" stroke-miterlimit="10"/>
|
|
6
|
-
<path d="M13.874 12c0 .13-.08.247-.204.292l-1.006.372-.37 1.007a.31.31 0 0 1-.584 0l-.373-1.007-1.007-.371a.31.31 0 0 1 0-.583l1.007-.373.37-1.008a.31.31 0 0 1 .584 0l.373 1.008 1.007.37a.308.308 0 0 1 .203.293z" fill="#fff"/>
|
|
7
|
-
</g>
|
|
8
|
-
<defs>
|
|
9
|
-
<clipPath id="ub91fxv4ea">
|
|
10
|
-
<path fill="#fff" d="M0 0h24v24H0z"/>
|
|
11
|
-
</clipPath>
|
|
12
|
-
</defs>
|
|
13
|
-
</svg>
|
|
1
|
+
<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g clip-path="url(#ub91fxv4ea)" transform="scale(1.15) translate(-1.8, -1.8)">
|
|
3
|
+
<path d="M20 0H4a4 4 0 0 0-4 4v16a4 4 0 0 0 4 4h16a4 4 0 0 0 4-4V4a4 4 0 0 0-4-4z" fill="#4F5CE5"/>
|
|
4
|
+
<path d="M20.373 15.297a8.941 8.941 0 0 1-2.01 3.066A8.98 8.98 0 0 1 12 21a8.883 8.883 0 0 1-3.297-.627 8.942 8.942 0 0 1-3.066-2.01A8.981 8.981 0 0 1 3 12c0-1.163.22-2.277.627-3.297a8.943 8.943 0 0 1 2.01-3.066A8.982 8.982 0 0 1 12 3c1.163 0 2.277.22 3.297.627a8.943 8.943 0 0 1 3.066 2.01l-1.65 1.65A6.668 6.668 0 0 0 12 5.333a6.663 6.663 0 0 0-4.713 1.953A6.668 6.668 0 0 0 5.333 12a6.664 6.664 0 0 0 1.953 4.713A6.668 6.668 0 0 0 12 18.667a6.662 6.662 0 0 0 4.713-1.953 6.667 6.667 0 0 0 1.49-2.27l2.17.853z" fill="#fff" stroke="#4F5CE5" stroke-width=".667" stroke-miterlimit="10"/>
|
|
5
|
+
<path d="M18.203 14.443a6.668 6.668 0 0 1-3.543 3.67 6.608 6.608 0 0 1-2.66.554 6.669 6.669 0 0 1-6.113-4.007A6.607 6.607 0 0 1 5.333 12 6.668 6.668 0 0 1 9.34 5.887 6.607 6.607 0 0 1 12 5.333a6.667 6.667 0 0 1 4.713 1.953L14.71 9.29A3.818 3.818 0 0 0 12 8.167c-.543 0-1.06.113-1.53.316A3.85 3.85 0 0 0 8.167 12c0 .543.113 1.06.316 1.53a3.847 3.847 0 0 0 5.047 1.987 3.848 3.848 0 0 0 2.037-2.114l2.636 1.04z" fill="#fff" stroke="#4F5CE5" stroke-width=".667" stroke-miterlimit="10"/>
|
|
6
|
+
<path d="M13.874 12c0 .13-.08.247-.204.292l-1.006.372-.37 1.007a.31.31 0 0 1-.584 0l-.373-1.007-1.007-.371a.31.31 0 0 1 0-.583l1.007-.373.37-1.008a.31.31 0 0 1 .584 0l.373 1.008 1.007.37a.308.308 0 0 1 .203.293z" fill="#fff"/>
|
|
7
|
+
</g>
|
|
8
|
+
<defs>
|
|
9
|
+
<clipPath id="ub91fxv4ea">
|
|
10
|
+
<path fill="#fff" d="M0 0h24v24H0z"/>
|
|
11
|
+
</clipPath>
|
|
12
|
+
</defs>
|
|
13
|
+
</svg>
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<g clip-path="url(#ub91fxv4ea)" transform="scale(1.15) translate(-1.8, -1.8)">
|
|
3
|
-
<path d="M20 0H4a4 4 0 0 0-4 4v16a4 4 0 0 0 4 4h16a4 4 0 0 0 4-4V4a4 4 0 0 0-4-4z" fill="#4F5CE5"/>
|
|
4
|
-
<path d="M20.373 15.297a8.941 8.941 0 0 1-2.01 3.066A8.98 8.98 0 0 1 12 21a8.883 8.883 0 0 1-3.297-.627 8.942 8.942 0 0 1-3.066-2.01A8.981 8.981 0 0 1 3 12c0-1.163.22-2.277.627-3.297a8.943 8.943 0 0 1 2.01-3.066A8.982 8.982 0 0 1 12 3c1.163 0 2.277.22 3.297.627a8.943 8.943 0 0 1 3.066 2.01l-1.65 1.65A6.668 6.668 0 0 0 12 5.333a6.663 6.663 0 0 0-4.713 1.953A6.668 6.668 0 0 0 5.333 12a6.664 6.664 0 0 0 1.953 4.713A6.668 6.668 0 0 0 12 18.667a6.662 6.662 0 0 0 4.713-1.953 6.667 6.667 0 0 0 1.49-2.27l2.17.853z" fill="#fff" stroke="#4F5CE5" stroke-width=".667" stroke-miterlimit="10"/>
|
|
5
|
-
<path d="M18.203 14.443a6.668 6.668 0 0 1-3.543 3.67 6.608 6.608 0 0 1-2.66.554 6.669 6.669 0 0 1-6.113-4.007A6.607 6.607 0 0 1 5.333 12 6.668 6.668 0 0 1 9.34 5.887 6.607 6.607 0 0 1 12 5.333a6.667 6.667 0 0 1 4.713 1.953L14.71 9.29A3.818 3.818 0 0 0 12 8.167c-.543 0-1.06.113-1.53.316A3.85 3.85 0 0 0 8.167 12c0 .543.113 1.06.316 1.53a3.847 3.847 0 0 0 5.047 1.987 3.848 3.848 0 0 0 2.037-2.114l2.636 1.04z" fill="#fff" stroke="#4F5CE5" stroke-width=".667" stroke-miterlimit="10"/>
|
|
6
|
-
<path d="M13.874 12c0 .13-.08.247-.204.292l-1.006.372-.37 1.007a.31.31 0 0 1-.584 0l-.373-1.007-1.007-.371a.31.31 0 0 1 0-.583l1.007-.373.37-1.008a.31.31 0 0 1 .584 0l.373 1.008 1.007.37a.308.308 0 0 1 .203.293z" fill="#fff"/>
|
|
7
|
-
</g>
|
|
8
|
-
<defs>
|
|
9
|
-
<clipPath id="ub91fxv4ea">
|
|
10
|
-
<path fill="#fff" d="M0 0h24v24H0z"/>
|
|
11
|
-
</clipPath>
|
|
12
|
-
</defs>
|
|
13
|
-
</svg>
|
|
1
|
+
<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g clip-path="url(#ub91fxv4ea)" transform="scale(1.15) translate(-1.8, -1.8)">
|
|
3
|
+
<path d="M20 0H4a4 4 0 0 0-4 4v16a4 4 0 0 0 4 4h16a4 4 0 0 0 4-4V4a4 4 0 0 0-4-4z" fill="#4F5CE5"/>
|
|
4
|
+
<path d="M20.373 15.297a8.941 8.941 0 0 1-2.01 3.066A8.98 8.98 0 0 1 12 21a8.883 8.883 0 0 1-3.297-.627 8.942 8.942 0 0 1-3.066-2.01A8.981 8.981 0 0 1 3 12c0-1.163.22-2.277.627-3.297a8.943 8.943 0 0 1 2.01-3.066A8.982 8.982 0 0 1 12 3c1.163 0 2.277.22 3.297.627a8.943 8.943 0 0 1 3.066 2.01l-1.65 1.65A6.668 6.668 0 0 0 12 5.333a6.663 6.663 0 0 0-4.713 1.953A6.668 6.668 0 0 0 5.333 12a6.664 6.664 0 0 0 1.953 4.713A6.668 6.668 0 0 0 12 18.667a6.662 6.662 0 0 0 4.713-1.953 6.667 6.667 0 0 0 1.49-2.27l2.17.853z" fill="#fff" stroke="#4F5CE5" stroke-width=".667" stroke-miterlimit="10"/>
|
|
5
|
+
<path d="M18.203 14.443a6.668 6.668 0 0 1-3.543 3.67 6.608 6.608 0 0 1-2.66.554 6.669 6.669 0 0 1-6.113-4.007A6.607 6.607 0 0 1 5.333 12 6.668 6.668 0 0 1 9.34 5.887 6.607 6.607 0 0 1 12 5.333a6.667 6.667 0 0 1 4.713 1.953L14.71 9.29A3.818 3.818 0 0 0 12 8.167c-.543 0-1.06.113-1.53.316A3.85 3.85 0 0 0 8.167 12c0 .543.113 1.06.316 1.53a3.847 3.847 0 0 0 5.047 1.987 3.848 3.848 0 0 0 2.037-2.114l2.636 1.04z" fill="#fff" stroke="#4F5CE5" stroke-width=".667" stroke-miterlimit="10"/>
|
|
6
|
+
<path d="M13.874 12c0 .13-.08.247-.204.292l-1.006.372-.37 1.007a.31.31 0 0 1-.584 0l-.373-1.007-1.007-.371a.31.31 0 0 1 0-.583l1.007-.373.37-1.008a.31.31 0 0 1 .584 0l.373 1.008 1.007.37a.308.308 0 0 1 .203.293z" fill="#fff"/>
|
|
7
|
+
</g>
|
|
8
|
+
<defs>
|
|
9
|
+
<clipPath id="ub91fxv4ea">
|
|
10
|
+
<path fill="#fff" d="M0 0h24v24H0z"/>
|
|
11
|
+
</clipPath>
|
|
12
|
+
</defs>
|
|
13
|
+
</svg>
|
package/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
...require('./dist/nodes/CteraAi/CteraAi.node'),
|
|
3
|
-
...require('./dist/credentials/CteraAiMcpApi.credentials'),
|
|
4
|
-
};
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
module.exports = {
|
|
2
|
+
...require('./dist/nodes/CteraAi/CteraAi.node'),
|
|
3
|
+
...require('./dist/credentials/CteraAiMcpApi.credentials'),
|
|
4
|
+
};
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
package/package.json
CHANGED
|
@@ -1,71 +1,71 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@ctera/n8n-nodes-ctera-ai",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "n8n community nodes for CTERA Portal - includes AI/RAG integration and filesystem operations via MCP",
|
|
5
|
-
"keywords": [
|
|
6
|
-
"n8n-community-node-package",
|
|
7
|
-
"n8n",
|
|
8
|
-
"ctera",
|
|
9
|
-
"ai",
|
|
10
|
-
"mcp",
|
|
11
|
-
"rag",
|
|
12
|
-
"filesystem",
|
|
13
|
-
"storage",
|
|
14
|
-
"file-management"
|
|
15
|
-
],
|
|
16
|
-
"license": "MIT",
|
|
17
|
-
"homepage": "https://github.com/ctera/ctera-n8n-nodes",
|
|
18
|
-
"author": {
|
|
19
|
-
"name": "CTERA Networks",
|
|
20
|
-
"email": "support@ctera.com"
|
|
21
|
-
},
|
|
22
|
-
"repository": {
|
|
23
|
-
"type": "git",
|
|
24
|
-
"url": "https://github.com/ctera/ctera-n8n-nodes.git"
|
|
25
|
-
},
|
|
26
|
-
"publishConfig": {
|
|
27
|
-
"access": "public"
|
|
28
|
-
},
|
|
29
|
-
"main": "index.js",
|
|
30
|
-
"scripts": {
|
|
31
|
-
"build": "tsc && gulp build:icons",
|
|
32
|
-
"dev": "tsc --watch",
|
|
33
|
-
"format": "prettier nodes credentials --write",
|
|
34
|
-
"lint": "eslint \"nodes/**/*.ts\" \"credentials/**/*.ts\" package.json",
|
|
35
|
-
"lintfix": "eslint \"nodes/**/*.ts\" \"credentials/**/*.ts\" package.json --fix",
|
|
36
|
-
"prepublishOnly": "npm run build && npm run lint",
|
|
37
|
-
"test": "jest",
|
|
38
|
-
"test:watch": "jest --watch",
|
|
39
|
-
"test:coverage": "jest --coverage"
|
|
40
|
-
},
|
|
41
|
-
"files": [
|
|
42
|
-
"dist"
|
|
43
|
-
],
|
|
44
|
-
"n8n": {
|
|
45
|
-
"n8nNodesApiVersion": 1,
|
|
46
|
-
"credentials": [
|
|
47
|
-
"dist/credentials/CteraAiMcpApi.credentials.js",
|
|
48
|
-
"dist/credentials/CteraPortalOAuth2Api.credentials.js"
|
|
49
|
-
],
|
|
50
|
-
"nodes": [
|
|
51
|
-
"dist/nodes/CteraAi/CteraAi.node.js",
|
|
52
|
-
"dist/nodes/CteraFilesystem/CteraFilesystem.node.js"
|
|
53
|
-
]
|
|
54
|
-
},
|
|
55
|
-
"devDependencies": {
|
|
56
|
-
"@types/jest": "^29.5.12",
|
|
57
|
-
"@typescript-eslint/eslint-plugin": "^5.62.0",
|
|
58
|
-
"@typescript-eslint/parser": "^5.59.0",
|
|
59
|
-
"eslint": "^8.40.0",
|
|
60
|
-
"eslint-plugin-n8n-nodes-base": "^1.12.0",
|
|
61
|
-
"gulp": "^5.0.1",
|
|
62
|
-
"jest": "^29.7.0",
|
|
63
|
-
"n8n-workflow": "^1.0.0",
|
|
64
|
-
"prettier": "^2.8.8",
|
|
65
|
-
"ts-jest": "^29.1.2",
|
|
66
|
-
"typescript": "^5.0.4"
|
|
67
|
-
},
|
|
68
|
-
"peerDependencies": {
|
|
69
|
-
"n8n-workflow": "^1.0.0"
|
|
70
|
-
}
|
|
71
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@ctera/n8n-nodes-ctera-ai",
|
|
3
|
+
"version": "0.6.0",
|
|
4
|
+
"description": "n8n community nodes for CTERA Portal - includes AI/RAG integration and filesystem operations via MCP",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"n8n-community-node-package",
|
|
7
|
+
"n8n",
|
|
8
|
+
"ctera",
|
|
9
|
+
"ai",
|
|
10
|
+
"mcp",
|
|
11
|
+
"rag",
|
|
12
|
+
"filesystem",
|
|
13
|
+
"storage",
|
|
14
|
+
"file-management"
|
|
15
|
+
],
|
|
16
|
+
"license": "MIT",
|
|
17
|
+
"homepage": "https://github.com/ctera/ctera-n8n-nodes",
|
|
18
|
+
"author": {
|
|
19
|
+
"name": "CTERA Networks",
|
|
20
|
+
"email": "support@ctera.com"
|
|
21
|
+
},
|
|
22
|
+
"repository": {
|
|
23
|
+
"type": "git",
|
|
24
|
+
"url": "https://github.com/ctera/ctera-n8n-nodes.git"
|
|
25
|
+
},
|
|
26
|
+
"publishConfig": {
|
|
27
|
+
"access": "public"
|
|
28
|
+
},
|
|
29
|
+
"main": "index.js",
|
|
30
|
+
"scripts": {
|
|
31
|
+
"build": "tsc && gulp build:icons",
|
|
32
|
+
"dev": "tsc --watch",
|
|
33
|
+
"format": "prettier nodes credentials --write",
|
|
34
|
+
"lint": "eslint \"nodes/**/*.ts\" \"credentials/**/*.ts\" package.json",
|
|
35
|
+
"lintfix": "eslint \"nodes/**/*.ts\" \"credentials/**/*.ts\" package.json --fix",
|
|
36
|
+
"prepublishOnly": "npm run build && npm run lint",
|
|
37
|
+
"test": "jest",
|
|
38
|
+
"test:watch": "jest --watch",
|
|
39
|
+
"test:coverage": "jest --coverage"
|
|
40
|
+
},
|
|
41
|
+
"files": [
|
|
42
|
+
"dist"
|
|
43
|
+
],
|
|
44
|
+
"n8n": {
|
|
45
|
+
"n8nNodesApiVersion": 1,
|
|
46
|
+
"credentials": [
|
|
47
|
+
"dist/credentials/CteraAiMcpApi.credentials.js",
|
|
48
|
+
"dist/credentials/CteraPortalOAuth2Api.credentials.js"
|
|
49
|
+
],
|
|
50
|
+
"nodes": [
|
|
51
|
+
"dist/nodes/CteraAi/CteraAi.node.js",
|
|
52
|
+
"dist/nodes/CteraFilesystem/CteraFilesystem.node.js"
|
|
53
|
+
]
|
|
54
|
+
},
|
|
55
|
+
"devDependencies": {
|
|
56
|
+
"@types/jest": "^29.5.12",
|
|
57
|
+
"@typescript-eslint/eslint-plugin": "^5.62.0",
|
|
58
|
+
"@typescript-eslint/parser": "^5.59.0",
|
|
59
|
+
"eslint": "^8.40.0",
|
|
60
|
+
"eslint-plugin-n8n-nodes-base": "^1.12.0",
|
|
61
|
+
"gulp": "^5.0.1",
|
|
62
|
+
"jest": "^29.7.0",
|
|
63
|
+
"n8n-workflow": "^1.0.0",
|
|
64
|
+
"prettier": "^2.8.8",
|
|
65
|
+
"ts-jest": "^29.1.2",
|
|
66
|
+
"typescript": "^5.0.4"
|
|
67
|
+
},
|
|
68
|
+
"peerDependencies": {
|
|
69
|
+
"n8n-workflow": "^1.0.0"
|
|
70
|
+
}
|
|
71
|
+
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CteraFilesystemApi = void 0;
|
|
4
|
-
class CteraFilesystemApi {
|
|
5
|
-
constructor() {
|
|
6
|
-
this.name = 'cteraFilesystemApi';
|
|
7
|
-
this.displayName = 'CTERA Filesystem API';
|
|
8
|
-
this.documentationUrl = 'https://github.com/ctera/ctera-n8n-nodes#readme';
|
|
9
|
-
this.properties = [
|
|
10
|
-
{
|
|
11
|
-
displayName: 'MCP Server URL',
|
|
12
|
-
name: 'serverUrl',
|
|
13
|
-
type: 'string',
|
|
14
|
-
default: '',
|
|
15
|
-
required: true,
|
|
16
|
-
placeholder: 'https://mcp.your-domain.com',
|
|
17
|
-
description: 'The base URL of your CTERA MCP server (e.g., https://mcp.example.com)',
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
displayName: 'Bearer Token (JWT)',
|
|
21
|
-
name: 'bearerToken',
|
|
22
|
-
type: 'string',
|
|
23
|
-
typeOptions: {
|
|
24
|
-
password: true,
|
|
25
|
-
},
|
|
26
|
-
default: '',
|
|
27
|
-
required: true,
|
|
28
|
-
description: 'Portal JWT token for authentication. Generate via Portal Settings → API Tokens, or using: curl -k "https://<portal>/api/tokens/generate?oid=<oid>&email=<email>"',
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
displayName: 'Ignore SSL Issues',
|
|
32
|
-
name: 'allowUnauthorizedCerts',
|
|
33
|
-
type: 'boolean',
|
|
34
|
-
default: false,
|
|
35
|
-
description: 'Whether to connect even if SSL certificate validation fails (use for self-signed certificates)',
|
|
36
|
-
},
|
|
37
|
-
];
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
exports.CteraFilesystemApi = CteraFilesystemApi;
|