zcode-pro 1.2.0 → 1.2.1
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.en.md +3 -0
- package/README.md +3 -0
- package/dist/inject.js +986 -84
- package/package.json +1 -1
- package/src/host/helper.mjs +174 -4
- package/src/host/taskIndex.mjs +18 -0
- package/src/inject/core.js +88 -0
- package/src/inject/features/plugin-card-retry.js +48 -0
- package/src/inject/features/sandbox-reclaim.js +49 -20
- package/src/inject/features/settings-dialog.js +146 -3
- package/src/inject/features/status-bar.js +274 -0
- package/src/inject/features/turn-usage.js +195 -0
- package/src/inject/index.js +8 -0
- package/src/inject/ui.js +50 -0
package/README.en.md
CHANGED
|
@@ -21,9 +21,12 @@ ZCode Pro enhances the ZCode desktop UI. No client files are modified; just laun
|
|
|
21
21
|
| Task name prompt | When a new session starts answering, generates the task name with a provider and prompt you choose (following the current session and glm-5.3-flash by default; every question sent before the first answer counts), saved as a manual rename the built-in auto title never overrides; provider, model and prompt are editable in settings, with a test button |
|
|
22
22
|
| Running indicator while collapsed | While any session is running, collapsed projects and the "Tasks" / "Pinned" section headers show the same loader the running task row uses; it disappears when all finish |
|
|
23
23
|
| Idle project memory reclaim | Projects unused for a while with no running tasks release their memory automatically, and unused ones are reclaimed once after startup; sessions are untouched and reload when reopened (durations adjustable) |
|
|
24
|
+
| Plugin card auto-retry | Auto-clicks "Reload" on cards that failed the 64-slot cap, so they recover as soon as a slot frees up |
|
|
24
25
|
| Plugin card sandbox reclaim | Releases the oldest plugin-card sandboxes once the cap is hit (the one being viewed goes last), so new cards keep opening after the 64-slot pool fills up; released cards come back when their session is reopened (cap adjustable) |
|
|
25
26
|
| Sidebar menu in the top bar | Turns "New task / Search / Automations / Plugin store" into icon buttons in the top navigation bar: hover shows the name, highlighted while its view is open, shortcuts still work |
|
|
26
27
|
| Plugin panels on the new tab page | The built-in "new tab page" only lists built-in panels and recommended official plugins; this adds cards for third-party marketplace plugin panels (headroom, rtk, …) that open in the side pane |
|
|
28
|
+
| Status bar statistics | Shows statistics at the bottom-right of the main view: context usage (color-shifts when high), questions asked, today/total tokens and task count, all from official data; reorder or hide each item under Settings → Styles → Status bar |
|
|
29
|
+
| Per-turn token usage | Shows that turn's in/out tokens and cache hit rate after the time in each answer's action row (local records keep only a recent window; older answers stay unlabelled) |
|
|
27
30
|
| Collapsible Pinned section | The sidebar "Pinned" header collapses/expands its task list; the state is remembered |
|
|
28
31
|
| File menu actions | Adds "Open with default app" and "Reveal in file manager" to file links in chat |
|
|
29
32
|
| Copy image | Right-click an image in chat or the enlarged preview to copy it to the clipboard |
|
package/README.md
CHANGED
|
@@ -21,9 +21,12 @@ ZCode 桌面版界面增强工具。不修改客户端文件,通过 ZCode Pro
|
|
|
21
21
|
| 任务名提示词 | 新会话开始作答时按所选供应商与提示词生成任务名(默认跟随当前会话、glm-5.3-flash,提问阶段的多条消息都计入),生成结果按手动重命名保存,官方自动标题不再覆盖;可在设置中选供应商、模型并编辑提示词,附测试按钮 |
|
|
22
22
|
| 折叠时任务运行中提示 | 有会话在运行时,折叠的项目与“任务”“已置顶”等分区头显示与任务运行中同款的加载图标,全部结束后消失 |
|
|
23
23
|
| 空闲项目内存回收 | 长时间未使用且无任务运行的项目自动释放其占用的内存,启动后也会自动回收一次未使用的项目;会话记录不受影响,再次打开时自动恢复(时长可调) |
|
|
24
|
+
| 插件卡片自动重试 | 名额腾出后自动补挂因 64 上限失败的插件卡片(自动点"重新加载"),无需手动蹲守 |
|
|
24
25
|
| 插件界面沙箱回收 | 插件卡片沙箱数量达到上限时释放最早创建的(正在查看的排最后),避免 64 个名额耗尽后新卡片打不开;被释放的旧卡片重新打开所在会话即恢复(上限可调) |
|
|
25
26
|
| 侧栏菜单并入顶栏 | “新建任务 / 搜索 / 自动化 / 插件市场”收成顶部导航栏的图标按钮:悬停显示名称,对应界面打开时高亮,快捷键照常可用 |
|
|
26
27
|
| 新标签页插件面板入口 | 官方“新标签页”只列官方面板与推荐的官方插件;本功能把第三方市场插件(headroom、rtk 等)的面板卡片加进去,点击在侧边面板打开 |
|
|
28
|
+
| 状态栏统计 | 主界面底部右下角显示统计项:上下文占用(占用高时变色)、提问次数、今日/累计 token、任务总数,全部取自官方数据;各项的顺序与显隐在 设置 → 样式 → 状态栏 调整 |
|
|
29
|
+
| 每轮回答 token 用量 | 在每条回答末尾操作按钮的时间后面显示该轮的输入/输出 token 与缓存命中率(本地记录只保留最近一段,更早的回答不标注) |
|
|
27
30
|
| 已置顶分区可折叠 | 侧边栏“已置顶”标题可点击折叠/展开其任务列表,状态记住 |
|
|
28
31
|
| 文件菜单增强 | 会话中文件链接的右键菜单新增“默认应用打开”“打开所在目录” |
|
|
29
32
|
| 复制图片 | 右键会话中的图片或放大的预览图,复制到剪贴板 |
|