@sentientui/react 0.14.2 → 0.14.3
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 +2 -2
- package/llms.txt +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -7,13 +7,13 @@ learns which one converts best for each visitor type. Visit 1 learns; Visit 2 co
|
|
|
7
7
|
## Installation
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
npm install @sentientui/react # or: npx sentientui init (scaffolds everything)
|
|
10
|
+
npm install @sentientui/react # or: npx @sentientui/cli init (scaffolds everything)
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
## 60-second start (no account)
|
|
14
14
|
|
|
15
15
|
```bash
|
|
16
|
-
npx sentientui init && npm run dev
|
|
16
|
+
npx @sentientui/cli init && npm run dev
|
|
17
17
|
# open http://localhost:3000?sentient_persona=buyer — watch the page adapt
|
|
18
18
|
```
|
|
19
19
|
|
package/llms.txt
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
## Install (agent quickstart)
|
|
11
11
|
|
|
12
|
-
- React app: `npx sentientui init` — detects the framework (Next App/Pages, Vite, Remix, CRA),
|
|
12
|
+
- React app: `npx @sentientui/cli init` — detects the framework (Next App/Pages, Vite, Remix, CRA),
|
|
13
13
|
installs @sentientui/react, wraps the app with the provider, writes .env.local, scaffolds an
|
|
14
14
|
example. Works with NO API key (keyless local mode: deterministic simulated decisions).
|
|
15
15
|
Verify by opening the app with `?sentient_persona=buyer` vs `?sentient_persona=deal_seeker`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sentientui/react",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
"llms.txt"
|
|
44
44
|
],
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@sentientui/
|
|
47
|
-
"@sentientui/
|
|
46
|
+
"@sentientui/policy": "0.2.0",
|
|
47
|
+
"@sentientui/core": "0.11.1"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
50
|
"@testing-library/react": ">=14.0.0",
|