@opencode-ai/sdk 0.0.0-snapshot-start-screen-tips-202512230213 → 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 -32
- 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
|
*/
|
|
@@ -1020,9 +1016,6 @@ export type AgentConfig = {
|
|
|
1020
1016
|
bash?: "ask" | "allow" | "deny" | {
|
|
1021
1017
|
[key: string]: "ask" | "allow" | "deny";
|
|
1022
1018
|
};
|
|
1023
|
-
skill?: "ask" | "allow" | "deny" | {
|
|
1024
|
-
[key: string]: "ask" | "allow" | "deny";
|
|
1025
|
-
};
|
|
1026
1019
|
webfetch?: "ask" | "allow" | "deny";
|
|
1027
1020
|
doom_loop?: "ask" | "allow" | "deny";
|
|
1028
1021
|
external_directory?: "ask" | "allow" | "deny";
|
|
@@ -1034,9 +1027,6 @@ export type AgentConfig = {
|
|
|
1034
1027
|
bash?: "ask" | "allow" | "deny" | {
|
|
1035
1028
|
[key: string]: "ask" | "allow" | "deny";
|
|
1036
1029
|
};
|
|
1037
|
-
skill?: "ask" | "allow" | "deny" | {
|
|
1038
|
-
[key: string]: "ask" | "allow" | "deny";
|
|
1039
|
-
};
|
|
1040
1030
|
webfetch?: "ask" | "allow" | "deny";
|
|
1041
1031
|
doom_loop?: "ask" | "allow" | "deny";
|
|
1042
1032
|
external_directory?: "ask" | "allow" | "deny";
|
|
@@ -1337,9 +1327,6 @@ export type Config = {
|
|
|
1337
1327
|
bash?: "ask" | "allow" | "deny" | {
|
|
1338
1328
|
[key: string]: "ask" | "allow" | "deny";
|
|
1339
1329
|
};
|
|
1340
|
-
skill?: "ask" | "allow" | "deny" | {
|
|
1341
|
-
[key: string]: "ask" | "allow" | "deny";
|
|
1342
|
-
};
|
|
1343
1330
|
webfetch?: "ask" | "allow" | "deny";
|
|
1344
1331
|
doom_loop?: "ask" | "allow" | "deny";
|
|
1345
1332
|
external_directory?: "ask" | "allow" | "deny";
|
|
@@ -1599,9 +1586,6 @@ export type Agent = {
|
|
|
1599
1586
|
bash: {
|
|
1600
1587
|
[key: string]: "ask" | "allow" | "deny";
|
|
1601
1588
|
};
|
|
1602
|
-
skill: {
|
|
1603
|
-
[key: string]: "ask" | "allow" | "deny";
|
|
1604
|
-
};
|
|
1605
1589
|
webfetch?: "ask" | "allow" | "deny";
|
|
1606
1590
|
doom_loop?: "ask" | "allow" | "deny";
|
|
1607
1591
|
external_directory?: "ask" | "allow" | "deny";
|
|
@@ -1665,22 +1649,6 @@ export type WellKnownAuth = {
|
|
|
1665
1649
|
token: string;
|
|
1666
1650
|
};
|
|
1667
1651
|
export type Auth = OAuth | ApiAuth | WellKnownAuth;
|
|
1668
|
-
export type GlobalHealthData = {
|
|
1669
|
-
body?: never;
|
|
1670
|
-
path?: never;
|
|
1671
|
-
query?: never;
|
|
1672
|
-
url: "/global/health";
|
|
1673
|
-
};
|
|
1674
|
-
export type GlobalHealthResponses = {
|
|
1675
|
-
/**
|
|
1676
|
-
* Health information
|
|
1677
|
-
*/
|
|
1678
|
-
200: {
|
|
1679
|
-
healthy: true;
|
|
1680
|
-
version: string;
|
|
1681
|
-
};
|
|
1682
|
-
};
|
|
1683
|
-
export type GlobalHealthResponse = GlobalHealthResponses[keyof GlobalHealthResponses];
|
|
1684
1652
|
export type GlobalEventData = {
|
|
1685
1653
|
body?: never;
|
|
1686
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",
|