@dbx-app/cli 0.4.99 → 0.4.101

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.
Files changed (2) hide show
  1. package/README.md +20 -0
  2. package/package.json +7 -7
package/README.md CHANGED
@@ -43,11 +43,24 @@ chmod +x dbx
43
43
 
44
44
  Standalone binaries do not require Node.js. They read the same DBX connection storage as the desktop application; set `DBX_DATA_DIR` when using a custom or portable data directory.
45
45
 
46
+ ## Official Agent Skill
47
+
48
+ The CLI binary includes the official DBX Skill for shell-capable AI agents. Enable it once after installing or upgrading the CLI:
49
+
50
+ ```bash
51
+ dbx agent setup
52
+ dbx agent status
53
+ ```
54
+
55
+ The default location is `~/.agents/skills/dbx`. `setup` runs entirely offline and can be repeated to install a newer bundled version. It refuses to overwrite an unmanaged or locally modified DBX Skill unless `--force` is supplied. Use `--skills-dir <path>` when the agent reads a different skills root.
56
+
46
57
  ## Usage
47
58
 
48
59
  ```bash
49
60
  dbx doctor
50
61
  dbx capabilities
62
+ dbx agent setup
63
+ dbx agent status --json
51
64
  dbx connections list --json
52
65
  dbx connections list --format csv
53
66
  dbx schema list local --json
@@ -66,6 +79,8 @@ dbx open local users
66
79
  | ------------------------------------------- | ----------------------------------------------------- |
67
80
  | `dbx doctor` | Show local DBX config and desktop bridge diagnostics |
68
81
  | `dbx capabilities` | Show direct-query and desktop-bridge database support |
82
+ | `dbx agent setup` | Install or update the bundled official DBX Skill |
83
+ | `dbx agent status` | Inspect the installed DBX Skill |
69
84
  | `dbx connections list` | List DBX connections without printing secrets |
70
85
  | `dbx schema list <connection>` | List tables and views |
71
86
  | `dbx schema describe <connection> <table>` | Show table columns |
@@ -140,6 +155,11 @@ CLI JSON errors use stable codes:
140
155
  | `CONNECTION_NOT_FOUND` | No DBX connection matched the requested name |
141
156
  | `SQL_BLOCKED` | SQL safety rules blocked execution |
142
157
  | `DBX_NOT_RUNNING` | DBX Desktop bridge is unavailable |
158
+ | `HOME_NOT_FOUND` | The default user skills directory cannot be resolved |
159
+ | `SKILL_MODIFIED` | An unmanaged or locally edited DBX Skill was found |
160
+ | `SKILL_PATH_UNSAFE` | A managed Skill path is a symbolic link |
161
+ | `SKILL_READ_FAILED` | An installed Skill file could not be read |
162
+ | `SKILL_WRITE_FAILED` | The bundled Skill could not be installed |
143
163
  | `ERROR` | Unexpected runtime failure |
144
164
 
145
165
  ## Codex
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dbx-app/cli",
3
- "version": "0.4.99",
3
+ "version": "0.4.101",
4
4
  "description": "Command line interface for DBX database connections, schema, and safe queries",
5
5
  "keywords": [
6
6
  "ai-agent",
@@ -28,12 +28,12 @@
28
28
  ],
29
29
  "type": "module",
30
30
  "optionalDependencies": {
31
- "@dbx-app/cli-darwin-arm64": "0.4.99",
32
- "@dbx-app/cli-darwin-x64": "0.4.99",
33
- "@dbx-app/cli-linux-arm64-gnu": "0.4.99",
34
- "@dbx-app/cli-linux-x64-gnu": "0.4.99",
35
- "@dbx-app/cli-win32-arm64": "0.4.99",
36
- "@dbx-app/cli-win32-x64": "0.4.99"
31
+ "@dbx-app/cli-darwin-arm64": "0.4.101",
32
+ "@dbx-app/cli-darwin-x64": "0.4.101",
33
+ "@dbx-app/cli-linux-arm64-gnu": "0.4.101",
34
+ "@dbx-app/cli-linux-x64-gnu": "0.4.101",
35
+ "@dbx-app/cli-win32-arm64": "0.4.101",
36
+ "@dbx-app/cli-win32-x64": "0.4.101"
37
37
  },
38
38
  "engines": {
39
39
  "node": ">=18.18.0"