When a session is freshly created, the lifecycle worker may poll before the claude process has started in the tmux session. findClaudeProcess() returns null, getActivityState() reports "exited", and the session gets marked as "killed" even though it's still starting up. Add a 60-second startup grace period: if the agent process is not found but the session was created less than 60 seconds ago, return "idle" instead of "exited" to give the agent time to launch. Fixes #989 |
||
|---|---|---|
| .. | ||
| src | ||
| CHANGELOG.md | ||
| package.json | ||
| tsconfig.json | ||