@scarn/sdk 0.8.10 → 0.8.11
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/{chunk-nxsa7ksc.js → chunk-cezmxzhe.js} +1 -1
- package/dist/{chunk-zjp1c7ye.js → chunk-p01z6gt9.js} +5 -1
- package/dist/{chunk-d4e1kz6h.js → chunk-p6dt8nej.js} +1 -1
- package/dist/{chunk-aqsa0bpk.js → chunk-r01zh5mv.js} +1 -1
- package/dist/{chunk-c3xzrd3w.js → chunk-z9f92ayv.js} +39 -0
- package/dist/client.js +2 -2
- package/dist/defaults/index.js +2 -2
- package/dist/definitions/automations/index.js +2 -2
- package/dist/definitions/pipelines/index.js +2 -2
- package/dist/definitions/steps/index.js +2 -2
- package/dist/generated/index.d.ts +1 -1
- package/dist/generated/sdk.gen.d.ts +24 -3
- package/dist/generated/types.gen.d.ts +1204 -76
- package/dist/index.js +4 -4
- package/dist/push/index.js +4 -4
- package/dist/task-plane-client.d.ts +13 -4
- package/package.json +1 -1
|
@@ -3265,7 +3265,7 @@ export type PostApiTasksResponses = {
|
|
|
3265
3265
|
task: {
|
|
3266
3266
|
id: string;
|
|
3267
3267
|
projectId: string;
|
|
3268
|
-
workItemId: string;
|
|
3268
|
+
workItemId: string | null;
|
|
3269
3269
|
stepDefinitionId: string | null;
|
|
3270
3270
|
kind: 'agent' | 'code';
|
|
3271
3271
|
name: string | null;
|
|
@@ -3320,12 +3320,13 @@ export type PostApiTasksResponses = {
|
|
|
3320
3320
|
number: number;
|
|
3321
3321
|
reason: 'initial' | 'retry' | 'continuation';
|
|
3322
3322
|
projectId: string;
|
|
3323
|
-
workItemId: string;
|
|
3323
|
+
workItemId: string | null;
|
|
3324
3324
|
taskExecutionConfigId: string | null;
|
|
3325
3325
|
name: string | null;
|
|
3326
3326
|
kind: 'agent' | 'code';
|
|
3327
3327
|
previousTaskRunId: string | null;
|
|
3328
3328
|
baseBranch: string | null;
|
|
3329
|
+
baseCommit: string | null;
|
|
3329
3330
|
heartbeatSeconds: number | null;
|
|
3330
3331
|
status: 'pending' | 'queued' | 'running' | 'succeeded' | 'failed' | 'timeout' | 'abandoned' | 'cancelled' | 'skipped' | 'yielded';
|
|
3331
3332
|
inputJson: unknown | null;
|
|
@@ -3713,7 +3714,7 @@ export type GetApiTasksByTaskIdResponses = {
|
|
|
3713
3714
|
200: {
|
|
3714
3715
|
id: string;
|
|
3715
3716
|
projectId: string;
|
|
3716
|
-
workItemId: string;
|
|
3717
|
+
workItemId: string | null;
|
|
3717
3718
|
stepDefinitionId: string | null;
|
|
3718
3719
|
kind: 'agent' | 'code';
|
|
3719
3720
|
name: string | null;
|
|
@@ -3771,7 +3772,11 @@ export type GetApiTasksByTaskIdResponses = {
|
|
|
3771
3772
|
id: string;
|
|
3772
3773
|
platformKey: string;
|
|
3773
3774
|
title: string;
|
|
3774
|
-
};
|
|
3775
|
+
} | null;
|
|
3776
|
+
repoConversation: {
|
|
3777
|
+
id: string;
|
|
3778
|
+
title: string;
|
|
3779
|
+
} | null;
|
|
3775
3780
|
startedBy: {
|
|
3776
3781
|
userId: string;
|
|
3777
3782
|
username: string | null;
|
|
@@ -3911,12 +3916,13 @@ export type GetApiTasksByTaskIdRunsResponses = {
|
|
|
3911
3916
|
number: number;
|
|
3912
3917
|
reason: 'initial' | 'retry' | 'continuation';
|
|
3913
3918
|
projectId: string;
|
|
3914
|
-
workItemId: string;
|
|
3919
|
+
workItemId: string | null;
|
|
3915
3920
|
taskExecutionConfigId: string | null;
|
|
3916
3921
|
name: string | null;
|
|
3917
3922
|
kind: 'agent' | 'code';
|
|
3918
3923
|
previousTaskRunId: string | null;
|
|
3919
3924
|
baseBranch: string | null;
|
|
3925
|
+
baseCommit: string | null;
|
|
3920
3926
|
heartbeatSeconds: number | null;
|
|
3921
3927
|
status: 'pending' | 'queued' | 'running' | 'succeeded' | 'failed' | 'timeout' | 'abandoned' | 'cancelled' | 'skipped' | 'yielded';
|
|
3922
3928
|
inputJson: unknown | null;
|
|
@@ -3950,6 +3956,7 @@ export type GetApiProjectsByProjectIdTasksData = {
|
|
|
3950
3956
|
startedByMe?: boolean | string;
|
|
3951
3957
|
workItemId?: string | Array<string>;
|
|
3952
3958
|
latestPerWorkItem?: boolean | string;
|
|
3959
|
+
excludeEndedChats?: boolean | string;
|
|
3953
3960
|
limit?: number;
|
|
3954
3961
|
before?: string;
|
|
3955
3962
|
};
|
|
@@ -4086,7 +4093,11 @@ export type GetApiProjectsByProjectIdTasksResponses = {
|
|
|
4086
4093
|
id: string;
|
|
4087
4094
|
platformKey: string;
|
|
4088
4095
|
title: string;
|
|
4089
|
-
};
|
|
4096
|
+
} | null;
|
|
4097
|
+
repoConversation: {
|
|
4098
|
+
id: string;
|
|
4099
|
+
title: string;
|
|
4100
|
+
} | null;
|
|
4090
4101
|
startedBy: {
|
|
4091
4102
|
userId: string;
|
|
4092
4103
|
username: string | null;
|
|
@@ -4236,12 +4247,13 @@ export type PostApiTaskRunsClaimsResponses = {
|
|
|
4236
4247
|
number: number;
|
|
4237
4248
|
reason: 'initial' | 'retry' | 'continuation';
|
|
4238
4249
|
projectId: string;
|
|
4239
|
-
workItemId: string;
|
|
4250
|
+
workItemId: string | null;
|
|
4240
4251
|
taskExecutionConfigId: string | null;
|
|
4241
4252
|
name: string | null;
|
|
4242
4253
|
kind: 'agent' | 'code';
|
|
4243
4254
|
previousTaskRunId: string | null;
|
|
4244
4255
|
baseBranch: string | null;
|
|
4256
|
+
baseCommit: string | null;
|
|
4245
4257
|
heartbeatSeconds: number | null;
|
|
4246
4258
|
status: 'pending' | 'queued' | 'running' | 'succeeded' | 'failed' | 'timeout' | 'abandoned' | 'cancelled' | 'skipped' | 'yielded';
|
|
4247
4259
|
inputJson: unknown | null;
|
|
@@ -4403,12 +4415,13 @@ export type PutApiTaskRunsByTaskRunIdHeartbeatResponses = {
|
|
|
4403
4415
|
number: number;
|
|
4404
4416
|
reason: 'initial' | 'retry' | 'continuation';
|
|
4405
4417
|
projectId: string;
|
|
4406
|
-
workItemId: string;
|
|
4418
|
+
workItemId: string | null;
|
|
4407
4419
|
taskExecutionConfigId: string | null;
|
|
4408
4420
|
name: string | null;
|
|
4409
4421
|
kind: 'agent' | 'code';
|
|
4410
4422
|
previousTaskRunId: string | null;
|
|
4411
4423
|
baseBranch: string | null;
|
|
4424
|
+
baseCommit: string | null;
|
|
4412
4425
|
heartbeatSeconds: number | null;
|
|
4413
4426
|
status: 'pending' | 'queued' | 'running' | 'succeeded' | 'failed' | 'timeout' | 'abandoned' | 'cancelled' | 'skipped' | 'yielded';
|
|
4414
4427
|
inputJson: unknown | null;
|
|
@@ -4430,6 +4443,164 @@ export type PutApiTaskRunsByTaskRunIdHeartbeatResponses = {
|
|
|
4430
4443
|
};
|
|
4431
4444
|
};
|
|
4432
4445
|
export type PutApiTaskRunsByTaskRunIdHeartbeatResponse = PutApiTaskRunsByTaskRunIdHeartbeatResponses[keyof PutApiTaskRunsByTaskRunIdHeartbeatResponses];
|
|
4446
|
+
export type PostApiTaskRunsByTaskRunIdBaseCommitData = {
|
|
4447
|
+
body: {
|
|
4448
|
+
claimToken: string;
|
|
4449
|
+
baseCommit: string;
|
|
4450
|
+
baseBranch?: string;
|
|
4451
|
+
};
|
|
4452
|
+
path: {
|
|
4453
|
+
taskRunId: string;
|
|
4454
|
+
};
|
|
4455
|
+
query?: never;
|
|
4456
|
+
url: '/api/task-runs/{taskRunId}/base-commit';
|
|
4457
|
+
};
|
|
4458
|
+
export type PostApiTaskRunsByTaskRunIdBaseCommitErrors = {
|
|
4459
|
+
/**
|
|
4460
|
+
* Response for status 400
|
|
4461
|
+
*/
|
|
4462
|
+
400: {
|
|
4463
|
+
type: string;
|
|
4464
|
+
title: string;
|
|
4465
|
+
status: number;
|
|
4466
|
+
detail?: string;
|
|
4467
|
+
instance?: string;
|
|
4468
|
+
code?: string;
|
|
4469
|
+
errors?: Array<{
|
|
4470
|
+
path: string;
|
|
4471
|
+
message: string;
|
|
4472
|
+
summary?: string;
|
|
4473
|
+
}>;
|
|
4474
|
+
meta?: {
|
|
4475
|
+
[key: string]: unknown;
|
|
4476
|
+
};
|
|
4477
|
+
};
|
|
4478
|
+
/**
|
|
4479
|
+
* Response for status 401
|
|
4480
|
+
*/
|
|
4481
|
+
401: {
|
|
4482
|
+
type: string;
|
|
4483
|
+
title: string;
|
|
4484
|
+
status: number;
|
|
4485
|
+
detail?: string;
|
|
4486
|
+
instance?: string;
|
|
4487
|
+
code?: string;
|
|
4488
|
+
errors?: Array<{
|
|
4489
|
+
path: string;
|
|
4490
|
+
message: string;
|
|
4491
|
+
summary?: string;
|
|
4492
|
+
}>;
|
|
4493
|
+
meta?: {
|
|
4494
|
+
[key: string]: unknown;
|
|
4495
|
+
};
|
|
4496
|
+
};
|
|
4497
|
+
/**
|
|
4498
|
+
* Response for status 403
|
|
4499
|
+
*/
|
|
4500
|
+
403: {
|
|
4501
|
+
type: string;
|
|
4502
|
+
title: string;
|
|
4503
|
+
status: number;
|
|
4504
|
+
detail?: string;
|
|
4505
|
+
instance?: string;
|
|
4506
|
+
code?: string;
|
|
4507
|
+
errors?: Array<{
|
|
4508
|
+
path: string;
|
|
4509
|
+
message: string;
|
|
4510
|
+
summary?: string;
|
|
4511
|
+
}>;
|
|
4512
|
+
meta?: {
|
|
4513
|
+
[key: string]: unknown;
|
|
4514
|
+
};
|
|
4515
|
+
};
|
|
4516
|
+
/**
|
|
4517
|
+
* Response for status 404
|
|
4518
|
+
*/
|
|
4519
|
+
404: {
|
|
4520
|
+
type: string;
|
|
4521
|
+
title: string;
|
|
4522
|
+
status: number;
|
|
4523
|
+
detail?: string;
|
|
4524
|
+
instance?: string;
|
|
4525
|
+
code?: string;
|
|
4526
|
+
errors?: Array<{
|
|
4527
|
+
path: string;
|
|
4528
|
+
message: string;
|
|
4529
|
+
summary?: string;
|
|
4530
|
+
}>;
|
|
4531
|
+
meta?: {
|
|
4532
|
+
[key: string]: unknown;
|
|
4533
|
+
};
|
|
4534
|
+
};
|
|
4535
|
+
/**
|
|
4536
|
+
* Response for status 409
|
|
4537
|
+
*/
|
|
4538
|
+
409: {
|
|
4539
|
+
type: string;
|
|
4540
|
+
title: string;
|
|
4541
|
+
status: number;
|
|
4542
|
+
detail?: string;
|
|
4543
|
+
instance?: string;
|
|
4544
|
+
code?: string;
|
|
4545
|
+
errors?: Array<{
|
|
4546
|
+
path: string;
|
|
4547
|
+
message: string;
|
|
4548
|
+
summary?: string;
|
|
4549
|
+
}>;
|
|
4550
|
+
meta?: {
|
|
4551
|
+
[key: string]: unknown;
|
|
4552
|
+
};
|
|
4553
|
+
};
|
|
4554
|
+
/**
|
|
4555
|
+
* Response for status 422
|
|
4556
|
+
*/
|
|
4557
|
+
422: {
|
|
4558
|
+
type: string;
|
|
4559
|
+
title: string;
|
|
4560
|
+
status: number;
|
|
4561
|
+
detail?: string;
|
|
4562
|
+
instance?: string;
|
|
4563
|
+
code?: string;
|
|
4564
|
+
errors?: Array<{
|
|
4565
|
+
path: string;
|
|
4566
|
+
message: string;
|
|
4567
|
+
summary?: string;
|
|
4568
|
+
}>;
|
|
4569
|
+
meta?: {
|
|
4570
|
+
[key: string]: unknown;
|
|
4571
|
+
};
|
|
4572
|
+
};
|
|
4573
|
+
/**
|
|
4574
|
+
* Response for status 500
|
|
4575
|
+
*/
|
|
4576
|
+
500: {
|
|
4577
|
+
type: string;
|
|
4578
|
+
title: string;
|
|
4579
|
+
status: number;
|
|
4580
|
+
detail?: string;
|
|
4581
|
+
instance?: string;
|
|
4582
|
+
code?: string;
|
|
4583
|
+
errors?: Array<{
|
|
4584
|
+
path: string;
|
|
4585
|
+
message: string;
|
|
4586
|
+
summary?: string;
|
|
4587
|
+
}>;
|
|
4588
|
+
meta?: {
|
|
4589
|
+
[key: string]: unknown;
|
|
4590
|
+
};
|
|
4591
|
+
};
|
|
4592
|
+
};
|
|
4593
|
+
export type PostApiTaskRunsByTaskRunIdBaseCommitError = PostApiTaskRunsByTaskRunIdBaseCommitErrors[keyof PostApiTaskRunsByTaskRunIdBaseCommitErrors];
|
|
4594
|
+
export type PostApiTaskRunsByTaskRunIdBaseCommitResponses = {
|
|
4595
|
+
/**
|
|
4596
|
+
* Response for status 200
|
|
4597
|
+
*/
|
|
4598
|
+
200: {
|
|
4599
|
+
baseCommit: string;
|
|
4600
|
+
baseBranch: string | null;
|
|
4601
|
+
};
|
|
4602
|
+
};
|
|
4603
|
+
export type PostApiTaskRunsByTaskRunIdBaseCommitResponse = PostApiTaskRunsByTaskRunIdBaseCommitResponses[keyof PostApiTaskRunsByTaskRunIdBaseCommitResponses];
|
|
4433
4604
|
export type PostApiTaskRunsByTaskRunIdWorkerContextData = {
|
|
4434
4605
|
body: {
|
|
4435
4606
|
claimToken: string;
|
|
@@ -4566,6 +4737,7 @@ export type PostApiTaskRunsByTaskRunIdWorkerContextResponses = {
|
|
|
4566
4737
|
projectPath: string | null;
|
|
4567
4738
|
gitUrl: string;
|
|
4568
4739
|
baseWorkBranch: string | null;
|
|
4740
|
+
baseCommit: string | null;
|
|
4569
4741
|
projectOpencodeConfig: {
|
|
4570
4742
|
relativePath: string;
|
|
4571
4743
|
present: boolean;
|
|
@@ -4603,7 +4775,8 @@ export type PostApiTaskRunsByTaskRunIdWorkerContextResponses = {
|
|
|
4603
4775
|
[key: string]: unknown;
|
|
4604
4776
|
} | null;
|
|
4605
4777
|
turnsRemaining: number | null;
|
|
4606
|
-
workItemId: string;
|
|
4778
|
+
workItemId: string | null;
|
|
4779
|
+
conversationId: string | null;
|
|
4607
4780
|
grants: Array<{
|
|
4608
4781
|
resource: 'workItem';
|
|
4609
4782
|
action: 'read';
|
|
@@ -4926,12 +5099,13 @@ export type PostApiTaskRunsByTaskRunIdCompletionsResponses = {
|
|
|
4926
5099
|
number: number;
|
|
4927
5100
|
reason: 'initial' | 'retry' | 'continuation';
|
|
4928
5101
|
projectId: string;
|
|
4929
|
-
workItemId: string;
|
|
5102
|
+
workItemId: string | null;
|
|
4930
5103
|
taskExecutionConfigId: string | null;
|
|
4931
5104
|
name: string | null;
|
|
4932
5105
|
kind: 'agent' | 'code';
|
|
4933
5106
|
previousTaskRunId: string | null;
|
|
4934
5107
|
baseBranch: string | null;
|
|
5108
|
+
baseCommit: string | null;
|
|
4935
5109
|
heartbeatSeconds: number | null;
|
|
4936
5110
|
status: 'pending' | 'queued' | 'running' | 'succeeded' | 'failed' | 'timeout' | 'abandoned' | 'cancelled' | 'skipped' | 'yielded';
|
|
4937
5111
|
inputJson: unknown | null;
|
|
@@ -4960,6 +5134,7 @@ export type PostApiTaskRunsByTaskRunIdYieldsData = {
|
|
|
4960
5134
|
workBranch?: string | null;
|
|
4961
5135
|
createdFromBranch?: string | null;
|
|
4962
5136
|
sessionObjectKey?: string | null;
|
|
5137
|
+
sessionSizeBytes?: number | null;
|
|
4963
5138
|
sessionRestored?: boolean | null;
|
|
4964
5139
|
};
|
|
4965
5140
|
path: {
|
|
@@ -5095,12 +5270,13 @@ export type PostApiTaskRunsByTaskRunIdYieldsResponses = {
|
|
|
5095
5270
|
number: number;
|
|
5096
5271
|
reason: 'initial' | 'retry' | 'continuation';
|
|
5097
5272
|
projectId: string;
|
|
5098
|
-
workItemId: string;
|
|
5273
|
+
workItemId: string | null;
|
|
5099
5274
|
taskExecutionConfigId: string | null;
|
|
5100
5275
|
name: string | null;
|
|
5101
5276
|
kind: 'agent' | 'code';
|
|
5102
5277
|
previousTaskRunId: string | null;
|
|
5103
5278
|
baseBranch: string | null;
|
|
5279
|
+
baseCommit: string | null;
|
|
5104
5280
|
heartbeatSeconds: number | null;
|
|
5105
5281
|
status: 'pending' | 'queued' | 'running' | 'succeeded' | 'failed' | 'timeout' | 'abandoned' | 'cancelled' | 'skipped' | 'yielded';
|
|
5106
5282
|
inputJson: unknown | null;
|
|
@@ -5238,12 +5414,13 @@ export type PutApiTaskRunsByTaskRunIdRunningResponses = {
|
|
|
5238
5414
|
number: number;
|
|
5239
5415
|
reason: 'initial' | 'retry' | 'continuation';
|
|
5240
5416
|
projectId: string;
|
|
5241
|
-
workItemId: string;
|
|
5417
|
+
workItemId: string | null;
|
|
5242
5418
|
taskExecutionConfigId: string | null;
|
|
5243
5419
|
name: string | null;
|
|
5244
5420
|
kind: 'agent' | 'code';
|
|
5245
5421
|
previousTaskRunId: string | null;
|
|
5246
5422
|
baseBranch: string | null;
|
|
5423
|
+
baseCommit: string | null;
|
|
5247
5424
|
heartbeatSeconds: number | null;
|
|
5248
5425
|
status: 'pending' | 'queued' | 'running' | 'succeeded' | 'failed' | 'timeout' | 'abandoned' | 'cancelled' | 'skipped' | 'yielded';
|
|
5249
5426
|
inputJson: unknown | null;
|
|
@@ -5650,12 +5827,13 @@ export type GetApiTaskRunsByTaskRunIdResponses = {
|
|
|
5650
5827
|
number: number;
|
|
5651
5828
|
reason: 'initial' | 'retry' | 'continuation';
|
|
5652
5829
|
projectId: string;
|
|
5653
|
-
workItemId: string;
|
|
5830
|
+
workItemId: string | null;
|
|
5654
5831
|
taskExecutionConfigId: string | null;
|
|
5655
5832
|
name: string | null;
|
|
5656
5833
|
kind: 'agent' | 'code';
|
|
5657
5834
|
previousTaskRunId: string | null;
|
|
5658
5835
|
baseBranch: string | null;
|
|
5836
|
+
baseCommit: string | null;
|
|
5659
5837
|
heartbeatSeconds: number | null;
|
|
5660
5838
|
status: 'pending' | 'queued' | 'running' | 'succeeded' | 'failed' | 'timeout' | 'abandoned' | 'cancelled' | 'skipped' | 'yielded';
|
|
5661
5839
|
inputJson: unknown | null;
|
|
@@ -5774,12 +5952,13 @@ export type GetApiTaskRunsResponses = {
|
|
|
5774
5952
|
number: number;
|
|
5775
5953
|
reason: 'initial' | 'retry' | 'continuation';
|
|
5776
5954
|
projectId: string;
|
|
5777
|
-
workItemId: string;
|
|
5955
|
+
workItemId: string | null;
|
|
5778
5956
|
taskExecutionConfigId: string | null;
|
|
5779
5957
|
name: string | null;
|
|
5780
5958
|
kind: 'agent' | 'code';
|
|
5781
5959
|
previousTaskRunId: string | null;
|
|
5782
5960
|
baseBranch: string | null;
|
|
5961
|
+
baseCommit: string | null;
|
|
5783
5962
|
heartbeatSeconds: number | null;
|
|
5784
5963
|
status: 'pending' | 'queued' | 'running' | 'succeeded' | 'failed' | 'timeout' | 'abandoned' | 'cancelled' | 'skipped' | 'yielded';
|
|
5785
5964
|
inputJson: unknown | null;
|
|
@@ -12229,7 +12408,7 @@ export type GetApiWorkItemsByWorkItemIdQuestionsResponses = {
|
|
|
12229
12408
|
}>;
|
|
12230
12409
|
};
|
|
12231
12410
|
export type GetApiWorkItemsByWorkItemIdQuestionsResponse = GetApiWorkItemsByWorkItemIdQuestionsResponses[keyof GetApiWorkItemsByWorkItemIdQuestionsResponses];
|
|
12232
|
-
export type
|
|
12411
|
+
export type DeleteApiConversationsByConversationIdData = {
|
|
12233
12412
|
body?: never;
|
|
12234
12413
|
path: {
|
|
12235
12414
|
conversationId: string;
|
|
@@ -12237,7 +12416,7 @@ export type GetApiConversationsByConversationIdData = {
|
|
|
12237
12416
|
query?: never;
|
|
12238
12417
|
url: '/api/conversations/{conversationId}';
|
|
12239
12418
|
};
|
|
12240
|
-
export type
|
|
12419
|
+
export type DeleteApiConversationsByConversationIdErrors = {
|
|
12241
12420
|
/**
|
|
12242
12421
|
* Response for status 401
|
|
12243
12422
|
*/
|
|
@@ -12353,44 +12532,22 @@ export type GetApiConversationsByConversationIdErrors = {
|
|
|
12353
12532
|
};
|
|
12354
12533
|
};
|
|
12355
12534
|
};
|
|
12356
|
-
export type
|
|
12357
|
-
export type
|
|
12535
|
+
export type DeleteApiConversationsByConversationIdError = DeleteApiConversationsByConversationIdErrors[keyof DeleteApiConversationsByConversationIdErrors];
|
|
12536
|
+
export type DeleteApiConversationsByConversationIdResponses = {
|
|
12358
12537
|
/**
|
|
12359
|
-
* Response for status
|
|
12538
|
+
* Response for status 204
|
|
12360
12539
|
*/
|
|
12361
|
-
|
|
12362
|
-
id: string;
|
|
12363
|
-
projectId: string;
|
|
12364
|
-
workItemId: string | null;
|
|
12365
|
-
status: 'agent_turn' | 'waiting_for_person' | 'reply_pending' | 'closed';
|
|
12366
|
-
messages: Array<{
|
|
12367
|
-
id: string;
|
|
12368
|
-
authorKind: 'agent' | 'person' | 'system';
|
|
12369
|
-
authorName: string | null;
|
|
12370
|
-
taskRunId: string | null;
|
|
12371
|
-
body: string;
|
|
12372
|
-
createdAt: string;
|
|
12373
|
-
}>;
|
|
12374
|
-
visit: {
|
|
12375
|
-
pipelineExecutionId: string;
|
|
12376
|
-
visitId: string;
|
|
12377
|
-
nodeId: string;
|
|
12378
|
-
} | null;
|
|
12379
|
-
endsWith: 'findings' | 'conversation' | null;
|
|
12380
|
-
createdAt: string;
|
|
12381
|
-
closedAt: string | null;
|
|
12382
|
-
};
|
|
12540
|
+
204: unknown;
|
|
12383
12541
|
};
|
|
12384
|
-
export type
|
|
12385
|
-
export type GetApiWorkItemsByWorkItemIdConversationsData = {
|
|
12542
|
+
export type GetApiConversationsByConversationIdData = {
|
|
12386
12543
|
body?: never;
|
|
12387
12544
|
path: {
|
|
12388
|
-
|
|
12545
|
+
conversationId: string;
|
|
12389
12546
|
};
|
|
12390
12547
|
query?: never;
|
|
12391
|
-
url: '/api/
|
|
12548
|
+
url: '/api/conversations/{conversationId}';
|
|
12392
12549
|
};
|
|
12393
|
-
export type
|
|
12550
|
+
export type GetApiConversationsByConversationIdErrors = {
|
|
12394
12551
|
/**
|
|
12395
12552
|
* Response for status 401
|
|
12396
12553
|
*/
|
|
@@ -12506,18 +12663,16 @@ export type GetApiWorkItemsByWorkItemIdConversationsErrors = {
|
|
|
12506
12663
|
};
|
|
12507
12664
|
};
|
|
12508
12665
|
};
|
|
12509
|
-
export type
|
|
12510
|
-
export type
|
|
12666
|
+
export type GetApiConversationsByConversationIdError = GetApiConversationsByConversationIdErrors[keyof GetApiConversationsByConversationIdErrors];
|
|
12667
|
+
export type GetApiConversationsByConversationIdResponses = {
|
|
12511
12668
|
/**
|
|
12512
12669
|
* Response for status 200
|
|
12513
12670
|
*/
|
|
12514
|
-
200:
|
|
12671
|
+
200: {
|
|
12515
12672
|
id: string;
|
|
12673
|
+
projectId: string;
|
|
12674
|
+
workItemId: string | null;
|
|
12516
12675
|
status: 'agent_turn' | 'waiting_for_person' | 'reply_pending' | 'closed';
|
|
12517
|
-
nodeId: string | null;
|
|
12518
|
-
pipelineExecutionId: string | null;
|
|
12519
|
-
visitId: string | null;
|
|
12520
|
-
lastMessageAt: string | null;
|
|
12521
12676
|
messages: Array<{
|
|
12522
12677
|
id: string;
|
|
12523
12678
|
authorKind: 'agent' | 'person' | 'system';
|
|
@@ -12526,21 +12681,722 @@ export type GetApiWorkItemsByWorkItemIdConversationsResponses = {
|
|
|
12526
12681
|
body: string;
|
|
12527
12682
|
createdAt: string;
|
|
12528
12683
|
}>;
|
|
12684
|
+
visit: {
|
|
12685
|
+
pipelineExecutionId: string;
|
|
12686
|
+
visitId: string;
|
|
12687
|
+
nodeId: string;
|
|
12688
|
+
} | null;
|
|
12689
|
+
endsWith: 'findings' | 'conversation' | null;
|
|
12529
12690
|
createdAt: string;
|
|
12530
|
-
|
|
12531
|
-
|
|
12532
|
-
|
|
12533
|
-
|
|
12534
|
-
|
|
12535
|
-
|
|
12691
|
+
closedAt: string | null;
|
|
12692
|
+
taskId?: string;
|
|
12693
|
+
creator?: {
|
|
12694
|
+
userId: string;
|
|
12695
|
+
username: string | null;
|
|
12696
|
+
image: string | null;
|
|
12697
|
+
} | null;
|
|
12698
|
+
context?: {
|
|
12699
|
+
kind: 'project_repo';
|
|
12700
|
+
repository: string;
|
|
12701
|
+
branch: string | null;
|
|
12702
|
+
commit: string | null;
|
|
12703
|
+
pinnedAt: string | null;
|
|
12704
|
+
};
|
|
12705
|
+
state?: 'queued' | 'running' | 'retry_queued' | 'waiting' | 'failed' | 'ended';
|
|
12706
|
+
latestRun?: {
|
|
12707
|
+
id: string;
|
|
12708
|
+
status: 'pending' | 'queued' | 'running' | 'succeeded' | 'failed' | 'timeout' | 'abandoned' | 'cancelled' | 'skipped' | 'yielded';
|
|
12709
|
+
reason: 'initial' | 'retry' | 'continuation';
|
|
12710
|
+
} | null;
|
|
12711
|
+
error?: {
|
|
12712
|
+
code: string;
|
|
12713
|
+
message: string;
|
|
12714
|
+
} | null;
|
|
12715
|
+
capabilities?: {
|
|
12716
|
+
canReply: boolean;
|
|
12717
|
+
canRetry: boolean;
|
|
12718
|
+
canEnd: boolean;
|
|
12719
|
+
canDelete: boolean;
|
|
12720
|
+
};
|
|
12536
12721
|
};
|
|
12722
|
+
};
|
|
12723
|
+
export type GetApiConversationsByConversationIdResponse = GetApiConversationsByConversationIdResponses[keyof GetApiConversationsByConversationIdResponses];
|
|
12724
|
+
export type GetApiWorkItemsByWorkItemIdConversationsData = {
|
|
12725
|
+
body?: never;
|
|
12726
|
+
path: {
|
|
12727
|
+
workItemId: string;
|
|
12728
|
+
};
|
|
12729
|
+
query?: never;
|
|
12730
|
+
url: '/api/work-items/{workItemId}/conversations';
|
|
12731
|
+
};
|
|
12732
|
+
export type GetApiWorkItemsByWorkItemIdConversationsErrors = {
|
|
12733
|
+
/**
|
|
12734
|
+
* Response for status 401
|
|
12735
|
+
*/
|
|
12736
|
+
401: {
|
|
12737
|
+
type: string;
|
|
12738
|
+
title: string;
|
|
12739
|
+
status: number;
|
|
12740
|
+
detail?: string;
|
|
12741
|
+
instance?: string;
|
|
12742
|
+
code?: string;
|
|
12743
|
+
errors?: Array<{
|
|
12744
|
+
path: string;
|
|
12745
|
+
message: string;
|
|
12746
|
+
summary?: string;
|
|
12747
|
+
}>;
|
|
12748
|
+
meta?: {
|
|
12749
|
+
[key: string]: unknown;
|
|
12750
|
+
};
|
|
12751
|
+
};
|
|
12752
|
+
/**
|
|
12753
|
+
* Response for status 403
|
|
12754
|
+
*/
|
|
12755
|
+
403: {
|
|
12756
|
+
type: string;
|
|
12757
|
+
title: string;
|
|
12758
|
+
status: number;
|
|
12759
|
+
detail?: string;
|
|
12760
|
+
instance?: string;
|
|
12761
|
+
code?: string;
|
|
12762
|
+
errors?: Array<{
|
|
12763
|
+
path: string;
|
|
12764
|
+
message: string;
|
|
12765
|
+
summary?: string;
|
|
12766
|
+
}>;
|
|
12767
|
+
meta?: {
|
|
12768
|
+
[key: string]: unknown;
|
|
12769
|
+
};
|
|
12770
|
+
};
|
|
12771
|
+
/**
|
|
12772
|
+
* Response for status 404
|
|
12773
|
+
*/
|
|
12774
|
+
404: {
|
|
12775
|
+
type: string;
|
|
12776
|
+
title: string;
|
|
12777
|
+
status: number;
|
|
12778
|
+
detail?: string;
|
|
12779
|
+
instance?: string;
|
|
12780
|
+
code?: string;
|
|
12781
|
+
errors?: Array<{
|
|
12782
|
+
path: string;
|
|
12783
|
+
message: string;
|
|
12784
|
+
summary?: string;
|
|
12785
|
+
}>;
|
|
12786
|
+
meta?: {
|
|
12787
|
+
[key: string]: unknown;
|
|
12788
|
+
};
|
|
12789
|
+
};
|
|
12790
|
+
/**
|
|
12791
|
+
* Response for status 409
|
|
12792
|
+
*/
|
|
12793
|
+
409: {
|
|
12794
|
+
type: string;
|
|
12795
|
+
title: string;
|
|
12796
|
+
status: number;
|
|
12797
|
+
detail?: string;
|
|
12798
|
+
instance?: string;
|
|
12799
|
+
code?: string;
|
|
12800
|
+
errors?: Array<{
|
|
12801
|
+
path: string;
|
|
12802
|
+
message: string;
|
|
12803
|
+
summary?: string;
|
|
12804
|
+
}>;
|
|
12805
|
+
meta?: {
|
|
12806
|
+
[key: string]: unknown;
|
|
12807
|
+
};
|
|
12808
|
+
};
|
|
12809
|
+
/**
|
|
12810
|
+
* Response for status 422
|
|
12811
|
+
*/
|
|
12812
|
+
422: {
|
|
12813
|
+
type: string;
|
|
12814
|
+
title: string;
|
|
12815
|
+
status: number;
|
|
12816
|
+
detail?: string;
|
|
12817
|
+
instance?: string;
|
|
12818
|
+
code?: string;
|
|
12819
|
+
errors?: Array<{
|
|
12820
|
+
path: string;
|
|
12821
|
+
message: string;
|
|
12822
|
+
summary?: string;
|
|
12823
|
+
}>;
|
|
12824
|
+
meta?: {
|
|
12825
|
+
[key: string]: unknown;
|
|
12826
|
+
};
|
|
12827
|
+
};
|
|
12828
|
+
/**
|
|
12829
|
+
* Response for status 500
|
|
12830
|
+
*/
|
|
12831
|
+
500: {
|
|
12832
|
+
type: string;
|
|
12833
|
+
title: string;
|
|
12834
|
+
status: number;
|
|
12835
|
+
detail?: string;
|
|
12836
|
+
instance?: string;
|
|
12837
|
+
code?: string;
|
|
12838
|
+
errors?: Array<{
|
|
12839
|
+
path: string;
|
|
12840
|
+
message: string;
|
|
12841
|
+
summary?: string;
|
|
12842
|
+
}>;
|
|
12843
|
+
meta?: {
|
|
12844
|
+
[key: string]: unknown;
|
|
12845
|
+
};
|
|
12846
|
+
};
|
|
12847
|
+
};
|
|
12848
|
+
export type GetApiWorkItemsByWorkItemIdConversationsError = GetApiWorkItemsByWorkItemIdConversationsErrors[keyof GetApiWorkItemsByWorkItemIdConversationsErrors];
|
|
12849
|
+
export type GetApiWorkItemsByWorkItemIdConversationsResponses = {
|
|
12850
|
+
/**
|
|
12851
|
+
* Response for status 200
|
|
12852
|
+
*/
|
|
12853
|
+
200: Array<{
|
|
12854
|
+
id: string;
|
|
12855
|
+
status: 'agent_turn' | 'waiting_for_person' | 'reply_pending' | 'closed';
|
|
12856
|
+
nodeId: string | null;
|
|
12857
|
+
pipelineExecutionId: string | null;
|
|
12858
|
+
visitId: string | null;
|
|
12859
|
+
lastMessageAt: string | null;
|
|
12860
|
+
messages: Array<{
|
|
12861
|
+
id: string;
|
|
12862
|
+
authorKind: 'agent' | 'person' | 'system';
|
|
12863
|
+
authorName: string | null;
|
|
12864
|
+
taskRunId: string | null;
|
|
12865
|
+
body: string;
|
|
12866
|
+
createdAt: string;
|
|
12867
|
+
}>;
|
|
12868
|
+
createdAt: string;
|
|
12869
|
+
}>;
|
|
12870
|
+
};
|
|
12871
|
+
export type GetApiWorkItemsByWorkItemIdConversationsResponse = GetApiWorkItemsByWorkItemIdConversationsResponses[keyof GetApiWorkItemsByWorkItemIdConversationsResponses];
|
|
12872
|
+
export type GetApiProjectsByProjectIdConversationsData = {
|
|
12873
|
+
body?: never;
|
|
12874
|
+
path: {
|
|
12875
|
+
projectId: string;
|
|
12876
|
+
};
|
|
12877
|
+
query?: {
|
|
12878
|
+
before?: string;
|
|
12879
|
+
limit?: number;
|
|
12880
|
+
};
|
|
12881
|
+
url: '/api/projects/{projectId}/conversations';
|
|
12882
|
+
};
|
|
12883
|
+
export type GetApiProjectsByProjectIdConversationsErrors = {
|
|
12884
|
+
/**
|
|
12885
|
+
* Response for status 401
|
|
12886
|
+
*/
|
|
12887
|
+
401: {
|
|
12888
|
+
type: string;
|
|
12889
|
+
title: string;
|
|
12890
|
+
status: number;
|
|
12891
|
+
detail?: string;
|
|
12892
|
+
instance?: string;
|
|
12893
|
+
code?: string;
|
|
12894
|
+
errors?: Array<{
|
|
12895
|
+
path: string;
|
|
12896
|
+
message: string;
|
|
12897
|
+
summary?: string;
|
|
12898
|
+
}>;
|
|
12899
|
+
meta?: {
|
|
12900
|
+
[key: string]: unknown;
|
|
12901
|
+
};
|
|
12902
|
+
};
|
|
12903
|
+
/**
|
|
12904
|
+
* Response for status 403
|
|
12905
|
+
*/
|
|
12906
|
+
403: {
|
|
12907
|
+
type: string;
|
|
12908
|
+
title: string;
|
|
12909
|
+
status: number;
|
|
12910
|
+
detail?: string;
|
|
12911
|
+
instance?: string;
|
|
12912
|
+
code?: string;
|
|
12913
|
+
errors?: Array<{
|
|
12914
|
+
path: string;
|
|
12915
|
+
message: string;
|
|
12916
|
+
summary?: string;
|
|
12917
|
+
}>;
|
|
12918
|
+
meta?: {
|
|
12919
|
+
[key: string]: unknown;
|
|
12920
|
+
};
|
|
12921
|
+
};
|
|
12922
|
+
/**
|
|
12923
|
+
* Response for status 404
|
|
12924
|
+
*/
|
|
12925
|
+
404: {
|
|
12926
|
+
type: string;
|
|
12927
|
+
title: string;
|
|
12928
|
+
status: number;
|
|
12929
|
+
detail?: string;
|
|
12930
|
+
instance?: string;
|
|
12931
|
+
code?: string;
|
|
12932
|
+
errors?: Array<{
|
|
12933
|
+
path: string;
|
|
12934
|
+
message: string;
|
|
12935
|
+
summary?: string;
|
|
12936
|
+
}>;
|
|
12937
|
+
meta?: {
|
|
12938
|
+
[key: string]: unknown;
|
|
12939
|
+
};
|
|
12940
|
+
};
|
|
12941
|
+
/**
|
|
12942
|
+
* Response for status 409
|
|
12943
|
+
*/
|
|
12944
|
+
409: {
|
|
12945
|
+
type: string;
|
|
12946
|
+
title: string;
|
|
12947
|
+
status: number;
|
|
12948
|
+
detail?: string;
|
|
12949
|
+
instance?: string;
|
|
12950
|
+
code?: string;
|
|
12951
|
+
errors?: Array<{
|
|
12952
|
+
path: string;
|
|
12953
|
+
message: string;
|
|
12954
|
+
summary?: string;
|
|
12955
|
+
}>;
|
|
12956
|
+
meta?: {
|
|
12957
|
+
[key: string]: unknown;
|
|
12958
|
+
};
|
|
12959
|
+
};
|
|
12960
|
+
/**
|
|
12961
|
+
* Response for status 422
|
|
12962
|
+
*/
|
|
12963
|
+
422: {
|
|
12964
|
+
type: string;
|
|
12965
|
+
title: string;
|
|
12966
|
+
status: number;
|
|
12967
|
+
detail?: string;
|
|
12968
|
+
instance?: string;
|
|
12969
|
+
code?: string;
|
|
12970
|
+
errors?: Array<{
|
|
12971
|
+
path: string;
|
|
12972
|
+
message: string;
|
|
12973
|
+
summary?: string;
|
|
12974
|
+
}>;
|
|
12975
|
+
meta?: {
|
|
12976
|
+
[key: string]: unknown;
|
|
12977
|
+
};
|
|
12978
|
+
};
|
|
12979
|
+
/**
|
|
12980
|
+
* Response for status 500
|
|
12981
|
+
*/
|
|
12982
|
+
500: {
|
|
12983
|
+
type: string;
|
|
12984
|
+
title: string;
|
|
12985
|
+
status: number;
|
|
12986
|
+
detail?: string;
|
|
12987
|
+
instance?: string;
|
|
12988
|
+
code?: string;
|
|
12989
|
+
errors?: Array<{
|
|
12990
|
+
path: string;
|
|
12991
|
+
message: string;
|
|
12992
|
+
summary?: string;
|
|
12993
|
+
}>;
|
|
12994
|
+
meta?: {
|
|
12995
|
+
[key: string]: unknown;
|
|
12996
|
+
};
|
|
12997
|
+
};
|
|
12998
|
+
};
|
|
12999
|
+
export type GetApiProjectsByProjectIdConversationsError = GetApiProjectsByProjectIdConversationsErrors[keyof GetApiProjectsByProjectIdConversationsErrors];
|
|
13000
|
+
export type GetApiProjectsByProjectIdConversationsResponses = {
|
|
13001
|
+
/**
|
|
13002
|
+
* Response for status 200
|
|
13003
|
+
*/
|
|
13004
|
+
200: {
|
|
13005
|
+
conversations: Array<{
|
|
13006
|
+
id: string;
|
|
13007
|
+
taskId: string;
|
|
13008
|
+
preview: string;
|
|
13009
|
+
creator: {
|
|
13010
|
+
userId: string;
|
|
13011
|
+
username: string | null;
|
|
13012
|
+
image: string | null;
|
|
13013
|
+
} | null;
|
|
13014
|
+
state: 'queued' | 'running' | 'retry_queued' | 'waiting' | 'failed' | 'ended';
|
|
13015
|
+
lastActivityAt: string;
|
|
13016
|
+
shortCommit: string | null;
|
|
13017
|
+
createdAt: string;
|
|
13018
|
+
}>;
|
|
13019
|
+
nextCursor: string | null;
|
|
13020
|
+
};
|
|
13021
|
+
};
|
|
13022
|
+
export type GetApiProjectsByProjectIdConversationsResponse = GetApiProjectsByProjectIdConversationsResponses[keyof GetApiProjectsByProjectIdConversationsResponses];
|
|
13023
|
+
export type PostApiProjectsByProjectIdConversationsData = {
|
|
13024
|
+
body: {
|
|
13025
|
+
body: string;
|
|
13026
|
+
};
|
|
13027
|
+
path: {
|
|
13028
|
+
projectId: string;
|
|
13029
|
+
};
|
|
13030
|
+
query?: never;
|
|
13031
|
+
url: '/api/projects/{projectId}/conversations';
|
|
13032
|
+
};
|
|
13033
|
+
export type PostApiProjectsByProjectIdConversationsErrors = {
|
|
13034
|
+
/**
|
|
13035
|
+
* Response for status 401
|
|
13036
|
+
*/
|
|
13037
|
+
401: {
|
|
13038
|
+
type: string;
|
|
13039
|
+
title: string;
|
|
13040
|
+
status: number;
|
|
13041
|
+
detail?: string;
|
|
13042
|
+
instance?: string;
|
|
13043
|
+
code?: string;
|
|
13044
|
+
errors?: Array<{
|
|
13045
|
+
path: string;
|
|
13046
|
+
message: string;
|
|
13047
|
+
summary?: string;
|
|
13048
|
+
}>;
|
|
13049
|
+
meta?: {
|
|
13050
|
+
[key: string]: unknown;
|
|
13051
|
+
};
|
|
13052
|
+
};
|
|
13053
|
+
/**
|
|
13054
|
+
* Response for status 403
|
|
13055
|
+
*/
|
|
13056
|
+
403: {
|
|
13057
|
+
type: string;
|
|
13058
|
+
title: string;
|
|
13059
|
+
status: number;
|
|
13060
|
+
detail?: string;
|
|
13061
|
+
instance?: string;
|
|
13062
|
+
code?: string;
|
|
13063
|
+
errors?: Array<{
|
|
13064
|
+
path: string;
|
|
13065
|
+
message: string;
|
|
13066
|
+
summary?: string;
|
|
13067
|
+
}>;
|
|
13068
|
+
meta?: {
|
|
13069
|
+
[key: string]: unknown;
|
|
13070
|
+
};
|
|
13071
|
+
};
|
|
13072
|
+
/**
|
|
13073
|
+
* Response for status 404
|
|
13074
|
+
*/
|
|
13075
|
+
404: {
|
|
13076
|
+
type: string;
|
|
13077
|
+
title: string;
|
|
13078
|
+
status: number;
|
|
13079
|
+
detail?: string;
|
|
13080
|
+
instance?: string;
|
|
13081
|
+
code?: string;
|
|
13082
|
+
errors?: Array<{
|
|
13083
|
+
path: string;
|
|
13084
|
+
message: string;
|
|
13085
|
+
summary?: string;
|
|
13086
|
+
}>;
|
|
13087
|
+
meta?: {
|
|
13088
|
+
[key: string]: unknown;
|
|
13089
|
+
};
|
|
13090
|
+
};
|
|
13091
|
+
/**
|
|
13092
|
+
* Response for status 409
|
|
13093
|
+
*/
|
|
13094
|
+
409: {
|
|
13095
|
+
type: string;
|
|
13096
|
+
title: string;
|
|
13097
|
+
status: number;
|
|
13098
|
+
detail?: string;
|
|
13099
|
+
instance?: string;
|
|
13100
|
+
code?: string;
|
|
13101
|
+
errors?: Array<{
|
|
13102
|
+
path: string;
|
|
13103
|
+
message: string;
|
|
13104
|
+
summary?: string;
|
|
13105
|
+
}>;
|
|
13106
|
+
meta?: {
|
|
13107
|
+
[key: string]: unknown;
|
|
13108
|
+
};
|
|
13109
|
+
};
|
|
13110
|
+
/**
|
|
13111
|
+
* Response for status 422
|
|
13112
|
+
*/
|
|
13113
|
+
422: {
|
|
13114
|
+
type: string;
|
|
13115
|
+
title: string;
|
|
13116
|
+
status: number;
|
|
13117
|
+
detail?: string;
|
|
13118
|
+
instance?: string;
|
|
13119
|
+
code?: string;
|
|
13120
|
+
errors?: Array<{
|
|
13121
|
+
path: string;
|
|
13122
|
+
message: string;
|
|
13123
|
+
summary?: string;
|
|
13124
|
+
}>;
|
|
13125
|
+
meta?: {
|
|
13126
|
+
[key: string]: unknown;
|
|
13127
|
+
};
|
|
13128
|
+
};
|
|
13129
|
+
/**
|
|
13130
|
+
* Response for status 500
|
|
13131
|
+
*/
|
|
13132
|
+
500: {
|
|
13133
|
+
type: string;
|
|
13134
|
+
title: string;
|
|
13135
|
+
status: number;
|
|
13136
|
+
detail?: string;
|
|
13137
|
+
instance?: string;
|
|
13138
|
+
code?: string;
|
|
13139
|
+
errors?: Array<{
|
|
13140
|
+
path: string;
|
|
13141
|
+
message: string;
|
|
13142
|
+
summary?: string;
|
|
13143
|
+
}>;
|
|
13144
|
+
meta?: {
|
|
13145
|
+
[key: string]: unknown;
|
|
13146
|
+
};
|
|
13147
|
+
};
|
|
13148
|
+
};
|
|
13149
|
+
export type PostApiProjectsByProjectIdConversationsError = PostApiProjectsByProjectIdConversationsErrors[keyof PostApiProjectsByProjectIdConversationsErrors];
|
|
13150
|
+
export type PostApiProjectsByProjectIdConversationsResponses = {
|
|
13151
|
+
/**
|
|
13152
|
+
* Response for status 201
|
|
13153
|
+
*/
|
|
13154
|
+
201: {
|
|
13155
|
+
id: string;
|
|
13156
|
+
projectId: string;
|
|
13157
|
+
workItemId: string | null;
|
|
13158
|
+
status: 'agent_turn' | 'waiting_for_person' | 'reply_pending' | 'closed';
|
|
13159
|
+
messages: Array<{
|
|
13160
|
+
id: string;
|
|
13161
|
+
authorKind: 'agent' | 'person' | 'system';
|
|
13162
|
+
authorName: string | null;
|
|
13163
|
+
taskRunId: string | null;
|
|
13164
|
+
body: string;
|
|
13165
|
+
createdAt: string;
|
|
13166
|
+
}>;
|
|
13167
|
+
visit: {
|
|
13168
|
+
pipelineExecutionId: string;
|
|
13169
|
+
visitId: string;
|
|
13170
|
+
nodeId: string;
|
|
13171
|
+
} | null;
|
|
13172
|
+
endsWith: 'findings' | 'conversation' | null;
|
|
13173
|
+
createdAt: string;
|
|
13174
|
+
closedAt: string | null;
|
|
13175
|
+
taskId?: string;
|
|
13176
|
+
creator?: {
|
|
13177
|
+
userId: string;
|
|
13178
|
+
username: string | null;
|
|
13179
|
+
image: string | null;
|
|
13180
|
+
} | null;
|
|
13181
|
+
context?: {
|
|
13182
|
+
kind: 'project_repo';
|
|
13183
|
+
repository: string;
|
|
13184
|
+
branch: string | null;
|
|
13185
|
+
commit: string | null;
|
|
13186
|
+
pinnedAt: string | null;
|
|
13187
|
+
};
|
|
13188
|
+
state?: 'queued' | 'running' | 'retry_queued' | 'waiting' | 'failed' | 'ended';
|
|
13189
|
+
latestRun?: {
|
|
13190
|
+
id: string;
|
|
13191
|
+
status: 'pending' | 'queued' | 'running' | 'succeeded' | 'failed' | 'timeout' | 'abandoned' | 'cancelled' | 'skipped' | 'yielded';
|
|
13192
|
+
reason: 'initial' | 'retry' | 'continuation';
|
|
13193
|
+
} | null;
|
|
13194
|
+
error?: {
|
|
13195
|
+
code: string;
|
|
13196
|
+
message: string;
|
|
13197
|
+
} | null;
|
|
13198
|
+
capabilities?: {
|
|
13199
|
+
canReply: boolean;
|
|
13200
|
+
canRetry: boolean;
|
|
13201
|
+
canEnd: boolean;
|
|
13202
|
+
canDelete: boolean;
|
|
13203
|
+
};
|
|
13204
|
+
};
|
|
13205
|
+
};
|
|
13206
|
+
export type PostApiProjectsByProjectIdConversationsResponse = PostApiProjectsByProjectIdConversationsResponses[keyof PostApiProjectsByProjectIdConversationsResponses];
|
|
13207
|
+
export type PostApiConversationsByConversationIdMessagesData = {
|
|
13208
|
+
body: {
|
|
13209
|
+
body: string;
|
|
13210
|
+
};
|
|
13211
|
+
path: {
|
|
13212
|
+
conversationId: string;
|
|
13213
|
+
};
|
|
13214
|
+
query?: never;
|
|
13215
|
+
url: '/api/conversations/{conversationId}/messages';
|
|
13216
|
+
};
|
|
13217
|
+
export type PostApiConversationsByConversationIdMessagesErrors = {
|
|
13218
|
+
/**
|
|
13219
|
+
* Response for status 401
|
|
13220
|
+
*/
|
|
13221
|
+
401: {
|
|
13222
|
+
type: string;
|
|
13223
|
+
title: string;
|
|
13224
|
+
status: number;
|
|
13225
|
+
detail?: string;
|
|
13226
|
+
instance?: string;
|
|
13227
|
+
code?: string;
|
|
13228
|
+
errors?: Array<{
|
|
13229
|
+
path: string;
|
|
13230
|
+
message: string;
|
|
13231
|
+
summary?: string;
|
|
13232
|
+
}>;
|
|
13233
|
+
meta?: {
|
|
13234
|
+
[key: string]: unknown;
|
|
13235
|
+
};
|
|
13236
|
+
};
|
|
13237
|
+
/**
|
|
13238
|
+
* Response for status 403
|
|
13239
|
+
*/
|
|
13240
|
+
403: {
|
|
13241
|
+
type: string;
|
|
13242
|
+
title: string;
|
|
13243
|
+
status: number;
|
|
13244
|
+
detail?: string;
|
|
13245
|
+
instance?: string;
|
|
13246
|
+
code?: string;
|
|
13247
|
+
errors?: Array<{
|
|
13248
|
+
path: string;
|
|
13249
|
+
message: string;
|
|
13250
|
+
summary?: string;
|
|
13251
|
+
}>;
|
|
13252
|
+
meta?: {
|
|
13253
|
+
[key: string]: unknown;
|
|
13254
|
+
};
|
|
13255
|
+
};
|
|
13256
|
+
/**
|
|
13257
|
+
* Response for status 404
|
|
13258
|
+
*/
|
|
13259
|
+
404: {
|
|
13260
|
+
type: string;
|
|
13261
|
+
title: string;
|
|
13262
|
+
status: number;
|
|
13263
|
+
detail?: string;
|
|
13264
|
+
instance?: string;
|
|
13265
|
+
code?: string;
|
|
13266
|
+
errors?: Array<{
|
|
13267
|
+
path: string;
|
|
13268
|
+
message: string;
|
|
13269
|
+
summary?: string;
|
|
13270
|
+
}>;
|
|
13271
|
+
meta?: {
|
|
13272
|
+
[key: string]: unknown;
|
|
13273
|
+
};
|
|
13274
|
+
};
|
|
13275
|
+
/**
|
|
13276
|
+
* Response for status 409
|
|
13277
|
+
*/
|
|
13278
|
+
409: {
|
|
13279
|
+
type: string;
|
|
13280
|
+
title: string;
|
|
13281
|
+
status: number;
|
|
13282
|
+
detail?: string;
|
|
13283
|
+
instance?: string;
|
|
13284
|
+
code?: string;
|
|
13285
|
+
errors?: Array<{
|
|
13286
|
+
path: string;
|
|
13287
|
+
message: string;
|
|
13288
|
+
summary?: string;
|
|
13289
|
+
}>;
|
|
13290
|
+
meta?: {
|
|
13291
|
+
[key: string]: unknown;
|
|
13292
|
+
};
|
|
13293
|
+
};
|
|
13294
|
+
/**
|
|
13295
|
+
* Response for status 422
|
|
13296
|
+
*/
|
|
13297
|
+
422: {
|
|
13298
|
+
type: string;
|
|
13299
|
+
title: string;
|
|
13300
|
+
status: number;
|
|
13301
|
+
detail?: string;
|
|
13302
|
+
instance?: string;
|
|
13303
|
+
code?: string;
|
|
13304
|
+
errors?: Array<{
|
|
13305
|
+
path: string;
|
|
13306
|
+
message: string;
|
|
13307
|
+
summary?: string;
|
|
13308
|
+
}>;
|
|
13309
|
+
meta?: {
|
|
13310
|
+
[key: string]: unknown;
|
|
13311
|
+
};
|
|
13312
|
+
};
|
|
13313
|
+
/**
|
|
13314
|
+
* Response for status 500
|
|
13315
|
+
*/
|
|
13316
|
+
500: {
|
|
13317
|
+
type: string;
|
|
13318
|
+
title: string;
|
|
13319
|
+
status: number;
|
|
13320
|
+
detail?: string;
|
|
13321
|
+
instance?: string;
|
|
13322
|
+
code?: string;
|
|
13323
|
+
errors?: Array<{
|
|
13324
|
+
path: string;
|
|
13325
|
+
message: string;
|
|
13326
|
+
summary?: string;
|
|
13327
|
+
}>;
|
|
13328
|
+
meta?: {
|
|
13329
|
+
[key: string]: unknown;
|
|
13330
|
+
};
|
|
13331
|
+
};
|
|
13332
|
+
};
|
|
13333
|
+
export type PostApiConversationsByConversationIdMessagesError = PostApiConversationsByConversationIdMessagesErrors[keyof PostApiConversationsByConversationIdMessagesErrors];
|
|
13334
|
+
export type PostApiConversationsByConversationIdMessagesResponses = {
|
|
13335
|
+
/**
|
|
13336
|
+
* Response for status 200
|
|
13337
|
+
*/
|
|
13338
|
+
200: {
|
|
13339
|
+
id: string;
|
|
13340
|
+
projectId: string;
|
|
13341
|
+
workItemId: string | null;
|
|
13342
|
+
status: 'agent_turn' | 'waiting_for_person' | 'reply_pending' | 'closed';
|
|
13343
|
+
messages: Array<{
|
|
13344
|
+
id: string;
|
|
13345
|
+
authorKind: 'agent' | 'person' | 'system';
|
|
13346
|
+
authorName: string | null;
|
|
13347
|
+
taskRunId: string | null;
|
|
13348
|
+
body: string;
|
|
13349
|
+
createdAt: string;
|
|
13350
|
+
}>;
|
|
13351
|
+
visit: {
|
|
13352
|
+
pipelineExecutionId: string;
|
|
13353
|
+
visitId: string;
|
|
13354
|
+
nodeId: string;
|
|
13355
|
+
} | null;
|
|
13356
|
+
endsWith: 'findings' | 'conversation' | null;
|
|
13357
|
+
createdAt: string;
|
|
13358
|
+
closedAt: string | null;
|
|
13359
|
+
taskId?: string;
|
|
13360
|
+
creator?: {
|
|
13361
|
+
userId: string;
|
|
13362
|
+
username: string | null;
|
|
13363
|
+
image: string | null;
|
|
13364
|
+
} | null;
|
|
13365
|
+
context?: {
|
|
13366
|
+
kind: 'project_repo';
|
|
13367
|
+
repository: string;
|
|
13368
|
+
branch: string | null;
|
|
13369
|
+
commit: string | null;
|
|
13370
|
+
pinnedAt: string | null;
|
|
13371
|
+
};
|
|
13372
|
+
state?: 'queued' | 'running' | 'retry_queued' | 'waiting' | 'failed' | 'ended';
|
|
13373
|
+
latestRun?: {
|
|
13374
|
+
id: string;
|
|
13375
|
+
status: 'pending' | 'queued' | 'running' | 'succeeded' | 'failed' | 'timeout' | 'abandoned' | 'cancelled' | 'skipped' | 'yielded';
|
|
13376
|
+
reason: 'initial' | 'retry' | 'continuation';
|
|
13377
|
+
} | null;
|
|
13378
|
+
error?: {
|
|
13379
|
+
code: string;
|
|
13380
|
+
message: string;
|
|
13381
|
+
} | null;
|
|
13382
|
+
capabilities?: {
|
|
13383
|
+
canReply: boolean;
|
|
13384
|
+
canRetry: boolean;
|
|
13385
|
+
canEnd: boolean;
|
|
13386
|
+
canDelete: boolean;
|
|
13387
|
+
};
|
|
13388
|
+
};
|
|
13389
|
+
};
|
|
13390
|
+
export type PostApiConversationsByConversationIdMessagesResponse = PostApiConversationsByConversationIdMessagesResponses[keyof PostApiConversationsByConversationIdMessagesResponses];
|
|
13391
|
+
export type PostApiConversationsByConversationIdContinueData = {
|
|
13392
|
+
body?: never;
|
|
12537
13393
|
path: {
|
|
12538
13394
|
conversationId: string;
|
|
12539
13395
|
};
|
|
12540
13396
|
query?: never;
|
|
12541
|
-
url: '/api/conversations/{conversationId}/
|
|
13397
|
+
url: '/api/conversations/{conversationId}/continue';
|
|
12542
13398
|
};
|
|
12543
|
-
export type
|
|
13399
|
+
export type PostApiConversationsByConversationIdContinueErrors = {
|
|
12544
13400
|
/**
|
|
12545
13401
|
* Response for status 401
|
|
12546
13402
|
*/
|
|
@@ -12656,8 +13512,8 @@ export type PostApiConversationsByConversationIdMessagesErrors = {
|
|
|
12656
13512
|
};
|
|
12657
13513
|
};
|
|
12658
13514
|
};
|
|
12659
|
-
export type
|
|
12660
|
-
export type
|
|
13515
|
+
export type PostApiConversationsByConversationIdContinueError = PostApiConversationsByConversationIdContinueErrors[keyof PostApiConversationsByConversationIdContinueErrors];
|
|
13516
|
+
export type PostApiConversationsByConversationIdContinueResponses = {
|
|
12661
13517
|
/**
|
|
12662
13518
|
* Response for status 200
|
|
12663
13519
|
*/
|
|
@@ -12682,18 +13538,47 @@ export type PostApiConversationsByConversationIdMessagesResponses = {
|
|
|
12682
13538
|
endsWith: 'findings' | 'conversation' | null;
|
|
12683
13539
|
createdAt: string;
|
|
12684
13540
|
closedAt: string | null;
|
|
13541
|
+
taskId?: string;
|
|
13542
|
+
creator?: {
|
|
13543
|
+
userId: string;
|
|
13544
|
+
username: string | null;
|
|
13545
|
+
image: string | null;
|
|
13546
|
+
} | null;
|
|
13547
|
+
context?: {
|
|
13548
|
+
kind: 'project_repo';
|
|
13549
|
+
repository: string;
|
|
13550
|
+
branch: string | null;
|
|
13551
|
+
commit: string | null;
|
|
13552
|
+
pinnedAt: string | null;
|
|
13553
|
+
};
|
|
13554
|
+
state?: 'queued' | 'running' | 'retry_queued' | 'waiting' | 'failed' | 'ended';
|
|
13555
|
+
latestRun?: {
|
|
13556
|
+
id: string;
|
|
13557
|
+
status: 'pending' | 'queued' | 'running' | 'succeeded' | 'failed' | 'timeout' | 'abandoned' | 'cancelled' | 'skipped' | 'yielded';
|
|
13558
|
+
reason: 'initial' | 'retry' | 'continuation';
|
|
13559
|
+
} | null;
|
|
13560
|
+
error?: {
|
|
13561
|
+
code: string;
|
|
13562
|
+
message: string;
|
|
13563
|
+
} | null;
|
|
13564
|
+
capabilities?: {
|
|
13565
|
+
canReply: boolean;
|
|
13566
|
+
canRetry: boolean;
|
|
13567
|
+
canEnd: boolean;
|
|
13568
|
+
canDelete: boolean;
|
|
13569
|
+
};
|
|
12685
13570
|
};
|
|
12686
13571
|
};
|
|
12687
|
-
export type
|
|
12688
|
-
export type
|
|
13572
|
+
export type PostApiConversationsByConversationIdContinueResponse = PostApiConversationsByConversationIdContinueResponses[keyof PostApiConversationsByConversationIdContinueResponses];
|
|
13573
|
+
export type PostApiConversationsByConversationIdDoneData = {
|
|
12689
13574
|
body?: never;
|
|
12690
13575
|
path: {
|
|
12691
13576
|
conversationId: string;
|
|
12692
13577
|
};
|
|
12693
13578
|
query?: never;
|
|
12694
|
-
url: '/api/conversations/{conversationId}/
|
|
13579
|
+
url: '/api/conversations/{conversationId}/done';
|
|
12695
13580
|
};
|
|
12696
|
-
export type
|
|
13581
|
+
export type PostApiConversationsByConversationIdDoneErrors = {
|
|
12697
13582
|
/**
|
|
12698
13583
|
* Response for status 401
|
|
12699
13584
|
*/
|
|
@@ -12809,8 +13694,8 @@ export type PostApiConversationsByConversationIdContinueErrors = {
|
|
|
12809
13694
|
};
|
|
12810
13695
|
};
|
|
12811
13696
|
};
|
|
12812
|
-
export type
|
|
12813
|
-
export type
|
|
13697
|
+
export type PostApiConversationsByConversationIdDoneError = PostApiConversationsByConversationIdDoneErrors[keyof PostApiConversationsByConversationIdDoneErrors];
|
|
13698
|
+
export type PostApiConversationsByConversationIdDoneResponses = {
|
|
12814
13699
|
/**
|
|
12815
13700
|
* Response for status 200
|
|
12816
13701
|
*/
|
|
@@ -12835,18 +13720,231 @@ export type PostApiConversationsByConversationIdContinueResponses = {
|
|
|
12835
13720
|
endsWith: 'findings' | 'conversation' | null;
|
|
12836
13721
|
createdAt: string;
|
|
12837
13722
|
closedAt: string | null;
|
|
13723
|
+
taskId?: string;
|
|
13724
|
+
creator?: {
|
|
13725
|
+
userId: string;
|
|
13726
|
+
username: string | null;
|
|
13727
|
+
image: string | null;
|
|
13728
|
+
} | null;
|
|
13729
|
+
context?: {
|
|
13730
|
+
kind: 'project_repo';
|
|
13731
|
+
repository: string;
|
|
13732
|
+
branch: string | null;
|
|
13733
|
+
commit: string | null;
|
|
13734
|
+
pinnedAt: string | null;
|
|
13735
|
+
};
|
|
13736
|
+
state?: 'queued' | 'running' | 'retry_queued' | 'waiting' | 'failed' | 'ended';
|
|
13737
|
+
latestRun?: {
|
|
13738
|
+
id: string;
|
|
13739
|
+
status: 'pending' | 'queued' | 'running' | 'succeeded' | 'failed' | 'timeout' | 'abandoned' | 'cancelled' | 'skipped' | 'yielded';
|
|
13740
|
+
reason: 'initial' | 'retry' | 'continuation';
|
|
13741
|
+
} | null;
|
|
13742
|
+
error?: {
|
|
13743
|
+
code: string;
|
|
13744
|
+
message: string;
|
|
13745
|
+
} | null;
|
|
13746
|
+
capabilities?: {
|
|
13747
|
+
canReply: boolean;
|
|
13748
|
+
canRetry: boolean;
|
|
13749
|
+
canEnd: boolean;
|
|
13750
|
+
canDelete: boolean;
|
|
13751
|
+
};
|
|
12838
13752
|
};
|
|
12839
13753
|
};
|
|
12840
|
-
export type
|
|
12841
|
-
export type
|
|
13754
|
+
export type PostApiConversationsByConversationIdDoneResponse = PostApiConversationsByConversationIdDoneResponses[keyof PostApiConversationsByConversationIdDoneResponses];
|
|
13755
|
+
export type PostApiConversationsByConversationIdRetryData = {
|
|
13756
|
+
body: {
|
|
13757
|
+
expectedLatestRunId: string | null;
|
|
13758
|
+
};
|
|
13759
|
+
path: {
|
|
13760
|
+
conversationId: string;
|
|
13761
|
+
};
|
|
13762
|
+
query?: never;
|
|
13763
|
+
url: '/api/conversations/{conversationId}/retry';
|
|
13764
|
+
};
|
|
13765
|
+
export type PostApiConversationsByConversationIdRetryErrors = {
|
|
13766
|
+
/**
|
|
13767
|
+
* Response for status 401
|
|
13768
|
+
*/
|
|
13769
|
+
401: {
|
|
13770
|
+
type: string;
|
|
13771
|
+
title: string;
|
|
13772
|
+
status: number;
|
|
13773
|
+
detail?: string;
|
|
13774
|
+
instance?: string;
|
|
13775
|
+
code?: string;
|
|
13776
|
+
errors?: Array<{
|
|
13777
|
+
path: string;
|
|
13778
|
+
message: string;
|
|
13779
|
+
summary?: string;
|
|
13780
|
+
}>;
|
|
13781
|
+
meta?: {
|
|
13782
|
+
[key: string]: unknown;
|
|
13783
|
+
};
|
|
13784
|
+
};
|
|
13785
|
+
/**
|
|
13786
|
+
* Response for status 403
|
|
13787
|
+
*/
|
|
13788
|
+
403: {
|
|
13789
|
+
type: string;
|
|
13790
|
+
title: string;
|
|
13791
|
+
status: number;
|
|
13792
|
+
detail?: string;
|
|
13793
|
+
instance?: string;
|
|
13794
|
+
code?: string;
|
|
13795
|
+
errors?: Array<{
|
|
13796
|
+
path: string;
|
|
13797
|
+
message: string;
|
|
13798
|
+
summary?: string;
|
|
13799
|
+
}>;
|
|
13800
|
+
meta?: {
|
|
13801
|
+
[key: string]: unknown;
|
|
13802
|
+
};
|
|
13803
|
+
};
|
|
13804
|
+
/**
|
|
13805
|
+
* Response for status 404
|
|
13806
|
+
*/
|
|
13807
|
+
404: {
|
|
13808
|
+
type: string;
|
|
13809
|
+
title: string;
|
|
13810
|
+
status: number;
|
|
13811
|
+
detail?: string;
|
|
13812
|
+
instance?: string;
|
|
13813
|
+
code?: string;
|
|
13814
|
+
errors?: Array<{
|
|
13815
|
+
path: string;
|
|
13816
|
+
message: string;
|
|
13817
|
+
summary?: string;
|
|
13818
|
+
}>;
|
|
13819
|
+
meta?: {
|
|
13820
|
+
[key: string]: unknown;
|
|
13821
|
+
};
|
|
13822
|
+
};
|
|
13823
|
+
/**
|
|
13824
|
+
* Response for status 409
|
|
13825
|
+
*/
|
|
13826
|
+
409: {
|
|
13827
|
+
type: string;
|
|
13828
|
+
title: string;
|
|
13829
|
+
status: number;
|
|
13830
|
+
detail?: string;
|
|
13831
|
+
instance?: string;
|
|
13832
|
+
code?: string;
|
|
13833
|
+
errors?: Array<{
|
|
13834
|
+
path: string;
|
|
13835
|
+
message: string;
|
|
13836
|
+
summary?: string;
|
|
13837
|
+
}>;
|
|
13838
|
+
meta?: {
|
|
13839
|
+
[key: string]: unknown;
|
|
13840
|
+
};
|
|
13841
|
+
};
|
|
13842
|
+
/**
|
|
13843
|
+
* Response for status 422
|
|
13844
|
+
*/
|
|
13845
|
+
422: {
|
|
13846
|
+
type: string;
|
|
13847
|
+
title: string;
|
|
13848
|
+
status: number;
|
|
13849
|
+
detail?: string;
|
|
13850
|
+
instance?: string;
|
|
13851
|
+
code?: string;
|
|
13852
|
+
errors?: Array<{
|
|
13853
|
+
path: string;
|
|
13854
|
+
message: string;
|
|
13855
|
+
summary?: string;
|
|
13856
|
+
}>;
|
|
13857
|
+
meta?: {
|
|
13858
|
+
[key: string]: unknown;
|
|
13859
|
+
};
|
|
13860
|
+
};
|
|
13861
|
+
/**
|
|
13862
|
+
* Response for status 500
|
|
13863
|
+
*/
|
|
13864
|
+
500: {
|
|
13865
|
+
type: string;
|
|
13866
|
+
title: string;
|
|
13867
|
+
status: number;
|
|
13868
|
+
detail?: string;
|
|
13869
|
+
instance?: string;
|
|
13870
|
+
code?: string;
|
|
13871
|
+
errors?: Array<{
|
|
13872
|
+
path: string;
|
|
13873
|
+
message: string;
|
|
13874
|
+
summary?: string;
|
|
13875
|
+
}>;
|
|
13876
|
+
meta?: {
|
|
13877
|
+
[key: string]: unknown;
|
|
13878
|
+
};
|
|
13879
|
+
};
|
|
13880
|
+
};
|
|
13881
|
+
export type PostApiConversationsByConversationIdRetryError = PostApiConversationsByConversationIdRetryErrors[keyof PostApiConversationsByConversationIdRetryErrors];
|
|
13882
|
+
export type PostApiConversationsByConversationIdRetryResponses = {
|
|
13883
|
+
/**
|
|
13884
|
+
* Response for status 200
|
|
13885
|
+
*/
|
|
13886
|
+
200: {
|
|
13887
|
+
id: string;
|
|
13888
|
+
projectId: string;
|
|
13889
|
+
workItemId: string | null;
|
|
13890
|
+
status: 'agent_turn' | 'waiting_for_person' | 'reply_pending' | 'closed';
|
|
13891
|
+
messages: Array<{
|
|
13892
|
+
id: string;
|
|
13893
|
+
authorKind: 'agent' | 'person' | 'system';
|
|
13894
|
+
authorName: string | null;
|
|
13895
|
+
taskRunId: string | null;
|
|
13896
|
+
body: string;
|
|
13897
|
+
createdAt: string;
|
|
13898
|
+
}>;
|
|
13899
|
+
visit: {
|
|
13900
|
+
pipelineExecutionId: string;
|
|
13901
|
+
visitId: string;
|
|
13902
|
+
nodeId: string;
|
|
13903
|
+
} | null;
|
|
13904
|
+
endsWith: 'findings' | 'conversation' | null;
|
|
13905
|
+
createdAt: string;
|
|
13906
|
+
closedAt: string | null;
|
|
13907
|
+
taskId?: string;
|
|
13908
|
+
creator?: {
|
|
13909
|
+
userId: string;
|
|
13910
|
+
username: string | null;
|
|
13911
|
+
image: string | null;
|
|
13912
|
+
} | null;
|
|
13913
|
+
context?: {
|
|
13914
|
+
kind: 'project_repo';
|
|
13915
|
+
repository: string;
|
|
13916
|
+
branch: string | null;
|
|
13917
|
+
commit: string | null;
|
|
13918
|
+
pinnedAt: string | null;
|
|
13919
|
+
};
|
|
13920
|
+
state?: 'queued' | 'running' | 'retry_queued' | 'waiting' | 'failed' | 'ended';
|
|
13921
|
+
latestRun?: {
|
|
13922
|
+
id: string;
|
|
13923
|
+
status: 'pending' | 'queued' | 'running' | 'succeeded' | 'failed' | 'timeout' | 'abandoned' | 'cancelled' | 'skipped' | 'yielded';
|
|
13924
|
+
reason: 'initial' | 'retry' | 'continuation';
|
|
13925
|
+
} | null;
|
|
13926
|
+
error?: {
|
|
13927
|
+
code: string;
|
|
13928
|
+
message: string;
|
|
13929
|
+
} | null;
|
|
13930
|
+
capabilities?: {
|
|
13931
|
+
canReply: boolean;
|
|
13932
|
+
canRetry: boolean;
|
|
13933
|
+
canEnd: boolean;
|
|
13934
|
+
canDelete: boolean;
|
|
13935
|
+
};
|
|
13936
|
+
};
|
|
13937
|
+
};
|
|
13938
|
+
export type PostApiConversationsByConversationIdRetryResponse = PostApiConversationsByConversationIdRetryResponses[keyof PostApiConversationsByConversationIdRetryResponses];
|
|
13939
|
+
export type PostApiConversationsByConversationIdEndData = {
|
|
12842
13940
|
body?: never;
|
|
12843
13941
|
path: {
|
|
12844
13942
|
conversationId: string;
|
|
12845
13943
|
};
|
|
12846
13944
|
query?: never;
|
|
12847
|
-
url: '/api/conversations/{conversationId}/
|
|
13945
|
+
url: '/api/conversations/{conversationId}/end';
|
|
12848
13946
|
};
|
|
12849
|
-
export type
|
|
13947
|
+
export type PostApiConversationsByConversationIdEndErrors = {
|
|
12850
13948
|
/**
|
|
12851
13949
|
* Response for status 401
|
|
12852
13950
|
*/
|
|
@@ -12962,8 +14060,8 @@ export type PostApiConversationsByConversationIdDoneErrors = {
|
|
|
12962
14060
|
};
|
|
12963
14061
|
};
|
|
12964
14062
|
};
|
|
12965
|
-
export type
|
|
12966
|
-
export type
|
|
14063
|
+
export type PostApiConversationsByConversationIdEndError = PostApiConversationsByConversationIdEndErrors[keyof PostApiConversationsByConversationIdEndErrors];
|
|
14064
|
+
export type PostApiConversationsByConversationIdEndResponses = {
|
|
12967
14065
|
/**
|
|
12968
14066
|
* Response for status 200
|
|
12969
14067
|
*/
|
|
@@ -12988,9 +14086,38 @@ export type PostApiConversationsByConversationIdDoneResponses = {
|
|
|
12988
14086
|
endsWith: 'findings' | 'conversation' | null;
|
|
12989
14087
|
createdAt: string;
|
|
12990
14088
|
closedAt: string | null;
|
|
14089
|
+
taskId?: string;
|
|
14090
|
+
creator?: {
|
|
14091
|
+
userId: string;
|
|
14092
|
+
username: string | null;
|
|
14093
|
+
image: string | null;
|
|
14094
|
+
} | null;
|
|
14095
|
+
context?: {
|
|
14096
|
+
kind: 'project_repo';
|
|
14097
|
+
repository: string;
|
|
14098
|
+
branch: string | null;
|
|
14099
|
+
commit: string | null;
|
|
14100
|
+
pinnedAt: string | null;
|
|
14101
|
+
};
|
|
14102
|
+
state?: 'queued' | 'running' | 'retry_queued' | 'waiting' | 'failed' | 'ended';
|
|
14103
|
+
latestRun?: {
|
|
14104
|
+
id: string;
|
|
14105
|
+
status: 'pending' | 'queued' | 'running' | 'succeeded' | 'failed' | 'timeout' | 'abandoned' | 'cancelled' | 'skipped' | 'yielded';
|
|
14106
|
+
reason: 'initial' | 'retry' | 'continuation';
|
|
14107
|
+
} | null;
|
|
14108
|
+
error?: {
|
|
14109
|
+
code: string;
|
|
14110
|
+
message: string;
|
|
14111
|
+
} | null;
|
|
14112
|
+
capabilities?: {
|
|
14113
|
+
canReply: boolean;
|
|
14114
|
+
canRetry: boolean;
|
|
14115
|
+
canEnd: boolean;
|
|
14116
|
+
canDelete: boolean;
|
|
14117
|
+
};
|
|
12991
14118
|
};
|
|
12992
14119
|
};
|
|
12993
|
-
export type
|
|
14120
|
+
export type PostApiConversationsByConversationIdEndResponse = PostApiConversationsByConversationIdEndResponses[keyof PostApiConversationsByConversationIdEndResponses];
|
|
12994
14121
|
export type DeleteApiWorkItemsByWorkItemIdData = {
|
|
12995
14122
|
body?: never;
|
|
12996
14123
|
path: {
|
|
@@ -20910,6 +22037,7 @@ export type GetApiOrgsByOrgIdUsageResponses = {
|
|
|
20910
22037
|
storageBreakdown: {
|
|
20911
22038
|
artifactBytes: number;
|
|
20912
22039
|
logBytes: number;
|
|
22040
|
+
sessionBytes: number;
|
|
20913
22041
|
};
|
|
20914
22042
|
limits: {
|
|
20915
22043
|
maxWritesPerMonth: number;
|