@cprecioso/paseo-worktreeinclude

中文文档
0.1.1发布于 2026/10/09MIT零依赖构建来源已验证近 30 天下载 2057

Paseo plugin that copies gitignored files listed in .worktreeinclude into new git worktrees, like Claude Code does.

原始使用文档

paseo-worktreeinclude

A Paseo plugin that copies gitignored files listed in .worktreeinclude into new git worktrees, the same way Claude Code does.

When a workspace is created in a linked git worktree, the plugin reads .worktreeinclude (gitignore syntax) from the main checkout and copies every file that matches it and is gitignored. Tracked files are never touched, and files already present in the worktree are not overwritten. Copies use copy-on-write cloning (APFS, btrfs) when available.

# .worktreeinclude
.env
.env.*
config/secrets.json

Install

Requires Paseo 0.10.3 or later.

paseo plugin install npm:@cprecioso/paseo-worktreeinclude

Or from GitHub:

paseo plugin install github:cprecioso/paseo-worktreeinclude

Caveat

The copy runs on Paseo's workspace.created event, which does not block agent startup. An agent that reads these files immediately may race the copy. If that matters, use a worktree.setup step in paseo.json instead.

版本与发布记录

@cprecioso/paseo-worktreeinclude 共发布 3 个版本,首次发布于 2026/10/09;过去 12 个月发布了 3 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
0.1.1latest2026/10/091 个月前
0.1.02026/10/091 个月前
0.0.0-stage2026/10/091 个月前

关于 @cprecioso/paseo-worktreeinclude 的常见问题

@cprecioso/paseo-worktreeinclude 是什么?

Paseo plugin that copies gitignored files listed in .worktreeinclude into new git worktrees, like Claude Code does.

如何安装 @cprecioso/paseo-worktreeinclude?

在项目目录运行 npm install @cprecioso/paseo-worktreeinclude,或使用 pnpm add / yarn add / bun add。

@cprecioso/paseo-worktreeinclude 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/cprecioso__paseo-worktreeinclude 是否存在。

@cprecioso/paseo-worktreeinclude 可以商用吗?

@cprecioso/paseo-worktreeinclude 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@cprecioso/paseo-worktreeinclude 的下载量有多少?

根据 npm 官方下载统计,@cprecioso/paseo-worktreeinclude 在 2026/10/11 – 2026/11/09 这 30 天内被下载 2,057 次,日均约 69 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@cprecioso/paseo-worktreeinclude 还在维护吗?

最新版本 0.1.1 发布于 2026/10/09(1 个月前);至今共发布 3 个版本,其中过去 12 个月发布了 3 个;首次发布于 2026/10/09。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。