checkpointer 0.2.0 → 0.2.1

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # checkpointer
2
2
 
3
- > Git-isolated checkpoints that humans and AI agents share — save working states, revert anytime, ship a range as one clean commit.
3
+ > 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.
4
4
 
5
5
  When you (or an AI agent) work through a long task, you want save points: a way to
6
6
  mark "this works", roll back when something breaks, and at the end turn all that
@@ -11,6 +11,7 @@ repo kept outside your project — so your real `git log` stays clean until you
11
11
  - **Isolated from your repo** — checkpoints live in `~/.checkpointer`, never in your project's `.git`. Nothing shows up in `git log` until you `ship`.
12
12
  - **Captures everything** — unlike editor undo, it snapshots the whole working tree, including files changed by scripts, formatters, and codemods.
13
13
  - **Ships to one commit** — bundle a range of checkpoints into a single commit on your branch, then push when you're ready.
14
+ - **Maps your code** — `checkpointer graph` opens an interactive, searchable function call-graph of your TypeScript/JavaScript project in the browser, so you can see how functions reach each other before you change them. Fully offline.
14
15
 
15
16
  ## Install
16
17
 
@@ -154,8 +155,13 @@ In the viewer you can:
154
155
  - **Search** any function by name or file; jump straight to it.
155
156
  - **Focus a function** to see its **ancestors** (everyone who reaches it, up to the
156
157
  entrypoints) beside its **descendants** (everything it calls) — both expandable.
157
- - See each function's **JSDoc/comment description**, kind (function/method/constructor),
158
- async flag, parameters, and `file:line`, with recursion and cycles flagged inline.
158
+ - See each function's **full signature** with type-checker-resolved parameter and
159
+ return types so you learn what it takes and returns even when there's no comment —
160
+ alongside its description, a **per-parameter table** (name, type, optional, JSDoc
161
+ `@param` prose when present), kind (function/method/constructor), async flag, and
162
+ `file:line`, with recursion and cycles flagged inline.
163
+ - Hit **"view code"** on any function to read its source inline, embedded in the page —
164
+ nothing is fetched.
159
165
 
160
166
  The page is fully self-contained and offline — no CDN, no telemetry, the graph data is
161
167
  embedded inline. `--out` produces a single file you can commit or share. Analysis is
package/dist/cli.js CHANGED
@@ -1674,7 +1674,7 @@ function skillPath(opts = {}) {
1674
1674
  }
1675
1675
 
1676
1676
  // src/cli.ts
1677
- var VERSION = true ? "0.2.0" : "0.0.0-dev";
1677
+ var VERSION = true ? "0.2.1" : "0.0.0-dev";
1678
1678
  var program = new Command();
1679
1679
  program.name("checkpointer").description(
1680
1680
  "Git-isolated checkpoints that humans and AI agents share.\n\nSave working states during a long task, revert when something breaks,\nthen bundle a range of checkpoints into one clean commit on your repo.\nYour project's real git history is never touched until you 'ship'."
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "checkpointer",
3
- "version": "0.2.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.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.",
5
5
  "keywords": [
6
6
  "checkpoint",
7
7
  "git",
@@ -12,7 +12,10 @@
12
12
  "snapshot",
13
13
  "undo",
14
14
  "rollback",
15
- "cli"
15
+ "cli",
16
+ "call-graph",
17
+ "code-visualization",
18
+ "dependency-graph"
16
19
  ],
17
20
  "license": "Apache-2.0",
18
21
  "type": "module",