oui-spec 0.6.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 +6 -11
- package/package.json +35 -41
package/README.md
CHANGED
|
@@ -747,20 +747,15 @@ They even share JSON Schema for parameter validation — a deliberate design cho
|
|
|
747
747
|
|
|
748
748
|
Contributions welcome. Please read the spec at [`spec/OUI-SPEC-v0.1.md`](./spec/OUI-SPEC-v0.1.md) before proposing changes to ensure alignment with the design principles.
|
|
749
749
|
|
|
750
|
+
`oui-spec` lives in the [OUI monorepo](https://github.com/wesreid/oui) beside the `@ouispec/*` packages. See its [CONTRIBUTING.md](https://github.com/wesreid/oui/blob/main/CONTRIBUTING.md):
|
|
751
|
+
|
|
750
752
|
```bash
|
|
751
|
-
# Clone and install
|
|
752
753
|
git clone https://github.com/wesreid/oui.git
|
|
753
754
|
cd oui
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
# Run tests
|
|
760
|
-
npm test
|
|
761
|
-
|
|
762
|
-
# Typecheck
|
|
763
|
-
npm run typecheck
|
|
755
|
+
pnpm install
|
|
756
|
+
pnpm --filter oui-spec build
|
|
757
|
+
pnpm --filter oui-spec test
|
|
758
|
+
pnpm --filter oui-spec typecheck
|
|
764
759
|
```
|
|
765
760
|
|
|
766
761
|
---
|
package/package.json
CHANGED
|
@@ -1,7 +1,27 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oui-spec",
|
|
3
|
-
"version": "0.6.
|
|
4
|
-
"description": "OUI
|
|
3
|
+
"version": "0.6.1",
|
|
4
|
+
"description": "OUI — The OpenUI Specification. A machine-readable contract for agent-controllable user interfaces.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"oui",
|
|
7
|
+
"openui",
|
|
8
|
+
"ai",
|
|
9
|
+
"agent",
|
|
10
|
+
"ui",
|
|
11
|
+
"specification",
|
|
12
|
+
"protocol"
|
|
13
|
+
],
|
|
14
|
+
"homepage": "https://github.com/wesreid/oui/tree/main/packages/oui-spec#readme",
|
|
15
|
+
"bugs": {
|
|
16
|
+
"url": "https://github.com/wesreid/oui/issues"
|
|
17
|
+
},
|
|
18
|
+
"repository": {
|
|
19
|
+
"type": "git",
|
|
20
|
+
"url": "git+https://github.com/wesreid/oui.git",
|
|
21
|
+
"directory": "packages/oui-spec"
|
|
22
|
+
},
|
|
23
|
+
"license": "MIT",
|
|
24
|
+
"type": "module",
|
|
5
25
|
"main": "dist/index.cjs",
|
|
6
26
|
"module": "dist/index.js",
|
|
7
27
|
"types": "dist/index.d.ts",
|
|
@@ -53,30 +73,8 @@
|
|
|
53
73
|
"dist",
|
|
54
74
|
"spec"
|
|
55
75
|
],
|
|
56
|
-
"
|
|
57
|
-
|
|
58
|
-
"repository": {
|
|
59
|
-
"type": "git",
|
|
60
|
-
"url": "https://github.com/wesreid/oui.git"
|
|
61
|
-
},
|
|
62
|
-
"keywords": [
|
|
63
|
-
"oui",
|
|
64
|
-
"openui",
|
|
65
|
-
"ai",
|
|
66
|
-
"agent",
|
|
67
|
-
"ui",
|
|
68
|
-
"specification",
|
|
69
|
-
"protocol"
|
|
70
|
-
],
|
|
71
|
-
"scripts": {
|
|
72
|
-
"build": "tsup",
|
|
73
|
-
"typecheck": "tsc --noEmit && npm run typecheck:contract",
|
|
74
|
-
"lint": "eslint src",
|
|
75
|
-
"test": "vitest run",
|
|
76
|
-
"test:watch": "vitest",
|
|
77
|
-
"prepare": "husky",
|
|
78
|
-
"prepublishOnly": "npm run build",
|
|
79
|
-
"typecheck:contract": "tsc --noEmit --strict --target ES2022 --module ESNext --moduleResolution bundler __tests__/create-oui.compile.test-d.ts"
|
|
76
|
+
"engines": {
|
|
77
|
+
"node": ">=18"
|
|
80
78
|
},
|
|
81
79
|
"peerDependencies": {
|
|
82
80
|
"react": ">=18.0.0"
|
|
@@ -90,26 +88,22 @@
|
|
|
90
88
|
"@testing-library/react": "^16.3.3",
|
|
91
89
|
"@types/react": "^19.0.0",
|
|
92
90
|
"@types/react-dom": "^19.3.0",
|
|
93
|
-
"@typescript-eslint/eslint-plugin": "^8.0.0",
|
|
94
|
-
"@typescript-eslint/parser": "^8.0.0",
|
|
95
|
-
"eslint": "^9.0.0",
|
|
96
|
-
"husky": "^9.1.7",
|
|
97
91
|
"jsdom": "^26.1.0",
|
|
98
|
-
"lint-staged": "^16.4.0",
|
|
99
|
-
"prettier": "^3.9.6",
|
|
100
92
|
"react": "^19.0.0",
|
|
101
93
|
"react-dom": "^19.3.0",
|
|
102
94
|
"tsup": "^8.4.0",
|
|
103
95
|
"typescript": "^5.8.0",
|
|
104
96
|
"vitest": "^3.0.0"
|
|
105
97
|
},
|
|
106
|
-
"
|
|
107
|
-
"
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
"
|
|
112
|
-
|
|
113
|
-
|
|
98
|
+
"publishConfig": {
|
|
99
|
+
"access": "public",
|
|
100
|
+
"provenance": true
|
|
101
|
+
},
|
|
102
|
+
"scripts": {
|
|
103
|
+
"build": "tsup",
|
|
104
|
+
"typecheck": "tsc --noEmit && npm run typecheck:contract",
|
|
105
|
+
"test": "vitest run",
|
|
106
|
+
"typecheck:contract": "tsc --noEmit --strict --target ES2022 --module ESNext --moduleResolution bundler __tests__/create-oui.compile.test-d.ts",
|
|
107
|
+
"clean": "rm -rf dist"
|
|
114
108
|
}
|
|
115
|
-
}
|
|
109
|
+
}
|