← Plugins

ByTheWay

Cason Mo152installs

ByTheWay (btw) — use /btw to ask beside your main Paseo session, with provider-native model, thinking, mode and feature controls, live tool activity, subagent management and per-model settings memory.

$ paseo plugin add casonmo/bytheway
ByTheWay screenshot 1ByTheWay screenshot 2ByTheWay screenshot 3

Side chats for any Paseo agent session: ask questions or run small side tasks while the main session keeps working, and nothing is written to the main transcript.

How it works

Each side thread is backed by a temporary agent in the same workspace:

  • When a thread starts (from the panel or the /btw-family commands), the plugin reads the main session's recent conversation as a first-turn context snapshot and sends the question to a side agent;
  • The panel subscribes directly to the side agent's timeline and streams text, thinking, tool calls, todos, permission requests, and per-turn usage live;
  • The thread directory follows Paseo agent updates live, with a 60-second metadata fallback; the daemon reads agents in one batch instead of refreshing each thread separately;
  • The composer shows the active side agent's background work with a stop action; workspace rows show a side-chat badge and every main agent's composer gets a side-chat entry;
  • Paseo child agents and provider-native subagents spawned by the active side agent are merged into a Subagent pill above the composer; the pill is hidden when there are none;
  • By default the side agent is linked to the main session: it reads the latest progress on demand through Paseo's built-in tools. When tool injection is unavailable, the plugin falls back to passive sync (incremental context attached to each message);
  • Transcripts live in Paseo's own agent timelines. The plugin stores only a thread registry (ids, titles, status) and per-model control memory on the local machine; it never copies Q&A content.

Usage

  • /btw <question> continues the current side thread (or starts one); a bare /btw just opens the panel without creating anything; /btw-new <question> starts a new one, and a bare /btw-new opens a fresh thread draft so you can pick the provider/model first;
  • A command-created or continued thread is selected immediately after the panel opens or refreshes; it never waits for the 20-second thread-list poll;
  • The composer renders provider-native controls: Model, Thinking, Mode, and Features. Modes come from listModes, feature controls from listFeatures, and thinking levels from the model catalog. Unsupported controls are hidden automatically;
  • Model settings are remembered by default: after a successful send or rebuild, the effective Mode, thinking level, and Features are stored under provider/model. Selecting that model again restores them; different models stay independent. Choosing “Follow main” does not apply model memory. The setting can be disabled;
  • The Subagent pill above the composer shows the active side thread's child count and running state. Open a row to view details; Paseo child agents can be detached or archived, and finished subagents can be cleaned up in one action;
  • New threads default to Follow: Mode, Thinking, and Features snapshot the main session when the provider/model match; otherwise the target provider/model defaults are used. Existing threads update in place without replacing the backing subagent, using Paseo 0.16's composer/agent control APIs so the change applies immediately;
  • /fork [prompt] clones the current session transcript into a new parallel agent;
  • The Command Center can open the ByTheWay panel and its settings;
  • The threads dropdown can copy a thread's agent id to the clipboard (for handing the agent to another tool);
  • Each thread tab has a ✕ that archives that thread in one click;
  • The thread transcript starts with the original user prompt, reconstructed from the initial side-agent message so long threads do not lose the question;
  • The bottom hint row links to this repository's GitHub issue form ("Issues & feature requests") — it opens in your system browser and only when you click it;
  • On desktop the panel composer sends with Enter and inserts a newline with Shift+Enter (same as the main Paseo composer);
  • Attachments: the paperclip button picks images or files, and on desktop you can also paste images/files straight from the clipboard. Images travel through Paseo's native image channel to the model; other files are stored under the plugin data directory and referenced by path, so the side agent reads them with its own file tools (same as the main Paseo composer). Up to 8 attachments per message, 10 MB per file, 20 MB total; a message can be attachments-only. Sent attachments are echoed inside the user message bubble (image thumbnails, file name chips) from the local upload copy; tapping a thumbnail opens an in-panel full-size preview. Picking/pasting attachments is desktop (web) only for now;
  • While a side chat is answering, the composer shows only Stop (when idle it shows only Send); pressing Enter still interrupts the current answer and starts a fresh turn with the new message (a toast confirms);
  • Assistant text uses the host Markdown renderer; the UI language follows the Paseo app language;
  • The panel shows a banner when a newer plugin version is available on GitHub main, including the required Paseo version (apply with paseo plugin update paseo-bytheway in a terminal).

Settings

Settings → Plugins → ByTheWay 侧聊:

  • Default model (follow the main session or fixed provider/model). Mode, thinking, and provider feature controls are discovered from the active provider/model; new threads follow the main session when compatible and otherwise use provider/model defaults
  • Remember model settings (on by default): restore the last effective Mode, thinking level, and Features for each model
  • New threads can pick any provider; existing threads switch models in place within their own provider only
  • First-turn snapshot depth, action digest, context fallback
  • Attach side agents to the main session as children
  • AI thread titles and the title-generation model
  • Permission policy (follow the main session / ask + auto-deny timeout / auto-allow read-only / deny all)
  • Total concurrency limit and the experimental cancel switch

No account or extra keys are required; the plugin reuses the agent providers configured in Paseo. Requires Paseo 0.16.1 or later. The daemon runs on any platform Paseo supports, and the interface works on desktop, web, and mobile clients. On the iPad app and touch web clients, the composer lifts above the on-screen keyboard while it is open.

Data and permissions

  • Reads: main-session and side-agent timelines through the local Paseo daemon (for context assembly and UI display), plus child-agent metadata and provider subagent status events for the composer Subagent manager;
  • Writes: the local plugin data directory ~/.paseo/plugin-data/paseo-bytheway/ (thread registry, model settings memory, and the attachments you upload — images and files — under uploads/<threadId>/<messageId>/; model memory contains only control ids/values, no transcript content, and keeps the 50 most recently used models). Removing a thread deletes its upload directory; a periodic sweep removes upload directories older than 14 days;
  • Network: remote images in side-chat messages load directly from their HTTP(S) URLs on the client, so the image host receives that request and the client's network address. Side-chat questions, context snapshots, attachments, and tool results are sent to the model provider you configured in Paseo, exactly like a normal Paseo session. When the panel opens, the plugin fetches package.json / paseo-plugin.json from this repository's main branch on raw.githubusercontent.com to check for updates (version metadata only; no session data is uploaded). The feedback link in the panel opens this repository's GitHub issue form in your external browser, only when you click it.
  • Permissions: new side agents inherit the main session's mode, thinking level, and provider feature toggles (for example OpenCode's auto-accept) at creation, so permission behaviour matches the main session by default. Tool permission requests from side agents appear inline in the panel for approval or denial; question-type requests render as a step-by-step form (one question per screen, single-select advances automatically, all answers submitted once at the last step). By default the plugin leaves permission handling to Paseo itself ("follow"), so side agents behave like the main session; optional plugin policies can auto-allow read-only requests, deny all, or auto-deny unanswered requests after the configured tiered timeout;
  • Stop: cancellation is requested through Paseo's tools first; if it does not take effect, the panel points to the native tab to stop the agent there.

Known limits

  • Threads are bound to the daemon and main session that created them. If the main session is archived, threads are marked stopped and can be rebuilt to continue;
  • Thread title, pin state, and passive-sync cursor live in agent metadata as well as the local registry, so a lost plugin data directory can recover them from the agent. Threads created before metadata support still rely on the registry;
  • Existing threads switch models in place within their own provider (the provider is fixed when the thread is created; start a new thread to use another provider). Mode, thinking, and provider feature changes also apply in place through the host composer controls; the plugin refreshes the same subagent before sending. If any switch fails, the message is not sent and the panel shows why;
  • AI titles and the experimental cancel create a short-lived background: true helper agent that archives itself when done. These helpers are hidden from tabs, default lists, the parent subagent track, and notifications;
  • Running side chats are limited by the configured total concurrency cap; requests beyond it are rejected with a hint.
  • Provider-native subagent details are owned by the Paseo main panel. Until the host exposes a provider-subagent deep link, clicking one of those rows opens the parent side thread first; Paseo child agents open directly.
  • The Subagent pill currently aggregates Paseo child agents and provider subagents on the current host/daemon only; agents delegated to another host are not shown yet.
  • Model memory uses effective values. If a stored Mode, thinking level, or Feature no longer exists for the current provider/model, it falls back to the current default instead of blocking the send.
  • Non-image attachments are referenced by local path: the side agent needs its file-reading tools to open them (read-only modes can still read). Attachment picking and clipboard paste require the desktop (web) client; mobile clients send text as before. Bubble echo only covers messages sent since 0.7.1 (earlier messages have no local upload copy).

Related plugins

Browse all plugins →