@ocxp/client 0.2.7 → 0.2.8

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,11 +811,7 @@ var createClient = (config = {}) => {
811
811
  };
812
812
 
813
813
  // src/generated/client.gen.ts
814
- var client = createClient(
815
- createConfig({
816
- baseUrl: "https://ix8b43sg3j.execute-api.us-west-2.amazonaws.com"
817
- })
818
- );
814
+ var client = createClient(createConfig());
819
815
 
820
816
  // src/generated/sdk.gen.ts
821
817
  var bulkReadContent = (options) => (options.client ?? client).post({
@@ -1039,6 +1035,39 @@ var setDefaultDatabase = (options) => (options.client ?? client).put({
1039
1035
  ...options.headers
1040
1036
  }
1041
1037
  });
1038
+ var deleteCredentials = (options) => (options.client ?? client).delete({
1039
+ security: [{ scheme: "bearer", type: "http" }],
1040
+ url: "/ocxp/project/{project_id}/credentials",
1041
+ ...options
1042
+ });
1043
+ var getCredentials = (options) => (options.client ?? client).get({
1044
+ security: [{ scheme: "bearer", type: "http" }],
1045
+ url: "/ocxp/project/{project_id}/credentials",
1046
+ ...options
1047
+ });
1048
+ var updateCredentials = (options) => (options.client ?? client).patch({
1049
+ security: [{ scheme: "bearer", type: "http" }],
1050
+ url: "/ocxp/project/{project_id}/credentials",
1051
+ ...options,
1052
+ headers: {
1053
+ "Content-Type": "application/json",
1054
+ ...options.headers
1055
+ }
1056
+ });
1057
+ var saveCredentials = (options) => (options.client ?? client).post({
1058
+ security: [{ scheme: "bearer", type: "http" }],
1059
+ url: "/ocxp/project/{project_id}/credentials",
1060
+ ...options,
1061
+ headers: {
1062
+ "Content-Type": "application/json",
1063
+ ...options.headers
1064
+ }
1065
+ });
1066
+ var testCredentials = (options) => (options.client ?? client).post({
1067
+ security: [{ scheme: "bearer", type: "http" }],
1068
+ url: "/ocxp/project/{project_id}/credentials/test",
1069
+ ...options
1070
+ });
1042
1071
  var listMissions = (options) => (options?.client ?? client).get({
1043
1072
  security: [{ scheme: "bearer", type: "http" }],
1044
1073
  url: "/ocxp/mission",
@@ -1161,6 +1190,77 @@ var ignoreMemo = (options) => (options.client ?? client).post({
1161
1190
  url: "/ocxp/memo/{memo_id}/ignore",
1162
1191
  ...options
1163
1192
  });
1193
+ var listWorkflows = (options) => (options.client ?? client).get({
1194
+ security: [{ scheme: "bearer", type: "http" }],
1195
+ url: "/ocxp/workflow",
1196
+ ...options
1197
+ });
1198
+ var createWorkflow = (options) => (options.client ?? client).post({
1199
+ security: [{ scheme: "bearer", type: "http" }],
1200
+ url: "/ocxp/workflow",
1201
+ ...options,
1202
+ headers: {
1203
+ "Content-Type": "application/json",
1204
+ ...options.headers
1205
+ }
1206
+ });
1207
+ var deleteWorkflow = (options) => (options.client ?? client).delete({
1208
+ security: [{ scheme: "bearer", type: "http" }],
1209
+ url: "/ocxp/workflow/{workflow_id}",
1210
+ ...options
1211
+ });
1212
+ var getWorkflow = (options) => (options.client ?? client).get({
1213
+ security: [{ scheme: "bearer", type: "http" }],
1214
+ url: "/ocxp/workflow/{workflow_id}",
1215
+ ...options
1216
+ });
1217
+ var startWorkflow = (options) => (options.client ?? client).post({
1218
+ security: [{ scheme: "bearer", type: "http" }],
1219
+ url: "/ocxp/workflow/{workflow_id}/start",
1220
+ ...options
1221
+ });
1222
+ var listTasks = (options) => (options.client ?? client).get({
1223
+ security: [{ scheme: "bearer", type: "http" }],
1224
+ url: "/ocxp/workflow/{workflow_id}/tasks",
1225
+ ...options
1226
+ });
1227
+ var addTask = (options) => (options.client ?? client).post({
1228
+ security: [{ scheme: "bearer", type: "http" }],
1229
+ url: "/ocxp/workflow/{workflow_id}/tasks",
1230
+ ...options,
1231
+ headers: {
1232
+ "Content-Type": "application/json",
1233
+ ...options.headers
1234
+ }
1235
+ });
1236
+ var bulkUpdateTasks = (options) => (options.client ?? client).patch({
1237
+ security: [{ scheme: "bearer", type: "http" }],
1238
+ url: "/ocxp/workflow/{workflow_id}/tasks/bulk",
1239
+ ...options,
1240
+ headers: {
1241
+ "Content-Type": "application/json",
1242
+ ...options.headers
1243
+ }
1244
+ });
1245
+ var deleteTask = (options) => (options.client ?? client).delete({
1246
+ security: [{ scheme: "bearer", type: "http" }],
1247
+ url: "/ocxp/workflow/{workflow_id}/tasks/{task_id}",
1248
+ ...options
1249
+ });
1250
+ var getTask = (options) => (options.client ?? client).get({
1251
+ security: [{ scheme: "bearer", type: "http" }],
1252
+ url: "/ocxp/workflow/{workflow_id}/tasks/{task_id}",
1253
+ ...options
1254
+ });
1255
+ var updateTask = (options) => (options.client ?? client).patch({
1256
+ security: [{ scheme: "bearer", type: "http" }],
1257
+ url: "/ocxp/workflow/{workflow_id}/tasks/{task_id}",
1258
+ ...options,
1259
+ headers: {
1260
+ "Content-Type": "application/json",
1261
+ ...options.headers
1262
+ }
1263
+ });
1164
1264
  var downloadRepository = (options) => (options.client ?? client).post({
1165
1265
  security: [{ scheme: "bearer", type: "http" }],
1166
1266
  url: "/ocxp/repo/download",
@@ -1725,17 +1825,25 @@ var OCXPClient = class {
1725
1825
  }
1726
1826
  // ============== Mission Operations ==============
1727
1827
  /**
1728
- * List all missions in workspace
1828
+ * List all missions in workspace with pagination support
1829
+ * @param options - Filtering, pagination, and sorting options
1830
+ * @returns Paginated mission list with total count
1729
1831
  */
1730
1832
  async listMissions(options) {
1731
1833
  const headers = await this.getHeaders();
1834
+ const query = {
1835
+ project_id: options?.projectId,
1836
+ status: options?.status,
1837
+ limit: options?.limit,
1838
+ offset: options?.offset,
1839
+ order_by: options?.orderBy,
1840
+ order_dir: options?.orderDir,
1841
+ mission_ids: options?.missionIds,
1842
+ include_metadata: options?.includeMetadata
1843
+ };
1732
1844
  const response = await listMissions({
1733
1845
  client: this.client,
1734
- query: {
1735
- project_id: options?.projectId,
1736
- status: options?.status,
1737
- limit: options?.limit
1738
- },
1846
+ query,
1739
1847
  headers
1740
1848
  });
1741
1849
  return extractData(response);
@@ -2627,29 +2735,66 @@ var OCXPClient = class {
2627
2735
  */
2628
2736
  async getProjectCredentials(projectId) {
2629
2737
  const headers = await this.getHeaders();
2630
- const response = await this.client.request({
2631
- method: "GET",
2632
- url: `/ocxp/project/${projectId}/credentials`,
2738
+ const response = await getCredentials({
2739
+ client: this.client,
2740
+ path: { project_id: projectId },
2633
2741
  headers
2634
2742
  });
2635
2743
  if (response.error) {
2636
2744
  throw new Error(`Failed to get credentials: ${JSON.stringify(response.error)}`);
2637
2745
  }
2746
+ const data = response.data;
2747
+ if (!data.data) {
2748
+ throw new Error("No credentials found");
2749
+ }
2750
+ return data.data;
2751
+ }
2752
+ /**
2753
+ * Save project credentials for frontend authentication
2754
+ * @param projectId - Project ID
2755
+ * @param credentials - Credentials to save (url, username, password)
2756
+ * @returns Success response
2757
+ */
2758
+ async saveProjectCredentials(projectId, credentials) {
2759
+ const headers = await this.getHeaders();
2760
+ const body = {
2761
+ url: credentials.url,
2762
+ username: credentials.username,
2763
+ password: credentials.password,
2764
+ login_instructions: credentials.login_instructions || "",
2765
+ workspace: this.workspace
2766
+ };
2767
+ const response = await saveCredentials({
2768
+ client: this.client,
2769
+ path: { project_id: projectId },
2770
+ headers,
2771
+ body
2772
+ });
2773
+ if (response.error) {
2774
+ throw new Error(`Failed to save credentials: ${JSON.stringify(response.error)}`);
2775
+ }
2638
2776
  return response.data;
2639
2777
  }
2640
2778
  /**
2641
2779
  * Update project credentials for frontend authentication
2642
2780
  * @param projectId - Project ID
2643
2781
  * @param updates - Partial credential updates
2644
- * @returns Updated project credentials
2782
+ * @returns Success response
2645
2783
  */
2646
2784
  async updateProjectCredentials(projectId, updates) {
2647
2785
  const headers = await this.getHeaders();
2648
- const response = await this.client.request({
2649
- method: "PATCH",
2650
- url: `/ocxp/project/${projectId}/credentials`,
2786
+ const body = {
2787
+ url: updates.url ?? void 0,
2788
+ username: updates.username ?? void 0,
2789
+ password: updates.password ?? void 0,
2790
+ login_instructions: updates.login_instructions ?? void 0,
2791
+ workspace: updates.workspace ?? void 0
2792
+ };
2793
+ const response = await updateCredentials({
2794
+ client: this.client,
2795
+ path: { project_id: projectId },
2651
2796
  headers,
2652
- body: updates
2797
+ body
2653
2798
  });
2654
2799
  if (response.error) {
2655
2800
  throw new Error(`Failed to update credentials: ${JSON.stringify(response.error)}`);
@@ -2663,19 +2808,15 @@ var OCXPClient = class {
2663
2808
  */
2664
2809
  async testProjectCredentials(projectId) {
2665
2810
  const headers = await this.getHeaders();
2666
- const response = await this.client.request({
2667
- method: "POST",
2668
- url: `/ocxp/project/${projectId}/credentials/test`,
2811
+ const response = await testCredentials({
2812
+ client: this.client,
2813
+ path: { project_id: projectId },
2669
2814
  headers
2670
2815
  });
2671
2816
  if (response.error) {
2672
2817
  throw new Error(`Failed to test credentials: ${JSON.stringify(response.error)}`);
2673
2818
  }
2674
- const data = response.data;
2675
- if (data && typeof data === "object" && "success" in data) {
2676
- return data;
2677
- }
2678
- return { success: false };
2819
+ return response.data;
2679
2820
  }
2680
2821
  /**
2681
2822
  * Delete project credentials
@@ -2684,15 +2825,58 @@ var OCXPClient = class {
2684
2825
  */
2685
2826
  async deleteProjectCredentials(projectId) {
2686
2827
  const headers = await this.getHeaders();
2687
- const response = await this.client.request({
2688
- method: "DELETE",
2689
- url: `/ocxp/project/${projectId}/credentials`,
2828
+ const response = await deleteCredentials({
2829
+ client: this.client,
2830
+ path: { project_id: projectId },
2690
2831
  headers
2691
2832
  });
2692
2833
  if (response.error) {
2693
2834
  throw new Error(`Failed to delete credentials: ${JSON.stringify(response.error)}`);
2694
2835
  }
2695
2836
  }
2837
+ // ============== Document Generation ==============
2838
+ /**
2839
+ * Generate mission output (documents, reports, etc.)
2840
+ * @param missionId - Mission UUID
2841
+ * @param outputType - Type of output: 'documents', 'report', 'summary', etc.
2842
+ * @param options - Output options (doc_types, strategy, etc.)
2843
+ */
2844
+ async generateMissionOutput(missionId, outputType, options) {
2845
+ const headers = await this.getHeaders();
2846
+ const response = await this.client.request({
2847
+ method: "POST",
2848
+ url: `/ocxp/mission/${missionId}/output`,
2849
+ headers,
2850
+ body: {
2851
+ output_type: outputType,
2852
+ doc_types: options?.doc_types,
2853
+ strategy: options?.strategy || "generate_all",
2854
+ session_id: options?.session_id,
2855
+ options: options?.options
2856
+ }
2857
+ });
2858
+ if (response.error) {
2859
+ throw new Error(`Failed to generate output: ${JSON.stringify(response.error)}`);
2860
+ }
2861
+ return response.data;
2862
+ }
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
+ }
2696
2880
  // ============== Namespaced Accessors ==============
2697
2881
  _mission;
2698
2882
  _project;
@@ -2750,13 +2934,61 @@ var OCXPClient = class {
2750
2934
  return this._prototype;
2751
2935
  }
2752
2936
  };
2937
+ var DocumentType = /* @__PURE__ */ ((DocumentType2) => {
2938
+ DocumentType2["IMPLEMENTATION_GUIDE"] = "implementation_guide";
2939
+ DocumentType2["PRD"] = "prd";
2940
+ DocumentType2["ARCHITECTURE_DECISIONS"] = "architecture_decisions";
2941
+ DocumentType2["DATABASE_SCHEMA"] = "database_schema";
2942
+ DocumentType2["DEPLOYMENT_GUIDE"] = "deployment_guide";
2943
+ DocumentType2["TESTING_STRATEGY"] = "testing_strategy";
2944
+ DocumentType2["API_REFERENCE"] = "api_reference";
2945
+ return DocumentType2;
2946
+ })(DocumentType || {});
2947
+ var DOCUMENT_TYPE_INFO = {
2948
+ ["implementation_guide" /* IMPLEMENTATION_GUIDE */]: {
2949
+ name: "Implementation Guide",
2950
+ description: "Step-by-step development guide",
2951
+ icon: "book"
2952
+ },
2953
+ ["prd" /* PRD */]: {
2954
+ name: "PRD",
2955
+ description: "Product requirements document",
2956
+ icon: "file-text"
2957
+ },
2958
+ ["architecture_decisions" /* ARCHITECTURE_DECISIONS */]: {
2959
+ name: "Architecture Decisions",
2960
+ description: "ADRs and design rationale",
2961
+ icon: "layers"
2962
+ },
2963
+ ["database_schema" /* DATABASE_SCHEMA */]: {
2964
+ name: "Database Schema",
2965
+ description: "Data model and schema design",
2966
+ icon: "database"
2967
+ },
2968
+ ["deployment_guide" /* DEPLOYMENT_GUIDE */]: {
2969
+ name: "Deployment Guide",
2970
+ description: "Deployment and infrastructure setup",
2971
+ icon: "cloud"
2972
+ },
2973
+ ["testing_strategy" /* TESTING_STRATEGY */]: {
2974
+ name: "Testing Strategy",
2975
+ description: "Test plan and coverage strategy",
2976
+ icon: "check-square"
2977
+ },
2978
+ ["api_reference" /* API_REFERENCE */]: {
2979
+ name: "API Reference",
2980
+ description: "API endpoints and contracts",
2981
+ icon: "code"
2982
+ }
2983
+ };
2753
2984
  var MissionNamespace = class {
2754
2985
  constructor(client2) {
2755
2986
  this.client = client2;
2756
2987
  }
2757
2988
  /**
2758
- * List missions with optional filtering
2989
+ * List missions with optional filtering and pagination
2759
2990
  * @example ocxp.mission.list({ status: 'active', limit: 10 })
2991
+ * @example ocxp.mission.list({ limit: 20, offset: 40, orderBy: 'created_at', orderDir: 'desc' })
2760
2992
  */
2761
2993
  async list(options) {
2762
2994
  return this.client.listMissions(options);
@@ -2828,6 +3060,38 @@ var MissionNamespace = class {
2828
3060
  async tree(path, depth, includeVersions) {
2829
3061
  return this.client.tree("mission", path, depth, includeVersions);
2830
3062
  }
3063
+ /**
3064
+ * Generate mission output (documents, reports, etc.)
3065
+ * General endpoint for all output types using existing research.
3066
+ *
3067
+ * @param missionId - Mission UUID
3068
+ * @param outputType - Type of output: 'documents', 'report', 'summary', etc.
3069
+ * @param options - Output options (doc_types, strategy, etc.)
3070
+ * @returns Output response with session_id for tracking
3071
+ *
3072
+ * @example
3073
+ * await ocxp.mission.generateOutput('mission-id', 'documents', {
3074
+ * doc_types: ['implementation-guide', 'prd'],
3075
+ * strategy: 'generate_all'
3076
+ * })
3077
+ */
3078
+ async generateOutput(missionId, outputType, options) {
3079
+ return this.client.generateMissionOutput(missionId, outputType, options);
3080
+ }
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
+ }
2831
3095
  };
2832
3096
  var ProjectNamespace = class {
2833
3097
  constructor(client2) {
@@ -3735,6 +3999,28 @@ var PaginationSchema = z.object({
3735
3999
  hasMore: z.boolean(),
3736
4000
  total: z.number()
3737
4001
  });
4002
+ var PaginationParamsSchema = z.object({
4003
+ /** Items per page (default: 50, max: 100) */
4004
+ limit: z.number().min(1).max(100).default(50),
4005
+ /** Skip first N items (for offset pagination) */
4006
+ offset: z.number().min(0).default(0),
4007
+ /** Cursor token (for cursor pagination, alternative to offset) */
4008
+ cursor: z.string().nullable().optional(),
4009
+ /** Sort field */
4010
+ orderBy: z.string().optional(),
4011
+ /** Sort direction: asc | desc */
4012
+ orderDir: z.enum(["asc", "desc"]).default("desc")
4013
+ });
4014
+ function createPaginatedResponseSchema(itemSchema) {
4015
+ return z.object({
4016
+ items: z.array(itemSchema),
4017
+ total: z.number(),
4018
+ limit: z.number(),
4019
+ offset: z.number(),
4020
+ cursor: z.string().nullable().optional(),
4021
+ hasMore: z.boolean()
4022
+ });
4023
+ }
3738
4024
  var ContentTypeSchema = z.enum([
3739
4025
  "mission",
3740
4026
  "project",
@@ -4317,6 +4603,6 @@ var GithubCommitsDataSchema = z.object({
4317
4603
  });
4318
4604
  var GithubCommitsResponseSchema = createResponseSchema(GithubCommitsDataSchema);
4319
4605
 
4320
- 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 };
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 };
4321
4607
  //# sourceMappingURL=index.js.map
4322
4608
  //# sourceMappingURL=index.js.map