@indiekitai/pg-dash 0.3.5 → 0.3.6
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 +3 -3
- package/README.zh-CN.md +1 -1
- package/dist/cli.js +873 -4
- package/dist/cli.js.map +1 -1
- package/dist/mcp.js +706 -2
- package/dist/mcp.js.map +1 -1
- package/dist/ui/assets/{index-RQDs_hnz.js → index-BuNkJbnD.js} +6 -6
- package/dist/ui/assets/index-Cpb430iS.css +1 -0
- package/dist/ui/index.html +2 -2
- package/package.json +1 -1
- package/dist/ui/assets/index-D5LMag3w.css +0 -1
package/README.md
CHANGED
|
@@ -94,7 +94,7 @@ The Dashboard is there when you need it. But the real power is in the CLI, MCP,
|
|
|
94
94
|
- Configure via `--slack-webhook` or `--discord-webhook`
|
|
95
95
|
|
|
96
96
|
### 🤖 MCP Server
|
|
97
|
-
-
|
|
97
|
+
- 14 tools for AI agent integration
|
|
98
98
|
- `pg-dash-mcp postgres://...` — works with Claude, Cursor, etc.
|
|
99
99
|
|
|
100
100
|
### 🖥️ CLI
|
|
@@ -148,7 +148,7 @@ Options:
|
|
|
148
148
|
--data-dir <dir> Data directory (default: ~/.pg-dash)
|
|
149
149
|
-i, --interval <sec> Collection interval (default: 30)
|
|
150
150
|
--threshold <score> Score threshold for check command (default: 70)
|
|
151
|
-
-f, --format <fmt> Output format: text|json (default: text)
|
|
151
|
+
-f, --format <fmt> Output format: text|json|md (default: text)
|
|
152
152
|
--query-stats-interval <min> Query stats snapshot interval in minutes (default: 5)
|
|
153
153
|
--slack-webhook <url> Slack webhook URL for alert notifications
|
|
154
154
|
--discord-webhook <url> Discord webhook URL for alert notifications
|
|
@@ -288,7 +288,7 @@ jobs:
|
|
|
288
288
|
mkdir -p .pg-dash-cache
|
|
289
289
|
npx @indiekitai/pg-dash check ${{ secrets.DATABASE_URL }} \
|
|
290
290
|
--ci --diff --snapshot-path ./.pg-dash-cache/last-check.json \
|
|
291
|
-
--format md > pg-dash-report.md
|
|
291
|
+
--format md > pg-dash-report.md
|
|
292
292
|
echo "exit_code=$?" >> $GITHUB_OUTPUT
|
|
293
293
|
continue-on-error: true
|
|
294
294
|
- name: Save health snapshot
|
package/README.zh-CN.md
CHANGED
|
@@ -288,7 +288,7 @@ jobs:
|
|
|
288
288
|
mkdir -p .pg-dash-cache
|
|
289
289
|
npx @indiekitai/pg-dash check ${{ secrets.DATABASE_URL }} \
|
|
290
290
|
--ci --diff --snapshot-path ./.pg-dash-cache/last-check.json \
|
|
291
|
-
--format md > pg-dash-report.md
|
|
291
|
+
--format md > pg-dash-report.md
|
|
292
292
|
echo "exit_code=$?" >> $GITHUB_OUTPUT
|
|
293
293
|
continue-on-error: true
|
|
294
294
|
- name: Save health snapshot
|