@ocxp/client 0.2.8 → 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.d.cts 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
@@ -600,6 +612,27 @@ type CheckAccessRequest = {
600
612
  */
601
613
  repo_url: string;
602
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
+ };
603
636
  /**
604
637
  * ContentDeleteResponse
605
638
  *
@@ -963,7 +996,7 @@ type DatabaseConfigResponse = {
963
996
  /**
964
997
  * Db Type
965
998
  *
966
- * postgres|postgres_lambda|mysql|mariadb
999
+ * postgres|postgres_lambda|supabase|terraform|mysql|mariadb
967
1000
  */
968
1001
  db_type: string;
969
1002
  /**
@@ -986,6 +1019,12 @@ type DatabaseConfigResponse = {
986
1019
  * Database Name
987
1020
  */
988
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;
989
1028
  /**
990
1029
  * Allowed Tables
991
1030
  */
@@ -1038,7 +1077,7 @@ type DatabaseCreate = {
1038
1077
  /**
1039
1078
  * Db Type
1040
1079
  *
1041
- * postgres|postgres_lambda|supabase|mysql|mariadb
1080
+ * postgres|postgres_lambda|supabase|terraform|mysql|mariadb
1042
1081
  */
1043
1082
  db_type?: string;
1044
1083
  /**
@@ -1057,6 +1096,12 @@ type DatabaseCreate = {
1057
1096
  * AWS Secrets Manager ARN for credentials
1058
1097
  */
1059
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;
1060
1105
  /**
1061
1106
  * Allowed Tables
1062
1107
  */
@@ -1070,6 +1115,53 @@ type DatabaseCreate = {
1070
1115
  */
1071
1116
  max_rows?: number;
1072
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
+ };
1073
1165
  /**
1074
1166
  * DatabaseListResponse
1075
1167
  *
@@ -1139,6 +1231,12 @@ type DatabaseSampleResponse = {
1139
1231
  * Database Id
1140
1232
  */
1141
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;
1142
1240
  };
1143
1241
  /**
1144
1242
  * DatabaseSchemaResponse
@@ -1160,6 +1258,12 @@ type DatabaseSchemaResponse = {
1160
1258
  * Database Id
1161
1259
  */
1162
1260
  database_id?: string | null;
1261
+ /**
1262
+ * Message
1263
+ *
1264
+ * Informational message (e.g. why no tables were found)
1265
+ */
1266
+ message?: string | null;
1163
1267
  };
1164
1268
  /**
1165
1269
  * DatabaseUpdate
@@ -1175,6 +1279,12 @@ type DatabaseUpdate = {
1175
1279
  * Description
1176
1280
  */
1177
1281
  description?: string | null;
1282
+ /**
1283
+ * Db Type
1284
+ *
1285
+ * postgres|postgres_lambda|supabase|terraform|mysql|mariadb
1286
+ */
1287
+ db_type?: string | null;
1178
1288
  /**
1179
1289
  * Lambda Function Name
1180
1290
  */
@@ -1189,6 +1299,12 @@ type DatabaseUpdate = {
1189
1299
  * AWS Secrets Manager ARN for credentials
1190
1300
  */
1191
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;
1192
1308
  /**
1193
1309
  * Allowed Tables
1194
1310
  */
@@ -1274,6 +1390,92 @@ type HttpValidationError = {
1274
1390
  */
1275
1391
  detail?: Array<ValidationError>;
1276
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
+ };
1277
1479
  /**
1278
1480
  * KBQueryRequest
1279
1481
  */
@@ -1387,6 +1589,43 @@ type KbRagResponse = {
1387
1589
  */
1388
1590
  session_id?: string | null;
1389
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
+ };
1390
1629
  /**
1391
1630
  * KBResultItem
1392
1631
  *
@@ -1424,6 +1663,40 @@ type KbResultItem = {
1424
1663
  */
1425
1664
  kb_source?: string | null;
1426
1665
  };
1666
+ /**
1667
+ * KBStatusResponse
1668
+ */
1669
+ type KbStatusResponse = {
1670
+ /**
1671
+ * Knowledge Bases
1672
+ */
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
+ };
1427
1700
  /**
1428
1701
  * LinkedRepoResponse
1429
1702
  *
@@ -1452,6 +1725,12 @@ type LinkedRepoResponse = {
1452
1725
  * Branch
1453
1726
  */
1454
1727
  branch: string;
1728
+ /**
1729
+ * Prompt
1730
+ *
1731
+ * Markdown context and guardrails for the agent
1732
+ */
1733
+ prompt?: string;
1455
1734
  };
1456
1735
  /**
1457
1736
  * ListBranchesRequest
@@ -2068,6 +2347,10 @@ type ProjectResponse = {
2068
2347
  * Linked Repos
2069
2348
  */
2070
2349
  linked_repos?: Array<LinkedRepoResponse>;
2350
+ /**
2351
+ * Linked Databases
2352
+ */
2353
+ linked_databases?: Array<LinkedDatabaseResponse>;
2071
2354
  /**
2072
2355
  * Mission Ids
2073
2356
  */
@@ -2076,6 +2359,10 @@ type ProjectResponse = {
2076
2359
  * Default Repo Id
2077
2360
  */
2078
2361
  default_repo_id?: string | null;
2362
+ /**
2363
+ * Default Database Id
2364
+ */
2365
+ default_database_id?: string | null;
2079
2366
  /**
2080
2367
  * Created At
2081
2368
  */
@@ -2126,6 +2413,12 @@ type ProjectStats = {
2126
2413
  * Linked repositories
2127
2414
  */
2128
2415
  repo_count?: number;
2416
+ /**
2417
+ * Database Count
2418
+ *
2419
+ * Linked databases
2420
+ */
2421
+ database_count?: number;
2129
2422
  /**
2130
2423
  * Memo Count
2131
2424
  *
@@ -3631,6 +3924,10 @@ type SessionResponse = {
3631
3924
  * active|archived
3632
3925
  */
3633
3926
  status?: string;
3927
+ /**
3928
+ * Project Id
3929
+ */
3930
+ project_id?: string | null;
3634
3931
  /**
3635
3932
  * Mission Id
3636
3933
  */
@@ -3813,6 +4110,38 @@ type TokenResponse = {
3813
4110
  */
3814
4111
  refreshToken: string;
3815
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
+ };
3816
4145
  /**
3817
4146
  * UserResponse
3818
4147
  *
@@ -4630,6 +4959,12 @@ type ListSessionsData = {
4630
4959
  * Filter by status: active, archived
4631
4960
  */
4632
4961
  status?: string;
4962
+ /**
4963
+ * Project Id
4964
+ *
4965
+ * Filter by project ID
4966
+ */
4967
+ project_id?: string | null;
4633
4968
  /**
4634
4969
  * Order By
4635
4970
  *
@@ -5467,6 +5802,62 @@ type RegenerateMissionResponses = {
5467
5802
  */
5468
5803
  200: RegenerateMissionResponse;
5469
5804
  };
5805
+ type GetKbStatusData = {
5806
+ body?: never;
5807
+ headers?: {
5808
+ /**
5809
+ * X-Workspace
5810
+ */
5811
+ 'X-Workspace'?: string;
5812
+ };
5813
+ path?: never;
5814
+ query?: never;
5815
+ url: '/ocxp/kb/status';
5816
+ };
5817
+ type GetKbStatusErrors = {
5818
+ /**
5819
+ * Validation Error
5820
+ */
5821
+ 422: HttpValidationError;
5822
+ /**
5823
+ * Rate limit exceeded
5824
+ */
5825
+ 429: unknown;
5826
+ };
5827
+ type GetKbStatusResponses = {
5828
+ /**
5829
+ * Successful Response
5830
+ */
5831
+ 200: KbStatusResponse;
5832
+ };
5833
+ type TriggerKbSyncData = {
5834
+ body: TriggerSyncRequest;
5835
+ headers?: {
5836
+ /**
5837
+ * X-Workspace
5838
+ */
5839
+ 'X-Workspace'?: string;
5840
+ };
5841
+ path?: never;
5842
+ query?: never;
5843
+ url: '/ocxp/kb/sync';
5844
+ };
5845
+ type TriggerKbSyncErrors = {
5846
+ /**
5847
+ * Validation Error
5848
+ */
5849
+ 422: HttpValidationError;
5850
+ /**
5851
+ * Rate limit exceeded
5852
+ */
5853
+ 429: unknown;
5854
+ };
5855
+ type TriggerKbSyncResponses = {
5856
+ /**
5857
+ * Successful Response
5858
+ */
5859
+ 202: TriggerSyncResponse;
5860
+ };
5470
5861
  type QueryKnowledgeBaseData = {
5471
5862
  body: KbQueryRequest;
5472
5863
  headers?: {
@@ -6961,6 +7352,12 @@ type GetSchemaData = {
6961
7352
  * Database ID (default: amc-default)
6962
7353
  */
6963
7354
  database_id?: string | null;
7355
+ /**
7356
+ * Cache Ttl
7357
+ *
7358
+ * Cache TTL in seconds (0=no cache)
7359
+ */
7360
+ cache_ttl?: number;
6964
7361
  };
6965
7362
  url: '/ocxp/context/database/schema';
6966
7363
  };
@@ -7011,6 +7408,12 @@ type GetSampleData = {
7011
7408
  * Database ID (default: amc-default)
7012
7409
  */
7013
7410
  database_id?: string | null;
7411
+ /**
7412
+ * Cache Ttl
7413
+ *
7414
+ * Cache TTL in seconds (0=no cache)
7415
+ */
7416
+ cache_ttl?: number;
7014
7417
  };
7015
7418
  url: '/ocxp/context/database/sample/{table_name}';
7016
7419
  };
@@ -7169,6 +7572,18 @@ type ListContentData = {
7169
7572
  * Filter by path prefix
7170
7573
  */
7171
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;
7172
7587
  /**
7173
7588
  * Limit
7174
7589
  *
@@ -7260,6 +7675,18 @@ type SearchContentData = {
7260
7675
  * Search query string
7261
7676
  */
7262
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;
7263
7690
  /**
7264
7691
  * Limit
7265
7692
  *
@@ -7312,6 +7739,12 @@ type GetContentTreeData = {
7312
7739
  * Root path for tree
7313
7740
  */
7314
7741
  path?: string | null;
7742
+ /**
7743
+ * Project
7744
+ *
7745
+ * Filter by project ID (scopes to linked repos)
7746
+ */
7747
+ project?: string | null;
7315
7748
  /**
7316
7749
  * Depth
7317
7750
  *
@@ -8388,6 +8821,22 @@ declare const setDefaultDatabase: <ThrowOnError extends boolean = false>(options
8388
8821
  * Archives old generated docs and triggers AgentCore regeneration with updated ticket info.
8389
8822
  */
8390
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">;
8391
8840
  /**
8392
8841
  * Query Knowledge Base
8393
8842
  *
@@ -9192,6 +9641,17 @@ declare class OCXPClient {
9192
9641
  * RAG with citations
9193
9642
  */
9194
9643
  kbRag(query: string, sessionId?: string): Promise<KbRagResponse>;
9644
+ /**
9645
+ * Get status of all Knowledge Bases (code, docs, visual)
9646
+ */
9647
+ kbStatus(): Promise<KbStatusResponse>;
9648
+ /**
9649
+ * Trigger KB re-indexing
9650
+ */
9651
+ kbSync(options?: {
9652
+ kbType?: string;
9653
+ force?: boolean;
9654
+ }): Promise<TriggerSyncResponse>;
9195
9655
  /**
9196
9656
  * List all missions in workspace with pagination support
9197
9657
  * @param options - Filtering, pagination, and sorting options
@@ -9393,6 +9853,10 @@ declare class OCXPClient {
9393
9853
  * Get sample data from a table
9394
9854
  */
9395
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>;
9396
9860
  /**
9397
9861
  * List all tables in database
9398
9862
  */
@@ -9427,11 +9891,45 @@ declare class OCXPClient {
9427
9891
  priority?: number;
9428
9892
  autoInclude?: boolean;
9429
9893
  branch?: string;
9894
+ prompt?: string;
9430
9895
  }): Promise<ProjectResponse>;
9431
9896
  /**
9432
9897
  * Remove repository from project
9433
9898
  */
9434
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>;
9435
9933
  /**
9436
9934
  * Set default repository for project
9437
9935
  */
@@ -9607,23 +10105,20 @@ declare class OCXPClient {
9607
10105
  */
9608
10106
  deleteProjectCredentials(projectId: string): Promise<void>;
9609
10107
  /**
9610
- * Generate mission output (documents, reports, etc.)
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
+ *
9611
10112
  * @param missionId - Mission UUID
9612
10113
  * @param outputType - Type of output: 'documents', 'report', 'summary', etc.
9613
10114
  * @param options - Output options (doc_types, strategy, etc.)
10115
+ * @returns OutputGenerationResponse with workflow_id for tracking
9614
10116
  */
9615
10117
  generateMissionOutput(missionId: string, outputType: string, options?: {
9616
10118
  doc_types?: string[];
9617
10119
  strategy?: string;
9618
10120
  session_id?: string;
9619
- options?: Record<string, unknown>;
9620
- }): Promise<GenerateOutputResponse>;
9621
- /**
9622
- * Get output generation status
9623
- * @param missionId - Mission UUID
9624
- * @param outputType - Type of output to check (default: 'documents')
9625
- */
9626
- getMissionOutputStatus(missionId: string, outputType?: string): Promise<OutputStatusResponse>;
10121
+ }): Promise<OutputGenerationResponse>;
9627
10122
  private _mission?;
9628
10123
  private _project?;
9629
10124
  private _session?;
@@ -9673,22 +10168,13 @@ interface DocumentTypeInfo {
9673
10168
  }
9674
10169
  /** Map of document type to display info */
9675
10170
  declare const DOCUMENT_TYPE_INFO: Record<DocumentType, DocumentTypeInfo>;
9676
- /** Response from generateOutput */
9677
- interface GenerateOutputResponse {
10171
+ /** Response from generateOutput -- returns workflow for tracking */
10172
+ interface OutputGenerationResponse {
10173
+ workflow_id: string;
10174
+ mission_id: string;
9678
10175
  session_id: string;
9679
- status: string;
9680
- output_type: string;
9681
- doc_types?: string[];
9682
- message?: string;
9683
- }
9684
- /** Response from getOutputStatus */
9685
- interface OutputStatusResponse {
9686
- status: 'pending' | 'generating' | 'ready' | 'failed';
9687
- output_type: string;
9688
- generated_docs: string[];
9689
- progress?: number;
9690
- message?: string;
9691
- error?: string;
10176
+ total_tasks: number;
10177
+ message: string;
9692
10178
  }
9693
10179
  /**
9694
10180
  * Mission namespace for convenient mission operations
@@ -9781,38 +10267,25 @@ declare class MissionNamespace {
9781
10267
  */
9782
10268
  tree(path?: string, depth?: number, includeVersions?: boolean): Promise<ContentTreeResponse>;
9783
10269
  /**
9784
- * Generate mission output (documents, reports, etc.)
9785
- * General endpoint for all output types using existing research.
10270
+ * Generate mission output by creating a workflow.
10271
+ * Returns workflow_id for tracking via WorkflowDetailView.
9786
10272
  *
9787
10273
  * @param missionId - Mission UUID
9788
10274
  * @param outputType - Type of output: 'documents', 'report', 'summary', etc.
9789
10275
  * @param options - Output options (doc_types, strategy, etc.)
9790
- * @returns Output response with session_id for tracking
10276
+ * @returns OutputGenerationResponse with workflow_id
9791
10277
  *
9792
10278
  * @example
9793
- * await ocxp.mission.generateOutput('mission-id', 'documents', {
10279
+ * const result = await ocxp.mission.generateOutput('mission-id', 'documents', {
9794
10280
  * doc_types: ['implementation-guide', 'prd'],
9795
- * strategy: 'generate_all'
9796
- * })
10281
+ * });
10282
+ * // Open WorkflowDetailView with result.workflow_id
9797
10283
  */
9798
10284
  generateOutput(missionId: string, outputType: string, options?: {
9799
10285
  doc_types?: string[];
9800
10286
  strategy?: string;
9801
10287
  session_id?: string;
9802
- options?: Record<string, unknown>;
9803
- }): Promise<GenerateOutputResponse>;
9804
- /**
9805
- * Get output generation status
9806
- * Check progress and status of output generation.
9807
- *
9808
- * @param missionId - Mission UUID
9809
- * @param outputType - Type of output to check (default: 'documents')
9810
- * @returns Current output status with progress
9811
- *
9812
- * @example
9813
- * const status = await ocxp.mission.getOutputStatus('mission-id', 'documents')
9814
- */
9815
- getOutputStatus(missionId: string, outputType?: string): Promise<OutputStatusResponse>;
10288
+ }): Promise<OutputGenerationResponse>;
9816
10289
  }
9817
10290
  /**
9818
10291
  * Project namespace for convenient project operations
@@ -9854,11 +10327,16 @@ declare class ProjectNamespace {
9854
10327
  priority?: number;
9855
10328
  autoInclude?: boolean;
9856
10329
  branch?: string;
10330
+ prompt?: string;
9857
10331
  }): Promise<ProjectResponse>;
9858
10332
  /**
9859
10333
  * Remove a repository from a project
9860
10334
  */
9861
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>;
9862
10340
  /**
9863
10341
  * Set the default repository for a project
9864
10342
  */
@@ -9875,6 +10353,35 @@ declare class ProjectNamespace {
9875
10353
  * Remove a mission from a project
9876
10354
  */
9877
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
+ }>;
9878
10385
  /**
9879
10386
  * Get project content tree structure from S3
9880
10387
  * @param includeVersions - If true, includes S3 version IDs for files
@@ -9945,6 +10452,19 @@ declare class KBNamespace {
9945
10452
  * @example ocxp.kb.rag('What is OCXP?')
9946
10453
  */
9947
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>;
9948
10468
  }
9949
10469
  /**
9950
10470
  * Prototype namespace for convenient prototype chat operations
@@ -10328,7 +10848,7 @@ declare function createPathService(options: OCXPPathServiceOptions): OCXPPathSer
10328
10848
  * WebSocket service for OCXP real-time communication
10329
10849
  * Provides push notifications for job progress, sync events, etc.
10330
10850
  */
10331
- 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';
10332
10852
  interface WebSocketMessage {
10333
10853
  type: WebSocketMessageType;
10334
10854
  [key: string]: unknown;
@@ -10383,6 +10903,17 @@ interface PrototypeSyncCompleteMessage extends WebSocketMessage {
10383
10903
  content_links: string[];
10384
10904
  stored_versions: string[];
10385
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
+ }
10386
10917
  interface WebSocketServiceOptions {
10387
10918
  /** WebSocket endpoint (wss://...) */
10388
10919
  endpoint: string;
@@ -10457,6 +10988,10 @@ declare class WebSocketService {
10457
10988
  * Subscribe to prototype sync complete notifications
10458
10989
  */
10459
10990
  onPrototypeSyncComplete(handler: WebSocketEventHandler<PrototypeSyncCompleteMessage>): () => void;
10991
+ /**
10992
+ * Subscribe to KB indexing status updates
10993
+ */
10994
+ onKBIndexingStatus(handler: WebSocketEventHandler<KBIndexingStatusMessage>): () => void;
10460
10995
  /**
10461
10996
  * Subscribe to connection state changes
10462
10997
  */
@@ -13095,4 +13630,4 @@ declare const GithubCommitsResponseSchema: z.ZodObject<{
13095
13630
  }, z.core.$strip>;
13096
13631
  type GithubCommitsResponse = z.infer<typeof GithubCommitsResponseSchema>;
13097
13632
 
13098
- 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 GenerateOutputResponse, 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 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 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 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 OutputStatusResponse, 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 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, 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, unlockContent, updateDatabase, updateProject, updateSessionMetadata, updateTask, 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 };