@theway-ai/sdk 0.1.25 → 0.1.27
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theway-ai/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.27",
|
|
4
4
|
"description": "Typed TypeScript SDK for theway, a terminal-first local AI agent runtime: commands, sessions, DAG orchestration, events, settings, and health over gRPC.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
package/proto/session.proto
CHANGED
|
@@ -161,12 +161,36 @@ message FeedBlock {
|
|
|
161
161
|
PlainBlock plain = 6;
|
|
162
162
|
ToolCallBlock tool_call = 7;
|
|
163
163
|
ErrorBlock error = 8;
|
|
164
|
+
ContextBlock context = 9;
|
|
164
165
|
}
|
|
165
166
|
}
|
|
166
167
|
|
|
167
168
|
message UserBlock {
|
|
168
169
|
string text = 1;
|
|
169
170
|
optional string timestamp = 2; // RFC3339 / ISO-8601 with offset (UTC), null when absent.
|
|
171
|
+
repeated FeedAttachment attachments = 3; // Attachment chips, in the order the user added them.
|
|
172
|
+
optional FeedSource source = 4; // Origin of the round; absent on transcripts written before records.
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
// One attachment chip under a user block. `detail` is display-only.
|
|
176
|
+
message FeedAttachment {
|
|
177
|
+
string kind = 1; // "file" | "image"
|
|
178
|
+
string name = 2;
|
|
179
|
+
optional string detail = 3; // "src/foo.rs" | "image/png · 240 KiB"
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
// Origin of one user round.
|
|
183
|
+
message FeedSource {
|
|
184
|
+
string kind = 1; // "user" | "trigger" | "subagent" | "host"
|
|
185
|
+
optional string label = 2; // Producer reference: trigger id / subagent job id.
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
// Content injected before the model saw the turn (skill preamble, trigger patch,
|
|
189
|
+
// extension note), rendered as its own row.
|
|
190
|
+
message ContextBlock {
|
|
191
|
+
string label = 1; // "<source>:<name>" or "<source>"
|
|
192
|
+
string text = 2;
|
|
193
|
+
optional string timestamp = 3; // RFC3339 / ISO-8601 with offset (UTC), null when absent.
|
|
170
194
|
}
|
|
171
195
|
|
|
172
196
|
message AssistantBlock {
|