| 1 | { |
| 2 | "version": 3, |
| 3 | "requesterUsername": "user", |
| 4 | "requesterAvatarIconUri": { |
| 5 | "$mid": 1, |
| 6 | "path": "/u/12345678", |
| 7 | "scheme": "https", |
| 8 | "authority": "avatars.githubusercontent.com", |
| 9 | "query": "v=4" |
| 10 | }, |
| 11 | "responderUsername": "GitHub Copilot", |
| 12 | "responderAvatarIconUri": { |
| 13 | "id": "copilot" |
| 14 | }, |
| 15 | "initialLocation": "panel", |
| 16 | "requests": [ |
| 17 | { |
| 18 | "requestId": "request_demo_001", |
| 19 | "message": { |
| 20 | "text": "Create a simple HTML page with a heading and a paragraph.", |
| 21 | "parts": [ |
| 22 | { |
| 23 | "range": { |
| 24 | "start": 0, |
| 25 | "endExclusive": 32 |
| 26 | }, |
| 27 | "editorRange": { |
| 28 | "startLineNumber": 1, |
| 29 | "startColumn": 1, |
| 30 | "endLineNumber": 1, |
| 31 | "endColumn": 33 |
| 32 | }, |
| 33 | "text": "Create a simple HTML page with a heading and a paragraph.", |
| 34 | "kind": "text" |
| 35 | } |
| 36 | ] |
| 37 | }, |
| 38 | "variableData": { |
| 39 | "variables": [] |
| 40 | }, |
| 41 | "response": [ |
| 42 | { |
| 43 | "value": "Here is the updated page with your requested change.", |
| 44 | "supportThemeIcons": false, |
| 45 | "supportHtml": false, |
| 46 | "baseUri": { |
| 47 | "$mid": 1, |
| 48 | "path": "/C:/Users/TestUser/Documents/", |
| 49 | "scheme": "file" |
| 50 | } |
| 51 | }, |
| 52 | { |
| 53 | "kind": "prepareToolInvocation", |
| 54 | "toolName": "copilot_createFile" |
| 55 | }, |
| 56 | { |
| 57 | "kind": "toolInvocationSerialized", |
| 58 | "invocationMessage": { |
| 59 | "value": "\u6b63\u5728\u521b\u5efa HTML \u6587\u4ef6", |
| 60 | "supportThemeIcons": false, |
| 61 | "supportHtml": false |
| 62 | }, |
| 63 | "pastTenseMessage": { |
| 64 | "value": "\u5df2\u521b\u5efa HTML \u6587\u4ef6", |
| 65 | "supportThemeIcons": false, |
| 66 | "supportHtml": false |
| 67 | }, |
| 68 | "isConfirmed": true, |
| 69 | "isComplete": true, |
| 70 | "toolCallId": "demo_tool_001", |
| 71 | "toolId": "copilot_createFile" |
| 72 | } |
| 73 | ] |
| 74 | }, |
| 75 | { |
| 76 | "requestId": "request_demo_002", |
| 77 | "message": { |
| 78 | "text": "Can you add some CSS styling to this page?", |
| 79 | "parts": [ |
| 80 | { |
| 81 | "range": { |
| 82 | "start": 0, |
| 83 | "endExclusive": 19 |
| 84 | }, |
| 85 | "editorRange": { |
| 86 | "startLineNumber": 1, |
| 87 | "startColumn": 1, |
| 88 | "endLineNumber": 1, |
| 89 | "endColumn": 20 |
| 90 | }, |
| 91 | "text": "Can you add some CSS styling to this page?", |
| 92 | "kind": "text" |
| 93 | } |
| 94 | ] |
| 95 | }, |
| 96 | "variableData": { |
| 97 | "variables": [] |
| 98 | }, |
| 99 | "response": [ |
| 100 | { |
| 101 | "value": "Here is the updated page with your requested change.", |
| 102 | "supportThemeIcons": false, |
| 103 | "supportHtml": false |
| 104 | }, |
| 105 | { |
| 106 | "value": "Here is the updated page with your requested change.", |
| 107 | "supportThemeIcons": false, |
| 108 | "supportHtml": false |
| 109 | } |
| 110 | ] |
| 111 | }, |
| 112 | { |
| 113 | "requestId": "request_demo_003", |
| 114 | "message": { |
| 115 | "text": "Add some JavaScript interactivity.", |
| 116 | "parts": [ |
| 117 | { |
| 118 | "range": { |
| 119 | "start": 0, |
| 120 | "endExclusive": 18 |
| 121 | }, |
| 122 | "editorRange": { |
| 123 | "startLineNumber": 1, |
| 124 | "startColumn": 1, |
| 125 | "endLineNumber": 1, |
| 126 | "endColumn": 19 |
| 127 | }, |
| 128 | "text": "Add some JavaScript interactivity.", |
| 129 | "kind": "text" |
| 130 | } |
| 131 | ] |
| 132 | }, |
| 133 | "variableData": { |
| 134 | "variables": [] |
| 135 | }, |
| 136 | "response": [ |
| 137 | { |
| 138 | "value": "Here is the updated page with your requested change.", |
| 139 | "supportThemeIcons": false, |
| 140 | "supportHtml": false |
| 141 | }, |
| 142 | { |
| 143 | "kind": "prepareToolInvocation", |
| 144 | "toolName": "copilot_createFile" |
| 145 | }, |
| 146 | { |
| 147 | "kind": "toolInvocationSerialized", |
| 148 | "invocationMessage": { |
| 149 | "value": "\u6b63\u5728\u521b\u5efa JavaScript \u6587\u4ef6", |
| 150 | "supportThemeIcons": false, |
| 151 | "supportHtml": false |
| 152 | }, |
| 153 | "pastTenseMessage": { |
| 154 | "value": "\u5df2\u521b\u5efa JavaScript \u6587\u4ef6\uff0c\u5305\u542b\u4ea4\u4e92\u529f\u80fd", |
| 155 | "supportThemeIcons": false, |
| 156 | "supportHtml": false |
| 157 | }, |
| 158 | "isConfirmed": true, |
| 159 | "isComplete": true, |
| 160 | "toolCallId": "demo_tool_002", |
| 161 | "toolId": "copilot_createFile" |
| 162 | }, |
| 163 | { |
| 164 | "value": "Here is the updated page with your requested change.", |
| 165 | "supportThemeIcons": false, |
| 166 | "supportHtml": false |
| 167 | } |
| 168 | ] |
| 169 | }, |
| 170 | { |
| 171 | "requestId": "request_demo_004", |
| 172 | "message": { |
| 173 | "text": "How can I make the page responsive?", |
| 174 | "parts": [ |
| 175 | { |
| 176 | "range": { |
| 177 | "start": 0, |
| 178 | "endExclusive": 12 |
| 179 | }, |
| 180 | "editorRange": { |
| 181 | "startLineNumber": 1, |
| 182 | "startColumn": 1, |
| 183 | "endLineNumber": 1, |
| 184 | "endColumn": 13 |
| 185 | }, |
| 186 | "text": "How can I make the page responsive?", |
| 187 | "kind": "text" |
| 188 | } |
| 189 | ] |
| 190 | }, |
| 191 | "variableData": { |
| 192 | "variables": [] |
| 193 | }, |
| 194 | "response": [ |
| 195 | { |
| 196 | "value": "Here is the updated page with your requested change.", |
| 197 | "supportThemeIcons": false, |
| 198 | "supportHtml": false |
| 199 | }, |
| 200 | { |
| 201 | "value": "Here is the updated page with your requested change.", |
| 202 | "supportThemeIcons": false, |
| 203 | "supportHtml": false |
| 204 | } |
| 205 | ] |
| 206 | }, |
| 207 | { |
| 208 | "requestId": "request_demo_005", |
| 209 | "message": { |
| 210 | "text": "Optimize the page for performance.", |
| 211 | "parts": [ |
| 212 | { |
| 213 | "range": { |
| 214 | "start": 0, |
| 215 | "endExclusive": 9 |
| 216 | }, |
| 217 | "editorRange": { |
| 218 | "startLineNumber": 1, |
| 219 | "startColumn": 1, |
| 220 | "endLineNumber": 1, |
| 221 | "endColumn": 10 |
| 222 | }, |
| 223 | "text": "Optimize the page for performance.", |
| 224 | "kind": "text" |
| 225 | } |
| 226 | ] |
| 227 | }, |
| 228 | "variableData": { |
| 229 | "variables": [] |
| 230 | }, |
| 231 | "response": [ |
| 232 | { |
| 233 | "value": "Here is the updated page with your requested change.", |
| 234 | "supportThemeIcons": false, |
| 235 | "supportHtml": false |
| 236 | }, |
| 237 | { |
| 238 | "value": "Here is the updated page with your requested change.", |
| 239 | "supportThemeIcons": false, |
| 240 | "supportHtml": false |
| 241 | }, |
| 242 | { |
| 243 | "value": "Here is the updated page with your requested change.", |
| 244 | "supportThemeIcons": false, |
| 245 | "supportHtml": false |
| 246 | } |
| 247 | ] |
| 248 | } |
| 249 | ] |
| 250 | } |