cc-hindsight 1.8.5 → 2.1.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 +12 -15
  2. package/cli.js +4 -2
  3. package/package.json +6 -6
package/README.md CHANGED
@@ -1,22 +1,19 @@
1
1
  # cc-hindsight has moved to Human Hindsight
2
2
 
3
- Install or run the renamed app:
3
+ <p align="center">
4
+ <img src="https://raw.githubusercontent.com/adityaarunsinghal/human-hindsight/v2.1.0/.github/assets/human-hindsight-banner.jpg" alt="Human Hindsight terminal with colorful session counts and arcs leading to the words “Codify your taste”" width="1280">
5
+ </p>
4
6
 
5
- ```bash
6
- npx human-hindsight@latest gui
7
- npm install -g human-hindsight
8
- ```
7
+ **Understand how you work. Codify your taste.**
8
+
9
+ Start a new reflection with the current package.
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
+ ```sh
12
+ npx human-hindsight
13
+ ```
13
14
 
14
- Existing `~/.cc-hindsight` libraries and `CC_HINDSIGHT_HOME` remain supported.
15
- 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.
15
+ This deprecated package forwards the `cc-hindsight` command to the matching version of `human-hindsight`. The two commands use the same launcher and pass through arguments, input, output, signals and exit codes. They can be installed together. Both require Node.js 22.13 or later in the 22 line, or 23.4 or later.
17
16
 
18
- Both packages can be installed together: `human-hindsight` owns the new command
19
- and this package owns the old one.
17
+ Your existing `~/.cc-hindsight` library and `CC_HINDSIGHT_HOME` setting still work. New installations use `~/.human-hindsight` by default and accept `HUMAN_HINDSIGHT_HOME`. In 2.1 the command is called `reflect`. Scripts that use `distill` reach the same command. Upgrading from 2.0 keeps your hand-edited prompts, ratings and preference reviews.
20
18
 
21
- Source, documentation, and releases:
22
- [Human Hindsight](https://github.com/adityaarunsinghal/human-hindsight).
19
+ [Main README](https://github.com/adityaarunsinghal/human-hindsight#readme) · [Release notes](https://github.com/adityaarunsinghal/human-hindsight/blob/main/CHANGELOG.md) · [Selected Work](https://adityasinghal.com/#current)
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.5",
4
- "description": "Compatibility command for Human Hindsight. Install human-hindsight for the renamed application.",
3
+ "version": "2.1.0",
4
+ "description": "Compatibility command for Human Hindsight. Use npx human-hindsight to reflect on your coding-agent history.",
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": {
@@ -11,7 +11,7 @@
11
11
  "url": "git+https://github.com/adityaarunsinghal/human-hindsight.git",
12
12
  "directory": "compat/cc-hindsight"
13
13
  },
14
- "homepage": "https://github.com/adityaarunsinghal/human-hindsight#readme",
14
+ "homepage": "https://adityasinghal.com/#current",
15
15
  "bugs": {
16
16
  "url": "https://github.com/adityaarunsinghal/human-hindsight/issues"
17
17
  },
@@ -27,7 +27,7 @@
27
27
  "node": "^22.13.0 || >=23.4.0"
28
28
  },
29
29
  "dependencies": {
30
- "human-hindsight": "1.8.5"
30
+ "human-hindsight": "2.1.0"
31
31
  },
32
- "gitHead": "44560ece69afc62b88dc22f91142f382df9be50f"
32
+ "gitHead": "c010f2dfb740a22594e165c4a24bda4e9cba5ea9"
33
33
  }