@maiaos/protocol 0.1.0-canary.58 → 0.1.0-canary.59
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/agent/worker-operation.d.ts +1 -1
- package/dist/discovery/contract.d.ts +1 -1
- package/dist/discovery/effect-schema.d.ts +2 -2
- package/dist/event/session-activity-effect-schema.d.ts +6 -6
- package/dist/event/session-activity-effect-schema.d.ts.map +1 -1
- package/dist/event/session-activity-effect-schema.js +5 -3
- package/dist/event/session-activity-effect-schema.js.map +1 -1
- package/dist/event/session-activity.d.ts +3 -3
- package/dist/event/session-activity.d.ts.map +1 -1
- package/dist/presentation/contract.d.ts +1 -1
- package/dist/presentation/effect-schema.d.ts +1 -1
- package/dist/presentation/session-list-effect-schema.d.ts +1 -1
- package/dist/session/contract.d.ts +9 -9
- package/dist/session/effect-schema.d.ts +21 -21
- package/dist/session/stop-resume-contract.d.ts +2 -2
- package/package.json +1 -1
|
@@ -53,7 +53,7 @@ export declare const agentWorkerOperationResponseSchema: import("../runtime-sche
|
|
|
53
53
|
} | undefined;
|
|
54
54
|
readonly schemaVersion: 4;
|
|
55
55
|
readonly settledReason?: "failed" | "idle" | "stopped" | undefined;
|
|
56
|
-
readonly status?: "approval" | "done" | "ended" | "error" | "idle" | "question" | "starting" | "unknown" | "working" | undefined;
|
|
56
|
+
readonly status?: "approval" | "compacting" | "done" | "ended" | "error" | "idle" | "question" | "rate_limited" | "starting" | "unknown" | "working" | undefined;
|
|
57
57
|
readonly title?: string | undefined;
|
|
58
58
|
readonly worktree?: {
|
|
59
59
|
readonly baseRef: string;
|
|
@@ -280,7 +280,7 @@ export declare const sessionAdoptConfirmResultSchema: import("../runtime-schema/
|
|
|
280
280
|
} | undefined;
|
|
281
281
|
readonly schemaVersion: 4;
|
|
282
282
|
readonly settledReason?: "failed" | "idle" | "stopped" | undefined;
|
|
283
|
-
readonly status?: "approval" | "done" | "ended" | "error" | "idle" | "question" | "starting" | "unknown" | "working" | undefined;
|
|
283
|
+
readonly status?: "approval" | "compacting" | "done" | "ended" | "error" | "idle" | "question" | "rate_limited" | "starting" | "unknown" | "working" | undefined;
|
|
284
284
|
readonly title?: string | undefined;
|
|
285
285
|
readonly worktree?: {
|
|
286
286
|
readonly baseRef: string;
|
|
@@ -328,7 +328,7 @@ export declare const sessionAdoptConfirmResultEffectSchema: Schema.Struct<{
|
|
|
328
328
|
}>>;
|
|
329
329
|
readonly schemaVersion: Schema.Literal<4>;
|
|
330
330
|
readonly settledReason: Schema.optional<Schema.Literals<readonly ["failed", "idle", "stopped"]>>;
|
|
331
|
-
readonly status: Schema.optional<Schema.Literals<readonly ["starting", "working", "idle", "question", "approval", "error", "done", "ended", "unknown"]>>;
|
|
331
|
+
readonly status: Schema.optional<Schema.Literals<readonly ["starting", "working", "compacting", "rate_limited", "idle", "question", "approval", "error", "done", "ended", "unknown"]>>;
|
|
332
332
|
readonly title: Schema.optional<Schema.String>;
|
|
333
333
|
readonly worktree: Schema.optional<Schema.Struct<{
|
|
334
334
|
readonly baseRef: Schema.String;
|
|
@@ -594,7 +594,7 @@ export declare const discoveryResultEffectSchema: Schema.Union<readonly [Schema.
|
|
|
594
594
|
}>>;
|
|
595
595
|
readonly schemaVersion: Schema.Literal<4>;
|
|
596
596
|
readonly settledReason: Schema.optional<Schema.Literals<readonly ["failed", "idle", "stopped"]>>;
|
|
597
|
-
readonly status: Schema.optional<Schema.Literals<readonly ["starting", "working", "idle", "question", "approval", "error", "done", "ended", "unknown"]>>;
|
|
597
|
+
readonly status: Schema.optional<Schema.Literals<readonly ["starting", "working", "compacting", "rate_limited", "idle", "question", "approval", "error", "done", "ended", "unknown"]>>;
|
|
598
598
|
readonly title: Schema.optional<Schema.String>;
|
|
599
599
|
readonly worktree: Schema.optional<Schema.Struct<{
|
|
600
600
|
readonly baseRef: Schema.String;
|
|
@@ -15,11 +15,11 @@ export declare const sessionActivityChangedEffectSchema: Schema.Struct<{
|
|
|
15
15
|
* What a Session is doing, in the words a person or a bot acts on. `question`
|
|
16
16
|
* and `approval` name a prompt that waits for an answer; `done` is an idle
|
|
17
17
|
* Session whose latest turn completed, `error` one whose latest turn failed or
|
|
18
|
-
* whose runtime failed. `
|
|
19
|
-
*
|
|
20
|
-
*
|
|
18
|
+
* whose runtime failed. `compacting` and `rate_limited` come from a harness's
|
|
19
|
+
* own signal for the running turn. `unknown` stands for a stored value this
|
|
20
|
+
* version does not recognize, or a harness signal it cannot read.
|
|
21
21
|
*/
|
|
22
|
-
export declare const sessionStatusEffectSchema: Schema.Literals<readonly ["starting", "working", "idle", "question", "approval", "error", "done", "ended", "unknown"]>;
|
|
22
|
+
export declare const sessionStatusEffectSchema: Schema.Literals<readonly ["starting", "working", "compacting", "rate_limited", "idle", "question", "approval", "error", "done", "ended", "unknown"]>;
|
|
23
23
|
/**
|
|
24
24
|
* The payload of `session.status.changed`. `approvalId` names the approval that
|
|
25
25
|
* holds a waiting Session and goes with `to` of `question` or `approval`; every
|
|
@@ -30,7 +30,7 @@ export declare const sessionStatusEffectSchema: Schema.Literals<readonly ["start
|
|
|
30
30
|
*/
|
|
31
31
|
export declare const sessionStatusChangedEffectSchema: Schema.Struct<{
|
|
32
32
|
readonly approvalId: Schema.optional<Schema.String>;
|
|
33
|
-
readonly from: Schema.NullOr<Schema.Literals<readonly ["starting", "working", "idle", "question", "approval", "error", "done", "ended", "unknown"]>>;
|
|
34
|
-
readonly to: Schema.Literals<readonly ["starting", "working", "idle", "question", "approval", "error", "done", "ended", "unknown"]>;
|
|
33
|
+
readonly from: Schema.NullOr<Schema.Literals<readonly ["starting", "working", "compacting", "rate_limited", "idle", "question", "approval", "error", "done", "ended", "unknown"]>>;
|
|
34
|
+
readonly to: Schema.Literals<readonly ["starting", "working", "compacting", "rate_limited", "idle", "question", "approval", "error", "done", "ended", "unknown"]>;
|
|
35
35
|
}>;
|
|
36
36
|
//# sourceMappingURL=session-activity-effect-schema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"session-activity-effect-schema.d.ts","sourceRoot":"","sources":["../../src/event/session-activity-effect-schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAIxC,qEAAqE;AACrE,eAAO,MAAM,2BAA2B,8EAKtC,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,kCAAkC;;;;EAc9C,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,yBAAyB,
|
|
1
|
+
{"version":3,"file":"session-activity-effect-schema.d.ts","sourceRoot":"","sources":["../../src/event/session-activity-effect-schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAIxC,qEAAqE;AACrE,eAAO,MAAM,2BAA2B,8EAKtC,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,kCAAkC;;;;EAc9C,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,yBAAyB,sJAYpC,CAAC;AAEH;;;;;;;GAOG;AACH,eAAO,MAAM,gCAAgC;;;;EAkB5C,CAAC"}
|
|
@@ -22,13 +22,15 @@ export const sessionActivityChangedEffectSchema = Schema.Struct({
|
|
|
22
22
|
* What a Session is doing, in the words a person or a bot acts on. `question`
|
|
23
23
|
* and `approval` name a prompt that waits for an answer; `done` is an idle
|
|
24
24
|
* Session whose latest turn completed, `error` one whose latest turn failed or
|
|
25
|
-
* whose runtime failed. `
|
|
26
|
-
*
|
|
27
|
-
*
|
|
25
|
+
* whose runtime failed. `compacting` and `rate_limited` come from a harness's
|
|
26
|
+
* own signal for the running turn. `unknown` stands for a stored value this
|
|
27
|
+
* version does not recognize, or a harness signal it cannot read.
|
|
28
28
|
*/
|
|
29
29
|
export const sessionStatusEffectSchema = Schema.Literals([
|
|
30
30
|
"starting",
|
|
31
31
|
"working",
|
|
32
|
+
"compacting",
|
|
33
|
+
"rate_limited",
|
|
32
34
|
"idle",
|
|
33
35
|
"question",
|
|
34
36
|
"approval",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"session-activity-effect-schema.js","sourceRoot":"","sources":["../../src/event/session-activity-effect-schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,8BAA8B,IAAI,EAAE,EAAE,MAAM,8BAA8B,CAAC;AAEpF,qEAAqE;AACrE,MAAM,CAAC,MAAM,2BAA2B,GAAG,MAAM,CAAC,QAAQ,CAAC;IACzD,SAAS;IACT,kBAAkB;IAClB,SAAS;IACT,MAAM;CACP,CAAC,CAAC;AAEH;;;;GAIG;AACH,MAAM,CAAC,MAAM,kCAAkC,GAAG,MAAM,CAAC,MAAM,CAAC;IAC9D,UAAU,EAAE,MAAM,CAAC,QAAQ,CAAC,EAAE,CAAC;IAC/B,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,2BAA2B,CAAC;IAChD,EAAE,EAAE,2BAA2B;CAChC,CAAC,CAAC,KAAK,CACN,MAAM,CAAC,UAAU,CACf,CAAC,OAAO,EAAE,EAAE,CACV,CAAC,OAAO,CAAC,EAAE,KAAK,kBAAkB,CAAC;IACnC,CAAC,OAAO,CAAC,UAAU,KAAK,SAAS,CAAC,CACrC,EACD,MAAM,CAAC,UAAU,CACf,CAAC,OAAO,EAAE,EAAE,CACV,OAAO,CAAC,IAAI,KAAK,OAAO,CAAC,EAAE,IAAI,OAAO,CAAC,EAAE,KAAK,kBAAkB,CACnE,CACF,CAAC;AAEF;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG,MAAM,CAAC,QAAQ,CAAC;IACvD,UAAU;IACV,SAAS;IACT,MAAM;IACN,UAAU;IACV,UAAU;IACV,OAAO;IACP,MAAM;IACN,OAAO;IACP,SAAS;CACV,CAAC,CAAC;AAEH;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAG,MAAM,CAAC,MAAM,CAAC;IAC5D,UAAU,EAAE,MAAM,CAAC,QAAQ,CAAC,EAAE,CAAC;IAC/B,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,yBAAyB,CAAC;IAC9C,EAAE,EAAE,yBAAyB;CAC9B,CAAC,CAAC,KAAK,CACN,MAAM,CAAC,UAAU,CACf,CAAC,OAAO,EAAE,EAAE,CACV,CAAC,OAAO,CAAC,EAAE,KAAK,UAAU,IAAI,OAAO,CAAC,EAAE,KAAK,UAAU,CAAC;IACxD,CAAC,OAAO,CAAC,UAAU,KAAK,SAAS,CAAC,EACpC,EAAE,QAAQ,EAAE,mDAAmD,EAAE,CAClE,EACD,MAAM,CAAC,UAAU,CACf,CAAC,OAAO,EAAE,EAAE,CACV,OAAO,CAAC,IAAI,KAAK,OAAO,CAAC,EAAE;IAC3B,OAAO,CAAC,EAAE,KAAK,UAAU;IACzB,OAAO,CAAC,EAAE,KAAK,UAAU,EAC3B,EAAE,QAAQ,EAAE,iCAAiC,EAAE,CAChD,CACF,CAAC"}
|
|
1
|
+
{"version":3,"file":"session-activity-effect-schema.js","sourceRoot":"","sources":["../../src/event/session-activity-effect-schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,8BAA8B,IAAI,EAAE,EAAE,MAAM,8BAA8B,CAAC;AAEpF,qEAAqE;AACrE,MAAM,CAAC,MAAM,2BAA2B,GAAG,MAAM,CAAC,QAAQ,CAAC;IACzD,SAAS;IACT,kBAAkB;IAClB,SAAS;IACT,MAAM;CACP,CAAC,CAAC;AAEH;;;;GAIG;AACH,MAAM,CAAC,MAAM,kCAAkC,GAAG,MAAM,CAAC,MAAM,CAAC;IAC9D,UAAU,EAAE,MAAM,CAAC,QAAQ,CAAC,EAAE,CAAC;IAC/B,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,2BAA2B,CAAC;IAChD,EAAE,EAAE,2BAA2B;CAChC,CAAC,CAAC,KAAK,CACN,MAAM,CAAC,UAAU,CACf,CAAC,OAAO,EAAE,EAAE,CACV,CAAC,OAAO,CAAC,EAAE,KAAK,kBAAkB,CAAC;IACnC,CAAC,OAAO,CAAC,UAAU,KAAK,SAAS,CAAC,CACrC,EACD,MAAM,CAAC,UAAU,CACf,CAAC,OAAO,EAAE,EAAE,CACV,OAAO,CAAC,IAAI,KAAK,OAAO,CAAC,EAAE,IAAI,OAAO,CAAC,EAAE,KAAK,kBAAkB,CACnE,CACF,CAAC;AAEF;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG,MAAM,CAAC,QAAQ,CAAC;IACvD,UAAU;IACV,SAAS;IACT,YAAY;IACZ,cAAc;IACd,MAAM;IACN,UAAU;IACV,UAAU;IACV,OAAO;IACP,MAAM;IACN,OAAO;IACP,SAAS;CACV,CAAC,CAAC;AAEH;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAG,MAAM,CAAC,MAAM,CAAC;IAC5D,UAAU,EAAE,MAAM,CAAC,QAAQ,CAAC,EAAE,CAAC;IAC/B,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,yBAAyB,CAAC;IAC9C,EAAE,EAAE,yBAAyB;CAC9B,CAAC,CAAC,KAAK,CACN,MAAM,CAAC,UAAU,CACf,CAAC,OAAO,EAAE,EAAE,CACV,CAAC,OAAO,CAAC,EAAE,KAAK,UAAU,IAAI,OAAO,CAAC,EAAE,KAAK,UAAU,CAAC;IACxD,CAAC,OAAO,CAAC,UAAU,KAAK,SAAS,CAAC,EACpC,EAAE,QAAQ,EAAE,mDAAmD,EAAE,CAClE,EACD,MAAM,CAAC,UAAU,CACf,CAAC,OAAO,EAAE,EAAE,CACV,OAAO,CAAC,IAAI,KAAK,OAAO,CAAC,EAAE;IAC3B,OAAO,CAAC,EAAE,KAAK,UAAU;IACzB,OAAO,CAAC,EAAE,KAAK,UAAU,EAC3B,EAAE,QAAQ,EAAE,iCAAiC,EAAE,CAChD,CACF,CAAC"}
|
|
@@ -19,12 +19,12 @@ export type SessionActivityChanged = InferRuntimeSchema<typeof sessionActivityCh
|
|
|
19
19
|
* with a Session's revision or its activity events.
|
|
20
20
|
*/
|
|
21
21
|
export declare const SESSION_STATUS_SUBJECT_TYPE = "session-status";
|
|
22
|
-
export declare const sessionStatusSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<"approval" | "done" | "ended" | "error" | "idle" | "question" | "starting" | "unknown" | "working">;
|
|
22
|
+
export declare const sessionStatusSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<"approval" | "compacting" | "done" | "ended" | "error" | "idle" | "question" | "rate_limited" | "starting" | "unknown" | "working">;
|
|
23
23
|
export type SessionStatus = InferRuntimeSchema<typeof sessionStatusSchema>;
|
|
24
24
|
export declare const sessionStatusChangedSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
25
25
|
readonly approvalId?: string | undefined;
|
|
26
|
-
readonly from: "approval" | "done" | "ended" | "error" | "idle" | "question" | "starting" | "unknown" | "working" | null;
|
|
27
|
-
readonly to: "approval" | "done" | "ended" | "error" | "idle" | "question" | "starting" | "unknown" | "working";
|
|
26
|
+
readonly from: "approval" | "compacting" | "done" | "ended" | "error" | "idle" | "question" | "rate_limited" | "starting" | "unknown" | "working" | null;
|
|
27
|
+
readonly to: "approval" | "compacting" | "done" | "ended" | "error" | "idle" | "question" | "rate_limited" | "starting" | "unknown" | "working";
|
|
28
28
|
}>;
|
|
29
29
|
export type SessionStatusChanged = InferRuntimeSchema<typeof sessionStatusChangedSchema>;
|
|
30
30
|
//# sourceMappingURL=session-activity.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"session-activity.d.ts","sourceRoot":"","sources":["../../src/event/session-activity.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AASrE;;;;GAIG;AACH,eAAO,MAAM,6BAA6B,qBAAqB,CAAC;AAEhE,eAAO,MAAM,qBAAqB,kHAEjC,CAAC;AACF,MAAM,MAAM,eAAe,GAAG,kBAAkB,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAE/E,eAAO,MAAM,4BAA4B;;;;EAExC,CAAC;AACF,MAAM,MAAM,sBAAsB,GAAG,kBAAkB,CACrD,OAAO,4BAA4B,CACpC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,2BAA2B,mBAAmB,CAAC;AAE5D,eAAO,MAAM,mBAAmB,
|
|
1
|
+
{"version":3,"file":"session-activity.d.ts","sourceRoot":"","sources":["../../src/event/session-activity.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AASrE;;;;GAIG;AACH,eAAO,MAAM,6BAA6B,qBAAqB,CAAC;AAEhE,eAAO,MAAM,qBAAqB,kHAEjC,CAAC;AACF,MAAM,MAAM,eAAe,GAAG,kBAAkB,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAE/E,eAAO,MAAM,4BAA4B;;;;EAExC,CAAC;AACF,MAAM,MAAM,sBAAsB,GAAG,kBAAkB,CACrD,OAAO,4BAA4B,CACpC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,2BAA2B,mBAAmB,CAAC;AAE5D,eAAO,MAAM,mBAAmB,iMAE/B,CAAC;AACF,MAAM,MAAM,aAAa,GAAG,kBAAkB,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAE3E,eAAO,MAAM,0BAA0B;;;;EAEtC,CAAC;AACF,MAAM,MAAM,oBAAoB,GAAG,kBAAkB,CACnD,OAAO,0BAA0B,CAClC,CAAC"}
|
|
@@ -122,7 +122,7 @@ export declare const presentationSessionListResultSchema: import("../runtime-sch
|
|
|
122
122
|
} | undefined;
|
|
123
123
|
readonly schemaVersion: 4;
|
|
124
124
|
readonly settledReason?: "failed" | "idle" | "stopped" | undefined;
|
|
125
|
-
readonly status?: "approval" | "done" | "ended" | "error" | "idle" | "question" | "starting" | "unknown" | "working" | undefined;
|
|
125
|
+
readonly status?: "approval" | "compacting" | "done" | "ended" | "error" | "idle" | "question" | "rate_limited" | "starting" | "unknown" | "working" | undefined;
|
|
126
126
|
readonly title?: string | undefined;
|
|
127
127
|
readonly worktree?: {
|
|
128
128
|
readonly baseRef: string;
|
|
@@ -221,7 +221,7 @@ export declare const presentationResultEffectSchema: Schema.Union<readonly [Sche
|
|
|
221
221
|
}>>;
|
|
222
222
|
readonly schemaVersion: Schema.Literal<4>;
|
|
223
223
|
readonly settledReason: Schema.optional<Schema.Literals<readonly ["failed", "idle", "stopped"]>>;
|
|
224
|
-
readonly status: Schema.optional<Schema.Literals<readonly ["starting", "working", "idle", "question", "approval", "error", "done", "ended", "unknown"]>>;
|
|
224
|
+
readonly status: Schema.optional<Schema.Literals<readonly ["starting", "working", "compacting", "rate_limited", "idle", "question", "approval", "error", "done", "ended", "unknown"]>>;
|
|
225
225
|
readonly title: Schema.optional<Schema.String>;
|
|
226
226
|
readonly worktree: Schema.optional<Schema.Struct<{
|
|
227
227
|
readonly baseRef: Schema.String;
|
|
@@ -138,7 +138,7 @@ export declare const presentationSessionListResultEffectSchema: Schema.Struct<{
|
|
|
138
138
|
}>>;
|
|
139
139
|
readonly schemaVersion: Schema.Literal<4>;
|
|
140
140
|
readonly settledReason: Schema.optional<Schema.Literals<readonly ["failed", "idle", "stopped"]>>;
|
|
141
|
-
readonly status: Schema.optional<Schema.Literals<readonly ["starting", "working", "idle", "question", "approval", "error", "done", "ended", "unknown"]>>;
|
|
141
|
+
readonly status: Schema.optional<Schema.Literals<readonly ["starting", "working", "compacting", "rate_limited", "idle", "question", "approval", "error", "done", "ended", "unknown"]>>;
|
|
142
142
|
readonly title: Schema.optional<Schema.String>;
|
|
143
143
|
readonly worktree: Schema.optional<Schema.Struct<{
|
|
144
144
|
readonly baseRef: Schema.String;
|
|
@@ -45,7 +45,7 @@ export declare const sessionSchema: import("../runtime-schema/runtime-schema.js"
|
|
|
45
45
|
} | undefined;
|
|
46
46
|
readonly schemaVersion: 4;
|
|
47
47
|
readonly settledReason?: "failed" | "idle" | "stopped" | undefined;
|
|
48
|
-
readonly status?: "approval" | "done" | "ended" | "error" | "idle" | "question" | "starting" | "unknown" | "working" | undefined;
|
|
48
|
+
readonly status?: "approval" | "compacting" | "done" | "ended" | "error" | "idle" | "question" | "rate_limited" | "starting" | "unknown" | "working" | undefined;
|
|
49
49
|
readonly title?: string | undefined;
|
|
50
50
|
readonly worktree?: {
|
|
51
51
|
readonly baseRef: string;
|
|
@@ -471,7 +471,7 @@ export declare const sessionWaitResultSchema: import("../runtime-schema/runtime-
|
|
|
471
471
|
} | undefined;
|
|
472
472
|
readonly schemaVersion: 4;
|
|
473
473
|
readonly settledReason?: "failed" | "idle" | "stopped" | undefined;
|
|
474
|
-
readonly status?: "approval" | "done" | "ended" | "error" | "idle" | "question" | "starting" | "unknown" | "working" | undefined;
|
|
474
|
+
readonly status?: "approval" | "compacting" | "done" | "ended" | "error" | "idle" | "question" | "rate_limited" | "starting" | "unknown" | "working" | undefined;
|
|
475
475
|
readonly title?: string | undefined;
|
|
476
476
|
readonly worktree?: {
|
|
477
477
|
readonly baseRef: string;
|
|
@@ -565,7 +565,7 @@ export declare const sessionSpawnResultSchema: import("../runtime-schema/runtime
|
|
|
565
565
|
} | undefined;
|
|
566
566
|
readonly schemaVersion: 4;
|
|
567
567
|
readonly settledReason?: "failed" | "idle" | "stopped" | undefined;
|
|
568
|
-
readonly status?: "approval" | "done" | "ended" | "error" | "idle" | "question" | "starting" | "unknown" | "working" | undefined;
|
|
568
|
+
readonly status?: "approval" | "compacting" | "done" | "ended" | "error" | "idle" | "question" | "rate_limited" | "starting" | "unknown" | "working" | undefined;
|
|
569
569
|
readonly title?: string | undefined;
|
|
570
570
|
readonly worktree?: {
|
|
571
571
|
readonly baseRef: string;
|
|
@@ -650,7 +650,7 @@ export declare const sessionCreateResultSchema: import("../runtime-schema/runtim
|
|
|
650
650
|
} | undefined;
|
|
651
651
|
readonly schemaVersion: 4;
|
|
652
652
|
readonly settledReason?: "failed" | "idle" | "stopped" | undefined;
|
|
653
|
-
readonly status?: "approval" | "done" | "ended" | "error" | "idle" | "question" | "starting" | "unknown" | "working" | undefined;
|
|
653
|
+
readonly status?: "approval" | "compacting" | "done" | "ended" | "error" | "idle" | "question" | "rate_limited" | "starting" | "unknown" | "working" | undefined;
|
|
654
654
|
readonly title?: string | undefined;
|
|
655
655
|
readonly worktree?: {
|
|
656
656
|
readonly baseRef: string;
|
|
@@ -833,7 +833,7 @@ export declare const sessionListResultSchema: import("../runtime-schema/runtime-
|
|
|
833
833
|
} | undefined;
|
|
834
834
|
readonly schemaVersion: 4;
|
|
835
835
|
readonly settledReason?: "failed" | "idle" | "stopped" | undefined;
|
|
836
|
-
readonly status?: "approval" | "done" | "ended" | "error" | "idle" | "question" | "starting" | "unknown" | "working" | undefined;
|
|
836
|
+
readonly status?: "approval" | "compacting" | "done" | "ended" | "error" | "idle" | "question" | "rate_limited" | "starting" | "unknown" | "working" | undefined;
|
|
837
837
|
readonly title?: string | undefined;
|
|
838
838
|
readonly worktree?: {
|
|
839
839
|
readonly baseRef: string;
|
|
@@ -897,7 +897,7 @@ export declare const sessionShowResultSchema: import("../runtime-schema/runtime-
|
|
|
897
897
|
} | undefined;
|
|
898
898
|
readonly schemaVersion: 4;
|
|
899
899
|
readonly settledReason?: "failed" | "idle" | "stopped" | undefined;
|
|
900
|
-
readonly status?: "approval" | "done" | "ended" | "error" | "idle" | "question" | "starting" | "unknown" | "working" | undefined;
|
|
900
|
+
readonly status?: "approval" | "compacting" | "done" | "ended" | "error" | "idle" | "question" | "rate_limited" | "starting" | "unknown" | "working" | undefined;
|
|
901
901
|
readonly title?: string | undefined;
|
|
902
902
|
readonly worktree?: {
|
|
903
903
|
readonly baseRef: string;
|
|
@@ -1212,7 +1212,7 @@ export declare const sessionStartResultSchema: import("../runtime-schema/runtime
|
|
|
1212
1212
|
} | undefined;
|
|
1213
1213
|
readonly schemaVersion: 4;
|
|
1214
1214
|
readonly settledReason?: "failed" | "idle" | "stopped" | undefined;
|
|
1215
|
-
readonly status?: "approval" | "done" | "ended" | "error" | "idle" | "question" | "starting" | "unknown" | "working" | undefined;
|
|
1215
|
+
readonly status?: "approval" | "compacting" | "done" | "ended" | "error" | "idle" | "question" | "rate_limited" | "starting" | "unknown" | "working" | undefined;
|
|
1216
1216
|
readonly title?: string | undefined;
|
|
1217
1217
|
readonly worktree?: {
|
|
1218
1218
|
readonly baseRef: string;
|
|
@@ -1344,7 +1344,7 @@ export declare const sessionArchiveResultSchema: import("../runtime-schema/runti
|
|
|
1344
1344
|
} | undefined;
|
|
1345
1345
|
readonly schemaVersion: 4;
|
|
1346
1346
|
readonly settledReason?: "failed" | "idle" | "stopped" | undefined;
|
|
1347
|
-
readonly status?: "approval" | "done" | "ended" | "error" | "idle" | "question" | "starting" | "unknown" | "working" | undefined;
|
|
1347
|
+
readonly status?: "approval" | "compacting" | "done" | "ended" | "error" | "idle" | "question" | "rate_limited" | "starting" | "unknown" | "working" | undefined;
|
|
1348
1348
|
readonly title?: string | undefined;
|
|
1349
1349
|
readonly worktree?: {
|
|
1350
1350
|
readonly baseRef: string;
|
|
@@ -1432,7 +1432,7 @@ export declare const sessionRenameResultSchema: import("../runtime-schema/runtim
|
|
|
1432
1432
|
} | undefined;
|
|
1433
1433
|
readonly schemaVersion: 4;
|
|
1434
1434
|
readonly settledReason?: "failed" | "idle" | "stopped" | undefined;
|
|
1435
|
-
readonly status?: "approval" | "done" | "ended" | "error" | "idle" | "question" | "starting" | "unknown" | "working" | undefined;
|
|
1435
|
+
readonly status?: "approval" | "compacting" | "done" | "ended" | "error" | "idle" | "question" | "rate_limited" | "starting" | "unknown" | "working" | undefined;
|
|
1436
1436
|
readonly title?: string | undefined;
|
|
1437
1437
|
readonly worktree?: {
|
|
1438
1438
|
readonly baseRef: string;
|
|
@@ -86,7 +86,7 @@ export declare const sessionEffectSchema: Schema.Struct<{
|
|
|
86
86
|
/** Why `session.list` with `settled` returned this Session: `stopped` or `failed` by state, `idle` after its idle time. */
|
|
87
87
|
readonly settledReason: Schema.optional<Schema.Literals<readonly ["failed", "idle", "stopped"]>>;
|
|
88
88
|
/** What the Session is doing; present on `session.list` and `session.show`. */
|
|
89
|
-
readonly status: Schema.optional<Schema.Literals<readonly ["starting", "working", "idle", "question", "approval", "error", "done", "ended", "unknown"]>>;
|
|
89
|
+
readonly status: Schema.optional<Schema.Literals<readonly ["starting", "working", "compacting", "rate_limited", "idle", "question", "approval", "error", "done", "ended", "unknown"]>>;
|
|
90
90
|
/** Set at creation or by a rename; otherwise the first line of the first turn. */
|
|
91
91
|
readonly title: Schema.optional<Schema.String>;
|
|
92
92
|
/** A coding Session's own worktree; a reading Session has none. */
|
|
@@ -712,7 +712,7 @@ export declare const sessionCreateResultEffectSchema: Schema.Struct<{
|
|
|
712
712
|
/** Why `session.list` with `settled` returned this Session: `stopped` or `failed` by state, `idle` after its idle time. */
|
|
713
713
|
readonly settledReason: Schema.optional<Schema.Literals<readonly ["failed", "idle", "stopped"]>>;
|
|
714
714
|
/** What the Session is doing; present on `session.list` and `session.show`. */
|
|
715
|
-
readonly status: Schema.optional<Schema.Literals<readonly ["starting", "working", "idle", "question", "approval", "error", "done", "ended", "unknown"]>>;
|
|
715
|
+
readonly status: Schema.optional<Schema.Literals<readonly ["starting", "working", "compacting", "rate_limited", "idle", "question", "approval", "error", "done", "ended", "unknown"]>>;
|
|
716
716
|
/** Set at creation or by a rename; otherwise the first line of the first turn. */
|
|
717
717
|
readonly title: Schema.optional<Schema.String>;
|
|
718
718
|
/** A coding Session's own worktree; a reading Session has none. */
|
|
@@ -813,7 +813,7 @@ export declare const sessionSpawnResultEffectSchema: Schema.Struct<{
|
|
|
813
813
|
/** Why `session.list` with `settled` returned this Session: `stopped` or `failed` by state, `idle` after its idle time. */
|
|
814
814
|
readonly settledReason: Schema.optional<Schema.Literals<readonly ["failed", "idle", "stopped"]>>;
|
|
815
815
|
/** What the Session is doing; present on `session.list` and `session.show`. */
|
|
816
|
-
readonly status: Schema.optional<Schema.Literals<readonly ["starting", "working", "idle", "question", "approval", "error", "done", "ended", "unknown"]>>;
|
|
816
|
+
readonly status: Schema.optional<Schema.Literals<readonly ["starting", "working", "compacting", "rate_limited", "idle", "question", "approval", "error", "done", "ended", "unknown"]>>;
|
|
817
817
|
/** Set at creation or by a rename; otherwise the first line of the first turn. */
|
|
818
818
|
readonly title: Schema.optional<Schema.String>;
|
|
819
819
|
/** A coding Session's own worktree; a reading Session has none. */
|
|
@@ -898,7 +898,7 @@ export declare const sessionListResultEffectSchema: Schema.Struct<{
|
|
|
898
898
|
/** Why `session.list` with `settled` returned this Session: `stopped` or `failed` by state, `idle` after its idle time. */
|
|
899
899
|
readonly settledReason: Schema.optional<Schema.Literals<readonly ["failed", "idle", "stopped"]>>;
|
|
900
900
|
/** What the Session is doing; present on `session.list` and `session.show`. */
|
|
901
|
-
readonly status: Schema.optional<Schema.Literals<readonly ["starting", "working", "idle", "question", "approval", "error", "done", "ended", "unknown"]>>;
|
|
901
|
+
readonly status: Schema.optional<Schema.Literals<readonly ["starting", "working", "compacting", "rate_limited", "idle", "question", "approval", "error", "done", "ended", "unknown"]>>;
|
|
902
902
|
/** Set at creation or by a rename; otherwise the first line of the first turn. */
|
|
903
903
|
readonly title: Schema.optional<Schema.String>;
|
|
904
904
|
/** A coding Session's own worktree; a reading Session has none. */
|
|
@@ -982,7 +982,7 @@ export declare const sessionShowResultEffectSchema: Schema.Struct<{
|
|
|
982
982
|
/** Why `session.list` with `settled` returned this Session: `stopped` or `failed` by state, `idle` after its idle time. */
|
|
983
983
|
readonly settledReason: Schema.optional<Schema.Literals<readonly ["failed", "idle", "stopped"]>>;
|
|
984
984
|
/** What the Session is doing; present on `session.list` and `session.show`. */
|
|
985
|
-
readonly status: Schema.optional<Schema.Literals<readonly ["starting", "working", "idle", "question", "approval", "error", "done", "ended", "unknown"]>>;
|
|
985
|
+
readonly status: Schema.optional<Schema.Literals<readonly ["starting", "working", "compacting", "rate_limited", "idle", "question", "approval", "error", "done", "ended", "unknown"]>>;
|
|
986
986
|
/** Set at creation or by a rename; otherwise the first line of the first turn. */
|
|
987
987
|
readonly title: Schema.optional<Schema.String>;
|
|
988
988
|
/** A coding Session's own worktree; a reading Session has none. */
|
|
@@ -1066,7 +1066,7 @@ export declare const sessionWaitResultEffectSchema: Schema.Struct<{
|
|
|
1066
1066
|
/** Why `session.list` with `settled` returned this Session: `stopped` or `failed` by state, `idle` after its idle time. */
|
|
1067
1067
|
readonly settledReason: Schema.optional<Schema.Literals<readonly ["failed", "idle", "stopped"]>>;
|
|
1068
1068
|
/** What the Session is doing; present on `session.list` and `session.show`. */
|
|
1069
|
-
readonly status: Schema.optional<Schema.Literals<readonly ["starting", "working", "idle", "question", "approval", "error", "done", "ended", "unknown"]>>;
|
|
1069
|
+
readonly status: Schema.optional<Schema.Literals<readonly ["starting", "working", "compacting", "rate_limited", "idle", "question", "approval", "error", "done", "ended", "unknown"]>>;
|
|
1070
1070
|
/** Set at creation or by a rename; otherwise the first line of the first turn. */
|
|
1071
1071
|
readonly title: Schema.optional<Schema.String>;
|
|
1072
1072
|
/** A coding Session's own worktree; a reading Session has none. */
|
|
@@ -1396,7 +1396,7 @@ export declare const sessionStartResultEffectSchema: Schema.Struct<{
|
|
|
1396
1396
|
/** Why `session.list` with `settled` returned this Session: `stopped` or `failed` by state, `idle` after its idle time. */
|
|
1397
1397
|
readonly settledReason: Schema.optional<Schema.Literals<readonly ["failed", "idle", "stopped"]>>;
|
|
1398
1398
|
/** What the Session is doing; present on `session.list` and `session.show`. */
|
|
1399
|
-
readonly status: Schema.optional<Schema.Literals<readonly ["starting", "working", "idle", "question", "approval", "error", "done", "ended", "unknown"]>>;
|
|
1399
|
+
readonly status: Schema.optional<Schema.Literals<readonly ["starting", "working", "compacting", "rate_limited", "idle", "question", "approval", "error", "done", "ended", "unknown"]>>;
|
|
1400
1400
|
/** Set at creation or by a rename; otherwise the first line of the first turn. */
|
|
1401
1401
|
readonly title: Schema.optional<Schema.String>;
|
|
1402
1402
|
/** A coding Session's own worktree; a reading Session has none. */
|
|
@@ -1495,7 +1495,7 @@ export declare const sessionStopResultEffectSchema: Schema.Struct<{
|
|
|
1495
1495
|
/** Why `session.list` with `settled` returned this Session: `stopped` or `failed` by state, `idle` after its idle time. */
|
|
1496
1496
|
readonly settledReason: Schema.optional<Schema.Literals<readonly ["failed", "idle", "stopped"]>>;
|
|
1497
1497
|
/** What the Session is doing; present on `session.list` and `session.show`. */
|
|
1498
|
-
readonly status: Schema.optional<Schema.Literals<readonly ["starting", "working", "idle", "question", "approval", "error", "done", "ended", "unknown"]>>;
|
|
1498
|
+
readonly status: Schema.optional<Schema.Literals<readonly ["starting", "working", "compacting", "rate_limited", "idle", "question", "approval", "error", "done", "ended", "unknown"]>>;
|
|
1499
1499
|
/** Set at creation or by a rename; otherwise the first line of the first turn. */
|
|
1500
1500
|
readonly title: Schema.optional<Schema.String>;
|
|
1501
1501
|
/** A coding Session's own worktree; a reading Session has none. */
|
|
@@ -1594,7 +1594,7 @@ export declare const sessionResumeResultEffectSchema: Schema.Struct<{
|
|
|
1594
1594
|
/** Why `session.list` with `settled` returned this Session: `stopped` or `failed` by state, `idle` after its idle time. */
|
|
1595
1595
|
readonly settledReason: Schema.optional<Schema.Literals<readonly ["failed", "idle", "stopped"]>>;
|
|
1596
1596
|
/** What the Session is doing; present on `session.list` and `session.show`. */
|
|
1597
|
-
readonly status: Schema.optional<Schema.Literals<readonly ["starting", "working", "idle", "question", "approval", "error", "done", "ended", "unknown"]>>;
|
|
1597
|
+
readonly status: Schema.optional<Schema.Literals<readonly ["starting", "working", "compacting", "rate_limited", "idle", "question", "approval", "error", "done", "ended", "unknown"]>>;
|
|
1598
1598
|
/** Set at creation or by a rename; otherwise the first line of the first turn. */
|
|
1599
1599
|
readonly title: Schema.optional<Schema.String>;
|
|
1600
1600
|
/** A coding Session's own worktree; a reading Session has none. */
|
|
@@ -1693,7 +1693,7 @@ export declare const sessionRenameResultEffectSchema: Schema.Struct<{
|
|
|
1693
1693
|
/** Why `session.list` with `settled` returned this Session: `stopped` or `failed` by state, `idle` after its idle time. */
|
|
1694
1694
|
readonly settledReason: Schema.optional<Schema.Literals<readonly ["failed", "idle", "stopped"]>>;
|
|
1695
1695
|
/** What the Session is doing; present on `session.list` and `session.show`. */
|
|
1696
|
-
readonly status: Schema.optional<Schema.Literals<readonly ["starting", "working", "idle", "question", "approval", "error", "done", "ended", "unknown"]>>;
|
|
1696
|
+
readonly status: Schema.optional<Schema.Literals<readonly ["starting", "working", "compacting", "rate_limited", "idle", "question", "approval", "error", "done", "ended", "unknown"]>>;
|
|
1697
1697
|
/** Set at creation or by a rename; otherwise the first line of the first turn. */
|
|
1698
1698
|
readonly title: Schema.optional<Schema.String>;
|
|
1699
1699
|
/** A coding Session's own worktree; a reading Session has none. */
|
|
@@ -1803,7 +1803,7 @@ export declare const sessionArchiveResultEffectSchema: Schema.Struct<{
|
|
|
1803
1803
|
/** Why `session.list` with `settled` returned this Session: `stopped` or `failed` by state, `idle` after its idle time. */
|
|
1804
1804
|
readonly settledReason: Schema.optional<Schema.Literals<readonly ["failed", "idle", "stopped"]>>;
|
|
1805
1805
|
/** What the Session is doing; present on `session.list` and `session.show`. */
|
|
1806
|
-
readonly status: Schema.optional<Schema.Literals<readonly ["starting", "working", "idle", "question", "approval", "error", "done", "ended", "unknown"]>>;
|
|
1806
|
+
readonly status: Schema.optional<Schema.Literals<readonly ["starting", "working", "compacting", "rate_limited", "idle", "question", "approval", "error", "done", "ended", "unknown"]>>;
|
|
1807
1807
|
/** Set at creation or by a rename; otherwise the first line of the first turn. */
|
|
1808
1808
|
readonly title: Schema.optional<Schema.String>;
|
|
1809
1809
|
/** A coding Session's own worktree; a reading Session has none. */
|
|
@@ -2054,7 +2054,7 @@ export declare const sessionSuccessResultEffectSchema: Schema.Union<readonly [Sc
|
|
|
2054
2054
|
/** Why `session.list` with `settled` returned this Session: `stopped` or `failed` by state, `idle` after its idle time. */
|
|
2055
2055
|
readonly settledReason: Schema.optional<Schema.Literals<readonly ["failed", "idle", "stopped"]>>;
|
|
2056
2056
|
/** What the Session is doing; present on `session.list` and `session.show`. */
|
|
2057
|
-
readonly status: Schema.optional<Schema.Literals<readonly ["starting", "working", "idle", "question", "approval", "error", "done", "ended", "unknown"]>>;
|
|
2057
|
+
readonly status: Schema.optional<Schema.Literals<readonly ["starting", "working", "compacting", "rate_limited", "idle", "question", "approval", "error", "done", "ended", "unknown"]>>;
|
|
2058
2058
|
/** Set at creation or by a rename; otherwise the first line of the first turn. */
|
|
2059
2059
|
readonly title: Schema.optional<Schema.String>;
|
|
2060
2060
|
/** A coding Session's own worktree; a reading Session has none. */
|
|
@@ -2217,7 +2217,7 @@ export declare const sessionSuccessResultEffectSchema: Schema.Union<readonly [Sc
|
|
|
2217
2217
|
/** Why `session.list` with `settled` returned this Session: `stopped` or `failed` by state, `idle` after its idle time. */
|
|
2218
2218
|
readonly settledReason: Schema.optional<Schema.Literals<readonly ["failed", "idle", "stopped"]>>;
|
|
2219
2219
|
/** What the Session is doing; present on `session.list` and `session.show`. */
|
|
2220
|
-
readonly status: Schema.optional<Schema.Literals<readonly ["starting", "working", "idle", "question", "approval", "error", "done", "ended", "unknown"]>>;
|
|
2220
|
+
readonly status: Schema.optional<Schema.Literals<readonly ["starting", "working", "compacting", "rate_limited", "idle", "question", "approval", "error", "done", "ended", "unknown"]>>;
|
|
2221
2221
|
/** Set at creation or by a rename; otherwise the first line of the first turn. */
|
|
2222
2222
|
readonly title: Schema.optional<Schema.String>;
|
|
2223
2223
|
/** A coding Session's own worktree; a reading Session has none. */
|
|
@@ -2366,7 +2366,7 @@ export declare const sessionSuccessResultEffectSchema: Schema.Union<readonly [Sc
|
|
|
2366
2366
|
/** Why `session.list` with `settled` returned this Session: `stopped` or `failed` by state, `idle` after its idle time. */
|
|
2367
2367
|
readonly settledReason: Schema.optional<Schema.Literals<readonly ["failed", "idle", "stopped"]>>;
|
|
2368
2368
|
/** What the Session is doing; present on `session.list` and `session.show`. */
|
|
2369
|
-
readonly status: Schema.optional<Schema.Literals<readonly ["starting", "working", "idle", "question", "approval", "error", "done", "ended", "unknown"]>>;
|
|
2369
|
+
readonly status: Schema.optional<Schema.Literals<readonly ["starting", "working", "compacting", "rate_limited", "idle", "question", "approval", "error", "done", "ended", "unknown"]>>;
|
|
2370
2370
|
/** Set at creation or by a rename; otherwise the first line of the first turn. */
|
|
2371
2371
|
readonly title: Schema.optional<Schema.String>;
|
|
2372
2372
|
/** A coding Session's own worktree; a reading Session has none. */
|
|
@@ -2448,7 +2448,7 @@ export declare const sessionSuccessResultEffectSchema: Schema.Union<readonly [Sc
|
|
|
2448
2448
|
/** Why `session.list` with `settled` returned this Session: `stopped` or `failed` by state, `idle` after its idle time. */
|
|
2449
2449
|
readonly settledReason: Schema.optional<Schema.Literals<readonly ["failed", "idle", "stopped"]>>;
|
|
2450
2450
|
/** What the Session is doing; present on `session.list` and `session.show`. */
|
|
2451
|
-
readonly status: Schema.optional<Schema.Literals<readonly ["starting", "working", "idle", "question", "approval", "error", "done", "ended", "unknown"]>>;
|
|
2451
|
+
readonly status: Schema.optional<Schema.Literals<readonly ["starting", "working", "compacting", "rate_limited", "idle", "question", "approval", "error", "done", "ended", "unknown"]>>;
|
|
2452
2452
|
/** Set at creation or by a rename; otherwise the first line of the first turn. */
|
|
2453
2453
|
readonly title: Schema.optional<Schema.String>;
|
|
2454
2454
|
/** A coding Session's own worktree; a reading Session has none. */
|
|
@@ -2548,7 +2548,7 @@ export declare const sessionSuccessResultEffectSchema: Schema.Union<readonly [Sc
|
|
|
2548
2548
|
/** Why `session.list` with `settled` returned this Session: `stopped` or `failed` by state, `idle` after its idle time. */
|
|
2549
2549
|
readonly settledReason: Schema.optional<Schema.Literals<readonly ["failed", "idle", "stopped"]>>;
|
|
2550
2550
|
/** What the Session is doing; present on `session.list` and `session.show`. */
|
|
2551
|
-
readonly status: Schema.optional<Schema.Literals<readonly ["starting", "working", "idle", "question", "approval", "error", "done", "ended", "unknown"]>>;
|
|
2551
|
+
readonly status: Schema.optional<Schema.Literals<readonly ["starting", "working", "compacting", "rate_limited", "idle", "question", "approval", "error", "done", "ended", "unknown"]>>;
|
|
2552
2552
|
/** Set at creation or by a rename; otherwise the first line of the first turn. */
|
|
2553
2553
|
readonly title: Schema.optional<Schema.String>;
|
|
2554
2554
|
/** A coding Session's own worktree; a reading Session has none. */
|
|
@@ -2876,7 +2876,7 @@ export declare const sessionSuccessResultEffectSchema: Schema.Union<readonly [Sc
|
|
|
2876
2876
|
/** Why `session.list` with `settled` returned this Session: `stopped` or `failed` by state, `idle` after its idle time. */
|
|
2877
2877
|
readonly settledReason: Schema.optional<Schema.Literals<readonly ["failed", "idle", "stopped"]>>;
|
|
2878
2878
|
/** What the Session is doing; present on `session.list` and `session.show`. */
|
|
2879
|
-
readonly status: Schema.optional<Schema.Literals<readonly ["starting", "working", "idle", "question", "approval", "error", "done", "ended", "unknown"]>>;
|
|
2879
|
+
readonly status: Schema.optional<Schema.Literals<readonly ["starting", "working", "compacting", "rate_limited", "idle", "question", "approval", "error", "done", "ended", "unknown"]>>;
|
|
2880
2880
|
/** Set at creation or by a rename; otherwise the first line of the first turn. */
|
|
2881
2881
|
readonly title: Schema.optional<Schema.String>;
|
|
2882
2882
|
/** A coding Session's own worktree; a reading Session has none. */
|
|
@@ -2974,7 +2974,7 @@ export declare const sessionSuccessResultEffectSchema: Schema.Union<readonly [Sc
|
|
|
2974
2974
|
/** Why `session.list` with `settled` returned this Session: `stopped` or `failed` by state, `idle` after its idle time. */
|
|
2975
2975
|
readonly settledReason: Schema.optional<Schema.Literals<readonly ["failed", "idle", "stopped"]>>;
|
|
2976
2976
|
/** What the Session is doing; present on `session.list` and `session.show`. */
|
|
2977
|
-
readonly status: Schema.optional<Schema.Literals<readonly ["starting", "working", "idle", "question", "approval", "error", "done", "ended", "unknown"]>>;
|
|
2977
|
+
readonly status: Schema.optional<Schema.Literals<readonly ["starting", "working", "compacting", "rate_limited", "idle", "question", "approval", "error", "done", "ended", "unknown"]>>;
|
|
2978
2978
|
/** Set at creation or by a rename; otherwise the first line of the first turn. */
|
|
2979
2979
|
readonly title: Schema.optional<Schema.String>;
|
|
2980
2980
|
/** A coding Session's own worktree; a reading Session has none. */
|
|
@@ -3072,7 +3072,7 @@ export declare const sessionSuccessResultEffectSchema: Schema.Union<readonly [Sc
|
|
|
3072
3072
|
/** Why `session.list` with `settled` returned this Session: `stopped` or `failed` by state, `idle` after its idle time. */
|
|
3073
3073
|
readonly settledReason: Schema.optional<Schema.Literals<readonly ["failed", "idle", "stopped"]>>;
|
|
3074
3074
|
/** What the Session is doing; present on `session.list` and `session.show`. */
|
|
3075
|
-
readonly status: Schema.optional<Schema.Literals<readonly ["starting", "working", "idle", "question", "approval", "error", "done", "ended", "unknown"]>>;
|
|
3075
|
+
readonly status: Schema.optional<Schema.Literals<readonly ["starting", "working", "compacting", "rate_limited", "idle", "question", "approval", "error", "done", "ended", "unknown"]>>;
|
|
3076
3076
|
/** Set at creation or by a rename; otherwise the first line of the first turn. */
|
|
3077
3077
|
readonly title: Schema.optional<Schema.String>;
|
|
3078
3078
|
/** A coding Session's own worktree; a reading Session has none. */
|
|
@@ -3193,7 +3193,7 @@ export declare const sessionSuccessResultEffectSchema: Schema.Union<readonly [Sc
|
|
|
3193
3193
|
/** Why `session.list` with `settled` returned this Session: `stopped` or `failed` by state, `idle` after its idle time. */
|
|
3194
3194
|
readonly settledReason: Schema.optional<Schema.Literals<readonly ["failed", "idle", "stopped"]>>;
|
|
3195
3195
|
/** What the Session is doing; present on `session.list` and `session.show`. */
|
|
3196
|
-
readonly status: Schema.optional<Schema.Literals<readonly ["starting", "working", "idle", "question", "approval", "error", "done", "ended", "unknown"]>>;
|
|
3196
|
+
readonly status: Schema.optional<Schema.Literals<readonly ["starting", "working", "compacting", "rate_limited", "idle", "question", "approval", "error", "done", "ended", "unknown"]>>;
|
|
3197
3197
|
/** Set at creation or by a rename; otherwise the first line of the first turn. */
|
|
3198
3198
|
readonly title: Schema.optional<Schema.String>;
|
|
3199
3199
|
/** A coding Session's own worktree; a reading Session has none. */
|
|
@@ -3294,7 +3294,7 @@ export declare const sessionSuccessResultEffectSchema: Schema.Union<readonly [Sc
|
|
|
3294
3294
|
/** Why `session.list` with `settled` returned this Session: `stopped` or `failed` by state, `idle` after its idle time. */
|
|
3295
3295
|
readonly settledReason: Schema.optional<Schema.Literals<readonly ["failed", "idle", "stopped"]>>;
|
|
3296
3296
|
/** What the Session is doing; present on `session.list` and `session.show`. */
|
|
3297
|
-
readonly status: Schema.optional<Schema.Literals<readonly ["starting", "working", "idle", "question", "approval", "error", "done", "ended", "unknown"]>>;
|
|
3297
|
+
readonly status: Schema.optional<Schema.Literals<readonly ["starting", "working", "compacting", "rate_limited", "idle", "question", "approval", "error", "done", "ended", "unknown"]>>;
|
|
3298
3298
|
/** Set at creation or by a rename; otherwise the first line of the first turn. */
|
|
3299
3299
|
readonly title: Schema.optional<Schema.String>;
|
|
3300
3300
|
/** A coding Session's own worktree; a reading Session has none. */
|
|
@@ -68,7 +68,7 @@ export declare const sessionStopResultSchema: import("../runtime-schema/runtime-
|
|
|
68
68
|
} | undefined;
|
|
69
69
|
readonly schemaVersion: 4;
|
|
70
70
|
readonly settledReason?: "failed" | "idle" | "stopped" | undefined;
|
|
71
|
-
readonly status?: "approval" | "done" | "ended" | "error" | "idle" | "question" | "starting" | "unknown" | "working" | undefined;
|
|
71
|
+
readonly status?: "approval" | "compacting" | "done" | "ended" | "error" | "idle" | "question" | "rate_limited" | "starting" | "unknown" | "working" | undefined;
|
|
72
72
|
readonly title?: string | undefined;
|
|
73
73
|
readonly worktree?: {
|
|
74
74
|
readonly baseRef: string;
|
|
@@ -153,7 +153,7 @@ export declare const sessionResumeResultSchema: import("../runtime-schema/runtim
|
|
|
153
153
|
} | undefined;
|
|
154
154
|
readonly schemaVersion: 4;
|
|
155
155
|
readonly settledReason?: "failed" | "idle" | "stopped" | undefined;
|
|
156
|
-
readonly status?: "approval" | "done" | "ended" | "error" | "idle" | "question" | "starting" | "unknown" | "working" | undefined;
|
|
156
|
+
readonly status?: "approval" | "compacting" | "done" | "ended" | "error" | "idle" | "question" | "rate_limited" | "starting" | "unknown" | "working" | undefined;
|
|
157
157
|
readonly title?: string | undefined;
|
|
158
158
|
readonly worktree?: {
|
|
159
159
|
readonly baseRef: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maiaos/protocol",
|
|
3
|
-
"version": "0.1.0-canary.
|
|
3
|
+
"version": "0.1.0-canary.59",
|
|
4
4
|
"description": "Operation registry and Effect Schema contracts for Maia OS: operation IDs, envelopes, errors, receipts and MCP tool definitions for AI coding agents.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"maia",
|