claude-memory-layer 1.0.5 → 1.0.7

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.
@@ -11,7 +11,8 @@
11
11
  "mcp__sequential-thinking__sequentialthinking",
12
12
  "Bash(npm publish)",
13
13
  "Bash(npm view:*)",
14
- "Bash(git add:*)"
14
+ "Bash(git add:*)",
15
+ "WebSearch"
15
16
  ]
16
17
  }
17
18
  }
@@ -1,14 +1,14 @@
1
1
  {
2
- "name": "code-memory",
2
+ "name": "claude-memory-layer",
3
3
  "description": "Learn from conversations to provide personalized assistance. The more you use it, the smarter it gets.",
4
4
  "version": "1.0.0",
5
5
  "author": {
6
6
  "name": "Buzzni"
7
7
  },
8
- "homepage": "https://github.com/buzzni/code-memory",
8
+ "homepage": "https://github.com/buzzni/claude-memory-layer",
9
9
  "repository": {
10
10
  "type": "git",
11
- "url": "https://github.com/buzzni/code-memory.git"
11
+ "url": "https://github.com/buzzni/claude-memory-layer.git"
12
12
  },
13
13
  "license": "MIT",
14
14
  "engines": {
@@ -0,0 +1,45 @@
1
+ {
2
+ "name": "claude-memory-layer",
3
+ "version": "1.0.6",
4
+ "description": "Claude Code plugin that learns from conversations to provide personalized assistance",
5
+ "main": "dist/index.js",
6
+ "bin": {
7
+ "code-memory": "dist/cli/index.js"
8
+ },
9
+ "type": "module",
10
+ "scripts": {
11
+ "build": "tsx scripts/build.ts",
12
+ "dev": "tsx src/cli/index.ts",
13
+ "test": "vitest",
14
+ "test:coverage": "vitest --coverage",
15
+ "lint": "eslint src/**/*.ts",
16
+ "typecheck": "tsc --noEmit"
17
+ },
18
+ "keywords": [
19
+ "claude-code",
20
+ "plugin",
21
+ "memory",
22
+ "learning",
23
+ "personalization",
24
+ "context"
25
+ ],
26
+ "author": "Buzzni",
27
+ "license": "MIT",
28
+ "engines": {
29
+ "node": ">=18.0.0"
30
+ },
31
+ "dependencies": {
32
+ "@lancedb/lancedb": "^0.5.0",
33
+ "@xenova/transformers": "^2.17.0",
34
+ "commander": "^12.0.0",
35
+ "duckdb": "^0.10.0",
36
+ "zod": "^3.22.0"
37
+ },
38
+ "devDependencies": {
39
+ "@types/node": "^20.11.0",
40
+ "esbuild": "^0.20.0",
41
+ "tsx": "^4.7.0",
42
+ "typescript": "^5.4.0",
43
+ "vitest": "^1.4.0"
44
+ }
45
+ }
@@ -0,0 +1,46 @@
1
+ {
2
+ "name": "claude-memory-layer",
3
+ "version": "1.0.7",
4
+ "description": "Claude Code plugin that learns from conversations to provide personalized assistance",
5
+ "main": "dist/index.js",
6
+ "bin": {
7
+ "claude-memory-layer": "dist/cli/index.js"
8
+ },
9
+ "type": "module",
10
+ "scripts": {
11
+ "build": "tsx scripts/build.ts",
12
+ "dev": "tsx src/cli/index.ts",
13
+ "test": "vitest",
14
+ "test:coverage": "vitest --coverage",
15
+ "lint": "eslint src/**/*.ts",
16
+ "typecheck": "tsc --noEmit"
17
+ },
18
+ "keywords": [
19
+ "claude-code",
20
+ "plugin",
21
+ "memory",
22
+ "learning",
23
+ "personalization",
24
+ "context"
25
+ ],
26
+ "author": "Buzzni",
27
+ "license": "MIT",
28
+ "engines": {
29
+ "node": ">=18.0.0"
30
+ },
31
+ "dependencies": {
32
+ "@lancedb/lancedb": "^0.5.0",
33
+ "@xenova/transformers": "^2.17.0",
34
+ "commander": "^12.0.0",
35
+ "duckdb": "^0.10.0",
36
+ "hono": "^4.0.0",
37
+ "zod": "^3.22.0"
38
+ },
39
+ "devDependencies": {
40
+ "@types/node": "^20.11.0",
41
+ "esbuild": "^0.20.0",
42
+ "tsx": "^4.7.0",
43
+ "typescript": "^5.4.0",
44
+ "vitest": "^1.4.0"
45
+ }
46
+ }
package/CLAUDE.md CHANGED
@@ -6,10 +6,25 @@
6
6
  - **절대로** package.json의 dependencies에 자기 자신의 패키지를 추가하지 말 것
7
7
  - 예: `"claude-memory-layer": "^1.0.x"` 같은 순환 의존성 금지
8
8
  - npm list 시 이상한 중첩 구조가 보이면 self-dependency 의심할 것
9
- - **주의**: 어떤 도구가 자동으로 되돌릴 수 있음 - publish 전 반드시 확인할 것
9
+
10
+ #### 원인
11
+ - `package-lock.json`에 self-dependency가 저장되면, `npm install` 시 package.json에 복원됨
12
+ - 한번 잘못 들어가면 lock 파일 때문에 계속 복원되는 악순환 발생
13
+
14
+ #### 해결 방법
15
+ ```bash
16
+ # 1. package.json에서 self-dependency 제거
17
+ # 2. lock 파일과 node_modules 삭제
18
+ rm package-lock.json && rm -rf node_modules
19
+ # 3. 새로 설치
20
+ npm install
21
+ # 4. 확인 (empty가 나와야 정상)
22
+ npm list claude-memory-layer
23
+ ```
10
24
 
11
25
  ## npm Publish Workflow
12
- 1. 버전 업데이트: `npm version patch|minor|major`
13
- 2. 빌드: `npm run build`
14
- 3. 배포: `npm publish`
15
- 4. 확인: `npm view claude-memory-layer versions`
26
+ 1. Self-dependency 확인: `npm list claude-memory-layer` → `(empty)` 확인
27
+ 2. 버전 업데이트: package.json 직접 수정 또는 `npm version patch`
28
+ 3. 빌드: `npm run build`
29
+ 4. 배포: `npm publish --otp=<코드>`
30
+ 5. 확인: `npm view claude-memory-layer versions`
package/README.md CHANGED
@@ -1,10 +1,10 @@
1
- # Code Memory
1
+ # Claude Memory Layer
2
2
 
3
3
  Claude Code 플러그인으로, 대화 내용을 기억하여 사용할수록 똑똑해지는 AI 어시스턴트를 만듭니다.
4
4
 
5
5
  ## 개요
6
6
 
7
- Code Memory는 Claude Code에서 사용자와 AI 간의 모든 대화를 저장하고, 새로운 질문을 할 때 관련된 과거 대화를 자동으로 검색하여 컨텍스트로 제공합니다. 이를 통해:
7
+ Claude Memory Layer는 Claude Code에서 사용자와 AI 간의 모든 대화를 저장하고, 새로운 질문을 할 때 관련된 과거 대화를 자동으로 검색하여 컨텍스트로 제공합니다. 이를 통해:
8
8
 
9
9
  - **연속성 있는 대화**: 이전 세션에서 논의한 내용을 기억
10
10
  - **프로젝트 맥락 이해**: 프로젝트별로 축적된 지식 활용
@@ -40,7 +40,7 @@ Code Memory는 Claude Code에서 사용자와 AI 간의 모든 대화를 저장
40
40
  ### 1. 의존성 설치
41
41
 
42
42
  ```bash
43
- cd code-memory
43
+ cd claude-memory-layer
44
44
  npm install
45
45
  ```
46
46
 
@@ -56,7 +56,7 @@ npm run build
56
56
 
57
57
  ```bash
58
58
  # Claude Code 설정 디렉토리에 플러그인 복사
59
- cp -r dist/.claude-plugin ~/.claude/plugins/code-memory/
59
+ cp -r dist/.claude-plugin ~/.claude/plugins/claude-memory-layer/
60
60
  ```
61
61
 
62
62
  ## 사용 방법
@@ -106,27 +106,27 @@ Claude Code 내에서 사용할 수 있는 명령어:
106
106
 
107
107
  ```bash
108
108
  # 메모리 검색
109
- npx code-memory search "React 컴포넌트 패턴"
110
- npx code-memory search "API 에러 처리" --top-k 10
109
+ npx claude-memory-layer search "React 컴포넌트 패턴"
110
+ npx claude-memory-layer search "API 에러 처리" --top-k 10
111
111
 
112
112
  # 대화 기록 조회
113
- npx code-memory history
114
- npx code-memory history --limit 50 --type user_prompt
113
+ npx claude-memory-layer history
114
+ npx claude-memory-layer history --limit 50 --type user_prompt
115
115
 
116
116
  # 통계 확인
117
- npx code-memory stats
117
+ npx claude-memory-layer stats
118
118
 
119
119
  # 기존 세션 임포트
120
- npx code-memory import # 현재 프로젝트
121
- npx code-memory import --all # 모든 프로젝트
122
- npx code-memory import --all --verbose # 상세 로그
120
+ npx claude-memory-layer import # 현재 프로젝트
121
+ npx claude-memory-layer import --all # 모든 프로젝트
122
+ npx claude-memory-layer import --all --verbose # 상세 로그
123
123
 
124
124
  # 임포트 가능한 세션 목록
125
- npx code-memory list
126
- npx code-memory list --project /path/to/project
125
+ npx claude-memory-layer list
126
+ npx claude-memory-layer list --project /path/to/project
127
127
 
128
128
  # 임베딩 수동 처리
129
- npx code-memory process
129
+ npx claude-memory-layer process
130
130
  ```
131
131
 
132
132
  ## Privacy 기능
@@ -175,7 +175,7 @@ SECRET_TOKEN=abc123
175
175
 
176
176
  원본 확인:
177
177
  ```bash
178
- code-memory show mem:a7Bc3x
178
+ claude-memory-layer show mem:a7Bc3x
179
179
  ```
180
180
 
181
181
  ## Endless Mode
@@ -184,10 +184,10 @@ code-memory show mem:a7Bc3x
184
184
 
185
185
  ```bash
186
186
  # Endless Mode 활성화
187
- code-memory config set mode endless
187
+ claude-memory-layer config set mode endless
188
188
 
189
189
  # 상태 확인
190
- code-memory status
190
+ claude-memory-layer status
191
191
 
192
192
  # 출력 예시:
193
193
  # Mode: Endless
@@ -210,14 +210,14 @@ Claude Desktop에서 메모리 검색을 사용하려면:
210
210
 
211
211
  ```bash
212
212
  # MCP 서버 설치
213
- code-memory mcp install
213
+ claude-memory-layer mcp install
214
214
 
215
215
  # 또는 수동 설정: ~/Library/Application Support/Claude/claude_desktop_config.json
216
216
  {
217
217
  "mcpServers": {
218
- "code-memory": {
218
+ "claude-memory-layer": {
219
219
  "command": "npx",
220
- "args": ["code-memory-mcp"]
220
+ "args": ["claude-memory-layer-mcp"]
221
221
  }
222
222
  }
223
223
  }
@@ -238,7 +238,7 @@ code-memory mcp install
238
238
 
239
239
  ```bash
240
240
  # 웹 서버 시작
241
- code-memory web
241
+ claude-memory-layer dashboard
242
242
 
243
243
  # 브라우저에서 접속
244
244
  # http://localhost:37777
@@ -257,13 +257,13 @@ code-memory web
257
257
 
258
258
  ```bash
259
259
  # 1. 먼저 임포트 가능한 세션 확인
260
- npx code-memory list
260
+ npx claude-memory-layer list
261
261
 
262
262
  # 2. 현재 프로젝트의 모든 세션 임포트
263
- npx code-memory import
263
+ npx claude-memory-layer import
264
264
 
265
265
  # 3. 또는 모든 프로젝트의 세션 임포트
266
- npx code-memory import --all --verbose
266
+ npx claude-memory-layer import --all --verbose
267
267
  ```
268
268
 
269
269
  ### 임포트 결과 예시
@@ -402,7 +402,7 @@ Layer 1: Search Index (~50-100 tokens/result)
402
402
 
403
403
  ```
404
404
  ┌─────────────────────┐ ┌─────────────────────┐
405
- │ Claude Desktop │◀────────│ code-memory-mcp
405
+ │ Claude Desktop │◀────────│ claude-memory-layer
406
406
  │ (MCP Client) │ stdio │ (MCP Server) │
407
407
  └─────────────────────┘ └──────────┬──────────┘
408
408
 
@@ -1,14 +1,14 @@
1
1
  {
2
- "name": "code-memory",
2
+ "name": "claude-memory-layer",
3
3
  "description": "Learn from conversations to provide personalized assistance. The more you use it, the smarter it gets.",
4
4
  "version": "1.0.0",
5
5
  "author": {
6
6
  "name": "Buzzni"
7
7
  },
8
- "homepage": "https://github.com/buzzni/code-memory",
8
+ "homepage": "https://github.com/buzzni/claude-memory-layer",
9
9
  "repository": {
10
10
  "type": "git",
11
- "url": "https://github.com/buzzni/code-memory.git"
11
+ "url": "https://github.com/buzzni/claude-memory-layer.git"
12
12
  },
13
13
  "license": "MIT",
14
14
  "engines": {