eva-cli 3.0.0__tar.gz → 3.0.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (149) hide show
  1. {eva_cli-3.0.0 → eva_cli-3.0.1}/CHANGELOG.md +5 -0
  2. {eva_cli-3.0.0 → eva_cli-3.0.1}/PKG-INFO +2 -2
  3. {eva_cli-3.0.0 → eva_cli-3.0.1}/README.md +1 -1
  4. {eva_cli-3.0.0 → eva_cli-3.0.1}/pyproject.toml +1 -1
  5. {eva_cli-3.0.0 → eva_cli-3.0.1}/src/eva/__init__.py +1 -1
  6. {eva_cli-3.0.0 → eva_cli-3.0.1}/src/eva/cli/app.py +4 -2
  7. {eva_cli-3.0.0 → eva_cli-3.0.1}/tests/test_basic.py +1 -1
  8. {eva_cli-3.0.0 → eva_cli-3.0.1}/tests/unit/cli/test_cli_commands.py +12 -1
  9. {eva_cli-3.0.0 → eva_cli-3.0.1}/tests/unit/providers/test_providers.py +6 -0
  10. {eva_cli-3.0.0 → eva_cli-3.0.1}/tests/unit/workflows/test_workflow_engine.py +6 -0
  11. {eva_cli-3.0.0 → eva_cli-3.0.1}/.github/workflows/ci.yaml +0 -0
  12. {eva_cli-3.0.0 → eva_cli-3.0.1}/.github/workflows/release.yml +0 -0
  13. {eva_cli-3.0.0 → eva_cli-3.0.1}/.gitignore +0 -0
  14. {eva_cli-3.0.0 → eva_cli-3.0.1}/.pre-commit-config.yaml +0 -0
  15. {eva_cli-3.0.0 → eva_cli-3.0.1}/CONTRIBUTING.md +0 -0
  16. {eva_cli-3.0.0 → eva_cli-3.0.1}/Dockerfile +0 -0
  17. {eva_cli-3.0.0 → eva_cli-3.0.1}/LICENSE +0 -0
  18. {eva_cli-3.0.0 → eva_cli-3.0.1}/SECURITY.md +0 -0
  19. {eva_cli-3.0.0 → eva_cli-3.0.1}/assets/demo.gif +0 -0
  20. {eva_cli-3.0.0 → eva_cli-3.0.1}/assets/demo2.gif +0 -0
  21. {eva_cli-3.0.0 → eva_cli-3.0.1}/assets/demo3.gif +0 -0
  22. {eva_cli-3.0.0 → eva_cli-3.0.1}/assets/demo4.gif +0 -0
  23. {eva_cli-3.0.0 → eva_cli-3.0.1}/assets/demo5.gif +0 -0
  24. {eva_cli-3.0.0 → eva_cli-3.0.1}/assets/logo.png +0 -0
  25. {eva_cli-3.0.0 → eva_cli-3.0.1}/install.sh +0 -0
  26. {eva_cli-3.0.0 → eva_cli-3.0.1}/rust/eva_fastwalk/Cargo.lock +0 -0
  27. {eva_cli-3.0.0 → eva_cli-3.0.1}/rust/eva_fastwalk/Cargo.toml +0 -0
  28. {eva_cli-3.0.0 → eva_cli-3.0.1}/rust/eva_fastwalk/src/lib.rs +0 -0
  29. {eva_cli-3.0.0 → eva_cli-3.0.1}/src/eva/budget.py +0 -0
  30. {eva_cli-3.0.0 → eva_cli-3.0.1}/src/eva/cache/__init__.py +0 -0
  31. {eva_cli-3.0.0 → eva_cli-3.0.1}/src/eva/cache/cache.py +0 -0
  32. {eva_cli-3.0.0 → eva_cli-3.0.1}/src/eva/cache.py +0 -0
  33. {eva_cli-3.0.0 → eva_cli-3.0.1}/src/eva/chat_session.py +0 -0
  34. {eva_cli-3.0.0 → eva_cli-3.0.1}/src/eva/cli/__init__.py +0 -0
  35. {eva_cli-3.0.0 → eva_cli-3.0.1}/src/eva/cli.py +0 -0
  36. {eva_cli-3.0.0 → eva_cli-3.0.1}/src/eva/config/__init__.py +0 -0
  37. {eva_cli-3.0.0 → eva_cli-3.0.1}/src/eva/config/config.py +0 -0
  38. {eva_cli-3.0.0 → eva_cli-3.0.1}/src/eva/config.py +0 -0
  39. {eva_cli-3.0.0 → eva_cli-3.0.1}/src/eva/context/__init__.py +0 -0
  40. {eva_cli-3.0.0 → eva_cli-3.0.1}/src/eva/context/finder.py +0 -0
  41. {eva_cli-3.0.0 → eva_cli-3.0.1}/src/eva/context/gitignore.py +0 -0
  42. {eva_cli-3.0.0 → eva_cli-3.0.1}/src/eva/context/io.py +0 -0
  43. {eva_cli-3.0.0 → eva_cli-3.0.1}/src/eva/context/tokenizer.py +0 -0
  44. {eva_cli-3.0.0 → eva_cli-3.0.1}/src/eva/context/tree.py +0 -0
  45. {eva_cli-3.0.0 → eva_cli-3.0.1}/src/eva/diagnostics.py +0 -0
  46. {eva_cli-3.0.0 → eva_cli-3.0.1}/src/eva/git_ops.py +0 -0
  47. {eva_cli-3.0.0 → eva_cli-3.0.1}/src/eva/indexing/__init__.py +0 -0
  48. {eva_cli-3.0.0 → eva_cli-3.0.1}/src/eva/indexing/finder.py +0 -0
  49. {eva_cli-3.0.0 → eva_cli-3.0.1}/src/eva/indexing/io.py +0 -0
  50. {eva_cli-3.0.0 → eva_cli-3.0.1}/src/eva/indexing/repo_index.py +0 -0
  51. {eva_cli-3.0.0 → eva_cli-3.0.1}/src/eva/indexing/tokenizer.py +0 -0
  52. {eva_cli-3.0.0 → eva_cli-3.0.1}/src/eva/indexing/tree.py +0 -0
  53. {eva_cli-3.0.0 → eva_cli-3.0.1}/src/eva/plugins/__init__.py +0 -0
  54. {eva_cli-3.0.0 → eva_cli-3.0.1}/src/eva/prompts/__init__.py +0 -0
  55. {eva_cli-3.0.0 → eva_cli-3.0.1}/src/eva/providers/__init__.py +0 -0
  56. {eva_cli-3.0.0 → eva_cli-3.0.1}/src/eva/providers/gemini_provider.py +0 -0
  57. {eva_cli-3.0.0 → eva_cli-3.0.1}/src/eva/providers/groq_provider.py +0 -0
  58. {eva_cli-3.0.0 → eva_cli-3.0.1}/src/eva/providers/llamacpp_provider.py +0 -0
  59. {eva_cli-3.0.0 → eva_cli-3.0.1}/src/eva/providers/ollama_provider.py +0 -0
  60. {eva_cli-3.0.0 → eva_cli-3.0.1}/src/eva/providers/openai_compat.py +0 -0
  61. {eva_cli-3.0.0 → eva_cli-3.0.1}/src/eva/providers/opencode_zen_provider.py +0 -0
  62. {eva_cli-3.0.0 → eva_cli-3.0.1}/src/eva/providers/openrouter_provider.py +0 -0
  63. {eva_cli-3.0.0 → eva_cli-3.0.1}/src/eva/replay/__init__.py +0 -0
  64. {eva_cli-3.0.0 → eva_cli-3.0.1}/src/eva/replay/player.py +0 -0
  65. {eva_cli-3.0.0 → eva_cli-3.0.1}/src/eva/replay/recorder.py +0 -0
  66. {eva_cli-3.0.0 → eva_cli-3.0.1}/src/eva/router/__init__.py +0 -0
  67. {eva_cli-3.0.0 → eva_cli-3.0.1}/src/eva/router/gemini_provider.py +0 -0
  68. {eva_cli-3.0.0 → eva_cli-3.0.1}/src/eva/router/groq_provider.py +0 -0
  69. {eva_cli-3.0.0 → eva_cli-3.0.1}/src/eva/router/openai_compat.py +0 -0
  70. {eva_cli-3.0.0 → eva_cli-3.0.1}/src/eva/router/opencode_zen_provider.py +0 -0
  71. {eva_cli-3.0.0 → eva_cli-3.0.1}/src/eva/router/openrouter_provider.py +0 -0
  72. {eva_cli-3.0.0 → eva_cli-3.0.1}/src/eva/security/__init__.py +0 -0
  73. {eva_cli-3.0.0 → eva_cli-3.0.1}/src/eva/security/audit.py +0 -0
  74. {eva_cli-3.0.0 → eva_cli-3.0.1}/src/eva/security/redaction.py +0 -0
  75. {eva_cli-3.0.0 → eva_cli-3.0.1}/src/eva/security/sandbox.py +0 -0
  76. {eva_cli-3.0.0 → eva_cli-3.0.1}/src/eva/security/work_safety.py +0 -0
  77. {eva_cli-3.0.0 → eva_cli-3.0.1}/src/eva/shell/__init__.py +0 -0
  78. {eva_cli-3.0.0 → eva_cli-3.0.1}/src/eva/shell/runner.py +0 -0
  79. {eva_cli-3.0.0 → eva_cli-3.0.1}/src/eva/telemetry/__init__.py +0 -0
  80. {eva_cli-3.0.0 → eva_cli-3.0.1}/src/eva/telemetry/diagnostics.py +0 -0
  81. {eva_cli-3.0.0 → eva_cli-3.0.1}/src/eva/telemetry/metrics.py +0 -0
  82. {eva_cli-3.0.0 → eva_cli-3.0.1}/src/eva/ui/formatter.py +0 -0
  83. {eva_cli-3.0.0 → eva_cli-3.0.1}/src/eva/ui/streaming.py +0 -0
  84. {eva_cli-3.0.0 → eva_cli-3.0.1}/src/eva/work_safety.py +0 -0
  85. {eva_cli-3.0.0 → eva_cli-3.0.1}/src/eva/workflows/__init__.py +0 -0
  86. {eva_cli-3.0.0 → eva_cli-3.0.1}/src/eva/workflows/budget.py +0 -0
  87. {eva_cli-3.0.0 → eva_cli-3.0.1}/src/eva/workflows/builtins/dependency_audit.yaml +0 -0
  88. {eva_cli-3.0.0 → eva_cli-3.0.1}/src/eva/workflows/builtins/repo_health.yaml +0 -0
  89. {eva_cli-3.0.0 → eva_cli-3.0.1}/src/eva/workflows/builtins/security_scan.yaml +0 -0
  90. {eva_cli-3.0.0 → eva_cli-3.0.1}/src/eva/workflows/chat_session.py +0 -0
  91. {eva_cli-3.0.0 → eva_cli-3.0.1}/src/eva/workflows/engine.py +0 -0
  92. {eva_cli-3.0.0 → eva_cli-3.0.1}/src/eva/workspace/__init__.py +0 -0
  93. {eva_cli-3.0.0 → eva_cli-3.0.1}/src/eva/workspace/git_ops.py +0 -0
  94. {eva_cli-3.0.0 → eva_cli-3.0.1}/src/eva/workspace/gitignore.py +0 -0
  95. {eva_cli-3.0.0 → eva_cli-3.0.1}/src/eva/workspace/session.py +0 -0
  96. {eva_cli-3.0.0 → eva_cli-3.0.1}/tests/conftest.py +0 -0
  97. {eva_cli-3.0.0 → eva_cli-3.0.1}/tests/fixtures/golden/patches/sample1_expected.diff +0 -0
  98. {eva_cli-3.0.0 → eva_cli-3.0.1}/tests/fixtures/golden/patches/sample1_fenced.txt +0 -0
  99. {eva_cli-3.0.0 → eva_cli-3.0.1}/tests/fixtures/golden/prompts/analyze_system_prompt.txt +0 -0
  100. {eva_cli-3.0.0 → eva_cli-3.0.1}/tests/fixtures/golden/prompts/ask_system_prompt.txt +0 -0
  101. {eva_cli-3.0.0 → eva_cli-3.0.1}/tests/fixtures/golden/prompts/chat_system_prompt.txt +0 -0
  102. {eva_cli-3.0.0 → eva_cli-3.0.1}/tests/fixtures/golden/prompts/commit_system_prompt.txt +0 -0
  103. {eva_cli-3.0.0 → eva_cli-3.0.1}/tests/fixtures/golden/prompts/edit_system_prompt.txt +0 -0
  104. {eva_cli-3.0.0 → eva_cli-3.0.1}/tests/fixtures/golden/prompts/explain_system_prompt.txt +0 -0
  105. {eva_cli-3.0.0 → eva_cli-3.0.1}/tests/fixtures/golden/prompts/work_system_prompt.txt +0 -0
  106. {eva_cli-3.0.0 → eva_cli-3.0.1}/tests/unit/__init__.py +0 -0
  107. {eva_cli-3.0.0 → eva_cli-3.0.1}/tests/unit/cache/__init__.py +0 -0
  108. {eva_cli-3.0.0 → eva_cli-3.0.1}/tests/unit/cache/test_cache.py +0 -0
  109. {eva_cli-3.0.0 → eva_cli-3.0.1}/tests/unit/cli/__init__.py +0 -0
  110. {eva_cli-3.0.0 → eva_cli-3.0.1}/tests/unit/cli/test_cli.py +0 -0
  111. {eva_cli-3.0.0 → eva_cli-3.0.1}/tests/unit/cli/test_cli_coverage.py +0 -0
  112. {eva_cli-3.0.0 → eva_cli-3.0.1}/tests/unit/cli/test_cli_more.py +0 -0
  113. {eva_cli-3.0.0 → eva_cli-3.0.1}/tests/unit/config/__init__.py +0 -0
  114. {eva_cli-3.0.0 → eva_cli-3.0.1}/tests/unit/config/test_config.py +0 -0
  115. {eva_cli-3.0.0 → eva_cli-3.0.1}/tests/unit/config/test_config_keys.py +0 -0
  116. {eva_cli-3.0.0 → eva_cli-3.0.1}/tests/unit/golden/__init__.py +0 -0
  117. {eva_cli-3.0.0 → eva_cli-3.0.1}/tests/unit/golden/test_golden_patches.py +0 -0
  118. {eva_cli-3.0.0 → eva_cli-3.0.1}/tests/unit/golden/test_golden_prompts.py +0 -0
  119. {eva_cli-3.0.0 → eva_cli-3.0.1}/tests/unit/indexing/__init__.py +0 -0
  120. {eva_cli-3.0.0 → eva_cli-3.0.1}/tests/unit/indexing/test_indexing.py +0 -0
  121. {eva_cli-3.0.0 → eva_cli-3.0.1}/tests/unit/indexing/test_indexing_more.py +0 -0
  122. {eva_cli-3.0.0 → eva_cli-3.0.1}/tests/unit/indexing/test_repo_index.py +0 -0
  123. {eva_cli-3.0.0 → eva_cli-3.0.1}/tests/unit/providers/__init__.py +0 -0
  124. {eva_cli-3.0.0 → eva_cli-3.0.1}/tests/unit/providers/test_offline_providers.py +0 -0
  125. {eva_cli-3.0.0 → eva_cli-3.0.1}/tests/unit/providers/test_provider_coverage.py +0 -0
  126. {eva_cli-3.0.0 → eva_cli-3.0.1}/tests/unit/providers/test_provider_errors.py +0 -0
  127. {eva_cli-3.0.0 → eva_cli-3.0.1}/tests/unit/providers/test_providers_more.py +0 -0
  128. {eva_cli-3.0.0 → eva_cli-3.0.1}/tests/unit/replay/test_replay.py +0 -0
  129. {eva_cli-3.0.0 → eva_cli-3.0.1}/tests/unit/security/__init__.py +0 -0
  130. {eva_cli-3.0.0 → eva_cli-3.0.1}/tests/unit/security/test_audit_chain.py +0 -0
  131. {eva_cli-3.0.0 → eva_cli-3.0.1}/tests/unit/security/test_redaction.py +0 -0
  132. {eva_cli-3.0.0 → eva_cli-3.0.1}/tests/unit/security/test_safety_audit.py +0 -0
  133. {eva_cli-3.0.0 → eva_cli-3.0.1}/tests/unit/security/test_sandbox.py +0 -0
  134. {eva_cli-3.0.0 → eva_cli-3.0.1}/tests/unit/security/test_work_safety.py +0 -0
  135. {eva_cli-3.0.0 → eva_cli-3.0.1}/tests/unit/shell/__init__.py +0 -0
  136. {eva_cli-3.0.0 → eva_cli-3.0.1}/tests/unit/shell/test_shell.py +0 -0
  137. {eva_cli-3.0.0 → eva_cli-3.0.1}/tests/unit/telemetry/__init__.py +0 -0
  138. {eva_cli-3.0.0 → eva_cli-3.0.1}/tests/unit/telemetry/test_metrics.py +0 -0
  139. {eva_cli-3.0.0 → eva_cli-3.0.1}/tests/unit/telemetry/test_telemetry.py +0 -0
  140. {eva_cli-3.0.0 → eva_cli-3.0.1}/tests/unit/test_compatibility_imports.py +0 -0
  141. {eva_cli-3.0.0 → eva_cli-3.0.1}/tests/unit/ui/__init__.py +0 -0
  142. {eva_cli-3.0.0 → eva_cli-3.0.1}/tests/unit/ui/test_ui.py +0 -0
  143. {eva_cli-3.0.0 → eva_cli-3.0.1}/tests/unit/workflows/__init__.py +0 -0
  144. {eva_cli-3.0.0 → eva_cli-3.0.1}/tests/unit/workflows/test_chat_session.py +0 -0
  145. {eva_cli-3.0.0 → eva_cli-3.0.1}/tests/unit/workflows/test_workflows.py +0 -0
  146. {eva_cli-3.0.0 → eva_cli-3.0.1}/tests/unit/workspace/__init__.py +0 -0
  147. {eva_cli-3.0.0 → eva_cli-3.0.1}/tests/unit/workspace/test_git_ops.py +0 -0
  148. {eva_cli-3.0.0 → eva_cli-3.0.1}/tests/unit/workspace/test_session_workspace.py +0 -0
  149. {eva_cli-3.0.0 → eva_cli-3.0.1}/tests/unit/workspace/test_workspace.py +0 -0
@@ -5,6 +5,11 @@ All notable changes to Eva CLI will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [3.0.1] - 2026-08-06
9
+ ### Fixed
10
+ - Added support for custom focus prompts in `eva analyze`.
11
+ - Added `-y`/`--yes` auto-approve flag to `eva workflow run` to prevent piping stalls.
12
+
8
13
  ## [3.0.0] - 2026-08-05
9
14
 
10
15
  ### Added
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: eva-cli
3
- Version: 3.0.0
3
+ Version: 3.0.1
4
4
  Summary: Command Line Intelligence
5
5
  License-File: LICENSE
6
6
  Requires-Python: >=3.10
@@ -28,7 +28,7 @@ Requires-Dist: respx<1.0.0,>=0.21.0; extra == 'dev'
28
28
  Requires-Dist: ruff<1.0.0,>=0.5.0; extra == 'dev'
29
29
  Description-Content-Type: text/markdown
30
30
 
31
- [Uploading README.md…]()
31
+
32
32
  # Eva CLI
33
33
 
34
34
 
@@ -1,4 +1,4 @@
1
- [Uploading README.md…]()
1
+
2
2
  # Eva CLI
3
3
 
4
4
 
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "eva-cli"
3
- version = "3.0.0"
3
+ version = "3.0.1"
4
4
 
5
5
  description = "Command Line Intelligence"
6
6
  readme = "README.md"
@@ -1,3 +1,3 @@
1
1
  """Eva CLI package."""
2
2
 
3
- __version__ = "3.0.0"
3
+ __version__ = "3.0.1"
@@ -196,6 +196,7 @@ def explain(
196
196
 
197
197
  @app.command()
198
198
  def analyze(
199
+ prompt: list[str] = typer.Argument(None, help="Custom prompt or focus instructions for analysis"),
199
200
  files: list[Path] = typer.Option(None, "--file", "-f", help="Files to analyze"),
200
201
  provider: str | None = typer.Option(None, "--provider", "-p", help="Pin to a specific provider"),
201
202
  ):
@@ -217,7 +218,7 @@ def analyze(
217
218
  print_error("Provide files with -f or pipe stdout into 'eva analyze'.")
218
219
  raise typer.Exit(1)
219
220
 
220
- query = "Analyze the provided content, identify issues, and suggest solutions."
221
+ query = " ".join(prompt) if prompt else "Analyze the provided content, identify issues, and suggest solutions."
221
222
  stream = dispatch(ANALYZE_SYSTEM_PROMPT, query, context, config, pinned_provider=provider)
222
223
  result = stream_response(stream)
223
224
  if is_ai_error(result):
@@ -676,6 +677,7 @@ def show_budget():
676
677
  @workflow_app.command("run")
677
678
  def workflow_run_cmd(
678
679
  name: str = typer.Argument(..., help="Workflow name or YAML file path"),
680
+ yes: bool = typer.Option(False, "--yes", "-y", help="Auto-approve all steps without interactive prompts"),
679
681
  provider: str | None = typer.Option(None, "--provider", "-p", help="Pin to a specific provider"),
680
682
  ):
681
683
  """Walk through workflow steps with an approval gate between each step."""
@@ -686,7 +688,7 @@ def workflow_run_cmd(
686
688
  print_error(str(exc))
687
689
  raise typer.Exit(1) from exc
688
690
 
689
- results = run_workflow(wf, config=config, interactive=True)
691
+ results = run_workflow(wf, config=config, interactive=not yes)
690
692
  failed = [r for r in results if r.get("status") in {"failed", "blocked_unsafe", "blocked_ambiguous"}]
691
693
  if failed:
692
694
  raise typer.Exit(1)
@@ -29,7 +29,7 @@ def test_tree_command():
29
29
  def test_version_flag():
30
30
  result = runner.invoke(app, ["--version"])
31
31
  assert result.exit_code == 0
32
- assert "Eva 3.0.0" in result.stdout
32
+ assert "Eva 3.0.1" in result.stdout
33
33
 
34
34
 
35
35
  def test_work_parser_rejects_trailing_fenced_explanation():
@@ -48,10 +48,21 @@ def test_cli_analyze_command(tmp_path):
48
48
  f = tmp_path / "error.log"
49
49
  f.write_text("ERROR: Out of memory", encoding="utf-8")
50
50
 
51
- with patch.object(app_module, "dispatch", return_value=iter(["Analysis of error"])):
51
+ with patch.object(app_module, "dispatch", return_value=iter(["Analysis of error"])) as mock_dispatch:
52
52
  res = runner.invoke(app, ["analyze", "-f", str(f)])
53
53
  assert res.exit_code == 0
54
54
  assert "Analysis of error" in res.stdout
55
+ mock_dispatch.assert_called_once()
56
+ assert mock_dispatch.call_args[0][1] == "Analyze the provided content, identify issues, and suggest solutions."
57
+
58
+
59
+ def test_cli_analyze_custom_prompt():
60
+ with patch.object(app_module, "dispatch", return_value=iter(["Custom analysis result"])) as mock_dispatch:
61
+ res = runner.invoke(app, ["analyze", "Highlight high-severity secret exposures"], input="secret_key = 12345\n")
62
+ assert res.exit_code == 0
63
+ assert "Custom analysis result" in res.stdout
64
+ mock_dispatch.assert_called_once()
65
+ assert mock_dispatch.call_args[0][1] == "Highlight high-severity secret exposures"
55
66
 
56
67
 
57
68
  def test_cli_work_dry_run():
@@ -51,6 +51,12 @@ def test_openrouter_get_free_models_mocked():
51
51
 
52
52
  @respx.mock
53
53
  def test_opencode_zen_get_free_models_mocked():
54
+ from eva.cache import get_cache
55
+ from eva.providers.opencode_zen_provider import MODEL_CACHE_KEY
56
+
57
+ with get_cache() as cache:
58
+ cache.delete(MODEL_CACHE_KEY)
59
+
54
60
  respx.get("https://opencode.ai/zen/v1/models").respond(json={"data": [{"id": "big-pickle"}, {"id": "paid-model"}]})
55
61
 
56
62
  free_models = get_opencode_models()
@@ -145,3 +145,9 @@ def test_workflow_cli_commands():
145
145
 
146
146
  res_show_fail = runner.invoke(app, ["workflow", "show", "non_existent_wf"])
147
147
  assert res_show_fail.exit_code == 1
148
+
149
+
150
+ def test_workflow_cli_run_yes_flag():
151
+ res_run = runner.invoke(app, ["workflow", "run", "repo_health", "-y"])
152
+ assert res_run.exit_code == 0
153
+ assert "Starting Workflow: repo_health" in res_run.stderr or "Starting Workflow: repo_health" in res_run.stdout
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes