syrtis-python-client-internal 2.0.1__py3-none-any.whl → 2.2.0__py3-none-any.whl
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.
- syrtis_python_client_internal/common/generated_entities.py +14 -0
- syrtis_python_client_internal/common/generated_entity_schemas.py +7 -0
- syrtis_python_client_internal/common/generated_repositories.py +14 -0
- syrtis_python_client_internal/data/entity/agent_conversation.json +57 -0
- syrtis_python_client_internal/data/entity/agent_conversation_participant.json +41 -0
- syrtis_python_client_internal/data/entity/claude_conversation.json +65 -0
- syrtis_python_client_internal/data/entity/conversation.json +34 -0
- syrtis_python_client_internal/data/entity/conversation_message.json +15 -3
- syrtis_python_client_internal/data/entity/conversation_participant.json +30 -0
- syrtis_python_client_internal/data/entity/credential.json +96 -18
- syrtis_python_client_internal/data/entity/credential_parameter.json +18 -18
- syrtis_python_client_internal/data/entity/project.json +25 -0
- syrtis_python_client_internal/data/entity/storage.json +17 -16
- syrtis_python_client_internal/data/entity/syrtis_conversation.json +65 -0
- syrtis_python_client_internal/data/entity/user_conversation_participant.json +35 -0
- syrtis_python_client_internal/database/generated_repositories.py +14 -0
- syrtis_python_client_internal/database/repository/agent_conversation_participant_repository.py +11 -0
- syrtis_python_client_internal/database/repository/agent_conversation_repository.py +11 -0
- syrtis_python_client_internal/database/repository/claude_conversation_repository.py +11 -0
- syrtis_python_client_internal/database/repository/conversation_participant_repository.py +11 -0
- syrtis_python_client_internal/database/repository/conversation_repository.py +11 -0
- syrtis_python_client_internal/database/repository/generated/agent_conversation_participant_repository_generated.py +11 -0
- syrtis_python_client_internal/database/repository/generated/agent_conversation_repository_generated.py +11 -0
- syrtis_python_client_internal/database/repository/generated/claude_conversation_repository_generated.py +11 -0
- syrtis_python_client_internal/database/repository/generated/conversation_participant_repository_generated.py +11 -0
- syrtis_python_client_internal/database/repository/generated/conversation_repository_generated.py +11 -0
- syrtis_python_client_internal/database/repository/generated/syrtis_conversation_repository_generated.py +11 -0
- syrtis_python_client_internal/database/repository/generated/user_conversation_participant_repository_generated.py +11 -0
- syrtis_python_client_internal/database/repository/syrtis_conversation_repository.py +11 -0
- syrtis_python_client_internal/database/repository/user_conversation_participant_repository.py +11 -0
- syrtis_python_client_internal/entity/agent_conversation.py +13 -0
- syrtis_python_client_internal/entity/agent_conversation_participant.py +13 -0
- syrtis_python_client_internal/entity/claude_conversation.py +13 -0
- syrtis_python_client_internal/entity/conversation.py +13 -0
- syrtis_python_client_internal/entity/conversation_participant.py +13 -0
- syrtis_python_client_internal/entity/generated/agent_conversation_generated.py +7 -0
- syrtis_python_client_internal/entity/generated/agent_conversation_participant_generated.py +7 -0
- syrtis_python_client_internal/entity/generated/claude_conversation_generated.py +7 -0
- syrtis_python_client_internal/entity/generated/conversation_generated.py +7 -0
- syrtis_python_client_internal/entity/generated/conversation_participant_generated.py +7 -0
- syrtis_python_client_internal/entity/generated/credential_generated.py +15 -6
- syrtis_python_client_internal/entity/generated/credential_parameter_generated.py +3 -3
- syrtis_python_client_internal/entity/generated/project_generated.py +3 -0
- syrtis_python_client_internal/entity/generated/syrtis_conversation_generated.py +7 -0
- syrtis_python_client_internal/entity/generated/user_conversation_participant_generated.py +7 -0
- syrtis_python_client_internal/entity/syrtis_conversation.py +13 -0
- syrtis_python_client_internal/entity/user_conversation_participant.py +13 -0
- syrtis_python_client_internal/repository/agent_conversation_participant_repository.py +8 -0
- syrtis_python_client_internal/repository/agent_conversation_repository.py +8 -0
- syrtis_python_client_internal/repository/claude_conversation_repository.py +8 -0
- syrtis_python_client_internal/repository/conversation_participant_repository.py +8 -0
- syrtis_python_client_internal/repository/conversation_repository.py +8 -0
- syrtis_python_client_internal/repository/syrtis_conversation_repository.py +8 -0
- syrtis_python_client_internal/repository/user_conversation_participant_repository.py +8 -0
- {syrtis_python_client_internal-2.0.1.dist-info → syrtis_python_client_internal-2.2.0.dist-info}/METADATA +2 -2
- {syrtis_python_client_internal-2.0.1.dist-info → syrtis_python_client_internal-2.2.0.dist-info}/RECORD +58 -16
- {syrtis_python_client_internal-2.0.1.dist-info → syrtis_python_client_internal-2.2.0.dist-info}/WHEEL +0 -0
- {syrtis_python_client_internal-2.0.1.dist-info → syrtis_python_client_internal-2.2.0.dist-info}/entry_points.txt +0 -0
|
@@ -3,14 +3,19 @@ from __future__ import annotations
|
|
|
3
3
|
from syrtis_python_client.common.generated_entities import (
|
|
4
4
|
generated_entities as external_generated_entities,
|
|
5
5
|
)
|
|
6
|
+
from syrtis_python_client_internal.entity.agent_conversation import AgentConversation
|
|
7
|
+
from syrtis_python_client_internal.entity.agent_conversation_participant import AgentConversationParticipant
|
|
6
8
|
from syrtis_python_client_internal.entity.artifact import Artifact
|
|
7
9
|
from syrtis_python_client_internal.entity.chart_point import ChartPoint
|
|
10
|
+
from syrtis_python_client_internal.entity.claude_conversation import ClaudeConversation
|
|
8
11
|
from syrtis_python_client_internal.entity.claude_conversation_session import ClaudeConversationSession
|
|
9
12
|
from syrtis_python_client_internal.entity.configuration import Configuration
|
|
10
13
|
from syrtis_python_client_internal.entity.content_type import ContentType
|
|
14
|
+
from syrtis_python_client_internal.entity.conversation import Conversation
|
|
11
15
|
from syrtis_python_client_internal.entity.conversation_agent import ConversationAgent
|
|
12
16
|
from syrtis_python_client_internal.entity.conversation_message import ConversationMessage
|
|
13
17
|
from syrtis_python_client_internal.entity.conversation_model import ConversationModel
|
|
18
|
+
from syrtis_python_client_internal.entity.conversation_participant import ConversationParticipant
|
|
14
19
|
from syrtis_python_client_internal.entity.conversation_session import ConversationSession
|
|
15
20
|
from syrtis_python_client_internal.entity.credential import Credential
|
|
16
21
|
from syrtis_python_client_internal.entity.credential_parameter import CredentialParameter
|
|
@@ -48,6 +53,7 @@ from syrtis_python_client_internal.entity.slot_output_message import SlotOutputM
|
|
|
48
53
|
from syrtis_python_client_internal.entity.source import Source
|
|
49
54
|
from syrtis_python_client_internal.entity.storage import Storage
|
|
50
55
|
from syrtis_python_client_internal.entity.storage_content_type import StorageContentType
|
|
56
|
+
from syrtis_python_client_internal.entity.syrtis_conversation import SyrtisConversation
|
|
51
57
|
from syrtis_python_client_internal.entity.syrtis_conversation_session import SyrtisConversationSession
|
|
52
58
|
from syrtis_python_client_internal.entity.token import Token
|
|
53
59
|
from syrtis_python_client_internal.entity.trigger import Trigger
|
|
@@ -55,18 +61,24 @@ from syrtis_python_client_internal.entity.trigger_config import TriggerConfig
|
|
|
55
61
|
from syrtis_python_client_internal.entity.tunnel_session import TunnelSession
|
|
56
62
|
from syrtis_python_client_internal.entity.tunnel_session_variable import TunnelSessionVariable
|
|
57
63
|
from syrtis_python_client_internal.entity.user_config import UserConfig
|
|
64
|
+
from syrtis_python_client_internal.entity.user_conversation_participant import UserConversationParticipant
|
|
58
65
|
from syrtis_python_client_internal.common import generated_external_relations # noqa: F401
|
|
59
66
|
|
|
60
67
|
|
|
61
68
|
generated_entities = [
|
|
69
|
+
AgentConversation,
|
|
70
|
+
AgentConversationParticipant,
|
|
62
71
|
Artifact,
|
|
63
72
|
ChartPoint,
|
|
73
|
+
ClaudeConversation,
|
|
64
74
|
ClaudeConversationSession,
|
|
65
75
|
Configuration,
|
|
66
76
|
ContentType,
|
|
77
|
+
Conversation,
|
|
67
78
|
ConversationAgent,
|
|
68
79
|
ConversationMessage,
|
|
69
80
|
ConversationModel,
|
|
81
|
+
ConversationParticipant,
|
|
70
82
|
ConversationSession,
|
|
71
83
|
Credential,
|
|
72
84
|
CredentialParameter,
|
|
@@ -104,6 +116,7 @@ generated_entities = [
|
|
|
104
116
|
Source,
|
|
105
117
|
Storage,
|
|
106
118
|
StorageContentType,
|
|
119
|
+
SyrtisConversation,
|
|
107
120
|
SyrtisConversationSession,
|
|
108
121
|
Token,
|
|
109
122
|
Trigger,
|
|
@@ -111,5 +124,6 @@ generated_entities = [
|
|
|
111
124
|
TunnelSession,
|
|
112
125
|
TunnelSessionVariable,
|
|
113
126
|
UserConfig,
|
|
127
|
+
UserConversationParticipant,
|
|
114
128
|
]
|
|
115
129
|
all_entities = [*external_generated_entities, *generated_entities]
|
|
@@ -5,14 +5,19 @@ from importlib.resources import files
|
|
|
5
5
|
from typing import Any
|
|
6
6
|
|
|
7
7
|
ENTITY_SCHEMA_FILES = [
|
|
8
|
+
"agent_conversation.json",
|
|
9
|
+
"agent_conversation_participant.json",
|
|
8
10
|
"artifact.json",
|
|
9
11
|
"chart_point.json",
|
|
12
|
+
"claude_conversation.json",
|
|
10
13
|
"claude_conversation_session.json",
|
|
11
14
|
"configuration.json",
|
|
12
15
|
"content_type.json",
|
|
16
|
+
"conversation.json",
|
|
13
17
|
"conversation_agent.json",
|
|
14
18
|
"conversation_message.json",
|
|
15
19
|
"conversation_model.json",
|
|
20
|
+
"conversation_participant.json",
|
|
16
21
|
"conversation_session.json",
|
|
17
22
|
"credential.json",
|
|
18
23
|
"credential_parameter.json",
|
|
@@ -50,6 +55,7 @@ ENTITY_SCHEMA_FILES = [
|
|
|
50
55
|
"source.json",
|
|
51
56
|
"storage.json",
|
|
52
57
|
"storage_content_type.json",
|
|
58
|
+
"syrtis_conversation.json",
|
|
53
59
|
"syrtis_conversation_session.json",
|
|
54
60
|
"token.json",
|
|
55
61
|
"trigger.json",
|
|
@@ -57,6 +63,7 @@ ENTITY_SCHEMA_FILES = [
|
|
|
57
63
|
"tunnel_session.json",
|
|
58
64
|
"tunnel_session_variable.json",
|
|
59
65
|
"user_config.json",
|
|
66
|
+
"user_conversation_participant.json",
|
|
60
67
|
]
|
|
61
68
|
|
|
62
69
|
|
|
@@ -1,11 +1,16 @@
|
|
|
1
|
+
from syrtis_python_client_internal.repository.agent_conversation_participant_repository import AgentConversationParticipantRepository
|
|
2
|
+
from syrtis_python_client_internal.repository.agent_conversation_repository import AgentConversationRepository
|
|
1
3
|
from syrtis_python_client_internal.repository.artifact_repository import ArtifactRepository
|
|
2
4
|
from syrtis_python_client_internal.repository.chart_point_repository import ChartPointRepository
|
|
5
|
+
from syrtis_python_client_internal.repository.claude_conversation_repository import ClaudeConversationRepository
|
|
3
6
|
from syrtis_python_client_internal.repository.claude_conversation_session_repository import ClaudeConversationSessionRepository
|
|
4
7
|
from syrtis_python_client_internal.repository.configuration_repository import ConfigurationRepository
|
|
5
8
|
from syrtis_python_client_internal.repository.content_type_repository import ContentTypeRepository
|
|
6
9
|
from syrtis_python_client_internal.repository.conversation_agent_repository import ConversationAgentRepository
|
|
7
10
|
from syrtis_python_client_internal.repository.conversation_message_repository import ConversationMessageRepository
|
|
8
11
|
from syrtis_python_client_internal.repository.conversation_model_repository import ConversationModelRepository
|
|
12
|
+
from syrtis_python_client_internal.repository.conversation_participant_repository import ConversationParticipantRepository
|
|
13
|
+
from syrtis_python_client_internal.repository.conversation_repository import ConversationRepository
|
|
9
14
|
from syrtis_python_client_internal.repository.conversation_session_repository import ConversationSessionRepository
|
|
10
15
|
from syrtis_python_client_internal.repository.credential_parameter_repository import CredentialParameterRepository
|
|
11
16
|
from syrtis_python_client_internal.repository.credential_repository import CredentialRepository
|
|
@@ -43,6 +48,7 @@ from syrtis_python_client_internal.repository.slot_output_message_repository imp
|
|
|
43
48
|
from syrtis_python_client_internal.repository.source_repository import SourceRepository
|
|
44
49
|
from syrtis_python_client_internal.repository.storage_content_type_repository import StorageContentTypeRepository
|
|
45
50
|
from syrtis_python_client_internal.repository.storage_repository import StorageRepository
|
|
51
|
+
from syrtis_python_client_internal.repository.syrtis_conversation_repository import SyrtisConversationRepository
|
|
46
52
|
from syrtis_python_client_internal.repository.syrtis_conversation_session_repository import SyrtisConversationSessionRepository
|
|
47
53
|
from syrtis_python_client_internal.repository.token_repository import TokenRepository
|
|
48
54
|
from syrtis_python_client_internal.repository.trigger_config_repository import TriggerConfigRepository
|
|
@@ -50,17 +56,23 @@ from syrtis_python_client_internal.repository.trigger_repository import TriggerR
|
|
|
50
56
|
from syrtis_python_client_internal.repository.tunnel_session_repository import TunnelSessionRepository
|
|
51
57
|
from syrtis_python_client_internal.repository.tunnel_session_variable_repository import TunnelSessionVariableRepository
|
|
52
58
|
from syrtis_python_client_internal.repository.user_config_repository import UserConfigRepository
|
|
59
|
+
from syrtis_python_client_internal.repository.user_conversation_participant_repository import UserConversationParticipantRepository
|
|
53
60
|
|
|
54
61
|
|
|
55
62
|
generated_repositories = [
|
|
63
|
+
AgentConversationParticipantRepository,
|
|
64
|
+
AgentConversationRepository,
|
|
56
65
|
ArtifactRepository,
|
|
57
66
|
ChartPointRepository,
|
|
67
|
+
ClaudeConversationRepository,
|
|
58
68
|
ClaudeConversationSessionRepository,
|
|
59
69
|
ConfigurationRepository,
|
|
60
70
|
ContentTypeRepository,
|
|
61
71
|
ConversationAgentRepository,
|
|
62
72
|
ConversationMessageRepository,
|
|
63
73
|
ConversationModelRepository,
|
|
74
|
+
ConversationParticipantRepository,
|
|
75
|
+
ConversationRepository,
|
|
64
76
|
ConversationSessionRepository,
|
|
65
77
|
CredentialParameterRepository,
|
|
66
78
|
CredentialRepository,
|
|
@@ -98,6 +110,7 @@ generated_repositories = [
|
|
|
98
110
|
SourceRepository,
|
|
99
111
|
StorageContentTypeRepository,
|
|
100
112
|
StorageRepository,
|
|
113
|
+
SyrtisConversationRepository,
|
|
101
114
|
SyrtisConversationSessionRepository,
|
|
102
115
|
TokenRepository,
|
|
103
116
|
TriggerConfigRepository,
|
|
@@ -105,4 +118,5 @@ generated_repositories = [
|
|
|
105
118
|
TunnelSessionRepository,
|
|
106
119
|
TunnelSessionVariableRepository,
|
|
107
120
|
UserConfigRepository,
|
|
121
|
+
UserConversationParticipantRepository,
|
|
108
122
|
]
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "agent_conversation",
|
|
3
|
+
"extends": "Conversation",
|
|
4
|
+
"description": "A conversation an engine holds with an agent: which agent, the model it was\npinned to, how many turns it ran. What ties it to its engine — a transcript\non disk, a session on a remote server — is the engine's subclass's, each in\na table of its own. The agent takes part as a participant of its own\n(AgentConversationParticipant), beside the people talking to it.",
|
|
5
|
+
"properties": [
|
|
6
|
+
{
|
|
7
|
+
"name": "title",
|
|
8
|
+
"type": "string",
|
|
9
|
+
"nullable": true,
|
|
10
|
+
"default": null
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"name": "dateLastMessage",
|
|
14
|
+
"type": "DateTimeInterface",
|
|
15
|
+
"nullable": true,
|
|
16
|
+
"default": null
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"name": "participants",
|
|
20
|
+
"type": "Doctrine\\Common\\Collections\\Collection"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"name": "dateCreated",
|
|
24
|
+
"type": "DateTimeInterface",
|
|
25
|
+
"nullable": true,
|
|
26
|
+
"default": null
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "id",
|
|
30
|
+
"type": "Symfony\\Component\\Uid\\Uuid"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "agent",
|
|
34
|
+
"type": "relation",
|
|
35
|
+
"nullable": true,
|
|
36
|
+
"default": null,
|
|
37
|
+
"target": "conversation_agent"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"name": "agentName",
|
|
41
|
+
"type": "string",
|
|
42
|
+
"default": ""
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "model",
|
|
46
|
+
"type": "relation",
|
|
47
|
+
"nullable": true,
|
|
48
|
+
"default": null,
|
|
49
|
+
"target": "conversation_model"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"name": "turnCount",
|
|
53
|
+
"type": "int",
|
|
54
|
+
"default": 0
|
|
55
|
+
}
|
|
56
|
+
]
|
|
57
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "agent_conversation_participant",
|
|
3
|
+
"extends": "ConversationParticipant",
|
|
4
|
+
"description": "An agent taking part in a conversation: the record of it when the app holds\none, its qualified name always — what an agent a package ships is known by.",
|
|
5
|
+
"properties": [
|
|
6
|
+
{
|
|
7
|
+
"name": "conversation",
|
|
8
|
+
"type": "Wexample\\SymfonyConversation\\Entity\\Conversation"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"name": "role",
|
|
12
|
+
"type": "string",
|
|
13
|
+
"default": "member"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"name": "dateJoined",
|
|
17
|
+
"type": "DateTimeInterface"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"name": "dateLastRead",
|
|
21
|
+
"type": "DateTimeInterface",
|
|
22
|
+
"nullable": true,
|
|
23
|
+
"default": null
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "id",
|
|
27
|
+
"type": "Symfony\\Component\\Uid\\Uuid"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"name": "agent",
|
|
31
|
+
"type": "relation",
|
|
32
|
+
"nullable": true,
|
|
33
|
+
"default": null,
|
|
34
|
+
"target": "conversation_agent"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"name": "agentName",
|
|
38
|
+
"type": "string"
|
|
39
|
+
}
|
|
40
|
+
]
|
|
41
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "claude_conversation",
|
|
3
|
+
"extends": "AgentConversation",
|
|
4
|
+
"description": "A conversation held by Claude, projected from its record file.\nThe transcript belongs to the engine and stays out — `sdkId` is the thread\nback to it. Like an agent, the record is named by its own identity —\n`<uuid>.yml` — so the row takes that uuid and a file that is gone leaves no\nrow behind.",
|
|
5
|
+
"properties": [
|
|
6
|
+
{
|
|
7
|
+
"name": "agent",
|
|
8
|
+
"type": "Wexample\\SymfonyAiConversation\\Entity\\ConversationAgent",
|
|
9
|
+
"nullable": true,
|
|
10
|
+
"default": null
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"name": "agentName",
|
|
14
|
+
"type": "string",
|
|
15
|
+
"default": ""
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"name": "model",
|
|
19
|
+
"type": "Wexample\\SymfonyAiConversation\\Entity\\ConversationModel",
|
|
20
|
+
"nullable": true,
|
|
21
|
+
"default": null
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "turnCount",
|
|
25
|
+
"type": "int",
|
|
26
|
+
"default": 0
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "title",
|
|
30
|
+
"type": "string",
|
|
31
|
+
"nullable": true,
|
|
32
|
+
"default": null
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"name": "dateLastMessage",
|
|
36
|
+
"type": "DateTimeInterface",
|
|
37
|
+
"nullable": true,
|
|
38
|
+
"default": null
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"name": "participants",
|
|
42
|
+
"type": "Doctrine\\Common\\Collections\\Collection"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "dateCreated",
|
|
46
|
+
"type": "DateTimeInterface",
|
|
47
|
+
"nullable": true,
|
|
48
|
+
"default": null
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"name": "id",
|
|
52
|
+
"type": "Symfony\\Component\\Uid\\Uuid"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"name": "path",
|
|
56
|
+
"type": "string"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"name": "sdkId",
|
|
60
|
+
"type": "string",
|
|
61
|
+
"nullable": true,
|
|
62
|
+
"default": null
|
|
63
|
+
}
|
|
64
|
+
]
|
|
65
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "conversation",
|
|
3
|
+
"description": "A conversation held in the application: who takes part in it — people,\nagents —, and when it last spoke. What it is held for — a project, a\nsession on a remote engine — is the subclass's, each in a table of its own\njoined to this one; the root is the conversation between people, as is.\nIt is the participants', and theirs alone: read, written in and followed\nlive by them (ConversationVoter).",
|
|
4
|
+
"properties": [
|
|
5
|
+
{
|
|
6
|
+
"name": "dateCreated",
|
|
7
|
+
"type": "DateTimeInterface",
|
|
8
|
+
"nullable": true,
|
|
9
|
+
"default": null
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"name": "id",
|
|
13
|
+
"type": "Symfony\\Component\\Uid\\Uuid"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"name": "title",
|
|
17
|
+
"type": "string",
|
|
18
|
+
"nullable": true,
|
|
19
|
+
"default": null
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"name": "dateLastMessage",
|
|
23
|
+
"type": "DateTimeInterface",
|
|
24
|
+
"nullable": true,
|
|
25
|
+
"default": null
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "participants",
|
|
29
|
+
"type": "collection",
|
|
30
|
+
"description": "ConversationParticipant>",
|
|
31
|
+
"target": "conversation_participant"
|
|
32
|
+
}
|
|
33
|
+
]
|
|
34
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "conversation_message",
|
|
3
|
-
"description": "One
|
|
3
|
+
"description": "One line of a conversation: who wrote it, what it says, when, whom it names.\nIts author is a participant — a person, an agent —, none for what the\nconversation says of itself (`system`). Its type says what the line is\nrather than who wrote it: words (`text`), a failure (`error`), a tool called\nor answered (`tool`, its body json). `providerMessageIdentifier` is what an\nengine calls the line, unique so that the same line received twice is\nwritten once.",
|
|
4
4
|
"properties": [
|
|
5
5
|
{
|
|
6
6
|
"name": "body",
|
|
@@ -25,9 +25,21 @@
|
|
|
25
25
|
"type": "Symfony\\Component\\Uid\\Uuid"
|
|
26
26
|
},
|
|
27
27
|
{
|
|
28
|
-
"name": "
|
|
28
|
+
"name": "conversation",
|
|
29
29
|
"type": "relation",
|
|
30
|
-
"target": "
|
|
30
|
+
"target": "conversation"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "author",
|
|
34
|
+
"type": "relation",
|
|
35
|
+
"nullable": true,
|
|
36
|
+
"default": null,
|
|
37
|
+
"target": "conversation_participant"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"name": "mentions",
|
|
41
|
+
"type": "Collection",
|
|
42
|
+
"description": "ConversationParticipant> the participants it names"
|
|
31
43
|
},
|
|
32
44
|
{
|
|
33
45
|
"name": "providerMessageIdentifier",
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "conversation_participant",
|
|
3
|
+
"description": "Someone taking part in a conversation: a person (UserConversationParticipant),\nan agent (symfony-ai-conversation), each kind in a table of its own joined\nto this one. What every kind has: the conversation, the part it plays, when\nit joined, and what it last read — where « new messages » begins for it.",
|
|
4
|
+
"properties": [
|
|
5
|
+
{
|
|
6
|
+
"name": "id",
|
|
7
|
+
"type": "Symfony\\Component\\Uid\\Uuid"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"name": "conversation",
|
|
11
|
+
"type": "relation",
|
|
12
|
+
"target": "conversation"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"name": "role",
|
|
16
|
+
"type": "string",
|
|
17
|
+
"default": null
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"name": "dateJoined",
|
|
21
|
+
"type": "DateTimeInterface"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "dateLastRead",
|
|
25
|
+
"type": "DateTimeInterface",
|
|
26
|
+
"nullable": true,
|
|
27
|
+
"default": null
|
|
28
|
+
}
|
|
29
|
+
]
|
|
30
|
+
}
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "credential",
|
|
3
|
+
"description": "A connection the platform opens (symfony-wallet): its types are declared in\n`wexample_symfony_wallet.types`, its last test written by the core\n(CheckupService).",
|
|
3
4
|
"properties": [
|
|
4
5
|
{
|
|
5
|
-
"name": "
|
|
6
|
+
"name": "secureId",
|
|
6
7
|
"type": "string",
|
|
7
|
-
"nullable": true,
|
|
8
|
-
"default": null,
|
|
9
8
|
"orm": {
|
|
10
9
|
"kind": "field",
|
|
11
|
-
"column": "
|
|
10
|
+
"column": "secure_id",
|
|
12
11
|
"type": "string",
|
|
13
12
|
"nullable": false,
|
|
14
13
|
"unique": false,
|
|
@@ -17,6 +16,53 @@
|
|
|
17
16
|
"length": 255
|
|
18
17
|
}
|
|
19
18
|
},
|
|
19
|
+
{
|
|
20
|
+
"name": "checkStatus",
|
|
21
|
+
"type": "string",
|
|
22
|
+
"nullable": true,
|
|
23
|
+
"default": null,
|
|
24
|
+
"orm": {
|
|
25
|
+
"kind": "field",
|
|
26
|
+
"column": "check_status",
|
|
27
|
+
"type": "string",
|
|
28
|
+
"nullable": true,
|
|
29
|
+
"unique": false,
|
|
30
|
+
"id": false,
|
|
31
|
+
"generated": false,
|
|
32
|
+
"length": 16
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "checkMessage",
|
|
37
|
+
"type": "string",
|
|
38
|
+
"nullable": true,
|
|
39
|
+
"default": null,
|
|
40
|
+
"orm": {
|
|
41
|
+
"kind": "field",
|
|
42
|
+
"column": "check_message",
|
|
43
|
+
"type": "text",
|
|
44
|
+
"nullable": true,
|
|
45
|
+
"unique": false,
|
|
46
|
+
"id": false,
|
|
47
|
+
"generated": false
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"name": "checkedAt",
|
|
52
|
+
"type": "relation",
|
|
53
|
+
"nullable": true,
|
|
54
|
+
"default": null,
|
|
55
|
+
"target": "date_time_immutable",
|
|
56
|
+
"orm": {
|
|
57
|
+
"kind": "field",
|
|
58
|
+
"column": "checked_at",
|
|
59
|
+
"type": "datetime_immutable",
|
|
60
|
+
"nullable": true,
|
|
61
|
+
"unique": false,
|
|
62
|
+
"id": false,
|
|
63
|
+
"generated": false
|
|
64
|
+
}
|
|
65
|
+
},
|
|
20
66
|
{
|
|
21
67
|
"name": "dateCreated",
|
|
22
68
|
"type": "DateTimeInterface",
|
|
@@ -33,33 +79,35 @@
|
|
|
33
79
|
}
|
|
34
80
|
},
|
|
35
81
|
{
|
|
36
|
-
"name": "
|
|
82
|
+
"name": "title",
|
|
37
83
|
"type": "string",
|
|
38
84
|
"nullable": true,
|
|
39
85
|
"default": null,
|
|
40
86
|
"orm": {
|
|
41
87
|
"kind": "field",
|
|
42
|
-
"column": "
|
|
88
|
+
"column": "title",
|
|
43
89
|
"type": "string",
|
|
44
90
|
"nullable": false,
|
|
45
91
|
"unique": false,
|
|
46
92
|
"id": false,
|
|
47
93
|
"generated": false,
|
|
48
|
-
"length":
|
|
94
|
+
"length": 255
|
|
49
95
|
}
|
|
50
96
|
},
|
|
51
97
|
{
|
|
52
|
-
"name": "
|
|
98
|
+
"name": "type",
|
|
53
99
|
"type": "string",
|
|
100
|
+
"nullable": true,
|
|
101
|
+
"default": null,
|
|
54
102
|
"orm": {
|
|
55
103
|
"kind": "field",
|
|
56
|
-
"column": "
|
|
104
|
+
"column": "type",
|
|
57
105
|
"type": "string",
|
|
58
106
|
"nullable": false,
|
|
59
107
|
"unique": false,
|
|
60
108
|
"id": false,
|
|
61
109
|
"generated": false,
|
|
62
|
-
"length":
|
|
110
|
+
"length": 120
|
|
63
111
|
}
|
|
64
112
|
},
|
|
65
113
|
{
|
|
@@ -91,6 +139,7 @@
|
|
|
91
139
|
"is_owning_side": false,
|
|
92
140
|
"orphan_removal": true,
|
|
93
141
|
"cascade": [
|
|
142
|
+
"persist",
|
|
94
143
|
"remove"
|
|
95
144
|
],
|
|
96
145
|
"fetch": 2
|
|
@@ -115,9 +164,9 @@
|
|
|
115
164
|
"id": true,
|
|
116
165
|
"generated": false
|
|
117
166
|
},
|
|
118
|
-
"
|
|
167
|
+
"secureId": {
|
|
119
168
|
"kind": "field",
|
|
120
|
-
"column": "
|
|
169
|
+
"column": "secure_id",
|
|
121
170
|
"type": "string",
|
|
122
171
|
"nullable": false,
|
|
123
172
|
"unique": false,
|
|
@@ -125,6 +174,34 @@
|
|
|
125
174
|
"generated": false,
|
|
126
175
|
"length": 255
|
|
127
176
|
},
|
|
177
|
+
"checkStatus": {
|
|
178
|
+
"kind": "field",
|
|
179
|
+
"column": "check_status",
|
|
180
|
+
"type": "string",
|
|
181
|
+
"nullable": true,
|
|
182
|
+
"unique": false,
|
|
183
|
+
"id": false,
|
|
184
|
+
"generated": false,
|
|
185
|
+
"length": 16
|
|
186
|
+
},
|
|
187
|
+
"checkMessage": {
|
|
188
|
+
"kind": "field",
|
|
189
|
+
"column": "check_message",
|
|
190
|
+
"type": "text",
|
|
191
|
+
"nullable": true,
|
|
192
|
+
"unique": false,
|
|
193
|
+
"id": false,
|
|
194
|
+
"generated": false
|
|
195
|
+
},
|
|
196
|
+
"checkedAt": {
|
|
197
|
+
"kind": "field",
|
|
198
|
+
"column": "checked_at",
|
|
199
|
+
"type": "datetime_immutable",
|
|
200
|
+
"nullable": true,
|
|
201
|
+
"unique": false,
|
|
202
|
+
"id": false,
|
|
203
|
+
"generated": false
|
|
204
|
+
},
|
|
128
205
|
"dateCreated": {
|
|
129
206
|
"kind": "field",
|
|
130
207
|
"column": "date_created",
|
|
@@ -134,25 +211,25 @@
|
|
|
134
211
|
"id": false,
|
|
135
212
|
"generated": false
|
|
136
213
|
},
|
|
137
|
-
"
|
|
214
|
+
"title": {
|
|
138
215
|
"kind": "field",
|
|
139
|
-
"column": "
|
|
216
|
+
"column": "title",
|
|
140
217
|
"type": "string",
|
|
141
218
|
"nullable": false,
|
|
142
219
|
"unique": false,
|
|
143
220
|
"id": false,
|
|
144
221
|
"generated": false,
|
|
145
|
-
"length":
|
|
222
|
+
"length": 255
|
|
146
223
|
},
|
|
147
|
-
"
|
|
224
|
+
"type": {
|
|
148
225
|
"kind": "field",
|
|
149
|
-
"column": "
|
|
226
|
+
"column": "type",
|
|
150
227
|
"type": "string",
|
|
151
228
|
"nullable": false,
|
|
152
229
|
"unique": false,
|
|
153
230
|
"id": false,
|
|
154
231
|
"generated": false,
|
|
155
|
-
"length":
|
|
232
|
+
"length": 120
|
|
156
233
|
}
|
|
157
234
|
},
|
|
158
235
|
"associations": {
|
|
@@ -166,6 +243,7 @@
|
|
|
166
243
|
"is_owning_side": false,
|
|
167
244
|
"orphan_removal": true,
|
|
168
245
|
"cascade": [
|
|
246
|
+
"persist",
|
|
169
247
|
"remove"
|
|
170
248
|
],
|
|
171
249
|
"fetch": 2
|