@lunora/cli 1.0.0-alpha.341 → 1.0.0-alpha.342

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": "@lunora/cli",
3
- "version": "1.0.0-alpha.341",
3
+ "version": "1.0.0-alpha.342",
4
4
  "description": "The Lunora CLI: init, dev, deploy, codegen, migrate, seed, doctor, insights, logs, registry, and the rest of the project commands",
5
5
  "keywords": [
6
6
  "agent-skills",
@@ -52,16 +52,16 @@
52
52
  },
53
53
  "dependencies": {
54
54
  "@bomb.sh/tab": "0.0.22",
55
- "@lunora/advisor": "1.0.0-alpha.186",
55
+ "@lunora/advisor": "1.0.0-alpha.187",
56
56
  "@lunora/bindings": "1.0.0-alpha.96",
57
- "@lunora/codegen": "1.0.0-alpha.256",
58
- "@lunora/config": "1.0.0-alpha.299",
57
+ "@lunora/codegen": "1.0.0-alpha.257",
58
+ "@lunora/config": "1.0.0-alpha.300",
59
59
  "@lunora/container": "1.0.0-alpha.69",
60
60
  "@lunora/d1": "1.0.0-alpha.162",
61
61
  "@lunora/errors": "1.0.0-alpha.50",
62
62
  "@lunora/mcp": "1.0.0-alpha.209",
63
63
  "@lunora/runtime": "1.0.0-alpha.176",
64
- "@lunora/seed": "1.0.0-alpha.184",
64
+ "@lunora/seed": "1.0.0-alpha.185",
65
65
  "@visulima/cerebro": "3.1.1",
66
66
  "@visulima/error": "6.1.0",
67
67
  "@visulima/fs": "6.0.7",
@@ -298,8 +298,10 @@ export default defineModule({ description: "Invoices and payments", tables: ["in
298
298
  - Write `description` and `tables` inline; codegen reads them without running
299
299
  the file. Modules do not nest.
300
300
  - `cross_module_table_write` warns when a function outside the owning module
301
- writes an owned table (insert, `patch`/`replace`/`delete`, batch or facade).
302
- Route the write through a function in the owning module instead.
301
+ writes an owned table (insert, `patch`/`replace`/`delete`, batch or facade),
302
+ including through a same-file helper. Move the write into the owning module:
303
+ an exported helper there taking the caller's `ctx` (`openInvoice(ctx, …)`), or
304
+ a registered owner mutation via `ctx.runMutation(internal.<owner>.<fn>, …)`.
303
305
  - Installed components (`.extend(...)` schema extensions) count as modules that
304
306
  own their prefixed tables: write them through the component's functions, not
305
307
  `ctx.db` directly.