@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.
Files changed (286) hide show
  1. package/README.md +15 -0
  2. package/dist/canopy/v1/generated/models.d.ts +100 -20
  3. package/dist/canopy/v1/generated/validators/aPIKeyUsageListResponseBody.zod.d.ts +5 -5
  4. package/dist/canopy/v1/generated/validators/aPIKeyUsageResource.zod.d.ts +5 -5
  5. package/dist/canopy/v1/generated/validators/aPIKeyUsageResource.zod.js +5 -5
  6. package/dist/canopy/v1/generated/validators/modelUsageListResponseBody.zod.d.ts +5 -5
  7. package/dist/canopy/v1/generated/validators/modelUsageResource.zod.d.ts +5 -5
  8. package/dist/canopy/v1/generated/validators/modelUsageResource.zod.js +5 -5
  9. package/dist/canopy/v1/generated/validators/totalsResource.zod.d.ts +5 -5
  10. package/dist/canopy/v1/generated/validators/totalsResource.zod.js +5 -5
  11. package/dist/canopy/v1/generated/validators/usageBucketResource.zod.d.ts +5 -5
  12. package/dist/canopy/v1/generated/validators/usageBucketResource.zod.js +5 -5
  13. package/dist/canopy/v1/generated/validators/usageTimelineResponseBody.zod.d.ts +5 -5
  14. package/dist/fleet/v1/generated/functions.d.ts +1710 -0
  15. package/dist/fleet/v1/generated/functions.js +1655 -0
  16. package/dist/fleet/v1/generated/models.d.ts +1534 -0
  17. package/dist/fleet/v1/generated/models.js +97 -0
  18. package/dist/fleet/v1/generated/schemas.zod.d.ts +1172 -0
  19. package/dist/fleet/v1/generated/schemas.zod.js +1291 -0
  20. package/dist/fleet/v1/generated/validators/accountList.zod.d.ts +250 -0
  21. package/dist/fleet/v1/generated/validators/accountList.zod.js +234 -0
  22. package/dist/fleet/v1/generated/validators/accountResource.zod.d.ts +244 -0
  23. package/dist/fleet/v1/generated/validators/accountResource.zod.js +242 -0
  24. package/dist/fleet/v1/generated/validators/approveEnrollmentRequest.zod.d.ts +232 -0
  25. package/dist/fleet/v1/generated/validators/approveEnrollmentRequest.zod.js +234 -0
  26. package/dist/fleet/v1/generated/validators/callMcpToolRequest.zod.d.ts +234 -0
  27. package/dist/fleet/v1/generated/validators/callMcpToolRequest.zod.js +240 -0
  28. package/dist/fleet/v1/generated/validators/callMcpToolResponse.zod.d.ts +231 -0
  29. package/dist/fleet/v1/generated/validators/callMcpToolResponse.zod.js +231 -0
  30. package/dist/fleet/v1/generated/validators/createGroupMemberRequest.zod.d.ts +231 -0
  31. package/dist/fleet/v1/generated/validators/createGroupMemberRequest.zod.js +229 -0
  32. package/dist/fleet/v1/generated/validators/createGroupRequest.zod.d.ts +231 -0
  33. package/dist/fleet/v1/generated/validators/createGroupRequest.zod.js +230 -0
  34. package/dist/fleet/v1/generated/validators/createMachineRegistrationRequest.zod.d.ts +236 -0
  35. package/dist/fleet/v1/generated/validators/createMachineRegistrationRequest.zod.js +243 -0
  36. package/dist/fleet/v1/generated/validators/createMachineRegistrationResponse.zod.d.ts +247 -0
  37. package/dist/fleet/v1/generated/validators/createMachineRegistrationResponse.zod.js +233 -0
  38. package/dist/fleet/v1/generated/validators/createParticipantRequest.zod.d.ts +248 -0
  39. package/dist/fleet/v1/generated/validators/createParticipantRequest.zod.js +261 -0
  40. package/dist/fleet/v1/generated/validators/createParticipantResponse.zod.d.ts +277 -0
  41. package/dist/fleet/v1/generated/validators/createParticipantResponse.zod.js +241 -0
  42. package/dist/fleet/v1/generated/validators/createPeerConnectionCandidatesRequest.zod.d.ts +236 -0
  43. package/dist/fleet/v1/generated/validators/createPeerConnectionCandidatesRequest.zod.js +238 -0
  44. package/dist/fleet/v1/generated/validators/createPeerConnectionRequest.zod.d.ts +232 -0
  45. package/dist/fleet/v1/generated/validators/createPeerConnectionRequest.zod.js +233 -0
  46. package/dist/fleet/v1/generated/validators/createSessionRequest.zod.d.ts +240 -0
  47. package/dist/fleet/v1/generated/validators/createSessionRequest.zod.js +231 -0
  48. package/dist/fleet/v1/generated/validators/cursorPagination.zod.d.ts +232 -0
  49. package/dist/fleet/v1/generated/validators/cursorPagination.zod.js +232 -0
  50. package/dist/fleet/v1/generated/validators/deleteMcpServerParams.zod.d.ts +232 -0
  51. package/dist/fleet/v1/generated/validators/deleteMcpServerParams.zod.js +230 -0
  52. package/dist/fleet/v1/generated/validators/desktopOptions.zod.d.ts +242 -0
  53. package/dist/fleet/v1/generated/validators/desktopOptions.zod.js +254 -0
  54. package/dist/fleet/v1/generated/validators/desktopState.zod.d.ts +235 -0
  55. package/dist/fleet/v1/generated/validators/desktopState.zod.js +231 -0
  56. package/dist/fleet/v1/generated/validators/directoryName.zod.d.ts +231 -0
  57. package/dist/fleet/v1/generated/validators/directoryName.zod.js +234 -0
  58. package/dist/fleet/v1/generated/validators/enrollmentResource.zod.d.ts +243 -0
  59. package/dist/fleet/v1/generated/validators/enrollmentResource.zod.js +241 -0
  60. package/dist/fleet/v1/generated/validators/enrollmentState.zod.d.ts +233 -0
  61. package/dist/fleet/v1/generated/validators/enrollmentState.zod.js +229 -0
  62. package/dist/fleet/v1/generated/validators/error.zod.d.ts +243 -0
  63. package/dist/fleet/v1/generated/validators/error.zod.js +232 -0
  64. package/dist/fleet/v1/generated/validators/errorStatus.zod.d.ts +241 -0
  65. package/dist/fleet/v1/generated/validators/errorStatus.zod.js +256 -0
  66. package/dist/fleet/v1/generated/validators/featureState.zod.d.ts +232 -0
  67. package/dist/fleet/v1/generated/validators/featureState.zod.js +229 -0
  68. package/dist/fleet/v1/generated/validators/fieldViolation.zod.d.ts +232 -0
  69. package/dist/fleet/v1/generated/validators/fieldViolation.zod.js +235 -0
  70. package/dist/fleet/v1/generated/validators/findEnrollmentByPairingCodeParams.zod.d.ts +232 -0
  71. package/dist/fleet/v1/generated/validators/findEnrollmentByPairingCodeParams.zod.js +230 -0
  72. package/dist/fleet/v1/generated/validators/findEnrollmentResponse.zod.d.ts +245 -0
  73. package/dist/fleet/v1/generated/validators/findEnrollmentResponse.zod.js +232 -0
  74. package/dist/fleet/v1/generated/validators/groupList.zod.d.ts +242 -0
  75. package/dist/fleet/v1/generated/validators/groupList.zod.js +234 -0
  76. package/dist/fleet/v1/generated/validators/groupResource.zod.d.ts +237 -0
  77. package/dist/fleet/v1/generated/validators/groupResource.zod.js +235 -0
  78. package/dist/fleet/v1/generated/validators/iceCandidate.zod.d.ts +234 -0
  79. package/dist/fleet/v1/generated/validators/iceCandidate.zod.js +241 -0
  80. package/dist/fleet/v1/generated/validators/iceServer.zod.d.ts +233 -0
  81. package/dist/fleet/v1/generated/validators/iceServer.zod.js +236 -0
  82. package/dist/fleet/v1/generated/validators/listAccountsParams.zod.d.ts +239 -0
  83. package/dist/fleet/v1/generated/validators/listAccountsParams.zod.js +241 -0
  84. package/dist/fleet/v1/generated/validators/listGroupMembersParams.zod.d.ts +236 -0
  85. package/dist/fleet/v1/generated/validators/listGroupMembersParams.zod.js +242 -0
  86. package/dist/fleet/v1/generated/validators/listGroupsParams.zod.d.ts +236 -0
  87. package/dist/fleet/v1/generated/validators/listGroupsParams.zod.js +238 -0
  88. package/dist/fleet/v1/generated/validators/listMachineEventsParams.zod.d.ts +240 -0
  89. package/dist/fleet/v1/generated/validators/listMachineEventsParams.zod.js +244 -0
  90. package/dist/fleet/v1/generated/validators/listMachineRegistrationsParams.zod.d.ts +236 -0
  91. package/dist/fleet/v1/generated/validators/listMachineRegistrationsParams.zod.js +242 -0
  92. package/dist/fleet/v1/generated/validators/listMachinesParams.zod.d.ts +238 -0
  93. package/dist/fleet/v1/generated/validators/listMachinesParams.zod.js +240 -0
  94. package/dist/fleet/v1/generated/validators/listMcpToolsParams.zod.d.ts +239 -0
  95. package/dist/fleet/v1/generated/validators/listMcpToolsParams.zod.js +241 -0
  96. package/dist/fleet/v1/generated/validators/listPrivilegeAutoApprovalsParams.zod.d.ts +236 -0
  97. package/dist/fleet/v1/generated/validators/listPrivilegeAutoApprovalsParams.zod.js +242 -0
  98. package/dist/fleet/v1/generated/validators/listPrivilegeRequestsParams.zod.d.ts +244 -0
  99. package/dist/fleet/v1/generated/validators/listPrivilegeRequestsParams.zod.js +245 -0
  100. package/dist/fleet/v1/generated/validators/listSessionsParams.zod.d.ts +240 -0
  101. package/dist/fleet/v1/generated/validators/listSessionsParams.zod.js +242 -0
  102. package/dist/fleet/v1/generated/validators/machineEventList.zod.d.ts +244 -0
  103. package/dist/fleet/v1/generated/validators/machineEventList.zod.js +234 -0
  104. package/dist/fleet/v1/generated/validators/machineEventResource.zod.d.ts +238 -0
  105. package/dist/fleet/v1/generated/validators/machineEventResource.zod.js +238 -0
  106. package/dist/fleet/v1/generated/validators/machineEventType.zod.d.ts +232 -0
  107. package/dist/fleet/v1/generated/validators/machineEventType.zod.js +229 -0
  108. package/dist/fleet/v1/generated/validators/machineFeature.zod.d.ts +237 -0
  109. package/dist/fleet/v1/generated/validators/machineFeature.zod.js +239 -0
  110. package/dist/fleet/v1/generated/validators/machineList.zod.d.ts +261 -0
  111. package/dist/fleet/v1/generated/validators/machineList.zod.js +234 -0
  112. package/dist/fleet/v1/generated/validators/machineRegistrationList.zod.d.ts +250 -0
  113. package/dist/fleet/v1/generated/validators/machineRegistrationList.zod.js +234 -0
  114. package/dist/fleet/v1/generated/validators/machineRegistrationResource.zod.d.ts +244 -0
  115. package/dist/fleet/v1/generated/validators/machineRegistrationResource.zod.js +249 -0
  116. package/dist/fleet/v1/generated/validators/machineRegistrationState.zod.d.ts +234 -0
  117. package/dist/fleet/v1/generated/validators/machineRegistrationState.zod.js +229 -0
  118. package/dist/fleet/v1/generated/validators/machineResource.zod.d.ts +256 -0
  119. package/dist/fleet/v1/generated/validators/machineResource.zod.js +257 -0
  120. package/dist/fleet/v1/generated/validators/mcpConfigurationFile.zod.d.ts +240 -0
  121. package/dist/fleet/v1/generated/validators/mcpConfigurationFile.zod.js +246 -0
  122. package/dist/fleet/v1/generated/validators/mcpConfigurationResource.zod.d.ts +279 -0
  123. package/dist/fleet/v1/generated/validators/mcpConfigurationResource.zod.js +232 -0
  124. package/dist/fleet/v1/generated/validators/mcpImplementation.zod.d.ts +233 -0
  125. package/dist/fleet/v1/generated/validators/mcpImplementation.zod.js +231 -0
  126. package/dist/fleet/v1/generated/validators/mcpServerFailure.zod.d.ts +237 -0
  127. package/dist/fleet/v1/generated/validators/mcpServerFailure.zod.js +237 -0
  128. package/dist/fleet/v1/generated/validators/mcpServerResource.zod.d.ts +265 -0
  129. package/dist/fleet/v1/generated/validators/mcpServerResource.zod.js +256 -0
  130. package/dist/fleet/v1/generated/validators/mcpToolList.zod.d.ts +252 -0
  131. package/dist/fleet/v1/generated/validators/mcpToolList.zod.js +235 -0
  132. package/dist/fleet/v1/generated/validators/mcpToolResource.zod.d.ts +237 -0
  133. package/dist/fleet/v1/generated/validators/mcpToolResource.zod.js +243 -0
  134. package/dist/fleet/v1/generated/validators/mcpTransport.zod.d.ts +233 -0
  135. package/dist/fleet/v1/generated/validators/mcpTransport.zod.js +229 -0
  136. package/dist/fleet/v1/generated/validators/mcpUnavailableServer.zod.d.ts +240 -0
  137. package/dist/fleet/v1/generated/validators/mcpUnavailableServer.zod.js +231 -0
  138. package/dist/fleet/v1/generated/validators/migrationStep.zod.d.ts +232 -0
  139. package/dist/fleet/v1/generated/validators/migrationStep.zod.js +233 -0
  140. package/dist/fleet/v1/generated/validators/namedIdentity.zod.d.ts +233 -0
  141. package/dist/fleet/v1/generated/validators/namedIdentity.zod.js +233 -0
  142. package/dist/fleet/v1/generated/validators/offsetPagination.zod.d.ts +234 -0
  143. package/dist/fleet/v1/generated/validators/offsetPagination.zod.js +234 -0
  144. package/dist/fleet/v1/generated/validators/operatingSystem.zod.d.ts +233 -0
  145. package/dist/fleet/v1/generated/validators/operatingSystem.zod.js +233 -0
  146. package/dist/fleet/v1/generated/validators/participantList.zod.d.ts +242 -0
  147. package/dist/fleet/v1/generated/validators/participantList.zod.js +230 -0
  148. package/dist/fleet/v1/generated/validators/participantResource.zod.d.ts +240 -0
  149. package/dist/fleet/v1/generated/validators/participantResource.zod.js +242 -0
  150. package/dist/fleet/v1/generated/validators/peerConnection.zod.d.ts +241 -0
  151. package/dist/fleet/v1/generated/validators/peerConnection.zod.js +242 -0
  152. package/dist/fleet/v1/generated/validators/privilegeAutoApprovalList.zod.d.ts +241 -0
  153. package/dist/fleet/v1/generated/validators/privilegeAutoApprovalList.zod.js +234 -0
  154. package/dist/fleet/v1/generated/validators/privilegeAutoApprovalResource.zod.d.ts +235 -0
  155. package/dist/fleet/v1/generated/validators/privilegeAutoApprovalResource.zod.js +236 -0
  156. package/dist/fleet/v1/generated/validators/privilegeDecider.zod.d.ts +232 -0
  157. package/dist/fleet/v1/generated/validators/privilegeDecider.zod.js +229 -0
  158. package/dist/fleet/v1/generated/validators/privilegeRequestList.zod.d.ts +258 -0
  159. package/dist/fleet/v1/generated/validators/privilegeRequestList.zod.js +234 -0
  160. package/dist/fleet/v1/generated/validators/privilegeRequestResource.zod.d.ts +253 -0
  161. package/dist/fleet/v1/generated/validators/privilegeRequestResource.zod.js +255 -0
  162. package/dist/fleet/v1/generated/validators/privilegeRequestState.zod.d.ts +235 -0
  163. package/dist/fleet/v1/generated/validators/privilegeRequestState.zod.js +229 -0
  164. package/dist/fleet/v1/generated/validators/publicKey.zod.d.ts +230 -0
  165. package/dist/fleet/v1/generated/validators/publicKey.zod.js +231 -0
  166. package/dist/fleet/v1/generated/validators/renewParticipantRequest.zod.d.ts +236 -0
  167. package/dist/fleet/v1/generated/validators/renewParticipantRequest.zod.js +235 -0
  168. package/dist/fleet/v1/generated/validators/renewParticipantResponse.zod.d.ts +257 -0
  169. package/dist/fleet/v1/generated/validators/renewParticipantResponse.zod.js +238 -0
  170. package/dist/fleet/v1/generated/validators/replaceMcpConfigurationRequest.zod.d.ts +233 -0
  171. package/dist/fleet/v1/generated/validators/replaceMcpConfigurationRequest.zod.js +237 -0
  172. package/dist/fleet/v1/generated/validators/rtcConfiguration.zod.d.ts +240 -0
  173. package/dist/fleet/v1/generated/validators/rtcConfiguration.zod.js +236 -0
  174. package/dist/fleet/v1/generated/validators/runCommandRequest.zod.d.ts +235 -0
  175. package/dist/fleet/v1/generated/validators/runCommandRequest.zod.js +242 -0
  176. package/dist/fleet/v1/generated/validators/runCommandResponse.zod.d.ts +237 -0
  177. package/dist/fleet/v1/generated/validators/runCommandResponse.zod.js +245 -0
  178. package/dist/fleet/v1/generated/validators/sendMcpRequestRequest.zod.d.ts +234 -0
  179. package/dist/fleet/v1/generated/validators/sendMcpRequestRequest.zod.js +239 -0
  180. package/dist/fleet/v1/generated/validators/sendMcpRequestResponse.zod.d.ts +231 -0
  181. package/dist/fleet/v1/generated/validators/sendMcpRequestResponse.zod.js +231 -0
  182. package/dist/fleet/v1/generated/validators/sessionCloseReason.zod.d.ts +242 -0
  183. package/dist/fleet/v1/generated/validators/sessionCloseReason.zod.js +242 -0
  184. package/dist/fleet/v1/generated/validators/sessionList.zod.d.ts +274 -0
  185. package/dist/fleet/v1/generated/validators/sessionList.zod.js +234 -0
  186. package/dist/fleet/v1/generated/validators/sessionMode.zod.d.ts +232 -0
  187. package/dist/fleet/v1/generated/validators/sessionMode.zod.js +229 -0
  188. package/dist/fleet/v1/generated/validators/sessionResource.zod.d.ts +268 -0
  189. package/dist/fleet/v1/generated/validators/sessionResource.zod.js +254 -0
  190. package/dist/fleet/v1/generated/validators/sessionState.zod.d.ts +234 -0
  191. package/dist/fleet/v1/generated/validators/sessionState.zod.js +229 -0
  192. package/dist/fleet/v1/generated/validators/signedMessage.zod.d.ts +233 -0
  193. package/dist/fleet/v1/generated/validators/signedMessage.zod.js +235 -0
  194. package/dist/fleet/v1/generated/validators/signingKey.zod.d.ts +232 -0
  195. package/dist/fleet/v1/generated/validators/signingKey.zod.js +233 -0
  196. package/dist/fleet/v1/generated/validators/updateAccountRequest.zod.d.ts +235 -0
  197. package/dist/fleet/v1/generated/validators/updateAccountRequest.zod.js +240 -0
  198. package/dist/fleet/v1/generated/validators/updateGroupRequest.zod.d.ts +231 -0
  199. package/dist/fleet/v1/generated/validators/updateGroupRequest.zod.js +230 -0
  200. package/dist/fleet/v1/generated/validators/updateMachineRequest.zod.d.ts +232 -0
  201. package/dist/fleet/v1/generated/validators/updateMachineRequest.zod.js +230 -0
  202. package/dist/fleet/v1/generated/validators/updateMcpServerRequest.zod.d.ts +254 -0
  203. package/dist/fleet/v1/generated/validators/updateMcpServerRequest.zod.js +282 -0
  204. package/dist/fleet/v1/generated/validators/updateMcpServerResponse.zod.d.ts +279 -0
  205. package/dist/fleet/v1/generated/validators/updateMcpServerResponse.zod.js +232 -0
  206. package/dist/fleet/v1/generated/validators/updatePrivilegeAutoApprovalRequest.zod.d.ts +231 -0
  207. package/dist/fleet/v1/generated/validators/updatePrivilegeAutoApprovalRequest.zod.js +232 -0
  208. package/dist/fleet/v1/index.d.ts +3 -0
  209. package/dist/fleet/v1/index.js +3 -0
  210. package/dist/index.d.ts +1 -0
  211. package/dist/index.js +1 -0
  212. package/dist/proto/google/rpc/status_pb.d.ts +48 -0
  213. package/dist/proto/google/rpc/status_pb.js +24 -0
  214. package/dist/proto/leaflow/fleet/audio/v1/audio_pb.d.ts +262 -0
  215. package/dist/proto/leaflow/fleet/audio/v1/audio_pb.js +51 -0
  216. package/dist/proto/leaflow/fleet/camera/v1/camera_pb.d.ts +265 -0
  217. package/dist/proto/leaflow/fleet/camera/v1/camera_pb.js +70 -0
  218. package/dist/proto/leaflow/fleet/command/v1/command_pb.d.ts +158 -0
  219. package/dist/proto/leaflow/fleet/command/v1/command_pb.js +25 -0
  220. package/dist/proto/leaflow/fleet/control/v1/control_pb.d.ts +1226 -0
  221. package/dist/proto/leaflow/fleet/control/v1/control_pb.js +354 -0
  222. package/dist/proto/leaflow/fleet/device/v1/device_pb.d.ts +422 -0
  223. package/dist/proto/leaflow/fleet/device/v1/device_pb.js +183 -0
  224. package/dist/proto/leaflow/fleet/directory/v1/directory_pb.d.ts +429 -0
  225. package/dist/proto/leaflow/fleet/directory/v1/directory_pb.js +78 -0
  226. package/dist/proto/leaflow/fleet/exec/v1/exec_pb.d.ts +287 -0
  227. package/dist/proto/leaflow/fleet/exec/v1/exec_pb.js +78 -0
  228. package/dist/proto/leaflow/fleet/filetransfer/v1/filetransfer_pb.d.ts +731 -0
  229. package/dist/proto/leaflow/fleet/filetransfer/v1/filetransfer_pb.js +163 -0
  230. package/dist/proto/leaflow/fleet/gamepad/v1/gamepad_pb.d.ts +347 -0
  231. package/dist/proto/leaflow/fleet/gamepad/v1/gamepad_pb.js +124 -0
  232. package/dist/proto/leaflow/fleet/host/v1/host_pb.d.ts +619 -0
  233. package/dist/proto/leaflow/fleet/host/v1/host_pb.js +206 -0
  234. package/dist/proto/leaflow/fleet/logs/v1/logs_pb.d.ts +293 -0
  235. package/dist/proto/leaflow/fleet/logs/v1/logs_pb.js +90 -0
  236. package/dist/proto/leaflow/fleet/machine/v1/machine_pb.d.ts +448 -0
  237. package/dist/proto/leaflow/fleet/machine/v1/machine_pb.js +157 -0
  238. package/dist/proto/leaflow/fleet/mcp/v1/mcp_pb.d.ts +891 -0
  239. package/dist/proto/leaflow/fleet/mcp/v1/mcp_pb.js +306 -0
  240. package/dist/proto/leaflow/fleet/portforward/v1/portforward_pb.d.ts +688 -0
  241. package/dist/proto/leaflow/fleet/portforward/v1/portforward_pb.js +209 -0
  242. package/dist/proto/leaflow/fleet/printing/v1/printing_pb.d.ts +741 -0
  243. package/dist/proto/leaflow/fleet/printing/v1/printing_pb.js +260 -0
  244. package/dist/proto/leaflow/fleet/privilege/v1/privilege_pb.d.ts +569 -0
  245. package/dist/proto/leaflow/fleet/privilege/v1/privilege_pb.js +168 -0
  246. package/dist/proto/leaflow/fleet/rpc/v1/rpc_pb.d.ts +234 -0
  247. package/dist/proto/leaflow/fleet/rpc/v1/rpc_pb.js +70 -0
  248. package/dist/proto/leaflow/fleet/session/v1/session_pb.d.ts +411 -0
  249. package/dist/proto/leaflow/fleet/session/v1/session_pb.js +130 -0
  250. package/dist/proto/leaflow/fleet/sshagent/v1/sshagent_pb.d.ts +163 -0
  251. package/dist/proto/leaflow/fleet/sshagent/v1/sshagent_pb.js +64 -0
  252. package/dist/proto/leaflow/fleet/terminal/v1/terminal_pb.d.ts +297 -0
  253. package/dist/proto/leaflow/fleet/terminal/v1/terminal_pb.js +54 -0
  254. package/dist/proto/leaflow/fleet/transport/v1/transport_pb.d.ts +1055 -0
  255. package/dist/proto/leaflow/fleet/transport/v1/transport_pb.js +251 -0
  256. package/dist/proto/leaflow/fleet/virtualdesktop/accessibility/v1/accessibility_pb.d.ts +1298 -0
  257. package/dist/proto/leaflow/fleet/virtualdesktop/accessibility/v1/accessibility_pb.js +437 -0
  258. package/dist/proto/leaflow/fleet/virtualdesktop/application/v1/application_pb.d.ts +888 -0
  259. package/dist/proto/leaflow/fleet/virtualdesktop/application/v1/application_pb.js +210 -0
  260. package/dist/proto/leaflow/fleet/virtualdesktop/capture/v1/capture_pb.d.ts +231 -0
  261. package/dist/proto/leaflow/fleet/virtualdesktop/capture/v1/capture_pb.js +63 -0
  262. package/dist/proto/leaflow/fleet/virtualdesktop/change/v1/change_pb.d.ts +965 -0
  263. package/dist/proto/leaflow/fleet/virtualdesktop/change/v1/change_pb.js +239 -0
  264. package/dist/proto/leaflow/fleet/virtualdesktop/cursor/v1/cursor_pb.d.ts +201 -0
  265. package/dist/proto/leaflow/fleet/virtualdesktop/cursor/v1/cursor_pb.js +34 -0
  266. package/dist/proto/leaflow/fleet/virtualdesktop/datatransfer/v1/datatransfer_pb.d.ts +1489 -0
  267. package/dist/proto/leaflow/fleet/virtualdesktop/datatransfer/v1/datatransfer_pb.js +256 -0
  268. package/dist/proto/leaflow/fleet/virtualdesktop/display/v1/display_pb.d.ts +380 -0
  269. package/dist/proto/leaflow/fleet/virtualdesktop/display/v1/display_pb.js +89 -0
  270. package/dist/proto/leaflow/fleet/virtualdesktop/draw/v1/draw_pb.d.ts +587 -0
  271. package/dist/proto/leaflow/fleet/virtualdesktop/draw/v1/draw_pb.js +139 -0
  272. package/dist/proto/leaflow/fleet/virtualdesktop/host/v1/host_pb.d.ts +69 -0
  273. package/dist/proto/leaflow/fleet/virtualdesktop/host/v1/host_pb.js +19 -0
  274. package/dist/proto/leaflow/fleet/virtualdesktop/input/v1/input_pb.d.ts +1463 -0
  275. package/dist/proto/leaflow/fleet/virtualdesktop/input/v1/input_pb.js +321 -0
  276. package/dist/proto/leaflow/fleet/virtualdesktop/lease/v1/lease_pb.d.ts +93 -0
  277. package/dist/proto/leaflow/fleet/virtualdesktop/lease/v1/lease_pb.js +24 -0
  278. package/dist/proto/leaflow/fleet/virtualdesktop/notification/v1/notification_pb.d.ts +414 -0
  279. package/dist/proto/leaflow/fleet/virtualdesktop/notification/v1/notification_pb.js +137 -0
  280. package/dist/proto/leaflow/fleet/virtualdesktop/tray/v1/tray_pb.d.ts +928 -0
  281. package/dist/proto/leaflow/fleet/virtualdesktop/tray/v1/tray_pb.js +413 -0
  282. package/dist/proto/leaflow/fleet/virtualdesktop/window/v1/window_pb.d.ts +1559 -0
  283. package/dist/proto/leaflow/fleet/virtualdesktop/window/v1/window_pb.js +664 -0
  284. package/dist/routes.d.ts +440 -0
  285. package/dist/routes.js +495 -0
  286. package/package.json +11 -3
@@ -0,0 +1,411 @@
1
+ import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
2
+ import type { Message } from "@bufbuild/protobuf";
3
+ /**
4
+ * Describes the file leaflow/fleet/session/v1/session.proto.
5
+ */
6
+ export declare const file_leaflow_fleet_session_v1_session: GenFile;
7
+ /**
8
+ * A message from the participant.
9
+ *
10
+ * @generated from message leaflow.fleet.session.v1.ClientMessage
11
+ */
12
+ export type ClientMessage = Message<"leaflow.fleet.session.v1.ClientMessage"> & {
13
+ /**
14
+ * The message.
15
+ *
16
+ * @generated from oneof leaflow.fleet.session.v1.ClientMessage.message
17
+ */
18
+ message: {
19
+ /**
20
+ * The first message of the participant.
21
+ *
22
+ * @generated from field: leaflow.fleet.session.v1.ClientHello client_hello = 1;
23
+ */
24
+ value: ClientHello;
25
+ case: "clientHello";
26
+ } | {
27
+ /**
28
+ * Measures the round trip.
29
+ *
30
+ * @generated from field: leaflow.fleet.session.v1.Ping ping = 2;
31
+ */
32
+ value: Ping;
33
+ case: "ping";
34
+ } | {
35
+ /**
36
+ * Answers a Ping of the session.
37
+ *
38
+ * @generated from field: leaflow.fleet.session.v1.Pong pong = 3;
39
+ */
40
+ value: Pong;
41
+ case: "pong";
42
+ } | {
43
+ /**
44
+ * The participant leaves.
45
+ *
46
+ * @generated from field: leaflow.fleet.session.v1.Close close = 4;
47
+ */
48
+ value: Close;
49
+ case: "close";
50
+ } | {
51
+ case: undefined;
52
+ value?: undefined;
53
+ };
54
+ };
55
+ /**
56
+ * Describes the message leaflow.fleet.session.v1.ClientMessage.
57
+ * Use `create(ClientMessageSchema)` to create a new message.
58
+ */
59
+ export declare const ClientMessageSchema: GenMessage<ClientMessage>;
60
+ /**
61
+ * A message from the session.
62
+ *
63
+ * @generated from message leaflow.fleet.session.v1.ServerMessage
64
+ */
65
+ export type ServerMessage = Message<"leaflow.fleet.session.v1.ServerMessage"> & {
66
+ /**
67
+ * The message.
68
+ *
69
+ * @generated from oneof leaflow.fleet.session.v1.ServerMessage.message
70
+ */
71
+ message: {
72
+ /**
73
+ * The answer to ClientHello, always the first message of the session.
74
+ *
75
+ * @generated from field: leaflow.fleet.session.v1.ServerHello server_hello = 1;
76
+ */
77
+ value: ServerHello;
78
+ case: "serverHello";
79
+ } | {
80
+ /**
81
+ * Measures the round trip.
82
+ *
83
+ * @generated from field: leaflow.fleet.session.v1.Ping ping = 2;
84
+ */
85
+ value: Ping;
86
+ case: "ping";
87
+ } | {
88
+ /**
89
+ * Answers a Ping of the participant.
90
+ *
91
+ * @generated from field: leaflow.fleet.session.v1.Pong pong = 3;
92
+ */
93
+ value: Pong;
94
+ case: "pong";
95
+ } | {
96
+ /**
97
+ * The participants of the session, in full.
98
+ *
99
+ * @generated from field: leaflow.fleet.session.v1.ParticipantList participant_list = 4;
100
+ */
101
+ value: ParticipantList;
102
+ case: "participantList";
103
+ } | {
104
+ /**
105
+ * Ends the snapshot.
106
+ *
107
+ * @generated from field: leaflow.fleet.session.v1.SnapshotEnd snapshot_end = 5;
108
+ */
109
+ value: SnapshotEnd;
110
+ case: "snapshotEnd";
111
+ } | {
112
+ /**
113
+ * The session closes this connection.
114
+ *
115
+ * @generated from field: leaflow.fleet.session.v1.Close close = 6;
116
+ */
117
+ value: Close;
118
+ case: "close";
119
+ } | {
120
+ case: undefined;
121
+ value?: undefined;
122
+ };
123
+ };
124
+ /**
125
+ * Describes the message leaflow.fleet.session.v1.ServerMessage.
126
+ * Use `create(ServerMessageSchema)` to create a new message.
127
+ */
128
+ export declare const ServerMessageSchema: GenMessage<ServerMessage>;
129
+ /**
130
+ * The participant's side of the handshake.
131
+ *
132
+ * @generated from message leaflow.fleet.session.v1.ClientHello
133
+ */
134
+ export type ClientHello = Message<"leaflow.fleet.session.v1.ClientHello"> & {
135
+ /**
136
+ * The channel types the participant can open or accept, such as
137
+ * "leaflow.fleet.terminal.v1" or
138
+ * "leaflow.fleet.filetransfer.v1.FileSystemService". A channel type
139
+ * missing on either side is not used on this connection.
140
+ *
141
+ * @generated from field: repeated string channel_types = 1;
142
+ */
143
+ channelTypes: string[];
144
+ /**
145
+ * The participant's language as a BCP 47 tag, such as "zh-CN". The session
146
+ * uses it for the names of applications and menus it sends from now on.
147
+ * Empty: the session's own language.
148
+ *
149
+ * @generated from field: string language_code = 2;
150
+ */
151
+ languageCode: string;
152
+ /**
153
+ * The participant software, such as "leaflow-desktop/1.2.0" or the browser's
154
+ * User-Agent (RFC 9110 §10.1.5). For display and diagnostics only.
155
+ *
156
+ * @generated from field: string user_agent = 3;
157
+ */
158
+ userAgent: string;
159
+ };
160
+ /**
161
+ * Describes the message leaflow.fleet.session.v1.ClientHello.
162
+ * Use `create(ClientHelloSchema)` to create a new message.
163
+ */
164
+ export declare const ClientHelloSchema: GenMessage<ClientHello>;
165
+ /**
166
+ * The session's side of the handshake.
167
+ *
168
+ * @generated from message leaflow.fleet.session.v1.ServerHello
169
+ */
170
+ export type ServerHello = Message<"leaflow.fleet.session.v1.ServerHello"> & {
171
+ /**
172
+ * The channel types the session offers this participant: those of
173
+ * ClientHello.channel_types the session supports and the participant's
174
+ * authorization allows.
175
+ *
176
+ * @generated from field: repeated string channel_types = 1;
177
+ */
178
+ channelTypes: string[];
179
+ /**
180
+ * The participant may only watch. The session refuses or ignores everything
181
+ * that would change it.
182
+ *
183
+ * @generated from field: bool read_only = 2;
184
+ */
185
+ readOnly: boolean;
186
+ /**
187
+ * This participant, as it appears in ParticipantList.
188
+ *
189
+ * @generated from field: uint64 participant_id = 3;
190
+ */
191
+ participantId: bigint;
192
+ };
193
+ /**
194
+ * Describes the message leaflow.fleet.session.v1.ServerHello.
195
+ * Use `create(ServerHelloSchema)` to create a new message.
196
+ */
197
+ export declare const ServerHelloSchema: GenMessage<ServerHello>;
198
+ /**
199
+ * One participant attached to the session.
200
+ *
201
+ * @generated from message leaflow.fleet.session.v1.Participant
202
+ */
203
+ export type Participant = Message<"leaflow.fleet.session.v1.Participant"> & {
204
+ /**
205
+ * The participant.
206
+ *
207
+ * @generated from field: uint64 id = 1;
208
+ */
209
+ id: bigint;
210
+ /**
211
+ * The platform user the participant acts for.
212
+ *
213
+ * @generated from field: string user_id = 2;
214
+ */
215
+ userId: string;
216
+ /**
217
+ * The user's name, plain text.
218
+ *
219
+ * @generated from field: string display_name = 3;
220
+ */
221
+ displayName: string;
222
+ /**
223
+ * The participant may only watch.
224
+ *
225
+ * @generated from field: bool read_only = 4;
226
+ */
227
+ readOnly: boolean;
228
+ /**
229
+ * The name the client gave itself, such as "console" or "assistant".
230
+ * Neither unique nor verified: it lets people tell participants apart.
231
+ *
232
+ * @generated from field: string client_name = 5;
233
+ */
234
+ clientName: string;
235
+ };
236
+ /**
237
+ * Describes the message leaflow.fleet.session.v1.Participant.
238
+ * Use `create(ParticipantSchema)` to create a new message.
239
+ */
240
+ export declare const ParticipantSchema: GenMessage<Participant>;
241
+ /**
242
+ * Every participant attached to the session, this one included. Sent in the
243
+ * snapshot and again whenever a participant attaches or leaves or the driver
244
+ * changes.
245
+ *
246
+ * @generated from message leaflow.fleet.session.v1.ParticipantList
247
+ */
248
+ export type ParticipantList = Message<"leaflow.fleet.session.v1.ParticipantList"> & {
249
+ /**
250
+ * The participants.
251
+ *
252
+ * @generated from field: repeated leaflow.fleet.session.v1.Participant participants = 1;
253
+ */
254
+ participants: Participant[];
255
+ /**
256
+ * The participant whose settings the session follows, such as the size of
257
+ * its desktop. 0 before any participant has driven.
258
+ *
259
+ * @generated from field: uint64 driver_participant_id = 2;
260
+ */
261
+ driverParticipantId: bigint;
262
+ };
263
+ /**
264
+ * Describes the message leaflow.fleet.session.v1.ParticipantList.
265
+ * Use `create(ParticipantListSchema)` to create a new message.
266
+ */
267
+ export declare const ParticipantListSchema: GenMessage<ParticipantList>;
268
+ /**
269
+ * Ends the snapshot of this channel: the ParticipantList has been sent.
270
+ *
271
+ * @generated from message leaflow.fleet.session.v1.SnapshotEnd
272
+ */
273
+ export type SnapshotEnd = Message<"leaflow.fleet.session.v1.SnapshotEnd"> & {};
274
+ /**
275
+ * Describes the message leaflow.fleet.session.v1.SnapshotEnd.
276
+ * Use `create(SnapshotEndSchema)` to create a new message.
277
+ */
278
+ export declare const SnapshotEndSchema: GenMessage<SnapshotEnd>;
279
+ /**
280
+ * Asks the peer to answer with a Pong at once (RFC 6455 §5.5.2).
281
+ *
282
+ * @generated from message leaflow.fleet.session.v1.Ping
283
+ */
284
+ export type Ping = Message<"leaflow.fleet.session.v1.Ping"> & {
285
+ /**
286
+ * A value of the sender's monotonic clock, in milliseconds, such as
287
+ * performance.now(). Only the sender interprets it.
288
+ *
289
+ * @generated from field: uint64 monotonic_ms = 1;
290
+ */
291
+ monotonicMs: bigint;
292
+ };
293
+ /**
294
+ * Describes the message leaflow.fleet.session.v1.Ping.
295
+ * Use `create(PingSchema)` to create a new message.
296
+ */
297
+ export declare const PingSchema: GenMessage<Ping>;
298
+ /**
299
+ * Answers a Ping (RFC 6455 §5.5.3).
300
+ *
301
+ * @generated from message leaflow.fleet.session.v1.Pong
302
+ */
303
+ export type Pong = Message<"leaflow.fleet.session.v1.Pong"> & {
304
+ /**
305
+ * Ping.monotonic_ms, unchanged.
306
+ *
307
+ * @generated from field: uint64 monotonic_ms = 1;
308
+ */
309
+ monotonicMs: bigint;
310
+ };
311
+ /**
312
+ * Describes the message leaflow.fleet.session.v1.Pong.
313
+ * Use `create(PongSchema)` to create a new message.
314
+ */
315
+ export declare const PongSchema: GenMessage<Pong>;
316
+ /**
317
+ * Ends the connection in order. The sender closes the PeerConnection after
318
+ * it; the session itself goes on unless reason says it ended.
319
+ *
320
+ * @generated from message leaflow.fleet.session.v1.Close
321
+ */
322
+ export type Close = Message<"leaflow.fleet.session.v1.Close"> & {
323
+ /**
324
+ * Why the connection ends.
325
+ *
326
+ * @generated from field: leaflow.fleet.session.v1.CloseReason reason = 1;
327
+ */
328
+ reason: CloseReason;
329
+ /**
330
+ * Plain text for logs, at most 1024 bytes.
331
+ *
332
+ * @generated from field: string reason_phrase = 2;
333
+ */
334
+ reasonPhrase: string;
335
+ };
336
+ /**
337
+ * Describes the message leaflow.fleet.session.v1.Close.
338
+ * Use `create(CloseSchema)` to create a new message.
339
+ */
340
+ export declare const CloseSchema: GenMessage<Close>;
341
+ /**
342
+ * Why a participant ends.
343
+ *
344
+ * @generated from enum leaflow.fleet.session.v1.CloseReason
345
+ */
346
+ export declare enum CloseReason {
347
+ /**
348
+ * @generated from enum value: CLOSE_REASON_UNSPECIFIED = 0;
349
+ */
350
+ UNSPECIFIED = 0,
351
+ /**
352
+ * An ordinary close. Either side.
353
+ *
354
+ * @generated from enum value: CLOSE_REASON_DONE = 1;
355
+ */
356
+ DONE = 1,
357
+ /**
358
+ * The participant goes away, such as a closed tab. Participant only.
359
+ *
360
+ * @generated from enum value: CLOSE_REASON_CLIENT_EXIT = 2;
361
+ */
362
+ CLIENT_EXIT = 2,
363
+ /**
364
+ * The session ends. Session only, just before it ends.
365
+ *
366
+ * @generated from enum value: CLOSE_REASON_SESSION_EXIT = 3;
367
+ */
368
+ SESSION_EXIT = 3,
369
+ /**
370
+ * The session process restarts and the session survives; connect again.
371
+ * Session only.
372
+ *
373
+ * @generated from enum value: CLOSE_REASON_SESSION_RESTARTING = 4;
374
+ */
375
+ SESSION_RESTARTING = 4,
376
+ /**
377
+ * ClientHello did not arrive in time. Session only.
378
+ *
379
+ * @generated from enum value: CLOSE_REASON_HELLO_TIMEOUT = 5;
380
+ */
381
+ HELLO_TIMEOUT = 5,
382
+ /**
383
+ * Pings went unanswered. Either side.
384
+ *
385
+ * @generated from enum value: CLOSE_REASON_PING_TIMEOUT = 6;
386
+ */
387
+ PING_TIMEOUT = 6,
388
+ /**
389
+ * The participant's authorization did not verify or has expired. Session
390
+ * only.
391
+ *
392
+ * @generated from enum value: CLOSE_REASON_PERMISSION_DENIED = 7;
393
+ */
394
+ PERMISSION_DENIED = 7,
395
+ /**
396
+ * A malformed or unexpected message, or one that is too large. Either side.
397
+ *
398
+ * @generated from enum value: CLOSE_REASON_PROTOCOL_ERROR = 8;
399
+ */
400
+ PROTOCOL_ERROR = 8,
401
+ /**
402
+ * The sender failed. Either side.
403
+ *
404
+ * @generated from enum value: CLOSE_REASON_INTERNAL_ERROR = 9;
405
+ */
406
+ INTERNAL_ERROR = 9
407
+ }
408
+ /**
409
+ * Describes the enum leaflow.fleet.session.v1.CloseReason.
410
+ */
411
+ export declare const CloseReasonSchema: GenEnum<CloseReason>;
@@ -0,0 +1,130 @@
1
+ // @generated by protoc-gen-es v2.16.0 with parameter "target=ts,import_extension=js"
2
+ // @generated from file leaflow/fleet/session/v1/session.proto (package leaflow.fleet.session.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
5
+ /**
6
+ * Describes the file leaflow/fleet/session/v1/session.proto.
7
+ */
8
+ export const file_leaflow_fleet_session_v1_session = /*@__PURE__*/ fileDesc("CiZsZWFmbG93L2ZsZWV0L3Nlc3Npb24vdjEvc2Vzc2lvbi5wcm90bxIYbGVhZmxvdy5mbGVldC5zZXNzaW9uLnYxIusBCg1DbGllbnRNZXNzYWdlEj0KDGNsaWVudF9oZWxsbxgBIAEoCzIlLmxlYWZsb3cuZmxlZXQuc2Vzc2lvbi52MS5DbGllbnRIZWxsb0gAEi4KBHBpbmcYAiABKAsyHi5sZWFmbG93LmZsZWV0LnNlc3Npb24udjEuUGluZ0gAEi4KBHBvbmcYAyABKAsyHi5sZWFmbG93LmZsZWV0LnNlc3Npb24udjEuUG9uZ0gAEjAKBWNsb3NlGAQgASgLMh8ubGVhZmxvdy5mbGVldC5zZXNzaW9uLnYxLkNsb3NlSABCCQoHbWVzc2FnZSLxAgoNU2VydmVyTWVzc2FnZRI9CgxzZXJ2ZXJfaGVsbG8YASABKAsyJS5sZWFmbG93LmZsZWV0LnNlc3Npb24udjEuU2VydmVySGVsbG9IABIuCgRwaW5nGAIgASgLMh4ubGVhZmxvdy5mbGVldC5zZXNzaW9uLnYxLlBpbmdIABIuCgRwb25nGAMgASgLMh4ubGVhZmxvdy5mbGVldC5zZXNzaW9uLnYxLlBvbmdIABJFChBwYXJ0aWNpcGFudF9saXN0GAQgASgLMikubGVhZmxvdy5mbGVldC5zZXNzaW9uLnYxLlBhcnRpY2lwYW50TGlzdEgAEj0KDHNuYXBzaG90X2VuZBgFIAEoCzIlLmxlYWZsb3cuZmxlZXQuc2Vzc2lvbi52MS5TbmFwc2hvdEVuZEgAEjAKBWNsb3NlGAYgASgLMh8ubGVhZmxvdy5mbGVldC5zZXNzaW9uLnYxLkNsb3NlSABCCQoHbWVzc2FnZSJPCgtDbGllbnRIZWxsbxIVCg1jaGFubmVsX3R5cGVzGAEgAygJEhUKDWxhbmd1YWdlX2NvZGUYAiABKAkSEgoKdXNlcl9hZ2VudBgDIAEoCSJPCgtTZXJ2ZXJIZWxsbxIVCg1jaGFubmVsX3R5cGVzGAEgAygJEhEKCXJlYWRfb25seRgCIAEoCBIWCg5wYXJ0aWNpcGFudF9pZBgDIAEoBCJoCgtQYXJ0aWNpcGFudBIKCgJpZBgBIAEoBBIPCgd1c2VyX2lkGAIgASgJEhQKDGRpc3BsYXlfbmFtZRgDIAEoCRIRCglyZWFkX29ubHkYBCABKAgSEwoLY2xpZW50X25hbWUYBSABKAkibQoPUGFydGljaXBhbnRMaXN0EjsKDHBhcnRpY2lwYW50cxgBIAMoCzIlLmxlYWZsb3cuZmxlZXQuc2Vzc2lvbi52MS5QYXJ0aWNpcGFudBIdChVkcml2ZXJfcGFydGljaXBhbnRfaWQYAiABKAQiDQoLU25hcHNob3RFbmQiHAoEUGluZxIUCgxtb25vdG9uaWNfbXMYASABKAQiHAoEUG9uZxIUCgxtb25vdG9uaWNfbXMYASABKAQiVQoFQ2xvc2USNQoGcmVhc29uGAEgASgOMiUubGVhZmxvdy5mbGVldC5zZXNzaW9uLnYxLkNsb3NlUmVhc29uEhUKDXJlYXNvbl9waHJhc2UYAiABKAkqyQIKC0Nsb3NlUmVhc29uEhwKGENMT1NFX1JFQVNPTl9VTlNQRUNJRklFRBAAEhUKEUNMT1NFX1JFQVNPTl9ET05FEAESHAoYQ0xPU0VfUkVBU09OX0NMSUVOVF9FWElUEAISHQoZQ0xPU0VfUkVBU09OX1NFU1NJT05fRVhJVBADEiMKH0NMT1NFX1JFQVNPTl9TRVNTSU9OX1JFU1RBUlRJTkcQBBIeChpDTE9TRV9SRUFTT05fSEVMTE9fVElNRU9VVBAFEh0KGUNMT1NFX1JFQVNPTl9QSU5HX1RJTUVPVVQQBhIiCh5DTE9TRV9SRUFTT05fUEVSTUlTU0lPTl9ERU5JRUQQBxIfChtDTE9TRV9SRUFTT05fUFJPVE9DT0xfRVJST1IQCBIfChtDTE9TRV9SRUFTT05fSU5URVJOQUxfRVJST1IQCUI+WjxnaXRodWIuY29tL2xlYWZsb3dhcGlzL2xlYWZsb3ctZ28vZmxlZXQvc2Vzc2lvbi92MTtzZXNzaW9udjFiBnByb3RvMw");
9
+ /**
10
+ * Describes the message leaflow.fleet.session.v1.ClientMessage.
11
+ * Use `create(ClientMessageSchema)` to create a new message.
12
+ */
13
+ export const ClientMessageSchema = /*@__PURE__*/ messageDesc(file_leaflow_fleet_session_v1_session, 0);
14
+ /**
15
+ * Describes the message leaflow.fleet.session.v1.ServerMessage.
16
+ * Use `create(ServerMessageSchema)` to create a new message.
17
+ */
18
+ export const ServerMessageSchema = /*@__PURE__*/ messageDesc(file_leaflow_fleet_session_v1_session, 1);
19
+ /**
20
+ * Describes the message leaflow.fleet.session.v1.ClientHello.
21
+ * Use `create(ClientHelloSchema)` to create a new message.
22
+ */
23
+ export const ClientHelloSchema = /*@__PURE__*/ messageDesc(file_leaflow_fleet_session_v1_session, 2);
24
+ /**
25
+ * Describes the message leaflow.fleet.session.v1.ServerHello.
26
+ * Use `create(ServerHelloSchema)` to create a new message.
27
+ */
28
+ export const ServerHelloSchema = /*@__PURE__*/ messageDesc(file_leaflow_fleet_session_v1_session, 3);
29
+ /**
30
+ * Describes the message leaflow.fleet.session.v1.Participant.
31
+ * Use `create(ParticipantSchema)` to create a new message.
32
+ */
33
+ export const ParticipantSchema = /*@__PURE__*/ messageDesc(file_leaflow_fleet_session_v1_session, 4);
34
+ /**
35
+ * Describes the message leaflow.fleet.session.v1.ParticipantList.
36
+ * Use `create(ParticipantListSchema)` to create a new message.
37
+ */
38
+ export const ParticipantListSchema = /*@__PURE__*/ messageDesc(file_leaflow_fleet_session_v1_session, 5);
39
+ /**
40
+ * Describes the message leaflow.fleet.session.v1.SnapshotEnd.
41
+ * Use `create(SnapshotEndSchema)` to create a new message.
42
+ */
43
+ export const SnapshotEndSchema = /*@__PURE__*/ messageDesc(file_leaflow_fleet_session_v1_session, 6);
44
+ /**
45
+ * Describes the message leaflow.fleet.session.v1.Ping.
46
+ * Use `create(PingSchema)` to create a new message.
47
+ */
48
+ export const PingSchema = /*@__PURE__*/ messageDesc(file_leaflow_fleet_session_v1_session, 7);
49
+ /**
50
+ * Describes the message leaflow.fleet.session.v1.Pong.
51
+ * Use `create(PongSchema)` to create a new message.
52
+ */
53
+ export const PongSchema = /*@__PURE__*/ messageDesc(file_leaflow_fleet_session_v1_session, 8);
54
+ /**
55
+ * Describes the message leaflow.fleet.session.v1.Close.
56
+ * Use `create(CloseSchema)` to create a new message.
57
+ */
58
+ export const CloseSchema = /*@__PURE__*/ messageDesc(file_leaflow_fleet_session_v1_session, 9);
59
+ /**
60
+ * Why a participant ends.
61
+ *
62
+ * @generated from enum leaflow.fleet.session.v1.CloseReason
63
+ */
64
+ export var CloseReason;
65
+ (function (CloseReason) {
66
+ /**
67
+ * @generated from enum value: CLOSE_REASON_UNSPECIFIED = 0;
68
+ */
69
+ CloseReason[CloseReason["UNSPECIFIED"] = 0] = "UNSPECIFIED";
70
+ /**
71
+ * An ordinary close. Either side.
72
+ *
73
+ * @generated from enum value: CLOSE_REASON_DONE = 1;
74
+ */
75
+ CloseReason[CloseReason["DONE"] = 1] = "DONE";
76
+ /**
77
+ * The participant goes away, such as a closed tab. Participant only.
78
+ *
79
+ * @generated from enum value: CLOSE_REASON_CLIENT_EXIT = 2;
80
+ */
81
+ CloseReason[CloseReason["CLIENT_EXIT"] = 2] = "CLIENT_EXIT";
82
+ /**
83
+ * The session ends. Session only, just before it ends.
84
+ *
85
+ * @generated from enum value: CLOSE_REASON_SESSION_EXIT = 3;
86
+ */
87
+ CloseReason[CloseReason["SESSION_EXIT"] = 3] = "SESSION_EXIT";
88
+ /**
89
+ * The session process restarts and the session survives; connect again.
90
+ * Session only.
91
+ *
92
+ * @generated from enum value: CLOSE_REASON_SESSION_RESTARTING = 4;
93
+ */
94
+ CloseReason[CloseReason["SESSION_RESTARTING"] = 4] = "SESSION_RESTARTING";
95
+ /**
96
+ * ClientHello did not arrive in time. Session only.
97
+ *
98
+ * @generated from enum value: CLOSE_REASON_HELLO_TIMEOUT = 5;
99
+ */
100
+ CloseReason[CloseReason["HELLO_TIMEOUT"] = 5] = "HELLO_TIMEOUT";
101
+ /**
102
+ * Pings went unanswered. Either side.
103
+ *
104
+ * @generated from enum value: CLOSE_REASON_PING_TIMEOUT = 6;
105
+ */
106
+ CloseReason[CloseReason["PING_TIMEOUT"] = 6] = "PING_TIMEOUT";
107
+ /**
108
+ * The participant's authorization did not verify or has expired. Session
109
+ * only.
110
+ *
111
+ * @generated from enum value: CLOSE_REASON_PERMISSION_DENIED = 7;
112
+ */
113
+ CloseReason[CloseReason["PERMISSION_DENIED"] = 7] = "PERMISSION_DENIED";
114
+ /**
115
+ * A malformed or unexpected message, or one that is too large. Either side.
116
+ *
117
+ * @generated from enum value: CLOSE_REASON_PROTOCOL_ERROR = 8;
118
+ */
119
+ CloseReason[CloseReason["PROTOCOL_ERROR"] = 8] = "PROTOCOL_ERROR";
120
+ /**
121
+ * The sender failed. Either side.
122
+ *
123
+ * @generated from enum value: CLOSE_REASON_INTERNAL_ERROR = 9;
124
+ */
125
+ CloseReason[CloseReason["INTERNAL_ERROR"] = 9] = "INTERNAL_ERROR";
126
+ })(CloseReason || (CloseReason = {}));
127
+ /**
128
+ * Describes the enum leaflow.fleet.session.v1.CloseReason.
129
+ */
130
+ export const CloseReasonSchema = /*@__PURE__*/ enumDesc(file_leaflow_fleet_session_v1_session, 0);
@@ -0,0 +1,163 @@
1
+ import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
2
+ import type { Duration } from "@bufbuild/protobuf/wkt";
3
+ import type { Status } from "../../../../google/rpc/status_pb.js";
4
+ import type { Message } from "@bufbuild/protobuf";
5
+ /**
6
+ * Describes the file leaflow/fleet/sshagent/v1/sshagent.proto.
7
+ */
8
+ export declare const file_leaflow_fleet_sshagent_v1_sshagent: GenFile;
9
+ /**
10
+ * Offers the participant's agent.
11
+ *
12
+ * @generated from message leaflow.fleet.sshagent.v1.ProviderHello
13
+ */
14
+ export type ProviderHello = Message<"leaflow.fleet.sshagent.v1.ProviderHello"> & {
15
+ /**
16
+ * A name for the agent to show, at most 256 bytes, such as "OpenSSH
17
+ * agent". Never a path, key or PIN.
18
+ *
19
+ * @generated from field: string display_name = 1;
20
+ */
21
+ displayName: string;
22
+ /**
23
+ * The largest agent message the participant handles, at most 256 KiB.
24
+ *
25
+ * @generated from field: uint32 max_message_size_bytes = 2;
26
+ */
27
+ maxMessageSizeBytes: number;
28
+ /**
29
+ * The most connections the participant handles at once.
30
+ *
31
+ * @generated from field: uint32 max_connections = 3;
32
+ */
33
+ maxConnections: number;
34
+ };
35
+ /**
36
+ * Describes the message leaflow.fleet.sshagent.v1.ProviderHello.
37
+ * Use `create(ProviderHelloSchema)` to create a new message.
38
+ */
39
+ export declare const ProviderHelloSchema: GenMessage<ProviderHello>;
40
+ /**
41
+ * The participant's role as a provider.
42
+ *
43
+ * @generated from message leaflow.fleet.sshagent.v1.ProviderStatus
44
+ */
45
+ export type ProviderStatus = Message<"leaflow.fleet.sshagent.v1.ProviderStatus"> & {
46
+ /**
47
+ * The role.
48
+ *
49
+ * @generated from field: leaflow.fleet.sshagent.v1.ProviderState state = 1;
50
+ */
51
+ state: ProviderState;
52
+ /**
53
+ * SELECTED only: the path of SSH_AUTH_SOCK in the session, for display, at
54
+ * most 108 bytes.
55
+ *
56
+ * @generated from field: string auth_sock_path = 2;
57
+ */
58
+ authSockPath: string;
59
+ /**
60
+ * UNAVAILABLE only: why.
61
+ *
62
+ * @generated from field: google.rpc.Status error = 3;
63
+ */
64
+ error?: Status | undefined;
65
+ };
66
+ /**
67
+ * Describes the message leaflow.fleet.sshagent.v1.ProviderStatus.
68
+ * Use `create(ProviderStatusSchema)` to create a new message.
69
+ */
70
+ export declare const ProviderStatusSchema: GenMessage<ProviderStatus>;
71
+ /**
72
+ * One SSH agent protocol message. A connection that ends in the middle of a
73
+ * message is invalid.
74
+ *
75
+ * @generated from message leaflow.fleet.sshagent.v1.AgentMessage
76
+ */
77
+ export type AgentMessage = Message<"leaflow.fleet.sshagent.v1.AgentMessage"> & {
78
+ /**
79
+ * The message without its length prefix: the type byte and the contents,
80
+ * at most the smaller of 256 KiB and the provider's
81
+ * max_message_size_bytes.
82
+ *
83
+ * @generated from field: bytes data = 1;
84
+ */
85
+ data: Uint8Array;
86
+ };
87
+ /**
88
+ * Describes the message leaflow.fleet.sshagent.v1.AgentMessage.
89
+ * Use `create(AgentMessageSchema)` to create a new message.
90
+ */
91
+ export declare const AgentMessageSchema: GenMessage<AgentMessage>;
92
+ /**
93
+ * What a participant may do with SSH agents. Carried in the participant's
94
+ * signed authorization; without it the participant offers no agent.
95
+ *
96
+ * @generated from message leaflow.fleet.sshagent.v1.SshAgentPolicy
97
+ */
98
+ export type SshAgentPolicy = Message<"leaflow.fleet.sshagent.v1.SshAgentPolicy"> & {
99
+ /**
100
+ * Decides between participants offering an agent: the higher is selected, and
101
+ * on a tie the selected one stays.
102
+ *
103
+ * @generated from field: uint32 provider_priority = 1;
104
+ */
105
+ providerPriority: number;
106
+ /**
107
+ * The most connections at once, at most 32. 0: the session's limit.
108
+ *
109
+ * @generated from field: uint32 max_connections = 2;
110
+ */
111
+ maxConnections: number;
112
+ /**
113
+ * The largest agent message, at most 256 KiB. 0: the session's limit.
114
+ *
115
+ * @generated from field: uint32 max_message_size_bytes = 3;
116
+ */
117
+ maxMessageSizeBytes: number;
118
+ /**
119
+ * How long one request may wait for its answer, such as for a touch or a
120
+ * PIN, at most 5 minutes. Unset: 2 minutes.
121
+ *
122
+ * @generated from field: google.protobuf.Duration request_timeout = 4;
123
+ */
124
+ requestTimeout?: Duration | undefined;
125
+ };
126
+ /**
127
+ * Describes the message leaflow.fleet.sshagent.v1.SshAgentPolicy.
128
+ * Use `create(SshAgentPolicySchema)` to create a new message.
129
+ */
130
+ export declare const SshAgentPolicySchema: GenMessage<SshAgentPolicy>;
131
+ /**
132
+ * The role of a participant that offers its agent.
133
+ *
134
+ * @generated from enum leaflow.fleet.sshagent.v1.ProviderState
135
+ */
136
+ export declare enum ProviderState {
137
+ /**
138
+ * @generated from enum value: PROVIDER_STATE_UNSPECIFIED = 0;
139
+ */
140
+ UNSPECIFIED = 0,
141
+ /**
142
+ * Another participant is selected.
143
+ *
144
+ * @generated from enum value: PROVIDER_STATE_AVAILABLE = 1;
145
+ */
146
+ AVAILABLE = 1,
147
+ /**
148
+ * This participant is selected: new connections go to it.
149
+ *
150
+ * @generated from enum value: PROVIDER_STATE_SELECTED = 2;
151
+ */
152
+ SELECTED = 2,
153
+ /**
154
+ * The session cannot forward an agent, such as without a socket.
155
+ *
156
+ * @generated from enum value: PROVIDER_STATE_UNAVAILABLE = 3;
157
+ */
158
+ UNAVAILABLE = 3
159
+ }
160
+ /**
161
+ * Describes the enum leaflow.fleet.sshagent.v1.ProviderState.
162
+ */
163
+ export declare const ProviderStateSchema: GenEnum<ProviderState>;