@stll/folio-agents 0.16.10 → 0.16.12
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/execute.js +1 -0
- package/package.json +3 -3
package/dist/execute.js
CHANGED
|
@@ -329,6 +329,7 @@ const explainSkipReason = (reason) => {
|
|
|
329
329
|
if (reason === "pendingParagraphPropertyChange") return "this paragraph already has an unresolved tracked formatting change; accept or reject that change before retrying.";
|
|
330
330
|
if (reason === "noopOperation") return "this operation would not change the document (the text already matches what you asked for).";
|
|
331
331
|
if (reason === "documentVersionMismatch") return "the document changed after these edits were proposed; re-read it and regenerate the edits against the current version.";
|
|
332
|
+
if (reason === "contentControlLock") return "the edit reaches inside a content control whose content is locked, or removes a control that is locked against removal (also by deleting the paragraph or text that holds it); nothing was applied. Leave that control as it is: edit only the text around it, or tell the user the document locks it.";
|
|
332
333
|
if (reason === "protectedReference") return "the edit would change or remove a footnote/endnote reference (a `[^1]` / `[^e1]` marker), or write a marker as text; a reference is not text. Keep every marker your `find` covers in the replacement, in order, or match only the words beside it.";
|
|
333
334
|
if (reason === "documentNotEditable") return "the document is not open for editing right now; nothing was applied or queued. Ask the user to open it for editing, then retry.";
|
|
334
335
|
if (reason === "payloadDoesNotFit") return "the operation supplies more values than its target has cells for; nothing was applied. Supply fewer cellTexts, or anchor the row or column where no merged cell takes a slot.";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stll/folio-agents",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.12",
|
|
4
4
|
"description": "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.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agent",
|
|
@@ -58,12 +58,12 @@
|
|
|
58
58
|
"test": "bun test src"
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"@stll/folio-core": "^0.
|
|
61
|
+
"@stll/folio-core": "^0.69.0",
|
|
62
62
|
"@stll/utf8-boundaries": "0.2.0",
|
|
63
63
|
"better-result": "3.0.1"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
|
-
"@stll/docx-core": "0.
|
|
66
|
+
"@stll/docx-core": "0.43.1"
|
|
67
67
|
},
|
|
68
68
|
"peerDependencies": {
|
|
69
69
|
"prosemirror-commands": "^1.7.1",
|