@enfyra/mcp-server 0.1.63 → 0.1.64
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 +1 -0
- package/dist/lib/dynamic-endpoint-contract.js +3 -0
- package/dist/lib/dynamic-endpoint-contract.js.map +1 -1
- package/dist/lib/extension-search-tools.js +2 -1
- package/dist/lib/extension-search-tools.js.map +1 -1
- package/dist/lib/extension-sfc-analyzer.d.ts +4 -0
- package/dist/lib/extension-sfc-analyzer.js +137 -0
- package/dist/lib/extension-sfc-analyzer.js.map +1 -0
- package/dist/lib/mcp-examples.js +2 -2
- package/dist/lib/mcp-instructions.js +5 -15
- package/dist/lib/mcp-instructions.js.map +1 -1
- package/dist/lib/mcp-usage-telemetry.js +4 -3
- package/dist/lib/mcp-usage-telemetry.js.map +1 -1
- package/dist/lib/mutation-guards.d.ts +1 -0
- package/dist/lib/mutation-guards.js +28 -0
- package/dist/lib/mutation-guards.js.map +1 -1
- package/dist/lib/platform-operation-tools.d.ts +159 -3
- package/dist/lib/platform-operation-tools.js +361 -78
- package/dist/lib/platform-operation-tools.js.map +1 -1
- package/dist/lib/required-knowledge.d.ts +9 -2
- package/dist/lib/required-knowledge.js +50 -16
- package/dist/lib/required-knowledge.js.map +1 -1
- package/dist/lib/response-format.js +39 -25
- package/dist/lib/response-format.js.map +1 -1
- package/dist/lib/runtime-zone-tools.js +4 -3
- package/dist/lib/runtime-zone-tools.js.map +1 -1
- package/dist/lib/session-safety.d.ts +9 -0
- package/dist/lib/session-safety.js +89 -0
- package/dist/lib/session-safety.js.map +1 -0
- package/dist/lib/source-artifacts.js +3 -1
- package/dist/lib/source-artifacts.js.map +1 -1
- package/dist/lib/table-tools.d.ts +5 -0
- package/dist/lib/table-tools.js +46 -5
- package/dist/lib/table-tools.js.map +1 -1
- package/dist/lib/tool-input-normalization.d.ts +4 -0
- package/dist/lib/tool-input-normalization.js +35 -0
- package/dist/lib/tool-input-normalization.js.map +1 -0
- package/dist/lib/tool-routing.d.ts +6 -2
- package/dist/lib/tool-routing.js +33 -8
- package/dist/lib/tool-routing.js.map +1 -1
- package/dist/lib/toolset-filter.d.ts +7 -3
- package/dist/lib/toolset-filter.js +144 -86
- package/dist/lib/toolset-filter.js.map +1 -1
- package/dist/lib/types.d.ts +20 -0
- package/dist/mcp-server-entry.js +49 -19
- package/dist/mcp-server-entry.js.map +1 -1
- package/package.json +4 -1
|
@@ -1,4 +1,18 @@
|
|
|
1
1
|
type AnyRecord = Record<string, any>;
|
|
2
|
+
export declare function summarizeWorkflowOperation(operation: AnyRecord): {
|
|
3
|
+
routeReload?: {
|
|
4
|
+
attempted: boolean;
|
|
5
|
+
succeeded: boolean;
|
|
6
|
+
};
|
|
7
|
+
action: any;
|
|
8
|
+
result: {
|
|
9
|
+
record?: {
|
|
10
|
+
[k: string]: any;
|
|
11
|
+
};
|
|
12
|
+
statusCode: any;
|
|
13
|
+
message: any;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
2
16
|
export declare function buildExtensionDrawerSnippet(input: any): {
|
|
3
17
|
action: string;
|
|
4
18
|
component: string;
|
|
@@ -99,8 +113,9 @@ export declare function buildExtensionConfirmSnippet(input?: AnyRecord): {
|
|
|
99
113
|
snippet: string;
|
|
100
114
|
contract: string[];
|
|
101
115
|
};
|
|
102
|
-
export declare function reviewExtensionUiContract(code: any): {
|
|
116
|
+
export declare function reviewExtensionUiContract(code: any, options?: AnyRecord): {
|
|
103
117
|
action: string;
|
|
118
|
+
pattern: string;
|
|
104
119
|
valid: boolean;
|
|
105
120
|
issueCount: number;
|
|
106
121
|
issues: {
|
|
@@ -136,15 +151,17 @@ export declare function reviewExtensionThemeContract(code: any): {
|
|
|
136
151
|
nextSteps: string[];
|
|
137
152
|
};
|
|
138
153
|
export declare function buildExtensionUiSnippet(kind: string, input?: AnyRecord): any;
|
|
139
|
-
export declare function validateExtensionCodeLocally(code: any): {
|
|
154
|
+
export declare function validateExtensionCodeLocally(code: any, options?: AnyRecord): {
|
|
155
|
+
vueSfcAst: string;
|
|
140
156
|
componentCasing: string;
|
|
141
157
|
fieldWidth: string;
|
|
142
158
|
themeContract: string;
|
|
143
159
|
runtimeContract: string;
|
|
144
160
|
};
|
|
145
|
-
export declare function validateExtensionCode(apiUrl: any, code: any, name: any): Promise<{
|
|
161
|
+
export declare function validateExtensionCode(apiUrl: any, code: any, name: any, options?: AnyRecord): Promise<{
|
|
146
162
|
valid: boolean;
|
|
147
163
|
localChecks: {
|
|
164
|
+
vueSfcAst: string;
|
|
148
165
|
componentCasing: string;
|
|
149
166
|
fieldWidth: string;
|
|
150
167
|
themeContract: string;
|
|
@@ -153,6 +170,133 @@ export declare function validateExtensionCode(apiUrl: any, code: any, name: any)
|
|
|
153
170
|
extensionId: any;
|
|
154
171
|
compiledLength: any;
|
|
155
172
|
}>;
|
|
173
|
+
export declare function buildExtensionRuntimeVerification({ extension, code, validation, uiPattern, expectedSha256 }: {
|
|
174
|
+
extension: any;
|
|
175
|
+
code: any;
|
|
176
|
+
validation: any;
|
|
177
|
+
uiPattern: any;
|
|
178
|
+
expectedSha256: any;
|
|
179
|
+
}): {
|
|
180
|
+
action: string;
|
|
181
|
+
valid: boolean;
|
|
182
|
+
extension: {
|
|
183
|
+
id: any;
|
|
184
|
+
name: any;
|
|
185
|
+
type: any;
|
|
186
|
+
isEnabled: any;
|
|
187
|
+
version: any;
|
|
188
|
+
sha256: string;
|
|
189
|
+
length: number;
|
|
190
|
+
};
|
|
191
|
+
checks: {
|
|
192
|
+
savedRecord: {
|
|
193
|
+
status: string;
|
|
194
|
+
};
|
|
195
|
+
expectedHash: {
|
|
196
|
+
status: string;
|
|
197
|
+
expectedSha256: any;
|
|
198
|
+
currentSha256: string;
|
|
199
|
+
};
|
|
200
|
+
serverCompile: {
|
|
201
|
+
status: string;
|
|
202
|
+
compiledLength: any;
|
|
203
|
+
};
|
|
204
|
+
uiContract: {
|
|
205
|
+
status: string;
|
|
206
|
+
issueCount: any;
|
|
207
|
+
pattern: any;
|
|
208
|
+
};
|
|
209
|
+
themeContract: {
|
|
210
|
+
status: string;
|
|
211
|
+
issueCount: any;
|
|
212
|
+
};
|
|
213
|
+
runtimeContract: {
|
|
214
|
+
status: string;
|
|
215
|
+
issueCount: any;
|
|
216
|
+
};
|
|
217
|
+
menuWiring: {
|
|
218
|
+
status: string;
|
|
219
|
+
applicable: boolean;
|
|
220
|
+
menu: {
|
|
221
|
+
id: any;
|
|
222
|
+
label: any;
|
|
223
|
+
path: any;
|
|
224
|
+
};
|
|
225
|
+
};
|
|
226
|
+
browserRender: {
|
|
227
|
+
status: string;
|
|
228
|
+
reason: string;
|
|
229
|
+
};
|
|
230
|
+
};
|
|
231
|
+
contractReview: any;
|
|
232
|
+
coverage: {
|
|
233
|
+
verified: string[];
|
|
234
|
+
browserRequiredForFullRuntimeProof: boolean;
|
|
235
|
+
};
|
|
236
|
+
};
|
|
237
|
+
export declare function verifyExtensionRuntime(apiUrl: any, { id, name, uiPattern, expectedSha256 }: {
|
|
238
|
+
id: any;
|
|
239
|
+
name: any;
|
|
240
|
+
uiPattern: any;
|
|
241
|
+
expectedSha256: any;
|
|
242
|
+
}): Promise<{
|
|
243
|
+
action: string;
|
|
244
|
+
valid: boolean;
|
|
245
|
+
extension: {
|
|
246
|
+
id: any;
|
|
247
|
+
name: any;
|
|
248
|
+
type: any;
|
|
249
|
+
isEnabled: any;
|
|
250
|
+
version: any;
|
|
251
|
+
sha256: string;
|
|
252
|
+
length: number;
|
|
253
|
+
};
|
|
254
|
+
checks: {
|
|
255
|
+
savedRecord: {
|
|
256
|
+
status: string;
|
|
257
|
+
};
|
|
258
|
+
expectedHash: {
|
|
259
|
+
status: string;
|
|
260
|
+
expectedSha256: any;
|
|
261
|
+
currentSha256: string;
|
|
262
|
+
};
|
|
263
|
+
serverCompile: {
|
|
264
|
+
status: string;
|
|
265
|
+
compiledLength: any;
|
|
266
|
+
};
|
|
267
|
+
uiContract: {
|
|
268
|
+
status: string;
|
|
269
|
+
issueCount: any;
|
|
270
|
+
pattern: any;
|
|
271
|
+
};
|
|
272
|
+
themeContract: {
|
|
273
|
+
status: string;
|
|
274
|
+
issueCount: any;
|
|
275
|
+
};
|
|
276
|
+
runtimeContract: {
|
|
277
|
+
status: string;
|
|
278
|
+
issueCount: any;
|
|
279
|
+
};
|
|
280
|
+
menuWiring: {
|
|
281
|
+
status: string;
|
|
282
|
+
applicable: boolean;
|
|
283
|
+
menu: {
|
|
284
|
+
id: any;
|
|
285
|
+
label: any;
|
|
286
|
+
path: any;
|
|
287
|
+
};
|
|
288
|
+
};
|
|
289
|
+
browserRender: {
|
|
290
|
+
status: string;
|
|
291
|
+
reason: string;
|
|
292
|
+
};
|
|
293
|
+
};
|
|
294
|
+
contractReview: any;
|
|
295
|
+
coverage: {
|
|
296
|
+
verified: string[];
|
|
297
|
+
browserRequiredForFullRuntimeProof: boolean;
|
|
298
|
+
};
|
|
299
|
+
}>;
|
|
156
300
|
export declare function applyExtensionCodePatches(code: any, patches: any): {
|
|
157
301
|
code: string;
|
|
158
302
|
patches: {
|
|
@@ -163,6 +307,18 @@ export declare function applyExtensionCodePatches(code: any, patches: any): {
|
|
|
163
307
|
}[];
|
|
164
308
|
results: any[];
|
|
165
309
|
};
|
|
310
|
+
export declare function buildExtensionPatchDiffArtifact({ id, name, currentSha256, nextSha256, patches }: {
|
|
311
|
+
id: any;
|
|
312
|
+
name: any;
|
|
313
|
+
currentSha256: any;
|
|
314
|
+
nextSha256: any;
|
|
315
|
+
patches: any;
|
|
316
|
+
}): {
|
|
317
|
+
tmpFile: string;
|
|
318
|
+
length: number;
|
|
319
|
+
sha256: string;
|
|
320
|
+
preview: string;
|
|
321
|
+
};
|
|
166
322
|
export declare function assertFixedFlowStepConfigIsStatic(type: any, config: any, index?: number): void;
|
|
167
323
|
export declare function registerPlatformOperationTools(server: any, ENFYRA_API_URL: any): void;
|
|
168
324
|
export {};
|