# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: truffle/app/task_runtime.proto
# Protobuf Python Version: 6.30.0
"""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,
    30,
    0,
    '',
    'truffle/app/task_runtime.proto'
)
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from truffle.os import task_pb2 as truffle_dot_os_dot_task__pb2
try:
  truffle_dot_os_dot_task__info__pb2 = truffle_dot_os_dot_task__pb2.truffle_dot_os_dot_task__info__pb2
except AttributeError:
  truffle_dot_os_dot_task__info__pb2 = truffle_dot_os_dot_task__pb2.truffle.os.task_info_pb2
try:
  truffle_dot_os_dot_task__user__response__pb2 = truffle_dot_os_dot_task__pb2.truffle_dot_os_dot_task__user__response__pb2
except AttributeError:
  truffle_dot_os_dot_task__user__response__pb2 = truffle_dot_os_dot_task__pb2.truffle.os.task_user_response_pb2
try:
  truffle_dot_os_dot_task__step__pb2 = truffle_dot_os_dot_task__pb2.truffle_dot_os_dot_task__step__pb2
except AttributeError:
  truffle_dot_os_dot_task__step__pb2 = truffle_dot_os_dot_task__pb2.truffle.os.task_step_pb2
try:
  truffle_dot_common_dot_content__pb2 = truffle_dot_os_dot_task__pb2.truffle_dot_common_dot_content__pb2
except AttributeError:
  truffle_dot_common_dot_content__pb2 = truffle_dot_os_dot_task__pb2.truffle.common.content_pb2
from truffle.os import task_user_response_pb2 as truffle_dot_os_dot_task__user__response__pb2
from truffle.os import task_actions_pb2 as truffle_dot_os_dot_task__actions__pb2
try:
  truffle_dot_os_dot_task__pb2 = truffle_dot_os_dot_task__actions__pb2.truffle_dot_os_dot_task__pb2
except AttributeError:
  truffle_dot_os_dot_task__pb2 = truffle_dot_os_dot_task__actions__pb2.truffle.os.task_pb2
try:
  truffle_dot_os_dot_task__info__pb2 = truffle_dot_os_dot_task__actions__pb2.truffle_dot_os_dot_task__info__pb2
except AttributeError:
  truffle_dot_os_dot_task__info__pb2 = truffle_dot_os_dot_task__actions__pb2.truffle.os.task_info_pb2
try:
  truffle_dot_os_dot_task__user__response__pb2 = truffle_dot_os_dot_task__actions__pb2.truffle_dot_os_dot_task__user__response__pb2
except AttributeError:
  truffle_dot_os_dot_task__user__response__pb2 = truffle_dot_os_dot_task__actions__pb2.truffle.os.task_user_response_pb2
try:
  truffle_dot_os_dot_task__step__pb2 = truffle_dot_os_dot_task__actions__pb2.truffle_dot_os_dot_task__step__pb2
except AttributeError:
  truffle_dot_os_dot_task__step__pb2 = truffle_dot_os_dot_task__actions__pb2.truffle.os.task_step_pb2
try:
  truffle_dot_common_dot_content__pb2 = truffle_dot_os_dot_task__actions__pb2.truffle_dot_common_dot_content__pb2
except AttributeError:
  truffle_dot_common_dot_content__pb2 = truffle_dot_os_dot_task__actions__pb2.truffle.common.content_pb2
try:
  truffle_dot_os_dot_task__target__pb2 = truffle_dot_os_dot_task__actions__pb2.truffle_dot_os_dot_task__target__pb2
except AttributeError:
  truffle_dot_os_dot_task__target__pb2 = truffle_dot_os_dot_task__actions__pb2.truffle.os.task_target_pb2
try:
  truffle_dot_os_dot_task__options__pb2 = truffle_dot_os_dot_task__actions__pb2.truffle_dot_os_dot_task__options__pb2
except AttributeError:
  truffle_dot_os_dot_task__options__pb2 = truffle_dot_os_dot_task__actions__pb2.truffle.os.task_options_pb2
try:
  truffle_dot_os_dot_task__user__response__pb2 = truffle_dot_os_dot_task__actions__pb2.truffle_dot_os_dot_task__user__response__pb2
except AttributeError:
  truffle_dot_os_dot_task__user__response__pb2 = truffle_dot_os_dot_task__actions__pb2.truffle.os.task_user_response_pb2
try:
  truffle_dot_common_dot_tool__provider__pb2 = truffle_dot_os_dot_task__actions__pb2.truffle_dot_common_dot_tool__provider__pb2
except AttributeError:
  truffle_dot_common_dot_tool__provider__pb2 = truffle_dot_os_dot_task__actions__pb2.truffle.common.tool_provider_pb2
from truffle.os import task_step_pb2 as truffle_dot_os_dot_task__step__pb2
try:
  truffle_dot_common_dot_content__pb2 = truffle_dot_os_dot_task__step__pb2.truffle_dot_common_dot_content__pb2
except AttributeError:
  truffle_dot_common_dot_content__pb2 = truffle_dot_os_dot_task__step__pb2.truffle.common.content_pb2
from truffle.infer.convo import conversation_pb2 as truffle_dot_infer_dot_convo_dot_conversation__pb2
try:
  truffle_dot_infer_dot_convo_dot_msg__pb2 = truffle_dot_infer_dot_convo_dot_conversation__pb2.truffle_dot_infer_dot_convo_dot_msg__pb2
except AttributeError:
  truffle_dot_infer_dot_convo_dot_msg__pb2 = truffle_dot_infer_dot_convo_dot_conversation__pb2.truffle.infer.convo.msg_pb2
from truffle.app import background_feed_pb2 as truffle_dot_app_dot_background__feed__pb2
from truffle.common import file_pb2 as truffle_dot_common_dot_file__pb2
from truffle.os import task_options_pb2 as truffle_dot_os_dot_task__options__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1etruffle/app/task_runtime.proto\x12\x0btruffle.app\x1a\x15truffle/os/task.proto\x1a#truffle/os/task_user_response.proto\x1a\x1dtruffle/os/task_actions.proto\x1a\x1atruffle/os/task_step.proto\x1a&truffle/infer/convo/conversation.proto\x1a!truffle/app/background_feed.proto\x1a\x19truffle/common/file.proto\x1a\x1dtruffle/os/task_options.proto\"\xad\x01\n\rToolsProvider\x12:\n\nmcp_server\x18\x01 \x01(\x0b\x32$.truffle.app.ToolsProvider.MCPServerH\x00\x1aT\n\tMCPServer\x12\x0c\n\x04uuid\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x0c\n\x04port\x18\x03 \x01(\r\x12\x11\n\x04path\x18\x04 \x01(\tH\x00\x88\x01\x01\x42\x07\n\x05_pathB\n\n\x08provider\"K\n\x16\x41\x64\x64ToolProviderRequest\x12\x31\n\rtool_provider\x18\x01 \x01(\x0b\x32\x1a.truffle.app.ToolsProvider\"U\n\x17\x41\x64\x64ToolProviderResponse\x12:\n\x16\x63urrent_tool_providers\x18\x01 \x03(\x0b\x32\x1a.truffle.app.ToolsProvider\"2\n\x19RemoveToolProviderRequest\x12\x15\n\rprovider_uuid\x18\x01 \x01(\t\"X\n\x1aRemoveToolProviderResponse\x12:\n\x16\x63urrent_tool_providers\x18\x01 \x03(\x0b\x32\x1a.truffle.app.ToolsProvider\"h\n\x11TaskContextUpdate\x12\x37\n\x0clatest_convo\x18\x01 \x01(\x0b\x32!.truffle.infer.convo.Conversation\x12\x1a\n\x12\x61ssociated_node_id\x18\x02 \x01(\x05\"\xd5\x01\n\x07NewTask\x12-\n\x0cuser_message\x18\x01 \x01(\x0b\x32\x17.truffle.os.UserMessage\x12:\n\x0e\x61ttached_files\x18\x02 \x03(\x0b\x32\".truffle.common.AttachedFileIntent\x12\x45\n\x15\x61ttached_feed_entries\x18\x03 \x01(\x0b\x32!.truffle.app.FeedEntryTaskContextH\x00\x88\x01\x01\x42\x18\n\x16_attached_feed_entries\"b\n\x08PrevTask\x12\x1e\n\x04task\x18\x01 \x01(\x0b\x32\x10.truffle.os.Task\x12\x36\n\x0elatest_context\x18\x02 \x01(\x0b\x32\x1e.truffle.app.TaskContextUpdate\"\xd5\x01\n\x10StartTaskRequest\x12(\n\x08new_task\x18\x01 \x01(\x0b\x32\x14.truffle.app.NewTaskH\x00\x12*\n\tprev_task\x18\x02 \x01(\x0b\x32\x15.truffle.app.PrevTaskH\x00\x12(\n\x07options\x18\x03 \x01(\x0b\x32\x17.truffle.os.TaskOptions\x12\x32\n\x0etool_providers\x18\x04 \x03(\x0b\x32\x1a.truffle.app.ToolsProviderB\r\n\x0btask_source\"\x87\x01\n\x10TaskRuntimeError\x12\r\n\x05\x65rror\x18\x01 \x01(\t\x12\x14\n\x07\x64\x65tails\x18\x02 \x01(\tH\x00\x88\x01\x01\x12%\n\x18\x61ssociated_provider_uuid\x18\x03 \x01(\tH\x01\x88\x01\x01\x42\n\n\x08_detailsB\x1b\n\x19_associated_provider_uuid\"\xc4\x01\n\x11TaskRuntimeUpdate\x12\x33\n\x0btask_update\x18\x01 \x01(\x0b\x32\x1c.truffle.os.TaskStreamUpdateH\x00\x12\x36\n\rruntime_error\x18\x02 \x01(\x0b\x32\x1d.truffle.app.TaskRuntimeErrorH\x00\x12\x38\n\x0e\x63ontext_update\x18\x03 \x01(\x0b\x32\x1e.truffle.app.TaskContextUpdateH\x00\x42\x08\n\x06update2\xd3\x03\n\x12TaskRuntimeService\x12K\n\x08OpenTask\x12\x1d.truffle.app.StartTaskRequest\x1a\x1e.truffle.app.TaskRuntimeUpdate0\x01\x12S\n\x0fHandleInterrupt\x12 .truffle.os.InterruptTaskRequest\x1a\x1e.truffle.os.TaskActionResponse\x12V\n\x12HandleUserResponse\x12 .truffle.os.RespondToTaskRequest\x1a\x1e.truffle.os.TaskActionResponse\x12\\\n\x0f\x41\x64\x64ToolProvider\x12#.truffle.app.AddToolProviderRequest\x1a$.truffle.app.AddToolProviderResponse\x12\x65\n\x12RemoveToolProvider\x12&.truffle.app.RemoveToolProviderRequest\x1a\'.truffle.app.RemoveToolProviderResponseb\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'truffle.app.task_runtime_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  DESCRIPTOR._loaded_options = None
  _globals['_TOOLSPROVIDER']._serialized_start=300
  _globals['_TOOLSPROVIDER']._serialized_end=473
  _globals['_TOOLSPROVIDER_MCPSERVER']._serialized_start=377
  _globals['_TOOLSPROVIDER_MCPSERVER']._serialized_end=461
  _globals['_ADDTOOLPROVIDERREQUEST']._serialized_start=475
  _globals['_ADDTOOLPROVIDERREQUEST']._serialized_end=550
  _globals['_ADDTOOLPROVIDERRESPONSE']._serialized_start=552
  _globals['_ADDTOOLPROVIDERRESPONSE']._serialized_end=637
  _globals['_REMOVETOOLPROVIDERREQUEST']._serialized_start=639
  _globals['_REMOVETOOLPROVIDERREQUEST']._serialized_end=689
  _globals['_REMOVETOOLPROVIDERRESPONSE']._serialized_start=691
  _globals['_REMOVETOOLPROVIDERRESPONSE']._serialized_end=779
  _globals['_TASKCONTEXTUPDATE']._serialized_start=781
  _globals['_TASKCONTEXTUPDATE']._serialized_end=885
  _globals['_NEWTASK']._serialized_start=888
  _globals['_NEWTASK']._serialized_end=1101
  _globals['_PREVTASK']._serialized_start=1103
  _globals['_PREVTASK']._serialized_end=1201
  _globals['_STARTTASKREQUEST']._serialized_start=1204
  _globals['_STARTTASKREQUEST']._serialized_end=1417
  _globals['_TASKRUNTIMEERROR']._serialized_start=1420
  _globals['_TASKRUNTIMEERROR']._serialized_end=1555
  _globals['_TASKRUNTIMEUPDATE']._serialized_start=1558
  _globals['_TASKRUNTIMEUPDATE']._serialized_end=1754
  _globals['_TASKRUNTIMESERVICE']._serialized_start=1757
  _globals['_TASKRUNTIMESERVICE']._serialized_end=2224
# @@protoc_insertion_point(module_scope)
