@opencode/server 0.0.0-dev-21400 → 0.0.0-dev-21406

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.
Files changed (86) hide show
  1. package/dist/api.d.ts +491 -491
  2. package/dist/api.js +4 -4
  3. package/dist/chunks/{workerd-n60r5keb.js → workerd-08x9tjee.js} +1 -1
  4. package/dist/chunks/{workerd-k8rzy6d4.js → workerd-0d864bga.js} +1 -1
  5. package/dist/chunks/{workerd-9mfgjndz.js → workerd-33prfkkd.js} +2 -2
  6. package/dist/chunks/{workerd-gsqctp76.js → workerd-43r48nqn.js} +2 -2
  7. package/dist/chunks/{workerd-w0jn068c.js → workerd-4d1eemzq.js} +2 -2
  8. package/dist/chunks/{workerd-6ypp9np2.js → workerd-4dv9a668.js} +2 -2
  9. package/dist/chunks/{workerd-4gnb9897.js → workerd-4hhhes7w.js} +1 -1
  10. package/dist/chunks/{workerd-5gpz4xk2.js → workerd-4jm073jw.js} +31 -31
  11. package/dist/chunks/{workerd-81hr024p.js → workerd-4nbhqhnb.js} +11 -11
  12. package/dist/chunks/{workerd-xsrtpxyd.js → workerd-5w24ch67.js} +3 -3
  13. package/dist/chunks/{workerd-ez8kk7rt.js → workerd-5zsr2h86.js} +1 -1
  14. package/dist/chunks/{workerd-jqrn6kzd.js → workerd-686p2xfa.js} +2 -2
  15. package/dist/chunks/{workerd-tp1rntzw.js → workerd-7vd5668a.js} +1 -1
  16. package/dist/chunks/{workerd-w6m4c3ew.js → workerd-7xrpjd7z.js} +4 -4
  17. package/dist/chunks/{workerd-0cppk2bc.js → workerd-8137b89p.js} +2 -2
  18. package/dist/chunks/{workerd-g0rzwe5g.js → workerd-93wjydnn.js} +6 -6
  19. package/dist/chunks/{workerd-gx9nwmym.js → workerd-97eb2r3v.js} +2 -2
  20. package/dist/chunks/{workerd-q8n44kky.js → workerd-9snwnvf8.js} +3 -3
  21. package/dist/chunks/{workerd-7j4237sy.js → workerd-aey6dvfz.js} +1 -1
  22. package/dist/chunks/{workerd-50bbk3b2.js → workerd-b56hqv74.js} +2 -2
  23. package/dist/chunks/{workerd-krpsczf8.js → workerd-bx47k33v.js} +2 -2
  24. package/dist/chunks/{workerd-vdtx70fv.js → workerd-cv0ajwc9.js} +2 -2
  25. package/dist/chunks/{workerd-ceenvzwe.js → workerd-e6x69dv2.js} +7 -7
  26. package/dist/chunks/{workerd-yv9sxhn9.js → workerd-ewe1fzkk.js} +2 -2
  27. package/dist/chunks/{workerd-mhfbkkb7.js → workerd-ftaz8n62.js} +2 -2
  28. package/dist/chunks/{workerd-3aej5azy.js → workerd-h8ws5ssa.js} +1 -1
  29. package/dist/chunks/{workerd-wm8t00a5.js → workerd-hdxm18kv.js} +1 -1
  30. package/dist/chunks/{workerd-b3bmdkga.js → workerd-j4zqsxgy.js} +1 -1
  31. package/dist/chunks/{workerd-mahm5rvs.js → workerd-ptey1p5v.js} +2 -2
  32. package/dist/chunks/{workerd-rc3nk1bx.js → workerd-qbh90c1d.js} +2 -2
  33. package/dist/chunks/{workerd-vbanrv0z.js → workerd-rf01ee6q.js} +1 -1
  34. package/dist/chunks/{workerd-mk2mz66m.js → workerd-rntbwr87.js} +2 -2
  35. package/dist/chunks/{workerd-byt4hbw9.js → workerd-sstsrjtg.js} +6 -6
  36. package/dist/chunks/{workerd-j1p3e665.js → workerd-ssyxw8nc.js} +2 -2
  37. package/dist/chunks/{workerd-3atcw39t.js → workerd-vb5yx5r0.js} +1 -1
  38. package/dist/chunks/{workerd-esbdfpyn.js → workerd-vbzm2jgm.js} +2 -2
  39. package/dist/chunks/{workerd-dr1f0hkr.js → workerd-wk806w00.js} +2 -2
  40. package/dist/chunks/{workerd-362ehr12.js → workerd-y2y8dnb4.js} +2 -2
  41. package/dist/chunks/{workerd-eaxk76q8.js → workerd-yehasrps.js} +2 -2
  42. package/dist/chunks/{workerd-7b00qdf6.js → workerd-z6sxg6td.js} +1 -1
  43. package/dist/chunks/{workerd-p6ct2ak8.js → workerd-zessacar.js} +2 -2
  44. package/dist/fetch.js +43 -43
  45. package/dist/handlers/agent.js +5 -5
  46. package/dist/handlers/command.js +5 -5
  47. package/dist/handlers/config.js +5 -5
  48. package/dist/handlers/credential.js +5 -5
  49. package/dist/handlers/debug.js +5 -5
  50. package/dist/handlers/event.js +5 -5
  51. package/dist/handlers/form.js +5 -5
  52. package/dist/handlers/fs.js +5 -5
  53. package/dist/handlers/generate.js +5 -5
  54. package/dist/handlers/integration.js +5 -5
  55. package/dist/handlers/location.js +5 -5
  56. package/dist/handlers/mcp.js +5 -5
  57. package/dist/handlers/message.js +5 -5
  58. package/dist/handlers/migration.js +5 -5
  59. package/dist/handlers/model.js +5 -5
  60. package/dist/handlers/permission.js +5 -5
  61. package/dist/handlers/persistent-pty.js +5 -5
  62. package/dist/handlers/plugin.js +5 -5
  63. package/dist/handlers/project.js +5 -5
  64. package/dist/handlers/provider.js +5 -5
  65. package/dist/handlers/pty.js +5 -5
  66. package/dist/handlers/reference.js +5 -5
  67. package/dist/handlers/rpc.js +5 -5
  68. package/dist/handlers/server.js +7 -7
  69. package/dist/handlers/session.js +5 -5
  70. package/dist/handlers/shell.js +5 -5
  71. package/dist/handlers/skill.js +5 -5
  72. package/dist/handlers/vcs.js +5 -5
  73. package/dist/handlers/voice.js +5 -5
  74. package/dist/handlers/websearch.js +5 -5
  75. package/dist/handlers/worktree.js +5 -5
  76. package/dist/handlers.js +39 -39
  77. package/dist/location.js +3 -3
  78. package/dist/middleware/form-location.js +2 -2
  79. package/dist/middleware/session-location.js +2 -2
  80. package/dist/pairing.js +3 -3
  81. package/dist/process.js +42 -42
  82. package/dist/routes.js +40 -40
  83. package/dist/server-info.js +5 -5
  84. package/dist/service-status.js +3 -3
  85. package/dist/workerd.js +42 -42
  86. package/package.json +8 -8
package/dist/api.d.ts CHANGED
@@ -6372,14 +6372,38 @@ 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: "form.cancelled";
6375
+ readonly type: "provider.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: "permission.asked";
6376
6388
  readonly location?: {
6377
6389
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
6378
6390
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
6379
6391
  } | undefined;
6380
6392
  readonly data: {
6381
- readonly id: string & import("effect/Brand").Brand<"Form.ID">;
6382
- readonly sessionID: string;
6393
+ readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
6394
+ readonly action: string;
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">;
6383
6407
  };
6384
6408
  } | {
6385
6409
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
@@ -6387,209 +6411,15 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
6387
6411
  readonly metadata?: {
6388
6412
  readonly [x: string]: unknown;
6389
6413
  } | undefined;
6390
- readonly type: "form.created";
6414
+ readonly type: "permission.replied";
6391
6415
  readonly location?: {
6392
6416
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
6393
6417
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
6394
6418
  } | undefined;
6395
6419
  readonly data: {
6396
- readonly form: {
6397
- readonly id: string & import("effect/Brand").Brand<"Form.ID">;
6398
- readonly sessionID: string;
6399
- readonly title: string;
6400
- readonly metadata?: {
6401
- readonly [x: string]: unknown;
6402
- } | undefined;
6403
- readonly fields: readonly [{
6404
- readonly key: string;
6405
- readonly title?: string | undefined;
6406
- readonly description?: string | undefined;
6407
- readonly required?: boolean | undefined;
6408
- readonly hidden?: boolean | undefined;
6409
- readonly when?: readonly {
6410
- readonly key: string;
6411
- readonly op: "eq" | "neq";
6412
- readonly value: string | number | boolean;
6413
- }[] | undefined;
6414
- readonly type: "string";
6415
- readonly format?: "date" | "date-time" | "email" | "uri" | undefined;
6416
- readonly minLength?: number | undefined;
6417
- readonly maxLength?: number | undefined;
6418
- readonly pattern?: string | undefined;
6419
- readonly placeholder?: string | undefined;
6420
- readonly default?: string | undefined;
6421
- readonly options?: readonly {
6422
- readonly value: string;
6423
- readonly label: string;
6424
- readonly description?: string | undefined;
6425
- }[] | undefined;
6426
- readonly custom?: boolean | undefined;
6427
- } | {
6428
- readonly key: string;
6429
- readonly title?: string | undefined;
6430
- readonly description?: string | undefined;
6431
- readonly required?: boolean | undefined;
6432
- readonly hidden?: boolean | undefined;
6433
- readonly when?: readonly {
6434
- readonly key: string;
6435
- readonly op: "eq" | "neq";
6436
- readonly value: string | number | boolean;
6437
- }[] | undefined;
6438
- readonly type: "number";
6439
- readonly minimum?: number | undefined;
6440
- readonly maximum?: number | undefined;
6441
- readonly default?: number | undefined;
6442
- } | {
6443
- readonly key: string;
6444
- readonly title?: string | undefined;
6445
- readonly description?: string | undefined;
6446
- readonly required?: boolean | undefined;
6447
- readonly hidden?: boolean | undefined;
6448
- readonly when?: readonly {
6449
- readonly key: string;
6450
- readonly op: "eq" | "neq";
6451
- readonly value: string | number | boolean;
6452
- }[] | undefined;
6453
- readonly type: "integer";
6454
- readonly minimum?: number | undefined;
6455
- readonly maximum?: number | undefined;
6456
- readonly default?: number | undefined;
6457
- } | {
6458
- readonly key: string;
6459
- readonly title?: string | undefined;
6460
- readonly description?: string | undefined;
6461
- readonly required?: boolean | undefined;
6462
- readonly hidden?: boolean | undefined;
6463
- readonly when?: readonly {
6464
- readonly key: string;
6465
- readonly op: "eq" | "neq";
6466
- readonly value: string | number | boolean;
6467
- }[] | undefined;
6468
- readonly type: "boolean";
6469
- readonly default?: boolean | undefined;
6470
- } | {
6471
- readonly key: string;
6472
- readonly title?: string | undefined;
6473
- readonly description?: string | undefined;
6474
- readonly required?: boolean | undefined;
6475
- readonly hidden?: boolean | undefined;
6476
- readonly when?: readonly {
6477
- readonly key: string;
6478
- readonly op: "eq" | "neq";
6479
- readonly value: string | number | boolean;
6480
- }[] | undefined;
6481
- readonly type: "multiselect";
6482
- readonly options: readonly {
6483
- readonly value: string;
6484
- readonly label: string;
6485
- readonly description?: string | undefined;
6486
- }[];
6487
- readonly minItems?: number | undefined;
6488
- readonly maxItems?: number | undefined;
6489
- readonly custom?: boolean | undefined;
6490
- readonly default?: readonly string[] | undefined;
6491
- } | {
6492
- readonly key: string;
6493
- readonly type: "external";
6494
- readonly url: string;
6495
- readonly title?: string | undefined;
6496
- readonly description?: string | undefined;
6497
- }, ...({
6498
- readonly key: string;
6499
- readonly title?: string | undefined;
6500
- readonly description?: string | undefined;
6501
- readonly required?: boolean | undefined;
6502
- readonly hidden?: boolean | undefined;
6503
- readonly when?: readonly {
6504
- readonly key: string;
6505
- readonly op: "eq" | "neq";
6506
- readonly value: string | number | boolean;
6507
- }[] | undefined;
6508
- readonly type: "string";
6509
- readonly format?: "date" | "date-time" | "email" | "uri" | undefined;
6510
- readonly minLength?: number | undefined;
6511
- readonly maxLength?: number | undefined;
6512
- readonly pattern?: string | undefined;
6513
- readonly placeholder?: string | undefined;
6514
- readonly default?: string | undefined;
6515
- readonly options?: readonly {
6516
- readonly value: string;
6517
- readonly label: string;
6518
- readonly description?: string | undefined;
6519
- }[] | undefined;
6520
- readonly custom?: boolean | undefined;
6521
- } | {
6522
- readonly key: string;
6523
- readonly title?: string | undefined;
6524
- readonly description?: string | undefined;
6525
- readonly required?: boolean | undefined;
6526
- readonly hidden?: boolean | undefined;
6527
- readonly when?: readonly {
6528
- readonly key: string;
6529
- readonly op: "eq" | "neq";
6530
- readonly value: string | number | boolean;
6531
- }[] | undefined;
6532
- readonly type: "number";
6533
- readonly minimum?: number | undefined;
6534
- readonly maximum?: number | undefined;
6535
- readonly default?: number | undefined;
6536
- } | {
6537
- readonly key: string;
6538
- readonly title?: string | undefined;
6539
- readonly description?: string | undefined;
6540
- readonly required?: boolean | undefined;
6541
- readonly hidden?: boolean | undefined;
6542
- readonly when?: readonly {
6543
- readonly key: string;
6544
- readonly op: "eq" | "neq";
6545
- readonly value: string | number | boolean;
6546
- }[] | undefined;
6547
- readonly type: "integer";
6548
- readonly minimum?: number | undefined;
6549
- readonly maximum?: number | undefined;
6550
- readonly default?: number | undefined;
6551
- } | {
6552
- readonly key: string;
6553
- readonly title?: string | undefined;
6554
- readonly description?: string | undefined;
6555
- readonly required?: boolean | undefined;
6556
- readonly hidden?: boolean | undefined;
6557
- readonly when?: readonly {
6558
- readonly key: string;
6559
- readonly op: "eq" | "neq";
6560
- readonly value: string | number | boolean;
6561
- }[] | undefined;
6562
- readonly type: "boolean";
6563
- readonly default?: boolean | undefined;
6564
- } | {
6565
- readonly key: string;
6566
- readonly title?: string | undefined;
6567
- readonly description?: string | undefined;
6568
- readonly required?: boolean | undefined;
6569
- readonly hidden?: boolean | undefined;
6570
- readonly when?: readonly {
6571
- readonly key: string;
6572
- readonly op: "eq" | "neq";
6573
- readonly value: string | number | boolean;
6574
- }[] | undefined;
6575
- readonly type: "multiselect";
6576
- readonly options: readonly {
6577
- readonly value: string;
6578
- readonly label: string;
6579
- readonly description?: string | undefined;
6580
- }[];
6581
- readonly minItems?: number | undefined;
6582
- readonly maxItems?: number | undefined;
6583
- readonly custom?: boolean | undefined;
6584
- readonly default?: readonly string[] | undefined;
6585
- } | {
6586
- readonly key: string;
6587
- readonly type: "external";
6588
- readonly url: string;
6589
- readonly title?: string | undefined;
6590
- readonly description?: string | undefined;
6591
- })[]];
6592
- };
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";
6593
6423
  };
6594
6424
  } | {
6595
6425
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
@@ -6597,18 +6427,193 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
6597
6427
  readonly metadata?: {
6598
6428
  readonly [x: string]: unknown;
6599
6429
  } | undefined;
6600
- readonly type: "form.replied";
6430
+ readonly type: "filesystem.changed";
6601
6431
  readonly location?: {
6602
6432
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
6603
6433
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
6604
6434
  } | undefined;
6605
6435
  readonly data: {
6606
- readonly id: string & import("effect/Brand").Brand<"Form.ID">;
6607
- readonly sessionID: string;
6608
- readonly answer: {
6609
- readonly [x: string]: string | number | boolean | readonly string[];
6610
- };
6436
+ readonly file: string;
6437
+ readonly event: "add" | "change" | "unlink";
6438
+ };
6439
+ } | {
6440
+ readonly id: string & import("effect/Brand").Brand<"Event.ID">;
6441
+ readonly created: number;
6442
+ readonly metadata?: {
6443
+ readonly [x: string]: unknown;
6444
+ } | undefined;
6445
+ readonly type: "worktree.resolved";
6446
+ readonly durable: {
6447
+ readonly aggregateID: string;
6448
+ readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
6449
+ readonly version: number & import("effect/Brand").Brand<"Event.Version">;
6450
+ };
6451
+ readonly location?: {
6452
+ readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
6453
+ readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
6454
+ } | undefined;
6455
+ readonly data: {
6456
+ readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
6457
+ readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
6458
+ readonly previous: string & import("effect/Brand").Brand<"Project.ID">;
6459
+ readonly adopted?: readonly (string & import("effect/Brand").Brand<"Project.ID">)[] | undefined;
6460
+ };
6461
+ } | {
6462
+ readonly id: string & import("effect/Brand").Brand<"Event.ID">;
6463
+ readonly created: number;
6464
+ readonly metadata?: {
6465
+ readonly [x: string]: unknown;
6466
+ } | undefined;
6467
+ readonly type: "worktree.updated";
6468
+ readonly location?: {
6469
+ readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
6470
+ readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
6471
+ } | undefined;
6472
+ readonly data: {
6473
+ readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
6474
+ };
6475
+ } | {
6476
+ readonly id: string & import("effect/Brand").Brand<"Event.ID">;
6477
+ readonly created: number;
6478
+ readonly metadata?: {
6479
+ readonly [x: string]: unknown;
6480
+ } | undefined;
6481
+ readonly type: "installation.update-available";
6482
+ readonly location?: {
6483
+ readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
6484
+ readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
6485
+ } | undefined;
6486
+ readonly data: {
6487
+ readonly version: string;
6488
+ };
6489
+ } | {
6490
+ readonly id: string & import("effect/Brand").Brand<"Event.ID">;
6491
+ readonly created: number;
6492
+ readonly metadata?: {
6493
+ readonly [x: string]: unknown;
6494
+ } | undefined;
6495
+ readonly type: "installation.updated";
6496
+ readonly location?: {
6497
+ readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
6498
+ readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
6499
+ } | undefined;
6500
+ readonly data: {
6501
+ readonly version: string;
6611
6502
  };
6503
+ } | {
6504
+ readonly id: string & import("effect/Brand").Brand<"Event.ID">;
6505
+ readonly created: number;
6506
+ readonly metadata?: {
6507
+ readonly [x: string]: unknown;
6508
+ } | undefined;
6509
+ readonly type: "models-dev.refreshed";
6510
+ readonly location?: {
6511
+ readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
6512
+ readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
6513
+ } | undefined;
6514
+ readonly data: {};
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";
6534
+ readonly location?: {
6535
+ readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
6536
+ readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
6537
+ } | undefined;
6538
+ readonly data: {
6539
+ readonly branch?: string | undefined;
6540
+ };
6541
+ } | {
6542
+ readonly id: string & import("effect/Brand").Brand<"Event.ID">;
6543
+ readonly created: number;
6544
+ readonly metadata?: {
6545
+ readonly [x: string]: unknown;
6546
+ } | undefined;
6547
+ readonly type: `rpc.${string}`;
6548
+ readonly location: {
6549
+ readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
6550
+ };
6551
+ readonly data: {
6552
+ readonly [x: string]: unknown;
6553
+ };
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
+ readonly location?: {
6562
+ readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
6563
+ readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
6564
+ } | undefined;
6565
+ readonly data: {};
6566
+ } | {
6567
+ readonly id: string & import("effect/Brand").Brand<"Event.ID">;
6568
+ readonly created: number;
6569
+ readonly metadata?: {
6570
+ readonly [x: string]: unknown;
6571
+ } | undefined;
6572
+ readonly type: "credential.switched";
6573
+ readonly location?: {
6574
+ readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
6575
+ readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
6576
+ } | undefined;
6577
+ readonly data: {
6578
+ readonly integrationID: string & import("effect/Brand").Brand<"Integration.ID">;
6579
+ readonly credentialID: (string & import("effect/Brand").Brand<"Credential.ID">) | null;
6580
+ };
6581
+ } | {
6582
+ readonly id: string & import("effect/Brand").Brand<"Event.ID">;
6583
+ readonly created: number;
6584
+ readonly metadata?: {
6585
+ readonly [x: string]: unknown;
6586
+ } | undefined;
6587
+ readonly type: "credential.updated";
6588
+ readonly location?: {
6589
+ readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
6590
+ readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
6591
+ } | undefined;
6592
+ readonly data: {};
6593
+ } | {
6594
+ readonly id: string & import("effect/Brand").Brand<"Event.ID">;
6595
+ readonly created: number;
6596
+ readonly metadata?: {
6597
+ readonly [x: string]: unknown;
6598
+ } | undefined;
6599
+ readonly type: "integration.updated";
6600
+ readonly location?: {
6601
+ readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
6602
+ readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
6603
+ } | undefined;
6604
+ readonly data: {};
6605
+ } | {
6606
+ readonly id: string & import("effect/Brand").Brand<"Event.ID">;
6607
+ readonly created: number;
6608
+ readonly metadata?: {
6609
+ readonly [x: string]: unknown;
6610
+ } | undefined;
6611
+ readonly type: "model.updated";
6612
+ readonly location?: {
6613
+ readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
6614
+ readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
6615
+ } | undefined;
6616
+ readonly data: {};
6612
6617
  } | {
6613
6618
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
6614
6619
  readonly created: number;
@@ -8016,7 +8021,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
8016
8021
  readonly metadata?: {
8017
8022
  readonly [x: string]: unknown;
8018
8023
  } | undefined;
8019
- readonly type: "websearch.updated";
8024
+ readonly type: "plugin.updated";
8020
8025
  readonly location?: {
8021
8026
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
8022
8027
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
@@ -8028,21 +8033,31 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
8028
8033
  readonly metadata?: {
8029
8034
  readonly [x: string]: unknown;
8030
8035
  } | undefined;
8031
- readonly type: "worktree.resolved";
8032
- readonly durable: {
8033
- readonly aggregateID: string;
8034
- readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
8035
- readonly version: number & import("effect/Brand").Brand<"Event.Version">;
8036
- };
8036
+ readonly type: "project.updated";
8037
8037
  readonly location?: {
8038
8038
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
8039
8039
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
8040
8040
  } | undefined;
8041
8041
  readonly data: {
8042
- readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
8043
- readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
8044
- readonly previous: string & import("effect/Brand").Brand<"Project.ID">;
8045
- readonly adopted?: readonly (string & import("effect/Brand").Brand<"Project.ID">)[] | undefined;
8042
+ readonly id: string & import("effect/Brand").Brand<"Project.ID">;
8043
+ readonly canonical: string & import("effect/Brand").Brand<"AbsolutePath">;
8044
+ readonly vcs?: string | undefined;
8045
+ readonly name?: string | undefined;
8046
+ readonly icon?: {
8047
+ readonly url?: string | undefined;
8048
+ readonly override?: string | undefined;
8049
+ readonly color?: string | undefined;
8050
+ } | undefined;
8051
+ readonly commands?: {
8052
+ readonly start?: string | undefined;
8053
+ } | undefined;
8054
+ readonly time: {
8055
+ readonly created: number;
8056
+ readonly updated: number;
8057
+ readonly active: number;
8058
+ readonly archived?: number | undefined;
8059
+ };
8060
+ readonly sandboxes: readonly string[];
8046
8061
  };
8047
8062
  } | {
8048
8063
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
@@ -8050,14 +8065,36 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
8050
8065
  readonly metadata?: {
8051
8066
  readonly [x: string]: unknown;
8052
8067
  } | undefined;
8053
- readonly type: "worktree.updated";
8068
+ readonly type: "command.updated";
8069
+ readonly location?: {
8070
+ readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
8071
+ readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
8072
+ } | 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?: {
8082
+ readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
8083
+ readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
8084
+ } | undefined;
8085
+ readonly data: {};
8086
+ } | {
8087
+ readonly id: string & import("effect/Brand").Brand<"Event.ID">;
8088
+ readonly created: number;
8089
+ readonly metadata?: {
8090
+ readonly [x: string]: unknown;
8091
+ } | undefined;
8092
+ readonly type: "skill.updated";
8054
8093
  readonly location?: {
8055
8094
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
8056
8095
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
8057
8096
  } | undefined;
8058
- readonly data: {
8059
- readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
8060
- };
8097
+ readonly data: {};
8061
8098
  } | {
8062
8099
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
8063
8100
  readonly created: number;
@@ -8188,38 +8225,30 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
8188
8225
  readonly metadata?: {
8189
8226
  readonly [x: string]: unknown;
8190
8227
  } | undefined;
8191
- readonly type: "location.shutdown";
8192
- readonly location?: {
8193
- readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
8194
- readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
8195
- } | undefined;
8196
- readonly data: {};
8197
- } | {
8198
- readonly id: string & import("effect/Brand").Brand<"Event.ID">;
8199
- readonly created: number;
8200
- readonly metadata?: {
8201
- readonly [x: string]: unknown;
8202
- } | undefined;
8203
- readonly type: "models-dev.refreshed";
8204
- readonly location?: {
8205
- readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
8206
- readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
8207
- } | undefined;
8208
- readonly data: {};
8209
- } | {
8210
- readonly id: string & import("effect/Brand").Brand<"Event.ID">;
8211
- readonly created: number;
8212
- readonly metadata?: {
8213
- readonly [x: string]: unknown;
8214
- } | undefined;
8215
- readonly type: "credential.switched";
8228
+ readonly type: "shell.created";
8216
8229
  readonly location?: {
8217
8230
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
8218
8231
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
8219
8232
  } | undefined;
8220
8233
  readonly data: {
8221
- readonly integrationID: string & import("effect/Brand").Brand<"Integration.ID">;
8222
- readonly credentialID: (string & import("effect/Brand").Brand<"Credential.ID">) | null;
8234
+ readonly info: {
8235
+ readonly id: string & import("effect/Brand").Brand<"Shell.ID">;
8236
+ readonly status: "exited" | "killed" | "running" | "timeout";
8237
+ readonly command: string;
8238
+ readonly cwd: string;
8239
+ readonly shell: string;
8240
+ readonly file: string;
8241
+ readonly pid?: number | undefined;
8242
+ readonly exit?: number | undefined;
8243
+ readonly signal?: string | undefined;
8244
+ readonly metadata: {
8245
+ readonly [x: string]: unknown;
8246
+ };
8247
+ readonly time: {
8248
+ readonly started: number;
8249
+ readonly completed?: number | undefined;
8250
+ };
8251
+ };
8223
8252
  };
8224
8253
  } | {
8225
8254
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
@@ -8227,62 +8256,13 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
8227
8256
  readonly metadata?: {
8228
8257
  readonly [x: string]: unknown;
8229
8258
  } | undefined;
8230
- readonly type: "credential.updated";
8231
- readonly location?: {
8232
- readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
8233
- readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
8234
- } | undefined;
8235
- readonly data: {};
8236
- } | {
8237
- readonly id: string & import("effect/Brand").Brand<"Event.ID">;
8238
- readonly created: number;
8239
- readonly metadata?: {
8240
- readonly [x: string]: unknown;
8241
- } | undefined;
8242
- readonly type: "integration.updated";
8243
- readonly location?: {
8244
- readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
8245
- readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
8246
- } | undefined;
8247
- readonly data: {};
8248
- } | {
8249
- readonly id: string & import("effect/Brand").Brand<"Event.ID">;
8250
- readonly created: number;
8251
- readonly metadata?: {
8252
- readonly [x: string]: unknown;
8253
- } | undefined;
8254
- readonly type: "provider.updated";
8255
- readonly location?: {
8256
- readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
8257
- readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
8258
- } | undefined;
8259
- readonly data: {};
8260
- } | {
8261
- readonly id: string & import("effect/Brand").Brand<"Event.ID">;
8262
- readonly created: number;
8263
- readonly metadata?: {
8264
- readonly [x: string]: unknown;
8265
- } | undefined;
8266
- readonly type: "model.updated";
8267
- readonly location?: {
8268
- readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
8269
- readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
8270
- } | undefined;
8271
- readonly data: {};
8272
- } | {
8273
- readonly id: string & import("effect/Brand").Brand<"Event.ID">;
8274
- readonly created: number;
8275
- readonly metadata?: {
8276
- readonly [x: string]: unknown;
8277
- } | undefined;
8278
- readonly type: "filesystem.changed";
8259
+ readonly type: "shell.deleted";
8279
8260
  readonly location?: {
8280
8261
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
8281
8262
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
8282
8263
  } | undefined;
8283
8264
  readonly data: {
8284
- readonly file: string;
8285
- readonly event: "add" | "change" | "unlink";
8265
+ readonly id: string & import("effect/Brand").Brand<"Shell.ID">;
8286
8266
  };
8287
8267
  } | {
8288
8268
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
@@ -8290,38 +8270,15 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
8290
8270
  readonly metadata?: {
8291
8271
  readonly [x: string]: unknown;
8292
8272
  } | undefined;
8293
- readonly type: "reference.updated";
8294
- readonly location?: {
8295
- readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
8296
- readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
8297
- } | undefined;
8298
- readonly data: {};
8299
- } | {
8300
- readonly id: string & import("effect/Brand").Brand<"Event.ID">;
8301
- readonly created: number;
8302
- readonly metadata?: {
8303
- readonly [x: string]: unknown;
8304
- } | undefined;
8305
- readonly type: "permission.asked";
8273
+ readonly type: "shell.exited";
8306
8274
  readonly location?: {
8307
8275
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
8308
8276
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
8309
8277
  } | undefined;
8310
8278
  readonly data: {
8311
- readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
8312
- readonly action: string;
8313
- readonly resources: readonly string[];
8314
- readonly save?: readonly string[] | undefined;
8315
- readonly metadata?: {
8316
- readonly [x: string]: unknown;
8317
- } | undefined;
8318
- readonly source?: {
8319
- readonly type: "tool";
8320
- readonly messageID: string;
8321
- readonly id: string;
8322
- } | undefined;
8323
- readonly message?: string | undefined;
8324
- readonly id: string & import("effect/Brand").Brand<"Permission.ID">;
8279
+ readonly id: string & import("effect/Brand").Brand<"Shell.ID">;
8280
+ readonly exit?: number | undefined;
8281
+ readonly status: "exited" | "killed" | "running" | "timeout";
8325
8282
  };
8326
8283
  } | {
8327
8284
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
@@ -8329,15 +8286,14 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
8329
8286
  readonly metadata?: {
8330
8287
  readonly [x: string]: unknown;
8331
8288
  } | undefined;
8332
- readonly type: "permission.replied";
8289
+ readonly type: "form.cancelled";
8333
8290
  readonly location?: {
8334
8291
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
8335
8292
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
8336
8293
  } | undefined;
8337
8294
  readonly data: {
8338
- readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
8339
- readonly requestID: string & import("effect/Brand").Brand<"Permission.ID">;
8340
- readonly reply: "always" | "once" | "reject";
8295
+ readonly id: string & import("effect/Brand").Brand<"Form.ID">;
8296
+ readonly sessionID: string;
8341
8297
  };
8342
8298
  } | {
8343
8299
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
@@ -8345,43 +8301,209 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
8345
8301
  readonly metadata?: {
8346
8302
  readonly [x: string]: unknown;
8347
8303
  } | undefined;
8348
- readonly type: "plugin.updated";
8349
- readonly location?: {
8350
- readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
8351
- readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
8352
- } | undefined;
8353
- readonly data: {};
8354
- } | {
8355
- readonly id: string & import("effect/Brand").Brand<"Event.ID">;
8356
- readonly created: number;
8357
- readonly metadata?: {
8358
- readonly [x: string]: unknown;
8359
- } | undefined;
8360
- readonly type: "project.updated";
8304
+ readonly type: "form.created";
8361
8305
  readonly location?: {
8362
8306
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
8363
8307
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
8364
8308
  } | undefined;
8365
8309
  readonly data: {
8366
- readonly id: string & import("effect/Brand").Brand<"Project.ID">;
8367
- readonly canonical: string & import("effect/Brand").Brand<"AbsolutePath">;
8368
- readonly vcs?: string | undefined;
8369
- readonly name?: string | undefined;
8370
- readonly icon?: {
8371
- readonly url?: string | undefined;
8372
- readonly override?: string | undefined;
8373
- readonly color?: string | undefined;
8374
- } | undefined;
8375
- readonly commands?: {
8376
- readonly start?: string | undefined;
8377
- } | undefined;
8378
- readonly time: {
8379
- readonly created: number;
8380
- readonly updated: number;
8381
- readonly active: number;
8382
- readonly archived?: number | undefined;
8310
+ readonly form: {
8311
+ readonly id: string & import("effect/Brand").Brand<"Form.ID">;
8312
+ readonly sessionID: string;
8313
+ readonly title: string;
8314
+ readonly metadata?: {
8315
+ readonly [x: string]: unknown;
8316
+ } | undefined;
8317
+ readonly fields: readonly [{
8318
+ readonly key: string;
8319
+ readonly title?: string | undefined;
8320
+ readonly description?: string | undefined;
8321
+ readonly required?: boolean | undefined;
8322
+ readonly hidden?: boolean | undefined;
8323
+ readonly when?: readonly {
8324
+ readonly key: string;
8325
+ readonly op: "eq" | "neq";
8326
+ readonly value: string | number | boolean;
8327
+ }[] | undefined;
8328
+ readonly type: "string";
8329
+ readonly format?: "date" | "date-time" | "email" | "uri" | undefined;
8330
+ readonly minLength?: number | undefined;
8331
+ readonly maxLength?: number | undefined;
8332
+ readonly pattern?: string | undefined;
8333
+ readonly placeholder?: string | undefined;
8334
+ readonly default?: string | undefined;
8335
+ readonly options?: readonly {
8336
+ readonly value: string;
8337
+ readonly label: string;
8338
+ readonly description?: string | undefined;
8339
+ }[] | undefined;
8340
+ readonly custom?: boolean | undefined;
8341
+ } | {
8342
+ readonly key: string;
8343
+ readonly title?: string | undefined;
8344
+ readonly description?: string | undefined;
8345
+ readonly required?: boolean | undefined;
8346
+ readonly hidden?: boolean | undefined;
8347
+ readonly when?: readonly {
8348
+ readonly key: string;
8349
+ readonly op: "eq" | "neq";
8350
+ readonly value: string | number | boolean;
8351
+ }[] | undefined;
8352
+ readonly type: "number";
8353
+ readonly minimum?: number | undefined;
8354
+ readonly maximum?: number | undefined;
8355
+ readonly default?: number | undefined;
8356
+ } | {
8357
+ readonly key: string;
8358
+ readonly title?: string | undefined;
8359
+ readonly description?: string | undefined;
8360
+ readonly required?: boolean | undefined;
8361
+ readonly hidden?: boolean | undefined;
8362
+ readonly when?: readonly {
8363
+ readonly key: string;
8364
+ readonly op: "eq" | "neq";
8365
+ readonly value: string | number | boolean;
8366
+ }[] | undefined;
8367
+ readonly type: "integer";
8368
+ readonly minimum?: number | undefined;
8369
+ readonly maximum?: number | undefined;
8370
+ readonly default?: number | undefined;
8371
+ } | {
8372
+ readonly key: string;
8373
+ readonly title?: string | undefined;
8374
+ readonly description?: string | undefined;
8375
+ readonly required?: boolean | undefined;
8376
+ readonly hidden?: boolean | undefined;
8377
+ readonly when?: readonly {
8378
+ readonly key: string;
8379
+ readonly op: "eq" | "neq";
8380
+ readonly value: string | number | boolean;
8381
+ }[] | undefined;
8382
+ readonly type: "boolean";
8383
+ readonly default?: boolean | undefined;
8384
+ } | {
8385
+ readonly key: string;
8386
+ readonly title?: string | undefined;
8387
+ readonly description?: string | undefined;
8388
+ readonly required?: boolean | undefined;
8389
+ readonly hidden?: boolean | undefined;
8390
+ readonly when?: readonly {
8391
+ readonly key: string;
8392
+ readonly op: "eq" | "neq";
8393
+ readonly value: string | number | boolean;
8394
+ }[] | undefined;
8395
+ readonly type: "multiselect";
8396
+ readonly options: readonly {
8397
+ readonly value: string;
8398
+ readonly label: string;
8399
+ readonly description?: string | undefined;
8400
+ }[];
8401
+ readonly minItems?: number | undefined;
8402
+ readonly maxItems?: number | undefined;
8403
+ readonly custom?: boolean | undefined;
8404
+ readonly default?: readonly string[] | undefined;
8405
+ } | {
8406
+ readonly key: string;
8407
+ readonly type: "external";
8408
+ readonly url: string;
8409
+ readonly title?: string | undefined;
8410
+ readonly description?: string | undefined;
8411
+ }, ...({
8412
+ readonly key: string;
8413
+ readonly title?: string | undefined;
8414
+ readonly description?: string | undefined;
8415
+ readonly required?: boolean | undefined;
8416
+ readonly hidden?: boolean | undefined;
8417
+ readonly when?: readonly {
8418
+ readonly key: string;
8419
+ readonly op: "eq" | "neq";
8420
+ readonly value: string | number | boolean;
8421
+ }[] | undefined;
8422
+ readonly type: "string";
8423
+ readonly format?: "date" | "date-time" | "email" | "uri" | undefined;
8424
+ readonly minLength?: number | undefined;
8425
+ readonly maxLength?: number | undefined;
8426
+ readonly pattern?: string | undefined;
8427
+ readonly placeholder?: string | undefined;
8428
+ readonly default?: string | undefined;
8429
+ readonly options?: readonly {
8430
+ readonly value: string;
8431
+ readonly label: string;
8432
+ readonly description?: string | undefined;
8433
+ }[] | undefined;
8434
+ readonly custom?: boolean | undefined;
8435
+ } | {
8436
+ readonly key: string;
8437
+ readonly title?: string | undefined;
8438
+ readonly description?: string | undefined;
8439
+ readonly required?: boolean | undefined;
8440
+ readonly hidden?: boolean | undefined;
8441
+ readonly when?: readonly {
8442
+ readonly key: string;
8443
+ readonly op: "eq" | "neq";
8444
+ readonly value: string | number | boolean;
8445
+ }[] | undefined;
8446
+ readonly type: "number";
8447
+ readonly minimum?: number | undefined;
8448
+ readonly maximum?: number | undefined;
8449
+ readonly default?: number | undefined;
8450
+ } | {
8451
+ readonly key: string;
8452
+ readonly title?: string | undefined;
8453
+ readonly description?: string | undefined;
8454
+ readonly required?: boolean | undefined;
8455
+ readonly hidden?: boolean | undefined;
8456
+ readonly when?: readonly {
8457
+ readonly key: string;
8458
+ readonly op: "eq" | "neq";
8459
+ readonly value: string | number | boolean;
8460
+ }[] | undefined;
8461
+ readonly type: "integer";
8462
+ readonly minimum?: number | undefined;
8463
+ readonly maximum?: number | undefined;
8464
+ readonly default?: number | undefined;
8465
+ } | {
8466
+ readonly key: string;
8467
+ readonly title?: string | undefined;
8468
+ readonly description?: string | undefined;
8469
+ readonly required?: boolean | undefined;
8470
+ readonly hidden?: boolean | undefined;
8471
+ readonly when?: readonly {
8472
+ readonly key: string;
8473
+ readonly op: "eq" | "neq";
8474
+ readonly value: string | number | boolean;
8475
+ }[] | undefined;
8476
+ readonly type: "boolean";
8477
+ readonly default?: boolean | undefined;
8478
+ } | {
8479
+ readonly key: string;
8480
+ readonly title?: string | undefined;
8481
+ readonly description?: string | undefined;
8482
+ readonly required?: boolean | undefined;
8483
+ readonly hidden?: boolean | undefined;
8484
+ readonly when?: readonly {
8485
+ readonly key: string;
8486
+ readonly op: "eq" | "neq";
8487
+ readonly value: string | number | boolean;
8488
+ }[] | undefined;
8489
+ readonly type: "multiselect";
8490
+ readonly options: readonly {
8491
+ readonly value: string;
8492
+ readonly label: string;
8493
+ readonly description?: string | undefined;
8494
+ }[];
8495
+ readonly minItems?: number | undefined;
8496
+ readonly maxItems?: number | undefined;
8497
+ readonly custom?: boolean | undefined;
8498
+ readonly default?: readonly string[] | undefined;
8499
+ } | {
8500
+ readonly key: string;
8501
+ readonly type: "external";
8502
+ readonly url: string;
8503
+ readonly title?: string | undefined;
8504
+ readonly description?: string | undefined;
8505
+ })[]];
8383
8506
  };
8384
- readonly sandboxes: readonly string[];
8385
8507
  };
8386
8508
  } | {
8387
8509
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
@@ -8389,65 +8511,16 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
8389
8511
  readonly metadata?: {
8390
8512
  readonly [x: string]: unknown;
8391
8513
  } | undefined;
8392
- readonly type: "command.updated";
8393
- readonly location?: {
8394
- readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
8395
- readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
8396
- } | undefined;
8397
- readonly data: {};
8398
- } | {
8399
- readonly id: string & import("effect/Brand").Brand<"Event.ID">;
8400
- readonly created: number;
8401
- readonly metadata?: {
8402
- readonly [x: string]: unknown;
8403
- } | undefined;
8404
- readonly type: "config.updated";
8405
- readonly location?: {
8406
- readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
8407
- readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
8408
- } | undefined;
8409
- readonly data: {};
8410
- } | {
8411
- readonly id: string & import("effect/Brand").Brand<"Event.ID">;
8412
- readonly created: number;
8413
- readonly metadata?: {
8414
- readonly [x: string]: unknown;
8415
- } | undefined;
8416
- readonly type: "skill.updated";
8417
- readonly location?: {
8418
- readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
8419
- readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
8420
- } | undefined;
8421
- readonly data: {};
8422
- } | {
8423
- readonly id: string & import("effect/Brand").Brand<"Event.ID">;
8424
- readonly created: number;
8425
- readonly metadata?: {
8426
- readonly [x: string]: unknown;
8427
- } | undefined;
8428
- readonly type: "shell.created";
8514
+ readonly type: "form.replied";
8429
8515
  readonly location?: {
8430
8516
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
8431
8517
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
8432
8518
  } | undefined;
8433
8519
  readonly data: {
8434
- readonly info: {
8435
- readonly id: string & import("effect/Brand").Brand<"Shell.ID">;
8436
- readonly status: "exited" | "killed" | "running" | "timeout";
8437
- readonly command: string;
8438
- readonly cwd: string;
8439
- readonly shell: string;
8440
- readonly file: string;
8441
- readonly pid?: number | undefined;
8442
- readonly exit?: number | undefined;
8443
- readonly signal?: string | undefined;
8444
- readonly metadata: {
8445
- readonly [x: string]: unknown;
8446
- };
8447
- readonly time: {
8448
- readonly started: number;
8449
- readonly completed?: number | undefined;
8450
- };
8520
+ readonly id: string & import("effect/Brand").Brand<"Form.ID">;
8521
+ readonly sessionID: string;
8522
+ readonly answer: {
8523
+ readonly [x: string]: string | number | boolean | readonly string[];
8451
8524
  };
8452
8525
  };
8453
8526
  } | {
@@ -8456,30 +8529,12 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
8456
8529
  readonly metadata?: {
8457
8530
  readonly [x: string]: unknown;
8458
8531
  } | undefined;
8459
- readonly type: "shell.deleted";
8460
- readonly location?: {
8461
- readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
8462
- readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
8463
- } | undefined;
8464
- readonly data: {
8465
- readonly id: string & import("effect/Brand").Brand<"Shell.ID">;
8466
- };
8467
- } | {
8468
- readonly id: string & import("effect/Brand").Brand<"Event.ID">;
8469
- readonly created: number;
8470
- readonly metadata?: {
8471
- readonly [x: string]: unknown;
8472
- } | undefined;
8473
- readonly type: "shell.exited";
8532
+ readonly type: "websearch.updated";
8474
8533
  readonly location?: {
8475
8534
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
8476
8535
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
8477
8536
  } | undefined;
8478
- readonly data: {
8479
- readonly id: string & import("effect/Brand").Brand<"Shell.ID">;
8480
- readonly exit?: number | undefined;
8481
- readonly status: "exited" | "killed" | "running" | "timeout";
8482
- };
8537
+ readonly data: {};
8483
8538
  } | {
8484
8539
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
8485
8540
  readonly created: number;
@@ -8585,48 +8640,6 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
8585
8640
  readonly variant: "error" | "info" | "success" | "warning";
8586
8641
  readonly duration: number;
8587
8642
  };
8588
- } | {
8589
- readonly id: string & import("effect/Brand").Brand<"Event.ID">;
8590
- readonly created: number;
8591
- readonly metadata?: {
8592
- readonly [x: string]: unknown;
8593
- } | undefined;
8594
- readonly type: "installation.update-available";
8595
- readonly location?: {
8596
- readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
8597
- readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
8598
- } | undefined;
8599
- readonly data: {
8600
- readonly version: string;
8601
- };
8602
- } | {
8603
- readonly id: string & import("effect/Brand").Brand<"Event.ID">;
8604
- readonly created: number;
8605
- readonly metadata?: {
8606
- readonly [x: string]: unknown;
8607
- } | undefined;
8608
- readonly type: "installation.updated";
8609
- readonly location?: {
8610
- readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
8611
- readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
8612
- } | undefined;
8613
- readonly data: {
8614
- readonly version: string;
8615
- };
8616
- } | {
8617
- readonly id: string & import("effect/Brand").Brand<"Event.ID">;
8618
- readonly created: number;
8619
- readonly metadata?: {
8620
- readonly [x: string]: unknown;
8621
- } | undefined;
8622
- readonly type: "vcs.branch.updated";
8623
- readonly location?: {
8624
- readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
8625
- readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
8626
- } | undefined;
8627
- readonly data: {
8628
- readonly branch?: string | undefined;
8629
- };
8630
8643
  } | {
8631
8644
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
8632
8645
  readonly created: number;
@@ -8655,19 +8668,6 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
8655
8668
  readonly data: {
8656
8669
  readonly server: string;
8657
8670
  };
8658
- } | {
8659
- readonly id: string & import("effect/Brand").Brand<"Event.ID">;
8660
- readonly created: number;
8661
- readonly metadata?: {
8662
- readonly [x: string]: unknown;
8663
- } | undefined;
8664
- readonly type: `rpc.${string}`;
8665
- readonly location: {
8666
- readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
8667
- };
8668
- readonly data: {
8669
- readonly [x: string]: unknown;
8670
- };
8671
8671
  } | {
8672
8672
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
8673
8673
  readonly metadata?: {