# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: agent_messages.proto
# Protobuf Python Version: 6.31.1
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import runtime_version as _runtime_version
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
_runtime_version.ValidateProtobufRuntimeVersion(
    _runtime_version.Domain.PUBLIC,
    6,
    31,
    1,
    '',
    'agent_messages.proto'
)
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
from . import common_types_pb2 as common__types__pb2
from . import file_operations_pb2 as file__operations__pb2
try:
  file__operations_dot_common__pb2 = file__operations__pb2.file__operations_dot_common__pb2
except AttributeError:
  file__operations_dot_common__pb2 = file__operations__pb2.file_operations.common_pb2
try:
  file__operations_dot_directory__pb2 = file__operations__pb2.file__operations_dot_directory__pb2
except AttributeError:
  file__operations_dot_directory__pb2 = file__operations__pb2.file_operations.directory_pb2
try:
  file__operations_dot_file__crud__pb2 = file__operations__pb2.file__operations_dot_file__crud__pb2
except AttributeError:
  file__operations_dot_file__crud__pb2 = file__operations__pb2.file_operations.file_crud_pb2
try:
  file__operations_dot_archive__pb2 = file__operations__pb2.file__operations_dot_archive__pb2
except AttributeError:
  file__operations_dot_archive__pb2 = file__operations__pb2.file_operations.archive_pb2
try:
  file__operations_dot_search__pb2 = file__operations__pb2.file__operations_dot_search__pb2
except AttributeError:
  file__operations_dot_search__pb2 = file__operations__pb2.file_operations.search_pb2
try:
  file__operations_dot_transfer__pb2 = file__operations__pb2.file__operations_dot_transfer__pb2
except AttributeError:
  file__operations_dot_transfer__pb2 = file__operations__pb2.file_operations.transfer_pb2
try:
  file__operations_dot_hls__pb2 = file__operations__pb2.file__operations_dot_hls__pb2
except AttributeError:
  file__operations_dot_hls__pb2 = file__operations__pb2.file_operations.hls_pb2
try:
  file__operations_dot_changes__pb2 = file__operations__pb2.file__operations_dot_changes__pb2
except AttributeError:
  file__operations_dot_changes__pb2 = file__operations__pb2.file_operations.changes_pb2
try:
  file__operations_dot_requests__pb2 = file__operations__pb2.file__operations_dot_requests__pb2
except AttributeError:
  file__operations_dot_requests__pb2 = file__operations__pb2.file_operations.requests_pb2
from . import tunnel_pb2 as tunnel__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x14\x61gent_messages.proto\x12\x08terminal\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x12\x63ommon_types.proto\x1a\x15\x66ile_operations.proto\x1a\x0ctunnel.proto\"\x9b\x08\n\x0c\x41gentMessage\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x12\n\nmessage_id\x18\x02 \x01(\t\x12-\n\ttimestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12-\n\x08register\x18\n \x01(\x0b\x32\x19.terminal.RegisterRequestH\x00\x12.\n\theartbeat\x18\x0b \x01(\x0b\x32\x19.terminal.HeartbeatUpdateH\x00\x12*\n\x06output\x18\x14 \x01(\x0b\x32\x18.terminal.TerminalOutputH\x00\x12\x35\n\x10\x63ommand_complete\x18\x15 \x01(\x0b\x32\x19.terminal.CommandCompleteH\x00\x12(\n\x06status\x18\x1e \x01(\x0b\x32\x16.terminal.StatusUpdateH\x00\x12&\n\x05\x65rror\x18\x1f \x01(\x0b\x32\x15.terminal.ErrorReportH\x00\x12#\n\x03\x61\x63k\x18( \x01(\x0b\x32\x14.terminal.CommandAckH\x00\x12>\n\x15\x66ile_operation_result\x18< \x01(\x0b\x32\x1d.terminal.FileOperationResultH\x00\x12\x31\n\x0etunnel_created\x18\x46 \x01(\x0b\x32\x17.terminal.TunnelCreatedH\x00\x12+\n\x0btunnel_data\x18G \x01(\x0b\x32\x14.terminal.TunnelDataH\x00\x12/\n\rtunnel_closed\x18H \x01(\x0b\x32\x16.terminal.TunnelClosedH\x00\x12-\n\x0ctunnel_error\x18I \x01(\x0b\x32\x15.terminal.TunnelErrorH\x00\x12\x37\n\x11permission_status\x18P \x01(\x0b\x32\x1a.terminal.PermissionStatusH\x00\x12-\n\x0c\x61gent_result\x18Z \x01(\x0b\x32\x15.terminal.AgentResultH\x00\x12\x31\n\x0b\x61gent_event\x18[ \x01(\x0b\x32\x1a.terminal.AgentStreamEventH\x00\x12\x36\n\x11skill_list_result\x18n \x01(\x0b\x32\x19.terminal.SkillListResultH\x00\x12\x36\n\x11skill_show_result\x18o \x01(\x0b\x32\x19.terminal.SkillShowResultH\x00\x12\x34\n\x10skill_run_result\x18p \x01(\x0b\x32\x18.terminal.SkillRunResultH\x00\x12/\n\rauth_response\x18x \x01(\x0b\x32\x16.terminal.AuthResponseH\x00\x42\t\n\x07payload\"\xf4\x04\n\x0fRegisterRequest\x12\x0f\n\x07version\x18\x01 \x01(\t\x12\x10\n\x08hostname\x18\x02 \x01(\t\x12\x10\n\x08platform\x18\x03 \x01(\t\x12\x18\n\x10supported_shells\x18\x04 \x03(\t\x12,\n\x0cinitial_size\x18\x05 \x01(\x0b\x32\x16.terminal.TerminalSize\x12\x14\n\x0c\x61rchitecture\x18\x06 \x01(\t\x12\x11\n\tdevice_id\x18\x07 \x01(\t\x12\x13\n\x0b\x64\x65vice_type\x18\x08 \x01(\t\x12\x11\n\thas_shell\x18\t \x01(\x08\x12\x14\n\x0c\x64\x65vice_model\x18\n \x01(\t\x12\x11\n\tpublic_ip\x18\x0b \x01(\t\x12\x11\n\tlocal_ips\x18\x0c \x03(\t\x12\x10\n\x08username\x18\r \x01(\t\x12\x0b\n\x03uid\x18\x0e \x01(\r\x12\x0f\n\x07is_root\x18\x0f \x01(\x08\x12\x10\n\x08home_dir\x18\x10 \x01(\t\x12\x12\n\nos_version\x18\x11 \x01(\t\x12\x16\n\x0ekernel_version\x18\x12 \x01(\t\x12\x11\n\tcpu_model\x18\x13 \x01(\t\x12\x11\n\tcpu_count\x18\x14 \x01(\r\x12\x11\n\ttotal_ram\x18\x15 \x01(\x04\x12\x16\n\x0euptime_seconds\x18\x16 \x01(\x04\x12\x19\n\x11session_signature\x18\x1e \x01(\x0c\x12\x1a\n\x12session_public_key\x18\x1f \x01(\x0c\x12\x13\n\x0bkey_version\x18  \x01(\r\x12\x1a\n\x12\x61gent_capabilities\x18! \x03(\t\x12\x18\n\x10\x63ontinuity_token\x18\" \x01(\t\x12\x16\n\x0e\x61gent_password\x18# \x01(\t\";\n\x0fHeartbeatUpdate\x12(\n\x07metrics\x18\x01 \x01(\x0b\x32\x17.terminal.SystemMetrics\"C\n\x0eTerminalOutput\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x12\x11\n\tis_stderr\x18\x02 \x01(\x08\x12\x10\n\x08sequence\x18\x03 \x01(\x03\"M\n\x0f\x43ommandComplete\x12\x12\n\ncommand_id\x18\x01 \x01(\t\x12\x11\n\texit_code\x18\x02 \x01(\x05\x12\x13\n\x0b\x64uration_ms\x18\x03 \x01(\x03\"\x93\x01\n\x0cStatusUpdate\x12+\n\nold_status\x18\x01 \x01(\x0e\x32\x17.terminal.SessionStatus\x12+\n\nnew_status\x18\x02 \x01(\x0e\x32\x17.terminal.SessionStatus\x12\x0e\n\x06reason\x18\x03 \x01(\t\x12\x19\n\x11working_directory\x18\x04 \x01(\t\"\x81\x01\n\x0b\x45rrorReport\x12\x12\n\nerror_code\x18\x01 \x01(\t\x12\x0f\n\x07message\x18\x02 \x01(\t\x12\x13\n\x0bstack_trace\x18\x03 \x01(\t\x12\x10\n\x08is_fatal\x18\x04 \x01(\x08\x12\x13\n\x0bsuggestions\x18\x05 \x03(\t\x12\x11\n\tcan_retry\x18\x06 \x01(\x08\"B\n\nCommandAck\x12\x12\n\ncommand_id\x18\x01 \x01(\t\x12\x0f\n\x07success\x18\x02 \x01(\x08\x12\x0f\n\x07message\x18\x03 \x01(\t\"l\n\x10PermissionStatus\x12\x32\n\x0b\x64irectories\x18\x01 \x03(\x0b\x32\x1d.terminal.DirectoryPermission\x12\x10\n\x08platform\x18\x02 \x01(\t\x12\x12\n\nchecked_at\x18\x03 \x01(\x03\"\x82\x01\n\x13\x44irectoryPermission\x12\x0c\n\x04path\x18\x01 \x01(\t\x12\x30\n\x06status\x18\x02 \x01(\x0e\x32 .terminal.PermissionAccessStatus\x12\x15\n\rerror_message\x18\x03 \x01(\t\x12\x14\n\x0cis_sensitive\x18\x04 \x01(\x08\"\xcf\x01\n\x0b\x41gentResult\x12\x12\n\nrequest_id\x18\x01 \x01(\t\x12\x0f\n\x07success\x18\x02 \x01(\x08\x12\x0c\n\x04text\x18\x03 \x01(\t\x12\r\n\x05\x65rror\x18\x04 \x01(\t\x12/\n\x0ctool_results\x18\x05 \x03(\x0b\x32\x19.terminal.AgentToolResult\x12#\n\x05usage\x18\x06 \x01(\x0b\x32\x14.terminal.AgentUsage\x12\x13\n\x0b\x64uration_ms\x18\x07 \x01(\x03\x12\x13\n\x0boutput_json\x18\x08 \x01(\t\"\x7f\n\x0f\x41gentToolResult\x12\x11\n\ttool_name\x18\x01 \x01(\t\x12\x14\n\x0ctool_call_id\x18\x02 \x01(\t\x12\x0f\n\x07success\x18\x03 \x01(\x08\x12\x0e\n\x06result\x18\x04 \x01(\t\x12\r\n\x05\x65rror\x18\x05 \x01(\t\x12\x13\n\x0b\x64uration_ms\x18\x06 \x01(\x03\"T\n\nAgentUsage\x12\x15\n\rprompt_tokens\x18\x01 \x01(\x05\x12\x19\n\x11\x63ompletion_tokens\x18\x02 \x01(\x05\x12\x14\n\x0ctotal_tokens\x18\x03 \x01(\x05\"r\n\x10\x41gentStreamEvent\x12\x12\n\nrequest_id\x18\x01 \x01(\t\x12&\n\x04type\x18\x02 \x01(\x0e\x32\x18.terminal.AgentEventType\x12\x0f\n\x07payload\x18\x03 \x01(\t\x12\x11\n\ttimestamp\x18\x04 \x01(\x03\"r\n\x0c\x41uthResponse\x12\x14\n\x0c\x63hallenge_id\x18\x01 \x01(\t\x12\x10\n\x08password\x18\x02 \x01(\t\x12\x11\n\tsignature\x18\x03 \x01(\x0c\x12\x12\n\npublic_key\x18\x04 \x01(\x0c\x12\x13\n\x0bkey_version\x18\x05 \x01(\r\"\x9f\x01\n\rSkillInfoItem\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06\x61uthor\x18\x03 \x01(\t\x12\x0f\n\x07version\x18\x04 \x01(\t\x12\r\n\x05model\x18\x05 \x01(\t\x12\x0e\n\x06origin\x18\x06 \x01(\t\x12\x15\n\rrequired_bins\x18\x07 \x03(\t\x12\x14\n\x0crequired_env\x18\x08 \x03(\t\"N\n\x0fSkillListResult\x12\x12\n\nrequest_id\x18\x01 \x01(\t\x12\'\n\x06skills\x18\x02 \x03(\x0b\x32\x17.terminal.SkillInfoItem\"\x8b\x01\n\x0fSkillShowResult\x12\x12\n\nrequest_id\x18\x01 \x01(\t\x12\r\n\x05\x66ound\x18\x02 \x01(\x08\x12%\n\x04info\x18\x03 \x01(\x0b\x32\x17.terminal.SkillInfoItem\x12\x0f\n\x07\x63ontent\x18\x04 \x01(\t\x12\x0e\n\x06source\x18\x05 \x01(\t\x12\r\n\x05\x65rror\x18\x06 \x01(\t\"\xd2\x01\n\x0eSkillRunResult\x12\x12\n\nrequest_id\x18\x01 \x01(\t\x12\x0f\n\x07success\x18\x02 \x01(\x08\x12\x0c\n\x04text\x18\x03 \x01(\t\x12\r\n\x05\x65rror\x18\x04 \x01(\t\x12/\n\x0ctool_results\x18\x05 \x03(\x0b\x32\x19.terminal.AgentToolResult\x12#\n\x05usage\x18\x06 \x01(\x0b\x32\x14.terminal.AgentUsage\x12\x13\n\x0b\x64uration_ms\x18\x07 \x01(\x03\x12\x13\n\x0boutput_json\x18\x08 \x01(\t*w\n\x16PermissionAccessStatus\x12\x16\n\x12PERMISSION_GRANTED\x10\x00\x12\x15\n\x11PERMISSION_DENIED\x10\x01\x12\x16\n\x12PERMISSION_PENDING\x10\x02\x12\x16\n\x12PERMISSION_UNKNOWN\x10\x03*\xc2\x01\n\x0e\x41gentEventType\x12\x15\n\x11\x41GENT_EVENT_TOKEN\x10\x00\x12\x1a\n\x16\x41GENT_EVENT_TOOL_START\x10\x01\x12\x18\n\x14\x41GENT_EVENT_TOOL_END\x10\x02\x12\x18\n\x14\x41GENT_EVENT_THINKING\x10\x03\x12\x15\n\x11\x41GENT_EVENT_ERROR\x10\x04\x12\x17\n\x13\x41GENT_EVENT_HANDOFF\x10\x05\x12\x19\n\x15\x41GENT_EVENT_CANCELLED\x10\x06\x42\x10Z\x0eterminal/protob\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'agent_messages_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  _globals['DESCRIPTOR']._loaded_options = None
  _globals['DESCRIPTOR']._serialized_options = b'Z\016terminal/proto'
  _globals['_PERMISSIONACCESSSTATUS']._serialized_start=3865
  _globals['_PERMISSIONACCESSSTATUS']._serialized_end=3984
  _globals['_AGENTEVENTTYPE']._serialized_start=3987
  _globals['_AGENTEVENTTYPE']._serialized_end=4181
  _globals['_AGENTMESSAGE']._serialized_start=125
  _globals['_AGENTMESSAGE']._serialized_end=1176
  _globals['_REGISTERREQUEST']._serialized_start=1179
  _globals['_REGISTERREQUEST']._serialized_end=1807
  _globals['_HEARTBEATUPDATE']._serialized_start=1809
  _globals['_HEARTBEATUPDATE']._serialized_end=1868
  _globals['_TERMINALOUTPUT']._serialized_start=1870
  _globals['_TERMINALOUTPUT']._serialized_end=1937
  _globals['_COMMANDCOMPLETE']._serialized_start=1939
  _globals['_COMMANDCOMPLETE']._serialized_end=2016
  _globals['_STATUSUPDATE']._serialized_start=2019
  _globals['_STATUSUPDATE']._serialized_end=2166
  _globals['_ERRORREPORT']._serialized_start=2169
  _globals['_ERRORREPORT']._serialized_end=2298
  _globals['_COMMANDACK']._serialized_start=2300
  _globals['_COMMANDACK']._serialized_end=2366
  _globals['_PERMISSIONSTATUS']._serialized_start=2368
  _globals['_PERMISSIONSTATUS']._serialized_end=2476
  _globals['_DIRECTORYPERMISSION']._serialized_start=2479
  _globals['_DIRECTORYPERMISSION']._serialized_end=2609
  _globals['_AGENTRESULT']._serialized_start=2612
  _globals['_AGENTRESULT']._serialized_end=2819
  _globals['_AGENTTOOLRESULT']._serialized_start=2821
  _globals['_AGENTTOOLRESULT']._serialized_end=2948
  _globals['_AGENTUSAGE']._serialized_start=2950
  _globals['_AGENTUSAGE']._serialized_end=3034
  _globals['_AGENTSTREAMEVENT']._serialized_start=3036
  _globals['_AGENTSTREAMEVENT']._serialized_end=3150
  _globals['_AUTHRESPONSE']._serialized_start=3152
  _globals['_AUTHRESPONSE']._serialized_end=3266
  _globals['_SKILLINFOITEM']._serialized_start=3269
  _globals['_SKILLINFOITEM']._serialized_end=3428
  _globals['_SKILLLISTRESULT']._serialized_start=3430
  _globals['_SKILLLISTRESULT']._serialized_end=3508
  _globals['_SKILLSHOWRESULT']._serialized_start=3511
  _globals['_SKILLSHOWRESULT']._serialized_end=3650
  _globals['_SKILLRUNRESULT']._serialized_start=3653
  _globals['_SKILLRUNRESULT']._serialized_end=3863
# @@protoc_insertion_point(module_scope)
