@facthouse/mcp 0.35.2 → 0.36.0
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
CHANGED
|
@@ -139,17 +139,17 @@ These CLI commands work in bash, zsh, and PowerShell. Quote @facthouse/mcp in Po
|
|
|
139
139
|
|
|
140
140
|
<!-- x-release-please-start-version -->
|
|
141
141
|
```bash
|
|
142
|
-
npm install -g @facthouse/mcp@0.
|
|
142
|
+
npm install -g @facthouse/mcp@0.36.0
|
|
143
143
|
facthouse init --yes
|
|
144
144
|
```
|
|
145
145
|
|
|
146
146
|
If npm install -g fails because a command named mcp already exists, remove that leftover command and retry.
|
|
147
147
|
|
|
148
148
|
```bash
|
|
149
|
-
npx -y -p "@facthouse/mcp@0.
|
|
150
|
-
npx -y -p "@facthouse/mcp@0.
|
|
151
|
-
npx -y -p "@facthouse/mcp@0.
|
|
152
|
-
npx -y -p "@facthouse/mcp@0.
|
|
149
|
+
npx -y -p "@facthouse/mcp@0.36.0" -- facthouse init --yes
|
|
150
|
+
npx -y -p "@facthouse/mcp@0.36.0" -- facthouse settings --json
|
|
151
|
+
npx -y -p "@facthouse/mcp@0.36.0" -- facthouse stats
|
|
152
|
+
npx -y -p "@facthouse/mcp@0.36.0" -- facthouse inspect
|
|
153
153
|
```
|
|
154
154
|
<!-- x-release-please-end -->
|
|
155
155
|
|
|
@@ -303,12 +303,12 @@ A non-default data directory prints a distinct MCP server name so two stores can
|
|
|
303
303
|
"mcpServers": {
|
|
304
304
|
"facthouse-personal": {
|
|
305
305
|
"command": "npx",
|
|
306
|
-
"args": ["-y", "@facthouse/mcp@0.
|
|
306
|
+
"args": ["-y", "@facthouse/mcp@0.36.0"],
|
|
307
307
|
"env": { "FACTHOUSE_DATA": "C:\\Users\\alex\\.facthouse-personal" }
|
|
308
308
|
},
|
|
309
309
|
"facthouse-work": {
|
|
310
310
|
"command": "npx",
|
|
311
|
-
"args": ["-y", "@facthouse/mcp@0.
|
|
311
|
+
"args": ["-y", "@facthouse/mcp@0.36.0"],
|
|
312
312
|
"env": { "FACTHOUSE_DATA": "C:\\Users\\alex\\.facthouse-work" }
|
|
313
313
|
}
|
|
314
314
|
}
|
|
@@ -334,7 +334,7 @@ Example — placeholders only; do not put a real password in a committed file:
|
|
|
334
334
|
"mcpServers": {
|
|
335
335
|
"facthouse": {
|
|
336
336
|
"command": "npx",
|
|
337
|
-
"args": ["-y", "@facthouse/mcp@0.
|
|
337
|
+
"args": ["-y", "@facthouse/mcp@0.36.0"],
|
|
338
338
|
"env": {
|
|
339
339
|
"FACTHOUSE_DATA": "C:\\Users\\alex\\.facthouse-work",
|
|
340
340
|
"FACTHOUSE_STORAGE": "postgres",
|
|
@@ -380,7 +380,7 @@ To skip the wizard (record only — no transcript copy), paste this. The server
|
|
|
380
380
|
"mcpServers": {
|
|
381
381
|
"facthouse": {
|
|
382
382
|
"command": "npx",
|
|
383
|
-
"args": ["-y", "@facthouse/mcp@0.
|
|
383
|
+
"args": ["-y", "@facthouse/mcp@0.36.0"]
|
|
384
384
|
}
|
|
385
385
|
}
|
|
386
386
|
}
|
|
@@ -405,7 +405,7 @@ PreCompact `notify compaction` is the useful one: when the client is about to co
|
|
|
405
405
|
"hooks": [
|
|
406
406
|
{
|
|
407
407
|
"type": "command",
|
|
408
|
-
"command": "npx -y -p @facthouse/mcp@0.
|
|
408
|
+
"command": "npx -y -p @facthouse/mcp@0.36.0 -- facthouse notify compaction --data /absolute/path/to/the-same-store"
|
|
409
409
|
}
|
|
410
410
|
]
|
|
411
411
|
}
|
|
@@ -494,7 +494,7 @@ Throwaway store, not the capture path for a real Claude Code or Cursor home. The
|
|
|
494
494
|
<!-- x-release-please-start-version -->
|
|
495
495
|
```bash
|
|
496
496
|
export FACTHOUSE_DATA=/tmp/facthouse-demo
|
|
497
|
-
om() { npx -y -p "@facthouse/mcp@0.
|
|
497
|
+
om() { npx -y -p "@facthouse/mcp@0.36.0" -- facthouse "$@"; }
|
|
498
498
|
|
|
499
499
|
om init --yes
|
|
500
500
|
|
|
@@ -509,7 +509,7 @@ om stats
|
|
|
509
509
|
|
|
510
510
|
```powershell
|
|
511
511
|
$env:FACTHOUSE_DATA = Join-Path $env:TEMP "facthouse-demo"
|
|
512
|
-
function om { npx -y -p "@facthouse/mcp@0.
|
|
512
|
+
function om { npx -y -p "@facthouse/mcp@0.36.0" -- facthouse @args }
|
|
513
513
|
om init --yes
|
|
514
514
|
om record --role user --content "I prefer dark mode in every editor, and I never want telemetry enabled."
|
|
515
515
|
om record --role user --content "I am allergic to shellfish, so avoid seafood restaurants when booking anything."
|
|
@@ -579,13 +579,11 @@ On [Cursor Directory](https://cursor.directory/plugins/facthouse), **Add to Curs
|
|
|
579
579
|
Add to `.cursorrules` (Cursor) or `.windsurfrules` (Windsurf) in your project root:
|
|
580
580
|
|
|
581
581
|
```
|
|
582
|
-
|
|
583
|
-
- At the start of every conversation, before answering, call get_session_context unless you already loaded the memory://briefing resource. That call returns the same working briefing the resource would have injected. Tools-only clients never fetch resources.
|
|
584
|
-
- Before answering questions this store might already know, call search_knowledge
|
|
585
|
-
- To find out everything known about a particular person, project, or thing, call get_entity
|
|
586
|
-
- Call capture_fact only to correct or add something copy or extraction missed
|
|
582
|
+
Facthouse memory is available. Follow the server's instructions (call `get_session_context` at the start). Use the facthouse skills to save and search; without them, call `search_knowledge` before answering questions about past work, `get_entity` for a named person or project, and `capture_fact` only to correct or add what was missed.
|
|
587
583
|
```
|
|
588
584
|
|
|
585
|
+
The installable Cursor and Claude Code plugin is `plugins/facthouse`. It ships this same rule.
|
|
586
|
+
|
|
589
587
|
Cursor and Windsurf consume tools but not resources, so `memory://profile` will not load on its own there. Cursor conversations themselves are copied with `kind: "cursor"` (JSONL under `~/.cursor/projects/`, not the SQLite composer store).
|
|
590
588
|
|
|
591
589
|
Grok Build conversations are copied with `kind: "grok"`: `chat_history.jsonl` under `~/.grok/sessions/` (or `GROK_HOME`), not `updates.jsonl`. Reasoning, system lines, injected reminders and sub-agent runs (sessions a parent lists under its `subagents/`) are skipped.
|
|
@@ -18,11 +18,15 @@ export declare const NODE_REQUIREMENT_LINE = "Needs Node 22.5 or 24+.";
|
|
|
18
18
|
export declare const LISTING_DEFAULT_DATA_DIR = "~/.facthouse";
|
|
19
19
|
export { CURSOR_DIRECTORY_ORIGIN };
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
21
|
+
* Thin always-on rule. One sentence for clients with the facthouse skills
|
|
22
|
+
* and for clients that only have the tools.
|
|
23
|
+
*
|
|
24
|
+
* One definition for the Cursor Directory Rules field, the README Cursor
|
|
25
|
+
* block, and `plugins/facthouse/rules/facthouse.mdc` (body after frontmatter).
|
|
26
|
+
* Do not paste `SESSION_BOOTSTRAP_INSTRUCTIONS` here. The server already
|
|
27
|
+
* sends that text; the rule tells the client to follow it.
|
|
24
28
|
*/
|
|
25
|
-
export declare const CURSOR_RULES_BODY = "
|
|
29
|
+
export declare const CURSOR_RULES_BODY = "Facthouse memory is available. Follow the server's instructions (call `get_session_context` at the start). Use the facthouse skills to save and search; without them, call `search_knowledge` before answering questions about past work, `get_entity` for a named person or project, and `capture_fact` only to correct or add what was missed.";
|
|
26
30
|
export interface CursorDirectoryListing {
|
|
27
31
|
origin: string;
|
|
28
32
|
title: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cursor-listing.d.ts","sourceRoot":"","sources":["../../src/cli/cursor-listing.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;
|
|
1
|
+
{"version":3,"file":"cursor-listing.d.ts","sourceRoot":"","sources":["../../src/cli/cursor-listing.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAeH,OAAO,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;AAGxD,yFAAyF;AACzF,eAAO,MAAM,qBAAqB,4BAA4B,CAAC;AAE/D;;;GAGG;AACH,eAAO,MAAM,wBAAwB,iBAAiB,CAAC;AAEvD,OAAO,EAAE,uBAAuB,EAAE,CAAC;AAEnC;;;;;;;;GAQG;AACH,eAAO,MAAM,iBAAiB,qVACsT,CAAC;AAErV,MAAM,WAAW,sBAAsB;IACrC,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,4DAA4D;IAC5D,OAAO,EAAE,MAAM,CAAC;IAChB,mDAAmD;IACnD,KAAK,EAAE,MAAM,CAAC;IACd,wCAAwC;IACxC,KAAK,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,KAAK,EAAE,MAAM,CAAC;CACf;AAUD,wBAAgB,wBAAwB,IAAI,MAAM,CAQjD;AAED,wBAAgB,oBAAoB,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAE7D;AAED;;;GAGG;AACH,wBAAgB,wBAAwB,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAKjE;AAED,wBAAgB,sBAAsB,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAW/D;AAED,wBAAgB,kBAAkB,IAAI,MAAM,CAW3C;AAED,wBAAgB,sBAAsB,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,sBAAsB,CAa/E;AAED,wBAAgB,4BAA4B,CAC1C,OAAO,GAAE,sBAAiD,GACzD,MAAM,CAgCR"}
|
|
@@ -11,7 +11,6 @@
|
|
|
11
11
|
import path from "node:path";
|
|
12
12
|
import { fileURLToPath } from "node:url";
|
|
13
13
|
import { GITHUB_REPO, HOMEPAGE, LOCKUP, PRODUCT_NAME, cliDataArg, npmPackageSpec, pathFreeCli, } from "../identity.js";
|
|
14
|
-
import { SESSION_BOOTSTRAP_INSTRUCTIONS } from "../tools/resources.js";
|
|
15
14
|
import { mcpConfigSnippet } from "./init.js";
|
|
16
15
|
import { INIT_PROMPTS, silentEmbeddingProvider } from "./init-knobs.js";
|
|
17
16
|
import { CURSOR_DIRECTORY_ORIGIN } from "./listings.js";
|
|
@@ -25,15 +24,15 @@ export const NODE_REQUIREMENT_LINE = "Needs Node 22.5 or 24+.";
|
|
|
25
24
|
export const LISTING_DEFAULT_DATA_DIR = "~/.facthouse";
|
|
26
25
|
export { CURSOR_DIRECTORY_ORIGIN };
|
|
27
26
|
/**
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
27
|
+
* Thin always-on rule. One sentence for clients with the facthouse skills
|
|
28
|
+
* and for clients that only have the tools.
|
|
29
|
+
*
|
|
30
|
+
* One definition for the Cursor Directory Rules field, the README Cursor
|
|
31
|
+
* block, and `plugins/facthouse/rules/facthouse.mdc` (body after frontmatter).
|
|
32
|
+
* Do not paste `SESSION_BOOTSTRAP_INSTRUCTIONS` here. The server already
|
|
33
|
+
* sends that text; the rule tells the client to follow it.
|
|
31
34
|
*/
|
|
32
|
-
export const CURSOR_RULES_BODY = `
|
|
33
|
-
- ${SESSION_BOOTSTRAP_INSTRUCTIONS}
|
|
34
|
-
- Before answering questions this store might already know, call search_knowledge
|
|
35
|
-
- To find out everything known about a particular person, project, or thing, call get_entity
|
|
36
|
-
- Call capture_fact only to correct or add something copy or extraction missed`;
|
|
35
|
+
export const CURSOR_RULES_BODY = "Facthouse memory is available. Follow the server's instructions (call `get_session_context` at the start). Use the facthouse skills to save and search; without them, call `search_knowledge` before answering questions about past work, `get_entity` for a named person or project, and `capture_fact` only to correct or add what was missed.";
|
|
37
36
|
function requiredVersion(version) {
|
|
38
37
|
const resolved = version ?? packageVersion();
|
|
39
38
|
if (!resolved) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cursor-listing.js","sourceRoot":"","sources":["../../src/cli/cursor-listing.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAA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