# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: rpc_messages/agent.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,
    '',
    'rpc_messages/agent.proto'
)
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from .. import control_messages_pb2 as control__messages__pb2
from .. import agent_messages_pb2 as agent__messages__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x18rpc_messages/agent.proto\x12\x08terminal\x1a\x16\x63ontrol_messages.proto\x1a\x14\x61gent_messages.proto\"\x8b\x02\n\x0fRunAgentRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x12\n\nrequest_id\x18\x02 \x01(\t\x12\x0e\n\x06prompt\x18\x03 \x01(\t\x12\'\n\nagent_type\x18\x04 \x01(\x0e\x32\x13.terminal.AgentType\x12\x37\n\x07options\x18\x05 \x03(\x0b\x32&.terminal.RunAgentRequest.OptionsEntry\x12\x17\n\x0ftimeout_seconds\x18\x06 \x01(\x05\x12\x15\n\routput_schema\x18\x07 \x01(\t\x1a.\n\x0cOptionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xd4\x01\n\x10RunAgentResponse\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\"L\n\x12\x43\x61ncelAgentRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x12\n\nrequest_id\x18\x02 \x01(\t\x12\x0e\n\x06reason\x18\x03 \x01(\t\"p\n\x13\x43\x61ncelAgentResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\r\n\x05\x65rror\x18\x02 \x01(\t\x12\x14\n\x0cpartial_text\x18\x03 \x01(\t\x12#\n\x05usage\x18\x04 \x01(\x0b\x32\x14.terminal.AgentUsage\"\x95\x01\n\x16RunAgentStreamResponse\x12\x12\n\nrequest_id\x18\x01 \x01(\t\x12\x10\n\x08is_final\x18\x02 \x01(\x08\x12)\n\x05\x65vent\x18\x03 \x01(\x0b\x32\x1a.terminal.AgentStreamEvent\x12*\n\x06result\x18\x04 \x01(\x0b\x32\x1a.terminal.RunAgentResponseB\x10Z\x0eterminal/protob\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'rpc_messages.agent_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  _globals['DESCRIPTOR']._loaded_options = None
  _globals['DESCRIPTOR']._serialized_options = b'Z\016terminal/proto'
  _globals['_RUNAGENTREQUEST_OPTIONSENTRY']._loaded_options = None
  _globals['_RUNAGENTREQUEST_OPTIONSENTRY']._serialized_options = b'8\001'
  _globals['_RUNAGENTREQUEST']._serialized_start=85
  _globals['_RUNAGENTREQUEST']._serialized_end=352
  _globals['_RUNAGENTREQUEST_OPTIONSENTRY']._serialized_start=306
  _globals['_RUNAGENTREQUEST_OPTIONSENTRY']._serialized_end=352
  _globals['_RUNAGENTRESPONSE']._serialized_start=355
  _globals['_RUNAGENTRESPONSE']._serialized_end=567
  _globals['_CANCELAGENTREQUEST']._serialized_start=569
  _globals['_CANCELAGENTREQUEST']._serialized_end=645
  _globals['_CANCELAGENTRESPONSE']._serialized_start=647
  _globals['_CANCELAGENTRESPONSE']._serialized_end=759
  _globals['_RUNAGENTSTREAMRESPONSE']._serialized_start=762
  _globals['_RUNAGENTSTREAMRESPONSE']._serialized_end=911
# @@protoc_insertion_point(module_scope)
