Download src/plugin-sdk/agent-harness.ts from SaylorTwift/openclaw: direct link, hf CLI and curl.
- Browser
- Download file 903 Bytes
-
https://huggingface.co/SaylorTwift/openclaw/resolve/main/src/plugin-sdk/agent-harness.ts
- Command line
-
hf download hf://SaylorTwift/openclaw/src/plugin-sdk/agent-harness.ts
-
curl -L -o agent-harness.ts https://huggingface.co/SaylorTwift/openclaw/resolve/main/src/plugin-sdk/agent-harness.ts
903 Bytes
| // Public agent harness surface for plugins that replace the low-level agent runtime. | |
| // Keep model/vendor-specific protocol code in the plugin that registers the harness. | |
| export { | |
| abortAgentHarnessRun, | |
| abortAndDrainAgentHarnessRun, | |
| createAgentToolResultMiddlewareRunner, | |
| disposeRegisteredAgentHarnesses, | |
| resolveActiveEmbeddedRunSessionId, | |
| } from "./agent-harness-runtime.js"; | |
| export type { | |
| AgentHarness, | |
| AgentHarnessV2, | |
| AgentToolResultMiddleware, | |
| AgentToolResultMiddlewareEvent, | |
| AnyAgentTool, | |
| EmbeddedRunAttemptParams, | |
| EmbeddedRunAttemptParamsV2, | |
| OpenClawAgentToolResult, | |
| } from "./agent-harness-runtime.js"; | |
| export { createOpenClawCodingTools } from "../agents/agent-tools.js"; | |
| export { createCodexAppServerToolResultExtensionRunner } from "../agents/harness/codex-app-server-extensions.js"; | |
| export { resolveWebSearchToolPolicy } from "../agents/web-search-tool-policy.js"; | |