@copado/agentia-cli 0.61.0-alpha.0 → 0.63.0-alpha.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/README.md +358 -150
- package/dist/commands/cicd/work/deployment-step/create.d.ts +34 -0
- package/dist/commands/cicd/work/deployment-step/create.js +158 -0
- package/dist/commands/cicd/work/deployment-step/create.js.map +1 -0
- package/dist/commands/cicd/work/deployment-step/delete.d.ts +15 -0
- package/dist/commands/cicd/work/deployment-step/delete.js +41 -0
- package/dist/commands/cicd/work/deployment-step/delete.js.map +1 -0
- package/dist/commands/cicd/work/deployment-step/list.d.ts +10 -0
- package/dist/commands/cicd/work/deployment-step/list.js +44 -0
- package/dist/commands/cicd/work/deployment-step/list.js.map +1 -0
- package/dist/commands/cicd/work/deployment-step/reorder.d.ts +12 -0
- package/dist/commands/cicd/work/deployment-step/reorder.js +80 -0
- package/dist/commands/cicd/work/deployment-step/reorder.js.map +1 -0
- package/dist/commands/cicd/work/deployment-step/types.d.ts +7 -0
- package/dist/commands/cicd/work/deployment-step/types.js +27 -0
- package/dist/commands/cicd/work/deployment-step/types.js.map +1 -0
- package/dist/commands/cicd/work/deployment-step/update.d.ts +20 -0
- package/dist/commands/cicd/work/deployment-step/update.js +83 -0
- package/dist/commands/cicd/work/deployment-step/update.js.map +1 -0
- package/dist/lib/deployment-step-config.d.ts +27 -0
- package/dist/lib/deployment-step-config.js +110 -0
- package/dist/lib/deployment-step-config.js.map +1 -0
- package/dist/lib/deployment-step-types.d.ts +92 -0
- package/dist/lib/deployment-step-types.js +194 -0
- package/dist/lib/deployment-step-types.js.map +1 -0
- package/dist/lib/deployment-step-wizard.d.ts +28 -0
- package/dist/lib/deployment-step-wizard.js +155 -0
- package/dist/lib/deployment-step-wizard.js.map +1 -0
- package/dist/lib/mcp/deployment-step-tools.d.ts +78 -0
- package/dist/lib/mcp/deployment-step-tools.js +205 -0
- package/dist/lib/mcp/deployment-step-tools.js.map +1 -0
- package/dist/lib/mcp/tools.d.ts +63 -0
- package/dist/lib/mcp/tools.js +3 -0
- package/dist/lib/mcp/tools.js.map +1 -1
- package/oclif.manifest.json +862 -298
- package/package.json +4 -1
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
|
|
2
|
+
import { type CrtRunOn, type DeploymentStepEnvironment, type DeploymentStepParameter } from '../deployment-step-config.js';
|
|
3
|
+
import { type DeploymentStep, type DeploymentStepOrder, type DeploymentStepSequence, type DeploymentStepStandardType } from '../deployment-step-types.js';
|
|
4
|
+
type DeploymentStepCreateArgs = {
|
|
5
|
+
apexScript?: string;
|
|
6
|
+
assigneeId?: string;
|
|
7
|
+
assigneeName?: string;
|
|
8
|
+
configJson?: Record<string, unknown>;
|
|
9
|
+
crtRunOn?: CrtRunOn;
|
|
10
|
+
crtTestId?: string;
|
|
11
|
+
customStepApiName?: string;
|
|
12
|
+
dataSetId?: string;
|
|
13
|
+
dataTemplateId?: string;
|
|
14
|
+
environment?: DeploymentStepEnvironment;
|
|
15
|
+
flowName?: string;
|
|
16
|
+
functionName?: string;
|
|
17
|
+
instructions?: string;
|
|
18
|
+
name: string;
|
|
19
|
+
parameters?: DeploymentStepParameter[];
|
|
20
|
+
queueName?: string;
|
|
21
|
+
runOnValidation?: boolean;
|
|
22
|
+
sequence?: DeploymentStepSequence;
|
|
23
|
+
skipBackPromotion?: boolean;
|
|
24
|
+
skipCondition?: string;
|
|
25
|
+
type?: DeploymentStepStandardType;
|
|
26
|
+
userStoryId?: string;
|
|
27
|
+
};
|
|
28
|
+
type DeploymentStepUpdateArgs = {
|
|
29
|
+
configJson?: Record<string, unknown>;
|
|
30
|
+
name?: string;
|
|
31
|
+
queueName?: null | string;
|
|
32
|
+
runOnValidation?: boolean;
|
|
33
|
+
skipBackPromotion?: boolean;
|
|
34
|
+
skipCondition?: null | string;
|
|
35
|
+
stepId: string;
|
|
36
|
+
userStoryId?: string;
|
|
37
|
+
};
|
|
38
|
+
declare function deploymentStepTypes(): Promise<{
|
|
39
|
+
deploymentStepTypes: import("../deployment-step-types.js").DeploymentStepType[];
|
|
40
|
+
}>;
|
|
41
|
+
declare function deploymentStepList(args?: {
|
|
42
|
+
userStoryId?: string;
|
|
43
|
+
}): Promise<{
|
|
44
|
+
deploymentSteps: DeploymentStep[];
|
|
45
|
+
userStoryId: string;
|
|
46
|
+
}>;
|
|
47
|
+
declare function deploymentStepCreate(args: DeploymentStepCreateArgs): Promise<{
|
|
48
|
+
deploymentStep: DeploymentStep;
|
|
49
|
+
userStoryId: string;
|
|
50
|
+
}>;
|
|
51
|
+
declare function deploymentStepUpdate(args: DeploymentStepUpdateArgs): Promise<{
|
|
52
|
+
deploymentStep: DeploymentStep;
|
|
53
|
+
userStoryId: string;
|
|
54
|
+
}>;
|
|
55
|
+
declare function deploymentStepReorder(args: DeploymentStepOrder & {
|
|
56
|
+
userStoryId?: string;
|
|
57
|
+
}): Promise<{
|
|
58
|
+
deploymentSteps: DeploymentStep[];
|
|
59
|
+
userStoryId: string;
|
|
60
|
+
}>;
|
|
61
|
+
declare function deploymentStepDelete(args: {
|
|
62
|
+
stepId: string;
|
|
63
|
+
userStoryId?: string;
|
|
64
|
+
}): Promise<{
|
|
65
|
+
deleted: boolean;
|
|
66
|
+
stepId: string;
|
|
67
|
+
userStoryId: string;
|
|
68
|
+
}>;
|
|
69
|
+
export declare const agentiaMcpDeploymentStepToolHandlers: {
|
|
70
|
+
deploymentStepCreate: typeof deploymentStepCreate;
|
|
71
|
+
deploymentStepDelete: typeof deploymentStepDelete;
|
|
72
|
+
deploymentStepList: typeof deploymentStepList;
|
|
73
|
+
deploymentStepReorder: typeof deploymentStepReorder;
|
|
74
|
+
deploymentStepTypes: typeof deploymentStepTypes;
|
|
75
|
+
deploymentStepUpdate: typeof deploymentStepUpdate;
|
|
76
|
+
};
|
|
77
|
+
export declare function registerAgentiaMcpDeploymentStepTools(server: McpServer): void;
|
|
78
|
+
export {};
|
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { CicdGateway } from '../cicd-gateway.js';
|
|
3
|
+
import { buildFriendlyDeploymentStepConfig, hasFriendlyDeploymentStepConfig, } from '../deployment-step-config.js';
|
|
4
|
+
import { buildDeploymentStepCreatePayload, buildDeploymentStepUpdatePayload, DEPLOYMENT_STEP_STANDARD_TYPES, deploymentStepTypesEndpoint, normalizeDeploymentSteps, normalizeDeploymentStepTypes, userStoryDeploymentStepEndpoint, userStoryDeploymentStepOrderEndpoint, userStoryDeploymentStepsEndpoint, validateCompleteDeploymentStepOrder, } from '../deployment-step-types.js';
|
|
5
|
+
import { resolveWorkItemId } from '../work-active.js';
|
|
6
|
+
import { safelyHandleTool } from './result.js';
|
|
7
|
+
async function deploymentStepTypes() {
|
|
8
|
+
const response = await CicdGateway.call({
|
|
9
|
+
endpoint: deploymentStepTypesEndpoint(),
|
|
10
|
+
method: 'GET',
|
|
11
|
+
});
|
|
12
|
+
return { deploymentStepTypes: normalizeDeploymentStepTypes(response) };
|
|
13
|
+
}
|
|
14
|
+
async function deploymentStepList(args = {}) {
|
|
15
|
+
const userStoryId = await resolveWorkItemId(args.userStoryId);
|
|
16
|
+
const response = await CicdGateway.call({
|
|
17
|
+
endpoint: userStoryDeploymentStepsEndpoint(userStoryId),
|
|
18
|
+
method: 'GET',
|
|
19
|
+
});
|
|
20
|
+
return { deploymentSteps: normalizeDeploymentSteps(response), userStoryId };
|
|
21
|
+
}
|
|
22
|
+
async function deploymentStepCreate(args) {
|
|
23
|
+
const userStoryId = await resolveWorkItemId(args.userStoryId);
|
|
24
|
+
const friendlyFlags = {
|
|
25
|
+
'apex-script': args.apexScript,
|
|
26
|
+
'assignee-id': args.assigneeId,
|
|
27
|
+
'assignee-name': args.assigneeName,
|
|
28
|
+
'crt-run-on': args.crtRunOn,
|
|
29
|
+
'crt-test-id': args.crtTestId,
|
|
30
|
+
'data-set-id': args.dataSetId,
|
|
31
|
+
'data-template-id': args.dataTemplateId,
|
|
32
|
+
environment: args.environment,
|
|
33
|
+
'flow-name': args.flowName,
|
|
34
|
+
'function-name': args.functionName,
|
|
35
|
+
instructions: args.instructions,
|
|
36
|
+
parameter: args.parameters?.map(({ name, value }) => `${name}=${value}`),
|
|
37
|
+
};
|
|
38
|
+
const friendly = hasFriendlyDeploymentStepConfig(friendlyFlags);
|
|
39
|
+
if (friendly && args.configJson !== undefined) {
|
|
40
|
+
throw new Error('Type-specific configuration fields cannot be combined with configJson.');
|
|
41
|
+
}
|
|
42
|
+
if (friendly && args.type === undefined) {
|
|
43
|
+
throw new Error('Type-specific configuration fields require type.');
|
|
44
|
+
}
|
|
45
|
+
const configJson = friendly && args.type !== undefined
|
|
46
|
+
? buildFriendlyDeploymentStepConfig(args.type, friendlyFlags)
|
|
47
|
+
: args.configJson;
|
|
48
|
+
if (configJson === undefined) {
|
|
49
|
+
throw new Error('Provide configJson or the type-specific configuration fields.');
|
|
50
|
+
}
|
|
51
|
+
const body = buildDeploymentStepCreatePayload({
|
|
52
|
+
...(args.customStepApiName === undefined ? {} : { 'custom-step-api-name': args.customStepApiName }),
|
|
53
|
+
'config-json': JSON.stringify(configJson),
|
|
54
|
+
name: args.name,
|
|
55
|
+
...(args.queueName === undefined ? {} : { 'queue-name': args.queueName }),
|
|
56
|
+
...(args.runOnValidation === undefined ? {} : { 'run-on-validation': args.runOnValidation }),
|
|
57
|
+
...(args.sequence === undefined ? {} : { sequence: args.sequence }),
|
|
58
|
+
...(args.skipBackPromotion === undefined ? {} : { 'skip-back-promotion': args.skipBackPromotion }),
|
|
59
|
+
...(args.skipCondition === undefined ? {} : { 'skip-condition': args.skipCondition }),
|
|
60
|
+
...(args.type === undefined ? {} : { type: args.type }),
|
|
61
|
+
});
|
|
62
|
+
const deploymentStep = await CicdGateway.call({
|
|
63
|
+
body,
|
|
64
|
+
endpoint: userStoryDeploymentStepsEndpoint(userStoryId),
|
|
65
|
+
headers: { 'Content-Type': 'application/json' },
|
|
66
|
+
method: 'POST',
|
|
67
|
+
});
|
|
68
|
+
return { deploymentStep, userStoryId };
|
|
69
|
+
}
|
|
70
|
+
async function deploymentStepUpdate(args) {
|
|
71
|
+
const userStoryId = await resolveWorkItemId(args.userStoryId);
|
|
72
|
+
const body = buildDeploymentStepUpdatePayload({
|
|
73
|
+
...(args.configJson === undefined ? {} : { 'config-json': JSON.stringify(args.configJson) }),
|
|
74
|
+
...(args.name === undefined ? {} : { name: args.name }),
|
|
75
|
+
...(args.queueName === null
|
|
76
|
+
? { 'clear-queue-name': true }
|
|
77
|
+
: args.queueName === undefined
|
|
78
|
+
? {}
|
|
79
|
+
: { 'queue-name': args.queueName }),
|
|
80
|
+
...(args.runOnValidation === undefined ? {} : { 'run-on-validation': args.runOnValidation }),
|
|
81
|
+
...(args.skipBackPromotion === undefined ? {} : { 'skip-back-promotion': args.skipBackPromotion }),
|
|
82
|
+
...(args.skipCondition === null
|
|
83
|
+
? { 'clear-skip-condition': true }
|
|
84
|
+
: args.skipCondition === undefined
|
|
85
|
+
? {}
|
|
86
|
+
: { 'skip-condition': args.skipCondition }),
|
|
87
|
+
});
|
|
88
|
+
const deploymentStep = await CicdGateway.call({
|
|
89
|
+
body,
|
|
90
|
+
endpoint: userStoryDeploymentStepEndpoint(userStoryId, args.stepId),
|
|
91
|
+
headers: { 'Content-Type': 'application/json' },
|
|
92
|
+
method: 'PATCH',
|
|
93
|
+
});
|
|
94
|
+
return { deploymentStep, userStoryId };
|
|
95
|
+
}
|
|
96
|
+
async function deploymentStepReorder(args) {
|
|
97
|
+
const userStoryId = await resolveWorkItemId(args.userStoryId);
|
|
98
|
+
const currentResponse = await CicdGateway.call({
|
|
99
|
+
endpoint: userStoryDeploymentStepsEndpoint(userStoryId),
|
|
100
|
+
method: 'GET',
|
|
101
|
+
});
|
|
102
|
+
const current = normalizeDeploymentSteps(currentResponse);
|
|
103
|
+
const order = { after: args.after, before: args.before };
|
|
104
|
+
validateCompleteDeploymentStepOrder(order, current);
|
|
105
|
+
const response = await CicdGateway.call({
|
|
106
|
+
body: order,
|
|
107
|
+
endpoint: userStoryDeploymentStepOrderEndpoint(userStoryId),
|
|
108
|
+
headers: { 'Content-Type': 'application/json' },
|
|
109
|
+
method: 'PUT',
|
|
110
|
+
});
|
|
111
|
+
return { deploymentSteps: normalizeDeploymentSteps(response), userStoryId };
|
|
112
|
+
}
|
|
113
|
+
async function deploymentStepDelete(args) {
|
|
114
|
+
const userStoryId = await resolveWorkItemId(args.userStoryId);
|
|
115
|
+
await CicdGateway.call({
|
|
116
|
+
endpoint: userStoryDeploymentStepEndpoint(userStoryId, args.stepId),
|
|
117
|
+
method: 'DELETE',
|
|
118
|
+
});
|
|
119
|
+
return { deleted: true, stepId: args.stepId, userStoryId };
|
|
120
|
+
}
|
|
121
|
+
export const agentiaMcpDeploymentStepToolHandlers = {
|
|
122
|
+
deploymentStepCreate,
|
|
123
|
+
deploymentStepDelete,
|
|
124
|
+
deploymentStepList,
|
|
125
|
+
deploymentStepReorder,
|
|
126
|
+
deploymentStepTypes,
|
|
127
|
+
deploymentStepUpdate,
|
|
128
|
+
};
|
|
129
|
+
const userStoryIdSchema = z.string().optional().describe('User story ID. Defaults to the active work item.');
|
|
130
|
+
const configJsonSchema = z.record(z.string(), z.unknown()).describe('Resolved inner ConfigJson object.');
|
|
131
|
+
export function registerAgentiaMcpDeploymentStepTools(server) {
|
|
132
|
+
server.registerTool('agentia_work_deployment_step_types', {
|
|
133
|
+
description: 'List standard and custom metadata-backed deployment-step types.',
|
|
134
|
+
inputSchema: {},
|
|
135
|
+
title: 'Agentia Work Deployment Step Types',
|
|
136
|
+
}, () => safelyHandleTool(() => deploymentStepTypes()));
|
|
137
|
+
server.registerTool('agentia_work_deployment_step_list', {
|
|
138
|
+
description: 'List persisted deployment steps for an explicit or active user story.',
|
|
139
|
+
inputSchema: { userStoryId: userStoryIdSchema },
|
|
140
|
+
title: 'Agentia Work Deployment Step List',
|
|
141
|
+
}, (args) => safelyHandleTool(() => deploymentStepList(args || {})));
|
|
142
|
+
server.registerTool('agentia_work_deployment_step_create', {
|
|
143
|
+
description: 'Create a standard or custom metadata-backed deployment step on a user story.',
|
|
144
|
+
inputSchema: {
|
|
145
|
+
apexScript: z.string().optional().describe('Apex script for an Apex step.'),
|
|
146
|
+
assigneeId: z.string().optional().describe('Manual Task assignee Salesforce user ID.'),
|
|
147
|
+
assigneeName: z.string().optional().describe('Manual Task assignee display name.'),
|
|
148
|
+
configJson: configJsonSchema.optional().describe('Resolved expert ConfigJson object.'),
|
|
149
|
+
crtRunOn: z.enum(['source', 'destination']).optional().describe('Environment where the Robotic Test runs.'),
|
|
150
|
+
crtTestId: z.string().optional().describe('Robotic Test Salesforce ID.'),
|
|
151
|
+
customStepApiName: z.string().optional().describe('Custom metadata developerName. Mutually exclusive with type.'),
|
|
152
|
+
dataSetId: z.string().optional().describe('Salesforce Data Set ID.'),
|
|
153
|
+
dataTemplateId: z.string().optional().describe('Salesforce Data Template ID.'),
|
|
154
|
+
environment: z.enum(['source', 'destination', 'both']).optional().describe('Manual Task environment.'),
|
|
155
|
+
flowName: z.string().optional().describe('Salesforce Flow API name.'),
|
|
156
|
+
functionName: z.string().optional().describe('Function name.'),
|
|
157
|
+
instructions: z.string().optional().describe('Manual Task instructions.'),
|
|
158
|
+
name: z.string().describe('Step name, up to 80 characters.'),
|
|
159
|
+
parameters: z
|
|
160
|
+
.array(z.object({ name: z.string(), value: z.string() }))
|
|
161
|
+
.optional()
|
|
162
|
+
.describe('Flow or Function parameters.'),
|
|
163
|
+
queueName: z.string().optional(),
|
|
164
|
+
runOnValidation: z.boolean().optional(),
|
|
165
|
+
sequence: z.enum(['before', 'after']).optional(),
|
|
166
|
+
skipBackPromotion: z.boolean().optional(),
|
|
167
|
+
skipCondition: z.string().optional(),
|
|
168
|
+
type: z.enum(DEPLOYMENT_STEP_STANDARD_TYPES).optional().describe('Standard deployment-step type.'),
|
|
169
|
+
userStoryId: userStoryIdSchema,
|
|
170
|
+
},
|
|
171
|
+
title: 'Agentia Work Deployment Step Create',
|
|
172
|
+
}, (args) => safelyHandleTool(() => deploymentStepCreate(args)));
|
|
173
|
+
server.registerTool('agentia_work_deployment_step_update', {
|
|
174
|
+
description: 'Partially update a persisted deployment step. Null clears queueName or skipCondition.',
|
|
175
|
+
inputSchema: {
|
|
176
|
+
configJson: configJsonSchema.optional(),
|
|
177
|
+
name: z.string().optional(),
|
|
178
|
+
queueName: z.string().nullable().optional(),
|
|
179
|
+
runOnValidation: z.boolean().optional(),
|
|
180
|
+
skipBackPromotion: z.boolean().optional(),
|
|
181
|
+
skipCondition: z.string().nullable().optional(),
|
|
182
|
+
stepId: z.string().describe('Deployment-step ID.'),
|
|
183
|
+
userStoryId: userStoryIdSchema,
|
|
184
|
+
},
|
|
185
|
+
title: 'Agentia Work Deployment Step Update',
|
|
186
|
+
}, (args) => safelyHandleTool(() => deploymentStepUpdate(args)));
|
|
187
|
+
server.registerTool('agentia_work_deployment_step_reorder', {
|
|
188
|
+
description: 'Replace the complete before/after deployment-step order for a user story.',
|
|
189
|
+
inputSchema: {
|
|
190
|
+
after: z.array(z.string()).describe('Complete ordered after-step IDs.'),
|
|
191
|
+
before: z.array(z.string()).describe('Complete ordered before-step IDs.'),
|
|
192
|
+
userStoryId: userStoryIdSchema,
|
|
193
|
+
},
|
|
194
|
+
title: 'Agentia Work Deployment Step Reorder',
|
|
195
|
+
}, (args) => safelyHandleTool(() => deploymentStepReorder(args)));
|
|
196
|
+
server.registerTool('agentia_work_deployment_step_delete', {
|
|
197
|
+
description: 'Delete a persisted deployment step owned by a user story.',
|
|
198
|
+
inputSchema: {
|
|
199
|
+
stepId: z.string().describe('Deployment-step ID.'),
|
|
200
|
+
userStoryId: userStoryIdSchema,
|
|
201
|
+
},
|
|
202
|
+
title: 'Agentia Work Deployment Step Delete',
|
|
203
|
+
}, (args) => safelyHandleTool(() => deploymentStepDelete(args)));
|
|
204
|
+
}
|
|
205
|
+
//# sourceMappingURL=deployment-step-tools.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deployment-step-tools.js","sourceRoot":"","sources":["../../../src/lib/mcp/deployment-step-tools.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAErB,OAAO,EAAC,WAAW,EAAC,MAAM,oBAAoB,CAAA;AAC9C,OAAO,EACL,iCAAiC,EAKjC,+BAA+B,GAChC,MAAM,8BAA8B,CAAA;AACrC,OAAO,EACL,gCAAgC,EAChC,gCAAgC,EAChC,8BAA8B,EAK9B,2BAA2B,EAC3B,wBAAwB,EACxB,4BAA4B,EAC5B,+BAA+B,EAC/B,oCAAoC,EACpC,gCAAgC,EAChC,mCAAmC,GACpC,MAAM,6BAA6B,CAAA;AACpC,OAAO,EAAC,iBAAiB,EAAC,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAC,gBAAgB,EAAC,MAAM,aAAa,CAAA;AAsC5C,KAAK,UAAU,mBAAmB;IAChC,MAAM,QAAQ,GAAG,MAAM,WAAW,CAAC,IAAI,CAAU;QAC/C,QAAQ,EAAE,2BAA2B,EAAE;QACvC,MAAM,EAAE,KAAK;KACd,CAAC,CAAA;IACF,OAAO,EAAC,mBAAmB,EAAE,4BAA4B,CAAC,QAAQ,CAAC,EAAC,CAAA;AACtE,CAAC;AAED,KAAK,UAAU,kBAAkB,CAAC,OAA+B,EAAE;IACjE,MAAM,WAAW,GAAG,MAAM,iBAAiB,CAAC,IAAI,CAAC,WAAW,CAAC,CAAA;IAC7D,MAAM,QAAQ,GAAG,MAAM,WAAW,CAAC,IAAI,CAAU;QAC/C,QAAQ,EAAE,gCAAgC,CAAC,WAAW,CAAC;QACvD,MAAM,EAAE,KAAK;KACd,CAAC,CAAA;IACF,OAAO,EAAC,eAAe,EAAE,wBAAwB,CAAC,QAAQ,CAAC,EAAE,WAAW,EAAC,CAAA;AAC3E,CAAC;AAED,KAAK,UAAU,oBAAoB,CAAC,IAA8B;IAChE,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AAM,CAAC,YAAY,CACjB,qCAAqC,EACrC;QACE,WAAW,EAAE,2DAA2D;QACxE,WAAW,EAAE;YACX,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,qBAAqB,CAAC;YAClD,WAAW,EAAE,iBAAiB;SAC/B;QACD,KAAK,EAAE,qCAAqC;KAC7C,EACD,CAAC,IAAI,EAAE,EAAE,CAAC,gBAAgB,CAAC,GAAG,EAAE,CAAC,oBAAoB,CAAC,IAAI,CAAC,CAAC,CAC7D,CAAA;AACH,CAAC"}
|
package/dist/lib/mcp/tools.d.ts
CHANGED
|
@@ -1107,6 +1107,69 @@ export declare const agentiaMcpToolHandlers: {
|
|
|
1107
1107
|
repositoryValidate: typeof repositoryValidate;
|
|
1108
1108
|
userGet: typeof userGet;
|
|
1109
1109
|
workStatus: typeof workStatus;
|
|
1110
|
+
deploymentStepCreate: (args: {
|
|
1111
|
+
apexScript?: string;
|
|
1112
|
+
assigneeId?: string;
|
|
1113
|
+
assigneeName?: string;
|
|
1114
|
+
configJson?: Record<string, unknown>;
|
|
1115
|
+
crtRunOn?: import("../deployment-step-config.js").CrtRunOn;
|
|
1116
|
+
crtTestId?: string;
|
|
1117
|
+
customStepApiName?: string;
|
|
1118
|
+
dataSetId?: string;
|
|
1119
|
+
dataTemplateId?: string;
|
|
1120
|
+
environment?: import("../deployment-step-config.js").DeploymentStepEnvironment;
|
|
1121
|
+
flowName?: string;
|
|
1122
|
+
functionName?: string;
|
|
1123
|
+
instructions?: string;
|
|
1124
|
+
name: string;
|
|
1125
|
+
parameters?: import("../deployment-step-config.js").DeploymentStepParameter[];
|
|
1126
|
+
queueName?: string;
|
|
1127
|
+
runOnValidation?: boolean;
|
|
1128
|
+
sequence?: import("../deployment-step-types.js").DeploymentStepSequence;
|
|
1129
|
+
skipBackPromotion?: boolean;
|
|
1130
|
+
skipCondition?: string;
|
|
1131
|
+
type?: import("../deployment-step-types.js").DeploymentStepStandardType;
|
|
1132
|
+
userStoryId?: string;
|
|
1133
|
+
}) => Promise<{
|
|
1134
|
+
deploymentStep: import("../deployment-step-types.js").DeploymentStep;
|
|
1135
|
+
userStoryId: string;
|
|
1136
|
+
}>;
|
|
1137
|
+
deploymentStepDelete: (args: {
|
|
1138
|
+
stepId: string;
|
|
1139
|
+
userStoryId?: string;
|
|
1140
|
+
}) => Promise<{
|
|
1141
|
+
deleted: boolean;
|
|
1142
|
+
stepId: string;
|
|
1143
|
+
userStoryId: string;
|
|
1144
|
+
}>;
|
|
1145
|
+
deploymentStepList: (args?: {
|
|
1146
|
+
userStoryId?: string;
|
|
1147
|
+
}) => Promise<{
|
|
1148
|
+
deploymentSteps: import("../deployment-step-types.js").DeploymentStep[];
|
|
1149
|
+
userStoryId: string;
|
|
1150
|
+
}>;
|
|
1151
|
+
deploymentStepReorder: (args: import("../deployment-step-types.js").DeploymentStepOrder & {
|
|
1152
|
+
userStoryId?: string;
|
|
1153
|
+
}) => Promise<{
|
|
1154
|
+
deploymentSteps: import("../deployment-step-types.js").DeploymentStep[];
|
|
1155
|
+
userStoryId: string;
|
|
1156
|
+
}>;
|
|
1157
|
+
deploymentStepTypes: () => Promise<{
|
|
1158
|
+
deploymentStepTypes: import("../deployment-step-types.js").DeploymentStepType[];
|
|
1159
|
+
}>;
|
|
1160
|
+
deploymentStepUpdate: (args: {
|
|
1161
|
+
configJson?: Record<string, unknown>;
|
|
1162
|
+
name?: string;
|
|
1163
|
+
queueName?: null | string;
|
|
1164
|
+
runOnValidation?: boolean;
|
|
1165
|
+
skipBackPromotion?: boolean;
|
|
1166
|
+
skipCondition?: null | string;
|
|
1167
|
+
stepId: string;
|
|
1168
|
+
userStoryId?: string;
|
|
1169
|
+
}) => Promise<{
|
|
1170
|
+
deploymentStep: import("../deployment-step-types.js").DeploymentStep;
|
|
1171
|
+
userStoryId: string;
|
|
1172
|
+
}>;
|
|
1110
1173
|
dataCommitCreate: (args: import("../data-types.js").DataCommitApiRequest) => Promise<{
|
|
1111
1174
|
result: import("../data-types.js").DataCommitResponse;
|
|
1112
1175
|
}>;
|
package/dist/lib/mcp/tools.js
CHANGED
|
@@ -38,6 +38,7 @@ import { DEFAULT_USER_ID, resolveUserId, userEndpoint } from '../user-types.js';
|
|
|
38
38
|
import { workStatusEndpoint } from '../work-types.js';
|
|
39
39
|
import { agentiaMcpAiToolHandlers, registerAgentiaMcpAiTools } from './ai-tools.js';
|
|
40
40
|
import { agentiaMcpDataToolHandlers, registerAgentiaMcpDataTools } from './data-tools.js';
|
|
41
|
+
import { agentiaMcpDeploymentStepToolHandlers, registerAgentiaMcpDeploymentStepTools, } from './deployment-step-tools.js';
|
|
41
42
|
import { safelyHandleTool } from './result.js';
|
|
42
43
|
import { agentiaMcpTestingToolHandlers, registerAgentiaMcpTestingTools } from './testing-tools.js';
|
|
43
44
|
import { agentiaMcpWorkToolHandlers, registerAgentiaMcpWorkTools } from './work-tools.js';
|
|
@@ -886,6 +887,7 @@ async function navigationResolve(args) {
|
|
|
886
887
|
export const agentiaMcpToolHandlers = {
|
|
887
888
|
...agentiaMcpAiToolHandlers,
|
|
888
889
|
...agentiaMcpDataToolHandlers,
|
|
890
|
+
...agentiaMcpDeploymentStepToolHandlers,
|
|
889
891
|
authGet,
|
|
890
892
|
authSet,
|
|
891
893
|
credentialCreate,
|
|
@@ -1005,6 +1007,7 @@ const promotionListSchema = {
|
|
|
1005
1007
|
export function registerAgentiaMcpTools(server) {
|
|
1006
1008
|
registerAgentiaMcpAiTools(server);
|
|
1007
1009
|
registerAgentiaMcpDataTools(server);
|
|
1010
|
+
registerAgentiaMcpDeploymentStepTools(server);
|
|
1008
1011
|
registerAgentiaMcpTestingTools(server);
|
|
1009
1012
|
server.registerTool('agentia_environment_list', {
|
|
1010
1013
|
description: 'List Copado environments via the CICD gateway.',
|