@blade-hq/agent-kit 0.5.10 → 0.5.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/client/index.d.ts +472 -0
- package/package.json +1 -1
package/dist/client/index.d.ts
CHANGED
|
@@ -2975,6 +2975,77 @@ interface paths {
|
|
|
2975
2975
|
patch?: never;
|
|
2976
2976
|
trace?: never;
|
|
2977
2977
|
};
|
|
2978
|
+
"/api/factory-v2/projects/{project_id}/board-tasks": {
|
|
2979
|
+
parameters: {
|
|
2980
|
+
query?: never;
|
|
2981
|
+
header?: never;
|
|
2982
|
+
path?: never;
|
|
2983
|
+
cookie?: never;
|
|
2984
|
+
};
|
|
2985
|
+
/** List Board Tasks */
|
|
2986
|
+
get: operations["list_board_tasks_api_factory_v2_projects__project_id__board_tasks_get"];
|
|
2987
|
+
put?: never;
|
|
2988
|
+
/** Create Board Task */
|
|
2989
|
+
post: operations["create_board_task_api_factory_v2_projects__project_id__board_tasks_post"];
|
|
2990
|
+
delete?: never;
|
|
2991
|
+
options?: never;
|
|
2992
|
+
head?: never;
|
|
2993
|
+
patch?: never;
|
|
2994
|
+
trace?: never;
|
|
2995
|
+
};
|
|
2996
|
+
"/api/factory-v2/projects/{project_id}/board-tasks/{task_id}": {
|
|
2997
|
+
parameters: {
|
|
2998
|
+
query?: never;
|
|
2999
|
+
header?: never;
|
|
3000
|
+
path?: never;
|
|
3001
|
+
cookie?: never;
|
|
3002
|
+
};
|
|
3003
|
+
get?: never;
|
|
3004
|
+
put?: never;
|
|
3005
|
+
post?: never;
|
|
3006
|
+
delete?: never;
|
|
3007
|
+
options?: never;
|
|
3008
|
+
head?: never;
|
|
3009
|
+
/** Update Board Task */
|
|
3010
|
+
patch: operations["update_board_task_api_factory_v2_projects__project_id__board_tasks__task_id__patch"];
|
|
3011
|
+
trace?: never;
|
|
3012
|
+
};
|
|
3013
|
+
"/api/factory-v2/projects/{project_id}/agent-configs": {
|
|
3014
|
+
parameters: {
|
|
3015
|
+
query?: never;
|
|
3016
|
+
header?: never;
|
|
3017
|
+
path?: never;
|
|
3018
|
+
cookie?: never;
|
|
3019
|
+
};
|
|
3020
|
+
/** List Agent Configs */
|
|
3021
|
+
get: operations["list_agent_configs_api_factory_v2_projects__project_id__agent_configs_get"];
|
|
3022
|
+
put?: never;
|
|
3023
|
+
/** Create Agent Config */
|
|
3024
|
+
post: operations["create_agent_config_api_factory_v2_projects__project_id__agent_configs_post"];
|
|
3025
|
+
delete?: never;
|
|
3026
|
+
options?: never;
|
|
3027
|
+
head?: never;
|
|
3028
|
+
patch?: never;
|
|
3029
|
+
trace?: never;
|
|
3030
|
+
};
|
|
3031
|
+
"/api/factory-v2/projects/{project_id}/agent-configs/{config_id}": {
|
|
3032
|
+
parameters: {
|
|
3033
|
+
query?: never;
|
|
3034
|
+
header?: never;
|
|
3035
|
+
path?: never;
|
|
3036
|
+
cookie?: never;
|
|
3037
|
+
};
|
|
3038
|
+
get?: never;
|
|
3039
|
+
put?: never;
|
|
3040
|
+
post?: never;
|
|
3041
|
+
/** Delete Agent Config */
|
|
3042
|
+
delete: operations["delete_agent_config_api_factory_v2_projects__project_id__agent_configs__config_id__delete"];
|
|
3043
|
+
options?: never;
|
|
3044
|
+
head?: never;
|
|
3045
|
+
/** Update Agent Config */
|
|
3046
|
+
patch: operations["update_agent_config_api_factory_v2_projects__project_id__agent_configs__config_id__patch"];
|
|
3047
|
+
trace?: never;
|
|
3048
|
+
};
|
|
2978
3049
|
"/api/factory-v2/projects/{project_id}/published-apps": {
|
|
2979
3050
|
parameters: {
|
|
2980
3051
|
query?: never;
|
|
@@ -3078,6 +3149,26 @@ interface paths {
|
|
|
3078
3149
|
patch?: never;
|
|
3079
3150
|
trace?: never;
|
|
3080
3151
|
};
|
|
3152
|
+
"/api/factory-v2/projects/{project_id}/git/diff": {
|
|
3153
|
+
parameters: {
|
|
3154
|
+
query?: never;
|
|
3155
|
+
header?: never;
|
|
3156
|
+
path?: never;
|
|
3157
|
+
cookie?: never;
|
|
3158
|
+
};
|
|
3159
|
+
/**
|
|
3160
|
+
* Get Project Git Diff
|
|
3161
|
+
* @description Return diff for a single file. For untracked files, return the full content.
|
|
3162
|
+
*/
|
|
3163
|
+
get: operations["get_project_git_diff_api_factory_v2_projects__project_id__git_diff_get"];
|
|
3164
|
+
put?: never;
|
|
3165
|
+
post?: never;
|
|
3166
|
+
delete?: never;
|
|
3167
|
+
options?: never;
|
|
3168
|
+
head?: never;
|
|
3169
|
+
patch?: never;
|
|
3170
|
+
trace?: never;
|
|
3171
|
+
};
|
|
3081
3172
|
"/api/factory-v2/projects/{project_id}/git/commit-push": {
|
|
3082
3173
|
parameters: {
|
|
3083
3174
|
query?: never;
|
|
@@ -3875,6 +3966,64 @@ interface components {
|
|
|
3875
3966
|
*/
|
|
3876
3967
|
instructions: string;
|
|
3877
3968
|
};
|
|
3969
|
+
/** CreateAgentConfigRequest */
|
|
3970
|
+
CreateAgentConfigRequest: {
|
|
3971
|
+
/** Alias */
|
|
3972
|
+
alias: string;
|
|
3973
|
+
/**
|
|
3974
|
+
* Agent Key
|
|
3975
|
+
* @default
|
|
3976
|
+
*/
|
|
3977
|
+
agent_key: string;
|
|
3978
|
+
/**
|
|
3979
|
+
* Solution Id
|
|
3980
|
+
* @default
|
|
3981
|
+
*/
|
|
3982
|
+
solution_id: string;
|
|
3983
|
+
/**
|
|
3984
|
+
* Biz Role Id
|
|
3985
|
+
* @default
|
|
3986
|
+
*/
|
|
3987
|
+
biz_role_id: string;
|
|
3988
|
+
/**
|
|
3989
|
+
* Sort Order
|
|
3990
|
+
* @default 0
|
|
3991
|
+
*/
|
|
3992
|
+
sort_order: number;
|
|
3993
|
+
};
|
|
3994
|
+
/** CreateBoardTaskRequest */
|
|
3995
|
+
CreateBoardTaskRequest: {
|
|
3996
|
+
/** Title */
|
|
3997
|
+
title: string;
|
|
3998
|
+
/**
|
|
3999
|
+
* Description
|
|
4000
|
+
* @default
|
|
4001
|
+
*/
|
|
4002
|
+
description: string;
|
|
4003
|
+
/**
|
|
4004
|
+
* Status
|
|
4005
|
+
* @default unassigned
|
|
4006
|
+
*/
|
|
4007
|
+
status: string;
|
|
4008
|
+
/**
|
|
4009
|
+
* Assignee Type
|
|
4010
|
+
* @default user
|
|
4011
|
+
*/
|
|
4012
|
+
assignee_type: string;
|
|
4013
|
+
/**
|
|
4014
|
+
* Assignee Name
|
|
4015
|
+
* @default
|
|
4016
|
+
*/
|
|
4017
|
+
assignee_name: string;
|
|
4018
|
+
/** Agent Config Id */
|
|
4019
|
+
agent_config_id?: number | null;
|
|
4020
|
+
/** Session Id */
|
|
4021
|
+
session_id?: string | null;
|
|
4022
|
+
/** Solution Id */
|
|
4023
|
+
solution_id?: string | null;
|
|
4024
|
+
/** Biz Role Id */
|
|
4025
|
+
biz_role_id?: string | null;
|
|
4026
|
+
};
|
|
3878
4027
|
/** CreateProdAgentRequest */
|
|
3879
4028
|
CreateProdAgentRequest: {
|
|
3880
4029
|
/** Name */
|
|
@@ -4875,6 +5024,60 @@ interface components {
|
|
|
4875
5024
|
*/
|
|
4876
5025
|
runtime_provider: string;
|
|
4877
5026
|
};
|
|
5027
|
+
/** UpdateAgentConfigRequest */
|
|
5028
|
+
UpdateAgentConfigRequest: {
|
|
5029
|
+
/** Alias */
|
|
5030
|
+
alias?: string | null;
|
|
5031
|
+
/** Agent Key */
|
|
5032
|
+
agent_key?: string | null;
|
|
5033
|
+
/** Solution Id */
|
|
5034
|
+
solution_id?: string | null;
|
|
5035
|
+
/** Biz Role Id */
|
|
5036
|
+
biz_role_id?: string | null;
|
|
5037
|
+
/** Sort Order */
|
|
5038
|
+
sort_order?: number | null;
|
|
5039
|
+
};
|
|
5040
|
+
/** UpdateBoardTaskRequest */
|
|
5041
|
+
UpdateBoardTaskRequest: {
|
|
5042
|
+
/** Title */
|
|
5043
|
+
title?: string | null;
|
|
5044
|
+
/** Description */
|
|
5045
|
+
description?: string | null;
|
|
5046
|
+
/** Status */
|
|
5047
|
+
status?: string | null;
|
|
5048
|
+
/** Assignee Type */
|
|
5049
|
+
assignee_type?: string | null;
|
|
5050
|
+
/** Assignee Name */
|
|
5051
|
+
assignee_name?: string | null;
|
|
5052
|
+
/** Agent Config Id */
|
|
5053
|
+
agent_config_id?: number | null;
|
|
5054
|
+
/**
|
|
5055
|
+
* Clear Agent Config Id
|
|
5056
|
+
* @default false
|
|
5057
|
+
*/
|
|
5058
|
+
clear_agent_config_id: boolean;
|
|
5059
|
+
/** Session Id */
|
|
5060
|
+
session_id?: string | null;
|
|
5061
|
+
/**
|
|
5062
|
+
* Clear Session Id
|
|
5063
|
+
* @default false
|
|
5064
|
+
*/
|
|
5065
|
+
clear_session_id: boolean;
|
|
5066
|
+
/** Solution Id */
|
|
5067
|
+
solution_id?: string | null;
|
|
5068
|
+
/**
|
|
5069
|
+
* Clear Solution Id
|
|
5070
|
+
* @default false
|
|
5071
|
+
*/
|
|
5072
|
+
clear_solution_id: boolean;
|
|
5073
|
+
/** Biz Role Id */
|
|
5074
|
+
biz_role_id?: string | null;
|
|
5075
|
+
/**
|
|
5076
|
+
* Clear Biz Role Id
|
|
5077
|
+
* @default false
|
|
5078
|
+
*/
|
|
5079
|
+
clear_biz_role_id: boolean;
|
|
5080
|
+
};
|
|
4878
5081
|
/** UpdateModuleStatusRequest */
|
|
4879
5082
|
UpdateModuleStatusRequest: {
|
|
4880
5083
|
/**
|
|
@@ -12064,6 +12267,242 @@ interface operations {
|
|
|
12064
12267
|
};
|
|
12065
12268
|
};
|
|
12066
12269
|
};
|
|
12270
|
+
list_board_tasks_api_factory_v2_projects__project_id__board_tasks_get: {
|
|
12271
|
+
parameters: {
|
|
12272
|
+
query?: never;
|
|
12273
|
+
header?: never;
|
|
12274
|
+
path: {
|
|
12275
|
+
project_id: number;
|
|
12276
|
+
};
|
|
12277
|
+
cookie?: never;
|
|
12278
|
+
};
|
|
12279
|
+
requestBody?: never;
|
|
12280
|
+
responses: {
|
|
12281
|
+
/** @description Successful Response */
|
|
12282
|
+
200: {
|
|
12283
|
+
headers: {
|
|
12284
|
+
[name: string]: unknown;
|
|
12285
|
+
};
|
|
12286
|
+
content: {
|
|
12287
|
+
"application/json": unknown;
|
|
12288
|
+
};
|
|
12289
|
+
};
|
|
12290
|
+
/** @description Validation Error */
|
|
12291
|
+
422: {
|
|
12292
|
+
headers: {
|
|
12293
|
+
[name: string]: unknown;
|
|
12294
|
+
};
|
|
12295
|
+
content: {
|
|
12296
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
12297
|
+
};
|
|
12298
|
+
};
|
|
12299
|
+
};
|
|
12300
|
+
};
|
|
12301
|
+
create_board_task_api_factory_v2_projects__project_id__board_tasks_post: {
|
|
12302
|
+
parameters: {
|
|
12303
|
+
query?: never;
|
|
12304
|
+
header?: never;
|
|
12305
|
+
path: {
|
|
12306
|
+
project_id: number;
|
|
12307
|
+
};
|
|
12308
|
+
cookie?: never;
|
|
12309
|
+
};
|
|
12310
|
+
requestBody: {
|
|
12311
|
+
content: {
|
|
12312
|
+
"application/json": components["schemas"]["CreateBoardTaskRequest"];
|
|
12313
|
+
};
|
|
12314
|
+
};
|
|
12315
|
+
responses: {
|
|
12316
|
+
/** @description Successful Response */
|
|
12317
|
+
200: {
|
|
12318
|
+
headers: {
|
|
12319
|
+
[name: string]: unknown;
|
|
12320
|
+
};
|
|
12321
|
+
content: {
|
|
12322
|
+
"application/json": unknown;
|
|
12323
|
+
};
|
|
12324
|
+
};
|
|
12325
|
+
/** @description Validation Error */
|
|
12326
|
+
422: {
|
|
12327
|
+
headers: {
|
|
12328
|
+
[name: string]: unknown;
|
|
12329
|
+
};
|
|
12330
|
+
content: {
|
|
12331
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
12332
|
+
};
|
|
12333
|
+
};
|
|
12334
|
+
};
|
|
12335
|
+
};
|
|
12336
|
+
update_board_task_api_factory_v2_projects__project_id__board_tasks__task_id__patch: {
|
|
12337
|
+
parameters: {
|
|
12338
|
+
query?: never;
|
|
12339
|
+
header?: never;
|
|
12340
|
+
path: {
|
|
12341
|
+
project_id: number;
|
|
12342
|
+
task_id: number;
|
|
12343
|
+
};
|
|
12344
|
+
cookie?: never;
|
|
12345
|
+
};
|
|
12346
|
+
requestBody: {
|
|
12347
|
+
content: {
|
|
12348
|
+
"application/json": components["schemas"]["UpdateBoardTaskRequest"];
|
|
12349
|
+
};
|
|
12350
|
+
};
|
|
12351
|
+
responses: {
|
|
12352
|
+
/** @description Successful Response */
|
|
12353
|
+
200: {
|
|
12354
|
+
headers: {
|
|
12355
|
+
[name: string]: unknown;
|
|
12356
|
+
};
|
|
12357
|
+
content: {
|
|
12358
|
+
"application/json": unknown;
|
|
12359
|
+
};
|
|
12360
|
+
};
|
|
12361
|
+
/** @description Validation Error */
|
|
12362
|
+
422: {
|
|
12363
|
+
headers: {
|
|
12364
|
+
[name: string]: unknown;
|
|
12365
|
+
};
|
|
12366
|
+
content: {
|
|
12367
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
12368
|
+
};
|
|
12369
|
+
};
|
|
12370
|
+
};
|
|
12371
|
+
};
|
|
12372
|
+
list_agent_configs_api_factory_v2_projects__project_id__agent_configs_get: {
|
|
12373
|
+
parameters: {
|
|
12374
|
+
query?: never;
|
|
12375
|
+
header?: never;
|
|
12376
|
+
path: {
|
|
12377
|
+
project_id: number;
|
|
12378
|
+
};
|
|
12379
|
+
cookie?: never;
|
|
12380
|
+
};
|
|
12381
|
+
requestBody?: never;
|
|
12382
|
+
responses: {
|
|
12383
|
+
/** @description Successful Response */
|
|
12384
|
+
200: {
|
|
12385
|
+
headers: {
|
|
12386
|
+
[name: string]: unknown;
|
|
12387
|
+
};
|
|
12388
|
+
content: {
|
|
12389
|
+
"application/json": unknown;
|
|
12390
|
+
};
|
|
12391
|
+
};
|
|
12392
|
+
/** @description Validation Error */
|
|
12393
|
+
422: {
|
|
12394
|
+
headers: {
|
|
12395
|
+
[name: string]: unknown;
|
|
12396
|
+
};
|
|
12397
|
+
content: {
|
|
12398
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
12399
|
+
};
|
|
12400
|
+
};
|
|
12401
|
+
};
|
|
12402
|
+
};
|
|
12403
|
+
create_agent_config_api_factory_v2_projects__project_id__agent_configs_post: {
|
|
12404
|
+
parameters: {
|
|
12405
|
+
query?: never;
|
|
12406
|
+
header?: never;
|
|
12407
|
+
path: {
|
|
12408
|
+
project_id: number;
|
|
12409
|
+
};
|
|
12410
|
+
cookie?: never;
|
|
12411
|
+
};
|
|
12412
|
+
requestBody: {
|
|
12413
|
+
content: {
|
|
12414
|
+
"application/json": components["schemas"]["CreateAgentConfigRequest"];
|
|
12415
|
+
};
|
|
12416
|
+
};
|
|
12417
|
+
responses: {
|
|
12418
|
+
/** @description Successful Response */
|
|
12419
|
+
200: {
|
|
12420
|
+
headers: {
|
|
12421
|
+
[name: string]: unknown;
|
|
12422
|
+
};
|
|
12423
|
+
content: {
|
|
12424
|
+
"application/json": unknown;
|
|
12425
|
+
};
|
|
12426
|
+
};
|
|
12427
|
+
/** @description Validation Error */
|
|
12428
|
+
422: {
|
|
12429
|
+
headers: {
|
|
12430
|
+
[name: string]: unknown;
|
|
12431
|
+
};
|
|
12432
|
+
content: {
|
|
12433
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
12434
|
+
};
|
|
12435
|
+
};
|
|
12436
|
+
};
|
|
12437
|
+
};
|
|
12438
|
+
delete_agent_config_api_factory_v2_projects__project_id__agent_configs__config_id__delete: {
|
|
12439
|
+
parameters: {
|
|
12440
|
+
query?: never;
|
|
12441
|
+
header?: never;
|
|
12442
|
+
path: {
|
|
12443
|
+
project_id: number;
|
|
12444
|
+
config_id: number;
|
|
12445
|
+
};
|
|
12446
|
+
cookie?: never;
|
|
12447
|
+
};
|
|
12448
|
+
requestBody?: never;
|
|
12449
|
+
responses: {
|
|
12450
|
+
/** @description Successful Response */
|
|
12451
|
+
200: {
|
|
12452
|
+
headers: {
|
|
12453
|
+
[name: string]: unknown;
|
|
12454
|
+
};
|
|
12455
|
+
content: {
|
|
12456
|
+
"application/json": unknown;
|
|
12457
|
+
};
|
|
12458
|
+
};
|
|
12459
|
+
/** @description Validation Error */
|
|
12460
|
+
422: {
|
|
12461
|
+
headers: {
|
|
12462
|
+
[name: string]: unknown;
|
|
12463
|
+
};
|
|
12464
|
+
content: {
|
|
12465
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
12466
|
+
};
|
|
12467
|
+
};
|
|
12468
|
+
};
|
|
12469
|
+
};
|
|
12470
|
+
update_agent_config_api_factory_v2_projects__project_id__agent_configs__config_id__patch: {
|
|
12471
|
+
parameters: {
|
|
12472
|
+
query?: never;
|
|
12473
|
+
header?: never;
|
|
12474
|
+
path: {
|
|
12475
|
+
project_id: number;
|
|
12476
|
+
config_id: number;
|
|
12477
|
+
};
|
|
12478
|
+
cookie?: never;
|
|
12479
|
+
};
|
|
12480
|
+
requestBody: {
|
|
12481
|
+
content: {
|
|
12482
|
+
"application/json": components["schemas"]["UpdateAgentConfigRequest"];
|
|
12483
|
+
};
|
|
12484
|
+
};
|
|
12485
|
+
responses: {
|
|
12486
|
+
/** @description Successful Response */
|
|
12487
|
+
200: {
|
|
12488
|
+
headers: {
|
|
12489
|
+
[name: string]: unknown;
|
|
12490
|
+
};
|
|
12491
|
+
content: {
|
|
12492
|
+
"application/json": unknown;
|
|
12493
|
+
};
|
|
12494
|
+
};
|
|
12495
|
+
/** @description Validation Error */
|
|
12496
|
+
422: {
|
|
12497
|
+
headers: {
|
|
12498
|
+
[name: string]: unknown;
|
|
12499
|
+
};
|
|
12500
|
+
content: {
|
|
12501
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
12502
|
+
};
|
|
12503
|
+
};
|
|
12504
|
+
};
|
|
12505
|
+
};
|
|
12067
12506
|
list_project_published_apps_api_factory_v2_projects__project_id__published_apps_get: {
|
|
12068
12507
|
parameters: {
|
|
12069
12508
|
query?: never;
|
|
@@ -12291,6 +12730,39 @@ interface operations {
|
|
|
12291
12730
|
};
|
|
12292
12731
|
};
|
|
12293
12732
|
};
|
|
12733
|
+
get_project_git_diff_api_factory_v2_projects__project_id__git_diff_get: {
|
|
12734
|
+
parameters: {
|
|
12735
|
+
query: {
|
|
12736
|
+
path: string;
|
|
12737
|
+
};
|
|
12738
|
+
header?: never;
|
|
12739
|
+
path: {
|
|
12740
|
+
project_id: number;
|
|
12741
|
+
};
|
|
12742
|
+
cookie?: never;
|
|
12743
|
+
};
|
|
12744
|
+
requestBody?: never;
|
|
12745
|
+
responses: {
|
|
12746
|
+
/** @description Successful Response */
|
|
12747
|
+
200: {
|
|
12748
|
+
headers: {
|
|
12749
|
+
[name: string]: unknown;
|
|
12750
|
+
};
|
|
12751
|
+
content: {
|
|
12752
|
+
"application/json": unknown;
|
|
12753
|
+
};
|
|
12754
|
+
};
|
|
12755
|
+
/** @description Validation Error */
|
|
12756
|
+
422: {
|
|
12757
|
+
headers: {
|
|
12758
|
+
[name: string]: unknown;
|
|
12759
|
+
};
|
|
12760
|
+
content: {
|
|
12761
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
12762
|
+
};
|
|
12763
|
+
};
|
|
12764
|
+
};
|
|
12765
|
+
};
|
|
12294
12766
|
commit_and_push_project_api_factory_v2_projects__project_id__git_commit_push_post: {
|
|
12295
12767
|
parameters: {
|
|
12296
12768
|
query?: never;
|