Documentation
¶
There is no documentation for this package.
Directories
¶
| Path | Synopsis |
|---|---|
|
datatugapp/datatugui
Package datatugui is the application layer of the DataTug terminal UI: the registry of root modules, the shared main menu, the Bubble Tea app model that hosts the tuigoff navigation shell, and the helpers every screen uses.
|
Package datatugui is the application layer of the DataTug terminal UI: the registry of root modules, the shared main menu, the Bubble Tea app model that hosts the tuigoff navigation shell, and the helpers every screen uses. |
|
datatugapp/datatugui/dtapiservice
Package dtapiservice is the API Monitor screen of the DataTug terminal UI.
|
Package dtapiservice is the API Monitor screen of the DataTug terminal UI. |
|
datatugapp/datatugui/dtproject
Package dtproject is the Projects module of the DataTug terminal UI: the list of local and GitHub projects, the screens of an open project, the wizard that creates a project and the flow that adds DataTug to an existing GitHub repository.
|
Package dtproject is the Projects module of the DataTug terminal UI: the list of local and GitHub projects, the screens of an open project, the wizard that creates a project and the flow that adds DataTug to an existing GitHub repository. |
|
datatugapp/datatugui/dtsettings
Package dtsettings is the Settings screen of the DataTug terminal UI: the config file, syntax highlighted.
|
Package dtsettings is the Settings screen of the DataTug terminal UI: the config file, syntax highlighted. |
|
datatugapp/datatugui/dtviewers/clouds
Package clouds holds what the cloud viewers (Google Cloud, AWS, Azure) share.
|
Package clouds holds what the cloud viewers (Google Cloud, AWS, Azure) share. |
|
datatugapp/datatugui/dtviewers/clouds/aws/awsui
Package awsui is the Amazon Web Services viewer.
|
Package awsui is the Amazon Web Services viewer. |
|
datatugapp/datatugui/dtviewers/clouds/azure/azureui
Package azureui is the Microsoft Azure viewer.
|
Package azureui is the Microsoft Azure viewer. |
|
datatugapp/datatugui/dtviewers/clouds/gcloud/gcloudui
Package gcloudui is the Google Cloud viewer: projects, credentials and the Firestore databases of a project.
|
Package gcloudui is the Google Cloud viewer: projects, credentials and the Firestore databases of a project. |
|
datatugapp/datatugui/dtviewers/dbviewer
Package dbviewer is the DB viewer of the Viewers module: a chooser of database kinds, the SQLite and inGitDB home screens, and the browser of one database (tables and views, their columns, foreign keys, referrers and content).
|
Package dbviewer is the DB viewer of the Viewers module: a chooser of database kinds, the SQLite and inGitDB home screens, and the browser of one database (tables and views, their columns, foreign keys, referrers and content). |
|
commercial
|
|
|
internal
|
|
|
crossverify
Package crossverify checks that a database an engine loaded from a generated SQL script holds what the SQLite source holds: the same tables, columns, keys, indexes and every value.
|
Package crossverify checks that a database an engine loaded from a generated SQL script holds what the SQLite source holds: the same tables, columns, keys, indexes and every value. |
|
hermetictest
Package hermetictest gives every test binary in this module the same guarantee: nothing a test runs can read or write the real developer's home, XDG config, or XDG cache directories.
|
Package hermetictest gives every test binary in this module the same guarantee: nothing a test runs can read or write the real developer's home, XDG config, or XDG cache directories. |
|
pgstandin
Package pgstandin gives the tests of this module a PostgreSQL database that has no server: a real *dalgo2postgres.Database whose connection pool lost its server, so that every call that needs a connection fails the way a read fails when the server was restarted, the password was changed or the connection limit was reached: with the adapter's own connection error, a fixed sentence that holds nothing of the configuration (dalgo2postgres v0.6.0 and later; before it the call failed with the text pgx writes, which names the user).
|
Package pgstandin gives the tests of this module a PostgreSQL database that has no server: a real *dalgo2postgres.Database whose connection pool lost its server, so that every call that needs a connection fails the way a read fails when the server was restarted, the password was changed or the connection limit was reached: with the adapter's own connection error, a fixed sentence that holds nothing of the configuration (dalgo2postgres v0.6.0 and later; before it the call failed with the text pgx writes, which names the user). |
|
plainfs
Package plainfs writes, reads, renames and removes files and folders inside a project folder only as plain files in plain folders.
|
Package plainfs writes, reads, renames and removes files and folders inside a project folder only as plain files in plain folders. |
|
sourcecases
Package sourcecases generates the source strings the DT-0C property test feeds to every command path that takes a source: every scheme the CLI knows, in lower, upper and mixed case, bare and wrapped in another scheme, with a generated secret in each position a parser can read as userinfo or a user can put one: userinfo (with and without a user name), a token standing alone as the user name, the position a parser misreads as userinfo ("alice:42/secret@"), a token or a user name that holds a slash (so no colon or "@" comes before a slash), userinfo after a UNC start ("\\alice:secret@"), a user name with a slash after a UNC start, a token as the user name straight after a UNC start and after a UNC start and one more separator (a backslash or a slash), a second URL written after an explicit path start ("/" or "./") that holds the userinfo, the query string and the fragment.
|
Package sourcecases generates the source strings the DT-0C property test feeds to every command path that takes a source: every scheme the CLI knows, in lower, upper and mixed case, bare and wrapped in another scheme, with a generated secret in each position a parser can read as userinfo or a user can put one: userinfo (with and without a user name), a token standing alone as the user name, the position a parser misreads as userinfo ("alice:42/secret@"), a token or a user name that holds a slash (so no colon or "@" comes before a slash), userinfo after a UNC start ("\\alice:secret@"), a user name with a slash after a UNC start, a token as the user name straight after a UNC start and after a UNC start and one more separator (a backslash or a slash), a second URL written after an explicit path start ("/" or "./") that holds the userinfo, the query string and the fragment. |
|
strictjson
Package strictjson decodes security-relevant JSON documents (connection descriptors, recovery references) that must be exactly one object with no duplicate keys at any depth, so two readers can never disagree on a value.
|
Package strictjson decodes security-relevant JSON documents (connection descriptors, recovery references) that must be exactly one object with no duplicate keys at any depth, so two readers can never disagree on a value. |
|
pkg
|
|
|
accesspolicies
Package accesspolicies discovers and decodes the DALgo access policies a DataTug user keeps on disk, runs a query through them as a secured application would, and explains what the policies did to that query.
|
Package accesspolicies discovers and decodes the DALgo access policies a DataTug user keeps on disk, runs a query through them as a secured application would, and explains what the policies did to that query. |
|
agentaccess
Package agentaccess is the shared-token access model of a local DataTug agent (`datatug serve`, and the daemon that runs it): loopback plus a token.
|
Package agentaccess is the shared-token access model of a local DataTug agent (`datatug serve`, and the daemon that runs it): loopback plus a token. |
|
apimonitor
Package apimonitor observes local API lifecycle and request metadata in memory.
|
Package apimonitor observes local API lifecycle and request metadata in memory. |
|
auth/device
Package device provides DataTug's shared auth.sneat.co device-login command.
|
Package device provides DataTug's shared auth.sneat.co device-login command. |
|
bigqueryread
Package bigqueryread composes the released BigQuery driver with DataTug policies.
|
Package bigqueryread composes the released BigQuery driver with DataTug policies. |
|
callercontext
Package callercontext names the AI harness (and its session) a DataTug command runs under, from the harness's own environment, so local records such as policy exception proposals and their audit events can say who proposed or used what.
|
Package callercontext names the AI harness (and its session) a DataTug command runs under, from the harness's own environment, so local records such as policy exception proposals and their audit events can say who proposed or used what. |
|
chat
Package chat implements DataTug Chat: an aichat agent loop produces TugQL, DataTug executes it into structured results, and session-owned RecordSets persist those results independently of the model provider's memory.
|
Package chat implements DataTug Chat: an aichat agent loop produces TugQL, DataTug executes it into structured results, and session-owned RecordSets persist those results independently of the model provider's memory. |
|
chat/narrowing
Package narrowing decides, before a chat turn reaches the AI model, which of a project's tables the model needs to see.
|
Package narrowing decides, before a chat turn reaches the AI model, which of a project's tables the model needs to see. |
|
chat/narrowing/narrowingtest
Package narrowingtest holds the fixtures the narrowing tests share: the Chinook schema (11 tables) and a fake decision engine standing in for Jev (Scorer).
|
Package narrowingtest holds the fixtures the narrowing tests share: the Chinook schema (11 tables) and a fake decision engine standing in for Jev (Scorer). |
|
cloudapi
Package cloudapi carries the DataTug cloud API client's host failover.
|
Package cloudapi carries the DataTug cloud API client's host failover. |
|
cloudproject
Package cloudproject reads a DataTug Cloud project owned by a Space through the DataTug backend's /v0/datatug/* endpoints, the same reads datatug.app makes.
|
Package cloudproject reads a DataTug Cloud project owned by a Space through the DataTug backend's /v0/datatug/* endpoints, the same reads datatug.app makes. |
|
comparecache
Package comparecache is a server-private SQLite convenience store for comparison rows.
|
Package comparecache is a server-private SQLite convenience store for comparison rows. |
|
daemon
Package daemon owns the one local, read-only `datatug serve` process that AI-agent mods use so their cards can link to the DataTug web UI (spec/features/cli/daemon).
|
Package daemon owns the one local, read-only `datatug serve` process that AI-agent mods use so their cards can link to the DataTug web UI (spec/features/cli/daemon). |
|
dbcompare
Package dbcompare compares the schemas and complete rows of two DALgo databases.
|
Package dbcompare compares the schemas and complete rows of two DALgo databases. |
|
dbcopy
Package dbcopy implements the `datatug db copy` cross-engine database copy primitive.
|
Package dbcopy implements the `datatug db copy` cross-engine database copy primitive. |
|
dbcopy/faithful
Package faithful copies a SQL database between SQLite and PostgreSQL and keeps everything the two engines can both express: tables, columns, nullability, primary keys (composite too), foreign keys (composite too, with their ON DELETE / ON UPDATE actions), unique constraints, indexes, check constraints, defaults, auto-increment columns, and every value byte for byte.
|
Package faithful copies a SQL database between SQLite and PostgreSQL and keeps everything the two engines can both express: tables, columns, nullability, primary keys (composite too), foreign keys (composite too, with their ON DELETE / ON UPDATE actions), unique constraints, indexes, check constraints, defaults, auto-increment columns, and every value byte for byte. |
|
dbcopy/filter
Package filter — CLI mini-syntax parsers.
|
Package filter — CLI mini-syntax parsers. |
|
deeplink
Package deeplink reads the address of a page of the DataTug web app (https://datatug.app/...) into what the terminal UI needs to open the same project and page: `datatug ui --deep-link <address>`.
|
Package deeplink reads the address of a page of the DataTug web app (https://datatug.app/...) into what the terminal UI needs to open the same project and page: `datatug ui --deep-link <address>`. |
|
demofixtures
Package demofixtures holds the files `datatug demo install` writes into the local demo project: the pinned Chinook SQLite database, a small inGitDB database of synthetic support notes, the curated Perimeter policy and the Meaning Graph sensitivity labels.
|
Package demofixtures holds the files `datatug demo install` writes into the local demo project: the pinned Chinook SQLite database, a small inGitDB database of synthetic support notes, the curated Perimeter policy and the Meaning Graph sensitivity labels. |
|
detective
Package detective adapts Core's shared Checks and Cases to local storage.
|
Package detective adapts Core's shared Checks and Cases to local storage. |
|
detectiveui
Package detectiveui provides native keyboard-driven Checks and Detective workspaces.
|
Package detectiveui provides native keyboard-driven Checks and Detective workspaces. |
|
dtentity
Package dtentity pretty-prints entities using the canonical Core named-table codec.
|
Package dtentity pretty-prints entities using the canonical Core named-table codec. |
|
dtroot
Package dtroot resolves the CLI-local data directory (~/datatug), used for CLI-only state and the "clone GitHub projects under here" convention.
|
Package dtroot resolves the CLI-local data directory (~/datatug), used for CLI-only state and the "clone GitHub projects under here" convention. |
|
executionstore
Package executionstore composes immutable repository-backed execution receipts with server-private SQLite snapshot bytes and lifecycle state.
|
Package executionstore composes immutable repository-backed execution receipts with server-private SQLite snapshot bytes and lifecycle state. |
|
gitpath
Package gitpath answers whether a path lies inside a Git working tree or a bare Git repository.
|
Package gitpath answers whether a path lies inside a Git working tree or a bare Git repository. |
|
httpsource
Package httpsource translates a datatug project's HTTP-type QueryDefs into a dalgo2http-backed dal.DB: one dalgo2http.Collection per query (see BuildCollection for the translation and its sensible-default policy for RowsPath/KeyField, since the QueryDef JSON schema does not yet carry those explicitly), snapshot fallback wired to the project's fixtures/http/ directory (see fixtureFS for how its flatly-named fixture files are bridged to dalgo2http's per-request snapshot keying), live-then-snapshot mode.
|
Package httpsource translates a datatug project's HTTP-type QueryDefs into a dalgo2http-backed dal.DB: one dalgo2http.Collection per query (see BuildCollection for the translation and its sensible-default policy for RowsPath/KeyField, since the QueryDef JSON schema does not yet carry those explicitly), snapshot fallback wired to the project's fixtures/http/ directory (see fixtureFS for how its flatly-named fixture files are bridged to dalgo2http's per-request snapshot keying), live-then-snapshot mode. |
|
incidentstore
Package incidentstore persists the Incidentius event stream in a repository.
|
Package incidentstore persists the Incidentius event stream in a repository. |
|
joinmeta
Package joinmeta reads the relations a TugQL query reads and the foreign keys of a database, from the query's own tree and from DALgo's engine-neutral schema calls (dbschema.ListCollections and DescribeCollection), never from engine-specific SQL.
|
Package joinmeta reads the relations a TugQL query reads and the foreign keys of a database, from the query's own tree and from DALgo's engine-neutral schema calls (dbschema.ListCollections and DescribeCollection), never from engine-specific SQL. |
|
localprojects
Package localprojects manages projects inside an operator-selected creation root.
|
Package localprojects manages projects inside an operator-selected creation root. |
|
mcpserver
Package mcpserver exposes selected reads of a separately running local DataTug agent over MCP.
|
Package mcpserver exposes selected reads of a separately running local DataTug agent over MCP. |
|
meaninglabelsfile
Package meaninglabelsfile keeps a local project's Meaning Graph label document at <project>/datatug-labels.json and its audit trail at <project>/.datatug/audit/labels.jsonl.
|
Package meaninglabelsfile keeps a local project's Meaning Graph label document at <project>/datatug-labels.json and its audit trail at <project>/.datatug/audit/labels.jsonl. |
|
personalqueries
Package personalqueries resolves the on-disk directory a principal's personal (never-shared) queries live under for `datatug serve` — see ResolveProjectDir.
|
Package personalqueries resolves the on-disk directory a principal's personal (never-shared) queries live under for `datatug serve` — see ResolveProjectDir. |
|
policyexceptions
Package policyexceptions keeps the local policy exceptions of one DataTug project: time-boxed allow rules that the policy author adds to their own local policy, on this machine, for one role, one table of one source and an exact list of fields.
|
Package policyexceptions keeps the local policy exceptions of one DataTug project: time-boxed allow rules that the policy author adds to their own local policy, on this machine, for one role, one table of one source and an exact list of fields. |
|
privateadmission
Package privateadmission serializes local native journal writes with session SQLite mutations.
|
Package privateadmission serializes local native journal writes with session SQLite mutations. |
|
projectvisibility
Package projectvisibility coordinates discovery metadata with restoration of legacy native archives.
|
Package projectvisibility coordinates discovery metadata with restoration of legacy native archives. |
|
querybody
Package querybody adapts a saved query's explicit body representation to the structured document accepted by DataTug's policy-bound executor.
|
Package querybody adapts a saved query's explicit body representation to the structured document accepted by DataTug's policy-bound executor. |
|
queryops
Package queryops derives bounded, previewable TugQL operations without running a query or resolving any source.
|
Package queryops derives bounded, previewable TugQL operations without running a query or resolving any source. |
|
queryparams
Package queryparams converts declared query defaults without changing driver row types.
|
Package queryparams converts declared query defaults without changing driver row types. |
|
queryresults
Package queryresults keeps the private result files that `datatug query run --result-id <id>` writes: <root>/<id>/data.json (the rows) and <root>/<id>/meta.json (everything a card needs except the rows).
|
Package queryresults keeps the private result files that `datatug query run --result-id <id>` writes: <root>/<id>/data.json (the rows) and <root>/<id>/meta.json (everything a card needs except the rows). |
|
querywrite
Package querywrite holds the guards every saved-query write path of this agent shares - the legacy queries/create_query, update_query and delete_query routes and queries/capture - so each check has one definition, whichever route a write takes.
|
Package querywrite holds the guards every saved-query write path of this agent shares - the legacy queries/create_query, update_query and delete_query routes and queries/capture - so each check has one definition, whichever route a write takes. |
|
resultops
Package resultops applies deterministic local operations to captured result snapshots.
|
Package resultops applies deterministic local operations to captured result snapshots. |
|
schemers/dalgoschema
Package dalgoschema is a schemer.SchemaProvider built on DALgo's dbschema.SchemaReader, so one scanner serves every database whose DALgo adapter can read its own schema.
|
Package dalgoschema is a schemer.SchemaProvider built on DALgo's dbschema.SchemaReader, so one scanner serves every database whose DALgo adapter can read its own schema. |
|
secureread
Package secureread is the policy-enforced read executor for the DataTug agent server (`datatug serve`).
|
Package secureread is the policy-enforced read executor for the DataTug agent server (`datatug serve`). |
|
sessionnative
Package sessionnative provides trusted local native/session worker ports.
|
Package sessionnative provides trusted local native/session worker ports. |
|
sessionresultcache
Package sessionresultcache retains bounded display results on one device.
|
Package sessionresultcache retains bounded display results on one device. |
|
sessionstore
Package sessionstore opens a private OVDB SQLite authority for working sessions.
|
Package sessionstore opens a private OVDB SQLite authority for working sessions. |
|
tugqlbind
Package tugqlbind binds the databases a saved TugQL query reads to project sources (spec/features/cli/query, REQ:cross-database-sources).
|
Package tugqlbind binds the databases a saved TugQL query reads to project sources (spec/features/cli/query, REQ:cross-database-sources). |
|
watch
Package watch implements project Watches over DALGO transactional state.
|
Package watch implements project Watches over DALGO transactional state. |
|
watchdaemon
Package watchdaemon hosts DataTug's independently composable Watch roles.
|
Package watchdaemon hosts DataTug's independently composable Watch roles. |
|
webui
Package webui installs, selects and serves the compiled DataTug web app (the public archives of github.com/datatug/web-ui) from the CLI's own HTTP server.
|
Package webui installs, selects and serves the compiled DataTug web app (the public archives of github.com/datatug/web-ui) from the CLI's own HTTP server. |
Click to show internal directories.
Click to hide internal directories.



