mirror of
https://github.com/getpaseo/paseo.git
synced 2026-11-26 10:15:46 +00:00
Adds two waiting lifecycle hooks and the workspace id on agent creation: - terminal.create.before runs for every terminal the daemon starts in a workspace (app, CLI, SDK, plugins, agent tools, paseo.json scripts, services and worktree terminals). A plugin may replace command, args and env, or throw to refuse. It runs in a wrapper around the daemon's terminal manager, so adopted terminals don't run it again. - command.run.before runs before each paseo.json worktree setup and teardown command. A plugin may replace the command and env, or throw to refuse, which fails setup or teardown like a failing command. - agent.create.before receives the target workspaceId, read-only. A plugin result that omits it keeps it, so older plugins still work. Setup and archive dependencies take the lifecycle as a required field so a new caller can't skip the command hook by omission. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>