@jive-sh/skill-sync 0.7.3 → 0.8.0-latest-darwin-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 -36
- package/README.md +0 -201
- package/bin/package.json +0 -1
- package/bin/skill-sync +0 -614
- package/bin/skill-sync-daemon +0 -614
- package/dist/daemons/skill-sync-daemon.js +0 -634
- package/dist/daemons/skill-sync-daemon.js.map +0 -1
- package/dist/entrypoints/skill-sync.js +0 -7
- 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/agents/agent-tool.js +0 -102
- package/dist/internal/agents/agent-tool.js.map +0 -1
- package/dist/internal/agents/claude.js +0 -424
- package/dist/internal/agents/claude.js.map +0 -1
- package/dist/internal/agents/codex.js +0 -270
- package/dist/internal/agents/codex.js.map +0 -1
- package/dist/internal/agents/command.js +0 -219
- package/dist/internal/agents/command.js.map +0 -1
- package/dist/internal/agents/grok.js +0 -170
- package/dist/internal/agents/grok.js.map +0 -1
- package/dist/internal/agents/index.js +0 -70
- package/dist/internal/agents/index.js.map +0 -1
- package/dist/internal/cli.js +0 -185
- package/dist/internal/cli.js.map +0 -1
- package/dist/internal/config.js +0 -131
- package/dist/internal/config.js.map +0 -1
- package/dist/internal/control.js +0 -113
- package/dist/internal/control.js.map +0 -1
- package/dist/internal/daemon-control/impl.js +0 -68
- package/dist/internal/daemon-control/impl.js.map +0 -1
- package/dist/internal/daemon-control/interface.js +0 -4
- package/dist/internal/daemon-control/interface.js.map +0 -1
- package/dist/internal/folders.js +0 -47
- package/dist/internal/folders.js.map +0 -1
- package/dist/internal/local-skills.js +0 -43
- package/dist/internal/local-skills.js.map +0 -1
- package/dist/internal/path.js +0 -36
- package/dist/internal/path.js.map +0 -1
- package/dist/internal/server.js +0 -80
- package/dist/internal/server.js.map +0 -1
- package/dist/internal/skill-check.js +0 -83
- package/dist/internal/skill-check.js.map +0 -1
- package/dist/internal/skill-refinement/evals/cases.js +0 -143
- package/dist/internal/skill-refinement/evals/cases.js.map +0 -1
- package/dist/internal/skill-refinement/evals/opus-action-judge-original.json +0 -350
- package/dist/internal/skill-refinement/evals/opus-judge-original.json +0 -165
- package/dist/internal/skill-refinement/feedback/intake.js +0 -52
- package/dist/internal/skill-refinement/feedback/intake.js.map +0 -1
- package/dist/internal/skill-refinement/jev/impl.js +0 -51
- package/dist/internal/skill-refinement/jev/impl.js.map +0 -1
- package/dist/internal/skill-refinement/jev/interface.js +0 -14
- package/dist/internal/skill-refinement/jev/interface.js.map +0 -1
- package/dist/internal/skill-refinement/paths.js +0 -62
- package/dist/internal/skill-refinement/paths.js.map +0 -1
- package/dist/internal/skill-refinement/platform.js +0 -68
- package/dist/internal/skill-refinement/platform.js.map +0 -1
- package/dist/internal/skill-refinement/service.js +0 -253
- package/dist/internal/skill-refinement/service.js.map +0 -1
- package/dist/internal/skill-refinement/skills/skill-text.js +0 -217
- package/dist/internal/skill-refinement/skills/skill-text.js.map +0 -1
- package/dist/internal/skill-refinement/workflow/retry.js +0 -69
- package/dist/internal/skill-refinement/workflow/retry.js.map +0 -1
- package/dist/internal/skill-refinement/workflow/skill-refinement.js +0 -593
- package/dist/internal/skill-refinement/workflow/skill-refinement.js.map +0 -1
- package/dist/internal/skill-refinement/writer/impl.js +0 -69
- package/dist/internal/skill-refinement/writer/impl.js.map +0 -1
- package/dist/internal/skill-refinement/writer/interface.js +0 -10
- package/dist/internal/skill-refinement/writer/interface.js.map +0 -1
- package/dist/internal/sync.js +0 -182
- package/dist/internal/sync.js.map +0 -1
- package/dist/internal/wire.js +0 -31
- package/dist/internal/wire.js.map +0 -1
- package/install.cjs +0 -614
- package/src/daemons/skill-sync-daemon.ts +0 -639
- package/src/entrypoints/skill-sync.ts +0 -12
- package/src/index.ts +0 -15
- package/src/internal/agents/agent-tool.ts +0 -149
- package/src/internal/agents/claude.ts +0 -442
- package/src/internal/agents/codex.ts +0 -288
- package/src/internal/agents/command.ts +0 -257
- package/src/internal/agents/grok.ts +0 -174
- package/src/internal/agents/index.ts +0 -74
- package/src/internal/cli.ts +0 -217
- package/src/internal/config.ts +0 -172
- package/src/internal/control.ts +0 -157
- package/src/internal/daemon-control/impl.ts +0 -80
- package/src/internal/daemon-control/interface.ts +0 -40
- package/src/internal/folders.ts +0 -50
- package/src/internal/local-skills.ts +0 -58
- package/src/internal/path.ts +0 -32
- package/src/internal/server.ts +0 -76
- package/src/internal/skill-check.ts +0 -97
- package/src/internal/skill-refinement/evals/cases.ts +0 -167
- package/src/internal/skill-refinement/evals/opus-action-judge-original.json +0 -350
- package/src/internal/skill-refinement/evals/opus-judge-original.json +0 -165
- package/src/internal/skill-refinement/feedback/intake.ts +0 -66
- package/src/internal/skill-refinement/jev/impl.ts +0 -63
- package/src/internal/skill-refinement/jev/interface.ts +0 -51
- package/src/internal/skill-refinement/paths.ts +0 -87
- package/src/internal/skill-refinement/platform.ts +0 -72
- package/src/internal/skill-refinement/service.ts +0 -299
- package/src/internal/skill-refinement/skills/skill-text.ts +0 -290
- package/src/internal/skill-refinement/workflow/retry.ts +0 -76
- package/src/internal/skill-refinement/workflow/skill-refinement.ts +0 -665
- package/src/internal/skill-refinement/writer/impl.ts +0 -79
- package/src/internal/skill-refinement/writer/interface.ts +0 -29
- package/src/internal/sync.ts +0 -216
- package/src/internal/wire.ts +0 -439
package/package.json
CHANGED
|
@@ -1,45 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jive-sh/skill-sync",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"license": "MIT",
|
|
3
|
+
"version": "0.8.0-latest-darwin-x64",
|
|
5
4
|
"type": "module",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"os": [
|
|
7
|
+
"darwin"
|
|
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.7.3-latest-darwin-arm64",
|
|
36
|
-
"@jive-sh/skill-sync-darwin-x64": "npm:@jive-sh/skill-sync@0.7.3-latest-darwin-x64",
|
|
37
|
-
"@jive-sh/skill-sync-linux-arm64": "npm:@jive-sh/skill-sync@0.7.3-latest-linux-arm64",
|
|
38
|
-
"@jive-sh/skill-sync-linux-x64": "npm:@jive-sh/skill-sync@0.7.3-latest-linux-x64",
|
|
39
|
-
"@jive-sh/skill-sync-windows-x64": "npm:@jive-sh/skill-sync@0.7.3-latest-windows-x64"
|
|
40
|
-
},
|
|
41
|
-
"peerDependencies": {
|
|
42
|
-
"effect": "^4.0.0",
|
|
43
|
-
"typescript": "^5.9.3"
|
|
44
19
|
}
|
|
45
20
|
}
|
package/README.md
DELETED
|
@@ -1,201 +0,0 @@
|
|
|
1
|
-
# @jive-sh/skill-sync
|
|
2
|
-
|
|
3
|
-
Keeps the skills you choose identical across every Claude, Codex and Grok skills folder on every machine
|
|
4
|
-
you work on.
|
|
5
|
-
|
|
6
|
-
A daemon finds each agent home on the machine (Claude's `~/.claude` and every `~/.claude-<name>`, Grok's
|
|
7
|
-
`~/.grok` and every `~/.grok-<name>` (each a `GROK_HOME`), and Codex's `~/.agents`, counted as soon as
|
|
8
|
-
either `~/.agents` or `~/.codex` exists; anything named `*.lock` is
|
|
9
|
-
another program's lock and is ignored, as a home and as a file or folder inside a skills folder) and syncs the `skills`
|
|
10
|
-
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 prints a
|
|
11
|
-
`skill-sync.jive.sh` page, opening it in your browser when the machine has one. You approve there with your
|
|
12
|
-
jive.sh passkey (from any passkey manager, such as Google Password Manager), on that computer or any other,
|
|
13
|
-
such as your phone, so a server with no browser signs in the same way. The daemon then collects a per-machine
|
|
14
|
-
token from the service with a secret only it holds, never through the CLI or the page. The daemon keeps it in `~/.jive/skill-sync-token.json` and starts syncing, and it
|
|
15
|
-
stays signed in through restarts, reboots and upgrades until you run `skill-sync logout` or revoke the
|
|
16
|
-
token.
|
|
17
|
-
|
|
18
|
-
```
|
|
19
|
-
skill-sync login sign this machine in with your passkey; the daemon starts syncing
|
|
20
|
-
skill-sync logout revoke this machine's token and stop syncing
|
|
21
|
-
skill-sync list list the skills that sync, as the server holds them (needs a sign-in)
|
|
22
|
-
skill-sync add <skill> put a skill on the synced list, as ticking it on the dashboard does
|
|
23
|
-
skill-sync show <skill> print a synced skill's description and where its copies are on this machine
|
|
24
|
-
skill-sync feedback <slug> <file> hand one feedback item to this machine's skill refinement workflow
|
|
25
|
-
skill-sync upgrade upgrade with the package manager that installed it
|
|
26
|
-
skill-sync version print the installed version
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
Tab completes every command. After `show` it lists the synced skills and after `add` the skills in the
|
|
30
|
-
detected folders that `add` would accept and that are not synced yet, both asked of the daemon when Tab is
|
|
31
|
-
pressed. Tab never starts the daemon: when none is running, or it does not answer within 3 seconds, Tab shows why
|
|
32
|
-
instead. Installing or upgrading turns Tab completion on in your shell; `skill-sync --remove-completion` turns
|
|
33
|
-
it off.
|
|
34
|
-
|
|
35
|
-
Everything else — which folders sync, unticking skills, renaming computers — is on the
|
|
36
|
-
dashboard.
|
|
37
|
-
|
|
38
|
-
## Adding a skill from an agent
|
|
39
|
-
|
|
40
|
-
An agent that writes a new skill meant for every project runs `skill-sync add <skill>` in the same step,
|
|
41
|
-
so nobody has to tick it. `<skill>` is the skill's folder name. Running it again changes nothing. It is
|
|
42
|
-
refused, with the reason, unless:
|
|
43
|
-
|
|
44
|
-
- the skill is in a folder skill-sync detects (above). A skill in a project's own `.claude/skills`,
|
|
45
|
-
`.agents/skills` or `.grok/skills` is specific to that project and never syncs. That is the only sign of
|
|
46
|
-
a project-specific skill skill-sync can read; one written into a home folder but about one project is
|
|
47
|
-
not caught.
|
|
48
|
-
- its `SKILL.md` starts with frontmatter whose `name` is the folder name and whose `description` is not
|
|
49
|
-
empty.
|
|
50
|
-
- the name is lowercase letters and digits in hyphen-joined words, at most 64 characters.
|
|
51
|
-
|
|
52
|
-
The skill's files upload from the folders holding it that are ticked on the dashboard; if none is, the
|
|
53
|
-
command says so.
|
|
54
|
-
|
|
55
|
-
The daemon registers itself to start at login when the package is installed. It also keeps skill-sync up
|
|
56
|
-
to date: every 5 minutes it asks the package manager that installed it (bun, pnpm, yarn or npm, with that
|
|
57
|
-
manager's own registry settings) whether a newer version is published, installs it the same way, and
|
|
58
|
-
restarts on it, still signed in. `skill-sync upgrade` does the same at once.
|
|
59
|
-
|
|
60
|
-
## The dashboard
|
|
61
|
-
|
|
62
|
-
`https://skill-sync.jive.sh/` shows, live, the latest version published on npm, and three tabs (the address keeps the
|
|
63
|
-
one open, `#accounts`, `#computers` or `#refinement`):
|
|
64
|
-
|
|
65
|
-
- **Accounts**: a table with one row per Claude, Codex and Grok account on the running computers.
|
|
66
|
-
An account its tool can name (Claude's organization, Codex's email) is one row however many computers use
|
|
67
|
-
it. Each limit gets a column with the share used and the time to its reset; then each computer's own use of
|
|
68
|
-
the account over the last 30 days, and when the limits were read. See [Account usage](#account-usage).
|
|
69
|
-
- **Skills & computers**: the synced skills, with the shared version of each and where it was last edited; then each
|
|
70
|
-
machine (renameable), whether its daemon is running and which version it runs, and its skills folders, one line
|
|
71
|
-
each with its checkbox, state and counts (synced, not synced, and how many synced skills differ here). Opening a
|
|
72
|
-
folder lists its skills and their files. A daemon older than the published version is marked "update pending"; it
|
|
73
|
-
upgrades itself within 5 minutes.
|
|
74
|
-
- **Skill refinement**: each machine's skill refinement workflow (below), drawn by
|
|
75
|
-
[`@jive-sh/workflow-platform`](https://www.npmjs.com/package/@jive-sh/workflow-platform)'s own dashboard: its queue,
|
|
76
|
-
where each run is and every step's tokens, spend and time over the last day, with − / + for its run and agent limits,
|
|
77
|
-
which go to that machine's daemon. An offline machine shows what it last reported; one that runs no workflow says why.
|
|
78
|
-
|
|
79
|
-
Every file shows the first 8 characters of its SHA-256, amber when a folder's copy differs from the synced
|
|
80
|
-
one. The page reloads itself when a new version of the service is deployed.
|
|
81
|
-
|
|
82
|
-
The server holds one list of skills to sync. Every enabled folder on every machine pushes and pulls
|
|
83
|
-
exactly the skills on that list, and never touches any other skill. A skill's checkbox adds it to the
|
|
84
|
-
list or removes it, for every machine at once. A folder's checkbox turns syncing on or off for that
|
|
85
|
-
folder; a folder seen for the first time starts off, so nothing is written into a folder until you tick it. Both are stored on the server, so they apply at once
|
|
86
|
-
and survive a reinstall.
|
|
87
|
-
|
|
88
|
-
A folder that lacks a listed skill gets a copy. Deleting a listed skill in any folder deletes it in every
|
|
89
|
-
folder and takes it off the list; unticking it instead stops syncing and leaves every copy where it is.
|
|
90
|
-
|
|
91
|
-
## The latest edit wins
|
|
92
|
-
|
|
93
|
-
Every file carries the time it was last edited: on a machine, its modification time; on the server, the
|
|
94
|
-
edit time of the version it holds. Whenever two copies of a file differ, the one edited later replaces
|
|
95
|
-
the other, on the server and in every folder. Nothing is merged and nothing is set aside. A deletion
|
|
96
|
-
counts as an edit made when the daemon noticed it.
|
|
97
|
-
|
|
98
|
-
Edit times come from each machine's clock, so a machine whose clock is far off can win or lose against
|
|
99
|
-
edits it should not.
|
|
100
|
-
|
|
101
|
-
## Account usage
|
|
102
|
-
|
|
103
|
-
An account is a folder in your home directory: `~/.claude` and each `~/.claude-<name>` for Claude (each a
|
|
104
|
-
`CLAUDE_CONFIG_DIR`), `~/.codex` and each `~/.codex-<name>` for Codex (each a `CODEX_HOME`), `~/.grok` and each
|
|
105
|
-
`~/.grok-<name>` for Grok (each a `GROK_HOME`). The daemon reads two things about each, and sends them to the
|
|
106
|
-
dashboard when they change.
|
|
107
|
-
|
|
108
|
-
**The account's limits**, which its provider counts across every computer. The daemon asks the tool's own CLI,
|
|
109
|
-
at most every five minutes per account. The CLI is signed in to the account and makes the call; skill-sync
|
|
110
|
-
reads no credential file, and only the numbers and the account's email leave the machine.
|
|
111
|
-
|
|
112
|
-
- **Claude**: `claude auth status` (who is signed in) and `claude -p /usage --no-session-persistence` (the
|
|
113
|
-
session, weekly and per-model weekly limits). Neither starts a model turn, and the second saves no session.
|
|
114
|
-
Usage credits spent beyond the plan are not in `/usage`'s output, so they show only when the CLI could not be
|
|
115
|
-
asked (below).
|
|
116
|
-
- **Codex**: `codex app-server`, the JSON-RPC interface Codex's editors and desktop app use: `account/read` and
|
|
117
|
-
`account/rateLimits/read`.
|
|
118
|
-
- **Grok**: `grok agent stdio`, asked `_x.ai/billing`, the request Grok's own `/usage` screen makes. Grok has no
|
|
119
|
-
command that says who is signed in, so its accounts show as unidentified.
|
|
120
|
-
|
|
121
|
-
The daemon runs with the service manager's PATH, not your shell's, so it looks for `claude` and `codex` on PATH,
|
|
122
|
-
then in the folders installers put them in (`~/.local/bin`, `~/.bun/bin`, npm's and nvm's global folders,
|
|
123
|
-
Homebrew's), then, for Codex, inside the ChatGPT and Codex desktop apps and Codex's editor extension (VS Code,
|
|
124
|
-
Cursor or Windsurf, locally or on a machine they reach over SSH), which each ship one. When a CLI is not found
|
|
125
|
-
or fails, the limits are what the tool last recorded on this machine, and the dashboard's hover on their age
|
|
126
|
-
says so and why: for Claude, the plan usage it keeps in the account's `.claude.json`; for Codex, the limits it
|
|
127
|
-
recorded with its latest turn in its session files. Those are as old as the tool's last use of the account. An
|
|
128
|
-
account using Amazon Bedrock or an API key has no plan limits.
|
|
129
|
-
|
|
130
|
-
**This machine's use** of the account over the last 30 days, from the files the tool writes:
|
|
131
|
-
|
|
132
|
-
- **Claude**: Claude Code's own estimate of each session's cost at list price, which it saves in the session's
|
|
133
|
-
file under `projects/` when the session ends, is cleared, resumed or forked, summed over sessions active in
|
|
134
|
-
the period (Claude Code deletes older session files by default). A running session counts as of its last
|
|
135
|
-
save, and your provider's bill can differ from list price. The row says Bedrock when the account's
|
|
136
|
-
`settings.json` sets `CLAUDE_CODE_USE_BEDROCK` or `CLAUDE_CODE_USE_MANTLE` in its `env`, or its sessions used
|
|
137
|
-
Bedrock model IDs.
|
|
138
|
-
- **Codex**: the tokens its sessions active in the period used, cached input included, from the running total
|
|
139
|
-
Codex records in its session files.
|
|
140
|
-
- **Grok**: what `grok usage <session-id>` reports, summed over sessions active in the period. A session's
|
|
141
|
-
totals include history it inherited by resume or fork, so a fork counts that part twice.
|
|
142
|
-
|
|
143
|
-
The daemon sends each session's figure with the session's id, and the dashboard counts every session once. A
|
|
144
|
-
session found on several computers, because its files were copied or synced between them, counts on the computer
|
|
145
|
-
where it was last active, so a session resumed elsewhere moves there with its whole cost. When the computers agree
|
|
146
|
-
on that time, as they do for copied files, it counts on the computer that reported it first, which is where it ran.
|
|
147
|
-
|
|
148
|
-
A limit whose reset time has passed since the reading shows no number, since the new window's use is not known
|
|
149
|
-
yet. None of these outputs is a published format: when a tool changes one, the row says "unknown" and why,
|
|
150
|
-
rather than showing a wrong number. Daemons before 0.7.0 send usage in a shape the dashboard no longer takes,
|
|
151
|
-
so their accounts are not shown until they upgrade themselves.
|
|
152
|
-
|
|
153
|
-
## Skill refinement
|
|
154
|
-
|
|
155
|
-
The daemon runs the `autonomous-skill-refinement` skill's workflow: each feedback item an agent hands over becomes a
|
|
156
|
-
tested change to the synced skills, installed into this machine's skills folder, which then syncs everywhere. The
|
|
157
|
-
skill's `SKILL.md` holds the rules each step follows; the workflow itself is in `src/internal/skill-refinement/`.
|
|
158
|
-
|
|
159
|
-
- **Handing feedback over:** `skill-sync feedback <slug> <file>`, a few words naming the item and a file holding his
|
|
160
|
-
exact words and what drew them. The daemon adds it to the workflow's intake and the next run takes it.
|
|
161
|
-
- **Where it works from:** the copy of the skill in an agent account folder (`~/.claude-alex/skills/…`): the one in
|
|
162
|
-
`SKILL_REFINEMENT_CLAUDE_CONFIG_DIR` when that is set, else the one whose `.local/` already holds the workflow's
|
|
163
|
-
database, else the first Claude account's. Its `.local/` holds the queue, run files and databases; skill-sync never
|
|
164
|
-
syncs a name starting with a dot, so they stay on the machine. The intakes of every copy on the machine are read.
|
|
165
|
-
- **Models:** Jev, with the key in `TYPESAFE_API_KEY` or the skill folder's `typesafe-api-key` file, classifies and
|
|
166
|
-
judges; Opus drafts and writes the A/B replies through the `claude` CLI, found as for account usage, on the account
|
|
167
|
-
that holds the copy.
|
|
168
|
-
- **Taking over from another runner:** while another live process runs the workflow on the same data (the
|
|
169
|
-
`skill-refinement.service` a machine had before, or a copy started by hand), the daemon waits and checks every
|
|
170
|
-
minute, so stopping that process hands the work over. It reads that from the engine's own runner records.
|
|
171
|
-
- **When a failed item runs again:** an item whose run ends without an install waits until something it runs on
|
|
172
|
-
changes (its text, a skill, Draft or the judge). A failure of a service outside it changes none of those, so it carries
|
|
173
|
-
a retry time instead: a Claude usage limit at the reset its message states (an hour on when it states none), any other
|
|
174
|
-
failure of Jev or the generative model an hour on. The daemon checks every minute and runs the item again once that
|
|
175
|
-
time passes, once per failure (`src/internal/skill-refinement/workflow/retry.ts`).
|
|
176
|
-
- **Edits made while a run works:** a run takes minutes, and the skill it changes can be edited meanwhile, by hand or
|
|
177
|
-
by another machine's install pulled here. Install applies the winner's exact replacements to the skill's text as it
|
|
178
|
-
is then, so every edit outside the lines the winner replaces is kept, and runs the rule-deletion check again on that
|
|
179
|
-
text. It first waits up to two minutes for this copy to pull an edit the server lists but this copy lacks, and writes
|
|
180
|
-
only if the text is still the one it built on; an edit landing during the write, or another machine's later edit
|
|
181
|
-
replacing it afterwards, makes it install again on the new text, up to three times. When an edit has changed the
|
|
182
|
-
lines the winner replaces, nothing is installed, and the item's next run drafts on the new text. Still open:
|
|
183
|
-
skill-sync keeps the later of two edits to a file, so a `history.md` entry two machines append within one sync cycle
|
|
184
|
-
loses one of them, and two machines can pick the same A/B case number.
|
|
185
|
-
- A machine with no copy of the skill, or no `claude` CLI, runs no workflow; the dashboard says which.
|
|
186
|
-
|
|
187
|
-
## Configuration
|
|
188
|
-
|
|
189
|
-
`~/.jive/skill-sync.json` holds the endpoint and the machine name, written on first run.
|
|
190
|
-
`~/.jive/skill-sync-token.json` holds this machine's token while it is signed in. It is an ordinary file,
|
|
191
|
-
so anything that can read your home directory can copy the token; signing out, or the server rejecting the
|
|
192
|
-
token, deletes it.
|
|
193
|
-
|
|
194
|
-
Each token is issued to one machine, and the server records everything sent with it (folders, edits, account
|
|
195
|
-
readings) as that machine's. A token copied onto another computer, as when you copy your home folder to a new
|
|
196
|
-
one, is refused there: the server answers that the token belongs to the machine it was issued to, and that
|
|
197
|
-
computer's daemon stops syncing and reporting, logs which machine the token belongs to, and answers `list`,
|
|
198
|
-
`add` and `logout` with the same explanation. Run `skill-sync login` on it to sign it in as itself. Do not run
|
|
199
|
-
`skill-sync logout` there: it would revoke the other machine's token. The daemon refuses to, and so does the
|
|
200
|
-
server. The CLI reaches the daemon over `~/.jive/skill-sync.sock` (a named pipe on Windows),
|
|
201
|
-
which only your user can open.
|
package/bin/package.json
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"type":"commonjs"}
|