@tpsdev-ai/flair 0.50.0 → 0.51.1
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 +15 -4
- package/dist/build-info.json +3 -3
- package/dist/cli.js +630 -199
- package/dist/doctor-client.js +3 -3
- package/dist/install/clients.js +28 -17
- package/dist/lib/daemon-liveness.js +207 -0
- package/dist/lib/doctor-run.js +481 -0
- package/dist/lib/launchd-management.js +7 -26
- package/dist/lib/upgrade-migrations.js +181 -0
- package/dist/resources/Federation.js +42 -20
- package/dist/resources/MemoryArchive.js +94 -0
- package/dist/resources/MemoryBootstrap.js +3 -1
- package/dist/resources/RecordUsage.js +13 -6
- package/dist/resources/SemanticSearch.js +14 -2
- package/dist/resources/federation-classify.js +90 -0
- package/dist/resources/health.js +9 -10
- package/dist/resources/mcp-tools.js +115 -7
- package/dist/resources/record-types.js +3 -1
- package/dist/resources/search-readiness.js +33 -10
- package/dist/resources/semantic-retrieval-core.js +39 -20
- package/dist/resources/usage-ids.js +63 -0
- package/docs/federation.md +11 -0
- package/docs/supply-chain-policy.md +1 -1
- package/docs/upgrade.md +17 -1
- package/package.json +2 -2
- package/schemas/federation.graphql +1 -1
package/README.md
CHANGED
|
@@ -16,17 +16,28 @@ Runs on a laptop, a VPS, or anywhere Node does. Needs **Node.js 22+**.
|
|
|
16
16
|
# 1. Install the CLI (no sudo)
|
|
17
17
|
npm install -g @tpsdev-ai/flair
|
|
18
18
|
|
|
19
|
-
# 2.
|
|
19
|
+
# 2. Verify the command is on your PATH
|
|
20
|
+
flair --version
|
|
21
|
+
|
|
22
|
+
# 3. Bootstrap the instance and register an agent
|
|
20
23
|
flair init --agent mybot
|
|
21
24
|
|
|
22
|
-
#
|
|
25
|
+
# 4. Write a memory
|
|
23
26
|
flair memory add --agent mybot "Harper v5 sandbox blocks node:module but process.dlopen works"
|
|
24
27
|
|
|
25
|
-
#
|
|
28
|
+
# 5. Find it back by meaning, not by keyword
|
|
26
29
|
flair search --agent mybot "native addon loading in sandboxed runtimes"
|
|
27
30
|
```
|
|
28
31
|
|
|
29
|
-
|
|
32
|
+
If `flair --version` prints `command not found`, your npm global bin directory is not on `PATH`:
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
export PATH="$(npm prefix -g)/bin:$PATH"
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
Re-run `flair --version` to confirm, then continue.
|
|
39
|
+
|
|
40
|
+
Step 5 finds the memory you never keyword-matched:
|
|
30
41
|
|
|
31
42
|
```
|
|
32
43
|
Harper v5 sandbox blocks node:module but process.dlopen works
|
package/dist/build-info.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.
|
|
3
|
-
"commit": "
|
|
4
|
-
"builtAt": "2026-
|
|
2
|
+
"version": "0.51.1",
|
|
3
|
+
"commit": "3956621ec7803c982ae249eb0b19383f3c945c76",
|
|
4
|
+
"builtAt": "2026-09-01T15:49:54.601Z",
|
|
5
5
|
"builder": "tsc"
|
|
6
6
|
}
|