feat(plugins): share native session handoff and soften memory search
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { SEARCH_GUIDANCE } from "../agent-plugin-core/typescript/src/search_guidance.ts";
|
||||
/**
|
||||
* Tests for path traversal prevention in skill-loader.
|
||||
*/
|
||||
@@ -107,7 +108,8 @@ describe("loadCompactTriagePrompt", () => {
|
||||
|
||||
expect(prompt).toContain("Use `memory_add` tool for ALL user facts");
|
||||
expect(prompt).toContain("Batch facts by CATEGORY");
|
||||
expect(prompt).toContain("ALWAYS rewrite the query");
|
||||
expect(prompt).toContain(SEARCH_GUIDANCE);
|
||||
expect(prompt).not.toContain("ALWAYS rewrite the query");
|
||||
expect(prompt).not.toContain("## Worked Examples");
|
||||
expect(prompt).not.toContain("### memory_search");
|
||||
expect(prompt).not.toContain("Conference requires at least 4 breakout rooms");
|
||||
|
||||
Reference in New Issue
Block a user