{"modulePath":"github.com/spilchen/sql-ai-tools","version":"v0.1.0","isStandardLibrary":false,"packages":{"items":[{"path":"github.com/spilchen/sql-ai-tools/cmd","name":"cmd","synopsis":"Package cmd hosts the cobra command tree for the crdb-sql CLI.","isRedistributable":true},{"path":"github.com/spilchen/sql-ai-tools/cmd/crdb-sql","name":"main","synopsis":"Command crdb-sql is the CLI entry point for the agent-friendly CockroachDB SQL tooling described in the project README.","isRedistributable":true},{"path":"github.com/spilchen/sql-ai-tools/cmd/gen-builtins","name":"main","synopsis":"gen-builtins reads a JSON builtin catalog (produced by extract-builtins) and emits a Go source file containing builtinsregistry.Register() calls for each function.","isRedistributable":true},{"path":"github.com/spilchen/sql-ai-tools/internal/builtinstubs","name":"builtinstubs","synopsis":"Package builtinstubs registers metadata-only stubs for CockroachDB builtin functions into the parser's builtins registry.","isRedistributable":true},{"path":"github.com/spilchen/sql-ai-tools/internal/catalog","name":"catalog","synopsis":"Package catalog provides a lightweight in-memory representation of a SQL schema loaded from CREATE TABLE DDL.","isRedistributable":true},{"path":"github.com/spilchen/sql-ai-tools/internal/config","name":"config","synopsis":"Package config loads the optional crdb-sql.yaml project file that maps schema-file globs to query-file globs.","isRedistributable":true},{"path":"github.com/spilchen/sql-ai-tools/internal/conn","name":"conn","synopsis":"Package conn manages pgwire connections to CockroachDB clusters.","isRedistributable":true},{"path":"github.com/spilchen/sql-ai-tools/internal/diag","name":"diag","synopsis":"Package diag converts CockroachDB parser errors into the structured output.Error type that the CLI envelope exposes to agents.","isRedistributable":true},{"path":"github.com/spilchen/sql-ai-tools/internal/mcp","name":"mcp","synopsis":"Package mcp builds the crdb-sql Model Context Protocol server.","isRedistributable":true},{"path":"github.com/spilchen/sql-ai-tools/internal/mcp/proxy","name":"proxy","synopsis":"Package proxy implements per-call routing of MCP tool calls from a long-lived `crdb-sql mcp` server to a sibling crdb-sql-vXXX backend whose parser quarter matches the caller's requested target_version.","isRedistributable":true},{"path":"github.com/spilchen/sql-ai-tools/internal/mcp/tools","name":"tools","synopsis":"Package tools provides MCP tool handler constructors for the SQL tools.","isRedistributable":true},{"path":"github.com/spilchen/sql-ai-tools/internal/output","name":"output","synopsis":"Package output defines the shared response shape every crdb-sql subcommand emits when --output=json, plus the renderer that switches between text and JSON.","isRedistributable":true},{"path":"github.com/spilchen/sql-ai-tools/internal/risk","name":"risk","synopsis":"Package risk provides a rule-based engine for detecting dangerous SQL patterns by inspecting the AST produced by the CockroachDB parser.","isRedistributable":true},{"path":"github.com/spilchen/sql-ai-tools/internal/safety","name":"safety","synopsis":"Package safety implements the Tier 3 statement allowlist that gates every cluster-bound command in crdb-sql (today: explain, simulate, execute).","isRedistributable":true},{"path":"github.com/spilchen/sql-ai-tools/internal/schemawarn","name":"schemawarn","synopsis":"Package schemawarn bridges catalog loader warnings into the standard envelope error stream.","isRedistributable":true},{"path":"github.com/spilchen/sql-ai-tools/internal/semcheck","name":"semcheck","synopsis":"Package semcheck provides Tier 1 (zero-config) semantic checks that operate on parsed ASTs without a schema catalog or cluster connection.","isRedistributable":true},{"path":"github.com/spilchen/sql-ai-tools/internal/sqlformat","name":"sqlformat","synopsis":"Package sqlformat wraps the cockroachdb-parser module to provide SQL pretty-printing.","isRedistributable":true},{"path":"github.com/spilchen/sql-ai-tools/internal/sqlinput","name":"sqlinput","synopsis":"Package sqlinput resolves SQL text from the three input sources every SQL-consuming subcommand supports: an inline -e expression, a positional file argument, or standard input.","isRedistributable":true},{"path":"github.com/spilchen/sql-ai-tools/internal/sqlparse","name":"sqlparse","synopsis":"Package sqlparse wraps the cockroachdb-parser module to provide SQL parsing utilities consumed by both the CLI and MCP layers.","isRedistributable":true},{"path":"github.com/spilchen/sql-ai-tools/internal/summarize","name":"summarize","synopsis":"Package summarize produces a structured, AST-only description of a SQL statement: the operation, the tables it touches, the WHERE predicates, the joins, the columns it mutates, and a delegated risk level from the risk package.","isRedistributable":true},{"path":"github.com/spilchen/sql-ai-tools/internal/testcorpus","name":"testcorpus","synopsis":"Package testcorpus provides shared infrastructure for fidelity tests that run the curated SQL corpus through various parser and formatter APIs.","isRedistributable":true},{"path":"github.com/spilchen/sql-ai-tools/internal/testutil/cockroachtest","name":"cockroachtest","synopsis":"Package cockroachtest spins up an in-memory single-node CockroachDB cluster (via `cockroach demo --background`) for use by integration tests in this module.","isRedistributable":true},{"path":"github.com/spilchen/sql-ai-tools/internal/validateresult","name":"validateresult","synopsis":"Package validateresult defines the JSON payload shape and shared constants used by the SQL validation surfaces (the `crdb-sql validate` CLI command and the `validate_sql` MCP tool).","isRedistributable":true},{"path":"github.com/spilchen/sql-ai-tools/internal/version","name":"version","synopsis":"Package version provides a registry of CockroachDB SQL features and the versions in which they were introduced (or removed).","isRedistributable":true},{"path":"github.com/spilchen/sql-ai-tools/internal/versionroute","name":"versionroute","synopsis":"Package versionroute selects the per-quarter crdb-sql backend that matches the user's --target-version and re-execs into it.","isRedistributable":true}],"total":25}}
