@openplanr/protocol 0.5.0 → 0.6.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.
package/README.md CHANGED
@@ -35,6 +35,18 @@ report, fidelity report, grammar registry, and semantic-pattern registry.
35
35
  `diagrams/{slug}/{slug}.planr-diagram.json` path, while grammar fixture and
36
36
  reference paths remain package-relative for private and projected consumers.
37
37
 
38
+ ## Diagram authoring contracts
39
+
40
+ Protocol 1.13 adds portable semantic/presentation bundles, typed edit
41
+ transactions, source correspondence, fidelity, proposals, publication references
42
+ and an M1 capability catalog. Import the dependency-free validators from
43
+ `@openplanr/protocol/diagram-authoring-contracts`. The existing diagram URL helper
44
+ retains its Protocol 1.6 default; request `{ protocolVersion: '1.13.0' }` for the
45
+ new contracts. Validation does not apply edits or grant hosted access.
46
+
47
+ See the [authoring contract guide](../../docs/diagrams/authoring-contracts.md) for
48
+ content boundaries, digest coverage and legacy compatibility.
49
+
38
50
  ## Design document contract
39
51
 
40
52
  The additive `schemas/v1.9.0/design-document.schema.json` defines stable design,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openplanr/protocol",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
4
4
  "type": "module",
5
5
  "description": "Canonical OpenPlanr schemas, registries, typed errors, and portable contract validation",
6
6
  "license": "MIT",
@@ -83,6 +83,10 @@
83
83
  "./enterprise-contracts": {
84
84
  "types": "./src/enterprise-contracts.d.mts",
85
85
  "import": "./src/enterprise-contracts.mjs"
86
+ },
87
+ "./diagram-authoring-contracts": {
88
+ "types": "./src/diagram-authoring-contracts.d.mts",
89
+ "import": "./src/diagram-authoring-contracts.mjs"
86
90
  }
87
91
  },
88
92
  "files": [