@radheim/client 0.0.0-stage → 2.4.3
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/README.md +27 -3
- package/dist/chunks/contract-0d78mgf1.js +52 -0
- package/dist/chunks/contract-20jd153t.js +2089 -0
- package/dist/chunks/contract-2h09qg7t.js +62 -0
- package/dist/chunks/contract-5f99ddep.js +149 -0
- package/dist/chunks/contract-6mptkzbc.js +0 -0
- package/dist/chunks/contract-6mq2wh8y.js +33 -0
- package/dist/chunks/contract-6r38tsk5.js +0 -0
- package/dist/chunks/contract-6sr7f8yw.js +92 -0
- package/dist/chunks/contract-850x4mfy.js +948 -0
- package/dist/chunks/contract-8s2anffy.js +11 -0
- package/dist/chunks/contract-96mz1w8q.js +104 -0
- package/dist/chunks/contract-9rqn6x4v.js +16 -0
- package/dist/chunks/contract-d9s8wkgw.js +2082 -0
- package/dist/chunks/contract-mn9bt8t4.js +4 -0
- package/dist/chunks/contract-mwrzahmf.js +38 -0
- package/dist/chunks/contract-n4yq1n4a.js +111 -0
- package/dist/chunks/contract-nwcpakzx.js +12 -0
- package/dist/chunks/contract-qav6mfdz.js +0 -0
- package/dist/chunks/contract-qtt7zwr0.js +30 -0
- package/dist/chunks/contract-rhrawkx2.js +49 -0
- package/dist/chunks/contract-rrraq56y.js +67 -0
- package/dist/chunks/contract-sxt88q69.js +12 -0
- package/dist/chunks/contract-t5nrycbt.js +39 -0
- package/dist/chunks/contract-vyas3vgt.js +0 -0
- package/dist/chunks/contract-xgnj2w4v.js +20 -0
- package/dist/chunks/contract-y2etg5bs.js +9 -0
- package/dist/chunks/contract-ydhz1zrh.js +238 -0
- package/dist/chunks/contract-ztxd8xjp.js +81 -0
- package/dist/contract.d.ts +1 -0
- package/dist/contract.js +14 -0
- package/dist/effect/api/api.d.ts +3744 -0
- package/dist/effect/api/api.js +0 -0
- package/dist/effect/api.d.ts +5 -0
- package/dist/effect/api.js +0 -0
- package/dist/effect/client.d.ts +3129 -0
- package/dist/effect/client.js +15 -0
- package/dist/effect/generated/client-error.d.ts +7 -0
- package/dist/effect/generated/client-error.js +6 -0
- package/dist/effect/generated/client.d.ts +3158 -0
- package/dist/effect/generated/client.js +8 -0
- package/dist/effect/generated/index.d.ts +2 -0
- package/dist/effect/generated/index.js +12 -0
- package/dist/effect/index.d.ts +35 -0
- package/dist/effect/index.js +75 -0
- package/dist/effect/rpc.d.ts +20 -0
- package/dist/effect/rpc.js +11 -0
- package/dist/effect/service.d.ts +90 -0
- package/dist/effect/service.js +187 -0
- package/dist/mcp.d.ts +44 -0
- package/dist/mcp.js +110 -0
- package/dist/promise/api.d.ts +25 -0
- package/dist/promise/api.js +0 -0
- package/dist/promise/client.d.ts +414 -0
- package/dist/promise/client.js +14 -0
- package/dist/promise/generated/client-error.d.ts +8 -0
- package/dist/promise/generated/client-error.js +6 -0
- package/dist/promise/generated/client.d.ts +456 -0
- package/dist/promise/generated/client.js +7 -0
- package/dist/promise/generated/index.d.ts +3 -0
- package/dist/promise/generated/index.js +105 -0
- package/dist/promise/generated/types.d.ts +6642 -0
- package/dist/promise/generated/types.js +96 -0
- package/dist/promise/index.d.ts +8 -0
- package/dist/promise/index.js +115 -0
- package/dist/promise/media.d.ts +424 -0
- package/dist/promise/media.js +8 -0
- package/dist/promise/rpc.d.ts +32 -0
- package/dist/promise/rpc.js +7 -0
- package/dist/promise/service.d.ts +24 -0
- package/dist/promise/service.js +188 -0
- package/dist/pty-handoff.d.ts +12 -0
- package/dist/pty-handoff.js +17 -0
- package/dist/rpc-runtime.d.ts +20 -0
- package/dist/rpc-runtime.js +14 -0
- package/dist/service-contender.d.ts +37 -0
- package/dist/service-contender.js +10 -0
- package/dist/service-probe.d.ts +74 -0
- package/dist/service-probe.js +16 -0
- package/dist/service-timing.d.ts +12 -0
- package/dist/service-timing.js +10 -0
- package/dist/service-version.d.ts +2 -0
- package/dist/service-version.js +6 -0
- package/dist/service.d.ts +52 -0
- package/dist/service.js +1 -0
- package/dist/shared-events.d.ts +16 -0
- package/dist/shared-events.js +8 -0
- package/dist/solid/connection.d.ts +37 -0
- package/dist/solid/connection.js +10 -0
- package/dist/solid/data.d.ts +238 -0
- package/dist/solid/data.js +19 -0
- package/dist/solid/index.d.ts +5 -0
- package/dist/solid/index.js +45 -0
- package/dist/solid/pty.d.ts +80 -0
- package/dist/solid/pty.js +12 -0
- package/dist/solid/retention.d.ts +10 -0
- package/dist/solid/retention.js +6 -0
- package/dist/solid/usage.d.ts +9 -0
- package/dist/solid/usage.js +6 -0
- package/package.json +89 -4
|
@@ -0,0 +1,456 @@
|
|
|
1
|
+
import type { ServerConnectInput, LocationGetInput, AgentListInput, AgentListOutput, AgentGetInput, AgentGetOutput, PluginListInput, PluginListOutput, PluginGuiInput, PluginGuiOutput, PluginCheckInput, PluginCheckOutput, PluginUpdateInput, SessionListInput, SessionCreateInput, SessionGetInput, SessionRemoveInput, SessionForkInput, SessionSwitchAgentInput, SessionSwitchModelInput, SessionUpdateInput, SessionMoveInput, SessionPromptInput, SessionCommandInput, SessionSyntheticInput, SessionShellInput, SessionCompactInput, SessionRevertStageInput, SessionRevertClearInput, SessionRevertCommitInput, SessionContextInput, SessionDiffInput, SessionInboxListInput, SessionInboxCancelInput, SessionInboxUpdateInput, SessionGenerateInput, SessionInterruptInput, SessionBackgroundInput, SessionMessageGetInput, SessionFormListInput, SessionFormCreateInput, SessionFormGetInput, SessionFormReplyInput, SessionFormCancelInput, SessionEnvironmentInput, SessionViewInput, ExperimentalSessionStatsInput, ExperimentalSessionImportInput, ExperimentalSessionExportInput, ExperimentalSessionSkillInput, ExperimentalSessionWaitInput, ExperimentalSessionInstructionsEntryListInput, ExperimentalSessionInstructionsEntryPutInput, ExperimentalSessionInstructionsEntryRemoveInput, ExperimentalSessionLogInput, ExperimentalSessionLogOutput, MessageListInput, ModelListInput, ModelListOutput, ModelDefaultInput, ModelDefaultOutput, ExperimentalGenerateTextInput, ExperimentalGenerateImageInput, ExperimentalGenerateVideoCreateInput, ExperimentalGenerateVideoGetInput, ExperimentalGenerateDecisionsInput, ExperimentalVoiceSessionInput, ProviderListInput, ProviderListOutput, ProviderGetInput, ProviderGetOutput, IntegrationListInput, IntegrationListOutput, IntegrationGetInput, IntegrationGetOutput, IntegrationConnectKeyInput, IntegrationConnectExternalInput, IntegrationOauthConnectInput, IntegrationOauthConnectOutput, IntegrationOauthStatusInput, IntegrationOauthStatusOutput, IntegrationOauthCompleteInput, IntegrationOauthCancelInput, IntegrationCommandConnectInput, IntegrationCommandConnectOutput, IntegrationCommandStatusInput, IntegrationCommandStatusOutput, IntegrationCommandCancelInput, ExperimentalIntegrationWellknownAddInput, McpListInput, McpListOutput, McpResourceCatalogInput, McpResourceCatalogOutput, ExperimentalMcpAddInput, ExperimentalMcpRemoveInput, ExperimentalMcpConnectInput, ExperimentalMcpDisconnectInput, ExperimentalMcpClientTokenInput, ExperimentalMcpClientTokenOutput, CredentialCreateInput, CredentialUpdateInput, CredentialActivateInput, CredentialRemoveInput, ProjectListInput, ProjectListOutput, ProjectUpdateInput, FormListInput, FormListOutput, PermissionRequestListInput, PermissionRequestListOutput, PermissionSavedListInput, PermissionSavedUpdateInput, PermissionSavedRemoveInput, PermissionCreateInput, PermissionListInput, PermissionGetInput, PermissionReplyInput, FileReadInput, FileReadOutput, FileListInput, FileListOutput, FileFindInput, FileFindOutput, ExperimentalFileWriteInput, ExperimentalFileWriteOutput, ExperimentalFileWatchInput, ExperimentalFileUnwatchInput, CommandListInput, CommandListOutput, SkillListInput, SkillListOutput, ExperimentalSkillFileInput, ExperimentalSkillFileOutput, RpcCallInput, EventSubscribeInput, EventSubscribeOutput, PtyListInput, PtyListOutput, PtyCreateInput, PtyCreateOutput, PtyGetInput, PtyGetOutput, PtyUpdateInput, PtyUpdateOutput, PtyRemoveInput, PtyConnectTokenInput, PtyConnectTokenOutput, ExperimentalPersistentPtyReadInput, ExperimentalPersistentPtyListInput, ExperimentalPersistentPtyCreateInput, ExperimentalPersistentPtyHandoffOutput, ExperimentalPersistentPtyGetInput, ExperimentalPersistentPtyUpdateInput, ExperimentalPersistentPtySnapshotInput, ExperimentalPersistentPtyRemoveInput, ExperimentalPersistentPtyConnectTokenInput, ExperimentalMediaGetInput, ExperimentalMediaGetOutput, ExperimentalBlobListInput, ExperimentalBlobCreateInput, ExperimentalBlobGetInput, ExperimentalBlobContentInput, ExperimentalBlobContentOutput, ExperimentalBlobUpdateInput, ExperimentalBlobRemoveInput, ExperimentalAutomationCreateInput, ExperimentalAutomationListInput, ExperimentalAutomationGetInput, ExperimentalAutomationPauseInput, ExperimentalAutomationResumeInput, ExperimentalAutomationDeleteInput, ExperimentalArtifactsProvidersInput, ExperimentalArtifactsProvidersOutput, ExperimentalArtifactsListInput, ExperimentalArtifactsListOutput, ExperimentalArtifactsCreateInput, ExperimentalArtifactsCreateOutput, ExperimentalArtifactsGetInput, ExperimentalArtifactsGetOutput, ExperimentalArtifactsUpdateInput, ExperimentalArtifactsUpdateOutput, ExperimentalArtifactsDeleteInput, ExperimentalArtifactsViewInput, ExperimentalArtifactsViewOutput, ExperimentalJobListInput, ExperimentalJobCancelInput, ExperimentalMachineAddInput, ExperimentalMachineRemoveInput, ExperimentalMachineUpdateInput, ExperimentalPushDeviceRegisterInput, ExperimentalPushDeviceRemoveInput, ExperimentalPushDeviceUpdateInput, ExperimentalPushDeviceSessionSetInput, ExperimentalPushDeviceSessionRemoveInput, ExperimentalPushSessionSetInput, ExperimentalPushSessionRemoveInput, ExperimentalPushSettingsSetInput, ExperimentalSpaceWriteInput, ExperimentalSpaceWriteOutput, ExperimentalSpaceSyncInput, ExperimentalSpaceSyncOutput, ExperimentalSpaceSubscribeInput, ExperimentalSpaceUnsubscribeInput, ShellListInput, ShellListOutput, ShellCreateInput, ShellCreateOutput, ShellGetInput, ShellGetOutput, ShellOutputInput, ShellOutputOutput, ShellRemoveInput, ReferenceListInput, ReferenceListOutput, WorktreeListInput, WorktreeCreateInput, WorktreeRemoveInput, WorktreeRefreshInput, VcsInitInput, VcsGetInput, VcsGetOutput, VcsBaseInput, VcsBaseOutput, VcsStatusInput, VcsStatusOutput, VcsBranchListInput, VcsBranchListOutput, VcsDiffInput, VcsDiffOutput, DebugHeapDumpInput, DebugHeapDumpOutput, DebugLocationListOutput, DebugLocationEvictInput, ExperimentalMigrationV1StatusOutput, WebsearchProvidersInput, WebsearchProvidersOutput, WebsearchQueryInput, WebsearchQueryOutput, ExperimentalUsageLimitsInput, ExperimentalUsageLimitsOutput, ExperimentalFlagGetInput, ExperimentalFlagGetOutput, ConfigGetInput, ConfigGetOutput, ConfigShellsOutput, ExperimentalConfigUpdateInput } from "./types.js";
|
|
2
|
+
export interface ClientOptions {
|
|
3
|
+
readonly baseUrl: string;
|
|
4
|
+
readonly fetch?: typeof globalThis.fetch;
|
|
5
|
+
readonly headers?: RequestInit["headers"];
|
|
6
|
+
}
|
|
7
|
+
export interface RequestOptions {
|
|
8
|
+
readonly signal?: AbortSignal;
|
|
9
|
+
readonly headers?: RequestInit["headers"];
|
|
10
|
+
/** Reports every chunk a streaming response receives, including keepalive comments that yield no event. */
|
|
11
|
+
readonly onActivity?: () => void;
|
|
12
|
+
}
|
|
13
|
+
export declare function make(options: ClientOptions): {
|
|
14
|
+
server: {
|
|
15
|
+
info: (requestOptions?: RequestOptions) => Promise<import("./types.js").ServerInfo>;
|
|
16
|
+
pair: (requestOptions?: RequestOptions) => Promise<import("./types.js").PairingCode>;
|
|
17
|
+
connect: (input: ServerConnectInput, requestOptions?: RequestOptions) => Promise<import("./types.js").PairingSession>;
|
|
18
|
+
};
|
|
19
|
+
location: {
|
|
20
|
+
get: (input?: LocationGetInput, requestOptions?: RequestOptions) => Promise<import("./types.js").LocationPublicInfo>;
|
|
21
|
+
reload: (requestOptions?: RequestOptions) => Promise<void>;
|
|
22
|
+
};
|
|
23
|
+
agent: {
|
|
24
|
+
list: (input?: AgentListInput, requestOptions?: RequestOptions) => Promise<AgentListOutput>;
|
|
25
|
+
get: (input: AgentGetInput, requestOptions?: RequestOptions) => Promise<AgentGetOutput>;
|
|
26
|
+
};
|
|
27
|
+
plugin: {
|
|
28
|
+
list: (input?: PluginListInput, requestOptions?: RequestOptions) => Promise<PluginListOutput>;
|
|
29
|
+
gui: (input: PluginGuiInput, requestOptions?: RequestOptions) => Promise<PluginGuiOutput>;
|
|
30
|
+
check: (input?: PluginCheckInput, requestOptions?: RequestOptions) => Promise<PluginCheckOutput>;
|
|
31
|
+
update: (input: PluginUpdateInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
32
|
+
};
|
|
33
|
+
experimental: {
|
|
34
|
+
session: {
|
|
35
|
+
stats: (input?: ExperimentalSessionStatsInput, requestOptions?: RequestOptions) => Promise<import("./types.js").SessionStatsInfo>;
|
|
36
|
+
import: (input: ExperimentalSessionImportInput, requestOptions?: RequestOptions) => Promise<import("./types.js").SessionInfo>;
|
|
37
|
+
export: (input: ExperimentalSessionExportInput, requestOptions?: RequestOptions) => Promise<import("./types.js").SessionTransferData>;
|
|
38
|
+
skill: (input: ExperimentalSessionSkillInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
39
|
+
wait: (input: ExperimentalSessionWaitInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
40
|
+
instructions: {
|
|
41
|
+
entry: {
|
|
42
|
+
list: (input: ExperimentalSessionInstructionsEntryListInput, requestOptions?: RequestOptions) => Promise<import("./types.js").InstructionEntryInfo[]>;
|
|
43
|
+
put: (input: ExperimentalSessionInstructionsEntryPutInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
44
|
+
remove: (input: ExperimentalSessionInstructionsEntryRemoveInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
log: (input: ExperimentalSessionLogInput, requestOptions?: RequestOptions) => AsyncIterable<ExperimentalSessionLogOutput>;
|
|
48
|
+
};
|
|
49
|
+
generate: {
|
|
50
|
+
text: (input: ExperimentalGenerateTextInput, requestOptions?: RequestOptions) => Promise<{
|
|
51
|
+
text: string;
|
|
52
|
+
}>;
|
|
53
|
+
image: (input: ExperimentalGenerateImageInput, requestOptions?: RequestOptions) => Promise<import("./types.js").GenerateImageResult>;
|
|
54
|
+
video: {
|
|
55
|
+
create: (input: ExperimentalGenerateVideoCreateInput, requestOptions?: RequestOptions) => Promise<import("./types.js").GenerateVideoRunning>;
|
|
56
|
+
get: (input: ExperimentalGenerateVideoGetInput, requestOptions?: RequestOptions) => Promise<import("./types.js").GenerateVideoCompleted | import("./types.js").GenerateVideoError | import("./types.js").GenerateVideoRunning>;
|
|
57
|
+
};
|
|
58
|
+
decisions: (input: ExperimentalGenerateDecisionsInput, requestOptions?: RequestOptions) => Promise<import("./types.js").GenerateDecisionResult>;
|
|
59
|
+
};
|
|
60
|
+
voice: {
|
|
61
|
+
models: (requestOptions?: RequestOptions) => Promise<{
|
|
62
|
+
models: Array<import("./types.js").VoiceModel>;
|
|
63
|
+
default?: string | undefined;
|
|
64
|
+
}>;
|
|
65
|
+
session: (input: ExperimentalVoiceSessionInput, requestOptions?: RequestOptions) => Promise<{
|
|
66
|
+
transport: import("./types.js").VoiceTransport;
|
|
67
|
+
}>;
|
|
68
|
+
};
|
|
69
|
+
integration: {
|
|
70
|
+
wellknown: {
|
|
71
|
+
add: (input: ExperimentalIntegrationWellknownAddInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
mcp: {
|
|
75
|
+
add: (input: ExperimentalMcpAddInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
76
|
+
remove: (input: ExperimentalMcpRemoveInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
77
|
+
connect: (input: ExperimentalMcpConnectInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
78
|
+
disconnect: (input: ExperimentalMcpDisconnectInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
79
|
+
client: {
|
|
80
|
+
token: (input: ExperimentalMcpClientTokenInput, requestOptions?: RequestOptions) => Promise<ExperimentalMcpClientTokenOutput>;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
file: {
|
|
84
|
+
write: (input: ExperimentalFileWriteInput, requestOptions?: RequestOptions) => Promise<ExperimentalFileWriteOutput>;
|
|
85
|
+
watch: (input: ExperimentalFileWatchInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
86
|
+
unwatch: (input: ExperimentalFileUnwatchInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
87
|
+
};
|
|
88
|
+
skill: {
|
|
89
|
+
file: (input: ExperimentalSkillFileInput, requestOptions?: RequestOptions) => Promise<ExperimentalSkillFileOutput>;
|
|
90
|
+
};
|
|
91
|
+
persistentPty: {
|
|
92
|
+
read: (input: ExperimentalPersistentPtyReadInput, requestOptions?: RequestOptions) => Promise<import("./types.js").PersistentPtyReadResult | null>;
|
|
93
|
+
list: (input: ExperimentalPersistentPtyListInput, requestOptions?: RequestOptions) => Promise<import("./types.js").PersistentPtyInfo[]>;
|
|
94
|
+
create: (input: ExperimentalPersistentPtyCreateInput, requestOptions?: RequestOptions) => Promise<import("./types.js").PersistentPtyInfo>;
|
|
95
|
+
shutdown: (requestOptions?: RequestOptions) => Promise<void>;
|
|
96
|
+
handoff: (requestOptions?: RequestOptions) => Promise<ExperimentalPersistentPtyHandoffOutput>;
|
|
97
|
+
get: (input: ExperimentalPersistentPtyGetInput, requestOptions?: RequestOptions) => Promise<import("./types.js").PersistentPtyInfo>;
|
|
98
|
+
update: (input: ExperimentalPersistentPtyUpdateInput, requestOptions?: RequestOptions) => Promise<import("./types.js").PersistentPtyInfo>;
|
|
99
|
+
snapshot: (input: ExperimentalPersistentPtySnapshotInput, requestOptions?: RequestOptions) => Promise<import("./types.js").PersistentPtySnapshot>;
|
|
100
|
+
remove: (input: ExperimentalPersistentPtyRemoveInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
101
|
+
connectToken: (input: ExperimentalPersistentPtyConnectTokenInput, requestOptions?: RequestOptions) => Promise<import("./types.js").PtyTicketConnectToken>;
|
|
102
|
+
};
|
|
103
|
+
media: {
|
|
104
|
+
get: (input: ExperimentalMediaGetInput, requestOptions?: RequestOptions) => Promise<ExperimentalMediaGetOutput>;
|
|
105
|
+
};
|
|
106
|
+
blob: {
|
|
107
|
+
list: (input?: ExperimentalBlobListInput, requestOptions?: RequestOptions) => Promise<import("./types.js").BlobListResponse>;
|
|
108
|
+
create: (input: ExperimentalBlobCreateInput, requestOptions?: RequestOptions) => Promise<import("./types.js").BlobAudio | import("./types.js").BlobFile | import("./types.js").BlobImage | import("./types.js").BlobVideo>;
|
|
109
|
+
get: (input: ExperimentalBlobGetInput, requestOptions?: RequestOptions) => Promise<import("./types.js").BlobAudio | import("./types.js").BlobFile | import("./types.js").BlobImage | import("./types.js").BlobVideo>;
|
|
110
|
+
content: (input: ExperimentalBlobContentInput, requestOptions?: RequestOptions) => Promise<ExperimentalBlobContentOutput>;
|
|
111
|
+
update: (input: ExperimentalBlobUpdateInput, requestOptions?: RequestOptions) => Promise<import("./types.js").BlobAudio | import("./types.js").BlobFile | import("./types.js").BlobImage | import("./types.js").BlobVideo>;
|
|
112
|
+
remove: (input: ExperimentalBlobRemoveInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
113
|
+
};
|
|
114
|
+
browser: {
|
|
115
|
+
tunnel: (requestOptions?: RequestOptions) => Promise<boolean>;
|
|
116
|
+
};
|
|
117
|
+
automation: {
|
|
118
|
+
create: (input: ExperimentalAutomationCreateInput, requestOptions?: RequestOptions) => Promise<import("./types.js").AutomationInfo>;
|
|
119
|
+
list: (input?: ExperimentalAutomationListInput, requestOptions?: RequestOptions) => Promise<import("./types.js").AutomationInfo[]>;
|
|
120
|
+
get: (input: ExperimentalAutomationGetInput, requestOptions?: RequestOptions) => Promise<import("./types.js").AutomationInfo>;
|
|
121
|
+
pause: (input: ExperimentalAutomationPauseInput, requestOptions?: RequestOptions) => Promise<import("./types.js").AutomationInfo>;
|
|
122
|
+
resume: (input: ExperimentalAutomationResumeInput, requestOptions?: RequestOptions) => Promise<import("./types.js").AutomationInfo>;
|
|
123
|
+
delete: (input: ExperimentalAutomationDeleteInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
124
|
+
};
|
|
125
|
+
artifacts: {
|
|
126
|
+
providers: (input?: ExperimentalArtifactsProvidersInput, requestOptions?: RequestOptions) => Promise<ExperimentalArtifactsProvidersOutput>;
|
|
127
|
+
list: (input?: ExperimentalArtifactsListInput, requestOptions?: RequestOptions) => Promise<ExperimentalArtifactsListOutput>;
|
|
128
|
+
create: (input: ExperimentalArtifactsCreateInput, requestOptions?: RequestOptions) => Promise<ExperimentalArtifactsCreateOutput>;
|
|
129
|
+
get: (input: ExperimentalArtifactsGetInput, requestOptions?: RequestOptions) => Promise<ExperimentalArtifactsGetOutput>;
|
|
130
|
+
update: (input: ExperimentalArtifactsUpdateInput, requestOptions?: RequestOptions) => Promise<ExperimentalArtifactsUpdateOutput>;
|
|
131
|
+
delete: (input: ExperimentalArtifactsDeleteInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
132
|
+
view: (input: ExperimentalArtifactsViewInput, requestOptions?: RequestOptions) => Promise<ExperimentalArtifactsViewOutput>;
|
|
133
|
+
};
|
|
134
|
+
job: {
|
|
135
|
+
list: (input?: ExperimentalJobListInput, requestOptions?: RequestOptions) => Promise<import("./types.js").JobInfo[]>;
|
|
136
|
+
cancel: (input: ExperimentalJobCancelInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
137
|
+
};
|
|
138
|
+
machine: {
|
|
139
|
+
list: (requestOptions?: RequestOptions) => Promise<import("./types.js").MachineInfo[]>;
|
|
140
|
+
add: (input: ExperimentalMachineAddInput, requestOptions?: RequestOptions) => Promise<import("./types.js").MachineInvite>;
|
|
141
|
+
remove: (input: ExperimentalMachineRemoveInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
142
|
+
update: (input: ExperimentalMachineUpdateInput, requestOptions?: RequestOptions) => Promise<import("./types.js").MachineUpdateResult>;
|
|
143
|
+
};
|
|
144
|
+
push: {
|
|
145
|
+
get: (requestOptions?: RequestOptions) => Promise<import("./types.js").PushInfo>;
|
|
146
|
+
device: {
|
|
147
|
+
register: (input: ExperimentalPushDeviceRegisterInput, requestOptions?: RequestOptions) => Promise<import("./types.js").PushRegistered>;
|
|
148
|
+
remove: (input: ExperimentalPushDeviceRemoveInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
149
|
+
update: (input: ExperimentalPushDeviceUpdateInput, requestOptions?: RequestOptions) => Promise<import("./types.js").PushDevice>;
|
|
150
|
+
session: {
|
|
151
|
+
set: (input: ExperimentalPushDeviceSessionSetInput, requestOptions?: RequestOptions) => Promise<import("./types.js").PushBell>;
|
|
152
|
+
remove: (input: ExperimentalPushDeviceSessionRemoveInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
153
|
+
};
|
|
154
|
+
};
|
|
155
|
+
session: {
|
|
156
|
+
set: (input: ExperimentalPushSessionSetInput, requestOptions?: RequestOptions) => Promise<import("./types.js").PushBell>;
|
|
157
|
+
remove: (input: ExperimentalPushSessionRemoveInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
158
|
+
};
|
|
159
|
+
settings: {
|
|
160
|
+
set: (input: ExperimentalPushSettingsSetInput, requestOptions?: RequestOptions) => Promise<import("./types.js").PushSettings>;
|
|
161
|
+
};
|
|
162
|
+
};
|
|
163
|
+
space: {
|
|
164
|
+
write: (input: ExperimentalSpaceWriteInput, requestOptions?: RequestOptions) => Promise<ExperimentalSpaceWriteOutput>;
|
|
165
|
+
sync: (input: ExperimentalSpaceSyncInput, requestOptions?: RequestOptions) => Promise<ExperimentalSpaceSyncOutput>;
|
|
166
|
+
subscribe: (input: ExperimentalSpaceSubscribeInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
167
|
+
unsubscribe: (input: ExperimentalSpaceUnsubscribeInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
168
|
+
reset: (requestOptions?: RequestOptions) => Promise<void>;
|
|
169
|
+
};
|
|
170
|
+
migration: {
|
|
171
|
+
v1: {
|
|
172
|
+
status: (requestOptions?: RequestOptions) => Promise<ExperimentalMigrationV1StatusOutput>;
|
|
173
|
+
};
|
|
174
|
+
};
|
|
175
|
+
usage: {
|
|
176
|
+
limits: (input?: ExperimentalUsageLimitsInput, requestOptions?: RequestOptions) => Promise<ExperimentalUsageLimitsOutput>;
|
|
177
|
+
};
|
|
178
|
+
flag: {
|
|
179
|
+
get: (input?: ExperimentalFlagGetInput, requestOptions?: RequestOptions) => Promise<ExperimentalFlagGetOutput>;
|
|
180
|
+
};
|
|
181
|
+
config: {
|
|
182
|
+
update: (input?: ExperimentalConfigUpdateInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
183
|
+
};
|
|
184
|
+
};
|
|
185
|
+
message: {
|
|
186
|
+
list: (input: MessageListInput, requestOptions?: RequestOptions) => Promise<import("./types.js").SessionMessagesResponse>;
|
|
187
|
+
};
|
|
188
|
+
model: {
|
|
189
|
+
list: (input?: ModelListInput, requestOptions?: RequestOptions) => Promise<ModelListOutput>;
|
|
190
|
+
default: (input?: ModelDefaultInput, requestOptions?: RequestOptions) => Promise<ModelDefaultOutput>;
|
|
191
|
+
};
|
|
192
|
+
provider: {
|
|
193
|
+
list: (input?: ProviderListInput, requestOptions?: RequestOptions) => Promise<ProviderListOutput>;
|
|
194
|
+
get: (input: ProviderGetInput, requestOptions?: RequestOptions) => Promise<ProviderGetOutput>;
|
|
195
|
+
};
|
|
196
|
+
credential: {
|
|
197
|
+
list: (requestOptions?: RequestOptions) => Promise<import("./types.js").CredentialEntry[]>;
|
|
198
|
+
create: (input: CredentialCreateInput, requestOptions?: RequestOptions) => Promise<import("./types.js").CredentialEntry>;
|
|
199
|
+
update: (input: CredentialUpdateInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
200
|
+
activate: (input: CredentialActivateInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
201
|
+
remove: (input: CredentialRemoveInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
202
|
+
};
|
|
203
|
+
project: {
|
|
204
|
+
list: (input?: ProjectListInput, requestOptions?: RequestOptions) => Promise<ProjectListOutput>;
|
|
205
|
+
update: (input: ProjectUpdateInput, requestOptions?: RequestOptions) => Promise<import("./types.js").Project>;
|
|
206
|
+
};
|
|
207
|
+
form: {
|
|
208
|
+
list: (input?: FormListInput, requestOptions?: RequestOptions) => Promise<FormListOutput>;
|
|
209
|
+
};
|
|
210
|
+
permission: {
|
|
211
|
+
request: {
|
|
212
|
+
list: (input?: PermissionRequestListInput, requestOptions?: RequestOptions) => Promise<PermissionRequestListOutput>;
|
|
213
|
+
};
|
|
214
|
+
saved: {
|
|
215
|
+
list: (input?: PermissionSavedListInput, requestOptions?: RequestOptions) => Promise<import("./types.js").PermissionSavedInfo[]>;
|
|
216
|
+
update: (input: PermissionSavedUpdateInput, requestOptions?: RequestOptions) => Promise<import("./types.js").PermissionSavedInfo>;
|
|
217
|
+
remove: (input: PermissionSavedRemoveInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
218
|
+
};
|
|
219
|
+
create: (input: PermissionCreateInput, requestOptions?: RequestOptions) => Promise<{
|
|
220
|
+
id: import("./types.js").PermissionID;
|
|
221
|
+
effect: import("./types.js").PermissionEffect;
|
|
222
|
+
}>;
|
|
223
|
+
list: (input: PermissionListInput, requestOptions?: RequestOptions) => Promise<import("./types.js").PermissionRequest[]>;
|
|
224
|
+
get: (input: PermissionGetInput, requestOptions?: RequestOptions) => Promise<import("./types.js").PermissionRequest>;
|
|
225
|
+
reply: (input: PermissionReplyInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
226
|
+
};
|
|
227
|
+
command: {
|
|
228
|
+
list: (input?: CommandListInput, requestOptions?: RequestOptions) => Promise<CommandListOutput>;
|
|
229
|
+
};
|
|
230
|
+
skill: {
|
|
231
|
+
list: (input?: SkillListInput, requestOptions?: RequestOptions) => Promise<SkillListOutput>;
|
|
232
|
+
};
|
|
233
|
+
rpc: {
|
|
234
|
+
call: (input: RpcCallInput, requestOptions?: RequestOptions) => Promise<import("./types.js").RpcOutput>;
|
|
235
|
+
};
|
|
236
|
+
event: {
|
|
237
|
+
subscribe: (input?: EventSubscribeInput, requestOptions?: RequestOptions) => AsyncIterable<EventSubscribeOutput>;
|
|
238
|
+
};
|
|
239
|
+
pty: {
|
|
240
|
+
list: (input?: PtyListInput, requestOptions?: RequestOptions) => Promise<PtyListOutput>;
|
|
241
|
+
create: (input?: PtyCreateInput, requestOptions?: RequestOptions) => Promise<PtyCreateOutput>;
|
|
242
|
+
get: (input: PtyGetInput, requestOptions?: RequestOptions) => Promise<PtyGetOutput>;
|
|
243
|
+
update: (input: PtyUpdateInput, requestOptions?: RequestOptions) => Promise<PtyUpdateOutput>;
|
|
244
|
+
remove: (input: PtyRemoveInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
245
|
+
connect: {
|
|
246
|
+
token: (input: PtyConnectTokenInput, requestOptions?: RequestOptions) => Promise<PtyConnectTokenOutput>;
|
|
247
|
+
};
|
|
248
|
+
};
|
|
249
|
+
shell: {
|
|
250
|
+
list: (input?: ShellListInput, requestOptions?: RequestOptions) => Promise<ShellListOutput>;
|
|
251
|
+
create: (input: ShellCreateInput, requestOptions?: RequestOptions) => Promise<ShellCreateOutput>;
|
|
252
|
+
get: (input: ShellGetInput, requestOptions?: RequestOptions) => Promise<ShellGetOutput>;
|
|
253
|
+
output: (input: ShellOutputInput, requestOptions?: RequestOptions) => Promise<ShellOutputOutput>;
|
|
254
|
+
remove: (input: ShellRemoveInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
255
|
+
};
|
|
256
|
+
reference: {
|
|
257
|
+
list: (input?: ReferenceListInput, requestOptions?: RequestOptions) => Promise<ReferenceListOutput>;
|
|
258
|
+
};
|
|
259
|
+
worktree: {
|
|
260
|
+
list: (input: WorktreeListInput, requestOptions?: RequestOptions) => Promise<import("./types.js").WorktreeList>;
|
|
261
|
+
create: (input: WorktreeCreateInput, requestOptions?: RequestOptions) => Promise<import("./types.js").WorktreeInfo>;
|
|
262
|
+
remove: (input: WorktreeRemoveInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
263
|
+
refresh: (input: WorktreeRefreshInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
264
|
+
};
|
|
265
|
+
vcs: {
|
|
266
|
+
init: (input?: VcsInitInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
267
|
+
get: (input?: VcsGetInput, requestOptions?: RequestOptions) => Promise<VcsGetOutput>;
|
|
268
|
+
base: (input?: VcsBaseInput, requestOptions?: RequestOptions) => Promise<VcsBaseOutput>;
|
|
269
|
+
status: (input?: VcsStatusInput, requestOptions?: RequestOptions) => Promise<VcsStatusOutput>;
|
|
270
|
+
branch: {
|
|
271
|
+
list: (input?: VcsBranchListInput, requestOptions?: RequestOptions) => Promise<VcsBranchListOutput>;
|
|
272
|
+
};
|
|
273
|
+
diff: (input: VcsDiffInput, requestOptions?: RequestOptions) => Promise<VcsDiffOutput>;
|
|
274
|
+
};
|
|
275
|
+
debug: {
|
|
276
|
+
heapDump: (input?: DebugHeapDumpInput, requestOptions?: RequestOptions) => Promise<DebugHeapDumpOutput>;
|
|
277
|
+
location: {
|
|
278
|
+
list: (requestOptions?: RequestOptions) => Promise<DebugLocationListOutput>;
|
|
279
|
+
evict: (input?: DebugLocationEvictInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
280
|
+
};
|
|
281
|
+
};
|
|
282
|
+
websearch: {
|
|
283
|
+
providers: (input?: WebsearchProvidersInput, requestOptions?: RequestOptions) => Promise<WebsearchProvidersOutput>;
|
|
284
|
+
query: (input: WebsearchQueryInput, requestOptions?: RequestOptions) => Promise<WebsearchQueryOutput>;
|
|
285
|
+
};
|
|
286
|
+
session: {
|
|
287
|
+
list: (input?: SessionListInput, requestOptions?: RequestOptions) => Promise<import("./types.js").SessionsResponse>;
|
|
288
|
+
create: (input?: SessionCreateInput, requestOptions?: RequestOptions) => Promise<import("./types.js").SessionInfo>;
|
|
289
|
+
active: (requestOptions?: RequestOptions) => Promise<{
|
|
290
|
+
[x: string]: import("./types.js").SessionActive;
|
|
291
|
+
}>;
|
|
292
|
+
get: (input: SessionGetInput, requestOptions?: RequestOptions) => Promise<import("./types.js").SessionInfo>;
|
|
293
|
+
remove: (input: SessionRemoveInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
294
|
+
fork: (input: SessionForkInput, requestOptions?: RequestOptions) => Promise<import("./types.js").SessionInfo>;
|
|
295
|
+
switchAgent: (input: SessionSwitchAgentInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
296
|
+
switchModel: (input: SessionSwitchModelInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
297
|
+
update: (input: SessionUpdateInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
298
|
+
move: (input: SessionMoveInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
299
|
+
prompt: (input: SessionPromptInput, requestOptions?: RequestOptions) => Promise<import("./types.js").SessionInboxUser>;
|
|
300
|
+
command: (input: SessionCommandInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
301
|
+
synthetic: (input: SessionSyntheticInput, requestOptions?: RequestOptions) => Promise<import("./types.js").SessionInboxSynthetic>;
|
|
302
|
+
shell: (input: SessionShellInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
303
|
+
compact: (input: SessionCompactInput, requestOptions?: RequestOptions) => Promise<import("./types.js").SessionInboxCompaction>;
|
|
304
|
+
revert: {
|
|
305
|
+
stage: (input: SessionRevertStageInput, requestOptions?: RequestOptions) => Promise<import("./types.js").SessionRevert>;
|
|
306
|
+
clear: (input: SessionRevertClearInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
307
|
+
commit: (input: SessionRevertCommitInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
308
|
+
};
|
|
309
|
+
context: (input: SessionContextInput, requestOptions?: RequestOptions) => Promise<import("./types.js").SessionMessageInfo[]>;
|
|
310
|
+
diff: (input: SessionDiffInput, requestOptions?: RequestOptions) => Promise<import("./types.js").FileDiffInfo[]>;
|
|
311
|
+
inbox: {
|
|
312
|
+
list: (input: SessionInboxListInput, requestOptions?: RequestOptions) => Promise<import("./types.js").SessionInboxInfo[]>;
|
|
313
|
+
cancel: (input: SessionInboxCancelInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
314
|
+
update: (input: SessionInboxUpdateInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
315
|
+
};
|
|
316
|
+
generate: (input: SessionGenerateInput, requestOptions?: RequestOptions) => Promise<{
|
|
317
|
+
text: string;
|
|
318
|
+
tokens: import("./types.js").TokenUsageInfo;
|
|
319
|
+
cost: import("./types.js").MoneyUSD;
|
|
320
|
+
}>;
|
|
321
|
+
interrupt: (input: SessionInterruptInput, requestOptions?: RequestOptions) => Promise<import("./types.js").SessionInterruptResponse>;
|
|
322
|
+
background: (input: SessionBackgroundInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
323
|
+
message: {
|
|
324
|
+
get: (input: SessionMessageGetInput, requestOptions?: RequestOptions) => Promise<import("./types.js").SessionMessageAgentSelected | import("./types.js").SessionMessageAssistant | import("./types.js").SessionMessageCompactionCompleted | import("./types.js").SessionMessageCompactionFailed | import("./types.js").SessionMessageCompactionRunning | import("./types.js").SessionMessageIdle | import("./types.js").SessionMessageLocationSwitched | import("./types.js").SessionMessageModelSelected | import("./types.js").SessionMessageShell | import("./types.js").SessionMessageSkill | import("./types.js").SessionMessageSynthetic | import("./types.js").SessionMessageSystem | import("./types.js").SessionMessageUser>;
|
|
325
|
+
};
|
|
326
|
+
form: {
|
|
327
|
+
list: (input: SessionFormListInput, requestOptions?: RequestOptions) => Promise<import("./types.js").FormInfo[]>;
|
|
328
|
+
create: (input: SessionFormCreateInput, requestOptions?: RequestOptions) => Promise<import("./types.js").FormInfo>;
|
|
329
|
+
get: (input: SessionFormGetInput, requestOptions?: RequestOptions) => Promise<import("./types.js").FormDetail>;
|
|
330
|
+
reply: (input: SessionFormReplyInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
331
|
+
cancel: (input: SessionFormCancelInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
332
|
+
};
|
|
333
|
+
environment: (input: SessionEnvironmentInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
334
|
+
view: (input: SessionViewInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
335
|
+
/** @deprecated Use `client.experimental.session.stats`. Removed in the next minor. */
|
|
336
|
+
stats: (input?: ExperimentalSessionStatsInput, requestOptions?: RequestOptions) => Promise<import("./types.js").SessionStatsInfo>;
|
|
337
|
+
/** @deprecated Use `client.experimental.session.import`. Removed in the next minor. */
|
|
338
|
+
import: (input: ExperimentalSessionImportInput, requestOptions?: RequestOptions) => Promise<import("./types.js").SessionInfo>;
|
|
339
|
+
/** @deprecated Use `client.experimental.session.export`. Removed in the next minor. */
|
|
340
|
+
export: (input: ExperimentalSessionExportInput, requestOptions?: RequestOptions) => Promise<import("./types.js").SessionTransferData>;
|
|
341
|
+
/** @deprecated Use `client.experimental.session.skill`. Removed in the next minor. */
|
|
342
|
+
skill: (input: ExperimentalSessionSkillInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
343
|
+
/** @deprecated Use `client.experimental.session.wait`. Removed in the next minor. */
|
|
344
|
+
wait: (input: ExperimentalSessionWaitInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
345
|
+
/** @deprecated Use `client.experimental.session.instructions`. Removed in the next minor. */
|
|
346
|
+
instructions: {
|
|
347
|
+
/** @deprecated Use `client.experimental.session.instructions.entry`. Removed in the next minor. */
|
|
348
|
+
entry: {
|
|
349
|
+
/** @deprecated Use `client.experimental.session.instructions.entry.list`. Removed in the next minor. */
|
|
350
|
+
list: (input: ExperimentalSessionInstructionsEntryListInput, requestOptions?: RequestOptions) => Promise<import("./types.js").InstructionEntryInfo[]>;
|
|
351
|
+
/** @deprecated Use `client.experimental.session.instructions.entry.put`. Removed in the next minor. */
|
|
352
|
+
put: (input: ExperimentalSessionInstructionsEntryPutInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
353
|
+
/** @deprecated Use `client.experimental.session.instructions.entry.remove`. Removed in the next minor. */
|
|
354
|
+
remove: (input: ExperimentalSessionInstructionsEntryRemoveInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
355
|
+
};
|
|
356
|
+
};
|
|
357
|
+
/** @deprecated Use `client.experimental.session.log`. Removed in the next minor. */
|
|
358
|
+
log: (input: ExperimentalSessionLogInput, requestOptions?: RequestOptions) => AsyncIterable<ExperimentalSessionLogOutput>;
|
|
359
|
+
};
|
|
360
|
+
/** @deprecated Use `client.experimental.generate`. Removed in the next minor. */
|
|
361
|
+
generate: {
|
|
362
|
+
/** @deprecated Use `client.experimental.generate.text`. Removed in the next minor. */
|
|
363
|
+
text: (input: ExperimentalGenerateTextInput, requestOptions?: RequestOptions) => Promise<{
|
|
364
|
+
text: string;
|
|
365
|
+
}>;
|
|
366
|
+
/** @deprecated Use `client.experimental.generate.image`. Removed in the next minor. */
|
|
367
|
+
image: (input: ExperimentalGenerateImageInput, requestOptions?: RequestOptions) => Promise<import("./types.js").GenerateImageResult>;
|
|
368
|
+
/** @deprecated Use `client.experimental.generate.decisions`. Removed in the next minor. */
|
|
369
|
+
decisions: (input: ExperimentalGenerateDecisionsInput, requestOptions?: RequestOptions) => Promise<import("./types.js").GenerateDecisionResult>;
|
|
370
|
+
};
|
|
371
|
+
/** @deprecated Use `client.experimental.voice`. Removed in the next minor. */
|
|
372
|
+
voice: {
|
|
373
|
+
/** @deprecated Use `client.experimental.voice.models`. Removed in the next minor. */
|
|
374
|
+
models: (requestOptions?: RequestOptions) => Promise<{
|
|
375
|
+
models: Array<import("./types.js").VoiceModel>;
|
|
376
|
+
default?: string | undefined;
|
|
377
|
+
}>;
|
|
378
|
+
/** @deprecated Use `client.experimental.voice.session`. Removed in the next minor. */
|
|
379
|
+
session: (input: ExperimentalVoiceSessionInput, requestOptions?: RequestOptions) => Promise<{
|
|
380
|
+
transport: import("./types.js").VoiceTransport;
|
|
381
|
+
}>;
|
|
382
|
+
};
|
|
383
|
+
integration: {
|
|
384
|
+
list: (input?: IntegrationListInput, requestOptions?: RequestOptions) => Promise<IntegrationListOutput>;
|
|
385
|
+
get: (input: IntegrationGetInput, requestOptions?: RequestOptions) => Promise<IntegrationGetOutput>;
|
|
386
|
+
connect: {
|
|
387
|
+
key: (input: IntegrationConnectKeyInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
388
|
+
external: (input: IntegrationConnectExternalInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
389
|
+
};
|
|
390
|
+
oauth: {
|
|
391
|
+
connect: (input: IntegrationOauthConnectInput, requestOptions?: RequestOptions) => Promise<IntegrationOauthConnectOutput>;
|
|
392
|
+
status: (input: IntegrationOauthStatusInput, requestOptions?: RequestOptions) => Promise<IntegrationOauthStatusOutput>;
|
|
393
|
+
complete: (input: IntegrationOauthCompleteInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
394
|
+
cancel: (input: IntegrationOauthCancelInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
395
|
+
};
|
|
396
|
+
command: {
|
|
397
|
+
connect: (input: IntegrationCommandConnectInput, requestOptions?: RequestOptions) => Promise<IntegrationCommandConnectOutput>;
|
|
398
|
+
status: (input: IntegrationCommandStatusInput, requestOptions?: RequestOptions) => Promise<IntegrationCommandStatusOutput>;
|
|
399
|
+
cancel: (input: IntegrationCommandCancelInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
400
|
+
};
|
|
401
|
+
/** @deprecated Use `client.experimental.integration.wellknown`. Removed in the next minor. */
|
|
402
|
+
wellknown: {
|
|
403
|
+
/** @deprecated Use `client.experimental.integration.wellknown.add`. Removed in the next minor. */
|
|
404
|
+
add: (input: ExperimentalIntegrationWellknownAddInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
405
|
+
};
|
|
406
|
+
};
|
|
407
|
+
mcp: {
|
|
408
|
+
list: (input?: McpListInput, requestOptions?: RequestOptions) => Promise<McpListOutput>;
|
|
409
|
+
resource: {
|
|
410
|
+
catalog: (input?: McpResourceCatalogInput, requestOptions?: RequestOptions) => Promise<McpResourceCatalogOutput>;
|
|
411
|
+
};
|
|
412
|
+
/** @deprecated Use `client.experimental.mcp.add`. Removed in the next minor. */
|
|
413
|
+
add: (input: ExperimentalMcpAddInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
414
|
+
/** @deprecated Use `client.experimental.mcp.remove`. Removed in the next minor. */
|
|
415
|
+
remove: (input: ExperimentalMcpRemoveInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
416
|
+
/** @deprecated Use `client.experimental.mcp.connect`. Removed in the next minor. */
|
|
417
|
+
connect: (input: ExperimentalMcpConnectInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
418
|
+
/** @deprecated Use `client.experimental.mcp.disconnect`. Removed in the next minor. */
|
|
419
|
+
disconnect: (input: ExperimentalMcpDisconnectInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
420
|
+
/** @deprecated Use `client.experimental.mcp.client`. Removed in the next minor. */
|
|
421
|
+
client: {
|
|
422
|
+
/** @deprecated Use `client.experimental.mcp.client.token`. Removed in the next minor. */
|
|
423
|
+
token: (input: ExperimentalMcpClientTokenInput, requestOptions?: RequestOptions) => Promise<ExperimentalMcpClientTokenOutput>;
|
|
424
|
+
};
|
|
425
|
+
};
|
|
426
|
+
file: {
|
|
427
|
+
read: (input: FileReadInput, requestOptions?: RequestOptions) => Promise<FileReadOutput>;
|
|
428
|
+
list: (input?: FileListInput, requestOptions?: RequestOptions) => Promise<FileListOutput>;
|
|
429
|
+
find: (input: FileFindInput, requestOptions?: RequestOptions) => Promise<FileFindOutput>;
|
|
430
|
+
/** @deprecated Use `client.experimental.file.write`. Removed in the next minor. */
|
|
431
|
+
write: (input: ExperimentalFileWriteInput, requestOptions?: RequestOptions) => Promise<ExperimentalFileWriteOutput>;
|
|
432
|
+
/** @deprecated Use `client.experimental.file.watch`. Removed in the next minor. */
|
|
433
|
+
watch: (input: ExperimentalFileWatchInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
434
|
+
/** @deprecated Use `client.experimental.file.unwatch`. Removed in the next minor. */
|
|
435
|
+
unwatch: (input: ExperimentalFileUnwatchInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
436
|
+
};
|
|
437
|
+
/** @deprecated Use `client.experimental.migration`. Removed in the next minor. */
|
|
438
|
+
migration: {
|
|
439
|
+
/** @deprecated Use `client.experimental.migration.v1`. Removed in the next minor. */
|
|
440
|
+
v1: {
|
|
441
|
+
/** @deprecated Use `client.experimental.migration.v1.status`. Removed in the next minor. */
|
|
442
|
+
status: (requestOptions?: RequestOptions) => Promise<ExperimentalMigrationV1StatusOutput>;
|
|
443
|
+
};
|
|
444
|
+
};
|
|
445
|
+
/** @deprecated Use `client.experimental.usage`. Removed in the next minor. */
|
|
446
|
+
usage: {
|
|
447
|
+
/** @deprecated Use `client.experimental.usage.limits`. Removed in the next minor. */
|
|
448
|
+
limits: (input?: ExperimentalUsageLimitsInput, requestOptions?: RequestOptions) => Promise<ExperimentalUsageLimitsOutput>;
|
|
449
|
+
};
|
|
450
|
+
config: {
|
|
451
|
+
get: (input?: ConfigGetInput, requestOptions?: RequestOptions) => Promise<ConfigGetOutput>;
|
|
452
|
+
shells: (requestOptions?: RequestOptions) => Promise<ConfigShellsOutput>;
|
|
453
|
+
/** @deprecated Use `client.experimental.config.update`. Removed in the next minor. */
|
|
454
|
+
update: (input?: ExperimentalConfigUpdateInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
455
|
+
};
|
|
456
|
+
};
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import"../../chunks/contract-vyas3vgt.js";
|
|
2
|
+
import {
|
|
3
|
+
isInvalidRequestError2,
|
|
4
|
+
isUnauthorizedError2,
|
|
5
|
+
isLocationNotFoundError2,
|
|
6
|
+
isServiceUnavailableError2,
|
|
7
|
+
isAgentNotFoundError2,
|
|
8
|
+
isPluginNotFoundError2,
|
|
9
|
+
isInvalidCursorError2,
|
|
10
|
+
isSessionNotFoundError2,
|
|
11
|
+
isMessageNotFoundError2,
|
|
12
|
+
isConflictError2,
|
|
13
|
+
isSkillLoadError2,
|
|
14
|
+
isCommandNotFoundError2,
|
|
15
|
+
isCommandExecutionError2,
|
|
16
|
+
isSessionBusyError2,
|
|
17
|
+
isUnknownError2,
|
|
18
|
+
isFormNotFoundError2,
|
|
19
|
+
isFormInvalidAnswerError2,
|
|
20
|
+
isFormAlreadySettledError2,
|
|
21
|
+
isSkillNotFoundError2,
|
|
22
|
+
isInstructionEntryValueTooLargeError2,
|
|
23
|
+
isProviderNotFoundError2,
|
|
24
|
+
isModelNotFoundError2,
|
|
25
|
+
isUnsupportedModelError2,
|
|
26
|
+
isProviderRequestError2,
|
|
27
|
+
isVideoNotFoundError2,
|
|
28
|
+
isIntegrationNotFoundError2,
|
|
29
|
+
isIntegrationAttemptNotFoundError2,
|
|
30
|
+
isIntegrationMethodNotFoundError2,
|
|
31
|
+
isMcpServerNotFoundError2,
|
|
32
|
+
isForbiddenError2,
|
|
33
|
+
isProjectNotFoundError2,
|
|
34
|
+
isPermissionSavedNotFoundError2,
|
|
35
|
+
isPermissionNotFoundError2,
|
|
36
|
+
isFileNotFoundError2,
|
|
37
|
+
isRpcError2,
|
|
38
|
+
isRpcInternalError2,
|
|
39
|
+
isPtyNotFoundError2,
|
|
40
|
+
isPtyFeatureUnsupportedError2,
|
|
41
|
+
isBlobNotFoundError2,
|
|
42
|
+
isAutomationNotFoundError2,
|
|
43
|
+
isArtifactNotFoundError2,
|
|
44
|
+
isMachineNotFoundError2,
|
|
45
|
+
isPushDeviceNotFoundError2,
|
|
46
|
+
isShellNotFoundError2,
|
|
47
|
+
isWorktreeError2,
|
|
48
|
+
isVcsInitNotSupportedError2
|
|
49
|
+
} from "../../chunks/contract-rhrawkx2.js";
|
|
50
|
+
import {
|
|
51
|
+
exports_client4
|
|
52
|
+
} from "../../chunks/contract-d9s8wkgw.js";
|
|
53
|
+
import {
|
|
54
|
+
ClientError3
|
|
55
|
+
} from "../../chunks/contract-nwcpakzx.js";
|
|
56
|
+
export {
|
|
57
|
+
ClientError3 as ClientError,
|
|
58
|
+
exports_client4 as Radhe,
|
|
59
|
+
isAgentNotFoundError2 as isAgentNotFoundError,
|
|
60
|
+
isArtifactNotFoundError2 as isArtifactNotFoundError,
|
|
61
|
+
isAutomationNotFoundError2 as isAutomationNotFoundError,
|
|
62
|
+
isBlobNotFoundError2 as isBlobNotFoundError,
|
|
63
|
+
isCommandExecutionError2 as isCommandExecutionError,
|
|
64
|
+
isCommandNotFoundError2 as isCommandNotFoundError,
|
|
65
|
+
isConflictError2 as isConflictError,
|
|
66
|
+
isFileNotFoundError2 as isFileNotFoundError,
|
|
67
|
+
isForbiddenError2 as isForbiddenError,
|
|
68
|
+
isFormAlreadySettledError2 as isFormAlreadySettledError,
|
|
69
|
+
isFormInvalidAnswerError2 as isFormInvalidAnswerError,
|
|
70
|
+
isFormNotFoundError2 as isFormNotFoundError,
|
|
71
|
+
isInstructionEntryValueTooLargeError2 as isInstructionEntryValueTooLargeError,
|
|
72
|
+
isIntegrationAttemptNotFoundError2 as isIntegrationAttemptNotFoundError,
|
|
73
|
+
isIntegrationMethodNotFoundError2 as isIntegrationMethodNotFoundError,
|
|
74
|
+
isIntegrationNotFoundError2 as isIntegrationNotFoundError,
|
|
75
|
+
isInvalidCursorError2 as isInvalidCursorError,
|
|
76
|
+
isInvalidRequestError2 as isInvalidRequestError,
|
|
77
|
+
isLocationNotFoundError2 as isLocationNotFoundError,
|
|
78
|
+
isMachineNotFoundError2 as isMachineNotFoundError,
|
|
79
|
+
isMcpServerNotFoundError2 as isMcpServerNotFoundError,
|
|
80
|
+
isMessageNotFoundError2 as isMessageNotFoundError,
|
|
81
|
+
isModelNotFoundError2 as isModelNotFoundError,
|
|
82
|
+
isPermissionNotFoundError2 as isPermissionNotFoundError,
|
|
83
|
+
isPermissionSavedNotFoundError2 as isPermissionSavedNotFoundError,
|
|
84
|
+
isPluginNotFoundError2 as isPluginNotFoundError,
|
|
85
|
+
isProjectNotFoundError2 as isProjectNotFoundError,
|
|
86
|
+
isProviderNotFoundError2 as isProviderNotFoundError,
|
|
87
|
+
isProviderRequestError2 as isProviderRequestError,
|
|
88
|
+
isPtyFeatureUnsupportedError2 as isPtyFeatureUnsupportedError,
|
|
89
|
+
isPtyNotFoundError2 as isPtyNotFoundError,
|
|
90
|
+
isPushDeviceNotFoundError2 as isPushDeviceNotFoundError,
|
|
91
|
+
isRpcError2 as isRpcError,
|
|
92
|
+
isRpcInternalError2 as isRpcInternalError,
|
|
93
|
+
isServiceUnavailableError2 as isServiceUnavailableError,
|
|
94
|
+
isSessionBusyError2 as isSessionBusyError,
|
|
95
|
+
isSessionNotFoundError2 as isSessionNotFoundError,
|
|
96
|
+
isShellNotFoundError2 as isShellNotFoundError,
|
|
97
|
+
isSkillLoadError2 as isSkillLoadError,
|
|
98
|
+
isSkillNotFoundError2 as isSkillNotFoundError,
|
|
99
|
+
isUnauthorizedError2 as isUnauthorizedError,
|
|
100
|
+
isUnknownError2 as isUnknownError,
|
|
101
|
+
isUnsupportedModelError2 as isUnsupportedModelError,
|
|
102
|
+
isVcsInitNotSupportedError2 as isVcsInitNotSupportedError,
|
|
103
|
+
isVideoNotFoundError2 as isVideoNotFoundError,
|
|
104
|
+
isWorktreeError2 as isWorktreeError
|
|
105
|
+
};
|