@statelyai/mcp 0.11.0 → 0.11.1
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.cjs +153 -332
- package/dist/index.d.cts +21 -10
- package/dist/index.d.mts +21 -10
- package/dist/index.mjs +153 -332
- package/package.json +4 -3
package/dist/index.d.cts
CHANGED
|
@@ -37,6 +37,16 @@ declare const projectSummarySchema: z.ZodObject<{
|
|
|
37
37
|
updatedAt: z.ZodString;
|
|
38
38
|
}, z.core.$strip>;
|
|
39
39
|
type ProjectSummary = z.infer<typeof projectSummarySchema>;
|
|
40
|
+
/**
|
|
41
|
+
* `name` and `updatedAt` are optional: some upstream project envelopes only
|
|
42
|
+
* return machine ids. Providers that can supply them cheaply should.
|
|
43
|
+
*/
|
|
44
|
+
declare const projectMachineSummarySchema: z.ZodObject<{
|
|
45
|
+
machineId: z.ZodString;
|
|
46
|
+
name: z.ZodOptional<z.ZodString>;
|
|
47
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
48
|
+
}, z.core.$strip>;
|
|
49
|
+
type ProjectMachineSummary = z.infer<typeof projectMachineSummarySchema>;
|
|
40
50
|
declare const projectSchema: z.ZodObject<{
|
|
41
51
|
projectId: z.ZodString;
|
|
42
52
|
projectVersionId: z.ZodString;
|
|
@@ -52,18 +62,19 @@ declare const projectSchema: z.ZodObject<{
|
|
|
52
62
|
rootMachineId: z.ZodNullable<z.ZodString>;
|
|
53
63
|
machines: z.ZodArray<z.ZodObject<{
|
|
54
64
|
machineId: z.ZodString;
|
|
65
|
+
name: z.ZodOptional<z.ZodString>;
|
|
66
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
55
67
|
}, z.core.$strip>>;
|
|
68
|
+
permissions: z.ZodObject<{
|
|
69
|
+
canEdit: z.ZodBoolean;
|
|
70
|
+
}, z.core.$strip>;
|
|
71
|
+
allowedVisibility: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
72
|
+
public: "public";
|
|
73
|
+
unlisted: "unlisted";
|
|
74
|
+
private: "private";
|
|
75
|
+
}>>>;
|
|
56
76
|
}, z.core.$strip>;
|
|
57
77
|
type Project = z.infer<typeof projectSchema>;
|
|
58
|
-
/**
|
|
59
|
-
* `name` is optional: the Registry project envelope only returns machine ids.
|
|
60
|
-
* Providers that can supply names cheaply should.
|
|
61
|
-
*/
|
|
62
|
-
declare const projectMachineSummarySchema: z.ZodObject<{
|
|
63
|
-
machineId: z.ZodString;
|
|
64
|
-
name: z.ZodOptional<z.ZodString>;
|
|
65
|
-
}, z.core.$strip>;
|
|
66
|
-
type ProjectMachineSummary = z.infer<typeof projectMachineSummarySchema>;
|
|
67
78
|
declare const machineSchema: z.ZodObject<{
|
|
68
79
|
machineId: z.ZodString;
|
|
69
80
|
name: z.ZodString;
|
|
@@ -188,7 +199,7 @@ type StatelyMcpToolCallEvent = Readonly<{
|
|
|
188
199
|
type StatelyMcpToolCallObserver = (event: StatelyMcpToolCallEvent) => void | Promise<void>;
|
|
189
200
|
//#endregion
|
|
190
201
|
//#region src/generated/visualizeMachineApp.d.ts
|
|
191
|
-
declare const visualizeMachineAppUri = "ui://stately/visualize-machine-
|
|
202
|
+
declare const visualizeMachineAppUri = "ui://stately/visualize-machine-01ce35dea9e1.html";
|
|
192
203
|
//#endregion
|
|
193
204
|
//#region src/server.d.ts
|
|
194
205
|
declare const reportVisualizationRenderedToolName = "report_visualization_rendered";
|
package/dist/index.d.mts
CHANGED
|
@@ -37,6 +37,16 @@ declare const projectSummarySchema: z$1.ZodObject<{
|
|
|
37
37
|
updatedAt: z$1.ZodString;
|
|
38
38
|
}, z$1.core.$strip>;
|
|
39
39
|
type ProjectSummary = z$1.infer<typeof projectSummarySchema>;
|
|
40
|
+
/**
|
|
41
|
+
* `name` and `updatedAt` are optional: some upstream project envelopes only
|
|
42
|
+
* return machine ids. Providers that can supply them cheaply should.
|
|
43
|
+
*/
|
|
44
|
+
declare const projectMachineSummarySchema: z$1.ZodObject<{
|
|
45
|
+
machineId: z$1.ZodString;
|
|
46
|
+
name: z$1.ZodOptional<z$1.ZodString>;
|
|
47
|
+
updatedAt: z$1.ZodOptional<z$1.ZodString>;
|
|
48
|
+
}, z$1.core.$strip>;
|
|
49
|
+
type ProjectMachineSummary = z$1.infer<typeof projectMachineSummarySchema>;
|
|
40
50
|
declare const projectSchema: z$1.ZodObject<{
|
|
41
51
|
projectId: z$1.ZodString;
|
|
42
52
|
projectVersionId: z$1.ZodString;
|
|
@@ -52,18 +62,19 @@ declare const projectSchema: z$1.ZodObject<{
|
|
|
52
62
|
rootMachineId: z$1.ZodNullable<z$1.ZodString>;
|
|
53
63
|
machines: z$1.ZodArray<z$1.ZodObject<{
|
|
54
64
|
machineId: z$1.ZodString;
|
|
65
|
+
name: z$1.ZodOptional<z$1.ZodString>;
|
|
66
|
+
updatedAt: z$1.ZodOptional<z$1.ZodString>;
|
|
55
67
|
}, z$1.core.$strip>>;
|
|
68
|
+
permissions: z$1.ZodObject<{
|
|
69
|
+
canEdit: z$1.ZodBoolean;
|
|
70
|
+
}, z$1.core.$strip>;
|
|
71
|
+
allowedVisibility: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
|
|
72
|
+
public: "public";
|
|
73
|
+
unlisted: "unlisted";
|
|
74
|
+
private: "private";
|
|
75
|
+
}>>>;
|
|
56
76
|
}, z$1.core.$strip>;
|
|
57
77
|
type Project = z$1.infer<typeof projectSchema>;
|
|
58
|
-
/**
|
|
59
|
-
* `name` is optional: the Registry project envelope only returns machine ids.
|
|
60
|
-
* Providers that can supply names cheaply should.
|
|
61
|
-
*/
|
|
62
|
-
declare const projectMachineSummarySchema: z$1.ZodObject<{
|
|
63
|
-
machineId: z$1.ZodString;
|
|
64
|
-
name: z$1.ZodOptional<z$1.ZodString>;
|
|
65
|
-
}, z$1.core.$strip>;
|
|
66
|
-
type ProjectMachineSummary = z$1.infer<typeof projectMachineSummarySchema>;
|
|
67
78
|
declare const machineSchema: z$1.ZodObject<{
|
|
68
79
|
machineId: z$1.ZodString;
|
|
69
80
|
name: z$1.ZodString;
|
|
@@ -188,7 +199,7 @@ type StatelyMcpToolCallEvent = Readonly<{
|
|
|
188
199
|
type StatelyMcpToolCallObserver = (event: StatelyMcpToolCallEvent) => void | Promise<void>;
|
|
189
200
|
//#endregion
|
|
190
201
|
//#region src/generated/visualizeMachineApp.d.ts
|
|
191
|
-
declare const visualizeMachineAppUri = "ui://stately/visualize-machine-
|
|
202
|
+
declare const visualizeMachineAppUri = "ui://stately/visualize-machine-01ce35dea9e1.html";
|
|
192
203
|
//#endregion
|
|
193
204
|
//#region src/server.d.ts
|
|
194
205
|
declare const reportVisualizationRenderedToolName = "report_visualization_rendered";
|