@ansonlai/docx-redline-js 0.7.2 → 0.8.0

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.
@@ -4,12 +4,13 @@ Use this page for ordinary `.docx` edits. For unusual Word structures or optiona
4
4
 
5
5
  ## Structured agent tool
6
6
 
7
- If the host provides a document-session wrapper:
7
+ If the host provides a document-session wrapper (or directly calls `openDocx` from `@ansonlai/docx-redline-js` with `Uint8Array` binary payloads):
8
8
 
9
9
  1. Inspect once with enough surrounding context to draft the change.
10
10
  2. Apply once with the returned revision-bound handle.
11
11
  3. Accept only the wrapper's complete-success result; refresh failed handles.
12
12
 
13
+ The universal `DocxDocument` and `openDocx` facade operates natively on `Uint8Array` across Node, browsers, edge workers, and sandboxes without requiring Node built-ins.
13
14
  The repository's `examples/agent-session-wrapper.mjs` is a development sample, not a package API.
14
15
 
15
16
  ## CLI workflow