Skip to content

Update Codex List Pagebuster to 0.1.4#11

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

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

Conversation

@puppnn

@puppnn puppnn commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

概要

更新 codex-list-pagebuster0.1.4,合并全局历史拉取、兼容模式和大量会话下的滚动性能优化。

更新内容

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

测试情况

  • 已在本地 Codex++ 用户脚本目录加载测试
  • 已验证项目折叠后,对应会话不会被补充显示到下方列表
  • 已验证脚本语法检查通过
  • 已验证 index.json 可以正常解析
  • 已验证 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
@puppnn puppnn changed the title Update Codex List Pagebuster to 0.1.3 Update Codex List Pagebuster to 0.1.4 Jun 18, 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