perf: reduce plugin runtime startup overhead

This commit is contained in:
Peter Steinberger
2026-03-22 16:32:17 +00:00
parent bb16ab9e08
commit 3fa2300ba1
18 changed files with 309 additions and 172 deletions

View File

@@ -1,9 +1,9 @@
import type { AgentToolResult } from "@mariozechner/pi-agent-core";
import type { ChannelMessageActionContext } from "openclaw/plugin-sdk/channel-contract";
import { normalizeInteractiveReply } from "openclaw/plugin-sdk/interactive-runtime";
import { readNumberParam, readStringParam } from "openclaw/plugin-sdk/param-readers";
import { parseSlackBlocksInput } from "./blocks-input.js";
import { buildSlackInteractiveBlocks } from "./blocks-render.js";
import { readNumberParam, readStringParam } from "./runtime-api.js";
type SlackActionInvoke = (
action: Record<string, unknown>,