@chatu-ai/builder-sdk 0.9.0 → 0.9.2

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 (2) hide show
  1. package/dist/client.d.ts +8 -0
  2. package/package.json +1 -1
package/dist/client.d.ts CHANGED
@@ -38,6 +38,14 @@ export interface SandboxStatus {
38
38
  ready?: boolean;
39
39
  startingForMs?: number | null;
40
40
  lastError?: string | null;
41
+ /** 最近一次异常退出;gaveUp=true 表示 runtime 已停止自动重启,需要修代码后手动重启 */
42
+ crash?: {
43
+ at?: string | null;
44
+ exitCode?: number | null;
45
+ restart?: number;
46
+ gaveUp?: boolean;
47
+ errors?: string[];
48
+ } | null;
41
49
  } | null;
42
50
  /** runtime 内是否仍有生成在跑(上一轮连接中断后后台继续):xid 可用于取消 */
43
51
  agent?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chatu-ai/builder-sdk",
3
- "version": "0.9.0",
3
+ "version": "0.9.2",
4
4
  "description": "ChatU Builder client SDK core: REST + streaming client, zod event schemas, seq resume",
5
5
  "license": "MIT",
6
6
  "type": "module",