mirror of
https://github.com/domfelipe/hermes-agent-custom.git
synced 2026-08-07 05:56:45 +00:00
feat: post Mika cron and skill actions back to platform (#5)
* feat: post mika actions back to platform * fix: start hermes gateway for telegram runtime * fix: isolate gateway from runtime api port * fix: enable mika runtime tools in gateway config * fix: prefer mika platform tools over native runtime tools * fix: intercept mika platform actions before llm * fix: route managed cronjobs and skills
This commit is contained in:
parent
11b664b8d5
commit
697825c505
12 changed files with 1077 additions and 38 deletions
|
|
@ -5,11 +5,14 @@ from plugins.mika_runtime.tools import (
|
|||
CRONJOB_CREATE_SCHEMA,
|
||||
INTEGRATIONS_STATUS_SCHEMA,
|
||||
NOTION_API_SCHEMA,
|
||||
SKILL_CREATE_SCHEMA,
|
||||
TODOIST_API_SCHEMA,
|
||||
handle_calcom_api,
|
||||
handle_cronjob_create,
|
||||
handle_gateway_platform_action_intercept,
|
||||
handle_integrations_status,
|
||||
handle_notion_api,
|
||||
handle_skill_create,
|
||||
handle_todoist_api,
|
||||
)
|
||||
|
||||
|
|
@ -51,3 +54,14 @@ def register(ctx) -> None:
|
|||
handler=handle_cronjob_create,
|
||||
emoji="⏰",
|
||||
)
|
||||
ctx.register_tool(
|
||||
name="skill_create",
|
||||
toolset="mika_integrations",
|
||||
schema=SKILL_CREATE_SCHEMA,
|
||||
handler=handle_skill_create,
|
||||
emoji="🧩",
|
||||
)
|
||||
ctx.register_hook(
|
||||
"pre_gateway_dispatch",
|
||||
handle_gateway_platform_action_intercept,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue