@reyanshgupta/ditto-cli 0.3.4 → 0.3.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +15 -1
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -131,7 +131,7 @@ ditto-cli update --check # compare versions without installing
131
131
  ditto-cli update --git # install from the Git repository instead
132
132
  ```
133
133
 
134
- `update` runs `cargo install` for you, so it needs Rust on your `PATH`. It stops early when you already have the newest release. Asking crates.io for the published version needs a network connection; without one it says so and installs anyway.
134
+ `update` runs `cargo install` for you, so it needs Rust on your `PATH`. It stops early when you already have the newest release. During a build it shows a compact animated status instead of Cargo's full compilation log; if the build fails, it prints that log so the error is not hidden. Asking crates.io for the published version needs a network connection; without one it says so and installs anyway.
135
135
 
136
136
  `update` only replaces a copy in Cargo's own bin directory. Run it against a Homebrew install, or a binary from the [releases page](https://github.com/reyanshgupta/ditto-cli/releases), and it says so before it starts, then leaves that copy alone: a `cargo install` would land in a different directory and shadow the existing binary rather than replace it. Use `brew upgrade ditto-cli` or the newer archive instead.
137
137
 
@@ -502,6 +502,20 @@ ditto-cli sync client-a # link what can be linked, report what cannot
502
502
  ditto-cli sync client-a --adopt # replace the profile's own copies too
503
503
  ```
504
504
 
505
+ ### Downloaded skills
506
+
507
+ Sharing a directory by linking it has one cost, and Ditto CLI pays it for you.
508
+
509
+ A skill installer — `npx skills add`, and anything else that installs into more than one agent — puts the skill somewhere central and then records it in each agent's skills directory as a *relative* link, computed from the directory the agent was pointed at. Under a profile that directory is one of the links above, so the operating system writes the record into your own configuration instead, where the same relative path leads somewhere else. The skill lands on disk intact and is readable from nowhere, in every profile at once.
510
+
511
+ Ditto CLI is what moved the directory, so Ditto CLI is what can say where those links meant to point. Launching a tool repairs its own, which is the moment before it reads them, and says so:
512
+
513
+ ```
514
+ ditto-cli: repaired claude/skills/apple-design; it was installed pointing at nothing
515
+ ```
516
+
517
+ `ditto-cli sync <profile>` does the same for every tool at once and reports them under `repaired`. A link is only rewritten when reading it against the path the installer was given names something that exists, so a link that is relative and broken for reasons of its own is left exactly as it is.
518
+
505
519
  ## Where credentials and files are stored
506
520
 
507
521
  Ditto CLI does not ask for passwords, parse OAuth tokens, or keep credentials in its state file. Claude Code, Codex, and opencode authentication still runs through their installed CLIs, and OMP and Prime Agent authentication through `/login` inside their interfaces. Each tool stores the result wherever it normally would, under the directory Ditto CLI pointed it at:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reyanshgupta/ditto-cli",
3
- "version": "0.3.4",
3
+ "version": "0.3.5",
4
4
  "description": "Switch between Claude Code, Codex, opencode, OMP, and Prime Agent accounts",
5
5
  "keywords": [
6
6
  "claude-code",
@@ -33,9 +33,9 @@
33
33
  "node": ">=18"
34
34
  },
35
35
  "optionalDependencies": {
36
- "@reyanshgupta/ditto-cli-darwin-arm64": "0.3.4",
37
- "@reyanshgupta/ditto-cli-darwin-x64": "0.3.4",
38
- "@reyanshgupta/ditto-cli-linux-x64": "0.3.4",
39
- "@reyanshgupta/ditto-cli-win32-x64": "0.3.4"
36
+ "@reyanshgupta/ditto-cli-darwin-arm64": "0.3.5",
37
+ "@reyanshgupta/ditto-cli-darwin-x64": "0.3.5",
38
+ "@reyanshgupta/ditto-cli-linux-x64": "0.3.5",
39
+ "@reyanshgupta/ditto-cli-win32-x64": "0.3.5"
40
40
  }
41
41
  }