@elizaos/python 2.0.0-alpha.10 → 2.0.0-alpha.26
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.
- package/elizaos/__init__.py +0 -1
- package/elizaos/advanced_capabilities/__init__.py +6 -41
- package/elizaos/advanced_capabilities/actions/__init__.py +1 -21
- package/elizaos/advanced_capabilities/actions/add_contact.py +21 -11
- package/elizaos/advanced_capabilities/actions/follow_room.py +28 -28
- package/elizaos/advanced_capabilities/actions/image_generation.py +13 -26
- package/elizaos/advanced_capabilities/actions/mute_room.py +13 -26
- package/elizaos/advanced_capabilities/actions/remove_contact.py +16 -2
- package/elizaos/advanced_capabilities/actions/roles.py +13 -27
- package/elizaos/advanced_capabilities/actions/schedule_follow_up.py +70 -15
- package/elizaos/advanced_capabilities/actions/search_contacts.py +17 -3
- package/elizaos/advanced_capabilities/actions/send_message.py +183 -50
- package/elizaos/advanced_capabilities/actions/settings.py +16 -2
- package/elizaos/advanced_capabilities/actions/unfollow_room.py +13 -26
- package/elizaos/advanced_capabilities/actions/unmute_room.py +13 -26
- package/elizaos/advanced_capabilities/actions/update_contact.py +16 -2
- package/elizaos/advanced_capabilities/actions/update_entity.py +16 -2
- package/elizaos/advanced_capabilities/evaluators/__init__.py +2 -9
- package/elizaos/advanced_capabilities/evaluators/reflection.py +3 -132
- package/elizaos/advanced_capabilities/evaluators/relationship_extraction.py +5 -201
- package/elizaos/advanced_capabilities/providers/__init__.py +1 -12
- package/elizaos/advanced_capabilities/providers/knowledge.py +24 -3
- package/elizaos/advanced_capabilities/services/__init__.py +2 -9
- package/elizaos/advanced_memory/actions/reset_session.py +11 -0
- package/elizaos/advanced_memory/evaluators/reflection.py +134 -0
- package/elizaos/advanced_memory/evaluators/relationship_extraction.py +203 -0
- package/elizaos/advanced_memory/memory_service.py +15 -17
- package/elizaos/advanced_memory/test_advanced_memory.py +357 -0
- package/elizaos/advanced_planning/actions/schedule_follow_up.py +222 -0
- package/elizaos/advanced_planning/planning_service.py +26 -14
- package/elizaos/basic_capabilities/__init__.py +0 -2
- package/elizaos/basic_capabilities/providers/__init__.py +0 -3
- package/elizaos/basic_capabilities/providers/actions.py +118 -29
- package/elizaos/basic_capabilities/providers/agent_settings.py +64 -0
- package/elizaos/basic_capabilities/providers/character.py +19 -21
- package/elizaos/basic_capabilities/providers/contacts.py +79 -0
- package/elizaos/basic_capabilities/providers/current_time.py +7 -4
- package/elizaos/basic_capabilities/providers/facts.py +87 -0
- package/elizaos/basic_capabilities/providers/follow_ups.py +117 -0
- package/elizaos/basic_capabilities/providers/knowledge.py +97 -0
- package/elizaos/basic_capabilities/providers/relationships.py +107 -0
- package/elizaos/basic_capabilities/providers/roles.py +96 -0
- package/elizaos/basic_capabilities/providers/settings.py +56 -0
- package/elizaos/basic_capabilities/providers/time.py +7 -4
- package/elizaos/bootstrap/__init__.py +21 -2
- package/elizaos/bootstrap/actions/schedule_follow_up.py +65 -7
- package/elizaos/bootstrap/actions/send_message.py +162 -15
- package/elizaos/bootstrap/autonomy/__init__.py +5 -1
- package/elizaos/bootstrap/autonomy/action.py +161 -0
- package/elizaos/bootstrap/autonomy/evaluators.py +217 -0
- package/elizaos/bootstrap/autonomy/service.py +238 -28
- package/elizaos/bootstrap/plugin.py +7 -0
- package/elizaos/bootstrap/providers/actions.py +118 -27
- package/elizaos/bootstrap/providers/agent_settings.py +1 -0
- package/elizaos/bootstrap/providers/attachments.py +1 -0
- package/elizaos/bootstrap/providers/capabilities.py +1 -0
- package/elizaos/bootstrap/providers/character.py +1 -0
- package/elizaos/bootstrap/providers/choice.py +1 -0
- package/elizaos/bootstrap/providers/contacts.py +1 -0
- package/elizaos/bootstrap/providers/current_time.py +8 -2
- package/elizaos/bootstrap/providers/entities.py +1 -0
- package/elizaos/bootstrap/providers/evaluators.py +1 -0
- package/elizaos/bootstrap/providers/facts.py +1 -0
- package/elizaos/bootstrap/providers/follow_ups.py +1 -0
- package/elizaos/bootstrap/providers/knowledge.py +27 -3
- package/elizaos/bootstrap/providers/providers_list.py +1 -0
- package/elizaos/bootstrap/providers/relationships.py +1 -0
- package/elizaos/bootstrap/providers/roles.py +1 -0
- package/elizaos/bootstrap/providers/settings.py +1 -0
- package/elizaos/bootstrap/providers/time.py +8 -4
- package/elizaos/bootstrap/providers/world.py +1 -0
- package/elizaos/bootstrap/services/embedding.py +156 -1
- package/elizaos/deterministic.py +193 -0
- package/elizaos/generated/__init__.py +1 -0
- package/elizaos/generated/action_docs.py +3181 -0
- package/elizaos/generated/spec_helpers.py +175 -0
- package/elizaos/media/mime.py +2 -2
- package/elizaos/media/search.py +23 -23
- package/elizaos/runtime.py +215 -57
- package/elizaos/services/message_service.py +175 -29
- package/elizaos/types/components.py +2 -2
- package/elizaos/types/generated/__init__.py +12 -0
- package/elizaos/types/generated/eliza/v1/agent_pb2.py +63 -0
- package/elizaos/types/generated/eliza/v1/agent_pb2.pyi +159 -0
- package/elizaos/types/generated/eliza/v1/components_pb2.py +65 -0
- package/elizaos/types/generated/eliza/v1/components_pb2.pyi +160 -0
- package/elizaos/types/generated/eliza/v1/database_pb2.py +78 -0
- package/elizaos/types/generated/eliza/v1/database_pb2.pyi +305 -0
- package/elizaos/types/generated/eliza/v1/environment_pb2.py +58 -0
- package/elizaos/types/generated/eliza/v1/environment_pb2.pyi +135 -0
- package/elizaos/types/generated/eliza/v1/events_pb2.py +82 -0
- package/elizaos/types/generated/eliza/v1/events_pb2.pyi +322 -0
- package/elizaos/types/generated/eliza/v1/ipc_pb2.py +113 -0
- package/elizaos/types/generated/eliza/v1/ipc_pb2.pyi +367 -0
- package/elizaos/types/generated/eliza/v1/knowledge_pb2.py +41 -0
- package/elizaos/types/generated/eliza/v1/knowledge_pb2.pyi +26 -0
- package/elizaos/types/generated/eliza/v1/memory_pb2.py +55 -0
- package/elizaos/types/generated/eliza/v1/memory_pb2.pyi +111 -0
- package/elizaos/types/generated/eliza/v1/message_service_pb2.py +48 -0
- package/elizaos/types/generated/eliza/v1/message_service_pb2.pyi +69 -0
- package/elizaos/types/generated/eliza/v1/messaging_pb2.py +51 -0
- package/elizaos/types/generated/eliza/v1/messaging_pb2.pyi +97 -0
- package/elizaos/types/generated/eliza/v1/model_pb2.py +84 -0
- package/elizaos/types/generated/eliza/v1/model_pb2.pyi +280 -0
- package/elizaos/types/generated/eliza/v1/payment_pb2.py +44 -0
- package/elizaos/types/generated/eliza/v1/payment_pb2.pyi +70 -0
- package/elizaos/types/generated/eliza/v1/plugin_pb2.py +68 -0
- package/elizaos/types/generated/eliza/v1/plugin_pb2.pyi +145 -0
- package/elizaos/types/generated/eliza/v1/primitives_pb2.py +48 -0
- package/elizaos/types/generated/eliza/v1/primitives_pb2.pyi +92 -0
- package/elizaos/types/generated/eliza/v1/prompts_pb2.py +52 -0
- package/elizaos/types/generated/eliza/v1/prompts_pb2.pyi +74 -0
- package/elizaos/types/generated/eliza/v1/service_interfaces_pb2.py +211 -0
- package/elizaos/types/generated/eliza/v1/service_interfaces_pb2.pyi +1296 -0
- package/elizaos/types/generated/eliza/v1/service_pb2.py +42 -0
- package/elizaos/types/generated/eliza/v1/service_pb2.pyi +69 -0
- package/elizaos/types/generated/eliza/v1/settings_pb2.py +58 -0
- package/elizaos/types/generated/eliza/v1/settings_pb2.pyi +85 -0
- package/elizaos/types/generated/eliza/v1/state_pb2.py +60 -0
- package/elizaos/types/generated/eliza/v1/state_pb2.pyi +114 -0
- package/elizaos/types/generated/eliza/v1/task_pb2.py +42 -0
- package/elizaos/types/generated/eliza/v1/task_pb2.pyi +58 -0
- package/elizaos/types/generated/eliza/v1/tee_pb2.py +52 -0
- package/elizaos/types/generated/eliza/v1/tee_pb2.pyi +90 -0
- package/elizaos/types/generated/eliza/v1/testing_pb2.py +39 -0
- package/elizaos/types/generated/eliza/v1/testing_pb2.pyi +23 -0
- package/elizaos/types/model.py +30 -0
- package/elizaos/types/runtime.py +6 -2
- package/elizaos/utils/validation.py +76 -0
- package/package.json +3 -2
- package/tests/test_action_parameters.py +2 -3
- package/tests/test_actions_provider_examples.py +58 -1
- package/tests/test_advanced_memory_behavior.py +0 -2
- package/tests/test_advanced_memory_flag.py +0 -2
- package/tests/test_advanced_planning_behavior.py +11 -5
- package/tests/test_async_embedding.py +124 -0
- package/tests/test_autonomy.py +24 -3
- package/tests/test_runtime.py +8 -17
- package/tests/test_schedule_follow_up_action.py +260 -0
- package/tests/test_send_message_action_targets.py +114 -0
- package/tests/test_settings_crypto.py +0 -2
- package/tests/test_validation.py +141 -0
- package/tests/verify_memory_architecture.py +192 -0
- package/uv.lock +1565 -0
- package/elizaos/basic_capabilities/providers/capabilities.py +0 -62
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
from google.protobuf import struct_pb2 as _struct_pb2
|
|
2
|
+
from google.protobuf.internal import containers as _containers
|
|
3
|
+
from google.protobuf import descriptor as _descriptor
|
|
4
|
+
from google.protobuf import message as _message
|
|
5
|
+
from collections.abc import Iterable as _Iterable, Mapping as _Mapping
|
|
6
|
+
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
|
7
|
+
|
|
8
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
9
|
+
|
|
10
|
+
class Component(_message.Message):
|
|
11
|
+
__slots__ = ("id", "entity_id", "agent_id", "room_id", "world_id", "source_entity_id", "type", "created_at", "data")
|
|
12
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
13
|
+
ENTITY_ID_FIELD_NUMBER: _ClassVar[int]
|
|
14
|
+
AGENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
15
|
+
ROOM_ID_FIELD_NUMBER: _ClassVar[int]
|
|
16
|
+
WORLD_ID_FIELD_NUMBER: _ClassVar[int]
|
|
17
|
+
SOURCE_ENTITY_ID_FIELD_NUMBER: _ClassVar[int]
|
|
18
|
+
TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
19
|
+
CREATED_AT_FIELD_NUMBER: _ClassVar[int]
|
|
20
|
+
DATA_FIELD_NUMBER: _ClassVar[int]
|
|
21
|
+
id: str
|
|
22
|
+
entity_id: str
|
|
23
|
+
agent_id: str
|
|
24
|
+
room_id: str
|
|
25
|
+
world_id: str
|
|
26
|
+
source_entity_id: str
|
|
27
|
+
type: str
|
|
28
|
+
created_at: int
|
|
29
|
+
data: _struct_pb2.Struct
|
|
30
|
+
def __init__(self, id: _Optional[str] = ..., entity_id: _Optional[str] = ..., agent_id: _Optional[str] = ..., room_id: _Optional[str] = ..., world_id: _Optional[str] = ..., source_entity_id: _Optional[str] = ..., type: _Optional[str] = ..., created_at: _Optional[int] = ..., data: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ...) -> None: ...
|
|
31
|
+
|
|
32
|
+
class Entity(_message.Message):
|
|
33
|
+
__slots__ = ("id", "names", "metadata", "agent_id", "components")
|
|
34
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
35
|
+
NAMES_FIELD_NUMBER: _ClassVar[int]
|
|
36
|
+
METADATA_FIELD_NUMBER: _ClassVar[int]
|
|
37
|
+
AGENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
38
|
+
COMPONENTS_FIELD_NUMBER: _ClassVar[int]
|
|
39
|
+
id: str
|
|
40
|
+
names: _containers.RepeatedScalarFieldContainer[str]
|
|
41
|
+
metadata: _struct_pb2.Struct
|
|
42
|
+
agent_id: str
|
|
43
|
+
components: _containers.RepeatedCompositeFieldContainer[Component]
|
|
44
|
+
def __init__(self, id: _Optional[str] = ..., names: _Optional[_Iterable[str]] = ..., metadata: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ..., agent_id: _Optional[str] = ..., components: _Optional[_Iterable[_Union[Component, _Mapping]]] = ...) -> None: ...
|
|
45
|
+
|
|
46
|
+
class WorldOwnership(_message.Message):
|
|
47
|
+
__slots__ = ("owner_id",)
|
|
48
|
+
OWNER_ID_FIELD_NUMBER: _ClassVar[int]
|
|
49
|
+
owner_id: str
|
|
50
|
+
def __init__(self, owner_id: _Optional[str] = ...) -> None: ...
|
|
51
|
+
|
|
52
|
+
class WorldMetadata(_message.Message):
|
|
53
|
+
__slots__ = ("ownership", "roles", "extra")
|
|
54
|
+
class RolesEntry(_message.Message):
|
|
55
|
+
__slots__ = ("key", "value")
|
|
56
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
|
57
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
58
|
+
key: str
|
|
59
|
+
value: str
|
|
60
|
+
def __init__(self, key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ...
|
|
61
|
+
OWNERSHIP_FIELD_NUMBER: _ClassVar[int]
|
|
62
|
+
ROLES_FIELD_NUMBER: _ClassVar[int]
|
|
63
|
+
EXTRA_FIELD_NUMBER: _ClassVar[int]
|
|
64
|
+
ownership: WorldOwnership
|
|
65
|
+
roles: _containers.ScalarMap[str, str]
|
|
66
|
+
extra: _struct_pb2.Struct
|
|
67
|
+
def __init__(self, ownership: _Optional[_Union[WorldOwnership, _Mapping]] = ..., roles: _Optional[_Mapping[str, str]] = ..., extra: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ...) -> None: ...
|
|
68
|
+
|
|
69
|
+
class World(_message.Message):
|
|
70
|
+
__slots__ = ("id", "name", "agent_id", "message_server_id", "metadata")
|
|
71
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
72
|
+
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
73
|
+
AGENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
74
|
+
MESSAGE_SERVER_ID_FIELD_NUMBER: _ClassVar[int]
|
|
75
|
+
METADATA_FIELD_NUMBER: _ClassVar[int]
|
|
76
|
+
id: str
|
|
77
|
+
name: str
|
|
78
|
+
agent_id: str
|
|
79
|
+
message_server_id: str
|
|
80
|
+
metadata: WorldMetadata
|
|
81
|
+
def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., agent_id: _Optional[str] = ..., message_server_id: _Optional[str] = ..., metadata: _Optional[_Union[WorldMetadata, _Mapping]] = ...) -> None: ...
|
|
82
|
+
|
|
83
|
+
class RoomMetadata(_message.Message):
|
|
84
|
+
__slots__ = ("values",)
|
|
85
|
+
VALUES_FIELD_NUMBER: _ClassVar[int]
|
|
86
|
+
values: _struct_pb2.Struct
|
|
87
|
+
def __init__(self, values: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ...) -> None: ...
|
|
88
|
+
|
|
89
|
+
class Room(_message.Message):
|
|
90
|
+
__slots__ = ("id", "name", "agent_id", "source", "type", "channel_id", "message_server_id", "world_id", "metadata")
|
|
91
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
92
|
+
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
93
|
+
AGENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
94
|
+
SOURCE_FIELD_NUMBER: _ClassVar[int]
|
|
95
|
+
TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
96
|
+
CHANNEL_ID_FIELD_NUMBER: _ClassVar[int]
|
|
97
|
+
MESSAGE_SERVER_ID_FIELD_NUMBER: _ClassVar[int]
|
|
98
|
+
WORLD_ID_FIELD_NUMBER: _ClassVar[int]
|
|
99
|
+
METADATA_FIELD_NUMBER: _ClassVar[int]
|
|
100
|
+
id: str
|
|
101
|
+
name: str
|
|
102
|
+
agent_id: str
|
|
103
|
+
source: str
|
|
104
|
+
type: str
|
|
105
|
+
channel_id: str
|
|
106
|
+
message_server_id: str
|
|
107
|
+
world_id: str
|
|
108
|
+
metadata: RoomMetadata
|
|
109
|
+
def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., agent_id: _Optional[str] = ..., source: _Optional[str] = ..., type: _Optional[str] = ..., channel_id: _Optional[str] = ..., message_server_id: _Optional[str] = ..., world_id: _Optional[str] = ..., metadata: _Optional[_Union[RoomMetadata, _Mapping]] = ...) -> None: ...
|
|
110
|
+
|
|
111
|
+
class Participant(_message.Message):
|
|
112
|
+
__slots__ = ("id", "entity")
|
|
113
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
114
|
+
ENTITY_FIELD_NUMBER: _ClassVar[int]
|
|
115
|
+
id: str
|
|
116
|
+
entity: Entity
|
|
117
|
+
def __init__(self, id: _Optional[str] = ..., entity: _Optional[_Union[Entity, _Mapping]] = ...) -> None: ...
|
|
118
|
+
|
|
119
|
+
class Relationship(_message.Message):
|
|
120
|
+
__slots__ = ("id", "source_entity_id", "target_entity_id", "agent_id", "tags", "metadata", "created_at")
|
|
121
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
122
|
+
SOURCE_ENTITY_ID_FIELD_NUMBER: _ClassVar[int]
|
|
123
|
+
TARGET_ENTITY_ID_FIELD_NUMBER: _ClassVar[int]
|
|
124
|
+
AGENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
125
|
+
TAGS_FIELD_NUMBER: _ClassVar[int]
|
|
126
|
+
METADATA_FIELD_NUMBER: _ClassVar[int]
|
|
127
|
+
CREATED_AT_FIELD_NUMBER: _ClassVar[int]
|
|
128
|
+
id: str
|
|
129
|
+
source_entity_id: str
|
|
130
|
+
target_entity_id: str
|
|
131
|
+
agent_id: str
|
|
132
|
+
tags: _containers.RepeatedScalarFieldContainer[str]
|
|
133
|
+
metadata: _struct_pb2.Struct
|
|
134
|
+
created_at: str
|
|
135
|
+
def __init__(self, id: _Optional[str] = ..., source_entity_id: _Optional[str] = ..., target_entity_id: _Optional[str] = ..., agent_id: _Optional[str] = ..., tags: _Optional[_Iterable[str]] = ..., metadata: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ..., created_at: _Optional[str] = ...) -> None: ...
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: eliza/v1/events.proto
|
|
5
|
+
# Protobuf Python Version: 6.33.5
|
|
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
|
+
33,
|
|
16
|
+
5,
|
|
17
|
+
'',
|
|
18
|
+
'eliza/v1/events.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from eliza.v1 import environment_pb2 as eliza_dot_v1_dot_environment__pb2
|
|
26
|
+
from eliza.v1 import memory_pb2 as eliza_dot_v1_dot_memory__pb2
|
|
27
|
+
from eliza.v1 import model_pb2 as eliza_dot_v1_dot_model__pb2
|
|
28
|
+
from eliza.v1 import primitives_pb2 as eliza_dot_v1_dot_primitives__pb2
|
|
29
|
+
from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x15\x65liza/v1/events.proto\x12\x08\x65liza.v1\x1a\x1a\x65liza/v1/environment.proto\x1a\x15\x65liza/v1/memory.proto\x1a\x14\x65liza/v1/model.proto\x1a\x19\x65liza/v1/primitives.proto\x1a\x1cgoogle/protobuf/struct.proto\"&\n\x0c\x45ventPayload\x12\x16\n\x06source\x18\x01 \x01(\tR\x06source\"\xa1\x01\n\x0cWorldPayload\x12\x16\n\x06source\x18\x01 \x01(\tR\x06source\x12%\n\x05world\x18\x02 \x01(\x0b\x32\x0f.eliza.v1.WorldR\x05world\x12$\n\x05rooms\x18\x03 \x03(\x0b\x32\x0e.eliza.v1.RoomR\x05rooms\x12,\n\x08\x65ntities\x18\x04 \x03(\x0b\x32\x10.eliza.v1.EntityR\x08\x65ntities\"\xe3\x01\n\rEntityPayload\x12\x16\n\x06source\x18\x01 \x01(\tR\x06source\x12\x1b\n\tentity_id\x18\x02 \x01(\tR\x08\x65ntityId\x12\x1e\n\x08world_id\x18\x03 \x01(\tH\x00R\x07worldId\x88\x01\x01\x12\x1c\n\x07room_id\x18\x04 \x01(\tH\x01R\x06roomId\x88\x01\x01\x12\x39\n\x08metadata\x18\x05 \x01(\x0b\x32\x18.eliza.v1.EntityMetadataH\x02R\x08metadata\x88\x01\x01\x42\x0b\n\t_world_idB\n\n\x08_room_idB\x0b\n\t_metadata\"\xb5\x01\n\x0e\x45ntityMetadata\x12\x1f\n\x0boriginal_id\x18\x01 \x01(\tR\noriginalId\x12\x1a\n\x08username\x18\x02 \x01(\tR\x08username\x12&\n\x0c\x64isplay_name\x18\x03 \x01(\tH\x00R\x0b\x64isplayName\x88\x01\x01\x12-\n\x05\x65xtra\x18\x04 \x01(\x0b\x32\x17.google.protobuf.StructR\x05\x65xtraB\x0f\n\r_display_name\"T\n\x0eMessagePayload\x12\x16\n\x06source\x18\x01 \x01(\tR\x06source\x12*\n\x07message\x18\x02 \x01(\x0b\x32\x10.eliza.v1.MemoryR\x07message\"\x8a\x01\n\x15\x43hannelClearedPayload\x12\x16\n\x06source\x18\x01 \x01(\tR\x06source\x12\x17\n\x07room_id\x18\x02 \x01(\tR\x06roomId\x12\x1d\n\nchannel_id\x18\x03 \x01(\tR\tchannelId\x12!\n\x0cmemory_count\x18\x04 \x01(\x05R\x0bmemoryCount\"t\n\rInvokePayload\x12\x16\n\x06source\x18\x01 \x01(\tR\x06source\x12\x19\n\x08world_id\x18\x02 \x01(\tR\x07worldId\x12\x17\n\x07user_id\x18\x03 \x01(\tR\x06userId\x12\x17\n\x07room_id\x18\x04 \x01(\tR\x06roomId\"\xe1\x02\n\x0fRunEventPayload\x12\x16\n\x06source\x18\x01 \x01(\tR\x06source\x12\x15\n\x06run_id\x18\x02 \x01(\tR\x05runId\x12\x1d\n\nmessage_id\x18\x03 \x01(\tR\tmessageId\x12\x17\n\x07room_id\x18\x04 \x01(\tR\x06roomId\x12\x1b\n\tentity_id\x18\x05 \x01(\tR\x08\x65ntityId\x12\x1d\n\nstart_time\x18\x06 \x01(\x03R\tstartTime\x12+\n\x06status\x18\x07 \x01(\x0e\x32\x13.eliza.v1.RunStatusR\x06status\x12\x1e\n\x08\x65nd_time\x18\x08 \x01(\x03H\x00R\x07\x65ndTime\x88\x01\x01\x12\x1f\n\x08\x64uration\x18\t \x01(\x03H\x01R\x08\x64uration\x88\x01\x01\x12\x19\n\x05\x65rror\x18\n \x01(\tH\x02R\x05\x65rror\x88\x01\x01\x42\x0b\n\t_end_timeB\x0b\n\t_durationB\x08\n\x06_error\"\xc0\x01\n\x12\x41\x63tionEventPayload\x12\x16\n\x06source\x18\x01 \x01(\tR\x06source\x12\x17\n\x07room_id\x18\x02 \x01(\tR\x06roomId\x12\x19\n\x08world_id\x18\x03 \x01(\tR\x07worldId\x12+\n\x07\x63ontent\x18\x04 \x01(\x0b\x32\x11.eliza.v1.ContentR\x07\x63ontent\x12\"\n\nmessage_id\x18\x05 \x01(\tH\x00R\tmessageId\x88\x01\x01\x42\r\n\x0b_message_id\"\x82\x02\n\x15\x45valuatorEventPayload\x12\x16\n\x06source\x18\x01 \x01(\tR\x06source\x12!\n\x0c\x65valuator_id\x18\x02 \x01(\tR\x0b\x65valuatorId\x12%\n\x0e\x65valuator_name\x18\x03 \x01(\tR\revaluatorName\x12\"\n\nstart_time\x18\x04 \x01(\x03H\x00R\tstartTime\x88\x01\x01\x12!\n\tcompleted\x18\x05 \x01(\x08H\x01R\tcompleted\x88\x01\x01\x12\x19\n\x05\x65rror\x18\x06 \x01(\tH\x02R\x05\x65rror\x88\x01\x01\x42\r\n\x0b_start_timeB\x0c\n\n_completedB\x08\n\x06_error\"_\n\x0fModelTokenUsage\x12\x16\n\x06prompt\x18\x01 \x01(\x05R\x06prompt\x12\x1e\n\ncompletion\x18\x02 \x01(\x05R\ncompletion\x12\x14\n\x05total\x18\x03 \x01(\x05R\x05total\"\xcb\x01\n\x11ModelEventPayload\x12\x16\n\x06source\x18\x01 \x01(\tR\x06source\x12\x1a\n\x08provider\x18\x02 \x01(\tR\x08provider\x12\'\n\x04type\x18\x03 \x01(\x0e\x32\x13.eliza.v1.ModelTypeR\x04type\x12\x16\n\x06prompt\x18\x04 \x01(\tR\x06prompt\x12\x36\n\x06tokens\x18\x05 \x01(\x0b\x32\x19.eliza.v1.ModelTokenUsageH\x00R\x06tokens\x88\x01\x01\x42\t\n\x07_tokens\"\xed\x02\n\x1a\x45mbeddingGenerationPayload\x12\x16\n\x06source\x18\x01 \x01(\tR\x06source\x12(\n\x06memory\x18\x02 \x01(\x0b\x32\x10.eliza.v1.MemoryR\x06memory\x12\x37\n\x08priority\x18\x03 \x01(\x0e\x32\x1b.eliza.v1.EmbeddingPriorityR\x08priority\x12$\n\x0bretry_count\x18\x04 \x01(\x05H\x00R\nretryCount\x88\x01\x01\x12$\n\x0bmax_retries\x18\x05 \x01(\x05H\x01R\nmaxRetries\x88\x01\x01\x12\x1c\n\tembedding\x18\x06 \x03(\x02R\tembedding\x12\x19\n\x05\x65rror\x18\x07 \x01(\tH\x02R\x05\x65rror\x88\x01\x01\x12\x1a\n\x06run_id\x18\x08 \x01(\tH\x03R\x05runId\x88\x01\x01\x42\x0e\n\x0c_retry_countB\x0e\n\x0c_max_retriesB\x08\n\x06_errorB\t\n\x07_run_id\"\xc8\x01\n\x10UIControlPayload\x12\x36\n\x06\x61\x63tion\x18\x01 \x01(\x0e\x32\x1e.eliza.v1.ControlMessageActionR\x06\x61\x63tion\x12\x1b\n\x06target\x18\x02 \x01(\tH\x00R\x06target\x88\x01\x01\x12\x1b\n\x06reason\x18\x03 \x01(\tH\x01R\x06reason\x88\x01\x01\x12\x1f\n\x08\x64uration\x18\x04 \x01(\x05H\x02R\x08\x64uration\x88\x01\x01\x42\t\n\x07_targetB\t\n\x07_reasonB\x0b\n\t_duration\"s\n\x0e\x43ontrolMessage\x12\x12\n\x04type\x18\x01 \x01(\tR\x04type\x12\x34\n\x07payload\x18\x02 \x01(\x0b\x32\x1a.eliza.v1.UIControlPayloadR\x07payload\x12\x17\n\x07room_id\x18\x03 \x01(\tR\x06roomId\"c\n\x15\x43ontrolMessagePayload\x12\x16\n\x06source\x18\x01 \x01(\tR\x06source\x12\x32\n\x07message\x18\x02 \x01(\x0b\x32\x18.eliza.v1.ControlMessageR\x07message*\xd9\x07\n\tEventType\x12\x1a\n\x16\x45VENT_TYPE_UNSPECIFIED\x10\x00\x12\x1b\n\x17\x45VENT_TYPE_WORLD_JOINED\x10\x01\x12\x1e\n\x1a\x45VENT_TYPE_WORLD_CONNECTED\x10\x02\x12\x19\n\x15\x45VENT_TYPE_WORLD_LEFT\x10\x03\x12\x1c\n\x18\x45VENT_TYPE_ENTITY_JOINED\x10\x04\x12\x1a\n\x16\x45VENT_TYPE_ENTITY_LEFT\x10\x05\x12\x1d\n\x19\x45VENT_TYPE_ENTITY_UPDATED\x10\x06\x12\x1a\n\x16\x45VENT_TYPE_ROOM_JOINED\x10\x07\x12\x18\n\x14\x45VENT_TYPE_ROOM_LEFT\x10\x08\x12\x1f\n\x1b\x45VENT_TYPE_MESSAGE_RECEIVED\x10\t\x12\x1b\n\x17\x45VENT_TYPE_MESSAGE_SENT\x10\n\x12\x1e\n\x1a\x45VENT_TYPE_MESSAGE_DELETED\x10\x0b\x12\x1e\n\x1a\x45VENT_TYPE_CHANNEL_CLEARED\x10\x0c\x12%\n!EVENT_TYPE_VOICE_MESSAGE_RECEIVED\x10\r\x12!\n\x1d\x45VENT_TYPE_VOICE_MESSAGE_SENT\x10\x0e\x12 \n\x1c\x45VENT_TYPE_REACTION_RECEIVED\x10\x0f\x12\x1d\n\x19\x45VENT_TYPE_POST_GENERATED\x10\x10\x12#\n\x1f\x45VENT_TYPE_INTERACTION_RECEIVED\x10\x11\x12\x1a\n\x16\x45VENT_TYPE_RUN_STARTED\x10\x12\x12\x18\n\x14\x45VENT_TYPE_RUN_ENDED\x10\x13\x12\x1a\n\x16\x45VENT_TYPE_RUN_TIMEOUT\x10\x14\x12\x1d\n\x19\x45VENT_TYPE_ACTION_STARTED\x10\x15\x12\x1f\n\x1b\x45VENT_TYPE_ACTION_COMPLETED\x10\x16\x12 \n\x1c\x45VENT_TYPE_EVALUATOR_STARTED\x10\x17\x12\"\n\x1e\x45VENT_TYPE_EVALUATOR_COMPLETED\x10\x18\x12\x19\n\x15\x45VENT_TYPE_MODEL_USED\x10\x19\x12-\n)EVENT_TYPE_EMBEDDING_GENERATION_REQUESTED\x10\x1a\x12-\n)EVENT_TYPE_EMBEDDING_GENERATION_COMPLETED\x10\x1b\x12*\n&EVENT_TYPE_EMBEDDING_GENERATION_FAILED\x10\x1c\x12\x1e\n\x1a\x45VENT_TYPE_CONTROL_MESSAGE\x10\x1d*\x83\x01\n\x0ePlatformPrefix\x12\x1f\n\x1bPLATFORM_PREFIX_UNSPECIFIED\x10\x00\x12\x1b\n\x17PLATFORM_PREFIX_DISCORD\x10\x01\x12\x1c\n\x18PLATFORM_PREFIX_TELEGRAM\x10\x02\x12\x15\n\x11PLATFORM_PREFIX_X\x10\x03*q\n\tRunStatus\x12\x1a\n\x16RUN_STATUS_UNSPECIFIED\x10\x00\x12\x16\n\x12RUN_STATUS_STARTED\x10\x01\x12\x18\n\x14RUN_STATUS_COMPLETED\x10\x02\x12\x16\n\x12RUN_STATUS_TIMEOUT\x10\x03*\x8f\x01\n\x11\x45mbeddingPriority\x12\"\n\x1e\x45MBEDDING_PRIORITY_UNSPECIFIED\x10\x00\x12\x1b\n\x17\x45MBEDDING_PRIORITY_HIGH\x10\x01\x12\x1d\n\x19\x45MBEDDING_PRIORITY_NORMAL\x10\x02\x12\x1a\n\x16\x45MBEDDING_PRIORITY_LOW\x10\x03*\x91\x01\n\x14\x43ontrolMessageAction\x12&\n\"CONTROL_MESSAGE_ACTION_UNSPECIFIED\x10\x00\x12(\n$CONTROL_MESSAGE_ACTION_DISABLE_INPUT\x10\x01\x12\'\n#CONTROL_MESSAGE_ACTION_ENABLE_INPUT\x10\x02\x42\x8e\x01\n\x0c\x63om.eliza.v1B\x0b\x45ventsProtoP\x01Z0github.com/elizaos/eliza/gen/go/eliza/v1;elizav1\xa2\x02\x03\x45XX\xaa\x02\x08\x45liza.V1\xca\x02\x08\x45liza\\V1\xe2\x02\x14\x45liza\\V1\\GPBMetadata\xea\x02\tEliza::V1b\x06proto3')
|
|
33
|
+
|
|
34
|
+
_globals = globals()
|
|
35
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
36
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'eliza.v1.events_pb2', _globals)
|
|
37
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
38
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
39
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\014com.eliza.v1B\013EventsProtoP\001Z0github.com/elizaos/eliza/gen/go/eliza/v1;elizav1\242\002\003EXX\252\002\010Eliza.V1\312\002\010Eliza\\V1\342\002\024Eliza\\V1\\GPBMetadata\352\002\tEliza::V1'
|
|
40
|
+
_globals['_EVENTTYPE']._serialized_start=3033
|
|
41
|
+
_globals['_EVENTTYPE']._serialized_end=4018
|
|
42
|
+
_globals['_PLATFORMPREFIX']._serialized_start=4021
|
|
43
|
+
_globals['_PLATFORMPREFIX']._serialized_end=4152
|
|
44
|
+
_globals['_RUNSTATUS']._serialized_start=4154
|
|
45
|
+
_globals['_RUNSTATUS']._serialized_end=4267
|
|
46
|
+
_globals['_EMBEDDINGPRIORITY']._serialized_start=4270
|
|
47
|
+
_globals['_EMBEDDINGPRIORITY']._serialized_end=4413
|
|
48
|
+
_globals['_CONTROLMESSAGEACTION']._serialized_start=4416
|
|
49
|
+
_globals['_CONTROLMESSAGEACTION']._serialized_end=4561
|
|
50
|
+
_globals['_EVENTPAYLOAD']._serialized_start=165
|
|
51
|
+
_globals['_EVENTPAYLOAD']._serialized_end=203
|
|
52
|
+
_globals['_WORLDPAYLOAD']._serialized_start=206
|
|
53
|
+
_globals['_WORLDPAYLOAD']._serialized_end=367
|
|
54
|
+
_globals['_ENTITYPAYLOAD']._serialized_start=370
|
|
55
|
+
_globals['_ENTITYPAYLOAD']._serialized_end=597
|
|
56
|
+
_globals['_ENTITYMETADATA']._serialized_start=600
|
|
57
|
+
_globals['_ENTITYMETADATA']._serialized_end=781
|
|
58
|
+
_globals['_MESSAGEPAYLOAD']._serialized_start=783
|
|
59
|
+
_globals['_MESSAGEPAYLOAD']._serialized_end=867
|
|
60
|
+
_globals['_CHANNELCLEAREDPAYLOAD']._serialized_start=870
|
|
61
|
+
_globals['_CHANNELCLEAREDPAYLOAD']._serialized_end=1008
|
|
62
|
+
_globals['_INVOKEPAYLOAD']._serialized_start=1010
|
|
63
|
+
_globals['_INVOKEPAYLOAD']._serialized_end=1126
|
|
64
|
+
_globals['_RUNEVENTPAYLOAD']._serialized_start=1129
|
|
65
|
+
_globals['_RUNEVENTPAYLOAD']._serialized_end=1482
|
|
66
|
+
_globals['_ACTIONEVENTPAYLOAD']._serialized_start=1485
|
|
67
|
+
_globals['_ACTIONEVENTPAYLOAD']._serialized_end=1677
|
|
68
|
+
_globals['_EVALUATOREVENTPAYLOAD']._serialized_start=1680
|
|
69
|
+
_globals['_EVALUATOREVENTPAYLOAD']._serialized_end=1938
|
|
70
|
+
_globals['_MODELTOKENUSAGE']._serialized_start=1940
|
|
71
|
+
_globals['_MODELTOKENUSAGE']._serialized_end=2035
|
|
72
|
+
_globals['_MODELEVENTPAYLOAD']._serialized_start=2038
|
|
73
|
+
_globals['_MODELEVENTPAYLOAD']._serialized_end=2241
|
|
74
|
+
_globals['_EMBEDDINGGENERATIONPAYLOAD']._serialized_start=2244
|
|
75
|
+
_globals['_EMBEDDINGGENERATIONPAYLOAD']._serialized_end=2609
|
|
76
|
+
_globals['_UICONTROLPAYLOAD']._serialized_start=2612
|
|
77
|
+
_globals['_UICONTROLPAYLOAD']._serialized_end=2812
|
|
78
|
+
_globals['_CONTROLMESSAGE']._serialized_start=2814
|
|
79
|
+
_globals['_CONTROLMESSAGE']._serialized_end=2929
|
|
80
|
+
_globals['_CONTROLMESSAGEPAYLOAD']._serialized_start=2931
|
|
81
|
+
_globals['_CONTROLMESSAGEPAYLOAD']._serialized_end=3030
|
|
82
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,322 @@
|
|
|
1
|
+
from eliza.v1 import environment_pb2 as _environment_pb2
|
|
2
|
+
from eliza.v1 import memory_pb2 as _memory_pb2
|
|
3
|
+
from eliza.v1 import model_pb2 as _model_pb2
|
|
4
|
+
from eliza.v1 import primitives_pb2 as _primitives_pb2
|
|
5
|
+
from google.protobuf import struct_pb2 as _struct_pb2
|
|
6
|
+
from google.protobuf.internal import containers as _containers
|
|
7
|
+
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
|
8
|
+
from google.protobuf import descriptor as _descriptor
|
|
9
|
+
from google.protobuf import message as _message
|
|
10
|
+
from collections.abc import Iterable as _Iterable, Mapping as _Mapping
|
|
11
|
+
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
|
12
|
+
|
|
13
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
14
|
+
|
|
15
|
+
class EventType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
16
|
+
__slots__ = ()
|
|
17
|
+
EVENT_TYPE_UNSPECIFIED: _ClassVar[EventType]
|
|
18
|
+
EVENT_TYPE_WORLD_JOINED: _ClassVar[EventType]
|
|
19
|
+
EVENT_TYPE_WORLD_CONNECTED: _ClassVar[EventType]
|
|
20
|
+
EVENT_TYPE_WORLD_LEFT: _ClassVar[EventType]
|
|
21
|
+
EVENT_TYPE_ENTITY_JOINED: _ClassVar[EventType]
|
|
22
|
+
EVENT_TYPE_ENTITY_LEFT: _ClassVar[EventType]
|
|
23
|
+
EVENT_TYPE_ENTITY_UPDATED: _ClassVar[EventType]
|
|
24
|
+
EVENT_TYPE_ROOM_JOINED: _ClassVar[EventType]
|
|
25
|
+
EVENT_TYPE_ROOM_LEFT: _ClassVar[EventType]
|
|
26
|
+
EVENT_TYPE_MESSAGE_RECEIVED: _ClassVar[EventType]
|
|
27
|
+
EVENT_TYPE_MESSAGE_SENT: _ClassVar[EventType]
|
|
28
|
+
EVENT_TYPE_MESSAGE_DELETED: _ClassVar[EventType]
|
|
29
|
+
EVENT_TYPE_CHANNEL_CLEARED: _ClassVar[EventType]
|
|
30
|
+
EVENT_TYPE_VOICE_MESSAGE_RECEIVED: _ClassVar[EventType]
|
|
31
|
+
EVENT_TYPE_VOICE_MESSAGE_SENT: _ClassVar[EventType]
|
|
32
|
+
EVENT_TYPE_REACTION_RECEIVED: _ClassVar[EventType]
|
|
33
|
+
EVENT_TYPE_POST_GENERATED: _ClassVar[EventType]
|
|
34
|
+
EVENT_TYPE_INTERACTION_RECEIVED: _ClassVar[EventType]
|
|
35
|
+
EVENT_TYPE_RUN_STARTED: _ClassVar[EventType]
|
|
36
|
+
EVENT_TYPE_RUN_ENDED: _ClassVar[EventType]
|
|
37
|
+
EVENT_TYPE_RUN_TIMEOUT: _ClassVar[EventType]
|
|
38
|
+
EVENT_TYPE_ACTION_STARTED: _ClassVar[EventType]
|
|
39
|
+
EVENT_TYPE_ACTION_COMPLETED: _ClassVar[EventType]
|
|
40
|
+
EVENT_TYPE_EVALUATOR_STARTED: _ClassVar[EventType]
|
|
41
|
+
EVENT_TYPE_EVALUATOR_COMPLETED: _ClassVar[EventType]
|
|
42
|
+
EVENT_TYPE_MODEL_USED: _ClassVar[EventType]
|
|
43
|
+
EVENT_TYPE_EMBEDDING_GENERATION_REQUESTED: _ClassVar[EventType]
|
|
44
|
+
EVENT_TYPE_EMBEDDING_GENERATION_COMPLETED: _ClassVar[EventType]
|
|
45
|
+
EVENT_TYPE_EMBEDDING_GENERATION_FAILED: _ClassVar[EventType]
|
|
46
|
+
EVENT_TYPE_CONTROL_MESSAGE: _ClassVar[EventType]
|
|
47
|
+
|
|
48
|
+
class PlatformPrefix(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
49
|
+
__slots__ = ()
|
|
50
|
+
PLATFORM_PREFIX_UNSPECIFIED: _ClassVar[PlatformPrefix]
|
|
51
|
+
PLATFORM_PREFIX_DISCORD: _ClassVar[PlatformPrefix]
|
|
52
|
+
PLATFORM_PREFIX_TELEGRAM: _ClassVar[PlatformPrefix]
|
|
53
|
+
PLATFORM_PREFIX_X: _ClassVar[PlatformPrefix]
|
|
54
|
+
|
|
55
|
+
class RunStatus(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
56
|
+
__slots__ = ()
|
|
57
|
+
RUN_STATUS_UNSPECIFIED: _ClassVar[RunStatus]
|
|
58
|
+
RUN_STATUS_STARTED: _ClassVar[RunStatus]
|
|
59
|
+
RUN_STATUS_COMPLETED: _ClassVar[RunStatus]
|
|
60
|
+
RUN_STATUS_TIMEOUT: _ClassVar[RunStatus]
|
|
61
|
+
|
|
62
|
+
class EmbeddingPriority(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
63
|
+
__slots__ = ()
|
|
64
|
+
EMBEDDING_PRIORITY_UNSPECIFIED: _ClassVar[EmbeddingPriority]
|
|
65
|
+
EMBEDDING_PRIORITY_HIGH: _ClassVar[EmbeddingPriority]
|
|
66
|
+
EMBEDDING_PRIORITY_NORMAL: _ClassVar[EmbeddingPriority]
|
|
67
|
+
EMBEDDING_PRIORITY_LOW: _ClassVar[EmbeddingPriority]
|
|
68
|
+
|
|
69
|
+
class ControlMessageAction(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
70
|
+
__slots__ = ()
|
|
71
|
+
CONTROL_MESSAGE_ACTION_UNSPECIFIED: _ClassVar[ControlMessageAction]
|
|
72
|
+
CONTROL_MESSAGE_ACTION_DISABLE_INPUT: _ClassVar[ControlMessageAction]
|
|
73
|
+
CONTROL_MESSAGE_ACTION_ENABLE_INPUT: _ClassVar[ControlMessageAction]
|
|
74
|
+
EVENT_TYPE_UNSPECIFIED: EventType
|
|
75
|
+
EVENT_TYPE_WORLD_JOINED: EventType
|
|
76
|
+
EVENT_TYPE_WORLD_CONNECTED: EventType
|
|
77
|
+
EVENT_TYPE_WORLD_LEFT: EventType
|
|
78
|
+
EVENT_TYPE_ENTITY_JOINED: EventType
|
|
79
|
+
EVENT_TYPE_ENTITY_LEFT: EventType
|
|
80
|
+
EVENT_TYPE_ENTITY_UPDATED: EventType
|
|
81
|
+
EVENT_TYPE_ROOM_JOINED: EventType
|
|
82
|
+
EVENT_TYPE_ROOM_LEFT: EventType
|
|
83
|
+
EVENT_TYPE_MESSAGE_RECEIVED: EventType
|
|
84
|
+
EVENT_TYPE_MESSAGE_SENT: EventType
|
|
85
|
+
EVENT_TYPE_MESSAGE_DELETED: EventType
|
|
86
|
+
EVENT_TYPE_CHANNEL_CLEARED: EventType
|
|
87
|
+
EVENT_TYPE_VOICE_MESSAGE_RECEIVED: EventType
|
|
88
|
+
EVENT_TYPE_VOICE_MESSAGE_SENT: EventType
|
|
89
|
+
EVENT_TYPE_REACTION_RECEIVED: EventType
|
|
90
|
+
EVENT_TYPE_POST_GENERATED: EventType
|
|
91
|
+
EVENT_TYPE_INTERACTION_RECEIVED: EventType
|
|
92
|
+
EVENT_TYPE_RUN_STARTED: EventType
|
|
93
|
+
EVENT_TYPE_RUN_ENDED: EventType
|
|
94
|
+
EVENT_TYPE_RUN_TIMEOUT: EventType
|
|
95
|
+
EVENT_TYPE_ACTION_STARTED: EventType
|
|
96
|
+
EVENT_TYPE_ACTION_COMPLETED: EventType
|
|
97
|
+
EVENT_TYPE_EVALUATOR_STARTED: EventType
|
|
98
|
+
EVENT_TYPE_EVALUATOR_COMPLETED: EventType
|
|
99
|
+
EVENT_TYPE_MODEL_USED: EventType
|
|
100
|
+
EVENT_TYPE_EMBEDDING_GENERATION_REQUESTED: EventType
|
|
101
|
+
EVENT_TYPE_EMBEDDING_GENERATION_COMPLETED: EventType
|
|
102
|
+
EVENT_TYPE_EMBEDDING_GENERATION_FAILED: EventType
|
|
103
|
+
EVENT_TYPE_CONTROL_MESSAGE: EventType
|
|
104
|
+
PLATFORM_PREFIX_UNSPECIFIED: PlatformPrefix
|
|
105
|
+
PLATFORM_PREFIX_DISCORD: PlatformPrefix
|
|
106
|
+
PLATFORM_PREFIX_TELEGRAM: PlatformPrefix
|
|
107
|
+
PLATFORM_PREFIX_X: PlatformPrefix
|
|
108
|
+
RUN_STATUS_UNSPECIFIED: RunStatus
|
|
109
|
+
RUN_STATUS_STARTED: RunStatus
|
|
110
|
+
RUN_STATUS_COMPLETED: RunStatus
|
|
111
|
+
RUN_STATUS_TIMEOUT: RunStatus
|
|
112
|
+
EMBEDDING_PRIORITY_UNSPECIFIED: EmbeddingPriority
|
|
113
|
+
EMBEDDING_PRIORITY_HIGH: EmbeddingPriority
|
|
114
|
+
EMBEDDING_PRIORITY_NORMAL: EmbeddingPriority
|
|
115
|
+
EMBEDDING_PRIORITY_LOW: EmbeddingPriority
|
|
116
|
+
CONTROL_MESSAGE_ACTION_UNSPECIFIED: ControlMessageAction
|
|
117
|
+
CONTROL_MESSAGE_ACTION_DISABLE_INPUT: ControlMessageAction
|
|
118
|
+
CONTROL_MESSAGE_ACTION_ENABLE_INPUT: ControlMessageAction
|
|
119
|
+
|
|
120
|
+
class EventPayload(_message.Message):
|
|
121
|
+
__slots__ = ("source",)
|
|
122
|
+
SOURCE_FIELD_NUMBER: _ClassVar[int]
|
|
123
|
+
source: str
|
|
124
|
+
def __init__(self, source: _Optional[str] = ...) -> None: ...
|
|
125
|
+
|
|
126
|
+
class WorldPayload(_message.Message):
|
|
127
|
+
__slots__ = ("source", "world", "rooms", "entities")
|
|
128
|
+
SOURCE_FIELD_NUMBER: _ClassVar[int]
|
|
129
|
+
WORLD_FIELD_NUMBER: _ClassVar[int]
|
|
130
|
+
ROOMS_FIELD_NUMBER: _ClassVar[int]
|
|
131
|
+
ENTITIES_FIELD_NUMBER: _ClassVar[int]
|
|
132
|
+
source: str
|
|
133
|
+
world: _environment_pb2.World
|
|
134
|
+
rooms: _containers.RepeatedCompositeFieldContainer[_environment_pb2.Room]
|
|
135
|
+
entities: _containers.RepeatedCompositeFieldContainer[_environment_pb2.Entity]
|
|
136
|
+
def __init__(self, source: _Optional[str] = ..., world: _Optional[_Union[_environment_pb2.World, _Mapping]] = ..., rooms: _Optional[_Iterable[_Union[_environment_pb2.Room, _Mapping]]] = ..., entities: _Optional[_Iterable[_Union[_environment_pb2.Entity, _Mapping]]] = ...) -> None: ...
|
|
137
|
+
|
|
138
|
+
class EntityPayload(_message.Message):
|
|
139
|
+
__slots__ = ("source", "entity_id", "world_id", "room_id", "metadata")
|
|
140
|
+
SOURCE_FIELD_NUMBER: _ClassVar[int]
|
|
141
|
+
ENTITY_ID_FIELD_NUMBER: _ClassVar[int]
|
|
142
|
+
WORLD_ID_FIELD_NUMBER: _ClassVar[int]
|
|
143
|
+
ROOM_ID_FIELD_NUMBER: _ClassVar[int]
|
|
144
|
+
METADATA_FIELD_NUMBER: _ClassVar[int]
|
|
145
|
+
source: str
|
|
146
|
+
entity_id: str
|
|
147
|
+
world_id: str
|
|
148
|
+
room_id: str
|
|
149
|
+
metadata: EntityMetadata
|
|
150
|
+
def __init__(self, source: _Optional[str] = ..., entity_id: _Optional[str] = ..., world_id: _Optional[str] = ..., room_id: _Optional[str] = ..., metadata: _Optional[_Union[EntityMetadata, _Mapping]] = ...) -> None: ...
|
|
151
|
+
|
|
152
|
+
class EntityMetadata(_message.Message):
|
|
153
|
+
__slots__ = ("original_id", "username", "display_name", "extra")
|
|
154
|
+
ORIGINAL_ID_FIELD_NUMBER: _ClassVar[int]
|
|
155
|
+
USERNAME_FIELD_NUMBER: _ClassVar[int]
|
|
156
|
+
DISPLAY_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
157
|
+
EXTRA_FIELD_NUMBER: _ClassVar[int]
|
|
158
|
+
original_id: str
|
|
159
|
+
username: str
|
|
160
|
+
display_name: str
|
|
161
|
+
extra: _struct_pb2.Struct
|
|
162
|
+
def __init__(self, original_id: _Optional[str] = ..., username: _Optional[str] = ..., display_name: _Optional[str] = ..., extra: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ...) -> None: ...
|
|
163
|
+
|
|
164
|
+
class MessagePayload(_message.Message):
|
|
165
|
+
__slots__ = ("source", "message")
|
|
166
|
+
SOURCE_FIELD_NUMBER: _ClassVar[int]
|
|
167
|
+
MESSAGE_FIELD_NUMBER: _ClassVar[int]
|
|
168
|
+
source: str
|
|
169
|
+
message: _memory_pb2.Memory
|
|
170
|
+
def __init__(self, source: _Optional[str] = ..., message: _Optional[_Union[_memory_pb2.Memory, _Mapping]] = ...) -> None: ...
|
|
171
|
+
|
|
172
|
+
class ChannelClearedPayload(_message.Message):
|
|
173
|
+
__slots__ = ("source", "room_id", "channel_id", "memory_count")
|
|
174
|
+
SOURCE_FIELD_NUMBER: _ClassVar[int]
|
|
175
|
+
ROOM_ID_FIELD_NUMBER: _ClassVar[int]
|
|
176
|
+
CHANNEL_ID_FIELD_NUMBER: _ClassVar[int]
|
|
177
|
+
MEMORY_COUNT_FIELD_NUMBER: _ClassVar[int]
|
|
178
|
+
source: str
|
|
179
|
+
room_id: str
|
|
180
|
+
channel_id: str
|
|
181
|
+
memory_count: int
|
|
182
|
+
def __init__(self, source: _Optional[str] = ..., room_id: _Optional[str] = ..., channel_id: _Optional[str] = ..., memory_count: _Optional[int] = ...) -> None: ...
|
|
183
|
+
|
|
184
|
+
class InvokePayload(_message.Message):
|
|
185
|
+
__slots__ = ("source", "world_id", "user_id", "room_id")
|
|
186
|
+
SOURCE_FIELD_NUMBER: _ClassVar[int]
|
|
187
|
+
WORLD_ID_FIELD_NUMBER: _ClassVar[int]
|
|
188
|
+
USER_ID_FIELD_NUMBER: _ClassVar[int]
|
|
189
|
+
ROOM_ID_FIELD_NUMBER: _ClassVar[int]
|
|
190
|
+
source: str
|
|
191
|
+
world_id: str
|
|
192
|
+
user_id: str
|
|
193
|
+
room_id: str
|
|
194
|
+
def __init__(self, source: _Optional[str] = ..., world_id: _Optional[str] = ..., user_id: _Optional[str] = ..., room_id: _Optional[str] = ...) -> None: ...
|
|
195
|
+
|
|
196
|
+
class RunEventPayload(_message.Message):
|
|
197
|
+
__slots__ = ("source", "run_id", "message_id", "room_id", "entity_id", "start_time", "status", "end_time", "duration", "error")
|
|
198
|
+
SOURCE_FIELD_NUMBER: _ClassVar[int]
|
|
199
|
+
RUN_ID_FIELD_NUMBER: _ClassVar[int]
|
|
200
|
+
MESSAGE_ID_FIELD_NUMBER: _ClassVar[int]
|
|
201
|
+
ROOM_ID_FIELD_NUMBER: _ClassVar[int]
|
|
202
|
+
ENTITY_ID_FIELD_NUMBER: _ClassVar[int]
|
|
203
|
+
START_TIME_FIELD_NUMBER: _ClassVar[int]
|
|
204
|
+
STATUS_FIELD_NUMBER: _ClassVar[int]
|
|
205
|
+
END_TIME_FIELD_NUMBER: _ClassVar[int]
|
|
206
|
+
DURATION_FIELD_NUMBER: _ClassVar[int]
|
|
207
|
+
ERROR_FIELD_NUMBER: _ClassVar[int]
|
|
208
|
+
source: str
|
|
209
|
+
run_id: str
|
|
210
|
+
message_id: str
|
|
211
|
+
room_id: str
|
|
212
|
+
entity_id: str
|
|
213
|
+
start_time: int
|
|
214
|
+
status: RunStatus
|
|
215
|
+
end_time: int
|
|
216
|
+
duration: int
|
|
217
|
+
error: str
|
|
218
|
+
def __init__(self, source: _Optional[str] = ..., run_id: _Optional[str] = ..., message_id: _Optional[str] = ..., room_id: _Optional[str] = ..., entity_id: _Optional[str] = ..., start_time: _Optional[int] = ..., status: _Optional[_Union[RunStatus, str]] = ..., end_time: _Optional[int] = ..., duration: _Optional[int] = ..., error: _Optional[str] = ...) -> None: ...
|
|
219
|
+
|
|
220
|
+
class ActionEventPayload(_message.Message):
|
|
221
|
+
__slots__ = ("source", "room_id", "world_id", "content", "message_id")
|
|
222
|
+
SOURCE_FIELD_NUMBER: _ClassVar[int]
|
|
223
|
+
ROOM_ID_FIELD_NUMBER: _ClassVar[int]
|
|
224
|
+
WORLD_ID_FIELD_NUMBER: _ClassVar[int]
|
|
225
|
+
CONTENT_FIELD_NUMBER: _ClassVar[int]
|
|
226
|
+
MESSAGE_ID_FIELD_NUMBER: _ClassVar[int]
|
|
227
|
+
source: str
|
|
228
|
+
room_id: str
|
|
229
|
+
world_id: str
|
|
230
|
+
content: _primitives_pb2.Content
|
|
231
|
+
message_id: str
|
|
232
|
+
def __init__(self, source: _Optional[str] = ..., room_id: _Optional[str] = ..., world_id: _Optional[str] = ..., content: _Optional[_Union[_primitives_pb2.Content, _Mapping]] = ..., message_id: _Optional[str] = ...) -> None: ...
|
|
233
|
+
|
|
234
|
+
class EvaluatorEventPayload(_message.Message):
|
|
235
|
+
__slots__ = ("source", "evaluator_id", "evaluator_name", "start_time", "completed", "error")
|
|
236
|
+
SOURCE_FIELD_NUMBER: _ClassVar[int]
|
|
237
|
+
EVALUATOR_ID_FIELD_NUMBER: _ClassVar[int]
|
|
238
|
+
EVALUATOR_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
239
|
+
START_TIME_FIELD_NUMBER: _ClassVar[int]
|
|
240
|
+
COMPLETED_FIELD_NUMBER: _ClassVar[int]
|
|
241
|
+
ERROR_FIELD_NUMBER: _ClassVar[int]
|
|
242
|
+
source: str
|
|
243
|
+
evaluator_id: str
|
|
244
|
+
evaluator_name: str
|
|
245
|
+
start_time: int
|
|
246
|
+
completed: bool
|
|
247
|
+
error: str
|
|
248
|
+
def __init__(self, source: _Optional[str] = ..., evaluator_id: _Optional[str] = ..., evaluator_name: _Optional[str] = ..., start_time: _Optional[int] = ..., completed: _Optional[bool] = ..., error: _Optional[str] = ...) -> None: ...
|
|
249
|
+
|
|
250
|
+
class ModelTokenUsage(_message.Message):
|
|
251
|
+
__slots__ = ("prompt", "completion", "total")
|
|
252
|
+
PROMPT_FIELD_NUMBER: _ClassVar[int]
|
|
253
|
+
COMPLETION_FIELD_NUMBER: _ClassVar[int]
|
|
254
|
+
TOTAL_FIELD_NUMBER: _ClassVar[int]
|
|
255
|
+
prompt: int
|
|
256
|
+
completion: int
|
|
257
|
+
total: int
|
|
258
|
+
def __init__(self, prompt: _Optional[int] = ..., completion: _Optional[int] = ..., total: _Optional[int] = ...) -> None: ...
|
|
259
|
+
|
|
260
|
+
class ModelEventPayload(_message.Message):
|
|
261
|
+
__slots__ = ("source", "provider", "type", "prompt", "tokens")
|
|
262
|
+
SOURCE_FIELD_NUMBER: _ClassVar[int]
|
|
263
|
+
PROVIDER_FIELD_NUMBER: _ClassVar[int]
|
|
264
|
+
TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
265
|
+
PROMPT_FIELD_NUMBER: _ClassVar[int]
|
|
266
|
+
TOKENS_FIELD_NUMBER: _ClassVar[int]
|
|
267
|
+
source: str
|
|
268
|
+
provider: str
|
|
269
|
+
type: _model_pb2.ModelType
|
|
270
|
+
prompt: str
|
|
271
|
+
tokens: ModelTokenUsage
|
|
272
|
+
def __init__(self, source: _Optional[str] = ..., provider: _Optional[str] = ..., type: _Optional[_Union[_model_pb2.ModelType, str]] = ..., prompt: _Optional[str] = ..., tokens: _Optional[_Union[ModelTokenUsage, _Mapping]] = ...) -> None: ...
|
|
273
|
+
|
|
274
|
+
class EmbeddingGenerationPayload(_message.Message):
|
|
275
|
+
__slots__ = ("source", "memory", "priority", "retry_count", "max_retries", "embedding", "error", "run_id")
|
|
276
|
+
SOURCE_FIELD_NUMBER: _ClassVar[int]
|
|
277
|
+
MEMORY_FIELD_NUMBER: _ClassVar[int]
|
|
278
|
+
PRIORITY_FIELD_NUMBER: _ClassVar[int]
|
|
279
|
+
RETRY_COUNT_FIELD_NUMBER: _ClassVar[int]
|
|
280
|
+
MAX_RETRIES_FIELD_NUMBER: _ClassVar[int]
|
|
281
|
+
EMBEDDING_FIELD_NUMBER: _ClassVar[int]
|
|
282
|
+
ERROR_FIELD_NUMBER: _ClassVar[int]
|
|
283
|
+
RUN_ID_FIELD_NUMBER: _ClassVar[int]
|
|
284
|
+
source: str
|
|
285
|
+
memory: _memory_pb2.Memory
|
|
286
|
+
priority: EmbeddingPriority
|
|
287
|
+
retry_count: int
|
|
288
|
+
max_retries: int
|
|
289
|
+
embedding: _containers.RepeatedScalarFieldContainer[float]
|
|
290
|
+
error: str
|
|
291
|
+
run_id: str
|
|
292
|
+
def __init__(self, source: _Optional[str] = ..., memory: _Optional[_Union[_memory_pb2.Memory, _Mapping]] = ..., priority: _Optional[_Union[EmbeddingPriority, str]] = ..., retry_count: _Optional[int] = ..., max_retries: _Optional[int] = ..., embedding: _Optional[_Iterable[float]] = ..., error: _Optional[str] = ..., run_id: _Optional[str] = ...) -> None: ...
|
|
293
|
+
|
|
294
|
+
class UIControlPayload(_message.Message):
|
|
295
|
+
__slots__ = ("action", "target", "reason", "duration")
|
|
296
|
+
ACTION_FIELD_NUMBER: _ClassVar[int]
|
|
297
|
+
TARGET_FIELD_NUMBER: _ClassVar[int]
|
|
298
|
+
REASON_FIELD_NUMBER: _ClassVar[int]
|
|
299
|
+
DURATION_FIELD_NUMBER: _ClassVar[int]
|
|
300
|
+
action: ControlMessageAction
|
|
301
|
+
target: str
|
|
302
|
+
reason: str
|
|
303
|
+
duration: int
|
|
304
|
+
def __init__(self, action: _Optional[_Union[ControlMessageAction, str]] = ..., target: _Optional[str] = ..., reason: _Optional[str] = ..., duration: _Optional[int] = ...) -> None: ...
|
|
305
|
+
|
|
306
|
+
class ControlMessage(_message.Message):
|
|
307
|
+
__slots__ = ("type", "payload", "room_id")
|
|
308
|
+
TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
309
|
+
PAYLOAD_FIELD_NUMBER: _ClassVar[int]
|
|
310
|
+
ROOM_ID_FIELD_NUMBER: _ClassVar[int]
|
|
311
|
+
type: str
|
|
312
|
+
payload: UIControlPayload
|
|
313
|
+
room_id: str
|
|
314
|
+
def __init__(self, type: _Optional[str] = ..., payload: _Optional[_Union[UIControlPayload, _Mapping]] = ..., room_id: _Optional[str] = ...) -> None: ...
|
|
315
|
+
|
|
316
|
+
class ControlMessagePayload(_message.Message):
|
|
317
|
+
__slots__ = ("source", "message")
|
|
318
|
+
SOURCE_FIELD_NUMBER: _ClassVar[int]
|
|
319
|
+
MESSAGE_FIELD_NUMBER: _ClassVar[int]
|
|
320
|
+
source: str
|
|
321
|
+
message: ControlMessage
|
|
322
|
+
def __init__(self, source: _Optional[str] = ..., message: _Optional[_Union[ControlMessage, _Mapping]] = ...) -> None: ...
|