@opencode-ai/sdk 0.0.0-snapshot-start-screen-tips-202512230618 → 0.0.0-snapshot-terminal-title-animation-202512230641
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/v2/gen/sdk.gen.d.ts +1 -7
- package/dist/v2/gen/sdk.gen.js +0 -11
- package/dist/v2/gen/types.gen.d.ts +0 -36
- package/package.json +1 -1
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 Auth2, AuthSetErrors, AuthSetResponses, CommandListResponses, Config as Config2, ConfigGetResponses, ConfigProvidersResponses, ConfigUpdateErrors, ConfigUpdateResponses, EventSubscribeResponses, EventTuiCommandExecute, EventTuiPromptAppend, EventTuiToastShow, FileListResponses, FilePartInput, FileReadResponses, FileStatusResponses, FindFilesResponses, FindSymbolsResponses, FindTextResponses, FormatterStatusResponses, GlobalDisposeResponses, GlobalEventResponses,
|
|
2
|
+
import type { AgentPartInput, AppAgentsResponses, AppLogErrors, AppLogResponses, Auth as Auth2, AuthSetErrors, AuthSetResponses, CommandListResponses, Config as Config2, ConfigGetResponses, ConfigProvidersResponses, ConfigUpdateErrors, ConfigUpdateResponses, EventSubscribeResponses, EventTuiCommandExecute, EventTuiPromptAppend, EventTuiToastShow, FileListResponses, FilePartInput, FileReadResponses, FileStatusResponses, FindFilesResponses, FindSymbolsResponses, FindTextResponses, FormatterStatusResponses, GlobalDisposeResponses, GlobalEventResponses, 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, PermissionRespondErrors, PermissionRespondResponses, ProjectCurrentResponses, ProjectListResponses, ProjectUpdateErrors, ProjectUpdateResponses, ProviderAuthResponses, ProviderListResponses, ProviderOauthAuthorizeErrors, ProviderOauthAuthorizeResponses, ProviderOauthCallbackErrors, ProviderOauthCallbackResponses, PtyConnectErrors, PtyConnectResponses, PtyCreateErrors, PtyCreateResponses, PtyGetErrors, PtyGetResponses, PtyListResponses, PtyRemoveErrors, PtyRemoveResponses, PtyUpdateErrors, PtyUpdateResponses, SessionAbortErrors, SessionAbortResponses, SessionChildrenErrors, SessionChildrenResponses, SessionCommandErrors, SessionCommandResponses, SessionCreateErrors, SessionCreateResponses, SessionDeleteErrors, SessionDeleteResponses, SessionDiffErrors, 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, TuiShowToastResponses, TuiSubmitPromptResponses, VcsGetResponses } 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
|
|
@@ -26,12 +26,6 @@ declare class HeyApiRegistry<T> {
|
|
|
26
26
|
set(value: T, key?: string): void;
|
|
27
27
|
}
|
|
28
28
|
export declare class Global extends HeyApiClient {
|
|
29
|
-
/**
|
|
30
|
-
* Get health
|
|
31
|
-
*
|
|
32
|
-
* Get health information about the OpenCode server.
|
|
33
|
-
*/
|
|
34
|
-
health<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GlobalHealthResponses, unknown, ThrowOnError, "fields">;
|
|
35
29
|
/**
|
|
36
30
|
* Get global events
|
|
37
31
|
*
|
package/dist/v2/gen/sdk.gen.js
CHANGED
|
@@ -22,17 +22,6 @@ class HeyApiRegistry {
|
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
export class Global extends HeyApiClient {
|
|
25
|
-
/**
|
|
26
|
-
* Get health
|
|
27
|
-
*
|
|
28
|
-
* Get health information about the OpenCode server.
|
|
29
|
-
*/
|
|
30
|
-
health(options) {
|
|
31
|
-
return (options?.client ?? this.client).get({
|
|
32
|
-
url: "/global/health",
|
|
33
|
-
...options,
|
|
34
|
-
});
|
|
35
|
-
}
|
|
36
25
|
/**
|
|
37
26
|
* Get global events
|
|
38
27
|
*
|
|
@@ -980,10 +980,6 @@ export type KeybindsConfig = {
|
|
|
980
980
|
* Previous child session
|
|
981
981
|
*/
|
|
982
982
|
session_child_cycle_reverse?: string;
|
|
983
|
-
/**
|
|
984
|
-
* Go to parent session
|
|
985
|
-
*/
|
|
986
|
-
session_parent?: string;
|
|
987
983
|
/**
|
|
988
984
|
* Suspend terminal
|
|
989
985
|
*/
|
|
@@ -992,10 +988,6 @@ export type KeybindsConfig = {
|
|
|
992
988
|
* Toggle terminal title
|
|
993
989
|
*/
|
|
994
990
|
terminal_title_toggle?: string;
|
|
995
|
-
/**
|
|
996
|
-
* Toggle tips on home screen
|
|
997
|
-
*/
|
|
998
|
-
tips_toggle?: string;
|
|
999
991
|
};
|
|
1000
992
|
export type AgentConfig = {
|
|
1001
993
|
model?: string;
|
|
@@ -1024,9 +1016,6 @@ export type AgentConfig = {
|
|
|
1024
1016
|
bash?: "ask" | "allow" | "deny" | {
|
|
1025
1017
|
[key: string]: "ask" | "allow" | "deny";
|
|
1026
1018
|
};
|
|
1027
|
-
skill?: "ask" | "allow" | "deny" | {
|
|
1028
|
-
[key: string]: "ask" | "allow" | "deny";
|
|
1029
|
-
};
|
|
1030
1019
|
webfetch?: "ask" | "allow" | "deny";
|
|
1031
1020
|
doom_loop?: "ask" | "allow" | "deny";
|
|
1032
1021
|
external_directory?: "ask" | "allow" | "deny";
|
|
@@ -1038,9 +1027,6 @@ export type AgentConfig = {
|
|
|
1038
1027
|
bash?: "ask" | "allow" | "deny" | {
|
|
1039
1028
|
[key: string]: "ask" | "allow" | "deny";
|
|
1040
1029
|
};
|
|
1041
|
-
skill?: "ask" | "allow" | "deny" | {
|
|
1042
|
-
[key: string]: "ask" | "allow" | "deny";
|
|
1043
|
-
};
|
|
1044
1030
|
webfetch?: "ask" | "allow" | "deny";
|
|
1045
1031
|
doom_loop?: "ask" | "allow" | "deny";
|
|
1046
1032
|
external_directory?: "ask" | "allow" | "deny";
|
|
@@ -1341,9 +1327,6 @@ export type Config = {
|
|
|
1341
1327
|
bash?: "ask" | "allow" | "deny" | {
|
|
1342
1328
|
[key: string]: "ask" | "allow" | "deny";
|
|
1343
1329
|
};
|
|
1344
|
-
skill?: "ask" | "allow" | "deny" | {
|
|
1345
|
-
[key: string]: "ask" | "allow" | "deny";
|
|
1346
|
-
};
|
|
1347
1330
|
webfetch?: "ask" | "allow" | "deny";
|
|
1348
1331
|
doom_loop?: "ask" | "allow" | "deny";
|
|
1349
1332
|
external_directory?: "ask" | "allow" | "deny";
|
|
@@ -1603,9 +1586,6 @@ export type Agent = {
|
|
|
1603
1586
|
bash: {
|
|
1604
1587
|
[key: string]: "ask" | "allow" | "deny";
|
|
1605
1588
|
};
|
|
1606
|
-
skill: {
|
|
1607
|
-
[key: string]: "ask" | "allow" | "deny";
|
|
1608
|
-
};
|
|
1609
1589
|
webfetch?: "ask" | "allow" | "deny";
|
|
1610
1590
|
doom_loop?: "ask" | "allow" | "deny";
|
|
1611
1591
|
external_directory?: "ask" | "allow" | "deny";
|
|
@@ -1669,22 +1649,6 @@ export type WellKnownAuth = {
|
|
|
1669
1649
|
token: string;
|
|
1670
1650
|
};
|
|
1671
1651
|
export type Auth = OAuth | ApiAuth | WellKnownAuth;
|
|
1672
|
-
export type GlobalHealthData = {
|
|
1673
|
-
body?: never;
|
|
1674
|
-
path?: never;
|
|
1675
|
-
query?: never;
|
|
1676
|
-
url: "/global/health";
|
|
1677
|
-
};
|
|
1678
|
-
export type GlobalHealthResponses = {
|
|
1679
|
-
/**
|
|
1680
|
-
* Health information
|
|
1681
|
-
*/
|
|
1682
|
-
200: {
|
|
1683
|
-
healthy: true;
|
|
1684
|
-
version: string;
|
|
1685
|
-
};
|
|
1686
|
-
};
|
|
1687
|
-
export type GlobalHealthResponse = GlobalHealthResponses[keyof GlobalHealthResponses];
|
|
1688
1652
|
export type GlobalEventData = {
|
|
1689
1653
|
body?: never;
|
|
1690
1654
|
path?: never;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "@opencode-ai/sdk",
|
|
4
|
-
"version": "0.0.0-snapshot-
|
|
4
|
+
"version": "0.0.0-snapshot-terminal-title-animation-202512230641",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"typecheck": "tsgo --noEmit",
|