| fix(cli): fix onboard param mismatch and unify port config reading
- Fix start_plugin() passing root as positional arg to timeout parameter
instead of cwd keyword arg, causing TypeError in health check
- Unify start_headless() to read http_port via get_config() instead of
only reading OGMEM_HTTP_PORT env var, consistent with start_plugin()
Fixes: gitcode.com/opengauss/oG-Memory#58
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
| 15 天前 |
| refactor: consolidate all config/env/docs into config/ and docs/ directories
Move all configuration files, environment variables, templates, and
documentation out of the project root into organized directories:
- config/: runtime config, templates, env vars, AGFS/OpenClaw configs
- docs/: ENV.md, OGMEMORY_ENV.md moved from root
- docker/: Dockerfiles moved from root
Update all loading paths (providers/unified_config.py, cli/commands/*,
openclaw plugin, scripts) to read from config/ instead of root.
Delete 4 duplicate templates (docker/ogmemory.example.yaml,
docker/agfs-config.yaml, docker/openclaw-ogmem.json,
agfs/config.example.yaml) replaced by unified config/ templates.
Enhance ogmem onboard with mode-aware flows (local/docker/plugin),
add --storage-backend flag, DB init, Docker deploy helpers.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
| 25 天前 |
| feat(cli): add unified ogmem CLI replacing scattered shell scripts
Introduce a Python CLI (ogmem command) that unifies all deployment and
management entry points: start/stop local/docker/plugin services,
environment diagnostics, status checks, interactive onboard wizard,
config management, eval pipeline, and log viewing.
17 new files in cli/ package (~1300 lines), using only stdlib.
Adds console_scripts entry point in pyproject.toml.
Closes #35
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
| 1 个月前 |
| feat(cli): unified onboard flow with agent plugin installation
- Unify onboard: shared config steps (LLM, embedding, DB) then branch by
deployment target (docker / plugin / headless)
- Plugin mode: select agent (OpenClaw / Claude Code), auto-install plugin
- OpenClaw: validate gateway config, start binary if found
- Claude Code: resolve hooks paths, write into .claude/settings.json
- start_plugin: health check CE, auto-start if localhost, run agent install
- Rename start_local → start_headless, keep "local" as backward compat
- Update CLI mode choices to docker/plugin/headless
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
| 25 天前 |