@mastra/core
Version:
20 lines (19 loc) • 1.18 kB
JavaScript
import { s as askUserTool, t as submitPlanTool } from "../tools-DfVbCEfg.js";
import { A as taskWriteTool, D as taskCheckTool, O as taskCompleteTool, k as taskUpdateTool, x as assignTaskIds } from "../state-processor-SJqI1An_.js";
import { a as Session, c as defaultDisplayState, l as defaultOMProgressState, n as parseSubagentMeta, t as AgentController } from "../agent-controller-ZlYxuz1e.js";
// src/harness/index.ts
/**
* @deprecated Backwards-compatibility entrypoint.
*
* The canonical implementation now lives in `@mastra/core/agent-controller`.
* This module re-exports that surface and additionally provides the deprecated
* `Harness`/`Harness*` aliases. New code should import from
* `@mastra/core/agent-controller` instead.
*/
/**
* @deprecated Use {@link AgentController} instead. `Harness` is retained as a
* backwards-compatible alias and will be removed in a future major release.
*/
const Harness = AgentController;
export { AgentController, Harness, Session, askUserTool, assignTaskIds, defaultDisplayState, defaultOMProgressState, parseSubagentMeta, submitPlanTool, taskCheckTool, taskCompleteTool, taskUpdateTool, taskWriteTool };
//# sourceMappingURL=index.js.map