@tailrace/adapter
v0.2.2
Published
Shared Tailrace integration helpers: wrapToolExecute, runGoverned. No host peers.
Readme
Tailrace - Agent data governance for TypeScript. Docs · All packages · @tailrace/core
@tailrace/adapter
Shared Tailrace integration helpers: tool execute wrapping and governed invocation. No host framework peers.
Install
pnpm add @tailrace/adapter @tailrace/coreQuickstart
import { createTailrace } from "@tailrace/core";
import { wrapToolExecute, runGoverned } from "@tailrace/adapter";
const tailrace = createTailrace();
const execute = wrapToolExecute(
tailrace,
"crm",
async (args) => {
/* call CRM */
return args;
},
{ agent: "support" },
);
await execute({ email: "[email protected]" });Host packages (@tailrace/openai-agents, @tailrace/ai-sdk) consume this package. Prefer those for framework-specific APIs.
