@ocxp/client 0.2.5 → 0.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +152 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +588 -212
- package/dist/index.d.ts +588 -212
- package/dist/index.js +150 -9
- package/dist/index.js.map +1 -1
- package/package.json +1 -7
package/dist/index.d.ts
CHANGED
|
@@ -2784,6 +2784,110 @@ type RegenerateMissionResponse = {
|
|
|
2784
2784
|
*/
|
|
2785
2785
|
error?: string | null;
|
|
2786
2786
|
};
|
|
2787
|
+
/**
|
|
2788
|
+
* RepoCommitInfo
|
|
2789
|
+
*
|
|
2790
|
+
* Commit information from GitHub.
|
|
2791
|
+
*/
|
|
2792
|
+
type RepoCommitInfo = {
|
|
2793
|
+
/**
|
|
2794
|
+
* Sha
|
|
2795
|
+
*
|
|
2796
|
+
* Short commit SHA (7 chars)
|
|
2797
|
+
*/
|
|
2798
|
+
sha: string;
|
|
2799
|
+
/**
|
|
2800
|
+
* Full Sha
|
|
2801
|
+
*
|
|
2802
|
+
* Full commit SHA
|
|
2803
|
+
*/
|
|
2804
|
+
full_sha: string;
|
|
2805
|
+
/**
|
|
2806
|
+
* Message
|
|
2807
|
+
*
|
|
2808
|
+
* Commit message (first line)
|
|
2809
|
+
*/
|
|
2810
|
+
message: string;
|
|
2811
|
+
/**
|
|
2812
|
+
* Date
|
|
2813
|
+
*
|
|
2814
|
+
* Commit date ISO timestamp
|
|
2815
|
+
*/
|
|
2816
|
+
date?: string | null;
|
|
2817
|
+
/**
|
|
2818
|
+
* Author
|
|
2819
|
+
*
|
|
2820
|
+
* Commit author name
|
|
2821
|
+
*/
|
|
2822
|
+
author?: string;
|
|
2823
|
+
};
|
|
2824
|
+
/**
|
|
2825
|
+
* RepoCommitStatusResponse
|
|
2826
|
+
*
|
|
2827
|
+
* Response for GET /ocxp/repo/{id}/commits.
|
|
2828
|
+
*/
|
|
2829
|
+
type RepoCommitStatusResponse = {
|
|
2830
|
+
/**
|
|
2831
|
+
* Repo Id
|
|
2832
|
+
*
|
|
2833
|
+
* Repository identifier
|
|
2834
|
+
*/
|
|
2835
|
+
repo_id: string;
|
|
2836
|
+
/**
|
|
2837
|
+
* Branch
|
|
2838
|
+
*
|
|
2839
|
+
* Branch name
|
|
2840
|
+
*/
|
|
2841
|
+
branch: string;
|
|
2842
|
+
/**
|
|
2843
|
+
* Indexed Commit
|
|
2844
|
+
*
|
|
2845
|
+
* Currently indexed commit SHA
|
|
2846
|
+
*/
|
|
2847
|
+
indexed_commit?: string | null;
|
|
2848
|
+
/**
|
|
2849
|
+
* Latest Commit
|
|
2850
|
+
*
|
|
2851
|
+
* Latest commit SHA on GitHub
|
|
2852
|
+
*/
|
|
2853
|
+
latest_commit?: string | null;
|
|
2854
|
+
/**
|
|
2855
|
+
* Latest Commit Date
|
|
2856
|
+
*
|
|
2857
|
+
* Latest commit date
|
|
2858
|
+
*/
|
|
2859
|
+
latest_commit_date?: string | null;
|
|
2860
|
+
/**
|
|
2861
|
+
* Latest Commit Message
|
|
2862
|
+
*
|
|
2863
|
+
* Latest commit message
|
|
2864
|
+
*/
|
|
2865
|
+
latest_commit_message?: string | null;
|
|
2866
|
+
/**
|
|
2867
|
+
* Commits Behind
|
|
2868
|
+
*
|
|
2869
|
+
* Number of commits behind (-1 = many)
|
|
2870
|
+
*/
|
|
2871
|
+
commits_behind?: number;
|
|
2872
|
+
/**
|
|
2873
|
+
* Is Up To Date
|
|
2874
|
+
*
|
|
2875
|
+
* Whether repo is up to date
|
|
2876
|
+
*/
|
|
2877
|
+
is_up_to_date?: boolean;
|
|
2878
|
+
/**
|
|
2879
|
+
* Missing Commits
|
|
2880
|
+
*
|
|
2881
|
+
* List of missing commits
|
|
2882
|
+
*/
|
|
2883
|
+
missing_commits?: Array<RepoCommitInfo>;
|
|
2884
|
+
/**
|
|
2885
|
+
* Error
|
|
2886
|
+
*
|
|
2887
|
+
* Error message if lookup failed
|
|
2888
|
+
*/
|
|
2889
|
+
error?: string | null;
|
|
2890
|
+
};
|
|
2787
2891
|
/**
|
|
2788
2892
|
* RepoDeleteResponse
|
|
2789
2893
|
*
|
|
@@ -2795,7 +2899,7 @@ type RepoDeleteResponse = {
|
|
|
2795
2899
|
*
|
|
2796
2900
|
* Deleted repository UUID
|
|
2797
2901
|
*/
|
|
2798
|
-
id
|
|
2902
|
+
id?: string | null;
|
|
2799
2903
|
/**
|
|
2800
2904
|
* Repo Id
|
|
2801
2905
|
*
|
|
@@ -2987,6 +3091,86 @@ type RepoStatusResponse = {
|
|
|
2987
3091
|
*/
|
|
2988
3092
|
total_files?: number | null;
|
|
2989
3093
|
};
|
|
3094
|
+
/**
|
|
3095
|
+
* RepoSyncAllResponse
|
|
3096
|
+
*
|
|
3097
|
+
* Response for POST /ocxp/repo/sync-all.
|
|
3098
|
+
*/
|
|
3099
|
+
type RepoSyncAllResponse = {
|
|
3100
|
+
/**
|
|
3101
|
+
* Total Repos
|
|
3102
|
+
*
|
|
3103
|
+
* Total repositories checked
|
|
3104
|
+
*/
|
|
3105
|
+
total_repos: number;
|
|
3106
|
+
/**
|
|
3107
|
+
* Synced
|
|
3108
|
+
*
|
|
3109
|
+
* Repositories that were synced
|
|
3110
|
+
*/
|
|
3111
|
+
synced?: number;
|
|
3112
|
+
/**
|
|
3113
|
+
* Up To Date
|
|
3114
|
+
*
|
|
3115
|
+
* Repositories already up to date
|
|
3116
|
+
*/
|
|
3117
|
+
up_to_date?: number;
|
|
3118
|
+
/**
|
|
3119
|
+
* Failed
|
|
3120
|
+
*
|
|
3121
|
+
* Repositories that failed to sync
|
|
3122
|
+
*/
|
|
3123
|
+
failed?: number;
|
|
3124
|
+
/**
|
|
3125
|
+
* Jobs
|
|
3126
|
+
*
|
|
3127
|
+
* Job IDs for synced repos
|
|
3128
|
+
*/
|
|
3129
|
+
jobs?: Array<string>;
|
|
3130
|
+
};
|
|
3131
|
+
/**
|
|
3132
|
+
* RepoSyncResponse
|
|
3133
|
+
*
|
|
3134
|
+
* Response for POST /ocxp/repo/{id}/sync.
|
|
3135
|
+
*/
|
|
3136
|
+
type RepoSyncResponse = {
|
|
3137
|
+
/**
|
|
3138
|
+
* Job Id
|
|
3139
|
+
*
|
|
3140
|
+
* Job ID for status tracking (empty if up_to_date)
|
|
3141
|
+
*/
|
|
3142
|
+
job_id?: string;
|
|
3143
|
+
/**
|
|
3144
|
+
* Status
|
|
3145
|
+
*
|
|
3146
|
+
* Sync status
|
|
3147
|
+
*/
|
|
3148
|
+
status: string;
|
|
3149
|
+
/**
|
|
3150
|
+
* Message
|
|
3151
|
+
*
|
|
3152
|
+
* Human-readable status message
|
|
3153
|
+
*/
|
|
3154
|
+
message: string;
|
|
3155
|
+
/**
|
|
3156
|
+
* Previous Commit
|
|
3157
|
+
*
|
|
3158
|
+
* Previous commit SHA (7 chars)
|
|
3159
|
+
*/
|
|
3160
|
+
previous_commit?: string | null;
|
|
3161
|
+
/**
|
|
3162
|
+
* Current Commit
|
|
3163
|
+
*
|
|
3164
|
+
* Current/latest commit SHA (7 chars)
|
|
3165
|
+
*/
|
|
3166
|
+
current_commit?: string | null;
|
|
3167
|
+
/**
|
|
3168
|
+
* Changes Detected
|
|
3169
|
+
*
|
|
3170
|
+
* Whether changes were detected
|
|
3171
|
+
*/
|
|
3172
|
+
changes_detected?: boolean;
|
|
3173
|
+
};
|
|
2990
3174
|
/**
|
|
2991
3175
|
* SecurityFinding
|
|
2992
3176
|
*
|
|
@@ -3171,6 +3355,17 @@ type SetDefaultRepoRequest = {
|
|
|
3171
3355
|
* Type of entity the memo is associated with.
|
|
3172
3356
|
*/
|
|
3173
3357
|
type SourceType = 'repo' | 'project' | 'mission' | 'doc';
|
|
3358
|
+
/**
|
|
3359
|
+
* SyncRequest
|
|
3360
|
+
*
|
|
3361
|
+
* Request body for sync operations.
|
|
3362
|
+
*/
|
|
3363
|
+
type SyncRequest = {
|
|
3364
|
+
/**
|
|
3365
|
+
* Force
|
|
3366
|
+
*/
|
|
3367
|
+
force?: boolean;
|
|
3368
|
+
};
|
|
3174
3369
|
/**
|
|
3175
3370
|
* TokenResponse
|
|
3176
3371
|
*
|
|
@@ -5043,6 +5238,108 @@ type DeleteRepoResponses = {
|
|
|
5043
5238
|
*/
|
|
5044
5239
|
200: RepoDeleteResponse;
|
|
5045
5240
|
};
|
|
5241
|
+
type SyncAllReposData = {
|
|
5242
|
+
body?: SyncRequest;
|
|
5243
|
+
headers?: {
|
|
5244
|
+
/**
|
|
5245
|
+
* X-Workspace
|
|
5246
|
+
*/
|
|
5247
|
+
'X-Workspace'?: string;
|
|
5248
|
+
};
|
|
5249
|
+
path?: never;
|
|
5250
|
+
query?: never;
|
|
5251
|
+
url: '/ocxp/repo/sync-all';
|
|
5252
|
+
};
|
|
5253
|
+
type SyncAllReposErrors = {
|
|
5254
|
+
/**
|
|
5255
|
+
* Validation Error
|
|
5256
|
+
*/
|
|
5257
|
+
422: HttpValidationError;
|
|
5258
|
+
/**
|
|
5259
|
+
* Rate limit exceeded
|
|
5260
|
+
*/
|
|
5261
|
+
429: unknown;
|
|
5262
|
+
};
|
|
5263
|
+
type SyncAllReposResponses = {
|
|
5264
|
+
/**
|
|
5265
|
+
* Sync jobs started
|
|
5266
|
+
*/
|
|
5267
|
+
202: RepoSyncAllResponse;
|
|
5268
|
+
};
|
|
5269
|
+
type GetRepoCommitsData = {
|
|
5270
|
+
body?: never;
|
|
5271
|
+
headers?: {
|
|
5272
|
+
/**
|
|
5273
|
+
* X-Workspace
|
|
5274
|
+
*/
|
|
5275
|
+
'X-Workspace'?: string;
|
|
5276
|
+
};
|
|
5277
|
+
path: {
|
|
5278
|
+
/**
|
|
5279
|
+
* Repo Id
|
|
5280
|
+
*/
|
|
5281
|
+
repo_id: string;
|
|
5282
|
+
};
|
|
5283
|
+
query?: never;
|
|
5284
|
+
url: '/ocxp/repo/{repo_id}/commits';
|
|
5285
|
+
};
|
|
5286
|
+
type GetRepoCommitsErrors = {
|
|
5287
|
+
/**
|
|
5288
|
+
* Repository not found
|
|
5289
|
+
*/
|
|
5290
|
+
404: unknown;
|
|
5291
|
+
/**
|
|
5292
|
+
* Validation Error
|
|
5293
|
+
*/
|
|
5294
|
+
422: HttpValidationError;
|
|
5295
|
+
/**
|
|
5296
|
+
* Rate limit exceeded
|
|
5297
|
+
*/
|
|
5298
|
+
429: unknown;
|
|
5299
|
+
};
|
|
5300
|
+
type GetRepoCommitsResponses = {
|
|
5301
|
+
/**
|
|
5302
|
+
* Commit status returned
|
|
5303
|
+
*/
|
|
5304
|
+
200: RepoCommitStatusResponse;
|
|
5305
|
+
};
|
|
5306
|
+
type SyncRepoData = {
|
|
5307
|
+
body?: SyncRequest;
|
|
5308
|
+
headers?: {
|
|
5309
|
+
/**
|
|
5310
|
+
* X-Workspace
|
|
5311
|
+
*/
|
|
5312
|
+
'X-Workspace'?: string;
|
|
5313
|
+
};
|
|
5314
|
+
path: {
|
|
5315
|
+
/**
|
|
5316
|
+
* Repo Id
|
|
5317
|
+
*/
|
|
5318
|
+
repo_id: string;
|
|
5319
|
+
};
|
|
5320
|
+
query?: never;
|
|
5321
|
+
url: '/ocxp/repo/{repo_id}/sync';
|
|
5322
|
+
};
|
|
5323
|
+
type SyncRepoErrors = {
|
|
5324
|
+
/**
|
|
5325
|
+
* Repository not found
|
|
5326
|
+
*/
|
|
5327
|
+
404: unknown;
|
|
5328
|
+
/**
|
|
5329
|
+
* Validation Error
|
|
5330
|
+
*/
|
|
5331
|
+
422: HttpValidationError;
|
|
5332
|
+
/**
|
|
5333
|
+
* Rate limit exceeded
|
|
5334
|
+
*/
|
|
5335
|
+
429: unknown;
|
|
5336
|
+
};
|
|
5337
|
+
type SyncRepoResponses = {
|
|
5338
|
+
/**
|
|
5339
|
+
* Sync job started or already up to date
|
|
5340
|
+
*/
|
|
5341
|
+
202: RepoSyncResponse;
|
|
5342
|
+
};
|
|
5046
5343
|
type GithubCheckAccessData = {
|
|
5047
5344
|
body: CheckAccessRequest;
|
|
5048
5345
|
headers?: {
|
|
@@ -6888,9 +7185,27 @@ declare const listDownloadedRepos: <ThrowOnError extends boolean = false>(option
|
|
|
6888
7185
|
/**
|
|
6889
7186
|
* Delete repository
|
|
6890
7187
|
*
|
|
6891
|
-
* Permanently deletes a downloaded repository.
|
|
7188
|
+
* Permanently deletes a downloaded repository. Accepts UUID or owner/repo format.
|
|
6892
7189
|
*/
|
|
6893
7190
|
declare const deleteRepo: <ThrowOnError extends boolean = false>(options: Options<DeleteRepoData, ThrowOnError>) => RequestResult<DeleteRepoResponses, DeleteRepoErrors, ThrowOnError, "fields">;
|
|
7191
|
+
/**
|
|
7192
|
+
* Sync all repositories
|
|
7193
|
+
*
|
|
7194
|
+
* Checks all repositories for changes and triggers re-download for those with new commits. Use force=true to re-sync all regardless of changes.
|
|
7195
|
+
*/
|
|
7196
|
+
declare const syncAllRepos: <ThrowOnError extends boolean = false>(options?: Options<SyncAllReposData, ThrowOnError>) => RequestResult<SyncAllReposResponses, SyncAllReposErrors, ThrowOnError, "fields">;
|
|
7197
|
+
/**
|
|
7198
|
+
* Get repository commit status
|
|
7199
|
+
*
|
|
7200
|
+
* Returns commit information comparing indexed version with latest GitHub commits. Shows how many commits behind and lists missing commits.
|
|
7201
|
+
*/
|
|
7202
|
+
declare const getRepoCommits: <ThrowOnError extends boolean = false>(options: Options<GetRepoCommitsData, ThrowOnError>) => RequestResult<GetRepoCommitsResponses, GetRepoCommitsErrors, ThrowOnError, "fields">;
|
|
7203
|
+
/**
|
|
7204
|
+
* Sync repository
|
|
7205
|
+
*
|
|
7206
|
+
* Checks repository for changes and triggers re-download if new commits are found. Use force=true to re-sync regardless of changes.
|
|
7207
|
+
*/
|
|
7208
|
+
declare const syncRepo: <ThrowOnError extends boolean = false>(options: Options<SyncRepoData, ThrowOnError>) => RequestResult<SyncRepoResponses, SyncRepoErrors, ThrowOnError, "fields">;
|
|
6894
7209
|
/**
|
|
6895
7210
|
* Github Check Access
|
|
6896
7211
|
*
|
|
@@ -7116,55 +7431,232 @@ declare const getCurrentUser: <ThrowOnError extends boolean = false>(options?: O
|
|
|
7116
7431
|
*/
|
|
7117
7432
|
declare const listWorkspaces: <ThrowOnError extends boolean = false>(options?: Options<ListWorkspacesData, ThrowOnError>) => RequestResult<ListWorkspacesResponses, ListWorkspacesErrors, ThrowOnError, "fields">;
|
|
7118
7433
|
|
|
7119
|
-
interface ListEntry$1 {
|
|
7120
|
-
name: string;
|
|
7121
|
-
type: string;
|
|
7122
|
-
path: string;
|
|
7123
|
-
size?: number;
|
|
7124
|
-
mtime?: string;
|
|
7125
|
-
}
|
|
7126
|
-
interface ListResult {
|
|
7127
|
-
entries: ListEntry$1[];
|
|
7128
|
-
cursor?: string | null;
|
|
7129
|
-
hasMore: boolean;
|
|
7130
|
-
total: number;
|
|
7131
|
-
}
|
|
7132
|
-
interface ReadResult {
|
|
7133
|
-
content: string;
|
|
7134
|
-
size?: number;
|
|
7135
|
-
mtime?: string;
|
|
7136
|
-
encoding?: string;
|
|
7137
|
-
metadata?: Record<string, unknown>;
|
|
7138
|
-
}
|
|
7139
|
-
interface WriteResult {
|
|
7140
|
-
path: string;
|
|
7141
|
-
etag?: string;
|
|
7142
|
-
}
|
|
7143
|
-
interface DeleteResult {
|
|
7144
|
-
deleted: boolean;
|
|
7145
|
-
path: string;
|
|
7146
|
-
}
|
|
7147
|
-
interface ContentTypesResult {
|
|
7148
|
-
types: Array<{
|
|
7149
|
-
name: string;
|
|
7150
|
-
description: string;
|
|
7151
|
-
}>;
|
|
7152
|
-
total: number;
|
|
7153
|
-
}
|
|
7154
|
-
interface OCXPClientOptions {
|
|
7155
|
-
/** Base URL of the OCXP server */
|
|
7156
|
-
endpoint: string;
|
|
7157
|
-
/** Default workspace for all operations */
|
|
7158
|
-
workspace?: string;
|
|
7159
|
-
/** Static token or async function to get token */
|
|
7160
|
-
token?: string | (() => Promise<string>);
|
|
7161
|
-
}
|
|
7162
|
-
type ContentTypeValue = 'mission' | 'project' | 'context' | 'sop' | 'repo' | 'artifact' | 'kb' | 'docs';
|
|
7163
7434
|
/**
|
|
7164
|
-
*
|
|
7165
|
-
|
|
7166
|
-
|
|
7167
|
-
|
|
7435
|
+
* OCXP Error Types
|
|
7436
|
+
*
|
|
7437
|
+
* Typed error classes for the OCXP SDK providing structured error handling
|
|
7438
|
+
* with error codes, HTTP status codes, and detailed context.
|
|
7439
|
+
*/
|
|
7440
|
+
/**
|
|
7441
|
+
* Error codes for OCXP operations
|
|
7442
|
+
*/
|
|
7443
|
+
declare enum OCXPErrorCode {
|
|
7444
|
+
/** Network-level error (connection failed, timeout, etc.) */
|
|
7445
|
+
NETWORK_ERROR = "NETWORK_ERROR",
|
|
7446
|
+
/** Request or response validation failed */
|
|
7447
|
+
VALIDATION_ERROR = "VALIDATION_ERROR",
|
|
7448
|
+
/** Authentication or authorization failed */
|
|
7449
|
+
AUTH_ERROR = "AUTH_ERROR",
|
|
7450
|
+
/** Resource not found */
|
|
7451
|
+
NOT_FOUND = "NOT_FOUND",
|
|
7452
|
+
/** Rate limit exceeded */
|
|
7453
|
+
RATE_LIMITED = "RATE_LIMITED",
|
|
7454
|
+
/** Conflict (e.g., etag mismatch) */
|
|
7455
|
+
CONFLICT = "CONFLICT",
|
|
7456
|
+
/** Operation timed out */
|
|
7457
|
+
TIMEOUT = "TIMEOUT",
|
|
7458
|
+
/** Server-side error */
|
|
7459
|
+
SERVER_ERROR = "SERVER_ERROR",
|
|
7460
|
+
/** Unknown error */
|
|
7461
|
+
UNKNOWN = "UNKNOWN"
|
|
7462
|
+
}
|
|
7463
|
+
/**
|
|
7464
|
+
* Base error class for all OCXP errors
|
|
7465
|
+
*/
|
|
7466
|
+
declare class OCXPError extends Error {
|
|
7467
|
+
/** Error code for programmatic handling */
|
|
7468
|
+
readonly code: OCXPErrorCode;
|
|
7469
|
+
/** HTTP status code if applicable */
|
|
7470
|
+
readonly statusCode: number;
|
|
7471
|
+
/** Additional error details */
|
|
7472
|
+
readonly details?: Record<string, unknown>;
|
|
7473
|
+
/** Request ID for debugging */
|
|
7474
|
+
readonly requestId?: string;
|
|
7475
|
+
/** Original cause of the error */
|
|
7476
|
+
readonly cause?: Error;
|
|
7477
|
+
constructor(message: string, code?: OCXPErrorCode, statusCode?: number, options?: {
|
|
7478
|
+
details?: Record<string, unknown>;
|
|
7479
|
+
requestId?: string;
|
|
7480
|
+
cause?: Error;
|
|
7481
|
+
});
|
|
7482
|
+
/**
|
|
7483
|
+
* Convert error to JSON for logging/serialization
|
|
7484
|
+
*/
|
|
7485
|
+
toJSON(): Record<string, unknown>;
|
|
7486
|
+
}
|
|
7487
|
+
/**
|
|
7488
|
+
* Network-level error (connection failed, DNS resolution, etc.)
|
|
7489
|
+
*/
|
|
7490
|
+
declare class OCXPNetworkError extends OCXPError {
|
|
7491
|
+
constructor(message: string, options?: {
|
|
7492
|
+
details?: Record<string, unknown>;
|
|
7493
|
+
requestId?: string;
|
|
7494
|
+
cause?: Error;
|
|
7495
|
+
});
|
|
7496
|
+
}
|
|
7497
|
+
/**
|
|
7498
|
+
* Validation error (request or response validation failed)
|
|
7499
|
+
*/
|
|
7500
|
+
declare class OCXPValidationError extends OCXPError {
|
|
7501
|
+
/** Field-level validation errors */
|
|
7502
|
+
readonly validationErrors?: Record<string, string[]>;
|
|
7503
|
+
constructor(message: string, validationErrors?: Record<string, string[]>, options?: {
|
|
7504
|
+
details?: Record<string, unknown>;
|
|
7505
|
+
requestId?: string;
|
|
7506
|
+
cause?: Error;
|
|
7507
|
+
});
|
|
7508
|
+
}
|
|
7509
|
+
/**
|
|
7510
|
+
* Authentication or authorization error
|
|
7511
|
+
*/
|
|
7512
|
+
declare class OCXPAuthError extends OCXPError {
|
|
7513
|
+
constructor(message: string, options?: {
|
|
7514
|
+
details?: Record<string, unknown>;
|
|
7515
|
+
requestId?: string;
|
|
7516
|
+
cause?: Error;
|
|
7517
|
+
});
|
|
7518
|
+
}
|
|
7519
|
+
/**
|
|
7520
|
+
* Resource not found error
|
|
7521
|
+
*/
|
|
7522
|
+
declare class OCXPNotFoundError extends OCXPError {
|
|
7523
|
+
/** The resource path that was not found */
|
|
7524
|
+
readonly path?: string;
|
|
7525
|
+
constructor(message: string, path?: string, options?: {
|
|
7526
|
+
details?: Record<string, unknown>;
|
|
7527
|
+
requestId?: string;
|
|
7528
|
+
cause?: Error;
|
|
7529
|
+
});
|
|
7530
|
+
}
|
|
7531
|
+
/**
|
|
7532
|
+
* Rate limit exceeded error
|
|
7533
|
+
*/
|
|
7534
|
+
declare class OCXPRateLimitError extends OCXPError {
|
|
7535
|
+
/** Seconds until rate limit resets */
|
|
7536
|
+
readonly retryAfter?: number;
|
|
7537
|
+
constructor(message?: string, retryAfter?: number, options?: {
|
|
7538
|
+
details?: Record<string, unknown>;
|
|
7539
|
+
requestId?: string;
|
|
7540
|
+
cause?: Error;
|
|
7541
|
+
});
|
|
7542
|
+
}
|
|
7543
|
+
/**
|
|
7544
|
+
* Conflict error (e.g., etag mismatch, concurrent modification)
|
|
7545
|
+
*/
|
|
7546
|
+
declare class OCXPConflictError extends OCXPError {
|
|
7547
|
+
/** Expected etag value */
|
|
7548
|
+
readonly expectedEtag?: string;
|
|
7549
|
+
/** Actual etag value */
|
|
7550
|
+
readonly actualEtag?: string;
|
|
7551
|
+
constructor(message: string, options?: {
|
|
7552
|
+
expectedEtag?: string;
|
|
7553
|
+
actualEtag?: string;
|
|
7554
|
+
details?: Record<string, unknown>;
|
|
7555
|
+
requestId?: string;
|
|
7556
|
+
cause?: Error;
|
|
7557
|
+
});
|
|
7558
|
+
}
|
|
7559
|
+
/**
|
|
7560
|
+
* Operation timeout error
|
|
7561
|
+
*/
|
|
7562
|
+
declare class OCXPTimeoutError extends OCXPError {
|
|
7563
|
+
/** Timeout duration in milliseconds */
|
|
7564
|
+
readonly timeoutMs?: number;
|
|
7565
|
+
constructor(message?: string, timeoutMs?: number, options?: {
|
|
7566
|
+
details?: Record<string, unknown>;
|
|
7567
|
+
requestId?: string;
|
|
7568
|
+
cause?: Error;
|
|
7569
|
+
});
|
|
7570
|
+
}
|
|
7571
|
+
/**
|
|
7572
|
+
* Type guard to check if an error is an OCXPError
|
|
7573
|
+
*/
|
|
7574
|
+
declare function isOCXPError(error: unknown): error is OCXPError;
|
|
7575
|
+
/**
|
|
7576
|
+
* Type guard for specific error types
|
|
7577
|
+
*/
|
|
7578
|
+
declare function isOCXPNetworkError(error: unknown): error is OCXPNetworkError;
|
|
7579
|
+
declare function isOCXPValidationError(error: unknown): error is OCXPValidationError;
|
|
7580
|
+
declare function isOCXPAuthError(error: unknown): error is OCXPAuthError;
|
|
7581
|
+
declare function isOCXPNotFoundError(error: unknown): error is OCXPNotFoundError;
|
|
7582
|
+
declare function isOCXPRateLimitError(error: unknown): error is OCXPRateLimitError;
|
|
7583
|
+
declare function isOCXPConflictError(error: unknown): error is OCXPConflictError;
|
|
7584
|
+
declare function isOCXPTimeoutError(error: unknown): error is OCXPTimeoutError;
|
|
7585
|
+
/**
|
|
7586
|
+
* Map HTTP status code to appropriate OCXP error
|
|
7587
|
+
*/
|
|
7588
|
+
declare function mapHttpError(statusCode: number, message: string, options?: {
|
|
7589
|
+
details?: Record<string, unknown>;
|
|
7590
|
+
requestId?: string;
|
|
7591
|
+
path?: string;
|
|
7592
|
+
retryAfter?: number;
|
|
7593
|
+
}): OCXPError;
|
|
7594
|
+
|
|
7595
|
+
/**
|
|
7596
|
+
* OCXP Type Exports
|
|
7597
|
+
*/
|
|
7598
|
+
|
|
7599
|
+
/**
|
|
7600
|
+
* Project Credentials for frontend authentication
|
|
7601
|
+
*/
|
|
7602
|
+
interface ProjectCredentials {
|
|
7603
|
+
url?: string;
|
|
7604
|
+
username?: string;
|
|
7605
|
+
password?: string;
|
|
7606
|
+
createdAt?: string;
|
|
7607
|
+
updatedAt?: string;
|
|
7608
|
+
}
|
|
7609
|
+
|
|
7610
|
+
interface ListEntry$1 {
|
|
7611
|
+
name: string;
|
|
7612
|
+
type: string;
|
|
7613
|
+
path: string;
|
|
7614
|
+
size?: number;
|
|
7615
|
+
mtime?: string;
|
|
7616
|
+
}
|
|
7617
|
+
interface ListResult {
|
|
7618
|
+
entries: ListEntry$1[];
|
|
7619
|
+
cursor?: string | null;
|
|
7620
|
+
hasMore: boolean;
|
|
7621
|
+
total: number;
|
|
7622
|
+
}
|
|
7623
|
+
interface ReadResult {
|
|
7624
|
+
content: string;
|
|
7625
|
+
size?: number;
|
|
7626
|
+
mtime?: string;
|
|
7627
|
+
encoding?: string;
|
|
7628
|
+
metadata?: Record<string, unknown>;
|
|
7629
|
+
}
|
|
7630
|
+
interface WriteResult {
|
|
7631
|
+
path: string;
|
|
7632
|
+
etag?: string;
|
|
7633
|
+
}
|
|
7634
|
+
interface DeleteResult {
|
|
7635
|
+
deleted: boolean;
|
|
7636
|
+
path: string;
|
|
7637
|
+
}
|
|
7638
|
+
|
|
7639
|
+
interface ContentTypesResult {
|
|
7640
|
+
types: Array<{
|
|
7641
|
+
name: string;
|
|
7642
|
+
description: string;
|
|
7643
|
+
}>;
|
|
7644
|
+
total: number;
|
|
7645
|
+
}
|
|
7646
|
+
interface OCXPClientOptions {
|
|
7647
|
+
/** Base URL of the OCXP server */
|
|
7648
|
+
endpoint: string;
|
|
7649
|
+
/** Default workspace for all operations */
|
|
7650
|
+
workspace?: string;
|
|
7651
|
+
/** Static token or async function to get token */
|
|
7652
|
+
token?: string | (() => Promise<string>);
|
|
7653
|
+
}
|
|
7654
|
+
type ContentTypeValue = 'mission' | 'project' | 'context' | 'sop' | 'repo' | 'artifact' | 'kb' | 'docs';
|
|
7655
|
+
/**
|
|
7656
|
+
* OCXPClient provides a high-level interface to the OCXP API
|
|
7657
|
+
*/
|
|
7658
|
+
declare class OCXPClient {
|
|
7659
|
+
private client;
|
|
7168
7660
|
private workspace;
|
|
7169
7661
|
private tokenProvider?;
|
|
7170
7662
|
constructor(options: OCXPClientOptions);
|
|
@@ -7464,6 +7956,23 @@ declare class OCXPClient {
|
|
|
7464
7956
|
* Delete a downloaded repository by its UUID
|
|
7465
7957
|
*/
|
|
7466
7958
|
deleteRepo(repoId: string): Promise<RepoDeleteResponse>;
|
|
7959
|
+
/**
|
|
7960
|
+
* Sync a repository with its remote GitHub branch
|
|
7961
|
+
* @param repoId - Repository ID (owner/repo format)
|
|
7962
|
+
* @param force - Force sync even if no changes detected
|
|
7963
|
+
*/
|
|
7964
|
+
syncRepo(repoId: string, force?: boolean): Promise<RepoSyncResponse>;
|
|
7965
|
+
/**
|
|
7966
|
+
* Sync all repositories with their remote GitHub branches
|
|
7967
|
+
* @param force - Force sync all repos even if no changes
|
|
7968
|
+
*/
|
|
7969
|
+
syncAllRepos(force?: boolean): Promise<RepoSyncAllResponse>;
|
|
7970
|
+
/**
|
|
7971
|
+
* Get commit status for a repository
|
|
7972
|
+
* Shows how many commits behind and lists missing commits
|
|
7973
|
+
* @param repoId - Repository ID (owner/repo format)
|
|
7974
|
+
*/
|
|
7975
|
+
getRepoCommitStatus(repoId: string): Promise<RepoCommitStatusResponse>;
|
|
7467
7976
|
/**
|
|
7468
7977
|
* List all database configurations in workspace
|
|
7469
7978
|
*/
|
|
@@ -7676,6 +8185,34 @@ declare class OCXPClient {
|
|
|
7676
8185
|
deleteGitHubToken(): Promise<{
|
|
7677
8186
|
success: boolean;
|
|
7678
8187
|
}>;
|
|
8188
|
+
/**
|
|
8189
|
+
* Get project credentials for frontend authentication
|
|
8190
|
+
* @param projectId - Project ID
|
|
8191
|
+
* @returns Project credentials
|
|
8192
|
+
*/
|
|
8193
|
+
getProjectCredentials(projectId: string): Promise<ProjectCredentials>;
|
|
8194
|
+
/**
|
|
8195
|
+
* Update project credentials for frontend authentication
|
|
8196
|
+
* @param projectId - Project ID
|
|
8197
|
+
* @param updates - Partial credential updates
|
|
8198
|
+
* @returns Updated project credentials
|
|
8199
|
+
*/
|
|
8200
|
+
updateProjectCredentials(projectId: string, updates: Partial<ProjectCredentials>): Promise<ProjectCredentials>;
|
|
8201
|
+
/**
|
|
8202
|
+
* Test project credentials
|
|
8203
|
+
* @param projectId - Project ID
|
|
8204
|
+
* @returns Test result with success flag and optional message
|
|
8205
|
+
*/
|
|
8206
|
+
testProjectCredentials(projectId: string): Promise<{
|
|
8207
|
+
success: boolean;
|
|
8208
|
+
message?: string;
|
|
8209
|
+
}>;
|
|
8210
|
+
/**
|
|
8211
|
+
* Delete project credentials
|
|
8212
|
+
* @param projectId - Project ID
|
|
8213
|
+
* @returns void
|
|
8214
|
+
*/
|
|
8215
|
+
deleteProjectCredentials(projectId: string): Promise<void>;
|
|
7679
8216
|
private _mission?;
|
|
7680
8217
|
private _project?;
|
|
7681
8218
|
private _session?;
|
|
@@ -8477,167 +9014,6 @@ declare class WebSocketService {
|
|
|
8477
9014
|
*/
|
|
8478
9015
|
declare function createWebSocketService(options: WebSocketServiceOptions): WebSocketService;
|
|
8479
9016
|
|
|
8480
|
-
/**
|
|
8481
|
-
* OCXP Error Types
|
|
8482
|
-
*
|
|
8483
|
-
* Typed error classes for the OCXP SDK providing structured error handling
|
|
8484
|
-
* with error codes, HTTP status codes, and detailed context.
|
|
8485
|
-
*/
|
|
8486
|
-
/**
|
|
8487
|
-
* Error codes for OCXP operations
|
|
8488
|
-
*/
|
|
8489
|
-
declare enum OCXPErrorCode {
|
|
8490
|
-
/** Network-level error (connection failed, timeout, etc.) */
|
|
8491
|
-
NETWORK_ERROR = "NETWORK_ERROR",
|
|
8492
|
-
/** Request or response validation failed */
|
|
8493
|
-
VALIDATION_ERROR = "VALIDATION_ERROR",
|
|
8494
|
-
/** Authentication or authorization failed */
|
|
8495
|
-
AUTH_ERROR = "AUTH_ERROR",
|
|
8496
|
-
/** Resource not found */
|
|
8497
|
-
NOT_FOUND = "NOT_FOUND",
|
|
8498
|
-
/** Rate limit exceeded */
|
|
8499
|
-
RATE_LIMITED = "RATE_LIMITED",
|
|
8500
|
-
/** Conflict (e.g., etag mismatch) */
|
|
8501
|
-
CONFLICT = "CONFLICT",
|
|
8502
|
-
/** Operation timed out */
|
|
8503
|
-
TIMEOUT = "TIMEOUT",
|
|
8504
|
-
/** Server-side error */
|
|
8505
|
-
SERVER_ERROR = "SERVER_ERROR",
|
|
8506
|
-
/** Unknown error */
|
|
8507
|
-
UNKNOWN = "UNKNOWN"
|
|
8508
|
-
}
|
|
8509
|
-
/**
|
|
8510
|
-
* Base error class for all OCXP errors
|
|
8511
|
-
*/
|
|
8512
|
-
declare class OCXPError extends Error {
|
|
8513
|
-
/** Error code for programmatic handling */
|
|
8514
|
-
readonly code: OCXPErrorCode;
|
|
8515
|
-
/** HTTP status code if applicable */
|
|
8516
|
-
readonly statusCode: number;
|
|
8517
|
-
/** Additional error details */
|
|
8518
|
-
readonly details?: Record<string, unknown>;
|
|
8519
|
-
/** Request ID for debugging */
|
|
8520
|
-
readonly requestId?: string;
|
|
8521
|
-
/** Original cause of the error */
|
|
8522
|
-
readonly cause?: Error;
|
|
8523
|
-
constructor(message: string, code?: OCXPErrorCode, statusCode?: number, options?: {
|
|
8524
|
-
details?: Record<string, unknown>;
|
|
8525
|
-
requestId?: string;
|
|
8526
|
-
cause?: Error;
|
|
8527
|
-
});
|
|
8528
|
-
/**
|
|
8529
|
-
* Convert error to JSON for logging/serialization
|
|
8530
|
-
*/
|
|
8531
|
-
toJSON(): Record<string, unknown>;
|
|
8532
|
-
}
|
|
8533
|
-
/**
|
|
8534
|
-
* Network-level error (connection failed, DNS resolution, etc.)
|
|
8535
|
-
*/
|
|
8536
|
-
declare class OCXPNetworkError extends OCXPError {
|
|
8537
|
-
constructor(message: string, options?: {
|
|
8538
|
-
details?: Record<string, unknown>;
|
|
8539
|
-
requestId?: string;
|
|
8540
|
-
cause?: Error;
|
|
8541
|
-
});
|
|
8542
|
-
}
|
|
8543
|
-
/**
|
|
8544
|
-
* Validation error (request or response validation failed)
|
|
8545
|
-
*/
|
|
8546
|
-
declare class OCXPValidationError extends OCXPError {
|
|
8547
|
-
/** Field-level validation errors */
|
|
8548
|
-
readonly validationErrors?: Record<string, string[]>;
|
|
8549
|
-
constructor(message: string, validationErrors?: Record<string, string[]>, options?: {
|
|
8550
|
-
details?: Record<string, unknown>;
|
|
8551
|
-
requestId?: string;
|
|
8552
|
-
cause?: Error;
|
|
8553
|
-
});
|
|
8554
|
-
}
|
|
8555
|
-
/**
|
|
8556
|
-
* Authentication or authorization error
|
|
8557
|
-
*/
|
|
8558
|
-
declare class OCXPAuthError extends OCXPError {
|
|
8559
|
-
constructor(message: string, options?: {
|
|
8560
|
-
details?: Record<string, unknown>;
|
|
8561
|
-
requestId?: string;
|
|
8562
|
-
cause?: Error;
|
|
8563
|
-
});
|
|
8564
|
-
}
|
|
8565
|
-
/**
|
|
8566
|
-
* Resource not found error
|
|
8567
|
-
*/
|
|
8568
|
-
declare class OCXPNotFoundError extends OCXPError {
|
|
8569
|
-
/** The resource path that was not found */
|
|
8570
|
-
readonly path?: string;
|
|
8571
|
-
constructor(message: string, path?: string, options?: {
|
|
8572
|
-
details?: Record<string, unknown>;
|
|
8573
|
-
requestId?: string;
|
|
8574
|
-
cause?: Error;
|
|
8575
|
-
});
|
|
8576
|
-
}
|
|
8577
|
-
/**
|
|
8578
|
-
* Rate limit exceeded error
|
|
8579
|
-
*/
|
|
8580
|
-
declare class OCXPRateLimitError extends OCXPError {
|
|
8581
|
-
/** Seconds until rate limit resets */
|
|
8582
|
-
readonly retryAfter?: number;
|
|
8583
|
-
constructor(message?: string, retryAfter?: number, options?: {
|
|
8584
|
-
details?: Record<string, unknown>;
|
|
8585
|
-
requestId?: string;
|
|
8586
|
-
cause?: Error;
|
|
8587
|
-
});
|
|
8588
|
-
}
|
|
8589
|
-
/**
|
|
8590
|
-
* Conflict error (e.g., etag mismatch, concurrent modification)
|
|
8591
|
-
*/
|
|
8592
|
-
declare class OCXPConflictError extends OCXPError {
|
|
8593
|
-
/** Expected etag value */
|
|
8594
|
-
readonly expectedEtag?: string;
|
|
8595
|
-
/** Actual etag value */
|
|
8596
|
-
readonly actualEtag?: string;
|
|
8597
|
-
constructor(message: string, options?: {
|
|
8598
|
-
expectedEtag?: string;
|
|
8599
|
-
actualEtag?: string;
|
|
8600
|
-
details?: Record<string, unknown>;
|
|
8601
|
-
requestId?: string;
|
|
8602
|
-
cause?: Error;
|
|
8603
|
-
});
|
|
8604
|
-
}
|
|
8605
|
-
/**
|
|
8606
|
-
* Operation timeout error
|
|
8607
|
-
*/
|
|
8608
|
-
declare class OCXPTimeoutError extends OCXPError {
|
|
8609
|
-
/** Timeout duration in milliseconds */
|
|
8610
|
-
readonly timeoutMs?: number;
|
|
8611
|
-
constructor(message?: string, timeoutMs?: number, options?: {
|
|
8612
|
-
details?: Record<string, unknown>;
|
|
8613
|
-
requestId?: string;
|
|
8614
|
-
cause?: Error;
|
|
8615
|
-
});
|
|
8616
|
-
}
|
|
8617
|
-
/**
|
|
8618
|
-
* Type guard to check if an error is an OCXPError
|
|
8619
|
-
*/
|
|
8620
|
-
declare function isOCXPError(error: unknown): error is OCXPError;
|
|
8621
|
-
/**
|
|
8622
|
-
* Type guard for specific error types
|
|
8623
|
-
*/
|
|
8624
|
-
declare function isOCXPNetworkError(error: unknown): error is OCXPNetworkError;
|
|
8625
|
-
declare function isOCXPValidationError(error: unknown): error is OCXPValidationError;
|
|
8626
|
-
declare function isOCXPAuthError(error: unknown): error is OCXPAuthError;
|
|
8627
|
-
declare function isOCXPNotFoundError(error: unknown): error is OCXPNotFoundError;
|
|
8628
|
-
declare function isOCXPRateLimitError(error: unknown): error is OCXPRateLimitError;
|
|
8629
|
-
declare function isOCXPConflictError(error: unknown): error is OCXPConflictError;
|
|
8630
|
-
declare function isOCXPTimeoutError(error: unknown): error is OCXPTimeoutError;
|
|
8631
|
-
/**
|
|
8632
|
-
* Map HTTP status code to appropriate OCXP error
|
|
8633
|
-
*/
|
|
8634
|
-
declare function mapHttpError(statusCode: number, message: string, options?: {
|
|
8635
|
-
details?: Record<string, unknown>;
|
|
8636
|
-
requestId?: string;
|
|
8637
|
-
path?: string;
|
|
8638
|
-
retryAfter?: number;
|
|
8639
|
-
}): OCXPError;
|
|
8640
|
-
|
|
8641
9017
|
/**
|
|
8642
9018
|
* Common Zod Schemas for OCXP API
|
|
8643
9019
|
*
|
|
@@ -11200,4 +11576,4 @@ declare const GithubCommitsResponseSchema: z.ZodObject<{
|
|
|
11200
11576
|
}, z.core.$strip>;
|
|
11201
11577
|
type GithubCommitsResponse = z.infer<typeof GithubCommitsResponseSchema>;
|
|
11202
11578
|
|
|
11203
|
-
export { type AcknowledgeMemoData, type AcknowledgeMemoResponses, type AddDatabaseData, type AddDatabaseResponses, type AddLinkedRepoData, type AddLinkedRepoResponses, type AddMissionData, type AddMissionRequest, type AddMissionResponses, type AddProjectRepoData, AddProjectRepoDataSchema, type AddProjectRepoResponse, AddProjectRepoResponseSchema, type AddRepoRequest, type ArchiveSessionData, type ArchiveSessionResponses, type AuthConfig, type AuthTokenData, AuthTokenDataSchema, type AuthTokenResponse, AuthTokenResponseSchema, type AuthUserInfo, type AuthUserInfoResponse, AuthUserInfoResponseSchema, AuthUserInfoSchema, type AuthValidateData, AuthValidateDataSchema, type AuthValidateResponse, AuthValidateResponseSchema, type BulkDeleteContentData, type BulkDeleteContentResponses, type BulkDeleteRequest, type BulkReadContentData, type BulkReadContentResponses, type BulkReadRequest, type BulkWriteContentData, type BulkWriteContentResponses, type BulkWriteRequest, type CheckAccessRequest, type Client, type ClientOptions, type Config, type ConnectionState, type ContentType, type ContentTypeInfo, ContentTypeInfoSchema, ContentTypeSchema, type ContentTypeValue, type ContentTypesData, ContentTypesDataSchema, type ContentTypesResponse, ContentTypesResponseSchema, type ContentTypesResult, type ContextReposData, ContextReposDataSchema, type ContextReposResponse, ContextReposResponseSchema, type CreateDatabaseData, type CreateDatabaseResponses, type CreateMemoData, type CreateMemoRequest, type CreateMemoResponse, type CreateMemoResponses, type CreateProjectData, CreateProjectDataSchema, type CreateProjectResponse, CreateProjectResponseSchema, type CreateProjectResponses, type CreateSessionData, CreateSessionDataSchema, type CreateSessionResponse, CreateSessionResponseSchema, type DatabaseConfigResponse, type DatabaseCreate, type DatabaseListResponse, type DatabaseSampleResponse, type DatabaseSchemaResponse, type DatabaseUpdate, type DeleteContentData, type DeleteContentResponses, type DeleteData, DeleteDataSchema, type DeleteDatabaseData, type DeleteDatabaseResponses, type DeleteMemoData, type DeleteMemoResponse, type DeleteMemoResponses, type DeleteProjectData, DeleteProjectDataSchema, type DeleteProjectResponse, DeleteProjectResponseSchema, type DeleteProjectResponses, type DeleteRepoData, type DeleteRepoResponses, type DeleteResponse, DeleteResponseSchema, type DeleteResult, type DiscoveryData, DiscoveryDataSchema, type DiscoveryEndpoint, DiscoveryEndpointSchema, type DiscoveryResponse, DiscoveryResponseSchema, type DownloadRepositoryData, type DownloadRepositoryResponses, type DownloadRequest, type ErrorResponse, ErrorResponseSchema, type ForkRequest, type ForkSessionData, ForkSessionDataSchema, type ForkSessionResponse, ForkSessionResponseSchema, type ForkSessionResponses, type GetAuthConfigData, type GetAuthConfigResponses, type GetContentStatsData, type GetContentStatsResponses, type GetContentTreeData, type GetContentTreeResponses, type GetContentTypesData, type GetContentTypesResponses, type GetContentsRequest, type GetContextReposData, type GetContextReposResponses, type GetCurrentUserData, type GetCurrentUserResponses, type GetDatabaseData, type GetDatabaseResponses, type GetMemoData, type GetMemoForSourceData, type GetMemoForSourceResponse, type GetMemoForSourceResponses, type GetMemoResponse, type GetMemoResponses, type GetMissionContextData, type GetMissionContextResponses, type GetProjectData, GetProjectDataSchema, type GetProjectDatabasesData, type GetProjectDatabasesResponses, type GetProjectResponse, GetProjectResponseSchema, type GetProjectResponses, type GetPrototypeChatData, type GetPrototypeChatResponses, type GetRepoDownloadStatusData, type GetRepoDownloadStatusResponses, type GetSampleData, type GetSampleResponses, type GetSchemaData, type GetSchemaResponses, type GetSessionMessagesData, GetSessionMessagesDataSchema, type GetSessionMessagesResponse, GetSessionMessagesResponseSchema, type GetSessionMessagesResponses, type GetStoredVersionsData, type GetStoredVersionsResponses, type GetSyncStatusData, type GetSyncStatusResponses, type GithubBranchInfo, GithubBranchInfoSchema, type GithubBranchesData, GithubBranchesDataSchema, type GithubBranchesResponse, GithubBranchesResponseSchema, type GithubCheckAccessData, type GithubCheckAccessResponses, type GithubCommitInfo, GithubCommitInfoSchema, type GithubCommitsData, GithubCommitsDataSchema, type GithubCommitsResponse, GithubCommitsResponseSchema, type GithubDirectoryData, GithubDirectoryDataSchema, type GithubDirectoryResponse, GithubDirectoryResponseSchema, type GithubFileData, GithubFileDataSchema, type GithubFileInfo, GithubFileInfoSchema, type GithubFileResponse, GithubFileResponseSchema, type GithubGetContentsData, type GithubGetContentsResponses, type GithubListBranchesData, type GithubListBranchesResponses, type GithubRepoData, GithubRepoDataSchema, type GithubRepoInfo, GithubRepoInfoSchema, type GithubRepoResponse, GithubRepoResponseSchema, type IgnoreMemoData, type IgnoreMemoResponses, type IngestionJob, type IngestionJobResponse, IngestionJobResponseSchema, IngestionJobSchema, type JobProgressMessage, type KBDocument, KBDocumentSchema, type KBIngestData, KBIngestDataSchema, type KBIngestResponse, KBIngestResponseSchema, type KBListData, KBListDataSchema, type KBListResponse, KBListResponseSchema, KBNamespace, type KbQueryRequest, type LinkPrototypeChatData, type LinkPrototypeChatResponses, type LinkedRepoResponse, type ListBranchesRequest, type ListContentData, type ListContentResponses, type ListData, ListDataSchema, type ListDatabasesData, type ListDatabasesResponses, type ListDownloadedReposData, type ListDownloadedReposResponses, type ListEntry, ListEntrySchema, type ListMemosData, type ListMemosResponse, type ListMemosResponses, type ListProjectsData, ListProjectsDataSchema, type ListProjectsResponse, ListProjectsResponseSchema, type ListProjectsResponses, type ListPrototypeChatsData, type ListPrototypeChatsResponses, type ListResponse, ListResponseSchema, type ListResult, type ListSessionsData, ListSessionsDataSchema, type ListSessionsResponse, ListSessionsResponseSchema, type ListSessionsResponses, type ListTablesData, type ListTablesResponses, type ListWorkspacesData, type ListWorkspacesResponses, type LockContentData, type LockContentResponses, type LoginData, type LoginForAccessTokenData, type LoginForAccessTokenResponses, type LoginRequest, type LoginResponses, type Memo, type MemoActionResponse, type MemoCategory, type MemoSeverity, type MemoStatus, type MessageResponse, type Meta, MetaSchema, type MissionCreateRequest, MissionNamespace, type MoveContentData, type MoveContentResponses, type MoveRequest, type NotificationMessage, OCXPAuthError, OCXPClient, type OCXPClientOptions, OCXPConflictError, OCXPError, OCXPErrorCode, OCXPNetworkError, OCXPNotFoundError, OCXPPathService, type OCXPPathServiceOptions, OCXPRateLimitError, type OCXPResponse, OCXPResponseSchema, OCXPTimeoutError, OCXPValidationError, type Options, type Pagination, PaginationSchema, type ParsedPath, type PathEntry, type PathFileInfo, type PathListResult, type PathMoveResult, type PathReadResult, type PathWriteOptions, type PathWriteResult, type PresignedUrlData, PresignedUrlDataSchema, type PresignedUrlResponse, PresignedUrlResponseSchema, type PreviewPrototypeChatData, type PreviewPrototypeChatResponses, type Project, type ProjectCreate, type ProjectListResponse, type ProjectMission, ProjectMissionSchema, ProjectNamespace, type ProjectRepo, ProjectRepoSchema, type ProjectResponse, ProjectSchema, type ProjectUpdate, type PrototypeChatGetResponse, type PrototypeChatLinkRequest, type PrototypeChatLinkResponse, type PrototypeChatListItem, type PrototypeChatListResponse, type PrototypeChatMessage, type PrototypeChatPreviewRequest, type PrototypeChatPreviewResponse, type PrototypeChatSyncAsyncRequest, type PrototypeChatSyncAsyncResponse, type PrototypeChatSyncRequest, type PrototypeChatSyncResponse, type PrototypeChatVersion, PrototypeNamespace, type PrototypePageInfo, type PrototypeStoredVersionsResponse, type PrototypeSyncCompleteMessage, type PrototypeSyncJobStatusResponse, type PrototypeSyncProgressMessage, type QueryContentData, type QueryContentResponses, type QueryData, QueryDataSchema, type QueryFilter, QueryFilterSchema, type QueryKnowledgeBaseData, type QueryKnowledgeBaseResponses, type QueryResponse, QueryResponseSchema, type RagKnowledgeBaseData, type RagKnowledgeBaseResponses, type ReadContentData, type ReadContentResponses, type ReadData, ReadDataSchema, type ReadResponse, ReadResponseSchema, type ReadResult, type RefreshRequest, type RefreshResponse, type RefreshTokensData, type RefreshTokensResponses, type RegenerateMissionData, type RegenerateMissionRequest, type RegenerateMissionResponse, type RegenerateMissionResponses, type RemoveDatabaseData, type RemoveDatabaseResponses, type RemoveLinkedRepoData, type RemoveLinkedRepoResponses, type RemoveMissionData, type RemoveMissionResponses, type 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 ResolveMemoData, type ResolveMemoResponses, type SearchContentData, type SearchContentResponses, type SearchData, SearchDataSchema, type SearchResponse, SearchResponseSchema, type SearchResultItem, SearchResultItemSchema, type Session, type SessionForkResponse, type SessionListResponse, type SessionMessage, SessionMessageSchema, type SessionMessagesResponse, type SessionMetadataUpdate, SessionNamespace, type SessionResponse, SessionSchema, type SetDefaultDatabaseData, type SetDefaultDatabaseResponses, type SetDefaultRepoData, type SetDefaultRepoRequest, type SetDefaultRepoResponses, type SourceType, type StatsData, StatsDataSchema, type StatsResponse, StatsResponseSchema, type SyncEventMessage, type SyncPrototypeChatAsyncData, type SyncPrototypeChatAsyncResponses, type SyncPrototypeChatData, type SyncPrototypeChatResponses, type TestDatabaseConnectionData, type TestDatabaseConnectionResponses, type TokenProvider, type TokenResponse, type ToolCreateMissionData, type ToolCreateMissionResponses, type ToolUpdateMissionData, type ToolUpdateMissionResponses, type TreeData, TreeDataSchema, type TreeNode, TreeNodeSchema, type TreeResponse, TreeResponseSchema, type UnlockContentData, type UnlockContentResponses, type UpdateDatabaseData, type UpdateDatabaseResponses, type UpdateProjectData, UpdateProjectDataSchema, type UpdateProjectResponse, UpdateProjectResponseSchema, type UpdateProjectResponses, type UpdateSessionMetadataData, UpdateSessionMetadataDataSchema, type UpdateSessionMetadataResponse, UpdateSessionMetadataResponseSchema, type UpdateSessionMetadataResponses, type UserResponse, VALID_CONTENT_TYPES, type VectorSearchData, VectorSearchDataSchema, type VectorSearchResponse, VectorSearchResponseSchema, type WSBaseMessage, WSBaseMessageSchema, type WSChatMessage, WSChatMessageSchema, type WSChatResponse, WSChatResponseSchema, type WSConnected, WSConnectedSchema, type WSErrorMessage, WSErrorMessageSchema, type WSMessage, WSMessageSchema, type WSMessageType, WSMessageTypeSchema, type WSParseResult, type WSPingPong, WSPingPongSchema, type WSStatus, WSStatusSchema, type WSStreamChunk, WSStreamChunkSchema, type WSStreamEnd, WSStreamEndSchema, type WSStreamStart, WSStreamStartSchema, type WebSocketEventHandler, type WebSocketMessage, type WebSocketMessageType, WebSocketService, type WebSocketServiceOptions, type WorkspacesResponse, type WriteContentData, type WriteContentResponses, type WriteData, WriteDataSchema, type WriteRequest, type WriteResponse, WriteResponseSchema, type WriteResult, acknowledgeMemo, addDatabase, addLinkedRepo, addMission, archiveSession, buildPath, bulkDeleteContent, bulkReadContent, bulkWriteContent, createClient, createConfig, createDatabase, createMemo, createOCXPClient, createPathService, createProject, createResponseSchema, createWebSocketService, deleteContent, deleteDatabase, deleteMemo, deleteProject, deleteRepo, downloadRepository, forkSession, getAuthConfig, getCanonicalType, getContentStats, getContentTree, getContentTypes, getContextRepos, getCurrentUser, getDatabase, getMemo, getMemoForSource, getMissionContext, getProject, getProjectDatabases, getPrototypeChat, 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, syncPrototypeChat, syncPrototypeChatAsync, testDatabaseConnection, toolCreateMission, toolUpdateMission, unlockContent, updateDatabase, updateProject, updateSessionMetadata, writeContent };
|
|
11579
|
+
export { type AcknowledgeMemoData, type AcknowledgeMemoResponses, type AddDatabaseData, type AddDatabaseResponses, type AddLinkedRepoData, type AddLinkedRepoResponses, type AddMissionData, type AddMissionRequest, type AddMissionResponses, type AddProjectRepoData, AddProjectRepoDataSchema, type AddProjectRepoResponse, AddProjectRepoResponseSchema, type AddRepoRequest, type ArchiveSessionData, type ArchiveSessionResponses, type AuthConfig, type AuthTokenData, AuthTokenDataSchema, type AuthTokenResponse, AuthTokenResponseSchema, type AuthUserInfo, type AuthUserInfoResponse, AuthUserInfoResponseSchema, AuthUserInfoSchema, type AuthValidateData, AuthValidateDataSchema, type AuthValidateResponse, AuthValidateResponseSchema, type BulkDeleteContentData, type BulkDeleteContentResponses, type BulkDeleteRequest, type BulkReadContentData, type BulkReadContentResponses, type BulkReadRequest, type BulkWriteContentData, type BulkWriteContentResponses, type BulkWriteRequest, type CheckAccessRequest, type Client, type ClientOptions, type Config, type ConnectionState, type ContentType, type ContentTypeInfo, ContentTypeInfoSchema, ContentTypeSchema, type ContentTypeValue, type ContentTypesData, ContentTypesDataSchema, type ContentTypesResponse, ContentTypesResponseSchema, type ContentTypesResult, type ContextReposData, ContextReposDataSchema, type ContextReposResponse, ContextReposResponseSchema, type CreateDatabaseData, type CreateDatabaseResponses, type CreateMemoData, type CreateMemoRequest, type CreateMemoResponse, type CreateMemoResponses, type CreateProjectData, CreateProjectDataSchema, type CreateProjectResponse, CreateProjectResponseSchema, type CreateProjectResponses, type CreateSessionData, CreateSessionDataSchema, type CreateSessionResponse, CreateSessionResponseSchema, type DatabaseConfigResponse, type DatabaseCreate, type DatabaseListResponse, type DatabaseSampleResponse, type DatabaseSchemaResponse, type DatabaseUpdate, type DeleteContentData, type DeleteContentResponses, type DeleteData, DeleteDataSchema, type DeleteDatabaseData, type DeleteDatabaseResponses, type DeleteMemoData, type DeleteMemoResponse, type DeleteMemoResponses, type DeleteProjectData, DeleteProjectDataSchema, type DeleteProjectResponse, DeleteProjectResponseSchema, type DeleteProjectResponses, type DeleteRepoData, type DeleteRepoResponses, type DeleteResponse, DeleteResponseSchema, type DeleteResult, type DiscoveryData, DiscoveryDataSchema, type DiscoveryEndpoint, DiscoveryEndpointSchema, type DiscoveryResponse, DiscoveryResponseSchema, type DownloadRepositoryData, type DownloadRepositoryResponses, type DownloadRequest, type ErrorResponse, ErrorResponseSchema, type ForkRequest, type ForkSessionData, ForkSessionDataSchema, type ForkSessionResponse, ForkSessionResponseSchema, type ForkSessionResponses, type GetAuthConfigData, type GetAuthConfigResponses, type GetContentStatsData, type GetContentStatsResponses, type GetContentTreeData, type GetContentTreeResponses, type GetContentTypesData, type GetContentTypesResponses, type GetContentsRequest, type GetContextReposData, type GetContextReposResponses, type GetCurrentUserData, type GetCurrentUserResponses, type GetDatabaseData, type GetDatabaseResponses, type GetMemoData, type GetMemoForSourceData, type GetMemoForSourceResponse, type GetMemoForSourceResponses, type GetMemoResponse, type GetMemoResponses, type GetMissionContextData, type GetMissionContextResponses, type GetProjectData, GetProjectDataSchema, type GetProjectDatabasesData, type GetProjectDatabasesResponses, type GetProjectResponse, GetProjectResponseSchema, type GetProjectResponses, type GetPrototypeChatData, type GetPrototypeChatResponses, type GetRepoCommitsData, type GetRepoCommitsResponses, type GetRepoDownloadStatusData, type GetRepoDownloadStatusResponses, type GetSampleData, type GetSampleResponses, type GetSchemaData, type GetSchemaResponses, type GetSessionMessagesData, GetSessionMessagesDataSchema, type GetSessionMessagesResponse, GetSessionMessagesResponseSchema, type GetSessionMessagesResponses, type GetStoredVersionsData, type GetStoredVersionsResponses, type GetSyncStatusData, type GetSyncStatusResponses, type GithubBranchInfo, GithubBranchInfoSchema, type GithubBranchesData, GithubBranchesDataSchema, type GithubBranchesResponse, GithubBranchesResponseSchema, type GithubCheckAccessData, type GithubCheckAccessResponses, type GithubCommitInfo, GithubCommitInfoSchema, type GithubCommitsData, GithubCommitsDataSchema, type GithubCommitsResponse, GithubCommitsResponseSchema, type GithubDirectoryData, GithubDirectoryDataSchema, type GithubDirectoryResponse, GithubDirectoryResponseSchema, type GithubFileData, GithubFileDataSchema, type GithubFileInfo, GithubFileInfoSchema, type GithubFileResponse, GithubFileResponseSchema, type GithubGetContentsData, type GithubGetContentsResponses, type GithubListBranchesData, type GithubListBranchesResponses, type GithubRepoData, GithubRepoDataSchema, type GithubRepoInfo, GithubRepoInfoSchema, type GithubRepoResponse, GithubRepoResponseSchema, type IgnoreMemoData, type IgnoreMemoResponses, type IngestionJob, type IngestionJobResponse, IngestionJobResponseSchema, IngestionJobSchema, type JobProgressMessage, type KBDocument, KBDocumentSchema, type KBIngestData, KBIngestDataSchema, type KBIngestResponse, KBIngestResponseSchema, type KBListData, KBListDataSchema, type KBListResponse, KBListResponseSchema, KBNamespace, type KbQueryRequest, type LinkPrototypeChatData, type LinkPrototypeChatResponses, type LinkedRepoResponse, type ListBranchesRequest, type ListContentData, type ListContentResponses, type ListData, ListDataSchema, type ListDatabasesData, type ListDatabasesResponses, type ListDownloadedReposData, type ListDownloadedReposResponses, type ListEntry, ListEntrySchema, type ListMemosData, type ListMemosResponse, type ListMemosResponses, type ListProjectsData, ListProjectsDataSchema, type ListProjectsResponse, ListProjectsResponseSchema, type ListProjectsResponses, type ListPrototypeChatsData, type ListPrototypeChatsResponses, type ListResponse, ListResponseSchema, type ListResult, type ListSessionsData, ListSessionsDataSchema, type ListSessionsResponse, ListSessionsResponseSchema, type ListSessionsResponses, type ListTablesData, type ListTablesResponses, type ListWorkspacesData, type ListWorkspacesResponses, type LockContentData, type LockContentResponses, type LoginData, type LoginForAccessTokenData, type LoginForAccessTokenResponses, type LoginRequest, type LoginResponses, type Memo, type MemoActionResponse, type MemoCategory, type MemoSeverity, type MemoStatus, type MessageResponse, type Meta, MetaSchema, type MissionCreateRequest, MissionNamespace, type MoveContentData, type MoveContentResponses, type MoveRequest, type NotificationMessage, OCXPAuthError, OCXPClient, type OCXPClientOptions, OCXPConflictError, OCXPError, OCXPErrorCode, OCXPNetworkError, OCXPNotFoundError, OCXPPathService, type OCXPPathServiceOptions, OCXPRateLimitError, type OCXPResponse, OCXPResponseSchema, OCXPTimeoutError, OCXPValidationError, type Options, type Pagination, PaginationSchema, type ParsedPath, type PathEntry, type PathFileInfo, type PathListResult, type PathMoveResult, type PathReadResult, type PathWriteOptions, type PathWriteResult, type PresignedUrlData, PresignedUrlDataSchema, type PresignedUrlResponse, PresignedUrlResponseSchema, type PreviewPrototypeChatData, type PreviewPrototypeChatResponses, type Project, type ProjectCreate, type ProjectListResponse, type ProjectMission, ProjectMissionSchema, ProjectNamespace, type ProjectRepo, ProjectRepoSchema, type ProjectResponse, ProjectSchema, type ProjectUpdate, type PrototypeChatGetResponse, type PrototypeChatLinkRequest, type PrototypeChatLinkResponse, type PrototypeChatListItem, type PrototypeChatListResponse, type PrototypeChatMessage, type PrototypeChatPreviewRequest, type PrototypeChatPreviewResponse, type PrototypeChatSyncAsyncRequest, type PrototypeChatSyncAsyncResponse, type PrototypeChatSyncRequest, type PrototypeChatSyncResponse, type PrototypeChatVersion, PrototypeNamespace, type PrototypePageInfo, type PrototypeStoredVersionsResponse, type PrototypeSyncCompleteMessage, type PrototypeSyncJobStatusResponse, type PrototypeSyncProgressMessage, type QueryContentData, type QueryContentResponses, type QueryData, QueryDataSchema, type QueryFilter, QueryFilterSchema, type QueryKnowledgeBaseData, type QueryKnowledgeBaseResponses, type QueryResponse, QueryResponseSchema, type RagKnowledgeBaseData, type RagKnowledgeBaseResponses, type ReadContentData, type ReadContentResponses, type ReadData, ReadDataSchema, type ReadResponse, ReadResponseSchema, type ReadResult, type RefreshRequest, type RefreshResponse, type RefreshTokensData, type RefreshTokensResponses, type RegenerateMissionData, type RegenerateMissionRequest, type RegenerateMissionResponse, type RegenerateMissionResponses, type RemoveDatabaseData, type RemoveDatabaseResponses, type RemoveLinkedRepoData, type RemoveLinkedRepoResponses, type RemoveMissionData, type RemoveMissionResponses, type RepoCommitInfo, type RepoCommitStatusResponse, type RepoDeleteData, RepoDeleteDataSchema, type RepoDeleteResponse, RepoDeleteResponseSchema, type RepoDownloadData, RepoDownloadDataSchema, type RepoDownloadRequest, RepoDownloadRequestSchema, type RepoDownloadResponse, RepoDownloadResponseSchema, type RepoExistsData, RepoExistsDataSchema, type RepoExistsResponse, RepoExistsResponseSchema, type RepoInfo, type RepoListData, RepoListDataSchema, type RepoListItem, RepoListItemSchema, type RepoListResponse, RepoListResponseSchema, type RepoStatus, type RepoStatusData, RepoStatusDataSchema, RepoStatusEnum, type RepoStatusMessage, type RepoStatusResponse, RepoStatusResponseSchema, type RepoSyncAllResponse, type RepoSyncResponse, type ResolveMemoData, type ResolveMemoResponses, type SearchContentData, type SearchContentResponses, type SearchData, SearchDataSchema, type SearchResponse, SearchResponseSchema, type SearchResultItem, SearchResultItemSchema, type Session, type SessionForkResponse, type SessionListResponse, type SessionMessage, SessionMessageSchema, type SessionMessagesResponse, type SessionMetadataUpdate, SessionNamespace, type SessionResponse, SessionSchema, type SetDefaultDatabaseData, type SetDefaultDatabaseResponses, type SetDefaultRepoData, type SetDefaultRepoRequest, type SetDefaultRepoResponses, type SourceType, type StatsData, StatsDataSchema, type StatsResponse, StatsResponseSchema, type SyncAllReposData, type SyncAllReposResponses, type SyncEventMessage, type SyncPrototypeChatAsyncData, type SyncPrototypeChatAsyncResponses, type SyncPrototypeChatData, type SyncPrototypeChatResponses, type SyncRepoData, type SyncRepoResponses, type TestDatabaseConnectionData, type TestDatabaseConnectionResponses, type TokenProvider, type TokenResponse, type ToolCreateMissionData, type ToolCreateMissionResponses, type ToolUpdateMissionData, type ToolUpdateMissionResponses, type TreeData, TreeDataSchema, type TreeNode, TreeNodeSchema, type TreeResponse, TreeResponseSchema, type UnlockContentData, type UnlockContentResponses, type UpdateDatabaseData, type UpdateDatabaseResponses, type UpdateProjectData, UpdateProjectDataSchema, type UpdateProjectResponse, UpdateProjectResponseSchema, type UpdateProjectResponses, type UpdateSessionMetadataData, UpdateSessionMetadataDataSchema, type UpdateSessionMetadataResponse, UpdateSessionMetadataResponseSchema, type UpdateSessionMetadataResponses, type UserResponse, VALID_CONTENT_TYPES, type VectorSearchData, VectorSearchDataSchema, type VectorSearchResponse, VectorSearchResponseSchema, type WSBaseMessage, WSBaseMessageSchema, type WSChatMessage, WSChatMessageSchema, type WSChatResponse, WSChatResponseSchema, type WSConnected, WSConnectedSchema, type WSErrorMessage, WSErrorMessageSchema, type WSMessage, WSMessageSchema, type WSMessageType, WSMessageTypeSchema, type WSParseResult, type WSPingPong, WSPingPongSchema, type WSStatus, WSStatusSchema, type WSStreamChunk, WSStreamChunkSchema, type WSStreamEnd, WSStreamEndSchema, type WSStreamStart, WSStreamStartSchema, type WebSocketEventHandler, type WebSocketMessage, type WebSocketMessageType, WebSocketService, type WebSocketServiceOptions, type WorkspacesResponse, type WriteContentData, type WriteContentResponses, type WriteData, WriteDataSchema, type WriteRequest, type WriteResponse, WriteResponseSchema, type WriteResult, acknowledgeMemo, addDatabase, addLinkedRepo, addMission, archiveSession, buildPath, bulkDeleteContent, bulkReadContent, bulkWriteContent, createClient, createConfig, createDatabase, createMemo, createOCXPClient, createPathService, createProject, createResponseSchema, createWebSocketService, deleteContent, deleteDatabase, deleteMemo, deleteProject, deleteRepo, downloadRepository, forkSession, getAuthConfig, getCanonicalType, getContentStats, getContentTree, getContentTypes, getContextRepos, getCurrentUser, getDatabase, getMemo, getMemoForSource, getMissionContext, getProject, getProjectDatabases, getPrototypeChat, getRepoCommits, getRepoDownloadStatus, getSample, getSchema, getSessionMessages, getStoredVersions, getSyncStatus, githubCheckAccess, githubGetContents, githubListBranches, ignoreMemo, isOCXPAuthError, isOCXPConflictError, isOCXPError, isOCXPNetworkError, isOCXPNotFoundError, isOCXPRateLimitError, isOCXPTimeoutError, isOCXPValidationError, isValidContentType, linkPrototypeChat, listContent, listContextDatabases, listDatabases, listDownloadedRepos, listMemos, listProjects, listPrototypeChats, listSessions, listTables, listWorkspaces, lockContent, login, loginForAccessToken, mapHttpError, moveContent, normalizePath, parsePath, parseWSMessage, previewPrototypeChat, queryContent, queryKnowledgeBase, ragKnowledgeBase, readContent, refreshTokens, regenerateMission, removeDatabase, removeLinkedRepo, removeMission, resolveMemo, safeParseWSMessage, searchContent, setDefaultDatabase, setDefaultRepo, syncAllRepos, syncPrototypeChat, syncPrototypeChatAsync, syncRepo, testDatabaseConnection, toolCreateMission, toolUpdateMission, unlockContent, updateDatabase, updateProject, updateSessionMetadata, writeContent };
|