adam-community 1.0.7__py3-none-any.whl → 1.0.9__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.7"
1
+ __version__ = "1.0.9"
@@ -221,6 +221,16 @@ def create_zip_package(directory: Path) -> str:
221
221
  file_count += 1
222
222
  demos_files += 1
223
223
 
224
+ # 检测并添加图标文件
225
+ icon_files = []
226
+ icon_extensions = ['.svg', '.png', '.jpg', '.jpeg']
227
+ for ext in icon_extensions:
228
+ icon_file = directory / "config" / f"icon{ext}"
229
+ if icon_file.exists():
230
+ zipf.write(icon_file, f"config/icon{ext}")
231
+ file_count += 1
232
+ icon_files.append(f"icon{ext}")
233
+
224
234
  # 根据类型添加不同的文件
225
235
  if config_type == "kit":
226
236
  other_files = ["long_description.md", "input.json"]
@@ -237,6 +247,8 @@ def create_zip_package(directory: Path) -> str:
237
247
  console.print(f" ✓ 配置文件: 1 个")
238
248
  if demos_files > 0:
239
249
  console.print(f" ✓ 演示文件: {demos_files} 个")
250
+ if icon_files:
251
+ console.print(f" ✓ 图标文件: {len(icon_files)} 个 ({', '.join(icon_files)})")
240
252
  console.print(f" ✓ 总计: {file_count} 个文件")
241
253
 
242
254
  return zip_name
@@ -51,7 +51,7 @@ echo "结果: {result}" >> output.txt
51
51
  echo "处理完成,结果已保存到 output.txt"
52
52
  '''
53
53
 
54
- return bash_script
54
+ return runCmd(bash_script)
55
55
 
56
56
  def outputShow(self, kwargs):
57
57
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: adam_community
3
- Version: 1.0.7
3
+ Version: 1.0.9
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=BW7SWRpHoxuOQZ67pS20yog2LWYl-nK7-BEFBNrHGgA,22
2
+ adam_community/__version__.py,sha256=q2ACMkQx0Hm5xKo2YKJFBE7rTruciTSIN6AvWWL9nB8,22
3
3
  adam_community/tool.py,sha256=CCzWosxtuZ0yk7mupmnlgMpO59jr1hl-a_brSGIqhDI,4867
4
4
  adam_community/util.py,sha256=W4SD4x-Tg_JVAINoi2Q2j5FqbWrQxvg0TRYfE9Yh2WI,11031
5
5
  adam_community/cli/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
6
- adam_community/cli/build.py,sha256=qs7DGTanMrs0ZH-oqLIzbm2ArkKssDrzdS2pJnd877E,10699
6
+ adam_community/cli/build.py,sha256=uPS_UUMLAAWQJlMfQ0S6Ed6UIeZ_1eeXfViPmvzvD_E,11214
7
7
  adam_community/cli/cli.py,sha256=L_V09KMWuasgdce6zrB2yNOpCl8G7k7C_oKWvLEzS5k,2810
8
8
  adam_community/cli/init.py,sha256=ukdIXm1V75xRDWRnQaiKRhkmGDGKp4GASQjTroRan8I,6552
9
9
  adam_community/cli/parser.py,sha256=gB7cVrt-tDFO0nO9-2dKI0WG44_n-01FagIPxnJZfn8,17433
@@ -18,9 +18,9 @@ adam_community/cli/templates/initial_system_prompt.md.j2,sha256=mF7wdVVfvPmPgosk
18
18
  adam_community/cli/templates/input.json.j2,sha256=LRkIhPln3BnmPRrFebsjUa5t9vcED_7Uimp1Esb1ThU,607
19
19
  adam_community/cli/templates/kit_python.py.j2,sha256=fVQ8EVDMaxPCv9CzYjjoV8NLJMmtVCx5tFaM9eO7f8M,2788
20
20
  adam_community/cli/templates/long_description.md.j2,sha256=Rj6hcuNzEL0Sp17GQVCRJyNytxO22KcKFvEnZlGpevE,1385
21
- adam_community/cli/templates/toolbox_python.py.j2,sha256=88qn3C5qvtU6mXqhWu1YzB_VV2vBRXrxig1tGEOFVz0,4184
22
- adam_community-1.0.7.dist-info/METADATA,sha256=0yGQuPeIeFHgFWHVoPeIusvK86gYOviwk_YcF-EcoTI,2171
23
- adam_community-1.0.7.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
24
- adam_community-1.0.7.dist-info/entry_points.txt,sha256=4I7yRkn7cHwPY8-fWQLeAvKjc24zUy8Z65VsZNs0Wos,56
25
- adam_community-1.0.7.dist-info/top_level.txt,sha256=MS8jbePXKZChih9kGizNVX0I1MFZFGWBMCIW_r86qhU,15
26
- adam_community-1.0.7.dist-info/RECORD,,
21
+ adam_community/cli/templates/toolbox_python.py.j2,sha256=EOnmsJUvQRrcO7K7c88kI42gMmcM0Z4ab46qwOJXbH8,4192
22
+ adam_community-1.0.9.dist-info/METADATA,sha256=Yu-QNNZgtmNZd-bxSLk_5TUnkpmJNhvsAH_v9wHwOnU,2171
23
+ adam_community-1.0.9.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
24
+ adam_community-1.0.9.dist-info/entry_points.txt,sha256=4I7yRkn7cHwPY8-fWQLeAvKjc24zUy8Z65VsZNs0Wos,56
25
+ adam_community-1.0.9.dist-info/top_level.txt,sha256=MS8jbePXKZChih9kGizNVX0I1MFZFGWBMCIW_r86qhU,15
26
+ adam_community-1.0.9.dist-info/RECORD,,