@opencode/server 0.0.0-dev-21627 → 0.0.0-dev-21631
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 +589 -589
- package/dist/api.js +5 -5
- package/dist/auth.js +1 -1
- package/dist/chunks/{server-info-6t8za67t.js → routes-0cppk2bc.js} +2 -2
- package/dist/chunks/{server-info-39nnfjx1.js → routes-0q7s66m2.js} +4 -4
- package/dist/chunks/{server-info-vbpxpqk8.js → routes-191s7sdn.js} +34 -34
- package/dist/chunks/{server-info-6br0y3ag.js → routes-3aej5azy.js} +1 -1
- package/dist/chunks/{server-info-1ahadpvw.js → routes-4gnb9897.js} +1 -1
- package/dist/chunks/{server-info-j49n4591.js → routes-4w75v92x.js} +2 -2
- package/dist/chunks/{server-info-gqq6kfhc.js → routes-50bbk3b2.js} +3 -3
- package/dist/chunks/{server-info-vtvdbwhg.js → routes-6ypp9np2.js} +2 -2
- package/dist/chunks/{server-info-m0y4004e.js → routes-7b00qdf6.js} +1 -1
- package/dist/chunks/{server-info-7b9xm1qg.js → routes-7b9xm1qg.js} +1 -1
- package/dist/chunks/{server-info-gv2dqana.js → routes-7j4237sy.js} +3 -3
- package/dist/chunks/{server-info-e54xd2ay.js → routes-9mfgjndz.js} +3 -3
- package/dist/chunks/{server-info-yet0vexm.js → routes-b3bmdkga.js} +1 -1
- package/dist/chunks/{server-info-9k4wjdze.js → routes-dr1f0hkr.js} +3 -3
- package/dist/chunks/{server-info-ej45n981.js → routes-eaxk76q8.js} +2 -2
- package/dist/chunks/{server-info-gv627jgt.js → routes-ez8kk7rt.js} +1 -1
- package/dist/chunks/{server-info-xx1dn4ke.js → routes-f39w9f7f.js} +4 -4
- package/dist/chunks/{server-info-7b7f6e6h.js → routes-f6gnf3s9.js} +6 -6
- package/dist/chunks/{server-info-wtxh433d.js → routes-gsqctp76.js} +2 -2
- package/dist/chunks/{server-info-6kta5392.js → routes-gx9nwmym.js} +2 -2
- package/dist/chunks/{server-info-77mqkxfz.js → routes-j1p3e665.js} +2 -2
- package/dist/chunks/{server-info-j4at0y5c.js → routes-j4at0y5c.js} +1 -1
- package/dist/chunks/{server-info-aqzwjzmb.js → routes-k8rzy6d4.js} +1 -1
- package/dist/chunks/{server-info-hspp8v12.js → routes-krpsczf8.js} +2 -2
- package/dist/chunks/{server-info-67kmywtk.js → routes-mahm5rvs.js} +2 -2
- package/dist/chunks/{server-info-19dc7z8q.js → routes-mhfbkkb7.js} +2 -2
- package/dist/chunks/{server-info-cqhyyp3f.js → routes-mk2mz66m.js} +2 -2
- package/dist/chunks/{server-info-w9jcwh65.js → routes-mzs0n5xz.js} +7 -7
- package/dist/chunks/{server-info-v1jdrp9c.js → routes-n60r5keb.js} +1 -1
- package/dist/chunks/{server-info-gb66h69v.js → routes-q8n44kky.js} +3 -3
- package/dist/chunks/{server-info-q8cqvm6j.js → routes-rc3nk1bx.js} +2 -2
- package/dist/chunks/{server-info-57583dpy.js → routes-s1b7jxqy.js} +13 -13
- package/dist/chunks/{server-info-s1vhsdh5.js → routes-t604mhvp.js} +2 -2
- package/dist/chunks/{server-info-74sf36cc.js → routes-vbanrv0z.js} +1 -1
- package/dist/chunks/{server-info-atk2et4d.js → routes-vdtx70fv.js} +2 -2
- package/dist/chunks/{server-info-521y8fdj.js → routes-vfa4175p.js} +2 -2
- package/dist/chunks/{server-info-z8z5sq2q.js → routes-w0apesqg.js} +4 -4
- package/dist/chunks/{server-info-j8p25vmv.js → routes-w0jn068c.js} +2 -2
- package/dist/chunks/{server-info-98znt7md.js → routes-x7wd1fbq.js} +6 -6
- package/dist/chunks/{server-info-k6dz4enc.js → routes-y4zerkz9.js} +10 -10
- package/dist/chunks/{server-info-xxxx0904.js → routes-yv9sxhn9.js} +2 -2
- package/dist/chunks/{server-info-z3e7v67k.js → routes-z3e7v67k.js} +1 -1
- package/dist/chunks/{server-info-2zren6xa.js → routes-ze30hg2r.js} +4 -4
- package/dist/chunks/{server-info-6n9b1fbm.js → routes-zy1yk0n2.js} +1 -1
- package/dist/cors.js +1 -1
- package/dist/event-feed.js +7 -7
- package/dist/fetch.js +49 -49
- 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 +8 -8
- 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 +8 -8
- 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 +43 -43
- 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 +3 -3
- package/dist/process.js +51 -51
- package/dist/request-tracing.js +1 -1
- package/dist/routes.js +46 -46
- package/dist/server-info.js +1 -1
- package/dist/service-status.js +3 -3
- package/dist/workerd.js +50 -50
- package/package.json +11 -10
- /package/dist/chunks/{server-info-9rqn6x4v.js → routes-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{server-info-erzfdgke.js → routes-erzfdgke.js} +0 -0
- /package/dist/chunks/{server-info-h6rt5k9s.js → routes-h6rt5k9s.js} +0 -0
- /package/dist/chunks/{server-info-q4bn6dy8.js → routes-q4bn6dy8.js} +0 -0
- /package/dist/chunks/{server-info-smaf4a18.js → routes-smaf4a18.js} +0 -0
- /package/dist/chunks/{server-info-yc7nft6q.js → routes-yc7nft6q.js} +0 -0
package/dist/api.d.ts
CHANGED
|
@@ -6367,230 +6367,6 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6367
6367
|
readonly type: import("effect/Schema").Literal<"server.connected">;
|
|
6368
6368
|
readonly data: import("effect/Schema").Struct<{}>;
|
|
6369
6369
|
}>[]]>>, import("effect/Schema").Never, {
|
|
6370
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
6371
|
-
readonly created: number;
|
|
6372
|
-
readonly metadata?: {
|
|
6373
|
-
readonly [x: string]: unknown;
|
|
6374
|
-
} | undefined;
|
|
6375
|
-
readonly type: "integration.updated";
|
|
6376
|
-
readonly location?: {
|
|
6377
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
6378
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
6379
|
-
} | undefined;
|
|
6380
|
-
readonly data: {};
|
|
6381
|
-
} | {
|
|
6382
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
6383
|
-
readonly created: number;
|
|
6384
|
-
readonly metadata?: {
|
|
6385
|
-
readonly [x: string]: unknown;
|
|
6386
|
-
} | undefined;
|
|
6387
|
-
readonly type: "model.updated";
|
|
6388
|
-
readonly location?: {
|
|
6389
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
6390
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
6391
|
-
} | undefined;
|
|
6392
|
-
readonly data: {};
|
|
6393
|
-
} | {
|
|
6394
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
6395
|
-
readonly created: number;
|
|
6396
|
-
readonly metadata?: {
|
|
6397
|
-
readonly [x: string]: unknown;
|
|
6398
|
-
} | undefined;
|
|
6399
|
-
readonly type: "project.updated";
|
|
6400
|
-
readonly location?: {
|
|
6401
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
6402
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
6403
|
-
} | undefined;
|
|
6404
|
-
readonly data: {
|
|
6405
|
-
readonly id: string & import("effect/Brand").Brand<"Project.ID">;
|
|
6406
|
-
readonly canonical: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
6407
|
-
readonly vcs?: string | undefined;
|
|
6408
|
-
readonly name?: string | undefined;
|
|
6409
|
-
readonly icon?: {
|
|
6410
|
-
readonly url?: string | undefined;
|
|
6411
|
-
readonly override?: string | undefined;
|
|
6412
|
-
readonly color?: string | undefined;
|
|
6413
|
-
} | undefined;
|
|
6414
|
-
readonly commands?: {
|
|
6415
|
-
readonly start?: string | undefined;
|
|
6416
|
-
} | undefined;
|
|
6417
|
-
readonly time: {
|
|
6418
|
-
readonly created: number;
|
|
6419
|
-
readonly updated: number;
|
|
6420
|
-
readonly active: number;
|
|
6421
|
-
readonly archived?: number | undefined;
|
|
6422
|
-
};
|
|
6423
|
-
readonly sandboxes: readonly string[];
|
|
6424
|
-
};
|
|
6425
|
-
} | {
|
|
6426
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
6427
|
-
readonly created: number;
|
|
6428
|
-
readonly metadata?: {
|
|
6429
|
-
readonly [x: string]: unknown;
|
|
6430
|
-
} | undefined;
|
|
6431
|
-
readonly type: "shell.created";
|
|
6432
|
-
readonly location?: {
|
|
6433
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
6434
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
6435
|
-
} | undefined;
|
|
6436
|
-
readonly data: {
|
|
6437
|
-
readonly info: {
|
|
6438
|
-
readonly id: string & import("effect/Brand").Brand<"Shell.ID">;
|
|
6439
|
-
readonly status: "exited" | "killed" | "running" | "timeout";
|
|
6440
|
-
readonly command: string;
|
|
6441
|
-
readonly cwd: string;
|
|
6442
|
-
readonly shell: string;
|
|
6443
|
-
readonly file: string;
|
|
6444
|
-
readonly pid?: number | undefined;
|
|
6445
|
-
readonly exit?: number | undefined;
|
|
6446
|
-
readonly signal?: string | undefined;
|
|
6447
|
-
readonly metadata: {
|
|
6448
|
-
readonly [x: string]: unknown;
|
|
6449
|
-
};
|
|
6450
|
-
readonly time: {
|
|
6451
|
-
readonly started: number;
|
|
6452
|
-
readonly completed?: number | undefined;
|
|
6453
|
-
};
|
|
6454
|
-
};
|
|
6455
|
-
};
|
|
6456
|
-
} | {
|
|
6457
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
6458
|
-
readonly created: number;
|
|
6459
|
-
readonly metadata?: {
|
|
6460
|
-
readonly [x: string]: unknown;
|
|
6461
|
-
} | undefined;
|
|
6462
|
-
readonly type: "shell.deleted";
|
|
6463
|
-
readonly location?: {
|
|
6464
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
6465
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
6466
|
-
} | undefined;
|
|
6467
|
-
readonly data: {
|
|
6468
|
-
readonly id: string & import("effect/Brand").Brand<"Shell.ID">;
|
|
6469
|
-
};
|
|
6470
|
-
} | {
|
|
6471
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
6472
|
-
readonly created: number;
|
|
6473
|
-
readonly metadata?: {
|
|
6474
|
-
readonly [x: string]: unknown;
|
|
6475
|
-
} | undefined;
|
|
6476
|
-
readonly type: "shell.exited";
|
|
6477
|
-
readonly location?: {
|
|
6478
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
6479
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
6480
|
-
} | undefined;
|
|
6481
|
-
readonly data: {
|
|
6482
|
-
readonly id: string & import("effect/Brand").Brand<"Shell.ID">;
|
|
6483
|
-
readonly exit?: number | undefined;
|
|
6484
|
-
readonly status: "exited" | "killed" | "running" | "timeout";
|
|
6485
|
-
};
|
|
6486
|
-
} | {
|
|
6487
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
6488
|
-
readonly created: number;
|
|
6489
|
-
readonly metadata?: {
|
|
6490
|
-
readonly [x: string]: unknown;
|
|
6491
|
-
} | undefined;
|
|
6492
|
-
readonly type: "location.shutdown";
|
|
6493
|
-
readonly location?: {
|
|
6494
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
6495
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
6496
|
-
} | undefined;
|
|
6497
|
-
readonly data: {};
|
|
6498
|
-
} | {
|
|
6499
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
6500
|
-
readonly created: number;
|
|
6501
|
-
readonly metadata?: {
|
|
6502
|
-
readonly [x: string]: unknown;
|
|
6503
|
-
} | undefined;
|
|
6504
|
-
readonly type: "persistent-pty.added";
|
|
6505
|
-
readonly location?: {
|
|
6506
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
6507
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
6508
|
-
} | undefined;
|
|
6509
|
-
readonly data: {
|
|
6510
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
6511
|
-
readonly terminal: {
|
|
6512
|
-
readonly id: string & import("effect/Brand").Brand<"PtyID">;
|
|
6513
|
-
readonly title: string;
|
|
6514
|
-
readonly command: string;
|
|
6515
|
-
readonly args: readonly string[];
|
|
6516
|
-
readonly cwd: string;
|
|
6517
|
-
readonly status: "exited" | "running";
|
|
6518
|
-
readonly pid: number;
|
|
6519
|
-
readonly exitCode?: number | undefined;
|
|
6520
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
6521
|
-
readonly foregroundProcess: string | null;
|
|
6522
|
-
readonly size: {
|
|
6523
|
-
readonly cols: number;
|
|
6524
|
-
readonly rows: number;
|
|
6525
|
-
};
|
|
6526
|
-
readonly output: {
|
|
6527
|
-
readonly head: number;
|
|
6528
|
-
readonly tail: number;
|
|
6529
|
-
};
|
|
6530
|
-
};
|
|
6531
|
-
};
|
|
6532
|
-
} | {
|
|
6533
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
6534
|
-
readonly created: number;
|
|
6535
|
-
readonly metadata?: {
|
|
6536
|
-
readonly [x: string]: unknown;
|
|
6537
|
-
} | undefined;
|
|
6538
|
-
readonly type: "persistent-pty.removed";
|
|
6539
|
-
readonly location?: {
|
|
6540
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
6541
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
6542
|
-
} | undefined;
|
|
6543
|
-
readonly data: {
|
|
6544
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
6545
|
-
readonly ptyID: string & import("effect/Brand").Brand<"PtyID">;
|
|
6546
|
-
};
|
|
6547
|
-
} | {
|
|
6548
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
6549
|
-
readonly created: number;
|
|
6550
|
-
readonly metadata?: {
|
|
6551
|
-
readonly [x: string]: unknown;
|
|
6552
|
-
} | undefined;
|
|
6553
|
-
readonly type: "session.idle";
|
|
6554
|
-
readonly location?: {
|
|
6555
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
6556
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
6557
|
-
} | undefined;
|
|
6558
|
-
readonly data: {
|
|
6559
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
6560
|
-
};
|
|
6561
|
-
} | {
|
|
6562
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
6563
|
-
readonly created: number;
|
|
6564
|
-
readonly metadata?: {
|
|
6565
|
-
readonly [x: string]: unknown;
|
|
6566
|
-
} | undefined;
|
|
6567
|
-
readonly type: "session.status";
|
|
6568
|
-
readonly location?: {
|
|
6569
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
6570
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
6571
|
-
} | undefined;
|
|
6572
|
-
readonly data: {
|
|
6573
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
6574
|
-
readonly status: {
|
|
6575
|
-
readonly type: "idle";
|
|
6576
|
-
} | {
|
|
6577
|
-
readonly type: "retry";
|
|
6578
|
-
readonly attempt: number;
|
|
6579
|
-
readonly message: string;
|
|
6580
|
-
readonly action?: {
|
|
6581
|
-
readonly reason: string;
|
|
6582
|
-
readonly provider: string;
|
|
6583
|
-
readonly title: string;
|
|
6584
|
-
readonly message: string;
|
|
6585
|
-
readonly label: string;
|
|
6586
|
-
readonly link?: string | undefined;
|
|
6587
|
-
} | undefined;
|
|
6588
|
-
readonly next: number;
|
|
6589
|
-
} | {
|
|
6590
|
-
readonly type: "busy";
|
|
6591
|
-
};
|
|
6592
|
-
};
|
|
6593
|
-
} | {
|
|
6594
6370
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
6595
6371
|
readonly created: number;
|
|
6596
6372
|
readonly metadata?: {
|
|
@@ -7876,14 +7652,21 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7876
7652
|
readonly metadata?: {
|
|
7877
7653
|
readonly [x: string]: unknown;
|
|
7878
7654
|
} | undefined;
|
|
7879
|
-
readonly type: "
|
|
7655
|
+
readonly type: "worktree.resolved";
|
|
7656
|
+
readonly durable: {
|
|
7657
|
+
readonly aggregateID: string;
|
|
7658
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
7659
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
7660
|
+
};
|
|
7880
7661
|
readonly location?: {
|
|
7881
7662
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7882
7663
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7883
7664
|
} | undefined;
|
|
7884
7665
|
readonly data: {
|
|
7885
|
-
readonly
|
|
7886
|
-
readonly
|
|
7666
|
+
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
7667
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7668
|
+
readonly previous: string & import("effect/Brand").Brand<"Project.ID">;
|
|
7669
|
+
readonly adopted?: readonly (string & import("effect/Brand").Brand<"Project.ID">)[] | undefined;
|
|
7887
7670
|
};
|
|
7888
7671
|
} | {
|
|
7889
7672
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -7891,50 +7674,50 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7891
7674
|
readonly metadata?: {
|
|
7892
7675
|
readonly [x: string]: unknown;
|
|
7893
7676
|
} | undefined;
|
|
7894
|
-
readonly type: "
|
|
7677
|
+
readonly type: "agent.updated";
|
|
7895
7678
|
readonly location?: {
|
|
7896
7679
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7897
7680
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7898
7681
|
} | undefined;
|
|
7899
|
-
readonly data: {
|
|
7900
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7901
|
-
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7902
|
-
readonly ordinal: number;
|
|
7903
|
-
readonly delta: string;
|
|
7904
|
-
};
|
|
7682
|
+
readonly data: {};
|
|
7905
7683
|
} | {
|
|
7906
7684
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
7907
7685
|
readonly created: number;
|
|
7908
7686
|
readonly metadata?: {
|
|
7909
7687
|
readonly [x: string]: unknown;
|
|
7910
7688
|
} | undefined;
|
|
7911
|
-
readonly type: "
|
|
7689
|
+
readonly type: "command.updated";
|
|
7912
7690
|
readonly location?: {
|
|
7913
7691
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7914
7692
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7915
7693
|
} | undefined;
|
|
7916
|
-
readonly data: {
|
|
7917
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7918
|
-
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7919
|
-
readonly ordinal: number;
|
|
7920
|
-
readonly delta: string;
|
|
7921
|
-
};
|
|
7694
|
+
readonly data: {};
|
|
7922
7695
|
} | {
|
|
7923
7696
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
7924
7697
|
readonly created: number;
|
|
7925
7698
|
readonly metadata?: {
|
|
7926
7699
|
readonly [x: string]: unknown;
|
|
7927
7700
|
} | undefined;
|
|
7928
|
-
readonly type: "
|
|
7701
|
+
readonly type: "config.updated";
|
|
7702
|
+
readonly location?: {
|
|
7703
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7704
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7705
|
+
} | undefined;
|
|
7706
|
+
readonly data: {};
|
|
7707
|
+
} | {
|
|
7708
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
7709
|
+
readonly created: number;
|
|
7710
|
+
readonly metadata?: {
|
|
7711
|
+
readonly [x: string]: unknown;
|
|
7712
|
+
} | undefined;
|
|
7713
|
+
readonly type: "credential.switched";
|
|
7929
7714
|
readonly location?: {
|
|
7930
7715
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7931
7716
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7932
7717
|
} | undefined;
|
|
7933
7718
|
readonly data: {
|
|
7934
|
-
readonly
|
|
7935
|
-
readonly
|
|
7936
|
-
readonly id: string;
|
|
7937
|
-
readonly delta: string;
|
|
7719
|
+
readonly integrationID: string & import("effect/Brand").Brand<"Integration.ID">;
|
|
7720
|
+
readonly credentialID: (string & import("effect/Brand").Brand<"Credential.ID">) | null;
|
|
7938
7721
|
};
|
|
7939
7722
|
} | {
|
|
7940
7723
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -7942,17 +7725,250 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7942
7725
|
readonly metadata?: {
|
|
7943
7726
|
readonly [x: string]: unknown;
|
|
7944
7727
|
} | undefined;
|
|
7945
|
-
readonly type: "
|
|
7728
|
+
readonly type: "credential.updated";
|
|
7729
|
+
readonly location?: {
|
|
7730
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7731
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7732
|
+
} | undefined;
|
|
7733
|
+
readonly data: {};
|
|
7734
|
+
} | {
|
|
7735
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
7736
|
+
readonly created: number;
|
|
7737
|
+
readonly metadata?: {
|
|
7738
|
+
readonly [x: string]: unknown;
|
|
7739
|
+
} | undefined;
|
|
7740
|
+
readonly type: "filesystem.changed";
|
|
7946
7741
|
readonly location?: {
|
|
7947
7742
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7948
7743
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7949
7744
|
} | undefined;
|
|
7950
7745
|
readonly data: {
|
|
7951
|
-
readonly
|
|
7952
|
-
readonly
|
|
7953
|
-
|
|
7954
|
-
|
|
7955
|
-
|
|
7746
|
+
readonly file: string;
|
|
7747
|
+
readonly event: "add" | "change" | "unlink";
|
|
7748
|
+
};
|
|
7749
|
+
} | {
|
|
7750
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
7751
|
+
readonly created: number;
|
|
7752
|
+
readonly metadata?: {
|
|
7753
|
+
readonly [x: string]: unknown;
|
|
7754
|
+
} | undefined;
|
|
7755
|
+
readonly type: "form.cancelled";
|
|
7756
|
+
readonly location?: {
|
|
7757
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7758
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7759
|
+
} | undefined;
|
|
7760
|
+
readonly data: {
|
|
7761
|
+
readonly id: string & import("effect/Brand").Brand<"Form.ID">;
|
|
7762
|
+
readonly sessionID: string;
|
|
7763
|
+
};
|
|
7764
|
+
} | {
|
|
7765
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
7766
|
+
readonly created: number;
|
|
7767
|
+
readonly metadata?: {
|
|
7768
|
+
readonly [x: string]: unknown;
|
|
7769
|
+
} | undefined;
|
|
7770
|
+
readonly type: "form.created";
|
|
7771
|
+
readonly location?: {
|
|
7772
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7773
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7774
|
+
} | undefined;
|
|
7775
|
+
readonly data: {
|
|
7776
|
+
readonly form: {
|
|
7777
|
+
readonly id: string & import("effect/Brand").Brand<"Form.ID">;
|
|
7778
|
+
readonly sessionID: string;
|
|
7779
|
+
readonly title: string;
|
|
7780
|
+
readonly metadata?: {
|
|
7781
|
+
readonly [x: string]: unknown;
|
|
7782
|
+
} | undefined;
|
|
7783
|
+
readonly fields: readonly [{
|
|
7784
|
+
readonly key: string;
|
|
7785
|
+
readonly title?: string | undefined;
|
|
7786
|
+
readonly description?: string | undefined;
|
|
7787
|
+
readonly required?: boolean | undefined;
|
|
7788
|
+
readonly hidden?: boolean | undefined;
|
|
7789
|
+
readonly when?: readonly {
|
|
7790
|
+
readonly key: string;
|
|
7791
|
+
readonly op: "eq" | "neq";
|
|
7792
|
+
readonly value: string | number | boolean;
|
|
7793
|
+
}[] | undefined;
|
|
7794
|
+
readonly type: "string";
|
|
7795
|
+
readonly format?: "date" | "date-time" | "email" | "uri" | undefined;
|
|
7796
|
+
readonly minLength?: number | undefined;
|
|
7797
|
+
readonly maxLength?: number | undefined;
|
|
7798
|
+
readonly pattern?: string | undefined;
|
|
7799
|
+
readonly placeholder?: string | undefined;
|
|
7800
|
+
readonly default?: string | undefined;
|
|
7801
|
+
readonly options?: readonly {
|
|
7802
|
+
readonly value: string;
|
|
7803
|
+
readonly label: string;
|
|
7804
|
+
readonly description?: string | undefined;
|
|
7805
|
+
}[] | undefined;
|
|
7806
|
+
readonly custom?: boolean | undefined;
|
|
7807
|
+
} | {
|
|
7808
|
+
readonly key: string;
|
|
7809
|
+
readonly title?: string | undefined;
|
|
7810
|
+
readonly description?: string | undefined;
|
|
7811
|
+
readonly required?: boolean | undefined;
|
|
7812
|
+
readonly hidden?: boolean | undefined;
|
|
7813
|
+
readonly when?: readonly {
|
|
7814
|
+
readonly key: string;
|
|
7815
|
+
readonly op: "eq" | "neq";
|
|
7816
|
+
readonly value: string | number | boolean;
|
|
7817
|
+
}[] | undefined;
|
|
7818
|
+
readonly type: "number";
|
|
7819
|
+
readonly minimum?: number | undefined;
|
|
7820
|
+
readonly maximum?: number | undefined;
|
|
7821
|
+
readonly default?: number | undefined;
|
|
7822
|
+
} | {
|
|
7823
|
+
readonly key: string;
|
|
7824
|
+
readonly title?: string | undefined;
|
|
7825
|
+
readonly description?: string | undefined;
|
|
7826
|
+
readonly required?: boolean | undefined;
|
|
7827
|
+
readonly hidden?: boolean | undefined;
|
|
7828
|
+
readonly when?: readonly {
|
|
7829
|
+
readonly key: string;
|
|
7830
|
+
readonly op: "eq" | "neq";
|
|
7831
|
+
readonly value: string | number | boolean;
|
|
7832
|
+
}[] | undefined;
|
|
7833
|
+
readonly type: "integer";
|
|
7834
|
+
readonly minimum?: number | undefined;
|
|
7835
|
+
readonly maximum?: number | undefined;
|
|
7836
|
+
readonly default?: number | undefined;
|
|
7837
|
+
} | {
|
|
7838
|
+
readonly key: string;
|
|
7839
|
+
readonly title?: string | undefined;
|
|
7840
|
+
readonly description?: string | undefined;
|
|
7841
|
+
readonly required?: boolean | undefined;
|
|
7842
|
+
readonly hidden?: boolean | undefined;
|
|
7843
|
+
readonly when?: readonly {
|
|
7844
|
+
readonly key: string;
|
|
7845
|
+
readonly op: "eq" | "neq";
|
|
7846
|
+
readonly value: string | number | boolean;
|
|
7847
|
+
}[] | undefined;
|
|
7848
|
+
readonly type: "boolean";
|
|
7849
|
+
readonly default?: boolean | undefined;
|
|
7850
|
+
} | {
|
|
7851
|
+
readonly key: string;
|
|
7852
|
+
readonly title?: string | undefined;
|
|
7853
|
+
readonly description?: string | undefined;
|
|
7854
|
+
readonly required?: boolean | undefined;
|
|
7855
|
+
readonly hidden?: boolean | undefined;
|
|
7856
|
+
readonly when?: readonly {
|
|
7857
|
+
readonly key: string;
|
|
7858
|
+
readonly op: "eq" | "neq";
|
|
7859
|
+
readonly value: string | number | boolean;
|
|
7860
|
+
}[] | undefined;
|
|
7861
|
+
readonly type: "multiselect";
|
|
7862
|
+
readonly options: readonly {
|
|
7863
|
+
readonly value: string;
|
|
7864
|
+
readonly label: string;
|
|
7865
|
+
readonly description?: string | undefined;
|
|
7866
|
+
}[];
|
|
7867
|
+
readonly minItems?: number | undefined;
|
|
7868
|
+
readonly maxItems?: number | undefined;
|
|
7869
|
+
readonly custom?: boolean | undefined;
|
|
7870
|
+
readonly default?: readonly string[] | undefined;
|
|
7871
|
+
} | {
|
|
7872
|
+
readonly key: string;
|
|
7873
|
+
readonly type: "external";
|
|
7874
|
+
readonly url: string;
|
|
7875
|
+
readonly title?: string | undefined;
|
|
7876
|
+
readonly description?: string | undefined;
|
|
7877
|
+
}, ...({
|
|
7878
|
+
readonly key: string;
|
|
7879
|
+
readonly title?: string | undefined;
|
|
7880
|
+
readonly description?: string | undefined;
|
|
7881
|
+
readonly required?: boolean | undefined;
|
|
7882
|
+
readonly hidden?: boolean | undefined;
|
|
7883
|
+
readonly when?: readonly {
|
|
7884
|
+
readonly key: string;
|
|
7885
|
+
readonly op: "eq" | "neq";
|
|
7886
|
+
readonly value: string | number | boolean;
|
|
7887
|
+
}[] | undefined;
|
|
7888
|
+
readonly type: "string";
|
|
7889
|
+
readonly format?: "date" | "date-time" | "email" | "uri" | undefined;
|
|
7890
|
+
readonly minLength?: number | undefined;
|
|
7891
|
+
readonly maxLength?: number | undefined;
|
|
7892
|
+
readonly pattern?: string | undefined;
|
|
7893
|
+
readonly placeholder?: string | undefined;
|
|
7894
|
+
readonly default?: string | undefined;
|
|
7895
|
+
readonly options?: readonly {
|
|
7896
|
+
readonly value: string;
|
|
7897
|
+
readonly label: string;
|
|
7898
|
+
readonly description?: string | undefined;
|
|
7899
|
+
}[] | undefined;
|
|
7900
|
+
readonly custom?: boolean | undefined;
|
|
7901
|
+
} | {
|
|
7902
|
+
readonly key: string;
|
|
7903
|
+
readonly title?: string | undefined;
|
|
7904
|
+
readonly description?: string | undefined;
|
|
7905
|
+
readonly required?: boolean | undefined;
|
|
7906
|
+
readonly hidden?: boolean | undefined;
|
|
7907
|
+
readonly when?: readonly {
|
|
7908
|
+
readonly key: string;
|
|
7909
|
+
readonly op: "eq" | "neq";
|
|
7910
|
+
readonly value: string | number | boolean;
|
|
7911
|
+
}[] | undefined;
|
|
7912
|
+
readonly type: "number";
|
|
7913
|
+
readonly minimum?: number | undefined;
|
|
7914
|
+
readonly maximum?: number | undefined;
|
|
7915
|
+
readonly default?: number | undefined;
|
|
7916
|
+
} | {
|
|
7917
|
+
readonly key: string;
|
|
7918
|
+
readonly title?: string | undefined;
|
|
7919
|
+
readonly description?: string | undefined;
|
|
7920
|
+
readonly required?: boolean | undefined;
|
|
7921
|
+
readonly hidden?: boolean | undefined;
|
|
7922
|
+
readonly when?: readonly {
|
|
7923
|
+
readonly key: string;
|
|
7924
|
+
readonly op: "eq" | "neq";
|
|
7925
|
+
readonly value: string | number | boolean;
|
|
7926
|
+
}[] | undefined;
|
|
7927
|
+
readonly type: "integer";
|
|
7928
|
+
readonly minimum?: number | undefined;
|
|
7929
|
+
readonly maximum?: number | undefined;
|
|
7930
|
+
readonly default?: number | undefined;
|
|
7931
|
+
} | {
|
|
7932
|
+
readonly key: string;
|
|
7933
|
+
readonly title?: string | undefined;
|
|
7934
|
+
readonly description?: string | undefined;
|
|
7935
|
+
readonly required?: boolean | undefined;
|
|
7936
|
+
readonly hidden?: boolean | undefined;
|
|
7937
|
+
readonly when?: readonly {
|
|
7938
|
+
readonly key: string;
|
|
7939
|
+
readonly op: "eq" | "neq";
|
|
7940
|
+
readonly value: string | number | boolean;
|
|
7941
|
+
}[] | undefined;
|
|
7942
|
+
readonly type: "boolean";
|
|
7943
|
+
readonly default?: boolean | undefined;
|
|
7944
|
+
} | {
|
|
7945
|
+
readonly key: string;
|
|
7946
|
+
readonly title?: string | undefined;
|
|
7947
|
+
readonly description?: string | undefined;
|
|
7948
|
+
readonly required?: boolean | undefined;
|
|
7949
|
+
readonly hidden?: boolean | undefined;
|
|
7950
|
+
readonly when?: readonly {
|
|
7951
|
+
readonly key: string;
|
|
7952
|
+
readonly op: "eq" | "neq";
|
|
7953
|
+
readonly value: string | number | boolean;
|
|
7954
|
+
}[] | undefined;
|
|
7955
|
+
readonly type: "multiselect";
|
|
7956
|
+
readonly options: readonly {
|
|
7957
|
+
readonly value: string;
|
|
7958
|
+
readonly label: string;
|
|
7959
|
+
readonly description?: string | undefined;
|
|
7960
|
+
}[];
|
|
7961
|
+
readonly minItems?: number | undefined;
|
|
7962
|
+
readonly maxItems?: number | undefined;
|
|
7963
|
+
readonly custom?: boolean | undefined;
|
|
7964
|
+
readonly default?: readonly string[] | undefined;
|
|
7965
|
+
} | {
|
|
7966
|
+
readonly key: string;
|
|
7967
|
+
readonly type: "external";
|
|
7968
|
+
readonly url: string;
|
|
7969
|
+
readonly title?: string | undefined;
|
|
7970
|
+
readonly description?: string | undefined;
|
|
7971
|
+
})[]];
|
|
7956
7972
|
};
|
|
7957
7973
|
};
|
|
7958
7974
|
} | {
|
|
@@ -7961,22 +7977,16 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7961
7977
|
readonly metadata?: {
|
|
7962
7978
|
readonly [x: string]: unknown;
|
|
7963
7979
|
} | undefined;
|
|
7964
|
-
readonly type: "
|
|
7980
|
+
readonly type: "form.replied";
|
|
7965
7981
|
readonly location?: {
|
|
7966
7982
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7967
7983
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7968
7984
|
} | undefined;
|
|
7969
7985
|
readonly data: {
|
|
7970
|
-
readonly
|
|
7971
|
-
readonly
|
|
7972
|
-
readonly
|
|
7973
|
-
readonly
|
|
7974
|
-
readonly output: number;
|
|
7975
|
-
readonly reasoning: number;
|
|
7976
|
-
readonly cache: {
|
|
7977
|
-
readonly read: number;
|
|
7978
|
-
readonly write: number;
|
|
7979
|
-
};
|
|
7986
|
+
readonly id: string & import("effect/Brand").Brand<"Form.ID">;
|
|
7987
|
+
readonly sessionID: string;
|
|
7988
|
+
readonly answer: {
|
|
7989
|
+
readonly [x: string]: string | number | boolean | readonly string[];
|
|
7980
7990
|
};
|
|
7981
7991
|
};
|
|
7982
7992
|
} | {
|
|
@@ -7985,12 +7995,146 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7985
7995
|
readonly metadata?: {
|
|
7986
7996
|
readonly [x: string]: unknown;
|
|
7987
7997
|
} | undefined;
|
|
7988
|
-
readonly type:
|
|
7989
|
-
readonly location
|
|
7998
|
+
readonly type: "installation.update-available";
|
|
7999
|
+
readonly location?: {
|
|
8000
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8001
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8002
|
+
} | undefined;
|
|
8003
|
+
readonly data: {
|
|
8004
|
+
readonly version: string;
|
|
8005
|
+
};
|
|
8006
|
+
} | {
|
|
8007
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8008
|
+
readonly created: number;
|
|
8009
|
+
readonly metadata?: {
|
|
8010
|
+
readonly [x: string]: unknown;
|
|
8011
|
+
} | undefined;
|
|
8012
|
+
readonly type: "installation.updated";
|
|
8013
|
+
readonly location?: {
|
|
8014
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8015
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8016
|
+
} | undefined;
|
|
8017
|
+
readonly data: {
|
|
8018
|
+
readonly version: string;
|
|
8019
|
+
};
|
|
8020
|
+
} | {
|
|
8021
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8022
|
+
readonly created: number;
|
|
8023
|
+
readonly metadata?: {
|
|
8024
|
+
readonly [x: string]: unknown;
|
|
8025
|
+
} | undefined;
|
|
8026
|
+
readonly type: "integration.updated";
|
|
8027
|
+
readonly location?: {
|
|
8028
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8029
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8030
|
+
} | undefined;
|
|
8031
|
+
readonly data: {};
|
|
8032
|
+
} | {
|
|
8033
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8034
|
+
readonly created: number;
|
|
8035
|
+
readonly metadata?: {
|
|
8036
|
+
readonly [x: string]: unknown;
|
|
8037
|
+
} | undefined;
|
|
8038
|
+
readonly type: "location.shutdown";
|
|
8039
|
+
readonly location?: {
|
|
8040
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8041
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8042
|
+
} | undefined;
|
|
8043
|
+
readonly data: {};
|
|
8044
|
+
} | {
|
|
8045
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8046
|
+
readonly created: number;
|
|
8047
|
+
readonly metadata?: {
|
|
8048
|
+
readonly [x: string]: unknown;
|
|
8049
|
+
} | undefined;
|
|
8050
|
+
readonly type: "mcp.resources.changed";
|
|
8051
|
+
readonly location?: {
|
|
8052
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8053
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8054
|
+
} | undefined;
|
|
8055
|
+
readonly data: {
|
|
8056
|
+
readonly server: string;
|
|
8057
|
+
};
|
|
8058
|
+
} | {
|
|
8059
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8060
|
+
readonly created: number;
|
|
8061
|
+
readonly metadata?: {
|
|
8062
|
+
readonly [x: string]: unknown;
|
|
8063
|
+
} | undefined;
|
|
8064
|
+
readonly type: "mcp.status.changed";
|
|
8065
|
+
readonly location?: {
|
|
8066
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8067
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8068
|
+
} | undefined;
|
|
8069
|
+
readonly data: {
|
|
8070
|
+
readonly server: string;
|
|
8071
|
+
};
|
|
8072
|
+
} | {
|
|
8073
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8074
|
+
readonly created: number;
|
|
8075
|
+
readonly metadata?: {
|
|
8076
|
+
readonly [x: string]: unknown;
|
|
8077
|
+
} | undefined;
|
|
8078
|
+
readonly type: "model.updated";
|
|
8079
|
+
readonly location?: {
|
|
8080
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8081
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8082
|
+
} | undefined;
|
|
8083
|
+
readonly data: {};
|
|
8084
|
+
} | {
|
|
8085
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8086
|
+
readonly created: number;
|
|
8087
|
+
readonly metadata?: {
|
|
8088
|
+
readonly [x: string]: unknown;
|
|
8089
|
+
} | undefined;
|
|
8090
|
+
readonly type: "models-dev.refreshed";
|
|
8091
|
+
readonly location?: {
|
|
8092
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8093
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8094
|
+
} | undefined;
|
|
8095
|
+
readonly data: {};
|
|
8096
|
+
} | {
|
|
8097
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8098
|
+
readonly created: number;
|
|
8099
|
+
readonly metadata?: {
|
|
8100
|
+
readonly [x: string]: unknown;
|
|
8101
|
+
} | undefined;
|
|
8102
|
+
readonly type: "permission.asked";
|
|
8103
|
+
readonly location?: {
|
|
8104
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8105
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8106
|
+
} | undefined;
|
|
8107
|
+
readonly data: {
|
|
8108
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
8109
|
+
readonly action: string;
|
|
8110
|
+
readonly resources: readonly string[];
|
|
8111
|
+
readonly save?: readonly string[] | undefined;
|
|
8112
|
+
readonly metadata?: {
|
|
8113
|
+
readonly [x: string]: unknown;
|
|
8114
|
+
} | undefined;
|
|
8115
|
+
readonly source?: {
|
|
8116
|
+
readonly type: "tool";
|
|
8117
|
+
readonly messageID: string;
|
|
8118
|
+
readonly id: string;
|
|
8119
|
+
} | undefined;
|
|
8120
|
+
readonly message?: string | undefined;
|
|
8121
|
+
readonly id: string & import("effect/Brand").Brand<"Permission.ID">;
|
|
8122
|
+
};
|
|
8123
|
+
} | {
|
|
8124
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8125
|
+
readonly created: number;
|
|
8126
|
+
readonly metadata?: {
|
|
8127
|
+
readonly [x: string]: unknown;
|
|
8128
|
+
} | undefined;
|
|
8129
|
+
readonly type: "permission.replied";
|
|
8130
|
+
readonly location?: {
|
|
7990
8131
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7991
|
-
|
|
8132
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8133
|
+
} | undefined;
|
|
7992
8134
|
readonly data: {
|
|
7993
|
-
readonly
|
|
8135
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
8136
|
+
readonly requestID: string & import("effect/Brand").Brand<"Permission.ID">;
|
|
8137
|
+
readonly reply: "always" | "once" | "reject";
|
|
7994
8138
|
};
|
|
7995
8139
|
} | {
|
|
7996
8140
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -7998,26 +8142,48 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7998
8142
|
readonly metadata?: {
|
|
7999
8143
|
readonly [x: string]: unknown;
|
|
8000
8144
|
} | undefined;
|
|
8001
|
-
readonly type: "
|
|
8145
|
+
readonly type: "persistent-pty.added";
|
|
8002
8146
|
readonly location?: {
|
|
8003
8147
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8004
8148
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8005
8149
|
} | undefined;
|
|
8006
|
-
readonly data: {
|
|
8150
|
+
readonly data: {
|
|
8151
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
8152
|
+
readonly terminal: {
|
|
8153
|
+
readonly id: string & import("effect/Brand").Brand<"PtyID">;
|
|
8154
|
+
readonly title: string;
|
|
8155
|
+
readonly command: string;
|
|
8156
|
+
readonly args: readonly string[];
|
|
8157
|
+
readonly cwd: string;
|
|
8158
|
+
readonly status: "exited" | "running";
|
|
8159
|
+
readonly pid: number;
|
|
8160
|
+
readonly exitCode?: number | undefined;
|
|
8161
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
8162
|
+
readonly foregroundProcess: string | null;
|
|
8163
|
+
readonly size: {
|
|
8164
|
+
readonly cols: number;
|
|
8165
|
+
readonly rows: number;
|
|
8166
|
+
};
|
|
8167
|
+
readonly output: {
|
|
8168
|
+
readonly head: number;
|
|
8169
|
+
readonly tail: number;
|
|
8170
|
+
};
|
|
8171
|
+
};
|
|
8172
|
+
};
|
|
8007
8173
|
} | {
|
|
8008
8174
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8009
8175
|
readonly created: number;
|
|
8010
8176
|
readonly metadata?: {
|
|
8011
8177
|
readonly [x: string]: unknown;
|
|
8012
8178
|
} | undefined;
|
|
8013
|
-
readonly type: "
|
|
8179
|
+
readonly type: "persistent-pty.removed";
|
|
8014
8180
|
readonly location?: {
|
|
8015
8181
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8016
8182
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8017
8183
|
} | undefined;
|
|
8018
8184
|
readonly data: {
|
|
8019
|
-
readonly
|
|
8020
|
-
readonly
|
|
8185
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
8186
|
+
readonly ptyID: string & import("effect/Brand").Brand<"PtyID">;
|
|
8021
8187
|
};
|
|
8022
8188
|
} | {
|
|
8023
8189
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -8025,7 +8191,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
8025
8191
|
readonly metadata?: {
|
|
8026
8192
|
readonly [x: string]: unknown;
|
|
8027
8193
|
} | undefined;
|
|
8028
|
-
readonly type: "
|
|
8194
|
+
readonly type: "plugin.updated";
|
|
8029
8195
|
readonly location?: {
|
|
8030
8196
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8031
8197
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
@@ -8037,19 +8203,39 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
8037
8203
|
readonly metadata?: {
|
|
8038
8204
|
readonly [x: string]: unknown;
|
|
8039
8205
|
} | undefined;
|
|
8040
|
-
readonly type: "
|
|
8206
|
+
readonly type: "project.updated";
|
|
8041
8207
|
readonly location?: {
|
|
8042
8208
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8043
8209
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8044
8210
|
} | undefined;
|
|
8045
|
-
readonly data: {
|
|
8211
|
+
readonly data: {
|
|
8212
|
+
readonly id: string & import("effect/Brand").Brand<"Project.ID">;
|
|
8213
|
+
readonly canonical: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8214
|
+
readonly vcs?: string | undefined;
|
|
8215
|
+
readonly name?: string | undefined;
|
|
8216
|
+
readonly icon?: {
|
|
8217
|
+
readonly url?: string | undefined;
|
|
8218
|
+
readonly override?: string | undefined;
|
|
8219
|
+
readonly color?: string | undefined;
|
|
8220
|
+
} | undefined;
|
|
8221
|
+
readonly commands?: {
|
|
8222
|
+
readonly start?: string | undefined;
|
|
8223
|
+
} | undefined;
|
|
8224
|
+
readonly time: {
|
|
8225
|
+
readonly created: number;
|
|
8226
|
+
readonly updated: number;
|
|
8227
|
+
readonly active: number;
|
|
8228
|
+
readonly archived?: number | undefined;
|
|
8229
|
+
};
|
|
8230
|
+
readonly sandboxes: readonly string[];
|
|
8231
|
+
};
|
|
8046
8232
|
} | {
|
|
8047
8233
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8048
8234
|
readonly created: number;
|
|
8049
8235
|
readonly metadata?: {
|
|
8050
8236
|
readonly [x: string]: unknown;
|
|
8051
8237
|
} | undefined;
|
|
8052
|
-
readonly type: "
|
|
8238
|
+
readonly type: "provider.updated";
|
|
8053
8239
|
readonly location?: {
|
|
8054
8240
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8055
8241
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
@@ -8061,14 +8247,22 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
8061
8247
|
readonly metadata?: {
|
|
8062
8248
|
readonly [x: string]: unknown;
|
|
8063
8249
|
} | undefined;
|
|
8064
|
-
readonly type: "
|
|
8250
|
+
readonly type: "pty.created";
|
|
8065
8251
|
readonly location?: {
|
|
8066
8252
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8067
8253
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8068
8254
|
} | undefined;
|
|
8069
8255
|
readonly data: {
|
|
8070
|
-
readonly
|
|
8071
|
-
|
|
8256
|
+
readonly info: {
|
|
8257
|
+
readonly id: string & import("effect/Brand").Brand<"PtyID">;
|
|
8258
|
+
readonly title: string;
|
|
8259
|
+
readonly command: string;
|
|
8260
|
+
readonly args: readonly string[];
|
|
8261
|
+
readonly cwd: string;
|
|
8262
|
+
readonly status: "exited" | "running";
|
|
8263
|
+
readonly pid: number;
|
|
8264
|
+
readonly exitCode?: number | undefined;
|
|
8265
|
+
};
|
|
8072
8266
|
};
|
|
8073
8267
|
} | {
|
|
8074
8268
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -8076,38 +8270,28 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
8076
8270
|
readonly metadata?: {
|
|
8077
8271
|
readonly [x: string]: unknown;
|
|
8078
8272
|
} | undefined;
|
|
8079
|
-
readonly type: "
|
|
8273
|
+
readonly type: "pty.deleted";
|
|
8080
8274
|
readonly location?: {
|
|
8081
8275
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8082
8276
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8083
8277
|
} | undefined;
|
|
8084
|
-
readonly data: {
|
|
8278
|
+
readonly data: {
|
|
8279
|
+
readonly id: string & import("effect/Brand").Brand<"PtyID">;
|
|
8280
|
+
};
|
|
8085
8281
|
} | {
|
|
8086
8282
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8087
8283
|
readonly created: number;
|
|
8088
8284
|
readonly metadata?: {
|
|
8089
8285
|
readonly [x: string]: unknown;
|
|
8090
8286
|
} | undefined;
|
|
8091
|
-
readonly type: "
|
|
8287
|
+
readonly type: "pty.exited";
|
|
8092
8288
|
readonly location?: {
|
|
8093
8289
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8094
8290
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8095
8291
|
} | undefined;
|
|
8096
8292
|
readonly data: {
|
|
8097
|
-
readonly
|
|
8098
|
-
readonly
|
|
8099
|
-
readonly resources: readonly string[];
|
|
8100
|
-
readonly save?: readonly string[] | undefined;
|
|
8101
|
-
readonly metadata?: {
|
|
8102
|
-
readonly [x: string]: unknown;
|
|
8103
|
-
} | undefined;
|
|
8104
|
-
readonly source?: {
|
|
8105
|
-
readonly type: "tool";
|
|
8106
|
-
readonly messageID: string;
|
|
8107
|
-
readonly id: string;
|
|
8108
|
-
} | undefined;
|
|
8109
|
-
readonly message?: string | undefined;
|
|
8110
|
-
readonly id: string & import("effect/Brand").Brand<"Permission.ID">;
|
|
8293
|
+
readonly id: string & import("effect/Brand").Brand<"PtyID">;
|
|
8294
|
+
readonly exitCode: number;
|
|
8111
8295
|
};
|
|
8112
8296
|
} | {
|
|
8113
8297
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -8115,15 +8299,22 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
8115
8299
|
readonly metadata?: {
|
|
8116
8300
|
readonly [x: string]: unknown;
|
|
8117
8301
|
} | undefined;
|
|
8118
|
-
readonly type: "
|
|
8302
|
+
readonly type: "pty.updated";
|
|
8119
8303
|
readonly location?: {
|
|
8120
8304
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8121
8305
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8122
8306
|
} | undefined;
|
|
8123
8307
|
readonly data: {
|
|
8124
|
-
readonly
|
|
8125
|
-
|
|
8126
|
-
|
|
8308
|
+
readonly info: {
|
|
8309
|
+
readonly id: string & import("effect/Brand").Brand<"PtyID">;
|
|
8310
|
+
readonly title: string;
|
|
8311
|
+
readonly command: string;
|
|
8312
|
+
readonly args: readonly string[];
|
|
8313
|
+
readonly cwd: string;
|
|
8314
|
+
readonly status: "exited" | "running";
|
|
8315
|
+
readonly pid: number;
|
|
8316
|
+
readonly exitCode?: number | undefined;
|
|
8317
|
+
};
|
|
8127
8318
|
};
|
|
8128
8319
|
} | {
|
|
8129
8320
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -8131,7 +8322,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
8131
8322
|
readonly metadata?: {
|
|
8132
8323
|
readonly [x: string]: unknown;
|
|
8133
8324
|
} | undefined;
|
|
8134
|
-
readonly type: "
|
|
8325
|
+
readonly type: "reference.updated";
|
|
8135
8326
|
readonly location?: {
|
|
8136
8327
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8137
8328
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
@@ -8143,21 +8334,14 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
8143
8334
|
readonly metadata?: {
|
|
8144
8335
|
readonly [x: string]: unknown;
|
|
8145
8336
|
} | undefined;
|
|
8146
|
-
readonly type: "
|
|
8147
|
-
readonly durable: {
|
|
8148
|
-
readonly aggregateID: string;
|
|
8149
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
8150
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
8151
|
-
};
|
|
8337
|
+
readonly type: "session.compaction.delta";
|
|
8152
8338
|
readonly location?: {
|
|
8153
8339
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8154
8340
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8155
8341
|
} | undefined;
|
|
8156
8342
|
readonly data: {
|
|
8157
|
-
readonly
|
|
8158
|
-
readonly
|
|
8159
|
-
readonly previous: string & import("effect/Brand").Brand<"Project.ID">;
|
|
8160
|
-
readonly adopted?: readonly (string & import("effect/Brand").Brand<"Project.ID">)[] | undefined;
|
|
8343
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
8344
|
+
readonly text: string;
|
|
8161
8345
|
};
|
|
8162
8346
|
} | {
|
|
8163
8347
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -8165,13 +8349,13 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
8165
8349
|
readonly metadata?: {
|
|
8166
8350
|
readonly [x: string]: unknown;
|
|
8167
8351
|
} | undefined;
|
|
8168
|
-
readonly type: "
|
|
8352
|
+
readonly type: "session.idle";
|
|
8169
8353
|
readonly location?: {
|
|
8170
8354
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8171
8355
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8172
8356
|
} | undefined;
|
|
8173
8357
|
readonly data: {
|
|
8174
|
-
readonly
|
|
8358
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
8175
8359
|
};
|
|
8176
8360
|
} | {
|
|
8177
8361
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -8179,58 +8363,65 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
8179
8363
|
readonly metadata?: {
|
|
8180
8364
|
readonly [x: string]: unknown;
|
|
8181
8365
|
} | undefined;
|
|
8182
|
-
readonly type: "
|
|
8183
|
-
readonly location?: {
|
|
8184
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8185
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8186
|
-
} | undefined;
|
|
8187
|
-
readonly data: {};
|
|
8188
|
-
} | {
|
|
8189
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8190
|
-
readonly created: number;
|
|
8191
|
-
readonly metadata?: {
|
|
8192
|
-
readonly [x: string]: unknown;
|
|
8193
|
-
} | undefined;
|
|
8194
|
-
readonly type: "config.updated";
|
|
8366
|
+
readonly type: "session.reasoning.delta";
|
|
8195
8367
|
readonly location?: {
|
|
8196
8368
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8197
8369
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8198
8370
|
} | undefined;
|
|
8199
|
-
readonly data: {
|
|
8371
|
+
readonly data: {
|
|
8372
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
8373
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
8374
|
+
readonly ordinal: number;
|
|
8375
|
+
readonly delta: string;
|
|
8376
|
+
};
|
|
8200
8377
|
} | {
|
|
8201
8378
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8202
8379
|
readonly created: number;
|
|
8203
8380
|
readonly metadata?: {
|
|
8204
8381
|
readonly [x: string]: unknown;
|
|
8205
8382
|
} | undefined;
|
|
8206
|
-
readonly type: "
|
|
8383
|
+
readonly type: "session.status";
|
|
8207
8384
|
readonly location?: {
|
|
8208
8385
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8209
8386
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8210
8387
|
} | undefined;
|
|
8211
|
-
readonly data: {
|
|
8388
|
+
readonly data: {
|
|
8389
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
8390
|
+
readonly status: {
|
|
8391
|
+
readonly type: "idle";
|
|
8392
|
+
} | {
|
|
8393
|
+
readonly type: "busy";
|
|
8394
|
+
} | {
|
|
8395
|
+
readonly type: "retry";
|
|
8396
|
+
readonly attempt: number;
|
|
8397
|
+
readonly message: string;
|
|
8398
|
+
readonly action?: {
|
|
8399
|
+
readonly reason: string;
|
|
8400
|
+
readonly provider: string;
|
|
8401
|
+
readonly title: string;
|
|
8402
|
+
readonly message: string;
|
|
8403
|
+
readonly label: string;
|
|
8404
|
+
readonly link?: string | undefined;
|
|
8405
|
+
} | undefined;
|
|
8406
|
+
readonly next: number;
|
|
8407
|
+
};
|
|
8408
|
+
};
|
|
8212
8409
|
} | {
|
|
8213
8410
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8214
8411
|
readonly created: number;
|
|
8215
8412
|
readonly metadata?: {
|
|
8216
8413
|
readonly [x: string]: unknown;
|
|
8217
8414
|
} | undefined;
|
|
8218
|
-
readonly type: "
|
|
8415
|
+
readonly type: "session.text.delta";
|
|
8219
8416
|
readonly location?: {
|
|
8220
8417
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8221
8418
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8222
8419
|
} | undefined;
|
|
8223
8420
|
readonly data: {
|
|
8224
|
-
readonly
|
|
8225
|
-
|
|
8226
|
-
|
|
8227
|
-
|
|
8228
|
-
readonly args: readonly string[];
|
|
8229
|
-
readonly cwd: string;
|
|
8230
|
-
readonly status: "exited" | "running";
|
|
8231
|
-
readonly pid: number;
|
|
8232
|
-
readonly exitCode?: number | undefined;
|
|
8233
|
-
};
|
|
8421
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
8422
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
8423
|
+
readonly ordinal: number;
|
|
8424
|
+
readonly delta: string;
|
|
8234
8425
|
};
|
|
8235
8426
|
} | {
|
|
8236
8427
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -8238,13 +8429,16 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
8238
8429
|
readonly metadata?: {
|
|
8239
8430
|
readonly [x: string]: unknown;
|
|
8240
8431
|
} | undefined;
|
|
8241
|
-
readonly type: "
|
|
8432
|
+
readonly type: "session.tool.input.delta";
|
|
8242
8433
|
readonly location?: {
|
|
8243
8434
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8244
8435
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8245
8436
|
} | undefined;
|
|
8246
8437
|
readonly data: {
|
|
8247
|
-
readonly
|
|
8438
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
8439
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
8440
|
+
readonly id: string;
|
|
8441
|
+
readonly delta: string;
|
|
8248
8442
|
};
|
|
8249
8443
|
} | {
|
|
8250
8444
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -8252,14 +8446,18 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
8252
8446
|
readonly metadata?: {
|
|
8253
8447
|
readonly [x: string]: unknown;
|
|
8254
8448
|
} | undefined;
|
|
8255
|
-
readonly type: "
|
|
8449
|
+
readonly type: "session.tool.progress";
|
|
8256
8450
|
readonly location?: {
|
|
8257
8451
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8258
8452
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8259
8453
|
} | undefined;
|
|
8260
8454
|
readonly data: {
|
|
8261
|
-
readonly
|
|
8262
|
-
readonly
|
|
8455
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
8456
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
8457
|
+
readonly id: string;
|
|
8458
|
+
readonly metadata: {
|
|
8459
|
+
readonly [x: string]: import("effect/Schema").Json;
|
|
8460
|
+
};
|
|
8263
8461
|
};
|
|
8264
8462
|
} | {
|
|
8265
8463
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -8267,21 +8465,22 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
8267
8465
|
readonly metadata?: {
|
|
8268
8466
|
readonly [x: string]: unknown;
|
|
8269
8467
|
} | undefined;
|
|
8270
|
-
readonly type: "
|
|
8468
|
+
readonly type: "session.usage.updated";
|
|
8271
8469
|
readonly location?: {
|
|
8272
8470
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8273
8471
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8274
8472
|
} | undefined;
|
|
8275
8473
|
readonly data: {
|
|
8276
|
-
readonly
|
|
8277
|
-
|
|
8278
|
-
|
|
8279
|
-
readonly
|
|
8280
|
-
readonly
|
|
8281
|
-
readonly
|
|
8282
|
-
readonly
|
|
8283
|
-
|
|
8284
|
-
|
|
8474
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
8475
|
+
readonly cost: number & import("effect/Brand").Brand<"Money.USD">;
|
|
8476
|
+
readonly tokens: {
|
|
8477
|
+
readonly input: number;
|
|
8478
|
+
readonly output: number;
|
|
8479
|
+
readonly reasoning: number;
|
|
8480
|
+
readonly cache: {
|
|
8481
|
+
readonly read: number;
|
|
8482
|
+
readonly write: number;
|
|
8483
|
+
};
|
|
8285
8484
|
};
|
|
8286
8485
|
};
|
|
8287
8486
|
} | {
|
|
@@ -8290,14 +8489,30 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
8290
8489
|
readonly metadata?: {
|
|
8291
8490
|
readonly [x: string]: unknown;
|
|
8292
8491
|
} | undefined;
|
|
8293
|
-
readonly type: "
|
|
8492
|
+
readonly type: "shell.created";
|
|
8294
8493
|
readonly location?: {
|
|
8295
8494
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8296
8495
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8297
8496
|
} | undefined;
|
|
8298
8497
|
readonly data: {
|
|
8299
|
-
readonly
|
|
8300
|
-
|
|
8498
|
+
readonly info: {
|
|
8499
|
+
readonly id: string & import("effect/Brand").Brand<"Shell.ID">;
|
|
8500
|
+
readonly status: "exited" | "killed" | "running" | "timeout";
|
|
8501
|
+
readonly command: string;
|
|
8502
|
+
readonly cwd: string;
|
|
8503
|
+
readonly shell: string;
|
|
8504
|
+
readonly file: string;
|
|
8505
|
+
readonly pid?: number | undefined;
|
|
8506
|
+
readonly exit?: number | undefined;
|
|
8507
|
+
readonly signal?: string | undefined;
|
|
8508
|
+
readonly metadata: {
|
|
8509
|
+
readonly [x: string]: unknown;
|
|
8510
|
+
};
|
|
8511
|
+
readonly time: {
|
|
8512
|
+
readonly started: number;
|
|
8513
|
+
readonly completed?: number | undefined;
|
|
8514
|
+
};
|
|
8515
|
+
};
|
|
8301
8516
|
};
|
|
8302
8517
|
} | {
|
|
8303
8518
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -8305,209 +8520,13 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
8305
8520
|
readonly metadata?: {
|
|
8306
8521
|
readonly [x: string]: unknown;
|
|
8307
8522
|
} | undefined;
|
|
8308
|
-
readonly type: "
|
|
8523
|
+
readonly type: "shell.deleted";
|
|
8309
8524
|
readonly location?: {
|
|
8310
8525
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8311
8526
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8312
8527
|
} | undefined;
|
|
8313
8528
|
readonly data: {
|
|
8314
|
-
readonly
|
|
8315
|
-
readonly id: string & import("effect/Brand").Brand<"Form.ID">;
|
|
8316
|
-
readonly sessionID: string;
|
|
8317
|
-
readonly title: string;
|
|
8318
|
-
readonly metadata?: {
|
|
8319
|
-
readonly [x: string]: unknown;
|
|
8320
|
-
} | undefined;
|
|
8321
|
-
readonly fields: readonly [{
|
|
8322
|
-
readonly key: string;
|
|
8323
|
-
readonly title?: string | undefined;
|
|
8324
|
-
readonly description?: string | undefined;
|
|
8325
|
-
readonly required?: boolean | undefined;
|
|
8326
|
-
readonly hidden?: boolean | undefined;
|
|
8327
|
-
readonly when?: readonly {
|
|
8328
|
-
readonly key: string;
|
|
8329
|
-
readonly op: "eq" | "neq";
|
|
8330
|
-
readonly value: string | number | boolean;
|
|
8331
|
-
}[] | undefined;
|
|
8332
|
-
readonly type: "string";
|
|
8333
|
-
readonly format?: "date" | "date-time" | "email" | "uri" | undefined;
|
|
8334
|
-
readonly minLength?: number | undefined;
|
|
8335
|
-
readonly maxLength?: number | undefined;
|
|
8336
|
-
readonly pattern?: string | undefined;
|
|
8337
|
-
readonly placeholder?: string | undefined;
|
|
8338
|
-
readonly default?: string | undefined;
|
|
8339
|
-
readonly options?: readonly {
|
|
8340
|
-
readonly value: string;
|
|
8341
|
-
readonly label: string;
|
|
8342
|
-
readonly description?: string | undefined;
|
|
8343
|
-
}[] | undefined;
|
|
8344
|
-
readonly custom?: boolean | undefined;
|
|
8345
|
-
} | {
|
|
8346
|
-
readonly key: string;
|
|
8347
|
-
readonly title?: string | undefined;
|
|
8348
|
-
readonly description?: string | undefined;
|
|
8349
|
-
readonly required?: boolean | undefined;
|
|
8350
|
-
readonly hidden?: boolean | undefined;
|
|
8351
|
-
readonly when?: readonly {
|
|
8352
|
-
readonly key: string;
|
|
8353
|
-
readonly op: "eq" | "neq";
|
|
8354
|
-
readonly value: string | number | boolean;
|
|
8355
|
-
}[] | undefined;
|
|
8356
|
-
readonly type: "number";
|
|
8357
|
-
readonly minimum?: number | undefined;
|
|
8358
|
-
readonly maximum?: number | undefined;
|
|
8359
|
-
readonly default?: number | undefined;
|
|
8360
|
-
} | {
|
|
8361
|
-
readonly key: string;
|
|
8362
|
-
readonly title?: string | undefined;
|
|
8363
|
-
readonly description?: string | undefined;
|
|
8364
|
-
readonly required?: boolean | undefined;
|
|
8365
|
-
readonly hidden?: boolean | undefined;
|
|
8366
|
-
readonly when?: readonly {
|
|
8367
|
-
readonly key: string;
|
|
8368
|
-
readonly op: "eq" | "neq";
|
|
8369
|
-
readonly value: string | number | boolean;
|
|
8370
|
-
}[] | undefined;
|
|
8371
|
-
readonly type: "integer";
|
|
8372
|
-
readonly minimum?: number | undefined;
|
|
8373
|
-
readonly maximum?: number | undefined;
|
|
8374
|
-
readonly default?: number | undefined;
|
|
8375
|
-
} | {
|
|
8376
|
-
readonly key: string;
|
|
8377
|
-
readonly title?: string | undefined;
|
|
8378
|
-
readonly description?: string | undefined;
|
|
8379
|
-
readonly required?: boolean | undefined;
|
|
8380
|
-
readonly hidden?: boolean | undefined;
|
|
8381
|
-
readonly when?: readonly {
|
|
8382
|
-
readonly key: string;
|
|
8383
|
-
readonly op: "eq" | "neq";
|
|
8384
|
-
readonly value: string | number | boolean;
|
|
8385
|
-
}[] | undefined;
|
|
8386
|
-
readonly type: "boolean";
|
|
8387
|
-
readonly default?: boolean | undefined;
|
|
8388
|
-
} | {
|
|
8389
|
-
readonly key: string;
|
|
8390
|
-
readonly title?: string | undefined;
|
|
8391
|
-
readonly description?: string | undefined;
|
|
8392
|
-
readonly required?: boolean | undefined;
|
|
8393
|
-
readonly hidden?: boolean | undefined;
|
|
8394
|
-
readonly when?: readonly {
|
|
8395
|
-
readonly key: string;
|
|
8396
|
-
readonly op: "eq" | "neq";
|
|
8397
|
-
readonly value: string | number | boolean;
|
|
8398
|
-
}[] | undefined;
|
|
8399
|
-
readonly type: "multiselect";
|
|
8400
|
-
readonly options: readonly {
|
|
8401
|
-
readonly value: string;
|
|
8402
|
-
readonly label: string;
|
|
8403
|
-
readonly description?: string | undefined;
|
|
8404
|
-
}[];
|
|
8405
|
-
readonly minItems?: number | undefined;
|
|
8406
|
-
readonly maxItems?: number | undefined;
|
|
8407
|
-
readonly custom?: boolean | undefined;
|
|
8408
|
-
readonly default?: readonly string[] | undefined;
|
|
8409
|
-
} | {
|
|
8410
|
-
readonly key: string;
|
|
8411
|
-
readonly type: "external";
|
|
8412
|
-
readonly url: string;
|
|
8413
|
-
readonly title?: string | undefined;
|
|
8414
|
-
readonly description?: string | undefined;
|
|
8415
|
-
}, ...({
|
|
8416
|
-
readonly key: string;
|
|
8417
|
-
readonly title?: string | undefined;
|
|
8418
|
-
readonly description?: string | undefined;
|
|
8419
|
-
readonly required?: boolean | undefined;
|
|
8420
|
-
readonly hidden?: boolean | undefined;
|
|
8421
|
-
readonly when?: readonly {
|
|
8422
|
-
readonly key: string;
|
|
8423
|
-
readonly op: "eq" | "neq";
|
|
8424
|
-
readonly value: string | number | boolean;
|
|
8425
|
-
}[] | undefined;
|
|
8426
|
-
readonly type: "string";
|
|
8427
|
-
readonly format?: "date" | "date-time" | "email" | "uri" | undefined;
|
|
8428
|
-
readonly minLength?: number | undefined;
|
|
8429
|
-
readonly maxLength?: number | undefined;
|
|
8430
|
-
readonly pattern?: string | undefined;
|
|
8431
|
-
readonly placeholder?: string | undefined;
|
|
8432
|
-
readonly default?: string | undefined;
|
|
8433
|
-
readonly options?: readonly {
|
|
8434
|
-
readonly value: string;
|
|
8435
|
-
readonly label: string;
|
|
8436
|
-
readonly description?: string | undefined;
|
|
8437
|
-
}[] | undefined;
|
|
8438
|
-
readonly custom?: boolean | undefined;
|
|
8439
|
-
} | {
|
|
8440
|
-
readonly key: string;
|
|
8441
|
-
readonly title?: string | undefined;
|
|
8442
|
-
readonly description?: string | undefined;
|
|
8443
|
-
readonly required?: boolean | undefined;
|
|
8444
|
-
readonly hidden?: boolean | undefined;
|
|
8445
|
-
readonly when?: readonly {
|
|
8446
|
-
readonly key: string;
|
|
8447
|
-
readonly op: "eq" | "neq";
|
|
8448
|
-
readonly value: string | number | boolean;
|
|
8449
|
-
}[] | undefined;
|
|
8450
|
-
readonly type: "number";
|
|
8451
|
-
readonly minimum?: number | undefined;
|
|
8452
|
-
readonly maximum?: number | undefined;
|
|
8453
|
-
readonly default?: number | undefined;
|
|
8454
|
-
} | {
|
|
8455
|
-
readonly key: string;
|
|
8456
|
-
readonly title?: string | undefined;
|
|
8457
|
-
readonly description?: string | undefined;
|
|
8458
|
-
readonly required?: boolean | undefined;
|
|
8459
|
-
readonly hidden?: boolean | undefined;
|
|
8460
|
-
readonly when?: readonly {
|
|
8461
|
-
readonly key: string;
|
|
8462
|
-
readonly op: "eq" | "neq";
|
|
8463
|
-
readonly value: string | number | boolean;
|
|
8464
|
-
}[] | undefined;
|
|
8465
|
-
readonly type: "integer";
|
|
8466
|
-
readonly minimum?: number | undefined;
|
|
8467
|
-
readonly maximum?: number | undefined;
|
|
8468
|
-
readonly default?: number | undefined;
|
|
8469
|
-
} | {
|
|
8470
|
-
readonly key: string;
|
|
8471
|
-
readonly title?: string | undefined;
|
|
8472
|
-
readonly description?: string | undefined;
|
|
8473
|
-
readonly required?: boolean | undefined;
|
|
8474
|
-
readonly hidden?: boolean | undefined;
|
|
8475
|
-
readonly when?: readonly {
|
|
8476
|
-
readonly key: string;
|
|
8477
|
-
readonly op: "eq" | "neq";
|
|
8478
|
-
readonly value: string | number | boolean;
|
|
8479
|
-
}[] | undefined;
|
|
8480
|
-
readonly type: "boolean";
|
|
8481
|
-
readonly default?: boolean | undefined;
|
|
8482
|
-
} | {
|
|
8483
|
-
readonly key: string;
|
|
8484
|
-
readonly title?: string | undefined;
|
|
8485
|
-
readonly description?: string | undefined;
|
|
8486
|
-
readonly required?: boolean | undefined;
|
|
8487
|
-
readonly hidden?: boolean | undefined;
|
|
8488
|
-
readonly when?: readonly {
|
|
8489
|
-
readonly key: string;
|
|
8490
|
-
readonly op: "eq" | "neq";
|
|
8491
|
-
readonly value: string | number | boolean;
|
|
8492
|
-
}[] | undefined;
|
|
8493
|
-
readonly type: "multiselect";
|
|
8494
|
-
readonly options: readonly {
|
|
8495
|
-
readonly value: string;
|
|
8496
|
-
readonly label: string;
|
|
8497
|
-
readonly description?: string | undefined;
|
|
8498
|
-
}[];
|
|
8499
|
-
readonly minItems?: number | undefined;
|
|
8500
|
-
readonly maxItems?: number | undefined;
|
|
8501
|
-
readonly custom?: boolean | undefined;
|
|
8502
|
-
readonly default?: readonly string[] | undefined;
|
|
8503
|
-
} | {
|
|
8504
|
-
readonly key: string;
|
|
8505
|
-
readonly type: "external";
|
|
8506
|
-
readonly url: string;
|
|
8507
|
-
readonly title?: string | undefined;
|
|
8508
|
-
readonly description?: string | undefined;
|
|
8509
|
-
})[]];
|
|
8510
|
-
};
|
|
8529
|
+
readonly id: string & import("effect/Brand").Brand<"Shell.ID">;
|
|
8511
8530
|
};
|
|
8512
8531
|
} | {
|
|
8513
8532
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -8515,17 +8534,15 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
8515
8534
|
readonly metadata?: {
|
|
8516
8535
|
readonly [x: string]: unknown;
|
|
8517
8536
|
} | undefined;
|
|
8518
|
-
readonly type: "
|
|
8537
|
+
readonly type: "shell.exited";
|
|
8519
8538
|
readonly location?: {
|
|
8520
8539
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8521
8540
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8522
8541
|
} | undefined;
|
|
8523
8542
|
readonly data: {
|
|
8524
|
-
readonly id: string & import("effect/Brand").Brand<"
|
|
8525
|
-
readonly
|
|
8526
|
-
readonly
|
|
8527
|
-
readonly [x: string]: string | number | boolean | readonly string[];
|
|
8528
|
-
};
|
|
8543
|
+
readonly id: string & import("effect/Brand").Brand<"Shell.ID">;
|
|
8544
|
+
readonly exit?: number | undefined;
|
|
8545
|
+
readonly status: "exited" | "killed" | "running" | "timeout";
|
|
8529
8546
|
};
|
|
8530
8547
|
} | {
|
|
8531
8548
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -8533,7 +8550,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
8533
8550
|
readonly metadata?: {
|
|
8534
8551
|
readonly [x: string]: unknown;
|
|
8535
8552
|
} | undefined;
|
|
8536
|
-
readonly type: "
|
|
8553
|
+
readonly type: "skill.updated";
|
|
8537
8554
|
readonly location?: {
|
|
8538
8555
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8539
8556
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
@@ -8604,13 +8621,13 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
8604
8621
|
readonly metadata?: {
|
|
8605
8622
|
readonly [x: string]: unknown;
|
|
8606
8623
|
} | undefined;
|
|
8607
|
-
readonly type: "
|
|
8624
|
+
readonly type: "vcs.branch.updated";
|
|
8608
8625
|
readonly location?: {
|
|
8609
8626
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8610
8627
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8611
8628
|
} | undefined;
|
|
8612
8629
|
readonly data: {
|
|
8613
|
-
readonly
|
|
8630
|
+
readonly branch?: string | undefined;
|
|
8614
8631
|
};
|
|
8615
8632
|
} | {
|
|
8616
8633
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -8618,27 +8635,25 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
8618
8635
|
readonly metadata?: {
|
|
8619
8636
|
readonly [x: string]: unknown;
|
|
8620
8637
|
} | undefined;
|
|
8621
|
-
readonly type: "
|
|
8638
|
+
readonly type: "websearch.updated";
|
|
8622
8639
|
readonly location?: {
|
|
8623
8640
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8624
8641
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8625
8642
|
} | undefined;
|
|
8626
|
-
readonly data: {
|
|
8627
|
-
readonly version: string;
|
|
8628
|
-
};
|
|
8643
|
+
readonly data: {};
|
|
8629
8644
|
} | {
|
|
8630
8645
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8631
8646
|
readonly created: number;
|
|
8632
8647
|
readonly metadata?: {
|
|
8633
8648
|
readonly [x: string]: unknown;
|
|
8634
8649
|
} | undefined;
|
|
8635
|
-
readonly type: "
|
|
8650
|
+
readonly type: "worktree.updated";
|
|
8636
8651
|
readonly location?: {
|
|
8637
8652
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8638
8653
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8639
8654
|
} | undefined;
|
|
8640
8655
|
readonly data: {
|
|
8641
|
-
readonly
|
|
8656
|
+
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
8642
8657
|
};
|
|
8643
8658
|
} | {
|
|
8644
8659
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -8646,27 +8661,12 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
8646
8661
|
readonly metadata?: {
|
|
8647
8662
|
readonly [x: string]: unknown;
|
|
8648
8663
|
} | undefined;
|
|
8649
|
-
readonly type:
|
|
8650
|
-
readonly location
|
|
8664
|
+
readonly type: `rpc.${string}`;
|
|
8665
|
+
readonly location: {
|
|
8651
8666
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8652
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8653
|
-
} | undefined;
|
|
8654
|
-
readonly data: {
|
|
8655
|
-
readonly server: string;
|
|
8656
8667
|
};
|
|
8657
|
-
} | {
|
|
8658
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8659
|
-
readonly created: number;
|
|
8660
|
-
readonly metadata?: {
|
|
8661
|
-
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
8668
|
readonly data: {
|
|
8669
|
-
readonly
|
|
8669
|
+
readonly [x: string]: unknown;
|
|
8670
8670
|
};
|
|
8671
8671
|
} | {
|
|
8672
8672
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|