# Standing Plugin Blocks and Terminal Views: Octomind 0.78.0

> Octomind 0.78.0 adds standing plugin blocks and typed terminal views, fixes workflow cost accounting, and makes local inference lock waits cancellable.

![Animated Octomind icon — purple pixel-art octopus](/octomind-icon-animated.gif)

A plugin can keep a note in an Octomind session, but until this release every pinned note travelled the same way: it was recited again as the conversation grew. That works for a task reminder. A session-long working agreement does not go stale in the same way, and repeating it by token volume leaves copies in the conversation. Plugin commands had a separate problem: Octomind knew how to draw Besydr's board and learning replies, but another plugin could only put text in a frame.

0.78.0 adds two extensions to the plugin protocol: standing blocks for session-long context and typed terminal views for commands. We built both alongside [Besydr 0.9.0](https://besydr.com/blog/besydr-0-9-0), which ships with Octomind 0.78.0 the same day. The release also fixes workflow costs missed on timeouts and failed parallel attempts, and makes a local-inference lock cancellable. The config version stays at 37, so an update from 0.77.0 does not migrate it.

## Standing blocks keep session agreements without repeated copies

A plugin's `pin` effect keeps a block of text in the session. Ordinary pinned blocks appear in a recitation note near the end of the context and are refreshed as the conversation grows, roughly every 8,000 tokens. The [0.73.2 release notes](/blog/octomind-0-73-2-release) cover the plugin protocol and the events and effects it exposes.

The pin effect now accepts an optional boolean `standing` flag, alongside `name`, `text` and `items`. A block marked `standing: true` is for session-long context or working agreements that do not go stale as the conversation grows. It is left out of compression pins and recitation notes. Instead, Octomind sends it as a separate, system-managed user message:

```text
<standing_block name="plugin:protocol">
The session's working agreement goes here.
</standing_block>
```

That is an illustration of the message, not a command to type. Octomind adds a new copy when the block's content changes or when [context compaction](/blog/octomind-0-42-1-release) has removed the earlier copy from history. It does not repeat the block by token volume. If the plugin clears it, Octomind appends a version containing `(cleared)`, so the model can see that the old agreement no longer applies.

Like recitation, standing-block injection waits while the model is waiting on pending background jobs. A new instruction at that point could otherwise look like a request to stop waiting.

Besydr 0.9.0 uses standing blocks for its session working protocol, including `/protocol` and session-scoped memory notes. The [plugin guide](/docs/integration/05-plugins) describes the pin effect and the rest of the protocol.

## Plugin commands get typed terminal views

Before 0.78.0, Octomind's terminal had Besydr-specific layout code for `/learning` and `/board`. Other plugins could return text, but could not ask Octomind to lay out their answers in the same way.

Now any plugin command can return `{text, data, view}`. The optional `view` describes the answer by meaning; Octomind picks the layout and colours to match its built-in commands. A view can have a title, subtitle, ordered rows, a status of `ok` or `error` and a summary. The status defaults to `ok`; the command name is used when the title is absent.

| Row kind  | What Octomind draws                                              |
| --------- | ---------------------------------------------------------------- |
| `section` | A heading at the edge of the block                               |
| `pair`    | A label and value, indented under a section, with labels aligned |
| `text`    | A line indented under a section                                  |
| `line`    | A note, hint or empty-state message at the edge                  |
| `blank`   | An empty line                                                    |

A row's text comes in spans with a semantic tone: `plain`, `muted`, `strong`, `accent`, `good`, `warn` or `highlight`. The plugin says what the text means; it does not need to choose terminal colours.

An unknown row kind is drawn as `text`, and an unknown tone as `plain`, so a newer plugin can add kinds or tones without losing the answer on an older Octomind that supports views. A response without a view still falls back to framed text labelled with the plugin's name.

Besydr 0.9.0 sends views for `/board`, `/learning` and `/protocol`. With the layout described by the plugin rather than hard-coded for Besydr, Octomind removes about 600 lines of Besydr-specific display code. The [plugin guide's command section](/docs/integration/05-plugins) lists the fields for a view.

## Workflow cost accounting includes more billed attempts

Two community contributions by Alex fix LLM cost tracking in workflows. Some billed spend was missing from workflow accounting:

- **A sequential step times out.** Before, the timeout dropped the collecting future and the cost frames it had already received. Octomind now keeps the stats outside that future, returns them with `RunOutcome::Timeout` and adds them to the workflow total.
- **A parallel attempt ends empty or with a non-zero exit.** Those attempts could incur charges too, but their stats were discarded. Each parallel replica now carries its stats out to the workflow total and `max_cost`, as sequential attempts already did.

The fixes make the reported totals and the parallel `max_cost` accounting include those attempts; they do not undo charges already incurred.

## Other changes in 0.78.0

- **A local inference election lock wait can be cancelled.** A process waiting for the embedding service's election file lock used to block a thread behind another process's model download, holding up runtime shutdown. It now retries `try_lock()` asynchronously every 50 ms; dropping the future stops the wait.
- **`/schedule` highlights valid arguments correctly.** `key=value` arguments now show green instead of red. A community contribution by Arman-mi.
- **The README has benchmark charts and a demo.** Light and dark token comparison charts show the GOLD suite's Octomind and Codex CLI runs on `gpt-6.1-sol` and `gpt-6.2-astra`, alongside a recorded bug-fix demo. The [benchmark article](/blog/octomind-vs-codex-astra-benchmark) has the full numbers and methods.

## Update to Octomind 0.78.0

On macOS and Linux:

```bash
curl -fsSL https://octomind.run/install.sh | bash -s -- --version 0.78.0
octomind --version
```

On Windows, in PowerShell:

```powershell
$env:OCTOMIND_VERSION = "0.78.0"
irm https://raw.githubusercontent.com/muvon/octomind/master/install.ps1 | iex
```

Or run `scoop update octomind`. See the [installation guide](/docs/usage/01-installation) for other methods, the [full changelog](https://github.com/muvon/octomind/blob/0.78.0/CHANGELOG.md), and [the 0.77.0 notes](/blog/octomind-0-77-0-release) for what came before.

Then try it: with Besydr 0.9.0 enabled, run `/protocol` in an Octomind session to see its working protocol in the new terminal view.

— DK
