steerable-agent-protocol 0.2.0__tar.gz
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.
- steerable_agent_protocol-0.2.0/PKG-INFO +11 -0
- steerable_agent_protocol-0.2.0/README.md +3 -0
- steerable_agent_protocol-0.2.0/pyproject.toml +19 -0
- steerable_agent_protocol-0.2.0/setup.cfg +4 -0
- steerable_agent_protocol-0.2.0/src/steerable_agent_protocol/__init__.py +1 -0
- steerable_agent_protocol-0.2.0/src/steerable_agent_protocol/generated.py +159 -0
- steerable_agent_protocol-0.2.0/src/steerable_agent_protocol.egg-info/PKG-INFO +11 -0
- steerable_agent_protocol-0.2.0/src/steerable_agent_protocol.egg-info/SOURCES.txt +9 -0
- steerable_agent_protocol-0.2.0/src/steerable_agent_protocol.egg-info/dependency_links.txt +1 -0
- steerable_agent_protocol-0.2.0/src/steerable_agent_protocol.egg-info/requires.txt +1 -0
- steerable_agent_protocol-0.2.0/src/steerable_agent_protocol.egg-info/top_level.txt +1 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: steerable-agent-protocol
|
|
3
|
+
Version: 0.2.0
|
|
4
|
+
Summary: Steerable protocol schemas for Python
|
|
5
|
+
Requires-Python: >=3.10
|
|
6
|
+
Description-Content-Type: text/markdown
|
|
7
|
+
Requires-Dist: pydantic>=2.10.0
|
|
8
|
+
|
|
9
|
+
# steerable-agent-protocol
|
|
10
|
+
|
|
11
|
+
Python protocol schema package generated from `spec/`.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "steerable-agent-protocol"
|
|
3
|
+
version = "0.2.0"
|
|
4
|
+
description = "Steerable protocol schemas for Python"
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
requires-python = ">=3.10"
|
|
7
|
+
dependencies = [
|
|
8
|
+
"pydantic>=2.10.0",
|
|
9
|
+
]
|
|
10
|
+
|
|
11
|
+
[build-system]
|
|
12
|
+
requires = ["setuptools>=68", "wheel"]
|
|
13
|
+
build-backend = "setuptools.build_meta"
|
|
14
|
+
|
|
15
|
+
[tool.setuptools]
|
|
16
|
+
package-dir = {"" = "src"}
|
|
17
|
+
|
|
18
|
+
[tool.setuptools.packages.find]
|
|
19
|
+
where = ["src"]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
from .generated import *
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import Any
|
|
4
|
+
from pydantic import BaseModel
|
|
5
|
+
|
|
6
|
+
class ChatAgent(BaseModel):
|
|
7
|
+
id: str
|
|
8
|
+
slug: str | None = None
|
|
9
|
+
name: str
|
|
10
|
+
icon: str | None = None
|
|
11
|
+
color: str | None = None
|
|
12
|
+
description: str | None = None
|
|
13
|
+
rolePrompt: str | None = None
|
|
14
|
+
forbiddenPrompt: str | None = None
|
|
15
|
+
skillIds: list[Any] | None = None
|
|
16
|
+
allowExternalSkills: bool | None = None
|
|
17
|
+
isBuiltin: bool | None = None
|
|
18
|
+
isArchived: bool | None = None
|
|
19
|
+
sortOrder: int | None = None
|
|
20
|
+
createdAt: str
|
|
21
|
+
updatedAt: str
|
|
22
|
+
|
|
23
|
+
class ChatMessage(BaseModel):
|
|
24
|
+
id: str
|
|
25
|
+
chatId: str | None = None
|
|
26
|
+
role: str
|
|
27
|
+
content: str
|
|
28
|
+
agentId: str | None = None
|
|
29
|
+
toolCalls: list[Any] | None = None
|
|
30
|
+
toolResult: Any | None = None
|
|
31
|
+
createdAt: str
|
|
32
|
+
updatedAt: str | None = None
|
|
33
|
+
|
|
34
|
+
class SSEEvent(BaseModel):
|
|
35
|
+
type: str
|
|
36
|
+
event: str | None = None
|
|
37
|
+
content: str | None = None
|
|
38
|
+
hint: str | None = None
|
|
39
|
+
message: str | None = None
|
|
40
|
+
code: str | None = None
|
|
41
|
+
orchestrationGroupId: str | None = None
|
|
42
|
+
taskId: str | None = None
|
|
43
|
+
messageId: str | None = None
|
|
44
|
+
payload: dict[str, Any] | None = None
|
|
45
|
+
|
|
46
|
+
class AgentSession(BaseModel):
|
|
47
|
+
id: str | None = None
|
|
48
|
+
sessionId: str
|
|
49
|
+
userId: str
|
|
50
|
+
projectId: Any | None = None
|
|
51
|
+
chatId: str
|
|
52
|
+
currentStage: str
|
|
53
|
+
nextStage: Any | None = None
|
|
54
|
+
scenario: str | None = None
|
|
55
|
+
stageData: Any | None = None
|
|
56
|
+
isActive: bool
|
|
57
|
+
createdAt: str
|
|
58
|
+
updatedAt: str
|
|
59
|
+
|
|
60
|
+
class HarnessTrace(BaseModel):
|
|
61
|
+
traceId: str
|
|
62
|
+
userId: Any | None = None
|
|
63
|
+
chatId: Any | None = None
|
|
64
|
+
sessionId: Any | None = None
|
|
65
|
+
assistantMessageId: Any | None = None
|
|
66
|
+
status: str
|
|
67
|
+
durationMs: Any | None = None
|
|
68
|
+
hadError: bool
|
|
69
|
+
errorMessage: Any | None = None
|
|
70
|
+
eventCount: int
|
|
71
|
+
spanCount: int
|
|
72
|
+
totalTokens: Any | None = None
|
|
73
|
+
modelId: Any | None = None
|
|
74
|
+
startedAtMs: Any | None = None
|
|
75
|
+
createdAt: str
|
|
76
|
+
updatedAt: str
|
|
77
|
+
|
|
78
|
+
class TraceEvent(BaseModel):
|
|
79
|
+
id: str | None = None
|
|
80
|
+
traceId: str
|
|
81
|
+
kind: str
|
|
82
|
+
name: str
|
|
83
|
+
sequence: int
|
|
84
|
+
timestampMs: int
|
|
85
|
+
durationMs: Any | None = None
|
|
86
|
+
status: Any | None = None
|
|
87
|
+
payload: Any | None = None
|
|
88
|
+
createdAt: str | None = None
|
|
89
|
+
|
|
90
|
+
class TraceSpan(BaseModel):
|
|
91
|
+
spanId: str
|
|
92
|
+
traceId: Any | None = None
|
|
93
|
+
parentSpanId: Any | None = None
|
|
94
|
+
name: str
|
|
95
|
+
kind: str | None = None
|
|
96
|
+
startMs: int
|
|
97
|
+
endMs: Any | None = None
|
|
98
|
+
durationMs: Any | None = None
|
|
99
|
+
status: str
|
|
100
|
+
attrs: dict[str, Any] | None = None
|
|
101
|
+
|
|
102
|
+
class CommandSafetyPattern(BaseModel):
|
|
103
|
+
id: str
|
|
104
|
+
label: str
|
|
105
|
+
description: str
|
|
106
|
+
pattern: str
|
|
107
|
+
category: str
|
|
108
|
+
severity: str
|
|
109
|
+
platform: str
|
|
110
|
+
|
|
111
|
+
class SidecarError(BaseModel):
|
|
112
|
+
code: int
|
|
113
|
+
message: str
|
|
114
|
+
data: Any | None = None
|
|
115
|
+
kind: str | None = None
|
|
116
|
+
|
|
117
|
+
class SidecarHealth(BaseModel):
|
|
118
|
+
status: str
|
|
119
|
+
version: str
|
|
120
|
+
protocolVersion: str | None = None
|
|
121
|
+
uptimeMs: int
|
|
122
|
+
pid: int | None = None
|
|
123
|
+
pythonVersion: str | None = None
|
|
124
|
+
platform: str | None = None
|
|
125
|
+
loadedProviders: list[Any] | None = None
|
|
126
|
+
loadedTools: int | None = None
|
|
127
|
+
activeTraces: int | None = None
|
|
128
|
+
checks: dict[str, Any] | None = None
|
|
129
|
+
|
|
130
|
+
class SidecarNotification(BaseModel):
|
|
131
|
+
jsonrpc: str
|
|
132
|
+
method: str
|
|
133
|
+
params: Any | None = None
|
|
134
|
+
|
|
135
|
+
class SidecarRequest(BaseModel):
|
|
136
|
+
jsonrpc: str
|
|
137
|
+
id: Any
|
|
138
|
+
method: str
|
|
139
|
+
params: Any | None = None
|
|
140
|
+
|
|
141
|
+
class SidecarResponse(BaseModel):
|
|
142
|
+
jsonrpc: str
|
|
143
|
+
id: Any
|
|
144
|
+
result: Any | None = None
|
|
145
|
+
error: Any | None = None
|
|
146
|
+
|
|
147
|
+
class ToolCall(BaseModel):
|
|
148
|
+
id: str
|
|
149
|
+
name: str
|
|
150
|
+
arguments: dict[str, Any]
|
|
151
|
+
|
|
152
|
+
class ToolResult(BaseModel):
|
|
153
|
+
success: bool
|
|
154
|
+
terminal: bool | None = None
|
|
155
|
+
needsFollowup: bool | None = None
|
|
156
|
+
nextAction: str | None = None
|
|
157
|
+
message: str | None = None
|
|
158
|
+
error: str | None = None
|
|
159
|
+
data: dict[str, Any] | None = None
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: steerable-agent-protocol
|
|
3
|
+
Version: 0.2.0
|
|
4
|
+
Summary: Steerable protocol schemas for Python
|
|
5
|
+
Requires-Python: >=3.10
|
|
6
|
+
Description-Content-Type: text/markdown
|
|
7
|
+
Requires-Dist: pydantic>=2.10.0
|
|
8
|
+
|
|
9
|
+
# steerable-agent-protocol
|
|
10
|
+
|
|
11
|
+
Python protocol schema package generated from `spec/`.
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
README.md
|
|
2
|
+
pyproject.toml
|
|
3
|
+
src/steerable_agent_protocol/__init__.py
|
|
4
|
+
src/steerable_agent_protocol/generated.py
|
|
5
|
+
src/steerable_agent_protocol.egg-info/PKG-INFO
|
|
6
|
+
src/steerable_agent_protocol.egg-info/SOURCES.txt
|
|
7
|
+
src/steerable_agent_protocol.egg-info/dependency_links.txt
|
|
8
|
+
src/steerable_agent_protocol.egg-info/requires.txt
|
|
9
|
+
src/steerable_agent_protocol.egg-info/top_level.txt
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
pydantic>=2.10.0
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
steerable_agent_protocol
|