sandbox-agent 0.1.2 → 0.1.3
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/dist/index.d.ts +18 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -264,7 +264,15 @@ interface components {
|
|
|
264
264
|
/** @enum {string} */
|
|
265
265
|
SessionEndReason: "completed" | "error" | "terminated";
|
|
266
266
|
SessionEndedData: {
|
|
267
|
+
/**
|
|
268
|
+
* Format: int32
|
|
269
|
+
* @description Process exit code when reason is Error
|
|
270
|
+
*/
|
|
271
|
+
exit_code?: number | null;
|
|
272
|
+
/** @description Error message when reason is Error */
|
|
273
|
+
message?: string | null;
|
|
267
274
|
reason: components["schemas"]["SessionEndReason"];
|
|
275
|
+
stderr?: components["schemas"]["StderrOutput"] | null;
|
|
268
276
|
terminated_by: components["schemas"]["TerminatedBy"];
|
|
269
277
|
};
|
|
270
278
|
SessionInfo: {
|
|
@@ -285,6 +293,16 @@ interface components {
|
|
|
285
293
|
SessionStartedData: {
|
|
286
294
|
metadata?: unknown;
|
|
287
295
|
};
|
|
296
|
+
StderrOutput: {
|
|
297
|
+
/** @description First N lines of stderr (if truncated) or full stderr (if not truncated) */
|
|
298
|
+
head?: string | null;
|
|
299
|
+
/** @description Last N lines of stderr (only present if truncated) */
|
|
300
|
+
tail?: string | null;
|
|
301
|
+
/** @description Total number of lines in stderr */
|
|
302
|
+
total_lines?: number | null;
|
|
303
|
+
/** @description Whether the output was truncated */
|
|
304
|
+
truncated: boolean;
|
|
305
|
+
};
|
|
288
306
|
/** @enum {string} */
|
|
289
307
|
TerminatedBy: "agent" | "daemon";
|
|
290
308
|
TurnStreamQuery: {
|
package/package.json
CHANGED