@oods/component-contracts 0.3.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/package.json ADDED
@@ -0,0 +1,44 @@
1
+ {
2
+ "name": "@oods/component-contracts",
3
+ "version": "0.3.0",
4
+ "description": "Versioned OODS component identities, semantic contracts, shared scenarios, and readiness predicates.",
5
+ "type": "module",
6
+ "license": "Apache-2.0",
7
+ "engines": {
8
+ "node": ">=20.11.1"
9
+ },
10
+ "files": [
11
+ "dist",
12
+ "registry",
13
+ "LICENSE",
14
+ "NOTICE",
15
+ "README.md"
16
+ ],
17
+ "scripts": {
18
+ "build": "rimraf dist && tsup --config tsup.config.ts",
19
+ "clean": "rimraf dist",
20
+ "typecheck": "tsc --noEmit --pretty false -p tsconfig.json",
21
+ "test": "vitest run --config vitest.config.ts",
22
+ "prepack": "pnpm run build"
23
+ },
24
+ "exports": {
25
+ ".": {
26
+ "types": "./dist/index.d.ts",
27
+ "import": "./dist/index.js",
28
+ "require": "./dist/index.cjs"
29
+ },
30
+ "./registry/intake": "./registry/component-intake.v1.json",
31
+ "./registry/reconciliation": "./registry/component-reconciliation.proposed.v2.json",
32
+ "./registry/capabilities": "./registry/component-capability-ledger.v1.json",
33
+ "./registry/capabilities/foundation-v1": "./registry/component-capability-foundation-v1.s182.v1.json",
34
+ "./package.json": "./package.json"
35
+ },
36
+ "main": "./dist/index.cjs",
37
+ "module": "./dist/index.js",
38
+ "types": "./dist/index.d.ts",
39
+ "sideEffects": false,
40
+ "packageManager": "pnpm@9.12.2",
41
+ "publishConfig": {
42
+ "access": "public"
43
+ }
44
+ }
@@ -0,0 +1,81 @@
1
+ {
2
+ "schemaVersion": "1.0.0",
3
+ "kind": "component-capability-additions",
4
+ "decisionId": 2054,
5
+ "rows": [
6
+ {
7
+ "id": "VizGraphPreview",
8
+ "proposedClassification": "recipe",
9
+ "reconciliationState": "proposed-awaiting-derek-approval",
10
+ "surfaces": {
11
+ "contract": {
12
+ "state": "versioned-v1",
13
+ "evidence": [
14
+ "packages/component-contracts/src/contracts.ts#VizGraphPreview"
15
+ ]
16
+ },
17
+ "metadata": {
18
+ "state": "available",
19
+ "evidence": [
20
+ "traits/viz/mark-graph.trait.yaml"
21
+ ]
22
+ },
23
+ "html": {
24
+ "state": "mapped",
25
+ "evidence": [
26
+ "packages/mcp-server/src/render/component-map.ts#renderVizGraphPreview"
27
+ ]
28
+ },
29
+ "react": {
30
+ "state": "implemented-evidence-complete",
31
+ "evidence": [
32
+ "packages/components-react/evidence/react-readiness.v1.json#VizGraphPreview"
33
+ ]
34
+ },
35
+ "vue": {
36
+ "state": "implemented-evidence-complete",
37
+ "evidence": [
38
+ "packages/components-vue/evidence/vue-readiness.v1.json#VizGraphPreview"
39
+ ]
40
+ },
41
+ "generatedConsumer": {
42
+ "state": "implemented-evidence-complete",
43
+ "evidence": [
44
+ "artifacts/product-reality/sprint-199/m07/graph-correction/runtime-final/runtime-cells.v1.json#/rows/2",
45
+ "artifacts/product-reality/sprint-199/m07/graph-correction/runtime-final/runtime-cells.v1.json#/rows/3",
46
+ "artifacts/product-reality/sprint-199/m07/graph-correction/runtime-final/runtime-cells.v1.json#/rows/12",
47
+ "artifacts/product-reality/sprint-199/m07/graph-correction/runtime-final/runtime-cells.v1.json#/rows/13"
48
+ ]
49
+ },
50
+ "accessibility": {
51
+ "state": "verified",
52
+ "evidence": [
53
+ "artifacts/product-reality/sprint-199/m07/graph-correction/react-measured.json#VizGraphPreview",
54
+ "artifacts/product-reality/sprint-199/m07/graph-correction/vue-measured.json#VizGraphPreview",
55
+ "packages/components-react/evidence/react-readiness.v1.json#VizGraphPreview",
56
+ "packages/components-vue/evidence/vue-readiness.v1.json#VizGraphPreview"
57
+ ]
58
+ },
59
+ "theme": {
60
+ "state": "verified",
61
+ "evidence": [
62
+ "artifacts/product-reality/sprint-199/m07/graph-correction/react-theme/report.json#VizGraphPreview",
63
+ "artifacts/product-reality/sprint-199/m07/graph-correction/vue-theme/report.json#VizGraphPreview",
64
+ "packages/components-react/evidence/react-readiness.v1.json#VizGraphPreview",
65
+ "packages/components-vue/evidence/vue-readiness.v1.json#VizGraphPreview"
66
+ ]
67
+ },
68
+ "interaction": {
69
+ "state": "not-applicable",
70
+ "evidence": [
71
+ "artifacts/product-reality/sprint-199/m07/graph-correction/react-measured.json#VizGraphPreview",
72
+ "artifacts/product-reality/sprint-199/m07/graph-correction/vue-measured.json#VizGraphPreview",
73
+ "packages/components-react/evidence/react-readiness.v1.json#VizGraphPreview",
74
+ "packages/components-vue/evidence/vue-readiness.v1.json#VizGraphPreview"
75
+ ],
76
+ "reason": "VizGraphPreview displays an authored chart input or rendered static SVG and owns no focusable control or consumer action."
77
+ }
78
+ }
79
+ }
80
+ ]
81
+ }