lisa-cli 0.3.1__tar.gz → 0.5.0__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 (49) hide show
  1. {lisa_cli-0.3.1/src/lisa_cli.egg-info → lisa_cli-0.5.0}/PKG-INFO +9 -9
  2. {lisa_cli-0.3.1 → lisa_cli-0.5.0}/pyproject.toml +23 -11
  3. {lisa_cli-0.3.1 → lisa_cli-0.5.0}/src/hosts/cli/main.py +859 -194
  4. {lisa_cli-0.3.1 → lisa_cli-0.5.0}/src/hosts/cli/render.py +6 -2
  5. {lisa_cli-0.3.1 → lisa_cli-0.5.0}/src/hosts/cli/transport.py +573 -186
  6. lisa_cli-0.5.0/src/hosts/cli/update.py +624 -0
  7. {lisa_cli-0.3.1 → lisa_cli-0.5.0/src/lisa_cli.egg-info}/PKG-INFO +9 -9
  8. {lisa_cli-0.3.1 → lisa_cli-0.5.0}/src/lisa_cli.egg-info/SOURCES.txt +8 -0
  9. {lisa_cli-0.3.1 → lisa_cli-0.5.0}/src/lisa_cli.egg-info/requires.txt +8 -8
  10. lisa_cli-0.5.0/tests/test_error_text_escaping.py +118 -0
  11. {lisa_cli-0.3.1 → lisa_cli-0.5.0}/tests/test_group_resolution.py +46 -1
  12. {lisa_cli-0.3.1 → lisa_cli-0.5.0}/tests/test_models_command.py +7 -5
  13. lisa_cli-0.5.0/tests/test_no_locals_dump.py +93 -0
  14. {lisa_cli-0.3.1 → lisa_cli-0.5.0}/tests/test_pack_update.py +55 -4
  15. lisa_cli-0.5.0/tests/test_profile_env_fallback.py +99 -0
  16. {lisa_cli-0.3.1 → lisa_cli-0.5.0}/tests/test_profile_option.py +2 -1
  17. {lisa_cli-0.3.1 → lisa_cli-0.5.0}/tests/test_prompt_transport.py +484 -62
  18. {lisa_cli-0.3.1 → lisa_cli-0.5.0}/tests/test_restart.py +10 -6
  19. {lisa_cli-0.3.1 → lisa_cli-0.5.0}/tests/test_runtime_teardown.py +31 -0
  20. lisa_cli-0.5.0/tests/test_startup_benchmark_script.py +815 -0
  21. lisa_cli-0.5.0/tests/test_startup_deferred_imports.py +946 -0
  22. {lisa_cli-0.3.1 → lisa_cli-0.5.0}/tests/test_update_command.py +136 -20
  23. lisa_cli-0.5.0/tests/test_update_policy.py +550 -0
  24. lisa_cli-0.5.0/tests/test_update_policy_uv.py +497 -0
  25. {lisa_cli-0.3.1 → lisa_cli-0.5.0}/tests/test_verify_command.py +115 -19
  26. {lisa_cli-0.3.1 → lisa_cli-0.5.0}/tests/test_version_output.py +1 -1
  27. {lisa_cli-0.3.1 → lisa_cli-0.5.0}/LICENSE +0 -0
  28. {lisa_cli-0.3.1 → lisa_cli-0.5.0}/setup.cfg +0 -0
  29. {lisa_cli-0.3.1 → lisa_cli-0.5.0}/src/hosts/__init__.py +0 -0
  30. {lisa_cli-0.3.1 → lisa_cli-0.5.0}/src/hosts/cli/__init__.py +0 -0
  31. {lisa_cli-0.3.1 → lisa_cli-0.5.0}/src/hosts/cli/entry.py +0 -0
  32. {lisa_cli-0.3.1 → lisa_cli-0.5.0}/src/hosts/cli/expand.py +0 -0
  33. {lisa_cli-0.3.1 → lisa_cli-0.5.0}/src/lisa_cli.egg-info/dependency_links.txt +0 -0
  34. {lisa_cli-0.3.1 → lisa_cli-0.5.0}/src/lisa_cli.egg-info/entry_points.txt +0 -0
  35. {lisa_cli-0.3.1 → lisa_cli-0.5.0}/src/lisa_cli.egg-info/top_level.txt +0 -0
  36. {lisa_cli-0.3.1 → lisa_cli-0.5.0}/tests/test_approval_panel.py +0 -0
  37. {lisa_cli-0.3.1 → lisa_cli-0.5.0}/tests/test_changed_coverage.py +0 -0
  38. {lisa_cli-0.3.1 → lisa_cli-0.5.0}/tests/test_check_coverage_gate.py +0 -0
  39. {lisa_cli-0.3.1 → lisa_cli-0.5.0}/tests/test_check_docs.py +0 -0
  40. {lisa_cli-0.3.1 → lisa_cli-0.5.0}/tests/test_direct_io_policy.py +0 -0
  41. {lisa_cli-0.3.1 → lisa_cli-0.5.0}/tests/test_last_command.py +0 -0
  42. {lisa_cli-0.3.1 → lisa_cli-0.5.0}/tests/test_prompt_command.py +0 -0
  43. {lisa_cli-0.3.1 → lisa_cli-0.5.0}/tests/test_prompt_decisions.py +0 -0
  44. {lisa_cli-0.3.1 → lisa_cli-0.5.0}/tests/test_prompt_entry.py +0 -0
  45. {lisa_cli-0.3.1 → lisa_cli-0.5.0}/tests/test_prompt_expand.py +0 -0
  46. {lisa_cli-0.3.1 → lisa_cli-0.5.0}/tests/test_render_catalogs.py +0 -0
  47. {lisa_cli-0.3.1 → lisa_cli-0.5.0}/tests/test_render_models.py +0 -0
  48. {lisa_cli-0.3.1 → lisa_cli-0.5.0}/tests/test_streaming.py +0 -0
  49. {lisa_cli-0.3.1 → lisa_cli-0.5.0}/tests/test_transport_stage.py +0 -0
@@ -1,18 +1,18 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: lisa-cli
3
- Version: 0.3.1
3
+ Version: 0.5.0
4
4
  Summary: Terminal CLI for the Lisa Harness
5
5
  License-Expression: MIT
6
6
  Requires-Python: >=3.11
7
7
  License-File: LICENSE
8
- Requires-Dist: lisa-harness-runtime
9
- Requires-Dist: lisa-harness-kernel
10
- Requires-Dist: lisa-harness-sdk
11
- Requires-Dist: lisa-harness-mcp-servers
12
- Requires-Dist: lisa-pack-core
13
- Requires-Dist: lisa-pack-introspect
14
- Requires-Dist: lisa-pack-memory
15
- Requires-Dist: lisa-pack-recovery
8
+ Requires-Dist: lisa-harness-runtime>=0.5.2
9
+ Requires-Dist: lisa-harness-kernel>=0.5.2
10
+ Requires-Dist: lisa-harness-sdk>=0.5.2
11
+ Requires-Dist: lisa-harness-mcp-servers>=0.5.2
12
+ Requires-Dist: lisa-pack-core>=0.5.2
13
+ Requires-Dist: lisa-pack-introspect>=0.5.2
14
+ Requires-Dist: lisa-pack-memory>=0.5.2
15
+ Requires-Dist: lisa-pack-recovery>=0.5.2
16
16
  Requires-Dist: openai>=1.30.0
17
17
  Requires-Dist: rich>=13.7.0
18
18
  Requires-Dist: typer>=0.12.3
@@ -7,20 +7,20 @@ where = ["src"]
7
7
 
8
8
  [project]
9
9
  name = "lisa-cli"
10
- version = "0.3.1"
10
+ version = "0.5.0"
11
11
  description = "Terminal CLI for the Lisa Harness"
12
12
  requires-python = ">=3.11"
13
13
  license = "MIT"
14
14
  license-files = ["LICENSE"]
15
15
  dependencies = [
16
- "lisa-harness-runtime",
17
- "lisa-harness-kernel",
18
- "lisa-harness-sdk",
19
- "lisa-harness-mcp-servers",
20
- "lisa-pack-core",
21
- "lisa-pack-introspect",
22
- "lisa-pack-memory",
23
- "lisa-pack-recovery",
16
+ "lisa-harness-runtime>=0.5.2",
17
+ "lisa-harness-kernel>=0.5.2",
18
+ "lisa-harness-sdk>=0.5.2",
19
+ "lisa-harness-mcp-servers>=0.5.2",
20
+ "lisa-pack-core>=0.5.2",
21
+ "lisa-pack-introspect>=0.5.2",
22
+ "lisa-pack-memory>=0.5.2",
23
+ "lisa-pack-recovery>=0.5.2",
24
24
  "openai>=1.30.0",
25
25
  "rich>=13.7.0",
26
26
  "typer>=0.12.3",
@@ -46,8 +46,20 @@ dev = [
46
46
  prompt = ["prompt-toolkit>=3.0"]
47
47
 
48
48
  [tool.pytest.ini_options]
49
- pythonpath = ["src"]
49
+ pythonpath = [
50
+ "src",
51
+ # The offline scenarios import the scripted-model double from the
52
+ # published ``lisa-harness-e2e`` distribution's source tree (the same
53
+ # ``e2etest.scripted`` module the wheels ship; CI resolves the dist
54
+ # from PyPI wheels — see docs/SPEC/CLI_INTEGRATION_LAYER.md).
55
+ # Relative to this member root: ``hosts/cli/../../../lisa/e2etest/src``
56
+ # is ``<sibling>/lisa/e2etest/src``.
57
+ "../../../lisa/e2etest/src",
58
+ ]
50
59
  testpaths = ["tests"]
60
+ # An xfail that unexpectedly passes must fail the suite, so a fixed bug
61
+ # flips its regression guard back on instead of silently staying skipped.
62
+ xfail_strict = true
51
63
  markers = [
52
64
  "live: hits real external signal or provider APIs and prints a tester-visible summary",
53
65
  "integration: multi-module in-process test; may require local services",
@@ -108,7 +120,7 @@ select = [
108
120
  ignore = ["PLR0913", "PLC0415", "RUF001", "RUF002", "RUF003"]
109
121
 
110
122
  [tool.ruff.lint.per-file-ignores]
111
- "**/tests/**" = ["PLC0415", "PLR2004"]
123
+ "**/tests/**" = ["PLC0415", "PLR2004", "PLR0917"]
112
124
  "**/hosts/cli/main.py" = ["E402", "PLC0415", "PLR0917"]
113
125
  "**/hosts/cli/render.py" = ["PLC0415"]
114
126
  "**/hosts/cli/entry.py" = ["PLC0415", "RUF001"]