@nikcli-ai/sdk 1.286.0 → 1.288.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 +19 -19
- package/dist/httpapi/generated/client.d.ts +19 -19
- package/dist/httpapi/generated/client.js +114 -14
- package/dist/httpapi/generated/types.d.ts +7087 -1483
- package/dist/server.d.ts +21 -21
- package/package.json +1 -1
package/dist/httpapi/compat.d.ts
CHANGED
|
@@ -299,15 +299,15 @@ export declare function compat(raw: Raw, defaults?: CompatDefaults): {
|
|
|
299
299
|
respond: (input: WithDirectory<import("./client.js").MobileQuestionRespondInput>, options?: CallOptions) => Promise<Result<import("./client.js").MobileSuccess>>;
|
|
300
300
|
};
|
|
301
301
|
routine: {
|
|
302
|
-
create: (input: WithDirectory<import("./client.js").MobileRoutineCreateInput>, options?: CallOptions) => Promise<Result<import("./
|
|
302
|
+
create: (input: WithDirectory<import("./client.js").MobileRoutineCreateInput>, options?: CallOptions) => Promise<Result<import("./generated/types.js").MobileRoutine>>;
|
|
303
303
|
delete: (input: WithDirectory<import("./client.js").MobileRoutineDeleteInput>, options?: CallOptions) => Promise<Result<import("./client.js").MobileSuccess>>;
|
|
304
|
-
get: (input: WithDirectory<import("./client.js").MobileRoutineGetInput>, options?: CallOptions) => Promise<Result<import("./
|
|
304
|
+
get: (input: WithDirectory<import("./client.js").MobileRoutineGetInput>, options?: CallOptions) => Promise<Result<import("./generated/types.js").MobileRoutine>>;
|
|
305
305
|
list: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").MobileRoutineListOutput>>;
|
|
306
|
-
pause: (input: WithDirectory<import("./client.js").MobileRoutinePauseInput>, options?: CallOptions) => Promise<Result<import("./
|
|
307
|
-
resume: (input: WithDirectory<import("./client.js").MobileRoutineResumeInput>, options?: CallOptions) => Promise<Result<import("./
|
|
308
|
-
run: (input: WithDirectory<import("./client.js").MobileRoutineRunInput>, options?: CallOptions) => Promise<Result<import("./client.js").
|
|
309
|
-
trigger: (input: WithDirectory<import("./client.js").MobileRoutineTriggerInput>, options?: CallOptions) => Promise<Result<import("./client.js").
|
|
310
|
-
update: (input: WithDirectory<import("./client.js").MobileRoutineUpdateInput>, options?: CallOptions) => Promise<Result<import("./
|
|
306
|
+
pause: (input: WithDirectory<import("./client.js").MobileRoutinePauseInput>, options?: CallOptions) => Promise<Result<import("./generated/types.js").MobileRoutine>>;
|
|
307
|
+
resume: (input: WithDirectory<import("./client.js").MobileRoutineResumeInput>, options?: CallOptions) => Promise<Result<import("./generated/types.js").MobileRoutine>>;
|
|
308
|
+
run: (input: WithDirectory<import("./client.js").MobileRoutineRunInput>, options?: CallOptions) => Promise<Result<import("./client.js").Session2>>;
|
|
309
|
+
trigger: (input: WithDirectory<import("./client.js").MobileRoutineTriggerInput>, options?: CallOptions) => Promise<Result<import("./client.js").Session2>>;
|
|
310
|
+
update: (input: WithDirectory<import("./client.js").MobileRoutineUpdateInput>, options?: CallOptions) => Promise<Result<import("./generated/types.js").MobileRoutine>>;
|
|
311
311
|
};
|
|
312
312
|
session: {
|
|
313
313
|
abort: (input: WithDirectory<import("./client.js").MobileSessionAbortInput>, options?: CallOptions) => Promise<Result<import("./client.js").MobileSuccess>>;
|
|
@@ -315,7 +315,7 @@ export declare function compat(raw: Raw, defaults?: CompatDefaults): {
|
|
|
315
315
|
command2: {
|
|
316
316
|
list: (input: WithDirectory<import("./client.js").MobileSessionCommandListInput>, options?: CallOptions) => Promise<Result<import("./client.js").MobileSessionCommandListOutput>>;
|
|
317
317
|
};
|
|
318
|
-
create: (input?: (import("./client.js").MobileSessionCreateInput & Selector) | undefined, options?: CallOptions) => Promise<Result<import("./client.js").
|
|
318
|
+
create: (input?: (import("./client.js").MobileSessionCreateInput & Selector) | undefined, options?: CallOptions) => Promise<Result<import("./client.js").Session2>>;
|
|
319
319
|
delete: (input: WithDirectory<import("./client.js").MobileSessionDeleteInput>, options?: CallOptions) => Promise<Result<import("./client.js").MobileSuccess>>;
|
|
320
320
|
detail: (input: WithDirectory<import("./client.js").MobileSessionDetailInput>, options?: CallOptions) => Promise<Result<import("./client.js").MobileSessionDetail>>;
|
|
321
321
|
diff: (input: WithDirectory<import("./client.js").MobileSessionDiffInput>, options?: CallOptions) => Promise<Result<import("./client.js").MobileSessionDiffOutput>>;
|
|
@@ -335,14 +335,14 @@ export declare function compat(raw: Raw, defaults?: CompatDefaults): {
|
|
|
335
335
|
};
|
|
336
336
|
};
|
|
337
337
|
worktree: {
|
|
338
|
-
create: (input
|
|
338
|
+
create: (input?: (import("./client.js").MobileWorktreeCreateInput & Selector) | undefined, options?: CallOptions) => Promise<Result<import("./client.js").ManagedWorktreeInfo>>;
|
|
339
339
|
remove: (input: WithDirectory<import("./client.js").MobileWorktreeRemoveInput>, options?: CallOptions) => Promise<Result<import("./client.js").MobileSuccess>>;
|
|
340
340
|
reset: (input: WithDirectory<import("./client.js").MobileWorktreeResetInput>, options?: CallOptions) => Promise<Result<import("./client.js").MobileSuccess>>;
|
|
341
341
|
};
|
|
342
342
|
};
|
|
343
343
|
part: {
|
|
344
344
|
delete: (input: WithDirectory<import("./client.js").SessionPartRemoveInput>, options?: CallOptions) => Promise<Result<boolean>>;
|
|
345
|
-
update: (input: WithDirectory<import("./client.js").SessionPartUpdateInput>, options?: CallOptions) => Promise<Result<import("./client.js").
|
|
345
|
+
update: (input: WithDirectory<import("./client.js").SessionPartUpdateInput>, options?: CallOptions) => Promise<Result<import("./client.js").Part1>>;
|
|
346
346
|
};
|
|
347
347
|
patchConfigMcpName: (input: WithDirectory<import("./client.js").ConfigManagementMcpUpdateInput>, options?: CallOptions) => Promise<Result<import("./client.js").SuccessFlag>>;
|
|
348
348
|
patchUserId: (input: WithDirectory<import("./client.js").UsersUpdateInput>, options?: CallOptions) => Promise<Result<import("./client.js").PublicUser>>;
|
|
@@ -364,7 +364,7 @@ export declare function compat(raw: Raw, defaults?: CompatDefaults): {
|
|
|
364
364
|
clearHabits: (input?: (import("./client.js").ProfileClearHabitsInput & Selector) | undefined, options?: CallOptions) => Promise<Result<import("./client.js").ProfileDeleted>>;
|
|
365
365
|
get: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").ProfileInfoOrNull>>;
|
|
366
366
|
habits: (input?: (import("./client.js").ProfileHabitsInput & Selector) | undefined, options?: CallOptions) => Promise<Result<import("./client.js").ProfileHabits>>;
|
|
367
|
-
patch: (input
|
|
367
|
+
patch: (input?: (import("./client.js").ProfilePatchInput & Selector) | undefined, options?: CallOptions) => Promise<Result<import("./client.js").ProfileInfo>>;
|
|
368
368
|
preview: (input?: (import("./client.js").ProfilePreviewInput & Selector) | undefined, options?: CallOptions) => Promise<Result<import("./client.js").ProfilePreview>>;
|
|
369
369
|
};
|
|
370
370
|
project: {
|
|
@@ -410,11 +410,11 @@ export declare function compat(raw: Raw, defaults?: CompatDefaults): {
|
|
|
410
410
|
command: (input: WithDirectory<import("./client.js").SessionCommandInput>, options?: CallOptions) => Promise<Result<import("./client.js").MessageWithParts>>;
|
|
411
411
|
context: (input: WithDirectory<import("./client.js").SessionContextBreakdownInput>, options?: CallOptions) => Promise<Result<import("./client.js").SessionContextBreakdown>>;
|
|
412
412
|
contextToggle: (input: WithDirectory<import("./client.js").SessionContextToggleInput>, options?: CallOptions) => Promise<Result<import("./client.js").SessionContextBreakdown>>;
|
|
413
|
-
create: (input?: (import("./client.js").SessionCreateInput & Selector) | undefined, options?: CallOptions) => Promise<Result<import("./client.js").
|
|
413
|
+
create: (input?: (import("./client.js").SessionCreateInput & Selector) | undefined, options?: CallOptions) => Promise<Result<import("./client.js").Session2>>;
|
|
414
414
|
delete: (input: WithDirectory<import("./client.js").SessionRemoveInput>, options?: CallOptions) => Promise<Result<boolean>>;
|
|
415
415
|
diff: (input: WithDirectory<import("./client.js").SessionDiffInput>, options?: CallOptions) => Promise<Result<import("./client.js").FileDiffList>>;
|
|
416
|
-
fork: (input: WithDirectory<import("./client.js").SessionForkInput>, options?: CallOptions) => Promise<Result<import("./client.js").
|
|
417
|
-
get: (input: WithDirectory<import("./client.js").SessionGetInput>, options?: CallOptions) => Promise<Result<import("./client.js").
|
|
416
|
+
fork: (input: WithDirectory<import("./client.js").SessionForkInput>, options?: CallOptions) => Promise<Result<import("./client.js").Session2>>;
|
|
417
|
+
get: (input: WithDirectory<import("./client.js").SessionGetInput>, options?: CallOptions) => Promise<Result<import("./client.js").Session2>>;
|
|
418
418
|
goal: (input: WithDirectory<import("./client.js").SessionGoalInput>, options?: CallOptions) => Promise<Result<import("./client.js").SessionGoalOutput2>>;
|
|
419
419
|
instructions: (input: WithDirectory<import("./client.js").SessionInstructionsInput>, options?: CallOptions) => Promise<Result<import("./client.js").SessionInstructionList>>;
|
|
420
420
|
list: (input?: import("./client.js").SessionListInput | undefined, options?: CallOptions) => Promise<Result<import("./client.js").SessionList>>;
|
|
@@ -427,15 +427,15 @@ export declare function compat(raw: Raw, defaults?: CompatDefaults): {
|
|
|
427
427
|
pendingSteer: (input: WithDirectory<import("./client.js").SessionPendingSteerInput>, options?: CallOptions) => Promise<Result<import("./client.js").SessionPendingInput2>>;
|
|
428
428
|
prompt: (input: WithDirectory<import("./client.js").SessionPromptPromptInput>, options?: CallOptions) => Promise<Result<import("./client.js").SessionPromptResponse>>;
|
|
429
429
|
promptAsync: (input: WithDirectory<import("./client.js").SessionPromptPromptAsyncInput>, options?: CallOptions) => Promise<Result<void>>;
|
|
430
|
-
revert: (input: WithDirectory<import("./client.js").SessionRevertInput>, options?: CallOptions) => Promise<Result<import("./client.js").
|
|
431
|
-
share: (input: WithDirectory<import("./client.js").SessionShareInput>, options?: CallOptions) => Promise<Result<import("./client.js").
|
|
430
|
+
revert: (input: WithDirectory<import("./client.js").SessionRevertInput>, options?: CallOptions) => Promise<Result<import("./client.js").Session2>>;
|
|
431
|
+
share: (input: WithDirectory<import("./client.js").SessionShareInput>, options?: CallOptions) => Promise<Result<import("./client.js").Session2>>;
|
|
432
432
|
shell: (input: WithDirectory<import("./client.js").SessionShellInput>, options?: CallOptions) => Promise<Result<import("./client.js").MessageWithParts>>;
|
|
433
433
|
status: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").SessionStatusMap>>;
|
|
434
434
|
summarize: (input: WithDirectory<import("./client.js").SessionSummarizeInput>, options?: CallOptions) => Promise<Result<boolean>>;
|
|
435
435
|
todo: (input: WithDirectory<import("./client.js").SessionTodoInput>, options?: CallOptions) => Promise<Result<import("./client.js").TodoList>>;
|
|
436
|
-
unrevert: (input: WithDirectory<import("./client.js").SessionUnrevertInput>, options?: CallOptions) => Promise<Result<import("./client.js").
|
|
437
|
-
unshare: (input: WithDirectory<import("./client.js").SessionUnshareInput>, options?: CallOptions) => Promise<Result<import("./client.js").
|
|
438
|
-
update: (input: WithDirectory<import("./client.js").SessionUpdateInput>, options?: CallOptions) => Promise<Result<import("./client.js").
|
|
436
|
+
unrevert: (input: WithDirectory<import("./client.js").SessionUnrevertInput>, options?: CallOptions) => Promise<Result<import("./client.js").Session2>>;
|
|
437
|
+
unshare: (input: WithDirectory<import("./client.js").SessionUnshareInput>, options?: CallOptions) => Promise<Result<import("./client.js").Session2>>;
|
|
438
|
+
update: (input: WithDirectory<import("./client.js").SessionUpdateInput>, options?: CallOptions) => Promise<Result<import("./client.js").Session2>>;
|
|
439
439
|
v2: {
|
|
440
440
|
entries: (input: WithDirectory<import("./client.js").SessionV2EntriesInput>, options?: CallOptions) => Promise<Result<import("./client.js").SessionV2EntryList>>;
|
|
441
441
|
events: (input: WithDirectory<import("./client.js").SessionV2EventsInput>, options?: CallOptions) => Promise<Result<import("./client.js").SessionV2EventList>>;
|
|
@@ -49,7 +49,7 @@ export declare function make(options: ClientOptions): {
|
|
|
49
49
|
};
|
|
50
50
|
profile: {
|
|
51
51
|
get: (requestOptions?: RequestOptions) => Promise<import("./types.js").ProfileInfoOrNull>;
|
|
52
|
-
patch: (input
|
|
52
|
+
patch: (input?: ProfilePatchInput, requestOptions?: RequestOptions) => Promise<import("./types.js").ProfileInfo>;
|
|
53
53
|
clear: (requestOptions?: RequestOptions) => Promise<import("./types.js").ProfileDeleted>;
|
|
54
54
|
habits: (input?: ProfileHabitsInput, requestOptions?: RequestOptions) => Promise<import("./types.js").ProfileHabits>;
|
|
55
55
|
preview: (input?: ProfilePreviewInput, requestOptions?: RequestOptions) => Promise<import("./types.js").ProfilePreview>;
|
|
@@ -146,7 +146,7 @@ export declare function make(options: ClientOptions): {
|
|
|
146
146
|
githubImport: (input: MobileGithubImportInput, requestOptions?: RequestOptions) => Promise<MobileGithubImportOutput>;
|
|
147
147
|
githubSessionCreate: (input: MobileGithubSessionCreateInput, requestOptions?: RequestOptions) => Promise<import("./types.js").MobileGithubSessionCreateResult>;
|
|
148
148
|
sessionList: (input?: MobileSessionListInput, requestOptions?: RequestOptions) => Promise<MobileSessionListOutput>;
|
|
149
|
-
sessionCreate: (input?: MobileSessionCreateInput, requestOptions?: RequestOptions) => Promise<import("./types.js").
|
|
149
|
+
sessionCreate: (input?: MobileSessionCreateInput, requestOptions?: RequestOptions) => Promise<import("./types.js").Session2>;
|
|
150
150
|
sessionDetail: (input: MobileSessionDetailInput, requestOptions?: RequestOptions) => Promise<import("./types.js").MobileSessionDetail>;
|
|
151
151
|
sessionDelete: (input: MobileSessionDeleteInput, requestOptions?: RequestOptions) => Promise<import("./types.js").MobileSuccess>;
|
|
152
152
|
sessionDiff: (input: MobileSessionDiffInput, requestOptions?: RequestOptions) => Promise<MobileSessionDiffOutput>;
|
|
@@ -165,7 +165,7 @@ export declare function make(options: ClientOptions): {
|
|
|
165
165
|
teleportUploadChunk: (input: MobileTeleportUploadChunkInput, requestOptions?: RequestOptions) => Promise<MobileTeleportUploadChunkOutput>;
|
|
166
166
|
teleportIn: (input: MobileTeleportInInput, requestOptions?: RequestOptions) => Promise<import("./types.js").MobileTeleportResult>;
|
|
167
167
|
teleportOut: (input: MobileTeleportOutInput, requestOptions?: RequestOptions) => Promise<import("./types.js").MobileTeleportResult>;
|
|
168
|
-
worktreeCreate: (input
|
|
168
|
+
worktreeCreate: (input?: MobileWorktreeCreateInput, requestOptions?: RequestOptions) => Promise<import("./types.js").ManagedWorktreeInfo>;
|
|
169
169
|
worktreeRemove: (input: MobileWorktreeRemoveInput, requestOptions?: RequestOptions) => Promise<import("./types.js").MobileSuccess>;
|
|
170
170
|
worktreeReset: (input: MobileWorktreeResetInput, requestOptions?: RequestOptions) => Promise<import("./types.js").MobileSuccess>;
|
|
171
171
|
gitStatus: (requestOptions?: RequestOptions) => Promise<import("./types.js").MobileGitStatus>;
|
|
@@ -194,14 +194,14 @@ export declare function make(options: ClientOptions): {
|
|
|
194
194
|
loopPause: (input: MobileLoopPauseInput, requestOptions?: RequestOptions) => Promise<import("./types.js").MobileSuccess>;
|
|
195
195
|
loopResume: (input: MobileLoopResumeInput, requestOptions?: RequestOptions) => Promise<import("./types.js").MobileSuccess>;
|
|
196
196
|
routineList: (requestOptions?: RequestOptions) => Promise<MobileRoutineListOutput>;
|
|
197
|
-
routineCreate: (input: MobileRoutineCreateInput, requestOptions?: RequestOptions) => Promise<import("./types.js").
|
|
198
|
-
routineGet: (input: MobileRoutineGetInput, requestOptions?: RequestOptions) => Promise<import("./types.js").
|
|
197
|
+
routineCreate: (input: MobileRoutineCreateInput, requestOptions?: RequestOptions) => Promise<import("./types.js").MobileRoutine>;
|
|
198
|
+
routineGet: (input: MobileRoutineGetInput, requestOptions?: RequestOptions) => Promise<import("./types.js").MobileRoutine>;
|
|
199
199
|
routineDelete: (input: MobileRoutineDeleteInput, requestOptions?: RequestOptions) => Promise<import("./types.js").MobileSuccess>;
|
|
200
|
-
routineUpdate: (input: MobileRoutineUpdateInput, requestOptions?: RequestOptions) => Promise<import("./types.js").
|
|
201
|
-
routineRun: (input: MobileRoutineRunInput, requestOptions?: RequestOptions) => Promise<import("./types.js").
|
|
202
|
-
routinePause: (input: MobileRoutinePauseInput, requestOptions?: RequestOptions) => Promise<import("./types.js").
|
|
203
|
-
routineResume: (input: MobileRoutineResumeInput, requestOptions?: RequestOptions) => Promise<import("./types.js").
|
|
204
|
-
routineTrigger: (input: MobileRoutineTriggerInput, requestOptions?: RequestOptions) => Promise<import("./types.js").
|
|
200
|
+
routineUpdate: (input: MobileRoutineUpdateInput, requestOptions?: RequestOptions) => Promise<import("./types.js").MobileRoutine>;
|
|
201
|
+
routineRun: (input: MobileRoutineRunInput, requestOptions?: RequestOptions) => Promise<import("./types.js").Session2>;
|
|
202
|
+
routinePause: (input: MobileRoutinePauseInput, requestOptions?: RequestOptions) => Promise<import("./types.js").MobileRoutine>;
|
|
203
|
+
routineResume: (input: MobileRoutineResumeInput, requestOptions?: RequestOptions) => Promise<import("./types.js").MobileRoutine>;
|
|
204
|
+
routineTrigger: (input: MobileRoutineTriggerInput, requestOptions?: RequestOptions) => Promise<import("./types.js").Session2>;
|
|
205
205
|
ptyList: (requestOptions?: RequestOptions) => Promise<MobilePtyListOutput>;
|
|
206
206
|
ptyCreate: (input?: MobilePtyCreateInput, requestOptions?: RequestOptions) => Promise<import("./types.js").Pty>;
|
|
207
207
|
ptyGet: (input: MobilePtyGetInput, requestOptions?: RequestOptions) => Promise<import("./types.js").Pty>;
|
|
@@ -259,17 +259,17 @@ export declare function make(options: ClientOptions): {
|
|
|
259
259
|
};
|
|
260
260
|
session: {
|
|
261
261
|
list: (input?: SessionListInput, requestOptions?: RequestOptions) => Promise<import("./types.js").SessionList>;
|
|
262
|
-
create: (input?: SessionCreateInput, requestOptions?: RequestOptions) => Promise<import("./types.js").
|
|
262
|
+
create: (input?: SessionCreateInput, requestOptions?: RequestOptions) => Promise<import("./types.js").Session2>;
|
|
263
263
|
status: (requestOptions?: RequestOptions) => Promise<import("./types.js").SessionStatusMap>;
|
|
264
|
-
get: (input: SessionGetInput, requestOptions?: RequestOptions) => Promise<import("./types.js").
|
|
264
|
+
get: (input: SessionGetInput, requestOptions?: RequestOptions) => Promise<import("./types.js").Session2>;
|
|
265
265
|
remove: (input: SessionRemoveInput, requestOptions?: RequestOptions) => Promise<boolean>;
|
|
266
|
-
update: (input: SessionUpdateInput, requestOptions?: RequestOptions) => Promise<import("./types.js").
|
|
267
|
-
fork: (input: SessionForkInput, requestOptions?: RequestOptions) => Promise<import("./types.js").
|
|
266
|
+
update: (input: SessionUpdateInput, requestOptions?: RequestOptions) => Promise<import("./types.js").Session2>;
|
|
267
|
+
fork: (input: SessionForkInput, requestOptions?: RequestOptions) => Promise<import("./types.js").Session2>;
|
|
268
268
|
abort: (input: SessionAbortInput, requestOptions?: RequestOptions) => Promise<boolean>;
|
|
269
|
-
revert: (input: SessionRevertInput, requestOptions?: RequestOptions) => Promise<import("./types.js").
|
|
270
|
-
unrevert: (input: SessionUnrevertInput, requestOptions?: RequestOptions) => Promise<import("./types.js").
|
|
271
|
-
share: (input: SessionShareInput, requestOptions?: RequestOptions) => Promise<import("./types.js").
|
|
272
|
-
unshare: (input: SessionUnshareInput, requestOptions?: RequestOptions) => Promise<import("./types.js").
|
|
269
|
+
revert: (input: SessionRevertInput, requestOptions?: RequestOptions) => Promise<import("./types.js").Session2>;
|
|
270
|
+
unrevert: (input: SessionUnrevertInput, requestOptions?: RequestOptions) => Promise<import("./types.js").Session2>;
|
|
271
|
+
share: (input: SessionShareInput, requestOptions?: RequestOptions) => Promise<import("./types.js").Session2>;
|
|
272
|
+
unshare: (input: SessionUnshareInput, requestOptions?: RequestOptions) => Promise<import("./types.js").Session2>;
|
|
273
273
|
summarize: (input: SessionSummarizeInput, requestOptions?: RequestOptions) => Promise<boolean>;
|
|
274
274
|
command: (input: SessionCommandInput, requestOptions?: RequestOptions) => Promise<import("./types.js").MessageWithParts>;
|
|
275
275
|
shell: (input: SessionShellInput, requestOptions?: RequestOptions) => Promise<import("./types.js").MessageWithParts>;
|
|
@@ -283,7 +283,7 @@ export declare function make(options: ClientOptions): {
|
|
|
283
283
|
message: (input: SessionMessageInput, requestOptions?: RequestOptions) => Promise<import("./types.js").MessageWithParts>;
|
|
284
284
|
messageRemove: (input: SessionMessageRemoveInput, requestOptions?: RequestOptions) => Promise<boolean>;
|
|
285
285
|
partRemove: (input: SessionPartRemoveInput, requestOptions?: RequestOptions) => Promise<boolean>;
|
|
286
|
-
partUpdate: (input: SessionPartUpdateInput, requestOptions?: RequestOptions) => Promise<import("./types.js").
|
|
286
|
+
partUpdate: (input: SessionPartUpdateInput, requestOptions?: RequestOptions) => Promise<import("./types.js").Part1>;
|
|
287
287
|
v2Entries: (input: SessionV2EntriesInput, requestOptions?: RequestOptions) => Promise<import("./types.js").SessionV2EntryList>;
|
|
288
288
|
v2State: (input: SessionV2StateInput, requestOptions?: RequestOptions) => Promise<any>;
|
|
289
289
|
v2Events: (input: SessionV2EventsInput, requestOptions?: RequestOptions) => Promise<import("./types.js").SessionV2EventList>;
|
|
@@ -255,7 +255,20 @@ export function make(options) {
|
|
|
255
255
|
patch: (input, requestOptions) => request({
|
|
256
256
|
method: "PATCH",
|
|
257
257
|
path: `/profile`,
|
|
258
|
-
body:
|
|
258
|
+
body: {
|
|
259
|
+
name: input?.["name"],
|
|
260
|
+
role: input?.["role"],
|
|
261
|
+
about: input?.["about"],
|
|
262
|
+
stack: input?.["stack"],
|
|
263
|
+
expertise: input?.["expertise"],
|
|
264
|
+
learning: input?.["learning"],
|
|
265
|
+
skills: input?.["skills"],
|
|
266
|
+
tools: input?.["tools"],
|
|
267
|
+
conventions: input?.["conventions"],
|
|
268
|
+
communication: input?.["communication"],
|
|
269
|
+
custom: input?.["custom"],
|
|
270
|
+
habits: input?.["habits"],
|
|
271
|
+
},
|
|
259
272
|
successStatus: 200,
|
|
260
273
|
declaredStatuses: [],
|
|
261
274
|
empty: false,
|
|
@@ -564,7 +577,15 @@ export function make(options) {
|
|
|
564
577
|
upsert: (input, requestOptions) => request({
|
|
565
578
|
method: "PUT",
|
|
566
579
|
path: `/mission`,
|
|
567
|
-
body:
|
|
580
|
+
body: {
|
|
581
|
+
name: input["name"],
|
|
582
|
+
brief: input["brief"],
|
|
583
|
+
milestones: input["milestones"],
|
|
584
|
+
models: input["models"],
|
|
585
|
+
timeoutMs: input["timeoutMs"],
|
|
586
|
+
sandbox: input["sandbox"],
|
|
587
|
+
worktree: input["worktree"],
|
|
588
|
+
},
|
|
568
589
|
successStatus: 200,
|
|
569
590
|
declaredStatuses: [400],
|
|
570
591
|
empty: false,
|
|
@@ -572,7 +593,17 @@ export function make(options) {
|
|
|
572
593
|
update: (input, requestOptions) => request({
|
|
573
594
|
method: "POST",
|
|
574
595
|
path: `/mission/${encodeURIComponent(input.id)}`,
|
|
575
|
-
body:
|
|
596
|
+
body: {
|
|
597
|
+
name: input["name"],
|
|
598
|
+
brief: input["brief"],
|
|
599
|
+
milestones: input["milestones"],
|
|
600
|
+
models: input["models"],
|
|
601
|
+
timeoutMs: input["timeoutMs"],
|
|
602
|
+
sandbox: input["sandbox"],
|
|
603
|
+
worktree: input["worktree"],
|
|
604
|
+
status: input["status"],
|
|
605
|
+
createdAt: input["createdAt"],
|
|
606
|
+
},
|
|
576
607
|
successStatus: 200,
|
|
577
608
|
declaredStatuses: [404, 400],
|
|
578
609
|
empty: false,
|
|
@@ -587,6 +618,7 @@ export function make(options) {
|
|
|
587
618
|
start: (input, requestOptions) => request({
|
|
588
619
|
method: "POST",
|
|
589
620
|
path: `/mission/${encodeURIComponent(input.id)}/start`,
|
|
621
|
+
body: { sessionID: input["sessionID"] },
|
|
590
622
|
successStatus: 200,
|
|
591
623
|
declaredStatuses: [404],
|
|
592
624
|
empty: false,
|
|
@@ -711,7 +743,13 @@ export function make(options) {
|
|
|
711
743
|
githubImport: (input, requestOptions) => request({
|
|
712
744
|
method: "POST",
|
|
713
745
|
path: `/mobile/github/import`,
|
|
714
|
-
body:
|
|
746
|
+
body: {
|
|
747
|
+
owner: input["owner"],
|
|
748
|
+
repo: input["repo"],
|
|
749
|
+
cloneUrl: input["cloneUrl"],
|
|
750
|
+
defaultBranch: input["defaultBranch"],
|
|
751
|
+
private: input["private"],
|
|
752
|
+
},
|
|
715
753
|
successStatus: 200,
|
|
716
754
|
declaredStatuses: [],
|
|
717
755
|
empty: false,
|
|
@@ -915,7 +953,17 @@ export function make(options) {
|
|
|
915
953
|
worktreeCreate: (input, requestOptions) => request({
|
|
916
954
|
method: "POST",
|
|
917
955
|
path: `/mobile/worktree`,
|
|
918
|
-
body:
|
|
956
|
+
body: {
|
|
957
|
+
name: input?.["name"],
|
|
958
|
+
branch: input?.["branch"],
|
|
959
|
+
branchPrefix: input?.["branchPrefix"],
|
|
960
|
+
baseBranch: input?.["baseBranch"],
|
|
961
|
+
remote: input?.["remote"],
|
|
962
|
+
startCommand: input?.["startCommand"],
|
|
963
|
+
detached: input?.["detached"],
|
|
964
|
+
sourceDirectory: input?.["sourceDirectory"],
|
|
965
|
+
root: input?.["root"],
|
|
966
|
+
},
|
|
919
967
|
successStatus: 200,
|
|
920
968
|
declaredStatuses: [],
|
|
921
969
|
empty: false,
|
|
@@ -923,7 +971,7 @@ export function make(options) {
|
|
|
923
971
|
worktreeRemove: (input, requestOptions) => request({
|
|
924
972
|
method: "DELETE",
|
|
925
973
|
path: `/mobile/worktree`,
|
|
926
|
-
body: input["
|
|
974
|
+
body: { directory: input["directory"], force: input["force"] },
|
|
927
975
|
successStatus: 200,
|
|
928
976
|
declaredStatuses: [],
|
|
929
977
|
empty: false,
|
|
@@ -931,7 +979,7 @@ export function make(options) {
|
|
|
931
979
|
worktreeReset: (input, requestOptions) => request({
|
|
932
980
|
method: "POST",
|
|
933
981
|
path: `/mobile/worktree/reset`,
|
|
934
|
-
body: input["
|
|
982
|
+
body: { directory: input["directory"] },
|
|
935
983
|
successStatus: 200,
|
|
936
984
|
declaredStatuses: [],
|
|
937
985
|
empty: false,
|
|
@@ -1012,7 +1060,18 @@ export function make(options) {
|
|
|
1012
1060
|
loopCreate: (input, requestOptions) => request({
|
|
1013
1061
|
method: "POST",
|
|
1014
1062
|
path: `/mobile/loops`,
|
|
1015
|
-
body:
|
|
1063
|
+
body: {
|
|
1064
|
+
name: input["name"],
|
|
1065
|
+
stages: input["stages"],
|
|
1066
|
+
trigger: input["trigger"],
|
|
1067
|
+
maxRuns: input["maxRuns"],
|
|
1068
|
+
timeoutMs: input["timeoutMs"],
|
|
1069
|
+
createPR: input["createPR"],
|
|
1070
|
+
sandbox: input["sandbox"],
|
|
1071
|
+
worktree: input["worktree"],
|
|
1072
|
+
paused: input["paused"],
|
|
1073
|
+
enabled: input["enabled"],
|
|
1074
|
+
},
|
|
1016
1075
|
successStatus: 200,
|
|
1017
1076
|
declaredStatuses: [],
|
|
1018
1077
|
empty: false,
|
|
@@ -1021,7 +1080,7 @@ export function make(options) {
|
|
|
1021
1080
|
loopGenerate: (input, requestOptions) => request({
|
|
1022
1081
|
method: "POST",
|
|
1023
1082
|
path: `/mobile/loops/generate`,
|
|
1024
|
-
body: { description: input["description"], model: input["model"] },
|
|
1083
|
+
body: { description: input["description"], model: input["model"], agent: input["agent"] },
|
|
1025
1084
|
successStatus: 200,
|
|
1026
1085
|
declaredStatuses: [],
|
|
1027
1086
|
empty: false,
|
|
@@ -1051,7 +1110,18 @@ export function make(options) {
|
|
|
1051
1110
|
loopUpdate: (input, requestOptions) => request({
|
|
1052
1111
|
method: "PATCH",
|
|
1053
1112
|
path: `/mobile/loops/${encodeURIComponent(input.id)}`,
|
|
1054
|
-
body:
|
|
1113
|
+
body: {
|
|
1114
|
+
name: input["name"],
|
|
1115
|
+
stages: input["stages"],
|
|
1116
|
+
trigger: input["trigger"],
|
|
1117
|
+
maxRuns: input["maxRuns"],
|
|
1118
|
+
timeoutMs: input["timeoutMs"],
|
|
1119
|
+
createPR: input["createPR"],
|
|
1120
|
+
sandbox: input["sandbox"],
|
|
1121
|
+
worktree: input["worktree"],
|
|
1122
|
+
paused: input["paused"],
|
|
1123
|
+
enabled: input["enabled"],
|
|
1124
|
+
},
|
|
1055
1125
|
successStatus: 200,
|
|
1056
1126
|
declaredStatuses: [],
|
|
1057
1127
|
empty: false,
|
|
@@ -1104,7 +1174,7 @@ export function make(options) {
|
|
|
1104
1174
|
routineCreate: (input, requestOptions) => request({
|
|
1105
1175
|
method: "POST",
|
|
1106
1176
|
path: `/mobile/routines`,
|
|
1107
|
-
body: input["
|
|
1177
|
+
body: { name: input["name"], prompt: input["prompt"], triggers: input["triggers"], model: input["model"] },
|
|
1108
1178
|
successStatus: 200,
|
|
1109
1179
|
declaredStatuses: [],
|
|
1110
1180
|
empty: false,
|
|
@@ -1126,7 +1196,13 @@ export function make(options) {
|
|
|
1126
1196
|
routineUpdate: (input, requestOptions) => request({
|
|
1127
1197
|
method: "PATCH",
|
|
1128
1198
|
path: `/mobile/routines/${encodeURIComponent(input.id)}`,
|
|
1129
|
-
body:
|
|
1199
|
+
body: {
|
|
1200
|
+
name: input["name"],
|
|
1201
|
+
prompt: input["prompt"],
|
|
1202
|
+
triggers: input["triggers"],
|
|
1203
|
+
model: input["model"],
|
|
1204
|
+
paused: input["paused"],
|
|
1205
|
+
},
|
|
1130
1206
|
successStatus: 200,
|
|
1131
1207
|
declaredStatuses: [],
|
|
1132
1208
|
empty: false,
|
|
@@ -1373,7 +1449,18 @@ export function make(options) {
|
|
|
1373
1449
|
upsert: (input, requestOptions) => request({
|
|
1374
1450
|
method: "PUT",
|
|
1375
1451
|
path: `/loop`,
|
|
1376
|
-
body:
|
|
1452
|
+
body: {
|
|
1453
|
+
name: input["name"],
|
|
1454
|
+
stages: input["stages"],
|
|
1455
|
+
trigger: input["trigger"],
|
|
1456
|
+
maxRuns: input["maxRuns"],
|
|
1457
|
+
timeoutMs: input["timeoutMs"],
|
|
1458
|
+
createPR: input["createPR"],
|
|
1459
|
+
sandbox: input["sandbox"],
|
|
1460
|
+
worktree: input["worktree"],
|
|
1461
|
+
paused: input["paused"],
|
|
1462
|
+
enabled: input["enabled"],
|
|
1463
|
+
},
|
|
1377
1464
|
successStatus: 200,
|
|
1378
1465
|
declaredStatuses: [400],
|
|
1379
1466
|
empty: false,
|
|
@@ -1381,7 +1468,19 @@ export function make(options) {
|
|
|
1381
1468
|
update: (input, requestOptions) => request({
|
|
1382
1469
|
method: "POST",
|
|
1383
1470
|
path: `/loop/${encodeURIComponent(input.id)}`,
|
|
1384
|
-
body:
|
|
1471
|
+
body: {
|
|
1472
|
+
name: input["name"],
|
|
1473
|
+
stages: input["stages"],
|
|
1474
|
+
trigger: input["trigger"],
|
|
1475
|
+
maxRuns: input["maxRuns"],
|
|
1476
|
+
timeoutMs: input["timeoutMs"],
|
|
1477
|
+
createPR: input["createPR"],
|
|
1478
|
+
sandbox: input["sandbox"],
|
|
1479
|
+
worktree: input["worktree"],
|
|
1480
|
+
paused: input["paused"],
|
|
1481
|
+
enabled: input["enabled"],
|
|
1482
|
+
createdAt: input["createdAt"],
|
|
1483
|
+
},
|
|
1385
1484
|
successStatus: 200,
|
|
1386
1485
|
declaredStatuses: [404, 400],
|
|
1387
1486
|
empty: false,
|
|
@@ -1404,6 +1503,7 @@ export function make(options) {
|
|
|
1404
1503
|
run: (input, requestOptions) => request({
|
|
1405
1504
|
method: "POST",
|
|
1406
1505
|
path: `/loop/${encodeURIComponent(input.id)}/run`,
|
|
1506
|
+
body: { sessionID: input["sessionID"] },
|
|
1407
1507
|
successStatus: 200,
|
|
1408
1508
|
declaredStatuses: [404],
|
|
1409
1509
|
empty: false,
|