plugin-management-builtin-inline.json 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. {
  2. "version": 1,
  3. "caseName": "plugin-management-builtin-inline",
  4. "spec": "./test/e2e/plugins/plugin-management-builtin-inline.test.ts",
  5. "fixtures": [
  6. {
  7. "id": "upstream-plugin-management-inline-skill-call",
  8. "description": "PLM-LC-009 asks the fresh session to invoke the inline skill.",
  9. "match": {
  10. "method": "POST",
  11. "pathIncludes": "/messages",
  12. "lastUserMessageIncludes": ["E2E_PLUGIN_INLINE_REQUEST"],
  13. "bodyIncludes": ["E2E_PLUGIN_INLINE_REQUEST"],
  14. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  15. },
  16. "replay": { "consumeOnce": true },
  17. "response": {
  18. "statusCode": 200,
  19. "toolUse": {
  20. "id": "toolu_e2e_plugin_inline_skill",
  21. "name": "Skill",
  22. "input": { "skill": "inline-lifecycle" }
  23. }
  24. }
  25. },
  26. {
  27. "id": "upstream-plugin-management-inline-skill-result",
  28. "description": "PLM-LC-009 proves the inline skill body was injected after Skill execution.",
  29. "match": {
  30. "method": "POST",
  31. "pathIncludes": "/messages",
  32. "bodyIncludes": [
  33. "E2E_PLUGIN_INLINE_REQUEST",
  34. "E2E_PLUGIN_INLINE_LIFECYCLE_RUNTIME",
  35. "toolu_e2e_plugin_inline_skill"
  36. ],
  37. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  38. },
  39. "response": { "statusCode": 200, "text": "upstream-e2e-ok" }
  40. }
  41. ]
  42. }