@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.
12 lines (11 loc) • 1.45 kB
JavaScript
import { createEditorRefBridge } from "./bridges/editor-ref.js";
import { createReviewerBridge } from "./bridges/reviewer.js";
import { compareDocxVersions, formatVersionDiffForLLM, generateRedlineDocx } from "./compare.js";
import { executeFolioToolCall, executeFolioToolCallUntyped } from "./execute.js";
import { FOLIO_DOCUMENT_OPERATION_BATCH_JSON_SCHEMA, FOLIO_DOCUMENT_OPERATION_JSON_SCHEMA, folioDocumentOperationBatchSchema } from "./operation-schema.js";
import { parseAddCommentInput, parseSuggestChangesInput } from "./parse.js";
import { toAnthropicTools, toOpenAITools } from "./providers.js";
import { DEFAULT_SUGGEST_CHANGES_OPERATION_TYPES, InvalidFolioSuggestChangesOptionsError } from "./suggest-changes-options.js";
import { FOLIO_AGENT_TOOLS, describeSuggestChangesCapabilities, getFolioToolDefinitions } from "./tools.js";
import { FOLIO_AGENT_TOOL_NAMES } from "./types.js";
export { DEFAULT_SUGGEST_CHANGES_OPERATION_TYPES, FOLIO_AGENT_TOOLS, FOLIO_AGENT_TOOL_NAMES, FOLIO_DOCUMENT_OPERATION_BATCH_JSON_SCHEMA, FOLIO_DOCUMENT_OPERATION_JSON_SCHEMA, InvalidFolioSuggestChangesOptionsError, compareDocxVersions, createEditorRefBridge, createReviewerBridge, describeSuggestChangesCapabilities, executeFolioToolCall, executeFolioToolCallUntyped, folioDocumentOperationBatchSchema, formatVersionDiffForLLM, generateRedlineDocx, getFolioToolDefinitions, parseAddCommentInput, parseSuggestChangesInput, toAnthropicTools, toOpenAITools };