(code: string)
| 95 | |
| 96 | // 获取 Skill Script 脚本体(去掉元数据头) |
| 97 | export function getSkillScriptBody(code: string): string { |
| 98 | return code.replace(/\/\/\s*==SkillScript==[\s\S]*?\/\/\s*==\/SkillScript==\s*/, "").trim(); |
| 99 | } |
no outgoing calls
no test coverage detected