@hexabot-ai/api 3.2.2-alpha.13 → 3.2.2-alpha.15
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/mcp/mcp-api.module.js +2 -2
- package/dist/mcp/mcp-api.module.js.map +1 -1
- package/dist/mcp/tools/catalog-mcp.tools.d.ts +63 -0
- package/dist/mcp/tools/catalog-mcp.tools.js +135 -0
- package/dist/mcp/tools/catalog-mcp.tools.js.map +1 -0
- package/dist/mcp/tools/cms-mcp.tools.d.ts +128 -0
- package/dist/mcp/tools/cms-mcp.tools.js +242 -0
- package/dist/mcp/tools/cms-mcp.tools.js.map +1 -0
- package/dist/mcp/tools/credential-mcp.tools.d.ts +19 -0
- package/dist/mcp/tools/credential-mcp.tools.js +82 -0
- package/dist/mcp/tools/credential-mcp.tools.js.map +1 -0
- package/dist/mcp/tools/hexabot-mcp-tool.base.d.ts +22 -0
- package/dist/mcp/tools/hexabot-mcp-tool.base.js +48 -0
- package/dist/mcp/tools/hexabot-mcp-tool.base.js.map +1 -0
- package/dist/mcp/tools/hexabot-mcp.schemas.d.ts +41 -0
- package/dist/mcp/tools/hexabot-mcp.schemas.js +36 -0
- package/dist/mcp/tools/hexabot-mcp.schemas.js.map +1 -0
- package/dist/mcp/tools/hexabot-mcp.tools.d.ts +1 -1199
- package/dist/mcp/tools/hexabot-mcp.tools.js +14 -953
- package/dist/mcp/tools/hexabot-mcp.tools.js.map +1 -1
- package/dist/mcp/tools/hexabot-mcp.utils.d.ts +1 -0
- package/dist/mcp/tools/hexabot-mcp.utils.js +9 -0
- package/dist/mcp/tools/hexabot-mcp.utils.js.map +1 -0
- package/dist/mcp/tools/index.d.ts +22 -0
- package/dist/mcp/tools/index.js +50 -0
- package/dist/mcp/tools/index.js.map +1 -0
- package/dist/mcp/tools/mcp-server-mcp.tools.d.ts +77 -0
- package/dist/mcp/tools/mcp-server-mcp.tools.js +130 -0
- package/dist/mcp/tools/mcp-server-mcp.tools.js.map +1 -0
- package/dist/mcp/tools/memory-definition-mcp.tools.d.ts +57 -0
- package/dist/mcp/tools/memory-definition-mcp.tools.js +128 -0
- package/dist/mcp/tools/memory-definition-mcp.tools.js.map +1 -0
- package/dist/mcp/tools/workflow-mcp.helper.d.ts +141 -0
- package/dist/mcp/tools/workflow-mcp.helper.js +108 -0
- package/dist/mcp/tools/workflow-mcp.helper.js.map +1 -0
- package/dist/mcp/tools/workflow-mcp.tools.d.ts +468 -0
- package/dist/mcp/tools/workflow-mcp.tools.js +222 -0
- package/dist/mcp/tools/workflow-mcp.tools.js.map +1 -0
- package/dist/mcp/tools/workflow-run-mcp.tools.d.ts +347 -0
- package/dist/mcp/tools/workflow-run-mcp.tools.js +229 -0
- package/dist/mcp/tools/workflow-run-mcp.tools.js.map +1 -0
- package/dist/mcp/tools/workflow-version-mcp.tools.d.ts +230 -0
- package/dist/mcp/tools/workflow-version-mcp.tools.js +211 -0
- package/dist/mcp/tools/workflow-version-mcp.tools.js.map +1 -0
- package/dist/static/assets/{browser-ponyfill-BAQMT4v6.js → browser-ponyfill-D3QB7SUD.js} +1 -1
- package/dist/static/assets/{cssMode-Ck2GqK0z.js → cssMode-Bk0-m_Ij.js} +1 -1
- package/dist/static/assets/{freemarker2-D6BTrnBM.js → freemarker2-D1tTqqt8.js} +1 -1
- package/dist/static/assets/{handlebars-BZezzX8Y.js → handlebars-D3VQYLDj.js} +1 -1
- package/dist/static/assets/{html-BaHYviVY.js → html-Cmhr3-6_.js} +1 -1
- package/dist/static/assets/{htmlMode-DUmaotGP.js → htmlMode-Bb5Kynv_.js} +1 -1
- package/dist/static/assets/{index-BHEX1fRT.js → index-JPQj6OiL.js} +2000 -2000
- package/dist/static/assets/{javascript-B9CVllx-.js → javascript-BkQdNyFT.js} +1 -1
- package/dist/static/assets/{jsonMode-CKDg1one.js → jsonMode-CS1296LF.js} +1 -1
- package/dist/static/assets/{liquid-B0Y1CBIq.js → liquid-C9ufUE-r.js} +1 -1
- package/dist/static/assets/{lspLanguageFeatures-CEFdgYOu.js → lspLanguageFeatures-Dxd2SsrE.js} +1 -1
- package/dist/static/assets/{mdx-Deeg6oYM.js → mdx-Dm4bC48D.js} +1 -1
- package/dist/static/assets/{python-CwGXs8Vo.js → python-ZvBWpr_q.js} +1 -1
- package/dist/static/assets/{razor-DNVdulkX.js → razor-DBj-LyWR.js} +1 -1
- package/dist/static/assets/{tsMode-C1iFfVv3.js → tsMode-DzMlJB2i.js} +1 -1
- package/dist/static/assets/{typescript-BbwxPKOl.js → typescript-Cfo3bzpy.js} +1 -1
- package/dist/static/assets/{xml-mxS5SzT4.js → xml-ZyceR0L3.js} +1 -1
- package/dist/static/assets/{yaml-CScJydFV.js → yaml-oyu_gOar.js} +1 -1
- package/dist/static/index.html +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/utils/test/port.d.ts +8 -0
- package/dist/utils/test/port.js +34 -0
- package/dist/utils/test/port.js.map +1 -0
- package/dist/workflow/services/workflow.service.d.ts +7 -7
- package/dist/workflow/services/workflow.service.js +40 -35
- package/dist/workflow/services/workflow.service.js.map +1 -1
- package/package.json +4 -4
- package/src/mcp/README.md +24 -3
- package/src/mcp/mcp-api.module.ts +2 -2
- package/src/mcp/tools/catalog-mcp.tools.ts +122 -0
- package/src/mcp/tools/cms-mcp.tools.ts +239 -0
- package/src/mcp/tools/credential-mcp.tools.ts +81 -0
- package/src/mcp/tools/hexabot-mcp-tool.base.ts +74 -0
- package/src/mcp/tools/hexabot-mcp.schemas.ts +55 -0
- package/src/mcp/tools/hexabot-mcp.tools.ts +1 -1035
- package/src/mcp/tools/hexabot-mcp.utils.ts +13 -0
- package/src/mcp/tools/index.ts +51 -0
- package/src/mcp/tools/mcp-server-mcp.tools.ts +135 -0
- package/src/mcp/tools/memory-definition-mcp.tools.ts +125 -0
- package/src/mcp/tools/workflow-mcp.helper.ts +166 -0
- package/src/mcp/tools/workflow-mcp.tools.ts +254 -0
- package/src/mcp/tools/workflow-run-mcp.tools.ts +274 -0
- package/src/mcp/tools/workflow-version-mcp.tools.ts +226 -0
- package/src/utils/test/port.ts +48 -0
- package/src/workflow/services/workflow.service.ts +49 -29
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
import { type WorkflowFull, type WorkflowVersion } from '@hexabot-ai/types';
|
|
2
|
+
import { WorkflowVersionService } from "../../workflow/services/workflow-version.service";
|
|
3
|
+
import { WorkflowService } from "../../workflow/services/workflow.service";
|
|
4
|
+
import { WorkflowVersionAction } from "../../workflow/types";
|
|
5
|
+
type WorkflowVersionSummary = Pick<WorkflowVersion, 'id' | 'version' | 'checksum' | 'message' | 'action' | 'parentVersion' | 'workflow' | 'createdBy' | 'createdAt' | 'updatedAt'>;
|
|
6
|
+
export declare class HexabotWorkflowMcpHelper {
|
|
7
|
+
private readonly workflowService;
|
|
8
|
+
private readonly workflowVersionService;
|
|
9
|
+
constructor(workflowService: WorkflowService, workflowVersionService: WorkflowVersionService);
|
|
10
|
+
requireWorkflow(id: string): Promise<{
|
|
11
|
+
id: string;
|
|
12
|
+
createdAt: Date;
|
|
13
|
+
updatedAt: Date;
|
|
14
|
+
name: string;
|
|
15
|
+
description: string | null;
|
|
16
|
+
type: import("@hexabot-ai/types").WorkflowType;
|
|
17
|
+
schedule: string | null;
|
|
18
|
+
inputSchema: any;
|
|
19
|
+
builtin: boolean;
|
|
20
|
+
x: number;
|
|
21
|
+
y: number;
|
|
22
|
+
zoom: number;
|
|
23
|
+
direction: import("@hexabot-ai/types").DirectionType;
|
|
24
|
+
currentVersion: {
|
|
25
|
+
id: string;
|
|
26
|
+
createdAt: Date;
|
|
27
|
+
updatedAt: Date;
|
|
28
|
+
version: number;
|
|
29
|
+
definitionYml: string;
|
|
30
|
+
checksum: string;
|
|
31
|
+
message: string | null;
|
|
32
|
+
action: import("@hexabot-ai/types/dist/types/workflow/domain").WorkflowVersionAction | null;
|
|
33
|
+
parentVersion: string | null;
|
|
34
|
+
workflow: string;
|
|
35
|
+
createdBy: string | null;
|
|
36
|
+
} | null;
|
|
37
|
+
publishedVersion: {
|
|
38
|
+
id: string;
|
|
39
|
+
createdAt: Date;
|
|
40
|
+
updatedAt: Date;
|
|
41
|
+
version: number;
|
|
42
|
+
definitionYml: string;
|
|
43
|
+
checksum: string;
|
|
44
|
+
message: string | null;
|
|
45
|
+
action: import("@hexabot-ai/types/dist/types/workflow/domain").WorkflowVersionAction | null;
|
|
46
|
+
parentVersion: string | null;
|
|
47
|
+
workflow: string;
|
|
48
|
+
createdBy: string | null;
|
|
49
|
+
} | null;
|
|
50
|
+
createdBy: {
|
|
51
|
+
id: string;
|
|
52
|
+
createdAt: Date;
|
|
53
|
+
updatedAt: Date;
|
|
54
|
+
firstName: string;
|
|
55
|
+
lastName: string;
|
|
56
|
+
language: string | null;
|
|
57
|
+
timezone: number;
|
|
58
|
+
locale: string | null;
|
|
59
|
+
gender: string | null;
|
|
60
|
+
country: string | null;
|
|
61
|
+
foreignId: string | null;
|
|
62
|
+
assignedAt: Date | null;
|
|
63
|
+
lastvisit: Date | null;
|
|
64
|
+
retainedFrom: Date | null;
|
|
65
|
+
channel: {
|
|
66
|
+
name: string | null;
|
|
67
|
+
data?: Record<string, any> | null | undefined;
|
|
68
|
+
};
|
|
69
|
+
username: string;
|
|
70
|
+
email: string;
|
|
71
|
+
sendEmail: boolean;
|
|
72
|
+
state: boolean;
|
|
73
|
+
resetCount: number;
|
|
74
|
+
resetToken: string | null;
|
|
75
|
+
labels: string[];
|
|
76
|
+
assignedTo: string | null;
|
|
77
|
+
roles: string[];
|
|
78
|
+
avatar: string | null;
|
|
79
|
+
provider?: {
|
|
80
|
+
strategy: "local";
|
|
81
|
+
sub?: string | undefined;
|
|
82
|
+
} | undefined;
|
|
83
|
+
} | null;
|
|
84
|
+
definitionYml?: string | undefined;
|
|
85
|
+
definition?: any;
|
|
86
|
+
}>;
|
|
87
|
+
commitWorkflowDefinition(params: {
|
|
88
|
+
workflowId: string;
|
|
89
|
+
definitionYml: string;
|
|
90
|
+
message?: string | null;
|
|
91
|
+
parentVersion?: string | null;
|
|
92
|
+
action?: WorkflowVersionAction;
|
|
93
|
+
createdBy: string;
|
|
94
|
+
}): Promise<{
|
|
95
|
+
id: string;
|
|
96
|
+
createdAt: Date;
|
|
97
|
+
updatedAt: Date;
|
|
98
|
+
version: number;
|
|
99
|
+
definitionYml: string;
|
|
100
|
+
checksum: string;
|
|
101
|
+
message: string | null;
|
|
102
|
+
action: import("@hexabot-ai/types/dist/types/workflow/domain").WorkflowVersionAction | null;
|
|
103
|
+
parentVersion: string | null;
|
|
104
|
+
workflow: string;
|
|
105
|
+
createdBy: string | null;
|
|
106
|
+
}>;
|
|
107
|
+
restoreWorkflowVersionSnapshot(args: {
|
|
108
|
+
workflowId: string;
|
|
109
|
+
versionId: string;
|
|
110
|
+
message?: string;
|
|
111
|
+
}, updatedBy: string): Promise<{
|
|
112
|
+
id: string;
|
|
113
|
+
createdAt: Date;
|
|
114
|
+
updatedAt: Date;
|
|
115
|
+
version: number;
|
|
116
|
+
definitionYml: string;
|
|
117
|
+
checksum: string;
|
|
118
|
+
message: string | null;
|
|
119
|
+
action: import("@hexabot-ai/types/dist/types/workflow/domain").WorkflowVersionAction | null;
|
|
120
|
+
parentVersion: string | null;
|
|
121
|
+
workflow: string;
|
|
122
|
+
createdBy: string | null;
|
|
123
|
+
}>;
|
|
124
|
+
buildWorkflowVersionStatus(workflow: WorkflowFull): {
|
|
125
|
+
workflow: {
|
|
126
|
+
id: string;
|
|
127
|
+
name: string;
|
|
128
|
+
type: import("@hexabot-ai/types").WorkflowType;
|
|
129
|
+
};
|
|
130
|
+
currentVersion: WorkflowVersionSummary | null;
|
|
131
|
+
publishedVersion: WorkflowVersionSummary | null;
|
|
132
|
+
currentVersionId: string | null;
|
|
133
|
+
publishedVersionId: string | null;
|
|
134
|
+
isPublished: boolean;
|
|
135
|
+
isCurrentVersionPublished: boolean;
|
|
136
|
+
hasUnpublishedChanges: boolean;
|
|
137
|
+
};
|
|
138
|
+
private summarizeWorkflowVersion;
|
|
139
|
+
private resolveRelationId;
|
|
140
|
+
}
|
|
141
|
+
export {};
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.HexabotWorkflowMcpHelper = void 0;
|
|
13
|
+
const common_1 = require("@nestjs/common");
|
|
14
|
+
const workflow_definition_1 = require("../../workflow/lib/workflow-definition");
|
|
15
|
+
const workflow_version_service_1 = require("../../workflow/services/workflow-version.service");
|
|
16
|
+
const workflow_service_1 = require("../../workflow/services/workflow.service");
|
|
17
|
+
const types_1 = require("../../workflow/types");
|
|
18
|
+
let HexabotWorkflowMcpHelper = class HexabotWorkflowMcpHelper {
|
|
19
|
+
constructor(workflowService, workflowVersionService) {
|
|
20
|
+
this.workflowService = workflowService;
|
|
21
|
+
this.workflowVersionService = workflowVersionService;
|
|
22
|
+
}
|
|
23
|
+
async requireWorkflow(id) {
|
|
24
|
+
const workflow = await this.workflowService.findOneAndPopulate(id);
|
|
25
|
+
if (!workflow) {
|
|
26
|
+
throw new common_1.NotFoundException(`Workflow ${id} not found`);
|
|
27
|
+
}
|
|
28
|
+
return workflow;
|
|
29
|
+
}
|
|
30
|
+
async commitWorkflowDefinition(params) {
|
|
31
|
+
const workflow = await this.requireWorkflow(params.workflowId);
|
|
32
|
+
try {
|
|
33
|
+
(0, workflow_definition_1.parseWorkflowDefinition)(params.definitionYml);
|
|
34
|
+
}
|
|
35
|
+
catch (error) {
|
|
36
|
+
throw new common_1.BadRequestException(error instanceof Error ? error.message : 'Invalid workflow YAML');
|
|
37
|
+
}
|
|
38
|
+
const parentVersion = params.parentVersion === undefined
|
|
39
|
+
? this.resolveRelationId(workflow.currentVersion)
|
|
40
|
+
: params.parentVersion;
|
|
41
|
+
const payload = {
|
|
42
|
+
workflow: params.workflowId,
|
|
43
|
+
definitionYml: params.definitionYml,
|
|
44
|
+
message: params.message ?? undefined,
|
|
45
|
+
parentVersion: parentVersion ?? undefined,
|
|
46
|
+
action: params.action ?? types_1.WorkflowVersionAction.update,
|
|
47
|
+
createdBy: params.createdBy,
|
|
48
|
+
};
|
|
49
|
+
return await this.workflowVersionService.commit(payload);
|
|
50
|
+
}
|
|
51
|
+
async restoreWorkflowVersionSnapshot(args, updatedBy) {
|
|
52
|
+
return await this.workflowVersionService.restoreVersion(args.workflowId, args.versionId, {
|
|
53
|
+
updatedBy,
|
|
54
|
+
message: args.message,
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
buildWorkflowVersionStatus(workflow) {
|
|
58
|
+
const currentVersion = this.summarizeWorkflowVersion(workflow.currentVersion);
|
|
59
|
+
const publishedVersion = this.summarizeWorkflowVersion(workflow.publishedVersion);
|
|
60
|
+
const currentVersionId = currentVersion?.id ?? null;
|
|
61
|
+
const publishedVersionId = publishedVersion?.id ?? null;
|
|
62
|
+
return {
|
|
63
|
+
workflow: {
|
|
64
|
+
id: workflow.id,
|
|
65
|
+
name: workflow.name,
|
|
66
|
+
type: workflow.type,
|
|
67
|
+
},
|
|
68
|
+
currentVersion,
|
|
69
|
+
publishedVersion,
|
|
70
|
+
currentVersionId,
|
|
71
|
+
publishedVersionId,
|
|
72
|
+
isPublished: Boolean(publishedVersionId),
|
|
73
|
+
isCurrentVersionPublished: Boolean(currentVersionId) && currentVersionId === publishedVersionId,
|
|
74
|
+
hasUnpublishedChanges: Boolean(currentVersionId) && currentVersionId !== publishedVersionId,
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
summarizeWorkflowVersion(version) {
|
|
78
|
+
if (!version) {
|
|
79
|
+
return null;
|
|
80
|
+
}
|
|
81
|
+
const { id, version: versionNumber, checksum, message, action, parentVersion, workflow, createdBy, createdAt, updatedAt, } = version;
|
|
82
|
+
return {
|
|
83
|
+
id,
|
|
84
|
+
version: versionNumber,
|
|
85
|
+
checksum,
|
|
86
|
+
message,
|
|
87
|
+
action,
|
|
88
|
+
parentVersion,
|
|
89
|
+
workflow,
|
|
90
|
+
createdBy,
|
|
91
|
+
createdAt,
|
|
92
|
+
updatedAt,
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
resolveRelationId(relation) {
|
|
96
|
+
if (typeof relation === 'string') {
|
|
97
|
+
return relation;
|
|
98
|
+
}
|
|
99
|
+
return relation?.id ?? null;
|
|
100
|
+
}
|
|
101
|
+
};
|
|
102
|
+
exports.HexabotWorkflowMcpHelper = HexabotWorkflowMcpHelper;
|
|
103
|
+
exports.HexabotWorkflowMcpHelper = HexabotWorkflowMcpHelper = __decorate([
|
|
104
|
+
(0, common_1.Injectable)(),
|
|
105
|
+
__metadata("design:paramtypes", [workflow_service_1.WorkflowService,
|
|
106
|
+
workflow_version_service_1.WorkflowVersionService])
|
|
107
|
+
], HexabotWorkflowMcpHelper);
|
|
108
|
+
//# sourceMappingURL=workflow-mcp.helper.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflow-mcp.helper.js","sourceRoot":"","sources":["../../../src/mcp/tools/workflow-mcp.helper.ts"],"names":[],"mappings":";;;;;;;;;;;;AAOA,2CAIwB;AAGxB,gFAA6E;AAC7E,+FAAsF;AACtF,+EAAu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