Home

mweinbach / agent-coworker

publicmweinbach/agent-coworker
Overview Code History Branches Pull requestsIssuesInsights
main
HomeOverview Code PRsIssues

Add cloud SessionStart hook and install script

4 months ago

5a5d55b
Authored
mweinbach6/3/2026, 12:04:47 AM
Add .claude/settings.json and scripts/cloud_session_start.sh to run a SessionStart hook in Claude Code web sessions. The hook is a no-op locally and, in cloud sessions, installs project dependencies with bun using --frozen-lockfile (with a single retry without --frozen-lockfile on failure), sets NODE_EXTRA_CA_CERTS for proxy TLS, skips heavy postinstall downloads, and stamps node_modules with a hash of bun.lock so installs are skipped when already up-to-date. Failures are reported but do not block the session from starting.

Parent8d666b3

2 files changed
  • .claude/settings.json+15−0
  • scripts/cloud_session_start.sh+104−0