@eigenpal/docx-editor-agents 0.4.0 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ai-sdk/server.js +1 -1
- package/dist/ai-sdk/server.mjs +1 -1
- package/dist/bridge.d.mts +1 -1
- package/dist/bridge.d.ts +1 -1
- package/dist/bridge.js +1 -1
- package/dist/bridge.mjs +1 -1
- package/dist/{chunk-TICYYVCD.mjs → chunk-24MVJKCP.mjs} +2 -2
- package/dist/{chunk-U7PAJJYD.js → chunk-6QGKIBSG.js} +1 -1
- package/dist/{chunk-3HEONW4M.js → chunk-7SW3TY3Y.js} +3 -3
- package/dist/{chunk-AMRM73UC.mjs → chunk-G32OWQRD.mjs} +1 -1
- package/dist/{chunk-HTCA4A6G.mjs → chunk-JS757ZB5.mjs} +1 -1
- package/dist/chunk-N2D5VYS3.mjs +71 -0
- package/dist/{chunk-O7DEBIDX.js → chunk-P6EQWTU6.js} +2 -2
- package/dist/{chunk-T5P2DWHN.js → chunk-RI5S75JY.js} +2 -2
- package/dist/{chunk-WGUYD2A2.mjs → chunk-VN4NZFMM.mjs} +1 -1
- package/dist/chunk-YGNXQ76O.js +71 -0
- package/dist/headless-HPEK5EWV.js +1 -0
- package/dist/{headless-PZWHORT6.mjs → headless-QDD422CM.mjs} +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/mcp.d.mts +1 -1
- package/dist/mcp.d.ts +1 -1
- package/dist/mcp.js +2 -2
- package/dist/mcp.mjs +1 -1
- package/dist/react.d.mts +2 -2
- package/dist/react.d.ts +2 -2
- package/dist/react.js +1 -1
- package/dist/react.mjs +1 -1
- package/dist/{server-B7dGWiLh.d.mts → server-BSfB_XXk.d.mts} +23 -0
- package/dist/{server-B7dGWiLh.d.ts → server-BSfB_XXk.d.ts} +23 -0
- package/dist/server.d.mts +1 -1
- package/dist/server.d.ts +1 -1
- package/dist/server.js +1 -1
- package/dist/server.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-25L7AEDN.mjs +0 -71
- package/dist/chunk-VF25WARH.js +0 -71
- package/dist/headless-B7TGKW6I.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';var chunkYGNXQ76O_js=require('./chunk-YGNXQ76O.js'),chunk4QRVKNI4_js=require('./chunk-4QRVKNI4.js'),chunk2AF2FRMM_js=require('./chunk-2AF2FRMM.js');Object.defineProperty(exports,"DEFAULT_AI_ACTIONS",{enumerable:true,get:function(){return chunkYGNXQ76O_js.Fa}});Object.defineProperty(exports,"DocumentAgent",{enumerable:true,get:function(){return chunkYGNXQ76O_js.G}});Object.defineProperty(exports,"VERSION",{enumerable:true,get:function(){return chunkYGNXQ76O_js.Ha}});Object.defineProperty(exports,"attemptSelectiveSave",{enumerable:true,get:function(){return chunkYGNXQ76O_js.i}});Object.defineProperty(exports,"blendColors",{enumerable:true,get:function(){return chunkYGNXQ76O_js.wa}});Object.defineProperty(exports,"buildExtendedSelectionContext",{enumerable:true,get:function(){return chunkYGNXQ76O_js.N}});Object.defineProperty(exports,"buildPatchedDocumentXml",{enumerable:true,get:function(){return chunkYGNXQ76O_js.h}});Object.defineProperty(exports,"buildSelectionContext",{enumerable:true,get:function(){return chunkYGNXQ76O_js.M}});Object.defineProperty(exports,"buildSelectionContextFromContext",{enumerable:true,get:function(){return chunkYGNXQ76O_js.K}});Object.defineProperty(exports,"colorsEqual",{enumerable:true,get:function(){return chunkYGNXQ76O_js.xa}});Object.defineProperty(exports,"comparePositions",{enumerable:true,get:function(){return chunkYGNXQ76O_js.Ca}});Object.defineProperty(exports,"countCharacters",{enumerable:true,get:function(){return chunkYGNXQ76O_js.V}});Object.defineProperty(exports,"countWords",{enumerable:true,get:function(){return chunkYGNXQ76O_js.U}});Object.defineProperty(exports,"createAgent",{enumerable:true,get:function(){return chunkYGNXQ76O_js.H}});Object.defineProperty(exports,"createAgentFromDocument",{enumerable:true,get:function(){return chunkYGNXQ76O_js.I}});Object.defineProperty(exports,"createCollapsedRange",{enumerable:true,get:function(){return chunkYGNXQ76O_js.za}});Object.defineProperty(exports,"createCommand",{enumerable:true,get:function(){return chunkYGNXQ76O_js.Ga}});Object.defineProperty(exports,"createDocumentWithText",{enumerable:true,get:function(){return chunkYGNXQ76O_js.ka}});Object.defineProperty(exports,"createDocx",{enumerable:true,get:function(){return chunkYGNXQ76O_js.f}});Object.defineProperty(exports,"createEmptyDocument",{enumerable:true,get:function(){return chunkYGNXQ76O_js.ja}});Object.defineProperty(exports,"createRange",{enumerable:true,get:function(){return chunkYGNXQ76O_js.Aa}});Object.defineProperty(exports,"createRgbColor",{enumerable:true,get:function(){return chunkYGNXQ76O_js.ta}});Object.defineProperty(exports,"createThemeColor",{enumerable:true,get:function(){return chunkYGNXQ76O_js.sa}});Object.defineProperty(exports,"darkenColor",{enumerable:true,get:function(){return chunkYGNXQ76O_js.ua}});Object.defineProperty(exports,"detectVariables",{enumerable:true,get:function(){return chunkYGNXQ76O_js.j}});Object.defineProperty(exports,"detectVariablesDetailed",{enumerable:true,get:function(){return chunkYGNXQ76O_js.k}});Object.defineProperty(exports,"detectVariablesInBody",{enumerable:true,get:function(){return chunkYGNXQ76O_js.l}});Object.defineProperty(exports,"detectVariablesInParagraph",{enumerable:true,get:function(){return chunkYGNXQ76O_js.m}});Object.defineProperty(exports,"documentHasVariables",{enumerable:true,get:function(){return chunkYGNXQ76O_js.v}});Object.defineProperty(exports,"emuToPixels",{enumerable:true,get:function(){return chunkYGNXQ76O_js.y}});Object.defineProperty(exports,"emuToTwips",{enumerable:true,get:function(){return chunkYGNXQ76O_js.A}});Object.defineProperty(exports,"extractVariablesFromText",{enumerable:true,get:function(){return chunkYGNXQ76O_js.n}});Object.defineProperty(exports,"formatPx",{enumerable:true,get:function(){return chunkYGNXQ76O_js.E}});Object.defineProperty(exports,"formatVariable",{enumerable:true,get:function(){return chunkYGNXQ76O_js.r}});Object.defineProperty(exports,"getActionDescription",{enumerable:true,get:function(){return chunkYGNXQ76O_js.Ea}});Object.defineProperty(exports,"getActionLabel",{enumerable:true,get:function(){return chunkYGNXQ76O_js.Da}});Object.defineProperty(exports,"getAgentContext",{enumerable:true,get:function(){return chunkYGNXQ76O_js.J}});Object.defineProperty(exports,"getBlockIndexForParagraph",{enumerable:true,get:function(){return chunkYGNXQ76O_js.ia}});Object.defineProperty(exports,"getBodyCharacterCount",{enumerable:true,get:function(){return chunkYGNXQ76O_js.X}});Object.defineProperty(exports,"getBodyText",{enumerable:true,get:function(){return chunkYGNXQ76O_js.T}});Object.defineProperty(exports,"getBodyWordCount",{enumerable:true,get:function(){return chunkYGNXQ76O_js.W}});Object.defineProperty(exports,"getContrastingColor",{enumerable:true,get:function(){return chunkYGNXQ76O_js.qa}});Object.defineProperty(exports,"getDocumentSummary",{enumerable:true,get:function(){return chunkYGNXQ76O_js.L}});Object.defineProperty(exports,"getFormattingAtPosition",{enumerable:true,get:function(){return chunkYGNXQ76O_js._}});Object.defineProperty(exports,"getHyperlinkAtPosition",{enumerable:true,get:function(){return chunkYGNXQ76O_js.aa}});Object.defineProperty(exports,"getHyperlinkText",{enumerable:true,get:function(){return chunkYGNXQ76O_js.R}});Object.defineProperty(exports,"getParagraphAtIndex",{enumerable:true,get:function(){return chunkYGNXQ76O_js.ha}});Object.defineProperty(exports,"getParagraphText",{enumerable:true,get:function(){return chunkYGNXQ76O_js.P}});Object.defineProperty(exports,"getParagraphs",{enumerable:true,get:function(){return chunkYGNXQ76O_js.ga}});Object.defineProperty(exports,"getRunText",{enumerable:true,get:function(){return chunkYGNXQ76O_js.Q}});Object.defineProperty(exports,"getSelectionFormattingSummary",{enumerable:true,get:function(){return chunkYGNXQ76O_js.O}});Object.defineProperty(exports,"getTableText",{enumerable:true,get:function(){return chunkYGNXQ76O_js.S}});Object.defineProperty(exports,"getTextAfter",{enumerable:true,get:function(){return chunkYGNXQ76O_js.Z}});Object.defineProperty(exports,"getTextBefore",{enumerable:true,get:function(){return chunkYGNXQ76O_js.Y}});Object.defineProperty(exports,"halfPointsToPixels",{enumerable:true,get:function(){return chunkYGNXQ76O_js.D}});Object.defineProperty(exports,"hasHyperlinks",{enumerable:true,get:function(){return chunkYGNXQ76O_js.ea}});Object.defineProperty(exports,"hasImages",{enumerable:true,get:function(){return chunkYGNXQ76O_js.da}});Object.defineProperty(exports,"hasTables",{enumerable:true,get:function(){return chunkYGNXQ76O_js.fa}});Object.defineProperty(exports,"hasTemplateVariables",{enumerable:true,get:function(){return chunkYGNXQ76O_js.o}});Object.defineProperty(exports,"isBlack",{enumerable:true,get:function(){return chunkYGNXQ76O_js.oa}});Object.defineProperty(exports,"isHeadingStyle",{enumerable:true,get:function(){return chunkYGNXQ76O_js.ba}});Object.defineProperty(exports,"isPositionInHyperlink",{enumerable:true,get:function(){return chunkYGNXQ76O_js.$}});Object.defineProperty(exports,"isPositionInRange",{enumerable:true,get:function(){return chunkYGNXQ76O_js.Ba}});Object.defineProperty(exports,"isValidVariableName",{enumerable:true,get:function(){return chunkYGNXQ76O_js.p}});Object.defineProperty(exports,"isWhite",{enumerable:true,get:function(){return chunkYGNXQ76O_js.pa}});Object.defineProperty(exports,"isZodSchema",{enumerable:true,get:function(){return chunkYGNXQ76O_js.ya}});Object.defineProperty(exports,"lightenColor",{enumerable:true,get:function(){return chunkYGNXQ76O_js.va}});Object.defineProperty(exports,"parseColorString",{enumerable:true,get:function(){return chunkYGNXQ76O_js.ra}});Object.defineProperty(exports,"parseDocx",{enumerable:true,get:function(){return chunkYGNXQ76O_js.F}});Object.defineProperty(exports,"parseHeadingLevel",{enumerable:true,get:function(){return chunkYGNXQ76O_js.ca}});Object.defineProperty(exports,"parseVariable",{enumerable:true,get:function(){return chunkYGNXQ76O_js.s}});Object.defineProperty(exports,"pixelsToEmu",{enumerable:true,get:function(){return chunkYGNXQ76O_js.z}});Object.defineProperty(exports,"pixelsToTwips",{enumerable:true,get:function(){return chunkYGNXQ76O_js.x}});Object.defineProperty(exports,"pointsToPixels",{enumerable:true,get:function(){return chunkYGNXQ76O_js.C}});Object.defineProperty(exports,"removeVariables",{enumerable:true,get:function(){return chunkYGNXQ76O_js.u}});Object.defineProperty(exports,"repackDocx",{enumerable:true,get:function(){return chunkYGNXQ76O_js.d}});Object.defineProperty(exports,"replaceVariables",{enumerable:true,get:function(){return chunkYGNXQ76O_js.t}});Object.defineProperty(exports,"resolveColor",{enumerable:true,get:function(){return chunkYGNXQ76O_js.la}});Object.defineProperty(exports,"resolveHighlightColor",{enumerable:true,get:function(){return chunkYGNXQ76O_js.ma}});Object.defineProperty(exports,"resolveShadingColor",{enumerable:true,get:function(){return chunkYGNXQ76O_js.na}});Object.defineProperty(exports,"sanitizeVariableName",{enumerable:true,get:function(){return chunkYGNXQ76O_js.q}});Object.defineProperty(exports,"serializeDocumentBody",{enumerable:true,get:function(){return chunkYGNXQ76O_js.b}});Object.defineProperty(exports,"serializeDocx",{enumerable:true,get:function(){return chunkYGNXQ76O_js.c}});Object.defineProperty(exports,"serializeSectionProperties",{enumerable:true,get:function(){return chunkYGNXQ76O_js.a}});Object.defineProperty(exports,"twipsToEmu",{enumerable:true,get:function(){return chunkYGNXQ76O_js.B}});Object.defineProperty(exports,"twipsToPixels",{enumerable:true,get:function(){return chunkYGNXQ76O_js.w}});Object.defineProperty(exports,"updateMultipleFiles",{enumerable:true,get:function(){return chunkYGNXQ76O_js.e}});Object.defineProperty(exports,"validatePatchSafety",{enumerable:true,get:function(){return chunkYGNXQ76O_js.g}});Object.defineProperty(exports,"createTemplateProcessor",{enumerable:true,get:function(){return chunk4QRVKNI4_js.j}});Object.defineProperty(exports,"getMissingVariables",{enumerable:true,get:function(){return chunk4QRVKNI4_js.g}});Object.defineProperty(exports,"getTemplateTags",{enumerable:true,get:function(){return chunk4QRVKNI4_js.e}});Object.defineProperty(exports,"previewTemplate",{enumerable:true,get:function(){return chunk4QRVKNI4_js.h}});Object.defineProperty(exports,"processTemplate",{enumerable:true,get:function(){return chunk4QRVKNI4_js.a}});Object.defineProperty(exports,"processTemplateAdvanced",{enumerable:true,get:function(){return chunk4QRVKNI4_js.i}});Object.defineProperty(exports,"processTemplateAsBlob",{enumerable:true,get:function(){return chunk4QRVKNI4_js.c}});Object.defineProperty(exports,"processTemplateDetailed",{enumerable:true,get:function(){return chunk4QRVKNI4_js.b}});Object.defineProperty(exports,"validateTemplate",{enumerable:true,get:function(){return chunk4QRVKNI4_js.f}});Object.defineProperty(exports,"PluginRegistry",{enumerable:true,get:function(){return chunk2AF2FRMM_js.a}});Object.defineProperty(exports,"createPluginRegistrar",{enumerable:true,get:function(){return chunk2AF2FRMM_js.d}});Object.defineProperty(exports,"executeCommand",{enumerable:true,get:function(){return chunk2AF2FRMM_js.e}});Object.defineProperty(exports,"executeCommands",{enumerable:true,get:function(){return chunk2AF2FRMM_js.f}});Object.defineProperty(exports,"pluginRegistry",{enumerable:true,get:function(){return chunk2AF2FRMM_js.b}});Object.defineProperty(exports,"registerPlugins",{enumerable:true,get:function(){return chunk2AF2FRMM_js.c}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{Fa as DEFAULT_AI_ACTIONS,G as DocumentAgent,Ha as VERSION,i as attemptSelectiveSave,wa as blendColors,N as buildExtendedSelectionContext,h as buildPatchedDocumentXml,M as buildSelectionContext,K as buildSelectionContextFromContext,xa as colorsEqual,Ca as comparePositions,V as countCharacters,U as countWords,H as createAgent,I as createAgentFromDocument,za as createCollapsedRange,Ga as createCommand,ka as createDocumentWithText,f as createDocx,ja as createEmptyDocument,Aa as createRange,ta as createRgbColor,sa as createThemeColor,ua as darkenColor,j as detectVariables,k as detectVariablesDetailed,l as detectVariablesInBody,m as detectVariablesInParagraph,v as documentHasVariables,y as emuToPixels,A as emuToTwips,n as extractVariablesFromText,E as formatPx,r as formatVariable,Ea as getActionDescription,Da as getActionLabel,J as getAgentContext,ia as getBlockIndexForParagraph,X as getBodyCharacterCount,T as getBodyText,W as getBodyWordCount,qa as getContrastingColor,L as getDocumentSummary,_ as getFormattingAtPosition,aa as getHyperlinkAtPosition,R as getHyperlinkText,ha as getParagraphAtIndex,P as getParagraphText,ga as getParagraphs,Q as getRunText,O as getSelectionFormattingSummary,S as getTableText,Z as getTextAfter,Y as getTextBefore,D as halfPointsToPixels,ea as hasHyperlinks,da as hasImages,fa as hasTables,o as hasTemplateVariables,oa as isBlack,ba as isHeadingStyle,$ as isPositionInHyperlink,Ba as isPositionInRange,p as isValidVariableName,pa as isWhite,ya as isZodSchema,va as lightenColor,ra as parseColorString,F as parseDocx,ca as parseHeadingLevel,s as parseVariable,z as pixelsToEmu,x as pixelsToTwips,C as pointsToPixels,u as removeVariables,d as repackDocx,t as replaceVariables,la as resolveColor,ma as resolveHighlightColor,na as resolveShadingColor,q as sanitizeVariableName,b as serializeDocumentBody,c as serializeDocx,a as serializeSectionProperties,B as twipsToEmu,w as twipsToPixels,e as updateMultipleFiles,g as validatePatchSafety}from'./chunk-
|
|
1
|
+
export{Fa as DEFAULT_AI_ACTIONS,G as DocumentAgent,Ha as VERSION,i as attemptSelectiveSave,wa as blendColors,N as buildExtendedSelectionContext,h as buildPatchedDocumentXml,M as buildSelectionContext,K as buildSelectionContextFromContext,xa as colorsEqual,Ca as comparePositions,V as countCharacters,U as countWords,H as createAgent,I as createAgentFromDocument,za as createCollapsedRange,Ga as createCommand,ka as createDocumentWithText,f as createDocx,ja as createEmptyDocument,Aa as createRange,ta as createRgbColor,sa as createThemeColor,ua as darkenColor,j as detectVariables,k as detectVariablesDetailed,l as detectVariablesInBody,m as detectVariablesInParagraph,v as documentHasVariables,y as emuToPixels,A as emuToTwips,n as extractVariablesFromText,E as formatPx,r as formatVariable,Ea as getActionDescription,Da as getActionLabel,J as getAgentContext,ia as getBlockIndexForParagraph,X as getBodyCharacterCount,T as getBodyText,W as getBodyWordCount,qa as getContrastingColor,L as getDocumentSummary,_ as getFormattingAtPosition,aa as getHyperlinkAtPosition,R as getHyperlinkText,ha as getParagraphAtIndex,P as getParagraphText,ga as getParagraphs,Q as getRunText,O as getSelectionFormattingSummary,S as getTableText,Z as getTextAfter,Y as getTextBefore,D as halfPointsToPixels,ea as hasHyperlinks,da as hasImages,fa as hasTables,o as hasTemplateVariables,oa as isBlack,ba as isHeadingStyle,$ as isPositionInHyperlink,Ba as isPositionInRange,p as isValidVariableName,pa as isWhite,ya as isZodSchema,va as lightenColor,ra as parseColorString,F as parseDocx,ca as parseHeadingLevel,s as parseVariable,z as pixelsToEmu,x as pixelsToTwips,C as pointsToPixels,u as removeVariables,d as repackDocx,t as replaceVariables,la as resolveColor,ma as resolveHighlightColor,na as resolveShadingColor,q as sanitizeVariableName,b as serializeDocumentBody,c as serializeDocx,a as serializeSectionProperties,B as twipsToEmu,w as twipsToPixels,e as updateMultipleFiles,g as validatePatchSafety}from'./chunk-N2D5VYS3.mjs';export{j as createTemplateProcessor,g as getMissingVariables,e as getTemplateTags,h as previewTemplate,a as processTemplate,i as processTemplateAdvanced,c as processTemplateAsBlob,b as processTemplateDetailed,f as validateTemplate}from'./chunk-UILTIEBD.mjs';export{a as PluginRegistry,d as createPluginRegistrar,e as executeCommand,f as executeCommands,b as pluginRegistry,c as registerPlugins}from'./chunk-X57U3ESM.mjs';
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { G as GetContentOptions, C as ContentBlock, e as CommentFilter, R as ReviewComment, f as ChangeFilter, h as ReviewChange, F as FoundMatch, S as SelectionInfo, i as AddCommentByParaIdOptions, j as ReplyOptions, P as ProposeChangeOptions, k as ApplyFormattingOptions, l as SetParagraphStyleOptions, m as PageContent, n as ContentChangeEvent, o as SelectionChangeEvent } from './server-
|
|
2
|
-
export { A as AgentToolDefinition, a as AgentToolResult, B as BatchError, p as BatchResult, q as BatchReviewOptions, D as DocxReviewer, r as agentTools, s as createReviewerBridge, t as executeToolCall, g as getToolSchemas } from './server-
|
|
1
|
+
import { G as GetContentOptions, C as ContentBlock, e as CommentFilter, R as ReviewComment, f as ChangeFilter, h as ReviewChange, F as FoundMatch, S as SelectionInfo, i as AddCommentByParaIdOptions, j as ReplyOptions, P as ProposeChangeOptions, k as ApplyFormattingOptions, l as SetParagraphStyleOptions, m as PageContent, n as ContentChangeEvent, o as SelectionChangeEvent } from './server-BSfB_XXk.mjs';
|
|
2
|
+
export { A as AgentToolDefinition, a as AgentToolResult, B as BatchError, p as BatchResult, q as BatchReviewOptions, D as DocxReviewer, r as agentTools, s as createReviewerBridge, t as executeToolCall, g as getToolSchemas } from './server-BSfB_XXk.mjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Error classes for @eigenpal/docx-editor-agents
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { G as GetContentOptions, C as ContentBlock, e as CommentFilter, R as ReviewComment, f as ChangeFilter, h as ReviewChange, F as FoundMatch, S as SelectionInfo, i as AddCommentByParaIdOptions, j as ReplyOptions, P as ProposeChangeOptions, k as ApplyFormattingOptions, l as SetParagraphStyleOptions, m as PageContent, n as ContentChangeEvent, o as SelectionChangeEvent } from './server-
|
|
2
|
-
export { A as AgentToolDefinition, a as AgentToolResult, B as BatchError, p as BatchResult, q as BatchReviewOptions, D as DocxReviewer, r as agentTools, s as createReviewerBridge, t as executeToolCall, g as getToolSchemas } from './server-
|
|
1
|
+
import { G as GetContentOptions, C as ContentBlock, e as CommentFilter, R as ReviewComment, f as ChangeFilter, h as ReviewChange, F as FoundMatch, S as SelectionInfo, i as AddCommentByParaIdOptions, j as ReplyOptions, P as ProposeChangeOptions, k as ApplyFormattingOptions, l as SetParagraphStyleOptions, m as PageContent, n as ContentChangeEvent, o as SelectionChangeEvent } from './server-BSfB_XXk.js';
|
|
2
|
+
export { A as AgentToolDefinition, a as AgentToolResult, B as BatchError, p as BatchResult, q as BatchReviewOptions, D as DocxReviewer, r as agentTools, s as createReviewerBridge, t as executeToolCall, g as getToolSchemas } from './server-BSfB_XXk.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Error classes for @eigenpal/docx-editor-agents
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunk6QGKIBSG_js=require('./chunk-6QGKIBSG.js'),chunk7SW3TY3Y_js=require('./chunk-7SW3TY3Y.js'),chunkRI5S75JY_js=require('./chunk-RI5S75JY.js');Object.defineProperty(exports,"DocxReviewer",{enumerable:true,get:function(){return chunk6QGKIBSG_js.a}});Object.defineProperty(exports,"ChangeNotFoundError",{enumerable:true,get:function(){return chunk7SW3TY3Y_js.g}});Object.defineProperty(exports,"CommentNotFoundError",{enumerable:true,get:function(){return chunk7SW3TY3Y_js.h}});Object.defineProperty(exports,"TextNotFoundError",{enumerable:true,get:function(){return chunk7SW3TY3Y_js.f}});Object.defineProperty(exports,"createReviewerBridge",{enumerable:true,get:function(){return chunk7SW3TY3Y_js.m}});Object.defineProperty(exports,"agentTools",{enumerable:true,get:function(){return chunkRI5S75JY_js.a}});Object.defineProperty(exports,"executeToolCall",{enumerable:true,get:function(){return chunkRI5S75JY_js.b}});Object.defineProperty(exports,"getToolSchemas",{enumerable:true,get:function(){return chunkRI5S75JY_js.d}});
|
package/dist/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as DocxReviewer}from'./chunk-
|
|
1
|
+
export{a as DocxReviewer}from'./chunk-JS757ZB5.mjs';export{g as ChangeNotFoundError,h as CommentNotFoundError,f as TextNotFoundError,m as createReviewerBridge}from'./chunk-G32OWQRD.mjs';export{a as agentTools,b as executeToolCall,d as getToolSchemas}from'./chunk-24MVJKCP.mjs';
|
package/dist/mcp.d.mts
CHANGED
package/dist/mcp.d.ts
CHANGED
package/dist/mcp.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkRI5S75JY_js=require('./chunk-RI5S75JY.js'),string_decoder=require('string_decoder');var i={ParseError:-32700,InvalidRequest:-32600,MethodNotFound:-32601,InvalidParams:-32602,InternalError:-32603};function v(t){return typeof t=="object"&&t!==null&&t.jsonrpc==="2.0"&&typeof t.method=="string"&&"id"in t}function I(t){return typeof t=="object"&&t!==null&&t.jsonrpc==="2.0"&&typeof t.method=="string"&&!("id"in t)}function u(t,r){return {jsonrpc:"2.0",id:t,result:r}}function p(t,r,e,o){return {jsonrpc:"2.0",id:t,error:o===void 0?{code:r,message:e}:{code:r,message:e,data:o}}}function y(t){let r=[],e=[],o=t.split(`
|
|
2
2
|
`),n=o.pop()??"";for(let c of o){let a=c.trim();if(a)try{r.push(JSON.parse(a));}catch{e.push(a);}}return {messages:r,parseErrors:e,rest:n}}function d(t){return JSON.stringify(t)+`
|
|
3
|
-
`}var T="2025-06-18",f=class{constructor(r,e={}){this.bridge=r,this.opts={name:e.name??"@eigenpal/docx-editor-agents",version:e.version??"0.0.0",protocolVersion:e.protocolVersion??T};}handle(r){if(!v(r))return null;let e=r;try{switch(e.method){case "initialize":return u(e.id,this.handleInitialize());case "tools/list":return u(e.id,this.handleToolsList());case "tools/call":return this.handleToolsCall(e);case "ping":return u(e.id,{});default:return p(e.id,i.MethodNotFound,`Method not found: ${e.method}`)}}catch(o){return p(e.id,i.InternalError,o instanceof Error?o.message:String(o))}}handleInitialize(){return {protocolVersion:this.opts.protocolVersion,capabilities:{tools:{}},serverInfo:{name:this.opts.name,version:this.opts.version}}}handleToolsList(){return {tools:
|
|
3
|
+
`}var T="2025-06-18",f=class{constructor(r,e={}){this.bridge=r,this.opts={name:e.name??"@eigenpal/docx-editor-agents",version:e.version??"0.0.0",protocolVersion:e.protocolVersion??T};}handle(r){if(!v(r))return null;let e=r;try{switch(e.method){case "initialize":return u(e.id,this.handleInitialize());case "tools/list":return u(e.id,this.handleToolsList());case "tools/call":return this.handleToolsCall(e);case "ping":return u(e.id,{});default:return p(e.id,i.MethodNotFound,`Method not found: ${e.method}`)}}catch(o){return p(e.id,i.InternalError,o instanceof Error?o.message:String(o))}}handleInitialize(){return {protocolVersion:this.opts.protocolVersion,capabilities:{tools:{}},serverInfo:{name:this.opts.name,version:this.opts.version}}}handleToolsList(){return {tools:chunkRI5S75JY_js.a.map(r=>({name:r.name,description:r.description,inputSchema:r.inputSchema}))}}handleToolsCall(r){let e=r.params;if(!e||typeof e.name!="string")return p(r.id,i.InvalidParams,'tools/call requires a "name" string');let o=e.arguments??{},n=chunkRI5S75JY_js.b(e.name,o,this.bridge),c=n.success?{content:[{type:"text",text:typeof n.data=="string"?n.data:JSON.stringify(n.data,null,2)}]}:{isError:true,content:[{type:"text",text:n.error??"Unknown tool error"}]};return u(r.id,c)}};var x=1024*1024;function b(t,r={}){let e=new f(t,r),o=r.input??(typeof process<"u"&&process.stdin?process.stdin:null),n=r.output??(typeof process<"u"&&process.stdout?process.stdout:null),c=r.log??(s=>{typeof process<"u"&&process.stderr&&process.stderr.write(s+`
|
|
4
4
|
`);});if(!o||!n)throw new Error("runStdioServer: no input/output stream available. Pass options.input and options.output, or run inside a Node process with stdin/stdout.");let a=n,h=new string_decoder.StringDecoder("utf8"),l="",R=false;function w(s){let g=e.handle(s);g!==null&&a.write(d(g));}function J(s){if(R)return;if(l+=typeof s=="string"?s:h.write(s),l.length>x){l="",c(`MCP buffer overflow (>${x} bytes without newline) \u2014 dropped`),a.write(d(p(null,i.ParseError,"Frame too large")));return}let{messages:g,parseErrors:E,rest:k}=y(l);l=k;for(let m of g)w(m);for(let m of E)c(`MCP parse error: ${m}`),a.write(d(p(null,i.ParseError,"Parse error",m)));}return o.on("data",J),o.on("end",()=>{R=true;}),o.on("error",s=>{c(`MCP input error: ${s.message}`),R=true;}),{server:e,feed:J,close(){R=true;}}}exports.ErrorCode=i;exports.McpServer=f;exports.encodeFrame=d;exports.isJsonRpcNotification=I;exports.isJsonRpcRequest=v;exports.makeError=p;exports.makeSuccess=u;exports.parseFrames=y;exports.runStdioServer=b;
|
package/dist/mcp.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {a,b as b$1}from'./chunk-
|
|
1
|
+
import {a,b as b$1}from'./chunk-24MVJKCP.mjs';import {StringDecoder}from'string_decoder';var i={ParseError:-32700,InvalidRequest:-32600,MethodNotFound:-32601,InvalidParams:-32602,InternalError:-32603};function v(t){return typeof t=="object"&&t!==null&&t.jsonrpc==="2.0"&&typeof t.method=="string"&&"id"in t}function I(t){return typeof t=="object"&&t!==null&&t.jsonrpc==="2.0"&&typeof t.method=="string"&&!("id"in t)}function u(t,r){return {jsonrpc:"2.0",id:t,result:r}}function p(t,r,e,o){return {jsonrpc:"2.0",id:t,error:o===void 0?{code:r,message:e}:{code:r,message:e,data:o}}}function y(t){let r=[],e=[],o=t.split(`
|
|
2
2
|
`),n=o.pop()??"";for(let c of o){let a=c.trim();if(a)try{r.push(JSON.parse(a));}catch{e.push(a);}}return {messages:r,parseErrors:e,rest:n}}function d(t){return JSON.stringify(t)+`
|
|
3
3
|
`}var T="2025-06-18",f=class{constructor(r,e={}){this.bridge=r,this.opts={name:e.name??"@eigenpal/docx-editor-agents",version:e.version??"0.0.0",protocolVersion:e.protocolVersion??T};}handle(r){if(!v(r))return null;let e=r;try{switch(e.method){case "initialize":return u(e.id,this.handleInitialize());case "tools/list":return u(e.id,this.handleToolsList());case "tools/call":return this.handleToolsCall(e);case "ping":return u(e.id,{});default:return p(e.id,i.MethodNotFound,`Method not found: ${e.method}`)}}catch(o){return p(e.id,i.InternalError,o instanceof Error?o.message:String(o))}}handleInitialize(){return {protocolVersion:this.opts.protocolVersion,capabilities:{tools:{}},serverInfo:{name:this.opts.name,version:this.opts.version}}}handleToolsList(){return {tools:a.map(r=>({name:r.name,description:r.description,inputSchema:r.inputSchema}))}}handleToolsCall(r){let e=r.params;if(!e||typeof e.name!="string")return p(r.id,i.InvalidParams,'tools/call requires a "name" string');let o=e.arguments??{},n=b$1(e.name,o,this.bridge),c=n.success?{content:[{type:"text",text:typeof n.data=="string"?n.data:JSON.stringify(n.data,null,2)}]}:{isError:true,content:[{type:"text",text:n.error??"Unknown tool error"}]};return u(r.id,c)}};var x=1024*1024;function b(t,r={}){let e=new f(t,r),o=r.input??(typeof process<"u"&&process.stdin?process.stdin:null),n=r.output??(typeof process<"u"&&process.stdout?process.stdout:null),c=r.log??(s=>{typeof process<"u"&&process.stderr&&process.stderr.write(s+`
|
|
4
4
|
`);});if(!o||!n)throw new Error("runStdioServer: no input/output stream available. Pass options.input and options.output, or run inside a Node process with stdin/stdout.");let a=n,h=new StringDecoder("utf8"),l="",R=false;function w(s){let g=e.handle(s);g!==null&&a.write(d(g));}function J(s){if(R)return;if(l+=typeof s=="string"?s:h.write(s),l.length>x){l="",c(`MCP buffer overflow (>${x} bytes without newline) \u2014 dropped`),a.write(d(p(null,i.ParseError,"Frame too large")));return}let{messages:g,parseErrors:E,rest:k}=y(l);l=k;for(let m of g)w(m);for(let m of E)c(`MCP parse error: ${m}`),a.write(d(p(null,i.ParseError,"Parse error",m)));}return o.on("data",J),o.on("end",()=>{R=true;}),o.on("error",s=>{c(`MCP input error: ${s.message}`),R=true;}),{server:e,feed:J,close(){R=true;}}}export{i as ErrorCode,f as McpServer,d as encodeFrame,I as isJsonRpcNotification,v as isJsonRpcRequest,p as makeError,u as makeSuccess,y as parseFrames,b as runStdioServer};
|
package/dist/react.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { E as EditorRefLike, A as AgentToolDefinition, g as getToolSchemas, a as AgentToolResult, b as AgentContextSnapshot } from './server-
|
|
2
|
-
export { U as UseAgentChatOptions, c as UseAgentChatReturn, d as getToolDisplayName, u as useAgentChat } from './server-
|
|
1
|
+
import { E as EditorRefLike, A as AgentToolDefinition, g as getToolSchemas, a as AgentToolResult, b as AgentContextSnapshot } from './server-BSfB_XXk.mjs';
|
|
2
|
+
export { U as UseAgentChatOptions, c as UseAgentChatReturn, d as getToolDisplayName, u as useAgentChat } from './server-BSfB_XXk.mjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* useDocxAgentTools — wires the toolkit to a live DocxEditor for BYO chat
|
package/dist/react.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { E as EditorRefLike, A as AgentToolDefinition, g as getToolSchemas, a as AgentToolResult, b as AgentContextSnapshot } from './server-
|
|
2
|
-
export { U as UseAgentChatOptions, c as UseAgentChatReturn, d as getToolDisplayName, u as useAgentChat } from './server-
|
|
1
|
+
import { E as EditorRefLike, A as AgentToolDefinition, g as getToolSchemas, a as AgentToolResult, b as AgentContextSnapshot } from './server-BSfB_XXk.js';
|
|
2
|
+
export { U as UseAgentChatOptions, c as UseAgentChatReturn, d as getToolDisplayName, u as useAgentChat } from './server-BSfB_XXk.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* useDocxAgentTools — wires the toolkit to a live DocxEditor for BYO chat
|
package/dist/react.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkP6EQWTU6_js=require('./chunk-P6EQWTU6.js'),chunkRI5S75JY_js=require('./chunk-RI5S75JY.js'),react=require('react');function S(T){let{editorRef:i,author:l="AI",tools:n,include:r,exclude:s}=T,m=!!n&&Object.keys(n).length>0,c=react.useCallback(t=>!(r&&!r.includes(t)||s&&s.includes(t)),[r,s]),A=react.useMemo(()=>{let t=r||s?chunkRI5S75JY_js.a.filter(e=>c(e.name)):chunkRI5S75JY_js.a;if(!m)return t.map(e=>({type:"function",function:{name:e.name,description:e.description,parameters:e.inputSchema}}));let o=new Map(t.map(e=>[e.name,e]));for(let[e,a]of Object.entries(n))o.set(e,a);return Array.from(o.values()).map(e=>({type:"function",function:{name:e.name,description:e.description,parameters:e.inputSchema}}))},[n,m,r,s,c]),y=react.useCallback((t,o)=>{let e=i.current;if(!e)return {success:false,error:"Editor not ready."};let a=chunkP6EQWTU6_js.b(e,l),d=n?.[t];if(d)try{return d.handler(o,a)}catch(u){return {success:false,error:u instanceof Error?u.message:String(u)}}return c(t)?chunkRI5S75JY_js.b(t,o,a):{success:false,error:`Tool '${t}' is not enabled.`}},[i,l,n,c]),h=react.useCallback(()=>{let t=i.current;if(!t)return {selection:null,currentPage:0,totalPages:0};let o=chunkP6EQWTU6_js.b(t,l);return {selection:o.getSelection(),currentPage:o.getCurrentPage(),totalPages:o.getTotalPages()}},[i,l]);return {tools:A,executeToolCall:y,getContext:h}}Object.defineProperty(exports,"useAgentChat",{enumerable:true,get:function(){return chunkP6EQWTU6_js.a}});Object.defineProperty(exports,"getToolDisplayName",{enumerable:true,get:function(){return chunkRI5S75JY_js.c}});exports.useDocxAgentTools=S;
|
package/dist/react.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import {b}from'./chunk-
|
|
1
|
+
import {b}from'./chunk-VN4NZFMM.mjs';export{a as useAgentChat}from'./chunk-VN4NZFMM.mjs';import {a,b as b$1}from'./chunk-24MVJKCP.mjs';export{c as getToolDisplayName}from'./chunk-24MVJKCP.mjs';import {useCallback,useMemo}from'react';function S(T){let{editorRef:i,author:l="AI",tools:n,include:r,exclude:s}=T,m=!!n&&Object.keys(n).length>0,c=useCallback(t=>!(r&&!r.includes(t)||s&&s.includes(t)),[r,s]),A=useMemo(()=>{let t=r||s?a.filter(e=>c(e.name)):a;if(!m)return t.map(e=>({type:"function",function:{name:e.name,description:e.description,parameters:e.inputSchema}}));let o=new Map(t.map(e=>[e.name,e]));for(let[e,a]of Object.entries(n))o.set(e,a);return Array.from(o.values()).map(e=>({type:"function",function:{name:e.name,description:e.description,parameters:e.inputSchema}}))},[n,m,r,s,c]),y=useCallback((t,o)=>{let e=i.current;if(!e)return {success:false,error:"Editor not ready."};let a=b(e,l),d=n?.[t];if(d)try{return d.handler(o,a)}catch(u){return {success:false,error:u instanceof Error?u.message:String(u)}}return c(t)?b$1(t,o,a):{success:false,error:`Tool '${t}' is not enabled.`}},[i,l,n,c]),h=useCallback(()=>{let t=i.current;if(!t)return {selection:null,currentPage:0,totalPages:0};let o=b(t,l);return {selection:o.getSelection(),currentPage:o.getCurrentPage(),totalPages:o.getTotalPages()}},[i,l]);return {tools:A,executeToolCall:y,getContext:h}}export{S as useDocxAgentTools};
|
|
@@ -178,6 +178,13 @@ type ParagraphAlignment = 'left' | 'center' | 'right' | 'both' | 'distribute' |
|
|
|
178
178
|
/**
|
|
179
179
|
* Complete paragraph formatting properties (w:pPr)
|
|
180
180
|
*/
|
|
181
|
+
/** Per-side flags identifying which `<w:spacing>` attrs were inline (not
|
|
182
|
+
* inherited from a style chain). Used to suppress style-only spacing on
|
|
183
|
+
* empty paragraphs per Word's behavior. */
|
|
184
|
+
type SpacingExplicit = {
|
|
185
|
+
before?: boolean;
|
|
186
|
+
after?: boolean;
|
|
187
|
+
};
|
|
181
188
|
interface ParagraphFormatting {
|
|
182
189
|
/** Paragraph alignment (w:jc) */
|
|
183
190
|
alignment?: ParagraphAlignment;
|
|
@@ -195,6 +202,12 @@ interface ParagraphFormatting {
|
|
|
195
202
|
beforeAutospacing?: boolean;
|
|
196
203
|
/** Auto space after (w:spacing/@w:afterAutospacing) */
|
|
197
204
|
afterAutospacing?: boolean;
|
|
205
|
+
/**
|
|
206
|
+
* Per-side flags marking which `<w:spacing>` attrs came from this
|
|
207
|
+
* paragraph's own pPr (vs inherited). Word collapses style-inherited
|
|
208
|
+
* spacing on empty paragraphs but honors the explicit values.
|
|
209
|
+
*/
|
|
210
|
+
spacingExplicit?: SpacingExplicit;
|
|
198
211
|
/** Left indent in twips (w:ind/@w:left) */
|
|
199
212
|
indentLeft?: number;
|
|
200
213
|
/** Right indent in twips (w:ind/@w:right) */
|
|
@@ -532,6 +545,14 @@ interface ListRendering {
|
|
|
532
545
|
* may need a different format (e.g., upperRoman parent + decimal child).
|
|
533
546
|
*/
|
|
534
547
|
levelNumFmts?: NumberFormat[];
|
|
548
|
+
/** abstractNumId the paragraph's numId points to (counters key on this). */
|
|
549
|
+
abstractNumId?: number;
|
|
550
|
+
/**
|
|
551
|
+
* Start value from the numId's lvlOverride for the paragraph's ilvl, if any.
|
|
552
|
+
* Per ECMA-376 §17.9.18, this resets the shared abstractNum counter the
|
|
553
|
+
* first time the numId appears.
|
|
554
|
+
*/
|
|
555
|
+
startOverride?: number;
|
|
535
556
|
}
|
|
536
557
|
/**
|
|
537
558
|
* Complete numbering definitions
|
|
@@ -1262,6 +1283,8 @@ interface Paragraph {
|
|
|
1262
1283
|
content: ParagraphContent[];
|
|
1263
1284
|
/** Computed list rendering (if this is a list item) */
|
|
1264
1285
|
listRendering?: ListRendering;
|
|
1286
|
+
/** Word's cached layout says this paragraph started on a new rendered page. */
|
|
1287
|
+
renderedPageBreakBefore?: boolean;
|
|
1265
1288
|
/** Section properties (if this paragraph ends a section) */
|
|
1266
1289
|
sectionProperties?: SectionProperties;
|
|
1267
1290
|
}
|
|
@@ -178,6 +178,13 @@ type ParagraphAlignment = 'left' | 'center' | 'right' | 'both' | 'distribute' |
|
|
|
178
178
|
/**
|
|
179
179
|
* Complete paragraph formatting properties (w:pPr)
|
|
180
180
|
*/
|
|
181
|
+
/** Per-side flags identifying which `<w:spacing>` attrs were inline (not
|
|
182
|
+
* inherited from a style chain). Used to suppress style-only spacing on
|
|
183
|
+
* empty paragraphs per Word's behavior. */
|
|
184
|
+
type SpacingExplicit = {
|
|
185
|
+
before?: boolean;
|
|
186
|
+
after?: boolean;
|
|
187
|
+
};
|
|
181
188
|
interface ParagraphFormatting {
|
|
182
189
|
/** Paragraph alignment (w:jc) */
|
|
183
190
|
alignment?: ParagraphAlignment;
|
|
@@ -195,6 +202,12 @@ interface ParagraphFormatting {
|
|
|
195
202
|
beforeAutospacing?: boolean;
|
|
196
203
|
/** Auto space after (w:spacing/@w:afterAutospacing) */
|
|
197
204
|
afterAutospacing?: boolean;
|
|
205
|
+
/**
|
|
206
|
+
* Per-side flags marking which `<w:spacing>` attrs came from this
|
|
207
|
+
* paragraph's own pPr (vs inherited). Word collapses style-inherited
|
|
208
|
+
* spacing on empty paragraphs but honors the explicit values.
|
|
209
|
+
*/
|
|
210
|
+
spacingExplicit?: SpacingExplicit;
|
|
198
211
|
/** Left indent in twips (w:ind/@w:left) */
|
|
199
212
|
indentLeft?: number;
|
|
200
213
|
/** Right indent in twips (w:ind/@w:right) */
|
|
@@ -532,6 +545,14 @@ interface ListRendering {
|
|
|
532
545
|
* may need a different format (e.g., upperRoman parent + decimal child).
|
|
533
546
|
*/
|
|
534
547
|
levelNumFmts?: NumberFormat[];
|
|
548
|
+
/** abstractNumId the paragraph's numId points to (counters key on this). */
|
|
549
|
+
abstractNumId?: number;
|
|
550
|
+
/**
|
|
551
|
+
* Start value from the numId's lvlOverride for the paragraph's ilvl, if any.
|
|
552
|
+
* Per ECMA-376 §17.9.18, this resets the shared abstractNum counter the
|
|
553
|
+
* first time the numId appears.
|
|
554
|
+
*/
|
|
555
|
+
startOverride?: number;
|
|
535
556
|
}
|
|
536
557
|
/**
|
|
537
558
|
* Complete numbering definitions
|
|
@@ -1262,6 +1283,8 @@ interface Paragraph {
|
|
|
1262
1283
|
content: ParagraphContent[];
|
|
1263
1284
|
/** Computed list rendering (if this is a list item) */
|
|
1264
1285
|
listRendering?: ListRendering;
|
|
1286
|
+
/** Word's cached layout says this paragraph started on a new rendered page. */
|
|
1287
|
+
renderedPageBreakBefore?: boolean;
|
|
1265
1288
|
/** Section properties (if this paragraph ends a section) */
|
|
1266
1289
|
sectionProperties?: SectionProperties;
|
|
1267
1290
|
}
|
package/dist/server.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { b as AgentContextSnapshot, A as AgentToolDefinition, a as AgentToolResult, D as DocxReviewer, v as EditorBridge, S as SelectionInfo, s as createReviewerBridge, r as docxAgentTools, t as executeToolCall, d as getToolDisplayName, g as getToolSchemas } from './server-
|
|
1
|
+
export { b as AgentContextSnapshot, A as AgentToolDefinition, a as AgentToolResult, D as DocxReviewer, v as EditorBridge, S as SelectionInfo, s as createReviewerBridge, r as docxAgentTools, t as executeToolCall, d as getToolDisplayName, g as getToolSchemas } from './server-BSfB_XXk.mjs';
|
package/dist/server.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { b as AgentContextSnapshot, A as AgentToolDefinition, a as AgentToolResult, D as DocxReviewer, v as EditorBridge, S as SelectionInfo, s as createReviewerBridge, r as docxAgentTools, t as executeToolCall, d as getToolDisplayName, g as getToolSchemas } from './server-
|
|
1
|
+
export { b as AgentContextSnapshot, A as AgentToolDefinition, a as AgentToolResult, D as DocxReviewer, v as EditorBridge, S as SelectionInfo, s as createReviewerBridge, r as docxAgentTools, t as executeToolCall, d as getToolDisplayName, g as getToolSchemas } from './server-BSfB_XXk.js';
|
package/dist/server.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunk6QGKIBSG_js=require('./chunk-6QGKIBSG.js'),chunk7SW3TY3Y_js=require('./chunk-7SW3TY3Y.js'),chunkRI5S75JY_js=require('./chunk-RI5S75JY.js');Object.defineProperty(exports,"DocxReviewer",{enumerable:true,get:function(){return chunk6QGKIBSG_js.a}});Object.defineProperty(exports,"createReviewerBridge",{enumerable:true,get:function(){return chunk7SW3TY3Y_js.m}});Object.defineProperty(exports,"docxAgentTools",{enumerable:true,get:function(){return chunkRI5S75JY_js.a}});Object.defineProperty(exports,"executeToolCall",{enumerable:true,get:function(){return chunkRI5S75JY_js.b}});Object.defineProperty(exports,"getToolDisplayName",{enumerable:true,get:function(){return chunkRI5S75JY_js.c}});Object.defineProperty(exports,"getToolSchemas",{enumerable:true,get:function(){return chunkRI5S75JY_js.d}});
|
package/dist/server.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as DocxReviewer}from'./chunk-
|
|
1
|
+
export{a as DocxReviewer}from'./chunk-JS757ZB5.mjs';export{m as createReviewerBridge}from'./chunk-G32OWQRD.mjs';export{a as docxAgentTools,b as executeToolCall,c as getToolDisplayName,d as getToolSchemas}from'./chunk-24MVJKCP.mjs';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eigenpal/docx-editor-agents",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.2",
|
|
4
4
|
"description": "Agent-friendly API for DOCX document review — read, comment, propose changes, accept/reject tracked changes",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|