@superdurable/dex-agents 0.1.0 → 0.2.0

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.
Files changed (149) hide show
  1. package/README.md +1568 -62
  2. package/dist/src/agent-built-in-tools.d.ts +81 -0
  3. package/dist/src/agent-built-in-tools.js +246 -0
  4. package/dist/src/agent-built-in-tools.js.map +1 -0
  5. package/dist/src/agent-context-compaction.d.ts +108 -0
  6. package/dist/src/agent-context-compaction.js +39 -0
  7. package/dist/src/agent-context-compaction.js.map +1 -0
  8. package/dist/src/agent-framework-runner.d.ts +456 -16
  9. package/dist/src/agent-framework-runner.js +4 -3
  10. package/dist/src/agent-framework-runner.js.map +1 -1
  11. package/dist/src/agent-plans.d.ts +48 -0
  12. package/dist/src/agent-plans.js +86 -0
  13. package/dist/src/agent-plans.js.map +1 -0
  14. package/dist/src/agent-session-cancellation-steps.d.ts +28 -0
  15. package/dist/src/agent-session-cancellation-steps.js +154 -0
  16. package/dist/src/agent-session-cancellation-steps.js.map +1 -0
  17. package/dist/src/agent-session-codecs.d.ts +65 -4
  18. package/dist/src/agent-session-codecs.js +342 -8
  19. package/dist/src/agent-session-codecs.js.map +1 -1
  20. package/dist/src/agent-session-flow.d.ts +295 -27
  21. package/dist/src/agent-session-flow.js +368 -21
  22. package/dist/src/agent-session-flow.js.map +1 -1
  23. package/dist/src/agent-session-persistence.d.ts +81 -4
  24. package/dist/src/agent-session-persistence.js +33 -2
  25. package/dist/src/agent-session-persistence.js.map +1 -1
  26. package/dist/src/agent-session-settings.d.ts +58 -0
  27. package/dist/src/agent-session-settings.js +81 -0
  28. package/dist/src/agent-session-settings.js.map +1 -0
  29. package/dist/src/agent-session-step-options.d.ts +27 -0
  30. package/dist/src/agent-session-step-options.js +39 -0
  31. package/dist/src/agent-session-step-options.js.map +1 -0
  32. package/dist/src/agent-session-step-types.d.ts +20 -0
  33. package/dist/src/agent-session-step-types.js +28 -0
  34. package/dist/src/agent-session-step-types.js.map +1 -0
  35. package/dist/src/agent-session-steps.d.ts +101 -8
  36. package/dist/src/agent-session-steps.js +936 -197
  37. package/dist/src/agent-session-steps.js.map +1 -1
  38. package/dist/src/agent-session-tracer.d.ts +61 -0
  39. package/dist/src/agent-session-tracer.js +608 -0
  40. package/dist/src/agent-session-tracer.js.map +1 -0
  41. package/dist/src/agent-session-transitions.d.ts +189 -26
  42. package/dist/src/agent-session-transitions.js +680 -32
  43. package/dist/src/agent-session-transitions.js.map +1 -1
  44. package/dist/src/agent-session-values.d.ts +690 -29
  45. package/dist/src/agent-session-values.js +39 -4
  46. package/dist/src/agent-session-values.js.map +1 -1
  47. package/dist/src/agent-session-wait-steps.d.ts +53 -0
  48. package/dist/src/agent-session-wait-steps.js +389 -0
  49. package/dist/src/agent-session-wait-steps.js.map +1 -0
  50. package/dist/src/agent-tracing-options.d.ts +107 -0
  51. package/dist/src/agent-tracing-options.js +20 -0
  52. package/dist/src/agent-tracing-options.js.map +1 -0
  53. package/dist/src/ai-sdk/ai-sdk-model-client.d.ts +40 -0
  54. package/dist/src/ai-sdk/ai-sdk-model-client.js +235 -0
  55. package/dist/src/ai-sdk/ai-sdk-model-client.js.map +1 -0
  56. package/dist/src/ai-sdk/index.d.ts +1 -0
  57. package/dist/src/ai-sdk/index.js +9 -0
  58. package/dist/src/ai-sdk/index.js.map +1 -0
  59. package/dist/src/index.d.ts +9 -3
  60. package/dist/src/index.js +7 -2
  61. package/dist/src/index.js.map +1 -1
  62. package/dist/src/mcp/index.d.ts +3 -0
  63. package/dist/src/mcp/index.js +10 -0
  64. package/dist/src/mcp/index.js.map +1 -0
  65. package/dist/src/mcp/mcp-resource-and-prompt-tools.d.ts +29 -0
  66. package/dist/src/mcp/mcp-resource-and-prompt-tools.js +185 -0
  67. package/dist/src/mcp/mcp-resource-and-prompt-tools.js.map +1 -0
  68. package/dist/src/mcp/mcp-server-config.d.ts +86 -0
  69. package/dist/src/mcp/mcp-server-config.js +38 -0
  70. package/dist/src/mcp/mcp-server-config.js.map +1 -0
  71. package/dist/src/mcp/mcp-tool-source.d.ts +470 -0
  72. package/dist/src/mcp/mcp-tool-source.js +1204 -0
  73. package/dist/src/mcp/mcp-tool-source.js.map +1 -0
  74. package/dist/src/stepwise/agent-definition.d.ts +158 -0
  75. package/dist/src/stepwise/agent-definition.js +9 -0
  76. package/dist/src/stepwise/agent-definition.js.map +1 -0
  77. package/dist/src/stepwise/function-tool.d.ts +130 -0
  78. package/dist/src/stepwise/function-tool.js +75 -0
  79. package/dist/src/stepwise/function-tool.js.map +1 -0
  80. package/dist/src/stepwise/index.d.ts +7 -0
  81. package/dist/src/stepwise/index.js +12 -0
  82. package/dist/src/stepwise/index.js.map +1 -0
  83. package/dist/src/stepwise/json-schema-validation.d.ts +9 -0
  84. package/dist/src/stepwise/json-schema-validation.js +141 -0
  85. package/dist/src/stepwise/json-schema-validation.js.map +1 -0
  86. package/dist/src/stepwise/model-client.d.ts +194 -0
  87. package/dist/src/stepwise/model-client.js +9 -0
  88. package/dist/src/stepwise/model-client.js.map +1 -0
  89. package/dist/src/stepwise/scripted-model-client.d.ts +99 -0
  90. package/dist/src/stepwise/scripted-model-client.js +156 -0
  91. package/dist/src/stepwise/scripted-model-client.js.map +1 -0
  92. package/dist/src/stepwise/stepwise-agent-runner.d.ts +189 -0
  93. package/dist/src/stepwise/stepwise-agent-runner.js +804 -0
  94. package/dist/src/stepwise/stepwise-agent-runner.js.map +1 -0
  95. package/dist/src/stepwise/stepwise-agent-session-flow.d.ts +35 -0
  96. package/dist/src/stepwise/stepwise-agent-session-flow.js +56 -0
  97. package/dist/src/stepwise/stepwise-agent-session-flow.js.map +1 -0
  98. package/dist/src/stepwise/stepwise-input-items.d.ts +12 -0
  99. package/dist/src/stepwise/stepwise-input-items.js +172 -0
  100. package/dist/src/stepwise/stepwise-input-items.js.map +1 -0
  101. package/dist/src/stepwise/tool-source.d.ts +103 -0
  102. package/dist/src/stepwise/tool-source.js +9 -0
  103. package/dist/src/stepwise/tool-source.js.map +1 -0
  104. package/dist/src/testing/agent-session-test-client.d.ts +65 -8
  105. package/dist/src/testing/agent-session-test-client.js +95 -22
  106. package/dist/src/testing/agent-session-test-client.js.map +1 -1
  107. package/dist/src/testing/index.d.ts +1 -0
  108. package/dist/src/testing/index.js +1 -0
  109. package/dist/src/testing/index.js.map +1 -1
  110. package/dist/src/testing/private-dex-engine.d.ts +9 -0
  111. package/dist/src/testing/private-dex-engine.js +9 -1
  112. package/dist/src/testing/private-dex-engine.js.map +1 -1
  113. package/dist/src/testing/scripted-model-client.d.ts +1 -0
  114. package/dist/src/testing/scripted-model-client.js +10 -0
  115. package/dist/src/testing/scripted-model-client.js.map +1 -0
  116. package/dist/src/ui-stream/agent-event-json.d.ts +30 -0
  117. package/dist/src/ui-stream/agent-event-json.js +64 -0
  118. package/dist/src/ui-stream/agent-event-json.js.map +1 -0
  119. package/dist/src/ui-stream/agent-event-sse.d.ts +154 -0
  120. package/dist/src/ui-stream/agent-event-sse.js +159 -0
  121. package/dist/src/ui-stream/agent-event-sse.js.map +1 -0
  122. package/dist/src/ui-stream/agent-event-stream-positions.d.ts +42 -0
  123. package/dist/src/ui-stream/agent-event-stream-positions.js +153 -0
  124. package/dist/src/ui-stream/agent-event-stream-positions.js.map +1 -0
  125. package/dist/src/ui-stream/agent-session-record-reader.d.ts +72 -0
  126. package/dist/src/ui-stream/agent-session-record-reader.js +241 -0
  127. package/dist/src/ui-stream/agent-session-record-reader.js.map +1 -0
  128. package/dist/src/ui-stream/agent-ui-message-stream-responses.d.ts +219 -0
  129. package/dist/src/ui-stream/agent-ui-message-stream-responses.js +440 -0
  130. package/dist/src/ui-stream/agent-ui-message-stream-responses.js.map +1 -0
  131. package/dist/src/ui-stream/agent-ui-message-stream.d.ts +138 -0
  132. package/dist/src/ui-stream/agent-ui-message-stream.js +681 -0
  133. package/dist/src/ui-stream/agent-ui-message-stream.js.map +1 -0
  134. package/dist/src/ui-stream/agent-ui-message-types.d.ts +238 -0
  135. package/dist/src/ui-stream/agent-ui-message-types.js +57 -0
  136. package/dist/src/ui-stream/agent-ui-message-types.js.map +1 -0
  137. package/dist/src/ui-stream/agent-ui-messages.d.ts +66 -0
  138. package/dist/src/ui-stream/agent-ui-messages.js +220 -0
  139. package/dist/src/ui-stream/agent-ui-messages.js.map +1 -0
  140. package/dist/src/ui-stream/agent-ui-stream-cursor.d.ts +64 -0
  141. package/dist/src/ui-stream/agent-ui-stream-cursor.js +186 -0
  142. package/dist/src/ui-stream/agent-ui-stream-cursor.js.map +1 -0
  143. package/dist/src/ui-stream/index.d.ts +14 -0
  144. package/dist/src/ui-stream/index.js +22 -0
  145. package/dist/src/ui-stream/index.js.map +1 -0
  146. package/dist/src/ui-stream/server-sent-event-responses.d.ts +6 -0
  147. package/dist/src/ui-stream/server-sent-event-responses.js +34 -0
  148. package/dist/src/ui-stream/server-sent-event-responses.js.map +1 -0
  149. package/package.json +41 -5
@@ -11,6 +11,7 @@ const agentSessionStatuses = [
11
11
  "waiting_for_user_message",
12
12
  "running_model",
13
13
  "running_tools",
14
+ "compacting_context",
14
15
  ];
15
16
  const agentMessageRoles = ["user", "assistant", "tool"];
16
17
  const toolEffects = [
@@ -22,11 +23,21 @@ const toolEffects = [
22
23
  const agentToolCallStatuses = [
23
24
  "awaiting_approval",
24
25
  "approved",
26
+ "awaiting_answer",
27
+ "waiting_for_timer",
28
+ "waiting_for_task",
25
29
  "rejected",
26
30
  "succeeded",
27
31
  "failed",
28
32
  "outcome_unknown",
29
33
  ];
34
+ const agentInterruptKinds = ["tool_approval", "question"];
35
+ const interactionModes = ["chat", "planning", "executing"];
36
+ const planStatuses = ["draft", "active", "completed", "cleared"];
37
+ const planTaskStatuses = ["pending", "in_progress", "completed"];
38
+ const toolCallCancellationReasons = ["steered", "turn_cancelled"];
39
+ const turnControlKinds = ["steer", "cancel_turn"];
40
+ const questionResolutions = ["answered", "declined", "deadline_passed"];
30
41
  class WireRecordReader {
31
42
  typeName;
32
43
  record;
@@ -72,6 +83,24 @@ class WireRecordReader {
72
83
  }
73
84
  return this.readInteger(field);
74
85
  }
86
+ readBooleanOrDefault(field, defaultValue) {
87
+ const value = this.record[field];
88
+ return value === undefined || value === null ? defaultValue : this.readBoolean(field);
89
+ }
90
+ readStringArrayOrEmpty(field) {
91
+ const value = this.record[field];
92
+ if (value === undefined || value === null) {
93
+ return [];
94
+ }
95
+ if (!Array.isArray(value) || !value.every((item) => typeof item === "string")) {
96
+ throw new TypeError(`${this.typeName}.${field} must be an array of strings`);
97
+ }
98
+ return value;
99
+ }
100
+ readArrayOrEmpty(field) {
101
+ const value = this.record[field];
102
+ return value === undefined || value === null ? [] : this.readArray(field);
103
+ }
75
104
  readBoolean(field) {
76
105
  const value = this.record[field];
77
106
  if (typeof value !== "boolean") {
@@ -79,6 +108,14 @@ class WireRecordReader {
79
108
  }
80
109
  return value;
81
110
  }
111
+ readEnumOrDefault(field, allowed, defaultValue) {
112
+ const value = this.record[field];
113
+ return value === undefined || value === null ? defaultValue : this.readEnum(field, allowed);
114
+ }
115
+ readNullableEnum(field, allowed) {
116
+ const value = this.record[field];
117
+ return value === undefined || value === null ? null : this.readEnum(field, allowed);
118
+ }
82
119
  readEnum(field, allowed) {
83
120
  const value = this.readString(field);
84
121
  if (!allowed.includes(value)) {
@@ -98,14 +135,47 @@ class WireRecordReader {
98
135
  }
99
136
  }
100
137
  export function encodeAgentSessionStartInput(value) {
101
- return { initial_message: value.initialMessage };
138
+ return { initial_message: value.initialMessage, session_settings: value.sessionSettings ?? null };
102
139
  }
103
140
  export function decodeAgentSessionStartInput(value) {
104
141
  if (value === null || value === undefined) {
105
- return { initialMessage: null };
142
+ return { initialMessage: null, sessionSettings: null };
106
143
  }
107
144
  const reader = new WireRecordReader(value, "AgentSessionStartInput");
108
- return { initialMessage: reader.readNullableString("initial_message") };
145
+ const sessionSettings = reader.readObject("session_settings");
146
+ return {
147
+ initialMessage: reader.readNullableString("initial_message"),
148
+ // Kept as sent: StartAgentSession refuses a value that is not an object, failing the session at once.
149
+ sessionSettings: sessionSettings == null ? null : sessionSettings,
150
+ };
151
+ }
152
+ export function encodeSessionSettings(value) {
153
+ return value;
154
+ }
155
+ export function decodeSessionSettings(value) {
156
+ if (typeof value !== "object" || value === null || Array.isArray(value)) {
157
+ throw new TypeError("SessionSettings must be a JSON object");
158
+ }
159
+ return value;
160
+ }
161
+ export function encodeUpdateSessionSettingsRequest(value) {
162
+ return { session_settings: value.sessionSettings };
163
+ }
164
+ export function decodeUpdateSessionSettingsRequest(value) {
165
+ const reader = new WireRecordReader(value, "UpdateSessionSettingsRequest");
166
+ const sessionSettings = reader.readObject("session_settings");
167
+ // Kept as sent: the RPC returns false for null or a value that is not an object.
168
+ return { sessionSettings: sessionSettings == null ? null : sessionSettings };
169
+ }
170
+ export function encodeTurnSessionSettings(value) {
171
+ return { turn_id: value.turnId, session_settings: value.sessionSettings };
172
+ }
173
+ export function decodeTurnSessionSettings(value) {
174
+ const reader = new WireRecordReader(value, "TurnSessionSettings");
175
+ return {
176
+ turnId: reader.readString("turn_id"),
177
+ sessionSettings: decodeSessionSettings(reader.readObject("session_settings")),
178
+ };
109
179
  }
110
180
  export function encodeAgentState(value) {
111
181
  return {
@@ -114,16 +184,23 @@ export function encodeAgentState(value) {
114
184
  active_turn_id: value.activeTurnId,
115
185
  next_message_sequence: value.nextMessageSequence,
116
186
  last_turn_error: value.lastTurnError,
187
+ interaction_mode: value.interactionMode ?? "chat",
188
+ accepts_turn_control: value.acceptsTurnControl ?? false,
117
189
  };
118
190
  }
119
191
  export function decodeAgentState(value) {
120
192
  const reader = new WireRecordReader(value, "AgentState");
193
+ const interactionMode = reader.readEnumOrDefault("interaction_mode", interactionModes, "chat");
194
+ const acceptsTurnControl = reader.readBooleanOrDefault("accepts_turn_control", false);
121
195
  return {
122
196
  status: reader.readEnum("status", agentSessionStatuses),
123
197
  turnCount: reader.readInteger("turn_count"),
124
198
  activeTurnId: reader.readNullableString("active_turn_id"),
125
199
  nextMessageSequence: reader.readInteger("next_message_sequence"),
126
200
  lastTurnError: reader.readNullableString("last_turn_error"),
201
+ // Fields that plans added are omitted at their defaults, so a session without plans decodes to its 0.1.0 shape.
202
+ ...(interactionMode === "chat" ? {} : { interactionMode }),
203
+ ...(acceptsTurnControl ? { acceptsTurnControl } : {}),
127
204
  };
128
205
  }
129
206
  export function encodeAgentMessage(value) {
@@ -168,11 +245,24 @@ export function encodeAgentToolCall(value) {
168
245
  error: value.error,
169
246
  rejection_message: value.rejectionMessage,
170
247
  deferral_order: value.deferralOrder,
248
+ tool_source_reference: value.toolSourceReference ?? null,
249
+ trace_context: value.traceContext ?? null,
250
+ wait_until: value.waitUntil,
251
+ input_continuation: value.inputContinuation,
252
+ input_answers: value.inputAnswers.map(encodeQuestionAnswer),
253
+ input_question: value.inputQuestion,
254
+ input_choices: [...value.inputChoices],
255
+ input_allows_free_text: value.inputAllowsFreeText,
256
+ cancellation_reason: value.cancellationReason ?? null,
257
+ task_id: value.taskId ?? null,
258
+ task_poll_interval_seconds: value.taskPollIntervalSeconds ?? null,
259
+ task_answer_pending: value.taskAnswerPending ?? false,
171
260
  };
172
261
  }
173
262
  export function decodeAgentToolCall(value) {
174
263
  const reader = new WireRecordReader(value, "AgentToolCall");
175
- return {
264
+ const traceContext = reader.readNullableString("trace_context");
265
+ const toolCall = {
176
266
  toolCallId: reader.readString("tool_call_id"),
177
267
  turnId: reader.readString("turn_id"),
178
268
  toolName: reader.readString("tool_name"),
@@ -184,6 +274,36 @@ export function decodeAgentToolCall(value) {
184
274
  error: reader.readNullableString("error"),
185
275
  rejectionMessage: reader.readNullableString("rejection_message"),
186
276
  deferralOrder: reader.readIntegerOrDefault("deferral_order", 0),
277
+ waitUntil: reader.readNullableString("wait_until"),
278
+ inputContinuation: reader.readNullableString("input_continuation"),
279
+ inputAnswers: reader.readArrayOrEmpty("input_answers").map(decodeQuestionAnswer),
280
+ inputQuestion: reader.readNullableString("input_question"),
281
+ inputChoices: reader.readStringArrayOrEmpty("input_choices"),
282
+ inputAllowsFreeText: reader.readBooleanOrDefault("input_allows_free_text", true),
283
+ cancellationReason: reader.readNullableEnum("cancellation_reason", toolCallCancellationReasons),
284
+ taskId: reader.readNullableString("task_id"),
285
+ taskPollIntervalSeconds: reader.readNullableInteger("task_poll_interval_seconds"),
286
+ taskAnswerPending: reader.readBooleanOrDefault("task_answer_pending", false),
287
+ ...(traceContext === null ? {} : { traceContext }),
288
+ };
289
+ const toolSourceReference = reader.readNullableString("tool_source_reference");
290
+ return toolSourceReference === null ? toolCall : { ...toolCall, toolSourceReference };
291
+ }
292
+ export function encodeQuestionAnswer(value) {
293
+ return {
294
+ interrupt_id: value.interruptId,
295
+ question: value.question,
296
+ answer: value.answer,
297
+ resolution: value.resolution ?? "answered",
298
+ };
299
+ }
300
+ export function decodeQuestionAnswer(value) {
301
+ const reader = new WireRecordReader(value, "QuestionAnswer");
302
+ return {
303
+ interruptId: reader.readString("interrupt_id"),
304
+ question: reader.readString("question"),
305
+ answer: reader.readString("answer"),
306
+ resolution: reader.readNullableString("resolution") === null ? "answered" : reader.readEnum("resolution", questionResolutions),
187
307
  };
188
308
  }
189
309
  export function encodeAgentInterrupt(value) {
@@ -195,30 +315,44 @@ export function encodeAgentInterrupt(value) {
195
315
  arguments: value.arguments,
196
316
  created_at: value.createdAt,
197
317
  deadline: value.deadline,
318
+ question: value.question ?? null,
319
+ choices: [...(value.choices ?? [])],
320
+ allows_free_text: value.allowsFreeText ?? true,
198
321
  };
199
322
  }
200
323
  export function decodeAgentInterrupt(value) {
201
324
  const reader = new WireRecordReader(value, "AgentInterrupt");
202
325
  return {
203
326
  interruptId: reader.readString("interrupt_id"),
204
- kind: reader.readEnum("kind", ["tool_approval"]),
327
+ kind: reader.readEnum("kind", agentInterruptKinds),
205
328
  toolCallId: reader.readString("tool_call_id"),
206
329
  toolName: reader.readString("tool_name"),
207
330
  arguments: reader.readString("arguments"),
208
331
  createdAt: reader.readString("created_at"),
209
332
  deadline: reader.readNullableString("deadline"),
333
+ question: reader.readNullableString("question"),
334
+ choices: reader.readStringArrayOrEmpty("choices"),
335
+ allowsFreeText: reader.readBooleanOrDefault("allows_free_text", true),
210
336
  };
211
337
  }
212
338
  export function encodeAgentInterruptResolution(value) {
213
- return { approved: value.approved, rejection_message: value.rejectionMessage };
339
+ return { approved: value.approved, rejection_message: value.rejectionMessage, answer: value.answer ?? null };
214
340
  }
215
341
  export function decodeAgentInterruptResolution(value) {
216
342
  const reader = new WireRecordReader(value, "AgentInterruptResolution");
217
343
  return {
218
344
  approved: reader.readBoolean("approved"),
219
345
  rejectionMessage: reader.readNullableString("rejection_message"),
346
+ answer: reader.readNullableString("answer"),
220
347
  };
221
348
  }
349
+ export function encodeAnswerQuestionRequest(value) {
350
+ return { interrupt_id: value.interruptId, answer: value.answer };
351
+ }
352
+ export function decodeAnswerQuestionRequest(value) {
353
+ const reader = new WireRecordReader(value, "AnswerQuestionRequest");
354
+ return { interruptId: reader.readString("interrupt_id"), answer: reader.readString("answer") };
355
+ }
222
356
  export function encodeAgentUsage(value) {
223
357
  return {
224
358
  model_calls: value.modelCalls,
@@ -239,11 +373,95 @@ export function decodeAgentUsage(value) {
239
373
  };
240
374
  }
241
375
  export function encodeAgentUserMessage(value) {
242
- return { text: value.text };
376
+ return { text: value.text, plan_mode: value.planMode ?? false };
243
377
  }
244
378
  export function decodeAgentUserMessage(value) {
245
379
  const reader = new WireRecordReader(value, "AgentUserMessage");
246
- return { text: reader.readString("text") };
380
+ const planMode = reader.readBooleanOrDefault("plan_mode", false);
381
+ return { text: reader.readString("text"), ...(planMode ? { planMode } : {}) };
382
+ }
383
+ export function encodeAgentPlan(value) {
384
+ return {
385
+ revision: value.revision,
386
+ status: value.status,
387
+ tasks: value.tasks.map(encodeAgentPlanTask),
388
+ updated_at: value.updatedAt,
389
+ };
390
+ }
391
+ export function decodeAgentPlan(value) {
392
+ const reader = new WireRecordReader(value, "AgentPlan");
393
+ return {
394
+ revision: reader.readInteger("revision"),
395
+ status: reader.readEnum("status", planStatuses),
396
+ tasks: reader.readArrayOrEmpty("tasks").map(decodeAgentPlanTask),
397
+ updatedAt: reader.readString("updated_at"),
398
+ };
399
+ }
400
+ export function encodeAgentPlanTask(value) {
401
+ return { content: value.content, status: value.status };
402
+ }
403
+ export function decodeAgentPlanTask(value) {
404
+ const reader = new WireRecordReader(value, "AgentPlanTask");
405
+ return { content: reader.readString("content"), status: reader.readEnum("status", planTaskStatuses) };
406
+ }
407
+ export function encodePlanRevisionRequest(value) {
408
+ return { revision: value.revision };
409
+ }
410
+ export function decodePlanRevisionRequest(value) {
411
+ const reader = new WireRecordReader(value, "PlanExecutionRequest");
412
+ return { revision: reader.readInteger("revision") };
413
+ }
414
+ export function encodePendingUserMessage(value) {
415
+ return { message_id: value.messageId, message: encodeAgentUserMessage(value.message) };
416
+ }
417
+ export function decodePendingUserMessage(value) {
418
+ const reader = new WireRecordReader(value, "PendingUserMessage");
419
+ return { messageId: reader.readString("message_id"), message: decodeAgentUserMessage(reader.readObject("message")) };
420
+ }
421
+ export function encodeSteerUserMessageRequest(value) {
422
+ return { message_id: value.messageId, text: value.text };
423
+ }
424
+ export function decodeSteerUserMessageRequest(value) {
425
+ const reader = new WireRecordReader(value, "SteerUserMessageRequest");
426
+ return { messageId: reader.readNullableString("message_id"), text: reader.readNullableString("text") };
427
+ }
428
+ export function encodeDeleteQueuedMessageRequest(value) {
429
+ return { message_id: value.messageId };
430
+ }
431
+ export function decodeDeleteQueuedMessageRequest(value) {
432
+ const reader = new WireRecordReader(value, "DeleteQueuedMessageRequest");
433
+ return { messageId: reader.readString("message_id") };
434
+ }
435
+ export function encodeCancelTurnRequest(value) {
436
+ return { turn_id: value.turnId };
437
+ }
438
+ export function decodeCancelTurnRequest(value) {
439
+ if (value === null || value === undefined) {
440
+ return { turnId: null };
441
+ }
442
+ const reader = new WireRecordReader(value, "CancelTurnRequest");
443
+ return { turnId: reader.readNullableString("turn_id") };
444
+ }
445
+ export function encodeTurnControlRequest(value) {
446
+ return { kind: value.kind };
447
+ }
448
+ export function decodeTurnControlRequest(value) {
449
+ const reader = new WireRecordReader(value, "TurnControlRequest");
450
+ return { kind: reader.readEnum("kind", turnControlKinds) };
451
+ }
452
+ export function encodeTurnCancellationRequest(value) {
453
+ return { turn_id: value.turnId, requested_at: value.requestedAt };
454
+ }
455
+ export function decodeTurnCancellationRequest(value) {
456
+ const reader = new WireRecordReader(value, "TurnCancellationRequest");
457
+ return { turnId: reader.readString("turn_id"), requestedAt: reader.readString("requested_at") };
458
+ }
459
+ export function encodeToolCallCancellation(value) {
460
+ return { reason: value.reason };
461
+ }
462
+ export function decodeToolCallCancellation(value) {
463
+ const reader = new WireRecordReader(value, "ToolCallCancellation");
464
+ return { reason: reader.readEnum("reason", toolCallCancellationReasons) };
247
465
  }
248
466
  export function encodeToolCallCompleted(value) {
249
467
  return { tool_call_id: value.toolCallId };
@@ -286,6 +504,71 @@ export function decodeResolveInterruptInput(value) {
286
504
  rejectionMessage: reader.readNullableString("rejection_message"),
287
505
  };
288
506
  }
507
+ export function encodeContextSummary(value) {
508
+ return {
509
+ generation: value.generation,
510
+ first_sequence: value.firstSequence,
511
+ last_sequence: value.lastSequence,
512
+ text: value.text,
513
+ created_at: value.createdAt,
514
+ };
515
+ }
516
+ export function decodeContextSummary(value) {
517
+ const reader = new WireRecordReader(value, "ContextSummary");
518
+ return {
519
+ generation: reader.readInteger("generation"),
520
+ firstSequence: reader.readInteger("first_sequence"),
521
+ lastSequence: reader.readInteger("last_sequence"),
522
+ text: reader.readString("text"),
523
+ createdAt: reader.readString("created_at"),
524
+ };
525
+ }
526
+ export function encodeAgentMessageChunk(value) {
527
+ return { messages: value.messages.map(encodeAgentMessage) };
528
+ }
529
+ export function decodeAgentMessageChunk(value) {
530
+ const reader = new WireRecordReader(value, "AgentMessageChunk");
531
+ return { messages: reader.readArray("messages").map(decodeAgentMessage) };
532
+ }
533
+ export function encodeAgentMessageChunkRange(value) {
534
+ return { first_sequence: value.firstSequence, last_sequence: value.lastSequence };
535
+ }
536
+ export function decodeAgentMessageChunkRange(value) {
537
+ const reader = new WireRecordReader(value, "AgentMessageChunkRange");
538
+ return {
539
+ firstSequence: reader.readInteger("first_sequence"),
540
+ lastSequence: reader.readInteger("last_sequence"),
541
+ };
542
+ }
543
+ export function encodeAgentMessageIndex(value) {
544
+ return {
545
+ chunks: value.chunks.map(encodeAgentMessageChunkRange),
546
+ first_sequence: value.firstSequence,
547
+ window_first_sequence: value.windowFirstSequence,
548
+ };
549
+ }
550
+ export function decodeAgentMessageIndex(value) {
551
+ const reader = new WireRecordReader(value, "AgentMessageIndex");
552
+ return {
553
+ chunks: reader.readArray("chunks").map(decodeAgentMessageChunkRange),
554
+ firstSequence: reader.readInteger("first_sequence"),
555
+ windowFirstSequence: reader.readInteger("window_first_sequence"),
556
+ };
557
+ }
558
+ export function encodeTurnReplySequence(value) {
559
+ return { turn_id: value.turnId, sequence: value.sequence };
560
+ }
561
+ export function decodeTurnReplySequence(value) {
562
+ const reader = new WireRecordReader(value, "TurnReplySequence");
563
+ return { turnId: reader.readString("turn_id"), sequence: reader.readInteger("sequence") };
564
+ }
565
+ export function encodeCompactContextInput(value) {
566
+ return { through_sequence: value.throughSequence };
567
+ }
568
+ export function decodeCompactContextInput(value) {
569
+ const reader = new WireRecordReader(value, "CompactContextInput");
570
+ return { throughSequence: reader.readInteger("through_sequence") };
571
+ }
289
572
  export function encodeAgentSnapshot(value) {
290
573
  return {
291
574
  state: value.state === null ? null : encodeAgentState(value.state),
@@ -294,6 +577,13 @@ export function encodeAgentSnapshot(value) {
294
577
  tool_calls: value.toolCalls.map(encodeAgentToolCall),
295
578
  usage: encodeAgentUsage(value.usage),
296
579
  queued_message_count: value.queuedMessageCount,
580
+ plan: value.plan == null ? null : encodeAgentPlan(value.plan),
581
+ queued_messages: (value.queuedMessages ?? []).map(encodePendingUserMessage),
582
+ steered_messages: (value.steeredMessages ?? []).map(encodePendingUserMessage),
583
+ context_summary: value.contextSummary === undefined || value.contextSummary === null
584
+ ? null
585
+ : encodeContextSummary(value.contextSummary),
586
+ session_settings: value.sessionSettings ?? null,
297
587
  };
298
588
  }
299
589
  export function decodeAgentSnapshot(value) {
@@ -305,6 +595,15 @@ export function decodeAgentSnapshot(value) {
305
595
  toolCalls: reader.readArray("tool_calls").map(decodeAgentToolCall),
306
596
  usage: decodeAgentUsage(reader.readObject("usage")),
307
597
  queuedMessageCount: reader.readIntegerOrDefault("queued_message_count", 0),
598
+ ...(reader.readObject("plan") == null ? {} : { plan: decodeAgentPlan(reader.readObject("plan")) }),
599
+ queuedMessages: reader.readArrayOrEmpty("queued_messages").map(decodePendingUserMessage),
600
+ steeredMessages: reader.readArrayOrEmpty("steered_messages").map(decodePendingUserMessage),
601
+ contextSummary: reader.readObject("context_summary") == null
602
+ ? null
603
+ : decodeContextSummary(reader.readObject("context_summary")),
604
+ sessionSettings: reader.readObject("session_settings") == null
605
+ ? null
606
+ : decodeSessionSettings(reader.readObject("session_settings")),
308
607
  };
309
608
  }
310
609
  export function encodeListAgentMessagesInput(value) {
@@ -321,6 +620,7 @@ export function encodeAgentMessagesPage(value) {
321
620
  return {
322
621
  messages: value.messages.map(encodeAgentMessage),
323
622
  next_before_sequence: value.nextBeforeSequence,
623
+ deleted_before_sequence: value.deletedBeforeSequence ?? null,
324
624
  };
325
625
  }
326
626
  export function decodeAgentMessagesPage(value) {
@@ -328,6 +628,7 @@ export function decodeAgentMessagesPage(value) {
328
628
  return {
329
629
  messages: reader.readArray("messages").map(decodeAgentMessage),
330
630
  nextBeforeSequence: reader.readNullableInteger("next_before_sequence"),
631
+ deletedBeforeSequence: reader.readNullableInteger("deleted_before_sequence"),
331
632
  };
332
633
  }
333
634
  function snakeCaseJsonCodec(typeName, encode, decode) {
@@ -346,10 +647,43 @@ export const agentInterruptListCodec = snakeCaseJsonCodec("AgentInterruptList",
346
647
  export const agentInterruptResolutionCodec = snakeCaseJsonCodec("AgentInterruptResolution", encodeAgentInterruptResolution, decodeAgentInterruptResolution);
347
648
  export const agentUsageCodec = snakeCaseJsonCodec("AgentUsage", encodeAgentUsage, decodeAgentUsage);
348
649
  export const agentUserMessageCodec = snakeCaseJsonCodec("AgentUserMessage", encodeAgentUserMessage, decodeAgentUserMessage);
650
+ export const agentPlanCodec = snakeCaseJsonCodec("AgentPlan", encodeAgentPlan, decodeAgentPlan);
651
+ export const planExecutionRequestCodec = snakeCaseJsonCodec("PlanExecutionRequest", encodePlanRevisionRequest, decodePlanRevisionRequest);
652
+ export const executePlanRequestCodec = snakeCaseJsonCodec("ExecutePlanRequest", encodePlanRevisionRequest, decodePlanRevisionRequest);
349
653
  export const toolCallCompletedCodec = snakeCaseJsonCodec("ToolCallCompleted", encodeToolCallCompleted, decodeToolCallCompleted);
350
654
  export const agentEventCodec = snakeCaseJsonCodec("AgentEvent", encodeAgentEvent, decodeAgentEvent);
351
655
  export const resolveInterruptInputCodec = snakeCaseJsonCodec("ResolveInterruptInput", encodeResolveInterruptInput, decodeResolveInterruptInput);
656
+ export const answerQuestionRequestCodec = snakeCaseJsonCodec("AnswerQuestionRequest", encodeAnswerQuestionRequest, decodeAnswerQuestionRequest);
657
+ export const steerUserMessageRequestCodec = snakeCaseJsonCodec("SteerUserMessageRequest", encodeSteerUserMessageRequest, decodeSteerUserMessageRequest);
658
+ export const deleteQueuedMessageRequestCodec = snakeCaseJsonCodec("DeleteQueuedMessageRequest", encodeDeleteQueuedMessageRequest, decodeDeleteQueuedMessageRequest);
659
+ export const cancelTurnRequestCodec = snakeCaseJsonCodec("CancelTurnRequest", encodeCancelTurnRequest, decodeCancelTurnRequest);
660
+ export const turnControlRequestCodec = snakeCaseJsonCodec("TurnControlRequest", encodeTurnControlRequest, decodeTurnControlRequest);
661
+ export const turnCancellationRequestCodec = snakeCaseJsonCodec("TurnCancellationRequest", encodeTurnCancellationRequest, decodeTurnCancellationRequest);
662
+ export const toolCallCancellationCodec = snakeCaseJsonCodec("ToolCallCancellation", encodeToolCallCancellation, decodeToolCallCancellation);
352
663
  export const agentSnapshotCodec = snakeCaseJsonCodec("AgentSnapshot", encodeAgentSnapshot, decodeAgentSnapshot);
353
664
  export const listAgentMessagesInputCodec = snakeCaseJsonCodec("ListAgentMessagesInput", encodeListAgentMessagesInput, decodeListAgentMessagesInput);
354
665
  export const agentMessagesPageCodec = snakeCaseJsonCodec("AgentMessagesPage", encodeAgentMessagesPage, decodeAgentMessagesPage);
666
+ export const sessionSettingsCodec = snakeCaseJsonCodec("SessionSettings", encodeSessionSettings, decodeSessionSettings);
667
+ export const turnSessionSettingsCodec = snakeCaseJsonCodec("TurnSessionSettings", encodeTurnSessionSettings, decodeTurnSessionSettings);
668
+ export const updateSessionSettingsRequestCodec = snakeCaseJsonCodec("UpdateSessionSettingsRequest", encodeUpdateSessionSettingsRequest, decodeUpdateSessionSettingsRequest);
669
+ export const agentMessageChunkCodec = snakeCaseJsonCodec("AgentMessageChunk", encodeAgentMessageChunk, decodeAgentMessageChunk);
670
+ export const agentMessageIndexCodec = snakeCaseJsonCodec("AgentMessageIndex", encodeAgentMessageIndex, decodeAgentMessageIndex);
671
+ export const turnReplySequenceCodec = snakeCaseJsonCodec("TurnReplySequence", encodeTurnReplySequence, decodeTurnReplySequence);
672
+ export const contextSummaryCodec = snakeCaseJsonCodec("ContextSummary", encodeContextSummary, decodeContextSummary);
673
+ /** Input of `CompactContext` and `RecordTurnFailure`: a `CompactContextInput`, or `RunModel`'s JSON `null` as `undefined`. */
674
+ export const turnFailureRouteInputCodec = {
675
+ typeName: "TurnFailureRouteInput",
676
+ wireKind: "json",
677
+ encode: (value) => ({
678
+ kind: "json",
679
+ data: value === undefined ? "null" : JSON.stringify(encodeCompactContextInput(value)),
680
+ }),
681
+ decode: (value) => {
682
+ if (value.kind !== "json") {
683
+ throw new TypeError(`TurnFailureRouteInput requires JSON, got ${value.kind}`);
684
+ }
685
+ const parsed = JSON.parse(String(value.data));
686
+ return parsed === null ? undefined : decodeCompactContextInput(parsed);
687
+ },
688
+ };
355
689
  //# sourceMappingURL=agent-session-codecs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"agent-session-codecs.js","sourceRoot":"","sources":["../../src/agent-session-codecs.ts"],"names":[],"mappings":"AAAA,yCAAyC;AACzC,EAAE;AACF,kDAAkD;AAClD,mEAAmE;AACnE,+CAA+C;AAC/C,EAAE;AACF,0DAA0D;AAE1D,OAAO,EAAE,SAAS,EAAc,MAAM,mBAAmB,CAAC;AAuB1D,gGAAgG;AAEhG,MAAM,oBAAoB,GAAkC;IAC1D,0BAA0B;IAC1B,eAAe;IACf,eAAe;CAChB,CAAC;AACF,MAAM,iBAAiB,GAAgC,CAAC,MAAM,EAAE,WAAW,EAAE,MAAM,CAAC,CAAC;AACrF,MAAM,WAAW,GAA0B;IACzC,MAAM;IACN,kBAAkB;IAClB,sBAAsB;IACtB,cAAc;CACf,CAAC;AACF,MAAM,qBAAqB,GAAmC;IAC5D,mBAAmB;IACnB,UAAU;IACV,UAAU;IACV,WAAW;IACX,QAAQ;IACR,iBAAiB;CAClB,CAAC;AAEF,MAAM,gBAAgB;IAKD;IAJF,MAAM,CAAoC;IAE3D,YACE,KAAc,EACG,QAAgB;QAAhB,aAAQ,GAAR,QAAQ,CAAQ;QAEjC,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;YACxE,MAAM,IAAI,SAAS,CAAC,GAAG,QAAQ,wBAAwB,CAAC,CAAC;QAC3D,CAAC;QACD,IAAI,CAAC,MAAM,GAAG,KAA0C,CAAC;IAC3D,CAAC;IAEM,UAAU,CAAC,KAAa;QAC7B,MAAM,KAAK,GAAG,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QACjC,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;YAC9B,MAAM,IAAI,SAAS,CAAC,GAAG,IAAI,CAAC,QAAQ,IAAI,KAAK,mBAAmB,CAAC,CAAC;QACpE,CAAC;QACD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AAkB,CAC3D,wBAAwB,EACxB,4BAA4B,EAC5B,4BAA4B,CAC7B,CAAC;AACF,MAAM,CAAC,MAAM,sBAAsB,GAAG,kBAAkB,CACtD,mBAAmB,EACnB,uBAAuB,EACvB,uBAAuB,CACxB,CAAC"}
1
+ {"version":3,"file":"agent-session-codecs.js","sourceRoot":"","sources":["../../src/agent-session-codecs.ts"],"names":[],"mappings":"AAAA,yCAAyC;AACzC,EAAE;AACF,kDAAkD;AAClD,mEAAmE;AACnE,+CAA+C;AAC/C,EAAE;AACF,0DAA0D;AAE1D,OAAO,EAAE,SAAS,EAAc,MAAM,mBAAmB,CAAC;AAoD1D,gGAAgG;AAEhG,MAAM,oBAAoB,GAAkC;IAC1D,0BAA0B;IAC1B,eAAe;IACf,eAAe;IACf,oBAAoB;CACrB,CAAC;AACF,MAAM,iBAAiB,GAAgC,CAAC,MAAM,EAAE,WAAW,EAAE,MAAM,CAAC,CAAC;AACrF,MAAM,WAAW,GAA0B;IACzC,MAAM;IACN,kBAAkB;IAClB,sBAAsB;IACtB,cAAc;CACf,CAAC;AACF,MAAM,qBAAqB,GAAyC;IAClE,mBAAmB;IACnB,UAAU;IACV,iBAAiB;IACjB,mBAAmB;IACnB,kBAAkB;IAClB,UAAU;IACV,WAAW;IACX,QAAQ;IACR,iBAAiB;CAClB,CAAC;AACF,MAAM,mBAAmB,GAAkC,CAAC,eAAe,EAAE,UAAU,CAAC,CAAC;AACzF,MAAM,gBAAgB,GAA+B,CAAC,MAAM,EAAE,UAAU,EAAE,WAAW,CAAC,CAAC;AACvF,MAAM,YAAY,GAA0B,CAAC,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,SAAS,CAAC,CAAC;AACxF,MAAM,gBAAgB,GAA8B,CAAC,SAAS,EAAE,aAAa,EAAE,WAAW,CAAC,CAAC;AAC5F,MAAM,2BAA2B,GAA0C,CAAC,SAAS,EAAE,gBAAgB,CAAC,CAAC;AACzG,MAAM,gBAAgB,GAA+B,CAAC,OAAO,E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