linksee-memory 0.0.3 → 0.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.
- package/README.md +1 -1
- package/dist/lib/telemetry.js +3 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -152,7 +152,7 @@ export LINKSEE_TELEMETRY=off # opt out (or just unset the variable)
|
|
|
152
152
|
|
|
153
153
|
### Exactly what gets sent (Level 1 contract)
|
|
154
154
|
|
|
155
|
-
After each Claude Code session ends, the Stop hook sends one POST to `https://kansei-link.
|
|
155
|
+
After each Claude Code session ends, the Stop hook sends one POST to `https://kansei-link-mcp-production.up.railway.app/api/telemetry/linksee` containing only these fields:
|
|
156
156
|
|
|
157
157
|
| Field | Example | What it is |
|
|
158
158
|
|---|---|---|
|
package/dist/lib/telemetry.js
CHANGED
|
@@ -14,7 +14,9 @@ import { readFileSync, writeFileSync, existsSync, mkdirSync } from 'node:fs';
|
|
|
14
14
|
import { join, extname, join as pathJoin, dirname as pathDirname } from 'node:path';
|
|
15
15
|
import { homedir } from 'node:os';
|
|
16
16
|
import { fileURLToPath } from 'node:url';
|
|
17
|
-
|
|
17
|
+
// Production endpoint hosted on Railway. (kansei-link.com is a GitHub Pages site;
|
|
18
|
+
// the dynamic API lives on the Railway deployment.)
|
|
19
|
+
const DEFAULT_ENDPOINT = 'https://kansei-link-mcp-production.up.railway.app/api/telemetry/linksee';
|
|
18
20
|
// Allow override for testing or self-hosting
|
|
19
21
|
const ENDPOINT = process.env.LINKSEE_TELEMETRY_URL || DEFAULT_ENDPOINT;
|
|
20
22
|
const TELEMETRY_DIR = process.env.LINKSEE_MEMORY_DIR ?? join(homedir(), '.linksee-memory');
|