Skip to content

Commit bde2088

Browse files
authored
fix: make cwd a required positional parameter in spawn_teammate (#20)
Move cwd before ctx and remove its empty-string default, since the validation already rejects non-absolute paths.
1 parent 805905b commit bde2088

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/claude_teams/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,10 +415,10 @@ def spawn_teammate_tool(
415415
team_name: str,
416416
name: str,
417417
prompt: str,
418+
cwd: str,
418419
ctx: Context,
419420
model: str = "sonnet",
420421
subagent_type: str = "general-purpose",
421-
cwd: str = "",
422422
plan_mode_required: bool = False,
423423
backend_type: Literal["claude", "opencode"] = "claude",
424424
) -> dict:

0 commit comments

Comments
 (0)