@nikcli-ai/sdk 1.73.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 +580 -66
- package/package.json +1 -1
|
@@ -22,6 +22,23 @@ export type EventProjectUpdated = {
|
|
|
22
22
|
type: "project.updated";
|
|
23
23
|
properties: Project;
|
|
24
24
|
};
|
|
25
|
+
export type EventTelemetryRecord = {
|
|
26
|
+
type: "telemetry.record";
|
|
27
|
+
properties: {
|
|
28
|
+
id: string;
|
|
29
|
+
traceId: string;
|
|
30
|
+
parentId?: string;
|
|
31
|
+
name: string;
|
|
32
|
+
kind: string;
|
|
33
|
+
startTime: number;
|
|
34
|
+
durationMs: number;
|
|
35
|
+
statusCode?: number;
|
|
36
|
+
statusMessage?: string;
|
|
37
|
+
attributes?: {
|
|
38
|
+
[key: string]: string;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
};
|
|
25
42
|
export type EventServerInstanceDisposed = {
|
|
26
43
|
type: "server.instance.disposed";
|
|
27
44
|
properties: {
|
|
@@ -954,6 +971,68 @@ export type EventLoopAborted = {
|
|
|
954
971
|
reason: string;
|
|
955
972
|
};
|
|
956
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
|
+
};
|
|
957
1036
|
export type EventSessionV2Updated = {
|
|
958
1037
|
type: "session.v2.updated";
|
|
959
1038
|
properties: {
|
|
@@ -994,7 +1073,7 @@ export type EventPtyDeleted = {
|
|
|
994
1073
|
id: string;
|
|
995
1074
|
};
|
|
996
1075
|
};
|
|
997
|
-
export type Event = EventProjectUpdated | 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;
|
|
998
1077
|
export type GlobalEvent = {
|
|
999
1078
|
directory: string;
|
|
1000
1079
|
payload: Event;
|
|
@@ -1069,6 +1148,66 @@ export type LoopRun = {
|
|
|
1069
1148
|
error?: string;
|
|
1070
1149
|
sessionID?: string;
|
|
1071
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
|
+
};
|
|
1072
1211
|
/**
|
|
1073
1212
|
* Custom keybind configurations
|
|
1074
1213
|
*/
|
|
@@ -2286,7 +2425,7 @@ export type Config = {
|
|
|
2286
2425
|
*/
|
|
2287
2426
|
batch_tool?: boolean;
|
|
2288
2427
|
/**
|
|
2289
|
-
* Enable OpenTelemetry spans for AI SDK calls (using the 'experimental_telemetry' flag)
|
|
2428
|
+
* Enable OpenTelemetry spans for AI SDK calls (using the 'experimental_telemetry' flag). Enabled by default; set to false to opt out. Spans are only exported when OTEL_EXPORTER_OTLP_ENDPOINT is set.
|
|
2290
2429
|
*/
|
|
2291
2430
|
openTelemetry?: boolean;
|
|
2292
2431
|
/**
|
|
@@ -3049,16 +3188,6 @@ export type MobileBootstrap = {
|
|
|
3049
3188
|
};
|
|
3050
3189
|
mobileProject?: MobileProjectType;
|
|
3051
3190
|
};
|
|
3052
|
-
export type MobileCommand = {
|
|
3053
|
-
name: string;
|
|
3054
|
-
description?: string;
|
|
3055
|
-
agent?: string;
|
|
3056
|
-
model?: string;
|
|
3057
|
-
mcp?: boolean;
|
|
3058
|
-
skill?: boolean;
|
|
3059
|
-
subtask?: boolean;
|
|
3060
|
-
hints: Array<string>;
|
|
3061
|
-
};
|
|
3062
3191
|
export type MobilePromptHistoryEntry = {
|
|
3063
3192
|
id: string;
|
|
3064
3193
|
input: string;
|
|
@@ -3083,6 +3212,16 @@ export type MobilePromptStashEntry = {
|
|
|
3083
3212
|
export type MobilePromptStashCreateInput = {
|
|
3084
3213
|
input: string;
|
|
3085
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
|
+
};
|
|
3086
3225
|
export type MobileGithubBranch = {
|
|
3087
3226
|
name: string;
|
|
3088
3227
|
protected?: boolean;
|
|
@@ -4010,6 +4149,381 @@ export type LoopRecentRunsResponses = {
|
|
|
4010
4149
|
};
|
|
4011
4150
|
};
|
|
4012
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];
|
|
4013
4527
|
export type PtyListData = {
|
|
4014
4528
|
body?: never;
|
|
4015
4529
|
path?: never;
|
|
@@ -6690,38 +7204,6 @@ export type MobileBootstrapResponses = {
|
|
|
6690
7204
|
200: MobileBootstrap;
|
|
6691
7205
|
};
|
|
6692
7206
|
export type MobileBootstrapResponse = MobileBootstrapResponses[keyof MobileBootstrapResponses];
|
|
6693
|
-
export type MobileCommandListData = {
|
|
6694
|
-
body?: never;
|
|
6695
|
-
path?: never;
|
|
6696
|
-
query?: {
|
|
6697
|
-
directory?: string;
|
|
6698
|
-
workspace?: string;
|
|
6699
|
-
};
|
|
6700
|
-
url: "/mobile/command";
|
|
6701
|
-
};
|
|
6702
|
-
export type MobileCommandListResponses = {
|
|
6703
|
-
/**
|
|
6704
|
-
* Commands
|
|
6705
|
-
*/
|
|
6706
|
-
200: Array<MobileCommand>;
|
|
6707
|
-
};
|
|
6708
|
-
export type MobileCommandListResponse = MobileCommandListResponses[keyof MobileCommandListResponses];
|
|
6709
|
-
export type MobileProjectListData = {
|
|
6710
|
-
body?: never;
|
|
6711
|
-
path?: never;
|
|
6712
|
-
query?: {
|
|
6713
|
-
directory?: string;
|
|
6714
|
-
workspace?: string;
|
|
6715
|
-
};
|
|
6716
|
-
url: "/mobile/project";
|
|
6717
|
-
};
|
|
6718
|
-
export type MobileProjectListResponses = {
|
|
6719
|
-
/**
|
|
6720
|
-
* Projects
|
|
6721
|
-
*/
|
|
6722
|
-
200: Array<MobileProject>;
|
|
6723
|
-
};
|
|
6724
|
-
export type MobileProjectListResponse = MobileProjectListResponses[keyof MobileProjectListResponses];
|
|
6725
7207
|
export type MobileMemoryHistoryData = {
|
|
6726
7208
|
body?: never;
|
|
6727
7209
|
path?: never;
|
|
@@ -6821,6 +7303,38 @@ export type MobileMemoryStashDeleteResponses = {
|
|
|
6821
7303
|
};
|
|
6822
7304
|
};
|
|
6823
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];
|
|
6824
7338
|
export type MobileGithubReposData = {
|
|
6825
7339
|
body?: never;
|
|
6826
7340
|
path?: never;
|
|
@@ -7423,28 +7937,6 @@ export type MobileSessionStreamResponses = {
|
|
|
7423
7937
|
*/
|
|
7424
7938
|
200: unknown;
|
|
7425
7939
|
};
|
|
7426
|
-
export type MobileSessionRenameData = {
|
|
7427
|
-
body?: {
|
|
7428
|
-
title: string;
|
|
7429
|
-
};
|
|
7430
|
-
path: {
|
|
7431
|
-
sessionID: string;
|
|
7432
|
-
};
|
|
7433
|
-
query?: {
|
|
7434
|
-
directory?: string;
|
|
7435
|
-
workspace?: string;
|
|
7436
|
-
};
|
|
7437
|
-
url: "/mobile/session/{sessionID}/rename";
|
|
7438
|
-
};
|
|
7439
|
-
export type MobileSessionRenameResponses = {
|
|
7440
|
-
/**
|
|
7441
|
-
* Session renamed
|
|
7442
|
-
*/
|
|
7443
|
-
200: {
|
|
7444
|
-
success: true;
|
|
7445
|
-
};
|
|
7446
|
-
};
|
|
7447
|
-
export type MobileSessionRenameResponse = MobileSessionRenameResponses[keyof MobileSessionRenameResponses];
|
|
7448
7940
|
export type MobileWorktreeRemoveData = {
|
|
7449
7941
|
body?: WorktreeRemoveInput;
|
|
7450
7942
|
path?: never;
|
|
@@ -7504,6 +7996,28 @@ export type MobileWorktreeResetResponses = {
|
|
|
7504
7996
|
};
|
|
7505
7997
|
};
|
|
7506
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];
|
|
7507
8021
|
export type MobileGitStatusData = {
|
|
7508
8022
|
body?: never;
|
|
7509
8023
|
path?: never;
|