@opencode/server 2.1.0 → 2.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api.d.ts +933 -918
- package/dist/api.js +5 -5
- package/dist/auth.js +1 -1
- package/dist/chunks/{service-status-vy0x6yc6.js → request-tracing-1ya81ktr.js} +2 -2
- package/dist/chunks/{service-status-scq1j2yg.js → request-tracing-3d7qdbre.js} +1 -1
- package/dist/chunks/{service-status-1ahadpvw.js → request-tracing-4gnb9897.js} +1 -1
- package/dist/chunks/{service-status-026wrard.js → request-tracing-4nbah0zs.js} +3 -3
- package/dist/chunks/{service-status-gqq6kfhc.js → request-tracing-50bbk3b2.js} +3 -3
- package/dist/chunks/{service-status-j66ekhc9.js → request-tracing-547pgmmc.js} +2 -2
- package/dist/chunks/{service-status-tefn0j7n.js → request-tracing-5qadbb61.js} +8 -8
- package/dist/chunks/{service-status-5w24ch67.js → request-tracing-5w24ch67.js} +1 -1
- package/dist/chunks/{service-status-n9y13hgv.js → request-tracing-5ybpxcad.js} +4 -4
- package/dist/chunks/{service-status-qbrxhger.js → request-tracing-7xe5pzvy.js} +1 -1
- package/dist/chunks/{service-status-56rkpa1p.js → request-tracing-8t0ckx4f.js} +2 -2
- package/dist/chunks/{service-status-anm12x33.js → request-tracing-anm12x33.js} +1 -1
- package/dist/chunks/{service-status-yet0vexm.js → request-tracing-b3bmdkga.js} +1 -1
- package/dist/chunks/{service-status-wv5twc2g.js → request-tracing-bkk2wfbz.js} +8 -8
- package/dist/chunks/{service-status-3j8kyrsr.js → request-tracing-bs0wtx09.js} +7 -7
- package/dist/chunks/{service-status-vkgak0vv.js → request-tracing-cpp0zjdy.js} +2 -2
- package/dist/chunks/{service-status-9h3s5d39.js → request-tracing-emkxpff3.js} +3 -3
- package/dist/chunks/{service-status-kmgak63h.js → request-tracing-eyzmgmqx.js} +19 -19
- package/dist/chunks/{service-status-5bchp9s2.js → request-tracing-fazm2c7b.js} +2 -2
- package/dist/chunks/{service-status-aajxxgqb.js → request-tracing-fysmzcya.js} +2 -2
- package/dist/chunks/{service-status-k7wggcq2.js → request-tracing-g0rzwe5g.js} +7 -7
- package/dist/chunks/{service-status-y7p3rgqn.js → request-tracing-g7sdbt1s.js} +2 -2
- package/dist/chunks/{service-status-t7dxwnb0.js → request-tracing-gq8jw616.js} +2 -2
- package/dist/chunks/{service-status-nmcxqxxx.js → request-tracing-gw6rc7x0.js} +2 -2
- package/dist/chunks/{service-status-zfjz2b4g.js → request-tracing-hwqxzcvy.js} +1 -1
- package/dist/chunks/{service-status-g1bp01xw.js → request-tracing-jd2d9483.js} +2 -2
- package/dist/chunks/{service-status-4vaqgjp8.js → request-tracing-jk5edc6h.js} +2 -2
- package/dist/chunks/{service-status-rbn15j6z.js → request-tracing-kr61w04k.js} +8 -8
- package/dist/chunks/{service-status-10jzh2zk.js → request-tracing-nnsgc8by.js} +3 -3
- package/dist/chunks/{service-status-rrf9gkkq.js → request-tracing-qcfps8nc.js} +2 -2
- package/dist/chunks/{service-status-e2cx9grb.js → request-tracing-qx5ydgm0.js} +1 -1
- package/dist/chunks/{service-status-j3626vk8.js → request-tracing-rhdada90.js} +2 -2
- package/dist/chunks/{service-status-vrkptjpq.js → request-tracing-rw96z9cx.js} +3 -3
- package/dist/chunks/{service-status-2s3n8phw.js → request-tracing-s0qm098c.js} +2 -2
- package/dist/chunks/{service-status-dc18tjnc.js → request-tracing-sc3gatcy.js} +3 -3
- package/dist/chunks/{service-status-hxgz4x38.js → request-tracing-t4c683g8.js} +2 -2
- package/dist/chunks/{service-status-vg73xc24.js → request-tracing-tp6qcw6t.js} +1 -1
- package/dist/chunks/{service-status-ksvmmk2r.js → request-tracing-w4e9jgda.js} +1 -1
- package/dist/chunks/{service-status-g0g9ma1m.js → request-tracing-wexwfee0.js} +2 -2
- package/dist/chunks/{service-status-h29z6nze.js → request-tracing-xgbwf6ck.js} +34 -34
- package/dist/chunks/{service-status-rys6nden.js → request-tracing-xwnn9gpm.js} +2 -2
- package/dist/chunks/{service-status-n3hqkreg.js → request-tracing-yeebkdj0.js} +2 -2
- package/dist/chunks/{service-status-yfz2nrjq.js → request-tracing-yfz2nrjq.js} +1 -1
- package/dist/chunks/{service-status-xt7xrv1r.js → request-tracing-z6z134jc.js} +2 -2
- package/dist/chunks/{service-status-7q8ata5b.js → request-tracing-zfbzqd0e.js} +1 -1
- package/dist/cors.js +1 -1
- package/dist/event-feed.js +3 -3
- package/dist/fetch.js +48 -48
- package/dist/handlers/agent.js +6 -6
- package/dist/handlers/command.js +6 -6
- package/dist/handlers/config.js +6 -6
- package/dist/handlers/credential.js +6 -6
- package/dist/handlers/debug.js +6 -6
- package/dist/handlers/event.js +7 -7
- package/dist/handlers/form.js +6 -6
- package/dist/handlers/fs.js +6 -6
- package/dist/handlers/generate.js +6 -6
- package/dist/handlers/integration.js +6 -6
- package/dist/handlers/location.js +6 -6
- package/dist/handlers/mcp.js +6 -6
- package/dist/handlers/message.js +6 -6
- package/dist/handlers/migration.js +6 -6
- package/dist/handlers/model.js +6 -6
- package/dist/handlers/permission.js +6 -6
- package/dist/handlers/persistent-pty.js +8 -8
- package/dist/handlers/plugin.js +6 -6
- package/dist/handlers/project.js +6 -6
- package/dist/handlers/provider.js +6 -6
- package/dist/handlers/pty-socket.js +1 -1
- package/dist/handlers/pty.js +9 -9
- package/dist/handlers/reference.js +6 -6
- package/dist/handlers/rpc.js +6 -6
- package/dist/handlers/server.js +9 -9
- package/dist/handlers/session-error.js +1 -1
- package/dist/handlers/session.js +6 -6
- package/dist/handlers/shell.js +6 -6
- package/dist/handlers/skill.js +6 -6
- package/dist/handlers/vcs.js +6 -6
- package/dist/handlers/voice.js +6 -6
- package/dist/handlers/websearch.js +6 -6
- package/dist/handlers/worktree.js +6 -6
- package/dist/handlers.js +44 -44
- package/dist/location.js +4 -4
- package/dist/middleware/authorization.js +2 -2
- package/dist/middleware/form-location.js +3 -3
- package/dist/middleware/schema-error.js +1 -1
- package/dist/middleware/session-location.js +3 -3
- package/dist/pairing.js +5 -5
- package/dist/process.js +50 -50
- package/dist/pty-environment.js +7 -7
- package/dist/request-tracing.js +1 -1
- package/dist/routes.js +47 -47
- package/dist/server-info.js +5 -5
- package/dist/service-status.js +1 -1
- package/dist/workerd.js +49 -49
- package/package.json +8 -8
- /package/dist/chunks/{service-status-9rqn6x4v.js → request-tracing-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{service-status-erzfdgke.js → request-tracing-erzfdgke.js} +0 -0
- /package/dist/chunks/{service-status-h6rt5k9s.js → request-tracing-h6rt5k9s.js} +0 -0
- /package/dist/chunks/{service-status-q4bn6dy8.js → request-tracing-q4bn6dy8.js} +0 -0
- /package/dist/chunks/{service-status-smaf4a18.js → request-tracing-smaf4a18.js} +0 -0
- /package/dist/chunks/{service-status-yc7nft6q.js → request-tracing-yc7nft6q.js} +0 -0
package/dist/api.d.ts
CHANGED
|
@@ -1454,7 +1454,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
1454
1454
|
readonly text: import("effect/Schema").String;
|
|
1455
1455
|
}>>, never, never>;
|
|
1456
1456
|
}> & {
|
|
1457
|
-
create: (input: import("@opencode/schema
|
|
1457
|
+
create: (input: import("@opencode/schema").FileAttachment) => {
|
|
1458
1458
|
readonly data: string;
|
|
1459
1459
|
readonly mime: string;
|
|
1460
1460
|
readonly source: {
|
|
@@ -1492,7 +1492,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
1492
1492
|
readonly text: import("effect/Schema").String;
|
|
1493
1493
|
}>>, never, never>;
|
|
1494
1494
|
}> & {
|
|
1495
|
-
create: (input: import("@opencode/schema
|
|
1495
|
+
create: (input: import("@opencode/schema").FileAttachment) => {
|
|
1496
1496
|
readonly data: string;
|
|
1497
1497
|
readonly mime: string;
|
|
1498
1498
|
readonly source: {
|
|
@@ -1637,7 +1637,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
1637
1637
|
readonly text: import("effect/Schema").String;
|
|
1638
1638
|
}>>, never, never>;
|
|
1639
1639
|
}> & {
|
|
1640
|
-
create: (input: import("@opencode/schema
|
|
1640
|
+
create: (input: import("@opencode/schema").FileAttachment) => {
|
|
1641
1641
|
readonly data: string;
|
|
1642
1642
|
readonly mime: string;
|
|
1643
1643
|
readonly source: {
|
|
@@ -1675,7 +1675,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
1675
1675
|
readonly text: import("effect/Schema").String;
|
|
1676
1676
|
}>>, never, never>;
|
|
1677
1677
|
}> & {
|
|
1678
|
-
create: (input: import("@opencode/schema
|
|
1678
|
+
create: (input: import("@opencode/schema").FileAttachment) => {
|
|
1679
1679
|
readonly data: string;
|
|
1680
1680
|
readonly mime: string;
|
|
1681
1681
|
readonly source: {
|
|
@@ -2042,6 +2042,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
2042
2042
|
}>>>, import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
|
|
2043
2043
|
readonly body: import("effect/Schema").String;
|
|
2044
2044
|
}>>, never, never>;
|
|
2045
|
+
readonly retryAfterMs: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Int>>, import("effect/Schema").optionalKey<import("effect/Schema").Int>, never, never>;
|
|
2045
2046
|
}>;
|
|
2046
2047
|
}>;
|
|
2047
2048
|
}> & {
|
|
@@ -2065,6 +2066,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
2065
2066
|
}>>>, import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
|
|
2066
2067
|
readonly body: import("effect/Schema").String;
|
|
2067
2068
|
}>>, never, never>;
|
|
2069
|
+
readonly retryAfterMs: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Int>>, import("effect/Schema").optionalKey<import("effect/Schema").Int>, never, never>;
|
|
2068
2070
|
}>;
|
|
2069
2071
|
}>;
|
|
2070
2072
|
}, import("effect/Schema").Struct<{
|
|
@@ -2782,6 +2784,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
2782
2784
|
}>>>, import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
|
|
2783
2785
|
readonly body: import("effect/Schema").String;
|
|
2784
2786
|
}>>, never, never>;
|
|
2787
|
+
readonly retryAfterMs: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Int>>, import("effect/Schema").optionalKey<import("effect/Schema").Int>, never, never>;
|
|
2785
2788
|
}>;
|
|
2786
2789
|
readonly finish: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Literals<readonly ["content-filter"]>>>, import("effect/Schema").optionalKey<import("effect/Schema").Literals<readonly ["content-filter"]>>, never, never>;
|
|
2787
2790
|
readonly rawFinish: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").String>>, import("effect/Schema").optionalKey<import("effect/Schema").String>, never, never>;
|
|
@@ -2836,6 +2839,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
2836
2839
|
}>>>, import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
|
|
2837
2840
|
readonly body: import("effect/Schema").String;
|
|
2838
2841
|
}>>, never, never>;
|
|
2842
|
+
readonly retryAfterMs: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Int>>, import("effect/Schema").optionalKey<import("effect/Schema").Int>, never, never>;
|
|
2839
2843
|
}>;
|
|
2840
2844
|
readonly finish: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Literals<readonly ["content-filter"]>>>, import("effect/Schema").optionalKey<import("effect/Schema").Literals<readonly ["content-filter"]>>, never, never>;
|
|
2841
2845
|
readonly rawFinish: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").String>>, import("effect/Schema").optionalKey<import("effect/Schema").String>, never, never>;
|
|
@@ -3655,6 +3659,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
3655
3659
|
}>>>, import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
|
|
3656
3660
|
readonly body: import("effect/Schema").String;
|
|
3657
3661
|
}>>, never, never>;
|
|
3662
|
+
readonly retryAfterMs: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Int>>, import("effect/Schema").optionalKey<import("effect/Schema").Int>, never, never>;
|
|
3658
3663
|
}>;
|
|
3659
3664
|
readonly content: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").NonEmptyArray<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
|
|
3660
3665
|
readonly type: import("effect/Schema").Literal<"text">;
|
|
@@ -3703,6 +3708,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
3703
3708
|
}>>>, import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
|
|
3704
3709
|
readonly body: import("effect/Schema").String;
|
|
3705
3710
|
}>>, never, never>;
|
|
3711
|
+
readonly retryAfterMs: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Int>>, import("effect/Schema").optionalKey<import("effect/Schema").Int>, never, never>;
|
|
3706
3712
|
}>;
|
|
3707
3713
|
readonly content: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").NonEmptyArray<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
|
|
3708
3714
|
readonly type: import("effect/Schema").Literal<"text">;
|
|
@@ -3776,6 +3782,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
3776
3782
|
}>>>, import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
|
|
3777
3783
|
readonly body: import("effect/Schema").String;
|
|
3778
3784
|
}>>, never, never>;
|
|
3785
|
+
readonly retryAfterMs: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Int>>, import("effect/Schema").optionalKey<import("effect/Schema").Int>, never, never>;
|
|
3779
3786
|
}>;
|
|
3780
3787
|
}>;
|
|
3781
3788
|
}> & {
|
|
@@ -3805,6 +3812,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
3805
3812
|
}>>>, import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
|
|
3806
3813
|
readonly body: import("effect/Schema").String;
|
|
3807
3814
|
}>>, never, never>;
|
|
3815
|
+
readonly retryAfterMs: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Int>>, import("effect/Schema").optionalKey<import("effect/Schema").Int>, never, never>;
|
|
3808
3816
|
}>;
|
|
3809
3817
|
}>;
|
|
3810
3818
|
}, import("effect/Schema").Struct<{
|
|
@@ -4153,6 +4161,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
4153
4161
|
}>>>, import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
|
|
4154
4162
|
readonly body: import("effect/Schema").String;
|
|
4155
4163
|
}>>, never, never>;
|
|
4164
|
+
readonly retryAfterMs: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Int>>, import("effect/Schema").optionalKey<import("effect/Schema").Int>, never, never>;
|
|
4156
4165
|
}>;
|
|
4157
4166
|
readonly inputID: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").String, "Session.Message.ID"> & {
|
|
4158
4167
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -4206,6 +4215,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
4206
4215
|
}>>>, import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
|
|
4207
4216
|
readonly body: import("effect/Schema").String;
|
|
4208
4217
|
}>>, never, never>;
|
|
4218
|
+
readonly retryAfterMs: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Int>>, import("effect/Schema").optionalKey<import("effect/Schema").Int>, never, never>;
|
|
4209
4219
|
}>;
|
|
4210
4220
|
readonly inputID: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").String, "Session.Message.ID"> & {
|
|
4211
4221
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -6362,26 +6372,224 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6362
6372
|
readonly metadata?: {
|
|
6363
6373
|
readonly [x: string]: unknown;
|
|
6364
6374
|
} | undefined;
|
|
6365
|
-
readonly type: "
|
|
6375
|
+
readonly type: "form.cancelled";
|
|
6366
6376
|
readonly location?: {
|
|
6367
6377
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
6368
6378
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
6369
6379
|
} | undefined;
|
|
6370
|
-
readonly data: {
|
|
6380
|
+
readonly data: {
|
|
6381
|
+
readonly id: string & import("effect/Brand").Brand<"Form.ID">;
|
|
6382
|
+
readonly sessionID: string;
|
|
6383
|
+
};
|
|
6371
6384
|
} | {
|
|
6372
6385
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
6373
6386
|
readonly created: number;
|
|
6374
6387
|
readonly metadata?: {
|
|
6375
6388
|
readonly [x: string]: unknown;
|
|
6376
6389
|
} | undefined;
|
|
6377
|
-
readonly type: "
|
|
6390
|
+
readonly type: "form.created";
|
|
6378
6391
|
readonly location?: {
|
|
6379
6392
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
6380
6393
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
6381
6394
|
} | undefined;
|
|
6382
6395
|
readonly data: {
|
|
6383
|
-
readonly
|
|
6384
|
-
|
|
6396
|
+
readonly form: {
|
|
6397
|
+
readonly id: string & import("effect/Brand").Brand<"Form.ID">;
|
|
6398
|
+
readonly sessionID: string;
|
|
6399
|
+
readonly title: string;
|
|
6400
|
+
readonly metadata?: {
|
|
6401
|
+
readonly [x: string]: unknown;
|
|
6402
|
+
} | undefined;
|
|
6403
|
+
readonly fields: readonly [{
|
|
6404
|
+
readonly key: string;
|
|
6405
|
+
readonly title?: string | undefined;
|
|
6406
|
+
readonly description?: string | undefined;
|
|
6407
|
+
readonly required?: boolean | undefined;
|
|
6408
|
+
readonly hidden?: boolean | undefined;
|
|
6409
|
+
readonly when?: readonly {
|
|
6410
|
+
readonly key: string;
|
|
6411
|
+
readonly op: "eq" | "neq";
|
|
6412
|
+
readonly value: string | number | boolean;
|
|
6413
|
+
}[] | undefined;
|
|
6414
|
+
readonly type: "string";
|
|
6415
|
+
readonly format?: "date" | "date-time" | "email" | "uri" | undefined;
|
|
6416
|
+
readonly minLength?: number | undefined;
|
|
6417
|
+
readonly maxLength?: number | undefined;
|
|
6418
|
+
readonly pattern?: string | undefined;
|
|
6419
|
+
readonly placeholder?: string | undefined;
|
|
6420
|
+
readonly default?: string | undefined;
|
|
6421
|
+
readonly options?: readonly {
|
|
6422
|
+
readonly value: string;
|
|
6423
|
+
readonly label: string;
|
|
6424
|
+
readonly description?: string | undefined;
|
|
6425
|
+
}[] | undefined;
|
|
6426
|
+
readonly custom?: boolean | undefined;
|
|
6427
|
+
} | {
|
|
6428
|
+
readonly key: string;
|
|
6429
|
+
readonly title?: string | undefined;
|
|
6430
|
+
readonly description?: string | undefined;
|
|
6431
|
+
readonly required?: boolean | undefined;
|
|
6432
|
+
readonly hidden?: boolean | undefined;
|
|
6433
|
+
readonly when?: readonly {
|
|
6434
|
+
readonly key: string;
|
|
6435
|
+
readonly op: "eq" | "neq";
|
|
6436
|
+
readonly value: string | number | boolean;
|
|
6437
|
+
}[] | undefined;
|
|
6438
|
+
readonly type: "number";
|
|
6439
|
+
readonly minimum?: number | undefined;
|
|
6440
|
+
readonly maximum?: number | undefined;
|
|
6441
|
+
readonly default?: number | undefined;
|
|
6442
|
+
} | {
|
|
6443
|
+
readonly key: string;
|
|
6444
|
+
readonly title?: string | undefined;
|
|
6445
|
+
readonly description?: string | undefined;
|
|
6446
|
+
readonly required?: boolean | undefined;
|
|
6447
|
+
readonly hidden?: boolean | undefined;
|
|
6448
|
+
readonly when?: readonly {
|
|
6449
|
+
readonly key: string;
|
|
6450
|
+
readonly op: "eq" | "neq";
|
|
6451
|
+
readonly value: string | number | boolean;
|
|
6452
|
+
}[] | undefined;
|
|
6453
|
+
readonly type: "integer";
|
|
6454
|
+
readonly minimum?: number | undefined;
|
|
6455
|
+
readonly maximum?: number | undefined;
|
|
6456
|
+
readonly default?: number | undefined;
|
|
6457
|
+
} | {
|
|
6458
|
+
readonly key: string;
|
|
6459
|
+
readonly title?: string | undefined;
|
|
6460
|
+
readonly description?: string | undefined;
|
|
6461
|
+
readonly required?: boolean | undefined;
|
|
6462
|
+
readonly hidden?: boolean | undefined;
|
|
6463
|
+
readonly when?: readonly {
|
|
6464
|
+
readonly key: string;
|
|
6465
|
+
readonly op: "eq" | "neq";
|
|
6466
|
+
readonly value: string | number | boolean;
|
|
6467
|
+
}[] | undefined;
|
|
6468
|
+
readonly type: "boolean";
|
|
6469
|
+
readonly default?: boolean | undefined;
|
|
6470
|
+
} | {
|
|
6471
|
+
readonly key: string;
|
|
6472
|
+
readonly title?: string | undefined;
|
|
6473
|
+
readonly description?: string | undefined;
|
|
6474
|
+
readonly required?: boolean | undefined;
|
|
6475
|
+
readonly hidden?: boolean | undefined;
|
|
6476
|
+
readonly when?: readonly {
|
|
6477
|
+
readonly key: string;
|
|
6478
|
+
readonly op: "eq" | "neq";
|
|
6479
|
+
readonly value: string | number | boolean;
|
|
6480
|
+
}[] | undefined;
|
|
6481
|
+
readonly type: "multiselect";
|
|
6482
|
+
readonly options: readonly {
|
|
6483
|
+
readonly value: string;
|
|
6484
|
+
readonly label: string;
|
|
6485
|
+
readonly description?: string | undefined;
|
|
6486
|
+
}[];
|
|
6487
|
+
readonly minItems?: number | undefined;
|
|
6488
|
+
readonly maxItems?: number | undefined;
|
|
6489
|
+
readonly custom?: boolean | undefined;
|
|
6490
|
+
readonly default?: readonly string[] | undefined;
|
|
6491
|
+
} | {
|
|
6492
|
+
readonly key: string;
|
|
6493
|
+
readonly type: "external";
|
|
6494
|
+
readonly url: string;
|
|
6495
|
+
readonly title?: string | undefined;
|
|
6496
|
+
readonly description?: string | undefined;
|
|
6497
|
+
}, ...({
|
|
6498
|
+
readonly key: string;
|
|
6499
|
+
readonly title?: string | undefined;
|
|
6500
|
+
readonly description?: string | undefined;
|
|
6501
|
+
readonly required?: boolean | undefined;
|
|
6502
|
+
readonly hidden?: boolean | undefined;
|
|
6503
|
+
readonly when?: readonly {
|
|
6504
|
+
readonly key: string;
|
|
6505
|
+
readonly op: "eq" | "neq";
|
|
6506
|
+
readonly value: string | number | boolean;
|
|
6507
|
+
}[] | undefined;
|
|
6508
|
+
readonly type: "string";
|
|
6509
|
+
readonly format?: "date" | "date-time" | "email" | "uri" | undefined;
|
|
6510
|
+
readonly minLength?: number | undefined;
|
|
6511
|
+
readonly maxLength?: number | undefined;
|
|
6512
|
+
readonly pattern?: string | undefined;
|
|
6513
|
+
readonly placeholder?: string | undefined;
|
|
6514
|
+
readonly default?: string | undefined;
|
|
6515
|
+
readonly options?: readonly {
|
|
6516
|
+
readonly value: string;
|
|
6517
|
+
readonly label: string;
|
|
6518
|
+
readonly description?: string | undefined;
|
|
6519
|
+
}[] | undefined;
|
|
6520
|
+
readonly custom?: boolean | undefined;
|
|
6521
|
+
} | {
|
|
6522
|
+
readonly key: string;
|
|
6523
|
+
readonly title?: string | undefined;
|
|
6524
|
+
readonly description?: string | undefined;
|
|
6525
|
+
readonly required?: boolean | undefined;
|
|
6526
|
+
readonly hidden?: boolean | undefined;
|
|
6527
|
+
readonly when?: readonly {
|
|
6528
|
+
readonly key: string;
|
|
6529
|
+
readonly op: "eq" | "neq";
|
|
6530
|
+
readonly value: string | number | boolean;
|
|
6531
|
+
}[] | undefined;
|
|
6532
|
+
readonly type: "number";
|
|
6533
|
+
readonly minimum?: number | undefined;
|
|
6534
|
+
readonly maximum?: number | undefined;
|
|
6535
|
+
readonly default?: number | undefined;
|
|
6536
|
+
} | {
|
|
6537
|
+
readonly key: string;
|
|
6538
|
+
readonly title?: string | undefined;
|
|
6539
|
+
readonly description?: string | undefined;
|
|
6540
|
+
readonly required?: boolean | undefined;
|
|
6541
|
+
readonly hidden?: boolean | undefined;
|
|
6542
|
+
readonly when?: readonly {
|
|
6543
|
+
readonly key: string;
|
|
6544
|
+
readonly op: "eq" | "neq";
|
|
6545
|
+
readonly value: string | number | boolean;
|
|
6546
|
+
}[] | undefined;
|
|
6547
|
+
readonly type: "integer";
|
|
6548
|
+
readonly minimum?: number | undefined;
|
|
6549
|
+
readonly maximum?: number | undefined;
|
|
6550
|
+
readonly default?: number | undefined;
|
|
6551
|
+
} | {
|
|
6552
|
+
readonly key: string;
|
|
6553
|
+
readonly title?: string | undefined;
|
|
6554
|
+
readonly description?: string | undefined;
|
|
6555
|
+
readonly required?: boolean | undefined;
|
|
6556
|
+
readonly hidden?: boolean | undefined;
|
|
6557
|
+
readonly when?: readonly {
|
|
6558
|
+
readonly key: string;
|
|
6559
|
+
readonly op: "eq" | "neq";
|
|
6560
|
+
readonly value: string | number | boolean;
|
|
6561
|
+
}[] | undefined;
|
|
6562
|
+
readonly type: "boolean";
|
|
6563
|
+
readonly default?: boolean | undefined;
|
|
6564
|
+
} | {
|
|
6565
|
+
readonly key: string;
|
|
6566
|
+
readonly title?: string | undefined;
|
|
6567
|
+
readonly description?: string | undefined;
|
|
6568
|
+
readonly required?: boolean | undefined;
|
|
6569
|
+
readonly hidden?: boolean | undefined;
|
|
6570
|
+
readonly when?: readonly {
|
|
6571
|
+
readonly key: string;
|
|
6572
|
+
readonly op: "eq" | "neq";
|
|
6573
|
+
readonly value: string | number | boolean;
|
|
6574
|
+
}[] | undefined;
|
|
6575
|
+
readonly type: "multiselect";
|
|
6576
|
+
readonly options: readonly {
|
|
6577
|
+
readonly value: string;
|
|
6578
|
+
readonly label: string;
|
|
6579
|
+
readonly description?: string | undefined;
|
|
6580
|
+
}[];
|
|
6581
|
+
readonly minItems?: number | undefined;
|
|
6582
|
+
readonly maxItems?: number | undefined;
|
|
6583
|
+
readonly custom?: boolean | undefined;
|
|
6584
|
+
readonly default?: readonly string[] | undefined;
|
|
6585
|
+
} | {
|
|
6586
|
+
readonly key: string;
|
|
6587
|
+
readonly type: "external";
|
|
6588
|
+
readonly url: string;
|
|
6589
|
+
readonly title?: string | undefined;
|
|
6590
|
+
readonly description?: string | undefined;
|
|
6591
|
+
})[]];
|
|
6592
|
+
};
|
|
6385
6593
|
};
|
|
6386
6594
|
} | {
|
|
6387
6595
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -6389,55 +6597,30 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6389
6597
|
readonly metadata?: {
|
|
6390
6598
|
readonly [x: string]: unknown;
|
|
6391
6599
|
} | undefined;
|
|
6392
|
-
readonly type: "
|
|
6600
|
+
readonly type: "form.replied";
|
|
6393
6601
|
readonly location?: {
|
|
6394
6602
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
6395
6603
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
6396
6604
|
} | undefined;
|
|
6397
|
-
readonly data: {
|
|
6605
|
+
readonly data: {
|
|
6606
|
+
readonly id: string & import("effect/Brand").Brand<"Form.ID">;
|
|
6607
|
+
readonly sessionID: string;
|
|
6608
|
+
readonly answer: {
|
|
6609
|
+
readonly [x: string]: string | number | boolean | readonly string[];
|
|
6610
|
+
};
|
|
6611
|
+
};
|
|
6398
6612
|
} | {
|
|
6399
6613
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
6400
6614
|
readonly created: number;
|
|
6401
6615
|
readonly metadata?: {
|
|
6402
6616
|
readonly [x: string]: unknown;
|
|
6403
6617
|
} | undefined;
|
|
6404
|
-
readonly type: "
|
|
6405
|
-
readonly durable: {
|
|
6406
|
-
readonly aggregateID: string;
|
|
6407
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
6408
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
6409
|
-
};
|
|
6618
|
+
readonly type: "agent.updated";
|
|
6410
6619
|
readonly location?: {
|
|
6411
6620
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
6412
6621
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
6413
6622
|
} | undefined;
|
|
6414
|
-
readonly data: {
|
|
6415
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
6416
|
-
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
6417
|
-
readonly location: {
|
|
6418
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
6419
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
6420
|
-
};
|
|
6421
|
-
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
6422
|
-
readonly parentID?: (string & import("effect/Brand").Brand<"SessionID">) | undefined;
|
|
6423
|
-
readonly slug: string;
|
|
6424
|
-
readonly title?: string | undefined;
|
|
6425
|
-
readonly agent?: (string & import("effect/Brand").Brand<"Agent.ID">) | undefined;
|
|
6426
|
-
readonly model?: {
|
|
6427
|
-
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
6428
|
-
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6429
|
-
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
6430
|
-
} | undefined;
|
|
6431
|
-
readonly metadata?: {
|
|
6432
|
-
readonly [x: string]: import("effect/Schema").Json;
|
|
6433
|
-
} | undefined;
|
|
6434
|
-
readonly permissions?: readonly {
|
|
6435
|
-
readonly action: string;
|
|
6436
|
-
readonly resource: string;
|
|
6437
|
-
readonly effect: "allow" | "ask" | "deny";
|
|
6438
|
-
}[] | undefined;
|
|
6439
|
-
readonly version: string;
|
|
6440
|
-
};
|
|
6623
|
+
readonly data: {};
|
|
6441
6624
|
} | {
|
|
6442
6625
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
6443
6626
|
readonly created: number;
|
|
@@ -6465,7 +6648,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6465
6648
|
readonly metadata?: {
|
|
6466
6649
|
readonly [x: string]: unknown;
|
|
6467
6650
|
} | undefined;
|
|
6468
|
-
readonly type: "session.
|
|
6651
|
+
readonly type: "session.archived";
|
|
6469
6652
|
readonly durable: {
|
|
6470
6653
|
readonly aggregateID: string;
|
|
6471
6654
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -6477,16 +6660,6 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6477
6660
|
} | undefined;
|
|
6478
6661
|
readonly data: {
|
|
6479
6662
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
6480
|
-
readonly model: {
|
|
6481
|
-
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
6482
|
-
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6483
|
-
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
6484
|
-
};
|
|
6485
|
-
readonly previous?: {
|
|
6486
|
-
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
6487
|
-
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6488
|
-
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
6489
|
-
} | undefined;
|
|
6490
6663
|
};
|
|
6491
6664
|
} | {
|
|
6492
6665
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -6494,7 +6667,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6494
6667
|
readonly metadata?: {
|
|
6495
6668
|
readonly [x: string]: unknown;
|
|
6496
6669
|
} | undefined;
|
|
6497
|
-
readonly type: "session.
|
|
6670
|
+
readonly type: "session.compaction.ended";
|
|
6498
6671
|
readonly durable: {
|
|
6499
6672
|
readonly aggregateID: string;
|
|
6500
6673
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -6505,13 +6678,27 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6505
6678
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
6506
6679
|
} | undefined;
|
|
6507
6680
|
readonly data: {
|
|
6508
|
-
readonly location: {
|
|
6509
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
6510
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
6511
|
-
};
|
|
6512
|
-
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
6513
|
-
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
6514
6681
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
6682
|
+
readonly reason: "auto" | "manual";
|
|
6683
|
+
readonly model?: {
|
|
6684
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
6685
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6686
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
6687
|
+
} | undefined;
|
|
6688
|
+
readonly native?: {
|
|
6689
|
+
readonly [x: string]: unknown;
|
|
6690
|
+
} | undefined;
|
|
6691
|
+
readonly text: string;
|
|
6692
|
+
readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
|
|
6693
|
+
readonly tokens?: {
|
|
6694
|
+
readonly input: number;
|
|
6695
|
+
readonly output: number;
|
|
6696
|
+
readonly reasoning: number;
|
|
6697
|
+
readonly cache: {
|
|
6698
|
+
readonly read: number;
|
|
6699
|
+
readonly write: number;
|
|
6700
|
+
};
|
|
6701
|
+
} | undefined;
|
|
6515
6702
|
};
|
|
6516
6703
|
} | {
|
|
6517
6704
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -6519,7 +6706,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6519
6706
|
readonly metadata?: {
|
|
6520
6707
|
readonly [x: string]: unknown;
|
|
6521
6708
|
} | undefined;
|
|
6522
|
-
readonly type: "session.
|
|
6709
|
+
readonly type: "session.compaction.failed";
|
|
6523
6710
|
readonly durable: {
|
|
6524
6711
|
readonly aggregateID: string;
|
|
6525
6712
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -6531,7 +6718,27 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6531
6718
|
} | undefined;
|
|
6532
6719
|
readonly data: {
|
|
6533
6720
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
6534
|
-
readonly
|
|
6721
|
+
readonly reason: "auto" | "manual";
|
|
6722
|
+
readonly error: {
|
|
6723
|
+
readonly type: string;
|
|
6724
|
+
readonly message: string;
|
|
6725
|
+
readonly status?: number | undefined;
|
|
6726
|
+
readonly response?: {
|
|
6727
|
+
readonly body: string;
|
|
6728
|
+
} | undefined;
|
|
6729
|
+
readonly retryAfterMs?: number | undefined;
|
|
6730
|
+
};
|
|
6731
|
+
readonly inputID?: (string & import("effect/Brand").Brand<"Session.Message.ID">) | undefined;
|
|
6732
|
+
readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
|
|
6733
|
+
readonly tokens?: {
|
|
6734
|
+
readonly input: number;
|
|
6735
|
+
readonly output: number;
|
|
6736
|
+
readonly reasoning: number;
|
|
6737
|
+
readonly cache: {
|
|
6738
|
+
readonly read: number;
|
|
6739
|
+
readonly write: number;
|
|
6740
|
+
};
|
|
6741
|
+
} | undefined;
|
|
6535
6742
|
};
|
|
6536
6743
|
} | {
|
|
6537
6744
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -6539,7 +6746,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6539
6746
|
readonly metadata?: {
|
|
6540
6747
|
readonly [x: string]: unknown;
|
|
6541
6748
|
} | undefined;
|
|
6542
|
-
readonly type: "session.
|
|
6749
|
+
readonly type: "session.compaction.started";
|
|
6543
6750
|
readonly durable: {
|
|
6544
6751
|
readonly aggregateID: string;
|
|
6545
6752
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -6551,9 +6758,8 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6551
6758
|
} | undefined;
|
|
6552
6759
|
readonly data: {
|
|
6553
6760
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
6554
|
-
readonly
|
|
6555
|
-
|
|
6556
|
-
};
|
|
6761
|
+
readonly reason: "auto" | "manual";
|
|
6762
|
+
readonly inputID?: (string & import("effect/Brand").Brand<"Session.Message.ID">) | undefined;
|
|
6557
6763
|
};
|
|
6558
6764
|
} | {
|
|
6559
6765
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -6561,7 +6767,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6561
6767
|
readonly metadata?: {
|
|
6562
6768
|
readonly [x: string]: unknown;
|
|
6563
6769
|
} | undefined;
|
|
6564
|
-
readonly type: "session.
|
|
6770
|
+
readonly type: "session.created";
|
|
6565
6771
|
readonly durable: {
|
|
6566
6772
|
readonly aggregateID: string;
|
|
6567
6773
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -6573,11 +6779,30 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6573
6779
|
} | undefined;
|
|
6574
6780
|
readonly data: {
|
|
6575
6781
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
6576
|
-
readonly
|
|
6782
|
+
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
6783
|
+
readonly location: {
|
|
6784
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
6785
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
6786
|
+
};
|
|
6787
|
+
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
6788
|
+
readonly parentID?: (string & import("effect/Brand").Brand<"SessionID">) | undefined;
|
|
6789
|
+
readonly slug: string;
|
|
6790
|
+
readonly title?: string | undefined;
|
|
6791
|
+
readonly agent?: (string & import("effect/Brand").Brand<"Agent.ID">) | undefined;
|
|
6792
|
+
readonly model?: {
|
|
6793
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
6794
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6795
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
6796
|
+
} | undefined;
|
|
6797
|
+
readonly metadata?: {
|
|
6798
|
+
readonly [x: string]: import("effect/Schema").Json;
|
|
6799
|
+
} | undefined;
|
|
6800
|
+
readonly permissions?: readonly {
|
|
6577
6801
|
readonly action: string;
|
|
6578
6802
|
readonly resource: string;
|
|
6579
6803
|
readonly effect: "allow" | "ask" | "deny";
|
|
6580
|
-
}[];
|
|
6804
|
+
}[] | undefined;
|
|
6805
|
+
readonly version: string;
|
|
6581
6806
|
};
|
|
6582
6807
|
} | {
|
|
6583
6808
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -6585,7 +6810,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6585
6810
|
readonly metadata?: {
|
|
6586
6811
|
readonly [x: string]: unknown;
|
|
6587
6812
|
} | undefined;
|
|
6588
|
-
readonly type: "session.
|
|
6813
|
+
readonly type: "session.deleted";
|
|
6589
6814
|
readonly durable: {
|
|
6590
6815
|
readonly aggregateID: string;
|
|
6591
6816
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -6597,7 +6822,6 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6597
6822
|
} | undefined;
|
|
6598
6823
|
readonly data: {
|
|
6599
6824
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
6600
|
-
readonly idle: number;
|
|
6601
6825
|
};
|
|
6602
6826
|
} | {
|
|
6603
6827
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -6605,7 +6829,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6605
6829
|
readonly metadata?: {
|
|
6606
6830
|
readonly [x: string]: unknown;
|
|
6607
6831
|
} | undefined;
|
|
6608
|
-
readonly type: "session.
|
|
6832
|
+
readonly type: "session.execution.failed";
|
|
6609
6833
|
readonly durable: {
|
|
6610
6834
|
readonly aggregateID: string;
|
|
6611
6835
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -6617,6 +6841,15 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6617
6841
|
} | undefined;
|
|
6618
6842
|
readonly data: {
|
|
6619
6843
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
6844
|
+
readonly error: {
|
|
6845
|
+
readonly type: string;
|
|
6846
|
+
readonly message: string;
|
|
6847
|
+
readonly status?: number | undefined;
|
|
6848
|
+
readonly response?: {
|
|
6849
|
+
readonly body: string;
|
|
6850
|
+
} | undefined;
|
|
6851
|
+
readonly retryAfterMs?: number | undefined;
|
|
6852
|
+
};
|
|
6620
6853
|
};
|
|
6621
6854
|
} | {
|
|
6622
6855
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -6624,7 +6857,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6624
6857
|
readonly metadata?: {
|
|
6625
6858
|
readonly [x: string]: unknown;
|
|
6626
6859
|
} | undefined;
|
|
6627
|
-
readonly type: "session.
|
|
6860
|
+
readonly type: "session.execution.interrupted";
|
|
6628
6861
|
readonly durable: {
|
|
6629
6862
|
readonly aggregateID: string;
|
|
6630
6863
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -6636,6 +6869,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6636
6869
|
} | undefined;
|
|
6637
6870
|
readonly data: {
|
|
6638
6871
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
6872
|
+
readonly reason: "inactivity" | "shutdown" | "superseded" | "user";
|
|
6639
6873
|
};
|
|
6640
6874
|
} | {
|
|
6641
6875
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -6643,23 +6877,18 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6643
6877
|
readonly metadata?: {
|
|
6644
6878
|
readonly [x: string]: unknown;
|
|
6645
6879
|
} | undefined;
|
|
6646
|
-
readonly type: "session.
|
|
6880
|
+
readonly type: "session.execution.started";
|
|
6881
|
+
readonly durable: {
|
|
6882
|
+
readonly aggregateID: string;
|
|
6883
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
6884
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
6885
|
+
};
|
|
6647
6886
|
readonly location?: {
|
|
6648
6887
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
6649
6888
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
6650
6889
|
} | undefined;
|
|
6651
6890
|
readonly data: {
|
|
6652
6891
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
6653
|
-
readonly cost: number & import("effect/Brand").Brand<"Money.USD">;
|
|
6654
|
-
readonly tokens: {
|
|
6655
|
-
readonly input: number;
|
|
6656
|
-
readonly output: number;
|
|
6657
|
-
readonly reasoning: number;
|
|
6658
|
-
readonly cache: {
|
|
6659
|
-
readonly read: number;
|
|
6660
|
-
readonly write: number;
|
|
6661
|
-
};
|
|
6662
|
-
};
|
|
6663
6892
|
};
|
|
6664
6893
|
} | {
|
|
6665
6894
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -6667,7 +6896,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6667
6896
|
readonly metadata?: {
|
|
6668
6897
|
readonly [x: string]: unknown;
|
|
6669
6898
|
} | undefined;
|
|
6670
|
-
readonly type: "session.
|
|
6899
|
+
readonly type: "session.execution.succeeded";
|
|
6671
6900
|
readonly durable: {
|
|
6672
6901
|
readonly aggregateID: string;
|
|
6673
6902
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -6715,6 +6944,26 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6715
6944
|
readonly removed: boolean;
|
|
6716
6945
|
}[] | undefined;
|
|
6717
6946
|
};
|
|
6947
|
+
} | {
|
|
6948
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
6949
|
+
readonly created: number;
|
|
6950
|
+
readonly metadata?: {
|
|
6951
|
+
readonly [x: string]: unknown;
|
|
6952
|
+
} | undefined;
|
|
6953
|
+
readonly type: "session.inbox.cancelled";
|
|
6954
|
+
readonly durable: {
|
|
6955
|
+
readonly aggregateID: string;
|
|
6956
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
6957
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
6958
|
+
};
|
|
6959
|
+
readonly location?: {
|
|
6960
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
6961
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
6962
|
+
} | undefined;
|
|
6963
|
+
readonly data: {
|
|
6964
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
6965
|
+
readonly inboxID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
6966
|
+
};
|
|
6718
6967
|
} | {
|
|
6719
6968
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
6720
6969
|
readonly created: number;
|
|
@@ -6735,6 +6984,27 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6735
6984
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
6736
6985
|
readonly inboxID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
6737
6986
|
};
|
|
6987
|
+
} | {
|
|
6988
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
6989
|
+
readonly created: number;
|
|
6990
|
+
readonly metadata?: {
|
|
6991
|
+
readonly [x: string]: unknown;
|
|
6992
|
+
} | undefined;
|
|
6993
|
+
readonly type: "session.inbox.delivery.changed";
|
|
6994
|
+
readonly durable: {
|
|
6995
|
+
readonly aggregateID: string;
|
|
6996
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
6997
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
6998
|
+
};
|
|
6999
|
+
readonly location?: {
|
|
7000
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7001
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7002
|
+
} | undefined;
|
|
7003
|
+
readonly data: {
|
|
7004
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7005
|
+
readonly inboxID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7006
|
+
readonly delivery: "queue" | "steer";
|
|
7007
|
+
};
|
|
6738
7008
|
} | {
|
|
6739
7009
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
6740
7010
|
readonly created: number;
|
|
@@ -6831,7 +7101,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6831
7101
|
readonly metadata?: {
|
|
6832
7102
|
readonly [x: string]: unknown;
|
|
6833
7103
|
} | undefined;
|
|
6834
|
-
readonly type: "session.
|
|
7104
|
+
readonly type: "session.instructions.updated";
|
|
6835
7105
|
readonly durable: {
|
|
6836
7106
|
readonly aggregateID: string;
|
|
6837
7107
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -6843,7 +7113,10 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6843
7113
|
} | undefined;
|
|
6844
7114
|
readonly data: {
|
|
6845
7115
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
6846
|
-
readonly
|
|
7116
|
+
readonly delta: {
|
|
7117
|
+
readonly [x: string]: "removed" | (string & import("effect/Brand").Brand<"Instruction.Hash">);
|
|
7118
|
+
};
|
|
7119
|
+
readonly text?: string | undefined;
|
|
6847
7120
|
};
|
|
6848
7121
|
} | {
|
|
6849
7122
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -6851,7 +7124,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6851
7124
|
readonly metadata?: {
|
|
6852
7125
|
readonly [x: string]: unknown;
|
|
6853
7126
|
} | undefined;
|
|
6854
|
-
readonly type: "session.
|
|
7127
|
+
readonly type: "session.metadata.updated";
|
|
6855
7128
|
readonly durable: {
|
|
6856
7129
|
readonly aggregateID: string;
|
|
6857
7130
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -6863,8 +7136,9 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6863
7136
|
} | undefined;
|
|
6864
7137
|
readonly data: {
|
|
6865
7138
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
6866
|
-
readonly
|
|
6867
|
-
|
|
7139
|
+
readonly metadata: {
|
|
7140
|
+
readonly [x: string]: import("effect/Schema").Json;
|
|
7141
|
+
};
|
|
6868
7142
|
};
|
|
6869
7143
|
} | {
|
|
6870
7144
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -6872,7 +7146,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6872
7146
|
readonly metadata?: {
|
|
6873
7147
|
readonly [x: string]: unknown;
|
|
6874
7148
|
} | undefined;
|
|
6875
|
-
readonly type: "session.
|
|
7149
|
+
readonly type: "session.model.selected";
|
|
6876
7150
|
readonly durable: {
|
|
6877
7151
|
readonly aggregateID: string;
|
|
6878
7152
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -6884,6 +7158,16 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6884
7158
|
} | undefined;
|
|
6885
7159
|
readonly data: {
|
|
6886
7160
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7161
|
+
readonly model: {
|
|
7162
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
7163
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7164
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
7165
|
+
};
|
|
7166
|
+
readonly previous?: {
|
|
7167
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
7168
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7169
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
7170
|
+
} | undefined;
|
|
6887
7171
|
};
|
|
6888
7172
|
} | {
|
|
6889
7173
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -6891,7 +7175,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6891
7175
|
readonly metadata?: {
|
|
6892
7176
|
readonly [x: string]: unknown;
|
|
6893
7177
|
} | undefined;
|
|
6894
|
-
readonly type: "session.
|
|
7178
|
+
readonly type: "session.moved";
|
|
6895
7179
|
readonly durable: {
|
|
6896
7180
|
readonly aggregateID: string;
|
|
6897
7181
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -6902,6 +7186,12 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6902
7186
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
6903
7187
|
} | undefined;
|
|
6904
7188
|
readonly data: {
|
|
7189
|
+
readonly location: {
|
|
7190
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7191
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7192
|
+
};
|
|
7193
|
+
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
7194
|
+
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
6905
7195
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
6906
7196
|
};
|
|
6907
7197
|
} | {
|
|
@@ -6910,7 +7200,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6910
7200
|
readonly metadata?: {
|
|
6911
7201
|
readonly [x: string]: unknown;
|
|
6912
7202
|
} | undefined;
|
|
6913
|
-
readonly type: "session.
|
|
7203
|
+
readonly type: "session.permissions";
|
|
6914
7204
|
readonly durable: {
|
|
6915
7205
|
readonly aggregateID: string;
|
|
6916
7206
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -6922,14 +7212,11 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6922
7212
|
} | undefined;
|
|
6923
7213
|
readonly data: {
|
|
6924
7214
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
6925
|
-
readonly
|
|
6926
|
-
readonly
|
|
6927
|
-
readonly
|
|
6928
|
-
readonly
|
|
6929
|
-
|
|
6930
|
-
readonly body: string;
|
|
6931
|
-
} | undefined;
|
|
6932
|
-
};
|
|
7215
|
+
readonly permissions: readonly {
|
|
7216
|
+
readonly action: string;
|
|
7217
|
+
readonly resource: string;
|
|
7218
|
+
readonly effect: "allow" | "ask" | "deny";
|
|
7219
|
+
}[];
|
|
6933
7220
|
};
|
|
6934
7221
|
} | {
|
|
6935
7222
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -6937,7 +7224,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6937
7224
|
readonly metadata?: {
|
|
6938
7225
|
readonly [x: string]: unknown;
|
|
6939
7226
|
} | undefined;
|
|
6940
|
-
readonly type: "session.
|
|
7227
|
+
readonly type: "session.reasoning.ended";
|
|
6941
7228
|
readonly durable: {
|
|
6942
7229
|
readonly aggregateID: string;
|
|
6943
7230
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -6949,7 +7236,12 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6949
7236
|
} | undefined;
|
|
6950
7237
|
readonly data: {
|
|
6951
7238
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
6952
|
-
readonly
|
|
7239
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7240
|
+
readonly ordinal: number;
|
|
7241
|
+
readonly text: string;
|
|
7242
|
+
readonly native?: {
|
|
7243
|
+
readonly [x: string]: unknown;
|
|
7244
|
+
} | undefined;
|
|
6953
7245
|
};
|
|
6954
7246
|
} | {
|
|
6955
7247
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -6957,7 +7249,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6957
7249
|
readonly metadata?: {
|
|
6958
7250
|
readonly [x: string]: unknown;
|
|
6959
7251
|
} | undefined;
|
|
6960
|
-
readonly type: "session.
|
|
7252
|
+
readonly type: "session.reasoning.started";
|
|
6961
7253
|
readonly durable: {
|
|
6962
7254
|
readonly aggregateID: string;
|
|
6963
7255
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -6969,10 +7261,11 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6969
7261
|
} | undefined;
|
|
6970
7262
|
readonly data: {
|
|
6971
7263
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
6972
|
-
readonly
|
|
6973
|
-
|
|
6974
|
-
|
|
6975
|
-
|
|
7264
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7265
|
+
readonly ordinal: number;
|
|
7266
|
+
readonly native?: {
|
|
7267
|
+
readonly [x: string]: unknown;
|
|
7268
|
+
} | undefined;
|
|
6976
7269
|
};
|
|
6977
7270
|
} | {
|
|
6978
7271
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -6980,7 +7273,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6980
7273
|
readonly metadata?: {
|
|
6981
7274
|
readonly [x: string]: unknown;
|
|
6982
7275
|
} | undefined;
|
|
6983
|
-
readonly type: "session.
|
|
7276
|
+
readonly type: "session.renamed";
|
|
6984
7277
|
readonly durable: {
|
|
6985
7278
|
readonly aggregateID: string;
|
|
6986
7279
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -6992,11 +7285,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6992
7285
|
} | undefined;
|
|
6993
7286
|
readonly data: {
|
|
6994
7287
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
6995
|
-
readonly
|
|
6996
|
-
readonly description?: string | undefined;
|
|
6997
|
-
readonly metadata?: {
|
|
6998
|
-
readonly [x: string]: unknown;
|
|
6999
|
-
} | undefined;
|
|
7288
|
+
readonly title: string;
|
|
7000
7289
|
};
|
|
7001
7290
|
} | {
|
|
7002
7291
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -7004,7 +7293,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7004
7293
|
readonly metadata?: {
|
|
7005
7294
|
readonly [x: string]: unknown;
|
|
7006
7295
|
} | undefined;
|
|
7007
|
-
readonly type: "session.
|
|
7296
|
+
readonly type: "session.retry.scheduled";
|
|
7008
7297
|
readonly durable: {
|
|
7009
7298
|
readonly aggregateID: string;
|
|
7010
7299
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -7016,17 +7305,26 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7016
7305
|
} | undefined;
|
|
7017
7306
|
readonly data: {
|
|
7018
7307
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7019
|
-
readonly
|
|
7020
|
-
readonly
|
|
7021
|
-
readonly
|
|
7022
|
-
|
|
7023
|
-
|
|
7024
|
-
|
|
7025
|
-
|
|
7026
|
-
|
|
7027
|
-
|
|
7308
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7309
|
+
readonly attempt: number;
|
|
7310
|
+
readonly at: number;
|
|
7311
|
+
readonly error: {
|
|
7312
|
+
readonly type: string;
|
|
7313
|
+
readonly message: string;
|
|
7314
|
+
readonly status?: number | undefined;
|
|
7315
|
+
readonly response?: {
|
|
7316
|
+
readonly body: string;
|
|
7317
|
+
} | undefined;
|
|
7318
|
+
readonly retryAfterMs?: number | undefined;
|
|
7319
|
+
};
|
|
7320
|
+
};
|
|
7321
|
+
} | {
|
|
7322
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
7323
|
+
readonly created: number;
|
|
7324
|
+
readonly metadata?: {
|
|
7325
|
+
readonly [x: string]: unknown;
|
|
7028
7326
|
} | undefined;
|
|
7029
|
-
readonly type: "session.
|
|
7327
|
+
readonly type: "session.revert.cleared";
|
|
7030
7328
|
readonly durable: {
|
|
7031
7329
|
readonly aggregateID: string;
|
|
7032
7330
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -7038,23 +7336,56 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7038
7336
|
} | undefined;
|
|
7039
7337
|
readonly data: {
|
|
7040
7338
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7041
|
-
|
|
7042
|
-
|
|
7043
|
-
|
|
7044
|
-
|
|
7045
|
-
|
|
7046
|
-
|
|
7047
|
-
|
|
7048
|
-
|
|
7049
|
-
|
|
7050
|
-
|
|
7051
|
-
|
|
7052
|
-
|
|
7053
|
-
|
|
7054
|
-
|
|
7055
|
-
|
|
7056
|
-
|
|
7057
|
-
|
|
7339
|
+
};
|
|
7340
|
+
} | {
|
|
7341
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
7342
|
+
readonly created: number;
|
|
7343
|
+
readonly metadata?: {
|
|
7344
|
+
readonly [x: string]: unknown;
|
|
7345
|
+
} | undefined;
|
|
7346
|
+
readonly type: "session.revert.committed";
|
|
7347
|
+
readonly durable: {
|
|
7348
|
+
readonly aggregateID: string;
|
|
7349
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
7350
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
7351
|
+
};
|
|
7352
|
+
readonly location?: {
|
|
7353
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7354
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7355
|
+
} | undefined;
|
|
7356
|
+
readonly data: {
|
|
7357
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7358
|
+
readonly to: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7359
|
+
};
|
|
7360
|
+
} | {
|
|
7361
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
7362
|
+
readonly created: number;
|
|
7363
|
+
readonly metadata?: {
|
|
7364
|
+
readonly [x: string]: unknown;
|
|
7365
|
+
} | undefined;
|
|
7366
|
+
readonly type: "session.revert.staged";
|
|
7367
|
+
readonly durable: {
|
|
7368
|
+
readonly aggregateID: string;
|
|
7369
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
7370
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
7371
|
+
};
|
|
7372
|
+
readonly location?: {
|
|
7373
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7374
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7375
|
+
} | undefined;
|
|
7376
|
+
readonly data: {
|
|
7377
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7378
|
+
readonly revert: {
|
|
7379
|
+
readonly messageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7380
|
+
readonly partID?: string | undefined;
|
|
7381
|
+
readonly snapshot?: (string & import("effect/Brand").Brand<"Snapshot.ID">) | undefined;
|
|
7382
|
+
readonly files?: readonly {
|
|
7383
|
+
readonly file: string;
|
|
7384
|
+
readonly patch: string;
|
|
7385
|
+
readonly additions: number;
|
|
7386
|
+
readonly deletions: number;
|
|
7387
|
+
readonly status: "added" | "deleted" | "modified";
|
|
7388
|
+
}[] | undefined;
|
|
7058
7389
|
};
|
|
7059
7390
|
};
|
|
7060
7391
|
} | {
|
|
@@ -7106,7 +7437,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7106
7437
|
readonly metadata?: {
|
|
7107
7438
|
readonly [x: string]: unknown;
|
|
7108
7439
|
} | undefined;
|
|
7109
|
-
readonly type: "session.
|
|
7440
|
+
readonly type: "session.shell.started";
|
|
7110
7441
|
readonly durable: {
|
|
7111
7442
|
readonly aggregateID: string;
|
|
7112
7443
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -7118,15 +7449,24 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7118
7449
|
} | undefined;
|
|
7119
7450
|
readonly data: {
|
|
7120
7451
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7121
|
-
readonly
|
|
7122
|
-
|
|
7123
|
-
|
|
7124
|
-
readonly
|
|
7125
|
-
readonly
|
|
7126
|
-
readonly
|
|
7452
|
+
readonly shell: {
|
|
7453
|
+
readonly id: string & import("effect/Brand").Brand<"Shell.ID">;
|
|
7454
|
+
readonly status: "exited" | "killed" | "running" | "timeout";
|
|
7455
|
+
readonly command: string;
|
|
7456
|
+
readonly cwd: string;
|
|
7457
|
+
readonly shell: string;
|
|
7458
|
+
readonly file: string;
|
|
7459
|
+
readonly pid?: number | undefined;
|
|
7460
|
+
readonly exit?: number | undefined;
|
|
7461
|
+
readonly signal?: string | undefined;
|
|
7462
|
+
readonly metadata: {
|
|
7463
|
+
readonly [x: string]: unknown;
|
|
7464
|
+
};
|
|
7465
|
+
readonly time: {
|
|
7466
|
+
readonly started: number;
|
|
7467
|
+
readonly completed?: number | undefined;
|
|
7468
|
+
};
|
|
7127
7469
|
};
|
|
7128
|
-
readonly snapshot?: (string & import("effect/Brand").Brand<"Snapshot.ID">) | undefined;
|
|
7129
|
-
readonly started: number;
|
|
7130
7470
|
};
|
|
7131
7471
|
} | {
|
|
7132
7472
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -7134,7 +7474,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7134
7474
|
readonly metadata?: {
|
|
7135
7475
|
readonly [x: string]: unknown;
|
|
7136
7476
|
} | undefined;
|
|
7137
|
-
readonly type: "session.
|
|
7477
|
+
readonly type: "session.skill.activated";
|
|
7138
7478
|
readonly durable: {
|
|
7139
7479
|
readonly aggregateID: string;
|
|
7140
7480
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -7146,7 +7486,9 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7146
7486
|
} | undefined;
|
|
7147
7487
|
readonly data: {
|
|
7148
7488
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7149
|
-
readonly
|
|
7489
|
+
readonly id: string & import("effect/Brand").Brand<"Skill.ID">;
|
|
7490
|
+
readonly name: string & import("effect/Brand").Brand<"Skill.Name">;
|
|
7491
|
+
readonly text: string;
|
|
7150
7492
|
};
|
|
7151
7493
|
} | {
|
|
7152
7494
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -7211,6 +7553,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7211
7553
|
readonly response?: {
|
|
7212
7554
|
readonly body: string;
|
|
7213
7555
|
} | undefined;
|
|
7556
|
+
readonly retryAfterMs?: number | undefined;
|
|
7214
7557
|
};
|
|
7215
7558
|
readonly finish?: "content-filter" | undefined;
|
|
7216
7559
|
readonly rawFinish?: string | undefined;
|
|
@@ -7236,7 +7579,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7236
7579
|
readonly metadata?: {
|
|
7237
7580
|
readonly [x: string]: unknown;
|
|
7238
7581
|
} | undefined;
|
|
7239
|
-
readonly type: "session.
|
|
7582
|
+
readonly type: "session.step.started";
|
|
7240
7583
|
readonly durable: {
|
|
7241
7584
|
readonly aggregateID: string;
|
|
7242
7585
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -7249,7 +7592,14 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7249
7592
|
readonly data: {
|
|
7250
7593
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7251
7594
|
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7252
|
-
readonly
|
|
7595
|
+
readonly agent: string & import("effect/Brand").Brand<"Agent.ID">;
|
|
7596
|
+
readonly model: {
|
|
7597
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
7598
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7599
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
7600
|
+
};
|
|
7601
|
+
readonly snapshot?: (string & import("effect/Brand").Brand<"Snapshot.ID">) | undefined;
|
|
7602
|
+
readonly started: number;
|
|
7253
7603
|
};
|
|
7254
7604
|
} | {
|
|
7255
7605
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -7257,7 +7607,12 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7257
7607
|
readonly metadata?: {
|
|
7258
7608
|
readonly [x: string]: unknown;
|
|
7259
7609
|
} | undefined;
|
|
7260
|
-
readonly type: "session.
|
|
7610
|
+
readonly type: "session.step.streamed";
|
|
7611
|
+
readonly durable: {
|
|
7612
|
+
readonly aggregateID: string;
|
|
7613
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
7614
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
7615
|
+
};
|
|
7261
7616
|
readonly location?: {
|
|
7262
7617
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7263
7618
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
@@ -7265,8 +7620,6 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7265
7620
|
readonly data: {
|
|
7266
7621
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7267
7622
|
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7268
|
-
readonly ordinal: number;
|
|
7269
|
-
readonly delta: string;
|
|
7270
7623
|
};
|
|
7271
7624
|
} | {
|
|
7272
7625
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -7274,7 +7627,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7274
7627
|
readonly metadata?: {
|
|
7275
7628
|
readonly [x: string]: unknown;
|
|
7276
7629
|
} | undefined;
|
|
7277
|
-
readonly type: "session.
|
|
7630
|
+
readonly type: "session.synthetic";
|
|
7278
7631
|
readonly durable: {
|
|
7279
7632
|
readonly aggregateID: string;
|
|
7280
7633
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -7286,10 +7639,9 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7286
7639
|
} | undefined;
|
|
7287
7640
|
readonly data: {
|
|
7288
7641
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7289
|
-
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7290
|
-
readonly ordinal: number;
|
|
7291
7642
|
readonly text: string;
|
|
7292
|
-
readonly
|
|
7643
|
+
readonly description?: string | undefined;
|
|
7644
|
+
readonly metadata?: {
|
|
7293
7645
|
readonly [x: string]: unknown;
|
|
7294
7646
|
} | undefined;
|
|
7295
7647
|
};
|
|
@@ -7299,7 +7651,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7299
7651
|
readonly metadata?: {
|
|
7300
7652
|
readonly [x: string]: unknown;
|
|
7301
7653
|
} | undefined;
|
|
7302
|
-
readonly type: "session.
|
|
7654
|
+
readonly type: "session.text.ended";
|
|
7303
7655
|
readonly durable: {
|
|
7304
7656
|
readonly aggregateID: string;
|
|
7305
7657
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -7313,6 +7665,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7313
7665
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7314
7666
|
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7315
7667
|
readonly ordinal: number;
|
|
7668
|
+
readonly text: string;
|
|
7316
7669
|
readonly native?: {
|
|
7317
7670
|
readonly [x: string]: unknown;
|
|
7318
7671
|
} | undefined;
|
|
@@ -7323,7 +7676,12 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7323
7676
|
readonly metadata?: {
|
|
7324
7677
|
readonly [x: string]: unknown;
|
|
7325
7678
|
} | undefined;
|
|
7326
|
-
readonly type: "session.
|
|
7679
|
+
readonly type: "session.text.started";
|
|
7680
|
+
readonly durable: {
|
|
7681
|
+
readonly aggregateID: string;
|
|
7682
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
7683
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
7684
|
+
};
|
|
7327
7685
|
readonly location?: {
|
|
7328
7686
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7329
7687
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
@@ -7332,7 +7690,6 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7332
7690
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7333
7691
|
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7334
7692
|
readonly ordinal: number;
|
|
7335
|
-
readonly delta: string;
|
|
7336
7693
|
};
|
|
7337
7694
|
} | {
|
|
7338
7695
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -7340,7 +7697,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7340
7697
|
readonly metadata?: {
|
|
7341
7698
|
readonly [x: string]: unknown;
|
|
7342
7699
|
} | undefined;
|
|
7343
|
-
readonly type: "session.
|
|
7700
|
+
readonly type: "session.tool.called";
|
|
7344
7701
|
readonly durable: {
|
|
7345
7702
|
readonly aggregateID: string;
|
|
7346
7703
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -7353,8 +7710,11 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7353
7710
|
readonly data: {
|
|
7354
7711
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7355
7712
|
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7356
|
-
readonly
|
|
7357
|
-
readonly
|
|
7713
|
+
readonly id: string;
|
|
7714
|
+
readonly input: {
|
|
7715
|
+
readonly [x: string]: unknown;
|
|
7716
|
+
};
|
|
7717
|
+
readonly executed: boolean;
|
|
7358
7718
|
readonly native?: {
|
|
7359
7719
|
readonly [x: string]: unknown;
|
|
7360
7720
|
} | undefined;
|
|
@@ -7365,7 +7725,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7365
7725
|
readonly metadata?: {
|
|
7366
7726
|
readonly [x: string]: unknown;
|
|
7367
7727
|
} | undefined;
|
|
7368
|
-
readonly type: "session.tool.
|
|
7728
|
+
readonly type: "session.tool.failed";
|
|
7369
7729
|
readonly durable: {
|
|
7370
7730
|
readonly aggregateID: string;
|
|
7371
7731
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -7379,24 +7739,39 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7379
7739
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7380
7740
|
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7381
7741
|
readonly id: string;
|
|
7382
|
-
readonly
|
|
7383
|
-
|
|
7384
|
-
|
|
7385
|
-
|
|
7386
|
-
|
|
7387
|
-
|
|
7388
|
-
|
|
7389
|
-
|
|
7390
|
-
|
|
7391
|
-
|
|
7392
|
-
|
|
7393
|
-
|
|
7394
|
-
|
|
7395
|
-
|
|
7396
|
-
|
|
7397
|
-
|
|
7398
|
-
|
|
7399
|
-
|
|
7742
|
+
readonly error: {
|
|
7743
|
+
readonly type: string;
|
|
7744
|
+
readonly message: string;
|
|
7745
|
+
readonly status?: number | undefined;
|
|
7746
|
+
readonly response?: {
|
|
7747
|
+
readonly body: string;
|
|
7748
|
+
} | undefined;
|
|
7749
|
+
readonly retryAfterMs?: number | undefined;
|
|
7750
|
+
};
|
|
7751
|
+
readonly content?: readonly [{
|
|
7752
|
+
readonly type: "text";
|
|
7753
|
+
readonly text: string;
|
|
7754
|
+
} | {
|
|
7755
|
+
readonly type: "file";
|
|
7756
|
+
readonly uri: string;
|
|
7757
|
+
readonly mime: string;
|
|
7758
|
+
readonly name?: string | undefined;
|
|
7759
|
+
}, ...({
|
|
7760
|
+
readonly type: "text";
|
|
7761
|
+
readonly text: string;
|
|
7762
|
+
} | {
|
|
7763
|
+
readonly type: "file";
|
|
7764
|
+
readonly uri: string;
|
|
7765
|
+
readonly mime: string;
|
|
7766
|
+
readonly name?: string | undefined;
|
|
7767
|
+
})[]] | undefined;
|
|
7768
|
+
readonly metadata?: {
|
|
7769
|
+
readonly [x: string]: import("effect/Schema").Json;
|
|
7770
|
+
} | undefined;
|
|
7771
|
+
readonly executed: boolean;
|
|
7772
|
+
readonly native?: {
|
|
7773
|
+
readonly [x: string]: unknown;
|
|
7774
|
+
} | undefined;
|
|
7400
7775
|
};
|
|
7401
7776
|
} | {
|
|
7402
7777
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -7426,7 +7801,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7426
7801
|
readonly metadata?: {
|
|
7427
7802
|
readonly [x: string]: unknown;
|
|
7428
7803
|
} | undefined;
|
|
7429
|
-
readonly type: "session.tool.
|
|
7804
|
+
readonly type: "session.tool.input.started";
|
|
7430
7805
|
readonly durable: {
|
|
7431
7806
|
readonly aggregateID: string;
|
|
7432
7807
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -7440,32 +7815,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7440
7815
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7441
7816
|
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7442
7817
|
readonly id: string;
|
|
7443
|
-
readonly
|
|
7444
|
-
readonly [x: string]: unknown;
|
|
7445
|
-
};
|
|
7446
|
-
readonly executed: boolean;
|
|
7447
|
-
readonly native?: {
|
|
7448
|
-
readonly [x: string]: unknown;
|
|
7449
|
-
} | undefined;
|
|
7450
|
-
};
|
|
7451
|
-
} | {
|
|
7452
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
7453
|
-
readonly created: number;
|
|
7454
|
-
readonly metadata?: {
|
|
7455
|
-
readonly [x: string]: unknown;
|
|
7456
|
-
} | undefined;
|
|
7457
|
-
readonly type: "session.tool.progress";
|
|
7458
|
-
readonly location?: {
|
|
7459
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7460
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7461
|
-
} | undefined;
|
|
7462
|
-
readonly data: {
|
|
7463
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7464
|
-
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7465
|
-
readonly id: string;
|
|
7466
|
-
readonly metadata: {
|
|
7467
|
-
readonly [x: string]: import("effect/Schema").Json;
|
|
7468
|
-
};
|
|
7818
|
+
readonly name: string;
|
|
7469
7819
|
};
|
|
7470
7820
|
} | {
|
|
7471
7821
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -7518,7 +7868,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7518
7868
|
readonly metadata?: {
|
|
7519
7869
|
readonly [x: string]: unknown;
|
|
7520
7870
|
} | undefined;
|
|
7521
|
-
readonly type: "session.
|
|
7871
|
+
readonly type: "session.unarchived";
|
|
7522
7872
|
readonly durable: {
|
|
7523
7873
|
readonly aggregateID: string;
|
|
7524
7874
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -7530,40 +7880,6 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7530
7880
|
} | undefined;
|
|
7531
7881
|
readonly data: {
|
|
7532
7882
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7533
|
-
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7534
|
-
readonly id: string;
|
|
7535
|
-
readonly error: {
|
|
7536
|
-
readonly type: string;
|
|
7537
|
-
readonly message: string;
|
|
7538
|
-
readonly status?: number | undefined;
|
|
7539
|
-
readonly response?: {
|
|
7540
|
-
readonly body: string;
|
|
7541
|
-
} | undefined;
|
|
7542
|
-
};
|
|
7543
|
-
readonly content?: readonly [{
|
|
7544
|
-
readonly type: "text";
|
|
7545
|
-
readonly text: string;
|
|
7546
|
-
} | {
|
|
7547
|
-
readonly type: "file";
|
|
7548
|
-
readonly uri: string;
|
|
7549
|
-
readonly mime: string;
|
|
7550
|
-
readonly name?: string | undefined;
|
|
7551
|
-
}, ...({
|
|
7552
|
-
readonly type: "text";
|
|
7553
|
-
readonly text: string;
|
|
7554
|
-
} | {
|
|
7555
|
-
readonly type: "file";
|
|
7556
|
-
readonly uri: string;
|
|
7557
|
-
readonly mime: string;
|
|
7558
|
-
readonly name?: string | undefined;
|
|
7559
|
-
})[]] | undefined;
|
|
7560
|
-
readonly metadata?: {
|
|
7561
|
-
readonly [x: string]: import("effect/Schema").Json;
|
|
7562
|
-
} | undefined;
|
|
7563
|
-
readonly executed: boolean;
|
|
7564
|
-
readonly native?: {
|
|
7565
|
-
readonly [x: string]: unknown;
|
|
7566
|
-
} | undefined;
|
|
7567
7883
|
};
|
|
7568
7884
|
} | {
|
|
7569
7885
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -7571,7 +7887,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7571
7887
|
readonly metadata?: {
|
|
7572
7888
|
readonly [x: string]: unknown;
|
|
7573
7889
|
} | undefined;
|
|
7574
|
-
readonly type: "session.
|
|
7890
|
+
readonly type: "session.viewed";
|
|
7575
7891
|
readonly durable: {
|
|
7576
7892
|
readonly aggregateID: string;
|
|
7577
7893
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -7583,17 +7899,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7583
7899
|
} | undefined;
|
|
7584
7900
|
readonly data: {
|
|
7585
7901
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7586
|
-
readonly
|
|
7587
|
-
readonly attempt: number;
|
|
7588
|
-
readonly at: number;
|
|
7589
|
-
readonly error: {
|
|
7590
|
-
readonly type: string;
|
|
7591
|
-
readonly message: string;
|
|
7592
|
-
readonly status?: number | undefined;
|
|
7593
|
-
readonly response?: {
|
|
7594
|
-
readonly body: string;
|
|
7595
|
-
} | undefined;
|
|
7596
|
-
};
|
|
7902
|
+
readonly idle: number;
|
|
7597
7903
|
};
|
|
7598
7904
|
} | {
|
|
7599
7905
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -7601,20 +7907,14 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7601
7907
|
readonly metadata?: {
|
|
7602
7908
|
readonly [x: string]: unknown;
|
|
7603
7909
|
} | undefined;
|
|
7604
|
-
readonly type: "session.compaction.
|
|
7605
|
-
readonly durable: {
|
|
7606
|
-
readonly aggregateID: string;
|
|
7607
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
7608
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
7609
|
-
};
|
|
7910
|
+
readonly type: "session.compaction.delta";
|
|
7610
7911
|
readonly location?: {
|
|
7611
7912
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7612
7913
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7613
7914
|
} | undefined;
|
|
7614
7915
|
readonly data: {
|
|
7615
7916
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7616
|
-
readonly
|
|
7617
|
-
readonly inputID?: (string & import("effect/Brand").Brand<"Session.Message.ID">) | undefined;
|
|
7917
|
+
readonly text: string;
|
|
7618
7918
|
};
|
|
7619
7919
|
} | {
|
|
7620
7920
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -7622,14 +7922,16 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7622
7922
|
readonly metadata?: {
|
|
7623
7923
|
readonly [x: string]: unknown;
|
|
7624
7924
|
} | undefined;
|
|
7625
|
-
readonly type: "session.
|
|
7925
|
+
readonly type: "session.reasoning.delta";
|
|
7626
7926
|
readonly location?: {
|
|
7627
7927
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7628
7928
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7629
7929
|
} | undefined;
|
|
7630
7930
|
readonly data: {
|
|
7631
7931
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7632
|
-
readonly
|
|
7932
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7933
|
+
readonly ordinal: number;
|
|
7934
|
+
readonly delta: string;
|
|
7633
7935
|
};
|
|
7634
7936
|
} | {
|
|
7635
7937
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -7637,38 +7939,16 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7637
7939
|
readonly metadata?: {
|
|
7638
7940
|
readonly [x: string]: unknown;
|
|
7639
7941
|
} | undefined;
|
|
7640
|
-
readonly type: "session.
|
|
7641
|
-
readonly durable: {
|
|
7642
|
-
readonly aggregateID: string;
|
|
7643
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
7644
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
7645
|
-
};
|
|
7942
|
+
readonly type: "session.text.delta";
|
|
7646
7943
|
readonly location?: {
|
|
7647
7944
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7648
7945
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7649
7946
|
} | undefined;
|
|
7650
7947
|
readonly data: {
|
|
7651
7948
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7652
|
-
readonly
|
|
7653
|
-
readonly
|
|
7654
|
-
|
|
7655
|
-
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7656
|
-
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
7657
|
-
} | undefined;
|
|
7658
|
-
readonly native?: {
|
|
7659
|
-
readonly [x: string]: unknown;
|
|
7660
|
-
} | undefined;
|
|
7661
|
-
readonly text: string;
|
|
7662
|
-
readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
|
|
7663
|
-
readonly tokens?: {
|
|
7664
|
-
readonly input: number;
|
|
7665
|
-
readonly output: number;
|
|
7666
|
-
readonly reasoning: number;
|
|
7667
|
-
readonly cache: {
|
|
7668
|
-
readonly read: number;
|
|
7669
|
-
readonly write: number;
|
|
7670
|
-
};
|
|
7671
|
-
} | undefined;
|
|
7949
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7950
|
+
readonly ordinal: number;
|
|
7951
|
+
readonly delta: string;
|
|
7672
7952
|
};
|
|
7673
7953
|
} | {
|
|
7674
7954
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -7676,38 +7956,16 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7676
7956
|
readonly metadata?: {
|
|
7677
7957
|
readonly [x: string]: unknown;
|
|
7678
7958
|
} | undefined;
|
|
7679
|
-
readonly type: "session.
|
|
7680
|
-
readonly durable: {
|
|
7681
|
-
readonly aggregateID: string;
|
|
7682
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
7683
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
7684
|
-
};
|
|
7959
|
+
readonly type: "session.tool.input.delta";
|
|
7685
7960
|
readonly location?: {
|
|
7686
7961
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7687
7962
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7688
7963
|
} | undefined;
|
|
7689
7964
|
readonly data: {
|
|
7690
7965
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7691
|
-
readonly
|
|
7692
|
-
readonly
|
|
7693
|
-
|
|
7694
|
-
readonly message: string;
|
|
7695
|
-
readonly status?: number | undefined;
|
|
7696
|
-
readonly response?: {
|
|
7697
|
-
readonly body: string;
|
|
7698
|
-
} | undefined;
|
|
7699
|
-
};
|
|
7700
|
-
readonly inputID?: (string & import("effect/Brand").Brand<"Session.Message.ID">) | undefined;
|
|
7701
|
-
readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
|
|
7702
|
-
readonly tokens?: {
|
|
7703
|
-
readonly input: number;
|
|
7704
|
-
readonly output: number;
|
|
7705
|
-
readonly reasoning: number;
|
|
7706
|
-
readonly cache: {
|
|
7707
|
-
readonly read: number;
|
|
7708
|
-
readonly write: number;
|
|
7709
|
-
};
|
|
7710
|
-
} | undefined;
|
|
7966
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7967
|
+
readonly id: string;
|
|
7968
|
+
readonly delta: string;
|
|
7711
7969
|
};
|
|
7712
7970
|
} | {
|
|
7713
7971
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -7715,18 +7973,18 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7715
7973
|
readonly metadata?: {
|
|
7716
7974
|
readonly [x: string]: unknown;
|
|
7717
7975
|
} | undefined;
|
|
7718
|
-
readonly type: "session.
|
|
7719
|
-
readonly durable: {
|
|
7720
|
-
readonly aggregateID: string;
|
|
7721
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
7722
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
7723
|
-
};
|
|
7976
|
+
readonly type: "session.tool.progress";
|
|
7724
7977
|
readonly location?: {
|
|
7725
7978
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7726
7979
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7727
7980
|
} | undefined;
|
|
7728
7981
|
readonly data: {
|
|
7729
7982
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7983
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7984
|
+
readonly id: string;
|
|
7985
|
+
readonly metadata: {
|
|
7986
|
+
readonly [x: string]: import("effect/Schema").Json;
|
|
7987
|
+
};
|
|
7730
7988
|
};
|
|
7731
7989
|
} | {
|
|
7732
7990
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -7734,19 +7992,23 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7734
7992
|
readonly metadata?: {
|
|
7735
7993
|
readonly [x: string]: unknown;
|
|
7736
7994
|
} | undefined;
|
|
7737
|
-
readonly type: "session.
|
|
7738
|
-
readonly durable: {
|
|
7739
|
-
readonly aggregateID: string;
|
|
7740
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
7741
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
7742
|
-
};
|
|
7995
|
+
readonly type: "session.usage.updated";
|
|
7743
7996
|
readonly location?: {
|
|
7744
7997
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7745
7998
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7746
7999
|
} | undefined;
|
|
7747
8000
|
readonly data: {
|
|
7748
8001
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7749
|
-
readonly
|
|
8002
|
+
readonly cost: number & import("effect/Brand").Brand<"Money.USD">;
|
|
8003
|
+
readonly tokens: {
|
|
8004
|
+
readonly input: number;
|
|
8005
|
+
readonly output: number;
|
|
8006
|
+
readonly reasoning: number;
|
|
8007
|
+
readonly cache: {
|
|
8008
|
+
readonly read: number;
|
|
8009
|
+
readonly write: number;
|
|
8010
|
+
};
|
|
8011
|
+
};
|
|
7750
8012
|
};
|
|
7751
8013
|
} | {
|
|
7752
8014
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -7754,68 +8016,70 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7754
8016
|
readonly metadata?: {
|
|
7755
8017
|
readonly [x: string]: unknown;
|
|
7756
8018
|
} | undefined;
|
|
7757
|
-
readonly type: "
|
|
7758
|
-
readonly durable: {
|
|
7759
|
-
readonly aggregateID: string;
|
|
7760
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
7761
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
7762
|
-
};
|
|
8019
|
+
readonly type: "websearch.updated";
|
|
7763
8020
|
readonly location?: {
|
|
7764
8021
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7765
8022
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7766
8023
|
} | undefined;
|
|
7767
|
-
readonly data: {
|
|
7768
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7769
|
-
readonly revert: {
|
|
7770
|
-
readonly messageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7771
|
-
readonly partID?: string | undefined;
|
|
7772
|
-
readonly snapshot?: (string & import("effect/Brand").Brand<"Snapshot.ID">) | undefined;
|
|
7773
|
-
readonly files?: readonly {
|
|
7774
|
-
readonly file: string;
|
|
7775
|
-
readonly patch: string;
|
|
7776
|
-
readonly additions: number;
|
|
7777
|
-
readonly deletions: number;
|
|
7778
|
-
readonly status: "added" | "deleted" | "modified";
|
|
7779
|
-
}[] | undefined;
|
|
7780
|
-
};
|
|
7781
|
-
};
|
|
8024
|
+
readonly data: {};
|
|
7782
8025
|
} | {
|
|
7783
8026
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
7784
8027
|
readonly created: number;
|
|
7785
8028
|
readonly metadata?: {
|
|
7786
8029
|
readonly [x: string]: unknown;
|
|
7787
8030
|
} | undefined;
|
|
7788
|
-
readonly type: "
|
|
8031
|
+
readonly type: "worktree.resolved";
|
|
8032
|
+
readonly durable: {
|
|
8033
|
+
readonly aggregateID: string;
|
|
8034
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
8035
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
8036
|
+
};
|
|
7789
8037
|
readonly location?: {
|
|
7790
8038
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7791
8039
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7792
8040
|
} | undefined;
|
|
7793
|
-
readonly data: {
|
|
8041
|
+
readonly data: {
|
|
8042
|
+
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
8043
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8044
|
+
readonly previous: string & import("effect/Brand").Brand<"Project.ID">;
|
|
8045
|
+
readonly adopted?: readonly (string & import("effect/Brand").Brand<"Project.ID">)[] | undefined;
|
|
8046
|
+
};
|
|
7794
8047
|
} | {
|
|
7795
8048
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
7796
8049
|
readonly created: number;
|
|
7797
8050
|
readonly metadata?: {
|
|
7798
8051
|
readonly [x: string]: unknown;
|
|
7799
8052
|
} | undefined;
|
|
7800
|
-
readonly type: "
|
|
8053
|
+
readonly type: "worktree.updated";
|
|
7801
8054
|
readonly location?: {
|
|
7802
8055
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7803
8056
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7804
8057
|
} | undefined;
|
|
7805
|
-
readonly data: {
|
|
8058
|
+
readonly data: {
|
|
8059
|
+
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
8060
|
+
};
|
|
7806
8061
|
} | {
|
|
7807
8062
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
7808
8063
|
readonly created: number;
|
|
7809
8064
|
readonly metadata?: {
|
|
7810
8065
|
readonly [x: string]: unknown;
|
|
7811
8066
|
} | undefined;
|
|
7812
|
-
readonly type: "
|
|
8067
|
+
readonly type: "pty.created";
|
|
7813
8068
|
readonly location?: {
|
|
7814
8069
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7815
8070
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7816
8071
|
} | undefined;
|
|
7817
8072
|
readonly data: {
|
|
7818
|
-
readonly
|
|
8073
|
+
readonly info: {
|
|
8074
|
+
readonly id: string & import("effect/Brand").Brand<"PtyID">;
|
|
8075
|
+
readonly title: string;
|
|
8076
|
+
readonly command: string;
|
|
8077
|
+
readonly args: readonly string[];
|
|
8078
|
+
readonly cwd: string;
|
|
8079
|
+
readonly status: "exited" | "running";
|
|
8080
|
+
readonly pid: number;
|
|
8081
|
+
readonly exitCode?: number | undefined;
|
|
8082
|
+
};
|
|
7819
8083
|
};
|
|
7820
8084
|
} | {
|
|
7821
8085
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -7823,13 +8087,13 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7823
8087
|
readonly metadata?: {
|
|
7824
8088
|
readonly [x: string]: unknown;
|
|
7825
8089
|
} | undefined;
|
|
7826
|
-
readonly type: "
|
|
8090
|
+
readonly type: "pty.deleted";
|
|
7827
8091
|
readonly location?: {
|
|
7828
8092
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7829
8093
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7830
8094
|
} | undefined;
|
|
7831
8095
|
readonly data: {
|
|
7832
|
-
readonly
|
|
8096
|
+
readonly id: string & import("effect/Brand").Brand<"PtyID">;
|
|
7833
8097
|
};
|
|
7834
8098
|
} | {
|
|
7835
8099
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -7837,25 +8101,37 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7837
8101
|
readonly metadata?: {
|
|
7838
8102
|
readonly [x: string]: unknown;
|
|
7839
8103
|
} | undefined;
|
|
7840
|
-
readonly type: "
|
|
8104
|
+
readonly type: "pty.exited";
|
|
7841
8105
|
readonly location?: {
|
|
7842
8106
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7843
8107
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7844
8108
|
} | undefined;
|
|
7845
|
-
readonly data: {
|
|
8109
|
+
readonly data: {
|
|
8110
|
+
readonly id: string & import("effect/Brand").Brand<"PtyID">;
|
|
8111
|
+
readonly exitCode: number;
|
|
8112
|
+
};
|
|
7846
8113
|
} | {
|
|
7847
8114
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
7848
8115
|
readonly created: number;
|
|
7849
8116
|
readonly metadata?: {
|
|
7850
8117
|
readonly [x: string]: unknown;
|
|
7851
8118
|
} | undefined;
|
|
7852
|
-
readonly type: "
|
|
8119
|
+
readonly type: "pty.updated";
|
|
7853
8120
|
readonly location?: {
|
|
7854
8121
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7855
8122
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7856
8123
|
} | undefined;
|
|
7857
8124
|
readonly data: {
|
|
7858
|
-
readonly
|
|
8125
|
+
readonly info: {
|
|
8126
|
+
readonly id: string & import("effect/Brand").Brand<"PtyID">;
|
|
8127
|
+
readonly title: string;
|
|
8128
|
+
readonly command: string;
|
|
8129
|
+
readonly args: readonly string[];
|
|
8130
|
+
readonly cwd: string;
|
|
8131
|
+
readonly status: "exited" | "running";
|
|
8132
|
+
readonly pid: number;
|
|
8133
|
+
readonly exitCode?: number | undefined;
|
|
8134
|
+
};
|
|
7859
8135
|
};
|
|
7860
8136
|
} | {
|
|
7861
8137
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -7863,13 +8139,33 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7863
8139
|
readonly metadata?: {
|
|
7864
8140
|
readonly [x: string]: unknown;
|
|
7865
8141
|
} | undefined;
|
|
7866
|
-
readonly type: "
|
|
8142
|
+
readonly type: "persistent-pty.added";
|
|
7867
8143
|
readonly location?: {
|
|
7868
8144
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7869
8145
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7870
8146
|
} | undefined;
|
|
7871
8147
|
readonly data: {
|
|
7872
|
-
readonly
|
|
8148
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
8149
|
+
readonly terminal: {
|
|
8150
|
+
readonly id: string & import("effect/Brand").Brand<"PtyID">;
|
|
8151
|
+
readonly title: string;
|
|
8152
|
+
readonly command: string;
|
|
8153
|
+
readonly args: readonly string[];
|
|
8154
|
+
readonly cwd: string;
|
|
8155
|
+
readonly status: "exited" | "running";
|
|
8156
|
+
readonly pid: number;
|
|
8157
|
+
readonly exitCode?: number | undefined;
|
|
8158
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
8159
|
+
readonly foregroundProcess: string | null;
|
|
8160
|
+
readonly size: {
|
|
8161
|
+
readonly cols: number;
|
|
8162
|
+
readonly rows: number;
|
|
8163
|
+
};
|
|
8164
|
+
readonly output: {
|
|
8165
|
+
readonly head: number;
|
|
8166
|
+
readonly tail: number;
|
|
8167
|
+
};
|
|
8168
|
+
};
|
|
7873
8169
|
};
|
|
7874
8170
|
} | {
|
|
7875
8171
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -7877,13 +8173,14 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7877
8173
|
readonly metadata?: {
|
|
7878
8174
|
readonly [x: string]: unknown;
|
|
7879
8175
|
} | undefined;
|
|
7880
|
-
readonly type: "
|
|
8176
|
+
readonly type: "persistent-pty.removed";
|
|
7881
8177
|
readonly location?: {
|
|
7882
8178
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7883
8179
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7884
8180
|
} | undefined;
|
|
7885
8181
|
readonly data: {
|
|
7886
8182
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
8183
|
+
readonly ptyID: string & import("effect/Brand").Brand<"PtyID">;
|
|
7887
8184
|
};
|
|
7888
8185
|
} | {
|
|
7889
8186
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -7891,24 +8188,19 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7891
8188
|
readonly metadata?: {
|
|
7892
8189
|
readonly [x: string]: unknown;
|
|
7893
8190
|
} | undefined;
|
|
7894
|
-
readonly type: "
|
|
8191
|
+
readonly type: "location.shutdown";
|
|
7895
8192
|
readonly location?: {
|
|
7896
8193
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7897
8194
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7898
8195
|
} | undefined;
|
|
7899
|
-
readonly data: {
|
|
7900
|
-
readonly title?: string | undefined;
|
|
7901
|
-
readonly message: string;
|
|
7902
|
-
readonly variant: "error" | "info" | "success" | "warning";
|
|
7903
|
-
readonly duration: number;
|
|
7904
|
-
};
|
|
8196
|
+
readonly data: {};
|
|
7905
8197
|
} | {
|
|
7906
8198
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
7907
8199
|
readonly created: number;
|
|
7908
8200
|
readonly metadata?: {
|
|
7909
8201
|
readonly [x: string]: unknown;
|
|
7910
8202
|
} | undefined;
|
|
7911
|
-
readonly type: "
|
|
8203
|
+
readonly type: "models-dev.refreshed";
|
|
7912
8204
|
readonly location?: {
|
|
7913
8205
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7914
8206
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
@@ -7920,19 +8212,22 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7920
8212
|
readonly metadata?: {
|
|
7921
8213
|
readonly [x: string]: unknown;
|
|
7922
8214
|
} | undefined;
|
|
7923
|
-
readonly type: "
|
|
8215
|
+
readonly type: "credential.switched";
|
|
7924
8216
|
readonly location?: {
|
|
7925
8217
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7926
8218
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7927
8219
|
} | undefined;
|
|
7928
|
-
readonly data: {
|
|
8220
|
+
readonly data: {
|
|
8221
|
+
readonly integrationID: string & import("effect/Brand").Brand<"Integration.ID">;
|
|
8222
|
+
readonly credentialID: (string & import("effect/Brand").Brand<"Credential.ID">) | null;
|
|
8223
|
+
};
|
|
7929
8224
|
} | {
|
|
7930
8225
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
7931
8226
|
readonly created: number;
|
|
7932
8227
|
readonly metadata?: {
|
|
7933
8228
|
readonly [x: string]: unknown;
|
|
7934
8229
|
} | undefined;
|
|
7935
|
-
readonly type: "
|
|
8230
|
+
readonly type: "credential.updated";
|
|
7936
8231
|
readonly location?: {
|
|
7937
8232
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7938
8233
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
@@ -7944,7 +8239,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7944
8239
|
readonly metadata?: {
|
|
7945
8240
|
readonly [x: string]: unknown;
|
|
7946
8241
|
} | undefined;
|
|
7947
|
-
readonly type: "
|
|
8242
|
+
readonly type: "integration.updated";
|
|
7948
8243
|
readonly location?: {
|
|
7949
8244
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7950
8245
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
@@ -7956,7 +8251,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7956
8251
|
readonly metadata?: {
|
|
7957
8252
|
readonly [x: string]: unknown;
|
|
7958
8253
|
} | undefined;
|
|
7959
|
-
readonly type: "
|
|
8254
|
+
readonly type: "provider.updated";
|
|
7960
8255
|
readonly location?: {
|
|
7961
8256
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7962
8257
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
@@ -7968,7 +8263,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7968
8263
|
readonly metadata?: {
|
|
7969
8264
|
readonly [x: string]: unknown;
|
|
7970
8265
|
} | undefined;
|
|
7971
|
-
readonly type: "
|
|
8266
|
+
readonly type: "model.updated";
|
|
7972
8267
|
readonly location?: {
|
|
7973
8268
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7974
8269
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
@@ -7997,530 +8292,36 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7997
8292
|
} | undefined;
|
|
7998
8293
|
readonly type: "reference.updated";
|
|
7999
8294
|
readonly location?: {
|
|
8000
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8001
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8002
|
-
} | undefined;
|
|
8003
|
-
readonly data: {};
|
|
8004
|
-
} | {
|
|
8005
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8006
|
-
readonly created: number;
|
|
8007
|
-
readonly metadata?: {
|
|
8008
|
-
readonly [x: string]: unknown;
|
|
8009
|
-
} | undefined;
|
|
8010
|
-
readonly type: "permission.asked";
|
|
8011
|
-
readonly location?: {
|
|
8012
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8013
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8014
|
-
} | undefined;
|
|
8015
|
-
readonly data: {
|
|
8016
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
8017
|
-
readonly action: string;
|
|
8018
|
-
readonly resources: readonly string[];
|
|
8019
|
-
readonly save?: readonly string[] | undefined;
|
|
8020
|
-
readonly metadata?: {
|
|
8021
|
-
readonly [x: string]: unknown;
|
|
8022
|
-
} | undefined;
|
|
8023
|
-
readonly source?: {
|
|
8024
|
-
readonly type: "tool";
|
|
8025
|
-
readonly messageID: string;
|
|
8026
|
-
readonly id: string;
|
|
8027
|
-
} | undefined;
|
|
8028
|
-
readonly message?: string | undefined;
|
|
8029
|
-
readonly id: string & import("effect/Brand").Brand<"Permission.ID">;
|
|
8030
|
-
};
|
|
8031
|
-
} | {
|
|
8032
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8033
|
-
readonly created: number;
|
|
8034
|
-
readonly metadata?: {
|
|
8035
|
-
readonly [x: string]: unknown;
|
|
8036
|
-
} | undefined;
|
|
8037
|
-
readonly type: "permission.replied";
|
|
8038
|
-
readonly location?: {
|
|
8039
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8040
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8041
|
-
} | undefined;
|
|
8042
|
-
readonly data: {
|
|
8043
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
8044
|
-
readonly requestID: string & import("effect/Brand").Brand<"Permission.ID">;
|
|
8045
|
-
readonly reply: "always" | "once" | "reject";
|
|
8046
|
-
};
|
|
8047
|
-
} | {
|
|
8048
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8049
|
-
readonly created: number;
|
|
8050
|
-
readonly metadata?: {
|
|
8051
|
-
readonly [x: string]: unknown;
|
|
8052
|
-
} | undefined;
|
|
8053
|
-
readonly type: "project.updated";
|
|
8054
|
-
readonly location?: {
|
|
8055
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8056
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8057
|
-
} | undefined;
|
|
8058
|
-
readonly data: {
|
|
8059
|
-
readonly id: string & import("effect/Brand").Brand<"Project.ID">;
|
|
8060
|
-
readonly canonical: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8061
|
-
readonly vcs?: string | undefined;
|
|
8062
|
-
readonly name?: string | undefined;
|
|
8063
|
-
readonly icon?: {
|
|
8064
|
-
readonly url?: string | undefined;
|
|
8065
|
-
readonly override?: string | undefined;
|
|
8066
|
-
readonly color?: string | undefined;
|
|
8067
|
-
} | undefined;
|
|
8068
|
-
readonly commands?: {
|
|
8069
|
-
readonly start?: string | undefined;
|
|
8070
|
-
} | undefined;
|
|
8071
|
-
readonly time: {
|
|
8072
|
-
readonly created: number;
|
|
8073
|
-
readonly updated: number;
|
|
8074
|
-
readonly active: number;
|
|
8075
|
-
readonly archived?: number | undefined;
|
|
8076
|
-
};
|
|
8077
|
-
readonly sandboxes: readonly string[];
|
|
8078
|
-
};
|
|
8079
|
-
} | {
|
|
8080
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8081
|
-
readonly created: number;
|
|
8082
|
-
readonly metadata?: {
|
|
8083
|
-
readonly [x: string]: unknown;
|
|
8084
|
-
} | undefined;
|
|
8085
|
-
readonly type: "worktree.resolved";
|
|
8086
|
-
readonly durable: {
|
|
8087
|
-
readonly aggregateID: string;
|
|
8088
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
8089
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
8090
|
-
};
|
|
8091
|
-
readonly location?: {
|
|
8092
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8093
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8094
|
-
} | undefined;
|
|
8095
|
-
readonly data: {
|
|
8096
|
-
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
8097
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8098
|
-
readonly previous: string & import("effect/Brand").Brand<"Project.ID">;
|
|
8099
|
-
readonly adopted?: readonly (string & import("effect/Brand").Brand<"Project.ID">)[] | undefined;
|
|
8100
|
-
};
|
|
8101
|
-
} | {
|
|
8102
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8103
|
-
readonly created: number;
|
|
8104
|
-
readonly metadata?: {
|
|
8105
|
-
readonly [x: string]: unknown;
|
|
8106
|
-
} | undefined;
|
|
8107
|
-
readonly type: "worktree.updated";
|
|
8108
|
-
readonly location?: {
|
|
8109
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8110
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8111
|
-
} | undefined;
|
|
8112
|
-
readonly data: {
|
|
8113
|
-
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
8114
|
-
};
|
|
8115
|
-
} | {
|
|
8116
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8117
|
-
readonly created: number;
|
|
8118
|
-
readonly metadata?: {
|
|
8119
|
-
readonly [x: string]: unknown;
|
|
8120
|
-
} | undefined;
|
|
8121
|
-
readonly type: "pty.created";
|
|
8122
|
-
readonly location?: {
|
|
8123
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8124
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8125
|
-
} | undefined;
|
|
8126
|
-
readonly data: {
|
|
8127
|
-
readonly info: {
|
|
8128
|
-
readonly id: string & import("effect/Brand").Brand<"PtyID">;
|
|
8129
|
-
readonly title: string;
|
|
8130
|
-
readonly command: string;
|
|
8131
|
-
readonly args: readonly string[];
|
|
8132
|
-
readonly cwd: string;
|
|
8133
|
-
readonly status: "exited" | "running";
|
|
8134
|
-
readonly pid: number;
|
|
8135
|
-
readonly exitCode?: number | undefined;
|
|
8136
|
-
};
|
|
8137
|
-
};
|
|
8138
|
-
} | {
|
|
8139
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8140
|
-
readonly created: number;
|
|
8141
|
-
readonly metadata?: {
|
|
8142
|
-
readonly [x: string]: unknown;
|
|
8143
|
-
} | undefined;
|
|
8144
|
-
readonly type: "pty.deleted";
|
|
8145
|
-
readonly location?: {
|
|
8146
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8147
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8148
|
-
} | undefined;
|
|
8149
|
-
readonly data: {
|
|
8150
|
-
readonly id: string & import("effect/Brand").Brand<"PtyID">;
|
|
8151
|
-
};
|
|
8152
|
-
} | {
|
|
8153
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8154
|
-
readonly created: number;
|
|
8155
|
-
readonly metadata?: {
|
|
8156
|
-
readonly [x: string]: unknown;
|
|
8157
|
-
} | undefined;
|
|
8158
|
-
readonly type: "pty.exited";
|
|
8159
|
-
readonly location?: {
|
|
8160
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8161
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8162
|
-
} | undefined;
|
|
8163
|
-
readonly data: {
|
|
8164
|
-
readonly id: string & import("effect/Brand").Brand<"PtyID">;
|
|
8165
|
-
readonly exitCode: number;
|
|
8166
|
-
};
|
|
8167
|
-
} | {
|
|
8168
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8169
|
-
readonly created: number;
|
|
8170
|
-
readonly metadata?: {
|
|
8171
|
-
readonly [x: string]: unknown;
|
|
8172
|
-
} | undefined;
|
|
8173
|
-
readonly type: "pty.updated";
|
|
8174
|
-
readonly location?: {
|
|
8175
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8176
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8177
|
-
} | undefined;
|
|
8178
|
-
readonly data: {
|
|
8179
|
-
readonly info: {
|
|
8180
|
-
readonly id: string & import("effect/Brand").Brand<"PtyID">;
|
|
8181
|
-
readonly title: string;
|
|
8182
|
-
readonly command: string;
|
|
8183
|
-
readonly args: readonly string[];
|
|
8184
|
-
readonly cwd: string;
|
|
8185
|
-
readonly status: "exited" | "running";
|
|
8186
|
-
readonly pid: number;
|
|
8187
|
-
readonly exitCode?: number | undefined;
|
|
8188
|
-
};
|
|
8189
|
-
};
|
|
8190
|
-
} | {
|
|
8191
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8192
|
-
readonly created: number;
|
|
8193
|
-
readonly metadata?: {
|
|
8194
|
-
readonly [x: string]: unknown;
|
|
8195
|
-
} | undefined;
|
|
8196
|
-
readonly type: "persistent-pty.added";
|
|
8197
|
-
readonly location?: {
|
|
8198
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8199
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8200
|
-
} | undefined;
|
|
8201
|
-
readonly data: {
|
|
8202
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
8203
|
-
readonly terminal: {
|
|
8204
|
-
readonly id: string & import("effect/Brand").Brand<"PtyID">;
|
|
8205
|
-
readonly title: string;
|
|
8206
|
-
readonly command: string;
|
|
8207
|
-
readonly args: readonly string[];
|
|
8208
|
-
readonly cwd: string;
|
|
8209
|
-
readonly status: "exited" | "running";
|
|
8210
|
-
readonly pid: number;
|
|
8211
|
-
readonly exitCode?: number | undefined;
|
|
8212
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
8213
|
-
readonly foregroundProcess: string | null;
|
|
8214
|
-
readonly size: {
|
|
8215
|
-
readonly cols: number;
|
|
8216
|
-
readonly rows: number;
|
|
8217
|
-
};
|
|
8218
|
-
readonly output: {
|
|
8219
|
-
readonly head: number;
|
|
8220
|
-
readonly tail: number;
|
|
8221
|
-
};
|
|
8222
|
-
};
|
|
8223
|
-
};
|
|
8224
|
-
} | {
|
|
8225
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8226
|
-
readonly created: number;
|
|
8227
|
-
readonly metadata?: {
|
|
8228
|
-
readonly [x: string]: unknown;
|
|
8229
|
-
} | undefined;
|
|
8230
|
-
readonly type: "persistent-pty.removed";
|
|
8231
|
-
readonly location?: {
|
|
8232
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8233
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8234
|
-
} | undefined;
|
|
8235
|
-
readonly data: {
|
|
8236
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
8237
|
-
readonly ptyID: string & import("effect/Brand").Brand<"PtyID">;
|
|
8238
|
-
};
|
|
8239
|
-
} | {
|
|
8240
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8241
|
-
readonly created: number;
|
|
8242
|
-
readonly metadata?: {
|
|
8243
|
-
readonly [x: string]: unknown;
|
|
8244
|
-
} | undefined;
|
|
8245
|
-
readonly type: "shell.created";
|
|
8246
|
-
readonly location?: {
|
|
8247
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8248
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8249
|
-
} | undefined;
|
|
8250
|
-
readonly data: {
|
|
8251
|
-
readonly info: {
|
|
8252
|
-
readonly id: string & import("effect/Brand").Brand<"Shell.ID">;
|
|
8253
|
-
readonly status: "exited" | "killed" | "running" | "timeout";
|
|
8254
|
-
readonly command: string;
|
|
8255
|
-
readonly cwd: string;
|
|
8256
|
-
readonly shell: string;
|
|
8257
|
-
readonly file: string;
|
|
8258
|
-
readonly pid?: number | undefined;
|
|
8259
|
-
readonly exit?: number | undefined;
|
|
8260
|
-
readonly signal?: string | undefined;
|
|
8261
|
-
readonly metadata: {
|
|
8262
|
-
readonly [x: string]: unknown;
|
|
8263
|
-
};
|
|
8264
|
-
readonly time: {
|
|
8265
|
-
readonly started: number;
|
|
8266
|
-
readonly completed?: number | undefined;
|
|
8267
|
-
};
|
|
8268
|
-
};
|
|
8269
|
-
};
|
|
8270
|
-
} | {
|
|
8271
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8272
|
-
readonly created: number;
|
|
8273
|
-
readonly metadata?: {
|
|
8274
|
-
readonly [x: string]: unknown;
|
|
8275
|
-
} | undefined;
|
|
8276
|
-
readonly type: "shell.deleted";
|
|
8277
|
-
readonly location?: {
|
|
8278
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8279
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8280
|
-
} | undefined;
|
|
8281
|
-
readonly data: {
|
|
8282
|
-
readonly id: string & import("effect/Brand").Brand<"Shell.ID">;
|
|
8283
|
-
};
|
|
8284
|
-
} | {
|
|
8285
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8286
|
-
readonly created: number;
|
|
8287
|
-
readonly metadata?: {
|
|
8288
|
-
readonly [x: string]: unknown;
|
|
8289
|
-
} | undefined;
|
|
8290
|
-
readonly type: "shell.exited";
|
|
8291
|
-
readonly location?: {
|
|
8292
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8293
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8294
|
-
} | undefined;
|
|
8295
|
-
readonly data: {
|
|
8296
|
-
readonly id: string & import("effect/Brand").Brand<"Shell.ID">;
|
|
8297
|
-
readonly exit?: number | undefined;
|
|
8298
|
-
readonly status: "exited" | "killed" | "running" | "timeout";
|
|
8299
|
-
};
|
|
8300
|
-
} | {
|
|
8301
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8302
|
-
readonly created: number;
|
|
8303
|
-
readonly metadata?: {
|
|
8304
|
-
readonly [x: string]: unknown;
|
|
8305
|
-
} | undefined;
|
|
8306
|
-
readonly type: "form.cancelled";
|
|
8307
|
-
readonly location?: {
|
|
8308
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8309
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8310
|
-
} | undefined;
|
|
8311
|
-
readonly data: {
|
|
8312
|
-
readonly id: string & import("effect/Brand").Brand<"Form.ID">;
|
|
8313
|
-
readonly sessionID: string;
|
|
8314
|
-
};
|
|
8315
|
-
} | {
|
|
8316
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8317
|
-
readonly created: number;
|
|
8318
|
-
readonly metadata?: {
|
|
8319
|
-
readonly [x: string]: unknown;
|
|
8320
|
-
} | undefined;
|
|
8321
|
-
readonly type: "form.created";
|
|
8322
|
-
readonly location?: {
|
|
8323
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8324
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8325
|
-
} | undefined;
|
|
8326
|
-
readonly data: {
|
|
8327
|
-
readonly form: {
|
|
8328
|
-
readonly id: string & import("effect/Brand").Brand<"Form.ID">;
|
|
8329
|
-
readonly sessionID: string;
|
|
8330
|
-
readonly title: string;
|
|
8331
|
-
readonly metadata?: {
|
|
8332
|
-
readonly [x: string]: unknown;
|
|
8333
|
-
} | undefined;
|
|
8334
|
-
readonly fields: readonly [{
|
|
8335
|
-
readonly key: string;
|
|
8336
|
-
readonly title?: string | undefined;
|
|
8337
|
-
readonly description?: string | undefined;
|
|
8338
|
-
readonly required?: boolean | undefined;
|
|
8339
|
-
readonly hidden?: boolean | undefined;
|
|
8340
|
-
readonly when?: readonly {
|
|
8341
|
-
readonly key: string;
|
|
8342
|
-
readonly op: "eq" | "neq";
|
|
8343
|
-
readonly value: string | number | boolean;
|
|
8344
|
-
}[] | undefined;
|
|
8345
|
-
readonly type: "string";
|
|
8346
|
-
readonly format?: "date" | "date-time" | "email" | "uri" | undefined;
|
|
8347
|
-
readonly minLength?: number | undefined;
|
|
8348
|
-
readonly maxLength?: number | undefined;
|
|
8349
|
-
readonly pattern?: string | undefined;
|
|
8350
|
-
readonly placeholder?: string | undefined;
|
|
8351
|
-
readonly default?: string | undefined;
|
|
8352
|
-
readonly options?: readonly {
|
|
8353
|
-
readonly value: string;
|
|
8354
|
-
readonly label: string;
|
|
8355
|
-
readonly description?: string | undefined;
|
|
8356
|
-
}[] | undefined;
|
|
8357
|
-
readonly custom?: boolean | undefined;
|
|
8358
|
-
} | {
|
|
8359
|
-
readonly key: string;
|
|
8360
|
-
readonly title?: string | undefined;
|
|
8361
|
-
readonly description?: string | undefined;
|
|
8362
|
-
readonly required?: boolean | undefined;
|
|
8363
|
-
readonly hidden?: boolean | undefined;
|
|
8364
|
-
readonly when?: readonly {
|
|
8365
|
-
readonly key: string;
|
|
8366
|
-
readonly op: "eq" | "neq";
|
|
8367
|
-
readonly value: string | number | boolean;
|
|
8368
|
-
}[] | undefined;
|
|
8369
|
-
readonly type: "number";
|
|
8370
|
-
readonly minimum?: number | undefined;
|
|
8371
|
-
readonly maximum?: number | undefined;
|
|
8372
|
-
readonly default?: number | undefined;
|
|
8373
|
-
} | {
|
|
8374
|
-
readonly key: string;
|
|
8375
|
-
readonly title?: string | undefined;
|
|
8376
|
-
readonly description?: string | undefined;
|
|
8377
|
-
readonly required?: boolean | undefined;
|
|
8378
|
-
readonly hidden?: boolean | undefined;
|
|
8379
|
-
readonly when?: readonly {
|
|
8380
|
-
readonly key: string;
|
|
8381
|
-
readonly op: "eq" | "neq";
|
|
8382
|
-
readonly value: string | number | boolean;
|
|
8383
|
-
}[] | undefined;
|
|
8384
|
-
readonly type: "integer";
|
|
8385
|
-
readonly minimum?: number | undefined;
|
|
8386
|
-
readonly maximum?: number | undefined;
|
|
8387
|
-
readonly default?: number | undefined;
|
|
8388
|
-
} | {
|
|
8389
|
-
readonly key: string;
|
|
8390
|
-
readonly title?: string | undefined;
|
|
8391
|
-
readonly description?: string | undefined;
|
|
8392
|
-
readonly required?: boolean | undefined;
|
|
8393
|
-
readonly hidden?: boolean | undefined;
|
|
8394
|
-
readonly when?: readonly {
|
|
8395
|
-
readonly key: string;
|
|
8396
|
-
readonly op: "eq" | "neq";
|
|
8397
|
-
readonly value: string | number | boolean;
|
|
8398
|
-
}[] | undefined;
|
|
8399
|
-
readonly type: "boolean";
|
|
8400
|
-
readonly default?: boolean | undefined;
|
|
8401
|
-
} | {
|
|
8402
|
-
readonly key: string;
|
|
8403
|
-
readonly title?: string | undefined;
|
|
8404
|
-
readonly description?: string | undefined;
|
|
8405
|
-
readonly required?: boolean | undefined;
|
|
8406
|
-
readonly hidden?: boolean | undefined;
|
|
8407
|
-
readonly when?: readonly {
|
|
8408
|
-
readonly key: string;
|
|
8409
|
-
readonly op: "eq" | "neq";
|
|
8410
|
-
readonly value: string | number | boolean;
|
|
8411
|
-
}[] | undefined;
|
|
8412
|
-
readonly type: "multiselect";
|
|
8413
|
-
readonly options: readonly {
|
|
8414
|
-
readonly value: string;
|
|
8415
|
-
readonly label: string;
|
|
8416
|
-
readonly description?: string | undefined;
|
|
8417
|
-
}[];
|
|
8418
|
-
readonly minItems?: number | undefined;
|
|
8419
|
-
readonly maxItems?: number | undefined;
|
|
8420
|
-
readonly custom?: boolean | undefined;
|
|
8421
|
-
readonly default?: readonly string[] | undefined;
|
|
8422
|
-
} | {
|
|
8423
|
-
readonly key: string;
|
|
8424
|
-
readonly type: "external";
|
|
8425
|
-
readonly url: string;
|
|
8426
|
-
readonly title?: string | undefined;
|
|
8427
|
-
readonly description?: string | undefined;
|
|
8428
|
-
}, ...({
|
|
8429
|
-
readonly key: string;
|
|
8430
|
-
readonly title?: string | undefined;
|
|
8431
|
-
readonly description?: string | undefined;
|
|
8432
|
-
readonly required?: boolean | undefined;
|
|
8433
|
-
readonly hidden?: boolean | undefined;
|
|
8434
|
-
readonly when?: readonly {
|
|
8435
|
-
readonly key: string;
|
|
8436
|
-
readonly op: "eq" | "neq";
|
|
8437
|
-
readonly value: string | number | boolean;
|
|
8438
|
-
}[] | undefined;
|
|
8439
|
-
readonly type: "string";
|
|
8440
|
-
readonly format?: "date" | "date-time" | "email" | "uri" | undefined;
|
|
8441
|
-
readonly minLength?: number | undefined;
|
|
8442
|
-
readonly maxLength?: number | undefined;
|
|
8443
|
-
readonly pattern?: string | undefined;
|
|
8444
|
-
readonly placeholder?: string | undefined;
|
|
8445
|
-
readonly default?: string | undefined;
|
|
8446
|
-
readonly options?: readonly {
|
|
8447
|
-
readonly value: string;
|
|
8448
|
-
readonly label: string;
|
|
8449
|
-
readonly description?: string | undefined;
|
|
8450
|
-
}[] | undefined;
|
|
8451
|
-
readonly custom?: boolean | undefined;
|
|
8452
|
-
} | {
|
|
8453
|
-
readonly key: string;
|
|
8454
|
-
readonly title?: string | undefined;
|
|
8455
|
-
readonly description?: string | undefined;
|
|
8456
|
-
readonly required?: boolean | undefined;
|
|
8457
|
-
readonly hidden?: boolean | undefined;
|
|
8458
|
-
readonly when?: readonly {
|
|
8459
|
-
readonly key: string;
|
|
8460
|
-
readonly op: "eq" | "neq";
|
|
8461
|
-
readonly value: string | number | boolean;
|
|
8462
|
-
}[] | undefined;
|
|
8463
|
-
readonly type: "number";
|
|
8464
|
-
readonly minimum?: number | undefined;
|
|
8465
|
-
readonly maximum?: number | undefined;
|
|
8466
|
-
readonly default?: number | undefined;
|
|
8467
|
-
} | {
|
|
8468
|
-
readonly key: string;
|
|
8469
|
-
readonly title?: string | undefined;
|
|
8470
|
-
readonly description?: string | undefined;
|
|
8471
|
-
readonly required?: boolean | undefined;
|
|
8472
|
-
readonly hidden?: boolean | undefined;
|
|
8473
|
-
readonly when?: readonly {
|
|
8474
|
-
readonly key: string;
|
|
8475
|
-
readonly op: "eq" | "neq";
|
|
8476
|
-
readonly value: string | number | boolean;
|
|
8477
|
-
}[] | undefined;
|
|
8478
|
-
readonly type: "integer";
|
|
8479
|
-
readonly minimum?: number | undefined;
|
|
8480
|
-
readonly maximum?: number | undefined;
|
|
8481
|
-
readonly default?: number | undefined;
|
|
8482
|
-
} | {
|
|
8483
|
-
readonly key: string;
|
|
8484
|
-
readonly title?: string | undefined;
|
|
8485
|
-
readonly description?: string | undefined;
|
|
8486
|
-
readonly required?: boolean | undefined;
|
|
8487
|
-
readonly hidden?: boolean | undefined;
|
|
8488
|
-
readonly when?: readonly {
|
|
8489
|
-
readonly key: string;
|
|
8490
|
-
readonly op: "eq" | "neq";
|
|
8491
|
-
readonly value: string | number | boolean;
|
|
8492
|
-
}[] | undefined;
|
|
8493
|
-
readonly type: "boolean";
|
|
8494
|
-
readonly default?: boolean | undefined;
|
|
8495
|
-
} | {
|
|
8496
|
-
readonly key: string;
|
|
8497
|
-
readonly title?: string | undefined;
|
|
8498
|
-
readonly description?: string | undefined;
|
|
8499
|
-
readonly required?: boolean | undefined;
|
|
8500
|
-
readonly hidden?: boolean | undefined;
|
|
8501
|
-
readonly when?: readonly {
|
|
8502
|
-
readonly key: string;
|
|
8503
|
-
readonly op: "eq" | "neq";
|
|
8504
|
-
readonly value: string | number | boolean;
|
|
8505
|
-
}[] | undefined;
|
|
8506
|
-
readonly type: "multiselect";
|
|
8507
|
-
readonly options: readonly {
|
|
8508
|
-
readonly value: string;
|
|
8509
|
-
readonly label: string;
|
|
8510
|
-
readonly description?: string | undefined;
|
|
8511
|
-
}[];
|
|
8512
|
-
readonly minItems?: number | undefined;
|
|
8513
|
-
readonly maxItems?: number | undefined;
|
|
8514
|
-
readonly custom?: boolean | undefined;
|
|
8515
|
-
readonly default?: readonly string[] | undefined;
|
|
8516
|
-
} | {
|
|
8517
|
-
readonly key: string;
|
|
8518
|
-
readonly type: "external";
|
|
8519
|
-
readonly url: string;
|
|
8520
|
-
readonly title?: string | undefined;
|
|
8521
|
-
readonly description?: string | undefined;
|
|
8522
|
-
})[]];
|
|
8523
|
-
};
|
|
8295
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8296
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8297
|
+
} | undefined;
|
|
8298
|
+
readonly data: {};
|
|
8299
|
+
} | {
|
|
8300
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8301
|
+
readonly created: number;
|
|
8302
|
+
readonly metadata?: {
|
|
8303
|
+
readonly [x: string]: unknown;
|
|
8304
|
+
} | undefined;
|
|
8305
|
+
readonly type: "permission.asked";
|
|
8306
|
+
readonly location?: {
|
|
8307
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8308
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8309
|
+
} | undefined;
|
|
8310
|
+
readonly data: {
|
|
8311
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
8312
|
+
readonly action: string;
|
|
8313
|
+
readonly resources: readonly string[];
|
|
8314
|
+
readonly save?: readonly string[] | undefined;
|
|
8315
|
+
readonly metadata?: {
|
|
8316
|
+
readonly [x: string]: unknown;
|
|
8317
|
+
} | undefined;
|
|
8318
|
+
readonly source?: {
|
|
8319
|
+
readonly type: "tool";
|
|
8320
|
+
readonly messageID: string;
|
|
8321
|
+
readonly id: string;
|
|
8322
|
+
} | undefined;
|
|
8323
|
+
readonly message?: string | undefined;
|
|
8324
|
+
readonly id: string & import("effect/Brand").Brand<"Permission.ID">;
|
|
8524
8325
|
};
|
|
8525
8326
|
} | {
|
|
8526
8327
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -8528,17 +8329,59 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
8528
8329
|
readonly metadata?: {
|
|
8529
8330
|
readonly [x: string]: unknown;
|
|
8530
8331
|
} | undefined;
|
|
8531
|
-
readonly type: "
|
|
8332
|
+
readonly type: "permission.replied";
|
|
8532
8333
|
readonly location?: {
|
|
8533
8334
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8534
8335
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8535
8336
|
} | undefined;
|
|
8536
8337
|
readonly data: {
|
|
8537
|
-
readonly
|
|
8538
|
-
readonly
|
|
8539
|
-
readonly
|
|
8540
|
-
|
|
8338
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
8339
|
+
readonly requestID: string & import("effect/Brand").Brand<"Permission.ID">;
|
|
8340
|
+
readonly reply: "always" | "once" | "reject";
|
|
8341
|
+
};
|
|
8342
|
+
} | {
|
|
8343
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8344
|
+
readonly created: number;
|
|
8345
|
+
readonly metadata?: {
|
|
8346
|
+
readonly [x: string]: unknown;
|
|
8347
|
+
} | undefined;
|
|
8348
|
+
readonly type: "plugin.updated";
|
|
8349
|
+
readonly location?: {
|
|
8350
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8351
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8352
|
+
} | undefined;
|
|
8353
|
+
readonly data: {};
|
|
8354
|
+
} | {
|
|
8355
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8356
|
+
readonly created: number;
|
|
8357
|
+
readonly metadata?: {
|
|
8358
|
+
readonly [x: string]: unknown;
|
|
8359
|
+
} | undefined;
|
|
8360
|
+
readonly type: "project.updated";
|
|
8361
|
+
readonly location?: {
|
|
8362
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8363
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8364
|
+
} | undefined;
|
|
8365
|
+
readonly data: {
|
|
8366
|
+
readonly id: string & import("effect/Brand").Brand<"Project.ID">;
|
|
8367
|
+
readonly canonical: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8368
|
+
readonly vcs?: string | undefined;
|
|
8369
|
+
readonly name?: string | undefined;
|
|
8370
|
+
readonly icon?: {
|
|
8371
|
+
readonly url?: string | undefined;
|
|
8372
|
+
readonly override?: string | undefined;
|
|
8373
|
+
readonly color?: string | undefined;
|
|
8374
|
+
} | undefined;
|
|
8375
|
+
readonly commands?: {
|
|
8376
|
+
readonly start?: string | undefined;
|
|
8377
|
+
} | undefined;
|
|
8378
|
+
readonly time: {
|
|
8379
|
+
readonly created: number;
|
|
8380
|
+
readonly updated: number;
|
|
8381
|
+
readonly active: number;
|
|
8382
|
+
readonly archived?: number | undefined;
|
|
8541
8383
|
};
|
|
8384
|
+
readonly sandboxes: readonly string[];
|
|
8542
8385
|
};
|
|
8543
8386
|
} | {
|
|
8544
8387
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -8546,12 +8389,97 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
8546
8389
|
readonly metadata?: {
|
|
8547
8390
|
readonly [x: string]: unknown;
|
|
8548
8391
|
} | undefined;
|
|
8549
|
-
readonly type: "
|
|
8392
|
+
readonly type: "command.updated";
|
|
8393
|
+
readonly location?: {
|
|
8394
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8395
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8396
|
+
} | undefined;
|
|
8397
|
+
readonly data: {};
|
|
8398
|
+
} | {
|
|
8399
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8400
|
+
readonly created: number;
|
|
8401
|
+
readonly metadata?: {
|
|
8402
|
+
readonly [x: string]: unknown;
|
|
8403
|
+
} | undefined;
|
|
8404
|
+
readonly type: "config.updated";
|
|
8550
8405
|
readonly location?: {
|
|
8551
8406
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8552
8407
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8553
8408
|
} | undefined;
|
|
8554
8409
|
readonly data: {};
|
|
8410
|
+
} | {
|
|
8411
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8412
|
+
readonly created: number;
|
|
8413
|
+
readonly metadata?: {
|
|
8414
|
+
readonly [x: string]: unknown;
|
|
8415
|
+
} | undefined;
|
|
8416
|
+
readonly type: "skill.updated";
|
|
8417
|
+
readonly location?: {
|
|
8418
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8419
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8420
|
+
} | undefined;
|
|
8421
|
+
readonly data: {};
|
|
8422
|
+
} | {
|
|
8423
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8424
|
+
readonly created: number;
|
|
8425
|
+
readonly metadata?: {
|
|
8426
|
+
readonly [x: string]: unknown;
|
|
8427
|
+
} | undefined;
|
|
8428
|
+
readonly type: "shell.created";
|
|
8429
|
+
readonly location?: {
|
|
8430
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8431
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8432
|
+
} | undefined;
|
|
8433
|
+
readonly data: {
|
|
8434
|
+
readonly info: {
|
|
8435
|
+
readonly id: string & import("effect/Brand").Brand<"Shell.ID">;
|
|
8436
|
+
readonly status: "exited" | "killed" | "running" | "timeout";
|
|
8437
|
+
readonly command: string;
|
|
8438
|
+
readonly cwd: string;
|
|
8439
|
+
readonly shell: string;
|
|
8440
|
+
readonly file: string;
|
|
8441
|
+
readonly pid?: number | undefined;
|
|
8442
|
+
readonly exit?: number | undefined;
|
|
8443
|
+
readonly signal?: string | undefined;
|
|
8444
|
+
readonly metadata: {
|
|
8445
|
+
readonly [x: string]: unknown;
|
|
8446
|
+
};
|
|
8447
|
+
readonly time: {
|
|
8448
|
+
readonly started: number;
|
|
8449
|
+
readonly completed?: number | undefined;
|
|
8450
|
+
};
|
|
8451
|
+
};
|
|
8452
|
+
};
|
|
8453
|
+
} | {
|
|
8454
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8455
|
+
readonly created: number;
|
|
8456
|
+
readonly metadata?: {
|
|
8457
|
+
readonly [x: string]: unknown;
|
|
8458
|
+
} | undefined;
|
|
8459
|
+
readonly type: "shell.deleted";
|
|
8460
|
+
readonly location?: {
|
|
8461
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8462
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8463
|
+
} | undefined;
|
|
8464
|
+
readonly data: {
|
|
8465
|
+
readonly id: string & import("effect/Brand").Brand<"Shell.ID">;
|
|
8466
|
+
};
|
|
8467
|
+
} | {
|
|
8468
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8469
|
+
readonly created: number;
|
|
8470
|
+
readonly metadata?: {
|
|
8471
|
+
readonly [x: string]: unknown;
|
|
8472
|
+
} | undefined;
|
|
8473
|
+
readonly type: "shell.exited";
|
|
8474
|
+
readonly location?: {
|
|
8475
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8476
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8477
|
+
} | undefined;
|
|
8478
|
+
readonly data: {
|
|
8479
|
+
readonly id: string & import("effect/Brand").Brand<"Shell.ID">;
|
|
8480
|
+
readonly exit?: number | undefined;
|
|
8481
|
+
readonly status: "exited" | "killed" | "running" | "timeout";
|
|
8482
|
+
};
|
|
8555
8483
|
} | {
|
|
8556
8484
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8557
8485
|
readonly created: number;
|
|
@@ -8598,6 +8526,65 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
8598
8526
|
readonly type: "busy";
|
|
8599
8527
|
};
|
|
8600
8528
|
};
|
|
8529
|
+
} | {
|
|
8530
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8531
|
+
readonly created: number;
|
|
8532
|
+
readonly metadata?: {
|
|
8533
|
+
readonly [x: string]: unknown;
|
|
8534
|
+
} | undefined;
|
|
8535
|
+
readonly type: "tui.command.execute";
|
|
8536
|
+
readonly location?: {
|
|
8537
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8538
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8539
|
+
} | undefined;
|
|
8540
|
+
readonly data: {
|
|
8541
|
+
readonly command: string;
|
|
8542
|
+
};
|
|
8543
|
+
} | {
|
|
8544
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8545
|
+
readonly created: number;
|
|
8546
|
+
readonly metadata?: {
|
|
8547
|
+
readonly [x: string]: unknown;
|
|
8548
|
+
} | undefined;
|
|
8549
|
+
readonly type: "tui.prompt.append";
|
|
8550
|
+
readonly location?: {
|
|
8551
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8552
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8553
|
+
} | undefined;
|
|
8554
|
+
readonly data: {
|
|
8555
|
+
readonly text: string;
|
|
8556
|
+
};
|
|
8557
|
+
} | {
|
|
8558
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8559
|
+
readonly created: number;
|
|
8560
|
+
readonly metadata?: {
|
|
8561
|
+
readonly [x: string]: unknown;
|
|
8562
|
+
} | undefined;
|
|
8563
|
+
readonly type: "tui.session.select";
|
|
8564
|
+
readonly location?: {
|
|
8565
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8566
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8567
|
+
} | undefined;
|
|
8568
|
+
readonly data: {
|
|
8569
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
8570
|
+
};
|
|
8571
|
+
} | {
|
|
8572
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8573
|
+
readonly created: number;
|
|
8574
|
+
readonly metadata?: {
|
|
8575
|
+
readonly [x: string]: unknown;
|
|
8576
|
+
} | undefined;
|
|
8577
|
+
readonly type: "tui.toast.show";
|
|
8578
|
+
readonly location?: {
|
|
8579
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8580
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8581
|
+
} | undefined;
|
|
8582
|
+
readonly data: {
|
|
8583
|
+
readonly title?: string | undefined;
|
|
8584
|
+
readonly message: string;
|
|
8585
|
+
readonly variant: "error" | "info" | "success" | "warning";
|
|
8586
|
+
readonly duration: number;
|
|
8587
|
+
};
|
|
8601
8588
|
} | {
|
|
8602
8589
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8603
8590
|
readonly created: number;
|
|
@@ -8640,6 +8627,34 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
8640
8627
|
readonly data: {
|
|
8641
8628
|
readonly branch?: string | undefined;
|
|
8642
8629
|
};
|
|
8630
|
+
} | {
|
|
8631
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8632
|
+
readonly created: number;
|
|
8633
|
+
readonly metadata?: {
|
|
8634
|
+
readonly [x: string]: unknown;
|
|
8635
|
+
} | undefined;
|
|
8636
|
+
readonly type: "mcp.resources.changed";
|
|
8637
|
+
readonly location?: {
|
|
8638
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8639
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8640
|
+
} | undefined;
|
|
8641
|
+
readonly data: {
|
|
8642
|
+
readonly server: string;
|
|
8643
|
+
};
|
|
8644
|
+
} | {
|
|
8645
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8646
|
+
readonly created: number;
|
|
8647
|
+
readonly metadata?: {
|
|
8648
|
+
readonly [x: string]: unknown;
|
|
8649
|
+
} | undefined;
|
|
8650
|
+
readonly type: "mcp.status.changed";
|
|
8651
|
+
readonly location?: {
|
|
8652
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8653
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8654
|
+
} | undefined;
|
|
8655
|
+
readonly data: {
|
|
8656
|
+
readonly server: string;
|
|
8657
|
+
};
|
|
8643
8658
|
} | {
|
|
8644
8659
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8645
8660
|
readonly created: number;
|