@opencode-ai/sdk 1.14.46 → 1.14.47
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/gen/types.gen.d.ts
CHANGED
|
@@ -615,11 +615,11 @@ export type Project = {
|
|
|
615
615
|
};
|
|
616
616
|
};
|
|
617
617
|
export type BadRequestError = {
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
618
|
+
name: "BadRequest";
|
|
619
|
+
data: {
|
|
620
|
+
message: string;
|
|
621
|
+
kind?: "Params" | "Headers" | "Query" | "Body" | "Payload";
|
|
622
|
+
};
|
|
623
623
|
};
|
|
624
624
|
export type NotFoundError = {
|
|
625
625
|
name: "NotFoundError";
|
|
@@ -806,6 +806,15 @@ export type McpRemoteConfig = {
|
|
|
806
806
|
* @deprecated Always uses stretch layout.
|
|
807
807
|
*/
|
|
808
808
|
export type LayoutConfig = "auto" | "stretch";
|
|
809
|
+
export type ImageAttachmentConfig = {
|
|
810
|
+
auto_resize?: boolean;
|
|
811
|
+
max_width?: number;
|
|
812
|
+
max_height?: number;
|
|
813
|
+
max_base64_bytes?: number;
|
|
814
|
+
};
|
|
815
|
+
export type AttachmentConfig = {
|
|
816
|
+
image?: ImageAttachmentConfig;
|
|
817
|
+
};
|
|
809
818
|
export type Config = {
|
|
810
819
|
$schema?: string;
|
|
811
820
|
shell?: string;
|
|
@@ -908,6 +917,7 @@ export type Config = {
|
|
|
908
917
|
tools?: {
|
|
909
918
|
[key: string]: boolean;
|
|
910
919
|
};
|
|
920
|
+
attachment?: AttachmentConfig;
|
|
911
921
|
enterprise?: {
|
|
912
922
|
url?: string;
|
|
913
923
|
};
|
|
@@ -2724,11 +2734,11 @@ export type EventTuiToastShow1 = {
|
|
|
2724
2734
|
};
|
|
2725
2735
|
};
|
|
2726
2736
|
export type BadRequestError = {
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
|
|
2737
|
+
name: "BadRequest";
|
|
2738
|
+
data: {
|
|
2739
|
+
message: string;
|
|
2740
|
+
kind?: "Params" | "Headers" | "Query" | "Body" | "Payload";
|
|
2741
|
+
};
|
|
2732
2742
|
};
|
|
2733
2743
|
export type AuthRemoveData = {
|
|
2734
2744
|
body?: never;
|