Workspace Snippets
lefos1324次安装Run saved command snippets and package.json scripts in Paseo workspace terminals, from a per-workspace panel, a sidebar screen, or /snippet.
该插件的概览尚未翻译为你的语言,因此以英文显示。
Workspace Snippets runs commands in terminal tabs of your workspace: the scripts from every package.json in the project, the *.sh shell scripts it finds, plus shell commands you save yourself. You can open it from a Snippets screen in the sidebar, a Snippets button in each workspace header, the Command Center ("Open snippets"), or the /snippet <name> slash command.
Each entry gets its own terminal tab (script:<name>, script:<package>/<name>, shell:<path> or snippet:<name>) with Run, Restart, Stop and Close, plus a peek at its last lines of output. The sidebar screen works before any workspace is open: Run reuses the most recent workspace at the project's root directory, opens one if there is none, and switches to it.
Setup
Requires Paseo 0.10.2 or newer. Nothing to configure.
Things to know
- Each snippet is scoped either to a project, where it is shared by every worktree of that project, or to a single workspace directory.
- Scripts are detected in the Root package and in Nested packages up to four folders deep (50 Packages max), skipping
node_modules,.git,dist,build,.next,coverage,vendor,target,out,venv,__pycache__and dot-folders; symlinked folders are not followed. The Scripts section groups them as<folder> · <package manager>, with the Root package expanded and Nested packages collapsed by default. - A Nested Script runs as
(cd <folder> && <pm> run <script>)with the nearest Package manager (its ownpackageManagerfield or lockfile, otherwise an ancestor's, up to the workspace root; npm by default). The subshell leaves the terminal's working directory alone, so Restart can re-send the command. - Every
*.shfile is listed under Shell scripts, grouped by folder. Executable files run as./path(honouring their shebang), the rest withbash path, always from the workspace root; the executable bit is optional. The section has its own Show/Hide toggle. /snippet <name>also reaches Nested Scripts by Qualified name (apps/web/dev) and Shell scripts by path or basename (scripts/deploy.sh,deploy). It prefers an exact Snippet, then an exact Root Script, then an exact Shell script path, then an exact Qualified name, then a unique case-insensitive match (an exact short name beats prefix-only matches); otherwise it lists the candidates.- Package and folder groups remember their collapsed state per project for the app session.
- Commands are typed into an interactive shell in the workspace terminal, so they run with the same shell authority as a terminal you open yourself on that host.
- Snippets are stored as unencrypted JSON in plugin settings shared across the whole host, so do not put secrets in them.
- The plugin reads
package.jsonfiles and*.shfiles and makes no network requests. - The status shown for an entry only reflects whether its terminal tab is open. It does not show whether the command finished or what its exit status was.
相关插件
浏览全部插件 →Generative UI
@anh-chu
Paseo plugin: agents answer with charts, diagrams, maps, plans and forms rendered inline in the chat.
拾页 · 项目手记
@zhjiang22
按项目记录任务、提示词和想法:一键发送的提示词胶囊,从任务启动 Agent 并在任务卡上显示它的状态,另附给 Agent 用的命令行工具。支持英文、简体中文和用户自定义语言。
Tree Sidebar
@nightwatcher314
Paseo 的 agent 树状侧栏:子代理嵌套在启动它的代理之下,跨 git worktree、跨项目也一样。每行一个计数胶囊,可在当前层级或顶部置顶,不属于任何项目的聊天放在“通用”里。
Atrium
@mr-doosun
Paseo 多代理侧边栏:代理树把 Claude Code 和 Codex 的子代理(subagent)显示在父代理下方,并提供分屏面板、工作树(worktree)徽标、用量限额和 MCP 管理。
Port forwarding
@alessandrocornacchia
Forward ports opened by agents and terminals on remote Paseo hosts to your laptop's localhost over your own SSH connection.
Paseo 团队管理
@kogekiplay
自动为 Paseo 顶层指挥会话注入团队编排规范与角色配置,支持一键开关、团队模板管理和成员状态视图。



