From 498a87f3c44089eaced941e6728c8d05ee2eb019 Mon Sep 17 00:00:00 2001 From: agent_coder Date: Sun, 12 Jul 2026 18:49:50 +0300 Subject: [PATCH] fix(#370): add savePageVersion to DocmostClientMethod union (server in-app tool parity) The Stage-A save_page_version tool's client method must be listed in the DocmostClientMethod union so Pick exposes it to the in-app tool adapter; the shared-tool-specs contract spec asserts parity. Mirrors the existing restorePageVersion entry. Co-Authored-By: Claude Opus 4.8 (1M context) --- apps/server/src/core/ai-chat/tools/docmost-client.loader.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/server/src/core/ai-chat/tools/docmost-client.loader.ts b/apps/server/src/core/ai-chat/tools/docmost-client.loader.ts index fe9ee327..7077f307 100644 --- a/apps/server/src/core/ai-chat/tools/docmost-client.loader.ts +++ b/apps/server/src/core/ai-chat/tools/docmost-client.loader.ts @@ -58,6 +58,7 @@ type DocmostClientMethod = | 'sharePage' | 'unsharePage' | 'restorePageVersion' + | 'savePageVersion' | 'transformPage' | 'stashPage' // --- write (image / footnote), in-app since #410 ---