@leaflow/sdk 0.200.2 → 0.202.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/dist/fleet/v1/generated/functions.d.ts +120 -49
- package/dist/fleet/v1/generated/functions.js +122 -48
- package/dist/fleet/v1/generated/models.d.ts +180 -62
- package/dist/fleet/v1/generated/models.js +18 -0
- package/dist/fleet/v1/generated/schemas.zod.d.ts +113 -45
- package/dist/fleet/v1/generated/schemas.zod.js +101 -61
- package/dist/fleet/v1/generated/validators/accountList.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/accountList.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/accountResource.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/accountResource.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/approveEnrollmentRequest.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/approveEnrollmentRequest.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/callMcpToolRequest.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/callMcpToolRequest.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/callMcpToolResponse.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/callMcpToolResponse.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/callToolRequest.zod.d.ts +264 -0
- package/dist/fleet/v1/generated/validators/callToolRequest.zod.js +262 -0
- package/dist/fleet/v1/generated/validators/callToolResponse.zod.d.ts +270 -0
- package/dist/fleet/v1/generated/validators/{mcpToolList.zod.js → callToolResponse.zod.js} +19 -12
- package/dist/fleet/v1/generated/validators/createGroupMemberRequest.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/createGroupMemberRequest.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/createGroupRequest.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/createGroupRequest.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/createMachineRegistrationRequest.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/createMachineRegistrationRequest.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/createMachineRegistrationResponse.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/createMachineRegistrationResponse.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/createParticipantRequest.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/createParticipantRequest.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/createParticipantResponse.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/createParticipantResponse.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/createPeerConnectionCandidatesRequest.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/createPeerConnectionCandidatesRequest.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/createPeerConnectionRequest.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/createPeerConnectionRequest.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/createSessionRequest.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/createSessionRequest.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/cursorPagination.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/cursorPagination.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/deleteMcpServerParams.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/deleteMcpServerParams.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/denyPrivilegeRequestRequest.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/denyPrivilegeRequestRequest.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/desktopOptions.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/desktopOptions.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/desktopState.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/desktopState.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/directoryName.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/directoryName.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/enrollmentResource.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/enrollmentResource.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/enrollmentState.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/enrollmentState.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/error.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/error.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/errorStatus.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/errorStatus.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/featureState.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/featureState.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/fieldViolation.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/fieldViolation.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/findEnrollmentByPairingCodeParams.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/findEnrollmentByPairingCodeParams.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/findEnrollmentResponse.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/findEnrollmentResponse.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/getPeerConnectionParams.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/getPeerConnectionParams.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/groupList.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/groupList.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/groupResource.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/groupResource.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/iceCandidate.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/iceCandidate.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/iceServer.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/iceServer.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/listAccountsParams.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/listAccountsParams.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/listGroupMembersParams.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/listGroupMembersParams.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/listGroupsParams.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/listGroupsParams.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/listMachineEventsParams.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/listMachineEventsParams.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/listMachineRegistrationsParams.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/listMachineRegistrationsParams.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/listMachinesParams.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/listMachinesParams.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/listPrivilegeAutoApprovalsParams.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/listPrivilegeAutoApprovalsParams.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/listPrivilegeRequestsParams.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/listPrivilegeRequestsParams.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/listSessionsParams.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/listSessionsParams.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/listToolsParams.zod.d.ts +267 -0
- package/dist/fleet/v1/generated/validators/listToolsParams.zod.js +265 -0
- package/dist/fleet/v1/generated/validators/machineEventList.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/machineEventList.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/machineEventResource.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/machineEventResource.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/machineEventType.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/machineEventType.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/machineFeature.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/machineFeature.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/machineList.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/machineList.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/machineRegistrationList.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/machineRegistrationList.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/machineRegistrationResource.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/machineRegistrationResource.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/machineRegistrationState.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/machineRegistrationState.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/machineResource.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/machineResource.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/mcpConfigurationFile.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/mcpConfigurationFile.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/mcpConfigurationResource.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/mcpConfigurationResource.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/mcpImplementation.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/mcpImplementation.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/mcpServerFailure.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/mcpServerFailure.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/mcpServerResource.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/mcpServerResource.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/mcpTransport.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/mcpTransport.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/migrationStep.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/migrationStep.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/namedIdentity.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/namedIdentity.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/offsetPagination.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/offsetPagination.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/operatingSystem.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/operatingSystem.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/participantList.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/participantList.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/participantResource.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/participantResource.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/peerConnection.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/peerConnection.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/privilegeAutoApprovalList.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/privilegeAutoApprovalList.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/privilegeAutoApprovalMode.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/privilegeAutoApprovalMode.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/privilegeAutoApprovalResource.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/privilegeAutoApprovalResource.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/privilegeDecider.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/privilegeDecider.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/privilegeRequestList.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/privilegeRequestList.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/privilegeRequestResource.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/privilegeRequestResource.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/privilegeRequestState.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/privilegeRequestState.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/publicKey.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/publicKey.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/renewParticipantRequest.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/renewParticipantRequest.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/renewParticipantResponse.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/renewParticipantResponse.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/replaceMcpConfigurationRequest.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/replaceMcpConfigurationRequest.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/rtcConfiguration.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/rtcConfiguration.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/runCommandRequest.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/runCommandRequest.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/runCommandResponse.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/runCommandResponse.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/sendMcpRequestRequest.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/sendMcpRequestRequest.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/sendMcpRequestResponse.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/sendMcpRequestResponse.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/sessionCloseReason.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/sessionCloseReason.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/sessionList.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/sessionList.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/sessionMode.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/sessionMode.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/sessionResource.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/sessionResource.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/sessionState.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/sessionState.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/signedMessage.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/signedMessage.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/signingKey.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/signingKey.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/{listMcpToolsParams.zod.d.ts → toolActivityList.zod.d.ts} +13 -16
- package/dist/fleet/v1/generated/validators/toolActivityList.zod.js +253 -0
- package/dist/fleet/v1/generated/validators/toolContent.zod.d.ts +263 -0
- package/dist/fleet/v1/generated/validators/toolContent.zod.js +260 -0
- package/dist/fleet/v1/generated/validators/{mcpToolList.zod.d.ts → toolDescriptor.zod.d.ts} +24 -28
- package/dist/fleet/v1/generated/validators/{mcpToolResource.zod.js → toolDescriptor.zod.js} +16 -16
- package/dist/fleet/v1/generated/validators/{mcpToolResource.zod.d.ts → toolImage.zod.d.ts} +20 -14
- package/dist/fleet/v1/generated/validators/toolImage.zod.js +255 -0
- package/dist/fleet/v1/generated/validators/toolList.zod.d.ts +276 -0
- package/dist/fleet/v1/generated/validators/{mcpUnavailableServer.zod.js → toolList.zod.js} +19 -8
- package/dist/fleet/v1/generated/validators/{mcpUnavailableServer.zod.d.ts → toolRef.zod.d.ts} +18 -16
- package/dist/fleet/v1/generated/validators/{listMcpToolsParams.zod.js → toolRef.zod.js} +18 -17
- package/dist/fleet/v1/generated/validators/updateAccountRequest.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/updateAccountRequest.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/updateGroupRequest.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/updateGroupRequest.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/updateMachineRequest.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/updateMachineRequest.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/updateMcpServerRequest.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/updateMcpServerRequest.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/updateMcpServerResponse.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/updateMcpServerResponse.zod.js +9 -5
- package/dist/fleet/v1/generated/validators/updatePrivilegeAutoApprovalRequest.zod.d.ts +9 -5
- package/dist/fleet/v1/generated/validators/updatePrivilegeAutoApprovalRequest.zod.js +9 -5
- package/dist/proto/leaflow/fleet/control/v1/control_pb.d.ts +24 -2
- package/dist/proto/leaflow/fleet/control/v1/control_pb.js +1 -1
- package/dist/proto/leaflow/fleet/session/v1/session_pb.d.ts +8 -0
- package/dist/proto/leaflow/fleet/session/v1/session_pb.js +1 -1
- package/dist/proto/leaflow/fleet/tool/v1/tool_pb.d.ts +683 -0
- package/dist/proto/leaflow/fleet/tool/v1/tool_pb.js +205 -0
- package/dist/proto/leaflow/fleet/virtualdesktop/capture/v1/capture_pb.d.ts +21 -1
- package/dist/proto/leaflow/fleet/virtualdesktop/capture/v1/capture_pb.js +1 -1
- package/dist/proto/leaflow/fleet/virtualdesktop/datatransfer/v1/datatransfer_pb.d.ts +11 -2
- package/dist/proto/leaflow/fleet/virtualdesktop/datatransfer/v1/datatransfer_pb.js +1 -1
- package/dist/proto/leaflow/fleet/virtualdesktop/display/v1/display_pb.d.ts +18 -0
- package/dist/proto/leaflow/fleet/virtualdesktop/display/v1/display_pb.js +10 -5
- package/dist/proto/leaflow/fleet/virtualdesktop/input/v1/input_pb.d.ts +8 -0
- package/dist/proto/leaflow/fleet/virtualdesktop/input/v1/input_pb.js +1 -1
- package/dist/proto/leaflow/fleet/virtualdesktop/window/v1/window_pb.d.ts +24 -1
- package/dist/proto/leaflow/fleet/virtualdesktop/window/v1/window_pb.js +1 -1
- package/dist/routes.d.ts +23 -7
- package/dist/routes.js +25 -7
- package/package.json +1 -1
|
@@ -83,11 +83,15 @@
|
|
|
83
83
|
* and remote ones it connects to;
|
|
84
84
|
* - `leaflow.fleet.host.v1`: terminal sessions, with programs, files, ports, sound, devices,
|
|
85
85
|
* printers and privilege approvals;
|
|
86
|
-
* - `leaflow.fleet.virtualdesktop.host.v1`: sessions with a
|
|
86
|
+
* - `leaflow.fleet.virtualdesktop.host.v1`: sessions with a graphical backend;
|
|
87
|
+
* - `leaflow.fleet.tool.v1`: live session tools. Builtin `computer.*` tools are exposed only while
|
|
88
|
+
* the virtual desktop capability is actually available; MCP is a separate source.
|
|
87
89
|
*
|
|
88
|
-
* A
|
|
89
|
-
*
|
|
90
|
-
*
|
|
90
|
+
* A graphical backend does not require a full desktop environment. Terminal logins, commands
|
|
91
|
+
* and MCP server initialization prepare or reuse the account's lightweight graphical context,
|
|
92
|
+
* in addition to their own session or job. Configuration reads and writes do not initialize a
|
|
93
|
+
* server and do not require this preparation. A request that needs a feature the machine does
|
|
94
|
+
* not report available fails with `FEATURE_UNAVAILABLE`, whose `metadata.feature` names it.
|
|
91
95
|
*
|
|
92
96
|
* ## Directory
|
|
93
97
|
*
|
|
@@ -241,6 +245,7 @@
|
|
|
241
245
|
import * as zod from "zod";
|
|
242
246
|
import { ApproveEnrollmentRequest } from "./validators/approveEnrollmentRequest.zod.js";
|
|
243
247
|
import { CallMcpToolRequest } from "./validators/callMcpToolRequest.zod.js";
|
|
248
|
+
import { CallToolRequest } from "./validators/callToolRequest.zod.js";
|
|
244
249
|
import { CreateGroupMemberRequest } from "./validators/createGroupMemberRequest.zod.js";
|
|
245
250
|
import { CreateGroupRequest } from "./validators/createGroupRequest.zod.js";
|
|
246
251
|
import { CreateMachineRegistrationRequest } from "./validators/createMachineRegistrationRequest.zod.js";
|
|
@@ -349,19 +354,23 @@ export const ListMachineEventsQueryParams = zod.strictObject({
|
|
|
349
354
|
* redirection and `&&` work; there is no terminal and no standard input. The machine admits
|
|
350
355
|
* the account through PAM as for a login. The account is created if the caller has none yet.
|
|
351
356
|
* A command that fails is still a successful request: its exit status is its result.
|
|
357
|
+
* Before starting it, Fleet prepares or reuses the account's ready lightweight graphical
|
|
358
|
+
* session, without starting a full desktop environment. The command has its own job scope;
|
|
359
|
+
* its timeout or exit must not close the account's graphical context.
|
|
352
360
|
*
|
|
353
361
|
* Inside the command, `sudo` works without a prompt while the caller has
|
|
354
362
|
* `fleet:machines.admin` on the machine, and refuses otherwise.
|
|
355
363
|
*
|
|
356
|
-
*
|
|
357
|
-
* more. Neither the command nor its output is hidden from the platform: do not put secrets
|
|
364
|
+
* After graphical context preparation, the request is held until the command ends, at most
|
|
365
|
+
* `timeout_seconds` and a few seconds more. Neither the command nor its output is hidden from the platform: do not put secrets
|
|
358
366
|
* into either.
|
|
359
367
|
*
|
|
360
368
|
* Requires `fleet:machines.login` on the machine.
|
|
361
369
|
*
|
|
362
370
|
* Fails with:
|
|
363
371
|
* - `MACHINE_OFFLINE` when the machine is not connected and does not connect again in time;
|
|
364
|
-
* - `FEATURE_UNAVAILABLE` when the
|
|
372
|
+
* - `FEATURE_UNAVAILABLE` when the command, session or graphical backend is unavailable;
|
|
373
|
+
* - `SESSION_UNAVAILABLE` or `SESSION_CLOSED` when the account context is not ready or closing;
|
|
365
374
|
* - `USER_NOT_FOUND`, `USER_NOT_ALLOWED`, `ACCOUNT_EXPIRED` or `PAM_PERMISSION_DENIED` when
|
|
366
375
|
* the machine refuses the account, as for opening a session;
|
|
367
376
|
* - `COMMAND_START_FAILED` when the shell could not start; nothing ran;
|
|
@@ -467,11 +476,82 @@ export const DeleteMcpServerQueryParams = zod.strictObject({
|
|
|
467
476
|
.optional()
|
|
468
477
|
.describe("The configuration's `revision` as last read; absent only for one that was `missing`"),
|
|
469
478
|
});
|
|
479
|
+
/**
|
|
480
|
+
* Queries Agent's builtin tools and the caller's configured MCP servers live. No directory,
|
|
481
|
+
* result or image is cached. Requires fleet:machines.login; builtin capabilities retain
|
|
482
|
+
* their native policies and read-only restrictions. Ensures or reuses the caller's single
|
|
483
|
+
* open graphical session, without launching a desktop environment. The client instance is
|
|
484
|
+
* a UUID generated once per running client, not an authorization credential. Each request
|
|
485
|
+
* checks current IAM permissions and signs a short-lived control-only authorization.
|
|
486
|
+
* Tool arguments, results and images traverse Fleet with hop-by-hop TLS and are visible to
|
|
487
|
+
* Fleet. Existing desktop streaming remains end-to-end encrypted. TOOL_LIST_CHANGED means
|
|
488
|
+
* restart listing from the first page, never replay a CallTool. At most 100 tools per page.
|
|
489
|
+
* @summary List live tools available to the caller on a machine
|
|
490
|
+
*/
|
|
491
|
+
export const ListToolsParams = zod.strictObject({
|
|
492
|
+
machineId: zod.uuid(),
|
|
493
|
+
});
|
|
494
|
+
export const listToolsQuerySourceDefault = `all`;
|
|
495
|
+
export const listToolsQueryMcpServerMax = 64;
|
|
496
|
+
export const listToolsQueryQueryMax = 256;
|
|
497
|
+
export const listToolsQueryReadOnlyDefault = false;
|
|
498
|
+
export const listToolsQueryPageSizeDefault = 100;
|
|
499
|
+
export const listToolsQueryPageSizeMax = 100;
|
|
500
|
+
export const listToolsQueryPageTokenMax = 4096;
|
|
501
|
+
export const ListToolsQueryParams = zod.strictObject({
|
|
502
|
+
client_instance_id: zod.uuid(),
|
|
503
|
+
source: zod.enum(["all", "builtin", "mcp"]).default(listToolsQuerySourceDefault),
|
|
504
|
+
mcp_server: zod.string().max(listToolsQueryMcpServerMax).optional(),
|
|
505
|
+
query: zod.string().max(listToolsQueryQueryMax).optional(),
|
|
506
|
+
read_only: zod.boolean().default(listToolsQueryReadOnlyDefault),
|
|
507
|
+
page_size: zod.int().min(1).max(listToolsQueryPageSizeMax).default(listToolsQueryPageSizeDefault),
|
|
508
|
+
page_token: zod.string().max(listToolsQueryPageTokenMax).optional(),
|
|
509
|
+
});
|
|
510
|
+
/**
|
|
511
|
+
* Uses the same current permissions, directory account and graphical session as list-tools.
|
|
512
|
+
* Listing is not a precondition: callers may use a previously discovered ToolRef, and this
|
|
513
|
+
* operation never sends a discovery request or refreshes schemas before executing it.
|
|
514
|
+
* A removed tool or MCP server returns TOOL_NOT_FOUND, as does a direct builtin computer.*
|
|
515
|
+
* call while virtual desktop capability is unavailable. Actual permission errors remain
|
|
516
|
+
* permission errors; a missing target window is not a missing tool. Use list-tools only when
|
|
517
|
+
* discovery or refresh is needed, and do not cache or reuse execution results.
|
|
518
|
+
* Source is explicit: MCP names never select or impersonate builtin tools. The arguments
|
|
519
|
+
* object is at most 256 KiB. The complete result is at most 8 MiB in the protobuf transport,
|
|
520
|
+
* with each encoded image at most 4 MiB; images are converted to base64 once at this JSON
|
|
521
|
+
* boundary, without recompression or persistence. Cancellation is propagated. A timeout,
|
|
522
|
+
* disconnect or failed response does not prove that side effects did not happen; do not
|
|
523
|
+
* automatically replay. operation_id only correlates live activity, not idempotency.
|
|
524
|
+
* @summary Call a live builtin or external MCP tool
|
|
525
|
+
*/
|
|
526
|
+
export const CallToolParams = zod.strictObject({
|
|
527
|
+
machineId: zod.uuid(),
|
|
528
|
+
});
|
|
529
|
+
export const CallToolBody = CallToolRequest;
|
|
530
|
+
/**
|
|
531
|
+
* Checks current session viewing permission for each request and again before returning
|
|
532
|
+
* events. Subscribes only while this request is pending, returning on the first batch or
|
|
533
|
+
* after at most 20 idle seconds. At most 64 events, no offline queue, event database, cursor
|
|
534
|
+
* history or replay guarantee. Missing events never mean repeat an action. Coordinates
|
|
535
|
+
* are window-client-local (window_id=0 means canvas), not CSS or image pixels. The frontend
|
|
536
|
+
* applies its own zoom and DPI. Compare sequence only within the same instance_id.
|
|
537
|
+
* @summary Receive live tool activity for an authorized session
|
|
538
|
+
*/
|
|
539
|
+
export const pollToolActivitiesPathSessionIdMax = 40;
|
|
540
|
+
export const pollToolActivitiesPathSessionIdRegExp = new RegExp("^[a-z0-9-]+$");
|
|
541
|
+
export const PollToolActivitiesParams = zod.strictObject({
|
|
542
|
+
sessionId: zod
|
|
543
|
+
.string()
|
|
544
|
+
.min(1)
|
|
545
|
+
.max(pollToolActivitiesPathSessionIdMax)
|
|
546
|
+
.regex(pollToolActivitiesPathSessionIdRegExp),
|
|
547
|
+
});
|
|
470
548
|
/**
|
|
471
549
|
* Sends one JSON-RPC request of MCP to one of the caller's servers on the machine, such as
|
|
472
550
|
* `tools/call`, `resources/read` or `prompts/get`, and returns the server's response. The
|
|
473
551
|
* machine starts or connects to the server if it is not running, and handles its
|
|
474
|
-
* initialization itself
|
|
552
|
+
* initialization itself. Before any such request, Fleet prepares or reuses the caller's
|
|
553
|
+
* ready lightweight account graphical session, including for resources and prompts; no full
|
|
554
|
+
* desktop environment is needed. A request still running when `timeout_seconds` passes is cancelled
|
|
475
555
|
* at the server. Requests the server makes of the client are answered as by a client that
|
|
476
556
|
* offers no sampling, elicitation or roots, and its notifications, such as of progress, are
|
|
477
557
|
* dropped. A response with a JSON-RPC error is a successful request. Neither the request nor
|
|
@@ -485,7 +565,8 @@ export const DeleteMcpServerQueryParams = zod.strictObject({
|
|
|
485
565
|
* is one of initialization;
|
|
486
566
|
* - `RESULT_TOO_LARGE` when the response is larger than 8 MiB;
|
|
487
567
|
* - `MACHINE_OFFLINE` when the machine is not connected and does not connect again in time;
|
|
488
|
-
* - `FEATURE_UNAVAILABLE` when the
|
|
568
|
+
* - `FEATURE_UNAVAILABLE` when the MCP, session or graphical backend is unavailable;
|
|
569
|
+
* - `SESSION_UNAVAILABLE` or `SESSION_CLOSED` when the account context is not ready or closing;
|
|
489
570
|
* - `USER_NOT_FOUND`, `USER_NOT_ALLOWED`, `ACCOUNT_EXPIRED` or `PAM_PERMISSION_DENIED` when
|
|
490
571
|
* the machine refuses the account, as for opening a session;
|
|
491
572
|
* - `MCP_START_FAILED` when the machine could not start MCP for the caller's account;
|
|
@@ -511,6 +592,7 @@ export const SendMcpRequestBody = SendMcpRequestRequest;
|
|
|
511
592
|
* Fails as sending a request does, and with `MCP_REQUEST_FAILED` when the server answers
|
|
512
593
|
* with a JSON-RPC error, such as for a tool it does not offer or arguments it does not
|
|
513
594
|
* accept, with the error's `metadata.code` and `metadata.message`.
|
|
595
|
+
* @deprecated
|
|
514
596
|
* @summary Call an MCP tool
|
|
515
597
|
*/
|
|
516
598
|
export const callMcpToolPathServerNameRegExp = new RegExp("^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$");
|
|
@@ -524,55 +606,6 @@ export const CallMcpToolParams = zod.strictObject({
|
|
|
524
606
|
toolName: zod.string().min(1).max(callMcpToolPathToolNameMax),
|
|
525
607
|
});
|
|
526
608
|
export const CallMcpToolBody = CallMcpToolRequest;
|
|
527
|
-
/**
|
|
528
|
-
* Lists the tools of the caller's servers on the machine, or of one of them, that match
|
|
529
|
-
* `query`: every word of it, ignoring case, in the tool's name, title or description. They
|
|
530
|
-
* are ordered by server, then by tool name. Servers that are not running are started to
|
|
531
|
-
* learn their tools; one that cannot be is named in `unavailable_servers`, and the others are
|
|
532
|
-
* listed anyway. Slow servers do not hold the request up: those still starting are named
|
|
533
|
-
* with `timeout` and go on starting, so that a later request lists their tools. Requires
|
|
534
|
-
* `fleet:machines.login` on the machine.
|
|
535
|
-
*
|
|
536
|
-
* Fails with:
|
|
537
|
-
* - `MCP_SERVER_NOT_FOUND` when `server` is not configured;
|
|
538
|
-
* - `MACHINE_OFFLINE` when the machine is not connected and does not connect again in time;
|
|
539
|
-
* - `FEATURE_UNAVAILABLE` when the machine does not offer `leaflow.fleet.mcp.v1`;
|
|
540
|
-
* - `USER_NOT_FOUND`, `USER_NOT_ALLOWED`, `ACCOUNT_EXPIRED` or `PAM_PERMISSION_DENIED` when
|
|
541
|
-
* the machine refuses the account, as for opening a session;
|
|
542
|
-
* - `MCP_START_FAILED` when the machine could not start MCP for the caller's account;
|
|
543
|
-
* - `MACHINE_TIMEOUT` when the machine did not answer in time.
|
|
544
|
-
* @summary List the caller's MCP tools on a machine
|
|
545
|
-
*/
|
|
546
|
-
export const ListMcpToolsParams = zod.strictObject({
|
|
547
|
-
machineId: zod.uuid(),
|
|
548
|
-
});
|
|
549
|
-
export const listMcpToolsQueryServerMax = 64;
|
|
550
|
-
export const listMcpToolsQueryQueryMax = 256;
|
|
551
|
-
export const listMcpToolsQueryPageSizeDefault = 100;
|
|
552
|
-
export const listMcpToolsQueryPageSizeMax = 500;
|
|
553
|
-
export const listMcpToolsQueryPageTokenMax = 1024;
|
|
554
|
-
export const ListMcpToolsQueryParams = zod.strictObject({
|
|
555
|
-
server: zod
|
|
556
|
-
.string()
|
|
557
|
-
.max(listMcpToolsQueryServerMax)
|
|
558
|
-
.optional()
|
|
559
|
-
.describe("Only this server's tools"),
|
|
560
|
-
query: zod
|
|
561
|
-
.string()
|
|
562
|
-
.max(listMcpToolsQueryQueryMax)
|
|
563
|
-
.optional()
|
|
564
|
-
.describe("Words that each must occur in a tool's name, title or description"),
|
|
565
|
-
page_size: zod
|
|
566
|
-
.int()
|
|
567
|
-
.min(1)
|
|
568
|
-
.max(listMcpToolsQueryPageSizeMax)
|
|
569
|
-
.default(listMcpToolsQueryPageSizeDefault),
|
|
570
|
-
page_token: zod
|
|
571
|
-
.string()
|
|
572
|
-
.max(listMcpToolsQueryPageTokenMax)
|
|
573
|
-
.optional()
|
|
574
|
-
.describe("`next_page_token` of the previous page"),
|
|
575
|
-
});
|
|
576
609
|
/**
|
|
577
610
|
* Returns the caller's automatic approval of their privilege requests on the machine. Fails
|
|
578
611
|
* with `PRIVILEGE_AUTO_APPROVAL_NOT_FOUND` while the caller is asked every time, including
|
|
@@ -967,12 +1000,19 @@ export const ListSessionsQueryParams = zod.strictObject({
|
|
|
967
1000
|
});
|
|
968
1001
|
/**
|
|
969
1002
|
* Opens a session for the caller on a machine, as the caller's account, and returns once it
|
|
970
|
-
* is ready. With `desktop` the session has a desktop. Without,
|
|
1003
|
+
* is ready. With `desktop` the session has a desktop. Without, Fleet first prepares or reuses
|
|
1004
|
+
* the account's separate ready lightweight graphical session, then creates a terminal session
|
|
1005
|
+
* with its own SID and lifetime; closing that terminal does not close the account context. Its
|
|
971
1006
|
* one terminal runs the caller's login shell from the start, every participant attaches to
|
|
972
1007
|
* that terminal, and the session ends when the shell exits; a caller who wants another
|
|
973
1008
|
* terminal opens another session. Either kind also offers programs, files, ports, sound,
|
|
974
1009
|
* devices, printers and privilege approvals. The account is created if the caller has none
|
|
975
1010
|
* yet. Requires `fleet:machines.login` on the machine.
|
|
1011
|
+
* All newly created graphical account sessions, including desktop-first FullDesktop and
|
|
1012
|
+
* Seamless sessions, keep running when no viewer has joined or the last viewer disconnects.
|
|
1013
|
+
* Configured maximum lifetime, resource limits and explicit close/terminate still apply.
|
|
1014
|
+
* This create API has no client-selected idle policy; existing running policies are not
|
|
1015
|
+
* silently rewritten when tools, commands or terminals reuse the account context.
|
|
976
1016
|
*
|
|
977
1017
|
* On a machine an account has at most one session with a desktop and at most 8 sessions in
|
|
978
1018
|
* all. Sessions without a desktop run side by side, such as one for a program and one for a
|
|
@@ -980,8 +1020,8 @@ export const ListSessionsQueryParams = zod.strictObject({
|
|
|
980
1020
|
*
|
|
981
1021
|
* Fails with:
|
|
982
1022
|
* - `MACHINE_OFFLINE` when the machine is not connected and does not connect again in time;
|
|
983
|
-
* - `FEATURE_UNAVAILABLE` when the machine does not offer sessions
|
|
984
|
-
*
|
|
1023
|
+
* - `FEATURE_UNAVAILABLE` when the machine does not offer sessions or the graphical backend;
|
|
1024
|
+
* - `SESSION_UNAVAILABLE` or `SESSION_CLOSED` when its shared account context is not ready or closing;
|
|
985
1025
|
* - `USER_HAS_DESKTOP_SESSION` with `desktop` when the account already has a session with a
|
|
986
1026
|
* desktop on the machine, which `metadata.sessionId` names; connect to it instead;
|
|
987
1027
|
* - `SESSION_LIMIT_REACHED` when the account already has 8 open sessions on the machine;
|
|
@@ -83,11 +83,15 @@
|
|
|
83
83
|
* and remote ones it connects to;
|
|
84
84
|
* - `leaflow.fleet.host.v1`: terminal sessions, with programs, files, ports, sound, devices,
|
|
85
85
|
* printers and privilege approvals;
|
|
86
|
-
* - `leaflow.fleet.virtualdesktop.host.v1`: sessions with a
|
|
87
|
-
*
|
|
88
|
-
*
|
|
89
|
-
*
|
|
90
|
-
*
|
|
86
|
+
* - `leaflow.fleet.virtualdesktop.host.v1`: sessions with a graphical backend;
|
|
87
|
+
* - `leaflow.fleet.tool.v1`: live session tools. Builtin `computer.*` tools are exposed only while
|
|
88
|
+
* the virtual desktop capability is actually available; MCP is a separate source.
|
|
89
|
+
*
|
|
90
|
+
* A graphical backend does not require a full desktop environment. Terminal logins, commands
|
|
91
|
+
* and MCP server initialization prepare or reuse the account's lightweight graphical context,
|
|
92
|
+
* in addition to their own session or job. Configuration reads and writes do not initialize a
|
|
93
|
+
* server and do not require this preparation. A request that needs a feature the machine does
|
|
94
|
+
* not report available fails with `FEATURE_UNAVAILABLE`, whose `metadata.feature` names it.
|
|
91
95
|
*
|
|
92
96
|
* ## Directory
|
|
93
97
|
*
|
|
@@ -83,11 +83,15 @@
|
|
|
83
83
|
* and remote ones it connects to;
|
|
84
84
|
* - `leaflow.fleet.host.v1`: terminal sessions, with programs, files, ports, sound, devices,
|
|
85
85
|
* printers and privilege approvals;
|
|
86
|
-
* - `leaflow.fleet.virtualdesktop.host.v1`: sessions with a
|
|
87
|
-
*
|
|
88
|
-
*
|
|
89
|
-
*
|
|
90
|
-
*
|
|
86
|
+
* - `leaflow.fleet.virtualdesktop.host.v1`: sessions with a graphical backend;
|
|
87
|
+
* - `leaflow.fleet.tool.v1`: live session tools. Builtin `computer.*` tools are exposed only while
|
|
88
|
+
* the virtual desktop capability is actually available; MCP is a separate source.
|
|
89
|
+
*
|
|
90
|
+
* A graphical backend does not require a full desktop environment. Terminal logins, commands
|
|
91
|
+
* and MCP server initialization prepare or reuse the account's lightweight graphical context,
|
|
92
|
+
* in addition to their own session or job. Configuration reads and writes do not initialize a
|
|
93
|
+
* server and do not require this preparation. A request that needs a feature the machine does
|
|
94
|
+
* not report available fails with `FEATURE_UNAVAILABLE`, whose `metadata.feature` names it.
|
|
91
95
|
*
|
|
92
96
|
* ## Directory
|
|
93
97
|
*
|
|
@@ -83,11 +83,15 @@
|
|
|
83
83
|
* and remote ones it connects to;
|
|
84
84
|
* - `leaflow.fleet.host.v1`: terminal sessions, with programs, files, ports, sound, devices,
|
|
85
85
|
* printers and privilege approvals;
|
|
86
|
-
* - `leaflow.fleet.virtualdesktop.host.v1`: sessions with a
|
|
87
|
-
*
|
|
88
|
-
*
|
|
89
|
-
*
|
|
90
|
-
*
|
|
86
|
+
* - `leaflow.fleet.virtualdesktop.host.v1`: sessions with a graphical backend;
|
|
87
|
+
* - `leaflow.fleet.tool.v1`: live session tools. Builtin `computer.*` tools are exposed only while
|
|
88
|
+
* the virtual desktop capability is actually available; MCP is a separate source.
|
|
89
|
+
*
|
|
90
|
+
* A graphical backend does not require a full desktop environment. Terminal logins, commands
|
|
91
|
+
* and MCP server initialization prepare or reuse the account's lightweight graphical context,
|
|
92
|
+
* in addition to their own session or job. Configuration reads and writes do not initialize a
|
|
93
|
+
* server and do not require this preparation. A request that needs a feature the machine does
|
|
94
|
+
* not report available fails with `FEATURE_UNAVAILABLE`, whose `metadata.feature` names it.
|
|
91
95
|
*
|
|
92
96
|
* ## Directory
|
|
93
97
|
*
|
|
@@ -83,11 +83,15 @@
|
|
|
83
83
|
* and remote ones it connects to;
|
|
84
84
|
* - `leaflow.fleet.host.v1`: terminal sessions, with programs, files, ports, sound, devices,
|
|
85
85
|
* printers and privilege approvals;
|
|
86
|
-
* - `leaflow.fleet.virtualdesktop.host.v1`: sessions with a
|
|
87
|
-
*
|
|
88
|
-
*
|
|
89
|
-
*
|
|
90
|
-
*
|
|
86
|
+
* - `leaflow.fleet.virtualdesktop.host.v1`: sessions with a graphical backend;
|
|
87
|
+
* - `leaflow.fleet.tool.v1`: live session tools. Builtin `computer.*` tools are exposed only while
|
|
88
|
+
* the virtual desktop capability is actually available; MCP is a separate source.
|
|
89
|
+
*
|
|
90
|
+
* A graphical backend does not require a full desktop environment. Terminal logins, commands
|
|
91
|
+
* and MCP server initialization prepare or reuse the account's lightweight graphical context,
|
|
92
|
+
* in addition to their own session or job. Configuration reads and writes do not initialize a
|
|
93
|
+
* server and do not require this preparation. A request that needs a feature the machine does
|
|
94
|
+
* not report available fails with `FEATURE_UNAVAILABLE`, whose `metadata.feature` names it.
|
|
91
95
|
*
|
|
92
96
|
* ## Directory
|
|
93
97
|
*
|
|
@@ -83,11 +83,15 @@
|
|
|
83
83
|
* and remote ones it connects to;
|
|
84
84
|
* - `leaflow.fleet.host.v1`: terminal sessions, with programs, files, ports, sound, devices,
|
|
85
85
|
* printers and privilege approvals;
|
|
86
|
-
* - `leaflow.fleet.virtualdesktop.host.v1`: sessions with a
|
|
87
|
-
*
|
|
88
|
-
*
|
|
89
|
-
*
|
|
90
|
-
*
|
|
86
|
+
* - `leaflow.fleet.virtualdesktop.host.v1`: sessions with a graphical backend;
|
|
87
|
+
* - `leaflow.fleet.tool.v1`: live session tools. Builtin `computer.*` tools are exposed only while
|
|
88
|
+
* the virtual desktop capability is actually available; MCP is a separate source.
|
|
89
|
+
*
|
|
90
|
+
* A graphical backend does not require a full desktop environment. Terminal logins, commands
|
|
91
|
+
* and MCP server initialization prepare or reuse the account's lightweight graphical context,
|
|
92
|
+
* in addition to their own session or job. Configuration reads and writes do not initialize a
|
|
93
|
+
* server and do not require this preparation. A request that needs a feature the machine does
|
|
94
|
+
* not report available fails with `FEATURE_UNAVAILABLE`, whose `metadata.feature` names it.
|
|
91
95
|
*
|
|
92
96
|
* ## Directory
|
|
93
97
|
*
|
|
@@ -83,11 +83,15 @@
|
|
|
83
83
|
* and remote ones it connects to;
|
|
84
84
|
* - `leaflow.fleet.host.v1`: terminal sessions, with programs, files, ports, sound, devices,
|
|
85
85
|
* printers and privilege approvals;
|
|
86
|
-
* - `leaflow.fleet.virtualdesktop.host.v1`: sessions with a
|
|
87
|
-
*
|
|
88
|
-
*
|
|
89
|
-
*
|
|
90
|
-
*
|
|
86
|
+
* - `leaflow.fleet.virtualdesktop.host.v1`: sessions with a graphical backend;
|
|
87
|
+
* - `leaflow.fleet.tool.v1`: live session tools. Builtin `computer.*` tools are exposed only while
|
|
88
|
+
* the virtual desktop capability is actually available; MCP is a separate source.
|
|
89
|
+
*
|
|
90
|
+
* A graphical backend does not require a full desktop environment. Terminal logins, commands
|
|
91
|
+
* and MCP server initialization prepare or reuse the account's lightweight graphical context,
|
|
92
|
+
* in addition to their own session or job. Configuration reads and writes do not initialize a
|
|
93
|
+
* server and do not require this preparation. A request that needs a feature the machine does
|
|
94
|
+
* not report available fails with `FEATURE_UNAVAILABLE`, whose `metadata.feature` names it.
|
|
91
95
|
*
|
|
92
96
|
* ## Directory
|
|
93
97
|
*
|
|
@@ -83,11 +83,15 @@
|
|
|
83
83
|
* and remote ones it connects to;
|
|
84
84
|
* - `leaflow.fleet.host.v1`: terminal sessions, with programs, files, ports, sound, devices,
|
|
85
85
|
* printers and privilege approvals;
|
|
86
|
-
* - `leaflow.fleet.virtualdesktop.host.v1`: sessions with a
|
|
87
|
-
*
|
|
88
|
-
*
|
|
89
|
-
*
|
|
90
|
-
*
|
|
86
|
+
* - `leaflow.fleet.virtualdesktop.host.v1`: sessions with a graphical backend;
|
|
87
|
+
* - `leaflow.fleet.tool.v1`: live session tools. Builtin `computer.*` tools are exposed only while
|
|
88
|
+
* the virtual desktop capability is actually available; MCP is a separate source.
|
|
89
|
+
*
|
|
90
|
+
* A graphical backend does not require a full desktop environment. Terminal logins, commands
|
|
91
|
+
* and MCP server initialization prepare or reuse the account's lightweight graphical context,
|
|
92
|
+
* in addition to their own session or job. Configuration reads and writes do not initialize a
|
|
93
|
+
* server and do not require this preparation. A request that needs a feature the machine does
|
|
94
|
+
* not report available fails with `FEATURE_UNAVAILABLE`, whose `metadata.feature` names it.
|
|
91
95
|
*
|
|
92
96
|
* ## Directory
|
|
93
97
|
*
|
|
@@ -83,11 +83,15 @@
|
|
|
83
83
|
* and remote ones it connects to;
|
|
84
84
|
* - `leaflow.fleet.host.v1`: terminal sessions, with programs, files, ports, sound, devices,
|
|
85
85
|
* printers and privilege approvals;
|
|
86
|
-
* - `leaflow.fleet.virtualdesktop.host.v1`: sessions with a
|
|
87
|
-
*
|
|
88
|
-
*
|
|
89
|
-
*
|
|
90
|
-
*
|
|
86
|
+
* - `leaflow.fleet.virtualdesktop.host.v1`: sessions with a graphical backend;
|
|
87
|
+
* - `leaflow.fleet.tool.v1`: live session tools. Builtin `computer.*` tools are exposed only while
|
|
88
|
+
* the virtual desktop capability is actually available; MCP is a separate source.
|
|
89
|
+
*
|
|
90
|
+
* A graphical backend does not require a full desktop environment. Terminal logins, commands
|
|
91
|
+
* and MCP server initialization prepare or reuse the account's lightweight graphical context,
|
|
92
|
+
* in addition to their own session or job. Configuration reads and writes do not initialize a
|
|
93
|
+
* server and do not require this preparation. A request that needs a feature the machine does
|
|
94
|
+
* not report available fails with `FEATURE_UNAVAILABLE`, whose `metadata.feature` names it.
|
|
91
95
|
*
|
|
92
96
|
* ## Directory
|
|
93
97
|
*
|
|
@@ -83,11 +83,15 @@
|
|
|
83
83
|
* and remote ones it connects to;
|
|
84
84
|
* - `leaflow.fleet.host.v1`: terminal sessions, with programs, files, ports, sound, devices,
|
|
85
85
|
* printers and privilege approvals;
|
|
86
|
-
* - `leaflow.fleet.virtualdesktop.host.v1`: sessions with a
|
|
87
|
-
*
|
|
88
|
-
*
|
|
89
|
-
*
|
|
90
|
-
*
|
|
86
|
+
* - `leaflow.fleet.virtualdesktop.host.v1`: sessions with a graphical backend;
|
|
87
|
+
* - `leaflow.fleet.tool.v1`: live session tools. Builtin `computer.*` tools are exposed only while
|
|
88
|
+
* the virtual desktop capability is actually available; MCP is a separate source.
|
|
89
|
+
*
|
|
90
|
+
* A graphical backend does not require a full desktop environment. Terminal logins, commands
|
|
91
|
+
* and MCP server initialization prepare or reuse the account's lightweight graphical context,
|
|
92
|
+
* in addition to their own session or job. Configuration reads and writes do not initialize a
|
|
93
|
+
* server and do not require this preparation. A request that needs a feature the machine does
|
|
94
|
+
* not report available fails with `FEATURE_UNAVAILABLE`, whose `metadata.feature` names it.
|
|
91
95
|
*
|
|
92
96
|
* ## Directory
|
|
93
97
|
*
|
|
@@ -83,11 +83,15 @@
|
|
|
83
83
|
* and remote ones it connects to;
|
|
84
84
|
* - `leaflow.fleet.host.v1`: terminal sessions, with programs, files, ports, sound, devices,
|
|
85
85
|
* printers and privilege approvals;
|
|
86
|
-
* - `leaflow.fleet.virtualdesktop.host.v1`: sessions with a
|
|
87
|
-
*
|
|
88
|
-
*
|
|
89
|
-
*
|
|
90
|
-
*
|
|
86
|
+
* - `leaflow.fleet.virtualdesktop.host.v1`: sessions with a graphical backend;
|
|
87
|
+
* - `leaflow.fleet.tool.v1`: live session tools. Builtin `computer.*` tools are exposed only while
|
|
88
|
+
* the virtual desktop capability is actually available; MCP is a separate source.
|
|
89
|
+
*
|
|
90
|
+
* A graphical backend does not require a full desktop environment. Terminal logins, commands
|
|
91
|
+
* and MCP server initialization prepare or reuse the account's lightweight graphical context,
|
|
92
|
+
* in addition to their own session or job. Configuration reads and writes do not initialize a
|
|
93
|
+
* server and do not require this preparation. A request that needs a feature the machine does
|
|
94
|
+
* not report available fails with `FEATURE_UNAVAILABLE`, whose `metadata.feature` names it.
|
|
91
95
|
*
|
|
92
96
|
* ## Directory
|
|
93
97
|
*
|