@nikcli-ai/sdk 1.321.0 → 1.322.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/compat.d.ts
CHANGED
|
@@ -416,7 +416,7 @@ export declare function compat(raw: Raw, defaults?: CompatDefaults): {
|
|
|
416
416
|
todo: (input: WithDirectory<import("./client.js").MobileSessionTodoInput>, options?: CallOptions) => Promise<Result<import("./client.js").MobileSessionTodoOutput>>;
|
|
417
417
|
};
|
|
418
418
|
worktree: {
|
|
419
|
-
create: (input?: (import("./client.js").MobileWorktreeCreateInput & Selector) | undefined, options?: CallOptions) => Promise<Result<import("./client.js").
|
|
419
|
+
create: (input?: (import("./client.js").MobileWorktreeCreateInput & Selector) | undefined, options?: CallOptions) => Promise<Result<import("./client.js").Worktree2>>;
|
|
420
420
|
remove: (input: import("./client.js").MobileWorktreeRemoveInput, options?: CallOptions) => Promise<Result<import("./client.js").MobileSuccess>>;
|
|
421
421
|
reset: (input: import("./client.js").MobileWorktreeResetInput, options?: CallOptions) => Promise<Result<import("./client.js").MobileSuccess>>;
|
|
422
422
|
};
|
|
@@ -449,7 +449,7 @@ export declare function compat(raw: Raw, defaults?: CompatDefaults): {
|
|
|
449
449
|
preview: (input?: (import("./client.js").ProfilePreviewInput & Selector) | undefined, options?: CallOptions) => Promise<Result<import("./client.js").ProfilePreview>>;
|
|
450
450
|
};
|
|
451
451
|
project: {
|
|
452
|
-
current: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").
|
|
452
|
+
current: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").Project2>>;
|
|
453
453
|
copy: {
|
|
454
454
|
create: (input: import("./client.js").ProjectCopyCreateInput, options?: CallOptions) => Promise<Result<import("./client.js").ProjectCopy>>;
|
|
455
455
|
refresh: (input: WithDirectory<import("./client.js").ProjectCopyRefreshInput>, options?: CallOptions) => Promise<Result<import("./client.js").ProjectCopyRefresh>>;
|
|
@@ -459,7 +459,7 @@ export declare function compat(raw: Raw, defaults?: CompatDefaults): {
|
|
|
459
459
|
list: (input: WithDirectory<import("./client.js").ProjectDirectoryListInput>, options?: CallOptions) => Promise<Result<import("./client.js").ProjectDirectoryListOutput>>;
|
|
460
460
|
};
|
|
461
461
|
list: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").ProjectListOutput>>;
|
|
462
|
-
update: (input: WithDirectory<import("./client.js").ProjectUpdateInput>, options?: CallOptions) => Promise<Result<import("./client.js").
|
|
462
|
+
update: (input: WithDirectory<import("./client.js").ProjectUpdateInput>, options?: CallOptions) => Promise<Result<import("./client.js").Project2>>;
|
|
463
463
|
};
|
|
464
464
|
provider: {
|
|
465
465
|
api: {
|
|
@@ -172,7 +172,7 @@ export declare function make(options: ClientOptions): {
|
|
|
172
172
|
teleportUploadChunk: (input: MobileTeleportUploadChunkInput, requestOptions?: RequestOptions) => Promise<MobileTeleportUploadChunkOutput>;
|
|
173
173
|
teleportIn: (input: MobileTeleportInInput, requestOptions?: RequestOptions) => Promise<import("./types.js").MobileTeleportResult>;
|
|
174
174
|
teleportOut: (input: MobileTeleportOutInput, requestOptions?: RequestOptions) => Promise<import("./types.js").MobileTeleportResult>;
|
|
175
|
-
worktreeCreate: (input?: MobileWorktreeCreateInput, requestOptions?: RequestOptions) => Promise<import("./types.js").
|
|
175
|
+
worktreeCreate: (input?: MobileWorktreeCreateInput, requestOptions?: RequestOptions) => Promise<import("./types.js").Worktree2>;
|
|
176
176
|
worktreeRemove: (input: MobileWorktreeRemoveInput, requestOptions?: RequestOptions) => Promise<import("./types.js").MobileSuccess>;
|
|
177
177
|
worktreeReset: (input: MobileWorktreeResetInput, requestOptions?: RequestOptions) => Promise<import("./types.js").MobileSuccess>;
|
|
178
178
|
gitStatus: (requestOptions?: RequestOptions) => Promise<import("./types.js").MobileGitStatus>;
|
|
@@ -247,8 +247,8 @@ export declare function make(options: ClientOptions): {
|
|
|
247
247
|
};
|
|
248
248
|
project: {
|
|
249
249
|
list: (requestOptions?: RequestOptions) => Promise<ProjectListOutput>;
|
|
250
|
-
current: (requestOptions?: RequestOptions) => Promise<import("./types.js").
|
|
251
|
-
update: (input: ProjectUpdateInput, requestOptions?: RequestOptions) => Promise<import("./types.js").
|
|
250
|
+
current: (requestOptions?: RequestOptions) => Promise<import("./types.js").Project2>;
|
|
251
|
+
update: (input: ProjectUpdateInput, requestOptions?: RequestOptions) => Promise<import("./types.js").Project2>;
|
|
252
252
|
directoryList: (input: ProjectDirectoryListInput, requestOptions?: RequestOptions) => Promise<ProjectDirectoryListOutput>;
|
|
253
253
|
copyCreate: (input: ProjectCopyCreateInput, requestOptions?: RequestOptions) => Promise<import("./types.js").ProjectCopy>;
|
|
254
254
|
copyRemove: (input: ProjectCopyRemoveInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
@@ -811,7 +811,7 @@ export declare const makeCompat: (raw: Raw, helpers: CompatHelpers) => {
|
|
|
811
811
|
create: (input?: (import("./types.js").MobileWorktreeCreateInput & {
|
|
812
812
|
readonly directory?: string;
|
|
813
813
|
readonly workspace?: string;
|
|
814
|
-
}) | undefined, options?: import("../compat.js").CallOptions) => Promise<import("../compat.js").Result<import("./types.js").
|
|
814
|
+
}) | undefined, options?: import("../compat.js").CallOptions) => Promise<import("../compat.js").Result<import("./types.js").Worktree2>>;
|
|
815
815
|
remove: (input: import("./types.js").MobileWorktreeRemoveInput, options?: import("../compat.js").CallOptions) => Promise<import("../compat.js").Result<import("./types.js").MobileSuccess>>;
|
|
816
816
|
reset: (input: import("./types.js").MobileWorktreeResetInput, options?: import("../compat.js").CallOptions) => Promise<import("../compat.js").Result<import("./types.js").MobileSuccess>>;
|
|
817
817
|
};
|
|
@@ -889,7 +889,7 @@ export declare const makeCompat: (raw: Raw, helpers: CompatHelpers) => {
|
|
|
889
889
|
}) | undefined, options?: import("../compat.js").CallOptions) => Promise<import("../compat.js").Result<import("./types.js").ProfilePreview>>;
|
|
890
890
|
};
|
|
891
891
|
project: {
|
|
892
|
-
current: (options?: import("../compat.js").CallOptions, overrides?: import("../compat.js").CallOptions) => Promise<import("../compat.js").Result<import("./types.js").
|
|
892
|
+
current: (options?: import("../compat.js").CallOptions, overrides?: import("../compat.js").CallOptions) => Promise<import("../compat.js").Result<import("./types.js").Project2>>;
|
|
893
893
|
copy: {
|
|
894
894
|
create: (input: import("./types.js").ProjectCopyCreateInput, options?: import("../compat.js").CallOptions) => Promise<import("../compat.js").Result<import("./types.js").ProjectCopy>>;
|
|
895
895
|
refresh: (input: import("./types.js").ProjectCopyRefreshInput & {
|
|
@@ -908,7 +908,7 @@ export declare const makeCompat: (raw: Raw, helpers: CompatHelpers) => {
|
|
|
908
908
|
update: (input: import("./types.js").ProjectUpdateInput & {
|
|
909
909
|
readonly directory?: string;
|
|
910
910
|
readonly workspace?: string;
|
|
911
|
-
}, options?: import("../compat.js").CallOptions) => Promise<import("../compat.js").Result<import("./types.js").
|
|
911
|
+
}, options?: import("../compat.js").CallOptions) => Promise<import("../compat.js").Result<import("./types.js").Project2>>;
|
|
912
912
|
};
|
|
913
913
|
provider: {
|
|
914
914
|
api: {
|