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

_sym_db = _symbol_database.Default()


from truffle.common import file_pb2 as truffle_dot_common_dot_file__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 google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1ctruffle/hyphae/context.proto\x12\x0etruffle.hyphae\x1a\x19truffle/common/file.proto\x1a&truffle/infer/convo/conversation.proto\x1a\x19google/protobuf/any.proto\"\x86\x10\n\x07\x43ontext\x12\x34\n\x06\x62locks\x18\x01 \x03(\x0b\x32$.truffle.hyphae.Context.ContextBlock\x12;\n\nproperties\x18\x02 \x03(\x0b\x32\'.truffle.hyphae.Context.PropertiesEntry\x12\x1e\n\x11total_token_count\x18\x03 \x01(\rH\x00\x88\x01\x01\x1a\xcb\x03\n\x12\x43ontextPlaceholder\x12H\n\x04type\x18\x01 \x01(\x0e\x32:.truffle.hyphae.Context.ContextPlaceholder.PlaceholderType\x12N\n\nproperties\x18\x02 \x03(\x0b\x32:.truffle.hyphae.Context.ContextPlaceholder.PropertiesEntry\x1a\x31\n\x0fPropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xe7\x01\n\x0fPlaceholderType\x12\x17\n\x13PLACEHOLDER_INVALID\x10\x00\x12\x1f\n\x1bPLACEHOLDER_AVAILABLE_TOOLS\x10\x01\x12\x18\n\x14PLACEHOLDER_ENV_INFO\x10\x02\x12\x19\n\x15PLACEHOLDER_FILE_LIST\x10\x03\x12#\n\x1fPLACEHOLDER_INITIAL_USER_PROMPT\x10\x04\x12 \n\x1cPLACEHOLDER_LAST_USER_PROMPT\x10\x05\x12\x1e\n\x1aPLACEHOLDER_ATTACHED_FILES\x10\x06\x1a\xbe\x01\n\x0bToolContext\x12\x11\n\ttool_name\x18\x01 \x01(\t\x12\x33\n\x05input\x18\x02 \x01(\x0b\x32$.truffle.hyphae.Context.ContextEntry\x12\x34\n\x06output\x18\x03 \x01(\x0b\x32$.truffle.hyphae.Context.ContextEntry\x12\x13\n\x0bin_progress\x18\x04 \x01(\x08\x12\x12\n\x05\x65rror\x18\x05 \x01(\tH\x00\x88\x01\x01\x42\x08\n\x06_error\x1a\x91\x03\n\x0c\x46ilesContext\x12?\n\x05\x66iles\x18\x01 \x03(\x0b\x32\x30.truffle.hyphae.Context.FilesContext.FileContext\x12H\n\nproperties\x18\x02 \x03(\x0b\x32\x34.truffle.hyphae.Context.FilesContext.PropertiesEntry\x1a\xc2\x01\n\x0b\x46ileContext\x12*\n\x04\x66ile\x18\x01 \x01(\x0b\x32\x1c.truffle.common.AttachedFile\x12T\n\nproperties\x18\x05 \x03(\x0b\x32@.truffle.hyphae.Context.FilesContext.FileContext.PropertiesEntry\x1a\x31\n\x0fPropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x31\n\x0fPropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\xf0\x04\n\x0c\x43ontextEntry\x12\x0e\n\x04text\x18\x01 \x01(\tH\x00\x12\x41\n\x0bplaceholder\x18\x02 \x01(\x0b\x32*.truffle.hyphae.Context.ContextPlaceholderH\x00\x12#\n\x03\x61ny\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyH\x00\x12\x33\n\x04tool\x18\x04 \x01(\x0b\x32#.truffle.hyphae.Context.ToolContextH\x00\x12\x35\n\x05\x66iles\x18\x05 \x01(\x0b\x32$.truffle.hyphae.Context.FilesContextH\x00\x12@\n\x06source\x18\t \x01(\x0e\x32\x30.truffle.hyphae.Context.ContextEntry.EntrySource\x12\x10\n\x08\x63onstant\x18\n \x01(\x08\x12H\n\nproperties\x18\x0b \x03(\x0b\x32\x34.truffle.hyphae.Context.ContextEntry.PropertiesEntry\x12\x18\n\x0btoken_count\x18\x0c \x01(\rH\x01\x88\x01\x01\x1a\x31\n\x0fPropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"x\n\x0b\x45ntrySource\x12\x12\n\x0eSOURCE_INVALID\x10\x00\x12\x10\n\x0cSOURCE_MODEL\x10\x01\x12\x0f\n\x0bSOURCE_USER\x10\x02\x12\x0e\n\nSOURCE_APP\x10\x03\x12\x0f\n\x0bSOURCE_TOOL\x10\x04\x12\x11\n\rSOURCE_SYSTEM\x10\x05\x42\x07\n\x05\x65ntryB\x0e\n\x0c_token_count\x1a\x88\x01\n\x0c\x43ontextBlock\x12\x10\n\x08\x62lock_id\x18\x01 \x01(\t\x12/\n\x04role\x18\x02 \x01(\x0e\x32!.truffle.infer.convo.Message.Role\x12\x35\n\x07\x65ntries\x18\x03 \x03(\x0b\x32$.truffle.hyphae.Context.ContextEntry\x1a\x31\n\x0fPropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x14\n\x12_total_token_countb\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'truffle.hyphae.context_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  DESCRIPTOR._loaded_options = None
  _globals['_CONTEXT_CONTEXTPLACEHOLDER_PROPERTIESENTRY']._loaded_options = None
  _globals['_CONTEXT_CONTEXTPLACEHOLDER_PROPERTIESENTRY']._serialized_options = b'8\001'
  _globals['_CONTEXT_FILESCONTEXT_FILECONTEXT_PROPERTIESENTRY']._loaded_options = None
  _globals['_CONTEXT_FILESCONTEXT_FILECONTEXT_PROPERTIESENTRY']._serialized_options = b'8\001'
  _globals['_CONTEXT_FILESCONTEXT_PROPERTIESENTRY']._loaded_options = None
  _globals['_CONTEXT_FILESCONTEXT_PROPERTIESENTRY']._serialized_options = b'8\001'
  _globals['_CONTEXT_CONTEXTENTRY_PROPERTIESENTRY']._loaded_options = None
  _globals['_CONTEXT_CONTEXTENTRY_PROPERTIESENTRY']._serialized_options = b'8\001'
  _globals['_CONTEXT_PROPERTIESENTRY']._loaded_options = None
  _globals['_CONTEXT_PROPERTIESENTRY']._serialized_options = b'8\001'
  _globals['_CONTEXT']._serialized_start=143
  _globals['_CONTEXT']._serialized_end=2197
  _globals['_CONTEXT_CONTEXTPLACEHOLDER']._serialized_start=302
  _globals['_CONTEXT_CONTEXTPLACEHOLDER']._serialized_end=761
  _globals['_CONTEXT_CONTEXTPLACEHOLDER_PROPERTIESENTRY']._serialized_start=478
  _globals['_CONTEXT_CONTEXTPLACEHOLDER_PROPERTIESENTRY']._serialized_end=527
  _globals['_CONTEXT_CONTEXTPLACEHOLDER_PLACEHOLDERTYPE']._serialized_start=530
  _globals['_CONTEXT_CONTEXTPLACEHOLDER_PLACEHOLDERTYPE']._serialized_end=761
  _globals['_CONTEXT_TOOLCONTEXT']._serialized_start=764
  _globals['_CONTEXT_TOOLCONTEXT']._serialized_end=954
  _globals['_CONTEXT_FILESCONTEXT']._serialized_start=957
  _globals['_CONTEXT_FILESCONTEXT']._serialized_end=1358
  _globals['_CONTEXT_FILESCONTEXT_FILECONTEXT']._serialized_start=1113
  _globals['_CONTEXT_FILESCONTEXT_FILECONTEXT']._serialized_end=1307
  _globals['_CONTEXT_FILESCONTEXT_FILECONTEXT_PROPERTIESENTRY']._serialized_start=478
  _globals['_CONTEXT_FILESCONTEXT_FILECONTEXT_PROPERTIESENTRY']._serialized_end=527
  _globals['_CONTEXT_FILESCONTEXT_PROPERTIESENTRY']._serialized_start=478
  _globals['_CONTEXT_FILESCONTEXT_PROPERTIESENTRY']._serialized_end=527
  _globals['_CONTEXT_CONTEXTENTRY']._serialized_start=1361
  _globals['_CONTEXT_CONTEXTENTRY']._serialized_end=1985
  _globals['_CONTEXT_CONTEXTENTRY_PROPERTIESENTRY']._serialized_start=478
  _globals['_CONTEXT_CONTEXTENTRY_PROPERTIESENTRY']._serialized_end=527
  _globals['_CONTEXT_CONTEXTENTRY_ENTRYSOURCE']._serialized_start=1840
  _globals['_CONTEXT_CONTEXTENTRY_ENTRYSOURCE']._serialized_end=1960
  _globals['_CONTEXT_CONTEXTBLOCK']._serialized_start=1988
  _globals['_CONTEXT_CONTEXTBLOCK']._serialized_end=2124
  _globals['_CONTEXT_PROPERTIESENTRY']._serialized_start=478
  _globals['_CONTEXT_PROPERTIESENTRY']._serialized_end=527
# @@protoc_insertion_point(module_scope)
