@opencode/protocol 2.2.2 → 2.2.4
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/client.js +1 -0
- package/dist/errors.d.ts +12 -0
- package/dist/errors.js +10 -0
- package/dist/groups/agent.d.ts +4 -0
- package/dist/groups/artifact.d.ts +173 -0
- package/dist/groups/artifact.js +80 -0
- package/dist/groups/credential.d.ts +2 -2
- package/dist/groups/credential.js +3 -3
- package/dist/groups/event.d.ts +333 -1
- package/dist/groups/experimental.d.ts +275 -10
- package/dist/groups/experimental.js +2 -1
- package/dist/groups/generate.d.ts +4 -0
- package/dist/groups/message.d.ts +30 -0
- package/dist/groups/model.d.ts +6 -0
- package/dist/groups/persistent-pty.d.ts +13 -4
- package/dist/groups/persistent-pty.js +6 -3
- package/dist/groups/provider.d.ts +7 -0
- package/dist/groups/schedule.d.ts +128 -12
- package/dist/groups/session.d.ts +57 -0
- package/dist/groups/usage.d.ts +1 -0
- package/package.json +2 -2
package/dist/groups/event.d.ts
CHANGED
|
@@ -49,7 +49,7 @@ export declare const makeEventGroup: <const Definitions extends ReadonlyArray<De
|
|
|
49
49
|
readonly data: {};
|
|
50
50
|
}[]])[number]>, never, never, never>, false>;
|
|
51
51
|
export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpApiEndpoint.HttpApiEndpoint<"event.subscribe", "GET", "/api/event", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
52
|
-
readonly types: Schema.optional<Schema.ArrayEnsure<Schema.Union<readonly [Schema.Literals<readonly ("agent.updated" | "command.updated" | "config.updated" | "credential.switched" | "credential.updated" | "filesystem.changed" | "form.cancelled" | "form.created" | "form.replied" | "installation.update-available" | "installation.updated" | "integration.updated" | "location.shutdown" | "mcp.resources.changed" | "mcp.status.changed" | "model.updated" | "models-dev.refreshed" | "permission.asked" | "permission.replied" | "persistent-pty.added" | "persistent-pty.removed" | "plugin.updated" | "project.updated" | "provider.updated" | "pty.created" | "pty.deleted" | "pty.exited" | "pty.updated" | "reference.updated" | "session.agent.selected" | "session.archived" | "session.compaction.delta" | "session.compaction.ended" | "session.compaction.failed" | "session.compaction.started" | "session.created" | "session.deleted" | "session.execution.failed" | "session.execution.interrupted" | "session.execution.started" | "session.execution.succeeded" | "session.forked" | "session.idle" | "session.inbox.cancelled" | "session.inbox.delivered" | "session.inbox.delivery.changed" | "session.inbox.enqueued" | "session.instructions.updated" | "session.metadata.updated" | "session.model.selected" | "session.moved" | "session.permissions" | "session.reasoning.delta" | "session.reasoning.ended" | "session.reasoning.started" | "session.renamed" | "session.retry.scheduled" | "session.revert.cleared" | "session.revert.committed" | "session.revert.staged" | "session.shell.ended" | "session.shell.started" | "session.skill.activated" | "session.status" | "session.step.ended" | "session.step.failed" | "session.step.started" | "session.step.streamed" | "session.synthetic" | "session.text.delta" | "session.text.ended" | "session.text.started" | "session.tool.called" | "session.tool.failed" | "session.tool.input.delta" | "session.tool.input.ended" | "session.tool.input.started" | "session.tool.progress" | "session.tool.success" | "session.unarchived" | "session.usage.updated" | "session.viewed" | "shell.created" | "shell.deleted" | "shell.exited" | "skill.updated" | "tui.command.execute" | "tui.prompt.append" | "tui.session.select" | "tui.toast.show" | "vcs.branch.updated" | "websearch.updated" | "worktree.resolved" | "worktree.updated")[]>, Schema.TemplateLiteral<readonly ["rpc.", Schema.String]>]>>>;
|
|
52
|
+
readonly types: Schema.optional<Schema.ArrayEnsure<Schema.Union<readonly [Schema.Literals<readonly ("agent.updated" | "artifact.updated" | "command.updated" | "config.updated" | "credential.switched" | "credential.updated" | "filesystem.changed" | "form.cancelled" | "form.created" | "form.replied" | "installation.update-available" | "installation.updated" | "integration.updated" | "location.shutdown" | "mcp.resources.changed" | "mcp.status.changed" | "model.updated" | "models-dev.refreshed" | "permission.asked" | "permission.replied" | "persistent-pty.added" | "persistent-pty.removed" | "persistent-pty.updated" | "plugin.updated" | "project.updated" | "provider.updated" | "pty.created" | "pty.deleted" | "pty.exited" | "pty.updated" | "reference.updated" | "session.agent.selected" | "session.archived" | "session.compaction.delta" | "session.compaction.ended" | "session.compaction.failed" | "session.compaction.started" | "session.created" | "session.deleted" | "session.execution.failed" | "session.execution.interrupted" | "session.execution.started" | "session.execution.succeeded" | "session.forked" | "session.idle" | "session.inbox.cancelled" | "session.inbox.delivered" | "session.inbox.delivery.changed" | "session.inbox.enqueued" | "session.instructions.updated" | "session.metadata.updated" | "session.model.selected" | "session.moved" | "session.permissions" | "session.reasoning.delta" | "session.reasoning.ended" | "session.reasoning.started" | "session.renamed" | "session.retry.scheduled" | "session.revert.cleared" | "session.revert.committed" | "session.revert.staged" | "session.shell.ended" | "session.shell.started" | "session.skill.activated" | "session.status" | "session.step.ended" | "session.step.failed" | "session.step.started" | "session.step.streamed" | "session.synthetic" | "session.text.delta" | "session.text.ended" | "session.text.started" | "session.tool.called" | "session.tool.failed" | "session.tool.input.delta" | "session.tool.input.ended" | "session.tool.input.started" | "session.tool.progress" | "session.tool.success" | "session.unarchived" | "session.usage.updated" | "session.viewed" | "shell.created" | "shell.deleted" | "shell.exited" | "skill.updated" | "tui.command.execute" | "tui.prompt.append" | "tui.session.select" | "tui.toast.show" | "vcs.branch.updated" | "websearch.updated" | "worktree.resolved" | "worktree.updated")[]>, Schema.TemplateLiteral<readonly ["rpc.", Schema.String]>]>>>;
|
|
53
53
|
}>>, never, never, HttpApiSchema.StreamSse<HttpApiSchema.SseEventFromData<Schema.Union<readonly [Schema.Struct<{
|
|
54
54
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
55
55
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -382,6 +382,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
382
382
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
383
383
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
384
384
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
385
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
385
386
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
386
387
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
387
388
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -404,6 +405,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
404
405
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
405
406
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
406
407
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
408
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
407
409
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
408
410
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
409
411
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -472,6 +474,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
472
474
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
473
475
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
474
476
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
477
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
475
478
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
476
479
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
477
480
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -494,6 +497,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
494
497
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
495
498
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
496
499
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
500
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
497
501
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
498
502
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
499
503
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -616,6 +620,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
616
620
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
617
621
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
618
622
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
623
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
619
624
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
620
625
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
621
626
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -639,6 +644,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
639
644
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
640
645
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
641
646
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
647
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
642
648
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
643
649
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
644
650
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -661,6 +667,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
661
667
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
662
668
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
663
669
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
670
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
664
671
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
665
672
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
666
673
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -696,6 +703,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
696
703
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
697
704
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
698
705
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
706
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
699
707
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
700
708
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
701
709
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -719,6 +727,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
719
727
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
720
728
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
721
729
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
730
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
722
731
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
723
732
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
724
733
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -741,6 +750,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
741
750
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
742
751
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
743
752
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
753
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
744
754
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
745
755
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
746
756
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -2515,6 +2525,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
2515
2525
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2516
2526
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2517
2527
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2528
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2518
2529
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2519
2530
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2520
2531
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -2557,6 +2568,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
2557
2568
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2558
2569
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2559
2570
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2571
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2560
2572
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2561
2573
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2562
2574
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -3921,6 +3933,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
3921
3933
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3922
3934
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3923
3935
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3936
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3924
3937
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3925
3938
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3926
3939
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -3943,6 +3956,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
3943
3956
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3944
3957
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3945
3958
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3959
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3946
3960
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3947
3961
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3948
3962
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -4003,6 +4017,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
4003
4017
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4004
4018
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4005
4019
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4020
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4006
4021
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4007
4022
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4008
4023
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -4025,6 +4040,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
4025
4040
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4026
4041
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4027
4042
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4043
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4028
4044
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4029
4045
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4030
4046
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -5157,6 +5173,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
5157
5173
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
5158
5174
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
5159
5175
|
};
|
|
5176
|
+
readonly userTitle: Schema.NullOr<Schema.String>;
|
|
5160
5177
|
readonly foregroundProcess: Schema.NullOr<Schema.String>;
|
|
5161
5178
|
readonly size: Schema.Struct<{
|
|
5162
5179
|
readonly cols: Schema.Int;
|
|
@@ -5191,6 +5208,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
5191
5208
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
5192
5209
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
5193
5210
|
};
|
|
5211
|
+
readonly userTitle: Schema.NullOr<Schema.String>;
|
|
5194
5212
|
readonly foregroundProcess: Schema.NullOr<Schema.String>;
|
|
5195
5213
|
readonly size: Schema.Struct<{
|
|
5196
5214
|
readonly cols: Schema.Int;
|
|
@@ -5250,6 +5268,98 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
5250
5268
|
ascending: (id?: string) => string & import("effect/Brand").Brand<"PtyID">;
|
|
5251
5269
|
};
|
|
5252
5270
|
}>;
|
|
5271
|
+
}, Schema.Struct<{
|
|
5272
|
+
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
5273
|
+
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
5274
|
+
};
|
|
5275
|
+
readonly created: Schema.Finite;
|
|
5276
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
5277
|
+
readonly type: Schema.Literal<"persistent-pty.updated">;
|
|
5278
|
+
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
5279
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
5280
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
5281
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
5282
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
5283
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
5284
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
5285
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
5286
|
+
}>, never, never>;
|
|
5287
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
5288
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
5289
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
5290
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
5291
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
5292
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
5293
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
5294
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
5295
|
+
}>, never, never>;
|
|
5296
|
+
}>>, never, never>;
|
|
5297
|
+
readonly data: Schema.Struct<{
|
|
5298
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
5299
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
5300
|
+
};
|
|
5301
|
+
readonly terminal: Schema.Struct<{
|
|
5302
|
+
readonly id: Schema.brand<Schema.String, "PtyID"> & {
|
|
5303
|
+
create: () => string & import("effect/Brand").Brand<"PtyID">;
|
|
5304
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"PtyID">;
|
|
5305
|
+
};
|
|
5306
|
+
readonly title: Schema.String;
|
|
5307
|
+
readonly command: Schema.String;
|
|
5308
|
+
readonly args: Schema.$Array<Schema.String>;
|
|
5309
|
+
readonly cwd: Schema.String;
|
|
5310
|
+
readonly status: Schema.Literals<readonly ["running", "exited"]>;
|
|
5311
|
+
readonly pid: Schema.Int;
|
|
5312
|
+
readonly exitCode: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
5313
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
5314
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
5315
|
+
};
|
|
5316
|
+
readonly userTitle: Schema.NullOr<Schema.String>;
|
|
5317
|
+
readonly foregroundProcess: Schema.NullOr<Schema.String>;
|
|
5318
|
+
readonly size: Schema.Struct<{
|
|
5319
|
+
readonly cols: Schema.Int;
|
|
5320
|
+
readonly rows: Schema.Int;
|
|
5321
|
+
}>;
|
|
5322
|
+
readonly output: Schema.Struct<{
|
|
5323
|
+
readonly head: Schema.Int;
|
|
5324
|
+
readonly tail: Schema.Int;
|
|
5325
|
+
}>;
|
|
5326
|
+
}>;
|
|
5327
|
+
}>;
|
|
5328
|
+
}> & {
|
|
5329
|
+
type: "persistent-pty.updated";
|
|
5330
|
+
durability: "ephemeral";
|
|
5331
|
+
durable: undefined;
|
|
5332
|
+
data: Schema.Struct<{
|
|
5333
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
5334
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
5335
|
+
};
|
|
5336
|
+
readonly terminal: Schema.Struct<{
|
|
5337
|
+
readonly id: Schema.brand<Schema.String, "PtyID"> & {
|
|
5338
|
+
create: () => string & import("effect/Brand").Brand<"PtyID">;
|
|
5339
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"PtyID">;
|
|
5340
|
+
};
|
|
5341
|
+
readonly title: Schema.String;
|
|
5342
|
+
readonly command: Schema.String;
|
|
5343
|
+
readonly args: Schema.$Array<Schema.String>;
|
|
5344
|
+
readonly cwd: Schema.String;
|
|
5345
|
+
readonly status: Schema.Literals<readonly ["running", "exited"]>;
|
|
5346
|
+
readonly pid: Schema.Int;
|
|
5347
|
+
readonly exitCode: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
5348
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
5349
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
5350
|
+
};
|
|
5351
|
+
readonly userTitle: Schema.NullOr<Schema.String>;
|
|
5352
|
+
readonly foregroundProcess: Schema.NullOr<Schema.String>;
|
|
5353
|
+
readonly size: Schema.Struct<{
|
|
5354
|
+
readonly cols: Schema.Int;
|
|
5355
|
+
readonly rows: Schema.Int;
|
|
5356
|
+
}>;
|
|
5357
|
+
readonly output: Schema.Struct<{
|
|
5358
|
+
readonly head: Schema.Int;
|
|
5359
|
+
readonly tail: Schema.Int;
|
|
5360
|
+
}>;
|
|
5361
|
+
}>;
|
|
5362
|
+
}>;
|
|
5253
5363
|
}, Schema.Struct<{
|
|
5254
5364
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
5255
5365
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -5816,6 +5926,38 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
5816
5926
|
durability: "ephemeral";
|
|
5817
5927
|
durable: undefined;
|
|
5818
5928
|
data: Schema.Struct<{}>;
|
|
5929
|
+
}, Schema.Struct<{
|
|
5930
|
+
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
5931
|
+
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
5932
|
+
};
|
|
5933
|
+
readonly created: Schema.Finite;
|
|
5934
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
5935
|
+
readonly type: Schema.Literal<"artifact.updated">;
|
|
5936
|
+
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
5937
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
5938
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
5939
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
5940
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
5941
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
5942
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
5943
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
5944
|
+
}>, never, never>;
|
|
5945
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
5946
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
5947
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
5948
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
5949
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
5950
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
5951
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
5952
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
5953
|
+
}>, never, never>;
|
|
5954
|
+
}>>, never, never>;
|
|
5955
|
+
readonly data: Schema.Struct<{}>;
|
|
5956
|
+
}> & {
|
|
5957
|
+
type: "artifact.updated";
|
|
5958
|
+
durability: "ephemeral";
|
|
5959
|
+
durable: undefined;
|
|
5960
|
+
data: Schema.Struct<{}>;
|
|
5819
5961
|
}, Schema.Struct<{
|
|
5820
5962
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
5821
5963
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -7612,6 +7754,18 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
7612
7754
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7613
7755
|
} | undefined;
|
|
7614
7756
|
readonly data: {};
|
|
7757
|
+
} | {
|
|
7758
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
7759
|
+
readonly created: number;
|
|
7760
|
+
readonly metadata?: {
|
|
7761
|
+
readonly [x: string]: unknown;
|
|
7762
|
+
} | undefined;
|
|
7763
|
+
readonly type: "artifact.updated";
|
|
7764
|
+
readonly location?: {
|
|
7765
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7766
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7767
|
+
} | undefined;
|
|
7768
|
+
readonly data: {};
|
|
7615
7769
|
} | {
|
|
7616
7770
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
7617
7771
|
readonly created: number;
|
|
@@ -8091,6 +8245,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
8091
8245
|
readonly pid: number;
|
|
8092
8246
|
readonly exitCode?: number | undefined;
|
|
8093
8247
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
8248
|
+
readonly userTitle: string | null;
|
|
8094
8249
|
readonly foregroundProcess: string | null;
|
|
8095
8250
|
readonly size: {
|
|
8096
8251
|
readonly cols: number;
|
|
@@ -8117,6 +8272,41 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
8117
8272
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
8118
8273
|
readonly ptyID: string & import("effect/Brand").Brand<"PtyID">;
|
|
8119
8274
|
};
|
|
8275
|
+
} | {
|
|
8276
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8277
|
+
readonly created: number;
|
|
8278
|
+
readonly metadata?: {
|
|
8279
|
+
readonly [x: string]: unknown;
|
|
8280
|
+
} | undefined;
|
|
8281
|
+
readonly type: "persistent-pty.updated";
|
|
8282
|
+
readonly location?: {
|
|
8283
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8284
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8285
|
+
} | undefined;
|
|
8286
|
+
readonly data: {
|
|
8287
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
8288
|
+
readonly terminal: {
|
|
8289
|
+
readonly id: string & import("effect/Brand").Brand<"PtyID">;
|
|
8290
|
+
readonly title: string;
|
|
8291
|
+
readonly command: string;
|
|
8292
|
+
readonly args: readonly string[];
|
|
8293
|
+
readonly cwd: string;
|
|
8294
|
+
readonly status: "exited" | "running";
|
|
8295
|
+
readonly pid: number;
|
|
8296
|
+
readonly exitCode?: number | undefined;
|
|
8297
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
8298
|
+
readonly userTitle: string | null;
|
|
8299
|
+
readonly foregroundProcess: string | null;
|
|
8300
|
+
readonly size: {
|
|
8301
|
+
readonly cols: number;
|
|
8302
|
+
readonly rows: number;
|
|
8303
|
+
};
|
|
8304
|
+
readonly output: {
|
|
8305
|
+
readonly head: number;
|
|
8306
|
+
readonly tail: number;
|
|
8307
|
+
};
|
|
8308
|
+
};
|
|
8309
|
+
};
|
|
8120
8310
|
} | {
|
|
8121
8311
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8122
8312
|
readonly created: number;
|
|
@@ -8943,6 +9133,7 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
8943
9133
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
8944
9134
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
8945
9135
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9136
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
8946
9137
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
8947
9138
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
8948
9139
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -8965,6 +9156,7 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
8965
9156
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
8966
9157
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
8967
9158
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9159
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
8968
9160
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
8969
9161
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
8970
9162
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -9033,6 +9225,7 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
9033
9225
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9034
9226
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9035
9227
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9228
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9036
9229
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9037
9230
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9038
9231
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -9055,6 +9248,7 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
9055
9248
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9056
9249
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9057
9250
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9251
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9058
9252
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9059
9253
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9060
9254
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -9177,6 +9371,7 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
9177
9371
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9178
9372
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9179
9373
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9374
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9180
9375
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9181
9376
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9182
9377
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -9200,6 +9395,7 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
9200
9395
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9201
9396
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9202
9397
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9398
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9203
9399
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9204
9400
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9205
9401
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -9222,6 +9418,7 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
9222
9418
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9223
9419
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9224
9420
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9421
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9225
9422
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9226
9423
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9227
9424
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -9257,6 +9454,7 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
9257
9454
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9258
9455
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9259
9456
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9457
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9260
9458
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9261
9459
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9262
9460
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -9280,6 +9478,7 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
9280
9478
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9281
9479
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9282
9480
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9481
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9283
9482
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9284
9483
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9285
9484
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -9302,6 +9501,7 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
9302
9501
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9303
9502
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9304
9503
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9504
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9305
9505
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9306
9506
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9307
9507
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -11076,6 +11276,7 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
11076
11276
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11077
11277
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11078
11278
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11279
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11079
11280
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11080
11281
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11081
11282
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -11118,6 +11319,7 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
11118
11319
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11119
11320
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11120
11321
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11322
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11121
11323
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11122
11324
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11123
11325
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -12482,6 +12684,7 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
12482
12684
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
12483
12685
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
12484
12686
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
12687
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
12485
12688
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
12486
12689
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
12487
12690
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -12504,6 +12707,7 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
12504
12707
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
12505
12708
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
12506
12709
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
12710
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
12507
12711
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
12508
12712
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
12509
12713
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -12564,6 +12768,7 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
12564
12768
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
12565
12769
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
12566
12770
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
12771
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
12567
12772
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
12568
12773
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
12569
12774
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -12586,6 +12791,7 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
12586
12791
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
12587
12792
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
12588
12793
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
12794
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
12589
12795
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
12590
12796
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
12591
12797
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -13718,6 +13924,7 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
13718
13924
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
13719
13925
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
13720
13926
|
};
|
|
13927
|
+
readonly userTitle: Schema.NullOr<Schema.String>;
|
|
13721
13928
|
readonly foregroundProcess: Schema.NullOr<Schema.String>;
|
|
13722
13929
|
readonly size: Schema.Struct<{
|
|
13723
13930
|
readonly cols: Schema.Int;
|
|
@@ -13752,6 +13959,7 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
13752
13959
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
13753
13960
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
13754
13961
|
};
|
|
13962
|
+
readonly userTitle: Schema.NullOr<Schema.String>;
|
|
13755
13963
|
readonly foregroundProcess: Schema.NullOr<Schema.String>;
|
|
13756
13964
|
readonly size: Schema.Struct<{
|
|
13757
13965
|
readonly cols: Schema.Int;
|
|
@@ -13811,6 +14019,98 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
13811
14019
|
ascending: (id?: string) => string & import("effect/Brand").Brand<"PtyID">;
|
|
13812
14020
|
};
|
|
13813
14021
|
}>;
|
|
14022
|
+
}, Schema.Struct<{
|
|
14023
|
+
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
14024
|
+
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
14025
|
+
};
|
|
14026
|
+
readonly created: Schema.Finite;
|
|
14027
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
14028
|
+
readonly type: Schema.Literal<"persistent-pty.updated">;
|
|
14029
|
+
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
14030
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
14031
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
14032
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
14033
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
14034
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
14035
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
14036
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
14037
|
+
}>, never, never>;
|
|
14038
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
14039
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
14040
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
14041
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
14042
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
14043
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
14044
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
14045
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
14046
|
+
}>, never, never>;
|
|
14047
|
+
}>>, never, never>;
|
|
14048
|
+
readonly data: Schema.Struct<{
|
|
14049
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
14050
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
14051
|
+
};
|
|
14052
|
+
readonly terminal: Schema.Struct<{
|
|
14053
|
+
readonly id: Schema.brand<Schema.String, "PtyID"> & {
|
|
14054
|
+
create: () => string & import("effect/Brand").Brand<"PtyID">;
|
|
14055
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"PtyID">;
|
|
14056
|
+
};
|
|
14057
|
+
readonly title: Schema.String;
|
|
14058
|
+
readonly command: Schema.String;
|
|
14059
|
+
readonly args: Schema.$Array<Schema.String>;
|
|
14060
|
+
readonly cwd: Schema.String;
|
|
14061
|
+
readonly status: Schema.Literals<readonly ["running", "exited"]>;
|
|
14062
|
+
readonly pid: Schema.Int;
|
|
14063
|
+
readonly exitCode: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
14064
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
14065
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
14066
|
+
};
|
|
14067
|
+
readonly userTitle: Schema.NullOr<Schema.String>;
|
|
14068
|
+
readonly foregroundProcess: Schema.NullOr<Schema.String>;
|
|
14069
|
+
readonly size: Schema.Struct<{
|
|
14070
|
+
readonly cols: Schema.Int;
|
|
14071
|
+
readonly rows: Schema.Int;
|
|
14072
|
+
}>;
|
|
14073
|
+
readonly output: Schema.Struct<{
|
|
14074
|
+
readonly head: Schema.Int;
|
|
14075
|
+
readonly tail: Schema.Int;
|
|
14076
|
+
}>;
|
|
14077
|
+
}>;
|
|
14078
|
+
}>;
|
|
14079
|
+
}> & {
|
|
14080
|
+
type: "persistent-pty.updated";
|
|
14081
|
+
durability: "ephemeral";
|
|
14082
|
+
durable: undefined;
|
|
14083
|
+
data: Schema.Struct<{
|
|
14084
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
14085
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
14086
|
+
};
|
|
14087
|
+
readonly terminal: Schema.Struct<{
|
|
14088
|
+
readonly id: Schema.brand<Schema.String, "PtyID"> & {
|
|
14089
|
+
create: () => string & import("effect/Brand").Brand<"PtyID">;
|
|
14090
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"PtyID">;
|
|
14091
|
+
};
|
|
14092
|
+
readonly title: Schema.String;
|
|
14093
|
+
readonly command: Schema.String;
|
|
14094
|
+
readonly args: Schema.$Array<Schema.String>;
|
|
14095
|
+
readonly cwd: Schema.String;
|
|
14096
|
+
readonly status: Schema.Literals<readonly ["running", "exited"]>;
|
|
14097
|
+
readonly pid: Schema.Int;
|
|
14098
|
+
readonly exitCode: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
14099
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
14100
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
14101
|
+
};
|
|
14102
|
+
readonly userTitle: Schema.NullOr<Schema.String>;
|
|
14103
|
+
readonly foregroundProcess: Schema.NullOr<Schema.String>;
|
|
14104
|
+
readonly size: Schema.Struct<{
|
|
14105
|
+
readonly cols: Schema.Int;
|
|
14106
|
+
readonly rows: Schema.Int;
|
|
14107
|
+
}>;
|
|
14108
|
+
readonly output: Schema.Struct<{
|
|
14109
|
+
readonly head: Schema.Int;
|
|
14110
|
+
readonly tail: Schema.Int;
|
|
14111
|
+
}>;
|
|
14112
|
+
}>;
|
|
14113
|
+
}>;
|
|
13814
14114
|
}, Schema.Struct<{
|
|
13815
14115
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
13816
14116
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -14377,6 +14677,38 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
14377
14677
|
durability: "ephemeral";
|
|
14378
14678
|
durable: undefined;
|
|
14379
14679
|
data: Schema.Struct<{}>;
|
|
14680
|
+
}, Schema.Struct<{
|
|
14681
|
+
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
14682
|
+
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
14683
|
+
};
|
|
14684
|
+
readonly created: Schema.Finite;
|
|
14685
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
14686
|
+
readonly type: Schema.Literal<"artifact.updated">;
|
|
14687
|
+
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
14688
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
14689
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
14690
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
14691
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
14692
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
14693
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
14694
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
14695
|
+
}>, never, never>;
|
|
14696
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
14697
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
14698
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
14699
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
14700
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
14701
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
14702
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
14703
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
14704
|
+
}>, never, never>;
|
|
14705
|
+
}>>, never, never>;
|
|
14706
|
+
readonly data: Schema.Struct<{}>;
|
|
14707
|
+
}> & {
|
|
14708
|
+
type: "artifact.updated";
|
|
14709
|
+
durability: "ephemeral";
|
|
14710
|
+
durable: undefined;
|
|
14711
|
+
data: Schema.Struct<{}>;
|
|
14380
14712
|
}, Schema.Struct<{
|
|
14381
14713
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
14382
14714
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|