claude-mem 12.1.1 → 12.1.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/README.md +44 -0
- package/dist/npx-cli/index.js +116 -125
- package/openclaw/dist/index.js +14 -14
- package/openclaw/src/index.test.ts +204 -0
- package/openclaw/src/index.ts +94 -3
- package/package.json +1 -1
- package/plugin/.claude-plugin/plugin.json +1 -1
- package/plugin/hooks/hooks.json +9 -9
- package/plugin/package.json +1 -1
- package/plugin/scripts/context-generator.cjs +48 -48
- package/plugin/scripts/mcp-server.cjs +1 -1
- package/plugin/scripts/smart-install.js +54 -1
- package/plugin/scripts/worker-service.cjs +169 -167
package/README.md
CHANGED
|
@@ -138,6 +138,11 @@ Or install for Gemini CLI (auto-detects `~/.gemini`):
|
|
|
138
138
|
```bash
|
|
139
139
|
npx claude-mem install --ide gemini-cli
|
|
140
140
|
```
|
|
141
|
+
Or install for OpenCode:
|
|
142
|
+
|
|
143
|
+
```bash
|
|
144
|
+
npx claude-mem install --ide opencode
|
|
145
|
+
```
|
|
141
146
|
|
|
142
147
|
Or install from the plugin marketplace inside Claude Code:
|
|
143
148
|
|
|
@@ -300,6 +305,45 @@ Settings are managed in `~/.claude-mem/settings.json` (auto-created with default
|
|
|
300
305
|
|
|
301
306
|
See the **[Configuration Guide](https://docs.claude-mem.ai/configuration)** for all available settings and examples.
|
|
302
307
|
|
|
308
|
+
### Mode & Language Configuration
|
|
309
|
+
|
|
310
|
+
Claude-Mem supports multiple workflow modes and languages via the `CLAUDE_MEM_MODE` setting.
|
|
311
|
+
|
|
312
|
+
This option controls both:
|
|
313
|
+
- The workflow behavior (e.g. code, chill, investigation)
|
|
314
|
+
- The language used in generated observations
|
|
315
|
+
|
|
316
|
+
#### How to Configure
|
|
317
|
+
|
|
318
|
+
Edit your settings file at `~/.claude-mem/settings.json`:
|
|
319
|
+
|
|
320
|
+
```json
|
|
321
|
+
{
|
|
322
|
+
"CLAUDE_MEM_MODE": "code--zh"
|
|
323
|
+
}
|
|
324
|
+
```
|
|
325
|
+
|
|
326
|
+
Modes are defined in `plugin/modes/`. To see all available modes locally:
|
|
327
|
+
|
|
328
|
+
```bash
|
|
329
|
+
ls ~/.claude/plugins/marketplaces/thedotmack/plugin/modes/
|
|
330
|
+
```
|
|
331
|
+
|
|
332
|
+
#### Available Modes
|
|
333
|
+
|
|
334
|
+
| Mode | Description |
|
|
335
|
+
|------------|-------------------------|
|
|
336
|
+
| `code` | Default English mode |
|
|
337
|
+
| `code--zh` | Simplified Chinese mode |
|
|
338
|
+
| `code--ja` | Japanese mode |
|
|
339
|
+
|
|
340
|
+
Language-specific modes follow the pattern `code--[lang]` where `[lang]` is the ISO 639-1 language code (e.g., `zh` for Chinese, `ja` for Japanese, `es` for Spanish).
|
|
341
|
+
|
|
342
|
+
> Note: `code--zh` (Simplified Chinese) is already built-in — no additional installation or plugin update is required.
|
|
343
|
+
|
|
344
|
+
#### After Changing Mode
|
|
345
|
+
|
|
346
|
+
Restart Claude Code to apply the new mode configuration.
|
|
303
347
|
---
|
|
304
348
|
|
|
305
349
|
## Development
|