n8n-nodes-daytona-tool 0.1.0 → 0.1.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.
- package/dist/index.js +5 -5
- package/dist/nodes/Daytona/CreateSandbox.node.d.ts +1 -1
- package/dist/nodes/Daytona/CreateSandbox.node.js +4 -3
- package/dist/nodes/Daytona/DisposeSandbox.node.d.ts +1 -1
- package/dist/nodes/Daytona/DisposeSandbox.node.js +4 -3
- package/dist/nodes/Daytona/RunCode.node.d.ts +1 -1
- package/dist/nodes/Daytona/RunCode.node.js +4 -3
- package/dist/nodes/Daytona/StartSandbox.node.d.ts +1 -1
- package/dist/nodes/Daytona/StartSandbox.node.js +4 -3
- package/dist/nodes/Daytona/StopSandbox.node.d.ts +1 -1
- package/dist/nodes/Daytona/StopSandbox.node.js +4 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9,9 +9,9 @@ const StartSandbox_node_1 = require("./nodes/Daytona/StartSandbox.node");
|
|
|
9
9
|
const StopSandbox_node_1 = require("./nodes/Daytona/StopSandbox.node");
|
|
10
10
|
exports.credentials = [new DaytonaApi_credentials_1.DaytonaApi()];
|
|
11
11
|
exports.nodes = [
|
|
12
|
-
new CreateSandbox_node_1.
|
|
13
|
-
new RunCode_node_1.
|
|
14
|
-
new DisposeSandbox_node_1.
|
|
15
|
-
new StartSandbox_node_1.
|
|
16
|
-
new StopSandbox_node_1.
|
|
12
|
+
new CreateSandbox_node_1.CreateSandbox(),
|
|
13
|
+
new RunCode_node_1.RunCode(),
|
|
14
|
+
new DisposeSandbox_node_1.DisposeSandbox(),
|
|
15
|
+
new StartSandbox_node_1.StartSandbox(),
|
|
16
|
+
new StopSandbox_node_1.StopSandbox(),
|
|
17
17
|
];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { IExecuteFunctions, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow';
|
|
2
|
-
export declare class
|
|
2
|
+
export declare class CreateSandbox implements INodeType {
|
|
3
3
|
description: INodeTypeDescription;
|
|
4
4
|
execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
|
|
5
5
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.CreateSandbox = void 0;
|
|
4
4
|
const daytonaClient_1 = require("../../lib/daytonaClient");
|
|
5
|
-
class
|
|
5
|
+
class CreateSandbox {
|
|
6
6
|
constructor() {
|
|
7
7
|
this.description = {
|
|
8
8
|
displayName: 'Daytona Create Sandbox',
|
|
@@ -15,6 +15,7 @@ class DaytonaCreateSandbox {
|
|
|
15
15
|
},
|
|
16
16
|
inputs: ['main'],
|
|
17
17
|
outputs: ['main'],
|
|
18
|
+
usableAsTool: true,
|
|
18
19
|
credentials: [
|
|
19
20
|
{
|
|
20
21
|
name: 'daytonaApi',
|
|
@@ -78,4 +79,4 @@ class DaytonaCreateSandbox {
|
|
|
78
79
|
return [returnData];
|
|
79
80
|
}
|
|
80
81
|
}
|
|
81
|
-
exports.
|
|
82
|
+
exports.CreateSandbox = CreateSandbox;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { IExecuteFunctions, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow';
|
|
2
|
-
export declare class
|
|
2
|
+
export declare class DisposeSandbox implements INodeType {
|
|
3
3
|
description: INodeTypeDescription;
|
|
4
4
|
execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
|
|
5
5
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.DisposeSandbox = void 0;
|
|
4
4
|
const daytonaClient_1 = require("../../lib/daytonaClient");
|
|
5
|
-
class
|
|
5
|
+
class DisposeSandbox {
|
|
6
6
|
constructor() {
|
|
7
7
|
this.description = {
|
|
8
8
|
displayName: 'Daytona Dispose Sandbox',
|
|
@@ -15,6 +15,7 @@ class DaytonaDisposeSandbox {
|
|
|
15
15
|
},
|
|
16
16
|
inputs: ['main'],
|
|
17
17
|
outputs: ['main'],
|
|
18
|
+
usableAsTool: true,
|
|
18
19
|
credentials: [
|
|
19
20
|
{
|
|
20
21
|
name: 'daytonaApi',
|
|
@@ -55,4 +56,4 @@ class DaytonaDisposeSandbox {
|
|
|
55
56
|
return [returnData];
|
|
56
57
|
}
|
|
57
58
|
}
|
|
58
|
-
exports.
|
|
59
|
+
exports.DisposeSandbox = DisposeSandbox;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { IExecuteFunctions, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow';
|
|
2
|
-
export declare class
|
|
2
|
+
export declare class RunCode implements INodeType {
|
|
3
3
|
description: INodeTypeDescription;
|
|
4
4
|
execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
|
|
5
5
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.RunCode = void 0;
|
|
4
4
|
const daytonaClient_1 = require("../../lib/daytonaClient");
|
|
5
|
-
class
|
|
5
|
+
class RunCode {
|
|
6
6
|
constructor() {
|
|
7
7
|
this.description = {
|
|
8
8
|
displayName: 'Daytona Run Code',
|
|
@@ -15,6 +15,7 @@ class DaytonaRunCode {
|
|
|
15
15
|
},
|
|
16
16
|
inputs: ['main'],
|
|
17
17
|
outputs: ['main'],
|
|
18
|
+
usableAsTool: true,
|
|
18
19
|
credentials: [
|
|
19
20
|
{
|
|
20
21
|
name: 'daytonaApi',
|
|
@@ -79,4 +80,4 @@ class DaytonaRunCode {
|
|
|
79
80
|
return [returnData];
|
|
80
81
|
}
|
|
81
82
|
}
|
|
82
|
-
exports.
|
|
83
|
+
exports.RunCode = RunCode;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { IExecuteFunctions, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow';
|
|
2
|
-
export declare class
|
|
2
|
+
export declare class StartSandbox implements INodeType {
|
|
3
3
|
description: INodeTypeDescription;
|
|
4
4
|
execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
|
|
5
5
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.StartSandbox = void 0;
|
|
4
4
|
const daytonaClient_1 = require("../../lib/daytonaClient");
|
|
5
|
-
class
|
|
5
|
+
class StartSandbox {
|
|
6
6
|
constructor() {
|
|
7
7
|
this.description = {
|
|
8
8
|
displayName: 'Daytona Start Sandbox',
|
|
@@ -15,6 +15,7 @@ class DaytonaStartSandbox {
|
|
|
15
15
|
},
|
|
16
16
|
inputs: ['main'],
|
|
17
17
|
outputs: ['main'],
|
|
18
|
+
usableAsTool: true,
|
|
18
19
|
credentials: [
|
|
19
20
|
{
|
|
20
21
|
name: 'daytonaApi',
|
|
@@ -78,4 +79,4 @@ class DaytonaStartSandbox {
|
|
|
78
79
|
return [returnData];
|
|
79
80
|
}
|
|
80
81
|
}
|
|
81
|
-
exports.
|
|
82
|
+
exports.StartSandbox = StartSandbox;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { IExecuteFunctions, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow';
|
|
2
|
-
export declare class
|
|
2
|
+
export declare class StopSandbox implements INodeType {
|
|
3
3
|
description: INodeTypeDescription;
|
|
4
4
|
execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
|
|
5
5
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.StopSandbox = void 0;
|
|
4
4
|
const daytonaClient_1 = require("../../lib/daytonaClient");
|
|
5
|
-
class
|
|
5
|
+
class StopSandbox {
|
|
6
6
|
constructor() {
|
|
7
7
|
this.description = {
|
|
8
8
|
displayName: 'Daytona Stop Sandbox',
|
|
@@ -15,6 +15,7 @@ class DaytonaStopSandbox {
|
|
|
15
15
|
},
|
|
16
16
|
inputs: ['main'],
|
|
17
17
|
outputs: ['main'],
|
|
18
|
+
usableAsTool: true,
|
|
18
19
|
credentials: [
|
|
19
20
|
{
|
|
20
21
|
name: 'daytonaApi',
|
|
@@ -78,4 +79,4 @@ class DaytonaStopSandbox {
|
|
|
78
79
|
return [returnData];
|
|
79
80
|
}
|
|
80
81
|
}
|
|
81
|
-
exports.
|
|
82
|
+
exports.StopSandbox = StopSandbox;
|