feat: CLI extension point refactoring #78

Merged
k9ert merged 2 commits from story-75 into main 2026-02-22 13:04:09 +00:00
Collaborator

Closes #75

Changes

  • Remove register_commands() from Plugin base class
  • Create new cli plugin with cli.commands extension point
  • Update memory, pairing, cron, subagent plugins to declare implements
  • Update cli.py to use registry.get_implementations()

Verification

  • All 345 tests pass
  • cobot plugins inspect shows CLI contribution as implements edges
Closes #75 ## Changes - Remove `register_commands()` from Plugin base class - Create new `cli` plugin with `cli.commands` extension point - Update memory, pairing, cron, subagent plugins to declare `implements` - Update `cli.py` to use `registry.get_implementations()` ## Verification - All 345 tests pass - `cobot plugins inspect` shows CLI contribution as `implements` edges
feat: CLI extension point refactoring (#75)
All checks were successful
CI / lint (pull_request) Successful in 9s
CI / test (3.11) (pull_request) Successful in 21s
CI / test (3.12) (pull_request) Successful in 22s
E2E Tests / e2e (pull_request) Successful in 10s
CI / test (3.13) (pull_request) Successful in 23s
CI / build (pull_request) Successful in 7s
b481526bc6
- Create cli plugin with cli.commands extension point
- Update memory, pairing, cron, subagent to declare implements
- Update cli.py to use registry.get_implementations()
- Remove register_commands() from Plugin base class
- Update tests to verify new architecture

All 345 tests pass.
fix: remove unused imports in test_cli_plugins.py
All checks were successful
CI / lint (pull_request) Successful in 9s
CI / test (3.11) (pull_request) Successful in 21s
CI / test (3.12) (pull_request) Successful in 22s
E2E Tests / e2e (pull_request) Successful in 11s
CI / test (3.13) (pull_request) Successful in 23s
CI / build (pull_request) Successful in 7s
99286f3791
k9ert approved these changes 2026-02-22 13:03:58 +00:00
k9ert left a comment
Owner

LGTM

LGTM
k9ert merged commit be51329792 into main 2026-02-22 13:04:09 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ultanio/cobot!78
No description provided.