@radnine/claude-session-daemon 0.7.1 → 0.7.2
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/package.json
CHANGED
package/src/config.js
CHANGED
|
@@ -23,7 +23,7 @@ function loadConfig() {
|
|
|
23
23
|
workingDir: env.CLAUDE_WORKING_DIR || process.cwd(),
|
|
24
24
|
|
|
25
25
|
// Maximum concurrent sessions
|
|
26
|
-
maxSessions: intEnv(env.CLAUDE_MAX_SESSIONS,
|
|
26
|
+
maxSessions: intEnv(env.CLAUDE_MAX_SESSIONS, 15),
|
|
27
27
|
|
|
28
28
|
// Anthropic API key passed through to Claude CLI
|
|
29
29
|
anthropicApiKey: env.ANTHROPIC_API_KEY || null,
|
|
@@ -858,7 +858,9 @@ class ActionCableClient extends BaseConnection {
|
|
|
858
858
|
|
|
859
859
|
try {
|
|
860
860
|
await this._daemon.terminateSession(sessionId);
|
|
861
|
-
|
|
861
|
+
// Rails Session#status only allows active/paused/terminated — sending
|
|
862
|
+
// 'deactivated' here raises RecordInvalid on the server.
|
|
863
|
+
this._sendSessionStateUpdate(sessionId, { status: 'terminated' });
|
|
862
864
|
} catch (err) {
|
|
863
865
|
this._logger.error('Failed to deactivate session', { sessionId, error: err.message });
|
|
864
866
|
}
|