@maiaos/protocol 0.1.0-canary.47 → 0.1.0-canary.49
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 +3 -3
- package/dist/discovery/effect-schema.d.ts +6 -6
- package/dist/local-node/effect-schema.d.ts +4 -4
- 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/run-ledger/contract.d.ts +2 -0
- package/dist/run-ledger/contract.d.ts.map +1 -1
- package/dist/run-ledger/result-effect-schema.d.ts +4 -0
- package/dist/run-ledger/result-effect-schema.d.ts.map +1 -1
- package/dist/session/contract.d.ts +12 -12
- package/dist/session/effect-schema.d.ts +27 -27
- package/dist/session/effect-schema.d.ts.map +1 -1
- package/dist/session/policy.d.ts +3 -2
- package/dist/session/policy.d.ts.map +1 -1
- package/dist/session/policy.js +3 -2
- package/dist/session/policy.js.map +1 -1
- package/dist/session/stop-resume-contract.d.ts +2 -2
- package/dist/turn/contract.d.ts +12 -0
- package/dist/turn/contract.d.ts.map +1 -1
- package/dist/turn/effect-schema.d.ts +40 -0
- package/dist/turn/effect-schema.d.ts.map +1 -1
- package/dist/turn/effect-schema.js +5 -0
- package/dist/turn/effect-schema.js.map +1 -1
- package/package.json +1 -1
|
@@ -40,7 +40,7 @@ export declare const agentWorkerOperationResponseSchema: import("../runtime-sche
|
|
|
40
40
|
} | undefined;
|
|
41
41
|
readonly latestTurnId?: string | undefined;
|
|
42
42
|
readonly latestTurnState?: "completed" | "dispatching" | "failed" | "interrupted" | "outcome-unknown" | "queued" | "running" | undefined;
|
|
43
|
-
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-
|
|
43
|
+
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
44
44
|
readonly schemaVersion: 4;
|
|
45
45
|
readonly title?: string | undefined;
|
|
46
46
|
readonly worktree?: {
|
|
@@ -145,7 +145,7 @@ export declare const sessionHistoryMessageSchema: import("../runtime-schema/runt
|
|
|
145
145
|
export type SessionHistoryMessage = InferRuntimeSchema<typeof sessionHistoryMessageSchema>;
|
|
146
146
|
export declare const sessionAdoptPreviewParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
147
147
|
readonly hostAuthority?: true | undefined;
|
|
148
|
-
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-
|
|
148
|
+
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
149
149
|
readonly attestEnded?: true | undefined;
|
|
150
150
|
readonly commandId: string;
|
|
151
151
|
readonly executor: "claude-code" | "codex-cli";
|
|
@@ -160,7 +160,7 @@ export declare const sessionAdoptPreviewResultSchema: import("../runtime-schema/
|
|
|
160
160
|
readonly inputDigest: string;
|
|
161
161
|
readonly issuedAt: string;
|
|
162
162
|
readonly hostAuthority?: true | undefined;
|
|
163
|
-
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-
|
|
163
|
+
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
164
164
|
readonly connectionId: string;
|
|
165
165
|
readonly executor: "claude-code" | "codex-cli";
|
|
166
166
|
readonly nativeId: string;
|
|
@@ -240,7 +240,7 @@ export declare const sessionAdoptConfirmResultSchema: import("../runtime-schema/
|
|
|
240
240
|
} | undefined;
|
|
241
241
|
readonly latestTurnId?: string | undefined;
|
|
242
242
|
readonly latestTurnState?: "completed" | "dispatching" | "failed" | "interrupted" | "outcome-unknown" | "queued" | "running" | undefined;
|
|
243
|
-
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-
|
|
243
|
+
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
244
244
|
readonly schemaVersion: 4;
|
|
245
245
|
readonly title?: string | undefined;
|
|
246
246
|
readonly worktree?: {
|
|
@@ -169,7 +169,7 @@ export declare const sessionHistoryReadResultEffectSchema: Schema.Struct<{
|
|
|
169
169
|
export declare const adoptionPreviewIdEffectSchema: Schema.String;
|
|
170
170
|
export declare const sessionAdoptPreviewParametersEffectSchema: Schema.Struct<{
|
|
171
171
|
readonly hostAuthority: Schema.optional<Schema.Literal<true>>;
|
|
172
|
-
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-
|
|
172
|
+
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-request", "never"]>>;
|
|
173
173
|
/**
|
|
174
174
|
* Codex keeps no liveness evidence Maia can read; a person may attest that
|
|
175
175
|
* no other client has the thread open. Bound into the preview digest.
|
|
@@ -191,7 +191,7 @@ export declare const sessionAdoptPreviewResultEffectSchema: Schema.Struct<{
|
|
|
191
191
|
readonly inputDigest: Schema.String;
|
|
192
192
|
readonly issuedAt: Schema.String;
|
|
193
193
|
readonly hostAuthority: Schema.optional<Schema.Literal<true>>;
|
|
194
|
-
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-
|
|
194
|
+
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-request", "never"]>>;
|
|
195
195
|
readonly connectionId: Schema.String;
|
|
196
196
|
readonly executor: Schema.Literals<readonly ["claude-code", "codex-cli"]>;
|
|
197
197
|
readonly nativeId: Schema.String;
|
|
@@ -267,7 +267,7 @@ export declare const sessionAdoptConfirmResultEffectSchema: Schema.Struct<{
|
|
|
267
267
|
readonly labels: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
|
|
268
268
|
readonly latestTurnId: Schema.optional<Schema.String>;
|
|
269
269
|
readonly latestTurnState: Schema.optional<Schema.Literals<readonly ["queued", "dispatching", "running", "completed", "failed", "outcome-unknown", "interrupted"]>>;
|
|
270
|
-
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-
|
|
270
|
+
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-request", "never"]>>;
|
|
271
271
|
readonly schemaVersion: Schema.Literal<4>;
|
|
272
272
|
readonly title: Schema.optional<Schema.String>;
|
|
273
273
|
readonly worktree: Schema.optional<Schema.Struct<{
|
|
@@ -314,7 +314,7 @@ export declare const discoveryRequestEffectSchema: Schema.Union<readonly [Schema
|
|
|
314
314
|
readonly method: Schema.Literal<"session.adopt.preview">;
|
|
315
315
|
readonly parameters: Schema.Struct<{
|
|
316
316
|
readonly hostAuthority: Schema.optional<Schema.Literal<true>>;
|
|
317
|
-
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-
|
|
317
|
+
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-request", "never"]>>;
|
|
318
318
|
/**
|
|
319
319
|
* Codex keeps no liveness evidence Maia can read; a person may attest that
|
|
320
320
|
* no other client has the thread open. Bound into the preview digest.
|
|
@@ -416,7 +416,7 @@ export declare const discoveryResultEffectSchema: Schema.Union<readonly [Schema.
|
|
|
416
416
|
readonly inputDigest: Schema.String;
|
|
417
417
|
readonly issuedAt: Schema.String;
|
|
418
418
|
readonly hostAuthority: Schema.optional<Schema.Literal<true>>;
|
|
419
|
-
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-
|
|
419
|
+
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-request", "never"]>>;
|
|
420
420
|
readonly connectionId: Schema.String;
|
|
421
421
|
readonly executor: Schema.Literals<readonly ["claude-code", "codex-cli"]>;
|
|
422
422
|
readonly nativeId: Schema.String;
|
|
@@ -488,7 +488,7 @@ export declare const discoveryResultEffectSchema: Schema.Union<readonly [Schema.
|
|
|
488
488
|
readonly labels: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
|
|
489
489
|
readonly latestTurnId: Schema.optional<Schema.String>;
|
|
490
490
|
readonly latestTurnState: Schema.optional<Schema.Literals<readonly ["queued", "dispatching", "running", "completed", "failed", "outcome-unknown", "interrupted"]>>;
|
|
491
|
-
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-
|
|
491
|
+
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-request", "never"]>>;
|
|
492
492
|
readonly schemaVersion: Schema.Literal<4>;
|
|
493
493
|
readonly title: Schema.optional<Schema.String>;
|
|
494
494
|
readonly worktree: Schema.optional<Schema.Struct<{
|
|
@@ -1030,7 +1030,7 @@ export declare const localNodeRequestPayloadEffectSchema: Schema.Union<readonly
|
|
|
1030
1030
|
readonly hostAuthority: Schema.optional<Schema.Literal<true>>;
|
|
1031
1031
|
readonly labels: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
|
|
1032
1032
|
readonly model: Schema.optional<Schema.String>;
|
|
1033
|
-
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-
|
|
1033
|
+
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-request", "never"]>>;
|
|
1034
1034
|
readonly role: Schema.optional<Schema.Literals<readonly ["orchestrator", "worker"]>>;
|
|
1035
1035
|
readonly title: Schema.optional<Schema.String>;
|
|
1036
1036
|
readonly worktree: Schema.optional<Schema.Struct<{
|
|
@@ -1581,7 +1581,7 @@ export declare const localNodeRequestPayloadEffectSchema: Schema.Union<readonly
|
|
|
1581
1581
|
readonly method: Schema.Literal<"session.adopt.preview">;
|
|
1582
1582
|
readonly parameters: Schema.Struct<{
|
|
1583
1583
|
readonly hostAuthority: Schema.optional<Schema.Literal<true>>;
|
|
1584
|
-
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-
|
|
1584
|
+
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-request", "never"]>>;
|
|
1585
1585
|
readonly attestEnded: Schema.optional<Schema.Literal<true>>;
|
|
1586
1586
|
readonly commandId: Schema.String;
|
|
1587
1587
|
readonly executor: Schema.Literals<readonly ["claude-code", "codex-cli"]>;
|
|
@@ -2947,7 +2947,7 @@ export declare const localNodeRequestEnvelopeEffectSchema: Schema.Struct<{
|
|
|
2947
2947
|
readonly hostAuthority: Schema.optional<Schema.Literal<true>>;
|
|
2948
2948
|
readonly labels: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
|
|
2949
2949
|
readonly model: Schema.optional<Schema.String>;
|
|
2950
|
-
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-
|
|
2950
|
+
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-request", "never"]>>;
|
|
2951
2951
|
readonly role: Schema.optional<Schema.Literals<readonly ["orchestrator", "worker"]>>;
|
|
2952
2952
|
readonly title: Schema.optional<Schema.String>;
|
|
2953
2953
|
readonly worktree: Schema.optional<Schema.Struct<{
|
|
@@ -3498,7 +3498,7 @@ export declare const localNodeRequestEnvelopeEffectSchema: Schema.Struct<{
|
|
|
3498
3498
|
readonly method: Schema.Literal<"session.adopt.preview">;
|
|
3499
3499
|
readonly parameters: Schema.Struct<{
|
|
3500
3500
|
readonly hostAuthority: Schema.optional<Schema.Literal<true>>;
|
|
3501
|
-
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-
|
|
3501
|
+
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-request", "never"]>>;
|
|
3502
3502
|
readonly attestEnded: Schema.optional<Schema.Literal<true>>;
|
|
3503
3503
|
readonly commandId: Schema.String;
|
|
3504
3504
|
readonly executor: Schema.Literals<readonly ["claude-code", "codex-cli"]>;
|
|
@@ -104,7 +104,7 @@ export declare const presentationSessionListResultSchema: import("../runtime-sch
|
|
|
104
104
|
} | undefined;
|
|
105
105
|
readonly latestTurnId?: string | undefined;
|
|
106
106
|
readonly latestTurnState?: "completed" | "dispatching" | "failed" | "interrupted" | "outcome-unknown" | "queued" | "running" | undefined;
|
|
107
|
-
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-
|
|
107
|
+
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
108
108
|
readonly schemaVersion: 4;
|
|
109
109
|
readonly title?: string | undefined;
|
|
110
110
|
readonly worktree?: {
|
|
@@ -205,7 +205,7 @@ export declare const presentationResultEffectSchema: Schema.Union<readonly [Sche
|
|
|
205
205
|
readonly labels: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
|
|
206
206
|
readonly latestTurnId: Schema.optional<Schema.String>;
|
|
207
207
|
readonly latestTurnState: Schema.optional<Schema.Literals<readonly ["queued", "dispatching", "running", "completed", "failed", "outcome-unknown", "interrupted"]>>;
|
|
208
|
-
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-
|
|
208
|
+
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-request", "never"]>>;
|
|
209
209
|
readonly schemaVersion: Schema.Literal<4>;
|
|
210
210
|
readonly title: Schema.optional<Schema.String>;
|
|
211
211
|
readonly worktree: Schema.optional<Schema.Struct<{
|
|
@@ -122,7 +122,7 @@ export declare const presentationSessionListResultEffectSchema: Schema.Struct<{
|
|
|
122
122
|
readonly labels: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
|
|
123
123
|
readonly latestTurnId: Schema.optional<Schema.String>;
|
|
124
124
|
readonly latestTurnState: Schema.optional<Schema.Literals<readonly ["queued", "dispatching", "running", "completed", "failed", "outcome-unknown", "interrupted"]>>;
|
|
125
|
-
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-
|
|
125
|
+
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-request", "never"]>>;
|
|
126
126
|
readonly schemaVersion: Schema.Literal<4>;
|
|
127
127
|
readonly title: Schema.optional<Schema.String>;
|
|
128
128
|
readonly worktree: Schema.optional<Schema.Struct<{
|
|
@@ -386,6 +386,8 @@ export declare const runLedgerTaskDispatchResultSchema: import("../runtime-schem
|
|
|
386
386
|
readonly state: "completed";
|
|
387
387
|
readonly tokenUsage?: {
|
|
388
388
|
readonly cachedInputTokens: number;
|
|
389
|
+
readonly contextTokens?: number | undefined;
|
|
390
|
+
readonly contextWindow?: number | undefined;
|
|
389
391
|
readonly inputTokens: number;
|
|
390
392
|
readonly modelCallCount?: number | undefined;
|
|
391
393
|
readonly outputTokens: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contract.d.ts","sourceRoot":"","sources":["../../src/run-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AACF,MAAM,MAAM,yBAAyB,GAAG,kBAAkB,CACxD,OAAO,+BAA+B,CACvC,CAAC;AAGF,eAAO,MAAM,yBAAyB,EAAE,oBAAoC,CAAC;AAC7E,eAAO,MAAM,yBAAyB,EAAE,YAA+B,CAAC;AACxE,eAAO,MAAM,8BAA8B,EAAE,iBAC1B,CAAC;AACpB,eAAO,MAAM,gCAAgC,EAAE,MAAgC,CAAC;AAChF,eAAO,MAAM,6BAA6B,EAAE,MAA6B,CAAC;AAC1E,eAAO,MAAM,6BAA6B,EAAE,MAAwB,CAAC"}
|
|
@@ -250,6 +250,8 @@ export declare const runLedgerTaskDispatchResultEffectSchema: Schema.Struct<{
|
|
|
250
250
|
readonly state: Schema.Literal<"completed">;
|
|
251
251
|
readonly tokenUsage: Schema.optional<Schema.Struct<{
|
|
252
252
|
readonly cachedInputTokens: Schema.Int;
|
|
253
|
+
readonly contextTokens: Schema.optional<Schema.Int>;
|
|
254
|
+
readonly contextWindow: Schema.optional<Schema.Int>;
|
|
253
255
|
readonly inputTokens: Schema.Int;
|
|
254
256
|
readonly modelCallCount: Schema.optional<Schema.Int>;
|
|
255
257
|
readonly outputTokens: Schema.Int;
|
|
@@ -532,6 +534,8 @@ export declare const runLedgerResultEffectSchema: Schema.Union<readonly [Schema.
|
|
|
532
534
|
readonly state: Schema.Literal<"completed">;
|
|
533
535
|
readonly tokenUsage: Schema.optional<Schema.Struct<{
|
|
534
536
|
readonly cachedInputTokens: Schema.Int;
|
|
537
|
+
readonly contextTokens: Schema.optional<Schema.Int>;
|
|
538
|
+
readonly contextWindow: Schema.optional<Schema.Int>;
|
|
535
539
|
readonly inputTokens: Schema.Int;
|
|
536
540
|
readonly modelCallCount: Schema.optional<Schema.Int>;
|
|
537
541
|
readonly outputTokens: Schema.Int;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"result-effect-schema.d.ts","sourceRoot":"","sources":["../../src/run-ledger/result-effect-schema.ts"],"names":[],"mappings":"AAAA,OAA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;;;;;;;;;;;;;;;;;EAqBnD,CAAC;AAEF,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAcjD,CAAC;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAOtC,CAAC"}
|
|
@@ -32,7 +32,7 @@ export declare const sessionSchema: import("../runtime-schema/runtime-schema.js"
|
|
|
32
32
|
} | undefined;
|
|
33
33
|
readonly latestTurnId?: string | undefined;
|
|
34
34
|
readonly latestTurnState?: "completed" | "dispatching" | "failed" | "interrupted" | "outcome-unknown" | "queued" | "running" | undefined;
|
|
35
|
-
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-
|
|
35
|
+
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
36
36
|
readonly schemaVersion: 4;
|
|
37
37
|
readonly title?: string | undefined;
|
|
38
38
|
readonly worktree?: {
|
|
@@ -76,7 +76,7 @@ export declare const sessionEventSchema: import("../runtime-schema/runtime-schem
|
|
|
76
76
|
readonly kind: "claude-code" | "codex-cli";
|
|
77
77
|
readonly model?: string | undefined;
|
|
78
78
|
} | undefined;
|
|
79
|
-
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-
|
|
79
|
+
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
80
80
|
readonly projectId: string;
|
|
81
81
|
readonly workspaceId: string;
|
|
82
82
|
readonly workspaceRevision: string;
|
|
@@ -295,7 +295,7 @@ export declare const sessionCreateParametersSchema: import("../runtime-schema/ru
|
|
|
295
295
|
readonly [x: string]: string;
|
|
296
296
|
} | undefined;
|
|
297
297
|
readonly model?: string | undefined;
|
|
298
|
-
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-
|
|
298
|
+
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
299
299
|
readonly role?: "orchestrator" | "worker" | undefined;
|
|
300
300
|
readonly title?: string | undefined;
|
|
301
301
|
readonly worktree?: {
|
|
@@ -441,7 +441,7 @@ export declare const sessionWaitResultSchema: import("../runtime-schema/runtime-
|
|
|
441
441
|
} | undefined;
|
|
442
442
|
readonly latestTurnId?: string | undefined;
|
|
443
443
|
readonly latestTurnState?: "completed" | "dispatching" | "failed" | "interrupted" | "outcome-unknown" | "queued" | "running" | undefined;
|
|
444
|
-
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-
|
|
444
|
+
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
445
445
|
readonly schemaVersion: 4;
|
|
446
446
|
readonly title?: string | undefined;
|
|
447
447
|
readonly worktree?: {
|
|
@@ -523,7 +523,7 @@ export declare const sessionSpawnResultSchema: import("../runtime-schema/runtime
|
|
|
523
523
|
} | undefined;
|
|
524
524
|
readonly latestTurnId?: string | undefined;
|
|
525
525
|
readonly latestTurnState?: "completed" | "dispatching" | "failed" | "interrupted" | "outcome-unknown" | "queued" | "running" | undefined;
|
|
526
|
-
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-
|
|
526
|
+
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
527
527
|
readonly schemaVersion: 4;
|
|
528
528
|
readonly title?: string | undefined;
|
|
529
529
|
readonly worktree?: {
|
|
@@ -596,7 +596,7 @@ export declare const sessionCreateResultSchema: import("../runtime-schema/runtim
|
|
|
596
596
|
} | undefined;
|
|
597
597
|
readonly latestTurnId?: string | undefined;
|
|
598
598
|
readonly latestTurnState?: "completed" | "dispatching" | "failed" | "interrupted" | "outcome-unknown" | "queued" | "running" | undefined;
|
|
599
|
-
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-
|
|
599
|
+
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
600
600
|
readonly schemaVersion: 4;
|
|
601
601
|
readonly title?: string | undefined;
|
|
602
602
|
readonly worktree?: {
|
|
@@ -767,7 +767,7 @@ export declare const sessionListResultSchema: import("../runtime-schema/runtime-
|
|
|
767
767
|
} | undefined;
|
|
768
768
|
readonly latestTurnId?: string | undefined;
|
|
769
769
|
readonly latestTurnState?: "completed" | "dispatching" | "failed" | "interrupted" | "outcome-unknown" | "queued" | "running" | undefined;
|
|
770
|
-
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-
|
|
770
|
+
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
771
771
|
readonly schemaVersion: 4;
|
|
772
772
|
readonly title?: string | undefined;
|
|
773
773
|
readonly worktree?: {
|
|
@@ -819,7 +819,7 @@ export declare const sessionShowResultSchema: import("../runtime-schema/runtime-
|
|
|
819
819
|
} | undefined;
|
|
820
820
|
readonly latestTurnId?: string | undefined;
|
|
821
821
|
readonly latestTurnState?: "completed" | "dispatching" | "failed" | "interrupted" | "outcome-unknown" | "queued" | "running" | undefined;
|
|
822
|
-
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-
|
|
822
|
+
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
823
823
|
readonly schemaVersion: 4;
|
|
824
824
|
readonly title?: string | undefined;
|
|
825
825
|
readonly worktree?: {
|
|
@@ -861,7 +861,7 @@ export declare const sessionEventsListResultSchema: import("../runtime-schema/ru
|
|
|
861
861
|
readonly kind: "claude-code" | "codex-cli";
|
|
862
862
|
readonly model?: string | undefined;
|
|
863
863
|
} | undefined;
|
|
864
|
-
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-
|
|
864
|
+
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
865
865
|
readonly projectId: string;
|
|
866
866
|
readonly workspaceId: string;
|
|
867
867
|
readonly workspaceRevision: string;
|
|
@@ -1122,7 +1122,7 @@ export declare const sessionStartResultSchema: import("../runtime-schema/runtime
|
|
|
1122
1122
|
} | undefined;
|
|
1123
1123
|
readonly latestTurnId?: string | undefined;
|
|
1124
1124
|
readonly latestTurnState?: "completed" | "dispatching" | "failed" | "interrupted" | "outcome-unknown" | "queued" | "running" | undefined;
|
|
1125
|
-
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-
|
|
1125
|
+
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
1126
1126
|
readonly schemaVersion: 4;
|
|
1127
1127
|
readonly title?: string | undefined;
|
|
1128
1128
|
readonly worktree?: {
|
|
@@ -1240,7 +1240,7 @@ export declare const sessionArchiveResultSchema: import("../runtime-schema/runti
|
|
|
1240
1240
|
} | undefined;
|
|
1241
1241
|
readonly latestTurnId?: string | undefined;
|
|
1242
1242
|
readonly latestTurnState?: "completed" | "dispatching" | "failed" | "interrupted" | "outcome-unknown" | "queued" | "running" | undefined;
|
|
1243
|
-
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-
|
|
1243
|
+
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
1244
1244
|
readonly schemaVersion: 4;
|
|
1245
1245
|
readonly title?: string | undefined;
|
|
1246
1246
|
readonly worktree?: {
|
|
@@ -1314,7 +1314,7 @@ export declare const sessionRenameResultSchema: import("../runtime-schema/runtim
|
|
|
1314
1314
|
} | undefined;
|
|
1315
1315
|
readonly latestTurnId?: string | undefined;
|
|
1316
1316
|
readonly latestTurnState?: "completed" | "dispatching" | "failed" | "interrupted" | "outcome-unknown" | "queued" | "running" | undefined;
|
|
1317
|
-
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-
|
|
1317
|
+
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
1318
1318
|
readonly schemaVersion: 4;
|
|
1319
1319
|
readonly title?: string | undefined;
|
|
1320
1320
|
readonly worktree?: {
|
|
@@ -21,7 +21,7 @@ export declare const agentIdentifierEffectSchema: Schema.String;
|
|
|
21
21
|
export declare const sessionEffortEffectSchema: Schema.Literals<readonly ["low", "medium", "high", "xhigh", "max", "ultra"]>;
|
|
22
22
|
export declare const supportsEffort: (kind: keyof typeof SESSION_EFFORT_LEVELS, effort: string) => boolean;
|
|
23
23
|
/** A permission mode either vendor CLI documents; the Node checks it against the Session's executor kind. */
|
|
24
|
-
export declare const sessionPermissionEffectSchema: Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-
|
|
24
|
+
export declare const sessionPermissionEffectSchema: Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-request", "never"]>;
|
|
25
25
|
export declare const supportsPermission: (kind: keyof typeof SESSION_PERMISSION_MODES, permission: string) => boolean;
|
|
26
26
|
export declare const sessionEffectSchema: Schema.Struct<{
|
|
27
27
|
readonly createdAt: Schema.String;
|
|
@@ -63,7 +63,7 @@ export declare const sessionEffectSchema: Schema.Struct<{
|
|
|
63
63
|
/** How `latestTurnId` ended or is going; present on `session.list` and `session.show`. */
|
|
64
64
|
readonly latestTurnState: Schema.optional<Schema.Literals<readonly ["queued", "dispatching", "running", "completed", "failed", "outcome-unknown", "interrupted"]>>;
|
|
65
65
|
/** The permission mode a host-authority Session passes to its vendor CLI, fixed at creation; none is the vendor default. */
|
|
66
|
-
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-
|
|
66
|
+
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-request", "never"]>>;
|
|
67
67
|
readonly schemaVersion: Schema.Literal<4>;
|
|
68
68
|
/** Set at creation or by a rename; otherwise the first line of the first turn. */
|
|
69
69
|
readonly title: Schema.optional<Schema.String>;
|
|
@@ -109,7 +109,7 @@ export declare const sessionEventEffectSchema: Schema.Union<readonly [Schema.Str
|
|
|
109
109
|
readonly model: Schema.optional<Schema.String>;
|
|
110
110
|
}>>;
|
|
111
111
|
/** The permission mode a host-authority Session passes to its vendor CLI. */
|
|
112
|
-
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-
|
|
112
|
+
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-request", "never"]>>;
|
|
113
113
|
readonly projectId: Schema.String;
|
|
114
114
|
readonly workspaceId: Schema.String;
|
|
115
115
|
readonly workspaceRevision: Schema.String;
|
|
@@ -336,7 +336,7 @@ export declare const sessionCreateParametersEffectSchema: Schema.Struct<{
|
|
|
336
336
|
readonly hostAuthority: Schema.optional<Schema.Literal<true>>;
|
|
337
337
|
readonly labels: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
|
|
338
338
|
readonly model: Schema.optional<Schema.String>;
|
|
339
|
-
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-
|
|
339
|
+
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-request", "never"]>>;
|
|
340
340
|
readonly role: Schema.optional<Schema.Literals<readonly ["orchestrator", "worker"]>>;
|
|
341
341
|
readonly title: Schema.optional<Schema.String>;
|
|
342
342
|
readonly worktree: Schema.optional<Schema.Struct<{
|
|
@@ -661,7 +661,7 @@ export declare const sessionCreateResultEffectSchema: Schema.Struct<{
|
|
|
661
661
|
/** How `latestTurnId` ended or is going; present on `session.list` and `session.show`. */
|
|
662
662
|
readonly latestTurnState: Schema.optional<Schema.Literals<readonly ["queued", "dispatching", "running", "completed", "failed", "outcome-unknown", "interrupted"]>>;
|
|
663
663
|
/** The permission mode a host-authority Session passes to its vendor CLI, fixed at creation; none is the vendor default. */
|
|
664
|
-
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-
|
|
664
|
+
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-request", "never"]>>;
|
|
665
665
|
readonly schemaVersion: Schema.Literal<4>;
|
|
666
666
|
/** Set at creation or by a rename; otherwise the first line of the first turn. */
|
|
667
667
|
readonly title: Schema.optional<Schema.String>;
|
|
@@ -740,7 +740,7 @@ export declare const sessionSpawnResultEffectSchema: Schema.Struct<{
|
|
|
740
740
|
/** How `latestTurnId` ended or is going; present on `session.list` and `session.show`. */
|
|
741
741
|
readonly latestTurnState: Schema.optional<Schema.Literals<readonly ["queued", "dispatching", "running", "completed", "failed", "outcome-unknown", "interrupted"]>>;
|
|
742
742
|
/** The permission mode a host-authority Session passes to its vendor CLI, fixed at creation; none is the vendor default. */
|
|
743
|
-
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-
|
|
743
|
+
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-request", "never"]>>;
|
|
744
744
|
readonly schemaVersion: Schema.Literal<4>;
|
|
745
745
|
/** Set at creation or by a rename; otherwise the first line of the first turn. */
|
|
746
746
|
readonly title: Schema.optional<Schema.String>;
|
|
@@ -803,7 +803,7 @@ export declare const sessionListResultEffectSchema: Schema.Struct<{
|
|
|
803
803
|
/** How `latestTurnId` ended or is going; present on `session.list` and `session.show`. */
|
|
804
804
|
readonly latestTurnState: Schema.optional<Schema.Literals<readonly ["queued", "dispatching", "running", "completed", "failed", "outcome-unknown", "interrupted"]>>;
|
|
805
805
|
/** The permission mode a host-authority Session passes to its vendor CLI, fixed at creation; none is the vendor default. */
|
|
806
|
-
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-
|
|
806
|
+
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-request", "never"]>>;
|
|
807
807
|
readonly schemaVersion: Schema.Literal<4>;
|
|
808
808
|
/** Set at creation or by a rename; otherwise the first line of the first turn. */
|
|
809
809
|
readonly title: Schema.optional<Schema.String>;
|
|
@@ -865,7 +865,7 @@ export declare const sessionShowResultEffectSchema: Schema.Struct<{
|
|
|
865
865
|
/** How `latestTurnId` ended or is going; present on `session.list` and `session.show`. */
|
|
866
866
|
readonly latestTurnState: Schema.optional<Schema.Literals<readonly ["queued", "dispatching", "running", "completed", "failed", "outcome-unknown", "interrupted"]>>;
|
|
867
867
|
/** The permission mode a host-authority Session passes to its vendor CLI, fixed at creation; none is the vendor default. */
|
|
868
|
-
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-
|
|
868
|
+
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-request", "never"]>>;
|
|
869
869
|
readonly schemaVersion: Schema.Literal<4>;
|
|
870
870
|
/** Set at creation or by a rename; otherwise the first line of the first turn. */
|
|
871
871
|
readonly title: Schema.optional<Schema.String>;
|
|
@@ -927,7 +927,7 @@ export declare const sessionWaitResultEffectSchema: Schema.Struct<{
|
|
|
927
927
|
/** How `latestTurnId` ended or is going; present on `session.list` and `session.show`. */
|
|
928
928
|
readonly latestTurnState: Schema.optional<Schema.Literals<readonly ["queued", "dispatching", "running", "completed", "failed", "outcome-unknown", "interrupted"]>>;
|
|
929
929
|
/** The permission mode a host-authority Session passes to its vendor CLI, fixed at creation; none is the vendor default. */
|
|
930
|
-
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-
|
|
930
|
+
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-request", "never"]>>;
|
|
931
931
|
readonly schemaVersion: Schema.Literal<4>;
|
|
932
932
|
/** Set at creation or by a rename; otherwise the first line of the first turn. */
|
|
933
933
|
readonly title: Schema.optional<Schema.String>;
|
|
@@ -976,7 +976,7 @@ export declare const sessionEventsListResultEffectSchema: Schema.Struct<{
|
|
|
976
976
|
readonly model: Schema.optional<Schema.String>;
|
|
977
977
|
}>>;
|
|
978
978
|
/** The permission mode a host-authority Session passes to its vendor CLI. */
|
|
979
|
-
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-
|
|
979
|
+
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-request", "never"]>>;
|
|
980
980
|
readonly projectId: Schema.String;
|
|
981
981
|
readonly workspaceId: Schema.String;
|
|
982
982
|
readonly workspaceRevision: Schema.String;
|
|
@@ -1235,7 +1235,7 @@ export declare const sessionStartResultEffectSchema: Schema.Struct<{
|
|
|
1235
1235
|
/** How `latestTurnId` ended or is going; present on `session.list` and `session.show`. */
|
|
1236
1236
|
readonly latestTurnState: Schema.optional<Schema.Literals<readonly ["queued", "dispatching", "running", "completed", "failed", "outcome-unknown", "interrupted"]>>;
|
|
1237
1237
|
/** The permission mode a host-authority Session passes to its vendor CLI, fixed at creation; none is the vendor default. */
|
|
1238
|
-
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-
|
|
1238
|
+
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-request", "never"]>>;
|
|
1239
1239
|
readonly schemaVersion: Schema.Literal<4>;
|
|
1240
1240
|
/** Set at creation or by a rename; otherwise the first line of the first turn. */
|
|
1241
1241
|
readonly title: Schema.optional<Schema.String>;
|
|
@@ -1312,7 +1312,7 @@ export declare const sessionStopResultEffectSchema: Schema.Struct<{
|
|
|
1312
1312
|
/** How `latestTurnId` ended or is going; present on `session.list` and `session.show`. */
|
|
1313
1313
|
readonly latestTurnState: Schema.optional<Schema.Literals<readonly ["queued", "dispatching", "running", "completed", "failed", "outcome-unknown", "interrupted"]>>;
|
|
1314
1314
|
/** The permission mode a host-authority Session passes to its vendor CLI, fixed at creation; none is the vendor default. */
|
|
1315
|
-
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-
|
|
1315
|
+
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-request", "never"]>>;
|
|
1316
1316
|
readonly schemaVersion: Schema.Literal<4>;
|
|
1317
1317
|
/** Set at creation or by a rename; otherwise the first line of the first turn. */
|
|
1318
1318
|
readonly title: Schema.optional<Schema.String>;
|
|
@@ -1389,7 +1389,7 @@ export declare const sessionResumeResultEffectSchema: Schema.Struct<{
|
|
|
1389
1389
|
/** How `latestTurnId` ended or is going; present on `session.list` and `session.show`. */
|
|
1390
1390
|
readonly latestTurnState: Schema.optional<Schema.Literals<readonly ["queued", "dispatching", "running", "completed", "failed", "outcome-unknown", "interrupted"]>>;
|
|
1391
1391
|
/** The permission mode a host-authority Session passes to its vendor CLI, fixed at creation; none is the vendor default. */
|
|
1392
|
-
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-
|
|
1392
|
+
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-request", "never"]>>;
|
|
1393
1393
|
readonly schemaVersion: Schema.Literal<4>;
|
|
1394
1394
|
/** Set at creation or by a rename; otherwise the first line of the first turn. */
|
|
1395
1395
|
readonly title: Schema.optional<Schema.String>;
|
|
@@ -1466,7 +1466,7 @@ export declare const sessionRenameResultEffectSchema: Schema.Struct<{
|
|
|
1466
1466
|
/** How `latestTurnId` ended or is going; present on `session.list` and `session.show`. */
|
|
1467
1467
|
readonly latestTurnState: Schema.optional<Schema.Literals<readonly ["queued", "dispatching", "running", "completed", "failed", "outcome-unknown", "interrupted"]>>;
|
|
1468
1468
|
/** The permission mode a host-authority Session passes to its vendor CLI, fixed at creation; none is the vendor default. */
|
|
1469
|
-
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-
|
|
1469
|
+
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-request", "never"]>>;
|
|
1470
1470
|
readonly schemaVersion: Schema.Literal<4>;
|
|
1471
1471
|
/** Set at creation or by a rename; otherwise the first line of the first turn. */
|
|
1472
1472
|
readonly title: Schema.optional<Schema.String>;
|
|
@@ -1554,7 +1554,7 @@ export declare const sessionArchiveResultEffectSchema: Schema.Struct<{
|
|
|
1554
1554
|
/** How `latestTurnId` ended or is going; present on `session.list` and `session.show`. */
|
|
1555
1555
|
readonly latestTurnState: Schema.optional<Schema.Literals<readonly ["queued", "dispatching", "running", "completed", "failed", "outcome-unknown", "interrupted"]>>;
|
|
1556
1556
|
/** The permission mode a host-authority Session passes to its vendor CLI, fixed at creation; none is the vendor default. */
|
|
1557
|
-
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-
|
|
1557
|
+
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-request", "never"]>>;
|
|
1558
1558
|
readonly schemaVersion: Schema.Literal<4>;
|
|
1559
1559
|
/** Set at creation or by a rename; otherwise the first line of the first turn. */
|
|
1560
1560
|
readonly title: Schema.optional<Schema.String>;
|
|
@@ -1592,7 +1592,7 @@ export declare const sessionRequestPayloadEffectSchema: Schema.Union<readonly [S
|
|
|
1592
1592
|
readonly hostAuthority: Schema.optional<Schema.Literal<true>>;
|
|
1593
1593
|
readonly labels: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
|
|
1594
1594
|
readonly model: Schema.optional<Schema.String>;
|
|
1595
|
-
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-
|
|
1595
|
+
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-request", "never"]>>;
|
|
1596
1596
|
readonly role: Schema.optional<Schema.Literals<readonly ["orchestrator", "worker"]>>;
|
|
1597
1597
|
readonly title: Schema.optional<Schema.String>;
|
|
1598
1598
|
readonly worktree: Schema.optional<Schema.Struct<{
|
|
@@ -1772,7 +1772,7 @@ export declare const sessionSuccessResultEffectSchema: Schema.Union<readonly [Sc
|
|
|
1772
1772
|
/** How `latestTurnId` ended or is going; present on `session.list` and `session.show`. */
|
|
1773
1773
|
readonly latestTurnState: Schema.optional<Schema.Literals<readonly ["queued", "dispatching", "running", "completed", "failed", "outcome-unknown", "interrupted"]>>;
|
|
1774
1774
|
/** The permission mode a host-authority Session passes to its vendor CLI, fixed at creation; none is the vendor default. */
|
|
1775
|
-
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-
|
|
1775
|
+
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-request", "never"]>>;
|
|
1776
1776
|
readonly schemaVersion: Schema.Literal<4>;
|
|
1777
1777
|
/** Set at creation or by a rename; otherwise the first line of the first turn. */
|
|
1778
1778
|
readonly title: Schema.optional<Schema.String>;
|
|
@@ -1913,7 +1913,7 @@ export declare const sessionSuccessResultEffectSchema: Schema.Union<readonly [Sc
|
|
|
1913
1913
|
/** How `latestTurnId` ended or is going; present on `session.list` and `session.show`. */
|
|
1914
1914
|
readonly latestTurnState: Schema.optional<Schema.Literals<readonly ["queued", "dispatching", "running", "completed", "failed", "outcome-unknown", "interrupted"]>>;
|
|
1915
1915
|
/** The permission mode a host-authority Session passes to its vendor CLI, fixed at creation; none is the vendor default. */
|
|
1916
|
-
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-
|
|
1916
|
+
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-request", "never"]>>;
|
|
1917
1917
|
readonly schemaVersion: Schema.Literal<4>;
|
|
1918
1918
|
/** Set at creation or by a rename; otherwise the first line of the first turn. */
|
|
1919
1919
|
readonly title: Schema.optional<Schema.String>;
|
|
@@ -2040,7 +2040,7 @@ export declare const sessionSuccessResultEffectSchema: Schema.Union<readonly [Sc
|
|
|
2040
2040
|
/** How `latestTurnId` ended or is going; present on `session.list` and `session.show`. */
|
|
2041
2041
|
readonly latestTurnState: Schema.optional<Schema.Literals<readonly ["queued", "dispatching", "running", "completed", "failed", "outcome-unknown", "interrupted"]>>;
|
|
2042
2042
|
/** The permission mode a host-authority Session passes to its vendor CLI, fixed at creation; none is the vendor default. */
|
|
2043
|
-
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-
|
|
2043
|
+
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-request", "never"]>>;
|
|
2044
2044
|
readonly schemaVersion: Schema.Literal<4>;
|
|
2045
2045
|
/** Set at creation or by a rename; otherwise the first line of the first turn. */
|
|
2046
2046
|
readonly title: Schema.optional<Schema.String>;
|
|
@@ -2100,7 +2100,7 @@ export declare const sessionSuccessResultEffectSchema: Schema.Union<readonly [Sc
|
|
|
2100
2100
|
/** How `latestTurnId` ended or is going; present on `session.list` and `session.show`. */
|
|
2101
2101
|
readonly latestTurnState: Schema.optional<Schema.Literals<readonly ["queued", "dispatching", "running", "completed", "failed", "outcome-unknown", "interrupted"]>>;
|
|
2102
2102
|
/** The permission mode a host-authority Session passes to its vendor CLI, fixed at creation; none is the vendor default. */
|
|
2103
|
-
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-
|
|
2103
|
+
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-request", "never"]>>;
|
|
2104
2104
|
readonly schemaVersion: Schema.Literal<4>;
|
|
2105
2105
|
/** Set at creation or by a rename; otherwise the first line of the first turn. */
|
|
2106
2106
|
readonly title: Schema.optional<Schema.String>;
|
|
@@ -2178,7 +2178,7 @@ export declare const sessionSuccessResultEffectSchema: Schema.Union<readonly [Sc
|
|
|
2178
2178
|
/** How `latestTurnId` ended or is going; present on `session.list` and `session.show`. */
|
|
2179
2179
|
readonly latestTurnState: Schema.optional<Schema.Literals<readonly ["queued", "dispatching", "running", "completed", "failed", "outcome-unknown", "interrupted"]>>;
|
|
2180
2180
|
/** The permission mode a host-authority Session passes to its vendor CLI, fixed at creation; none is the vendor default. */
|
|
2181
|
-
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-
|
|
2181
|
+
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-request", "never"]>>;
|
|
2182
2182
|
readonly schemaVersion: Schema.Literal<4>;
|
|
2183
2183
|
/** Set at creation or by a rename; otherwise the first line of the first turn. */
|
|
2184
2184
|
readonly title: Schema.optional<Schema.String>;
|
|
@@ -2226,7 +2226,7 @@ export declare const sessionSuccessResultEffectSchema: Schema.Union<readonly [Sc
|
|
|
2226
2226
|
readonly model: Schema.optional<Schema.String>;
|
|
2227
2227
|
}>>;
|
|
2228
2228
|
/** The permission mode a host-authority Session passes to its vendor CLI. */
|
|
2229
|
-
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-
|
|
2229
|
+
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-request", "never"]>>;
|
|
2230
2230
|
readonly projectId: Schema.String;
|
|
2231
2231
|
readonly workspaceId: Schema.String;
|
|
2232
2232
|
readonly workspaceRevision: Schema.String;
|
|
@@ -2484,7 +2484,7 @@ export declare const sessionSuccessResultEffectSchema: Schema.Union<readonly [Sc
|
|
|
2484
2484
|
/** How `latestTurnId` ended or is going; present on `session.list` and `session.show`. */
|
|
2485
2485
|
readonly latestTurnState: Schema.optional<Schema.Literals<readonly ["queued", "dispatching", "running", "completed", "failed", "outcome-unknown", "interrupted"]>>;
|
|
2486
2486
|
/** The permission mode a host-authority Session passes to its vendor CLI, fixed at creation; none is the vendor default. */
|
|
2487
|
-
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-
|
|
2487
|
+
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-request", "never"]>>;
|
|
2488
2488
|
readonly schemaVersion: Schema.Literal<4>;
|
|
2489
2489
|
/** Set at creation or by a rename; otherwise the first line of the first turn. */
|
|
2490
2490
|
readonly title: Schema.optional<Schema.String>;
|
|
@@ -2560,7 +2560,7 @@ export declare const sessionSuccessResultEffectSchema: Schema.Union<readonly [Sc
|
|
|
2560
2560
|
/** How `latestTurnId` ended or is going; present on `session.list` and `session.show`. */
|
|
2561
2561
|
readonly latestTurnState: Schema.optional<Schema.Literals<readonly ["queued", "dispatching", "running", "completed", "failed", "outcome-unknown", "interrupted"]>>;
|
|
2562
2562
|
/** The permission mode a host-authority Session passes to its vendor CLI, fixed at creation; none is the vendor default. */
|
|
2563
|
-
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-
|
|
2563
|
+
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-request", "never"]>>;
|
|
2564
2564
|
readonly schemaVersion: Schema.Literal<4>;
|
|
2565
2565
|
/** Set at creation or by a rename; otherwise the first line of the first turn. */
|
|
2566
2566
|
readonly title: Schema.optional<Schema.String>;
|
|
@@ -2636,7 +2636,7 @@ export declare const sessionSuccessResultEffectSchema: Schema.Union<readonly [Sc
|
|
|
2636
2636
|
/** How `latestTurnId` ended or is going; present on `session.list` and `session.show`. */
|
|
2637
2637
|
readonly latestTurnState: Schema.optional<Schema.Literals<readonly ["queued", "dispatching", "running", "completed", "failed", "outcome-unknown", "interrupted"]>>;
|
|
2638
2638
|
/** The permission mode a host-authority Session passes to its vendor CLI, fixed at creation; none is the vendor default. */
|
|
2639
|
-
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-
|
|
2639
|
+
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-request", "never"]>>;
|
|
2640
2640
|
readonly schemaVersion: Schema.Literal<4>;
|
|
2641
2641
|
/** Set at creation or by a rename; otherwise the first line of the first turn. */
|
|
2642
2642
|
readonly title: Schema.optional<Schema.String>;
|
|
@@ -2735,7 +2735,7 @@ export declare const sessionSuccessResultEffectSchema: Schema.Union<readonly [Sc
|
|
|
2735
2735
|
/** How `latestTurnId` ended or is going; present on `session.list` and `session.show`. */
|
|
2736
2736
|
readonly latestTurnState: Schema.optional<Schema.Literals<readonly ["queued", "dispatching", "running", "completed", "failed", "outcome-unknown", "interrupted"]>>;
|
|
2737
2737
|
/** The permission mode a host-authority Session passes to its vendor CLI, fixed at creation; none is the vendor default. */
|
|
2738
|
-
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-
|
|
2738
|
+
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-request", "never"]>>;
|
|
2739
2739
|
readonly schemaVersion: Schema.Literal<4>;
|
|
2740
2740
|
/** Set at creation or by a rename; otherwise the first line of the first turn. */
|
|
2741
2741
|
readonly title: Schema.optional<Schema.String>;
|
|
@@ -2811,7 +2811,7 @@ export declare const sessionSuccessResultEffectSchema: Schema.Union<readonly [Sc
|
|
|
2811
2811
|
/** How `latestTurnId` ended or is going; present on `session.list` and `session.show`. */
|
|
2812
2812
|
readonly latestTurnState: Schema.optional<Schema.Literals<readonly ["queued", "dispatching", "running", "completed", "failed", "outcome-unknown", "interrupted"]>>;
|
|
2813
2813
|
/** The permission mode a host-authority Session passes to its vendor CLI, fixed at creation; none is the vendor default. */
|
|
2814
|
-
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-
|
|
2814
|
+
readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-request", "never"]>>;
|
|
2815
2815
|
readonly schemaVersion: Schema.Literal<4>;
|
|
2816
2816
|
/** Set at creation or by a rename; otherwise the first line of the first turn. */
|
|
2817
2817
|
readonly title: Schema.optional<Schema.String>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"effect-schema.d.ts","sourceRoot":"","sources":["../../src/session/effect-schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAqBxC,OAAO,EAWL,qBAAqB,EACrB,wBAAwB,EACzB,MAAM,aAAa,CAAC;AA0CrB;;;;GAIG;AACH,eAAO,MAAM,wBAAwB,eASpC,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,yBAAyB,8CAsBrC,CAAC;AAEF,sBAAsB;AACtB,eAAO,MAAM,oBAAoB,YAGhC,CAAC;AAyBF,eAAO,MAAM,+BAA+B,wDAG1C,CAAC;AAEH,iFAAiF;AACjF,eAAO,MAAM,2BAA2B,eAEvC,CAAC;AAEF,eAAO,MAAM,yBAAyB,8EAErC,CAAC;AACF,eAAO,MAAM,cAAc,SACnB,MAAM,OAAO,qBAAqB,UAChC,MAAM,KACb,OACkE,CAAC;AAEtE,6GAA6G;AAC7G,eAAO,MAAM,6BAA6B,
|
|
1
|
+
{"version":3,"file":"effect-schema.d.ts","sourceRoot":"","sources":["../../src/session/effect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CAAiC,EACjC,6BAA6B,GAC9B,MAAM,6BAA6B,CAAC"}
|
package/dist/session/policy.d.ts
CHANGED
|
@@ -52,11 +52,12 @@ export declare const HOST_AUTHORITY_DISABLED_ERROR_CODE: "host_authority_disable
|
|
|
52
52
|
/**
|
|
53
53
|
* The permission modes a host-authority Session passes through to its vendor
|
|
54
54
|
* CLI unchanged: Claude Code's `--permission-mode` and Codex's approval
|
|
55
|
-
* policy. Maia never maps one kind's value to another's.
|
|
55
|
+
* policy. Maia never maps one kind's value to another's. Codex 0.163's
|
|
56
|
+
* app-server rejects `on-failure` (observed), so the list omits it.
|
|
56
57
|
*/
|
|
57
58
|
export declare const SESSION_PERMISSION_MODES: {
|
|
58
59
|
readonly "claude-code": readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions"];
|
|
59
|
-
readonly "codex-cli": readonly ["untrusted", "on-
|
|
60
|
+
readonly "codex-cli": readonly ["untrusted", "on-request", "never"];
|
|
60
61
|
};
|
|
61
62
|
/**
|
|
62
63
|
* The effort levels each vendor CLI documents for an executor Session: Claude
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"policy.d.ts","sourceRoot":"","sources":["../../src/session/policy.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,8BAA8B,MAAM,CAAC;AAClD,eAAO,MAAM,8BAA8B,OAAO,CAAC;AACnD,eAAO,MAAM,iCAAiC,MAAM,CAAC;AACrD,eAAO,MAAM,iCAAiC,QAAc,CAAC;AAC7D,eAAO,MAAM,iCAAiC,IAAI,CAAC;AACnD,iEAAiE;AACjE,eAAO,MAAM,8BAA8B,KAAK,CAAC;AACjD,eAAO,MAAM,6BAA6B,KAAK,CAAC;AAChD,eAAO,MAAM,oCAAoC,QAAY,CAAC;AAC9D,eAAO,MAAM,uBAAuB,KAAK,CAAC;AAC1C,eAAO,MAAM,yBAAyB,KAAK,CAAC;AAC5C,eAAO,MAAM,mCAAmC,MAAM,CAAC;AACvD,eAAO,MAAM,+BAA+B,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K,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO;CACxD,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,6BAA6B,OAAO,CAAC;AAElD,uEAAuE;AACvE,eAAO,MAAM,uBAAuB,IAAI,CAAC"}
|
package/dist/session/policy.js
CHANGED
|
@@ -59,7 +59,8 @@ export const HOST_AUTHORITY_DISABLED_ERROR_CODE = "host_authority_disabled";
|
|
|
59
59
|
/**
|
|
60
60
|
* The permission modes a host-authority Session passes through to its vendor
|
|
61
61
|
* CLI unchanged: Claude Code's `--permission-mode` and Codex's approval
|
|
62
|
-
* policy. Maia never maps one kind's value to another's.
|
|
62
|
+
* policy. Maia never maps one kind's value to another's. Codex 0.163's
|
|
63
|
+
* app-server rejects `on-failure` (observed), so the list omits it.
|
|
63
64
|
*/
|
|
64
65
|
export const SESSION_PERMISSION_MODES = {
|
|
65
66
|
["claude-code"]: [
|
|
@@ -69,7 +70,7 @@ export const SESSION_PERMISSION_MODES = {
|
|
|
69
70
|
"dontAsk",
|
|
70
71
|
"bypassPermissions",
|
|
71
72
|
],
|
|
72
|
-
["codex-cli"]: ["untrusted", "on-
|
|
73
|
+
["codex-cli"]: ["untrusted", "on-request", "never"],
|
|
73
74
|
};
|
|
74
75
|
/**
|
|
75
76
|
* The effort levels each vendor CLI documents for an executor Session: Claude
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"policy.js","sourceRoot":"","sources":["../../src/session/policy.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,8BAA8B,GAAG,GAAG,CAAC;AAClD,MAAM,CAAC,MAAM,8BAA8B,GAAG,IAAI,CAAC;AACnD,MAAM,CAAC,MAAM,iCAAiC,GAAG,GAAG,CAAC;AACrD,MAAM,CAAC,MAAM,iCAAiC,GAAG,IAAI,GAAG,IAAI,CAAC;AAC7D,MAAM,CAAC,MAAM,iCAAiC,GAAG,CAAC,CAAC;AACnD,iEAAiE;AACjE,MA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|
55
55
|
} | undefined;
|
|
56
56
|
readonly latestTurnId?: string | undefined;
|
|
57
57
|
readonly latestTurnState?: "completed" | "dispatching" | "failed" | "interrupted" | "outcome-unknown" | "queued" | "running" | undefined;
|
|
58
|
-
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-
|
|
58
|
+
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
59
59
|
readonly schemaVersion: 4;
|
|
60
60
|
readonly title?: string | undefined;
|
|
61
61
|
readonly worktree?: {
|
|
@@ -128,7 +128,7 @@ export declare const sessionResumeResultSchema: import("../runtime-schema/runtim
|
|
|
128
128
|
} | undefined;
|
|
129
129
|
readonly latestTurnId?: string | undefined;
|
|
130
130
|
readonly latestTurnState?: "completed" | "dispatching" | "failed" | "interrupted" | "outcome-unknown" | "queued" | "running" | undefined;
|
|
131
|
-
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-
|
|
131
|
+
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
132
132
|
readonly schemaVersion: 4;
|
|
133
133
|
readonly title?: string | undefined;
|
|
134
134
|
readonly worktree?: {
|
package/dist/turn/contract.d.ts
CHANGED
|
@@ -86,6 +86,8 @@ export declare const turnCancelResultSchema: import("../runtime-schema/runtime-s
|
|
|
86
86
|
readonly state: "completed";
|
|
87
87
|
readonly tokenUsage?: {
|
|
88
88
|
readonly cachedInputTokens: number;
|
|
89
|
+
readonly contextTokens?: number | undefined;
|
|
90
|
+
readonly contextWindow?: number | undefined;
|
|
89
91
|
readonly inputTokens: number;
|
|
90
92
|
readonly modelCallCount?: number | undefined;
|
|
91
93
|
readonly outputTokens: number;
|
|
@@ -220,6 +222,8 @@ export declare const turnSchema: import("../runtime-schema/runtime-schema.js").R
|
|
|
220
222
|
readonly state: "completed";
|
|
221
223
|
readonly tokenUsage?: {
|
|
222
224
|
readonly cachedInputTokens: number;
|
|
225
|
+
readonly contextTokens?: number | undefined;
|
|
226
|
+
readonly contextWindow?: number | undefined;
|
|
223
227
|
readonly inputTokens: number;
|
|
224
228
|
readonly modelCallCount?: number | undefined;
|
|
225
229
|
readonly outputTokens: number;
|
|
@@ -284,6 +288,8 @@ export declare const turnInputSchema: import("../runtime-schema/runtime-schema.j
|
|
|
284
288
|
export type TurnInput = InferRuntimeSchema<typeof turnInputSchema>;
|
|
285
289
|
export declare const turnTokenUsageSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
286
290
|
readonly cachedInputTokens: number;
|
|
291
|
+
readonly contextTokens?: number | undefined;
|
|
292
|
+
readonly contextWindow?: number | undefined;
|
|
287
293
|
readonly inputTokens: number;
|
|
288
294
|
readonly modelCallCount?: number | undefined;
|
|
289
295
|
readonly outputTokens: number;
|
|
@@ -385,6 +391,8 @@ export declare const turnInterruptResultSchema: import("../runtime-schema/runtim
|
|
|
385
391
|
readonly state: "completed";
|
|
386
392
|
readonly tokenUsage?: {
|
|
387
393
|
readonly cachedInputTokens: number;
|
|
394
|
+
readonly contextTokens?: number | undefined;
|
|
395
|
+
readonly contextWindow?: number | undefined;
|
|
388
396
|
readonly inputTokens: number;
|
|
389
397
|
readonly modelCallCount?: number | undefined;
|
|
390
398
|
readonly outputTokens: number;
|
|
@@ -517,6 +525,8 @@ export declare const turnSendResultSchema: import("../runtime-schema/runtime-sch
|
|
|
517
525
|
readonly state: "completed";
|
|
518
526
|
readonly tokenUsage?: {
|
|
519
527
|
readonly cachedInputTokens: number;
|
|
528
|
+
readonly contextTokens?: number | undefined;
|
|
529
|
+
readonly contextWindow?: number | undefined;
|
|
520
530
|
readonly inputTokens: number;
|
|
521
531
|
readonly modelCallCount?: number | undefined;
|
|
522
532
|
readonly outputTokens: number;
|
|
@@ -632,6 +642,8 @@ export declare const turnShowResultSchema: import("../runtime-schema/runtime-sch
|
|
|
632
642
|
readonly state: "completed";
|
|
633
643
|
readonly tokenUsage?: {
|
|
634
644
|
readonly cachedInputTokens: number;
|
|
645
|
+
readonly contextTokens?: number | undefined;
|
|
646
|
+
readonly contextWindow?: number | undefined;
|
|
635
647
|
readonly inputTokens: number;
|
|
636
648
|
readonly modelCallCount?: number | undefined;
|
|
637
649
|
readonly outputTokens: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contract.d.ts","sourceRoot":"","sources":["../../src/turn/contract.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAiBrE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEzD;;;GAGG;AACH,eAAO,MAAM,gBAAgB,YAAI,iBAAiB,EAAE,iBAAiB,CAAU,CAAC;AAChF,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAC;AAE9D,eAAO,MAAM,0BAA0B;;;;EAEtC,CAAC;AACF,MAAM,MAAM,oBAAoB,GAAG,kBAAkB,CACnD,OAAO,0BAA0B,CAClC,CAAC;AAEF,eAAO,MAAM,sBAAsB
|
|
1
|
+
{"version":3,"file":"contract.d.ts","sourceRoot":"","sources":["../../src/turn/contract.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAiBrE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEzD;;;GAGG;AACH,eAAO,MAAM,gBAAgB,YAAI,iBAAiB,EAAE,iBAAiB,CAAU,CAAC;AAChF,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAC;AAE9D,eAAO,MAAM,0BAA0B;;;;EAEtC,CAAC;AACF,MAAM,MAAM,oBAAoB,GAAG,kBAAkB,CACnD,OAAO,0BAA0B,CAClC,CAAC;AAEF,eAAO,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;;EAEpC,CAAC;AACF,MAAM,MAAM,kBAAkB,GAAG,kBAAkB,CACjD,OAAO,wBAAwB,CAChC,CAAC;AAEF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAErC,CAAC;AACF,MAAM,MAAM,mBAAmB,GAAG,kBAAkB,CAClD,OAAO,yBAAyB,CACjC,CAAC;AAEF,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEhC,CAAC;AACF,MAAM,MAAM,cAAc,GAAG,kBAAkB,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAE7E,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEhC,CAAC;AACF,MAAM,MAAM,cAAc,GAAG,kBAAkB,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAE7E,MAAM,MAAM,UAAU,GAClB,gBAAgB,GAChB,mBAAmB,GACnB,mBAAmB,GACnB,cAAc,GACd,cAAc,GACd,cAAc,CAAC"}
|
|
@@ -2,6 +2,10 @@ import * as Schema from "effect/Schema";
|
|
|
2
2
|
export declare const turnInputTextEffectSchema: Schema.String;
|
|
3
3
|
export declare const turnTokenUsageEffectSchema: Schema.Struct<{
|
|
4
4
|
readonly cachedInputTokens: Schema.Int;
|
|
5
|
+
/** The input tokens of the turn's last model call: the context in use. */
|
|
6
|
+
readonly contextTokens: Schema.optional<Schema.Int>;
|
|
7
|
+
/** The model's context window in tokens, reported with `contextTokens` or not at all. */
|
|
8
|
+
readonly contextWindow: Schema.optional<Schema.Int>;
|
|
5
9
|
readonly inputTokens: Schema.Int;
|
|
6
10
|
/** Model calls the runtime reported for the turn; absent when it reported none. */
|
|
7
11
|
readonly modelCallCount: Schema.optional<Schema.Int>;
|
|
@@ -70,6 +74,10 @@ export declare const turnEffectSchema: Schema.Union<readonly [Schema.Struct<{
|
|
|
70
74
|
readonly state: Schema.Literal<"completed">;
|
|
71
75
|
readonly tokenUsage: Schema.optional<Schema.Struct<{
|
|
72
76
|
readonly cachedInputTokens: Schema.Int;
|
|
77
|
+
/** The input tokens of the turn's last model call: the context in use. */
|
|
78
|
+
readonly contextTokens: Schema.optional<Schema.Int>;
|
|
79
|
+
/** The model's context window in tokens, reported with `contextTokens` or not at all. */
|
|
80
|
+
readonly contextWindow: Schema.optional<Schema.Int>;
|
|
73
81
|
readonly inputTokens: Schema.Int;
|
|
74
82
|
/** Model calls the runtime reported for the turn; absent when it reported none. */
|
|
75
83
|
readonly modelCallCount: Schema.optional<Schema.Int>;
|
|
@@ -219,6 +227,10 @@ export declare const turnInterruptResultEffectSchema: Schema.Struct<{
|
|
|
219
227
|
readonly state: Schema.Literal<"completed">;
|
|
220
228
|
readonly tokenUsage: Schema.optional<Schema.Struct<{
|
|
221
229
|
readonly cachedInputTokens: Schema.Int;
|
|
230
|
+
/** The input tokens of the turn's last model call: the context in use. */
|
|
231
|
+
readonly contextTokens: Schema.optional<Schema.Int>;
|
|
232
|
+
/** The model's context window in tokens, reported with `contextTokens` or not at all. */
|
|
233
|
+
readonly contextWindow: Schema.optional<Schema.Int>;
|
|
222
234
|
readonly inputTokens: Schema.Int;
|
|
223
235
|
/** Model calls the runtime reported for the turn; absent when it reported none. */
|
|
224
236
|
readonly modelCallCount: Schema.optional<Schema.Int>;
|
|
@@ -352,6 +364,10 @@ export declare const turnSendResultEffectSchema: Schema.Struct<{
|
|
|
352
364
|
readonly state: Schema.Literal<"completed">;
|
|
353
365
|
readonly tokenUsage: Schema.optional<Schema.Struct<{
|
|
354
366
|
readonly cachedInputTokens: Schema.Int;
|
|
367
|
+
/** The input tokens of the turn's last model call: the context in use. */
|
|
368
|
+
readonly contextTokens: Schema.optional<Schema.Int>;
|
|
369
|
+
/** The model's context window in tokens, reported with `contextTokens` or not at all. */
|
|
370
|
+
readonly contextWindow: Schema.optional<Schema.Int>;
|
|
355
371
|
readonly inputTokens: Schema.Int;
|
|
356
372
|
/** Model calls the runtime reported for the turn; absent when it reported none. */
|
|
357
373
|
readonly modelCallCount: Schema.optional<Schema.Int>;
|
|
@@ -468,6 +484,10 @@ export declare const turnShowResultEffectSchema: Schema.Struct<{
|
|
|
468
484
|
readonly state: Schema.Literal<"completed">;
|
|
469
485
|
readonly tokenUsage: Schema.optional<Schema.Struct<{
|
|
470
486
|
readonly cachedInputTokens: Schema.Int;
|
|
487
|
+
/** The input tokens of the turn's last model call: the context in use. */
|
|
488
|
+
readonly contextTokens: Schema.optional<Schema.Int>;
|
|
489
|
+
/** The model's context window in tokens, reported with `contextTokens` or not at all. */
|
|
490
|
+
readonly contextWindow: Schema.optional<Schema.Int>;
|
|
471
491
|
readonly inputTokens: Schema.Int;
|
|
472
492
|
/** Model calls the runtime reported for the turn; absent when it reported none. */
|
|
473
493
|
readonly modelCallCount: Schema.optional<Schema.Int>;
|
|
@@ -631,6 +651,10 @@ export declare const turnCancelResultEffectSchema: Schema.Struct<{
|
|
|
631
651
|
readonly state: Schema.Literal<"completed">;
|
|
632
652
|
readonly tokenUsage: Schema.optional<Schema.Struct<{
|
|
633
653
|
readonly cachedInputTokens: Schema.Int;
|
|
654
|
+
/** The input tokens of the turn's last model call: the context in use. */
|
|
655
|
+
readonly contextTokens: Schema.optional<Schema.Int>;
|
|
656
|
+
/** The model's context window in tokens, reported with `contextTokens` or not at all. */
|
|
657
|
+
readonly contextWindow: Schema.optional<Schema.Int>;
|
|
634
658
|
readonly inputTokens: Schema.Int;
|
|
635
659
|
/** Model calls the runtime reported for the turn; absent when it reported none. */
|
|
636
660
|
readonly modelCallCount: Schema.optional<Schema.Int>;
|
|
@@ -829,6 +853,10 @@ export declare const turnSuccessResultEffectSchema: Schema.Union<readonly [Schem
|
|
|
829
853
|
readonly state: Schema.Literal<"completed">;
|
|
830
854
|
readonly tokenUsage: Schema.optional<Schema.Struct<{
|
|
831
855
|
readonly cachedInputTokens: Schema.Int;
|
|
856
|
+
/** The input tokens of the turn's last model call: the context in use. */
|
|
857
|
+
readonly contextTokens: Schema.optional<Schema.Int>;
|
|
858
|
+
/** The model's context window in tokens, reported with `contextTokens` or not at all. */
|
|
859
|
+
readonly contextWindow: Schema.optional<Schema.Int>;
|
|
832
860
|
readonly inputTokens: Schema.Int;
|
|
833
861
|
/** Model calls the runtime reported for the turn; absent when it reported none. */
|
|
834
862
|
readonly modelCallCount: Schema.optional<Schema.Int>;
|
|
@@ -978,6 +1006,10 @@ export declare const turnSuccessResultEffectSchema: Schema.Union<readonly [Schem
|
|
|
978
1006
|
readonly state: Schema.Literal<"completed">;
|
|
979
1007
|
readonly tokenUsage: Schema.optional<Schema.Struct<{
|
|
980
1008
|
readonly cachedInputTokens: Schema.Int;
|
|
1009
|
+
/** The input tokens of the turn's last model call: the context in use. */
|
|
1010
|
+
readonly contextTokens: Schema.optional<Schema.Int>;
|
|
1011
|
+
/** The model's context window in tokens, reported with `contextTokens` or not at all. */
|
|
1012
|
+
readonly contextWindow: Schema.optional<Schema.Int>;
|
|
981
1013
|
readonly inputTokens: Schema.Int;
|
|
982
1014
|
/** Model calls the runtime reported for the turn; absent when it reported none. */
|
|
983
1015
|
readonly modelCallCount: Schema.optional<Schema.Int>;
|
|
@@ -1110,6 +1142,10 @@ export declare const turnSuccessResultEffectSchema: Schema.Union<readonly [Schem
|
|
|
1110
1142
|
readonly state: Schema.Literal<"completed">;
|
|
1111
1143
|
readonly tokenUsage: Schema.optional<Schema.Struct<{
|
|
1112
1144
|
readonly cachedInputTokens: Schema.Int;
|
|
1145
|
+
/** The input tokens of the turn's last model call: the context in use. */
|
|
1146
|
+
readonly contextTokens: Schema.optional<Schema.Int>;
|
|
1147
|
+
/** The model's context window in tokens, reported with `contextTokens` or not at all. */
|
|
1148
|
+
readonly contextWindow: Schema.optional<Schema.Int>;
|
|
1113
1149
|
readonly inputTokens: Schema.Int;
|
|
1114
1150
|
/** Model calls the runtime reported for the turn; absent when it reported none. */
|
|
1115
1151
|
readonly modelCallCount: Schema.optional<Schema.Int>;
|
|
@@ -1225,6 +1261,10 @@ export declare const turnSuccessResultEffectSchema: Schema.Union<readonly [Schem
|
|
|
1225
1261
|
readonly state: Schema.Literal<"completed">;
|
|
1226
1262
|
readonly tokenUsage: Schema.optional<Schema.Struct<{
|
|
1227
1263
|
readonly cachedInputTokens: Schema.Int;
|
|
1264
|
+
/** The input tokens of the turn's last model call: the context in use. */
|
|
1265
|
+
readonly contextTokens: Schema.optional<Schema.Int>;
|
|
1266
|
+
/** The model's context window in tokens, reported with `contextTokens` or not at all. */
|
|
1267
|
+
readonly contextWindow: Schema.optional<Schema.Int>;
|
|
1228
1268
|
readonly inputTokens: Schema.Int;
|
|
1229
1269
|
/** Model calls the runtime reported for the turn; absent when it reported none. */
|
|
1230
1270
|
readonly modelCallCount: Schema.optional<Schema.Int>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"effect-schema.d.ts","sourceRoot":"","sources":["../../src/turn/effect-schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAiCxC,eAAO,MAAM,yBAAyB,eAGrC,CAAC;
|
|
1
|
+
{"version":3,"file":"effect-schema.d.ts","sourceRoot":"","sources":["../../src/turn/effect-schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAiCxC,eAAO,MAAM,yBAAyB,eAGrC,CAAC;AAeF,eAAO,MAAM,0BAA0B;;IAErC,0EAA0E;;IAE1E,yFAAyF;;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mEAAmE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAhDnE,0EAA0E;;YAE1E,yFAAyF;;;YAGzF,mFAAmF;;;;;;;;;;;;;;;;;;QA2CnF,mEAAmE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAhDnE,0EAA0E;;YAE1E,yFAAyF;;;YAGzF,mFAAmF;;;;;;;;;;;;;;;;;;QA2CnF,mEAAmE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA+MnE,CAAC"}
|
|
@@ -10,8 +10,13 @@ const boundedUtf8 = (maximumBytes, expected) => Schema.String.check(Schema.isMin
|
|
|
10
10
|
export const turnInputTextEffectSchema = boundedUtf8(MAX_TURN_INPUT_BYTES, "turn input encoded as at most 16384 UTF-8 bytes");
|
|
11
11
|
const turnResponseTextEffectSchema = Schema.String.check(Schema.makeFilter((value) => utf8.encode(value).byteLength <= MAX_TURN_RESPONSE_BYTES, { expected: "turn response encoded as at most 32768 UTF-8 bytes" }));
|
|
12
12
|
const tokenCountEffectSchema = Schema.Int.check(Schema.isGreaterThanOrEqualTo(0));
|
|
13
|
+
const contextWindowEffectSchema = Schema.Int.check(Schema.isGreaterThanOrEqualTo(1));
|
|
13
14
|
export const turnTokenUsageEffectSchema = Schema.Struct({
|
|
14
15
|
cachedInputTokens: tokenCountEffectSchema,
|
|
16
|
+
/** The input tokens of the turn's last model call: the context in use. */
|
|
17
|
+
contextTokens: Schema.optional(tokenCountEffectSchema),
|
|
18
|
+
/** The model's context window in tokens, reported with `contextTokens` or not at all. */
|
|
19
|
+
contextWindow: Schema.optional(contextWindowEffectSchema),
|
|
15
20
|
inputTokens: tokenCountEffectSchema,
|
|
16
21
|
/** Model calls the runtime reported for the turn; absent when it reported none. */
|
|
17
22
|
modelCallCount: Schema.optional(tokenCountEffectSchema),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"effect-schema.js","sourceRoot":"","sources":["../../src/turn/effect-schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,0BAA0B,EAAE,MAAM,qCAAqC,CAAC;AACjF,OAAO,EACL,6BAA6B,EAC7B,yBAAyB,EACzB,8BAA8B,EAC9B,sBAAsB,GACvB,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EACL,yBAAyB,EACzB,oBAAoB,EACpB,4BAA4B,EAC5B,uBAAuB,EACvB,iBAAiB,EACjB,0BAA0B,GAC3B,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAEnD,MAAM,IAAI,GAAG,IAAI,WAAW,EAAE,CAAC;AAE/B,MAAM,WAAW,GAAG,CAAC,YAAoB,EAAE,QAAgB,EAAE,EAAE,CAC7D,MAAM,CAAC,MAAM,CAAC,KAAK,CACjB,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,EACrB,MAAM,CAAC,UAAU,CACf,CAAC,KAAK,EAAE,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,UAAU,IAAI,YAAY,EACxD;IACE,QAAQ;CACT,CACF,CACF,CAAC;AAEJ,MAAM,CAAC,MAAM,yBAAyB,GAAG,WAAW,CAClD,oBAAoB,EACpB,iDAAiD,CAClD,CAAC;AACF,MAAM,4BAA4B,GAAG,MAAM,CAAC,MAAM,CAAC,KAAK,CACtD,MAAM,CAAC,UAAU,CACf,CAAC,KAAK,EAAE,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,UAAU,IAAI,uBAAuB,EACnE,EAAE,QAAQ,EAAE,oDAAoD,EAAE,CACnE,CACF,CAA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AAC;QACZ,MAAM,EAAE,MAAM,CAAC,OAAO,CAAC,aAAa,CAAC;QACrC,UAAU,EAAE,gCAAgC;KAC7C,CAAC;IACF,MAAM,CAAC,MAAM,CAAC;QACZ,MAAM,EAAE,MAAM,CAAC,OAAO,CAAC,iBAAiB,CAAC;QACzC,UAAU,EAAE,mCAAmC;KAChD,CAAC;IACF,MAAM,CAAC,MAAM,CAAC;QACZ,MAAM,EAAE,MAAM,CAAC,OAAO,CAAC,gBAAgB,CAAC;QACxC,UAAU,EAAE,mCAAmC;KAChD,CAAC;IACF,MAAM,CAAC,MAAM,CAAC;QACZ,MAAM,EAAE,MAAM,CAAC,OAAO,CAAC,WAAW,CAAC;QACnC,UAAU,EAAE,8BAA8B;KAC3C,CAAC;IACF,MAAM,CAAC,MAAM,CAAC;QACZ,MAAM,EAAE,MAAM,CAAC,OAAO,CAAC,WAAW,CAAC;QACnC,UAAU,EAAE,8BAA8B;KAC3C,CAAC;IACF,MAAM,CAAC,MAAM,CAAC;QACZ,MAAM,EAAE,MAAM,CAAC,OAAO,CAAC,WAAW,CAAC;QACnC,UAAU,EAAE,8BAA8B;KAC3C,CAAC;CACH,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,6BAA6B,GAAG,MAAM,CAAC,KAAK,CAAC;IACxD,4BAA4B;IAC5B,+BAA+B;IAC/B,+BAA+B;IAC/B,0BAA0B;IAC1B,0BAA0B;IAC1B,0BAA0B;CAC3B,CAAC,CAAC"}
|
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.49",
|
|
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",
|