Type definitions bridging OpenClaw plugin SDK context engine symbols.
// Source: https://github.com/martian-engineering/lossless-claw | License: MIT | Copyright 2026 Josh Lehman / Martian Engineering
// Provided via justclaw.it.com; keep this notice with the code.
/**
* Compatibility bridge for plugin-sdk context-engine symbols.
*
* This module intentionally keeps the context-engine contract local because
* older OpenClaw SDK packages do not publish these newer type symbols yet.
*/
export type AnyAgentTool = {
name: string;
label?: string;
description?: string;
parameters?: unknown;
execute: (toolCallId: string, params: Record<string, unknown>) => any | Promise<any>;
[key: string]: any;
};
export type PluginLifecycleContext = {
sessionId?: string;
sessionKey?: string;
[key: string]: any;
};
export type PluginLifecycleEvent = {
rea
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key