diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mrjunejune/inference/mock_responses.json	Wed Aug 05 20:38:32 2026 -0700
@@ -0,0 +1,126 @@
+{
+  "delay_ms": 55,
+  "fallback": "!response",
+  "commands": {
+    "!hello": {
+      "description": "Short greeting with exact chunks.",
+      "events": [
+        {
+          "type": "assistant.delta",
+          "delta": "Hello, "
+        },
+        {
+          "type": "assistant.delta",
+          "delta": "traveler."
+        },
+        {
+          "type": "assistant.completed",
+          "content": "Hello, traveler."
+        }
+      ]
+    },
+    "!response": {
+      "description": "Long response for typing, wrapping, and scrolling.",
+      "events": [
+        {
+          "type": "assistant.delta",
+          "delta": "The neon trail stretches across the terminal while "
+        },
+        {
+          "type": "assistant.delta",
+          "delta": "each word arrives through the real Seobeo SSE path. "
+        },
+        {
+          "type": "assistant.delta",
+          "delta": "Edit mock_responses.json to change this sequence."
+        },
+        {
+          "type": "assistant.completed",
+          "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."
+        }
+      ]
+    },
+    "!tool": {
+      "description": "Example tool lifecycle for future tool-call UI.",
+      "events": [
+        {
+          "type": "tool.started",
+          "tool": {
+            "id": "mock-tool-1",
+            "name": "site_search",
+            "arguments": {
+              "query": "JRPG design notes"
+            }
+          }
+        },
+        {
+          "type": "tool.completed",
+          "delay_ms": 350,
+          "tool": {
+            "id": "mock-tool-1",
+            "name": "site_search",
+            "result": {
+              "matches": 3
+            }
+          }
+        },
+        {
+          "type": "assistant.delta",
+          "delta": "The mock search found three matching entries."
+        },
+        {
+          "type": "assistant.completed",
+          "content": "The mock search found three matching entries."
+        }
+      ]
+    },
+    "!plan": {
+      "description": "Example plan event for a future plan-view component.",
+      "events": [
+        {
+          "type": "plan.updated",
+          "plan": {
+            "title": "Tune the JRPG chat",
+            "steps": [
+              {
+                "id": "layout",
+                "label": "Adjust layout",
+                "status": "completed"
+              },
+              {
+                "id": "motion",
+                "label": "Review stream motion",
+                "status": "in_progress"
+              },
+              {
+                "id": "details",
+                "label": "Polish tool details",
+                "status": "pending"
+              }
+            ]
+          }
+        },
+        {
+          "type": "assistant.delta",
+          "delta": "I updated the mock implementation plan."
+        },
+        {
+          "type": "assistant.completed",
+          "content": "I updated the mock implementation plan."
+        }
+      ]
+    },
+    "!error": {
+      "description": "Failed turn treatment.",
+      "events": [
+        {
+          "type": "turn.error",
+          "error": {
+            "code": "mock_failure",
+            "message": "The mock crystal was asked to fail."
+          }
+        }
+      ]
+    }
+  }
+}