@jive-sh/skill-sync 0.4.5 → 0.4.6-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.
@@ -0,0 +1,4 @@
1
+ [diffend] Oversized file quarantined before diffing.
2
+ name: package/multi-call-binary
3
+ size: 91207394 bytes
4
+ sha256: a2b248d8c1ba9d9e1a5d6063700985a84b710957fb959616a824acf86bcd30bc
package/package.json CHANGED
@@ -1,48 +1,20 @@
1
1
  {
2
2
  "name": "@jive-sh/skill-sync",
3
- "version": "0.4.5",
4
- "license": "MIT",
3
+ "version": "0.4.6-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.5-latest-darwin-arm64",
36
- "@jive-sh/skill-sync-darwin-x64": "npm:@jive-sh/skill-sync@0.4.5-latest-darwin-x64",
37
- "@jive-sh/skill-sync-linux-arm64": "npm:@jive-sh/skill-sync@0.4.5-latest-linux-arm64",
38
- "@jive-sh/skill-sync-linux-x64": "npm:@jive-sh/skill-sync@0.4.5-latest-linux-x64",
39
- "@jive-sh/skill-sync-windows-x64": "npm:@jive-sh/skill-sync@0.4.5-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,66 +0,0 @@
1
- # @jive-sh/skill-sync
2
-
3
- Keeps the skills you choose identical across every Claude and Codex skills folder on every machine you
4
- work on.
5
-
6
- A daemon finds each agent home on the machine (Claude's `~/.claude` and every `~/.claude-<name>`, and
7
- Codex's `~/.agents`, counted as soon as either `~/.agents` or `~/.codex` exists) and syncs the `skills`
8
- folder in each through a Cloudflare Worker: file index in D1, contents in R2 addressed by hash. `skill-sync login` asks the daemon to sign in and opens
9
- `skill-sync.jive.sh` in your browser, where you verify with your jive.sh passkey (from any passkey
10
- manager, such as Google Password Manager). The service hands a per-machine token straight to the daemon,
11
- never through the CLI. The daemon keeps it in `~/.jive/skill-sync-token.json` and starts syncing, and it
12
- stays signed in through restarts, reboots and upgrades until you run `skill-sync logout` or revoke the
13
- token.
14
-
15
- ```
16
- skill-sync login sign this machine in with your passkey; the daemon starts syncing
17
- skill-sync logout revoke this machine's token and stop syncing
18
- skill-sync list list the skills that sync, as the server holds them (needs a sign-in)
19
- skill-sync upgrade upgrade with the package manager that installed it
20
- ```
21
-
22
- Everything else — which folders and skills sync, renaming computers — is on the
23
- dashboard.
24
-
25
- The daemon registers itself to start at login when the package is installed. It also keeps skill-sync up
26
- to date: every 5 minutes it asks the package manager that installed it (bun, pnpm, yarn or npm, with that
27
- manager's own registry settings) whether a newer version is published, installs it the same way, and
28
- restarts on it, still signed in. `skill-sync upgrade` does the same at once.
29
-
30
- ## The dashboard
31
-
32
- `https://skill-sync.jive.sh/` shows, live:
33
-
34
- - **Synced skills**: the list, with the shared version of each skill and where it was last edited.
35
- - **Computers**: each machine (renameable), whether its daemon is running, its skills folders, and the
36
- skills in each with their files.
37
-
38
- Every file shows the first 8 characters of its SHA-256, amber when a folder's copy differs from the synced
39
- one. The page reloads itself when a new version of the service is deployed.
40
-
41
- The server holds one list of skills to sync. Every enabled folder on every machine pushes and pulls
42
- exactly the skills on that list, and never touches any other skill. A skill's checkbox adds it to the
43
- list or removes it, for every machine at once. A folder's checkbox turns syncing on or off for that
44
- folder; a folder seen for the first time starts on. Both are stored on the server, so they apply at once
45
- and survive a reinstall.
46
-
47
- A folder that lacks a listed skill gets a copy. Deleting a listed skill in any folder deletes it in every
48
- folder and takes it off the list; unticking it instead stops syncing and leaves every copy where it is.
49
-
50
- ## The latest edit wins
51
-
52
- Every file carries the time it was last edited: on a machine, its modification time; on the server, the
53
- edit time of the version it holds. Whenever two copies of a file differ, the one edited later replaces
54
- the other, on the server and in every folder. Nothing is merged and nothing is set aside. A deletion
55
- counts as an edit made when the daemon noticed it.
56
-
57
- Edit times come from each machine's clock, so a machine whose clock is far off can win or lose against
58
- edits it should not.
59
-
60
- ## Configuration
61
-
62
- `~/.jive/skill-sync.json` holds the endpoint and the machine name, written on first run.
63
- `~/.jive/skill-sync-token.json` holds this machine's token while it is signed in. It is an ordinary file,
64
- so anything that can read your home directory can copy the token; signing out, or the server rejecting the
65
- token, deletes it. The CLI reaches the daemon over `~/.jive/skill-sync.sock` (a named pipe on Windows),
66
- which only your user can open.
package/bin/package.json DELETED
@@ -1 +0,0 @@
1
- {"type":"commonjs"}