plugin-management-personal-lifecycle.json 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. {
  2. "version": 1,
  3. "caseName": "plugin-management-personal-lifecycle",
  4. "spec": "./test/e2e/plugins/installation/plugin-management-personal-lifecycle.test.ts",
  5. "fixtures": [
  6. {
  7. "id": "upstream-plugin-management-lifecycle-v2-tool-call",
  8. "description": "PLM-LC-003 advertises and calls the v2 lifecycle MCP tool from a newly created session.",
  9. "match": {
  10. "method": "POST",
  11. "pathIncludes": "/messages",
  12. "lastUserMessageIncludes": ["E2E_PLUGIN_LIFECYCLE_RUNTIME_2.0.0"],
  13. "bodyIncludes": ["E2E_PLUGIN_LIFECYCLE_RUNTIME_2.0.0"],
  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_lifecycle_v2",
  21. "name": "mcp__plugin_e2e-plugin-lifecycle_lifecycle__version_marker",
  22. "input": {}
  23. }
  24. }
  25. },
  26. {
  27. "id": "upstream-plugin-management-lifecycle-v2-final",
  28. "description": "PLM-LC-003 final response after the lifecycle MCP tool result.",
  29. "match": {
  30. "method": "POST",
  31. "pathIncludes": "/messages",
  32. "bodyIncludes": ["E2E_PLUGIN_LIFECYCLE_RUNTIME_2.0.0", "toolu_e2e_plugin_lifecycle_v2"],
  33. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  34. },
  35. "response": { "statusCode": 200, "text": "upstream-e2e-ok" }
  36. }
  37. ]
  38. }