devtools_client library
DevTools inspector client for the Basalt Dart ORM.
The consumer-facing half of the ext.basalt.* protocol: an
InspectorClient that calls the extensions a host app registers via
package:basalt/devtools.dart, plus the shared DTOs and the
InspectorTransport seam each consumer implements over its own VM service
connection (the DevTools extension over serviceManager, the MCP server
over package:vm_service).
This entrypoint deliberately excludes the host runtime (no registry, no
dart:developer), so a web client pulls in nothing platform-specific.
Classes
- ColumnDto
- A table column in the transport model.
- ColumnFilter
-
One column predicate for
InspectorService.getTableData. - ForeignKeyDto
- A foreign-key target on a column.
- InspectorClient
-
Typed client for the
ext.basalt.*inspector protocol. - InspectorTransport
-
Invokes a
ext.basalt.*service extension and returns its decoded JSON body. - RegisteredInstance
- Public description of a registered connection.
- SchemaDto
- The schema of one instance.
- SqlResultDto
-
Result of
InspectorService.runSql: aread(columns+rows), awrite(executed, optional affected count), or anerror. - TableDto
- A table and its columns in the transport model.
- TablePageDto
- One page of table rows.
Enums
- BasaltExtension
-
The
ext.basalt.*VM service extensions that make up the inspector protocol.