@jive-sh/skill-sync 0.3.1 → 0.3.2-latest-darwin-arm64

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 (40) hide show
  1. package/multi-call-binary +4 -0
  2. package/package.json +11 -39
  3. package/README.md +0 -58
  4. package/bin/package.json +0 -1
  5. package/bin/skill-sync +0 -571
  6. package/bin/skill-sync-daemon +0 -571
  7. package/dist/daemons/skill-sync-daemon.js +0 -401
  8. package/dist/daemons/skill-sync-daemon.js.map +0 -1
  9. package/dist/entrypoints/skill-sync.js +0 -114
  10. package/dist/entrypoints/skill-sync.js.map +0 -1
  11. package/dist/index.js +0 -10
  12. package/dist/index.js.map +0 -1
  13. package/dist/internal/config.js +0 -134
  14. package/dist/internal/config.js.map +0 -1
  15. package/dist/internal/control.js +0 -101
  16. package/dist/internal/control.js.map +0 -1
  17. package/dist/internal/folders.js +0 -65
  18. package/dist/internal/folders.js.map +0 -1
  19. package/dist/internal/notify.js +0 -50
  20. package/dist/internal/notify.js.map +0 -1
  21. package/dist/internal/path.js +0 -36
  22. package/dist/internal/path.js.map +0 -1
  23. package/dist/internal/reconcile.js +0 -124
  24. package/dist/internal/reconcile.js.map +0 -1
  25. package/dist/internal/sync.js +0 -241
  26. package/dist/internal/sync.js.map +0 -1
  27. package/dist/internal/wire.js +0 -13
  28. package/dist/internal/wire.js.map +0 -1
  29. package/install.cjs +0 -571
  30. package/src/daemons/skill-sync-daemon.ts +0 -397
  31. package/src/entrypoints/skill-sync.ts +0 -116
  32. package/src/index.ts +0 -15
  33. package/src/internal/config.ts +0 -171
  34. package/src/internal/control.ts +0 -123
  35. package/src/internal/folders.ts +0 -69
  36. package/src/internal/notify.ts +0 -53
  37. package/src/internal/path.ts +0 -32
  38. package/src/internal/reconcile.ts +0 -166
  39. package/src/internal/sync.ts +0 -304
  40. package/src/internal/wire.ts +0 -162
@@ -0,0 +1,4 @@
1
+ [diffend] Oversized file quarantined before diffing.
2
+ name: package/multi-call-binary
3
+ size: 91190882 bytes
4
+ sha256: 4294d429e71d96383b6055a39cd18c133e240be7b7ef53ada5ca2627ba5617d5
package/package.json CHANGED
@@ -1,48 +1,20 @@
1
1
  {
2
2
  "name": "@jive-sh/skill-sync",
3
- "version": "0.3.1",
4
- "license": "MIT",
3
+ "version": "0.3.2-latest-darwin-arm64",
5
4
  "type": "module",
5
+ "license": "MIT",
6
+ "os": [
7
+ "darwin"
8
+ ],
9
+ "cpu": [
10
+ "arm64"
11
+ ],
12
+ "files": [
13
+ "multi-call-binary"
14
+ ],
6
15
  "description": "Keeps one skills directory identical across every machine you work on.",
7
16
  "repository": {
8
17
  "type": "git",
9
18
  "url": "git+https://github.com/jive-sh/skill-sync.git"
10
- },
11
- "main": "./dist/index.js",
12
- "module": "./dist/index.js",
13
- "types": "./src/index.ts",
14
- "exports": {
15
- ".": {
16
- "types": "./src/index.ts",
17
- "import": "./dist/index.js"
18
- }
19
- },
20
- "files": [
21
- "README.md",
22
- "dist",
23
- "src",
24
- "bin",
25
- "install.cjs"
26
- ],
27
- "scripts": {
28
- "postinstall": "node ./install.cjs"
29
- },
30
- "bin": {
31
- "skill-sync": "./bin/skill-sync",
32
- "skill-sync-daemon": "./bin/skill-sync-daemon"
33
- },
34
- "optionalDependencies": {
35
- "@jive-sh/skill-sync-darwin-arm64": "npm:@jive-sh/skill-sync@0.3.1-latest-darwin-arm64",
36
- "@jive-sh/skill-sync-darwin-x64": "npm:@jive-sh/skill-sync@0.3.1-latest-darwin-x64",
37
- "@jive-sh/skill-sync-linux-arm64": "npm:@jive-sh/skill-sync@0.3.1-latest-linux-arm64",
38
- "@jive-sh/skill-sync-linux-x64": "npm:@jive-sh/skill-sync@0.3.1-latest-linux-x64",
39
- "@jive-sh/skill-sync-windows-x64": "npm:@jive-sh/skill-sync@0.3.1-latest-windows-x64"
40
- },
41
- "dependencies": {
42
- "commander": "^13.1.0"
43
- },
44
- "peerDependencies": {
45
- "effect": "^4.0.0",
46
- "typescript": "^5.9.3"
47
19
  }
48
20
  }
package/README.md DELETED
@@ -1,58 +0,0 @@
1
- # @jive-sh/skill-sync
2
-
3
- Keeps the skills you choose identical across every Claude folder on every machine you work on.
4
-
5
- A daemon finds each Claude home on the machine (`~/.claude` and every `~/.claude-<name>`) and syncs the
6
- `skills` folder in each through a Cloudflare Worker: file index in D1, contents in R2 addressed by hash.
7
- `skill-sync login` asks the daemon to sign in and opens `skill-sync.jive.sh` in your browser, where you
8
- verify with your jive.sh passkey (from any passkey manager, such as Google Password Manager). The service
9
- hands a per-machine token straight to the daemon, which keeps it only in memory — never in a file, never
10
- in the CLI — and starts syncing. After a reboot, a crash or an upgrade, run `skill-sync login` again.
11
-
12
- ```
13
- skill-sync login sign this machine in with your passkey; the daemon starts syncing
14
- skill-sync logout revoke this machine's token and stop syncing
15
- skill-sync upgrade upgrade with the package manager that installed it
16
- ```
17
-
18
- Everything else — which folders and skills sync, renaming computers, the merge log — is on the
19
- dashboard.
20
-
21
- The daemon registers itself to start at login when the package is installed.
22
-
23
- ## The dashboard
24
-
25
- `https://skill-sync.jive.sh/` shows, live:
26
-
27
- - **Synced skills**: the shared version of every skill that syncs, and who changed it last.
28
- - **Reconciliation log**: every merge Claude made — which computer, which folder and file, what
29
- conflicted and how it was resolved — so you can audit them.
30
- - **Computers**: each machine (renameable), whether its daemon is running, its Claude folders, and the
31
- skills in each with their files.
32
-
33
- Every file shows the first 8 characters of its SHA-256, amber when a folder's copy differs from the synced
34
- one. The page reloads itself when a new version of the service is deployed.
35
-
36
- Each folder and each skill has a checkbox. An unchecked folder does not sync at all; an unchecked skill
37
- stays local to its folder — never sent, never overwritten. Choices are stored on the server, so they apply
38
- at once and survive a reinstall. Defaults: a new folder syncs and receives every shared skill — cloned
39
- where it has none, merged by Claude where it has its own copy of the same name; a skill that exists only
40
- in one folder stays local until you check it.
41
-
42
- ## Conflicts
43
-
44
- Every write is a compare-and-swap on the file's current hash, so a change made in two places at once is
45
- never silently overwritten. When a file changed both locally and on the server — or a folder opts into a
46
- skill it already has a different copy of — the daemon asks Claude, with no tools, to merge the two (using
47
- the last agreed version when there is one), writes the merge, pushes it, and logs the explanation to the
48
- dashboard. Both versions are copied first to `~/.jive/skill-sync/reconciled/`.
49
-
50
- If Claude is unavailable or the merge looks truncated, the server's version is kept and yours is saved
51
- beside it as `<file>.local`, with a desktop notification and a "needs attention" state on the dashboard.
52
-
53
- ## Configuration
54
-
55
- `~/.jive/skill-sync.json` holds the endpoint and the machine name, written on first run. Nothing secret is
56
- stored on disk: the CLI reaches the daemon over `~/.jive/skill-sync.sock` (a named pipe on Windows), which
57
- only your user can open, and the daemon deletes the `~/.skill-sync-token.json` older versions wrote. Merges
58
- run under the Claude account of the folder being merged.
package/bin/package.json DELETED
@@ -1 +0,0 @@
1
- {"type":"commonjs"}