@jive-sh/skill-sync 0.4.1 → 0.4.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.
- package/multi-call-binary +4 -0
- package/package.json +11 -39
- package/README.md +0 -57
- package/bin/package.json +0 -1
- package/bin/skill-sync +0 -571
- package/bin/skill-sync-daemon +0 -571
- package/dist/daemons/skill-sync-daemon.js +0 -373
- package/dist/daemons/skill-sync-daemon.js.map +0 -1
- package/dist/entrypoints/skill-sync.js +0 -133
- 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 -129
- package/dist/internal/config.js.map +0 -1
- package/dist/internal/control.js +0 -101
- package/dist/internal/control.js.map +0 -1
- package/dist/internal/folders.js +0 -48
- package/dist/internal/folders.js.map +0 -1
- package/dist/internal/path.js +0 -36
- package/dist/internal/path.js.map +0 -1
- package/dist/internal/sync.js +0 -160
- 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 -571
- package/src/daemons/skill-sync-daemon.ts +0 -367
- package/src/entrypoints/skill-sync.ts +0 -135
- package/src/index.ts +0 -15
- package/src/internal/config.ts +0 -165
- package/src/internal/control.ts +0 -127
- package/src/internal/folders.ts +0 -52
- package/src/internal/path.ts +0 -32
- package/src/internal/sync.ts +0 -196
- package/src/internal/wire.ts +0 -154
package/package.json
CHANGED
|
@@ -1,48 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jive-sh/skill-sync",
|
|
3
|
-
"version": "0.4.
|
|
4
|
-
"license": "MIT",
|
|
3
|
+
"version": "0.4.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.4.1-latest-darwin-arm64",
|
|
36
|
-
"@jive-sh/skill-sync-darwin-x64": "npm:@jive-sh/skill-sync@0.4.1-latest-darwin-x64",
|
|
37
|
-
"@jive-sh/skill-sync-linux-arm64": "npm:@jive-sh/skill-sync@0.4.1-latest-linux-arm64",
|
|
38
|
-
"@jive-sh/skill-sync-linux-x64": "npm:@jive-sh/skill-sync@0.4.1-latest-linux-x64",
|
|
39
|
-
"@jive-sh/skill-sync-windows-x64": "npm:@jive-sh/skill-sync@0.4.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,57 +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 list list the skills that sync, as the server holds them (needs a sign-in)
|
|
16
|
-
skill-sync upgrade upgrade with the package manager that installed it
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
Everything else — which folders and skills sync, renaming computers — is on the
|
|
20
|
-
dashboard.
|
|
21
|
-
|
|
22
|
-
The daemon registers itself to start at login when the package is installed.
|
|
23
|
-
|
|
24
|
-
## The dashboard
|
|
25
|
-
|
|
26
|
-
`https://skill-sync.jive.sh/` shows, live:
|
|
27
|
-
|
|
28
|
-
- **Synced skills**: the list, with the shared version of each skill and where it was last edited.
|
|
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
|
-
The server holds one list of skills to sync. Every enabled folder on every machine pushes and pulls
|
|
36
|
-
exactly the skills on that list, and never touches any other skill. A skill's checkbox adds it to the
|
|
37
|
-
list or removes it, for every machine at once. A folder's checkbox turns syncing on or off for that
|
|
38
|
-
folder. Both are stored on the server, so they apply at once and survive a reinstall.
|
|
39
|
-
|
|
40
|
-
A folder that lacks a listed skill gets a copy. Deleting a listed skill in any folder deletes it in every
|
|
41
|
-
folder and takes it off the list; unticking it instead stops syncing and leaves every copy where it is.
|
|
42
|
-
|
|
43
|
-
## The latest edit wins
|
|
44
|
-
|
|
45
|
-
Every file carries the time it was last edited: on a machine, its modification time; on the server, the
|
|
46
|
-
edit time of the version it holds. Whenever two copies of a file differ, the one edited later replaces
|
|
47
|
-
the other, on the server and in every folder. Nothing is merged and nothing is set aside. A deletion
|
|
48
|
-
counts as an edit made when the daemon noticed it.
|
|
49
|
-
|
|
50
|
-
Edit times come from each machine's clock, so a machine whose clock is far off can win or lose against
|
|
51
|
-
edits it should not.
|
|
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.
|
package/bin/package.json
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"type":"commonjs"}
|