@base44/app-plugin-commerce 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@base44/app-plugin-commerce",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "description": "Base44 Commerce plugin — entities, backend functions, shared commerce engine, admin UI and the commerce skill, shipped as copyable source",
5
5
  "keywords": [
6
6
  "base44",
@@ -22,10 +22,12 @@ the file that mentioned them.
22
22
 
23
23
  ## Installing right now?
24
24
 
25
- Read **[`install/01-install.md`](./install/01-install.md)** and follow it. It
26
- routes you to `install/02-storefront.md` when you start the UI and
27
- `install/03-data.md` when you seed the catalog — in that order, at those
28
- moments. Read nothing else up front.
25
+ Read all three stages **in one turn** — [`install/01-install.md`](./install/01-install.md),
26
+ [`install/02-storefront.md`](./install/02-storefront.md),
27
+ [`install/03-data.md`](./install/03-data.md) then work them in that order:
28
+ install, then the storefront UI, then the catalog. Every install runs all three,
29
+ so fetching them one at a time defers nothing you will not read anyway and costs
30
+ a model round trip per file. Read nothing *else* up front.
29
31
 
30
32
  ## Four things to hold from the start
31
33
 
@@ -109,7 +111,9 @@ const { products, has_next } = res.data.data;
109
111
 
110
112
  ## Where to look for what
111
113
 
112
- Open a file when its work starts — not while planning.
114
+ Open a file when its work starts — not while planning. The exception is the
115
+ three `install/` stages: an install reads all of them, so they come as one
116
+ batch (above).
113
117
 
114
118
  | Topic | Open when | Size |
115
119
  |---|---|---|
@@ -132,10 +136,13 @@ Open a file when its work starts — not while planning.
132
136
  | [`docs/api-admin.md`](./docs/api-admin.md) | changing admin pages, automating admin functions, the full seed contract | 24K |
133
137
 
134
138
  **The read budget.** Content you pull into context is re-read on every later
135
- call, so a file opened while planning costs many times what it costs opened at
136
- the moment it is used. Open one reference when its task starts, take what you
137
- need, and when a stage's checklist passes, record its carry-forward lines and
138
- treat the file as gone.
139
+ call, so a file you *might* not need costs many times more when opened while
140
+ planning than at the moment it is used. That is the rule for `references/` and
141
+ `docs/`: open one when its task starts, take what you need, and when a stage's
142
+ checklist passes, record its carry-forward lines and treat the file as gone.
143
+ Deferring is worth a round trip only when it might save the read entirely — so
144
+ it is the wrong instinct for the three install stages, which every install
145
+ reads. Batch those.
139
146
 
140
147
  **The install stages are self-contained.** Every request and response shape they
141
148
  build against is written out in them — `install/02-storefront.md` carries a table