throughline 0.4.4 → 0.4.5

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/CHANGELOG.md CHANGED
@@ -10,6 +10,15 @@ shipped to npm but were not individually tagged on GitHub.
10
10
 
11
11
  ## [Unreleased]
12
12
 
13
+ ## [0.4.5] — 2026-05-09
14
+
15
+ ### Fixed
16
+
17
+ - VS Code detection now treats `VSCODE_HANDLES_SIGPIPE` as a VS Code-family
18
+ environment signal. This lets `throughline install` provision the monitor task
19
+ in Codex / VS Code sessions where `TERM_PROGRAM`, `VSCODE_PID`, and
20
+ `VSCODE_IPC_HOOK_CLI` are absent.
21
+
13
22
  ## [0.4.4] — 2026-05-09
14
23
 
15
24
  ### Changed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "throughline",
3
- "version": "0.4.4",
3
+ "version": "0.4.5",
4
4
  "type": "module",
5
5
  "description": "Claude Code hooks plugin for structured context compression (/clear-safe persistent memory)",
6
6
  "keywords": [
@@ -29,7 +29,8 @@ export function detectVsCode(env) {
29
29
  return (
30
30
  env.TERM_PROGRAM === 'vscode' ||
31
31
  Boolean(env.VSCODE_PID) ||
32
- Boolean(env.VSCODE_IPC_HOOK_CLI)
32
+ Boolean(env.VSCODE_IPC_HOOK_CLI) ||
33
+ Boolean(env.VSCODE_HANDLES_SIGPIPE)
33
34
  );
34
35
  }
35
36
 
@@ -49,6 +49,10 @@ test('detectVsCode: VSCODE_IPC_HOOK_CLI is detected', () => {
49
49
  assert.equal(detectVsCode({ VSCODE_IPC_HOOK_CLI: '/tmp/sock' }), true);
50
50
  });
51
51
 
52
+ test('detectVsCode: VSCODE_HANDLES_SIGPIPE is detected', () => {
53
+ assert.equal(detectVsCode({ VSCODE_HANDLES_SIGPIPE: 'true' }), true);
54
+ });
55
+
52
56
  test('detectVsCode: empty env is not detected', () => {
53
57
  assert.equal(detectVsCode({}), false);
54
58
  });