@skillfm/local 2.0.3 → 2.0.4

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.
Files changed (2) hide show
  1. package/README.md +7 -2
  2. package/package.json +1 -2
package/README.md CHANGED
@@ -11,9 +11,14 @@ This package sidesteps the problem: instead of asking the agent to install a new
11
11
  ## Install and run
12
12
 
13
13
  ```bash
14
- npx -y @skillfm/local@latest start
14
+ npx --yes --package @skillfm/local@latest skillfm-local start
15
15
  ```
16
16
 
17
+ > Why the verbose `--package` form? This npm package ships two CLI entry points
18
+ > (`skillfm-local` + `skillfm-guard` for hook-based harness enforcement). Since
19
+ > the package name's tail `local` is a shell reserved word, we cannot expose it
20
+ > as a bin shortcut. The above `--package` form tells npx exactly which bin to run.
21
+
17
22
  Output is a single line of JSON the agent can parse:
18
23
 
19
24
  ```json
@@ -57,7 +62,7 @@ On successful `/activate/verify`, the brain_key is persisted to `~/.skillfm/conf
57
62
 
58
63
  ## Agent-native flow in plain words
59
64
 
60
- 1. Agent spawns the sidecar: `npx -y @skillfm/local@latest start &`
65
+ 1. Agent spawns the sidecar: `npx --yes --package @skillfm/local@latest skillfm-local start &`
61
66
  2. Agent reads `~/.skillfm/local.json` to get the URL.
62
67
  3. Agent asks the user for their email and POSTs `/activate/request`.
63
68
  4. The backend emails a 6-digit code. Agent asks the user for the code.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skillfm/local",
3
- "version": "2.0.3",
3
+ "version": "2.0.4",
4
4
  "description": "SkillFM local sidecar — a tiny localhost HTTP proxy that lets any AI agent activate and run SkillFM skills in the current conversation without restarting its MCP runtime. Writes ~/.skillfm/local.json for service discovery.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -10,7 +10,6 @@
10
10
  "README.md"
11
11
  ],
12
12
  "bin": {
13
- "local": "dist/index.js",
14
13
  "skillfm-local": "dist/index.js",
15
14
  "skillfm-guard": "dist/guard/bin.js"
16
15
  },