From 625f9db80a8448644cd020fb0156e7aca28cd87c Mon Sep 17 00:00:00 2001 From: wizardchen Date: Tue, 25 Aug 2026 16:57:56 +0800 Subject: [PATCH] fix(sandbox): advertise only image skills and unstick installs The host skills/preloaded tree is not what execute_skill_script finds inside the sandbox, so stop merging it into the agent's advertised set. Seed install files as a tar, publish transcript locators before the copy, and wait in the UI instead of 404-polling. --- .../src/components/SandboxSkillsPanel.vue | 51 ++++++- .../src/components/SkillInstallTimeline.vue | 24 ++- internal/agent/skills/manager.go | 78 ++-------- internal/agent/skills/tenant_source_test.go | 17 ++- internal/application/service/agent_service.go | 33 ++-- .../application/service/agent_service_test.go | 78 ++++++++++ .../application/service/session_agent_qa.go | 20 +-- .../service/session_agent_qa_scope_test.go | 15 ++ .../service/tenant_skill_install.go | 143 ++++++++++++++---- .../service/tenant_skill_install_test.go | 105 +++++++++++++ internal/handler/sandbox_skill.go | 8 + internal/handler/sandbox_skill_test.go | 13 ++ 12 files changed, 446 insertions(+), 139 deletions(-) diff --git a/frontend/src/components/SandboxSkillsPanel.vue b/frontend/src/components/SandboxSkillsPanel.vue index 15ec24e4..101c88ed 100644 --- a/frontend/src/components/SandboxSkillsPanel.vue +++ b/frontend/src/components/SandboxSkillsPanel.vue @@ -125,7 +125,13 @@