sidney061212-ai and Claude Opus 4.6
7eb6f34b02
fix(core): persist agent_session_id using CurrentSessionID()
...
event.SessionID can be empty in some cases, causing the
agent_session_id to never be written to disk. When cc-connect
restarts, the session resumes without any agent_session_id and
Claude Code treats it as a brand new conversation, losing all
context.
Fix: use state.agentSession.CurrentSessionID() (interactive mode)
and agentSession.CurrentSessionID() (relay mode) instead, which
always returns the actual session ID held by the agent. Also call
sessions.Save() after SetAgentSessionID() to ensure the change
is flushed to disk.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-04-14 02:00:46 +08:00
..
2026-03-18 07:57:40 +08:00
2026-04-02 09:38:28 +08:00
2026-03-05 20:56:38 +08:00
2026-03-04 12:38:37 +08:00
2026-04-09 18:56:11 +08:00
2026-04-09 18:56:11 +08:00
2026-03-11 07:52:36 +08:00
2026-03-14 08:46:38 +08:00
2026-03-07 07:55:24 +08:00
2026-03-20 00:31:00 +08:00
2026-04-02 09:37:00 +08:00
2026-04-03 06:06:19 +08:00
2026-03-06 15:25:08 +08:00
2026-03-06 15:25:08 +08:00
2026-03-22 11:03:25 +08:00
2026-03-22 12:03:30 +08:00
2026-04-12 20:40:02 +08:00
2026-04-14 02:00:46 +08:00
2026-03-14 11:58:53 +08:00
2026-03-14 11:58:53 +08:00
2026-03-04 12:38:37 +08:00
2026-03-22 00:53:39 +08:00
2026-04-09 16:50:25 +08:00
2026-03-28 00:16:13 +08:00
2026-04-08 22:26:48 +08:00
2026-04-08 22:26:48 +08:00
2026-03-17 10:26:44 +08:00
2026-03-24 14:16:04 +08:00
2026-03-01 09:36:37 +08:00
2026-04-09 06:10:22 +08:00
2026-03-21 20:32:22 +08:00
2026-04-11 19:45:08 +08:00
2026-04-12 20:40:02 +08:00
2026-04-12 20:40:02 +08:00
2026-03-27 23:59:11 +08:00
2026-03-27 23:59:11 +08:00
2026-04-09 16:50:25 +08:00
2026-04-09 16:50:25 +08:00
2026-04-09 18:55:30 +08:00
2026-04-09 18:55:30 +08:00
2026-03-21 20:32:22 +08:00
2026-03-21 20:32:22 +08:00
2026-03-04 23:57:13 +08:00
2026-03-15 07:41:48 +08:00
2026-03-15 07:41:48 +08:00
2026-03-05 20:56:38 +08:00
2026-03-04 12:38:37 +08:00
2026-04-09 16:50:25 +08:00
2026-04-09 16:50:25 +08:00
2026-04-09 16:50:25 +08:00
2026-04-09 16:50:25 +08:00
2026-04-09 16:50:25 +08:00
2026-03-05 20:56:38 +08:00
2026-02-28 10:38:24 +08:00
2026-04-02 09:24:19 +08:00
2026-04-02 09:24:19 +08:00
2026-04-11 19:45:08 +08:00
2026-04-11 19:45:08 +08:00
2026-04-11 19:45:08 +08:00
2026-04-11 19:45:08 +08:00
2026-04-11 19:45:08 +08:00
2026-04-11 19:45:08 +08:00
2026-04-11 19:45:08 +08:00
2026-04-11 19:45:08 +08:00
2026-04-12 06:19:26 +08:00
2026-04-12 06:19:26 +08:00
2026-03-27 10:43:07 +08:00
2026-03-14 15:40:00 +08:00
2026-04-08 23:11:39 +08:00
2026-04-12 22:17:04 +00:00
2026-04-09 16:50:25 +08:00
2026-04-09 16:50:25 +08:00
2026-03-13 09:54:16 -07:00
2026-03-18 21:08:12 +08:00
2026-03-18 21:08:12 +08:00
2026-03-05 20:56:38 +08:00
2026-03-20 00:31:00 +08:00
2026-03-16 17:04:19 +08:00
2026-03-16 17:04:19 +08:00
2026-03-31 08:33:20 +08:00
2026-03-31 08:33:20 +08:00
2026-03-14 11:33:59 +08:00
2026-03-20 00:31:00 +08:00
2026-03-24 08:03:18 +08:00
2026-03-24 08:03:18 +08:00
2026-04-08 22:26:44 +08:00
2026-04-08 22:26:44 +08:00