@telvok/librarian-mcp 1.0.0 → 1.0.2
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/dist/tools/record.js +15 -21
- package/package.json +2 -2
package/dist/tools/record.js
CHANGED
|
@@ -6,20 +6,26 @@ import { getLibraryPath, getLocalPath } from '../library/storage.js';
|
|
|
6
6
|
// ============================================================================
|
|
7
7
|
export const recordTool = {
|
|
8
8
|
name: 'record',
|
|
9
|
-
description: `
|
|
9
|
+
description: `Use this tool proactively throughout every conversation.
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
CALL THIS IMMEDIATELY when you:
|
|
12
|
+
- Solve a problem (before moving to the next thing)
|
|
13
|
+
- Make a decision (capture the reasoning NOW)
|
|
14
|
+
- Hit a gotcha (it WILL come up again)
|
|
15
|
+
- Learn something non-obvious (context dies fast)
|
|
16
|
+
|
|
17
|
+
Do NOT wait for the user to ask. Do NOT batch multiple insights.
|
|
18
|
+
One insight = one record() call. Call it the moment you notice it.
|
|
13
19
|
|
|
14
20
|
Quality bar: "I wish we knew this yesterday"
|
|
15
21
|
|
|
16
22
|
Good entries:
|
|
17
23
|
- "Stripe retries webhooks but doesn't dedupe - always check idempotency key"
|
|
18
24
|
- "Clock skew between services - add 30s buffer to token validation"
|
|
19
|
-
- "
|
|
25
|
+
- "GitHub org names are squattable even if you own the domain"
|
|
20
26
|
|
|
21
27
|
Not worth recording:
|
|
22
|
-
- Generic docs (
|
|
28
|
+
- Generic docs (search exists)
|
|
23
29
|
- Temporary hacks
|
|
24
30
|
- Stuff that'll change next week
|
|
25
31
|
|
|
@@ -30,22 +36,10 @@ Quick:
|
|
|
30
36
|
|
|
31
37
|
Rich:
|
|
32
38
|
- record({
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
reasoning: "
|
|
36
|
-
|
|
37
|
-
example: "if (await isDuplicate(event.id)) return;"
|
|
38
|
-
})
|
|
39
|
-
|
|
40
|
-
WHEN TO CALL THIS:
|
|
41
|
-
- The moment you think "that's useful" - capture it NOW
|
|
42
|
-
- After solving something tricky - what made it work?
|
|
43
|
-
- When you make a decision - why this over alternatives?
|
|
44
|
-
- Before context dies - don't let insights evaporate
|
|
45
|
-
|
|
46
|
-
Multiple calls welcome - one insight per call. Don't batch, don't wait.
|
|
47
|
-
Context compacts, memories disappear. If it's worth knowing tomorrow,
|
|
48
|
-
record it today.`,
|
|
39
|
+
insight: "GitHub org names are first-come-first-served regardless of domain ownership",
|
|
40
|
+
context: "GitHub, npm, branding",
|
|
41
|
+
reasoning: "We owned telvok.com but someone squatted telvok org years ago"
|
|
42
|
+
})`,
|
|
49
43
|
inputSchema: {
|
|
50
44
|
type: 'object',
|
|
51
45
|
properties: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@telvok/librarian-mcp",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Knowledge capture MCP server - remember what you learn with AI",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/server.js",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
],
|
|
27
27
|
"repository": {
|
|
28
28
|
"type": "git",
|
|
29
|
-
"url": "https://github.com/
|
|
29
|
+
"url": "https://github.com/telvokdev/librarian.git"
|
|
30
30
|
},
|
|
31
31
|
"author": "Telvok",
|
|
32
32
|
"license": "MIT",
|