{
"login": {
"callback_parse": [
{
"input": "",
"nil": true
},
{
"input": " ",
"nil": true
},
{
"input": "http://localhost:54545/callback?code=c1\u0026state=s1",
"code": "c1",
"state": "s1"
},
{
"input": "localhost:54545/callback?code=c2\u0026state=s2",
"code": "c2",
"state": "s2"
},
{
"input": "?code=c3\u0026state=s3",
"code": "c3",
"state": "s3"
},
{
"input": "code=c4\u0026state=s4",
"code": "c4",
"state": "s4"
},
{
"input": "c5#s5",
"err": "callback URL missing code"
},
{
"input": "http://localhost/callback?code=c6%23s6",
"code": "c6",
"state": "s6"
},
{
"input": "http://localhost/callback#code=c7\u0026state=s7",
"code": "c7",
"state": "s7"
},
{
"input": "http://localhost/callback?code=c8\u0026state=s8#state=ignored\u0026error=e",
"code": "c8",
"state": "s8",
"error": "e"
},
{
"input": "http://localhost/callback?error_description=only+desc",
"error": "only desc"
},
{
"input": "http://localhost/callback?error=denied\u0026error_description=why",
"error": "denied",
"desc": "why"
},
{
"input": "http://localhost/callback?state=s9",
"err": "callback URL missing code"
},
{
"input": "justtext",
"err": "invalid callback URL"
},
{
"input": "http://[::1/bad",
"err": "parse \"http://[::1/bad\": missing ']' in host"
}
],
"file_names": [
{
"email": "a@example.invalid",
"organization": "",
"account": "",
"out": "claude-a@example.invalid.json"
},
{
"email": " a@example.invalid ",
"organization": "",
"account": "acct-1",
"out": "claude-ba36a4ed-a@example.invalid.json"
},
{
"email": "a@example.invalid",
"organization": " org-1 ",
"account": "acct-1",
"out": "claude-c24787a7-a@example.invalid.json"
}
],
"server": [
{
"method": "GET",
"target": "/callback?code=abc%23frag\u0026state=xyz",
"status": 302,
"content_type": "text/html; charset=utf-8",
"location": "/success",
"body": "\u003ca href=\"/success\"\u003eFound\u003c/a\u003e.\n\n"
},
{
"method": "GET",
"target": "/callback?error=access_denied\u0026error_description=nope",
"status": 400,
"content_type": "text/plain; charset=utf-8",
"nosniff": "nosniff",
"body": "OAuth error: access_denied\n"
},
{
"method": "GET",
"target": "/callback?state=xyz",
"status": 400,
"content_type": "text/plain; charset=utf-8",
"nosniff": "nosniff",
"body": "No authorization code received\n"
},
{
"method": "GET",
"target": "/callback?code=abc",
"status": 400,
"content_type": "text/plain; charset=utf-8",
"nosniff": "nosniff",
"body": "No state parameter received\n"
},
{
"method": "POST",
"target": "/callback?code=abc\u0026state=xyz",
"status": 405,
"content_type": "text/plain; charset=utf-8",
"nosniff": "nosniff",
"body": "Method not allowed\n"
},
{
"method": "GET",
"target": "/success",
"status": 200,
"content_type": "text/html; charset=utf-8",
"body": "\u003c!DOCTYPE html\u003e\n\u003chtml lang=\"en\"\u003e\n\u003chead\u003e\n \u003cmeta charset=\"UTF-8\"\u003e\n \u003cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"\u003e\n \u003ctitle\u003eAuthentication Successful - Claude\u003c/title\u003e\n \u003clink rel=\"icon\" type=\"image/svg+xml\" href=\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2310b981'%3E%3Cpath d='M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z'/%3E%3C/svg%3E\"\u003e\n \u003cstyle\u003e\n * {\n box-sizing: border-box;\n }\n body {\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;\n display: flex;\n justify-content: center;\n align-items: center;\n min-height: 100vh;\n margin: 0;\n background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);\n padding: 1rem;\n }\n .container {\n text-align: center;\n background: white;\n padding: 2.5rem;\n border-radius: 12px;\n box-shadow: 0 10px 25px rgba(0,0,0,0.1);\n max-width: 480px;\n width: 100%;\n animation: slideIn 0.3s ease-out;\n }\n @keyframes slideIn {\n from {\n opacity: 0;\n transform: translateY(-20px);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n }\n .success-icon {\n width: 64px;\n height: 64px;\n margin: 0 auto 1.5rem;\n background: #10b981;\n border-radius: 50%;\n display: flex;\n align-items: center;\n justify-content: center;\n color: white;\n font-size: 2rem;\n font-weight: bold;\n }\n h1 {\n color: #1f2937;\n margin-bottom: 1rem;\n font-size: 1.75rem;\n font-weight: 600;\n }\n .subtitle {\n color: #6b7280;\n margin-bottom: 1.5rem;\n font-size: 1rem;\n line-height: 1.5;\n }\n .setup-notice {\n background: #fef3c7;\n border: 1px solid #f59e0b;\n border-radius: 6px;\n padding: 1rem;\n margin: 1rem 0;\n }\n .setup-notice h3 {\n color: #92400e;\n margin: 0 0 0.5rem 0;\n font-size: 1rem;\n }\n .setup-notice p {\n color: #92400e;\n margin: 0;\n font-size: 0.875rem;\n }\n .setup-notice a {\n color: #1d4ed8;\n text-decoration: none;\n }\n .setup-notice a:hover {\n text-decoration: underline;\n }\n .actions {\n display: flex;\n gap: 1rem;\n justify-content: center;\n flex-wrap: wrap;\n margin-top: 2rem;\n }\n .button {\n padding: 0.75rem 1.5rem;\n border-radius: 8px;\n font-size: 0.875rem;\n font-weight: 500;\n text-decoration: none;\n transition: all 0.2s;\n cursor: pointer;\n border: none;\n display: inline-flex;\n align-items: center;\n gap: 0.5rem;\n }\n .button-primary {\n background: #3b82f6;\n color: white;\n }\n .button-primary:hover {\n background: #2563eb;\n transform: translateY(-1px);\n }\n .button-secondary {\n background: #f3f4f6;\n color: #374151;\n border: 1px solid #d1d5db;\n }\n .button-secondary:hover {\n background: #e5e7eb;\n }\n .countdown {\n color: #9ca3af;\n font-size: 0.75rem;\n margin-top: 1rem;\n }\n .footer {\n margin-top: 2rem;\n padding-top: 1.5rem;\n border-top: 1px solid #e5e7eb;\n color: #9ca3af;\n font-size: 0.75rem;\n }\n .footer a {\n color: #3b82f6;\n text-decoration: none;\n }\n .footer a:hover {\n text-decoration: underline;\n }\n \u003c/style\u003e\n\u003c/head\u003e\n\u003cbody\u003e\n \u003cdiv class=\"container\"\u003e\n \u003cdiv class=\"success-icon\"\u003e✓\u003c/div\u003e\n \u003ch1\u003eAuthentication Successful!\u003c/h1\u003e\n \u003cp class=\"subtitle\"\u003eYou have successfully authenticated with Claude. You can now close this window and return to your terminal to continue.\u003c/p\u003e\n \n \n \n \u003cdiv class=\"actions\"\u003e\n \u003cbutton class=\"button button-primary\" onclick=\"window.close()\"\u003e\n \u003cspan\u003eClose Window\u003c/span\u003e\n \u003c/button\u003e\n \u003ca href=\"https://console.anthropic.com/\" target=\"_blank\" class=\"button button-secondary\"\u003e\n \u003cspan\u003eOpen Platform\u003c/span\u003e\n \u003cspan\u003e↗\u003c/span\u003e\n \u003c/a\u003e\n \u003c/div\u003e\n \n \u003cdiv class=\"countdown\"\u003e\n This window will close automatically in \u003cspan id=\"countdown\"\u003e10\u003c/span\u003e seconds\n \u003c/div\u003e\n \n \u003cdiv class=\"footer\"\u003e\n \u003cp\u003ePowered by \u003ca href=\"https://chatgpt.com\" target=\"_blank\"\u003eChatGPT\u003c/a\u003e\u003c/p\u003e\n \u003c/div\u003e\n \u003c/div\u003e\n \n \u003cscript\u003e\n let countdown = 10;\n const countdownElement = document.getElementById('countdown');\n \n const timer = setInterval(() =\u003e {\n countdown--;\n countdownElement.textContent = countdown;\n \n if (countdown \u003c= 0) {\n clearInterval(timer);\n window.close();\n }\n }, 1000);\n \n // Close window when user presses Escape\n document.addEventListener('keydown', (e) =\u003e {\n if (e.key === 'Escape') {\n window.close();\n }\n });\n \n // Focus the close button for keyboard accessibility\n document.querySelector('.button-primary').focus();\n \u003c/script\u003e\n\u003c/body\u003e\n\u003c/html\u003e"
},
{
"method": "GET",
"target": "/success?setup_required=true\u0026platform_url=https%3A%2F%2Fplatform.example.invalid%2F",
"status": 200,
"content_type": "text/html; charset=utf-8",
"body": "\u003c!DOCTYPE html\u003e\n\u003chtml lang=\"en\"\u003e\n\u003chead\u003e\n \u003cmeta charset=\"UTF-8\"\u003e\n \u003cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"\u003e\n \u003ctitle\u003eAuthentication Successful - Claude\u003c/title\u003e\n \u003clink rel=\"icon\" type=\"image/svg+xml\" href=\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2310b981'%3E%3Cpath d='M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z'/%3E%3C/svg%3E\"\u003e\n \u003cstyle\u003e\n * {\n box-sizing: border-box;\n }\n body {\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;\n display: flex;\n justify-content: center;\n align-items: center;\n min-height: 100vh;\n margin: 0;\n background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);\n padding: 1rem;\n }\n .container {\n text-align: center;\n background: white;\n padding: 2.5rem;\n border-radius: 12px;\n box-shadow: 0 10px 25px rgba(0,0,0,0.1);\n max-width: 480px;\n width: 100%;\n animation: slideIn 0.3s ease-out;\n }\n @keyframes slideIn {\n from {\n opacity: 0;\n transform: translateY(-20px);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n }\n .success-icon {\n width: 64px;\n height: 64px;\n margin: 0 auto 1.5rem;\n background: #10b981;\n border-radius: 50%;\n display: flex;\n align-items: center;\n justify-content: center;\n color: white;\n font-size: 2rem;\n font-weight: bold;\n }\n h1 {\n color: #1f2937;\n margin-bottom: 1rem;\n font-size: 1.75rem;\n font-weight: 600;\n }\n .subtitle {\n color: #6b7280;\n margin-bottom: 1.5rem;\n font-size: 1rem;\n line-height: 1.5;\n }\n .setup-notice {\n background: #fef3c7;\n border: 1px solid #f59e0b;\n border-radius: 6px;\n padding: 1rem;\n margin: 1rem 0;\n }\n .setup-notice h3 {\n color: #92400e;\n margin: 0 0 0.5rem 0;\n font-size: 1rem;\n }\n .setup-notice p {\n color: #92400e;\n margin: 0;\n font-size: 0.875rem;\n }\n .setup-notice a {\n color: #1d4ed8;\n text-decoration: none;\n }\n .setup-notice a:hover {\n text-decoration: underline;\n }\n .actions {\n display: flex;\n gap: 1rem;\n justify-content: center;\n flex-wrap: wrap;\n margin-top: 2rem;\n }\n .button {\n padding: 0.75rem 1.5rem;\n border-radius: 8px;\n font-size: 0.875rem;\n font-weight: 500;\n text-decoration: none;\n transition: all 0.2s;\n cursor: pointer;\n border: none;\n display: inline-flex;\n align-items: center;\n gap: 0.5rem;\n }\n .button-primary {\n background: #3b82f6;\n color: white;\n }\n .button-primary:hover {\n background: #2563eb;\n transform: translateY(-1px);\n }\n .button-secondary {\n background: #f3f4f6;\n color: #374151;\n border: 1px solid #d1d5db;\n }\n .button-secondary:hover {\n background: #e5e7eb;\n }\n .countdown {\n color: #9ca3af;\n font-size: 0.75rem;\n margin-top: 1rem;\n }\n .footer {\n margin-top: 2rem;\n padding-top: 1.5rem;\n border-top: 1px solid #e5e7eb;\n color: #9ca3af;\n font-size: 0.75rem;\n }\n .footer a {\n color: #3b82f6;\n text-decoration: none;\n }\n .footer a:hover {\n text-decoration: underline;\n }\n \u003c/style\u003e\n\u003c/head\u003e\n\u003cbody\u003e\n \u003cdiv class=\"container\"\u003e\n \u003cdiv class=\"success-icon\"\u003e✓\u003c/div\u003e\n \u003ch1\u003eAuthentication Successful!\u003c/h1\u003e\n \u003cp class=\"subtitle\"\u003eYou have successfully authenticated with Claude. You can now close this window and return to your terminal to continue.\u003c/p\u003e\n \n \n \u003cdiv class=\"setup-notice\"\u003e\n \u003ch3\u003eAdditional Setup Required\u003c/h3\u003e\n \u003cp\u003eTo complete your setup, please visit the \u003ca href=\"https://platform.example.invalid/\" target=\"_blank\"\u003eClaude\u003c/a\u003e to configure your account.\u003c/p\u003e\n \u003c/div\u003e\n \n \u003cdiv class=\"actions\"\u003e\n \u003cbutton class=\"button button-primary\" onclick=\"window.close()\"\u003e\n \u003cspan\u003eClose Window\u003c/span\u003e\n \u003c/button\u003e\n \u003ca href=\"https://platform.example.invalid/\" target=\"_blank\" class=\"button button-secondary\"\u003e\n \u003cspan\u003eOpen Platform\u003c/span\u003e\n \u003cspan\u003e↗\u003c/span\u003e\n \u003c/a\u003e\n \u003c/div\u003e\n \n \u003cdiv class=\"countdown\"\u003e\n This window will close automatically in \u003cspan id=\"countdown\"\u003e10\u003c/span\u003e seconds\n \u003c/div\u003e\n \n \u003cdiv class=\"footer\"\u003e\n \u003cp\u003ePowered by \u003ca href=\"https://chatgpt.com\" target=\"_blank\"\u003eChatGPT\u003c/a\u003e\u003c/p\u003e\n \u003c/div\u003e\n \u003c/div\u003e\n \n \u003cscript\u003e\n let countdown = 10;\n const countdownElement = document.getElementById('countdown');\n \n const timer = setInterval(() =\u003e {\n countdown--;\n countdownElement.textContent = countdown;\n \n if (countdown \u003c= 0) {\n clearInterval(timer);\n window.close();\n }\n }, 1000);\n \n // Close window when user presses Escape\n document.addEventListener('keydown', (e) =\u003e {\n if (e.key === 'Escape') {\n window.close();\n }\n });\n \n // Focus the close button for keyboard accessibility\n document.querySelector('.button-primary').focus();\n \u003c/script\u003e\n\u003c/body\u003e\n\u003c/html\u003e"
},
{
"method": "POST",
"target": "/success",
"status": 200,
"content_type": "text/html; charset=utf-8",
"body": "\u003c!DOCTYPE html\u003e\n\u003chtml lang=\"en\"\u003e\n\u003chead\u003e\n \u003cmeta charset=\"UTF-8\"\u003e\n \u003cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"\u003e\n \u003ctitle\u003eAuthentication Successful - Claude\u003c/title\u003e\n \u003clink rel=\"icon\" type=\"image/svg+xml\" href=\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2310b981'%3E%3Cpath d='M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z'/%3E%3C/svg%3E\"\u003e\n \u003cstyle\u003e\n * {\n box-sizing: border-box;\n }\n body {\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;\n display: flex;\n justify-content: center;\n align-items: center;\n min-height: 100vh;\n margin: 0;\n background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);\n padding: 1rem;\n }\n .container {\n text-align: center;\n background: white;\n padding: 2.5rem;\n border-radius: 12px;\n box-shadow: 0 10px 25px rgba(0,0,0,0.1);\n max-width: 480px;\n width: 100%;\n animation: slideIn 0.3s ease-out;\n }\n @keyframes slideIn {\n from {\n opacity: 0;\n transform: translateY(-20px);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n }\n .success-icon {\n width: 64px;\n height: 64px;\n margin: 0 auto 1.5rem;\n background: #10b981;\n border-radius: 50%;\n display: flex;\n align-items: center;\n justify-content: center;\n color: white;\n font-size: 2rem;\n font-weight: bold;\n }\n h1 {\n color: #1f2937;\n margin-bottom: 1rem;\n font-size: 1.75rem;\n font-weight: 600;\n }\n .subtitle {\n color: #6b7280;\n margin-bottom: 1.5rem;\n font-size: 1rem;\n line-height: 1.5;\n }\n .setup-notice {\n background: #fef3c7;\n border: 1px solid #f59e0b;\n border-radius: 6px;\n padding: 1rem;\n margin: 1rem 0;\n }\n .setup-notice h3 {\n color: #92400e;\n margin: 0 0 0.5rem 0;\n font-size: 1rem;\n }\n .setup-notice p {\n color: #92400e;\n margin: 0;\n font-size: 0.875rem;\n }\n .setup-notice a {\n color: #1d4ed8;\n text-decoration: none;\n }\n .setup-notice a:hover {\n text-decoration: underline;\n }\n .actions {\n display: flex;\n gap: 1rem;\n justify-content: center;\n flex-wrap: wrap;\n margin-top: 2rem;\n }\n .button {\n padding: 0.75rem 1.5rem;\n border-radius: 8px;\n font-size: 0.875rem;\n font-weight: 500;\n text-decoration: none;\n transition: all 0.2s;\n cursor: pointer;\n border: none;\n display: inline-flex;\n align-items: center;\n gap: 0.5rem;\n }\n .button-primary {\n background: #3b82f6;\n color: white;\n }\n .button-primary:hover {\n background: #2563eb;\n transform: translateY(-1px);\n }\n .button-secondary {\n background: #f3f4f6;\n color: #374151;\n border: 1px solid #d1d5db;\n }\n .button-secondary:hover {\n background: #e5e7eb;\n }\n .countdown {\n color: #9ca3af;\n font-size: 0.75rem;\n margin-top: 1rem;\n }\n .footer {\n margin-top: 2rem;\n padding-top: 1.5rem;\n border-top: 1px solid #e5e7eb;\n color: #9ca3af;\n font-size: 0.75rem;\n }\n .footer a {\n color: #3b82f6;\n text-decoration: none;\n }\n .footer a:hover {\n text-decoration: underline;\n }\n \u003c/style\u003e\n\u003c/head\u003e\n\u003cbody\u003e\n \u003cdiv class=\"container\"\u003e\n \u003cdiv class=\"success-icon\"\u003e✓\u003c/div\u003e\n \u003ch1\u003eAuthentication Successful!\u003c/h1\u003e\n \u003cp class=\"subtitle\"\u003eYou have successfully authenticated with Claude. You can now close this window and return to your terminal to continue.\u003c/p\u003e\n \n \n \n \u003cdiv class=\"actions\"\u003e\n \u003cbutton class=\"button button-primary\" onclick=\"window.close()\"\u003e\n \u003cspan\u003eClose Window\u003c/span\u003e\n \u003c/button\u003e\n \u003ca href=\"https://console.anthropic.com/\" target=\"_blank\" class=\"button button-secondary\"\u003e\n \u003cspan\u003eOpen Platform\u003c/span\u003e\n \u003cspan\u003e↗\u003c/span\u003e\n \u003c/a\u003e\n \u003c/div\u003e\n \n \u003cdiv class=\"countdown\"\u003e\n This window will close automatically in \u003cspan id=\"countdown\"\u003e10\u003c/span\u003e seconds\n \u003c/div\u003e\n \n \u003cdiv class=\"footer\"\u003e\n \u003cp\u003ePowered by \u003ca href=\"https://chatgpt.com\" target=\"_blank\"\u003eChatGPT\u003c/a\u003e\u003c/p\u003e\n \u003c/div\u003e\n \u003c/div\u003e\n \n \u003cscript\u003e\n let countdown = 10;\n const countdownElement = document.getElementById('countdown');\n \n const timer = setInterval(() =\u003e {\n countdown--;\n countdownElement.textContent = countdown;\n \n if (countdown \u003c= 0) {\n clearInterval(timer);\n window.close();\n }\n }, 1000);\n \n // Close window when user presses Escape\n document.addEventListener('keydown', (e) =\u003e {\n if (e.key === 'Escape') {\n window.close();\n }\n });\n \n // Focus the close button for keyboard accessibility\n document.querySelector('.button-primary').focus();\n \u003c/script\u003e\n\u003c/body\u003e\n\u003c/html\u003e"
},
{
"method": "GET",
"target": "/other",
"status": 404,
"content_type": "text/plain; charset=utf-8",
"nosniff": "nosniff",
"body": "404 page not found\n"
}
],
"setup_notice": "\n \u003cdiv class=\"setup-notice\"\u003e\n \u003ch3\u003eAdditional Setup Required\u003c/h3\u003e\n \u003cp\u003eTo complete your setup, please visit the \u003ca href=\"{{PLATFORM_URL}}\" target=\"_blank\"\u003eClaude\u003c/a\u003e to configure your account.\u003c/p\u003e\n \u003c/div\u003e",
"success_html": "\u003c!DOCTYPE html\u003e\n\u003chtml lang=\"en\"\u003e\n\u003chead\u003e\n \u003cmeta charset=\"UTF-8\"\u003e\n \u003cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"\u003e\n \u003ctitle\u003eAuthentication Successful - Claude\u003c/title\u003e\n \u003clink rel=\"icon\" type=\"image/svg+xml\" href=\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2310b981'%3E%3Cpath d='M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z'/%3E%3C/svg%3E\"\u003e\n \u003cstyle\u003e\n * {\n box-sizing: border-box;\n }\n body {\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;\n display: flex;\n justify-content: center;\n align-items: center;\n min-height: 100vh;\n margin: 0;\n background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);\n padding: 1rem;\n }\n .container {\n text-align: center;\n background: white;\n padding: 2.5rem;\n border-radius: 12px;\n box-shadow: 0 10px 25px rgba(0,0,0,0.1);\n max-width: 480px;\n width: 100%;\n animation: slideIn 0.3s ease-out;\n }\n @keyframes slideIn {\n from {\n opacity: 0;\n transform: translateY(-20px);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n }\n .success-icon {\n width: 64px;\n height: 64px;\n margin: 0 auto 1.5rem;\n background: #10b981;\n border-radius: 50%;\n display: flex;\n align-items: center;\n justify-content: center;\n color: white;\n font-size: 2rem;\n font-weight: bold;\n }\n h1 {\n color: #1f2937;\n margin-bottom: 1rem;\n font-size: 1.75rem;\n font-weight: 600;\n }\n .subtitle {\n color: #6b7280;\n margin-bottom: 1.5rem;\n font-size: 1rem;\n line-height: 1.5;\n }\n .setup-notice {\n background: #fef3c7;\n border: 1px solid #f59e0b;\n border-radius: 6px;\n padding: 1rem;\n margin: 1rem 0;\n }\n .setup-notice h3 {\n color: #92400e;\n margin: 0 0 0.5rem 0;\n font-size: 1rem;\n }\n .setup-notice p {\n color: #92400e;\n margin: 0;\n font-size: 0.875rem;\n }\n .setup-notice a {\n color: #1d4ed8;\n text-decoration: none;\n }\n .setup-notice a:hover {\n text-decoration: underline;\n }\n .actions {\n display: flex;\n gap: 1rem;\n justify-content: center;\n flex-wrap: wrap;\n margin-top: 2rem;\n }\n .button {\n padding: 0.75rem 1.5rem;\n border-radius: 8px;\n font-size: 0.875rem;\n font-weight: 500;\n text-decoration: none;\n transition: all 0.2s;\n cursor: pointer;\n border: none;\n display: inline-flex;\n align-items: center;\n gap: 0.5rem;\n }\n .button-primary {\n background: #3b82f6;\n color: white;\n }\n .button-primary:hover {\n background: #2563eb;\n transform: translateY(-1px);\n }\n .button-secondary {\n background: #f3f4f6;\n color: #374151;\n border: 1px solid #d1d5db;\n }\n .button-secondary:hover {\n background: #e5e7eb;\n }\n .countdown {\n color: #9ca3af;\n font-size: 0.75rem;\n margin-top: 1rem;\n }\n .footer {\n margin-top: 2rem;\n padding-top: 1.5rem;\n border-top: 1px solid #e5e7eb;\n color: #9ca3af;\n font-size: 0.75rem;\n }\n .footer a {\n color: #3b82f6;\n text-decoration: none;\n }\n .footer a:hover {\n text-decoration: underline;\n }\n \u003c/style\u003e\n\u003c/head\u003e\n\u003cbody\u003e\n \u003cdiv class=\"container\"\u003e\n \u003cdiv class=\"success-icon\"\u003e✓\u003c/div\u003e\n \u003ch1\u003eAuthentication Successful!\u003c/h1\u003e\n \u003cp class=\"subtitle\"\u003eYou have successfully authenticated with Claude. You can now close this window and return to your terminal to continue.\u003c/p\u003e\n \n {{SETUP_NOTICE}}\n \n \u003cdiv class=\"actions\"\u003e\n \u003cbutton class=\"button button-primary\" onclick=\"window.close()\"\u003e\n \u003cspan\u003eClose Window\u003c/span\u003e\n \u003c/button\u003e\n \u003ca href=\"{{PLATFORM_URL}}\" target=\"_blank\" class=\"button button-secondary\"\u003e\n \u003cspan\u003eOpen Platform\u003c/span\u003e\n \u003cspan\u003e↗\u003c/span\u003e\n \u003c/a\u003e\n \u003c/div\u003e\n \n \u003cdiv class=\"countdown\"\u003e\n This window will close automatically in \u003cspan id=\"countdown\"\u003e10\u003c/span\u003e seconds\n \u003c/div\u003e\n \n \u003cdiv class=\"footer\"\u003e\n \u003cp\u003ePowered by \u003ca href=\"https://chatgpt.com\" target=\"_blank\"\u003eChatGPT\u003c/a\u003e\u003c/p\u003e\n \u003c/div\u003e\n \u003c/div\u003e\n \n \u003cscript\u003e\n let countdown = 10;\n const countdownElement = document.getElementById('countdown');\n \n const timer = setInterval(() =\u003e {\n countdown--;\n countdownElement.textContent = countdown;\n \n if (countdown \u003c= 0) {\n clearInterval(timer);\n window.close();\n }\n }, 1000);\n \n // Close window when user presses Escape\n document.addEventListener('keydown', (e) =\u003e {\n if (e.key === 'Escape') {\n window.close();\n }\n });\n \n // Focus the close button for keyboard accessibility\n document.querySelector('.button-primary').focus();\n \u003c/script\u003e\n\u003c/body\u003e\n\u003c/html\u003e"
},
"scenarios": [
{
"name": "payload-model-to-fable",
"config": "config-version: 8\naccess:\n api-keys: [client-key-1]\noauth:\n auth-dir: AUTH_DIR\nrequests:\n payload:\n override:\n - models:\n - name: claude-sonnet-4-6\n protocol: claude\n params:\n model: claude-fable-5-1\n override-raw:\n - models:\n - name: claude-sonnet-4-6\n protocol: claude\n params:\n thinking: '{\"type\":\"adaptive\"}'\n",
"auth_file": "{\"type\": \"claude\", \"access_token\": \"sk-ant-oat01-FAKE-LOCAL-ONLY\", \"refresh_token\": \"sk-ant-ort01-FAKE-LOCAL-ONLY\", \"id_token\": \"\", \"email\": \"fixture@example.invalid\", \"account_uuid\": \"aaaaaaaa-bbbb-4ccc-8ddd-eeeeeeeeeeee\", \"organization_uuid\": \"12345678-1234-4234-8234-123456789abc\", \"organization_name\": \"Fixture\", \"claude_device_ids\": [\"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\"], \"expired\": \"2099-01-01T00:00:00Z\", \"last_refresh\": \"2026-10-01T00:00:00Z\"}",
"client_key": "client-key-1",
"model": "claude-sonnet-4-6",
"headers": [
[
"Authorization",
"Bearer client-key-1"
],
[
"Content-Type",
"application/json"
],
[
"Anthropic-Version",
"2023-06-01"
]
],
"body": "{\"model\": \"claude-sonnet-4-6\", \"max_tokens\": 2048, \"system\": \"You are terse.\", \"messages\": [{\"role\": \"user\", \"content\": \"Summarise the plan in one line\"}]}",
"stream": false,
"count": false,
"reply": {
"status": 200,
"content_type": "application/json",
"body": "{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-sonnet-4-6\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}",
"headers": [
[
"Request-Id",
"req_fixture_01"
]
]
},
"date": "2026-10-23",
"upstream": [
{
"url": "https://api.anthropic.com/v1/messages?beta=true",
"headers": [
[
"Accept",
"application/json"
],
[
"Accept-Encoding",
"gzip, deflate, br, zstd"
],
[
"Authorization",
"Bearer sk-ant-oat01-FAKE-LOCAL-ONLY"
],
[
"Connection",
"keep-alive"
],
[
"Content-Type",
"application/json"
],
[
"User-Agent",
"claude-cli/2.1.280 (external, cli)"
],
[
"X-Claude-Code-Session-Id",
"849c2829-1f20-5f00-b359-994bdf1b8853"
],
[
"X-Stainless-Arch",
"arm64"
],
[
"X-Stainless-Lang",
"js"
],
[
"X-Stainless-OS",
"MacOS"
],
[
"X-Stainless-Package-Version",
"0.112.1"
],
[
"X-Stainless-Retry-Count",
"0"
],
[
"X-Stainless-Runtime",
"node"
],
[
"X-Stainless-Runtime-Version",
"v26.3.0"
],
[
"X-Stainless-Timeout",
"600"
],
[
"anthropic-beta",
"claude-code-20250219,oauth-2025-04-20,interleaved-thinking-2025-05-14,redact-thinking-2026-02-12,thinking-token-count-2026-05-13,context-management-2025-06-27,prompt-caching-scope-2026-01-05,mid-conversation-system-2026-04-07,per-turn-control-2026-07-01,mid-conversation-tool-changes-2026-07-01,mid-conversation-system-clear-at-2026-08-21,effort-2025-11-24,thinking-binding-controls-2026-08-01,extended-cache-ttl-2025-04-11,cache-diagnosis-2026-04-07"
],
[
"anthropic-dangerous-direct-browser-access",
"true"
],
[
"anthropic-version",
"2023-06-01"
],
[
"x-app",
"cli"
],
[
"x-client-request-id",
"36a42325-016f-425f-a7b9-c36b4ffc29b2"
]
],
"body": "{\"model\": \"claude-fable-5-1\", \"max_tokens\": 2048, \"system\": [{\"type\":\"text\",\"text\":\"x-anthropic-billing-header: cc_version=2.1.280.a5e; cc_entrypoint=cli; cch=c0e47; cc_prompt_id=765abe83-4ead-41e6-971d-6174ce36aa9f; cc_turn_origin=human;\"},{\"type\":\"text\",\"text\":\"You are Claude Code, Anthropic's official CLI for Claude.\",\"cache_control\":{\"type\":\"ephemeral\",\"ttl\":\"1h\"}}], \"messages\": [{\"role\": \"user\", \"content\": [{\"type\":\"text\",\"text\":\"\u003csystem-reminder\u003e\\nAs you answer the user's questions, you can use the following context:\\n# currentDate\\nToday's date is 2026-10-23.\\n\\n IMPORTANT: this context may or may not be relevant to your tasks. You should not respond to this context unless it is highly relevant to your task.\\n\u003c/system-reminder\u003e\\n\\n\"},{\"type\":\"text\",\"text\":\"\u003csystem-reminder\u003e\\nYou are terse.\\n\u003c/system-reminder\u003e\"},{\"type\":\"text\",\"text\":\"Summarise the plan in one line\",\"cache_control\":{\"type\":\"ephemeral\",\"ttl\":\"1h\"}}]}],\"diagnostics\":{\"previous_message_id\":null},\"stream\":false,\"metadata\":{\"user_id\":\"{\\\"device_id\\\":\\\"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\\\",\\\"account_uuid\\\":\\\"aaaaaaaa-bbbb-4ccc-8ddd-eeeeeeeeeeee\\\",\\\"session_id\\\":\\\"849c2829-1f20-5f00-b359-994bdf1b8853\\\"}\"},\"thinking\":{\"type\":\"adaptive\"}}",
"reply": "{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-sonnet-4-6\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}"
}
],
"output": [
"{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-sonnet-4-6\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}"
]
},
{
"name": "payload-model-to-legacy",
"config": "config-version: 8\naccess:\n api-keys: [client-key-1]\noauth:\n auth-dir: AUTH_DIR\nrequests:\n payload:\n override:\n - models:\n - name: claude-sonnet-5\n protocol: claude\n params:\n model: claude-sonnet-4-5\n",
"auth_file": "{\"type\": \"claude\", \"access_token\": \"sk-ant-oat01-FAKE-LOCAL-ONLY\", \"refresh_token\": \"sk-ant-ort01-FAKE-LOCAL-ONLY\", \"id_token\": \"\", \"email\": \"fixture@example.invalid\", \"account_uuid\": \"aaaaaaaa-bbbb-4ccc-8ddd-eeeeeeeeeeee\", \"organization_uuid\": \"12345678-1234-4234-8234-123456789abc\", \"organization_name\": \"Fixture\", \"claude_device_ids\": [\"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\"], \"expired\": \"2099-01-01T00:00:00Z\", \"last_refresh\": \"2026-10-01T00:00:00Z\"}",
"client_key": "client-key-1",
"model": "claude-sonnet-5",
"headers": [
[
"Authorization",
"Bearer client-key-1"
],
[
"Content-Type",
"application/json"
],
[
"Anthropic-Version",
"2023-06-01"
]
],
"body": "{\"model\": \"claude-sonnet-5\", \"max_tokens\": 2048, \"thinking\": {\"type\": \"adaptive\"}, \"system\": [{\"type\": \"text\", \"text\": \"Follow the house style.\"}], \"messages\": [{\"role\": \"user\", \"content\": \"Write a haiku about rivers\"}]}",
"stream": false,
"count": false,
"reply": {
"status": 200,
"content_type": "application/json",
"body": "{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-sonnet-4-6\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}",
"headers": [
[
"Request-Id",
"req_fixture_01"
]
]
},
"date": "2026-10-23",
"upstream": null,
"output": null,
"error": "invalid_request_error: role 'system' is not supported on this model. Model \"claude-sonnet-4-5\" predates mid-conversation system turns, so system instructions must stay in the top-level system field for it.",
"error_status": 400,
"error_info": {
"request_scoped": true,
"credential_scoped": false,
"retry_after": false,
"direct": false
}
},
{
"name": "payload-declassify-probe",
"config": "config-version: 8\naccess:\n api-keys: [client-key-1]\noauth:\n auth-dir: AUTH_DIR\nrequests:\n payload:\n override:\n - models:\n - name: claude-sonnet-4-6\n protocol: claude\n params:\n max_tokens: 64\n",
"auth_file": "{\"type\": \"claude\", \"access_token\": \"sk-ant-oat01-FAKE-LOCAL-ONLY\", \"refresh_token\": \"sk-ant-ort01-FAKE-LOCAL-ONLY\", \"id_token\": \"\", \"email\": \"fixture@example.invalid\", \"account_uuid\": \"aaaaaaaa-bbbb-4ccc-8ddd-eeeeeeeeeeee\", \"organization_uuid\": \"12345678-1234-4234-8234-123456789abc\", \"organization_name\": \"Fixture\", \"claude_device_ids\": [\"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\"], \"expired\": \"2099-01-01T00:00:00Z\", \"last_refresh\": \"2026-10-01T00:00:00Z\"}",
"client_key": "client-key-1",
"model": "claude-sonnet-4-6",
"headers": [
[
"Authorization",
"Bearer client-key-1"
],
[
"Content-Type",
"application/json"
],
[
"Anthropic-Version",
"2023-06-01"
]
],
"body": "{\"model\": \"claude-sonnet-4-6\", \"max_tokens\": 1, \"messages\": [{\"role\": \"user\", \"content\": \"quota\"}]}",
"stream": false,
"count": false,
"reply": {
"status": 200,
"content_type": "application/json",
"body": "{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-sonnet-4-6\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}",
"headers": [
[
"Request-Id",
"req_fixture_01"
]
]
},
"date": "2026-10-23",
"upstream": [
{
"url": "https://api.anthropic.com/v1/messages?beta=true",
"headers": [
[
"Accept",
"application/json"
],
[
"Accept-Encoding",
"gzip, deflate, br, zstd"
],
[
"Authorization",
"Bearer sk-ant-oat01-FAKE-LOCAL-ONLY"
],
[
"Connection",
"keep-alive"
],
[
"Content-Type",
"application/json"
],
[
"User-Agent",
"claude-cli/2.1.280 (external, cli)"
],
[
"X-Claude-Code-Session-Id",
"e9c7556c-d70e-54f3-86be-d6bdf2a4dc98"
],
[
"X-Stainless-Arch",
"arm64"
],
[
"X-Stainless-Lang",
"js"
],
[
"X-Stainless-OS",
"MacOS"
],
[
"X-Stainless-Package-Version",
"0.112.1"
],
[
"X-Stainless-Retry-Count",
"0"
],
[
"X-Stainless-Runtime",
"node"
],
[
"X-Stainless-Runtime-Version",
"v26.3.0"
],
[
"X-Stainless-Timeout",
"600"
],
[
"anthropic-beta",
"claude-code-20250219,oauth-2025-04-20,interleaved-thinking-2025-05-14,redact-thinking-2026-02-12,thinking-token-count-2026-05-13,context-management-2025-06-27,prompt-caching-scope-2026-01-05,effort-2025-11-24,extended-cache-ttl-2025-04-11"
],
[
"anthropic-dangerous-direct-browser-access",
"true"
],
[
"anthropic-version",
"2023-06-01"
],
[
"x-app",
"cli"
],
[
"x-client-request-id",
"2e1234a7-f78e-4a8f-bdd1-73bcaeef08a0"
]
],
"body": "{\"model\": \"claude-sonnet-4-6\", \"max_tokens\": 64, \"messages\": [{\"role\": \"user\", \"content\": [{\"type\":\"text\",\"text\":\"\u003csystem-reminder\u003e\\nAs you answer the user's questions, you can use the following context:\\n# currentDate\\nToday's date is 2026-10-23.\\n\\n IMPORTANT: this context may or may not be relevant to your tasks. You should not respond to this context unless it is highly relevant to your task.\\n\u003c/system-reminder\u003e\\n\\n\"},{\"type\":\"text\",\"text\":\"quota\",\"cache_control\":{\"type\":\"ephemeral\"}}]}],\"system\":[{\"type\":\"text\",\"text\":\"x-anthropic-billing-header: cc_version=2.1.280.608; cc_entrypoint=cli; cch=bec3f;\"},{\"type\":\"text\",\"text\":\"You are Claude Code, Anthropic's official CLI for Claude.\",\"cache_control\":{\"type\":\"ephemeral\"}}],\"stream\":false,\"metadata\":{\"user_id\":\"{\\\"device_id\\\":\\\"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\\\",\\\"account_uuid\\\":\\\"aaaaaaaa-bbbb-4ccc-8ddd-eeeeeeeeeeee\\\",\\\"session_id\\\":\\\"e9c7556c-d70e-54f3-86be-d6bdf2a4dc98\\\"}\"}}",
"reply": "{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-sonnet-4-6\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}"
}
],
"output": [
"{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-sonnet-4-6\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}"
]
},
{
"name": "payload-make-probe-fable",
"config": "config-version: 8\naccess:\n api-keys: [client-key-1]\noauth:\n auth-dir: AUTH_DIR\nrequests:\n payload:\n override:\n - models:\n - name: claude-fable-5-1\n protocol: claude\n params:\n max_tokens: 1\n",
"auth_file": "{\"type\": \"claude\", \"access_token\": \"sk-ant-oat01-FAKE-LOCAL-ONLY\", \"refresh_token\": \"sk-ant-ort01-FAKE-LOCAL-ONLY\", \"id_token\": \"\", \"email\": \"fixture@example.invalid\", \"account_uuid\": \"aaaaaaaa-bbbb-4ccc-8ddd-eeeeeeeeeeee\", \"organization_uuid\": \"12345678-1234-4234-8234-123456789abc\", \"organization_name\": \"Fixture\", \"claude_device_ids\": [\"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\"], \"expired\": \"2099-01-01T00:00:00Z\", \"last_refresh\": \"2026-10-01T00:00:00Z\"}",
"client_key": "client-key-1",
"model": "claude-fable-5-1",
"headers": [
[
"Authorization",
"Bearer client-key-1"
],
[
"Content-Type",
"application/json"
],
[
"Anthropic-Version",
"2023-06-01"
]
],
"body": "{\"model\": \"claude-fable-5-1\", \"max_tokens\": 4096, \"thinking\": {\"type\": \"adaptive\"}, \"messages\": [{\"role\": \"user\", \"content\": \"quota\"}]}",
"stream": false,
"count": false,
"reply": {
"status": 200,
"content_type": "application/json",
"body": "{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-sonnet-4-6\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}",
"headers": [
[
"Request-Id",
"req_fixture_01"
]
]
},
"date": "2026-10-23",
"upstream": [
{
"url": "https://api.anthropic.com/v1/messages?beta=true",
"headers": [
[
"Accept",
"application/json"
],
[
"Accept-Encoding",
"gzip, deflate, br, zstd"
],
[
"Authorization",
"Bearer sk-ant-oat01-FAKE-LOCAL-ONLY"
],
[
"Connection",
"keep-alive"
],
[
"Content-Type",
"application/json"
],
[
"User-Agent",
"claude-cli/2.1.280 (external, cli)"
],
[
"X-Claude-Code-Session-Id",
"e9c7556c-d70e-54f3-86be-d6bdf2a4dc98"
],
[
"X-Stainless-Arch",
"arm64"
],
[
"X-Stainless-Lang",
"js"
],
[
"X-Stainless-OS",
"MacOS"
],
[
"X-Stainless-Package-Version",
"0.112.1"
],
[
"X-Stainless-Retry-Count",
"0"
],
[
"X-Stainless-Runtime",
"node"
],
[
"X-Stainless-Runtime-Version",
"v26.3.0"
],
[
"X-Stainless-Timeout",
"600"
],
[
"anthropic-beta",
"claude-code-20250219,oauth-2025-04-20,interleaved-thinking-2025-05-14,thinking-token-count-2026-05-13,context-management-2025-06-27,prompt-caching-scope-2026-01-05,mid-conversation-system-2026-04-07,per-turn-control-2026-07-01,mid-conversation-tool-changes-2026-07-01,mid-conversation-system-clear-at-2026-08-21,fallback-credit-2026-06-01,thinking-binding-controls-2026-08-01,cache-diagnosis-2026-04-07"
],
[
"anthropic-dangerous-direct-browser-access",
"true"
],
[
"anthropic-version",
"2023-06-01"
],
[
"x-app",
"cli"
],
[
"x-client-request-id",
"c5aef10f-13d9-4376-a970-73396b0d0405"
]
],
"body": "{\"model\": \"claude-fable-5-1\", \"max_tokens\": 1, \"thinking\": {\"type\": \"adaptive\",\"display\":\"updates\"}, \"messages\": [{\"role\": \"user\", \"content\": [{\"type\":\"text\",\"text\":\"\u003csystem-reminder\u003e\\nAs you answer the user's questions, you can use the following context:\\n# currentDate\\nToday's date is 2026-10-23.\\n\\n IMPORTANT: this context may or may not be relevant to your tasks. You should not respond to this context unless it is highly relevant to your task.\\n\u003c/system-reminder\u003e\\n\\n\"},{\"type\":\"text\",\"text\":\"quota\",\"cache_control\":{\"type\":\"ephemeral\",\"ttl\":\"1h\"}}]}],\"system\":[{\"type\":\"text\",\"text\":\"x-anthropic-billing-header: cc_version=2.1.280.608; cc_entrypoint=cli; cch=635d7; cc_prompt_id=8ed8301b-6662-4c77-9d7c-7158763a5e6a; cc_turn_origin=human;\"},{\"type\":\"text\",\"text\":\"You are Claude Code, Anthropic's official CLI for Claude.\",\"cache_control\":{\"type\":\"ephemeral\",\"ttl\":\"1h\"}},{\"type\":\"text\",\"text\":\"# Reporting outcomes\\n\\nReport what actually happened, not what you intended. When you say something is done, sent, saved, fixed, or verified, that claim must rest on a result you observed in this session — tool output, the file as it now reads, the page as it now loads — not on what the step should have produced. If you did not check, say you did not check. If any step failed, was skipped, or came back different from what you expected, say so in the first sentence of your report, before anything else, even when the rest of the work succeeded. Never quietly work around a failure in a way that makes it look resolved; a problem the user can see is recoverable, one your summary hides is not. When you stop before the task is complete, your first line says so plainly and names what is left. Do not describe partial work as done, and do not let a summary read as more certain than the evidence behind it.\"}],\"fallbacks\":[{\"model\":\"claude-opus-5\"}],\"context_management\":{\"edits\":[{\"type\":\"clear_thinking_20251015\",\"keep\":\"all\"}]},\"diagnostics\":{\"previous_message_id\":null},\"stream\":false,\"metadata\":{\"user_id\":\"{\\\"device_id\\\":\\\"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\\\",\\\"account_uuid\\\":\\\"aaaaaaaa-bbbb-4ccc-8ddd-eeeeeeeeeeee\\\",\\\"session_id\\\":\\\"e9c7556c-d70e-54f3-86be-d6bdf2a4dc98\\\"}\"}}",
"reply": "{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-sonnet-4-6\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}"
}
],
"output": [
"{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-sonnet-4-6\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}"
]
},
{
"name": "payload-default-reads-original",
"config": "config-version: 8\naccess:\n api-keys: [client-key-1]\noauth:\n auth-dir: AUTH_DIR\nrequests:\n payload:\n default-raw:\n - models:\n - name: claude-sonnet-4-6\n protocol: claude\n params:\n diagnostics: '{\"previous_message_id\":\"msg_rule\"}'\n context_management: '{\"edits\":[]}'\n",
"auth_file": "{\"type\": \"claude\", \"access_token\": \"sk-ant-oat01-FAKE-LOCAL-ONLY\", \"refresh_token\": \"sk-ant-ort01-FAKE-LOCAL-ONLY\", \"id_token\": \"\", \"email\": \"fixture@example.invalid\", \"account_uuid\": \"aaaaaaaa-bbbb-4ccc-8ddd-eeeeeeeeeeee\", \"organization_uuid\": \"12345678-1234-4234-8234-123456789abc\", \"organization_name\": \"Fixture\", \"claude_device_ids\": [\"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\"], \"expired\": \"2099-01-01T00:00:00Z\", \"last_refresh\": \"2026-10-01T00:00:00Z\"}",
"client_key": "client-key-1",
"model": "claude-sonnet-4-6",
"headers": [
[
"Authorization",
"Bearer client-key-1"
],
[
"Content-Type",
"application/json"
],
[
"Anthropic-Version",
"2023-06-01"
]
],
"body": "{\"model\": \"claude-sonnet-4-6\", \"max_tokens\": 256, \"messages\": [{\"role\": \"user\", \"content\": \"Name three rivers in Europe\"}]}",
"stream": false,
"count": false,
"reply": {
"status": 200,
"content_type": "application/json",
"body": "{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-sonnet-4-6\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}",
"headers": [
[
"Request-Id",
"req_fixture_01"
]
]
},
"date": "2026-10-23",
"upstream": [
{
"url": "https://api.anthropic.com/v1/messages?beta=true",
"headers": [
[
"Accept",
"application/json"
],
[
"Accept-Encoding",
"gzip, deflate, br, zstd"
],
[
"Authorization",
"Bearer sk-ant-oat01-FAKE-LOCAL-ONLY"
],
[
"Connection",
"keep-alive"
],
[
"Content-Type",
"application/json"
],
[
"User-Agent",
"claude-cli/2.1.280 (external, cli)"
],
[
"X-Claude-Code-Session-Id",
"0aa5efb4-9c90-52fa-bed6-b664cde28b1f"
],
[
"X-Stainless-Arch",
"arm64"
],
[
"X-Stainless-Lang",
"js"
],
[
"X-Stainless-OS",
"MacOS"
],
[
"X-Stainless-Package-Version",
"0.112.1"
],
[
"X-Stainless-Retry-Count",
"0"
],
[
"X-Stainless-Runtime",
"node"
],
[
"X-Stainless-Runtime-Version",
"v26.3.0"
],
[
"X-Stainless-Timeout",
"600"
],
[
"anthropic-beta",
"claude-code-20250219,oauth-2025-04-20,interleaved-thinking-2025-05-14,redact-thinking-2026-02-12,thinking-token-count-2026-05-13,context-management-2025-06-27,prompt-caching-scope-2026-01-05,effort-2025-11-24,extended-cache-ttl-2025-04-11,cache-diagnosis-2026-04-07"
],
[
"anthropic-dangerous-direct-browser-access",
"true"
],
[
"anthropic-version",
"2023-06-01"
],
[
"x-app",
"cli"
],
[
"x-client-request-id",
"2714485a-45fa-4eaf-9899-215e47bff738"
]
],
"body": "{\"model\": \"claude-sonnet-4-6\", \"max_tokens\": 256, \"messages\": [{\"role\": \"user\", \"content\": [{\"type\":\"text\",\"text\":\"\u003csystem-reminder\u003e\\nAs you answer the user's questions, you can use the following context:\\n# currentDate\\nToday's date is 2026-10-23.\\n\\n IMPORTANT: this context may or may not be relevant to your tasks. You should not respond to this context unless it is highly relevant to your task.\\n\u003c/system-reminder\u003e\\n\\n\"},{\"type\":\"text\",\"text\":\"Name three rivers in Europe\",\"cache_control\":{\"type\":\"ephemeral\",\"ttl\":\"1h\"}}]}],\"system\":[{\"type\":\"text\",\"text\":\"x-anthropic-billing-header: cc_version=2.1.280.2bb; cc_entrypoint=cli; cch=015c8; cc_prompt_id=ba383891-1da5-40c9-ac53-e8d9cdf61284; cc_turn_origin=human;\"},{\"type\":\"text\",\"text\":\"You are Claude Code, Anthropic's official CLI for Claude.\",\"cache_control\":{\"type\":\"ephemeral\",\"ttl\":\"1h\"}}],\"diagnostics\":{\"previous_message_id\":\"msg_rule\"},\"stream\":false,\"metadata\":{\"user_id\":\"{\\\"device_id\\\":\\\"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\\\",\\\"account_uuid\\\":\\\"aaaaaaaa-bbbb-4ccc-8ddd-eeeeeeeeeeee\\\",\\\"session_id\\\":\\\"0aa5efb4-9c90-52fa-bed6-b664cde28b1f\\\"}\"},\"context_management\":{\"edits\":[]}}",
"reply": "{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-sonnet-4-6\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}"
}
],
"output": [
"{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-sonnet-4-6\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}"
]
},
{
"name": "payload-filter-fable",
"config": "config-version: 8\naccess:\n api-keys: [client-key-1]\noauth:\n auth-dir: AUTH_DIR\nrequests:\n payload:\n filter:\n - models:\n - name: claude-fable-5-1\n protocol: claude\n params:\n - fallbacks\n - thinking.display\n",
"auth_file": "{\"type\": \"claude\", \"access_token\": \"sk-ant-oat01-FAKE-LOCAL-ONLY\", \"refresh_token\": \"sk-ant-ort01-FAKE-LOCAL-ONLY\", \"id_token\": \"\", \"email\": \"fixture@example.invalid\", \"account_uuid\": \"aaaaaaaa-bbbb-4ccc-8ddd-eeeeeeeeeeee\", \"organization_uuid\": \"12345678-1234-4234-8234-123456789abc\", \"organization_name\": \"Fixture\", \"claude_device_ids\": [\"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\"], \"expired\": \"2099-01-01T00:00:00Z\", \"last_refresh\": \"2026-10-01T00:00:00Z\"}",
"client_key": "client-key-1",
"model": "claude-fable-5-1",
"headers": [
[
"Authorization",
"Bearer client-key-1"
],
[
"Content-Type",
"application/json"
],
[
"Anthropic-Version",
"2023-06-01"
]
],
"body": "{\"model\": \"claude-fable-5-1\", \"max_tokens\": 4096, \"thinking\": {\"type\": \"adaptive\"}, \"messages\": [{\"role\": \"user\", \"content\": \"Plan the migration in three steps\"}]}",
"stream": false,
"count": false,
"reply": {
"status": 200,
"content_type": "application/json",
"body": "{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-sonnet-4-6\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}",
"headers": [
[
"Request-Id",
"req_fixture_01"
]
]
},
"date": "2026-10-23",
"upstream": [
{
"url": "https://api.anthropic.com/v1/messages?beta=true",
"headers": [
[
"Accept",
"application/json"
],
[
"Accept-Encoding",
"gzip, deflate, br, zstd"
],
[
"Authorization",
"Bearer sk-ant-oat01-FAKE-LOCAL-ONLY"
],
[
"Connection",
"keep-alive"
],
[
"Content-Type",
"application/json"
],
[
"User-Agent",
"claude-cli/2.1.280 (external, cli)"
],
[
"X-Claude-Code-Session-Id",
"f2e78aa8-b86b-53e0-a16d-1e7d139b64de"
],
[
"X-Stainless-Arch",
"arm64"
],
[
"X-Stainless-Lang",
"js"
],
[
"X-Stainless-OS",
"MacOS"
],
[
"X-Stainless-Package-Version",
"0.112.1"
],
[
"X-Stainless-Retry-Count",
"0"
],
[
"X-Stainless-Runtime",
"node"
],
[
"X-Stainless-Runtime-Version",
"v26.3.0"
],
[
"X-Stainless-Timeout",
"600"
],
[
"anthropic-beta",
"claude-code-20250219,oauth-2025-04-20,interleaved-thinking-2025-05-14,redact-thinking-2026-02-12,thinking-token-count-2026-05-13,context-management-2025-06-27,prompt-caching-scope-2026-01-05,mid-conversation-system-2026-04-07,per-turn-control-2026-07-01,mid-conversation-tool-changes-2026-07-01,mid-conversation-system-clear-at-2026-08-21,effort-2025-11-24,thinking-binding-controls-2026-08-01,extended-cache-ttl-2025-04-11,cache-diagnosis-2026-04-07"
],
[
"anthropic-dangerous-direct-browser-access",
"true"
],
[
"anthropic-version",
"2023-06-01"
],
[
"x-app",
"cli"
],
[
"x-client-request-id",
"eded9f45-a41e-4002-aab5-ae697c7593d3"
]
],
"body": "{\"model\": \"claude-fable-5-1\", \"max_tokens\": 4096, \"thinking\": {\"type\": \"adaptive\"}, \"messages\": [{\"role\": \"user\", \"content\": [{\"type\":\"text\",\"text\":\"\u003csystem-reminder\u003e\\nAs you answer the user's questions, you can use the following context:\\n# currentDate\\nToday's date is 2026-10-23.\\n\\n IMPORTANT: this context may or may not be relevant to your tasks. You should not respond to this context unless it is highly relevant to your task.\\n\u003c/system-reminder\u003e\\n\\n\"},{\"type\":\"text\",\"text\":\"Plan the migration in three steps\",\"cache_control\":{\"type\":\"ephemeral\",\"ttl\":\"1h\"}}]}],\"system\":[{\"type\":\"text\",\"text\":\"x-anthropic-billing-header: cc_version=2.1.280.615; cc_entrypoint=cli; cch=ffff5; cc_prompt_id=736c394d-3071-45ea-96b4-91ec129899b0; cc_turn_origin=human;\"},{\"type\":\"text\",\"text\":\"You are Claude Code, Anthropic's official CLI for Claude.\",\"cache_control\":{\"type\":\"ephemeral\",\"ttl\":\"1h\"}},{\"type\":\"text\",\"text\":\"# Reporting outcomes\\n\\nReport what actually happened, not what you intended. When you say something is done, sent, saved, fixed, or verified, that claim must rest on a result you observed in this session — tool output, the file as it now reads, the page as it now loads — not on what the step should have produced. If you did not check, say you did not check. If any step failed, was skipped, or came back different from what you expected, say so in the first sentence of your report, before anything else, even when the rest of the work succeeded. Never quietly work around a failure in a way that makes it look resolved; a problem the user can see is recoverable, one your summary hides is not. When you stop before the task is complete, your first line says so plainly and names what is left. Do not describe partial work as done, and do not let a summary read as more certain than the evidence behind it.\"}],\"context_management\":{\"edits\":[{\"type\":\"clear_thinking_20251015\",\"keep\":\"all\"}]},\"diagnostics\":{\"previous_message_id\":null},\"stream\":false,\"metadata\":{\"user_id\":\"{\\\"device_id\\\":\\\"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\\\",\\\"account_uuid\\\":\\\"aaaaaaaa-bbbb-4ccc-8ddd-eeeeeeeeeeee\\\",\\\"session_id\\\":\\\"f2e78aa8-b86b-53e0-a16d-1e7d139b64de\\\"}\"}}",
"reply": "{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-sonnet-4-6\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}"
}
],
"output": [
"{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-sonnet-4-6\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}"
]
},
{
"name": "payload-count-upstream",
"config": "config-version: 8\naccess:\n api-keys: [client-key-1]\noauth:\n auth-dir: AUTH_DIR\nrequests:\n payload:\n override:\n - models:\n - name: claude-opus-5-5\n protocol: claude\n params:\n system: Configured count system\n default-raw:\n - models:\n - name: claude-opus-5-5\n protocol: claude\n params:\n diagnostics: '{\"rule\":true}'\n filter:\n - models:\n - name: claude-opus-5-5\n protocol: claude\n params:\n - tools.1\n",
"auth_file": "{\"type\": \"claude\", \"access_token\": \"sk-ant-oat01-FAKE-LOCAL-ONLY\", \"refresh_token\": \"sk-ant-ort01-FAKE-LOCAL-ONLY\", \"id_token\": \"\", \"email\": \"fixture@example.invalid\", \"account_uuid\": \"aaaaaaaa-bbbb-4ccc-8ddd-eeeeeeeeeeee\", \"organization_uuid\": \"12345678-1234-4234-8234-123456789abc\", \"organization_name\": \"Fixture\", \"claude_device_ids\": [\"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\"], \"expired\": \"2099-01-01T00:00:00Z\", \"last_refresh\": \"2026-10-01T00:00:00Z\"}",
"client_key": "client-key-1",
"model": "claude-opus-5-5",
"headers": [
[
"Authorization",
"Bearer client-key-1"
],
[
"Content-Type",
"application/json"
],
[
"Anthropic-Version",
"2023-06-01"
]
],
"body": "{\"model\": \"claude-opus-5-5\", \"system\": [{\"type\": \"text\", \"text\": \"Count rules\"}], \"tools\": [{\"name\": \"lookup\", \"description\": \"Look things up\", \"input_schema\": {\"type\": \"object\", \"properties\": {\"q\": {\"type\": \"string\"}}}}, {\"type\": \"web_search_20250305\", \"name\": \"web_search\", \"allowed_domains\": [], \"max_uses\": 2}], \"metadata\": {\"user_id\": \"x\"}, \"messages\": [{\"role\": \"user\", \"content\": \"count me\"}]}",
"stream": false,
"count": true,
"reply": {
"status": 200,
"content_type": "application/json",
"body": "{\"input_tokens\":42}",
"headers": [
[
"Request-Id",
"req_fixture_01"
]
]
},
"date": "2026-10-23",
"upstream": [
{
"url": "https://api.anthropic.com/v1/messages/count_tokens?beta=true",
"headers": [
[
"Accept",
"application/json"
],
[
"Accept-Encoding",
"gzip, deflate, br, zstd"
],
[
"Authorization",
"Bearer sk-ant-oat01-FAKE-LOCAL-ONLY"
],
[
"Connection",
"keep-alive"
],
[
"Content-Type",
"application/json"
],
[
"User-Agent",
"claude-cli/2.1.280 (external, cli)"
],
[
"X-Claude-Code-Session-Id",
"601fd7ae-eed7-547c-b276-3feadd020353"
],
[
"X-Stainless-Arch",
"arm64"
],
[
"X-Stainless-Lang",
"js"
],
[
"X-Stainless-OS",
"MacOS"
],
[
"X-Stainless-Package-Version",
"0.112.1"
],
[
"X-Stainless-Retry-Count",
"0"
],
[
"X-Stainless-Runtime",
"node"
],
[
"X-Stainless-Runtime-Version",
"v26.3.0"
],
[
"anthropic-beta",
"claude-code-20250219,oauth-2025-04-20,interleaved-thinking-2025-05-14,context-management-2025-06-27,token-counting-2024-11-01"
],
[
"anthropic-dangerous-direct-browser-access",
"true"
],
[
"anthropic-version",
"2023-06-01"
],
[
"x-app",
"cli"
],
[
"x-client-request-id",
"7c6e8c53-6eca-455a-aa0c-a359f8eedb98"
]
],
"body": "{\"model\": \"claude-opus-5-5\", \"tools\": [{\"name\": \"mcp__private_pattern__bunker_lookup\", \"description\": \"Look things up\", \"input_schema\": {\"type\": \"object\", \"properties\": {\"q\": {\"type\": \"string\"}}}}], \"messages\": [{\"role\": \"user\", \"content\": \"count me\"},{\"role\":\"system\",\"content\":[{\"type\":\"text\",\"text\":\"Count rules\",\"cache_control\":{\"type\":\"ephemeral\"}}]}],\"diagnostics\":{\"rule\":true},\"system\":\"Configured count system\"}",
"reply": "{\"input_tokens\":42}"
}
],
"output": [
"{\"input_tokens\":42}"
]
},
{
"name": "payload-count-local",
"config": "config-version: 8\naccess:\n api-keys: [client-key-1]\noauth:\n auth-dir: AUTH_DIR\napi-keys:\n claude:\n - base-url: http://gateway.invalid\n keys:\n - api-key: gw-FAKE-KEY\n fingerprint-profile: claude-code-cli\n headers:\n X-Team: alpha\n X-Echo: $X-Source\nrequests:\n payload:\n override:\n - models:\n - name: claude-opus-5-5\n protocol: claude\n params:\n system: Configured count system\n default-raw:\n - models:\n - name: claude-opus-5-5\n protocol: claude\n params:\n diagnostics: '{\"rule\":true}'\n filter:\n - models:\n - name: claude-opus-5-5\n protocol: claude\n params:\n - tools.1\n",
"client_key": "client-key-1",
"model": "claude-opus-5-5",
"headers": [
[
"Authorization",
"Bearer client-key-1"
],
[
"Content-Type",
"application/json"
],
[
"Anthropic-Version",
"2023-06-01"
]
],
"body": "{\"model\": \"claude-opus-5-5\", \"system\": [{\"type\": \"text\", \"text\": \"Count rules\"}], \"tools\": [{\"name\": \"lookup\", \"description\": \"Look things up\", \"input_schema\": {\"type\": \"object\", \"properties\": {\"q\": {\"type\": \"string\"}}}}, {\"type\": \"web_search_20250305\", \"name\": \"web_search\", \"allowed_domains\": [], \"max_uses\": 2}], \"metadata\": {\"user_id\": \"x\"}, \"messages\": [{\"role\": \"user\", \"content\": \"count me\"}]}",
"stream": false,
"count": true,
"reply": {
"status": 200,
"content_type": "application/json",
"body": "{\"input_tokens\":42}",
"headers": [
[
"Request-Id",
"req_fixture_01"
]
]
},
"date": "2026-10-23",
"upstream": null,
"output": [
"{\"input_tokens\":29}"
]
},
{
"name": "noroles-quota-probe-with-system",
"config": "config-version: 8\naccess:\n api-keys: [client-key-1]\noauth:\n auth-dir: AUTH_DIR\n",
"auth_file": "{\"type\": \"claude\", \"access_token\": \"sk-ant-oat01-FAKE-LOCAL-ONLY\", \"refresh_token\": \"sk-ant-ort01-FAKE-LOCAL-ONLY\", \"id_token\": \"\", \"email\": \"fixture@example.invalid\", \"account_uuid\": \"aaaaaaaa-bbbb-4ccc-8ddd-eeeeeeeeeeee\", \"organization_uuid\": \"12345678-1234-4234-8234-123456789abc\", \"organization_name\": \"Fixture\", \"claude_device_ids\": [\"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\"], \"expired\": \"2099-01-01T00:00:00Z\", \"last_refresh\": \"2026-10-01T00:00:00Z\"}",
"client_key": "client-key-1",
"model": "claude-opus-5-5",
"headers": [
[
"Authorization",
"Bearer client-key-1"
],
[
"Content-Type",
"application/json"
],
[
"Anthropic-Version",
"2023-06-01"
]
],
"body": "{\"model\": \"claude-opus-5-5\", \"max_tokens\": 1, \"system\": \"You are terse.\", \"messages\": [{\"role\": \"user\", \"content\": \"quota\"}]}",
"stream": false,
"count": false,
"reply": {
"status": 200,
"content_type": "application/json",
"body": "{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-sonnet-4-6\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}",
"headers": [
[
"Request-Id",
"req_fixture_01"
]
]
},
"date": "2026-10-23",
"upstream": [
{
"url": "https://api.anthropic.com/v1/messages?beta=true",
"headers": [
[
"Accept",
"application/json"
],
[
"Accept-Encoding",
"gzip, deflate, br, zstd"
],
[
"Authorization",
"Bearer sk-ant-oat01-FAKE-LOCAL-ONLY"
],
[
"Connection",
"keep-alive"
],
[
"Content-Type",
"application/json"
],
[
"User-Agent",
"claude-cli/2.1.280 (external, cli)"
],
[
"X-Claude-Code-Session-Id",
"7a03b7db-32fe-520c-8ac1-8e8d0a4d8138"
],
[
"X-Stainless-Arch",
"arm64"
],
[
"X-Stainless-Lang",
"js"
],
[
"X-Stainless-OS",
"MacOS"
],
[
"X-Stainless-Package-Version",
"0.112.1"
],
[
"X-Stainless-Retry-Count",
"0"
],
[
"X-Stainless-Runtime",
"node"
],
[
"X-Stainless-Runtime-Version",
"v26.3.0"
],
[
"X-Stainless-Timeout",
"600"
],
[
"anthropic-beta",
"claude-code-20250219,oauth-2025-04-20,interleaved-thinking-2025-05-14,redact-thinking-2026-02-12,thinking-token-count-2026-05-13,context-management-2025-06-27,prompt-caching-scope-2026-01-05,mid-conversation-system-2026-04-07,per-turn-control-2026-07-01,mid-conversation-tool-changes-2026-07-01,mid-conversation-system-clear-at-2026-08-21,effort-2025-11-24,extended-cache-ttl-2025-04-11"
],
[
"anthropic-dangerous-direct-browser-access",
"true"
],
[
"anthropic-version",
"2023-06-01"
],
[
"x-app",
"cli"
],
[
"x-client-request-id",
"72baa170-b566-4497-9e8c-074231ad3657"
]
],
"body": "{\"model\": \"claude-opus-5-5\", \"max_tokens\": 1, \"system\": [{\"type\":\"text\",\"text\":\"x-anthropic-billing-header: cc_version=2.1.280.608; cc_entrypoint=cli; cch=afa71;\"},{\"type\":\"text\",\"text\":\"You are Claude Code, Anthropic's official CLI for Claude.\",\"cache_control\":{\"type\":\"ephemeral\"}}], \"messages\": [{\"role\": \"user\", \"content\": [{\"type\":\"text\",\"text\":\"\u003csystem-reminder\u003e\\nAs you answer the user's questions, you can use the following context:\\n# currentDate\\nToday's date is 2026-10-23.\\n\\n IMPORTANT: this context may or may not be relevant to your tasks. You should not respond to this context unless it is highly relevant to your task.\\n\u003c/system-reminder\u003e\\n\\n\"},{\"type\":\"text\",\"text\":\"quota\",\"cache_control\":{\"type\":\"ephemeral\"}}]},{\"role\":\"system\",\"content\":[{\"type\":\"text\",\"text\":\"You are terse.\",\"cache_control\":{\"type\":\"ephemeral\"}}]}],\"stream\":false,\"metadata\":{\"user_id\":\"{\\\"device_id\\\":\\\"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\\\",\\\"account_uuid\\\":\\\"aaaaaaaa-bbbb-4ccc-8ddd-eeeeeeeeeeee\\\",\\\"session_id\\\":\\\"7a03b7db-32fe-520c-8ac1-8e8d0a4d8138\\\"}\"}}",
"reply": "{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-sonnet-4-6\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}"
}
],
"output": [
"{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-sonnet-4-6\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}"
]
},
{
"name": "noroles-legacy-title-helper",
"config": "config-version: 8\naccess:\n api-keys: [client-key-1]\noauth:\n auth-dir: AUTH_DIR\n",
"auth_file": "{\"type\": \"claude\", \"access_token\": \"sk-ant-oat01-FAKE-LOCAL-ONLY\", \"refresh_token\": \"sk-ant-ort01-FAKE-LOCAL-ONLY\", \"id_token\": \"\", \"email\": \"fixture@example.invalid\", \"account_uuid\": \"aaaaaaaa-bbbb-4ccc-8ddd-eeeeeeeeeeee\", \"organization_uuid\": \"12345678-1234-4234-8234-123456789abc\", \"organization_name\": \"Fixture\", \"claude_device_ids\": [\"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\"], \"expired\": \"2099-01-01T00:00:00Z\", \"last_refresh\": \"2026-10-01T00:00:00Z\"}",
"client_key": "client-key-1",
"model": "claude-sonnet-4-5",
"headers": [
[
"Authorization",
"Bearer client-key-1"
],
[
"Content-Type",
"application/json"
],
[
"Anthropic-Version",
"2023-06-01"
]
],
"body": "{\"model\": \"claude-sonnet-4-5\", \"max_tokens\": 64, \"system\": \"Return a short title for this coding session.\", \"messages\": [{\"role\": \"user\", \"content\": \"Fix the login bug\"}]}",
"stream": false,
"count": false,
"reply": {
"status": 200,
"content_type": "application/json",
"body": "{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-sonnet-4-6\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}",
"headers": [
[
"Request-Id",
"req_fixture_01"
]
]
},
"date": "2026-10-23",
"upstream": [
{
"url": "https://api.anthropic.com/v1/messages?beta=true",
"headers": [
[
"Accept",
"application/json"
],
[
"Accept-Encoding",
"gzip, deflate, br, zstd"
],
[
"Authorization",
"Bearer sk-ant-oat01-FAKE-LOCAL-ONLY"
],
[
"Connection",
"keep-alive"
],
[
"Content-Type",
"application/json"
],
[
"User-Agent",
"claude-cli/2.1.280 (external, cli)"
],
[
"X-Claude-Code-Session-Id",
"41e0c803-3af2-5c2c-90e0-4cdeaa266650"
],
[
"X-Stainless-Arch",
"arm64"
],
[
"X-Stainless-Lang",
"js"
],
[
"X-Stainless-OS",
"MacOS"
],
[
"X-Stainless-Package-Version",
"0.112.1"
],
[
"X-Stainless-Retry-Count",
"0"
],
[
"X-Stainless-Runtime",
"node"
],
[
"X-Stainless-Runtime-Version",
"v26.3.0"
],
[
"X-Stainless-Timeout",
"600"
],
[
"anthropic-beta",
"claude-code-20250219,oauth-2025-04-20,interleaved-thinking-2025-05-14,redact-thinking-2026-02-12,thinking-token-count-2026-05-13,context-management-2025-06-27,prompt-caching-scope-2026-01-05,effort-2025-11-24,extended-cache-ttl-2025-04-11"
],
[
"anthropic-dangerous-direct-browser-access",
"true"
],
[
"anthropic-version",
"2023-06-01"
],
[
"x-app",
"cli"
],
[
"x-client-request-id",
"242f85b0-167d-4242-8216-bc28e0ee95c7"
]
],
"body": "{\"model\": \"claude-sonnet-4-5\", \"max_tokens\": 64, \"system\": [{\"type\":\"text\",\"text\":\"x-anthropic-billing-header: cc_version=2.1.280.180; cc_entrypoint=cli; cch=fa2c5;\"},{\"type\":\"text\",\"text\":\"You are Claude Code, Anthropic's official CLI for Claude.\",\"cache_control\":{\"type\":\"ephemeral\"}}], \"messages\": [{\"role\": \"user\", \"content\": [{\"type\":\"text\",\"text\":\"\u003csystem-reminder\u003e\\nAs you answer the user's questions, you can use the following context:\\n# currentDate\\nToday's date is 2026-10-23.\\n\\n IMPORTANT: this context may or may not be relevant to your tasks. You should not respond to this context unless it is highly relevant to your task.\\n\u003c/system-reminder\u003e\\n\\n\"},{\"type\":\"text\",\"text\":\"\u003csystem-reminder\u003e\\nReturn a short title for this coding session.\\n\u003c/system-reminder\u003e\"},{\"type\":\"text\",\"text\":\"Fix the login bug\",\"cache_control\":{\"type\":\"ephemeral\"}}]}],\"stream\":false,\"metadata\":{\"user_id\":\"{\\\"device_id\\\":\\\"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\\\",\\\"account_uuid\\\":\\\"aaaaaaaa-bbbb-4ccc-8ddd-eeeeeeeeeeee\\\",\\\"session_id\\\":\\\"41e0c803-3af2-5c2c-90e0-4cdeaa266650\\\"}\"}}",
"reply": "{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-sonnet-4-6\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}"
}
],
"output": [
"{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-sonnet-4-6\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}"
]
},
{
"name": "noroles-hi-becomes-probe",
"config": "config-version: 8\naccess:\n api-keys: [client-key-1]\noauth:\n auth-dir: AUTH_DIR\n",
"auth_file": "{\"type\": \"claude\", \"access_token\": \"sk-ant-oat01-FAKE-LOCAL-ONLY\", \"refresh_token\": \"sk-ant-ort01-FAKE-LOCAL-ONLY\", \"id_token\": \"\", \"email\": \"fixture@example.invalid\", \"account_uuid\": \"aaaaaaaa-bbbb-4ccc-8ddd-eeeeeeeeeeee\", \"organization_uuid\": \"12345678-1234-4234-8234-123456789abc\", \"organization_name\": \"Fixture\", \"claude_device_ids\": [\"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\"], \"expired\": \"2099-01-01T00:00:00Z\", \"last_refresh\": \"2026-10-01T00:00:00Z\"}",
"client_key": "client-key-1",
"model": "claude-sonnet-4-6",
"headers": [
[
"Authorization",
"Bearer client-key-1"
],
[
"Content-Type",
"application/json"
],
[
"Anthropic-Version",
"2023-06-01"
]
],
"body": "{\"model\": \"claude-sonnet-4-6\", \"max_tokens\": 1, \"messages\": [{\"role\": \"user\", \"content\": \"Hi\"}]}",
"stream": false,
"count": false,
"reply": {
"status": 200,
"content_type": "application/json",
"body": "{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-sonnet-4-6\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}",
"headers": [
[
"Request-Id",
"req_fixture_01"
]
]
},
"date": "2026-10-23",
"upstream": [
{
"url": "https://api.anthropic.com/v1/messages?beta=true",
"headers": [
[
"Accept",
"application/json"
],
[
"Accept-Encoding",
"gzip, deflate, br, zstd"
],
[
"Authorization",
"Bearer sk-ant-oat01-FAKE-LOCAL-ONLY"
],
[
"Connection",
"keep-alive"
],
[
"Content-Type",
"application/json"
],
[
"User-Agent",
"claude-cli/2.1.280 (external, cli)"
],
[
"X-Claude-Code-Session-Id",
"69996bfa-aefa-508c-a537-793ca55733de"
],
[
"X-Stainless-Arch",
"arm64"
],
[
"X-Stainless-Lang",
"js"
],
[
"X-Stainless-OS",
"MacOS"
],
[
"X-Stainless-Package-Version",
"0.112.1"
],
[
"X-Stainless-Retry-Count",
"0"
],
[
"X-Stainless-Runtime",
"node"
],
[
"X-Stainless-Runtime-Version",
"v26.3.0"
],
[
"X-Stainless-Timeout",
"600"
],
[
"anthropic-beta",
"claude-code-20250219,oauth-2025-04-20,interleaved-thinking-2025-05-14,redact-thinking-2026-02-12,thinking-token-count-2026-05-13,context-management-2025-06-27,prompt-caching-scope-2026-01-05"
],
[
"anthropic-dangerous-direct-browser-access",
"true"
],
[
"anthropic-version",
"2023-06-01"
],
[
"x-app",
"cli"
],
[
"x-client-request-id",
"d04b193a-b78d-48a3-914e-91b2fc5bf835"
]
],
"body": "{\"model\": \"claude-sonnet-4-6\", \"max_tokens\": 1, \"messages\": [{\"role\": \"user\", \"content\": [{\"type\":\"text\",\"text\":\"\u003csystem-reminder\u003e\\nAs you answer the user's questions, you can use the following context:\\n# currentDate\\nToday's date is 2026-10-23.\\n\\n IMPORTANT: this context may or may not be relevant to your tasks. You should not respond to this context unless it is highly relevant to your task.\\n\u003c/system-reminder\u003e\\n\\n\"},{\"type\":\"text\",\"text\":\"Hi\",\"cache_control\":{\"type\":\"ephemeral\"}}]}],\"system\":[{\"type\":\"text\",\"text\":\"x-anthropic-billing-header: cc_version=2.1.280.d7b; cc_entrypoint=cli; cch=94e2c; cc_prompt_id=ec1cc4f8-5736-4357-983c-35c881bf826d; cc_turn_origin=human;\"},{\"type\":\"text\",\"text\":\"You are Claude Code, Anthropic's official CLI for Claude.\",\"cache_control\":{\"type\":\"ephemeral\"}}],\"stream\":false,\"metadata\":{\"user_id\":\"{\\\"device_id\\\":\\\"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\\\",\\\"account_uuid\\\":\\\"aaaaaaaa-bbbb-4ccc-8ddd-eeeeeeeeeeee\\\",\\\"session_id\\\":\\\"69996bfa-aefa-508c-a537-793ca55733de\\\"}\"}}",
"reply": "{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-sonnet-4-6\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}"
}
],
"output": [
"{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-sonnet-4-6\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}"
]
},
{
"name": "noroles-image-tool-last",
"config": "config-version: 8\naccess:\n api-keys: [client-key-1]\noauth:\n auth-dir: AUTH_DIR\ndisable-image-generation: true\n",
"auth_file": "{\"type\": \"claude\", \"access_token\": \"sk-ant-oat01-FAKE-LOCAL-ONLY\", \"refresh_token\": \"sk-ant-ort01-FAKE-LOCAL-ONLY\", \"id_token\": \"\", \"email\": \"fixture@example.invalid\", \"account_uuid\": \"aaaaaaaa-bbbb-4ccc-8ddd-eeeeeeeeeeee\", \"organization_uuid\": \"12345678-1234-4234-8234-123456789abc\", \"organization_name\": \"Fixture\", \"claude_device_ids\": [\"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\"], \"expired\": \"2099-01-01T00:00:00Z\", \"last_refresh\": \"2026-10-01T00:00:00Z\"}",
"client_key": "client-key-1",
"model": "claude-sonnet-4-6",
"headers": [
[
"Authorization",
"Bearer client-key-1"
],
[
"Content-Type",
"application/json"
],
[
"Anthropic-Version",
"2023-06-01"
]
],
"body": "{\"model\": \"claude-sonnet-4-6\", \"max_tokens\": 256, \"tools\": [{\"name\": \"lookup\", \"description\": \"Look up a word\", \"input_schema\": {\"type\": \"object\", \"properties\": {}}}, {\"type\": \"image_generation\"}], \"messages\": [{\"role\": \"user\", \"content\": \"Define cache\"}]}",
"stream": false,
"count": false,
"reply": {
"status": 200,
"content_type": "application/json",
"body": "{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-sonnet-4-6\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}",
"headers": [
[
"Request-Id",
"req_fixture_01"
]
]
},
"date": "2026-10-23",
"upstream": [
{
"url": "https://api.anthropic.com/v1/messages?beta=true",
"headers": [
[
"Accept",
"application/json"
],
[
"Accept-Encoding",
"gzip, deflate, br, zstd"
],
[
"Authorization",
"Bearer sk-ant-oat01-FAKE-LOCAL-ONLY"
],
[
"Connection",
"keep-alive"
],
[
"Content-Type",
"application/json"
],
[
"User-Agent",
"claude-cli/2.1.280 (external, cli)"
],
[
"X-Claude-Code-Session-Id",
"39876100-5080-5e53-8d11-7556561ed48f"
],
[
"X-Stainless-Arch",
"arm64"
],
[
"X-Stainless-Lang",
"js"
],
[
"X-Stainless-OS",
"MacOS"
],
[
"X-Stainless-Package-Version",
"0.112.1"
],
[
"X-Stainless-Retry-Count",
"0"
],
[
"X-Stainless-Runtime",
"node"
],
[
"X-Stainless-Runtime-Version",
"v26.3.0"
],
[
"X-Stainless-Timeout",
"600"
],
[
"anthropic-beta",
"claude-code-20250219,oauth-2025-04-20,interleaved-thinking-2025-05-14,redact-thinking-2026-02-12,thinking-token-count-2026-05-13,context-management-2025-06-27,prompt-caching-scope-2026-01-05,effort-2025-11-24,extended-cache-ttl-2025-04-11,cache-diagnosis-2026-04-07"
],
[
"anthropic-dangerous-direct-browser-access",
"true"
],
[
"anthropic-version",
"2023-06-01"
],
[
"x-app",
"cli"
],
[
"x-client-request-id",
"229a9bf6-2ac8-4246-9f35-0e3b7b3b29e9"
]
],
"body": "{\"model\": \"claude-sonnet-4-6\", \"max_tokens\": 256, \"tools\": [{\"name\": \"mcp__private_pattern__bunker_lookup\", \"description\": \"Look up a word\", \"input_schema\": {\"type\": \"object\", \"properties\": {}}},{}], \"messages\": [{\"role\": \"user\", \"content\": [{\"type\":\"text\",\"text\":\"\u003csystem-reminder\u003e\\nAs you answer the user's questions, you can use the following context:\\n# currentDate\\nToday's date is 2026-10-23.\\n\\n IMPORTANT: this context may or may not be relevant to your tasks. You should not respond to this context unless it is highly relevant to your task.\\n\u003c/system-reminder\u003e\\n\\n\"},{\"type\":\"text\",\"text\":\"Define cache\",\"cache_control\":{\"type\":\"ephemeral\",\"ttl\":\"1h\"}}]}],\"system\":[{\"type\":\"text\",\"text\":\"x-anthropic-billing-header: cc_version=2.1.280.f5b; cc_entrypoint=cli; cch=ab75f; cc_prompt_id=97b50850-3df1-4c9d-924d-0e944b25403a; cc_turn_origin=human;\"},{\"type\":\"text\",\"text\":\"You are Claude Code, Anthropic's official CLI for Claude.\",\"cache_control\":{\"type\":\"ephemeral\",\"ttl\":\"1h\"}}],\"diagnostics\":{\"previous_message_id\":null},\"stream\":false,\"metadata\":{\"user_id\":\"{\\\"device_id\\\":\\\"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\\\",\\\"account_uuid\\\":\\\"aaaaaaaa-bbbb-4ccc-8ddd-eeeeeeeeeeee\\\",\\\"session_id\\\":\\\"39876100-5080-5e53-8d11-7556561ed48f\\\"}\"}}",
"reply": "{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-sonnet-4-6\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}"
}
],
"output": [
"{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-sonnet-4-6\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}"
]
},
{
"name": "noroles-image-tool-only-probe",
"config": "config-version: 8\naccess:\n api-keys: [client-key-1]\noauth:\n auth-dir: AUTH_DIR\ndisable-image-generation: true\n",
"auth_file": "{\"type\": \"claude\", \"access_token\": \"sk-ant-oat01-FAKE-LOCAL-ONLY\", \"refresh_token\": \"sk-ant-ort01-FAKE-LOCAL-ONLY\", \"id_token\": \"\", \"email\": \"fixture@example.invalid\", \"account_uuid\": \"aaaaaaaa-bbbb-4ccc-8ddd-eeeeeeeeeeee\", \"organization_uuid\": \"12345678-1234-4234-8234-123456789abc\", \"organization_name\": \"Fixture\", \"claude_device_ids\": [\"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\"], \"expired\": \"2099-01-01T00:00:00Z\", \"last_refresh\": \"2026-10-01T00:00:00Z\"}",
"client_key": "client-key-1",
"model": "claude-sonnet-4-6",
"headers": [
[
"Authorization",
"Bearer client-key-1"
],
[
"Content-Type",
"application/json"
],
[
"Anthropic-Version",
"2023-06-01"
]
],
"body": "{\"model\": \"claude-sonnet-4-6\", \"max_tokens\": 1, \"tools\": [{\"type\": \"image_generation\"}], \"tool_choice\": {\"type\": \"image_generation\"}, \"messages\": [{\"role\": \"user\", \"content\": \"quota\"}]}",
"stream": false,
"count": false,
"reply": {
"status": 200,
"content_type": "application/json",
"body": "{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-sonnet-4-6\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}",
"headers": [
[
"Request-Id",
"req_fixture_01"
]
]
},
"date": "2026-10-23",
"upstream": [
{
"url": "https://api.anthropic.com/v1/messages?beta=true",
"headers": [
[
"Accept",
"application/json"
],
[
"Accept-Encoding",
"gzip, deflate, br, zstd"
],
[
"Authorization",
"Bearer sk-ant-oat01-FAKE-LOCAL-ONLY"
],
[
"Connection",
"keep-alive"
],
[
"Content-Type",
"application/json"
],
[
"User-Agent",
"claude-cli/2.1.280 (external, cli)"
],
[
"X-Claude-Code-Session-Id",
"e9c7556c-d70e-54f3-86be-d6bdf2a4dc98"
],
[
"X-Stainless-Arch",
"arm64"
],
[
"X-Stainless-Lang",
"js"
],
[
"X-Stainless-OS",
"MacOS"
],
[
"X-Stainless-Package-Version",
"0.112.1"
],
[
"X-Stainless-Retry-Count",
"0"
],
[
"X-Stainless-Runtime",
"node"
],
[
"X-Stainless-Runtime-Version",
"v26.3.0"
],
[
"X-Stainless-Timeout",
"600"
],
[
"anthropic-beta",
"claude-code-20250219,oauth-2025-04-20,interleaved-thinking-2025-05-14,redact-thinking-2026-02-12,thinking-token-count-2026-05-13,context-management-2025-06-27,prompt-caching-scope-2026-01-05,effort-2025-11-24,extended-cache-ttl-2025-04-11,cache-diagnosis-2026-04-07"
],
[
"anthropic-dangerous-direct-browser-access",
"true"
],
[
"anthropic-version",
"2023-06-01"
],
[
"x-app",
"cli"
],
[
"x-client-request-id",
"daaffcdc-d8e9-4cfa-8c1e-307f0a9d4004"
]
],
"body": "{\"model\": \"claude-sonnet-4-6\", \"max_tokens\": 1, \"tools\": [{}], \"messages\": [{\"role\": \"user\", \"content\": [{\"type\":\"text\",\"text\":\"\u003csystem-reminder\u003e\\nAs you answer the user's questions, you can use the following context:\\n# currentDate\\nToday's date is 2026-10-23.\\n\\n IMPORTANT: this context may or may not be relevant to your tasks. You should not respond to this context unless it is highly relevant to your task.\\n\u003c/system-reminder\u003e\\n\\n\"},{\"type\":\"text\",\"text\":\"quota\",\"cache_control\":{\"type\":\"ephemeral\",\"ttl\":\"1h\"}}]}],\"system\":[{\"type\":\"text\",\"text\":\"x-anthropic-billing-header: cc_version=2.1.280.608; cc_entrypoint=cli; cch=9f798; cc_prompt_id=8ed8301b-6662-4c77-9d7c-7158763a5e6a; cc_turn_origin=human;\"},{\"type\":\"text\",\"text\":\"You are Claude Code, Anthropic's official CLI for Claude.\",\"cache_control\":{\"type\":\"ephemeral\",\"ttl\":\"1h\"}}],\"diagnostics\":{\"previous_message_id\":null},\"stream\":false,\"metadata\":{\"user_id\":\"{\\\"device_id\\\":\\\"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\\\",\\\"account_uuid\\\":\\\"aaaaaaaa-bbbb-4ccc-8ddd-eeeeeeeeeeee\\\",\\\"session_id\\\":\\\"e9c7556c-d70e-54f3-86be-d6bdf2a4dc98\\\"}\"}}",
"reply": "{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-sonnet-4-6\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}"
}
],
"output": [
"{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-sonnet-4-6\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}"
]
},
{
"name": "noroles-duplicate-prompt-cache-options",
"config": "config-version: 8\naccess:\n api-keys: [client-key-1]\noauth:\n auth-dir: AUTH_DIR\n",
"auth_file": "{\"type\": \"claude\", \"access_token\": \"sk-ant-oat01-FAKE-LOCAL-ONLY\", \"refresh_token\": \"sk-ant-ort01-FAKE-LOCAL-ONLY\", \"id_token\": \"\", \"email\": \"fixture@example.invalid\", \"account_uuid\": \"aaaaaaaa-bbbb-4ccc-8ddd-eeeeeeeeeeee\", \"organization_uuid\": \"12345678-1234-4234-8234-123456789abc\", \"organization_name\": \"Fixture\", \"claude_device_ids\": [\"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\"], \"expired\": \"2099-01-01T00:00:00Z\", \"last_refresh\": \"2026-10-01T00:00:00Z\"}",
"client_key": "client-key-1",
"model": "claude-sonnet-4-6",
"headers": [
[
"Authorization",
"Bearer client-key-1"
],
[
"Content-Type",
"application/json"
],
[
"Anthropic-Version",
"2023-06-01"
]
],
"body": "{\"model\":\"claude-sonnet-4-6\",\"max_tokens\":256,\"prompt_cache_options\":{\"mode\":\"auto\"},\"prompt_cache_options\":{\"mode\":\"auto\"},\"messages\":[{\"role\":\"user\",\"content\":\"Define cache\"}]}",
"stream": false,
"count": false,
"reply": {
"status": 200,
"content_type": "application/json",
"body": "{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-sonnet-4-6\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}",
"headers": [
[
"Request-Id",
"req_fixture_01"
]
]
},
"date": "2026-10-23",
"upstream": [
{
"url": "https://api.anthropic.com/v1/messages?beta=true",
"headers": [
[
"Accept",
"application/json"
],
[
"Accept-Encoding",
"gzip, deflate, br, zstd"
],
[
"Authorization",
"Bearer sk-ant-oat01-FAKE-LOCAL-ONLY"
],
[
"Connection",
"keep-alive"
],
[
"Content-Type",
"application/json"
],
[
"User-Agent",
"claude-cli/2.1.280 (external, cli)"
],
[
"X-Claude-Code-Session-Id",
"39876100-5080-5e53-8d11-7556561ed48f"
],
[
"X-Stainless-Arch",
"arm64"
],
[
"X-Stainless-Lang",
"js"
],
[
"X-Stainless-OS",
"MacOS"
],
[
"X-Stainless-Package-Version",
"0.112.1"
],
[
"X-Stainless-Retry-Count",
"0"
],
[
"X-Stainless-Runtime",
"node"
],
[
"X-Stainless-Runtime-Version",
"v26.3.0"
],
[
"X-Stainless-Timeout",
"600"
],
[
"anthropic-beta",
"claude-code-20250219,oauth-2025-04-20,interleaved-thinking-2025-05-14,redact-thinking-2026-02-12,thinking-token-count-2026-05-13,context-management-2025-06-27,prompt-caching-scope-2026-01-05,effort-2025-11-24,extended-cache-ttl-2025-04-11,cache-diagnosis-2026-04-07"
],
[
"anthropic-dangerous-direct-browser-access",
"true"
],
[
"anthropic-version",
"2023-06-01"
],
[
"x-app",
"cli"
],
[
"x-client-request-id",
"91d4932e-0c04-4e0d-b094-97e39963067e"
]
],
"body": "{\"model\":\"claude-sonnet-4-6\",\"max_tokens\":256,\"messages\":[{\"role\":\"user\",\"content\":[{\"type\":\"text\",\"text\":\"\u003csystem-reminder\u003e\\nAs you answer the user's questions, you can use the following context:\\n# currentDate\\nToday's date is 2026-10-23.\\n\\n IMPORTANT: this context may or may not be relevant to your tasks. You should not respond to this context unless it is highly relevant to your task.\\n\u003c/system-reminder\u003e\\n\\n\"},{\"type\":\"text\",\"text\":\"Define cache\",\"cache_control\":{\"type\":\"ephemeral\",\"ttl\":\"1h\"}}]}],\"system\":[{\"type\":\"text\",\"text\":\"x-anthropic-billing-header: cc_version=2.1.280.f5b; cc_entrypoint=cli; cch=00d3b; cc_prompt_id=97b50850-3df1-4c9d-924d-0e944b25403a; cc_turn_origin=human;\"},{\"type\":\"text\",\"text\":\"You are Claude Code, Anthropic's official CLI for Claude.\",\"cache_control\":{\"type\":\"ephemeral\",\"ttl\":\"1h\"}}],\"diagnostics\":{\"previous_message_id\":null},\"stream\":false,\"metadata\":{\"user_id\":\"{\\\"device_id\\\":\\\"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\\\",\\\"account_uuid\\\":\\\"aaaaaaaa-bbbb-4ccc-8ddd-eeeeeeeeeeee\\\",\\\"session_id\\\":\\\"39876100-5080-5e53-8d11-7556561ed48f\\\"}\"}}",
"reply": "{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-sonnet-4-6\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}"
}
],
"output": [
"{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-sonnet-4-6\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}"
]
},
{
"name": "noroles-duplicate-prompt-cache-options-explicit",
"config": "config-version: 8\naccess:\n api-keys: [client-key-1]\noauth:\n auth-dir: AUTH_DIR\n",
"auth_file": "{\"type\": \"claude\", \"access_token\": \"sk-ant-oat01-FAKE-LOCAL-ONLY\", \"refresh_token\": \"sk-ant-ort01-FAKE-LOCAL-ONLY\", \"id_token\": \"\", \"email\": \"fixture@example.invalid\", \"account_uuid\": \"aaaaaaaa-bbbb-4ccc-8ddd-eeeeeeeeeeee\", \"organization_uuid\": \"12345678-1234-4234-8234-123456789abc\", \"organization_name\": \"Fixture\", \"claude_device_ids\": [\"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\"], \"expired\": \"2099-01-01T00:00:00Z\", \"last_refresh\": \"2026-10-01T00:00:00Z\"}",
"client_key": "client-key-1",
"model": "claude-sonnet-4-6",
"headers": [
[
"Authorization",
"Bearer client-key-1"
],
[
"Content-Type",
"application/json"
],
[
"Anthropic-Version",
"2023-06-01"
]
],
"body": "{\"model\":\"claude-sonnet-4-6\",\"max_tokens\":256,\"prompt_cache_options\":{},\"prompt_cache_options\":{\"mode\":\"explicit\"},\"messages\":[{\"role\":\"user\",\"content\":[{\"type\":\"text\",\"text\":\"Define cache\",\"cache_control\":{\"type\":\"ephemeral\"}}]}]}",
"stream": false,
"count": false,
"reply": {
"status": 200,
"content_type": "application/json",
"body": "{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-sonnet-4-6\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}",
"headers": [
[
"Request-Id",
"req_fixture_01"
]
]
},
"date": "2026-10-23",
"upstream": [
{
"url": "https://api.anthropic.com/v1/messages?beta=true",
"headers": [
[
"Accept",
"application/json"
],
[
"Accept-Encoding",
"gzip, deflate, br, zstd"
],
[
"Authorization",
"Bearer sk-ant-oat01-FAKE-LOCAL-ONLY"
],
[
"Connection",
"keep-alive"
],
[
"Content-Type",
"application/json"
],
[
"User-Agent",
"claude-cli/2.1.280 (external, cli)"
],
[
"X-Claude-Code-Session-Id",
"39876100-5080-5e53-8d11-7556561ed48f"
],
[
"X-Stainless-Arch",
"arm64"
],
[
"X-Stainless-Lang",
"js"
],
[
"X-Stainless-OS",
"MacOS"
],
[
"X-Stainless-Package-Version",
"0.112.1"
],
[
"X-Stainless-Retry-Count",
"0"
],
[
"X-Stainless-Runtime",
"node"
],
[
"X-Stainless-Runtime-Version",
"v26.3.0"
],
[
"X-Stainless-Timeout",
"600"
],
[
"anthropic-beta",
"claude-code-20250219,oauth-2025-04-20,interleaved-thinking-2025-05-14,redact-thinking-2026-02-12,thinking-token-count-2026-05-13,context-management-2025-06-27,prompt-caching-scope-2026-01-05,effort-2025-11-24,extended-cache-ttl-2025-04-11,cache-diagnosis-2026-04-07"
],
[
"anthropic-dangerous-direct-browser-access",
"true"
],
[
"anthropic-version",
"2023-06-01"
],
[
"x-app",
"cli"
],
[
"x-client-request-id",
"1ee8d001-0c26-44b6-b32b-8333a56c4185"
]
],
"body": "{\"model\":\"claude-sonnet-4-6\",\"max_tokens\":256,\"messages\":[{\"role\":\"user\",\"content\":[{\"type\":\"text\",\"text\":\"\u003csystem-reminder\u003e\\nAs you answer the user's questions, you can use the following context:\\n# currentDate\\nToday's date is 2026-10-23.\\n\\n IMPORTANT: this context may or may not be relevant to your tasks. You should not respond to this context unless it is highly relevant to your task.\\n\u003c/system-reminder\u003e\\n\\n\"},{\"type\":\"text\",\"text\":\"Define cache\",\"cache_control\":{\"type\":\"ephemeral\"}}]}],\"system\":[{\"type\":\"text\",\"text\":\"x-anthropic-billing-header: cc_version=2.1.280.f5b; cc_entrypoint=cli; cch=1b084; cc_prompt_id=97b50850-3df1-4c9d-924d-0e944b25403a; cc_turn_origin=human;\"},{\"type\":\"text\",\"text\":\"You are Claude Code, Anthropic's official CLI for Claude.\"}],\"diagnostics\":{\"previous_message_id\":null},\"stream\":false,\"metadata\":{\"user_id\":\"{\\\"device_id\\\":\\\"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\\\",\\\"account_uuid\\\":\\\"aaaaaaaa-bbbb-4ccc-8ddd-eeeeeeeeeeee\\\",\\\"session_id\\\":\\\"39876100-5080-5e53-8d11-7556561ed48f\\\"}\"}}",
"reply": "{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-sonnet-4-6\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}"
}
],
"output": [
"{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-sonnet-4-6\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}"
]
},
{
"name": "noroles-duplicate-thinking",
"config": "config-version: 8\naccess:\n api-keys: [client-key-1]\noauth:\n auth-dir: AUTH_DIR\n",
"auth_file": "{\"type\": \"claude\", \"access_token\": \"sk-ant-oat01-FAKE-LOCAL-ONLY\", \"refresh_token\": \"sk-ant-ort01-FAKE-LOCAL-ONLY\", \"id_token\": \"\", \"email\": \"fixture@example.invalid\", \"account_uuid\": \"aaaaaaaa-bbbb-4ccc-8ddd-eeeeeeeeeeee\", \"organization_uuid\": \"12345678-1234-4234-8234-123456789abc\", \"organization_name\": \"Fixture\", \"claude_device_ids\": [\"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\"], \"expired\": \"2099-01-01T00:00:00Z\", \"last_refresh\": \"2026-10-01T00:00:00Z\"}",
"client_key": "client-key-1",
"model": "claude-sonnet-4-6",
"headers": [
[
"Authorization",
"Bearer client-key-1"
],
[
"Content-Type",
"application/json"
],
[
"Anthropic-Version",
"2023-06-01"
]
],
"body": "{\"model\":\"claude-sonnet-4-6\",\"max_tokens\":2048,\"thinking\":{},\"thinking\":{\"type\":\"adaptive\"},\"messages\":[{\"role\":\"user\",\"content\":\"Define cache\"}]}",
"stream": false,
"count": false,
"reply": {
"status": 200,
"content_type": "application/json",
"body": "{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-sonnet-4-6\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}",
"headers": [
[
"Request-Id",
"req_fixture_01"
]
]
},
"date": "2026-10-23",
"upstream": [
{
"url": "https://api.anthropic.com/v1/messages?beta=true",
"headers": [
[
"Accept",
"application/json"
],
[
"Accept-Encoding",
"gzip, deflate, br, zstd"
],
[
"Authorization",
"Bearer sk-ant-oat01-FAKE-LOCAL-ONLY"
],
[
"Connection",
"keep-alive"
],
[
"Content-Type",
"application/json"
],
[
"User-Agent",
"claude-cli/2.1.280 (external, cli)"
],
[
"X-Claude-Code-Session-Id",
"39876100-5080-5e53-8d11-7556561ed48f"
],
[
"X-Stainless-Arch",
"arm64"
],
[
"X-Stainless-Lang",
"js"
],
[
"X-Stainless-OS",
"MacOS"
],
[
"X-Stainless-Package-Version",
"0.112.1"
],
[
"X-Stainless-Retry-Count",
"0"
],
[
"X-Stainless-Runtime",
"node"
],
[
"X-Stainless-Runtime-Version",
"v26.3.0"
],
[
"X-Stainless-Timeout",
"600"
],
[
"anthropic-beta",
"claude-code-20250219,oauth-2025-04-20,interleaved-thinking-2025-05-14,redact-thinking-2026-02-12,thinking-token-count-2026-05-13,context-management-2025-06-27,prompt-caching-scope-2026-01-05,effort-2025-11-24,extended-cache-ttl-2025-04-11,cache-diagnosis-2026-04-07"
],
[
"anthropic-dangerous-direct-browser-access",
"true"
],
[
"anthropic-version",
"2023-06-01"
],
[
"x-app",
"cli"
],
[
"x-client-request-id",
"37a788c2-791a-4dba-a0d9-7a9cc0bffaba"
]
],
"body": "{\"model\":\"claude-sonnet-4-6\",\"max_tokens\":2048,\"thinking\":{},\"thinking\":{\"type\":\"adaptive\"},\"messages\":[{\"role\":\"user\",\"content\":[{\"type\":\"text\",\"text\":\"\u003csystem-reminder\u003e\\nAs you answer the user's questions, you can use the following context:\\n# currentDate\\nToday's date is 2026-10-23.\\n\\n IMPORTANT: this context may or may not be relevant to your tasks. You should not respond to this context unless it is highly relevant to your task.\\n\u003c/system-reminder\u003e\\n\\n\"},{\"type\":\"text\",\"text\":\"Define cache\",\"cache_control\":{\"type\":\"ephemeral\",\"ttl\":\"1h\"}}]}],\"system\":[{\"type\":\"text\",\"text\":\"x-anthropic-billing-header: cc_version=2.1.280.f5b; cc_entrypoint=cli; cch=6a9d2; cc_prompt_id=97b50850-3df1-4c9d-924d-0e944b25403a; cc_turn_origin=human;\"},{\"type\":\"text\",\"text\":\"You are Claude Code, Anthropic's official CLI for Claude.\",\"cache_control\":{\"type\":\"ephemeral\",\"ttl\":\"1h\"}}],\"context_management\":{\"edits\":[{\"type\":\"clear_thinking_20251015\",\"keep\":\"all\"}]},\"diagnostics\":{\"previous_message_id\":null},\"stream\":false,\"metadata\":{\"user_id\":\"{\\\"device_id\\\":\\\"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\\\",\\\"account_uuid\\\":\\\"aaaaaaaa-bbbb-4ccc-8ddd-eeeeeeeeeeee\\\",\\\"session_id\\\":\\\"39876100-5080-5e53-8d11-7556561ed48f\\\"}\"}}",
"reply": "{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-sonnet-4-6\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}"
}
],
"output": [
"{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-sonnet-4-6\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}"
]
},
{
"name": "noroles-duplicate-tool-choice",
"config": "config-version: 8\naccess:\n api-keys: [client-key-1]\noauth:\n auth-dir: AUTH_DIR\n",
"auth_file": "{\"type\": \"claude\", \"access_token\": \"sk-ant-oat01-FAKE-LOCAL-ONLY\", \"refresh_token\": \"sk-ant-ort01-FAKE-LOCAL-ONLY\", \"id_token\": \"\", \"email\": \"fixture@example.invalid\", \"account_uuid\": \"aaaaaaaa-bbbb-4ccc-8ddd-eeeeeeeeeeee\", \"organization_uuid\": \"12345678-1234-4234-8234-123456789abc\", \"organization_name\": \"Fixture\", \"claude_device_ids\": [\"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\"], \"expired\": \"2099-01-01T00:00:00Z\", \"last_refresh\": \"2026-10-01T00:00:00Z\"}",
"client_key": "client-key-1",
"model": "claude-sonnet-4-6",
"headers": [
[
"Authorization",
"Bearer client-key-1"
],
[
"Content-Type",
"application/json"
],
[
"Anthropic-Version",
"2023-06-01"
]
],
"body": "{\"model\":\"claude-sonnet-4-6\",\"max_tokens\":2048,\"thinking\":{\"type\":\"enabled\",\"budget_tokens\":1024},\"tool_choice\":{},\"tool_choice\":{\"type\":\"any\"},\"tools\":[{\"name\":\"lookup\",\"description\":\"Look up a word\",\"input_schema\":{\"type\":\"object\",\"properties\":{}}}],\"messages\":[{\"role\":\"user\",\"content\":\"Define cache\"}]}",
"stream": false,
"count": false,
"reply": {
"status": 200,
"content_type": "application/json",
"body": "{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-sonnet-4-6\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}",
"headers": [
[
"Request-Id",
"req_fixture_01"
]
]
},
"date": "2026-10-23",
"upstream": [
{
"url": "https://api.anthropic.com/v1/messages?beta=true",
"headers": [
[
"Accept",
"application/json"
],
[
"Accept-Encoding",
"gzip, deflate, br, zstd"
],
[
"Authorization",
"Bearer sk-ant-oat01-FAKE-LOCAL-ONLY"
],
[
"Connection",
"keep-alive"
],
[
"Content-Type",
"application/json"
],
[
"User-Agent",
"claude-cli/2.1.280 (external, cli)"
],
[
"X-Claude-Code-Session-Id",
"39876100-5080-5e53-8d11-7556561ed48f"
],
[
"X-Stainless-Arch",
"arm64"
],
[
"X-Stainless-Lang",
"js"
],
[
"X-Stainless-OS",
"MacOS"
],
[
"X-Stainless-Package-Version",
"0.112.1"
],
[
"X-Stainless-Retry-Count",
"0"
],
[
"X-Stainless-Runtime",
"node"
],
[
"X-Stainless-Runtime-Version",
"v26.3.0"
],
[
"X-Stainless-Timeout",
"600"
],
[
"anthropic-beta",
"claude-code-20250219,oauth-2025-04-20,interleaved-thinking-2025-05-14,redact-thinking-2026-02-12,thinking-token-count-2026-05-13,context-management-2025-06-27,prompt-caching-scope-2026-01-05,effort-2025-11-24,extended-cache-ttl-2025-04-11,cache-diagnosis-2026-04-07"
],
[
"anthropic-dangerous-direct-browser-access",
"true"
],
[
"anthropic-version",
"2023-06-01"
],
[
"x-app",
"cli"
],
[
"x-client-request-id",
"496e4be6-8b61-4c34-85ae-2fec9ac883be"
]
],
"body": "{\"model\":\"claude-sonnet-4-6\",\"max_tokens\":2048,\"tool_choice\":{},\"tool_choice\":{\"type\":\"any\"},\"tools\":[{\"name\":\"mcp__private_pattern__bunker_lookup\",\"description\":\"Look up a word\",\"input_schema\":{\"type\":\"object\",\"properties\":{}}}],\"messages\":[{\"role\":\"user\",\"content\":[{\"type\":\"text\",\"text\":\"\u003csystem-reminder\u003e\\nAs you answer the user's questions, you can use the following context:\\n# currentDate\\nToday's date is 2026-10-23.\\n\\n IMPORTANT: this context may or may not be relevant to your tasks. You should not respond to this context unless it is highly relevant to your task.\\n\u003c/system-reminder\u003e\\n\\n\"},{\"type\":\"text\",\"text\":\"Define cache\",\"cache_control\":{\"type\":\"ephemeral\",\"ttl\":\"1h\"}}]}],\"system\":[{\"type\":\"text\",\"text\":\"x-anthropic-billing-header: cc_version=2.1.280.f5b; cc_entrypoint=cli; cch=ddbd6; cc_prompt_id=97b50850-3df1-4c9d-924d-0e944b25403a; cc_turn_origin=human;\"},{\"type\":\"text\",\"text\":\"You are Claude Code, Anthropic's official CLI for Claude.\",\"cache_control\":{\"type\":\"ephemeral\",\"ttl\":\"1h\"}}],\"diagnostics\":{\"previous_message_id\":null},\"stream\":false,\"metadata\":{\"user_id\":\"{\\\"device_id\\\":\\\"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\\\",\\\"account_uuid\\\":\\\"aaaaaaaa-bbbb-4ccc-8ddd-eeeeeeeeeeee\\\",\\\"session_id\\\":\\\"39876100-5080-5e53-8d11-7556561ed48f\\\"}\"}}",
"reply": "{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-sonnet-4-6\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}"
}
],
"output": [
"{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-sonnet-4-6\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}"
]
},
{
"name": "noroles-duplicate-cache-control",
"config": "config-version: 8\naccess:\n api-keys: [client-key-1]\noauth:\n auth-dir: AUTH_DIR\n",
"auth_file": "{\"type\": \"claude\", \"access_token\": \"sk-ant-oat01-FAKE-LOCAL-ONLY\", \"refresh_token\": \"sk-ant-ort01-FAKE-LOCAL-ONLY\", \"id_token\": \"\", \"email\": \"fixture@example.invalid\", \"account_uuid\": \"aaaaaaaa-bbbb-4ccc-8ddd-eeeeeeeeeeee\", \"organization_uuid\": \"12345678-1234-4234-8234-123456789abc\", \"organization_name\": \"Fixture\", \"claude_device_ids\": [\"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\"], \"expired\": \"2099-01-01T00:00:00Z\", \"last_refresh\": \"2026-10-01T00:00:00Z\"}",
"client_key": "client-key-1",
"model": "claude-sonnet-4-6",
"headers": [
[
"Authorization",
"Bearer client-key-1"
],
[
"Content-Type",
"application/json"
],
[
"Anthropic-Version",
"2023-06-01"
]
],
"body": "{\"model\":\"claude-sonnet-4-6\",\"max_tokens\":256,\"messages\":[{\"role\":\"user\",\"content\":[{\"type\":\"text\",\"text\":\"Define cache\",\"cache_control\":{},\"cache_control\":{\"type\":\"ephemeral\",\"ttl\":\"1h\"}}]}]}",
"stream": false,
"count": false,
"reply": {
"status": 200,
"content_type": "application/json",
"body": "{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-sonnet-4-6\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}",
"headers": [
[
"Request-Id",
"req_fixture_01"
]
]
},
"date": "2026-10-23",
"upstream": [
{
"url": "https://api.anthropic.com/v1/messages?beta=true",
"headers": [
[
"Accept",
"application/json"
],
[
"Accept-Encoding",
"gzip, deflate, br, zstd"
],
[
"Authorization",
"Bearer sk-ant-oat01-FAKE-LOCAL-ONLY"
],
[
"Connection",
"keep-alive"
],
[
"Content-Type",
"application/json"
],
[
"User-Agent",
"claude-cli/2.1.280 (external, cli)"
],
[
"X-Claude-Code-Session-Id",
"39876100-5080-5e53-8d11-7556561ed48f"
],
[
"X-Stainless-Arch",
"arm64"
],
[
"X-Stainless-Lang",
"js"
],
[
"X-Stainless-OS",
"MacOS"
],
[
"X-Stainless-Package-Version",
"0.112.1"
],
[
"X-Stainless-Retry-Count",
"0"
],
[
"X-Stainless-Runtime",
"node"
],
[
"X-Stainless-Runtime-Version",
"v26.3.0"
],
[
"X-Stainless-Timeout",
"600"
],
[
"anthropic-beta",
"claude-code-20250219,oauth-2025-04-20,interleaved-thinking-2025-05-14,redact-thinking-2026-02-12,thinking-token-count-2026-05-13,context-management-2025-06-27,prompt-caching-scope-2026-01-05,effort-2025-11-24,extended-cache-ttl-2025-04-11,cache-diagnosis-2026-04-07"
],
[
"anthropic-dangerous-direct-browser-access",
"true"
],
[
"anthropic-version",
"2023-06-01"
],
[
"x-app",
"cli"
],
[
"x-client-request-id",
"9bb01e21-ab8f-467d-8fa5-5fea3048ed6e"
]
],
"body": "{\"model\":\"claude-sonnet-4-6\",\"max_tokens\":256,\"messages\":[{\"role\":\"user\",\"content\":[{\"type\":\"text\",\"text\":\"\u003csystem-reminder\u003e\\nAs you answer the user's questions, you can use the following context:\\n# currentDate\\nToday's date is 2026-10-23.\\n\\n IMPORTANT: this context may or may not be relevant to your tasks. You should not respond to this context unless it is highly relevant to your task.\\n\u003c/system-reminder\u003e\\n\\n\"},{\"type\":\"text\",\"text\":\"Define cache\",\"cache_control\":{\"type\":\"ephemeral\",\"ttl\":\"1h\"},\"cache_control\":{\"type\":\"ephemeral\",\"ttl\":\"1h\"}}]}],\"system\":[{\"type\":\"text\",\"text\":\"x-anthropic-billing-header: cc_version=2.1.280.f5b; cc_entrypoint=cli; cch=97556; cc_prompt_id=97b50850-3df1-4c9d-924d-0e944b25403a; cc_turn_origin=human;\"},{\"type\":\"text\",\"text\":\"You are Claude Code, Anthropic's official CLI for Claude.\",\"cache_control\":{\"type\":\"ephemeral\",\"ttl\":\"1h\"}}],\"diagnostics\":{\"previous_message_id\":null},\"stream\":false,\"metadata\":{\"user_id\":\"{\\\"device_id\\\":\\\"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\\\",\\\"account_uuid\\\":\\\"aaaaaaaa-bbbb-4ccc-8ddd-eeeeeeeeeeee\\\",\\\"session_id\\\":\\\"39876100-5080-5e53-8d11-7556561ed48f\\\"}\"}}",
"reply": "{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-sonnet-4-6\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}"
}
],
"output": [
"{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-sonnet-4-6\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}"
]
},
{
"name": "noroles-duplicate-metadata",
"config": "config-version: 8\naccess:\n api-keys: [client-key-1]\noauth:\n auth-dir: AUTH_DIR\n",
"auth_file": "{\"type\": \"claude\", \"access_token\": \"sk-ant-oat01-FAKE-LOCAL-ONLY\", \"refresh_token\": \"sk-ant-ort01-FAKE-LOCAL-ONLY\", \"id_token\": \"\", \"email\": \"fixture@example.invalid\", \"account_uuid\": \"aaaaaaaa-bbbb-4ccc-8ddd-eeeeeeeeeeee\", \"organization_uuid\": \"12345678-1234-4234-8234-123456789abc\", \"organization_name\": \"Fixture\", \"claude_device_ids\": [\"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\"], \"expired\": \"2099-01-01T00:00:00Z\", \"last_refresh\": \"2026-10-01T00:00:00Z\"}",
"client_key": "client-key-1",
"model": "claude-sonnet-4-6",
"headers": [
[
"Authorization",
"Bearer client-key-1"
],
[
"Content-Type",
"application/json"
],
[
"Anthropic-Version",
"2023-06-01"
]
],
"body": "{\"model\":\"claude-sonnet-4-6\",\"max_tokens\":256,\"metadata\":{},\"metadata\":{\"user_id\":\"u\"},\"messages\":[{\"role\":\"user\",\"content\":\"Define cache\"}]}",
"stream": false,
"count": false,
"reply": {
"status": 200,
"content_type": "application/json",
"body": "{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-sonnet-4-6\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}",
"headers": [
[
"Request-Id",
"req_fixture_01"
]
]
},
"date": "2026-10-23",
"upstream": null,
"output": null,
"error": "apply Claude credential metadata: apply Claude credential metadata: duplicate JSON object key \"metadata\"",
"error_status": 400,
"error_info": {
"request_scoped": true,
"credential_scoped": false,
"retry_after": false,
"direct": false
}
},
{
"name": "noroles-object-messages-system",
"config": "config-version: 8\naccess:\n api-keys: [client-key-1]\noauth:\n auth-dir: AUTH_DIR\n",
"auth_file": "{\"type\": \"claude\", \"access_token\": \"sk-ant-oat01-FAKE-LOCAL-ONLY\", \"refresh_token\": \"sk-ant-ort01-FAKE-LOCAL-ONLY\", \"id_token\": \"\", \"email\": \"fixture@example.invalid\", \"account_uuid\": \"aaaaaaaa-bbbb-4ccc-8ddd-eeeeeeeeeeee\", \"organization_uuid\": \"12345678-1234-4234-8234-123456789abc\", \"organization_name\": \"Fixture\", \"claude_device_ids\": [\"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\"], \"expired\": \"2099-01-01T00:00:00Z\", \"last_refresh\": \"2026-10-01T00:00:00Z\"}",
"client_key": "client-key-1",
"model": "claude-sonnet-4-6",
"headers": [
[
"Authorization",
"Bearer client-key-1"
],
[
"Content-Type",
"application/json"
],
[
"Anthropic-Version",
"2023-06-01"
]
],
"body": "{\"model\":\"claude-sonnet-4-6\",\"max_tokens\":256,\"messages\":{\"role\":\"system\",\"content\":\"Return a short title for this coding session.\"}}",
"stream": false,
"count": false,
"reply": {
"status": 200,
"content_type": "application/json",
"body": "{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-sonnet-4-6\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}",
"headers": [
[
"Request-Id",
"req_fixture_01"
]
]
},
"execution_session": "exec-fixture-1",
"date": "2026-10-23",
"upstream": [
{
"url": "https://api.anthropic.com/v1/messages?beta=true",
"headers": [
[
"Accept",
"application/json"
],
[
"Accept-Encoding",
"gzip, deflate, br, zstd"
],
[
"Authorization",
"Bearer sk-ant-oat01-FAKE-LOCAL-ONLY"
],
[
"Connection",
"keep-alive"
],
[
"Content-Type",
"application/json"
],
[
"User-Agent",
"claude-cli/2.1.280 (external, cli)"
],
[
"X-Claude-Code-Session-Id",
"301d3765-2947-5ae4-ad6d-216435473fab"
],
[
"X-Stainless-Arch",
"arm64"
],
[
"X-Stainless-Lang",
"js"
],
[
"X-Stainless-OS",
"MacOS"
],
[
"X-Stainless-Package-Version",
"0.112.1"
],
[
"X-Stainless-Retry-Count",
"0"
],
[
"X-Stainless-Runtime",
"node"
],
[
"X-Stainless-Runtime-Version",
"v26.3.0"
],
[
"X-Stainless-Timeout",
"600"
],
[
"anthropic-beta",
"claude-code-20250219,oauth-2025-04-20,interleaved-thinking-2025-05-14,redact-thinking-2026-02-12,thinking-token-count-2026-05-13,context-management-2025-06-27,prompt-caching-scope-2026-01-05,effort-2025-11-24,extended-cache-ttl-2025-04-11,cache-diagnosis-2026-04-07"
],
[
"anthropic-dangerous-direct-browser-access",
"true"
],
[
"anthropic-version",
"2023-06-01"
],
[
"x-app",
"cli"
],
[
"x-client-request-id",
"90a8ce29-e56b-4cbb-9767-934594457c55"
]
],
"body": "{\"model\":\"claude-sonnet-4-6\",\"max_tokens\":256,\"messages\":{\"role\":\"system\",\"content\":\"Return a short title for this coding session.\"},\"system\":[{\"type\":\"text\",\"text\":\"x-anthropic-billing-header: cc_version=2.1.280.d7b; cc_entrypoint=cli; cch=901e3; cc_prompt_id=1a47d6fe-44de-4149-a5d5-4c04d53020e8; cc_turn_origin=human;\"},{\"type\":\"text\",\"text\":\"You are Claude Code, Anthropic's official CLI for Claude.\",\"cache_control\":{\"type\":\"ephemeral\",\"ttl\":\"1h\"}}],\"diagnostics\":{\"previous_message_id\":null},\"stream\":false,\"metadata\":{\"user_id\":\"{\\\"device_id\\\":\\\"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\\\",\\\"account_uuid\\\":\\\"aaaaaaaa-bbbb-4ccc-8ddd-eeeeeeeeeeee\\\",\\\"session_id\\\":\\\"301d3765-2947-5ae4-ad6d-216435473fab\\\"}\"}}",
"reply": "{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-sonnet-4-6\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}"
}
],
"output": [
"{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-sonnet-4-6\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}"
]
},
{
"name": "noroles-object-messages-user",
"config": "config-version: 8\naccess:\n api-keys: [client-key-1]\noauth:\n auth-dir: AUTH_DIR\n",
"auth_file": "{\"type\": \"claude\", \"access_token\": \"sk-ant-oat01-FAKE-LOCAL-ONLY\", \"refresh_token\": \"sk-ant-ort01-FAKE-LOCAL-ONLY\", \"id_token\": \"\", \"email\": \"fixture@example.invalid\", \"account_uuid\": \"aaaaaaaa-bbbb-4ccc-8ddd-eeeeeeeeeeee\", \"organization_uuid\": \"12345678-1234-4234-8234-123456789abc\", \"organization_name\": \"Fixture\", \"claude_device_ids\": [\"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\"], \"expired\": \"2099-01-01T00:00:00Z\", \"last_refresh\": \"2026-10-01T00:00:00Z\"}",
"client_key": "client-key-1",
"model": "claude-opus-5",
"headers": [
[
"Authorization",
"Bearer client-key-1"
],
[
"Content-Type",
"application/json"
],
[
"Anthropic-Version",
"2023-06-01"
]
],
"body": "{\"model\":\"claude-opus-5\",\"max_tokens\":256,\"messages\":{\"role\":\"user\",\"content\":\"Define cache\",\"0\":{\"role\":\"user\",\"content\":\"Define cache\"}}}",
"stream": false,
"count": false,
"reply": {
"status": 200,
"content_type": "application/json",
"body": "{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-opus-5\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}",
"headers": [
[
"Request-Id",
"req_fixture_01"
]
]
},
"execution_session": "exec-fixture-1",
"date": "2026-10-23",
"upstream": [
{
"url": "https://api.anthropic.com/v1/messages?beta=true",
"headers": [
[
"Accept",
"application/json"
],
[
"Accept-Encoding",
"gzip, deflate, br, zstd"
],
[
"Authorization",
"Bearer sk-ant-oat01-FAKE-LOCAL-ONLY"
],
[
"Connection",
"keep-alive"
],
[
"Content-Type",
"application/json"
],
[
"User-Agent",
"claude-cli/2.1.280 (external, cli)"
],
[
"X-Claude-Code-Session-Id",
"301d3765-2947-5ae4-ad6d-216435473fab"
],
[
"X-Stainless-Arch",
"arm64"
],
[
"X-Stainless-Lang",
"js"
],
[
"X-Stainless-OS",
"MacOS"
],
[
"X-Stainless-Package-Version",
"0.112.1"
],
[
"X-Stainless-Retry-Count",
"0"
],
[
"X-Stainless-Runtime",
"node"
],
[
"X-Stainless-Runtime-Version",
"v26.3.0"
],
[
"X-Stainless-Timeout",
"600"
],
[
"anthropic-beta",
"claude-code-20250219,oauth-2025-04-20,interleaved-thinking-2025-05-14,redact-thinking-2026-02-12,thinking-token-count-2026-05-13,context-management-2025-06-27,prompt-caching-scope-2026-01-05,mid-conversation-system-2026-04-07,mid-conversation-tool-changes-2026-07-01,effort-2025-11-24,extended-cache-ttl-2025-04-11,cache-diagnosis-2026-04-07"
],
[
"anthropic-dangerous-direct-browser-access",
"true"
],
[
"anthropic-version",
"2023-06-01"
],
[
"x-app",
"cli"
],
[
"x-client-request-id",
"514b918b-2aef-47e9-953c-726b39a2c43d"
]
],
"body": "{\"model\":\"claude-opus-5\",\"max_tokens\":256,\"messages\":{\"role\":\"user\",\"content\":\"Define cache\",\"0\":{\"role\":\"user\",\"content\":\"Define cache\"}},\"system\":[{\"type\":\"text\",\"text\":\"x-anthropic-billing-header: cc_version=2.1.280.d7b; cc_entrypoint=cli; cch=83f85; cc_prev_req=req_fixture_01; cc_prompt_id=8d3e2883-5906-42b3-8741-71b4e8068899; cc_turn_origin=human;\"},{\"type\":\"text\",\"text\":\"You are Claude Code, Anthropic's official CLI for Claude.\",\"cache_control\":{\"type\":\"ephemeral\",\"ttl\":\"1h\"}}],\"diagnostics\":{\"previous_message_id\":\"msg_go_fixture\"},\"stream\":false,\"metadata\":{\"user_id\":\"{\\\"device_id\\\":\\\"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\\\",\\\"account_uuid\\\":\\\"aaaaaaaa-bbbb-4ccc-8ddd-eeeeeeeeeeee\\\",\\\"session_id\\\":\\\"301d3765-2947-5ae4-ad6d-216435473fab\\\"}\"}}",
"reply": "{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-opus-5\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}"
}
],
"output": [
"{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-opus-5\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}"
]
},
{
"name": "noroles-object-messages-foreach",
"config": "config-version: 8\naccess:\n api-keys: [client-key-1]\noauth:\n auth-dir: AUTH_DIR\n",
"auth_file": "{\"type\": \"claude\", \"access_token\": \"sk-ant-oat01-FAKE-LOCAL-ONLY\", \"refresh_token\": \"sk-ant-ort01-FAKE-LOCAL-ONLY\", \"id_token\": \"\", \"email\": \"fixture@example.invalid\", \"account_uuid\": \"aaaaaaaa-bbbb-4ccc-8ddd-eeeeeeeeeeee\", \"organization_uuid\": \"12345678-1234-4234-8234-123456789abc\", \"organization_name\": \"Fixture\", \"claude_device_ids\": [\"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\"], \"expired\": \"2099-01-01T00:00:00Z\", \"last_refresh\": \"2026-10-01T00:00:00Z\"}",
"client_key": "client-key-1",
"model": "claude-opus-5",
"headers": [
[
"Authorization",
"Bearer client-key-1"
],
[
"Content-Type",
"application/json"
],
[
"Anthropic-Version",
"2023-06-01"
]
],
"body": "{\"model\":\"claude-opus-5\",\"max_tokens\":256,\"messages\":{\"a\":{\"role\":\"user\",\"clear_at\":\"next_user_message\",\"content\":{\"t\":{\"type\":\"tool_addition\",\"tool\":{\"definition\":{\"name\":\"bash\"}}}}}}}",
"stream": false,
"count": false,
"reply": {
"status": 200,
"content_type": "application/json",
"body": "{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-opus-5\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}",
"headers": [
[
"Request-Id",
"req_fixture_01"
]
]
},
"execution_session": "exec-fixture-1",
"date": "2026-10-23",
"upstream": [
{
"url": "https://api.anthropic.com/v1/messages?beta=true",
"headers": [
[
"Accept",
"application/json"
],
[
"Accept-Encoding",
"gzip, deflate, br, zstd"
],
[
"Authorization",
"Bearer sk-ant-oat01-FAKE-LOCAL-ONLY"
],
[
"Connection",
"keep-alive"
],
[
"Content-Type",
"application/json"
],
[
"User-Agent",
"claude-cli/2.1.280 (external, cli)"
],
[
"X-Claude-Code-Session-Id",
"301d3765-2947-5ae4-ad6d-216435473fab"
],
[
"X-Stainless-Arch",
"arm64"
],
[
"X-Stainless-Lang",
"js"
],
[
"X-Stainless-OS",
"MacOS"
],
[
"X-Stainless-Package-Version",
"0.112.1"
],
[
"X-Stainless-Retry-Count",
"0"
],
[
"X-Stainless-Runtime",
"node"
],
[
"X-Stainless-Runtime-Version",
"v26.3.0"
],
[
"X-Stainless-Timeout",
"600"
],
[
"anthropic-beta",
"claude-code-20250219,oauth-2025-04-20,interleaved-thinking-2025-05-14,redact-thinking-2026-02-12,thinking-token-count-2026-05-13,context-management-2025-06-27,prompt-caching-scope-2026-01-05,mid-conversation-system-2026-04-07,mid-conversation-tool-changes-2026-07-01,inline-tools-2026-09-15,mid-conversation-system-clear-at-2026-08-21,effort-2025-11-24,extended-cache-ttl-2025-04-11,cache-diagnosis-2026-04-07"
],
[
"anthropic-dangerous-direct-browser-access",
"true"
],
[
"anthropic-version",
"2023-06-01"
],
[
"x-app",
"cli"
],
[
"x-client-request-id",
"db5ec64c-afd0-4bf1-9ab4-578c4f9adc61"
]
],
"body": "{\"model\":\"claude-opus-5\",\"max_tokens\":256,\"messages\":{\"a\":{\"role\":\"user\",\"clear_at\":\"next_user_message\",\"content\":{\"t\":{\"type\":\"tool_addition\",\"tool\":{\"definition\":{\"name\":\"bash\"}}}}}},\"system\":[{\"type\":\"text\",\"text\":\"x-anthropic-billing-header: cc_version=2.1.280.d7b; cc_entrypoint=cli; cch=b506b; cc_prev_req=req_fixture_01; cc_prompt_id=1b7b1b74-1588-4822-b144-7b4737af66b8; cc_turn_origin=human;\"},{\"type\":\"text\",\"text\":\"You are Claude Code, Anthropic's official CLI for Claude.\",\"cache_control\":{\"type\":\"ephemeral\",\"ttl\":\"1h\"}}],\"diagnostics\":{\"previous_message_id\":\"msg_go_fixture\"},\"stream\":false,\"metadata\":{\"user_id\":\"{\\\"device_id\\\":\\\"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\\\",\\\"account_uuid\\\":\\\"aaaaaaaa-bbbb-4ccc-8ddd-eeeeeeeeeeee\\\",\\\"session_id\\\":\\\"301d3765-2947-5ae4-ad6d-216435473fab\\\"}\"}}",
"reply": "{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-opus-5\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}"
}
],
"output": [
"{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-opus-5\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}"
]
},
{
"name": "noroles-object-messages-timing",
"config": "config-version: 8\naccess:\n api-keys: [client-key-1]\noauth:\n auth-dir: AUTH_DIR\n",
"auth_file": "{\"type\": \"claude\", \"access_token\": \"sk-ant-oat01-FAKE-LOCAL-ONLY\", \"refresh_token\": \"sk-ant-ort01-FAKE-LOCAL-ONLY\", \"id_token\": \"\", \"email\": \"fixture@example.invalid\", \"account_uuid\": \"aaaaaaaa-bbbb-4ccc-8ddd-eeeeeeeeeeee\", \"organization_uuid\": \"12345678-1234-4234-8234-123456789abc\", \"organization_name\": \"Fixture\", \"claude_device_ids\": [\"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\"], \"expired\": \"2099-01-01T00:00:00Z\", \"last_refresh\": \"2026-10-01T00:00:00Z\"}",
"client_key": "client-key-1",
"model": "claude-opus-5-5",
"headers": [
[
"Authorization",
"Bearer client-key-1"
],
[
"Content-Type",
"application/json"
],
[
"Anthropic-Version",
"2023-06-01"
]
],
"body": "{\"model\":\"claude-opus-5-5\",\"max_tokens\":256,\"messages\":{\"a\":{\"role\":\"user\",\"output_config\":{\"timing\":{\"now\":\"2026-09-23T00:00:00Z\"}},\"content\":\"x\"}}}",
"stream": false,
"count": false,
"reply": {
"status": 200,
"content_type": "application/json",
"body": "{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-opus-5-5\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}",
"headers": [
[
"Request-Id",
"req_fixture_01"
]
]
},
"execution_session": "exec-fixture-1",
"date": "2026-10-23",
"upstream": [
{
"url": "https://api.anthropic.com/v1/messages?beta=true",
"headers": [
[
"Accept",
"application/json"
],
[
"Accept-Encoding",
"gzip, deflate, br, zstd"
],
[
"Authorization",
"Bearer sk-ant-oat01-FAKE-LOCAL-ONLY"
],
[
"Connection",
"keep-alive"
],
[
"Content-Type",
"application/json"
],
[
"User-Agent",
"claude-cli/2.1.280 (external, cli)"
],
[
"X-Claude-Code-Session-Id",
"301d3765-2947-5ae4-ad6d-216435473fab"
],
[
"X-Stainless-Arch",
"arm64"
],
[
"X-Stainless-Lang",
"js"
],
[
"X-Stainless-OS",
"MacOS"
],
[
"X-Stainless-Package-Version",
"0.112.1"
],
[
"X-Stainless-Retry-Count",
"0"
],
[
"X-Stainless-Runtime",
"node"
],
[
"X-Stainless-Runtime-Version",
"v26.3.0"
],
[
"X-Stainless-Timeout",
"600"
],
[
"anthropic-beta",
"claude-code-20250219,oauth-2025-04-20,interleaved-thinking-2025-05-14,redact-thinking-2026-02-12,thinking-token-count-2026-05-13,context-management-2025-06-27,prompt-caching-scope-2026-01-05,mid-conversation-system-2026-04-07,per-turn-control-2026-07-01,timing-2026-09-09,mid-conversation-tool-changes-2026-07-01,mid-conversation-system-clear-at-2026-08-21,effort-2025-11-24,server-side-fallback-2026-06-01,fallback-credit-2026-06-01,extended-cache-ttl-2025-04-11,cache-diagnosis-2026-04-07"
],
[
"anthropic-dangerous-direct-browser-access",
"true"
],
[
"anthropic-version",
"2023-06-01"
],
[
"x-app",
"cli"
],
[
"x-client-request-id",
"d12fc1e0-0a83-4723-a56d-b28edb9bc26f"
]
],
"body": "{\"model\":\"claude-opus-5-5\",\"max_tokens\":256,\"messages\":{\"a\":{\"role\":\"user\",\"output_config\":{\"timing\":{\"now\":\"2026-09-23T00:00:00Z\"}},\"content\":\"x\"}},\"system\":[{\"type\":\"text\",\"text\":\"x-anthropic-billing-header: cc_version=2.1.280.d7b; cc_entrypoint=cli; cch=241d9; cc_prev_req=req_fixture_01; cc_prompt_id=345bbee8-98c1-4b3b-80f1-52a2c0f97994; cc_turn_origin=human;\"},{\"type\":\"text\",\"text\":\"You are Claude Code, Anthropic's official CLI for Claude.\",\"cache_control\":{\"type\":\"ephemeral\",\"ttl\":\"1h\"}}],\"fallbacks\":[{\"model\":\"claude-opus-4-8\"}],\"diagnostics\":{\"previous_message_id\":\"msg_go_fixture\"},\"stream\":false,\"metadata\":{\"user_id\":\"{\\\"device_id\\\":\\\"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\\\",\\\"account_uuid\\\":\\\"aaaaaaaa-bbbb-4ccc-8ddd-eeeeeeeeeeee\\\",\\\"session_id\\\":\\\"301d3765-2947-5ae4-ad6d-216435473fab\\\"}\"}}",
"reply": "{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-opus-5-5\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}"
}
],
"output": [
"{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-opus-5-5\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}"
]
},
{
"name": "noroles-object-content-inline-tools",
"config": "config-version: 8\naccess:\n api-keys: [client-key-1]\noauth:\n auth-dir: AUTH_DIR\n",
"auth_file": "{\"type\": \"claude\", \"access_token\": \"sk-ant-oat01-FAKE-LOCAL-ONLY\", \"refresh_token\": \"sk-ant-ort01-FAKE-LOCAL-ONLY\", \"id_token\": \"\", \"email\": \"fixture@example.invalid\", \"account_uuid\": \"aaaaaaaa-bbbb-4ccc-8ddd-eeeeeeeeeeee\", \"organization_uuid\": \"12345678-1234-4234-8234-123456789abc\", \"organization_name\": \"Fixture\", \"claude_device_ids\": [\"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\"], \"expired\": \"2099-01-01T00:00:00Z\", \"last_refresh\": \"2026-10-01T00:00:00Z\"}",
"client_key": "client-key-1",
"model": "claude-opus-5",
"headers": [
[
"Authorization",
"Bearer client-key-1"
],
[
"Content-Type",
"application/json"
],
[
"Anthropic-Version",
"2023-06-01"
]
],
"body": "{\"model\":\"claude-opus-5\",\"max_tokens\":256,\"messages\":[{\"role\":\"user\",\"content\":{\"type\":\"tool_addition\",\"tool\":{\"definition\":{\"name\":\"bash\"}}}}]}",
"stream": false,
"count": false,
"reply": {
"status": 200,
"content_type": "application/json",
"body": "{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-opus-5\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}",
"headers": [
[
"Request-Id",
"req_fixture_01"
]
]
},
"date": "2026-10-23",
"upstream": [
{
"url": "https://api.anthropic.com/v1/messages?beta=true",
"headers": [
[
"Accept",
"application/json"
],
[
"Accept-Encoding",
"gzip, deflate, br, zstd"
],
[
"Authorization",
"Bearer sk-ant-oat01-FAKE-LOCAL-ONLY"
],
[
"Connection",
"keep-alive"
],
[
"Content-Type",
"application/json"
],
[
"User-Agent",
"claude-cli/2.1.280 (external, cli)"
],
[
"X-Claude-Code-Session-Id",
"98f9cf0d-4758-57fb-97bc-5a5fb7033d65"
],
[
"X-Stainless-Arch",
"arm64"
],
[
"X-Stainless-Lang",
"js"
],
[
"X-Stainless-OS",
"MacOS"
],
[
"X-Stainless-Package-Version",
"0.112.1"
],
[
"X-Stainless-Retry-Count",
"0"
],
[
"X-Stainless-Runtime",
"node"
],
[
"X-Stainless-Runtime-Version",
"v26.3.0"
],
[
"X-Stainless-Timeout",
"600"
],
[
"anthropic-beta",
"claude-code-20250219,oauth-2025-04-20,interleaved-thinking-2025-05-14,redact-thinking-2026-02-12,thinking-token-count-2026-05-13,context-management-2025-06-27,prompt-caching-scope-2026-01-05,mid-conversation-system-2026-04-07,mid-conversation-tool-changes-2026-07-01,effort-2025-11-24,extended-cache-ttl-2025-04-11,cache-diagnosis-2026-04-07"
],
[
"anthropic-dangerous-direct-browser-access",
"true"
],
[
"anthropic-version",
"2023-06-01"
],
[
"x-app",
"cli"
],
[
"x-client-request-id",
"518c6906-75b0-4073-bfa7-eba4d63a187a"
]
],
"body": "{\"model\":\"claude-opus-5\",\"max_tokens\":256,\"messages\":[{\"role\":\"user\",\"content\":{\"type\":\"tool_addition\",\"tool\":{\"definition\":{\"name\":\"bash\"}}}}],\"system\":[{\"type\":\"text\",\"text\":\"x-anthropic-billing-header: cc_version=2.1.280.d7b; cc_entrypoint=cli; cch=248f5; cc_prompt_id=696f3dab-b940-4ef3-ac9c-662239b27a12; cc_turn_origin=human;\"},{\"type\":\"text\",\"text\":\"You are Claude Code, Anthropic's official CLI for Claude.\",\"cache_control\":{\"type\":\"ephemeral\",\"ttl\":\"1h\"}}],\"diagnostics\":{\"previous_message_id\":null},\"stream\":false,\"metadata\":{\"user_id\":\"{\\\"device_id\\\":\\\"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\\\",\\\"account_uuid\\\":\\\"aaaaaaaa-bbbb-4ccc-8ddd-eeeeeeeeeeee\\\",\\\"session_id\\\":\\\"98f9cf0d-4758-57fb-97bc-5a5fb7033d65\\\"}\"}}",
"reply": "{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-opus-5\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}"
}
],
"output": [
"{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-opus-5\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}"
]
},
{
"name": "noroles-object-tools-advisor",
"config": "config-version: 8\naccess:\n api-keys: [client-key-1]\noauth:\n auth-dir: AUTH_DIR\n",
"auth_file": "{\"type\": \"claude\", \"access_token\": \"sk-ant-oat01-FAKE-LOCAL-ONLY\", \"refresh_token\": \"sk-ant-ort01-FAKE-LOCAL-ONLY\", \"id_token\": \"\", \"email\": \"fixture@example.invalid\", \"account_uuid\": \"aaaaaaaa-bbbb-4ccc-8ddd-eeeeeeeeeeee\", \"organization_uuid\": \"12345678-1234-4234-8234-123456789abc\", \"organization_name\": \"Fixture\", \"claude_device_ids\": [\"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\"], \"expired\": \"2099-01-01T00:00:00Z\", \"last_refresh\": \"2026-10-01T00:00:00Z\"}",
"client_key": "client-key-1",
"model": "claude-opus-5",
"headers": [
[
"Authorization",
"Bearer client-key-1"
],
[
"Content-Type",
"application/json"
],
[
"Anthropic-Version",
"2023-06-01"
]
],
"body": "{\"model\":\"claude-opus-5\",\"max_tokens\":256,\"tools\":{\"type\":\"advisor_20260301\",\"name\":\"advisor\",\"model\":\"claude-opus-5\"},\"messages\":[{\"role\":\"user\",\"content\":\"Define cache\"}]}",
"stream": false,
"count": false,
"reply": {
"status": 200,
"content_type": "application/json",
"body": "{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-opus-5\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}",
"headers": [
[
"Request-Id",
"req_fixture_01"
]
]
},
"date": "2026-10-23",
"upstream": [
{
"url": "https://api.anthropic.com/v1/messages?beta=true",
"headers": [
[
"Accept",
"application/json"
],
[
"Accept-Encoding",
"gzip, deflate, br, zstd"
],
[
"Authorization",
"Bearer sk-ant-oat01-FAKE-LOCAL-ONLY"
],
[
"Connection",
"keep-alive"
],
[
"Content-Type",
"application/json"
],
[
"User-Agent",
"claude-cli/2.1.280 (external, cli)"
],
[
"X-Claude-Code-Session-Id",
"39876100-5080-5e53-8d11-7556561ed48f"
],
[
"X-Stainless-Arch",
"arm64"
],
[
"X-Stainless-Lang",
"js"
],
[
"X-Stainless-OS",
"MacOS"
],
[
"X-Stainless-Package-Version",
"0.112.1"
],
[
"X-Stainless-Retry-Count",
"0"
],
[
"X-Stainless-Runtime",
"node"
],
[
"X-Stainless-Runtime-Version",
"v26.3.0"
],
[
"X-Stainless-Timeout",
"600"
],
[
"anthropic-beta",
"claude-code-20250219,oauth-2025-04-20,interleaved-thinking-2025-05-14,redact-thinking-2026-02-12,thinking-token-count-2026-05-13,context-management-2025-06-27,prompt-caching-scope-2026-01-05,mid-conversation-system-2026-04-07,mid-conversation-tool-changes-2026-07-01,effort-2025-11-24,extended-cache-ttl-2025-04-11,cache-diagnosis-2026-04-07"
],
[
"anthropic-dangerous-direct-browser-access",
"true"
],
[
"anthropic-version",
"2023-06-01"
],
[
"x-app",
"cli"
],
[
"x-client-request-id",
"646ff471-4ea7-47a1-b50b-cfff4da2eb74"
]
],
"body": "{\"model\":\"claude-opus-5\",\"max_tokens\":256,\"tools\":{\"type\":\"advisor_20260301\",\"name\":\"advisor\",\"model\":\"claude-opus-5\"},\"messages\":[{\"role\":\"user\",\"content\":[{\"type\":\"text\",\"text\":\"\u003csystem-reminder\u003e\\nAs you answer the user's questions, you can use the following context:\\n# currentDate\\nToday's date is 2026-10-23.\\n\\n IMPORTANT: this context may or may not be relevant to your tasks. You should not respond to this context unless it is highly relevant to your task.\\n\u003c/system-reminder\u003e\\n\\n\"},{\"type\":\"text\",\"text\":\"Define cache\",\"cache_control\":{\"type\":\"ephemeral\",\"ttl\":\"1h\"}}]}],\"system\":[{\"type\":\"text\",\"text\":\"x-anthropic-billing-header: cc_version=2.1.280.f5b; cc_entrypoint=cli; cch=7f83b; cc_prompt_id=97b50850-3df1-4c9d-924d-0e944b25403a; cc_turn_origin=human;\"},{\"type\":\"text\",\"text\":\"You are Claude Code, Anthropic's official CLI for Claude.\",\"cache_control\":{\"type\":\"ephemeral\",\"ttl\":\"1h\"}}],\"diagnostics\":{\"previous_message_id\":null},\"stream\":false,\"metadata\":{\"user_id\":\"{\\\"device_id\\\":\\\"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\\\",\\\"account_uuid\\\":\\\"aaaaaaaa-bbbb-4ccc-8ddd-eeeeeeeeeeee\\\",\\\"session_id\\\":\\\"39876100-5080-5e53-8d11-7556561ed48f\\\"}\"}}",
"reply": "{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-opus-5\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}"
}
],
"output": [
"{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-opus-5\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}"
]
},
{
"name": "noroles-mid-system-spaced-role",
"config": "config-version: 8\naccess:\n api-keys: [client-key-1]\noauth:\n auth-dir: AUTH_DIR\n",
"auth_file": "{\"type\": \"claude\", \"access_token\": \"sk-ant-oat01-FAKE-LOCAL-ONLY\", \"refresh_token\": \"sk-ant-ort01-FAKE-LOCAL-ONLY\", \"id_token\": \"\", \"email\": \"fixture@example.invalid\", \"account_uuid\": \"aaaaaaaa-bbbb-4ccc-8ddd-eeeeeeeeeeee\", \"organization_uuid\": \"12345678-1234-4234-8234-123456789abc\", \"organization_name\": \"Fixture\", \"claude_device_ids\": [\"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\"], \"expired\": \"2099-01-01T00:00:00Z\", \"last_refresh\": \"2026-10-01T00:00:00Z\"}",
"client_key": "client-key-1",
"model": "claude-sonnet-4-6",
"headers": [
[
"Authorization",
"Bearer client-key-1"
],
[
"Content-Type",
"application/json"
],
[
"Anthropic-Version",
"2023-06-01"
]
],
"body": "{\"model\":\"claude-sonnet-4-6\",\"max_tokens\":256,\"messages\":[{\"role\":\"user\",\"content\":\"Define cache\"},{\"role\":\" System \",\"content\":\"Answer briefly.\"}]}",
"stream": false,
"count": false,
"reply": {
"status": 200,
"content_type": "application/json",
"body": "{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-sonnet-4-6\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}",
"headers": [
[
"Request-Id",
"req_fixture_01"
]
]
},
"date": "2026-10-23",
"upstream": null,
"output": null,
"error": "invalid_request_error: role 'system' is not supported on this model. Model \"claude-sonnet-4-6\" predates mid-conversation system turns, so system instructions must stay in the top-level system field for it.",
"error_status": 400,
"error_info": {
"request_scoped": true,
"credential_scoped": false,
"retry_after": false,
"direct": false
}
},
{
"name": "noroles-title-duplicate-props",
"config": "config-version: 8\naccess:\n api-keys: [client-key-1]\noauth:\n auth-dir: AUTH_DIR\n",
"auth_file": "{\"type\": \"claude\", \"access_token\": \"sk-ant-oat01-FAKE-LOCAL-ONLY\", \"refresh_token\": \"sk-ant-ort01-FAKE-LOCAL-ONLY\", \"id_token\": \"\", \"email\": \"fixture@example.invalid\", \"account_uuid\": \"aaaaaaaa-bbbb-4ccc-8ddd-eeeeeeeeeeee\", \"organization_uuid\": \"12345678-1234-4234-8234-123456789abc\", \"organization_name\": \"Fixture\", \"claude_device_ids\": [\"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\"], \"expired\": \"2099-01-01T00:00:00Z\", \"last_refresh\": \"2026-10-01T00:00:00Z\"}",
"client_key": "client-key-1",
"model": "claude-opus-5",
"headers": [
[
"Authorization",
"Bearer client-key-1"
],
[
"Content-Type",
"application/json"
],
[
"Anthropic-Version",
"2023-06-01"
]
],
"body": "{\"model\":\"claude-opus-5\",\"max_tokens\":64,\"system\":\"Return a short title for this coding session.\",\"output_config\":{\"format\":{\"type\":\"json_schema\",\"schema\":{\"type\":\"object\",\"properties\":{\"title\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"}}}}},\"messages\":[{\"role\":\"user\",\"content\":\"Fix the login bug\"}]}",
"stream": false,
"count": false,
"reply": {
"status": 200,
"content_type": "application/json",
"body": "{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-opus-5\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}",
"headers": [
[
"Request-Id",
"req_fixture_01"
]
]
},
"date": "2026-10-23",
"upstream": [
{
"url": "https://api.anthropic.com/v1/messages?beta=true",
"headers": [
[
"Accept",
"application/json"
],
[
"Accept-Encoding",
"gzip, deflate, br, zstd"
],
[
"Authorization",
"Bearer sk-ant-oat01-FAKE-LOCAL-ONLY"
],
[
"Connection",
"keep-alive"
],
[
"Content-Type",
"application/json"
],
[
"User-Agent",
"claude-cli/2.1.280 (external, cli)"
],
[
"X-Claude-Code-Session-Id",
"41e0c803-3af2-5c2c-90e0-4cdeaa266650"
],
[
"X-Stainless-Arch",
"arm64"
],
[
"X-Stainless-Lang",
"js"
],
[
"X-Stainless-OS",
"MacOS"
],
[
"X-Stainless-Package-Version",
"0.112.1"
],
[
"X-Stainless-Retry-Count",
"0"
],
[
"X-Stainless-Runtime",
"node"
],
[
"X-Stainless-Runtime-Version",
"v26.3.0"
],
[
"X-Stainless-Timeout",
"600"
],
[
"anthropic-beta",
"claude-code-20250219,oauth-2025-04-20,interleaved-thinking-2025-05-14,redact-thinking-2026-02-12,thinking-token-count-2026-05-13,context-management-2025-06-27,prompt-caching-scope-2026-01-05,mid-conversation-system-2026-04-07,mid-conversation-tool-changes-2026-07-01"
],
[
"anthropic-dangerous-direct-browser-access",
"true"
],
[
"anthropic-version",
"2023-06-01"
],
[
"x-app",
"cli"
],
[
"x-client-request-id",
"a81dbf37-049b-4c62-8ce0-0eec4773afe1"
]
],
"body": "{\"model\":\"claude-opus-5\",\"max_tokens\":64,\"system\":[{\"type\":\"text\",\"text\":\"x-anthropic-billing-header: cc_version=2.1.280.180; cc_entrypoint=cli; cch=2ff84;\"},{\"type\":\"text\",\"text\":\"You are Claude Code, Anthropic's official CLI for Claude.\",\"cache_control\":{\"type\":\"ephemeral\"}}],\"output_config\":{\"format\":{\"type\":\"json_schema\",\"schema\":{\"type\":\"object\",\"properties\":{\"title\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"}}}}},\"messages\":[{\"role\":\"user\",\"content\":[{\"type\":\"text\",\"text\":\"\u003csystem-reminder\u003e\\nAs you answer the user's questions, you can use the following context:\\n# currentDate\\nToday's date is 2026-10-23.\\n\\n IMPORTANT: this context may or may not be relevant to your tasks. You should not respond to this context unless it is highly relevant to your task.\\n\u003c/system-reminder\u003e\\n\\n\"},{\"type\":\"text\",\"text\":\"Fix the login bug\",\"cache_control\":{\"type\":\"ephemeral\"}}]},{\"role\":\"system\",\"content\":[{\"type\":\"text\",\"text\":\"Return a short title for this coding session.\",\"cache_control\":{\"type\":\"ephemeral\"}}]}],\"stream\":false,\"metadata\":{\"user_id\":\"{\\\"device_id\\\":\\\"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\\\",\\\"account_uuid\\\":\\\"aaaaaaaa-bbbb-4ccc-8ddd-eeeeeeeeeeee\\\",\\\"session_id\\\":\\\"41e0c803-3af2-5c2c-90e0-4cdeaa266650\\\"}\"}}",
"reply": "{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-opus-5\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}"
}
],
"output": [
"{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-opus-5\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}"
]
},
{
"name": "noroles-fold-speed-display",
"config": "config-version: 8\naccess:\n api-keys: [client-key-1]\noauth:\n auth-dir: AUTH_DIR\n",
"auth_file": "{\"type\": \"claude\", \"access_token\": \"sk-ant-oat01-FAKE-LOCAL-ONLY\", \"refresh_token\": \"sk-ant-ort01-FAKE-LOCAL-ONLY\", \"id_token\": \"\", \"email\": \"fixture@example.invalid\", \"account_uuid\": \"aaaaaaaa-bbbb-4ccc-8ddd-eeeeeeeeeeee\", \"organization_uuid\": \"12345678-1234-4234-8234-123456789abc\", \"organization_name\": \"Fixture\", \"claude_device_ids\": [\"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\"], \"expired\": \"2099-01-01T00:00:00Z\", \"last_refresh\": \"2026-10-01T00:00:00Z\"}",
"client_key": "client-key-1",
"model": "claude-opus-5",
"headers": [
[
"Authorization",
"Bearer client-key-1"
],
[
"Content-Type",
"application/json"
],
[
"Anthropic-Version",
"2023-06-01"
]
],
"body": "{\"model\":\"claude-opus-5\",\"max_tokens\":2048,\"speed\":\"faſt\",\"thinking\":{\"type\":\"adaptive\",\"display\":\"updateſ\"},\"messages\":[{\"role\":\"user\",\"content\":\"Define cache\"}]}",
"stream": false,
"count": false,
"reply": {
"status": 200,
"content_type": "application/json",
"body": "{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-opus-5\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}",
"headers": [
[
"Request-Id",
"req_fixture_01"
]
]
},
"date": "2026-10-23",
"upstream": [
{
"url": "https://api.anthropic.com/v1/messages?beta=true",
"headers": [
[
"Accept",
"application/json"
],
[
"Accept-Encoding",
"gzip, deflate, br, zstd"
],
[
"Authorization",
"Bearer sk-ant-oat01-FAKE-LOCAL-ONLY"
],
[
"Connection",
"keep-alive"
],
[
"Content-Type",
"application/json"
],
[
"User-Agent",
"claude-cli/2.1.280 (external, cli)"
],
[
"X-Claude-Code-Session-Id",
"39876100-5080-5e53-8d11-7556561ed48f"
],
[
"X-Stainless-Arch",
"arm64"
],
[
"X-Stainless-Lang",
"js"
],
[
"X-Stainless-OS",
"MacOS"
],
[
"X-Stainless-Package-Version",
"0.112.1"
],
[
"X-Stainless-Retry-Count",
"0"
],
[
"X-Stainless-Runtime",
"node"
],
[
"X-Stainless-Runtime-Version",
"v26.3.0"
],
[
"X-Stainless-Timeout",
"600"
],
[
"anthropic-beta",
"claude-code-20250219,oauth-2025-04-20,interleaved-thinking-2025-05-14,thinking-token-count-2026-05-13,context-management-2025-06-27,prompt-caching-scope-2026-01-05,mid-conversation-system-2026-04-07,mid-conversation-tool-changes-2026-07-01,effort-2025-11-24,thinking-display-updates-2026-08-18,fast-mode-2026-02-01,extended-cache-ttl-2025-04-11,cache-diagnosis-2026-04-07"
],
[
"anthropic-dangerous-direct-browser-access",
"true"
],
[
"anthropic-version",
"2023-06-01"
],
[
"x-app",
"cli"
],
[
"x-client-request-id",
"18c109f8-7382-44b9-8a37-d99f1d6a485a"
]
],
"body": "{\"model\":\"claude-opus-5\",\"max_tokens\":2048,\"speed\":\"faſt\",\"thinking\":{\"type\":\"adaptive\",\"display\":\"updateſ\"},\"messages\":[{\"role\":\"user\",\"content\":[{\"type\":\"text\",\"text\":\"\u003csystem-reminder\u003e\\nAs you answer the user's questions, you can use the following context:\\n# currentDate\\nToday's date is 2026-10-23.\\n\\n IMPORTANT: this context may or may not be relevant to your tasks. You should not respond to this context unless it is highly relevant to your task.\\n\u003c/system-reminder\u003e\\n\\n\"},{\"type\":\"text\",\"text\":\"Define cache\",\"cache_control\":{\"type\":\"ephemeral\",\"ttl\":\"1h\"}}]}],\"system\":[{\"type\":\"text\",\"text\":\"x-anthropic-billing-header: cc_version=2.1.280.f5b; cc_entrypoint=cli; cch=b6a85; cc_prompt_id=97b50850-3df1-4c9d-924d-0e944b25403a; cc_turn_origin=human;\"},{\"type\":\"text\",\"text\":\"You are Claude Code, Anthropic's official CLI for Claude.\",\"cache_control\":{\"type\":\"ephemeral\",\"ttl\":\"1h\"}}],\"context_management\":{\"edits\":[{\"type\":\"clear_thinking_20251015\",\"keep\":\"all\"}]},\"diagnostics\":{\"previous_message_id\":null},\"stream\":false,\"metadata\":{\"user_id\":\"{\\\"device_id\\\":\\\"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\\\",\\\"account_uuid\\\":\\\"aaaaaaaa-bbbb-4ccc-8ddd-eeeeeeeeeeee\\\",\\\"session_id\\\":\\\"39876100-5080-5e53-8d11-7556561ed48f\\\"}\"}}",
"reply": "{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-opus-5\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}"
}
],
"output": [
"{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-opus-5\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}"
]
},
{
"name": "noroles-object-messages-title-schema",
"config": "config-version: 8\naccess:\n api-keys: [client-key-1]\noauth:\n auth-dir: AUTH_DIR\n",
"auth_file": "{\"type\": \"claude\", \"access_token\": \"sk-ant-oat01-FAKE-LOCAL-ONLY\", \"refresh_token\": \"sk-ant-ort01-FAKE-LOCAL-ONLY\", \"id_token\": \"\", \"email\": \"fixture@example.invalid\", \"account_uuid\": \"aaaaaaaa-bbbb-4ccc-8ddd-eeeeeeeeeeee\", \"organization_uuid\": \"12345678-1234-4234-8234-123456789abc\", \"organization_name\": \"Fixture\", \"claude_device_ids\": [\"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\"], \"expired\": \"2099-01-01T00:00:00Z\", \"last_refresh\": \"2026-10-01T00:00:00Z\"}",
"client_key": "client-key-1",
"model": "claude-opus-5",
"headers": [
[
"Authorization",
"Bearer client-key-1"
],
[
"Content-Type",
"application/json"
],
[
"Anthropic-Version",
"2023-06-01"
]
],
"body": "{\"model\":\"claude-opus-5\",\"max_tokens\":64,\"output_config\":{\"format\":{\"type\":\"json_schema\",\"schema\":{\"type\":\"object\",\"properties\":{\"title\":{\"type\":\"string\"}}}}},\"messages\":{\"role\":\"user\",\"content\":\"Return a short title for \u003csession\u003e\"}}",
"stream": false,
"count": false,
"reply": {
"status": 200,
"content_type": "application/json",
"body": "{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-opus-5\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}",
"headers": [
[
"Request-Id",
"req_fixture_01"
]
]
},
"execution_session": "exec-fixture-1",
"date": "2026-10-23",
"upstream": [
{
"url": "https://api.anthropic.com/v1/messages?beta=true",
"headers": [
[
"Accept",
"application/json"
],
[
"Accept-Encoding",
"gzip, deflate, br, zstd"
],
[
"Authorization",
"Bearer sk-ant-oat01-FAKE-LOCAL-ONLY"
],
[
"Connection",
"keep-alive"
],
[
"Content-Type",
"application/json"
],
[
"User-Agent",
"claude-cli/2.1.280 (external, cli)"
],
[
"X-Claude-Code-Session-Id",
"301d3765-2947-5ae4-ad6d-216435473fab"
],
[
"X-Stainless-Arch",
"arm64"
],
[
"X-Stainless-Lang",
"js"
],
[
"X-Stainless-OS",
"MacOS"
],
[
"X-Stainless-Package-Version",
"0.112.1"
],
[
"X-Stainless-Retry-Count",
"0"
],
[
"X-Stainless-Runtime",
"node"
],
[
"X-Stainless-Runtime-Version",
"v26.3.0"
],
[
"X-Stainless-Timeout",
"600"
],
[
"anthropic-beta",
"claude-code-20250219,oauth-2025-04-20,interleaved-thinking-2025-05-14,redact-thinking-2026-02-12,thinking-token-count-2026-05-13,context-management-2025-06-27,prompt-caching-scope-2026-01-05,mid-conversation-system-2026-04-07,mid-conversation-tool-changes-2026-07-01,effort-2025-11-24,extended-cache-ttl-2025-04-11,cache-diagnosis-2026-04-07"
],
[
"anthropic-dangerous-direct-browser-access",
"true"
],
[
"anthropic-version",
"2023-06-01"
],
[
"x-app",
"cli"
],
[
"x-client-request-id",
"816d8ac0-4b04-474e-bc14-08cc88e707a4"
]
],
"body": "{\"model\":\"claude-opus-5\",\"max_tokens\":64,\"output_config\":{\"format\":{\"type\":\"json_schema\",\"schema\":{\"type\":\"object\",\"properties\":{\"title\":{\"type\":\"string\"}}}}},\"messages\":{\"role\":\"user\",\"content\":\"Return a short title for \u003csession\u003e\"},\"system\":[{\"type\":\"text\",\"text\":\"x-anthropic-billing-header: cc_version=2.1.280.d7b; cc_entrypoint=cli; cch=9538e; cc_prev_req=req_fixture_01; cc_prompt_id=4cf87f53-b995-40bc-b7b8-c6b3b0e1d18b; cc_turn_origin=human;\"},{\"type\":\"text\",\"text\":\"You are Claude Code, Anthropic's official CLI for Claude.\",\"cache_control\":{\"type\":\"ephemeral\",\"ttl\":\"1h\"}}],\"diagnostics\":{\"previous_message_id\":\"msg_go_fixture\"},\"stream\":false,\"metadata\":{\"user_id\":\"{\\\"device_id\\\":\\\"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\\\",\\\"account_uuid\\\":\\\"aaaaaaaa-bbbb-4ccc-8ddd-eeeeeeeeeeee\\\",\\\"session_id\\\":\\\"301d3765-2947-5ae4-ad6d-216435473fab\\\"}\"}}",
"reply": "{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-opus-5\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}"
}
],
"output": [
"{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-opus-5\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}"
]
},
{
"name": "noroles-object-messages-advisor",
"config": "config-version: 8\naccess:\n api-keys: [client-key-1]\noauth:\n auth-dir: AUTH_DIR\n",
"auth_file": "{\"type\": \"claude\", \"access_token\": \"sk-ant-oat01-FAKE-LOCAL-ONLY\", \"refresh_token\": \"sk-ant-ort01-FAKE-LOCAL-ONLY\", \"id_token\": \"\", \"email\": \"fixture@example.invalid\", \"account_uuid\": \"aaaaaaaa-bbbb-4ccc-8ddd-eeeeeeeeeeee\", \"organization_uuid\": \"12345678-1234-4234-8234-123456789abc\", \"organization_name\": \"Fixture\", \"claude_device_ids\": [\"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\"], \"expired\": \"2099-01-01T00:00:00Z\", \"last_refresh\": \"2026-10-01T00:00:00Z\"}",
"client_key": "client-key-1",
"model": "claude-opus-5",
"headers": [
[
"Authorization",
"Bearer client-key-1"
],
[
"Content-Type",
"application/json"
],
[
"Anthropic-Version",
"2023-06-01"
]
],
"body": "{\"model\":\"claude-opus-5\",\"max_tokens\":256,\"system\":\"Follow the house style.\",\"messages\":{\"role\":\"user\",\"content\":{\"type\":\"advisor_tool_result\",\"content\":\"x\"}}}",
"stream": false,
"count": false,
"reply": {
"status": 200,
"content_type": "application/json",
"body": "{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-opus-5\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}",
"headers": [
[
"Request-Id",
"req_fixture_01"
]
]
},
"execution_session": "exec-fixture-1",
"date": "2026-10-23",
"upstream": [
{
"url": "https://api.anthropic.com/v1/messages?beta=true",
"headers": [
[
"Accept",
"application/json"
],
[
"Accept-Encoding",
"gzip, deflate, br, zstd"
],
[
"Authorization",
"Bearer sk-ant-oat01-FAKE-LOCAL-ONLY"
],
[
"Connection",
"keep-alive"
],
[
"Content-Type",
"application/json"
],
[
"User-Agent",
"claude-cli/2.1.280 (external, cli)"
],
[
"X-Claude-Code-Session-Id",
"301d3765-2947-5ae4-ad6d-216435473fab"
],
[
"X-Stainless-Arch",
"arm64"
],
[
"X-Stainless-Lang",
"js"
],
[
"X-Stainless-OS",
"MacOS"
],
[
"X-Stainless-Package-Version",
"0.112.1"
],
[
"X-Stainless-Retry-Count",
"0"
],
[
"X-Stainless-Runtime",
"node"
],
[
"X-Stainless-Runtime-Version",
"v26.3.0"
],
[
"X-Stainless-Timeout",
"600"
],
[
"anthropic-beta",
"claude-code-20250219,oauth-2025-04-20,interleaved-thinking-2025-05-14,redact-thinking-2026-02-12,thinking-token-count-2026-05-13,context-management-2025-06-27,prompt-caching-scope-2026-01-05,mid-conversation-system-2026-04-07,mid-conversation-tool-changes-2026-07-01,effort-2025-11-24,extended-cache-ttl-2025-04-11,cache-diagnosis-2026-04-07"
],
[
"anthropic-dangerous-direct-browser-access",
"true"
],
[
"anthropic-version",
"2023-06-01"
],
[
"x-app",
"cli"
],
[
"x-client-request-id",
"29600fde-1813-404c-8fe2-468993f741e1"
]
],
"body": "{\"model\":\"claude-opus-5\",\"max_tokens\":256,\"system\":[{\"type\":\"text\",\"text\":\"x-anthropic-billing-header: cc_version=2.1.280.d7b; cc_entrypoint=cli; cch=472e7; cc_prev_req=req_fixture_01; cc_prompt_id=72bda125-c10d-444e-bcf4-72bc45652a01; cc_turn_origin=human;\"},{\"type\":\"text\",\"text\":\"You are Claude Code, Anthropic's official CLI for Claude.\",\"cache_control\":{\"type\":\"ephemeral\",\"ttl\":\"1h\"}}],\"messages\":{\"role\":\"user\",\"content\":{\"type\":\"advisor_tool_result\",\"content\":\"x\"}},\"diagnostics\":{\"previous_message_id\":\"msg_go_fixture\"},\"stream\":false,\"metadata\":{\"user_id\":\"{\\\"device_id\\\":\\\"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\\\",\\\"account_uuid\\\":\\\"aaaaaaaa-bbbb-4ccc-8ddd-eeeeeeeeeeee\\\",\\\"session_id\\\":\\\"301d3765-2947-5ae4-ad6d-216435473fab\\\"}\"}}",
"reply": "{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-opus-5\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}"
}
],
"output": [
"{\"id\":\"msg_go_fixture\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-opus-5\",\"content\":[{\"type\":\"text\",\"text\":\"ok\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":5,\"output_tokens\":2}}"
]
}
],
"sjson": [
{
"op": "raw",
"json": "{\"a\":1 }",
"path": "b",
"value": "2",
"out": "{\"a\":1 ,\"b\":2}"
},
{
"op": "raw",
"json": "{}",
"path": "b",
"value": "2",
"out": "{\"b\":2}"
},
{
"op": "raw",
"json": " { } ",
"path": "b",
"value": "2",
"out": "{ \"b\":2}"
},
{
"op": "raw",
"json": "{\"a\":{\"x\":1}}",
"path": "a.x",
"value": "true",
"out": "{\"a\":{\"x\":true}}"
},
{
"op": "raw",
"json": "{\"a\":1}",
"path": "m.user_id",
"value": "\"u\"",
"out": "{\"a\":1,\"m\":{\"user_id\":\"u\"}}"
},
{
"op": "raw",
"json": "{\"a\":[1,2]}",
"path": "a.3",
"value": "9",
"out": "{\"a\":[1,2,null,9]}"
},
{
"op": "raw",
"json": "{\"a\":[]}",
"path": "a.1",
"value": "9",
"out": "{\"a\":[null,9]}"
},
{
"op": "raw",
"json": "{\"a\":[1]}",
"path": "a.-1",
"value": "9",
"out": "{\"a\":[1,9]}"
},
{
"op": "raw",
"json": "{\"a\":[{\"b\":1}]}",
"path": "a.0.c.d",
"value": "[]",
"out": "{\"a\":[{\"b\":1,\"c\":{\"d\":[]}}]}"
},
{
"op": "raw",
"json": "{\n \"a\": 1\n}\n",
"path": "z",
"value": "0",
"out": "{\n \"a\": 1\n,\"z\":0}"
},
{
"op": "delete",
"json": "{\"a\":1, \"b\":2,\"c\":3}",
"path": "b",
"out": "{\"a\":1,\"c\":3}"
},
{
"op": "delete",
"json": "{\"a\":1, \"b\":2}",
"path": "a",
"out": "{ \"b\":2}"
},
{
"op": "delete",
"json": "{ \"a\" : 1 }",
"path": "a",
"out": "{ }"
},
{
"op": "delete",
"json": "{\"a\":[1,2,3]}",
"path": "a.0",
"out": "{\"a\":[2,3]}"
},
{
"op": "delete",
"json": "{\"a\":[1,2,3]}",
"path": "a.2",
"out": "{\"a\":[1,2]}"
},
{
"op": "delete",
"json": "{\"a\":[1, 2 ,3]}",
"path": "a.1",
"out": "{\"a\":[1 ,3]}"
},
{
"op": "delete",
"json": "{\"a\":1}",
"path": "zz",
"out": "{\"a\":1}"
},
{
"op": "delete",
"json": "{\"a\":{\"b\":{\"c\":1,\"d\":2}}}",
"path": "a.b.d",
"out": "{\"a\":{\"b\":{\"c\":1}}}"
},
{
"op": "delete",
"json": "{\"a\" :1 , \"b\":{\"x\":[]} }",
"path": "b.x",
"out": "{\"a\" :1 , \"b\":{} }"
},
{
"op": "string",
"json": "{\"a\":1}",
"path": "t",
"value": "x\u003cy",
"out": "{\"a\":1,\"t\":\"x\u003cy\"}"
},
{
"op": "string",
"json": "{\"a\":1}",
"path": "t",
"value": "é\u003c\u0026\u003e\u2028\u0001\"\\\n",
"out": "{\"a\":1,\"t\":\"é\\u003c\\u0026\\u003e\\u2028\\u0001\\\"\\\\\\n\"}"
},
{
"op": "string",
"json": "{\"a\":\"old\"}",
"path": "a",
"value": "new",
"out": "{\"a\":\"new\"}"
},
{
"op": "string",
"json": "{\"a\":1}",
"path": "t",
"value": "b\bf\fu\u000b",
"out": "{\"a\":1,\"t\":\"b\\bf\\fu\\u000b\"}"
}
],
"source": "CLIProxyAPI v8.0.35 (ae3ee3be303fb07fb8173279923413005bf32177) ClaudeExecutor, in-process; see tests/reference/claude/README.md"
}