@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.js CHANGED
@@ -811,7 +811,11 @@ var createClient = (config = {}) => {
811
811
  };
812
812
 
813
813
  // src/generated/client.gen.ts
814
- var client = createClient(createConfig());
814
+ var client = createClient(
815
+ createConfig({
816
+ baseUrl: "https://ix8b43sg3j.execute-api.us-west-2.amazonaws.com"
817
+ })
818
+ );
815
819
 
816
820
  // src/generated/sdk.gen.ts
817
821
  var bulkReadContent = (options) => (options.client ?? client).post({
@@ -979,6 +983,13 @@ var removeLinkedRepo = (options) => (options.client ?? client).delete({
979
983
  url: "/ocxp/project/{project_id}/repos/{repo_id}",
980
984
  ...options
981
985
  });
986
+ var cleanupDeadRepos = (options) => (options?.client ?? client).post(
987
+ {
988
+ security: [{ scheme: "bearer", type: "http" }],
989
+ url: "/ocxp/project/cleanup-dead-repos",
990
+ ...options
991
+ }
992
+ );
982
993
  var setDefaultRepo = (options) => (options.client ?? client).put({
983
994
  security: [{ scheme: "bearer", type: "http" }],
984
995
  url: "/ocxp/project/{project_id}/default-repo",
@@ -1124,6 +1135,20 @@ var regenerateMission = (options) => (options.client ?? client).post({
1124
1135
  ...options.headers
1125
1136
  }
1126
1137
  });
1138
+ var getKbStatus = (options) => (options?.client ?? client).get({
1139
+ security: [{ scheme: "bearer", type: "http" }],
1140
+ url: "/ocxp/kb/status",
1141
+ ...options
1142
+ });
1143
+ var triggerKbSync = (options) => (options.client ?? client).post({
1144
+ security: [{ scheme: "bearer", type: "http" }],
1145
+ url: "/ocxp/kb/sync",
1146
+ ...options,
1147
+ headers: {
1148
+ "Content-Type": "application/json",
1149
+ ...options.headers
1150
+ }
1151
+ });
1127
1152
  var queryKnowledgeBase = (options) => (options.client ?? client).post({
1128
1153
  security: [{ scheme: "bearer", type: "http" }],
1129
1154
  url: "/ocxp/kb/query",
@@ -1393,6 +1418,11 @@ var listContextDatabases = (options) => (options?.client ?? client).get({
1393
1418
  url: "/ocxp/context/database/databases",
1394
1419
  ...options
1395
1420
  });
1421
+ var getDatabaseDiagram = (options) => (options?.client ?? client).get({
1422
+ security: [{ scheme: "bearer", type: "http" }],
1423
+ url: "/ocxp/context/database/diagram",
1424
+ ...options
1425
+ });
1396
1426
  var getContentTypes = (options) => (options?.client ?? client).get({
1397
1427
  security: [{ scheme: "bearer", type: "http" }],
1398
1428
  url: "/ocxp/context/types",
@@ -1823,6 +1853,33 @@ var OCXPClient = class {
1823
1853
  });
1824
1854
  return extractData(response);
1825
1855
  }
1856
+ // ============== KB Status Operations ==============
1857
+ /**
1858
+ * Get status of all Knowledge Bases (code, docs, visual)
1859
+ */
1860
+ async kbStatus() {
1861
+ const headers = await this.getHeaders();
1862
+ const response = await getKbStatus({
1863
+ client: this.client,
1864
+ headers
1865
+ });
1866
+ return extractData(response);
1867
+ }
1868
+ /**
1869
+ * Trigger KB re-indexing
1870
+ */
1871
+ async kbSync(options) {
1872
+ const headers = await this.getHeaders();
1873
+ const response = await triggerKbSync({
1874
+ client: this.client,
1875
+ body: {
1876
+ kb_type: options?.kbType ?? null,
1877
+ force: options?.force ?? false
1878
+ },
1879
+ headers
1880
+ });
1881
+ return extractData(response);
1882
+ }
1826
1883
  // ============== Mission Operations ==============
1827
1884
  /**
1828
1885
  * List all missions in workspace with pagination support
@@ -2267,6 +2324,23 @@ var OCXPClient = class {
2267
2324
  });
2268
2325
  return extractData(response);
2269
2326
  }
2327
+ /**
2328
+ * Get database ER diagram in Mermaid syntax
2329
+ */
2330
+ async getDatabaseDiagram(databaseId, tables, includeMockData, mockRows) {
2331
+ const headers = await this.getHeaders();
2332
+ const response = await getDatabaseDiagram({
2333
+ client: this.client,
2334
+ query: {
2335
+ database_id: databaseId,
2336
+ tables,
2337
+ include_mock_data: includeMockData,
2338
+ mock_rows: mockRows
2339
+ },
2340
+ headers
2341
+ });
2342
+ return extractData(response);
2343
+ }
2270
2344
  /**
2271
2345
  * List all tables in database
2272
2346
  */
@@ -2354,7 +2428,8 @@ var OCXPClient = class {
2354
2428
  category: options?.category,
2355
2429
  priority: options?.priority,
2356
2430
  auto_include: options?.autoInclude,
2357
- branch: options?.branch
2431
+ branch: options?.branch,
2432
+ prompt: options?.prompt
2358
2433
  };
2359
2434
  const response = await addLinkedRepo({
2360
2435
  client: this.client,
@@ -2376,6 +2451,72 @@ var OCXPClient = class {
2376
2451
  });
2377
2452
  return extractData(response);
2378
2453
  }
2454
+ /**
2455
+ * Link a database to a project
2456
+ */
2457
+ async addProjectDatabase(projectId, databaseId, options) {
2458
+ const headers = await this.getHeaders();
2459
+ const response = await addDatabase({
2460
+ client: this.client,
2461
+ path: { project_id: projectId },
2462
+ headers,
2463
+ body: {
2464
+ database_id: databaseId,
2465
+ priority: options?.priority ?? 50,
2466
+ auto_include: options?.autoInclude ?? true,
2467
+ prompt: options?.prompt
2468
+ }
2469
+ });
2470
+ return extractData(response);
2471
+ }
2472
+ /**
2473
+ * Remove a database from a project
2474
+ */
2475
+ async removeProjectDatabase(projectId, databaseId) {
2476
+ const headers = await this.getHeaders();
2477
+ const response = await removeDatabase({
2478
+ client: this.client,
2479
+ path: { project_id: projectId, database_id: databaseId },
2480
+ headers
2481
+ });
2482
+ return extractData(response);
2483
+ }
2484
+ /**
2485
+ * Set the default database for a project
2486
+ */
2487
+ async setProjectDefaultDatabase(projectId, databaseId) {
2488
+ const headers = await this.getHeaders();
2489
+ const response = await setDefaultDatabase({
2490
+ client: this.client,
2491
+ path: { project_id: projectId },
2492
+ headers,
2493
+ body: { database_id: databaseId }
2494
+ });
2495
+ return extractData(response);
2496
+ }
2497
+ /**
2498
+ * Get all databases linked to a project
2499
+ */
2500
+ async getProjectDatabases(projectId) {
2501
+ const headers = await this.getHeaders();
2502
+ const response = await getProjectDatabases({
2503
+ client: this.client,
2504
+ path: { project_id: projectId },
2505
+ headers
2506
+ });
2507
+ return extractData(response);
2508
+ }
2509
+ /**
2510
+ * Scan all projects and remove links to repos that no longer exist in the index
2511
+ */
2512
+ async cleanupDeadRepos() {
2513
+ const headers = await this.getHeaders();
2514
+ const response = await cleanupDeadRepos({
2515
+ client: this.client,
2516
+ headers
2517
+ });
2518
+ return extractData(response);
2519
+ }
2379
2520
  /**
2380
2521
  * Set default repository for project
2381
2522
  */
@@ -2834,12 +2975,16 @@ var OCXPClient = class {
2834
2975
  throw new Error(`Failed to delete credentials: ${JSON.stringify(response.error)}`);
2835
2976
  }
2836
2977
  }
2837
- // ============== Document Generation ==============
2978
+ // ============== Document Generation (Workflow-based) ==============
2838
2979
  /**
2839
- * Generate mission output (documents, reports, etc.)
2980
+ * Generate mission output by creating a workflow with doc tasks.
2981
+ * Returns the workflow_id so the client can open WorkflowDetailView
2982
+ * for real-time progress tracking.
2983
+ *
2840
2984
  * @param missionId - Mission UUID
2841
2985
  * @param outputType - Type of output: 'documents', 'report', 'summary', etc.
2842
2986
  * @param options - Output options (doc_types, strategy, etc.)
2987
+ * @returns OutputGenerationResponse with workflow_id for tracking
2843
2988
  */
2844
2989
  async generateMissionOutput(missionId, outputType, options) {
2845
2990
  const headers = await this.getHeaders();
@@ -2851,8 +2996,7 @@ var OCXPClient = class {
2851
2996
  output_type: outputType,
2852
2997
  doc_types: options?.doc_types,
2853
2998
  strategy: options?.strategy || "generate_all",
2854
- session_id: options?.session_id,
2855
- options: options?.options
2999
+ session_id: options?.session_id
2856
3000
  }
2857
3001
  });
2858
3002
  if (response.error) {
@@ -2860,23 +3004,6 @@ var OCXPClient = class {
2860
3004
  }
2861
3005
  return response.data;
2862
3006
  }
2863
- /**
2864
- * Get output generation status
2865
- * @param missionId - Mission UUID
2866
- * @param outputType - Type of output to check (default: 'documents')
2867
- */
2868
- async getMissionOutputStatus(missionId, outputType = "documents") {
2869
- const headers = await this.getHeaders();
2870
- const response = await this.client.request({
2871
- method: "GET",
2872
- url: `/ocxp/mission/${missionId}/output/status?output_type=${outputType}`,
2873
- headers
2874
- });
2875
- if (response.error) {
2876
- throw new Error(`Failed to get output status: ${JSON.stringify(response.error)}`);
2877
- }
2878
- return response.data;
2879
- }
2880
3007
  // ============== Namespaced Accessors ==============
2881
3008
  _mission;
2882
3009
  _project;
@@ -3061,37 +3188,23 @@ var MissionNamespace = class {
3061
3188
  return this.client.tree("mission", path, depth, includeVersions);
3062
3189
  }
3063
3190
  /**
3064
- * Generate mission output (documents, reports, etc.)
3065
- * General endpoint for all output types using existing research.
3191
+ * Generate mission output by creating a workflow.
3192
+ * Returns workflow_id for tracking via WorkflowDetailView.
3066
3193
  *
3067
3194
  * @param missionId - Mission UUID
3068
3195
  * @param outputType - Type of output: 'documents', 'report', 'summary', etc.
3069
3196
  * @param options - Output options (doc_types, strategy, etc.)
3070
- * @returns Output response with session_id for tracking
3197
+ * @returns OutputGenerationResponse with workflow_id
3071
3198
  *
3072
3199
  * @example
3073
- * await ocxp.mission.generateOutput('mission-id', 'documents', {
3200
+ * const result = await ocxp.mission.generateOutput('mission-id', 'documents', {
3074
3201
  * doc_types: ['implementation-guide', 'prd'],
3075
- * strategy: 'generate_all'
3076
- * })
3202
+ * });
3203
+ * // Open WorkflowDetailView with result.workflow_id
3077
3204
  */
3078
3205
  async generateOutput(missionId, outputType, options) {
3079
3206
  return this.client.generateMissionOutput(missionId, outputType, options);
3080
3207
  }
3081
- /**
3082
- * Get output generation status
3083
- * Check progress and status of output generation.
3084
- *
3085
- * @param missionId - Mission UUID
3086
- * @param outputType - Type of output to check (default: 'documents')
3087
- * @returns Current output status with progress
3088
- *
3089
- * @example
3090
- * const status = await ocxp.mission.getOutputStatus('mission-id', 'documents')
3091
- */
3092
- async getOutputStatus(missionId, outputType = "documents") {
3093
- return this.client.getMissionOutputStatus(missionId, outputType);
3094
- }
3095
3208
  };
3096
3209
  var ProjectNamespace = class {
3097
3210
  constructor(client2) {
@@ -3142,6 +3255,12 @@ var ProjectNamespace = class {
3142
3255
  async removeRepo(projectId, repoId) {
3143
3256
  return this.client.removeProjectRepo(projectId, repoId);
3144
3257
  }
3258
+ /**
3259
+ * Remove dead repo links from all projects in the workspace
3260
+ */
3261
+ async cleanupDeadRepos() {
3262
+ return this.client.cleanupDeadRepos();
3263
+ }
3145
3264
  /**
3146
3265
  * Set the default repository for a project
3147
3266
  */
@@ -3166,6 +3285,30 @@ var ProjectNamespace = class {
3166
3285
  async removeMission(projectId, missionId) {
3167
3286
  return this.client.removeProjectMission(projectId, missionId);
3168
3287
  }
3288
+ /**
3289
+ * Link a database to a project
3290
+ */
3291
+ async addDatabase(projectId, databaseId, options) {
3292
+ return this.client.addProjectDatabase(projectId, databaseId, options);
3293
+ }
3294
+ /**
3295
+ * Remove a database from a project
3296
+ */
3297
+ async removeDatabase(projectId, databaseId) {
3298
+ return this.client.removeProjectDatabase(projectId, databaseId);
3299
+ }
3300
+ /**
3301
+ * Set the default database for a project
3302
+ */
3303
+ async setDefaultDatabase(projectId, databaseId) {
3304
+ return this.client.setProjectDefaultDatabase(projectId, databaseId);
3305
+ }
3306
+ /**
3307
+ * Get all databases linked to a project
3308
+ */
3309
+ async getProjectDatabases(projectId) {
3310
+ return this.client.getProjectDatabases(projectId);
3311
+ }
3169
3312
  /**
3170
3313
  * Get project content tree structure from S3
3171
3314
  * @param includeVersions - If true, includes S3 version IDs for files
@@ -3232,6 +3375,20 @@ var KBNamespace = class {
3232
3375
  async rag(query, sessionId) {
3233
3376
  return this.client.kbRag(query, sessionId);
3234
3377
  }
3378
+ /**
3379
+ * Get status of all Knowledge Bases (code, docs, visual)
3380
+ * @example ocxp.kb.status()
3381
+ */
3382
+ async status() {
3383
+ return this.client.kbStatus();
3384
+ }
3385
+ /**
3386
+ * Trigger KB re-indexing
3387
+ * @example ocxp.kb.sync({ kbType: 'code' })
3388
+ */
3389
+ async sync(options) {
3390
+ return this.client.kbSync(options);
3391
+ }
3235
3392
  };
3236
3393
  var PrototypeNamespace = class {
3237
3394
  constructor(client2) {
@@ -3727,6 +3884,12 @@ var WebSocketService = class {
3727
3884
  onPrototypeSyncComplete(handler) {
3728
3885
  return this.on("prototype_sync_complete", handler);
3729
3886
  }
3887
+ /**
3888
+ * Subscribe to KB indexing status updates
3889
+ */
3890
+ onKBIndexingStatus(handler) {
3891
+ return this.on("kb_indexing_status", handler);
3892
+ }
3730
3893
  /**
3731
3894
  * Subscribe to connection state changes
3732
3895
  */
@@ -4603,6 +4766,6 @@ var GithubCommitsDataSchema = z.object({
4603
4766
  });
4604
4767
  var GithubCommitsResponseSchema = createResponseSchema(GithubCommitsDataSchema);
4605
4768
 
4606
- export { AddProjectRepoDataSchema, AddProjectRepoResponseSchema, AuthTokenDataSchema, AuthTokenResponseSchema, AuthUserInfoResponseSchema, AuthUserInfoSchema, AuthValidateDataSchema, AuthValidateResponseSchema, ContentTypeInfoSchema, ContentTypeSchema, ContentTypesDataSchema, ContentTypesResponseSchema, ContextReposDataSchema, ContextReposResponseSchema, CreateProjectDataSchema, CreateProjectResponseSchema, CreateSessionDataSchema, CreateSessionResponseSchema, DOCUMENT_TYPE_INFO, DeleteDataSchema, DeleteProjectDataSchema, DeleteProjectResponseSchema, DeleteResponseSchema, DiscoveryDataSchema, DiscoveryEndpointSchema, DiscoveryResponseSchema, DocumentType, ErrorResponseSchema, ForkSessionDataSchema, ForkSessionResponseSchema, GetProjectDataSchema, GetProjectResponseSchema, GetSessionMessagesDataSchema, GetSessionMessagesResponseSchema, GithubBranchInfoSchema, GithubBranchesDataSchema, GithubBranchesResponseSchema, GithubCommitInfoSchema, GithubCommitsDataSchema, GithubCommitsResponseSchema, GithubDirectoryDataSchema, GithubDirectoryResponseSchema, GithubFileDataSchema, GithubFileInfoSchema, GithubFileResponseSchema, GithubRepoDataSchema, GithubRepoInfoSchema, GithubRepoResponseSchema, IngestionJobResponseSchema, IngestionJobSchema, KBDocumentSchema, KBIngestDataSchema, KBIngestResponseSchema, KBListDataSchema, KBListResponseSchema, KBNamespace, ListDataSchema, ListEntrySchema, ListProjectsDataSchema, ListProjectsResponseSchema, ListResponseSchema, ListSessionsDataSchema, ListSessionsResponseSchema, MetaSchema, MissionNamespace, OCXPAuthError, OCXPClient, OCXPConflictError, OCXPError, OCXPErrorCode, OCXPNetworkError, OCXPNotFoundError, OCXPPathService, OCXPRateLimitError, OCXPResponseSchema, OCXPTimeoutError, OCXPValidationError, PaginationParamsSchema, PaginationSchema, PresignedUrlDataSchema, PresignedUrlResponseSchema, ProjectMissionSchema, ProjectNamespace, ProjectRepoSchema, ProjectSchema, PrototypeNamespace, QueryDataSchema, QueryFilterSchema, QueryResponseSchema, ReadDataSchema, ReadResponseSchema, RepoDeleteDataSchema, RepoDeleteResponseSchema, RepoDownloadDataSchema, RepoDownloadRequestSchema, RepoDownloadResponseSchema, RepoExistsDataSchema, RepoExistsResponseSchema, RepoListDataSchema, RepoListItemSchema, RepoListResponseSchema, RepoStatusDataSchema, RepoStatusEnum, RepoStatusResponseSchema, SearchDataSchema, SearchResponseSchema, SearchResultItemSchema, SessionMessageSchema, SessionNamespace, SessionSchema, StatsDataSchema, StatsResponseSchema, TreeDataSchema, TreeNodeSchema, TreeResponseSchema, UpdateProjectDataSchema, UpdateProjectResponseSchema, UpdateSessionMetadataDataSchema, UpdateSessionMetadataResponseSchema, VALID_CONTENT_TYPES, VectorSearchDataSchema, VectorSearchResponseSchema, WSBaseMessageSchema, WSChatMessageSchema, WSChatResponseSchema, WSConnectedSchema, WSErrorMessageSchema, WSMessageSchema, WSMessageTypeSchema, WSPingPongSchema, WSStatusSchema, WSStreamChunkSchema, WSStreamEndSchema, WSStreamStartSchema, WebSocketService, WriteDataSchema, WriteResponseSchema, 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 };
4769
+ export { AddProjectRepoDataSchema, AddProjectRepoResponseSchema, AuthTokenDataSchema, AuthTokenResponseSchema, AuthUserInfoResponseSchema, AuthUserInfoSchema, AuthValidateDataSchema, AuthValidateResponseSchema, ContentTypeInfoSchema, ContentTypeSchema, ContentTypesDataSchema, ContentTypesResponseSchema, ContextReposDataSchema, ContextReposResponseSchema, CreateProjectDataSchema, CreateProjectResponseSchema, CreateSessionDataSchema, CreateSessionResponseSchema, DOCUMENT_TYPE_INFO, DeleteDataSchema, DeleteProjectDataSchema, DeleteProjectResponseSchema, DeleteResponseSchema, DiscoveryDataSchema, DiscoveryEndpointSchema, DiscoveryResponseSchema, DocumentType, ErrorResponseSchema, ForkSessionDataSchema, ForkSessionResponseSchema, GetProjectDataSchema, GetProjectResponseSchema, GetSessionMessagesDataSchema, GetSessionMessagesResponseSchema, GithubBranchInfoSchema, GithubBranchesDataSchema, GithubBranchesResponseSchema, GithubCommitInfoSchema, GithubCommitsDataSchema, GithubCommitsResponseSchema, GithubDirectoryDataSchema, GithubDirectoryResponseSchema, GithubFileDataSchema, GithubFileInfoSchema, GithubFileResponseSchema, GithubRepoDataSchema, GithubRepoInfoSchema, GithubRepoResponseSchema, IngestionJobResponseSchema, IngestionJobSchema, KBDocumentSchema, KBIngestDataSchema, KBIngestResponseSchema, KBListDataSchema, KBListResponseSchema, KBNamespace, ListDataSchema, ListEntrySchema, ListProjectsDataSchema, ListProjectsResponseSchema, ListResponseSchema, ListSessionsDataSchema, ListSessionsResponseSchema, MetaSchema, MissionNamespace, OCXPAuthError, OCXPClient, OCXPConflictError, OCXPError, OCXPErrorCode, OCXPNetworkError, OCXPNotFoundError, OCXPPathService, OCXPRateLimitError, OCXPResponseSchema, OCXPTimeoutError, OCXPValidationError, PaginationParamsSchema, PaginationSchema, PresignedUrlDataSchema, PresignedUrlResponseSchema, ProjectMissionSchema, ProjectNamespace, ProjectRepoSchema, ProjectSchema, PrototypeNamespace, QueryDataSchema, QueryFilterSchema, QueryResponseSchema, ReadDataSchema, ReadResponseSchema, RepoDeleteDataSchema, RepoDeleteResponseSchema, RepoDownloadDataSchema, RepoDownloadRequestSchema, RepoDownloadResponseSchema, RepoExistsDataSchema, RepoExistsResponseSchema, RepoListDataSchema, RepoListItemSchema, RepoListResponseSchema, RepoStatusDataSchema, RepoStatusEnum, RepoStatusResponseSchema, SearchDataSchema, SearchResponseSchema, SearchResultItemSchema, SessionMessageSchema, SessionNamespace, SessionSchema, StatsDataSchema, StatsResponseSchema, TreeDataSchema, TreeNodeSchema, TreeResponseSchema, UpdateProjectDataSchema, UpdateProjectResponseSchema, UpdateSessionMetadataDataSchema, UpdateSessionMetadataResponseSchema, VALID_CONTENT_TYPES, VectorSearchDataSchema, VectorSearchResponseSchema, WSBaseMessageSchema, WSChatMessageSchema, WSChatResponseSchema, WSConnectedSchema, WSErrorMessageSchema, WSMessageSchema, WSMessageTypeSchema, WSPingPongSchema, WSStatusSchema, WSStreamChunkSchema, WSStreamEndSchema, WSStreamStartSchema, WebSocketService, WriteDataSchema, WriteResponseSchema, 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 };
4607
4770
  //# sourceMappingURL=index.js.map
4608
4771
  //# sourceMappingURL=index.js.map