cc-hindsight 1.8.4 → 2.0.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.
Files changed (3) hide show
  1. package/README.md +8 -5
  2. package/cli.js +4 -2
  3. package/package.json +4 -4
package/README.md CHANGED
@@ -1,19 +1,22 @@
1
1
  # cc-hindsight has moved to Human Hindsight
2
2
 
3
- Install or run the renamed app:
3
+ Start the guided setup with the renamed command, or install it globally.
4
4
 
5
5
  ```bash
6
- npx human-hindsight@latest gui
6
+ npx human-hindsight
7
7
  npm install -g human-hindsight
8
8
  ```
9
9
 
10
10
  This deprecated package keeps the `cc-hindsight` command working by forwarding
11
- to the matching version of `human-hindsight`. It contains no separate copy of
12
- the application, and all arguments and exit codes pass through unchanged.
11
+ to the matching version of `human-hindsight`. Both commands need Node.js 22.13+
12
+ on Node 22, or 23.4+ on newer versions. They use the same launcher and pass
13
+ through arguments, input, signals, and exit codes.
13
14
 
14
15
  Existing `~/.cc-hindsight` libraries and `CC_HINDSIGHT_HOME` remain supported.
15
16
  The new command uses `~/.human-hindsight` for fresh installations and also
16
- accepts `HUMAN_HINDSIGHT_HOME`. You do not need to move or re-distill your data.
17
+ accepts `HUMAN_HINDSIGHT_HOME`. Your existing library stays in place. The next
18
+ distill can regenerate earlier results under the new model plan while preserving
19
+ hand-edited prompts, ratings, and preference reviews.
17
20
 
18
21
  Both packages can be installed together: `human-hindsight` owns the new command
19
22
  and this package owns the old one.
package/cli.js CHANGED
@@ -1,4 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- // Same process, arguments, stdin, exit status, and signals as the new command.
4
- import "human-hindsight/cli";
3
+ // Enter the same version guard before Node parses the application bundle. The
4
+ // application then runs in this process, so arguments, standard streams,
5
+ // signals, and the exit code pass straight through.
6
+ require("human-hindsight/launcher/cli.cjs").run(process);
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "cc-hindsight",
3
- "version": "1.8.4",
3
+ "version": "2.0.0",
4
4
  "description": "Compatibility command for Human Hindsight. Install human-hindsight for the renamed application.",
5
5
  "deprecated": "Renamed to human-hindsight. Use npx human-hindsight or npm install -g human-hindsight. This package forwards the legacy cc-hindsight command.",
6
- "type": "module",
6
+ "type": "commonjs",
7
7
  "author": "Aditya Singhal (https://adityasinghal.com)",
8
8
  "license": "MIT",
9
9
  "repository": {
@@ -27,7 +27,7 @@
27
27
  "node": "^22.13.0 || >=23.4.0"
28
28
  },
29
29
  "dependencies": {
30
- "human-hindsight": "1.8.4"
30
+ "human-hindsight": "2.0.0"
31
31
  },
32
- "gitHead": "0fdb61cf1ad8505f6af16e61647a5f365e811d60"
32
+ "gitHead": "c6b67e574feb24a9621c71a7018a77d0d5132c96"
33
33
  }