dsh-vscode-mode 0.22.0 → 0.23.1

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.
@@ -3479,7 +3479,11 @@ export function EditorView(props) {
3479
3479
  setStatus(reject ? '正在检查并 Undo 全部待审记录…' : '正在 Keep 全部待审记录…')
3480
3480
  try {
3481
3481
  const result = await runReviewBatch({
3482
- list: async (cursor) => { const res = await rpc('edrv.review.list', { sessionId, cursor }); if (!res.ok) throw new Error(res.error); return res.page },
3482
+ snapshot: async () => {
3483
+ const res = await rpc('edrv.review.list', { sessionId, all: true })
3484
+ if (!res.ok) throw new Error(res.error)
3485
+ return res.page
3486
+ },
3483
3487
  detail: async (id) => { const res = await rpc('edrv.review.detail', { sessionId, id }); if (!res.ok) throw new Error(res.error); return res.detail },
3484
3488
  decide: (detail, undo, operationId) => rpc('edrv.review.decide', { sessionId, id: detail.item.id, seq: detail.item.seq, revision: detail.item.revision, operationId, scope: 'file', decision: undo ? 'rejected' : 'accepted' }),
3485
3489
  guard: () => guardReviewAll(reject, token), operation: batchOperation,