@nikcli-ai/sdk 1.74.0 → 1.75.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 +220 -25
- package/dist/v2/gen/sdk.gen.js +378 -48
- package/dist/v2/gen/types.gen.d.ts +562 -65
- package/package.json +1 -1
|
@@ -971,6 +971,68 @@ export type EventLoopAborted = {
|
|
|
971
971
|
reason: string;
|
|
972
972
|
};
|
|
973
973
|
};
|
|
974
|
+
export type EventMissionUpserted = {
|
|
975
|
+
type: "mission.upserted";
|
|
976
|
+
properties: {
|
|
977
|
+
missionID: string;
|
|
978
|
+
};
|
|
979
|
+
};
|
|
980
|
+
export type EventMissionRemoved = {
|
|
981
|
+
type: "mission.removed";
|
|
982
|
+
properties: {
|
|
983
|
+
missionID: string;
|
|
984
|
+
};
|
|
985
|
+
};
|
|
986
|
+
export type EventMissionStarted = {
|
|
987
|
+
type: "mission.started";
|
|
988
|
+
properties: {
|
|
989
|
+
missionID: string;
|
|
990
|
+
};
|
|
991
|
+
};
|
|
992
|
+
export type EventMissionFinished = {
|
|
993
|
+
type: "mission.finished";
|
|
994
|
+
properties: {
|
|
995
|
+
missionID: string;
|
|
996
|
+
status: "complete" | "error" | "paused" | "frozen";
|
|
997
|
+
error?: string;
|
|
998
|
+
};
|
|
999
|
+
};
|
|
1000
|
+
export type EventMissionExecStarted = {
|
|
1001
|
+
type: "mission.exec.started";
|
|
1002
|
+
properties: {
|
|
1003
|
+
missionID: string;
|
|
1004
|
+
execID: string;
|
|
1005
|
+
kind: "feature" | "validation";
|
|
1006
|
+
targetID: string;
|
|
1007
|
+
targetName: string;
|
|
1008
|
+
sessionID: string;
|
|
1009
|
+
};
|
|
1010
|
+
};
|
|
1011
|
+
export type EventMissionExecFinished = {
|
|
1012
|
+
type: "mission.exec.finished";
|
|
1013
|
+
properties: {
|
|
1014
|
+
missionID: string;
|
|
1015
|
+
execID: string;
|
|
1016
|
+
kind: "feature" | "validation";
|
|
1017
|
+
targetID: string;
|
|
1018
|
+
status: "running" | "complete" | "error" | "timeout" | "cancelled" | "orphaned";
|
|
1019
|
+
ok: boolean;
|
|
1020
|
+
error?: string;
|
|
1021
|
+
};
|
|
1022
|
+
};
|
|
1023
|
+
export type EventMissionRuntimeChanged = {
|
|
1024
|
+
type: "mission.runtime.changed";
|
|
1025
|
+
properties: {
|
|
1026
|
+
missionID: string;
|
|
1027
|
+
};
|
|
1028
|
+
};
|
|
1029
|
+
export type EventMissionAborted = {
|
|
1030
|
+
type: "mission.aborted";
|
|
1031
|
+
properties: {
|
|
1032
|
+
missionID: string;
|
|
1033
|
+
reason: string;
|
|
1034
|
+
};
|
|
1035
|
+
};
|
|
974
1036
|
export type EventSessionV2Updated = {
|
|
975
1037
|
type: "session.v2.updated";
|
|
976
1038
|
properties: {
|
|
@@ -1011,7 +1073,7 @@ export type EventPtyDeleted = {
|
|
|
1011
1073
|
id: string;
|
|
1012
1074
|
};
|
|
1013
1075
|
};
|
|
1014
|
-
export type Event = EventProjectUpdated | EventTelemetryRecord | EventServerInstanceDisposed | EventInstallationUpdated | EventInstallationUpdateAvailable | EventServerConnected | EventGlobalDisposed | EventLspClientDiagnostics | EventLspUpdated | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventPermissionAsked | EventPermissionReplied | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventSessionDiff | EventSessionError | EventFileEdited | EventFileWatcherUpdated | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow | EventTuiSessionSelect | EventMcpToolsChanged | EventMcpBrowserOpenFailed | EventCommandExecuted | EventVcsBranchUpdated | EventTodoUpdated | EventSessionStatus | EventSessionIdle | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventSessionCompacted | EventMonitorCreated | EventMonitorUpdated | EventMonitorOutput | EventMonitorCompleted | EventWorkspaceReady | EventWorkspaceFailed | EventWorkspaceStatus | EventDelegationCompleted | EventLoopUpserted | EventLoopRemoved | EventLoopRunStarted | EventLoopRunFinished | EventLoopRuntimeChanged | EventLoopAborted | EventSessionV2Updated | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted;
|
|
1076
|
+
export type Event = EventProjectUpdated | EventTelemetryRecord | EventServerInstanceDisposed | EventInstallationUpdated | EventInstallationUpdateAvailable | EventServerConnected | EventGlobalDisposed | EventLspClientDiagnostics | EventLspUpdated | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventPermissionAsked | EventPermissionReplied | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventSessionDiff | EventSessionError | EventFileEdited | EventFileWatcherUpdated | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow | EventTuiSessionSelect | EventMcpToolsChanged | EventMcpBrowserOpenFailed | EventCommandExecuted | EventVcsBranchUpdated | EventTodoUpdated | EventSessionStatus | EventSessionIdle | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventSessionCompacted | EventMonitorCreated | EventMonitorUpdated | EventMonitorOutput | EventMonitorCompleted | EventWorkspaceReady | EventWorkspaceFailed | EventWorkspaceStatus | EventDelegationCompleted | EventLoopUpserted | EventLoopRemoved | EventLoopRunStarted | EventLoopRunFinished | EventLoopRuntimeChanged | EventLoopAborted | EventMissionUpserted | EventMissionRemoved | EventMissionStarted | EventMissionFinished | EventMissionExecStarted | EventMissionExecFinished | EventMissionRuntimeChanged | EventMissionAborted | EventSessionV2Updated | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted;
|
|
1015
1077
|
export type GlobalEvent = {
|
|
1016
1078
|
directory: string;
|
|
1017
1079
|
payload: Event;
|
|
@@ -1086,6 +1148,66 @@ export type LoopRun = {
|
|
|
1086
1148
|
error?: string;
|
|
1087
1149
|
sessionID?: string;
|
|
1088
1150
|
};
|
|
1151
|
+
export type MissionDefinition = {
|
|
1152
|
+
id: string;
|
|
1153
|
+
name: string;
|
|
1154
|
+
brief: string;
|
|
1155
|
+
milestones: Array<{
|
|
1156
|
+
id: string;
|
|
1157
|
+
name: string;
|
|
1158
|
+
features: Array<{
|
|
1159
|
+
id: string;
|
|
1160
|
+
name: string;
|
|
1161
|
+
objective: string;
|
|
1162
|
+
agent: string;
|
|
1163
|
+
model?: string;
|
|
1164
|
+
tokenBudget?: number;
|
|
1165
|
+
dependsOn?: Array<string>;
|
|
1166
|
+
status?: "pending" | "running" | "done" | "blocked" | "skipped" | "error";
|
|
1167
|
+
error?: string;
|
|
1168
|
+
}>;
|
|
1169
|
+
validation?: "scrutiny" | "user-test" | "none";
|
|
1170
|
+
status?: "pending" | "running" | "validating" | "done" | "blocked";
|
|
1171
|
+
}>;
|
|
1172
|
+
models?: {
|
|
1173
|
+
worker?: string;
|
|
1174
|
+
validation?: string;
|
|
1175
|
+
orchestrator?: string;
|
|
1176
|
+
};
|
|
1177
|
+
timeoutMs?: number;
|
|
1178
|
+
status?: "planning" | "ready" | "running" | "paused" | "frozen" | "complete" | "error";
|
|
1179
|
+
createdAt: number;
|
|
1180
|
+
};
|
|
1181
|
+
export type MissionRuntime = {
|
|
1182
|
+
missionID: string;
|
|
1183
|
+
status: "idle" | "running" | "paused" | "error" | "cancelling";
|
|
1184
|
+
sessionID?: string;
|
|
1185
|
+
currentMilestoneID?: string;
|
|
1186
|
+
currentFeatureID?: string;
|
|
1187
|
+
doneFeatures: number;
|
|
1188
|
+
totalFeatures: number;
|
|
1189
|
+
lastError?: string;
|
|
1190
|
+
lastRunAt?: number;
|
|
1191
|
+
};
|
|
1192
|
+
export type MissionTemplate = {
|
|
1193
|
+
id: string;
|
|
1194
|
+
title: string;
|
|
1195
|
+
description: string;
|
|
1196
|
+
brief: string;
|
|
1197
|
+
};
|
|
1198
|
+
export type MissionExec = {
|
|
1199
|
+
id: string;
|
|
1200
|
+
missionID: string;
|
|
1201
|
+
kind: "feature" | "validation";
|
|
1202
|
+
targetID: string;
|
|
1203
|
+
targetName: string;
|
|
1204
|
+
startedAt: number;
|
|
1205
|
+
endedAt?: number;
|
|
1206
|
+
status: "running" | "complete" | "error" | "timeout" | "cancelled" | "orphaned";
|
|
1207
|
+
ok: boolean;
|
|
1208
|
+
error?: string;
|
|
1209
|
+
sessionID?: string;
|
|
1210
|
+
};
|
|
1089
1211
|
/**
|
|
1090
1212
|
* Custom keybind configurations
|
|
1091
1213
|
*/
|
|
@@ -3066,16 +3188,6 @@ export type MobileBootstrap = {
|
|
|
3066
3188
|
};
|
|
3067
3189
|
mobileProject?: MobileProjectType;
|
|
3068
3190
|
};
|
|
3069
|
-
export type MobileCommand = {
|
|
3070
|
-
name: string;
|
|
3071
|
-
description?: string;
|
|
3072
|
-
agent?: string;
|
|
3073
|
-
model?: string;
|
|
3074
|
-
mcp?: boolean;
|
|
3075
|
-
skill?: boolean;
|
|
3076
|
-
subtask?: boolean;
|
|
3077
|
-
hints: Array<string>;
|
|
3078
|
-
};
|
|
3079
3191
|
export type MobilePromptHistoryEntry = {
|
|
3080
3192
|
id: string;
|
|
3081
3193
|
input: string;
|
|
@@ -3100,6 +3212,16 @@ export type MobilePromptStashEntry = {
|
|
|
3100
3212
|
export type MobilePromptStashCreateInput = {
|
|
3101
3213
|
input: string;
|
|
3102
3214
|
};
|
|
3215
|
+
export type MobileCommand = {
|
|
3216
|
+
name: string;
|
|
3217
|
+
description?: string;
|
|
3218
|
+
agent?: string;
|
|
3219
|
+
model?: string;
|
|
3220
|
+
mcp?: boolean;
|
|
3221
|
+
skill?: boolean;
|
|
3222
|
+
subtask?: boolean;
|
|
3223
|
+
hints: Array<string>;
|
|
3224
|
+
};
|
|
3103
3225
|
export type MobileGithubBranch = {
|
|
3104
3226
|
name: string;
|
|
3105
3227
|
protected?: boolean;
|
|
@@ -4027,6 +4149,381 @@ export type LoopRecentRunsResponses = {
|
|
|
4027
4149
|
};
|
|
4028
4150
|
};
|
|
4029
4151
|
export type LoopRecentRunsResponse = LoopRecentRunsResponses[keyof LoopRecentRunsResponses];
|
|
4152
|
+
export type MissionListData = {
|
|
4153
|
+
body?: never;
|
|
4154
|
+
path?: never;
|
|
4155
|
+
query?: {
|
|
4156
|
+
directory?: string;
|
|
4157
|
+
workspace?: string;
|
|
4158
|
+
};
|
|
4159
|
+
url: "/mission";
|
|
4160
|
+
};
|
|
4161
|
+
export type MissionListResponses = {
|
|
4162
|
+
/**
|
|
4163
|
+
* All missions with runtime status
|
|
4164
|
+
*/
|
|
4165
|
+
200: {
|
|
4166
|
+
missions: Array<MissionDefinition>;
|
|
4167
|
+
runtimes: Array<MissionRuntime>;
|
|
4168
|
+
};
|
|
4169
|
+
};
|
|
4170
|
+
export type MissionListResponse = MissionListResponses[keyof MissionListResponses];
|
|
4171
|
+
export type MissionUpsertData = {
|
|
4172
|
+
body?: {
|
|
4173
|
+
name: string;
|
|
4174
|
+
brief: string;
|
|
4175
|
+
milestones: Array<{
|
|
4176
|
+
id: string;
|
|
4177
|
+
name: string;
|
|
4178
|
+
features: Array<{
|
|
4179
|
+
id: string;
|
|
4180
|
+
name: string;
|
|
4181
|
+
objective: string;
|
|
4182
|
+
agent: string;
|
|
4183
|
+
model?: string;
|
|
4184
|
+
tokenBudget?: number;
|
|
4185
|
+
dependsOn?: Array<string>;
|
|
4186
|
+
status?: "pending" | "running" | "done" | "blocked" | "skipped" | "error";
|
|
4187
|
+
error?: string;
|
|
4188
|
+
}>;
|
|
4189
|
+
validation?: "scrutiny" | "user-test" | "none";
|
|
4190
|
+
status?: "pending" | "running" | "validating" | "done" | "blocked";
|
|
4191
|
+
}>;
|
|
4192
|
+
models?: {
|
|
4193
|
+
worker?: string;
|
|
4194
|
+
validation?: string;
|
|
4195
|
+
orchestrator?: string;
|
|
4196
|
+
};
|
|
4197
|
+
timeoutMs?: number;
|
|
4198
|
+
};
|
|
4199
|
+
path?: never;
|
|
4200
|
+
query?: {
|
|
4201
|
+
directory?: string;
|
|
4202
|
+
workspace?: string;
|
|
4203
|
+
};
|
|
4204
|
+
url: "/mission";
|
|
4205
|
+
};
|
|
4206
|
+
export type MissionUpsertErrors = {
|
|
4207
|
+
/**
|
|
4208
|
+
* Bad request
|
|
4209
|
+
*/
|
|
4210
|
+
400: BadRequestError;
|
|
4211
|
+
};
|
|
4212
|
+
export type MissionUpsertError = MissionUpsertErrors[keyof MissionUpsertErrors];
|
|
4213
|
+
export type MissionUpsertResponses = {
|
|
4214
|
+
/**
|
|
4215
|
+
* Persisted mission
|
|
4216
|
+
*/
|
|
4217
|
+
200: MissionDefinition;
|
|
4218
|
+
};
|
|
4219
|
+
export type MissionUpsertResponse = MissionUpsertResponses[keyof MissionUpsertResponses];
|
|
4220
|
+
export type MissionTemplatesData = {
|
|
4221
|
+
body?: never;
|
|
4222
|
+
path?: never;
|
|
4223
|
+
query?: {
|
|
4224
|
+
directory?: string;
|
|
4225
|
+
workspace?: string;
|
|
4226
|
+
};
|
|
4227
|
+
url: "/mission/templates";
|
|
4228
|
+
};
|
|
4229
|
+
export type MissionTemplatesResponses = {
|
|
4230
|
+
/**
|
|
4231
|
+
* Templates
|
|
4232
|
+
*/
|
|
4233
|
+
200: {
|
|
4234
|
+
templates: Array<MissionTemplate>;
|
|
4235
|
+
};
|
|
4236
|
+
};
|
|
4237
|
+
export type MissionTemplatesResponse = MissionTemplatesResponses[keyof MissionTemplatesResponses];
|
|
4238
|
+
export type MissionGenerateData = {
|
|
4239
|
+
body?: {
|
|
4240
|
+
/**
|
|
4241
|
+
* Natural-language description of the mission
|
|
4242
|
+
*/
|
|
4243
|
+
description: string;
|
|
4244
|
+
/**
|
|
4245
|
+
* Optional model override (providerID/modelID)
|
|
4246
|
+
*/
|
|
4247
|
+
model?: string;
|
|
4248
|
+
/**
|
|
4249
|
+
* Default agent if the model doesn't pick one
|
|
4250
|
+
*/
|
|
4251
|
+
agent?: string;
|
|
4252
|
+
};
|
|
4253
|
+
path?: never;
|
|
4254
|
+
query?: {
|
|
4255
|
+
directory?: string;
|
|
4256
|
+
workspace?: string;
|
|
4257
|
+
};
|
|
4258
|
+
url: "/mission/generate";
|
|
4259
|
+
};
|
|
4260
|
+
export type MissionGenerateErrors = {
|
|
4261
|
+
/**
|
|
4262
|
+
* Bad request
|
|
4263
|
+
*/
|
|
4264
|
+
400: BadRequestError;
|
|
4265
|
+
/**
|
|
4266
|
+
* Not found
|
|
4267
|
+
*/
|
|
4268
|
+
404: NotFoundError;
|
|
4269
|
+
};
|
|
4270
|
+
export type MissionGenerateError = MissionGenerateErrors[keyof MissionGenerateErrors];
|
|
4271
|
+
export type MissionGenerateResponses = {
|
|
4272
|
+
/**
|
|
4273
|
+
* Generated mission definition
|
|
4274
|
+
*/
|
|
4275
|
+
200: MissionDefinition;
|
|
4276
|
+
};
|
|
4277
|
+
export type MissionGenerateResponse = MissionGenerateResponses[keyof MissionGenerateResponses];
|
|
4278
|
+
export type MissionDeleteData = {
|
|
4279
|
+
body?: never;
|
|
4280
|
+
path: {
|
|
4281
|
+
id: string;
|
|
4282
|
+
};
|
|
4283
|
+
query?: {
|
|
4284
|
+
directory?: string;
|
|
4285
|
+
workspace?: string;
|
|
4286
|
+
};
|
|
4287
|
+
url: "/mission/{id}";
|
|
4288
|
+
};
|
|
4289
|
+
export type MissionDeleteErrors = {
|
|
4290
|
+
/**
|
|
4291
|
+
* Mission not found
|
|
4292
|
+
*/
|
|
4293
|
+
404: unknown;
|
|
4294
|
+
};
|
|
4295
|
+
export type MissionDeleteResponses = {
|
|
4296
|
+
/**
|
|
4297
|
+
* Deleted
|
|
4298
|
+
*/
|
|
4299
|
+
200: unknown;
|
|
4300
|
+
};
|
|
4301
|
+
export type MissionGetData = {
|
|
4302
|
+
body?: never;
|
|
4303
|
+
path: {
|
|
4304
|
+
id: string;
|
|
4305
|
+
};
|
|
4306
|
+
query?: {
|
|
4307
|
+
directory?: string;
|
|
4308
|
+
workspace?: string;
|
|
4309
|
+
};
|
|
4310
|
+
url: "/mission/{id}";
|
|
4311
|
+
};
|
|
4312
|
+
export type MissionGetErrors = {
|
|
4313
|
+
/**
|
|
4314
|
+
* Mission not found
|
|
4315
|
+
*/
|
|
4316
|
+
404: unknown;
|
|
4317
|
+
};
|
|
4318
|
+
export type MissionGetResponses = {
|
|
4319
|
+
/**
|
|
4320
|
+
* The mission
|
|
4321
|
+
*/
|
|
4322
|
+
200: {
|
|
4323
|
+
mission: MissionDefinition;
|
|
4324
|
+
runtime: MissionRuntime;
|
|
4325
|
+
};
|
|
4326
|
+
};
|
|
4327
|
+
export type MissionGetResponse = MissionGetResponses[keyof MissionGetResponses];
|
|
4328
|
+
export type MissionUpdateData = {
|
|
4329
|
+
body?: {
|
|
4330
|
+
id: string;
|
|
4331
|
+
name: string;
|
|
4332
|
+
brief: string;
|
|
4333
|
+
milestones: Array<{
|
|
4334
|
+
id: string;
|
|
4335
|
+
name: string;
|
|
4336
|
+
features: Array<{
|
|
4337
|
+
id: string;
|
|
4338
|
+
name: string;
|
|
4339
|
+
objective: string;
|
|
4340
|
+
agent: string;
|
|
4341
|
+
model?: string;
|
|
4342
|
+
tokenBudget?: number;
|
|
4343
|
+
dependsOn?: Array<string>;
|
|
4344
|
+
status?: "pending" | "running" | "done" | "blocked" | "skipped" | "error";
|
|
4345
|
+
error?: string;
|
|
4346
|
+
}>;
|
|
4347
|
+
validation?: "scrutiny" | "user-test" | "none";
|
|
4348
|
+
status?: "pending" | "running" | "validating" | "done" | "blocked";
|
|
4349
|
+
}>;
|
|
4350
|
+
models?: {
|
|
4351
|
+
worker?: string;
|
|
4352
|
+
validation?: string;
|
|
4353
|
+
orchestrator?: string;
|
|
4354
|
+
};
|
|
4355
|
+
timeoutMs?: number;
|
|
4356
|
+
status?: "planning" | "ready" | "running" | "paused" | "frozen" | "complete" | "error";
|
|
4357
|
+
createdAt: number;
|
|
4358
|
+
};
|
|
4359
|
+
path: {
|
|
4360
|
+
id: string;
|
|
4361
|
+
};
|
|
4362
|
+
query?: {
|
|
4363
|
+
directory?: string;
|
|
4364
|
+
workspace?: string;
|
|
4365
|
+
};
|
|
4366
|
+
url: "/mission/{id}";
|
|
4367
|
+
};
|
|
4368
|
+
export type MissionUpdateErrors = {
|
|
4369
|
+
/**
|
|
4370
|
+
* Bad request
|
|
4371
|
+
*/
|
|
4372
|
+
400: BadRequestError;
|
|
4373
|
+
/**
|
|
4374
|
+
* Not found
|
|
4375
|
+
*/
|
|
4376
|
+
404: NotFoundError;
|
|
4377
|
+
};
|
|
4378
|
+
export type MissionUpdateError = MissionUpdateErrors[keyof MissionUpdateErrors];
|
|
4379
|
+
export type MissionUpdateResponses = {
|
|
4380
|
+
/**
|
|
4381
|
+
* Updated mission
|
|
4382
|
+
*/
|
|
4383
|
+
200: MissionDefinition;
|
|
4384
|
+
};
|
|
4385
|
+
export type MissionUpdateResponse = MissionUpdateResponses[keyof MissionUpdateResponses];
|
|
4386
|
+
export type MissionStartData = {
|
|
4387
|
+
body?: never;
|
|
4388
|
+
path: {
|
|
4389
|
+
id: string;
|
|
4390
|
+
};
|
|
4391
|
+
query?: {
|
|
4392
|
+
directory?: string;
|
|
4393
|
+
workspace?: string;
|
|
4394
|
+
};
|
|
4395
|
+
url: "/mission/{id}/start";
|
|
4396
|
+
};
|
|
4397
|
+
export type MissionStartErrors = {
|
|
4398
|
+
/**
|
|
4399
|
+
* Mission not found
|
|
4400
|
+
*/
|
|
4401
|
+
404: unknown;
|
|
4402
|
+
};
|
|
4403
|
+
export type MissionStartResponses = {
|
|
4404
|
+
/**
|
|
4405
|
+
* Orchestration started
|
|
4406
|
+
*/
|
|
4407
|
+
200: unknown;
|
|
4408
|
+
};
|
|
4409
|
+
export type MissionPauseData = {
|
|
4410
|
+
body?: never;
|
|
4411
|
+
path: {
|
|
4412
|
+
id: string;
|
|
4413
|
+
};
|
|
4414
|
+
query?: {
|
|
4415
|
+
directory?: string;
|
|
4416
|
+
workspace?: string;
|
|
4417
|
+
};
|
|
4418
|
+
url: "/mission/{id}/pause";
|
|
4419
|
+
};
|
|
4420
|
+
export type MissionPauseErrors = {
|
|
4421
|
+
/**
|
|
4422
|
+
* Mission not found
|
|
4423
|
+
*/
|
|
4424
|
+
404: unknown;
|
|
4425
|
+
};
|
|
4426
|
+
export type MissionPauseResponses = {
|
|
4427
|
+
/**
|
|
4428
|
+
* Paused
|
|
4429
|
+
*/
|
|
4430
|
+
200: unknown;
|
|
4431
|
+
};
|
|
4432
|
+
export type MissionCancelData = {
|
|
4433
|
+
body?: never;
|
|
4434
|
+
path: {
|
|
4435
|
+
id: string;
|
|
4436
|
+
};
|
|
4437
|
+
query?: {
|
|
4438
|
+
directory?: string;
|
|
4439
|
+
workspace?: string;
|
|
4440
|
+
};
|
|
4441
|
+
url: "/mission/{id}/cancel";
|
|
4442
|
+
};
|
|
4443
|
+
export type MissionCancelErrors = {
|
|
4444
|
+
/**
|
|
4445
|
+
* Mission not found
|
|
4446
|
+
*/
|
|
4447
|
+
404: unknown;
|
|
4448
|
+
};
|
|
4449
|
+
export type MissionCancelResponses = {
|
|
4450
|
+
/**
|
|
4451
|
+
* Cancelled
|
|
4452
|
+
*/
|
|
4453
|
+
200: unknown;
|
|
4454
|
+
};
|
|
4455
|
+
export type MissionFeatureMutateData = {
|
|
4456
|
+
body?: {
|
|
4457
|
+
status?: "pending" | "running" | "done" | "blocked" | "skipped" | "error";
|
|
4458
|
+
error?: string;
|
|
4459
|
+
appendDependsOn?: Array<string>;
|
|
4460
|
+
};
|
|
4461
|
+
path: {
|
|
4462
|
+
id: string;
|
|
4463
|
+
featureID: string;
|
|
4464
|
+
};
|
|
4465
|
+
query?: {
|
|
4466
|
+
directory?: string;
|
|
4467
|
+
workspace?: string;
|
|
4468
|
+
};
|
|
4469
|
+
url: "/mission/{id}/feature/{featureID}";
|
|
4470
|
+
};
|
|
4471
|
+
export type MissionFeatureMutateErrors = {
|
|
4472
|
+
/**
|
|
4473
|
+
* Invalid mutation
|
|
4474
|
+
*/
|
|
4475
|
+
400: unknown;
|
|
4476
|
+
/**
|
|
4477
|
+
* Mission or feature not found
|
|
4478
|
+
*/
|
|
4479
|
+
404: unknown;
|
|
4480
|
+
};
|
|
4481
|
+
export type MissionFeatureMutateResponses = {
|
|
4482
|
+
/**
|
|
4483
|
+
* Updated mission
|
|
4484
|
+
*/
|
|
4485
|
+
200: unknown;
|
|
4486
|
+
};
|
|
4487
|
+
export type MissionExecsData = {
|
|
4488
|
+
body?: never;
|
|
4489
|
+
path: {
|
|
4490
|
+
id: string;
|
|
4491
|
+
};
|
|
4492
|
+
query?: {
|
|
4493
|
+
directory?: string;
|
|
4494
|
+
workspace?: string;
|
|
4495
|
+
limit?: number;
|
|
4496
|
+
};
|
|
4497
|
+
url: "/mission/{id}/execs";
|
|
4498
|
+
};
|
|
4499
|
+
export type MissionExecsResponses = {
|
|
4500
|
+
/**
|
|
4501
|
+
* Execs
|
|
4502
|
+
*/
|
|
4503
|
+
200: {
|
|
4504
|
+
execs: Array<MissionExec>;
|
|
4505
|
+
};
|
|
4506
|
+
};
|
|
4507
|
+
export type MissionExecsResponse = MissionExecsResponses[keyof MissionExecsResponses];
|
|
4508
|
+
export type MissionRecentExecsData = {
|
|
4509
|
+
body?: never;
|
|
4510
|
+
path?: never;
|
|
4511
|
+
query?: {
|
|
4512
|
+
directory?: string;
|
|
4513
|
+
workspace?: string;
|
|
4514
|
+
limit?: number;
|
|
4515
|
+
};
|
|
4516
|
+
url: "/mission/execs/recent";
|
|
4517
|
+
};
|
|
4518
|
+
export type MissionRecentExecsResponses = {
|
|
4519
|
+
/**
|
|
4520
|
+
* Recent execs
|
|
4521
|
+
*/
|
|
4522
|
+
200: {
|
|
4523
|
+
execs: Array<MissionExec>;
|
|
4524
|
+
};
|
|
4525
|
+
};
|
|
4526
|
+
export type MissionRecentExecsResponse = MissionRecentExecsResponses[keyof MissionRecentExecsResponses];
|
|
4030
4527
|
export type PtyListData = {
|
|
4031
4528
|
body?: never;
|
|
4032
4529
|
path?: never;
|
|
@@ -6707,38 +7204,6 @@ export type MobileBootstrapResponses = {
|
|
|
6707
7204
|
200: MobileBootstrap;
|
|
6708
7205
|
};
|
|
6709
7206
|
export type MobileBootstrapResponse = MobileBootstrapResponses[keyof MobileBootstrapResponses];
|
|
6710
|
-
export type MobileCommandListData = {
|
|
6711
|
-
body?: never;
|
|
6712
|
-
path?: never;
|
|
6713
|
-
query?: {
|
|
6714
|
-
directory?: string;
|
|
6715
|
-
workspace?: string;
|
|
6716
|
-
};
|
|
6717
|
-
url: "/mobile/command";
|
|
6718
|
-
};
|
|
6719
|
-
export type MobileCommandListResponses = {
|
|
6720
|
-
/**
|
|
6721
|
-
* Commands
|
|
6722
|
-
*/
|
|
6723
|
-
200: Array<MobileCommand>;
|
|
6724
|
-
};
|
|
6725
|
-
export type MobileCommandListResponse = MobileCommandListResponses[keyof MobileCommandListResponses];
|
|
6726
|
-
export type MobileProjectListData = {
|
|
6727
|
-
body?: never;
|
|
6728
|
-
path?: never;
|
|
6729
|
-
query?: {
|
|
6730
|
-
directory?: string;
|
|
6731
|
-
workspace?: string;
|
|
6732
|
-
};
|
|
6733
|
-
url: "/mobile/project";
|
|
6734
|
-
};
|
|
6735
|
-
export type MobileProjectListResponses = {
|
|
6736
|
-
/**
|
|
6737
|
-
* Projects
|
|
6738
|
-
*/
|
|
6739
|
-
200: Array<MobileProject>;
|
|
6740
|
-
};
|
|
6741
|
-
export type MobileProjectListResponse = MobileProjectListResponses[keyof MobileProjectListResponses];
|
|
6742
7207
|
export type MobileMemoryHistoryData = {
|
|
6743
7208
|
body?: never;
|
|
6744
7209
|
path?: never;
|
|
@@ -6838,6 +7303,38 @@ export type MobileMemoryStashDeleteResponses = {
|
|
|
6838
7303
|
};
|
|
6839
7304
|
};
|
|
6840
7305
|
export type MobileMemoryStashDeleteResponse = MobileMemoryStashDeleteResponses[keyof MobileMemoryStashDeleteResponses];
|
|
7306
|
+
export type MobileCommandListData = {
|
|
7307
|
+
body?: never;
|
|
7308
|
+
path?: never;
|
|
7309
|
+
query?: {
|
|
7310
|
+
directory?: string;
|
|
7311
|
+
workspace?: string;
|
|
7312
|
+
};
|
|
7313
|
+
url: "/mobile/command";
|
|
7314
|
+
};
|
|
7315
|
+
export type MobileCommandListResponses = {
|
|
7316
|
+
/**
|
|
7317
|
+
* Commands
|
|
7318
|
+
*/
|
|
7319
|
+
200: Array<MobileCommand>;
|
|
7320
|
+
};
|
|
7321
|
+
export type MobileCommandListResponse = MobileCommandListResponses[keyof MobileCommandListResponses];
|
|
7322
|
+
export type MobileProjectListData = {
|
|
7323
|
+
body?: never;
|
|
7324
|
+
path?: never;
|
|
7325
|
+
query?: {
|
|
7326
|
+
directory?: string;
|
|
7327
|
+
workspace?: string;
|
|
7328
|
+
};
|
|
7329
|
+
url: "/mobile/project";
|
|
7330
|
+
};
|
|
7331
|
+
export type MobileProjectListResponses = {
|
|
7332
|
+
/**
|
|
7333
|
+
* Projects
|
|
7334
|
+
*/
|
|
7335
|
+
200: Array<MobileProject>;
|
|
7336
|
+
};
|
|
7337
|
+
export type MobileProjectListResponse = MobileProjectListResponses[keyof MobileProjectListResponses];
|
|
6841
7338
|
export type MobileGithubReposData = {
|
|
6842
7339
|
body?: never;
|
|
6843
7340
|
path?: never;
|
|
@@ -7440,28 +7937,6 @@ export type MobileSessionStreamResponses = {
|
|
|
7440
7937
|
*/
|
|
7441
7938
|
200: unknown;
|
|
7442
7939
|
};
|
|
7443
|
-
export type MobileSessionRenameData = {
|
|
7444
|
-
body?: {
|
|
7445
|
-
title: string;
|
|
7446
|
-
};
|
|
7447
|
-
path: {
|
|
7448
|
-
sessionID: string;
|
|
7449
|
-
};
|
|
7450
|
-
query?: {
|
|
7451
|
-
directory?: string;
|
|
7452
|
-
workspace?: string;
|
|
7453
|
-
};
|
|
7454
|
-
url: "/mobile/session/{sessionID}/rename";
|
|
7455
|
-
};
|
|
7456
|
-
export type MobileSessionRenameResponses = {
|
|
7457
|
-
/**
|
|
7458
|
-
* Session renamed
|
|
7459
|
-
*/
|
|
7460
|
-
200: {
|
|
7461
|
-
success: true;
|
|
7462
|
-
};
|
|
7463
|
-
};
|
|
7464
|
-
export type MobileSessionRenameResponse = MobileSessionRenameResponses[keyof MobileSessionRenameResponses];
|
|
7465
7940
|
export type MobileWorktreeRemoveData = {
|
|
7466
7941
|
body?: WorktreeRemoveInput;
|
|
7467
7942
|
path?: never;
|
|
@@ -7521,6 +7996,28 @@ export type MobileWorktreeResetResponses = {
|
|
|
7521
7996
|
};
|
|
7522
7997
|
};
|
|
7523
7998
|
export type MobileWorktreeResetResponse = MobileWorktreeResetResponses[keyof MobileWorktreeResetResponses];
|
|
7999
|
+
export type MobileSessionRenameData = {
|
|
8000
|
+
body?: {
|
|
8001
|
+
title: string;
|
|
8002
|
+
};
|
|
8003
|
+
path: {
|
|
8004
|
+
sessionID: string;
|
|
8005
|
+
};
|
|
8006
|
+
query?: {
|
|
8007
|
+
directory?: string;
|
|
8008
|
+
workspace?: string;
|
|
8009
|
+
};
|
|
8010
|
+
url: "/mobile/session/{sessionID}/rename";
|
|
8011
|
+
};
|
|
8012
|
+
export type MobileSessionRenameResponses = {
|
|
8013
|
+
/**
|
|
8014
|
+
* Session renamed
|
|
8015
|
+
*/
|
|
8016
|
+
200: {
|
|
8017
|
+
success: true;
|
|
8018
|
+
};
|
|
8019
|
+
};
|
|
8020
|
+
export type MobileSessionRenameResponse = MobileSessionRenameResponses[keyof MobileSessionRenameResponses];
|
|
7524
8021
|
export type MobileGitStatusData = {
|
|
7525
8022
|
body?: never;
|
|
7526
8023
|
path?: never;
|