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.
- package/README.md +12 -15
- package/cli.js +4 -2
- 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
|
-
|
|
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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
```
|
|
7
|
+
**Understand how you work. Codify your taste.**
|
|
8
|
+
|
|
9
|
+
Start a new reflection with the current package.
|
|
9
10
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
```sh
|
|
12
|
+
npx human-hindsight
|
|
13
|
+
```
|
|
13
14
|
|
|
14
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
//
|
|
4
|
-
|
|
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.
|
|
4
|
-
"description": "Compatibility command for Human Hindsight.
|
|
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": "
|
|
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://
|
|
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.
|
|
30
|
+
"human-hindsight": "2.1.0"
|
|
31
31
|
},
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "c010f2dfb740a22594e165c4a24bda4e9cba5ea9"
|
|
33
33
|
}
|