aient 1.0.88__py3-none-any.whl → 1.0.89__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.
- aient/plugins/write_file.py +1 -1
- {aient-1.0.88.dist-info → aient-1.0.89.dist-info}/METADATA +1 -1
- {aient-1.0.88.dist-info → aient-1.0.89.dist-info}/RECORD +6 -6
- {aient-1.0.88.dist-info → aient-1.0.89.dist-info}/WHEEL +0 -0
- {aient-1.0.88.dist-info → aient-1.0.89.dist-info}/licenses/LICENSE +0 -0
- {aient-1.0.88.dist-info → aient-1.0.89.dist-info}/top_level.txt +0 -0
aient/plugins/write_file.py
CHANGED
@@ -44,7 +44,7 @@ Example: Requesting to write to frontend-config.json
|
|
44
44
|
# 确保目录存在
|
45
45
|
os.makedirs(os.path.dirname(path) or '.', exist_ok=True)
|
46
46
|
|
47
|
-
if content.startswith("##
|
47
|
+
if content.startswith("##") and (path.endswith(".md") or path.endswith(".txt")):
|
48
48
|
content = "\n\n" + content
|
49
49
|
|
50
50
|
# 写入文件
|
@@ -30,14 +30,14 @@ aient/plugins/read_file.py,sha256=cJxGnhcz1_gjkgeemVyixLUiCvf-dWm-UtDfrbFdlLE,48
|
|
30
30
|
aient/plugins/registry.py,sha256=YknzhieU_8nQ3oKlUSSWDB4X7t2Jx0JnqT2Jd9Xsvfk,3574
|
31
31
|
aient/plugins/run_python.py,sha256=dgcUwBunMuDkaSKR5bToudVzSdrXVewktDDFUz_iIOQ,4589
|
32
32
|
aient/plugins/websearch.py,sha256=yiBzqXK5X220ibR-zko3VDsn4QOnLu1k6E2YOygCeTQ,15185
|
33
|
-
aient/plugins/write_file.py,sha256=
|
33
|
+
aient/plugins/write_file.py,sha256=qmT6iQ3mDyVAa9Sld1jfJq0KPZj0w2kRIHq0JyjpGeA,1853
|
34
34
|
aient/prompt/__init__.py,sha256=GBtn6-JDT8KHFCcuPpfSNE_aGddg5p4FEyMCy4BfwGs,20
|
35
35
|
aient/prompt/agent.py,sha256=WLs0KiNZs29FJ5w7N3kQZYLVEeS7K8vxIOUw06LcXVE,23825
|
36
36
|
aient/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
37
37
|
aient/utils/prompt.py,sha256=UcSzKkFE4-h_1b6NofI6xgk3GoleqALRKY8VBaXLjmI,11311
|
38
38
|
aient/utils/scripts.py,sha256=PPwaJEigPkpciJHUXOag483iq1GjvaLReHDHjkinv6c,26780
|
39
|
-
aient-1.0.
|
40
|
-
aient-1.0.
|
41
|
-
aient-1.0.
|
42
|
-
aient-1.0.
|
43
|
-
aient-1.0.
|
39
|
+
aient-1.0.89.dist-info/licenses/LICENSE,sha256=XNdbcWldt0yaNXXWB_Bakoqnxb3OVhUft4MgMA_71ds,1051
|
40
|
+
aient-1.0.89.dist-info/METADATA,sha256=I6ig9V0cfvfa5Evt96OMj8UWne4ABXdu61Yvpc5Ap68,5000
|
41
|
+
aient-1.0.89.dist-info/WHEEL,sha256=ck4Vq1_RXyvS4Jt6SI0Vz6fyVs4GWg7AINwpsaGEgPE,91
|
42
|
+
aient-1.0.89.dist-info/top_level.txt,sha256=3oXzrP5sAVvyyqabpeq8A2_vfMtY554r4bVE-OHBrZk,6
|
43
|
+
aient-1.0.89.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|