monix 0.1.0__py3-none-any.whl

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 (66) hide show
  1. monix/__init__.py +5 -0
  2. monix/__main__.py +5 -0
  3. monix/assistant.py +6 -0
  4. monix/cli.py +1697 -0
  5. monix/config/__init__.py +3 -0
  6. monix/config/keystore.py +32 -0
  7. monix/config/settings.py +110 -0
  8. monix/core/__init__.py +3 -0
  9. monix/core/assistant.py +245 -0
  10. monix/llm/__init__.py +26 -0
  11. monix/llm/client.py +211 -0
  12. monix/llm/executor.py +144 -0
  13. monix/llm/gemini.py +5 -0
  14. monix/llm/masker.py +47 -0
  15. monix/llm/prompts.py +51 -0
  16. monix/llm/registry.py +153 -0
  17. monix/llm/runner.py +166 -0
  18. monix/llm/tests/__init__.py +0 -0
  19. monix/llm/tests/test_client.py +235 -0
  20. monix/llm/tests/test_executor.py +125 -0
  21. monix/llm/tests/test_masker.py +50 -0
  22. monix/llm/tests/test_prompts.py +38 -0
  23. monix/llm/tests/test_registry.py +76 -0
  24. monix/llm/tests/test_runner.py +243 -0
  25. monix/llm/tests/test_trimmer.py +101 -0
  26. monix/llm/trimmer.py +83 -0
  27. monix/llm/types.py +59 -0
  28. monix/mcp.py +95 -0
  29. monix/monitor.py +43 -0
  30. monix/picker.py +443 -0
  31. monix/render.py +1180 -0
  32. monix/safety/__init__.py +3 -0
  33. monix/safety/policy.py +12 -0
  34. monix/tools/__init__.py +18 -0
  35. monix/tools/calling.py +276 -0
  36. monix/tools/collect.py +160 -0
  37. monix/tools/logs/__init__.py +51 -0
  38. monix/tools/logs/_types.py +44 -0
  39. monix/tools/logs/app.py +174 -0
  40. monix/tools/logs/docker/__init__.py +19 -0
  41. monix/tools/logs/docker/containers.py +155 -0
  42. monix/tools/logs/nginx.py +126 -0
  43. monix/tools/logs/registry.py +120 -0
  44. monix/tools/notify/__init__.py +116 -0
  45. monix/tools/notify/_types.py +17 -0
  46. monix/tools/notify/config_store.py +32 -0
  47. monix/tools/notify/discord.py +27 -0
  48. monix/tools/notify/slack.py +24 -0
  49. monix/tools/notify/webhook.py +46 -0
  50. monix/tools/services.py +61 -0
  51. monix/tools/system/__init__.py +38 -0
  52. monix/tools/system/cpu.py +176 -0
  53. monix/tools/system/disk.py +22 -0
  54. monix/tools/system/disk_io.py +100 -0
  55. monix/tools/system/docker_stats.py +127 -0
  56. monix/tools/system/memory.py +66 -0
  57. monix/tools/system/metrics.py +114 -0
  58. monix/tools/system/network.py +126 -0
  59. monix/tools/system/processes.py +60 -0
  60. monix/tools/system/swap.py +62 -0
  61. monix-0.1.0.dist-info/METADATA +216 -0
  62. monix-0.1.0.dist-info/RECORD +66 -0
  63. monix-0.1.0.dist-info/WHEEL +5 -0
  64. monix-0.1.0.dist-info/entry_points.txt +3 -0
  65. monix-0.1.0.dist-info/licenses/LICENSE +21 -0
  66. monix-0.1.0.dist-info/top_level.txt +1 -0
monix/__init__.py ADDED
@@ -0,0 +1,5 @@
1
+ """Monix server monitoring CLI."""
2
+
3
+ __all__ = ["__version__"]
4
+
5
+ __version__ = "0.1.0"
monix/__main__.py ADDED
@@ -0,0 +1,5 @@
1
+ import sys
2
+ from monix.cli import main
3
+
4
+ if __name__ == "__main__":
5
+ sys.exit(main())
monix/assistant.py ADDED
@@ -0,0 +1,6 @@
1
+ from __future__ import annotations
2
+
3
+ from monix.core.assistant import answer, local_answer, wrap
4
+ from monix.llm import GeminiClient, SYSTEM_PROMPT
5
+
6
+ __all__ = ["SYSTEM_PROMPT", "GeminiClient", "answer", "local_answer", "wrap"]