Skip to content

Update Codex List Pagebuster to 0.1.3#11

Open
puppnn wants to merge 3 commits into
BigPizzaV3:mainfrom
puppnn:codex/update-list-pagebuster-0.1.1
Open

Update Codex List Pagebuster to 0.1.3#11
puppnn wants to merge 3 commits into
BigPizzaV3:mainfrom
puppnn:codex/update-list-pagebuster-0.1.1

Conversation

@puppnn
Copy link
Copy Markdown
Contributor

@puppnn puppnn commented Jun 1, 2026

概要

更新 codex-list-pagebuster0.1.3,修复 Codex Desktop 项目折叠状态下的历史会话显示问题,新增兼容模式,并优化大量会话下的侧边栏滚动性能。

更新内容

  • 识别 Codex 项目的折叠状态
  • 折叠项目下的会话不再被误判为缺失会话
  • 避免折叠项目中的会话被补充显示到下方列表
  • 新增兼容模式:新版 Codex 优先使用内部 action 恢复原生会话,旧版或内部 action 不可用时回退到 DOM 补充显示
  • 仅在确认进入 fallback 模式后显示补充行,避免新版 Codex 中出现“看起来在列表里但不是原生会话”的中间状态
  • 优化大量会话下的滚动性能:降低后台检查频率、为 DOM 变化加防抖,并在滚动过程中暂停补充渲染
  • 在脚本 status() 中暴露当前 compatibilityMode,便于排查当前运行在 native 还是 fallback 模式
  • 保留超过首屏数量的历史会话补全能力

测试版本

  • Codex++:2026-05-29 安装版本
  • Codex Desktop:2026-06-01 更新后的版本
  • 系统:Windows

测试情况

  • 已在本地 Codex++ 用户脚本目录加载测试
  • 已验证项目折叠后,对应会话不会被补充显示到下方列表
  • 已验证脚本语法检查通过
  • 已验证 index.json 可以正常解析

说明

历史会话恢复功能通常只能让本地历史记录重新可被识别,但 Codex Desktop 左侧会话列表本身仍可能只加载首屏数量。这个脚本用于补强原生侧边栏列表,让更多本地历史会话能直接显示在 Codex 的会话列表中。

在新版 Codex 中,脚本会尽量把缺失历史会话恢复进原生列表;如果旧版 Codex 缺少相关内部接口,脚本会自动进入 fallback 模式,继续提供补充显示入口。

@puppnn puppnn changed the title Update Codex List Pagebuster to 0.1.1 Update Codex List Pagebuster to 0.1.2 Jun 1, 2026
@puppnn puppnn changed the title Update Codex List Pagebuster to 0.1.2 Update Codex List Pagebuster to 0.1.3 Jun 2, 2026
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