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 -25
View File
@@ -134,30 +134,11 @@ def init_command() -> None:
# 5. Configure MCP for AI IDEs
console.print("\n[bold]Step 5: Connect Artemis to your AI IDE (MCP)[/bold]")
console.print(" [1] Antigravity / Jetski (Recommended - Default)")
console.print(" [2] Cursor")
console.print(" [3] Claude Desktop / Claude Code")
console.print(" [4] Windsurf")
console.print(" [5] VS Code / Cline / Roo Code")
console.print(" [6] Codex")
console.print(" [7] All supported IDEs")
console.print(" [8] Skip for now")
mcp_choice = Prompt.ask(
"Select IDE for MCP auto-install",
choices=["1", "2", "3", "4", "5", "6", "7", "8"],
default="1",
)
if mcp_choice != "8":
target_map = {
"1": "antigravity",
"2": "cursor",
"3": "claude",
"4": "windsurf",
"5": "vscode",
"6": "codex",
"7": "all",
}
target = target_map.get(mcp_choice, "antigravity")
console.print(" [1] Codex(MCP + 官方 artemis-use Skill)")
console.print(" [2] 暂时跳过")
mcp_choice = Prompt.ask("Select Codex integration", choices=["1", "2"], default="1")
if mcp_choice == "1":
target = "codex"
try:
from artemis.interfaces.cli.commands.mcp import install_mcp_config
from mcp_server.utils import env_utils
@@ -179,7 +160,7 @@ def init_command() -> None:
"Try running your first task:\n"
' [bold cyan]uv run artemis run "Open YouTube and search for Lo-Fi Hip Hop"[/bold cyan]\n\n'
"Or connect/update your AI IDE anytime with:\n"
" [bold cyan]uv run artemis mcp --install all[/bold cyan]\n\n"
" [bold cyan]uv run artemis mcp --install codex[/bold cyan]\n\n"
"Or run health diagnostics anytime with:\n"
" [bold cyan]uv run artemis doctor[/bold cyan]",
title="☕ Ready to Go!",