auto-coder 0.1.370__py3-none-any.whl → 0.1.372__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.
Potentially problematic release.
This version of auto-coder might be problematic. Click here for more details.
- {auto_coder-0.1.370.dist-info → auto_coder-0.1.372.dist-info}/METADATA +1 -1
- {auto_coder-0.1.370.dist-info → auto_coder-0.1.372.dist-info}/RECORD +8 -8
- autocoder/common/v2/agent/agentic_edit.py +10 -6
- autocoder/version.py +1 -1
- {auto_coder-0.1.370.dist-info → auto_coder-0.1.372.dist-info}/LICENSE +0 -0
- {auto_coder-0.1.370.dist-info → auto_coder-0.1.372.dist-info}/WHEEL +0 -0
- {auto_coder-0.1.370.dist-info → auto_coder-0.1.372.dist-info}/entry_points.txt +0 -0
- {auto_coder-0.1.370.dist-info → auto_coder-0.1.372.dist-info}/top_level.txt +0 -0
|
@@ -14,7 +14,7 @@ autocoder/command_parser.py,sha256=fx1g9E6GaM273lGTcJqaFQ-hoksS_Ik2glBMnVltPCE,1
|
|
|
14
14
|
autocoder/lang.py,sha256=PFtATuOhHRnfpqHQkXr6p4C893JvpsgwTMif3l-GEi0,14321
|
|
15
15
|
autocoder/models.py,sha256=Gu50IATQtZtgEir1PpCfwgH6o4ygw6XqqbQRj3lx5dU,13798
|
|
16
16
|
autocoder/run_context.py,sha256=IUfSO6_gp2Wt1blFWAmOpN0b0nDrTTk4LmtCYUBIoro,1643
|
|
17
|
-
autocoder/version.py,sha256=
|
|
17
|
+
autocoder/version.py,sha256=IJPF7kj0RMIrgRsXbUhTJezs1M_dizS0MuBEVv5ELqM,25
|
|
18
18
|
autocoder/agent/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
19
19
|
autocoder/agent/agentic_edit.py,sha256=XsfePZ-t6M-uBSdG1VLZXk1goqXk2HPeJ_A8IYyBuWQ,58896
|
|
20
20
|
autocoder/agent/agentic_edit_types.py,sha256=oFcDd_cxJ2yH9Ed1uTpD3BipudgoIEWDMPb5pAkq4gI,3288
|
|
@@ -192,7 +192,7 @@ autocoder/common/v2/code_editblock_manager.py,sha256=DMwJw-FAM6VyaBQV3p4xespHpgZ
|
|
|
192
192
|
autocoder/common/v2/code_manager.py,sha256=C403bS-f6urixwitlKHcml-J03hci-UyNwHJOqBiY6Q,9182
|
|
193
193
|
autocoder/common/v2/code_strict_diff_manager.py,sha256=Bys7tFAq4G03R1zUZuxrszBTvP4QB96jIw2y5BDLyRM,9424
|
|
194
194
|
autocoder/common/v2/agent/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
195
|
-
autocoder/common/v2/agent/agentic_edit.py,sha256=
|
|
195
|
+
autocoder/common/v2/agent/agentic_edit.py,sha256=vINpJfAwHcfj0Bm8lzqrTCiZvqMaTAlGoVPxWTCle4I,116275
|
|
196
196
|
autocoder/common/v2/agent/agentic_edit_conversation.py,sha256=pFgWPWHKhZ4J9EcFmIdiGsrSolTZuYcH1qkgKdD8nwk,7726
|
|
197
197
|
autocoder/common/v2/agent/agentic_edit_types.py,sha256=nEcZc2MOZ_fQLaJX-YDha_x9Iim22ao4tykYM2iIy4k,4908
|
|
198
198
|
autocoder/common/v2/agent/agentic_tool_display.py,sha256=-a-JTQLc4q03E_rdIILKMI0B6DHN-5gcGlrqq-mBYK4,7239
|
|
@@ -359,9 +359,9 @@ autocoder/utils/types.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
359
359
|
autocoder/utils/auto_coder_utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
360
360
|
autocoder/utils/auto_coder_utils/chat_stream_out.py,sha256=t902pKxQ5xM7zgIHiAOsTPLwxhE6VuvXAqPy751S7fg,14096
|
|
361
361
|
autocoder/utils/chat_auto_coder_utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
362
|
-
auto_coder-0.1.
|
|
363
|
-
auto_coder-0.1.
|
|
364
|
-
auto_coder-0.1.
|
|
365
|
-
auto_coder-0.1.
|
|
366
|
-
auto_coder-0.1.
|
|
367
|
-
auto_coder-0.1.
|
|
362
|
+
auto_coder-0.1.372.dist-info/LICENSE,sha256=HrhfyXIkWY2tGFK11kg7vPCqhgh5DcxleloqdhrpyMY,11558
|
|
363
|
+
auto_coder-0.1.372.dist-info/METADATA,sha256=l01WcsmQo-Fdr2FvBM4GIWv9PZvBF8X3mc08iePNm8E,2775
|
|
364
|
+
auto_coder-0.1.372.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
|
365
|
+
auto_coder-0.1.372.dist-info/entry_points.txt,sha256=0nzHtHH4pNcM7xq4EBA2toS28Qelrvcbrr59GqD_0Ak,350
|
|
366
|
+
auto_coder-0.1.372.dist-info/top_level.txt,sha256=Jqc0_uJSw2GwoFQAa9iJxYns-2mWla-9ok_Y3Gcznjk,10
|
|
367
|
+
auto_coder-0.1.372.dist-info/RECORD,,
|
|
@@ -849,7 +849,9 @@ class AgenticEdit:
|
|
|
849
849
|
f"Initial conversation history size: {len(conversations)}, tokens: {current_tokens}")
|
|
850
850
|
|
|
851
851
|
iteration_count = 0
|
|
852
|
-
tool_executed = False
|
|
852
|
+
tool_executed = False
|
|
853
|
+
should_yield_completion_event = False
|
|
854
|
+
|
|
853
855
|
while True:
|
|
854
856
|
iteration_count += 1
|
|
855
857
|
logger.info(f"Starting LLM interaction cycle #{iteration_count}")
|
|
@@ -857,10 +859,11 @@ class AgenticEdit:
|
|
|
857
859
|
last_message = conversations[-1]
|
|
858
860
|
if last_message["role"] == "assistant":
|
|
859
861
|
logger.info(f"Last message is assistant, skipping LLM interaction cycle")
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
862
|
+
if should_yield_completion_event:
|
|
863
|
+
yield CompletionEvent(completion=AttemptCompletionTool(
|
|
864
|
+
result=last_message["content"],
|
|
865
|
+
command=""
|
|
866
|
+
), completion_xml="")
|
|
864
867
|
break
|
|
865
868
|
logger.info(
|
|
866
869
|
f"Starting LLM interaction cycle. History size: {len(conversations)}")
|
|
@@ -932,11 +935,12 @@ class AgenticEdit:
|
|
|
932
935
|
logger.info(
|
|
933
936
|
"AttemptCompletionTool received. Finalizing session.")
|
|
934
937
|
logger.info(f"Completion result: {tool_obj.result[:50]}...")
|
|
935
|
-
yield CompletionEvent(completion=tool_obj, completion_xml=tool_xml)
|
|
938
|
+
# yield CompletionEvent(completion=tool_obj, completion_xml=tool_xml)
|
|
936
939
|
logger.info(
|
|
937
940
|
"AgenticEdit analyze loop finished due to AttemptCompletion.")
|
|
938
941
|
save_formatted_log(self.args.source_dir, json.dumps(conversations, ensure_ascii=False), "agentic_conversation")
|
|
939
942
|
mark_event_should_finish = True
|
|
943
|
+
should_yield_completion_event = True
|
|
940
944
|
continue
|
|
941
945
|
|
|
942
946
|
if isinstance(tool_obj, PlanModeRespondTool):
|
autocoder/version.py
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
__version__ = "0.1.
|
|
2
|
+
__version__ = "0.1.372"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|