{"modulePath":"github.com/DavidGodefroid/locksql","version":"v0.20.0","isStandardLibrary":false,"packages":{"items":[{"path":"github.com/DavidGodefroid/locksql/cmd/locksql","name":"main","synopsis":"Command locksql lets AI agents query databases only through a human-approved console.","isRedistributable":true},{"path":"github.com/DavidGodefroid/locksql/internal/agentinit","name":"agentinit","synopsis":"Package agentinit implements `locksql init \u003cagent\u003e` and the user-scope wiring of bare `locksql` and `locksql doctor --fix`: it holds locksql's texts (templates/) and wires them through lockkit's agentwire, which owns the file mechanics.","isRedistributable":true},{"path":"github.com/DavidGodefroid/locksql/internal/client","name":"client","synopsis":"Package client is the secret-free side of locksql: lockkit's client (dial, hello, call) with locksql's names and its SQL methods.","isRedistributable":true},{"path":"github.com/DavidGodefroid/locksql/internal/config","name":"config","synopsis":"Package config loads locksql profiles from the project and user config files, applies defaults, refuses anything that looks like a secret, and computes the security-relevant policy of a profile.","isRedistributable":true},{"path":"github.com/DavidGodefroid/locksql/internal/console","name":"console","synopsis":"Package console is the human side of locksql: it holds the credentials and the only database connection, enforces the approved policy, shows every query to the human for approval, masks the results and writes the audit trail.","isRedistributable":true},{"path":"github.com/DavidGodefroid/locksql/internal/engine","name":"engine","synopsis":"Package engine defines the database engine interface the console drives, and the engine-independent types it returns: catalog descriptions, result sets and normalised query plans.","isRedistributable":true},{"path":"github.com/DavidGodefroid/locksql/internal/engine/mysql","name":"mysql","synopsis":"Package mysql is the MariaDB and MySQL engine, on the go-mysql-org client (chosen because it reports each result column's origin schema, table and column).","isRedistributable":true},{"path":"github.com/DavidGodefroid/locksql/internal/engine/postgres","name":"postgres","synopsis":"Package postgres is the PostgreSQL engine, on pgx v5.","isRedistributable":true},{"path":"github.com/DavidGodefroid/locksql/internal/engine/sqlite","name":"sqlite","synopsis":"Package sqlite is the SQLite engine, on the pure-Go modernc.org/sqlite driver.","isRedistributable":true},{"path":"github.com/DavidGodefroid/locksql/internal/ipc","name":"ipc","synopsis":"Package ipc is locksql's console protocol: lockkit's transport and methods (package lockkit/ipc, re-exported here under the same names) plus the SQL methods and their types.","isRedistributable":true},{"path":"github.com/DavidGodefroid/locksql/internal/mcpserver","name":"mcpserver","synopsis":"Package mcpserver exposes the locksql console to agents as MCP tools (spec §12).","isRedistributable":true},{"path":"github.com/DavidGodefroid/locksql/internal/pii","name":"pii","synopsis":"Package pii decides which result cells must be masked: column rules kept in .locksql/pii.toml, rules proposed from the schema, value detectors (email, phone, IBAN, card, national ids) and the masking itself.","isRedistributable":true},{"path":"github.com/DavidGodefroid/locksql/internal/product","name":"product","synopsis":"Package product is locksql's identity on lockkit: its names, accounts, directories and keychain service.","isRedistributable":true},{"path":"github.com/DavidGodefroid/locksql/internal/proxycmd","name":"proxycmd","synopsis":"Package proxycmd reaches a database through a command whose stdin and stdout carry the connection, as OpenSSH's ProxyCommand: docker exec, kubectl exec, or ssh to a host that relays to a socket.","isRedistributable":true},{"path":"github.com/DavidGodefroid/locksql/internal/render","name":"render","synopsis":"Package render turns a (masked) result into the text an agent sees: TSV or JSON, within the profile's row, cell and output caps.","isRedistributable":true},{"path":"github.com/DavidGodefroid/locksql/internal/sqlast","name":"sqlast","synopsis":"Package sqlast parses the read statements an agent may run (SELECT, WITH ...","isRedistributable":true},{"path":"github.com/DavidGodefroid/locksql/internal/sqlaudit","name":"sqlaudit","synopsis":"Package sqlaudit is locksql's audit record on lockkit's audit log: one JSONL record per event, never secrets and never row data.","isRedistributable":true},{"path":"github.com/DavidGodefroid/locksql/internal/sqlclass","name":"sqlclass","synopsis":"Package sqlclass is locksql's first gate: a conservative, dialect-aware lexer and statement classifier.","isRedistributable":true},{"path":"github.com/DavidGodefroid/locksql/internal/sqlrefusal","name":"sqlrefusal","synopsis":"Package sqlrefusal holds locksql's refusal codes, registered with lockkit's refusal package, and re-exports that package so call sites import one name.","isRedistributable":true},{"path":"github.com/DavidGodefroid/locksql/internal/stats","name":"stats","synopsis":"Package stats reads the console's audit log and counts the refusals by code and by the token or node that triggered them, so that grammar work starts with the constructs users hit most.","isRedistributable":true},{"path":"github.com/DavidGodefroid/locksql/internal/weight","name":"weight","synopsis":"Package weight turns a normalised engine plan into a verdict: OK, WARN or REFUSE.","isRedistributable":true}],"total":21}}
