mirror of
https://gitee.com/mateos/mateclaw.git
synced 2026-09-14 03:33:43 +08:00
Add an execute_code built-in tool that runs python/bash/node code the agent writes on the fly, so a documentation-only skill (a SKILL.md with no bundled scripts) can be acted on. Scoped runs inject the skill's secrets and run in the skill directory; otherwise a private scratch directory is used. Host secret env vars are scrubbed from the subprocess. execute_code is an agent-wide capability, registered in the tool catalog (V143), and screened by the tool guard with a dedicated set of destructive-pattern rules. Tests cover python/bash/node execution, scratch-dir fallback, env scrubbing, argument decoding, and guard gating. |
||
|---|---|---|
| .. | ||
| db | ||
| docs | ||
| mapper | ||
| prompts | ||
| skill-template-bundles/obsidian-vault/references | ||
| skill-templates | ||
| skills | ||
| templates | ||
| application-mysql.yml | ||
| application.yml | ||
| logback-spring.xml | ||
| messages_en.properties | ||
| messages.properties | ||