sandal-db 1.0.6 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# SANDAL: Safe Agentic Natural-language Database Access Layer
|
|
2
2
|
|
|
3
|
-

|
|
3
|
+

|
|
4
4
|
|
|
5
5
|
SANDAL is an agentic command-line interface that enables software engineers, data analysts, and site reliability engineers to query, inspect, and manage databases using natural language. Powered by LangGraph and multi-provider language models, SANDAL translates natural language prompts into parameterized database queries, displays execution previews and impact estimations, and enforces multi-layered guardrails before executing any mutating statements.
|
|
6
6
|
|
|
@@ -138,7 +138,7 @@ npx sandal-db@latest md [options] [fileOrText]
|
|
|
138
138
|
| `--no-strict` | `flag` | Disables strict safety mode. | `false` |
|
|
139
139
|
| `--allow-full-wipe` | `flag` | Explicitly permits database-level drops after interactive phrase confirmation. | `false` |
|
|
140
140
|
| `--threshold <number>` | `integer` | Row count threshold above which updates are classified as dangerous operations. | `50` |
|
|
141
|
-
| `--markdown` | `boolean` | Formats and renders LLM responses as rich terminal markdown.
|
|
141
|
+
| `--markdown` | `boolean` | Formats and renders LLM responses as rich terminal markdown. | `true` |
|
|
142
142
|
| `--no-markdown` | `flag` | Disables terminal markdown rendering and outputs raw text. | `false` |
|
|
143
143
|
| `-V, --version` | `flag` | Output the version number. | |
|
|
144
144
|
| `-h, --help` | `flag` | Display command help and exit. | |
|
|
@@ -169,10 +169,10 @@ Dot commands provide direct utility functions without issuing requests to the LL
|
|
|
169
169
|
| --------------------------- | ----------------------------------------------------------------------------------------------------- |
|
|
170
170
|
| `.tables` or `.collections` | Lists all discovered database tables or MongoDB collections with current row counts. |
|
|
171
171
|
| `.schema [name]` | Displays column names, data types, nullability constraints, and primary keys for the specified table. |
|
|
172
|
-
| `.connect` or `.switch` | Shows saved database connections; select by number or enter a new URL (preserves chat memory).
|
|
172
|
+
| `.connect` or `.switch` | Shows saved database connections; select by number or enter a new URL (preserves chat memory). |
|
|
173
173
|
| `.model [name]` | Displays current model or switches to a new model on the fly. |
|
|
174
174
|
| `.provider [name]` | Switches active LLM provider (`google`, `openai`, or `anthropic`). |
|
|
175
|
-
| `.key [remove \| set]` | Displays active API key, removes it from config, or updates it live.
|
|
175
|
+
| `.key [remove \| set]` | Displays active API key, removes it from config, or updates it live. |
|
|
176
176
|
| `.chats` | Lists all saved chat sessions with message counts and last active times. |
|
|
177
177
|
| `.chat <id \| number>` | Switches to a specific chat session and restores its conversation memory. |
|
|
178
178
|
| `.new` | Starts a fresh chat session with clean memory. |
|
|
@@ -271,6 +271,7 @@ Select a connection [number, N, C]: 2
|
|
|
271
271
|
When you switch databases, your **conversation history and chat memory are preserved**, allowing you to continue querying or comparing insights across databases.
|
|
272
272
|
|
|
273
273
|
From the command line:
|
|
274
|
+
|
|
274
275
|
```bash
|
|
275
276
|
# List all saved database connections
|
|
276
277
|
npx sandal-db config --connections
|
|
@@ -290,6 +291,7 @@ Modify your AI configuration during an active session:
|
|
|
290
291
|
- `.key set <new-key>` — Update your API key dynamically.
|
|
291
292
|
|
|
292
293
|
From the command line:
|
|
294
|
+
|
|
293
295
|
```bash
|
|
294
296
|
# Remove stored API key for a specific provider
|
|
295
297
|
npx sandal-db config --remove-key google
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sandal-db",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.7",
|
|
4
4
|
"description": "SANDAL - Safe Agentic Natural-language Database Access Layer. Production-grade agentic database assistant CLI using LangGraph and LLMs (Google Gemini, OpenAI, Anthropic)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|