Repository navigation
fix(server): start a second agent of the same kind from New session - #328
Merged
Merged
Conversation
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. Note Currently processing new changes in this PR. This may take a few minutes, please wait... ⚙️ Run configurationConfiguration used: Repository: devswha/herdr-web-ui/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (5)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
# Conflicts: # CHANGELOG.md # server/api.contract.test.ts
herdr 0.9.3 answers agent_pane_busy for a pane whose shell is not up yet; CI hit it 20 ms after workspace.create.
devswha
added a commit
that referenced
this pull request
Oct 2, 2026
## Change Prepares v0.3.43: `package.json` and `herdr-plugin.toml` go to 0.3.43, and the `[Unreleased]` notes move under `## [0.3.43] - 2026-10-02` with its compare link. What it ships: - the sidebar's rows as they were before 0.3.42, without the new tab and split buttons (#327); - the message box stays editable while the app reconnects (#318); - a second agent of the same kind starts from New session (#328, fixes #314). No new remote runtime: `REMOTE_BUNDLE_VERSION` stays 11. #328's server fix reaches a remote PC with the next runtime. ## Do not merge yet The maintainer releases this by hand. After the merge: `gh workflow run release.yml --ref main -f version=0.3.43` ## Validation `bun run typecheck`, `bun run test:unit` (1034 pass), `bun run build`.
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.
Fixes #314
Why
New session names an agent after its kind when the client sends no name (
claude,codex, ...). herdr'sagent.starttakes a name once per session and answersagent_name_takenfor a second one, so every session after the first of a kind got its workspace but no agent.Change
<kind>-2,<kind>-3, ... (server/agent-name.ts, kept inside herdr's 32-character limit).agent_name_taken, three attempts at most. A name the client gives is used as given and never retried.Validation
server/agent-name.test.ts: the kind when free, the first free number, the length limit.server/api.contract.test.ts: two workspaces of one kind both start with distinct names, and an explicit name is kept. It fails onmainwithagent_name_taken.bun run typecheck,bun run test:unit(1034 pass),bun run build,bun test ./server/api.contract.test.ts(75 pass).A remote PC gets this with the next remote runtime; this PR does not raise it.