browser-git-ops 0.0.4 → 0.0.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/README.md +346 -67
- package/dist/git/abstractAdapter.d.ts +25 -21
- package/dist/git/abstractAdapter.d.ts.map +1 -1
- package/dist/git/githubAdapter.d.ts +16 -83
- package/dist/git/githubAdapter.d.ts.map +1 -1
- package/dist/git/gitlabAdapter.d.ts +26 -102
- package/dist/git/gitlabAdapter.d.ts.map +1 -1
- package/dist/index.d.ts +7 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1742 -1341
- package/dist/index.js.map +3 -3
- package/dist/index.mjs +1739 -1338
- package/dist/index.mjs.map +3 -3
- package/dist/virtualfs/changeTracker.d.ts +1 -0
- package/dist/virtualfs/changeTracker.d.ts.map +1 -1
- package/dist/virtualfs/conflictManager.d.ts +3 -1
- package/dist/virtualfs/conflictManager.d.ts.map +1 -1
- package/dist/virtualfs/indexedDatabaseStorage.d.ts.map +1 -1
- package/dist/virtualfs/inmemoryStorage.d.ts.map +1 -1
- package/dist/virtualfs/localChangeApplier.d.ts +6 -3
- package/dist/virtualfs/localChangeApplier.d.ts.map +1 -1
- package/dist/virtualfs/localFileManager.d.ts.map +1 -1
- package/dist/virtualfs/metadataManager.d.ts +0 -4
- package/dist/virtualfs/metadataManager.d.ts.map +1 -1
- package/dist/virtualfs/opfsStorage.d.ts.map +1 -1
- package/dist/virtualfs/remoteSynchronizer.d.ts +117 -20
- package/dist/virtualfs/remoteSynchronizer.d.ts.map +1 -1
- package/dist/virtualfs/storageBackend.d.ts +18 -18
- package/dist/virtualfs/storageBackend.d.ts.map +1 -1
- package/dist/virtualfs/types.d.ts +5 -4
- package/dist/virtualfs/types.d.ts.map +1 -1
- package/dist/virtualfs/utils/urlParser.d.ts +14 -0
- package/dist/virtualfs/utils/urlParser.d.ts.map +1 -0
- package/dist/virtualfs/virtualfs.d.ts +254 -42
- package/dist/virtualfs/virtualfs.d.ts.map +1 -1
- package/package.json +9 -10
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { GitAdapter } from './adapter.ts';
|
|
2
2
|
import AbstractGitAdapter, { fetchWithRetry, classifyStatus, getDelayForResponse, processResponseWithDelay, mapWithConcurrency, shaOf } from './abstractAdapter.ts';
|
|
3
|
-
type GHOptions = {
|
|
3
|
+
export type GHOptions = {
|
|
4
4
|
owner: string;
|
|
5
5
|
repo: string;
|
|
6
6
|
token: string;
|
|
7
7
|
host?: string;
|
|
8
8
|
};
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
11
|
-
*
|
|
10
|
+
* GitHub 向けの `GitAdapter` 実装。
|
|
11
|
+
* GitHub API をラップしてリポジトリ操作(コミット作成、ブランチ一覧、ファイル取得等)を提供します。
|
|
12
12
|
*/
|
|
13
13
|
export declare class GitHubAdapter extends AbstractGitAdapter implements GitAdapter {
|
|
14
14
|
private _fetchWithRetry;
|
|
@@ -16,12 +16,15 @@ export declare class GitHubAdapter extends AbstractGitAdapter implements GitAdap
|
|
|
16
16
|
private blobCache;
|
|
17
17
|
/**
|
|
18
18
|
* GitHubAdapter を初期化します。
|
|
19
|
-
* @param {GHOptions}
|
|
19
|
+
* @param {GHOptions} options 設定オブジェクト
|
|
20
20
|
*/
|
|
21
21
|
constructor(options: GHOptions);
|
|
22
22
|
/**
|
|
23
23
|
* List commits for a ref (GitHub commits API)
|
|
24
|
-
* @param {
|
|
24
|
+
* @param {Object} query query parameters
|
|
25
|
+
* @param {string} query.ref reference name (branch/tag/SHA)
|
|
26
|
+
* @param {number} [query.perPage] items per page
|
|
27
|
+
* @param {number} [query.page] page number
|
|
25
28
|
* @returns {Promise<import('./adapter').CommitHistoryPage>} ページ情報を返します
|
|
26
29
|
*/
|
|
27
30
|
listCommits(query: {
|
|
@@ -57,11 +60,6 @@ export declare class GitHubAdapter extends AbstractGitAdapter implements GitAdap
|
|
|
57
60
|
* @returns {import('./adapter').CommitSummary}
|
|
58
61
|
*/
|
|
59
62
|
private _mapGithubCommitToSummary;
|
|
60
|
-
/**
|
|
61
|
-
* コンテンツから sha1 を算出します。
|
|
62
|
-
* @param {string} content コンテンツ
|
|
63
|
-
* @returns {string} sha1 ハッシュ
|
|
64
|
-
*/
|
|
65
63
|
/**
|
|
66
64
|
* ブロブを作成またはキャッシュから取得します。
|
|
67
65
|
* @param {any[]} changes 変更一覧(create/update を含む)
|
|
@@ -69,11 +67,6 @@ export declare class GitHubAdapter extends AbstractGitAdapter implements GitAdap
|
|
|
69
67
|
* @returns {Promise<Record<string,string>>} パス→blobSha のマップ
|
|
70
68
|
*/
|
|
71
69
|
createBlobs(changes: any[], concurrency?: number): Promise<Record<string, string>>;
|
|
72
|
-
/**
|
|
73
|
-
* ブロブ作成用のヘルパー(createBlobs から抽出)
|
|
74
|
-
* @param {any} ch 変更エントリ
|
|
75
|
-
* @returns {Promise<{path:string,sha:string}>}
|
|
76
|
-
*/
|
|
77
70
|
/**
|
|
78
71
|
* Create a blob for a change or return cached blobSha.
|
|
79
72
|
* @param {any} ch change entry
|
|
@@ -108,7 +101,8 @@ export declare class GitHubAdapter extends AbstractGitAdapter implements GitAdap
|
|
|
108
101
|
private _makeRepoMetadata;
|
|
109
102
|
/**
|
|
110
103
|
* List branches via GitHub API and map to BranchListPage.
|
|
111
|
-
|
|
104
|
+
* @param {import('../virtualfs/types.ts').BranchListQuery} [query] query parameters
|
|
105
|
+
* @returns {Promise<{items:any[],nextPage?:number,lastPage?:number}>}
|
|
112
106
|
*/
|
|
113
107
|
listBranches(query?: import('../virtualfs/types.ts').BranchListQuery): Promise<{
|
|
114
108
|
items: {
|
|
@@ -132,15 +126,15 @@ export declare class GitHubAdapter extends AbstractGitAdapter implements GitAdap
|
|
|
132
126
|
private _mapBranchItems;
|
|
133
127
|
/**
|
|
134
128
|
* 参照を更新します。
|
|
135
|
-
* @param {string}
|
|
129
|
+
* @param {string} reference 参照名(例: heads/main)
|
|
136
130
|
* @param {string} commitSha コミット SHA
|
|
137
131
|
* @param {boolean} force 強制更新フラグ
|
|
138
132
|
*/
|
|
139
133
|
updateRef(reference: string, commitSha: string, force?: boolean): Promise<void>;
|
|
140
134
|
/**
|
|
141
135
|
* Create a branch (ref) on the remote repository.
|
|
142
|
-
* @param branchName branch name to create
|
|
143
|
-
* @param fromSha commit sha to point the new branch at
|
|
136
|
+
* @param {string} branchName branch name to create
|
|
137
|
+
* @param {string} fromSha commit sha to point the new branch at
|
|
144
138
|
* @returns {Promise<import('../virtualfs/types.ts').CreateBranchResult>} created branch info
|
|
145
139
|
*/
|
|
146
140
|
createBranch(branchName: string, fromSha: string): Promise<import('../virtualfs/types.ts').CreateBranchResult>;
|
|
@@ -159,14 +153,10 @@ export declare class GitHubAdapter extends AbstractGitAdapter implements GitAdap
|
|
|
159
153
|
getCommitTreeSha(commitSha: string): Promise<string>;
|
|
160
154
|
/**
|
|
161
155
|
* 指定 ref の先頭コミット SHA を取得します。
|
|
162
|
-
* @param
|
|
163
|
-
|
|
156
|
+
* @param {string} reference 䉶: `heads/main`
|
|
157
|
+
* @returns {Promise<string>} 参照先のコミット SHA
|
|
164
158
|
*/
|
|
165
159
|
getRef(reference: string): Promise<string>;
|
|
166
|
-
/**
|
|
167
|
-
* Helper to fetch a ref URL and extract a SHA if present.
|
|
168
|
-
* Returns null when SHA not found.
|
|
169
|
-
*/
|
|
170
160
|
/**
|
|
171
161
|
* Fetch a ref URL and extract a SHA if present.
|
|
172
162
|
* @param {string} url API URL to fetch
|
|
@@ -207,18 +197,6 @@ export declare class GitHubAdapter extends AbstractGitAdapter implements GitAdap
|
|
|
207
197
|
content: any;
|
|
208
198
|
encoding: any;
|
|
209
199
|
}>;
|
|
210
|
-
/**
|
|
211
|
-
* Resolve a commit-ish (branch, tag, or SHA) to a commit SHA.
|
|
212
|
-
* Resolution order: branch -> tag -> commit endpoint -> treat as SHA
|
|
213
|
-
* Throws if resolution fails.
|
|
214
|
-
*/
|
|
215
|
-
/**
|
|
216
|
-
* Resolve a commit-ish (branch, tag, or SHA) to a commit SHA.
|
|
217
|
-
* Resolution order: branch -> tag -> commit endpoint -> treat as SHA
|
|
218
|
-
* Throws if resolution fails.
|
|
219
|
-
* @param {string} reference commit-ish to resolve
|
|
220
|
-
* @returns {Promise<string>} resolved commit SHA
|
|
221
|
-
*/
|
|
222
200
|
/**
|
|
223
201
|
* Resolve a commit-ish (branch, tag, or SHA) to a commit SHA.
|
|
224
202
|
* Resolution order: branch -> tag -> commit endpoint -> treat as SHA
|
|
@@ -234,44 +212,24 @@ export declare class GitHubAdapter extends AbstractGitAdapter implements GitAdap
|
|
|
234
212
|
* @returns {Promise<string|null>} resolved sha or null
|
|
235
213
|
*/
|
|
236
214
|
private _runResolvers;
|
|
237
|
-
/**
|
|
238
|
-
* Try to resolve reference as a branch and return its sha.
|
|
239
|
-
* @param {string} reference branch name
|
|
240
|
-
* @returns {Promise<string|null>} resolved sha or null
|
|
241
|
-
*/
|
|
242
215
|
/**
|
|
243
216
|
* Try to resolve a branch name to a commit SHA.
|
|
244
217
|
* @param {string} reference branch name
|
|
245
218
|
* @returns {Promise<string|null>}
|
|
246
219
|
*/
|
|
247
220
|
private _tryResolveByBranch;
|
|
248
|
-
/**
|
|
249
|
-
* Try to resolve reference as a tag and return its sha.
|
|
250
|
-
* @param {string} reference tag name
|
|
251
|
-
* @returns {Promise<string|null>} resolved sha or null
|
|
252
|
-
*/
|
|
253
221
|
/**
|
|
254
222
|
* Try to resolve a tag name to a commit SHA.
|
|
255
223
|
* @param {string} reference tag name
|
|
256
224
|
* @returns {Promise<string|null>}
|
|
257
225
|
*/
|
|
258
226
|
private _tryResolveByTag;
|
|
259
|
-
/**
|
|
260
|
-
* Try to resolve reference using commits endpoint (could be SHA or other form).
|
|
261
|
-
* @param {string} reference commit-ish
|
|
262
|
-
* @returns {Promise<string|null>} resolved sha or null
|
|
263
|
-
*/
|
|
264
227
|
/**
|
|
265
228
|
* Try to resolve via commits endpoint (may accept SHA or other forms).
|
|
266
229
|
* @param {string} reference commit-ish
|
|
267
230
|
* @returns {Promise<string|null>}
|
|
268
231
|
*/
|
|
269
232
|
private _tryResolveByCommitEndpoint;
|
|
270
|
-
/**
|
|
271
|
-
* Blob を取得して content を返す。取得失敗時は content=null を返す。
|
|
272
|
-
* @param {{sha:string,path:string}} f blob 情報
|
|
273
|
-
* @returns {Promise<{path:string,content:string|null}>}
|
|
274
|
-
*/
|
|
275
233
|
/**
|
|
276
234
|
* Fetch a blob's content; return null content on failure.
|
|
277
235
|
* @param {any} f blob metadata
|
|
@@ -281,19 +239,10 @@ export declare class GitHubAdapter extends AbstractGitAdapter implements GitAdap
|
|
|
281
239
|
/**
|
|
282
240
|
* Decode a base64 string into UTF-8 text. Uses global Buffer when available,
|
|
283
241
|
* falls back to atob/TextDecoder for browsers.
|
|
242
|
+
* @param {string} safe base64 string to decode
|
|
284
243
|
* @returns {string} decoded UTF-8 string
|
|
285
244
|
*/
|
|
286
245
|
private _decodeBase64ToString;
|
|
287
|
-
/**
|
|
288
|
-
* Fetch a blob's content; return null content on failure.
|
|
289
|
-
* @param {any} f blob metadata
|
|
290
|
-
* @returns {Promise<{path:string,content:string|null}>}
|
|
291
|
-
*/
|
|
292
|
-
/**
|
|
293
|
-
* リポジトリのスナップショットを取得します。
|
|
294
|
-
* @param {string} branch ブランチ名 (default: 'main')
|
|
295
|
-
* @returns {Promise<{headSha:string,shas:Record<string,string>,fetchContent:Function,snapshot:Record<string,string>}>}
|
|
296
|
-
*/
|
|
297
246
|
/**
|
|
298
247
|
* Fetch repository snapshot: headSha, shas map and a fetchContent helper.
|
|
299
248
|
* @param {string} branch branch name
|
|
@@ -337,22 +286,6 @@ export declare class GitHubAdapter extends AbstractGitAdapter implements GitAdap
|
|
|
337
286
|
* @returns {Promise<null>}
|
|
338
287
|
*/
|
|
339
288
|
private _mapperForFetch;
|
|
340
|
-
/**
|
|
341
|
-
* 指定パスのコンテンツを取得し、キャッシュと snapshot を更新します。
|
|
342
|
-
* @param {Map<string, any>} fileMap ファイルメタ情報マップ
|
|
343
|
-
* @param {Map<string, string>} contentCache キャッシュマップ
|
|
344
|
-
* @param {Record<string,string>} snapshot スナップショット出力マップ
|
|
345
|
-
* @param {string} p 取得対象パス
|
|
346
|
-
* @returns {Promise<string|null>} ファイル内容または null
|
|
347
|
-
*/
|
|
348
|
-
/**
|
|
349
|
-
* Fetch single path content, update cache and snapshot.
|
|
350
|
-
* @param {Map<string, any>} fileMap file map
|
|
351
|
-
* @param {Map<string,string>} contentCache cache map
|
|
352
|
-
* @param {Record<string,string>} snapshot snapshot map
|
|
353
|
-
* @param {string} p path to fetch
|
|
354
|
-
* @returns {Promise<string|null>} content or null
|
|
355
|
-
*/
|
|
356
289
|
/**
|
|
357
290
|
* Fetch single path content, update cache and snapshot.
|
|
358
291
|
* @param {Map<string, any>} fileMap file map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"githubAdapter.d.ts","sourceRoot":"","sources":["../../src/git/githubAdapter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,kBAAkB,EAAE,EAAE,cAAc,EAAE,cAAc,EAAE,mBAAmB,EAAE,wBAAwB,EAAE,kBAAkB,EAAE,KAAK,EAAqB,MAAM,sBAAsB,CAAA;
|
|
1
|
+
{"version":3,"file":"githubAdapter.d.ts","sourceRoot":"","sources":["../../src/git/githubAdapter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,kBAAkB,EAAE,EAAE,cAAc,EAAE,cAAc,EAAE,mBAAmB,EAAE,wBAAwB,EAAE,kBAAkB,EAAE,KAAK,EAAqB,MAAM,sBAAsB,CAAA;AAEtL,MAAM,MAAM,SAAS,GAAG;IACtB,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,MAAM,CAAA;CACd,CAAA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.ts';
|
|
2
2
|
import AbstractGitAdapter from './abstractAdapter.ts';
|
|
3
|
-
type GLOptions = {
|
|
3
|
+
export type GLOptions = {
|
|
4
4
|
projectId: string;
|
|
5
5
|
token: string;
|
|
6
6
|
host?: string;
|
|
@@ -15,12 +15,15 @@ export declare class GitLabAdapter extends AbstractGitAdapter implements GitAdap
|
|
|
15
15
|
private projectMetadata;
|
|
16
16
|
/**
|
|
17
17
|
* GitLabAdapter を初期化します。
|
|
18
|
-
* @param {
|
|
18
|
+
* @param {GLOptions} options 設定オブジェクト
|
|
19
19
|
*/
|
|
20
20
|
constructor(options: GLOptions);
|
|
21
21
|
/**
|
|
22
22
|
* List commits for a ref (GitLab commits API)
|
|
23
|
-
* @param {
|
|
23
|
+
* @param {Object} query query parameters
|
|
24
|
+
* @param {string} query.ref reference name
|
|
25
|
+
* @param {number} [query.perPage] items per page
|
|
26
|
+
* @param {number} [query.page] page number
|
|
24
27
|
* @returns {Promise<import('./adapter').CommitHistoryPage>} ページ情報を返します
|
|
25
28
|
*/
|
|
26
29
|
listCommits(query: {
|
|
@@ -46,7 +49,8 @@ export declare class GitLabAdapter extends AbstractGitAdapter implements GitAdap
|
|
|
46
49
|
private _parseJsonArray;
|
|
47
50
|
/**
|
|
48
51
|
* GitLab のページングヘッダを解析します(x-next-page / x-total-pages)。
|
|
49
|
-
|
|
52
|
+
* @param {Response} resp HTTP レスポンス
|
|
53
|
+
* @returns {{nextPage?: number, lastPage?: number}} ページ番号情報
|
|
50
54
|
*/
|
|
51
55
|
private _parsePagingHeaders;
|
|
52
56
|
/**
|
|
@@ -55,11 +59,6 @@ export declare class GitLabAdapter extends AbstractGitAdapter implements GitAdap
|
|
|
55
59
|
* @returns {import('./adapter').CommitSummary}
|
|
56
60
|
*/
|
|
57
61
|
private _mapGitLabCommitToSummary;
|
|
58
|
-
/**
|
|
59
|
-
* コンテンツから sha1 を算出します。
|
|
60
|
-
* @param {string} content コンテンツ
|
|
61
|
-
* @returns {string} sha1 ハッシュ
|
|
62
|
-
*/
|
|
63
62
|
/**
|
|
64
63
|
* 変更一覧から blob sha のマップを作成します(疑似実装)。
|
|
65
64
|
* @param {any[]} changes 変更一覧
|
|
@@ -83,9 +82,9 @@ export declare class GitLabAdapter extends AbstractGitAdapter implements GitAdap
|
|
|
83
82
|
createCommit(message: string, parentSha: string, _treeSha: string): Promise<any>;
|
|
84
83
|
/**
|
|
85
84
|
* リファレンス更新は不要なため noop 実装です。
|
|
86
|
-
* @param {string}
|
|
85
|
+
* @param {string} _reference ref 名
|
|
87
86
|
* @param {string} _commitSha コミット SHA
|
|
88
|
-
* @param {boolean} [_force]
|
|
87
|
+
* @param {boolean} [_force] 強制フラグ
|
|
89
88
|
* @returns {Promise<void>}
|
|
90
89
|
*/
|
|
91
90
|
updateRef(_reference: string, _commitSha: string, _force?: boolean): Promise<void>;
|
|
@@ -93,7 +92,8 @@ export declare class GitLabAdapter extends AbstractGitAdapter implements GitAdap
|
|
|
93
92
|
* actions を用いて GitLab のコミット API を呼び出します。
|
|
94
93
|
* @param {string} branch ブランチ名
|
|
95
94
|
* @param {string} message コミットメッセージ
|
|
96
|
-
* @param {{type:string,path:string,content?:string}
|
|
95
|
+
* @param {Array<{type:string,path:string,content?:string}>} changes 変更一覧
|
|
96
|
+
* @param {string} [expectedParentSha] 下発コミット SHA
|
|
97
97
|
* @returns {Promise<any>} コミット応答(id など)
|
|
98
98
|
*/
|
|
99
99
|
createCommitWithActions(branch: string, message: string, changes: Array<{
|
|
@@ -101,9 +101,6 @@ export declare class GitLabAdapter extends AbstractGitAdapter implements GitAdap
|
|
|
101
101
|
path: string;
|
|
102
102
|
content?: string;
|
|
103
103
|
}>, expectedParentSha?: string): Promise<any>;
|
|
104
|
-
/**
|
|
105
|
-
* Retrieve project metadata (default branch, name, id) and cache it.
|
|
106
|
-
*/
|
|
107
104
|
/**
|
|
108
105
|
* Retrieve project metadata (default branch, name, id) and cache it.
|
|
109
106
|
* @returns {Promise<import('../virtualfs/types.ts').RepositoryMetadata>} repository metadata
|
|
@@ -117,6 +114,7 @@ export declare class GitLabAdapter extends AbstractGitAdapter implements GitAdap
|
|
|
117
114
|
private _makeProjectMetadata;
|
|
118
115
|
/**
|
|
119
116
|
* List branches via GitLab API and map to BranchListPage.
|
|
117
|
+
* @param {import('../virtualfs/types.ts').BranchListQuery} [query] query parameters
|
|
120
118
|
* @returns {Promise<{items:any[],nextPage?:number,lastPage?:number}>}
|
|
121
119
|
*/
|
|
122
120
|
listBranches(query?: import('../virtualfs/types.ts').BranchListQuery): Promise<{
|
|
@@ -134,11 +132,12 @@ export declare class GitLabAdapter extends AbstractGitAdapter implements GitAdap
|
|
|
134
132
|
}>;
|
|
135
133
|
/**
|
|
136
134
|
* Create a branch in GitLab: POST /projects/{projectId}/repository/branches
|
|
137
|
-
* @param branchName name of branch to create
|
|
138
|
-
* @param fromSha branch/tag name or SHA to base the new branch on
|
|
135
|
+
* @param {string} branchName name of branch to create
|
|
136
|
+
* @param {string} fromSha branch/tag name or SHA to base the new branch on
|
|
139
137
|
* @returns {Promise<import('../virtualfs/types.ts').CreateBranchResult>} created branch info
|
|
140
138
|
*/
|
|
141
139
|
createBranch(branchName: string, fromSha: string): Promise<import('../virtualfs/types.ts').CreateBranchResult>;
|
|
140
|
+
private _extractShaFromCommitResponseText;
|
|
142
141
|
/**
|
|
143
142
|
* Normalize common createBranch error messages into thrown Errors.
|
|
144
143
|
* @param {string} message error message text
|
|
@@ -155,14 +154,10 @@ export declare class GitLabAdapter extends AbstractGitAdapter implements GitAdap
|
|
|
155
154
|
private _mapBranchItems;
|
|
156
155
|
/**
|
|
157
156
|
* Convert change descriptors to GitLab API actions
|
|
158
|
-
|
|
157
|
+
* @param {Array<{type:string,path:string,content?:string}>} changes change descriptors
|
|
158
|
+
* @returns {Array<any>} API-compatible actions array
|
|
159
159
|
*/
|
|
160
160
|
private createActions;
|
|
161
|
-
/**
|
|
162
|
-
* Verify remote branch head matches expected parent SHA.
|
|
163
|
-
* @throws Error if non-fast-forward
|
|
164
|
-
* @returns {Promise<void>}
|
|
165
|
-
*/
|
|
166
161
|
/**
|
|
167
162
|
* Verify that remote branch head matches expected parent SHA.
|
|
168
163
|
* Throws when non-fast-forward detected.
|
|
@@ -177,10 +172,6 @@ export declare class GitLabAdapter extends AbstractGitAdapter implements GitAdap
|
|
|
177
172
|
* @returns {any} parsed commit id/object
|
|
178
173
|
*/
|
|
179
174
|
private parseCommitResponse;
|
|
180
|
-
/**
|
|
181
|
-
* Post commit request and parse response
|
|
182
|
-
* @returns {Promise<any>}
|
|
183
|
-
*/
|
|
184
175
|
/**
|
|
185
176
|
* Post commit request and return parsed commit response.
|
|
186
177
|
* @param {string} url endpoint URL
|
|
@@ -188,50 +179,20 @@ export declare class GitLabAdapter extends AbstractGitAdapter implements GitAdap
|
|
|
188
179
|
* @returns {Promise<any>} parsed commit response
|
|
189
180
|
*/
|
|
190
181
|
private postCommit;
|
|
191
|
-
/**
|
|
192
|
-
* fetch をリトライ付きで実行します。
|
|
193
|
-
* @param {string} url リクエスト URL
|
|
194
|
-
* @param {RequestInit} opts fetch オプション
|
|
195
|
-
* @param {number} [retries] 最大リトライ回数
|
|
196
|
-
* @returns {Promise<Response>} レスポンス
|
|
197
|
-
*/
|
|
198
|
-
/**
|
|
199
|
-
* Wait helper for fetch retry backoff.
|
|
200
|
-
* @param attempt Attempt number
|
|
201
|
-
* @returns {Promise<void>} resolves after backoff
|
|
202
|
-
*/
|
|
203
182
|
/**
|
|
204
183
|
* Wait helper for retry backoff.
|
|
205
184
|
* @param {number} attempt attempt number
|
|
206
185
|
* @returns {Promise<void>}
|
|
207
186
|
*/
|
|
208
187
|
private _waitAttempt;
|
|
209
|
-
/**
|
|
210
|
-
* ステータスが再試行対象か判定します。
|
|
211
|
-
* @param {number} status ステータスコード
|
|
212
|
-
* @returns {boolean}
|
|
213
|
-
*/
|
|
214
|
-
/**
|
|
215
|
-
* バックオフ時間を計算します。
|
|
216
|
-
* @param {number} attempt 試行回数(1..)
|
|
217
|
-
* @returns {number} ミリ秒
|
|
218
|
-
*/
|
|
219
|
-
/**
|
|
220
|
-
* 並列マッピングユーティリティ
|
|
221
|
-
* @template T, R
|
|
222
|
-
* @param {T[]} items 入力配列
|
|
223
|
-
* @param {(t:T)=>Promise<R>} mapper マッピング関数
|
|
224
|
-
* @param {number} concurrency 同時実行数
|
|
225
|
-
* @returns {Promise<R[]>}
|
|
226
|
-
*/
|
|
227
188
|
/**
|
|
228
189
|
* Prepare JSON body for commit API call.
|
|
190
|
+
* @param {string} branch branch name
|
|
191
|
+
* @param {string} message commit message
|
|
192
|
+
* @param {any[]} actions commit actions
|
|
229
193
|
* @returns {string} JSON body
|
|
230
194
|
*/
|
|
231
195
|
private _prepareCommitBody;
|
|
232
|
-
/**
|
|
233
|
-
* Optionally verify parent SHA; swallow non-422 errors.
|
|
234
|
-
*/
|
|
235
196
|
/**
|
|
236
197
|
* Optionally verify parent SHA; rethrow errors after logging.
|
|
237
198
|
* @param {string} expectedParentSha expected SHA
|
|
@@ -242,35 +203,23 @@ export declare class GitLabAdapter extends AbstractGitAdapter implements GitAdap
|
|
|
242
203
|
/**
|
|
243
204
|
* リポジトリのスナップショットを取得します。
|
|
244
205
|
* @param {string} branch ブランチ名 (default: 'main')
|
|
245
|
-
|
|
206
|
+
* @param {number} concurrency fetch concurrency level
|
|
207
|
+
* @returns {Promise<{headSha:string,shas:Record<string,string>,fetchContent:(paths:string[])=>Promise<Record<string,string>>}>}
|
|
246
208
|
*/
|
|
247
209
|
fetchSnapshot(branch?: string, concurrency?: number): Promise<any>;
|
|
248
|
-
/**
|
|
249
|
-
* Determine the remote head SHA for a branch. Falls back to branch name on error.
|
|
250
|
-
* @param {string} branch Branch name
|
|
251
|
-
* @returns {Promise<string>} head SHA or branch
|
|
252
|
-
*/
|
|
253
210
|
/**
|
|
254
211
|
* Determine the head SHA for a branch; fallback to branch name if unavailable.
|
|
255
212
|
* @param {string} branch branch name
|
|
256
213
|
* @returns {Promise<string>} head SHA or branch
|
|
257
214
|
*/
|
|
258
215
|
private _determineHeadSha;
|
|
259
|
-
|
|
260
|
-
* Fetch repository tree and build shas/fileSet.
|
|
261
|
-
* @param {string} branch Branch name
|
|
262
|
-
* @returns {Promise<{shas:Record<string,string>,fileSet:Set<string>}>}
|
|
263
|
-
*/
|
|
216
|
+
private _safeGetBranchHead;
|
|
264
217
|
/**
|
|
265
218
|
* Fetch repository tree and build shas map and fileSet.
|
|
266
219
|
* @param {string} branch branch name
|
|
267
220
|
* @returns {Promise<{shas:Record<string,string>,fileSet:Set<string>}>}
|
|
268
221
|
*/
|
|
269
222
|
private _fetchTreeAndBuildShas;
|
|
270
|
-
/**
|
|
271
|
-
* Helper to fetch files from the repository tree with caching and concurrency.
|
|
272
|
-
* @returns {Promise<Record<string,string>>}
|
|
273
|
-
*/
|
|
274
223
|
/**
|
|
275
224
|
* Fetch contents for requested paths from a FileSet with caching.
|
|
276
225
|
* @param {Set<string>} fileSet set of available files
|
|
@@ -282,14 +231,6 @@ export declare class GitLabAdapter extends AbstractGitAdapter implements GitAdap
|
|
|
282
231
|
* @returns {Promise<Record<string,string>>}
|
|
283
232
|
*/
|
|
284
233
|
private _fetchContentFromFileSet;
|
|
285
|
-
/**
|
|
286
|
-
* 指定パスのファイル内容を取得し、キャッシュと snapshot を更新します。
|
|
287
|
-
* @param {Map<string,string>} cache キャッシュマップ
|
|
288
|
-
* @param {Record<string,string>} snapshot スナップショットマップ
|
|
289
|
-
* @param {string} p ファイルパス
|
|
290
|
-
* @param {string} branch ブランチ名
|
|
291
|
-
* @returns {Promise<string|null>} ファイル内容または null
|
|
292
|
-
*/
|
|
293
234
|
/**
|
|
294
235
|
* Fetch the content for a single file path, updating cache and snapshot.
|
|
295
236
|
* @param {Map<string,string>} cache cache map
|
|
@@ -299,12 +240,6 @@ export declare class GitLabAdapter extends AbstractGitAdapter implements GitAdap
|
|
|
299
240
|
* @returns {Promise<string|null>} file content or null
|
|
300
241
|
*/
|
|
301
242
|
private _fetchFileContentForPath;
|
|
302
|
-
/**
|
|
303
|
-
* ファイルの raw コンテンツを取得して返します。失敗時は null を返します。
|
|
304
|
-
* @param {string} path ファイルパス
|
|
305
|
-
* @param {string} branch ブランチ名
|
|
306
|
-
* @returns {Promise<string|null>} ファイル内容または null
|
|
307
|
-
*/
|
|
308
243
|
/**
|
|
309
244
|
* Fetch raw file content from GitLab; return null on failure.
|
|
310
245
|
* @param {string} path file path
|
|
@@ -312,24 +247,12 @@ export declare class GitLabAdapter extends AbstractGitAdapter implements GitAdap
|
|
|
312
247
|
* @returns {Promise<string|null>} file content or null
|
|
313
248
|
*/
|
|
314
249
|
private _fetchFileRaw;
|
|
315
|
-
/** Build shas map and fileSet from tree entries */
|
|
316
250
|
/**
|
|
317
251
|
* Build shas map and fileSet from tree entries
|
|
252
|
+
* @param {any[]} files tree file entries
|
|
318
253
|
* @returns {{shas:Record<string,string>,fileSet:Set<string>}}
|
|
319
254
|
*/
|
|
320
255
|
private _buildShasAndFileSet;
|
|
321
|
-
/**
|
|
322
|
-
* Resolve a commit-ish (branch name, tag name, or SHA) to a commit SHA.
|
|
323
|
-
* Resolution order: branch -> tag -> commits endpoint -> treat as SHA
|
|
324
|
-
* Throws if not resolvable.
|
|
325
|
-
*/
|
|
326
|
-
/**
|
|
327
|
-
* Resolve a commit-ish (branch, tag, or SHA) to a commit SHA.
|
|
328
|
-
* Resolution order: branch -> tag -> commits endpoint -> treat as SHA
|
|
329
|
-
* Throws if not resolvable.
|
|
330
|
-
* @param {string} reference commit-ish to resolve
|
|
331
|
-
* @returns {Promise<string>} resolved commit SHA
|
|
332
|
-
*/
|
|
333
256
|
/**
|
|
334
257
|
* Resolve a commit-ish (branch, tag, or SHA) to a commit SHA.
|
|
335
258
|
* Resolution order: branch -> tag -> commits endpoint -> treat as SHA
|
|
@@ -345,6 +268,7 @@ export declare class GitLabAdapter extends AbstractGitAdapter implements GitAdap
|
|
|
345
268
|
* @returns {Promise<string|null>} resolved sha or null
|
|
346
269
|
*/
|
|
347
270
|
private _runResolvers;
|
|
271
|
+
private _tryRunResolver;
|
|
348
272
|
/**
|
|
349
273
|
* Try to resolve a branch name to its commit SHA.
|
|
350
274
|
* @param {string} reference branch name
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gitlabAdapter.d.ts","sourceRoot":"","sources":["../../src/git/gitlabAdapter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,
|
|
1
|
+
{"version":3,"file":"gitlabAdapter.d.ts","sourceRoot":"","sources":["../../src/git/gitlabAdapter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,kBAA2C,MAAM,sBAAsB,CAAA;AAE9E,MAAM,MAAM,SAAS,GAAG;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,CAAA;AAE3E;;;;GAIG;AACH,qBAAa,aAAc,SAAQ,kBAAmB,YAAW,UAAU;IACzE,OAAO,CAAC,cAAc,CAA8E;IACpG,OAAO,CAAC,eAAe,CAAkE;IAEzF;;;OAGG;gBACS,OAAO,EAAE,SAAS;IAa9B;;;;;;;OAOG;IACG,WAAW,CAAC,KAAK,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE;;;;;;;;;;;IAezE;;;;OAIG;IACH,OAAO,CAAC,eAAe;IASvB;;;;OAIG;IACH,OAAO,CAAC,mBAAmB;IAa3B;;;;OAIG;IACH,OAAO,CAAC,yBAAyB;IAWjC;;;;OAIG;IACG,WAAW,CAAC,OAAO,EAAE,GAAG,EAAE;IAQhC;;;;;OAKG;IACG,UAAU,CAAC,QAAQ,EAAE,GAAG,EAAE,EAAE,YAAY,CAAC,EAAE,MAAM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,CAAC,GAAG,CAAC;IAgBnE;;;;OAIG;YACW,iBAAiB;YAUjB,kBAAkB;IAchC;;;;OAIG;YACW,sBAAsB;IAOpC;;;;;;;;;OASG;YACW,wBAAwB;IAsBtC;;;;;;;OAOG;YACW,wBAAwB;IAetC;;;;;OAKG;YACW,aAAa;IAgB3B;;;;OAIG;IACH,OAAO,CAAC,oBAAoB;IAa5B;;;;;;OAMG;IACG,UAAU,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAepD;;;;;OAKG;YACW,aAAa;YAQb,eAAe;IAU7B;;;;OAIG;YACW,iBAAiB;IAU/B;;;;OAIG;YACW,cAAc;IAU5B;;;;OAIG;YACW,iBAAiB;CAShC;AAED,eAAe,aAAa,CAAA"}
|
package/dist/index.d.ts
CHANGED
|
@@ -5,4 +5,11 @@ export { default as InMemoryStorage } from './virtualfs/inmemoryStorage.ts';
|
|
|
5
5
|
export { default as GitHubAdapter } from './git/githubAdapter.ts';
|
|
6
6
|
export { default as GitLabAdapter } from './git/gitlabAdapter.ts';
|
|
7
7
|
export { default } from './virtualfs/virtualfs.ts';
|
|
8
|
+
export type { IndexFile, AdapterMeta, CommitInput, BranchListQuery, BranchListPage, RepositoryMetadata, CreateBranchInput, CreateBranchResult, IndexEntry, BranchInfo, Change as VfsChange, FileState } from './virtualfs/types.ts';
|
|
9
|
+
export type { StorageBackend, StorageBackendConstructor, Segment } from './virtualfs/storageBackend.ts';
|
|
10
|
+
export type { Logger } from './git/abstractAdapter.ts';
|
|
11
|
+
export type { CommitHistoryQuery, CommitHistoryPage, CommitSummary, CommitResult, GitAdapter, Change as GitChange } from './git/adapter.ts';
|
|
12
|
+
export type { GHOptions } from './git/githubAdapter.ts';
|
|
13
|
+
export type { GLOptions } from './git/gitlabAdapter.ts';
|
|
14
|
+
export type { RemoteSnapshotDescriptor } from './virtualfs/virtualfs.ts';
|
|
8
15
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,0BAA0B,CAAA;AAC/D,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAE,MAAM,uCAAuC,CAAA;AACzF,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,4BAA4B,CAAA;AACnE,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,gCAAgC,CAAA;AAC3E,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,wBAAwB,CAAA;AACjE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,wBAAwB,CAAA;AACjE,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,0BAA0B,CAAA;AAC/D,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAE,MAAM,uCAAuC,CAAA;AACzF,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,4BAA4B,CAAA;AACnE,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,gCAAgC,CAAA;AAC3E,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,wBAAwB,CAAA;AACjE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,wBAAwB,CAAA;AACjE,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAA;AAGlD,YAAY,EAAE,SAAS,EAAE,WAAW,EAAE,WAAW,EAAE,eAAe,EAAE,cAAc,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,IAAI,SAAS,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAA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