Skip to content

Add data-app commands - #67

Closed
ranquild wants to merge 2 commits into
query-actionsfrom
data-apps
Closed

ranquild wants to merge 2 commits into
query-actionsfrom
data-apps

Conversation

@ranquild

@ranquild ranquild commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

What

mb data-app commands over /api/apps and /api/typed-schemas, stacked on #66.

  • push [<dir>] reads data_app.yaml and the built bundle at its path, then updates the app with that slug, or creates it when there is none. Only the manifest and the bundle reach Metabase; the app's source does not.
  • list, get, create, update, delete, draft cover the rest of the app lifecycle. create and update take a JSON body, and --bundle <file> reads a built bundle into it.
  • schema prints the generated metabase.data.ts to stdout, with --database, --library-collections, --include-data-library, --include-metric-library and --include-models as the scope.
  • repo-status and permission-warnings report the git sync repository and the users who cannot read an app's tables.

Data-app methods need v65 and the data-apps token feature (dataApps); schema needs v65 (typedSchemas).

Still to come in this PR: the data-app skills ported from metabase/metabase skills/.

Testing

bun run check passes. Wire-level unit tests in packages/client/src/resources/data-app.test.ts cover every method, the schema scope's query parameters, and the refusal without the token feature. packages/cli/src/commands/data-app/manifest.test.ts covers the manifest-to-API mapping push sends.

🤖 Generated with Claude Code

ranquild and others added 2 commits October 2, 2026 17:56
mb data-app list|get|push|create|update|delete|draft|schema|repo-status|permission-warnings
over /api/apps and /api/typed-schemas, gated on v65 and the data-apps token feature.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
data-app (scaffold + publish with mb data-app push), data-app-semantic-layer,
data-app-actions, data-app-routing and data-app-migrate, with the project
template, gated on the dataApps feature.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ranquild ranquild closed this Oct 10, 2026
@ranquild
ranquild deleted the data-apps branch October 10, 2026 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant