@hegel-dev/companion 1.0.12 → 1.0.13

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,127 +1,129 @@
1
- # Hegel Companion
2
-
3
- **Dialectical companion for AI-assisted development.**
4
-
5
- Hegel sits alongside your Cursor IDE sessions and provides real-time critical thinking oversight — catching lazy prompts, flagging overconfident AI responses, tracking session quality degradation, and nudging you to maintain engineering rigor.
6
-
7
- Named after Georg Wilhelm Friedrich Hegel's dialectical method: every thesis (your prompt) deserves an antithesis (critical review) before reaching synthesis (better code).
8
-
9
- ## Two-Layer Analysis
10
-
11
- ### Layer 1: Fast Rule-Based Checks (command hooks)
12
- Runs in milliseconds, zero cost. Always active.
13
-
14
- - Detects vague/lazy prompts ("fix it", "do the same", single-word confirmations)
15
- - Catches prompt quality degradation over the session
16
- - Flags rapid-fire prompting without review pauses
17
- - Tracks scope creep and untested changes
18
- - Detects overconfident AI language and sycophancy patterns
19
- - Session fatigue warnings
20
- - Tuned heuristics for common workflows: attached-plan execution (fewer spurious `missing-criteria` nags), release/install/consumer threads (fewer spurious `context-drift` flags), and pruning stale test warnings after later verification evidence
21
-
22
- ### Layer 2: LLM Deep Analysis (prompt hooks)
23
- Uses your Cursor subscription models. Optional, configurable.
24
-
25
- - **Important Limitation:** Because of how Cursor currently implements `type: "prompt"` hooks, Layer 2 LLM evaluations are only presented as ephemeral blocking UI popups in the chat. They are *not* recorded in the session history and do not appear in the Hegel dashboard or MCP tools.
26
- - When you pick a concrete model in settings (anything other than `auto`), setup regenerates `.cursor/hooks.json` so Layer 2 hooks request that routing ID explicitly.
27
- - Nuanced prompt quality evaluation beyond pattern matching
28
- - Contextual assessment of whether a prompt has enough detail for its intent
29
- - AI response review for missing edge cases, security blind spots, and scope creep
30
- - Detects when you're blindly continuing from a previous AI response
31
-
32
- ## Setup
33
-
34
- ### Installation
35
-
36
- Install the package and run the setup CLI from your Cursor project root. Hegel automatically detects and supports `npm`, `pnpm`, `yarn`, and `bun` based on your project lockfiles.
37
-
38
- Using npm as an example:
39
-
40
- ```bash
41
- npm install --save-dev @hegel-dev/companion
42
- npx hegel-companion init .
43
- ```
44
-
45
- Or, for a one-shot install without adding a dependency:
46
-
47
- ```bash
48
- npx @hegel-dev/companion init .
49
- ```
50
-
51
- > **Note:** This package was previously published as `hegel-companion`. That name is now deprecated — use `@hegel-dev/companion` for new installs. The CLI command (`hegel-companion`) is unchanged.
52
-
53
- The bundled sidebar VSIX declares **`engines.vscode` ^1.105.0** with **`@types/vscode` ~1.105.0**, aligned with Cursor builds that report VS Code **1.105.x** (see `hegel-vscode/package.json`).
54
-
55
- This single command will:
56
- 1. Generate `.cursor/hooks.json` to wire up the analysis layers.
57
- 2. Scaffold a default `hegel.config.json` in your project root.
58
- 3. Register the `hegel-mcp` server in `.cursor/mcp.json`.
59
- 4. Install the Hegel Cursor extension for the sidebar dashboard.
60
- 5. Add a `.cursor/rules/hegel-companion.mdc` rule so the AI knows how to use the MCP tools.
61
-
62
- ### Update An Existing Install
63
-
64
- For projects that already have Hegel installed:
65
-
66
- ```bash
67
- npm install @hegel-dev/companion@latest
68
- npx hegel-companion update .
69
- ```
70
-
71
- If an older local install does not recognize `update`, run the same two commands
72
- above. The first command upgrades the CLI; the second refreshes hooks, MCP, and
73
- the bundled sidebar extension.
74
-
75
- ### Clean Up Old Sessions
76
-
77
- To recompute session states and prune stale concerns or bugs from older versions, run:
78
-
79
- ```bash
80
- npx hegel-companion cleanup .
81
- ```
82
-
83
- ### Uninstall
84
-
85
- To completely remove Hegel from a project, run:
86
-
87
- ```bash
88
- npx hegel-companion uninstall .
89
- ```
90
-
91
- This command will:
92
- 1. Remove `hegel.config.json` and `.hegel-state/`.
93
- 2. Remove `.cursor/rules/hegel-companion.mdc`.
94
- 3. Clean up `.cursor/hooks.json` and `.cursor/mcp.json` (removing them entirely if they are empty).
95
- 4. Uninstall the VS Code extension from Cursor.
96
- 5. Uninstall the `@hegel-dev/companion` npm package.
97
-
98
- ### Configure
99
-
100
- The easiest way to configure Hegel is through the **Cursor Settings UI**:
101
-
102
- 1. Open Settings (`Cmd/Ctrl + ,`)
103
- 2. Search for **"Hegel"**
104
- 3. Adjust your model, strictness, and other preferences.
105
-
106
- These settings automatically sync to a `hegel.config.json` file in your project root, which you can commit to version control to share team-wide standards.
107
-
108
- *(Note: Configuration changes are automatically detected when you start a new chat session).*
109
-
110
- ## Architecture
111
-
112
- Hegel operates as a local, privacy-first system:
113
- - **Hooks**: Intercepts prompts and responses via Cursor's `.cursor/hooks.json`.
114
- - **State**: Session state is stored locally in `.hegel-state/` as JSON files.
115
- - **MCP Server**: Provides `hegel-status` and `hegel-review` tools to the AI.
116
- - **Cursor Extension**: Reads the local state to power the sidebar dashboard and status bar.
117
-
118
- ## Philosophy
119
-
120
- > "The owl of Minerva spreads its wings only with the falling of the dusk."
121
- > — Hegel, *Philosophy of Right*
122
-
123
- Unlike Minerva's owl, Hegel doesn't wait for dusk. It watches in real time, helping you think critically *during* the creative process, not only in retrospect.
124
-
125
- ## License
126
-
127
- MIT
1
+ # Hegel Companion
2
+
3
+ **Dialectical companion for AI-assisted development.**
4
+
5
+ Hegel sits alongside your Cursor IDE sessions and provides real-time critical thinking oversight — catching lazy prompts, flagging overconfident AI responses, tracking session quality degradation, and nudging you to maintain engineering rigor.
6
+
7
+ Named after Georg Wilhelm Friedrich Hegel's dialectical method: every thesis (your prompt) deserves an antithesis (critical review) before reaching synthesis (better code).
8
+
9
+ ## Two-Layer Analysis
10
+
11
+ ### Layer 1: Fast Rule-Based Checks (command hooks)
12
+ Runs in milliseconds, zero cost. Always active.
13
+
14
+ - Detects vague/lazy prompts ("fix it", "do the same", single-word confirmations)
15
+ - Catches prompt quality degradation over the session
16
+ - Flags rapid-fire prompting without review pauses
17
+ - Tracks scope creep and untested changes
18
+ - Detects overconfident AI language and sycophancy patterns
19
+ - Session fatigue warnings
20
+ - Tuned heuristics for common workflows: attached-plan execution (fewer spurious `missing-criteria` nags), release/install/consumer threads (fewer spurious `context-drift` flags), and pruning stale test warnings after later verification evidence
21
+
22
+ ### Layer 2: LLM Deep Analysis (prompt hooks)
23
+ Uses your Cursor subscription models. Optional, configurable.
24
+
25
+ - **Important Limitation:** Because of how Cursor currently implements `type: "prompt"` hooks, Layer 2 LLM evaluations are only presented as ephemeral blocking UI popups in the chat. They are *not* recorded in the session history and do not appear in the Hegel dashboard or MCP tools.
26
+ - When you pick a concrete model in settings (anything other than `auto`), setup regenerates `.cursor/hooks.json` so Layer 2 hooks request that routing ID explicitly.
27
+ - Nuanced prompt quality evaluation beyond pattern matching
28
+ - Contextual assessment of whether a prompt has enough detail for its intent
29
+ - AI response review for missing edge cases, security blind spots, and scope creep
30
+ - Detects when you're blindly continuing from a previous AI response
31
+
32
+ ## Setup
33
+
34
+ ### Installation
35
+
36
+ Install the package and run the setup CLI from your Cursor project root. Hegel automatically detects and supports `npm`, `pnpm`, `yarn`, and `bun` based on your project lockfiles.
37
+
38
+ Using npm as an example:
39
+
40
+ ```bash
41
+ npm install --save-dev @hegel-dev/companion
42
+ npx hegel-companion init .
43
+ ```
44
+
45
+ Or, for a one-shot install without adding a dependency:
46
+
47
+ ```bash
48
+ npx @hegel-dev/companion init .
49
+ ```
50
+
51
+ > **Note:** This package was previously published as `hegel-companion`. That name is now deprecated — use `@hegel-dev/companion` for new installs. The CLI command (`hegel-companion`) is unchanged.
52
+
53
+ The bundled sidebar VSIX declares **`engines.vscode` ^1.105.0** with **`@types/vscode` ~1.105.0**, aligned with Cursor builds that report VS Code **1.105.x** (see `hegel-vscode/package.json`).
54
+
55
+ This single command will:
56
+ 1. Generate `.cursor/hooks.json` to wire up the analysis layers.
57
+ 2. Scaffold a default `hegel.config.json` in your project root.
58
+ 3. Register the `hegel-mcp` server in `.cursor/mcp.json`.
59
+ 4. Install the Hegel Cursor extension for the sidebar dashboard.
60
+ 5. Add a `.cursor/rules/hegel-companion.mdc` rule so the AI knows how to use the MCP tools.
61
+
62
+ ### Update An Existing Install
63
+
64
+ For projects that already have Hegel installed:
65
+
66
+ ```bash
67
+ npm install @hegel-dev/companion@latest
68
+ npx hegel-companion update .
69
+ ```
70
+
71
+ If an older local install does not recognize `update`, run the same two commands
72
+ above. The first command upgrades the CLI; the second refreshes hooks, MCP, and
73
+ the bundled sidebar extension.
74
+
75
+ ### Clean Up Old Sessions
76
+
77
+ To recompute session states and prune stale concerns or bugs from older versions, run:
78
+
79
+ ```bash
80
+ npx hegel-companion cleanup .
81
+ ```
82
+
83
+ ### Uninstall
84
+
85
+ To completely remove Hegel from a project, run:
86
+
87
+ ```bash
88
+ npx hegel-companion uninstall .
89
+ ```
90
+
91
+ This command will:
92
+ 1. Remove `hegel.config.json` and `.hegel-state/`.
93
+ 2. Remove `.cursor/rules/hegel-companion.mdc`.
94
+ 3. Clean up `.cursor/hooks.json` and `.cursor/mcp.json` (removing them entirely if they are empty).
95
+ 4. Clean up Hegel-specific settings from `.vscode/settings.json`.
96
+ 5. Clean up Hegel-specific entries from `.gitignore`.
97
+ 6. Uninstall the VS Code extension from Cursor.
98
+ 7. Uninstall the `@hegel-dev/companion` npm package.
99
+
100
+ ### Configure
101
+
102
+ The easiest way to configure Hegel is through the **Cursor Settings UI**:
103
+
104
+ 1. Open Settings (`Cmd/Ctrl + ,`)
105
+ 2. Search for **"Hegel"**
106
+ 3. Adjust your model, strictness, and other preferences.
107
+
108
+ These settings automatically sync to a `hegel.config.json` file in your project root, which you can commit to version control to share team-wide standards.
109
+
110
+ *(Note: Configuration changes are automatically detected when you start a new chat session).*
111
+
112
+ ## Architecture
113
+
114
+ Hegel operates as a local, privacy-first system:
115
+ - **Hooks**: Intercepts prompts and responses via Cursor's `.cursor/hooks.json`.
116
+ - **State**: Session state is stored locally in `.hegel-state/` as JSON files.
117
+ - **MCP Server**: Provides `hegel-status` and `hegel-review` tools to the AI.
118
+ - **Cursor Extension**: Reads the local state to power the sidebar dashboard and status bar.
119
+
120
+ ## Philosophy
121
+
122
+ > "The owl of Minerva spreads its wings only with the falling of the dusk."
123
+ > Hegel, *Philosophy of Right*
124
+
125
+ Unlike Minerva's owl, Hegel doesn't wait for dusk. It watches in real time, helping you think critically *during* the creative process, not only in retrospect.
126
+
127
+ ## License
128
+
129
+ MIT
@@ -1 +1 @@
1
- {"version":3,"file":"uninstall.d.ts","sourceRoot":"","sources":["../../src/commands/uninstall.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAK5C,wBAAsB,YAAY,CAChC,IAAI,GAAE,MAAM,EAAiB,EAC7B,IAAI,GAAE,SAAuB,GAC5B,OAAO,CAAC,MAAM,CAAC,CAgHjB"}
1
+ {"version":3,"file":"uninstall.d.ts","sourceRoot":"","sources":["../../src/commands/uninstall.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAK5C,wBAAsB,YAAY,CAChC,IAAI,GAAE,MAAM,EAAiB,EAC7B,IAAI,GAAE,SAAuB,GAC5B,OAAO,CAAC,MAAM,CAAC,CA8JjB"}
@@ -110,6 +110,53 @@ export async function runUninstall(argv = process.argv, deps = defaultDeps) {
110
110
  deps.log(` Failed to uninstall package: ${err instanceof Error ? err.message : String(err)}`);
111
111
  }
112
112
  }
113
+ // 6. Clean up .vscode/settings.json
114
+ const settingsPath = join(projectPath, ".vscode", "settings.json");
115
+ try {
116
+ const content = await deps.readFile(settingsPath, "utf-8");
117
+ const parsed = JSON.parse(content);
118
+ let changed = false;
119
+ for (const key of Object.keys(parsed)) {
120
+ if (key.startsWith("hegel.")) {
121
+ delete parsed[key];
122
+ changed = true;
123
+ }
124
+ }
125
+ if (changed) {
126
+ if (Object.keys(parsed).length === 0) {
127
+ await deps.rm(settingsPath, { force: true });
128
+ deps.log(` Removed empty .vscode/settings.json`);
129
+ }
130
+ else {
131
+ await deps.writeFile(settingsPath, JSON.stringify(parsed, null, 2) + "\n", "utf-8");
132
+ deps.log(` Cleaned Hegel entries from .vscode/settings.json`);
133
+ }
134
+ }
135
+ }
136
+ catch {
137
+ // ignore
138
+ }
139
+ // 7. Clean up .gitignore
140
+ const gitignorePath = join(projectPath, ".gitignore");
141
+ try {
142
+ const content = await deps.readFile(gitignorePath, "utf-8");
143
+ const lines = content.split(/\r?\n/);
144
+ const toRemoveLines = new Set([
145
+ ".hegel-state",
146
+ ".hegel-state/",
147
+ "hegel.config.json",
148
+ "hegel-mcp",
149
+ "hegel-mcp/"
150
+ ]);
151
+ const filtered = lines.filter(line => !toRemoveLines.has(line.trim()));
152
+ if (filtered.length !== lines.length) {
153
+ await deps.writeFile(gitignorePath, filtered.join("\n"), "utf-8");
154
+ deps.log(` Cleaned Hegel entries from .gitignore`);
155
+ }
156
+ }
157
+ catch {
158
+ // ignore
159
+ }
113
160
  deps.log(`✅ Hegel uninstalled successfully.`);
114
161
  return 0;
115
162
  }
@@ -1 +1 @@
1
- {"version":3,"file":"uninstall.js","sourceRoot":"","sources":["../../src/commands/uninstall.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAE1C,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AACzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAE9E,MAAM,CAAC,KAAK,UAAU,YAAY,CAChC,OAAiB,OAAO,CAAC,IAAI,EAC7B,OAAkB,WAAW;IAE7B,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;IAC3B,MAAM,UAAU,GAAG,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC;IAC3D,MAAM,SAAS,GAAG,UAAU,CAAC,CAAC,CAAC,IAAI,GAAG,CA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AO,CAAC,CAAC;QAC5D,MAAM,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QACrC,MAAM,aAAa,GAAG,IAAI,GAAG,CAAC;YAC5B,cAAc;YACd,eAAe;YACf,mBAAmB;YACnB,WAAW;YACX,YAAY;SACb,CAAC,CAAC;QACH,MAAM,QAAQ,GAAG,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;QACvE,IAAI,QAAQ,CAAC,MAAM,KAAK,KAAK,CAAC,MAAM,EAAE,CAAC;YACrC,MAAM,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,OAAO,CAAC,CAAC;YAClE,IAAI,CAAC,GAAG,CAAC,yCAAyC,CAAC,CAAC;QACtD,CAAC;IACH,CAAC;IAAC,MAAM,CAAC;QACP,SAAS;IACX,CAAC;IAED,IAAI,CAAC,GAAG,CAAC,mCAAmC,CAAC,CAAC;IAC9C,OAAO,CAAC,CAAC;AACX,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hegel-dev/companion",
3
- "version": "1.0.12",
3
+ "version": "1.0.13",
4
4
  "description": "Dialectical companion for AI-assisted development — real-time critical thinking oversight for Cursor IDE sessions",
5
5
  "type": "module",
6
6
  "publishConfig": {