@ocxp/client 0.2.7 → 0.2.9
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/index.cjs +493 -27
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2190 -136
- package/dist/index.d.ts +2190 -136
- package/dist/index.js +477 -28
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -332,6 +332,12 @@ type AddDatabaseRequest = {
|
|
|
332
332
|
* Automatically include in agent context
|
|
333
333
|
*/
|
|
334
334
|
auto_include?: boolean;
|
|
335
|
+
/**
|
|
336
|
+
* Prompt
|
|
337
|
+
*
|
|
338
|
+
* Markdown context and guardrails for the agent
|
|
339
|
+
*/
|
|
340
|
+
prompt?: string;
|
|
335
341
|
};
|
|
336
342
|
/**
|
|
337
343
|
* AddMissionRequest
|
|
@@ -368,6 +374,12 @@ type AddRepoRequest = {
|
|
|
368
374
|
* Branch
|
|
369
375
|
*/
|
|
370
376
|
branch?: string;
|
|
377
|
+
/**
|
|
378
|
+
* Prompt
|
|
379
|
+
*
|
|
380
|
+
* Markdown context and guardrails for the agent
|
|
381
|
+
*/
|
|
382
|
+
prompt?: string;
|
|
371
383
|
};
|
|
372
384
|
/**
|
|
373
385
|
* AuthConfig
|
|
@@ -425,23 +437,6 @@ type BodyLoginForAccessToken = {
|
|
|
425
437
|
*/
|
|
426
438
|
client_secret?: string | null;
|
|
427
439
|
};
|
|
428
|
-
/**
|
|
429
|
-
* BulkDeleteRequest
|
|
430
|
-
*/
|
|
431
|
-
type BulkDeleteRequest = {
|
|
432
|
-
/**
|
|
433
|
-
* Ids
|
|
434
|
-
*/
|
|
435
|
-
ids: Array<string>;
|
|
436
|
-
/**
|
|
437
|
-
* Manage Metadata
|
|
438
|
-
*/
|
|
439
|
-
manage_metadata?: boolean;
|
|
440
|
-
/**
|
|
441
|
-
* Auto Index
|
|
442
|
-
*/
|
|
443
|
-
auto_index?: boolean | null;
|
|
444
|
-
};
|
|
445
440
|
/**
|
|
446
441
|
* BulkDeleteResponse
|
|
447
442
|
*
|
|
@@ -504,6 +499,57 @@ type BulkReadResponse = {
|
|
|
504
499
|
*/
|
|
505
500
|
count: number;
|
|
506
501
|
};
|
|
502
|
+
/**
|
|
503
|
+
* BulkTaskUpdateRequest
|
|
504
|
+
*
|
|
505
|
+
* Request to bulk update multiple tasks.
|
|
506
|
+
*/
|
|
507
|
+
type BulkTaskUpdateRequest = {
|
|
508
|
+
/**
|
|
509
|
+
* Updates
|
|
510
|
+
*
|
|
511
|
+
* List of task updates
|
|
512
|
+
*/
|
|
513
|
+
updates: Array<TaskUpdate>;
|
|
514
|
+
};
|
|
515
|
+
/**
|
|
516
|
+
* BulkTaskUpdateResponse
|
|
517
|
+
*
|
|
518
|
+
* Response from bulk task update.
|
|
519
|
+
*/
|
|
520
|
+
type BulkTaskUpdateResponse = {
|
|
521
|
+
/**
|
|
522
|
+
* Results
|
|
523
|
+
*/
|
|
524
|
+
results: Array<BulkTaskUpdateResult>;
|
|
525
|
+
/**
|
|
526
|
+
* Updated Count
|
|
527
|
+
*/
|
|
528
|
+
updated_count: number;
|
|
529
|
+
/**
|
|
530
|
+
* Failed Count
|
|
531
|
+
*/
|
|
532
|
+
failed_count: number;
|
|
533
|
+
};
|
|
534
|
+
/**
|
|
535
|
+
* BulkTaskUpdateResult
|
|
536
|
+
*
|
|
537
|
+
* Result for a single task in bulk update.
|
|
538
|
+
*/
|
|
539
|
+
type BulkTaskUpdateResult = {
|
|
540
|
+
/**
|
|
541
|
+
* Task Id
|
|
542
|
+
*/
|
|
543
|
+
task_id: string;
|
|
544
|
+
/**
|
|
545
|
+
* Success
|
|
546
|
+
*/
|
|
547
|
+
success: boolean;
|
|
548
|
+
/**
|
|
549
|
+
* Error
|
|
550
|
+
*/
|
|
551
|
+
error?: string | null;
|
|
552
|
+
};
|
|
507
553
|
/**
|
|
508
554
|
* BulkWriteItem
|
|
509
555
|
*/
|
|
@@ -566,6 +612,27 @@ type CheckAccessRequest = {
|
|
|
566
612
|
*/
|
|
567
613
|
repo_url: string;
|
|
568
614
|
};
|
|
615
|
+
/**
|
|
616
|
+
* CleanupDeadReposResponse
|
|
617
|
+
*
|
|
618
|
+
* Response model for dead repo cleanup operation.
|
|
619
|
+
*/
|
|
620
|
+
type CleanupDeadReposResponse = {
|
|
621
|
+
/**
|
|
622
|
+
* Projects Scanned
|
|
623
|
+
*/
|
|
624
|
+
projects_scanned: number;
|
|
625
|
+
/**
|
|
626
|
+
* Dead Links Removed
|
|
627
|
+
*/
|
|
628
|
+
dead_links_removed: number;
|
|
629
|
+
/**
|
|
630
|
+
* Details
|
|
631
|
+
*/
|
|
632
|
+
details?: Array<{
|
|
633
|
+
[key: string]: unknown;
|
|
634
|
+
}>;
|
|
635
|
+
};
|
|
569
636
|
/**
|
|
570
637
|
* ContentDeleteResponse
|
|
571
638
|
*
|
|
@@ -806,6 +873,54 @@ type ContentWriteResponse = {
|
|
|
806
873
|
* S3 version ID of the written object
|
|
807
874
|
*/
|
|
808
875
|
version_id?: string | null;
|
|
876
|
+
/**
|
|
877
|
+
* Indexed
|
|
878
|
+
*
|
|
879
|
+
* KB indexing status: True=indexed, False=failed, None=skipped
|
|
880
|
+
*/
|
|
881
|
+
indexed?: boolean | null;
|
|
882
|
+
/**
|
|
883
|
+
* Verified
|
|
884
|
+
*
|
|
885
|
+
* Full verification status: True=S3+KB verified, False=failed, None=skipped
|
|
886
|
+
*/
|
|
887
|
+
verified?: boolean | null;
|
|
888
|
+
/**
|
|
889
|
+
* S3 Verified
|
|
890
|
+
*
|
|
891
|
+
* S3 read verification
|
|
892
|
+
*/
|
|
893
|
+
s3_verified?: boolean | null;
|
|
894
|
+
/**
|
|
895
|
+
* Kb Verified
|
|
896
|
+
*
|
|
897
|
+
* KB discover verification
|
|
898
|
+
*/
|
|
899
|
+
kb_verified?: boolean | null;
|
|
900
|
+
/**
|
|
901
|
+
* Index Time Ms
|
|
902
|
+
*
|
|
903
|
+
* Time spent on KB indexing in milliseconds
|
|
904
|
+
*/
|
|
905
|
+
index_time_ms?: number | null;
|
|
906
|
+
/**
|
|
907
|
+
* Verify Time Ms
|
|
908
|
+
*
|
|
909
|
+
* Time spent on verification in milliseconds
|
|
910
|
+
*/
|
|
911
|
+
verify_time_ms?: number | null;
|
|
912
|
+
/**
|
|
913
|
+
* Retries
|
|
914
|
+
*
|
|
915
|
+
* Number of retry attempts (0 = first attempt succeeded)
|
|
916
|
+
*/
|
|
917
|
+
retries?: number | null;
|
|
918
|
+
/**
|
|
919
|
+
* Verification Error
|
|
920
|
+
*
|
|
921
|
+
* Error details if verification failed
|
|
922
|
+
*/
|
|
923
|
+
verification_error?: string | null;
|
|
809
924
|
};
|
|
810
925
|
/**
|
|
811
926
|
* CreateMemoRequest
|
|
@@ -841,6 +956,21 @@ type CreateMemoRequest = {
|
|
|
841
956
|
findings?: Array<SecurityFinding> | null;
|
|
842
957
|
severity?: MemoSeverity;
|
|
843
958
|
};
|
|
959
|
+
/**
|
|
960
|
+
* CredentialActionResponse
|
|
961
|
+
*
|
|
962
|
+
* Response for credential actions (save/update/delete/test).
|
|
963
|
+
*/
|
|
964
|
+
type CredentialActionResponse = {
|
|
965
|
+
/**
|
|
966
|
+
* Success
|
|
967
|
+
*/
|
|
968
|
+
success: boolean;
|
|
969
|
+
/**
|
|
970
|
+
* Message
|
|
971
|
+
*/
|
|
972
|
+
message?: string | null;
|
|
973
|
+
};
|
|
844
974
|
/**
|
|
845
975
|
* DatabaseConfigResponse
|
|
846
976
|
*
|
|
@@ -866,7 +996,7 @@ type DatabaseConfigResponse = {
|
|
|
866
996
|
/**
|
|
867
997
|
* Db Type
|
|
868
998
|
*
|
|
869
|
-
* postgres|postgres_lambda|mysql|mariadb
|
|
999
|
+
* postgres|postgres_lambda|supabase|terraform|mysql|mariadb
|
|
870
1000
|
*/
|
|
871
1001
|
db_type: string;
|
|
872
1002
|
/**
|
|
@@ -889,6 +1019,12 @@ type DatabaseConfigResponse = {
|
|
|
889
1019
|
* Database Name
|
|
890
1020
|
*/
|
|
891
1021
|
database_name?: string | null;
|
|
1022
|
+
/**
|
|
1023
|
+
* Terraform Path
|
|
1024
|
+
*
|
|
1025
|
+
* Terraform directory path relative to repo root (for terraform type)
|
|
1026
|
+
*/
|
|
1027
|
+
terraform_path?: string | null;
|
|
892
1028
|
/**
|
|
893
1029
|
* Allowed Tables
|
|
894
1030
|
*/
|
|
@@ -941,7 +1077,7 @@ type DatabaseCreate = {
|
|
|
941
1077
|
/**
|
|
942
1078
|
* Db Type
|
|
943
1079
|
*
|
|
944
|
-
* postgres|postgres_lambda|supabase|mysql|mariadb
|
|
1080
|
+
* postgres|postgres_lambda|supabase|terraform|mysql|mariadb
|
|
945
1081
|
*/
|
|
946
1082
|
db_type?: string;
|
|
947
1083
|
/**
|
|
@@ -960,6 +1096,12 @@ type DatabaseCreate = {
|
|
|
960
1096
|
* AWS Secrets Manager ARN for credentials
|
|
961
1097
|
*/
|
|
962
1098
|
secret_arn?: string | null;
|
|
1099
|
+
/**
|
|
1100
|
+
* Terraform Path
|
|
1101
|
+
*
|
|
1102
|
+
* Path to Terraform directory relative to repo root
|
|
1103
|
+
*/
|
|
1104
|
+
terraform_path?: string | null;
|
|
963
1105
|
/**
|
|
964
1106
|
* Allowed Tables
|
|
965
1107
|
*/
|
|
@@ -973,10 +1115,57 @@ type DatabaseCreate = {
|
|
|
973
1115
|
*/
|
|
974
1116
|
max_rows?: number;
|
|
975
1117
|
};
|
|
1118
|
+
/**
|
|
1119
|
+
* DatabaseDiagramResponse
|
|
1120
|
+
*
|
|
1121
|
+
* Response for GET /ocxp/context/database/diagram.
|
|
1122
|
+
*/
|
|
1123
|
+
type DatabaseDiagramResponse = {
|
|
1124
|
+
/**
|
|
1125
|
+
* Diagram
|
|
1126
|
+
*
|
|
1127
|
+
* Mermaid erDiagram syntax
|
|
1128
|
+
*/
|
|
1129
|
+
diagram: string;
|
|
1130
|
+
/**
|
|
1131
|
+
* Database Id
|
|
1132
|
+
*/
|
|
1133
|
+
database_id?: string | null;
|
|
1134
|
+
/**
|
|
1135
|
+
* Database Name
|
|
1136
|
+
*/
|
|
1137
|
+
database_name?: string | null;
|
|
1138
|
+
/**
|
|
1139
|
+
* Table Count
|
|
1140
|
+
*/
|
|
1141
|
+
table_count?: number;
|
|
1142
|
+
/**
|
|
1143
|
+
* Format
|
|
1144
|
+
*
|
|
1145
|
+
* Diagram format
|
|
1146
|
+
*/
|
|
1147
|
+
format?: string;
|
|
1148
|
+
/**
|
|
1149
|
+
* Mock Data
|
|
1150
|
+
*
|
|
1151
|
+
* Mock data keyed by table name
|
|
1152
|
+
*/
|
|
1153
|
+
mock_data?: {
|
|
1154
|
+
[key: string]: unknown;
|
|
1155
|
+
} | null;
|
|
1156
|
+
/**
|
|
1157
|
+
* Schema Summary
|
|
1158
|
+
*
|
|
1159
|
+
* Simplified schema for rendering
|
|
1160
|
+
*/
|
|
1161
|
+
schema_summary?: Array<{
|
|
1162
|
+
[key: string]: unknown;
|
|
1163
|
+
}> | null;
|
|
1164
|
+
};
|
|
976
1165
|
/**
|
|
977
1166
|
* DatabaseListResponse
|
|
978
1167
|
*
|
|
979
|
-
* Response for GET /ocxp/database.
|
|
1168
|
+
* Response for GET /ocxp/database with offset-based pagination.
|
|
980
1169
|
*/
|
|
981
1170
|
type DatabaseListResponse = {
|
|
982
1171
|
/**
|
|
@@ -985,8 +1174,34 @@ type DatabaseListResponse = {
|
|
|
985
1174
|
databases: Array<DatabaseConfigResponse>;
|
|
986
1175
|
/**
|
|
987
1176
|
* Count
|
|
1177
|
+
*
|
|
1178
|
+
* Number of items in this response
|
|
988
1179
|
*/
|
|
989
1180
|
count: number;
|
|
1181
|
+
/**
|
|
1182
|
+
* Total
|
|
1183
|
+
*
|
|
1184
|
+
* Total number of items matching query (across all pages)
|
|
1185
|
+
*/
|
|
1186
|
+
total?: number | null;
|
|
1187
|
+
/**
|
|
1188
|
+
* Offset
|
|
1189
|
+
*
|
|
1190
|
+
* Offset used for this query
|
|
1191
|
+
*/
|
|
1192
|
+
offset?: number | null;
|
|
1193
|
+
/**
|
|
1194
|
+
* Limit
|
|
1195
|
+
*
|
|
1196
|
+
* Limit used for this query
|
|
1197
|
+
*/
|
|
1198
|
+
limit?: number | null;
|
|
1199
|
+
/**
|
|
1200
|
+
* Has More
|
|
1201
|
+
*
|
|
1202
|
+
* Whether there are more items after this page
|
|
1203
|
+
*/
|
|
1204
|
+
has_more?: boolean;
|
|
990
1205
|
};
|
|
991
1206
|
/**
|
|
992
1207
|
* DatabaseSampleResponse
|
|
@@ -1016,6 +1231,12 @@ type DatabaseSampleResponse = {
|
|
|
1016
1231
|
* Database Id
|
|
1017
1232
|
*/
|
|
1018
1233
|
database_id?: string | null;
|
|
1234
|
+
/**
|
|
1235
|
+
* Is Mock
|
|
1236
|
+
*
|
|
1237
|
+
* True when rows are generated mock data (e.g. Terraform DBs)
|
|
1238
|
+
*/
|
|
1239
|
+
is_mock?: boolean;
|
|
1019
1240
|
};
|
|
1020
1241
|
/**
|
|
1021
1242
|
* DatabaseSchemaResponse
|
|
@@ -1037,6 +1258,12 @@ type DatabaseSchemaResponse = {
|
|
|
1037
1258
|
* Database Id
|
|
1038
1259
|
*/
|
|
1039
1260
|
database_id?: string | null;
|
|
1261
|
+
/**
|
|
1262
|
+
* Message
|
|
1263
|
+
*
|
|
1264
|
+
* Informational message (e.g. why no tables were found)
|
|
1265
|
+
*/
|
|
1266
|
+
message?: string | null;
|
|
1040
1267
|
};
|
|
1041
1268
|
/**
|
|
1042
1269
|
* DatabaseUpdate
|
|
@@ -1052,6 +1279,12 @@ type DatabaseUpdate = {
|
|
|
1052
1279
|
* Description
|
|
1053
1280
|
*/
|
|
1054
1281
|
description?: string | null;
|
|
1282
|
+
/**
|
|
1283
|
+
* Db Type
|
|
1284
|
+
*
|
|
1285
|
+
* postgres|postgres_lambda|supabase|terraform|mysql|mariadb
|
|
1286
|
+
*/
|
|
1287
|
+
db_type?: string | null;
|
|
1055
1288
|
/**
|
|
1056
1289
|
* Lambda Function Name
|
|
1057
1290
|
*/
|
|
@@ -1066,6 +1299,12 @@ type DatabaseUpdate = {
|
|
|
1066
1299
|
* AWS Secrets Manager ARN for credentials
|
|
1067
1300
|
*/
|
|
1068
1301
|
secret_arn?: string | null;
|
|
1302
|
+
/**
|
|
1303
|
+
* Terraform Path
|
|
1304
|
+
*
|
|
1305
|
+
* Path to Terraform directory relative to repo root
|
|
1306
|
+
*/
|
|
1307
|
+
terraform_path?: string | null;
|
|
1069
1308
|
/**
|
|
1070
1309
|
* Allowed Tables
|
|
1071
1310
|
*/
|
|
@@ -1151,6 +1390,92 @@ type HttpValidationError = {
|
|
|
1151
1390
|
*/
|
|
1152
1391
|
detail?: Array<ValidationError>;
|
|
1153
1392
|
};
|
|
1393
|
+
/**
|
|
1394
|
+
* KBIngestionJob
|
|
1395
|
+
*/
|
|
1396
|
+
type KbIngestionJob = {
|
|
1397
|
+
/**
|
|
1398
|
+
* Job Id
|
|
1399
|
+
*/
|
|
1400
|
+
job_id?: string | null;
|
|
1401
|
+
/**
|
|
1402
|
+
* Status
|
|
1403
|
+
*/
|
|
1404
|
+
status?: string | null;
|
|
1405
|
+
/**
|
|
1406
|
+
* Started At
|
|
1407
|
+
*/
|
|
1408
|
+
started_at?: string | null;
|
|
1409
|
+
/**
|
|
1410
|
+
* Updated At
|
|
1411
|
+
*/
|
|
1412
|
+
updated_at?: string | null;
|
|
1413
|
+
/**
|
|
1414
|
+
* Documents Scanned
|
|
1415
|
+
*/
|
|
1416
|
+
documents_scanned?: number;
|
|
1417
|
+
/**
|
|
1418
|
+
* Documents Indexed
|
|
1419
|
+
*/
|
|
1420
|
+
documents_indexed?: number;
|
|
1421
|
+
/**
|
|
1422
|
+
* Documents Failed
|
|
1423
|
+
*/
|
|
1424
|
+
documents_failed?: number;
|
|
1425
|
+
/**
|
|
1426
|
+
* Documents Modified
|
|
1427
|
+
*/
|
|
1428
|
+
documents_modified?: number;
|
|
1429
|
+
/**
|
|
1430
|
+
* Documents Deleted
|
|
1431
|
+
*/
|
|
1432
|
+
documents_deleted?: number;
|
|
1433
|
+
/**
|
|
1434
|
+
* Metadata Scanned
|
|
1435
|
+
*/
|
|
1436
|
+
metadata_scanned?: number;
|
|
1437
|
+
/**
|
|
1438
|
+
* Metadata Modified
|
|
1439
|
+
*/
|
|
1440
|
+
metadata_modified?: number;
|
|
1441
|
+
};
|
|
1442
|
+
/**
|
|
1443
|
+
* KBOverview
|
|
1444
|
+
*/
|
|
1445
|
+
type KbOverview = {
|
|
1446
|
+
/**
|
|
1447
|
+
* Kb Type
|
|
1448
|
+
*/
|
|
1449
|
+
kb_type: string;
|
|
1450
|
+
/**
|
|
1451
|
+
* Kb Id
|
|
1452
|
+
*/
|
|
1453
|
+
kb_id: string;
|
|
1454
|
+
/**
|
|
1455
|
+
* Ds Id
|
|
1456
|
+
*/
|
|
1457
|
+
ds_id: string;
|
|
1458
|
+
/**
|
|
1459
|
+
* Status
|
|
1460
|
+
*/
|
|
1461
|
+
status: string;
|
|
1462
|
+
/**
|
|
1463
|
+
* Repos Count
|
|
1464
|
+
*/
|
|
1465
|
+
repos_count?: number;
|
|
1466
|
+
/**
|
|
1467
|
+
* Repos
|
|
1468
|
+
*/
|
|
1469
|
+
repos?: Array<KbRepoStatus>;
|
|
1470
|
+
/**
|
|
1471
|
+
* Running Job Id
|
|
1472
|
+
*/
|
|
1473
|
+
running_job_id?: string | null;
|
|
1474
|
+
/**
|
|
1475
|
+
* Recent Jobs
|
|
1476
|
+
*/
|
|
1477
|
+
recent_jobs?: Array<KbIngestionJob>;
|
|
1478
|
+
};
|
|
1154
1479
|
/**
|
|
1155
1480
|
* KBQueryRequest
|
|
1156
1481
|
*/
|
|
@@ -1264,6 +1589,43 @@ type KbRagResponse = {
|
|
|
1264
1589
|
*/
|
|
1265
1590
|
session_id?: string | null;
|
|
1266
1591
|
};
|
|
1592
|
+
/**
|
|
1593
|
+
* KBRepoStatus
|
|
1594
|
+
*/
|
|
1595
|
+
type KbRepoStatus = {
|
|
1596
|
+
/**
|
|
1597
|
+
* Repo Id
|
|
1598
|
+
*/
|
|
1599
|
+
repo_id: string;
|
|
1600
|
+
/**
|
|
1601
|
+
* Github Url
|
|
1602
|
+
*/
|
|
1603
|
+
github_url: string;
|
|
1604
|
+
/**
|
|
1605
|
+
* Branch
|
|
1606
|
+
*/
|
|
1607
|
+
branch?: string;
|
|
1608
|
+
/**
|
|
1609
|
+
* Indexed At
|
|
1610
|
+
*/
|
|
1611
|
+
indexed_at?: string | null;
|
|
1612
|
+
/**
|
|
1613
|
+
* Files Count
|
|
1614
|
+
*/
|
|
1615
|
+
files_count?: number;
|
|
1616
|
+
/**
|
|
1617
|
+
* Bedrock Synced
|
|
1618
|
+
*/
|
|
1619
|
+
bedrock_synced?: boolean;
|
|
1620
|
+
/**
|
|
1621
|
+
* Last Ingestion Status
|
|
1622
|
+
*/
|
|
1623
|
+
last_ingestion_status?: string | null;
|
|
1624
|
+
/**
|
|
1625
|
+
* Last Ingestion Job Id
|
|
1626
|
+
*/
|
|
1627
|
+
last_ingestion_job_id?: string | null;
|
|
1628
|
+
};
|
|
1267
1629
|
/**
|
|
1268
1630
|
* KBResultItem
|
|
1269
1631
|
*
|
|
@@ -1302,15 +1664,49 @@ type KbResultItem = {
|
|
|
1302
1664
|
kb_source?: string | null;
|
|
1303
1665
|
};
|
|
1304
1666
|
/**
|
|
1305
|
-
*
|
|
1306
|
-
*
|
|
1307
|
-
* Linked repository in a project.
|
|
1667
|
+
* KBStatusResponse
|
|
1308
1668
|
*/
|
|
1309
|
-
type
|
|
1669
|
+
type KbStatusResponse = {
|
|
1310
1670
|
/**
|
|
1311
|
-
*
|
|
1671
|
+
* Knowledge Bases
|
|
1312
1672
|
*/
|
|
1313
|
-
|
|
1673
|
+
knowledge_bases: Array<KbOverview>;
|
|
1674
|
+
};
|
|
1675
|
+
/**
|
|
1676
|
+
* LinkedDatabaseResponse
|
|
1677
|
+
*
|
|
1678
|
+
* Linked database in a project.
|
|
1679
|
+
*/
|
|
1680
|
+
type LinkedDatabaseResponse = {
|
|
1681
|
+
/**
|
|
1682
|
+
* Database Id
|
|
1683
|
+
*/
|
|
1684
|
+
database_id: string;
|
|
1685
|
+
/**
|
|
1686
|
+
* Priority
|
|
1687
|
+
*/
|
|
1688
|
+
priority?: number;
|
|
1689
|
+
/**
|
|
1690
|
+
* Auto Include
|
|
1691
|
+
*/
|
|
1692
|
+
auto_include?: boolean;
|
|
1693
|
+
/**
|
|
1694
|
+
* Prompt
|
|
1695
|
+
*
|
|
1696
|
+
* Markdown context and guardrails for the agent
|
|
1697
|
+
*/
|
|
1698
|
+
prompt?: string;
|
|
1699
|
+
};
|
|
1700
|
+
/**
|
|
1701
|
+
* LinkedRepoResponse
|
|
1702
|
+
*
|
|
1703
|
+
* Linked repository in a project.
|
|
1704
|
+
*/
|
|
1705
|
+
type LinkedRepoResponse = {
|
|
1706
|
+
/**
|
|
1707
|
+
* Repo Id
|
|
1708
|
+
*/
|
|
1709
|
+
repo_id: string;
|
|
1314
1710
|
/**
|
|
1315
1711
|
* Category
|
|
1316
1712
|
*
|
|
@@ -1329,6 +1725,12 @@ type LinkedRepoResponse = {
|
|
|
1329
1725
|
* Branch
|
|
1330
1726
|
*/
|
|
1331
1727
|
branch: string;
|
|
1728
|
+
/**
|
|
1729
|
+
* Prompt
|
|
1730
|
+
*
|
|
1731
|
+
* Markdown context and guardrails for the agent
|
|
1732
|
+
*/
|
|
1733
|
+
prompt?: string;
|
|
1332
1734
|
};
|
|
1333
1735
|
/**
|
|
1334
1736
|
* ListBranchesRequest
|
|
@@ -1498,11 +1900,11 @@ type MemoActionResponse = {
|
|
|
1498
1900
|
*
|
|
1499
1901
|
* Category of memo feedback.
|
|
1500
1902
|
*/
|
|
1501
|
-
type MemoCategory = 'agent_error' | 'agent_warning' | 'agent_hitl' | 'user_comment' | 'user_edit' | 'user_delete' | 'security_finding';
|
|
1903
|
+
type MemoCategory = 'agent_error' | 'agent_warning' | 'agent_hitl' | 'agent_comment' | 'agent_edit' | 'agent_delete' | 'user_comment' | 'user_edit' | 'user_delete' | 'security_finding' | 'workflow_task';
|
|
1502
1904
|
/**
|
|
1503
1905
|
* MemoListResponse
|
|
1504
1906
|
*
|
|
1505
|
-
* Response for
|
|
1907
|
+
* Response for GET /ocxp/memos with offset-based pagination.
|
|
1506
1908
|
*/
|
|
1507
1909
|
type MemoListResponse = {
|
|
1508
1910
|
/**
|
|
@@ -1511,8 +1913,34 @@ type MemoListResponse = {
|
|
|
1511
1913
|
memos: Array<Memo>;
|
|
1512
1914
|
/**
|
|
1513
1915
|
* Count
|
|
1916
|
+
*
|
|
1917
|
+
* Number of items in this response
|
|
1514
1918
|
*/
|
|
1515
1919
|
count: number;
|
|
1920
|
+
/**
|
|
1921
|
+
* Total
|
|
1922
|
+
*
|
|
1923
|
+
* Total number of items matching query (across all pages)
|
|
1924
|
+
*/
|
|
1925
|
+
total?: number | null;
|
|
1926
|
+
/**
|
|
1927
|
+
* Offset
|
|
1928
|
+
*
|
|
1929
|
+
* Offset used for this query
|
|
1930
|
+
*/
|
|
1931
|
+
offset?: number | null;
|
|
1932
|
+
/**
|
|
1933
|
+
* Limit
|
|
1934
|
+
*
|
|
1935
|
+
* Limit used for this query
|
|
1936
|
+
*/
|
|
1937
|
+
limit?: number | null;
|
|
1938
|
+
/**
|
|
1939
|
+
* Has More
|
|
1940
|
+
*
|
|
1941
|
+
* Whether there are more items after this page
|
|
1942
|
+
*/
|
|
1943
|
+
has_more?: boolean;
|
|
1516
1944
|
};
|
|
1517
1945
|
/**
|
|
1518
1946
|
* MemoResolveRequest
|
|
@@ -1624,7 +2052,7 @@ type MissionCreateResponse = {
|
|
|
1624
2052
|
/**
|
|
1625
2053
|
* MissionListResponse
|
|
1626
2054
|
*
|
|
1627
|
-
* Response for GET /ocxp/mission.
|
|
2055
|
+
* Response for GET /ocxp/mission with offset-based pagination.
|
|
1628
2056
|
*/
|
|
1629
2057
|
type MissionListResponse = {
|
|
1630
2058
|
/**
|
|
@@ -1633,8 +2061,34 @@ type MissionListResponse = {
|
|
|
1633
2061
|
missions: Array<MissionResponse>;
|
|
1634
2062
|
/**
|
|
1635
2063
|
* Count
|
|
2064
|
+
*
|
|
2065
|
+
* Number of items in this response
|
|
1636
2066
|
*/
|
|
1637
2067
|
count: number;
|
|
2068
|
+
/**
|
|
2069
|
+
* Total
|
|
2070
|
+
*
|
|
2071
|
+
* Total number of items matching query (across all pages)
|
|
2072
|
+
*/
|
|
2073
|
+
total?: number | null;
|
|
2074
|
+
/**
|
|
2075
|
+
* Offset
|
|
2076
|
+
*
|
|
2077
|
+
* Offset used for this query
|
|
2078
|
+
*/
|
|
2079
|
+
offset?: number | null;
|
|
2080
|
+
/**
|
|
2081
|
+
* Limit
|
|
2082
|
+
*
|
|
2083
|
+
* Limit used for this query
|
|
2084
|
+
*/
|
|
2085
|
+
limit?: number | null;
|
|
2086
|
+
/**
|
|
2087
|
+
* Has More
|
|
2088
|
+
*
|
|
2089
|
+
* Whether there are more items after this page
|
|
2090
|
+
*/
|
|
2091
|
+
has_more?: boolean;
|
|
1638
2092
|
};
|
|
1639
2093
|
/**
|
|
1640
2094
|
* MissionResponse
|
|
@@ -1674,6 +2128,12 @@ type MissionResponse = {
|
|
|
1674
2128
|
* Project UUID this mission belongs to
|
|
1675
2129
|
*/
|
|
1676
2130
|
project_id?: string | null;
|
|
2131
|
+
/**
|
|
2132
|
+
* Priority
|
|
2133
|
+
*
|
|
2134
|
+
* Priority: P0, P1, P2, P3, High, Medium, Low
|
|
2135
|
+
*/
|
|
2136
|
+
priority?: string | null;
|
|
1677
2137
|
/**
|
|
1678
2138
|
* Status
|
|
1679
2139
|
*
|
|
@@ -1817,7 +2277,7 @@ type ProjectCreate = {
|
|
|
1817
2277
|
/**
|
|
1818
2278
|
* ProjectListResponse
|
|
1819
2279
|
*
|
|
1820
|
-
* Response for GET /ocxp/project.
|
|
2280
|
+
* Response for GET /ocxp/project with offset-based pagination.
|
|
1821
2281
|
*/
|
|
1822
2282
|
type ProjectListResponse = {
|
|
1823
2283
|
/**
|
|
@@ -1826,8 +2286,34 @@ type ProjectListResponse = {
|
|
|
1826
2286
|
projects: Array<ProjectResponse>;
|
|
1827
2287
|
/**
|
|
1828
2288
|
* Count
|
|
2289
|
+
*
|
|
2290
|
+
* Number of items in this response
|
|
1829
2291
|
*/
|
|
1830
2292
|
count: number;
|
|
2293
|
+
/**
|
|
2294
|
+
* Total
|
|
2295
|
+
*
|
|
2296
|
+
* Total number of items matching query (across all pages)
|
|
2297
|
+
*/
|
|
2298
|
+
total?: number | null;
|
|
2299
|
+
/**
|
|
2300
|
+
* Offset
|
|
2301
|
+
*
|
|
2302
|
+
* Offset used for this query
|
|
2303
|
+
*/
|
|
2304
|
+
offset?: number | null;
|
|
2305
|
+
/**
|
|
2306
|
+
* Limit
|
|
2307
|
+
*
|
|
2308
|
+
* Limit used for this query
|
|
2309
|
+
*/
|
|
2310
|
+
limit?: number | null;
|
|
2311
|
+
/**
|
|
2312
|
+
* Has More
|
|
2313
|
+
*
|
|
2314
|
+
* Whether there are more items after this page
|
|
2315
|
+
*/
|
|
2316
|
+
has_more?: boolean;
|
|
1831
2317
|
};
|
|
1832
2318
|
/**
|
|
1833
2319
|
* ProjectResponse
|
|
@@ -1861,6 +2347,10 @@ type ProjectResponse = {
|
|
|
1861
2347
|
* Linked Repos
|
|
1862
2348
|
*/
|
|
1863
2349
|
linked_repos?: Array<LinkedRepoResponse>;
|
|
2350
|
+
/**
|
|
2351
|
+
* Linked Databases
|
|
2352
|
+
*/
|
|
2353
|
+
linked_databases?: Array<LinkedDatabaseResponse>;
|
|
1864
2354
|
/**
|
|
1865
2355
|
* Mission Ids
|
|
1866
2356
|
*/
|
|
@@ -1869,6 +2359,10 @@ type ProjectResponse = {
|
|
|
1869
2359
|
* Default Repo Id
|
|
1870
2360
|
*/
|
|
1871
2361
|
default_repo_id?: string | null;
|
|
2362
|
+
/**
|
|
2363
|
+
* Default Database Id
|
|
2364
|
+
*/
|
|
2365
|
+
default_database_id?: string | null;
|
|
1872
2366
|
/**
|
|
1873
2367
|
* Created At
|
|
1874
2368
|
*/
|
|
@@ -1881,6 +2375,62 @@ type ProjectResponse = {
|
|
|
1881
2375
|
* Created By
|
|
1882
2376
|
*/
|
|
1883
2377
|
created_by?: string | null;
|
|
2378
|
+
/**
|
|
2379
|
+
* Pre-computed counts for project overview
|
|
2380
|
+
*/
|
|
2381
|
+
stats?: ProjectStats | null;
|
|
2382
|
+
};
|
|
2383
|
+
/**
|
|
2384
|
+
* ProjectStats
|
|
2385
|
+
*
|
|
2386
|
+
* Pre-computed counts for project overview.
|
|
2387
|
+
*
|
|
2388
|
+
* Provides immediate access to counts without extra API calls.
|
|
2389
|
+
* Computed server-side when project is fetched.
|
|
2390
|
+
*/
|
|
2391
|
+
type ProjectStats = {
|
|
2392
|
+
/**
|
|
2393
|
+
* Mission Count
|
|
2394
|
+
*
|
|
2395
|
+
* Total missions linked to project
|
|
2396
|
+
*/
|
|
2397
|
+
mission_count?: number;
|
|
2398
|
+
/**
|
|
2399
|
+
* Active Mission Count
|
|
2400
|
+
*
|
|
2401
|
+
* Non-archived missions
|
|
2402
|
+
*/
|
|
2403
|
+
active_mission_count?: number;
|
|
2404
|
+
/**
|
|
2405
|
+
* Archived Mission Count
|
|
2406
|
+
*
|
|
2407
|
+
* Archived missions
|
|
2408
|
+
*/
|
|
2409
|
+
archived_mission_count?: number;
|
|
2410
|
+
/**
|
|
2411
|
+
* Repo Count
|
|
2412
|
+
*
|
|
2413
|
+
* Linked repositories
|
|
2414
|
+
*/
|
|
2415
|
+
repo_count?: number;
|
|
2416
|
+
/**
|
|
2417
|
+
* Database Count
|
|
2418
|
+
*
|
|
2419
|
+
* Linked databases
|
|
2420
|
+
*/
|
|
2421
|
+
database_count?: number;
|
|
2422
|
+
/**
|
|
2423
|
+
* Memo Count
|
|
2424
|
+
*
|
|
2425
|
+
* Project memos (open status)
|
|
2426
|
+
*/
|
|
2427
|
+
memo_count?: number;
|
|
2428
|
+
/**
|
|
2429
|
+
* Sop Count
|
|
2430
|
+
*
|
|
2431
|
+
* SOPs in project context
|
|
2432
|
+
*/
|
|
2433
|
+
sop_count?: number;
|
|
1884
2434
|
};
|
|
1885
2435
|
/**
|
|
1886
2436
|
* ProjectUpdate
|
|
@@ -3044,7 +3594,7 @@ type RepoInfo = {
|
|
|
3044
3594
|
/**
|
|
3045
3595
|
* RepoListResponse
|
|
3046
3596
|
*
|
|
3047
|
-
* Response for GET /ocxp/repo/list.
|
|
3597
|
+
* Response for GET /ocxp/repo/list with offset-based pagination.
|
|
3048
3598
|
*/
|
|
3049
3599
|
type RepoListResponse = {
|
|
3050
3600
|
/**
|
|
@@ -3053,8 +3603,34 @@ type RepoListResponse = {
|
|
|
3053
3603
|
repos: Array<RepoInfo>;
|
|
3054
3604
|
/**
|
|
3055
3605
|
* Count
|
|
3606
|
+
*
|
|
3607
|
+
* Number of items in this response
|
|
3056
3608
|
*/
|
|
3057
3609
|
count: number;
|
|
3610
|
+
/**
|
|
3611
|
+
* Total
|
|
3612
|
+
*
|
|
3613
|
+
* Total number of items matching query (across all pages)
|
|
3614
|
+
*/
|
|
3615
|
+
total?: number | null;
|
|
3616
|
+
/**
|
|
3617
|
+
* Offset
|
|
3618
|
+
*
|
|
3619
|
+
* Offset used for this query
|
|
3620
|
+
*/
|
|
3621
|
+
offset?: number | null;
|
|
3622
|
+
/**
|
|
3623
|
+
* Limit
|
|
3624
|
+
*
|
|
3625
|
+
* Limit used for this query
|
|
3626
|
+
*/
|
|
3627
|
+
limit?: number | null;
|
|
3628
|
+
/**
|
|
3629
|
+
* Has More
|
|
3630
|
+
*
|
|
3631
|
+
* Whether there are more items after this page
|
|
3632
|
+
*/
|
|
3633
|
+
has_more?: boolean;
|
|
3058
3634
|
};
|
|
3059
3635
|
/**
|
|
3060
3636
|
* RepoStatusResponse
|
|
@@ -3171,6 +3747,12 @@ type RepoSyncResponse = {
|
|
|
3171
3747
|
*/
|
|
3172
3748
|
changes_detected?: boolean;
|
|
3173
3749
|
};
|
|
3750
|
+
/**
|
|
3751
|
+
* SMEType
|
|
3752
|
+
*
|
|
3753
|
+
* Subject Matter Expert types for task routing.
|
|
3754
|
+
*/
|
|
3755
|
+
type SmeType = 'CODEBASE' | 'CONTEXT' | 'DATABASE' | 'VISUAL';
|
|
3174
3756
|
/**
|
|
3175
3757
|
* SecurityFinding
|
|
3176
3758
|
*
|
|
@@ -3232,7 +3814,7 @@ type SessionForkResponse = {
|
|
|
3232
3814
|
/**
|
|
3233
3815
|
* SessionListResponse
|
|
3234
3816
|
*
|
|
3235
|
-
* Response for GET /ocxp/session.
|
|
3817
|
+
* Response for GET /ocxp/session with offset-based pagination.
|
|
3236
3818
|
*/
|
|
3237
3819
|
type SessionListResponse = {
|
|
3238
3820
|
/**
|
|
@@ -3241,8 +3823,34 @@ type SessionListResponse = {
|
|
|
3241
3823
|
sessions: Array<SessionResponse>;
|
|
3242
3824
|
/**
|
|
3243
3825
|
* Count
|
|
3826
|
+
*
|
|
3827
|
+
* Number of items in this response
|
|
3244
3828
|
*/
|
|
3245
3829
|
count: number;
|
|
3830
|
+
/**
|
|
3831
|
+
* Total
|
|
3832
|
+
*
|
|
3833
|
+
* Total number of items matching query (across all pages)
|
|
3834
|
+
*/
|
|
3835
|
+
total?: number | null;
|
|
3836
|
+
/**
|
|
3837
|
+
* Offset
|
|
3838
|
+
*
|
|
3839
|
+
* Offset used for this query
|
|
3840
|
+
*/
|
|
3841
|
+
offset?: number | null;
|
|
3842
|
+
/**
|
|
3843
|
+
* Limit
|
|
3844
|
+
*
|
|
3845
|
+
* Limit used for this query
|
|
3846
|
+
*/
|
|
3847
|
+
limit?: number | null;
|
|
3848
|
+
/**
|
|
3849
|
+
* Has More
|
|
3850
|
+
*
|
|
3851
|
+
* Whether there are more items after this page
|
|
3852
|
+
*/
|
|
3853
|
+
has_more?: boolean;
|
|
3246
3854
|
};
|
|
3247
3855
|
/**
|
|
3248
3856
|
* SessionMessagesResponse
|
|
@@ -3316,6 +3924,10 @@ type SessionResponse = {
|
|
|
3316
3924
|
* active|archived
|
|
3317
3925
|
*/
|
|
3318
3926
|
status?: string;
|
|
3927
|
+
/**
|
|
3928
|
+
* Project Id
|
|
3929
|
+
*/
|
|
3930
|
+
project_id?: string | null;
|
|
3319
3931
|
/**
|
|
3320
3932
|
* Mission Id
|
|
3321
3933
|
*/
|
|
@@ -3354,7 +3966,7 @@ type SetDefaultRepoRequest = {
|
|
|
3354
3966
|
*
|
|
3355
3967
|
* Type of entity the memo is associated with.
|
|
3356
3968
|
*/
|
|
3357
|
-
type SourceType = 'repo' | 'project' | 'mission' | 'doc';
|
|
3969
|
+
type SourceType = 'repo' | 'project' | 'mission' | 'doc' | 'workflow';
|
|
3358
3970
|
/**
|
|
3359
3971
|
* SyncRequest
|
|
3360
3972
|
*
|
|
@@ -3366,6 +3978,111 @@ type SyncRequest = {
|
|
|
3366
3978
|
*/
|
|
3367
3979
|
force?: boolean;
|
|
3368
3980
|
};
|
|
3981
|
+
/**
|
|
3982
|
+
* TaskListResponse
|
|
3983
|
+
*
|
|
3984
|
+
* Response for task list.
|
|
3985
|
+
*/
|
|
3986
|
+
type TaskListResponse = {
|
|
3987
|
+
/**
|
|
3988
|
+
* Tasks
|
|
3989
|
+
*/
|
|
3990
|
+
tasks: Array<TaskResponse>;
|
|
3991
|
+
/**
|
|
3992
|
+
* Count
|
|
3993
|
+
*/
|
|
3994
|
+
count: number;
|
|
3995
|
+
};
|
|
3996
|
+
/**
|
|
3997
|
+
* TaskResponse
|
|
3998
|
+
*
|
|
3999
|
+
* Task data in workflow response (strands-compatible format).
|
|
4000
|
+
*/
|
|
4001
|
+
type TaskResponse = {
|
|
4002
|
+
/**
|
|
4003
|
+
* Task Id
|
|
4004
|
+
*/
|
|
4005
|
+
task_id: string;
|
|
4006
|
+
/**
|
|
4007
|
+
* Description
|
|
4008
|
+
*/
|
|
4009
|
+
description: string;
|
|
4010
|
+
status: TaskStatus;
|
|
4011
|
+
/**
|
|
4012
|
+
* Priority
|
|
4013
|
+
*/
|
|
4014
|
+
priority: number;
|
|
4015
|
+
/**
|
|
4016
|
+
* Timeout
|
|
4017
|
+
*/
|
|
4018
|
+
timeout: number;
|
|
4019
|
+
/**
|
|
4020
|
+
* Dependencies
|
|
4021
|
+
*/
|
|
4022
|
+
dependencies: Array<string>;
|
|
4023
|
+
sme_type?: SmeType | null;
|
|
4024
|
+
/**
|
|
4025
|
+
* Skill Path
|
|
4026
|
+
*/
|
|
4027
|
+
skill_path?: string | null;
|
|
4028
|
+
/**
|
|
4029
|
+
* Result
|
|
4030
|
+
*/
|
|
4031
|
+
result?: string | null;
|
|
4032
|
+
/**
|
|
4033
|
+
* Error
|
|
4034
|
+
*/
|
|
4035
|
+
error?: string | null;
|
|
4036
|
+
/**
|
|
4037
|
+
* Retry Count
|
|
4038
|
+
*/
|
|
4039
|
+
retry_count?: number;
|
|
4040
|
+
/**
|
|
4041
|
+
* Memo Id
|
|
4042
|
+
*/
|
|
4043
|
+
memo_id?: string | null;
|
|
4044
|
+
};
|
|
4045
|
+
/**
|
|
4046
|
+
* TaskStatus
|
|
4047
|
+
*
|
|
4048
|
+
* Status of a workflow task.
|
|
4049
|
+
*/
|
|
4050
|
+
type TaskStatus = 'pending' | 'in_progress' | 'completed' | 'failed' | 'skipped';
|
|
4051
|
+
/**
|
|
4052
|
+
* TaskUpdate
|
|
4053
|
+
*
|
|
4054
|
+
* Request to update a task.
|
|
4055
|
+
*/
|
|
4056
|
+
type TaskUpdate = {
|
|
4057
|
+
/**
|
|
4058
|
+
* Task Id
|
|
4059
|
+
*
|
|
4060
|
+
* Task ID (required for bulk updates)
|
|
4061
|
+
*/
|
|
4062
|
+
task_id?: string | null;
|
|
4063
|
+
/**
|
|
4064
|
+
* New task status
|
|
4065
|
+
*/
|
|
4066
|
+
task_status?: TaskStatus | null;
|
|
4067
|
+
/**
|
|
4068
|
+
* Result
|
|
4069
|
+
*
|
|
4070
|
+
* Task result output
|
|
4071
|
+
*/
|
|
4072
|
+
result?: string | null;
|
|
4073
|
+
/**
|
|
4074
|
+
* Error
|
|
4075
|
+
*
|
|
4076
|
+
* Error message if failed
|
|
4077
|
+
*/
|
|
4078
|
+
error?: string | null;
|
|
4079
|
+
/**
|
|
4080
|
+
* Retry Count
|
|
4081
|
+
*
|
|
4082
|
+
* Update retry count
|
|
4083
|
+
*/
|
|
4084
|
+
retry_count?: number | null;
|
|
4085
|
+
};
|
|
3369
4086
|
/**
|
|
3370
4087
|
* TokenResponse
|
|
3371
4088
|
*
|
|
@@ -3393,6 +4110,38 @@ type TokenResponse = {
|
|
|
3393
4110
|
*/
|
|
3394
4111
|
refreshToken: string;
|
|
3395
4112
|
};
|
|
4113
|
+
/**
|
|
4114
|
+
* TriggerSyncRequest
|
|
4115
|
+
*/
|
|
4116
|
+
type TriggerSyncRequest = {
|
|
4117
|
+
/**
|
|
4118
|
+
* Kb Type
|
|
4119
|
+
*
|
|
4120
|
+
* KB type to sync: code | docs | visual. If omitted, syncs all.
|
|
4121
|
+
*/
|
|
4122
|
+
kb_type?: string | null;
|
|
4123
|
+
/**
|
|
4124
|
+
* Force
|
|
4125
|
+
*
|
|
4126
|
+
* Force sync even if a job is already running
|
|
4127
|
+
*/
|
|
4128
|
+
force?: boolean;
|
|
4129
|
+
};
|
|
4130
|
+
/**
|
|
4131
|
+
* TriggerSyncResponse
|
|
4132
|
+
*/
|
|
4133
|
+
type TriggerSyncResponse = {
|
|
4134
|
+
/**
|
|
4135
|
+
* Triggered
|
|
4136
|
+
*/
|
|
4137
|
+
triggered: Array<{
|
|
4138
|
+
[key: string]: unknown;
|
|
4139
|
+
}>;
|
|
4140
|
+
/**
|
|
4141
|
+
* Message
|
|
4142
|
+
*/
|
|
4143
|
+
message: string;
|
|
4144
|
+
};
|
|
3396
4145
|
/**
|
|
3397
4146
|
* UserResponse
|
|
3398
4147
|
*
|
|
@@ -3430,18 +4179,298 @@ type ValidationError = {
|
|
|
3430
4179
|
type: string;
|
|
3431
4180
|
};
|
|
3432
4181
|
/**
|
|
3433
|
-
*
|
|
4182
|
+
* Workflow
|
|
3434
4183
|
*
|
|
3435
|
-
*
|
|
4184
|
+
* Workflow container - groups task memos for a mission.
|
|
4185
|
+
*
|
|
4186
|
+
* A mission can have multiple workflows (e.g., research workflow,
|
|
4187
|
+
* documentation workflow). Each workflow manages its own set of tasks
|
|
4188
|
+
* while sharing the mission's context and session data.
|
|
3436
4189
|
*/
|
|
3437
|
-
type
|
|
4190
|
+
type Workflow = {
|
|
3438
4191
|
/**
|
|
3439
|
-
* Id
|
|
4192
|
+
* Workflow Id
|
|
4193
|
+
*
|
|
4194
|
+
* Unique workflow identifier (UUID)
|
|
3440
4195
|
*/
|
|
3441
|
-
|
|
4196
|
+
workflow_id?: string;
|
|
3442
4197
|
/**
|
|
3443
|
-
*
|
|
3444
|
-
|
|
4198
|
+
* Mission Id
|
|
4199
|
+
*
|
|
4200
|
+
* Parent mission ID this workflow belongs to
|
|
4201
|
+
*/
|
|
4202
|
+
mission_id: string;
|
|
4203
|
+
/**
|
|
4204
|
+
* Workspace
|
|
4205
|
+
*
|
|
4206
|
+
* Workspace this workflow belongs to
|
|
4207
|
+
*/
|
|
4208
|
+
workspace: string;
|
|
4209
|
+
/**
|
|
4210
|
+
* Name
|
|
4211
|
+
*
|
|
4212
|
+
* Optional workflow name (e.g., 'Research Phase', 'Documentation')
|
|
4213
|
+
*/
|
|
4214
|
+
name?: string | null;
|
|
4215
|
+
/**
|
|
4216
|
+
* Current workflow status
|
|
4217
|
+
*/
|
|
4218
|
+
status?: WorkflowStatus;
|
|
4219
|
+
/**
|
|
4220
|
+
* Created At
|
|
4221
|
+
*
|
|
4222
|
+
* When the workflow was created
|
|
4223
|
+
*/
|
|
4224
|
+
created_at?: string;
|
|
4225
|
+
/**
|
|
4226
|
+
* Updated At
|
|
4227
|
+
*
|
|
4228
|
+
* When the workflow was last updated
|
|
4229
|
+
*/
|
|
4230
|
+
updated_at?: string;
|
|
4231
|
+
/**
|
|
4232
|
+
* Started At
|
|
4233
|
+
*
|
|
4234
|
+
* When the workflow started running
|
|
4235
|
+
*/
|
|
4236
|
+
started_at?: string | null;
|
|
4237
|
+
/**
|
|
4238
|
+
* Completed At
|
|
4239
|
+
*
|
|
4240
|
+
* When the workflow completed
|
|
4241
|
+
*/
|
|
4242
|
+
completed_at?: string | null;
|
|
4243
|
+
/**
|
|
4244
|
+
* Total Tasks
|
|
4245
|
+
*
|
|
4246
|
+
* Total number of tasks in workflow
|
|
4247
|
+
*/
|
|
4248
|
+
total_tasks?: number;
|
|
4249
|
+
/**
|
|
4250
|
+
* Completed Tasks
|
|
4251
|
+
*
|
|
4252
|
+
* Number of completed tasks
|
|
4253
|
+
*/
|
|
4254
|
+
completed_tasks?: number;
|
|
4255
|
+
/**
|
|
4256
|
+
* Failed Tasks
|
|
4257
|
+
*
|
|
4258
|
+
* Number of failed tasks
|
|
4259
|
+
*/
|
|
4260
|
+
failed_tasks?: number;
|
|
4261
|
+
};
|
|
4262
|
+
/**
|
|
4263
|
+
* WorkflowActionResponse
|
|
4264
|
+
*
|
|
4265
|
+
* Response from workflow action endpoints.
|
|
4266
|
+
*/
|
|
4267
|
+
type WorkflowActionResponse = {
|
|
4268
|
+
/**
|
|
4269
|
+
* Success
|
|
4270
|
+
*/
|
|
4271
|
+
success: boolean;
|
|
4272
|
+
/**
|
|
4273
|
+
* Message
|
|
4274
|
+
*/
|
|
4275
|
+
message: string;
|
|
4276
|
+
workflow?: WorkflowResponse | null;
|
|
4277
|
+
};
|
|
4278
|
+
/**
|
|
4279
|
+
* WorkflowCreate
|
|
4280
|
+
*
|
|
4281
|
+
* Request to create a workflow with tasks.
|
|
4282
|
+
*/
|
|
4283
|
+
type WorkflowCreate = {
|
|
4284
|
+
/**
|
|
4285
|
+
* Mission Id
|
|
4286
|
+
*
|
|
4287
|
+
* Parent mission ID
|
|
4288
|
+
*/
|
|
4289
|
+
mission_id: string;
|
|
4290
|
+
/**
|
|
4291
|
+
* Workflow Id
|
|
4292
|
+
*
|
|
4293
|
+
* Optional workflow ID (auto-generated if not provided)
|
|
4294
|
+
*/
|
|
4295
|
+
workflow_id?: string | null;
|
|
4296
|
+
/**
|
|
4297
|
+
* Name
|
|
4298
|
+
*
|
|
4299
|
+
* Optional workflow name
|
|
4300
|
+
*/
|
|
4301
|
+
name?: string | null;
|
|
4302
|
+
/**
|
|
4303
|
+
* Tasks
|
|
4304
|
+
*
|
|
4305
|
+
* Initial tasks to create
|
|
4306
|
+
*/
|
|
4307
|
+
tasks?: Array<WorkflowTaskCreate>;
|
|
4308
|
+
};
|
|
4309
|
+
/**
|
|
4310
|
+
* WorkflowListResponse
|
|
4311
|
+
*
|
|
4312
|
+
* Response for GET /ocxp/workflow with offset-based pagination.
|
|
4313
|
+
*/
|
|
4314
|
+
type WorkflowListResponse = {
|
|
4315
|
+
/**
|
|
4316
|
+
* Workflows
|
|
4317
|
+
*/
|
|
4318
|
+
workflows: Array<Workflow>;
|
|
4319
|
+
/**
|
|
4320
|
+
* Count
|
|
4321
|
+
*
|
|
4322
|
+
* Number of items in this response
|
|
4323
|
+
*/
|
|
4324
|
+
count: number;
|
|
4325
|
+
/**
|
|
4326
|
+
* Total
|
|
4327
|
+
*
|
|
4328
|
+
* Total number of items matching query (across all pages)
|
|
4329
|
+
*/
|
|
4330
|
+
total?: number | null;
|
|
4331
|
+
/**
|
|
4332
|
+
* Offset
|
|
4333
|
+
*
|
|
4334
|
+
* Offset used for this query
|
|
4335
|
+
*/
|
|
4336
|
+
offset?: number | null;
|
|
4337
|
+
/**
|
|
4338
|
+
* Limit
|
|
4339
|
+
*
|
|
4340
|
+
* Limit used for this query
|
|
4341
|
+
*/
|
|
4342
|
+
limit?: number | null;
|
|
4343
|
+
/**
|
|
4344
|
+
* Has More
|
|
4345
|
+
*
|
|
4346
|
+
* Whether there are more items after this page
|
|
4347
|
+
*/
|
|
4348
|
+
has_more?: boolean;
|
|
4349
|
+
};
|
|
4350
|
+
/**
|
|
4351
|
+
* WorkflowResponse
|
|
4352
|
+
*
|
|
4353
|
+
* Workflow with all tasks (strands-compatible format).
|
|
4354
|
+
*/
|
|
4355
|
+
type WorkflowResponse = {
|
|
4356
|
+
/**
|
|
4357
|
+
* Workflow Id
|
|
4358
|
+
*/
|
|
4359
|
+
workflow_id: string;
|
|
4360
|
+
/**
|
|
4361
|
+
* Mission Id
|
|
4362
|
+
*/
|
|
4363
|
+
mission_id: string;
|
|
4364
|
+
/**
|
|
4365
|
+
* Name
|
|
4366
|
+
*/
|
|
4367
|
+
name?: string | null;
|
|
4368
|
+
status: WorkflowStatus;
|
|
4369
|
+
/**
|
|
4370
|
+
* Created At
|
|
4371
|
+
*/
|
|
4372
|
+
created_at: string;
|
|
4373
|
+
/**
|
|
4374
|
+
* Updated At
|
|
4375
|
+
*/
|
|
4376
|
+
updated_at: string;
|
|
4377
|
+
/**
|
|
4378
|
+
* Started At
|
|
4379
|
+
*/
|
|
4380
|
+
started_at?: string | null;
|
|
4381
|
+
/**
|
|
4382
|
+
* Completed At
|
|
4383
|
+
*/
|
|
4384
|
+
completed_at?: string | null;
|
|
4385
|
+
/**
|
|
4386
|
+
* Total Tasks
|
|
4387
|
+
*/
|
|
4388
|
+
total_tasks: number;
|
|
4389
|
+
/**
|
|
4390
|
+
* Completed Tasks
|
|
4391
|
+
*/
|
|
4392
|
+
completed_tasks: number;
|
|
4393
|
+
/**
|
|
4394
|
+
* Failed Tasks
|
|
4395
|
+
*/
|
|
4396
|
+
failed_tasks: number;
|
|
4397
|
+
/**
|
|
4398
|
+
* Progress
|
|
4399
|
+
*/
|
|
4400
|
+
progress: number;
|
|
4401
|
+
/**
|
|
4402
|
+
* Tasks
|
|
4403
|
+
*/
|
|
4404
|
+
tasks: {
|
|
4405
|
+
[key: string]: TaskResponse;
|
|
4406
|
+
};
|
|
4407
|
+
};
|
|
4408
|
+
/**
|
|
4409
|
+
* WorkflowStatus
|
|
4410
|
+
*
|
|
4411
|
+
* Status of a workflow.
|
|
4412
|
+
*/
|
|
4413
|
+
type WorkflowStatus = 'pending' | 'running' | 'paused' | 'completed' | 'failed' | 'archived';
|
|
4414
|
+
/**
|
|
4415
|
+
* WorkflowTaskCreate
|
|
4416
|
+
*
|
|
4417
|
+
* Task definition for workflow creation.
|
|
4418
|
+
*/
|
|
4419
|
+
type WorkflowTaskCreate = {
|
|
4420
|
+
/**
|
|
4421
|
+
* Task Id
|
|
4422
|
+
*
|
|
4423
|
+
* Task identifier (e.g., 'gap_1_research')
|
|
4424
|
+
*/
|
|
4425
|
+
task_id: string;
|
|
4426
|
+
/**
|
|
4427
|
+
* Description
|
|
4428
|
+
*
|
|
4429
|
+
* Task description/content
|
|
4430
|
+
*/
|
|
4431
|
+
description: string;
|
|
4432
|
+
/**
|
|
4433
|
+
* Priority
|
|
4434
|
+
*
|
|
4435
|
+
* Task priority (1=lowest, 5=highest)
|
|
4436
|
+
*/
|
|
4437
|
+
priority?: number;
|
|
4438
|
+
/**
|
|
4439
|
+
* Timeout
|
|
4440
|
+
*
|
|
4441
|
+
* Task timeout in seconds
|
|
4442
|
+
*/
|
|
4443
|
+
timeout?: number;
|
|
4444
|
+
/**
|
|
4445
|
+
* Dependencies
|
|
4446
|
+
*
|
|
4447
|
+
* List of task_ids this task depends on
|
|
4448
|
+
*/
|
|
4449
|
+
dependencies?: Array<string>;
|
|
4450
|
+
/**
|
|
4451
|
+
* Subject matter expert type
|
|
4452
|
+
*/
|
|
4453
|
+
sme_type?: SmeType | null;
|
|
4454
|
+
/**
|
|
4455
|
+
* Skill Path
|
|
4456
|
+
*
|
|
4457
|
+
* Skill path for task execution
|
|
4458
|
+
*/
|
|
4459
|
+
skill_path?: string | null;
|
|
4460
|
+
};
|
|
4461
|
+
/**
|
|
4462
|
+
* WorkspaceItem
|
|
4463
|
+
*
|
|
4464
|
+
* Workspace item.
|
|
4465
|
+
*/
|
|
4466
|
+
type WorkspaceItem = {
|
|
4467
|
+
/**
|
|
4468
|
+
* Id
|
|
4469
|
+
*/
|
|
4470
|
+
id: string;
|
|
4471
|
+
/**
|
|
4472
|
+
* Name
|
|
4473
|
+
*/
|
|
3445
4474
|
name: string;
|
|
3446
4475
|
};
|
|
3447
4476
|
/**
|
|
@@ -3491,6 +4520,35 @@ type WriteRequest = {
|
|
|
3491
4520
|
* Mission Id
|
|
3492
4521
|
*/
|
|
3493
4522
|
mission_id?: string | null;
|
|
4523
|
+
/**
|
|
4524
|
+
* Wait For Index
|
|
4525
|
+
*/
|
|
4526
|
+
wait_for_index?: boolean;
|
|
4527
|
+
/**
|
|
4528
|
+
* Verify Access
|
|
4529
|
+
*/
|
|
4530
|
+
verify_access?: boolean;
|
|
4531
|
+
/**
|
|
4532
|
+
* Max Retries
|
|
4533
|
+
*/
|
|
4534
|
+
max_retries?: number;
|
|
4535
|
+
};
|
|
4536
|
+
/**
|
|
4537
|
+
* BulkDeleteRequest
|
|
4538
|
+
*/
|
|
4539
|
+
type AppRoutersBulkBulkDeleteRequest = {
|
|
4540
|
+
/**
|
|
4541
|
+
* Ids
|
|
4542
|
+
*/
|
|
4543
|
+
ids: Array<string>;
|
|
4544
|
+
/**
|
|
4545
|
+
* Manage Metadata
|
|
4546
|
+
*/
|
|
4547
|
+
manage_metadata?: boolean;
|
|
4548
|
+
/**
|
|
4549
|
+
* Auto Index
|
|
4550
|
+
*/
|
|
4551
|
+
auto_index?: boolean | null;
|
|
3494
4552
|
};
|
|
3495
4553
|
type BulkReadContentData = {
|
|
3496
4554
|
body: BulkReadRequest;
|
|
@@ -3571,7 +4629,7 @@ type BulkWriteContentResponses = {
|
|
|
3571
4629
|
200: BulkWriteResponse;
|
|
3572
4630
|
};
|
|
3573
4631
|
type BulkDeleteContentData = {
|
|
3574
|
-
body:
|
|
4632
|
+
body: AppRoutersBulkBulkDeleteRequest;
|
|
3575
4633
|
headers?: {
|
|
3576
4634
|
/**
|
|
3577
4635
|
* X-Workspace
|
|
@@ -3889,12 +4947,36 @@ type ListSessionsData = {
|
|
|
3889
4947
|
* Maximum number of sessions to return
|
|
3890
4948
|
*/
|
|
3891
4949
|
limit?: number;
|
|
4950
|
+
/**
|
|
4951
|
+
* Offset
|
|
4952
|
+
*
|
|
4953
|
+
* Number of sessions to skip (for pagination)
|
|
4954
|
+
*/
|
|
4955
|
+
offset?: number;
|
|
3892
4956
|
/**
|
|
3893
4957
|
* Status
|
|
3894
4958
|
*
|
|
3895
4959
|
* Filter by status: active, archived
|
|
3896
4960
|
*/
|
|
3897
4961
|
status?: string;
|
|
4962
|
+
/**
|
|
4963
|
+
* Project Id
|
|
4964
|
+
*
|
|
4965
|
+
* Filter by project ID
|
|
4966
|
+
*/
|
|
4967
|
+
project_id?: string | null;
|
|
4968
|
+
/**
|
|
4969
|
+
* Order By
|
|
4970
|
+
*
|
|
4971
|
+
* Field to order by (created_at, updated_at)
|
|
4972
|
+
*/
|
|
4973
|
+
order_by?: string | null;
|
|
4974
|
+
/**
|
|
4975
|
+
* Order Dir
|
|
4976
|
+
*
|
|
4977
|
+
* Sort direction (asc, desc)
|
|
4978
|
+
*/
|
|
4979
|
+
order_dir?: string;
|
|
3898
4980
|
};
|
|
3899
4981
|
url: '/ocxp/session';
|
|
3900
4982
|
};
|
|
@@ -4093,6 +5175,24 @@ type ListProjectsData = {
|
|
|
4093
5175
|
* Maximum number of projects to return
|
|
4094
5176
|
*/
|
|
4095
5177
|
limit?: number;
|
|
5178
|
+
/**
|
|
5179
|
+
* Offset
|
|
5180
|
+
*
|
|
5181
|
+
* Number of projects to skip (for pagination)
|
|
5182
|
+
*/
|
|
5183
|
+
offset?: number;
|
|
5184
|
+
/**
|
|
5185
|
+
* Order By
|
|
5186
|
+
*
|
|
5187
|
+
* Field to order by (created_at, updated_at)
|
|
5188
|
+
*/
|
|
5189
|
+
order_by?: string | null;
|
|
5190
|
+
/**
|
|
5191
|
+
* Order Dir
|
|
5192
|
+
*
|
|
5193
|
+
* Sort direction (asc, desc)
|
|
5194
|
+
*/
|
|
5195
|
+
order_dir?: string;
|
|
4096
5196
|
};
|
|
4097
5197
|
url: '/ocxp/project';
|
|
4098
5198
|
};
|
|
@@ -4702,8 +5802,8 @@ type RegenerateMissionResponses = {
|
|
|
4702
5802
|
*/
|
|
4703
5803
|
200: RegenerateMissionResponse;
|
|
4704
5804
|
};
|
|
4705
|
-
type
|
|
4706
|
-
body
|
|
5805
|
+
type GetKbStatusData = {
|
|
5806
|
+
body?: never;
|
|
4707
5807
|
headers?: {
|
|
4708
5808
|
/**
|
|
4709
5809
|
* X-Workspace
|
|
@@ -4712,9 +5812,9 @@ type QueryKnowledgeBaseData = {
|
|
|
4712
5812
|
};
|
|
4713
5813
|
path?: never;
|
|
4714
5814
|
query?: never;
|
|
4715
|
-
url: '/ocxp/kb/
|
|
5815
|
+
url: '/ocxp/kb/status';
|
|
4716
5816
|
};
|
|
4717
|
-
type
|
|
5817
|
+
type GetKbStatusErrors = {
|
|
4718
5818
|
/**
|
|
4719
5819
|
* Validation Error
|
|
4720
5820
|
*/
|
|
@@ -4724,14 +5824,14 @@ type QueryKnowledgeBaseErrors = {
|
|
|
4724
5824
|
*/
|
|
4725
5825
|
429: unknown;
|
|
4726
5826
|
};
|
|
4727
|
-
type
|
|
5827
|
+
type GetKbStatusResponses = {
|
|
4728
5828
|
/**
|
|
4729
5829
|
* Successful Response
|
|
4730
5830
|
*/
|
|
4731
|
-
200:
|
|
5831
|
+
200: KbStatusResponse;
|
|
4732
5832
|
};
|
|
4733
|
-
type
|
|
4734
|
-
body:
|
|
5833
|
+
type TriggerKbSyncData = {
|
|
5834
|
+
body: TriggerSyncRequest;
|
|
4735
5835
|
headers?: {
|
|
4736
5836
|
/**
|
|
4737
5837
|
* X-Workspace
|
|
@@ -4740,9 +5840,9 @@ type RagKnowledgeBaseData = {
|
|
|
4740
5840
|
};
|
|
4741
5841
|
path?: never;
|
|
4742
5842
|
query?: never;
|
|
4743
|
-
url: '/ocxp/kb/
|
|
5843
|
+
url: '/ocxp/kb/sync';
|
|
4744
5844
|
};
|
|
4745
|
-
type
|
|
5845
|
+
type TriggerKbSyncErrors = {
|
|
4746
5846
|
/**
|
|
4747
5847
|
* Validation Error
|
|
4748
5848
|
*/
|
|
@@ -4752,14 +5852,14 @@ type RagKnowledgeBaseErrors = {
|
|
|
4752
5852
|
*/
|
|
4753
5853
|
429: unknown;
|
|
4754
5854
|
};
|
|
4755
|
-
type
|
|
5855
|
+
type TriggerKbSyncResponses = {
|
|
4756
5856
|
/**
|
|
4757
5857
|
* Successful Response
|
|
4758
5858
|
*/
|
|
4759
|
-
|
|
5859
|
+
202: TriggerSyncResponse;
|
|
4760
5860
|
};
|
|
4761
|
-
type
|
|
4762
|
-
body
|
|
5861
|
+
type QueryKnowledgeBaseData = {
|
|
5862
|
+
body: KbQueryRequest;
|
|
4763
5863
|
headers?: {
|
|
4764
5864
|
/**
|
|
4765
5865
|
* X-Workspace
|
|
@@ -4767,17 +5867,73 @@ type ListMemosData = {
|
|
|
4767
5867
|
'X-Workspace'?: string;
|
|
4768
5868
|
};
|
|
4769
5869
|
path?: never;
|
|
4770
|
-
query?:
|
|
4771
|
-
|
|
4772
|
-
|
|
4773
|
-
|
|
4774
|
-
|
|
4775
|
-
|
|
4776
|
-
|
|
4777
|
-
|
|
4778
|
-
|
|
4779
|
-
|
|
4780
|
-
|
|
5870
|
+
query?: never;
|
|
5871
|
+
url: '/ocxp/kb/query';
|
|
5872
|
+
};
|
|
5873
|
+
type QueryKnowledgeBaseErrors = {
|
|
5874
|
+
/**
|
|
5875
|
+
* Validation Error
|
|
5876
|
+
*/
|
|
5877
|
+
422: HttpValidationError;
|
|
5878
|
+
/**
|
|
5879
|
+
* Rate limit exceeded
|
|
5880
|
+
*/
|
|
5881
|
+
429: unknown;
|
|
5882
|
+
};
|
|
5883
|
+
type QueryKnowledgeBaseResponses = {
|
|
5884
|
+
/**
|
|
5885
|
+
* Successful Response
|
|
5886
|
+
*/
|
|
5887
|
+
200: KbQueryResponse;
|
|
5888
|
+
};
|
|
5889
|
+
type RagKnowledgeBaseData = {
|
|
5890
|
+
body: RagRequest;
|
|
5891
|
+
headers?: {
|
|
5892
|
+
/**
|
|
5893
|
+
* X-Workspace
|
|
5894
|
+
*/
|
|
5895
|
+
'X-Workspace'?: string;
|
|
5896
|
+
};
|
|
5897
|
+
path?: never;
|
|
5898
|
+
query?: never;
|
|
5899
|
+
url: '/ocxp/kb/rag';
|
|
5900
|
+
};
|
|
5901
|
+
type RagKnowledgeBaseErrors = {
|
|
5902
|
+
/**
|
|
5903
|
+
* Validation Error
|
|
5904
|
+
*/
|
|
5905
|
+
422: HttpValidationError;
|
|
5906
|
+
/**
|
|
5907
|
+
* Rate limit exceeded
|
|
5908
|
+
*/
|
|
5909
|
+
429: unknown;
|
|
5910
|
+
};
|
|
5911
|
+
type RagKnowledgeBaseResponses = {
|
|
5912
|
+
/**
|
|
5913
|
+
* Successful Response
|
|
5914
|
+
*/
|
|
5915
|
+
200: KbRagResponse;
|
|
5916
|
+
};
|
|
5917
|
+
type ListMemosData = {
|
|
5918
|
+
body?: never;
|
|
5919
|
+
headers?: {
|
|
5920
|
+
/**
|
|
5921
|
+
* X-Workspace
|
|
5922
|
+
*/
|
|
5923
|
+
'X-Workspace'?: string;
|
|
5924
|
+
};
|
|
5925
|
+
path?: never;
|
|
5926
|
+
query?: {
|
|
5927
|
+
/**
|
|
5928
|
+
* Status
|
|
5929
|
+
*
|
|
5930
|
+
* Filter by status (open, acknowledged, resolved, ignored)
|
|
5931
|
+
*/
|
|
5932
|
+
status?: MemoStatus | null;
|
|
5933
|
+
/**
|
|
5934
|
+
* Source Type
|
|
5935
|
+
*
|
|
5936
|
+
* Filter by source type (repo, project, mission, doc)
|
|
4781
5937
|
*/
|
|
4782
5938
|
source_type?: SourceType | null;
|
|
4783
5939
|
/**
|
|
@@ -4807,9 +5963,27 @@ type ListMemosData = {
|
|
|
4807
5963
|
/**
|
|
4808
5964
|
* Limit
|
|
4809
5965
|
*
|
|
4810
|
-
* Maximum results
|
|
5966
|
+
* Maximum results per page
|
|
4811
5967
|
*/
|
|
4812
5968
|
limit?: number;
|
|
5969
|
+
/**
|
|
5970
|
+
* Offset
|
|
5971
|
+
*
|
|
5972
|
+
* Number of items to skip (for pagination)
|
|
5973
|
+
*/
|
|
5974
|
+
offset?: number;
|
|
5975
|
+
/**
|
|
5976
|
+
* Order By
|
|
5977
|
+
*
|
|
5978
|
+
* Field to sort by (created_at, updated_at, highest_severity)
|
|
5979
|
+
*/
|
|
5980
|
+
order_by?: string;
|
|
5981
|
+
/**
|
|
5982
|
+
* Order Dir
|
|
5983
|
+
*
|
|
5984
|
+
* Sort direction (asc, desc)
|
|
5985
|
+
*/
|
|
5986
|
+
order_dir?: 'asc' | 'desc';
|
|
4813
5987
|
};
|
|
4814
5988
|
url: '/ocxp/memo';
|
|
4815
5989
|
};
|
|
@@ -4984,11 +6158,459 @@ type GetMemoForSourceResponses = {
|
|
|
4984
6158
|
*
|
|
4985
6159
|
* Memo returned or null if none exists
|
|
4986
6160
|
*/
|
|
4987
|
-
200: Memo | null;
|
|
6161
|
+
200: Memo | null;
|
|
6162
|
+
};
|
|
6163
|
+
type GetMemoForSourceResponse = GetMemoForSourceResponses[keyof GetMemoForSourceResponses];
|
|
6164
|
+
type ResolveMemoData = {
|
|
6165
|
+
body: MemoResolveRequest;
|
|
6166
|
+
headers?: {
|
|
6167
|
+
/**
|
|
6168
|
+
* X-Workspace
|
|
6169
|
+
*/
|
|
6170
|
+
'X-Workspace'?: string;
|
|
6171
|
+
};
|
|
6172
|
+
path: {
|
|
6173
|
+
/**
|
|
6174
|
+
* Memo Id
|
|
6175
|
+
*
|
|
6176
|
+
* Memo ID
|
|
6177
|
+
*/
|
|
6178
|
+
memo_id: string;
|
|
6179
|
+
};
|
|
6180
|
+
query?: never;
|
|
6181
|
+
url: '/ocxp/memo/{memo_id}/resolve';
|
|
6182
|
+
};
|
|
6183
|
+
type ResolveMemoErrors = {
|
|
6184
|
+
/**
|
|
6185
|
+
* Memo not found
|
|
6186
|
+
*/
|
|
6187
|
+
404: unknown;
|
|
6188
|
+
/**
|
|
6189
|
+
* Validation Error
|
|
6190
|
+
*/
|
|
6191
|
+
422: HttpValidationError;
|
|
6192
|
+
/**
|
|
6193
|
+
* Rate limit exceeded
|
|
6194
|
+
*/
|
|
6195
|
+
429: unknown;
|
|
6196
|
+
};
|
|
6197
|
+
type ResolveMemoResponses = {
|
|
6198
|
+
/**
|
|
6199
|
+
* Memo resolved successfully
|
|
6200
|
+
*/
|
|
6201
|
+
200: MemoActionResponse;
|
|
6202
|
+
};
|
|
6203
|
+
type AcknowledgeMemoData = {
|
|
6204
|
+
body?: never;
|
|
6205
|
+
headers?: {
|
|
6206
|
+
/**
|
|
6207
|
+
* X-Workspace
|
|
6208
|
+
*/
|
|
6209
|
+
'X-Workspace'?: string;
|
|
6210
|
+
};
|
|
6211
|
+
path: {
|
|
6212
|
+
/**
|
|
6213
|
+
* Memo Id
|
|
6214
|
+
*
|
|
6215
|
+
* Memo ID
|
|
6216
|
+
*/
|
|
6217
|
+
memo_id: string;
|
|
6218
|
+
};
|
|
6219
|
+
query?: never;
|
|
6220
|
+
url: '/ocxp/memo/{memo_id}/acknowledge';
|
|
6221
|
+
};
|
|
6222
|
+
type AcknowledgeMemoErrors = {
|
|
6223
|
+
/**
|
|
6224
|
+
* Memo not found
|
|
6225
|
+
*/
|
|
6226
|
+
404: unknown;
|
|
6227
|
+
/**
|
|
6228
|
+
* Validation Error
|
|
6229
|
+
*/
|
|
6230
|
+
422: HttpValidationError;
|
|
6231
|
+
/**
|
|
6232
|
+
* Rate limit exceeded
|
|
6233
|
+
*/
|
|
6234
|
+
429: unknown;
|
|
6235
|
+
};
|
|
6236
|
+
type AcknowledgeMemoResponses = {
|
|
6237
|
+
/**
|
|
6238
|
+
* Memo acknowledged successfully
|
|
6239
|
+
*/
|
|
6240
|
+
200: MemoActionResponse;
|
|
6241
|
+
};
|
|
6242
|
+
type IgnoreMemoData = {
|
|
6243
|
+
body?: never;
|
|
6244
|
+
headers?: {
|
|
6245
|
+
/**
|
|
6246
|
+
* X-Workspace
|
|
6247
|
+
*/
|
|
6248
|
+
'X-Workspace'?: string;
|
|
6249
|
+
};
|
|
6250
|
+
path: {
|
|
6251
|
+
/**
|
|
6252
|
+
* Memo Id
|
|
6253
|
+
*
|
|
6254
|
+
* Memo ID
|
|
6255
|
+
*/
|
|
6256
|
+
memo_id: string;
|
|
6257
|
+
};
|
|
6258
|
+
query?: never;
|
|
6259
|
+
url: '/ocxp/memo/{memo_id}/ignore';
|
|
6260
|
+
};
|
|
6261
|
+
type IgnoreMemoErrors = {
|
|
6262
|
+
/**
|
|
6263
|
+
* Memo not found
|
|
6264
|
+
*/
|
|
6265
|
+
404: unknown;
|
|
6266
|
+
/**
|
|
6267
|
+
* Validation Error
|
|
6268
|
+
*/
|
|
6269
|
+
422: HttpValidationError;
|
|
6270
|
+
/**
|
|
6271
|
+
* Rate limit exceeded
|
|
6272
|
+
*/
|
|
6273
|
+
429: unknown;
|
|
6274
|
+
};
|
|
6275
|
+
type IgnoreMemoResponses = {
|
|
6276
|
+
/**
|
|
6277
|
+
* Memo ignored successfully
|
|
6278
|
+
*/
|
|
6279
|
+
200: MemoActionResponse;
|
|
6280
|
+
};
|
|
6281
|
+
type ListWorkflowsData = {
|
|
6282
|
+
body?: never;
|
|
6283
|
+
headers?: {
|
|
6284
|
+
/**
|
|
6285
|
+
* X-Workspace
|
|
6286
|
+
*/
|
|
6287
|
+
'X-Workspace'?: string;
|
|
6288
|
+
};
|
|
6289
|
+
path?: never;
|
|
6290
|
+
query: {
|
|
6291
|
+
/**
|
|
6292
|
+
* Mission Id
|
|
6293
|
+
*
|
|
6294
|
+
* Filter by mission ID
|
|
6295
|
+
*/
|
|
6296
|
+
mission_id: string;
|
|
6297
|
+
/**
|
|
6298
|
+
* Status
|
|
6299
|
+
*
|
|
6300
|
+
* Filter by workflow status
|
|
6301
|
+
*/
|
|
6302
|
+
status?: WorkflowStatus | null;
|
|
6303
|
+
/**
|
|
6304
|
+
* Limit
|
|
6305
|
+
*
|
|
6306
|
+
* Maximum results per page
|
|
6307
|
+
*/
|
|
6308
|
+
limit?: number;
|
|
6309
|
+
/**
|
|
6310
|
+
* Offset
|
|
6311
|
+
*
|
|
6312
|
+
* Number of items to skip
|
|
6313
|
+
*/
|
|
6314
|
+
offset?: number;
|
|
6315
|
+
/**
|
|
6316
|
+
* Order By
|
|
6317
|
+
*
|
|
6318
|
+
* Field to sort by (created_at, updated_at, name)
|
|
6319
|
+
*/
|
|
6320
|
+
order_by?: string;
|
|
6321
|
+
/**
|
|
6322
|
+
* Order Dir
|
|
6323
|
+
*
|
|
6324
|
+
* Sort direction (asc, desc)
|
|
6325
|
+
*/
|
|
6326
|
+
order_dir?: string;
|
|
6327
|
+
};
|
|
6328
|
+
url: '/ocxp/workflow';
|
|
6329
|
+
};
|
|
6330
|
+
type ListWorkflowsErrors = {
|
|
6331
|
+
/**
|
|
6332
|
+
* Validation Error
|
|
6333
|
+
*/
|
|
6334
|
+
422: HttpValidationError;
|
|
6335
|
+
/**
|
|
6336
|
+
* Rate limit exceeded
|
|
6337
|
+
*/
|
|
6338
|
+
429: unknown;
|
|
6339
|
+
};
|
|
6340
|
+
type ListWorkflowsResponses = {
|
|
6341
|
+
/**
|
|
6342
|
+
* List of workflows returned successfully
|
|
6343
|
+
*/
|
|
6344
|
+
200: WorkflowListResponse;
|
|
6345
|
+
};
|
|
6346
|
+
type CreateWorkflowData = {
|
|
6347
|
+
body: WorkflowCreate;
|
|
6348
|
+
headers?: {
|
|
6349
|
+
/**
|
|
6350
|
+
* X-Workspace
|
|
6351
|
+
*/
|
|
6352
|
+
'X-Workspace'?: string;
|
|
6353
|
+
};
|
|
6354
|
+
path?: never;
|
|
6355
|
+
query?: never;
|
|
6356
|
+
url: '/ocxp/workflow';
|
|
6357
|
+
};
|
|
6358
|
+
type CreateWorkflowErrors = {
|
|
6359
|
+
/**
|
|
6360
|
+
* Invalid request
|
|
6361
|
+
*/
|
|
6362
|
+
400: unknown;
|
|
6363
|
+
/**
|
|
6364
|
+
* Validation Error
|
|
6365
|
+
*/
|
|
6366
|
+
422: HttpValidationError;
|
|
6367
|
+
/**
|
|
6368
|
+
* Rate limit exceeded
|
|
6369
|
+
*/
|
|
6370
|
+
429: unknown;
|
|
6371
|
+
};
|
|
6372
|
+
type CreateWorkflowResponses = {
|
|
6373
|
+
/**
|
|
6374
|
+
* Workflow created successfully
|
|
6375
|
+
*/
|
|
6376
|
+
201: WorkflowResponse;
|
|
6377
|
+
};
|
|
6378
|
+
type DeleteWorkflowData = {
|
|
6379
|
+
body?: never;
|
|
6380
|
+
headers?: {
|
|
6381
|
+
/**
|
|
6382
|
+
* X-Workspace
|
|
6383
|
+
*/
|
|
6384
|
+
'X-Workspace'?: string;
|
|
6385
|
+
};
|
|
6386
|
+
path: {
|
|
6387
|
+
/**
|
|
6388
|
+
* Workflow Id
|
|
6389
|
+
*
|
|
6390
|
+
* Workflow ID
|
|
6391
|
+
*/
|
|
6392
|
+
workflow_id: string;
|
|
6393
|
+
};
|
|
6394
|
+
query?: never;
|
|
6395
|
+
url: '/ocxp/workflow/{workflow_id}';
|
|
6396
|
+
};
|
|
6397
|
+
type DeleteWorkflowErrors = {
|
|
6398
|
+
/**
|
|
6399
|
+
* Workflow not found
|
|
6400
|
+
*/
|
|
6401
|
+
404: unknown;
|
|
6402
|
+
/**
|
|
6403
|
+
* Validation Error
|
|
6404
|
+
*/
|
|
6405
|
+
422: HttpValidationError;
|
|
6406
|
+
/**
|
|
6407
|
+
* Rate limit exceeded
|
|
6408
|
+
*/
|
|
6409
|
+
429: unknown;
|
|
6410
|
+
};
|
|
6411
|
+
type DeleteWorkflowResponses = {
|
|
6412
|
+
/**
|
|
6413
|
+
* Workflow deleted successfully
|
|
6414
|
+
*/
|
|
6415
|
+
200: WorkflowActionResponse;
|
|
6416
|
+
};
|
|
6417
|
+
type GetWorkflowData = {
|
|
6418
|
+
body?: never;
|
|
6419
|
+
headers?: {
|
|
6420
|
+
/**
|
|
6421
|
+
* X-Workspace
|
|
6422
|
+
*/
|
|
6423
|
+
'X-Workspace'?: string;
|
|
6424
|
+
};
|
|
6425
|
+
path: {
|
|
6426
|
+
/**
|
|
6427
|
+
* Workflow Id
|
|
6428
|
+
*
|
|
6429
|
+
* Workflow ID
|
|
6430
|
+
*/
|
|
6431
|
+
workflow_id: string;
|
|
6432
|
+
};
|
|
6433
|
+
query?: never;
|
|
6434
|
+
url: '/ocxp/workflow/{workflow_id}';
|
|
6435
|
+
};
|
|
6436
|
+
type GetWorkflowErrors = {
|
|
6437
|
+
/**
|
|
6438
|
+
* Workflow not found
|
|
6439
|
+
*/
|
|
6440
|
+
404: unknown;
|
|
6441
|
+
/**
|
|
6442
|
+
* Validation Error
|
|
6443
|
+
*/
|
|
6444
|
+
422: HttpValidationError;
|
|
6445
|
+
/**
|
|
6446
|
+
* Rate limit exceeded
|
|
6447
|
+
*/
|
|
6448
|
+
429: unknown;
|
|
6449
|
+
};
|
|
6450
|
+
type GetWorkflowResponses = {
|
|
6451
|
+
/**
|
|
6452
|
+
* Workflow returned successfully
|
|
6453
|
+
*/
|
|
6454
|
+
200: WorkflowResponse;
|
|
6455
|
+
};
|
|
6456
|
+
type StartWorkflowData = {
|
|
6457
|
+
body?: never;
|
|
6458
|
+
headers?: {
|
|
6459
|
+
/**
|
|
6460
|
+
* X-Workspace
|
|
6461
|
+
*/
|
|
6462
|
+
'X-Workspace'?: string;
|
|
6463
|
+
};
|
|
6464
|
+
path: {
|
|
6465
|
+
/**
|
|
6466
|
+
* Workflow Id
|
|
6467
|
+
*
|
|
6468
|
+
* Workflow ID
|
|
6469
|
+
*/
|
|
6470
|
+
workflow_id: string;
|
|
6471
|
+
};
|
|
6472
|
+
query?: never;
|
|
6473
|
+
url: '/ocxp/workflow/{workflow_id}/start';
|
|
6474
|
+
};
|
|
6475
|
+
type StartWorkflowErrors = {
|
|
6476
|
+
/**
|
|
6477
|
+
* Workflow not found
|
|
6478
|
+
*/
|
|
6479
|
+
404: unknown;
|
|
6480
|
+
/**
|
|
6481
|
+
* Validation Error
|
|
6482
|
+
*/
|
|
6483
|
+
422: HttpValidationError;
|
|
6484
|
+
/**
|
|
6485
|
+
* Rate limit exceeded
|
|
6486
|
+
*/
|
|
6487
|
+
429: unknown;
|
|
6488
|
+
};
|
|
6489
|
+
type StartWorkflowResponses = {
|
|
6490
|
+
/**
|
|
6491
|
+
* Workflow started successfully
|
|
6492
|
+
*/
|
|
6493
|
+
200: WorkflowActionResponse;
|
|
6494
|
+
};
|
|
6495
|
+
type ListTasksData = {
|
|
6496
|
+
body?: never;
|
|
6497
|
+
headers?: {
|
|
6498
|
+
/**
|
|
6499
|
+
* X-Workspace
|
|
6500
|
+
*/
|
|
6501
|
+
'X-Workspace'?: string;
|
|
6502
|
+
};
|
|
6503
|
+
path: {
|
|
6504
|
+
/**
|
|
6505
|
+
* Workflow Id
|
|
6506
|
+
*
|
|
6507
|
+
* Workflow ID
|
|
6508
|
+
*/
|
|
6509
|
+
workflow_id: string;
|
|
6510
|
+
};
|
|
6511
|
+
query?: never;
|
|
6512
|
+
url: '/ocxp/workflow/{workflow_id}/tasks';
|
|
6513
|
+
};
|
|
6514
|
+
type ListTasksErrors = {
|
|
6515
|
+
/**
|
|
6516
|
+
* Workflow not found
|
|
6517
|
+
*/
|
|
6518
|
+
404: unknown;
|
|
6519
|
+
/**
|
|
6520
|
+
* Validation Error
|
|
6521
|
+
*/
|
|
6522
|
+
422: HttpValidationError;
|
|
6523
|
+
/**
|
|
6524
|
+
* Rate limit exceeded
|
|
6525
|
+
*/
|
|
6526
|
+
429: unknown;
|
|
6527
|
+
};
|
|
6528
|
+
type ListTasksResponses = {
|
|
6529
|
+
/**
|
|
6530
|
+
* Tasks returned successfully
|
|
6531
|
+
*/
|
|
6532
|
+
200: TaskListResponse;
|
|
6533
|
+
};
|
|
6534
|
+
type AddTaskData = {
|
|
6535
|
+
body: WorkflowTaskCreate;
|
|
6536
|
+
headers?: {
|
|
6537
|
+
/**
|
|
6538
|
+
* X-Workspace
|
|
6539
|
+
*/
|
|
6540
|
+
'X-Workspace'?: string;
|
|
6541
|
+
};
|
|
6542
|
+
path: {
|
|
6543
|
+
/**
|
|
6544
|
+
* Workflow Id
|
|
6545
|
+
*
|
|
6546
|
+
* Workflow ID
|
|
6547
|
+
*/
|
|
6548
|
+
workflow_id: string;
|
|
6549
|
+
};
|
|
6550
|
+
query?: never;
|
|
6551
|
+
url: '/ocxp/workflow/{workflow_id}/tasks';
|
|
6552
|
+
};
|
|
6553
|
+
type AddTaskErrors = {
|
|
6554
|
+
/**
|
|
6555
|
+
* Workflow not found
|
|
6556
|
+
*/
|
|
6557
|
+
404: unknown;
|
|
6558
|
+
/**
|
|
6559
|
+
* Validation Error
|
|
6560
|
+
*/
|
|
6561
|
+
422: HttpValidationError;
|
|
6562
|
+
/**
|
|
6563
|
+
* Rate limit exceeded
|
|
6564
|
+
*/
|
|
6565
|
+
429: unknown;
|
|
6566
|
+
};
|
|
6567
|
+
type AddTaskResponses = {
|
|
6568
|
+
/**
|
|
6569
|
+
* Task added successfully
|
|
6570
|
+
*/
|
|
6571
|
+
201: TaskResponse;
|
|
6572
|
+
};
|
|
6573
|
+
type BulkUpdateTasksData = {
|
|
6574
|
+
body: BulkTaskUpdateRequest;
|
|
6575
|
+
headers?: {
|
|
6576
|
+
/**
|
|
6577
|
+
* X-Workspace
|
|
6578
|
+
*/
|
|
6579
|
+
'X-Workspace'?: string;
|
|
6580
|
+
};
|
|
6581
|
+
path: {
|
|
6582
|
+
/**
|
|
6583
|
+
* Workflow Id
|
|
6584
|
+
*
|
|
6585
|
+
* Workflow ID
|
|
6586
|
+
*/
|
|
6587
|
+
workflow_id: string;
|
|
6588
|
+
};
|
|
6589
|
+
query?: never;
|
|
6590
|
+
url: '/ocxp/workflow/{workflow_id}/tasks/bulk';
|
|
6591
|
+
};
|
|
6592
|
+
type BulkUpdateTasksErrors = {
|
|
6593
|
+
/**
|
|
6594
|
+
* Workflow not found
|
|
6595
|
+
*/
|
|
6596
|
+
404: unknown;
|
|
6597
|
+
/**
|
|
6598
|
+
* Validation Error
|
|
6599
|
+
*/
|
|
6600
|
+
422: HttpValidationError;
|
|
6601
|
+
/**
|
|
6602
|
+
* Rate limit exceeded
|
|
6603
|
+
*/
|
|
6604
|
+
429: unknown;
|
|
6605
|
+
};
|
|
6606
|
+
type BulkUpdateTasksResponses = {
|
|
6607
|
+
/**
|
|
6608
|
+
* Tasks updated (check results for per-task status)
|
|
6609
|
+
*/
|
|
6610
|
+
200: BulkTaskUpdateResponse;
|
|
4988
6611
|
};
|
|
4989
|
-
type
|
|
4990
|
-
|
|
4991
|
-
body: MemoResolveRequest;
|
|
6612
|
+
type DeleteTaskData = {
|
|
6613
|
+
body?: never;
|
|
4992
6614
|
headers?: {
|
|
4993
6615
|
/**
|
|
4994
6616
|
* X-Workspace
|
|
@@ -4997,18 +6619,24 @@ type ResolveMemoData = {
|
|
|
4997
6619
|
};
|
|
4998
6620
|
path: {
|
|
4999
6621
|
/**
|
|
5000
|
-
*
|
|
6622
|
+
* Workflow Id
|
|
5001
6623
|
*
|
|
5002
|
-
*
|
|
6624
|
+
* Workflow ID
|
|
5003
6625
|
*/
|
|
5004
|
-
|
|
6626
|
+
workflow_id: string;
|
|
6627
|
+
/**
|
|
6628
|
+
* Task Id
|
|
6629
|
+
*
|
|
6630
|
+
* Task ID
|
|
6631
|
+
*/
|
|
6632
|
+
task_id: string;
|
|
5005
6633
|
};
|
|
5006
6634
|
query?: never;
|
|
5007
|
-
url: '/ocxp/
|
|
6635
|
+
url: '/ocxp/workflow/{workflow_id}/tasks/{task_id}';
|
|
5008
6636
|
};
|
|
5009
|
-
type
|
|
6637
|
+
type DeleteTaskErrors = {
|
|
5010
6638
|
/**
|
|
5011
|
-
*
|
|
6639
|
+
* Workflow or task not found
|
|
5012
6640
|
*/
|
|
5013
6641
|
404: unknown;
|
|
5014
6642
|
/**
|
|
@@ -5020,13 +6648,13 @@ type ResolveMemoErrors = {
|
|
|
5020
6648
|
*/
|
|
5021
6649
|
429: unknown;
|
|
5022
6650
|
};
|
|
5023
|
-
type
|
|
6651
|
+
type DeleteTaskResponses = {
|
|
5024
6652
|
/**
|
|
5025
|
-
*
|
|
6653
|
+
* Task deleted successfully
|
|
5026
6654
|
*/
|
|
5027
|
-
200:
|
|
6655
|
+
200: WorkflowActionResponse;
|
|
5028
6656
|
};
|
|
5029
|
-
type
|
|
6657
|
+
type GetTaskData = {
|
|
5030
6658
|
body?: never;
|
|
5031
6659
|
headers?: {
|
|
5032
6660
|
/**
|
|
@@ -5036,18 +6664,24 @@ type AcknowledgeMemoData = {
|
|
|
5036
6664
|
};
|
|
5037
6665
|
path: {
|
|
5038
6666
|
/**
|
|
5039
|
-
*
|
|
6667
|
+
* Workflow Id
|
|
5040
6668
|
*
|
|
5041
|
-
*
|
|
6669
|
+
* Workflow ID
|
|
5042
6670
|
*/
|
|
5043
|
-
|
|
6671
|
+
workflow_id: string;
|
|
6672
|
+
/**
|
|
6673
|
+
* Task Id
|
|
6674
|
+
*
|
|
6675
|
+
* Task ID
|
|
6676
|
+
*/
|
|
6677
|
+
task_id: string;
|
|
5044
6678
|
};
|
|
5045
6679
|
query?: never;
|
|
5046
|
-
url: '/ocxp/
|
|
6680
|
+
url: '/ocxp/workflow/{workflow_id}/tasks/{task_id}';
|
|
5047
6681
|
};
|
|
5048
|
-
type
|
|
6682
|
+
type GetTaskErrors = {
|
|
5049
6683
|
/**
|
|
5050
|
-
*
|
|
6684
|
+
* Workflow or task not found
|
|
5051
6685
|
*/
|
|
5052
6686
|
404: unknown;
|
|
5053
6687
|
/**
|
|
@@ -5059,14 +6693,14 @@ type AcknowledgeMemoErrors = {
|
|
|
5059
6693
|
*/
|
|
5060
6694
|
429: unknown;
|
|
5061
6695
|
};
|
|
5062
|
-
type
|
|
6696
|
+
type GetTaskResponses = {
|
|
5063
6697
|
/**
|
|
5064
|
-
*
|
|
6698
|
+
* Task returned successfully
|
|
5065
6699
|
*/
|
|
5066
|
-
200:
|
|
6700
|
+
200: TaskResponse;
|
|
5067
6701
|
};
|
|
5068
|
-
type
|
|
5069
|
-
body
|
|
6702
|
+
type UpdateTaskData = {
|
|
6703
|
+
body: TaskUpdate;
|
|
5070
6704
|
headers?: {
|
|
5071
6705
|
/**
|
|
5072
6706
|
* X-Workspace
|
|
@@ -5075,18 +6709,24 @@ type IgnoreMemoData = {
|
|
|
5075
6709
|
};
|
|
5076
6710
|
path: {
|
|
5077
6711
|
/**
|
|
5078
|
-
*
|
|
6712
|
+
* Workflow Id
|
|
5079
6713
|
*
|
|
5080
|
-
*
|
|
6714
|
+
* Workflow ID
|
|
5081
6715
|
*/
|
|
5082
|
-
|
|
6716
|
+
workflow_id: string;
|
|
6717
|
+
/**
|
|
6718
|
+
* Task Id
|
|
6719
|
+
*
|
|
6720
|
+
* Task ID
|
|
6721
|
+
*/
|
|
6722
|
+
task_id: string;
|
|
5083
6723
|
};
|
|
5084
6724
|
query?: never;
|
|
5085
|
-
url: '/ocxp/
|
|
6725
|
+
url: '/ocxp/workflow/{workflow_id}/tasks/{task_id}';
|
|
5086
6726
|
};
|
|
5087
|
-
type
|
|
6727
|
+
type UpdateTaskErrors = {
|
|
5088
6728
|
/**
|
|
5089
|
-
*
|
|
6729
|
+
* Workflow or task not found
|
|
5090
6730
|
*/
|
|
5091
6731
|
404: unknown;
|
|
5092
6732
|
/**
|
|
@@ -5098,11 +6738,11 @@ type IgnoreMemoErrors = {
|
|
|
5098
6738
|
*/
|
|
5099
6739
|
429: unknown;
|
|
5100
6740
|
};
|
|
5101
|
-
type
|
|
6741
|
+
type UpdateTaskResponses = {
|
|
5102
6742
|
/**
|
|
5103
|
-
*
|
|
6743
|
+
* Task updated successfully
|
|
5104
6744
|
*/
|
|
5105
|
-
200:
|
|
6745
|
+
200: TaskResponse;
|
|
5106
6746
|
};
|
|
5107
6747
|
type DownloadRepositoryData = {
|
|
5108
6748
|
body: DownloadRequest;
|
|
@@ -5182,7 +6822,32 @@ type ListDownloadedReposData = {
|
|
|
5182
6822
|
'X-Workspace'?: string;
|
|
5183
6823
|
};
|
|
5184
6824
|
path?: never;
|
|
5185
|
-
query?:
|
|
6825
|
+
query?: {
|
|
6826
|
+
/**
|
|
6827
|
+
* Limit
|
|
6828
|
+
*
|
|
6829
|
+
* Maximum number of repos to return
|
|
6830
|
+
*/
|
|
6831
|
+
limit?: number;
|
|
6832
|
+
/**
|
|
6833
|
+
* Offset
|
|
6834
|
+
*
|
|
6835
|
+
* Number of repos to skip (for pagination)
|
|
6836
|
+
*/
|
|
6837
|
+
offset?: number;
|
|
6838
|
+
/**
|
|
6839
|
+
* Order By
|
|
6840
|
+
*
|
|
6841
|
+
* Field to order by (created_at, last_synced)
|
|
6842
|
+
*/
|
|
6843
|
+
order_by?: string | null;
|
|
6844
|
+
/**
|
|
6845
|
+
* Order Dir
|
|
6846
|
+
*
|
|
6847
|
+
* Sort direction (asc, desc)
|
|
6848
|
+
*/
|
|
6849
|
+
order_dir?: string;
|
|
6850
|
+
};
|
|
5186
6851
|
url: '/ocxp/repo/list';
|
|
5187
6852
|
};
|
|
5188
6853
|
type ListDownloadedReposErrors = {
|
|
@@ -5452,6 +7117,24 @@ type ListDatabasesData = {
|
|
|
5452
7117
|
* Maximum number of databases to return
|
|
5453
7118
|
*/
|
|
5454
7119
|
limit?: number;
|
|
7120
|
+
/**
|
|
7121
|
+
* Offset
|
|
7122
|
+
*
|
|
7123
|
+
* Number of databases to skip (for pagination)
|
|
7124
|
+
*/
|
|
7125
|
+
offset?: number;
|
|
7126
|
+
/**
|
|
7127
|
+
* Order By
|
|
7128
|
+
*
|
|
7129
|
+
* Field to order by (created_at, updated_at)
|
|
7130
|
+
*/
|
|
7131
|
+
order_by?: string | null;
|
|
7132
|
+
/**
|
|
7133
|
+
* Order Dir
|
|
7134
|
+
*
|
|
7135
|
+
* Sort direction (asc, desc)
|
|
7136
|
+
*/
|
|
7137
|
+
order_dir?: string;
|
|
5455
7138
|
};
|
|
5456
7139
|
url: '/ocxp/database';
|
|
5457
7140
|
};
|
|
@@ -5669,6 +7352,12 @@ type GetSchemaData = {
|
|
|
5669
7352
|
* Database ID (default: amc-default)
|
|
5670
7353
|
*/
|
|
5671
7354
|
database_id?: string | null;
|
|
7355
|
+
/**
|
|
7356
|
+
* Cache Ttl
|
|
7357
|
+
*
|
|
7358
|
+
* Cache TTL in seconds (0=no cache)
|
|
7359
|
+
*/
|
|
7360
|
+
cache_ttl?: number;
|
|
5672
7361
|
};
|
|
5673
7362
|
url: '/ocxp/context/database/schema';
|
|
5674
7363
|
};
|
|
@@ -5719,6 +7408,12 @@ type GetSampleData = {
|
|
|
5719
7408
|
* Database ID (default: amc-default)
|
|
5720
7409
|
*/
|
|
5721
7410
|
database_id?: string | null;
|
|
7411
|
+
/**
|
|
7412
|
+
* Cache Ttl
|
|
7413
|
+
*
|
|
7414
|
+
* Cache TTL in seconds (0=no cache)
|
|
7415
|
+
*/
|
|
7416
|
+
cache_ttl?: number;
|
|
5722
7417
|
};
|
|
5723
7418
|
url: '/ocxp/context/database/sample/{table_name}';
|
|
5724
7419
|
};
|
|
@@ -5877,6 +7572,18 @@ type ListContentData = {
|
|
|
5877
7572
|
* Filter by path prefix
|
|
5878
7573
|
*/
|
|
5879
7574
|
path?: string | null;
|
|
7575
|
+
/**
|
|
7576
|
+
* Recursive
|
|
7577
|
+
*
|
|
7578
|
+
* List recursively
|
|
7579
|
+
*/
|
|
7580
|
+
recursive?: boolean;
|
|
7581
|
+
/**
|
|
7582
|
+
* Project
|
|
7583
|
+
*
|
|
7584
|
+
* Filter by project ID (scopes to linked repos)
|
|
7585
|
+
*/
|
|
7586
|
+
project?: string | null;
|
|
5880
7587
|
/**
|
|
5881
7588
|
* Limit
|
|
5882
7589
|
*
|
|
@@ -5968,6 +7675,18 @@ type SearchContentData = {
|
|
|
5968
7675
|
* Search query string
|
|
5969
7676
|
*/
|
|
5970
7677
|
q: string;
|
|
7678
|
+
/**
|
|
7679
|
+
* Project
|
|
7680
|
+
*
|
|
7681
|
+
* Filter by project ID (scopes to linked repos)
|
|
7682
|
+
*/
|
|
7683
|
+
project?: string | null;
|
|
7684
|
+
/**
|
|
7685
|
+
* Repo Id
|
|
7686
|
+
*
|
|
7687
|
+
* Filter by repo ID (scopes search to specific repo)
|
|
7688
|
+
*/
|
|
7689
|
+
repo_id?: string | null;
|
|
5971
7690
|
/**
|
|
5972
7691
|
* Limit
|
|
5973
7692
|
*
|
|
@@ -6020,6 +7739,12 @@ type GetContentTreeData = {
|
|
|
6020
7739
|
* Root path for tree
|
|
6021
7740
|
*/
|
|
6022
7741
|
path?: string | null;
|
|
7742
|
+
/**
|
|
7743
|
+
* Project
|
|
7744
|
+
*
|
|
7745
|
+
* Filter by project ID (scopes to linked repos)
|
|
7746
|
+
*/
|
|
7747
|
+
project?: string | null;
|
|
6023
7748
|
/**
|
|
6024
7749
|
* Depth
|
|
6025
7750
|
*
|
|
@@ -6230,6 +7955,10 @@ type ReadContentResponses = {
|
|
|
6230
7955
|
type WriteContentData = {
|
|
6231
7956
|
body: WriteRequest;
|
|
6232
7957
|
headers?: {
|
|
7958
|
+
/**
|
|
7959
|
+
* X-User-Id
|
|
7960
|
+
*/
|
|
7961
|
+
'X-User-Id'?: string | null;
|
|
6233
7962
|
/**
|
|
6234
7963
|
* X-Workspace
|
|
6235
7964
|
*/
|
|
@@ -6969,7 +8698,7 @@ declare const getSyncStatus: <ThrowOnError extends boolean = false>(options: Opt
|
|
|
6969
8698
|
/**
|
|
6970
8699
|
* List all sessions
|
|
6971
8700
|
*
|
|
6972
|
-
* Returns sessions for the workspace filtered by status. Uses AgentCore Memory when available for fast retrieval.
|
|
8701
|
+
* Returns sessions for the workspace filtered by status. Uses AgentCore Memory when available for fast retrieval. Supports offset-based pagination.
|
|
6973
8702
|
*/
|
|
6974
8703
|
declare const listSessions: <ThrowOnError extends boolean = false>(options?: Options<ListSessionsData, ThrowOnError>) => RequestResult<ListSessionsResponses, ListSessionsErrors, ThrowOnError, "fields">;
|
|
6975
8704
|
/**
|
|
@@ -6999,7 +8728,7 @@ declare const archiveSession: <ThrowOnError extends boolean = false>(options: Op
|
|
|
6999
8728
|
/**
|
|
7000
8729
|
* List all projects
|
|
7001
8730
|
*
|
|
7002
|
-
* Returns all projects in the workspace with their linked repos and missions.
|
|
8731
|
+
* Returns all projects in the workspace with their linked repos and missions. Supports offset-based pagination.
|
|
7003
8732
|
*/
|
|
7004
8733
|
declare const listProjects: <ThrowOnError extends boolean = false>(options?: Options<ListProjectsData, ThrowOnError>) => RequestResult<ListProjectsResponses, ListProjectsErrors, ThrowOnError, "fields">;
|
|
7005
8734
|
/**
|
|
@@ -7092,6 +8821,22 @@ declare const setDefaultDatabase: <ThrowOnError extends boolean = false>(options
|
|
|
7092
8821
|
* Archives old generated docs and triggers AgentCore regeneration with updated ticket info.
|
|
7093
8822
|
*/
|
|
7094
8823
|
declare const regenerateMission: <ThrowOnError extends boolean = false>(options: Options<RegenerateMissionData, ThrowOnError>) => RequestResult<RegenerateMissionResponses, RegenerateMissionErrors, ThrowOnError, "fields">;
|
|
8824
|
+
/**
|
|
8825
|
+
* Get Kb Status
|
|
8826
|
+
*
|
|
8827
|
+
* Get status of all Knowledge Bases (code, docs, visual).
|
|
8828
|
+
*
|
|
8829
|
+
* Returns health, repo counts, running jobs, and recent ingestion history.
|
|
8830
|
+
*/
|
|
8831
|
+
declare const getKbStatus: <ThrowOnError extends boolean = false>(options?: Options<GetKbStatusData, ThrowOnError>) => RequestResult<GetKbStatusResponses, GetKbStatusErrors, ThrowOnError, "fields">;
|
|
8832
|
+
/**
|
|
8833
|
+
* Trigger Kb Sync
|
|
8834
|
+
*
|
|
8835
|
+
* Trigger Knowledge Base re-indexing.
|
|
8836
|
+
*
|
|
8837
|
+
* Starts a Bedrock ingestion job. If a job is already running, returns the existing job ID.
|
|
8838
|
+
*/
|
|
8839
|
+
declare const triggerKbSync: <ThrowOnError extends boolean = false>(options: Options<TriggerKbSyncData, ThrowOnError>) => RequestResult<TriggerKbSyncResponses, TriggerKbSyncErrors, ThrowOnError, "fields">;
|
|
7095
8840
|
/**
|
|
7096
8841
|
* Query Knowledge Base
|
|
7097
8842
|
*
|
|
@@ -7119,7 +8864,7 @@ declare const ragKnowledgeBase: <ThrowOnError extends boolean = false>(options:
|
|
|
7119
8864
|
/**
|
|
7120
8865
|
* List memos
|
|
7121
8866
|
*
|
|
7122
|
-
* List memos for the workspace with optional filters.
|
|
8867
|
+
* List memos for the workspace with optional filters and pagination.
|
|
7123
8868
|
*/
|
|
7124
8869
|
declare const listMemos: <ThrowOnError extends boolean = false>(options?: Options<ListMemosData, ThrowOnError>) => RequestResult<ListMemosResponses, ListMemosErrors, ThrowOnError, "fields">;
|
|
7125
8870
|
/**
|
|
@@ -7164,6 +8909,72 @@ declare const acknowledgeMemo: <ThrowOnError extends boolean = false>(options: O
|
|
|
7164
8909
|
* Mark a memo as ignored (false positive or accepted risk).
|
|
7165
8910
|
*/
|
|
7166
8911
|
declare const ignoreMemo: <ThrowOnError extends boolean = false>(options: Options<IgnoreMemoData, ThrowOnError>) => RequestResult<IgnoreMemoResponses, IgnoreMemoErrors, ThrowOnError, "fields">;
|
|
8912
|
+
/**
|
|
8913
|
+
* List workflows
|
|
8914
|
+
*
|
|
8915
|
+
* List workflows for a mission with optional status filter and pagination.
|
|
8916
|
+
*/
|
|
8917
|
+
declare const listWorkflows: <ThrowOnError extends boolean = false>(options: Options<ListWorkflowsData, ThrowOnError>) => RequestResult<ListWorkflowsResponses, ListWorkflowsErrors, ThrowOnError, "fields">;
|
|
8918
|
+
/**
|
|
8919
|
+
* Create workflow with tasks
|
|
8920
|
+
*
|
|
8921
|
+
* Create a new workflow with optional initial tasks. Tasks are stored as memos.
|
|
8922
|
+
*/
|
|
8923
|
+
declare const createWorkflow: <ThrowOnError extends boolean = false>(options: Options<CreateWorkflowData, ThrowOnError>) => RequestResult<CreateWorkflowResponses, CreateWorkflowErrors, ThrowOnError, "fields">;
|
|
8924
|
+
/**
|
|
8925
|
+
* Delete workflow
|
|
8926
|
+
*
|
|
8927
|
+
* Delete a workflow and all its task memos.
|
|
8928
|
+
*/
|
|
8929
|
+
declare const deleteWorkflow: <ThrowOnError extends boolean = false>(options: Options<DeleteWorkflowData, ThrowOnError>) => RequestResult<DeleteWorkflowResponses, DeleteWorkflowErrors, ThrowOnError, "fields">;
|
|
8930
|
+
/**
|
|
8931
|
+
* Get workflow with tasks
|
|
8932
|
+
*
|
|
8933
|
+
* Get a workflow with all its tasks in strands-compatible format.
|
|
8934
|
+
*/
|
|
8935
|
+
declare const getWorkflow: <ThrowOnError extends boolean = false>(options: Options<GetWorkflowData, ThrowOnError>) => RequestResult<GetWorkflowResponses, GetWorkflowErrors, ThrowOnError, "fields">;
|
|
8936
|
+
/**
|
|
8937
|
+
* Start workflow
|
|
8938
|
+
*
|
|
8939
|
+
* Mark workflow as running.
|
|
8940
|
+
*/
|
|
8941
|
+
declare const startWorkflow: <ThrowOnError extends boolean = false>(options: Options<StartWorkflowData, ThrowOnError>) => RequestResult<StartWorkflowResponses, StartWorkflowErrors, ThrowOnError, "fields">;
|
|
8942
|
+
/**
|
|
8943
|
+
* List workflow tasks
|
|
8944
|
+
*
|
|
8945
|
+
* List all tasks for a workflow.
|
|
8946
|
+
*/
|
|
8947
|
+
declare const listTasks: <ThrowOnError extends boolean = false>(options: Options<ListTasksData, ThrowOnError>) => RequestResult<ListTasksResponses, ListTasksErrors, ThrowOnError, "fields">;
|
|
8948
|
+
/**
|
|
8949
|
+
* Add task to workflow
|
|
8950
|
+
*
|
|
8951
|
+
* Add a new task to an existing workflow.
|
|
8952
|
+
*/
|
|
8953
|
+
declare const addTask: <ThrowOnError extends boolean = false>(options: Options<AddTaskData, ThrowOnError>) => RequestResult<AddTaskResponses, AddTaskErrors, ThrowOnError, "fields">;
|
|
8954
|
+
/**
|
|
8955
|
+
* Bulk update tasks
|
|
8956
|
+
*
|
|
8957
|
+
* Update multiple task statuses in a single request for O(1) performance.
|
|
8958
|
+
*/
|
|
8959
|
+
declare const bulkUpdateTasks: <ThrowOnError extends boolean = false>(options: Options<BulkUpdateTasksData, ThrowOnError>) => RequestResult<BulkUpdateTasksResponses, BulkUpdateTasksErrors, ThrowOnError, "fields">;
|
|
8960
|
+
/**
|
|
8961
|
+
* Delete task
|
|
8962
|
+
*
|
|
8963
|
+
* Delete a specific task from a workflow.
|
|
8964
|
+
*/
|
|
8965
|
+
declare const deleteTask: <ThrowOnError extends boolean = false>(options: Options<DeleteTaskData, ThrowOnError>) => RequestResult<DeleteTaskResponses, DeleteTaskErrors, ThrowOnError, "fields">;
|
|
8966
|
+
/**
|
|
8967
|
+
* Get task
|
|
8968
|
+
*
|
|
8969
|
+
* Get a specific task from a workflow.
|
|
8970
|
+
*/
|
|
8971
|
+
declare const getTask: <ThrowOnError extends boolean = false>(options: Options<GetTaskData, ThrowOnError>) => RequestResult<GetTaskResponses, GetTaskErrors, ThrowOnError, "fields">;
|
|
8972
|
+
/**
|
|
8973
|
+
* Update task
|
|
8974
|
+
*
|
|
8975
|
+
* Update a task's status, result, or error.
|
|
8976
|
+
*/
|
|
8977
|
+
declare const updateTask: <ThrowOnError extends boolean = false>(options: Options<UpdateTaskData, ThrowOnError>) => RequestResult<UpdateTaskResponses, UpdateTaskErrors, ThrowOnError, "fields">;
|
|
7167
8978
|
/**
|
|
7168
8979
|
* Start repository download
|
|
7169
8980
|
*
|
|
@@ -7179,7 +8990,7 @@ declare const getRepoDownloadStatus: <ThrowOnError extends boolean = false>(opti
|
|
|
7179
8990
|
/**
|
|
7180
8991
|
* List downloaded repositories
|
|
7181
8992
|
*
|
|
7182
|
-
* Returns
|
|
8993
|
+
* Returns repositories that have been downloaded for the workspace with pagination support.
|
|
7183
8994
|
*/
|
|
7184
8995
|
declare const listDownloadedRepos: <ThrowOnError extends boolean = false>(options?: Options<ListDownloadedReposData, ThrowOnError>) => RequestResult<ListDownloadedReposResponses, ListDownloadedReposErrors, ThrowOnError, "fields">;
|
|
7185
8996
|
/**
|
|
@@ -7234,7 +9045,7 @@ declare const githubGetContents: <ThrowOnError extends boolean = false>(options:
|
|
|
7234
9045
|
/**
|
|
7235
9046
|
* List all database configurations
|
|
7236
9047
|
*
|
|
7237
|
-
* Returns all database configurations in the workspace.
|
|
9048
|
+
* Returns all database configurations in the workspace. Supports offset-based pagination.
|
|
7238
9049
|
*/
|
|
7239
9050
|
declare const listDatabases: <ThrowOnError extends boolean = false>(options?: Options<ListDatabasesData, ThrowOnError>) => RequestResult<ListDatabasesResponses, ListDatabasesErrors, ThrowOnError, "fields">;
|
|
7240
9051
|
/**
|
|
@@ -7342,7 +9153,7 @@ declare const readContent: <ThrowOnError extends boolean = false>(options: Optio
|
|
|
7342
9153
|
/**
|
|
7343
9154
|
* Write content
|
|
7344
9155
|
*
|
|
7345
|
-
* Writes content to storage. Supports ETag for optimistic locking
|
|
9156
|
+
* Writes content to storage with robust verification. Supports ETag for optimistic locking, ifNotExists for creation-only, and wait_for_index/verify_access for synchronous KB indexing verification.
|
|
7346
9157
|
*/
|
|
7347
9158
|
declare const writeContent: <ThrowOnError extends boolean = false>(options: Options<WriteContentData, ThrowOnError>) => RequestResult<WriteContentResponses, WriteContentErrors, ThrowOnError, "fields">;
|
|
7348
9159
|
/**
|
|
@@ -7600,9 +9411,12 @@ declare function mapHttpError(statusCode: number, message: string, options?: {
|
|
|
7600
9411
|
* Project Credentials for frontend authentication
|
|
7601
9412
|
*/
|
|
7602
9413
|
interface ProjectCredentials {
|
|
7603
|
-
url?: string;
|
|
7604
|
-
username?: string;
|
|
7605
|
-
password?: string;
|
|
9414
|
+
url?: string | null;
|
|
9415
|
+
username?: string | null;
|
|
9416
|
+
password?: string | null;
|
|
9417
|
+
login_instructions?: string | null;
|
|
9418
|
+
workspace?: string | null;
|
|
9419
|
+
project_id?: string | null;
|
|
7606
9420
|
createdAt?: string;
|
|
7607
9421
|
updatedAt?: string;
|
|
7608
9422
|
}
|
|
@@ -7651,6 +9465,22 @@ interface OCXPClientOptions {
|
|
|
7651
9465
|
/** Static token or async function to get token */
|
|
7652
9466
|
token?: string | (() => Promise<string>);
|
|
7653
9467
|
}
|
|
9468
|
+
/**
|
|
9469
|
+
* Standard pagination options for all list methods
|
|
9470
|
+
* Supports both offset-based and cursor-based pagination
|
|
9471
|
+
*/
|
|
9472
|
+
interface ListOptions {
|
|
9473
|
+
/** Items per page (default: 50, max: 100) */
|
|
9474
|
+
limit?: number;
|
|
9475
|
+
/** Skip first N items (for offset pagination) */
|
|
9476
|
+
offset?: number;
|
|
9477
|
+
/** Cursor token (for cursor pagination, alternative to offset) */
|
|
9478
|
+
cursor?: string;
|
|
9479
|
+
/** Sort field */
|
|
9480
|
+
orderBy?: string;
|
|
9481
|
+
/** Sort direction: asc | desc */
|
|
9482
|
+
orderDir?: 'asc' | 'desc';
|
|
9483
|
+
}
|
|
7654
9484
|
type ContentTypeValue = 'mission' | 'project' | 'context' | 'sop' | 'repo' | 'artifact' | 'kb' | 'docs';
|
|
7655
9485
|
/**
|
|
7656
9486
|
* OCXPClient provides a high-level interface to the OCXP API
|
|
@@ -7812,12 +9642,26 @@ declare class OCXPClient {
|
|
|
7812
9642
|
*/
|
|
7813
9643
|
kbRag(query: string, sessionId?: string): Promise<KbRagResponse>;
|
|
7814
9644
|
/**
|
|
7815
|
-
*
|
|
9645
|
+
* Get status of all Knowledge Bases (code, docs, visual)
|
|
9646
|
+
*/
|
|
9647
|
+
kbStatus(): Promise<KbStatusResponse>;
|
|
9648
|
+
/**
|
|
9649
|
+
* Trigger KB re-indexing
|
|
7816
9650
|
*/
|
|
7817
|
-
|
|
9651
|
+
kbSync(options?: {
|
|
9652
|
+
kbType?: string;
|
|
9653
|
+
force?: boolean;
|
|
9654
|
+
}): Promise<TriggerSyncResponse>;
|
|
9655
|
+
/**
|
|
9656
|
+
* List all missions in workspace with pagination support
|
|
9657
|
+
* @param options - Filtering, pagination, and sorting options
|
|
9658
|
+
* @returns Paginated mission list with total count
|
|
9659
|
+
*/
|
|
9660
|
+
listMissions(options?: ListOptions & {
|
|
7818
9661
|
projectId?: string;
|
|
7819
9662
|
status?: string;
|
|
7820
|
-
|
|
9663
|
+
missionIds?: string[];
|
|
9664
|
+
includeMetadata?: boolean;
|
|
7821
9665
|
}): Promise<MissionListResponse>;
|
|
7822
9666
|
/**
|
|
7823
9667
|
* Create a new mission with auto-generated UUID
|
|
@@ -8009,6 +9853,10 @@ declare class OCXPClient {
|
|
|
8009
9853
|
* Get sample data from a table
|
|
8010
9854
|
*/
|
|
8011
9855
|
getDatabaseSample(tableName: string, databaseId?: string, limit?: number): Promise<DatabaseSampleResponse>;
|
|
9856
|
+
/**
|
|
9857
|
+
* Get database ER diagram in Mermaid syntax
|
|
9858
|
+
*/
|
|
9859
|
+
getDatabaseDiagram(databaseId?: string, tables?: string, includeMockData?: boolean, mockRows?: number): Promise<DatabaseDiagramResponse>;
|
|
8012
9860
|
/**
|
|
8013
9861
|
* List all tables in database
|
|
8014
9862
|
*/
|
|
@@ -8043,11 +9891,45 @@ declare class OCXPClient {
|
|
|
8043
9891
|
priority?: number;
|
|
8044
9892
|
autoInclude?: boolean;
|
|
8045
9893
|
branch?: string;
|
|
9894
|
+
prompt?: string;
|
|
8046
9895
|
}): Promise<ProjectResponse>;
|
|
8047
9896
|
/**
|
|
8048
9897
|
* Remove repository from project
|
|
8049
9898
|
*/
|
|
8050
9899
|
removeProjectRepo(projectId: string, repoId: string): Promise<ProjectResponse>;
|
|
9900
|
+
/**
|
|
9901
|
+
* Link a database to a project
|
|
9902
|
+
*/
|
|
9903
|
+
addProjectDatabase(projectId: string, databaseId: string, options?: {
|
|
9904
|
+
priority?: number;
|
|
9905
|
+
autoInclude?: boolean;
|
|
9906
|
+
prompt?: string;
|
|
9907
|
+
}): Promise<ProjectResponse>;
|
|
9908
|
+
/**
|
|
9909
|
+
* Remove a database from a project
|
|
9910
|
+
*/
|
|
9911
|
+
removeProjectDatabase(projectId: string, databaseId: string): Promise<ProjectResponse>;
|
|
9912
|
+
/**
|
|
9913
|
+
* Set the default database for a project
|
|
9914
|
+
*/
|
|
9915
|
+
setProjectDefaultDatabase(projectId: string, databaseId: string | null): Promise<ProjectResponse>;
|
|
9916
|
+
/**
|
|
9917
|
+
* Get all databases linked to a project
|
|
9918
|
+
*/
|
|
9919
|
+
getProjectDatabases(projectId: string): Promise<{
|
|
9920
|
+
databases: Array<{
|
|
9921
|
+
database_id: string;
|
|
9922
|
+
priority: number;
|
|
9923
|
+
auto_include: boolean;
|
|
9924
|
+
is_default: boolean;
|
|
9925
|
+
}>;
|
|
9926
|
+
default_database: string | null;
|
|
9927
|
+
count: number;
|
|
9928
|
+
}>;
|
|
9929
|
+
/**
|
|
9930
|
+
* Scan all projects and remove links to repos that no longer exist in the index
|
|
9931
|
+
*/
|
|
9932
|
+
cleanupDeadRepos(): Promise<CleanupDeadReposResponse>;
|
|
8051
9933
|
/**
|
|
8052
9934
|
* Set default repository for project
|
|
8053
9935
|
*/
|
|
@@ -8191,28 +10073,52 @@ declare class OCXPClient {
|
|
|
8191
10073
|
* @returns Project credentials
|
|
8192
10074
|
*/
|
|
8193
10075
|
getProjectCredentials(projectId: string): Promise<ProjectCredentials>;
|
|
10076
|
+
/**
|
|
10077
|
+
* Save project credentials for frontend authentication
|
|
10078
|
+
* @param projectId - Project ID
|
|
10079
|
+
* @param credentials - Credentials to save (url, username, password)
|
|
10080
|
+
* @returns Success response
|
|
10081
|
+
*/
|
|
10082
|
+
saveProjectCredentials(projectId: string, credentials: {
|
|
10083
|
+
url: string;
|
|
10084
|
+
username: string;
|
|
10085
|
+
password: string;
|
|
10086
|
+
login_instructions?: string;
|
|
10087
|
+
}): Promise<CredentialActionResponse>;
|
|
8194
10088
|
/**
|
|
8195
10089
|
* Update project credentials for frontend authentication
|
|
8196
10090
|
* @param projectId - Project ID
|
|
8197
10091
|
* @param updates - Partial credential updates
|
|
8198
|
-
* @returns
|
|
10092
|
+
* @returns Success response
|
|
8199
10093
|
*/
|
|
8200
|
-
updateProjectCredentials(projectId: string, updates: Partial<ProjectCredentials>): Promise<
|
|
10094
|
+
updateProjectCredentials(projectId: string, updates: Partial<ProjectCredentials>): Promise<CredentialActionResponse>;
|
|
8201
10095
|
/**
|
|
8202
10096
|
* Test project credentials
|
|
8203
10097
|
* @param projectId - Project ID
|
|
8204
10098
|
* @returns Test result with success flag and optional message
|
|
8205
10099
|
*/
|
|
8206
|
-
testProjectCredentials(projectId: string): Promise<
|
|
8207
|
-
success: boolean;
|
|
8208
|
-
message?: string;
|
|
8209
|
-
}>;
|
|
10100
|
+
testProjectCredentials(projectId: string): Promise<CredentialActionResponse>;
|
|
8210
10101
|
/**
|
|
8211
10102
|
* Delete project credentials
|
|
8212
10103
|
* @param projectId - Project ID
|
|
8213
10104
|
* @returns void
|
|
8214
10105
|
*/
|
|
8215
10106
|
deleteProjectCredentials(projectId: string): Promise<void>;
|
|
10107
|
+
/**
|
|
10108
|
+
* Generate mission output by creating a workflow with doc tasks.
|
|
10109
|
+
* Returns the workflow_id so the client can open WorkflowDetailView
|
|
10110
|
+
* for real-time progress tracking.
|
|
10111
|
+
*
|
|
10112
|
+
* @param missionId - Mission UUID
|
|
10113
|
+
* @param outputType - Type of output: 'documents', 'report', 'summary', etc.
|
|
10114
|
+
* @param options - Output options (doc_types, strategy, etc.)
|
|
10115
|
+
* @returns OutputGenerationResponse with workflow_id for tracking
|
|
10116
|
+
*/
|
|
10117
|
+
generateMissionOutput(missionId: string, outputType: string, options?: {
|
|
10118
|
+
doc_types?: string[];
|
|
10119
|
+
strategy?: string;
|
|
10120
|
+
session_id?: string;
|
|
10121
|
+
}): Promise<OutputGenerationResponse>;
|
|
8216
10122
|
private _mission?;
|
|
8217
10123
|
private _project?;
|
|
8218
10124
|
private _session?;
|
|
@@ -8244,6 +10150,32 @@ declare class OCXPClient {
|
|
|
8244
10150
|
*/
|
|
8245
10151
|
get prototype(): PrototypeNamespace;
|
|
8246
10152
|
}
|
|
10153
|
+
/** Supported document types for mission output generation */
|
|
10154
|
+
declare enum DocumentType {
|
|
10155
|
+
IMPLEMENTATION_GUIDE = "implementation_guide",
|
|
10156
|
+
PRD = "prd",
|
|
10157
|
+
ARCHITECTURE_DECISIONS = "architecture_decisions",
|
|
10158
|
+
DATABASE_SCHEMA = "database_schema",
|
|
10159
|
+
DEPLOYMENT_GUIDE = "deployment_guide",
|
|
10160
|
+
TESTING_STRATEGY = "testing_strategy",
|
|
10161
|
+
API_REFERENCE = "api_reference"
|
|
10162
|
+
}
|
|
10163
|
+
/** Metadata for each document type */
|
|
10164
|
+
interface DocumentTypeInfo {
|
|
10165
|
+
name: string;
|
|
10166
|
+
description: string;
|
|
10167
|
+
icon: string;
|
|
10168
|
+
}
|
|
10169
|
+
/** Map of document type to display info */
|
|
10170
|
+
declare const DOCUMENT_TYPE_INFO: Record<DocumentType, DocumentTypeInfo>;
|
|
10171
|
+
/** Response from generateOutput -- returns workflow for tracking */
|
|
10172
|
+
interface OutputGenerationResponse {
|
|
10173
|
+
workflow_id: string;
|
|
10174
|
+
mission_id: string;
|
|
10175
|
+
session_id: string;
|
|
10176
|
+
total_tasks: number;
|
|
10177
|
+
message: string;
|
|
10178
|
+
}
|
|
8247
10179
|
/**
|
|
8248
10180
|
* Mission namespace for convenient mission operations
|
|
8249
10181
|
*/
|
|
@@ -8251,13 +10183,15 @@ declare class MissionNamespace {
|
|
|
8251
10183
|
private client;
|
|
8252
10184
|
constructor(client: OCXPClient);
|
|
8253
10185
|
/**
|
|
8254
|
-
* List missions with optional filtering
|
|
10186
|
+
* List missions with optional filtering and pagination
|
|
8255
10187
|
* @example ocxp.mission.list({ status: 'active', limit: 10 })
|
|
10188
|
+
* @example ocxp.mission.list({ limit: 20, offset: 40, orderBy: 'created_at', orderDir: 'desc' })
|
|
8256
10189
|
*/
|
|
8257
|
-
list(options?: {
|
|
10190
|
+
list(options?: ListOptions & {
|
|
8258
10191
|
projectId?: string;
|
|
8259
10192
|
status?: string;
|
|
8260
|
-
|
|
10193
|
+
missionIds?: string[];
|
|
10194
|
+
includeMetadata?: boolean;
|
|
8261
10195
|
}): Promise<MissionListResponse>;
|
|
8262
10196
|
/**
|
|
8263
10197
|
* Get a mission by ID
|
|
@@ -8332,6 +10266,26 @@ declare class MissionNamespace {
|
|
|
8332
10266
|
* @example ocxp.mission.tree('mission-id', 5, true)
|
|
8333
10267
|
*/
|
|
8334
10268
|
tree(path?: string, depth?: number, includeVersions?: boolean): Promise<ContentTreeResponse>;
|
|
10269
|
+
/**
|
|
10270
|
+
* Generate mission output by creating a workflow.
|
|
10271
|
+
* Returns workflow_id for tracking via WorkflowDetailView.
|
|
10272
|
+
*
|
|
10273
|
+
* @param missionId - Mission UUID
|
|
10274
|
+
* @param outputType - Type of output: 'documents', 'report', 'summary', etc.
|
|
10275
|
+
* @param options - Output options (doc_types, strategy, etc.)
|
|
10276
|
+
* @returns OutputGenerationResponse with workflow_id
|
|
10277
|
+
*
|
|
10278
|
+
* @example
|
|
10279
|
+
* const result = await ocxp.mission.generateOutput('mission-id', 'documents', {
|
|
10280
|
+
* doc_types: ['implementation-guide', 'prd'],
|
|
10281
|
+
* });
|
|
10282
|
+
* // Open WorkflowDetailView with result.workflow_id
|
|
10283
|
+
*/
|
|
10284
|
+
generateOutput(missionId: string, outputType: string, options?: {
|
|
10285
|
+
doc_types?: string[];
|
|
10286
|
+
strategy?: string;
|
|
10287
|
+
session_id?: string;
|
|
10288
|
+
}): Promise<OutputGenerationResponse>;
|
|
8335
10289
|
}
|
|
8336
10290
|
/**
|
|
8337
10291
|
* Project namespace for convenient project operations
|
|
@@ -8373,11 +10327,16 @@ declare class ProjectNamespace {
|
|
|
8373
10327
|
priority?: number;
|
|
8374
10328
|
autoInclude?: boolean;
|
|
8375
10329
|
branch?: string;
|
|
10330
|
+
prompt?: string;
|
|
8376
10331
|
}): Promise<ProjectResponse>;
|
|
8377
10332
|
/**
|
|
8378
10333
|
* Remove a repository from a project
|
|
8379
10334
|
*/
|
|
8380
10335
|
removeRepo(projectId: string, repoId: string): Promise<ProjectResponse>;
|
|
10336
|
+
/**
|
|
10337
|
+
* Remove dead repo links from all projects in the workspace
|
|
10338
|
+
*/
|
|
10339
|
+
cleanupDeadRepos(): Promise<CleanupDeadReposResponse>;
|
|
8381
10340
|
/**
|
|
8382
10341
|
* Set the default repository for a project
|
|
8383
10342
|
*/
|
|
@@ -8394,6 +10353,35 @@ declare class ProjectNamespace {
|
|
|
8394
10353
|
* Remove a mission from a project
|
|
8395
10354
|
*/
|
|
8396
10355
|
removeMission(projectId: string, missionId: string): Promise<ProjectResponse>;
|
|
10356
|
+
/**
|
|
10357
|
+
* Link a database to a project
|
|
10358
|
+
*/
|
|
10359
|
+
addDatabase(projectId: string, databaseId: string, options?: {
|
|
10360
|
+
priority?: number;
|
|
10361
|
+
autoInclude?: boolean;
|
|
10362
|
+
prompt?: string;
|
|
10363
|
+
}): Promise<ProjectResponse>;
|
|
10364
|
+
/**
|
|
10365
|
+
* Remove a database from a project
|
|
10366
|
+
*/
|
|
10367
|
+
removeDatabase(projectId: string, databaseId: string): Promise<ProjectResponse>;
|
|
10368
|
+
/**
|
|
10369
|
+
* Set the default database for a project
|
|
10370
|
+
*/
|
|
10371
|
+
setDefaultDatabase(projectId: string, databaseId: string | null): Promise<ProjectResponse>;
|
|
10372
|
+
/**
|
|
10373
|
+
* Get all databases linked to a project
|
|
10374
|
+
*/
|
|
10375
|
+
getProjectDatabases(projectId: string): Promise<{
|
|
10376
|
+
databases: Array<{
|
|
10377
|
+
database_id: string;
|
|
10378
|
+
priority: number;
|
|
10379
|
+
auto_include: boolean;
|
|
10380
|
+
is_default: boolean;
|
|
10381
|
+
}>;
|
|
10382
|
+
default_database: string | null;
|
|
10383
|
+
count: number;
|
|
10384
|
+
}>;
|
|
8397
10385
|
/**
|
|
8398
10386
|
* Get project content tree structure from S3
|
|
8399
10387
|
* @param includeVersions - If true, includes S3 version IDs for files
|
|
@@ -8464,6 +10452,19 @@ declare class KBNamespace {
|
|
|
8464
10452
|
* @example ocxp.kb.rag('What is OCXP?')
|
|
8465
10453
|
*/
|
|
8466
10454
|
rag(query: string, sessionId?: string): Promise<KbRagResponse>;
|
|
10455
|
+
/**
|
|
10456
|
+
* Get status of all Knowledge Bases (code, docs, visual)
|
|
10457
|
+
* @example ocxp.kb.status()
|
|
10458
|
+
*/
|
|
10459
|
+
status(): Promise<KbStatusResponse>;
|
|
10460
|
+
/**
|
|
10461
|
+
* Trigger KB re-indexing
|
|
10462
|
+
* @example ocxp.kb.sync({ kbType: 'code' })
|
|
10463
|
+
*/
|
|
10464
|
+
sync(options?: {
|
|
10465
|
+
kbType?: string;
|
|
10466
|
+
force?: boolean;
|
|
10467
|
+
}): Promise<TriggerSyncResponse>;
|
|
8467
10468
|
}
|
|
8468
10469
|
/**
|
|
8469
10470
|
* Prototype namespace for convenient prototype chat operations
|
|
@@ -8847,7 +10848,7 @@ declare function createPathService(options: OCXPPathServiceOptions): OCXPPathSer
|
|
|
8847
10848
|
* WebSocket service for OCXP real-time communication
|
|
8848
10849
|
* Provides push notifications for job progress, sync events, etc.
|
|
8849
10850
|
*/
|
|
8850
|
-
type WebSocketMessageType = 'job_progress' | 'repo_status' | 'notification' | 'sync_event' | 'prototype_sync_progress' | 'prototype_sync_complete';
|
|
10851
|
+
type WebSocketMessageType = 'job_progress' | 'repo_status' | 'notification' | 'sync_event' | 'prototype_sync_progress' | 'prototype_sync_complete' | 'kb_indexing_status';
|
|
8851
10852
|
interface WebSocketMessage {
|
|
8852
10853
|
type: WebSocketMessageType;
|
|
8853
10854
|
[key: string]: unknown;
|
|
@@ -8902,6 +10903,17 @@ interface PrototypeSyncCompleteMessage extends WebSocketMessage {
|
|
|
8902
10903
|
content_links: string[];
|
|
8903
10904
|
stored_versions: string[];
|
|
8904
10905
|
}
|
|
10906
|
+
interface KBIndexingStatusMessage extends WebSocketMessage {
|
|
10907
|
+
type: 'kb_indexing_status';
|
|
10908
|
+
status: string;
|
|
10909
|
+
documents_count: number;
|
|
10910
|
+
indexed: number;
|
|
10911
|
+
failed: number;
|
|
10912
|
+
error?: string;
|
|
10913
|
+
kb_type?: string;
|
|
10914
|
+
kb_id?: string;
|
|
10915
|
+
job_id?: string;
|
|
10916
|
+
}
|
|
8905
10917
|
interface WebSocketServiceOptions {
|
|
8906
10918
|
/** WebSocket endpoint (wss://...) */
|
|
8907
10919
|
endpoint: string;
|
|
@@ -8976,6 +10988,10 @@ declare class WebSocketService {
|
|
|
8976
10988
|
* Subscribe to prototype sync complete notifications
|
|
8977
10989
|
*/
|
|
8978
10990
|
onPrototypeSyncComplete(handler: WebSocketEventHandler<PrototypeSyncCompleteMessage>): () => void;
|
|
10991
|
+
/**
|
|
10992
|
+
* Subscribe to KB indexing status updates
|
|
10993
|
+
*/
|
|
10994
|
+
onKBIndexingStatus(handler: WebSocketEventHandler<KBIndexingStatusMessage>): () => void;
|
|
8979
10995
|
/**
|
|
8980
10996
|
* Subscribe to connection state changes
|
|
8981
10997
|
*/
|
|
@@ -9061,7 +11077,7 @@ declare const OCXPResponseSchema: z.ZodObject<{
|
|
|
9061
11077
|
}, z.core.$strip>;
|
|
9062
11078
|
type OCXPResponse = z.infer<typeof OCXPResponseSchema>;
|
|
9063
11079
|
/**
|
|
9064
|
-
* Pagination schema for list responses
|
|
11080
|
+
* Pagination schema for list responses (cursor-based)
|
|
9065
11081
|
*/
|
|
9066
11082
|
declare const PaginationSchema: z.ZodObject<{
|
|
9067
11083
|
cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -9069,13 +11085,51 @@ declare const PaginationSchema: z.ZodObject<{
|
|
|
9069
11085
|
total: z.ZodNumber;
|
|
9070
11086
|
}, z.core.$strip>;
|
|
9071
11087
|
type Pagination = z.infer<typeof PaginationSchema>;
|
|
11088
|
+
/**
|
|
11089
|
+
* Standard pagination query parameters for all list endpoints
|
|
11090
|
+
* Supports both cursor-based AND offset-based pagination
|
|
11091
|
+
*/
|
|
11092
|
+
declare const PaginationParamsSchema: z.ZodObject<{
|
|
11093
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
11094
|
+
offset: z.ZodDefault<z.ZodNumber>;
|
|
11095
|
+
cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11096
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
11097
|
+
orderDir: z.ZodDefault<z.ZodEnum<{
|
|
11098
|
+
asc: "asc";
|
|
11099
|
+
desc: "desc";
|
|
11100
|
+
}>>;
|
|
11101
|
+
}, z.core.$strip>;
|
|
11102
|
+
type PaginationParams = z.infer<typeof PaginationParamsSchema>;
|
|
11103
|
+
/**
|
|
11104
|
+
* Standard paginated response structure for all list endpoints
|
|
11105
|
+
* Used to create typed paginated responses
|
|
11106
|
+
*/
|
|
11107
|
+
declare function createPaginatedResponseSchema<T extends z.ZodTypeAny>(itemSchema: T): z.ZodObject<{
|
|
11108
|
+
items: z.ZodArray<T>;
|
|
11109
|
+
total: z.ZodNumber;
|
|
11110
|
+
limit: z.ZodNumber;
|
|
11111
|
+
offset: z.ZodNumber;
|
|
11112
|
+
cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11113
|
+
hasMore: z.ZodBoolean;
|
|
11114
|
+
}, z.core.$strip>;
|
|
11115
|
+
/**
|
|
11116
|
+
* Generic paginated response type
|
|
11117
|
+
*/
|
|
11118
|
+
interface PaginatedResponse<T> {
|
|
11119
|
+
items: T[];
|
|
11120
|
+
total: number;
|
|
11121
|
+
limit: number;
|
|
11122
|
+
offset: number;
|
|
11123
|
+
cursor?: string | null;
|
|
11124
|
+
hasMore: boolean;
|
|
11125
|
+
}
|
|
9072
11126
|
/**
|
|
9073
11127
|
* Content type enum - the 8 valid content types
|
|
9074
11128
|
*/
|
|
9075
11129
|
declare const ContentTypeSchema: z.ZodEnum<{
|
|
11130
|
+
mission: "mission";
|
|
9076
11131
|
repo: "repo";
|
|
9077
11132
|
project: "project";
|
|
9078
|
-
mission: "mission";
|
|
9079
11133
|
context: "context";
|
|
9080
11134
|
sop: "sop";
|
|
9081
11135
|
artifact: "artifact";
|
|
@@ -10175,9 +12229,9 @@ type ContextReposResponse = z.infer<typeof ContextReposResponseSchema>;
|
|
|
10175
12229
|
*/
|
|
10176
12230
|
declare const RepoStatusEnum: z.ZodEnum<{
|
|
10177
12231
|
failed: "failed";
|
|
12232
|
+
processing: "processing";
|
|
10178
12233
|
queued: "queued";
|
|
10179
12234
|
uploading: "uploading";
|
|
10180
|
-
processing: "processing";
|
|
10181
12235
|
vectorizing: "vectorizing";
|
|
10182
12236
|
complete: "complete";
|
|
10183
12237
|
}>;
|
|
@@ -10215,9 +12269,9 @@ declare const RepoDownloadDataSchema: z.ZodObject<{
|
|
|
10215
12269
|
s3_path: z.ZodOptional<z.ZodString>;
|
|
10216
12270
|
status: z.ZodEnum<{
|
|
10217
12271
|
failed: "failed";
|
|
12272
|
+
processing: "processing";
|
|
10218
12273
|
queued: "queued";
|
|
10219
12274
|
uploading: "uploading";
|
|
10220
|
-
processing: "processing";
|
|
10221
12275
|
vectorizing: "vectorizing";
|
|
10222
12276
|
complete: "complete";
|
|
10223
12277
|
}>;
|
|
@@ -10237,9 +12291,9 @@ declare const RepoDownloadResponseSchema: z.ZodObject<{
|
|
|
10237
12291
|
s3_path: z.ZodOptional<z.ZodString>;
|
|
10238
12292
|
status: z.ZodEnum<{
|
|
10239
12293
|
failed: "failed";
|
|
12294
|
+
processing: "processing";
|
|
10240
12295
|
queued: "queued";
|
|
10241
12296
|
uploading: "uploading";
|
|
10242
|
-
processing: "processing";
|
|
10243
12297
|
vectorizing: "vectorizing";
|
|
10244
12298
|
complete: "complete";
|
|
10245
12299
|
}>;
|
|
@@ -10267,9 +12321,9 @@ declare const RepoStatusDataSchema: z.ZodObject<{
|
|
|
10267
12321
|
job_id: z.ZodString;
|
|
10268
12322
|
status: z.ZodEnum<{
|
|
10269
12323
|
failed: "failed";
|
|
12324
|
+
processing: "processing";
|
|
10270
12325
|
queued: "queued";
|
|
10271
12326
|
uploading: "uploading";
|
|
10272
|
-
processing: "processing";
|
|
10273
12327
|
vectorizing: "vectorizing";
|
|
10274
12328
|
complete: "complete";
|
|
10275
12329
|
}>;
|
|
@@ -10290,9 +12344,9 @@ declare const RepoStatusResponseSchema: z.ZodObject<{
|
|
|
10290
12344
|
job_id: z.ZodString;
|
|
10291
12345
|
status: z.ZodEnum<{
|
|
10292
12346
|
failed: "failed";
|
|
12347
|
+
processing: "processing";
|
|
10293
12348
|
queued: "queued";
|
|
10294
12349
|
uploading: "uploading";
|
|
10295
|
-
processing: "processing";
|
|
10296
12350
|
vectorizing: "vectorizing";
|
|
10297
12351
|
complete: "complete";
|
|
10298
12352
|
}>;
|
|
@@ -10739,8 +12793,8 @@ declare const KBIngestDataSchema: z.ZodObject<{
|
|
|
10739
12793
|
status: z.ZodOptional<z.ZodEnum<{
|
|
10740
12794
|
failed: "failed";
|
|
10741
12795
|
processing: "processing";
|
|
10742
|
-
complete: "complete";
|
|
10743
12796
|
pending: "pending";
|
|
12797
|
+
complete: "complete";
|
|
10744
12798
|
}>>;
|
|
10745
12799
|
}, z.core.$strip>;
|
|
10746
12800
|
type KBIngestData = z.infer<typeof KBIngestDataSchema>;
|
|
@@ -10756,8 +12810,8 @@ declare const KBIngestResponseSchema: z.ZodObject<{
|
|
|
10756
12810
|
status: z.ZodOptional<z.ZodEnum<{
|
|
10757
12811
|
failed: "failed";
|
|
10758
12812
|
processing: "processing";
|
|
10759
|
-
complete: "complete";
|
|
10760
12813
|
pending: "pending";
|
|
12814
|
+
complete: "complete";
|
|
10761
12815
|
}>>;
|
|
10762
12816
|
}, z.core.$strip>>;
|
|
10763
12817
|
error: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -10839,8 +12893,8 @@ declare const IngestionJobSchema: z.ZodObject<{
|
|
|
10839
12893
|
jobId: z.ZodString;
|
|
10840
12894
|
status: z.ZodEnum<{
|
|
10841
12895
|
failed: "failed";
|
|
10842
|
-
queued: "queued";
|
|
10843
12896
|
processing: "processing";
|
|
12897
|
+
queued: "queued";
|
|
10844
12898
|
complete: "complete";
|
|
10845
12899
|
}>;
|
|
10846
12900
|
progress: z.ZodOptional<z.ZodNumber>;
|
|
@@ -10860,8 +12914,8 @@ declare const IngestionJobResponseSchema: z.ZodObject<{
|
|
|
10860
12914
|
jobId: z.ZodString;
|
|
10861
12915
|
status: z.ZodEnum<{
|
|
10862
12916
|
failed: "failed";
|
|
10863
|
-
queued: "queued";
|
|
10864
12917
|
processing: "processing";
|
|
12918
|
+
queued: "queued";
|
|
10865
12919
|
complete: "complete";
|
|
10866
12920
|
}>;
|
|
10867
12921
|
progress: z.ZodOptional<z.ZodNumber>;
|
|
@@ -11576,4 +13630,4 @@ declare const GithubCommitsResponseSchema: z.ZodObject<{
|
|
|
11576
13630
|
}, z.core.$strip>;
|
|
11577
13631
|
type GithubCommitsResponse = z.infer<typeof GithubCommitsResponseSchema>;
|
|
11578
13632
|
|
|
11579
|
-
export { type AcknowledgeMemoData, type AcknowledgeMemoResponses, type AddDatabaseData, type AddDatabaseResponses, type AddLinkedRepoData, type AddLinkedRepoResponses, type AddMissionData, type AddMissionRequest, type AddMissionResponses, type AddProjectRepoData, AddProjectRepoDataSchema, type AddProjectRepoResponse, AddProjectRepoResponseSchema, type AddRepoRequest, type ArchiveSessionData, type ArchiveSessionResponses, type AuthConfig, type AuthTokenData, AuthTokenDataSchema, type AuthTokenResponse, AuthTokenResponseSchema, type AuthUserInfo, type AuthUserInfoResponse, AuthUserInfoResponseSchema, AuthUserInfoSchema, type AuthValidateData, AuthValidateDataSchema, type AuthValidateResponse, AuthValidateResponseSchema, type BulkDeleteContentData, type BulkDeleteContentResponses, type BulkDeleteRequest, type BulkReadContentData, type BulkReadContentResponses, type BulkReadRequest, type BulkWriteContentData, type BulkWriteContentResponses, type BulkWriteRequest, type CheckAccessRequest, type Client, type ClientOptions, type Config, type ConnectionState, type ContentType, type ContentTypeInfo, ContentTypeInfoSchema, ContentTypeSchema, type ContentTypeValue, type ContentTypesData, ContentTypesDataSchema, type ContentTypesResponse, ContentTypesResponseSchema, type ContentTypesResult, type ContextReposData, ContextReposDataSchema, type ContextReposResponse, ContextReposResponseSchema, type CreateDatabaseData, type CreateDatabaseResponses, type CreateMemoData, type CreateMemoRequest, type CreateMemoResponse, type CreateMemoResponses, type CreateProjectData, CreateProjectDataSchema, type CreateProjectResponse, CreateProjectResponseSchema, type CreateProjectResponses, type CreateSessionData, CreateSessionDataSchema, type CreateSessionResponse, CreateSessionResponseSchema, type DatabaseConfigResponse, type DatabaseCreate, type DatabaseListResponse, type DatabaseSampleResponse, type DatabaseSchemaResponse, type DatabaseUpdate, type DeleteContentData, type DeleteContentResponses, type DeleteData, DeleteDataSchema, type DeleteDatabaseData, type DeleteDatabaseResponses, type DeleteMemoData, type DeleteMemoResponse, type DeleteMemoResponses, type DeleteProjectData, DeleteProjectDataSchema, type DeleteProjectResponse, DeleteProjectResponseSchema, type DeleteProjectResponses, type DeleteRepoData, type DeleteRepoResponses, type DeleteResponse, DeleteResponseSchema, type DeleteResult, type DiscoveryData, DiscoveryDataSchema, type DiscoveryEndpoint, DiscoveryEndpointSchema, type DiscoveryResponse, DiscoveryResponseSchema, type DownloadRepositoryData, type DownloadRepositoryResponses, type DownloadRequest, type ErrorResponse, ErrorResponseSchema, type ForkRequest, type ForkSessionData, ForkSessionDataSchema, type ForkSessionResponse, ForkSessionResponseSchema, type ForkSessionResponses, type GetAuthConfigData, type GetAuthConfigResponses, type GetContentStatsData, type GetContentStatsResponses, type GetContentTreeData, type GetContentTreeResponses, type GetContentTypesData, type GetContentTypesResponses, type GetContentsRequest, type GetContextReposData, type GetContextReposResponses, type GetCurrentUserData, type GetCurrentUserResponses, type GetDatabaseData, type GetDatabaseResponses, type GetMemoData, type GetMemoForSourceData, type GetMemoForSourceResponse, type GetMemoForSourceResponses, type GetMemoResponse, type GetMemoResponses, type GetMissionContextData, type GetMissionContextResponses, type GetProjectData, GetProjectDataSchema, type GetProjectDatabasesData, type GetProjectDatabasesResponses, type GetProjectResponse, GetProjectResponseSchema, type GetProjectResponses, type GetPrototypeChatData, type GetPrototypeChatResponses, type GetRepoCommitsData, type GetRepoCommitsResponses, type GetRepoDownloadStatusData, type GetRepoDownloadStatusResponses, type GetSampleData, type GetSampleResponses, type GetSchemaData, type GetSchemaResponses, type GetSessionMessagesData, GetSessionMessagesDataSchema, type GetSessionMessagesResponse, GetSessionMessagesResponseSchema, type GetSessionMessagesResponses, type GetStoredVersionsData, type GetStoredVersionsResponses, type GetSyncStatusData, type GetSyncStatusResponses, type GithubBranchInfo, GithubBranchInfoSchema, type GithubBranchesData, GithubBranchesDataSchema, type GithubBranchesResponse, GithubBranchesResponseSchema, type GithubCheckAccessData, type GithubCheckAccessResponses, type GithubCommitInfo, GithubCommitInfoSchema, type GithubCommitsData, GithubCommitsDataSchema, type GithubCommitsResponse, GithubCommitsResponseSchema, type GithubDirectoryData, GithubDirectoryDataSchema, type GithubDirectoryResponse, GithubDirectoryResponseSchema, type GithubFileData, GithubFileDataSchema, type GithubFileInfo, GithubFileInfoSchema, type GithubFileResponse, GithubFileResponseSchema, type GithubGetContentsData, type GithubGetContentsResponses, type GithubListBranchesData, type GithubListBranchesResponses, type GithubRepoData, GithubRepoDataSchema, type GithubRepoInfo, GithubRepoInfoSchema, type GithubRepoResponse, GithubRepoResponseSchema, type IgnoreMemoData, type IgnoreMemoResponses, type IngestionJob, type IngestionJobResponse, IngestionJobResponseSchema, IngestionJobSchema, type JobProgressMessage, type KBDocument, KBDocumentSchema, type KBIngestData, KBIngestDataSchema, type KBIngestResponse, KBIngestResponseSchema, type KBListData, KBListDataSchema, type KBListResponse, KBListResponseSchema, KBNamespace, type KbQueryRequest, type LinkPrototypeChatData, type LinkPrototypeChatResponses, type LinkedRepoResponse, type ListBranchesRequest, type ListContentData, type ListContentResponses, type ListData, ListDataSchema, type ListDatabasesData, type ListDatabasesResponses, type ListDownloadedReposData, type ListDownloadedReposResponses, type ListEntry, ListEntrySchema, type ListMemosData, type ListMemosResponse, type ListMemosResponses, type ListProjectsData, ListProjectsDataSchema, type ListProjectsResponse, ListProjectsResponseSchema, type ListProjectsResponses, type ListPrototypeChatsData, type ListPrototypeChatsResponses, type ListResponse, ListResponseSchema, type ListResult, type ListSessionsData, ListSessionsDataSchema, type ListSessionsResponse, ListSessionsResponseSchema, type ListSessionsResponses, type ListTablesData, type ListTablesResponses, type ListWorkspacesData, type ListWorkspacesResponses, type LockContentData, type LockContentResponses, type LoginData, type LoginForAccessTokenData, type LoginForAccessTokenResponses, type LoginRequest, type LoginResponses, type Memo, type MemoActionResponse, type MemoCategory, type MemoSeverity, type MemoStatus, type MessageResponse, type Meta, MetaSchema, type MissionCreateRequest, MissionNamespace, type MoveContentData, type MoveContentResponses, type MoveRequest, type NotificationMessage, OCXPAuthError, OCXPClient, type OCXPClientOptions, OCXPConflictError, OCXPError, OCXPErrorCode, OCXPNetworkError, OCXPNotFoundError, OCXPPathService, type OCXPPathServiceOptions, OCXPRateLimitError, type OCXPResponse, OCXPResponseSchema, OCXPTimeoutError, OCXPValidationError, type Options, type Pagination, PaginationSchema, type ParsedPath, type PathEntry, type PathFileInfo, type PathListResult, type PathMoveResult, type PathReadResult, type PathWriteOptions, type PathWriteResult, type PresignedUrlData, PresignedUrlDataSchema, type PresignedUrlResponse, PresignedUrlResponseSchema, type PreviewPrototypeChatData, type PreviewPrototypeChatResponses, type Project, type ProjectCreate, type ProjectListResponse, type ProjectMission, ProjectMissionSchema, ProjectNamespace, type ProjectRepo, ProjectRepoSchema, type ProjectResponse, ProjectSchema, type ProjectUpdate, type PrototypeChatGetResponse, type PrototypeChatLinkRequest, type PrototypeChatLinkResponse, type PrototypeChatListItem, type PrototypeChatListResponse, type PrototypeChatMessage, type PrototypeChatPreviewRequest, type PrototypeChatPreviewResponse, type PrototypeChatSyncAsyncRequest, type PrototypeChatSyncAsyncResponse, type PrototypeChatSyncRequest, type PrototypeChatSyncResponse, type PrototypeChatVersion, PrototypeNamespace, type PrototypePageInfo, type PrototypeStoredVersionsResponse, type PrototypeSyncCompleteMessage, type PrototypeSyncJobStatusResponse, type PrototypeSyncProgressMessage, type QueryContentData, type QueryContentResponses, type QueryData, QueryDataSchema, type QueryFilter, QueryFilterSchema, type QueryKnowledgeBaseData, type QueryKnowledgeBaseResponses, type QueryResponse, QueryResponseSchema, type RagKnowledgeBaseData, type RagKnowledgeBaseResponses, type ReadContentData, type ReadContentResponses, type ReadData, ReadDataSchema, type ReadResponse, ReadResponseSchema, type ReadResult, type RefreshRequest, type RefreshResponse, type RefreshTokensData, type RefreshTokensResponses, type RegenerateMissionData, type RegenerateMissionRequest, type RegenerateMissionResponse, type RegenerateMissionResponses, type RemoveDatabaseData, type RemoveDatabaseResponses, type RemoveLinkedRepoData, type RemoveLinkedRepoResponses, type RemoveMissionData, type RemoveMissionResponses, type RepoCommitInfo, type RepoCommitStatusResponse, type RepoDeleteData, RepoDeleteDataSchema, type RepoDeleteResponse, RepoDeleteResponseSchema, type RepoDownloadData, RepoDownloadDataSchema, type RepoDownloadRequest, RepoDownloadRequestSchema, type RepoDownloadResponse, RepoDownloadResponseSchema, type RepoExistsData, RepoExistsDataSchema, type RepoExistsResponse, RepoExistsResponseSchema, type RepoInfo, type RepoListData, RepoListDataSchema, type RepoListItem, RepoListItemSchema, type RepoListResponse, RepoListResponseSchema, type RepoStatus, type RepoStatusData, RepoStatusDataSchema, RepoStatusEnum, type RepoStatusMessage, type RepoStatusResponse, RepoStatusResponseSchema, type RepoSyncAllResponse, type RepoSyncResponse, type ResolveMemoData, type ResolveMemoResponses, type SearchContentData, type SearchContentResponses, type SearchData, SearchDataSchema, type SearchResponse, SearchResponseSchema, type SearchResultItem, SearchResultItemSchema, type Session, type SessionForkResponse, type SessionListResponse, type SessionMessage, SessionMessageSchema, type SessionMessagesResponse, type SessionMetadataUpdate, SessionNamespace, type SessionResponse, SessionSchema, type SetDefaultDatabaseData, type SetDefaultDatabaseResponses, type SetDefaultRepoData, type SetDefaultRepoRequest, type SetDefaultRepoResponses, type SourceType, type StatsData, StatsDataSchema, type StatsResponse, StatsResponseSchema, type SyncAllReposData, type SyncAllReposResponses, type SyncEventMessage, type SyncPrototypeChatAsyncData, type SyncPrototypeChatAsyncResponses, type SyncPrototypeChatData, type SyncPrototypeChatResponses, type SyncRepoData, type SyncRepoResponses, type TestDatabaseConnectionData, type TestDatabaseConnectionResponses, type TokenProvider, type TokenResponse, type ToolCreateMissionData, type ToolCreateMissionResponses, type ToolUpdateMissionData, type ToolUpdateMissionResponses, type TreeData, TreeDataSchema, type TreeNode, TreeNodeSchema, type TreeResponse, TreeResponseSchema, type UnlockContentData, type UnlockContentResponses, type UpdateDatabaseData, type UpdateDatabaseResponses, type UpdateProjectData, UpdateProjectDataSchema, type UpdateProjectResponse, UpdateProjectResponseSchema, type UpdateProjectResponses, type UpdateSessionMetadataData, UpdateSessionMetadataDataSchema, type UpdateSessionMetadataResponse, UpdateSessionMetadataResponseSchema, type UpdateSessionMetadataResponses, type UserResponse, VALID_CONTENT_TYPES, type VectorSearchData, VectorSearchDataSchema, type VectorSearchResponse, VectorSearchResponseSchema, type WSBaseMessage, WSBaseMessageSchema, type WSChatMessage, WSChatMessageSchema, type WSChatResponse, WSChatResponseSchema, type WSConnected, WSConnectedSchema, type WSErrorMessage, WSErrorMessageSchema, type WSMessage, WSMessageSchema, type WSMessageType, WSMessageTypeSchema, type WSParseResult, type WSPingPong, WSPingPongSchema, type WSStatus, WSStatusSchema, type WSStreamChunk, WSStreamChunkSchema, type WSStreamEnd, WSStreamEndSchema, type WSStreamStart, WSStreamStartSchema, type WebSocketEventHandler, type WebSocketMessage, type WebSocketMessageType, WebSocketService, type WebSocketServiceOptions, type WorkspacesResponse, type WriteContentData, type WriteContentResponses, type WriteData, WriteDataSchema, type WriteRequest, type WriteResponse, WriteResponseSchema, type WriteResult, acknowledgeMemo, addDatabase, addLinkedRepo, addMission, archiveSession, buildPath, bulkDeleteContent, bulkReadContent, bulkWriteContent, createClient, createConfig, createDatabase, createMemo, createOCXPClient, createPathService, createProject, createResponseSchema, createWebSocketService, deleteContent, deleteDatabase, deleteMemo, deleteProject, deleteRepo, downloadRepository, forkSession, getAuthConfig, getCanonicalType, getContentStats, getContentTree, getContentTypes, getContextRepos, getCurrentUser, getDatabase, getMemo, getMemoForSource, getMissionContext, getProject, getProjectDatabases, getPrototypeChat, getRepoCommits, getRepoDownloadStatus, getSample, getSchema, getSessionMessages, getStoredVersions, getSyncStatus, githubCheckAccess, githubGetContents, githubListBranches, ignoreMemo, isOCXPAuthError, isOCXPConflictError, isOCXPError, isOCXPNetworkError, isOCXPNotFoundError, isOCXPRateLimitError, isOCXPTimeoutError, isOCXPValidationError, isValidContentType, linkPrototypeChat, listContent, listContextDatabases, listDatabases, listDownloadedRepos, listMemos, listProjects, listPrototypeChats, listSessions, listTables, listWorkspaces, lockContent, login, loginForAccessToken, mapHttpError, moveContent, normalizePath, parsePath, parseWSMessage, previewPrototypeChat, queryContent, queryKnowledgeBase, ragKnowledgeBase, readContent, refreshTokens, regenerateMission, removeDatabase, removeLinkedRepo, removeMission, resolveMemo, safeParseWSMessage, searchContent, setDefaultDatabase, setDefaultRepo, syncAllRepos, syncPrototypeChat, syncPrototypeChatAsync, syncRepo, testDatabaseConnection, toolCreateMission, toolUpdateMission, unlockContent, updateDatabase, updateProject, updateSessionMetadata, writeContent };
|
|
13633
|
+
export { type AcknowledgeMemoData, type AcknowledgeMemoResponses, type AddDatabaseData, type AddDatabaseResponses, type AddLinkedRepoData, type AddLinkedRepoResponses, type AddMissionData, type AddMissionRequest, type AddMissionResponses, type AddProjectRepoData, AddProjectRepoDataSchema, type AddProjectRepoResponse, AddProjectRepoResponseSchema, type AddRepoRequest, type AddTaskData, type AddTaskResponses, type ArchiveSessionData, type ArchiveSessionResponses, type AuthConfig, type AuthTokenData, AuthTokenDataSchema, type AuthTokenResponse, AuthTokenResponseSchema, type AuthUserInfo, type AuthUserInfoResponse, AuthUserInfoResponseSchema, AuthUserInfoSchema, type AuthValidateData, AuthValidateDataSchema, type AuthValidateResponse, AuthValidateResponseSchema, type BulkDeleteContentData, type BulkDeleteContentResponses, type BulkReadContentData, type BulkReadContentResponses, type BulkReadRequest, type BulkUpdateTasksData, type BulkUpdateTasksResponses, type BulkWriteContentData, type BulkWriteContentResponses, type BulkWriteRequest, type CheckAccessRequest, type Client, type ClientOptions, type Config, type ConnectionState, type ContentType, type ContentTypeInfo, ContentTypeInfoSchema, ContentTypeSchema, type ContentTypeValue, type ContentTypesData, ContentTypesDataSchema, type ContentTypesResponse, ContentTypesResponseSchema, type ContentTypesResult, type ContextReposData, ContextReposDataSchema, type ContextReposResponse, ContextReposResponseSchema, type CreateDatabaseData, type CreateDatabaseResponses, type CreateMemoData, type CreateMemoRequest, type CreateMemoResponse, type CreateMemoResponses, type CreateProjectData, CreateProjectDataSchema, type CreateProjectResponse, CreateProjectResponseSchema, type CreateProjectResponses, type CreateSessionData, CreateSessionDataSchema, type CreateSessionResponse, CreateSessionResponseSchema, type CreateWorkflowData, type CreateWorkflowResponses, DOCUMENT_TYPE_INFO, type DatabaseConfigResponse, type DatabaseCreate, type DatabaseListResponse, type DatabaseSampleResponse, type DatabaseSchemaResponse, type DatabaseUpdate, type DeleteContentData, type DeleteContentResponses, type DeleteData, DeleteDataSchema, type DeleteDatabaseData, type DeleteDatabaseResponses, type DeleteMemoData, type DeleteMemoResponse, type DeleteMemoResponses, type DeleteProjectData, DeleteProjectDataSchema, type DeleteProjectResponse, DeleteProjectResponseSchema, type DeleteProjectResponses, type DeleteRepoData, type DeleteRepoResponses, type DeleteResponse, DeleteResponseSchema, type DeleteResult, type DeleteTaskData, type DeleteTaskResponses, type DeleteWorkflowData, type DeleteWorkflowResponses, type DiscoveryData, DiscoveryDataSchema, type DiscoveryEndpoint, DiscoveryEndpointSchema, type DiscoveryResponse, DiscoveryResponseSchema, DocumentType, type DocumentTypeInfo, type DownloadRepositoryData, type DownloadRepositoryResponses, type DownloadRequest, type ErrorResponse, ErrorResponseSchema, type ForkRequest, type ForkSessionData, ForkSessionDataSchema, type ForkSessionResponse, ForkSessionResponseSchema, type ForkSessionResponses, type GetAuthConfigData, type GetAuthConfigResponses, type GetContentStatsData, type GetContentStatsResponses, type GetContentTreeData, type GetContentTreeResponses, type GetContentTypesData, type GetContentTypesResponses, type GetContentsRequest, type GetContextReposData, type GetContextReposResponses, type GetCurrentUserData, type GetCurrentUserResponses, type GetDatabaseData, type GetDatabaseResponses, type GetKbStatusData, type GetKbStatusResponses, type GetMemoData, type GetMemoForSourceData, type GetMemoForSourceResponse, type GetMemoForSourceResponses, type GetMemoResponse, type GetMemoResponses, type GetMissionContextData, type GetMissionContextResponses, type GetProjectData, GetProjectDataSchema, type GetProjectDatabasesData, type GetProjectDatabasesResponses, type GetProjectResponse, GetProjectResponseSchema, type GetProjectResponses, type GetPrototypeChatData, type GetPrototypeChatResponses, type GetRepoCommitsData, type GetRepoCommitsResponses, type GetRepoDownloadStatusData, type GetRepoDownloadStatusResponses, type GetSampleData, type GetSampleResponses, type GetSchemaData, type GetSchemaResponses, type GetSessionMessagesData, GetSessionMessagesDataSchema, type GetSessionMessagesResponse, GetSessionMessagesResponseSchema, type GetSessionMessagesResponses, type GetStoredVersionsData, type GetStoredVersionsResponses, type GetSyncStatusData, type GetSyncStatusResponses, type GetTaskData, type GetTaskResponses, type GetWorkflowData, type GetWorkflowResponses, type GithubBranchInfo, GithubBranchInfoSchema, type GithubBranchesData, GithubBranchesDataSchema, type GithubBranchesResponse, GithubBranchesResponseSchema, type GithubCheckAccessData, type GithubCheckAccessResponses, type GithubCommitInfo, GithubCommitInfoSchema, type GithubCommitsData, GithubCommitsDataSchema, type GithubCommitsResponse, GithubCommitsResponseSchema, type GithubDirectoryData, GithubDirectoryDataSchema, type GithubDirectoryResponse, GithubDirectoryResponseSchema, type GithubFileData, GithubFileDataSchema, type GithubFileInfo, GithubFileInfoSchema, type GithubFileResponse, GithubFileResponseSchema, type GithubGetContentsData, type GithubGetContentsResponses, type GithubListBranchesData, type GithubListBranchesResponses, type GithubRepoData, GithubRepoDataSchema, type GithubRepoInfo, GithubRepoInfoSchema, type GithubRepoResponse, GithubRepoResponseSchema, type IgnoreMemoData, type IgnoreMemoResponses, type IngestionJob, type IngestionJobResponse, IngestionJobResponseSchema, IngestionJobSchema, type JobProgressMessage, type KBDocument, KBDocumentSchema, type KBIndexingStatusMessage, type KBIngestData, KBIngestDataSchema, type KBIngestResponse, KBIngestResponseSchema, type KBListData, KBListDataSchema, type KBListResponse, KBListResponseSchema, KBNamespace, type KbIngestionJob, type KbOverview, type KbQueryRequest, type KbRepoStatus, type KbStatusResponse, type LinkPrototypeChatData, type LinkPrototypeChatResponses, type LinkedRepoResponse, type ListBranchesRequest, type ListContentData, type ListContentResponses, type ListData, ListDataSchema, type ListDatabasesData, type ListDatabasesResponses, type ListDownloadedReposData, type ListDownloadedReposResponses, type ListEntry, ListEntrySchema, type ListMemosData, type ListMemosResponse, type ListMemosResponses, type ListOptions, type ListProjectsData, ListProjectsDataSchema, type ListProjectsResponse, ListProjectsResponseSchema, type ListProjectsResponses, type ListPrototypeChatsData, type ListPrototypeChatsResponses, type ListResponse, ListResponseSchema, type ListResult, type ListSessionsData, ListSessionsDataSchema, type ListSessionsResponse, ListSessionsResponseSchema, type ListSessionsResponses, type ListTablesData, type ListTablesResponses, type ListTasksData, type ListTasksResponses, type ListWorkflowsData, type ListWorkflowsResponses, type ListWorkspacesData, type ListWorkspacesResponses, type LockContentData, type LockContentResponses, type LoginData, type LoginForAccessTokenData, type LoginForAccessTokenResponses, type LoginRequest, type LoginResponses, type Memo, type MemoActionResponse, type MemoCategory, type MemoSeverity, type MemoStatus, type MessageResponse, type Meta, MetaSchema, type MissionCreateRequest, MissionNamespace, type MoveContentData, type MoveContentResponses, type MoveRequest, type NotificationMessage, OCXPAuthError, OCXPClient, type OCXPClientOptions, OCXPConflictError, OCXPError, OCXPErrorCode, OCXPNetworkError, OCXPNotFoundError, OCXPPathService, type OCXPPathServiceOptions, OCXPRateLimitError, type OCXPResponse, OCXPResponseSchema, OCXPTimeoutError, OCXPValidationError, type Options, type OutputGenerationResponse, type PaginatedResponse, type Pagination, type PaginationParams, PaginationParamsSchema, PaginationSchema, type ParsedPath, type PathEntry, type PathFileInfo, type PathListResult, type PathMoveResult, type PathReadResult, type PathWriteOptions, type PathWriteResult, type PresignedUrlData, PresignedUrlDataSchema, type PresignedUrlResponse, PresignedUrlResponseSchema, type PreviewPrototypeChatData, type PreviewPrototypeChatResponses, type Project, type ProjectCreate, type ProjectListResponse, type ProjectMission, ProjectMissionSchema, ProjectNamespace, type ProjectRepo, ProjectRepoSchema, type ProjectResponse, ProjectSchema, type ProjectUpdate, type PrototypeChatGetResponse, type PrototypeChatLinkRequest, type PrototypeChatLinkResponse, type PrototypeChatListItem, type PrototypeChatListResponse, type PrototypeChatMessage, type PrototypeChatPreviewRequest, type PrototypeChatPreviewResponse, type PrototypeChatSyncAsyncRequest, type PrototypeChatSyncAsyncResponse, type PrototypeChatSyncRequest, type PrototypeChatSyncResponse, type PrototypeChatVersion, PrototypeNamespace, type PrototypePageInfo, type PrototypeStoredVersionsResponse, type PrototypeSyncCompleteMessage, type PrototypeSyncJobStatusResponse, type PrototypeSyncProgressMessage, type QueryContentData, type QueryContentResponses, type QueryData, QueryDataSchema, type QueryFilter, QueryFilterSchema, type QueryKnowledgeBaseData, type QueryKnowledgeBaseResponses, type QueryResponse, QueryResponseSchema, type RagKnowledgeBaseData, type RagKnowledgeBaseResponses, type ReadContentData, type ReadContentResponses, type ReadData, ReadDataSchema, type ReadResponse, ReadResponseSchema, type ReadResult, type RefreshRequest, type RefreshResponse, type RefreshTokensData, type RefreshTokensResponses, type RegenerateMissionData, type RegenerateMissionRequest, type RegenerateMissionResponse, type RegenerateMissionResponses, type RemoveDatabaseData, type RemoveDatabaseResponses, type RemoveLinkedRepoData, type RemoveLinkedRepoResponses, type RemoveMissionData, type RemoveMissionResponses, type RepoCommitInfo, type RepoCommitStatusResponse, type RepoDeleteData, RepoDeleteDataSchema, type RepoDeleteResponse, RepoDeleteResponseSchema, type RepoDownloadData, RepoDownloadDataSchema, type RepoDownloadRequest, RepoDownloadRequestSchema, type RepoDownloadResponse, RepoDownloadResponseSchema, type RepoExistsData, RepoExistsDataSchema, type RepoExistsResponse, RepoExistsResponseSchema, type RepoInfo, type RepoListData, RepoListDataSchema, type RepoListItem, RepoListItemSchema, type RepoListResponse, RepoListResponseSchema, type RepoStatus, type RepoStatusData, RepoStatusDataSchema, RepoStatusEnum, type RepoStatusMessage, type RepoStatusResponse, RepoStatusResponseSchema, type RepoSyncAllResponse, type RepoSyncResponse, type ResolveMemoData, type ResolveMemoResponses, type SearchContentData, type SearchContentResponses, type SearchData, SearchDataSchema, type SearchResponse, SearchResponseSchema, type SearchResultItem, SearchResultItemSchema, type Session, type SessionForkResponse, type SessionListResponse, type SessionMessage, SessionMessageSchema, type SessionMessagesResponse, type SessionMetadataUpdate, SessionNamespace, type SessionResponse, SessionSchema, type SetDefaultDatabaseData, type SetDefaultDatabaseResponses, type SetDefaultRepoData, type SetDefaultRepoRequest, type SetDefaultRepoResponses, type SourceType, type StartWorkflowData, type StartWorkflowResponses, type StatsData, StatsDataSchema, type StatsResponse, StatsResponseSchema, type SyncAllReposData, type SyncAllReposResponses, type SyncEventMessage, type SyncPrototypeChatAsyncData, type SyncPrototypeChatAsyncResponses, type SyncPrototypeChatData, type SyncPrototypeChatResponses, type SyncRepoData, type SyncRepoResponses, type TaskResponse, type TaskStatus, type TestDatabaseConnectionData, type TestDatabaseConnectionResponses, type TokenProvider, type TokenResponse, type ToolCreateMissionData, type ToolCreateMissionResponses, type ToolUpdateMissionData, type ToolUpdateMissionResponses, type TreeData, TreeDataSchema, type TreeNode, TreeNodeSchema, type TreeResponse, TreeResponseSchema, type TriggerKbSyncData, type TriggerKbSyncResponses, type TriggerSyncRequest, type TriggerSyncResponse, type UnlockContentData, type UnlockContentResponses, type UpdateDatabaseData, type UpdateDatabaseResponses, type UpdateProjectData, UpdateProjectDataSchema, type UpdateProjectResponse, UpdateProjectResponseSchema, type UpdateProjectResponses, type UpdateSessionMetadataData, UpdateSessionMetadataDataSchema, type UpdateSessionMetadataResponse, UpdateSessionMetadataResponseSchema, type UpdateSessionMetadataResponses, type UpdateTaskData, type UpdateTaskResponses, type UserResponse, VALID_CONTENT_TYPES, type VectorSearchData, VectorSearchDataSchema, type VectorSearchResponse, VectorSearchResponseSchema, type WSBaseMessage, WSBaseMessageSchema, type WSChatMessage, WSChatMessageSchema, type WSChatResponse, WSChatResponseSchema, type WSConnected, WSConnectedSchema, type WSErrorMessage, WSErrorMessageSchema, type WSMessage, WSMessageSchema, type WSMessageType, WSMessageTypeSchema, type WSParseResult, type WSPingPong, WSPingPongSchema, type WSStatus, WSStatusSchema, type WSStreamChunk, WSStreamChunkSchema, type WSStreamEnd, WSStreamEndSchema, type WSStreamStart, WSStreamStartSchema, type WebSocketEventHandler, type WebSocketMessage, type WebSocketMessageType, WebSocketService, type WebSocketServiceOptions, type Workflow, type WorkflowActionResponse, type WorkflowCreate, type WorkflowListResponse, type WorkflowResponse, type WorkflowStatus, type WorkflowTaskCreate, type WorkspacesResponse, type WriteContentData, type WriteContentResponses, type WriteData, WriteDataSchema, type WriteRequest, type WriteResponse, WriteResponseSchema, type WriteResult, acknowledgeMemo, addDatabase, addLinkedRepo, addMission, addTask, archiveSession, buildPath, bulkDeleteContent, bulkReadContent, bulkUpdateTasks, bulkWriteContent, createClient, createConfig, createDatabase, createMemo, createOCXPClient, createPaginatedResponseSchema, createPathService, createProject, createResponseSchema, createWebSocketService, createWorkflow, deleteContent, deleteDatabase, deleteMemo, deleteProject, deleteRepo, deleteTask, deleteWorkflow, downloadRepository, forkSession, getAuthConfig, getCanonicalType, getContentStats, getContentTree, getContentTypes, getContextRepos, getCurrentUser, getDatabase, getKbStatus, getMemo, getMemoForSource, getMissionContext, getProject, getProjectDatabases, getPrototypeChat, getRepoCommits, getRepoDownloadStatus, getSample, getSchema, getSessionMessages, getStoredVersions, getSyncStatus, getTask, getWorkflow, githubCheckAccess, githubGetContents, githubListBranches, ignoreMemo, isOCXPAuthError, isOCXPConflictError, isOCXPError, isOCXPNetworkError, isOCXPNotFoundError, isOCXPRateLimitError, isOCXPTimeoutError, isOCXPValidationError, isValidContentType, linkPrototypeChat, listContent, listContextDatabases, listDatabases, listDownloadedRepos, listMemos, listProjects, listPrototypeChats, listSessions, listTables, listTasks, listWorkflows, listWorkspaces, lockContent, login, loginForAccessToken, mapHttpError, moveContent, normalizePath, parsePath, parseWSMessage, previewPrototypeChat, queryContent, queryKnowledgeBase, ragKnowledgeBase, readContent, refreshTokens, regenerateMission, removeDatabase, removeLinkedRepo, removeMission, resolveMemo, safeParseWSMessage, searchContent, setDefaultDatabase, setDefaultRepo, startWorkflow, syncAllRepos, syncPrototypeChat, syncPrototypeChatAsync, syncRepo, testDatabaseConnection, toolCreateMission, toolUpdateMission, triggerKbSync, unlockContent, updateDatabase, updateProject, updateSessionMetadata, updateTask, writeContent };
|