- Hermes / OpenClaw plugin index.ts now re-export `probeHermesBinary` / `probeOpenClawBinary` and their status types so the dashboard's `runtime-provider-probes.ts` façade can import them via the public package entry instead of deep paths. - Dashboard `package.json` adds `@fusion-plugin-examples/hermes-runtime`, `…/openclaw-runtime`, `…/paperclip-runtime` as workspace deps so pnpm symlinks them into `packages/dashboard/node_modules/`. Without these, the new probe imports failed with "Cannot find module" during `pnpm typecheck`. This clears 6 of the 9 outstanding typecheck errors. The remaining 3 are in the in-flight Hermes plugin rewrite (runtime-adapter still imports from a deleted `./pi-module.js`; the new `index.ts` calls a factory with the wrong arg type) and should be resolved by the same change set that landed the rewrite. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
21 lines
1.1 KiB
TypeScript
21 lines
1.1 KiB
TypeScript
/**
|
|
* Hermes Runtime Plugin
|
|
*
|
|
* Provides an executable Hermes runtime adapter that drives the local `hermes`
|
|
* CLI as a subprocess. Discovered by Fusion's plugin runtime registry; the
|
|
* settings configured in the dashboard's "Runtimes → Hermes" page flow through
|
|
* `ctx.settings` into the CLI invocation.
|
|
*/
|
|
import type { FusionPlugin, PluginRuntimeFactory, PluginRuntimeManifestMetadata } from "@fusion/plugin-sdk";
|
|
declare const HERMES_RUNTIME_ID = "hermes";
|
|
declare const hermesRuntimeMetadata: PluginRuntimeManifestMetadata;
|
|
declare const hermesRuntimeFactory: PluginRuntimeFactory;
|
|
declare const plugin: FusionPlugin;
|
|
export default plugin;
|
|
export { hermesRuntimeMetadata, hermesRuntimeFactory, HERMES_RUNTIME_ID };
|
|
export { HermesRuntimeAdapter } from "./runtime-adapter.js";
|
|
export { resolveCliSettings, invokeHermesCli, buildHermesArgs, parseHermesOutput, listHermesProfiles, } from "./cli-spawn.js";
|
|
export type { HermesCliSettings, HermesCliResult, HermesProfileSummary } from "./cli-spawn.js";
|
|
export { probeHermesBinary } from "./probe.js";
|
|
export type { HermesBinaryStatus } from "./probe.js";
|
|
//# sourceMappingURL=index.d.ts.map
|