61 lines
1.5 KiB
TypeScript
61 lines
1.5 KiB
TypeScript
export { validateYonexusServerConfig, YonexusServerConfigError } from "./core/config.js";
|
|
export type { YonexusServerConfig } from "./core/config.js";
|
|
export {
|
|
createClientRecord,
|
|
serializeClientRecord,
|
|
deserializeClientRecord,
|
|
isPairable,
|
|
hasPendingPairing,
|
|
isPairingExpired,
|
|
canAuthenticate,
|
|
type PairingStatus,
|
|
type ClientLivenessStatus,
|
|
type PairingNotifyStatus,
|
|
type NonceEntry,
|
|
type HandshakeAttemptEntry,
|
|
type ClientRecord,
|
|
type ClientSession,
|
|
type ServerRegistry,
|
|
type SerializedClientRecord,
|
|
type ServerPersistenceData
|
|
} from "./core/persistence.js";
|
|
export {
|
|
SERVER_PERSISTENCE_VERSION,
|
|
YonexusServerStoreError,
|
|
YonexusServerStoreCorruptionError,
|
|
createYonexusServerStore,
|
|
loadServerStore,
|
|
saveServerStore,
|
|
type ServerStoreLoadResult,
|
|
type YonexusServerStore
|
|
} from "./core/store.js";
|
|
|
|
export interface YonexusServerPluginManifest {
|
|
readonly name: "Yonexus.Server";
|
|
readonly version: string;
|
|
readonly description: string;
|
|
}
|
|
|
|
export interface YonexusServerPluginRuntime {
|
|
readonly hooks: readonly [];
|
|
readonly commands: readonly [];
|
|
readonly tools: readonly [];
|
|
}
|
|
|
|
const manifest: YonexusServerPluginManifest = {
|
|
name: "Yonexus.Server",
|
|
version: "0.1.0",
|
|
description: "Yonexus central hub plugin for cross-instance OpenClaw communication"
|
|
};
|
|
|
|
export function createYonexusServerPlugin(): YonexusServerPluginRuntime {
|
|
return {
|
|
hooks: [],
|
|
commands: [],
|
|
tools: []
|
|
};
|
|
}
|
|
|
|
export default createYonexusServerPlugin;
|
|
export { manifest };
|