workspace.pane.content.set.v1
Set pane content
Replaces content in the pane identified by invocation scope.
At a glance
| Callable by | agent, cli, plugin |
| Effect | write — Changes state. |
| Confirmation | never — Runs without asking. |
| Idempotency | none |
| Leaves the machine | no |
| Provided by | dev.tenon.core |
| Contract class | sealed |
Input
| Property | Required | Type | Constraints |
|---|---|---|---|
content | yes | {kind} | {kind} | {kind} | {kind} | {kind, provider, sessionID, title?, transcriptPath} | {kind, path} | {kind, pluginID, viewID} | {kind, originalPath?, path, repositoryPath, source, staged, title?, untracked} | {fileName, kind, newText, oldText, source, title?} | — |
Output
Takes no properties — send {}.
Errors it can return
These are this contract’s own failures, on top of the lifecycle errors every intent can settle with. See Errors.
dev.tenon.core.content-unavailabledev.tenon.core.pane-not-found
Call it
From a plugin — declare it in intents.uses first:
js
const result = await tenon.intents.send("workspace.pane.content.set.v1", {})
if (!result.ok) throw new Error(result.error.code)From a shell:
sh
tenon-cli intent send workspace.pane.content.set.v1 --input '{}'Ask your own build for this same contract with tenon-cli intent describe workspace.pane.content.set.v1.