You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(windows): SessionStart timeout, fast MCP check, terminal banner mirror
Raise SessionStart hook timeout to 60s. Verify MCP in-process when the
hook already runs in .venv. Mirror full banner to stderr on Windows and
write logs/sessionstart_last.json for diagnosis.
Co-authored-by: Cursor <[email protected]>
Copy file name to clipboardExpand all lines: docs/INSTALL_WINDOWS.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -170,7 +170,7 @@ Usually **`git pull` + `.\setup.cmd -PythonOnly`** is enough. Re-clone only if t
170
170
| Symptom | Fix |
171
171
|---------|-----|
172
172
| PostToolUse hook: `scripts\.\scripts\bootstrap_no_python.ps1` does not exist | Fixed in `run_hook.cmd` (use `git pull` or re-clone). Old batch logic set plugin root to `...\scripts\.`|
173
-
| No `[AINL Cortex]` banner on SessionStart (macOS shows it, Windows does not) |Same bug — SessionStart never ran. After `git pull` (commit **f739b2d+**): `.\setup.cmd -PythonOnly`, quit Claude, `/reload-plugins`. Test: `.\scripts\verify_sessionstart.cmd` — stdout JSON should contain `[AINL Cortex]`|
173
+
| No `[AINL Cortex]` banner on SessionStart (macOS shows it, Windows does not) |**(1)** Use a **new** session — `claude --resume` does **not** re-run SessionStart. Run `claude` fresh or `/clear`. **(2)** Hook may have timed out (fixed: 60s timeout + faster in-process MCP check). **(3)** After `git pull`: `.\setup.cmd -PythonOnly`, quit Claude, `/reload-plugins`. Check `logs\sessionstart_last.json` in the plugin folder. Test: `.\scripts\verify_sessionstart.cmd`|
174
174
|`hooks/hooks.json` still says `python ... run_hook.py`| Run `.\setup.cmd -PythonOnly` — Windows should use `"${CLAUDE_PLUGIN_ROOT}/scripts/run_hook.cmd" startup`|
175
175
|`Remove-Item`: directory in use | Quit Claude Code; stop `python`/`py` under `ainl-cortex`; retry |
176
176
|`python` not found | Reinstall Python with PATH enabled; reopen terminal |
0 commit comments