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
feat(catalog): index image collections, JS actions, data transformers (schema v4)
These document types had no catalog table, so they were absent from the objects
index (and from describe auto-detect / catalog search). Add tables + views for
javascript_actions, image_collections, data_transformers and union them into
objects (JAVASCRIPT_ACTION / IMAGE_COLLECTION / DATA_TRANSFORMER).
A single generic builder (buildSimpleNamedDocs) populates them from the raw-unit
surface (ListRawUnitsByType + Name-only decode), so adding these types needed no
change to the CatalogReader interface or its backend implementation — keeping
clear of the in-flight backend rewrite on the modelsdk branch. Schema bumped to
v4 (caches rebuild on next refresh).
describe auto-detect now resolves image collections and data transformers by
bare name (JS actions are cataloged but have no describe CLI form, so they're
left out of auto-detect). Verified on a real project (17 image collections, 72
JS actions in objects; describe of a bare image-collection name works).
Agent-editor docs (agent/model/knowledge base/consumed MCP service) remain
uncataloged — they are CustomBlobDocuments with the name in a JSON blob, a
separate follow-up. (#658)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
14
14
15
15
### Changed
16
16
17
-
-**Catalog `objects` index includes associations** — the unified `objects` view now unions the `associations` table (`ObjectType = ASSOCIATION`), so it is a complete index for the cataloged document types and consumers no longer need a separate associations query. Catalog schema bumped to v3; cached `.mxcli/catalog.db` files rebuild automatically on the next `refresh catalog`. (Image collections, JavaScript actions, data transformers, and agent-editor docs are not yet cataloged at all, so they remain out of the index — tracked in #658.)
17
+
-**Catalog `objects` index includes associations** — the unified `objects` view now unions the `associations` table (`ObjectType = ASSOCIATION`), so it is a complete index for the cataloged document types and consumers no longer need a separate associations query. Catalog schema bumped to v3; cached `.mxcli/catalog.db` files rebuild automatically on the next `refresh catalog`.
18
+
-**Catalog indexes image collections, JavaScript actions, and data transformers** — these document types had no catalog table at all; they are now built (via the raw-unit surface, so no `CatalogReader`/backend change) into their own tables and unioned into `objects` (`IMAGE_COLLECTION`, `JAVASCRIPT_ACTION`, `DATA_TRANSFORMER`). `describe` auto-detect resolves image collections and data transformers by bare name. Catalog schema bumped to v4. (Agent-editor docs — agent/model/knowledge base/consumed MCP service — remain uncataloged: they are `CustomBlobDocument`s with the name inside a JSON blob; tracked in #658.)
0 commit comments