@openplanr/protocol 0.8.0 → 0.10.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 +9 -0
- package/package.json +17 -1
- package/registries/commands.json +22 -22
- package/registries/skills.json +136 -58
- package/registry/v1.17.0/commands.json +88 -0
- package/schemas/v1.16.0/artifact-envelope.schema.json +408 -0
- package/schemas/v1.16.0/design-review-bundle.schema.json +590 -0
- package/schemas/v1.17.0/artifact-paste-v2.schema.json +52 -0
- package/schemas/v1.17.0/artifact-room-append-v3.schema.json +159 -0
- package/schemas/v1.17.0/artifact-room-create-v3.schema.json +111 -0
- package/schemas/v1.17.0/artifact-room-descriptor-v3.schema.json +92 -0
- package/schemas/v1.17.0/artifact-room-event-v3.schema.json +130 -0
- package/schemas/v1.17.0/artifact-room-management-v3.schema.json +47 -0
- package/schemas/v1.17.0/artifact-room-read-page-v3.schema.json +308 -0
- package/schemas/v1.17.0/company-resource-manifest.schema.json +128 -0
- package/schemas/v1.17.0/company-resource-upload-prepare.schema.json +164 -0
- package/schemas/v1.17.0/company-resource-upload-receipt.schema.json +63 -0
- package/schemas/v1.17.0/company-resource-upload-status.schema.json +123 -0
- package/schemas/v1.17.0/diagram-authoring-bundle.schema.json +1117 -0
- package/schemas/v1.17.0/diagram-edit-transaction.schema.json +3295 -0
- package/schemas/v1.17.0/diagram-presentation.schema.json +37 -0
- package/schemas/v1.17.0/diagram-review-bundle.schema.json +2439 -0
- package/schemas/v1.17.0/encrypted-resource-manifest.schema.json +131 -0
- package/schemas/v1.17.0/encrypted-upload-commit.schema.json +38 -0
- package/schemas/v1.17.0/encrypted-upload-prepare.schema.json +234 -0
- package/schemas/v1.17.0/encrypted-upload-receipt.schema.json +54 -0
- package/schemas/v1.17.0/encrypted-upload-status.schema.json +129 -0
- package/schemas/v1.17.0/encrypted-workspace-event-v2.schema.json +79 -0
- package/schemas/v1.17.0/encrypted-workspace-v2.schema.json +91 -0
- package/schemas/v1.17.0/enterprise-agent-handoff.schema.json +985 -0
- package/schemas/v1.17.0/enterprise-artifact-revision.schema.json +115 -0
- package/schemas/v1.17.0/enterprise-change-proposal.schema.json +379 -0
- package/schemas/v1.17.0/enterprise-evidence-reference.schema.json +159 -0
- package/schemas/v1.17.0/enterprise-review-thread.schema.json +298 -0
- package/schemas/v1.17.0/enterprise-sync-state.schema.json +189 -0
- package/schemas/v1.17.0/preview-bridge-message.schema.json +197 -0
- package/schemas/v1.17.0/resource-catalog.schema.json +145 -0
- package/schemas/v1.17.0/sharing-crypto-aad.schema.json +36 -0
- package/schemas/v1.17.0/workspace-management-v2.schema.json +45 -0
- package/schemas/v1.17.0/workspace-rotation-v2.schema.json +61 -0
- package/schemas/v1.18.0/runtime-lock.schema.json +122 -0
- package/src/bounded-json-data.d.mts +2 -0
- package/src/bounded-json-data.mjs +56 -0
- package/src/browser-contracts.d.mts +14 -1
- package/src/browser-contracts.mjs +16 -0
- package/src/canonical-json.mjs +17 -16
- package/src/contracts.d.mts +1 -1
- package/src/contracts.mjs +97 -3
- package/src/diagram-authoring-contracts.d.mts +12 -0
- package/src/diagram-authoring-contracts.mjs +174 -1
- package/src/enterprise-contract-validation.d.mts +44 -0
- package/src/enterprise-contract-validation.mjs +279 -0
- package/src/enterprise-contracts.mjs +25 -231
- package/src/enterprise-resource-contracts.d.mts +72 -0
- package/src/enterprise-resource-contracts.mjs +202 -0
- package/src/generated/artifact-envelope-metadata.mjs +769 -0
- package/src/generated/canonical-registries.mjs +158 -80
- package/src/index.d.mts +21 -0
- package/src/index.mjs +23 -0
- package/src/large-object-contracts.d.mts +107 -0
- package/src/large-object-contracts.mjs +473 -0
- package/src/large-object-limits.d.mts +16 -0
- package/src/large-object-limits.mjs +17 -0
- package/src/registries.mjs +1 -0
- package/src/review-experience-contracts.d.mts +1 -0
- package/src/review-experience-contracts.mjs +25 -4
- package/src/sharing-security-contracts.d.mts +63 -0
- package/src/sharing-security-contracts.mjs +403 -0
- package/src/studio-presentation-contracts.d.mts +92 -0
- package/src/studio-presentation-contracts.mjs +287 -0
package/README.md
CHANGED
|
@@ -115,3 +115,12 @@ It rejects source overrides, private workspace imports, missing exports, and
|
|
|
115
115
|
missing schema references. Run `npm run verify:packed:strict` at the workspace
|
|
116
116
|
root after generation and build; install Chromium with
|
|
117
117
|
`npm exec --workspace=@openplanr/protocol -- playwright install chromium` first.
|
|
118
|
+
|
|
119
|
+
## Shared artifact sources
|
|
120
|
+
|
|
121
|
+
Protocol 1.16 adds a shared-source artifact envelope (`schemaVersion: "1.1.0"`)
|
|
122
|
+
and a Design review bundle (`schemaVersion: "1.2.0"`). Each HTML source is stored
|
|
123
|
+
once; viewport records reference its stable ID and digest. The envelope supports
|
|
124
|
+
256 sources and 4,096 views, while the existing inline envelope and Design review
|
|
125
|
+
bundle schemas remain unchanged. These local/portable contracts do not expand
|
|
126
|
+
existing hosted publication capabilities or encrypted transport byte budgets.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openplanr/protocol",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Canonical OpenPlanr schemas, registries, typed errors, and portable contract validation",
|
|
6
6
|
"license": "MIT",
|
|
@@ -84,6 +84,10 @@
|
|
|
84
84
|
"types": "./src/enterprise-contracts.d.mts",
|
|
85
85
|
"import": "./src/enterprise-contracts.mjs"
|
|
86
86
|
},
|
|
87
|
+
"./enterprise-resource-contracts": {
|
|
88
|
+
"types": "./src/enterprise-resource-contracts.d.mts",
|
|
89
|
+
"import": "./src/enterprise-resource-contracts.mjs"
|
|
90
|
+
},
|
|
87
91
|
"./diagram-authoring-contracts": {
|
|
88
92
|
"types": "./src/diagram-authoring-contracts.d.mts",
|
|
89
93
|
"import": "./src/diagram-authoring-contracts.mjs"
|
|
@@ -91,6 +95,18 @@
|
|
|
91
95
|
"./diagram-review-contracts": {
|
|
92
96
|
"types": "./src/diagram-review-contracts.d.mts",
|
|
93
97
|
"import": "./src/diagram-review-contracts.mjs"
|
|
98
|
+
},
|
|
99
|
+
"./large-object-contracts": {
|
|
100
|
+
"types": "./src/large-object-contracts.d.mts",
|
|
101
|
+
"import": "./src/large-object-contracts.mjs"
|
|
102
|
+
},
|
|
103
|
+
"./studio-presentation-contracts": {
|
|
104
|
+
"types": "./src/studio-presentation-contracts.d.mts",
|
|
105
|
+
"import": "./src/studio-presentation-contracts.mjs"
|
|
106
|
+
},
|
|
107
|
+
"./sharing-security-contracts": {
|
|
108
|
+
"types": "./src/sharing-security-contracts.d.mts",
|
|
109
|
+
"import": "./src/sharing-security-contracts.mjs"
|
|
94
110
|
}
|
|
95
111
|
},
|
|
96
112
|
"files": [
|
package/registries/commands.json
CHANGED
|
@@ -188,7 +188,7 @@
|
|
|
188
188
|
"ownerPackage": "openplanr",
|
|
189
189
|
"source": {
|
|
190
190
|
"path": "packages/cli/src/cli/commands/artifact.ts",
|
|
191
|
-
"digest": "sha256:
|
|
191
|
+
"digest": "sha256:e1a9f83fb437e9199599518cc23e9a2a30b9498c45fa4e402fa02067ae9cf65d"
|
|
192
192
|
},
|
|
193
193
|
"authorityClass": "workflow",
|
|
194
194
|
"machineJson": false,
|
|
@@ -272,7 +272,7 @@
|
|
|
272
272
|
"ownerPackage": "openplanr",
|
|
273
273
|
"source": {
|
|
274
274
|
"path": "packages/cli/src/cli/commands/context.ts",
|
|
275
|
-
"digest": "sha256:
|
|
275
|
+
"digest": "sha256:0ef9f52a9ca5b36ef79dafce4b762113e590bd8bc872c4b9d77cf61d65eabe93"
|
|
276
276
|
},
|
|
277
277
|
"authorityClass": "workflow",
|
|
278
278
|
"machineJson": false,
|
|
@@ -314,7 +314,7 @@
|
|
|
314
314
|
"ownerPackage": "openplanr",
|
|
315
315
|
"source": {
|
|
316
316
|
"path": "packages/cli/src/cli/commands/doctor.ts",
|
|
317
|
-
"digest": "sha256:
|
|
317
|
+
"digest": "sha256:11f80ff04cf85dd456de4d487581b9ac1f54d6e84a58aadc75e36ae0250f9793"
|
|
318
318
|
},
|
|
319
319
|
"authorityClass": "workflow",
|
|
320
320
|
"machineJson": false,
|
|
@@ -356,7 +356,7 @@
|
|
|
356
356
|
"ownerPackage": "openplanr",
|
|
357
357
|
"source": {
|
|
358
358
|
"path": "skills/planr-plan/SKILL.md",
|
|
359
|
-
"digest": "sha256:
|
|
359
|
+
"digest": "sha256:28597e1374f16e10bff6972a3166d0575ce6144e4d1d58bae7fceba2b1545da2"
|
|
360
360
|
},
|
|
361
361
|
"authorityClass": "workflow",
|
|
362
362
|
"machineJson": false,
|
|
@@ -377,7 +377,7 @@
|
|
|
377
377
|
"ownerPackage": "openplanr",
|
|
378
378
|
"source": {
|
|
379
379
|
"path": "docs/generated/utility-command-catalog.json",
|
|
380
|
-
"digest": "sha256:
|
|
380
|
+
"digest": "sha256:af86a0898b4fe76e08a4078c7afe8f70094efdcd63e642a0d61ec02709d680b0"
|
|
381
381
|
},
|
|
382
382
|
"authorityClass": "workflow",
|
|
383
383
|
"machineJson": false,
|
|
@@ -398,7 +398,7 @@
|
|
|
398
398
|
"ownerPackage": "openplanr",
|
|
399
399
|
"source": {
|
|
400
400
|
"path": "packages/cli/src/cli/commands/export.ts",
|
|
401
|
-
"digest": "sha256:
|
|
401
|
+
"digest": "sha256:a9a71ab6ebb0e9c4a91644a39dd1997bceb33679122f65ba969bf582a1f8a128"
|
|
402
402
|
},
|
|
403
403
|
"authorityClass": "workflow",
|
|
404
404
|
"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:
|
|
569
|
+
"digest": "sha256:af86a0898b4fe76e08a4078c7afe8f70094efdcd63e642a0d61ec02709d680b0"
|
|
570
570
|
},
|
|
571
571
|
"authorityClass": "workflow",
|
|
572
572
|
"machineJson": true,
|
|
@@ -587,7 +587,7 @@
|
|
|
587
587
|
"ownerPackage": "openplanr",
|
|
588
588
|
"source": {
|
|
589
589
|
"path": "skills/planr-plan/SKILL.md",
|
|
590
|
-
"digest": "sha256:
|
|
590
|
+
"digest": "sha256:28597e1374f16e10bff6972a3166d0575ce6144e4d1d58bae7fceba2b1545da2"
|
|
591
591
|
},
|
|
592
592
|
"authorityClass": "workflow",
|
|
593
593
|
"machineJson": false,
|
|
@@ -629,7 +629,7 @@
|
|
|
629
629
|
"ownerPackage": "openplanr",
|
|
630
630
|
"source": {
|
|
631
631
|
"path": "skills/planr-spec/SKILL.md",
|
|
632
|
-
"digest": "sha256:
|
|
632
|
+
"digest": "sha256:040841d2b63504fd4ad9e07222ba0356cdd3084045fbb70f665bb043e4d006fa"
|
|
633
633
|
},
|
|
634
634
|
"authorityClass": "workflow",
|
|
635
635
|
"machineJson": false,
|
|
@@ -692,7 +692,7 @@
|
|
|
692
692
|
"ownerPackage": "openplanr",
|
|
693
693
|
"source": {
|
|
694
694
|
"path": "skills/planr-spec/SKILL.md",
|
|
695
|
-
"digest": "sha256:
|
|
695
|
+
"digest": "sha256:040841d2b63504fd4ad9e07222ba0356cdd3084045fbb70f665bb043e4d006fa"
|
|
696
696
|
},
|
|
697
697
|
"authorityClass": "workflow",
|
|
698
698
|
"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:
|
|
737
|
+
"digest": "sha256:b510add58939a0ca12d96de9f26452843f34c28caf5893881935de0f242de1f3"
|
|
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:
|
|
779
|
+
"digest": "sha256:763a914da03d01561293ed45b5324e088ef2d7bb2421e0602c0f2ef74636d3b1"
|
|
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:
|
|
968
|
+
"digest": "sha256:f2d93a0e27dd868309e55559162b167dda535b30574b8b8cdebf0d2d863cb4a2"
|
|
969
969
|
},
|
|
970
970
|
"authorityClass": "workflow",
|
|
971
971
|
"machineJson": false,
|
|
@@ -1007,7 +1007,7 @@
|
|
|
1007
1007
|
"ownerPackage": "planr-pipeline",
|
|
1008
1008
|
"source": {
|
|
1009
1009
|
"path": "skills/planr-dashboard/SKILL.md",
|
|
1010
|
-
"digest": "sha256:
|
|
1010
|
+
"digest": "sha256:c34b53355e7b8c565534c9ae2343b29312b8d7bcc9bb6cc72ab4dada0d4591b2"
|
|
1011
1011
|
},
|
|
1012
1012
|
"authorityClass": "compatibility-router",
|
|
1013
1013
|
"machineJson": false,
|
|
@@ -1028,7 +1028,7 @@
|
|
|
1028
1028
|
"ownerPackage": "planr-pipeline",
|
|
1029
1029
|
"source": {
|
|
1030
1030
|
"path": "skills/planr-design/SKILL.md",
|
|
1031
|
-
"digest": "sha256:
|
|
1031
|
+
"digest": "sha256:edd9799d15991ea7757e8ff0828c70a6bc5cf558cca3b4c11932874d383fb853"
|
|
1032
1032
|
},
|
|
1033
1033
|
"authorityClass": "compatibility-router",
|
|
1034
1034
|
"machineJson": false,
|
|
@@ -1049,7 +1049,7 @@
|
|
|
1049
1049
|
"ownerPackage": "planr-pipeline",
|
|
1050
1050
|
"source": {
|
|
1051
1051
|
"path": "skills/planr-design-loop/SKILL.md",
|
|
1052
|
-
"digest": "sha256:
|
|
1052
|
+
"digest": "sha256:1b741868e5a5ca01b52bbd7d8af3c0424fc9f6f9efc081211f463bc37c6b75ff"
|
|
1053
1053
|
},
|
|
1054
1054
|
"authorityClass": "compatibility-router",
|
|
1055
1055
|
"machineJson": false,
|
|
@@ -1070,7 +1070,7 @@
|
|
|
1070
1070
|
"ownerPackage": "planr-pipeline",
|
|
1071
1071
|
"source": {
|
|
1072
1072
|
"path": "skills/planr-design-review/SKILL.md",
|
|
1073
|
-
"digest": "sha256:
|
|
1073
|
+
"digest": "sha256:f0dac82f8626e4c83abfd7f47fe2dbafddba4dc7a7ebcfae4aa51225454f9594"
|
|
1074
1074
|
},
|
|
1075
1075
|
"authorityClass": "compatibility-router",
|
|
1076
1076
|
"machineJson": false,
|
|
@@ -1091,7 +1091,7 @@
|
|
|
1091
1091
|
"ownerPackage": "planr-pipeline",
|
|
1092
1092
|
"source": {
|
|
1093
1093
|
"path": "skills/planr-plan/SKILL.md",
|
|
1094
|
-
"digest": "sha256:
|
|
1094
|
+
"digest": "sha256:28597e1374f16e10bff6972a3166d0575ce6144e4d1d58bae7fceba2b1545da2"
|
|
1095
1095
|
},
|
|
1096
1096
|
"authorityClass": "compatibility-router",
|
|
1097
1097
|
"machineJson": false,
|
|
@@ -1112,7 +1112,7 @@
|
|
|
1112
1112
|
"ownerPackage": "planr-pipeline",
|
|
1113
1113
|
"source": {
|
|
1114
1114
|
"path": "skills/planr-ship/SKILL.md",
|
|
1115
|
-
"digest": "sha256:
|
|
1115
|
+
"digest": "sha256:4a2a029a2a3557a621da8816c6905d7cfc19921da9ca74516838a2aff9f94245"
|
|
1116
1116
|
},
|
|
1117
1117
|
"authorityClass": "compatibility-router",
|
|
1118
1118
|
"machineJson": false,
|
|
@@ -1133,7 +1133,7 @@
|
|
|
1133
1133
|
"ownerPackage": "planr-pipeline",
|
|
1134
1134
|
"source": {
|
|
1135
1135
|
"path": "skills/planr-status/SKILL.md",
|
|
1136
|
-
"digest": "sha256:
|
|
1136
|
+
"digest": "sha256:12f20dddbb382b72eeda55bdf036393b0bee1a9bcecc7be30ec53ed24e62a432"
|
|
1137
1137
|
},
|
|
1138
1138
|
"authorityClass": "compatibility-router",
|
|
1139
1139
|
"machineJson": false,
|
|
@@ -1154,7 +1154,7 @@
|
|
|
1154
1154
|
"ownerPackage": "planr-pipeline",
|
|
1155
1155
|
"source": {
|
|
1156
1156
|
"path": "skills/planr-sync/SKILL.md",
|
|
1157
|
-
"digest": "sha256:
|
|
1157
|
+
"digest": "sha256:dd758dfe6e080fb5b0360bc7708b2948dbf77e819eaf01633f5ec5208b5f6ee4"
|
|
1158
1158
|
},
|
|
1159
1159
|
"authorityClass": "compatibility-router",
|
|
1160
1160
|
"machineJson": false,
|
|
@@ -1948,5 +1948,5 @@
|
|
|
1948
1948
|
]
|
|
1949
1949
|
}
|
|
1950
1950
|
],
|
|
1951
|
-
"documentDigest": "sha256:
|
|
1951
|
+
"documentDigest": "sha256:7a771424f518c2f40dc304556c7cdf9d0ba672b68a31d80beb0384bd775ff32d"
|
|
1952
1952
|
}
|