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

+15 -1
View File
@@ -53,6 +53,20 @@ def _copy_release_resources(source_root: Path, resource_root: Path) -> None:
"Run `npm ci --prefix apps/showcase_ui` and "
"`npm run build --prefix apps/showcase_ui` first."
)
skill_candidates = (
source_root / "skills" / "artemis-use",
source_root / "artemis" / "resources" / "skills" / "artemis-use",
)
skill_source = next((path for path in skill_candidates if (path / "SKILL.md").is_file()), None)
if skill_source is None:
raise RuntimeError("Cannot build Artemis: official artemis-use Skill is missing.")
skill_target = resource_root / "skills" / "artemis-use"
if skill_target.exists():
shutil.rmtree(skill_target)
shutil.copytree(
skill_source, skill_target, ignore=shutil.ignore_patterns("__pycache__", "*.pyc")
)
config_target = resource_root / "config"
config_target.mkdir(parents=True, exist_ok=True)
shutil.copy2(config_source, config_target / "artemis.jsonc")
@@ -149,7 +163,7 @@ setup(
package_data={
"mcp_server": ["catalog.json"],
"artemis": ["**/*.json", "**/*.md"],
"artemis.resources": ["config/*.jsonc", "showcase_ui/*", "showcase_ui/**/*"],
"artemis.resources": ["config/*.jsonc", "showcase_ui/*", "showcase_ui/**/*", "skills/**/*"],
"apps.admin_console": ["index.html"],
},
include_package_data=False,