@opencode/server 0.0.0-dev-21120 → 0.0.0-dev-21143
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 +379 -379
- package/dist/api.js +5 -5
- package/dist/auth.js +1 -1
- package/dist/chunks/{cors-qx5ydgm0.js → request-tracing-08x9tjee.js} +1 -1
- package/dist/chunks/{cors-3d7qdbre.js → request-tracing-0d864bga.js} +1 -1
- package/dist/chunks/{cors-mvt7sabq.js → request-tracing-23m7gzvp.js} +7 -7
- package/dist/chunks/{cors-s0qm098c.js → request-tracing-43r48nqn.js} +2 -2
- package/dist/chunks/{cors-gq8jw616.js → request-tracing-4d1eemzq.js} +2 -2
- package/dist/chunks/{cors-t4c683g8.js → request-tracing-4dv9a668.js} +2 -2
- package/dist/chunks/{cors-4gnb9897.js → request-tracing-4hhhes7w.js} +1 -1
- package/dist/chunks/{cors-54sczv30.js → request-tracing-5ybpxcad.js} +7 -7
- package/dist/chunks/{cors-hwqxzcvy.js → request-tracing-5zsr2h86.js} +1 -1
- package/dist/chunks/{cors-xwnn9gpm.js → request-tracing-686p2xfa.js} +2 -2
- package/dist/chunks/{cors-zfbzqd0e.js → request-tracing-7vd5668a.js} +1 -1
- package/dist/chunks/{cors-jd2d9483.js → request-tracing-8137b89p.js} +2 -2
- package/dist/chunks/{cors-fazm2c7b.js → request-tracing-97eb2r3v.js} +2 -2
- package/dist/chunks/{cors-4nbah0zs.js → request-tracing-9snwnvf8.js} +3 -3
- package/dist/chunks/{cors-sc3gatcy.js → request-tracing-aey6dvfz.js} +3 -3
- package/dist/chunks/{cors-anm12x33.js → request-tracing-anm12x33.js} +1 -1
- package/dist/chunks/{cors-50bbk3b2.js → request-tracing-b56hqv74.js} +3 -3
- package/dist/chunks/{cors-547pgmmc.js → request-tracing-bx47k33v.js} +2 -2
- package/dist/chunks/{cors-wexwfee0.js → request-tracing-cv0ajwc9.js} +2 -2
- package/dist/chunks/{cors-cpp0zjdy.js → request-tracing-ewe1fzkk.js} +2 -2
- package/dist/chunks/{cors-jk5edc6h.js → request-tracing-ftaz8n62.js} +2 -2
- package/dist/chunks/{cors-y4dgn2zz.js → request-tracing-gp8d6jez.js} +6 -6
- package/dist/chunks/{cors-7xe5pzvy.js → request-tracing-h8ws5ssa.js} +1 -1
- package/dist/chunks/{cors-b3bmdkga.js → request-tracing-j4zqsxgy.js} +1 -1
- package/dist/chunks/{cors-3e4ee6x1.js → request-tracing-jwpncp1s.js} +34 -34
- package/dist/chunks/{cors-c6kb7fmf.js → request-tracing-k7wggcq2.js} +5 -5
- package/dist/chunks/{cors-fysmzcya.js → request-tracing-ptey1p5v.js} +2 -2
- package/dist/chunks/{cors-gw6rc7x0.js → request-tracing-qbh90c1d.js} +2 -2
- package/dist/chunks/{cors-byt4hbw9.js → request-tracing-rbn15j6z.js} +8 -8
- package/dist/chunks/{cors-tp6qcw6t.js → request-tracing-rf01ee6q.js} +1 -1
- package/dist/chunks/{cors-g7sdbt1s.js → request-tracing-rntbwr87.js} +2 -2
- package/dist/chunks/{cors-1k50ch1s.js → request-tracing-rxaz4xsm.js} +3 -3
- package/dist/chunks/{cors-qcfps8nc.js → request-tracing-ssyxw8nc.js} +2 -2
- package/dist/chunks/{cors-0d9kah4z.js → request-tracing-tnr0rqd3.js} +8 -8
- package/dist/chunks/{cors-8t0ckx4f.js → request-tracing-vb5yx5r0.js} +2 -2
- package/dist/chunks/{cors-rhdada90.js → request-tracing-vbzm2jgm.js} +2 -2
- package/dist/chunks/{cors-8whnk5q4.js → request-tracing-xpe12k1y.js} +4 -4
- package/dist/chunks/{cors-5w24ch67.js → request-tracing-xsrtpxyd.js} +4 -4
- package/dist/chunks/{cors-q7fvapg2.js → request-tracing-xswq1e1s.js} +8 -8
- package/dist/chunks/{cors-brs8esa7.js → request-tracing-y1gfy88d.js} +3 -3
- package/dist/chunks/{cors-ymhp0av7.js → request-tracing-yahkjw4f.js} +17 -17
- package/dist/chunks/{cors-z6z134jc.js → request-tracing-yehasrps.js} +2 -2
- package/dist/chunks/{cors-yfz2nrjq.js → request-tracing-yfz2nrjq.js} +1 -1
- package/dist/chunks/{cors-w4e9jgda.js → request-tracing-z6sxg6td.js} +1 -1
- package/dist/chunks/{cors-yeebkdj0.js → request-tracing-zessacar.js} +2 -2
- package/dist/cors.js +1 -1
- package/dist/event-feed.js +5 -5
- package/dist/fetch.js +50 -50
- package/dist/handlers/agent.js +6 -6
- package/dist/handlers/command.js +6 -6
- package/dist/handlers/config.js +6 -6
- package/dist/handlers/credential.js +6 -6
- package/dist/handlers/debug.js +6 -6
- package/dist/handlers/event.js +7 -7
- package/dist/handlers/form.js +6 -6
- package/dist/handlers/fs.js +6 -6
- package/dist/handlers/generate.js +6 -6
- package/dist/handlers/integration.js +6 -6
- package/dist/handlers/location.js +6 -6
- package/dist/handlers/mcp.js +6 -6
- package/dist/handlers/message.js +6 -6
- package/dist/handlers/migration.js +6 -6
- package/dist/handlers/model.js +6 -6
- package/dist/handlers/permission.js +6 -6
- package/dist/handlers/persistent-pty.js +8 -8
- package/dist/handlers/plugin.js +6 -6
- package/dist/handlers/project.js +6 -6
- package/dist/handlers/provider.js +6 -6
- package/dist/handlers/pty-socket.js +1 -1
- package/dist/handlers/pty.js +9 -9
- package/dist/handlers/reference.js +6 -6
- package/dist/handlers/rpc.js +6 -6
- package/dist/handlers/server.js +9 -9
- package/dist/handlers/session-error.js +1 -1
- package/dist/handlers/session.js +6 -6
- package/dist/handlers/shell.js +6 -6
- package/dist/handlers/skill.js +6 -6
- package/dist/handlers/vcs.js +6 -6
- package/dist/handlers/voice.js +6 -6
- package/dist/handlers/websearch.js +6 -6
- package/dist/handlers/worktree.js +6 -6
- package/dist/handlers.js +44 -44
- package/dist/location.js +4 -4
- package/dist/middleware/authorization.js +2 -2
- package/dist/middleware/form-location.js +3 -3
- package/dist/middleware/schema-error.js +1 -1
- package/dist/middleware/session-location.js +3 -3
- package/dist/pairing.js +5 -5
- package/dist/process.js +52 -52
- package/dist/pty-environment.js +7 -7
- package/dist/request-tracing.js +1 -1
- package/dist/routes.js +47 -47
- package/dist/server-info.js +3 -3
- package/dist/service-status.js +3 -3
- package/dist/workerd.js +51 -51
- package/package.json +8 -8
- /package/dist/chunks/{cors-9rqn6x4v.js → request-tracing-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{cors-erzfdgke.js → request-tracing-erzfdgke.js} +0 -0
- /package/dist/chunks/{cors-h6rt5k9s.js → request-tracing-h6rt5k9s.js} +0 -0
- /package/dist/chunks/{cors-q4bn6dy8.js → request-tracing-q4bn6dy8.js} +0 -0
- /package/dist/chunks/{cors-smaf4a18.js → request-tracing-smaf4a18.js} +0 -0
- /package/dist/chunks/{cors-yc7nft6q.js → request-tracing-yc7nft6q.js} +0 -0
package/dist/api.d.ts
CHANGED
|
@@ -6360,12 +6360,248 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6360
6360
|
readonly metadata?: {
|
|
6361
6361
|
readonly [x: string]: unknown;
|
|
6362
6362
|
} | undefined;
|
|
6363
|
-
readonly type: "
|
|
6363
|
+
readonly type: "integration.updated";
|
|
6364
|
+
readonly location?: {
|
|
6365
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
6366
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
6367
|
+
} | undefined;
|
|
6368
|
+
readonly data: {};
|
|
6369
|
+
} | {
|
|
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: "model.updated";
|
|
6364
6376
|
readonly location?: {
|
|
6365
6377
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
6366
6378
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
6367
6379
|
} | undefined;
|
|
6368
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: "project.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
|
+
readonly id: string & import("effect/Brand").Brand<"Project.ID">;
|
|
6394
|
+
readonly canonical: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
6395
|
+
readonly vcs?: string | undefined;
|
|
6396
|
+
readonly name?: string | undefined;
|
|
6397
|
+
readonly icon?: {
|
|
6398
|
+
readonly url?: string | undefined;
|
|
6399
|
+
readonly override?: string | undefined;
|
|
6400
|
+
readonly color?: string | undefined;
|
|
6401
|
+
} | undefined;
|
|
6402
|
+
readonly commands?: {
|
|
6403
|
+
readonly start?: string | undefined;
|
|
6404
|
+
} | undefined;
|
|
6405
|
+
readonly time: {
|
|
6406
|
+
readonly created: number;
|
|
6407
|
+
readonly updated: number;
|
|
6408
|
+
readonly active: number;
|
|
6409
|
+
readonly archived?: number | undefined;
|
|
6410
|
+
};
|
|
6411
|
+
readonly sandboxes: readonly string[];
|
|
6412
|
+
};
|
|
6413
|
+
} | {
|
|
6414
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
6415
|
+
readonly created: number;
|
|
6416
|
+
readonly metadata?: {
|
|
6417
|
+
readonly [x: string]: unknown;
|
|
6418
|
+
} | undefined;
|
|
6419
|
+
readonly type: "location.shutdown";
|
|
6420
|
+
readonly location?: {
|
|
6421
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
6422
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
6423
|
+
} | undefined;
|
|
6424
|
+
readonly data: {};
|
|
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: "persistent-pty.added";
|
|
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 sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
6438
|
+
readonly terminal: {
|
|
6439
|
+
readonly id: string & import("effect/Brand").Brand<"PtyID">;
|
|
6440
|
+
readonly title: string;
|
|
6441
|
+
readonly command: string;
|
|
6442
|
+
readonly args: readonly string[];
|
|
6443
|
+
readonly cwd: string;
|
|
6444
|
+
readonly status: "exited" | "running";
|
|
6445
|
+
readonly pid: number;
|
|
6446
|
+
readonly exitCode?: number | undefined;
|
|
6447
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
6448
|
+
readonly foregroundProcess: string | null;
|
|
6449
|
+
readonly size: {
|
|
6450
|
+
readonly cols: number;
|
|
6451
|
+
readonly rows: number;
|
|
6452
|
+
};
|
|
6453
|
+
readonly output: {
|
|
6454
|
+
readonly head: number;
|
|
6455
|
+
readonly tail: number;
|
|
6456
|
+
};
|
|
6457
|
+
};
|
|
6458
|
+
};
|
|
6459
|
+
} | {
|
|
6460
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
6461
|
+
readonly created: number;
|
|
6462
|
+
readonly metadata?: {
|
|
6463
|
+
readonly [x: string]: unknown;
|
|
6464
|
+
} | undefined;
|
|
6465
|
+
readonly type: "persistent-pty.removed";
|
|
6466
|
+
readonly location?: {
|
|
6467
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
6468
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
6469
|
+
} | undefined;
|
|
6470
|
+
readonly data: {
|
|
6471
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
6472
|
+
readonly ptyID: string & import("effect/Brand").Brand<"PtyID">;
|
|
6473
|
+
};
|
|
6474
|
+
} | {
|
|
6475
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
6476
|
+
readonly created: number;
|
|
6477
|
+
readonly metadata?: {
|
|
6478
|
+
readonly [x: string]: unknown;
|
|
6479
|
+
} | undefined;
|
|
6480
|
+
readonly type: "session.inbox.enqueued";
|
|
6481
|
+
readonly durable: {
|
|
6482
|
+
readonly aggregateID: string;
|
|
6483
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
6484
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
6485
|
+
};
|
|
6486
|
+
readonly location?: {
|
|
6487
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
6488
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
6489
|
+
} | undefined;
|
|
6490
|
+
readonly data: {
|
|
6491
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
6492
|
+
readonly inboxID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
6493
|
+
readonly item: {
|
|
6494
|
+
readonly type: "user";
|
|
6495
|
+
readonly payload: {
|
|
6496
|
+
readonly text: string;
|
|
6497
|
+
readonly files?: readonly {
|
|
6498
|
+
readonly data: string;
|
|
6499
|
+
readonly mime: string;
|
|
6500
|
+
readonly source: {
|
|
6501
|
+
readonly type: "inline";
|
|
6502
|
+
} | {
|
|
6503
|
+
readonly type: "uri";
|
|
6504
|
+
readonly uri: string;
|
|
6505
|
+
};
|
|
6506
|
+
readonly name?: string | undefined;
|
|
6507
|
+
readonly description?: string | undefined;
|
|
6508
|
+
readonly mention?: {
|
|
6509
|
+
readonly start: number;
|
|
6510
|
+
readonly end: number;
|
|
6511
|
+
readonly text: string;
|
|
6512
|
+
} | undefined;
|
|
6513
|
+
}[] | undefined;
|
|
6514
|
+
readonly agents?: readonly {
|
|
6515
|
+
readonly name: string;
|
|
6516
|
+
readonly mention?: {
|
|
6517
|
+
readonly start: number;
|
|
6518
|
+
readonly end: number;
|
|
6519
|
+
readonly text: string;
|
|
6520
|
+
} | undefined;
|
|
6521
|
+
}[] | undefined;
|
|
6522
|
+
readonly skills?: readonly {
|
|
6523
|
+
readonly id: string & import("effect/Brand").Brand<"Skill.ID">;
|
|
6524
|
+
readonly name: string & import("effect/Brand").Brand<"Skill.Name">;
|
|
6525
|
+
readonly text?: string | undefined;
|
|
6526
|
+
readonly mention?: {
|
|
6527
|
+
readonly start: number;
|
|
6528
|
+
readonly end: number;
|
|
6529
|
+
readonly text: string;
|
|
6530
|
+
} | undefined;
|
|
6531
|
+
}[] | undefined;
|
|
6532
|
+
readonly metadata?: {
|
|
6533
|
+
readonly [x: string]: unknown;
|
|
6534
|
+
} | undefined;
|
|
6535
|
+
};
|
|
6536
|
+
readonly delivery: "queue" | "steer";
|
|
6537
|
+
} | {
|
|
6538
|
+
readonly type: "synthetic";
|
|
6539
|
+
readonly payload: {
|
|
6540
|
+
readonly text: string;
|
|
6541
|
+
readonly description?: string | undefined;
|
|
6542
|
+
readonly metadata?: {
|
|
6543
|
+
readonly [x: string]: unknown;
|
|
6544
|
+
} | undefined;
|
|
6545
|
+
};
|
|
6546
|
+
readonly delivery: "queue" | "steer";
|
|
6547
|
+
} | {
|
|
6548
|
+
readonly type: "compaction";
|
|
6549
|
+
readonly payload: {};
|
|
6550
|
+
readonly delivery: "queue" | "steer";
|
|
6551
|
+
} | {
|
|
6552
|
+
readonly type: "move";
|
|
6553
|
+
readonly payload: {
|
|
6554
|
+
readonly location: {
|
|
6555
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
6556
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
6557
|
+
};
|
|
6558
|
+
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
6559
|
+
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
6560
|
+
};
|
|
6561
|
+
readonly delivery: "queue" | "steer";
|
|
6562
|
+
};
|
|
6563
|
+
};
|
|
6564
|
+
} | {
|
|
6565
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
6566
|
+
readonly created: number;
|
|
6567
|
+
readonly metadata?: {
|
|
6568
|
+
readonly [x: string]: unknown;
|
|
6569
|
+
} | undefined;
|
|
6570
|
+
readonly type: "session.inbox.cancelled";
|
|
6571
|
+
readonly durable: {
|
|
6572
|
+
readonly aggregateID: string;
|
|
6573
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
6574
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
6575
|
+
};
|
|
6576
|
+
readonly location?: {
|
|
6577
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
6578
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
6579
|
+
} | undefined;
|
|
6580
|
+
readonly data: {
|
|
6581
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
6582
|
+
readonly inboxID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
6583
|
+
};
|
|
6584
|
+
} | {
|
|
6585
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
6586
|
+
readonly created: number;
|
|
6587
|
+
readonly metadata?: {
|
|
6588
|
+
readonly [x: string]: unknown;
|
|
6589
|
+
} | undefined;
|
|
6590
|
+
readonly type: "session.inbox.delivery.changed";
|
|
6591
|
+
readonly durable: {
|
|
6592
|
+
readonly aggregateID: string;
|
|
6593
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
6594
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
6595
|
+
};
|
|
6596
|
+
readonly location?: {
|
|
6597
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
6598
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
6599
|
+
} | undefined;
|
|
6600
|
+
readonly data: {
|
|
6601
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
6602
|
+
readonly inboxID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
6603
|
+
readonly delivery: "queue" | "steer";
|
|
6604
|
+
};
|
|
6369
6605
|
} | {
|
|
6370
6606
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
6371
6607
|
readonly created: number;
|
|
@@ -6682,26 +6918,6 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6682
6918
|
readonly removed: boolean;
|
|
6683
6919
|
}[] | undefined;
|
|
6684
6920
|
};
|
|
6685
|
-
} | {
|
|
6686
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
6687
|
-
readonly created: number;
|
|
6688
|
-
readonly metadata?: {
|
|
6689
|
-
readonly [x: string]: unknown;
|
|
6690
|
-
} | undefined;
|
|
6691
|
-
readonly type: "session.inbox.cancelled";
|
|
6692
|
-
readonly durable: {
|
|
6693
|
-
readonly aggregateID: string;
|
|
6694
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
6695
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
6696
|
-
};
|
|
6697
|
-
readonly location?: {
|
|
6698
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
6699
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
6700
|
-
} | undefined;
|
|
6701
|
-
readonly data: {
|
|
6702
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
6703
|
-
readonly inboxID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
6704
|
-
};
|
|
6705
6921
|
} | {
|
|
6706
6922
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
6707
6923
|
readonly created: number;
|
|
@@ -6722,117 +6938,6 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6722
6938
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
6723
6939
|
readonly inboxID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
6724
6940
|
};
|
|
6725
|
-
} | {
|
|
6726
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
6727
|
-
readonly created: number;
|
|
6728
|
-
readonly metadata?: {
|
|
6729
|
-
readonly [x: string]: unknown;
|
|
6730
|
-
} | undefined;
|
|
6731
|
-
readonly type: "session.inbox.delivery.changed";
|
|
6732
|
-
readonly durable: {
|
|
6733
|
-
readonly aggregateID: string;
|
|
6734
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
6735
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
6736
|
-
};
|
|
6737
|
-
readonly location?: {
|
|
6738
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
6739
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
6740
|
-
} | undefined;
|
|
6741
|
-
readonly data: {
|
|
6742
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
6743
|
-
readonly inboxID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
6744
|
-
readonly delivery: "queue" | "steer";
|
|
6745
|
-
};
|
|
6746
|
-
} | {
|
|
6747
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
6748
|
-
readonly created: number;
|
|
6749
|
-
readonly metadata?: {
|
|
6750
|
-
readonly [x: string]: unknown;
|
|
6751
|
-
} | undefined;
|
|
6752
|
-
readonly type: "session.inbox.enqueued";
|
|
6753
|
-
readonly durable: {
|
|
6754
|
-
readonly aggregateID: string;
|
|
6755
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
6756
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
6757
|
-
};
|
|
6758
|
-
readonly location?: {
|
|
6759
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
6760
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
6761
|
-
} | undefined;
|
|
6762
|
-
readonly data: {
|
|
6763
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
6764
|
-
readonly inboxID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
6765
|
-
readonly item: {
|
|
6766
|
-
readonly type: "user";
|
|
6767
|
-
readonly payload: {
|
|
6768
|
-
readonly text: string;
|
|
6769
|
-
readonly files?: readonly {
|
|
6770
|
-
readonly data: string;
|
|
6771
|
-
readonly mime: string;
|
|
6772
|
-
readonly source: {
|
|
6773
|
-
readonly type: "inline";
|
|
6774
|
-
} | {
|
|
6775
|
-
readonly type: "uri";
|
|
6776
|
-
readonly uri: string;
|
|
6777
|
-
};
|
|
6778
|
-
readonly name?: string | undefined;
|
|
6779
|
-
readonly description?: string | undefined;
|
|
6780
|
-
readonly mention?: {
|
|
6781
|
-
readonly start: number;
|
|
6782
|
-
readonly end: number;
|
|
6783
|
-
readonly text: string;
|
|
6784
|
-
} | undefined;
|
|
6785
|
-
}[] | undefined;
|
|
6786
|
-
readonly agents?: readonly {
|
|
6787
|
-
readonly name: string;
|
|
6788
|
-
readonly mention?: {
|
|
6789
|
-
readonly start: number;
|
|
6790
|
-
readonly end: number;
|
|
6791
|
-
readonly text: string;
|
|
6792
|
-
} | undefined;
|
|
6793
|
-
}[] | undefined;
|
|
6794
|
-
readonly skills?: readonly {
|
|
6795
|
-
readonly id: string & import("effect/Brand").Brand<"Skill.ID">;
|
|
6796
|
-
readonly name: string & import("effect/Brand").Brand<"Skill.Name">;
|
|
6797
|
-
readonly text?: string | undefined;
|
|
6798
|
-
readonly mention?: {
|
|
6799
|
-
readonly start: number;
|
|
6800
|
-
readonly end: number;
|
|
6801
|
-
readonly text: string;
|
|
6802
|
-
} | undefined;
|
|
6803
|
-
}[] | undefined;
|
|
6804
|
-
readonly metadata?: {
|
|
6805
|
-
readonly [x: string]: unknown;
|
|
6806
|
-
} | undefined;
|
|
6807
|
-
};
|
|
6808
|
-
readonly delivery: "queue" | "steer";
|
|
6809
|
-
} | {
|
|
6810
|
-
readonly type: "synthetic";
|
|
6811
|
-
readonly payload: {
|
|
6812
|
-
readonly text: string;
|
|
6813
|
-
readonly description?: string | undefined;
|
|
6814
|
-
readonly metadata?: {
|
|
6815
|
-
readonly [x: string]: unknown;
|
|
6816
|
-
} | undefined;
|
|
6817
|
-
};
|
|
6818
|
-
readonly delivery: "queue" | "steer";
|
|
6819
|
-
} | {
|
|
6820
|
-
readonly type: "compaction";
|
|
6821
|
-
readonly payload: {};
|
|
6822
|
-
readonly delivery: "queue" | "steer";
|
|
6823
|
-
} | {
|
|
6824
|
-
readonly type: "move";
|
|
6825
|
-
readonly payload: {
|
|
6826
|
-
readonly location: {
|
|
6827
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
6828
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
6829
|
-
};
|
|
6830
|
-
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
6831
|
-
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
6832
|
-
};
|
|
6833
|
-
readonly delivery: "queue" | "steer";
|
|
6834
|
-
};
|
|
6835
|
-
};
|
|
6836
6941
|
} | {
|
|
6837
6942
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
6838
6943
|
readonly created: number;
|
|
@@ -7592,139 +7697,10 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7592
7697
|
readonly metadata?: {
|
|
7593
7698
|
readonly [x: string]: import("effect/Schema").Json;
|
|
7594
7699
|
} | undefined;
|
|
7595
|
-
readonly executed: boolean;
|
|
7596
|
-
readonly resultState?: {
|
|
7597
|
-
readonly [x: string]: unknown;
|
|
7598
|
-
} | undefined;
|
|
7599
|
-
};
|
|
7600
|
-
} | {
|
|
7601
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
7602
|
-
readonly created: number;
|
|
7603
|
-
readonly metadata?: {
|
|
7604
|
-
readonly [x: string]: unknown;
|
|
7605
|
-
} | undefined;
|
|
7606
|
-
readonly type: "session.viewed";
|
|
7607
|
-
readonly durable: {
|
|
7608
|
-
readonly aggregateID: string;
|
|
7609
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
7610
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
7611
|
-
};
|
|
7612
|
-
readonly location?: {
|
|
7613
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7614
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7615
|
-
} | undefined;
|
|
7616
|
-
readonly data: {
|
|
7617
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7618
|
-
readonly idle: number;
|
|
7619
|
-
};
|
|
7620
|
-
} | {
|
|
7621
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
7622
|
-
readonly created: number;
|
|
7623
|
-
readonly metadata?: {
|
|
7624
|
-
readonly [x: string]: unknown;
|
|
7625
|
-
} | undefined;
|
|
7626
|
-
readonly type: "session.compaction.delta";
|
|
7627
|
-
readonly location?: {
|
|
7628
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7629
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7630
|
-
} | undefined;
|
|
7631
|
-
readonly data: {
|
|
7632
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7633
|
-
readonly text: string;
|
|
7634
|
-
};
|
|
7635
|
-
} | {
|
|
7636
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
7637
|
-
readonly created: number;
|
|
7638
|
-
readonly metadata?: {
|
|
7639
|
-
readonly [x: string]: unknown;
|
|
7640
|
-
} | undefined;
|
|
7641
|
-
readonly type: "session.reasoning.delta";
|
|
7642
|
-
readonly location?: {
|
|
7643
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7644
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7645
|
-
} | undefined;
|
|
7646
|
-
readonly data: {
|
|
7647
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7648
|
-
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7649
|
-
readonly ordinal: number;
|
|
7650
|
-
readonly delta: string;
|
|
7651
|
-
};
|
|
7652
|
-
} | {
|
|
7653
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
7654
|
-
readonly created: number;
|
|
7655
|
-
readonly metadata?: {
|
|
7656
|
-
readonly [x: string]: unknown;
|
|
7657
|
-
} | undefined;
|
|
7658
|
-
readonly type: "session.text.delta";
|
|
7659
|
-
readonly location?: {
|
|
7660
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7661
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7662
|
-
} | undefined;
|
|
7663
|
-
readonly data: {
|
|
7664
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7665
|
-
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7666
|
-
readonly ordinal: number;
|
|
7667
|
-
readonly delta: string;
|
|
7668
|
-
};
|
|
7669
|
-
} | {
|
|
7670
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
7671
|
-
readonly created: number;
|
|
7672
|
-
readonly metadata?: {
|
|
7673
|
-
readonly [x: string]: unknown;
|
|
7674
|
-
} | undefined;
|
|
7675
|
-
readonly type: "session.tool.input.delta";
|
|
7676
|
-
readonly location?: {
|
|
7677
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7678
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7679
|
-
} | undefined;
|
|
7680
|
-
readonly data: {
|
|
7681
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7682
|
-
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7683
|
-
readonly id: string;
|
|
7684
|
-
readonly delta: string;
|
|
7685
|
-
};
|
|
7686
|
-
} | {
|
|
7687
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
7688
|
-
readonly created: number;
|
|
7689
|
-
readonly metadata?: {
|
|
7690
|
-
readonly [x: string]: unknown;
|
|
7691
|
-
} | undefined;
|
|
7692
|
-
readonly type: "session.tool.progress";
|
|
7693
|
-
readonly location?: {
|
|
7694
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7695
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7696
|
-
} | undefined;
|
|
7697
|
-
readonly data: {
|
|
7698
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7699
|
-
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7700
|
-
readonly id: string;
|
|
7701
|
-
readonly metadata: {
|
|
7702
|
-
readonly [x: string]: import("effect/Schema").Json;
|
|
7703
|
-
};
|
|
7704
|
-
};
|
|
7705
|
-
} | {
|
|
7706
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
7707
|
-
readonly created: number;
|
|
7708
|
-
readonly metadata?: {
|
|
7709
|
-
readonly [x: string]: unknown;
|
|
7710
|
-
} | undefined;
|
|
7711
|
-
readonly type: "session.usage.updated";
|
|
7712
|
-
readonly location?: {
|
|
7713
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7714
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7715
|
-
} | undefined;
|
|
7716
|
-
readonly data: {
|
|
7717
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7718
|
-
readonly cost: number & import("effect/Brand").Brand<"Money.USD">;
|
|
7719
|
-
readonly tokens: {
|
|
7720
|
-
readonly input: number;
|
|
7721
|
-
readonly output: number;
|
|
7722
|
-
readonly reasoning: number;
|
|
7723
|
-
readonly cache: {
|
|
7724
|
-
readonly read: number;
|
|
7725
|
-
readonly write: number;
|
|
7726
|
-
};
|
|
7727
|
-
};
|
|
7700
|
+
readonly executed: boolean;
|
|
7701
|
+
readonly resultState?: {
|
|
7702
|
+
readonly [x: string]: unknown;
|
|
7703
|
+
} | undefined;
|
|
7728
7704
|
};
|
|
7729
7705
|
} | {
|
|
7730
7706
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -7732,19 +7708,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7732
7708
|
readonly metadata?: {
|
|
7733
7709
|
readonly [x: string]: unknown;
|
|
7734
7710
|
} | undefined;
|
|
7735
|
-
readonly type: "
|
|
7736
|
-
readonly location?: {
|
|
7737
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7738
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7739
|
-
} | undefined;
|
|
7740
|
-
readonly data: {};
|
|
7741
|
-
} | {
|
|
7742
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
7743
|
-
readonly created: number;
|
|
7744
|
-
readonly metadata?: {
|
|
7745
|
-
readonly [x: string]: unknown;
|
|
7746
|
-
} | undefined;
|
|
7747
|
-
readonly type: "worktree.resolved";
|
|
7711
|
+
readonly type: "session.viewed";
|
|
7748
7712
|
readonly durable: {
|
|
7749
7713
|
readonly aggregateID: string;
|
|
7750
7714
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -7755,10 +7719,8 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7755
7719
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7756
7720
|
} | undefined;
|
|
7757
7721
|
readonly data: {
|
|
7758
|
-
readonly
|
|
7759
|
-
readonly
|
|
7760
|
-
readonly previous: string & import("effect/Brand").Brand<"Project.ID">;
|
|
7761
|
-
readonly adopted?: readonly (string & import("effect/Brand").Brand<"Project.ID">)[] | undefined;
|
|
7722
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7723
|
+
readonly idle: number;
|
|
7762
7724
|
};
|
|
7763
7725
|
} | {
|
|
7764
7726
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -7766,13 +7728,14 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7766
7728
|
readonly metadata?: {
|
|
7767
7729
|
readonly [x: string]: unknown;
|
|
7768
7730
|
} | undefined;
|
|
7769
|
-
readonly type: "
|
|
7731
|
+
readonly type: "session.compaction.delta";
|
|
7770
7732
|
readonly location?: {
|
|
7771
7733
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7772
7734
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7773
7735
|
} | undefined;
|
|
7774
7736
|
readonly data: {
|
|
7775
|
-
readonly
|
|
7737
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7738
|
+
readonly text: string;
|
|
7776
7739
|
};
|
|
7777
7740
|
} | {
|
|
7778
7741
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -7780,22 +7743,16 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7780
7743
|
readonly metadata?: {
|
|
7781
7744
|
readonly [x: string]: unknown;
|
|
7782
7745
|
} | undefined;
|
|
7783
|
-
readonly type: "
|
|
7746
|
+
readonly type: "session.reasoning.delta";
|
|
7784
7747
|
readonly location?: {
|
|
7785
7748
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7786
7749
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7787
7750
|
} | undefined;
|
|
7788
7751
|
readonly data: {
|
|
7789
|
-
readonly
|
|
7790
|
-
|
|
7791
|
-
|
|
7792
|
-
|
|
7793
|
-
readonly args: readonly string[];
|
|
7794
|
-
readonly cwd: string;
|
|
7795
|
-
readonly status: "exited" | "running";
|
|
7796
|
-
readonly pid: number;
|
|
7797
|
-
readonly exitCode?: number | undefined;
|
|
7798
|
-
};
|
|
7752
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7753
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7754
|
+
readonly ordinal: number;
|
|
7755
|
+
readonly delta: string;
|
|
7799
7756
|
};
|
|
7800
7757
|
} | {
|
|
7801
7758
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -7803,13 +7760,16 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7803
7760
|
readonly metadata?: {
|
|
7804
7761
|
readonly [x: string]: unknown;
|
|
7805
7762
|
} | undefined;
|
|
7806
|
-
readonly type: "
|
|
7763
|
+
readonly type: "session.text.delta";
|
|
7807
7764
|
readonly location?: {
|
|
7808
7765
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7809
7766
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7810
7767
|
} | undefined;
|
|
7811
7768
|
readonly data: {
|
|
7812
|
-
readonly
|
|
7769
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7770
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7771
|
+
readonly ordinal: number;
|
|
7772
|
+
readonly delta: string;
|
|
7813
7773
|
};
|
|
7814
7774
|
} | {
|
|
7815
7775
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -7817,14 +7777,16 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7817
7777
|
readonly metadata?: {
|
|
7818
7778
|
readonly [x: string]: unknown;
|
|
7819
7779
|
} | undefined;
|
|
7820
|
-
readonly type: "
|
|
7780
|
+
readonly type: "session.tool.input.delta";
|
|
7821
7781
|
readonly location?: {
|
|
7822
7782
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7823
7783
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7824
7784
|
} | undefined;
|
|
7825
7785
|
readonly data: {
|
|
7826
|
-
readonly
|
|
7827
|
-
readonly
|
|
7786
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7787
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7788
|
+
readonly id: string;
|
|
7789
|
+
readonly delta: string;
|
|
7828
7790
|
};
|
|
7829
7791
|
} | {
|
|
7830
7792
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -7832,21 +7794,17 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7832
7794
|
readonly metadata?: {
|
|
7833
7795
|
readonly [x: string]: unknown;
|
|
7834
7796
|
} | undefined;
|
|
7835
|
-
readonly type: "
|
|
7797
|
+
readonly type: "session.tool.progress";
|
|
7836
7798
|
readonly location?: {
|
|
7837
7799
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7838
7800
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7839
7801
|
} | undefined;
|
|
7840
7802
|
readonly data: {
|
|
7841
|
-
readonly
|
|
7842
|
-
|
|
7843
|
-
|
|
7844
|
-
|
|
7845
|
-
readonly
|
|
7846
|
-
readonly cwd: string;
|
|
7847
|
-
readonly status: "exited" | "running";
|
|
7848
|
-
readonly pid: number;
|
|
7849
|
-
readonly exitCode?: number | undefined;
|
|
7803
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7804
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7805
|
+
readonly id: string;
|
|
7806
|
+
readonly metadata: {
|
|
7807
|
+
readonly [x: string]: import("effect/Schema").Json;
|
|
7850
7808
|
};
|
|
7851
7809
|
};
|
|
7852
7810
|
} | {
|
|
@@ -7855,13 +7813,23 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7855
7813
|
readonly metadata?: {
|
|
7856
7814
|
readonly [x: string]: unknown;
|
|
7857
7815
|
} | undefined;
|
|
7858
|
-
readonly type: "
|
|
7816
|
+
readonly type: "session.usage.updated";
|
|
7859
7817
|
readonly location?: {
|
|
7860
7818
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7861
7819
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7862
7820
|
} | undefined;
|
|
7863
7821
|
readonly data: {
|
|
7864
|
-
readonly
|
|
7822
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7823
|
+
readonly cost: number & import("effect/Brand").Brand<"Money.USD">;
|
|
7824
|
+
readonly tokens: {
|
|
7825
|
+
readonly input: number;
|
|
7826
|
+
readonly output: number;
|
|
7827
|
+
readonly reasoning: number;
|
|
7828
|
+
readonly cache: {
|
|
7829
|
+
readonly read: number;
|
|
7830
|
+
readonly write: number;
|
|
7831
|
+
};
|
|
7832
|
+
};
|
|
7865
7833
|
};
|
|
7866
7834
|
} | {
|
|
7867
7835
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -7869,12 +7837,21 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7869
7837
|
readonly metadata?: {
|
|
7870
7838
|
readonly [x: string]: unknown;
|
|
7871
7839
|
} | undefined;
|
|
7872
|
-
readonly type:
|
|
7873
|
-
readonly
|
|
7874
|
-
readonly
|
|
7840
|
+
readonly type: "worktree.resolved";
|
|
7841
|
+
readonly durable: {
|
|
7842
|
+
readonly aggregateID: string;
|
|
7843
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
7844
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
7875
7845
|
};
|
|
7846
|
+
readonly location?: {
|
|
7847
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7848
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7849
|
+
} | undefined;
|
|
7876
7850
|
readonly data: {
|
|
7877
|
-
readonly
|
|
7851
|
+
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
7852
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7853
|
+
readonly previous: string & import("effect/Brand").Brand<"Project.ID">;
|
|
7854
|
+
readonly adopted?: readonly (string & import("effect/Brand").Brand<"Project.ID">)[] | undefined;
|
|
7878
7855
|
};
|
|
7879
7856
|
} | {
|
|
7880
7857
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -7882,12 +7859,14 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7882
7859
|
readonly metadata?: {
|
|
7883
7860
|
readonly [x: string]: unknown;
|
|
7884
7861
|
} | undefined;
|
|
7885
|
-
readonly type: "
|
|
7862
|
+
readonly type: "worktree.updated";
|
|
7886
7863
|
readonly location?: {
|
|
7887
7864
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7888
7865
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7889
7866
|
} | undefined;
|
|
7890
|
-
readonly data: {
|
|
7867
|
+
readonly data: {
|
|
7868
|
+
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
7869
|
+
};
|
|
7891
7870
|
} | {
|
|
7892
7871
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
7893
7872
|
readonly created: number;
|
|
@@ -7927,18 +7906,6 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7927
7906
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7928
7907
|
} | undefined;
|
|
7929
7908
|
readonly data: {};
|
|
7930
|
-
} | {
|
|
7931
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
7932
|
-
readonly created: number;
|
|
7933
|
-
readonly metadata?: {
|
|
7934
|
-
readonly [x: string]: unknown;
|
|
7935
|
-
} | undefined;
|
|
7936
|
-
readonly type: "integration.updated";
|
|
7937
|
-
readonly location?: {
|
|
7938
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7939
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7940
|
-
} | undefined;
|
|
7941
|
-
readonly data: {};
|
|
7942
7909
|
} | {
|
|
7943
7910
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
7944
7911
|
readonly created: number;
|
|
@@ -7957,7 +7924,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7957
7924
|
readonly metadata?: {
|
|
7958
7925
|
readonly [x: string]: unknown;
|
|
7959
7926
|
} | undefined;
|
|
7960
|
-
readonly type: "
|
|
7927
|
+
readonly type: "agent.updated";
|
|
7961
7928
|
readonly location?: {
|
|
7962
7929
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7963
7930
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
@@ -8045,38 +8012,6 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
8045
8012
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8046
8013
|
} | undefined;
|
|
8047
8014
|
readonly data: {};
|
|
8048
|
-
} | {
|
|
8049
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8050
|
-
readonly created: number;
|
|
8051
|
-
readonly metadata?: {
|
|
8052
|
-
readonly [x: string]: unknown;
|
|
8053
|
-
} | undefined;
|
|
8054
|
-
readonly type: "project.updated";
|
|
8055
|
-
readonly location?: {
|
|
8056
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8057
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8058
|
-
} | undefined;
|
|
8059
|
-
readonly data: {
|
|
8060
|
-
readonly id: string & import("effect/Brand").Brand<"Project.ID">;
|
|
8061
|
-
readonly canonical: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8062
|
-
readonly vcs?: string | undefined;
|
|
8063
|
-
readonly name?: string | undefined;
|
|
8064
|
-
readonly icon?: {
|
|
8065
|
-
readonly url?: string | undefined;
|
|
8066
|
-
readonly override?: string | undefined;
|
|
8067
|
-
readonly color?: string | undefined;
|
|
8068
|
-
} | undefined;
|
|
8069
|
-
readonly commands?: {
|
|
8070
|
-
readonly start?: string | undefined;
|
|
8071
|
-
} | undefined;
|
|
8072
|
-
readonly time: {
|
|
8073
|
-
readonly created: number;
|
|
8074
|
-
readonly updated: number;
|
|
8075
|
-
readonly active: number;
|
|
8076
|
-
readonly archived?: number | undefined;
|
|
8077
|
-
};
|
|
8078
|
-
readonly sandboxes: readonly string[];
|
|
8079
|
-
};
|
|
8080
8015
|
} | {
|
|
8081
8016
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8082
8017
|
readonly created: number;
|
|
@@ -8119,14 +8054,13 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
8119
8054
|
readonly metadata?: {
|
|
8120
8055
|
readonly [x: string]: unknown;
|
|
8121
8056
|
} | undefined;
|
|
8122
|
-
readonly type: "
|
|
8057
|
+
readonly type: "pty.created";
|
|
8123
8058
|
readonly location?: {
|
|
8124
8059
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8125
8060
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8126
8061
|
} | undefined;
|
|
8127
8062
|
readonly data: {
|
|
8128
|
-
readonly
|
|
8129
|
-
readonly terminal: {
|
|
8063
|
+
readonly info: {
|
|
8130
8064
|
readonly id: string & import("effect/Brand").Brand<"PtyID">;
|
|
8131
8065
|
readonly title: string;
|
|
8132
8066
|
readonly command: string;
|
|
@@ -8135,16 +8069,6 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
8135
8069
|
readonly status: "exited" | "running";
|
|
8136
8070
|
readonly pid: number;
|
|
8137
8071
|
readonly exitCode?: number | undefined;
|
|
8138
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
8139
|
-
readonly foregroundProcess: string | null;
|
|
8140
|
-
readonly size: {
|
|
8141
|
-
readonly cols: number;
|
|
8142
|
-
readonly rows: number;
|
|
8143
|
-
};
|
|
8144
|
-
readonly output: {
|
|
8145
|
-
readonly head: number;
|
|
8146
|
-
readonly tail: number;
|
|
8147
|
-
};
|
|
8148
8072
|
};
|
|
8149
8073
|
};
|
|
8150
8074
|
} | {
|
|
@@ -8153,14 +8077,51 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
8153
8077
|
readonly metadata?: {
|
|
8154
8078
|
readonly [x: string]: unknown;
|
|
8155
8079
|
} | undefined;
|
|
8156
|
-
readonly type: "
|
|
8080
|
+
readonly type: "pty.deleted";
|
|
8157
8081
|
readonly location?: {
|
|
8158
8082
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8159
8083
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8160
8084
|
} | undefined;
|
|
8161
8085
|
readonly data: {
|
|
8162
|
-
readonly
|
|
8163
|
-
|
|
8086
|
+
readonly id: string & import("effect/Brand").Brand<"PtyID">;
|
|
8087
|
+
};
|
|
8088
|
+
} | {
|
|
8089
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8090
|
+
readonly created: number;
|
|
8091
|
+
readonly metadata?: {
|
|
8092
|
+
readonly [x: string]: unknown;
|
|
8093
|
+
} | undefined;
|
|
8094
|
+
readonly type: "pty.exited";
|
|
8095
|
+
readonly location?: {
|
|
8096
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8097
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8098
|
+
} | undefined;
|
|
8099
|
+
readonly data: {
|
|
8100
|
+
readonly id: string & import("effect/Brand").Brand<"PtyID">;
|
|
8101
|
+
readonly exitCode: number;
|
|
8102
|
+
};
|
|
8103
|
+
} | {
|
|
8104
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8105
|
+
readonly created: number;
|
|
8106
|
+
readonly metadata?: {
|
|
8107
|
+
readonly [x: string]: unknown;
|
|
8108
|
+
} | undefined;
|
|
8109
|
+
readonly type: "pty.updated";
|
|
8110
|
+
readonly location?: {
|
|
8111
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8112
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8113
|
+
} | undefined;
|
|
8114
|
+
readonly data: {
|
|
8115
|
+
readonly info: {
|
|
8116
|
+
readonly id: string & import("effect/Brand").Brand<"PtyID">;
|
|
8117
|
+
readonly title: string;
|
|
8118
|
+
readonly command: string;
|
|
8119
|
+
readonly args: readonly string[];
|
|
8120
|
+
readonly cwd: string;
|
|
8121
|
+
readonly status: "exited" | "running";
|
|
8122
|
+
readonly pid: number;
|
|
8123
|
+
readonly exitCode?: number | undefined;
|
|
8124
|
+
};
|
|
8164
8125
|
};
|
|
8165
8126
|
} | {
|
|
8166
8127
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -8466,6 +8427,18 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
8466
8427
|
readonly [x: string]: string | number | boolean | readonly string[];
|
|
8467
8428
|
};
|
|
8468
8429
|
};
|
|
8430
|
+
} | {
|
|
8431
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8432
|
+
readonly created: number;
|
|
8433
|
+
readonly metadata?: {
|
|
8434
|
+
readonly [x: string]: unknown;
|
|
8435
|
+
} | undefined;
|
|
8436
|
+
readonly type: "websearch.updated";
|
|
8437
|
+
readonly location?: {
|
|
8438
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8439
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8440
|
+
} | undefined;
|
|
8441
|
+
readonly data: {};
|
|
8469
8442
|
} | {
|
|
8470
8443
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8471
8444
|
readonly created: number;
|
|
@@ -8599,6 +8572,20 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
8599
8572
|
readonly data: {
|
|
8600
8573
|
readonly version: string;
|
|
8601
8574
|
};
|
|
8575
|
+
} | {
|
|
8576
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8577
|
+
readonly created: number;
|
|
8578
|
+
readonly metadata?: {
|
|
8579
|
+
readonly [x: string]: unknown;
|
|
8580
|
+
} | undefined;
|
|
8581
|
+
readonly type: "vcs.branch.updated";
|
|
8582
|
+
readonly location?: {
|
|
8583
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8584
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8585
|
+
} | undefined;
|
|
8586
|
+
readonly data: {
|
|
8587
|
+
readonly branch?: string | undefined;
|
|
8588
|
+
};
|
|
8602
8589
|
} | {
|
|
8603
8590
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8604
8591
|
readonly created: number;
|
|
@@ -8627,6 +8614,19 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
8627
8614
|
readonly data: {
|
|
8628
8615
|
readonly server: string;
|
|
8629
8616
|
};
|
|
8617
|
+
} | {
|
|
8618
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8619
|
+
readonly created: number;
|
|
8620
|
+
readonly metadata?: {
|
|
8621
|
+
readonly [x: string]: unknown;
|
|
8622
|
+
} | undefined;
|
|
8623
|
+
readonly type: `rpc.${string}`;
|
|
8624
|
+
readonly location: {
|
|
8625
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8626
|
+
};
|
|
8627
|
+
readonly data: {
|
|
8628
|
+
readonly [x: string]: unknown;
|
|
8629
|
+
};
|
|
8630
8630
|
} | {
|
|
8631
8631
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8632
8632
|
readonly metadata?: {
|