mirror of
https://github.com/aljazceru/claude-code-viewer.git
synced 2026-01-03 05:34:22 +01:00
fix: Change unifySameTitleSession default value to false (#48)
* refactor: Clean up message handling in ClaudeCodeLifeCycleService - Removed debug logging from handleMessage function. - Eliminated unnecessary fallback message check in message iteration loop. This improves code readability and performance by streamlining message processing. * fix: Change unifySameTitleSession default value to false Changed the default value of unifySameTitleSession configuration from true to false. This affects both the Zod schema definition and the UserConfigService initial state. Updated README.md to reflect the new default value in the User Settings table. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> --------- Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -147,8 +147,6 @@ const LayerImpl = Effect.gen(function* () {
|
||||
|
||||
const handleMessage = (message: SDKMessage) =>
|
||||
Effect.gen(function* () {
|
||||
console.log("[debug] handleMessage", message.type);
|
||||
|
||||
const processState = yield* sessionProcessService.getSessionProcess(
|
||||
sessionProcess.def.sessionProcessId,
|
||||
);
|
||||
@@ -288,10 +286,6 @@ const LayerImpl = Effect.gen(function* () {
|
||||
for await (const message of messageIter) {
|
||||
const fallbackMessage = fallbackSdkMessage(message);
|
||||
|
||||
if (fallbackMessage === null) {
|
||||
continue;
|
||||
}
|
||||
|
||||
const result = await Runtime.runPromise(runtime)(
|
||||
handleMessage(fallbackMessage),
|
||||
).catch((error) => {
|
||||
|
||||
Reference in New Issue
Block a user