8000 fix(collector): reveal only Paseo sessions you started, never dispatched agents, for 0.12.5 by InfinityPacer · Pull Request #54 · InfinityPacer/meterleaf · GitHub
[go: up one dir, main page]

Skip to content

fix(collector): reveal only Paseo sessions you started, never dispatched agents, for 0.12.5 - #54

Merged
InfinityPacer merged 1 commit into
mainfrom
fix/resume-visibility-main-only
Oct 25, 2026
Merged

InfinityPacer merged 1 commit into
mainfrom
fix/resume-visibility-main-only

Conversation

@InfinityPacer
Copy link
Copy Markdown
Owner

问题

0.12.4 的 scripts/claude-resume-visibility.ts 以“会话里有你直接发出的消息”为条件,Paseo 子代理只要你之后和它对话过,或者是在 Paseo 之外用 paseo run 派出的,就会被列进 claude --resume。期望是只列出你自己开的主会话。

变化

  • 代理记录带 paseo.parent-agent-id 标签,或 lastUserMessageAt 为 null(从未收到你在 Paseo 里发的消息),即视为派出的代理,不处理。同一会话被多个代理引用时,任一记录显示为派出就不处理。
  • 会话第一条消息是 <paseo-system> 包裹的代理消息时视为子代理,之后你再和它对话也不改变。
  • 文档说明:paseo run 派出时加 --label paseo.parent-agent-id=<派出者> 可被识别为子代理。
  • 版本 0.12.5,只更新脚本,采集器和服务端不用替换。

验证

  • bun test tests:567 通过,0 失败;新增覆盖带父代理标签、从未收到你消息、子代理之后被你直接对话三种情况均不改写。
  • bun run typecheck 通过。
  • 真实数据预演(--dry-run):19 个主会话将显示,11 个运行中暂不处理;比 0.12.4 少列出 2 个从未收到你消息的代理和 1 个你后来对话过的子代理。

🤖 Generated with Claude Code

…hed agents, for 0.12.5

Agents dispatched by another agent carry the paseo.parent-agent-id label or
have never received a message from you in Paseo, and their first message is a
<paseo-system> agent message. Any of these now keeps the session hidden, even
if you talked to that sub-agent afterwards.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@InfinityPacer
InfinityPacer merged commit 0a88b74 into main Oct 25, 2026
2 checks passed
@InfinityPacer
InfinityPacer deleted the fix/resume-visibility-main-only branch October 25, 2026 14:53
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

0