toolplane-python-client 0.1.0__py3-none-any.whl

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 (81) hide show
  1. toolplane/__init__.py +106 -0
  2. toolplane/common/__init__.py +93 -0
  3. toolplane/common/base_config.py +129 -0
  4. toolplane/common/base_connection_manager.py +171 -0
  5. toolplane/common/base_session_manager.py +321 -0
  6. toolplane/common/base_tool_manager.py +347 -0
  7. toolplane/common/constants.py +47 -0
  8. toolplane/common/utils.py +310 -0
  9. toolplane/core/__init__.py +67 -0
  10. toolplane/core/config.py +107 -0
  11. toolplane/core/connection.py +285 -0
  12. toolplane/core/errors.py +298 -0
  13. toolplane/core/machine.py +480 -0
  14. toolplane/core/request.py +775 -0
  15. toolplane/core/session.py +332 -0
  16. toolplane/core/session_context.py +514 -0
  17. toolplane/core/task.py +130 -0
  18. toolplane/core/tool.py +329 -0
  19. toolplane/http_core/__init__.py +37 -0
  20. toolplane/http_core/http_config.py +97 -0
  21. toolplane/http_core/http_connection.py +409 -0
  22. toolplane/http_core/http_machine.py +298 -0
  23. toolplane/http_core/http_request.py +748 -0
  24. toolplane/http_core/http_session.py +348 -0
  25. toolplane/http_core/http_session_context.py +491 -0
  26. toolplane/http_core/http_task.py +101 -0
  27. toolplane/http_core/http_tool.py +400 -0
  28. toolplane/interfaces/__init__.py +27 -0
  29. toolplane/interfaces/client_interface.py +122 -0
  30. toolplane/interfaces/connection_interface.py +193 -0
  31. toolplane/interfaces/event_interface.py +290 -0
  32. toolplane/interfaces/request_interface.py +439 -0
  33. toolplane/interfaces/session_interface.py +288 -0
  34. toolplane/interfaces/tool_interface.py +441 -0
  35. toolplane/proto/__init__.py +0 -0
  36. toolplane/proto/service_pb2.py +315 -0
  37. toolplane/proto/service_pb2_grpc.py +2240 -0
  38. toolplane/provider_cli.py +268 -0
  39. toolplane/provider_registry.py +77 -0
  40. toolplane/provider_runtime.py +302 -0
  41. toolplane/toolkits/__init__.py +0 -0
  42. toolplane/toolkits/standalone_tools/__init__.py +0 -0
  43. toolplane/toolkits/standalone_tools/create_directory.py +94 -0
  44. toolplane/toolkits/standalone_tools/create_file.py +124 -0
  45. toolplane/toolkits/standalone_tools/file_search.py +229 -0
  46. toolplane/toolkits/standalone_tools/grep_search.py +372 -0
  47. toolplane/toolkits/standalone_tools/launcher.py +146 -0
  48. toolplane/toolkits/standalone_tools/list_dir.py +395 -0
  49. toolplane/toolkits/standalone_tools/read_file.py +346 -0
  50. toolplane/toolkits/standalone_tools/replace_string_in_file.py +407 -0
  51. toolplane/toolkits/standalone_tools/run_tests.py +66 -0
  52. toolplane/toolkits/standalone_tools/semantic_search.py +485 -0
  53. toolplane/toolkits/standalone_tools/standalone_toolkit.py +979 -0
  54. toolplane/toolkits/standalone_tools/test_failure_analysis.py +618 -0
  55. toolplane/toolkits/standalone_tools/test_standalone_toolkit.py +517 -0
  56. toolplane/toolkits/swe/__init__.py +35 -0
  57. toolplane/toolkits/swe/create_directory.py +15 -0
  58. toolplane/toolkits/swe/create_file.py +15 -0
  59. toolplane/toolkits/swe/descriptions.py +273 -0
  60. toolplane/toolkits/swe/execute_bash.py +93 -0
  61. toolplane/toolkits/swe/file_editor.py +775 -0
  62. toolplane/toolkits/swe/file_search.py +16 -0
  63. toolplane/toolkits/swe/finish.py +50 -0
  64. toolplane/toolkits/swe/grep_search.py +19 -0
  65. toolplane/toolkits/swe/list_dir.py +407 -0
  66. toolplane/toolkits/swe/read_file.py +18 -0
  67. toolplane/toolkits/swe/replace_string_in_file.py +17 -0
  68. toolplane/toolkits/swe/search.py +260 -0
  69. toolplane/toolkits/swe/semantic_search.py +20 -0
  70. toolplane/toolkits/swe/str_replace_editor.py +647 -0
  71. toolplane/toolkits/swe/submit.py +29 -0
  72. toolplane/toolkits/swe/swe_toolkit.py +1296 -0
  73. toolplane/toolplane_client.py +686 -0
  74. toolplane/toolplane_http_client.py +681 -0
  75. toolplane/utils/__init__.py +3 -0
  76. toolplane/utils/schema.py +146 -0
  77. toolplane_python_client-0.1.0.dist-info/METADATA +543 -0
  78. toolplane_python_client-0.1.0.dist-info/RECORD +81 -0
  79. toolplane_python_client-0.1.0.dist-info/WHEEL +5 -0
  80. toolplane_python_client-0.1.0.dist-info/entry_points.txt +2 -0
  81. toolplane_python_client-0.1.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,315 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: proto/service.proto
5
+ # Protobuf Python Version: 6.31.1
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 6,
15
+ 31,
16
+ 1,
17
+ '',
18
+ 'proto/service.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
26
+ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
27
+
28
+
29
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x13proto/service.proto\x12\x06\x61pi.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"7\n\x08ListPage\x12\x17\n\x0fnext_page_token\x18\x01 \x01(\t\x12\x12\n\ntotal_size\x18\x02 \x01(\x05\";\n\x13ResumeStreamRequest\x12\x12\n\nrequest_id\x18\x01 \x01(\t\x12\x10\n\x08last_seq\x18\x02 \x01(\x05\"=\n\x13\x44rainMachineRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x12\n\nmachine_id\x18\x02 \x01(\t\"\'\n\x14\x44rainMachineResponse\x12\x0f\n\x07\x64rained\x18\x01 \x01(\x08\"\xb6\x02\n\x04Tool\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x0e\n\x06schema\x18\x04 \x01(\t\x12(\n\x06\x63onfig\x18\x05 \x03(\x0b\x32\x18.api.v1.Tool.ConfigEntry\x12.\n\ncreated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0clast_ping_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\nsession_id\x18\x08 \x01(\t\x12\x12\n\nmachine_id\x18\t \x01(\t\x12\x0c\n\x04tags\x18\n \x03(\t\x1a-\n\x0b\x43onfigEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x8f\x01\n\x07Session\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12.\n\ncreated_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\ncreated_by\x18\x05 \x01(\t\x12\x11\n\tnamespace\x18\x06 \x01(\t\"\xf9\x01\n\x06\x41piKey\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0b\n\x03key\x18\x03 \x01(\t\x12\x12\n\nsession_id\x18\x04 \x01(\t\x12.\n\ncreated_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\ncreated_by\x18\x06 \x01(\t\x12.\n\nrevoked_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x14\n\x0c\x63\x61pabilities\x18\x08 \x03(\t\x12\x13\n\x0bkey_preview\x18\t \x01(\t\x12\x15\n\rallowed_tools\x18\n \x03(\t\"\xeb\x01\n\x07Machine\x12\n\n\x02id\x18\x01 \x01(\t\x12\x12\n\nsession_id\x18\x02 \x01(\t\x12\x13\n\x0bsdk_version\x18\x03 \x01(\t\x12\x14\n\x0csdk_language\x18\x04 \x01(\t\x12\n\n\x02ip\x18\x05 \x01(\t\x12.\n\ncreated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0clast_ping_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x15\n\rmachine_token\x18\x08 \x01(\t\x12\x10\n\x08\x64raining\x18\t \x01(\x08\"\x9b\x03\n\x07Request\x12\n\n\x02id\x18\x01 \x01(\t\x12\x12\n\nsession_id\x18\x02 \x01(\t\x12\x11\n\ttool_name\x18\x03 \x01(\t\x12%\n\x06status\x18\x04 \x01(\x0e\x32\x15.api.v1.RequestStatus\x12\r\n\x05input\x18\x05 \x01(\t\x12\x0e\n\x06result\x18\x06 \x01(\t\x12\x13\n\x0bresult_type\x18\x07 \x01(\t\x12\r\n\x05\x65rror\x18\x08 \x01(\t\x12.\n\ncreated_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1c\n\x14\x65xecuting_machine_id\x18\x0b \x01(\t\x12\x11\n\tleased_by\x18\r \x01(\t\x12\x13\n\x0blease_epoch\x18\x0e \x01(\x03\x12\x34\n\x10lease_expires_at\x18\x0f \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x17\n\x0ftimeout_seconds\x18\x10 \x01(\x05\"\xe6\x01\n\x13RegisterToolRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x12\n\nmachine_id\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12\x0e\n\x06schema\x18\x05 \x01(\t\x12\x37\n\x06\x63onfig\x18\x06 \x03(\x0b\x32\'.api.v1.RegisterToolRequest.ConfigEntry\x12\x0c\n\x04tags\x18\x07 \x03(\t\x1a-\n\x0b\x43onfigEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"2\n\x14RegisterToolResponse\x12\x1a\n\x04tool\x18\x01 \x01(\x0b\x32\x0c.api.v1.Tool\"&\n\x10ListToolsRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\"0\n\x11ListToolsResponse\x12\x1b\n\x05tools\x18\x01 \x03(\x0b\x32\x0c.api.v1.Tool\"H\n\x0eGetToolRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0f\n\x07tool_id\x18\x02 \x01(\t\x12\x11\n\ttool_name\x18\x03 \x01(\t\"9\n\x12GetToolByIdRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0f\n\x07tool_id\x18\x02 \x01(\t\"=\n\x14GetToolByNameRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x11\n\ttool_name\x18\x02 \x01(\t\"-\n\x0fGetToolResponse\x12\x1a\n\x04tool\x18\x01 \x01(\x0b\x32\x0c.api.v1.Tool\"L\n\x11\x44\x65leteToolRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0f\n\x07tool_id\x18\x02 \x01(\t\x12\x12\n\nmachine_id\x18\x03 \x01(\t\"%\n\x12\x44\x65leteToolResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\"P\n\x15UpdateToolPingRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0f\n\x07tool_id\x18\x02 \x01(\t\x12\x12\n\nmachine_id\x18\x03 \x01(\t\"q\n\x14\x43reateSessionRequest\x12\x0f\n\x07user_id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x12\n\nsession_id\x18\x04 \x01(\t\x12\x11\n\tnamespace\x18\x05 \x01(\t\"9\n\x15\x43reateSessionResponse\x12 \n\x07session\x18\x01 \x01(\x0b\x32\x0f.api.v1.Session\"\'\n\x11GetSessionRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\"&\n\x13ListSessionsRequest\x12\x0f\n\x07user_id\x18\x01 \x01(\t\"9\n\x14ListSessionsResponse\x12!\n\x08sessions\x18\x01 \x03(\x0b\x32\x0f.api.v1.Session\"a\n\x17ListUserSessionsRequest\x12\x0f\n\x07user_id\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\"]\n\x18ListUserSessionsResponse\x12!\n\x08sessions\x18\x01 \x03(\x0b\x32\x0f.api.v1.Session\x12\x1e\n\x04page\x18\x02 \x01(\x0b\x32\x10.api.v1.ListPage\"Q\n\x19\x42ulkDeleteSessionsRequest\x12\x0f\n\x07user_id\x18\x01 \x01(\t\x12\x13\n\x0bsession_ids\x18\x02 \x03(\t\x12\x0e\n\x06\x66ilter\x18\x03 \x01(\t\"M\n\x1a\x42ulkDeleteSessionsResponse\x12\x15\n\rdeleted_count\x18\x01 \x01(\x05\x12\x18\n\x10\x66\x61iled_deletions\x18\x02 \x03(\t\")\n\x16GetSessionStatsRequest\x12\x0f\n\x07user_id\x18\x01 \x01(\t\"d\n\x17GetSessionStatsResponse\x12\x16\n\x0etotal_sessions\x18\x01 \x01(\x05\x12\x17\n\x0f\x61\x63tive_sessions\x18\x02 \x01(\x05\x12\x18\n\x10\x65xpired_sessions\x18\x03 \x01(\x05\">\n\x18InvalidateSessionRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0e\n\x06reason\x18\x02 \x01(\t\"F\n\x19InvalidateSessionResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x18\n\x10revoked_api_keys\x18\x02 \x01(\x05\"`\n\x14UpdateSessionRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x11\n\tnamespace\x18\x04 \x01(\t\"*\n\x14\x44\x65leteSessionRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\"(\n\x15\x44\x65leteSessionResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\"d\n\x13\x43reateApiKeyRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x14\n\x0c\x63\x61pabilities\x18\x03 \x03(\t\x12\x15\n\rallowed_tools\x18\x04 \x03(\t\"(\n\x12ListApiKeysRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\"7\n\x13ListApiKeysResponse\x12 \n\x08\x61pi_keys\x18\x01 \x03(\x0b\x32\x0e.api.v1.ApiKey\"\xcb\x01\n\nAuditEvent\x12\n\n\x02id\x18\x01 \x01(\x03\x12.\n\ncreated_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\r\n\x05\x65vent\x18\x03 \x01(\t\x12\x12\n\nsession_id\x18\x04 \x01(\t\x12\x12\n\nmachine_id\x18\x05 \x01(\t\x12\x12\n\nrequest_id\x18\x06 \x01(\t\x12\x0f\n\x07task_id\x18\x07 \x01(\t\x12\x14\n\x0c\x61\x63tor_key_id\x18\x08 \x01(\t\x12\x0f\n\x07\x64\x65tails\x18\t \x01(\t\"x\n\x16ListAuditEventsRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x14\n\x0c\x61\x63tor_key_id\x18\x02 \x01(\t\x12\r\n\x05\x65vent\x18\x03 \x01(\t\x12\x11\n\tpage_size\x18\x04 \x01(\x05\x12\x12\n\npage_token\x18\x05 \x01(\t\"]\n\x17ListAuditEventsResponse\x12\"\n\x06\x65vents\x18\x01 \x03(\x0b\x32\x12.api.v1.AuditEvent\x12\x1e\n\x04page\x18\x02 \x01(\x0b\x32\x10.api.v1.ListPage\"9\n\x13RevokeApiKeyRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0e\n\x06key_id\x18\x02 \x01(\t\"\'\n\x14RevokeApiKeyResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\"\x97\x01\n\x16RegisterMachineRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x12\n\nmachine_id\x18\x02 \x01(\t\x12\x13\n\x0bsdk_version\x18\x03 \x01(\t\x12\x14\n\x0csdk_language\x18\x04 \x01(\t\x12*\n\x05tools\x18\x05 \x03(\x0b\x32\x1b.api.v1.RegisterToolRequest\")\n\x13ListMachinesRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\"9\n\x14ListMachinesResponse\x12!\n\x08machines\x18\x01 \x03(\x0b\x32\x0f.api.v1.Machine\";\n\x11GetMachineRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x12\n\nmachine_id\x18\x02 \x01(\t\"B\n\x18UpdateMachinePingRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x12\n\nmachine_id\x18\x02 \x01(\t\"B\n\x18UnregisterMachineRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x12\n\nmachine_id\x18\x02 \x01(\t\",\n\x19UnregisterMachineResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\"\x9a\x01\n\x12\x45xecuteToolRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x11\n\ttool_name\x18\x02 \x01(\t\x12\r\n\x05input\x18\x03 \x01(\t\x12\x17\n\x0ftimeout_seconds\x18\x04 \x01(\x05\x12\x17\n\x0fidempotency_key\x18\x05 \x01(\t\x12\x1c\n\x14wait_timeout_seconds\x18\x06 \x01(\x05\"\x84\x01\n\x13\x45xecuteToolResponse\x12\x12\n\nrequest_id\x18\x01 \x01(\t\x12%\n\x06status\x18\x02 \x01(\x0e\x32\x15.api.v1.RequestStatus\x12\x0e\n\x06result\x18\x03 \x01(\t\x12\x13\n\x0bresult_type\x18\x04 \x01(\t\x12\r\n\x05\x65rror\x18\x05 \x01(\t\"c\n\x10\x45xecuteToolChunk\x12\x0b\n\x03seq\x18\x01 \x01(\x05\x12\x12\n\nrequest_id\x18\x02 \x01(\t\x12\r\n\x05\x63hunk\x18\x03 \x01(\t\x12\x10\n\x08is_final\x18\x04 \x01(\x08\x12\r\n\x05\x65rror\x18\x05 \x01(\t\"~\n\x14\x43reateRequestRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x11\n\ttool_name\x18\x02 \x01(\t\x12\r\n\x05input\x18\x03 \x01(\t\x12\x17\n\x0ftimeout_seconds\x18\x04 \x01(\x05\x12\x17\n\x0fidempotency_key\x18\x05 \x01(\t\";\n\x11GetRequestRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x12\n\nrequest_id\x18\x02 \x01(\t\"\x8a\x01\n\x13ListRequestsRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12%\n\x06status\x18\x02 \x01(\x0e\x32\x15.api.v1.RequestStatus\x12\x11\n\ttool_name\x18\x03 \x01(\t\x12\x11\n\tpage_size\x18\x04 \x01(\x05\x12\x12\n\npage_token\x18\x05 \x01(\t\"Y\n\x14ListRequestsResponse\x12!\n\x08requests\x18\x01 \x03(\x0b\x32\x0f.api.v1.Request\x12\x1e\n\x04page\x18\x02 \x01(\x0b\x32\x10.api.v1.ListPage\"\xb3\x01\n\x14UpdateRequestRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x12\n\nrequest_id\x18\x02 \x01(\t\x12%\n\x06status\x18\x03 \x01(\x0e\x32\x15.api.v1.RequestStatus\x12\x0e\n\x06result\x18\x04 \x01(\t\x12\x13\n\x0bresult_type\x18\x05 \x01(\t\x12\x12\n\nmachine_id\x18\x06 \x01(\t\x12\x13\n\x0blease_epoch\x18\x07 \x01(\x03\"Q\n\x13\x43laimRequestRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x12\n\nrequest_id\x18\x02 \x01(\t\x12\x12\n\nmachine_id\x18\x03 \x01(\t\"U\n\x17\x43laimNextRequestRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x12\n\nmachine_id\x18\x02 \x01(\t\x12\x12\n\ntool_names\x18\x03 \x03(\t\"M\n\x18\x43laimNextRequestResponse\x12 \n\x07request\x18\x01 \x01(\x0b\x32\x0f.api.v1.Request\x12\x0f\n\x07\x63laimed\x18\x02 \x01(\x08\">\n\x14\x43\x61ncelRequestRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x12\n\nrequest_id\x18\x02 \x01(\t\"(\n\x15\x43\x61ncelRequestResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\"\xfb\x01\n\x1aSubmitRequestResultRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x12\n\nrequest_id\x18\x02 \x01(\t\x12\x0e\n\x06result\x18\x03 \x01(\t\x12\x13\n\x0bresult_type\x18\x04 \x01(\t\x12:\n\x04meta\x18\x05 \x03(\x0b\x32,.api.v1.SubmitRequestResultRequest.MetaEntry\x12\x12\n\nmachine_id\x18\x06 \x01(\t\x12\x13\n\x0blease_epoch\x18\x07 \x01(\x03\x1a+\n\tMetaEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\".\n\x1bSubmitRequestResultResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\"\x92\x01\n\x1a\x41ppendRequestChunksRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x12\n\nrequest_id\x18\x02 \x01(\t\x12\x0e\n\x06\x63hunks\x18\x03 \x03(\t\x12\x13\n\x0bresult_type\x18\x04 \x01(\t\x12\x12\n\nmachine_id\x18\x05 \x01(\t\x12\x13\n\x0blease_epoch\x18\x06 \x01(\x03\".\n\x1b\x41ppendRequestChunksResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\"A\n\x17GetRequestChunksRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x12\n\nrequest_id\x18\x02 \x01(\t\"O\n\x18GetRequestChunksResponse\x12\x0e\n\x06\x63hunks\x18\x01 \x03(\t\x12\x11\n\tstart_seq\x18\x02 \x01(\x05\x12\x10\n\x08next_seq\x18\x03 \x01(\x05\"k\n\x18RenewRequestLeaseRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x12\n\nrequest_id\x18\x02 \x01(\t\x12\x12\n\nmachine_id\x18\x03 \x01(\t\x12\x13\n\x0blease_epoch\x18\x04 \x01(\x03\"\x14\n\x12HealthCheckRequest\"G\n\x13HealthCheckResponse\x12\x0e\n\x06status\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\x12\x0f\n\x07storage\x18\x03 \x01(\t\"\xce\x02\n\x04Task\x12\n\n\x02id\x18\x01 \x01(\t\x12\x12\n\nsession_id\x18\x02 \x01(\t\x12\x11\n\ttool_name\x18\x03 \x01(\t\x12\"\n\x06status\x18\x04 \x01(\x0e\x32\x12.api.v1.TaskStatus\x12\r\n\x05input\x18\x05 \x01(\t\x12\x0e\n\x06result\x18\x06 \x01(\t\x12\x13\n\x0bresult_type\x18\x07 \x01(\t\x12\r\n\x05\x65rror\x18\x08 \x01(\t\x12.\n\ncreated_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0c\x63ompleted_at\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1a\n\x12\x63urrent_request_id\x18\x0c \x01(\t\"b\n\x11\x43reateTaskRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x11\n\ttool_name\x18\x02 \x01(\t\x12\r\n\x05input\x18\x03 \x01(\t\x12\x17\n\x0fidempotency_key\x18\x04 \x01(\t\"5\n\x0eGetTaskRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\"&\n\x10ListTasksRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\"0\n\x11ListTasksResponse\x12\x1b\n\x05tasks\x18\x01 \x03(\x0b\x32\x0c.api.v1.Task\"8\n\x11\x43\x61ncelTaskRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\"%\n\x12\x43\x61ncelTaskResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08*\xd5\x01\n\rRequestStatus\x12\x1e\n\x1aREQUEST_STATUS_UNSPECIFIED\x10\x00\x12\x1a\n\x16REQUEST_STATUS_PENDING\x10\x01\x12\x1a\n\x16REQUEST_STATUS_CLAIMED\x10\x02\x12\x1a\n\x16REQUEST_STATUS_RUNNING\x10\x03\x12\x17\n\x13REQUEST_STATUS_DONE\x10\x04\x12\x19\n\x15REQUEST_STATUS_FAILED\x10\x05\x12\x1c\n\x18REQUEST_STATUS_CANCELLED\x10\x06*\xc6\x01\n\nTaskStatus\x12\x1b\n\x17TASK_STATUS_UNSPECIFIED\x10\x00\x12\x17\n\x13TASK_STATUS_PENDING\x10\x01\x12\x17\n\x13TASK_STATUS_RUNNING\x10\x02\x12\x19\n\x15TASK_STATUS_COMPLETED\x10\x03\x12\x16\n\x12TASK_STATUS_FAILED\x10\x04\x12\x19\n\x15TASK_STATUS_CANCELLED\x10\x05\x12\x1b\n\x17TASK_STATUS_DEAD_LETTER\x10\x06\x32\xf7\t\n\x0bToolService\x12j\n\x0cRegisterTool\x12\x1b.api.v1.RegisterToolRequest\x1a\x1c.api.v1.RegisterToolResponse\"\x1f\x82\xd3\xe4\x93\x02\x19\"\x14/api.v1/RegisterTool:\x01*\x12^\n\tListTools\x12\x18.api.v1.ListToolsRequest\x1a\x19.api.v1.ListToolsResponse\"\x1c\x82\xd3\xe4\x93\x02\x16\"\x11/api.v1/ListTools:\x01*\x12V\n\x07GetTool\x12\x16.api.v1.GetToolRequest\x1a\x17.api.v1.GetToolResponse\"\x1a\x82\xd3\xe4\x93\x02\x14\"\x0f/api.v1/GetTool:\x01*\x12\x65\n\x0bGetToolById\x12\x1a.api.v1.GetToolByIdRequest\x1a\x17.api.v1.GetToolResponse\"!\x88\x02\x01\x82\xd3\xe4\x93\x02\x18\"\x13/api.v1/GetToolById:\x01*\x12k\n\rGetToolByName\x12\x1c.api.v1.GetToolByNameRequest\x1a\x17.api.v1.GetToolResponse\"#\x88\x02\x01\x82\xd3\xe4\x93\x02\x1a\"\x15/api.v1/GetToolByName:\x01*\x12\x62\n\nDeleteTool\x12\x19.api.v1.DeleteToolRequest\x1a\x1a.api.v1.DeleteToolResponse\"\x1d\x82\xd3\xe4\x93\x02\x17\"\x12/api.v1/DeleteTool:\x01*\x12`\n\x0eUpdateToolPing\x12\x1d.api.v1.UpdateToolPingRequest\x1a\x0c.api.v1.Tool\"!\x82\xd3\xe4\x93\x02\x1b\"\x16/api.v1/UpdateToolPing:\x01*\x12q\n\x11StreamExecuteTool\x12\x1a.api.v1.ExecuteToolRequest\x1a\x18.api.v1.ExecuteToolChunk\"$\x82\xd3\xe4\x93\x02\x1e\"\x19/api.v1/StreamExecuteTool:\x01*0\x01\x12h\n\x0cResumeStream\x12\x1b.api.v1.ResumeStreamRequest\x1a\x18.api.v1.ExecuteToolChunk\"\x1f\x82\xd3\xe4\x93\x02\x19\"\x14/api.v1/ResumeStream:\x01*0\x01\x12\x64\n\nInvokeTool\x12\x1a.api.v1.ExecuteToolRequest\x1a\x1b.api.v1.ExecuteToolResponse\"\x1d\x82\xd3\xe4\x93\x02\x17\"\x12/api.v1/InvokeTool:\x01*\x12i\n\x0b\x45xecuteTool\x12\x1a.api.v1.ExecuteToolRequest\x1a\x1b.api.v1.ExecuteToolResponse\"!\x88\x02\x01\x82\xd3\xe4\x93\x02\x18\"\x13/api.v1/ExecuteTool:\x01*\x12|\n\x0bHealthCheck\x12\x1a.api.v1.HealthCheckRequest\x1a\x1b.api.v1.HealthCheckResponse\"4\x82\xd3\xe4\x93\x02.\"\x0f/api.v1/healthz:\x01*Z\x18\"\x13/api.v1/HealthCheck:\x01*2\xed\x0b\n\x0fSessionsService\x12n\n\rCreateSession\x12\x1c.api.v1.CreateSessionRequest\x1a\x1d.api.v1.CreateSessionResponse\" \x82\xd3\xe4\x93\x02\x1a\"\x15/api.v1/CreateSession:\x01*\x12\x62\n\nGetSession\x12\x19.api.v1.GetSessionRequest\x1a\x0f.api.v1.Session\"(\x82\xd3\xe4\x93\x02\"\"\x1d/api.v1/sessions/{session_id}:\x01*\x12\x66\n\x0cListSessions\x12\x1b.api.v1.ListSessionsRequest\x1a\x1c.api.v1.ListSessionsResponse\"\x1b\x82\xd3\xe4\x93\x02\x15\"\x10/api.v1/sessions:\x01*\x12`\n\rUpdateSession\x12\x1c.api.v1.UpdateSessionRequest\x1a\x0f.api.v1.Session\" \x82\xd3\xe4\x93\x02\x1a\"\x15/api.v1/UpdateSession:\x01*\x12n\n\rDeleteSession\x12\x1c.api.v1.DeleteSessionRequest\x1a\x1d.api.v1.DeleteSessionResponse\" \x82\xd3\xe4\x93\x02\x1a\"\x15/api.v1/DeleteSession:\x01*\x12\x82\x01\n\x10ListUserSessions\x12\x1f.api.v1.ListUserSessionsRequest\x1a .api.v1.ListUserSessionsResponse\"+\x82\xd3\xe4\x93\x02%\" /api.v1/users/{user_id}/sessions:\x01*\x12\x82\x01\n\x12\x42ulkDeleteSessions\x12!.api.v1.BulkDeleteSessionsRequest\x1a\".api.v1.BulkDeleteSessionsResponse\"%\x82\xd3\xe4\x93\x02\x1f\"\x1a/api.v1/BulkDeleteSessions:\x01*\x12\x84\x01\n\x0fGetSessionStats\x12\x1e.api.v1.GetSessionStatsRequest\x1a\x1f.api.v1.GetSessionStatsResponse\"0\x82\xd3\xe4\x93\x02*\"%/api.v1/users/{user_id}/session-stats:\x01*\x12~\n\x11InvalidateSession\x12 .api.v1.InvalidateSessionRequest\x1a!.api.v1.InvalidateSessionResponse\"$\x82\xd3\xe4\x93\x02\x1e\"\x19/api.v1/InvalidateSession:\x01*\x12\\\n\x0c\x43reateApiKey\x12\x1b.api.v1.CreateApiKeyRequest\x1a\x0e.api.v1.ApiKey\"\x1f\x82\xd3\xe4\x93\x02\x19\"\x14/api.v1/CreateApiKey:\x01*\x12y\n\x0bListApiKeys\x12\x1a.api.v1.ListApiKeysRequest\x1a\x1b.api.v1.ListApiKeysResponse\"1\x82\xd3\xe4\x93\x02+\"&/api.v1/sessions/{session_id}/api-keys:\x01*\x12j\n\x0cRevokeApiKey\x12\x1b.api.v1.RevokeApiKeyRequest\x1a\x1c.api.v1.RevokeApiKeyResponse\"\x1f\x82\xd3\xe4\x93\x02\x19\"\x14/api.v1/RevokeApiKey:\x01*\x12v\n\x0fListAuditEvents\x12\x1e.api.v1.ListAuditEventsRequest\x1a\x1f.api.v1.ListAuditEventsResponse\"\"\x82\xd3\xe4\x93\x02\x1c\"\x17/api.v1/ListAuditEvents:\x01*2\xcb\x05\n\x0fMachinesService\x12\x66\n\x0fRegisterMachine\x12\x1e.api.v1.RegisterMachineRequest\x1a\x0f.api.v1.Machine\"\"\x82\xd3\xe4\x93\x02\x1c\"\x17/api.v1/RegisterMachine:\x01*\x12|\n\x0cListMachines\x12\x1b.api.v1.ListMachinesRequest\x1a\x1c.api.v1.ListMachinesResponse\"1\x82\xd3\xe4\x93\x02+\"&/api.v1/sessions/{session_id}/machines:\x01*\x12x\n\nGetMachine\x12\x19.api.v1.GetMachineRequest\x1a\x0f.api.v1.Machine\">\x82\xd3\xe4\x93\x02\x38\"3/api.v1/sessions/{session_id}/machines/{machine_id}:\x01*\x12l\n\x11UpdateMachinePing\x12 .api.v1.UpdateMachinePingRequest\x1a\x0f.api.v1.Machine\"$\x82\xd3\xe4\x93\x02\x1e\"\x19/api.v1/UpdateMachinePing:\x01*\x12~\n\x11UnregisterMachine\x12 .api.v1.UnregisterMachineRequest\x1a!.api.v1.UnregisterMachineResponse\"$\x82\xd3\xe4\x93\x02\x1e\"\x19/api.v1/UnregisterMachine:\x01*\x12j\n\x0c\x44rainMachine\x12\x1b.api.v1.DrainMachineRequest\x1a\x1c.api.v1.DrainMachineResponse\"\x1f\x82\xd3\xe4\x93\x02\x19\"\x14/api.v1/DrainMachine:\x01*2\xb7\n\n\x0fRequestsService\x12`\n\rCreateRequest\x12\x1c.api.v1.CreateRequestRequest\x1a\x0f.api.v1.Request\" \x82\xd3\xe4\x93\x02\x1a\"\x15/api.v1/CreateRequest:\x01*\x12x\n\nGetRequest\x12\x19.api.v1.GetRequestRequest\x1a\x0f.api.v1.Request\">\x82\xd3\xe4\x93\x02\x38\"3/api.v1/sessions/{session_id}/requests/{request_id}:\x01*\x12|\n\x0cListRequests\x12\x1b.api.v1.ListRequestsRequest\x1a\x1c.api.v1.ListRequestsResponse\"1\x82\xd3\xe4\x93\x02+\"&/api.v1/sessions/{session_id}/requests:\x01*\x12`\n\rUpdateRequest\x12\x1c.api.v1.UpdateRequestRequest\x1a\x0f.api.v1.Request\" \x82\xd3\xe4\x93\x02\x1a\"\x15/api.v1/UpdateRequest:\x01*\x12]\n\x0c\x43laimRequest\x12\x1b.api.v1.ClaimRequestRequest\x1a\x0f.api.v1.Request\"\x1f\x82\xd3\xe4\x93\x02\x19\"\x14/api.v1/ClaimRequest:\x01*\x12z\n\x10\x43laimNextRequest\x12\x1f.api.v1.ClaimNextRequestRequest\x1a .api.v1.ClaimNextRequestResponse\"#\x82\xd3\xe4\x93\x02\x1d\"\x18/api.v1/ClaimNextRequest:\x01*\x12n\n\rCancelRequest\x12\x1c.api.v1.CancelRequestRequest\x1a\x1d.api.v1.CancelRequestResponse\" \x82\xd3\xe4\x93\x02\x1a\"\x15/api.v1/CancelRequest:\x01*\x12\x86\x01\n\x13SubmitRequestResult\x12\".api.v1.SubmitRequestResultRequest\x1a#.api.v1.SubmitRequestResultResponse\"&\x82\xd3\xe4\x93\x02 \"\x1b/api.v1/SubmitRequestResult:\x01*\x12\x86\x01\n\x13\x41ppendRequestChunks\x12\".api.v1.AppendRequestChunksRequest\x1a#.api.v1.AppendRequestChunksResponse\"&\x82\xd3\xe4\x93\x02 \"\x1b/api.v1/AppendRequestChunks:\x01*\x12\x9c\x01\n\x10GetRequestChunks\x12\x1f.api.v1.GetRequestChunksRequest\x1a .api.v1.GetRequestChunksResponse\"E\x82\xd3\xe4\x93\x02?\":/api.v1/sessions/{session_id}/requests/{request_id}/chunks:\x01*\x12l\n\x11RenewRequestLease\x12 .api.v1.RenewRequestLeaseRequest\x1a\x0f.api.v1.Request\"$\x82\xd3\xe4\x93\x02\x1e\"\x19/api.v1/RenewRequestLease:\x01*2\xa5\x03\n\x0cTasksService\x12T\n\nCreateTask\x12\x19.api.v1.CreateTaskRequest\x1a\x0c.api.v1.Task\"\x1d\x82\xd3\xe4\x93\x02\x17\"\x12/api.v1/CreateTask:\x01*\x12i\n\x07GetTask\x12\x16.api.v1.GetTaskRequest\x1a\x0c.api.v1.Task\"8\x82\xd3\xe4\x93\x02\x32\"-/api.v1/sessions/{session_id}/tasks/{task_id}:\x01*\x12p\n\tListTasks\x12\x18.api.v1.ListTasksRequest\x1a\x19.api.v1.ListTasksResponse\".\x82\xd3\xe4\x93\x02(\"#/api.v1/sessions/{session_id}/tasks:\x01*\x12\x62\n\nCancelTask\x12\x19.api.v1.CancelTaskRequest\x1a\x1a.api.v1.CancelTaskResponse\"\x1d\x82\xd3\xe4\x93\x02\x17\"\x12/api.v1/CancelTask:\x01*B\x11Z\x0ftoolplane/protob\x06proto3')
30
+
31
+ _globals = globals()
32
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
33
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'proto.service_pb2', _globals)
34
+ if not _descriptor._USE_C_DESCRIPTORS:
35
+ _globals['DESCRIPTOR']._loaded_options = None
36
+ _globals['DESCRIPTOR']._serialized_options = b'Z\017toolplane/proto'
37
+ _globals['_TOOL_CONFIGENTRY']._loaded_options = None
38
+ _globals['_TOOL_CONFIGENTRY']._serialized_options = b'8\001'
39
+ _globals['_REGISTERTOOLREQUEST_CONFIGENTRY']._loaded_options = None
40
+ _globals['_REGISTERTOOLREQUEST_CONFIGENTRY']._serialized_options = b'8\001'
41
+ _globals['_SUBMITREQUESTRESULTREQUEST_METAENTRY']._loaded_options = None
42
+ _globals['_SUBMITREQUESTRESULTREQUEST_METAENTRY']._serialized_options = b'8\001'
43
+ _globals['_TOOLSERVICE'].methods_by_name['RegisterTool']._loaded_options = None
44
+ _globals['_TOOLSERVICE'].methods_by_name['RegisterTool']._serialized_options = b'\202\323\344\223\002\031\"\024/api.v1/RegisterTool:\001*'
45
+ _globals['_TOOLSERVICE'].methods_by_name['ListTools']._loaded_options = None
46
+ _globals['_TOOLSERVICE'].methods_by_name['ListTools']._serialized_options = b'\202\323\344\223\002\026\"\021/api.v1/ListTools:\001*'
47
+ _globals['_TOOLSERVICE'].methods_by_name['GetTool']._loaded_options = None
48
+ _globals['_TOOLSERVICE'].methods_by_name['GetTool']._serialized_options = b'\202\323\344\223\002\024\"\017/api.v1/GetTool:\001*'
49
+ _globals['_TOOLSERVICE'].methods_by_name['GetToolById']._loaded_options = None
50
+ _globals['_TOOLSERVICE'].methods_by_name['GetToolById']._serialized_options = b'\210\002\001\202\323\344\223\002\030\"\023/api.v1/GetToolById:\001*'
51
+ _globals['_TOOLSERVICE'].methods_by_name['GetToolByName']._loaded_options = None
52
+ _globals['_TOOLSERVICE'].methods_by_name['GetToolByName']._serialized_options = b'\210\002\001\202\323\344\223\002\032\"\025/api.v1/GetToolByName:\001*'
53
+ _globals['_TOOLSERVICE'].methods_by_name['DeleteTool']._loaded_options = None
54
+ _globals['_TOOLSERVICE'].methods_by_name['DeleteTool']._serialized_options = b'\202\323\344\223\002\027\"\022/api.v1/DeleteTool:\001*'
55
+ _globals['_TOOLSERVICE'].methods_by_name['UpdateToolPing']._loaded_options = None
56
+ _globals['_TOOLSERVICE'].methods_by_name['UpdateToolPing']._serialized_options = b'\202\323\344\223\002\033\"\026/api.v1/UpdateToolPing:\001*'
57
+ _globals['_TOOLSERVICE'].methods_by_name['StreamExecuteTool']._loaded_options = None
58
+ _globals['_TOOLSERVICE'].methods_by_name['StreamExecuteTool']._serialized_options = b'\202\323\344\223\002\036\"\031/api.v1/StreamExecuteTool:\001*'
59
+ _globals['_TOOLSERVICE'].methods_by_name['ResumeStream']._loaded_options = None
60
+ _globals['_TOOLSERVICE'].methods_by_name['ResumeStream']._serialized_options = b'\202\323\344\223\002\031\"\024/api.v1/ResumeStream:\001*'
61
+ _globals['_TOOLSERVICE'].methods_by_name['InvokeTool']._loaded_options = None
62
+ _globals['_TOOLSERVICE'].methods_by_name['InvokeTool']._serialized_options = b'\202\323\344\223\002\027\"\022/api.v1/InvokeTool:\001*'
63
+ _globals['_TOOLSERVICE'].methods_by_name['ExecuteTool']._loaded_options = None
64
+ _globals['_TOOLSERVICE'].methods_by_name['ExecuteTool']._serialized_options = b'\210\002\001\202\323\344\223\002\030\"\023/api.v1/ExecuteTool:\001*'
65
+ _globals['_TOOLSERVICE'].methods_by_name['HealthCheck']._loaded_options = None
66
+ _globals['_TOOLSERVICE'].methods_by_name['HealthCheck']._serialized_options = b'\202\323\344\223\002.\"\017/api.v1/healthz:\001*Z\030\"\023/api.v1/HealthCheck:\001*'
67
+ _globals['_SESSIONSSERVICE'].methods_by_name['CreateSession']._loaded_options = None
68
+ _globals['_SESSIONSSERVICE'].methods_by_name['CreateSession']._serialized_options = b'\202\323\344\223\002\032\"\025/api.v1/CreateSession:\001*'
69
+ _globals['_SESSIONSSERVICE'].methods_by_name['GetSession']._loaded_options = None
70
+ _globals['_SESSIONSSERVICE'].methods_by_name['GetSession']._serialized_options = b'\202\323\344\223\002\"\"\035/api.v1/sessions/{session_id}:\001*'
71
+ _globals['_SESSIONSSERVICE'].methods_by_name['ListSessions']._loaded_options = None
72
+ _globals['_SESSIONSSERVICE'].methods_by_name['ListSessions']._serialized_options = b'\202\323\344\223\002\025\"\020/api.v1/sessions:\001*'
73
+ _globals['_SESSIONSSERVICE'].methods_by_name['UpdateSession']._loaded_options = None
74
+ _globals['_SESSIONSSERVICE'].methods_by_name['UpdateSession']._serialized_options = b'\202\323\344\223\002\032\"\025/api.v1/UpdateSession:\001*'
75
+ _globals['_SESSIONSSERVICE'].methods_by_name['DeleteSession']._loaded_options = None
76
+ _globals['_SESSIONSSERVICE'].methods_by_name['DeleteSession']._serialized_options = b'\202\323\344\223\002\032\"\025/api.v1/DeleteSession:\001*'
77
+ _globals['_SESSIONSSERVICE'].methods_by_name['ListUserSessions']._loaded_options = None
78
+ _globals['_SESSIONSSERVICE'].methods_by_name['ListUserSessions']._serialized_options = b'\202\323\344\223\002%\" /api.v1/users/{user_id}/sessions:\001*'
79
+ _globals['_SESSIONSSERVICE'].methods_by_name['BulkDeleteSessions']._loaded_options = None
80
+ _globals['_SESSIONSSERVICE'].methods_by_name['BulkDeleteSessions']._serialized_options = b'\202\323\344\223\002\037\"\032/api.v1/BulkDeleteSessions:\001*'
81
+ _globals['_SESSIONSSERVICE'].methods_by_name['GetSessionStats']._loaded_options = None
82
+ _globals['_SESSIONSSERVICE'].methods_by_name['GetSessionStats']._serialized_options = b'\202\323\344\223\002*\"%/api.v1/users/{user_id}/session-stats:\001*'
83
+ _globals['_SESSIONSSERVICE'].methods_by_name['InvalidateSession']._loaded_options = None
84
+ _globals['_SESSIONSSERVICE'].methods_by_name['InvalidateSession']._serialized_options = b'\202\323\344\223\002\036\"\031/api.v1/InvalidateSession:\001*'
85
+ _globals['_SESSIONSSERVICE'].methods_by_name['CreateApiKey']._loaded_options = None
86
+ _globals['_SESSIONSSERVICE'].methods_by_name['CreateApiKey']._serialized_options = b'\202\323\344\223\002\031\"\024/api.v1/CreateApiKey:\001*'
87
+ _globals['_SESSIONSSERVICE'].methods_by_name['ListApiKeys']._loaded_options = None
88
+ _globals['_SESSIONSSERVICE'].methods_by_name['ListApiKeys']._serialized_options = b'\202\323\344\223\002+\"&/api.v1/sessions/{session_id}/api-keys:\001*'
89
+ _globals['_SESSIONSSERVICE'].methods_by_name['RevokeApiKey']._loaded_options = None
90
+ _globals['_SESSIONSSERVICE'].methods_by_name['RevokeApiKey']._serialized_options = b'\202\323\344\223\002\031\"\024/api.v1/RevokeApiKey:\001*'
91
+ _globals['_SESSIONSSERVICE'].methods_by_name['ListAuditEvents']._loaded_options = None
92
+ _globals['_SESSIONSSERVICE'].methods_by_name['ListAuditEvents']._serialized_options = b'\202\323\344\223\002\034\"\027/api.v1/ListAuditEvents:\001*'
93
+ _globals['_MACHINESSERVICE'].methods_by_name['RegisterMachine']._loaded_options = None
94
+ _globals['_MACHINESSERVICE'].methods_by_name['RegisterMachine']._serialized_options = b'\202\323\344\223\002\034\"\027/api.v1/RegisterMachine:\001*'
95
+ _globals['_MACHINESSERVICE'].methods_by_name['ListMachines']._loaded_options = None
96
+ _globals['_MACHINESSERVICE'].methods_by_name['ListMachines']._serialized_options = b'\202\323\344\223\002+\"&/api.v1/sessions/{session_id}/machines:\001*'
97
+ _globals['_MACHINESSERVICE'].methods_by_name['GetMachine']._loaded_options = None
98
+ _globals['_MACHINESSERVICE'].methods_by_name['GetMachine']._serialized_options = b'\202\323\344\223\0028\"3/api.v1/sessions/{session_id}/machines/{machine_id}:\001*'
99
+ _globals['_MACHINESSERVICE'].methods_by_name['UpdateMachinePing']._loaded_options = None
100
+ _globals['_MACHINESSERVICE'].methods_by_name['UpdateMachinePing']._serialized_options = b'\202\323\344\223\002\036\"\031/api.v1/UpdateMachinePing:\001*'
101
+ _globals['_MACHINESSERVICE'].methods_by_name['UnregisterMachine']._loaded_options = None
102
+ _globals['_MACHINESSERVICE'].methods_by_name['UnregisterMachine']._serialized_options = b'\202\323\344\223\002\036\"\031/api.v1/UnregisterMachine:\001*'
103
+ _globals['_MACHINESSERVICE'].methods_by_name['DrainMachine']._loaded_options = None
104
+ _globals['_MACHINESSERVICE'].methods_by_name['DrainMachine']._serialized_options = b'\202\323\344\223\002\031\"\024/api.v1/DrainMachine:\001*'
105
+ _globals['_REQUESTSSERVICE'].methods_by_name['CreateRequest']._loaded_options = None
106
+ _globals['_REQUESTSSERVICE'].methods_by_name['CreateRequest']._serialized_options = b'\202\323\344\223\002\032\"\025/api.v1/CreateRequest:\001*'
107
+ _globals['_REQUESTSSERVICE'].methods_by_name['GetRequest']._loaded_options = None
108
+ _globals['_REQUESTSSERVICE'].methods_by_name['GetRequest']._serialized_options = b'\202\323\344\223\0028\"3/api.v1/sessions/{session_id}/requests/{request_id}:\001*'
109
+ _globals['_REQUESTSSERVICE'].methods_by_name['ListRequests']._loaded_options = None
110
+ _globals['_REQUESTSSERVICE'].methods_by_name['ListRequests']._serialized_options = b'\202\323\344\223\002+\"&/api.v1/sessions/{session_id}/requests:\001*'
111
+ _globals['_REQUESTSSERVICE'].methods_by_name['UpdateRequest']._loaded_options = None
112
+ _globals['_REQUESTSSERVICE'].methods_by_name['UpdateRequest']._serialized_options = b'\202\323\344\223\002\032\"\025/api.v1/UpdateRequest:\001*'
113
+ _globals['_REQUESTSSERVICE'].methods_by_name['ClaimRequest']._loaded_options = None
114
+ _globals['_REQUESTSSERVICE'].methods_by_name['ClaimRequest']._serialized_options = b'\202\323\344\223\002\031\"\024/api.v1/ClaimRequest:\001*'
115
+ _globals['_REQUESTSSERVICE'].methods_by_name['ClaimNextRequest']._loaded_options = None
116
+ _globals['_REQUESTSSERVICE'].methods_by_name['ClaimNextRequest']._serialized_options = b'\202\323\344\223\002\035\"\030/api.v1/ClaimNextRequest:\001*'
117
+ _globals['_REQUESTSSERVICE'].methods_by_name['CancelRequest']._loaded_options = None
118
+ _globals['_REQUESTSSERVICE'].methods_by_name['CancelRequest']._serialized_options = b'\202\323\344\223\002\032\"\025/api.v1/CancelRequest:\001*'
119
+ _globals['_REQUESTSSERVICE'].methods_by_name['SubmitRequestResult']._loaded_options = None
120
+ _globals['_REQUESTSSERVICE'].methods_by_name['SubmitRequestResult']._serialized_options = b'\202\323\344\223\002 \"\033/api.v1/SubmitRequestResult:\001*'
121
+ _globals['_REQUESTSSERVICE'].methods_by_name['AppendRequestChunks']._loaded_options = None
122
+ _globals['_REQUESTSSERVICE'].methods_by_name['AppendRequestChunks']._serialized_options = b'\202\323\344\223\002 \"\033/api.v1/AppendRequestChunks:\001*'
123
+ _globals['_REQUESTSSERVICE'].methods_by_name['GetRequestChunks']._loaded_options = None
124
+ _globals['_REQUESTSSERVICE'].methods_by_name['GetRequestChunks']._serialized_options = b'\202\323\344\223\002?\":/api.v1/sessions/{session_id}/requests/{request_id}/chunks:\001*'
125
+ _globals['_REQUESTSSERVICE'].methods_by_name['RenewRequestLease']._loaded_options = None
126
+ _globals['_REQUESTSSERVICE'].methods_by_name['RenewRequestLease']._serialized_options = b'\202\323\344\223\002\036\"\031/api.v1/RenewRequestLease:\001*'
127
+ _globals['_TASKSSERVICE'].methods_by_name['CreateTask']._loaded_options = None
128
+ _globals['_TASKSSERVICE'].methods_by_name['CreateTask']._serialized_options = b'\202\323\344\223\002\027\"\022/api.v1/CreateTask:\001*'
129
+ _globals['_TASKSSERVICE'].methods_by_name['GetTask']._loaded_options = None
130
+ _globals['_TASKSSERVICE'].methods_by_name['GetTask']._serialized_options = b'\202\323\344\223\0022\"-/api.v1/sessions/{session_id}/tasks/{task_id}:\001*'
131
+ _globals['_TASKSSERVICE'].methods_by_name['ListTasks']._loaded_options = None
132
+ _globals['_TASKSSERVICE'].methods_by_name['ListTasks']._serialized_options = b'\202\323\344\223\002(\"#/api.v1/sessions/{session_id}/tasks:\001*'
133
+ _globals['_TASKSSERVICE'].methods_by_name['CancelTask']._loaded_options = None
134
+ _globals['_TASKSSERVICE'].methods_by_name['CancelTask']._serialized_options = b'\202\323\344\223\002\027\"\022/api.v1/CancelTask:\001*'
135
+ _globals['_REQUESTSTATUS']._serialized_start=7736
136
+ _globals['_REQUESTSTATUS']._serialized_end=7949
137
+ _globals['_TASKSTATUS']._serialized_start=7952
138
+ _globals['_TASKSTATUS']._serialized_end=8150
139
+ _globals['_LISTPAGE']._serialized_start=94
140
+ _globals['_LISTPAGE']._serialized_end=149
141
+ _globals['_RESUMESTREAMREQUEST']._serialized_start=151
142
+ _globals['_RESUMESTREAMREQUEST']._serialized_end=210
143
+ _globals['_DRAINMACHINEREQUEST']._serialized_start=212
144
+ _globals['_DRAINMACHINEREQUEST']._serialized_end=273
145
+ _globals['_DRAINMACHINERESPONSE']._serialized_start=275
146
+ _globals['_DRAINMACHINERESPONSE']._serialized_end=314
147
+ _globals['_TOOL']._serialized_start=317
148
+ _globals['_TOOL']._serialized_end=627
149
+ _globals['_TOOL_CONFIGENTRY']._serialized_start=582
150
+ _globals['_TOOL_CONFIGENTRY']._serialized_end=627
151
+ _globals['_SESSION']._serialized_start=630
152
+ _globals['_SESSION']._serialized_end=773
153
+ _globals['_APIKEY']._serialized_start=776
154
+ _globals['_APIKEY']._serialized_end=1025
155
+ _globals['_MACHINE']._serialized_start=1028
156
+ _globals['_MACHINE']._serialized_end=1263
157
+ _globals['_REQUEST']._serialized_start=1266
158
+ _globals['_REQUEST']._serialized_end=1677
159
+ _globals['_REGISTERTOOLREQUEST']._serialized_start=1680
160
+ _globals['_REGISTERTOOLREQUEST']._serialized_end=1910
161
+ _globals['_REGISTERTOOLREQUEST_CONFIGENTRY']._serialized_start=582
162
+ _globals['_REGISTERTOOLREQUEST_CONFIGENTRY']._serialized_end=627
163
+ _globals['_REGISTERTOOLRESPONSE']._serialized_start=1912
164
+ _globals['_REGISTERTOOLRESPONSE']._serialized_end=1962
165
+ _globals['_LISTTOOLSREQUEST']._serialized_start=1964
166
+ _globals['_LISTTOOLSREQUEST']._serialized_end=2002
167
+ _globals['_LISTTOOLSRESPONSE']._serialized_start=2004
168
+ _globals['_LISTTOOLSRESPONSE']._serialized_end=2052
169
+ _globals['_GETTOOLREQUEST']._serialized_start=2054
170
+ _globals['_GETTOOLREQUEST']._serialized_end=2126
171
+ _globals['_GETTOOLBYIDREQUEST']._serialized_start=2128
172
+ _globals['_GETTOOLBYIDREQUEST']._serialized_end=2185
173
+ _globals['_GETTOOLBYNAMEREQUEST']._serialized_start=2187
174
+ _globals['_GETTOOLBYNAMEREQUEST']._serialized_end=2248
175
+ _globals['_GETTOOLRESPONSE']._serialized_start=2250
176
+ _globals['_GETTOOLRESPONSE']._serialized_end=2295
177
+ _globals['_DELETETOOLREQUEST']._serialized_start=2297
178
+ _globals['_DELETETOOLREQUEST']._serialized_end=2373
179
+ _globals['_DELETETOOLRESPONSE']._serialized_start=2375
180
+ _globals['_DELETETOOLRESPONSE']._serialized_end=2412
181
+ _globals['_UPDATETOOLPINGREQUEST']._serialized_start=2414
182
+ _globals['_UPDATETOOLPINGREQUEST']._serialized_end=2494
183
+ _globals['_CREATESESSIONREQUEST']._serialized_start=2496
184
+ _globals['_CREATESESSIONREQUEST']._serialized_end=2609
185
+ _globals['_CREATESESSIONRESPONSE']._serialized_start=2611
186
+ _globals['_CREATESESSIONRESPONSE']._serialized_end=2668
187
+ _globals['_GETSESSIONREQUEST']._serialized_start=2670
188
+ _globals['_GETSESSIONREQUEST']._serialized_end=2709
189
+ _globals['_LISTSESSIONSREQUEST']._serialized_start=2711
190
+ _globals['_LISTSESSIONSREQUEST']._serialized_end=2749
191
+ _globals['_LISTSESSIONSRESPONSE']._serialized_start=2751
192
+ _globals['_LISTSESSIONSRESPONSE']._serialized_end=2808
193
+ _globals['_LISTUSERSESSIONSREQUEST']._serialized_start=2810
194
+ _globals['_LISTUSERSESSIONSREQUEST']._serialized_end=2907
195
+ _globals['_LISTUSERSESSIONSRESPONSE']._serialized_start=2909
196
+ _globals['_LISTUSERSESSIONSRESPONSE']._serialized_end=3002
197
+ _globals['_BULKDELETESESSIONSREQUEST']._serialized_start=3004
198
+ _globals['_BULKDELETESESSIONSREQUEST']._serialized_end=3085
199
+ _globals['_BULKDELETESESSIONSRESPONSE']._serialized_start=3087
200
+ _globals['_BULKDELETESESSIONSRESPONSE']._serialized_end=3164
201
+ _globals['_GETSESSIONSTATSREQUEST']._serialized_start=3166
202
+ _globals['_GETSESSIONSTATSREQUEST']._serialized_end=3207
203
+ _globals['_GETSESSIONSTATSRESPONSE']._serialized_start=3209
204
+ _globals['_GETSESSIONSTATSRESPONSE']._serialized_end=3309
205
+ _globals['_INVALIDATESESSIONREQUEST']._serialized_start=3311
206
+ _globals['_INVALIDATESESSIONREQUEST']._serialized_end=3373
207
+ _globals['_INVALIDATESESSIONRESPONSE']._serialized_start=3375
208
+ _globals['_INVALIDATESESSIONRESPONSE']._serialized_end=3445
209
+ _globals['_UPDATESESSIONREQUEST']._serialized_start=3447
210
+ _globals['_UPDATESESSIONREQUEST']._serialized_end=3543
211
+ _globals['_DELETESESSIONREQUEST']._serialized_start=3545
212
+ _globals['_DELETESESSIONREQUEST']._serialized_end=3587
213
+ _globals['_DELETESESSIONRESPONSE']._serialized_start=3589
214
+ _globals['_DELETESESSIONRESPONSE']._serialized_end=3629
215
+ _globals['_CREATEAPIKEYREQUEST']._serialized_start=3631
216
+ _globals['_CREATEAPIKEYREQUEST']._serialized_end=3731
217
+ _globals['_LISTAPIKEYSREQUEST']._serialized_start=3733
218
+ _globals['_LISTAPIKEYSREQUEST']._serialized_end=3773
219
+ _globals['_LISTAPIKEYSRESPONSE']._serialized_start=3775
220
+ _globals['_LISTAPIKEYSRESPONSE']._serialized_end=3830
221
+ _globals['_AUDITEVENT']._serialized_start=3833
222
+ _globals['_AUDITEVENT']._serialized_end=4036
223
+ _globals['_LISTAUDITEVENTSREQUEST']._serialized_start=4038
224
+ _globals['_LISTAUDITEVENTSREQUEST']._serialized_end=4158
225
+ _globals['_LISTAUDITEVENTSRESPONSE']._serialized_start=4160
226
+ _globals['_LISTAUDITEVENTSRESPONSE']._serialized_end=4253
227
+ _globals['_REVOKEAPIKEYREQUEST']._serialized_start=4255
228
+ _globals['_REVOKEAPIKEYREQUEST']._serialized_end=4312
229
+ _globals['_REVOKEAPIKEYRESPONSE']._serialized_start=4314
230
+ _globals['_REVOKEAPIKEYRESPONSE']._serialized_end=4353
231
+ _globals['_REGISTERMACHINEREQUEST']._serialized_start=4356
232
+ _globals['_REGISTERMACHINEREQUEST']._serialized_end=4507
233
+ _globals['_LISTMACHINESREQUEST']._serialized_start=4509
234
+ _globals['_LISTMACHINESREQUEST']._serialized_end=4550
235
+ _globals['_LISTMACHINESRESPONSE']._serialized_start=4552
236
+ _globals['_LISTMACHINESRESPONSE']._serialized_end=4609
237
+ _globals['_GETMACHINEREQUEST']._serialized_start=4611
238
+ _globals['_GETMACHINEREQUEST']._serialized_end=4670
239
+ _globals['_UPDATEMACHINEPINGREQUEST']._serialized_start=4672
240
+ _globals['_UPDATEMACHINEPINGREQUEST']._serialized_end=4738
241
+ _globals['_UNREGISTERMACHINEREQUEST']._serialized_start=4740
242
+ _globals['_UNREGISTERMACHINEREQUEST']._serialized_end=4806
243
+ _globals['_UNREGISTERMACHINERESPONSE']._serialized_start=4808
244
+ _globals['_UNREGISTERMACHINERESPONSE']._serialized_end=4852
245
+ _globals['_EXECUTETOOLREQUEST']._serialized_start=4855
246
+ _globals['_EXECUTETOOLREQUEST']._serialized_end=5009
247
+ _globals['_EXECUTETOOLRESPONSE']._serialized_start=5012
248
+ _globals['_EXECUTETOOLRESPONSE']._serialized_end=5144
249
+ _globals['_EXECUTETOOLCHUNK']._serialized_start=5146
250
+ _globals['_EXECUTETOOLCHUNK']._serialized_end=5245
251
+ _globals['_CREATEREQUESTREQUEST']._serialized_start=5247
252
+ _globals['_CREATEREQUESTREQUEST']._serialized_end=5373
253
+ _globals['_GETREQUESTREQUEST']._serialized_start=5375
254
+ _globals['_GETREQUESTREQUEST']._serialized_end=5434
255
+ _globals['_LISTREQUESTSREQUEST']._serialized_start=5437
256
+ _globals['_LISTREQUESTSREQUEST']._serialized_end=5575
257
+ _globals['_LISTREQUESTSRESPONSE']._serialized_start=5577
258
+ _globals['_LISTREQUESTSRESPONSE']._serialized_end=5666
259
+ _globals['_UPDATEREQUESTREQUEST']._serialized_start=5669
260
+ _globals['_UPDATEREQUESTREQUEST']._serialized_end=5848
261
+ _globals['_CLAIMREQUESTREQUEST']._serialized_start=5850
262
+ _globals['_CLAIMREQUESTREQUEST']._serialized_end=5931
263
+ _globals['_CLAIMNEXTREQUESTREQUEST']._serialized_start=5933
264
+ _globals['_CLAIMNEXTREQUESTREQUEST']._serialized_end=6018
265
+ _globals['_CLAIMNEXTREQUESTRESPONSE']._serialized_start=6020
266
+ _globals['_CLAIMNEXTREQUESTRESPONSE']._serialized_end=6097
267
+ _globals['_CANCELREQUESTREQUEST']._serialized_start=6099
268
+ _globals['_CANCELREQUESTREQUEST']._serialized_end=6161
269
+ _globals['_CANCELREQUESTRESPONSE']._serialized_start=6163
270
+ _globals['_CANCELREQUESTRESPONSE']._serialized_end=6203
271
+ _globals['_SUBMITREQUESTRESULTREQUEST']._serialized_start=6206
272
+ _globals['_SUBMITREQUESTRESULTREQUEST']._serialized_end=6457
273
+ _globals['_SUBMITREQUESTRESULTREQUEST_METAENTRY']._serialized_start=6414
274
+ _globals['_SUBMITREQUESTRESULTREQUEST_METAENTRY']._serialized_end=6457
275
+ _globals['_SUBMITREQUESTRESULTRESPONSE']._serialized_start=6459
276
+ _globals['_SUBMITREQUESTRESULTRESPONSE']._serialized_end=6505
277
+ _globals['_APPENDREQUESTCHUNKSREQUEST']._serialized_start=6508
278
+ _globals['_APPENDREQUESTCHUNKSREQUEST']._serialized_end=6654
279
+ _globals['_APPENDREQUESTCHUNKSRESPONSE']._serialized_start=6656
280
+ _globals['_APPENDREQUESTCHUNKSRESPONSE']._serialized_end=6702
281
+ _globals['_GETREQUESTCHUNKSREQUEST']._serialized_start=6704
282
+ _globals['_GETREQUESTCHUNKSREQUEST']._serialized_end=6769
283
+ _globals['_GETREQUESTCHUNKSRESPONSE']._serialized_start=6771
284
+ _globals['_GETREQUESTCHUNKSRESPONSE']._serialized_end=6850
285
+ _globals['_RENEWREQUESTLEASEREQUEST']._serialized_start=6852
286
+ _globals['_RENEWREQUESTLEASEREQUEST']._serialized_end=6959
287
+ _globals['_HEALTHCHECKREQUEST']._serialized_start=6961
288
+ _globals['_HEALTHCHECKREQUEST']._serialized_end=6981
289
+ _globals['_HEALTHCHECKRESPONSE']._serialized_start=6983
290
+ _globals['_HEALTHCHECKRESPONSE']._serialized_end=7054
291
+ _globals['_TASK']._serialized_start=7057
292
+ _globals['_TASK']._serialized_end=7391
293
+ _globals['_CREATETASKREQUEST']._serialized_start=7393
294
+ _globals['_CREATETASKREQUEST']._serialized_end=7491
295
+ _globals['_GETTASKREQUEST']._serialized_start=7493
296
+ _globals['_GETTASKREQUEST']._serialized_end=7546
297
+ _globals['_LISTTASKSREQUEST']._serialized_start=7548
298
+ _globals['_LISTTASKSREQUEST']._serialized_end=7586
299
+ _globals['_LISTTASKSRESPONSE']._serialized_start=7588
300
+ _globals['_LISTTASKSRESPONSE']._serialized_end=7636
301
+ _globals['_CANCELTASKREQUEST']._serialized_start=7638
302
+ _globals['_CANCELTASKREQUEST']._serialized_end=7694
303
+ _globals['_CANCELTASKRESPONSE']._serialized_start=7696
304
+ _globals['_CANCELTASKRESPONSE']._serialized_end=7733
305
+ _globals['_TOOLSERVICE']._serialized_start=8153
306
+ _globals['_TOOLSERVICE']._serialized_end=9424
307
+ _globals['_SESSIONSSERVICE']._serialized_start=9427
308
+ _globals['_SESSIONSSERVICE']._serialized_end=10944
309
+ _globals['_MACHINESSERVICE']._serialized_start=10947
310
+ _globals['_MACHINESSERVICE']._serialized_end=11662
311
+ _globals['_REQUESTSSERVICE']._serialized_start=11665
312
+ _globals['_REQUESTSSERVICE']._serialized_end=13000
313
+ _globals['_TASKSSERVICE']._serialized_start=13003
314
+ _globals['_TASKSSERVICE']._serialized_end=13424
315
+ # @@protoc_insertion_point(module_scope)