@rudra-js/core 0.7.5 → 0.7.6

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.
Files changed (2) hide show
  1. package/README.md +14 -4
  2. package/package.json +8 -6
package/README.md CHANGED
@@ -1,7 +1,16 @@
1
1
  # @rudra-js/core
2
2
 
3
- The contracts and logic that turn one tracking payload into one renderable
4
- component specification.
3
+ This package is part of [rudra-js](https://rudrajs.com).
4
+
5
+ rudra-js is an open-source TypeScript library (MIT) you install from npm. A language model designs one product-recommendation block for a page in your shop, rudra-js checks it against your catalog, and React renders it.
6
+
7
+ It is not a hosted platform, a visual or low-code app builder, or a workspace you sign up for.
8
+
9
+ You give this package one page view: the shopper and what they've been doing,
10
+ the page they're on, and the products you're willing to show. It gives back a
11
+ specification for the recommendations on that page, written by your model or
12
+ built without one, and checked against those products. There's no React in it.
13
+ `@rudra-js/react` turns the specification into markup.
5
14
 
6
15
  Every export of this package is documented at [rudrajs.com](https://rudrajs.com/docs).
7
16
 
@@ -55,8 +64,9 @@ appear, that's why. It isn't your catalog.
55
64
 
56
65
  Want to render a spec you wrote yourself, still without a model? Pass
57
66
  `createFixedSpecProvider(spec)` as the provider and it answers every request with
58
- that spec. That's how our tests exercise the blocks the deterministic component
59
- never emits.
67
+ that spec. It still goes through reconciliation, so it needs a headline that
68
+ survives screening and at least one product on show, or you get the
69
+ deterministic component.
60
70
 
61
71
  ## Options
62
72
 
package/package.json CHANGED
@@ -1,15 +1,17 @@
1
1
  {
2
2
  "name": "@rudra-js/core",
3
- "version": "0.7.5",
4
- "description": "The contracts and logic that turn one tracking payload into one renderable component specification",
3
+ "version": "0.7.6",
4
+ "description": "Core of rudra-js, a TypeScript library for LLM-designed product recommendations: turns one page view into a recommendation spec checked against your catalog",
5
5
  "keywords": [
6
+ "rudra-js",
7
+ "product-recommendations",
6
8
  "llm",
7
- "server-components",
8
9
  "recommendations",
9
10
  "ecommerce",
10
11
  "personalization",
11
12
  "ssr",
12
- "zod"
13
+ "zod",
14
+ "typescript"
13
15
  ],
14
16
  "license": "MIT",
15
17
  "author": "Clive Dsouza",
@@ -54,10 +56,10 @@
54
56
  "zod": "^4.0.0"
55
57
  },
56
58
  "peerDependencies": {
57
- "@rudra-js/attested": "^0.7.5"
59
+ "@rudra-js/attested": "^0.7.6"
58
60
  },
59
61
  "devDependencies": {
60
- "@rudra-js/attested": "0.7.5",
62
+ "@rudra-js/attested": "0.7.6",
61
63
  "@types/node": "^26.4.1"
62
64
  }
63
65
  }