Files
Yonexus.Client/plugin/index.ts
2026-04-08 22:39:49 +00:00

70 lines
1.8 KiB
TypeScript

export { validateYonexusClientConfig, YonexusClientConfigError } from "./core/config.js";
export type { YonexusClientConfig } from "./core/config.js";
export {
CLIENT_STATE_VERSION,
YonexusClientStateError,
YonexusClientStateCorruptionError,
createYonexusClientStateStore,
loadYonexusClientState,
saveYonexusClientState,
createInitialClientState,
hasClientSecret,
hasClientKeyPair,
type YonexusClientState,
type YonexusClientStateFile,
type YonexusClientStateStore
} from "./core/state.js";
export {
createClientTransport,
YonexusClientTransport,
type ClientTransport,
type ClientTransportOptions,
type ClientConnectionState,
type ClientMessageHandler,
type ClientStateChangeHandler,
type ClientErrorHandler
} from "./core/transport.js";
export {
createYonexusClientRuntime,
YonexusClientRuntime,
type YonexusClientRuntimeOptions,
type YonexusClientRuntimeState,
type YonexusClientPhase
} from "./core/runtime.js";
export {
createClientRuleRegistry,
YonexusClientRuleRegistry,
ClientRuleRegistryError,
type ClientRuleRegistry,
type ClientRuleProcessor
} from "./core/rules.js";
export interface YonexusClientPluginManifest {
readonly name: "Yonexus.Client";
readonly version: string;
readonly description: string;
}
export interface YonexusClientPluginRuntime {
readonly hooks: readonly [];
readonly commands: readonly [];
readonly tools: readonly [];
}
const manifest: YonexusClientPluginManifest = {
name: "Yonexus.Client",
version: "0.1.0",
description: "Yonexus client plugin for cross-instance OpenClaw communication"
};
export function createYonexusClientPlugin(): YonexusClientPluginRuntime {
return {
hooks: [],
commands: [],
tools: []
};
}
export default createYonexusClientPlugin;
export { manifest };