@skillfm/local 2.0.8 → 2.0.9
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 +8 -6
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -11,13 +11,15 @@ 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
|
|
14
|
+
npx -y @skillfm/local@latest start
|
|
15
15
|
```
|
|
16
16
|
|
|
17
|
-
>
|
|
18
|
-
>
|
|
19
|
-
>
|
|
20
|
-
>
|
|
17
|
+
> The package exposes three bin aliases: `local` (natural npx form — works because
|
|
18
|
+
> npx invokes the file path directly and never hits bash's `local` keyword),
|
|
19
|
+
> `skillfm-local` (same entry — use this if you `npm i -g @skillfm/local`, since
|
|
20
|
+
> bash would shadow a global `local` command with its reserved keyword), and
|
|
21
|
+
> `skillfm-guard` (hook enforcement shim used by harness integrations).
|
|
22
|
+
> Explicit equivalent: `npx -y --package @skillfm/local@latest skillfm-local start`.
|
|
21
23
|
|
|
22
24
|
Output is a single line of JSON the agent can parse:
|
|
23
25
|
|
|
@@ -62,7 +64,7 @@ On successful `/activate/verify`, the brain_key is persisted to `~/.skillfm/conf
|
|
|
62
64
|
|
|
63
65
|
## Agent-native flow in plain words
|
|
64
66
|
|
|
65
|
-
1. Agent spawns the sidecar: `npx
|
|
67
|
+
1. Agent spawns the sidecar: `npx -y @skillfm/local@latest start &`
|
|
66
68
|
2. Agent reads `~/.skillfm/local.json` to get the URL.
|
|
67
69
|
3. Agent asks the user for their email and POSTs `/activate/request`.
|
|
68
70
|
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
|
+
"version": "2.0.9",
|
|
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,6 +10,7 @@
|
|
|
10
10
|
"README.md"
|
|
11
11
|
],
|
|
12
12
|
"bin": {
|
|
13
|
+
"local": "dist/index.js",
|
|
13
14
|
"skillfm-local": "dist/index.js",
|
|
14
15
|
"skillfm-guard": "dist/guard/bin.js"
|
|
15
16
|
},
|