- Replace all 'openclaw' references with 'pi' (pi coding harness) - Fix Git remote URL in CONTEXT.md - Harmonize health port to 9200 across all docs - Add config.yaml.example with full schema - Add pi-zulip-extension skeleton (TypeScript, pi Extension API) - Add hermes-zulip-plugin skeleton (Python, BasePlatformAdapter) - Add agent-zero-plugin skeleton (Python, A0 plugin API) - Update ADR-007 with pi extension docs reference - Document private topic ACL v1 limitation in CONTEXT.md
22 lines
830 B
Python
22 lines
830 B
Python
# Agent Zero Zulip Plugin — Core implementation
|
|
# See ADR-005 for @mention detection, ADR-009 for error handling
|
|
# Full implementation in issue #13. This skeleton establishes the package.
|
|
|
|
|
|
class AgentZeroZulipPlugin:
|
|
"""Zulip plugin for Agent Zero. Connects kagentz to #agent-hub,
|
|
detects @mentions, routes messages to/from the Agent Zero agent."""
|
|
|
|
def __init__(self, config: dict) -> None:
|
|
self.config = config
|
|
self.connected = False
|
|
|
|
async def connect(self) -> None:
|
|
raise NotImplementedError("Skeleton — implement in issue #13")
|
|
|
|
async def disconnect(self) -> None:
|
|
raise NotImplementedError("Skeleton — implement in issue #13")
|
|
|
|
async def handle_message(self, event: dict) -> dict | None:
|
|
raise NotImplementedError("Skeleton — implement in issue #13")
|