@openplanr/protocol 0.5.0 → 0.6.1

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.1",
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": [
@@ -293,7 +293,7 @@
293
293
  "ownerPackage": "openplanr",
294
294
  "source": {
295
295
  "path": "packages/cli/src/cli/commands/diagram/index.ts",
296
- "digest": "sha256:6a5883e12fe9499b343bdff4a481aa94a82f06c4292ed42436e7961eb3883175"
296
+ "digest": "sha256:67aeefb682ad56cf3429a38bd98c913261cea3dbaeaf5e31ab11d873bce4b02a"
297
297
  },
298
298
  "authorityClass": "workflow",
299
299
  "machineJson": true,
@@ -377,7 +377,7 @@
377
377
  "ownerPackage": "openplanr",
378
378
  "source": {
379
379
  "path": "docs/generated/utility-command-catalog.json",
380
- "digest": "sha256:3ef32f1b1c3b37ae665bb0328b736cafcc1ad40a158875a8c7f32a7de1da1f54"
380
+ "digest": "sha256:02c19f6bd7d805e1d101c020f64270b17c785b8bffb36184da57a20755b21960"
381
381
  },
382
382
  "authorityClass": "workflow",
383
383
  "machineJson": false,
@@ -482,7 +482,7 @@
482
482
  "ownerPackage": "openplanr",
483
483
  "source": {
484
484
  "path": "packages/cli/src/cli/commands/init-deterministic.ts",
485
- "digest": "sha256:6212d9f0582ab4a8d475b479aae52ed0fedb877c60038b9f88a309d7b93bafd9"
485
+ "digest": "sha256:7bd117fac77363d2233cf91e8ae280cff7da04b6671ad4e0b3bc39af07701747"
486
486
  },
487
487
  "authorityClass": "workflow",
488
488
  "machineJson": false,
@@ -566,7 +566,7 @@
566
566
  "ownerPackage": "openplanr",
567
567
  "source": {
568
568
  "path": "docs/generated/utility-command-catalog.json",
569
- "digest": "sha256:3ef32f1b1c3b37ae665bb0328b736cafcc1ad40a158875a8c7f32a7de1da1f54"
569
+ "digest": "sha256:02c19f6bd7d805e1d101c020f64270b17c785b8bffb36184da57a20755b21960"
570
570
  },
571
571
  "authorityClass": "workflow",
572
572
  "machineJson": true,
@@ -965,7 +965,7 @@
965
965
  "ownerPackage": "openplanr",
966
966
  "source": {
967
967
  "path": "packages/cli/src/cli/commands/upgrade.ts",
968
- "digest": "sha256:5f559c4d6bf7a1b31477f71c195d086021a8f4b8bc62ba78e6eeb6b5f1b1ac5c"
968
+ "digest": "sha256:9b644add6535f982df30767f511404592edda7e813fbfcf93b167fcc38ef00fe"
969
969
  },
970
970
  "authorityClass": "workflow",
971
971
  "machineJson": false,
@@ -1948,5 +1948,5 @@
1948
1948
  ]
1949
1949
  }
1950
1950
  ],
1951
- "documentDigest": "sha256:ae3955232bf3a97fd1cae7ca01deec957232a64c0c2c3c2fb25a14963c93e310"
1951
+ "documentDigest": "sha256:e7321cb2a962c7fe7906034eb3e0c09bbf6e85de52b779faa44a50d5584cff4d"
1952
1952
  }