Skip to content

fix: always return terminal_ids from spawn_uninitialized_terminals#100

Merged
neumie merged 1 commit intomainfrom
fix/always-return-terminal-ids-from-spawn
Apr 7, 2026
Merged

fix: always return terminal_ids from spawn_uninitialized_terminals#100
neumie merged 1 commit intomainfrom
fix/always-return-terminal-ids-from-spawn

Conversation

@neumie
Copy link
Copy Markdown
Contributor

@neumie neumie commented Apr 7, 2026

Summary

  • Always return terminal_ids in the action response from spawn_uninitialized_terminals, even when no terminals were spawned, so callers can distinguish a completed action from a no-result action
  • Add log line for spawn counts to aid debugging

Test plan

  • Verify that actions triggering spawn_uninitialized_terminals with zero uninitialized terminals return { "terminal_ids": [] } instead of null
  • Verify normal terminal spawning still works and returns populated terminal_ids

🤖 Generated with Claude Code

Return terminal_ids in the response even when no terminals were spawned,
so callers can distinguish "action completed with zero spawns" from
"action produced no result". Also add a log line for spawn counts.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@neumie neumie merged commit 87b06cd into main Apr 7, 2026
8 checks passed
@neumie neumie deleted the fix/always-return-terminal-ids-from-spawn branch April 7, 2026 11:24
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