@chatcode/cco-better-sidebar 0.18.0-rc.5 → 0.18.0-rc.7
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 +1 -1
- package/README_EN.md +1 -1
- package/lib/client-editor.js +346 -273
- package/lib/client-mermaid.js +338 -269
- package/lib/client-registry.js +861 -441
- package/lib/client-terminal.js +344 -271
- package/lib/client.js +855 -435
- package/lib/index.js +47 -7
- package/lib/types/client/PluginProjectPicker.d.ts +13 -0
- package/lib/types/client/api.d.ts +7 -5
- package/lib/types/client/locales.d.ts +16 -0
- package/lib/types/plugin-market-shared.d.ts +22 -0
- package/package.json +1 -1
- package/src/client/PluginMarketView.module.css +15 -0
- package/src/client/PluginMarketView.tsx +113 -24
- package/src/client/PluginProjectPicker.tsx +73 -0
- package/src/client/api.ts +7 -5
- package/src/client/locales-ja.ts +17 -1
- package/src/client/locales.ts +72 -3
- package/src/plugin-market-api.ts +55 -9
- package/src/plugin-market-shared.ts +9 -0
package/README.md
CHANGED
|
@@ -568,6 +568,6 @@ Windows / Linux / macOS 三平台适配(macOS 日常验证;其余经单元
|
|
|
568
568
|
|
|
569
569
|
`0.18.0-rc.5` 起,左下角账号入口与弹出菜单使用更紧凑的布局:用户名和菜单文字为 13px,头像为 24px,底部入口高度为 44px;设置、登录与退出操作保持不变。
|
|
570
570
|
|
|
571
|
-
设置 →「插件市场」已替换为内部市场,也可从侧栏「+」菜单进入。先展示内部市场及默认 ChatCode
|
|
571
|
+
设置 →「插件市场」已替换为内部市场,也可从侧栏「+」菜单进入。先展示内部市场及默认 ChatCode 官方市场,点击市场后以「技能市场」同款卡片展示插件;项目级、用户级安装或卸载按钮直接位于卡片内。顶部显示当前项目目录,可通过“选择项目目录”更换目标。点击项目级安装仅弹窗显示插件名和完整目标目录,确认后开始安装;取消后可重新切换目录,未选择目录时提示先选择;安装期间显示带旋转图标的进度提示,完成或失败后自动恢复操作;取消不会安装,没有会话时也可选择目录。页面显示完整安装路径;用户级安装无需选目录。市场列表在 Web 启动时加载一次,插件目录首次进入时加载并缓存;返回、切换标签或重开设置不会重复请求,有更新时点击「刷新」。本机安装记录与 CLI `/plugins` 共用并自动同步。需要启用新版 config 插件,配置及加载能力见 [插件市场说明](../dsh-llm-chatcode-config/docs/plugin-market.zh.md)。
|
|
572
572
|
|
|
573
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
|
@@ -577,6 +577,6 @@ From `0.18.0-rc.6`, **Log out** opens a confirmation dialog with **Cancel** focu
|
|
|
577
577
|
|
|
578
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
579
|
|
|
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.
|
|
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 current project directory is shown at the top; use **Choose project directory** to change it. Project installation opens a confirmation dialog with the plugin name and full target path, then installs only after confirmation. Cancel to choose another directory; if none is selected, the page prompts you to choose one first; a spinner and progress message remain visible until installation and local status sync finish, with controls restored on success or failure; cancelling installs nothing, and no conversation is required. Full installation paths are shown. User installation needs no directory selection. 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. 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.
|
|
581
581
|
|
|
582
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).
|