fix(coding-agent): trim rpc prompt completion scope

This commit is contained in:
Kormákur
2026-06-13 01:17:15 +00:00
committed by can1357
parent e2cd316f33
commit 1b7fd189bb
15 changed files with 43 additions and 446 deletions
@@ -30,7 +30,7 @@ describe("tryRunRpcSkillCommand", () => {
"/skill:reviewer focus on risks",
);
expect(handled).toEqual({ agentInvoked: false });
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");