codechart 0.4.0 → 0.5.0
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/dist/cli.js +1956 -1226
- package/dist/server.js +349 -0
- package/package.json +2 -2
- package/skills/codechart/SKILL.md +2 -0
package/README.md
CHANGED
|
@@ -85,7 +85,7 @@ That's it. Open your coding agent in any repo and try:
|
|
|
85
85
|
> show me the flow of accepting an invite
|
|
86
86
|
```
|
|
87
87
|
|
|
88
|
-
Works with Claude Code, Codex, Gemini CLI, GitHub Copilot, Cursor, OpenCode and any other agent that supports [Agent Skills](https://agentskills.io). `install-skill` asks which agents get the skill, and adds a reminder line
|
|
88
|
+
Works with Claude Code, Codex, Gemini CLI, GitHub Copilot, Cursor, OpenCode and any other agent that supports [Agent Skills](https://agentskills.io). `install-skill` asks which agents get the skill, and adds a reminder line, a Claude Code hook and an OpenCode plugin so agents don't forget it in long sessions. `codechart update` brings everything up to date, and codechart tells you once a day when there's a new version. No diagram appeared? `codechart doctor` checks the setup (`--fix` repairs it, `--last` explains the last turn). Details, other agents, updating and uninstalling: [Install and agents](docs/install.md).
|
|
89
89
|
|
|
90
90
|
## What you get
|
|
91
91
|
|
|
@@ -153,7 +153,7 @@ On the full page, a changed resource shows its HCL diff and changed attributes (
|
|
|
153
153
|
|
|
154
154
|
### Terminal first, page when it helps
|
|
155
155
|
|
|
156
|
-
Small diagrams stay in the reply. Big ones also get a self-contained HTML page: zoom, pan, light and dark themes, a node panel with back/forward through the nodes you opened, nothing loaded from the internet. In a change summary, a node's diff is read from git when the page is built, so the agent spends no tokens on it.
|
|
156
|
+
Small diagrams stay in the reply. Big ones also get a self-contained HTML page: zoom, pan, light and dark themes, a node panel with back/forward through the nodes you opened and a list of the node's links (selecting a node dims all but it and its neighbours; Esc clears), a row of status chips under the header that count, explain and fade nodes (*Δ changes only* hides the context), and tickboxes to mark nodes reviewed (*7/12 reviewed*, *Next unreviewed*; a tick lasts until the node's diff changes), nothing loaded from the internet. In a change summary, a node's diff is read from git when the page is built, so the agent spends no tokens on it.
|
|
157
157
|
|
|
158
158
|
### Maps in pull requests
|
|
159
159
|
|
|
@@ -184,7 +184,7 @@ The skill fires when the agent summarizes a change, writes a plan or explains ho
|
|
|
184
184
|
|
|
185
185
|
A diagram is about **2–3 extra API calls**. In a long session that's roughly 2–3% of your usage per diagram, and nothing for trivial changes. That's an estimate from Claude Code sessions with Sonnet; other agents and models will differ, and shorter sessions pay proportionally more. Measured runs are in [docs/efficiency.md](docs/efficiency.md).
|
|
186
186
|
|
|
187
|
-
The CLI is small: a
|
|
187
|
+
The CLI is small: a 104.0 kB package, 5 runtime dependencies, and a cold start around 150 ms.
|
|
188
188
|
|
|
189
189
|
## Safe to run
|
|
190
190
|
|