-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Labels
Description
✨ Feature Description
We should support Scripting and Breakpoint execution after Map Local.
This ensures a request can flow through multiple tools in a predictable order.
✅ Acceptance Criteria
General Flow
- Request matches Map Local
→ If it also matches Scripting → Let Scripting continue handling.
→ If it also matches Breakpoint → Let Breakpoint continue handling.
Map Local + Scripting
-
Case 1:
- Map Local executes successfully
- Scripting executes successfully
- ✅ Response returned from Scripting.
-
Case 2:
- Map Local executes successfully
- Scripting fails
- ✅ Response returned from Map Local.
-
Case 3:
- Map Local fails
- Scripting executes successfully
- ✅ Response returned from Scripting.
-
Case 4:
- Map Local fails
- Scripting fails
- ✅ Request continues to the server as normal.
Map Local + Breakpoint
- Same logic applies as above:
- Map Local executes first.
- Breakpoint handles next (if applicable).
- If both fail → Request goes to the server.
🔄 Summary
- Order of execution:
Map Local → (Scripting or Breakpoint) - Failover behavior: If the next tool fails, fallback to previous tool’s response.
- Final fallback: If all fail → Forward request to the server.