WhereDocumentV1
Criteria as a portable document: which model, which version, and the criteria themselves.
Source and package
- Qualified name
-
WhereDocument V1 - Module
- selection
- Package
- libtmux
- Source
- packages/libtmux/src/selection.ts
- type selection.WhereDocumentV1 = | { readonly model: "session"; readonly version: 1; readonly where: Session
Where } | { readonly model: "window"; readonly version: 1; readonly where: WindowWhere } | { readonly model: "pane"; readonly version: 1; readonly where: PaneWhere } | { readonly model: "client"; readonly version: 1; readonly where: ClientWhere } -
Description#
The version is in the payload because these cross a process boundary — an MCP client, a config file — where the reader's library may be older than the writer's. Nothing widens
1in place; a new shape gets a new number.