Skip to content

feat: OpenCode per-session mode (/ponytail-session, /ponytail-status)#229

Open
ericsun271 wants to merge 1 commit into
DietrichGebert:mainfrom
ericsun271:opencode-session-mode
Open

feat: OpenCode per-session mode (/ponytail-session, /ponytail-status)#229
ericsun271 wants to merge 1 commit into
DietrichGebert:mainfrom
ericsun271:opencode-session-mode

Conversation

@ericsun271

Copy link
Copy Markdown

What

Adds per-session mode switching to the OpenCode plugin — a session override
that lives in memory and never touches .ponytail-active.

New commands

  • /ponytail-session <level> — switch mode for the current session only (lite/full/ultra/off). No file writes.
  • /ponytail-status — show global mode, session override, effective mode, and source.

Changes

  • ponytail.mjs: sessionModes Map, getStatus()/formatStatus() helpers, session-aware system.transform and command.execute.before
  • .opencode/command/ponytail-session.md + ponytail-status.md: command definitions
  • skills/ponytail/SKILL.md + .openclaw mirror: clarify /ponytail off syntax
  • tests/opencode-plugin.test.js: session isolation tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant