office-open 0.12.2 → 0.12.3

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.
Files changed (2) hide show
  1. package/README.md +18 -3
  2. package/package.json +8 -7
package/README.md CHANGED
@@ -9,7 +9,7 @@
9
9
  ## Features
10
10
 
11
11
  - **One Install** — Import from `office-open/docx`, `office-open/pptx`, `office-open/xlsx`; no Microsoft Office required
12
- - **AI SDK Tools** — Vercel AI SDK compatible tools for `generate-docx`, `generate-pptx`, `generate-xlsx`, ready for AI agents and chatbots
12
+ - **AI SDK Tools** — Vercel AI SDK compatible tools for `generate-docx`, `generate-pptx`, `generate-xlsx`, with schema-validated retries
13
13
  - **JSON Schemas** — Draft-07 input validation for all document types, with on-demand schema slicing for LLM context budgets
14
14
  - **CLI** — Generate files from JSON via `npx office-open`
15
15
  - **Generate Function** — Type-agnostic `generate()` for dynamic document creation
@@ -58,7 +58,7 @@ npx office-open docx document.json "output.docx"
58
58
  npx office-open pptx slides.json "output.pptx"
59
59
  npx office-open xlsx spreadsheet.json "output.xlsx"
60
60
 
61
- # Consult the JSON schemas (for AI agents and humans)
61
+ # Inspect the option schemas on demand
62
62
  npx office-open schema index docx # indexed lookup entries by domain
63
63
  npx office-open schema index docx --all # every definition name
64
64
  npx office-open schema slice docx ParagraphOptions RunOptions # sub-schema for those types
@@ -155,6 +155,21 @@ import { parse, stringify } from "office-open/xml";
155
155
  }
156
156
  ```
157
157
 
158
+ ## Documentation
159
+
160
+ - [Documentation](https://www.office-open.com) — getting started, per-format guides, and AI integration
161
+ - [AI Integration Guide](https://www.office-open.com/en/getting-started/ai-integration) — MCP server, Agent Skill, and schema slicing
162
+ - [Changelog](https://github.com/DemoMacro/office-open/releases) — release notes
163
+ - [Report Issues](https://github.com/DemoMacro/office-open/issues) — bug reports and feature requests
164
+
165
+ ## Related Packages
166
+
167
+ - [@office-open/docx](https://www.npmjs.com/package/@office-open/docx) — Word (.docx)
168
+ - [@office-open/pptx](https://www.npmjs.com/package/@office-open/pptx) — PowerPoint (.pptx)
169
+ - [@office-open/xlsx](https://www.npmjs.com/package/@office-open/xlsx) — Excel (.xlsx)
170
+ - [@office-open/core](https://www.npmjs.com/package/@office-open/core) — shared OOXML infrastructure
171
+ - [@office-open/xml](https://www.npmjs.com/package/@office-open/xml) — XML parsing and serialization
172
+
158
173
  ## License
159
174
 
160
- MIT
175
+ - [MIT](https://github.com/DemoMacro/office-open/blob/main/LICENSE) © [Demo Macro](https://www.demomacro.com/)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "office-open",
3
- "version": "0.12.2",
3
+ "version": "0.12.3",
4
4
  "description": "AI-native Office documents in one install — generate, parse, and patch Word, Excel, and PowerPoint from plain JSON, with a CLI, AI SDK tools, and JSON schemas for LLM tool-calling",
5
5
  "keywords": [
6
6
  "ai",
@@ -34,7 +34,8 @@
34
34
  },
35
35
  "repository": {
36
36
  "type": "git",
37
- "url": "git+https://github.com/DemoMacro/office-open.git"
37
+ "url": "git+https://github.com/DemoMacro/office-open.git",
38
+ "directory": "packages/office-open"
38
39
  },
39
40
  "bin": {
40
41
  "office-open": "dist/cli.mjs"
@@ -93,11 +94,11 @@
93
94
  "ajv": "8.20.0",
94
95
  "ajv-formats": "3.0.1",
95
96
  "citty": "0.2.2",
96
- "@office-open/xml": "0.12.2",
97
- "@office-open/docx": "0.12.2",
98
- "@office-open/pptx": "0.12.2",
99
- "@office-open/core": "0.12.2",
100
- "@office-open/xlsx": "0.12.2"
97
+ "@office-open/core": "0.12.3",
98
+ "@office-open/docx": "0.12.3",
99
+ "@office-open/pptx": "0.12.3",
100
+ "@office-open/xlsx": "0.12.3",
101
+ "@office-open/xml": "0.12.3"
101
102
  },
102
103
  "peerDependencies": {
103
104
  "ai": "^6.0.0"