Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion shipkit/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -799,9 +799,10 @@ def run(prompt: tuple[str, ...], no_agent: bool):
)

# Build launch command with shipkit agent (unless --no-agent)
from shipkit import __version__
cmd = ["claude"]
if not no_agent:
cmd.extend(["--agent", "shipkit"])
cmd.extend(["--agent", f"shipkit v{__version__}"])
if prompt:
cmd.append(" ".join(prompt))

Expand Down
4 changes: 2 additions & 2 deletions shipkit/compilers/agents.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,8 @@ def generate_claude_agent_with_hooks(
# Build YAML frontmatter with hooks and MCP servers
import yaml
frontmatter_data = {
"name": "shipkit",
"description": f"Shipkit v{__version__} — Production-grade Claude Code assistant with battle-tested skills and self-learning capabilities",
"name": f"shipkit v{__version__}",
"description": "Production-grade Claude Code assistant with battle-tested skills and self-learning capabilities",
"model": "sonnet",
"tools": "*",
"permissionMode": "acceptEdits",
Expand Down
3 changes: 2 additions & 1 deletion tests/test_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ def test_run_with_agent(self, initialized_home, tmp_repo, monkeypatch):
call_args = mock_run.call_args[0][0]
assert "claude" in call_args
assert "--agent" in call_args
assert "shipkit" in call_args
agent_arg = call_args[call_args.index("--agent") + 1]
assert agent_arg.startswith("shipkit")

def test_run_without_agent(self, initialized_home, tmp_repo, monkeypatch):
"""Test run command with --no-agent flag."""
Expand Down
Loading