Documentation
¶
Overview ¶
Package whiteboard owns the framework-independent routing contract shared by the native whiteboard commands and their strict Shortcut counterparts.
Index ¶
Constants ¶
const ( ServerID = "whiteboard" EmbeddedQueryTool = "read_whiteboard_content" EmbeddedUpdateTool = "update_whiteboard" StandaloneCreateTool = "create_whiteboard" StandaloneQueryTool = "get_whiteboard_detail" StandaloneUpdateTool = "update_whiteboard_content" StandaloneExportTool = "export_whiteboard" StandaloneExportQueryTool = "query_export_job" )
Variables ¶
This section is empty.
Functions ¶
func ValidateCreateRequestID ¶
ValidateCreateRequestID enforces the idempotency-key contract shared by standalone create and update.
Types ¶
type Call ¶
Call is one resolved MCP invocation.
func BuildQueryCall ¶
func BuildQueryCall(options QueryOptions) (Call, error)
BuildQueryCall validates branch-specific flags and returns the only tool that may be invoked. Callers must not fall back to the sibling tool on failure.
func BuildUpdateCall ¶
func BuildUpdateCall(options UpdateOptions) (Call, error)
BuildUpdateCall applies the same compatibility split to writes. The caller supplies already-validated OpenNodes mode/nodes so both command surfaces keep one routing and conditional-parameter contract.
type Kind ¶
type Kind string
Kind identifies the target model selected before the first remote call.
func ResolveKind ¶
ResolveKind implements the public compatibility rule: only an explicitly provided, non-empty part id selects the embedded path. Omission selects the standalone path; explicit empty input fails closed.