@jive-sh/skill-sync 0.2.3 → 0.2.4-latest-linux-x64
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.
- package/multi-call-binary +4 -0
- package/package.json +11 -39
- package/README.md +0 -56
- package/bin/package.json +0 -1
- package/bin/skill-sync +0 -579
- package/bin/skill-sync-daemon +0 -579
- package/dist/daemons/skill-sync-daemon.js +0 -279
- package/dist/daemons/skill-sync-daemon.js.map +0 -1
- package/dist/entrypoints/skill-sync.js +0 -100
- package/dist/entrypoints/skill-sync.js.map +0 -1
- package/dist/index.js +0 -10
- package/dist/index.js.map +0 -1
- package/dist/internal/config.js +0 -150
- package/dist/internal/config.js.map +0 -1
- package/dist/internal/folders.js +0 -65
- package/dist/internal/folders.js.map +0 -1
- package/dist/internal/notify.js +0 -50
- package/dist/internal/notify.js.map +0 -1
- package/dist/internal/path.js +0 -36
- package/dist/internal/path.js.map +0 -1
- package/dist/internal/reconcile.js +0 -124
- package/dist/internal/reconcile.js.map +0 -1
- package/dist/internal/sync.js +0 -241
- package/dist/internal/sync.js.map +0 -1
- package/dist/internal/wire.js +0 -13
- package/dist/internal/wire.js.map +0 -1
- package/install.cjs +0 -579
- package/src/daemons/skill-sync-daemon.ts +0 -276
- package/src/entrypoints/skill-sync.ts +0 -109
- package/src/index.ts +0 -15
- package/src/internal/config.ts +0 -191
- package/src/internal/folders.ts +0 -69
- package/src/internal/notify.ts +0 -53
- package/src/internal/path.ts +0 -32
- package/src/internal/reconcile.ts +0 -166
- package/src/internal/sync.ts +0 -304
- package/src/internal/wire.ts +0 -162
package/package.json
CHANGED
|
@@ -1,48 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jive-sh/skill-sync",
|
|
3
|
-
"version": "0.2.
|
|
4
|
-
"license": "MIT",
|
|
3
|
+
"version": "0.2.4-latest-linux-x64",
|
|
5
4
|
"type": "module",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"os": [
|
|
7
|
+
"linux"
|
|
8
|
+
],
|
|
9
|
+
"cpu": [
|
|
10
|
+
"x64"
|
|
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.2.3-latest-darwin-arm64",
|
|
36
|
-
"@jive-sh/skill-sync-darwin-x64": "npm:@jive-sh/skill-sync@0.2.3-latest-darwin-x64",
|
|
37
|
-
"@jive-sh/skill-sync-linux-arm64": "npm:@jive-sh/skill-sync@0.2.3-latest-linux-arm64",
|
|
38
|
-
"@jive-sh/skill-sync-linux-x64": "npm:@jive-sh/skill-sync@0.2.3-latest-linux-x64",
|
|
39
|
-
"@jive-sh/skill-sync-windows-x64": "npm:@jive-sh/skill-sync@0.2.3-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,56 +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` opens `skill-sync.jive.sh` in your browser, where you verify with your jive.sh passkey
|
|
8
|
-
(from any passkey manager, such as Google Password Manager); the service then hands the CLI a per-machine
|
|
9
|
-
token and opens the dashboard. The CLI never handles the passkey.
|
|
10
|
-
|
|
11
|
-
```
|
|
12
|
-
skill-sync login verify with your passkey in the browser and store this machine's token
|
|
13
|
-
skill-sync logout revoke this machine's token
|
|
14
|
-
skill-sync upgrade upgrade with the package manager that installed it
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
Everything else — which folders and skills sync, renaming computers, the merge log — is on the
|
|
18
|
-
dashboard.
|
|
19
|
-
|
|
20
|
-
The daemon registers itself to start at login when the package is installed.
|
|
21
|
-
|
|
22
|
-
## The dashboard
|
|
23
|
-
|
|
24
|
-
`https://skill-sync.jive.sh/` shows, live:
|
|
25
|
-
|
|
26
|
-
- **Synced skills**: the shared version of every skill that syncs, and who changed it last.
|
|
27
|
-
- **Reconciliation log**: every merge Claude made — which computer, which folder and file, what
|
|
28
|
-
conflicted and how it was resolved — so you can audit them.
|
|
29
|
-
- **Computers**: each machine (renameable), whether its daemon is running, its Claude folders, and the
|
|
30
|
-
skills in each with their files.
|
|
31
|
-
|
|
32
|
-
Every file shows the first 8 characters of its SHA-256, amber when a folder's copy differs from the synced
|
|
33
|
-
one. The page reloads itself when a new version of the service is deployed.
|
|
34
|
-
|
|
35
|
-
Each folder and each skill has a checkbox. An unchecked folder does not sync at all; an unchecked skill
|
|
36
|
-
stays local to its folder — never sent, never overwritten. Choices are stored on the server, so they apply
|
|
37
|
-
at once and survive a reinstall. Defaults: a new folder syncs and receives every shared skill — cloned
|
|
38
|
-
where it has none, merged by Claude where it has its own copy of the same name; a skill that exists only
|
|
39
|
-
in one folder stays local until you check it.
|
|
40
|
-
|
|
41
|
-
## Conflicts
|
|
42
|
-
|
|
43
|
-
Every write is a compare-and-swap on the file's current hash, so a change made in two places at once is
|
|
44
|
-
never silently overwritten. When a file changed both locally and on the server — or a folder opts into a
|
|
45
|
-
skill it already has a different copy of — the daemon asks Claude, with no tools, to merge the two (using
|
|
46
|
-
the last agreed version when there is one), writes the merge, pushes it, and logs the explanation to the
|
|
47
|
-
dashboard. Both versions are copied first to `~/.jive/skill-sync/reconciled/`.
|
|
48
|
-
|
|
49
|
-
If Claude is unavailable or the merge looks truncated, the server's version is kept and yours is saved
|
|
50
|
-
beside it as `<file>.local`, with a desktop notification and a "needs attention" state on the dashboard.
|
|
51
|
-
|
|
52
|
-
## Configuration
|
|
53
|
-
|
|
54
|
-
`~/.jive/skill-sync.json` holds the endpoint and the machine name, written on first run.
|
|
55
|
-
`~/.skill-sync-token.json` holds the token alone, at mode 0600, written by `skill-sync login` rather than
|
|
56
|
-
by hand. Merges run under the machine's default `claude` login.
|
package/bin/package.json
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"type":"commonjs"}
|