@bennys001/claude-code-memory 0.9.10 → 0.9.12

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.
Files changed (3) hide show
  1. package/README.md +6 -6
  2. package/dist/index.js +14 -14
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -49,7 +49,7 @@ Creates a new note with structured frontmatter. Create-only — rejects existing
49
49
  | Param | Type | Required | Description |
50
50
  |------------|----------|----------|-------------------------------------------------|
51
51
  | `path` | string | Yes | Relative path for new note |
52
- | `type` | string | Yes | `gotcha`, `decision`, `pattern`, or `reference` |
52
+ | `type` | string | Yes | `gotchas`, `decisions`, `patterns`, or `references` |
53
53
  | `title` | string | Yes | Note title (becomes H1) |
54
54
  | `body` | string | Yes | Markdown body |
55
55
  | `tags` | string[] | No | Searchable tags |
@@ -95,10 +95,10 @@ Add { cache: 'no-store' } or use revalidate to avoid stale data...
95
95
 
96
96
  | Type | Icon | Purpose |
97
97
  |-------------|------|------------------------------------|
98
- | `gotcha` | 🔴 | Pitfalls and common mistakes |
99
- | `decision` | 🟤 | Architecture and tooling decisions |
100
- | `pattern` | 🔵 | Reusable code patterns |
101
- | `reference` | 🟢 | Cheatsheets and quick-reference |
98
+ | `gotchas` | 🔴 | Pitfalls and common mistakes |
99
+ | `decisions` | 🟤 | Architecture and tooling decisions |
100
+ | `patterns` | 🔵 | Reusable code patterns |
101
+ | `references` | 🟢 | Cheatsheets and quick-reference |
102
102
 
103
103
  ### Frontmatter Fields
104
104
 
@@ -139,7 +139,7 @@ name = "my-next-app"
139
139
 
140
140
  [filter]
141
141
  tags = ["typescript", "react", "nextjs"]
142
- types = ["gotcha", "pattern"]
142
+ types = ["gotchas", "patterns"]
143
143
  exclude = ["drafts/*"]
144
144
  ```
145
145
 
package/dist/index.js CHANGED
@@ -4,7 +4,7 @@
4
4
  var package_default = {
5
5
  name: "@bennys001/claude-code-memory",
6
6
  publishConfig: { access: "public" },
7
- version: "0.9.10",
7
+ version: "0.9.12",
8
8
  description: "MCP server that gives Claude Code persistent memory via an Obsidian knowledge vault",
9
9
  module: "dist/index.js",
10
10
  main: "dist/index.js",
@@ -68,18 +68,18 @@ import { get_encoding } from "tiktoken";
68
68
 
69
69
  // src/vault/types.ts
70
70
  import { z } from "zod";
71
- var NoteType = z.enum(["gotcha", "decision", "pattern", "reference"]);
71
+ var NoteType = z.enum(["gotchas", "decisions", "patterns", "references"]);
72
72
  var NOTE_TYPE_ICONS = {
73
- gotcha: "\uD83D\uDD34",
74
- decision: "\uD83D\uDFE4",
75
- pattern: "\uD83D\uDD35",
76
- reference: "\uD83D\uDFE2"
73
+ gotchas: "\uD83D\uDD34",
74
+ decisions: "\uD83D\uDFE4",
75
+ patterns: "\uD83D\uDD35",
76
+ references: "\uD83D\uDFE2"
77
77
  };
78
78
  var NOTE_TYPE_PRIORITY = {
79
- gotcha: 0,
80
- decision: 1,
81
- pattern: 2,
82
- reference: 3
79
+ gotchas: 0,
80
+ decisions: 1,
81
+ patterns: 2,
82
+ references: 3
83
83
  };
84
84
  var NoteFrontmatter = z.object({
85
85
  type: NoteType,
@@ -202,7 +202,7 @@ function formatKnowledgeSection(entries) {
202
202
  return [
203
203
  "## Knowledge Index",
204
204
  "Use MCP tool `read` with the note path to fetch full details on demand.",
205
- "\uD83D\uDD34 = gotcha \uD83D\uDFE4 = decision \uD83D\uDD35 = pattern \uD83D\uDFE2 = reference",
205
+ "\uD83D\uDD34 = gotchas \uD83D\uDFE4 = decisions \uD83D\uDD35 = patterns \uD83D\uDFE2 = references",
206
206
  "",
207
207
  table
208
208
  ].join(`
@@ -873,7 +873,7 @@ import { homedir as homedir3 } from "os";
873
873
 
874
874
  // src/cli/seed.ts
875
875
  var OFM_NOTE = (date) => `---
876
- type: pattern
876
+ type: patterns
877
877
  tags:
878
878
  - obsidian
879
879
  - markdown
@@ -1188,10 +1188,10 @@ function parseCliArgs() {
1188
1188
  return "help";
1189
1189
  }
1190
1190
  function printHelp() {
1191
- console.log(`${C.bold}ccm${C.reset} ${C.dim}\u2014 persistent memory for Claude Code${C.reset}
1191
+ console.log(`${C.bold}claude-code-memory${C.reset} ${C.dim}(ccm)${C.reset} \u2014 Persistent memory for Claude Code
1192
1192
 
1193
1193
  ${C.bold}Usage:${C.reset}
1194
- ${C.cyan}ccm --init${C.reset} Scaffold vault and register MCP server
1194
+ ${C.cyan}bunx @bennys001/claude-code-memory --init${C.reset}
1195
1195
 
1196
1196
  ${C.dim}Vault:${C.reset} ~/.ccm/knowledge-base/
1197
1197
  ${C.dim}Docs:${C.reset} https://github.com/bennys001/claude-code-memory`);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bennys001/claude-code-memory",
3
3
  "publishConfig": { "access": "public" },
4
- "version": "0.9.10",
4
+ "version": "0.9.12",
5
5
  "description": "MCP server that gives Claude Code persistent memory via an Obsidian knowledge vault",
6
6
  "module": "dist/index.js",
7
7
  "main": "dist/index.js",