@ocxp/client 0.2.4 → 0.2.6

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
@@ -845,6 +845,64 @@ var bulkDeleteContent = (options) => (options.client ?? client).post({
845
845
  ...options.headers
846
846
  }
847
847
  });
848
+ var listPrototypeChats = (options) => (options?.client ?? client).get({
849
+ security: [{ scheme: "bearer", type: "http" }],
850
+ url: "/ocxp/prototype/chat/list",
851
+ ...options
852
+ });
853
+ var previewPrototypeChat = (options) => (options.client ?? client).post({
854
+ security: [{ scheme: "bearer", type: "http" }],
855
+ url: "/ocxp/prototype/chat/preview",
856
+ ...options,
857
+ headers: {
858
+ "Content-Type": "application/json",
859
+ ...options.headers
860
+ }
861
+ });
862
+ var linkPrototypeChat = (options) => (options.client ?? client).post({
863
+ security: [{ scheme: "bearer", type: "http" }],
864
+ url: "/ocxp/prototype/chat/link",
865
+ ...options,
866
+ headers: {
867
+ "Content-Type": "application/json",
868
+ ...options.headers
869
+ }
870
+ });
871
+ var syncPrototypeChat = (options) => (options.client ?? client).post({
872
+ security: [{ scheme: "bearer", type: "http" }],
873
+ url: "/ocxp/prototype/chat/sync",
874
+ ...options,
875
+ headers: {
876
+ "Content-Type": "application/json",
877
+ ...options.headers
878
+ }
879
+ });
880
+ var getStoredVersions = (options) => (options.client ?? client).get(
881
+ {
882
+ security: [{ scheme: "bearer", type: "http" }],
883
+ url: "/ocxp/prototype/chat/{provider}/{chat_id}/stored-versions",
884
+ ...options
885
+ }
886
+ );
887
+ var getPrototypeChat = (options) => (options.client ?? client).get({
888
+ security: [{ scheme: "bearer", type: "http" }],
889
+ url: "/ocxp/prototype/chat/{provider}/{chat_id}",
890
+ ...options
891
+ });
892
+ var syncPrototypeChatAsync = (options) => (options.client ?? client).post({
893
+ security: [{ scheme: "bearer", type: "http" }],
894
+ url: "/ocxp/prototype/chat/sync-async",
895
+ ...options,
896
+ headers: {
897
+ "Content-Type": "application/json",
898
+ ...options.headers
899
+ }
900
+ });
901
+ var getSyncStatus = (options) => (options.client ?? client).get({
902
+ security: [{ scheme: "bearer", type: "http" }],
903
+ url: "/ocxp/prototype/chat/sync-status/{job_id}",
904
+ ...options
905
+ });
848
906
  var listSessions = (options) => (options?.client ?? client).get({
849
907
  security: [{ scheme: "bearer", type: "http" }],
850
908
  url: "/ocxp/session",
@@ -1127,6 +1185,29 @@ var deleteRepo = (options) => (options.client ?? client).delete({
1127
1185
  url: "/ocxp/repo/{repo_id}",
1128
1186
  ...options
1129
1187
  });
1188
+ var syncAllRepos = (options) => (options?.client ?? client).post({
1189
+ security: [{ scheme: "bearer", type: "http" }],
1190
+ url: "/ocxp/repo/sync-all",
1191
+ ...options,
1192
+ headers: {
1193
+ "Content-Type": "application/json",
1194
+ ...options?.headers
1195
+ }
1196
+ });
1197
+ var getRepoCommits = (options) => (options.client ?? client).get({
1198
+ security: [{ scheme: "bearer", type: "http" }],
1199
+ url: "/ocxp/repo/{repo_id}/commits",
1200
+ ...options
1201
+ });
1202
+ var syncRepo = (options) => (options.client ?? client).post({
1203
+ security: [{ scheme: "bearer", type: "http" }],
1204
+ url: "/ocxp/repo/{repo_id}/sync",
1205
+ ...options,
1206
+ headers: {
1207
+ "Content-Type": "application/json",
1208
+ ...options.headers
1209
+ }
1210
+ });
1130
1211
  var githubCheckAccess = (options) => (options.client ?? client).post({
1131
1212
  security: [{ scheme: "bearer", type: "http" }],
1132
1213
  url: "/ocxp/github/check-access",
@@ -1939,6 +2020,48 @@ var OCXPClient = class {
1939
2020
  });
1940
2021
  return extractData(response);
1941
2022
  }
2023
+ /**
2024
+ * Sync a repository with its remote GitHub branch
2025
+ * @param repoId - Repository ID (owner/repo format)
2026
+ * @param force - Force sync even if no changes detected
2027
+ */
2028
+ async syncRepo(repoId, force = false) {
2029
+ const headers = await this.getHeaders();
2030
+ const response = await syncRepo({
2031
+ client: this.client,
2032
+ path: { repo_id: repoId },
2033
+ body: { force },
2034
+ headers
2035
+ });
2036
+ return extractData(response);
2037
+ }
2038
+ /**
2039
+ * Sync all repositories with their remote GitHub branches
2040
+ * @param force - Force sync all repos even if no changes
2041
+ */
2042
+ async syncAllRepos(force = false) {
2043
+ const headers = await this.getHeaders();
2044
+ const response = await syncAllRepos({
2045
+ client: this.client,
2046
+ body: { force },
2047
+ headers
2048
+ });
2049
+ return extractData(response);
2050
+ }
2051
+ /**
2052
+ * Get commit status for a repository
2053
+ * Shows how many commits behind and lists missing commits
2054
+ * @param repoId - Repository ID (owner/repo format)
2055
+ */
2056
+ async getRepoCommitStatus(repoId) {
2057
+ const headers = await this.getHeaders();
2058
+ const response = await getRepoCommits({
2059
+ client: this.client,
2060
+ path: { repo_id: repoId },
2061
+ headers
2062
+ });
2063
+ return extractData(response);
2064
+ }
1942
2065
  // ============== Database Operations ==============
1943
2066
  /**
1944
2067
  * List all database configurations in workspace
@@ -2262,6 +2385,120 @@ var OCXPClient = class {
2262
2385
  headers
2263
2386
  });
2264
2387
  }
2388
+ // ============== Prototype Operations ==============
2389
+ /**
2390
+ * List all accessible prototype chats from a provider
2391
+ * @param provider - Filter by provider (v0, lovable, bolt)
2392
+ */
2393
+ async listPrototypeChats(provider) {
2394
+ const headers = await this.getHeaders();
2395
+ const response = await listPrototypeChats({
2396
+ client: this.client,
2397
+ query: { provider },
2398
+ headers
2399
+ });
2400
+ return extractData(response);
2401
+ }
2402
+ /**
2403
+ * Preview a prototype chat (fetch metadata without linking)
2404
+ * @param chatUrl - Chat URL to preview
2405
+ * @param provider - Prototype provider (optional, auto-detected from URL)
2406
+ */
2407
+ async previewPrototypeChat(chatUrl, provider) {
2408
+ const headers = await this.getHeaders();
2409
+ const response = await previewPrototypeChat({
2410
+ client: this.client,
2411
+ body: { chat_url: chatUrl, provider },
2412
+ headers
2413
+ });
2414
+ return extractData(response);
2415
+ }
2416
+ /**
2417
+ * Link a prototype chat to a mission
2418
+ * @param data - Link request data
2419
+ */
2420
+ async linkPrototypeChat(data) {
2421
+ const headers = await this.getHeaders();
2422
+ const response = await linkPrototypeChat({
2423
+ client: this.client,
2424
+ body: data,
2425
+ headers
2426
+ });
2427
+ return extractData(response);
2428
+ }
2429
+ /**
2430
+ * Sync/refresh a linked prototype chat
2431
+ * @param data - Sync request data
2432
+ */
2433
+ async syncPrototypeChat(data) {
2434
+ const headers = await this.getHeaders();
2435
+ const response = await syncPrototypeChat({
2436
+ client: this.client,
2437
+ body: data,
2438
+ headers
2439
+ });
2440
+ return extractData(response);
2441
+ }
2442
+ /**
2443
+ * Get stored prototype chat data
2444
+ * @param provider - Provider name (v0, lovable, bolt)
2445
+ * @param chatId - Chat ID
2446
+ * @param options - Optional query parameters
2447
+ */
2448
+ async getPrototypeChat(provider, chatId, options) {
2449
+ const headers = await this.getHeaders();
2450
+ const response = await getPrototypeChat({
2451
+ client: this.client,
2452
+ path: { provider, chat_id: chatId },
2453
+ query: { project_id: options?.projectId, version_id: options?.versionId },
2454
+ headers
2455
+ });
2456
+ return extractData(response);
2457
+ }
2458
+ /**
2459
+ * Start async prototype chat sync job
2460
+ * @param data - Async sync request data
2461
+ */
2462
+ async syncPrototypeChatAsync(data) {
2463
+ const headers = await this.getHeaders();
2464
+ const response = await syncPrototypeChatAsync({
2465
+ client: this.client,
2466
+ body: data,
2467
+ headers
2468
+ });
2469
+ return extractData(response);
2470
+ }
2471
+ /**
2472
+ * Get sync job status
2473
+ * @param jobId - Job ID from async sync response
2474
+ */
2475
+ async getPrototypeSyncStatus(jobId) {
2476
+ const headers = await this.getHeaders();
2477
+ const response = await getSyncStatus({
2478
+ client: this.client,
2479
+ path: { job_id: jobId },
2480
+ headers
2481
+ });
2482
+ return extractData(response);
2483
+ }
2484
+ /**
2485
+ * Get stored versions for a prototype chat (fast DynamoDB query)
2486
+ * Use this for UI button states instead of full sync
2487
+ * @param provider - Provider name (v0, lovable, bolt)
2488
+ * @param chatId - Chat ID
2489
+ * @param options - Optional settings
2490
+ * @param options.includeDetails - If true, returns full version metadata (files, pages, screenshots)
2491
+ */
2492
+ async getStoredVersions(provider, chatId, options) {
2493
+ const headers = await this.getHeaders();
2494
+ const response = await getStoredVersions({
2495
+ client: this.client,
2496
+ path: { provider, chat_id: chatId },
2497
+ query: options?.includeDetails ? { include_details: true } : void 0,
2498
+ headers
2499
+ });
2500
+ return extractData(response);
2501
+ }
2265
2502
  // ============== Auth Operations ==============
2266
2503
  /**
2267
2504
  * Get auth configuration (public endpoint)
@@ -2385,6 +2622,7 @@ var OCXPClient = class {
2385
2622
  _project;
2386
2623
  _session;
2387
2624
  _kb;
2625
+ _prototype;
2388
2626
  /**
2389
2627
  * Mission namespace for convenient mission operations
2390
2628
  * @example ocxp.mission.list({ status: 'pending' })
@@ -2425,6 +2663,16 @@ var OCXPClient = class {
2425
2663
  }
2426
2664
  return this._kb;
2427
2665
  }
2666
+ /**
2667
+ * Prototype namespace for convenient prototype chat operations
2668
+ * @example ocxp.prototype.list('v0')
2669
+ */
2670
+ get prototype() {
2671
+ if (!this._prototype) {
2672
+ this._prototype = new PrototypeNamespace(this);
2673
+ }
2674
+ return this._prototype;
2675
+ }
2428
2676
  };
2429
2677
  var MissionNamespace = class {
2430
2678
  constructor(client2) {
@@ -2645,6 +2893,69 @@ var KBNamespace = class {
2645
2893
  return this.client.kbRag(query, sessionId);
2646
2894
  }
2647
2895
  };
2896
+ var PrototypeNamespace = class {
2897
+ constructor(client2) {
2898
+ this.client = client2;
2899
+ }
2900
+ /**
2901
+ * List all accessible prototype chats
2902
+ * @example ocxp.prototype.list('v0')
2903
+ */
2904
+ async list(provider) {
2905
+ return this.client.listPrototypeChats(provider);
2906
+ }
2907
+ /**
2908
+ * Preview a prototype chat (fetch metadata without linking)
2909
+ * @example ocxp.prototype.preview('https://v0.dev/chat/abc123')
2910
+ */
2911
+ async preview(chatUrl, provider) {
2912
+ return this.client.previewPrototypeChat(chatUrl, provider);
2913
+ }
2914
+ /**
2915
+ * Link a prototype chat to a mission
2916
+ * @example ocxp.prototype.link({ mission_id: 'xyz', chat_url: 'https://v0.dev/chat/abc123' })
2917
+ */
2918
+ async link(data) {
2919
+ return this.client.linkPrototypeChat(data);
2920
+ }
2921
+ /**
2922
+ * Sync/refresh a linked prototype chat
2923
+ * @example ocxp.prototype.sync({ chat_id: 'abc123', mission_id: 'xyz' })
2924
+ */
2925
+ async sync(data) {
2926
+ return this.client.syncPrototypeChat(data);
2927
+ }
2928
+ /**
2929
+ * Get stored prototype chat data
2930
+ * @example ocxp.prototype.get('v0', 'abc123')
2931
+ */
2932
+ async get(provider, chatId, options) {
2933
+ return this.client.getPrototypeChat(provider, chatId, options);
2934
+ }
2935
+ /**
2936
+ * Start async prototype chat sync job
2937
+ * @example ocxp.prototype.syncAsync({ chat_id: 'abc123', mission_id: 'xyz', download_files: true })
2938
+ */
2939
+ async syncAsync(data) {
2940
+ return this.client.syncPrototypeChatAsync(data);
2941
+ }
2942
+ /**
2943
+ * Get sync job status
2944
+ * @example ocxp.prototype.getSyncStatus('job-id')
2945
+ */
2946
+ async getSyncStatus(jobId) {
2947
+ return this.client.getPrototypeSyncStatus(jobId);
2948
+ }
2949
+ /**
2950
+ * Get stored versions for a prototype chat (fast DynamoDB query)
2951
+ * Use this for UI button states instead of full sync
2952
+ * @param options.includeDetails - If true, returns full version metadata (files, pages, screenshots)
2953
+ * @example ocxp.prototype.getStoredVersions('v0', 'abc123', { includeDetails: true })
2954
+ */
2955
+ async getStoredVersions(provider, chatId, options) {
2956
+ return this.client.getStoredVersions(provider, chatId, options);
2957
+ }
2958
+ };
2648
2959
  function createOCXPClient(options) {
2649
2960
  return new OCXPClient(options);
2650
2961
  }
@@ -3064,6 +3375,18 @@ var WebSocketService = class {
3064
3375
  onSyncEvent(handler) {
3065
3376
  return this.on("sync_event", handler);
3066
3377
  }
3378
+ /**
3379
+ * Subscribe to prototype sync progress updates
3380
+ */
3381
+ onPrototypeSyncProgress(handler) {
3382
+ return this.on("prototype_sync_progress", handler);
3383
+ }
3384
+ /**
3385
+ * Subscribe to prototype sync complete notifications
3386
+ */
3387
+ onPrototypeSyncComplete(handler) {
3388
+ return this.on("prototype_sync_complete", handler);
3389
+ }
3067
3390
  /**
3068
3391
  * Subscribe to connection state changes
3069
3392
  */
@@ -3083,6 +3406,12 @@ var WebSocketService = class {
3083
3406
  subscribeToRepo(repoId) {
3084
3407
  this.send({ action: "subscribe", type: "repo", id: repoId });
3085
3408
  }
3409
+ /**
3410
+ * Subscribe to prototype sync job updates
3411
+ */
3412
+ subscribeToPrototypeSync(jobId) {
3413
+ this.send({ action: "subscribe", topic: `prototype_sync:${jobId}` });
3414
+ }
3086
3415
  /**
3087
3416
  * Send message to server
3088
3417
  */
@@ -3912,6 +4241,6 @@ var GithubCommitsDataSchema = z.object({
3912
4241
  });
3913
4242
  var GithubCommitsResponseSchema = createResponseSchema(GithubCommitsDataSchema);
3914
4243
 
3915
- export { AddProjectRepoDataSchema, AddProjectRepoResponseSchema, AuthTokenDataSchema, AuthTokenResponseSchema, AuthUserInfoResponseSchema, AuthUserInfoSchema, AuthValidateDataSchema, AuthValidateResponseSchema, ContentTypeInfoSchema, ContentTypeSchema, ContentTypesDataSchema, ContentTypesResponseSchema, ContextReposDataSchema, ContextReposResponseSchema, CreateProjectDataSchema, CreateProjectResponseSchema, CreateSessionDataSchema, CreateSessionResponseSchema, DeleteDataSchema, DeleteProjectDataSchema, DeleteProjectResponseSchema, DeleteResponseSchema, DiscoveryDataSchema, DiscoveryEndpointSchema, DiscoveryResponseSchema, 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, PaginationSchema, PresignedUrlDataSchema, PresignedUrlResponseSchema, ProjectMissionSchema, ProjectNamespace, ProjectRepoSchema, ProjectSchema, 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, 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, getRepoDownloadStatus, getSample, getSchema, getSessionMessages, githubCheckAccess, githubGetContents, githubListBranches, ignoreMemo, isOCXPAuthError, isOCXPConflictError, isOCXPError, isOCXPNetworkError, isOCXPNotFoundError, isOCXPRateLimitError, isOCXPTimeoutError, isOCXPValidationError, isValidContentType, listContent, listContextDatabases, listDatabases, listDownloadedRepos, listMemos, listProjects, listSessions, listTables, listWorkspaces, lockContent, login, loginForAccessToken, mapHttpError, moveContent, normalizePath, parsePath, parseWSMessage, queryContent, queryKnowledgeBase, ragKnowledgeBase, readContent, refreshTokens, regenerateMission, removeDatabase, removeLinkedRepo, removeMission, resolveMemo, safeParseWSMessage, searchContent, setDefaultDatabase, setDefaultRepo, testDatabaseConnection, toolCreateMission, toolUpdateMission, unlockContent, updateDatabase, updateProject, updateSessionMetadata, writeContent };
4244
+ export { AddProjectRepoDataSchema, AddProjectRepoResponseSchema, AuthTokenDataSchema, AuthTokenResponseSchema, AuthUserInfoResponseSchema, AuthUserInfoSchema, AuthValidateDataSchema, AuthValidateResponseSchema, ContentTypeInfoSchema, ContentTypeSchema, ContentTypesDataSchema, ContentTypesResponseSchema, ContextReposDataSchema, ContextReposResponseSchema, CreateProjectDataSchema, CreateProjectResponseSchema, CreateSessionDataSchema, CreateSessionResponseSchema, DeleteDataSchema, DeleteProjectDataSchema, DeleteProjectResponseSchema, DeleteResponseSchema, DiscoveryDataSchema, DiscoveryEndpointSchema, DiscoveryResponseSchema, 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, 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, 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 };
3916
4245
  //# sourceMappingURL=index.js.map
3917
4246
  //# sourceMappingURL=index.js.map