Slim subagent runtime surface and remove legacy interfaces

This commit is contained in:
LPF
2026-03-17 13:41:12 +08:00
parent 341e578c9f
commit 0674d85ae1
76 changed files with 778 additions and 8782 deletions

View File

@@ -2,13 +2,21 @@ package tools
import (
"context"
"os/exec"
"os"
"path/filepath"
"runtime"
"strings"
"testing"
)
func TestSkillExecParsesStringArgsList(t *testing.T) {
if runtime.GOOS == "windows" {
t.Skip("skill_exec shell-script execution is not stable on Windows test environments")
}
if _, err := exec.LookPath("bash"); err != nil {
t.Skip("bash is not available in test environment")
}
workspace := t.TempDir()
skillDir := filepath.Join(workspace, "skills", "demo")
scriptDir := filepath.Join(skillDir, "scripts")