/** * @secr/openclaw-plugin — native OpenClaw plugin entry. * * Loaded by the OpenClaw runtime via `openclaw plugins install npm:@secr/openclaw-plugin` * (or `clawhub:secr` once published). The runtime injects the plugin SDK and * config; this module registers the tool-call gating hook + the secr.* tools * + the optional startup materializer. * * IMPORTANT: this module does not import from `openclaw/plugin-sdk` directly * because the runtime hasn't necessarily resolved that dep at typecheck time * inside the secr monorepo. The plugin entry contract is structurally typed — * `definePluginEntry` is a passthrough function provided by the runtime. * * If you're integrating against a vendored OpenClaw SDK, replace the local * `definePluginEntry` import with: * * import { definePluginEntry } from "openclaw/plugin-sdk/plugin-entry"; */ import type { OpenClawPluginApi } from "./types.js"; declare const _default: import("openclaw/plugin-sdk/plugin-entry").DefinePluginEntryOptions & { __openclawPlugin: true; }; export default _default; export { PluginState } from "./state.js"; export { buildToolCallHook } from "./tool-call-hook.js"; export { registerSecrTools } from "./tools.js"; export type { PluginConfig, BeforeToolCallEvent, BeforeToolCallResult, PluginContext, OpenClawPluginApi, PluginEntryDef, } from "./types.js"; //# sourceMappingURL=index.d.ts.map