fix(docs): normalize board_tokens in +create response for mermaid/whiteboard content (#10)

+update already calls normalizeDocsUpdateResult to surface board_tokens when
markdown contains mermaid/plantuml/whiteboard blocks. +create was missing the
same call, so callers could not know how many whiteboards were created or
retrieve their tokens. One-line fix: call normalizeDocsUpdateResult after
CallMCPTool in DocsCreate.Execute.
This commit is contained in:
eggyrooch-blip
2026-04-08 11:01:45 +08:00
committed by GitHub
parent fe8da8d924
commit 78bc66ce14

View File

@@ -83,6 +83,7 @@ var DocsCreate = common.Shortcut{
return err
}
normalizeDocsUpdateResult(result, runtime.Str("markdown"))
runtime.Out(result, nil)
return nil
},