Studio
Screenshots show Studio 0.1.23 with sample data; the interface is in English.
Start locally
Section titled “Start locally”Run this from your TapeDB project:
npx @tapedb/cli devThis starts the local database and Studio together. Once Wrangler is ready, open http://localhost:8787/. Keep the terminal running.
npx @tapedb/cli studio is a separate browser for an already running Worker; it does not start the database. Its default target is http://localhost:8787. An unavailable target cannot serve workspace data.
Open deployed data
Section titled “Open deployed data”Open your Worker’s /_tapedb/studio page. It is served when defineTapeDB receives studio from @tapedb/tapedb/studio; init writes this configuration. Sign in through your app’s session or Cloudflare Access. The identity adapter determines membership and role.
Enter a workspace id, or link directly with ?workspace=<id>. A deployed Worker does not list workspace ids. Every read and write follows the app’s access rules.
Structure and data
Section titled “Structure and data”The local Structure tab creates, edits, renames and deletes fields and models. It previews the schema edit and migration before applying them, including data loss. Deployed Studio shows structure read-only: change the schema in your project and redeploy.
In Data, double-click a cell to stage an edit. Save changes writes staged edits in one transaction. Select rows for bulk deletion; the preview explains related rows that are deleted, cleared or block the operation. Columns chooses visible columns; search matches text prefixes or an id.

Query console
Section titled “Query console”Run model calls using the same typed query model as your app:
db.task.findMany({ where: { done: false }, take: 50 })The console suggests models, methods, arguments and fields. Calls are parsed as data, not evaluated as JavaScript. Writes show an impact preview and require confirmation.

Import and export
Section titled “Import and export”Export all rows, filtered rows or selected rows as CSV or JSON. Dates use ISO 8601. Import validates values against the schema before writing. Rows with ids are upserts; rows without ids are created using field defaults. Up to 5,000 rows are written in one transaction.
Access and view as
Section titled “Access and view as”Access shows model and file rules, roles and the caller’s evaluated read filters. Local Studio also shows rules as written in the schema.
Locally, View as can select any role and subject. Deployed Studio keeps the signed-in subject and allows only the caller’s own role or a lower one. Queries and writes are checked as that caller. Reload to return to your own identity.

History
Section titled “History”Admins and owners can browse the workspace transaction log, newest first and live, filter it by model, and open each transaction’s operations and linked rows. Set audit: true in defineTapeDB to record writers and roles and enable each row’s Changes panel.
Values appear only when a model’s read rule is a role the caller meets; filter/check rules show changed field names instead. Personal values are never shown. Retention follows the workspace’s history settings.
Next: model and schema checks or access and identity.