@opencode-ai/sdk 1.1.24 → 1.1.26
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 +8 -0
- package/dist/v2/gen/sdk.gen.d.ts +135 -108
- package/dist/v2/gen/sdk.gen.js +229 -166
- package/dist/v2/gen/types.gen.d.ts +369 -308
- package/package.json +1 -1
package/dist/gen/types.gen.d.ts
CHANGED
|
@@ -703,6 +703,14 @@ export type KeybindsConfig = {
|
|
|
703
703
|
* Scroll messages down by one page
|
|
704
704
|
*/
|
|
705
705
|
messages_page_down?: string;
|
|
706
|
+
/**
|
|
707
|
+
* Scroll messages up by one line
|
|
708
|
+
*/
|
|
709
|
+
messages_line_up?: string;
|
|
710
|
+
/**
|
|
711
|
+
* Scroll messages down by one line
|
|
712
|
+
*/
|
|
713
|
+
messages_line_down?: string;
|
|
706
714
|
/**
|
|
707
715
|
* Scroll messages up by half page
|
|
708
716
|
*/
|
package/dist/v2/gen/sdk.gen.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type Client, type Options as Options2, type TDataShape } from "./client/index.js";
|
|
2
|
-
import type { AgentPartInput, AppAgentsResponses, AppLogErrors, AppLogResponses, Auth as Auth3, AuthSetErrors, AuthSetResponses, CommandListResponses, Config as Config2, ConfigGetResponses, ConfigProvidersResponses, ConfigUpdateErrors, ConfigUpdateResponses, EventSubscribeResponses, EventTuiCommandExecute, EventTuiPromptAppend, EventTuiSessionSelect, EventTuiToastShow, ExperimentalResourceListResponses, FileListResponses, FilePartInput, FilePartSource, FileReadResponses, FileStatusResponses, FindFilesResponses, FindSymbolsResponses, FindTextResponses, FormatterStatusResponses, GlobalDisposeResponses, GlobalEventResponses, GlobalHealthResponses, InstanceDisposeResponses, LspStatusResponses, McpAddErrors, McpAddResponses, McpAuthAuthenticateErrors, McpAuthAuthenticateResponses, McpAuthCallbackErrors, McpAuthCallbackResponses, McpAuthRemoveErrors, McpAuthRemoveResponses, McpAuthStartErrors, McpAuthStartResponses, McpConnectResponses, McpDisconnectResponses, McpLocalConfig, McpRemoteConfig, McpStatusResponses, Part as Part2, PartDeleteErrors, PartDeleteResponses, PartUpdateErrors, PartUpdateResponses, PathGetResponses, PermissionListResponses, PermissionReplyErrors, PermissionReplyResponses, PermissionRespondErrors, PermissionRespondResponses, PermissionRuleset, ProjectCurrentResponses, ProjectListResponses, ProjectUpdateErrors, ProjectUpdateResponses, ProviderAuthResponses, ProviderListResponses, ProviderOauthAuthorizeErrors, ProviderOauthAuthorizeResponses, ProviderOauthCallbackErrors, ProviderOauthCallbackResponses, PtyConnectErrors, PtyConnectResponses, PtyCreateErrors, PtyCreateResponses, PtyGetErrors, PtyGetResponses, PtyListResponses, PtyRemoveErrors, PtyRemoveResponses, PtyUpdateErrors, PtyUpdateResponses, QuestionAnswer, QuestionListResponses, QuestionRejectErrors, QuestionRejectResponses, QuestionReplyErrors, QuestionReplyResponses, SessionAbortErrors, SessionAbortResponses, SessionChildrenErrors, SessionChildrenResponses, SessionCommandErrors, SessionCommandResponses, SessionCreateErrors, SessionCreateResponses, SessionDeleteErrors, SessionDeleteResponses,
|
|
2
|
+
import type { AgentPartInput, AppAgentsResponses, AppLogErrors, AppLogResponses, AppSkillsResponses, Auth as Auth3, AuthSetErrors, AuthSetResponses, CommandListResponses, Config as Config2, ConfigGetResponses, ConfigProvidersResponses, ConfigUpdateErrors, ConfigUpdateResponses, EventSubscribeResponses, EventTuiCommandExecute, EventTuiPromptAppend, EventTuiSessionSelect, EventTuiToastShow, ExperimentalResourceListResponses, FileListResponses, FilePartInput, FilePartSource, FileReadResponses, FileStatusResponses, FindFilesResponses, FindSymbolsResponses, FindTextResponses, FormatterStatusResponses, GlobalDisposeResponses, GlobalEventResponses, GlobalHealthResponses, InstanceDisposeResponses, LspStatusResponses, McpAddErrors, McpAddResponses, McpAuthAuthenticateErrors, McpAuthAuthenticateResponses, McpAuthCallbackErrors, McpAuthCallbackResponses, McpAuthRemoveErrors, McpAuthRemoveResponses, McpAuthStartErrors, McpAuthStartResponses, McpConnectResponses, McpDisconnectResponses, McpLocalConfig, McpRemoteConfig, McpStatusResponses, Part as Part2, PartDeleteErrors, PartDeleteResponses, PartUpdateErrors, PartUpdateResponses, PathGetResponses, PermissionListResponses, PermissionReplyErrors, PermissionReplyResponses, PermissionRespondErrors, PermissionRespondResponses, PermissionRuleset, ProjectCurrentResponses, ProjectListResponses, ProjectUpdateErrors, ProjectUpdateResponses, ProviderAuthResponses, ProviderListResponses, ProviderOauthAuthorizeErrors, ProviderOauthAuthorizeResponses, ProviderOauthCallbackErrors, ProviderOauthCallbackResponses, PtyConnectErrors, PtyConnectResponses, PtyCreateErrors, PtyCreateResponses, PtyGetErrors, PtyGetResponses, PtyListResponses, PtyRemoveErrors, PtyRemoveResponses, PtyUpdateErrors, PtyUpdateResponses, QuestionAnswer, QuestionListResponses, QuestionRejectErrors, QuestionRejectResponses, QuestionReplyErrors, QuestionReplyResponses, SessionAbortErrors, SessionAbortResponses, SessionChildrenErrors, SessionChildrenResponses, SessionCommandErrors, SessionCommandResponses, SessionCreateErrors, SessionCreateResponses, SessionDeleteErrors, SessionDeleteResponses, SessionDiffResponses, SessionForkResponses, SessionGetErrors, SessionGetResponses, SessionInitErrors, SessionInitResponses, SessionListResponses, SessionMessageErrors, SessionMessageResponses, SessionMessagesErrors, SessionMessagesResponses, SessionPromptAsyncErrors, SessionPromptAsyncResponses, SessionPromptErrors, SessionPromptResponses, SessionRevertErrors, SessionRevertResponses, SessionShareErrors, SessionShareResponses, SessionShellErrors, SessionShellResponses, SessionStatusErrors, SessionStatusResponses, SessionSummarizeErrors, SessionSummarizeResponses, SessionTodoErrors, SessionTodoResponses, SessionUnrevertErrors, SessionUnrevertResponses, SessionUnshareErrors, SessionUnshareResponses, SessionUpdateErrors, SessionUpdateResponses, SubtaskPartInput, TextPartInput, ToolIdsErrors, ToolIdsResponses, ToolListErrors, ToolListResponses, TuiAppendPromptErrors, TuiAppendPromptResponses, TuiClearPromptResponses, TuiControlNextResponses, TuiControlResponseResponses, TuiExecuteCommandErrors, TuiExecuteCommandResponses, TuiOpenHelpResponses, TuiOpenModelsResponses, TuiOpenSessionsResponses, TuiOpenThemesResponses, TuiPublishErrors, TuiPublishResponses, TuiSelectSessionErrors, TuiSelectSessionResponses, TuiShowToastResponses, TuiSubmitPromptResponses, VcsGetResponses, WorktreeCreateErrors, WorktreeCreateInput, WorktreeCreateResponses, WorktreeListResponses, WorktreeRemoveErrors, WorktreeRemoveInput, WorktreeRemoveResponses, WorktreeResetErrors, WorktreeResetInput, WorktreeResetResponses } from "./types.gen.js";
|
|
3
3
|
export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options2<TData, ThrowOnError> & {
|
|
4
4
|
/**
|
|
5
5
|
* You can provide a client instance returned by `createClient()` instead of
|
|
@@ -73,6 +73,7 @@ export declare class Project extends HeyApiClient {
|
|
|
73
73
|
name?: string;
|
|
74
74
|
icon?: {
|
|
75
75
|
url?: string;
|
|
76
|
+
override?: string;
|
|
76
77
|
color?: string;
|
|
77
78
|
};
|
|
78
79
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ProjectUpdateResponses, ProjectUpdateErrors, ThrowOnError, "fields">;
|
|
@@ -190,27 +191,16 @@ export declare class Tool extends HeyApiClient {
|
|
|
190
191
|
model: string;
|
|
191
192
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ToolListResponses, ToolListErrors, ThrowOnError, "fields">;
|
|
192
193
|
}
|
|
193
|
-
export declare class
|
|
194
|
-
/**
|
|
195
|
-
* Dispose instance
|
|
196
|
-
*
|
|
197
|
-
* Clean up and dispose the current OpenCode instance, releasing all resources.
|
|
198
|
-
*/
|
|
199
|
-
dispose<ThrowOnError extends boolean = false>(parameters?: {
|
|
200
|
-
directory?: string;
|
|
201
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<InstanceDisposeResponses, unknown, ThrowOnError, "fields">;
|
|
202
|
-
}
|
|
203
|
-
export declare class Path extends HeyApiClient {
|
|
194
|
+
export declare class Worktree extends HeyApiClient {
|
|
204
195
|
/**
|
|
205
|
-
*
|
|
196
|
+
* Remove worktree
|
|
206
197
|
*
|
|
207
|
-
*
|
|
198
|
+
* Remove a git worktree and delete its branch.
|
|
208
199
|
*/
|
|
209
|
-
|
|
200
|
+
remove<ThrowOnError extends boolean = false>(parameters?: {
|
|
210
201
|
directory?: string;
|
|
211
|
-
|
|
212
|
-
}
|
|
213
|
-
export declare class Worktree extends HeyApiClient {
|
|
202
|
+
worktreeRemoveInput?: WorktreeRemoveInput;
|
|
203
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<WorktreeRemoveResponses, WorktreeRemoveErrors, ThrowOnError, "fields">;
|
|
214
204
|
/**
|
|
215
205
|
* List worktrees
|
|
216
206
|
*
|
|
@@ -228,16 +218,29 @@ export declare class Worktree extends HeyApiClient {
|
|
|
228
218
|
directory?: string;
|
|
229
219
|
worktreeCreateInput?: WorktreeCreateInput;
|
|
230
220
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<WorktreeCreateResponses, WorktreeCreateErrors, ThrowOnError, "fields">;
|
|
221
|
+
/**
|
|
222
|
+
* Reset worktree
|
|
223
|
+
*
|
|
224
|
+
* Reset a worktree branch to the primary default branch.
|
|
225
|
+
*/
|
|
226
|
+
reset<ThrowOnError extends boolean = false>(parameters?: {
|
|
227
|
+
directory?: string;
|
|
228
|
+
worktreeResetInput?: WorktreeResetInput;
|
|
229
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<WorktreeResetResponses, WorktreeResetErrors, ThrowOnError, "fields">;
|
|
231
230
|
}
|
|
232
|
-
export declare class
|
|
231
|
+
export declare class Resource extends HeyApiClient {
|
|
233
232
|
/**
|
|
234
|
-
* Get
|
|
233
|
+
* Get MCP resources
|
|
235
234
|
*
|
|
236
|
-
*
|
|
235
|
+
* Get all available MCP resources from connected servers. Optionally filter by name.
|
|
237
236
|
*/
|
|
238
|
-
|
|
237
|
+
list<ThrowOnError extends boolean = false>(parameters?: {
|
|
239
238
|
directory?: string;
|
|
240
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<
|
|
239
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ExperimentalResourceListResponses, unknown, ThrowOnError, "fields">;
|
|
240
|
+
}
|
|
241
|
+
export declare class Experimental extends HeyApiClient {
|
|
242
|
+
private _resource?;
|
|
243
|
+
get resource(): Resource;
|
|
241
244
|
}
|
|
242
245
|
export declare class Session extends HeyApiClient {
|
|
243
246
|
/**
|
|
@@ -370,15 +373,15 @@ export declare class Session extends HeyApiClient {
|
|
|
370
373
|
directory?: string;
|
|
371
374
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionShareResponses, SessionShareErrors, ThrowOnError, "fields">;
|
|
372
375
|
/**
|
|
373
|
-
* Get
|
|
376
|
+
* Get message diff
|
|
374
377
|
*
|
|
375
|
-
* Get
|
|
378
|
+
* Get the file changes (diff) that resulted from a specific user message in the session.
|
|
376
379
|
*/
|
|
377
380
|
diff<ThrowOnError extends boolean = false>(parameters: {
|
|
378
381
|
sessionID: string;
|
|
379
382
|
directory?: string;
|
|
380
383
|
messageID?: string;
|
|
381
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionDiffResponses,
|
|
384
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionDiffResponses, unknown, ThrowOnError, "fields">;
|
|
382
385
|
/**
|
|
383
386
|
* Summarize session
|
|
384
387
|
*
|
|
@@ -598,16 +601,6 @@ export declare class Question extends HeyApiClient {
|
|
|
598
601
|
directory?: string;
|
|
599
602
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<QuestionRejectResponses, QuestionRejectErrors, ThrowOnError, "fields">;
|
|
600
603
|
}
|
|
601
|
-
export declare class Command extends HeyApiClient {
|
|
602
|
-
/**
|
|
603
|
-
* List commands
|
|
604
|
-
*
|
|
605
|
-
* Get a list of all available commands in the OpenCode system.
|
|
606
|
-
*/
|
|
607
|
-
list<ThrowOnError extends boolean = false>(parameters?: {
|
|
608
|
-
directory?: string;
|
|
609
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<CommandListResponses, unknown, ThrowOnError, "fields">;
|
|
610
|
-
}
|
|
611
604
|
export declare class Oauth extends HeyApiClient {
|
|
612
605
|
/**
|
|
613
606
|
* OAuth authorize
|
|
@@ -711,30 +704,6 @@ export declare class File extends HeyApiClient {
|
|
|
711
704
|
directory?: string;
|
|
712
705
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FileStatusResponses, unknown, ThrowOnError, "fields">;
|
|
713
706
|
}
|
|
714
|
-
export declare class App extends HeyApiClient {
|
|
715
|
-
/**
|
|
716
|
-
* Write log
|
|
717
|
-
*
|
|
718
|
-
* Write a log entry to the server logs with specified level and metadata.
|
|
719
|
-
*/
|
|
720
|
-
log<ThrowOnError extends boolean = false>(parameters?: {
|
|
721
|
-
directory?: string;
|
|
722
|
-
service?: string;
|
|
723
|
-
level?: "debug" | "info" | "error" | "warn";
|
|
724
|
-
message?: string;
|
|
725
|
-
extra?: {
|
|
726
|
-
[key: string]: unknown;
|
|
727
|
-
};
|
|
728
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<AppLogResponses, AppLogErrors, ThrowOnError, "fields">;
|
|
729
|
-
/**
|
|
730
|
-
* List agents
|
|
731
|
-
*
|
|
732
|
-
* Get a list of all available AI agents in the OpenCode system.
|
|
733
|
-
*/
|
|
734
|
-
agents<ThrowOnError extends boolean = false>(parameters?: {
|
|
735
|
-
directory?: string;
|
|
736
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<AppAgentsResponses, unknown, ThrowOnError, "fields">;
|
|
737
|
-
}
|
|
738
707
|
export declare class Auth extends HeyApiClient {
|
|
739
708
|
/**
|
|
740
709
|
* Remove MCP OAuth
|
|
@@ -810,40 +779,6 @@ export declare class Mcp extends HeyApiClient {
|
|
|
810
779
|
private _auth?;
|
|
811
780
|
get auth(): Auth;
|
|
812
781
|
}
|
|
813
|
-
export declare class Resource extends HeyApiClient {
|
|
814
|
-
/**
|
|
815
|
-
* Get MCP resources
|
|
816
|
-
*
|
|
817
|
-
* Get all available MCP resources from connected servers. Optionally filter by name.
|
|
818
|
-
*/
|
|
819
|
-
list<ThrowOnError extends boolean = false>(parameters?: {
|
|
820
|
-
directory?: string;
|
|
821
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ExperimentalResourceListResponses, unknown, ThrowOnError, "fields">;
|
|
822
|
-
}
|
|
823
|
-
export declare class Experimental extends HeyApiClient {
|
|
824
|
-
private _resource?;
|
|
825
|
-
get resource(): Resource;
|
|
826
|
-
}
|
|
827
|
-
export declare class Lsp extends HeyApiClient {
|
|
828
|
-
/**
|
|
829
|
-
* Get LSP status
|
|
830
|
-
*
|
|
831
|
-
* Get LSP server status
|
|
832
|
-
*/
|
|
833
|
-
status<ThrowOnError extends boolean = false>(parameters?: {
|
|
834
|
-
directory?: string;
|
|
835
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<LspStatusResponses, unknown, ThrowOnError, "fields">;
|
|
836
|
-
}
|
|
837
|
-
export declare class Formatter extends HeyApiClient {
|
|
838
|
-
/**
|
|
839
|
-
* Get formatter status
|
|
840
|
-
*
|
|
841
|
-
* Get formatter status
|
|
842
|
-
*/
|
|
843
|
-
status<ThrowOnError extends boolean = false>(parameters?: {
|
|
844
|
-
directory?: string;
|
|
845
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FormatterStatusResponses, unknown, ThrowOnError, "fields">;
|
|
846
|
-
}
|
|
847
782
|
export declare class Control extends HeyApiClient {
|
|
848
783
|
/**
|
|
849
784
|
* Get next TUI request
|
|
@@ -963,6 +898,98 @@ export declare class Tui extends HeyApiClient {
|
|
|
963
898
|
private _control?;
|
|
964
899
|
get control(): Control;
|
|
965
900
|
}
|
|
901
|
+
export declare class Instance extends HeyApiClient {
|
|
902
|
+
/**
|
|
903
|
+
* Dispose instance
|
|
904
|
+
*
|
|
905
|
+
* Clean up and dispose the current OpenCode instance, releasing all resources.
|
|
906
|
+
*/
|
|
907
|
+
dispose<ThrowOnError extends boolean = false>(parameters?: {
|
|
908
|
+
directory?: string;
|
|
909
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<InstanceDisposeResponses, unknown, ThrowOnError, "fields">;
|
|
910
|
+
}
|
|
911
|
+
export declare class Path extends HeyApiClient {
|
|
912
|
+
/**
|
|
913
|
+
* Get paths
|
|
914
|
+
*
|
|
915
|
+
* Retrieve the current working directory and related path information for the OpenCode instance.
|
|
916
|
+
*/
|
|
917
|
+
get<ThrowOnError extends boolean = false>(parameters?: {
|
|
918
|
+
directory?: string;
|
|
919
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PathGetResponses, unknown, ThrowOnError, "fields">;
|
|
920
|
+
}
|
|
921
|
+
export declare class Vcs extends HeyApiClient {
|
|
922
|
+
/**
|
|
923
|
+
* Get VCS info
|
|
924
|
+
*
|
|
925
|
+
* Retrieve version control system (VCS) information for the current project, such as git branch.
|
|
926
|
+
*/
|
|
927
|
+
get<ThrowOnError extends boolean = false>(parameters?: {
|
|
928
|
+
directory?: string;
|
|
929
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<VcsGetResponses, unknown, ThrowOnError, "fields">;
|
|
930
|
+
}
|
|
931
|
+
export declare class Command extends HeyApiClient {
|
|
932
|
+
/**
|
|
933
|
+
* List commands
|
|
934
|
+
*
|
|
935
|
+
* Get a list of all available commands in the OpenCode system.
|
|
936
|
+
*/
|
|
937
|
+
list<ThrowOnError extends boolean = false>(parameters?: {
|
|
938
|
+
directory?: string;
|
|
939
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<CommandListResponses, unknown, ThrowOnError, "fields">;
|
|
940
|
+
}
|
|
941
|
+
export declare class App extends HeyApiClient {
|
|
942
|
+
/**
|
|
943
|
+
* Write log
|
|
944
|
+
*
|
|
945
|
+
* Write a log entry to the server logs with specified level and metadata.
|
|
946
|
+
*/
|
|
947
|
+
log<ThrowOnError extends boolean = false>(parameters?: {
|
|
948
|
+
directory?: string;
|
|
949
|
+
service?: string;
|
|
950
|
+
level?: "debug" | "info" | "error" | "warn";
|
|
951
|
+
message?: string;
|
|
952
|
+
extra?: {
|
|
953
|
+
[key: string]: unknown;
|
|
954
|
+
};
|
|
955
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<AppLogResponses, AppLogErrors, ThrowOnError, "fields">;
|
|
956
|
+
/**
|
|
957
|
+
* List agents
|
|
958
|
+
*
|
|
959
|
+
* Get a list of all available AI agents in the OpenCode system.
|
|
960
|
+
*/
|
|
961
|
+
agents<ThrowOnError extends boolean = false>(parameters?: {
|
|
962
|
+
directory?: string;
|
|
963
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<AppAgentsResponses, unknown, ThrowOnError, "fields">;
|
|
964
|
+
/**
|
|
965
|
+
* List skills
|
|
966
|
+
*
|
|
967
|
+
* Get a list of all available skills in the OpenCode system.
|
|
968
|
+
*/
|
|
969
|
+
skills<ThrowOnError extends boolean = false>(parameters?: {
|
|
970
|
+
directory?: string;
|
|
971
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<AppSkillsResponses, unknown, ThrowOnError, "fields">;
|
|
972
|
+
}
|
|
973
|
+
export declare class Lsp extends HeyApiClient {
|
|
974
|
+
/**
|
|
975
|
+
* Get LSP status
|
|
976
|
+
*
|
|
977
|
+
* Get LSP server status
|
|
978
|
+
*/
|
|
979
|
+
status<ThrowOnError extends boolean = false>(parameters?: {
|
|
980
|
+
directory?: string;
|
|
981
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<LspStatusResponses, unknown, ThrowOnError, "fields">;
|
|
982
|
+
}
|
|
983
|
+
export declare class Formatter extends HeyApiClient {
|
|
984
|
+
/**
|
|
985
|
+
* Get formatter status
|
|
986
|
+
*
|
|
987
|
+
* Get formatter status
|
|
988
|
+
*/
|
|
989
|
+
status<ThrowOnError extends boolean = false>(parameters?: {
|
|
990
|
+
directory?: string;
|
|
991
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FormatterStatusResponses, unknown, ThrowOnError, "fields">;
|
|
992
|
+
}
|
|
966
993
|
export declare class Auth2 extends HeyApiClient {
|
|
967
994
|
/**
|
|
968
995
|
* Set auth credentials
|
|
@@ -1001,14 +1028,10 @@ export declare class OpencodeClient extends HeyApiClient {
|
|
|
1001
1028
|
get config(): Config;
|
|
1002
1029
|
private _tool?;
|
|
1003
1030
|
get tool(): Tool;
|
|
1004
|
-
private _instance?;
|
|
1005
|
-
get instance(): Instance;
|
|
1006
|
-
private _path?;
|
|
1007
|
-
get path(): Path;
|
|
1008
1031
|
private _worktree?;
|
|
1009
1032
|
get worktree(): Worktree;
|
|
1010
|
-
private
|
|
1011
|
-
get
|
|
1033
|
+
private _experimental?;
|
|
1034
|
+
get experimental(): Experimental;
|
|
1012
1035
|
private _session?;
|
|
1013
1036
|
get session(): Session;
|
|
1014
1037
|
private _part?;
|
|
@@ -1017,26 +1040,30 @@ export declare class OpencodeClient extends HeyApiClient {
|
|
|
1017
1040
|
get permission(): Permission;
|
|
1018
1041
|
private _question?;
|
|
1019
1042
|
get question(): Question;
|
|
1020
|
-
private _command?;
|
|
1021
|
-
get command(): Command;
|
|
1022
1043
|
private _provider?;
|
|
1023
1044
|
get provider(): Provider;
|
|
1024
1045
|
private _find?;
|
|
1025
1046
|
get find(): Find;
|
|
1026
1047
|
private _file?;
|
|
1027
1048
|
get file(): File;
|
|
1028
|
-
private _app?;
|
|
1029
|
-
get app(): App;
|
|
1030
1049
|
private _mcp?;
|
|
1031
1050
|
get mcp(): Mcp;
|
|
1032
|
-
private
|
|
1033
|
-
get
|
|
1051
|
+
private _tui?;
|
|
1052
|
+
get tui(): Tui;
|
|
1053
|
+
private _instance?;
|
|
1054
|
+
get instance(): Instance;
|
|
1055
|
+
private _path?;
|
|
1056
|
+
get path(): Path;
|
|
1057
|
+
private _vcs?;
|
|
1058
|
+
get vcs(): Vcs;
|
|
1059
|
+
private _command?;
|
|
1060
|
+
get command(): Command;
|
|
1061
|
+
private _app?;
|
|
1062
|
+
get app(): App;
|
|
1034
1063
|
private _lsp?;
|
|
1035
1064
|
get lsp(): Lsp;
|
|
1036
1065
|
private _formatter?;
|
|
1037
1066
|
get formatter(): Formatter;
|
|
1038
|
-
private _tui?;
|
|
1039
|
-
get tui(): Tui;
|
|
1040
1067
|
private _auth?;
|
|
1041
1068
|
get auth(): Auth2;
|
|
1042
1069
|
private _event?;
|