checkpointer 0.2.1 → 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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "checkpointer",
3
- "version": "0.2.1",
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 code's call graph in the browser.",
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",
@@ -15,10 +15,12 @@
15
15
  "cli",
16
16
  "call-graph",
17
17
  "code-visualization",
18
- "dependency-graph"
18
+ "dependency-graph",
19
+ "java",
20
+ "typescript",
21
+ "javascript"
19
22
  ],
20
23
  "license": "Apache-2.0",
21
- "type": "module",
22
24
  "bin": {
23
25
  "checkpointer": "dist/cli.js",
24
26
  "ckpt": "dist/cli.js"
@@ -44,6 +46,7 @@
44
46
  },
45
47
  "dependencies": {
46
48
  "commander": "^12.1.0",
49
+ "java-parser": "^3.0.1",
47
50
  "picocolors": "^1.1.1",
48
51
  "typescript": "^5.7.2"
49
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). Resolved via the TypeScript
96
- compiler, so method and import calls are accurate. For a human, `checkpointer graph`
97
- opens an interactive, searchable tree in the browser.
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