@deepseek-ai/dsh-experimental-client-ui-forge 0.2.3-alpha.2 → 0.2.3-alpha.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.
- package/README.i18n.yaml +10 -10
- package/README.md +37 -19
- package/README.zh.md +37 -19
- package/lib/client.js +22 -17
- package/lib/client.js.map +1 -1
- package/lib/index.js +941 -188
- package/lib/typert.host.js +894 -175
- package/lib/typert.remote-client.d.ts +35 -17
- package/lib/typert.remote-client.d.ts.map +1 -1
- package/lib/typert.remote-client.js +751 -146
- package/lib/types/client/ActionToast.d.ts +1 -1
- package/lib/types/client/ActionToast.d.ts.map +1 -1
- package/lib/types/client/ActionToast.js.map +1 -1
- package/lib/types/client/BaseMenu.d.ts +6 -4
- package/lib/types/client/BaseMenu.d.ts.map +1 -1
- package/lib/types/client/BaseMenu.js.map +1 -1
- package/lib/types/client/BranchPicker.d.ts +84 -0
- package/lib/types/client/BranchPicker.d.ts.map +1 -0
- package/lib/types/client/BranchPicker.js.map +1 -0
- package/lib/types/client/ChangeRequestCard.d.ts +31 -13
- package/lib/types/client/ChangeRequestCard.d.ts.map +1 -1
- package/lib/types/client/ChangeRequestCard.js.map +1 -1
- package/lib/types/client/ChangeRequestOverview.d.ts +28 -6
- package/lib/types/client/ChangeRequestOverview.d.ts.map +1 -1
- package/lib/types/client/ChangeRequestOverview.js.map +1 -1
- package/lib/types/client/ChangeRequestsSection.d.ts +5 -3
- package/lib/types/client/ChangeRequestsSection.d.ts.map +1 -1
- package/lib/types/client/ChangeRequestsSection.js.map +1 -1
- package/lib/types/client/ChangeStatus.d.ts +41 -0
- package/lib/types/client/ChangeStatus.d.ts.map +1 -0
- package/lib/types/client/ChangeStatus.js.map +1 -0
- package/lib/types/client/ChangedFiles.d.ts +1 -1
- package/lib/types/client/ChangedFiles.d.ts.map +1 -1
- package/lib/types/client/ChangedFiles.js.map +1 -1
- package/lib/types/client/ChangesLoading.d.ts +1 -1
- package/lib/types/client/ChangesLoading.d.ts.map +1 -1
- package/lib/types/client/ChangesTab.d.ts +35 -12
- package/lib/types/client/ChangesTab.d.ts.map +1 -1
- package/lib/types/client/ChangesTab.js.map +1 -1
- package/lib/types/client/ChangesTabTitle.d.ts +1 -1
- package/lib/types/client/ChangesTabTitle.d.ts.map +1 -1
- package/lib/types/client/ChangesTabTitle.js.map +1 -1
- package/lib/types/client/CommitMenu.d.ts +11 -8
- package/lib/types/client/CommitMenu.d.ts.map +1 -1
- package/lib/types/client/CommitMenu.js.map +1 -1
- package/lib/types/client/CopyCommandButton.d.ts +19 -0
- package/lib/types/client/CopyCommandButton.d.ts.map +1 -0
- package/lib/types/client/CopyCommandButton.js.map +1 -0
- package/lib/types/client/DiffFile.d.ts +36 -5
- package/lib/types/client/DiffFile.d.ts.map +1 -1
- package/lib/types/client/DiffFile.js.map +1 -1
- package/lib/types/client/EnvironmentRows.d.ts +6 -6
- package/lib/types/client/EnvironmentRows.d.ts.map +1 -1
- package/lib/types/client/EnvironmentRows.js.map +1 -1
- package/lib/types/client/FileLabel.d.ts +5 -5
- package/lib/types/client/FileLabel.d.ts.map +1 -1
- package/lib/types/client/FileLabel.js.map +1 -1
- package/lib/types/client/HeadMenu.d.ts +35 -0
- package/lib/types/client/HeadMenu.d.ts.map +1 -0
- package/lib/types/client/HeadMenu.js.map +1 -0
- package/lib/types/client/HostSettings.d.ts +33 -0
- package/lib/types/client/HostSettings.d.ts.map +1 -0
- package/lib/types/client/HostSettings.js.map +1 -0
- package/lib/types/client/LensFilter.d.ts +2 -2
- package/lib/types/client/LensFilter.d.ts.map +1 -1
- package/lib/types/client/LensFilter.js.map +1 -1
- package/lib/types/client/ReasonButton.js.map +1 -1
- package/lib/types/client/RefreshGlyph.js.map +1 -1
- package/lib/types/client/ReviewComposer.d.ts +1 -1
- package/lib/types/client/ReviewComposer.d.ts.map +1 -1
- package/lib/types/client/ReviewComposer.js.map +1 -1
- package/lib/types/client/ReviewControls.d.ts +1 -1
- package/lib/types/client/ReviewControls.d.ts.map +1 -1
- package/lib/types/client/ReviewControls.js.map +1 -1
- package/lib/types/client/ReviewThread.d.ts +1 -1
- package/lib/types/client/ReviewThread.d.ts.map +1 -1
- package/lib/types/client/ReviewThread.js.map +1 -1
- package/lib/types/client/ReviewThreads.d.ts +21 -4
- package/lib/types/client/ReviewThreads.d.ts.map +1 -1
- package/lib/types/client/ReviewThreads.js.map +1 -1
- package/lib/types/client/SessionHoverForge.d.ts +1 -1
- package/lib/types/client/SessionHoverForge.d.ts.map +1 -1
- package/lib/types/client/SessionHoverForge.js.map +1 -1
- package/lib/types/client/SessionRowForge.d.ts +1 -1
- package/lib/types/client/SessionRowForge.d.ts.map +1 -1
- package/lib/types/client/SessionRowForge.js.map +1 -1
- package/lib/types/client/SubmitReview.d.ts +1 -1
- package/lib/types/client/SubmitReview.d.ts.map +1 -1
- package/lib/types/client/SubmitReview.js.map +1 -1
- package/lib/types/client/ThreadList.d.ts +3 -1
- package/lib/types/client/ThreadList.d.ts.map +1 -1
- package/lib/types/client/ThreadList.js.map +1 -1
- package/lib/types/client/ViewOptionsMenu.d.ts +1 -1
- package/lib/types/client/ViewOptionsMenu.d.ts.map +1 -1
- package/lib/types/client/ViewOptionsMenu.js.map +1 -1
- package/lib/types/client/WorktreeNameDialog.d.ts +1 -1
- package/lib/types/client/WorktreeNameDialog.d.ts.map +1 -1
- package/lib/types/client/WorktreeNameDialog.js.map +1 -1
- package/lib/types/client/WorktreeProgress.d.ts +1 -1
- package/lib/types/client/WorktreeProgress.d.ts.map +1 -1
- package/lib/types/client/WorktreeProgress.js.map +1 -1
- package/lib/types/client/WorktreeSettings.d.ts +1 -1
- package/lib/types/client/WorktreeSettings.d.ts.map +1 -1
- package/lib/types/client/WorktreeSettings.js.map +1 -1
- package/lib/types/client/WorktreeToggle.d.ts +1 -1
- package/lib/types/client/WorktreeToggle.d.ts.map +1 -1
- package/lib/types/client/WorktreeToggle.js.map +1 -1
- package/lib/types/client/annotations.d.ts +1 -1
- package/lib/types/client/annotations.d.ts.map +1 -1
- package/lib/types/client/branch-search.d.ts +1 -1
- package/lib/types/client/branch-search.d.ts.map +1 -1
- package/lib/types/client/branch-search.js.map +1 -1
- package/lib/types/client/changes-address.d.ts +1 -1
- package/lib/types/client/changes-address.d.ts.map +1 -1
- package/lib/types/client/changes-service.d.ts +1 -1
- package/lib/types/client/changes-service.d.ts.map +1 -1
- package/lib/types/client/changes-store.d.ts +25 -6
- package/lib/types/client/changes-store.d.ts.map +1 -1
- package/lib/types/client/changes-store.js.map +1 -1
- package/lib/types/client/checkout.d.ts +1 -1
- package/lib/types/client/checkout.d.ts.map +1 -1
- package/lib/types/client/code-selection.d.ts.map +1 -1
- package/lib/types/client/code-selection.js.map +1 -1
- package/lib/types/client/forge-copy.d.ts +8 -1
- package/lib/types/client/forge-copy.d.ts.map +1 -1
- package/lib/types/client/forge-copy.js.map +1 -1
- package/lib/types/client/format.d.ts +1 -1
- package/lib/types/client/format.d.ts.map +1 -1
- package/lib/types/client/format.js.map +1 -1
- package/lib/types/client/glyphs.d.ts +36 -1
- package/lib/types/client/glyphs.d.ts.map +1 -1
- package/lib/types/client/glyphs.js.map +1 -1
- package/lib/types/client/highlight-context.d.ts +1 -1
- package/lib/types/client/highlight-context.d.ts.map +1 -1
- package/lib/types/client/host-settings-form.d.ts +69 -0
- package/lib/types/client/host-settings-form.d.ts.map +1 -0
- package/lib/types/client/host-settings-form.js.map +1 -0
- package/lib/types/client/host-sign-in.d.ts +31 -0
- package/lib/types/client/host-sign-in.d.ts.map +1 -0
- package/lib/types/client/host-sign-in.js.map +1 -0
- package/lib/types/client/index.d.ts +1 -2
- package/lib/types/client/index.d.ts.map +1 -1
- package/lib/types/client/index.js.map +1 -1
- package/lib/types/client/local-writes.d.ts +47 -0
- package/lib/types/client/local-writes.d.ts.map +1 -0
- package/lib/types/client/local-writes.js.map +1 -0
- package/lib/types/client/locales.d.ts +111 -13
- package/lib/types/client/locales.d.ts.map +1 -1
- package/lib/types/client/locales.js.map +1 -1
- package/lib/types/client/minute-clock.d.ts +7 -0
- package/lib/types/client/minute-clock.d.ts.map +1 -0
- package/lib/types/client/minute-clock.js.map +1 -0
- package/lib/types/client/mount.d.ts +15 -1
- package/lib/types/client/mount.d.ts.map +1 -1
- package/lib/types/client/mount.js.map +1 -1
- package/lib/types/client/review-page/ReviewActivity.d.ts +44 -0
- package/lib/types/client/review-page/ReviewActivity.d.ts.map +1 -0
- package/lib/types/client/review-page/ReviewActivity.js.map +1 -0
- package/lib/types/client/review-page/ReviewChat.d.ts +1 -1
- package/lib/types/client/review-page/ReviewChat.d.ts.map +1 -1
- package/lib/types/client/review-page/ReviewChat.js.map +1 -1
- package/lib/types/client/review-page/ReviewDetail.d.ts +26 -9
- package/lib/types/client/review-page/ReviewDetail.d.ts.map +1 -1
- package/lib/types/client/review-page/ReviewDetail.js.map +1 -1
- package/lib/types/client/review-page/ReviewLabels.d.ts +1 -1
- package/lib/types/client/review-page/ReviewLabels.d.ts.map +1 -1
- package/lib/types/client/review-page/ReviewLabels.js.map +1 -1
- package/lib/types/client/review-page/ReviewList.d.ts +10 -8
- package/lib/types/client/review-page/ReviewList.d.ts.map +1 -1
- package/lib/types/client/review-page/ReviewList.js.map +1 -1
- package/lib/types/client/review-page/ReviewNav.d.ts +1 -1
- package/lib/types/client/review-page/ReviewNav.d.ts.map +1 -1
- package/lib/types/client/review-page/ReviewPage.d.ts +17 -14
- package/lib/types/client/review-page/ReviewPage.d.ts.map +1 -1
- package/lib/types/client/review-page/ReviewPage.js.map +1 -1
- package/lib/types/client/review-page/ReviewSkeleton.d.ts +26 -0
- package/lib/types/client/review-page/ReviewSkeleton.d.ts.map +1 -0
- package/lib/types/client/review-page/ReviewSkeleton.js.map +1 -0
- package/lib/types/client/review-page/ReviewStatus.d.ts +19 -13
- package/lib/types/client/review-page/ReviewStatus.d.ts.map +1 -1
- package/lib/types/client/review-page/ReviewStatus.js.map +1 -1
- package/lib/types/client/review-page/review-activity.d.ts +37 -0
- package/lib/types/client/review-page/review-activity.d.ts.map +1 -0
- package/lib/types/client/review-page/review-activity.js.map +1 -0
- package/lib/types/client/review-page/review-lists.d.ts +48 -13
- package/lib/types/client/review-page/review-lists.d.ts.map +1 -1
- package/lib/types/client/review-page/review-lists.js.map +1 -1
- package/lib/types/client/review-page/review-mount.d.ts +3 -1
- package/lib/types/client/review-page/review-mount.d.ts.map +1 -1
- package/lib/types/client/review-page/review-mount.js.map +1 -1
- package/lib/types/client/review-page/review-store.d.ts +19 -9
- package/lib/types/client/review-page/review-store.d.ts.map +1 -1
- package/lib/types/client/review-page/review-store.js.map +1 -1
- package/lib/types/client/review-queue.d.ts +1 -1
- package/lib/types/client/review-queue.d.ts.map +1 -1
- package/lib/types/client/review-queue.js.map +1 -1
- package/lib/types/client/review-threads.d.ts +15 -8
- package/lib/types/client/review-threads.d.ts.map +1 -1
- package/lib/types/client/review-threads.js.map +1 -1
- package/lib/types/client/review.d.ts +12 -1
- package/lib/types/client/review.d.ts.map +1 -1
- package/lib/types/client/review.js.map +1 -1
- package/lib/types/client/row-form-labels.d.ts +12 -0
- package/lib/types/client/row-form-labels.d.ts.map +1 -0
- package/lib/types/client/row-form-labels.js.map +1 -0
- package/lib/types/client/session-list.d.ts +1 -1
- package/lib/types/client/session-list.d.ts.map +1 -1
- package/lib/types/client/slots.d.ts +1 -1
- package/lib/types/client/slots.d.ts.map +1 -1
- package/lib/types/client/source.d.ts +1 -1
- package/lib/types/client/source.d.ts.map +1 -1
- package/lib/types/client/status.d.ts +7 -6
- package/lib/types/client/status.d.ts.map +1 -1
- package/lib/types/client/status.js.map +1 -1
- package/lib/types/client/thread-state.d.ts +2 -2
- package/lib/types/client/thread-state.d.ts.map +1 -1
- package/lib/types/client/thread-state.js.map +1 -1
- package/lib/types/client/toolbar-fold.d.ts +16 -6
- package/lib/types/client/toolbar-fold.d.ts.map +1 -1
- package/lib/types/client/toolbar-fold.js.map +1 -1
- package/lib/types/client/worktree-settings-form.d.ts +1 -1
- package/lib/types/client/worktree-settings-form.d.ts.map +1 -1
- package/lib/types/client/worktree-settings-form.js.map +1 -1
- package/lib/types/diff.d.ts.map +1 -1
- package/lib/types/diff.js.map +1 -1
- package/lib/types/git.d.ts +22 -0
- package/lib/types/git.d.ts.map +1 -1
- package/lib/types/git.js.map +1 -1
- package/lib/types/index.d.ts +137 -36
- package/lib/types/index.d.ts.map +1 -1
- package/lib/types/index.js.map +1 -1
- package/lib/types/local-diff.d.ts +81 -23
- package/lib/types/local-diff.d.ts.map +1 -1
- package/lib/types/local-diff.js.map +1 -1
- package/lib/types/local-write.d.ts +44 -0
- package/lib/types/local-write.d.ts.map +1 -0
- package/lib/types/local-write.js.map +1 -0
- package/lib/types/panel.js.map +1 -1
- package/lib/types/parse.d.ts +12 -3
- package/lib/types/parse.d.ts.map +1 -1
- package/lib/types/parse.js.map +1 -1
- package/lib/types/restore.d.ts +12 -0
- package/lib/types/restore.d.ts.map +1 -0
- package/lib/types/restore.js.map +1 -0
- package/lib/types/types.d.ts +128 -13
- package/lib/types/types.d.ts.map +1 -1
- package/lib/types/viewer-lists.d.ts +22 -13
- package/lib/types/viewer-lists.d.ts.map +1 -1
- package/lib/types/viewer-lists.js.map +1 -1
- package/lib/types/worktree.js.map +1 -1
- package/package.json +62 -58
- package/src/client/ActionToast.tsx +2 -2
- package/src/client/BaseMenu.module.css +15 -3
- package/src/client/BaseMenu.tsx +25 -88
- package/src/client/BranchPicker.tsx +170 -0
- package/src/client/ChangeRequestCard.tsx +194 -70
- package/src/client/ChangeRequestOverview.tsx +194 -82
- package/src/client/ChangeRequestsSection.tsx +45 -14
- package/src/client/ChangeStatus.module.css +70 -0
- package/src/client/ChangeStatus.tsx +104 -0
- package/src/client/ChangedFiles.tsx +22 -9
- package/src/client/ChangesLoading.tsx +1 -1
- package/src/client/ChangesTab.module.css +181 -33
- package/src/client/ChangesTab.tsx +499 -183
- package/src/client/ChangesTabTitle.tsx +2 -2
- package/src/client/CommitMenu.tsx +83 -42
- package/src/client/CopyCommandButton.tsx +25 -0
- package/src/client/DiffFile.tsx +147 -29
- package/src/client/EnvironmentRows.tsx +34 -28
- package/src/client/FileLabel.module.css +16 -18
- package/src/client/FileLabel.tsx +16 -32
- package/src/client/Forge.module.css +26 -6
- package/src/client/HeadMenu.tsx +69 -0
- package/src/client/HostSettings.module.css +194 -0
- package/src/client/HostSettings.tsx +194 -0
- package/src/client/LensFilter.tsx +13 -11
- package/src/client/ReasonButton.tsx +1 -1
- package/src/client/RefreshGlyph.tsx +1 -1
- package/src/client/ReviewComposer.tsx +31 -19
- package/src/client/ReviewControls.tsx +18 -9
- package/src/client/ReviewThread.tsx +65 -23
- package/src/client/ReviewThreads.tsx +133 -38
- package/src/client/SessionHoverForge.tsx +2 -2
- package/src/client/SessionRowForge.tsx +2 -2
- package/src/client/SubmitReview.tsx +7 -5
- package/src/client/ThreadList.module.css +4 -3
- package/src/client/ThreadList.tsx +11 -8
- package/src/client/ViewOptionsMenu.tsx +12 -10
- package/src/client/WorktreeNameDialog.tsx +17 -13
- package/src/client/WorktreeProgress.tsx +13 -11
- package/src/client/WorktreeSettings.tsx +8 -14
- package/src/client/WorktreeToggle.tsx +67 -37
- package/src/client/annotations.ts +1 -1
- package/src/client/branch-search.tsx +2 -2
- package/src/client/changes-address.ts +1 -1
- package/src/client/changes-service.ts +1 -1
- package/src/client/changes-store.ts +57 -10
- package/src/client/checkout.ts +1 -1
- package/src/client/code-selection.ts +3 -1
- package/src/client/forge-copy.ts +11 -1
- package/src/client/format.ts +2 -2
- package/src/client/glyphs.tsx +72 -5
- package/src/client/highlight-context.ts +1 -1
- package/src/client/host-settings-form.ts +115 -0
- package/src/client/host-sign-in.ts +46 -0
- package/src/client/index.ts +1 -2
- package/src/client/local-writes.ts +129 -0
- package/src/client/locales.ts +881 -97
- package/src/client/minute-clock.ts +19 -0
- package/src/client/mount.ts +121 -57
- package/src/client/review-page/ReviewActivity.tsx +406 -0
- package/src/client/review-page/ReviewChat.tsx +48 -19
- package/src/client/review-page/ReviewDetail.tsx +246 -78
- package/src/client/review-page/ReviewLabels.tsx +2 -2
- package/src/client/review-page/ReviewList.tsx +173 -151
- package/src/client/review-page/ReviewNav.tsx +1 -1
- package/src/client/review-page/ReviewPage.module.css +571 -23
- package/src/client/review-page/ReviewPage.tsx +84 -53
- package/src/client/review-page/ReviewSkeleton.tsx +108 -0
- package/src/client/review-page/ReviewStatus.tsx +74 -44
- package/src/client/review-page/review-activity.ts +64 -0
- package/src/client/review-page/review-lists.ts +85 -22
- package/src/client/review-page/review-mount.ts +24 -7
- package/src/client/review-page/review-store.ts +24 -7
- package/src/client/review-queue.ts +7 -3
- package/src/client/review-threads.ts +24 -12
- package/src/client/review.ts +20 -2
- package/src/client/row-form-labels.ts +17 -0
- package/src/client/session-list.ts +1 -1
- package/src/client/slots.ts +1 -1
- package/src/client/source.ts +1 -1
- package/src/client/status.ts +20 -9
- package/src/client/thread-state.ts +8 -7
- package/src/client/toolbar-fold.ts +59 -14
- package/src/client/worktree-settings-form.ts +1 -1
- package/src/diff.ts +8 -5
- package/src/git.ts +31 -1
- package/src/index.ts +319 -70
- package/src/local-diff.ts +151 -48
- package/src/local-write.ts +159 -0
- package/src/panel.ts +1 -1
- package/src/parse.ts +26 -4
- package/src/restore.ts +15 -0
- package/src/types.ts +121 -17
- package/src/viewer-lists.ts +124 -48
- package/src/worktree.ts +1 -1
- package/lib/types/client/AttentionIndicator.d.ts +0 -22
- package/lib/types/client/AttentionIndicator.d.ts.map +0 -1
- package/lib/types/client/AttentionIndicator.js.map +0 -1
- package/src/client/AttentionIndicator.tsx +0 -37
package/lib/typert.host.js
CHANGED
|
@@ -38,6 +38,13 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestChec
|
|
|
38
38
|
'mergeability': z.union([z.literal("unknown"), z.literal("mergeable"), z.literal("conflicting")]).readonly().describe('Merge conflict status; `unknown` while the host computes it.'),
|
|
39
39
|
'mergeReady': z.boolean().readonly().describe('Whether the host would merge the change request now for the signed-in user: open, not a draft, and meeting the base branch\'s merge rules.'),
|
|
40
40
|
'mergeMethods': z.array(z.union([z.literal("merge"), z.literal("squash"), z.literal("rebase")])).readonly().describe('Merge methods the repository accepts, the signed-in user\'s usual one first.'),
|
|
41
|
+
'autoMerge': z.object({
|
|
42
|
+
'enabled': z.boolean().readonly().describe('Whether the host merges the change request by itself once its merge requirements are met.'),
|
|
43
|
+
'method': z.union([z.literal(null), z.literal("merge"), z.literal("squash"), z.literal("rebase")]).readonly().describe('How the commits enter the base branch then, while enabled and the host names the method; null otherwise.'),
|
|
44
|
+
'enabledBy': z.union([z.literal(null), z.string()]).readonly().describe('Login of the account that turned it on, while enabled and the host names one; null otherwise.'),
|
|
45
|
+
'canEnable': z.boolean().readonly().describe('Whether the signed-in user can turn it on now through `setAutoMerge`; false while it is on.'),
|
|
46
|
+
'canDisable': z.boolean().readonly().describe('Whether the signed-in user can turn it off now through `setAutoMerge`; false while it is off.'),
|
|
47
|
+
}).readonly().optional().describe('How the change request stands with its host\'s automatic merge; omitted by a provider that sets none, whose change requests then offer no automatic merge.'),
|
|
41
48
|
'branchUpdates': z.array(z.union([z.literal("merge"), z.literal("rebase")])).readonly().describe('Ways the signed-in user can bring the base branch\'s new commits into the head branch now; empty while the head is up to date, while the branches conflict, when the user cannot update the head branch, or when the provider cannot, so a head behind its base cannot be told apart from a current one for a user without the right to update it.'),
|
|
42
49
|
'reviewDecision': z.union([z.literal("none"), z.literal("approved"), z.literal("changes-requested"), z.literal("review-required")]).readonly().describe('Aggregate review outcome.'),
|
|
43
50
|
'reviewers': z.array(z.object({
|
|
@@ -105,17 +112,20 @@ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_p
|
|
|
105
112
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_parameter_2$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_parameter_2$schema$value ??= z.union([z.literal(null), z.object({
|
|
106
113
|
'from': z.string().readonly().describe('First, oldest commit shown.'),
|
|
107
114
|
'to': z.string().readonly().describe('Last, newest commit shown; equal to `from` for one commit.'),
|
|
115
|
+
}), z.object({
|
|
116
|
+
'upTo': z.string().readonly().describe('Full object name of the commit the changes end at.'),
|
|
108
117
|
})]))
|
|
109
118
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_result$schema$value
|
|
110
119
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_result$schema$value ??= z.object({
|
|
111
|
-
'headSha': z.string().readonly().describe('Commit whose new side the diff describes: the head,
|
|
120
|
+
'headSha': z.string().readonly().describe('Commit whose new side the diff describes: the head, the last chosen commit, or the commit the changes go up to.'),
|
|
112
121
|
'files': z.array(z.object({
|
|
113
122
|
'path': z.string().readonly().describe('Path relative to the repository root after the change, or before it for a deleted file.'),
|
|
114
123
|
'previousPath': z.union([z.literal(null), z.string()]).readonly().describe('Path before a rename, else null.'),
|
|
115
|
-
'status': z.union([z.literal("deleted"), z.literal("
|
|
124
|
+
'status': z.union([z.literal("deleted"), z.literal("renamed"), z.literal("added"), z.literal("modified")]).readonly().describe('How the file changed.'),
|
|
116
125
|
'binary': z.boolean().readonly().describe('Whether the content is binary, which carries no hunks.'),
|
|
117
126
|
'oversized': z.boolean().readonly().describe('Whether an untracked file exceeds `maxDiffBytes`, so it carries no hunks.'),
|
|
118
127
|
'untracked': z.boolean().readonly().describe('Whether Git does not track the file yet; only local diffs list such files.'),
|
|
128
|
+
'submodule': z.boolean().readonly().describe('Whether the path is a submodule, whose change is the commit recorded for it and whose hunks hold no file content.'),
|
|
119
129
|
'additions': z.number().readonly().describe('Lines added.'),
|
|
120
130
|
'deletions': z.number().readonly().describe('Lines deleted.'),
|
|
121
131
|
'hunks': z.array(z.object({
|
|
@@ -297,6 +307,7 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changesLens_param
|
|
|
297
307
|
'kind': z.literal("local").readonly(),
|
|
298
308
|
'scope': z.union([z.object({
|
|
299
309
|
'kind': z.literal("branch").readonly(),
|
|
310
|
+
'head': z.string().readonly().optional(),
|
|
300
311
|
'base': z.union([z.literal(null), z.string()]).readonly(),
|
|
301
312
|
'commits': z.union([z.literal(null), z.object({
|
|
302
313
|
'from': z.string().readonly().describe('First, oldest commit shown.'),
|
|
@@ -304,10 +315,13 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changesLens_param
|
|
|
304
315
|
})]).readonly(),
|
|
305
316
|
}), z.object({
|
|
306
317
|
'kind': z.literal("uncommitted").readonly(),
|
|
318
|
+
'head': z.string().readonly().optional(),
|
|
307
319
|
}), z.object({
|
|
308
320
|
'kind': z.literal("unstaged").readonly(),
|
|
321
|
+
'head': z.string().readonly().optional(),
|
|
309
322
|
}), z.object({
|
|
310
323
|
'kind': z.literal("staged").readonly(),
|
|
324
|
+
'head': z.string().readonly().optional(),
|
|
311
325
|
})]).readonly(),
|
|
312
326
|
}), z.object({
|
|
313
327
|
'kind': z.literal("change").readonly(),
|
|
@@ -315,8 +329,10 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changesLens_param
|
|
|
315
329
|
'commits': z.union([z.literal(null), z.object({
|
|
316
330
|
'from': z.string().readonly().describe('First, oldest commit shown.'),
|
|
317
331
|
'to': z.string().readonly().describe('Last, newest commit shown; equal to `from` for one commit.'),
|
|
332
|
+
}), z.object({
|
|
333
|
+
'upTo': z.string().readonly().describe('Full object name of the commit the changes end at.'),
|
|
318
334
|
})]).readonly(),
|
|
319
|
-
})]).readonly().describe('The view\'s source: local changes in a scope, or a binding URL with its chosen commits.'),
|
|
335
|
+
})]).readonly().describe('The view\'s source: local changes in a scope, or a binding URL with its chosen commits or the commit its changes go up to.'),
|
|
320
336
|
'version': z.string().readonly().describe('`lensVersion` of the files the view shows; files read since with another version refuse the request.'),
|
|
321
337
|
'lens': z.string().readonly().describe('Identity of the registered lens.'),
|
|
322
338
|
}))
|
|
@@ -347,21 +363,25 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_continueInProject
|
|
|
347
363
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_0$schema$value
|
|
348
364
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_0$schema$value ??= z.string())
|
|
349
365
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_1$schema$value
|
|
350
|
-
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_1$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_1$schema$value ??= z.string())
|
|
366
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_1$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_1$schema$value ??= z.union([z.literal(null), z.string()]))
|
|
367
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_2$schema$value
|
|
368
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_2$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_2$schema$value ??= z.string())
|
|
351
369
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_result$schema$value
|
|
352
370
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_result$schema$value ??= z.object({
|
|
353
371
|
'automatic': z.union([z.literal(null), z.object({
|
|
354
|
-
'name': z.string().readonly().describe('The created worktree\'s base branch or abbreviated base commit, or the default branch of the code host remote.'),
|
|
372
|
+
'name': z.string().readonly().describe('The created worktree\'s base branch or abbreviated base commit, or the default branch of the code host remote; for a scope with a `head`, the Session\'s checked-out branch, or its abbreviated HEAD commit when detached.'),
|
|
355
373
|
'worktree': z.boolean().readonly().describe('Whether the fork point is the base commit of the worktree the Session created rather than a merge base.'),
|
|
356
374
|
})]).readonly().describe('The fork point used while no base branch is chosen, whatever the query; null without one.'),
|
|
357
375
|
'remote': z.array(z.object({
|
|
358
376
|
'ref': z.string().readonly().describe('Full ref name: `refs/heads/<branch>` or `refs/remotes/<remote>/<branch>`.'),
|
|
359
377
|
'name': z.string().readonly().describe('The ref without `refs/heads/` or `refs/remotes/`, such as `master` or `origin/master`.'),
|
|
378
|
+
'worktree': z.string().readonly().optional().describe('Directory Git registered for the worktree that has this local branch checked out, absent when none has; a scope that names the branch as its head reads that worktree.'),
|
|
360
379
|
})).readonly().describe('Remote-tracking branches without symbolic refs such as `origin/HEAD`, most recently committed first, at most `maxBranches`.'),
|
|
361
380
|
'local': z.array(z.object({
|
|
362
381
|
'ref': z.string().readonly().describe('Full ref name: `refs/heads/<branch>` or `refs/remotes/<remote>/<branch>`.'),
|
|
363
382
|
'name': z.string().readonly().describe('The ref without `refs/heads/` or `refs/remotes/`, such as `master` or `origin/master`.'),
|
|
364
|
-
|
|
383
|
+
'worktree': z.string().readonly().optional().describe('Directory Git registered for the worktree that has this local branch checked out, absent when none has; a scope that names the branch as its head reads that worktree.'),
|
|
384
|
+
})).readonly().describe('Local branches other than the one the scope shows, most recently committed first, at most `maxBranches`.'),
|
|
365
385
|
}))
|
|
366
386
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_dismiss_parameter_0$schema$value
|
|
367
387
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_dismiss_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_dismiss_parameter_0$schema$value ??= z.string())
|
|
@@ -441,6 +461,13 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_follow_result$sch
|
|
|
441
461
|
'mergeability': z.union([z.literal("unknown"), z.literal("mergeable"), z.literal("conflicting")]).readonly().describe('Merge conflict status; `unknown` while the host computes it.'),
|
|
442
462
|
'mergeReady': z.boolean().readonly().describe('Whether the host would merge the change request now for the signed-in user: open, not a draft, and meeting the base branch\'s merge rules.'),
|
|
443
463
|
'mergeMethods': z.array(z.union([z.literal("merge"), z.literal("squash"), z.literal("rebase")])).readonly().describe('Merge methods the repository accepts, the signed-in user\'s usual one first.'),
|
|
464
|
+
'autoMerge': z.object({
|
|
465
|
+
'enabled': z.boolean().readonly().describe('Whether the host merges the change request by itself once its merge requirements are met.'),
|
|
466
|
+
'method': z.union([z.literal(null), z.literal("merge"), z.literal("squash"), z.literal("rebase")]).readonly().describe('How the commits enter the base branch then, while enabled and the host names the method; null otherwise.'),
|
|
467
|
+
'enabledBy': z.union([z.literal(null), z.string()]).readonly().describe('Login of the account that turned it on, while enabled and the host names one; null otherwise.'),
|
|
468
|
+
'canEnable': z.boolean().readonly().describe('Whether the signed-in user can turn it on now through `setAutoMerge`; false while it is on.'),
|
|
469
|
+
'canDisable': z.boolean().readonly().describe('Whether the signed-in user can turn it off now through `setAutoMerge`; false while it is off.'),
|
|
470
|
+
}).readonly().optional().describe('How the change request stands with its host\'s automatic merge; omitted by a provider that sets none, whose change requests then offer no automatic merge.'),
|
|
444
471
|
'branchUpdates': z.array(z.union([z.literal("merge"), z.literal("rebase")])).readonly().describe('Ways the signed-in user can bring the base branch\'s new commits into the head branch now; empty while the head is up to date, while the branches conflict, when the user cannot update the head branch, or when the provider cannot, so a head behind its base cannot be told apart from a current one for a user without the right to update it.'),
|
|
445
472
|
'reviewDecision': z.union([z.literal("none"), z.literal("approved"), z.literal("changes-requested"), z.literal("review-required")]).readonly().describe('Aggregate review outcome.'),
|
|
446
473
|
'reviewers': z.array(z.object({
|
|
@@ -523,6 +550,13 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_follow_result$sch
|
|
|
523
550
|
'mergeability': z.union([z.literal("unknown"), z.literal("mergeable"), z.literal("conflicting")]).readonly().describe('Merge conflict status; `unknown` while the host computes it.'),
|
|
524
551
|
'mergeReady': z.boolean().readonly().describe('Whether the host would merge the change request now for the signed-in user: open, not a draft, and meeting the base branch\'s merge rules.'),
|
|
525
552
|
'mergeMethods': z.array(z.union([z.literal("merge"), z.literal("squash"), z.literal("rebase")])).readonly().describe('Merge methods the repository accepts, the signed-in user\'s usual one first.'),
|
|
553
|
+
'autoMerge': z.object({
|
|
554
|
+
'enabled': z.boolean().readonly().describe('Whether the host merges the change request by itself once its merge requirements are met.'),
|
|
555
|
+
'method': z.union([z.literal(null), z.literal("merge"), z.literal("squash"), z.literal("rebase")]).readonly().describe('How the commits enter the base branch then, while enabled and the host names the method; null otherwise.'),
|
|
556
|
+
'enabledBy': z.union([z.literal(null), z.string()]).readonly().describe('Login of the account that turned it on, while enabled and the host names one; null otherwise.'),
|
|
557
|
+
'canEnable': z.boolean().readonly().describe('Whether the signed-in user can turn it on now through `setAutoMerge`; false while it is on.'),
|
|
558
|
+
'canDisable': z.boolean().readonly().describe('Whether the signed-in user can turn it off now through `setAutoMerge`; false while it is off.'),
|
|
559
|
+
}).readonly().optional().describe('How the change request stands with its host\'s automatic merge; omitted by a provider that sets none, whose change requests then offer no automatic merge.'),
|
|
526
560
|
'branchUpdates': z.array(z.union([z.literal("merge"), z.literal("rebase")])).readonly().describe('Ways the signed-in user can bring the base branch\'s new commits into the head branch now; empty while the head is up to date, while the branches conflict, when the user cannot update the head branch, or when the provider cannot, so a head behind its base cannot be told apart from a current one for a user without the right to update it.'),
|
|
527
561
|
'reviewDecision': z.union([z.literal("none"), z.literal("approved"), z.literal("changes-requested"), z.literal("review-required")]).readonly().describe('Aggregate review outcome.'),
|
|
528
562
|
'reviewers': z.array(z.object({
|
|
@@ -623,10 +657,24 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_follow_result$sch
|
|
|
623
657
|
})).readonly().describe('Changed files in Git\'s path order, untracked files last, at most `maxUntrackedFiles` of those.'),
|
|
624
658
|
})]).readonly().describe('Files the `branch` scope changes, or null before the first inspection, outside a checkout, and without a fork point.'),
|
|
625
659
|
}))
|
|
660
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_hostReadiness_parameter_0$schema$value
|
|
661
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_hostReadiness_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_hostReadiness_parameter_0$schema$value ??= z.string())
|
|
662
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_hostReadiness_parameter_1$schema$value
|
|
663
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_hostReadiness_parameter_1$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_hostReadiness_parameter_1$schema$value ??= z.string())
|
|
664
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_hostReadiness_result$schema$value
|
|
665
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_hostReadiness_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_hostReadiness_result$schema$value ??= z.object({
|
|
666
|
+
'state': z.union([z.literal("unavailable"), z.literal("ready"), z.literal("unauthenticated")]).readonly().describe('`ready`, `unauthenticated` (sign-in needed), or `unavailable` (tool missing or host unreachable).'),
|
|
667
|
+
'message': z.union([z.literal(null), z.string()]).readonly().describe('Human-readable detail, or null when ready.'),
|
|
668
|
+
'signIn': z.union([z.literal(null), z.object({
|
|
669
|
+
'command': z.string().readonly(),
|
|
670
|
+
})]).readonly().describe('Shell command the user runs on the host to sign in, while `unauthenticated`; null otherwise or when the provider names none.'),
|
|
671
|
+
}))
|
|
626
672
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_parameter_0$schema$value
|
|
627
673
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_parameter_0$schema$value ??= z.string())
|
|
628
674
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_parameter_1$schema$value
|
|
629
675
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_parameter_1$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_parameter_1$schema$value ??= z.union([z.literal(null), z.string()]))
|
|
676
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_parameter_2$schema$value
|
|
677
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_parameter_2$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_parameter_2$schema$value ??= z.union([z.literal(null), z.string()]))
|
|
630
678
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_result$schema$value
|
|
631
679
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_result$schema$value ??= z.object({
|
|
632
680
|
'headSha': z.string().readonly().describe('HEAD commit the list was read at.'),
|
|
@@ -644,6 +692,7 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_paramet
|
|
|
644
692
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_parameter_1$schema$value
|
|
645
693
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_parameter_1$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_parameter_1$schema$value ??= z.union([z.object({
|
|
646
694
|
'kind': z.literal("branch").readonly(),
|
|
695
|
+
'head': z.string().readonly().optional(),
|
|
647
696
|
'base': z.union([z.literal(null), z.string()]).readonly(),
|
|
648
697
|
'commits': z.union([z.literal(null), z.object({
|
|
649
698
|
'from': z.string().readonly().describe('First, oldest commit shown.'),
|
|
@@ -651,10 +700,13 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_paramet
|
|
|
651
700
|
})]).readonly(),
|
|
652
701
|
}), z.object({
|
|
653
702
|
'kind': z.literal("uncommitted").readonly(),
|
|
703
|
+
'head': z.string().readonly().optional(),
|
|
654
704
|
}), z.object({
|
|
655
705
|
'kind': z.literal("unstaged").readonly(),
|
|
706
|
+
'head': z.string().readonly().optional(),
|
|
656
707
|
}), z.object({
|
|
657
708
|
'kind': z.literal("staged").readonly(),
|
|
709
|
+
'head': z.string().readonly().optional(),
|
|
658
710
|
})]))
|
|
659
711
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_result$schema$value
|
|
660
712
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_result$schema$value ??= z.object({
|
|
@@ -662,10 +714,11 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_result$
|
|
|
662
714
|
'files': z.array(z.object({
|
|
663
715
|
'path': z.string().readonly().describe('Path relative to the repository root after the change, or before it for a deleted file.'),
|
|
664
716
|
'previousPath': z.union([z.literal(null), z.string()]).readonly().describe('Path before a rename, else null.'),
|
|
665
|
-
'status': z.union([z.literal("deleted"), z.literal("
|
|
717
|
+
'status': z.union([z.literal("deleted"), z.literal("renamed"), z.literal("added"), z.literal("modified")]).readonly().describe('How the file changed.'),
|
|
666
718
|
'binary': z.boolean().readonly().describe('Whether the content is binary, which carries no hunks.'),
|
|
667
719
|
'oversized': z.boolean().readonly().describe('Whether an untracked file exceeds `maxDiffBytes`, so it carries no hunks.'),
|
|
668
720
|
'untracked': z.boolean().readonly().describe('Whether Git does not track the file yet; only local diffs list such files.'),
|
|
721
|
+
'submodule': z.boolean().readonly().describe('Whether the path is a submodule, whose change is the commit recorded for it and whose hunks hold no file content.'),
|
|
669
722
|
'additions': z.number().readonly().describe('Lines added.'),
|
|
670
723
|
'deletions': z.number().readonly().describe('Lines deleted.'),
|
|
671
724
|
'hunks': z.array(z.object({
|
|
@@ -679,12 +732,14 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_result$
|
|
|
679
732
|
'digest': z.string().readonly().describe('Digest of the file\'s change: its paths, status, and hunks, plus the blob names of a binary change, or the content of an untracked binary file. Equal digests describe the same change; reading the same comparison again keeps it.'),
|
|
680
733
|
})).readonly().describe('Changed files in Git\'s path order, untracked files last.'),
|
|
681
734
|
'omitted': z.number().readonly().describe('Untracked files left out beyond `maxUntrackedFiles`.'),
|
|
735
|
+
'worktree': z.string().readonly().optional().describe('Top-level directory of the worktree the scope read for its `head`; absent for the Session\'s own checkout and for a head read from its commits.'),
|
|
682
736
|
}))
|
|
683
737
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_0$schema$value
|
|
684
738
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_0$schema$value ??= z.string())
|
|
685
739
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_1$schema$value
|
|
686
740
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_1$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_1$schema$value ??= z.union([z.object({
|
|
687
741
|
'kind': z.literal("branch").readonly(),
|
|
742
|
+
'head': z.string().readonly().optional(),
|
|
688
743
|
'base': z.union([z.literal(null), z.string()]).readonly(),
|
|
689
744
|
'commits': z.union([z.literal(null), z.object({
|
|
690
745
|
'from': z.string().readonly().describe('First, oldest commit shown.'),
|
|
@@ -692,15 +747,45 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_paramet
|
|
|
692
747
|
})]).readonly(),
|
|
693
748
|
}), z.object({
|
|
694
749
|
'kind': z.literal("uncommitted").readonly(),
|
|
750
|
+
'head': z.string().readonly().optional(),
|
|
695
751
|
}), z.object({
|
|
696
752
|
'kind': z.literal("unstaged").readonly(),
|
|
753
|
+
'head': z.string().readonly().optional(),
|
|
697
754
|
}), z.object({
|
|
698
755
|
'kind': z.literal("staged").readonly(),
|
|
756
|
+
'head': z.string().readonly().optional(),
|
|
699
757
|
})]))
|
|
700
758
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_2$schema$value
|
|
701
759
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_2$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_2$schema$value ??= z.string())
|
|
702
760
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_result$schema$value
|
|
703
761
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_result$schema$value ??= z.string())
|
|
762
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localWrite_parameter_0$schema$value
|
|
763
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localWrite_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localWrite_parameter_0$schema$value ??= z.string())
|
|
764
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localWrite_parameter_1$schema$value
|
|
765
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localWrite_parameter_1$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localWrite_parameter_1$schema$value ??= z.union([z.object({
|
|
766
|
+
'kind': z.literal("stage").readonly(),
|
|
767
|
+
'files': z.array(z.object({
|
|
768
|
+
'path': z.string().readonly().describe('Path relative to the repository root, as the diff names it.'),
|
|
769
|
+
'digest': z.string().readonly().describe('Digest of the change the reader saw.'),
|
|
770
|
+
})).readonly(),
|
|
771
|
+
}), z.object({
|
|
772
|
+
'kind': z.literal("unstage").readonly(),
|
|
773
|
+
'paths': z.array(z.string()).readonly(),
|
|
774
|
+
}), z.object({
|
|
775
|
+
'kind': z.literal("restore").readonly(),
|
|
776
|
+
'files': z.array(z.object({
|
|
777
|
+
'path': z.string().readonly().describe('Path relative to the repository root, as the diff names it.'),
|
|
778
|
+
'digest': z.string().readonly().describe('Digest of the change the reader saw.'),
|
|
779
|
+
})).readonly(),
|
|
780
|
+
}), z.object({
|
|
781
|
+
'kind': z.literal("reindex").readonly(),
|
|
782
|
+
'tree': z.string().readonly(),
|
|
783
|
+
'paths': z.array(z.string()).readonly(),
|
|
784
|
+
})]))
|
|
785
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localWrite_result$schema$value
|
|
786
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localWrite_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localWrite_result$schema$value ??= z.object({
|
|
787
|
+
'undo': z.union([z.literal(null), z.string()]).readonly().describe('Object name of the index as a tree before a `stage` or `unstage`, which a `reindex` of the same paths returns to; null for other writes and while the index holds unmerged entries.'),
|
|
788
|
+
}))
|
|
704
789
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_markReady_parameter_0$schema$value
|
|
705
790
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_markReady_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_markReady_parameter_0$schema$value ??= z.string())
|
|
706
791
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_markReady_parameter_1$schema$value
|
|
@@ -760,6 +845,90 @@ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_retryWorktree_param
|
|
|
760
845
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_retryWorktree_parameter_1$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_retryWorktree_parameter_1$schema$value ??= z.boolean())
|
|
761
846
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_retryWorktree_result$schema$value
|
|
762
847
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_retryWorktree_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_retryWorktree_result$schema$value ??= z.void())
|
|
848
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewActivity_parameter_0$schema$value
|
|
849
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewActivity_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewActivity_parameter_0$schema$value ??= z.string())
|
|
850
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewActivity_result$schema$value
|
|
851
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewActivity_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewActivity_result$schema$value ??= z.union([z.literal(null), z.object({
|
|
852
|
+
'items': z.array(z.union([z.object({
|
|
853
|
+
'at': z.string().readonly().describe('ISO 8601 time of the entry.'),
|
|
854
|
+
'actor': z.union([z.literal(null), z.object({
|
|
855
|
+
'login': z.string().readonly().describe('Login as the host spells it.'),
|
|
856
|
+
'avatarUrl': z.union([z.literal(null), z.string()]).readonly().describe('Avatar image URL, or null when the host reports none.'),
|
|
857
|
+
'bot': z.boolean().readonly().describe('Whether the account is an app or bot rather than a person.'),
|
|
858
|
+
})]).readonly().describe('Account the entry is by, or null when the host names none or the account no longer exists.'),
|
|
859
|
+
'kind': z.literal("comment").readonly(),
|
|
860
|
+
'body': z.string().readonly(),
|
|
861
|
+
'url': z.union([z.literal(null), z.string()]).readonly(),
|
|
862
|
+
}), z.object({
|
|
863
|
+
'at': z.string().readonly().describe('ISO 8601 time of the entry.'),
|
|
864
|
+
'actor': z.union([z.literal(null), z.object({
|
|
865
|
+
'login': z.string().readonly().describe('Login as the host spells it.'),
|
|
866
|
+
'avatarUrl': z.union([z.literal(null), z.string()]).readonly().describe('Avatar image URL, or null when the host reports none.'),
|
|
867
|
+
'bot': z.boolean().readonly().describe('Whether the account is an app or bot rather than a person.'),
|
|
868
|
+
})]).readonly().describe('Account the entry is by, or null when the host names none or the account no longer exists.'),
|
|
869
|
+
'kind': z.literal("review").readonly(),
|
|
870
|
+
'verdict': z.union([z.literal("approved"), z.literal("dismissed"), z.literal("changes-requested"), z.literal("commented")]).readonly(),
|
|
871
|
+
'body': z.string().readonly(),
|
|
872
|
+
'comments': z.number().readonly(),
|
|
873
|
+
'url': z.union([z.literal(null), z.string()]).readonly(),
|
|
874
|
+
}), z.object({
|
|
875
|
+
'at': z.string().readonly().describe('ISO 8601 time of the entry.'),
|
|
876
|
+
'actor': z.union([z.literal(null), z.object({
|
|
877
|
+
'login': z.string().readonly().describe('Login as the host spells it.'),
|
|
878
|
+
'avatarUrl': z.union([z.literal(null), z.string()]).readonly().describe('Avatar image URL, or null when the host reports none.'),
|
|
879
|
+
'bot': z.boolean().readonly().describe('Whether the account is an app or bot rather than a person.'),
|
|
880
|
+
})]).readonly().describe('Account the entry is by, or null when the host names none or the account no longer exists.'),
|
|
881
|
+
'kind': z.literal("commit").readonly(),
|
|
882
|
+
'sha': z.string().readonly(),
|
|
883
|
+
'title': z.string().readonly(),
|
|
884
|
+
}), z.object({
|
|
885
|
+
'at': z.string().readonly().describe('ISO 8601 time of the entry.'),
|
|
886
|
+
'actor': z.union([z.literal(null), z.object({
|
|
887
|
+
'login': z.string().readonly().describe('Login as the host spells it.'),
|
|
888
|
+
'avatarUrl': z.union([z.literal(null), z.string()]).readonly().describe('Avatar image URL, or null when the host reports none.'),
|
|
889
|
+
'bot': z.boolean().readonly().describe('Whether the account is an app or bot rather than a person.'),
|
|
890
|
+
})]).readonly().describe('Account the entry is by, or null when the host names none or the account no longer exists.'),
|
|
891
|
+
'kind': z.union([z.literal("closed"), z.literal("merged"), z.literal("reopened"), z.literal("ready-for-review"), z.literal("converted-to-draft"), z.literal("force-pushed")]).readonly(),
|
|
892
|
+
}), z.object({
|
|
893
|
+
'at': z.string().readonly().describe('ISO 8601 time of the entry.'),
|
|
894
|
+
'actor': z.union([z.literal(null), z.object({
|
|
895
|
+
'login': z.string().readonly().describe('Login as the host spells it.'),
|
|
896
|
+
'avatarUrl': z.union([z.literal(null), z.string()]).readonly().describe('Avatar image URL, or null when the host reports none.'),
|
|
897
|
+
'bot': z.boolean().readonly().describe('Whether the account is an app or bot rather than a person.'),
|
|
898
|
+
})]).readonly().describe('Account the entry is by, or null when the host names none or the account no longer exists.'),
|
|
899
|
+
'kind': z.union([z.literal("auto-merge-enabled"), z.literal("auto-merge-disabled")]).readonly(),
|
|
900
|
+
}), z.object({
|
|
901
|
+
'at': z.string().readonly().describe('ISO 8601 time of the entry.'),
|
|
902
|
+
'actor': z.union([z.literal(null), z.object({
|
|
903
|
+
'login': z.string().readonly().describe('Login as the host spells it.'),
|
|
904
|
+
'avatarUrl': z.union([z.literal(null), z.string()]).readonly().describe('Avatar image URL, or null when the host reports none.'),
|
|
905
|
+
'bot': z.boolean().readonly().describe('Whether the account is an app or bot rather than a person.'),
|
|
906
|
+
})]).readonly().describe('Account the entry is by, or null when the host names none or the account no longer exists.'),
|
|
907
|
+
'kind': z.literal("review-requested").readonly(),
|
|
908
|
+
'reviewer': z.union([z.literal(null), z.string()]).readonly(),
|
|
909
|
+
}), z.object({
|
|
910
|
+
'at': z.string().readonly().describe('ISO 8601 time of the entry.'),
|
|
911
|
+
'actor': z.union([z.literal(null), z.object({
|
|
912
|
+
'login': z.string().readonly().describe('Login as the host spells it.'),
|
|
913
|
+
'avatarUrl': z.union([z.literal(null), z.string()]).readonly().describe('Avatar image URL, or null when the host reports none.'),
|
|
914
|
+
'bot': z.boolean().readonly().describe('Whether the account is an app or bot rather than a person.'),
|
|
915
|
+
})]).readonly().describe('Account the entry is by, or null when the host names none or the account no longer exists.'),
|
|
916
|
+
'kind': z.literal("renamed").readonly(),
|
|
917
|
+
'from': z.string().readonly(),
|
|
918
|
+
'to': z.string().readonly(),
|
|
919
|
+
}), z.object({
|
|
920
|
+
'at': z.string().readonly().describe('ISO 8601 time of the entry.'),
|
|
921
|
+
'actor': z.union([z.literal(null), z.object({
|
|
922
|
+
'login': z.string().readonly().describe('Login as the host spells it.'),
|
|
923
|
+
'avatarUrl': z.union([z.literal(null), z.string()]).readonly().describe('Avatar image URL, or null when the host reports none.'),
|
|
924
|
+
'bot': z.boolean().readonly().describe('Whether the account is an app or bot rather than a person.'),
|
|
925
|
+
})]).readonly().describe('Account the entry is by, or null when the host names none or the account no longer exists.'),
|
|
926
|
+
'kind': z.literal("other").readonly(),
|
|
927
|
+
'text': z.string().readonly(),
|
|
928
|
+
})])).readonly().describe('Entries oldest first, at most the provider\'s limit; the latest ones when the change request has more.'),
|
|
929
|
+
'truncated': z.boolean().readonly().describe('Whether the change request has entries older than `items` holds.'),
|
|
930
|
+
'viewerCanComment': z.boolean().readonly().describe('Whether the signed-in user can add a comment through `addComment`; false for a provider without it.'),
|
|
931
|
+
})]))
|
|
763
932
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewChangeRequest_parameter_0$schema$value
|
|
764
933
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewChangeRequest_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewChangeRequest_parameter_0$schema$value ??= z.string())
|
|
765
934
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewChangeRequest_result$schema$value
|
|
@@ -806,6 +975,13 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewChangeReque
|
|
|
806
975
|
'mergeability': z.union([z.literal("unknown"), z.literal("mergeable"), z.literal("conflicting")]).readonly().describe('Merge conflict status; `unknown` while the host computes it.'),
|
|
807
976
|
'mergeReady': z.boolean().readonly().describe('Whether the host would merge the change request now for the signed-in user: open, not a draft, and meeting the base branch\'s merge rules.'),
|
|
808
977
|
'mergeMethods': z.array(z.union([z.literal("merge"), z.literal("squash"), z.literal("rebase")])).readonly().describe('Merge methods the repository accepts, the signed-in user\'s usual one first.'),
|
|
978
|
+
'autoMerge': z.object({
|
|
979
|
+
'enabled': z.boolean().readonly().describe('Whether the host merges the change request by itself once its merge requirements are met.'),
|
|
980
|
+
'method': z.union([z.literal(null), z.literal("merge"), z.literal("squash"), z.literal("rebase")]).readonly().describe('How the commits enter the base branch then, while enabled and the host names the method; null otherwise.'),
|
|
981
|
+
'enabledBy': z.union([z.literal(null), z.string()]).readonly().describe('Login of the account that turned it on, while enabled and the host names one; null otherwise.'),
|
|
982
|
+
'canEnable': z.boolean().readonly().describe('Whether the signed-in user can turn it on now through `setAutoMerge`; false while it is on.'),
|
|
983
|
+
'canDisable': z.boolean().readonly().describe('Whether the signed-in user can turn it off now through `setAutoMerge`; false while it is off.'),
|
|
984
|
+
}).readonly().optional().describe('How the change request stands with its host\'s automatic merge; omitted by a provider that sets none, whose change requests then offer no automatic merge.'),
|
|
809
985
|
'branchUpdates': z.array(z.union([z.literal("merge"), z.literal("rebase")])).readonly().describe('Ways the signed-in user can bring the base branch\'s new commits into the head branch now; empty while the head is up to date, while the branches conflict, when the user cannot update the head branch, or when the provider cannot, so a head behind its base cannot be told apart from a current one for a user without the right to update it.'),
|
|
810
986
|
'reviewDecision': z.union([z.literal("none"), z.literal("approved"), z.literal("changes-requested"), z.literal("review-required")]).readonly().describe('Aggregate review outcome.'),
|
|
811
987
|
'reviewers': z.array(z.object({
|
|
@@ -881,6 +1057,13 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewChangeReque
|
|
|
881
1057
|
'mergeability': z.union([z.literal("unknown"), z.literal("mergeable"), z.literal("conflicting")]).readonly().describe('Merge conflict status; `unknown` while the host computes it.'),
|
|
882
1058
|
'mergeReady': z.boolean().readonly().describe('Whether the host would merge the change request now for the signed-in user: open, not a draft, and meeting the base branch\'s merge rules.'),
|
|
883
1059
|
'mergeMethods': z.array(z.union([z.literal("merge"), z.literal("squash"), z.literal("rebase")])).readonly().describe('Merge methods the repository accepts, the signed-in user\'s usual one first.'),
|
|
1060
|
+
'autoMerge': z.object({
|
|
1061
|
+
'enabled': z.boolean().readonly().describe('Whether the host merges the change request by itself once its merge requirements are met.'),
|
|
1062
|
+
'method': z.union([z.literal(null), z.literal("merge"), z.literal("squash"), z.literal("rebase")]).readonly().describe('How the commits enter the base branch then, while enabled and the host names the method; null otherwise.'),
|
|
1063
|
+
'enabledBy': z.union([z.literal(null), z.string()]).readonly().describe('Login of the account that turned it on, while enabled and the host names one; null otherwise.'),
|
|
1064
|
+
'canEnable': z.boolean().readonly().describe('Whether the signed-in user can turn it on now through `setAutoMerge`; false while it is on.'),
|
|
1065
|
+
'canDisable': z.boolean().readonly().describe('Whether the signed-in user can turn it off now through `setAutoMerge`; false while it is off.'),
|
|
1066
|
+
}).readonly().optional().describe('How the change request stands with its host\'s automatic merge; omitted by a provider that sets none, whose change requests then offer no automatic merge.'),
|
|
884
1067
|
'branchUpdates': z.array(z.union([z.literal("merge"), z.literal("rebase")])).readonly().describe('Ways the signed-in user can bring the base branch\'s new commits into the head branch now; empty while the head is up to date, while the branches conflict, when the user cannot update the head branch, or when the provider cannot, so a head behind its base cannot be told apart from a current one for a user without the right to update it.'),
|
|
885
1068
|
'reviewDecision': z.union([z.literal("none"), z.literal("approved"), z.literal("changes-requested"), z.literal("review-required")]).readonly().describe('Aggregate review outcome.'),
|
|
886
1069
|
'reviewers': z.array(z.object({
|
|
@@ -955,6 +1138,13 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewChecks_resu
|
|
|
955
1138
|
'mergeability': z.union([z.literal("unknown"), z.literal("mergeable"), z.literal("conflicting")]).readonly().describe('Merge conflict status; `unknown` while the host computes it.'),
|
|
956
1139
|
'mergeReady': z.boolean().readonly().describe('Whether the host would merge the change request now for the signed-in user: open, not a draft, and meeting the base branch\'s merge rules.'),
|
|
957
1140
|
'mergeMethods': z.array(z.union([z.literal("merge"), z.literal("squash"), z.literal("rebase")])).readonly().describe('Merge methods the repository accepts, the signed-in user\'s usual one first.'),
|
|
1141
|
+
'autoMerge': z.object({
|
|
1142
|
+
'enabled': z.boolean().readonly().describe('Whether the host merges the change request by itself once its merge requirements are met.'),
|
|
1143
|
+
'method': z.union([z.literal(null), z.literal("merge"), z.literal("squash"), z.literal("rebase")]).readonly().describe('How the commits enter the base branch then, while enabled and the host names the method; null otherwise.'),
|
|
1144
|
+
'enabledBy': z.union([z.literal(null), z.string()]).readonly().describe('Login of the account that turned it on, while enabled and the host names one; null otherwise.'),
|
|
1145
|
+
'canEnable': z.boolean().readonly().describe('Whether the signed-in user can turn it on now through `setAutoMerge`; false while it is on.'),
|
|
1146
|
+
'canDisable': z.boolean().readonly().describe('Whether the signed-in user can turn it off now through `setAutoMerge`; false while it is off.'),
|
|
1147
|
+
}).readonly().optional().describe('How the change request stands with its host\'s automatic merge; omitted by a provider that sets none, whose change requests then offer no automatic merge.'),
|
|
958
1148
|
'branchUpdates': z.array(z.union([z.literal("merge"), z.literal("rebase")])).readonly().describe('Ways the signed-in user can bring the base branch\'s new commits into the head branch now; empty while the head is up to date, while the branches conflict, when the user cannot update the head branch, or when the provider cannot, so a head behind its base cannot be told apart from a current one for a user without the right to update it.'),
|
|
959
1149
|
'reviewDecision': z.union([z.literal("none"), z.literal("approved"), z.literal("changes-requested"), z.literal("review-required")]).readonly().describe('Aggregate review outcome.'),
|
|
960
1150
|
'reviewers': z.array(z.object({
|
|
@@ -998,6 +1188,12 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewChecks_resu
|
|
|
998
1188
|
'updatedAt': z.string().readonly().describe('ISO 8601 time of the host\'s last update to the change request.'),
|
|
999
1189
|
'closedAt': z.union([z.literal(null), z.string()]).readonly().describe('ISO 8601 time the change request was merged or closed, or null while it is open.'),
|
|
1000
1190
|
}))
|
|
1191
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewComment_parameter_0$schema$value
|
|
1192
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewComment_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewComment_parameter_0$schema$value ??= z.string())
|
|
1193
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewComment_parameter_1$schema$value
|
|
1194
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewComment_parameter_1$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewComment_parameter_1$schema$value ??= z.string())
|
|
1195
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewComment_result$schema$value
|
|
1196
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewComment_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewComment_result$schema$value ??= z.void())
|
|
1001
1197
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewCommits_parameter_0$schema$value
|
|
1002
1198
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewCommits_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewCommits_parameter_0$schema$value ??= z.string())
|
|
1003
1199
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewCommits_result$schema$value
|
|
@@ -1036,17 +1232,20 @@ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewDiff_paramete
|
|
|
1036
1232
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewDiff_parameter_1$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewDiff_parameter_1$schema$value ??= z.union([z.literal(null), z.object({
|
|
1037
1233
|
'from': z.string().readonly().describe('First, oldest commit shown.'),
|
|
1038
1234
|
'to': z.string().readonly().describe('Last, newest commit shown; equal to `from` for one commit.'),
|
|
1235
|
+
}), z.object({
|
|
1236
|
+
'upTo': z.string().readonly().describe('Full object name of the commit the changes end at.'),
|
|
1039
1237
|
})]))
|
|
1040
1238
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewDiff_result$schema$value
|
|
1041
1239
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewDiff_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewDiff_result$schema$value ??= z.object({
|
|
1042
|
-
'headSha': z.string().readonly().describe('Commit whose new side the diff describes: the head,
|
|
1240
|
+
'headSha': z.string().readonly().describe('Commit whose new side the diff describes: the head, the last chosen commit, or the commit the changes go up to.'),
|
|
1043
1241
|
'files': z.array(z.object({
|
|
1044
1242
|
'path': z.string().readonly().describe('Path relative to the repository root after the change, or before it for a deleted file.'),
|
|
1045
1243
|
'previousPath': z.union([z.literal(null), z.string()]).readonly().describe('Path before a rename, else null.'),
|
|
1046
|
-
'status': z.union([z.literal("deleted"), z.literal("
|
|
1244
|
+
'status': z.union([z.literal("deleted"), z.literal("renamed"), z.literal("added"), z.literal("modified")]).readonly().describe('How the file changed.'),
|
|
1047
1245
|
'binary': z.boolean().readonly().describe('Whether the content is binary, which carries no hunks.'),
|
|
1048
1246
|
'oversized': z.boolean().readonly().describe('Whether an untracked file exceeds `maxDiffBytes`, so it carries no hunks.'),
|
|
1049
1247
|
'untracked': z.boolean().readonly().describe('Whether Git does not track the file yet; only local diffs list such files.'),
|
|
1248
|
+
'submodule': z.boolean().readonly().describe('Whether the path is a submodule, whose change is the commit recorded for it and whose hunks hold no file content.'),
|
|
1050
1249
|
'additions': z.number().readonly().describe('Lines added.'),
|
|
1051
1250
|
'deletions': z.number().readonly().describe('Lines deleted.'),
|
|
1052
1251
|
'hunks': z.array(z.object({
|
|
@@ -1077,8 +1276,9 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewerCandidate
|
|
|
1077
1276
|
})))
|
|
1078
1277
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewLists_parameter_0$schema$value
|
|
1079
1278
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewLists_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewLists_parameter_0$schema$value ??= z.union([z.literal(null), z.object({
|
|
1080
|
-
'
|
|
1081
|
-
'
|
|
1279
|
+
'host': z.string().readonly().describe('Host name of the provider that lists the repository, compared without case.'),
|
|
1280
|
+
'owner': z.string().readonly().describe('Owner or namespace; nested groups of a GitLab project stay in it.'),
|
|
1281
|
+
'name': z.string().readonly().describe('Repository name.'),
|
|
1082
1282
|
})]))
|
|
1083
1283
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewLists_result$schema$value
|
|
1084
1284
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewLists_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewLists_result$schema$value ??= z.object({
|
|
@@ -1086,6 +1286,7 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewLists_resul
|
|
|
1086
1286
|
'forge': z.string().readonly().describe('Forge family of the provider.'),
|
|
1087
1287
|
'host': z.string().readonly().describe('Lowercase host name.'),
|
|
1088
1288
|
'viewer': z.union([z.literal(null), z.string()]).readonly().describe('Login of the signed-in user the latest successful read named, or null before one.'),
|
|
1289
|
+
'signIn': z.union([z.literal(null), z.string()]).readonly().describe('The command that signs the provider\'s CLI in to the host, while the latest read failed for lack of sign-in and the provider names one; null otherwise.'),
|
|
1089
1290
|
'lists': z.object({
|
|
1090
1291
|
'review-requested': z.object({
|
|
1091
1292
|
'items': z.union([z.literal(null), z.array(z.object({
|
|
@@ -1116,19 +1317,6 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewLists_resul
|
|
|
1116
1317
|
'viewerRequest': z.union([z.literal(null), z.object({
|
|
1117
1318
|
'team': z.union([z.literal(null), z.string()]).readonly(),
|
|
1118
1319
|
})]).readonly().describe('The review request that asks the signed-in user, or null when none does: `team` names the team, as `organization/slug`, when the request asks a team the user belongs to rather than the user.'),
|
|
1119
|
-
'closingIssues': z.array(z.object({
|
|
1120
|
-
'repository': z.object({
|
|
1121
|
-
'forge': z.string().readonly().describe('Provider family that serves the repository, such as `github`.'),
|
|
1122
|
-
'host': z.string().readonly().describe('Lowercase host name, such as `github.com`.'),
|
|
1123
|
-
'owner': z.string().readonly().describe('Owner or namespace path as the host spells it.'),
|
|
1124
|
-
'name': z.string().readonly().describe('Repository name as the host spells it.'),
|
|
1125
|
-
}).readonly().describe('Repository that holds the issue.'),
|
|
1126
|
-
'number': z.number().readonly().describe('Host-assigned issue number.'),
|
|
1127
|
-
'title': z.string().readonly().describe('Title as the author wrote it.'),
|
|
1128
|
-
'state': z.union([z.literal("open"), z.literal("closed")]).readonly().describe('Whether the issue is still open.'),
|
|
1129
|
-
'url': z.string().readonly().describe('Web page of the issue.'),
|
|
1130
|
-
})).readonly().describe('Issues the host closes once the change request merges, in host order, at most the provider\'s limit.'),
|
|
1131
|
-
'closingIssuesTruncated': z.boolean().readonly().describe('Whether the host reported more closing issues than `closingIssues` holds.'),
|
|
1132
1320
|
'updatedAt': z.string().readonly().describe('ISO 8601 time of the host\'s last update to the change request.'),
|
|
1133
1321
|
}))]).readonly().describe('Change requests most recently updated first, from the latest successful read, or null before the first.'),
|
|
1134
1322
|
'total': z.number().readonly().describe('Size of the whole list the host reported with `items`; 0 before the first successful read.'),
|
|
@@ -1167,19 +1355,6 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewLists_resul
|
|
|
1167
1355
|
'viewerRequest': z.union([z.literal(null), z.object({
|
|
1168
1356
|
'team': z.union([z.literal(null), z.string()]).readonly(),
|
|
1169
1357
|
})]).readonly().describe('The review request that asks the signed-in user, or null when none does: `team` names the team, as `organization/slug`, when the request asks a team the user belongs to rather than the user.'),
|
|
1170
|
-
'closingIssues': z.array(z.object({
|
|
1171
|
-
'repository': z.object({
|
|
1172
|
-
'forge': z.string().readonly().describe('Provider family that serves the repository, such as `github`.'),
|
|
1173
|
-
'host': z.string().readonly().describe('Lowercase host name, such as `github.com`.'),
|
|
1174
|
-
'owner': z.string().readonly().describe('Owner or namespace path as the host spells it.'),
|
|
1175
|
-
'name': z.string().readonly().describe('Repository name as the host spells it.'),
|
|
1176
|
-
}).readonly().describe('Repository that holds the issue.'),
|
|
1177
|
-
'number': z.number().readonly().describe('Host-assigned issue number.'),
|
|
1178
|
-
'title': z.string().readonly().describe('Title as the author wrote it.'),
|
|
1179
|
-
'state': z.union([z.literal("open"), z.literal("closed")]).readonly().describe('Whether the issue is still open.'),
|
|
1180
|
-
'url': z.string().readonly().describe('Web page of the issue.'),
|
|
1181
|
-
})).readonly().describe('Issues the host closes once the change request merges, in host order, at most the provider\'s limit.'),
|
|
1182
|
-
'closingIssuesTruncated': z.boolean().readonly().describe('Whether the host reported more closing issues than `closingIssues` holds.'),
|
|
1183
1358
|
'updatedAt': z.string().readonly().describe('ISO 8601 time of the host\'s last update to the change request.'),
|
|
1184
1359
|
}))]).readonly().describe('Change requests most recently updated first, from the latest successful read, or null before the first.'),
|
|
1185
1360
|
'total': z.number().readonly().describe('Size of the whole list the host reported with `items`; 0 before the first successful read.'),
|
|
@@ -1218,19 +1393,6 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewLists_resul
|
|
|
1218
1393
|
'viewerRequest': z.union([z.literal(null), z.object({
|
|
1219
1394
|
'team': z.union([z.literal(null), z.string()]).readonly(),
|
|
1220
1395
|
})]).readonly().describe('The review request that asks the signed-in user, or null when none does: `team` names the team, as `organization/slug`, when the request asks a team the user belongs to rather than the user.'),
|
|
1221
|
-
'closingIssues': z.array(z.object({
|
|
1222
|
-
'repository': z.object({
|
|
1223
|
-
'forge': z.string().readonly().describe('Provider family that serves the repository, such as `github`.'),
|
|
1224
|
-
'host': z.string().readonly().describe('Lowercase host name, such as `github.com`.'),
|
|
1225
|
-
'owner': z.string().readonly().describe('Owner or namespace path as the host spells it.'),
|
|
1226
|
-
'name': z.string().readonly().describe('Repository name as the host spells it.'),
|
|
1227
|
-
}).readonly().describe('Repository that holds the issue.'),
|
|
1228
|
-
'number': z.number().readonly().describe('Host-assigned issue number.'),
|
|
1229
|
-
'title': z.string().readonly().describe('Title as the author wrote it.'),
|
|
1230
|
-
'state': z.union([z.literal("open"), z.literal("closed")]).readonly().describe('Whether the issue is still open.'),
|
|
1231
|
-
'url': z.string().readonly().describe('Web page of the issue.'),
|
|
1232
|
-
})).readonly().describe('Issues the host closes once the change request merges, in host order, at most the provider\'s limit.'),
|
|
1233
|
-
'closingIssuesTruncated': z.boolean().readonly().describe('Whether the host reported more closing issues than `closingIssues` holds.'),
|
|
1234
1396
|
'updatedAt': z.string().readonly().describe('ISO 8601 time of the host\'s last update to the change request.'),
|
|
1235
1397
|
}))]).readonly().describe('Change requests most recently updated first, from the latest successful read, or null before the first.'),
|
|
1236
1398
|
'total': z.number().readonly().describe('Size of the whole list the host reported with `items`; 0 before the first successful read.'),
|
|
@@ -1290,6 +1452,18 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewReviewerCan
|
|
|
1290
1452
|
'avatarUrl': z.union([z.literal(null), z.string()]).readonly().describe('Avatar image URL, or null when the host reports none.'),
|
|
1291
1453
|
'suggested': z.boolean().readonly().describe('Whether the host suggests the account for this change request, as from the history of its changed files.'),
|
|
1292
1454
|
})))
|
|
1455
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewSetAutoMerge_parameter_0$schema$value
|
|
1456
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewSetAutoMerge_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewSetAutoMerge_parameter_0$schema$value ??= z.string())
|
|
1457
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewSetAutoMerge_parameter_1$schema$value
|
|
1458
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewSetAutoMerge_parameter_1$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewSetAutoMerge_parameter_1$schema$value ??= z.union([z.object({
|
|
1459
|
+
'enabled': z.literal(true).readonly(),
|
|
1460
|
+
'method': z.union([z.literal("merge"), z.literal("squash"), z.literal("rebase")]).readonly(),
|
|
1461
|
+
'headSha': z.string().readonly(),
|
|
1462
|
+
}), z.object({
|
|
1463
|
+
'enabled': z.literal(false).readonly(),
|
|
1464
|
+
})]))
|
|
1465
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewSetAutoMerge_result$schema$value
|
|
1466
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewSetAutoMerge_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewSetAutoMerge_result$schema$value ??= z.void())
|
|
1293
1467
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewSetViewed_parameter_0$schema$value
|
|
1294
1468
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewSetViewed_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewSetViewed_parameter_0$schema$value ??= z.string())
|
|
1295
1469
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewSetViewed_parameter_1$schema$value
|
|
@@ -1477,6 +1651,20 @@ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_revisit_parameter_0
|
|
|
1477
1651
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_revisit_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_revisit_parameter_0$schema$value ??= z.string())
|
|
1478
1652
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_revisit_result$schema$value
|
|
1479
1653
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_revisit_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_revisit_result$schema$value ??= z.void())
|
|
1654
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setAutoMerge_parameter_0$schema$value
|
|
1655
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setAutoMerge_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setAutoMerge_parameter_0$schema$value ??= z.string())
|
|
1656
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setAutoMerge_parameter_1$schema$value
|
|
1657
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setAutoMerge_parameter_1$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setAutoMerge_parameter_1$schema$value ??= z.string())
|
|
1658
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setAutoMerge_parameter_2$schema$value
|
|
1659
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setAutoMerge_parameter_2$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setAutoMerge_parameter_2$schema$value ??= z.union([z.object({
|
|
1660
|
+
'enabled': z.literal(true).readonly(),
|
|
1661
|
+
'method': z.union([z.literal("merge"), z.literal("squash"), z.literal("rebase")]).readonly(),
|
|
1662
|
+
'headSha': z.string().readonly(),
|
|
1663
|
+
}), z.object({
|
|
1664
|
+
'enabled': z.literal(false).readonly(),
|
|
1665
|
+
})]))
|
|
1666
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setAutoMerge_result$schema$value
|
|
1667
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setAutoMerge_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setAutoMerge_result$schema$value ??= z.void())
|
|
1480
1668
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setFileViewed_parameter_0$schema$value
|
|
1481
1669
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setFileViewed_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setFileViewed_parameter_0$schema$value ??= z.string())
|
|
1482
1670
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setFileViewed_parameter_1$schema$value
|
|
@@ -1555,15 +1743,18 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_worktreeBases_res
|
|
|
1555
1743
|
'current': z.union([z.literal(null), z.object({
|
|
1556
1744
|
'ref': z.string().readonly().describe('Full ref name: `refs/heads/<branch>` or `refs/remotes/<remote>/<branch>`.'),
|
|
1557
1745
|
'name': z.string().readonly().describe('The ref without `refs/heads/` or `refs/remotes/`, such as `master` or `origin/master`.'),
|
|
1746
|
+
'worktree': z.string().readonly().optional().describe('Directory Git registered for the worktree that has this local branch checked out, absent when none has; a scope that names the branch as its head reads that worktree.'),
|
|
1558
1747
|
})]).readonly().describe('Checked-out branch, or null when HEAD is detached or its name does not contain the query.'),
|
|
1559
1748
|
'defaults': z.array(z.object({
|
|
1560
1749
|
'remote': z.string().readonly().describe('Remote the branch belongs to; it may contain `/`.'),
|
|
1561
1750
|
'ref': z.string().readonly().describe('Full ref name: `refs/heads/<branch>` or `refs/remotes/<remote>/<branch>`.'),
|
|
1562
1751
|
'name': z.string().readonly().describe('The ref without `refs/heads/` or `refs/remotes/`, such as `master` or `origin/master`.'),
|
|
1752
|
+
'worktree': z.string().readonly().optional().describe('Directory Git registered for the worktree that has this local branch checked out, absent when none has; a scope that names the branch as its head reads that worktree.'),
|
|
1563
1753
|
})).readonly().describe('Default branch of each remote that names one with `refs/remotes/<remote>/HEAD`, in remote order.'),
|
|
1564
1754
|
'local': z.array(z.object({
|
|
1565
1755
|
'ref': z.string().readonly().describe('Full ref name: `refs/heads/<branch>` or `refs/remotes/<remote>/<branch>`.'),
|
|
1566
1756
|
'name': z.string().readonly().describe('The ref without `refs/heads/` or `refs/remotes/`, such as `master` or `origin/master`.'),
|
|
1757
|
+
'worktree': z.string().readonly().optional().describe('Directory Git registered for the worktree that has this local branch checked out, absent when none has; a scope that names the branch as its head reads that worktree.'),
|
|
1567
1758
|
})).readonly().describe('Other local branches, most recently committed first, at most `maxBranches`.'),
|
|
1568
1759
|
'remotes': z.array(z.object({
|
|
1569
1760
|
'name': z.string().readonly().describe('Remote name such as `origin`; it may contain `/`.'),
|
|
@@ -1571,6 +1762,7 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_worktreeBases_res
|
|
|
1571
1762
|
'branches': z.array(z.object({
|
|
1572
1763
|
'ref': z.string().readonly().describe('Full ref name: `refs/heads/<branch>` or `refs/remotes/<remote>/<branch>`.'),
|
|
1573
1764
|
'name': z.string().readonly().describe('The ref without `refs/heads/` or `refs/remotes/`, such as `master` or `origin/master`.'),
|
|
1765
|
+
'worktree': z.string().readonly().optional().describe('Directory Git registered for the worktree that has this local branch checked out, absent when none has; a scope that names the branch as its head reads that worktree.'),
|
|
1574
1766
|
})).readonly().describe('Branches named `<remote>/<branch>`, most recently committed first, at most `maxBranches`.'),
|
|
1575
1767
|
})).readonly().describe('Remote-tracking branches of each configured remote in remote order: the remote the checked-out branch tracks, then `origin`, then the others as Git lists them. Remotes without a matching branch are left out.'),
|
|
1576
1768
|
}))
|
|
@@ -1603,6 +1795,8 @@ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_p
|
|
|
1603
1795
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_parameter_2_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_parameter_2_strict$schema$value ??= z.union([z.literal(null), z.strictObject({
|
|
1604
1796
|
'from': z.string().readonly().describe('First, oldest commit shown.'),
|
|
1605
1797
|
'to': z.string().readonly().describe('Last, newest commit shown; equal to `from` for one commit.'),
|
|
1798
|
+
}), z.strictObject({
|
|
1799
|
+
'upTo': z.string().readonly().describe('Full object name of the commit the changes end at.'),
|
|
1606
1800
|
})]))
|
|
1607
1801
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReview_parameter_0_strict$schema$value
|
|
1608
1802
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReview_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReview_parameter_0_strict$schema$value ??= z.string())
|
|
@@ -1682,6 +1876,7 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changesLens_param
|
|
|
1682
1876
|
'kind': z.literal("local").readonly(),
|
|
1683
1877
|
'scope': z.union([z.strictObject({
|
|
1684
1878
|
'kind': z.literal("branch").readonly(),
|
|
1879
|
+
'head': z.string().readonly().optional(),
|
|
1685
1880
|
'base': z.union([z.literal(null), z.string()]).readonly(),
|
|
1686
1881
|
'commits': z.union([z.literal(null), z.strictObject({
|
|
1687
1882
|
'from': z.string().readonly().describe('First, oldest commit shown.'),
|
|
@@ -1689,10 +1884,13 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changesLens_param
|
|
|
1689
1884
|
})]).readonly(),
|
|
1690
1885
|
}), z.strictObject({
|
|
1691
1886
|
'kind': z.literal("uncommitted").readonly(),
|
|
1887
|
+
'head': z.string().readonly().optional(),
|
|
1692
1888
|
}), z.strictObject({
|
|
1693
1889
|
'kind': z.literal("unstaged").readonly(),
|
|
1890
|
+
'head': z.string().readonly().optional(),
|
|
1694
1891
|
}), z.strictObject({
|
|
1695
1892
|
'kind': z.literal("staged").readonly(),
|
|
1893
|
+
'head': z.string().readonly().optional(),
|
|
1696
1894
|
})]).readonly(),
|
|
1697
1895
|
}), z.strictObject({
|
|
1698
1896
|
'kind': z.literal("change").readonly(),
|
|
@@ -1700,8 +1898,10 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changesLens_param
|
|
|
1700
1898
|
'commits': z.union([z.literal(null), z.strictObject({
|
|
1701
1899
|
'from': z.string().readonly().describe('First, oldest commit shown.'),
|
|
1702
1900
|
'to': z.string().readonly().describe('Last, newest commit shown; equal to `from` for one commit.'),
|
|
1901
|
+
}), z.strictObject({
|
|
1902
|
+
'upTo': z.string().readonly().describe('Full object name of the commit the changes end at.'),
|
|
1703
1903
|
})]).readonly(),
|
|
1704
|
-
})]).readonly().describe('The view\'s source: local changes in a scope, or a binding URL with its chosen commits.'),
|
|
1904
|
+
})]).readonly().describe('The view\'s source: local changes in a scope, or a binding URL with its chosen commits or the commit its changes go up to.'),
|
|
1705
1905
|
'version': z.string().readonly().describe('`lensVersion` of the files the view shows; files read since with another version refuse the request.'),
|
|
1706
1906
|
'lens': z.string().readonly().describe('Identity of the registered lens.'),
|
|
1707
1907
|
}))
|
|
@@ -1710,22 +1910,31 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_continueInProject
|
|
|
1710
1910
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_0_strict$schema$value
|
|
1711
1911
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_0_strict$schema$value ??= z.string())
|
|
1712
1912
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_1_strict$schema$value
|
|
1713
|
-
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_1_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_1_strict$schema$value ??= z.string())
|
|
1913
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_1_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_1_strict$schema$value ??= z.union([z.literal(null), z.string()]))
|
|
1914
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_2_strict$schema$value
|
|
1915
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_2_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_2_strict$schema$value ??= z.string())
|
|
1714
1916
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_dismiss_parameter_0_strict$schema$value
|
|
1715
1917
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_dismiss_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_dismiss_parameter_0_strict$schema$value ??= z.string())
|
|
1716
1918
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_dismiss_parameter_1_strict$schema$value
|
|
1717
1919
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_dismiss_parameter_1_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_dismiss_parameter_1_strict$schema$value ??= z.string())
|
|
1718
1920
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_follow_parameter_0_strict$schema$value
|
|
1719
1921
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_follow_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_follow_parameter_0_strict$schema$value ??= z.string())
|
|
1922
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_hostReadiness_parameter_0_strict$schema$value
|
|
1923
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_hostReadiness_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_hostReadiness_parameter_0_strict$schema$value ??= z.string())
|
|
1924
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_hostReadiness_parameter_1_strict$schema$value
|
|
1925
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_hostReadiness_parameter_1_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_hostReadiness_parameter_1_strict$schema$value ??= z.string())
|
|
1720
1926
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_parameter_0_strict$schema$value
|
|
1721
1927
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_parameter_0_strict$schema$value ??= z.string())
|
|
1722
1928
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_parameter_1_strict$schema$value
|
|
1723
1929
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_parameter_1_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_parameter_1_strict$schema$value ??= z.union([z.literal(null), z.string()]))
|
|
1930
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_parameter_2_strict$schema$value
|
|
1931
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_parameter_2_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_parameter_2_strict$schema$value ??= z.union([z.literal(null), z.string()]))
|
|
1724
1932
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_parameter_0_strict$schema$value
|
|
1725
1933
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_parameter_0_strict$schema$value ??= z.string())
|
|
1726
1934
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_parameter_1_strict$schema$value
|
|
1727
1935
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_parameter_1_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_parameter_1_strict$schema$value ??= z.union([z.strictObject({
|
|
1728
1936
|
'kind': z.literal("branch").readonly(),
|
|
1937
|
+
'head': z.string().readonly().optional(),
|
|
1729
1938
|
'base': z.union([z.literal(null), z.string()]).readonly(),
|
|
1730
1939
|
'commits': z.union([z.literal(null), z.strictObject({
|
|
1731
1940
|
'from': z.string().readonly().describe('First, oldest commit shown.'),
|
|
@@ -1733,16 +1942,20 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_paramet
|
|
|
1733
1942
|
})]).readonly(),
|
|
1734
1943
|
}), z.strictObject({
|
|
1735
1944
|
'kind': z.literal("uncommitted").readonly(),
|
|
1945
|
+
'head': z.string().readonly().optional(),
|
|
1736
1946
|
}), z.strictObject({
|
|
1737
1947
|
'kind': z.literal("unstaged").readonly(),
|
|
1948
|
+
'head': z.string().readonly().optional(),
|
|
1738
1949
|
}), z.strictObject({
|
|
1739
1950
|
'kind': z.literal("staged").readonly(),
|
|
1951
|
+
'head': z.string().readonly().optional(),
|
|
1740
1952
|
})]))
|
|
1741
1953
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_0_strict$schema$value
|
|
1742
1954
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_0_strict$schema$value ??= z.string())
|
|
1743
1955
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_1_strict$schema$value
|
|
1744
1956
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_1_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_1_strict$schema$value ??= z.union([z.strictObject({
|
|
1745
1957
|
'kind': z.literal("branch").readonly(),
|
|
1958
|
+
'head': z.string().readonly().optional(),
|
|
1746
1959
|
'base': z.union([z.literal(null), z.string()]).readonly(),
|
|
1747
1960
|
'commits': z.union([z.literal(null), z.strictObject({
|
|
1748
1961
|
'from': z.string().readonly().describe('First, oldest commit shown.'),
|
|
@@ -1750,13 +1963,39 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_paramet
|
|
|
1750
1963
|
})]).readonly(),
|
|
1751
1964
|
}), z.strictObject({
|
|
1752
1965
|
'kind': z.literal("uncommitted").readonly(),
|
|
1966
|
+
'head': z.string().readonly().optional(),
|
|
1753
1967
|
}), z.strictObject({
|
|
1754
1968
|
'kind': z.literal("unstaged").readonly(),
|
|
1969
|
+
'head': z.string().readonly().optional(),
|
|
1755
1970
|
}), z.strictObject({
|
|
1756
1971
|
'kind': z.literal("staged").readonly(),
|
|
1972
|
+
'head': z.string().readonly().optional(),
|
|
1757
1973
|
})]))
|
|
1758
1974
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_2_strict$schema$value
|
|
1759
1975
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_2_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_2_strict$schema$value ??= z.string())
|
|
1976
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localWrite_parameter_0_strict$schema$value
|
|
1977
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localWrite_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localWrite_parameter_0_strict$schema$value ??= z.string())
|
|
1978
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localWrite_parameter_1_strict$schema$value
|
|
1979
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localWrite_parameter_1_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localWrite_parameter_1_strict$schema$value ??= z.union([z.strictObject({
|
|
1980
|
+
'kind': z.literal("stage").readonly(),
|
|
1981
|
+
'files': z.array(z.strictObject({
|
|
1982
|
+
'path': z.string().readonly().describe('Path relative to the repository root, as the diff names it.'),
|
|
1983
|
+
'digest': z.string().readonly().describe('Digest of the change the reader saw.'),
|
|
1984
|
+
})).readonly(),
|
|
1985
|
+
}), z.strictObject({
|
|
1986
|
+
'kind': z.literal("unstage").readonly(),
|
|
1987
|
+
'paths': z.array(z.string()).readonly(),
|
|
1988
|
+
}), z.strictObject({
|
|
1989
|
+
'kind': z.literal("restore").readonly(),
|
|
1990
|
+
'files': z.array(z.strictObject({
|
|
1991
|
+
'path': z.string().readonly().describe('Path relative to the repository root, as the diff names it.'),
|
|
1992
|
+
'digest': z.string().readonly().describe('Digest of the change the reader saw.'),
|
|
1993
|
+
})).readonly(),
|
|
1994
|
+
}), z.strictObject({
|
|
1995
|
+
'kind': z.literal("reindex").readonly(),
|
|
1996
|
+
'tree': z.string().readonly(),
|
|
1997
|
+
'paths': z.array(z.string()).readonly(),
|
|
1998
|
+
})]))
|
|
1760
1999
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_markReady_parameter_0_strict$schema$value
|
|
1761
2000
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_markReady_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_markReady_parameter_0_strict$schema$value ??= z.string())
|
|
1762
2001
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_markReady_parameter_1_strict$schema$value
|
|
@@ -1800,12 +2039,18 @@ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_retryWorktree_param
|
|
|
1800
2039
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_retryWorktree_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_retryWorktree_parameter_0_strict$schema$value ??= z.string())
|
|
1801
2040
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_retryWorktree_parameter_1_strict$schema$value
|
|
1802
2041
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_retryWorktree_parameter_1_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_retryWorktree_parameter_1_strict$schema$value ??= z.boolean())
|
|
2042
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewActivity_parameter_0_strict$schema$value
|
|
2043
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewActivity_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewActivity_parameter_0_strict$schema$value ??= z.string())
|
|
1803
2044
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewChangeRequest_parameter_0_strict$schema$value
|
|
1804
2045
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewChangeRequest_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewChangeRequest_parameter_0_strict$schema$value ??= z.string())
|
|
1805
2046
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewChecks_parameter_0_strict$schema$value
|
|
1806
2047
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewChecks_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewChecks_parameter_0_strict$schema$value ??= z.string())
|
|
1807
2048
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewChecks_parameter_1_strict$schema$value
|
|
1808
2049
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewChecks_parameter_1_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewChecks_parameter_1_strict$schema$value ??= z.string())
|
|
2050
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewComment_parameter_0_strict$schema$value
|
|
2051
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewComment_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewComment_parameter_0_strict$schema$value ??= z.string())
|
|
2052
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewComment_parameter_1_strict$schema$value
|
|
2053
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewComment_parameter_1_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewComment_parameter_1_strict$schema$value ??= z.string())
|
|
1809
2054
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewCommits_parameter_0_strict$schema$value
|
|
1810
2055
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewCommits_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewCommits_parameter_0_strict$schema$value ??= z.string())
|
|
1811
2056
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewDescription_parameter_0_strict$schema$value
|
|
@@ -1816,6 +2061,8 @@ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewDiff_paramete
|
|
|
1816
2061
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewDiff_parameter_1_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewDiff_parameter_1_strict$schema$value ??= z.union([z.literal(null), z.strictObject({
|
|
1817
2062
|
'from': z.string().readonly().describe('First, oldest commit shown.'),
|
|
1818
2063
|
'to': z.string().readonly().describe('Last, newest commit shown; equal to `from` for one commit.'),
|
|
2064
|
+
}), z.strictObject({
|
|
2065
|
+
'upTo': z.string().readonly().describe('Full object name of the commit the changes end at.'),
|
|
1819
2066
|
})]))
|
|
1820
2067
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewerCandidates_parameter_0_strict$schema$value
|
|
1821
2068
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewerCandidates_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewerCandidates_parameter_0_strict$schema$value ??= z.string())
|
|
@@ -1825,8 +2072,9 @@ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewerCandidates_
|
|
|
1825
2072
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewerCandidates_parameter_2_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewerCandidates_parameter_2_strict$schema$value ??= z.string())
|
|
1826
2073
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewLists_parameter_0_strict$schema$value
|
|
1827
2074
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewLists_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewLists_parameter_0_strict$schema$value ??= z.union([z.literal(null), z.strictObject({
|
|
1828
|
-
'
|
|
1829
|
-
'
|
|
2075
|
+
'host': z.string().readonly().describe('Host name of the provider that lists the repository, compared without case.'),
|
|
2076
|
+
'owner': z.string().readonly().describe('Owner or namespace; nested groups of a GitLab project stay in it.'),
|
|
2077
|
+
'name': z.string().readonly().describe('Repository name.'),
|
|
1830
2078
|
})]))
|
|
1831
2079
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewMarkReady_parameter_0_strict$schema$value
|
|
1832
2080
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewMarkReady_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewMarkReady_parameter_0_strict$schema$value ??= z.string())
|
|
@@ -1855,6 +2103,16 @@ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewReviewerCandi
|
|
|
1855
2103
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewReviewerCandidates_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewReviewerCandidates_parameter_0_strict$schema$value ??= z.string())
|
|
1856
2104
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewReviewerCandidates_parameter_1_strict$schema$value
|
|
1857
2105
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewReviewerCandidates_parameter_1_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewReviewerCandidates_parameter_1_strict$schema$value ??= z.string())
|
|
2106
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewSetAutoMerge_parameter_0_strict$schema$value
|
|
2107
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewSetAutoMerge_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewSetAutoMerge_parameter_0_strict$schema$value ??= z.string())
|
|
2108
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewSetAutoMerge_parameter_1_strict$schema$value
|
|
2109
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewSetAutoMerge_parameter_1_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewSetAutoMerge_parameter_1_strict$schema$value ??= z.union([z.strictObject({
|
|
2110
|
+
'enabled': z.literal(true).readonly(),
|
|
2111
|
+
'method': z.union([z.literal("merge"), z.literal("squash"), z.literal("rebase")]).readonly(),
|
|
2112
|
+
'headSha': z.string().readonly(),
|
|
2113
|
+
}), z.strictObject({
|
|
2114
|
+
'enabled': z.literal(false).readonly(),
|
|
2115
|
+
})]))
|
|
1858
2116
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewSetViewed_parameter_0_strict$schema$value
|
|
1859
2117
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewSetViewed_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewSetViewed_parameter_0_strict$schema$value ??= z.string())
|
|
1860
2118
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewSetViewed_parameter_1_strict$schema$value
|
|
@@ -1963,6 +2221,18 @@ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewViewed_parame
|
|
|
1963
2221
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewViewed_parameter_2_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewViewed_parameter_2_strict$schema$value ??= z.boolean())
|
|
1964
2222
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_revisit_parameter_0_strict$schema$value
|
|
1965
2223
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_revisit_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_revisit_parameter_0_strict$schema$value ??= z.string())
|
|
2224
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setAutoMerge_parameter_0_strict$schema$value
|
|
2225
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setAutoMerge_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setAutoMerge_parameter_0_strict$schema$value ??= z.string())
|
|
2226
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setAutoMerge_parameter_1_strict$schema$value
|
|
2227
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setAutoMerge_parameter_1_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setAutoMerge_parameter_1_strict$schema$value ??= z.string())
|
|
2228
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setAutoMerge_parameter_2_strict$schema$value
|
|
2229
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setAutoMerge_parameter_2_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setAutoMerge_parameter_2_strict$schema$value ??= z.union([z.strictObject({
|
|
2230
|
+
'enabled': z.literal(true).readonly(),
|
|
2231
|
+
'method': z.union([z.literal("merge"), z.literal("squash"), z.literal("rebase")]).readonly(),
|
|
2232
|
+
'headSha': z.string().readonly(),
|
|
2233
|
+
}), z.strictObject({
|
|
2234
|
+
'enabled': z.literal(false).readonly(),
|
|
2235
|
+
})]))
|
|
1966
2236
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setFileViewed_parameter_0_strict$schema$value
|
|
1967
2237
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setFileViewed_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setFileViewed_parameter_0_strict$schema$value ??= z.string())
|
|
1968
2238
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setFileViewed_parameter_1_strict$schema$value
|
|
@@ -2059,7 +2329,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
2059
2329
|
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_cancelWorktree_result$schema,
|
|
2060
2330
|
jsonSchemaError: 'typert tool schema: unsupported void value',
|
|
2061
2331
|
},
|
|
2062
|
-
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":
|
|
2332
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":1403,"column":9},
|
|
2063
2333
|
},
|
|
2064
2334
|
'forgePanel/changeRequestChecks': {
|
|
2065
2335
|
service: 'forgePanel',
|
|
@@ -2126,9 +2396,9 @@ const $remote = createTypertRemoteInfo({
|
|
|
2126
2396
|
typeSymbol: '@deepseek-ai/dsh-experimental-forge/types#ChangeRequestSnapshot',
|
|
2127
2397
|
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestChecks_result$schema,
|
|
2128
2398
|
description: 'the complete snapshot at the displayed head.',
|
|
2129
|
-
jsonSchema: {"type":"object","properties":{"ref":{"type":"object","properties":{"repository":{"type":"object","properties":{"forge":{"type":"string","description":"Provider family that serves the repository, such as `github`."},"host":{"type":"string","description":"Lowercase host name, such as `github.com`."},"owner":{"type":"string","description":"Owner or namespace path as the host spells it."},"name":{"type":"string","description":"Repository name as the host spells it."}},"required":["forge","host","owner","name"],"additionalProperties":true,"description":"Repository that holds the change request."},"number":{"type":"number","description":"Host-assigned change request number."}},"required":["repository","number"],"additionalProperties":true,"description":"Change request the snapshot describes."},"url":{"type":"string","description":"Web page of the change request."},"title":{"type":"string","description":"Title as the author wrote it."},"state":{"type":"string","enum":["open","closed","merged"],"description":"Lifecycle state."},"draft":{"type":"boolean","description":"Whether the author marked the change request as a draft."},"author":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Author login, or null when the host hides it."},"headBranch":{"type":"string","description":"Branch that carries the proposed commits."},"headSha":{"type":"string","description":"Commit object name at the head of the change request."},"baseBranch":{"type":"string","description":"Branch the change request merges into."},"baseSha":{"type":"string","description":"Base commit the host recorded with `headSha`, whose merge base with the head starts the change request's diff; omitted when the provider does not report it."},"additions":{"type":"number","description":"Lines the change request adds."},"deletions":{"type":"number","description":"Lines the change request deletes."},"mergeability":{"type":"string","enum":["unknown","mergeable","conflicting"],"description":"Merge conflict status; `unknown` while the host computes it."},"mergeReady":{"type":"boolean","description":"Whether the host would merge the change request now for the signed-in user: open, not a draft, and meeting the base branch's merge rules."},"mergeMethods":{"type":"array","items":{"type":"string","enum":["merge","squash","rebase"]},"description":"Merge methods the repository accepts, the signed-in user's usual one first."},"branchUpdates":{"type":"array","items":{"type":"string","enum":["merge","rebase"]},"description":"Ways the signed-in user can bring the base branch's new commits into the head branch now; empty while the head is up to date, while the branches conflict, when the user cannot update the head branch, or when the provider cannot, so a head behind its base cannot be told apart from a current one for a user without the right to update it."},"reviewDecision":{"type":"string","enum":["none","approved","changes-requested","review-required"],"description":"Aggregate review outcome."},"reviewers":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["user","bot","team"],"description":"Whether the reviewer is a person's account, an app or bot account, or a team."},"login":{"type":"string","description":"Login, or `organization/slug` for a team."},"avatarUrl":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Avatar image URL, or null when the host reports none."},"requested":{"type":"boolean","description":"Whether a review from the reviewer is requested now."},"codeOwner":{"type":"boolean","description":"Whether the host requested the review because the reviewer owns changed paths."},"verdict":{"oneOf":[{"type":"null","const":null},{"type":"string","enum":["approved","dismissed","changes-requested","commented"]}],"description":"Outcome of the reviewer's latest submitted review, or null before the first."},"reviewedSha":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Commit the latest submitted review was on, or null before the first or when the host reports none."}},"required":["kind","login","avatarUrl","requested","codeOwner","verdict","reviewedSha"],"additionalProperties":true},"description":"Reviewers whose review is requested, in host order, then other accounts that reviewed, each once; the author is never listed."},"reviewersTruncated":{"type":"boolean","description":"Whether the host reported more review requests or reviews than the provider read, so `reviewers` may be incomplete."},"canRequestReviews":{"type":"boolean","description":"Whether the signed-in user may request reviews of the change request through its provider."},"checks":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"Check name as the host displays it."},"state":{"type":"string","enum":["pending","success","neutral","cancelled","failure","skipped"],"description":"Normalized check outcome."},"url":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Web page for the check, or null when the host reports none."},"workflow":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Workflow that produced the check, or null when the host reports none."},"startedAt":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"ISO 8601 time the check started, or null before it starts and when the host reports none."},"completedAt":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"ISO 8601 time the check completed, or null while it runs and when the host reports none."},"rerun":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Identity a rerun of this check names, or null when the provider cannot rerun it, as for a commit status. Checks that name one identity rerun together, and their failed checks can be rerun once none of them is pending."}},"required":["name","state","url","workflow","startedAt","completedAt","rerun"],"additionalProperties":true},"description":"Checks on the head commit in host order."},"checksRollup":{"type":"string","enum":["pending","success","none","failure"],"description":"Combined check outcome."},"checksTruncated":{"type":"boolean","description":"Whether the host reported more checks than `checks` contains."},"canRerunChecks":{"type":"boolean","description":"Whether the signed-in user may rerun the failed checks that name a `rerun`."},"unresolvedThreads":{"type":"number","description":"Number of counted review threads that are not resolved."},"threadsTruncated":{"type":"boolean","description":"Whether the change request has more review threads than the provider counted, so `unresolvedThreads` is a lower bound."},"closingIssues":{"type":"array","items":{"type":"object","properties":{"repository":{"type":"object","properties":{"forge":{"type":"string","description":"Provider family that serves the repository, such as `github`."},"host":{"type":"string","description":"Lowercase host name, such as `github.com`."},"owner":{"type":"string","description":"Owner or namespace path as the host spells it."},"name":{"type":"string","description":"Repository name as the host spells it."}},"required":["forge","host","owner","name"],"additionalProperties":true,"description":"Repository that holds the issue."},"number":{"type":"number","description":"Host-assigned issue number."},"title":{"type":"string","description":"Title as the author wrote it."},"state":{"type":"string","enum":["open","closed"],"description":"Whether the issue is still open."},"url":{"type":"string","description":"Web page of the issue."}},"required":["repository","number","title","state","url"],"additionalProperties":true},"description":"Issues linked to the change request, which the host closes once it merges, in host order."},"closingIssuesTruncated":{"type":"boolean","description":"Whether the host reported more closing issues than `closingIssues` holds."},"updatedAt":{"type":"string","description":"ISO 8601 time of the host's last update to the change request."},"closedAt":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"ISO 8601 time the change request was merged or closed, or null while it is open."}},"required":["ref","url","title","state","draft","author","headBranch","headSha","baseBranch","additions","deletions","mergeability","mergeReady","mergeMethods","branchUpdates","reviewDecision","reviewers","reviewersTruncated","canRequestReviews","checks","checksRollup","checksTruncated","canRerunChecks","unresolvedThreads","threadsTruncated","closingIssues","closingIssuesTruncated","updatedAt","closedAt"],"additionalProperties":true},
|
|
2399
|
+
jsonSchema: {"type":"object","properties":{"ref":{"type":"object","properties":{"repository":{"type":"object","properties":{"forge":{"type":"string","description":"Provider family that serves the repository, such as `github`."},"host":{"type":"string","description":"Lowercase host name, such as `github.com`."},"owner":{"type":"string","description":"Owner or namespace path as the host spells it."},"name":{"type":"string","description":"Repository name as the host spells it."}},"required":["forge","host","owner","name"],"additionalProperties":true,"description":"Repository that holds the change request."},"number":{"type":"number","description":"Host-assigned change request number."}},"required":["repository","number"],"additionalProperties":true,"description":"Change request the snapshot describes."},"url":{"type":"string","description":"Web page of the change request."},"title":{"type":"string","description":"Title as the author wrote it."},"state":{"type":"string","enum":["open","closed","merged"],"description":"Lifecycle state."},"draft":{"type":"boolean","description":"Whether the author marked the change request as a draft."},"author":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Author login, or null when the host hides it."},"headBranch":{"type":"string","description":"Branch that carries the proposed commits."},"headSha":{"type":"string","description":"Commit object name at the head of the change request."},"baseBranch":{"type":"string","description":"Branch the change request merges into."},"baseSha":{"type":"string","description":"Base commit the host recorded with `headSha`, whose merge base with the head starts the change request's diff; omitted when the provider does not report it."},"additions":{"type":"number","description":"Lines the change request adds."},"deletions":{"type":"number","description":"Lines the change request deletes."},"mergeability":{"type":"string","enum":["unknown","mergeable","conflicting"],"description":"Merge conflict status; `unknown` while the host computes it."},"mergeReady":{"type":"boolean","description":"Whether the host would merge the change request now for the signed-in user: open, not a draft, and meeting the base branch's merge rules."},"mergeMethods":{"type":"array","items":{"type":"string","enum":["merge","squash","rebase"]},"description":"Merge methods the repository accepts, the signed-in user's usual one first."},"autoMerge":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the host merges the change request by itself once its merge requirements are met."},"method":{"oneOf":[{"type":"null","const":null},{"type":"string","enum":["merge","squash","rebase"]}],"description":"How the commits enter the base branch then, while enabled and the host names the method; null otherwise."},"enabledBy":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Login of the account that turned it on, while enabled and the host names one; null otherwise."},"canEnable":{"type":"boolean","description":"Whether the signed-in user can turn it on now through `setAutoMerge`; false while it is on."},"canDisable":{"type":"boolean","description":"Whether the signed-in user can turn it off now through `setAutoMerge`; false while it is off."}},"required":["enabled","method","enabledBy","canEnable","canDisable"],"additionalProperties":true,"description":"How the change request stands with its host's automatic merge; omitted by a provider that sets none, whose change requests then offer no automatic merge."},"branchUpdates":{"type":"array","items":{"type":"string","enum":["merge","rebase"]},"description":"Ways the signed-in user can bring the base branch's new commits into the head branch now; empty while the head is up to date, while the branches conflict, when the user cannot update the head branch, or when the provider cannot, so a head behind its base cannot be told apart from a current one for a user without the right to update it."},"reviewDecision":{"type":"string","enum":["none","approved","changes-requested","review-required"],"description":"Aggregate review outcome."},"reviewers":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["user","bot","team"],"description":"Whether the reviewer is a person's account, an app or bot account, or a team."},"login":{"type":"string","description":"Login, or `organization/slug` for a team."},"avatarUrl":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Avatar image URL, or null when the host reports none."},"requested":{"type":"boolean","description":"Whether a review from the reviewer is requested now."},"codeOwner":{"type":"boolean","description":"Whether the host requested the review because the reviewer owns changed paths."},"verdict":{"oneOf":[{"type":"null","const":null},{"type":"string","enum":["approved","dismissed","changes-requested","commented"]}],"description":"Outcome of the reviewer's latest submitted review, or null before the first."},"reviewedSha":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Commit the latest submitted review was on, or null before the first or when the host reports none."}},"required":["kind","login","avatarUrl","requested","codeOwner","verdict","reviewedSha"],"additionalProperties":true},"description":"Reviewers whose review is requested, in host order, then other accounts that reviewed, each once; the author is never listed."},"reviewersTruncated":{"type":"boolean","description":"Whether the host reported more review requests or reviews than the provider read, so `reviewers` may be incomplete."},"canRequestReviews":{"type":"boolean","description":"Whether the signed-in user may request reviews of the change request through its provider."},"checks":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"Check name as the host displays it."},"state":{"type":"string","enum":["pending","success","neutral","cancelled","failure","skipped"],"description":"Normalized check outcome."},"url":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Web page for the check, or null when the host reports none."},"workflow":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Workflow that produced the check, or null when the host reports none."},"startedAt":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"ISO 8601 time the check started, or null before it starts and when the host reports none."},"completedAt":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"ISO 8601 time the check completed, or null while it runs and when the host reports none."},"rerun":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Identity a rerun of this check names, or null when the provider cannot rerun it, as for a commit status. Checks that name one identity rerun together, and their failed checks can be rerun once none of them is pending."}},"required":["name","state","url","workflow","startedAt","completedAt","rerun"],"additionalProperties":true},"description":"Checks on the head commit in host order."},"checksRollup":{"type":"string","enum":["pending","success","none","failure"],"description":"Combined check outcome."},"checksTruncated":{"type":"boolean","description":"Whether the host reported more checks than `checks` contains."},"canRerunChecks":{"type":"boolean","description":"Whether the signed-in user may rerun the failed checks that name a `rerun`."},"unresolvedThreads":{"type":"number","description":"Number of counted review threads that are not resolved."},"threadsTruncated":{"type":"boolean","description":"Whether the change request has more review threads than the provider counted, so `unresolvedThreads` is a lower bound."},"closingIssues":{"type":"array","items":{"type":"object","properties":{"repository":{"type":"object","properties":{"forge":{"type":"string","description":"Provider family that serves the repository, such as `github`."},"host":{"type":"string","description":"Lowercase host name, such as `github.com`."},"owner":{"type":"string","description":"Owner or namespace path as the host spells it."},"name":{"type":"string","description":"Repository name as the host spells it."}},"required":["forge","host","owner","name"],"additionalProperties":true,"description":"Repository that holds the issue."},"number":{"type":"number","description":"Host-assigned issue number."},"title":{"type":"string","description":"Title as the author wrote it."},"state":{"type":"string","enum":["open","closed"],"description":"Whether the issue is still open."},"url":{"type":"string","description":"Web page of the issue."}},"required":["repository","number","title","state","url"],"additionalProperties":true},"description":"Issues linked to the change request, which the host closes once it merges, in host order."},"closingIssuesTruncated":{"type":"boolean","description":"Whether the host reported more closing issues than `closingIssues` holds."},"updatedAt":{"type":"string","description":"ISO 8601 time of the host's last update to the change request."},"closedAt":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"ISO 8601 time the change request was merged or closed, or null while it is open."}},"required":["ref","url","title","state","draft","author","headBranch","headSha","baseBranch","additions","deletions","mergeability","mergeReady","mergeMethods","branchUpdates","reviewDecision","reviewers","reviewersTruncated","canRequestReviews","checks","checksRollup","checksTruncated","canRerunChecks","unresolvedThreads","threadsTruncated","closingIssues","closingIssuesTruncated","updatedAt","closedAt"],"additionalProperties":true},
|
|
2130
2400
|
},
|
|
2131
|
-
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":
|
|
2401
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":966,"column":9},
|
|
2132
2402
|
},
|
|
2133
2403
|
'forgePanel/changeRequestCommits': {
|
|
2134
2404
|
service: 'forgePanel',
|
|
@@ -2180,11 +2450,11 @@ const $remote = createTypertRemoteInfo({
|
|
|
2180
2450
|
description: 'the commits oldest first with the head they were read at, or null when the provider does not read commits.',
|
|
2181
2451
|
jsonSchema: {"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"headSha":{"type":"string","description":"Head commit the list was read at."},"commits":{"type":"array","items":{"type":"object","properties":{"sha":{"type":"string","description":"Full commit object name."},"parent":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Full object name of the first parent, or null for a root commit."},"title":{"type":"string","description":"First line of the commit message."},"author":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Author name or login as the host reports it, or null when it reports none."},"authoredAt":{"type":"string","description":"ISO 8601 time the commit was authored."}},"required":["sha","parent","title","author","authoredAt"],"additionalProperties":true},"description":"Commits oldest first, ending with the head commit unless `truncated`."},"truncated":{"type":"boolean","description":"Whether the change request has more commits than the provider lists; the listed ones are the oldest."}},"required":["headSha","commits","truncated"],"additionalProperties":true}]},
|
|
2182
2452
|
},
|
|
2183
|
-
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":
|
|
2453
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":982,"column":9},
|
|
2184
2454
|
},
|
|
2185
2455
|
'forgePanel/changeRequestDiff': {
|
|
2186
2456
|
service: 'forgePanel',
|
|
2187
|
-
description: 'Read the changes of a change request of a Session as its code host computes them, with each file\'s layer following the root `.gitattributes` of the commit the diff ends at. Without `commits` the diff covers the change request at the head commit of its latest status; a patch already read at the same head commit and base branch is reused from memory with its attributes, for any Session, until `maxCachedDiffBytes` evicts it. With `commits`, it covers those commits, from the first one\'s first parent to the last,
|
|
2457
|
+
description: 'Read the changes of a change request of a Session as its code host computes them, with each file\'s layer following the root `.gitattributes` of the commit the diff ends at. Without `commits` the diff covers the change request at the head commit of its latest status; a patch already read at the same head commit and base branch is reused from memory with its attributes, for any Session, until `maxCachedDiffBytes` evicts it. With consecutive `commits`, it covers those commits, from the first one\'s first parent to the last; with `commits` up to one commit, it covers the change request as that commit ended it, from the merge base of the status\'s base commit with that commit, which the host reads by name whether or not the change request still lists it. Either is read every time.',
|
|
2188
2458
|
invocation: { kind: 'direct' },
|
|
2189
2459
|
parameters: [
|
|
2190
2460
|
{
|
|
@@ -2225,19 +2495,19 @@ const $remote = createTypertRemoteInfo({
|
|
|
2225
2495
|
},
|
|
2226
2496
|
{
|
|
2227
2497
|
name: 'commits',
|
|
2228
|
-
description: 'consecutive commits of the change request, or null for all of it.',
|
|
2498
|
+
description: 'consecutive commits of the change request, the commit its changes go up to, or null for all of it.',
|
|
2229
2499
|
source: 'json',
|
|
2230
2500
|
codec: {
|
|
2231
2501
|
mode: 'strict',
|
|
2232
2502
|
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestDiff:commits',
|
|
2233
2503
|
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_parameter_2$schema,
|
|
2234
|
-
|
|
2504
|
+
jsonSchemaError: 'typert tool schema: selected union branches overlap or have no required discriminator',
|
|
2235
2505
|
},
|
|
2236
2506
|
strictCodec: {
|
|
2237
2507
|
mode: 'strict',
|
|
2238
2508
|
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestDiff:commits',
|
|
2239
2509
|
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_parameter_2_strict$schema,
|
|
2240
|
-
|
|
2510
|
+
jsonSchemaError: 'typert tool schema: selected union branches overlap or have no required discriminator',
|
|
2241
2511
|
},
|
|
2242
2512
|
},
|
|
2243
2513
|
],
|
|
@@ -2249,7 +2519,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
2249
2519
|
description: 'the files, the commit they end at, each file\'s web page, and the commits the checkout has beyond the head.',
|
|
2250
2520
|
jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
|
|
2251
2521
|
},
|
|
2252
|
-
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":
|
|
2522
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":1016,"column":9},
|
|
2253
2523
|
},
|
|
2254
2524
|
'forgePanel/changeRequestReview': {
|
|
2255
2525
|
service: 'forgePanel',
|
|
@@ -2335,7 +2605,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
2335
2605
|
description: 'the threads at `headSha`, with `current` positions numbering the files of that diff.',
|
|
2336
2606
|
jsonSchema: {"type":"object","properties":{"headSha":{"type":"string","description":"Head commit the threads were read at; `current` positions number its files."},"viewer":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Login of the signed-in user the provider read as, or null when the host does not name one."},"threads":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Host identity of the thread."},"path":{"type":"string","description":"Repository-relative path the thread is on."},"side":{"type":"string","enum":["L","R"],"description":"Old (`L`) or new (`R`) side of the diff the lines number."},"subject":{"type":"string","enum":["file","line"],"description":"Whether the thread is on lines or on the whole file."},"current":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"commit":{"type":"string","description":"Full object name of the commit the diff's new side shows: new-side (`R`) lines number this commit's file, and old-side (`L`) lines number the file at the diff's base."},"startLine":{"type":"number","description":"First line, inclusive."},"endLine":{"type":"number","description":"Last line, inclusive."}},"required":["commit","startLine","endLine"],"additionalProperties":true}],"description":"Lines in the diff that ends at the head commit of the read, whose `commit` is that head; null for an outdated or file thread."},"original":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"commit":{"type":"string","description":"Full object name of the commit the diff's new side shows: new-side (`R`) lines number this commit's file, and old-side (`L`) lines number the file at the diff's base."},"startLine":{"type":"number","description":"First line, inclusive."},"endLine":{"type":"number","description":"Last line, inclusive."}},"required":["commit","startLine","endLine"],"additionalProperties":true}],"description":"Lines in the diff that ended at a commit whose file holds the lines as the thread was written on them: the commit the thread was written on, or a later one the host carried the thread to while the lines stayed unchanged; null for a file thread."},"diffHunk":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Diff hunk the host recorded when the thread was written, ending at its last line; null when it recorded none."},"resolved":{"type":"boolean","description":"Whether the thread is marked resolved."},"viewerCanReply":{"type":"boolean","description":"Whether the signed-in user can reply to the thread through `writeReview`; false for a provider without it."},"viewerCanResolve":{"type":"boolean","description":"Whether the signed-in user can mark the thread resolved, or unresolved when `resolved`, through `writeReview`; false for a provider without it."},"comments":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Host identity of the comment."},"author":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"login":{"type":"string","description":"Login as the host spells it."},"avatarUrl":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Avatar image URL, or null when the host reports none."},"bot":{"type":"boolean","description":"Whether the account is an app or bot rather than a person."}},"required":["login","avatarUrl","bot"],"additionalProperties":true}],"description":"Author, or null when the account no longer exists."},"body":{"type":"string","description":"Markdown source as the author wrote it; it may contain raw HTML, which readers must not render as HTML."},"createdAt":{"type":"string","description":"ISO 8601 time the comment was created."},"pending":{"type":"boolean","description":"Whether the comment belongs to the signed-in user's review that is not submitted yet, which only that user sees."},"url":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Web page of the comment, or null when the host reports none."},"viewerCanEdit":{"type":"boolean","description":"Whether the signed-in user can replace the comment's text through `writeReview`; false for a provider without it."},"viewerCanDelete":{"type":"boolean","description":"Whether the signed-in user can delete the comment through `writeReview`; false for a provider without it."}},"required":["id","author","body","createdAt","pending","url","viewerCanEdit","viewerCanDelete"],"additionalProperties":true},"description":"Comments oldest first; the first starts the thread."}},"required":["id","path","side","subject","current","original","diffHunk","resolved","viewerCanReply","viewerCanResolve","comments"],"additionalProperties":true},"description":"Threads in host order, at most the provider's limit."},"truncated":{"type":"boolean","description":"Whether the change request has more threads than `threads` holds."},"pendingReview":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"id":{"type":"string","description":"Host identity of the review."},"comments":{"type":"number","description":"Comments the review holds."}},"required":["id","comments"],"additionalProperties":true}],"description":"The signed-in user's pending review, or null without one."},"viewerCanReview":{"type":"boolean","description":"Whether the signed-in user can add comments to a pending review and submit or discard it through `writeReview`; false for a provider without it."},"reviewEvents":{"type":"array","items":{"type":"string","enum":["comment","approve","request-changes"]},"description":"Decisions the host lets the signed-in user record in a submitted review of this change request, such as only `comment` on their own pull request on GitHub; empty when `viewerCanReview` is false."}},"required":["headSha","viewer","threads","truncated","pendingReview","viewerCanReview","reviewEvents"],"additionalProperties":true},
|
|
2337
2607
|
},
|
|
2338
|
-
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":
|
|
2608
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":1190,"column":9},
|
|
2339
2609
|
},
|
|
2340
2610
|
'forgePanel/changeRequestReviewWrite': {
|
|
2341
2611
|
service: 'forgePanel',
|
|
@@ -2404,7 +2674,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
2404
2674
|
description: 'whether the host took the write; `stale` once the head moved, which polls the change request again, and `unknown` when the outcome must be checked on the host before the write is tried again.',
|
|
2405
2675
|
jsonSchema: {"oneOf":[{"type":"object","properties":{"ok":{"type":"boolean","const":true}},"required":["ok"],"additionalProperties":true},{"type":"object","properties":{"ok":{"type":"boolean","const":false},"code":{"type":"string","enum":["failed","unknown","stale","unsupported"]},"message":{"type":"string"}},"required":["ok","code","message"],"additionalProperties":true}]},
|
|
2406
2676
|
},
|
|
2407
|
-
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":
|
|
2677
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":1224,"column":9},
|
|
2408
2678
|
},
|
|
2409
2679
|
'forgePanel/changeRequestStates': {
|
|
2410
2680
|
service: 'forgePanel',
|
|
@@ -2421,7 +2691,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
2421
2691
|
description: 'frames in publication order.',
|
|
2422
2692
|
jsonSchema: {"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"baseline"},"states":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string","description":"Title as the author wrote it."},"state":{"type":"string","enum":["open","closed","merged"],"description":"Lifecycle state."},"url":{"type":"string","description":"Web page of the change request."},"draft":{"type":"boolean","description":"Whether the author marked the change request as a draft."},"checksRollup":{"type":"string","enum":["pending","success","none","failure"],"description":"Combined check outcome."},"reviewDecision":{"type":"string","enum":["none","approved","changes-requested","review-required"],"description":"Aggregate review outcome."},"mergeability":{"type":"string","enum":["unknown","mergeable","conflicting"],"description":"Merge conflict status; `unknown` while the host computes it."},"number":{"type":"number","description":"Change request number on its code host."}},"required":["title","state","url","draft","checksRollup","reviewDecision","mergeability","number"],"additionalProperties":true}}},"required":["type","states"],"additionalProperties":true},{"type":"object","properties":{"type":{"type":"string","const":"changed"},"states":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string","description":"Title as the author wrote it."},"state":{"type":"string","enum":["open","closed","merged"],"description":"Lifecycle state."},"url":{"type":"string","description":"Web page of the change request."},"draft":{"type":"boolean","description":"Whether the author marked the change request as a draft."},"checksRollup":{"type":"string","enum":["pending","success","none","failure"],"description":"Combined check outcome."},"reviewDecision":{"type":"string","enum":["none","approved","changes-requested","review-required"],"description":"Aggregate review outcome."},"mergeability":{"type":"string","enum":["unknown","mergeable","conflicting"],"description":"Merge conflict status; `unknown` while the host computes it."},"number":{"type":"number","description":"Change request number on its code host."}},"required":["title","state","url","draft","checksRollup","reviewDecision","mergeability","number"],"additionalProperties":true}}},"required":["type","states"],"additionalProperties":true}]},
|
|
2423
2693
|
},
|
|
2424
|
-
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":
|
|
2694
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":303,"column":10},
|
|
2425
2695
|
},
|
|
2426
2696
|
'forgePanel/changeRequestText': {
|
|
2427
2697
|
service: 'forgePanel',
|
|
@@ -2507,7 +2777,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
2507
2777
|
description: 'the text.',
|
|
2508
2778
|
jsonSchema: {"type":"string"},
|
|
2509
2779
|
},
|
|
2510
|
-
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":
|
|
2780
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":1044,"column":9},
|
|
2511
2781
|
},
|
|
2512
2782
|
'forgePanel/changeRequestViewed': {
|
|
2513
2783
|
service: 'forgePanel',
|
|
@@ -2593,7 +2863,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
2593
2863
|
description: 'the marks at `headSha`, or null when the provider keeps no viewed marks.',
|
|
2594
2864
|
jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
|
|
2595
2865
|
},
|
|
2596
|
-
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":
|
|
2866
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":1147,"column":9},
|
|
2597
2867
|
},
|
|
2598
2868
|
'forgePanel/changesLens': {
|
|
2599
2869
|
service: 'forgePanel',
|
|
@@ -2628,13 +2898,13 @@ const $remote = createTypertRemoteInfo({
|
|
|
2628
2898
|
mode: 'strict',
|
|
2629
2899
|
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge/types#ForgeLensRequest',
|
|
2630
2900
|
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changesLens_parameter_1$schema,
|
|
2631
|
-
|
|
2901
|
+
jsonSchemaError: 'typert tool schema: selected union branches overlap or have no required discriminator',
|
|
2632
2902
|
},
|
|
2633
2903
|
strictCodec: {
|
|
2634
2904
|
mode: 'strict',
|
|
2635
2905
|
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge/types#ForgeLensRequest',
|
|
2636
2906
|
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changesLens_parameter_1_strict$schema,
|
|
2637
|
-
|
|
2907
|
+
jsonSchemaError: 'typert tool schema: selected union branches overlap or have no required discriminator',
|
|
2638
2908
|
},
|
|
2639
2909
|
},
|
|
2640
2910
|
],
|
|
@@ -2646,7 +2916,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
2646
2916
|
description: 'progress frames, then one result frame.',
|
|
2647
2917
|
jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
|
|
2648
2918
|
},
|
|
2649
|
-
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":
|
|
2919
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":1090,"column":10},
|
|
2650
2920
|
},
|
|
2651
2921
|
'forgePanel/continueInProject': {
|
|
2652
2922
|
service: 'forgePanel',
|
|
@@ -2680,11 +2950,11 @@ const $remote = createTypertRemoteInfo({
|
|
|
2680
2950
|
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_continueInProject_result$schema,
|
|
2681
2951
|
jsonSchemaError: 'typert tool schema: unsupported void value',
|
|
2682
2952
|
},
|
|
2683
|
-
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":
|
|
2953
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":1487,"column":9},
|
|
2684
2954
|
},
|
|
2685
2955
|
'forgePanel/diffBases': {
|
|
2686
2956
|
service: 'forgePanel',
|
|
2687
|
-
description: 'List the branches the `branch` scope
|
|
2957
|
+
description: 'List the branches the `branch` scope can compare with, for the Session\'s current checkout or for a head branch read in its place.',
|
|
2688
2958
|
invocation: { kind: 'direct' },
|
|
2689
2959
|
parameters: [
|
|
2690
2960
|
{
|
|
@@ -2706,6 +2976,23 @@ const $remote = createTypertRemoteInfo({
|
|
|
2706
2976
|
jsonSchema: {"type":"string"},
|
|
2707
2977
|
},
|
|
2708
2978
|
},
|
|
2979
|
+
{
|
|
2980
|
+
name: 'head',
|
|
2981
|
+
description: 'full ref of the branch the scope reads in place of the checked-out one, or null for the checkout.',
|
|
2982
|
+
source: 'json',
|
|
2983
|
+
codec: {
|
|
2984
|
+
mode: 'strict',
|
|
2985
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/diffBases:head',
|
|
2986
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_1$schema,
|
|
2987
|
+
jsonSchema: {"oneOf":[{"type":"null","const":null},{"type":"string"}]},
|
|
2988
|
+
},
|
|
2989
|
+
strictCodec: {
|
|
2990
|
+
mode: 'strict',
|
|
2991
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/diffBases:head',
|
|
2992
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_1_strict$schema,
|
|
2993
|
+
jsonSchema: {"oneOf":[{"type":"null","const":null},{"type":"string"}]},
|
|
2994
|
+
},
|
|
2995
|
+
},
|
|
2709
2996
|
{
|
|
2710
2997
|
name: 'query',
|
|
2711
2998
|
description: 'text the branch names must contain, ignoring case; empty for every branch.',
|
|
@@ -2713,13 +3000,13 @@ const $remote = createTypertRemoteInfo({
|
|
|
2713
3000
|
codec: {
|
|
2714
3001
|
mode: 'strict',
|
|
2715
3002
|
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/diffBases:query',
|
|
2716
|
-
create:
|
|
3003
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_2$schema,
|
|
2717
3004
|
jsonSchema: {"type":"string"},
|
|
2718
3005
|
},
|
|
2719
3006
|
strictCodec: {
|
|
2720
3007
|
mode: 'strict',
|
|
2721
3008
|
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/diffBases:query',
|
|
2722
|
-
create:
|
|
3009
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_2_strict$schema,
|
|
2723
3010
|
jsonSchema: {"type":"string"},
|
|
2724
3011
|
},
|
|
2725
3012
|
},
|
|
@@ -2729,10 +3016,10 @@ const $remote = createTypertRemoteInfo({
|
|
|
2729
3016
|
mode: 'strict',
|
|
2730
3017
|
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge/types#ForgeBaseBranches',
|
|
2731
3018
|
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_result$schema,
|
|
2732
|
-
description: 'the automatic fork point and at most `maxBranches` remote-tracking and local branches each, most recently committed first, without the checked-out branch.',
|
|
2733
|
-
jsonSchema: {"type":"object","properties":{"automatic":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"name":{"type":"string","description":"The created worktree's base branch or abbreviated base commit, or the default branch of the code host remote."},"worktree":{"type":"boolean","description":"Whether the fork point is the base commit of the worktree the Session created rather than a merge base."}},"required":["name","worktree"],"additionalProperties":true}],"description":"The fork point used while no base branch is chosen, whatever the query; null without one."},"remote":{"type":"array","items":{"type":"object","properties":{"ref":{"type":"string","description":"Full ref name: `refs/heads/<branch>` or `refs/remotes/<remote>/<branch>`."},"name":{"type":"string","description":"The ref without `refs/heads/` or `refs/remotes/`, such as `master` or `origin/master`."}},"required":["ref","name"],"additionalProperties":true},"description":"Remote-tracking branches without symbolic refs such as `origin/HEAD`, most recently committed first, at most `maxBranches`."},"local":{"type":"array","items":{"type":"object","properties":{"ref":{"type":"string","description":"Full ref name: `refs/heads/<branch>` or `refs/remotes/<remote>/<branch>`."},"name":{"type":"string","description":"The ref without `refs/heads/` or `refs/remotes/`, such as `master` or `origin/master`."}},"required":["ref","name"],"additionalProperties":true},"description":"Local branches other than the
|
|
3019
|
+
description: 'the automatic fork point and at most `maxBranches` remote-tracking and local branches each, most recently committed first, without the branch the scope shows and, for a head, without the Session\'s checked-out branch, which the automatic fork point compares with; a local branch that a worktree has checked out names that worktree\'s directory.',
|
|
3020
|
+
jsonSchema: {"type":"object","properties":{"automatic":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"name":{"type":"string","description":"The created worktree's base branch or abbreviated base commit, or the default branch of the code host remote; for a scope with a `head`, the Session's checked-out branch, or its abbreviated HEAD commit when detached."},"worktree":{"type":"boolean","description":"Whether the fork point is the base commit of the worktree the Session created rather than a merge base."}},"required":["name","worktree"],"additionalProperties":true}],"description":"The fork point used while no base branch is chosen, whatever the query; null without one."},"remote":{"type":"array","items":{"type":"object","properties":{"ref":{"type":"string","description":"Full ref name: `refs/heads/<branch>` or `refs/remotes/<remote>/<branch>`."},"name":{"type":"string","description":"The ref without `refs/heads/` or `refs/remotes/`, such as `master` or `origin/master`."},"worktree":{"type":"string","description":"Directory Git registered for the worktree that has this local branch checked out, absent when none has; a scope that names the branch as its head reads that worktree."}},"required":["ref","name"],"additionalProperties":true},"description":"Remote-tracking branches without symbolic refs such as `origin/HEAD`, most recently committed first, at most `maxBranches`."},"local":{"type":"array","items":{"type":"object","properties":{"ref":{"type":"string","description":"Full ref name: `refs/heads/<branch>` or `refs/remotes/<remote>/<branch>`."},"name":{"type":"string","description":"The ref without `refs/heads/` or `refs/remotes/`, such as `master` or `origin/master`."},"worktree":{"type":"string","description":"Directory Git registered for the worktree that has this local branch checked out, absent when none has; a scope that names the branch as its head reads that worktree."}},"required":["ref","name"],"additionalProperties":true},"description":"Local branches other than the one the scope shows, most recently committed first, at most `maxBranches`."}},"required":["automatic","remote","local"],"additionalProperties":true},
|
|
2734
3021
|
},
|
|
2735
|
-
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":
|
|
3022
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":787,"column":9},
|
|
2736
3023
|
},
|
|
2737
3024
|
'forgePanel/dismiss': {
|
|
2738
3025
|
service: 'forgePanel',
|
|
@@ -2783,7 +3070,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
2783
3070
|
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_dismiss_result$schema,
|
|
2784
3071
|
jsonSchemaError: 'typert tool schema: unsupported void value',
|
|
2785
3072
|
},
|
|
2786
|
-
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":
|
|
3073
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":819,"column":9},
|
|
2787
3074
|
},
|
|
2788
3075
|
'forgePanel/extensions': {
|
|
2789
3076
|
service: 'forgePanel',
|
|
@@ -2800,7 +3087,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
2800
3087
|
description: 'the registered lenses and the annotation limit, in publication order.',
|
|
2801
3088
|
jsonSchema: {"type":"object","properties":{"lenses":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Identity of the lens."},"version":{"type":"string","description":"The lens's `version`; a view does not reuse results of another version."}},"required":["id","version"],"additionalProperties":true},"description":"The registered lenses, in registration order."},"maxAnnotationsPerFile":{"type":"number","description":"Most line annotations a changes view shows in one file, across every annotation source."}},"required":["lenses","maxAnnotationsPerFile"],"additionalProperties":true},
|
|
2802
3089
|
},
|
|
2803
|
-
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":
|
|
3090
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":1070,"column":10},
|
|
2804
3091
|
},
|
|
2805
3092
|
'forgePanel/follow': {
|
|
2806
3093
|
service: 'forgePanel',
|
|
@@ -2836,11 +3123,61 @@ const $remote = createTypertRemoteInfo({
|
|
|
2836
3123
|
description: 'panel states in publication order.',
|
|
2837
3124
|
jsonSchemaError: 'typert tool schema: selected union branches overlap or have no required discriminator',
|
|
2838
3125
|
},
|
|
2839
|
-
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":
|
|
3126
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":286,"column":10},
|
|
3127
|
+
},
|
|
3128
|
+
'forgePanel/hostReadiness': {
|
|
3129
|
+
service: 'forgePanel',
|
|
3130
|
+
description: 'Report whether a provider reaches one of its hosts with the Host\'s current credentials, for the host list on the Plugins page of that provider\'s row. The read names no Session, so, like the review page reads, only callers that may use the Host\'s code host credentials reach it.',
|
|
3131
|
+
invocation: { kind: 'direct' },
|
|
3132
|
+
parameters: [
|
|
3133
|
+
{
|
|
3134
|
+
name: 'forge',
|
|
3135
|
+
description: 'forge family of a registered provider, such as `gitlab`.',
|
|
3136
|
+
source: 'json',
|
|
3137
|
+
codec: {
|
|
3138
|
+
mode: 'strict',
|
|
3139
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/hostReadiness:forge',
|
|
3140
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_hostReadiness_parameter_0$schema,
|
|
3141
|
+
jsonSchema: {"type":"string"},
|
|
3142
|
+
},
|
|
3143
|
+
strictCodec: {
|
|
3144
|
+
mode: 'strict',
|
|
3145
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/hostReadiness:forge',
|
|
3146
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_hostReadiness_parameter_0_strict$schema,
|
|
3147
|
+
jsonSchema: {"type":"string"},
|
|
3148
|
+
},
|
|
3149
|
+
},
|
|
3150
|
+
{
|
|
3151
|
+
name: 'host',
|
|
3152
|
+
description: 'host name as the provider\'s configuration lists it.',
|
|
3153
|
+
source: 'json',
|
|
3154
|
+
codec: {
|
|
3155
|
+
mode: 'strict',
|
|
3156
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/hostReadiness:host',
|
|
3157
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_hostReadiness_parameter_1$schema,
|
|
3158
|
+
jsonSchema: {"type":"string"},
|
|
3159
|
+
},
|
|
3160
|
+
strictCodec: {
|
|
3161
|
+
mode: 'strict',
|
|
3162
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/hostReadiness:host',
|
|
3163
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_hostReadiness_parameter_1_strict$schema,
|
|
3164
|
+
jsonSchema: {"type":"string"},
|
|
3165
|
+
},
|
|
3166
|
+
},
|
|
3167
|
+
],
|
|
3168
|
+
cancellation: { parameter: 'signal' },
|
|
3169
|
+
result: {
|
|
3170
|
+
mode: 'strict',
|
|
3171
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-forge/types#ForgeReadiness',
|
|
3172
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_hostReadiness_result$schema,
|
|
3173
|
+
description: 'the provider\'s readiness for the host; `unavailable` with the reason when no provider serves the family, the probe fails, or it runs past `readinessTimeoutMs`.',
|
|
3174
|
+
jsonSchema: {"type":"object","properties":{"state":{"type":"string","enum":["unavailable","ready","unauthenticated"],"description":"`ready`, `unauthenticated` (sign-in needed), or `unavailable` (tool missing or host unreachable)."},"message":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Human-readable detail, or null when ready."},"signIn":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"command":{"type":"string"}},"required":["command"],"additionalProperties":true}],"description":"Shell command the user runs on the host to sign in, while `unauthenticated`; null otherwise or when the provider names none."}},"required":["state","message","signIn"],"additionalProperties":true},
|
|
3175
|
+
},
|
|
3176
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":360,"column":9},
|
|
2840
3177
|
},
|
|
2841
3178
|
'forgePanel/localCommits': {
|
|
2842
3179
|
service: 'forgePanel',
|
|
2843
|
-
description: 'List the commits of the `branch` scope of the Session\'s current checkout, which the changes view can show one or several of instead of the whole scope.',
|
|
3180
|
+
description: 'List the commits of the `branch` scope of the Session\'s current checkout or of a head branch read in its place, which the changes view can show one or several of instead of the whole scope.',
|
|
2844
3181
|
invocation: { kind: 'direct' },
|
|
2845
3182
|
parameters: [
|
|
2846
3183
|
{
|
|
@@ -2862,6 +3199,23 @@ const $remote = createTypertRemoteInfo({
|
|
|
2862
3199
|
jsonSchema: {"type":"string"},
|
|
2863
3200
|
},
|
|
2864
3201
|
},
|
|
3202
|
+
{
|
|
3203
|
+
name: 'head',
|
|
3204
|
+
description: 'full ref of the branch the scope reads in place of the checked-out one, or null for the checkout.',
|
|
3205
|
+
source: 'json',
|
|
3206
|
+
codec: {
|
|
3207
|
+
mode: 'strict',
|
|
3208
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/localCommits:head',
|
|
3209
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_parameter_1$schema,
|
|
3210
|
+
jsonSchema: {"oneOf":[{"type":"null","const":null},{"type":"string"}]},
|
|
3211
|
+
},
|
|
3212
|
+
strictCodec: {
|
|
3213
|
+
mode: 'strict',
|
|
3214
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/localCommits:head',
|
|
3215
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_parameter_1_strict$schema,
|
|
3216
|
+
jsonSchema: {"oneOf":[{"type":"null","const":null},{"type":"string"}]},
|
|
3217
|
+
},
|
|
3218
|
+
},
|
|
2865
3219
|
{
|
|
2866
3220
|
name: 'base',
|
|
2867
3221
|
description: 'the base ref of the `branch` scope, or null for its automatic fork point.',
|
|
@@ -2869,13 +3223,13 @@ const $remote = createTypertRemoteInfo({
|
|
|
2869
3223
|
codec: {
|
|
2870
3224
|
mode: 'strict',
|
|
2871
3225
|
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/localCommits:base',
|
|
2872
|
-
create:
|
|
3226
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_parameter_2$schema,
|
|
2873
3227
|
jsonSchema: {"oneOf":[{"type":"null","const":null},{"type":"string"}]},
|
|
2874
3228
|
},
|
|
2875
3229
|
strictCodec: {
|
|
2876
3230
|
mode: 'strict',
|
|
2877
3231
|
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/localCommits:base',
|
|
2878
|
-
create:
|
|
3232
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_parameter_2_strict$schema,
|
|
2879
3233
|
jsonSchema: {"oneOf":[{"type":"null","const":null},{"type":"string"}]},
|
|
2880
3234
|
},
|
|
2881
3235
|
},
|
|
@@ -2885,14 +3239,14 @@ const $remote = createTypertRemoteInfo({
|
|
|
2885
3239
|
mode: 'strict',
|
|
2886
3240
|
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge/types#ForgeLocalCommits',
|
|
2887
3241
|
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_result$schema,
|
|
2888
|
-
description: 'the newest `maxCommits` commits between the fork point and HEAD, oldest first, and
|
|
3242
|
+
description: 'the newest `maxCommits` commits between the fork point and the shown HEAD or branch, oldest first, and its commit.',
|
|
2889
3243
|
jsonSchema: {"type":"object","properties":{"headSha":{"type":"string","description":"HEAD commit the list was read at."},"commits":{"type":"array","items":{"type":"object","properties":{"sha":{"type":"string","description":"Full commit object name."},"parent":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Full object name of the first parent, or null for a root commit."},"title":{"type":"string","description":"First line of the commit message."},"author":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Author name or login as the host reports it, or null when it reports none."},"authoredAt":{"type":"string","description":"ISO 8601 time the commit was authored."}},"required":["sha","parent","title","author","authoredAt"],"additionalProperties":true},"description":"Commits oldest first, ending with HEAD's commit."},"truncated":{"type":"boolean","description":"Whether the branch has more commits than `maxCommits`; the listed ones are the newest."}},"required":["headSha","commits","truncated"],"additionalProperties":true},
|
|
2890
3244
|
},
|
|
2891
|
-
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":
|
|
3245
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":894,"column":9},
|
|
2892
3246
|
},
|
|
2893
3247
|
'forgePanel/localDiff': {
|
|
2894
3248
|
service: 'forgePanel',
|
|
2895
|
-
description: 'Read the changes one scope covers in the checkout of the Session\'s current directory,
|
|
3249
|
+
description: 'Read the changes one scope covers in the checkout of the Session\'s current directory, or for the head branch the scope names: in the worktree that has it checked out, else from its commits. Git uses the Session\'s sandbox policy.',
|
|
2896
3250
|
invocation: { kind: 'direct' },
|
|
2897
3251
|
parameters: [
|
|
2898
3252
|
{
|
|
@@ -2922,13 +3276,13 @@ const $remote = createTypertRemoteInfo({
|
|
|
2922
3276
|
mode: 'strict',
|
|
2923
3277
|
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge/types#ForgeLocalScope',
|
|
2924
3278
|
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_parameter_1$schema,
|
|
2925
|
-
jsonSchema: {"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"branch"},"base":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"commits":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"from":{"type":"string","description":"First, oldest commit shown."},"to":{"type":"string","description":"Last, newest commit shown; equal to `from` for one commit."}},"required":["from","to"],"additionalProperties":true}]}},"required":["kind","base","commits"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","const":"uncommitted"}},"required":["kind"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","const":"unstaged"}},"required":["kind"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","const":"staged"}},"required":["kind"],"additionalProperties":true}]},
|
|
3279
|
+
jsonSchema: {"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"branch"},"head":{"type":"string"},"base":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"commits":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"from":{"type":"string","description":"First, oldest commit shown."},"to":{"type":"string","description":"Last, newest commit shown; equal to `from` for one commit."}},"required":["from","to"],"additionalProperties":true}]}},"required":["kind","base","commits"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","const":"uncommitted"},"head":{"type":"string"}},"required":["kind"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","const":"unstaged"},"head":{"type":"string"}},"required":["kind"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","const":"staged"},"head":{"type":"string"}},"required":["kind"],"additionalProperties":true}]},
|
|
2926
3280
|
},
|
|
2927
3281
|
strictCodec: {
|
|
2928
3282
|
mode: 'strict',
|
|
2929
3283
|
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge/types#ForgeLocalScope',
|
|
2930
3284
|
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_parameter_1_strict$schema,
|
|
2931
|
-
jsonSchema: {"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"branch"},"base":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"commits":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"from":{"type":"string","description":"First, oldest commit shown."},"to":{"type":"string","description":"Last, newest commit shown; equal to `from` for one commit."}},"required":["from","to"],"additionalProperties":false}]}},"required":["kind","base","commits"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"uncommitted"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"unstaged"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"staged"}},"required":["kind"],"additionalProperties":false}]},
|
|
3285
|
+
jsonSchema: {"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"branch"},"head":{"type":"string"},"base":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"commits":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"from":{"type":"string","description":"First, oldest commit shown."},"to":{"type":"string","description":"Last, newest commit shown; equal to `from` for one commit."}},"required":["from","to"],"additionalProperties":false}]}},"required":["kind","base","commits"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"uncommitted"},"head":{"type":"string"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"unstaged"},"head":{"type":"string"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"staged"},"head":{"type":"string"}},"required":["kind"],"additionalProperties":false}]},
|
|
2932
3286
|
},
|
|
2933
3287
|
},
|
|
2934
3288
|
],
|
|
@@ -2937,14 +3291,14 @@ const $remote = createTypertRemoteInfo({
|
|
|
2937
3291
|
mode: 'strict',
|
|
2938
3292
|
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge/types#ForgeLocalDiff',
|
|
2939
3293
|
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_result$schema,
|
|
2940
|
-
description: 'the files, the base of the `branch` scope,
|
|
2941
|
-
jsonSchema: {"type":"object","properties":{"base":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Ref or abbreviated commit the `branch` scope compares with, such as `origin/master`; null for other scopes."},"files":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","description":"Path relative to the repository root after the change, or before it for a deleted file."},"previousPath":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Path before a rename, else null."},"status":{"type":"string","enum":["deleted","
|
|
3294
|
+
description: 'the files, the base of the `branch` scope, the untracked files left out, and the worktree read for a head.',
|
|
3295
|
+
jsonSchema: {"type":"object","properties":{"base":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Ref or abbreviated commit the `branch` scope compares with, such as `origin/master`; null for other scopes."},"files":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","description":"Path relative to the repository root after the change, or before it for a deleted file."},"previousPath":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Path before a rename, else null."},"status":{"type":"string","enum":["deleted","renamed","added","modified"],"description":"How the file changed."},"binary":{"type":"boolean","description":"Whether the content is binary, which carries no hunks."},"oversized":{"type":"boolean","description":"Whether an untracked file exceeds `maxDiffBytes`, so it carries no hunks."},"untracked":{"type":"boolean","description":"Whether Git does not track the file yet; only local diffs list such files."},"submodule":{"type":"boolean","description":"Whether the path is a submodule, whose change is the commit recorded for it and whose hunks hold no file content."},"additions":{"type":"number","description":"Lines added."},"deletions":{"type":"number","description":"Lines deleted."},"hunks":{"type":"array","items":{"type":"object","properties":{"oldStart":{"type":"number","description":"First old line the hunk covers, or the old line it comes before when it covers none."},"oldLines":{"type":"number","description":"Old lines the hunk covers."},"newStart":{"type":"number","description":"First new line the hunk covers, or the new line it comes before when it covers none."},"newLines":{"type":"number","description":"New lines the hunk covers."},"lines":{"type":"array","items":{"type":"string"},"description":"Lines in patch form: a leading space for context, `+` for added, `-` for deleted, and `\\` for a missing final newline."}},"required":["oldStart","oldLines","newStart","newLines","lines"],"additionalProperties":true},"description":"Hunks in file order; none for a binary file or a change of mode or name only."},"layer":{"type":"string","enum":["interface","implementation","test"],"description":"Review layer the path falls in."},"digest":{"type":"string","description":"Digest of the file's change: its paths, status, and hunks, plus the blob names of a binary change, or the content of an untracked binary file. Equal digests describe the same change; reading the same comparison again keeps it."}},"required":["path","previousPath","status","binary","oversized","untracked","submodule","additions","deletions","hunks","layer","digest"],"additionalProperties":true},"description":"Changed files in Git's path order, untracked files last."},"omitted":{"type":"number","description":"Untracked files left out beyond `maxUntrackedFiles`."},"worktree":{"type":"string","description":"Top-level directory of the worktree the scope read for its `head`; absent for the Session's own checkout and for a head read from its commits."}},"required":["base","files","omitted"],"additionalProperties":true},
|
|
2942
3296
|
},
|
|
2943
|
-
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":
|
|
3297
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":869,"column":9},
|
|
2944
3298
|
},
|
|
2945
3299
|
'forgePanel/localText': {
|
|
2946
3300
|
service: 'forgePanel',
|
|
2947
|
-
description: 'Read the new side of one changed file in a scope, which supplies the unchanged lines between its hunks: the index for `staged`, the last chosen commit for chosen commits of the `branch` scope, else the working tree.',
|
|
3301
|
+
description: 'Read the new side of one changed file in a scope, which supplies the unchanged lines between its hunks: the index for `staged`, the last chosen commit for chosen commits of the `branch` scope, the branch for a head read from its commits, else the working tree of the checkout the scope reads.',
|
|
2948
3302
|
invocation: { kind: 'direct' },
|
|
2949
3303
|
parameters: [
|
|
2950
3304
|
{
|
|
@@ -2974,13 +3328,13 @@ const $remote = createTypertRemoteInfo({
|
|
|
2974
3328
|
mode: 'strict',
|
|
2975
3329
|
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge/types#ForgeLocalScope',
|
|
2976
3330
|
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_1$schema,
|
|
2977
|
-
jsonSchema: {"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"branch"},"base":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"commits":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"from":{"type":"string","description":"First, oldest commit shown."},"to":{"type":"string","description":"Last, newest commit shown; equal to `from` for one commit."}},"required":["from","to"],"additionalProperties":true}]}},"required":["kind","base","commits"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","const":"uncommitted"}},"required":["kind"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","const":"unstaged"}},"required":["kind"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","const":"staged"}},"required":["kind"],"additionalProperties":true}]},
|
|
3331
|
+
jsonSchema: {"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"branch"},"head":{"type":"string"},"base":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"commits":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"from":{"type":"string","description":"First, oldest commit shown."},"to":{"type":"string","description":"Last, newest commit shown; equal to `from` for one commit."}},"required":["from","to"],"additionalProperties":true}]}},"required":["kind","base","commits"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","const":"uncommitted"},"head":{"type":"string"}},"required":["kind"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","const":"unstaged"},"head":{"type":"string"}},"required":["kind"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","const":"staged"},"head":{"type":"string"}},"required":["kind"],"additionalProperties":true}]},
|
|
2978
3332
|
},
|
|
2979
3333
|
strictCodec: {
|
|
2980
3334
|
mode: 'strict',
|
|
2981
3335
|
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge/types#ForgeLocalScope',
|
|
2982
3336
|
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_1_strict$schema,
|
|
2983
|
-
jsonSchema: {"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"branch"},"base":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"commits":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"from":{"type":"string","description":"First, oldest commit shown."},"to":{"type":"string","description":"Last, newest commit shown; equal to `from` for one commit."}},"required":["from","to"],"additionalProperties":false}]}},"required":["kind","base","commits"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"uncommitted"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"unstaged"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"staged"}},"required":["kind"],"additionalProperties":false}]},
|
|
3337
|
+
jsonSchema: {"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"branch"},"head":{"type":"string"},"base":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"commits":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"from":{"type":"string","description":"First, oldest commit shown."},"to":{"type":"string","description":"Last, newest commit shown; equal to `from` for one commit."}},"required":["from","to"],"additionalProperties":false}]}},"required":["kind","base","commits"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"uncommitted"},"head":{"type":"string"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"unstaged"},"head":{"type":"string"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"staged"},"head":{"type":"string"}},"required":["kind"],"additionalProperties":false}]},
|
|
2984
3338
|
},
|
|
2985
3339
|
},
|
|
2986
3340
|
{
|
|
@@ -3009,7 +3363,59 @@ const $remote = createTypertRemoteInfo({
|
|
|
3009
3363
|
description: 'the text.',
|
|
3010
3364
|
jsonSchema: {"type":"string"},
|
|
3011
3365
|
},
|
|
3012
|
-
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":
|
|
3366
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":918,"column":9},
|
|
3367
|
+
},
|
|
3368
|
+
'forgePanel/localWrite': {
|
|
3369
|
+
service: 'forgePanel',
|
|
3370
|
+
description: 'Stage, unstage, or restore whole files in the checkout of the Session\'s current directory, or return index entries to the tree an earlier write reported. The caller\'s press authorizes the write, so Git runs without the Session\'s sandbox policy and under any access mode. The Session\'s panel inspects the checkout again afterwards, whether or not the write succeeded.',
|
|
3371
|
+
invocation: { kind: 'direct' },
|
|
3372
|
+
parameters: [
|
|
3373
|
+
{
|
|
3374
|
+
name: 'session',
|
|
3375
|
+
wire: 'sessionId',
|
|
3376
|
+
description: 'Session whose checkout is written.',
|
|
3377
|
+
source: 'lookup',
|
|
3378
|
+
lookup: 'session',
|
|
3379
|
+
codec: {
|
|
3380
|
+
mode: 'strict',
|
|
3381
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
3382
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localWrite_parameter_0$schema,
|
|
3383
|
+
jsonSchema: {"type":"string"},
|
|
3384
|
+
},
|
|
3385
|
+
strictCodec: {
|
|
3386
|
+
mode: 'strict',
|
|
3387
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
3388
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localWrite_parameter_0_strict$schema,
|
|
3389
|
+
jsonSchema: {"type":"string"},
|
|
3390
|
+
},
|
|
3391
|
+
},
|
|
3392
|
+
{
|
|
3393
|
+
name: 'write',
|
|
3394
|
+
description: 'the write; `stage` and `restore` name each file with the digest of the change the reader saw.',
|
|
3395
|
+
source: 'json',
|
|
3396
|
+
codec: {
|
|
3397
|
+
mode: 'strict',
|
|
3398
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge/types#ForgeLocalWrite',
|
|
3399
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localWrite_parameter_1$schema,
|
|
3400
|
+
jsonSchema: {"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"stage"},"files":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","description":"Path relative to the repository root, as the diff names it."},"digest":{"type":"string","description":"Digest of the change the reader saw."}},"required":["path","digest"],"additionalProperties":true}}},"required":["kind","files"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","const":"unstage"},"paths":{"type":"array","items":{"type":"string"}}},"required":["kind","paths"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","const":"restore"},"files":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","description":"Path relative to the repository root, as the diff names it."},"digest":{"type":"string","description":"Digest of the change the reader saw."}},"required":["path","digest"],"additionalProperties":true}}},"required":["kind","files"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","const":"reindex"},"tree":{"type":"string"},"paths":{"type":"array","items":{"type":"string"}}},"required":["kind","tree","paths"],"additionalProperties":true}]},
|
|
3401
|
+
},
|
|
3402
|
+
strictCodec: {
|
|
3403
|
+
mode: 'strict',
|
|
3404
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge/types#ForgeLocalWrite',
|
|
3405
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localWrite_parameter_1_strict$schema,
|
|
3406
|
+
jsonSchema: {"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"stage"},"files":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","description":"Path relative to the repository root, as the diff names it."},"digest":{"type":"string","description":"Digest of the change the reader saw."}},"required":["path","digest"],"additionalProperties":false}}},"required":["kind","files"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"unstage"},"paths":{"type":"array","items":{"type":"string"}}},"required":["kind","paths"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"restore"},"files":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","description":"Path relative to the repository root, as the diff names it."},"digest":{"type":"string","description":"Digest of the change the reader saw."}},"required":["path","digest"],"additionalProperties":false}}},"required":["kind","files"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"reindex"},"tree":{"type":"string"},"paths":{"type":"array","items":{"type":"string"}}},"required":["kind","tree","paths"],"additionalProperties":false}]},
|
|
3407
|
+
},
|
|
3408
|
+
},
|
|
3409
|
+
],
|
|
3410
|
+
cancellation: { parameter: 'signal' },
|
|
3411
|
+
result: {
|
|
3412
|
+
mode: 'strict',
|
|
3413
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge/types#ForgeLocalWriteResult',
|
|
3414
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localWrite_result$schema,
|
|
3415
|
+
description: 'the index before a `stage` or `unstage` as a tree, for undoing it.',
|
|
3416
|
+
jsonSchema: {"type":"object","properties":{"undo":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Object name of the index as a tree before a `stage` or `unstage`, which a `reindex` of the same paths returns to; null for other writes and while the index holds unmerged entries."}},"required":["undo"],"additionalProperties":true},
|
|
3417
|
+
},
|
|
3418
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":940,"column":9},
|
|
3013
3419
|
},
|
|
3014
3420
|
'forgePanel/markReady': {
|
|
3015
3421
|
service: 'forgePanel',
|
|
@@ -3060,7 +3466,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
3060
3466
|
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_markReady_result$schema,
|
|
3061
3467
|
jsonSchemaError: 'typert tool schema: unsupported void value',
|
|
3062
3468
|
},
|
|
3063
|
-
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":
|
|
3469
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":1241,"column":9},
|
|
3064
3470
|
},
|
|
3065
3471
|
'forgePanel/merge': {
|
|
3066
3472
|
service: 'forgePanel',
|
|
@@ -3145,7 +3551,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
3145
3551
|
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_result$schema,
|
|
3146
3552
|
jsonSchemaError: 'typert tool schema: unsupported void value',
|
|
3147
3553
|
},
|
|
3148
|
-
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":
|
|
3554
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":1260,"column":9},
|
|
3149
3555
|
},
|
|
3150
3556
|
'forgePanel/refresh': {
|
|
3151
3557
|
service: 'forgePanel',
|
|
@@ -3178,7 +3584,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
3178
3584
|
description: 'settles once the inspection and the sign-in probe have ended; poll results reach the panel stream later.',
|
|
3179
3585
|
jsonSchemaError: 'typert tool schema: unsupported void value',
|
|
3180
3586
|
},
|
|
3181
|
-
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":
|
|
3587
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":832,"column":9},
|
|
3182
3588
|
},
|
|
3183
3589
|
'forgePanel/requestReviews': {
|
|
3184
3590
|
service: 'forgePanel',
|
|
@@ -3246,7 +3652,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
3246
3652
|
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestReviews_result$schema,
|
|
3247
3653
|
jsonSchemaError: 'typert tool schema: unsupported void value',
|
|
3248
3654
|
},
|
|
3249
|
-
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":
|
|
3655
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":1316,"column":9},
|
|
3250
3656
|
},
|
|
3251
3657
|
'forgePanel/requestWorktree': {
|
|
3252
3658
|
service: 'forgePanel',
|
|
@@ -3314,7 +3720,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
3314
3720
|
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestWorktree_result$schema,
|
|
3315
3721
|
jsonSchemaError: 'typert tool schema: unsupported void value',
|
|
3316
3722
|
},
|
|
3317
|
-
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":
|
|
3723
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":1379,"column":9},
|
|
3318
3724
|
},
|
|
3319
3725
|
'forgePanel/rerunChecks': {
|
|
3320
3726
|
service: 'forgePanel',
|
|
@@ -3382,7 +3788,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
3382
3788
|
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_rerunChecks_result$schema,
|
|
3383
3789
|
jsonSchemaError: 'typert tool schema: unsupported void value',
|
|
3384
3790
|
},
|
|
3385
|
-
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":
|
|
3791
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":1298,"column":9},
|
|
3386
3792
|
},
|
|
3387
3793
|
'forgePanel/restoreWorktree': {
|
|
3388
3794
|
service: 'forgePanel',
|
|
@@ -3416,7 +3822,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
3416
3822
|
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_restoreWorktree_result$schema,
|
|
3417
3823
|
jsonSchemaError: 'typert tool schema: unsupported void value',
|
|
3418
3824
|
},
|
|
3419
|
-
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":
|
|
3825
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":1456,"column":9},
|
|
3420
3826
|
},
|
|
3421
3827
|
'forgePanel/retryWorktree': {
|
|
3422
3828
|
service: 'forgePanel',
|
|
@@ -3467,7 +3873,40 @@ const $remote = createTypertRemoteInfo({
|
|
|
3467
3873
|
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_retryWorktree_result$schema,
|
|
3468
3874
|
jsonSchemaError: 'typert tool schema: unsupported void value',
|
|
3469
3875
|
},
|
|
3470
|
-
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":
|
|
3876
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":1435,"column":9},
|
|
3877
|
+
},
|
|
3878
|
+
'forgePanel/reviewActivity': {
|
|
3879
|
+
service: 'forgePanel',
|
|
3880
|
+
description: 'Read the activity of a change request for the review page: its comments, submitted reviews, commits, and changes of state.',
|
|
3881
|
+
invocation: { kind: 'direct' },
|
|
3882
|
+
parameters: [
|
|
3883
|
+
{
|
|
3884
|
+
name: 'url',
|
|
3885
|
+
description: 'web URL of the change request.',
|
|
3886
|
+
source: 'json',
|
|
3887
|
+
codec: {
|
|
3888
|
+
mode: 'strict',
|
|
3889
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/reviewActivity:url',
|
|
3890
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewActivity_parameter_0$schema,
|
|
3891
|
+
jsonSchema: {"type":"string"},
|
|
3892
|
+
},
|
|
3893
|
+
strictCodec: {
|
|
3894
|
+
mode: 'strict',
|
|
3895
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/reviewActivity:url',
|
|
3896
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewActivity_parameter_0_strict$schema,
|
|
3897
|
+
jsonSchema: {"type":"string"},
|
|
3898
|
+
},
|
|
3899
|
+
},
|
|
3900
|
+
],
|
|
3901
|
+
cancellation: { parameter: 'signal' },
|
|
3902
|
+
result: {
|
|
3903
|
+
mode: 'strict',
|
|
3904
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/reviewActivity:result',
|
|
3905
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewActivity_result$schema,
|
|
3906
|
+
description: 'the activity, or null when the change request\'s provider reads none.',
|
|
3907
|
+
jsonSchema: {"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"items":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"at":{"type":"string","description":"ISO 8601 time of the entry."},"actor":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"login":{"type":"string","description":"Login as the host spells it."},"avatarUrl":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Avatar image URL, or null when the host reports none."},"bot":{"type":"boolean","description":"Whether the account is an app or bot rather than a person."}},"required":["login","avatarUrl","bot"],"additionalProperties":true}],"description":"Account the entry is by, or null when the host names none or the account no longer exists."},"kind":{"type":"string","const":"comment"},"body":{"type":"string"},"url":{"oneOf":[{"type":"null","const":null},{"type":"string"}]}},"required":["at","actor","kind","body","url"],"additionalProperties":true},{"type":"object","properties":{"at":{"type":"string","description":"ISO 8601 time of the entry."},"actor":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"login":{"type":"string","description":"Login as the host spells it."},"avatarUrl":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Avatar image URL, or null when the host reports none."},"bot":{"type":"boolean","description":"Whether the account is an app or bot rather than a person."}},"required":["login","avatarUrl","bot"],"additionalProperties":true}],"description":"Account the entry is by, or null when the host names none or the account no longer exists."},"kind":{"type":"string","const":"review"},"verdict":{"type":"string","enum":["approved","dismissed","changes-requested","commented"]},"body":{"type":"string"},"comments":{"type":"number"},"url":{"oneOf":[{"type":"null","const":null},{"type":"string"}]}},"required":["at","actor","kind","verdict","body","comments","url"],"additionalProperties":true},{"type":"object","properties":{"at":{"type":"string","description":"ISO 8601 time of the entry."},"actor":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"login":{"type":"string","description":"Login as the host spells it."},"avatarUrl":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Avatar image URL, or null when the host reports none."},"bot":{"type":"boolean","description":"Whether the account is an app or bot rather than a person."}},"required":["login","avatarUrl","bot"],"additionalProperties":true}],"description":"Account the entry is by, or null when the host names none or the account no longer exists."},"kind":{"type":"string","const":"commit"},"sha":{"type":"string"},"title":{"type":"string"}},"required":["at","actor","kind","sha","title"],"additionalProperties":true},{"type":"object","properties":{"at":{"type":"string","description":"ISO 8601 time of the entry."},"actor":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"login":{"type":"string","description":"Login as the host spells it."},"avatarUrl":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Avatar image URL, or null when the host reports none."},"bot":{"type":"boolean","description":"Whether the account is an app or bot rather than a person."}},"required":["login","avatarUrl","bot"],"additionalProperties":true}],"description":"Account the entry is by, or null when the host names none or the account no longer exists."},"kind":{"type":"string","enum":["closed","merged","reopened","ready-for-review","converted-to-draft","force-pushed"]}},"required":["at","actor","kind"],"additionalProperties":true},{"type":"object","properties":{"at":{"type":"string","description":"ISO 8601 time of the entry."},"actor":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"login":{"type":"string","description":"Login as the host spells it."},"avatarUrl":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Avatar image URL, or null when the host reports none."},"bot":{"type":"boolean","description":"Whether the account is an app or bot rather than a person."}},"required":["login","avatarUrl","bot"],"additionalProperties":true}],"description":"Account the entry is by, or null when the host names none or the account no longer exists."},"kind":{"type":"string","enum":["auto-merge-enabled","auto-merge-disabled"]}},"required":["at","actor","kind"],"additionalProperties":true},{"type":"object","properties":{"at":{"type":"string","description":"ISO 8601 time of the entry."},"actor":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"login":{"type":"string","description":"Login as the host spells it."},"avatarUrl":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Avatar image URL, or null when the host reports none."},"bot":{"type":"boolean","description":"Whether the account is an app or bot rather than a person."}},"required":["login","avatarUrl","bot"],"additionalProperties":true}],"description":"Account the entry is by, or null when the host names none or the account no longer exists."},"kind":{"type":"string","const":"review-requested"},"reviewer":{"oneOf":[{"type":"null","const":null},{"type":"string"}]}},"required":["at","actor","kind","reviewer"],"additionalProperties":true},{"type":"object","properties":{"at":{"type":"string","description":"ISO 8601 time of the entry."},"actor":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"login":{"type":"string","description":"Login as the host spells it."},"avatarUrl":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Avatar image URL, or null when the host reports none."},"bot":{"type":"boolean","description":"Whether the account is an app or bot rather than a person."}},"required":["login","avatarUrl","bot"],"additionalProperties":true}],"description":"Account the entry is by, or null when the host names none or the account no longer exists."},"kind":{"type":"string","const":"renamed"},"from":{"type":"string"},"to":{"type":"string"}},"required":["at","actor","kind","from","to"],"additionalProperties":true},{"type":"object","properties":{"at":{"type":"string","description":"ISO 8601 time of the entry."},"actor":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"login":{"type":"string","description":"Login as the host spells it."},"avatarUrl":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Avatar image URL, or null when the host reports none."},"bot":{"type":"boolean","description":"Whether the account is an app or bot rather than a person."}},"required":["login","avatarUrl","bot"],"additionalProperties":true}],"description":"Account the entry is by, or null when the host names none or the account no longer exists."},"kind":{"type":"string","const":"other"},"text":{"type":"string"}},"required":["at","actor","kind","text"],"additionalProperties":true}]},"description":"Entries oldest first, at most the provider's limit; the latest ones when the change request has more."},"truncated":{"type":"boolean","description":"Whether the change request has entries older than `items` holds."},"viewerCanComment":{"type":"boolean","description":"Whether the signed-in user can add a comment through `addComment`; false for a provider without it."}},"required":["items","truncated","viewerCanComment"],"additionalProperties":true}]},
|
|
3908
|
+
},
|
|
3909
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":449,"column":9},
|
|
3471
3910
|
},
|
|
3472
3911
|
'forgePanel/reviewChangeRequest': {
|
|
3473
3912
|
service: 'forgePanel',
|
|
@@ -3501,7 +3940,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
3501
3940
|
description: 'frames, each complete.',
|
|
3502
3941
|
jsonSchemaError: 'typert tool schema: selected union branches overlap or have no required discriminator',
|
|
3503
3942
|
},
|
|
3504
|
-
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":
|
|
3943
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":395,"column":10},
|
|
3505
3944
|
},
|
|
3506
3945
|
'forgePanel/reviewChecks': {
|
|
3507
3946
|
service: 'forgePanel',
|
|
@@ -3549,9 +3988,58 @@ const $remote = createTypertRemoteInfo({
|
|
|
3549
3988
|
typeSymbol: '@deepseek-ai/dsh-experimental-forge/types#ChangeRequestSnapshot',
|
|
3550
3989
|
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewChecks_result$schema,
|
|
3551
3990
|
description: 'the snapshot with every check.',
|
|
3552
|
-
jsonSchema: {"type":"object","properties":{"ref":{"type":"object","properties":{"repository":{"type":"object","properties":{"forge":{"type":"string","description":"Provider family that serves the repository, such as `github`."},"host":{"type":"string","description":"Lowercase host name, such as `github.com`."},"owner":{"type":"string","description":"Owner or namespace path as the host spells it."},"name":{"type":"string","description":"Repository name as the host spells it."}},"required":["forge","host","owner","name"],"additionalProperties":true,"description":"Repository that holds the change request."},"number":{"type":"number","description":"Host-assigned change request number."}},"required":["repository","number"],"additionalProperties":true,"description":"Change request the snapshot describes."},"url":{"type":"string","description":"Web page of the change request."},"title":{"type":"string","description":"Title as the author wrote it."},"state":{"type":"string","enum":["open","closed","merged"],"description":"Lifecycle state."},"draft":{"type":"boolean","description":"Whether the author marked the change request as a draft."},"author":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Author login, or null when the host hides it."},"headBranch":{"type":"string","description":"Branch that carries the proposed commits."},"headSha":{"type":"string","description":"Commit object name at the head of the change request."},"baseBranch":{"type":"string","description":"Branch the change request merges into."},"baseSha":{"type":"string","description":"Base commit the host recorded with `headSha`, whose merge base with the head starts the change request's diff; omitted when the provider does not report it."},"additions":{"type":"number","description":"Lines the change request adds."},"deletions":{"type":"number","description":"Lines the change request deletes."},"mergeability":{"type":"string","enum":["unknown","mergeable","conflicting"],"description":"Merge conflict status; `unknown` while the host computes it."},"mergeReady":{"type":"boolean","description":"Whether the host would merge the change request now for the signed-in user: open, not a draft, and meeting the base branch's merge rules."},"mergeMethods":{"type":"array","items":{"type":"string","enum":["merge","squash","rebase"]},"description":"Merge methods the repository accepts, the signed-in user's usual one first."},"branchUpdates":{"type":"array","items":{"type":"string","enum":["merge","rebase"]},"description":"Ways the signed-in user can bring the base branch's new commits into the head branch now; empty while the head is up to date, while the branches conflict, when the user cannot update the head branch, or when the provider cannot, so a head behind its base cannot be told apart from a current one for a user without the right to update it."},"reviewDecision":{"type":"string","enum":["none","approved","changes-requested","review-required"],"description":"Aggregate review outcome."},"reviewers":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["user","bot","team"],"description":"Whether the reviewer is a person's account, an app or bot account, or a team."},"login":{"type":"string","description":"Login, or `organization/slug` for a team."},"avatarUrl":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Avatar image URL, or null when the host reports none."},"requested":{"type":"boolean","description":"Whether a review from the reviewer is requested now."},"codeOwner":{"type":"boolean","description":"Whether the host requested the review because the reviewer owns changed paths."},"verdict":{"oneOf":[{"type":"null","const":null},{"type":"string","enum":["approved","dismissed","changes-requested","commented"]}],"description":"Outcome of the reviewer's latest submitted review, or null before the first."},"reviewedSha":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Commit the latest submitted review was on, or null before the first or when the host reports none."}},"required":["kind","login","avatarUrl","requested","codeOwner","verdict","reviewedSha"],"additionalProperties":true},"description":"Reviewers whose review is requested, in host order, then other accounts that reviewed, each once; the author is never listed."},"reviewersTruncated":{"type":"boolean","description":"Whether the host reported more review requests or reviews than the provider read, so `reviewers` may be incomplete."},"canRequestReviews":{"type":"boolean","description":"Whether the signed-in user may request reviews of the change request through its provider."},"checks":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"Check name as the host displays it."},"state":{"type":"string","enum":["pending","success","neutral","cancelled","failure","skipped"],"description":"Normalized check outcome."},"url":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Web page for the check, or null when the host reports none."},"workflow":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Workflow that produced the check, or null when the host reports none."},"startedAt":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"ISO 8601 time the check started, or null before it starts and when the host reports none."},"completedAt":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"ISO 8601 time the check completed, or null while it runs and when the host reports none."},"rerun":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Identity a rerun of this check names, or null when the provider cannot rerun it, as for a commit status. Checks that name one identity rerun together, and their failed checks can be rerun once none of them is pending."}},"required":["name","state","url","workflow","startedAt","completedAt","rerun"],"additionalProperties":true},"description":"Checks on the head commit in host order."},"checksRollup":{"type":"string","enum":["pending","success","none","failure"],"description":"Combined check outcome."},"checksTruncated":{"type":"boolean","description":"Whether the host reported more checks than `checks` contains."},"canRerunChecks":{"type":"boolean","description":"Whether the signed-in user may rerun the failed checks that name a `rerun`."},"unresolvedThreads":{"type":"number","description":"Number of counted review threads that are not resolved."},"threadsTruncated":{"type":"boolean","description":"Whether the change request has more review threads than the provider counted, so `unresolvedThreads` is a lower bound."},"closingIssues":{"type":"array","items":{"type":"object","properties":{"repository":{"type":"object","properties":{"forge":{"type":"string","description":"Provider family that serves the repository, such as `github`."},"host":{"type":"string","description":"Lowercase host name, such as `github.com`."},"owner":{"type":"string","description":"Owner or namespace path as the host spells it."},"name":{"type":"string","description":"Repository name as the host spells it."}},"required":["forge","host","owner","name"],"additionalProperties":true,"description":"Repository that holds the issue."},"number":{"type":"number","description":"Host-assigned issue number."},"title":{"type":"string","description":"Title as the author wrote it."},"state":{"type":"string","enum":["open","closed"],"description":"Whether the issue is still open."},"url":{"type":"string","description":"Web page of the issue."}},"required":["repository","number","title","state","url"],"additionalProperties":true},"description":"Issues linked to the change request, which the host closes once it merges, in host order."},"closingIssuesTruncated":{"type":"boolean","description":"Whether the host reported more closing issues than `closingIssues` holds."},"updatedAt":{"type":"string","description":"ISO 8601 time of the host's last update to the change request."},"closedAt":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"ISO 8601 time the change request was merged or closed, or null while it is open."}},"required":["ref","url","title","state","draft","author","headBranch","headSha","baseBranch","additions","deletions","mergeability","mergeReady","mergeMethods","branchUpdates","reviewDecision","reviewers","reviewersTruncated","canRequestReviews","checks","checksRollup","checksTruncated","canRerunChecks","unresolvedThreads","threadsTruncated","closingIssues","closingIssuesTruncated","updatedAt","closedAt"],"additionalProperties":true},
|
|
3991
|
+
jsonSchema: {"type":"object","properties":{"ref":{"type":"object","properties":{"repository":{"type":"object","properties":{"forge":{"type":"string","description":"Provider family that serves the repository, such as `github`."},"host":{"type":"string","description":"Lowercase host name, such as `github.com`."},"owner":{"type":"string","description":"Owner or namespace path as the host spells it."},"name":{"type":"string","description":"Repository name as the host spells it."}},"required":["forge","host","owner","name"],"additionalProperties":true,"description":"Repository that holds the change request."},"number":{"type":"number","description":"Host-assigned change request number."}},"required":["repository","number"],"additionalProperties":true,"description":"Change request the snapshot describes."},"url":{"type":"string","description":"Web page of the change request."},"title":{"type":"string","description":"Title as the author wrote it."},"state":{"type":"string","enum":["open","closed","merged"],"description":"Lifecycle state."},"draft":{"type":"boolean","description":"Whether the author marked the change request as a draft."},"author":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Author login, or null when the host hides it."},"headBranch":{"type":"string","description":"Branch that carries the proposed commits."},"headSha":{"type":"string","description":"Commit object name at the head of the change request."},"baseBranch":{"type":"string","description":"Branch the change request merges into."},"baseSha":{"type":"string","description":"Base commit the host recorded with `headSha`, whose merge base with the head starts the change request's diff; omitted when the provider does not report it."},"additions":{"type":"number","description":"Lines the change request adds."},"deletions":{"type":"number","description":"Lines the change request deletes."},"mergeability":{"type":"string","enum":["unknown","mergeable","conflicting"],"description":"Merge conflict status; `unknown` while the host computes it."},"mergeReady":{"type":"boolean","description":"Whether the host would merge the change request now for the signed-in user: open, not a draft, and meeting the base branch's merge rules."},"mergeMethods":{"type":"array","items":{"type":"string","enum":["merge","squash","rebase"]},"description":"Merge methods the repository accepts, the signed-in user's usual one first."},"autoMerge":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the host merges the change request by itself once its merge requirements are met."},"method":{"oneOf":[{"type":"null","const":null},{"type":"string","enum":["merge","squash","rebase"]}],"description":"How the commits enter the base branch then, while enabled and the host names the method; null otherwise."},"enabledBy":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Login of the account that turned it on, while enabled and the host names one; null otherwise."},"canEnable":{"type":"boolean","description":"Whether the signed-in user can turn it on now through `setAutoMerge`; false while it is on."},"canDisable":{"type":"boolean","description":"Whether the signed-in user can turn it off now through `setAutoMerge`; false while it is off."}},"required":["enabled","method","enabledBy","canEnable","canDisable"],"additionalProperties":true,"description":"How the change request stands with its host's automatic merge; omitted by a provider that sets none, whose change requests then offer no automatic merge."},"branchUpdates":{"type":"array","items":{"type":"string","enum":["merge","rebase"]},"description":"Ways the signed-in user can bring the base branch's new commits into the head branch now; empty while the head is up to date, while the branches conflict, when the user cannot update the head branch, or when the provider cannot, so a head behind its base cannot be told apart from a current one for a user without the right to update it."},"reviewDecision":{"type":"string","enum":["none","approved","changes-requested","review-required"],"description":"Aggregate review outcome."},"reviewers":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["user","bot","team"],"description":"Whether the reviewer is a person's account, an app or bot account, or a team."},"login":{"type":"string","description":"Login, or `organization/slug` for a team."},"avatarUrl":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Avatar image URL, or null when the host reports none."},"requested":{"type":"boolean","description":"Whether a review from the reviewer is requested now."},"codeOwner":{"type":"boolean","description":"Whether the host requested the review because the reviewer owns changed paths."},"verdict":{"oneOf":[{"type":"null","const":null},{"type":"string","enum":["approved","dismissed","changes-requested","commented"]}],"description":"Outcome of the reviewer's latest submitted review, or null before the first."},"reviewedSha":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Commit the latest submitted review was on, or null before the first or when the host reports none."}},"required":["kind","login","avatarUrl","requested","codeOwner","verdict","reviewedSha"],"additionalProperties":true},"description":"Reviewers whose review is requested, in host order, then other accounts that reviewed, each once; the author is never listed."},"reviewersTruncated":{"type":"boolean","description":"Whether the host reported more review requests or reviews than the provider read, so `reviewers` may be incomplete."},"canRequestReviews":{"type":"boolean","description":"Whether the signed-in user may request reviews of the change request through its provider."},"checks":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"Check name as the host displays it."},"state":{"type":"string","enum":["pending","success","neutral","cancelled","failure","skipped"],"description":"Normalized check outcome."},"url":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Web page for the check, or null when the host reports none."},"workflow":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Workflow that produced the check, or null when the host reports none."},"startedAt":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"ISO 8601 time the check started, or null before it starts and when the host reports none."},"completedAt":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"ISO 8601 time the check completed, or null while it runs and when the host reports none."},"rerun":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Identity a rerun of this check names, or null when the provider cannot rerun it, as for a commit status. Checks that name one identity rerun together, and their failed checks can be rerun once none of them is pending."}},"required":["name","state","url","workflow","startedAt","completedAt","rerun"],"additionalProperties":true},"description":"Checks on the head commit in host order."},"checksRollup":{"type":"string","enum":["pending","success","none","failure"],"description":"Combined check outcome."},"checksTruncated":{"type":"boolean","description":"Whether the host reported more checks than `checks` contains."},"canRerunChecks":{"type":"boolean","description":"Whether the signed-in user may rerun the failed checks that name a `rerun`."},"unresolvedThreads":{"type":"number","description":"Number of counted review threads that are not resolved."},"threadsTruncated":{"type":"boolean","description":"Whether the change request has more review threads than the provider counted, so `unresolvedThreads` is a lower bound."},"closingIssues":{"type":"array","items":{"type":"object","properties":{"repository":{"type":"object","properties":{"forge":{"type":"string","description":"Provider family that serves the repository, such as `github`."},"host":{"type":"string","description":"Lowercase host name, such as `github.com`."},"owner":{"type":"string","description":"Owner or namespace path as the host spells it."},"name":{"type":"string","description":"Repository name as the host spells it."}},"required":["forge","host","owner","name"],"additionalProperties":true,"description":"Repository that holds the issue."},"number":{"type":"number","description":"Host-assigned issue number."},"title":{"type":"string","description":"Title as the author wrote it."},"state":{"type":"string","enum":["open","closed"],"description":"Whether the issue is still open."},"url":{"type":"string","description":"Web page of the issue."}},"required":["repository","number","title","state","url"],"additionalProperties":true},"description":"Issues linked to the change request, which the host closes once it merges, in host order."},"closingIssuesTruncated":{"type":"boolean","description":"Whether the host reported more closing issues than `closingIssues` holds."},"updatedAt":{"type":"string","description":"ISO 8601 time of the host's last update to the change request."},"closedAt":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"ISO 8601 time the change request was merged or closed, or null while it is open."}},"required":["ref","url","title","state","draft","author","headBranch","headSha","baseBranch","additions","deletions","mergeability","mergeReady","mergeMethods","branchUpdates","reviewDecision","reviewers","reviewersTruncated","canRequestReviews","checks","checksRollup","checksTruncated","canRerunChecks","unresolvedThreads","threadsTruncated","closingIssues","closingIssuesTruncated","updatedAt","closedAt"],"additionalProperties":true},
|
|
3553
3992
|
},
|
|
3554
|
-
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":
|
|
3993
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":484,"column":9},
|
|
3994
|
+
},
|
|
3995
|
+
'forgePanel/reviewComment': {
|
|
3996
|
+
service: 'forgePanel',
|
|
3997
|
+
description: 'Add a comment to the conversation of a change request the review page shows.',
|
|
3998
|
+
invocation: { kind: 'direct' },
|
|
3999
|
+
parameters: [
|
|
4000
|
+
{
|
|
4001
|
+
name: 'url',
|
|
4002
|
+
description: 'web URL of the change request.',
|
|
4003
|
+
source: 'json',
|
|
4004
|
+
codec: {
|
|
4005
|
+
mode: 'strict',
|
|
4006
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/reviewComment:url',
|
|
4007
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewComment_parameter_0$schema,
|
|
4008
|
+
jsonSchema: {"type":"string"},
|
|
4009
|
+
},
|
|
4010
|
+
strictCodec: {
|
|
4011
|
+
mode: 'strict',
|
|
4012
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/reviewComment:url',
|
|
4013
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewComment_parameter_0_strict$schema,
|
|
4014
|
+
jsonSchema: {"type":"string"},
|
|
4015
|
+
},
|
|
4016
|
+
},
|
|
4017
|
+
{
|
|
4018
|
+
name: 'body',
|
|
4019
|
+
description: 'Markdown source of the comment.',
|
|
4020
|
+
source: 'json',
|
|
4021
|
+
codec: {
|
|
4022
|
+
mode: 'strict',
|
|
4023
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/reviewComment:body',
|
|
4024
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewComment_parameter_1$schema,
|
|
4025
|
+
jsonSchema: {"type":"string"},
|
|
4026
|
+
},
|
|
4027
|
+
strictCodec: {
|
|
4028
|
+
mode: 'strict',
|
|
4029
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/reviewComment:body',
|
|
4030
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewComment_parameter_1_strict$schema,
|
|
4031
|
+
jsonSchema: {"type":"string"},
|
|
4032
|
+
},
|
|
4033
|
+
},
|
|
4034
|
+
],
|
|
4035
|
+
cancellation: { parameter: 'signal' },
|
|
4036
|
+
result: {
|
|
4037
|
+
mode: 'strict',
|
|
4038
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/reviewComment:result',
|
|
4039
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewComment_result$schema,
|
|
4040
|
+
jsonSchemaError: 'typert tool schema: unsupported void value',
|
|
4041
|
+
},
|
|
4042
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":466,"column":9},
|
|
3555
4043
|
},
|
|
3556
4044
|
'forgePanel/reviewCommits': {
|
|
3557
4045
|
service: 'forgePanel',
|
|
@@ -3584,7 +4072,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
3584
4072
|
description: 'the commits, or null when the provider does not read commits.',
|
|
3585
4073
|
jsonSchema: {"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"headSha":{"type":"string","description":"Head commit the list was read at."},"commits":{"type":"array","items":{"type":"object","properties":{"sha":{"type":"string","description":"Full commit object name."},"parent":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Full object name of the first parent, or null for a root commit."},"title":{"type":"string","description":"First line of the commit message."},"author":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Author name or login as the host reports it, or null when it reports none."},"authoredAt":{"type":"string","description":"ISO 8601 time the commit was authored."}},"required":["sha","parent","title","author","authoredAt"],"additionalProperties":true},"description":"Commits oldest first, ending with the head commit unless `truncated`."},"truncated":{"type":"boolean","description":"Whether the change request has more commits than the provider lists; the listed ones are the oldest."}},"required":["headSha","commits","truncated"],"additionalProperties":true}]},
|
|
3586
4074
|
},
|
|
3587
|
-
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":
|
|
4075
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":557,"column":9},
|
|
3588
4076
|
},
|
|
3589
4077
|
'forgePanel/reviewCount': {
|
|
3590
4078
|
service: 'forgePanel',
|
|
@@ -3601,7 +4089,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
3601
4089
|
description: 'frames, each complete.',
|
|
3602
4090
|
jsonSchema: {"type":"object","properties":{"reviewRequested":{"oneOf":[{"type":"null","const":null},{"type":"number"}],"description":"Open change requests that ask the signed-in user for a review, summed over the hosts read, or null before any count."}},"required":["reviewRequested"],"additionalProperties":true},
|
|
3603
4091
|
},
|
|
3604
|
-
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":
|
|
4092
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":334,"column":10},
|
|
3605
4093
|
},
|
|
3606
4094
|
'forgePanel/reviewDescription': {
|
|
3607
4095
|
service: 'forgePanel',
|
|
@@ -3634,11 +4122,11 @@ const $remote = createTypertRemoteInfo({
|
|
|
3634
4122
|
description: 'the description.',
|
|
3635
4123
|
jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
|
|
3636
4124
|
},
|
|
3637
|
-
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":
|
|
4125
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":432,"column":9},
|
|
3638
4126
|
},
|
|
3639
4127
|
'forgePanel/reviewDiff': {
|
|
3640
4128
|
service: 'forgePanel',
|
|
3641
|
-
description: 'Read the changes of a change request the review page shows,
|
|
4129
|
+
description: 'Read the changes of a change request the review page shows, of consecutive commits of it, or of it up to one commit.',
|
|
3642
4130
|
invocation: { kind: 'direct' },
|
|
3643
4131
|
parameters: [
|
|
3644
4132
|
{
|
|
@@ -3660,19 +4148,19 @@ const $remote = createTypertRemoteInfo({
|
|
|
3660
4148
|
},
|
|
3661
4149
|
{
|
|
3662
4150
|
name: 'commits',
|
|
3663
|
-
description: 'consecutive commits of the change request, or null for all of it.',
|
|
4151
|
+
description: 'consecutive commits of the change request, the commit its changes go up to, or null for all of it.',
|
|
3664
4152
|
source: 'json',
|
|
3665
4153
|
codec: {
|
|
3666
4154
|
mode: 'strict',
|
|
3667
4155
|
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/reviewDiff:commits',
|
|
3668
4156
|
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewDiff_parameter_1$schema,
|
|
3669
|
-
|
|
4157
|
+
jsonSchemaError: 'typert tool schema: selected union branches overlap or have no required discriminator',
|
|
3670
4158
|
},
|
|
3671
4159
|
strictCodec: {
|
|
3672
4160
|
mode: 'strict',
|
|
3673
4161
|
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/reviewDiff:commits',
|
|
3674
4162
|
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewDiff_parameter_1_strict$schema,
|
|
3675
|
-
|
|
4163
|
+
jsonSchemaError: 'typert tool schema: selected union branches overlap or have no required discriminator',
|
|
3676
4164
|
},
|
|
3677
4165
|
},
|
|
3678
4166
|
],
|
|
@@ -3684,7 +4172,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
3684
4172
|
description: 'the files and the commit they end at, without a local checkout count.',
|
|
3685
4173
|
jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
|
|
3686
4174
|
},
|
|
3687
|
-
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":
|
|
4175
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":543,"column":9},
|
|
3688
4176
|
},
|
|
3689
4177
|
'forgePanel/reviewerCandidates': {
|
|
3690
4178
|
service: 'forgePanel',
|
|
@@ -3753,29 +4241,29 @@ const $remote = createTypertRemoteInfo({
|
|
|
3753
4241
|
description: 'the accounts, the host\'s suggestions first.',
|
|
3754
4242
|
jsonSchema: {"type":"array","items":{"type":"object","properties":{"login":{"type":"string","description":"Login as the host spells it."},"name":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Display name, or null when the account shows none."},"avatarUrl":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Avatar image URL, or null when the host reports none."},"suggested":{"type":"boolean","description":"Whether the host suggests the account for this change request, as from the history of its changed files."}},"required":["login","name","avatarUrl","suggested"],"additionalProperties":true}},
|
|
3755
4243
|
},
|
|
3756
|
-
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":
|
|
4244
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":1334,"column":9},
|
|
3757
4245
|
},
|
|
3758
4246
|
'forgePanel/reviewLists': {
|
|
3759
4247
|
service: 'forgePanel',
|
|
3760
|
-
description: 'Stream the review page\'s lists of the signed-in user\'s open change requests on every host a provider lists them on: the lists read so far first, then a frame after each read settles. Readers of one repository scope share one reader, which reads every `reviewListIntervalMs` while some stream lasts and
|
|
4248
|
+
description: 'Stream the review page\'s lists of the signed-in user\'s open change requests on every host a provider lists them on: the lists read so far first, then a frame after each read settles. Readers of one repository scope share one reader, which reads each host every `reviewListIntervalMs` while some stream lasts and reads a host whose read failed again later each time, up to `reviewMaxBackoffMs`, without delaying the other hosts; nothing is read while no stream lasts. The stream ends when `signal` aborts or the Remote stops.',
|
|
3761
4249
|
mode: 'stream',
|
|
3762
4250
|
invocation: { kind: 'direct' },
|
|
3763
4251
|
parameters: [
|
|
3764
4252
|
{
|
|
3765
4253
|
name: 'repository',
|
|
3766
|
-
description: 'one repository to list in, or null for every repository the user can read.',
|
|
4254
|
+
description: 'one repository to list in, read on its host only, or null for every repository the user can read on every host.',
|
|
3767
4255
|
source: 'json',
|
|
3768
4256
|
codec: {
|
|
3769
4257
|
mode: 'strict',
|
|
3770
4258
|
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/reviewLists:repository',
|
|
3771
4259
|
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewLists_parameter_0$schema,
|
|
3772
|
-
jsonSchema: {"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"owner":{"type":"string"},"name":{"type":"string"}},"required":["owner","name"],"additionalProperties":true}]},
|
|
4260
|
+
jsonSchema: {"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"host":{"type":"string","description":"Host name of the provider that lists the repository, compared without case."},"owner":{"type":"string","description":"Owner or namespace; nested groups of a GitLab project stay in it."},"name":{"type":"string","description":"Repository name."}},"required":["host","owner","name"],"additionalProperties":true}]},
|
|
3773
4261
|
},
|
|
3774
4262
|
strictCodec: {
|
|
3775
4263
|
mode: 'strict',
|
|
3776
4264
|
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/reviewLists:repository',
|
|
3777
4265
|
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewLists_parameter_0_strict$schema,
|
|
3778
|
-
jsonSchema: {"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"owner":{"type":"string"},"name":{"type":"string"}},"required":["owner","name"],"additionalProperties":false}]},
|
|
4266
|
+
jsonSchema: {"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"host":{"type":"string","description":"Host name of the provider that lists the repository, compared without case."},"owner":{"type":"string","description":"Owner or namespace; nested groups of a GitLab project stay in it."},"name":{"type":"string","description":"Repository name."}},"required":["host","owner","name"],"additionalProperties":false}]},
|
|
3779
4267
|
},
|
|
3780
4268
|
},
|
|
3781
4269
|
],
|
|
@@ -3785,9 +4273,9 @@ const $remote = createTypertRemoteInfo({
|
|
|
3785
4273
|
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge/types#ForgeReviewFrame',
|
|
3786
4274
|
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewLists_result$schema,
|
|
3787
4275
|
description: 'frames, each complete.',
|
|
3788
|
-
jsonSchema: {"type":"object","properties":{"hosts":{"type":"array","items":{"type":"object","properties":{"forge":{"type":"string","description":"Forge family of the provider."},"host":{"type":"string","description":"Lowercase host name."},"viewer":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Login of the signed-in user the latest successful read named, or null before one."},"lists":{"type":"object","properties":{"review-requested":{"type":"object","properties":{"items":{"oneOf":[{"type":"null","const":null},{"type":"array","items":{"type":"object","properties":{"ref":{"type":"object","properties":{"repository":{"type":"object","properties":{"forge":{"type":"string","description":"Provider family that serves the repository, such as `github`."},"host":{"type":"string","description":"Lowercase host name, such as `github.com`."},"owner":{"type":"string","description":"Owner or namespace path as the host spells it."},"name":{"type":"string","description":"Repository name as the host spells it."}},"required":["forge","host","owner","name"],"additionalProperties":true,"description":"Repository that holds the change request."},"number":{"type":"number","description":"Host-assigned change request number."}},"required":["repository","number"],"additionalProperties":true,"description":"The change request."},"url":{"type":"string","description":"Web page of the change request."},"title":{"type":"string","description":"Title as the author wrote it."},"draft":{"type":"boolean","description":"Whether the author marked the change request as a draft."},"author":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"login":{"type":"string","description":"Login as the host spells it."},"avatarUrl":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Avatar image URL, or null when the host reports none."},"bot":{"type":"boolean","description":"Whether the account is an app or bot rather than a person."}},"required":["login","avatarUrl","bot"],"additionalProperties":true}],"description":"Author, or null when the host hides the account."},"headSha":{"type":"string","description":"Commit object name at the head of the change request."},"checksRollup":{"type":"string","enum":["pending","success","none","failure"],"description":"Combined check outcome on the head commit."},"reviewDecision":{"type":"string","enum":["none","approved","changes-requested","review-required"],"description":"Aggregate review outcome."},"viewerReview":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"verdict":{"type":"string","enum":["approved","dismissed","changes-requested","commented"],"description":"Outcome of the review."},"reviewedSha":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Commit the review was on, or null when the host reports none."}},"required":["verdict","reviewedSha"],"additionalProperties":true}],"description":"The signed-in user's latest submitted review, or null before the first."},"viewerRequest":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"team":{"oneOf":[{"type":"null","const":null},{"type":"string"}]}},"required":["team"],"additionalProperties":true}],"description":"The review request that asks the signed-in user, or null when none does: `team` names the team, as `organization/slug`, when the request asks a team the user belongs to rather than the user."},"closingIssues":{"type":"array","items":{"type":"object","properties":{"repository":{"type":"object","properties":{"forge":{"type":"string","description":"Provider family that serves the repository, such as `github`."},"host":{"type":"string","description":"Lowercase host name, such as `github.com`."},"owner":{"type":"string","description":"Owner or namespace path as the host spells it."},"name":{"type":"string","description":"Repository name as the host spells it."}},"required":["forge","host","owner","name"],"additionalProperties":true,"description":"Repository that holds the issue."},"number":{"type":"number","description":"Host-assigned issue number."},"title":{"type":"string","description":"Title as the author wrote it."},"state":{"type":"string","enum":["open","closed"],"description":"Whether the issue is still open."},"url":{"type":"string","description":"Web page of the issue."}},"required":["repository","number","title","state","url"],"additionalProperties":true},"description":"Issues the host closes once the change request merges, in host order, at most the provider's limit."},"closingIssuesTruncated":{"type":"boolean","description":"Whether the host reported more closing issues than `closingIssues` holds."},"updatedAt":{"type":"string","description":"ISO 8601 time of the host's last update to the change request."}},"required":["ref","url","title","draft","author","headSha","checksRollup","reviewDecision","viewerReview","viewerRequest","closingIssues","closingIssuesTruncated","updatedAt"],"additionalProperties":true}}],"description":"Change requests most recently updated first, from the latest successful read, or null before the first."},"total":{"type":"number","description":"Size of the whole list the host reported with `items`; 0 before the first successful read."},"fetchedAt":{"oneOf":[{"type":"null","const":null},{"type":"number"}],"description":"Epoch milliseconds of the read `items` come from, or null before the first successful read."},"failure":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"code":{"type":"string","enum":["unavailable","unauthenticated","not-found","too-large","stale","rate-limited","unsupported"],"description":"`not-found`: the host does not expose it; `unauthenticated`: credentials are missing or rejected; `too-large`: the host or the provider refuses an answer over its size limit, so reading again fails the same way; `stale`: the head is no longer the commit the read named, so reading again at the head of a later status can succeed; `rate-limited`: the host refused the read under its rate limit, so reading again succeeds only after the limit resets; `unsupported`: the provider does not offer the read; `unavailable`: any other failure."},"message":{"type":"string","description":"Human-readable cause."}},"required":["code","message"],"additionalProperties":true}],"description":"Why the latest read failed, or null when it succeeded or none settled yet."}},"required":["items","total","fetchedAt","failure"],"additionalProperties":true},"authored":{"type":"object","properties":{"items":{"oneOf":[{"type":"null","const":null},{"type":"array","items":{"type":"object","properties":{"ref":{"type":"object","properties":{"repository":{"type":"object","properties":{"forge":{"type":"string","description":"Provider family that serves the repository, such as `github`."},"host":{"type":"string","description":"Lowercase host name, such as `github.com`."},"owner":{"type":"string","description":"Owner or namespace path as the host spells it."},"name":{"type":"string","description":"Repository name as the host spells it."}},"required":["forge","host","owner","name"],"additionalProperties":true,"description":"Repository that holds the change request."},"number":{"type":"number","description":"Host-assigned change request number."}},"required":["repository","number"],"additionalProperties":true,"description":"The change request."},"url":{"type":"string","description":"Web page of the change request."},"title":{"type":"string","description":"Title as the author wrote it."},"draft":{"type":"boolean","description":"Whether the author marked the change request as a draft."},"author":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"login":{"type":"string","description":"Login as the host spells it."},"avatarUrl":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Avatar image URL, or null when the host reports none."},"bot":{"type":"boolean","description":"Whether the account is an app or bot rather than a person."}},"required":["login","avatarUrl","bot"],"additionalProperties":true}],"description":"Author, or null when the host hides the account."},"headSha":{"type":"string","description":"Commit object name at the head of the change request."},"checksRollup":{"type":"string","enum":["pending","success","none","failure"],"description":"Combined check outcome on the head commit."},"reviewDecision":{"type":"string","enum":["none","approved","changes-requested","review-required"],"description":"Aggregate review outcome."},"viewerReview":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"verdict":{"type":"string","enum":["approved","dismissed","changes-requested","commented"],"description":"Outcome of the review."},"reviewedSha":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Commit the review was on, or null when the host reports none."}},"required":["verdict","reviewedSha"],"additionalProperties":true}],"description":"The signed-in user's latest submitted review, or null before the first."},"viewerRequest":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"team":{"oneOf":[{"type":"null","const":null},{"type":"string"}]}},"required":["team"],"additionalProperties":true}],"description":"The review request that asks the signed-in user, or null when none does: `team` names the team, as `organization/slug`, when the request asks a team the user belongs to rather than the user."},"closingIssues":{"type":"array","items":{"type":"object","properties":{"repository":{"type":"object","properties":{"forge":{"type":"string","description":"Provider family that serves the repository, such as `github`."},"host":{"type":"string","description":"Lowercase host name, such as `github.com`."},"owner":{"type":"string","description":"Owner or namespace path as the host spells it."},"name":{"type":"string","description":"Repository name as the host spells it."}},"required":["forge","host","owner","name"],"additionalProperties":true,"description":"Repository that holds the issue."},"number":{"type":"number","description":"Host-assigned issue number."},"title":{"type":"string","description":"Title as the author wrote it."},"state":{"type":"string","enum":["open","closed"],"description":"Whether the issue is still open."},"url":{"type":"string","description":"Web page of the issue."}},"required":["repository","number","title","state","url"],"additionalProperties":true},"description":"Issues the host closes once the change request merges, in host order, at most the provider's limit."},"closingIssuesTruncated":{"type":"boolean","description":"Whether the host reported more closing issues than `closingIssues` holds."},"updatedAt":{"type":"string","description":"ISO 8601 time of the host's last update to the change request."}},"required":["ref","url","title","draft","author","headSha","checksRollup","reviewDecision","viewerReview","viewerRequest","closingIssues","closingIssuesTruncated","updatedAt"],"additionalProperties":true}}],"description":"Change requests most recently updated first, from the latest successful read, or null before the first."},"total":{"type":"number","description":"Size of the whole list the host reported with `items`; 0 before the first successful read."},"fetchedAt":{"oneOf":[{"type":"null","const":null},{"type":"number"}],"description":"Epoch milliseconds of the read `items` come from, or null before the first successful read."},"failure":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"code":{"type":"string","enum":["unavailable","unauthenticated","not-found","too-large","stale","rate-limited","unsupported"],"description":"`not-found`: the host does not expose it; `unauthenticated`: credentials are missing or rejected; `too-large`: the host or the provider refuses an answer over its size limit, so reading again fails the same way; `stale`: the head is no longer the commit the read named, so reading again at the head of a later status can succeed; `rate-limited`: the host refused the read under its rate limit, so reading again succeeds only after the limit resets; `unsupported`: the provider does not offer the read; `unavailable`: any other failure."},"message":{"type":"string","description":"Human-readable cause."}},"required":["code","message"],"additionalProperties":true}],"description":"Why the latest read failed, or null when it succeeded or none settled yet."}},"required":["items","total","fetchedAt","failure"],"additionalProperties":true},"involved":{"type":"object","properties":{"items":{"oneOf":[{"type":"null","const":null},{"type":"array","items":{"type":"object","properties":{"ref":{"type":"object","properties":{"repository":{"type":"object","properties":{"forge":{"type":"string","description":"Provider family that serves the repository, such as `github`."},"host":{"type":"string","description":"Lowercase host name, such as `github.com`."},"owner":{"type":"string","description":"Owner or namespace path as the host spells it."},"name":{"type":"string","description":"Repository name as the host spells it."}},"required":["forge","host","owner","name"],"additionalProperties":true,"description":"Repository that holds the change request."},"number":{"type":"number","description":"Host-assigned change request number."}},"required":["repository","number"],"additionalProperties":true,"description":"The change request."},"url":{"type":"string","description":"Web page of the change request."},"title":{"type":"string","description":"Title as the author wrote it."},"draft":{"type":"boolean","description":"Whether the author marked the change request as a draft."},"author":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"login":{"type":"string","description":"Login as the host spells it."},"avatarUrl":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Avatar image URL, or null when the host reports none."},"bot":{"type":"boolean","description":"Whether the account is an app or bot rather than a person."}},"required":["login","avatarUrl","bot"],"additionalProperties":true}],"description":"Author, or null when the host hides the account."},"headSha":{"type":"string","description":"Commit object name at the head of the change request."},"checksRollup":{"type":"string","enum":["pending","success","none","failure"],"description":"Combined check outcome on the head commit."},"reviewDecision":{"type":"string","enum":["none","approved","changes-requested","review-required"],"description":"Aggregate review outcome."},"viewerReview":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"verdict":{"type":"string","enum":["approved","dismissed","changes-requested","commented"],"description":"Outcome of the review."},"reviewedSha":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Commit the review was on, or null when the host reports none."}},"required":["verdict","reviewedSha"],"additionalProperties":true}],"description":"The signed-in user's latest submitted review, or null before the first."},"viewerRequest":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"team":{"oneOf":[{"type":"null","const":null},{"type":"string"}]}},"required":["team"],"additionalProperties":true}],"description":"The review request that asks the signed-in user, or null when none does: `team` names the team, as `organization/slug`, when the request asks a team the user belongs to rather than the user."},"closingIssues":{"type":"array","items":{"type":"object","properties":{"repository":{"type":"object","properties":{"forge":{"type":"string","description":"Provider family that serves the repository, such as `github`."},"host":{"type":"string","description":"Lowercase host name, such as `github.com`."},"owner":{"type":"string","description":"Owner or namespace path as the host spells it."},"name":{"type":"string","description":"Repository name as the host spells it."}},"required":["forge","host","owner","name"],"additionalProperties":true,"description":"Repository that holds the issue."},"number":{"type":"number","description":"Host-assigned issue number."},"title":{"type":"string","description":"Title as the author wrote it."},"state":{"type":"string","enum":["open","closed"],"description":"Whether the issue is still open."},"url":{"type":"string","description":"Web page of the issue."}},"required":["repository","number","title","state","url"],"additionalProperties":true},"description":"Issues the host closes once the change request merges, in host order, at most the provider's limit."},"closingIssuesTruncated":{"type":"boolean","description":"Whether the host reported more closing issues than `closingIssues` holds."},"updatedAt":{"type":"string","description":"ISO 8601 time of the host's last update to the change request."}},"required":["ref","url","title","draft","author","headSha","checksRollup","reviewDecision","viewerReview","viewerRequest","closingIssues","closingIssuesTruncated","updatedAt"],"additionalProperties":true}}],"description":"Change requests most recently updated first, from the latest successful read, or null before the first."},"total":{"type":"number","description":"Size of the whole list the host reported with `items`; 0 before the first successful read."},"fetchedAt":{"oneOf":[{"type":"null","const":null},{"type":"number"}],"description":"Epoch milliseconds of the read `items` come from, or null before the first successful read."},"failure":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"code":{"type":"string","enum":["unavailable","unauthenticated","not-found","too-large","stale","rate-limited","unsupported"],"description":"`not-found`: the host does not expose it; `unauthenticated`: credentials are missing or rejected; `too-large`: the host or the provider refuses an answer over its size limit, so reading again fails the same way; `stale`: the head is no longer the commit the read named, so reading again at the head of a later status can succeed; `rate-limited`: the host refused the read under its rate limit, so reading again succeeds only after the limit resets; `unsupported`: the provider does not offer the read; `unavailable`: any other failure."},"message":{"type":"string","description":"Human-readable cause."}},"required":["code","message"],"additionalProperties":true}],"description":"Why the latest read failed, or null when it succeeded or none settled yet."}},"required":["items","total","fetchedAt","failure"],"additionalProperties":true}},"required":[],"additionalProperties":true,"description":"Each list the provider offers on the host; a list it does not offer is absent."}},"required":["forge","host","viewer","lists"],"additionalProperties":true},"description":"Each host a provider lists change requests on, in registration and configuration order."},"reading":{"type":"boolean","description":"Whether a read is in flight."}},"required":["hosts","reading"],"additionalProperties":true},
|
|
4276
|
+
jsonSchema: {"type":"object","properties":{"hosts":{"type":"array","items":{"type":"object","properties":{"forge":{"type":"string","description":"Forge family of the provider."},"host":{"type":"string","description":"Lowercase host name."},"viewer":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Login of the signed-in user the latest successful read named, or null before one."},"signIn":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"The command that signs the provider's CLI in to the host, while the latest read failed for lack of sign-in and the provider names one; null otherwise."},"lists":{"type":"object","properties":{"review-requested":{"type":"object","properties":{"items":{"oneOf":[{"type":"null","const":null},{"type":"array","items":{"type":"object","properties":{"ref":{"type":"object","properties":{"repository":{"type":"object","properties":{"forge":{"type":"string","description":"Provider family that serves the repository, such as `github`."},"host":{"type":"string","description":"Lowercase host name, such as `github.com`."},"owner":{"type":"string","description":"Owner or namespace path as the host spells it."},"name":{"type":"string","description":"Repository name as the host spells it."}},"required":["forge","host","owner","name"],"additionalProperties":true,"description":"Repository that holds the change request."},"number":{"type":"number","description":"Host-assigned change request number."}},"required":["repository","number"],"additionalProperties":true,"description":"The change request."},"url":{"type":"string","description":"Web page of the change request."},"title":{"type":"string","description":"Title as the author wrote it."},"draft":{"type":"boolean","description":"Whether the author marked the change request as a draft."},"author":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"login":{"type":"string","description":"Login as the host spells it."},"avatarUrl":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Avatar image URL, or null when the host reports none."},"bot":{"type":"boolean","description":"Whether the account is an app or bot rather than a person."}},"required":["login","avatarUrl","bot"],"additionalProperties":true}],"description":"Author, or null when the host hides the account."},"headSha":{"type":"string","description":"Commit object name at the head of the change request."},"checksRollup":{"type":"string","enum":["pending","success","none","failure"],"description":"Combined check outcome on the head commit."},"reviewDecision":{"type":"string","enum":["none","approved","changes-requested","review-required"],"description":"Aggregate review outcome."},"viewerReview":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"verdict":{"type":"string","enum":["approved","dismissed","changes-requested","commented"],"description":"Outcome of the review."},"reviewedSha":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Commit the review was on, or null when the host reports none."}},"required":["verdict","reviewedSha"],"additionalProperties":true}],"description":"The signed-in user's latest submitted review, or null before the first."},"viewerRequest":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"team":{"oneOf":[{"type":"null","const":null},{"type":"string"}]}},"required":["team"],"additionalProperties":true}],"description":"The review request that asks the signed-in user, or null when none does: `team` names the team, as `organization/slug`, when the request asks a team the user belongs to rather than the user."},"updatedAt":{"type":"string","description":"ISO 8601 time of the host's last update to the change request."}},"required":["ref","url","title","draft","author","headSha","checksRollup","reviewDecision","viewerReview","viewerRequest","updatedAt"],"additionalProperties":true}}],"description":"Change requests most recently updated first, from the latest successful read, or null before the first."},"total":{"type":"number","description":"Size of the whole list the host reported with `items`; 0 before the first successful read."},"fetchedAt":{"oneOf":[{"type":"null","const":null},{"type":"number"}],"description":"Epoch milliseconds of the read `items` come from, or null before the first successful read."},"failure":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"code":{"type":"string","enum":["unavailable","unauthenticated","not-found","too-large","stale","rate-limited","unsupported"],"description":"`not-found`: the host does not expose it; `unauthenticated`: credentials are missing or rejected; `too-large`: the host or the provider refuses an answer over its size limit, so reading again fails the same way; `stale`: the head is no longer the commit the read named, so reading again at the head of a later status can succeed; `rate-limited`: the host refused the read under its rate limit, so reading again succeeds only after the limit resets; `unsupported`: the provider does not offer the read; `unavailable`: any other failure."},"message":{"type":"string","description":"Human-readable cause."}},"required":["code","message"],"additionalProperties":true}],"description":"Why the latest read failed, or null when it succeeded or none settled yet."}},"required":["items","total","fetchedAt","failure"],"additionalProperties":true},"authored":{"type":"object","properties":{"items":{"oneOf":[{"type":"null","const":null},{"type":"array","items":{"type":"object","properties":{"ref":{"type":"object","properties":{"repository":{"type":"object","properties":{"forge":{"type":"string","description":"Provider family that serves the repository, such as `github`."},"host":{"type":"string","description":"Lowercase host name, such as `github.com`."},"owner":{"type":"string","description":"Owner or namespace path as the host spells it."},"name":{"type":"string","description":"Repository name as the host spells it."}},"required":["forge","host","owner","name"],"additionalProperties":true,"description":"Repository that holds the change request."},"number":{"type":"number","description":"Host-assigned change request number."}},"required":["repository","number"],"additionalProperties":true,"description":"The change request."},"url":{"type":"string","description":"Web page of the change request."},"title":{"type":"string","description":"Title as the author wrote it."},"draft":{"type":"boolean","description":"Whether the author marked the change request as a draft."},"author":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"login":{"type":"string","description":"Login as the host spells it."},"avatarUrl":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Avatar image URL, or null when the host reports none."},"bot":{"type":"boolean","description":"Whether the account is an app or bot rather than a person."}},"required":["login","avatarUrl","bot"],"additionalProperties":true}],"description":"Author, or null when the host hides the account."},"headSha":{"type":"string","description":"Commit object name at the head of the change request."},"checksRollup":{"type":"string","enum":["pending","success","none","failure"],"description":"Combined check outcome on the head commit."},"reviewDecision":{"type":"string","enum":["none","approved","changes-requested","review-required"],"description":"Aggregate review outcome."},"viewerReview":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"verdict":{"type":"string","enum":["approved","dismissed","changes-requested","commented"],"description":"Outcome of the review."},"reviewedSha":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Commit the review was on, or null when the host reports none."}},"required":["verdict","reviewedSha"],"additionalProperties":true}],"description":"The signed-in user's latest submitted review, or null before the first."},"viewerRequest":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"team":{"oneOf":[{"type":"null","const":null},{"type":"string"}]}},"required":["team"],"additionalProperties":true}],"description":"The review request that asks the signed-in user, or null when none does: `team` names the team, as `organization/slug`, when the request asks a team the user belongs to rather than the user."},"updatedAt":{"type":"string","description":"ISO 8601 time of the host's last update to the change request."}},"required":["ref","url","title","draft","author","headSha","checksRollup","reviewDecision","viewerReview","viewerRequest","updatedAt"],"additionalProperties":true}}],"description":"Change requests most recently updated first, from the latest successful read, or null before the first."},"total":{"type":"number","description":"Size of the whole list the host reported with `items`; 0 before the first successful read."},"fetchedAt":{"oneOf":[{"type":"null","const":null},{"type":"number"}],"description":"Epoch milliseconds of the read `items` come from, or null before the first successful read."},"failure":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"code":{"type":"string","enum":["unavailable","unauthenticated","not-found","too-large","stale","rate-limited","unsupported"],"description":"`not-found`: the host does not expose it; `unauthenticated`: credentials are missing or rejected; `too-large`: the host or the provider refuses an answer over its size limit, so reading again fails the same way; `stale`: the head is no longer the commit the read named, so reading again at the head of a later status can succeed; `rate-limited`: the host refused the read under its rate limit, so reading again succeeds only after the limit resets; `unsupported`: the provider does not offer the read; `unavailable`: any other failure."},"message":{"type":"string","description":"Human-readable cause."}},"required":["code","message"],"additionalProperties":true}],"description":"Why the latest read failed, or null when it succeeded or none settled yet."}},"required":["items","total","fetchedAt","failure"],"additionalProperties":true},"involved":{"type":"object","properties":{"items":{"oneOf":[{"type":"null","const":null},{"type":"array","items":{"type":"object","properties":{"ref":{"type":"object","properties":{"repository":{"type":"object","properties":{"forge":{"type":"string","description":"Provider family that serves the repository, such as `github`."},"host":{"type":"string","description":"Lowercase host name, such as `github.com`."},"owner":{"type":"string","description":"Owner or namespace path as the host spells it."},"name":{"type":"string","description":"Repository name as the host spells it."}},"required":["forge","host","owner","name"],"additionalProperties":true,"description":"Repository that holds the change request."},"number":{"type":"number","description":"Host-assigned change request number."}},"required":["repository","number"],"additionalProperties":true,"description":"The change request."},"url":{"type":"string","description":"Web page of the change request."},"title":{"type":"string","description":"Title as the author wrote it."},"draft":{"type":"boolean","description":"Whether the author marked the change request as a draft."},"author":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"login":{"type":"string","description":"Login as the host spells it."},"avatarUrl":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Avatar image URL, or null when the host reports none."},"bot":{"type":"boolean","description":"Whether the account is an app or bot rather than a person."}},"required":["login","avatarUrl","bot"],"additionalProperties":true}],"description":"Author, or null when the host hides the account."},"headSha":{"type":"string","description":"Commit object name at the head of the change request."},"checksRollup":{"type":"string","enum":["pending","success","none","failure"],"description":"Combined check outcome on the head commit."},"reviewDecision":{"type":"string","enum":["none","approved","changes-requested","review-required"],"description":"Aggregate review outcome."},"viewerReview":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"verdict":{"type":"string","enum":["approved","dismissed","changes-requested","commented"],"description":"Outcome of the review."},"reviewedSha":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Commit the review was on, or null when the host reports none."}},"required":["verdict","reviewedSha"],"additionalProperties":true}],"description":"The signed-in user's latest submitted review, or null before the first."},"viewerRequest":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"team":{"oneOf":[{"type":"null","const":null},{"type":"string"}]}},"required":["team"],"additionalProperties":true}],"description":"The review request that asks the signed-in user, or null when none does: `team` names the team, as `organization/slug`, when the request asks a team the user belongs to rather than the user."},"updatedAt":{"type":"string","description":"ISO 8601 time of the host's last update to the change request."}},"required":["ref","url","title","draft","author","headSha","checksRollup","reviewDecision","viewerReview","viewerRequest","updatedAt"],"additionalProperties":true}}],"description":"Change requests most recently updated first, from the latest successful read, or null before the first."},"total":{"type":"number","description":"Size of the whole list the host reported with `items`; 0 before the first successful read."},"fetchedAt":{"oneOf":[{"type":"null","const":null},{"type":"number"}],"description":"Epoch milliseconds of the read `items` come from, or null before the first successful read."},"failure":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"code":{"type":"string","enum":["unavailable","unauthenticated","not-found","too-large","stale","rate-limited","unsupported"],"description":"`not-found`: the host does not expose it; `unauthenticated`: credentials are missing or rejected; `too-large`: the host or the provider refuses an answer over its size limit, so reading again fails the same way; `stale`: the head is no longer the commit the read named, so reading again at the head of a later status can succeed; `rate-limited`: the host refused the read under its rate limit, so reading again succeeds only after the limit resets; `unsupported`: the provider does not offer the read; `unavailable`: any other failure."},"message":{"type":"string","description":"Human-readable cause."}},"required":["code","message"],"additionalProperties":true}],"description":"Why the latest read failed, or null when it succeeded or none settled yet."}},"required":["items","total","fetchedAt","failure"],"additionalProperties":true}},"required":[],"additionalProperties":true,"description":"Each list the provider offers on the host; a list it does not offer is absent."}},"required":["forge","host","viewer","signIn","lists"],"additionalProperties":true},"description":"Each host a provider lists change requests on, in registration and configuration order."},"reading":{"type":"boolean","description":"Whether a read is in flight."}},"required":["hosts","reading"],"additionalProperties":true},
|
|
3789
4277
|
},
|
|
3790
|
-
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":
|
|
4278
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":320,"column":10},
|
|
3791
4279
|
},
|
|
3792
4280
|
'forgePanel/reviewMarkReady': {
|
|
3793
4281
|
service: 'forgePanel',
|
|
@@ -3819,7 +4307,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
3819
4307
|
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewMarkReady_result$schema,
|
|
3820
4308
|
jsonSchemaError: 'typert tool schema: unsupported void value',
|
|
3821
4309
|
},
|
|
3822
|
-
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":
|
|
4310
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":621,"column":9},
|
|
3823
4311
|
},
|
|
3824
4312
|
'forgePanel/reviewMerge': {
|
|
3825
4313
|
service: 'forgePanel',
|
|
@@ -3885,7 +4373,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
3885
4373
|
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewMerge_result$schema,
|
|
3886
4374
|
jsonSchemaError: 'typert tool schema: unsupported void value',
|
|
3887
4375
|
},
|
|
3888
|
-
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":
|
|
4376
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":637,"column":9},
|
|
3889
4377
|
},
|
|
3890
4378
|
'forgePanel/reviewPoll': {
|
|
3891
4379
|
service: 'forgePanel',
|
|
@@ -3917,7 +4405,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
3917
4405
|
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewPoll_result$schema,
|
|
3918
4406
|
jsonSchemaError: 'typert tool schema: unsupported void value',
|
|
3919
4407
|
},
|
|
3920
|
-
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":
|
|
4408
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":379,"column":9},
|
|
3921
4409
|
},
|
|
3922
4410
|
'forgePanel/reviewRefresh': {
|
|
3923
4411
|
service: 'forgePanel',
|
|
@@ -3932,7 +4420,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
3932
4420
|
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewRefresh_result$schema,
|
|
3933
4421
|
jsonSchemaError: 'typert tool schema: unsupported void value',
|
|
3934
4422
|
},
|
|
3935
|
-
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":
|
|
4423
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":344,"column":9},
|
|
3936
4424
|
},
|
|
3937
4425
|
'forgePanel/reviewRequestReviews': {
|
|
3938
4426
|
service: 'forgePanel',
|
|
@@ -3981,7 +4469,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
3981
4469
|
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewRequestReviews_result$schema,
|
|
3982
4470
|
jsonSchemaError: 'typert tool schema: unsupported void value',
|
|
3983
4471
|
},
|
|
3984
|
-
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":
|
|
4472
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":683,"column":9},
|
|
3985
4473
|
},
|
|
3986
4474
|
'forgePanel/reviewRerunChecks': {
|
|
3987
4475
|
service: 'forgePanel',
|
|
@@ -4030,7 +4518,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
4030
4518
|
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewRerunChecks_result$schema,
|
|
4031
4519
|
jsonSchemaError: 'typert tool schema: unsupported void value',
|
|
4032
4520
|
},
|
|
4033
|
-
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":
|
|
4521
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":668,"column":9},
|
|
4034
4522
|
},
|
|
4035
4523
|
'forgePanel/reviewReviewerCandidates': {
|
|
4036
4524
|
service: 'forgePanel',
|
|
@@ -4080,7 +4568,56 @@ const $remote = createTypertRemoteInfo({
|
|
|
4080
4568
|
description: 'the accounts, the host\'s suggestions first.',
|
|
4081
4569
|
jsonSchema: {"type":"array","items":{"type":"object","properties":{"login":{"type":"string","description":"Login as the host spells it."},"name":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Display name, or null when the account shows none."},"avatarUrl":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Avatar image URL, or null when the host reports none."},"suggested":{"type":"boolean","description":"Whether the host suggests the account for this change request, as from the history of its changed files."}},"required":["login","name","avatarUrl","suggested"],"additionalProperties":true}},
|
|
4082
4570
|
},
|
|
4083
|
-
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":
|
|
4571
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":698,"column":9},
|
|
4572
|
+
},
|
|
4573
|
+
'forgePanel/reviewSetAutoMerge': {
|
|
4574
|
+
service: 'forgePanel',
|
|
4575
|
+
description: 'Turn the code host\'s automatic merge of a change request the review page shows on, while its head is still the request\'s `headSha`, or off.',
|
|
4576
|
+
invocation: { kind: 'direct' },
|
|
4577
|
+
parameters: [
|
|
4578
|
+
{
|
|
4579
|
+
name: 'url',
|
|
4580
|
+
description: 'web URL of the change request.',
|
|
4581
|
+
source: 'json',
|
|
4582
|
+
codec: {
|
|
4583
|
+
mode: 'strict',
|
|
4584
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/reviewSetAutoMerge:url',
|
|
4585
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewSetAutoMerge_parameter_0$schema,
|
|
4586
|
+
jsonSchema: {"type":"string"},
|
|
4587
|
+
},
|
|
4588
|
+
strictCodec: {
|
|
4589
|
+
mode: 'strict',
|
|
4590
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/reviewSetAutoMerge:url',
|
|
4591
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewSetAutoMerge_parameter_0_strict$schema,
|
|
4592
|
+
jsonSchema: {"type":"string"},
|
|
4593
|
+
},
|
|
4594
|
+
},
|
|
4595
|
+
{
|
|
4596
|
+
name: 'request',
|
|
4597
|
+
description: 'on with the merge method and the head commit the user confirmed, or off.',
|
|
4598
|
+
source: 'json',
|
|
4599
|
+
codec: {
|
|
4600
|
+
mode: 'strict',
|
|
4601
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-forge/types#AutoMergeRequest',
|
|
4602
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewSetAutoMerge_parameter_1$schema,
|
|
4603
|
+
jsonSchema: {"oneOf":[{"type":"object","properties":{"enabled":{"type":"boolean","const":true},"method":{"type":"string","enum":["merge","squash","rebase"]},"headSha":{"type":"string"}},"required":["enabled","method","headSha"],"additionalProperties":true},{"type":"object","properties":{"enabled":{"type":"boolean","const":false}},"required":["enabled"],"additionalProperties":true}]},
|
|
4604
|
+
},
|
|
4605
|
+
strictCodec: {
|
|
4606
|
+
mode: 'strict',
|
|
4607
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-forge/types#AutoMergeRequest',
|
|
4608
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewSetAutoMerge_parameter_1_strict$schema,
|
|
4609
|
+
jsonSchema: {"oneOf":[{"type":"object","properties":{"enabled":{"type":"boolean","const":true},"method":{"type":"string","enum":["merge","squash","rebase"]},"headSha":{"type":"string"}},"required":["enabled","method","headSha"],"additionalProperties":false},{"type":"object","properties":{"enabled":{"type":"boolean","const":false}},"required":["enabled"],"additionalProperties":false}]},
|
|
4610
|
+
},
|
|
4611
|
+
},
|
|
4612
|
+
],
|
|
4613
|
+
cancellation: { parameter: 'signal' },
|
|
4614
|
+
result: {
|
|
4615
|
+
mode: 'strict',
|
|
4616
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/reviewSetAutoMerge:result',
|
|
4617
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewSetAutoMerge_result$schema,
|
|
4618
|
+
jsonSchemaError: 'typert tool schema: unsupported void value',
|
|
4619
|
+
},
|
|
4620
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":653,"column":9},
|
|
4084
4621
|
},
|
|
4085
4622
|
'forgePanel/reviewSetViewed': {
|
|
4086
4623
|
service: 'forgePanel',
|
|
@@ -4129,7 +4666,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
4129
4666
|
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewSetViewed_result$schema,
|
|
4130
4667
|
jsonSchemaError: 'typert tool schema: unsupported void value',
|
|
4131
4668
|
},
|
|
4132
|
-
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":
|
|
4669
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":608,"column":9},
|
|
4133
4670
|
},
|
|
4134
4671
|
'forgePanel/reviewStage': {
|
|
4135
4672
|
service: 'forgePanel',
|
|
@@ -4178,7 +4715,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
4178
4715
|
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewStage_result$schema,
|
|
4179
4716
|
jsonSchemaError: 'typert tool schema: unsupported void value',
|
|
4180
4717
|
},
|
|
4181
|
-
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":
|
|
4718
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":730,"column":9},
|
|
4182
4719
|
},
|
|
4183
4720
|
'forgePanel/reviewSubmit': {
|
|
4184
4721
|
service: 'forgePanel',
|
|
@@ -4228,7 +4765,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
4228
4765
|
description: 'confirmed publication or a typed failure, as {@link ForgePanelController.submitReview} does.',
|
|
4229
4766
|
jsonSchema: {"oneOf":[{"type":"object","properties":{"ok":{"type":"boolean","const":true},"url":{"type":"string"}},"required":["ok","url"],"additionalProperties":true},{"type":"object","properties":{"ok":{"type":"boolean","const":false},"code":{"type":"string","enum":["failed","unknown","stale","unsupported"]},"message":{"type":"string"}},"required":["ok","code","message"],"additionalProperties":true}]},
|
|
4230
4767
|
},
|
|
4231
|
-
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":
|
|
4768
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":528,"column":9},
|
|
4232
4769
|
},
|
|
4233
4770
|
'forgePanel/reviewText': {
|
|
4234
4771
|
service: 'forgePanel',
|
|
@@ -4295,7 +4832,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
4295
4832
|
description: 'the text.',
|
|
4296
4833
|
jsonSchema: {"type":"string"},
|
|
4297
4834
|
},
|
|
4298
|
-
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":
|
|
4835
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":575,"column":9},
|
|
4299
4836
|
},
|
|
4300
4837
|
'forgePanel/reviewThreads': {
|
|
4301
4838
|
service: 'forgePanel',
|
|
@@ -4362,7 +4899,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
4362
4899
|
description: 'the threads at `headSha`.',
|
|
4363
4900
|
jsonSchema: {"type":"object","properties":{"headSha":{"type":"string","description":"Head commit the threads were read at; `current` positions number its files."},"viewer":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Login of the signed-in user the provider read as, or null when the host does not name one."},"threads":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Host identity of the thread."},"path":{"type":"string","description":"Repository-relative path the thread is on."},"side":{"type":"string","enum":["L","R"],"description":"Old (`L`) or new (`R`) side of the diff the lines number."},"subject":{"type":"string","enum":["file","line"],"description":"Whether the thread is on lines or on the whole file."},"current":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"commit":{"type":"string","description":"Full object name of the commit the diff's new side shows: new-side (`R`) lines number this commit's file, and old-side (`L`) lines number the file at the diff's base."},"startLine":{"type":"number","description":"First line, inclusive."},"endLine":{"type":"number","description":"Last line, inclusive."}},"required":["commit","startLine","endLine"],"additionalProperties":true}],"description":"Lines in the diff that ends at the head commit of the read, whose `commit` is that head; null for an outdated or file thread."},"original":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"commit":{"type":"string","description":"Full object name of the commit the diff's new side shows: new-side (`R`) lines number this commit's file, and old-side (`L`) lines number the file at the diff's base."},"startLine":{"type":"number","description":"First line, inclusive."},"endLine":{"type":"number","description":"Last line, inclusive."}},"required":["commit","startLine","endLine"],"additionalProperties":true}],"description":"Lines in the diff that ended at a commit whose file holds the lines as the thread was written on them: the commit the thread was written on, or a later one the host carried the thread to while the lines stayed unchanged; null for a file thread."},"diffHunk":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Diff hunk the host recorded when the thread was written, ending at its last line; null when it recorded none."},"resolved":{"type":"boolean","description":"Whether the thread is marked resolved."},"viewerCanReply":{"type":"boolean","description":"Whether the signed-in user can reply to the thread through `writeReview`; false for a provider without it."},"viewerCanResolve":{"type":"boolean","description":"Whether the signed-in user can mark the thread resolved, or unresolved when `resolved`, through `writeReview`; false for a provider without it."},"comments":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Host identity of the comment."},"author":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"login":{"type":"string","description":"Login as the host spells it."},"avatarUrl":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Avatar image URL, or null when the host reports none."},"bot":{"type":"boolean","description":"Whether the account is an app or bot rather than a person."}},"required":["login","avatarUrl","bot"],"additionalProperties":true}],"description":"Author, or null when the account no longer exists."},"body":{"type":"string","description":"Markdown source as the author wrote it; it may contain raw HTML, which readers must not render as HTML."},"createdAt":{"type":"string","description":"ISO 8601 time the comment was created."},"pending":{"type":"boolean","description":"Whether the comment belongs to the signed-in user's review that is not submitted yet, which only that user sees."},"url":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Web page of the comment, or null when the host reports none."},"viewerCanEdit":{"type":"boolean","description":"Whether the signed-in user can replace the comment's text through `writeReview`; false for a provider without it."},"viewerCanDelete":{"type":"boolean","description":"Whether the signed-in user can delete the comment through `writeReview`; false for a provider without it."}},"required":["id","author","body","createdAt","pending","url","viewerCanEdit","viewerCanDelete"],"additionalProperties":true},"description":"Comments oldest first; the first starts the thread."}},"required":["id","path","side","subject","current","original","diffHunk","resolved","viewerCanReply","viewerCanResolve","comments"],"additionalProperties":true},"description":"Threads in host order, at most the provider's limit."},"truncated":{"type":"boolean","description":"Whether the change request has more threads than `threads` holds."},"pendingReview":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"id":{"type":"string","description":"Host identity of the review."},"comments":{"type":"number","description":"Comments the review holds."}},"required":["id","comments"],"additionalProperties":true}],"description":"The signed-in user's pending review, or null without one."},"viewerCanReview":{"type":"boolean","description":"Whether the signed-in user can add comments to a pending review and submit or discard it through `writeReview`; false for a provider without it."},"reviewEvents":{"type":"array","items":{"type":"string","enum":["comment","approve","request-changes"]},"description":"Decisions the host lets the signed-in user record in a submitted review of this change request, such as only `comment` on their own pull request on GitHub; empty when `viewerCanReview` is false."}},"required":["headSha","viewer","threads","truncated","pendingReview","viewerCanReview","reviewEvents"],"additionalProperties":true},
|
|
4364
4901
|
},
|
|
4365
|
-
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":
|
|
4902
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":500,"column":9},
|
|
4366
4903
|
},
|
|
4367
4904
|
'forgePanel/reviewThreadWrite': {
|
|
4368
4905
|
service: 'forgePanel',
|
|
@@ -4412,7 +4949,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
4412
4949
|
description: 'whether the host took the write, as {@link ForgePanelController.changeRequestReviewWrite} does.',
|
|
4413
4950
|
jsonSchema: {"oneOf":[{"type":"object","properties":{"ok":{"type":"boolean","const":true}},"required":["ok"],"additionalProperties":true},{"type":"object","properties":{"ok":{"type":"boolean","const":false},"code":{"type":"string","enum":["failed","unknown","stale","unsupported"]},"message":{"type":"string"}},"required":["ok","code","message"],"additionalProperties":true}]},
|
|
4414
4951
|
},
|
|
4415
|
-
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":
|
|
4952
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":514,"column":9},
|
|
4416
4953
|
},
|
|
4417
4954
|
'forgePanel/reviewUpdateBranch': {
|
|
4418
4955
|
service: 'forgePanel',
|
|
@@ -4478,7 +5015,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
4478
5015
|
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewUpdateBranch_result$schema,
|
|
4479
5016
|
jsonSchemaError: 'typert tool schema: unsupported void value',
|
|
4480
5017
|
},
|
|
4481
|
-
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":
|
|
5018
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":713,"column":9},
|
|
4482
5019
|
},
|
|
4483
5020
|
'forgePanel/reviewViewed': {
|
|
4484
5021
|
service: 'forgePanel',
|
|
@@ -4545,7 +5082,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
4545
5082
|
description: 'the marks, or null when the provider keeps no viewed marks.',
|
|
4546
5083
|
jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
|
|
4547
5084
|
},
|
|
4548
|
-
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":
|
|
5085
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":594,"column":9},
|
|
4549
5086
|
},
|
|
4550
5087
|
'forgePanel/revisit': {
|
|
4551
5088
|
service: 'forgePanel',
|
|
@@ -4578,7 +5115,75 @@ const $remote = createTypertRemoteInfo({
|
|
|
4578
5115
|
description: 'settles once the inspection and the sign-in probe have ended; poll results reach the panel stream later.',
|
|
4579
5116
|
jsonSchemaError: 'typert tool schema: unsupported void value',
|
|
4580
5117
|
},
|
|
4581
|
-
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":
|
|
5118
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":847,"column":9},
|
|
5119
|
+
},
|
|
5120
|
+
'forgePanel/setAutoMerge': {
|
|
5121
|
+
service: 'forgePanel',
|
|
5122
|
+
description: 'Turn the code host\'s automatic merge of a change request of a Session on, while its head is still the request\'s `headSha`, or off; the change request is polled again once the host answers.',
|
|
5123
|
+
invocation: { kind: 'direct' },
|
|
5124
|
+
parameters: [
|
|
5125
|
+
{
|
|
5126
|
+
name: 'session',
|
|
5127
|
+
wire: 'sessionId',
|
|
5128
|
+
description: 'Session the change request is bound to.',
|
|
5129
|
+
source: 'lookup',
|
|
5130
|
+
lookup: 'session',
|
|
5131
|
+
codec: {
|
|
5132
|
+
mode: 'strict',
|
|
5133
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
5134
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setAutoMerge_parameter_0$schema,
|
|
5135
|
+
jsonSchema: {"type":"string"},
|
|
5136
|
+
},
|
|
5137
|
+
strictCodec: {
|
|
5138
|
+
mode: 'strict',
|
|
5139
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
5140
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setAutoMerge_parameter_0_strict$schema,
|
|
5141
|
+
jsonSchema: {"type":"string"},
|
|
5142
|
+
},
|
|
5143
|
+
},
|
|
5144
|
+
{
|
|
5145
|
+
name: 'url',
|
|
5146
|
+
description: 'binding URL of the change request.',
|
|
5147
|
+
source: 'json',
|
|
5148
|
+
codec: {
|
|
5149
|
+
mode: 'strict',
|
|
5150
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/setAutoMerge:url',
|
|
5151
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setAutoMerge_parameter_1$schema,
|
|
5152
|
+
jsonSchema: {"type":"string"},
|
|
5153
|
+
},
|
|
5154
|
+
strictCodec: {
|
|
5155
|
+
mode: 'strict',
|
|
5156
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/setAutoMerge:url',
|
|
5157
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setAutoMerge_parameter_1_strict$schema,
|
|
5158
|
+
jsonSchema: {"type":"string"},
|
|
5159
|
+
},
|
|
5160
|
+
},
|
|
5161
|
+
{
|
|
5162
|
+
name: 'request',
|
|
5163
|
+
description: 'on with the merge method and the head commit the user confirmed, or off.',
|
|
5164
|
+
source: 'json',
|
|
5165
|
+
codec: {
|
|
5166
|
+
mode: 'strict',
|
|
5167
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-forge/types#AutoMergeRequest',
|
|
5168
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setAutoMerge_parameter_2$schema,
|
|
5169
|
+
jsonSchema: {"oneOf":[{"type":"object","properties":{"enabled":{"type":"boolean","const":true},"method":{"type":"string","enum":["merge","squash","rebase"]},"headSha":{"type":"string"}},"required":["enabled","method","headSha"],"additionalProperties":true},{"type":"object","properties":{"enabled":{"type":"boolean","const":false}},"required":["enabled"],"additionalProperties":true}]},
|
|
5170
|
+
},
|
|
5171
|
+
strictCodec: {
|
|
5172
|
+
mode: 'strict',
|
|
5173
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-forge/types#AutoMergeRequest',
|
|
5174
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setAutoMerge_parameter_2_strict$schema,
|
|
5175
|
+
jsonSchema: {"oneOf":[{"type":"object","properties":{"enabled":{"type":"boolean","const":true},"method":{"type":"string","enum":["merge","squash","rebase"]},"headSha":{"type":"string"}},"required":["enabled","method","headSha"],"additionalProperties":false},{"type":"object","properties":{"enabled":{"type":"boolean","const":false}},"required":["enabled"],"additionalProperties":false}]},
|
|
5176
|
+
},
|
|
5177
|
+
},
|
|
5178
|
+
],
|
|
5179
|
+
cancellation: { parameter: 'signal' },
|
|
5180
|
+
result: {
|
|
5181
|
+
mode: 'strict',
|
|
5182
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/setAutoMerge:result',
|
|
5183
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setAutoMerge_result$schema,
|
|
5184
|
+
jsonSchemaError: 'typert tool schema: unsupported void value',
|
|
5185
|
+
},
|
|
5186
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":1279,"column":9},
|
|
4582
5187
|
},
|
|
4583
5188
|
'forgePanel/setFileViewed': {
|
|
4584
5189
|
service: 'forgePanel',
|
|
@@ -4646,7 +5251,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
4646
5251
|
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setFileViewed_result$schema,
|
|
4647
5252
|
jsonSchemaError: 'typert tool schema: unsupported void value',
|
|
4648
5253
|
},
|
|
4649
|
-
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":
|
|
5254
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":1166,"column":9},
|
|
4650
5255
|
},
|
|
4651
5256
|
'forgePanel/stopCreation': {
|
|
4652
5257
|
service: 'forgePanel',
|
|
@@ -4680,7 +5285,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
4680
5285
|
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_stopCreation_result$schema,
|
|
4681
5286
|
jsonSchemaError: 'typert tool schema: unsupported void value',
|
|
4682
5287
|
},
|
|
4683
|
-
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":
|
|
5288
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":1419,"column":9},
|
|
4684
5289
|
},
|
|
4685
5290
|
'forgePanel/submitReview': {
|
|
4686
5291
|
service: 'forgePanel',
|
|
@@ -4749,7 +5354,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
4749
5354
|
description: 'confirmed publication or a typed failure; unknown outcomes require reconciliation on the host.',
|
|
4750
5355
|
jsonSchema: {"oneOf":[{"type":"object","properties":{"ok":{"type":"boolean","const":true},"url":{"type":"string"}},"required":["ok","url"],"additionalProperties":true},{"type":"object","properties":{"ok":{"type":"boolean","const":false},"code":{"type":"string","enum":["failed","unknown","stale","unsupported"]},"message":{"type":"string"}},"required":["ok","code","message"],"additionalProperties":true}]},
|
|
4751
5356
|
},
|
|
4752
|
-
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":
|
|
5357
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":1205,"column":9},
|
|
4753
5358
|
},
|
|
4754
5359
|
'forgePanel/track': {
|
|
4755
5360
|
service: 'forgePanel',
|
|
@@ -4800,7 +5405,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
4800
5405
|
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_track_result$schema,
|
|
4801
5406
|
jsonSchemaError: 'typert tool schema: unsupported void value',
|
|
4802
5407
|
},
|
|
4803
|
-
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":
|
|
5408
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":804,"column":9},
|
|
4804
5409
|
},
|
|
4805
5410
|
'forgePanel/updateBranch': {
|
|
4806
5411
|
service: 'forgePanel',
|
|
@@ -4885,7 +5490,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
4885
5490
|
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_updateBranch_result$schema,
|
|
4886
5491
|
jsonSchemaError: 'typert tool schema: unsupported void value',
|
|
4887
5492
|
},
|
|
4888
|
-
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":
|
|
5493
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":1353,"column":9},
|
|
4889
5494
|
},
|
|
4890
5495
|
'forgePanel/worktreeBases': {
|
|
4891
5496
|
service: 'forgePanel',
|
|
@@ -4935,9 +5540,9 @@ const $remote = createTypertRemoteInfo({
|
|
|
4935
5540
|
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge/types#ForgeWorktreeBases',
|
|
4936
5541
|
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_worktreeBases_result$schema,
|
|
4937
5542
|
description: 'the branches, at most `maxBranches` local branches and `maxBranches` per remote, most recently committed first.',
|
|
4938
|
-
jsonSchema: {"type":"object","properties":{"current":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"ref":{"type":"string","description":"Full ref name: `refs/heads/<branch>` or `refs/remotes/<remote>/<branch>`."},"name":{"type":"string","description":"The ref without `refs/heads/` or `refs/remotes/`, such as `master` or `origin/master`."}},"required":["ref","name"],"additionalProperties":true}],"description":"Checked-out branch, or null when HEAD is detached or its name does not contain the query."},"defaults":{"type":"array","items":{"type":"object","properties":{"remote":{"type":"string","description":"Remote the branch belongs to; it may contain `/`."},"ref":{"type":"string","description":"Full ref name: `refs/heads/<branch>` or `refs/remotes/<remote>/<branch>`."},"name":{"type":"string","description":"The ref without `refs/heads/` or `refs/remotes/`, such as `master` or `origin/master`."}},"required":["remote","ref","name"],"additionalProperties":true},"description":"Default branch of each remote that names one with `refs/remotes/<remote>/HEAD`, in remote order."},"local":{"type":"array","items":{"type":"object","properties":{"ref":{"type":"string","description":"Full ref name: `refs/heads/<branch>` or `refs/remotes/<remote>/<branch>`."},"name":{"type":"string","description":"The ref without `refs/heads/` or `refs/remotes/`, such as `master` or `origin/master`."}},"required":["ref","name"],"additionalProperties":true},"description":"Other local branches, most recently committed first, at most `maxBranches`."},"remotes":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"Remote name such as `origin`; it may contain `/`."},"repository":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"`owner/name` of the repository a provider recognizes from the remote's URLs, else its fetch URL, or null without one."},"branches":{"type":"array","items":{"type":"object","properties":{"ref":{"type":"string","description":"Full ref name: `refs/heads/<branch>` or `refs/remotes/<remote>/<branch>`."},"name":{"type":"string","description":"The ref without `refs/heads/` or `refs/remotes/`, such as `master` or `origin/master`."}},"required":["ref","name"],"additionalProperties":true},"description":"Branches named `<remote>/<branch>`, most recently committed first, at most `maxBranches`."}},"required":["name","repository","branches"],"additionalProperties":true},"description":"Remote-tracking branches of each configured remote in remote order: the remote the checked-out branch tracks, then `origin`, then the others as Git lists them. Remotes without a matching branch are left out."}},"required":["current","defaults","local","remotes"],"additionalProperties":true},
|
|
5543
|
+
jsonSchema: {"type":"object","properties":{"current":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"ref":{"type":"string","description":"Full ref name: `refs/heads/<branch>` or `refs/remotes/<remote>/<branch>`."},"name":{"type":"string","description":"The ref without `refs/heads/` or `refs/remotes/`, such as `master` or `origin/master`."},"worktree":{"type":"string","description":"Directory Git registered for the worktree that has this local branch checked out, absent when none has; a scope that names the branch as its head reads that worktree."}},"required":["ref","name"],"additionalProperties":true}],"description":"Checked-out branch, or null when HEAD is detached or its name does not contain the query."},"defaults":{"type":"array","items":{"type":"object","properties":{"remote":{"type":"string","description":"Remote the branch belongs to; it may contain `/`."},"ref":{"type":"string","description":"Full ref name: `refs/heads/<branch>` or `refs/remotes/<remote>/<branch>`."},"name":{"type":"string","description":"The ref without `refs/heads/` or `refs/remotes/`, such as `master` or `origin/master`."},"worktree":{"type":"string","description":"Directory Git registered for the worktree that has this local branch checked out, absent when none has; a scope that names the branch as its head reads that worktree."}},"required":["remote","ref","name"],"additionalProperties":true},"description":"Default branch of each remote that names one with `refs/remotes/<remote>/HEAD`, in remote order."},"local":{"type":"array","items":{"type":"object","properties":{"ref":{"type":"string","description":"Full ref name: `refs/heads/<branch>` or `refs/remotes/<remote>/<branch>`."},"name":{"type":"string","description":"The ref without `refs/heads/` or `refs/remotes/`, such as `master` or `origin/master`."},"worktree":{"type":"string","description":"Directory Git registered for the worktree that has this local branch checked out, absent when none has; a scope that names the branch as its head reads that worktree."}},"required":["ref","name"],"additionalProperties":true},"description":"Other local branches, most recently committed first, at most `maxBranches`."},"remotes":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"Remote name such as `origin`; it may contain `/`."},"repository":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"`owner/name` of the repository a provider recognizes from the remote's URLs, else its fetch URL, or null without one."},"branches":{"type":"array","items":{"type":"object","properties":{"ref":{"type":"string","description":"Full ref name: `refs/heads/<branch>` or `refs/remotes/<remote>/<branch>`."},"name":{"type":"string","description":"The ref without `refs/heads/` or `refs/remotes/`, such as `master` or `origin/master`."},"worktree":{"type":"string","description":"Directory Git registered for the worktree that has this local branch checked out, absent when none has; a scope that names the branch as its head reads that worktree."}},"required":["ref","name"],"additionalProperties":true},"description":"Branches named `<remote>/<branch>`, most recently committed first, at most `maxBranches`."}},"required":["name","repository","branches"],"additionalProperties":true},"description":"Remote-tracking branches of each configured remote in remote order: the remote the checked-out branch tracks, then `origin`, then the others as Git lists them. Remotes without a matching branch are left out."}},"required":["current","defaults","local","remotes"],"additionalProperties":true},
|
|
4939
5544
|
},
|
|
4940
|
-
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":
|
|
5545
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":762,"column":9},
|
|
4941
5546
|
},
|
|
4942
5547
|
'forgePanel/worktreeCleanup': {
|
|
4943
5548
|
service: 'forgePanel',
|
|
@@ -4986,7 +5591,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
4986
5591
|
description: 'the cleanup state, or null without a worktree service, an attempt, or a current revision.',
|
|
4987
5592
|
jsonSchema: {"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"revision":{"type":"number","description":"Monotonic attempt number within this Host lifetime; a Remote waits on a specific one."},"status":{"type":"string","enum":["failed","retained","scheduled","removed"],"description":"`scheduled` until the background inspection ends; `retained` when a use, policy, or Git state keeps the checkout; `removed` after `git worktree remove`; `failed` when removal threw and may have left a partial directory."}},"required":["revision","status"],"additionalProperties":true}]},
|
|
4988
5593
|
},
|
|
4989
|
-
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":
|
|
5594
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":747,"column":9},
|
|
4990
5595
|
},
|
|
4991
5596
|
},
|
|
4992
5597
|
}, z)
|
|
@@ -5024,9 +5629,9 @@ export const TYPERT = {
|
|
|
5024
5629
|
{
|
|
5025
5630
|
"kind": "method",
|
|
5026
5631
|
"name": "reviewLists",
|
|
5027
|
-
"signature": "@Remote({ mode: 'stream' }) async *reviewLists( repository:
|
|
5632
|
+
"signature": "@Remote({ mode: 'stream' }) async *reviewLists( repository: ForgeReviewRepository | null, signal: AbortSignal, ): AsyncIterable<ForgeReviewFrame>",
|
|
5028
5633
|
"summary": "Stream the review page's lists of the signed-in user's open change requests on every host a provider lists them on: the lists read so far first, then a frame after each read settles.",
|
|
5029
|
-
"jsDoc": "/**\n * Stream the review page's lists of the signed-in user's open change requests on every host a provider lists them on:\n * the lists read so far first, then a frame after each read settles. Readers of one repository scope share one\n * reader, which reads every `reviewListIntervalMs` while some stream lasts and
|
|
5634
|
+
"jsDoc": "/**\n * Stream the review page's lists of the signed-in user's open change requests on every host a provider lists them on:\n * the lists read so far first, then a frame after each read settles. Readers of one repository scope share one\n * reader, which reads each host every `reviewListIntervalMs` while some stream lasts and reads a host whose read failed\n * again later each time, up to `reviewMaxBackoffMs`, without delaying the other hosts; nothing is read while no stream\n * lasts. The stream ends when `signal` aborts or the Remote stops.\n * @param repository - one repository to list in, read on its host only, or null for every repository the user can\n * read on every host.\n * @param signal - ends the stream.\n * @returns frames, each complete.\n */"
|
|
5030
5635
|
},
|
|
5031
5636
|
{
|
|
5032
5637
|
"kind": "method",
|
|
@@ -5042,6 +5647,13 @@ export const TYPERT = {
|
|
|
5042
5647
|
"summary": "Read every streamed review page list and the count again at once.",
|
|
5043
5648
|
"jsDoc": "/**\n * Read every streamed review page list and the count again at once.\n * @param signal - request cancellation.\n */"
|
|
5044
5649
|
},
|
|
5650
|
+
{
|
|
5651
|
+
"kind": "method",
|
|
5652
|
+
"name": "hostReadiness",
|
|
5653
|
+
"signature": "@Remote async hostReadiness(forge: string, host: string, signal: AbortSignal): Promise<ForgeReadiness>",
|
|
5654
|
+
"summary": "Report whether a provider reaches one of its hosts with the Host's current credentials, for the host list on the Plugins page of that provider's row.",
|
|
5655
|
+
"jsDoc": "/**\n * Report whether a provider reaches one of its hosts with the Host's current credentials, for the host list on the\n * Plugins page of that provider's row. The read names no Session, so, like the review page reads, only callers that\n * may use the Host's code host credentials reach it.\n * @param forge - forge family of a registered provider, such as `gitlab`.\n * @param host - host name as the provider's configuration lists it.\n * @param signal - request cancellation.\n * @returns the provider's readiness for the host; `unavailable` with the reason when no provider serves the family,\n * the probe fails, or it runs past `readinessTimeoutMs`.\n */"
|
|
5656
|
+
},
|
|
5045
5657
|
{
|
|
5046
5658
|
"kind": "method",
|
|
5047
5659
|
"name": "reviewPoll",
|
|
@@ -5063,6 +5675,20 @@ export const TYPERT = {
|
|
|
5063
5675
|
"summary": "Read the description and labels of a change request for the review page.",
|
|
5064
5676
|
"jsDoc": "/**\n * Read the description and labels of a change request for the review page.\n * @param url - web URL of the change request.\n * @param signal - request cancellation.\n * @returns the description.\n * @throws `forgePanel/unrecognized-url` when no provider serves the URL; `forgePanel/description-failed` with the\n * host's reason when the host does not provide it.\n */"
|
|
5065
5677
|
},
|
|
5678
|
+
{
|
|
5679
|
+
"kind": "method",
|
|
5680
|
+
"name": "reviewActivity",
|
|
5681
|
+
"signature": "@Remote async reviewActivity(url: string, signal: AbortSignal): Promise<ChangeRequestActivity | null>",
|
|
5682
|
+
"summary": "Read the activity of a change request for the review page: its comments, submitted reviews, commits, and changes of state.",
|
|
5683
|
+
"jsDoc": "/**\n * Read the activity of a change request for the review page: its comments, submitted reviews, commits, and changes\n * of state.\n * @param url - web URL of the change request.\n * @param signal - request cancellation.\n * @returns the activity, or null when the change request's provider reads none.\n * @throws `forgePanel/unrecognized-url` when no provider serves the URL; `forgePanel/activity-failed` with the\n * host's reason when the host does not provide it.\n */"
|
|
5684
|
+
},
|
|
5685
|
+
{
|
|
5686
|
+
"kind": "method",
|
|
5687
|
+
"name": "reviewComment",
|
|
5688
|
+
"signature": "@Remote async reviewComment(url: string, body: string, signal: AbortSignal): Promise<void>",
|
|
5689
|
+
"summary": "Add a comment to the conversation of a change request the review page shows.",
|
|
5690
|
+
"jsDoc": "/**\n * Add a comment to the conversation of a change request the review page shows.\n * @param url - web URL of the change request.\n * @param body - Markdown source of the comment.\n * @param signal - request cancellation.\n * @throws `forgePanel/unrecognized-url` when no provider serves the URL; `forgePanel/action-failed` when `body` is\n * blank, or with the host's reason; `forgePanel/action-unknown` when the host's answer did not confirm the comment.\n */"
|
|
5691
|
+
},
|
|
5066
5692
|
{
|
|
5067
5693
|
"kind": "method",
|
|
5068
5694
|
"name": "reviewChecks",
|
|
@@ -5094,9 +5720,9 @@ export const TYPERT = {
|
|
|
5094
5720
|
{
|
|
5095
5721
|
"kind": "method",
|
|
5096
5722
|
"name": "reviewDiff",
|
|
5097
|
-
"signature": "@Remote async reviewDiff(url: string, commits:
|
|
5098
|
-
"summary": "Read the changes of a change request the review page shows,
|
|
5099
|
-
"jsDoc": "/**\n * Read the changes of a change request the review page shows,
|
|
5723
|
+
"signature": "@Remote async reviewDiff(url: string, commits: ForgeChangeCommits | null, signal: AbortSignal): Promise<ForgeChangeRequestDiff>",
|
|
5724
|
+
"summary": "Read the changes of a change request the review page shows, of consecutive commits of it, or of it up to one commit.",
|
|
5725
|
+
"jsDoc": "/**\n * Read the changes of a change request the review page shows, of consecutive commits of it, or of it up to one commit.\n * @param url - web URL of the change request.\n * @param commits - consecutive commits of the change request, the commit its changes go up to, or null for all of it.\n * @param signal - request cancellation.\n * @returns the files and the commit they end at, without a local checkout count.\n * @throws as {@link ForgePanelController.changeRequestDiff} does, with `forgePanel/unrecognized-url` in place of\n * `forgePanel/not-bound`.\n */"
|
|
5100
5726
|
},
|
|
5101
5727
|
{
|
|
5102
5728
|
"kind": "method",
|
|
@@ -5140,6 +5766,13 @@ export const TYPERT = {
|
|
|
5140
5766
|
"summary": "Merge a change request the review page shows while its head is still `headSha`.",
|
|
5141
5767
|
"jsDoc": "/**\n * Merge a change request the review page shows while its head is still `headSha`.\n * @param url - web URL of the change request.\n * @param method - how the commits enter the base branch.\n * @param headSha - head commit the user confirmed.\n * @param signal - request cancellation.\n * @throws `forgePanel/unrecognized-url` when no provider serves the URL; `forgePanel/stale-head`,\n * `forgePanel/action-failed`, or `forgePanel/action-unknown` with the host's reason.\n */"
|
|
5142
5768
|
},
|
|
5769
|
+
{
|
|
5770
|
+
"kind": "method",
|
|
5771
|
+
"name": "reviewSetAutoMerge",
|
|
5772
|
+
"signature": "@Remote async reviewSetAutoMerge(url: string, request: AutoMergeRequest, signal: AbortSignal): Promise<void>",
|
|
5773
|
+
"summary": "Turn the code host's automatic merge of a change request the review page shows on, while its head is still the request's `headSha`, or off.",
|
|
5774
|
+
"jsDoc": "/**\n * Turn the code host's automatic merge of a change request the review page shows on, while its head is still the\n * request's `headSha`, or off.\n * @param url - web URL of the change request.\n * @param request - on with the merge method and the head commit the user confirmed, or off.\n * @param signal - request cancellation.\n * @throws `forgePanel/unrecognized-url` when no provider serves the URL; `forgePanel/stale-head`,\n * `forgePanel/action-failed`, or `forgePanel/action-unknown` with the host's reason.\n */"
|
|
5775
|
+
},
|
|
5143
5776
|
{
|
|
5144
5777
|
"kind": "method",
|
|
5145
5778
|
"name": "reviewRerunChecks",
|
|
@@ -5192,9 +5825,9 @@ export const TYPERT = {
|
|
|
5192
5825
|
{
|
|
5193
5826
|
"kind": "method",
|
|
5194
5827
|
"name": "diffBases",
|
|
5195
|
-
"signature": "@Remote async diffBases(session: Session, query: string, signal: AbortSignal): Promise<ForgeBaseBranches>",
|
|
5196
|
-
"summary": "List the branches the `branch` scope
|
|
5197
|
-
"jsDoc": "/**\n * List the branches the `branch` scope
|
|
5828
|
+
"signature": "@Remote async diffBases(session: Session, head: string | null, query: string, signal: AbortSignal): Promise<ForgeBaseBranches>",
|
|
5829
|
+
"summary": "List the branches the `branch` scope can compare with, for the Session's current checkout or for a head branch read in its place.",
|
|
5830
|
+
"jsDoc": "/**\n * List the branches the `branch` scope can compare with, for the Session's current checkout or for a head branch\n * read in its place.\n * @param session - Session whose checkout is read.\n * @param head - full ref of the branch the scope reads in place of the checked-out one, or null for the checkout.\n * @param query - text the branch names must contain, ignoring case; empty for every branch.\n * @param signal - request cancellation.\n * @returns the automatic fork point and at most `maxBranches` remote-tracking and local branches each,\n * most recently committed first, without the branch the scope shows and, for a head, without the Session's\n * checked-out branch, which the automatic fork point compares with; a local branch that a worktree has checked\n * out names that worktree's directory.\n * @throws `forgePanel/not-a-checkout` outside a checkout; `forgePanel/head-missing` when the head does not exist; the\n * Git error when Git fails or the listed refs exceed `maxDiffBytes`.\n */"
|
|
5198
5831
|
},
|
|
5199
5832
|
{
|
|
5200
5833
|
"kind": "method",
|
|
@@ -5228,22 +5861,29 @@ export const TYPERT = {
|
|
|
5228
5861
|
"kind": "method",
|
|
5229
5862
|
"name": "localDiff",
|
|
5230
5863
|
"signature": "@Remote async localDiff(session: Session, scope: ForgeLocalScope, signal: AbortSignal): Promise<ForgeLocalDiff>",
|
|
5231
|
-
"summary": "Read the changes one scope covers in the checkout of the Session's current directory,
|
|
5232
|
-
"jsDoc": "/**\n * Read the changes one scope covers in the checkout of the Session's\n *
|
|
5864
|
+
"summary": "Read the changes one scope covers in the checkout of the Session's current directory, or for the head branch the scope names: in the worktree that has it checked out, else from its commits.",
|
|
5865
|
+
"jsDoc": "/**\n * Read the changes one scope covers in the checkout of the Session's current directory, or for the head branch the\n * scope names: in the worktree that has it checked out, else from its commits. Git uses the Session's sandbox policy.\n * @param session - Session whose checkout is read.\n * @param scope - which changes to read.\n * @param signal - request cancellation.\n * @returns the files, the base of the `branch` scope, the untracked files left out, and the worktree read for a head.\n * @throws `forgePanel/not-a-checkout` outside a checkout; `forgePanel/head-missing` when the head the scope names\n * does not exist; `forgePanel/no-working-tree` for another scope than `branch` whose head no worktree has checked\n * out; `forgePanel/base-missing` when the base branch\n * chosen for the `branch` scope does not exist; `forgePanel/no-fork-point` for the `branch` scope without\n * a fork point; `forgePanel/commits-missing` when chosen commits are not between the fork point and HEAD in order;\n * `forgePanel/commits-not-linear` when a chosen commit's first parent is not the commit listed before it;\n * `forgePanel/filter-config-failed` when filter configuration cannot be read completely, before\n * any comparison; `forgePanel/diff-too-large` over `maxDiffBytes`; the Git error when Git fails.\n */"
|
|
5233
5866
|
},
|
|
5234
5867
|
{
|
|
5235
5868
|
"kind": "method",
|
|
5236
5869
|
"name": "localCommits",
|
|
5237
|
-
"signature": "@Remote async localCommits(session: Session, base: string | null, signal: AbortSignal): Promise<ForgeLocalCommits>",
|
|
5238
|
-
"summary": "List the commits of the `branch` scope of the Session's current checkout, which the changes view can show one or several of instead of the whole scope.",
|
|
5239
|
-
"jsDoc": "/**\n * List the commits of the `branch` scope of the Session's current checkout
|
|
5870
|
+
"signature": "@Remote async localCommits(session: Session, head: string | null, base: string | null, signal: AbortSignal): Promise<ForgeLocalCommits>",
|
|
5871
|
+
"summary": "List the commits of the `branch` scope of the Session's current checkout or of a head branch read in its place, which the changes view can show one or several of instead of the whole scope.",
|
|
5872
|
+
"jsDoc": "/**\n * List the commits of the `branch` scope of the Session's current checkout or of a head branch read in its place,\n * which the changes view can show one or several of instead of the whole scope.\n * @param session - Session whose checkout is read.\n * @param head - full ref of the branch the scope reads in place of the checked-out one, or null for the checkout.\n * @param base - the base ref of the `branch` scope, or null for its automatic fork point.\n * @param signal - request cancellation.\n * @returns the newest `maxCommits` commits between the fork point and the shown HEAD or branch, oldest first, and its commit.\n * @throws `forgePanel/not-a-checkout` outside a checkout; `forgePanel/head-missing` when the head does not exist;\n * `forgePanel/base-missing` when the base branch does not exist; `forgePanel/no-fork-point` without a fork point;\n * the Git error when Git fails or the listing exceeds `maxDiffBytes`.\n */"
|
|
5240
5873
|
},
|
|
5241
5874
|
{
|
|
5242
5875
|
"kind": "method",
|
|
5243
5876
|
"name": "localText",
|
|
5244
5877
|
"signature": "@Remote async localText(session: Session, scope: ForgeLocalScope, path: string, signal: AbortSignal): Promise<string>",
|
|
5245
|
-
"summary": "Read the new side of one changed file in a scope, which supplies the unchanged lines between its hunks: the index for `staged`, the last chosen commit for chosen commits of the `branch` scope, else the working tree.",
|
|
5246
|
-
"jsDoc": "/**\n * Read the new side of one changed file in a scope, which supplies the\n * unchanged lines between its hunks: the index for `staged`, the last chosen commit for chosen commits of\n * the `branch` scope, else the working tree.\n * @param session - Session whose checkout is read.\n * @param scope - the scope the diff was read in.\n * @param path - path relative to the checkout's top-level directory, as the diff names it.\n * @param signal - request cancellation.\n * @returns the text.\n * @throws `forgePanel/not-a-checkout` outside a checkout; `forgePanel/diff-too-large` over `maxDiffBytes`;\n * `forgePanel/commits-missing` for a chosen commit that is not a full object name; an error for a path outside\n * the checkout, binary content, or a failed read.\n */"
|
|
5878
|
+
"summary": "Read the new side of one changed file in a scope, which supplies the unchanged lines between its hunks: the index for `staged`, the last chosen commit for chosen commits of the `branch` scope, the branch for a head read from its commits, else the working tree of the checkout the scope reads.",
|
|
5879
|
+
"jsDoc": "/**\n * Read the new side of one changed file in a scope, which supplies the\n * unchanged lines between its hunks: the index for `staged`, the last chosen commit for chosen commits of\n * the `branch` scope, the branch for a head read from its commits, else the working tree of the checkout the scope reads.\n * @param session - Session whose checkout is read.\n * @param scope - the scope the diff was read in.\n * @param path - path relative to the checkout's top-level directory, as the diff names it.\n * @param signal - request cancellation.\n * @returns the text.\n * @throws `forgePanel/not-a-checkout` outside a checkout; `forgePanel/head-missing` and `forgePanel/no-working-tree`\n * as for {@link ForgePanelController.localDiff}; `forgePanel/diff-too-large` over `maxDiffBytes`;\n * `forgePanel/commits-missing` for a chosen commit that is not a full object name; an error for a path outside\n * the checkout, binary content, or a failed read.\n */"
|
|
5880
|
+
},
|
|
5881
|
+
{
|
|
5882
|
+
"kind": "method",
|
|
5883
|
+
"name": "localWrite",
|
|
5884
|
+
"signature": "@Remote async localWrite(session: Session, write: ForgeLocalWrite, signal: AbortSignal): Promise<ForgeLocalWriteResult>",
|
|
5885
|
+
"summary": "Stage, unstage, or restore whole files in the checkout of the Session's current directory, or return index entries to the tree an earlier write reported.",
|
|
5886
|
+
"jsDoc": "/**\n * Stage, unstage, or restore whole files in the checkout of the Session's current directory, or return index\n * entries to the tree an earlier write reported. The caller's press authorizes the write, so Git runs without the\n * Session's sandbox policy and under any access mode. The Session's panel inspects the checkout again afterwards,\n * whether or not the write succeeded.\n * @param session - Session whose checkout is written.\n * @param write - the write; `stage` and `restore` name each file with the digest of the change the reader saw.\n * @param signal - request cancellation.\n * @returns the index before a `stage` or `unstage` as a tree, for undoing it.\n * @throws `forgePanel/not-a-checkout` outside a checkout; `forgePanel/local-stale` before anything is written when a\n * file's unstaged change is not the one the reader saw; `forgePanel/local-path-replaced` before anything is written\n * when a deleted file's path holds a directory; the errors of {@link ForgePanelController.localDiff} for the\n * `unstaged` scope; an error for a path outside the checkout, a tree that is not a full object name, a restore of a\n * submodule or of a file without index content, or a Git failure.\n */"
|
|
5247
5887
|
},
|
|
5248
5888
|
{
|
|
5249
5889
|
"kind": "method",
|
|
@@ -5262,9 +5902,9 @@ export const TYPERT = {
|
|
|
5262
5902
|
{
|
|
5263
5903
|
"kind": "method",
|
|
5264
5904
|
"name": "changeRequestDiff",
|
|
5265
|
-
"signature": "@Remote async changeRequestDiff( session: Session, url: string, commits:
|
|
5905
|
+
"signature": "@Remote async changeRequestDiff( session: Session, url: string, commits: ForgeChangeCommits | null, signal: AbortSignal, ): Promise<ForgeChangeRequestDiff>",
|
|
5266
5906
|
"summary": "Read the changes of a change request of a Session as its code host computes them, with each file's layer following the root `.gitattributes` of the commit the diff ends at.",
|
|
5267
|
-
"jsDoc": "/**\n * Read the changes of a change request of a Session as its code host\n * computes them, with each file's layer following the root `.gitattributes`\n * of the commit the diff ends at. Without `commits` the diff covers the change\n * request at the head commit of its latest status; a patch already read at the\n * same head commit and base branch is reused from memory with its attributes, for\n * any Session, until `maxCachedDiffBytes` evicts it. With `commits`, it covers those\n * commits, from the first one's first parent to the last,
|
|
5907
|
+
"jsDoc": "/**\n * Read the changes of a change request of a Session as its code host\n * computes them, with each file's layer following the root `.gitattributes`\n * of the commit the diff ends at. Without `commits` the diff covers the change\n * request at the head commit of its latest status; a patch already read at the\n * same head commit and base branch is reused from memory with its attributes, for\n * any Session, until `maxCachedDiffBytes` evicts it. With consecutive `commits`, it covers those\n * commits, from the first one's first parent to the last; with `commits` up to one commit, it covers\n * the change request as that commit ended it, from the merge base of the status's base commit with\n * that commit, which the host reads by name whether or not the change request still lists it. Either\n * is read every time.\n * @param session - Session the change request is bound to.\n * @param url - binding URL of the change request.\n * @param commits - consecutive commits of the change request, the commit its changes go up to, or null for all of it.\n * @param signal - request cancellation.\n * @returns the files, the commit they end at, each file's web page, and the commits the checkout has beyond the head.\n * @throws `forgePanel/not-bound` unless the URL is a visible binding of the Session that a provider serves;\n * `forgePanel/commits-missing` when chosen commits are not among the change request's commits in order, and for a\n * commit to go up to that is not a full object name or that the host does not have;\n * `forgePanel/commits-not-linear` when a chosen commit's first parent is not the commit listed before it;\n * `forgePanel/stale-head` without `commits` when the head moved past the latest status, which is then polled again;\n * `forgePanel/diff-too-large` when the host or its provider refuses the diff over a size limit;\n * `forgePanel/diff-failed` before its status was read, for a first chosen commit without a parent, for changes up\n * to a commit while the status names no base commit, and when the host does not provide the commits, the merge\n * base, the diff, or an existing `.gitattributes` otherwise.\n */"
|
|
5268
5908
|
},
|
|
5269
5909
|
{
|
|
5270
5910
|
"kind": "method",
|
|
@@ -5343,6 +5983,13 @@ export const TYPERT = {
|
|
|
5343
5983
|
"summary": "Merge a change request of a Session while its head is still `headSha`; the change request is polled again once the host answers.",
|
|
5344
5984
|
"jsDoc": "/**\n * Merge a change request of a Session while its head is still `headSha`;\n * the change request is polled again once the host answers.\n * @param session - Session the change request is bound to.\n * @param url - binding URL of the change request.\n * @param method - how the commits enter the base branch.\n * @param headSha - head commit the user confirmed.\n * @param signal - request cancellation.\n * @throws `forgePanel/not-bound` unless the URL is a visible binding of the Session that a provider serves;\n * `forgePanel/stale-head` when the head moved past `headSha`; `forgePanel/action-failed` with the host's\n * reason when the host refuses otherwise or cannot be reached.\n */"
|
|
5345
5985
|
},
|
|
5986
|
+
{
|
|
5987
|
+
"kind": "method",
|
|
5988
|
+
"name": "setAutoMerge",
|
|
5989
|
+
"signature": "@Remote async setAutoMerge(session: Session, url: string, request: AutoMergeRequest, signal: AbortSignal): Promise<void>",
|
|
5990
|
+
"summary": "Turn the code host's automatic merge of a change request of a Session on, while its head is still the request's `headSha`, or off; the change request is polled again once the host answers.",
|
|
5991
|
+
"jsDoc": "/**\n * Turn the code host's automatic merge of a change request of a Session on, while its head is still the request's\n * `headSha`, or off; the change request is polled again once the host answers.\n * @param session - Session the change request is bound to.\n * @param url - binding URL of the change request.\n * @param request - on with the merge method and the head commit the user confirmed, or off.\n * @param signal - request cancellation.\n * @throws `forgePanel/not-bound` unless the URL is a visible binding of the Session that a provider serves;\n * `forgePanel/stale-head` when the head moved past the request's `headSha`; `forgePanel/action-failed` with the\n * host's reason when the host refuses otherwise, cannot be reached, or sets no automatic merge;\n * `forgePanel/action-unknown` when the host's answer did not confirm the change.\n */"
|
|
5992
|
+
},
|
|
5346
5993
|
{
|
|
5347
5994
|
"kind": "method",
|
|
5348
5995
|
"name": "rerunChecks",
|
|
@@ -5475,6 +6122,10 @@ export const TYPERT = {
|
|
|
5475
6122
|
"name": "AttachmentId",
|
|
5476
6123
|
"declaration": "export type AttachmentId = Branded<'AttachmentId'>;"
|
|
5477
6124
|
},
|
|
6125
|
+
{
|
|
6126
|
+
"name": "AutoMergeRequest",
|
|
6127
|
+
"declaration": "export type AutoMergeRequest = { readonly enabled: true; readonly method: MergeMethod; readonly headSha: string; } | { readonly enabled: false; };"
|
|
6128
|
+
},
|
|
5478
6129
|
{
|
|
5479
6130
|
"name": "BindingOrigin",
|
|
5480
6131
|
"declaration": "export type BindingOrigin = 'created' | 'referenced' | 'discovered' | 'tracked';"
|
|
@@ -5491,6 +6142,18 @@ export const TYPERT = {
|
|
|
5491
6142
|
"name": "BrandedNumber",
|
|
5492
6143
|
"declaration": "export type BrandedNumber<B extends string> = number & { readonly [BRAND]: B; };"
|
|
5493
6144
|
},
|
|
6145
|
+
{
|
|
6146
|
+
"name": "ChangeRequestActivity",
|
|
6147
|
+
"declaration": "export interface ChangeRequestActivity {\n readonly items: readonly ChangeRequestActivityItem[];\n readonly truncated: boolean;\n readonly viewerCanComment: boolean;\n}"
|
|
6148
|
+
},
|
|
6149
|
+
{
|
|
6150
|
+
"name": "ChangeRequestActivityItem",
|
|
6151
|
+
"declaration": "export type ChangeRequestActivityItem = { readonly at: string; readonly actor: ForgeCommentAuthor | null; } & ({ readonly kind: 'comment'; readonly body: string; readonly url: string | null; } | { readonly kind: 'review'; readonly verdict: ReviewVerdict; readonly body: string; readonly comments: number; readonly url: string | null; } | { readonly kind: 'commit'; readonly sha: string; readonly title: string; } | { readonly kind: 'merged' | 'closed' | 'reopened' | 'ready-for-review' | 'converted-to-draft' | 'force-pushed'; } | { readonly kind: 'auto-merge-enabled' | 'auto-merge-disabled'; } | { readonly kind: 'review-requested'; readonly reviewer: string | null; } | { readonly kind: 'renamed'; readonly from: string; readonly to: string; } | { readonly kind: 'other'; readonly text: string; });"
|
|
6152
|
+
},
|
|
6153
|
+
{
|
|
6154
|
+
"name": "ChangeRequestAutoMerge",
|
|
6155
|
+
"declaration": "export interface ChangeRequestAutoMerge {\n readonly enabled: boolean;\n readonly method: MergeMethod | null;\n readonly enabledBy: string | null;\n readonly canEnable: boolean;\n readonly canDisable: boolean;\n}"
|
|
6156
|
+
},
|
|
5494
6157
|
{
|
|
5495
6158
|
"name": "ChangeRequestCheck",
|
|
5496
6159
|
"declaration": "export interface ChangeRequestCheck {\n readonly name: string;\n readonly state: CheckState;\n readonly url: string | null;\n readonly workflow: string | null;\n readonly startedAt: string | null;\n readonly completedAt: string | null;\n readonly rerun: ForgeCheckId | null;\n}"
|
|
@@ -5525,7 +6188,7 @@ export const TYPERT = {
|
|
|
5525
6188
|
},
|
|
5526
6189
|
{
|
|
5527
6190
|
"name": "ChangeRequestSnapshot",
|
|
5528
|
-
"declaration": "export interface ChangeRequestSnapshot {\n readonly ref: ChangeRequestRef;\n readonly url: string;\n readonly title: string;\n readonly state: ChangeRequestState;\n readonly draft: boolean;\n readonly author: string | null;\n readonly headBranch: string;\n readonly headSha: string;\n readonly baseBranch: string;\n readonly baseSha?: string;\n readonly additions: number;\n readonly deletions: number;\n readonly mergeability: Mergeability;\n readonly mergeReady: boolean;\n readonly mergeMethods: readonly MergeMethod[];\n readonly branchUpdates: readonly BranchUpdateMethod[];\n readonly reviewDecision: ReviewDecision;\n readonly reviewers: readonly ChangeRequestReviewer[];\n readonly reviewersTruncated: boolean;\n readonly canRequestReviews: boolean;\n readonly checks: readonly ChangeRequestCheck[];\n readonly checksRollup: ChecksRollup;\n readonly checksTruncated: boolean;\n readonly canRerunChecks: boolean;\n readonly unresolvedThreads: number;\n readonly threadsTruncated: boolean;\n readonly closingIssues: readonly ChangeRequestIssue[];\n readonly closingIssuesTruncated: boolean;\n readonly updatedAt: string;\n readonly closedAt: string | null;\n}"
|
|
6191
|
+
"declaration": "export interface ChangeRequestSnapshot {\n readonly ref: ChangeRequestRef;\n readonly url: string;\n readonly title: string;\n readonly state: ChangeRequestState;\n readonly draft: boolean;\n readonly author: string | null;\n readonly headBranch: string;\n readonly headSha: string;\n readonly baseBranch: string;\n readonly baseSha?: string;\n readonly additions: number;\n readonly deletions: number;\n readonly mergeability: Mergeability;\n readonly mergeReady: boolean;\n readonly mergeMethods: readonly MergeMethod[];\n readonly autoMerge?: ChangeRequestAutoMerge;\n readonly branchUpdates: readonly BranchUpdateMethod[];\n readonly reviewDecision: ReviewDecision;\n readonly reviewers: readonly ChangeRequestReviewer[];\n readonly reviewersTruncated: boolean;\n readonly canRequestReviews: boolean;\n readonly checks: readonly ChangeRequestCheck[];\n readonly checksRollup: ChecksRollup;\n readonly checksTruncated: boolean;\n readonly canRerunChecks: boolean;\n readonly unresolvedThreads: number;\n readonly threadsTruncated: boolean;\n readonly closingIssues: readonly ChangeRequestIssue[];\n readonly closingIssuesTruncated: boolean;\n readonly updatedAt: string;\n readonly closedAt: string | null;\n}"
|
|
5529
6192
|
},
|
|
5530
6193
|
{
|
|
5531
6194
|
"name": "ChangeRequestState",
|
|
@@ -5533,7 +6196,7 @@ export const TYPERT = {
|
|
|
5533
6196
|
},
|
|
5534
6197
|
{
|
|
5535
6198
|
"name": "ChangeRequestSummary",
|
|
5536
|
-
"declaration": "export interface ChangeRequestSummary {\n readonly ref: ChangeRequestRef;\n readonly url: string;\n readonly title: string;\n readonly draft: boolean;\n readonly author: ForgeCommentAuthor | null;\n readonly headSha: string;\n readonly checksRollup: ChecksRollup;\n readonly reviewDecision: ReviewDecision;\n readonly viewerReview: ChangeRequestViewerReview | null;\n readonly viewerRequest: { readonly team: string | null; } | null;\n readonly
|
|
6199
|
+
"declaration": "export interface ChangeRequestSummary {\n readonly ref: ChangeRequestRef;\n readonly url: string;\n readonly title: string;\n readonly draft: boolean;\n readonly author: ForgeCommentAuthor | null;\n readonly headSha: string;\n readonly checksRollup: ChecksRollup;\n readonly reviewDecision: ReviewDecision;\n readonly viewerReview: ChangeRequestViewerReview | null;\n readonly viewerRequest: { readonly team: string | null; } | null;\n readonly updatedAt: string;\n}"
|
|
5537
6200
|
},
|
|
5538
6201
|
{
|
|
5539
6202
|
"name": "ChangeRequestUpdate",
|
|
@@ -5645,12 +6308,16 @@ export const TYPERT = {
|
|
|
5645
6308
|
},
|
|
5646
6309
|
{
|
|
5647
6310
|
"name": "ForgeBaseBranch",
|
|
5648
|
-
"declaration": "export interface ForgeBaseBranch {\n readonly ref: string;\n readonly name: string;\n}"
|
|
6311
|
+
"declaration": "export interface ForgeBaseBranch {\n readonly ref: string;\n readonly name: string;\n readonly worktree?: string;\n}"
|
|
5649
6312
|
},
|
|
5650
6313
|
{
|
|
5651
6314
|
"name": "ForgeBaseBranches",
|
|
5652
6315
|
"declaration": "export interface ForgeBaseBranches {\n readonly automatic: ForgeAutomaticBase | null;\n readonly remote: readonly ForgeBaseBranch[];\n readonly local: readonly ForgeBaseBranch[];\n}"
|
|
5653
6316
|
},
|
|
6317
|
+
{
|
|
6318
|
+
"name": "ForgeChangeCommits",
|
|
6319
|
+
"declaration": "export type ForgeChangeCommits = ForgeCommitRange | ForgeCommitsUpTo;"
|
|
6320
|
+
},
|
|
5654
6321
|
{
|
|
5655
6322
|
"name": "ForgeChangedFile",
|
|
5656
6323
|
"declaration": "export interface ForgeChangedFile {\n readonly path: string;\n readonly additions: number;\n readonly deletions: number;\n readonly binary: boolean;\n}"
|
|
@@ -5699,13 +6366,17 @@ export const TYPERT = {
|
|
|
5699
6366
|
"name": "ForgeCommitRange",
|
|
5700
6367
|
"declaration": "export interface ForgeCommitRange {\n readonly from: string;\n readonly to: string;\n}"
|
|
5701
6368
|
},
|
|
6369
|
+
{
|
|
6370
|
+
"name": "ForgeCommitsUpTo",
|
|
6371
|
+
"declaration": "export interface ForgeCommitsUpTo {\n readonly upTo: string;\n}"
|
|
6372
|
+
},
|
|
5702
6373
|
{
|
|
5703
6374
|
"name": "ForgeDescription",
|
|
5704
6375
|
"declaration": "export interface ForgeDescription {\n readonly forge: string;\n readonly label: string;\n readonly changeRequestNoun: ChangeRequestNoun;\n}"
|
|
5705
6376
|
},
|
|
5706
6377
|
{
|
|
5707
6378
|
"name": "ForgeDiffFile",
|
|
5708
|
-
"declaration": "export interface ForgeDiffFile {\n readonly path: string;\n readonly previousPath: string | null;\n readonly status: ForgeDiffStatus;\n readonly binary: boolean;\n readonly oversized: boolean;\n readonly untracked: boolean;\n readonly additions: number;\n readonly deletions: number;\n readonly hunks: readonly ForgeDiffHunk[];\n readonly layer: ForgeFileLayer;\n readonly digest: string;\n}"
|
|
6379
|
+
"declaration": "export interface ForgeDiffFile {\n readonly path: string;\n readonly previousPath: string | null;\n readonly status: ForgeDiffStatus;\n readonly binary: boolean;\n readonly oversized: boolean;\n readonly untracked: boolean;\n readonly submodule: boolean;\n readonly additions: number;\n readonly deletions: number;\n readonly hunks: readonly ForgeDiffHunk[];\n readonly layer: ForgeFileLayer;\n readonly digest: string;\n}"
|
|
5709
6380
|
},
|
|
5710
6381
|
{
|
|
5711
6382
|
"name": "ForgeDiffHunk",
|
|
@@ -5753,7 +6424,7 @@ export const TYPERT = {
|
|
|
5753
6424
|
},
|
|
5754
6425
|
{
|
|
5755
6426
|
"name": "ForgeLensRequest",
|
|
5756
|
-
"declaration": "export interface ForgeLensRequest {\n readonly source: { readonly kind: 'local'; readonly scope: ForgeLocalScope; } | { readonly kind: 'change'; readonly url: string; readonly commits:
|
|
6427
|
+
"declaration": "export interface ForgeLensRequest {\n readonly source: { readonly kind: 'local'; readonly scope: ForgeLocalScope; } | { readonly kind: 'change'; readonly url: string; readonly commits: ForgeChangeCommits | null; };\n readonly version: string;\n readonly lens: string;\n}"
|
|
5757
6428
|
},
|
|
5758
6429
|
{
|
|
5759
6430
|
"name": "ForgeLensResult",
|
|
@@ -5781,11 +6452,23 @@ export const TYPERT = {
|
|
|
5781
6452
|
},
|
|
5782
6453
|
{
|
|
5783
6454
|
"name": "ForgeLocalDiff",
|
|
5784
|
-
"declaration": "export interface ForgeLocalDiff {\n readonly base: string | null;\n readonly files: readonly ForgeDiffFile[];\n readonly omitted: number;\n}"
|
|
6455
|
+
"declaration": "export interface ForgeLocalDiff {\n readonly base: string | null;\n readonly files: readonly ForgeDiffFile[];\n readonly omitted: number;\n readonly worktree?: string;\n}"
|
|
5785
6456
|
},
|
|
5786
6457
|
{
|
|
5787
6458
|
"name": "ForgeLocalScope",
|
|
5788
|
-
"declaration": "export type ForgeLocalScope = { readonly kind: 'branch'; readonly base: string | null; readonly commits: ForgeCommitRange | null; } | { readonly kind: 'uncommitted'; } | { readonly kind: 'unstaged'; } | { readonly kind: 'staged'; };"
|
|
6459
|
+
"declaration": "export type ForgeLocalScope = { readonly kind: 'branch'; readonly head?: string; readonly base: string | null; readonly commits: ForgeCommitRange | null; } | { readonly kind: 'uncommitted'; readonly head?: string; } | { readonly kind: 'unstaged'; readonly head?: string; } | { readonly kind: 'staged'; readonly head?: string; };"
|
|
6460
|
+
},
|
|
6461
|
+
{
|
|
6462
|
+
"name": "ForgeLocalWrite",
|
|
6463
|
+
"declaration": "export type ForgeLocalWrite = { readonly kind: 'stage'; readonly files: readonly ForgeLocalWriteFile[]; } | { readonly kind: 'unstage'; readonly paths: readonly string[]; } | { readonly kind: 'restore'; readonly files: readonly ForgeLocalWriteFile[]; } | { readonly kind: 'reindex'; readonly tree: string; readonly paths: readonly string[]; };"
|
|
6464
|
+
},
|
|
6465
|
+
{
|
|
6466
|
+
"name": "ForgeLocalWriteFile",
|
|
6467
|
+
"declaration": "export interface ForgeLocalWriteFile {\n readonly path: string;\n readonly digest: string;\n}"
|
|
6468
|
+
},
|
|
6469
|
+
{
|
|
6470
|
+
"name": "ForgeLocalWriteResult",
|
|
6471
|
+
"declaration": "export interface ForgeLocalWriteResult {\n readonly undo: string | null;\n}"
|
|
5789
6472
|
},
|
|
5790
6473
|
{
|
|
5791
6474
|
"name": "ForgeMissingWorktree",
|
|
@@ -5861,7 +6544,7 @@ export const TYPERT = {
|
|
|
5861
6544
|
},
|
|
5862
6545
|
{
|
|
5863
6546
|
"name": "ForgeReviewHost",
|
|
5864
|
-
"declaration": "export interface ForgeReviewHost {\n readonly forge: string;\n readonly host: string;\n readonly viewer: string | null;\n readonly lists: Partial<Readonly<Record<ForgeViewerFilter, ForgeReviewList>>>;\n}"
|
|
6547
|
+
"declaration": "export interface ForgeReviewHost {\n readonly forge: string;\n readonly host: string;\n readonly viewer: string | null;\n readonly signIn: string | null;\n readonly lists: Partial<Readonly<Record<ForgeViewerFilter, ForgeReviewList>>>;\n}"
|
|
5865
6548
|
},
|
|
5866
6549
|
{
|
|
5867
6550
|
"name": "ForgeReviewId",
|
|
@@ -5871,6 +6554,10 @@ export const TYPERT = {
|
|
|
5871
6554
|
"name": "ForgeReviewList",
|
|
5872
6555
|
"declaration": "export interface ForgeReviewList {\n readonly items: readonly ChangeRequestSummary[] | null;\n readonly total: number;\n readonly fetchedAt: number | null;\n readonly failure: ForgeFailure | null;\n}"
|
|
5873
6556
|
},
|
|
6557
|
+
{
|
|
6558
|
+
"name": "ForgeReviewRepository",
|
|
6559
|
+
"declaration": "export interface ForgeReviewRepository {\n readonly host: string;\n readonly owner: string;\n readonly name: string;\n}"
|
|
6560
|
+
},
|
|
5874
6561
|
{
|
|
5875
6562
|
"name": "ForgeReviewRequest",
|
|
5876
6563
|
"declaration": "export type ForgeReviewRequest = { readonly headSha: string; } & ({ readonly kind: 'comment'; readonly comment: ForgeLineComment; } | { readonly kind: 'review'; readonly event: ForgeReviewEvent; readonly body: string; readonly comments: readonly ForgeLineComment[]; });"
|
|
@@ -6125,7 +6812,7 @@ export const TYPERT = {
|
|
|
6125
6812
|
},
|
|
6126
6813
|
{
|
|
6127
6814
|
"name": "MessageSourceMap",
|
|
6128
|
-
"declaration": "export interface MessageSourceMap {\n user: { kind: 'user'; };\n model: ModelMessageSource;\n tool: ToolMessageSource;\n 'system-prompt': SystemPromptMessageSource;\n 'model-selection': { kind: 'model-selection'; } & ContextFormed;\n 'skill-invocation': SkillInvocationSource;\n 'working-directory': { kind: 'working-directory'; };\n 'action-cards': { kind: 'action-cards'; through: SessionSeq; } & ContextFormed;\n 'tool-registry': { kind: 'tool-registry'; };\n 'runtime-context': { kind: 'runtime-context'; } & ContextFormed;\n 'team-message': TeamMessageSource;\n '
|
|
6815
|
+
"declaration": "export interface MessageSourceMap {\n user: { kind: 'user'; };\n model: ModelMessageSource;\n tool: ToolMessageSource;\n 'system-prompt': SystemPromptMessageSource;\n 'model-selection': { kind: 'model-selection'; } & ContextFormed;\n 'skill-invocation': SkillInvocationSource;\n 'working-directory': { kind: 'working-directory'; };\n 'action-cards': { kind: 'action-cards'; through: SessionSeq; } & ContextFormed;\n 'user-approval': { kind: 'user-approval'; } & ContextFormed;\n 'tool-registry': { kind: 'tool-registry'; };\n 'runtime-context': { kind: 'runtime-context'; } & ContextFormed;\n 'team-message': TeamMessageSource;\n 'todo-reminder': { kind: 'todo-reminder'; } & ContextFormed;\n 'agent-message': AgentMessageSource;\n 'subagent-settled': SubagentSettledMessageSource;\n 'user-rpc': { kind: 'user'; rpcId: SessionRequestId; clientTimeZone?: string; principal?: Principal; };\n 'retry-rpc': { kind: 'retry'; rpcId: SessionRequestId; clientTimeZone?: string; principal?: Principal; };\n 'plugin-reference': PluginReferenceSource;\n im: { kind: 'im'; } & ContextFormed;\n 'ptc-mode': { kind: 'ptc-mode'; };\n 'compact-checkpoint': CompactionCheckpointSource;\n 'cordis-host-runner': { kind: 'cordis-host-runner'; };\n 'user-question-reply': { kind: 'user-question-reply'; callId: ToolCallId; outcome: 'answered'; };\n 'cua-held-inputs': { kind: 'cua-held-inputs'; } & Extract<ContextFormed, { form: 'notice'; }>;\n 'cua-inputs-released': { kind: 'cua-inputs-released'; } & Extract<ContextFormed, { form: 'notice'; }>;\n goal: GoalMessageSource;\n 'plan-mode': { kind: 'plan-mode'; } & ContextFormed;\n schedule: { kind: 'schedule'; } & ContextFormed;\n 'session-auto-resume': { readonly kind: 'session-auto-resume'; };\n 'session-reference': SessionReferenceSource;\n 'timeline-priority': { kind: 'timeline-priority'; form: 'notice'; summary: string; };\n webhook: { readonly kind: 'webhook'; readonly provider: string; readonly source: WebhookSourceId; readonly deliveryId: WebhookDeliveryId; readonly ruleId: WebhookRuleId; readonly form: 'notice'; readonly summary: string; };\n}"
|
|
6129
6816
|
},
|
|
6130
6817
|
{
|
|
6131
6818
|
"name": "ModelMessageSource",
|
|
@@ -6147,6 +6834,10 @@ export const TYPERT = {
|
|
|
6147
6834
|
"name": "OptionalSessionSeq",
|
|
6148
6835
|
"declaration": "export type OptionalSessionSeq = SessionSeq | null;"
|
|
6149
6836
|
},
|
|
6837
|
+
{
|
|
6838
|
+
"name": "PluginReferenceSource",
|
|
6839
|
+
"declaration": "export interface PluginReferenceSource {\n readonly kind: 'plugin-reference';\n readonly form: 'recall';\n readonly version: 1;\n readonly packages: readonly { readonly packageName: string; readonly label: string; }[];\n}"
|
|
6840
|
+
},
|
|
6150
6841
|
{
|
|
6151
6842
|
"name": "Principal",
|
|
6152
6843
|
"declaration": "export type Principal = PrincipalMap[keyof PrincipalMap];"
|
|
@@ -6167,6 +6858,10 @@ export const TYPERT = {
|
|
|
6167
6858
|
"name": "PtcDispatchStartEventData",
|
|
6168
6859
|
"declaration": "export interface PtcDispatchStartEventData {\n rootCallId: ToolCallId;\n parentCallId: ToolCallId;\n subCallId: ToolCallId;\n name: string;\n arguments: unknown;\n}"
|
|
6169
6860
|
},
|
|
6861
|
+
{
|
|
6862
|
+
"name": "ReadonlySessionData",
|
|
6863
|
+
"declaration": "export interface ReadonlySessionData {\n readonly header: SessionHeader;\n readonly inheritedEventCount: SessionLogOffset;\n readonly seq: SessionLogOffset;\n readonly isEmpty: boolean;\n readonly persistedEventCount?: SessionLogOffset;\n readEvents(fromSeq?: SessionLogOffset, toSeqExclusive?: SessionLogOffset): Promise<readonly SessionEvent[]>;\n eventAt(seq: SessionSeq): SessionEvent | undefined;\n snapshotEvents(fromSeq?: SessionLogOffset, toSeqExclusive?: SessionLogOffset): readonly SessionEvent[];\n evaluateState<S>(definition: SessionStateDefinition<string, S>): S;\n fork(childId: SessionId, options: SessionForkOptions): Promise<SessionData>;\n}"
|
|
6864
|
+
},
|
|
6170
6865
|
{
|
|
6171
6866
|
"name": "ReasoningBlock",
|
|
6172
6867
|
"declaration": "export interface ReasoningBlock {\n type: 'reasoning';\n text: string;\n}"
|
|
@@ -6225,12 +6920,16 @@ export const TYPERT = {
|
|
|
6225
6920
|
},
|
|
6226
6921
|
{
|
|
6227
6922
|
"name": "Session",
|
|
6228
|
-
"declaration": "export
|
|
6923
|
+
"declaration": "export interface Session {\n readonly surface: SessionSurface;\n readonly header: SessionHeader;\n readonly inheritedEventCount: SessionLogOffset;\n readonly id: SessionId;\n readonly firstLiveSeq: SessionLogOffset;\n readonly firstLifecycleSeq: SessionLogOffset;\n eventAt(seq: SessionSeq): SessionEvent | undefined;\n snapshotEvents(fromSeq?: SessionLogOffset, toSeqExclusive?: SessionLogOffset): readonly SessionEvent[];\n readEvents(fromSeq?: SessionLogOffset, toSeqExclusive?: SessionLogOffset): Promise<readonly SessionEvent[]>;\n ownEvents(): readonly SessionEvent[];\n isOwnSeq(seq: SessionSeq): boolean;\n readonly seq: SessionLogOffset;\n readonly currentBatchPublication: SessionEvent | undefined;\n append(inputs: readonly SessionEventInput[]): readonly SessionEvent[];\n append<T extends SessionEventType>(type: T, data: SessionEventMap[T], ...opts: T extends SurfaceEventType ? [opts: SurfaceIntent<T>] : []): SessionEvent<T>;\n requestHeader(): EpochHeader | undefined;\n requestContext(): RequestContext | undefined;\n toolHistory(): ToolHistory;\n deriveMessages(): Message[];\n deriveEventMessage(event: SessionEvent): Message | null;\n readonlyView(): ReadonlySessionData;\n}"
|
|
6229
6924
|
},
|
|
6230
6925
|
{
|
|
6231
6926
|
"name": "SessionChangeRequest",
|
|
6232
6927
|
"declaration": "export interface SessionChangeRequest {\n readonly url: string;\n readonly origin: BindingOrigin;\n readonly ref: ChangeRequestRef | null;\n readonly update: ChangeRequestUpdate | null;\n}"
|
|
6233
6928
|
},
|
|
6929
|
+
{
|
|
6930
|
+
"name": "SessionData",
|
|
6931
|
+
"declaration": "export interface SessionData extends ReadonlySessionData {\n append(events: readonly SessionEvent[]): void;\n flush(): Promise<void>;\n close(): Promise<void>;\n readonlyView(): ReadonlySessionData;\n}"
|
|
6932
|
+
},
|
|
6234
6933
|
{
|
|
6235
6934
|
"name": "SessionEvent",
|
|
6236
6935
|
"declaration": "export type SessionEvent<T extends SessionEventType = SessionEventType> = { [K in SessionEventType]: { type: K; seq: SessionSeq; time: number; data: SessionEventMap[K]; ignorable?: true; } & (K extends SurfaceEventType ? SurfaceIntent<K> : { surfaceOp?: never; sourceEventSeqs?: never; }) }[T];"
|
|
@@ -6241,15 +6940,27 @@ export const TYPERT = {
|
|
|
6241
6940
|
},
|
|
6242
6941
|
{
|
|
6243
6942
|
"name": "SessionEventMap",
|
|
6244
|
-
"declaration": "export interface SessionEventMap {\n 'turn/start': { turn: number; };\n 'turn/end': { turn: number; reason: TurnEndReason; };\n 'step/start': { turn: number; step: number; };\n 'step/end': { turn: number; step: number; };\n 'user/message': UserMessage;\n 'developer/message': { turn: number; step: number; message: DeveloperMessage; headerSeq?: SessionSeq; };\n 'system/message': { turn: number; step: number; message: SystemMessage; };\n 'assistant/message': { turn: number; step: number; message: AssistantMessage; stream: AssistantStreamRecord[]; usage?: TokenUsage; interrupted?: true; };\n 'assistant/attempt': { turn: number; step: number; stream: AssistantStreamRecord[]; };\n 'tool/call': { turn: number; step: number; callId: ToolCallId; name: string; arguments: string; };\n 'tool/result': { turn: number; step: number; message: ToolResultMessage; error?: { name: string; code: string; reason?: string; }; meta?: JsonValue; };\n 'request/header': { header: EpochHeader; reason: RequestHeaderReason; startsSeries?: true; };\n 'request/context': RequestContext;\n 'session/end-seed': { inherited?: true; };\n 'agent/inbox/spliced': { target: InboxTarget; start: number; removedCount?: number; inserted: UserMessage[]; outcome?: 'canceled'; };\n 'model/selection': ModelSelection;\n 'working-directory/change': { cwd: string; };\n 'workspace-root/change': { cwd: string; };\n 'sandbox/mode': { mode: SandboxMode; source?: 'delegation'; };\n 'action-cards/decision': ActionCardDecision;\n 'agent-preset/selected': { agentPreset: string; };\n 'team/mode': { enabled: boolean; };\n 'team/member': { version: 2; teamId: TeamId; member: TeamMemberSnapshot; };\n 'team/task': { version: 2; teamId: TeamId; task: TeamTaskSnapshot; };\n 'team/message/queued': { version: 2; teamId: TeamId; message: TeamMessageSnapshot; };\n 'team/message/delivered': { version: 2; teamId: TeamId; messageId: TeamMessageId; targetId: SessionId; };\n 'image/offload': { targets: ImageOffloadTarget[]; };\n 'session/title': SessionTitleEventData;\n 'todo/write': { todos: TodoItem[]; };\n '
|
|
6943
|
+
"declaration": "export interface SessionEventMap {\n 'turn/start': { turn: number; };\n 'turn/end': { turn: number; reason: TurnEndReason; };\n 'step/start': { turn: number; step: number; };\n 'step/end': { turn: number; step: number; };\n 'user/message': UserMessage;\n 'developer/message': { turn: number; step: number; message: DeveloperMessage; headerSeq?: SessionSeq; };\n 'system/message': { turn: number; step: number; message: SystemMessage; };\n 'assistant/message': { turn: number; step: number; message: AssistantMessage; stream: AssistantStreamRecord[]; usage?: TokenUsage; interrupted?: true; };\n 'assistant/attempt': { turn: number; step: number; stream: AssistantStreamRecord[]; };\n 'tool/call': { turn: number; step: number; callId: ToolCallId; name: string; arguments: string; };\n 'tool/result': { turn: number; step: number; message: ToolResultMessage; error?: { name: string; code: string; reason?: string; }; meta?: JsonValue; };\n 'request/header': { header: EpochHeader; reason: RequestHeaderReason; startsSeries?: true; };\n 'request/context': RequestContext;\n 'session/end-seed': { inherited?: true; };\n 'agent/inbox/spliced': { target: InboxTarget; start: number; removedCount?: number; inserted: UserMessage[]; outcome?: 'canceled'; };\n 'model/selection': ModelSelection;\n 'working-directory/change': { cwd: string; };\n 'workspace-root/change': { cwd: string; environment?: { id: string; cwd: string; }; };\n 'sandbox/mode': { mode: SandboxMode; source?: 'delegation'; };\n 'action-cards/decision': ActionCardDecision;\n 'approval/asked': { id: ApprovalRequestId; toolName: string; callId?: ToolCallId; reason?: string; };\n 'approval/decided': { id: ApprovalRequestId; outcome: ApprovalOutcome; };\n 'approval/policy': { policy: ApprovalPolicy; source?: 'delegation'; };\n 'agent-preset/selected': { agentPreset: string; };\n 'team/mode': { enabled: boolean; };\n 'team/member': { version: 2; teamId: TeamId; member: TeamMemberSnapshot; };\n 'team/task': { version: 2; teamId: TeamId; task: TeamTaskSnapshot; };\n 'team/message/queued': { version: 2; teamId: TeamId; message: TeamMessageSnapshot; };\n 'team/message/delivered': { version: 2; teamId: TeamId; messageId: TeamMessageId; targetId: SessionId; };\n 'image/offload': { targets: ImageOffloadTarget[]; };\n 'session/title': SessionTitleEventData;\n 'todo/write': { todos: TodoItem[]; };\n 'command/run': { commandId: CommandId; name: string; args?: string; source: CommandSource; };\n 'command/done': { commandId: CommandId; kind: 'success' | 'error'; text?: string; sourceEventSeq?: import('@deepseek-ai/dsh-session/types').SessionSeq; };\n 'permission/preset': { preset: string; };\n 'subagent/descriptor': SubagentDescriptorData;\n 'subagent/catalog': SubagentCatalogEvent;\n 'job/registered': JobRegisteredData;\n 'job/settled': JobSettledData;\n 'compaction/start': { compactionId: CompactionId; sourceCommandId?: CommandId; turn: number | null; };\n 'compaction/summary': { compactionId: CompactionId; sourceCommandId?: CommandId; summary: ContentBlock[]; shadowedRange: { start: SessionSeq; end: SessionSeq; }; shadowedSeqs: SessionSeq[]; shadowedTokenCount: number; provider: string; model: string; maxTokens?: number; usage?: TokenUsage; } & ({ rawOutput: ContentBlock[]; llmStreamCall: true; } | { rawOutput?: ContentBlock[]; llmStreamCall?: never; });\n 'compaction/end': { compactionId: CompactionId; sourceCommandId?: CommandId; turn: number | null; error?: string; };\n 'compaction/prune': { shadowedRange: { start: SessionSeq; end: SessionSeq; }; shadowedSeqs: SessionSeq[]; shadowedTokenCount: number; };\n 'tool/ptc-dispatch-start': PtcDispatchStartEventData;\n 'tool/ptc-dispatch': PtcDispatchEventData;\n 'feedback/record': FeedbackRecord;\n 'llm/retry': LlmRetryEventData;\n 'llm/retry-started': LlmRetryStartedEventData;\n 'goal/change': GoalChangeMeta;\n 'feedback/message-put': MessageFeedbackPut;\n 'feedback/message-delete': MessageFeedbackDelete;\n 'plan/mode': { active: boolean; };\n 'schedule/change': ScheduleChange;\n 'session-log-deepseek/delivery-accepted': { sessionId: import('@deepseek-ai/dsh-session/types').SessionId; sessionFormatVersion?: number; throughSeq: import('@deepseek-ai/dsh-session/types').SessionSeq; };\n 'subagent/model-selection-policy': { allowedModels: AllowedModelRoute[]; };\n 'workspace/changes': { turn: number; };\n}"
|
|
6245
6944
|
},
|
|
6246
6945
|
{
|
|
6247
6946
|
"name": "SessionEventType",
|
|
6248
6947
|
"declaration": "export type SessionEventType = keyof SessionEventMap;"
|
|
6249
6948
|
},
|
|
6949
|
+
{
|
|
6950
|
+
"name": "SessionForkMeta",
|
|
6951
|
+
"declaration": "export type SessionForkMeta = Pick<SessionHeaderMeta, 'cwd' | 'parentSession' | 'origin' | 'delegationDepth' | 'agentPreset'>;"
|
|
6952
|
+
},
|
|
6953
|
+
{
|
|
6954
|
+
"name": "SessionForkOptions",
|
|
6955
|
+
"declaration": "export interface SessionForkOptions {\n readonly at: SessionSeq;\n readonly meta?: SessionForkMeta;\n}"
|
|
6956
|
+
},
|
|
6250
6957
|
{
|
|
6251
6958
|
"name": "SessionHeader",
|
|
6252
|
-
"declaration": "export interface SessionHeader {\n readonly version: typeof SESSION_FORMAT_VERSION;\n readonly id: SessionId;\n readonly createdAt: number;\n readonly cwd?: string;\n readonly parentSession?: SessionId;\n readonly isSeeded: boolean;\n readonly origin?:
|
|
6959
|
+
"declaration": "export interface SessionHeader {\n readonly version: typeof SESSION_FORMAT_VERSION;\n readonly id: SessionId;\n readonly createdAt: number;\n readonly cwd?: string;\n readonly parentSession?: SessionId;\n readonly isSeeded: boolean;\n readonly origin?: SessionOrigin;\n readonly delegationDepth?: number;\n readonly agentPreset?: string;\n}"
|
|
6960
|
+
},
|
|
6961
|
+
{
|
|
6962
|
+
"name": "SessionHeaderMeta",
|
|
6963
|
+
"declaration": "export interface SessionHeaderMeta {\n readonly cwd?: string;\n readonly parentSession?: SessionId;\n readonly createdAt?: number;\n readonly isSeeded?: boolean;\n readonly origin?: SessionOrigin;\n readonly delegationDepth?: number;\n readonly agentPreset?: string;\n}"
|
|
6253
6964
|
},
|
|
6254
6965
|
{
|
|
6255
6966
|
"name": "SessionId",
|
|
@@ -6259,6 +6970,10 @@ export const TYPERT = {
|
|
|
6259
6970
|
"name": "SessionLogOffset",
|
|
6260
6971
|
"declaration": "export type SessionLogOffset = BrandedNumber<'SessionLogOffset'>;"
|
|
6261
6972
|
},
|
|
6973
|
+
{
|
|
6974
|
+
"name": "SessionOrigin",
|
|
6975
|
+
"declaration": "export type SessionOrigin = 'subagent' | 'side';"
|
|
6976
|
+
},
|
|
6262
6977
|
{
|
|
6263
6978
|
"name": "SessionReferenceSource",
|
|
6264
6979
|
"declaration": "export interface SessionReferenceSource {\n kind: 'session-reference';\n form: 'recall';\n version: 1;\n references: { sessionId: string; label: string; capturedFormatVersion?: number; capturedThroughSeq: OptionalSessionSeq; compacted: boolean; originalMessages: number; retainedMessages: number; omittedMessages: number; omittedBytes: number; truncated: boolean; inputIndex: number; }[];\n}"
|
|
@@ -6271,6 +6986,10 @@ export const TYPERT = {
|
|
|
6271
6986
|
"name": "SessionSeq",
|
|
6272
6987
|
"declaration": "export type SessionSeq = BrandedNumber<'SessionSeq'>;"
|
|
6273
6988
|
},
|
|
6989
|
+
{
|
|
6990
|
+
"name": "SessionStateDefinition",
|
|
6991
|
+
"declaration": "export interface SessionStateDefinition<K extends string, S> {\n readonly key: K;\n readonly init: (header: SessionHeader, inheritedEventCount: SessionLogOffset) => S;\n readonly apply: (state: S, event: SessionEvent) => S;\n}"
|
|
6992
|
+
},
|
|
6274
6993
|
{
|
|
6275
6994
|
"name": "SessionSurface",
|
|
6276
6995
|
"declaration": "export interface SessionSurface {\n readonly nodes: readonly SessionSeq[];\n readonly systemNodes: readonly SystemSurfaceNode[];\n readonly replaceGeneration: number;\n readonly contentGeneration: number;\n}"
|