skills: skill tool, YAML frontmatter, disable-model-invocation, argument-hint

This commit is contained in:
hermes committed 2026-10-09 14:49:38 +00:00
1 parent 7e29515821
commit 199f337662
12 files changed
+328 -121

No files matched your search

+1 -1
View File
@@ -31,7 +31,7 @@ assert len(log) == 4, len(log)
parent, child1, child2, parent2 = [r["body"] for r in log]
assert "haiku" in child1["model"] and "sonnet" in parent["model"], (child1["model"], parent["model"])
assert child1["messages"][0]["content"][0]["text"] == "what is in note.txt?"
assert {t["name"] for t in child1["tools"]} == {"Read", "Bash"}, [t["name"] for t in child1["tools"]]
assert {t["name"] for t in child1["tools"]} == {"Read", "Bash", "skill"}, [t["name"] for t in child1["tools"]]
assert "Task" in {t["name"] for t in parent["tools"]}
# parent got only the child's answer (+ stats line), not the Read result
res = json.dumps(parent2["messages"][-1])