context-attachment-manager
Codex and Claude Code plugin (works in Claude Desktop): choose which past images go to the model with your next message. Unchecked images become placeholders, the conversation goes on, and requests st
翻译准备中
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证Claude Code plugin that keeps the working tree of one git branch in sync between teammates' clones, through your own private git remote. No server. v0.1.1-preview: use it on a test repository only. Source-available (FSL-1.1-ALv2). Personal project, not affiliated with or endorsed by Anthropic.
翻译准备中
取自仓库 README
正在加载完整 README。 以下为已保存的摘录。
cowork-sync is a Claude Code plugin that keeps the working tree of one git
branch in sync between several clones, in real time. Each teammate works on
their own PC, in their own clone, with their own Claude Code session. When
someone saves a file, the change reaches everyone else's working tree. The only
transport is the project's own git remote. There is no server.查看完整 README ↗Website: kingyoungmins.github.io/cowork-sync
cowork-sync is a Claude Code plugin that keeps the working tree of one git branch in sync between several clones, in real time. Each teammate works on their own PC, in their own clone, with their own Claude Code session. When someone saves a file, the change reaches everyone else's working tree. The only transport is the project's own git remote. There is no server.
cowork-sync is a personal source-available project. It is not affiliated with, sponsored by or endorsed by any company or employer. It is licensed under FSL-1.1-ALv2 (see LICENSE.md), and contributions need the CLA described in CONTRIBUTING.md.
This is an early preview, not a finished product. What works now: the sync engine. One background process (the daemon) per clone picks up saved edits, publishes them to the remote, and writes teammates' edits into your working tree. It was tested on a real GitHub repository with two clones: edits to different files, to the same file ten lines apart, and to the same line all ended in the same state on both clones, on one fast-forward history. The core of the read-only viewer, which draws the team's activity in a browser, is in too. What is not in yet: the conflict holds UX (a displaced version is kept, but there is no command to see or restore it), function-level claims, Claude Code session hooks and Claude-to-Claude coordination (in this preview Claude does not know about the sync; its edits sync like any other saved file), the full command line (save, doctor, start checks such as the private-remote check, pause and resume), and viewer 2 (six languages, recording, highlight reel). Use the preview on a test repository only. docs/STATUS.md lists what is done and what is next.
PATH (20.6 or newer to build from source).refs/cowork/*) and
enforces --force-with-lease. GitHub does both. Start probes the host and
refuses one that does not.Every PC that takes part installs the plugin and has its own clone of the repository.
In a Claude Code session:
/plugin marketplace add Kingyoungmins/cowork-sync
/plugin install cowork-sync@cowork-sync
Or from a shell:
claude plugin marketplace add Kingyoungmins/cowork-sync
claude plugin install cowork-sync@cowork-sync
Run /reload-plugins (or restart Claude Code) to load it. Updates are not
automatic for this marketplace. To update, run
/plugin marketplace update cowork-sync, then
claude plugin update cowork-sync@cowork-sync. To remove the plugin, run
claude plugin uninstall cowork-sync@cowork-sync.
Open Claude Code in your clone and type the commands below. Claude Code names
the plugin's command /cowork-sync:cowork; type that name in full. The same
verbs also run in a terminal, as node "<plugin folder>/dist/cli.js" <verb>;
/cowork-sync:cowork view prints that path.
| Command | What it does |
|---|---|
/cowork-sync:cowork start [--branch <b>] | Starts sync for this repository, on the current branch. The first PC creates the shared board on the remote; every later PC joins it. The daemon keeps running in the background. |
/cowork-sync:cowork status | Prints a short summary: the state (ok, degraded, offline, frozen, down and so on), the branch, and what is still waiting to be published or applied. |
/cowork-sync:cowork view | Prints the command that opens the read-only viewer. The viewer opens only from a terminal: run that command there and it opens in your browser. If your build does not have the viewer process yet, it refuses with RF_VIZ_START_FAILED (see CHANGELOG.md). |
/cowork-sync:cowork stop | Stops the daemon cleanly. Your files stay as they are. |
/cowork-sync:cowork help | Lists the commands. |
When a command refuses, it prints the reason with a code, and a next: line
with the command to run. When the daemon itself refuses to start, its own lines
follow the daemon did not start; it said:.
What start checks:
insteadOf rewrite
applies.While sync runs:
HEAD in a synced clone (commit, switch,
checkout, pull, merge, rebase, stash). Sync freezes until HEAD is back
where it was. Stop sync first.save step yet that turns the shared work into a commit on the
branch. That comes with the full command line. Treat the preview as a way to
try live sync on a test branch.Each clone keeps its own files under .git/cowork/: status.json (the current
state) and log/daemon-0.jsonl (the daemon log).
refs/cowork/<branch>/board, a fast-forward-only chain of board commits that
is the authority, and refs/cowork/<branch>/code, a mirror of the latest
shared tree. Branch names are percent-encoded in these refs.--force-with-lease), so
no PC can overwrite another's update. The loser fetches and tries again. A
team-wide budget (12 pushes a minute, 6 for half an hour after any
throttling) keeps the load on the host low.git merge-tree using explicit merge bases..claude/, .github/workflows/,
.gitattributes and similar) never sync live. If the board's history is
ever rewritten, every PC freezes until it is recovered.refs/heads/<branch>). A plain
git fetch does not download the custom refs, so your normal git history
stays clean.refs/cowork/*, and anyone who can read the repository can fetch
it. The preview does not check yet that the remote is private..env, *.pem, *.key,
id_rsa*, *credentials* and more) are not shared. File contents are not
scanned for secrets yet, so do not put secrets into synced files.git push origin --delete refs/cowork/main/board refs/cowork/main/code.cowork-sync is released under the Functional Source License 1.1 with the Apache License 2.0 as its future licence (FSL-1.1-ALv2, LICENSE.md). In short: you may use, copy, change and share it for any purpose except a competing use, which means offering it, or something that does substantially the same thing, to others as a commercial product or service. Internal use, education, research and professional services for a licensee are allowed. Each release becomes available under the Apache License 2.0 two years after it is released.
Contributions need the contributor licence agreement in CLA.md. See CONTRIBUTING.md for how to sign it and how to work on the code.
Questions: [email protected]. Please report security problems through the repository's private vulnerability reporting, not by e-mail. See SECURITY.md.