@wix/agent-skills 1.29.0 → 1.30.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
CHANGED
|
@@ -23,11 +23,13 @@ doesn't express — or once the site exists and the work turns to managing or ex
|
|
|
23
23
|
|
|
24
24
|
- **Shipped code is the implementation.** Every vertical ships in the repository's
|
|
25
25
|
`wix-headless-templates` skill (`skills/wix-headless-templates/<vertical>/`), not in this skill's
|
|
26
|
-
folder
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
26
|
+
folder. `node <SKILL_ROOT>/install/templates.mjs` prints where that skill is: the sibling folder
|
|
27
|
+
`<SKILL_ROOT>/../wix-headless-templates/` when the install carried both skills (the cold start
|
|
28
|
+
does), else a one-time fetch into `<SKILL_ROOT>/templates/` (a second); every script below
|
|
29
|
+
resolves it the same way. **Every `templates/...` path in this document is relative to that
|
|
30
|
+
printed root** — there is no `templates/` folder inside this skill when the sibling exists.
|
|
31
|
+
The folder stays with the project (only the composed `project/` scaffolds are left out of its
|
|
32
|
+
repository), so a later session reads the version the project was built from. Each vertical holds:
|
|
31
33
|
- `app/` — the framework-agnostic core (TypeScript): a data layer that returns **plain,
|
|
32
34
|
serializable DTOs** (images resolved to https URLs, prices pre-formatted), React hooks, and
|
|
33
35
|
routing-free headless components. Works in Astro islands, Vite SPAs, and Next.
|