@leaflow/sdk 0.185.0 → 0.187.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 +15 -0
- package/dist/canopy/v1/generated/models.d.ts +100 -20
- package/dist/canopy/v1/generated/validators/aPIKeyUsageListResponseBody.zod.d.ts +5 -5
- package/dist/canopy/v1/generated/validators/aPIKeyUsageResource.zod.d.ts +5 -5
- package/dist/canopy/v1/generated/validators/aPIKeyUsageResource.zod.js +5 -5
- package/dist/canopy/v1/generated/validators/modelUsageListResponseBody.zod.d.ts +5 -5
- package/dist/canopy/v1/generated/validators/modelUsageResource.zod.d.ts +5 -5
- package/dist/canopy/v1/generated/validators/modelUsageResource.zod.js +5 -5
- package/dist/canopy/v1/generated/validators/totalsResource.zod.d.ts +5 -5
- package/dist/canopy/v1/generated/validators/totalsResource.zod.js +5 -5
- package/dist/canopy/v1/generated/validators/usageBucketResource.zod.d.ts +5 -5
- package/dist/canopy/v1/generated/validators/usageBucketResource.zod.js +5 -5
- package/dist/canopy/v1/generated/validators/usageTimelineResponseBody.zod.d.ts +5 -5
- package/dist/fleet/v1/generated/functions.d.ts +1710 -0
- package/dist/fleet/v1/generated/functions.js +1655 -0
- package/dist/fleet/v1/generated/models.d.ts +1534 -0
- package/dist/fleet/v1/generated/models.js +97 -0
- package/dist/fleet/v1/generated/schemas.zod.d.ts +1172 -0
- package/dist/fleet/v1/generated/schemas.zod.js +1291 -0
- package/dist/fleet/v1/generated/validators/accountList.zod.d.ts +250 -0
- package/dist/fleet/v1/generated/validators/accountList.zod.js +234 -0
- package/dist/fleet/v1/generated/validators/accountResource.zod.d.ts +244 -0
- package/dist/fleet/v1/generated/validators/accountResource.zod.js +242 -0
- package/dist/fleet/v1/generated/validators/approveEnrollmentRequest.zod.d.ts +232 -0
- package/dist/fleet/v1/generated/validators/approveEnrollmentRequest.zod.js +234 -0
- package/dist/fleet/v1/generated/validators/callMcpToolRequest.zod.d.ts +234 -0
- package/dist/fleet/v1/generated/validators/callMcpToolRequest.zod.js +240 -0
- package/dist/fleet/v1/generated/validators/callMcpToolResponse.zod.d.ts +231 -0
- package/dist/fleet/v1/generated/validators/callMcpToolResponse.zod.js +231 -0
- package/dist/fleet/v1/generated/validators/createGroupMemberRequest.zod.d.ts +231 -0
- package/dist/fleet/v1/generated/validators/createGroupMemberRequest.zod.js +229 -0
- package/dist/fleet/v1/generated/validators/createGroupRequest.zod.d.ts +231 -0
- package/dist/fleet/v1/generated/validators/createGroupRequest.zod.js +230 -0
- package/dist/fleet/v1/generated/validators/createMachineRegistrationRequest.zod.d.ts +236 -0
- package/dist/fleet/v1/generated/validators/createMachineRegistrationRequest.zod.js +243 -0
- package/dist/fleet/v1/generated/validators/createMachineRegistrationResponse.zod.d.ts +247 -0
- package/dist/fleet/v1/generated/validators/createMachineRegistrationResponse.zod.js +233 -0
- package/dist/fleet/v1/generated/validators/createParticipantRequest.zod.d.ts +248 -0
- package/dist/fleet/v1/generated/validators/createParticipantRequest.zod.js +261 -0
- package/dist/fleet/v1/generated/validators/createParticipantResponse.zod.d.ts +277 -0
- package/dist/fleet/v1/generated/validators/createParticipantResponse.zod.js +241 -0
- package/dist/fleet/v1/generated/validators/createPeerConnectionCandidatesRequest.zod.d.ts +236 -0
- package/dist/fleet/v1/generated/validators/createPeerConnectionCandidatesRequest.zod.js +238 -0
- package/dist/fleet/v1/generated/validators/createPeerConnectionRequest.zod.d.ts +232 -0
- package/dist/fleet/v1/generated/validators/createPeerConnectionRequest.zod.js +233 -0
- package/dist/fleet/v1/generated/validators/createSessionRequest.zod.d.ts +240 -0
- package/dist/fleet/v1/generated/validators/createSessionRequest.zod.js +231 -0
- package/dist/fleet/v1/generated/validators/cursorPagination.zod.d.ts +232 -0
- package/dist/fleet/v1/generated/validators/cursorPagination.zod.js +232 -0
- package/dist/fleet/v1/generated/validators/deleteMcpServerParams.zod.d.ts +232 -0
- package/dist/fleet/v1/generated/validators/deleteMcpServerParams.zod.js +230 -0
- package/dist/fleet/v1/generated/validators/desktopOptions.zod.d.ts +242 -0
- package/dist/fleet/v1/generated/validators/desktopOptions.zod.js +254 -0
- package/dist/fleet/v1/generated/validators/desktopState.zod.d.ts +235 -0
- package/dist/fleet/v1/generated/validators/desktopState.zod.js +231 -0
- package/dist/fleet/v1/generated/validators/directoryName.zod.d.ts +231 -0
- package/dist/fleet/v1/generated/validators/directoryName.zod.js +234 -0
- package/dist/fleet/v1/generated/validators/enrollmentResource.zod.d.ts +243 -0
- package/dist/fleet/v1/generated/validators/enrollmentResource.zod.js +241 -0
- package/dist/fleet/v1/generated/validators/enrollmentState.zod.d.ts +233 -0
- package/dist/fleet/v1/generated/validators/enrollmentState.zod.js +229 -0
- package/dist/fleet/v1/generated/validators/error.zod.d.ts +243 -0
- package/dist/fleet/v1/generated/validators/error.zod.js +232 -0
- package/dist/fleet/v1/generated/validators/errorStatus.zod.d.ts +241 -0
- package/dist/fleet/v1/generated/validators/errorStatus.zod.js +256 -0
- package/dist/fleet/v1/generated/validators/featureState.zod.d.ts +232 -0
- package/dist/fleet/v1/generated/validators/featureState.zod.js +229 -0
- package/dist/fleet/v1/generated/validators/fieldViolation.zod.d.ts +232 -0
- package/dist/fleet/v1/generated/validators/fieldViolation.zod.js +235 -0
- package/dist/fleet/v1/generated/validators/findEnrollmentByPairingCodeParams.zod.d.ts +232 -0
- package/dist/fleet/v1/generated/validators/findEnrollmentByPairingCodeParams.zod.js +230 -0
- package/dist/fleet/v1/generated/validators/findEnrollmentResponse.zod.d.ts +245 -0
- package/dist/fleet/v1/generated/validators/findEnrollmentResponse.zod.js +232 -0
- package/dist/fleet/v1/generated/validators/groupList.zod.d.ts +242 -0
- package/dist/fleet/v1/generated/validators/groupList.zod.js +234 -0
- package/dist/fleet/v1/generated/validators/groupResource.zod.d.ts +237 -0
- package/dist/fleet/v1/generated/validators/groupResource.zod.js +235 -0
- package/dist/fleet/v1/generated/validators/iceCandidate.zod.d.ts +234 -0
- package/dist/fleet/v1/generated/validators/iceCandidate.zod.js +241 -0
- package/dist/fleet/v1/generated/validators/iceServer.zod.d.ts +233 -0
- package/dist/fleet/v1/generated/validators/iceServer.zod.js +236 -0
- package/dist/fleet/v1/generated/validators/listAccountsParams.zod.d.ts +239 -0
- package/dist/fleet/v1/generated/validators/listAccountsParams.zod.js +241 -0
- package/dist/fleet/v1/generated/validators/listGroupMembersParams.zod.d.ts +236 -0
- package/dist/fleet/v1/generated/validators/listGroupMembersParams.zod.js +242 -0
- package/dist/fleet/v1/generated/validators/listGroupsParams.zod.d.ts +236 -0
- package/dist/fleet/v1/generated/validators/listGroupsParams.zod.js +238 -0
- package/dist/fleet/v1/generated/validators/listMachineEventsParams.zod.d.ts +240 -0
- package/dist/fleet/v1/generated/validators/listMachineEventsParams.zod.js +244 -0
- package/dist/fleet/v1/generated/validators/listMachineRegistrationsParams.zod.d.ts +236 -0
- package/dist/fleet/v1/generated/validators/listMachineRegistrationsParams.zod.js +242 -0
- package/dist/fleet/v1/generated/validators/listMachinesParams.zod.d.ts +238 -0
- package/dist/fleet/v1/generated/validators/listMachinesParams.zod.js +240 -0
- package/dist/fleet/v1/generated/validators/listMcpToolsParams.zod.d.ts +239 -0
- package/dist/fleet/v1/generated/validators/listMcpToolsParams.zod.js +241 -0
- package/dist/fleet/v1/generated/validators/listPrivilegeAutoApprovalsParams.zod.d.ts +236 -0
- package/dist/fleet/v1/generated/validators/listPrivilegeAutoApprovalsParams.zod.js +242 -0
- package/dist/fleet/v1/generated/validators/listPrivilegeRequestsParams.zod.d.ts +244 -0
- package/dist/fleet/v1/generated/validators/listPrivilegeRequestsParams.zod.js +245 -0
- package/dist/fleet/v1/generated/validators/listSessionsParams.zod.d.ts +240 -0
- package/dist/fleet/v1/generated/validators/listSessionsParams.zod.js +242 -0
- package/dist/fleet/v1/generated/validators/machineEventList.zod.d.ts +244 -0
- package/dist/fleet/v1/generated/validators/machineEventList.zod.js +234 -0
- package/dist/fleet/v1/generated/validators/machineEventResource.zod.d.ts +238 -0
- package/dist/fleet/v1/generated/validators/machineEventResource.zod.js +238 -0
- package/dist/fleet/v1/generated/validators/machineEventType.zod.d.ts +232 -0
- package/dist/fleet/v1/generated/validators/machineEventType.zod.js +229 -0
- package/dist/fleet/v1/generated/validators/machineFeature.zod.d.ts +237 -0
- package/dist/fleet/v1/generated/validators/machineFeature.zod.js +239 -0
- package/dist/fleet/v1/generated/validators/machineList.zod.d.ts +261 -0
- package/dist/fleet/v1/generated/validators/machineList.zod.js +234 -0
- package/dist/fleet/v1/generated/validators/machineRegistrationList.zod.d.ts +250 -0
- package/dist/fleet/v1/generated/validators/machineRegistrationList.zod.js +234 -0
- package/dist/fleet/v1/generated/validators/machineRegistrationResource.zod.d.ts +244 -0
- package/dist/fleet/v1/generated/validators/machineRegistrationResource.zod.js +249 -0
- package/dist/fleet/v1/generated/validators/machineRegistrationState.zod.d.ts +234 -0
- package/dist/fleet/v1/generated/validators/machineRegistrationState.zod.js +229 -0
- package/dist/fleet/v1/generated/validators/machineResource.zod.d.ts +256 -0
- package/dist/fleet/v1/generated/validators/machineResource.zod.js +257 -0
- package/dist/fleet/v1/generated/validators/mcpConfigurationFile.zod.d.ts +240 -0
- package/dist/fleet/v1/generated/validators/mcpConfigurationFile.zod.js +246 -0
- package/dist/fleet/v1/generated/validators/mcpConfigurationResource.zod.d.ts +279 -0
- package/dist/fleet/v1/generated/validators/mcpConfigurationResource.zod.js +232 -0
- package/dist/fleet/v1/generated/validators/mcpImplementation.zod.d.ts +233 -0
- package/dist/fleet/v1/generated/validators/mcpImplementation.zod.js +231 -0
- package/dist/fleet/v1/generated/validators/mcpServerFailure.zod.d.ts +237 -0
- package/dist/fleet/v1/generated/validators/mcpServerFailure.zod.js +237 -0
- package/dist/fleet/v1/generated/validators/mcpServerResource.zod.d.ts +265 -0
- package/dist/fleet/v1/generated/validators/mcpServerResource.zod.js +256 -0
- package/dist/fleet/v1/generated/validators/mcpToolList.zod.d.ts +252 -0
- package/dist/fleet/v1/generated/validators/mcpToolList.zod.js +235 -0
- package/dist/fleet/v1/generated/validators/mcpToolResource.zod.d.ts +237 -0
- package/dist/fleet/v1/generated/validators/mcpToolResource.zod.js +243 -0
- package/dist/fleet/v1/generated/validators/mcpTransport.zod.d.ts +233 -0
- package/dist/fleet/v1/generated/validators/mcpTransport.zod.js +229 -0
- package/dist/fleet/v1/generated/validators/mcpUnavailableServer.zod.d.ts +240 -0
- package/dist/fleet/v1/generated/validators/mcpUnavailableServer.zod.js +231 -0
- package/dist/fleet/v1/generated/validators/migrationStep.zod.d.ts +232 -0
- package/dist/fleet/v1/generated/validators/migrationStep.zod.js +233 -0
- package/dist/fleet/v1/generated/validators/namedIdentity.zod.d.ts +233 -0
- package/dist/fleet/v1/generated/validators/namedIdentity.zod.js +233 -0
- package/dist/fleet/v1/generated/validators/offsetPagination.zod.d.ts +234 -0
- package/dist/fleet/v1/generated/validators/offsetPagination.zod.js +234 -0
- package/dist/fleet/v1/generated/validators/operatingSystem.zod.d.ts +233 -0
- package/dist/fleet/v1/generated/validators/operatingSystem.zod.js +233 -0
- package/dist/fleet/v1/generated/validators/participantList.zod.d.ts +242 -0
- package/dist/fleet/v1/generated/validators/participantList.zod.js +230 -0
- package/dist/fleet/v1/generated/validators/participantResource.zod.d.ts +240 -0
- package/dist/fleet/v1/generated/validators/participantResource.zod.js +242 -0
- package/dist/fleet/v1/generated/validators/peerConnection.zod.d.ts +241 -0
- package/dist/fleet/v1/generated/validators/peerConnection.zod.js +242 -0
- package/dist/fleet/v1/generated/validators/privilegeAutoApprovalList.zod.d.ts +241 -0
- package/dist/fleet/v1/generated/validators/privilegeAutoApprovalList.zod.js +234 -0
- package/dist/fleet/v1/generated/validators/privilegeAutoApprovalResource.zod.d.ts +235 -0
- package/dist/fleet/v1/generated/validators/privilegeAutoApprovalResource.zod.js +236 -0
- package/dist/fleet/v1/generated/validators/privilegeDecider.zod.d.ts +232 -0
- package/dist/fleet/v1/generated/validators/privilegeDecider.zod.js +229 -0
- package/dist/fleet/v1/generated/validators/privilegeRequestList.zod.d.ts +258 -0
- package/dist/fleet/v1/generated/validators/privilegeRequestList.zod.js +234 -0
- package/dist/fleet/v1/generated/validators/privilegeRequestResource.zod.d.ts +253 -0
- package/dist/fleet/v1/generated/validators/privilegeRequestResource.zod.js +255 -0
- package/dist/fleet/v1/generated/validators/privilegeRequestState.zod.d.ts +235 -0
- package/dist/fleet/v1/generated/validators/privilegeRequestState.zod.js +229 -0
- package/dist/fleet/v1/generated/validators/publicKey.zod.d.ts +230 -0
- package/dist/fleet/v1/generated/validators/publicKey.zod.js +231 -0
- package/dist/fleet/v1/generated/validators/renewParticipantRequest.zod.d.ts +236 -0
- package/dist/fleet/v1/generated/validators/renewParticipantRequest.zod.js +235 -0
- package/dist/fleet/v1/generated/validators/renewParticipantResponse.zod.d.ts +257 -0
- package/dist/fleet/v1/generated/validators/renewParticipantResponse.zod.js +238 -0
- package/dist/fleet/v1/generated/validators/replaceMcpConfigurationRequest.zod.d.ts +233 -0
- package/dist/fleet/v1/generated/validators/replaceMcpConfigurationRequest.zod.js +237 -0
- package/dist/fleet/v1/generated/validators/rtcConfiguration.zod.d.ts +240 -0
- package/dist/fleet/v1/generated/validators/rtcConfiguration.zod.js +236 -0
- package/dist/fleet/v1/generated/validators/runCommandRequest.zod.d.ts +235 -0
- package/dist/fleet/v1/generated/validators/runCommandRequest.zod.js +242 -0
- package/dist/fleet/v1/generated/validators/runCommandResponse.zod.d.ts +237 -0
- package/dist/fleet/v1/generated/validators/runCommandResponse.zod.js +245 -0
- package/dist/fleet/v1/generated/validators/sendMcpRequestRequest.zod.d.ts +234 -0
- package/dist/fleet/v1/generated/validators/sendMcpRequestRequest.zod.js +239 -0
- package/dist/fleet/v1/generated/validators/sendMcpRequestResponse.zod.d.ts +231 -0
- package/dist/fleet/v1/generated/validators/sendMcpRequestResponse.zod.js +231 -0
- package/dist/fleet/v1/generated/validators/sessionCloseReason.zod.d.ts +242 -0
- package/dist/fleet/v1/generated/validators/sessionCloseReason.zod.js +242 -0
- package/dist/fleet/v1/generated/validators/sessionList.zod.d.ts +274 -0
- package/dist/fleet/v1/generated/validators/sessionList.zod.js +234 -0
- package/dist/fleet/v1/generated/validators/sessionMode.zod.d.ts +232 -0
- package/dist/fleet/v1/generated/validators/sessionMode.zod.js +229 -0
- package/dist/fleet/v1/generated/validators/sessionResource.zod.d.ts +268 -0
- package/dist/fleet/v1/generated/validators/sessionResource.zod.js +254 -0
- package/dist/fleet/v1/generated/validators/sessionState.zod.d.ts +234 -0
- package/dist/fleet/v1/generated/validators/sessionState.zod.js +229 -0
- package/dist/fleet/v1/generated/validators/signedMessage.zod.d.ts +233 -0
- package/dist/fleet/v1/generated/validators/signedMessage.zod.js +235 -0
- package/dist/fleet/v1/generated/validators/signingKey.zod.d.ts +232 -0
- package/dist/fleet/v1/generated/validators/signingKey.zod.js +233 -0
- package/dist/fleet/v1/generated/validators/updateAccountRequest.zod.d.ts +235 -0
- package/dist/fleet/v1/generated/validators/updateAccountRequest.zod.js +240 -0
- package/dist/fleet/v1/generated/validators/updateGroupRequest.zod.d.ts +231 -0
- package/dist/fleet/v1/generated/validators/updateGroupRequest.zod.js +230 -0
- package/dist/fleet/v1/generated/validators/updateMachineRequest.zod.d.ts +232 -0
- package/dist/fleet/v1/generated/validators/updateMachineRequest.zod.js +230 -0
- package/dist/fleet/v1/generated/validators/updateMcpServerRequest.zod.d.ts +254 -0
- package/dist/fleet/v1/generated/validators/updateMcpServerRequest.zod.js +282 -0
- package/dist/fleet/v1/generated/validators/updateMcpServerResponse.zod.d.ts +279 -0
- package/dist/fleet/v1/generated/validators/updateMcpServerResponse.zod.js +232 -0
- package/dist/fleet/v1/generated/validators/updatePrivilegeAutoApprovalRequest.zod.d.ts +231 -0
- package/dist/fleet/v1/generated/validators/updatePrivilegeAutoApprovalRequest.zod.js +232 -0
- package/dist/fleet/v1/index.d.ts +3 -0
- package/dist/fleet/v1/index.js +3 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/proto/google/rpc/status_pb.d.ts +48 -0
- package/dist/proto/google/rpc/status_pb.js +24 -0
- package/dist/proto/leaflow/fleet/audio/v1/audio_pb.d.ts +262 -0
- package/dist/proto/leaflow/fleet/audio/v1/audio_pb.js +51 -0
- package/dist/proto/leaflow/fleet/camera/v1/camera_pb.d.ts +265 -0
- package/dist/proto/leaflow/fleet/camera/v1/camera_pb.js +70 -0
- package/dist/proto/leaflow/fleet/command/v1/command_pb.d.ts +158 -0
- package/dist/proto/leaflow/fleet/command/v1/command_pb.js +25 -0
- package/dist/proto/leaflow/fleet/control/v1/control_pb.d.ts +1226 -0
- package/dist/proto/leaflow/fleet/control/v1/control_pb.js +354 -0
- package/dist/proto/leaflow/fleet/device/v1/device_pb.d.ts +422 -0
- package/dist/proto/leaflow/fleet/device/v1/device_pb.js +183 -0
- package/dist/proto/leaflow/fleet/directory/v1/directory_pb.d.ts +429 -0
- package/dist/proto/leaflow/fleet/directory/v1/directory_pb.js +78 -0
- package/dist/proto/leaflow/fleet/exec/v1/exec_pb.d.ts +287 -0
- package/dist/proto/leaflow/fleet/exec/v1/exec_pb.js +78 -0
- package/dist/proto/leaflow/fleet/filetransfer/v1/filetransfer_pb.d.ts +731 -0
- package/dist/proto/leaflow/fleet/filetransfer/v1/filetransfer_pb.js +163 -0
- package/dist/proto/leaflow/fleet/gamepad/v1/gamepad_pb.d.ts +347 -0
- package/dist/proto/leaflow/fleet/gamepad/v1/gamepad_pb.js +124 -0
- package/dist/proto/leaflow/fleet/host/v1/host_pb.d.ts +619 -0
- package/dist/proto/leaflow/fleet/host/v1/host_pb.js +206 -0
- package/dist/proto/leaflow/fleet/logs/v1/logs_pb.d.ts +293 -0
- package/dist/proto/leaflow/fleet/logs/v1/logs_pb.js +90 -0
- package/dist/proto/leaflow/fleet/machine/v1/machine_pb.d.ts +448 -0
- package/dist/proto/leaflow/fleet/machine/v1/machine_pb.js +157 -0
- package/dist/proto/leaflow/fleet/mcp/v1/mcp_pb.d.ts +891 -0
- package/dist/proto/leaflow/fleet/mcp/v1/mcp_pb.js +306 -0
- package/dist/proto/leaflow/fleet/portforward/v1/portforward_pb.d.ts +688 -0
- package/dist/proto/leaflow/fleet/portforward/v1/portforward_pb.js +209 -0
- package/dist/proto/leaflow/fleet/printing/v1/printing_pb.d.ts +741 -0
- package/dist/proto/leaflow/fleet/printing/v1/printing_pb.js +260 -0
- package/dist/proto/leaflow/fleet/privilege/v1/privilege_pb.d.ts +569 -0
- package/dist/proto/leaflow/fleet/privilege/v1/privilege_pb.js +168 -0
- package/dist/proto/leaflow/fleet/rpc/v1/rpc_pb.d.ts +234 -0
- package/dist/proto/leaflow/fleet/rpc/v1/rpc_pb.js +70 -0
- package/dist/proto/leaflow/fleet/session/v1/session_pb.d.ts +411 -0
- package/dist/proto/leaflow/fleet/session/v1/session_pb.js +130 -0
- package/dist/proto/leaflow/fleet/sshagent/v1/sshagent_pb.d.ts +163 -0
- package/dist/proto/leaflow/fleet/sshagent/v1/sshagent_pb.js +64 -0
- package/dist/proto/leaflow/fleet/terminal/v1/terminal_pb.d.ts +297 -0
- package/dist/proto/leaflow/fleet/terminal/v1/terminal_pb.js +54 -0
- package/dist/proto/leaflow/fleet/transport/v1/transport_pb.d.ts +1055 -0
- package/dist/proto/leaflow/fleet/transport/v1/transport_pb.js +251 -0
- package/dist/proto/leaflow/fleet/virtualdesktop/accessibility/v1/accessibility_pb.d.ts +1298 -0
- package/dist/proto/leaflow/fleet/virtualdesktop/accessibility/v1/accessibility_pb.js +437 -0
- package/dist/proto/leaflow/fleet/virtualdesktop/application/v1/application_pb.d.ts +888 -0
- package/dist/proto/leaflow/fleet/virtualdesktop/application/v1/application_pb.js +210 -0
- package/dist/proto/leaflow/fleet/virtualdesktop/capture/v1/capture_pb.d.ts +231 -0
- package/dist/proto/leaflow/fleet/virtualdesktop/capture/v1/capture_pb.js +63 -0
- package/dist/proto/leaflow/fleet/virtualdesktop/change/v1/change_pb.d.ts +965 -0
- package/dist/proto/leaflow/fleet/virtualdesktop/change/v1/change_pb.js +239 -0
- package/dist/proto/leaflow/fleet/virtualdesktop/cursor/v1/cursor_pb.d.ts +201 -0
- package/dist/proto/leaflow/fleet/virtualdesktop/cursor/v1/cursor_pb.js +34 -0
- package/dist/proto/leaflow/fleet/virtualdesktop/datatransfer/v1/datatransfer_pb.d.ts +1489 -0
- package/dist/proto/leaflow/fleet/virtualdesktop/datatransfer/v1/datatransfer_pb.js +256 -0
- package/dist/proto/leaflow/fleet/virtualdesktop/display/v1/display_pb.d.ts +380 -0
- package/dist/proto/leaflow/fleet/virtualdesktop/display/v1/display_pb.js +89 -0
- package/dist/proto/leaflow/fleet/virtualdesktop/draw/v1/draw_pb.d.ts +587 -0
- package/dist/proto/leaflow/fleet/virtualdesktop/draw/v1/draw_pb.js +139 -0
- package/dist/proto/leaflow/fleet/virtualdesktop/host/v1/host_pb.d.ts +69 -0
- package/dist/proto/leaflow/fleet/virtualdesktop/host/v1/host_pb.js +19 -0
- package/dist/proto/leaflow/fleet/virtualdesktop/input/v1/input_pb.d.ts +1463 -0
- package/dist/proto/leaflow/fleet/virtualdesktop/input/v1/input_pb.js +321 -0
- package/dist/proto/leaflow/fleet/virtualdesktop/lease/v1/lease_pb.d.ts +93 -0
- package/dist/proto/leaflow/fleet/virtualdesktop/lease/v1/lease_pb.js +24 -0
- package/dist/proto/leaflow/fleet/virtualdesktop/notification/v1/notification_pb.d.ts +414 -0
- package/dist/proto/leaflow/fleet/virtualdesktop/notification/v1/notification_pb.js +137 -0
- package/dist/proto/leaflow/fleet/virtualdesktop/tray/v1/tray_pb.d.ts +928 -0
- package/dist/proto/leaflow/fleet/virtualdesktop/tray/v1/tray_pb.js +413 -0
- package/dist/proto/leaflow/fleet/virtualdesktop/window/v1/window_pb.d.ts +1559 -0
- package/dist/proto/leaflow/fleet/virtualdesktop/window/v1/window_pb.js +664 -0
- package/dist/routes.d.ts +440 -0
- package/dist/routes.js +495 -0
- package/package.json +11 -3
|
@@ -0,0 +1,891 @@
|
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
3
|
+
/**
|
|
4
|
+
* Describes the file leaflow/fleet/mcp/v1/mcp.proto.
|
|
5
|
+
*/
|
|
6
|
+
export declare const file_leaflow_fleet_mcp_v1_mcp: GenFile;
|
|
7
|
+
/**
|
|
8
|
+
* The account a request acts as, as in leaflow.fleet.command.v1.
|
|
9
|
+
*
|
|
10
|
+
* @generated from message leaflow.fleet.mcp.v1.McpAccount
|
|
11
|
+
*/
|
|
12
|
+
export type McpAccount = Message<"leaflow.fleet.mcp.v1.McpAccount"> & {
|
|
13
|
+
/**
|
|
14
|
+
* The platform user who asked.
|
|
15
|
+
*
|
|
16
|
+
* @generated from field: string user_id = 1;
|
|
17
|
+
*/
|
|
18
|
+
userId: string;
|
|
19
|
+
/**
|
|
20
|
+
* The user's directory account (leaflow.fleet.directory.v1 Account), whose
|
|
21
|
+
* user_id is the one above.
|
|
22
|
+
*
|
|
23
|
+
* @generated from field: string username = 2;
|
|
24
|
+
*/
|
|
25
|
+
username: string;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* Describes the message leaflow.fleet.mcp.v1.McpAccount.
|
|
29
|
+
* Use `create(McpAccountSchema)` to create a new message.
|
|
30
|
+
*/
|
|
31
|
+
export declare const McpAccountSchema: GenMessage<McpAccount>;
|
|
32
|
+
/**
|
|
33
|
+
* The request of ListMcpServers.
|
|
34
|
+
*
|
|
35
|
+
* @generated from message leaflow.fleet.mcp.v1.ListMcpServersRequest
|
|
36
|
+
*/
|
|
37
|
+
export type ListMcpServersRequest = Message<"leaflow.fleet.mcp.v1.ListMcpServersRequest"> & {
|
|
38
|
+
/**
|
|
39
|
+
* @generated from field: leaflow.fleet.mcp.v1.McpAccount account = 1;
|
|
40
|
+
*/
|
|
41
|
+
account?: McpAccount | undefined;
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* Describes the message leaflow.fleet.mcp.v1.ListMcpServersRequest.
|
|
45
|
+
* Use `create(ListMcpServersRequestSchema)` to create a new message.
|
|
46
|
+
*/
|
|
47
|
+
export declare const ListMcpServersRequestSchema: GenMessage<ListMcpServersRequest>;
|
|
48
|
+
/**
|
|
49
|
+
* The response of ListMcpServers.
|
|
50
|
+
*
|
|
51
|
+
* @generated from message leaflow.fleet.mcp.v1.ListMcpServersResponse
|
|
52
|
+
*/
|
|
53
|
+
export type ListMcpServersResponse = Message<"leaflow.fleet.mcp.v1.ListMcpServersResponse"> & {
|
|
54
|
+
/**
|
|
55
|
+
* @generated from field: leaflow.fleet.mcp.v1.McpConfigurationFile file = 1;
|
|
56
|
+
*/
|
|
57
|
+
file?: McpConfigurationFile | undefined;
|
|
58
|
+
/**
|
|
59
|
+
* The servers of the configuration the Agent serves, by name.
|
|
60
|
+
*
|
|
61
|
+
* @generated from field: repeated leaflow.fleet.mcp.v1.McpServer servers = 2;
|
|
62
|
+
*/
|
|
63
|
+
servers: McpServer[];
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* Describes the message leaflow.fleet.mcp.v1.ListMcpServersResponse.
|
|
67
|
+
* Use `create(ListMcpServersResponseSchema)` to create a new message.
|
|
68
|
+
*/
|
|
69
|
+
export declare const ListMcpServersResponseSchema: GenMessage<ListMcpServersResponse>;
|
|
70
|
+
/**
|
|
71
|
+
* The account's configuration file.
|
|
72
|
+
*
|
|
73
|
+
* @generated from message leaflow.fleet.mcp.v1.McpConfigurationFile
|
|
74
|
+
*/
|
|
75
|
+
export type McpConfigurationFile = Message<"leaflow.fleet.mcp.v1.McpConfigurationFile"> & {
|
|
76
|
+
/**
|
|
77
|
+
* @generated from field: leaflow.fleet.mcp.v1.McpConfigurationState state = 1;
|
|
78
|
+
*/
|
|
79
|
+
state: McpConfigurationState;
|
|
80
|
+
/**
|
|
81
|
+
* SHA-256 of the file's bytes in lower-case hex; empty while it is
|
|
82
|
+
* MISSING. Editing requests carry it to detect edits made in between.
|
|
83
|
+
*
|
|
84
|
+
* @generated from field: string revision = 2;
|
|
85
|
+
*/
|
|
86
|
+
revision: string;
|
|
87
|
+
/**
|
|
88
|
+
* INVALID only: where the first error is, counted from 1.
|
|
89
|
+
*
|
|
90
|
+
* @generated from field: uint32 invalid_line = 3;
|
|
91
|
+
*/
|
|
92
|
+
invalidLine: number;
|
|
93
|
+
/**
|
|
94
|
+
* @generated from field: uint32 invalid_column = 4;
|
|
95
|
+
*/
|
|
96
|
+
invalidColumn: number;
|
|
97
|
+
/**
|
|
98
|
+
* The name, in the same directory, under which the Agent set aside a file
|
|
99
|
+
* that was not valid when it started to serve the account; empty when it
|
|
100
|
+
* did not.
|
|
101
|
+
*
|
|
102
|
+
* @generated from field: string set_aside = 5;
|
|
103
|
+
*/
|
|
104
|
+
setAside: string;
|
|
105
|
+
};
|
|
106
|
+
/**
|
|
107
|
+
* Describes the message leaflow.fleet.mcp.v1.McpConfigurationFile.
|
|
108
|
+
* Use `create(McpConfigurationFileSchema)` to create a new message.
|
|
109
|
+
*/
|
|
110
|
+
export declare const McpConfigurationFileSchema: GenMessage<McpConfigurationFile>;
|
|
111
|
+
/**
|
|
112
|
+
* A configured server, its secrets left out, and what it is doing now.
|
|
113
|
+
*
|
|
114
|
+
* @generated from message leaflow.fleet.mcp.v1.McpServer
|
|
115
|
+
*/
|
|
116
|
+
export type McpServer = Message<"leaflow.fleet.mcp.v1.McpServer"> & {
|
|
117
|
+
/**
|
|
118
|
+
* Its key in "mcpServers".
|
|
119
|
+
*
|
|
120
|
+
* @generated from field: string name = 1;
|
|
121
|
+
*/
|
|
122
|
+
name: string;
|
|
123
|
+
/**
|
|
124
|
+
* @generated from field: leaflow.fleet.mcp.v1.McpServerDefinition definition = 2;
|
|
125
|
+
*/
|
|
126
|
+
definition?: McpServerDefinition | undefined;
|
|
127
|
+
/**
|
|
128
|
+
* @generated from field: leaflow.fleet.mcp.v1.McpServerState state = 3;
|
|
129
|
+
*/
|
|
130
|
+
state: McpServerState;
|
|
131
|
+
/**
|
|
132
|
+
* FAILED and INVALID only: why.
|
|
133
|
+
*
|
|
134
|
+
* @generated from field: leaflow.fleet.mcp.v1.McpServerFailure failure = 4;
|
|
135
|
+
*/
|
|
136
|
+
failure: McpServerFailure;
|
|
137
|
+
/**
|
|
138
|
+
* RUNNING only: what it said of itself when it was initialized.
|
|
139
|
+
*
|
|
140
|
+
* @generated from field: leaflow.fleet.mcp.v1.McpImplementation implementation = 5;
|
|
141
|
+
*/
|
|
142
|
+
implementation?: McpImplementation | undefined;
|
|
143
|
+
/**
|
|
144
|
+
* RUNNING only: how many tools it offers.
|
|
145
|
+
*
|
|
146
|
+
* @generated from field: uint32 tool_count = 6;
|
|
147
|
+
*/
|
|
148
|
+
toolCount: number;
|
|
149
|
+
};
|
|
150
|
+
/**
|
|
151
|
+
* Describes the message leaflow.fleet.mcp.v1.McpServer.
|
|
152
|
+
* Use `create(McpServerSchema)` to create a new message.
|
|
153
|
+
*/
|
|
154
|
+
export declare const McpServerSchema: GenMessage<McpServer>;
|
|
155
|
+
/**
|
|
156
|
+
* How to reach a server. In responses, env and headers hold the keys only,
|
|
157
|
+
* with empty values.
|
|
158
|
+
*
|
|
159
|
+
* @generated from message leaflow.fleet.mcp.v1.McpServerDefinition
|
|
160
|
+
*/
|
|
161
|
+
export type McpServerDefinition = Message<"leaflow.fleet.mcp.v1.McpServerDefinition"> & {
|
|
162
|
+
/**
|
|
163
|
+
* Unspecified in a request: STDIO with command, HTTP with url.
|
|
164
|
+
*
|
|
165
|
+
* @generated from field: leaflow.fleet.mcp.v1.McpTransport transport = 1;
|
|
166
|
+
*/
|
|
167
|
+
transport: McpTransport;
|
|
168
|
+
/**
|
|
169
|
+
* STDIO only: the program, looked up in the account's PATH.
|
|
170
|
+
*
|
|
171
|
+
* @generated from field: string command = 2;
|
|
172
|
+
*/
|
|
173
|
+
command: string;
|
|
174
|
+
/**
|
|
175
|
+
* STDIO only.
|
|
176
|
+
*
|
|
177
|
+
* @generated from field: repeated string args = 3;
|
|
178
|
+
*/
|
|
179
|
+
args: string[];
|
|
180
|
+
/**
|
|
181
|
+
* STDIO only: variables added to the account's environment. Secret.
|
|
182
|
+
*
|
|
183
|
+
* @generated from field: map<string, string> env = 4;
|
|
184
|
+
*/
|
|
185
|
+
env: {
|
|
186
|
+
[key: string]: string;
|
|
187
|
+
};
|
|
188
|
+
/**
|
|
189
|
+
* HTTP and SSE only: the endpoint.
|
|
190
|
+
*
|
|
191
|
+
* @generated from field: string url = 5;
|
|
192
|
+
*/
|
|
193
|
+
url: string;
|
|
194
|
+
/**
|
|
195
|
+
* HTTP and SSE only: headers sent with every request. Secret.
|
|
196
|
+
*
|
|
197
|
+
* @generated from field: map<string, string> headers = 6;
|
|
198
|
+
*/
|
|
199
|
+
headers: {
|
|
200
|
+
[key: string]: string;
|
|
201
|
+
};
|
|
202
|
+
/**
|
|
203
|
+
* Configured but kept stopped.
|
|
204
|
+
*
|
|
205
|
+
* @generated from field: bool disabled = 7;
|
|
206
|
+
*/
|
|
207
|
+
disabled: boolean;
|
|
208
|
+
};
|
|
209
|
+
/**
|
|
210
|
+
* Describes the message leaflow.fleet.mcp.v1.McpServerDefinition.
|
|
211
|
+
* Use `create(McpServerDefinitionSchema)` to create a new message.
|
|
212
|
+
*/
|
|
213
|
+
export declare const McpServerDefinitionSchema: GenMessage<McpServerDefinition>;
|
|
214
|
+
/**
|
|
215
|
+
* MCP Implementation: what a server says of itself.
|
|
216
|
+
*
|
|
217
|
+
* @generated from message leaflow.fleet.mcp.v1.McpImplementation
|
|
218
|
+
*/
|
|
219
|
+
export type McpImplementation = Message<"leaflow.fleet.mcp.v1.McpImplementation"> & {
|
|
220
|
+
/**
|
|
221
|
+
* @generated from field: string name = 1;
|
|
222
|
+
*/
|
|
223
|
+
name: string;
|
|
224
|
+
/**
|
|
225
|
+
* @generated from field: string version = 2;
|
|
226
|
+
*/
|
|
227
|
+
version: string;
|
|
228
|
+
/**
|
|
229
|
+
* @generated from field: string title = 3;
|
|
230
|
+
*/
|
|
231
|
+
title: string;
|
|
232
|
+
};
|
|
233
|
+
/**
|
|
234
|
+
* Describes the message leaflow.fleet.mcp.v1.McpImplementation.
|
|
235
|
+
* Use `create(McpImplementationSchema)` to create a new message.
|
|
236
|
+
*/
|
|
237
|
+
export declare const McpImplementationSchema: GenMessage<McpImplementation>;
|
|
238
|
+
/**
|
|
239
|
+
* The request of PutMcpServer.
|
|
240
|
+
*
|
|
241
|
+
* @generated from message leaflow.fleet.mcp.v1.PutMcpServerRequest
|
|
242
|
+
*/
|
|
243
|
+
export type PutMcpServerRequest = Message<"leaflow.fleet.mcp.v1.PutMcpServerRequest"> & {
|
|
244
|
+
/**
|
|
245
|
+
* @generated from field: leaflow.fleet.mcp.v1.McpAccount account = 1;
|
|
246
|
+
*/
|
|
247
|
+
account?: McpAccount | undefined;
|
|
248
|
+
/**
|
|
249
|
+
* The server's key in "mcpServers", by the rule of Configuration; any other
|
|
250
|
+
* fails the call with INVALID_REQUEST.
|
|
251
|
+
*
|
|
252
|
+
* @generated from field: string name = 2;
|
|
253
|
+
*/
|
|
254
|
+
name: string;
|
|
255
|
+
/**
|
|
256
|
+
* @generated from field: leaflow.fleet.mcp.v1.McpServerDefinition definition = 3;
|
|
257
|
+
*/
|
|
258
|
+
definition?: McpServerDefinition | undefined;
|
|
259
|
+
/**
|
|
260
|
+
* Keys of the server's current env whose values stay as they are, when
|
|
261
|
+
* definition.env does not give them. The platform cannot read them back to
|
|
262
|
+
* send them again.
|
|
263
|
+
*
|
|
264
|
+
* @generated from field: repeated string keep_env = 4;
|
|
265
|
+
*/
|
|
266
|
+
keepEnv: string[];
|
|
267
|
+
/**
|
|
268
|
+
* Keys of the server's current headers whose values stay, as keep_env.
|
|
269
|
+
*
|
|
270
|
+
* @generated from field: repeated string keep_headers = 5;
|
|
271
|
+
*/
|
|
272
|
+
keepHeaders: string[];
|
|
273
|
+
/**
|
|
274
|
+
* McpConfigurationFile.revision as last read, empty only for a file that
|
|
275
|
+
* was MISSING.
|
|
276
|
+
*
|
|
277
|
+
* @generated from field: string expected_revision = 6;
|
|
278
|
+
*/
|
|
279
|
+
expectedRevision: string;
|
|
280
|
+
};
|
|
281
|
+
/**
|
|
282
|
+
* Describes the message leaflow.fleet.mcp.v1.PutMcpServerRequest.
|
|
283
|
+
* Use `create(PutMcpServerRequestSchema)` to create a new message.
|
|
284
|
+
*/
|
|
285
|
+
export declare const PutMcpServerRequestSchema: GenMessage<PutMcpServerRequest>;
|
|
286
|
+
/**
|
|
287
|
+
* The response of PutMcpServer.
|
|
288
|
+
*
|
|
289
|
+
* @generated from message leaflow.fleet.mcp.v1.PutMcpServerResponse
|
|
290
|
+
*/
|
|
291
|
+
export type PutMcpServerResponse = Message<"leaflow.fleet.mcp.v1.PutMcpServerResponse"> & {
|
|
292
|
+
/**
|
|
293
|
+
* @generated from field: leaflow.fleet.mcp.v1.McpConfigurationFile file = 1;
|
|
294
|
+
*/
|
|
295
|
+
file?: McpConfigurationFile | undefined;
|
|
296
|
+
/**
|
|
297
|
+
* @generated from field: leaflow.fleet.mcp.v1.McpServer server = 2;
|
|
298
|
+
*/
|
|
299
|
+
server?: McpServer | undefined;
|
|
300
|
+
};
|
|
301
|
+
/**
|
|
302
|
+
* Describes the message leaflow.fleet.mcp.v1.PutMcpServerResponse.
|
|
303
|
+
* Use `create(PutMcpServerResponseSchema)` to create a new message.
|
|
304
|
+
*/
|
|
305
|
+
export declare const PutMcpServerResponseSchema: GenMessage<PutMcpServerResponse>;
|
|
306
|
+
/**
|
|
307
|
+
* The request of DeleteMcpServer.
|
|
308
|
+
*
|
|
309
|
+
* @generated from message leaflow.fleet.mcp.v1.DeleteMcpServerRequest
|
|
310
|
+
*/
|
|
311
|
+
export type DeleteMcpServerRequest = Message<"leaflow.fleet.mcp.v1.DeleteMcpServerRequest"> & {
|
|
312
|
+
/**
|
|
313
|
+
* @generated from field: leaflow.fleet.mcp.v1.McpAccount account = 1;
|
|
314
|
+
*/
|
|
315
|
+
account?: McpAccount | undefined;
|
|
316
|
+
/**
|
|
317
|
+
* @generated from field: string name = 2;
|
|
318
|
+
*/
|
|
319
|
+
name: string;
|
|
320
|
+
/**
|
|
321
|
+
* McpConfigurationFile.revision as last read, empty only for a file that
|
|
322
|
+
* was MISSING.
|
|
323
|
+
*
|
|
324
|
+
* @generated from field: string expected_revision = 3;
|
|
325
|
+
*/
|
|
326
|
+
expectedRevision: string;
|
|
327
|
+
};
|
|
328
|
+
/**
|
|
329
|
+
* Describes the message leaflow.fleet.mcp.v1.DeleteMcpServerRequest.
|
|
330
|
+
* Use `create(DeleteMcpServerRequestSchema)` to create a new message.
|
|
331
|
+
*/
|
|
332
|
+
export declare const DeleteMcpServerRequestSchema: GenMessage<DeleteMcpServerRequest>;
|
|
333
|
+
/**
|
|
334
|
+
* The response of DeleteMcpServer.
|
|
335
|
+
*
|
|
336
|
+
* @generated from message leaflow.fleet.mcp.v1.DeleteMcpServerResponse
|
|
337
|
+
*/
|
|
338
|
+
export type DeleteMcpServerResponse = Message<"leaflow.fleet.mcp.v1.DeleteMcpServerResponse"> & {
|
|
339
|
+
/**
|
|
340
|
+
* @generated from field: leaflow.fleet.mcp.v1.McpConfigurationFile file = 1;
|
|
341
|
+
*/
|
|
342
|
+
file?: McpConfigurationFile | undefined;
|
|
343
|
+
};
|
|
344
|
+
/**
|
|
345
|
+
* Describes the message leaflow.fleet.mcp.v1.DeleteMcpServerResponse.
|
|
346
|
+
* Use `create(DeleteMcpServerResponseSchema)` to create a new message.
|
|
347
|
+
*/
|
|
348
|
+
export declare const DeleteMcpServerResponseSchema: GenMessage<DeleteMcpServerResponse>;
|
|
349
|
+
/**
|
|
350
|
+
* The request of ReplaceMcpConfiguration.
|
|
351
|
+
*
|
|
352
|
+
* @generated from message leaflow.fleet.mcp.v1.ReplaceMcpConfigurationRequest
|
|
353
|
+
*/
|
|
354
|
+
export type ReplaceMcpConfigurationRequest = Message<"leaflow.fleet.mcp.v1.ReplaceMcpConfigurationRequest"> & {
|
|
355
|
+
/**
|
|
356
|
+
* @generated from field: leaflow.fleet.mcp.v1.McpAccount account = 1;
|
|
357
|
+
*/
|
|
358
|
+
account?: McpAccount | undefined;
|
|
359
|
+
/**
|
|
360
|
+
* The new file, a JSON object with an object "mcpServers", at most 1 MiB.
|
|
361
|
+
*
|
|
362
|
+
* @generated from field: bytes content = 2;
|
|
363
|
+
*/
|
|
364
|
+
content: Uint8Array;
|
|
365
|
+
/**
|
|
366
|
+
* McpConfigurationFile.revision as last read; empty replaces whatever is
|
|
367
|
+
* there, such as a file that cannot be read.
|
|
368
|
+
*
|
|
369
|
+
* @generated from field: string expected_revision = 3;
|
|
370
|
+
*/
|
|
371
|
+
expectedRevision: string;
|
|
372
|
+
};
|
|
373
|
+
/**
|
|
374
|
+
* Describes the message leaflow.fleet.mcp.v1.ReplaceMcpConfigurationRequest.
|
|
375
|
+
* Use `create(ReplaceMcpConfigurationRequestSchema)` to create a new message.
|
|
376
|
+
*/
|
|
377
|
+
export declare const ReplaceMcpConfigurationRequestSchema: GenMessage<ReplaceMcpConfigurationRequest>;
|
|
378
|
+
/**
|
|
379
|
+
* The response of ReplaceMcpConfiguration.
|
|
380
|
+
*
|
|
381
|
+
* @generated from message leaflow.fleet.mcp.v1.ReplaceMcpConfigurationResponse
|
|
382
|
+
*/
|
|
383
|
+
export type ReplaceMcpConfigurationResponse = Message<"leaflow.fleet.mcp.v1.ReplaceMcpConfigurationResponse"> & {
|
|
384
|
+
/**
|
|
385
|
+
* @generated from field: leaflow.fleet.mcp.v1.McpConfigurationFile file = 1;
|
|
386
|
+
*/
|
|
387
|
+
file?: McpConfigurationFile | undefined;
|
|
388
|
+
};
|
|
389
|
+
/**
|
|
390
|
+
* Describes the message leaflow.fleet.mcp.v1.ReplaceMcpConfigurationResponse.
|
|
391
|
+
* Use `create(ReplaceMcpConfigurationResponseSchema)` to create a new message.
|
|
392
|
+
*/
|
|
393
|
+
export declare const ReplaceMcpConfigurationResponseSchema: GenMessage<ReplaceMcpConfigurationResponse>;
|
|
394
|
+
/**
|
|
395
|
+
* The request of ListMcpTools.
|
|
396
|
+
*
|
|
397
|
+
* @generated from message leaflow.fleet.mcp.v1.ListMcpToolsRequest
|
|
398
|
+
*/
|
|
399
|
+
export type ListMcpToolsRequest = Message<"leaflow.fleet.mcp.v1.ListMcpToolsRequest"> & {
|
|
400
|
+
/**
|
|
401
|
+
* @generated from field: leaflow.fleet.mcp.v1.McpAccount account = 1;
|
|
402
|
+
*/
|
|
403
|
+
account?: McpAccount | undefined;
|
|
404
|
+
/**
|
|
405
|
+
* Only this server's tools; empty for every server's.
|
|
406
|
+
*
|
|
407
|
+
* @generated from field: string server = 2;
|
|
408
|
+
*/
|
|
409
|
+
server: string;
|
|
410
|
+
/**
|
|
411
|
+
* Words that each must occur in a tool's name, title or description,
|
|
412
|
+
* ignoring case; empty for every tool. At most 256 bytes.
|
|
413
|
+
*
|
|
414
|
+
* @generated from field: string query = 3;
|
|
415
|
+
*/
|
|
416
|
+
query: string;
|
|
417
|
+
/**
|
|
418
|
+
* At most this many tools, 1 to 500; unset: 100.
|
|
419
|
+
*
|
|
420
|
+
* @generated from field: uint32 page_size = 4;
|
|
421
|
+
*/
|
|
422
|
+
pageSize: number;
|
|
423
|
+
/**
|
|
424
|
+
* next_page_token of the previous page, to continue it.
|
|
425
|
+
*
|
|
426
|
+
* @generated from field: string page_token = 5;
|
|
427
|
+
*/
|
|
428
|
+
pageToken: string;
|
|
429
|
+
};
|
|
430
|
+
/**
|
|
431
|
+
* Describes the message leaflow.fleet.mcp.v1.ListMcpToolsRequest.
|
|
432
|
+
* Use `create(ListMcpToolsRequestSchema)` to create a new message.
|
|
433
|
+
*/
|
|
434
|
+
export declare const ListMcpToolsRequestSchema: GenMessage<ListMcpToolsRequest>;
|
|
435
|
+
/**
|
|
436
|
+
* The response of ListMcpTools.
|
|
437
|
+
*
|
|
438
|
+
* @generated from message leaflow.fleet.mcp.v1.ListMcpToolsResponse
|
|
439
|
+
*/
|
|
440
|
+
export type ListMcpToolsResponse = Message<"leaflow.fleet.mcp.v1.ListMcpToolsResponse"> & {
|
|
441
|
+
/**
|
|
442
|
+
* Ordered by server, then by tool name; fewer than page_size when more
|
|
443
|
+
* would make the response larger than 8 MiB.
|
|
444
|
+
*
|
|
445
|
+
* @generated from field: repeated leaflow.fleet.mcp.v1.McpTool tools = 1;
|
|
446
|
+
*/
|
|
447
|
+
tools: McpTool[];
|
|
448
|
+
/**
|
|
449
|
+
* Empty on the last page.
|
|
450
|
+
*
|
|
451
|
+
* @generated from field: string next_page_token = 2;
|
|
452
|
+
*/
|
|
453
|
+
nextPageToken: string;
|
|
454
|
+
/**
|
|
455
|
+
* Servers whose tools are missing because they could not be started or
|
|
456
|
+
* reached.
|
|
457
|
+
*
|
|
458
|
+
* @generated from field: repeated leaflow.fleet.mcp.v1.McpUnavailableServer unavailable_servers = 3;
|
|
459
|
+
*/
|
|
460
|
+
unavailableServers: McpUnavailableServer[];
|
|
461
|
+
};
|
|
462
|
+
/**
|
|
463
|
+
* Describes the message leaflow.fleet.mcp.v1.ListMcpToolsResponse.
|
|
464
|
+
* Use `create(ListMcpToolsResponseSchema)` to create a new message.
|
|
465
|
+
*/
|
|
466
|
+
export declare const ListMcpToolsResponseSchema: GenMessage<ListMcpToolsResponse>;
|
|
467
|
+
/**
|
|
468
|
+
* A tool of a server, as MCP tools/list gives it.
|
|
469
|
+
*
|
|
470
|
+
* @generated from message leaflow.fleet.mcp.v1.McpTool
|
|
471
|
+
*/
|
|
472
|
+
export type McpTool = Message<"leaflow.fleet.mcp.v1.McpTool"> & {
|
|
473
|
+
/**
|
|
474
|
+
* The server that offers it.
|
|
475
|
+
*
|
|
476
|
+
* @generated from field: string server = 1;
|
|
477
|
+
*/
|
|
478
|
+
server: string;
|
|
479
|
+
/**
|
|
480
|
+
* @generated from field: string name = 2;
|
|
481
|
+
*/
|
|
482
|
+
name: string;
|
|
483
|
+
/**
|
|
484
|
+
* @generated from field: string title = 3;
|
|
485
|
+
*/
|
|
486
|
+
title: string;
|
|
487
|
+
/**
|
|
488
|
+
* @generated from field: string description = 4;
|
|
489
|
+
*/
|
|
490
|
+
description: string;
|
|
491
|
+
/**
|
|
492
|
+
* The JSON Schema of its arguments, as JSON.
|
|
493
|
+
*
|
|
494
|
+
* @generated from field: bytes input_schema = 5;
|
|
495
|
+
*/
|
|
496
|
+
inputSchema: Uint8Array;
|
|
497
|
+
/**
|
|
498
|
+
* The JSON Schema of its structured result, as JSON; empty when it has
|
|
499
|
+
* none.
|
|
500
|
+
*
|
|
501
|
+
* @generated from field: bytes output_schema = 6;
|
|
502
|
+
*/
|
|
503
|
+
outputSchema: Uint8Array;
|
|
504
|
+
/**
|
|
505
|
+
* Its MCP ToolAnnotations, such as readOnlyHint, as JSON; empty when it has
|
|
506
|
+
* none. Hints of the server, not guarantees.
|
|
507
|
+
*
|
|
508
|
+
* @generated from field: bytes annotations = 7;
|
|
509
|
+
*/
|
|
510
|
+
annotations: Uint8Array;
|
|
511
|
+
};
|
|
512
|
+
/**
|
|
513
|
+
* Describes the message leaflow.fleet.mcp.v1.McpTool.
|
|
514
|
+
* Use `create(McpToolSchema)` to create a new message.
|
|
515
|
+
*/
|
|
516
|
+
export declare const McpToolSchema: GenMessage<McpTool>;
|
|
517
|
+
/**
|
|
518
|
+
* A server whose tools could not be listed.
|
|
519
|
+
*
|
|
520
|
+
* @generated from message leaflow.fleet.mcp.v1.McpUnavailableServer
|
|
521
|
+
*/
|
|
522
|
+
export type McpUnavailableServer = Message<"leaflow.fleet.mcp.v1.McpUnavailableServer"> & {
|
|
523
|
+
/**
|
|
524
|
+
* @generated from field: string name = 1;
|
|
525
|
+
*/
|
|
526
|
+
name: string;
|
|
527
|
+
/**
|
|
528
|
+
* @generated from field: leaflow.fleet.mcp.v1.McpServerFailure failure = 2;
|
|
529
|
+
*/
|
|
530
|
+
failure: McpServerFailure;
|
|
531
|
+
};
|
|
532
|
+
/**
|
|
533
|
+
* Describes the message leaflow.fleet.mcp.v1.McpUnavailableServer.
|
|
534
|
+
* Use `create(McpUnavailableServerSchema)` to create a new message.
|
|
535
|
+
*/
|
|
536
|
+
export declare const McpUnavailableServerSchema: GenMessage<McpUnavailableServer>;
|
|
537
|
+
/**
|
|
538
|
+
* The request of SendMcpRequest.
|
|
539
|
+
*
|
|
540
|
+
* @generated from message leaflow.fleet.mcp.v1.SendMcpRequestRequest
|
|
541
|
+
*/
|
|
542
|
+
export type SendMcpRequestRequest = Message<"leaflow.fleet.mcp.v1.SendMcpRequestRequest"> & {
|
|
543
|
+
/**
|
|
544
|
+
* @generated from field: leaflow.fleet.mcp.v1.McpAccount account = 1;
|
|
545
|
+
*/
|
|
546
|
+
account?: McpAccount | undefined;
|
|
547
|
+
/**
|
|
548
|
+
* @generated from field: string server = 2;
|
|
549
|
+
*/
|
|
550
|
+
server: string;
|
|
551
|
+
/**
|
|
552
|
+
* One JSON-RPC 2.0 request of MCP, at most 4 MiB. The Agent sends it to
|
|
553
|
+
* the server under an id of its own.
|
|
554
|
+
*
|
|
555
|
+
* @generated from field: bytes request = 3;
|
|
556
|
+
*/
|
|
557
|
+
request: Uint8Array;
|
|
558
|
+
};
|
|
559
|
+
/**
|
|
560
|
+
* Describes the message leaflow.fleet.mcp.v1.SendMcpRequestRequest.
|
|
561
|
+
* Use `create(SendMcpRequestRequestSchema)` to create a new message.
|
|
562
|
+
*/
|
|
563
|
+
export declare const SendMcpRequestRequestSchema: GenMessage<SendMcpRequestRequest>;
|
|
564
|
+
/**
|
|
565
|
+
* The response of SendMcpRequest.
|
|
566
|
+
*
|
|
567
|
+
* @generated from message leaflow.fleet.mcp.v1.SendMcpRequestResponse
|
|
568
|
+
*/
|
|
569
|
+
export type SendMcpRequestResponse = Message<"leaflow.fleet.mcp.v1.SendMcpRequestResponse"> & {
|
|
570
|
+
/**
|
|
571
|
+
* The server's JSON-RPC 2.0 response, with the id of the request as the
|
|
572
|
+
* service sent it, at most 8 MiB; a larger one fails the call with
|
|
573
|
+
* RESOURCE_EXHAUSTED and reason RESULT_TOO_LARGE.
|
|
574
|
+
*
|
|
575
|
+
* @generated from field: bytes response = 1;
|
|
576
|
+
*/
|
|
577
|
+
response: Uint8Array;
|
|
578
|
+
};
|
|
579
|
+
/**
|
|
580
|
+
* Describes the message leaflow.fleet.mcp.v1.SendMcpRequestResponse.
|
|
581
|
+
* Use `create(SendMcpRequestResponseSchema)` to create a new message.
|
|
582
|
+
*/
|
|
583
|
+
export declare const SendMcpRequestResponseSchema: GenMessage<SendMcpRequestResponse>;
|
|
584
|
+
/**
|
|
585
|
+
* The state of the configuration file.
|
|
586
|
+
*
|
|
587
|
+
* @generated from enum leaflow.fleet.mcp.v1.McpConfigurationState
|
|
588
|
+
*/
|
|
589
|
+
export declare enum McpConfigurationState {
|
|
590
|
+
/**
|
|
591
|
+
* @generated from enum value: MCP_CONFIGURATION_STATE_UNSPECIFIED = 0;
|
|
592
|
+
*/
|
|
593
|
+
UNSPECIFIED = 0,
|
|
594
|
+
/**
|
|
595
|
+
* Read in full; the servers are the file's.
|
|
596
|
+
*
|
|
597
|
+
* @generated from enum value: MCP_CONFIGURATION_STATE_OK = 1;
|
|
598
|
+
*/
|
|
599
|
+
OK = 1,
|
|
600
|
+
/**
|
|
601
|
+
* There is no file: no server.
|
|
602
|
+
*
|
|
603
|
+
* @generated from enum value: MCP_CONFIGURATION_STATE_MISSING = 2;
|
|
604
|
+
*/
|
|
605
|
+
MISSING = 2,
|
|
606
|
+
/**
|
|
607
|
+
* The file cannot be read, such as for its permissions. The servers are
|
|
608
|
+
* those of the file last read in full, if any.
|
|
609
|
+
*
|
|
610
|
+
* @generated from enum value: MCP_CONFIGURATION_STATE_UNREADABLE = 3;
|
|
611
|
+
*/
|
|
612
|
+
UNREADABLE = 3,
|
|
613
|
+
/**
|
|
614
|
+
* The file is not a JSON object with an object "mcpServers". The servers
|
|
615
|
+
* are those of the file last read in full, if any.
|
|
616
|
+
*
|
|
617
|
+
* @generated from enum value: MCP_CONFIGURATION_STATE_INVALID = 4;
|
|
618
|
+
*/
|
|
619
|
+
INVALID = 4
|
|
620
|
+
}
|
|
621
|
+
/**
|
|
622
|
+
* Describes the enum leaflow.fleet.mcp.v1.McpConfigurationState.
|
|
623
|
+
*/
|
|
624
|
+
export declare const McpConfigurationStateSchema: GenEnum<McpConfigurationState>;
|
|
625
|
+
/**
|
|
626
|
+
* How the Agent speaks to a server.
|
|
627
|
+
*
|
|
628
|
+
* @generated from enum leaflow.fleet.mcp.v1.McpTransport
|
|
629
|
+
*/
|
|
630
|
+
export declare enum McpTransport {
|
|
631
|
+
/**
|
|
632
|
+
* @generated from enum value: MCP_TRANSPORT_UNSPECIFIED = 0;
|
|
633
|
+
*/
|
|
634
|
+
UNSPECIFIED = 0,
|
|
635
|
+
/**
|
|
636
|
+
* A program the Agent starts, over its standard input and output.
|
|
637
|
+
*
|
|
638
|
+
* @generated from enum value: MCP_TRANSPORT_STDIO = 1;
|
|
639
|
+
*/
|
|
640
|
+
STDIO = 1,
|
|
641
|
+
/**
|
|
642
|
+
* Streamable HTTP.
|
|
643
|
+
*
|
|
644
|
+
* @generated from enum value: MCP_TRANSPORT_HTTP = 2;
|
|
645
|
+
*/
|
|
646
|
+
HTTP = 2,
|
|
647
|
+
/**
|
|
648
|
+
* HTTP with Server-Sent Events, the transport of earlier revisions of MCP.
|
|
649
|
+
*
|
|
650
|
+
* @generated from enum value: MCP_TRANSPORT_SSE = 3;
|
|
651
|
+
*/
|
|
652
|
+
SSE = 3
|
|
653
|
+
}
|
|
654
|
+
/**
|
|
655
|
+
* Describes the enum leaflow.fleet.mcp.v1.McpTransport.
|
|
656
|
+
*/
|
|
657
|
+
export declare const McpTransportSchema: GenEnum<McpTransport>;
|
|
658
|
+
/**
|
|
659
|
+
* What a server is doing.
|
|
660
|
+
*
|
|
661
|
+
* @generated from enum leaflow.fleet.mcp.v1.McpServerState
|
|
662
|
+
*/
|
|
663
|
+
export declare enum McpServerState {
|
|
664
|
+
/**
|
|
665
|
+
* @generated from enum value: MCP_SERVER_STATE_UNSPECIFIED = 0;
|
|
666
|
+
*/
|
|
667
|
+
UNSPECIFIED = 0,
|
|
668
|
+
/**
|
|
669
|
+
* Not started or connected, such as before its first use or after it was
|
|
670
|
+
* idle.
|
|
671
|
+
*
|
|
672
|
+
* @generated from enum value: MCP_SERVER_STATE_STOPPED = 1;
|
|
673
|
+
*/
|
|
674
|
+
STOPPED = 1,
|
|
675
|
+
/**
|
|
676
|
+
* Being started or connected to.
|
|
677
|
+
*
|
|
678
|
+
* @generated from enum value: MCP_SERVER_STATE_STARTING = 2;
|
|
679
|
+
*/
|
|
680
|
+
STARTING = 2,
|
|
681
|
+
/**
|
|
682
|
+
* Initialized and serving.
|
|
683
|
+
*
|
|
684
|
+
* @generated from enum value: MCP_SERVER_STATE_RUNNING = 3;
|
|
685
|
+
*/
|
|
686
|
+
RUNNING = 3,
|
|
687
|
+
/**
|
|
688
|
+
* It could not be started or reached, or it ended; it is tried again when
|
|
689
|
+
* next used.
|
|
690
|
+
*
|
|
691
|
+
* @generated from enum value: MCP_SERVER_STATE_FAILED = 4;
|
|
692
|
+
*/
|
|
693
|
+
FAILED = 4,
|
|
694
|
+
/**
|
|
695
|
+
* Its entry is configured with "disabled": true.
|
|
696
|
+
*
|
|
697
|
+
* @generated from enum value: MCP_SERVER_STATE_DISABLED = 5;
|
|
698
|
+
*/
|
|
699
|
+
DISABLED = 5,
|
|
700
|
+
/**
|
|
701
|
+
* Its entry is not valid; failure is INVALID_DEFINITION.
|
|
702
|
+
*
|
|
703
|
+
* @generated from enum value: MCP_SERVER_STATE_INVALID = 6;
|
|
704
|
+
*/
|
|
705
|
+
INVALID = 6
|
|
706
|
+
}
|
|
707
|
+
/**
|
|
708
|
+
* Describes the enum leaflow.fleet.mcp.v1.McpServerState.
|
|
709
|
+
*/
|
|
710
|
+
export declare const McpServerStateSchema: GenEnum<McpServerState>;
|
|
711
|
+
/**
|
|
712
|
+
* Why a server failed or is not valid.
|
|
713
|
+
*
|
|
714
|
+
* @generated from enum leaflow.fleet.mcp.v1.McpServerFailure
|
|
715
|
+
*/
|
|
716
|
+
export declare enum McpServerFailure {
|
|
717
|
+
/**
|
|
718
|
+
* @generated from enum value: MCP_SERVER_FAILURE_UNSPECIFIED = 0;
|
|
719
|
+
*/
|
|
720
|
+
UNSPECIFIED = 0,
|
|
721
|
+
/**
|
|
722
|
+
* Its name or entry is not valid, such as an entry with neither "command"
|
|
723
|
+
* nor "url".
|
|
724
|
+
*
|
|
725
|
+
* @generated from enum value: MCP_SERVER_FAILURE_INVALID_DEFINITION = 1;
|
|
726
|
+
*/
|
|
727
|
+
INVALID_DEFINITION = 1,
|
|
728
|
+
/**
|
|
729
|
+
* Its program could not be started, such as when it is not installed.
|
|
730
|
+
*
|
|
731
|
+
* @generated from enum value: MCP_SERVER_FAILURE_START_FAILED = 2;
|
|
732
|
+
*/
|
|
733
|
+
START_FAILED = 2,
|
|
734
|
+
/**
|
|
735
|
+
* Its program ended.
|
|
736
|
+
*
|
|
737
|
+
* @generated from enum value: MCP_SERVER_FAILURE_EXITED = 3;
|
|
738
|
+
*/
|
|
739
|
+
EXITED = 3,
|
|
740
|
+
/**
|
|
741
|
+
* Its endpoint could not be reached.
|
|
742
|
+
*
|
|
743
|
+
* @generated from enum value: MCP_SERVER_FAILURE_UNREACHABLE = 4;
|
|
744
|
+
*/
|
|
745
|
+
UNREACHABLE = 4,
|
|
746
|
+
/**
|
|
747
|
+
* Its endpoint asked for authorization that the headers do not give.
|
|
748
|
+
*
|
|
749
|
+
* @generated from enum value: MCP_SERVER_FAILURE_UNAUTHORIZED = 5;
|
|
750
|
+
*/
|
|
751
|
+
UNAUTHORIZED = 5,
|
|
752
|
+
/**
|
|
753
|
+
* It did not speak MCP as expected, such as by failing initialization.
|
|
754
|
+
*
|
|
755
|
+
* @generated from enum value: MCP_SERVER_FAILURE_PROTOCOL_ERROR = 6;
|
|
756
|
+
*/
|
|
757
|
+
PROTOCOL_ERROR = 6,
|
|
758
|
+
/**
|
|
759
|
+
* It did not answer in time.
|
|
760
|
+
*
|
|
761
|
+
* @generated from enum value: MCP_SERVER_FAILURE_TIMEOUT = 7;
|
|
762
|
+
*/
|
|
763
|
+
TIMEOUT = 7
|
|
764
|
+
}
|
|
765
|
+
/**
|
|
766
|
+
* Describes the enum leaflow.fleet.mcp.v1.McpServerFailure.
|
|
767
|
+
*/
|
|
768
|
+
export declare const McpServerFailureSchema: GenEnum<McpServerFailure>;
|
|
769
|
+
/**
|
|
770
|
+
* The MCP servers of an account. Served by the daemon; the service calls it.
|
|
771
|
+
*
|
|
772
|
+
* Every method fails with:
|
|
773
|
+
* - INVALID_ARGUMENT and reason INVALID_REQUEST for a request that breaks
|
|
774
|
+
* the rules of its fields;
|
|
775
|
+
* - NOT_FOUND and reason USER_NOT_FOUND for an account the machine's copy
|
|
776
|
+
* of the directory does not hold for user_id;
|
|
777
|
+
* - PERMISSION_DENIED and reason USER_NOT_ALLOWED, ACCOUNT_EXPIRED or
|
|
778
|
+
* PAM_PERMISSION_DENIED, as for leaflow.fleet.command.v1 RunCommand.
|
|
779
|
+
*
|
|
780
|
+
* @generated from service leaflow.fleet.mcp.v1.McpService
|
|
781
|
+
*/
|
|
782
|
+
export declare const McpService: GenService<{
|
|
783
|
+
/**
|
|
784
|
+
* Returns the account's configuration file and every server in it, with
|
|
785
|
+
* what it is doing now.
|
|
786
|
+
*
|
|
787
|
+
* @generated from rpc leaflow.fleet.mcp.v1.McpService.ListMcpServers
|
|
788
|
+
*/
|
|
789
|
+
listMcpServers: {
|
|
790
|
+
methodKind: "unary";
|
|
791
|
+
input: typeof ListMcpServersRequestSchema;
|
|
792
|
+
output: typeof ListMcpServersResponseSchema;
|
|
793
|
+
};
|
|
794
|
+
/**
|
|
795
|
+
* Adds a server to the account's configuration or replaces one, and
|
|
796
|
+
* returns the file as written.
|
|
797
|
+
*
|
|
798
|
+
* Fails with:
|
|
799
|
+
* - FAILED_PRECONDITION and reason MCP_CONFIGURATION_CHANGED when the
|
|
800
|
+
* file is no longer at expected_revision;
|
|
801
|
+
* - FAILED_PRECONDITION and reason MCP_CONFIGURATION_INVALID when the
|
|
802
|
+
* file cannot be read or is not valid: replace it whole first.
|
|
803
|
+
*
|
|
804
|
+
* @generated from rpc leaflow.fleet.mcp.v1.McpService.PutMcpServer
|
|
805
|
+
*/
|
|
806
|
+
putMcpServer: {
|
|
807
|
+
methodKind: "unary";
|
|
808
|
+
input: typeof PutMcpServerRequestSchema;
|
|
809
|
+
output: typeof PutMcpServerResponseSchema;
|
|
810
|
+
};
|
|
811
|
+
/**
|
|
812
|
+
* Removes a server from the account's configuration and stops it. Removing
|
|
813
|
+
* one that is not configured succeeds.
|
|
814
|
+
*
|
|
815
|
+
* Fails as PutMcpServer.
|
|
816
|
+
*
|
|
817
|
+
* @generated from rpc leaflow.fleet.mcp.v1.McpService.DeleteMcpServer
|
|
818
|
+
*/
|
|
819
|
+
deleteMcpServer: {
|
|
820
|
+
methodKind: "unary";
|
|
821
|
+
input: typeof DeleteMcpServerRequestSchema;
|
|
822
|
+
output: typeof DeleteMcpServerResponseSchema;
|
|
823
|
+
};
|
|
824
|
+
/**
|
|
825
|
+
* Replaces the account's configuration file as a whole, also one that
|
|
826
|
+
* cannot be read or is not valid.
|
|
827
|
+
*
|
|
828
|
+
* Fails with:
|
|
829
|
+
* - FAILED_PRECONDITION and reason MCP_CONFIGURATION_CHANGED as for
|
|
830
|
+
* PutMcpServer;
|
|
831
|
+
* - INVALID_ARGUMENT and reason MCP_CONFIGURATION_INVALID when content is
|
|
832
|
+
* not a JSON object with an object "mcpServers", with metadata "line"
|
|
833
|
+
* and "column" of the first error.
|
|
834
|
+
*
|
|
835
|
+
* @generated from rpc leaflow.fleet.mcp.v1.McpService.ReplaceMcpConfiguration
|
|
836
|
+
*/
|
|
837
|
+
replaceMcpConfiguration: {
|
|
838
|
+
methodKind: "unary";
|
|
839
|
+
input: typeof ReplaceMcpConfigurationRequestSchema;
|
|
840
|
+
output: typeof ReplaceMcpConfigurationResponseSchema;
|
|
841
|
+
};
|
|
842
|
+
/**
|
|
843
|
+
* Lists the tools of the account's servers, or of one of them, that match
|
|
844
|
+
* a query: every word of it, ignoring case, in the tool's name, title or
|
|
845
|
+
* description. Servers that are not running are started to learn their
|
|
846
|
+
* tools; one that cannot be is named in unavailable_servers, and the
|
|
847
|
+
* others are listed anyway. The call does not wait for slow servers: before
|
|
848
|
+
* its timeout passes it answers with those still starting named in
|
|
849
|
+
* unavailable_servers with TIMEOUT, and they go on starting, so that a
|
|
850
|
+
* later call lists their tools.
|
|
851
|
+
*
|
|
852
|
+
* Fails with NOT_FOUND and reason MCP_SERVER_NOT_FOUND for a server that is
|
|
853
|
+
* not configured.
|
|
854
|
+
*
|
|
855
|
+
* @generated from rpc leaflow.fleet.mcp.v1.McpService.ListMcpTools
|
|
856
|
+
*/
|
|
857
|
+
listMcpTools: {
|
|
858
|
+
methodKind: "unary";
|
|
859
|
+
input: typeof ListMcpToolsRequestSchema;
|
|
860
|
+
output: typeof ListMcpToolsResponseSchema;
|
|
861
|
+
};
|
|
862
|
+
/**
|
|
863
|
+
* Sends one JSON-RPC request of MCP to one of the account's servers, such
|
|
864
|
+
* as tools/call, resources/read or prompts/get, and returns its response.
|
|
865
|
+
* The Agent itself handles initialization and the session of the server,
|
|
866
|
+
* and passes the request on without checking it against a revision of MCP.
|
|
867
|
+
* When the call is cancelled or its timeout passes, the Agent cancels the
|
|
868
|
+
* request at the server (notifications/cancelled). A request the server
|
|
869
|
+
* makes of the client meanwhile, such as for sampling, is answered with the
|
|
870
|
+
* JSON-RPC error -32601, and its notifications, such as of progress, are
|
|
871
|
+
* dropped.
|
|
872
|
+
*
|
|
873
|
+
* Fails with:
|
|
874
|
+
* - NOT_FOUND and reason MCP_SERVER_NOT_FOUND for a server that is not
|
|
875
|
+
* configured;
|
|
876
|
+
* - UNAVAILABLE and reason MCP_SERVER_UNAVAILABLE when the server could not
|
|
877
|
+
* be started or reached, with metadata "failure", a McpServerFailure
|
|
878
|
+
* name without its prefix in lower case, such as "unauthorized";
|
|
879
|
+
* - INVALID_ARGUMENT and reason INVALID_REQUEST for a message that is not
|
|
880
|
+
* one JSON-RPC request, such as a batch or a notification, or that is
|
|
881
|
+
* one of initialization.
|
|
882
|
+
* A response with a JSON-RPC error is a successful call.
|
|
883
|
+
*
|
|
884
|
+
* @generated from rpc leaflow.fleet.mcp.v1.McpService.SendMcpRequest
|
|
885
|
+
*/
|
|
886
|
+
sendMcpRequest: {
|
|
887
|
+
methodKind: "unary";
|
|
888
|
+
input: typeof SendMcpRequestRequestSchema;
|
|
889
|
+
output: typeof SendMcpRequestResponseSchema;
|
|
890
|
+
};
|
|
891
|
+
}>;
|