mirror of
https://github.com/domfelipe/hermes-agent-custom.git
synced 2026-08-07 05:56:45 +00:00
Add Mika runtime bridge to Hermes image (#2)
* Add Mika runtime bridge to Hermes image * Build canary image tags on branch pushes
This commit is contained in:
parent
e87c943ebd
commit
1740e05917
7 changed files with 1192 additions and 28 deletions
44
plugins/mika_runtime/__init__.py
Normal file
44
plugins/mika_runtime/__init__.py
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
"""Bundled Hermes plugin that exposes Mika-managed integrations as stable tools."""
|
||||
|
||||
from plugins.mika_runtime.tools import (
|
||||
CALCOM_API_SCHEMA,
|
||||
INTEGRATIONS_STATUS_SCHEMA,
|
||||
NOTION_API_SCHEMA,
|
||||
TODOIST_API_SCHEMA,
|
||||
handle_calcom_api,
|
||||
handle_integrations_status,
|
||||
handle_notion_api,
|
||||
handle_todoist_api,
|
||||
)
|
||||
|
||||
|
||||
def register(ctx) -> None:
|
||||
"""Register Mika integration bridge tools."""
|
||||
ctx.register_tool(
|
||||
name="mika_integrations_status",
|
||||
toolset="mika_integrations",
|
||||
schema=INTEGRATIONS_STATUS_SCHEMA,
|
||||
handler=handle_integrations_status,
|
||||
emoji="🔌",
|
||||
)
|
||||
ctx.register_tool(
|
||||
name="mika_notion_api",
|
||||
toolset="mika_integrations",
|
||||
schema=NOTION_API_SCHEMA,
|
||||
handler=handle_notion_api,
|
||||
emoji="🧠",
|
||||
)
|
||||
ctx.register_tool(
|
||||
name="mika_todoist_api",
|
||||
toolset="mika_integrations",
|
||||
schema=TODOIST_API_SCHEMA,
|
||||
handler=handle_todoist_api,
|
||||
emoji="✅",
|
||||
)
|
||||
ctx.register_tool(
|
||||
name="mika_calcom_api",
|
||||
toolset="mika_integrations",
|
||||
schema=CALCOM_API_SCHEMA,
|
||||
handler=handle_calcom_api,
|
||||
emoji="📅",
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue