@deepseek-ai/dsh-experimental-client-ui-forge 0.2.2-alpha.3 → 0.2.2-rc.2
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.i18n.yaml +8 -8
- package/README.md +41 -14
- package/README.zh.md +40 -13
- package/lib/client.js +13 -11800
- package/lib/client.js.map +1 -0
- package/lib/index.js +1340 -115
- package/lib/typert.host.js +1715 -212
- package/lib/typert.remote-client.d.ts +42 -5
- package/lib/typert.remote-client.d.ts.map +1 -0
- package/lib/typert.remote-client.js +1523 -244
- package/lib/types/client/ActionToast.d.ts.map +1 -0
- package/lib/types/client/ActionToast.js.map +1 -0
- package/lib/types/client/BaseMenu.d.ts +30 -0
- package/lib/types/client/BaseMenu.d.ts.map +1 -0
- package/lib/types/client/BaseMenu.js.map +1 -0
- package/lib/types/client/ChangeRequestCard.d.ts +9 -5
- package/lib/types/client/ChangeRequestCard.d.ts.map +1 -0
- package/lib/types/client/ChangeRequestCard.js.map +1 -0
- package/lib/types/client/ChangeRequestOverview.d.ts +124 -0
- package/lib/types/client/ChangeRequestOverview.d.ts.map +1 -0
- package/lib/types/client/ChangeRequestOverview.js.map +1 -0
- package/lib/types/client/ChangedFiles.d.ts +2 -0
- package/lib/types/client/ChangedFiles.d.ts.map +1 -0
- package/lib/types/client/ChangedFiles.js.map +1 -0
- package/lib/types/client/ChangesTab.d.ts +30 -5
- package/lib/types/client/ChangesTab.d.ts.map +1 -0
- package/lib/types/client/ChangesTab.js.map +1 -0
- package/lib/types/client/ChangesTabTitle.d.ts.map +1 -0
- package/lib/types/client/ChangesTabTitle.js.map +1 -0
- package/lib/types/client/CommitMenu.d.ts +41 -0
- package/lib/types/client/CommitMenu.d.ts.map +1 -0
- package/lib/types/client/CommitMenu.js.map +1 -0
- package/lib/types/client/DiffFile.d.ts +47 -15
- package/lib/types/client/DiffFile.d.ts.map +1 -0
- package/lib/types/client/DiffFile.js.map +1 -0
- package/lib/types/client/FileLabel.d.ts.map +1 -0
- package/lib/types/client/FileLabel.js.map +1 -0
- package/lib/types/client/FileTreePane.d.ts +4 -2
- package/lib/types/client/FileTreePane.d.ts.map +1 -0
- package/lib/types/client/FileTreePane.js.map +1 -0
- package/lib/types/client/ForgeTab.d.ts +9 -1
- package/lib/types/client/ForgeTab.d.ts.map +1 -0
- package/lib/types/client/ForgeTab.js.map +1 -0
- package/lib/types/client/ForgeTabTitle.d.ts.map +1 -0
- package/lib/types/client/ForgeTabTitle.js.map +1 -0
- package/lib/types/client/HeaderButton.d.ts.map +1 -0
- package/lib/types/client/HeaderButton.js.map +1 -0
- package/lib/types/client/LocalChangesCard.d.ts.map +1 -0
- package/lib/types/client/LocalChangesCard.js.map +1 -0
- package/lib/types/client/RefreshGlyph.d.ts.map +1 -0
- package/lib/types/client/RefreshGlyph.js.map +1 -0
- package/lib/types/client/ReviewComposer.d.ts +20 -6
- package/lib/types/client/ReviewComposer.d.ts.map +1 -0
- package/lib/types/client/ReviewComposer.js.map +1 -0
- package/lib/types/client/ReviewControls.d.ts +79 -0
- package/lib/types/client/ReviewControls.d.ts.map +1 -0
- package/lib/types/client/ReviewControls.js.map +1 -0
- package/lib/types/client/ReviewThread.d.ts +4 -4
- package/lib/types/client/ReviewThread.d.ts.map +1 -0
- package/lib/types/client/ReviewThread.js.map +1 -0
- package/lib/types/client/ReviewThreads.d.ts +108 -0
- package/lib/types/client/ReviewThreads.d.ts.map +1 -0
- package/lib/types/client/ReviewThreads.js.map +1 -0
- package/lib/types/client/SessionHoverForge.d.ts.map +1 -0
- package/lib/types/client/SessionHoverForge.js.map +1 -0
- package/lib/types/client/SessionRowForge.d.ts +1 -1
- package/lib/types/client/SessionRowForge.d.ts.map +1 -0
- package/lib/types/client/SessionRowForge.js.map +1 -0
- package/lib/types/client/SubmitReview.d.ts +12 -4
- package/lib/types/client/SubmitReview.d.ts.map +1 -0
- package/lib/types/client/SubmitReview.js.map +1 -0
- package/lib/types/client/ThreadList.d.ts +43 -0
- package/lib/types/client/ThreadList.d.ts.map +1 -0
- package/lib/types/client/ThreadList.js.map +1 -0
- package/lib/types/client/ViewOptionsMenu.d.ts +31 -0
- package/lib/types/client/ViewOptionsMenu.d.ts.map +1 -0
- package/lib/types/client/ViewOptionsMenu.js.map +1 -0
- package/lib/types/client/WorktreeProgress.d.ts.map +1 -0
- package/lib/types/client/WorktreeProgress.js.map +1 -0
- package/lib/types/client/WorktreeSettings.d.ts +12 -0
- package/lib/types/client/WorktreeSettings.d.ts.map +1 -0
- package/lib/types/client/WorktreeSettings.js.map +1 -0
- package/lib/types/client/WorktreeToggle.d.ts.map +1 -0
- package/lib/types/client/WorktreeToggle.js.map +1 -0
- package/lib/types/client/changes-address.d.ts.map +1 -0
- package/lib/types/client/changes-address.js.map +1 -0
- package/lib/types/client/changes-store.d.ts +20 -5
- package/lib/types/client/changes-store.d.ts.map +1 -0
- package/lib/types/client/changes-store.js.map +1 -0
- package/lib/types/client/checkout.d.ts.map +1 -0
- package/lib/types/client/checkout.js.map +1 -0
- package/lib/types/client/code-selection.d.ts.map +1 -0
- package/lib/types/client/code-selection.js.map +1 -0
- package/lib/types/client/diff-rows.d.ts.map +1 -0
- package/lib/types/client/diff-rows.js.map +1 -0
- package/lib/types/client/file-tree.d.ts.map +1 -0
- package/lib/types/client/file-tree.js.map +1 -0
- package/lib/types/client/format.d.ts.map +1 -0
- package/lib/types/client/format.js.map +1 -0
- package/lib/types/client/glyphs.d.ts +4 -2
- package/lib/types/client/glyphs.d.ts.map +1 -0
- package/lib/types/client/glyphs.js.map +1 -0
- package/lib/types/client/host-viewed.d.ts +84 -0
- package/lib/types/client/host-viewed.d.ts.map +1 -0
- package/lib/types/client/host-viewed.js.map +1 -0
- package/lib/types/client/index.d.ts.map +1 -0
- package/lib/types/client/index.js.map +1 -0
- package/lib/types/client/locales.d.ts +175 -3
- package/lib/types/client/locales.d.ts.map +1 -0
- package/lib/types/client/locales.js.map +1 -0
- package/lib/types/client/menu-search.d.ts +10 -0
- package/lib/types/client/menu-search.d.ts.map +1 -0
- package/lib/types/client/menu-search.js.map +1 -0
- package/lib/types/client/mount.d.ts +4 -0
- package/lib/types/client/mount.d.ts.map +1 -0
- package/lib/types/client/mount.js.map +1 -0
- package/lib/types/client/review-queue.d.ts +5 -8
- package/lib/types/client/review-queue.d.ts.map +1 -0
- package/lib/types/client/review-queue.js.map +1 -0
- package/lib/types/client/review-threads.d.ts +108 -0
- package/lib/types/client/review-threads.d.ts.map +1 -0
- package/lib/types/client/review-threads.js.map +1 -0
- package/lib/types/client/review.d.ts +31 -4
- package/lib/types/client/review.d.ts.map +1 -0
- package/lib/types/client/review.js.map +1 -0
- package/lib/types/client/section-reach.d.ts +26 -0
- package/lib/types/client/section-reach.d.ts.map +1 -0
- package/lib/types/client/section-reach.js.map +1 -0
- package/lib/types/client/session-list.d.ts.map +1 -0
- package/lib/types/client/session-list.js.map +1 -0
- package/lib/types/client/source.d.ts.map +1 -0
- package/lib/types/client/source.js.map +1 -0
- package/lib/types/client/status.d.ts.map +1 -0
- package/lib/types/client/status.js.map +1 -0
- package/lib/types/client/thread-state.d.ts +68 -0
- package/lib/types/client/thread-state.d.ts.map +1 -0
- package/lib/types/client/thread-state.js.map +1 -0
- package/lib/types/client/toolbar-fold.d.ts +19 -0
- package/lib/types/client/toolbar-fold.d.ts.map +1 -0
- package/lib/types/client/toolbar-fold.js.map +1 -0
- package/lib/types/client/viewed-files.d.ts +70 -0
- package/lib/types/client/viewed-files.d.ts.map +1 -0
- package/lib/types/client/viewed-files.js.map +1 -0
- package/lib/types/client/worktree-settings-form.d.ts +32 -0
- package/lib/types/client/worktree-settings-form.d.ts.map +1 -0
- package/lib/types/client/worktree-settings-form.js.map +1 -0
- package/lib/types/commit-range.d.ts +17 -0
- package/lib/types/commit-range.d.ts.map +1 -0
- package/lib/types/commit-range.js.map +1 -0
- package/lib/types/diff.d.ts +10 -2
- package/lib/types/diff.d.ts.map +1 -0
- package/lib/types/diff.js.map +1 -0
- package/lib/types/git.d.ts.map +1 -0
- package/lib/types/git.js.map +1 -0
- package/lib/types/index.d.ts +194 -14
- package/lib/types/index.d.ts.map +1 -0
- package/lib/types/index.js.map +1 -0
- package/lib/types/layers.d.ts +66 -0
- package/lib/types/layers.d.ts.map +1 -0
- package/lib/types/layers.js.map +1 -0
- package/lib/types/local-diff.d.ts +54 -6
- package/lib/types/local-diff.d.ts.map +1 -0
- package/lib/types/local-diff.js.map +1 -0
- package/lib/types/panel.d.ts.map +1 -0
- package/lib/types/panel.js.map +1 -0
- package/lib/types/parse.d.ts +16 -0
- package/lib/types/parse.d.ts.map +1 -0
- package/lib/types/parse.js.map +1 -0
- package/lib/types/patch-cache.d.ts +12 -7
- package/lib/types/patch-cache.d.ts.map +1 -0
- package/lib/types/patch-cache.js.map +1 -0
- package/lib/types/review-cache.d.ts +54 -0
- package/lib/types/review-cache.d.ts.map +1 -0
- package/lib/types/review-cache.js.map +1 -0
- package/lib/types/states.d.ts.map +1 -0
- package/lib/types/states.js.map +1 -0
- package/lib/types/types.d.ts +113 -11
- package/lib/types/types.d.ts.map +1 -0
- package/lib/types/types.js.map +1 -0
- package/lib/types/wildmatch.d.ts +14 -0
- package/lib/types/wildmatch.d.ts.map +1 -0
- package/lib/types/wildmatch.js.map +1 -0
- package/lib/types/worktree.d.ts +8 -6
- package/lib/types/worktree.d.ts.map +1 -0
- package/lib/types/worktree.js.map +1 -0
- package/package.json +59 -49
- package/src/client/ActionToast.tsx +38 -0
- package/src/client/BaseMenu.module.css +153 -0
- package/src/client/BaseMenu.tsx +180 -0
- package/src/client/ChangeRequestCard.tsx +439 -0
- package/src/client/ChangeRequestOverview.module.css +196 -0
- package/src/client/ChangeRequestOverview.tsx +620 -0
- package/src/client/ChangedFiles.module.css +26 -0
- package/src/client/ChangedFiles.tsx +144 -0
- package/src/client/ChangesTab.module.css +984 -0
- package/src/client/ChangesTab.tsx +1288 -0
- package/src/client/ChangesTabTitle.tsx +28 -0
- package/src/client/CommitMenu.module.css +139 -0
- package/src/client/CommitMenu.tsx +186 -0
- package/src/client/DiffFile.tsx +621 -0
- package/src/client/FileLabel.module.css +53 -0
- package/src/client/FileLabel.tsx +66 -0
- package/src/client/FileTreePane.module.css +10 -0
- package/src/client/FileTreePane.tsx +79 -0
- package/src/client/ForgeTab.module.css +627 -0
- package/src/client/ForgeTab.tsx +263 -0
- package/src/client/ForgeTabTitle.tsx +21 -0
- package/src/client/HeaderButton.module.css +29 -0
- package/src/client/HeaderButton.tsx +68 -0
- package/src/client/LocalChangesCard.tsx +83 -0
- package/src/client/RefreshGlyph.module.css +22 -0
- package/src/client/RefreshGlyph.tsx +35 -0
- package/src/client/ReviewComposer.module.css +37 -0
- package/src/client/ReviewComposer.tsx +128 -0
- package/src/client/ReviewControls.module.css +162 -0
- package/src/client/ReviewControls.tsx +191 -0
- package/src/client/ReviewThread.tsx +96 -0
- package/src/client/ReviewThreads.module.css +326 -0
- package/src/client/ReviewThreads.tsx +443 -0
- package/src/client/SessionHoverForge.tsx +72 -0
- package/src/client/SessionList.module.css +85 -0
- package/src/client/SessionRowForge.tsx +86 -0
- package/src/client/SubmitReview.module.css +26 -0
- package/src/client/SubmitReview.tsx +95 -0
- package/src/client/ThreadList.module.css +218 -0
- package/src/client/ThreadList.tsx +165 -0
- package/src/client/ViewOptionsMenu.tsx +79 -0
- package/src/client/WorktreeProgress.module.css +226 -0
- package/src/client/WorktreeProgress.tsx +280 -0
- package/src/client/WorktreeSettings.module.css +29 -0
- package/src/client/WorktreeSettings.tsx +42 -0
- package/src/client/WorktreeToggle.module.css +132 -0
- package/src/client/WorktreeToggle.tsx +165 -0
- package/src/client/changes-address.ts +110 -0
- package/src/client/changes-store.ts +155 -0
- package/src/client/checkout.ts +75 -0
- package/src/client/code-selection.ts +53 -0
- package/src/client/diff-rows.ts +199 -0
- package/src/client/file-tree.ts +86 -0
- package/src/client/format.ts +37 -0
- package/src/client/glyphs.tsx +151 -0
- package/src/client/host-viewed.ts +195 -0
- package/src/client/index.ts +31 -0
- package/src/client/locales.ts +3446 -0
- package/src/client/menu-search.ts +16 -0
- package/src/client/mount.ts +439 -0
- package/src/client/review-queue.ts +256 -0
- package/src/client/review-threads.ts +204 -0
- package/src/client/review.ts +120 -0
- package/src/client/section-reach.ts +61 -0
- package/src/client/session-list.ts +79 -0
- package/src/client/source.ts +274 -0
- package/src/client/status.ts +171 -0
- package/src/client/thread-state.ts +127 -0
- package/src/client/toolbar-fold.ts +70 -0
- package/src/client/viewed-files.ts +178 -0
- package/src/client/worktree-settings-form.ts +43 -0
- package/src/commit-range.ts +27 -0
- package/src/css-modules.d.ts +5 -0
- package/src/diff.ts +162 -0
- package/src/git.ts +293 -0
- package/src/index.ts +1162 -0
- package/src/layers.ts +163 -0
- package/src/local-diff.ts +438 -0
- package/src/panel.ts +422 -0
- package/src/parse.ts +137 -0
- package/src/patch-cache.ts +73 -0
- package/src/review-cache.ts +98 -0
- package/src/states.ts +350 -0
- package/src/types.ts +504 -0
- package/src/wildmatch.ts +121 -0
- package/src/worktree.ts +576 -0
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Browser-persisted viewed marks of changed files. Each Session keeps one storage entry that maps a diff source,
|
|
3
|
+
* such as a change request or a local scope with its base ref and chosen commits, to the digest of each file's
|
|
4
|
+
* change when the reader marked it viewed. A mark whose digest differs from the file's current change reports the
|
|
5
|
+
* file as changed since it was viewed. Several browser tabs of one Session share the entry: each mark rewrites the
|
|
6
|
+
* entry as storage holds it, and marks saved by another tab reach this one through the `storage` event.
|
|
7
|
+
*/
|
|
8
|
+
/** Viewed state of one file in the diff a reader sees. */
|
|
9
|
+
export type ViewedState = 'viewed' | 'changed' | 'unviewed';
|
|
10
|
+
/** Digests of the files marked viewed in one source, by path; stable until a mark in that source changes. */
|
|
11
|
+
export type ViewedMarks = ReadonlyMap<string, string>;
|
|
12
|
+
/**
|
|
13
|
+
* Classify a file by its mark.
|
|
14
|
+
* @param marks - the marks of the source the diff shows.
|
|
15
|
+
* @param path - the file's path.
|
|
16
|
+
* @param digest - the digest of the file's current change.
|
|
17
|
+
* @returns `viewed` for a mark of this change, `changed` for a mark of an earlier change, else `unviewed`.
|
|
18
|
+
*/
|
|
19
|
+
export declare function viewedStateOf(marks: ViewedMarks, path: string, digest: string): ViewedState;
|
|
20
|
+
/**
|
|
21
|
+
* One Session's viewed marks. Unreadable storage shows no marks and refuses writes while it stays unreadable. While
|
|
22
|
+
* anything subscribes, marks another tab saves replace the ones shown.
|
|
23
|
+
*/
|
|
24
|
+
export declare class ViewedFiles {
|
|
25
|
+
private readonly session;
|
|
26
|
+
private readonly now;
|
|
27
|
+
private sources;
|
|
28
|
+
private readonly listeners;
|
|
29
|
+
private readonly snapshots;
|
|
30
|
+
private readonly key;
|
|
31
|
+
/**
|
|
32
|
+
* @param session - storage identity of the Session, such as its id.
|
|
33
|
+
* @param now - clock of the least-recently-marked bounds.
|
|
34
|
+
*/
|
|
35
|
+
constructor(session: string, now?: () => number);
|
|
36
|
+
/**
|
|
37
|
+
* Read the marks of one source.
|
|
38
|
+
* @param key - identity of the diff source.
|
|
39
|
+
* @returns digests by path, the same object until a mark in the source changes.
|
|
40
|
+
*/
|
|
41
|
+
readonly marksOf: (key: string) => ViewedMarks;
|
|
42
|
+
/**
|
|
43
|
+
* Observe changed marks.
|
|
44
|
+
* @param listener - called after each saved mark.
|
|
45
|
+
* @returns unsubscribe.
|
|
46
|
+
*/
|
|
47
|
+
readonly subscribe: (listener: () => void) => (() => void);
|
|
48
|
+
/**
|
|
49
|
+
* Mark one file viewed at its current change or clear its mark, dropping the marks of paths the diff no longer has.
|
|
50
|
+
* @param key - identity of the diff source.
|
|
51
|
+
* @param files - every file of the diff with the digest of its change.
|
|
52
|
+
* @param path - the file to mark.
|
|
53
|
+
* @param viewed - whether the file is viewed.
|
|
54
|
+
* @returns whether the mark was saved; the marks are unchanged when storage is unreadable or refuses the write.
|
|
55
|
+
*/
|
|
56
|
+
mark(key: string, files: readonly {
|
|
57
|
+
readonly path: string;
|
|
58
|
+
readonly digest: string;
|
|
59
|
+
}[], path: string, viewed: boolean): boolean;
|
|
60
|
+
/** The saved marks of this Session, or undefined when storage cannot be read or holds an entry it cannot parse. */
|
|
61
|
+
private load;
|
|
62
|
+
/** Show the saved marks when they differ from the shown ones. */
|
|
63
|
+
private reload;
|
|
64
|
+
private replace;
|
|
65
|
+
/** Another document changed this Session's entry, or with a null key cleared the whole storage. */
|
|
66
|
+
private readonly stored;
|
|
67
|
+
/** Move this Session to the front of the index and drop the marks of Sessions beyond {@link MAX_SESSIONS}. */
|
|
68
|
+
private remember;
|
|
69
|
+
}
|
|
70
|
+
//# sourceMappingURL=viewed-files.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"viewed-files.d.ts","sourceRoot":"","sources":["../../../src/client/viewed-files.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAmBH,0DAA0D;AAC1D,MAAM,MAAM,WAAW,GAAG,QAAQ,GAAG,SAAS,GAAG,UAAU,CAAA;AAE3D,6GAA6G;AAC7G,MAAM,MAAM,WAAW,GAAG,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;AAIrD;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,WAAW,CAG3F;AAED;;;GAGG;AACH,qBAAa,WAAW;IAUV,OAAO,CAAC,QAAQ,CAAC,OAAO;IAAU,OAAO,CAAC,QAAQ,CAAC,GAAG;IATlE,OAAO,CAAC,OAAO,CAAS;IACxB,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAwB;IAClD,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAiC;IAC3D,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAQ;IAE5B;;;OAGG;gBAC0B,OAAO,EAAE,MAAM,EAAmB,GAAG,GAAE,MAAM,MAAiB;IAK3F;;;;OAIG;IACH,QAAQ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C,CAAC,CAAA;QACrE,CAAC;QAAC,OAAO,MAAM,EAAE,CAAC;YAChB,uEAAuE;QACzE,CAAC;QACD,MAAM,QAAQ,GAAG,CAAC,IAAI,CAAC,OAAO,EAAE,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,KAAK,IAAI,CAAC,OAAO,CAAC,CAAC,CAAA;QAChF,IAAI,CAAC;YACH,UAAU,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAA;QAC3B,CAAC;QAAC,OAAO,MAAM,EAAE,CAAC;YAChB,kGAAkG;QACpG,CAAC;IACH,CAAC;CACF;AAED,kGAAkG;AAClG,SAAS,UAAU,CAAC,GAAW,EAAE,QAA2B;IAC1D,KAAK,MAAM,OAAO,IAAI,QAAQ,CAAC,KAAK,CAAC,YAAY,CAAC;QAAE,YAAY,CAAC,UAAU,CAAC,GAAG,MAAM,IAAI,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,EAAE,CAAC,CAAA;IACnH,YAAY,CAAC,OAAO,CAAC,GAAG,EAAE,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,EAAE,YAAY,CAAC,CAAC,CAAC,CAAA;AAC5E,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/** Staged worktree row settings using the shared Plugins form model. */
|
|
2
|
+
import { type SettingsFieldState, type SettingsFormActions, type SettingsFormScope, type SettingsFormShell } from '@deepseek-ai/dsh-client-ui-primitives';
|
|
3
|
+
import type { SnapshotStore } from '@deepseek-ai/dsh-client-store';
|
|
4
|
+
/** The volatile fields of the worktree service's Config. */
|
|
5
|
+
export interface WorktreeSettings {
|
|
6
|
+
retainOnArchive: boolean;
|
|
7
|
+
}
|
|
8
|
+
/** Current drafts and the shared form status. */
|
|
9
|
+
export interface WorktreeFormState extends SettingsFormShell {
|
|
10
|
+
retainOnArchive: SettingsFieldState;
|
|
11
|
+
}
|
|
12
|
+
/** Registration-side form observable and edit callbacks. */
|
|
13
|
+
export interface WorktreeSettingsInjected extends SettingsFormActions {
|
|
14
|
+
hooks: {
|
|
15
|
+
worktreeForm: SnapshotStore<WorktreeFormState>;
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
/** Stages the retain switch until the reader saves it; the draft text is `true` or `false`. */
|
|
19
|
+
export declare class WorktreeSettingsForm {
|
|
20
|
+
private readonly form;
|
|
21
|
+
private readonly state;
|
|
22
|
+
/** @param scope - Host-backed configuration form of the worktree row. */
|
|
23
|
+
constructor(scope: SettingsFormScope<WorktreeSettings>);
|
|
24
|
+
/**
|
|
25
|
+
* Build the registration face for the row page.
|
|
26
|
+
* @returns draft observable and shared edit/save actions.
|
|
27
|
+
*/
|
|
28
|
+
inject(): WorktreeSettingsInjected;
|
|
29
|
+
/** Release the accepted-value subscription. */
|
|
30
|
+
dispose(): void;
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=worktree-settings-form.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"worktree-settings-form.d.ts","sourceRoot":"","sources":["../../../src/client/worktree-settings-form.ts"],"names":[],"mappings":"AAAA,wEAAwE;AACxE,OAAO,EAAqB,KAAK,kBAAkB,EAAE,KAAK,mBAAmB,EAAE,KAAK,iBAAiB,EACnG,KAAK,iBAAiB,EAAE,MAAM,uCAAuC,CAAA;AACvE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAA;AAElE,4DAA4D;AAC5D,MAAM,WAAW,gBAAgB;IAC/B,eAAe,EAAE,OAAO,CAAA;CACzB;AAED,iDAAiD;AACjD,MAAM,WAAW,iBAAkB,SAAQ,iBAAiB;IAC1D,eAAe,EAAE,kBAAkB,CAAA;CACpC;AAED,4DAA4D;AAC5D,MAAM,WAAW,wBAAyB,SAAQ,mBAAmB;IACnE,KAAK,EAAE;QAAE,YAAY,EAAE,aAAa,CAAC,iBAAiB,CAAC,CAAA;KAAE,CAAA;CAC1D;AAED,+FAA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AI,CAAC,KAAK,CAAC,iBAAiB,CAAC,EAAE,CAAC,CAAC,CAAA;IACpH,CAAC;IAED;;;OAGG;IACH,MAAM,KAA+B,OAAO,EAAE,KAAK,EAAE,EAAE,YAAY,EAAE,IAAI,CAAC,KAAK,EAAE,EAAE,GAAG,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,CAAA,CAAC,CAAC;IAC7G,+CAA+C;IAC/C,OAAO,KAAW,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,CAAA,CAAC,CAAC;CACxC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Checks of a chosen run of commits against a commit list, shared by the Host, which reads the run's changes, and the
|
|
3
|
+
* commit picker, which refuses a run before asking for them.
|
|
4
|
+
*/
|
|
5
|
+
import type { ForgeCommit } from '@deepseek-ai/dsh-experimental-forge/types';
|
|
6
|
+
import type { ForgeCommitRange } from './types.ts';
|
|
7
|
+
/**
|
|
8
|
+
* Find the first commit of a chosen run in a commit list. Two ends describe the run only when each commit after the
|
|
9
|
+
* first has the commit listed before it as its first parent, so the changes from the first commit's first parent to the
|
|
10
|
+
* last commit are exactly the run's changes.
|
|
11
|
+
* @param commits - listed commits, oldest first.
|
|
12
|
+
* @param range - the chosen run.
|
|
13
|
+
* @returns the first chosen commit; `missing` when an end is not listed or `to` is listed before `from`; `not-linear`
|
|
14
|
+
* when a commit of the run does not have the commit listed before it as its first parent.
|
|
15
|
+
*/
|
|
16
|
+
export declare function rangeStart(commits: readonly ForgeCommit[], range: ForgeCommitRange): ForgeCommit | 'missing' | 'not-linear';
|
|
17
|
+
//# sourceMappingURL=commit-range.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"commit-range.d.ts","sourceRoot":"","sources":["../../src/commit-range.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2CAA2C,CAAA;AAC5E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAElD;;;;;;;;GAQG;AACH,wBAAgB,UAAU,CAAC,OAAO,EAAE,SAAS,WAAW,EAAE,EAAE,KAAK,EAAE,gBAAgB,GAAG,WAAW,GAAG,SAAS,GAAG,YAAY,CAS3H"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"commit-range.js","sourceRoot":"","sources":["../../src/commit-range.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAKH;;;;;;;;GAQG;AACH,MAAM,UAAU,UAAU,CAAC,OAA+B,EAAE,KAAuB;IACjF,MAAM,KAAK,GAAG,OAAO,CAAC,SAAS,CAAC,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,GAAG,KAAK,KAAK,CAAC,IAAI,CAAC,CAAA;IACpE,MAAM,IAAI,GAAG,OAAO,CAAC,SAAS,CAAC,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,GAAG,KAAK,KAAK,CAAC,EAAE,CAAC,CAAA;IACjE,MAAM,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC,CAAA;IAC5B,IAAI,KAAK,KAAK,SAAS,IAAI,IAAI,GAAG,KAAK;QAAE,OAAO,SAAS,CAAA;IACzD,KAAK,IAAI,KAAK,GAAG,KAAK,GAAG,CAAC,EAAE,KAAK,IAAI,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC;QACnD,IAAI,OAAO,CAAC,KAAK,CAAC,EAAE,MAAM,KAAK,OAAO,CAAC,KAAK,GAAG,CAAC,CAAC,EAAE,GAAG;YAAE,OAAO,YAAY,CAAA;IAC7E,CAAC;IACD,OAAO,KAAK,CAAA;AACd,CAAC"}
|
package/lib/types/diff.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/** Unified patch parsing into the panel's browser-safe diff model, and the diff and size of an untracked file. */
|
|
2
2
|
import type { ForgeChangedFile, ForgeDiffFile } from './types.ts';
|
|
3
|
+
/** A changed file before its path is classified into a review layer. */
|
|
4
|
+
export type ParsedDiffFile = Omit<ForgeDiffFile, 'layer'>;
|
|
3
5
|
/**
|
|
4
6
|
* Parse a Git-style unified patch, as `git diff` or a code host prints it,
|
|
5
7
|
* with `a/` and `b/` path prefixes. Hunk ranges follow jsdiff: a range that
|
|
@@ -7,14 +9,20 @@ import type { ForgeChangedFile, ForgeDiffFile } from './types.ts';
|
|
|
7
9
|
* @param patch - the patch text.
|
|
8
10
|
* @returns one file per patch section in patch order.
|
|
9
11
|
*/
|
|
10
|
-
export declare function parseDiff(patch: string):
|
|
12
|
+
export declare function parseDiff(patch: string): ParsedDiffFile[];
|
|
11
13
|
/**
|
|
12
14
|
* Describe an untracked file as added in full.
|
|
13
15
|
* @param path - path relative to the repository root.
|
|
14
16
|
* @param content - the file's bytes.
|
|
15
17
|
* @returns the file with one hunk of added lines, none when it is empty, or none and `binary` when its content is not text.
|
|
16
18
|
*/
|
|
17
|
-
export declare function untrackedFile(path: string, content: Uint8Array):
|
|
19
|
+
export declare function untrackedFile(path: string, content: Uint8Array): ParsedDiffFile;
|
|
20
|
+
/**
|
|
21
|
+
* Describe an untracked file over `maxDiffBytes`, which carries no hunks and whose content is not read.
|
|
22
|
+
* @param path - path relative to the repository root.
|
|
23
|
+
* @returns the oversized added file.
|
|
24
|
+
*/
|
|
25
|
+
export declare function oversizedUntrackedFile(path: string): ParsedDiffFile;
|
|
18
26
|
/**
|
|
19
27
|
* Decode file content as text the way Git decides it is not binary: no NUL
|
|
20
28
|
* byte among the first 8000 bytes, and, here, valid UTF-8 throughout.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"diff.d.ts","sourceRoot":"","sources":["../../src/diff.ts"],"names":[],"mappings":"AAAA,kHAAkH;AAIlH,OAAO,KAAK,EAAE,gBAAgB,EAAE,aAAa,EAAkC,MAAM,YAAY,CAAA;AAEjG,wEAAwE;AACxE,MAAM,MAAM,cAAc,GAAG,IAAI,CAAC,aAAa,EAAE,OAAO,CAAC,CAAA;AAW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AI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC,IAAI,eAAe,CAAA;AACtG,CAAC"}
|
package/lib/types/index.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
/** Host Remote of the forge panel: checkout, code host, sign-in, change request, and worktree state per Session. */
|
|
2
2
|
import { Context, Service } from '@deepseek-ai/cordis';
|
|
3
3
|
import z from '@deepseek-ai/schemastery';
|
|
4
|
-
import type { ChangeRequestSnapshot, ForgeReviewRequest, ForgeReviewResult, MergeMethod } from '@deepseek-ai/dsh-experimental-forge';
|
|
4
|
+
import type { BranchUpdateMethod, ChangeRequestReviewer, ChangeRequestSnapshot, ForgeCommitList, ForgeRerunRequest, ForgeReviewData, ForgeReviewerCandidate, ForgeReviewRequest, ForgeReviewResult, ForgeReviewWrite, ForgeReviewWriteResult, ForgeViewedFiles, ForgeViewedRequest, MergeMethod } from '@deepseek-ai/dsh-experimental-forge';
|
|
5
|
+
import type { WorktreeCleanup } from '@deepseek-ai/dsh-experimental-worktree/types';
|
|
5
6
|
import type { Session } from '@deepseek-ai/dsh-session';
|
|
6
7
|
import { TypertRemoteService } from '@deepseek-ai/dsh-typert-protocol';
|
|
7
|
-
import type { Config, ForgeBranches, ForgeChangeRequestDiff, ForgeChangeRequestStatesFrame, ForgeLocalDiff, ForgeLocalScope, ForgePanelState } from './types.ts';
|
|
8
|
+
import type { Config, ForgeBaseBranches, ForgeBranches, ForgeChangeRequestDiff, ForgeChangeRequestStatesFrame, ForgeCommitRange, ForgeLocalCommits, ForgeLocalDiff, ForgeLocalScope, ForgePanelState } from './types.ts';
|
|
8
9
|
export type * from './types.ts';
|
|
9
10
|
declare module '@deepseek-ai/cordis' {
|
|
10
11
|
interface Context {
|
|
@@ -36,6 +37,8 @@ export declare class ForgePanelController extends TypertRemoteService {
|
|
|
36
37
|
private worktreeStates;
|
|
37
38
|
private creations;
|
|
38
39
|
private readonly patches;
|
|
40
|
+
private readonly layers;
|
|
41
|
+
private readonly reviews;
|
|
39
42
|
private states;
|
|
40
43
|
private readonly stopPanels;
|
|
41
44
|
private readonly stopStates;
|
|
@@ -63,6 +66,13 @@ export declare class ForgePanelController extends TypertRemoteService {
|
|
|
63
66
|
* @throws when the Host lacks the Session query, projection cache, storage, or Session store service.
|
|
64
67
|
*/
|
|
65
68
|
changeRequestStates(signal: AbortSignal): AsyncIterable<ForgeChangeRequestStatesFrame>;
|
|
69
|
+
/**
|
|
70
|
+
* Read or await the worktree service's archive cleanup of the Session's checkout.
|
|
71
|
+
* @param session - Session whose cleanup is visible to the caller.
|
|
72
|
+
* @param revision - null reads now; a matching revision waits for completion.
|
|
73
|
+
* @returns the cleanup state, or null without a worktree service, an attempt, or a current revision.
|
|
74
|
+
*/
|
|
75
|
+
worktreeCleanup(session: Session, revision: number | null): Promise<WorktreeCleanup | null>;
|
|
66
76
|
/**
|
|
67
77
|
* List the local branches that can start a worktree of the Session's current checkout.
|
|
68
78
|
* @param session - Session whose current directory is listed.
|
|
@@ -71,6 +81,16 @@ export declare class ForgePanelController extends TypertRemoteService {
|
|
|
71
81
|
* @throws when the current directory is not inside a checkout or Git fails.
|
|
72
82
|
*/
|
|
73
83
|
branches(session: Session, signal: AbortSignal): Promise<ForgeBranches>;
|
|
84
|
+
/**
|
|
85
|
+
* List the branches the `branch` scope of the Session's current checkout can compare with.
|
|
86
|
+
* @param session - Session whose checkout is read.
|
|
87
|
+
* @param query - text the branch names must contain, ignoring case; empty for every branch.
|
|
88
|
+
* @param signal - request cancellation.
|
|
89
|
+
* @returns the automatic fork point and at most `maxBranches` remote-tracking and local branches each,
|
|
90
|
+
* most recently committed first, without the checked-out branch.
|
|
91
|
+
* @throws `forgePanel/not-a-checkout` outside a checkout; the Git error when Git fails or the listed refs exceed `maxDiffBytes`.
|
|
92
|
+
*/
|
|
93
|
+
diffBases(session: Session, query: string, signal: AbortSignal): Promise<ForgeBaseBranches>;
|
|
74
94
|
/**
|
|
75
95
|
* Bind a change request to a Session by URL, or restore a dismissed binding.
|
|
76
96
|
* @param session - Session that receives the binding.
|
|
@@ -101,21 +121,37 @@ export declare class ForgePanelController extends TypertRemoteService {
|
|
|
101
121
|
* @param scope - which changes to read.
|
|
102
122
|
* @param signal - request cancellation.
|
|
103
123
|
* @returns the files, the base of the `branch` scope, and the untracked files left out.
|
|
104
|
-
* @throws `forgePanel/not-a-checkout` outside a checkout; `forgePanel/
|
|
105
|
-
*
|
|
106
|
-
*
|
|
124
|
+
* @throws `forgePanel/not-a-checkout` outside a checkout; `forgePanel/base-missing` when the base branch
|
|
125
|
+
* chosen for the `branch` scope does not exist; `forgePanel/no-fork-point` for the `branch` scope without
|
|
126
|
+
* a fork point; `forgePanel/commits-missing` when chosen commits are not between the fork point and HEAD in order;
|
|
127
|
+
* `forgePanel/commits-not-linear` when a chosen commit's first parent is not the commit listed before it;
|
|
128
|
+
* `forgePanel/filter-config-failed` when filter configuration cannot be read completely, before
|
|
129
|
+
* any comparison; `forgePanel/diff-too-large` over `maxDiffBytes`; the Git error when Git fails.
|
|
107
130
|
*/
|
|
108
131
|
localDiff(session: Session, scope: ForgeLocalScope, signal: AbortSignal): Promise<ForgeLocalDiff>;
|
|
132
|
+
/**
|
|
133
|
+
* List the commits of the `branch` scope of the Session's current checkout, which the changes view can show one or
|
|
134
|
+
* several of instead of the whole scope.
|
|
135
|
+
* @param session - Session whose checkout is read.
|
|
136
|
+
* @param base - the base ref of the `branch` scope, or null for its automatic fork point.
|
|
137
|
+
* @param signal - request cancellation.
|
|
138
|
+
* @returns the newest `maxCommits` commits between the fork point and HEAD, oldest first, and HEAD's commit.
|
|
139
|
+
* @throws `forgePanel/not-a-checkout` outside a checkout; `forgePanel/base-missing` when the base branch does not
|
|
140
|
+
* exist; `forgePanel/no-fork-point` without a fork point; the Git error when Git fails or the listing exceeds `maxDiffBytes`.
|
|
141
|
+
*/
|
|
142
|
+
localCommits(session: Session, base: string | null, signal: AbortSignal): Promise<ForgeLocalCommits>;
|
|
109
143
|
/**
|
|
110
144
|
* Read the new side of one changed file in a scope, which supplies the
|
|
111
|
-
* unchanged lines between its hunks: the index for `staged`,
|
|
145
|
+
* unchanged lines between its hunks: the index for `staged`, the last chosen commit for chosen commits of
|
|
146
|
+
* the `branch` scope, else the working tree.
|
|
112
147
|
* @param session - Session whose checkout is read.
|
|
113
148
|
* @param scope - the scope the diff was read in.
|
|
114
149
|
* @param path - path relative to the checkout's top-level directory, as the diff names it.
|
|
115
150
|
* @param signal - request cancellation.
|
|
116
151
|
* @returns the text.
|
|
117
152
|
* @throws `forgePanel/not-a-checkout` outside a checkout; `forgePanel/diff-too-large` over `maxDiffBytes`;
|
|
118
|
-
*
|
|
153
|
+
* `forgePanel/commits-missing` for a chosen commit that is not a full object name; an error for a path outside
|
|
154
|
+
* the checkout, binary content, or a failed read.
|
|
119
155
|
*/
|
|
120
156
|
localText(session: Session, scope: ForgeLocalScope, path: string, signal: AbortSignal): Promise<string>;
|
|
121
157
|
/**
|
|
@@ -129,20 +165,39 @@ export declare class ForgePanelController extends TypertRemoteService {
|
|
|
129
165
|
* or `forgePanel/checks-failed` when the provider cannot complete the read.
|
|
130
166
|
*/
|
|
131
167
|
changeRequestChecks(session: Session, url: string, headSha: string, signal: AbortSignal): Promise<ChangeRequestSnapshot>;
|
|
168
|
+
/**
|
|
169
|
+
* List the commits of a change request of a Session at its current head, which the changes view can show one or
|
|
170
|
+
* several of instead of the whole change request.
|
|
171
|
+
* @param session - Session the change request is bound to.
|
|
172
|
+
* @param url - binding URL of the change request.
|
|
173
|
+
* @param signal - request cancellation.
|
|
174
|
+
* @returns the commits oldest first with the head they were read at, or null when the provider does not read commits.
|
|
175
|
+
* @throws `forgePanel/not-bound` unless the URL is a visible binding of the Session that a provider serves;
|
|
176
|
+
* `forgePanel/diff-failed` when the host does not list them.
|
|
177
|
+
*/
|
|
178
|
+
changeRequestCommits(session: Session, url: string, signal: AbortSignal): Promise<ForgeCommitList | null>;
|
|
132
179
|
/**
|
|
133
180
|
* Read the changes of a change request of a Session as its code host
|
|
134
|
-
* computes them,
|
|
135
|
-
*
|
|
136
|
-
*
|
|
181
|
+
* computes them, with each file's layer following the root `.gitattributes`
|
|
182
|
+
* of the commit the diff ends at. Without `commits` the diff covers the change
|
|
183
|
+
* request at the head commit of its latest status; a patch already read at the
|
|
184
|
+
* same head commit and base branch is reused from memory with its attributes, for
|
|
185
|
+
* any Session, until `maxCachedDiffBytes` evicts it. With `commits`, it covers those
|
|
186
|
+
* commits, from the first one's first parent to the last, and is read every time.
|
|
137
187
|
* @param session - Session the change request is bound to.
|
|
138
188
|
* @param url - binding URL of the change request.
|
|
189
|
+
* @param commits - consecutive commits of the change request, or null for all of it.
|
|
139
190
|
* @param signal - request cancellation.
|
|
140
|
-
* @returns the files, the
|
|
191
|
+
* @returns the files, the commit they end at, each file's web page, and the commits the checkout has beyond the head.
|
|
141
192
|
* @throws `forgePanel/not-bound` unless the URL is a visible binding of the Session that a provider serves;
|
|
193
|
+
* `forgePanel/commits-missing` when chosen commits are not among the change request's commits in order;
|
|
194
|
+
* `forgePanel/commits-not-linear` when a chosen commit's first parent is not the commit listed before it;
|
|
195
|
+
* `forgePanel/stale-head` without `commits` when the head moved past the latest status, which is then polled again;
|
|
142
196
|
* `forgePanel/diff-too-large` when the host or its provider refuses the diff over a size limit;
|
|
143
|
-
* `forgePanel/diff-failed` before its status was read
|
|
197
|
+
* `forgePanel/diff-failed` before its status was read, for a first chosen commit without a parent, and when the host
|
|
198
|
+
* does not provide the commits, the diff, or an existing `.gitattributes` otherwise.
|
|
144
199
|
*/
|
|
145
|
-
changeRequestDiff(session: Session, url: string, signal: AbortSignal): Promise<ForgeChangeRequestDiff>;
|
|
200
|
+
changeRequestDiff(session: Session, url: string, commits: ForgeCommitRange | null, signal: AbortSignal): Promise<ForgeChangeRequestDiff>;
|
|
146
201
|
/**
|
|
147
202
|
* Read one file of a change request's repository at a commit, which
|
|
148
203
|
* supplies the unchanged lines between the hunks of its diff.
|
|
@@ -158,7 +213,52 @@ export declare class ForgePanelController extends TypertRemoteService {
|
|
|
158
213
|
*/
|
|
159
214
|
changeRequestText(session: Session, url: string, commit: string, path: string, signal: AbortSignal): Promise<string>;
|
|
160
215
|
/**
|
|
161
|
-
*
|
|
216
|
+
* Read the signed-in user's viewed marks on the files of a change request of a Session, which the host keeps for the
|
|
217
|
+
* whole change request.
|
|
218
|
+
* @param session - Session the change request is bound to.
|
|
219
|
+
* @param url - binding URL of the change request.
|
|
220
|
+
* @param headSha - head commit of the shown diff; marks read at another head are refused.
|
|
221
|
+
* @param signal - request cancellation.
|
|
222
|
+
* @returns the marks at `headSha`, or null when the provider keeps no viewed marks.
|
|
223
|
+
* @throws `forgePanel/not-bound` unless the URL is a visible binding of the Session that a provider serves;
|
|
224
|
+
* `forgePanel/stale-head` when the head moved past `headSha`, which is then polled again; `forgePanel/viewed-failed`
|
|
225
|
+
* when the host does not provide the marks otherwise.
|
|
226
|
+
*/
|
|
227
|
+
changeRequestViewed(session: Session, url: string, headSha: string, signal: AbortSignal): Promise<ForgeViewedFiles | null>;
|
|
228
|
+
/**
|
|
229
|
+
* Set or clear the signed-in user's viewed mark on one file of a change request of a Session.
|
|
230
|
+
* @param session - Session the change request is bound to.
|
|
231
|
+
* @param url - binding URL of the change request.
|
|
232
|
+
* @param request - the file, its mark, and the head commit of the shown diff.
|
|
233
|
+
* @param signal - request cancellation.
|
|
234
|
+
* @throws `forgePanel/not-bound` unless the URL is a visible binding of the Session that a provider serves;
|
|
235
|
+
* `forgePanel/stale-head` when the head moved past `request.headSha`; `forgePanel/action-failed` with the host's
|
|
236
|
+
* reason when the host refuses, cannot be reached, or keeps no viewed marks; `forgePanel/action-unknown` when the host
|
|
237
|
+
* did not confirm whether it saved the mark.
|
|
238
|
+
*/
|
|
239
|
+
setFileViewed(session: Session, url: string, request: ForgeViewedRequest, signal: AbortSignal): Promise<void>;
|
|
240
|
+
/**
|
|
241
|
+
* Read the review threads of a change request of a Session at the head commit of its displayed diff. Threads read
|
|
242
|
+
* at the same head commit and update time are reused from memory, for any Session, until they are
|
|
243
|
+
* `reviewRefreshMs` old, `maxCachedReviewBytes` evicts them, or a review write through this panel drops them; a read
|
|
244
|
+
* again after that age, or a `fresh` read, shows threads resolved elsewhere since, which do not change a GitHub pull
|
|
245
|
+
* request's update time.
|
|
246
|
+
* @param session - Session the change request is bound to.
|
|
247
|
+
* @param url - binding URL of the change request.
|
|
248
|
+
* @param headSha - head commit of the displayed diff.
|
|
249
|
+
* @param fresh - whether to read from the host even when threads at this head and update time are kept, as after the
|
|
250
|
+
* reader refreshes the view; the result replaces the kept threads.
|
|
251
|
+
* @param signal - request cancellation.
|
|
252
|
+
* @returns the threads at `headSha`, with `current` positions numbering the files of that diff.
|
|
253
|
+
* @throws `forgePanel/not-bound` unless the URL is a visible binding of the Session that a provider serves;
|
|
254
|
+
* `forgePanel/stale-head` when the latest status or the host names another head, which a host answer polls again;
|
|
255
|
+
* `forgePanel/review-unsupported` when the provider cannot read reviews; `forgePanel/review-failed` before the
|
|
256
|
+
* status was read and when the host does not provide the threads otherwise.
|
|
257
|
+
*/
|
|
258
|
+
changeRequestReview(session: Session, url: string, headSha: string, fresh: boolean, signal: AbortSignal): Promise<ForgeReviewData>;
|
|
259
|
+
/**
|
|
260
|
+
* Publish a line comment or completed review for a visible Session binding. The threads kept for the change request
|
|
261
|
+
* are dropped once the host answers, so the next read shows the comments.
|
|
162
262
|
* @param session - Session retaining the change request.
|
|
163
263
|
* @param url - visible binding URL.
|
|
164
264
|
* @param request - reviewed head, ranges, plain text, and explicit review decision.
|
|
@@ -166,6 +266,20 @@ export declare class ForgePanelController extends TypertRemoteService {
|
|
|
166
266
|
* @returns confirmed publication or a typed failure; unknown outcomes require reconciliation on the host.
|
|
167
267
|
*/
|
|
168
268
|
submitReview(session: Session, url: string, request: ForgeReviewRequest, signal: AbortSignal): Promise<ForgeReviewResult>;
|
|
269
|
+
/**
|
|
270
|
+
* Write to the review threads or the pending review of a change request of a Session while its head is still the
|
|
271
|
+
* head the user saw. The threads kept for the change request are dropped once the host answers, so the next read
|
|
272
|
+
* shows the write, which a resolve does not show through a GitHub pull request's update time.
|
|
273
|
+
* @param session - Session the change request is bound to.
|
|
274
|
+
* @param url - binding URL of the change request.
|
|
275
|
+
* @param write - the write and the head commit of the threads the user saw.
|
|
276
|
+
* @param signal - request cancellation.
|
|
277
|
+
* @returns whether the host took the write; `stale` once the head moved, which polls the change request again, and
|
|
278
|
+
* `unknown` when the outcome must be checked on the host before the write is tried again.
|
|
279
|
+
* @throws `forgePanel/not-bound` unless the URL is a visible binding of the Session that a provider serves; an error
|
|
280
|
+
* for a write without text, a head that is not a commit object name, or an invalid line range.
|
|
281
|
+
*/
|
|
282
|
+
changeRequestReviewWrite(session: Session, url: string, write: ForgeReviewWrite, signal: AbortSignal): Promise<ForgeReviewWriteResult>;
|
|
169
283
|
/**
|
|
170
284
|
* Mark a draft change request of a Session ready for review; the change
|
|
171
285
|
* request is polled again once the host answers.
|
|
@@ -189,6 +303,56 @@ export declare class ForgePanelController extends TypertRemoteService {
|
|
|
189
303
|
* reason when the host refuses otherwise or cannot be reached.
|
|
190
304
|
*/
|
|
191
305
|
merge(session: Session, url: string, method: MergeMethod, headSha: string, signal: AbortSignal): Promise<void>;
|
|
306
|
+
/**
|
|
307
|
+
* Rerun the failed checks of a change request of a Session while its head is still the commit whose checks the user
|
|
308
|
+
* saw; the change request is polled again once the host answers.
|
|
309
|
+
* @param session - Session the change request is bound to.
|
|
310
|
+
* @param url - binding URL of the change request.
|
|
311
|
+
* @param request - the head commit whose checks the user saw.
|
|
312
|
+
* @param signal - request cancellation.
|
|
313
|
+
* @throws `forgePanel/not-bound` unless the URL is a visible binding of the Session that a provider serves;
|
|
314
|
+
* `forgePanel/stale-head` when the head moved past `request.headSha`; `forgePanel/action-failed` with the host's
|
|
315
|
+
* reason when the host refuses, cannot be reached, or reruns no checks; `forgePanel/action-unknown` when the host did
|
|
316
|
+
* not confirm whether it started the rerun.
|
|
317
|
+
*/
|
|
318
|
+
rerunChecks(session: Session, url: string, request: ForgeRerunRequest, signal: AbortSignal): Promise<void>;
|
|
319
|
+
/**
|
|
320
|
+
* Request reviews of a change request of a Session from more reviewers; the change request is polled again once the
|
|
321
|
+
* host answers.
|
|
322
|
+
* @param session - Session the change request is bound to.
|
|
323
|
+
* @param url - binding URL of the change request.
|
|
324
|
+
* @param reviewers - the reviewers to ask, by kind and login.
|
|
325
|
+
* @param signal - request cancellation.
|
|
326
|
+
* @throws `forgePanel/not-bound` unless the URL is a visible binding of the Session that a provider serves;
|
|
327
|
+
* `forgePanel/action-failed` with the host's reason when the host refuses, cannot be reached, or requests no reviews;
|
|
328
|
+
* `forgePanel/action-unknown` when the host did not confirm whether it requested the reviews.
|
|
329
|
+
*/
|
|
330
|
+
requestReviews(session: Session, url: string, reviewers: readonly Pick<ChangeRequestReviewer, 'kind' | 'login'>[], signal: AbortSignal): Promise<void>;
|
|
331
|
+
/**
|
|
332
|
+
* List accounts a review of a change request of a Session can be requested from.
|
|
333
|
+
* @param session - Session the change request is bound to.
|
|
334
|
+
* @param url - binding URL of the change request.
|
|
335
|
+
* @param query - text the login or name contains; empty for the host's suggestions and first accounts.
|
|
336
|
+
* @param signal - request cancellation.
|
|
337
|
+
* @returns the accounts, the host's suggestions first.
|
|
338
|
+
* @throws `forgePanel/not-bound` unless the URL is a visible binding of the Session that a provider serves;
|
|
339
|
+
* `forgePanel/reviewers-failed` when the host does not list them.
|
|
340
|
+
*/
|
|
341
|
+
reviewerCandidates(session: Session, url: string, query: string, signal: AbortSignal): Promise<readonly ForgeReviewerCandidate[]>;
|
|
342
|
+
/**
|
|
343
|
+
* Bring the base branch's new commits into the head branch of a change request of a Session while its head is still
|
|
344
|
+
* `headSha`; the change request is polled again once the host answers.
|
|
345
|
+
* @param session - Session the change request is bound to.
|
|
346
|
+
* @param url - binding URL of the change request.
|
|
347
|
+
* @param method - merge commit or rebase.
|
|
348
|
+
* @param headSha - head commit the user confirmed.
|
|
349
|
+
* @param signal - request cancellation.
|
|
350
|
+
* @throws `forgePanel/not-bound` unless the URL is a visible binding of the Session that a provider serves;
|
|
351
|
+
* `forgePanel/stale-head` when the head moved past `headSha`; `forgePanel/action-failed` with the host's reason when
|
|
352
|
+
* the host refuses, cannot be reached, or updates no branches; `forgePanel/action-unknown` when the host did not
|
|
353
|
+
* confirm whether it started the update.
|
|
354
|
+
*/
|
|
355
|
+
updateBranch(session: Session, url: string, method: BranchUpdateMethod, headSha: string, signal: AbortSignal): Promise<void>;
|
|
192
356
|
/**
|
|
193
357
|
* Ask for a new worktree before the Session's first turn, replacing an open
|
|
194
358
|
* request and forgetting a failed attempt. While the next message waits in
|
|
@@ -273,6 +437,22 @@ export declare class ForgePanelController extends TypertRemoteService {
|
|
|
273
437
|
* @throws when the filesystem or Git cannot answer.
|
|
274
438
|
*/
|
|
275
439
|
private missingFor;
|
|
440
|
+
/** The changes of consecutive commits of a change request, from the first one's first parent to the last. */
|
|
441
|
+
private commitsDiff;
|
|
442
|
+
/**
|
|
443
|
+
* Read a patch that ends at `commit` together with the root `.gitattributes` at that commit. A failed patch read
|
|
444
|
+
* cancels the attributes read. Both reads end before the result: the patch's failure passes on first, and the
|
|
445
|
+
* attributes failure only after the patch was read, so the outcome does not depend on which read ends first.
|
|
446
|
+
* @param ref - change request whose repository holds the commit.
|
|
447
|
+
* @param commit - commit the patch ends at.
|
|
448
|
+
* @param readPatch - reads the patch under the given cancellation.
|
|
449
|
+
* @param signal - request cancellation.
|
|
450
|
+
* @returns the patch and the attributes text, empty when the commit has none.
|
|
451
|
+
* @throws the Remote error for a refused patch or attributes read, or `signal.reason` when it aborts.
|
|
452
|
+
*/
|
|
453
|
+
private patchAt;
|
|
454
|
+
/** The root `.gitattributes` of a change request's repository at a commit, empty when the commit has none. */
|
|
455
|
+
private attributesAt;
|
|
276
456
|
/** Inspect the checkout of the Session's current directory, which local diffs read. */
|
|
277
457
|
private checkoutOf;
|
|
278
458
|
/** A visible binding of the Session that a provider serves, which actions and reads are limited to. */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,oHAAoH;AAEpH,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AACtD,OAAO,CAAC,MAAM,0BAA0B,CAAA;AAIxC,OAAO,KAAK,EACV,kBAAkB,EAAoB,qBAAqB,EAAE,qBAAqB,EAAsB,eAAe,EACrG,iBAAiB,EAAE,eAAe,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,gBAAgB,EACrI,sBAAsB,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,WAAW,EAC1E,MAAM,qCAAqC,CAAA;AAE5C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,8CAA8C,CAAA;AAEnF,OAAO,KAAK,EAAE,OAAO,EAAgB,MAAM,0BAA0B,CAAA;AAKrE,OAAO,EAAuB,mBAAmB,EAAE,MAAM,kCAAkC,CAAA;AAgB3F,OAAO,KAAK,EACV,MAAM,EAAE,iBAAiB,EAAE,aAAa,EAAE,sBAAsB,EAAE,6BAA6B,EAAE,gBAAgB,EAAE,iBAAiB,EACpI,cAAc,EAAE,eAAe,EAAwB,eAAe,EACvE,MAAM,YAAY,CAAA;AAInB,mBAAmB,YAAY,CAAA;AAE/B,OAAO,QAAQ,qBAAqB,CAAC;IACnC,UAAU,OAAO;QACf,qDAAqD;QACrD,UAAU,EAAE,oBAAoB,CAAA;KACjC;CACF;AAKD;;;;;;;;;;;;;;GAcG;AACH,qBAAa,oBAAqB,SAAQ,mBAAmB;IAC3D,MAAM,CAAC,MAAM,WAEZ;IAED,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC,CAgBtB;IAEF,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAS;IAC9B,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAkB;IACzC,OAAO,CAAC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