sphica 0.6.25 → 0.6.26

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.
@@ -47160,7 +47160,11 @@ async function main() {
47160
47160
  if (notice)
47161
47161
  process.stdout.write(JSON.stringify({ systemMessage: notice }));
47162
47162
  if (send)
47163
- spawn(process.execPath, [process.argv[1] ?? "", "--flush"], { detached: true, stdio: "ignore" }).unref();
47163
+ spawn(process.execPath, [process.argv[1] ?? "", "--flush"], {
47164
+ detached: true,
47165
+ stdio: "ignore",
47166
+ windowsHide: true
47167
+ }).unref();
47164
47168
  }
47165
47169
  if (process.argv[1] && /capture\.(ts|js)$/.test(process.argv[1])) {
47166
47170
  main().catch(() => {});
package/dist/mcp.js CHANGED
@@ -47402,6 +47402,8 @@ async function selectForReview(db, projectId2, files) {
47402
47402
  }
47403
47403
  return [...out.values()];
47404
47404
  }
47405
+
47406
+ // server/src/review-findings.ts
47405
47407
  var Finding = exports_external.object({
47406
47408
  outcome: exports_external.enum(["violation", "complies", "unrelated", "undetermined"]),
47407
47409
  unit: exports_external.string().min(1),
package/hooks/hooks.json CHANGED
@@ -5,7 +5,10 @@
5
5
  "hooks": [
6
6
  {
7
7
  "type": "command",
8
- "command": "node \"${CLAUDE_PLUGIN_ROOT}/dist/capture.js\"",
8
+ "command": "node",
9
+ "args": [
10
+ "${CLAUDE_PLUGIN_ROOT}/dist/capture.js"
11
+ ],
9
12
  "timeout": 10
10
13
  }
11
14
  ]
@@ -14,7 +17,10 @@
14
17
  "hooks": [
15
18
  {
16
19
  "type": "command",
17
- "command": "node \"${CLAUDE_PLUGIN_ROOT}/dist/deliver.js\"",
20
+ "command": "node",
21
+ "args": [
22
+ "${CLAUDE_PLUGIN_ROOT}/dist/deliver.js"
23
+ ],
18
24
  "timeout": 5
19
25
  }
20
26
  ]
@@ -25,7 +31,10 @@
25
31
  "hooks": [
26
32
  {
27
33
  "type": "command",
28
- "command": "node \"${CLAUDE_PLUGIN_ROOT}/dist/deliver.js\"",
34
+ "command": "node",
35
+ "args": [
36
+ "${CLAUDE_PLUGIN_ROOT}/dist/deliver.js"
37
+ ],
29
38
  "timeout": 5
30
39
  }
31
40
  ]
@@ -36,7 +45,10 @@
36
45
  "hooks": [
37
46
  {
38
47
  "type": "command",
39
- "command": "node \"${CLAUDE_PLUGIN_ROOT}/dist/capture.js\"",
48
+ "command": "node",
49
+ "args": [
50
+ "${CLAUDE_PLUGIN_ROOT}/dist/capture.js"
51
+ ],
40
52
  "async": true
41
53
  }
42
54
  ]
@@ -45,7 +57,10 @@
45
57
  "hooks": [
46
58
  {
47
59
  "type": "command",
48
- "command": "node \"${CLAUDE_PLUGIN_ROOT}/dist/deliver.js\"",
60
+ "command": "node",
61
+ "args": [
62
+ "${CLAUDE_PLUGIN_ROOT}/dist/deliver.js"
63
+ ],
49
64
  "timeout": 5
50
65
  }
51
66
  ]
@@ -57,7 +72,10 @@
57
72
  "hooks": [
58
73
  {
59
74
  "type": "command",
60
- "command": "node \"${CLAUDE_PLUGIN_ROOT}/dist/capture.js\"",
75
+ "command": "node",
76
+ "args": [
77
+ "${CLAUDE_PLUGIN_ROOT}/dist/capture.js"
78
+ ],
61
79
  "async": true
62
80
  }
63
81
  ]
@@ -68,7 +86,10 @@
68
86
  "hooks": [
69
87
  {
70
88
  "type": "command",
71
- "command": "node \"${CLAUDE_PLUGIN_ROOT}/dist/capture.js\"",
89
+ "command": "node",
90
+ "args": [
91
+ "${CLAUDE_PLUGIN_ROOT}/dist/capture.js"
92
+ ],
72
93
  "async": true
73
94
  }
74
95
  ]
@@ -76,11 +97,14 @@
76
97
  ],
77
98
  "PreToolUse": [
78
99
  {
79
- "matcher": "Edit|Write|MultiEdit|NotebookEdit|Read|Skill|Bash",
100
+ "matcher": "Edit|Write|MultiEdit|NotebookEdit|Read|Skill|Bash|PowerShell",
80
101
  "hooks": [
81
102
  {
82
103
  "type": "command",
83
- "command": "node \"${CLAUDE_PLUGIN_ROOT}/dist/deliver.js\"",
104
+ "command": "node",
105
+ "args": [
106
+ "${CLAUDE_PLUGIN_ROOT}/dist/deliver.js"
107
+ ],
84
108
  "timeout": 5
85
109
  }
86
110
  ]
@@ -91,7 +115,10 @@
91
115
  "hooks": [
92
116
  {
93
117
  "type": "command",
94
- "command": "node \"${CLAUDE_PLUGIN_ROOT}/dist/deliver.js\"",
118
+ "command": "node",
119
+ "args": [
120
+ "${CLAUDE_PLUGIN_ROOT}/dist/deliver.js"
121
+ ],
95
122
  "timeout": 5
96
123
  }
97
124
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sphica",
3
- "version": "0.6.25",
3
+ "version": "0.6.26",
4
4
  "description": "Records Claude Code and Codex sessions on your machine and keeps past implementation and decisions, with their sources, for your agent to find.",
5
5
  "license": "MIT",
6
6
  "type": "module",