Rename plugin from openclaw-channel to send_to_agent
- plugin.yaml: name is now send_to_agent - __init__.py: toolset is now send_to_agent, removed openclaw references - send_to_agent.py: unchanged (tool name was always send_to_agent)
This commit is contained in:
parent
4251aefd5f
commit
038b674002
10
__init__.py
10
__init__.py
@ -1,6 +1,6 @@
|
||||
"""openclaw-channel plugin.
|
||||
"""send_to_agent plugin.
|
||||
|
||||
Registers the send_to_agent tool for inter-agent messaging via openclaw-relay.
|
||||
Registers the send_to_agent tool for inter-agent messaging via relay.
|
||||
|
||||
See send_to_agent.py for tool implementation and README.md for context.
|
||||
"""
|
||||
@ -16,11 +16,11 @@ def register(ctx):
|
||||
|
||||
ctx.register_tool(
|
||||
name="send_to_agent",
|
||||
toolset="openclaw",
|
||||
toolset="send_to_agent",
|
||||
schema=SEND_SCHEMA,
|
||||
handler=_send,
|
||||
check_fn=_check,
|
||||
description="Send a message to another fleet agent via openclaw-relay.",
|
||||
description="Send a message to another fleet agent via relay.",
|
||||
emoji="📡",
|
||||
)
|
||||
logger.info("openclaw-channel: registered send_to_agent (agent=%s)", AGENT_ID)
|
||||
logger.info("send_to_agent: registered (agent=%s)", AGENT_ID)
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
name: openclaw-channel
|
||||
name: send_to_agent
|
||||
version: 0.1.0
|
||||
description: "openclaw-relay inter-agent channel — adds send_to_agent tool for fleet messaging"
|
||||
description: "send_to_agent tool for inter-agent relay messaging"
|
||||
provides_tools:
|
||||
- send_to_agent
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user