Mercurial
comparison mrjunejune/inference/mock_responses.json @ 261:b401627fc49e
Add JRPG mock flows and interactive previews
Add scripted mock SSE commands, custom event forwarding, animated chat turns, full-height message navigation, and a cyberpunk resume dossier.
Co-authored-by: Copilot <[email protected]>
| author | MrJuneJune <mrjunejune@users.noreply.github.com> |
|---|---|
| date | Wed, 05 Aug 2026 20:38:32 -0700 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 260:1f9877b637e9 | 261:b401627fc49e |
|---|---|
| 1 { | |
| 2 "delay_ms": 55, | |
| 3 "fallback": "!response", | |
| 4 "commands": { | |
| 5 "!hello": { | |
| 6 "description": "Short greeting with exact chunks.", | |
| 7 "events": [ | |
| 8 { | |
| 9 "type": "assistant.delta", | |
| 10 "delta": "Hello, " | |
| 11 }, | |
| 12 { | |
| 13 "type": "assistant.delta", | |
| 14 "delta": "traveler." | |
| 15 }, | |
| 16 { | |
| 17 "type": "assistant.completed", | |
| 18 "content": "Hello, traveler." | |
| 19 } | |
| 20 ] | |
| 21 }, | |
| 22 "!response": { | |
| 23 "description": "Long response for typing, wrapping, and scrolling.", | |
| 24 "events": [ | |
| 25 { | |
| 26 "type": "assistant.delta", | |
| 27 "delta": "The neon trail stretches across the terminal while " | |
| 28 }, | |
| 29 { | |
| 30 "type": "assistant.delta", | |
| 31 "delta": "each word arrives through the real Seobeo SSE path. " | |
| 32 }, | |
| 33 { | |
| 34 "type": "assistant.delta", | |
| 35 "delta": "Edit mock_responses.json to change this sequence." | |
| 36 }, | |
| 37 { | |
| 38 "type": "assistant.completed", | |
| 39 "content": "The neon trail stretches across the terminal while each word arrives through the real Seobeo SSE path. Edit mock_responses.json to change this sequence." | |
| 40 } | |
| 41 ] | |
| 42 }, | |
| 43 "!tool": { | |
| 44 "description": "Example tool lifecycle for future tool-call UI.", | |
| 45 "events": [ | |
| 46 { | |
| 47 "type": "tool.started", | |
| 48 "tool": { | |
| 49 "id": "mock-tool-1", | |
| 50 "name": "site_search", | |
| 51 "arguments": { | |
| 52 "query": "JRPG design notes" | |
| 53 } | |
| 54 } | |
| 55 }, | |
| 56 { | |
| 57 "type": "tool.completed", | |
| 58 "delay_ms": 350, | |
| 59 "tool": { | |
| 60 "id": "mock-tool-1", | |
| 61 "name": "site_search", | |
| 62 "result": { | |
| 63 "matches": 3 | |
| 64 } | |
| 65 } | |
| 66 }, | |
| 67 { | |
| 68 "type": "assistant.delta", | |
| 69 "delta": "The mock search found three matching entries." | |
| 70 }, | |
| 71 { | |
| 72 "type": "assistant.completed", | |
| 73 "content": "The mock search found three matching entries." | |
| 74 } | |
| 75 ] | |
| 76 }, | |
| 77 "!plan": { | |
| 78 "description": "Example plan event for a future plan-view component.", | |
| 79 "events": [ | |
| 80 { | |
| 81 "type": "plan.updated", | |
| 82 "plan": { | |
| 83 "title": "Tune the JRPG chat", | |
| 84 "steps": [ | |
| 85 { | |
| 86 "id": "layout", | |
| 87 "label": "Adjust layout", | |
| 88 "status": "completed" | |
| 89 }, | |
| 90 { | |
| 91 "id": "motion", | |
| 92 "label": "Review stream motion", | |
| 93 "status": "in_progress" | |
| 94 }, | |
| 95 { | |
| 96 "id": "details", | |
| 97 "label": "Polish tool details", | |
| 98 "status": "pending" | |
| 99 } | |
| 100 ] | |
| 101 } | |
| 102 }, | |
| 103 { | |
| 104 "type": "assistant.delta", | |
| 105 "delta": "I updated the mock implementation plan." | |
| 106 }, | |
| 107 { | |
| 108 "type": "assistant.completed", | |
| 109 "content": "I updated the mock implementation plan." | |
| 110 } | |
| 111 ] | |
| 112 }, | |
| 113 "!error": { | |
| 114 "description": "Failed turn treatment.", | |
| 115 "events": [ | |
| 116 { | |
| 117 "type": "turn.error", | |
| 118 "error": { | |
| 119 "code": "mock_failure", | |
| 120 "message": "The mock crystal was asked to fail." | |
| 121 } | |
| 122 } | |
| 123 ] | |
| 124 } | |
| 125 } | |
| 126 } |