@graphit/cli 0.1.2 → 0.1.3
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/.claude-plugin/marketplace.json +25 -0
- package/.claude-plugin/plugin.json +23 -0
- package/.codex-plugin/plugin.json +22 -0
- package/package.json +4 -2
- package/{skill → skills/graphit}/SKILL.md +10 -0
- /package/{skill → skills/graphit}/cursor/graphit-chart-patterns.mdc +0 -0
- /package/{skill → skills/graphit}/cursor/graphit-chart-selection.mdc +0 -0
- /package/{skill → skills/graphit}/cursor/graphit-dashboard-planning.mdc +0 -0
- /package/{skill → skills/graphit}/cursor/graphit-domain-lenses.mdc +0 -0
- /package/{skill → skills/graphit}/cursor/graphit-kb-exploration.mdc +0 -0
- /package/{skill → skills/graphit}/cursor/graphit-sql-reference.mdc +0 -0
- /package/{skill → skills/graphit}/cursor/graphit-style.mdc +0 -0
- /package/{skill → skills/graphit}/graphit.mdc +0 -0
- /package/{skill → skills/graphit}/references/chart-patterns.md +0 -0
- /package/{skill → skills/graphit}/references/chart-selection.md +0 -0
- /package/{skill → skills/graphit}/references/dashboard-planning.md +0 -0
- /package/{skill → skills/graphit}/references/domain-lenses.md +0 -0
- /package/{skill → skills/graphit}/references/graphit-style.md +0 -0
- /package/{skill → skills/graphit}/references/kb-exploration.md +0 -0
- /package/{skill → skills/graphit}/references/sql-reference.md +0 -0
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "graphit-cli",
|
|
3
|
+
"owner": {
|
|
4
|
+
"name": "Graphit",
|
|
5
|
+
"email": "support@graphit-app.com",
|
|
6
|
+
"url": "https://graphit-app.com"
|
|
7
|
+
},
|
|
8
|
+
"metadata": {
|
|
9
|
+
"description": "Graphit CLI plugin for AI coding assistants",
|
|
10
|
+
"version": "1.0.0"
|
|
11
|
+
},
|
|
12
|
+
"plugins": [
|
|
13
|
+
{
|
|
14
|
+
"name": "graphit",
|
|
15
|
+
"description": "Build custom HTML dashboards from real data. KB-aware queries, entity wrapping, cached data sources.",
|
|
16
|
+
"source": {
|
|
17
|
+
"type": "npm",
|
|
18
|
+
"package": "@graphit/cli"
|
|
19
|
+
},
|
|
20
|
+
"version": "0.1.3",
|
|
21
|
+
"category": "data-visualization",
|
|
22
|
+
"tags": ["bi", "dashboard", "sql", "data", "visualization"]
|
|
23
|
+
}
|
|
24
|
+
]
|
|
25
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "graphit",
|
|
3
|
+
"version": "0.1.3",
|
|
4
|
+
"description": "Build custom HTML dashboards from real data using the Graphit CLI. KB-aware queries, entity wrapping, cached data sources.",
|
|
5
|
+
"author": {
|
|
6
|
+
"name": "Graphit",
|
|
7
|
+
"email": "support@graphit-app.com",
|
|
8
|
+
"url": "https://graphit-app.com"
|
|
9
|
+
},
|
|
10
|
+
"homepage": "https://graphit-app.com",
|
|
11
|
+
"repository": "https://github.com/graphit-app/graphit-cli",
|
|
12
|
+
"license": "UNLICENSED",
|
|
13
|
+
"keywords": [
|
|
14
|
+
"graphit",
|
|
15
|
+
"bi",
|
|
16
|
+
"dashboard",
|
|
17
|
+
"custom-dashboard",
|
|
18
|
+
"data-visualization",
|
|
19
|
+
"knowledge-base",
|
|
20
|
+
"sql",
|
|
21
|
+
"cli"
|
|
22
|
+
]
|
|
23
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "graphit",
|
|
3
|
+
"version": "0.1.3",
|
|
4
|
+
"description": "Build custom HTML dashboards from real data using the Graphit CLI. KB-aware queries, entity wrapping, cached data sources.",
|
|
5
|
+
"author": {
|
|
6
|
+
"name": "Graphit",
|
|
7
|
+
"email": "support@graphit-app.com",
|
|
8
|
+
"url": "https://graphit-app.com"
|
|
9
|
+
},
|
|
10
|
+
"homepage": "https://graphit-app.com",
|
|
11
|
+
"repository": "https://github.com/graphit-app/graphit-cli",
|
|
12
|
+
"keywords": [
|
|
13
|
+
"graphit",
|
|
14
|
+
"bi",
|
|
15
|
+
"dashboard",
|
|
16
|
+
"custom-dashboard",
|
|
17
|
+
"data-visualization",
|
|
18
|
+
"knowledge-base",
|
|
19
|
+
"sql",
|
|
20
|
+
"cli"
|
|
21
|
+
]
|
|
22
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphit/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Graphit CLI - Build custom dashboards from any AI coding assistant",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -16,7 +16,9 @@
|
|
|
16
16
|
},
|
|
17
17
|
"files": [
|
|
18
18
|
"dist",
|
|
19
|
-
"
|
|
19
|
+
"skills",
|
|
20
|
+
".claude-plugin",
|
|
21
|
+
".codex-plugin"
|
|
20
22
|
],
|
|
21
23
|
"keywords": [
|
|
22
24
|
"graphit",
|
|
@@ -12,6 +12,16 @@ description: >
|
|
|
12
12
|
|
|
13
13
|
Build custom HTML dashboards from real data using the Graphit CLI.
|
|
14
14
|
|
|
15
|
+
## Session Start
|
|
16
|
+
|
|
17
|
+
Run `graphit --version` at the start of every session to confirm the CLI is installed.
|
|
18
|
+
If the output includes an "Update available" banner, tell the user to update before proceeding and explain that outdated versions may be missing commands or bug fixes.
|
|
19
|
+
|
|
20
|
+
## Error Recovery
|
|
21
|
+
|
|
22
|
+
When any `graphit` command fails with an unexpected error (unknown command, unrecognized flag, non-zero exit with unclear message), suggest `npm update -g @graphit/cli` before investigating further. Outdated CLI versions are the most common cause of unexpected errors.
|
|
23
|
+
Do NOT suggest updating for normal operational failures (expired auth, bad SQL syntax, network timeout, entity not found).
|
|
24
|
+
|
|
15
25
|
## HARD CONSTRAINTS (violating these produces a broken dashboard)
|
|
16
26
|
|
|
17
27
|
### 1. ZERO external resources
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|