{"modulePath":"github.com/AllenMuu/mysql-cli","version":"v1.2.0","isStandardLibrary":false,"packages":{"items":[{"path":"github.com/AllenMuu/mysql-cli","name":"bundle","synopsis":"Package bundle embeds the mysql-cli skill definitions (skills/*) into the binary so that `mysql-cli skill install` can install them with no external dependencies - no repo checkout, no package manager.","isRedistributable":true},{"path":"github.com/AllenMuu/mysql-cli/cmd/mysql-cli","name":"main","synopsis":"","isRedistributable":true},{"path":"github.com/AllenMuu/mysql-cli/internal/agents","name":"agents","synopsis":"Package agents installs bundled mysql-cli skills into AI agents in each agent's native format.","isRedistributable":true},{"path":"github.com/AllenMuu/mysql-cli/internal/cli","name":"cli","synopsis":"Package cli wires cobra subcommands, global flags, and exit-code mapping.","isRedistributable":true},{"path":"github.com/AllenMuu/mysql-cli/internal/config","name":"config","synopsis":"Package config loads named datasources from config.toml, builds a datasource from MYSQL_* environment variables (compatible with the original MCP), and resolves a final datasource with precedence: CLI overrides \u003e env \u003e file \u003e default.","isRedistributable":true},{"path":"github.com/AllenMuu/mysql-cli/internal/conn","name":"conn","synopsis":"Package conn builds a MySQL DSN from a config.Datasource and opens a pooled *sql.DB connection.","isRedistributable":true},{"path":"github.com/AllenMuu/mysql-cli/internal/format","name":"format","synopsis":"Package format renders result.Result values in json/table/csv/tsv and builds the JSON success/error envelopes consumed by AI agents.","isRedistributable":true},{"path":"github.com/AllenMuu/mysql-cli/internal/integration","name":"integration","synopsis":"Package integration provides integration tests that run against a real MySQL container via testcontainers-go.","isRedistributable":true},{"path":"github.com/AllenMuu/mysql-cli/internal/query","name":"query","synopsis":"Package query executes SQL through a conn.Pool, enforcing the safety gate, single-statement rule, optional row limit, and context timeout.","isRedistributable":true},{"path":"github.com/AllenMuu/mysql-cli/internal/repl","name":"repl","synopsis":"Package repl provides a minimal interactive shell for human debugging.","isRedistributable":true},{"path":"github.com/AllenMuu/mysql-cli/internal/result","name":"result","synopsis":"Package result defines the shared query result type exchanged between the query/schema packages (producers) and the format/cli packages (consumers).","isRedistributable":true},{"path":"github.com/AllenMuu/mysql-cli/internal/safety","name":"safety","synopsis":"Package safety classifies SQL statements, enforces the read-only/write/ddl gate, validates identifiers, detects multi-statement input, and flags destructive operations.","isRedistributable":true},{"path":"github.com/AllenMuu/mysql-cli/internal/schema","name":"schema","synopsis":"Package schema implements the read-only exploration commands that mirror the original MCP's get_schema_info, get_table_sample, list_resources and read_resource.","isRedistributable":true},{"path":"github.com/AllenMuu/mysql-cli/internal/skillscheck","name":"skillscheck","synopsis":"Package skillscheck compares installed mysql-cli skills (e.g.","isRedistributable":true}],"total":14}}
