You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 0362a2c
Browse filesBrowse the repository at this point in the historyBrowse files
fix(cli,codegen-ts): first-run friction found by two cold agent sessions
Two fresh Claude sessions built a small app from `meta init` with no hints. Both
hit the same walls, fixed here:
- The scaffolded metaobjects.config.ts failed the scaffolded
tsconfig.codegen.json check: `Property 'extStyle' is missing`. extStyle is
optional on the user config now and normalizeConfig fills DEFAULT_EXT_STYLE
("js"), the value every generator already assumed.
- `meta eject entity` alone made `meta gen` fail with `codegen config is missing
dbImport`, in a project whose queries take db as a parameter. The runner
installed dbImport as a throwing getter, and the reference entity/routes
generators copy the render context with an object spread, which reads every
property. The runner now hands generators a marker value and fails only when
the marker reaches emitted output, so copies adopters already ejected are
fixed too. A new test with the reference entity generator fails on the old
runner and passes now.
- A new database pointed at `meta migrate --apply` only got "--slug required".
That error, and meta init's next steps, now name `meta migrate apply-pending`.
- ERR_PARTIAL_UNRESOLVED names the file to create and the --prompts flag.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01M1mRRB1K2WdYy82kntMQdx
0 commit comments