checkpointer 0.2.0 → 0.3.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 +57 -10
- package/dist/cli.js +4288 -590
- package/package.json +10 -4
- package/skills/checkpointer/SKILL.md +5 -3
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "checkpointer",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "Git-isolated checkpoints that humans and AI agents share — save working states, revert anytime, ship a range as one clean commit.",
|
|
3
|
+
"version": "0.3.0",
|
|
4
|
+
"description": "Git-isolated checkpoints that humans and AI agents share — save working states, revert anytime, ship a range as one clean commit, and map your TypeScript/JavaScript or Java call graph in the browser.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"checkpoint",
|
|
7
7
|
"git",
|
|
@@ -12,10 +12,15 @@
|
|
|
12
12
|
"snapshot",
|
|
13
13
|
"undo",
|
|
14
14
|
"rollback",
|
|
15
|
-
"cli"
|
|
15
|
+
"cli",
|
|
16
|
+
"call-graph",
|
|
17
|
+
"code-visualization",
|
|
18
|
+
"dependency-graph",
|
|
19
|
+
"java",
|
|
20
|
+
"typescript",
|
|
21
|
+
"javascript"
|
|
16
22
|
],
|
|
17
23
|
"license": "Apache-2.0",
|
|
18
|
-
"type": "module",
|
|
19
24
|
"bin": {
|
|
20
25
|
"checkpointer": "dist/cli.js",
|
|
21
26
|
"ckpt": "dist/cli.js"
|
|
@@ -41,6 +46,7 @@
|
|
|
41
46
|
},
|
|
42
47
|
"dependencies": {
|
|
43
48
|
"commander": "^12.1.0",
|
|
49
|
+
"java-parser": "^3.0.1",
|
|
44
50
|
"picocolors": "^1.1.1",
|
|
45
51
|
"typescript": "^5.7.2"
|
|
46
52
|
},
|
|
@@ -92,9 +92,11 @@ If `checkpointer` is not installed, run it through `npx checkpointer <command>`.
|
|
|
92
92
|
To understand an unfamiliar codebase or trace how a function is reached before
|
|
93
93
|
editing it, `checkpointer graph --json` returns the project's call graph: `nodes`
|
|
94
94
|
(functions/methods with `file`, `line`, `description`, params) and `edges`
|
|
95
|
-
(`{from, to}` by node id), plus `roots` (entrypoints).
|
|
96
|
-
|
|
97
|
-
|
|
95
|
+
(`{from, to}` by node id), plus `roots` (entrypoints). Works on TypeScript/JavaScript
|
|
96
|
+
(resolved via the TypeScript compiler) and Java (resolved via a symbol table over
|
|
97
|
+
fields, locals, params, and the superclass chain), so method, inheritance, and import
|
|
98
|
+
calls are accurate; a polyglot repo is returned as one combined graph. For a human,
|
|
99
|
+
`checkpointer graph` opens an interactive, searchable tree in the browser.
|
|
98
100
|
|
|
99
101
|
Add `--json` to any command for a stable, versioned envelope on stdout:
|
|
100
102
|
|