@opencode-ai/client 0.0.0-next-15315 → 0.0.0-next-15317
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/promise/api.d.ts +11 -16
- package/dist/promise/generated/client.d.ts +30 -1537
- package/dist/promise/generated/types.d.ts +4986 -8346
- package/package.json +4 -4
package/dist/promise/api.d.ts
CHANGED
|
@@ -1,19 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
type
|
|
4
|
-
type
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
export type
|
|
8
|
-
export type
|
|
9
|
-
export type
|
|
10
|
-
export type
|
|
11
|
-
export type
|
|
12
|
-
export type PluginApi = PromisifyApi<EffectPluginApi<unknown>>;
|
|
13
|
-
export type ProviderApi = PromisifyApi<EffectProviderApi<unknown>>;
|
|
14
|
-
export type ReferenceApi = PromisifyApi<EffectReferenceApi<unknown>>;
|
|
15
|
-
export type SessionApi = PromisifyApi<EffectSessionApi<unknown>>;
|
|
16
|
-
export type SkillApi = PromisifyApi<EffectSkillApi<unknown>>;
|
|
1
|
+
type Client = ReturnType<typeof import("./generated/client.js").make>;
|
|
2
|
+
export type AgentApi = Client["agent"];
|
|
3
|
+
export type CommandApi = Client["command"];
|
|
4
|
+
export type EventApi = Client["event"];
|
|
5
|
+
export type IntegrationApi = Client["integration"];
|
|
6
|
+
export type ModelApi = Client["model"];
|
|
7
|
+
export type PluginApi = Client["plugin"];
|
|
8
|
+
export type ProviderApi = Client["provider"];
|
|
9
|
+
export type ReferenceApi = Client["reference"];
|
|
10
|
+
export type SessionApi = Client["session"];
|
|
11
|
+
export type SkillApi = Client["skill"];
|
|
17
12
|
export interface CatalogApi {
|
|
18
13
|
readonly provider: ProviderApi;
|
|
19
14
|
readonly model: ModelApi;
|