feat: add official Codex skill and harden task execution

Install and update artemis-use with task diagnostics and plugin guidance. Preserve cross-device file receipts, review canonical reports, guard stage transitions and reduce small history summaries. Improve exploration lifecycle, request recovery and browser live connections.
This commit is contained in:
chenmingxuan committed 2026-10-18 14:18:37 +08:00
1 parent 2328a4df0c
commit e1ea099592
128 files changed
+4944 -700

No files matched your search

+6 -3
View File
@@ -9,7 +9,7 @@ from langchain_core.messages import BaseMessage
from PIL import Image
from artemis.tools.tool_wrapper import tool_result_messages
from artemis.plugins.prompt_budget import bounded_result_text
from artemis.plugins.delivery import result_blocks
def plugin_result_messages(report: Any, engine: Any) -> dict[str, list[BaseMessage]]:
@@ -24,8 +24,11 @@ def plugin_result_messages(report: Any, engine: Any) -> dict[str, list[BaseMessa
continue
status = action.get("plugin_status")
text = action.get("result") or "此插件操作未完成或未执行;请重新观察后再决定下一步。"
text = bounded_result_text(str(text), call_id=str(action.get("text_ref") or ""))
blocks = [{"type": "text", "text": text}]
blocks = result_blocks(
str(text),
call_id=str(action.get("text_ref") or ""),
attachments=action.get("attachments"),
)
names = action.get("image_names") or [action.get("post_image_name")]
for name in dict.fromkeys(names):
if not name or engine is None: