Skip to content

Agent Session Index 1.1.2

Choose a tag to compare

@Jason213 Jason213 released this 01 Dec 05:34
· 5 commits to main since this release

Agent Session Index 1.1.2

1.1.1 之后的更新:

  • 批量操作:搜索结果可以勾选,支持 Shift 范围选择;“选择全部符合条件的”可以一次选中当前搜索的全部结果(最多 1000 个)。选中后可以批量移入回收区、导出为 zip(每个会话一个 Markdown 或 JSON 文件),或者复制会话 ID。
  • 回收区:可以搜索标题、别名、对话内容和会话 ID,按 agent 和状态筛选、排序;勾选后批量还原、彻底删除、重试或导出。回收区中的会话可以打开详情,查看保留的对话文字,也可以直接还原。
  • 清理:条件中新增关键词,匹配规则与会话搜索相同。
  • 批量进度:批量移入、还原、彻底删除和清空回收区时显示进度,可以中途停止。这些操作由页面分批发出,执行期间关闭或刷新这个标签页,剩下的会话不会继续处理。
  • 修复 Codex 会话的移入和删除:
    • Codex CLI 0.172 起,彻底删除和清空回收区会报 “cannot confirm session deletion without an interactive terminal”,现已修复。之前因此变成“需要处理”的条目,在回收区选中后点“重试”即可删除。
    • 没有对话内容的空会话,移入回收区时会报 “failed to archive session”,现已修复。
    • 仍在 Codex 中打开的会话无法移入回收区,现在会直接说明原因,先在 Codex 中退出该会话再移入即可。
  • 会话 ID:鼠标悬停时显示手形指针,不再显示加号。
  • 接口:新增 GET /api/sessions/matching(返回符合条件的全部会话,最多 1000 个)、POST /api/export(批量导出 zip)和 POST /api/trash/batch(回收区批量还原、彻底删除、重试)。搜索结果增加会话指纹 fingerprint,清理预览支持关键词 q。详见网页中的“接口”页。

升级与安装:

  • 已经在用 1.1.1 的,执行 agent-session-index upgrade 即可升级;装了后台服务时会自动重启。
  • 手动安装时,下载 agent-session-index-1.1.2-macos.zip,Intel 与 Apple 芯片通用,需要 macOS 11 及以上版本。替换旧的程序即可,原有配置和索引都会保留。
  • 程序只做了 ad-hoc 签名,没有经过 Apple 公证。第一次运行前在终端执行 xattr -d com.apple.quarantine <解压目录>/agent-session-index,或者双击后到“系统设置 > 隐私与安全性”点“仍要打开”。
  • 想装成后台服务时,在终端进入解压目录执行 ./agent-session-index service install。
  • 使用方法见压缩包里的 使用说明.txt 或 README。

What's new since 1.1.1:

  • Batch operations: search results can be checked, with Shift range selection; "Select all matching" selects every result of the current search at once (up to 1,000). Checked sessions can be moved to the trash in bulk, exported as a zip (one Markdown or JSON file per session), or copied as session IDs.
  • Trash: search titles, aliases, conversation text and session IDs, filter by agent and status, and sort. Checked entries can be restored, permanently deleted, retried or exported in bulk. Sessions in the trash open in the detail view with their saved conversation text and can be restored from there.
  • Cleanup: a new keyword condition that matches the same way as session search.
  • Batch progress: moving, restoring, permanently deleting and emptying the trash now show progress and can be stopped midway. The page sends these operations in small batches, so closing or reloading the tab while they run leaves the remaining sessions unprocessed.
  • Fixes for moving and deleting Codex sessions:
    • With Codex CLI 0.172 and later, permanent deletion and Empty Trash failed with "cannot confirm session deletion without an interactive terminal". This is fixed. Entries that ended up as "Needs attention" because of it can be deleted by selecting them in the trash and clicking Retry.
    • Empty sessions with no conversation failed to move to the trash with "failed to archive session". This is fixed.
    • Sessions still open in Codex cannot be moved to the trash; the app now says so directly. Exit the session in Codex first, then move it.
  • Session IDs: show a pointer cursor on hover instead of a plus sign.
  • API: new GET /api/sessions/matching (all sessions that match, up to 1,000), POST /api/export (batch export as a zip) and POST /api/trash/batch (restore, permanently delete or retry trash entries in bulk). Search results include the session fingerprint fingerprint, and cleanup preview accepts a keyword q. See the API page in the web app for details.

Upgrade and install:

  • If you already run 1.1.1, execute agent-session-index upgrade; the background service restarts automatically if it is installed.
  • To install manually, download agent-session-index-1.1.2-macos.zip. It runs on both Intel and Apple silicon and needs macOS 11 or later. Replace the old app; your settings and index are kept.
  • The app is ad-hoc signed and not notarized by Apple. Before the first run, execute xattr -d com.apple.quarantine <unzipped folder>/agent-session-index, or double-click it and choose "Open Anyway" in System Settings > Privacy & Security.
  • To install the background service, run ./agent-session-index service install from the unzipped folder in a terminal.
  • See 使用说明.txt in the archive or the README for usage.

SHA-256 (agent-session-index-1.1.2-macos.zip): 9de964b00488a408be7be1a12603f2ff6d5fe0cbea54dde6ace5f8abd8a566eb