Repository navigation
fix(collector): mark agents dispatched outside Paseo with dispatched-by for 0.12.7 - #56
Merged
Merged
Conversation
…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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
问题
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 不解释这个标签。--label "dispatched-by=$CLAUDE_CODE_SESSION_ID",并说明不要借用paseo.parent-agent-id。docs/releasing.md新增「什么时候发版」和「只保留最新版本」两节。验证
bun test tests:566 通过,0 失败;新增带dispatched-by标签的代理不被改写。bun run typecheck、Prettier 检查通过。🤖 Generated with Claude Code