@larkup/tool-doc-editor 0.2.19 → 0.2.20

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/index.d.ts CHANGED
@@ -4,12 +4,6 @@
4
4
  * Document Editor / Form Filling tool for the Larkup platform.
5
5
  * Enables AI-powered form filling and document editing in a Canvas-style UI.
6
6
  *
7
- * Supports: PDF, DOCX, PPTX, TXT
8
- *
9
- * Uses:
10
- * - pdf-lib (MIT) for native PDF form field operations
11
- * - mammoth (MIT) for DOCX reading
12
- * - @larkup/sandbox for heavy editing (python-docx, python-pptx, pypdf)
13
7
  */
14
8
  export declare const TOOL_META: {
15
9
  readonly id: "doc-editor";
package/dist/index.js CHANGED
@@ -4,12 +4,6 @@
4
4
  * Document Editor / Form Filling tool for the Larkup platform.
5
5
  * Enables AI-powered form filling and document editing in a Canvas-style UI.
6
6
  *
7
- * Supports: PDF, DOCX, PPTX, TXT
8
- *
9
- * Uses:
10
- * - pdf-lib (MIT) for native PDF form field operations
11
- * - mammoth (MIT) for DOCX reading
12
- * - @larkup/sandbox for heavy editing (python-docx, python-pptx, pypdf)
13
7
  */
14
8
  export const TOOL_META = {
15
9
  id: 'doc-editor',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@larkup/tool-doc-editor",
3
- "version": "0.2.19",
3
+ "version": "0.2.20",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -40,8 +40,8 @@
40
40
  "jszip": "^3.10.1",
41
41
  "mammoth": "^1.12.0",
42
42
  "pdf-lib": "^1.17.1",
43
- "@larkup/sandbox": "0.1.4",
44
- "@larkup/core": "0.5.2"
43
+ "@larkup/core": "0.5.3",
44
+ "@larkup/sandbox": "0.1.4"
45
45
  },
46
46
  "peerDependencies": {
47
47
  "@larkup/marketplace": ">=0.1.0"
@@ -53,7 +53,7 @@
53
53
  },
54
54
  "devDependencies": {
55
55
  "typescript": "^7.0.2",
56
- "@larkup/marketplace": "0.2.2"
56
+ "@larkup/marketplace": "0.2.3"
57
57
  },
58
58
  "license": "Apache-2.0",
59
59
  "repository": {
package/src/editor.ts CHANGED
@@ -1,6 +1,10 @@
1
1
  /**
2
2
  * Document editor — orchestrates parsing, editing, and export.
3
-
3
+ *
4
+ * Uses:
5
+ * - pdf-lib (MIT) for native PDF form filling
6
+ * - Sandbox scripts for DOCX/PPTX editing via python-docx/python-pptx
7
+ * - In-memory session management
4
8
  */
5
9
 
6
10
  import {
@@ -5,7 +5,7 @@
5
5
  "description": "AI-powered form filling and document editing with Canvas-style live preview.",
6
6
  "longDescription": "Open PDF, Word, PowerPoint, and text files in a split-view Canvas. AI fills forms using your knowledge base, edits content on request, and previews changes live. Supports PDF form fields (AcroForm), DOCX paragraphs/tables, PPTX slide text, and plain text editing. Uses pdf-lib (native) for PDF and the Docker sandbox for DOCX/PPTX via python-docx/python-pptx.",
7
7
  "category": "utility",
8
- "version": "0.2.18",
8
+ "version": "0.2.20",
9
9
  "pricing": "free",
10
10
  "emoji": "📝",
11
11
  "icon": "FileEdit",