@leaflow/sdk 0.187.0 → 0.187.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/compute/v2/generated/models.d.ts +0 -1
- package/dist/compute/v2/generated/models.js +0 -1
- package/dist/compute/v2/generated/validators/createElasticIPResponseBody.zod.d.ts +0 -1
- package/dist/compute/v2/generated/validators/createInstanceResponseBody.zod.d.ts +0 -1
- package/dist/compute/v2/generated/validators/createPrivateImageResponseBody.zod.d.ts +0 -1
- package/dist/compute/v2/generated/validators/createVolumeBackupResponseBody.zod.d.ts +0 -1
- package/dist/compute/v2/generated/validators/createVolumeResponseBody.zod.d.ts +0 -1
- package/dist/compute/v2/generated/validators/createVolumeSnapshotResponseBody.zod.d.ts +0 -1
- package/dist/compute/v2/generated/validators/deleteElasticIPResponseBody.zod.d.ts +0 -1
- package/dist/compute/v2/generated/validators/deleteInstanceResponseBody.zod.d.ts +0 -1
- package/dist/compute/v2/generated/validators/deletePrivateImageResponseBody.zod.d.ts +0 -1
- package/dist/compute/v2/generated/validators/deleteVolumeBackupResponseBody.zod.d.ts +0 -1
- package/dist/compute/v2/generated/validators/deleteVolumeResponseBody.zod.d.ts +0 -1
- package/dist/compute/v2/generated/validators/deleteVolumeSnapshotResponseBody.zod.d.ts +0 -1
- package/dist/compute/v2/generated/validators/elasticIP.zod.d.ts +0 -1
- package/dist/compute/v2/generated/validators/elasticIPListResponseBody.zod.d.ts +0 -1
- package/dist/compute/v2/generated/validators/instance.zod.d.ts +0 -1
- package/dist/compute/v2/generated/validators/instanceListResponseBody.zod.d.ts +0 -1
- package/dist/compute/v2/generated/validators/privateImageListResponseBody.zod.d.ts +0 -1
- package/dist/compute/v2/generated/validators/privateImageResource.zod.d.ts +0 -1
- package/dist/compute/v2/generated/validators/rebuildInstanceResponseBody.zod.d.ts +0 -1
- package/dist/compute/v2/generated/validators/releaseResource.zod.d.ts +0 -1
- package/dist/compute/v2/generated/validators/releaseSetItem.zod.d.ts +0 -1
- package/dist/compute/v2/generated/validators/rescueInstanceResponseBody.zod.d.ts +0 -1
- package/dist/compute/v2/generated/validators/updateElasticIPResponseBody.zod.d.ts +0 -1
- package/dist/compute/v2/generated/validators/updateInstanceResponseBody.zod.d.ts +0 -1
- package/dist/compute/v2/generated/validators/updateVolumeResponseBody.zod.d.ts +0 -1
- package/dist/compute/v2/generated/validators/volumeBackupListResponseBody.zod.d.ts +0 -1
- package/dist/compute/v2/generated/validators/volumeBackupResource.zod.d.ts +0 -1
- package/dist/compute/v2/generated/validators/volumeListResponseBody.zod.d.ts +0 -1
- package/dist/compute/v2/generated/validators/volumeResource.zod.d.ts +0 -1
- package/dist/compute/v2/generated/validators/volumeSnapshotListResponseBody.zod.d.ts +0 -1
- package/dist/compute/v2/generated/validators/volumeSnapshotReleaseResource.zod.d.ts +0 -1
- package/dist/compute/v2/generated/validators/volumeSnapshotReleaseResource.zod.js +1 -1
- package/dist/compute/v2/generated/validators/volumeSnapshotResource.zod.d.ts +0 -1
- package/dist/fleet/v1/generated/functions.d.ts +7 -0
- package/dist/fleet/v1/generated/functions.js +7 -0
- package/dist/fleet/v1/generated/schemas.zod.d.ts +7 -0
- package/dist/fleet/v1/generated/schemas.zod.js +7 -0
- package/dist/proto/leaflow/fleet/mcp/v1/mcp_pb.d.ts +10 -3
- package/dist/proto/leaflow/fleet/mcp/v1/mcp_pb.js +4 -1
- package/package.json +1 -1
|
@@ -390,7 +390,6 @@ export interface ElasticIPReleaseResource {
|
|
|
390
390
|
export type VolumeSnapshotReleaseResourceType = (typeof VolumeSnapshotReleaseResourceType)[keyof typeof VolumeSnapshotReleaseResourceType];
|
|
391
391
|
export declare const VolumeSnapshotReleaseResourceType: {
|
|
392
392
|
readonly volume_snapshot: "volume_snapshot";
|
|
393
|
-
readonly snapshot: "snapshot";
|
|
394
393
|
};
|
|
395
394
|
/**
|
|
396
395
|
* Compute VolumeSnapshot TypeID. UUID text is not accepted.
|
|
@@ -67,7 +67,6 @@ export const ElasticIPReleaseResourceType = {
|
|
|
67
67
|
};
|
|
68
68
|
export const VolumeSnapshotReleaseResourceType = {
|
|
69
69
|
volume_snapshot: "volume_snapshot",
|
|
70
|
-
snapshot: "snapshot",
|
|
71
70
|
};
|
|
72
71
|
export const VolumeBackupReleaseResourceType = {
|
|
73
72
|
volume_backup: "volume_backup",
|
|
@@ -123,7 +123,6 @@ export declare const CreateInstanceResponseBody: zod.ZodObject<{
|
|
|
123
123
|
}, zod.z.core.$strict>, zod.ZodObject<{
|
|
124
124
|
type: zod.ZodEnum<{
|
|
125
125
|
volume_snapshot: "volume_snapshot";
|
|
126
|
-
snapshot: "snapshot";
|
|
127
126
|
}>;
|
|
128
127
|
id: zod.ZodString;
|
|
129
128
|
name: zod.ZodString;
|
|
@@ -122,7 +122,6 @@ export declare const DeleteInstanceResponseBody: zod.ZodObject<{
|
|
|
122
122
|
}, zod.z.core.$strict>, zod.ZodObject<{
|
|
123
123
|
type: zod.ZodEnum<{
|
|
124
124
|
volume_snapshot: "volume_snapshot";
|
|
125
|
-
snapshot: "snapshot";
|
|
126
125
|
}>;
|
|
127
126
|
id: zod.ZodString;
|
|
128
127
|
name: zod.ZodString;
|
|
@@ -122,7 +122,6 @@ export declare const RebuildInstanceResponseBody: zod.ZodObject<{
|
|
|
122
122
|
}, zod.z.core.$strict>, zod.ZodObject<{
|
|
123
123
|
type: zod.ZodEnum<{
|
|
124
124
|
volume_snapshot: "volume_snapshot";
|
|
125
|
-
snapshot: "snapshot";
|
|
126
125
|
}>;
|
|
127
126
|
id: zod.ZodString;
|
|
128
127
|
name: zod.ZodString;
|
|
@@ -54,7 +54,6 @@ export declare const ReleaseResource: zod.ZodDiscriminatedUnion<[zod.ZodObject<{
|
|
|
54
54
|
}, zod.z.core.$strict>, zod.ZodObject<{
|
|
55
55
|
type: zod.ZodEnum<{
|
|
56
56
|
volume_snapshot: "volume_snapshot";
|
|
57
|
-
snapshot: "snapshot";
|
|
58
57
|
}>;
|
|
59
58
|
id: zod.ZodString;
|
|
60
59
|
name: zod.ZodString;
|
|
@@ -123,7 +123,6 @@ export declare const RescueInstanceResponseBody: zod.ZodObject<{
|
|
|
123
123
|
}, zod.z.core.$strict>, zod.ZodObject<{
|
|
124
124
|
type: zod.ZodEnum<{
|
|
125
125
|
volume_snapshot: "volume_snapshot";
|
|
126
|
-
snapshot: "snapshot";
|
|
127
126
|
}>;
|
|
128
127
|
id: zod.ZodString;
|
|
129
128
|
name: zod.ZodString;
|
|
@@ -122,7 +122,6 @@ export declare const UpdateInstanceResponseBody: zod.ZodObject<{
|
|
|
122
122
|
}, zod.z.core.$strict>, zod.ZodObject<{
|
|
123
123
|
type: zod.ZodEnum<{
|
|
124
124
|
volume_snapshot: "volume_snapshot";
|
|
125
|
-
snapshot: "snapshot";
|
|
126
125
|
}>;
|
|
127
126
|
id: zod.ZodString;
|
|
128
127
|
name: zod.ZodString;
|
|
@@ -36,7 +36,7 @@ import * as zod from "zod";
|
|
|
36
36
|
import { VolumeSnapshotID } from "./volumeSnapshotID.zod.js";
|
|
37
37
|
export const VolumeSnapshotReleaseResource = zod
|
|
38
38
|
.strictObject({
|
|
39
|
-
type: zod.enum(["volume_snapshot"
|
|
39
|
+
type: zod.enum(["volume_snapshot"]),
|
|
40
40
|
id: VolumeSnapshotID,
|
|
41
41
|
name: zod.string().describe("The current display name of the selected resource."),
|
|
42
42
|
})
|
|
@@ -410,6 +410,7 @@ export declare const getGetMcpConfigurationUrl: (machineId: string) => string;
|
|
|
410
410
|
* - `FEATURE_UNAVAILABLE` when the machine does not offer `leaflow.fleet.mcp.v1`;
|
|
411
411
|
* - `USER_NOT_FOUND`, `USER_NOT_ALLOWED`, `ACCOUNT_EXPIRED` or `PAM_PERMISSION_DENIED` when
|
|
412
412
|
* the machine refuses the account, as for opening a session;
|
|
413
|
+
* - `MCP_START_FAILED` when the machine could not start MCP for the caller's account;
|
|
413
414
|
* - `MACHINE_TIMEOUT` when the machine did not answer in time.
|
|
414
415
|
* @summary Get the caller's MCP configuration on a machine
|
|
415
416
|
*/
|
|
@@ -441,10 +442,12 @@ export declare const getReplaceMcpConfigurationUrl: (machineId: string) => strin
|
|
|
441
442
|
* - `MCP_CONFIGURATION_CHANGED` when the file is no longer at `expected_revision`;
|
|
442
443
|
* - `MCP_CONFIGURATION_INVALID` when `content` is not an object with an object `mcpServers`,
|
|
443
444
|
* with `metadata.line` and `metadata.column`;
|
|
445
|
+
* - `MCP_CONFIGURATION_WRITE_FAILED` when the machine could not write the file;
|
|
444
446
|
* - `MACHINE_OFFLINE` when the machine is not connected and does not connect again in time;
|
|
445
447
|
* - `FEATURE_UNAVAILABLE` when the machine does not offer `leaflow.fleet.mcp.v1`;
|
|
446
448
|
* - `USER_NOT_FOUND`, `USER_NOT_ALLOWED`, `ACCOUNT_EXPIRED` or `PAM_PERMISSION_DENIED` when
|
|
447
449
|
* the machine refuses the account, as for opening a session;
|
|
450
|
+
* - `MCP_START_FAILED` when the machine could not start MCP for the caller's account;
|
|
448
451
|
* - `MACHINE_TIMEOUT` when the machine did not answer in time.
|
|
449
452
|
* @summary Replace the caller's MCP configuration on a machine
|
|
450
453
|
*/
|
|
@@ -476,10 +479,12 @@ export declare const getUpdateMcpServerUrl: (machineId: string, serverName: stri
|
|
|
476
479
|
* - `MCP_CONFIGURATION_CHANGED` when the file is no longer at `expected_revision`;
|
|
477
480
|
* - `MCP_CONFIGURATION_INVALID` when the file cannot be read or is not valid; replace it
|
|
478
481
|
* whole first;
|
|
482
|
+
* - `MCP_CONFIGURATION_WRITE_FAILED` when the machine could not write the file;
|
|
479
483
|
* - `MACHINE_OFFLINE` when the machine is not connected and does not connect again in time;
|
|
480
484
|
* - `FEATURE_UNAVAILABLE` when the machine does not offer `leaflow.fleet.mcp.v1`;
|
|
481
485
|
* - `USER_NOT_FOUND`, `USER_NOT_ALLOWED`, `ACCOUNT_EXPIRED` or `PAM_PERMISSION_DENIED` when
|
|
482
486
|
* the machine refuses the account, as for opening a session;
|
|
487
|
+
* - `MCP_START_FAILED` when the machine could not start MCP for the caller's account;
|
|
483
488
|
* - `MACHINE_TIMEOUT` when the machine did not answer in time.
|
|
484
489
|
* @summary Add or replace an MCP server
|
|
485
490
|
*/
|
|
@@ -545,6 +550,7 @@ export declare const getSendMcpRequestUrl: (machineId: string, serverName: strin
|
|
|
545
550
|
* - `FEATURE_UNAVAILABLE` when the machine does not offer `leaflow.fleet.mcp.v1`;
|
|
546
551
|
* - `USER_NOT_FOUND`, `USER_NOT_ALLOWED`, `ACCOUNT_EXPIRED` or `PAM_PERMISSION_DENIED` when
|
|
547
552
|
* the machine refuses the account, as for opening a session;
|
|
553
|
+
* - `MCP_START_FAILED` when the machine could not start MCP for the caller's account;
|
|
548
554
|
* - `MACHINE_TIMEOUT` when the machine did not answer in time.
|
|
549
555
|
* @summary Send an MCP request to a server
|
|
550
556
|
*/
|
|
@@ -609,6 +615,7 @@ export declare const getListMcpToolsUrl: (machineId: string, params?: ListMcpToo
|
|
|
609
615
|
* - `FEATURE_UNAVAILABLE` when the machine does not offer `leaflow.fleet.mcp.v1`;
|
|
610
616
|
* - `USER_NOT_FOUND`, `USER_NOT_ALLOWED`, `ACCOUNT_EXPIRED` or `PAM_PERMISSION_DENIED` when
|
|
611
617
|
* the machine refuses the account, as for opening a session;
|
|
618
|
+
* - `MCP_START_FAILED` when the machine could not start MCP for the caller's account;
|
|
612
619
|
* - `MACHINE_TIMEOUT` when the machine did not answer in time.
|
|
613
620
|
* @summary List the caller's MCP tools on a machine
|
|
614
621
|
*/
|
|
@@ -187,6 +187,7 @@ export const getGetMcpConfigurationUrl = (machineId) => {
|
|
|
187
187
|
* - `FEATURE_UNAVAILABLE` when the machine does not offer `leaflow.fleet.mcp.v1`;
|
|
188
188
|
* - `USER_NOT_FOUND`, `USER_NOT_ALLOWED`, `ACCOUNT_EXPIRED` or `PAM_PERMISSION_DENIED` when
|
|
189
189
|
* the machine refuses the account, as for opening a session;
|
|
190
|
+
* - `MCP_START_FAILED` when the machine could not start MCP for the caller's account;
|
|
190
191
|
* - `MACHINE_TIMEOUT` when the machine did not answer in time.
|
|
191
192
|
* @summary Get the caller's MCP configuration on a machine
|
|
192
193
|
*/
|
|
@@ -213,10 +214,12 @@ export const getReplaceMcpConfigurationUrl = (machineId) => {
|
|
|
213
214
|
* - `MCP_CONFIGURATION_CHANGED` when the file is no longer at `expected_revision`;
|
|
214
215
|
* - `MCP_CONFIGURATION_INVALID` when `content` is not an object with an object `mcpServers`,
|
|
215
216
|
* with `metadata.line` and `metadata.column`;
|
|
217
|
+
* - `MCP_CONFIGURATION_WRITE_FAILED` when the machine could not write the file;
|
|
216
218
|
* - `MACHINE_OFFLINE` when the machine is not connected and does not connect again in time;
|
|
217
219
|
* - `FEATURE_UNAVAILABLE` when the machine does not offer `leaflow.fleet.mcp.v1`;
|
|
218
220
|
* - `USER_NOT_FOUND`, `USER_NOT_ALLOWED`, `ACCOUNT_EXPIRED` or `PAM_PERMISSION_DENIED` when
|
|
219
221
|
* the machine refuses the account, as for opening a session;
|
|
222
|
+
* - `MCP_START_FAILED` when the machine could not start MCP for the caller's account;
|
|
220
223
|
* - `MACHINE_TIMEOUT` when the machine did not answer in time.
|
|
221
224
|
* @summary Replace the caller's MCP configuration on a machine
|
|
222
225
|
*/
|
|
@@ -260,10 +263,12 @@ export const getUpdateMcpServerUrl = (machineId, serverName) => {
|
|
|
260
263
|
* - `MCP_CONFIGURATION_CHANGED` when the file is no longer at `expected_revision`;
|
|
261
264
|
* - `MCP_CONFIGURATION_INVALID` when the file cannot be read or is not valid; replace it
|
|
262
265
|
* whole first;
|
|
266
|
+
* - `MCP_CONFIGURATION_WRITE_FAILED` when the machine could not write the file;
|
|
263
267
|
* - `MACHINE_OFFLINE` when the machine is not connected and does not connect again in time;
|
|
264
268
|
* - `FEATURE_UNAVAILABLE` when the machine does not offer `leaflow.fleet.mcp.v1`;
|
|
265
269
|
* - `USER_NOT_FOUND`, `USER_NOT_ALLOWED`, `ACCOUNT_EXPIRED` or `PAM_PERMISSION_DENIED` when
|
|
266
270
|
* the machine refuses the account, as for opening a session;
|
|
271
|
+
* - `MCP_START_FAILED` when the machine could not start MCP for the caller's account;
|
|
267
272
|
* - `MACHINE_TIMEOUT` when the machine did not answer in time.
|
|
268
273
|
* @summary Add or replace an MCP server
|
|
269
274
|
*/
|
|
@@ -345,6 +350,7 @@ export const getSendMcpRequestUrl = (machineId, serverName) => {
|
|
|
345
350
|
* - `FEATURE_UNAVAILABLE` when the machine does not offer `leaflow.fleet.mcp.v1`;
|
|
346
351
|
* - `USER_NOT_FOUND`, `USER_NOT_ALLOWED`, `ACCOUNT_EXPIRED` or `PAM_PERMISSION_DENIED` when
|
|
347
352
|
* the machine refuses the account, as for opening a session;
|
|
353
|
+
* - `MCP_START_FAILED` when the machine could not start MCP for the caller's account;
|
|
348
354
|
* - `MACHINE_TIMEOUT` when the machine did not answer in time.
|
|
349
355
|
* @summary Send an MCP request to a server
|
|
350
356
|
*/
|
|
@@ -442,6 +448,7 @@ export const getListMcpToolsUrl = (machineId, params) => {
|
|
|
442
448
|
* - `FEATURE_UNAVAILABLE` when the machine does not offer `leaflow.fleet.mcp.v1`;
|
|
443
449
|
* - `USER_NOT_FOUND`, `USER_NOT_ALLOWED`, `ACCOUNT_EXPIRED` or `PAM_PERMISSION_DENIED` when
|
|
444
450
|
* the machine refuses the account, as for opening a session;
|
|
451
|
+
* - `MCP_START_FAILED` when the machine could not start MCP for the caller's account;
|
|
445
452
|
* - `MACHINE_TIMEOUT` when the machine did not answer in time.
|
|
446
453
|
* @summary List the caller's MCP tools on a machine
|
|
447
454
|
*/
|
|
@@ -330,6 +330,7 @@ export declare const RunMachineCommandBody: zod.ZodObject<{
|
|
|
330
330
|
* - `FEATURE_UNAVAILABLE` when the machine does not offer `leaflow.fleet.mcp.v1`;
|
|
331
331
|
* - `USER_NOT_FOUND`, `USER_NOT_ALLOWED`, `ACCOUNT_EXPIRED` or `PAM_PERMISSION_DENIED` when
|
|
332
332
|
* the machine refuses the account, as for opening a session;
|
|
333
|
+
* - `MCP_START_FAILED` when the machine could not start MCP for the caller's account;
|
|
333
334
|
* - `MACHINE_TIMEOUT` when the machine did not answer in time.
|
|
334
335
|
* @summary Get the caller's MCP configuration on a machine
|
|
335
336
|
*/
|
|
@@ -347,10 +348,12 @@ export declare const GetMcpConfigurationParams: zod.ZodObject<{
|
|
|
347
348
|
* - `MCP_CONFIGURATION_CHANGED` when the file is no longer at `expected_revision`;
|
|
348
349
|
* - `MCP_CONFIGURATION_INVALID` when `content` is not an object with an object `mcpServers`,
|
|
349
350
|
* with `metadata.line` and `metadata.column`;
|
|
351
|
+
* - `MCP_CONFIGURATION_WRITE_FAILED` when the machine could not write the file;
|
|
350
352
|
* - `MACHINE_OFFLINE` when the machine is not connected and does not connect again in time;
|
|
351
353
|
* - `FEATURE_UNAVAILABLE` when the machine does not offer `leaflow.fleet.mcp.v1`;
|
|
352
354
|
* - `USER_NOT_FOUND`, `USER_NOT_ALLOWED`, `ACCOUNT_EXPIRED` or `PAM_PERMISSION_DENIED` when
|
|
353
355
|
* the machine refuses the account, as for opening a session;
|
|
356
|
+
* - `MCP_START_FAILED` when the machine could not start MCP for the caller's account;
|
|
354
357
|
* - `MACHINE_TIMEOUT` when the machine did not answer in time.
|
|
355
358
|
* @summary Replace the caller's MCP configuration on a machine
|
|
356
359
|
*/
|
|
@@ -372,10 +375,12 @@ export declare const ReplaceMcpConfigurationBody: zod.ZodObject<{
|
|
|
372
375
|
* - `MCP_CONFIGURATION_CHANGED` when the file is no longer at `expected_revision`;
|
|
373
376
|
* - `MCP_CONFIGURATION_INVALID` when the file cannot be read or is not valid; replace it
|
|
374
377
|
* whole first;
|
|
378
|
+
* - `MCP_CONFIGURATION_WRITE_FAILED` when the machine could not write the file;
|
|
375
379
|
* - `MACHINE_OFFLINE` when the machine is not connected and does not connect again in time;
|
|
376
380
|
* - `FEATURE_UNAVAILABLE` when the machine does not offer `leaflow.fleet.mcp.v1`;
|
|
377
381
|
* - `USER_NOT_FOUND`, `USER_NOT_ALLOWED`, `ACCOUNT_EXPIRED` or `PAM_PERMISSION_DENIED` when
|
|
378
382
|
* the machine refuses the account, as for opening a session;
|
|
383
|
+
* - `MCP_START_FAILED` when the machine could not start MCP for the caller's account;
|
|
379
384
|
* - `MACHINE_TIMEOUT` when the machine did not answer in time.
|
|
380
385
|
* @summary Add or replace an MCP server
|
|
381
386
|
*/
|
|
@@ -437,6 +442,7 @@ export declare const DeleteMcpServerQueryParams: zod.ZodObject<{
|
|
|
437
442
|
* - `FEATURE_UNAVAILABLE` when the machine does not offer `leaflow.fleet.mcp.v1`;
|
|
438
443
|
* - `USER_NOT_FOUND`, `USER_NOT_ALLOWED`, `ACCOUNT_EXPIRED` or `PAM_PERMISSION_DENIED` when
|
|
439
444
|
* the machine refuses the account, as for opening a session;
|
|
445
|
+
* - `MCP_START_FAILED` when the machine could not start MCP for the caller's account;
|
|
440
446
|
* - `MACHINE_TIMEOUT` when the machine did not answer in time.
|
|
441
447
|
* @summary Send an MCP request to a server
|
|
442
448
|
*/
|
|
@@ -487,6 +493,7 @@ export declare const CallMcpToolBody: zod.ZodObject<{
|
|
|
487
493
|
* - `FEATURE_UNAVAILABLE` when the machine does not offer `leaflow.fleet.mcp.v1`;
|
|
488
494
|
* - `USER_NOT_FOUND`, `USER_NOT_ALLOWED`, `ACCOUNT_EXPIRED` or `PAM_PERMISSION_DENIED` when
|
|
489
495
|
* the machine refuses the account, as for opening a session;
|
|
496
|
+
* - `MCP_START_FAILED` when the machine could not start MCP for the caller's account;
|
|
490
497
|
* - `MACHINE_TIMEOUT` when the machine did not answer in time.
|
|
491
498
|
* @summary List the caller's MCP tools on a machine
|
|
492
499
|
*/
|
|
@@ -368,6 +368,7 @@ export const RunMachineCommandBody = RunCommandRequest;
|
|
|
368
368
|
* - `FEATURE_UNAVAILABLE` when the machine does not offer `leaflow.fleet.mcp.v1`;
|
|
369
369
|
* - `USER_NOT_FOUND`, `USER_NOT_ALLOWED`, `ACCOUNT_EXPIRED` or `PAM_PERMISSION_DENIED` when
|
|
370
370
|
* the machine refuses the account, as for opening a session;
|
|
371
|
+
* - `MCP_START_FAILED` when the machine could not start MCP for the caller's account;
|
|
371
372
|
* - `MACHINE_TIMEOUT` when the machine did not answer in time.
|
|
372
373
|
* @summary Get the caller's MCP configuration on a machine
|
|
373
374
|
*/
|
|
@@ -385,10 +386,12 @@ export const GetMcpConfigurationParams = zod.strictObject({
|
|
|
385
386
|
* - `MCP_CONFIGURATION_CHANGED` when the file is no longer at `expected_revision`;
|
|
386
387
|
* - `MCP_CONFIGURATION_INVALID` when `content` is not an object with an object `mcpServers`,
|
|
387
388
|
* with `metadata.line` and `metadata.column`;
|
|
389
|
+
* - `MCP_CONFIGURATION_WRITE_FAILED` when the machine could not write the file;
|
|
388
390
|
* - `MACHINE_OFFLINE` when the machine is not connected and does not connect again in time;
|
|
389
391
|
* - `FEATURE_UNAVAILABLE` when the machine does not offer `leaflow.fleet.mcp.v1`;
|
|
390
392
|
* - `USER_NOT_FOUND`, `USER_NOT_ALLOWED`, `ACCOUNT_EXPIRED` or `PAM_PERMISSION_DENIED` when
|
|
391
393
|
* the machine refuses the account, as for opening a session;
|
|
394
|
+
* - `MCP_START_FAILED` when the machine could not start MCP for the caller's account;
|
|
392
395
|
* - `MACHINE_TIMEOUT` when the machine did not answer in time.
|
|
393
396
|
* @summary Replace the caller's MCP configuration on a machine
|
|
394
397
|
*/
|
|
@@ -407,10 +410,12 @@ export const ReplaceMcpConfigurationBody = ReplaceMcpConfigurationRequest;
|
|
|
407
410
|
* - `MCP_CONFIGURATION_CHANGED` when the file is no longer at `expected_revision`;
|
|
408
411
|
* - `MCP_CONFIGURATION_INVALID` when the file cannot be read or is not valid; replace it
|
|
409
412
|
* whole first;
|
|
413
|
+
* - `MCP_CONFIGURATION_WRITE_FAILED` when the machine could not write the file;
|
|
410
414
|
* - `MACHINE_OFFLINE` when the machine is not connected and does not connect again in time;
|
|
411
415
|
* - `FEATURE_UNAVAILABLE` when the machine does not offer `leaflow.fleet.mcp.v1`;
|
|
412
416
|
* - `USER_NOT_FOUND`, `USER_NOT_ALLOWED`, `ACCOUNT_EXPIRED` or `PAM_PERMISSION_DENIED` when
|
|
413
417
|
* the machine refuses the account, as for opening a session;
|
|
418
|
+
* - `MCP_START_FAILED` when the machine could not start MCP for the caller's account;
|
|
414
419
|
* - `MACHINE_TIMEOUT` when the machine did not answer in time.
|
|
415
420
|
* @summary Add or replace an MCP server
|
|
416
421
|
*/
|
|
@@ -467,6 +472,7 @@ export const DeleteMcpServerQueryParams = zod.strictObject({
|
|
|
467
472
|
* - `FEATURE_UNAVAILABLE` when the machine does not offer `leaflow.fleet.mcp.v1`;
|
|
468
473
|
* - `USER_NOT_FOUND`, `USER_NOT_ALLOWED`, `ACCOUNT_EXPIRED` or `PAM_PERMISSION_DENIED` when
|
|
469
474
|
* the machine refuses the account, as for opening a session;
|
|
475
|
+
* - `MCP_START_FAILED` when the machine could not start MCP for the caller's account;
|
|
470
476
|
* - `MACHINE_TIMEOUT` when the machine did not answer in time.
|
|
471
477
|
* @summary Send an MCP request to a server
|
|
472
478
|
*/
|
|
@@ -517,6 +523,7 @@ export const CallMcpToolBody = CallMcpToolRequest;
|
|
|
517
523
|
* - `FEATURE_UNAVAILABLE` when the machine does not offer `leaflow.fleet.mcp.v1`;
|
|
518
524
|
* - `USER_NOT_FOUND`, `USER_NOT_ALLOWED`, `ACCOUNT_EXPIRED` or `PAM_PERMISSION_DENIED` when
|
|
519
525
|
* the machine refuses the account, as for opening a session;
|
|
526
|
+
* - `MCP_START_FAILED` when the machine could not start MCP for the caller's account;
|
|
520
527
|
* - `MACHINE_TIMEOUT` when the machine did not answer in time.
|
|
521
528
|
* @summary List the caller's MCP tools on a machine
|
|
522
529
|
*/
|
|
@@ -775,7 +775,10 @@ export declare const McpServerFailureSchema: GenEnum<McpServerFailure>;
|
|
|
775
775
|
* - NOT_FOUND and reason USER_NOT_FOUND for an account the machine's copy
|
|
776
776
|
* of the directory does not hold for user_id;
|
|
777
777
|
* - PERMISSION_DENIED and reason USER_NOT_ALLOWED, ACCOUNT_EXPIRED or
|
|
778
|
-
* PAM_PERMISSION_DENIED, as for leaflow.fleet.command.v1 RunCommand
|
|
778
|
+
* PAM_PERMISSION_DENIED, as for leaflow.fleet.command.v1 RunCommand;
|
|
779
|
+
* - INTERNAL and reason MCP_START_FAILED when the machine could not start
|
|
780
|
+
* MCP for the account in time for another reason; UNAVAILABLE with the
|
|
781
|
+
* same reason while the Agent is stopping.
|
|
779
782
|
*
|
|
780
783
|
* @generated from service leaflow.fleet.mcp.v1.McpService
|
|
781
784
|
*/
|
|
@@ -799,7 +802,9 @@ export declare const McpService: GenService<{
|
|
|
799
802
|
* - FAILED_PRECONDITION and reason MCP_CONFIGURATION_CHANGED when the
|
|
800
803
|
* file is no longer at expected_revision;
|
|
801
804
|
* - FAILED_PRECONDITION and reason MCP_CONFIGURATION_INVALID when the
|
|
802
|
-
* file cannot be read or is not valid: replace it whole first
|
|
805
|
+
* file cannot be read or is not valid: replace it whole first;
|
|
806
|
+
* - INTERNAL and reason MCP_CONFIGURATION_WRITE_FAILED when the file could
|
|
807
|
+
* not be written, such as on a full disk.
|
|
803
808
|
*
|
|
804
809
|
* @generated from rpc leaflow.fleet.mcp.v1.McpService.PutMcpServer
|
|
805
810
|
*/
|
|
@@ -830,7 +835,9 @@ export declare const McpService: GenService<{
|
|
|
830
835
|
* PutMcpServer;
|
|
831
836
|
* - INVALID_ARGUMENT and reason MCP_CONFIGURATION_INVALID when content is
|
|
832
837
|
* not a JSON object with an object "mcpServers", with metadata "line"
|
|
833
|
-
* and "column" of the first error
|
|
838
|
+
* and "column" of the first error;
|
|
839
|
+
* - INTERNAL and reason MCP_CONFIGURATION_WRITE_FAILED as for
|
|
840
|
+
* PutMcpServer.
|
|
834
841
|
*
|
|
835
842
|
* @generated from rpc leaflow.fleet.mcp.v1.McpService.ReplaceMcpConfiguration
|
|
836
843
|
*/
|
|
@@ -299,7 +299,10 @@ export const McpServerFailureSchema = /*@__PURE__*/ enumDesc(file_leaflow_fleet_
|
|
|
299
299
|
* - NOT_FOUND and reason USER_NOT_FOUND for an account the machine's copy
|
|
300
300
|
* of the directory does not hold for user_id;
|
|
301
301
|
* - PERMISSION_DENIED and reason USER_NOT_ALLOWED, ACCOUNT_EXPIRED or
|
|
302
|
-
* PAM_PERMISSION_DENIED, as for leaflow.fleet.command.v1 RunCommand
|
|
302
|
+
* PAM_PERMISSION_DENIED, as for leaflow.fleet.command.v1 RunCommand;
|
|
303
|
+
* - INTERNAL and reason MCP_START_FAILED when the machine could not start
|
|
304
|
+
* MCP for the account in time for another reason; UNAVAILABLE with the
|
|
305
|
+
* same reason while the Agent is stopping.
|
|
303
306
|
*
|
|
304
307
|
* @generated from service leaflow.fleet.mcp.v1.McpService
|
|
305
308
|
*/
|