@chatcode/cco-better-sidebar 0.18.0-rc.4 → 0.18.0-rc.5

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/README.md CHANGED
@@ -27,6 +27,14 @@
27
27
 
28
28
  品牌适配仅作用于产品标识与版本声明;输入框草稿、粘贴内容、会话正文和代码保留原文。
29
29
 
30
+ `0.18.0-rc.7` 重整左侧导航顶部:24px 品牌标识、紧凑标题与折叠按钮,以及左对齐的轻量「新会话」入口;快捷键提示保持可见。移除该入口的红色渐变与阴影,浅色、深色主题均跟随宿主令牌;原生按钮、快捷键、窗口拖拽和折叠功能保持不变。
31
+
32
+ `0.18.0-rc.8` 增强「新会话」的辨识度:淡红底、红色描边与图标、14px 加粗文字,悬停和按下时加深底色。保持紧凑布局与无阴影设计,深色模式使用同一套主题令牌派生配色。
33
+
34
+ `0.18.0-rc.9` 将「新会话」改为高对比石墨色主按钮,使用细微冷色渐变与清晰的悬停、焦点状态,不再使用错误状态红色。左侧原生「插件」菜单暂时通过 `sidebar-header.ts` 中独立标注的 CSS 块隐藏,删除该块即可恢复;插件加载、设置和其他入口不变。
35
+
36
+ `0.18.0-rc.10` 按反馈恢复「新会话」最初的品牌红色底与白色图标、文字,保留紧凑布局、快捷键和交互状态。登录恢复逻辑与「插件」菜单临时隐藏保持不变。
37
+
30
38
  ## 📑 目录
31
39
 
32
40
  - [✨ 功能一览](#-功能一览)
@@ -554,6 +562,12 @@ Windows / Linux / macOS 三平台适配(macOS 日常验证;其余经单元
554
562
 
555
563
  ## ChatCode 账号入口
556
564
 
565
+ 未登录时,每次进入登录页面都会重新发起一次登录并尝试打开登录网页;浏览器拦截自动弹窗时,页面始终显示可点击、可复制的登录链接。若登录网页被关闭,点击「重新打开登录页」即可在原请求仍有效时复用链接;请求失效后可重新发起,按钮不会一直禁用,也无需删除凭据文件。已有账号仅在校验成功后进入工作台,网络故障不会清除凭据。
566
+
567
+ `0.18.0-rc.6` 起,点击「退出登录」会先弹出确认窗口,默认聚焦「取消」;取消或按 Esc 保留登录状态,确认后才执行原有退出操作。
568
+
569
+ `0.18.0-rc.5` 起,左下角账号入口与弹出菜单使用更紧凑的布局:用户名和菜单文字为 13px,头像为 24px,底部入口高度为 44px;设置、登录与退出操作保持不变。
570
+
557
571
  设置 →「插件市场」已替换为内部市场,也可从侧栏「+」菜单进入。先展示内部市场及默认 ChatCode 官方市场,点击市场后以「技能市场」同款卡片展示插件;项目级、用户级安装或卸载按钮直接位于卡片内。市场列表在 Web 启动时加载一次,插件目录首次进入时加载并缓存;返回、切换标签或重开设置不会重复请求,有更新时点击「刷新」。页面显示实际项目目录,本机安装记录与 CLI `/plugins` 共用并自动同步。需要启用新版 config 插件,配置及加载能力见 [插件市场说明](../dsh-llm-chatcode-config/docs/plugin-market.zh.md)。
558
572
 
559
573
  从当前主库源码执行 `pnpm cco web` 时,启动包装器会自动叠加本侧栏和 `dsh-llm-chatcode-config`,无需向 `web` profile 安装。未登录时显示全屏门禁;登录后左下角账号菜单提供状态与退出。令牌由配置插件通过兼容凭据服务管理,Web 只展示账号和操作结果。浏览器未自动打开时可使用备用链接。两端共享条件及操作步骤见相邻配置插件仓库的 [使用手册](../dsh-llm-chatcode-config/docs/chatcode-login.zh.md)。
package/README_EN.md CHANGED
@@ -27,6 +27,14 @@
27
27
 
28
28
  Brand adaptation applies to product identity and version notices; composer drafts, pasted content, conversation text, and code retain their original text.
29
29
 
30
+ `0.18.0-rc.7` refreshes the top-left navigation: a 24px brand mark, compact wordmark and collapse control, and a left-aligned, lightweight **New session** action with its shortcut kept visible. The action no longer has a red gradient or shadow; both light and dark palettes follow host tokens. Native buttons, shortcuts, window dragging and collapse behavior are unchanged.
31
+
32
+ `0.18.0-rc.8` makes **New session** easier to find with a pale red fill, red border and icon, bold 14px text, and stronger hover/pressed fills. The layout stays compact and shadow-free; dark-mode colors derive from the same host theme tokens.
33
+
34
+ `0.18.0-rc.9` replaces the error-red treatment with a high-contrast graphite primary action, a subtle cool gradient and distinct hover/focus states. An isolated, commented CSS block in `sidebar-header.ts` temporarily hides only the native sidebar **Plugins** entry; remove that block to restore it. Plugin loading, Settings and other entry points are unchanged.
35
+
36
+ `0.18.0-rc.10` restores the original brand-red **New session** fill with white text and icon, keeping the compact layout, shortcut and interaction states. Login recovery and the temporary sidebar **Plugins** hide are unchanged.
37
+
30
38
  ## 📑 Contents
31
39
 
32
40
  - [✨ Features](#-features)
@@ -563,6 +571,12 @@ Thanks to everyone who contributed:
563
571
 
564
572
  ## ChatCode account menu
565
573
 
574
+ Each signed-out visit starts one fresh login and attempts to open its page automatically. A visible, copyable link remains available if the browser blocks the popup. **Reopen sign-in page** reuses the current request while it is valid; an expired request can be restarted without deleting credentials. The button never remains permanently disabled. Only a verified account enters the workbench, and network failures retain the stored grant.
575
+
576
+ From `0.18.0-rc.6`, **Log out** opens a confirmation dialog with **Cancel** focused by default. Cancel or Escape preserves the session; confirming runs the existing logout operation.
577
+
578
+ From `0.18.0-rc.5`, the bottom-left account control and its popup use a more compact layout: 13px names and menu text, 24px avatars, and a 44px-high trigger. Settings, sign-in and sign-out behavior is unchanged.
579
+
566
580
  **Settings → Plugin marketplace** opens the internal catalog, also available from the sidebar's **+** menu. Browse internal marketplaces and the default official ChatCode marketplace first, then open one to see plugin cards styled like the Skill marketplace. Each card has project/user install and uninstall buttons. The marketplace list loads once at Web startup; plugin catalogs load on first access and remain cached across navigation, tab switches and reopening Settings. Click **Refresh** to fetch updates. The actual project directory is shown and local installed records sync automatically with CLI `/plugins`. See the [marketplace guide](../dsh-llm-chatcode-config/docs/plugin-market.md) for configuration and supported assets.
567
581
 
568
582
  When `pnpm cco web` runs from the current ChatCode CLI checkout, its source wrapper applies this sidebar and `dsh-llm-chatcode-config` automatically, with no Web-profile installation. Signed-out users see a full-page gate; after sign-in, the bottom-left menu shows status and sign-out. The configuration plugin manages tokens through the compatible credential service, and Web displays only account metadata and outcomes. A fallback link is provided if the browser blocks the popup. See the sibling configuration repository’s [guide](../dsh-llm-chatcode-config/docs/chatcode-login.md).