@tanagram/lore 0.1.127 → 0.1.129
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/README.md +31 -0
- package/dist/index.js +156 -154
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -201,6 +201,22 @@ Esc to return to the sidebar, and q to exit.
|
|
|
201
201
|
- `lore workspaces list` — calls `/api/whoami` and prints the WorkOS
|
|
202
202
|
workspaces the authenticated user currently belongs to. (Workspaces
|
|
203
203
|
are organizations in the underlying API contract.)
|
|
204
|
+
- `lore skills list` — lists skills visible to the authenticated workspace.
|
|
205
|
+
- `lore skills sync` — runs the foreground skill sync engine once: it scans
|
|
206
|
+
supported local skill roots, captures local changes privately, pulls accepted
|
|
207
|
+
remote updates for installed skills, and preserves subscriber edits as
|
|
208
|
+
proposals instead of overwriting them.
|
|
209
|
+
- `lore skills install <skill-id>` — installs a workspace-visible skill by its
|
|
210
|
+
stable `sk_…` id and records the local installation.
|
|
211
|
+
- `lore skills uninstall <skill-id>` — removes the managed local skill file and
|
|
212
|
+
clears the installation record.
|
|
213
|
+
- `lore skills publish <local-name-or-skill-id>` — publishes an authored skill
|
|
214
|
+
to the workspace, or submits an installed-skill edit as a proposal when the
|
|
215
|
+
caller is not the owner.
|
|
216
|
+
- `lore skills daemon` — hidden long-running worker used by supervised/dev
|
|
217
|
+
environments for skill sync. It does a startup sync, subscribes to skill SSE
|
|
218
|
+
events from `/api/events/stream`, falls back to polling, and performs a full
|
|
219
|
+
catch-up when the stream reports a truncated cursor.
|
|
204
220
|
- `lore export` — uploads a single Claude Code session on demand and prints a
|
|
205
221
|
JSON object with the thread URL. Use `--session-id <id>` to pick a specific
|
|
206
222
|
session, `--project <path>` to override the project lookup, and
|
|
@@ -256,6 +272,21 @@ sink so installed users don't see noise on every command.
|
|
|
256
272
|
`pnpm dev` runs the CLI postinstall hook before starting so bundled dev skills
|
|
257
273
|
are refreshed in `~/.claude/skills` on each dev session.
|
|
258
274
|
|
|
275
|
+
### Skill sync end-to-end tests
|
|
276
|
+
|
|
277
|
+
Team skill sync has an opt-in acceptance suite that exercises an author's
|
|
278
|
+
computer and a subscriber's computer with isolated temporary homes and project
|
|
279
|
+
roots. It is intentionally separate from the default `pnpm test` glob so CI can
|
|
280
|
+
choose when to run the full acceptance loop explicitly:
|
|
281
|
+
|
|
282
|
+
```sh
|
|
283
|
+
pnpm --filter @tanagram/lore test:skill-sync:e2e
|
|
284
|
+
```
|
|
285
|
+
|
|
286
|
+
The suite covers private capture, workspace publish/install, subscriber update
|
|
287
|
+
pulls, subscriber edit proposals, owner approval, uninstall cleanup, project-root
|
|
288
|
+
isolation, and daemon reconnect/catch-up behavior.
|
|
289
|
+
|
|
259
290
|
To point the CLI at a different API origin (e.g. through a Vite proxy or a
|
|
260
291
|
remote staging deployment), set `LORE_API_ORIGIN`. The override wins over the
|
|
261
292
|
built-in env defaults: `LORE_API_ORIGIN=http://localhost:8080 lore health`
|