kctl-lib 0.8.1__tar.gz → 0.8.2__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 (78) hide show
  1. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/PKG-INFO +1 -1
  2. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/pyproject.toml +1 -1
  3. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/src/kctl_lib/__init__.py +1 -1
  4. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/tests/conftest.py +8 -0
  5. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/.gitignore +0 -0
  6. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/README.md +0 -0
  7. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/src/kctl_lib/_migration.py +0 -0
  8. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/src/kctl_lib/api_client.py +0 -0
  9. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/src/kctl_lib/async_api_client.py +0 -0
  10. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/src/kctl_lib/callbacks.py +0 -0
  11. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/src/kctl_lib/cli/__init__.py +0 -0
  12. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/src/kctl_lib/cli/commands/__init__.py +0 -0
  13. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/src/kctl_lib/cli/commands/current.py +0 -0
  14. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/src/kctl_lib/cli/commands/list_cmd.py +0 -0
  15. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/src/kctl_lib/cli/commands/migrate.py +0 -0
  16. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/src/kctl_lib/cli/commands/show.py +0 -0
  17. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/src/kctl_lib/cli/commands/validate.py +0 -0
  18. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/src/kctl_lib/cli/main.py +0 -0
  19. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/src/kctl_lib/completions.py +0 -0
  20. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/src/kctl_lib/config.py +0 -0
  21. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/src/kctl_lib/docker.py +0 -0
  22. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/src/kctl_lib/doctor_base.py +0 -0
  23. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/src/kctl_lib/exceptions.py +0 -0
  24. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/src/kctl_lib/git_ops.py +0 -0
  25. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/src/kctl_lib/history.py +0 -0
  26. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/src/kctl_lib/logging_utils.py +0 -0
  27. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/src/kctl_lib/monitor_base.py +0 -0
  28. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/src/kctl_lib/output.py +0 -0
  29. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/src/kctl_lib/plugins.py +0 -0
  30. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/src/kctl_lib/progress.py +0 -0
  31. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/src/kctl_lib/py.typed +0 -0
  32. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/src/kctl_lib/runner.py +0 -0
  33. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/src/kctl_lib/schemas.py +0 -0
  34. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/src/kctl_lib/secrets.py +0 -0
  35. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/src/kctl_lib/self_update.py +0 -0
  36. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/src/kctl_lib/skill_generator.py +0 -0
  37. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/src/kctl_lib/ssh.py +0 -0
  38. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/src/kctl_lib/ssh_tunnel.py +0 -0
  39. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/src/kctl_lib/testing.py +0 -0
  40. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/src/kctl_lib/tui.py +0 -0
  41. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/src/kctl_lib/tui.tcss +0 -0
  42. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/src/kctl_lib/validate.py +0 -0
  43. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/tests/fixtures/clean_config.yaml +0 -0
  44. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/tests/fixtures/dirty_config.yaml +0 -0
  45. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/tests/test_api_client.py +0 -0
  46. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/tests/test_async_api_client.py +0 -0
  47. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/tests/test_callbacks.py +0 -0
  48. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/tests/test_cli_current.py +0 -0
  49. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/tests/test_cli_list.py +0 -0
  50. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/tests/test_cli_migrate.py +0 -0
  51. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/tests/test_cli_show.py +0 -0
  52. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/tests/test_cli_smoke.py +0 -0
  53. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/tests/test_cli_validate.py +0 -0
  54. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/tests/test_completions.py +0 -0
  55. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/tests/test_config.py +0 -0
  56. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/tests/test_docker.py +0 -0
  57. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/tests/test_doctor_base.py +0 -0
  58. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/tests/test_exceptions.py +0 -0
  59. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/tests/test_git_ops.py +0 -0
  60. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/tests/test_history.py +0 -0
  61. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/tests/test_inheritance.py +0 -0
  62. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/tests/test_logging_utils.py +0 -0
  63. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/tests/test_mask_secret_fields.py +0 -0
  64. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/tests/test_migration.py +0 -0
  65. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/tests/test_monitor_base.py +0 -0
  66. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/tests/test_output.py +0 -0
  67. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/tests/test_plugins.py +0 -0
  68. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/tests/test_profile_banner.py +0 -0
  69. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/tests/test_progress.py +0 -0
  70. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/tests/test_runner.py +0 -0
  71. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/tests/test_schemas.py +0 -0
  72. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/tests/test_secrets.py +0 -0
  73. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/tests/test_self_update.py +0 -0
  74. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/tests/test_skill_generator.py +0 -0
  75. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/tests/test_ssh.py +0 -0
  76. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/tests/test_ssh_tunnel.py +0 -0
  77. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/tests/test_tui.py +0 -0
  78. {kctl_lib-0.8.1 → kctl_lib-0.8.2}/tests/test_validate.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: kctl-lib
3
- Version: 0.8.1
3
+ Version: 0.8.2
4
4
  Summary: Shared core library for kctl-* CLI tools
5
5
  Requires-Python: >=3.12
6
6
  Requires-Dist: httpx>=0.28.0
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "kctl-lib"
7
- version = "0.8.1"
7
+ version = "0.8.2"
8
8
  description = "Shared core library for kctl-* CLI tools"
9
9
  requires-python = ">=3.12"
10
10
  dependencies = [
@@ -24,7 +24,7 @@ Public API:
24
24
  - tui: Textual TUI (add_tui_command)
25
25
  """
26
26
 
27
- __version__ = "0.8.1"
27
+ __version__ = "0.8.2"
28
28
 
29
29
  from kctl_lib.api_client import APIClient
30
30
  from kctl_lib.async_api_client import AsyncAPIClient
@@ -26,3 +26,11 @@ def _isolate_user_config(tmp_path: Path, monkeypatch: pytest.MonkeyPatch, reques
26
26
  target = tmp_path / "config.yaml"
27
27
  monkeypatch.setattr("kctl_lib.config.CONFIG_FILE", target, raising=False)
28
28
  monkeypatch.setattr("kctl_lib.config.CONFIG_DIR", tmp_path, raising=False)
29
+
30
+
31
+ @pytest.fixture(autouse=True)
32
+ def _isolate_schema_registry(monkeypatch: pytest.MonkeyPatch) -> None:
33
+ """Keep service-schema registration tests from leaking across packages."""
34
+ import kctl_lib.schemas as schemas
35
+
36
+ monkeypatch.setattr(schemas, "_REGISTRY", dict(schemas._REGISTRY), raising=False)
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