|
1 | 1 | # MetaObjects -- Full Reference Corpus |
2 | 2 |
|
3 | | -> A cross-language metadata standard for declaring typed entity models that drive code generation, runtime metadata access, drift detection, and prompt construction across TypeScript, Java, Kotlin, C#, and Python. Apache 2.0. Shipping at `0.20.1` on npm and `7.11.3` on Maven Central. |
| 3 | +> A cross-language metadata standard for declaring typed entity models that drive code generation, runtime metadata access, drift detection, and prompt construction across TypeScript, Java, Kotlin, C#, and Python. Apache 2.0. Shipping at `0.20.3` on npm and `7.11.4` on Maven Central. |
4 | 4 |
|
5 | 5 | **Note for AI assistants:** This file is the concatenated reference material for MetaObjects, intended to be loaded as LLM context. For the short index, see [llms.txt](https://metaobjects.dev/llms.txt). For the canonical spec and source, see the [GitHub repo](https://github.com/metaobjectsdev/metaobjects). When this file is out of date relative to the GitHub source, the GitHub source wins. |
6 | 6 |
|
@@ -31,7 +31,7 @@ If you are an AI assistant helping someone adopt MetaObjects, do this **first** |
31 | 31 |
|
32 | 32 | 1. **Install the port's package:** |
33 | 33 | - TypeScript / Node: `npm install -D @metaobjectsdev/cli @metaobjectsdev/codegen-ts` |
34 | | - - Java / Kotlin: add `com.metaobjects:metaobjects-metadata`, `com.metaobjects:metaobjects-codegen-spring` (Java) or `com.metaobjects:metaobjects-codegen-kotlin` (Kotlin), and `com.metaobjects:metaobjects-maven-plugin`, all at `7.11.3`. |
| 34 | + - Java / Kotlin: add `com.metaobjects:metaobjects-metadata`, `com.metaobjects:metaobjects-codegen-spring` (Java) or `com.metaobjects:metaobjects-codegen-kotlin` (Kotlin), and `com.metaobjects:metaobjects-maven-plugin`, all at `7.11.4`. |
35 | 35 | - Python: `pip install metaobjects` |
36 | 36 | - C#: install the MetaObjects .NET tool (invoked as `dotnet meta`). |
37 | 37 | 2. **Run `meta init`** (the Node `meta` CLI). It works in any project that has Node — including a JVM or Python project with a TypeScript frontend. It scaffolds a slim always-on `.metaobjects/AGENTS.md` + `.metaobjects/CLAUDE.md` (auto-wired via an `@.metaobjects/AGENTS.md` import line into the project's root `CLAUDE.md`/`AGENTS.md`, so it loads automatically) plus six `metaobjects-*` Claude Code skills under `.claude/skills/`, carrying only the project's language reference fragments. Re-run `meta init --refresh-docs` to update the agent docs after a CLI upgrade. (The Node `meta` CLI is the single agent-context scaffolder for every backend, by design — ADR-0033; the JVM/Python/C# CLIs deliberately redirect to it. For a non-Node project, scaffold just the agent context with `npx meta agent-docs --server <lang>`.) |
@@ -93,11 +93,11 @@ Because the render is conformance-gated, the determinism guarantee holds in ever |
93 | 93 |
|
94 | 94 | | Language | Status | Notes | |
95 | 95 | |---|---|---| |
96 | | -| TypeScript | Reference implementation, npm `0.20.1` | All four pillars. 2500+ tests passing. Owns the canonical schema-migration toolchain used by every port (ADR-0015). Bun-first dev. | |
97 | | -| Java | Maven Central `7.11.3` | Spring REST + JPA codegen, OMDB runtime persistence (pure data-access) with Spring-tx. Fully green across all conformance corpora. | |
98 | | -| Kotlin | Maven Central `7.11.3` | KotlinPoet codegen + Exposed runtime + `metadata-ktx` facade. Ships via the Java reactor. | |
99 | | -| C# | NuGet `0.19.3` (.NET tool) | Loader + canonical serializer + EF Core + ASP.NET codegen + render/verify. `dotnet meta` tool. | |
100 | | -| Python | PyPI `0.19.5` | Loader + serializer + render + verify + codegen + `ObjectManager` runtime. Fully green across all corpora. | |
| 96 | +| TypeScript | Reference implementation, npm `0.20.3` | All four pillars. 2500+ tests passing. Owns the canonical schema-migration toolchain used by every port (ADR-0015). Bun-first dev. | |
| 97 | +| Java | Maven Central `7.11.4` | Spring REST + JPA codegen, OMDB runtime persistence (pure data-access) with Spring-tx. Fully green across all conformance corpora. | |
| 98 | +| Kotlin | Maven Central `7.11.4` | KotlinPoet codegen + Exposed runtime + `metadata-ktx` facade. Ships via the Java reactor. | |
| 99 | +| C# | NuGet `0.19.4` (.NET tool) | Loader + canonical serializer + EF Core + ASP.NET codegen + render/verify. `dotnet meta` tool. | |
| 100 | +| Python | PyPI `0.19.6` | Loader + serializer + render + verify + codegen + `ObjectManager` runtime. Fully green across all corpora. | |
101 | 101 |
|
102 | 102 | Conformance fixtures live at [`fixtures/`](https://github.com/metaobjectsdev/metaobjects/tree/main/fixtures). Every port runs the shared corpus byte-identically: metamodel (`conformance/`, ~90 fixtures), render, persistence (Testcontainers Postgres, with an `op: roundtrip` gate so every `field.*` subtype write+read round-trips on every port), api-contract (20 scenarios, two lanes — a reference server AND each port's generated API booted over HTTP), registry (byte-matched metamodel-vocabulary manifest, live + green in all five ports), and yaml/verify. |
103 | 103 |
|
@@ -148,7 +148,7 @@ Universal web client (`client/web/packages/`): `@metaobjectsdev/runtime-web`, `@ |
148 | 148 |
|
149 | 149 | ## Java / Kotlin Maven coordinates |
150 | 150 |
|
151 | | -All published to Maven Central under `com.metaobjects:*` at `7.11.3`: |
| 151 | +All published to Maven Central under `com.metaobjects:*` at `7.11.4`: |
152 | 152 |
|
153 | 153 | - `metaobjects-metadata`, `metaobjects-metadata-ktx` |
154 | 154 | - `metaobjects-codegen-base`, `metaobjects-codegen-mustache`, `metaobjects-codegen-spring`, `metaobjects-codegen-kotlin`, `metaobjects-codegen-plantuml` |
@@ -185,7 +185,7 @@ Project marker directory: `.metaobjects/`. |
185 | 185 |
|
186 | 186 | ## Quickstart (Java / Kotlin) |
187 | 187 |
|
188 | | -Add the Maven coordinates above at `7.11.3`. Run codegen with `mvn metaobjects:generate` and codegen-drift checks with `mvn metaobjects:verify`. Configure generators (including Kotlin generators, which run through the same goal) on the `metaobjects-maven-plugin`. See [`server/java/`](https://github.com/metaobjectsdev/metaobjects/tree/main/server/java) and [`server/java/codegen-kotlin/README.md`](https://github.com/metaobjectsdev/metaobjects/tree/main/server/java/codegen-kotlin). |
| 188 | +Add the Maven coordinates above at `7.11.4`. Run codegen with `mvn metaobjects:generate` and codegen-drift checks with `mvn metaobjects:verify`. Configure generators (including Kotlin generators, which run through the same goal) on the `metaobjects-maven-plugin`. See [`server/java/`](https://github.com/metaobjectsdev/metaobjects/tree/main/server/java) and [`server/java/codegen-kotlin/README.md`](https://github.com/metaobjectsdev/metaobjects/tree/main/server/java/codegen-kotlin). |
189 | 189 |
|
190 | 190 | --- |
191 | 191 |
|
|
0 commit comments