rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:j1kwen/dsh-anywhere-sync
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
![]()
Sync a Harness profile — installed plugins, plugin configuration, dependency locks, local plugin source, skills and other profile files — across machines through one private Git repository. Every category is an independent switch. A change made on one machine lands on the others at their next sync.
cordis.patch.yml), dependency lock, other
profile files, and skills.$DSH_HOME/anywhere-sync/backups/.link:/file: plugin is stored
under local-plugins/<package>/ and written back to the matching install
directory on the other machines.link:/file:/absolute specs and
their lockfile blocks are projected out before anything is pushed.anywhere_sync exposes the same status / sync / pull /
push / install operations to the model.Requirements: DeepSeek Harness with the Web UI, Node.js 20+, and git.
dsh plugin --profile desktop add j1kwen/dsh-anywhere-sync
Then restart Harness and open Settings → Config Sync.
From a local checkout or the release tarball:
dsh plugin --profile desktop add /path/to/dsh-anywhere-sync
# or point the Plugin Manager at dsh-anywhere-sync.tgz from the latest release
The repository declares dsh.bundle and a cordis.patch.yml, which is what
makes it installable as a bundle.
repo (classic) or Contents read/write
(fine-grained) access to it.After a pull that changes the plugin manifest, dependency install and a Harness restart are required before the new plugins load.
| Item | Local source | Repository path | Default |
|---|---|---|---|
| Plugin manifest | <profile>/package.json |
profile/<profile>/package.json |
on |
| Local plugin source | directories of link: / file: / absolute dependencies |
local-plugins/<package>/… |
on |
| Plugin configuration | <profile>/cordis.patch.yml |
profile/<profile>/cordis.patch.yml |
on |
| Plugin data | files under $DSH_HOME listed in the settings page |
plugin-data/<path> |
on |
| Dependency lock | <profile>/pnpm-lock.yaml, pnpm-workspace.yaml |
same | on |
| Other profile files | remaining profile config (presets, config.toml, …) |
profile/<profile>/… |
off |
| Skills | ~/.agents/skills/, ~/.agents/.skill-lock.json |
skills/… |
off |
Files that look like credentials (.env*, *credential*, *secret*,
id_rsa*, *.pem, .npmrc, config.toml, …) are excluded even when "Other
profile files" is on. A disabled item is neither read, written nor deleted.
package.json and pnpm-lock.yaml are projected into a portable form before
comparison or push: link:, file:, workspace: and absolute-path specs
(including the link: install of this plugin itself) are removed, together
with their bundle entries. When a remote manifest is pulled, local links are
merged back in, so each machine keeps its own install paths.
The source of every other local dependency is carried under
local-plugins/<package>/. On pull:
$DSH_HOME/anywhere-sync/local-plugins/<package>, registered as a link:
dependency; enable its bundle in the Plugins page if it is new;This plugin itself is excluded by default. Its own source is not carried in
the shared repository, so a local development copy cannot overwrite a
GitHub-installed copy on another machine. The switch under Settings → Config
Sync → Exclude this plugin itself controls it; the plugin's own settings live
in $DSH_HOME/anywhere-sync and are never synced.
New machines still install this plugin once to get the settings page and the initial sync.
Some plugins keep their settings outside cordis.patch.yml, in files under
$DSH_HOME. The Plugin data item syncs the files or directories listed in
the settings page to plugin-data/<path>.
Defaults are dsh-whale-widget's .dshw-size.json (appearance/switches),
.dshw-bubble.json (bubble layout) and .dshw-api.json (custom model
registry). Its accounting ledger .dshw-usage.json, per-turn sequence and
stats caches are not included: they are data, not configuration, and
whole-file sync would mix machines' ledgers. Add other plugin config paths in
the UI; a trailing / syncs a directory, and paths must stay relative to
$DSH_HOME. Credentials, sessions, storages and this plugin's own state are
rejected.
fetch origin <branch> → reset --hard (the mirror is the remote truth)
↓ compare hash(local) / hash(remote) / hash(base) per file
├─ only local changed → write into the mirror, commit, push
├─ only remote changed → write into the profile (backup first)
└─ both changed → conflict policy, or resolve per file
↓ record the new base hashes
Every push stages exactly the paths the run changed, so unrelated files in the same repository (another profile, another tool) are never touched. A push that loses a race with another machine is recomputed and retried once — never forced.
State lives in $DSH_HOME/anywhere-sync/ (config.json, state.json,
credentials.json, repo/, backups/). The synced profile is the profile the
plugin is mounted in; the settings page shows its name.
$DSH_HOME/anywhere-sync/credentials.json with mode 0600. It is passed to
git through a scoped GIT_ASKPASS environment variable, never written to the
repository, a URL, a log or a browser response.ANYWHERE_SYNC_TOKEN, GH_TOKEN, GITHUB_TOKEN./anywhere-sync/api reuses Harness Connection's Host/Origin
and browser-login checks, falls back to loopback-only when that service is
absent, and requires a same-origin Origin on mutating requests.~/.dsh/.credentials.yaml, session logs and workspace data are never read.If Settings → Config Sync is blank after installing the plugin:
settings.section
and webServer services are used).git on PATH.path
APIs but is not exercised by CI.npm run verify # package/manifest checks + offline engine and HTTP tests
The tests create their own temporary bare repositories; they never touch your profile or the network:
scripts/engine-test.mjs — push, pull, conflict, delete, multi-machine,
local-link projection, local plugin registration.scripts/http-test.mjs — admission, same-origin, parameter validation, sync
lifecycle.GitHub Actions runs the same checks on every push and pull request.
Releases are built from a signed tag by GitHub Actions and published as
dsh-anywhere-sync.tgz with SHA256SUMS.
The tarball gets a Sigstore build provenance attestation, and the checksum
file carries a keyless Sigstore signature (SHA256SUMS.sigstore.json):
sha256sum -c SHA256SUMS
gh attestation verify dsh-anywhere-sync.tgz --repo j1kwen/dsh-anywhere-sync
cosign verify-blob --bundle SHA256SUMS.sigstore.json \
--certificate-identity-regexp 'https://github.com/j1kwen/dsh-anywhere-sync/.github/workflows/release.yml@refs/tags/.*' \
--certificate-oidc-issuer https://token.actions.githubusercontent.com \
SHA256SUMS
Commits and tags are signed with the maintainer's registered SSH signing key; GitHub shows the Verified badge on the commit and tag.
profileFiles and skills are off by default; sync them only after deciding
what may leave the machine.MIT — see LICENSE.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。