browser-git-ops 0.0.2 → 0.0.4

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.
Files changed (46) hide show
  1. package/README.md +71 -97
  2. package/dist/git/abstractAdapter.d.ts +183 -0
  3. package/dist/git/abstractAdapter.d.ts.map +1 -0
  4. package/dist/git/adapter.d.ts +23 -1
  5. package/dist/git/adapter.d.ts.map +1 -1
  6. package/dist/git/githubAdapter.d.ts +354 -35
  7. package/dist/git/githubAdapter.d.ts.map +1 -1
  8. package/dist/git/gitlabAdapter.d.ts +297 -20
  9. package/dist/git/gitlabAdapter.d.ts.map +1 -1
  10. package/dist/index.d.ts +7 -6
  11. package/dist/index.d.ts.map +1 -1
  12. package/dist/index.js +6012 -843
  13. package/dist/index.js.map +4 -4
  14. package/dist/index.mjs +6012 -843
  15. package/dist/index.mjs.map +4 -4
  16. package/dist/virtualfs/changeTracker.d.ts +66 -0
  17. package/dist/virtualfs/changeTracker.d.ts.map +1 -0
  18. package/dist/virtualfs/conflictManager.d.ts +69 -0
  19. package/dist/virtualfs/conflictManager.d.ts.map +1 -0
  20. package/dist/virtualfs/hashUtils.d.ts +13 -0
  21. package/dist/virtualfs/hashUtils.d.ts.map +1 -0
  22. package/dist/virtualfs/indexManager.d.ts +57 -0
  23. package/dist/virtualfs/indexManager.d.ts.map +1 -0
  24. package/dist/virtualfs/indexedDatabaseStorage.d.ts +7 -0
  25. package/dist/virtualfs/indexedDatabaseStorage.d.ts.map +1 -0
  26. package/dist/virtualfs/inmemoryStorage.d.ts +8 -0
  27. package/dist/virtualfs/inmemoryStorage.d.ts.map +1 -0
  28. package/dist/virtualfs/localChangeApplier.d.ts +21 -0
  29. package/dist/virtualfs/localChangeApplier.d.ts.map +1 -0
  30. package/dist/virtualfs/localFileManager.d.ts +58 -0
  31. package/dist/virtualfs/localFileManager.d.ts.map +1 -0
  32. package/dist/virtualfs/metadataManager.d.ts +18 -0
  33. package/dist/virtualfs/metadataManager.d.ts.map +1 -0
  34. package/dist/virtualfs/opfsStorage.d.ts +2 -63
  35. package/dist/virtualfs/opfsStorage.d.ts.map +1 -1
  36. package/dist/virtualfs/remoteSynchronizer.d.ts +192 -0
  37. package/dist/virtualfs/remoteSynchronizer.d.ts.map +1 -0
  38. package/dist/virtualfs/storageBackend.d.ts +57 -4
  39. package/dist/virtualfs/storageBackend.d.ts.map +1 -1
  40. package/dist/virtualfs/types.d.ts +37 -0
  41. package/dist/virtualfs/types.d.ts.map +1 -1
  42. package/dist/virtualfs/virtualfs.d.ts +290 -86
  43. package/dist/virtualfs/virtualfs.d.ts.map +1 -1
  44. package/package.json +29 -13
  45. package/dist/virtualfs/indexedDbStorage.d.ts +0 -62
  46. package/dist/virtualfs/indexedDbStorage.d.ts.map +0 -1
@@ -1,50 +1,369 @@
1
- import { GitAdapter } from './adapter';
1
+ import { GitAdapter } from './adapter.ts';
2
+ import AbstractGitAdapter, { fetchWithRetry, classifyStatus, getDelayForResponse, processResponseWithDelay, mapWithConcurrency, shaOf } from './abstractAdapter.ts';
2
3
  type GHOptions = {
3
4
  owner: string;
4
5
  repo: string;
5
6
  token: string;
7
+ host?: string;
6
8
  };
7
9
  /**
8
- * リトライ可能なエラー。
10
+ * 指定ミリ秒だけ sleep するユーティリティ
11
+ * @param ms ミリ秒
9
12
  */
10
- export declare class RetryableError extends Error {
11
- }
12
- /**
13
- * リトライ不可能なエラー。
14
- */
15
- export declare class NonRetryableError extends Error {
16
- }
17
- /**
18
- * fetch を再試行付きで実行するユーティリティ。
19
- * 5xx や 429 はリトライ対象、それ以外は NonRetryableError を投げる。
20
- * @param input RequestInfo
21
- * @param init RequestInit
22
- * @param attempts 試行回数
23
- * @param baseDelay ベースの遅延(ms)
24
- */
25
- declare function fetchWithRetry(input: RequestInfo, init: RequestInit, attempts?: number, baseDelay?: number): Promise<Response>;
26
- declare function classifyStatus(status: number): boolean;
27
- declare function getDelayForResponse(res: Response | null, i: number, baseDelay: number): number;
28
- declare function processResponseWithDelay(res: Response, i: number, baseDelay: number): Promise<Response>;
29
- /**
30
- * 非同期マップを並列実行するユーティリティ
31
- * @param items 入力配列
32
- * @param mapper マッピング関数
33
- * @param concurrency 同時実行数
34
- */
35
- declare function mapWithConcurrency<T, R>(items: T[], mapper: (_t: T) => Promise<R>, concurrency?: number): Promise<R[]>;
36
- export declare class GitHubAdapter implements GitAdapter {
37
- private opts;
38
- private baseUrl;
39
- private headers;
13
+ export declare class GitHubAdapter extends AbstractGitAdapter implements GitAdapter {
40
14
  private _fetchWithRetry;
15
+ private repoMetadata;
41
16
  private blobCache;
42
- constructor(opts: GHOptions);
17
+ /**
18
+ * GitHubAdapter を初期化します。
19
+ * @param {GHOptions} opts 設定オブジェクト
20
+ */
21
+ constructor(options: GHOptions);
22
+ /**
23
+ * List commits for a ref (GitHub commits API)
24
+ * @param {{ref:string,perPage?:number,page?:number}} query
25
+ * @returns {Promise<import('./adapter').CommitHistoryPage>} ページ情報を返します
26
+ */
27
+ listCommits(query: {
28
+ ref: string;
29
+ perPage?: number;
30
+ page?: number;
31
+ }): Promise<{
32
+ items: {
33
+ sha: any;
34
+ message: any;
35
+ author: any;
36
+ date: any;
37
+ parents: any;
38
+ }[];
39
+ nextPage: number | undefined;
40
+ lastPage: number | undefined;
41
+ }>;
42
+ /**
43
+ * 応答テキストを JSON 配列として解析します(失敗時は空配列を返す)。
44
+ * @param {string} text 応答テキスト
45
+ * @returns {any[]}
46
+ */
47
+ private _parseJsonArray;
48
+ /**
49
+ * GitHub の Link ヘッダを解析して next/last ページを返します。
50
+ * @param {string|undefined} linkHdr Link ヘッダ文字列
51
+ * @returns {{nextPage?: number, lastPage?: number}} ページ番号情報
52
+ */
53
+ private _parseLinkHeaderString;
54
+ /**
55
+ * Map a raw GitHub commit object to CommitSummary shape used by the adapter.
56
+ * @param {any} c Raw commit object
57
+ * @returns {import('./adapter').CommitSummary}
58
+ */
59
+ private _mapGithubCommitToSummary;
60
+ /**
61
+ * コンテンツから sha1 を算出します。
62
+ * @param {string} content コンテンツ
63
+ * @returns {string} sha1 ハッシュ
64
+ */
65
+ /**
66
+ * ブロブを作成またはキャッシュから取得します。
67
+ * @param {any[]} changes 変更一覧(create/update を含む)
68
+ * @param {number} [concurrency=5] 同時実行数
69
+ * @returns {Promise<Record<string,string>>} パス→blobSha のマップ
70
+ */
43
71
  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
+ /**
78
+ * Create a blob for a change or return cached blobSha.
79
+ * @param {any} ch change entry
80
+ * @returns {Promise<{path:string,sha:string}>}
81
+ */
82
+ private _createBlobForChange;
83
+ /**
84
+ * 互換用のツリー作成。
85
+ * @param {any[]} changes 変更一覧
86
+ * @param {string} [baseTreeSha] ベースツリー
87
+ * @returns {Promise<string>} 作成されたツリーの sha
88
+ */
44
89
  createTree(changes: any[], baseTreeSha?: string): Promise<string>;
90
+ /**
91
+ * コミットを作成します。
92
+ * @param {string} message コミットメッセージ
93
+ * @param {string} parentSha 親コミット SHA
94
+ * @param {string} treeSha ツリー SHA
95
+ * @returns {Promise<string>} 新規コミット SHA
96
+ */
45
97
  createCommit(message: string, parentSha: string, treeSha: string): Promise<string>;
46
- updateRef(ref: string, commitSha: string, force?: boolean): Promise<void>;
98
+ /**
99
+ * Retrieve repository metadata (default branch, name, id) and cache it.
100
+ * @returns {Promise<import('../virtualfs/types.ts').RepositoryMetadata>} repository metadata
101
+ */
102
+ getRepositoryMetadata(): Promise<import('../virtualfs/types.ts').RepositoryMetadata>;
103
+ /**
104
+ * Build repository metadata object from API response body.
105
+ * @param data API response body
106
+ * @returns {import('../virtualfs/types.ts').RepositoryMetadata}
107
+ */
108
+ private _makeRepoMetadata;
109
+ /**
110
+ * List branches via GitHub API and map to BranchListPage.
111
+ * @returns {Promise<{items:any[],nextPage?:number,lastPage?:number}>}
112
+ */
113
+ listBranches(query?: import('../virtualfs/types.ts').BranchListQuery): Promise<{
114
+ items: {
115
+ name: any;
116
+ commit: {
117
+ sha: any;
118
+ url: any;
119
+ };
120
+ protected: boolean;
121
+ isDefault: boolean;
122
+ }[];
123
+ nextPage: number | undefined;
124
+ lastPage: number | undefined;
125
+ }>;
126
+ /**
127
+ * Map raw branch objects returned by API to adapter Branch item shape.
128
+ * @param {any[]} parsed raw branch array
129
+ * @param {any} repoMeta repository metadata
130
+ * @returns {any[]}
131
+ */
132
+ private _mapBranchItems;
133
+ /**
134
+ * 参照を更新します。
135
+ * @param {string} ref 参照名(例: heads/main)
136
+ * @param {string} commitSha コミット SHA
137
+ * @param {boolean} force 強制更新フラグ
138
+ */
139
+ updateRef(reference: string, commitSha: string, force?: boolean): Promise<void>;
140
+ /**
141
+ * 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
144
+ * @returns {Promise<import('../virtualfs/types.ts').CreateBranchResult>} created branch info
145
+ */
146
+ createBranch(branchName: string, fromSha: string): Promise<import('../virtualfs/types.ts').CreateBranchResult>;
147
+ /**
148
+ * Normalize common createBranch error messages into thrown NonRetryableError/Error.
149
+ * @param {string} message error message text
150
+ * @param {string} branchName branch attempted
151
+ * @returns {never}
152
+ */
153
+ private _handleCreateBranchError;
154
+ /**
155
+ * 指定コミットの tree SHA を取得します。
156
+ * @param commitSha コミット SHA
157
+ * @returns {Promise<string>} tree の SHA
158
+ */
159
+ getCommitTreeSha(commitSha: string): Promise<string>;
160
+ /**
161
+ * 指定 ref の先頭コミット SHA を取得します。
162
+ * @param ref 例: `heads/main`
163
+ * @returns {Promise<string>} 参照先のコミット SHA
164
+ */
165
+ 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
+ /**
171
+ * Fetch a ref URL and extract a SHA if present.
172
+ * @param {string} url API URL to fetch
173
+ * @returns {Promise<string|null>} sha string when found, otherwise null
174
+ */
175
+ private _getRefShaFromUrl;
176
+ /**
177
+ * Determine the head SHA for a branch; fallback to branch name if unavailable.
178
+ * @param {string} branch branch name
179
+ * @returns {Promise<string>} head SHA or branch
180
+ */
181
+ private _determineHeadSha;
182
+ /**
183
+ * Get commit SHA from the branches API for a branch name.
184
+ * @param {string} branch branch name
185
+ * @returns {Promise<string|null>} commit SHA or null when not found
186
+ */
187
+ private _getBranchCommitSha;
188
+ /**
189
+ * Get commit SHA from the commits endpoint for a given reference.
190
+ * @param {string} reference commit-ish reference
191
+ * @returns {Promise<string|null>} commit SHA or null when not found
192
+ */
193
+ private _getCommitEndpointSha;
194
+ /**
195
+ * tree を取得します(必要なら再帰取得)。
196
+ * @param treeSha tree の SHA
197
+ * @param recursive 再帰フラグ
198
+ * @returns {Promise<any[]>} tree の配列
199
+ */
200
+ getTree(treeSha: string, recursive?: boolean): Promise<any[]>;
201
+ /**
202
+ * blob を取得してデコードして返します。
203
+ * @param blobSha blob の SHA
204
+ * @returns {Promise<{content:string,encoding:string}>} デコード済みコンテンツとエンコーディング
205
+ */
206
+ getBlob(blobSha: string): Promise<{
207
+ content: any;
208
+ encoding: any;
209
+ }>;
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
+ /**
223
+ * Resolve a commit-ish (branch, tag, or SHA) to a commit SHA.
224
+ * Resolution order: branch -> tag -> commit endpoint -> treat as SHA
225
+ * Throws if resolution fails.
226
+ * @param {string} reference commit-ish to resolve
227
+ * @returns {Promise<string>} resolved commit SHA
228
+ */
229
+ resolveRef(reference: string): Promise<string>;
230
+ /**
231
+ * Run resolver functions in order and return the first non-null result.
232
+ * @param {string} reference commit-ish to resolve
233
+ * @param {Array<(_reference: string) => Promise<string | null>>} resolvers resolver functions
234
+ * @returns {Promise<string|null>} resolved sha or null
235
+ */
236
+ 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
+ /**
243
+ * Try to resolve a branch name to a commit SHA.
244
+ * @param {string} reference branch name
245
+ * @returns {Promise<string|null>}
246
+ */
247
+ 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
+ /**
254
+ * Try to resolve a tag name to a commit SHA.
255
+ * @param {string} reference tag name
256
+ * @returns {Promise<string|null>}
257
+ */
258
+ 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
+ /**
265
+ * Try to resolve via commits endpoint (may accept SHA or other forms).
266
+ * @param {string} reference commit-ish
267
+ * @returns {Promise<string|null>}
268
+ */
269
+ 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
+ /**
276
+ * Fetch a blob's content; return null content on failure.
277
+ * @param {any} f blob metadata
278
+ * @returns {Promise<{path:string,content:string|null}>}
279
+ */
280
+ private _fetchBlobContentOrNull;
281
+ /**
282
+ * Decode a base64 string into UTF-8 text. Uses global Buffer when available,
283
+ * falls back to atob/TextDecoder for browsers.
284
+ * @returns {string} decoded UTF-8 string
285
+ */
286
+ 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
+ /**
298
+ * Fetch repository snapshot: headSha, shas map and a fetchContent helper.
299
+ * @param {string} branch branch name
300
+ * @param {number} concurrency fetch concurrency
301
+ * @returns {Promise<{headSha:string,shas:Record<string,string>,fetchContent:Function,snapshot:Record<string,string>}>}
302
+ */
303
+ fetchSnapshot(branch?: string, concurrency?: number): Promise<any>;
304
+ /**
305
+ * Bound helper used to construct the `fetchContent` function returned by `fetchSnapshot`.
306
+ * @param {Map<string, any>} fileMap file metadata map
307
+ * @param {Map<string,string>} contentCache cache map
308
+ * @param {Record<string,string>} snapshot snapshot map to populate
309
+ * @param {number} concurrency concurrency level
310
+ * @param {string[]} paths requested paths
311
+ * @returns {Promise<Record<string,string>>}
312
+ */
313
+ private _fetchSnapshotForFileMap;
314
+ /**
315
+ * Build file map and shas from a head SHA by fetching the tree.
316
+ * @param {string} headSha head commit SHA
317
+ * @returns {Promise<{shas:Record<string,string>,fileMap:Map<string,any>}>}
318
+ */
319
+ private _buildFileMapFromHead;
320
+ /**
321
+ * Fetch contents for given paths from a file map with caching and concurrency.
322
+ * @param {Map<string, any>} fileMap map of file metadata
323
+ * @param {Map<string,string>} contentCache cache map
324
+ * @param {Record<string,string>} snapshot output snapshot
325
+ * @param {string[]} paths requested paths
326
+ * @param {number} concurrency concurrency level
327
+ * @returns {Promise<Record<string,string>>}
328
+ */
329
+ private _fetchContentFromMap;
330
+ /**
331
+ * Mapper used by _fetchContentFromMap when fetching multiple files.
332
+ * @param {Map<string, any>} fileMap file metadata map
333
+ * @param {Map<string,string>} contentCache cache map
334
+ * @param {Record<string,string>} snapshot snapshot map to populate
335
+ * @param {Record<string,string>} out output map to collect results
336
+ * @param {string} p requested path
337
+ * @returns {Promise<null>}
338
+ */
339
+ 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
+ /**
357
+ * Fetch single path content, update cache and snapshot.
358
+ * @param {Map<string, any>} fileMap file map
359
+ * @param {Map<string,string>} contentCache cache map
360
+ * @param {Record<string,string>} snapshot snapshot map
361
+ * @param {string} p path to fetch
362
+ * @returns {Promise<string|null>}
363
+ */
364
+ private _fetchContentForPath;
47
365
  }
48
- export { fetchWithRetry, classifyStatus, getDelayForResponse, processResponseWithDelay, mapWithConcurrency };
366
+ export { fetchWithRetry, classifyStatus, getDelayForResponse, processResponseWithDelay, mapWithConcurrency, shaOf };
367
+ export { RetryableError, NonRetryableError } from './abstractAdapter.ts';
49
368
  export default GitHubAdapter;
50
369
  //# sourceMappingURL=githubAdapter.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"githubAdapter.d.ts","sourceRoot":"","sources":["../../src/git/githubAdapter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA;AAGtC,KAAK,SAAS,GAAG;IACf,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAED;;GAEG;AACH,qBAAa,cAAe,SAAQ,KAAK;CAAG;AAE5C;;GAEG;AACH,qBAAa,iBAAkB,S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