@openplanr/protocol 0.6.1 → 0.7.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 +10 -0
- package/lib/dashboard/closed-json-contract.mjs +99 -109
- package/lib/dashboard/operate-experience-audit-display-contract.d.mts +128 -153
- package/lib/dashboard/operate-experience-audit-display-contract.mjs +530 -585
- package/lib/dashboard/operate-experience-display-contract.d.mts +415 -437
- package/lib/dashboard/operate-experience-display-contract.mjs +777 -831
- package/lib/dashboard/operate-experience-surface-contract.d.mts +143 -148
- package/lib/dashboard/operate-experience-surface-contract.mjs +72 -73
- package/lib/dashboard/operate-review-contract.d.mts +7 -14
- package/lib/dashboard/operate-review-contract.mjs +46 -42
- package/lib/dashboard/operate-review-display-workspace-contract.d.mts +2 -5
- package/lib/dashboard/operate-review-display-workspace-contract.mjs +158 -104
- package/lib/dashboard/operate-review-payload-safety.mjs +4 -2
- package/lib/dashboard/operate-review-workspace-projection-v2.d.mts +47 -33
- package/lib/protocol/index.d.ts +2647 -543
- package/package.json +1 -1
- package/registries/artifact-theme.json +64 -0
- package/registries/commands.json +40 -40
- package/registries/skills.json +5 -5
- package/schemas/v1.14.0/artifact-theme.schema.json +316 -0
- package/src/browser-contracts.d.mts +4 -1
- package/src/browser-contracts.mjs +16 -5
- package/src/canonical-json.d.mts +6 -1
- package/src/canonical-json.mjs +100 -22
- package/src/compat/live-evidence-v2.mjs +1611 -485
- package/src/compat/operate-experience-live-patch.mjs +67 -15
- package/src/compat/operating-planning-contracts.mjs +183 -51
- package/src/contracts.d.mts +54 -13
- package/src/contracts.mjs +635 -343
- package/src/design-contracts.mjs +58 -21
- package/src/design-handoff-contracts.d.mts +67 -11
- package/src/design-handoff-contracts.mjs +236 -119
- package/src/design-publication-contracts.mjs +98 -33
- package/src/diagram-authoring-contracts.d.mts +422 -78
- package/src/diagram-authoring-contracts.mjs +1715 -335
- package/src/diagram-contracts.d.mts +4 -1
- package/src/diagram-contracts.mjs +16 -4
- package/src/enterprise-contracts.d.mts +211 -46
- package/src/enterprise-contracts.mjs +738 -184
- package/src/errors.mjs +4 -0
- package/src/generated/canonical-registries.mjs +45 -45
- package/src/index.d.mts +8 -8
- package/src/index.mjs +36 -20
- package/src/json-schema.d.mts +21 -6
- package/src/json-schema.mjs +66 -18
- package/src/planning-contracts.d.mts +8 -2
- package/src/planning-contracts.mjs +33 -7
- package/src/registries.d.mts +11 -3
- package/src/registries.mjs +369 -87
- package/src/review-experience-contracts.d.mts +7 -2
- package/src/review-experience-contracts.mjs +198 -49
- package/src/semver.mjs +5 -1
- package/src/skill-source-contracts.d.mts +36 -16
- package/src/skill-source-contracts.mjs +25 -6
- package/src/task-contracts.d.mts +13 -3
- package/src/task-contracts.mjs +181 -40
- package/src/workspace-contracts.d.mts +38 -10
- package/src/workspace-contracts.mjs +147 -33
package/src/errors.mjs
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
// @ts-check
|
|
2
|
+
/** @type {typeof import('./errors.d.mts').ARTIFACT_ERROR_CODES} */
|
|
1
3
|
export const ARTIFACT_ERROR_CODES = Object.freeze({
|
|
2
4
|
INPUT_INVALID: 'E_ARTIFACT_INPUT_INVALID',
|
|
3
5
|
FILE_MISSING: 'E_ARTIFACT_FILE_MISSING',
|
|
@@ -59,6 +61,7 @@ export const ARTIFACT_ERROR_CODES = Object.freeze({
|
|
|
59
61
|
ROOM_EVENT_REPLAY: 'E_ARTIFACT_ROOM_EVENT_REPLAY',
|
|
60
62
|
});
|
|
61
63
|
|
|
64
|
+
/** @type {typeof import('./errors.d.mts').PROTOCOL_ERROR_CODES} */
|
|
62
65
|
export const PROTOCOL_ERROR_CODES = Object.freeze({
|
|
63
66
|
ASSET_NOT_FOUND: 'E_PROTOCOL_ASSET_NOT_FOUND',
|
|
64
67
|
DIGEST_MISMATCH: 'E_PROTOCOL_DIGEST_MISMATCH',
|
|
@@ -75,6 +78,7 @@ export const PROTOCOL_ERROR_CODES = Object.freeze({
|
|
|
75
78
|
|
|
76
79
|
// Compatibility name retained for consumers that imported the pipeline error
|
|
77
80
|
// vocabulary object rather than the PipelineError class.
|
|
81
|
+
/** @type {typeof import('./errors.d.mts').PIPELINE_ERROR_CODES} */
|
|
78
82
|
export const PIPELINE_ERROR_CODES = PROTOCOL_ERROR_CODES;
|
|
79
83
|
|
|
80
84
|
export class PipelineError extends Error {
|
|
@@ -1591,7 +1591,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
1591
1591
|
"ownerPackage": "openplanr",
|
|
1592
1592
|
"source": {
|
|
1593
1593
|
"path": "packages/cli/src/cli/commands/github.ts",
|
|
1594
|
-
"digest": "sha256:
|
|
1594
|
+
"digest": "sha256:27e650bf69db7a3081c62682f502790c07e7be54d4827b67a6fc8e1f9cbab47f"
|
|
1595
1595
|
},
|
|
1596
1596
|
"authorityClass": "workflow",
|
|
1597
1597
|
"machineJson": false,
|
|
@@ -1675,7 +1675,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
1675
1675
|
"ownerPackage": "openplanr",
|
|
1676
1676
|
"source": {
|
|
1677
1677
|
"path": "packages/cli/src/cli/commands/linear.ts",
|
|
1678
|
-
"digest": "sha256:
|
|
1678
|
+
"digest": "sha256:06970d4b08465137f320e78399a2ce628777611e169e3bac038c50b31b50cda2"
|
|
1679
1679
|
},
|
|
1680
1680
|
"authorityClass": "workflow",
|
|
1681
1681
|
"machineJson": false,
|
|
@@ -1696,7 +1696,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
1696
1696
|
"ownerPackage": "openplanr",
|
|
1697
1697
|
"source": {
|
|
1698
1698
|
"path": "packages/cli/src/cli/commands/operate.ts",
|
|
1699
|
-
"digest": "sha256:
|
|
1699
|
+
"digest": "sha256:a6fe5060f74b686b12fdee708cc7ad7018d209ecc8bd3a9a3952489dbfe8a36c"
|
|
1700
1700
|
},
|
|
1701
1701
|
"authorityClass": "workflow",
|
|
1702
1702
|
"machineJson": true,
|
|
@@ -1927,7 +1927,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
1927
1927
|
"ownerPackage": "openplanr",
|
|
1928
1928
|
"source": {
|
|
1929
1929
|
"path": "packages/cli/src/cli/commands/setup.ts",
|
|
1930
|
-
"digest": "sha256:
|
|
1930
|
+
"digest": "sha256:8cc9b0df403edf08a900baf0e2755db0b9238c9e7465b04fca92b322fd5a5b7d"
|
|
1931
1931
|
},
|
|
1932
1932
|
"authorityClass": "workflow",
|
|
1933
1933
|
"machineJson": false,
|
|
@@ -1948,7 +1948,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
1948
1948
|
"ownerPackage": "openplanr",
|
|
1949
1949
|
"source": {
|
|
1950
1950
|
"path": "packages/cli/src/cli/commands/spec.ts",
|
|
1951
|
-
"digest": "sha256:
|
|
1951
|
+
"digest": "sha256:bbf42397ddcb184bf692a8a87b5c49ac30b9ee7e30fc1f1d204e0338ea27135c"
|
|
1952
1952
|
},
|
|
1953
1953
|
"authorityClass": "workflow",
|
|
1954
1954
|
"machineJson": false,
|
|
@@ -2074,7 +2074,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
2074
2074
|
"ownerPackage": "openplanr",
|
|
2075
2075
|
"source": {
|
|
2076
2076
|
"path": "packages/cli/src/cli/commands/template.ts",
|
|
2077
|
-
"digest": "sha256:
|
|
2077
|
+
"digest": "sha256:45a021141b17f9e775d1e612a994919b4b4270e102f7c5deb013f5b16f1bc01d"
|
|
2078
2078
|
},
|
|
2079
2079
|
"authorityClass": "workflow",
|
|
2080
2080
|
"machineJson": false,
|
|
@@ -2095,7 +2095,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
2095
2095
|
"ownerPackage": "openplanr",
|
|
2096
2096
|
"source": {
|
|
2097
2097
|
"path": "packages/cli/src/cli/commands/update.ts",
|
|
2098
|
-
"digest": "sha256:
|
|
2098
|
+
"digest": "sha256:0eb24c97914c8c86ae23506334e905f58b2b4d5b3f363b24e177122824ec18d4"
|
|
2099
2099
|
},
|
|
2100
2100
|
"authorityClass": "workflow",
|
|
2101
2101
|
"machineJson": false,
|
|
@@ -2116,7 +2116,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
2116
2116
|
"ownerPackage": "openplanr",
|
|
2117
2117
|
"source": {
|
|
2118
2118
|
"path": "packages/cli/src/cli/commands/upgrade.ts",
|
|
2119
|
-
"digest": "sha256:
|
|
2119
|
+
"digest": "sha256:f88457767ccf7034ee601a9e107f9976c0432632e5aa68463150d590e704bc7e"
|
|
2120
2120
|
},
|
|
2121
2121
|
"authorityClass": "workflow",
|
|
2122
2122
|
"machineJson": false,
|
|
@@ -2327,7 +2327,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
2327
2327
|
"ownerPackage": "planr-pipeline",
|
|
2328
2328
|
"source": {
|
|
2329
2329
|
"path": "packages/pipeline/bin/planr-pipeline.mjs",
|
|
2330
|
-
"digest": "sha256:
|
|
2330
|
+
"digest": "sha256:3167491be6b183fc528c381f91bb997a390b920149aa4d3c142e6a954c5586f2"
|
|
2331
2331
|
},
|
|
2332
2332
|
"authorityClass": "workflow",
|
|
2333
2333
|
"machineJson": true,
|
|
@@ -2349,7 +2349,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
2349
2349
|
"ownerPackage": "planr-pipeline",
|
|
2350
2350
|
"source": {
|
|
2351
2351
|
"path": "packages/pipeline/bin/planr-pipeline.mjs",
|
|
2352
|
-
"digest": "sha256:
|
|
2352
|
+
"digest": "sha256:3167491be6b183fc528c381f91bb997a390b920149aa4d3c142e6a954c5586f2"
|
|
2353
2353
|
},
|
|
2354
2354
|
"authorityClass": "workflow",
|
|
2355
2355
|
"machineJson": true,
|
|
@@ -2371,7 +2371,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
2371
2371
|
"ownerPackage": "planr-pipeline",
|
|
2372
2372
|
"source": {
|
|
2373
2373
|
"path": "packages/pipeline/bin/planr-pipeline.mjs",
|
|
2374
|
-
"digest": "sha256:
|
|
2374
|
+
"digest": "sha256:3167491be6b183fc528c381f91bb997a390b920149aa4d3c142e6a954c5586f2"
|
|
2375
2375
|
},
|
|
2376
2376
|
"authorityClass": "workflow",
|
|
2377
2377
|
"machineJson": true,
|
|
@@ -2393,7 +2393,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
2393
2393
|
"ownerPackage": "planr-pipeline",
|
|
2394
2394
|
"source": {
|
|
2395
2395
|
"path": "packages/pipeline/bin/planr-pipeline.mjs",
|
|
2396
|
-
"digest": "sha256:
|
|
2396
|
+
"digest": "sha256:3167491be6b183fc528c381f91bb997a390b920149aa4d3c142e6a954c5586f2"
|
|
2397
2397
|
},
|
|
2398
2398
|
"authorityClass": "workflow",
|
|
2399
2399
|
"machineJson": true,
|
|
@@ -2415,7 +2415,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
2415
2415
|
"ownerPackage": "planr-pipeline",
|
|
2416
2416
|
"source": {
|
|
2417
2417
|
"path": "packages/pipeline/bin/planr-pipeline.mjs",
|
|
2418
|
-
"digest": "sha256:
|
|
2418
|
+
"digest": "sha256:3167491be6b183fc528c381f91bb997a390b920149aa4d3c142e6a954c5586f2"
|
|
2419
2419
|
},
|
|
2420
2420
|
"authorityClass": "workflow",
|
|
2421
2421
|
"machineJson": true,
|
|
@@ -2437,7 +2437,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
2437
2437
|
"ownerPackage": "planr-pipeline",
|
|
2438
2438
|
"source": {
|
|
2439
2439
|
"path": "packages/pipeline/bin/planr-pipeline.mjs",
|
|
2440
|
-
"digest": "sha256:
|
|
2440
|
+
"digest": "sha256:3167491be6b183fc528c381f91bb997a390b920149aa4d3c142e6a954c5586f2"
|
|
2441
2441
|
},
|
|
2442
2442
|
"authorityClass": "workflow",
|
|
2443
2443
|
"machineJson": true,
|
|
@@ -2459,7 +2459,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
2459
2459
|
"ownerPackage": "planr-pipeline",
|
|
2460
2460
|
"source": {
|
|
2461
2461
|
"path": "packages/pipeline/bin/planr-pipeline.mjs",
|
|
2462
|
-
"digest": "sha256:
|
|
2462
|
+
"digest": "sha256:3167491be6b183fc528c381f91bb997a390b920149aa4d3c142e6a954c5586f2"
|
|
2463
2463
|
},
|
|
2464
2464
|
"authorityClass": "workflow",
|
|
2465
2465
|
"machineJson": true,
|
|
@@ -2481,7 +2481,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
2481
2481
|
"ownerPackage": "planr-pipeline",
|
|
2482
2482
|
"source": {
|
|
2483
2483
|
"path": "packages/pipeline/bin/planr-pipeline.mjs",
|
|
2484
|
-
"digest": "sha256:
|
|
2484
|
+
"digest": "sha256:3167491be6b183fc528c381f91bb997a390b920149aa4d3c142e6a954c5586f2"
|
|
2485
2485
|
},
|
|
2486
2486
|
"authorityClass": "workflow",
|
|
2487
2487
|
"machineJson": true,
|
|
@@ -2503,7 +2503,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
2503
2503
|
"ownerPackage": "planr-pipeline",
|
|
2504
2504
|
"source": {
|
|
2505
2505
|
"path": "packages/pipeline/bin/planr-pipeline.mjs",
|
|
2506
|
-
"digest": "sha256:
|
|
2506
|
+
"digest": "sha256:3167491be6b183fc528c381f91bb997a390b920149aa4d3c142e6a954c5586f2"
|
|
2507
2507
|
},
|
|
2508
2508
|
"authorityClass": "workflow",
|
|
2509
2509
|
"machineJson": true,
|
|
@@ -2525,7 +2525,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
2525
2525
|
"ownerPackage": "planr-pipeline",
|
|
2526
2526
|
"source": {
|
|
2527
2527
|
"path": "packages/pipeline/bin/planr-pipeline.mjs",
|
|
2528
|
-
"digest": "sha256:
|
|
2528
|
+
"digest": "sha256:3167491be6b183fc528c381f91bb997a390b920149aa4d3c142e6a954c5586f2"
|
|
2529
2529
|
},
|
|
2530
2530
|
"authorityClass": "workflow",
|
|
2531
2531
|
"machineJson": true,
|
|
@@ -2547,7 +2547,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
2547
2547
|
"ownerPackage": "planr-pipeline",
|
|
2548
2548
|
"source": {
|
|
2549
2549
|
"path": "packages/pipeline/bin/planr-pipeline.mjs",
|
|
2550
|
-
"digest": "sha256:
|
|
2550
|
+
"digest": "sha256:3167491be6b183fc528c381f91bb997a390b920149aa4d3c142e6a954c5586f2"
|
|
2551
2551
|
},
|
|
2552
2552
|
"authorityClass": "workflow",
|
|
2553
2553
|
"machineJson": true,
|
|
@@ -2570,7 +2570,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
2570
2570
|
"ownerPackage": "planr-pipeline",
|
|
2571
2571
|
"source": {
|
|
2572
2572
|
"path": "packages/pipeline/bin/planr-pipeline.mjs",
|
|
2573
|
-
"digest": "sha256:
|
|
2573
|
+
"digest": "sha256:3167491be6b183fc528c381f91bb997a390b920149aa4d3c142e6a954c5586f2"
|
|
2574
2574
|
},
|
|
2575
2575
|
"authorityClass": "workflow",
|
|
2576
2576
|
"machineJson": true,
|
|
@@ -2593,7 +2593,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
2593
2593
|
"ownerPackage": "planr-pipeline",
|
|
2594
2594
|
"source": {
|
|
2595
2595
|
"path": "packages/pipeline/bin/planr-pipeline.mjs",
|
|
2596
|
-
"digest": "sha256:
|
|
2596
|
+
"digest": "sha256:3167491be6b183fc528c381f91bb997a390b920149aa4d3c142e6a954c5586f2"
|
|
2597
2597
|
},
|
|
2598
2598
|
"authorityClass": "workflow",
|
|
2599
2599
|
"machineJson": true,
|
|
@@ -2616,7 +2616,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
2616
2616
|
"ownerPackage": "planr-pipeline",
|
|
2617
2617
|
"source": {
|
|
2618
2618
|
"path": "packages/pipeline/bin/planr-pipeline.mjs",
|
|
2619
|
-
"digest": "sha256:
|
|
2619
|
+
"digest": "sha256:3167491be6b183fc528c381f91bb997a390b920149aa4d3c142e6a954c5586f2"
|
|
2620
2620
|
},
|
|
2621
2621
|
"authorityClass": "workflow",
|
|
2622
2622
|
"machineJson": true,
|
|
@@ -2639,7 +2639,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
2639
2639
|
"ownerPackage": "planr-pipeline",
|
|
2640
2640
|
"source": {
|
|
2641
2641
|
"path": "packages/pipeline/bin/planr-pipeline.mjs",
|
|
2642
|
-
"digest": "sha256:
|
|
2642
|
+
"digest": "sha256:3167491be6b183fc528c381f91bb997a390b920149aa4d3c142e6a954c5586f2"
|
|
2643
2643
|
},
|
|
2644
2644
|
"authorityClass": "workflow",
|
|
2645
2645
|
"machineJson": true,
|
|
@@ -2661,7 +2661,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
2661
2661
|
"ownerPackage": "planr-pipeline",
|
|
2662
2662
|
"source": {
|
|
2663
2663
|
"path": "packages/pipeline/bin/planr-pipeline.mjs",
|
|
2664
|
-
"digest": "sha256:
|
|
2664
|
+
"digest": "sha256:3167491be6b183fc528c381f91bb997a390b920149aa4d3c142e6a954c5586f2"
|
|
2665
2665
|
},
|
|
2666
2666
|
"authorityClass": "workflow",
|
|
2667
2667
|
"machineJson": true,
|
|
@@ -2683,7 +2683,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
2683
2683
|
"ownerPackage": "planr-pipeline",
|
|
2684
2684
|
"source": {
|
|
2685
2685
|
"path": "packages/pipeline/bin/planr-pipeline.mjs",
|
|
2686
|
-
"digest": "sha256:
|
|
2686
|
+
"digest": "sha256:3167491be6b183fc528c381f91bb997a390b920149aa4d3c142e6a954c5586f2"
|
|
2687
2687
|
},
|
|
2688
2688
|
"authorityClass": "workflow",
|
|
2689
2689
|
"machineJson": true,
|
|
@@ -2705,7 +2705,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
2705
2705
|
"ownerPackage": "planr-pipeline",
|
|
2706
2706
|
"source": {
|
|
2707
2707
|
"path": "packages/pipeline/bin/planr-pipeline.mjs",
|
|
2708
|
-
"digest": "sha256:
|
|
2708
|
+
"digest": "sha256:3167491be6b183fc528c381f91bb997a390b920149aa4d3c142e6a954c5586f2"
|
|
2709
2709
|
},
|
|
2710
2710
|
"authorityClass": "workflow",
|
|
2711
2711
|
"machineJson": true,
|
|
@@ -2727,7 +2727,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
2727
2727
|
"ownerPackage": "planr-pipeline",
|
|
2728
2728
|
"source": {
|
|
2729
2729
|
"path": "packages/pipeline/bin/planr-pipeline.mjs",
|
|
2730
|
-
"digest": "sha256:
|
|
2730
|
+
"digest": "sha256:3167491be6b183fc528c381f91bb997a390b920149aa4d3c142e6a954c5586f2"
|
|
2731
2731
|
},
|
|
2732
2732
|
"authorityClass": "workflow",
|
|
2733
2733
|
"machineJson": true,
|
|
@@ -2749,7 +2749,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
2749
2749
|
"ownerPackage": "planr-pipeline",
|
|
2750
2750
|
"source": {
|
|
2751
2751
|
"path": "packages/pipeline/bin/planr-pipeline.mjs",
|
|
2752
|
-
"digest": "sha256:
|
|
2752
|
+
"digest": "sha256:3167491be6b183fc528c381f91bb997a390b920149aa4d3c142e6a954c5586f2"
|
|
2753
2753
|
},
|
|
2754
2754
|
"authorityClass": "workflow",
|
|
2755
2755
|
"machineJson": true,
|
|
@@ -2771,7 +2771,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
2771
2771
|
"ownerPackage": "planr-pipeline",
|
|
2772
2772
|
"source": {
|
|
2773
2773
|
"path": "packages/pipeline/bin/planr-pipeline.mjs",
|
|
2774
|
-
"digest": "sha256:
|
|
2774
|
+
"digest": "sha256:3167491be6b183fc528c381f91bb997a390b920149aa4d3c142e6a954c5586f2"
|
|
2775
2775
|
},
|
|
2776
2776
|
"authorityClass": "workflow",
|
|
2777
2777
|
"machineJson": true,
|
|
@@ -2793,7 +2793,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
2793
2793
|
"ownerPackage": "planr-pipeline",
|
|
2794
2794
|
"source": {
|
|
2795
2795
|
"path": "packages/pipeline/bin/planr-pipeline.mjs",
|
|
2796
|
-
"digest": "sha256:
|
|
2796
|
+
"digest": "sha256:3167491be6b183fc528c381f91bb997a390b920149aa4d3c142e6a954c5586f2"
|
|
2797
2797
|
},
|
|
2798
2798
|
"authorityClass": "workflow",
|
|
2799
2799
|
"machineJson": true,
|
|
@@ -2815,7 +2815,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
2815
2815
|
"ownerPackage": "planr-pipeline",
|
|
2816
2816
|
"source": {
|
|
2817
2817
|
"path": "packages/pipeline/bin/planr-pipeline.mjs",
|
|
2818
|
-
"digest": "sha256:
|
|
2818
|
+
"digest": "sha256:3167491be6b183fc528c381f91bb997a390b920149aa4d3c142e6a954c5586f2"
|
|
2819
2819
|
},
|
|
2820
2820
|
"authorityClass": "workflow",
|
|
2821
2821
|
"machineJson": true,
|
|
@@ -2837,7 +2837,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
2837
2837
|
"ownerPackage": "planr-pipeline",
|
|
2838
2838
|
"source": {
|
|
2839
2839
|
"path": "packages/pipeline/bin/planr-pipeline.mjs",
|
|
2840
|
-
"digest": "sha256:
|
|
2840
|
+
"digest": "sha256:3167491be6b183fc528c381f91bb997a390b920149aa4d3c142e6a954c5586f2"
|
|
2841
2841
|
},
|
|
2842
2842
|
"authorityClass": "workflow",
|
|
2843
2843
|
"machineJson": true,
|
|
@@ -2859,7 +2859,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
2859
2859
|
"ownerPackage": "planr-pipeline",
|
|
2860
2860
|
"source": {
|
|
2861
2861
|
"path": "packages/pipeline/bin/planr-pipeline.mjs",
|
|
2862
|
-
"digest": "sha256:
|
|
2862
|
+
"digest": "sha256:3167491be6b183fc528c381f91bb997a390b920149aa4d3c142e6a954c5586f2"
|
|
2863
2863
|
},
|
|
2864
2864
|
"authorityClass": "workflow",
|
|
2865
2865
|
"machineJson": true,
|
|
@@ -2881,7 +2881,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
2881
2881
|
"ownerPackage": "planr-pipeline",
|
|
2882
2882
|
"source": {
|
|
2883
2883
|
"path": "packages/pipeline/bin/planr-pipeline.mjs",
|
|
2884
|
-
"digest": "sha256:
|
|
2884
|
+
"digest": "sha256:3167491be6b183fc528c381f91bb997a390b920149aa4d3c142e6a954c5586f2"
|
|
2885
2885
|
},
|
|
2886
2886
|
"authorityClass": "workflow",
|
|
2887
2887
|
"machineJson": true,
|
|
@@ -2903,7 +2903,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
2903
2903
|
"ownerPackage": "planr-pipeline",
|
|
2904
2904
|
"source": {
|
|
2905
2905
|
"path": "packages/pipeline/bin/planr-pipeline.mjs",
|
|
2906
|
-
"digest": "sha256:
|
|
2906
|
+
"digest": "sha256:3167491be6b183fc528c381f91bb997a390b920149aa4d3c142e6a954c5586f2"
|
|
2907
2907
|
},
|
|
2908
2908
|
"authorityClass": "workflow",
|
|
2909
2909
|
"machineJson": true,
|
|
@@ -2925,7 +2925,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
2925
2925
|
"ownerPackage": "planr-pipeline",
|
|
2926
2926
|
"source": {
|
|
2927
2927
|
"path": "packages/pipeline/bin/planr-pipeline.mjs",
|
|
2928
|
-
"digest": "sha256:
|
|
2928
|
+
"digest": "sha256:3167491be6b183fc528c381f91bb997a390b920149aa4d3c142e6a954c5586f2"
|
|
2929
2929
|
},
|
|
2930
2930
|
"authorityClass": "workflow",
|
|
2931
2931
|
"machineJson": true,
|
|
@@ -2947,7 +2947,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
2947
2947
|
"ownerPackage": "planr-pipeline",
|
|
2948
2948
|
"source": {
|
|
2949
2949
|
"path": "packages/pipeline/bin/planr-pipeline.mjs",
|
|
2950
|
-
"digest": "sha256:
|
|
2950
|
+
"digest": "sha256:3167491be6b183fc528c381f91bb997a390b920149aa4d3c142e6a954c5586f2"
|
|
2951
2951
|
},
|
|
2952
2952
|
"authorityClass": "workflow",
|
|
2953
2953
|
"machineJson": true,
|
|
@@ -2969,7 +2969,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
2969
2969
|
"ownerPackage": "planr-pipeline",
|
|
2970
2970
|
"source": {
|
|
2971
2971
|
"path": "packages/pipeline/bin/planr-pipeline.mjs",
|
|
2972
|
-
"digest": "sha256:
|
|
2972
|
+
"digest": "sha256:3167491be6b183fc528c381f91bb997a390b920149aa4d3c142e6a954c5586f2"
|
|
2973
2973
|
},
|
|
2974
2974
|
"authorityClass": "workflow",
|
|
2975
2975
|
"machineJson": true,
|
|
@@ -2991,7 +2991,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
2991
2991
|
"ownerPackage": "planr-pipeline",
|
|
2992
2992
|
"source": {
|
|
2993
2993
|
"path": "packages/pipeline/bin/planr-pipeline.mjs",
|
|
2994
|
-
"digest": "sha256:
|
|
2994
|
+
"digest": "sha256:3167491be6b183fc528c381f91bb997a390b920149aa4d3c142e6a954c5586f2"
|
|
2995
2995
|
},
|
|
2996
2996
|
"authorityClass": "workflow",
|
|
2997
2997
|
"machineJson": true,
|
|
@@ -3099,7 +3099,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
3099
3099
|
]
|
|
3100
3100
|
}
|
|
3101
3101
|
],
|
|
3102
|
-
"documentDigest": "sha256:
|
|
3102
|
+
"documentDigest": "sha256:130727794dda0ab59a29eb7cc567f6a0e73b170441727698ac25dc52e306f03a"
|
|
3103
3103
|
},
|
|
3104
3104
|
"skills.json": {
|
|
3105
3105
|
"kind": "skill-catalog",
|
|
@@ -3727,7 +3727,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
3727
3727
|
"lifecycle": "active",
|
|
3728
3728
|
"authorityClass": "planning-write",
|
|
3729
3729
|
"source": "skills/planr-design/openplanr.skill.json",
|
|
3730
|
-
"sourceDigest": "sha256:
|
|
3730
|
+
"sourceDigest": "sha256:36772da092a70a0e83f331723926d9dd58fa82d3b81d112179dfb3d7ab60bc1f",
|
|
3731
3731
|
"triggerPolicy": {
|
|
3732
3732
|
"include": [
|
|
3733
3733
|
"Create an initial product design direction",
|
|
@@ -3788,7 +3788,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
3788
3788
|
"lifecycle": "active",
|
|
3789
3789
|
"authorityClass": "planning-write",
|
|
3790
3790
|
"source": "skills/planr-design-loop/openplanr.skill.json",
|
|
3791
|
-
"sourceDigest": "sha256:
|
|
3791
|
+
"sourceDigest": "sha256:56dc09a795ee2a2cfb98b4a2f023f8fe83d044a7e5a4778d906c78116ba78bd5",
|
|
3792
3792
|
"triggerPolicy": {
|
|
3793
3793
|
"include": [
|
|
3794
3794
|
"Explore multiple design directions or variants",
|
|
@@ -3849,7 +3849,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
3849
3849
|
"lifecycle": "active",
|
|
3850
3850
|
"authorityClass": "review-evidence",
|
|
3851
3851
|
"source": "skills/planr-design-review/openplanr.skill.json",
|
|
3852
|
-
"sourceDigest": "sha256:
|
|
3852
|
+
"sourceDigest": "sha256:2dbcbfe72ca6092a1eb3adc5782d314b04211f64ac64833aa2191265267d319f",
|
|
3853
3853
|
"triggerPolicy": {
|
|
3854
3854
|
"include": [
|
|
3855
3855
|
"Review or critique an existing OpenPlanr design",
|
|
@@ -4282,7 +4282,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
4282
4282
|
"lifecycle": "active",
|
|
4283
4283
|
"authorityClass": "planning-write",
|
|
4284
4284
|
"source": "skills/planr-plan/openplanr.skill.json",
|
|
4285
|
-
"sourceDigest": "sha256:
|
|
4285
|
+
"sourceDigest": "sha256:1f83ec18d867ab0e02d687a1b83398c2a527585b9f369fee1c3dc86f16731f05",
|
|
4286
4286
|
"triggerPolicy": {
|
|
4287
4287
|
"include": [
|
|
4288
4288
|
"Decompose a specification into user stories and implementation tasks",
|
|
@@ -4767,7 +4767,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
4767
4767
|
}
|
|
4768
4768
|
],
|
|
4769
4769
|
"compatibilityAliases": [],
|
|
4770
|
-
"documentDigest": "sha256:
|
|
4770
|
+
"documentDigest": "sha256:c3d21e258e9630322375aa3ed8495c758a72bcfce366cfe8b51efd6b6d8b82b8"
|
|
4771
4771
|
},
|
|
4772
4772
|
"outputs.json": {
|
|
4773
4773
|
"kind": "output-catalog",
|
package/src/index.d.mts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export * from './
|
|
1
|
+
export * from './browser-contracts.mjs';
|
|
2
2
|
export * from './canonical-json.mjs';
|
|
3
|
+
export * from './design-handoff-contracts.mjs';
|
|
4
|
+
export * from './design-publication-contracts.mjs';
|
|
5
|
+
export * from './diagram-authoring-contracts.mjs';
|
|
6
|
+
export * from './diagram-contracts.mjs';
|
|
7
|
+
export * from './enterprise-contracts.mjs';
|
|
8
|
+
export * from './errors.mjs';
|
|
3
9
|
export * from './json-schema.mjs';
|
|
10
|
+
export * from './planning-contracts.mjs';
|
|
4
11
|
export * from './registries.mjs';
|
|
5
|
-
export * from './browser-contracts.mjs';
|
|
6
12
|
export * from './task-contracts.mjs';
|
|
7
|
-
export * from './planning-contracts.mjs';
|
|
8
|
-
export * from './diagram-contracts.mjs';
|
|
9
|
-
export * from './enterprise-contracts.mjs';
|
|
10
|
-
export * from './design-publication-contracts.mjs';
|
|
11
|
-
export * from './design-handoff-contracts.mjs';
|
|
12
|
-
export * from './diagram-authoring-contracts.mjs';
|
package/src/index.mjs
CHANGED
|
@@ -1,18 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
export { canonicalizeJson, sha256Hex, sha256Jcs, verifyDocumentDigest, withDocumentDigest } from './canonical-json.mjs';
|
|
3
|
-
export { validate, validateJson } from './json-schema.mjs';
|
|
4
|
-
export {
|
|
5
|
-
CANONICAL_REGISTRIES,
|
|
6
|
-
getCanonicalRegistry,
|
|
7
|
-
getOutput,
|
|
8
|
-
getOutputPathTemplate,
|
|
9
|
-
getRole,
|
|
10
|
-
resolveOutputPath,
|
|
11
|
-
resolveLegacyRoleAlias,
|
|
12
|
-
resolveTaskKind,
|
|
13
|
-
routeLegacyTask,
|
|
14
|
-
validateCanonicalRegistries,
|
|
15
|
-
} from './registries.mjs';
|
|
1
|
+
// @ts-check
|
|
16
2
|
export {
|
|
17
3
|
PROTOCOL_V15_CONTRACTS,
|
|
18
4
|
PROTOCOL_V16_CONTRACTS,
|
|
@@ -22,7 +8,16 @@ export {
|
|
|
22
8
|
PROTOCOL_V113_CONTRACTS,
|
|
23
9
|
protocolAssetUrl,
|
|
24
10
|
} from './browser-contracts.mjs';
|
|
25
|
-
export {
|
|
11
|
+
export {
|
|
12
|
+
canonicalizeJson,
|
|
13
|
+
sha256Hex,
|
|
14
|
+
sha256Jcs,
|
|
15
|
+
verifyDocumentDigest,
|
|
16
|
+
withDocumentDigest,
|
|
17
|
+
} from './canonical-json.mjs';
|
|
18
|
+
export * from './design-handoff-contracts.mjs';
|
|
19
|
+
export * from './design-publication-contracts.mjs';
|
|
20
|
+
export * from './diagram-authoring-contracts.mjs';
|
|
26
21
|
export {
|
|
27
22
|
DIAGRAM_CONTRACT_FILES,
|
|
28
23
|
DIAGRAM_GRAMMAR_REGISTRY,
|
|
@@ -30,6 +25,31 @@ export {
|
|
|
30
25
|
diagramContractUrl,
|
|
31
26
|
getDiagramGrammar,
|
|
32
27
|
} from './diagram-contracts.mjs';
|
|
28
|
+
export * from './enterprise-contracts.mjs';
|
|
29
|
+
export {
|
|
30
|
+
ARTIFACT_ERROR_CODES,
|
|
31
|
+
PIPELINE_ERROR_CODES,
|
|
32
|
+
PipelineError,
|
|
33
|
+
PROTOCOL_ERROR_CODES,
|
|
34
|
+
ProtocolError,
|
|
35
|
+
} from './errors.mjs';
|
|
36
|
+
export { validate, validateJson } from './json-schema.mjs';
|
|
37
|
+
export {
|
|
38
|
+
normalizePlanningTask,
|
|
39
|
+
validatePlanningAcceptanceCoverage,
|
|
40
|
+
} from './planning-contracts.mjs';
|
|
41
|
+
export {
|
|
42
|
+
CANONICAL_REGISTRIES,
|
|
43
|
+
getCanonicalRegistry,
|
|
44
|
+
getOutput,
|
|
45
|
+
getOutputPathTemplate,
|
|
46
|
+
getRole,
|
|
47
|
+
resolveLegacyRoleAlias,
|
|
48
|
+
resolveOutputPath,
|
|
49
|
+
resolveTaskKind,
|
|
50
|
+
routeLegacyTask,
|
|
51
|
+
validateCanonicalRegistries,
|
|
52
|
+
} from './registries.mjs';
|
|
33
53
|
export {
|
|
34
54
|
assertTaskManifestSemantics,
|
|
35
55
|
assertTaskOutputSemantics,
|
|
@@ -38,7 +58,3 @@ export {
|
|
|
38
58
|
validateTaskManifestSemantics,
|
|
39
59
|
validateTaskOutputSemantics,
|
|
40
60
|
} from './task-contracts.mjs';
|
|
41
|
-
export * from './enterprise-contracts.mjs';
|
|
42
|
-
export * from './design-publication-contracts.mjs';
|
|
43
|
-
export * from './design-handoff-contracts.mjs';
|
|
44
|
-
export * from './diagram-authoring-contracts.mjs';
|
package/src/json-schema.d.mts
CHANGED
|
@@ -1,7 +1,22 @@
|
|
|
1
|
-
export interface JsonSchemaDiagnostic {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
export interface JsonSchemaDiagnostic {
|
|
2
|
+
path: string;
|
|
3
|
+
rule: string;
|
|
4
|
+
detail: string;
|
|
5
|
+
}
|
|
6
|
+
export interface JsonSchemaResolverResult {
|
|
7
|
+
schema: unknown;
|
|
8
|
+
rootSchema?: unknown;
|
|
9
|
+
base?: string;
|
|
10
|
+
}
|
|
11
|
+
export declare function validateJson(
|
|
12
|
+
value: unknown,
|
|
13
|
+
schema: unknown,
|
|
14
|
+
options?: {
|
|
15
|
+
base?: string | null;
|
|
16
|
+
resolveRef?: (
|
|
17
|
+
reference: string,
|
|
18
|
+
context: { base?: string | null },
|
|
19
|
+
) => JsonSchemaResolverResult | unknown;
|
|
20
|
+
},
|
|
21
|
+
): JsonSchemaDiagnostic[];
|
|
7
22
|
export { validateJson as validate };
|