@openplanr/protocol 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.
package/README.md CHANGED
@@ -57,6 +57,19 @@ and adds an `onPrimary` text colour to both palettes. The artifact package
57
57
  generates its review theme CSS and JSON from it. The preserved registry keeps its
58
58
  original values.
59
59
 
60
+ ## Diagram review contracts
61
+
62
+ Protocol 1.15 adds the browser-safe `@openplanr/protocol/diagram-review-contracts`
63
+ export with diagram review bundle and feedback validators, workspace record
64
+ validation and TypeScript types. Its additive `schemas/v1.15.0/` family contains
65
+ `diagram-review-bundle.schema.json`, `diagram-review-feedback.schema.json`,
66
+ `diagram-review-workspace.schema.json`, `diagram-workspace-create.schema.json`,
67
+ `diagram-workspace-revision.schema.json` and `diagram-workspace-event.schema.json`.
68
+ These contracts use payload `schemaVersion: "1.0.0"`. Review bundles preserve the
69
+ published scene and revision identity without original source bytes or private
70
+ provenance; feedback remains bound to that revision. Validation grants no hosted
71
+ access and does not edit or publish diagrams. Earlier schema families are unchanged.
72
+
60
73
  ## Design document contract
61
74
 
62
75
  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.7.2",
3
+ "version": "0.8.0",
4
4
  "type": "module",
5
5
  "description": "Canonical OpenPlanr schemas, registries, typed errors, and portable contract validation",
6
6
  "license": "MIT",
@@ -87,6 +87,10 @@
87
87
  "./diagram-authoring-contracts": {
88
88
  "types": "./src/diagram-authoring-contracts.d.mts",
89
89
  "import": "./src/diagram-authoring-contracts.mjs"
90
+ },
91
+ "./diagram-review-contracts": {
92
+ "types": "./src/diagram-review-contracts.d.mts",
93
+ "import": "./src/diagram-review-contracts.mjs"
90
94
  }
91
95
  },
92
96
  "files": [
@@ -188,7 +188,7 @@
188
188
  "ownerPackage": "openplanr",
189
189
  "source": {
190
190
  "path": "packages/cli/src/cli/commands/artifact.ts",
191
- "digest": "sha256:708f51ac3c0ef40a35e4af231b790775f12d69592a80c5de92d82d852e435a53"
191
+ "digest": "sha256:628b64e8a1efda1f0e4899cdc3144c256dce5ce4bcff3c1f6d9a25c3d9a4cbe7"
192
192
  },
193
193
  "authorityClass": "workflow",
194
194
  "machineJson": false,
@@ -734,7 +734,7 @@
734
734
  "ownerPackage": "openplanr",
735
735
  "source": {
736
736
  "path": "packages/cli/src/cli/commands/runtime.ts",
737
- "digest": "sha256:0483b304c9b3d4638c45a66f98d0cf8a6a1df14ce5b3266ef8f85f32e80b7d73"
737
+ "digest": "sha256:1f0beee91f53b0372ba6165ffb883f9c91569eaad3a69d5891182067466d9227"
738
738
  },
739
739
  "authorityClass": "workflow",
740
740
  "machineJson": false,
@@ -776,7 +776,7 @@
776
776
  "ownerPackage": "openplanr",
777
777
  "source": {
778
778
  "path": "packages/cli/src/cli/commands/setup.ts",
779
- "digest": "sha256:8cc9b0df403edf08a900baf0e2755db0b9238c9e7465b04fca92b322fd5a5b7d"
779
+ "digest": "sha256:22b9a95849234b00b3b8c6586e98dfceeb7c0d2db7bea37829486b3aa3c0c824"
780
780
  },
781
781
  "authorityClass": "workflow",
782
782
  "machineJson": false,
@@ -965,7 +965,7 @@
965
965
  "ownerPackage": "openplanr",
966
966
  "source": {
967
967
  "path": "packages/cli/src/cli/commands/upgrade.ts",
968
- "digest": "sha256:f88457767ccf7034ee601a9e107f9976c0432632e5aa68463150d590e704bc7e"
968
+ "digest": "sha256:641600a879a283773c8ba8df811b2c746b577e002d11c60ea9cf096550b9733b"
969
969
  },
970
970
  "authorityClass": "workflow",
971
971
  "machineJson": false,
@@ -1948,5 +1948,5 @@
1948
1948
  ]
1949
1949
  }
1950
1950
  ],
1951
- "documentDigest": "sha256:d3b96aa902ff0bd771259c3118438dc66e365d74c841cfdf99ed7d089cece1b7"
1951
+ "documentDigest": "sha256:9f34ed8942c28ac6d0cd4bfd3234c50ea8a4d72954a89df6e3596f3cc8e56be2"
1952
1952
  }
@@ -10,11 +10,11 @@
10
10
  {
11
11
  "skillId": "planr-artifact",
12
12
  "skillVersion": "1.0.0",
13
- "description": "Open, share, import, or export an OpenPlanr HTML artifact review. Use when feedback must move between a local artifact and its review board.",
13
+ "description": "Open, share, import, or export an OpenPlanr diagram, design, or HTML artifact review. Use when feedback must move between a local artifact and its review board.",
14
14
  "lifecycle": "active",
15
15
  "authorityClass": "read-only-view",
16
16
  "source": "skills/planr-artifact/openplanr.skill.json",
17
- "sourceDigest": "sha256:08ad4b7dcdfe70e63a319dcb78ff6c53f0086391f6d6d45094a793fe4d9c41ce",
17
+ "sourceDigest": "sha256:2df9ace1397aedb3beaec79f822f16aac84cdf7f7ffe3cccabf3cd10bffbb352",
18
18
  "triggerPolicy": {
19
19
  "include": [
20
20
  "Open or share an HTML artifact review",
@@ -807,7 +807,7 @@
807
807
  "lifecycle": "active",
808
808
  "authorityClass": "artifact-authoring",
809
809
  "source": "skills/planr-diagram/openplanr.skill.json",
810
- "sourceDigest": "sha256:1d8b8127914dd7a637ea475257c109a72544f860ddf5ec40c3a78563831a9906",
810
+ "sourceDigest": "sha256:806f3c53d56199e00cfa19d27eaf9a8a0ca397692de46948313b7da1f728dd47",
811
811
  "triggerPolicy": {
812
812
  "include": [
813
813
  "Create a professional diagram from English intent or Mermaid",
@@ -1664,5 +1664,5 @@
1664
1664
  }
1665
1665
  ],
1666
1666
  "compatibilityAliases": [],
1667
- "documentDigest": "sha256:2d736dd0b8671ccb3bcc78ad28edab4d201d1fd3705c599d442b1fc317da1881"
1667
+ "documentDigest": "sha256:e3f61d71a05a268294055de033e2ec2d44bfb7b05a95a18b6607ded3eb61e37b"
1668
1668
  }