Skip to content

Upgrade openclaw to 6.10#1138

Merged
su8su merged 6 commits into
mainfrom
upgrade_openclaw_to_6.10
Jun 30, 2026
Merged

Upgrade openclaw to 6.10#1138
su8su merged 6 commits into
mainfrom
upgrade_openclaw_to_6.10

Conversation

@su8su

@su8su su8su commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1dca6a5227

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@@ -1,5 +1,5 @@
import { hostApi } from '@/lib/host-api';
import { clearPendingOptimisticUserMessages, getCanonicalPrefixFromSessions, getMessageText, toMs } from './helpers';
import { isClawXDesktopSessionKey, shouldIncludeSessionInSidebarList } from './session-key-utils';

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Restore the helpers import for session actions

This change drops the ./helpers import, but this module still calls toMs, getMessageText, clearPendingOptimisticUserMessages, and getCanonicalPrefixFromSessions. Any path that imports createSessionActions now fails typecheck and will throw ReferenceError as soon as loadSessions, label hydration, deleteSession, or newSession runs, so keep the helper imports alongside the new session-key utils.

Useful? React with 👍 / 👎.

Comment on lines +28 to +31
if (session.lastMessagePreview?.trim()) return false;
if (session.derivedTitle?.trim()) return false;
if (session.displayName?.trim() && session.displayName !== session.key) return false;
return true;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve labeled channel sessions

When a channel session has a persisted label but no preview/derived title/display name in sessions.list (for example after the user renamed the session and the last-message metadata is missing), this still returns true and shouldIncludeSessionInSidebarList filters it out. Since labels are persisted by renameSession and are already used by the sidebar as a valid session title, this makes named channel conversations disappear; treat a non-empty session.label as non-placeholder.

Useful? React with 👍 / 👎.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 75f8d5e97e

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

import { isCronSessionKey } from './cron-session-utils';
import type { ChatSession } from './types';

const CHANNEL_SESSION_SEGMENTS = new Set<string>(Object.keys(CHANNEL_NAMES));

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Include OpenClaw channel aliases in session detection

When WeChat is connected, ClawX stores the channel under the OpenClaw id openclaw-weixin (electron/utils/channel-alias.ts), so session keys are shaped like agent:<id>:openclaw-weixin:direct:.... This set only contains the UI key wechat, causing isChannelSessionKey() to return false for WeChat sessions; in that environment placeholder/DM rows bypass the new sidebar filtering and can be treated as desktop sessions by startup fallback. Add the stored alias or normalize the segment before checking.

Useful? React with 👍 / 👎.

<span className="shrink-0 rounded-full bg-black/[0.04] px-2 py-0.5 text-2xs font-medium text-foreground/70 dark:bg-white/[0.08]">
{agentName}
</span>
{channelType && channelName && (

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Add Playwright coverage for the sidebar badge

AGENTS.md requires that any user-visible UI change include or update an Electron E2E spec. This adds a visible channel badge to sidebar session rows, but the commit only adds unit tests and no tests/e2e coverage, so the UI behavior can regress without the required Playwright signal. Please add an E2E case that exercises a channel session row and its badge.

Useful? React with 👍 / 👎.

@su8su
su8su merged commit 22af746 into main Jun 30, 2026
7 checks passed
@su8su
su8su deleted the upgrade_openclaw_to_6.10 branch June 30, 2026 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant