@opencode-ai/client 0.0.0-next-15342 → 0.0.0-next-15345
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/effect/generated/client.d.ts +114 -3
- package/dist/promise/generated/types.d.ts +141 -144
- package/package.json +4 -4
|
@@ -3010,11 +3010,105 @@ export declare const make: (options?: {
|
|
|
3010
3010
|
integration: {
|
|
3011
3011
|
list: (input?: Endpoint10_0Input) => Effect.Effect<{
|
|
3012
3012
|
readonly location: import("@opencode-ai/schema/location").Info;
|
|
3013
|
-
readonly data: readonly
|
|
3013
|
+
readonly data: readonly {
|
|
3014
|
+
readonly id: string & import("effect/Brand").Brand<"Integration.ID">;
|
|
3015
|
+
readonly name: string;
|
|
3016
|
+
readonly methods: readonly ({
|
|
3017
|
+
readonly id: string & import("effect/Brand").Brand<"Integration.MethodID">;
|
|
3018
|
+
readonly type: "oauth";
|
|
3019
|
+
readonly label: string;
|
|
3020
|
+
readonly prompts?: readonly ({
|
|
3021
|
+
readonly type: "text";
|
|
3022
|
+
readonly key: string;
|
|
3023
|
+
readonly message: string;
|
|
3024
|
+
readonly placeholder?: string | undefined;
|
|
3025
|
+
readonly when?: {
|
|
3026
|
+
readonly key: string;
|
|
3027
|
+
readonly op: "eq" | "neq";
|
|
3028
|
+
readonly value: string;
|
|
3029
|
+
} | undefined;
|
|
3030
|
+
} | {
|
|
3031
|
+
readonly type: "select";
|
|
3032
|
+
readonly key: string;
|
|
3033
|
+
readonly message: string;
|
|
3034
|
+
readonly options: readonly {
|
|
3035
|
+
readonly label: string;
|
|
3036
|
+
readonly value: string;
|
|
3037
|
+
readonly hint?: string | undefined;
|
|
3038
|
+
}[];
|
|
3039
|
+
readonly when?: {
|
|
3040
|
+
readonly key: string;
|
|
3041
|
+
readonly op: "eq" | "neq";
|
|
3042
|
+
readonly value: string;
|
|
3043
|
+
} | undefined;
|
|
3044
|
+
})[] | undefined;
|
|
3045
|
+
} | {
|
|
3046
|
+
readonly type: "key";
|
|
3047
|
+
readonly label?: string | undefined;
|
|
3048
|
+
} | {
|
|
3049
|
+
readonly type: "env";
|
|
3050
|
+
readonly names: readonly string[];
|
|
3051
|
+
})[];
|
|
3052
|
+
readonly connections: readonly ({
|
|
3053
|
+
readonly type: "credential";
|
|
3054
|
+
readonly id: string & import("effect/Brand").Brand<"Credential.ID">;
|
|
3055
|
+
readonly label: string;
|
|
3056
|
+
} | {
|
|
3057
|
+
readonly type: "env";
|
|
3058
|
+
readonly name: string;
|
|
3059
|
+
})[];
|
|
3060
|
+
}[];
|
|
3014
3061
|
}, Schema.SchemaError | import("@opencode-ai/protocol/errors").InvalidRequestError | import("@opencode-ai/protocol/errors").UnauthorizedError | HttpClientError.HttpClientError | ClientError, never>;
|
|
3015
3062
|
get: (input: Endpoint10_1Input) => Effect.Effect<{
|
|
3016
3063
|
readonly location: import("@opencode-ai/schema/location").Info;
|
|
3017
|
-
readonly data:
|
|
3064
|
+
readonly data: {
|
|
3065
|
+
readonly id: string & import("effect/Brand").Brand<"Integration.ID">;
|
|
3066
|
+
readonly name: string;
|
|
3067
|
+
readonly methods: readonly ({
|
|
3068
|
+
readonly id: string & import("effect/Brand").Brand<"Integration.MethodID">;
|
|
3069
|
+
readonly type: "oauth";
|
|
3070
|
+
readonly label: string;
|
|
3071
|
+
readonly prompts?: readonly ({
|
|
3072
|
+
readonly type: "text";
|
|
3073
|
+
readonly key: string;
|
|
3074
|
+
readonly message: string;
|
|
3075
|
+
readonly placeholder?: string | undefined;
|
|
3076
|
+
readonly when?: {
|
|
3077
|
+
readonly key: string;
|
|
3078
|
+
readonly op: "eq" | "neq";
|
|
3079
|
+
readonly value: string;
|
|
3080
|
+
} | undefined;
|
|
3081
|
+
} | {
|
|
3082
|
+
readonly type: "select";
|
|
3083
|
+
readonly key: string;
|
|
3084
|
+
readonly message: string;
|
|
3085
|
+
readonly options: readonly {
|
|
3086
|
+
readonly label: string;
|
|
3087
|
+
readonly value: string;
|
|
3088
|
+
readonly hint?: string | undefined;
|
|
3089
|
+
}[];
|
|
3090
|
+
readonly when?: {
|
|
3091
|
+
readonly key: string;
|
|
3092
|
+
readonly op: "eq" | "neq";
|
|
3093
|
+
readonly value: string;
|
|
3094
|
+
} | undefined;
|
|
3095
|
+
})[] | undefined;
|
|
3096
|
+
} | {
|
|
3097
|
+
readonly type: "key";
|
|
3098
|
+
readonly label?: string | undefined;
|
|
3099
|
+
} | {
|
|
3100
|
+
readonly type: "env";
|
|
3101
|
+
readonly names: readonly string[];
|
|
3102
|
+
})[];
|
|
3103
|
+
readonly connections: readonly ({
|
|
3104
|
+
readonly type: "credential";
|
|
3105
|
+
readonly id: string & import("effect/Brand").Brand<"Credential.ID">;
|
|
3106
|
+
readonly label: string;
|
|
3107
|
+
} | {
|
|
3108
|
+
readonly type: "env";
|
|
3109
|
+
readonly name: string;
|
|
3110
|
+
})[];
|
|
3111
|
+
} | undefined;
|
|
3018
3112
|
}, Schema.SchemaError | import("@opencode-ai/protocol/errors").InvalidRequestError | import("@opencode-ai/protocol/errors").UnauthorizedError | HttpClientError.HttpClientError | ClientError, never>;
|
|
3019
3113
|
connect: {
|
|
3020
3114
|
key: (input: Endpoint10_2Input) => Effect.Effect<void, Schema.SchemaError | import("@opencode-ai/protocol/errors").InvalidRequestError | import("@opencode-ai/protocol/errors").UnauthorizedError | HttpClientError.HttpClientError | ClientError, never>;
|
|
@@ -6986,7 +7080,24 @@ export declare const make: (options?: {
|
|
|
6986
7080
|
reference: {
|
|
6987
7081
|
list: (input?: Endpoint23_0Input) => Effect.Effect<{
|
|
6988
7082
|
readonly location: import("@opencode-ai/schema/location").Info;
|
|
6989
|
-
readonly data: readonly
|
|
7083
|
+
readonly data: readonly {
|
|
7084
|
+
readonly name: string;
|
|
7085
|
+
readonly path: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7086
|
+
readonly source: {
|
|
7087
|
+
readonly type: "local";
|
|
7088
|
+
readonly path: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7089
|
+
readonly description?: string | undefined;
|
|
7090
|
+
readonly hidden?: boolean | undefined;
|
|
7091
|
+
} | {
|
|
7092
|
+
readonly type: "git";
|
|
7093
|
+
readonly repository: string;
|
|
7094
|
+
readonly branch?: string | undefined;
|
|
7095
|
+
readonly description?: string | undefined;
|
|
7096
|
+
readonly hidden?: boolean | undefined;
|
|
7097
|
+
};
|
|
7098
|
+
readonly description?: string | undefined;
|
|
7099
|
+
readonly hidden?: boolean | undefined;
|
|
7100
|
+
}[];
|
|
6990
7101
|
}, Schema.SchemaError | import("@opencode-ai/protocol/errors").InvalidRequestError | import("@opencode-ai/protocol/errors").UnauthorizedError | HttpClientError.HttpClientError | ClientError, never>;
|
|
6991
7102
|
};
|
|
6992
7103
|
projectCopy: {
|
|
@@ -190,10 +190,10 @@ export type SessionPendingSyntheticData1 = {
|
|
|
190
190
|
text: string;
|
|
191
191
|
description?: string;
|
|
192
192
|
metadata?: {
|
|
193
|
-
[x: string]:
|
|
193
|
+
[x: string]: any;
|
|
194
194
|
};
|
|
195
195
|
};
|
|
196
|
-
export type
|
|
196
|
+
export type ShellInfo = {
|
|
197
197
|
id: string;
|
|
198
198
|
status: "running" | "exited" | "timeout" | "killed";
|
|
199
199
|
command: string;
|
|
@@ -203,7 +203,7 @@ export type Shell = {
|
|
|
203
203
|
pid?: number;
|
|
204
204
|
exit?: number;
|
|
205
205
|
metadata: {
|
|
206
|
-
[x: string]:
|
|
206
|
+
[x: string]: any;
|
|
207
207
|
};
|
|
208
208
|
time: {
|
|
209
209
|
started: number;
|
|
@@ -211,19 +211,19 @@ export type Shell = {
|
|
|
211
211
|
};
|
|
212
212
|
};
|
|
213
213
|
export type SessionMessageProviderState3 = {
|
|
214
|
-
[x: string]:
|
|
214
|
+
[x: string]: any;
|
|
215
215
|
};
|
|
216
216
|
export type SessionMessageProviderState4 = {
|
|
217
|
-
[x: string]:
|
|
217
|
+
[x: string]: any;
|
|
218
218
|
};
|
|
219
219
|
export type SessionMessageProviderState5 = {
|
|
220
|
-
[x: string]:
|
|
220
|
+
[x: string]: any;
|
|
221
221
|
};
|
|
222
222
|
export type SessionMessageProviderState6 = {
|
|
223
|
-
[x: string]:
|
|
223
|
+
[x: string]: any;
|
|
224
224
|
};
|
|
225
225
|
export type SessionMessageProviderState7 = {
|
|
226
|
-
[x: string]:
|
|
226
|
+
[x: string]: any;
|
|
227
227
|
};
|
|
228
228
|
export type EventLogSynced = {
|
|
229
229
|
type: "log.synced";
|
|
@@ -664,7 +664,7 @@ export type QuestionV2Tool = {
|
|
|
664
664
|
};
|
|
665
665
|
export type QuestionV2Answer = Array<string>;
|
|
666
666
|
export type FormMetadata1 = {
|
|
667
|
-
[x: string]:
|
|
667
|
+
[x: string]: any;
|
|
668
668
|
};
|
|
669
669
|
export type FormWhen1 = {
|
|
670
670
|
key: string;
|
|
@@ -698,7 +698,7 @@ export type QuestionTool = {
|
|
|
698
698
|
callID: string;
|
|
699
699
|
};
|
|
700
700
|
export type QuestionAnswer = Array<string>;
|
|
701
|
-
export type
|
|
701
|
+
export type ShellInfo1 = {
|
|
702
702
|
id: string;
|
|
703
703
|
status: "running" | "exited" | "timeout" | "killed";
|
|
704
704
|
command: string;
|
|
@@ -706,13 +706,13 @@ export type Shell1 = {
|
|
|
706
706
|
shell: string;
|
|
707
707
|
file: string;
|
|
708
708
|
pid?: number;
|
|
709
|
-
exit?: number
|
|
709
|
+
exit?: number;
|
|
710
710
|
metadata: {
|
|
711
711
|
[x: string]: JsonValue;
|
|
712
712
|
};
|
|
713
713
|
time: {
|
|
714
|
-
started: number
|
|
715
|
-
completed?: number
|
|
714
|
+
started: number;
|
|
715
|
+
completed?: number;
|
|
716
716
|
};
|
|
717
717
|
};
|
|
718
718
|
export type ReferenceLocalSource = {
|
|
@@ -775,7 +775,7 @@ export type SessionAgentSelected = {
|
|
|
775
775
|
id: string;
|
|
776
776
|
created: number;
|
|
777
777
|
metadata?: {
|
|
778
|
-
[x: string]:
|
|
778
|
+
[x: string]: any;
|
|
779
779
|
};
|
|
780
780
|
type: "session.agent.selected";
|
|
781
781
|
durable: {
|
|
@@ -793,7 +793,7 @@ export type SessionModelSelected = {
|
|
|
793
793
|
id: string;
|
|
794
794
|
created: number;
|
|
795
795
|
metadata?: {
|
|
796
|
-
[x: string]:
|
|
796
|
+
[x: string]: any;
|
|
797
797
|
};
|
|
798
798
|
type: "session.model.selected";
|
|
799
799
|
durable: {
|
|
@@ -811,7 +811,7 @@ export type SessionMoved = {
|
|
|
811
811
|
id: string;
|
|
812
812
|
created: number;
|
|
813
813
|
metadata?: {
|
|
814
|
-
[x: string]:
|
|
814
|
+
[x: string]: any;
|
|
815
815
|
};
|
|
816
816
|
type: "session.moved";
|
|
817
817
|
durable: {
|
|
@@ -830,7 +830,7 @@ export type SessionRenamed = {
|
|
|
830
830
|
id: string;
|
|
831
831
|
created: number;
|
|
832
832
|
metadata?: {
|
|
833
|
-
[x: string]:
|
|
833
|
+
[x: string]: any;
|
|
834
834
|
};
|
|
835
835
|
type: "session.renamed";
|
|
836
836
|
durable: {
|
|
@@ -848,7 +848,7 @@ export type SessionDeleted = {
|
|
|
848
848
|
id: string;
|
|
849
849
|
created: number;
|
|
850
850
|
metadata?: {
|
|
851
|
-
[x: string]:
|
|
851
|
+
[x: string]: any;
|
|
852
852
|
};
|
|
853
853
|
type: "session.deleted";
|
|
854
854
|
durable: {
|
|
@@ -865,7 +865,7 @@ export type SessionForked = {
|
|
|
865
865
|
id: string;
|
|
866
866
|
created: number;
|
|
867
867
|
metadata?: {
|
|
868
|
-
[x: string]:
|
|
868
|
+
[x: string]: any;
|
|
869
869
|
};
|
|
870
870
|
type: "session.forked";
|
|
871
871
|
durable: {
|
|
@@ -885,7 +885,7 @@ export type SessionInputPromoted = {
|
|
|
885
885
|
id: string;
|
|
886
886
|
created: number;
|
|
887
887
|
metadata?: {
|
|
888
|
-
[x: string]:
|
|
888
|
+
[x: string]: any;
|
|
889
889
|
};
|
|
890
890
|
type: "session.input.promoted";
|
|
891
891
|
durable: {
|
|
@@ -903,7 +903,7 @@ export type SessionExecutionStarted = {
|
|
|
903
903
|
id: string;
|
|
904
904
|
created: number;
|
|
905
905
|
metadata?: {
|
|
906
|
-
[x: string]:
|
|
906
|
+
[x: string]: any;
|
|
907
907
|
};
|
|
908
908
|
type: "session.execution.started";
|
|
909
909
|
durable: {
|
|
@@ -920,7 +920,7 @@ export type SessionExecutionSucceeded = {
|
|
|
920
920
|
id: string;
|
|
921
921
|
created: number;
|
|
922
922
|
metadata?: {
|
|
923
|
-
[x: string]:
|
|
923
|
+
[x: string]: any;
|
|
924
924
|
};
|
|
925
925
|
type: "session.execution.succeeded";
|
|
926
926
|
durable: {
|
|
@@ -937,7 +937,7 @@ export type SessionExecutionInterrupted = {
|
|
|
937
937
|
id: string;
|
|
938
938
|
created: number;
|
|
939
939
|
metadata?: {
|
|
940
|
-
[x: string]:
|
|
940
|
+
[x: string]: any;
|
|
941
941
|
};
|
|
942
942
|
type: "session.execution.interrupted";
|
|
943
943
|
durable: {
|
|
@@ -955,7 +955,7 @@ export type SessionInstructionsUpdated = {
|
|
|
955
955
|
id: string;
|
|
956
956
|
created: number;
|
|
957
957
|
metadata?: {
|
|
958
|
-
[x: string]:
|
|
958
|
+
[x: string]: any;
|
|
959
959
|
};
|
|
960
960
|
type: "session.instructions.updated";
|
|
961
961
|
durable: {
|
|
@@ -975,7 +975,7 @@ export type SessionSynthetic = {
|
|
|
975
975
|
id: string;
|
|
976
976
|
created: number;
|
|
977
977
|
metadata?: {
|
|
978
|
-
[x: string]:
|
|
978
|
+
[x: string]: any;
|
|
979
979
|
};
|
|
980
980
|
type: "session.synthetic";
|
|
981
981
|
durable: {
|
|
@@ -989,7 +989,7 @@ export type SessionSynthetic = {
|
|
|
989
989
|
text: string;
|
|
990
990
|
description?: string;
|
|
991
991
|
metadata?: {
|
|
992
|
-
[x: string]:
|
|
992
|
+
[x: string]: any;
|
|
993
993
|
};
|
|
994
994
|
};
|
|
995
995
|
};
|
|
@@ -997,7 +997,7 @@ export type SessionSkillActivated = {
|
|
|
997
997
|
id: string;
|
|
998
998
|
created: number;
|
|
999
999
|
metadata?: {
|
|
1000
|
-
[x: string]:
|
|
1000
|
+
[x: string]: any;
|
|
1001
1001
|
};
|
|
1002
1002
|
type: "session.skill.activated";
|
|
1003
1003
|
durable: {
|
|
@@ -1017,7 +1017,7 @@ export type SessionStepStarted = {
|
|
|
1017
1017
|
id: string;
|
|
1018
1018
|
created: number;
|
|
1019
1019
|
metadata?: {
|
|
1020
|
-
[x: string]:
|
|
1020
|
+
[x: string]: any;
|
|
1021
1021
|
};
|
|
1022
1022
|
type: "session.step.started";
|
|
1023
1023
|
durable: {
|
|
@@ -1038,7 +1038,7 @@ export type SessionStepEnded = {
|
|
|
1038
1038
|
id: string;
|
|
1039
1039
|
created: number;
|
|
1040
1040
|
metadata?: {
|
|
1041
|
-
[x: string]:
|
|
1041
|
+
[x: string]: any;
|
|
1042
1042
|
};
|
|
1043
1043
|
type: "session.step.ended";
|
|
1044
1044
|
durable: {
|
|
@@ -1061,7 +1061,7 @@ export type SessionTextStarted = {
|
|
|
1061
1061
|
id: string;
|
|
1062
1062
|
created: number;
|
|
1063
1063
|
metadata?: {
|
|
1064
|
-
[x: string]:
|
|
1064
|
+
[x: string]: any;
|
|
1065
1065
|
};
|
|
1066
1066
|
type: "session.text.started";
|
|
1067
1067
|
durable: {
|
|
@@ -1080,7 +1080,7 @@ export type SessionTextEnded = {
|
|
|
1080
1080
|
id: string;
|
|
1081
1081
|
created: number;
|
|
1082
1082
|
metadata?: {
|
|
1083
|
-
[x: string]:
|
|
1083
|
+
[x: string]: any;
|
|
1084
1084
|
};
|
|
1085
1085
|
type: "session.text.ended";
|
|
1086
1086
|
durable: {
|
|
@@ -1100,7 +1100,7 @@ export type SessionToolInputStarted = {
|
|
|
1100
1100
|
id: string;
|
|
1101
1101
|
created: number;
|
|
1102
1102
|
metadata?: {
|
|
1103
|
-
[x: string]:
|
|
1103
|
+
[x: string]: any;
|
|
1104
1104
|
};
|
|
1105
1105
|
type: "session.tool.input.started";
|
|
1106
1106
|
durable: {
|
|
@@ -1120,7 +1120,7 @@ export type SessionToolInputEnded = {
|
|
|
1120
1120
|
id: string;
|
|
1121
1121
|
created: number;
|
|
1122
1122
|
metadata?: {
|
|
1123
|
-
[x: string]:
|
|
1123
|
+
[x: string]: any;
|
|
1124
1124
|
};
|
|
1125
1125
|
type: "session.tool.input.ended";
|
|
1126
1126
|
durable: {
|
|
@@ -1140,7 +1140,7 @@ export type SessionCompactionAdmitted = {
|
|
|
1140
1140
|
id: string;
|
|
1141
1141
|
created: number;
|
|
1142
1142
|
metadata?: {
|
|
1143
|
-
[x: string]:
|
|
1143
|
+
[x: string]: any;
|
|
1144
1144
|
};
|
|
1145
1145
|
type: "session.compaction.admitted";
|
|
1146
1146
|
durable: {
|
|
@@ -1158,7 +1158,7 @@ export type SessionCompactionStarted = {
|
|
|
1158
1158
|
id: string;
|
|
1159
1159
|
created: number;
|
|
1160
1160
|
metadata?: {
|
|
1161
|
-
[x: string]:
|
|
1161
|
+
[x: string]: any;
|
|
1162
1162
|
};
|
|
1163
1163
|
type: "session.compaction.started";
|
|
1164
1164
|
durable: {
|
|
@@ -1178,7 +1178,7 @@ export type SessionCompactionEnded = {
|
|
|
1178
1178
|
id: string;
|
|
1179
1179
|
created: number;
|
|
1180
1180
|
metadata?: {
|
|
1181
|
-
[x: string]:
|
|
1181
|
+
[x: string]: any;
|
|
1182
1182
|
};
|
|
1183
1183
|
type: "session.compaction.ended";
|
|
1184
1184
|
durable: {
|
|
@@ -1198,7 +1198,7 @@ export type SessionRevertCleared = {
|
|
|
1198
1198
|
id: string;
|
|
1199
1199
|
created: number;
|
|
1200
1200
|
metadata?: {
|
|
1201
|
-
[x: string]:
|
|
1201
|
+
[x: string]: any;
|
|
1202
1202
|
};
|
|
1203
1203
|
type: "session.revert.cleared";
|
|
1204
1204
|
durable: {
|
|
@@ -1215,7 +1215,7 @@ export type SessionRevertCommitted = {
|
|
|
1215
1215
|
id: string;
|
|
1216
1216
|
created: number;
|
|
1217
1217
|
metadata?: {
|
|
1218
|
-
[x: string]:
|
|
1218
|
+
[x: string]: any;
|
|
1219
1219
|
};
|
|
1220
1220
|
type: "session.revert.committed";
|
|
1221
1221
|
durable: {
|
|
@@ -1233,7 +1233,7 @@ export type ModelsDevRefreshed = {
|
|
|
1233
1233
|
id: string;
|
|
1234
1234
|
created: number;
|
|
1235
1235
|
metadata?: {
|
|
1236
|
-
[x: string]:
|
|
1236
|
+
[x: string]: any;
|
|
1237
1237
|
};
|
|
1238
1238
|
type: "models-dev.refreshed";
|
|
1239
1239
|
location?: LocationRef;
|
|
@@ -1243,7 +1243,7 @@ export type IntegrationUpdated = {
|
|
|
1243
1243
|
id: string;
|
|
1244
1244
|
created: number;
|
|
1245
1245
|
metadata?: {
|
|
1246
|
-
[x: string]:
|
|
1246
|
+
[x: string]: any;
|
|
1247
1247
|
};
|
|
1248
1248
|
type: "integration.updated";
|
|
1249
1249
|
location?: LocationRef;
|
|
@@ -1253,7 +1253,7 @@ export type IntegrationConnectionUpdated = {
|
|
|
1253
1253
|
id: string;
|
|
1254
1254
|
created: number;
|
|
1255
1255
|
metadata?: {
|
|
1256
|
-
[x: string]:
|
|
1256
|
+
[x: string]: any;
|
|
1257
1257
|
};
|
|
1258
1258
|
type: "integration.connection.updated";
|
|
1259
1259
|
location?: LocationRef;
|
|
@@ -1265,7 +1265,7 @@ export type CatalogUpdated = {
|
|
|
1265
1265
|
id: string;
|
|
1266
1266
|
created: number;
|
|
1267
1267
|
metadata?: {
|
|
1268
|
-
[x: string]:
|
|
1268
|
+
[x: string]: any;
|
|
1269
1269
|
};
|
|
1270
1270
|
type: "catalog.updated";
|
|
1271
1271
|
location?: LocationRef;
|
|
@@ -1275,7 +1275,7 @@ export type AgentUpdated = {
|
|
|
1275
1275
|
id: string;
|
|
1276
1276
|
created: number;
|
|
1277
1277
|
metadata?: {
|
|
1278
|
-
[x: string]:
|
|
1278
|
+
[x: string]: any;
|
|
1279
1279
|
};
|
|
1280
1280
|
type: "agent.updated";
|
|
1281
1281
|
location?: LocationRef;
|
|
@@ -1285,7 +1285,7 @@ export type MessageRemoved = {
|
|
|
1285
1285
|
id: string;
|
|
1286
1286
|
created: number;
|
|
1287
1287
|
metadata?: {
|
|
1288
|
-
[x: string]:
|
|
1288
|
+
[x: string]: any;
|
|
1289
1289
|
};
|
|
1290
1290
|
type: "message.removed";
|
|
1291
1291
|
durable: {
|
|
@@ -1303,7 +1303,7 @@ export type MessagePartRemoved = {
|
|
|
1303
1303
|
id: string;
|
|
1304
1304
|
created: number;
|
|
1305
1305
|
metadata?: {
|
|
1306
|
-
[x: string]:
|
|
1306
|
+
[x: string]: any;
|
|
1307
1307
|
};
|
|
1308
1308
|
type: "message.part.removed";
|
|
1309
1309
|
durable: {
|
|
@@ -1322,7 +1322,7 @@ export type SessionUsageUpdated = {
|
|
|
1322
1322
|
id: string;
|
|
1323
1323
|
created: number;
|
|
1324
1324
|
metadata?: {
|
|
1325
|
-
[x: string]:
|
|
1325
|
+
[x: string]: any;
|
|
1326
1326
|
};
|
|
1327
1327
|
type: "session.usage.updated";
|
|
1328
1328
|
location?: LocationRef;
|
|
@@ -1336,7 +1336,7 @@ export type SessionTextDelta = {
|
|
|
1336
1336
|
id: string;
|
|
1337
1337
|
created: number;
|
|
1338
1338
|
metadata?: {
|
|
1339
|
-
[x: string]:
|
|
1339
|
+
[x: string]: any;
|
|
1340
1340
|
};
|
|
1341
1341
|
type: "session.text.delta";
|
|
1342
1342
|
location?: LocationRef;
|
|
@@ -1351,7 +1351,7 @@ export type SessionReasoningDelta = {
|
|
|
1351
1351
|
id: string;
|
|
1352
1352
|
created: number;
|
|
1353
1353
|
metadata?: {
|
|
1354
|
-
[x: string]:
|
|
1354
|
+
[x: string]: any;
|
|
1355
1355
|
};
|
|
1356
1356
|
type: "session.reasoning.delta";
|
|
1357
1357
|
location?: LocationRef;
|
|
@@ -1366,7 +1366,7 @@ export type SessionToolInputDelta = {
|
|
|
1366
1366
|
id: string;
|
|
1367
1367
|
created: number;
|
|
1368
1368
|
metadata?: {
|
|
1369
|
-
[x: string]:
|
|
1369
|
+
[x: string]: any;
|
|
1370
1370
|
};
|
|
1371
1371
|
type: "session.tool.input.delta";
|
|
1372
1372
|
location?: LocationRef;
|
|
@@ -1381,7 +1381,7 @@ export type SessionCompactionDelta = {
|
|
|
1381
1381
|
id: string;
|
|
1382
1382
|
created: number;
|
|
1383
1383
|
metadata?: {
|
|
1384
|
-
[x: string]:
|
|
1384
|
+
[x: string]: any;
|
|
1385
1385
|
};
|
|
1386
1386
|
type: "session.compaction.delta";
|
|
1387
1387
|
location?: LocationRef;
|
|
@@ -1394,7 +1394,7 @@ export type FilesystemChanged = {
|
|
|
1394
1394
|
id: string;
|
|
1395
1395
|
created: number;
|
|
1396
1396
|
metadata?: {
|
|
1397
|
-
[x: string]:
|
|
1397
|
+
[x: string]: any;
|
|
1398
1398
|
};
|
|
1399
1399
|
type: "filesystem.changed";
|
|
1400
1400
|
location?: LocationRef;
|
|
@@ -1407,7 +1407,7 @@ export type ReferenceUpdated = {
|
|
|
1407
1407
|
id: string;
|
|
1408
1408
|
created: number;
|
|
1409
1409
|
metadata?: {
|
|
1410
|
-
[x: string]:
|
|
1410
|
+
[x: string]: any;
|
|
1411
1411
|
};
|
|
1412
1412
|
type: "reference.updated";
|
|
1413
1413
|
location?: LocationRef;
|
|
@@ -1417,7 +1417,7 @@ export type PluginAdded = {
|
|
|
1417
1417
|
id: string;
|
|
1418
1418
|
created: number;
|
|
1419
1419
|
metadata?: {
|
|
1420
|
-
[x: string]:
|
|
1420
|
+
[x: string]: any;
|
|
1421
1421
|
};
|
|
1422
1422
|
type: "plugin.added";
|
|
1423
1423
|
location?: LocationRef;
|
|
@@ -1429,7 +1429,7 @@ export type PluginUpdated = {
|
|
|
1429
1429
|
id: string;
|
|
1430
1430
|
created: number;
|
|
1431
1431
|
metadata?: {
|
|
1432
|
-
[x: string]:
|
|
1432
|
+
[x: string]: any;
|
|
1433
1433
|
};
|
|
1434
1434
|
type: "plugin.updated";
|
|
1435
1435
|
location?: LocationRef;
|
|
@@ -1439,7 +1439,7 @@ export type ProjectDirectoriesUpdated = {
|
|
|
1439
1439
|
id: string;
|
|
1440
1440
|
created: number;
|
|
1441
1441
|
metadata?: {
|
|
1442
|
-
[x: string]:
|
|
1442
|
+
[x: string]: any;
|
|
1443
1443
|
};
|
|
1444
1444
|
type: "project.directories.updated";
|
|
1445
1445
|
location?: LocationRef;
|
|
@@ -1451,7 +1451,7 @@ export type CommandUpdated = {
|
|
|
1451
1451
|
id: string;
|
|
1452
1452
|
created: number;
|
|
1453
1453
|
metadata?: {
|
|
1454
|
-
[x: string]:
|
|
1454
|
+
[x: string]: any;
|
|
1455
1455
|
};
|
|
1456
1456
|
type: "command.updated";
|
|
1457
1457
|
location?: LocationRef;
|
|
@@ -1461,7 +1461,7 @@ export type ConfigUpdated = {
|
|
|
1461
1461
|
id: string;
|
|
1462
1462
|
created: number;
|
|
1463
1463
|
metadata?: {
|
|
1464
|
-
[x: string]:
|
|
1464
|
+
[x: string]: any;
|
|
1465
1465
|
};
|
|
1466
1466
|
type: "config.updated";
|
|
1467
1467
|
location?: LocationRef;
|
|
@@ -1471,7 +1471,7 @@ export type SkillUpdated = {
|
|
|
1471
1471
|
id: string;
|
|
1472
1472
|
created: number;
|
|
1473
1473
|
metadata?: {
|
|
1474
|
-
[x: string]:
|
|
1474
|
+
[x: string]: any;
|
|
1475
1475
|
};
|
|
1476
1476
|
type: "skill.updated";
|
|
1477
1477
|
location?: LocationRef;
|
|
@@ -1481,7 +1481,7 @@ export type PtyExited = {
|
|
|
1481
1481
|
id: string;
|
|
1482
1482
|
created: number;
|
|
1483
1483
|
metadata?: {
|
|
1484
|
-
[x: string]:
|
|
1484
|
+
[x: string]: any;
|
|
1485
1485
|
};
|
|
1486
1486
|
type: "pty.exited";
|
|
1487
1487
|
location?: LocationRef;
|
|
@@ -1494,7 +1494,7 @@ export type PtyDeleted = {
|
|
|
1494
1494
|
id: string;
|
|
1495
1495
|
created: number;
|
|
1496
1496
|
metadata?: {
|
|
1497
|
-
[x: string]:
|
|
1497
|
+
[x: string]: any;
|
|
1498
1498
|
};
|
|
1499
1499
|
type: "pty.deleted";
|
|
1500
1500
|
location?: LocationRef;
|
|
@@ -1506,7 +1506,7 @@ export type ShellExited = {
|
|
|
1506
1506
|
id: string;
|
|
1507
1507
|
created: number;
|
|
1508
1508
|
metadata?: {
|
|
1509
|
-
[x: string]:
|
|
1509
|
+
[x: string]: any;
|
|
1510
1510
|
};
|
|
1511
1511
|
type: "shell.exited";
|
|
1512
1512
|
location?: LocationRef;
|
|
@@ -1520,7 +1520,7 @@ export type ShellDeleted = {
|
|
|
1520
1520
|
id: string;
|
|
1521
1521
|
created: number;
|
|
1522
1522
|
metadata?: {
|
|
1523
|
-
[x: string]:
|
|
1523
|
+
[x: string]: any;
|
|
1524
1524
|
};
|
|
1525
1525
|
type: "shell.deleted";
|
|
1526
1526
|
location?: LocationRef;
|
|
@@ -1532,7 +1532,7 @@ export type QuestionV2Rejected = {
|
|
|
1532
1532
|
id: string;
|
|
1533
1533
|
created: number;
|
|
1534
1534
|
metadata?: {
|
|
1535
|
-
[x: string]:
|
|
1535
|
+
[x: string]: any;
|
|
1536
1536
|
};
|
|
1537
1537
|
type: "question.v2.rejected";
|
|
1538
1538
|
location?: LocationRef;
|
|
@@ -1545,7 +1545,7 @@ export type FormCancelled = {
|
|
|
1545
1545
|
id: string;
|
|
1546
1546
|
created: number;
|
|
1547
1547
|
metadata?: {
|
|
1548
|
-
[x: string]:
|
|
1548
|
+
[x: string]: any;
|
|
1549
1549
|
};
|
|
1550
1550
|
type: "form.cancelled";
|
|
1551
1551
|
location?: LocationRef;
|
|
@@ -1558,7 +1558,7 @@ export type SessionIdle = {
|
|
|
1558
1558
|
id: string;
|
|
1559
1559
|
created: number;
|
|
1560
1560
|
metadata?: {
|
|
1561
|
-
[x: string]:
|
|
1561
|
+
[x: string]: any;
|
|
1562
1562
|
};
|
|
1563
1563
|
type: "session.idle";
|
|
1564
1564
|
location?: LocationRef;
|
|
@@ -1570,7 +1570,7 @@ export type TuiPromptAppend = {
|
|
|
1570
1570
|
id: string;
|
|
1571
1571
|
created: number;
|
|
1572
1572
|
metadata?: {
|
|
1573
|
-
[x: string]:
|
|
1573
|
+
[x: string]: any;
|
|
1574
1574
|
};
|
|
1575
1575
|
type: "tui.prompt.append";
|
|
1576
1576
|
location?: LocationRef;
|
|
@@ -1582,7 +1582,7 @@ export type TuiCommandExecute = {
|
|
|
1582
1582
|
id: string;
|
|
1583
1583
|
created: number;
|
|
1584
1584
|
metadata?: {
|
|
1585
|
-
[x: string]:
|
|
1585
|
+
[x: string]: any;
|
|
1586
1586
|
};
|
|
1587
1587
|
type: "tui.command.execute";
|
|
1588
1588
|
location?: LocationRef;
|
|
@@ -1594,7 +1594,7 @@ export type TuiToastShow = {
|
|
|
1594
1594
|
id: string;
|
|
1595
1595
|
created: number;
|
|
1596
1596
|
metadata?: {
|
|
1597
|
-
[x: string]:
|
|
1597
|
+
[x: string]: any;
|
|
1598
1598
|
};
|
|
1599
1599
|
type: "tui.toast.show";
|
|
1600
1600
|
location?: LocationRef;
|
|
@@ -1609,7 +1609,7 @@ export type TuiSessionSelect = {
|
|
|
1609
1609
|
id: string;
|
|
1610
1610
|
created: number;
|
|
1611
1611
|
metadata?: {
|
|
1612
|
-
[x: string]:
|
|
1612
|
+
[x: string]: any;
|
|
1613
1613
|
};
|
|
1614
1614
|
type: "tui.session.select";
|
|
1615
1615
|
location?: LocationRef;
|
|
@@ -1621,7 +1621,7 @@ export type InstallationUpdated = {
|
|
|
1621
1621
|
id: string;
|
|
1622
1622
|
created: number;
|
|
1623
1623
|
metadata?: {
|
|
1624
|
-
[x: string]:
|
|
1624
|
+
[x: string]: any;
|
|
1625
1625
|
};
|
|
1626
1626
|
type: "installation.updated";
|
|
1627
1627
|
location?: LocationRef;
|
|
@@ -1633,7 +1633,7 @@ export type InstallationUpdateAvailable = {
|
|
|
1633
1633
|
id: string;
|
|
1634
1634
|
created: number;
|
|
1635
1635
|
metadata?: {
|
|
1636
|
-
[x: string]:
|
|
1636
|
+
[x: string]: any;
|
|
1637
1637
|
};
|
|
1638
1638
|
type: "installation.update-available";
|
|
1639
1639
|
location?: LocationRef;
|
|
@@ -1645,7 +1645,7 @@ export type VcsBranchUpdated = {
|
|
|
1645
1645
|
id: string;
|
|
1646
1646
|
created: number;
|
|
1647
1647
|
metadata?: {
|
|
1648
|
-
[x: string]:
|
|
1648
|
+
[x: string]: any;
|
|
1649
1649
|
};
|
|
1650
1650
|
type: "vcs.branch.updated";
|
|
1651
1651
|
location?: LocationRef;
|
|
@@ -1657,7 +1657,7 @@ export type McpStatusChanged = {
|
|
|
1657
1657
|
id: string;
|
|
1658
1658
|
created: number;
|
|
1659
1659
|
metadata?: {
|
|
1660
|
-
[x: string]:
|
|
1660
|
+
[x: string]: any;
|
|
1661
1661
|
};
|
|
1662
1662
|
type: "mcp.status.changed";
|
|
1663
1663
|
location?: LocationRef;
|
|
@@ -1669,7 +1669,7 @@ export type McpResourcesChanged = {
|
|
|
1669
1669
|
id: string;
|
|
1670
1670
|
created: number;
|
|
1671
1671
|
metadata?: {
|
|
1672
|
-
[x: string]:
|
|
1672
|
+
[x: string]: any;
|
|
1673
1673
|
};
|
|
1674
1674
|
type: "mcp.resources.changed";
|
|
1675
1675
|
location?: LocationRef;
|
|
@@ -1681,7 +1681,7 @@ export type PermissionAsked = {
|
|
|
1681
1681
|
id: string;
|
|
1682
1682
|
created: number;
|
|
1683
1683
|
metadata?: {
|
|
1684
|
-
[x: string]:
|
|
1684
|
+
[x: string]: any;
|
|
1685
1685
|
};
|
|
1686
1686
|
type: "permission.asked";
|
|
1687
1687
|
location?: LocationRef;
|
|
@@ -1691,7 +1691,7 @@ export type PermissionAsked = {
|
|
|
1691
1691
|
permission: string;
|
|
1692
1692
|
patterns: Array<string>;
|
|
1693
1693
|
metadata: {
|
|
1694
|
-
[x: string]:
|
|
1694
|
+
[x: string]: any;
|
|
1695
1695
|
};
|
|
1696
1696
|
always: Array<string>;
|
|
1697
1697
|
tool?: {
|
|
@@ -1704,7 +1704,7 @@ export type PermissionReplied = {
|
|
|
1704
1704
|
id: string;
|
|
1705
1705
|
created: number;
|
|
1706
1706
|
metadata?: {
|
|
1707
|
-
[x: string]:
|
|
1707
|
+
[x: string]: any;
|
|
1708
1708
|
};
|
|
1709
1709
|
type: "permission.replied";
|
|
1710
1710
|
location?: LocationRef;
|
|
@@ -1718,7 +1718,7 @@ export type QuestionRejected = {
|
|
|
1718
1718
|
id: string;
|
|
1719
1719
|
created: number;
|
|
1720
1720
|
metadata?: {
|
|
1721
|
-
[x: string]:
|
|
1721
|
+
[x: string]: any;
|
|
1722
1722
|
};
|
|
1723
1723
|
type: "question.rejected";
|
|
1724
1724
|
location?: LocationRef;
|
|
@@ -1730,7 +1730,7 @@ export type QuestionRejected = {
|
|
|
1730
1730
|
export type V2EventServerConnected = {
|
|
1731
1731
|
id: string;
|
|
1732
1732
|
metadata?: {
|
|
1733
|
-
[x: string]:
|
|
1733
|
+
[x: string]: any;
|
|
1734
1734
|
} | undefined;
|
|
1735
1735
|
location?: LocationRef | undefined;
|
|
1736
1736
|
type: "server.connected";
|
|
@@ -1795,7 +1795,7 @@ export type SessionExecutionFailed = {
|
|
|
1795
1795
|
id: string;
|
|
1796
1796
|
created: number;
|
|
1797
1797
|
metadata?: {
|
|
1798
|
-
[x: string]:
|
|
1798
|
+
[x: string]: any;
|
|
1799
1799
|
};
|
|
1800
1800
|
type: "session.execution.failed";
|
|
1801
1801
|
durable: {
|
|
@@ -1813,7 +1813,7 @@ export type SessionStepFailed = {
|
|
|
1813
1813
|
id: string;
|
|
1814
1814
|
created: number;
|
|
1815
1815
|
metadata?: {
|
|
1816
|
-
[x: string]:
|
|
1816
|
+
[x: string]: any;
|
|
1817
1817
|
};
|
|
1818
1818
|
type: "session.step.failed";
|
|
1819
1819
|
durable: {
|
|
@@ -1834,7 +1834,7 @@ export type SessionRetryScheduled = {
|
|
|
1834
1834
|
id: string;
|
|
1835
1835
|
created: number;
|
|
1836
1836
|
metadata?: {
|
|
1837
|
-
[x: string]:
|
|
1837
|
+
[x: string]: any;
|
|
1838
1838
|
};
|
|
1839
1839
|
type: "session.retry.scheduled";
|
|
1840
1840
|
durable: {
|
|
@@ -1855,7 +1855,7 @@ export type SessionCompactionFailed = {
|
|
|
1855
1855
|
id: string;
|
|
1856
1856
|
created: number;
|
|
1857
1857
|
metadata?: {
|
|
1858
|
-
[x: string]:
|
|
1858
|
+
[x: string]: any;
|
|
1859
1859
|
};
|
|
1860
1860
|
type: "session.compaction.failed";
|
|
1861
1861
|
durable: {
|
|
@@ -1884,7 +1884,7 @@ export type SessionShellStarted = {
|
|
|
1884
1884
|
id: string;
|
|
1885
1885
|
created: number;
|
|
1886
1886
|
metadata?: {
|
|
1887
|
-
[x: string]:
|
|
1887
|
+
[x: string]: any;
|
|
1888
1888
|
};
|
|
1889
1889
|
type: "session.shell.started";
|
|
1890
1890
|
durable: {
|
|
@@ -1895,14 +1895,14 @@ export type SessionShellStarted = {
|
|
|
1895
1895
|
location?: LocationRef;
|
|
1896
1896
|
data: {
|
|
1897
1897
|
sessionID: string;
|
|
1898
|
-
shell:
|
|
1898
|
+
shell: ShellInfo;
|
|
1899
1899
|
};
|
|
1900
1900
|
};
|
|
1901
1901
|
export type SessionShellEnded = {
|
|
1902
1902
|
id: string;
|
|
1903
1903
|
created: number;
|
|
1904
1904
|
metadata?: {
|
|
1905
|
-
[x: string]:
|
|
1905
|
+
[x: string]: any;
|
|
1906
1906
|
};
|
|
1907
1907
|
type: "session.shell.ended";
|
|
1908
1908
|
durable: {
|
|
@@ -1913,7 +1913,7 @@ export type SessionShellEnded = {
|
|
|
1913
1913
|
location?: LocationRef;
|
|
1914
1914
|
data: {
|
|
1915
1915
|
sessionID: string;
|
|
1916
|
-
shell:
|
|
1916
|
+
shell: ShellInfo;
|
|
1917
1917
|
output: {
|
|
1918
1918
|
output: string;
|
|
1919
1919
|
cursor: number;
|
|
@@ -1926,19 +1926,19 @@ export type ShellCreated = {
|
|
|
1926
1926
|
id: string;
|
|
1927
1927
|
created: number;
|
|
1928
1928
|
metadata?: {
|
|
1929
|
-
[x: string]:
|
|
1929
|
+
[x: string]: any;
|
|
1930
1930
|
};
|
|
1931
1931
|
type: "shell.created";
|
|
1932
1932
|
location?: LocationRef;
|
|
1933
1933
|
data: {
|
|
1934
|
-
info:
|
|
1934
|
+
info: ShellInfo;
|
|
1935
1935
|
};
|
|
1936
1936
|
};
|
|
1937
1937
|
export type SessionReasoningStarted = {
|
|
1938
1938
|
id: string;
|
|
1939
1939
|
created: number;
|
|
1940
1940
|
metadata?: {
|
|
1941
|
-
[x: string]:
|
|
1941
|
+
[x: string]: any;
|
|
1942
1942
|
};
|
|
1943
1943
|
type: "session.reasoning.started";
|
|
1944
1944
|
durable: {
|
|
@@ -1958,7 +1958,7 @@ export type SessionReasoningEnded = {
|
|
|
1958
1958
|
id: string;
|
|
1959
1959
|
created: number;
|
|
1960
1960
|
metadata?: {
|
|
1961
|
-
[x: string]:
|
|
1961
|
+
[x: string]: any;
|
|
1962
1962
|
};
|
|
1963
1963
|
type: "session.reasoning.ended";
|
|
1964
1964
|
durable: {
|
|
@@ -1979,7 +1979,7 @@ export type SessionToolCalled = {
|
|
|
1979
1979
|
id: string;
|
|
1980
1980
|
created: number;
|
|
1981
1981
|
metadata?: {
|
|
1982
|
-
[x: string]:
|
|
1982
|
+
[x: string]: any;
|
|
1983
1983
|
};
|
|
1984
1984
|
type: "session.tool.called";
|
|
1985
1985
|
durable: {
|
|
@@ -1993,7 +1993,7 @@ export type SessionToolCalled = {
|
|
|
1993
1993
|
assistantMessageID: string;
|
|
1994
1994
|
callID: string;
|
|
1995
1995
|
input: {
|
|
1996
|
-
[x: string]:
|
|
1996
|
+
[x: string]: any;
|
|
1997
1997
|
};
|
|
1998
1998
|
executed: boolean;
|
|
1999
1999
|
state?: SessionMessageProviderState5;
|
|
@@ -2003,7 +2003,7 @@ export type SessionToolFailed = {
|
|
|
2003
2003
|
id: string;
|
|
2004
2004
|
created: number;
|
|
2005
2005
|
metadata?: {
|
|
2006
|
-
[x: string]:
|
|
2006
|
+
[x: string]: any;
|
|
2007
2007
|
};
|
|
2008
2008
|
type: "session.tool.failed";
|
|
2009
2009
|
durable: {
|
|
@@ -2017,7 +2017,7 @@ export type SessionToolFailed = {
|
|
|
2017
2017
|
assistantMessageID: string;
|
|
2018
2018
|
callID: string;
|
|
2019
2019
|
error: SessionStructuredError;
|
|
2020
|
-
result?:
|
|
2020
|
+
result?: any;
|
|
2021
2021
|
executed: boolean;
|
|
2022
2022
|
resultState?: SessionMessageProviderState7;
|
|
2023
2023
|
};
|
|
@@ -2151,7 +2151,7 @@ export type PermissionV2Asked = {
|
|
|
2151
2151
|
id: string;
|
|
2152
2152
|
created: number;
|
|
2153
2153
|
metadata?: {
|
|
2154
|
-
[x: string]:
|
|
2154
|
+
[x: string]: any;
|
|
2155
2155
|
};
|
|
2156
2156
|
type: "permission.v2.asked";
|
|
2157
2157
|
location?: LocationRef;
|
|
@@ -2162,7 +2162,7 @@ export type PermissionV2Asked = {
|
|
|
2162
2162
|
resources: Array<string>;
|
|
2163
2163
|
save?: Array<string>;
|
|
2164
2164
|
metadata?: {
|
|
2165
|
-
[x: string]:
|
|
2165
|
+
[x: string]: any;
|
|
2166
2166
|
};
|
|
2167
2167
|
source?: PermissionV2Source;
|
|
2168
2168
|
};
|
|
@@ -2228,7 +2228,7 @@ export type SessionError = {
|
|
|
2228
2228
|
id: string;
|
|
2229
2229
|
created: number;
|
|
2230
2230
|
metadata?: {
|
|
2231
|
-
[x: string]:
|
|
2231
|
+
[x: string]: any;
|
|
2232
2232
|
};
|
|
2233
2233
|
type: "session.error";
|
|
2234
2234
|
location?: LocationRef;
|
|
@@ -2260,7 +2260,7 @@ export type PermissionV2Replied = {
|
|
|
2260
2260
|
id: string;
|
|
2261
2261
|
created: number;
|
|
2262
2262
|
metadata?: {
|
|
2263
|
-
[x: string]:
|
|
2263
|
+
[x: string]: any;
|
|
2264
2264
|
};
|
|
2265
2265
|
type: "permission.v2.replied";
|
|
2266
2266
|
location?: LocationRef;
|
|
@@ -2274,7 +2274,7 @@ export type PtyCreated = {
|
|
|
2274
2274
|
id: string;
|
|
2275
2275
|
created: number;
|
|
2276
2276
|
metadata?: {
|
|
2277
|
-
[x: string]:
|
|
2277
|
+
[x: string]: any;
|
|
2278
2278
|
};
|
|
2279
2279
|
type: "pty.created";
|
|
2280
2280
|
location?: LocationRef;
|
|
@@ -2286,7 +2286,7 @@ export type PtyUpdated = {
|
|
|
2286
2286
|
id: string;
|
|
2287
2287
|
created: number;
|
|
2288
2288
|
metadata?: {
|
|
2289
|
-
[x: string]:
|
|
2289
|
+
[x: string]: any;
|
|
2290
2290
|
};
|
|
2291
2291
|
type: "pty.updated";
|
|
2292
2292
|
location?: LocationRef;
|
|
@@ -2305,7 +2305,7 @@ export type QuestionV2Replied = {
|
|
|
2305
2305
|
id: string;
|
|
2306
2306
|
created: number;
|
|
2307
2307
|
metadata?: {
|
|
2308
|
-
[x: string]:
|
|
2308
|
+
[x: string]: any;
|
|
2309
2309
|
};
|
|
2310
2310
|
type: "question.v2.replied";
|
|
2311
2311
|
location?: LocationRef;
|
|
@@ -2379,7 +2379,7 @@ export type SessionStatus2 = {
|
|
|
2379
2379
|
id: string;
|
|
2380
2380
|
created: number;
|
|
2381
2381
|
metadata?: {
|
|
2382
|
-
[x: string]:
|
|
2382
|
+
[x: string]: any;
|
|
2383
2383
|
};
|
|
2384
2384
|
type: "session.status";
|
|
2385
2385
|
location?: LocationRef;
|
|
@@ -2399,7 +2399,7 @@ export type QuestionReplied = {
|
|
|
2399
2399
|
id: string;
|
|
2400
2400
|
created: number;
|
|
2401
2401
|
metadata?: {
|
|
2402
|
-
[x: string]:
|
|
2402
|
+
[x: string]: any;
|
|
2403
2403
|
};
|
|
2404
2404
|
type: "question.replied";
|
|
2405
2405
|
location?: LocationRef;
|
|
@@ -2437,7 +2437,7 @@ export type SessionRevertStaged = {
|
|
|
2437
2437
|
id: string;
|
|
2438
2438
|
created: number;
|
|
2439
2439
|
metadata?: {
|
|
2440
|
-
[x: string]:
|
|
2440
|
+
[x: string]: any;
|
|
2441
2441
|
};
|
|
2442
2442
|
type: "session.revert.staged";
|
|
2443
2443
|
durable: {
|
|
@@ -2477,7 +2477,7 @@ export type SessionPendingUserData1 = {
|
|
|
2477
2477
|
files?: Array<PromptFileAttachment>;
|
|
2478
2478
|
agents?: Array<PromptAgentAttachment>;
|
|
2479
2479
|
metadata?: {
|
|
2480
|
-
[x: string]:
|
|
2480
|
+
[x: string]: any;
|
|
2481
2481
|
};
|
|
2482
2482
|
};
|
|
2483
2483
|
export type SessionMessageToolStateRunning = {
|
|
@@ -2517,7 +2517,7 @@ export type SessionToolProgress = {
|
|
|
2517
2517
|
id: string;
|
|
2518
2518
|
created: number;
|
|
2519
2519
|
metadata?: {
|
|
2520
|
-
[x: string]:
|
|
2520
|
+
[x: string]: any;
|
|
2521
2521
|
};
|
|
2522
2522
|
type: "session.tool.progress";
|
|
2523
2523
|
durable: {
|
|
@@ -2531,7 +2531,7 @@ export type SessionToolProgress = {
|
|
|
2531
2531
|
assistantMessageID: string;
|
|
2532
2532
|
callID: string;
|
|
2533
2533
|
structured: {
|
|
2534
|
-
[x: string]:
|
|
2534
|
+
[x: string]: any;
|
|
2535
2535
|
};
|
|
2536
2536
|
content: Array<LLMToolContent>;
|
|
2537
2537
|
};
|
|
@@ -2540,7 +2540,7 @@ export type SessionToolSuccess = {
|
|
|
2540
2540
|
id: string;
|
|
2541
2541
|
created: number;
|
|
2542
2542
|
metadata?: {
|
|
2543
|
-
[x: string]:
|
|
2543
|
+
[x: string]: any;
|
|
2544
2544
|
};
|
|
2545
2545
|
type: "session.tool.success";
|
|
2546
2546
|
durable: {
|
|
@@ -2554,10 +2554,10 @@ export type SessionToolSuccess = {
|
|
|
2554
2554
|
assistantMessageID: string;
|
|
2555
2555
|
callID: string;
|
|
2556
2556
|
structured: {
|
|
2557
|
-
[x: string]:
|
|
2557
|
+
[x: string]: any;
|
|
2558
2558
|
};
|
|
2559
2559
|
content: Array<LLMToolContent>;
|
|
2560
|
-
result?:
|
|
2560
|
+
result?: any;
|
|
2561
2561
|
executed: boolean;
|
|
2562
2562
|
resultState?: SessionMessageProviderState6;
|
|
2563
2563
|
};
|
|
@@ -2612,7 +2612,7 @@ export type FormReplied = {
|
|
|
2612
2612
|
id: string;
|
|
2613
2613
|
created: number;
|
|
2614
2614
|
metadata?: {
|
|
2615
|
-
[x: string]:
|
|
2615
|
+
[x: string]: any;
|
|
2616
2616
|
};
|
|
2617
2617
|
type: "form.replied";
|
|
2618
2618
|
location?: LocationRef;
|
|
@@ -2652,7 +2652,7 @@ export type QuestionV2Asked = {
|
|
|
2652
2652
|
id: string;
|
|
2653
2653
|
created: number;
|
|
2654
2654
|
metadata?: {
|
|
2655
|
-
[x: string]:
|
|
2655
|
+
[x: string]: any;
|
|
2656
2656
|
};
|
|
2657
2657
|
type: "question.v2.asked";
|
|
2658
2658
|
location?: LocationRef;
|
|
@@ -2674,7 +2674,7 @@ export type QuestionAsked = {
|
|
|
2674
2674
|
id: string;
|
|
2675
2675
|
created: number;
|
|
2676
2676
|
metadata?: {
|
|
2677
|
-
[x: string]:
|
|
2677
|
+
[x: string]: any;
|
|
2678
2678
|
};
|
|
2679
2679
|
type: "question.asked";
|
|
2680
2680
|
location?: LocationRef;
|
|
@@ -2685,6 +2685,13 @@ export type QuestionAsked = {
|
|
|
2685
2685
|
tool?: QuestionTool | undefined;
|
|
2686
2686
|
};
|
|
2687
2687
|
};
|
|
2688
|
+
export type ReferenceInfo = {
|
|
2689
|
+
name: string;
|
|
2690
|
+
path: string;
|
|
2691
|
+
description?: string;
|
|
2692
|
+
hidden?: boolean;
|
|
2693
|
+
source: ReferenceSource;
|
|
2694
|
+
};
|
|
2688
2695
|
export type AgentInfo = {
|
|
2689
2696
|
id: string;
|
|
2690
2697
|
name: string;
|
|
@@ -2825,6 +2832,12 @@ export type SessionMessageAssistant = {
|
|
|
2825
2832
|
error?: SessionStructuredError;
|
|
2826
2833
|
retry?: SessionMessageAssistantRetry;
|
|
2827
2834
|
};
|
|
2835
|
+
export type IntegrationInfo = {
|
|
2836
|
+
id: string;
|
|
2837
|
+
name: string;
|
|
2838
|
+
methods: Array<IntegrationMethod>;
|
|
2839
|
+
connections: Array<ConnectionInfo>;
|
|
2840
|
+
};
|
|
2828
2841
|
export type FormInfo = {
|
|
2829
2842
|
id: string;
|
|
2830
2843
|
sessionID: string;
|
|
@@ -2836,7 +2849,7 @@ export type SessionCreated = {
|
|
|
2836
2849
|
id: string;
|
|
2837
2850
|
created: number;
|
|
2838
2851
|
metadata?: {
|
|
2839
|
-
[x: string]:
|
|
2852
|
+
[x: string]: any;
|
|
2840
2853
|
};
|
|
2841
2854
|
type: "session.created";
|
|
2842
2855
|
durable: {
|
|
@@ -2854,7 +2867,7 @@ export type SessionUpdated = {
|
|
|
2854
2867
|
id: string;
|
|
2855
2868
|
created: number;
|
|
2856
2869
|
metadata?: {
|
|
2857
|
-
[x: string]:
|
|
2870
|
+
[x: string]: any;
|
|
2858
2871
|
};
|
|
2859
2872
|
type: "session.updated";
|
|
2860
2873
|
durable: {
|
|
@@ -2872,7 +2885,7 @@ export type SessionDeleted1 = {
|
|
|
2872
2885
|
id: string;
|
|
2873
2886
|
created: number;
|
|
2874
2887
|
metadata?: {
|
|
2875
|
-
[x: string]:
|
|
2888
|
+
[x: string]: any;
|
|
2876
2889
|
};
|
|
2877
2890
|
type: "session.deleted";
|
|
2878
2891
|
durable: {
|
|
@@ -2890,7 +2903,7 @@ export type MessageUpdated = {
|
|
|
2890
2903
|
id: string;
|
|
2891
2904
|
created: number;
|
|
2892
2905
|
metadata?: {
|
|
2893
|
-
[x: string]:
|
|
2906
|
+
[x: string]: any;
|
|
2894
2907
|
};
|
|
2895
2908
|
type: "message.updated";
|
|
2896
2909
|
durable: {
|
|
@@ -2932,7 +2945,7 @@ export type SessionInputAdmitted = {
|
|
|
2932
2945
|
id: string;
|
|
2933
2946
|
created: number;
|
|
2934
2947
|
metadata?: {
|
|
2935
|
-
[x: string]:
|
|
2948
|
+
[x: string]: any;
|
|
2936
2949
|
};
|
|
2937
2950
|
type: "session.input.admitted";
|
|
2938
2951
|
durable: {
|
|
@@ -2953,7 +2966,7 @@ export type FormCreated = {
|
|
|
2953
2966
|
id: string;
|
|
2954
2967
|
created: number;
|
|
2955
2968
|
metadata?: {
|
|
2956
|
-
[x: string]:
|
|
2969
|
+
[x: string]: any;
|
|
2957
2970
|
};
|
|
2958
2971
|
type: "form.created";
|
|
2959
2972
|
location?: LocationRef;
|
|
@@ -2987,7 +3000,7 @@ export type MessagePartUpdated = {
|
|
|
2987
3000
|
id: string;
|
|
2988
3001
|
created: number;
|
|
2989
3002
|
metadata?: {
|
|
2990
|
-
[x: string]:
|
|
3003
|
+
[x: string]: any;
|
|
2991
3004
|
};
|
|
2992
3005
|
type: "message.part.updated";
|
|
2993
3006
|
durable: {
|
|
@@ -4300,12 +4313,7 @@ export type IntegrationListOutput = {
|
|
|
4300
4313
|
directory: string;
|
|
4301
4314
|
};
|
|
4302
4315
|
};
|
|
4303
|
-
data: Array<
|
|
4304
|
-
id: string;
|
|
4305
|
-
name: string;
|
|
4306
|
-
methods: Array<IntegrationMethod>;
|
|
4307
|
-
connections: Array<ConnectionInfo>;
|
|
4308
|
-
}>;
|
|
4316
|
+
data: Array<IntegrationInfo>;
|
|
4309
4317
|
};
|
|
4310
4318
|
export type IntegrationGetInput = {
|
|
4311
4319
|
readonly integrationID: {
|
|
@@ -4327,12 +4335,7 @@ export type IntegrationGetOutput = {
|
|
|
4327
4335
|
directory: string;
|
|
4328
4336
|
};
|
|
4329
4337
|
};
|
|
4330
|
-
data:
|
|
4331
|
-
id: string;
|
|
4332
|
-
name: string;
|
|
4333
|
-
methods: Array<IntegrationMethod>;
|
|
4334
|
-
connections: Array<ConnectionInfo>;
|
|
4335
|
-
} | null;
|
|
4338
|
+
data: IntegrationInfo | null;
|
|
4336
4339
|
};
|
|
4337
4340
|
export type IntegrationConnectKeyInput = {
|
|
4338
4341
|
readonly integrationID: {
|
|
@@ -5870,7 +5873,7 @@ export type ShellListOutput = {
|
|
|
5870
5873
|
directory: string;
|
|
5871
5874
|
};
|
|
5872
5875
|
};
|
|
5873
|
-
data: Array<
|
|
5876
|
+
data: Array<ShellInfo1>;
|
|
5874
5877
|
};
|
|
5875
5878
|
export type ShellCreateInput = {
|
|
5876
5879
|
readonly location?: {
|
|
@@ -5921,7 +5924,7 @@ export type ShellCreateOutput = {
|
|
|
5921
5924
|
directory: string;
|
|
5922
5925
|
};
|
|
5923
5926
|
};
|
|
5924
|
-
data:
|
|
5927
|
+
data: ShellInfo1;
|
|
5925
5928
|
};
|
|
5926
5929
|
export type ShellGetInput = {
|
|
5927
5930
|
readonly id: {
|
|
@@ -5943,7 +5946,7 @@ export type ShellGetOutput = {
|
|
|
5943
5946
|
directory: string;
|
|
5944
5947
|
};
|
|
5945
5948
|
};
|
|
5946
|
-
data:
|
|
5949
|
+
data: ShellInfo1;
|
|
5947
5950
|
};
|
|
5948
5951
|
export type ShellTimeoutInput = {
|
|
5949
5952
|
readonly id: {
|
|
@@ -5968,7 +5971,7 @@ export type ShellTimeoutOutput = {
|
|
|
5968
5971
|
directory: string;
|
|
5969
5972
|
};
|
|
5970
5973
|
};
|
|
5971
|
-
data:
|
|
5974
|
+
data: ShellInfo1;
|
|
5972
5975
|
};
|
|
5973
5976
|
export type ShellOutputInput = {
|
|
5974
5977
|
readonly id: {
|
|
@@ -6096,13 +6099,7 @@ export type ReferenceListOutput = {
|
|
|
6096
6099
|
directory: string;
|
|
6097
6100
|
};
|
|
6098
6101
|
};
|
|
6099
|
-
data: Array<
|
|
6100
|
-
name: string;
|
|
6101
|
-
path: string;
|
|
6102
|
-
description?: string;
|
|
6103
|
-
hidden?: boolean;
|
|
6104
|
-
source: ReferenceSource;
|
|
6105
|
-
}>;
|
|
6102
|
+
data: Array<ReferenceInfo>;
|
|
6106
6103
|
};
|
|
6107
6104
|
export type ProjectCopyCreateInput = {
|
|
6108
6105
|
readonly projectID: {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "@opencode-ai/client",
|
|
4
|
-
"version": "0.0.0-next-
|
|
4
|
+
"version": "0.0.0-next-15345",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
"typecheck": "tsgo --noEmit"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@opencode-ai/schema": "0.0.0-next-
|
|
49
|
-
"@opencode-ai/protocol": "0.0.0-next-
|
|
48
|
+
"@opencode-ai/schema": "0.0.0-next-15345",
|
|
49
|
+
"@opencode-ai/protocol": "0.0.0-next-15345"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
52
|
"effect": "4.0.0-beta.83"
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@effect/platform-node": "4.0.0-beta.83",
|
|
61
|
-
"@opencode-ai/httpapi-codegen": "0.0.0-next-
|
|
61
|
+
"@opencode-ai/httpapi-codegen": "0.0.0-next-15345",
|
|
62
62
|
"@tsconfig/bun": "1.0.9",
|
|
63
63
|
"@types/bun": "1.3.13",
|
|
64
64
|
"@typescript/native-preview": "7.0.0-dev.20251207.1",
|