@opencode-ai/schema 0.0.0-dev-19019 → 0.0.0-dev-19024
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/config/command.d.ts +1 -0
- package/dist/config/command.js +2 -1
- package/dist/event-manifest.d.ts +184 -0
- package/dist/session-event.d.ts +460 -0
- package/dist/session-event.js +2 -0
- package/dist/session-message.d.ts +138 -0
- package/dist/session-message.js +2 -0
- package/dist/session-transfer.d.ts +46 -0
- package/package.json +1 -1
package/dist/config/command.d.ts
CHANGED
|
@@ -21,6 +21,7 @@ declare const Info_base: Schema.Class<Info, Schema.Struct<{
|
|
|
21
21
|
readonly model: Schema.brand<Schema.String, "Model.ID">;
|
|
22
22
|
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
23
23
|
}>]>, never, never>>, never, never>;
|
|
24
|
+
readonly subagent: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
24
25
|
readonly subtask: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
25
26
|
}>, {}>;
|
|
26
27
|
export declare class Info extends Info_base {
|
package/dist/config/command.js
CHANGED
|
@@ -7,6 +7,7 @@ export class Info extends Schema.Class("Config.Command")({
|
|
|
7
7
|
description: Schema.String.pipe(optional),
|
|
8
8
|
agent: Schema.String.pipe(optional),
|
|
9
9
|
model: ConfigModel.Selection.pipe(optional),
|
|
10
|
-
|
|
10
|
+
subagent: Schema.Boolean.pipe(optional),
|
|
11
|
+
subtask: Schema.Boolean.annotate({ description: "Deprecated alias for subagent." }).pipe(optional),
|
|
11
12
|
}) {
|
|
12
13
|
}
|
package/dist/event-manifest.d.ts
CHANGED
|
@@ -3614,6 +3614,52 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
3614
3614
|
}>>, never, never>;
|
|
3615
3615
|
readonly data: Schema.Struct<{
|
|
3616
3616
|
readonly reason: Schema.Literals<readonly ["auto", "manual"]>;
|
|
3617
|
+
readonly model: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
3618
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
3619
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
3620
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3621
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3622
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3623
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3624
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3625
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3626
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3627
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3628
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3629
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3630
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3631
|
+
};
|
|
3632
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
3633
|
+
}> & {
|
|
3634
|
+
parse: (input: string) => {
|
|
3635
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
3636
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3637
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
3638
|
+
};
|
|
3639
|
+
}>>, Schema.optionalKey<Schema.Struct<{
|
|
3640
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
3641
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
3642
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3643
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3644
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3645
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3646
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3647
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3648
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3649
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3650
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3651
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3652
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3653
|
+
};
|
|
3654
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
3655
|
+
}> & {
|
|
3656
|
+
parse: (input: string) => {
|
|
3657
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
3658
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3659
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
3660
|
+
};
|
|
3661
|
+
}>, never, never>;
|
|
3662
|
+
readonly providerState: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3617
3663
|
readonly text: Schema.String;
|
|
3618
3664
|
readonly recent: Schema.String;
|
|
3619
3665
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
@@ -3630,6 +3676,52 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
3630
3676
|
};
|
|
3631
3677
|
data: Schema.Struct<{
|
|
3632
3678
|
readonly reason: Schema.Literals<readonly ["auto", "manual"]>;
|
|
3679
|
+
readonly model: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
3680
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
3681
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
3682
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3683
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3684
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3685
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3686
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3687
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3688
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3689
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3690
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3691
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3692
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3693
|
+
};
|
|
3694
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
3695
|
+
}> & {
|
|
3696
|
+
parse: (input: string) => {
|
|
3697
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
3698
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3699
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
3700
|
+
};
|
|
3701
|
+
}>>, Schema.optionalKey<Schema.Struct<{
|
|
3702
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
3703
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
3704
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3705
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3706
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3707
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3708
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3709
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3710
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3711
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3712
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3713
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3714
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3715
|
+
};
|
|
3716
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
3717
|
+
}> & {
|
|
3718
|
+
parse: (input: string) => {
|
|
3719
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
3720
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3721
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
3722
|
+
};
|
|
3723
|
+
}>, never, never>;
|
|
3724
|
+
readonly providerState: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3633
3725
|
readonly text: Schema.String;
|
|
3634
3726
|
readonly recent: Schema.String;
|
|
3635
3727
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
@@ -9622,6 +9714,52 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
9622
9714
|
}>>, never, never>;
|
|
9623
9715
|
readonly data: Schema.Struct<{
|
|
9624
9716
|
readonly reason: Schema.Literals<readonly ["auto", "manual"]>;
|
|
9717
|
+
readonly model: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
9718
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
9719
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
9720
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9721
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9722
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9723
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9724
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9725
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9726
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9727
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9728
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9729
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9730
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9731
|
+
};
|
|
9732
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
9733
|
+
}> & {
|
|
9734
|
+
parse: (input: string) => {
|
|
9735
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
9736
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9737
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
9738
|
+
};
|
|
9739
|
+
}>>, Schema.optionalKey<Schema.Struct<{
|
|
9740
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
9741
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
9742
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9743
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9744
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9745
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9746
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9747
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9748
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9749
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9750
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9751
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9752
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9753
|
+
};
|
|
9754
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
9755
|
+
}> & {
|
|
9756
|
+
parse: (input: string) => {
|
|
9757
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
9758
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9759
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
9760
|
+
};
|
|
9761
|
+
}>, never, never>;
|
|
9762
|
+
readonly providerState: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
9625
9763
|
readonly text: Schema.String;
|
|
9626
9764
|
readonly recent: Schema.String;
|
|
9627
9765
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
@@ -9638,6 +9776,52 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
9638
9776
|
};
|
|
9639
9777
|
data: Schema.Struct<{
|
|
9640
9778
|
readonly reason: Schema.Literals<readonly ["auto", "manual"]>;
|
|
9779
|
+
readonly model: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
9780
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
9781
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
9782
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9783
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9784
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9785
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9786
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9787
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9788
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9789
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9790
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9791
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9792
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9793
|
+
};
|
|
9794
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
9795
|
+
}> & {
|
|
9796
|
+
parse: (input: string) => {
|
|
9797
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
9798
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9799
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
9800
|
+
};
|
|
9801
|
+
}>>, Schema.optionalKey<Schema.Struct<{
|
|
9802
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
9803
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
9804
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9805
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9806
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9807
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9808
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9809
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9810
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9811
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9812
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9813
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9814
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9815
|
+
};
|
|
9816
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
9817
|
+
}> & {
|
|
9818
|
+
parse: (input: string) => {
|
|
9819
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
9820
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9821
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
9822
|
+
};
|
|
9823
|
+
}>, never, never>;
|
|
9824
|
+
readonly providerState: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
9641
9825
|
readonly text: Schema.String;
|
|
9642
9826
|
readonly recent: Schema.String;
|
|
9643
9827
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
package/dist/session-event.d.ts
CHANGED
|
@@ -3828,6 +3828,52 @@ export declare namespace Compaction {
|
|
|
3828
3828
|
}>>, never, never>;
|
|
3829
3829
|
readonly data: Schema.Struct<{
|
|
3830
3830
|
readonly reason: Schema.Literals<readonly ["auto", "manual"]>;
|
|
3831
|
+
readonly model: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
3832
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
3833
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
3834
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3835
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3836
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3837
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3838
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3839
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3840
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3841
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3842
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3843
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3844
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3845
|
+
};
|
|
3846
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
3847
|
+
}> & {
|
|
3848
|
+
parse: (input: string) => {
|
|
3849
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
3850
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3851
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
3852
|
+
};
|
|
3853
|
+
}>>, Schema.optionalKey<Schema.Struct<{
|
|
3854
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
3855
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
3856
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3857
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3858
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3859
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3860
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3861
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3862
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3863
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3864
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3865
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3866
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3867
|
+
};
|
|
3868
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
3869
|
+
}> & {
|
|
3870
|
+
parse: (input: string) => {
|
|
3871
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
3872
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3873
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
3874
|
+
};
|
|
3875
|
+
}>, never, never>;
|
|
3876
|
+
readonly providerState: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3831
3877
|
readonly text: Schema.String;
|
|
3832
3878
|
readonly recent: Schema.String;
|
|
3833
3879
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
@@ -3844,6 +3890,52 @@ export declare namespace Compaction {
|
|
|
3844
3890
|
};
|
|
3845
3891
|
data: Schema.Struct<{
|
|
3846
3892
|
readonly reason: Schema.Literals<readonly ["auto", "manual"]>;
|
|
3893
|
+
readonly model: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
3894
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
3895
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
3896
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3897
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3898
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3899
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3900
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3901
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3902
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3903
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3904
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3905
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3906
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3907
|
+
};
|
|
3908
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
3909
|
+
}> & {
|
|
3910
|
+
parse: (input: string) => {
|
|
3911
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
3912
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3913
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
3914
|
+
};
|
|
3915
|
+
}>>, Schema.optionalKey<Schema.Struct<{
|
|
3916
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
3917
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
3918
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3919
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3920
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3921
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3922
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3923
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3924
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3925
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3926
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3927
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3928
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3929
|
+
};
|
|
3930
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
3931
|
+
}> & {
|
|
3932
|
+
parse: (input: string) => {
|
|
3933
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
3934
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3935
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
3936
|
+
};
|
|
3937
|
+
}>, never, never>;
|
|
3938
|
+
readonly providerState: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3847
3939
|
readonly text: Schema.String;
|
|
3848
3940
|
readonly recent: Schema.String;
|
|
3849
3941
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
@@ -7558,6 +7650,52 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
7558
7650
|
}>>, never, never>;
|
|
7559
7651
|
readonly data: Schema.Struct<{
|
|
7560
7652
|
readonly reason: Schema.Literals<readonly ["auto", "manual"]>;
|
|
7653
|
+
readonly model: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
7654
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
7655
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
7656
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7657
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7658
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7659
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7660
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7661
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7662
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7663
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7664
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7665
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7666
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7667
|
+
};
|
|
7668
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
7669
|
+
}> & {
|
|
7670
|
+
parse: (input: string) => {
|
|
7671
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
7672
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7673
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
7674
|
+
};
|
|
7675
|
+
}>>, Schema.optionalKey<Schema.Struct<{
|
|
7676
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
7677
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
7678
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7679
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7680
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7681
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7682
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7683
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7684
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7685
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7686
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7687
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7688
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7689
|
+
};
|
|
7690
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
7691
|
+
}> & {
|
|
7692
|
+
parse: (input: string) => {
|
|
7693
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
7694
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7695
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
7696
|
+
};
|
|
7697
|
+
}>, never, never>;
|
|
7698
|
+
readonly providerState: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
7561
7699
|
readonly text: Schema.String;
|
|
7562
7700
|
readonly recent: Schema.String;
|
|
7563
7701
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
@@ -7574,6 +7712,52 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
7574
7712
|
};
|
|
7575
7713
|
data: Schema.Struct<{
|
|
7576
7714
|
readonly reason: Schema.Literals<readonly ["auto", "manual"]>;
|
|
7715
|
+
readonly model: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
7716
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
7717
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
7718
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7719
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7720
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7721
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7722
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7723
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7724
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7725
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7726
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7727
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7728
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7729
|
+
};
|
|
7730
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
7731
|
+
}> & {
|
|
7732
|
+
parse: (input: string) => {
|
|
7733
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
7734
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7735
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
7736
|
+
};
|
|
7737
|
+
}>>, Schema.optionalKey<Schema.Struct<{
|
|
7738
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
7739
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
7740
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7741
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7742
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7743
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7744
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7745
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7746
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7747
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7748
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7749
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7750
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7751
|
+
};
|
|
7752
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
7753
|
+
}> & {
|
|
7754
|
+
parse: (input: string) => {
|
|
7755
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
7756
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7757
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
7758
|
+
};
|
|
7759
|
+
}>, never, never>;
|
|
7760
|
+
readonly providerState: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
7577
7761
|
readonly text: Schema.String;
|
|
7578
7762
|
readonly recent: Schema.String;
|
|
7579
7763
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
@@ -11369,6 +11553,52 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
|
|
|
11369
11553
|
}>>, never, never>;
|
|
11370
11554
|
readonly data: Schema.Struct<{
|
|
11371
11555
|
readonly reason: Schema.Literals<readonly ["auto", "manual"]>;
|
|
11556
|
+
readonly model: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
11557
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
11558
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
11559
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11560
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11561
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11562
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11563
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11564
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11565
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11566
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11567
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11568
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11569
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11570
|
+
};
|
|
11571
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
11572
|
+
}> & {
|
|
11573
|
+
parse: (input: string) => {
|
|
11574
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
11575
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11576
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
11577
|
+
};
|
|
11578
|
+
}>>, Schema.optionalKey<Schema.Struct<{
|
|
11579
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
11580
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
11581
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11582
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11583
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11584
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11585
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11586
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11587
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11588
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11589
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11590
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11591
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11592
|
+
};
|
|
11593
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
11594
|
+
}> & {
|
|
11595
|
+
parse: (input: string) => {
|
|
11596
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
11597
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11598
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
11599
|
+
};
|
|
11600
|
+
}>, never, never>;
|
|
11601
|
+
readonly providerState: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
11372
11602
|
readonly text: Schema.String;
|
|
11373
11603
|
readonly recent: Schema.String;
|
|
11374
11604
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
@@ -11385,6 +11615,52 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
|
|
|
11385
11615
|
};
|
|
11386
11616
|
data: Schema.Struct<{
|
|
11387
11617
|
readonly reason: Schema.Literals<readonly ["auto", "manual"]>;
|
|
11618
|
+
readonly model: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
11619
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
11620
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
11621
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11622
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11623
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11624
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11625
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11626
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11627
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11628
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11629
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11630
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11631
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11632
|
+
};
|
|
11633
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
11634
|
+
}> & {
|
|
11635
|
+
parse: (input: string) => {
|
|
11636
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
11637
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11638
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
11639
|
+
};
|
|
11640
|
+
}>>, Schema.optionalKey<Schema.Struct<{
|
|
11641
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
11642
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
11643
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11644
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11645
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11646
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11647
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11648
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11649
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11650
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11651
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11652
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11653
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11654
|
+
};
|
|
11655
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
11656
|
+
}> & {
|
|
11657
|
+
parse: (input: string) => {
|
|
11658
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
11659
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11660
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
11661
|
+
};
|
|
11662
|
+
}>, never, never>;
|
|
11663
|
+
readonly providerState: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
11388
11664
|
readonly text: Schema.String;
|
|
11389
11665
|
readonly recent: Schema.String;
|
|
11390
11666
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
@@ -15375,6 +15651,52 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
|
|
|
15375
15651
|
}>>, never, never>;
|
|
15376
15652
|
readonly data: Schema.Struct<{
|
|
15377
15653
|
readonly reason: Schema.Literals<readonly ["auto", "manual"]>;
|
|
15654
|
+
readonly model: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
15655
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
15656
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
15657
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15658
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15659
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15660
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15661
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15662
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15663
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15664
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15665
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15666
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15667
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15668
|
+
};
|
|
15669
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
15670
|
+
}> & {
|
|
15671
|
+
parse: (input: string) => {
|
|
15672
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
15673
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15674
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
15675
|
+
};
|
|
15676
|
+
}>>, Schema.optionalKey<Schema.Struct<{
|
|
15677
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
15678
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
15679
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15680
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15681
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15682
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15683
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15684
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15685
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15686
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15687
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15688
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15689
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15690
|
+
};
|
|
15691
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
15692
|
+
}> & {
|
|
15693
|
+
parse: (input: string) => {
|
|
15694
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
15695
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15696
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
15697
|
+
};
|
|
15698
|
+
}>, never, never>;
|
|
15699
|
+
readonly providerState: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
15378
15700
|
readonly text: Schema.String;
|
|
15379
15701
|
readonly recent: Schema.String;
|
|
15380
15702
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
@@ -15391,6 +15713,52 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
|
|
|
15391
15713
|
};
|
|
15392
15714
|
data: Schema.Struct<{
|
|
15393
15715
|
readonly reason: Schema.Literals<readonly ["auto", "manual"]>;
|
|
15716
|
+
readonly model: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
15717
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
15718
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
15719
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15720
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15721
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15722
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15723
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15724
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15725
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15726
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15727
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15728
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15729
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15730
|
+
};
|
|
15731
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
15732
|
+
}> & {
|
|
15733
|
+
parse: (input: string) => {
|
|
15734
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
15735
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15736
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
15737
|
+
};
|
|
15738
|
+
}>>, Schema.optionalKey<Schema.Struct<{
|
|
15739
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
15740
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
15741
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15742
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15743
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15744
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15745
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15746
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15747
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15748
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15749
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15750
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15751
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15752
|
+
};
|
|
15753
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
15754
|
+
}> & {
|
|
15755
|
+
parse: (input: string) => {
|
|
15756
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
15757
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15758
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
15759
|
+
};
|
|
15760
|
+
}>, never, never>;
|
|
15761
|
+
readonly providerState: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
15394
15762
|
readonly text: Schema.String;
|
|
15395
15763
|
readonly recent: Schema.String;
|
|
15396
15764
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
@@ -19055,6 +19423,52 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Union<re
|
|
|
19055
19423
|
}>>, never, never>;
|
|
19056
19424
|
readonly data: Schema.Struct<{
|
|
19057
19425
|
readonly reason: Schema.Literals<readonly ["auto", "manual"]>;
|
|
19426
|
+
readonly model: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
19427
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
19428
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
19429
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
19430
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
19431
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
19432
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
19433
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
19434
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
19435
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
19436
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
19437
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
19438
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
19439
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
19440
|
+
};
|
|
19441
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
19442
|
+
}> & {
|
|
19443
|
+
parse: (input: string) => {
|
|
19444
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
19445
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
19446
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
19447
|
+
};
|
|
19448
|
+
}>>, Schema.optionalKey<Schema.Struct<{
|
|
19449
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
19450
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
19451
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
19452
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
19453
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
19454
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
19455
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
19456
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
19457
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
19458
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
19459
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
19460
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
19461
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
19462
|
+
};
|
|
19463
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
19464
|
+
}> & {
|
|
19465
|
+
parse: (input: string) => {
|
|
19466
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
19467
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
19468
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
19469
|
+
};
|
|
19470
|
+
}>, never, never>;
|
|
19471
|
+
readonly providerState: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
19058
19472
|
readonly text: Schema.String;
|
|
19059
19473
|
readonly recent: Schema.String;
|
|
19060
19474
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
@@ -19071,6 +19485,52 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Union<re
|
|
|
19071
19485
|
};
|
|
19072
19486
|
data: Schema.Struct<{
|
|
19073
19487
|
readonly reason: Schema.Literals<readonly ["auto", "manual"]>;
|
|
19488
|
+
readonly model: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
19489
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
19490
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
19491
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
19492
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
19493
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
19494
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
19495
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
19496
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
19497
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
19498
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
19499
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
19500
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
19501
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
19502
|
+
};
|
|
19503
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
19504
|
+
}> & {
|
|
19505
|
+
parse: (input: string) => {
|
|
19506
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
19507
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
19508
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
19509
|
+
};
|
|
19510
|
+
}>>, Schema.optionalKey<Schema.Struct<{
|
|
19511
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
19512
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
19513
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
19514
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
19515
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
19516
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
19517
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
19518
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
19519
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
19520
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
19521
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
19522
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
19523
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
19524
|
+
};
|
|
19525
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
19526
|
+
}> & {
|
|
19527
|
+
parse: (input: string) => {
|
|
19528
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
19529
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
19530
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
19531
|
+
};
|
|
19532
|
+
}>, never, never>;
|
|
19533
|
+
readonly providerState: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
19074
19534
|
readonly text: Schema.String;
|
|
19075
19535
|
readonly recent: Schema.String;
|
|
19076
19536
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
package/dist/session-event.js
CHANGED
|
@@ -498,6 +498,8 @@ export var Compaction;
|
|
|
498
498
|
schema: {
|
|
499
499
|
...Base,
|
|
500
500
|
reason: Compaction.Started.data.fields.reason,
|
|
501
|
+
model: SessionMessage.CompactionCompleted.fields.model,
|
|
502
|
+
providerState: SessionMessage.CompactionCompleted.fields.providerState,
|
|
501
503
|
text: Schema.String,
|
|
502
504
|
recent: Schema.String,
|
|
503
505
|
},
|
|
@@ -938,6 +938,52 @@ export interface CompactionCompleted extends Schema.Schema.Type<typeof Compactio
|
|
|
938
938
|
export declare const CompactionCompleted: Schema.Struct<{
|
|
939
939
|
readonly status: Schema.tag<"completed">;
|
|
940
940
|
readonly reason: Schema.Literals<readonly ["auto", "manual"]>;
|
|
941
|
+
readonly model: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
942
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
943
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
944
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
945
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
946
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
947
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
948
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
949
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
950
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
951
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
952
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
953
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
954
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
955
|
+
};
|
|
956
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
957
|
+
}> & {
|
|
958
|
+
parse: (input: string) => {
|
|
959
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
960
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
961
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
962
|
+
};
|
|
963
|
+
}>>, Schema.optionalKey<Schema.Struct<{
|
|
964
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
965
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
966
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
967
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
968
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
969
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
970
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
971
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
972
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
973
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
974
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
975
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
976
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
977
|
+
};
|
|
978
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
979
|
+
}> & {
|
|
980
|
+
parse: (input: string) => {
|
|
981
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
982
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
983
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
984
|
+
};
|
|
985
|
+
}>, never, never>;
|
|
986
|
+
readonly providerState: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
941
987
|
readonly summary: Schema.String;
|
|
942
988
|
readonly recent: Schema.String;
|
|
943
989
|
readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
@@ -987,6 +1033,52 @@ export declare const Compaction: Schema.Union<readonly [Schema.Struct<{
|
|
|
987
1033
|
}>, Schema.Struct<{
|
|
988
1034
|
readonly status: Schema.tag<"completed">;
|
|
989
1035
|
readonly reason: Schema.Literals<readonly ["auto", "manual"]>;
|
|
1036
|
+
readonly model: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
1037
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
1038
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
1039
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1040
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1041
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1042
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1043
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1044
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1045
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1046
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1047
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1048
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1049
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1050
|
+
};
|
|
1051
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
1052
|
+
}> & {
|
|
1053
|
+
parse: (input: string) => {
|
|
1054
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
1055
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1056
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
1057
|
+
};
|
|
1058
|
+
}>>, Schema.optionalKey<Schema.Struct<{
|
|
1059
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
1060
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
1061
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1062
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1063
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1064
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1065
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1066
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1067
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1068
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1069
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1070
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1071
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1072
|
+
};
|
|
1073
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
1074
|
+
}> & {
|
|
1075
|
+
parse: (input: string) => {
|
|
1076
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
1077
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1078
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
1079
|
+
};
|
|
1080
|
+
}>, never, never>;
|
|
1081
|
+
readonly providerState: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
990
1082
|
readonly summary: Schema.String;
|
|
991
1083
|
readonly recent: Schema.String;
|
|
992
1084
|
readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
@@ -1563,6 +1655,52 @@ export declare const Info: Schema.Union<readonly [Schema.Struct<{
|
|
|
1563
1655
|
}>, Schema.Struct<{
|
|
1564
1656
|
readonly status: Schema.tag<"completed">;
|
|
1565
1657
|
readonly reason: Schema.Literals<readonly ["auto", "manual"]>;
|
|
1658
|
+
readonly model: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
1659
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
1660
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
1661
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1662
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1663
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1664
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1665
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1666
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1667
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1668
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1669
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1670
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1671
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1672
|
+
};
|
|
1673
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
1674
|
+
}> & {
|
|
1675
|
+
parse: (input: string) => {
|
|
1676
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
1677
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1678
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
1679
|
+
};
|
|
1680
|
+
}>>, Schema.optionalKey<Schema.Struct<{
|
|
1681
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
1682
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
1683
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1684
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1685
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1686
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1687
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1688
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1689
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1690
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1691
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1692
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1693
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1694
|
+
};
|
|
1695
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
1696
|
+
}> & {
|
|
1697
|
+
parse: (input: string) => {
|
|
1698
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
1699
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1700
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
1701
|
+
};
|
|
1702
|
+
}>, never, never>;
|
|
1703
|
+
readonly providerState: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1566
1704
|
readonly summary: Schema.String;
|
|
1567
1705
|
readonly recent: Schema.String;
|
|
1568
1706
|
readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
package/dist/session-message.js
CHANGED
|
@@ -192,6 +192,8 @@ export const CompactionCompleted = Schema.Struct({
|
|
|
192
192
|
...CompactionBase,
|
|
193
193
|
status: Schema.tag("completed"),
|
|
194
194
|
reason: Schema.Literals(["auto", "manual"]),
|
|
195
|
+
model: Model.Ref.pipe(optional),
|
|
196
|
+
providerState: ProviderState.pipe(optional),
|
|
195
197
|
summary: Schema.String,
|
|
196
198
|
recent: Schema.String,
|
|
197
199
|
}).annotate({ identifier: "Session.Message.Compaction.Completed" });
|
|
@@ -719,6 +719,52 @@ export declare const Data: Schema.Struct<{
|
|
|
719
719
|
}>, Schema.Struct<{
|
|
720
720
|
readonly status: Schema.tag<"completed">;
|
|
721
721
|
readonly reason: Schema.Literals<readonly ["auto", "manual"]>;
|
|
722
|
+
readonly model: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
723
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
724
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
725
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
726
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
727
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
728
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
729
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
730
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
731
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
732
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
733
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
734
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
735
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
736
|
+
};
|
|
737
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
738
|
+
}> & {
|
|
739
|
+
parse: (input: string) => {
|
|
740
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
741
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
742
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
743
|
+
};
|
|
744
|
+
}>>, Schema.optionalKey<Schema.Struct<{
|
|
745
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
746
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
747
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
748
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
749
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
750
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
751
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
752
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
753
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
754
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
755
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
756
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
757
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
758
|
+
};
|
|
759
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
760
|
+
}> & {
|
|
761
|
+
parse: (input: string) => {
|
|
762
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
763
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
764
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
765
|
+
};
|
|
766
|
+
}>, never, never>;
|
|
767
|
+
readonly providerState: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
722
768
|
readonly summary: Schema.String;
|
|
723
769
|
readonly recent: Schema.String;
|
|
724
770
|
readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
|