fix(coding-agent): mark rpc skill prompts as agent work

This commit is contained in:
Kormákur
2026-06-13 00:06:39 +00:00
committed by can1357
parent d418467715
commit a19d5a35fc
2 changed files with 10 additions and 5 deletions
@@ -30,7 +30,7 @@ describe("tryRunRpcSkillCommand", () => {
"/skill:reviewer focus on risks",
);
expect(handled).toBe(true);
expect(handled).toEqual({ agentInvoked: true });
expect(message?.customType).toBe(SKILL_PROMPT_MESSAGE_TYPE);
expect(message?.content).toContain("Review the supplied code carefully.");
expect(message?.content).toContain("User: focus on risks");