aixtools 0.1.9__tar.gz → 0.1.10__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.

Potentially problematic release.


This version of aixtools might be problematic. Click here for more details.

Files changed (140) hide show
  1. {aixtools-0.1.9 → aixtools-0.1.10}/PKG-INFO +1 -1
  2. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/_version.py +3 -3
  3. aixtools-0.1.10/aixtools/compliance/__init__.py +9 -0
  4. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/compliance/private_data.py +5 -3
  5. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools.egg-info/PKG-INFO +1 -1
  6. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools.egg-info/SOURCES.txt +1 -0
  7. {aixtools-0.1.9 → aixtools-0.1.10}/.env_template +0 -0
  8. {aixtools-0.1.9 → aixtools-0.1.10}/.github/workflows/lint-and-test.yml +0 -0
  9. {aixtools-0.1.9 → aixtools-0.1.10}/.github/workflows/release.yml +0 -0
  10. {aixtools-0.1.9 → aixtools-0.1.10}/.gitignore +0 -0
  11. {aixtools-0.1.9 → aixtools-0.1.10}/.python-version +0 -0
  12. {aixtools-0.1.9 → aixtools-0.1.10}/.roo/rules/rules-mcp.md +0 -0
  13. {aixtools-0.1.9 → aixtools-0.1.10}/.roo/rules/rules.md +0 -0
  14. {aixtools-0.1.9 → aixtools-0.1.10}/.vscode/settings.json +0 -0
  15. {aixtools-0.1.9 → aixtools-0.1.10}/README.md +0 -0
  16. {aixtools-0.1.9 → aixtools-0.1.10}/README.ori.md +0 -0
  17. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/.chainlit/config.toml +0 -0
  18. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/.chainlit/translations/bn.json +0 -0
  19. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/.chainlit/translations/en-US.json +0 -0
  20. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/.chainlit/translations/gu.json +0 -0
  21. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/.chainlit/translations/he-IL.json +0 -0
  22. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/.chainlit/translations/hi.json +0 -0
  23. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/.chainlit/translations/ja.json +0 -0
  24. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/.chainlit/translations/kn.json +0 -0
  25. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/.chainlit/translations/ml.json +0 -0
  26. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/.chainlit/translations/mr.json +0 -0
  27. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/.chainlit/translations/nl.json +0 -0
  28. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/.chainlit/translations/ta.json +0 -0
  29. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/.chainlit/translations/te.json +0 -0
  30. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/.chainlit/translations/zh-CN.json +0 -0
  31. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/__init__.py +0 -0
  32. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/a2a/app.py +0 -0
  33. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/a2a/google_sdk/__init__.py +0 -0
  34. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/a2a/google_sdk/card.py +0 -0
  35. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/a2a/google_sdk/pydantic_ai_adapter/agent_executor.py +0 -0
  36. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/a2a/google_sdk/pydantic_ai_adapter/storage.py +0 -0
  37. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/a2a/google_sdk/remote_agent_connection.py +0 -0
  38. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/a2a/google_sdk/utils.py +0 -0
  39. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/a2a/utils.py +0 -0
  40. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/agents/__init__.py +0 -0
  41. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/agents/agent.py +0 -0
  42. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/agents/agent_batch.py +0 -0
  43. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/agents/prompt.py +0 -0
  44. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/app.py +0 -0
  45. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/chainlit.md +0 -0
  46. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/context.py +0 -0
  47. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/db/__init__.py +0 -0
  48. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/db/database.py +0 -0
  49. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/db/vector_db.py +0 -0
  50. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/google/client.py +0 -0
  51. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/log_view/__init__.py +0 -0
  52. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/log_view/app.py +0 -0
  53. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/log_view/display.py +0 -0
  54. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/log_view/export.py +0 -0
  55. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/log_view/filters.py +0 -0
  56. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/log_view/log_utils.py +0 -0
  57. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/log_view/node_summary.py +0 -0
  58. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/logfilters/__init__.py +0 -0
  59. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/logfilters/context_filter.py +0 -0
  60. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/logging/__init__.py +0 -0
  61. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/logging/log_objects.py +0 -0
  62. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/logging/logging_config.py +0 -0
  63. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/logging/mcp_log_models.py +0 -0
  64. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/logging/mcp_logger.py +0 -0
  65. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/logging/model_patch_logging.py +0 -0
  66. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/logging/open_telemetry.py +0 -0
  67. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/mcp/__init__.py +0 -0
  68. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/mcp/client.py +0 -0
  69. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/mcp/example_client.py +0 -0
  70. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/mcp/example_server.py +0 -0
  71. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/mcp/fast_mcp_log.py +0 -0
  72. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/mcp/faulty_mcp.py +0 -0
  73. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/model_patch/model_patch.py +0 -0
  74. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/server/__init__.py +0 -0
  75. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/server/app_mounter.py +0 -0
  76. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/server/path.py +0 -0
  77. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/server/utils.py +0 -0
  78. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/server/workspace_privacy.py +0 -0
  79. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/testing/__init__.py +0 -0
  80. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/testing/aix_test_model.py +0 -0
  81. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/testing/mock_tool.py +0 -0
  82. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/testing/model_patch_cache.py +0 -0
  83. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/tools/doctor/__init__.py +0 -0
  84. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/tools/doctor/tool_doctor.py +0 -0
  85. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/tools/doctor/tool_recommendation.py +0 -0
  86. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/utils/__init__.py +0 -0
  87. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/utils/chainlit/cl_agent_show.py +0 -0
  88. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/utils/chainlit/cl_utils.py +0 -0
  89. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/utils/config.py +0 -0
  90. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/utils/config_util.py +0 -0
  91. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/utils/enum_with_description.py +0 -0
  92. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/utils/files.py +0 -0
  93. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/utils/persisted_dict.py +0 -0
  94. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/utils/utils.py +0 -0
  95. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/vault/__init__.py +0 -0
  96. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools/vault/vault.py +0 -0
  97. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools.egg-info/dependency_links.txt +0 -0
  98. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools.egg-info/entry_points.txt +0 -0
  99. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools.egg-info/requires.txt +0 -0
  100. {aixtools-0.1.9 → aixtools-0.1.10}/aixtools.egg-info/top_level.txt +0 -0
  101. {aixtools-0.1.9 → aixtools-0.1.10}/docker/mcp-base/Dockerfile +0 -0
  102. {aixtools-0.1.9 → aixtools-0.1.10}/docker/mcp-base/zscaler.crt +0 -0
  103. {aixtools-0.1.9 → aixtools-0.1.10}/notebooks/example_faulty_mcp_server.ipynb +0 -0
  104. {aixtools-0.1.9 → aixtools-0.1.10}/notebooks/example_mcp_server_stdio.ipynb +0 -0
  105. {aixtools-0.1.9 → aixtools-0.1.10}/notebooks/example_raw_mcp_client.ipynb +0 -0
  106. {aixtools-0.1.9 → aixtools-0.1.10}/notebooks/example_tool_doctor.ipynb +0 -0
  107. {aixtools-0.1.9 → aixtools-0.1.10}/pyproject.toml +0 -0
  108. {aixtools-0.1.9 → aixtools-0.1.10}/scripts/config.sh +0 -0
  109. {aixtools-0.1.9 → aixtools-0.1.10}/scripts/lint.sh +0 -0
  110. {aixtools-0.1.9 → aixtools-0.1.10}/scripts/log_view.sh +0 -0
  111. {aixtools-0.1.9 → aixtools-0.1.10}/scripts/run_example_mcp_server.sh +0 -0
  112. {aixtools-0.1.9 → aixtools-0.1.10}/scripts/run_faulty_mcp_server.sh +0 -0
  113. {aixtools-0.1.9 → aixtools-0.1.10}/scripts/run_server.sh +0 -0
  114. {aixtools-0.1.9 → aixtools-0.1.10}/scripts/test.sh +0 -0
  115. {aixtools-0.1.9 → aixtools-0.1.10}/setup.cfg +0 -0
  116. {aixtools-0.1.9 → aixtools-0.1.10}/tests/__init__.py +0 -0
  117. {aixtools-0.1.9 → aixtools-0.1.10}/tests/unit/__init__.py +0 -0
  118. {aixtools-0.1.9 → aixtools-0.1.10}/tests/unit/a2a/__init__.py +0 -0
  119. {aixtools-0.1.9 → aixtools-0.1.10}/tests/unit/a2a/google_sdk/__init__.py +0 -0
  120. {aixtools-0.1.9 → aixtools-0.1.10}/tests/unit/a2a/google_sdk/pydantic_ai_adapter/__init__.py +0 -0
  121. {aixtools-0.1.9 → aixtools-0.1.10}/tests/unit/a2a/google_sdk/pydantic_ai_adapter/test_agent_executor.py +0 -0
  122. {aixtools-0.1.9 → aixtools-0.1.10}/tests/unit/a2a/google_sdk/pydantic_ai_adapter/test_storage.py +0 -0
  123. {aixtools-0.1.9 → aixtools-0.1.10}/tests/unit/a2a/google_sdk/test_card.py +0 -0
  124. {aixtools-0.1.9 → aixtools-0.1.10}/tests/unit/a2a/google_sdk/test_remote_agent_connection.py +0 -0
  125. {aixtools-0.1.9 → aixtools-0.1.10}/tests/unit/a2a/google_sdk/test_utils.py +0 -0
  126. {aixtools-0.1.9 → aixtools-0.1.10}/tests/unit/agents/__init__.py +0 -0
  127. {aixtools-0.1.9 → aixtools-0.1.10}/tests/unit/agents/test_prompt.py +0 -0
  128. {aixtools-0.1.9 → aixtools-0.1.10}/tests/unit/compliance/test_private_data.py +0 -0
  129. {aixtools-0.1.9 → aixtools-0.1.10}/tests/unit/google/__init__.py +0 -0
  130. {aixtools-0.1.9 → aixtools-0.1.10}/tests/unit/google/test_client.py +0 -0
  131. {aixtools-0.1.9 → aixtools-0.1.10}/tests/unit/mcp/__init__.py +0 -0
  132. {aixtools-0.1.9 → aixtools-0.1.10}/tests/unit/mcp/test_client.py +0 -0
  133. {aixtools-0.1.9 → aixtools-0.1.10}/tests/unit/server/__init__.py +0 -0
  134. {aixtools-0.1.9 → aixtools-0.1.10}/tests/unit/server/test_path.py +0 -0
  135. {aixtools-0.1.9 → aixtools-0.1.10}/tests/unit/server/test_utils.py +0 -0
  136. {aixtools-0.1.9 → aixtools-0.1.10}/tests/unit/utils/__init__.py +0 -0
  137. {aixtools-0.1.9 → aixtools-0.1.10}/tests/unit/utils/test_files.py +0 -0
  138. {aixtools-0.1.9 → aixtools-0.1.10}/tests/unit/vault/__init__.py +0 -0
  139. {aixtools-0.1.9 → aixtools-0.1.10}/tests/unit/vault/test_vault.py +0 -0
  140. {aixtools-0.1.9 → aixtools-0.1.10}/uv.lock +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: aixtools
3
- Version: 0.1.9
3
+ Version: 0.1.10
4
4
  Summary: Tools for AI exploration and debugging
5
5
  Requires-Python: >=3.11.2
6
6
  Description-Content-Type: text/markdown
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
28
28
  commit_id: COMMIT_ID
29
29
  __commit_id__: COMMIT_ID
30
30
 
31
- __version__ = version = '0.1.9'
32
- __version_tuple__ = version_tuple = (0, 1, 9)
31
+ __version__ = version = '0.1.10'
32
+ __version_tuple__ = version_tuple = (0, 1, 10)
33
33
 
34
- __commit_id__ = commit_id = 'g3e272f9d5'
34
+ __commit_id__ = commit_id = 'g0f11f269d'
@@ -0,0 +1,9 @@
1
+ """
2
+ Compliance module for aixtools.
3
+
4
+ This module provides utilities for managing compliance-related data and operations.
5
+ """
6
+
7
+ from .private_data import PrivateData
8
+
9
+ __all__ = ["PrivateData"]
@@ -1,3 +1,5 @@
1
+ """Private data management module for aixtools compliance."""
2
+
1
3
  import json
2
4
  from pathlib import Path
3
5
 
@@ -90,7 +92,7 @@ class PrivateData:
90
92
 
91
93
  def _has_private_data_file(self) -> bool:
92
94
  """Check if the private data file exists in the workspace."""
93
- private_data_path = self.get_private_data_path() # type: ignore
95
+ private_data_path = self._get_private_data_path()
94
96
  return private_data_path.exists()
95
97
 
96
98
  def save(self) -> None:
@@ -102,7 +104,7 @@ class PrivateData:
102
104
  return
103
105
  # If there is private data, serialize this object as JSON
104
106
  private_data_path.parent.mkdir(parents=True, exist_ok=True)
105
- with open(private_data_path, "w") as f:
107
+ with open(private_data_path, "w", encoding="utf-8") as f:
106
108
  # Dump class as JSON, excluding the context
107
109
  data_dict = self.__dict__.copy()
108
110
  data_dict["ctx"] = None
@@ -118,7 +120,7 @@ class PrivateData:
118
120
  self._private_datasets = []
119
121
  self._idap_datasets = []
120
122
  return
121
- with open(private_data_path, "r") as f:
123
+ with open(private_data_path, "r", encoding="utf-8") as f:
122
124
  data = json.load(f)
123
125
  self.has_private_data = data.get("_has_private_data", False)
124
126
  self._private_datasets = data.get("_private_datasets", [])
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: aixtools
3
- Version: 0.1.9
3
+ Version: 0.1.10
4
4
  Summary: Tools for AI exploration and debugging
5
5
  Requires-Python: >=3.11.2
6
6
  Description-Content-Type: text/markdown
@@ -47,6 +47,7 @@ aixtools/agents/__init__.py
47
47
  aixtools/agents/agent.py
48
48
  aixtools/agents/agent_batch.py
49
49
  aixtools/agents/prompt.py
50
+ aixtools/compliance/__init__.py
50
51
  aixtools/compliance/private_data.py
51
52
  aixtools/db/__init__.py
52
53
  aixtools/db/database.py
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