Codemode calls the shipped clipboard tool to copy text, then read it back.
The script asserts exact equality before reporting success.
Expand the tool output to inspect the result.
The model is scripted for a deterministic recording; clipboard operations execute through the real extension and Pi SDK.
A Linux-only helper replaces Wayland command endpoints with an isolated temporary clipboard, never the user's actual clipboard.
The helper is not shipped in the generated package and fails closed on other platforms.
It is also available through the opt-in live-session task for real-model verification.
# Clipboard demo
1. Ask Pi to copy a check command and verify it.
2. Codemode calls the shipped clipboard tool to copy text, then read it back.
3. The script asserts exact equality before reporting success.
4. Expand the tool output to inspect the result.
The model is scripted for a deterministic recording; clipboard operations execute through the real extension and Pi SDK.
A Linux-only helper replaces Wayland command endpoints with an isolated temporary clipboard, never the user's actual clipboard.
The helper is not shipped in the generated package and fails closed on other platforms.
It is also available through the opt-in live-session task for real-model verification.