@nikcli-ai/sdk 1.276.0 → 1.278.0
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/httpapi/client.d.ts +53 -0
- package/dist/httpapi/client.js +27 -0
- package/dist/httpapi/compat.d.ts +484 -0
- package/dist/httpapi/compat.js +507 -0
- package/dist/httpapi/generated/client.d.ts +142 -140
- package/dist/httpapi/generated/client.js +833 -817
- package/dist/httpapi/generated/types.d.ts +8584 -3535
- package/dist/httpapi/index.d.ts +1063 -1
- package/dist/httpapi/index.js +13 -1
- package/dist/index.d.ts +1 -10
- package/dist/index.js +1 -16
- package/dist/server.d.ts +1 -1
- package/package.json +4 -20
- package/dist/client.d.ts +0 -7
- package/dist/client.js +0 -25
- package/dist/gen/client/client.gen.d.ts +0 -2
- package/dist/gen/client/client.gen.js +0 -165
- package/dist/gen/client/index.d.ts +0 -7
- package/dist/gen/client/index.js +0 -5
- package/dist/gen/client/types.gen.d.ts +0 -127
- package/dist/gen/client/types.gen.js +0 -2
- package/dist/gen/client/utils.gen.d.ts +0 -38
- package/dist/gen/client/utils.gen.js +0 -226
- package/dist/gen/client.gen.d.ts +0 -12
- package/dist/gen/client.gen.js +0 -5
- package/dist/gen/core/auth.gen.d.ts +0 -18
- package/dist/gen/core/auth.gen.js +0 -14
- package/dist/gen/core/bodySerializer.gen.d.ts +0 -17
- package/dist/gen/core/bodySerializer.gen.js +0 -57
- package/dist/gen/core/params.gen.d.ts +0 -33
- package/dist/gen/core/params.gen.js +0 -89
- package/dist/gen/core/pathSerializer.gen.d.ts +0 -33
- package/dist/gen/core/pathSerializer.gen.js +0 -106
- package/dist/gen/core/serverSentEvents.gen.d.ts +0 -59
- package/dist/gen/core/serverSentEvents.gen.js +0 -117
- package/dist/gen/core/types.gen.d.ts +0 -78
- package/dist/gen/core/types.gen.js +0 -2
- package/dist/gen/core/utils.gen.d.ts +0 -14
- package/dist/gen/core/utils.gen.js +0 -69
- package/dist/gen/sdk.gen.d.ts +0 -403
- package/dist/gen/sdk.gen.js +0 -881
- package/dist/gen/types.gen.d.ts +0 -3380
- package/dist/gen/types.gen.js +0 -2
- package/dist/v2/client.d.ts +0 -8
- package/dist/v2/client.js +0 -33
- package/dist/v2/gen/client/client.gen.d.ts +0 -2
- package/dist/v2/gen/client/client.gen.js +0 -214
- package/dist/v2/gen/client/index.d.ts +0 -10
- package/dist/v2/gen/client/index.js +0 -6
- package/dist/v2/gen/client/types.gen.d.ts +0 -120
- package/dist/v2/gen/client/types.gen.js +0 -2
- package/dist/v2/gen/client/utils.gen.d.ts +0 -37
- package/dist/v2/gen/client/utils.gen.js +0 -226
- package/dist/v2/gen/client.gen.d.ts +0 -12
- package/dist/v2/gen/client.gen.js +0 -3
- package/dist/v2/gen/core/auth.gen.d.ts +0 -25
- package/dist/v2/gen/core/auth.gen.js +0 -14
- package/dist/v2/gen/core/bodySerializer.gen.d.ts +0 -25
- package/dist/v2/gen/core/bodySerializer.gen.js +0 -57
- package/dist/v2/gen/core/params.gen.d.ts +0 -43
- package/dist/v2/gen/core/params.gen.js +0 -109
- package/dist/v2/gen/core/pathSerializer.gen.d.ts +0 -33
- package/dist/v2/gen/core/pathSerializer.gen.js +0 -106
- package/dist/v2/gen/core/queryKeySerializer.gen.d.ts +0 -18
- package/dist/v2/gen/core/queryKeySerializer.gen.js +0 -93
- package/dist/v2/gen/core/serverSentEvents.gen.d.ts +0 -71
- package/dist/v2/gen/core/serverSentEvents.gen.js +0 -132
- package/dist/v2/gen/core/types.gen.d.ts +0 -83
- package/dist/v2/gen/core/types.gen.js +0 -2
- package/dist/v2/gen/core/utils.gen.d.ts +0 -19
- package/dist/v2/gen/core/utils.gen.js +0 -87
- package/dist/v2/gen/sdk.gen.d.ts +0 -3367
- package/dist/v2/gen/sdk.gen.js +0 -6914
- package/dist/v2/gen/types.gen.d.ts +0 -11330
- package/dist/v2/gen/types.gen.js +0 -2
- package/dist/v2/index.d.ts +0 -10
- package/dist/v2/index.js +0 -16
- package/dist/v2/server.d.ts +0 -23
- package/dist/v2/server.js +0 -94
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
export * from "./generated/types.js";
|
|
2
|
+
export { ClientError, type ClientErrorReason } from "./generated/client-error.js";
|
|
3
|
+
export type { ClientOptions, RequestOptions } from "./generated/client.js";
|
|
4
|
+
export type { CallOptions, Result } from "./compat.js";
|
|
5
|
+
import { compat } from "./compat.js";
|
|
6
|
+
import type { Config, MCPStatus, LSPStatus, ProviderAuthOutput, ProviderListOutput, ProviderOAuthAuthorization, SessionContextBreakdownOutput, SessionMessageOutput, SessionPromptPromptInput, SessionV2EntryList, MobileRoutineListOutput, MobileGitStatusOutput, MobileGitCommitsOutput, MobileGitBranchesOutput } from "./generated/types.js";
|
|
7
|
+
export type NikcliClient = ReturnType<typeof compat>;
|
|
8
|
+
export type NikcliClientConfig = {
|
|
9
|
+
readonly baseUrl: string;
|
|
10
|
+
/** Applied to every request; combined with any per-request signal. */
|
|
11
|
+
readonly signal?: AbortSignal;
|
|
12
|
+
readonly fetch?: typeof globalThis.fetch;
|
|
13
|
+
readonly headers?: RequestInit["headers"];
|
|
14
|
+
/** Binds the client to an instance directory via `x-nikcli-directory`. */
|
|
15
|
+
readonly directory?: string;
|
|
16
|
+
/** Binds the client to a workspace via `x-nikcli-workspace`. */
|
|
17
|
+
readonly workspace?: string;
|
|
18
|
+
/** Reject on failure instead of resolving with `{ error }`. Per-call overridable. */
|
|
19
|
+
readonly throwOnError?: boolean;
|
|
20
|
+
};
|
|
21
|
+
export declare function createNikcliClient(config: NikcliClientConfig): NikcliClient;
|
|
22
|
+
export type LspStatus = LSPStatus;
|
|
23
|
+
export type McpStatus = MCPStatus;
|
|
24
|
+
export type ProviderListResponse = ProviderListOutput;
|
|
25
|
+
export type ProviderAuthResponse = ProviderAuthOutput;
|
|
26
|
+
export type ProviderAuthAuthorization = ProviderOAuthAuthorization;
|
|
27
|
+
export type SessionContextResponse = SessionContextBreakdownOutput;
|
|
28
|
+
export type SessionMessageResponse = SessionMessageOutput;
|
|
29
|
+
export type MobileRoutine = MobileRoutineListOutput[number];
|
|
30
|
+
export type MobileGitStatusResponse = MobileGitStatusOutput;
|
|
31
|
+
export type MobileGitCommitsResponse = MobileGitCommitsOutput;
|
|
32
|
+
export type MobileGitBranchesResponse = MobileGitBranchesOutput;
|
|
33
|
+
/**
|
|
34
|
+
* One entry of the event-sourced v2 session log. The contract still carries the
|
|
35
|
+
* entry union as an open type — see specs/effect/http-api.md, "Contract schema
|
|
36
|
+
* split".
|
|
37
|
+
*/
|
|
38
|
+
export type SessionEntry = SessionV2EntryList[number];
|
|
39
|
+
/** The `parts` union accepted by `session.prompt`. */
|
|
40
|
+
export type PromptPartInput = SessionPromptPromptInput["parts"][number];
|
|
41
|
+
export type TextPartInput = Extract<PromptPartInput, {
|
|
42
|
+
type: "text";
|
|
43
|
+
}>;
|
|
44
|
+
export type FilePartInput = Extract<PromptPartInput, {
|
|
45
|
+
type: "file";
|
|
46
|
+
}>;
|
|
47
|
+
export type AgentPartInput = Extract<PromptPartInput, {
|
|
48
|
+
type: "agent";
|
|
49
|
+
}>;
|
|
50
|
+
/** Provider credentials as stored by `auth.set`. */
|
|
51
|
+
export type Auth = Parameters<NikcliClient["auth"]["set"]>[0]["payload"];
|
|
52
|
+
/** The full `nikcli.json` document. */
|
|
53
|
+
export type NikcliConfig = Config;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export * from "./generated/types.js";
|
|
2
|
+
export { ClientError } from "./generated/client-error.js";
|
|
3
|
+
import { make } from "./generated/client.js";
|
|
4
|
+
import { compat } from "./compat.js";
|
|
5
|
+
export function createNikcliClient(config) {
|
|
6
|
+
const headers = new Headers(config.headers);
|
|
7
|
+
if (config.directory !== undefined) {
|
|
8
|
+
// Header values are latin-1; percent-encode anything outside it so a
|
|
9
|
+
// non-ASCII project path does not throw on Headers.set.
|
|
10
|
+
const encoded = /[^\x00-\x7F]/.test(config.directory) ? encodeURIComponent(config.directory) : config.directory;
|
|
11
|
+
headers.set("x-nikcli-directory", encoded);
|
|
12
|
+
}
|
|
13
|
+
if (config.workspace !== undefined)
|
|
14
|
+
headers.set("x-nikcli-workspace", config.workspace);
|
|
15
|
+
const base = config.fetch ?? globalThis.fetch;
|
|
16
|
+
const signal = config.signal;
|
|
17
|
+
const fetch = signal
|
|
18
|
+
? Object.assign((input, init) => {
|
|
19
|
+
const merged = init?.signal ? AbortSignal.any([signal, init.signal]) : signal;
|
|
20
|
+
return base(input, { ...init, signal: merged });
|
|
21
|
+
},
|
|
22
|
+
// `preconnect` is an optimisation hint with no observable behaviour;
|
|
23
|
+
// it only has to exist for the value to satisfy `typeof fetch`.
|
|
24
|
+
{ preconnect: () => undefined })
|
|
25
|
+
: base;
|
|
26
|
+
return compat(make({ baseUrl: config.baseUrl, fetch, headers }), { throwOnError: config.throwOnError });
|
|
27
|
+
}
|
|
@@ -0,0 +1,484 @@
|
|
|
1
|
+
import { make, type RequestOptions } from "./generated/client.js";
|
|
2
|
+
type Raw = ReturnType<typeof make>;
|
|
3
|
+
/**
|
|
4
|
+
* Result envelope. Transport failures and declared HTTP errors resolve as
|
|
5
|
+
* `error` rather than rejecting, so a failed call in a UI event handler cannot
|
|
6
|
+
* become an unhandled rejection. Pass `throwOnError` to opt back into
|
|
7
|
+
* rejection — per call, or once via `createNikcliClient`.
|
|
8
|
+
*/
|
|
9
|
+
export type Result<A> = {
|
|
10
|
+
data: A;
|
|
11
|
+
error: undefined;
|
|
12
|
+
response?: undefined;
|
|
13
|
+
} | {
|
|
14
|
+
data: undefined;
|
|
15
|
+
error: unknown;
|
|
16
|
+
response?: {
|
|
17
|
+
status: number;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* `directory` selects which instance serves the request (the server reads it
|
|
22
|
+
* from `x-nikcli-directory`); it defaults to the client's own directory.
|
|
23
|
+
*/
|
|
24
|
+
export type CallOptions = RequestOptions & Selector & {
|
|
25
|
+
readonly throwOnError?: boolean;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* Instance selection. `directory` picks the instance serving the request and
|
|
29
|
+
* `workspace` the workspace within it; the server reads both from headers
|
|
30
|
+
* (`x-nikcli-directory` / `x-nikcli-workspace`).
|
|
31
|
+
*/
|
|
32
|
+
type Selector = {
|
|
33
|
+
readonly directory?: string;
|
|
34
|
+
readonly workspace?: string;
|
|
35
|
+
};
|
|
36
|
+
/** Selection passed inline with the request body. */
|
|
37
|
+
type WithDirectory<I> = I & Selector;
|
|
38
|
+
export type CompatDefaults = {
|
|
39
|
+
readonly throwOnError?: boolean;
|
|
40
|
+
};
|
|
41
|
+
export declare function compat(raw: Raw, defaults?: CompatDefaults): {
|
|
42
|
+
analytics: {
|
|
43
|
+
daily: (input?: (import("./client.js").AnalyticsDailyInput & Selector) | undefined, options?: CallOptions) => Promise<Result<import("./client.js").AnalyticsDailyOutput>>;
|
|
44
|
+
data: (input?: (import("./client.js").AnalyticsDataInput & Selector) | undefined, options?: CallOptions) => Promise<Result<import("./client.js").AnalyticsData>>;
|
|
45
|
+
global: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").AnalyticsGlobal>>;
|
|
46
|
+
leaderboard: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").AnalyticsLeaderboard>>;
|
|
47
|
+
session: (input: WithDirectory<import("./client.js").AnalyticsSessionInput>, options?: CallOptions) => Promise<Result<import("./client.js").AnalyticsSession>>;
|
|
48
|
+
sessions: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").AnalyticsSessionsOutput>>;
|
|
49
|
+
};
|
|
50
|
+
app: {
|
|
51
|
+
agents: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").TopLevelAgentOutput>>;
|
|
52
|
+
log: (input: WithDirectory<import("./client.js").AppLogInput>, options?: CallOptions) => Promise<Result<boolean>>;
|
|
53
|
+
skill: {
|
|
54
|
+
create: (input: WithDirectory<import("./client.js").AppSkillCreateInput>, options?: CallOptions) => Promise<Result<import("./client.js").AppSkillInfo>>;
|
|
55
|
+
delete: (input: WithDirectory<import("./client.js").AppSkillDeleteInput>, options?: CallOptions) => Promise<Result<boolean>>;
|
|
56
|
+
};
|
|
57
|
+
skills: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").TopLevelSkillOutput>>;
|
|
58
|
+
};
|
|
59
|
+
auth: {
|
|
60
|
+
remove: (input: WithDirectory<import("./client.js").AuthRemoveInput>, options?: CallOptions) => Promise<Result<boolean>>;
|
|
61
|
+
set: (input: WithDirectory<import("./client.js").AuthSetInput>, options?: CallOptions) => Promise<Result<boolean>>;
|
|
62
|
+
};
|
|
63
|
+
brain: {
|
|
64
|
+
status: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").BrainStatus>>;
|
|
65
|
+
trigger: (input?: (import("./client.js").BrainTriggerInput & Selector) | undefined, options?: CallOptions) => Promise<Result<import("./client.js").BrainResult>>;
|
|
66
|
+
};
|
|
67
|
+
command: {
|
|
68
|
+
list: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").TopLevelCommandOutput>>;
|
|
69
|
+
};
|
|
70
|
+
config: {
|
|
71
|
+
get: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").Config>>;
|
|
72
|
+
providers: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").ConfigProviders>>;
|
|
73
|
+
reload: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").ConfigReloadResponse>>;
|
|
74
|
+
update: (input: WithDirectory<import("./client.js").ConfigUpdateInput>, options?: CallOptions) => Promise<Result<import("./client.js").Config>>;
|
|
75
|
+
};
|
|
76
|
+
connectors: {
|
|
77
|
+
auth: {
|
|
78
|
+
remove: (input: WithDirectory<import("./client.js").ConnectorsAuthRemoveInput>, options?: CallOptions) => Promise<Result<import("./client.js").ConnectorsSuccess>>;
|
|
79
|
+
set: (input: WithDirectory<import("./client.js").ConnectorsAuthSetInput>, options?: CallOptions) => Promise<Result<import("./client.js").ConnectorsSuccess>>;
|
|
80
|
+
};
|
|
81
|
+
invalidate: (input?: (import("./client.js").ConnectorsInvalidateInput & Selector) | undefined, options?: CallOptions) => Promise<Result<import("./client.js").ConnectorsSuccess>>;
|
|
82
|
+
status: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").ConnectorsStatusOutput2>>;
|
|
83
|
+
};
|
|
84
|
+
deleteConfigMcpName: (input: WithDirectory<import("./client.js").ConfigManagementMcpRemoveInput>, options?: CallOptions) => Promise<Result<import("./client.js").SuccessFlag>>;
|
|
85
|
+
doctor: {
|
|
86
|
+
run: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").DoctorReport>>;
|
|
87
|
+
};
|
|
88
|
+
event: {
|
|
89
|
+
subscribe: (options?: CallOptions, overrides?: CallOptions) => Promise<{
|
|
90
|
+
stream: AsyncIterable<import("./client.js").Event>;
|
|
91
|
+
}>;
|
|
92
|
+
};
|
|
93
|
+
experimental: {
|
|
94
|
+
resource: {
|
|
95
|
+
list: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").McpResourceMap>>;
|
|
96
|
+
};
|
|
97
|
+
workspace: {
|
|
98
|
+
adaptor: {
|
|
99
|
+
list: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").WorkspaceAdaptorsOutput>>;
|
|
100
|
+
};
|
|
101
|
+
create: (input: WithDirectory<import("./client.js").WorkspaceCreateInput>, options?: CallOptions) => Promise<Result<import("./client.js").Workspace1>>;
|
|
102
|
+
events: (input: WithDirectory<import("./client.js").WorkspaceExtraEventsInput>, options?: CallOptions) => Promise<Result<import("./client.js").WorkspaceExtraEventsOutput>>;
|
|
103
|
+
list: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").WorkspaceListOutput>>;
|
|
104
|
+
remove: (input: WithDirectory<import("./client.js").WorkspaceRemoveInput>, options?: CallOptions) => Promise<Result<import("./client.js").OptionalWorkspace>>;
|
|
105
|
+
restore: (input: WithDirectory<import("./client.js").WorkspaceRestoreInput>, options?: CallOptions) => Promise<Result<import("./client.js").WorkspaceRestore>>;
|
|
106
|
+
session: {
|
|
107
|
+
restore: (input: WithDirectory<import("./client.js").WorkspaceSessionRestoreInput>, options?: CallOptions) => Promise<Result<import("./client.js").WorkspaceSessionRestore>>;
|
|
108
|
+
warp: (input: WithDirectory<import("./client.js").WorkspaceExtraSessionWarpInput>, options?: CallOptions) => Promise<Result<import("./client.js").WorkspaceSessionWarpResponse>>;
|
|
109
|
+
};
|
|
110
|
+
status: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").WorkspaceStatusOutput>>;
|
|
111
|
+
syncList: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<void>>;
|
|
112
|
+
warp: (input: WithDirectory<import("./client.js").WorkspaceWarpInput>, options?: CallOptions) => Promise<Result<void>>;
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
file: {
|
|
116
|
+
list: (input: WithDirectory<import("./client.js").FileListInput>, options?: CallOptions) => Promise<Result<import("./client.js").FileListOutput>>;
|
|
117
|
+
read: (input: WithDirectory<import("./client.js").FileContentInput>, options?: CallOptions) => Promise<Result<import("./client.js").FileContent>>;
|
|
118
|
+
status: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").FileStatusOutput>>;
|
|
119
|
+
write: (input: WithDirectory<import("./client.js").FileWriteInput>, options?: CallOptions) => Promise<Result<import("./client.js").FileWriteResult>>;
|
|
120
|
+
};
|
|
121
|
+
find: {
|
|
122
|
+
files: (input: WithDirectory<import("./client.js").FileFindFileInput>, options?: CallOptions) => Promise<Result<import("./client.js").FileFindFileOutput>>;
|
|
123
|
+
symbols: (input: WithDirectory<import("./client.js").FileFindSymbolInput>, options?: CallOptions) => Promise<Result<import("./client.js").FileFindSymbolOutput>>;
|
|
124
|
+
text: (input: WithDirectory<import("./client.js").FileFindTextInput>, options?: CallOptions) => Promise<Result<import("./client.js").FileFindTextOutput>>;
|
|
125
|
+
};
|
|
126
|
+
formatter: {
|
|
127
|
+
status: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").TopLevelFormatterOutput>>;
|
|
128
|
+
};
|
|
129
|
+
getApiShareShareId: (input: WithDirectory<import("./client.js").ShareApiInput>, options?: CallOptions) => Promise<Result<import("./client.js").ShareData>>;
|
|
130
|
+
getApiShareShareIdData: (input: WithDirectory<import("./client.js").ShareDataInput>, options?: CallOptions) => Promise<Result<import("./client.js").ShareData>>;
|
|
131
|
+
getShareShareId: (input: WithDirectory<import("./client.js").SharePageInput>, options?: CallOptions) => Promise<Result<import("./client.js").ShareData>>;
|
|
132
|
+
getSShareId: (input: WithDirectory<import("./client.js").ShareShortInput>, options?: CallOptions) => Promise<Result<any>>;
|
|
133
|
+
global: {
|
|
134
|
+
dispose: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<boolean>>;
|
|
135
|
+
event: (options?: CallOptions, overrides?: CallOptions) => Promise<{
|
|
136
|
+
stream: AsyncIterable<import("./client.js").GlobalEvent>;
|
|
137
|
+
}>;
|
|
138
|
+
health: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").GlobalHealth>>;
|
|
139
|
+
};
|
|
140
|
+
instance: {
|
|
141
|
+
dispose: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<boolean>>;
|
|
142
|
+
};
|
|
143
|
+
loop: {
|
|
144
|
+
abort: (input: WithDirectory<import("./client.js").LoopAbortInput>, options?: CallOptions) => Promise<Result<boolean>>;
|
|
145
|
+
delete: (input: WithDirectory<import("./client.js").LoopRemoveInput>, options?: CallOptions) => Promise<Result<boolean>>;
|
|
146
|
+
generate: (input: WithDirectory<import("./client.js").LoopGenerateInput>, options?: CallOptions) => Promise<Result<import("./client.js").LoopDefinition>>;
|
|
147
|
+
get: (input: WithDirectory<import("./client.js").LoopGetInput>, options?: CallOptions) => Promise<Result<import("./client.js").LoopGetOutput2>>;
|
|
148
|
+
list: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").LoopListOutput2>>;
|
|
149
|
+
pause: (input: WithDirectory<import("./client.js").LoopPauseInput>, options?: CallOptions) => Promise<Result<boolean>>;
|
|
150
|
+
recentRuns: (input?: (import("./client.js").LoopRecentRunsInput & Selector) | undefined, options?: CallOptions) => Promise<Result<import("./client.js").LoopRunsOutput2>>;
|
|
151
|
+
resume: (input: WithDirectory<import("./client.js").LoopResumeInput>, options?: CallOptions) => Promise<Result<boolean>>;
|
|
152
|
+
run: (input: WithDirectory<import("./client.js").LoopRunInput>, options?: CallOptions) => Promise<Result<boolean>>;
|
|
153
|
+
runs: (input: WithDirectory<import("./client.js").LoopRunsInput>, options?: CallOptions) => Promise<Result<import("./client.js").LoopRunsOutput2>>;
|
|
154
|
+
templates: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").LoopTemplatesOutput2>>;
|
|
155
|
+
toggle: (input: WithDirectory<import("./client.js").LoopToggleInput>, options?: CallOptions) => Promise<Result<import("./client.js").LoopDefinition>>;
|
|
156
|
+
update: (input: WithDirectory<import("./client.js").LoopUpdateInput>, options?: CallOptions) => Promise<Result<import("./client.js").LoopDefinition>>;
|
|
157
|
+
upsert: (input: WithDirectory<import("./client.js").LoopUpsertInput>, options?: CallOptions) => Promise<Result<import("./client.js").LoopDefinition>>;
|
|
158
|
+
};
|
|
159
|
+
lsp: {
|
|
160
|
+
status: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").TopLevelLspOutput>>;
|
|
161
|
+
};
|
|
162
|
+
managedWorktree: {
|
|
163
|
+
ancestors: (input: WithDirectory<import("./client.js").ExperimentalManagedWorktreeAncestorsInput>, options?: CallOptions) => Promise<Result<import("./client.js").ManagedWorktreeList>>;
|
|
164
|
+
children: (input: WithDirectory<import("./client.js").ExperimentalManagedWorktreeChildrenInput>, options?: CallOptions) => Promise<Result<import("./client.js").ManagedWorktreeList>>;
|
|
165
|
+
create: (input: WithDirectory<import("./client.js").ExperimentalManagedWorktreeCreateInput>, options?: CallOptions) => Promise<Result<import("./client.js").ManagedWorktreeInfo>>;
|
|
166
|
+
link: (input: WithDirectory<import("./client.js").ExperimentalManagedWorktreeLinkInput>, options?: CallOptions) => Promise<Result<import("./client.js").ManagedWorktreeInfo>>;
|
|
167
|
+
list: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").ManagedWorktreeList>>;
|
|
168
|
+
remove: (input: WithDirectory<import("./client.js").ExperimentalManagedWorktreeRemoveInput>, options?: CallOptions) => Promise<Result<null>>;
|
|
169
|
+
};
|
|
170
|
+
mcp: {
|
|
171
|
+
add: (input: WithDirectory<import("./client.js").McpAddInput>, options?: CallOptions) => Promise<Result<import("./client.js").MCPStatusMap>>;
|
|
172
|
+
auth: {
|
|
173
|
+
authenticate: (input: WithDirectory<import("./client.js").McpAuthenticateInput>, options?: CallOptions) => Promise<Result<import("./client.js").MCPStatus>>;
|
|
174
|
+
callback: (input: WithDirectory<import("./client.js").McpAuthCallbackInput>, options?: CallOptions) => Promise<Result<import("./client.js").MCPStatus>>;
|
|
175
|
+
remove: (input: WithDirectory<import("./client.js").McpRemoveAuthInput>, options?: CallOptions) => Promise<Result<import("./client.js").McpMutationSuccess>>;
|
|
176
|
+
start: (input: WithDirectory<import("./client.js").McpStartAuthInput>, options?: CallOptions) => Promise<Result<import("./client.js").McpStartAuthResponse>>;
|
|
177
|
+
};
|
|
178
|
+
connect: (input: WithDirectory<import("./client.js").McpConnectInput>, options?: CallOptions) => Promise<Result<boolean>>;
|
|
179
|
+
disconnect: (input: WithDirectory<import("./client.js").McpDisconnectInput>, options?: CallOptions) => Promise<Result<boolean>>;
|
|
180
|
+
status: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").MCPStatusMap>>;
|
|
181
|
+
toggle: (input: WithDirectory<import("./client.js").McpToggleInput>, options?: CallOptions) => Promise<Result<import("./client.js").MCPStatusMap>>;
|
|
182
|
+
};
|
|
183
|
+
mission: {
|
|
184
|
+
cancel: (input: WithDirectory<import("./client.js").MissionCancelInput>, options?: CallOptions) => Promise<Result<boolean>>;
|
|
185
|
+
delete: (input: WithDirectory<import("./client.js").MissionRemoveInput>, options?: CallOptions) => Promise<Result<boolean>>;
|
|
186
|
+
execs: (input: WithDirectory<import("./client.js").MissionExecsInput>, options?: CallOptions) => Promise<Result<import("./client.js").MissionExecsOutput2>>;
|
|
187
|
+
feature: {
|
|
188
|
+
mutate: (input: WithDirectory<import("./client.js").MissionFeatureMutateInput>, options?: CallOptions) => Promise<Result<import("./client.js").MissionDefinition>>;
|
|
189
|
+
};
|
|
190
|
+
generate: (input: WithDirectory<import("./client.js").MissionGenerateInput>, options?: CallOptions) => Promise<Result<import("./client.js").MissionDefinition>>;
|
|
191
|
+
get: (input: WithDirectory<import("./client.js").MissionGetInput>, options?: CallOptions) => Promise<Result<import("./client.js").MissionGetOutput2>>;
|
|
192
|
+
list: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").MissionListOutput2>>;
|
|
193
|
+
pause: (input: WithDirectory<import("./client.js").MissionPauseInput>, options?: CallOptions) => Promise<Result<boolean>>;
|
|
194
|
+
recentExecs: (input?: (import("./client.js").MissionRecentExecsInput & Selector) | undefined, options?: CallOptions) => Promise<Result<import("./client.js").MissionExecsOutput2>>;
|
|
195
|
+
start: (input: WithDirectory<import("./client.js").MissionStartInput>, options?: CallOptions) => Promise<Result<boolean>>;
|
|
196
|
+
templates: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").MissionTemplatesOutput2>>;
|
|
197
|
+
update: (input: WithDirectory<import("./client.js").MissionUpdateInput>, options?: CallOptions) => Promise<Result<import("./client.js").MissionDefinition>>;
|
|
198
|
+
upsert: (input: WithDirectory<import("./client.js").MissionUpsertInput>, options?: CallOptions) => Promise<Result<import("./client.js").MissionDefinition>>;
|
|
199
|
+
};
|
|
200
|
+
mobile: {
|
|
201
|
+
auth: {
|
|
202
|
+
token: {
|
|
203
|
+
create: (input?: (import("./client.js").MobileAuthTokenCreateInput & Selector) | undefined, options?: CallOptions) => Promise<Result<import("./client.js").MobileAuthTokenCreateOutput>>;
|
|
204
|
+
list: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").MobileAuthTokenListOutput>>;
|
|
205
|
+
revoke: (input: WithDirectory<import("./client.js").MobileAuthTokenRevokeInput>, options?: CallOptions) => Promise<Result<import("./client.js").MobileAuthTokenRevokeOutput>>;
|
|
206
|
+
};
|
|
207
|
+
};
|
|
208
|
+
bootstrap: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").MobileBootstrap>>;
|
|
209
|
+
command: {
|
|
210
|
+
list: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").MobileCommandListOutput>>;
|
|
211
|
+
};
|
|
212
|
+
git: {
|
|
213
|
+
branches: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").MobileGitBranchesOutput>>;
|
|
214
|
+
checkout: (input: WithDirectory<import("./client.js").MobileGitCheckoutInput>, options?: CallOptions) => Promise<Result<import("./client.js").MobileSuccess>>;
|
|
215
|
+
commit: (input: WithDirectory<import("./client.js").MobileGitCommitInput>, options?: CallOptions) => Promise<Result<import("./client.js").MobileGitCommitOutput>>;
|
|
216
|
+
commits: (input?: (import("./client.js").MobileGitCommitsInput & Selector) | undefined, options?: CallOptions) => Promise<Result<import("./client.js").MobileGitCommitsOutput>>;
|
|
217
|
+
diff: (input?: (import("./client.js").MobileGitDiffInput & Selector) | undefined, options?: CallOptions) => Promise<Result<import("./client.js").MobileGitDiffOutput>>;
|
|
218
|
+
discard: (input: WithDirectory<import("./client.js").MobileGitDiscardInput>, options?: CallOptions) => Promise<Result<import("./client.js").MobileSuccess>>;
|
|
219
|
+
pull: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").MobileGitPullOutput>>;
|
|
220
|
+
push: (input?: (import("./client.js").MobileGitPushInput & Selector) | undefined, options?: CallOptions) => Promise<Result<import("./client.js").MobileGitPushOutput>>;
|
|
221
|
+
stage: (input: WithDirectory<import("./client.js").MobileGitStageInput>, options?: CallOptions) => Promise<Result<import("./client.js").MobileSuccess>>;
|
|
222
|
+
status: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").MobileGitStatus>>;
|
|
223
|
+
unstage: (input: WithDirectory<import("./client.js").MobileGitUnstageInput>, options?: CallOptions) => Promise<Result<import("./client.js").MobileSuccess>>;
|
|
224
|
+
};
|
|
225
|
+
github: {
|
|
226
|
+
auth: {
|
|
227
|
+
remove: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").MobileSuccess>>;
|
|
228
|
+
set: (input: WithDirectory<import("./client.js").MobileGithubAuthSetInput>, options?: CallOptions) => Promise<Result<import("./client.js").MobileSuccess>>;
|
|
229
|
+
};
|
|
230
|
+
branches: (input: WithDirectory<import("./client.js").MobileGithubBranchesInput>, options?: CallOptions) => Promise<Result<import("./client.js").MobileGithubBranchesOutput>>;
|
|
231
|
+
import: (input: WithDirectory<import("./client.js").MobileGithubImportInput>, options?: CallOptions) => Promise<Result<import("./client.js").MobileGithubImportOutput>>;
|
|
232
|
+
imports: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").MobileGithubImportsOutput>>;
|
|
233
|
+
oauth: {
|
|
234
|
+
clientId: {
|
|
235
|
+
set: (input: WithDirectory<import("./client.js").MobileGithubOauthClientInput>, options?: CallOptions) => Promise<Result<import("./client.js").MobileConfigInfo>>;
|
|
236
|
+
};
|
|
237
|
+
device: {
|
|
238
|
+
poll: (input: WithDirectory<import("./client.js").MobileGithubOauthDevicePollInput>, options?: CallOptions) => Promise<Result<import("./client.js").MobileGithubDeviceAuthPollResult>>;
|
|
239
|
+
start: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").MobileGithubDeviceAuthStart>>;
|
|
240
|
+
};
|
|
241
|
+
};
|
|
242
|
+
repos: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").MobileGithubReposOutput>>;
|
|
243
|
+
session: {
|
|
244
|
+
cleanup: (input: WithDirectory<import("./client.js").MobileSessionCleanupInput>, options?: CallOptions) => Promise<Result<import("./client.js").MobileSuccess>>;
|
|
245
|
+
create: (input: WithDirectory<import("./client.js").MobileGithubSessionCreateInput>, options?: CallOptions) => Promise<Result<import("./client.js").MobileGithubSessionCreateResult>>;
|
|
246
|
+
publish: (input: WithDirectory<import("./client.js").MobileSessionPublishInput>, options?: CallOptions) => Promise<Result<import("./client.js").MobileGithubPublishResult>>;
|
|
247
|
+
};
|
|
248
|
+
};
|
|
249
|
+
loop: {
|
|
250
|
+
abort: (input: WithDirectory<import("./client.js").MobileLoopAbortInput>, options?: CallOptions) => Promise<Result<import("./client.js").MobileSuccess>>;
|
|
251
|
+
create: (input: WithDirectory<import("./client.js").MobileLoopCreateInput>, options?: CallOptions) => Promise<Result<import("./client.js").LoopDefinition>>;
|
|
252
|
+
delete: (input: WithDirectory<import("./client.js").MobileLoopDeleteInput>, options?: CallOptions) => Promise<Result<import("./client.js").MobileSuccess>>;
|
|
253
|
+
generate: (input: WithDirectory<import("./client.js").MobileLoopGenerateInput>, options?: CallOptions) => Promise<Result<import("./client.js").LoopDefinition>>;
|
|
254
|
+
get: (input: WithDirectory<import("./client.js").MobileLoopGetInput>, options?: CallOptions) => Promise<Result<import("./client.js").MobileLoopGetOutput>>;
|
|
255
|
+
list: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").MobileLoopListOutput>>;
|
|
256
|
+
pause: (input: WithDirectory<import("./client.js").MobileLoopPauseInput>, options?: CallOptions) => Promise<Result<import("./client.js").MobileSuccess>>;
|
|
257
|
+
resume: (input: WithDirectory<import("./client.js").MobileLoopResumeInput>, options?: CallOptions) => Promise<Result<import("./client.js").MobileSuccess>>;
|
|
258
|
+
run: (input: WithDirectory<import("./client.js").MobileLoopRunInput>, options?: CallOptions) => Promise<Result<import("./client.js").MobileSuccess>>;
|
|
259
|
+
runs: (input: WithDirectory<import("./client.js").MobileLoopRunsInput>, options?: CallOptions) => Promise<Result<import("./client.js").MobileLoopRunsOutput>>;
|
|
260
|
+
runs2: {
|
|
261
|
+
recent: (input?: (import("./client.js").MobileLoopRunsRecentInput & Selector) | undefined, options?: CallOptions) => Promise<Result<import("./client.js").MobileLoopRunsRecentOutput>>;
|
|
262
|
+
};
|
|
263
|
+
templates: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").MobileLoopTemplatesOutput>>;
|
|
264
|
+
toggle: (input: WithDirectory<import("./client.js").MobileLoopToggleInput>, options?: CallOptions) => Promise<Result<import("./client.js").LoopDefinition>>;
|
|
265
|
+
update: (input: WithDirectory<import("./client.js").MobileLoopUpdateInput>, options?: CallOptions) => Promise<Result<import("./client.js").LoopDefinition>>;
|
|
266
|
+
};
|
|
267
|
+
memory: {
|
|
268
|
+
history: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").MobileMemoryHistoryOutput>>;
|
|
269
|
+
search: (input: WithDirectory<import("./client.js").MobileMemorySearchInput>, options?: CallOptions) => Promise<Result<import("./client.js").MobileMemorySearchOutput>>;
|
|
270
|
+
stash: {
|
|
271
|
+
create: (input: WithDirectory<import("./client.js").MobileMemoryStashCreateInput>, options?: CallOptions) => Promise<Result<import("./client.js").MobilePromptStashEntry>>;
|
|
272
|
+
delete: (input: WithDirectory<import("./client.js").MobileMemoryStashDeleteInput>, options?: CallOptions) => Promise<Result<import("./client.js").MobileSuccess>>;
|
|
273
|
+
list: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").MobileMemoryStashListOutput>>;
|
|
274
|
+
};
|
|
275
|
+
};
|
|
276
|
+
permission: {
|
|
277
|
+
respond: (input: WithDirectory<import("./client.js").MobilePermissionRespondInput>, options?: CallOptions) => Promise<Result<import("./client.js").MobileSuccess>>;
|
|
278
|
+
};
|
|
279
|
+
project: {
|
|
280
|
+
list: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").MobileProjectListOutput>>;
|
|
281
|
+
};
|
|
282
|
+
pty: {
|
|
283
|
+
create: (input?: (import("./client.js").MobilePtyCreateInput & Selector) | undefined, options?: CallOptions) => Promise<Result<import("./client.js").Pty>>;
|
|
284
|
+
get: (input: WithDirectory<import("./client.js").MobilePtyGetInput>, options?: CallOptions) => Promise<Result<import("./client.js").Pty>>;
|
|
285
|
+
list: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").MobilePtyListOutput>>;
|
|
286
|
+
remove: (input: WithDirectory<import("./client.js").MobilePtyRemoveInput>, options?: CallOptions) => Promise<Result<boolean>>;
|
|
287
|
+
update: (input: WithDirectory<import("./client.js").MobilePtyUpdateInput>, options?: CallOptions) => Promise<Result<import("./client.js").Pty>>;
|
|
288
|
+
};
|
|
289
|
+
question: {
|
|
290
|
+
reject: (input: WithDirectory<import("./client.js").MobileQuestionRejectInput>, options?: CallOptions) => Promise<Result<import("./client.js").MobileSuccess>>;
|
|
291
|
+
respond: (input: WithDirectory<import("./client.js").MobileQuestionRespondInput>, options?: CallOptions) => Promise<Result<import("./client.js").MobileSuccess>>;
|
|
292
|
+
};
|
|
293
|
+
routine: {
|
|
294
|
+
create: (input: WithDirectory<import("./client.js").MobileRoutineCreateInput>, options?: CallOptions) => Promise<Result<import("./client.js").Routine>>;
|
|
295
|
+
delete: (input: WithDirectory<import("./client.js").MobileRoutineDeleteInput>, options?: CallOptions) => Promise<Result<import("./client.js").MobileSuccess>>;
|
|
296
|
+
get: (input: WithDirectory<import("./client.js").MobileRoutineGetInput>, options?: CallOptions) => Promise<Result<import("./client.js").Routine>>;
|
|
297
|
+
list: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").MobileRoutineListOutput>>;
|
|
298
|
+
pause: (input: WithDirectory<import("./client.js").MobileRoutinePauseInput>, options?: CallOptions) => Promise<Result<import("./client.js").Routine>>;
|
|
299
|
+
resume: (input: WithDirectory<import("./client.js").MobileRoutineResumeInput>, options?: CallOptions) => Promise<Result<import("./client.js").Routine>>;
|
|
300
|
+
run: (input: WithDirectory<import("./client.js").MobileRoutineRunInput>, options?: CallOptions) => Promise<Result<import("./client.js").Session>>;
|
|
301
|
+
trigger: (input: WithDirectory<import("./client.js").MobileRoutineTriggerInput>, options?: CallOptions) => Promise<Result<import("./client.js").Session>>;
|
|
302
|
+
update: (input: WithDirectory<import("./client.js").MobileRoutineUpdateInput>, options?: CallOptions) => Promise<Result<import("./client.js").Routine>>;
|
|
303
|
+
};
|
|
304
|
+
session: {
|
|
305
|
+
abort: (input: WithDirectory<import("./client.js").MobileSessionAbortInput>, options?: CallOptions) => Promise<Result<import("./client.js").MobileSuccess>>;
|
|
306
|
+
command: (input: WithDirectory<import("./client.js").MobileSessionCommandInput>, options?: CallOptions) => Promise<Result<import("./client.js").MobileSessionCommandOutput>>;
|
|
307
|
+
command2: {
|
|
308
|
+
list: (input: WithDirectory<import("./client.js").MobileSessionCommandListInput>, options?: CallOptions) => Promise<Result<import("./client.js").MobileSessionCommandListOutput>>;
|
|
309
|
+
};
|
|
310
|
+
create: (input?: (import("./client.js").MobileSessionCreateInput & Selector) | undefined, options?: CallOptions) => Promise<Result<import("./client.js").Session>>;
|
|
311
|
+
delete: (input: WithDirectory<import("./client.js").MobileSessionDeleteInput>, options?: CallOptions) => Promise<Result<import("./client.js").MobileSuccess>>;
|
|
312
|
+
detail: (input: WithDirectory<import("./client.js").MobileSessionDetailInput>, options?: CallOptions) => Promise<Result<import("./client.js").MobileSessionDetail>>;
|
|
313
|
+
diff: (input: WithDirectory<import("./client.js").MobileSessionDiffInput>, options?: CallOptions) => Promise<Result<import("./client.js").MobileSessionDiffOutput>>;
|
|
314
|
+
list: (input?: (import("./client.js").MobileSessionListInput & Selector) | undefined, options?: CallOptions) => Promise<Result<import("./client.js").MobileSessionListOutput>>;
|
|
315
|
+
message: (input: WithDirectory<import("./client.js").MobileSessionMessageInput>, options?: CallOptions) => Promise<Result<import("./client.js").MobileSessionMessageOutput>>;
|
|
316
|
+
rename: (input: WithDirectory<import("./client.js").MobileSessionRenameInput>, options?: CallOptions) => Promise<Result<import("./client.js").MobileSuccess>>;
|
|
317
|
+
stream: (input: WithDirectory<import("./client.js").MobileSessionStreamInput>, options?: CallOptions) => Promise<{
|
|
318
|
+
stream: AsyncIterable<any>;
|
|
319
|
+
}>;
|
|
320
|
+
teleport: (input: WithDirectory<import("./client.js").MobileTeleportInInput>, options?: CallOptions) => Promise<Result<import("./client.js").MobileTeleportResult>>;
|
|
321
|
+
teleport2: {
|
|
322
|
+
out: (input: WithDirectory<import("./client.js").MobileTeleportOutInput>, options?: CallOptions) => Promise<Result<import("./client.js").MobileTeleportResult>>;
|
|
323
|
+
upload: {
|
|
324
|
+
begin: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").MobileTeleportUploadBeginOutput>>;
|
|
325
|
+
chunk: (input: WithDirectory<import("./client.js").MobileTeleportUploadChunkInput>, options?: CallOptions) => Promise<Result<import("./client.js").MobileTeleportUploadChunkOutput>>;
|
|
326
|
+
};
|
|
327
|
+
};
|
|
328
|
+
};
|
|
329
|
+
worktree: {
|
|
330
|
+
create: (input: WithDirectory<import("./client.js").MobileWorktreeCreateInput>, options?: CallOptions) => Promise<Result<import("./client.js").ManagedWorktreeInfo>>;
|
|
331
|
+
remove: (input: WithDirectory<import("./client.js").MobileWorktreeRemoveInput>, options?: CallOptions) => Promise<Result<import("./client.js").MobileSuccess>>;
|
|
332
|
+
reset: (input: WithDirectory<import("./client.js").MobileWorktreeResetInput>, options?: CallOptions) => Promise<Result<import("./client.js").MobileSuccess>>;
|
|
333
|
+
};
|
|
334
|
+
};
|
|
335
|
+
part: {
|
|
336
|
+
delete: (input: WithDirectory<import("./client.js").SessionPartRemoveInput>, options?: CallOptions) => Promise<Result<boolean>>;
|
|
337
|
+
update: (input: WithDirectory<import("./client.js").SessionPartUpdateInput>, options?: CallOptions) => Promise<Result<import("./client.js").Part>>;
|
|
338
|
+
};
|
|
339
|
+
patchConfigMcpName: (input: WithDirectory<import("./client.js").ConfigManagementMcpUpdateInput>, options?: CallOptions) => Promise<Result<import("./client.js").SuccessFlag>>;
|
|
340
|
+
patchUserId: (input: WithDirectory<import("./client.js").UsersUpdateInput>, options?: CallOptions) => Promise<Result<import("./client.js").PublicUser>>;
|
|
341
|
+
path: {
|
|
342
|
+
get: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").Path>>;
|
|
343
|
+
};
|
|
344
|
+
permission: {
|
|
345
|
+
list: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").PermissionListOutput>>;
|
|
346
|
+
reply: (input: WithDirectory<import("./client.js").PermissionReplyInput>, options?: CallOptions) => Promise<Result<boolean>>;
|
|
347
|
+
respond: (input: WithDirectory<import("./client.js").SessionPermissionRespondInput>, options?: CallOptions) => Promise<Result<boolean>>;
|
|
348
|
+
};
|
|
349
|
+
postConfigMcp: (input: WithDirectory<import("./client.js").ConfigManagementMcpAddInput>, options?: CallOptions) => Promise<Result<import("./client.js").SuccessFlag>>;
|
|
350
|
+
postConfigProfiles: (input: WithDirectory<import("./client.js").ConfigManagementProfileCreateInput>, options?: CallOptions) => Promise<Result<import("./client.js").SuccessFlag>>;
|
|
351
|
+
postConfigProfilesActivateName: (input: WithDirectory<import("./client.js").ConfigManagementProfileActivateInput>, options?: CallOptions) => Promise<Result<import("./client.js").SuccessFlag>>;
|
|
352
|
+
postUserLogin: (input: WithDirectory<import("./client.js").UsersLoginInput>, options?: CallOptions) => Promise<Result<import("./client.js").UserSession>>;
|
|
353
|
+
postUserRegister: (input: WithDirectory<import("./client.js").UsersRegisterInput>, options?: CallOptions) => Promise<Result<import("./client.js").UserSession>>;
|
|
354
|
+
project: {
|
|
355
|
+
current: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").Project>>;
|
|
356
|
+
list: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").ProjectListOutput>>;
|
|
357
|
+
update: (input: WithDirectory<import("./client.js").ProjectUpdateInput>, options?: CallOptions) => Promise<Result<import("./client.js").Project>>;
|
|
358
|
+
};
|
|
359
|
+
provider: {
|
|
360
|
+
api: {
|
|
361
|
+
set: (input: WithDirectory<import("./client.js").ProviderApiInput>, options?: CallOptions) => Promise<Result<import("./client.js").ProviderMutationSuccess>>;
|
|
362
|
+
};
|
|
363
|
+
auth: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").ProviderAuthMethods>>;
|
|
364
|
+
auth2: {
|
|
365
|
+
remove: (input: WithDirectory<import("./client.js").ProviderRemoveAuthInput>, options?: CallOptions) => Promise<Result<import("./client.js").ProviderMutationSuccess>>;
|
|
366
|
+
};
|
|
367
|
+
list: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").ProviderList>>;
|
|
368
|
+
oauth: {
|
|
369
|
+
authorize: (input: WithDirectory<import("./client.js").ProviderOauthAuthorizeInput>, options?: CallOptions) => Promise<Result<import("./client.js").ProviderOauthAuthorizeOutput>>;
|
|
370
|
+
callback: (input: WithDirectory<import("./client.js").ProviderOauthCallbackInput>, options?: CallOptions) => Promise<Result<boolean>>;
|
|
371
|
+
};
|
|
372
|
+
};
|
|
373
|
+
pty: {
|
|
374
|
+
create: (input?: (import("./client.js").PtyCreateInput & Selector) | undefined, options?: CallOptions) => Promise<Result<import("./client.js").Pty1>>;
|
|
375
|
+
get: (input: WithDirectory<import("./client.js").PtyGetInput>, options?: CallOptions) => Promise<Result<import("./client.js").Pty1>>;
|
|
376
|
+
list: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").PtyList>>;
|
|
377
|
+
remove: (input: WithDirectory<import("./client.js").PtyRemoveInput>, options?: CallOptions) => Promise<Result<boolean>>;
|
|
378
|
+
update: (input: WithDirectory<import("./client.js").PtyUpdateInput>, options?: CallOptions) => Promise<Result<import("./client.js").Pty1>>;
|
|
379
|
+
};
|
|
380
|
+
question: {
|
|
381
|
+
list: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").QuestionListOutput>>;
|
|
382
|
+
reject: (input: WithDirectory<import("./client.js").QuestionRejectInput>, options?: CallOptions) => Promise<Result<boolean>>;
|
|
383
|
+
reply: (input: WithDirectory<import("./client.js").QuestionReplyInput>, options?: CallOptions) => Promise<Result<boolean>>;
|
|
384
|
+
};
|
|
385
|
+
session: {
|
|
386
|
+
abort: (input: WithDirectory<import("./client.js").SessionAbortInput>, options?: CallOptions) => Promise<Result<boolean>>;
|
|
387
|
+
background: (input: WithDirectory<import("./client.js").SessionBackgroundInput>, options?: CallOptions) => Promise<Result<import("./client.js").SessionBackgroundOutput2>>;
|
|
388
|
+
background2: {
|
|
389
|
+
cancel: (input: WithDirectory<import("./client.js").SessionBackgroundCancelInput>, options?: CallOptions) => Promise<Result<boolean>>;
|
|
390
|
+
inspect: (input: WithDirectory<import("./client.js").SessionBackgroundInspectInput>, options?: CallOptions) => Promise<Result<import("./client.js").SessionBackgroundInspectOutput2>>;
|
|
391
|
+
read: (input: WithDirectory<import("./client.js").SessionBackgroundReadInput>, options?: CallOptions) => Promise<Result<string>>;
|
|
392
|
+
};
|
|
393
|
+
children: (input: WithDirectory<import("./client.js").SessionChildrenInput>, options?: CallOptions) => Promise<Result<import("./client.js").SessionList>>;
|
|
394
|
+
command: (input: WithDirectory<import("./client.js").SessionCommandInput>, options?: CallOptions) => Promise<Result<import("./client.js").MessageWithParts>>;
|
|
395
|
+
context: (input: WithDirectory<import("./client.js").SessionContextBreakdownInput>, options?: CallOptions) => Promise<Result<import("./client.js").SessionContextBreakdown>>;
|
|
396
|
+
contextToggle: (input: WithDirectory<import("./client.js").SessionContextToggleInput>, options?: CallOptions) => Promise<Result<import("./client.js").SessionContextBreakdown>>;
|
|
397
|
+
create: (input?: (import("./client.js").SessionCreateInput & Selector) | undefined, options?: CallOptions) => Promise<Result<import("./client.js").Session>>;
|
|
398
|
+
delete: (input: WithDirectory<import("./client.js").SessionRemoveInput>, options?: CallOptions) => Promise<Result<boolean>>;
|
|
399
|
+
diff: (input: WithDirectory<import("./client.js").SessionDiffInput>, options?: CallOptions) => Promise<Result<import("./client.js").FileDiffList>>;
|
|
400
|
+
fork: (input: WithDirectory<import("./client.js").SessionForkInput>, options?: CallOptions) => Promise<Result<import("./client.js").Session>>;
|
|
401
|
+
get: (input: WithDirectory<import("./client.js").SessionGetInput>, options?: CallOptions) => Promise<Result<import("./client.js").Session>>;
|
|
402
|
+
goal: (input: WithDirectory<import("./client.js").SessionGoalInput>, options?: CallOptions) => Promise<Result<import("./client.js").SessionGoalOutput2>>;
|
|
403
|
+
instructions: (input: WithDirectory<import("./client.js").SessionInstructionsInput>, options?: CallOptions) => Promise<Result<import("./client.js").SessionInstructionList>>;
|
|
404
|
+
list: (input?: import("./client.js").SessionListInput | undefined, options?: CallOptions) => Promise<Result<import("./client.js").SessionList>>;
|
|
405
|
+
message: (input: WithDirectory<import("./client.js").SessionMessageInput>, options?: CallOptions) => Promise<Result<import("./client.js").MessageWithParts>>;
|
|
406
|
+
messages: (input: WithDirectory<import("./client.js").SessionMessagesInput>, options?: CallOptions) => Promise<Result<import("./client.js").MessageList>>;
|
|
407
|
+
monitor: (input: WithDirectory<import("./client.js").SessionMonitorInput>, options?: CallOptions) => Promise<Result<import("./client.js").SessionMonitorOutput2>>;
|
|
408
|
+
monitorCancel: (input: WithDirectory<import("./client.js").SessionMonitorCancelInput>, options?: CallOptions) => Promise<Result<import("./client.js").SessionMonitorOutput2>>;
|
|
409
|
+
monitorLog: (input: WithDirectory<import("./client.js").SessionMonitorLogInput>, options?: CallOptions) => Promise<Result<import("./client.js").SessionMonitorLogOutput2>>;
|
|
410
|
+
prompt: (input: WithDirectory<import("./client.js").SessionPromptPromptInput>, options?: CallOptions) => Promise<Result<import("./client.js").SessionPromptResponse>>;
|
|
411
|
+
promptAsync: (input: WithDirectory<import("./client.js").SessionPromptPromptAsyncInput>, options?: CallOptions) => Promise<Result<void>>;
|
|
412
|
+
revert: (input: WithDirectory<import("./client.js").SessionRevertInput>, options?: CallOptions) => Promise<Result<import("./client.js").Session>>;
|
|
413
|
+
share: (input: WithDirectory<import("./client.js").SessionShareInput>, options?: CallOptions) => Promise<Result<import("./client.js").Session>>;
|
|
414
|
+
shell: (input: WithDirectory<import("./client.js").SessionShellInput>, options?: CallOptions) => Promise<Result<import("./client.js").MessageWithParts>>;
|
|
415
|
+
status: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").SessionStatusMap>>;
|
|
416
|
+
summarize: (input: WithDirectory<import("./client.js").SessionSummarizeInput>, options?: CallOptions) => Promise<Result<boolean>>;
|
|
417
|
+
todo: (input: WithDirectory<import("./client.js").SessionTodoInput>, options?: CallOptions) => Promise<Result<import("./client.js").TodoList>>;
|
|
418
|
+
unrevert: (input: WithDirectory<import("./client.js").SessionUnrevertInput>, options?: CallOptions) => Promise<Result<import("./client.js").Session>>;
|
|
419
|
+
unshare: (input: WithDirectory<import("./client.js").SessionUnshareInput>, options?: CallOptions) => Promise<Result<import("./client.js").Session>>;
|
|
420
|
+
update: (input: WithDirectory<import("./client.js").SessionUpdateInput>, options?: CallOptions) => Promise<Result<import("./client.js").Session>>;
|
|
421
|
+
v2: {
|
|
422
|
+
entries: (input: WithDirectory<import("./client.js").SessionV2EntriesInput>, options?: CallOptions) => Promise<Result<import("./client.js").SessionV2EntryList>>;
|
|
423
|
+
events: (input: WithDirectory<import("./client.js").SessionV2EventsInput>, options?: CallOptions) => Promise<Result<import("./client.js").SessionV2EventList>>;
|
|
424
|
+
state: (input: WithDirectory<import("./client.js").SessionV2StateInput>, options?: CallOptions) => Promise<Result<any>>;
|
|
425
|
+
};
|
|
426
|
+
};
|
|
427
|
+
sync: {
|
|
428
|
+
config: {
|
|
429
|
+
set: (input: WithDirectory<import("./client.js").SyncConfigInput>, options?: CallOptions) => Promise<Result<import("./client.js").SyncConfigSetResponse>>;
|
|
430
|
+
};
|
|
431
|
+
connect: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<void>>;
|
|
432
|
+
disconnect: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<void>>;
|
|
433
|
+
drain: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<void>>;
|
|
434
|
+
event: {
|
|
435
|
+
push: (input: WithDirectory<import("./client.js").SyncEventInput>, options?: CallOptions) => Promise<Result<void>>;
|
|
436
|
+
stream: (input: WithDirectory<import("./client.js").SyncStreamInput>, options?: CallOptions) => Promise<{
|
|
437
|
+
stream: AsyncIterable<any>;
|
|
438
|
+
}>;
|
|
439
|
+
};
|
|
440
|
+
outbox: {
|
|
441
|
+
list: (input: WithDirectory<import("./client.js").SyncOutboxInput>, options?: CallOptions) => Promise<Result<import("./client.js").SyncOutboxResponse>>;
|
|
442
|
+
};
|
|
443
|
+
snapshot: {
|
|
444
|
+
get: (input: WithDirectory<import("./client.js").SyncSnapshotInput>, options?: CallOptions) => Promise<Result<import("./client.js").SyncSnapshotResponse>>;
|
|
445
|
+
};
|
|
446
|
+
stats: (input?: (import("./client.js").SyncStatsInput & Selector) | undefined, options?: CallOptions) => Promise<Result<import("./client.js").SyncStatsOutput2>>;
|
|
447
|
+
};
|
|
448
|
+
tool: {
|
|
449
|
+
ids: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").ToolIDs>>;
|
|
450
|
+
list: (input: WithDirectory<import("./client.js").ExperimentalToolsInput>, options?: CallOptions) => Promise<Result<import("./client.js").ToolList>>;
|
|
451
|
+
};
|
|
452
|
+
tui: {
|
|
453
|
+
appendPrompt: (input: WithDirectory<import("./client.js").TuiAppendPromptInput>, options?: CallOptions) => Promise<Result<boolean>>;
|
|
454
|
+
clearPrompt: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<boolean>>;
|
|
455
|
+
control: {
|
|
456
|
+
next: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").TuiControlRequest>>;
|
|
457
|
+
response: (input: WithDirectory<import("./client.js").TuiControlResponseInput>, options?: CallOptions) => Promise<Result<boolean>>;
|
|
458
|
+
};
|
|
459
|
+
executeCommand: (input: WithDirectory<import("./client.js").TuiExecuteCommandInput>, options?: CallOptions) => Promise<Result<boolean>>;
|
|
460
|
+
openHelp: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<boolean>>;
|
|
461
|
+
openModels: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<boolean>>;
|
|
462
|
+
openSessions: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<boolean>>;
|
|
463
|
+
openThemes: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<boolean>>;
|
|
464
|
+
publish: (input: WithDirectory<import("./client.js").TuiPublishInput>, options?: CallOptions) => Promise<Result<boolean>>;
|
|
465
|
+
selectSession: (input: WithDirectory<import("./client.js").TuiSelectSessionInput>, options?: CallOptions) => Promise<Result<boolean>>;
|
|
466
|
+
showToast: (input: WithDirectory<import("./client.js").TuiShowToastInput>, options?: CallOptions) => Promise<Result<boolean>>;
|
|
467
|
+
submitPrompt: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<boolean>>;
|
|
468
|
+
};
|
|
469
|
+
vcs: {
|
|
470
|
+
apply: (input: WithDirectory<import("./client.js").TopLevelVcsApplyInput>, options?: CallOptions) => Promise<Result<import("./client.js").VcsApplyResult>>;
|
|
471
|
+
diff: {
|
|
472
|
+
raw: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<string>>;
|
|
473
|
+
};
|
|
474
|
+
get: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").VcsInfo>>;
|
|
475
|
+
status: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").TopLevelVcsStatusOutput>>;
|
|
476
|
+
};
|
|
477
|
+
worktree: {
|
|
478
|
+
create: (input?: (import("./client.js").ExperimentalWorktreeCreateInput & Selector) | undefined, options?: CallOptions) => Promise<Result<import("./client.js").Worktree>>;
|
|
479
|
+
list: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").WorktreeList>>;
|
|
480
|
+
remove: (input: import("./client.js").ExperimentalWorktreeRemoveInput, options?: CallOptions) => Promise<Result<boolean>>;
|
|
481
|
+
reset: (input: import("./client.js").ExperimentalWorktreeResetInput, options?: CallOptions) => Promise<Result<boolean>>;
|
|
482
|
+
};
|
|
483
|
+
};
|
|
484
|
+
export {};
|