8000 fix(collector): mark agents dispatched outside Paseo with dispatched-by for 0.12.7 by InfinityPacer · Pull Request #56 · InfinityPacer/meterleaf · GitHub
[go: up one dir, main page]

Skip to content

fix(collector): mark agents dispatched outside Paseo with dispatched-by for 0.12.7 - #56

Merged
InfinityPacer merged 3 commits into
mainfrom
fix/resume-visibility-dispatch-label
Oct 25, 2026
Merged

InfinityPacer merged 3 commits into
mainfrom
fix/resume-visibility-dispatch-label

Conversation

@InfinityPacer
@InfinityPacer InfinityPacer commented Oct 25, 2026 •
Copy link
Copy Markdown
Owner

问题

  • 0.12.5 起文档建议在 Paseo 之外用 paseo run --label paseo.parent-agent-id=<派出者> 标明子代理。但 Paseo 会把带这个标签的代理当成该上级的子代理:上级不是 Paseo 代理时(例如终端里的 Claude Code 会话),Paseo 不会自动为它打开标签页,工作区运行状态也不计入它(packages/app/src/subagents/workspace-root-policy.ts、workspace-tabs/agent-visibility.ts)。
  • 发版说明没有写明发版时机和只保留最新版本的做法,导致一件事的连续修正被拆成了多个版本。

变化

  • scripts/claude-resume-visibility.ts 另外识别 dispatched-by 标签,带它的代理按子代理处理,不出现在 claude --resume。Paseo 不解释这个标签。
  • 文档改为在 Paseo 之外派出时用 --label "dispatched-by=$CLAUDE_CODE_SESSION_ID",并说明不要借用 paseo.parent-agent-id。
  • docs/releasing.md 新增「什么时候发版」和「只保留最新版本」两节。
  • 版本 0.12.7,只更新脚本和文档。

验证

  • bun test tests:566 通过,0 失败;新增带 dispatched-by 标签的代理不被改写。
  • bun run typecheck、Prettier 检查通过。

🤖 Generated with Claude Code

InfinityPacer and others added 3 commits October 25, 2026 23:25
…by for 0.12.7

paseo.parent-agent-id makes Paseo treat the agent as a child of that parent,
so pointing it at a terminal Claude Code session stops Paseo from auto-opening
the agent's tab and from counting it in workspace activity. Agents dispatched
with paseo run outside Paseo now carry dispatched-by instead, which Paseo
ignores and the resume-visibility script treats as a sub-agent.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…he latest

Every merge that bumps the version publishes a release, so follow-up fixes
should stay on one branch until settled. Older releases, tags and images are
removed after a new release, keeping the untagged GHCR platform images that
the kept version points to.

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