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:
1 parent
2328a4df0c
commit
e1ea099592
128 files changed
+4944
-700
No files matched your search
@@ -567,14 +567,16 @@ class PluginRuntime:
|
||||
|
||||
@staticmethod
|
||||
def content_blocks(outcome: PluginCallResult) -> list[dict]:
|
||||
from artemis.plugins.prompt_budget import bounded_result_text
|
||||
from artemis.plugins.delivery import result_blocks
|
||||
|
||||
text = outcome.text()
|
||||
# Explicit paged reads already have a fixed page size and must not
|
||||
# be clipped a second time (which would leave gaps between pages).
|
||||
if outcome.plugin_id:
|
||||
text = bounded_result_text(text, call_id=outcome.text_ref)
|
||||
blocks: list[dict] = [{"type": "text", "text": text}]
|
||||
blocks: list[dict] = (
|
||||
result_blocks(text, call_id=outcome.text_ref, attachments=outcome.attachments)
|
||||
if outcome.plugin_id
|
||||
else [{"type": "text", "text": text}]
|
||||
)
|
||||
for block in outcome.content:
|
||||
if block.get("type") == "image" and block.get("mimeType") in {
|
||||
"image/png",
|
||||
|
||||
Reference in new issue
Block a user