Skip to content

OpenClaw plugin auto-discovery on pip install #2

@dhawalc

Description

@dhawalc

Goal: pip install cortex-mem → OpenClaw auto-configures, zero manual setup.

Current state:

  • Users must manually import openclaw_integration.py
  • Manual path configuration
  • No auto-migration wizard

Proposed:

  • setup.py post-install hook detects OpenClaw
  • Auto-adds to OpenClaw config.yaml
  • Prompts for migration
  • Runs cortex-mem migrate ~/.openclaw/workspace if yes

Implementation:

  • Add to setup.py: post-install script
  • Check if ~/.openclaw/config.yaml exists
  • Modify YAML, start service, offer migration

Success criteria:

  • New user: pip install cortex-mem → works immediately
  • Zero manual configuration
  • Seamless OpenClaw integration

Priority: High (critical for v1.1.0)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions