@facthouse/mcp 0.29.1 → 0.31.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 +73 -51
- package/dist/cli/eta.d.ts +15 -0
- package/dist/cli/eta.d.ts.map +1 -0
- package/dist/cli/eta.js +45 -0
- package/dist/cli/eta.js.map +1 -0
- package/dist/cli/init-backfill.d.ts +38 -9
- package/dist/cli/init-backfill.d.ts.map +1 -1
- package/dist/cli/init-backfill.js +131 -56
- package/dist/cli/init-backfill.js.map +1 -1
- package/dist/cli/init-knobs.d.ts +19 -3
- package/dist/cli/init-knobs.d.ts.map +1 -1
- package/dist/cli/init-knobs.js +54 -12
- package/dist/cli/init-knobs.js.map +1 -1
- package/dist/cli/init-wizard.d.ts +6 -2
- package/dist/cli/init-wizard.d.ts.map +1 -1
- package/dist/cli/init-wizard.js +1 -1
- package/dist/cli/init-wizard.js.map +1 -1
- package/dist/cli/init.d.ts +16 -6
- package/dist/cli/init.d.ts.map +1 -1
- package/dist/cli/init.js +45 -17
- package/dist/cli/init.js.map +1 -1
- package/dist/cli/inspect-mark.d.ts +6 -0
- package/dist/cli/inspect-mark.d.ts.map +1 -0
- package/dist/cli/inspect-mark.js +6 -0
- package/dist/cli/inspect-mark.js.map +1 -0
- package/dist/cli/inspect-match.d.ts +17 -0
- package/dist/cli/inspect-match.d.ts.map +1 -0
- package/dist/cli/inspect-match.js +100 -0
- package/dist/cli/inspect-match.js.map +1 -0
- package/dist/cli/inspect-payload.d.ts +20 -2
- package/dist/cli/inspect-payload.d.ts.map +1 -1
- package/dist/cli/inspect-payload.js +90 -38
- package/dist/cli/inspect-payload.js.map +1 -1
- package/dist/cli/inspect-progress.d.ts +14 -0
- package/dist/cli/inspect-progress.d.ts.map +1 -0
- package/dist/cli/inspect-progress.js +71 -0
- package/dist/cli/inspect-progress.js.map +1 -0
- package/dist/cli/inspect-theme.d.ts +2 -2
- package/dist/cli/inspect-theme.d.ts.map +1 -1
- package/dist/cli/inspect-theme.js +2 -10
- package/dist/cli/inspect-theme.js.map +1 -1
- package/dist/cli/inspect.d.ts.map +1 -1
- package/dist/cli/inspect.js +83 -67
- package/dist/cli/inspect.js.map +1 -1
- package/dist/cli/query.d.ts +3 -3
- package/dist/cli/query.d.ts.map +1 -1
- package/dist/cli/query.js +56 -11
- package/dist/cli/query.js.map +1 -1
- package/dist/cli/run.d.ts +13 -0
- package/dist/cli/run.d.ts.map +1 -1
- package/dist/cli/run.js +208 -69
- package/dist/cli/run.js.map +1 -1
- package/dist/cli/spend-dashboard.d.ts +1 -1
- package/dist/cli/spend-dashboard.d.ts.map +1 -1
- package/dist/cli/spend-dashboard.js +6 -5
- package/dist/cli/spend-dashboard.js.map +1 -1
- package/dist/cli/tty-progress.d.ts +19 -0
- package/dist/cli/tty-progress.d.ts.map +1 -0
- package/dist/cli/tty-progress.js +108 -0
- package/dist/cli/tty-progress.js.map +1 -0
- package/dist/cli/web.d.ts.map +1 -1
- package/dist/cli/web.js +2 -3
- package/dist/cli/web.js.map +1 -1
- package/dist/config.d.ts +2 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +4 -0
- package/dist/config.js.map +1 -1
- package/dist/db/embeddings.d.ts +2 -0
- package/dist/db/embeddings.d.ts.map +1 -1
- package/dist/db/embeddings.js +12 -0
- package/dist/db/embeddings.js.map +1 -1
- package/dist/db/extract-watermarks.d.ts +9 -0
- package/dist/db/extract-watermarks.d.ts.map +1 -1
- package/dist/db/extract-watermarks.js +10 -0
- package/dist/db/extract-watermarks.js.map +1 -1
- package/dist/db/stats.d.ts +13 -1
- package/dist/db/stats.d.ts.map +1 -1
- package/dist/db/stats.js +13 -1
- package/dist/db/stats.js.map +1 -1
- package/dist/embedding/provider.d.ts +13 -0
- package/dist/embedding/provider.d.ts.map +1 -1
- package/dist/embedding/provider.js +16 -8
- package/dist/embedding/provider.js.map +1 -1
- package/dist/intelligence/abort.d.ts +10 -0
- package/dist/intelligence/abort.d.ts.map +1 -0
- package/dist/intelligence/abort.js +18 -0
- package/dist/intelligence/abort.js.map +1 -0
- package/dist/intelligence/cli.d.ts +4 -0
- package/dist/intelligence/cli.d.ts.map +1 -1
- package/dist/intelligence/cli.js +46 -2
- package/dist/intelligence/cli.js.map +1 -1
- package/dist/intelligence/consolidate.d.ts +35 -3
- package/dist/intelligence/consolidate.d.ts.map +1 -1
- package/dist/intelligence/consolidate.js +167 -51
- package/dist/intelligence/consolidate.js.map +1 -1
- package/dist/intelligence/extract-prompt.d.ts +7 -0
- package/dist/intelligence/extract-prompt.d.ts.map +1 -1
- package/dist/intelligence/extract-prompt.js +26 -0
- package/dist/intelligence/extract-prompt.js.map +1 -1
- package/dist/intelligence/historic-selection.d.ts +20 -0
- package/dist/intelligence/historic-selection.d.ts.map +1 -0
- package/dist/intelligence/historic-selection.js +44 -0
- package/dist/intelligence/historic-selection.js.map +1 -0
- package/dist/intelligence/http.d.ts +2 -0
- package/dist/intelligence/http.d.ts.map +1 -1
- package/dist/intelligence/http.js +15 -1
- package/dist/intelligence/http.js.map +1 -1
- package/dist/intelligence/line-time.d.ts +15 -0
- package/dist/intelligence/line-time.d.ts.map +1 -0
- package/dist/intelligence/line-time.js +34 -0
- package/dist/intelligence/line-time.js.map +1 -0
- package/dist/intelligence/provider.d.ts +1 -0
- package/dist/intelligence/provider.d.ts.map +1 -1
- package/dist/intelligence/provider.js +1 -0
- package/dist/intelligence/provider.js.map +1 -1
- package/dist/intelligence/sampling.d.ts.map +1 -1
- package/dist/intelligence/sampling.js +4 -1
- package/dist/intelligence/sampling.js.map +1 -1
- package/dist/intelligence/stage-router.d.ts +1 -0
- package/dist/intelligence/stage-router.d.ts.map +1 -1
- package/dist/intelligence/stage-router.js +4 -1
- package/dist/intelligence/stage-router.js.map +1 -1
- package/dist/intelligence/steps.d.ts +14 -2
- package/dist/intelligence/steps.d.ts.map +1 -1
- package/dist/intelligence/steps.js +65 -2
- package/dist/intelligence/steps.js.map +1 -1
- package/dist/intelligence/types.d.ts +4 -1
- package/dist/intelligence/types.d.ts.map +1 -1
- package/dist/ipc/scheduler-ipc.d.ts +7 -3
- package/dist/ipc/scheduler-ipc.d.ts.map +1 -1
- package/dist/ipc/scheduler-ipc.js +23 -15
- package/dist/ipc/scheduler-ipc.js.map +1 -1
- package/dist/paths.d.ts +18 -3
- package/dist/paths.d.ts.map +1 -1
- package/dist/paths.js +38 -3
- package/dist/paths.js.map +1 -1
- package/dist/scheduler.d.ts +3 -2
- package/dist/scheduler.d.ts.map +1 -1
- package/dist/scheduler.js +3 -1
- package/dist/scheduler.js.map +1 -1
- package/dist/server.js +5 -3
- package/dist/server.js.map +1 -1
- package/dist/sources/cursor.d.ts.map +1 -1
- package/dist/sources/cursor.js +10 -2
- package/dist/sources/cursor.js.map +1 -1
- package/dist/tools/fact-manager.d.ts +7 -0
- package/dist/tools/fact-manager.d.ts.map +1 -1
- package/dist/tools/fact-manager.js +19 -2
- package/dist/tools/fact-manager.js.map +1 -1
- package/dist/tools/read-tools.d.ts +4 -1
- package/dist/tools/read-tools.d.ts.map +1 -1
- package/dist/tools/read-tools.js +14 -7
- package/dist/tools/read-tools.js.map +1 -1
- package/dist/types/config.d.ts +4 -0
- package/dist/types/config.d.ts.map +1 -1
- package/dist/types/config.js +4 -0
- package/dist/types/config.js.map +1 -1
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Facthouse
|
|
2
2
|
|
|
3
|
-
<img src="brand/
|
|
3
|
+
<img src="brand/mark.png" width="128" align="right" alt="Facthouse">
|
|
4
4
|
|
|
5
5
|
Facthouse is a local memory engine for AI tools. Most “memory” products index chat logs. Facthouse takes agent activity - messages, tool use, and other MCP traffic - and applies neuroscience-inspired consolidation so it moves through **Data** (what happened in the session) → **Information** (extracted facts) → **Knowledge** (integrated beliefs on an entity graph). During this process, Facthouse links entities, drops duplicates, reconciles conflicts, and supersedes what is out of date. Vector embeddings add optional semantic search on top of that graph. The store is a SQLite file on your disk.
|
|
6
6
|
|
|
@@ -8,7 +8,7 @@ Facthouse is a local memory engine for AI tools. Most “memory” products inde
|
|
|
8
8
|
[](https://github.com/gordonkjlee/facthouse/actions/workflows/ci.yml)
|
|
9
9
|
[](LICENSE)
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
<a id="quick-start"></a>
|
|
12
12
|
|
|
13
13
|
## Quick Start
|
|
14
14
|
|
|
@@ -16,7 +16,7 @@ Needs Node 22.5 or 24+.
|
|
|
16
16
|
|
|
17
17
|
<!-- x-release-please-start-version -->
|
|
18
18
|
```bash
|
|
19
|
-
npm install -g @facthouse/mcp@0.
|
|
19
|
+
npm install -g @facthouse/mcp@0.31.0
|
|
20
20
|
facthouse init
|
|
21
21
|
```
|
|
22
22
|
<!-- x-release-please-end -->
|
|
@@ -25,33 +25,13 @@ If npm install -g fails because a command named mcp already exists, remove that
|
|
|
25
25
|
|
|
26
26
|
`facthouse init --web` is the same setup as a browser form — it prints a 127.0.0.1 URL and does not open a browser.
|
|
27
27
|
|
|
28
|
-
Press Enter to accept each default (copy = Claude Code or Cursor session logs on disk; type record if the assistant should save facts). If you picked copy, init asks whether to copy existing logs, then whether to extract and integrate. Init prints an MCP snippet —
|
|
28
|
+
Press Enter to accept each default (copy = Claude Code or Cursor session logs on disk; type record if the assistant should save facts). If you picked copy, init asks whether to copy existing logs, then whether to extract and integrate. Init prints an MCP snippet as soon as the store is written — add it to the client's MCP config while copy/extract run. Restart the client when init finishes.
|
|
29
29
|
|
|
30
30
|
In the client, state something durable in ordinary conversation — there is no remember command.
|
|
31
31
|
|
|
32
|
-
|
|
32
|
+
Ask it back in the next session, or `facthouse search`. That is the store.
|
|
33
33
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
Two ways. Pick one per store.
|
|
37
|
-
|
|
38
|
-
| | Copy from transcripts | The assistant records |
|
|
39
|
-
|---|---|---|
|
|
40
|
-
| Who | Claude Code or Cursor (session logs on disk, under the client home) | Any MCP client (Grok, Desktop, …) |
|
|
41
|
-
| How | Name a source; Facthouse copies new lines from those logs into the store | Empty `sources`; the assistant calls `capture_fact` |
|
|
42
|
-
| First run | TTY walk-through, pick **copy**, set cwd; init asks whether to copy existing logs, then whether to extract and integrate | TTY walk-through, pick **record** |
|
|
43
|
-
|
|
44
|
-
On a copy store, capture_fact is a correction for every MCP client, not only the one that writes JSONL. Grok has no transcript adapter — do not put Claude Code on copy and Grok on the same store expecting Grok to record.
|
|
45
|
-
|
|
46
|
-
```bash
|
|
47
|
-
facthouse init
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
Pick copy, set cwd. Init asks whether to copy existing logs, then whether to extract and integrate (Enter = all copied lines). Decline extract to do that later with `facthouse consolidate` (`--all` takes the whole backlog). After that, the server copies new lines when it handles a call.
|
|
51
|
-
|
|
52
|
-
Compact (optional): `facthouse notify compaction` — not a turn-end Stop hook.
|
|
53
|
-
|
|
54
|
-
Replay: [facthouse.dev/demo.html](https://facthouse.dev/demo.html).
|
|
34
|
+
Copy from Claude Code or Cursor logs, or record from any MCP client: [How conversations get in](#how-conversations-get-in). Replay: [facthouse.dev/demo.html](https://facthouse.dev/demo.html). CLI: [below](#cli).
|
|
55
35
|
|
|
56
36
|
## What you get
|
|
57
37
|
|
|
@@ -63,7 +43,7 @@ Replay: [facthouse.dev/demo.html](https://facthouse.dev/demo.html).
|
|
|
63
43
|
|
|
64
44
|
## How it works
|
|
65
45
|
|
|
66
|
-
One SQLite database. Three tables in it, not three databases:
|
|
46
|
+
One SQLite database. Three tables in it, not three databases: **Data** (what happened in the session) → **Information** (extracted facts) → **Knowledge** (integrated beliefs).
|
|
67
47
|
|
|
68
48
|
- **D** (`session_events`) — what was said (copied transcripts, or what the assistant records)
|
|
69
49
|
- **I** (`session_facts`) — what was just extracted, or `capture_fact`
|
|
@@ -71,13 +51,53 @@ One SQLite database. Three tables in it, not three databases:
|
|
|
71
51
|
|
|
72
52
|
FTS5 (words) and optional embeddings (meaning) are indexes of **K**. They are not a second store. Semantic search is off unless you turn it on: `search "shellfish"` finds a shellfish fact, `search "food"` does not, until you choose an embedding model — a model is an opinion about what “similar” means.
|
|
73
53
|
|
|
74
|
-
Two speeds. **Extract** turns new transcript lines into self-contained facts. **Integrate** fits them into what the store already knows: domains, entities, duplicates, contradictions, the graph. `consolidate`
|
|
54
|
+
Two speeds. **Copy** tails named transcripts into Data. **Extract** turns new transcript lines into self-contained facts (D→I). **Integrate** fits them into what the store already knows: domains, entities, duplicates, contradictions, the graph (I→K). `consolidate` is the umbrella: copy, extract, and integrate together. Extract is capped at 50 lines per run, so a first backfill is never spent on the lot; when extract runs, it takes the oldest 50 lines. Consolidation does not invent a sentence nobody said.
|
|
55
|
+
|
|
56
|
+
A hook cannot call MCP tools — those exist only on the assistant’s connection — and it must not wait for a model pass. So it does not invoke `consolidate`. It runs `facthouse notify …`, which tells the **already-running** server that a moment happened and returns at once. `consolidate` is the pipeline verb (MCP tool or CLI); the caller waits. `notify compaction` is that verb asked of the live server, asynchronously. `notify threshold` is a different policy (extract only, if due).
|
|
57
|
+
|
|
58
|
+
**Automatic**
|
|
59
|
+
|
|
60
|
+
| When | Copy | Extract (D→I) | Integrate (I→K) |
|
|
61
|
+
|------|------|---------------|-----------------|
|
|
62
|
+
| Facthouse MCP server starts | yes | yes (cap 50) | yes |
|
|
63
|
+
| A Facthouse tool or resource is called | yes, if sources named and JSONL grew | no | no |
|
|
64
|
+
| Facthouse MCP process exits | no | no | yes |
|
|
65
|
+
|
|
66
|
+
**Callable**
|
|
67
|
+
|
|
68
|
+
| Call | From | Copy | Extract (D→I) | Integrate (I→K) |
|
|
69
|
+
|------|------|------|---------------|-----------------|
|
|
70
|
+
| `consolidate` | MCP tool or CLI. Caller waits. | yes | yes (cap 50) | yes |
|
|
71
|
+
| `facthouse notify compaction` | Other process (recommended PreCompact; we do not install). Does not wait. | yes | yes (cap 50) | yes |
|
|
72
|
+
| `facthouse notify threshold` | Other process. Does not wait. Not a copy-store hook. | no | yes, if due (cap 50) | no |
|
|
73
|
+
|
|
74
|
+
On a default copy store with no extra hooks, only the automatic table runs: Facthouse starts (all three), copy on each Facthouse tool or resource call if named sources grew, and integrate on a clean process exit. Closing a chat window may skip the exit row; the next start still consolidates. Due on threshold means at least 10 unexamined lines and two minutes since the last gated run. `consolidate --all` lifts the extract cap. Compaction is recommended PreCompact (`notify compaction`): same three steps as `consolidate`, on the running server, without waiting. We do not install the hook. Not a Stop hook. `record` wakes threshold extract on a record store — do not install record hooks on a copy store.
|
|
75
75
|
|
|
76
76
|
Storage needs Node. Intelligence needs a language model. By default that is the [Claude Code CLI](https://github.com/anthropics/claude-code) on your existing subscription. Without it, consolidation falls back to a built-in heuristic that **does not extract facts from transcripts**. `capture_fact` still stores facts, with no entities and no domain routing.
|
|
77
77
|
|
|
78
|
+
## How conversations get in
|
|
79
|
+
|
|
80
|
+
Two ways. Pick one per store.
|
|
81
|
+
|
|
82
|
+
| | Copy from transcripts | The assistant records |
|
|
83
|
+
|---|---|---|
|
|
84
|
+
| Who | Claude Code or Cursor (session logs on disk, under the client home) | Any MCP client (Grok, Desktop, …) |
|
|
85
|
+
| How | Name a source; Facthouse copies new lines from those logs into the store | Empty `sources`; the assistant calls `capture_fact` |
|
|
86
|
+
| First run | TTY walk-through, pick **copy**, set cwd; init asks whether to copy existing logs, then whether to extract and integrate | TTY walk-through, pick **record** |
|
|
87
|
+
|
|
88
|
+
On a copy store, capture_fact is a correction for every MCP client, not only the one that writes JSONL. Grok has no transcript adapter — do not put Claude Code on copy and Grok on the same store expecting Grok to record.
|
|
89
|
+
|
|
90
|
+
```bash
|
|
91
|
+
facthouse init
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
Pick copy, set cwd. Init asks whether to copy existing logs, then whether to extract and integrate (Enter = all copied lines; a selection of 500 or more asks you to type the choice again). Decline extract to do that later with `facthouse consolidate` (`--all` takes remaining unexamined lines, not ones skipped as outside a 7-day or 30-day window). After that, the server copies new lines when it handles a Facthouse call. Extract and integrate follow the table in [How it works](#how-it-works).
|
|
95
|
+
|
|
96
|
+
Compact (recommended): `facthouse notify compaction` — we do not install the hook. Not a turn-end Stop hook.
|
|
97
|
+
|
|
78
98
|
## MCP
|
|
79
99
|
|
|
80
|
-
Works with
|
|
100
|
+
Works with any MCP-compatible tool. Default store: `~/.facthouse`. A different path is `"env": { "FACTHOUSE_DATA": "/absolute/path" }` on the MCP snippet. JSON accepts forward slashes on Windows.
|
|
81
101
|
|
|
82
102
|
Cursor consumes tools but not resources until a later adapter exists — `search_knowledge` and `get_entity` still work there; call `get_session_context` at session start.
|
|
83
103
|
|
|
@@ -117,19 +137,19 @@ Both are read-only views over the same database the tools query. Clients that ne
|
|
|
117
137
|
|
|
118
138
|
The MCP JSON starts the server via npx and does not need a global install. npm install -g puts facthouse on PATH for init, settings, stats, and inspect. The same CLI without PATH is npx -y -p "@facthouse/mcp" -- facthouse — pin the version; quote the package so PowerShell does not splat. -p and -- stop an older global binary winning. npx -y @facthouse/mcp with no -p / facthouse is the server; do not run it as a shell command for init, settings, or stats. The MCP paste starts the server. It does not put facthouse on PATH. To inspect the file from a terminal, see CLI below.
|
|
119
139
|
|
|
120
|
-
These CLI commands work in bash, zsh, and PowerShell. Quote @facthouse/mcp in PowerShell. Git Bash /c/... paths are not PowerShell; use C:/... and pass --data instead of cd or export. In Git Bash, quote a backslash path or write C:/... — unquoted \ is an escape. ~/ is expanded on every platform. WSL uses /mnt/c/.... FACTHOUSE_DATA on an MCP snippet applies only to that server process. A terminal facthouse command needs --data,
|
|
140
|
+
These CLI commands work in bash, zsh, and PowerShell. Quote @facthouse/mcp in PowerShell. Git Bash /c/... paths are not PowerShell; use C:/... and pass --data instead of cd or export. In Git Bash, quote a backslash path or write C:/... — unquoted \ is an escape. ~/ is expanded on every platform. WSL uses /mnt/c/.... FACTHOUSE_DATA on an MCP snippet applies only to that server process. A terminal facthouse command needs --data, FACTHOUSE_DATA in the environment that shell inherits, or a .facthouse store in this project. Hooks do not see mcp.json env.
|
|
121
141
|
|
|
122
142
|
<!-- x-release-please-start-version -->
|
|
123
143
|
```bash
|
|
124
|
-
npm install -g @facthouse/mcp@0.
|
|
144
|
+
npm install -g @facthouse/mcp@0.31.0
|
|
125
145
|
facthouse init --yes
|
|
126
146
|
```
|
|
127
147
|
|
|
128
148
|
```bash
|
|
129
|
-
npx -y -p "@facthouse/mcp@0.
|
|
130
|
-
npx -y -p "@facthouse/mcp@0.
|
|
131
|
-
npx -y -p "@facthouse/mcp@0.
|
|
132
|
-
npx -y -p "@facthouse/mcp@0.
|
|
149
|
+
npx -y -p "@facthouse/mcp@0.31.0" -- facthouse init --yes
|
|
150
|
+
npx -y -p "@facthouse/mcp@0.31.0" -- facthouse settings --json
|
|
151
|
+
npx -y -p "@facthouse/mcp@0.31.0" -- facthouse stats
|
|
152
|
+
npx -y -p "@facthouse/mcp@0.31.0" -- facthouse inspect
|
|
133
153
|
```
|
|
134
154
|
<!-- x-release-please-end -->
|
|
135
155
|
|
|
@@ -190,7 +210,7 @@ facthouse record --role user --event-type message --content "hello world"
|
|
|
190
210
|
# --content Event content (or pipe via stdin)
|
|
191
211
|
# --speaker Named participant when the transcript has one
|
|
192
212
|
# --session-id Target session (default: most recent)
|
|
193
|
-
# --data Data directory (default:
|
|
213
|
+
# --data Data directory (default: FACTHOUSE_DATA, a .facthouse store in this project, or ~/.facthouse)
|
|
194
214
|
```
|
|
195
215
|
|
|
196
216
|
#### `facthouse consolidate`
|
|
@@ -211,7 +231,7 @@ facthouse consolidate --limit 200 # extract the oldest 200
|
|
|
211
231
|
# Extract is capped at 50 lines per run so a first backfill is never spent on
|
|
212
232
|
# the lot; the run says how many remain. --all lifts the cap, --limit N sets it.
|
|
213
233
|
# --json print the result object instead of the summary
|
|
214
|
-
# --data Data directory (default:
|
|
234
|
+
# --data Data directory (default: FACTHOUSE_DATA, a .facthouse store in this project, or ~/.facthouse)
|
|
215
235
|
```
|
|
216
236
|
|
|
217
237
|
Honours the configured provider (by default `claude -p`). Empty `sources` makes the copy step a no-op. Set `cwd` on the source unless you intend to copy every project group. Do not also run `record` hooks on a store with named sources.
|
|
@@ -221,11 +241,11 @@ Honours the configured provider (by default `claude -p`). Empty `sources` makes
|
|
|
221
241
|
Tell the running MCP server that a moment happened. The server decides what to run and does it in the background, so a hook returns at once:
|
|
222
242
|
|
|
223
243
|
```bash
|
|
224
|
-
facthouse notify compaction #
|
|
244
|
+
facthouse notify compaction # client about to compact: copy new JSONL, extract, integrate (does not wait)
|
|
225
245
|
facthouse notify threshold # events arrived: extract if the threshold is due
|
|
226
246
|
|
|
227
247
|
# Options:
|
|
228
|
-
# --data Data directory (default:
|
|
248
|
+
# --data Data directory (default: FACTHOUSE_DATA, a .facthouse store in this project, or ~/.facthouse)
|
|
229
249
|
```
|
|
230
250
|
|
|
231
251
|
No server listening is not an error: the command says so and exits 0, and the next session start covers it. This is what the PreCompact hook calls.
|
|
@@ -241,7 +261,7 @@ facthouse search "coffee" --json
|
|
|
241
261
|
# --domain Prioritise a domain. Biases ranking; does not filter
|
|
242
262
|
# --limit Maximum results (default: 20)
|
|
243
263
|
# --json Emit the raw search payload
|
|
244
|
-
# --data Data directory (default:
|
|
264
|
+
# --data Data directory (default: FACTHOUSE_DATA, a .facthouse store in this project, or ~/.facthouse)
|
|
245
265
|
```
|
|
246
266
|
|
|
247
267
|
`--domain` **biases ranking rather than filtering.** A hard filter would hide a fact filed under a near-synonym.
|
|
@@ -283,12 +303,12 @@ A non-default data directory prints a distinct MCP server name so two stores can
|
|
|
283
303
|
"mcpServers": {
|
|
284
304
|
"facthouse-personal": {
|
|
285
305
|
"command": "npx",
|
|
286
|
-
"args": ["-y", "@facthouse/mcp@0.
|
|
306
|
+
"args": ["-y", "@facthouse/mcp@0.31.0"],
|
|
287
307
|
"env": { "FACTHOUSE_DATA": "C:\\Users\\alex\\.facthouse-personal" }
|
|
288
308
|
},
|
|
289
309
|
"facthouse-work": {
|
|
290
310
|
"command": "npx",
|
|
291
|
-
"args": ["-y", "@facthouse/mcp@0.
|
|
311
|
+
"args": ["-y", "@facthouse/mcp@0.31.0"],
|
|
292
312
|
"env": { "FACTHOUSE_DATA": "C:\\Users\\alex\\.facthouse-work" }
|
|
293
313
|
}
|
|
294
314
|
}
|
|
@@ -296,7 +316,7 @@ A non-default data directory prints a distinct MCP server name so two stores can
|
|
|
296
316
|
```
|
|
297
317
|
<!-- x-release-please-end -->
|
|
298
318
|
|
|
299
|
-
Point each store's `sources.cwd` (or hook `--data`) at that store only. Two directories do not isolate anything if both copy the same home.
|
|
319
|
+
Point each store's `sources.cwd` (or hook `--data`) at that store only. Two directories do not isolate anything if both copy the same home.
|
|
300
320
|
|
|
301
321
|
### Postgres (optional)
|
|
302
322
|
|
|
@@ -314,7 +334,7 @@ Example — placeholders only; do not put a real password in a committed file:
|
|
|
314
334
|
"mcpServers": {
|
|
315
335
|
"facthouse": {
|
|
316
336
|
"command": "npx",
|
|
317
|
-
"args": ["-y", "@facthouse/mcp@0.
|
|
337
|
+
"args": ["-y", "@facthouse/mcp@0.31.0"],
|
|
318
338
|
"env": {
|
|
319
339
|
"FACTHOUSE_DATA": "C:\\Users\\alex\\.facthouse-work",
|
|
320
340
|
"FACTHOUSE_STORAGE": "postgres",
|
|
@@ -360,14 +380,16 @@ To skip the wizard (record only — no transcript copy), paste this. The server
|
|
|
360
380
|
"mcpServers": {
|
|
361
381
|
"facthouse": {
|
|
362
382
|
"command": "npx",
|
|
363
|
-
"args": ["-y", "@facthouse/mcp@0.
|
|
383
|
+
"args": ["-y", "@facthouse/mcp@0.31.0"]
|
|
364
384
|
}
|
|
365
385
|
}
|
|
366
386
|
}
|
|
367
387
|
```
|
|
368
388
|
<!-- x-release-please-end -->
|
|
369
389
|
|
|
370
|
-
### Hooks
|
|
390
|
+
### Hooks
|
|
391
|
+
|
|
392
|
+
PreCompact `notify compaction` is the useful one: when the client is about to compact, a short-lived hook tells the **running** server, and the hook returns at once. The server copies new JSONL lines, then extracts and integrates — compaction does not delete the transcript, and the hook does not photocopy the live window. Init prints this JSON with `--data` filled in. Paste into Claude Code `.claude/settings.json` (user or project). We do not install it. Do not install a Stop hook. Do not install record hooks on this store — both write the same rows.
|
|
371
393
|
|
|
372
394
|
`mcp.json` `env` is **not** visible to hooks. Pass the same `--data` (or set `FACTHOUSE_DATA` in the environment the client itself inherits). The command must invoke the CLI (`facthouse`), never the server binary. `npx -y @facthouse/mcp` with no `-p` / `facthouse` starts the MCP **server** and hangs a hook. Pin the package version, quote it if the hook runs PowerShell, and put `--` before `facthouse` so a globally installed older binary on PATH cannot win.
|
|
373
395
|
|
|
@@ -383,7 +405,7 @@ To skip the wizard (record only — no transcript copy), paste this. The server
|
|
|
383
405
|
"hooks": [
|
|
384
406
|
{
|
|
385
407
|
"type": "command",
|
|
386
|
-
"command": "npx -y -p @facthouse/mcp@0.
|
|
408
|
+
"command": "npx -y -p @facthouse/mcp@0.31.0 -- facthouse notify compaction --data /absolute/path/to/the-same-store"
|
|
387
409
|
}
|
|
388
410
|
]
|
|
389
411
|
}
|
|
@@ -466,7 +488,7 @@ Throwaway store, not the capture path for a real Claude Code or Cursor home. The
|
|
|
466
488
|
<!-- x-release-please-start-version -->
|
|
467
489
|
```bash
|
|
468
490
|
export FACTHOUSE_DATA=/tmp/facthouse-demo
|
|
469
|
-
om() { npx -y -p "@facthouse/mcp@0.
|
|
491
|
+
om() { npx -y -p "@facthouse/mcp@0.31.0" -- facthouse "$@"; }
|
|
470
492
|
|
|
471
493
|
om init --yes
|
|
472
494
|
|
|
@@ -481,7 +503,7 @@ om stats
|
|
|
481
503
|
|
|
482
504
|
```powershell
|
|
483
505
|
$env:FACTHOUSE_DATA = Join-Path $env:TEMP "facthouse-demo"
|
|
484
|
-
function om { npx -y -p "@facthouse/mcp@0.
|
|
506
|
+
function om { npx -y -p "@facthouse/mcp@0.31.0" -- facthouse @args }
|
|
485
507
|
om init --yes
|
|
486
508
|
om record --role user --content "I prefer dark mode in every editor, and I never want telemetry enabled."
|
|
487
509
|
om record --role user --content "I am allergic to shellfish, so avoid seafood restaurants when booking anything."
|
|
@@ -524,7 +546,7 @@ Create `.claude/rules/facthouse.md` in your project (or `~/.claude/rules/facthou
|
|
|
524
546
|
# Facthouse
|
|
525
547
|
|
|
526
548
|
- Conversations are copied from the named Claude Code source (first backfill: `facthouse consolidate` on the CLI)
|
|
527
|
-
- Do not install record hooks on this store
|
|
549
|
+
- Do not install record hooks on this store — both write the same rows.
|
|
528
550
|
- Identity context loads automatically from the `memory://profile` resource — no tool call needed
|
|
529
551
|
- Before answering questions this store might already know, call `search_knowledge`
|
|
530
552
|
- Call `capture_fact` only to correct or add something that is not in the transcript
|
|
@@ -553,7 +575,7 @@ When the facthouse MCP server is available:
|
|
|
553
575
|
- Before answering questions this store might already know, call search_knowledge
|
|
554
576
|
- To find out everything known about a particular person, project, or thing, call get_entity
|
|
555
577
|
- Call capture_fact only to correct or add something copy or extraction missed
|
|
556
|
-
- When context is getting long, call consolidate
|
|
578
|
+
- When context is getting long, call consolidate
|
|
557
579
|
```
|
|
558
580
|
|
|
559
581
|
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).
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* TTY remaining-time from recent model-chunk samples. Skips do not sample.
|
|
3
|
+
*/
|
|
4
|
+
export declare class ChunkEta {
|
|
5
|
+
private readonly durations;
|
|
6
|
+
private readonly lines;
|
|
7
|
+
noteModelChunk(durationMs: number, lineCount: number): void;
|
|
8
|
+
/** Same estimator; units are facts in an embed batch, not extract lines. */
|
|
9
|
+
noteBatch(durationMs: number, factCount: number): void;
|
|
10
|
+
reset(): void;
|
|
11
|
+
/** Remaining milliseconds, or null until MIN_SAMPLES model chunks. */
|
|
12
|
+
etaMs(linesLeft: number): number | null;
|
|
13
|
+
}
|
|
14
|
+
export declare function formatEta(ms: number): string;
|
|
15
|
+
//# sourceMappingURL=eta.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eta.d.ts","sourceRoot":"","sources":["../../src/cli/eta.ts"],"names":[],"mappings":"AAAA;;GAEG;AAKH,qBAAa,QAAQ;IACnB,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAgB;IAC1C,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAgB;IAEtC,cAAc,CAAC,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,IAAI;IAU3D,4EAA4E;IAC5E,SAAS,CAAC,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,IAAI;IAItD,KAAK,IAAI,IAAI;IAKb,sEAAsE;IACtE,KAAK,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI;CASxC;AAED,wBAAgB,SAAS,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,CAK5C"}
|
package/dist/cli/eta.js
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* TTY remaining-time from recent model-chunk samples. Skips do not sample.
|
|
3
|
+
*/
|
|
4
|
+
const WINDOW = 8;
|
|
5
|
+
const MIN_SAMPLES = 3;
|
|
6
|
+
export class ChunkEta {
|
|
7
|
+
durations = [];
|
|
8
|
+
lines = [];
|
|
9
|
+
noteModelChunk(durationMs, lineCount) {
|
|
10
|
+
if (!(durationMs > 0) || !(lineCount > 0))
|
|
11
|
+
return;
|
|
12
|
+
this.durations.push(durationMs);
|
|
13
|
+
this.lines.push(lineCount);
|
|
14
|
+
if (this.durations.length > WINDOW) {
|
|
15
|
+
this.durations.shift();
|
|
16
|
+
this.lines.shift();
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
/** Same estimator; units are facts in an embed batch, not extract lines. */
|
|
20
|
+
noteBatch(durationMs, factCount) {
|
|
21
|
+
this.noteModelChunk(durationMs, factCount);
|
|
22
|
+
}
|
|
23
|
+
reset() {
|
|
24
|
+
this.durations.length = 0;
|
|
25
|
+
this.lines.length = 0;
|
|
26
|
+
}
|
|
27
|
+
/** Remaining milliseconds, or null until MIN_SAMPLES model chunks. */
|
|
28
|
+
etaMs(linesLeft) {
|
|
29
|
+
if (this.durations.length < MIN_SAMPLES || linesLeft <= 0)
|
|
30
|
+
return null;
|
|
31
|
+
const meanMs = this.durations.reduce((a, b) => a + b, 0) / this.durations.length;
|
|
32
|
+
const meanLines = this.lines.reduce((a, b) => a + b, 0) / this.lines.length;
|
|
33
|
+
if (!(meanLines > 0))
|
|
34
|
+
return null;
|
|
35
|
+
return Math.round((linesLeft / meanLines) * meanMs);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
export function formatEta(ms) {
|
|
39
|
+
const totalSec = Math.max(1, Math.round(ms / 1000));
|
|
40
|
+
if (totalSec < 60)
|
|
41
|
+
return `${totalSec}s`;
|
|
42
|
+
const min = Math.round(totalSec / 60);
|
|
43
|
+
return `${min}m`;
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=eta.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eta.js","sourceRoot":"","sources":["../../src/cli/eta.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,MAAM,GAAG,CAAC,CAAC;AACjB,MAAM,WAAW,GAAG,CAAC,CAAC;AAEtB,MAAM,OAAO,QAAQ;IACF,SAAS,GAAa,EAAE,CAAC;IACzB,KAAK,GAAa,EAAE,CAAC;IAEtC,cAAc,CAAC,UAAkB,EAAE,SAAiB;QAClD,IAAI,CAAC,CAAC,UAAU,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,GAAG,CAAC,CAAC;YAAE,OAAO;QAClD,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QAChC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QAC3B,IAAI,IAAI,CAAC,SAAS,CAAC,MAAM,GAAG,MAAM,EAAE,CAAC;YACnC,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,CAAC;YACvB,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC;QACrB,CAAC;IACH,CAAC;IAED,4EAA4E;IAC5E,SAAS,CAAC,UAAkB,EAAE,SAAiB;QAC7C,IAAI,CAAC,cAAc,CAAC,UAAU,EAAE,SAAS,CAAC,CAAC;IAC7C,CAAC;IAED,KAAK;QACH,IAAI,CAAC,SAAS,CAAC,MAAM,GAAG,CAAC,CAAC;QAC1B,IAAI,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC;IACxB,CAAC;IAED,sEAAsE;IACtE,KAAK,CAAC,SAAiB;QACrB,IAAI,IAAI,CAAC,SAAS,CAAC,MAAM,GAAG,WAAW,IAAI,SAAS,IAAI,CAAC;YAAE,OAAO,IAAI,CAAC;QACvE,MAAM,MAAM,GACV,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,GAAG,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC;QACpE,MAAM,SAAS,GACb,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC;QAC5D,IAAI,CAAC,CAAC,SAAS,GAAG,CAAC,CAAC;YAAE,OAAO,IAAI,CAAC;QAClC,OAAO,IAAI,CAAC,KAAK,CAAC,CAAC,SAAS,GAAG,SAAS,CAAC,GAAG,MAAM,CAAC,CAAC;IACtD,CAAC;CACF;AAED,MAAM,UAAU,SAAS,CAAC,EAAU;IAClC,MAAM,QAAQ,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,GAAG,IAAI,CAAC,CAAC,CAAC;IACpD,IAAI,QAAQ,GAAG,EAAE;QAAE,OAAO,GAAG,QAAQ,GAAG,CAAC;IACzC,MAAM,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,QAAQ,GAAG,EAAE,CAAC,CAAC;IACtC,OAAO,GAAG,GAAG,GAAG,CAAC;AACnB,CAAC"}
|
|
@@ -1,15 +1,23 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* After a
|
|
3
|
-
*
|
|
4
|
-
* Not --yes, not record, not
|
|
5
|
-
* Copy fills D only (no model). Extract and integrate spend model
|
|
2
|
+
* After a copy init that can still ask on stdin: offer copy, then extract +
|
|
3
|
+
* integrate. TTY wizard, or `--web` once the page has closed if stdin is a
|
|
4
|
+
* TTY. Not --yes, not record, not a loopback POST. Does not start the MCP
|
|
5
|
+
* server. Copy fills D only (no model). Extract and integrate spend model
|
|
6
|
+
* calls.
|
|
6
7
|
*/
|
|
8
|
+
import type { HistoricSelection } from "../intelligence/historic-selection.js";
|
|
7
9
|
import { type InitIo } from "./init-wizard.js";
|
|
8
10
|
export declare function shouldOfferInitBackfill(opts: {
|
|
9
11
|
ttyWalk: boolean;
|
|
10
12
|
wroteConfig: boolean;
|
|
11
13
|
sources: unknown;
|
|
12
14
|
}): boolean;
|
|
15
|
+
/** TTY wizard, or `--web` after the page closes if stdin can still ask. */
|
|
16
|
+
export declare function stdinCanAskHistoric(opts: {
|
|
17
|
+
usedTtyWizard: boolean;
|
|
18
|
+
web: boolean;
|
|
19
|
+
stdinIsTTY: boolean;
|
|
20
|
+
}): boolean;
|
|
13
21
|
export type HistoricExtractChoice = {
|
|
14
22
|
kind: "skip";
|
|
15
23
|
} | {
|
|
@@ -24,22 +32,43 @@ export type HistoricExtractChoice = {
|
|
|
24
32
|
kind: "retry";
|
|
25
33
|
};
|
|
26
34
|
export declare function parseHistoricExtract(raw: string): HistoricExtractChoice;
|
|
35
|
+
export declare function historicChoiceToken(choice: HistoricExtractChoice): string | null;
|
|
27
36
|
export interface InitBackfillConsolidateOpts {
|
|
28
37
|
/** null = every remaining line; a number = oldest n. */
|
|
29
38
|
extractLimit: number | null;
|
|
30
39
|
/** When set, older lines are marked examined without a model call. */
|
|
31
40
|
extractSince?: Date;
|
|
41
|
+
progressTotal?: number;
|
|
42
|
+
abort?: AbortSignal;
|
|
43
|
+
}
|
|
44
|
+
export interface InitBackfillConsolidateResult {
|
|
45
|
+
factsIntegrated: number;
|
|
46
|
+
eventsRemaining: number;
|
|
47
|
+
skipped?: boolean;
|
|
48
|
+
skipReason?: string;
|
|
49
|
+
extractionDegraded?: boolean;
|
|
50
|
+
prefixCommitted?: boolean;
|
|
51
|
+
examinedThrough?: number;
|
|
52
|
+
aborted?: boolean;
|
|
53
|
+
embedding?: {
|
|
54
|
+
error?: string;
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
export interface InitBackfillResult {
|
|
58
|
+
aborted: boolean;
|
|
32
59
|
}
|
|
33
60
|
export interface InitBackfillDeps {
|
|
34
61
|
copy: (dataDir: string) => Promise<{
|
|
35
62
|
events_inserted: number;
|
|
36
63
|
}>;
|
|
37
64
|
unextracted: (dataDir: string) => Promise<number>;
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
65
|
+
selection: (dataDir: string, choice: Exclude<HistoricExtractChoice, {
|
|
66
|
+
kind: "skip" | "retry";
|
|
67
|
+
}>) => Promise<HistoricSelection>;
|
|
68
|
+
consolidate: (dataDir: string, opts: InitBackfillConsolidateOpts) => Promise<InitBackfillConsolidateResult | undefined>;
|
|
42
69
|
providerIsHeuristic: boolean;
|
|
70
|
+
hasCursor?: boolean;
|
|
71
|
+
abort?: AbortSignal;
|
|
43
72
|
}
|
|
44
|
-
export declare function offerInitBackfill(io: InitIo, dataDir: string, deps: InitBackfillDeps): Promise<
|
|
73
|
+
export declare function offerInitBackfill(io: InitIo, dataDir: string, deps: InitBackfillDeps): Promise<InitBackfillResult>;
|
|
45
74
|
//# sourceMappingURL=init-backfill.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"init-backfill.d.ts","sourceRoot":"","sources":["../../src/cli/init-backfill.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"init-backfill.d.ts","sourceRoot":"","sources":["../../src/cli/init-backfill.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;AAE/E,OAAO,EAAS,KAAK,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAGtD,wBAAgB,uBAAuB,CAAC,IAAI,EAAE;IAC5C,OAAO,EAAE,OAAO,CAAC;IACjB,WAAW,EAAE,OAAO,CAAC;IACrB,OAAO,EAAE,OAAO,CAAC;CAClB,GAAG,OAAO,CAIV;AAED,2EAA2E;AAC3E,wBAAgB,mBAAmB,CAAC,IAAI,EAAE;IACxC,aAAa,EAAE,OAAO,CAAC;IACvB,GAAG,EAAE,OAAO,CAAC;IACb,UAAU,EAAE,OAAO,CAAC;CACrB,GAAG,OAAO,CAEV;AAED,MAAM,MAAM,qBAAqB,GAC7B;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,GAChB;IAAE,IAAI,EAAE,KAAK,CAAA;CAAE,GACf;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,GAC5B;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,GAC9B;IAAE,IAAI,EAAE,OAAO,CAAA;CAAE,CAAC;AAEtB,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,MAAM,GAAG,qBAAqB,CAQvE;AAED,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,qBAAqB,GAAG,MAAM,GAAG,IAAI,CAKhF;AAED,MAAM,WAAW,2BAA2B;IAC1C,wDAAwD;IACxD,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,sEAAsE;IACtE,YAAY,CAAC,EAAE,IAAI,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,WAAW,CAAC;CACrB;AAED,MAAM,WAAW,6BAA6B;IAC5C,eAAe,EAAE,MAAM,CAAC;IACxB,eAAe,EAAE,MAAM,CAAC;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;CAChC;AAED,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,OAAO,CAAC;QAAE,eAAe,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAChE,WAAW,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC;IAClD,SAAS,EAAE,CACT,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,OAAO,CAAC,qBAAqB,EAAE;QAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC,KAC/D,OAAO,CAAC,iBAAiB,CAAC,CAAC;IAChC,WAAW,EAAE,CACX,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,2BAA2B,KAC9B,OAAO,CAAC,6BAA6B,GAAG,SAAS,CAAC,CAAC;IACxD,mBAAmB,EAAE,OAAO,CAAC;IAC7B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,WAAW,CAAC;CACrB;AAiBD,wBAAsB,iBAAiB,CACrC,EAAE,EAAE,MAAM,EACV,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,gBAAgB,GACrB,OAAO,CAAC,kBAAkB,CAAC,CAuG7B"}
|