@lunora/cli 1.0.0-alpha.479 → 1.0.0-alpha.480

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.479",
3
+ "version": "1.0.0-alpha.480",
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",
@@ -56,16 +56,16 @@
56
56
  },
57
57
  "dependencies": {
58
58
  "@bomb.sh/tab": "0.0.22",
59
- "@lunora/advisor": "1.0.0-alpha.286",
59
+ "@lunora/advisor": "^1.0.0-alpha.287",
60
60
  "@lunora/bindings": "1.0.0-alpha.151",
61
- "@lunora/codegen": "1.0.0-alpha.396",
62
- "@lunora/config": "1.0.0-alpha.452",
61
+ "@lunora/codegen": "^1.0.0-alpha.397",
62
+ "@lunora/config": "^1.0.0-alpha.453",
63
63
  "@lunora/container": "1.0.0-alpha.108",
64
- "@lunora/d1": "1.0.0-alpha.232",
64
+ "@lunora/d1": "^1.0.0-alpha.233",
65
65
  "@lunora/errors": ">=1.0.0-alpha.51 <2.0.0-0",
66
- "@lunora/mcp": "1.0.0-alpha.290",
67
- "@lunora/runtime": "1.0.0-alpha.275",
68
- "@lunora/seed": "1.0.0-alpha.281",
66
+ "@lunora/mcp": "^1.0.0-alpha.291",
67
+ "@lunora/runtime": "^1.0.0-alpha.276",
68
+ "@lunora/seed": "^1.0.0-alpha.282",
69
69
  "@lunora/wire": "1.0.0-alpha.6",
70
70
  "@visulima/cerebro": "4.0.1",
71
71
  "@visulima/error": "6.1.0",
@@ -97,8 +97,9 @@ This writes `packages/search/` with `package.json` (ESM-only,
97
97
  `"sideEffects": false`, catalog versions), `src/index.ts`, `tsconfig.json`,
98
98
  `vitest.config.ts`, `packem.config.ts`, `eslint.config.js`,
99
99
  `prettier.config.js`, `project.json` (tags `type:package` +
100
- `category:<category>`), `.releaserc.json` and `README.md`. It does not create
101
- `__tests__/` or `LICENSE.md`. Then:
100
+ `category:<category>`) and `README.md`. It does not create `__tests__/` or
101
+ `LICENSE.md`, and no release config — `vis release` releases every non-private
102
+ package from the root `vis.config.ts`. Then:
102
103
 
103
104
  1. `cp packages/config/LICENSE.md packages/search/LICENSE.md` (packem and
104
105
  `files` expect it).
@@ -198,8 +198,10 @@ For an event with no query behind it ("a comment was posted"), the server
198
198
  publishes to a declared topic and the browser follows topics over one shared SSE
199
199
  connection (shared when the connection options match). Declare the stream and its
200
200
  topics once (`defineLiveStream({ id, topics: { post: { key: { postId: v.id("posts") },
201
- payload: v.object({...}) } }, onSubscribe })`), mount its two handlers on the HTTP
202
- router, and follow topics with the adapter's hook (all return `{ lastEvent, error }`).
201
+ payload: v.object({...}) } }, onSubscribe })`); codegen mounts its connect and control
202
+ routes on the worker through `.build()` or `.buildFrameworkWorker(host)`. Add `liveStreamRouter` yourself only when you compose the
203
+ host with `withLunora` or `withFrameworkWorker`; the generated `.buildFrameworkWorker(host)` already wraps it. Follow topics with the
204
+ adapter's hook (all return `{ lastEvent, error }`).
203
205
  `onSubscribe` receives the parsed `{ ctx, topic, key, raw }`; do not split a string.
204
206
  A subscribe for an undeclared name, wrong arity or a non-canonical spelling is denied
205
207
  before `onSubscribe` runs. Codegen writes `_generated/live.ts`: