@nikcli-ai/sdk 1.59.0 → 1.61.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/v2/gen/sdk.gen.d.ts +24 -24
- package/dist/v2/gen/sdk.gen.js +48 -48
- package/dist/v2/gen/types.gen.d.ts +64 -64
- package/package.json +1 -1
package/dist/v2/gen/sdk.gen.d.ts
CHANGED
|
@@ -1247,6 +1247,28 @@ export declare class Auth2 extends HeyApiClient {
|
|
|
1247
1247
|
private _token?;
|
|
1248
1248
|
get token(): Token;
|
|
1249
1249
|
}
|
|
1250
|
+
export declare class Command extends HeyApiClient {
|
|
1251
|
+
/**
|
|
1252
|
+
* List mobile commands
|
|
1253
|
+
*
|
|
1254
|
+
* Return command metadata safe for the mobile command palette and slash autocomplete.
|
|
1255
|
+
*/
|
|
1256
|
+
list<ThrowOnError extends boolean = false>(parameters?: {
|
|
1257
|
+
directory?: string;
|
|
1258
|
+
workspace?: string;
|
|
1259
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<MobileCommandListResponses, unknown, ThrowOnError, "fields">;
|
|
1260
|
+
}
|
|
1261
|
+
export declare class Project2 extends HeyApiClient {
|
|
1262
|
+
/**
|
|
1263
|
+
* List local projects for mobile
|
|
1264
|
+
*
|
|
1265
|
+
* Return local projects and sandboxes visible to the connected Nikcli host.
|
|
1266
|
+
*/
|
|
1267
|
+
list<ThrowOnError extends boolean = false>(parameters?: {
|
|
1268
|
+
directory?: string;
|
|
1269
|
+
workspace?: string;
|
|
1270
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<MobileProjectListResponses, unknown, ThrowOnError, "fields">;
|
|
1271
|
+
}
|
|
1250
1272
|
export declare class Stash extends HeyApiClient {
|
|
1251
1273
|
/**
|
|
1252
1274
|
* List prompt stash for mobile
|
|
@@ -1301,28 +1323,6 @@ export declare class Memory extends HeyApiClient {
|
|
|
1301
1323
|
private _stash?;
|
|
1302
1324
|
get stash(): Stash;
|
|
1303
1325
|
}
|
|
1304
|
-
export declare class Command extends HeyApiClient {
|
|
1305
|
-
/**
|
|
1306
|
-
* List mobile commands
|
|
1307
|
-
*
|
|
1308
|
-
* Return command metadata safe for the mobile command palette and slash autocomplete.
|
|
1309
|
-
*/
|
|
1310
|
-
list<ThrowOnError extends boolean = false>(parameters?: {
|
|
1311
|
-
directory?: string;
|
|
1312
|
-
workspace?: string;
|
|
1313
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<MobileCommandListResponses, unknown, ThrowOnError, "fields">;
|
|
1314
|
-
}
|
|
1315
|
-
export declare class Project2 extends HeyApiClient {
|
|
1316
|
-
/**
|
|
1317
|
-
* List local projects for mobile
|
|
1318
|
-
*
|
|
1319
|
-
* Return local projects and sandboxes visible to the connected Nikcli host.
|
|
1320
|
-
*/
|
|
1321
|
-
list<ThrowOnError extends boolean = false>(parameters?: {
|
|
1322
|
-
directory?: string;
|
|
1323
|
-
workspace?: string;
|
|
1324
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<MobileProjectListResponses, unknown, ThrowOnError, "fields">;
|
|
1325
|
-
}
|
|
1326
1326
|
export declare class ClientId extends HeyApiClient {
|
|
1327
1327
|
/**
|
|
1328
1328
|
* Persist GitHub OAuth client ID for mobile
|
|
@@ -2035,12 +2035,12 @@ export declare class Mobile extends HeyApiClient {
|
|
|
2035
2035
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<MobileBootstrapResponses, unknown, ThrowOnError, "fields">;
|
|
2036
2036
|
private _auth?;
|
|
2037
2037
|
get auth(): Auth2;
|
|
2038
|
-
private _memory?;
|
|
2039
|
-
get memory(): Memory;
|
|
2040
2038
|
private _command?;
|
|
2041
2039
|
get command(): Command;
|
|
2042
2040
|
private _project?;
|
|
2043
2041
|
get project(): Project2;
|
|
2042
|
+
private _memory?;
|
|
2043
|
+
get memory(): Memory;
|
|
2044
2044
|
private _github?;
|
|
2045
2045
|
get github(): Github;
|
|
2046
2046
|
private _session?;
|
package/dist/v2/gen/sdk.gen.js
CHANGED
|
@@ -2473,6 +2473,50 @@ export class Auth2 extends HeyApiClient {
|
|
|
2473
2473
|
return (this._token ??= new Token({ client: this.client }));
|
|
2474
2474
|
}
|
|
2475
2475
|
}
|
|
2476
|
+
export class Command extends HeyApiClient {
|
|
2477
|
+
/**
|
|
2478
|
+
* List mobile commands
|
|
2479
|
+
*
|
|
2480
|
+
* Return command metadata safe for the mobile command palette and slash autocomplete.
|
|
2481
|
+
*/
|
|
2482
|
+
list(parameters, options) {
|
|
2483
|
+
const params = buildClientParams([parameters], [
|
|
2484
|
+
{
|
|
2485
|
+
args: [
|
|
2486
|
+
{ in: "query", key: "directory" },
|
|
2487
|
+
{ in: "query", key: "workspace" },
|
|
2488
|
+
],
|
|
2489
|
+
},
|
|
2490
|
+
]);
|
|
2491
|
+
return (options?.client ?? this.client).get({
|
|
2492
|
+
url: "/mobile/command",
|
|
2493
|
+
...options,
|
|
2494
|
+
...params,
|
|
2495
|
+
});
|
|
2496
|
+
}
|
|
2497
|
+
}
|
|
2498
|
+
export class Project2 extends HeyApiClient {
|
|
2499
|
+
/**
|
|
2500
|
+
* List local projects for mobile
|
|
2501
|
+
*
|
|
2502
|
+
* Return local projects and sandboxes visible to the connected Nikcli host.
|
|
2503
|
+
*/
|
|
2504
|
+
list(parameters, options) {
|
|
2505
|
+
const params = buildClientParams([parameters], [
|
|
2506
|
+
{
|
|
2507
|
+
args: [
|
|
2508
|
+
{ in: "query", key: "directory" },
|
|
2509
|
+
{ in: "query", key: "workspace" },
|
|
2510
|
+
],
|
|
2511
|
+
},
|
|
2512
|
+
]);
|
|
2513
|
+
return (options?.client ?? this.client).get({
|
|
2514
|
+
url: "/mobile/project",
|
|
2515
|
+
...options,
|
|
2516
|
+
...params,
|
|
2517
|
+
});
|
|
2518
|
+
}
|
|
2519
|
+
}
|
|
2476
2520
|
export class Stash extends HeyApiClient {
|
|
2477
2521
|
/**
|
|
2478
2522
|
* List prompt stash for mobile
|
|
@@ -2589,50 +2633,6 @@ export class Memory extends HeyApiClient {
|
|
|
2589
2633
|
return (this._stash ??= new Stash({ client: this.client }));
|
|
2590
2634
|
}
|
|
2591
2635
|
}
|
|
2592
|
-
export class Command extends HeyApiClient {
|
|
2593
|
-
/**
|
|
2594
|
-
* List mobile commands
|
|
2595
|
-
*
|
|
2596
|
-
* Return command metadata safe for the mobile command palette and slash autocomplete.
|
|
2597
|
-
*/
|
|
2598
|
-
list(parameters, options) {
|
|
2599
|
-
const params = buildClientParams([parameters], [
|
|
2600
|
-
{
|
|
2601
|
-
args: [
|
|
2602
|
-
{ in: "query", key: "directory" },
|
|
2603
|
-
{ in: "query", key: "workspace" },
|
|
2604
|
-
],
|
|
2605
|
-
},
|
|
2606
|
-
]);
|
|
2607
|
-
return (options?.client ?? this.client).get({
|
|
2608
|
-
url: "/mobile/command",
|
|
2609
|
-
...options,
|
|
2610
|
-
...params,
|
|
2611
|
-
});
|
|
2612
|
-
}
|
|
2613
|
-
}
|
|
2614
|
-
export class Project2 extends HeyApiClient {
|
|
2615
|
-
/**
|
|
2616
|
-
* List local projects for mobile
|
|
2617
|
-
*
|
|
2618
|
-
* Return local projects and sandboxes visible to the connected Nikcli host.
|
|
2619
|
-
*/
|
|
2620
|
-
list(parameters, options) {
|
|
2621
|
-
const params = buildClientParams([parameters], [
|
|
2622
|
-
{
|
|
2623
|
-
args: [
|
|
2624
|
-
{ in: "query", key: "directory" },
|
|
2625
|
-
{ in: "query", key: "workspace" },
|
|
2626
|
-
],
|
|
2627
|
-
},
|
|
2628
|
-
]);
|
|
2629
|
-
return (options?.client ?? this.client).get({
|
|
2630
|
-
url: "/mobile/project",
|
|
2631
|
-
...options,
|
|
2632
|
-
...params,
|
|
2633
|
-
});
|
|
2634
|
-
}
|
|
2635
|
-
}
|
|
2636
2636
|
export class ClientId extends HeyApiClient {
|
|
2637
2637
|
/**
|
|
2638
2638
|
* Persist GitHub OAuth client ID for mobile
|
|
@@ -4200,10 +4200,6 @@ export class Mobile extends HeyApiClient {
|
|
|
4200
4200
|
get auth() {
|
|
4201
4201
|
return (this._auth ??= new Auth2({ client: this.client }));
|
|
4202
4202
|
}
|
|
4203
|
-
_memory;
|
|
4204
|
-
get memory() {
|
|
4205
|
-
return (this._memory ??= new Memory({ client: this.client }));
|
|
4206
|
-
}
|
|
4207
4203
|
_command;
|
|
4208
4204
|
get command() {
|
|
4209
4205
|
return (this._command ??= new Command({ client: this.client }));
|
|
@@ -4212,6 +4208,10 @@ export class Mobile extends HeyApiClient {
|
|
|
4212
4208
|
get project() {
|
|
4213
4209
|
return (this._project ??= new Project2({ client: this.client }));
|
|
4214
4210
|
}
|
|
4211
|
+
_memory;
|
|
4212
|
+
get memory() {
|
|
4213
|
+
return (this._memory ??= new Memory({ client: this.client }));
|
|
4214
|
+
}
|
|
4215
4215
|
_github;
|
|
4216
4216
|
get github() {
|
|
4217
4217
|
return (this._github ??= new Github({ client: this.client }));
|
|
@@ -2791,6 +2791,16 @@ export type MobileBootstrap = {
|
|
|
2791
2791
|
};
|
|
2792
2792
|
mobileProject?: MobileProjectType;
|
|
2793
2793
|
};
|
|
2794
|
+
export type MobileCommand = {
|
|
2795
|
+
name: string;
|
|
2796
|
+
description?: string;
|
|
2797
|
+
agent?: string;
|
|
2798
|
+
model?: string;
|
|
2799
|
+
mcp?: boolean;
|
|
2800
|
+
skill?: boolean;
|
|
2801
|
+
subtask?: boolean;
|
|
2802
|
+
hints: Array<string>;
|
|
2803
|
+
};
|
|
2794
2804
|
export type MobilePromptHistoryEntry = {
|
|
2795
2805
|
id: string;
|
|
2796
2806
|
input: string;
|
|
@@ -2815,16 +2825,6 @@ export type MobilePromptStashEntry = {
|
|
|
2815
2825
|
export type MobilePromptStashCreateInput = {
|
|
2816
2826
|
input: string;
|
|
2817
2827
|
};
|
|
2818
|
-
export type MobileCommand = {
|
|
2819
|
-
name: string;
|
|
2820
|
-
description?: string;
|
|
2821
|
-
agent?: string;
|
|
2822
|
-
model?: string;
|
|
2823
|
-
mcp?: boolean;
|
|
2824
|
-
skill?: boolean;
|
|
2825
|
-
subtask?: boolean;
|
|
2826
|
-
hints: Array<string>;
|
|
2827
|
-
};
|
|
2828
2828
|
export type MobileGithubBranch = {
|
|
2829
2829
|
name: string;
|
|
2830
2830
|
protected?: boolean;
|
|
@@ -6361,6 +6361,38 @@ export type MobileBootstrapResponses = {
|
|
|
6361
6361
|
200: MobileBootstrap;
|
|
6362
6362
|
};
|
|
6363
6363
|
export type MobileBootstrapResponse = MobileBootstrapResponses[keyof MobileBootstrapResponses];
|
|
6364
|
+
export type MobileCommandListData = {
|
|
6365
|
+
body?: never;
|
|
6366
|
+
path?: never;
|
|
6367
|
+
query?: {
|
|
6368
|
+
directory?: string;
|
|
6369
|
+
workspace?: string;
|
|
6370
|
+
};
|
|
6371
|
+
url: "/mobile/command";
|
|
6372
|
+
};
|
|
6373
|
+
export type MobileCommandListResponses = {
|
|
6374
|
+
/**
|
|
6375
|
+
* Commands
|
|
6376
|
+
*/
|
|
6377
|
+
200: Array<MobileCommand>;
|
|
6378
|
+
};
|
|
6379
|
+
export type MobileCommandListResponse = MobileCommandListResponses[keyof MobileCommandListResponses];
|
|
6380
|
+
export type MobileProjectListData = {
|
|
6381
|
+
body?: never;
|
|
6382
|
+
path?: never;
|
|
6383
|
+
query?: {
|
|
6384
|
+
directory?: string;
|
|
6385
|
+
workspace?: string;
|
|
6386
|
+
};
|
|
6387
|
+
url: "/mobile/project";
|
|
6388
|
+
};
|
|
6389
|
+
export type MobileProjectListResponses = {
|
|
6390
|
+
/**
|
|
6391
|
+
* Projects
|
|
6392
|
+
*/
|
|
6393
|
+
200: Array<MobileProject>;
|
|
6394
|
+
};
|
|
6395
|
+
export type MobileProjectListResponse = MobileProjectListResponses[keyof MobileProjectListResponses];
|
|
6364
6396
|
export type MobileMemoryHistoryData = {
|
|
6365
6397
|
body?: never;
|
|
6366
6398
|
path?: never;
|
|
@@ -6460,38 +6492,6 @@ export type MobileMemoryStashDeleteResponses = {
|
|
|
6460
6492
|
};
|
|
6461
6493
|
};
|
|
6462
6494
|
export type MobileMemoryStashDeleteResponse = MobileMemoryStashDeleteResponses[keyof MobileMemoryStashDeleteResponses];
|
|
6463
|
-
export type MobileCommandListData = {
|
|
6464
|
-
body?: never;
|
|
6465
|
-
path?: never;
|
|
6466
|
-
query?: {
|
|
6467
|
-
directory?: string;
|
|
6468
|
-
workspace?: string;
|
|
6469
|
-
};
|
|
6470
|
-
url: "/mobile/command";
|
|
6471
|
-
};
|
|
6472
|
-
export type MobileCommandListResponses = {
|
|
6473
|
-
/**
|
|
6474
|
-
* Commands
|
|
6475
|
-
*/
|
|
6476
|
-
200: Array<MobileCommand>;
|
|
6477
|
-
};
|
|
6478
|
-
export type MobileCommandListResponse = MobileCommandListResponses[keyof MobileCommandListResponses];
|
|
6479
|
-
export type MobileProjectListData = {
|
|
6480
|
-
body?: never;
|
|
6481
|
-
path?: never;
|
|
6482
|
-
query?: {
|
|
6483
|
-
directory?: string;
|
|
6484
|
-
workspace?: string;
|
|
6485
|
-
};
|
|
6486
|
-
url: "/mobile/project";
|
|
6487
|
-
};
|
|
6488
|
-
export type MobileProjectListResponses = {
|
|
6489
|
-
/**
|
|
6490
|
-
* Projects
|
|
6491
|
-
*/
|
|
6492
|
-
200: Array<MobileProject>;
|
|
6493
|
-
};
|
|
6494
|
-
export type MobileProjectListResponse = MobileProjectListResponses[keyof MobileProjectListResponses];
|
|
6495
6495
|
export type MobileGithubReposData = {
|
|
6496
6496
|
body?: never;
|
|
6497
6497
|
path?: never;
|
|
@@ -7094,6 +7094,28 @@ export type MobileSessionStreamResponses = {
|
|
|
7094
7094
|
*/
|
|
7095
7095
|
200: unknown;
|
|
7096
7096
|
};
|
|
7097
|
+
export type MobileSessionRenameData = {
|
|
7098
|
+
body?: {
|
|
7099
|
+
title: string;
|
|
7100
|
+
};
|
|
7101
|
+
path: {
|
|
7102
|
+
sessionID: string;
|
|
7103
|
+
};
|
|
7104
|
+
query?: {
|
|
7105
|
+
directory?: string;
|
|
7106
|
+
workspace?: string;
|
|
7107
|
+
};
|
|
7108
|
+
url: "/mobile/session/{sessionID}/rename";
|
|
7109
|
+
};
|
|
7110
|
+
export type MobileSessionRenameResponses = {
|
|
7111
|
+
/**
|
|
7112
|
+
* Session renamed
|
|
7113
|
+
*/
|
|
7114
|
+
200: {
|
|
7115
|
+
success: true;
|
|
7116
|
+
};
|
|
7117
|
+
};
|
|
7118
|
+
export type MobileSessionRenameResponse = MobileSessionRenameResponses[keyof MobileSessionRenameResponses];
|
|
7097
7119
|
export type MobileWorktreeRemoveData = {
|
|
7098
7120
|
body?: WorktreeRemoveInput;
|
|
7099
7121
|
path?: never;
|
|
@@ -7153,28 +7175,6 @@ export type MobileWorktreeResetResponses = {
|
|
|
7153
7175
|
};
|
|
7154
7176
|
};
|
|
7155
7177
|
export type MobileWorktreeResetResponse = MobileWorktreeResetResponses[keyof MobileWorktreeResetResponses];
|
|
7156
|
-
export type MobileSessionRenameData = {
|
|
7157
|
-
body?: {
|
|
7158
|
-
title: string;
|
|
7159
|
-
};
|
|
7160
|
-
path: {
|
|
7161
|
-
sessionID: string;
|
|
7162
|
-
};
|
|
7163
|
-
query?: {
|
|
7164
|
-
directory?: string;
|
|
7165
|
-
workspace?: string;
|
|
7166
|
-
};
|
|
7167
|
-
url: "/mobile/session/{sessionID}/rename";
|
|
7168
|
-
};
|
|
7169
|
-
export type MobileSessionRenameResponses = {
|
|
7170
|
-
/**
|
|
7171
|
-
* Session renamed
|
|
7172
|
-
*/
|
|
7173
|
-
200: {
|
|
7174
|
-
success: true;
|
|
7175
|
-
};
|
|
7176
|
-
};
|
|
7177
|
-
export type MobileSessionRenameResponse = MobileSessionRenameResponses[keyof MobileSessionRenameResponses];
|
|
7178
7178
|
export type MobileGitStatusData = {
|
|
7179
7179
|
body?: never;
|
|
7180
7180
|
path?: never;
|