memos/apps/memos-local-plugin/templates
xiaoxue ab0ab06596 同步完整源码 - 2026-05-24 2026-05-24 17:26:21 +08:00
..
.gitkeep 同步完整源码 - 2026-05-24 2026-05-24 17:26:21 +08:00
README.md 同步完整源码 - 2026-05-24 2026-05-24 17:26:21 +08:00
README.user.md 同步完整源码 - 2026-05-24 2026-05-24 17:26:21 +08:00
config.demo.yaml 同步完整源码 - 2026-05-24 2026-05-24 17:26:21 +08:00
config.hermes.yaml 同步完整源码 - 2026-05-24 2026-05-24 17:26:21 +08:00
config.openclaw.yaml 同步完整源码 - 2026-05-24 2026-05-24 17:26:21 +08:00

README.md

templates/

These files are copied into the user's runtime home (~/.<agent>/memos-plugin/) by install.sh / install.ps1. They are not read by the running plugin — the plugin always reads the actual user files at runtime.

Template Copied to Overwritten on re-install?
config.openclaw.yaml ~/.openclaw/memos-plugin/config.yaml No (unless --force-config)
config.hermes.yaml ~/.hermes/memos-plugin/config.yaml No (unless --force-config)
README.user.md ~/.<agent>/memos-plugin/README.md Yes (it's just docs)
config.demo.yaml NOT installed automatically — see below n/a

config.demo.yaml is a manual overlay containing demo-only algorithm.* threshold relaxations. It is intended for the TaskCLI walkthrough in docs/DEMO_TaskCLI_OpenClaw_演示.md. Production deployments must NOT copy these values blindly — read the inline comments first.

Editing rules:

  • config.*.yaml must include every field with a sensible default and a short comment. Sensitive fields (API keys, tokens) MUST be present (empty string is fine) so users can fill them in by hand without guessing names.
  • These templates are the source of truth for the JSON Schema in core/config/schema.ts. If you add a field, add it in both.
  • The runtime config writer (core/config/writer.ts) preserves user comments and field order, so user customizations survive future template updates.