diff --git a/.opencode/plugins/ponytail.mjs b/.opencode/plugins/ponytail.mjs index 6a77468..2e02783 100644 --- a/.opencode/plugins/ponytail.mjs +++ b/.opencode/plugins/ponytail.mjs @@ -84,7 +84,7 @@ export default async ({ client } = {}) => { 'command.execute.before': async (input) => { if (!input || input.command !== 'ponytail') return; // `off` is persisted like any mode; the transform reads it and stays silent. - const args = (input.arguments || '').trim(); + const args = String(input.arguments || '').trim(); const mode = args ? normalizePersistedMode(args) : getDefaultMode(); if (!mode) return; writeMode(mode);