@opencode/server 0.0.0-dev-21463 → 0.0.0-dev-21474
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 +679 -679
- package/dist/api.js +5 -5
- package/dist/auth.js +1 -1
- package/dist/chunks/{options-n60r5keb.js → api-08x9tjee.js} +1 -1
- package/dist/chunks/{options-k8rzy6d4.js → api-0d864bga.js} +1 -1
- package/dist/chunks/{options-jyqwgkdk.js → api-10hxeg6b.js} +3 -3
- package/dist/chunks/{options-9mfgjndz.js → api-33prfkkd.js} +3 -3
- package/dist/chunks/{options-8rce7p24.js → api-3dt0rytm.js} +34 -34
- package/dist/chunks/{options-282a4qdn.js → api-3xwd7mb9.js} +6 -6
- package/dist/chunks/{options-gsqctp76.js → api-43r48nqn.js} +2 -2
- package/dist/chunks/{options-w0jn068c.js → api-4d1eemzq.js} +2 -2
- package/dist/chunks/{options-6ypp9np2.js → api-4dv9a668.js} +2 -2
- package/dist/chunks/{options-4gnb9897.js → api-4hhhes7w.js} +1 -1
- package/dist/chunks/{options-ez8kk7rt.js → api-5zsr2h86.js} +1 -1
- package/dist/chunks/{options-tp1rntzw.js → api-7vd5668a.js} +1 -1
- package/dist/chunks/{options-0cppk2bc.js → api-8137b89p.js} +2 -2
- package/dist/chunks/{options-ankhmcz6.js → api-88r0nawh.js} +4 -4
- package/dist/chunks/{options-b9vncdrk.js → api-8a9b8y1w.js} +16 -16
- package/dist/chunks/{options-gx9nwmym.js → api-97eb2r3v.js} +2 -2
- package/dist/chunks/{options-9nc587qk.js → api-9jnrpcap.js} +6 -6
- package/dist/chunks/{options-q8n44kky.js → api-9snwnvf8.js} +3 -3
- package/dist/chunks/{options-anm12x33.js → api-anm12x33.js} +1 -1
- package/dist/chunks/{options-50bbk3b2.js → api-b56hqv74.js} +3 -3
- package/dist/chunks/{options-0d9kah4z.js → api-bkk2wfbz.js} +7 -7
- package/dist/chunks/{options-krpsczf8.js → api-bx47k33v.js} +2 -2
- package/dist/chunks/{options-vdtx70fv.js → api-cv0ajwc9.js} +2 -2
- package/dist/chunks/{options-yv9sxhn9.js → api-ewe1fzkk.js} +2 -2
- package/dist/chunks/{options-mhfbkkb7.js → api-ftaz8n62.js} +2 -2
- package/dist/chunks/{options-szpzdv3v.js → api-ghk96rjy.js} +7 -7
- package/dist/chunks/{options-3aej5azy.js → api-h8ws5ssa.js} +1 -1
- package/dist/chunks/{options-b3bmdkga.js → api-j4zqsxgy.js} +1 -1
- package/dist/chunks/{options-t604mhvp.js → api-ma4gq4kt.js} +2 -2
- package/dist/chunks/{options-2sy3c7de.js → api-n9y13hgv.js} +7 -7
- package/dist/chunks/{options-rw20mvg0.js → api-p74g497q.js} +7 -7
- package/dist/chunks/{options-mahm5rvs.js → api-ptey1p5v.js} +2 -2
- package/dist/chunks/{options-rc3nk1bx.js → api-qbh90c1d.js} +2 -2
- package/dist/chunks/{options-vbanrv0z.js → api-rf01ee6q.js} +1 -1
- package/dist/chunks/{options-mk2mz66m.js → api-rntbwr87.js} +2 -2
- package/dist/chunks/{options-sstsrjtg.js → api-sstsrjtg.js} +1 -1
- package/dist/chunks/{options-j1p3e665.js → api-ssyxw8nc.js} +2 -2
- package/dist/chunks/{options-3atcw39t.js → api-vb5yx5r0.js} +2 -2
- package/dist/chunks/{options-esbdfpyn.js → api-vbzm2jgm.js} +2 -2
- package/dist/chunks/{options-dr1f0hkr.js → api-wk806w00.js} +3 -3
- package/dist/chunks/{options-5w24ch67.js → api-xsrtpxyd.js} +4 -4
- package/dist/chunks/{options-eaxk76q8.js → api-yehasrps.js} +2 -2
- package/dist/chunks/{options-yfz2nrjq.js → api-yfz2nrjq.js} +1 -1
- package/dist/chunks/{options-7b00qdf6.js → api-z6sxg6td.js} +1 -1
- package/dist/chunks/{options-p6ct2ak8.js → api-zessacar.js} +2 -2
- package/dist/cors.js +1 -1
- package/dist/event-feed.js +5 -5
- package/dist/fetch.js +50 -50
- 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 +1 -1
- package/dist/process.js +52 -52
- package/dist/pty-environment.js +5 -5
- 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 +3 -3
- package/dist/workerd.js +51 -51
- package/package.json +8 -8
- /package/dist/chunks/{options-9rqn6x4v.js → api-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{options-erzfdgke.js → api-erzfdgke.js} +0 -0
- /package/dist/chunks/{options-h6rt5k9s.js → api-h6rt5k9s.js} +0 -0
- /package/dist/chunks/{options-q4bn6dy8.js → api-q4bn6dy8.js} +0 -0
- /package/dist/chunks/{options-smaf4a18.js → api-smaf4a18.js} +0 -0
- /package/dist/chunks/{options-yc7nft6q.js → api-yc7nft6q.js} +0 -0
package/dist/api.d.ts
CHANGED
|
@@ -6372,7 +6372,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6372
6372
|
readonly metadata?: {
|
|
6373
6373
|
readonly [x: string]: unknown;
|
|
6374
6374
|
} | undefined;
|
|
6375
|
-
readonly type: "
|
|
6375
|
+
readonly type: "skill.updated";
|
|
6376
6376
|
readonly location?: {
|
|
6377
6377
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
6378
6378
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
@@ -6384,26 +6384,14 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6384
6384
|
readonly metadata?: {
|
|
6385
6385
|
readonly [x: string]: unknown;
|
|
6386
6386
|
} | undefined;
|
|
6387
|
-
readonly type: "
|
|
6387
|
+
readonly type: "credential.switched";
|
|
6388
6388
|
readonly location?: {
|
|
6389
6389
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
6390
6390
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
6391
6391
|
} | undefined;
|
|
6392
6392
|
readonly data: {
|
|
6393
|
-
readonly
|
|
6394
|
-
readonly
|
|
6395
|
-
readonly resources: readonly string[];
|
|
6396
|
-
readonly save?: readonly string[] | undefined;
|
|
6397
|
-
readonly metadata?: {
|
|
6398
|
-
readonly [x: string]: unknown;
|
|
6399
|
-
} | undefined;
|
|
6400
|
-
readonly source?: {
|
|
6401
|
-
readonly type: "tool";
|
|
6402
|
-
readonly messageID: string;
|
|
6403
|
-
readonly id: string;
|
|
6404
|
-
} | undefined;
|
|
6405
|
-
readonly message?: string | undefined;
|
|
6406
|
-
readonly id: string & import("effect/Brand").Brand<"Permission.ID">;
|
|
6393
|
+
readonly integrationID: string & import("effect/Brand").Brand<"Integration.ID">;
|
|
6394
|
+
readonly credentialID: (string & import("effect/Brand").Brand<"Credential.ID">) | null;
|
|
6407
6395
|
};
|
|
6408
6396
|
} | {
|
|
6409
6397
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -6411,30 +6399,54 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6411
6399
|
readonly metadata?: {
|
|
6412
6400
|
readonly [x: string]: unknown;
|
|
6413
6401
|
} | undefined;
|
|
6414
|
-
readonly type: "
|
|
6402
|
+
readonly type: "credential.updated";
|
|
6415
6403
|
readonly location?: {
|
|
6416
6404
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
6417
6405
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
6418
6406
|
} | undefined;
|
|
6419
|
-
readonly data: {
|
|
6420
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
6421
|
-
readonly requestID: string & import("effect/Brand").Brand<"Permission.ID">;
|
|
6422
|
-
readonly reply: "always" | "once" | "reject";
|
|
6423
|
-
};
|
|
6407
|
+
readonly data: {};
|
|
6424
6408
|
} | {
|
|
6425
6409
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
6426
6410
|
readonly created: number;
|
|
6427
6411
|
readonly metadata?: {
|
|
6428
6412
|
readonly [x: string]: unknown;
|
|
6429
6413
|
} | undefined;
|
|
6430
|
-
readonly type: "
|
|
6414
|
+
readonly type: "session.created";
|
|
6415
|
+
readonly durable: {
|
|
6416
|
+
readonly aggregateID: string;
|
|
6417
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
6418
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
6419
|
+
};
|
|
6431
6420
|
readonly location?: {
|
|
6432
6421
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
6433
6422
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
6434
6423
|
} | undefined;
|
|
6435
6424
|
readonly data: {
|
|
6436
|
-
readonly
|
|
6437
|
-
readonly
|
|
6425
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
6426
|
+
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
6427
|
+
readonly location: {
|
|
6428
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
6429
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
6430
|
+
};
|
|
6431
|
+
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
6432
|
+
readonly parentID?: (string & import("effect/Brand").Brand<"SessionID">) | undefined;
|
|
6433
|
+
readonly slug: string;
|
|
6434
|
+
readonly title?: string | undefined;
|
|
6435
|
+
readonly agent?: (string & import("effect/Brand").Brand<"Agent.ID">) | undefined;
|
|
6436
|
+
readonly model?: {
|
|
6437
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
6438
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6439
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
6440
|
+
} | undefined;
|
|
6441
|
+
readonly metadata?: {
|
|
6442
|
+
readonly [x: string]: import("effect/Schema").Json;
|
|
6443
|
+
} | undefined;
|
|
6444
|
+
readonly permissions?: readonly {
|
|
6445
|
+
readonly action: string;
|
|
6446
|
+
readonly resource: string;
|
|
6447
|
+
readonly effect: "allow" | "ask" | "deny";
|
|
6448
|
+
}[] | undefined;
|
|
6449
|
+
readonly version: string;
|
|
6438
6450
|
};
|
|
6439
6451
|
} | {
|
|
6440
6452
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -6442,7 +6454,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6442
6454
|
readonly metadata?: {
|
|
6443
6455
|
readonly [x: string]: unknown;
|
|
6444
6456
|
} | undefined;
|
|
6445
|
-
readonly type: "
|
|
6457
|
+
readonly type: "session.agent.selected";
|
|
6446
6458
|
readonly durable: {
|
|
6447
6459
|
readonly aggregateID: string;
|
|
6448
6460
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -6453,10 +6465,9 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6453
6465
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
6454
6466
|
} | undefined;
|
|
6455
6467
|
readonly data: {
|
|
6456
|
-
readonly
|
|
6457
|
-
readonly
|
|
6458
|
-
readonly previous
|
|
6459
|
-
readonly adopted?: readonly (string & import("effect/Brand").Brand<"Project.ID">)[] | undefined;
|
|
6468
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
6469
|
+
readonly agent: string & import("effect/Brand").Brand<"Agent.ID">;
|
|
6470
|
+
readonly previous?: (string & import("effect/Brand").Brand<"Agent.ID">) | undefined;
|
|
6460
6471
|
};
|
|
6461
6472
|
} | {
|
|
6462
6473
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -6464,13 +6475,28 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6464
6475
|
readonly metadata?: {
|
|
6465
6476
|
readonly [x: string]: unknown;
|
|
6466
6477
|
} | undefined;
|
|
6467
|
-
readonly type: "
|
|
6478
|
+
readonly type: "session.model.selected";
|
|
6479
|
+
readonly durable: {
|
|
6480
|
+
readonly aggregateID: string;
|
|
6481
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
6482
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
6483
|
+
};
|
|
6468
6484
|
readonly location?: {
|
|
6469
6485
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
6470
6486
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
6471
6487
|
} | undefined;
|
|
6472
6488
|
readonly data: {
|
|
6473
|
-
readonly
|
|
6489
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
6490
|
+
readonly model: {
|
|
6491
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
6492
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6493
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
6494
|
+
};
|
|
6495
|
+
readonly previous?: {
|
|
6496
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
6497
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6498
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
6499
|
+
} | undefined;
|
|
6474
6500
|
};
|
|
6475
6501
|
} | {
|
|
6476
6502
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -6478,13 +6504,24 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6478
6504
|
readonly metadata?: {
|
|
6479
6505
|
readonly [x: string]: unknown;
|
|
6480
6506
|
} | undefined;
|
|
6481
|
-
readonly type: "
|
|
6507
|
+
readonly type: "session.moved";
|
|
6508
|
+
readonly durable: {
|
|
6509
|
+
readonly aggregateID: string;
|
|
6510
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
6511
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
6512
|
+
};
|
|
6482
6513
|
readonly location?: {
|
|
6483
6514
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
6484
6515
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
6485
6516
|
} | undefined;
|
|
6486
6517
|
readonly data: {
|
|
6487
|
-
readonly
|
|
6518
|
+
readonly location: {
|
|
6519
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
6520
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
6521
|
+
};
|
|
6522
|
+
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
6523
|
+
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
6524
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
6488
6525
|
};
|
|
6489
6526
|
} | {
|
|
6490
6527
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -6492,13 +6529,19 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6492
6529
|
readonly metadata?: {
|
|
6493
6530
|
readonly [x: string]: unknown;
|
|
6494
6531
|
} | undefined;
|
|
6495
|
-
readonly type: "
|
|
6532
|
+
readonly type: "session.renamed";
|
|
6533
|
+
readonly durable: {
|
|
6534
|
+
readonly aggregateID: string;
|
|
6535
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
6536
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
6537
|
+
};
|
|
6496
6538
|
readonly location?: {
|
|
6497
6539
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
6498
6540
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
6499
6541
|
} | undefined;
|
|
6500
6542
|
readonly data: {
|
|
6501
|
-
readonly
|
|
6543
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
6544
|
+
readonly title: string;
|
|
6502
6545
|
};
|
|
6503
6546
|
} | {
|
|
6504
6547
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -6506,37 +6549,21 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6506
6549
|
readonly metadata?: {
|
|
6507
6550
|
readonly [x: string]: unknown;
|
|
6508
6551
|
} | undefined;
|
|
6509
|
-
readonly type: "
|
|
6510
|
-
readonly
|
|
6511
|
-
readonly
|
|
6512
|
-
readonly
|
|
6513
|
-
|
|
6514
|
-
|
|
6515
|
-
} | {
|
|
6516
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
6517
|
-
readonly created: number;
|
|
6518
|
-
readonly metadata?: {
|
|
6519
|
-
readonly [x: string]: unknown;
|
|
6520
|
-
} | undefined;
|
|
6521
|
-
readonly type: "reference.updated";
|
|
6522
|
-
readonly location?: {
|
|
6523
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
6524
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
6525
|
-
} | undefined;
|
|
6526
|
-
readonly data: {};
|
|
6527
|
-
} | {
|
|
6528
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
6529
|
-
readonly created: number;
|
|
6530
|
-
readonly metadata?: {
|
|
6531
|
-
readonly [x: string]: unknown;
|
|
6532
|
-
} | undefined;
|
|
6533
|
-
readonly type: "vcs.branch.updated";
|
|
6552
|
+
readonly type: "session.metadata.updated";
|
|
6553
|
+
readonly durable: {
|
|
6554
|
+
readonly aggregateID: string;
|
|
6555
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
6556
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
6557
|
+
};
|
|
6534
6558
|
readonly location?: {
|
|
6535
6559
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
6536
6560
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
6537
6561
|
} | undefined;
|
|
6538
6562
|
readonly data: {
|
|
6539
|
-
readonly
|
|
6563
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
6564
|
+
readonly metadata: {
|
|
6565
|
+
readonly [x: string]: import("effect/Schema").Json;
|
|
6566
|
+
};
|
|
6540
6567
|
};
|
|
6541
6568
|
} | {
|
|
6542
6569
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -6544,39 +6571,43 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6544
6571
|
readonly metadata?: {
|
|
6545
6572
|
readonly [x: string]: unknown;
|
|
6546
6573
|
} | undefined;
|
|
6547
|
-
readonly type:
|
|
6548
|
-
readonly
|
|
6549
|
-
readonly
|
|
6550
|
-
|
|
6551
|
-
|
|
6552
|
-
readonly [x: string]: unknown;
|
|
6574
|
+
readonly type: "session.permissions";
|
|
6575
|
+
readonly durable: {
|
|
6576
|
+
readonly aggregateID: string;
|
|
6577
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
6578
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
6553
6579
|
};
|
|
6554
|
-
} | {
|
|
6555
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
6556
|
-
readonly created: number;
|
|
6557
|
-
readonly metadata?: {
|
|
6558
|
-
readonly [x: string]: unknown;
|
|
6559
|
-
} | undefined;
|
|
6560
|
-
readonly type: "location.shutdown";
|
|
6561
6580
|
readonly location?: {
|
|
6562
6581
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
6563
6582
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
6564
6583
|
} | undefined;
|
|
6565
|
-
readonly data: {
|
|
6584
|
+
readonly data: {
|
|
6585
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
6586
|
+
readonly permissions: readonly {
|
|
6587
|
+
readonly action: string;
|
|
6588
|
+
readonly resource: string;
|
|
6589
|
+
readonly effect: "allow" | "ask" | "deny";
|
|
6590
|
+
}[];
|
|
6591
|
+
};
|
|
6566
6592
|
} | {
|
|
6567
6593
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
6568
6594
|
readonly created: number;
|
|
6569
6595
|
readonly metadata?: {
|
|
6570
6596
|
readonly [x: string]: unknown;
|
|
6571
6597
|
} | undefined;
|
|
6572
|
-
readonly type: "
|
|
6598
|
+
readonly type: "session.viewed";
|
|
6599
|
+
readonly durable: {
|
|
6600
|
+
readonly aggregateID: string;
|
|
6601
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
6602
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
6603
|
+
};
|
|
6573
6604
|
readonly location?: {
|
|
6574
6605
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
6575
6606
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
6576
6607
|
} | undefined;
|
|
6577
6608
|
readonly data: {
|
|
6578
|
-
readonly
|
|
6579
|
-
readonly
|
|
6609
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
6610
|
+
readonly idle: number;
|
|
6580
6611
|
};
|
|
6581
6612
|
} | {
|
|
6582
6613
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -6584,55 +6615,88 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6584
6615
|
readonly metadata?: {
|
|
6585
6616
|
readonly [x: string]: unknown;
|
|
6586
6617
|
} | undefined;
|
|
6587
|
-
readonly type: "
|
|
6618
|
+
readonly type: "session.archived";
|
|
6619
|
+
readonly durable: {
|
|
6620
|
+
readonly aggregateID: string;
|
|
6621
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
6622
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
6623
|
+
};
|
|
6588
6624
|
readonly location?: {
|
|
6589
6625
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
6590
6626
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
6591
6627
|
} | undefined;
|
|
6592
|
-
readonly data: {
|
|
6628
|
+
readonly data: {
|
|
6629
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
6630
|
+
};
|
|
6593
6631
|
} | {
|
|
6594
6632
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
6595
6633
|
readonly created: number;
|
|
6596
6634
|
readonly metadata?: {
|
|
6597
6635
|
readonly [x: string]: unknown;
|
|
6598
6636
|
} | undefined;
|
|
6599
|
-
readonly type: "
|
|
6637
|
+
readonly type: "session.unarchived";
|
|
6638
|
+
readonly durable: {
|
|
6639
|
+
readonly aggregateID: string;
|
|
6640
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
6641
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
6642
|
+
};
|
|
6600
6643
|
readonly location?: {
|
|
6601
6644
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
6602
6645
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
6603
6646
|
} | undefined;
|
|
6604
|
-
readonly data: {
|
|
6647
|
+
readonly data: {
|
|
6648
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
6649
|
+
};
|
|
6605
6650
|
} | {
|
|
6606
6651
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
6607
6652
|
readonly created: number;
|
|
6608
6653
|
readonly metadata?: {
|
|
6609
6654
|
readonly [x: string]: unknown;
|
|
6610
6655
|
} | undefined;
|
|
6611
|
-
readonly type: "
|
|
6656
|
+
readonly type: "session.usage.updated";
|
|
6612
6657
|
readonly location?: {
|
|
6613
6658
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
6614
6659
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
6615
6660
|
} | undefined;
|
|
6616
|
-
readonly data: {
|
|
6661
|
+
readonly data: {
|
|
6662
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
6663
|
+
readonly cost: number & import("effect/Brand").Brand<"Money.USD">;
|
|
6664
|
+
readonly tokens: {
|
|
6665
|
+
readonly input: number;
|
|
6666
|
+
readonly output: number;
|
|
6667
|
+
readonly reasoning: number;
|
|
6668
|
+
readonly cache: {
|
|
6669
|
+
readonly read: number;
|
|
6670
|
+
readonly write: number;
|
|
6671
|
+
};
|
|
6672
|
+
};
|
|
6673
|
+
};
|
|
6617
6674
|
} | {
|
|
6618
6675
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
6619
6676
|
readonly created: number;
|
|
6620
6677
|
readonly metadata?: {
|
|
6621
6678
|
readonly [x: string]: unknown;
|
|
6622
6679
|
} | undefined;
|
|
6623
|
-
readonly type: "
|
|
6680
|
+
readonly type: "session.deleted";
|
|
6681
|
+
readonly durable: {
|
|
6682
|
+
readonly aggregateID: string;
|
|
6683
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
6684
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
6685
|
+
};
|
|
6624
6686
|
readonly location?: {
|
|
6625
6687
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
6626
6688
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
6627
6689
|
} | undefined;
|
|
6628
|
-
readonly data: {
|
|
6690
|
+
readonly data: {
|
|
6691
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
6692
|
+
};
|
|
6629
6693
|
} | {
|
|
6630
6694
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
6631
6695
|
readonly created: number;
|
|
6632
6696
|
readonly metadata?: {
|
|
6633
6697
|
readonly [x: string]: unknown;
|
|
6634
6698
|
} | undefined;
|
|
6635
|
-
readonly type: "session.
|
|
6699
|
+
readonly type: "session.forked";
|
|
6636
6700
|
readonly durable: {
|
|
6637
6701
|
readonly aggregateID: string;
|
|
6638
6702
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -6644,8 +6708,22 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6644
6708
|
} | undefined;
|
|
6645
6709
|
readonly data: {
|
|
6646
6710
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
6647
|
-
readonly
|
|
6648
|
-
readonly
|
|
6711
|
+
readonly parentID: string & import("effect/Brand").Brand<"SessionID">;
|
|
6712
|
+
readonly boundary: {
|
|
6713
|
+
readonly type: "before";
|
|
6714
|
+
readonly messageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
6715
|
+
} | {
|
|
6716
|
+
readonly type: "through";
|
|
6717
|
+
readonly messageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
6718
|
+
};
|
|
6719
|
+
readonly instructions?: {
|
|
6720
|
+
readonly [x: string & import("effect/Brand").Brand<"Instruction.Key">]: string & import("effect/Brand").Brand<"Instruction.Hash">;
|
|
6721
|
+
} | undefined;
|
|
6722
|
+
readonly instructionEntries?: readonly {
|
|
6723
|
+
readonly key: string;
|
|
6724
|
+
readonly value: import("effect/Schema").Json;
|
|
6725
|
+
readonly removed: boolean;
|
|
6726
|
+
}[] | undefined;
|
|
6649
6727
|
};
|
|
6650
6728
|
} | {
|
|
6651
6729
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -6653,7 +6731,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6653
6731
|
readonly metadata?: {
|
|
6654
6732
|
readonly [x: string]: unknown;
|
|
6655
6733
|
} | undefined;
|
|
6656
|
-
readonly type: "session.
|
|
6734
|
+
readonly type: "session.inbox.delivered";
|
|
6657
6735
|
readonly durable: {
|
|
6658
6736
|
readonly aggregateID: string;
|
|
6659
6737
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -6665,6 +6743,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6665
6743
|
} | undefined;
|
|
6666
6744
|
readonly data: {
|
|
6667
6745
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
6746
|
+
readonly inboxID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
6668
6747
|
};
|
|
6669
6748
|
} | {
|
|
6670
6749
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -6672,7 +6751,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6672
6751
|
readonly metadata?: {
|
|
6673
6752
|
readonly [x: string]: unknown;
|
|
6674
6753
|
} | undefined;
|
|
6675
|
-
readonly type: "session.
|
|
6754
|
+
readonly type: "session.inbox.enqueued";
|
|
6676
6755
|
readonly durable: {
|
|
6677
6756
|
readonly aggregateID: string;
|
|
6678
6757
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -6684,26 +6763,77 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6684
6763
|
} | undefined;
|
|
6685
6764
|
readonly data: {
|
|
6686
6765
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
6687
|
-
readonly
|
|
6688
|
-
readonly
|
|
6689
|
-
readonly
|
|
6690
|
-
readonly
|
|
6691
|
-
|
|
6692
|
-
|
|
6693
|
-
|
|
6694
|
-
|
|
6695
|
-
|
|
6696
|
-
|
|
6697
|
-
|
|
6698
|
-
|
|
6699
|
-
|
|
6700
|
-
|
|
6701
|
-
|
|
6702
|
-
|
|
6703
|
-
|
|
6704
|
-
|
|
6766
|
+
readonly inboxID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
6767
|
+
readonly item: {
|
|
6768
|
+
readonly type: "user";
|
|
6769
|
+
readonly payload: {
|
|
6770
|
+
readonly text: string;
|
|
6771
|
+
readonly files?: readonly {
|
|
6772
|
+
readonly data: string;
|
|
6773
|
+
readonly mime: string;
|
|
6774
|
+
readonly source: {
|
|
6775
|
+
readonly type: "inline";
|
|
6776
|
+
} | {
|
|
6777
|
+
readonly type: "uri";
|
|
6778
|
+
readonly uri: string;
|
|
6779
|
+
};
|
|
6780
|
+
readonly name?: string | undefined;
|
|
6781
|
+
readonly description?: string | undefined;
|
|
6782
|
+
readonly mention?: {
|
|
6783
|
+
readonly start: number;
|
|
6784
|
+
readonly end: number;
|
|
6785
|
+
readonly text: string;
|
|
6786
|
+
} | undefined;
|
|
6787
|
+
}[] | undefined;
|
|
6788
|
+
readonly agents?: readonly {
|
|
6789
|
+
readonly name: string;
|
|
6790
|
+
readonly mention?: {
|
|
6791
|
+
readonly start: number;
|
|
6792
|
+
readonly end: number;
|
|
6793
|
+
readonly text: string;
|
|
6794
|
+
} | undefined;
|
|
6795
|
+
}[] | undefined;
|
|
6796
|
+
readonly skills?: readonly {
|
|
6797
|
+
readonly id: string & import("effect/Brand").Brand<"Skill.ID">;
|
|
6798
|
+
readonly name: string & import("effect/Brand").Brand<"Skill.Name">;
|
|
6799
|
+
readonly text?: string | undefined;
|
|
6800
|
+
readonly mention?: {
|
|
6801
|
+
readonly start: number;
|
|
6802
|
+
readonly end: number;
|
|
6803
|
+
readonly text: string;
|
|
6804
|
+
} | undefined;
|
|
6805
|
+
}[] | undefined;
|
|
6806
|
+
readonly metadata?: {
|
|
6807
|
+
readonly [x: string]: unknown;
|
|
6808
|
+
} | undefined;
|
|
6809
|
+
};
|
|
6810
|
+
readonly delivery: "queue" | "steer";
|
|
6811
|
+
} | {
|
|
6812
|
+
readonly type: "synthetic";
|
|
6813
|
+
readonly payload: {
|
|
6814
|
+
readonly text: string;
|
|
6815
|
+
readonly description?: string | undefined;
|
|
6816
|
+
readonly metadata?: {
|
|
6817
|
+
readonly [x: string]: unknown;
|
|
6818
|
+
} | undefined;
|
|
6705
6819
|
};
|
|
6706
|
-
|
|
6820
|
+
readonly delivery: "queue" | "steer";
|
|
6821
|
+
} | {
|
|
6822
|
+
readonly type: "compaction";
|
|
6823
|
+
readonly payload: {};
|
|
6824
|
+
readonly delivery: "queue" | "steer";
|
|
6825
|
+
} | {
|
|
6826
|
+
readonly type: "move";
|
|
6827
|
+
readonly payload: {
|
|
6828
|
+
readonly location: {
|
|
6829
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
6830
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
6831
|
+
};
|
|
6832
|
+
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
6833
|
+
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
6834
|
+
};
|
|
6835
|
+
readonly delivery: "queue" | "steer";
|
|
6836
|
+
};
|
|
6707
6837
|
};
|
|
6708
6838
|
} | {
|
|
6709
6839
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -6711,7 +6841,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6711
6841
|
readonly metadata?: {
|
|
6712
6842
|
readonly [x: string]: unknown;
|
|
6713
6843
|
} | undefined;
|
|
6714
|
-
readonly type: "session.
|
|
6844
|
+
readonly type: "session.inbox.cancelled";
|
|
6715
6845
|
readonly durable: {
|
|
6716
6846
|
readonly aggregateID: string;
|
|
6717
6847
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -6723,27 +6853,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6723
6853
|
} | undefined;
|
|
6724
6854
|
readonly data: {
|
|
6725
6855
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
6726
|
-
readonly
|
|
6727
|
-
readonly error: {
|
|
6728
|
-
readonly type: string;
|
|
6729
|
-
readonly message: string;
|
|
6730
|
-
readonly status?: number | undefined;
|
|
6731
|
-
readonly response?: {
|
|
6732
|
-
readonly body: string;
|
|
6733
|
-
} | undefined;
|
|
6734
|
-
readonly retryAfterMs?: number | undefined;
|
|
6735
|
-
};
|
|
6736
|
-
readonly inputID?: (string & import("effect/Brand").Brand<"Session.Message.ID">) | undefined;
|
|
6737
|
-
readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
|
|
6738
|
-
readonly tokens?: {
|
|
6739
|
-
readonly input: number;
|
|
6740
|
-
readonly output: number;
|
|
6741
|
-
readonly reasoning: number;
|
|
6742
|
-
readonly cache: {
|
|
6743
|
-
readonly read: number;
|
|
6744
|
-
readonly write: number;
|
|
6745
|
-
};
|
|
6746
|
-
} | undefined;
|
|
6856
|
+
readonly inboxID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
6747
6857
|
};
|
|
6748
6858
|
} | {
|
|
6749
6859
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -6751,7 +6861,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6751
6861
|
readonly metadata?: {
|
|
6752
6862
|
readonly [x: string]: unknown;
|
|
6753
6863
|
} | undefined;
|
|
6754
|
-
readonly type: "session.
|
|
6864
|
+
readonly type: "session.inbox.delivery.changed";
|
|
6755
6865
|
readonly durable: {
|
|
6756
6866
|
readonly aggregateID: string;
|
|
6757
6867
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -6763,8 +6873,8 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6763
6873
|
} | undefined;
|
|
6764
6874
|
readonly data: {
|
|
6765
6875
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
6766
|
-
readonly
|
|
6767
|
-
readonly
|
|
6876
|
+
readonly inboxID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
6877
|
+
readonly delivery: "queue" | "steer";
|
|
6768
6878
|
};
|
|
6769
6879
|
} | {
|
|
6770
6880
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -6772,7 +6882,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6772
6882
|
readonly metadata?: {
|
|
6773
6883
|
readonly [x: string]: unknown;
|
|
6774
6884
|
} | undefined;
|
|
6775
|
-
readonly type: "session.
|
|
6885
|
+
readonly type: "session.execution.started";
|
|
6776
6886
|
readonly durable: {
|
|
6777
6887
|
readonly aggregateID: string;
|
|
6778
6888
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -6784,30 +6894,6 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6784
6894
|
} | undefined;
|
|
6785
6895
|
readonly data: {
|
|
6786
6896
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
6787
|
-
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
6788
|
-
readonly location: {
|
|
6789
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
6790
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
6791
|
-
};
|
|
6792
|
-
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
6793
|
-
readonly parentID?: (string & import("effect/Brand").Brand<"SessionID">) | undefined;
|
|
6794
|
-
readonly slug: string;
|
|
6795
|
-
readonly title?: string | undefined;
|
|
6796
|
-
readonly agent?: (string & import("effect/Brand").Brand<"Agent.ID">) | undefined;
|
|
6797
|
-
readonly model?: {
|
|
6798
|
-
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
6799
|
-
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6800
|
-
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
6801
|
-
} | undefined;
|
|
6802
|
-
readonly metadata?: {
|
|
6803
|
-
readonly [x: string]: import("effect/Schema").Json;
|
|
6804
|
-
} | undefined;
|
|
6805
|
-
readonly permissions?: readonly {
|
|
6806
|
-
readonly action: string;
|
|
6807
|
-
readonly resource: string;
|
|
6808
|
-
readonly effect: "allow" | "ask" | "deny";
|
|
6809
|
-
}[] | undefined;
|
|
6810
|
-
readonly version: string;
|
|
6811
6897
|
};
|
|
6812
6898
|
} | {
|
|
6813
6899
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -6815,7 +6901,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6815
6901
|
readonly metadata?: {
|
|
6816
6902
|
readonly [x: string]: unknown;
|
|
6817
6903
|
} | undefined;
|
|
6818
|
-
readonly type: "session.
|
|
6904
|
+
readonly type: "session.execution.succeeded";
|
|
6819
6905
|
readonly durable: {
|
|
6820
6906
|
readonly aggregateID: string;
|
|
6821
6907
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -6882,26 +6968,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6882
6968
|
readonly metadata?: {
|
|
6883
6969
|
readonly [x: string]: unknown;
|
|
6884
6970
|
} | undefined;
|
|
6885
|
-
readonly type: "session.
|
|
6886
|
-
readonly durable: {
|
|
6887
|
-
readonly aggregateID: string;
|
|
6888
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
6889
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
6890
|
-
};
|
|
6891
|
-
readonly location?: {
|
|
6892
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
6893
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
6894
|
-
} | undefined;
|
|
6895
|
-
readonly data: {
|
|
6896
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
6897
|
-
};
|
|
6898
|
-
} | {
|
|
6899
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
6900
|
-
readonly created: number;
|
|
6901
|
-
readonly metadata?: {
|
|
6902
|
-
readonly [x: string]: unknown;
|
|
6903
|
-
} | undefined;
|
|
6904
|
-
readonly type: "session.execution.succeeded";
|
|
6971
|
+
readonly type: "session.instructions.updated";
|
|
6905
6972
|
readonly durable: {
|
|
6906
6973
|
readonly aggregateID: string;
|
|
6907
6974
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -6913,6 +6980,10 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6913
6980
|
} | undefined;
|
|
6914
6981
|
readonly data: {
|
|
6915
6982
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
6983
|
+
readonly delta: {
|
|
6984
|
+
readonly [x: string]: "removed" | (string & import("effect/Brand").Brand<"Instruction.Hash">);
|
|
6985
|
+
};
|
|
6986
|
+
readonly text?: string | undefined;
|
|
6916
6987
|
};
|
|
6917
6988
|
} | {
|
|
6918
6989
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -6920,7 +6991,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6920
6991
|
readonly metadata?: {
|
|
6921
6992
|
readonly [x: string]: unknown;
|
|
6922
6993
|
} | undefined;
|
|
6923
|
-
readonly type: "session.
|
|
6994
|
+
readonly type: "session.synthetic";
|
|
6924
6995
|
readonly durable: {
|
|
6925
6996
|
readonly aggregateID: string;
|
|
6926
6997
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -6932,22 +7003,11 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6932
7003
|
} | undefined;
|
|
6933
7004
|
readonly data: {
|
|
6934
7005
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
6935
|
-
readonly
|
|
6936
|
-
readonly
|
|
6937
|
-
|
|
6938
|
-
readonly
|
|
6939
|
-
} | {
|
|
6940
|
-
readonly type: "through";
|
|
6941
|
-
readonly messageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
6942
|
-
};
|
|
6943
|
-
readonly instructions?: {
|
|
6944
|
-
readonly [x: string & import("effect/Brand").Brand<"Instruction.Key">]: string & import("effect/Brand").Brand<"Instruction.Hash">;
|
|
7006
|
+
readonly text: string;
|
|
7007
|
+
readonly description?: string | undefined;
|
|
7008
|
+
readonly metadata?: {
|
|
7009
|
+
readonly [x: string]: unknown;
|
|
6945
7010
|
} | undefined;
|
|
6946
|
-
readonly instructionEntries?: readonly {
|
|
6947
|
-
readonly key: string;
|
|
6948
|
-
readonly value: import("effect/Schema").Json;
|
|
6949
|
-
readonly removed: boolean;
|
|
6950
|
-
}[] | undefined;
|
|
6951
7011
|
};
|
|
6952
7012
|
} | {
|
|
6953
7013
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -6955,7 +7015,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6955
7015
|
readonly metadata?: {
|
|
6956
7016
|
readonly [x: string]: unknown;
|
|
6957
7017
|
} | undefined;
|
|
6958
|
-
readonly type: "session.
|
|
7018
|
+
readonly type: "session.skill.activated";
|
|
6959
7019
|
readonly durable: {
|
|
6960
7020
|
readonly aggregateID: string;
|
|
6961
7021
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -6967,7 +7027,9 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6967
7027
|
} | undefined;
|
|
6968
7028
|
readonly data: {
|
|
6969
7029
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
6970
|
-
readonly
|
|
7030
|
+
readonly id: string & import("effect/Brand").Brand<"Skill.ID">;
|
|
7031
|
+
readonly name: string & import("effect/Brand").Brand<"Skill.Name">;
|
|
7032
|
+
readonly text: string;
|
|
6971
7033
|
};
|
|
6972
7034
|
} | {
|
|
6973
7035
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -6975,7 +7037,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6975
7037
|
readonly metadata?: {
|
|
6976
7038
|
readonly [x: string]: unknown;
|
|
6977
7039
|
} | undefined;
|
|
6978
|
-
readonly type: "session.
|
|
7040
|
+
readonly type: "session.shell.started";
|
|
6979
7041
|
readonly durable: {
|
|
6980
7042
|
readonly aggregateID: string;
|
|
6981
7043
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -6987,7 +7049,24 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6987
7049
|
} | undefined;
|
|
6988
7050
|
readonly data: {
|
|
6989
7051
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
6990
|
-
readonly
|
|
7052
|
+
readonly shell: {
|
|
7053
|
+
readonly id: string & import("effect/Brand").Brand<"Shell.ID">;
|
|
7054
|
+
readonly status: "exited" | "killed" | "running" | "timeout";
|
|
7055
|
+
readonly command: string;
|
|
7056
|
+
readonly cwd: string;
|
|
7057
|
+
readonly shell: string;
|
|
7058
|
+
readonly file: string;
|
|
7059
|
+
readonly pid?: number | undefined;
|
|
7060
|
+
readonly exit?: number | undefined;
|
|
7061
|
+
readonly signal?: string | undefined;
|
|
7062
|
+
readonly metadata: {
|
|
7063
|
+
readonly [x: string]: unknown;
|
|
7064
|
+
};
|
|
7065
|
+
readonly time: {
|
|
7066
|
+
readonly started: number;
|
|
7067
|
+
readonly completed?: number | undefined;
|
|
7068
|
+
};
|
|
7069
|
+
};
|
|
6991
7070
|
};
|
|
6992
7071
|
} | {
|
|
6993
7072
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -6995,7 +7074,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6995
7074
|
readonly metadata?: {
|
|
6996
7075
|
readonly [x: string]: unknown;
|
|
6997
7076
|
} | undefined;
|
|
6998
|
-
readonly type: "session.
|
|
7077
|
+
readonly type: "session.shell.ended";
|
|
6999
7078
|
readonly durable: {
|
|
7000
7079
|
readonly aggregateID: string;
|
|
7001
7080
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -7007,8 +7086,30 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7007
7086
|
} | undefined;
|
|
7008
7087
|
readonly data: {
|
|
7009
7088
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7010
|
-
readonly
|
|
7011
|
-
|
|
7089
|
+
readonly shell: {
|
|
7090
|
+
readonly id: string & import("effect/Brand").Brand<"Shell.ID">;
|
|
7091
|
+
readonly status: "exited" | "killed" | "running" | "timeout";
|
|
7092
|
+
readonly command: string;
|
|
7093
|
+
readonly cwd: string;
|
|
7094
|
+
readonly shell: string;
|
|
7095
|
+
readonly file: string;
|
|
7096
|
+
readonly pid?: number | undefined;
|
|
7097
|
+
readonly exit?: number | undefined;
|
|
7098
|
+
readonly signal?: string | undefined;
|
|
7099
|
+
readonly metadata: {
|
|
7100
|
+
readonly [x: string]: unknown;
|
|
7101
|
+
};
|
|
7102
|
+
readonly time: {
|
|
7103
|
+
readonly started: number;
|
|
7104
|
+
readonly completed?: number | undefined;
|
|
7105
|
+
};
|
|
7106
|
+
};
|
|
7107
|
+
readonly output: {
|
|
7108
|
+
readonly output: string;
|
|
7109
|
+
readonly cursor: number;
|
|
7110
|
+
readonly size: number;
|
|
7111
|
+
readonly truncated: boolean;
|
|
7112
|
+
};
|
|
7012
7113
|
};
|
|
7013
7114
|
} | {
|
|
7014
7115
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -7016,7 +7117,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7016
7117
|
readonly metadata?: {
|
|
7017
7118
|
readonly [x: string]: unknown;
|
|
7018
7119
|
} | undefined;
|
|
7019
|
-
readonly type: "session.
|
|
7120
|
+
readonly type: "session.step.started";
|
|
7020
7121
|
readonly durable: {
|
|
7021
7122
|
readonly aggregateID: string;
|
|
7022
7123
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -7028,77 +7129,15 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7028
7129
|
} | undefined;
|
|
7029
7130
|
readonly data: {
|
|
7030
7131
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7031
|
-
readonly
|
|
7032
|
-
readonly
|
|
7033
|
-
|
|
7034
|
-
readonly
|
|
7035
|
-
|
|
7036
|
-
|
|
7037
|
-
readonly data: string;
|
|
7038
|
-
readonly mime: string;
|
|
7039
|
-
readonly source: {
|
|
7040
|
-
readonly type: "inline";
|
|
7041
|
-
} | {
|
|
7042
|
-
readonly type: "uri";
|
|
7043
|
-
readonly uri: string;
|
|
7044
|
-
};
|
|
7045
|
-
readonly name?: string | undefined;
|
|
7046
|
-
readonly description?: string | undefined;
|
|
7047
|
-
readonly mention?: {
|
|
7048
|
-
readonly start: number;
|
|
7049
|
-
readonly end: number;
|
|
7050
|
-
readonly text: string;
|
|
7051
|
-
} | undefined;
|
|
7052
|
-
}[] | undefined;
|
|
7053
|
-
readonly agents?: readonly {
|
|
7054
|
-
readonly name: string;
|
|
7055
|
-
readonly mention?: {
|
|
7056
|
-
readonly start: number;
|
|
7057
|
-
readonly end: number;
|
|
7058
|
-
readonly text: string;
|
|
7059
|
-
} | undefined;
|
|
7060
|
-
}[] | undefined;
|
|
7061
|
-
readonly skills?: readonly {
|
|
7062
|
-
readonly id: string & import("effect/Brand").Brand<"Skill.ID">;
|
|
7063
|
-
readonly name: string & import("effect/Brand").Brand<"Skill.Name">;
|
|
7064
|
-
readonly text?: string | undefined;
|
|
7065
|
-
readonly mention?: {
|
|
7066
|
-
readonly start: number;
|
|
7067
|
-
readonly end: number;
|
|
7068
|
-
readonly text: string;
|
|
7069
|
-
} | undefined;
|
|
7070
|
-
}[] | undefined;
|
|
7071
|
-
readonly metadata?: {
|
|
7072
|
-
readonly [x: string]: unknown;
|
|
7073
|
-
} | undefined;
|
|
7074
|
-
};
|
|
7075
|
-
readonly delivery: "queue" | "steer";
|
|
7076
|
-
} | {
|
|
7077
|
-
readonly type: "synthetic";
|
|
7078
|
-
readonly payload: {
|
|
7079
|
-
readonly text: string;
|
|
7080
|
-
readonly description?: string | undefined;
|
|
7081
|
-
readonly metadata?: {
|
|
7082
|
-
readonly [x: string]: unknown;
|
|
7083
|
-
} | undefined;
|
|
7084
|
-
};
|
|
7085
|
-
readonly delivery: "queue" | "steer";
|
|
7086
|
-
} | {
|
|
7087
|
-
readonly type: "compaction";
|
|
7088
|
-
readonly payload: {};
|
|
7089
|
-
readonly delivery: "queue" | "steer";
|
|
7090
|
-
} | {
|
|
7091
|
-
readonly type: "move";
|
|
7092
|
-
readonly payload: {
|
|
7093
|
-
readonly location: {
|
|
7094
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7095
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7096
|
-
};
|
|
7097
|
-
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
7098
|
-
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
7099
|
-
};
|
|
7100
|
-
readonly delivery: "queue" | "steer";
|
|
7132
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7133
|
+
readonly agent: string & import("effect/Brand").Brand<"Agent.ID">;
|
|
7134
|
+
readonly model: {
|
|
7135
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
7136
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7137
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
7101
7138
|
};
|
|
7139
|
+
readonly snapshot?: (string & import("effect/Brand").Brand<"Snapshot.ID">) | undefined;
|
|
7140
|
+
readonly started: number;
|
|
7102
7141
|
};
|
|
7103
7142
|
} | {
|
|
7104
7143
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -7106,7 +7145,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7106
7145
|
readonly metadata?: {
|
|
7107
7146
|
readonly [x: string]: unknown;
|
|
7108
7147
|
} | undefined;
|
|
7109
|
-
readonly type: "session.
|
|
7148
|
+
readonly type: "session.step.streamed";
|
|
7110
7149
|
readonly durable: {
|
|
7111
7150
|
readonly aggregateID: string;
|
|
7112
7151
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -7118,10 +7157,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7118
7157
|
} | undefined;
|
|
7119
7158
|
readonly data: {
|
|
7120
7159
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7121
|
-
readonly
|
|
7122
|
-
readonly [x: string]: "removed" | (string & import("effect/Brand").Brand<"Instruction.Hash">);
|
|
7123
|
-
};
|
|
7124
|
-
readonly text?: string | undefined;
|
|
7160
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7125
7161
|
};
|
|
7126
7162
|
} | {
|
|
7127
7163
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -7129,7 +7165,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7129
7165
|
readonly metadata?: {
|
|
7130
7166
|
readonly [x: string]: unknown;
|
|
7131
7167
|
} | undefined;
|
|
7132
|
-
readonly type: "session.
|
|
7168
|
+
readonly type: "session.step.ended";
|
|
7133
7169
|
readonly durable: {
|
|
7134
7170
|
readonly aggregateID: string;
|
|
7135
7171
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -7141,9 +7177,24 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7141
7177
|
} | undefined;
|
|
7142
7178
|
readonly data: {
|
|
7143
7179
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7144
|
-
readonly
|
|
7145
|
-
|
|
7180
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7181
|
+
readonly finish: "content-filter" | "error" | "length" | "stop" | "tool-calls" | "unknown";
|
|
7182
|
+
readonly rawFinish?: string | undefined;
|
|
7183
|
+
readonly native?: {
|
|
7184
|
+
readonly [x: string]: unknown;
|
|
7185
|
+
} | undefined;
|
|
7186
|
+
readonly cost: number & import("effect/Brand").Brand<"Money.USD">;
|
|
7187
|
+
readonly tokens: {
|
|
7188
|
+
readonly input: number;
|
|
7189
|
+
readonly output: number;
|
|
7190
|
+
readonly reasoning: number;
|
|
7191
|
+
readonly cache: {
|
|
7192
|
+
readonly read: number;
|
|
7193
|
+
readonly write: number;
|
|
7194
|
+
};
|
|
7146
7195
|
};
|
|
7196
|
+
readonly snapshot?: (string & import("effect/Brand").Brand<"Snapshot.ID">) | undefined;
|
|
7197
|
+
readonly files?: readonly (string & import("effect/Brand").Brand<"RelativePath">)[] | undefined;
|
|
7147
7198
|
};
|
|
7148
7199
|
} | {
|
|
7149
7200
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -7151,7 +7202,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7151
7202
|
readonly metadata?: {
|
|
7152
7203
|
readonly [x: string]: unknown;
|
|
7153
7204
|
} | undefined;
|
|
7154
|
-
readonly type: "session.
|
|
7205
|
+
readonly type: "session.step.failed";
|
|
7155
7206
|
readonly durable: {
|
|
7156
7207
|
readonly aggregateID: string;
|
|
7157
7208
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -7163,16 +7214,33 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7163
7214
|
} | undefined;
|
|
7164
7215
|
readonly data: {
|
|
7165
7216
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7166
|
-
readonly
|
|
7167
|
-
|
|
7168
|
-
readonly
|
|
7169
|
-
readonly
|
|
7217
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7218
|
+
readonly error: {
|
|
7219
|
+
readonly type: string;
|
|
7220
|
+
readonly message: string;
|
|
7221
|
+
readonly status?: number | undefined;
|
|
7222
|
+
readonly response?: {
|
|
7223
|
+
readonly body: string;
|
|
7224
|
+
} | undefined;
|
|
7225
|
+
readonly retryAfterMs?: number | undefined;
|
|
7170
7226
|
};
|
|
7171
|
-
readonly
|
|
7172
|
-
|
|
7173
|
-
|
|
7174
|
-
readonly
|
|
7227
|
+
readonly finish?: "content-filter" | undefined;
|
|
7228
|
+
readonly rawFinish?: string | undefined;
|
|
7229
|
+
readonly native?: {
|
|
7230
|
+
readonly [x: string]: unknown;
|
|
7231
|
+
} | undefined;
|
|
7232
|
+
readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
|
|
7233
|
+
readonly tokens?: {
|
|
7234
|
+
readonly input: number;
|
|
7235
|
+
readonly output: number;
|
|
7236
|
+
readonly reasoning: number;
|
|
7237
|
+
readonly cache: {
|
|
7238
|
+
readonly read: number;
|
|
7239
|
+
readonly write: number;
|
|
7240
|
+
};
|
|
7175
7241
|
} | undefined;
|
|
7242
|
+
readonly snapshot?: (string & import("effect/Brand").Brand<"Snapshot.ID">) | undefined;
|
|
7243
|
+
readonly files?: readonly (string & import("effect/Brand").Brand<"RelativePath">)[] | undefined;
|
|
7176
7244
|
};
|
|
7177
7245
|
} | {
|
|
7178
7246
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -7180,7 +7248,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7180
7248
|
readonly metadata?: {
|
|
7181
7249
|
readonly [x: string]: unknown;
|
|
7182
7250
|
} | undefined;
|
|
7183
|
-
readonly type: "session.
|
|
7251
|
+
readonly type: "session.text.started";
|
|
7184
7252
|
readonly durable: {
|
|
7185
7253
|
readonly aggregateID: string;
|
|
7186
7254
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -7191,13 +7259,9 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7191
7259
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7192
7260
|
} | undefined;
|
|
7193
7261
|
readonly data: {
|
|
7194
|
-
readonly location: {
|
|
7195
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7196
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7197
|
-
};
|
|
7198
|
-
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
7199
|
-
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
7200
7262
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7263
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7264
|
+
readonly ordinal: number;
|
|
7201
7265
|
};
|
|
7202
7266
|
} | {
|
|
7203
7267
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -7205,7 +7269,24 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7205
7269
|
readonly metadata?: {
|
|
7206
7270
|
readonly [x: string]: unknown;
|
|
7207
7271
|
} | undefined;
|
|
7208
|
-
readonly type: "session.
|
|
7272
|
+
readonly type: "session.text.delta";
|
|
7273
|
+
readonly location?: {
|
|
7274
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7275
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7276
|
+
} | undefined;
|
|
7277
|
+
readonly data: {
|
|
7278
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7279
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7280
|
+
readonly ordinal: number;
|
|
7281
|
+
readonly delta: string;
|
|
7282
|
+
};
|
|
7283
|
+
} | {
|
|
7284
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
7285
|
+
readonly created: number;
|
|
7286
|
+
readonly metadata?: {
|
|
7287
|
+
readonly [x: string]: unknown;
|
|
7288
|
+
} | undefined;
|
|
7289
|
+
readonly type: "session.text.ended";
|
|
7209
7290
|
readonly durable: {
|
|
7210
7291
|
readonly aggregateID: string;
|
|
7211
7292
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -7217,11 +7298,12 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7217
7298
|
} | undefined;
|
|
7218
7299
|
readonly data: {
|
|
7219
7300
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7220
|
-
readonly
|
|
7221
|
-
|
|
7222
|
-
|
|
7223
|
-
|
|
7224
|
-
|
|
7301
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7302
|
+
readonly ordinal: number;
|
|
7303
|
+
readonly text: string;
|
|
7304
|
+
readonly native?: {
|
|
7305
|
+
readonly [x: string]: unknown;
|
|
7306
|
+
} | undefined;
|
|
7225
7307
|
};
|
|
7226
7308
|
} | {
|
|
7227
7309
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -7229,7 +7311,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7229
7311
|
readonly metadata?: {
|
|
7230
7312
|
readonly [x: string]: unknown;
|
|
7231
7313
|
} | undefined;
|
|
7232
|
-
readonly type: "session.reasoning.
|
|
7314
|
+
readonly type: "session.reasoning.started";
|
|
7233
7315
|
readonly durable: {
|
|
7234
7316
|
readonly aggregateID: string;
|
|
7235
7317
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -7243,7 +7325,6 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7243
7325
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7244
7326
|
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7245
7327
|
readonly ordinal: number;
|
|
7246
|
-
readonly text: string;
|
|
7247
7328
|
readonly native?: {
|
|
7248
7329
|
readonly [x: string]: unknown;
|
|
7249
7330
|
} | undefined;
|
|
@@ -7254,7 +7335,24 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7254
7335
|
readonly metadata?: {
|
|
7255
7336
|
readonly [x: string]: unknown;
|
|
7256
7337
|
} | undefined;
|
|
7257
|
-
readonly type: "session.reasoning.
|
|
7338
|
+
readonly type: "session.reasoning.delta";
|
|
7339
|
+
readonly location?: {
|
|
7340
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7341
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7342
|
+
} | undefined;
|
|
7343
|
+
readonly data: {
|
|
7344
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7345
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7346
|
+
readonly ordinal: number;
|
|
7347
|
+
readonly delta: string;
|
|
7348
|
+
};
|
|
7349
|
+
} | {
|
|
7350
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
7351
|
+
readonly created: number;
|
|
7352
|
+
readonly metadata?: {
|
|
7353
|
+
readonly [x: string]: unknown;
|
|
7354
|
+
} | undefined;
|
|
7355
|
+
readonly type: "session.reasoning.ended";
|
|
7258
7356
|
readonly durable: {
|
|
7259
7357
|
readonly aggregateID: string;
|
|
7260
7358
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -7268,6 +7366,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7268
7366
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7269
7367
|
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7270
7368
|
readonly ordinal: number;
|
|
7369
|
+
readonly text: string;
|
|
7271
7370
|
readonly native?: {
|
|
7272
7371
|
readonly [x: string]: unknown;
|
|
7273
7372
|
} | undefined;
|
|
@@ -7278,7 +7377,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7278
7377
|
readonly metadata?: {
|
|
7279
7378
|
readonly [x: string]: unknown;
|
|
7280
7379
|
} | undefined;
|
|
7281
|
-
readonly type: "session.
|
|
7380
|
+
readonly type: "session.tool.input.started";
|
|
7282
7381
|
readonly durable: {
|
|
7283
7382
|
readonly aggregateID: string;
|
|
7284
7383
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -7290,7 +7389,9 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7290
7389
|
} | undefined;
|
|
7291
7390
|
readonly data: {
|
|
7292
7391
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7293
|
-
readonly
|
|
7392
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7393
|
+
readonly id: string;
|
|
7394
|
+
readonly name: string;
|
|
7294
7395
|
};
|
|
7295
7396
|
} | {
|
|
7296
7397
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -7298,7 +7399,24 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7298
7399
|
readonly metadata?: {
|
|
7299
7400
|
readonly [x: string]: unknown;
|
|
7300
7401
|
} | undefined;
|
|
7301
|
-
readonly type: "session.
|
|
7402
|
+
readonly type: "session.tool.input.delta";
|
|
7403
|
+
readonly location?: {
|
|
7404
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7405
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7406
|
+
} | undefined;
|
|
7407
|
+
readonly data: {
|
|
7408
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7409
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7410
|
+
readonly id: string;
|
|
7411
|
+
readonly delta: string;
|
|
7412
|
+
};
|
|
7413
|
+
} | {
|
|
7414
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
7415
|
+
readonly created: number;
|
|
7416
|
+
readonly metadata?: {
|
|
7417
|
+
readonly [x: string]: unknown;
|
|
7418
|
+
} | undefined;
|
|
7419
|
+
readonly type: "session.tool.input.ended";
|
|
7302
7420
|
readonly durable: {
|
|
7303
7421
|
readonly aggregateID: string;
|
|
7304
7422
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -7311,17 +7429,8 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7311
7429
|
readonly data: {
|
|
7312
7430
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7313
7431
|
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7314
|
-
readonly
|
|
7315
|
-
readonly
|
|
7316
|
-
readonly error: {
|
|
7317
|
-
readonly type: string;
|
|
7318
|
-
readonly message: string;
|
|
7319
|
-
readonly status?: number | undefined;
|
|
7320
|
-
readonly response?: {
|
|
7321
|
-
readonly body: string;
|
|
7322
|
-
} | undefined;
|
|
7323
|
-
readonly retryAfterMs?: number | undefined;
|
|
7324
|
-
};
|
|
7432
|
+
readonly id: string;
|
|
7433
|
+
readonly text: string;
|
|
7325
7434
|
};
|
|
7326
7435
|
} | {
|
|
7327
7436
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -7329,7 +7438,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7329
7438
|
readonly metadata?: {
|
|
7330
7439
|
readonly [x: string]: unknown;
|
|
7331
7440
|
} | undefined;
|
|
7332
|
-
readonly type: "session.
|
|
7441
|
+
readonly type: "session.tool.called";
|
|
7333
7442
|
readonly durable: {
|
|
7334
7443
|
readonly aggregateID: string;
|
|
7335
7444
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -7341,6 +7450,15 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7341
7450
|
} | undefined;
|
|
7342
7451
|
readonly data: {
|
|
7343
7452
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7453
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7454
|
+
readonly id: string;
|
|
7455
|
+
readonly input: {
|
|
7456
|
+
readonly [x: string]: unknown;
|
|
7457
|
+
};
|
|
7458
|
+
readonly executed: boolean;
|
|
7459
|
+
readonly native?: {
|
|
7460
|
+
readonly [x: string]: unknown;
|
|
7461
|
+
} | undefined;
|
|
7344
7462
|
};
|
|
7345
7463
|
} | {
|
|
7346
7464
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -7348,7 +7466,26 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7348
7466
|
readonly metadata?: {
|
|
7349
7467
|
readonly [x: string]: unknown;
|
|
7350
7468
|
} | undefined;
|
|
7351
|
-
readonly type: "session.
|
|
7469
|
+
readonly type: "session.tool.progress";
|
|
7470
|
+
readonly location?: {
|
|
7471
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7472
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7473
|
+
} | undefined;
|
|
7474
|
+
readonly data: {
|
|
7475
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7476
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7477
|
+
readonly id: string;
|
|
7478
|
+
readonly metadata: {
|
|
7479
|
+
readonly [x: string]: import("effect/Schema").Json;
|
|
7480
|
+
};
|
|
7481
|
+
};
|
|
7482
|
+
} | {
|
|
7483
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
7484
|
+
readonly created: number;
|
|
7485
|
+
readonly metadata?: {
|
|
7486
|
+
readonly [x: string]: unknown;
|
|
7487
|
+
} | undefined;
|
|
7488
|
+
readonly type: "session.tool.success";
|
|
7352
7489
|
readonly durable: {
|
|
7353
7490
|
readonly aggregateID: string;
|
|
7354
7491
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -7360,7 +7497,32 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7360
7497
|
} | undefined;
|
|
7361
7498
|
readonly data: {
|
|
7362
7499
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7363
|
-
readonly
|
|
7500
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7501
|
+
readonly id: string;
|
|
7502
|
+
readonly content: readonly [{
|
|
7503
|
+
readonly type: "text";
|
|
7504
|
+
readonly text: string;
|
|
7505
|
+
} | {
|
|
7506
|
+
readonly type: "file";
|
|
7507
|
+
readonly uri: string;
|
|
7508
|
+
readonly mime: string;
|
|
7509
|
+
readonly name?: string | undefined;
|
|
7510
|
+
}, ...({
|
|
7511
|
+
readonly type: "text";
|
|
7512
|
+
readonly text: string;
|
|
7513
|
+
} | {
|
|
7514
|
+
readonly type: "file";
|
|
7515
|
+
readonly uri: string;
|
|
7516
|
+
readonly mime: string;
|
|
7517
|
+
readonly name?: string | undefined;
|
|
7518
|
+
})[]];
|
|
7519
|
+
readonly metadata?: {
|
|
7520
|
+
readonly [x: string]: import("effect/Schema").Json;
|
|
7521
|
+
} | undefined;
|
|
7522
|
+
readonly executed: boolean;
|
|
7523
|
+
readonly native?: {
|
|
7524
|
+
readonly [x: string]: unknown;
|
|
7525
|
+
} | undefined;
|
|
7364
7526
|
};
|
|
7365
7527
|
} | {
|
|
7366
7528
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -7368,7 +7530,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7368
7530
|
readonly metadata?: {
|
|
7369
7531
|
readonly [x: string]: unknown;
|
|
7370
7532
|
} | undefined;
|
|
7371
|
-
readonly type: "session.
|
|
7533
|
+
readonly type: "session.tool.failed";
|
|
7372
7534
|
readonly durable: {
|
|
7373
7535
|
readonly aggregateID: string;
|
|
7374
7536
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -7380,18 +7542,41 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7380
7542
|
} | undefined;
|
|
7381
7543
|
readonly data: {
|
|
7382
7544
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7383
|
-
readonly
|
|
7384
|
-
|
|
7385
|
-
|
|
7386
|
-
readonly
|
|
7387
|
-
readonly
|
|
7388
|
-
|
|
7389
|
-
|
|
7390
|
-
readonly
|
|
7391
|
-
|
|
7392
|
-
|
|
7393
|
-
}[] | undefined;
|
|
7545
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7546
|
+
readonly id: string;
|
|
7547
|
+
readonly error: {
|
|
7548
|
+
readonly type: string;
|
|
7549
|
+
readonly message: string;
|
|
7550
|
+
readonly status?: number | undefined;
|
|
7551
|
+
readonly response?: {
|
|
7552
|
+
readonly body: string;
|
|
7553
|
+
} | undefined;
|
|
7554
|
+
readonly retryAfterMs?: number | undefined;
|
|
7394
7555
|
};
|
|
7556
|
+
readonly content?: readonly [{
|
|
7557
|
+
readonly type: "text";
|
|
7558
|
+
readonly text: string;
|
|
7559
|
+
} | {
|
|
7560
|
+
readonly type: "file";
|
|
7561
|
+
readonly uri: string;
|
|
7562
|
+
readonly mime: string;
|
|
7563
|
+
readonly name?: string | undefined;
|
|
7564
|
+
}, ...({
|
|
7565
|
+
readonly type: "text";
|
|
7566
|
+
readonly text: string;
|
|
7567
|
+
} | {
|
|
7568
|
+
readonly type: "file";
|
|
7569
|
+
readonly uri: string;
|
|
7570
|
+
readonly mime: string;
|
|
7571
|
+
readonly name?: string | undefined;
|
|
7572
|
+
})[]] | undefined;
|
|
7573
|
+
readonly metadata?: {
|
|
7574
|
+
readonly [x: string]: import("effect/Schema").Json;
|
|
7575
|
+
} | undefined;
|
|
7576
|
+
readonly executed: boolean;
|
|
7577
|
+
readonly native?: {
|
|
7578
|
+
readonly [x: string]: unknown;
|
|
7579
|
+
} | undefined;
|
|
7395
7580
|
};
|
|
7396
7581
|
} | {
|
|
7397
7582
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -7399,7 +7584,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7399
7584
|
readonly metadata?: {
|
|
7400
7585
|
readonly [x: string]: unknown;
|
|
7401
7586
|
} | undefined;
|
|
7402
|
-
readonly type: "session.
|
|
7587
|
+
readonly type: "session.retry.scheduled";
|
|
7403
7588
|
readonly durable: {
|
|
7404
7589
|
readonly aggregateID: string;
|
|
7405
7590
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -7411,29 +7596,17 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7411
7596
|
} | undefined;
|
|
7412
7597
|
readonly data: {
|
|
7413
7598
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7414
|
-
readonly
|
|
7415
|
-
|
|
7416
|
-
|
|
7417
|
-
|
|
7418
|
-
readonly
|
|
7419
|
-
readonly
|
|
7420
|
-
readonly
|
|
7421
|
-
readonly
|
|
7422
|
-
|
|
7423
|
-
|
|
7424
|
-
readonly
|
|
7425
|
-
readonly [x: string]: unknown;
|
|
7426
|
-
};
|
|
7427
|
-
readonly time: {
|
|
7428
|
-
readonly started: number;
|
|
7429
|
-
readonly completed?: number | undefined;
|
|
7430
|
-
};
|
|
7431
|
-
};
|
|
7432
|
-
readonly output: {
|
|
7433
|
-
readonly output: string;
|
|
7434
|
-
readonly cursor: number;
|
|
7435
|
-
readonly size: number;
|
|
7436
|
-
readonly truncated: boolean;
|
|
7599
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7600
|
+
readonly attempt: number;
|
|
7601
|
+
readonly at: number;
|
|
7602
|
+
readonly error: {
|
|
7603
|
+
readonly type: string;
|
|
7604
|
+
readonly message: string;
|
|
7605
|
+
readonly status?: number | undefined;
|
|
7606
|
+
readonly response?: {
|
|
7607
|
+
readonly body: string;
|
|
7608
|
+
} | undefined;
|
|
7609
|
+
readonly retryAfterMs?: number | undefined;
|
|
7437
7610
|
};
|
|
7438
7611
|
};
|
|
7439
7612
|
} | {
|
|
@@ -7442,7 +7615,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7442
7615
|
readonly metadata?: {
|
|
7443
7616
|
readonly [x: string]: unknown;
|
|
7444
7617
|
} | undefined;
|
|
7445
|
-
readonly type: "session.
|
|
7618
|
+
readonly type: "session.compaction.started";
|
|
7446
7619
|
readonly durable: {
|
|
7447
7620
|
readonly aggregateID: string;
|
|
7448
7621
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -7454,24 +7627,8 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7454
7627
|
} | undefined;
|
|
7455
7628
|
readonly data: {
|
|
7456
7629
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7457
|
-
readonly
|
|
7458
|
-
|
|
7459
|
-
readonly status: "exited" | "killed" | "running" | "timeout";
|
|
7460
|
-
readonly command: string;
|
|
7461
|
-
readonly cwd: string;
|
|
7462
|
-
readonly shell: string;
|
|
7463
|
-
readonly file: string;
|
|
7464
|
-
readonly pid?: number | undefined;
|
|
7465
|
-
readonly exit?: number | undefined;
|
|
7466
|
-
readonly signal?: string | undefined;
|
|
7467
|
-
readonly metadata: {
|
|
7468
|
-
readonly [x: string]: unknown;
|
|
7469
|
-
};
|
|
7470
|
-
readonly time: {
|
|
7471
|
-
readonly started: number;
|
|
7472
|
-
readonly completed?: number | undefined;
|
|
7473
|
-
};
|
|
7474
|
-
};
|
|
7630
|
+
readonly reason: "auto" | "manual";
|
|
7631
|
+
readonly inputID?: (string & import("effect/Brand").Brand<"Session.Message.ID">) | undefined;
|
|
7475
7632
|
};
|
|
7476
7633
|
} | {
|
|
7477
7634
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -7479,20 +7636,13 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7479
7636
|
readonly metadata?: {
|
|
7480
7637
|
readonly [x: string]: unknown;
|
|
7481
7638
|
} | undefined;
|
|
7482
|
-
readonly type: "session.
|
|
7483
|
-
readonly durable: {
|
|
7484
|
-
readonly aggregateID: string;
|
|
7485
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
7486
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
7487
|
-
};
|
|
7639
|
+
readonly type: "session.compaction.delta";
|
|
7488
7640
|
readonly location?: {
|
|
7489
7641
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7490
7642
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7491
7643
|
} | undefined;
|
|
7492
7644
|
readonly data: {
|
|
7493
7645
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7494
|
-
readonly id: string & import("effect/Brand").Brand<"Skill.ID">;
|
|
7495
|
-
readonly name: string & import("effect/Brand").Brand<"Skill.Name">;
|
|
7496
7646
|
readonly text: string;
|
|
7497
7647
|
};
|
|
7498
7648
|
} | {
|
|
@@ -7501,7 +7651,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7501
7651
|
readonly metadata?: {
|
|
7502
7652
|
readonly [x: string]: unknown;
|
|
7503
7653
|
} | undefined;
|
|
7504
|
-
readonly type: "session.
|
|
7654
|
+
readonly type: "session.compaction.ended";
|
|
7505
7655
|
readonly durable: {
|
|
7506
7656
|
readonly aggregateID: string;
|
|
7507
7657
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -7513,14 +7663,18 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7513
7663
|
} | undefined;
|
|
7514
7664
|
readonly data: {
|
|
7515
7665
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7516
|
-
readonly
|
|
7517
|
-
readonly
|
|
7518
|
-
|
|
7666
|
+
readonly reason: "auto" | "manual";
|
|
7667
|
+
readonly model?: {
|
|
7668
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
7669
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7670
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
7671
|
+
} | undefined;
|
|
7519
7672
|
readonly native?: {
|
|
7520
7673
|
readonly [x: string]: unknown;
|
|
7521
7674
|
} | undefined;
|
|
7522
|
-
readonly
|
|
7523
|
-
readonly
|
|
7675
|
+
readonly text: string;
|
|
7676
|
+
readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
|
|
7677
|
+
readonly tokens?: {
|
|
7524
7678
|
readonly input: number;
|
|
7525
7679
|
readonly output: number;
|
|
7526
7680
|
readonly reasoning: number;
|
|
@@ -7528,9 +7682,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7528
7682
|
readonly read: number;
|
|
7529
7683
|
readonly write: number;
|
|
7530
7684
|
};
|
|
7531
|
-
};
|
|
7532
|
-
readonly snapshot?: (string & import("effect/Brand").Brand<"Snapshot.ID">) | undefined;
|
|
7533
|
-
readonly files?: readonly (string & import("effect/Brand").Brand<"RelativePath">)[] | undefined;
|
|
7685
|
+
} | undefined;
|
|
7534
7686
|
};
|
|
7535
7687
|
} | {
|
|
7536
7688
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -7538,7 +7690,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7538
7690
|
readonly metadata?: {
|
|
7539
7691
|
readonly [x: string]: unknown;
|
|
7540
7692
|
} | undefined;
|
|
7541
|
-
readonly type: "session.
|
|
7693
|
+
readonly type: "session.compaction.failed";
|
|
7542
7694
|
readonly durable: {
|
|
7543
7695
|
readonly aggregateID: string;
|
|
7544
7696
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -7550,7 +7702,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7550
7702
|
} | undefined;
|
|
7551
7703
|
readonly data: {
|
|
7552
7704
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7553
|
-
readonly
|
|
7705
|
+
readonly reason: "auto" | "manual";
|
|
7554
7706
|
readonly error: {
|
|
7555
7707
|
readonly type: string;
|
|
7556
7708
|
readonly message: string;
|
|
@@ -7560,11 +7712,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7560
7712
|
} | undefined;
|
|
7561
7713
|
readonly retryAfterMs?: number | undefined;
|
|
7562
7714
|
};
|
|
7563
|
-
readonly
|
|
7564
|
-
readonly rawFinish?: string | undefined;
|
|
7565
|
-
readonly native?: {
|
|
7566
|
-
readonly [x: string]: unknown;
|
|
7567
|
-
} | undefined;
|
|
7715
|
+
readonly inputID?: (string & import("effect/Brand").Brand<"Session.Message.ID">) | undefined;
|
|
7568
7716
|
readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
|
|
7569
7717
|
readonly tokens?: {
|
|
7570
7718
|
readonly input: number;
|
|
@@ -7575,8 +7723,6 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7575
7723
|
readonly write: number;
|
|
7576
7724
|
};
|
|
7577
7725
|
} | undefined;
|
|
7578
|
-
readonly snapshot?: (string & import("effect/Brand").Brand<"Snapshot.ID">) | undefined;
|
|
7579
|
-
readonly files?: readonly (string & import("effect/Brand").Brand<"RelativePath">)[] | undefined;
|
|
7580
7726
|
};
|
|
7581
7727
|
} | {
|
|
7582
7728
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -7584,7 +7730,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7584
7730
|
readonly metadata?: {
|
|
7585
7731
|
readonly [x: string]: unknown;
|
|
7586
7732
|
} | undefined;
|
|
7587
|
-
readonly type: "session.
|
|
7733
|
+
readonly type: "session.revert.cleared";
|
|
7588
7734
|
readonly durable: {
|
|
7589
7735
|
readonly aggregateID: string;
|
|
7590
7736
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -7596,15 +7742,6 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7596
7742
|
} | undefined;
|
|
7597
7743
|
readonly data: {
|
|
7598
7744
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7599
|
-
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7600
|
-
readonly agent: string & import("effect/Brand").Brand<"Agent.ID">;
|
|
7601
|
-
readonly model: {
|
|
7602
|
-
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
7603
|
-
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7604
|
-
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
7605
|
-
};
|
|
7606
|
-
readonly snapshot?: (string & import("effect/Brand").Brand<"Snapshot.ID">) | undefined;
|
|
7607
|
-
readonly started: number;
|
|
7608
7745
|
};
|
|
7609
7746
|
} | {
|
|
7610
7747
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -7612,7 +7749,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7612
7749
|
readonly metadata?: {
|
|
7613
7750
|
readonly [x: string]: unknown;
|
|
7614
7751
|
} | undefined;
|
|
7615
|
-
readonly type: "session.
|
|
7752
|
+
readonly type: "session.revert.committed";
|
|
7616
7753
|
readonly durable: {
|
|
7617
7754
|
readonly aggregateID: string;
|
|
7618
7755
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -7624,7 +7761,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7624
7761
|
} | undefined;
|
|
7625
7762
|
readonly data: {
|
|
7626
7763
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7627
|
-
readonly
|
|
7764
|
+
readonly to: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7628
7765
|
};
|
|
7629
7766
|
} | {
|
|
7630
7767
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -7632,7 +7769,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7632
7769
|
readonly metadata?: {
|
|
7633
7770
|
readonly [x: string]: unknown;
|
|
7634
7771
|
} | undefined;
|
|
7635
|
-
readonly type: "session.
|
|
7772
|
+
readonly type: "session.revert.staged";
|
|
7636
7773
|
readonly durable: {
|
|
7637
7774
|
readonly aggregateID: string;
|
|
7638
7775
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -7644,11 +7781,18 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7644
7781
|
} | undefined;
|
|
7645
7782
|
readonly data: {
|
|
7646
7783
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7647
|
-
readonly
|
|
7648
|
-
|
|
7649
|
-
|
|
7650
|
-
readonly
|
|
7651
|
-
|
|
7784
|
+
readonly revert: {
|
|
7785
|
+
readonly messageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7786
|
+
readonly partID?: string | undefined;
|
|
7787
|
+
readonly snapshot?: (string & import("effect/Brand").Brand<"Snapshot.ID">) | undefined;
|
|
7788
|
+
readonly files?: readonly {
|
|
7789
|
+
readonly file: string;
|
|
7790
|
+
readonly patch: string;
|
|
7791
|
+
readonly additions: number;
|
|
7792
|
+
readonly deletions: number;
|
|
7793
|
+
readonly status: "added" | "deleted" | "modified";
|
|
7794
|
+
}[] | undefined;
|
|
7795
|
+
};
|
|
7652
7796
|
};
|
|
7653
7797
|
} | {
|
|
7654
7798
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -7656,45 +7800,37 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7656
7800
|
readonly metadata?: {
|
|
7657
7801
|
readonly [x: string]: unknown;
|
|
7658
7802
|
} | undefined;
|
|
7659
|
-
readonly type: "
|
|
7660
|
-
readonly durable: {
|
|
7661
|
-
readonly aggregateID: string;
|
|
7662
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
7663
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
7664
|
-
};
|
|
7803
|
+
readonly type: "command.updated";
|
|
7665
7804
|
readonly location?: {
|
|
7666
7805
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7667
7806
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7668
7807
|
} | undefined;
|
|
7669
|
-
readonly data: {
|
|
7670
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7671
|
-
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7672
|
-
readonly ordinal: number;
|
|
7673
|
-
readonly text: string;
|
|
7674
|
-
readonly native?: {
|
|
7675
|
-
readonly [x: string]: unknown;
|
|
7676
|
-
} | undefined;
|
|
7677
|
-
};
|
|
7808
|
+
readonly data: {};
|
|
7678
7809
|
} | {
|
|
7679
7810
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
7680
7811
|
readonly created: number;
|
|
7681
7812
|
readonly metadata?: {
|
|
7682
7813
|
readonly [x: string]: unknown;
|
|
7683
7814
|
} | undefined;
|
|
7684
|
-
readonly type: "
|
|
7685
|
-
readonly
|
|
7686
|
-
readonly
|
|
7687
|
-
readonly
|
|
7688
|
-
|
|
7689
|
-
};
|
|
7815
|
+
readonly type: "config.updated";
|
|
7816
|
+
readonly location?: {
|
|
7817
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7818
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7819
|
+
} | undefined;
|
|
7820
|
+
readonly data: {};
|
|
7821
|
+
} | {
|
|
7822
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
7823
|
+
readonly created: number;
|
|
7824
|
+
readonly metadata?: {
|
|
7825
|
+
readonly [x: string]: unknown;
|
|
7826
|
+
} | undefined;
|
|
7827
|
+
readonly type: "mcp.resources.changed";
|
|
7690
7828
|
readonly location?: {
|
|
7691
7829
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7692
7830
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7693
7831
|
} | undefined;
|
|
7694
7832
|
readonly data: {
|
|
7695
|
-
readonly
|
|
7696
|
-
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7697
|
-
readonly ordinal: number;
|
|
7833
|
+
readonly server: string;
|
|
7698
7834
|
};
|
|
7699
7835
|
} | {
|
|
7700
7836
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -7702,27 +7838,13 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7702
7838
|
readonly metadata?: {
|
|
7703
7839
|
readonly [x: string]: unknown;
|
|
7704
7840
|
} | undefined;
|
|
7705
|
-
readonly type: "
|
|
7706
|
-
readonly durable: {
|
|
7707
|
-
readonly aggregateID: string;
|
|
7708
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
7709
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
7710
|
-
};
|
|
7841
|
+
readonly type: "mcp.status.changed";
|
|
7711
7842
|
readonly location?: {
|
|
7712
7843
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7713
7844
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7714
7845
|
} | undefined;
|
|
7715
7846
|
readonly data: {
|
|
7716
|
-
readonly
|
|
7717
|
-
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7718
|
-
readonly id: string;
|
|
7719
|
-
readonly input: {
|
|
7720
|
-
readonly [x: string]: unknown;
|
|
7721
|
-
};
|
|
7722
|
-
readonly executed: boolean;
|
|
7723
|
-
readonly native?: {
|
|
7724
|
-
readonly [x: string]: unknown;
|
|
7725
|
-
} | undefined;
|
|
7847
|
+
readonly server: string;
|
|
7726
7848
|
};
|
|
7727
7849
|
} | {
|
|
7728
7850
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -7730,53 +7852,25 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7730
7852
|
readonly metadata?: {
|
|
7731
7853
|
readonly [x: string]: unknown;
|
|
7732
7854
|
} | undefined;
|
|
7733
|
-
readonly type: "
|
|
7734
|
-
readonly durable: {
|
|
7735
|
-
readonly aggregateID: string;
|
|
7736
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
7737
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
7738
|
-
};
|
|
7855
|
+
readonly type: "plugin.updated";
|
|
7739
7856
|
readonly location?: {
|
|
7740
7857
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7741
7858
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7742
7859
|
} | undefined;
|
|
7743
|
-
readonly data: {
|
|
7744
|
-
|
|
7745
|
-
|
|
7746
|
-
|
|
7747
|
-
|
|
7748
|
-
|
|
7749
|
-
|
|
7750
|
-
|
|
7751
|
-
|
|
7752
|
-
|
|
7753
|
-
|
|
7754
|
-
|
|
7755
|
-
|
|
7756
|
-
readonly
|
|
7757
|
-
readonly type: "text";
|
|
7758
|
-
readonly text: string;
|
|
7759
|
-
} | {
|
|
7760
|
-
readonly type: "file";
|
|
7761
|
-
readonly uri: string;
|
|
7762
|
-
readonly mime: string;
|
|
7763
|
-
readonly name?: string | undefined;
|
|
7764
|
-
}, ...({
|
|
7765
|
-
readonly type: "text";
|
|
7766
|
-
readonly text: string;
|
|
7767
|
-
} | {
|
|
7768
|
-
readonly type: "file";
|
|
7769
|
-
readonly uri: string;
|
|
7770
|
-
readonly mime: string;
|
|
7771
|
-
readonly name?: string | undefined;
|
|
7772
|
-
})[]] | undefined;
|
|
7773
|
-
readonly metadata?: {
|
|
7774
|
-
readonly [x: string]: import("effect/Schema").Json;
|
|
7775
|
-
} | undefined;
|
|
7776
|
-
readonly executed: boolean;
|
|
7777
|
-
readonly native?: {
|
|
7778
|
-
readonly [x: string]: unknown;
|
|
7779
|
-
} | undefined;
|
|
7860
|
+
readonly data: {};
|
|
7861
|
+
} | {
|
|
7862
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
7863
|
+
readonly created: number;
|
|
7864
|
+
readonly metadata?: {
|
|
7865
|
+
readonly [x: string]: unknown;
|
|
7866
|
+
} | undefined;
|
|
7867
|
+
readonly type: "tui.command.execute";
|
|
7868
|
+
readonly location?: {
|
|
7869
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7870
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7871
|
+
} | undefined;
|
|
7872
|
+
readonly data: {
|
|
7873
|
+
readonly command: string;
|
|
7780
7874
|
};
|
|
7781
7875
|
} | {
|
|
7782
7876
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -7784,20 +7878,12 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7784
7878
|
readonly metadata?: {
|
|
7785
7879
|
readonly [x: string]: unknown;
|
|
7786
7880
|
} | undefined;
|
|
7787
|
-
readonly type: "
|
|
7788
|
-
readonly durable: {
|
|
7789
|
-
readonly aggregateID: string;
|
|
7790
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
7791
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
7792
|
-
};
|
|
7881
|
+
readonly type: "tui.prompt.append";
|
|
7793
7882
|
readonly location?: {
|
|
7794
7883
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7795
7884
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7796
7885
|
} | undefined;
|
|
7797
7886
|
readonly data: {
|
|
7798
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7799
|
-
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7800
|
-
readonly id: string;
|
|
7801
7887
|
readonly text: string;
|
|
7802
7888
|
};
|
|
7803
7889
|
} | {
|
|
@@ -7806,21 +7892,13 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7806
7892
|
readonly metadata?: {
|
|
7807
7893
|
readonly [x: string]: unknown;
|
|
7808
7894
|
} | undefined;
|
|
7809
|
-
readonly type: "session.
|
|
7810
|
-
readonly durable: {
|
|
7811
|
-
readonly aggregateID: string;
|
|
7812
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
7813
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
7814
|
-
};
|
|
7895
|
+
readonly type: "tui.session.select";
|
|
7815
7896
|
readonly location?: {
|
|
7816
7897
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7817
7898
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7818
7899
|
} | undefined;
|
|
7819
7900
|
readonly data: {
|
|
7820
7901
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7821
|
-
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7822
|
-
readonly id: string;
|
|
7823
|
-
readonly name: string;
|
|
7824
7902
|
};
|
|
7825
7903
|
} | {
|
|
7826
7904
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -7828,44 +7906,16 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7828
7906
|
readonly metadata?: {
|
|
7829
7907
|
readonly [x: string]: unknown;
|
|
7830
7908
|
} | undefined;
|
|
7831
|
-
readonly type: "
|
|
7832
|
-
readonly durable: {
|
|
7833
|
-
readonly aggregateID: string;
|
|
7834
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
7835
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
7836
|
-
};
|
|
7909
|
+
readonly type: "tui.toast.show";
|
|
7837
7910
|
readonly location?: {
|
|
7838
7911
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7839
7912
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7840
7913
|
} | undefined;
|
|
7841
7914
|
readonly data: {
|
|
7842
|
-
readonly
|
|
7843
|
-
readonly
|
|
7844
|
-
readonly
|
|
7845
|
-
readonly
|
|
7846
|
-
readonly type: "text";
|
|
7847
|
-
readonly text: string;
|
|
7848
|
-
} | {
|
|
7849
|
-
readonly type: "file";
|
|
7850
|
-
readonly uri: string;
|
|
7851
|
-
readonly mime: string;
|
|
7852
|
-
readonly name?: string | undefined;
|
|
7853
|
-
}, ...({
|
|
7854
|
-
readonly type: "text";
|
|
7855
|
-
readonly text: string;
|
|
7856
|
-
} | {
|
|
7857
|
-
readonly type: "file";
|
|
7858
|
-
readonly uri: string;
|
|
7859
|
-
readonly mime: string;
|
|
7860
|
-
readonly name?: string | undefined;
|
|
7861
|
-
})[]];
|
|
7862
|
-
readonly metadata?: {
|
|
7863
|
-
readonly [x: string]: import("effect/Schema").Json;
|
|
7864
|
-
} | undefined;
|
|
7865
|
-
readonly executed: boolean;
|
|
7866
|
-
readonly native?: {
|
|
7867
|
-
readonly [x: string]: unknown;
|
|
7868
|
-
} | undefined;
|
|
7915
|
+
readonly title?: string | undefined;
|
|
7916
|
+
readonly message: string;
|
|
7917
|
+
readonly variant: "error" | "info" | "success" | "warning";
|
|
7918
|
+
readonly duration: number;
|
|
7869
7919
|
};
|
|
7870
7920
|
} | {
|
|
7871
7921
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -7873,123 +7923,86 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7873
7923
|
readonly metadata?: {
|
|
7874
7924
|
readonly [x: string]: unknown;
|
|
7875
7925
|
} | undefined;
|
|
7876
|
-
readonly type: "
|
|
7877
|
-
readonly durable: {
|
|
7878
|
-
readonly aggregateID: string;
|
|
7879
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
7880
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
7881
|
-
};
|
|
7926
|
+
readonly type: "location.shutdown";
|
|
7882
7927
|
readonly location?: {
|
|
7883
7928
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7884
7929
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7885
7930
|
} | undefined;
|
|
7886
|
-
readonly data: {
|
|
7887
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7888
|
-
};
|
|
7931
|
+
readonly data: {};
|
|
7889
7932
|
} | {
|
|
7890
7933
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
7891
7934
|
readonly created: number;
|
|
7892
7935
|
readonly metadata?: {
|
|
7893
7936
|
readonly [x: string]: unknown;
|
|
7894
7937
|
} | undefined;
|
|
7895
|
-
readonly type: "
|
|
7896
|
-
readonly durable: {
|
|
7897
|
-
readonly aggregateID: string;
|
|
7898
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
7899
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
7900
|
-
};
|
|
7938
|
+
readonly type: "models-dev.refreshed";
|
|
7901
7939
|
readonly location?: {
|
|
7902
7940
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7903
7941
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7904
7942
|
} | undefined;
|
|
7905
|
-
readonly data: {
|
|
7906
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7907
|
-
readonly idle: number;
|
|
7908
|
-
};
|
|
7943
|
+
readonly data: {};
|
|
7909
7944
|
} | {
|
|
7910
7945
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
7911
7946
|
readonly created: number;
|
|
7912
7947
|
readonly metadata?: {
|
|
7913
7948
|
readonly [x: string]: unknown;
|
|
7914
7949
|
} | undefined;
|
|
7915
|
-
readonly type: "
|
|
7950
|
+
readonly type: "integration.updated";
|
|
7916
7951
|
readonly location?: {
|
|
7917
7952
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7918
7953
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7919
7954
|
} | undefined;
|
|
7920
|
-
readonly data: {
|
|
7921
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7922
|
-
readonly text: string;
|
|
7923
|
-
};
|
|
7955
|
+
readonly data: {};
|
|
7924
7956
|
} | {
|
|
7925
7957
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
7926
7958
|
readonly created: number;
|
|
7927
7959
|
readonly metadata?: {
|
|
7928
7960
|
readonly [x: string]: unknown;
|
|
7929
7961
|
} | undefined;
|
|
7930
|
-
readonly type: "
|
|
7962
|
+
readonly type: "provider.updated";
|
|
7931
7963
|
readonly location?: {
|
|
7932
7964
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7933
7965
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7934
7966
|
} | undefined;
|
|
7935
|
-
readonly data: {
|
|
7936
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7937
|
-
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7938
|
-
readonly ordinal: number;
|
|
7939
|
-
readonly delta: string;
|
|
7940
|
-
};
|
|
7967
|
+
readonly data: {};
|
|
7941
7968
|
} | {
|
|
7942
7969
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
7943
7970
|
readonly created: number;
|
|
7944
7971
|
readonly metadata?: {
|
|
7945
7972
|
readonly [x: string]: unknown;
|
|
7946
7973
|
} | undefined;
|
|
7947
|
-
readonly type: "
|
|
7974
|
+
readonly type: "model.updated";
|
|
7948
7975
|
readonly location?: {
|
|
7949
7976
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7950
7977
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7951
7978
|
} | undefined;
|
|
7952
|
-
readonly data: {
|
|
7953
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7954
|
-
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7955
|
-
readonly ordinal: number;
|
|
7956
|
-
readonly delta: string;
|
|
7957
|
-
};
|
|
7979
|
+
readonly data: {};
|
|
7958
7980
|
} | {
|
|
7959
7981
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
7960
7982
|
readonly created: number;
|
|
7961
7983
|
readonly metadata?: {
|
|
7962
7984
|
readonly [x: string]: unknown;
|
|
7963
7985
|
} | undefined;
|
|
7964
|
-
readonly type: "
|
|
7986
|
+
readonly type: "agent.updated";
|
|
7965
7987
|
readonly location?: {
|
|
7966
7988
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7967
7989
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7968
7990
|
} | undefined;
|
|
7969
|
-
readonly data: {
|
|
7970
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7971
|
-
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7972
|
-
readonly id: string;
|
|
7973
|
-
readonly delta: string;
|
|
7974
|
-
};
|
|
7991
|
+
readonly data: {};
|
|
7975
7992
|
} | {
|
|
7976
7993
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
7977
7994
|
readonly created: number;
|
|
7978
7995
|
readonly metadata?: {
|
|
7979
7996
|
readonly [x: string]: unknown;
|
|
7980
7997
|
} | undefined;
|
|
7981
|
-
readonly type: "
|
|
7998
|
+
readonly type: "filesystem.changed";
|
|
7982
7999
|
readonly location?: {
|
|
7983
8000
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7984
8001
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7985
8002
|
} | undefined;
|
|
7986
8003
|
readonly data: {
|
|
7987
|
-
readonly
|
|
7988
|
-
readonly
|
|
7989
|
-
readonly id: string;
|
|
7990
|
-
readonly metadata: {
|
|
7991
|
-
readonly [x: string]: import("effect/Schema").Json;
|
|
7992
|
-
};
|
|
8004
|
+
readonly file: string;
|
|
8005
|
+
readonly event: "add" | "change" | "unlink";
|
|
7993
8006
|
};
|
|
7994
8007
|
} | {
|
|
7995
8008
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -7997,23 +8010,38 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7997
8010
|
readonly metadata?: {
|
|
7998
8011
|
readonly [x: string]: unknown;
|
|
7999
8012
|
} | undefined;
|
|
8000
|
-
readonly type: "
|
|
8013
|
+
readonly type: "reference.updated";
|
|
8014
|
+
readonly location?: {
|
|
8015
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8016
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8017
|
+
} | undefined;
|
|
8018
|
+
readonly data: {};
|
|
8019
|
+
} | {
|
|
8020
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8021
|
+
readonly created: number;
|
|
8022
|
+
readonly metadata?: {
|
|
8023
|
+
readonly [x: string]: unknown;
|
|
8024
|
+
} | undefined;
|
|
8025
|
+
readonly type: "permission.asked";
|
|
8001
8026
|
readonly location?: {
|
|
8002
8027
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8003
8028
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8004
8029
|
} | undefined;
|
|
8005
8030
|
readonly data: {
|
|
8006
8031
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
8007
|
-
readonly
|
|
8008
|
-
readonly
|
|
8009
|
-
|
|
8010
|
-
|
|
8011
|
-
readonly
|
|
8012
|
-
|
|
8013
|
-
|
|
8014
|
-
|
|
8015
|
-
|
|
8016
|
-
|
|
8032
|
+
readonly action: string;
|
|
8033
|
+
readonly resources: readonly string[];
|
|
8034
|
+
readonly save?: readonly string[] | undefined;
|
|
8035
|
+
readonly metadata?: {
|
|
8036
|
+
readonly [x: string]: unknown;
|
|
8037
|
+
} | undefined;
|
|
8038
|
+
readonly source?: {
|
|
8039
|
+
readonly type: "tool";
|
|
8040
|
+
readonly messageID: string;
|
|
8041
|
+
readonly id: string;
|
|
8042
|
+
} | undefined;
|
|
8043
|
+
readonly message?: string | undefined;
|
|
8044
|
+
readonly id: string & import("effect/Brand").Brand<"Permission.ID">;
|
|
8017
8045
|
};
|
|
8018
8046
|
} | {
|
|
8019
8047
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -8021,12 +8049,16 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
8021
8049
|
readonly metadata?: {
|
|
8022
8050
|
readonly [x: string]: unknown;
|
|
8023
8051
|
} | undefined;
|
|
8024
|
-
readonly type: "
|
|
8052
|
+
readonly type: "permission.replied";
|
|
8025
8053
|
readonly location?: {
|
|
8026
8054
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8027
8055
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8028
8056
|
} | undefined;
|
|
8029
|
-
readonly data: {
|
|
8057
|
+
readonly data: {
|
|
8058
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
8059
|
+
readonly requestID: string & import("effect/Brand").Brand<"Permission.ID">;
|
|
8060
|
+
readonly reply: "always" | "once" | "reject";
|
|
8061
|
+
};
|
|
8030
8062
|
} | {
|
|
8031
8063
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8032
8064
|
readonly created: number;
|
|
@@ -8065,36 +8097,36 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
8065
8097
|
readonly metadata?: {
|
|
8066
8098
|
readonly [x: string]: unknown;
|
|
8067
8099
|
} | undefined;
|
|
8068
|
-
readonly type: "
|
|
8100
|
+
readonly type: "worktree.resolved";
|
|
8101
|
+
readonly durable: {
|
|
8102
|
+
readonly aggregateID: string;
|
|
8103
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
8104
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
8105
|
+
};
|
|
8069
8106
|
readonly location?: {
|
|
8070
8107
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8071
8108
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8072
8109
|
} | undefined;
|
|
8073
|
-
readonly data: {
|
|
8074
|
-
|
|
8075
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8076
|
-
readonly created: number;
|
|
8077
|
-
readonly metadata?: {
|
|
8078
|
-
readonly [x: string]: unknown;
|
|
8079
|
-
} | undefined;
|
|
8080
|
-
readonly type: "config.updated";
|
|
8081
|
-
readonly location?: {
|
|
8110
|
+
readonly data: {
|
|
8111
|
+
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
8082
8112
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8083
|
-
readonly
|
|
8084
|
-
|
|
8085
|
-
|
|
8113
|
+
readonly previous: string & import("effect/Brand").Brand<"Project.ID">;
|
|
8114
|
+
readonly adopted?: readonly (string & import("effect/Brand").Brand<"Project.ID">)[] | undefined;
|
|
8115
|
+
};
|
|
8086
8116
|
} | {
|
|
8087
8117
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8088
8118
|
readonly created: number;
|
|
8089
8119
|
readonly metadata?: {
|
|
8090
8120
|
readonly [x: string]: unknown;
|
|
8091
8121
|
} | undefined;
|
|
8092
|
-
readonly type: "
|
|
8122
|
+
readonly type: "worktree.updated";
|
|
8093
8123
|
readonly location?: {
|
|
8094
8124
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8095
8125
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8096
8126
|
} | undefined;
|
|
8097
|
-
readonly data: {
|
|
8127
|
+
readonly data: {
|
|
8128
|
+
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
8129
|
+
};
|
|
8098
8130
|
} | {
|
|
8099
8131
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8100
8132
|
readonly created: number;
|
|
@@ -8587,13 +8619,13 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
8587
8619
|
readonly metadata?: {
|
|
8588
8620
|
readonly [x: string]: unknown;
|
|
8589
8621
|
} | undefined;
|
|
8590
|
-
readonly type: "
|
|
8622
|
+
readonly type: "installation.update-available";
|
|
8591
8623
|
readonly location?: {
|
|
8592
8624
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8593
8625
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8594
8626
|
} | undefined;
|
|
8595
8627
|
readonly data: {
|
|
8596
|
-
readonly
|
|
8628
|
+
readonly version: string;
|
|
8597
8629
|
};
|
|
8598
8630
|
} | {
|
|
8599
8631
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -8601,13 +8633,13 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
8601
8633
|
readonly metadata?: {
|
|
8602
8634
|
readonly [x: string]: unknown;
|
|
8603
8635
|
} | undefined;
|
|
8604
|
-
readonly type: "
|
|
8636
|
+
readonly type: "installation.updated";
|
|
8605
8637
|
readonly location?: {
|
|
8606
8638
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8607
8639
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8608
8640
|
} | undefined;
|
|
8609
8641
|
readonly data: {
|
|
8610
|
-
readonly
|
|
8642
|
+
readonly version: string;
|
|
8611
8643
|
};
|
|
8612
8644
|
} | {
|
|
8613
8645
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -8615,13 +8647,13 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
8615
8647
|
readonly metadata?: {
|
|
8616
8648
|
readonly [x: string]: unknown;
|
|
8617
8649
|
} | undefined;
|
|
8618
|
-
readonly type: "
|
|
8650
|
+
readonly type: "vcs.branch.updated";
|
|
8619
8651
|
readonly location?: {
|
|
8620
8652
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8621
8653
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8622
8654
|
} | undefined;
|
|
8623
8655
|
readonly data: {
|
|
8624
|
-
readonly
|
|
8656
|
+
readonly branch?: string | undefined;
|
|
8625
8657
|
};
|
|
8626
8658
|
} | {
|
|
8627
8659
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -8629,44 +8661,12 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
8629
8661
|
readonly metadata?: {
|
|
8630
8662
|
readonly [x: string]: unknown;
|
|
8631
8663
|
} | undefined;
|
|
8632
|
-
readonly type:
|
|
8633
|
-
readonly location
|
|
8664
|
+
readonly type: `rpc.${string}`;
|
|
8665
|
+
readonly location: {
|
|
8634
8666
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8635
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8636
|
-
} | undefined;
|
|
8637
|
-
readonly data: {
|
|
8638
|
-
readonly title?: string | undefined;
|
|
8639
|
-
readonly message: string;
|
|
8640
|
-
readonly variant: "error" | "info" | "success" | "warning";
|
|
8641
|
-
readonly duration: number;
|
|
8642
8667
|
};
|
|
8643
|
-
} | {
|
|
8644
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8645
|
-
readonly created: number;
|
|
8646
|
-
readonly metadata?: {
|
|
8647
|
-
readonly [x: string]: unknown;
|
|
8648
|
-
} | undefined;
|
|
8649
|
-
readonly type: "mcp.resources.changed";
|
|
8650
|
-
readonly location?: {
|
|
8651
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8652
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8653
|
-
} | undefined;
|
|
8654
8668
|
readonly data: {
|
|
8655
|
-
readonly server: string;
|
|
8656
|
-
};
|
|
8657
|
-
} | {
|
|
8658
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8659
|
-
readonly created: number;
|
|
8660
|
-
readonly metadata?: {
|
|
8661
8669
|
readonly [x: string]: unknown;
|
|
8662
|
-
} | undefined;
|
|
8663
|
-
readonly type: "mcp.status.changed";
|
|
8664
|
-
readonly location?: {
|
|
8665
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8666
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8667
|
-
} | undefined;
|
|
8668
|
-
readonly data: {
|
|
8669
|
-
readonly server: string;
|
|
8670
8670
|
};
|
|
8671
8671
|
} | {
|
|
8672
8672
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|