Seventeen new contract files: tool_media_shown, event_ask_edit, editor, editor_unset, message_editor and the twelve device_fs_* shapes. devices.json gained files, files_writable and files_that_run_code per device. Tokens are read at the same commit (the colours did not move, only the commit they name). Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
52 lines
1.3 KiB
JSON
52 lines
1.3 KiB
JSON
{
|
|
"cards": [
|
|
{
|
|
"id": "card9",
|
|
"kind": "approval",
|
|
"why": "",
|
|
"dismissable": false,
|
|
"expires_in": 1800,
|
|
"items": [
|
|
{
|
|
"index": 0,
|
|
"key": "0",
|
|
"kind": "approval",
|
|
"tool": "edit",
|
|
"title": "Edit a file",
|
|
"header": "",
|
|
"detail": "{\"path\": \"src/oven.py\"}",
|
|
"reason": "Manual mode asks before every edit.",
|
|
"purpose": "Bake hotter",
|
|
"options": [],
|
|
"multiple": false,
|
|
"free_text": false,
|
|
"always": true,
|
|
"editable": false,
|
|
"plan": null,
|
|
"mode_choice": true,
|
|
"job": "",
|
|
"subagent": null,
|
|
"diffs": [
|
|
{
|
|
"path": "src/oven.py",
|
|
"old_text": "def bake(loaf):\n return loaf.heat(220)\n",
|
|
"new_text": "def bake(loaf):\n # <img src=x onerror=alert(1)>\n return loaf.heat(240)\n"
|
|
},
|
|
{
|
|
"path": "src/timer.py",
|
|
"old_text": null,
|
|
"new_text": "MINUTES = 40\n"
|
|
},
|
|
{
|
|
"path": "src/old.py",
|
|
"old_text": "x = 1\n",
|
|
"new_text": "",
|
|
"deleted": true
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|