@stll/folio-agents
Version:
Framework-neutral LLM tool layer over folio's ai-edits engine: function-calling tools so an agent can read and mutate .docx documents through @stll/folio-core.
10 lines (9 loc) • 380 B
JavaScript
//#region src/bridge.ts
const decodedCommentHandlers = /* @__PURE__ */ new WeakMap();
const registerDecodedCommentHandlers = (bridge, handlers) => {
decodedCommentHandlers.set(bridge, handlers);
return bridge;
};
const getDecodedCommentHandlers = (bridge) => decodedCommentHandlers.get(bridge);
//#endregion
export { getDecodedCommentHandlers, registerDecodedCommentHandlers };