adam-community 1.0.13__py3-none-any.whl → 1.0.14__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.
@@ -1 +1 @@
1
- __version__ = "1.0.13"
1
+ __version__ = "1.0.14"
@@ -54,9 +54,9 @@ def check_python_files(directory: Path) -> Tuple[bool, List[str]]:
54
54
  # 检查参数类型是否都是有效的JSON Schema类型
55
55
  param_errors = []
56
56
  for param_name, param_info in func_info["parameters"]["properties"].items():
57
- if "type" not in param_info:
57
+ if "type" not in param_info and "oneOf" not in param_info:
58
58
  param_errors.append(f"参数 '{param_name}' 缺少类型定义")
59
- elif param_info["type"] not in ["string", "integer", "number", "boolean", "array", "object", "null"]:
59
+ elif "type" in param_info and param_info["type"] not in ["string", "integer", "number", "boolean", "array", "object", "null"]:
60
60
  param_errors.append(f"参数 '{param_name}' 类型 '{param_info['type']}' 不是有效的JSON Schema类型")
61
61
 
62
62
  if param_errors:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: adam_community
3
- Version: 1.0.13
3
+ Version: 1.0.14
4
4
  Summary: Adam Community Tools and Utilities
5
5
  Home-page: https://github.com/yourusername/adam-community
6
6
  Author: Adam Community
@@ -1,9 +1,9 @@
1
1
  adam_community/__init__.py,sha256=vAmF9VQR6D4peppH0hnrHDmZK5cFeFPh11GIsTKUXhE,429
2
- adam_community/__version__.py,sha256=wNoGY0qdTAFUvE0bIbXr21KwpofxY8Hj9hqYUIvspQA,23
2
+ adam_community/__version__.py,sha256=tmJFcbWnlgNwXFCrgJHkNSJZmxR67rAjso_lz91m_vc,23
3
3
  adam_community/tool.py,sha256=CCzWosxtuZ0yk7mupmnlgMpO59jr1hl-a_brSGIqhDI,4867
4
4
  adam_community/util.py,sha256=CAyMS-UNFjDcdSRWNCIOseAvprP0GEpfJzhO3l5VY1U,11051
5
5
  adam_community/cli/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
6
- adam_community/cli/build.py,sha256=uPS_UUMLAAWQJlMfQ0S6Ed6UIeZ_1eeXfViPmvzvD_E,11214
6
+ adam_community/cli/build.py,sha256=ODytrSldY6Psgw3ESBzx7NESijpnDceGH1kB4xnUbZE,11269
7
7
  adam_community/cli/cli.py,sha256=xlPvn0aq3TpAPjA7z9shsCqR1aHDVtZuhvtc_SNA_cQ,2811
8
8
  adam_community/cli/init.py,sha256=hzzz5Tus9_L5YKE10ii7s2x9znDxfqBvjDOmPn-0KvY,8632
9
9
  adam_community/cli/parser.py,sha256=LWYVW69z4ICFXgvD5Vtcy1P-rEUxV_Rs4X96n34i3gE,17732
@@ -22,8 +22,8 @@ adam_community/cli/templates/kit_python.py.j2,sha256=fVQ8EVDMaxPCv9CzYjjoV8NLJMm
22
22
  adam_community/cli/templates/long_description.md.j2,sha256=Rj6hcuNzEL0Sp17GQVCRJyNytxO22KcKFvEnZlGpevE,1385
23
23
  adam_community/cli/templates/rag_python.py.j2,sha256=YJL7-WIx-Dumt7lHuUGxl3Rbaw0kpkh8hpcCJ5lz9lA,2494
24
24
  adam_community/cli/templates/toolbox_python.py.j2,sha256=EOnmsJUvQRrcO7K7c88kI42gMmcM0Z4ab46qwOJXbH8,4192
25
- adam_community-1.0.13.dist-info/METADATA,sha256=9n4Inpiw6gL9dUwfAjDubBCfpCdtWjHaFf5NGipqCDg,2172
26
- adam_community-1.0.13.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
27
- adam_community-1.0.13.dist-info/entry_points.txt,sha256=4I7yRkn7cHwPY8-fWQLeAvKjc24zUy8Z65VsZNs0Wos,56
28
- adam_community-1.0.13.dist-info/top_level.txt,sha256=MS8jbePXKZChih9kGizNVX0I1MFZFGWBMCIW_r86qhU,15
29
- adam_community-1.0.13.dist-info/RECORD,,
25
+ adam_community-1.0.14.dist-info/METADATA,sha256=Ko_SKJ9Yq-FGw0PpKJva4Eoeq4F4opZ4ntEiRbSaU1o,2172
26
+ adam_community-1.0.14.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
27
+ adam_community-1.0.14.dist-info/entry_points.txt,sha256=4I7yRkn7cHwPY8-fWQLeAvKjc24zUy8Z65VsZNs0Wos,56
28
+ adam_community-1.0.14.dist-info/top_level.txt,sha256=MS8jbePXKZChih9kGizNVX0I1MFZFGWBMCIW_r86qhU,15
29
+ adam_community-1.0.14.dist-info/RECORD,,