Document verified curl support and add live browser HTTP tests
Browse filesFiles changed (16)
- README.md+2-2
- app/README.md+1-1
- app/index.html+1-1
- app/public/http-help.html+1-1
- app/src/browser-http.mjs+1-1
- app/src/workspace.mjs+1-1
- app/tests/http-agent-live.mjsAdded+61
- app/tests/http-live.mjsAdded+59
- assets/agent.worker-euGpP_Md.jsAdded
- assets/index-wZi62oe2.jsAdded
- http-help.html+1-1
- index.html+2-2
- validation/http-desktop.pngAdded
- validation/http-mobile.pngAdded
- validation/http-shell-live-initial.jsonAdded+239
- validation/http-shell-live.jsonAdded+239
22 unmodified lines232425262728298 unmodified lines38394041424322 unmodified linesAn independent duplicate of [victor/MiniCPM5-2B-WebGPU-Pi](https://huggingface.co/spaces/victor/MiniCPM5-2B-WebGPU-Pi) at revision `959e272adeb7931e32d3eb2177dc1d5e96c3e967`. The original Space is unchanged.MiniCPM5-2B inference and just-bash run in a browser worker. This copy adds real `curl`/`wget` requests through browser `fetch`, with no backend or proxy. The first model download is about 1.84 GB, verified and cached locally. WebGPU with shader-f16 is required for inference; the Shell can run HTTP commands without loading the model.Try in Shell:8 unmodified linesBrowser CORS applies. Redirects require the final URL directly: browsers hide redirect destinations, so this copy reports an error instead of silently returning empty output or following unchecked hosts. Cookies are omitted. Explicit request URLs, headers, and bodies are sent to the destination; inference and workspace storage remain local. Node.js, Python, npm, and native programs remain unavailable.Source is under `app/`. Rebuild with `cd app && npm ci && npm test && npm run build`, then `python3 scripts/stage.py`. The HTTP implementation is in `app/src/browser-http.mjs`; it uses just-bash's existing curl/wget commands and custom transport hook. Tests and results are in `validation/`.The small 4-bit model can make mistakes. Shell transport checks and actual-model trials are reported separately; they do not establish general agent reliability or physical-phone performance.22 unmodified lines232425262728298 unmodified lines38394041424322 unmodified linesAn independent duplicate of [victor/MiniCPM5-2B-WebGPU-Pi](https://huggingface.co/spaces/victor/MiniCPM5-2B-WebGPU-Pi) at revision `959e272adeb7931e32d3eb2177dc1d5e96c3e967`. The original Space is unchanged.MiniCPM5-2B inference and just-bash run in a browser worker. This copy adds real `curl` requests through browser `fetch`, with no backend or proxy. The first model download is about 1.84 GB, verified and cached locally. WebGPU with shader-f16 is required for inference; the Shell can run HTTP commands without loading the model.Try in Shell:8 unmodified linesBrowser CORS applies. Redirects require the final URL directly: browsers hide redirect destinations, so this copy reports an error instead of silently returning empty output or following unchecked hosts. Cookies are omitted. Explicit request URLs, headers, and bodies are sent to the destination; inference and workspace storage remain local. Node.js, Python, npm, and native programs remain unavailable.Source is under `app/`. Rebuild with `cd app && npm ci && npm test && npm run build`, then `python3 scripts/stage.py`. The HTTP implementation is in `app/src/browser-http.mjs`; it uses just-bash's existing curl commands and custom transport hook. Tests and results are in `validation/`.The small 4-bit model can make mistakes. Shell transport checks and actual-model trials are reported separately; they do not establish general agent reliability or physical-phone performance.
51 unmodified lines5253545556575851 unmodified linesThe full Node CLI, host filesystem, OAuth providers, extensions, package installation, and RPC server are not included. xterm.js is the terminal emulator; it does not add Node.js or a native shell. Model inference and tool execution remain in the browser worker. Terminal control sequences from model/file output are stripped before rendering, and Markdown images do not trigger downloads.just-bash is a simulated shell, not a Linux VM. Shell scripts, pipes, redirects, `awk`, `jq`, `sed`, `grep`, `find`, and other supported text commands execute in JavaScript. Node.js, Python, npm, native executables, and SQLite are unavailable. This HTTP experiment enables curl/wget for selected HTTPS APIs through a browser fetch adapter; see public/http-help.html for hosts, examples, and limits. The installed browser bundle also excludes working gzip/zlib commands. Shell cwd and variables reset between commands; filesystem changes persist. Commands have a 10-second deadline, 3,000-command cap, 16 MiB filesystem budget, and 256 KiB output budget. Tool output passed to the model is capped at 6,000 characters.Local model and filesystem tool calls can run with the browser network disabled after loading. HTTP commands require a connection and CORS permission from the destination. Reopening the app itself still requires its static HTML/JS/WASM assets; there is no offline service worker. Browser storage belongs to this site's origin and may be evicted by the browser. Export important work.51 unmodified lines5253545556575851 unmodified linesThe full Node CLI, host filesystem, OAuth providers, extensions, package installation, and RPC server are not included. xterm.js is the terminal emulator; it does not add Node.js or a native shell. Model inference and tool execution remain in the browser worker. Terminal control sequences from model/file output are stripped before rendering, and Markdown images do not trigger downloads.just-bash is a simulated shell, not a Linux VM. Shell scripts, pipes, redirects, `awk`, `jq`, `sed`, `grep`, `find`, and other supported text commands execute in JavaScript. Node.js, Python, npm, native executables, and SQLite are unavailable. This HTTP experiment enables curl for selected HTTPS APIs through a browser fetch adapter; see public/http-help.html for hosts, examples, and limits. The installed browser bundle also excludes working gzip/zlib commands. Shell cwd and variables reset between commands; filesystem changes persist. Commands have a 10-second deadline, 3,000-command cap, 16 MiB filesystem budget, and 256 KiB output budget. Tool output passed to the model is capped at 6,000 characters.Local model and filesystem tool calls can run with the browser network disabled after loading. HTTP commands require a connection and CORS permission from the destination. Reopening the app itself still requires its static HTML/JS/WASM assets; there is no offline service worker. Browser storage belongs to this site's origin and may be evicted by the browser. Export important work.
64 unmodified lines6566676869707164 unmodified lines</form><div id="shell-hint"><span>Enter to run · Shift+Enter for newline</span><span>↑↓ history</span></div></details><p class="workspace-note">HTTP experiment: curl / wget can reach selected APIs. Browser CORS applies. <a href="./http-help.html" target="_blank" rel="noopener">Hosts & examples ↗</a></p></aside></main><dialog id="model-dialog" aria-labelledby="model-title" aria-describedby="model-description">64 unmodified lines6566676869707164 unmodified lines</form><div id="shell-hint"><span>Enter to run · Shift+Enter for newline</span><span>↑↓ history</span></div></details><p class="workspace-note">HTTP experiment: curl can reach selected APIs. Browser CORS applies. <a href="./http-help.html" target="_blank" rel="noopener">Hosts & examples ↗</a></p></aside></main><dialog id="model-dialog" aria-labelledby="model-title" aria-describedby="model-description">
2 unmodified lines34567892 unmodified lines<title>Browser HTTP experiment</title><style>html{color-scheme:dark;background:#18181e;color:#e4e4eb;font:17px/1.6 system-ui}body{max-width:760px;margin:40px auto;padding:0 20px}a{color:#a4e2d4}pre{background:#262630;padding:16px;overflow:auto;border-radius:12px}code{font-size:14px}</style><h1>HTTP from the browser shell</h1><p>This experimental copy enables real <code>curl</code> and <code>wget</code> requests. The model and shell run on your device. Requests go directly from your browser to the destination; there is no proxy. Request URLs, headers, and bodies are sent to that service.</p><p>Allowed HTTPS hosts: <code>api.github.com</code>, <code>raw.githubusercontent.com</code>, <code>huggingface.co</code>, <code>jsonplaceholder.typicode.com</code>, and <code>httpbin.org</code>. GET, HEAD, and POST are enabled. Cookies are omitted. Requests have an 8-second deadline and a 1 MiB response limit.</p><h2>Try in Shell</h2><pre>curl -fsS https://jsonplaceholder.typicode.com/todos/1 -o todo.json2 unmodified lines34567892 unmodified lines<title>Browser HTTP experiment</title><style>html{color-scheme:dark;background:#18181e;color:#e4e4eb;font:17px/1.6 system-ui}body{max-width:760px;margin:40px auto;padding:0 20px}a{color:#a4e2d4}pre{background:#262630;padding:16px;overflow:auto;border-radius:12px}code{font-size:14px}</style><h1>HTTP from the browser shell</h1><p>This experimental copy enables real <code>curl</code> requests. The model and shell run on your device. Requests go directly from your browser to the destination; there is no proxy. Request URLs, headers, and bodies are sent to that service.</p><p>Allowed HTTPS hosts: <code>api.github.com</code>, <code>raw.githubusercontent.com</code>, <code>huggingface.co</code>, <code>jsonplaceholder.typicode.com</code>, and <code>httpbin.org</code>. GET, HEAD, and POST are enabled. Cookies are omitted. Requests have an 8-second deadline and a 1 MiB response limit.</p><h2>Try in Shell</h2><pre>curl -fsS https://jsonplaceholder.typicode.com/todos/1 -o todo.json
1234// just-bash's curl/wget use this browser transport. There is no proxy/server.export const HTTP_ORIGINS = Object.freeze(['https://api.github.com','https://raw.githubusercontent.com',1234// just-bash's curl use this browser transport. There is no proxy/server.export const HTTP_ORIGINS = Object.freeze(['https://api.github.com','https://raw.githubusercontent.com',
51 unmodified lines5253545556575851 unmodified linesawait bash.fs.writeFile(resolved, content);}const tools = [{name: 'bash', label: 'Bash', description: `Run a bash command in /workspace. Supports cat, ls, grep, sed, awk, jq, sort, pipes, redirects, shell scripts, and curl/wget. HTTP GET/HEAD/POST is enabled for ${HTTP_ORIGINS.map(x => new URL(x).host).join(', ')}. Use curl -fsS URL; use set -o pipefail before piping HTTP output to jq. Browser CORS applies; redirects require the final URL. HTTP limits: 8 seconds, 1 MiB. No Node.js, Python, npm, or native binaries. Files persist across commands; cd and variables reset each call.`,parameters: Type.Object({ command: Type.String({ description: 'The shell command to execute.' }) }),execute: async (_id, { command }, signal) => {const r = await bash.exec(command, { signal });51 unmodified lines5253545556575851 unmodified linesawait bash.fs.writeFile(resolved, content);}const tools = [{name: 'bash', label: 'Bash', description: `Run a bash command in /workspace. Supports cat, ls, grep, sed, awk, jq, sort, pipes, redirects, shell scripts, and curl. HTTP GET/HEAD/POST is enabled for ${HTTP_ORIGINS.map(x => new URL(x).host).join(', ')}. Use curl -fsS URL; use set -o pipefail before piping HTTP output to jq. Browser CORS applies; redirects require the final URL. HTTP limits: 8 seconds, 1 MiB. No Node.js, Python, npm, or native binaries. Files persist across commands; cd and variables reset each call.`,parameters: Type.Object({ command: Type.String({ description: 'The shell command to execute.' }) }),execute: async (_id, { command }, signal) => {const r = await bash.exec(command, { signal });
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061import { chromium } from 'playwright';import fs from 'node:fs/promises';
const root = new URL('../..', import.meta.url).pathname;const url = process.argv[2] ?? 'https://mike0021-minicpm5-2b-webgpu-pi-http.static.hf.space/';const result = { date: new Date().toISOString(), url, cases: [], errors: [], requests: [] };const context = await chromium.launchPersistentContext(root + '/validation/http-browser-profile', { executablePath:'/usr/bin/chromium', headless:true, viewport:{width:1440,height:1000}, args:['--enable-unsafe-webgpu','--use-angle=vulkan','--enable-features=Vulkan','--disable-vulkan-surface'],});context.setDefaultTimeout(300_000);const page = await context.newPage();page.on('pageerror', e => result.errors.push(e.message));context.on('request', r => result.requests.push({url:r.url(),method:r.method()}));const rpc = (action,args) => page.evaluate(({action,args})=>window.browserPi.rpc(action,args),{action,args});const save = () => fs.writeFile(root+'/validation/http-agent-live.json',JSON.stringify(result,null,2)+'\n');const tasks = [ { name:'fetch-and-answer', prompt:'Fetch https://jsonplaceholder.typicode.com/todos/1 and tell me its title and whether it is completed.', check: c => c.httpToolSuccess && /delectus aut autem/.test(c.final) && /false|not complet|incomplete/i.test(c.final) }, { name:'fetch-count-write', prompt:'Download https://jsonplaceholder.typicode.com/users into users.json. Count the users and save a report containing that count to users-report.txt. Verify the report.', check: c => c.httpToolSuccess && JSON.parse(c.state.files['/workspace/users.json']).length === 10 && /\b10\b/.test(c.state.files['/workspace/users-report.txt']??'') && c.toolResults.some(t => !t.isError && /10/.test(JSON.stringify(t.content)) && t.toolName === 'read') }, { name:'github-api', prompt:'Use the GitHub API to tell me the full repository name and license of huggingface/transformers.js.', check: c => c.httpToolSuccess && /huggingface\/transformers\.js/.test(c.final) && /Apache[- ]2\.0/i.test(c.final) }, { name:'post-json', prompt:'POST the JSON {"demo":"browser-http","value":144} to https://httpbin.org/post. Tell me the JSON it echoes back.', check: c => c.httpToolSuccess && /browser-http/.test(c.final) && /144/.test(c.final) && c.requests.some(r=>r.method==='POST'&&r.url==='https://httpbin.org/post') }, { name:'blocked-host', prompt:'Fetch https://example.com/ and tell me its page title.', check: c => /not (enabled|allowed|permitted)|not.*allowed.*host|restrict|allowlist|allow.list|cannot.*(access|fetch)|can.t.*(access|fetch)/i.test(c.final) && !/Example Domain/.test(c.final) && !c.requests.some(r=>new URL(r.url).hostname==='example.com') }, { name:'cors-error', prompt:'Fetch https://huggingface.co/ and tell me its page title.', check: c => /CORS|browser.*block|block.*browser|request failed|unable.*fetch|cannot.*fetch|can.t.*fetch/i.test(c.final) && c.toolResults.some(t => t.isError && /CORS/.test(JSON.stringify(t.content))) }, { name:'fetch-and-answer-repeat', prompt:'Fetch https://jsonplaceholder.typicode.com/todos/1 and tell me its title and whether it is completed.', check: c => c.httpToolSuccess && /delectus aut autem/.test(c.final) && /false|not complet|incomplete/i.test(c.final) },];let monitor;try { await page.goto(url); await page.waitForFunction(()=>window.browserPi?.terminal); await page.evaluate(()=>window.browserPi.ready); result.wasCached=await rpc('cache_status'); console.log('MODEL_CACHE',result.wasCached); const start=Date.now(); monitor=setInterval(async()=>{try{console.log('LOAD_PROGRESS',Math.round((Date.now()-start)/1000),await page.locator('#load-status').textContent(),await page.locator('#load-detail').textContent());}catch{}},20000); await page.evaluate(()=>window.browserPi.load()); clearInterval(monitor); result.modelLoadMs=Date.now()-start; result.device=await page.evaluate(()=>window.browserPi.diagnostics.device); console.log('MODEL_LOADED',result.modelLoadMs,JSON.stringify(result.device)); await save(); for (const task of tasks) { await page.locator('#new-chat').click(); await page.waitForFunction(()=>!window.browserPi.busy); const start=Date.now(), requestStart=result.requests.length; console.log('START',task.name); let count=0; monitor=setInterval(async()=>{try{const state=await rpc('snapshot');const tools=state.messages.filter(m=>m.role==='toolResult');console.log('PROGRESS',task.name,Math.round((Date.now()-start)/1000),'tools',tools.length);for(const t of tools.slice(count))console.log('TOOL',t.toolName,t.isError,JSON.stringify(t.content).slice(0,400));count=tools.length;}catch{}},15000); const pending=page.evaluate(text=>window.browserPi.prompt(text),task.prompt); let timer; try { await Promise.race([pending,new Promise((_,reject)=>{timer=setTimeout(()=>reject(Error('Trial exceeded 180 seconds')),180000);})]); } catch(e){ await rpc('stop'); await pending.catch(()=>{}); task.failure=e.message; } finally{clearTimeout(timer);clearInterval(monitor);} const state=await rpc('snapshot'); const entry={name:task.name,prompt:task.prompt,elapsedMs:Date.now()-start,state,requests:result.requests.slice(requestStart),failure:task.failure}; entry.final=state.messages.filter(m=>m.role==='assistant').at(-1)?.content.filter(c=>c.type==='text').map(c=>c.text).join('\n')??''; entry.toolResults=state.messages.filter(m=>m.role==='toolResult'); entry.calls=state.messages.filter(m=>m.role==='assistant').flatMap(m=>m.content.filter(c=>c.type==='toolCall')); entry.httpToolSuccess=entry.toolResults.some(t=>t.toolName==='bash'&&!t.isError&&entry.calls.some(c=>c.id===t.toolCallId&&/\bcurl\b|\bwget\b/.test(c.arguments?.command??''))); try{entry.passed=!entry.failure&&task.check(entry);}catch(e){entry.passed=false;entry.checkError=e.message;} result.cases.push(entry);await save(); console.log('RESULT',JSON.stringify({name:entry.name,elapsedMs:entry.elapsedMs,passed:entry.passed,final:entry.final,calls:entry.calls})); await page.screenshot({path:root+'/validation/http-agent-'+task.name+'.png',fullPage:true}); } result.passed=result.cases.every(c=>c.passed)&&!result.errors.length; result.diagnostics=await page.evaluate(()=>window.browserPi.diagnostics); console.log('SUMMARY',JSON.stringify({passed:result.passed,cases:result.cases.map(c=>({name:c.name,passed:c.passed,seconds:c.elapsedMs/1000}))}));}catch(e){result.failure=e.stack;console.log('FAIL',e.stack);process.exitCode=1;}finally{clearInterval(monitor);await save();await context.close();}1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859import { chromium } from 'playwright';import fs from 'node:fs/promises';import assert from 'node:assert/strict';
const root = new URL('../..', import.meta.url).pathname;const url = process.argv[2] ?? 'https://mike0021-minicpm5-2b-webgpu-pi-http.static.hf.space/';const result = { date: new Date().toISOString(), url, cases: [], errors: [], requests: [] };const context = await chromium.launchPersistentContext(root + '/validation/http-browser-profile', { executablePath: '/usr/bin/chromium', headless: true, viewport: { width: 1440, height: 1000 }, args: ['--enable-unsafe-webgpu', '--use-angle=vulkan', '--enable-features=Vulkan', '--disable-vulkan-surface'],});context.setDefaultTimeout(30_000);const page = await context.newPage();page.on('pageerror', e => result.errors.push(e.message));context.on('request', r => { if (!r.url().startsWith(new URL(url).origin)) result.requests.push({ url: r.url(), method: r.method() }); });const rpc = (action, args) => page.evaluate(({ action, args }) => window.browserPi.rpc(action, args), { action, args });const save = () => fs.writeFile(root + '/validation/http-shell-live.json', JSON.stringify(result, null, 2) + '\n');const cases = [ ['json-get-save', 'curl -fsS https://jsonplaceholder.typicode.com/todos/1 -o todo.json && jq -r .title todo.json', r => r.exitCode === 0 && r.stdout.includes('delectus aut autem')], ['github-pipeline', "set -o pipefail; curl -fsS https://api.github.com/repos/huggingface/transformers.js | jq -r '.full_name, .license.spdx_id'", r => r.exitCode === 0 && r.stdout.includes('huggingface/transformers.js')], ['hf-metadata', 'set -o pipefail; curl -fsS https://huggingface.co/api/models/openbmb/MiniCPM5-2B | jq -r .id', r => r.exitCode === 0 && /openbmb\/MiniCPM5-2B/i.test(r.stdout)], ['raw-github', 'curl -fsS https://raw.githubusercontent.com/huggingface/transformers.js/main/package.json -o package.json && jq -r .name package.json', r => r.exitCode === 0 && r.stdout.includes('@huggingface/transformers')], ['head', 'curl -I https://jsonplaceholder.typicode.com/todos/1', r => r.exitCode === 0 && r.stdout.includes('200')], ['post-json', `set -o pipefail; curl -fsS https://httpbin.org/post -H 'Content-Type: application/json' -d '{"demo":"browser-http","value":144}' | jq -c .json`, r => r.exitCode === 0 && r.stdout.includes('browser-http') && r.stdout.includes('144')], ['request-headers', "set -o pipefail; curl -fsS https://httpbin.org/headers -H 'X-Demo: browser-http' | jq -r '.headers[\"X-Demo\"]'", r => r.exitCode === 0 && r.stdout.trim() === 'browser-http'], ['http-404', 'curl -fsS https://jsonplaceholder.typicode.com/does-not-exist', r => r.exitCode !== 0 && /404/.test(r.stderr)], ['blocked-host', 'curl -fsS https://example.com/', r => r.exitCode !== 0 && /not enabled/.test(r.stderr)], ['cors-failure', 'curl -fsS https://huggingface.co/', r => r.exitCode !== 0 && /CORS/.test(r.stderr)], ['redirect-failure', 'curl -fsSL https://httpbin.org/redirect-to?url=https%3A%2F%2Fhttpbin.org%2Fget', r => r.exitCode !== 0 && /redirect/i.test(r.stderr)], ['timeout', 'curl -fsS --max-time 1 https://httpbin.org/delay/5', r => r.exitCode !== 0 && /timed out/i.test(r.stderr)], ['failed-pipeline', 'set -o pipefail; curl -fsS https://example.com/ | jq .', r => r.exitCode !== 0],];try { await page.goto(url); await page.waitForFunction(() => window.browserPi?.terminal); await page.evaluate(() => window.browserPi.ready); assert.match(await page.locator('.workspace-note').textContent(), /HTTP experiment/); for (const [name, command, check] of cases) { const start = Date.now(); const response = await rpc('shell', { command }); const entry = { name, command, elapsedMs: Date.now() - start, stdout: response.stdout, stderr: response.stderr, exitCode: response.exitCode, passed: check(response) }; result.cases.push(entry); console.log(JSON.stringify(entry)); await save(); } const start = Date.now(); const pending = rpc('shell', { command: 'curl -fsS https://httpbin.org/delay/7' }); await page.waitForFunction(() => window.browserPi.busy); await page.waitForTimeout(200); await rpc('stop'); let cancelled; try { cancelled = await pending; } catch(e) { cancelled = { stderr: e.message, exitCode: 1 }; } result.cases.push({ name: 'cancel', elapsedMs: Date.now() - start, stdout: cancelled.stdout, stderr: cancelled.stderr, exitCode: cancelled.exitCode, passed: cancelled.exitCode !== 0 && Date.now() - start < 2500 }); await page.locator('#command').fill('curl -fsS https://jsonplaceholder.typicode.com/todos/1 -o todo.json && jq . todo.json'); await page.locator('#shell-run').click(); await page.waitForFunction(() => !window.browserPi.busy && document.querySelector('.shell-entry:last-child .shell-status.success')); await page.screenshot({ path: root + '/validation/http-desktop.png', fullPage: true }); await page.reload(); await page.waitForFunction(() => window.browserPi); await page.evaluate(() => window.browserPi.ready); const saved = await rpc('read', { path: '/workspace/todo.json' }); result.cases.push({ name: 'file-survives-reload', passed: JSON.parse(saved).title === 'delectus aut autem' }); await page.setViewportSize({ width: 390, height: 844 }); await page.screenshot({ path: root + '/validation/http-mobile.png', fullPage: true }); result.mobileOverflow = await page.evaluate(() => document.documentElement.scrollWidth > innerWidth); result.device = await page.evaluate(async () => { const a = await navigator.gpu?.requestAdapter({powerPreference:'high-performance'}); return a ? { vendor:a.info.vendor, architecture:a.info.architecture, features:[...a.features] } : null; }); result.passed = result.cases.every(c => c.passed) && !result.errors.length && !result.mobileOverflow; console.log('SUMMARY', JSON.stringify({passed:result.passed, cases:result.cases.length, device:result.device, errors:result.errors}));} catch (e) { result.failure = e.stack; console.log('FAIL',e.stack); process.exitCode=1; }finally { await save(); await context.close(); }2 unmodified lines34567892 unmodified lines<title>Browser HTTP experiment</title><style>html{color-scheme:dark;background:#18181e;color:#e4e4eb;font:17px/1.6 system-ui}body{max-width:760px;margin:40px auto;padding:0 20px}a{color:#a4e2d4}pre{background:#262630;padding:16px;overflow:auto;border-radius:12px}code{font-size:14px}</style><h1>HTTP from the browser shell</h1><p>This experimental copy enables real <code>curl</code> and <code>wget</code> requests. The model and shell run on your device. Requests go directly from your browser to the destination; there is no proxy. Request URLs, headers, and bodies are sent to that service.</p><p>Allowed HTTPS hosts: <code>api.github.com</code>, <code>raw.githubusercontent.com</code>, <code>huggingface.co</code>, <code>jsonplaceholder.typicode.com</code>, and <code>httpbin.org</code>. GET, HEAD, and POST are enabled. Cookies are omitted. Requests have an 8-second deadline and a 1 MiB response limit.</p><h2>Try in Shell</h2><pre>curl -fsS https://jsonplaceholder.typicode.com/todos/1 -o todo.json2 unmodified lines34567892 unmodified lines<title>Browser HTTP experiment</title><style>html{color-scheme:dark;background:#18181e;color:#e4e4eb;font:17px/1.6 system-ui}body{max-width:760px;margin:40px auto;padding:0 20px}a{color:#a4e2d4}pre{background:#262630;padding:16px;overflow:auto;border-radius:12px}code{font-size:14px}</style><h1>HTTP from the browser shell</h1><p>This experimental copy enables real <code>curl</code> requests. The model and shell run on your device. Requests go directly from your browser to the destination; there is no proxy. Request URLs, headers, and bodies are sent to that service.</p><p>Allowed HTTPS hosts: <code>api.github.com</code>, <code>raw.githubusercontent.com</code>, <code>huggingface.co</code>, <code>jsonplaceholder.typicode.com</code>, and <code>httpbin.org</code>. GET, HEAD, and POST are enabled. Cookies are omitted. Requests have an 8-second deadline and a 1 MiB response limit.</p><h2>Try in Shell</h2><pre>curl -fsS https://jsonplaceholder.typicode.com/todos/1 -o todo.json
20 unmodified lines2122232425262739 unmodified lines6768697071727320 unmodified lines<meta name="twitter:image" content="https://huggingface.co/spaces/Mike0021/MiniCPM5-2B-WebGPU-Pi-HTTP/resolve/main/social-thumbnail-v3.png"><meta name="twitter:image:alt" content="A coding agent running entirely in your browser, above the Pi terminal and its pixel cat mascot."><title>Pi · Coding agent in your browser</title><script type="module" crossorigin src="./assets/index-D2Hvfy3l.js"></script><link rel="stylesheet" crossorigin href="./assets/index-CLisF1Ml.css"></head><body>39 unmodified lines</form><div id="shell-hint"><span>Enter to run · Shift+Enter for newline</span><span>↑↓ history</span></div></details><p class="workspace-note">HTTP experiment: curl / wget can reach selected APIs. Browser CORS applies. <a href="./http-help.html" target="_blank" rel="noopener">Hosts & examples ↗</a></p></aside></main><dialog id="model-dialog" aria-labelledby="model-title" aria-describedby="model-description">20 unmodified lines2122232425262739 unmodified lines6768697071727320 unmodified lines<meta name="twitter:image" content="https://huggingface.co/spaces/Mike0021/MiniCPM5-2B-WebGPU-Pi-HTTP/resolve/main/social-thumbnail-v3.png"><meta name="twitter:image:alt" content="A coding agent running entirely in your browser, above the Pi terminal and its pixel cat mascot."><title>Pi · Coding agent in your browser</title><script type="module" crossorigin src="./assets/index-wZi62oe2.js"></script><link rel="stylesheet" crossorigin href="./assets/index-CLisF1Ml.css"></head><body>39 unmodified lines</form><div id="shell-hint"><span>Enter to run · Shift+Enter for newline</span><span>↑↓ history</span></div></details><p class="workspace-note">HTTP experiment: curl can reach selected APIs. Browser CORS applies. <a href="./http-help.html" target="_blank" rel="noopener">Hosts & examples ↗</a></p></aside></main><dialog id="model-dialog" aria-labelledby="model-title" aria-describedby="model-description">
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239{ "date": "2026-09-16T08:32:15.891Z", "url": "https://mike0021-minicpm5-2b-webgpu-pi-http.static.hf.space/", "cases": [ { "name": "json-get-save", "command": "curl -fsS https://jsonplaceholder.typicode.com/todos/1 -o todo.json && jq -r .title todo.json", "elapsedMs": 332, "stdout": "delectus aut autem\n", "stderr": "", "exitCode": 0, "passed": true }, { "name": "github-pipeline", "command": "set -o pipefail; curl -fsS https://api.github.com/repos/huggingface/transformers.js | jq -r '.full_name, .license.spdx_id'", "elapsedMs": 304, "stdout": "huggingface/transformers.js\nApache-2.0\n", "stderr": "", "exitCode": 0, "passed": true }, { "name": "hf-metadata", "command": "set -o pipefail; curl -fsS https://huggingface.co/api/models/openbmb/MiniCPM5-2B | jq -r .id", "elapsedMs": 146, "stdout": "openbmb/MiniCPM5-2B\n", "stderr": "", "exitCode": 0, "passed": true }, { "name": "raw-github", "command": "curl -fsS https://raw.githubusercontent.com/huggingface/transformers.js/main/package.json -o package.json && jq -r .name package.json", "elapsedMs": 256, "stdout": "@huggingface/transformers-monorepo\n", "stderr": "", "exitCode": 0, "passed": true }, { "name": "head", "command": "curl -I https://jsonplaceholder.typicode.com/todos/1", "elapsedMs": 23, "stdout": "HTTP/1.1 200 \r\ncache-control: max-age=43200\r\ncontent-type: application/json; charset=utf-8\r\nexpires: -1\r\npragma: no-cache\r\n", "stderr": "", "exitCode": 0, "passed": true }, { "name": "post-json", "command": "set -o pipefail; curl -fsS https://httpbin.org/post -H 'Content-Type: application/json' -d '{\"demo\":\"browser-http\",\"value\":144}' | jq -c .json", "elapsedMs": 620, "stdout": "{\"demo\":\"browser-http\",\"value\":144}\n", "stderr": "", "exitCode": 0, "passed": true }, { "name": "wget", "command": "wget -q -O downloaded.json https://jsonplaceholder.typicode.com/todos/2 && jq -r .id downloaded.json", "elapsedMs": 6, "stdout": "", "stderr": "bash: wget: command not found\n", "exitCode": 127, "passed": false }, { "name": "http-404", "command": "curl -fsS https://jsonplaceholder.typicode.com/does-not-exist", "elapsedMs": 289, "stdout": "", "stderr": "curl: (22) The requested URL returned error: 404\n", "exitCode": 22, "passed": true }, { "name": "blocked-host", "command": "curl -fsS https://example.com/", "elapsedMs": 9, "stdout": "", "stderr": "curl: (1) HTTP destination is not enabled in this experiment. Allowed hosts: api.github.com, raw.githubusercontent.com, huggingface.co, jsonplaceholder.typicode.com, httpbin.org.\n", "exitCode": 1, "passed": true }, { "name": "cors-failure", "command": "curl -fsS https://huggingface.co/", "elapsedMs": 20, "stdout": "", "stderr": "curl: (1) HTTP request failed: the server may block browser requests (CORS), or the connection failed. No proxy is used.\n", "exitCode": 1, "passed": true }, { "name": "redirect-failure", "command": "curl -fsSL https://httpbin.org/redirect-to?url=https%3A%2F%2Fhttpbin.org%2Fget", "elapsedMs": 98, "stdout": "", "stderr": "curl: (1) HTTP redirect cannot be followed safely in this browser shell. Use the final HTTPS URL directly (including exact capitalization).\n", "exitCode": 1, "passed": true }, { "name": "timeout", "command": "curl -fsS --max-time 1 https://httpbin.org/delay/5", "elapsedMs": 1013, "stdout": "", "stderr": "curl: (1) HTTP request timed out after 1000 ms.\n", "exitCode": 1, "passed": true }, { "name": "failed-pipeline", "command": "set -o pipefail; curl -fsS https://example.com/ | jq .", "elapsedMs": 7, "stdout": "", "stderr": "curl: (1) HTTP destination is not enabled in this experiment. Allowed hosts: api.github.com, raw.githubusercontent.com, huggingface.co, jsonplaceholder.typicode.com, httpbin.org.\n", "exitCode": 1, "passed": true }, { "name": "cancel", "elapsedMs": 228, "stdout": "", "stderr": "bash: execution aborted\n", "exitCode": 124, "passed": true }, { "name": "file-survives-reload", "passed": true } ], "errors": [], "requests": [ { "url": "https://cdn-lfs-us-1.hf.co/repos/48/29/4829a3c0b18453b5b13362a29a513b6902552cc52273d2fb4092cb0203b93c28/a766512083268f7d7bb31f37171d6cd05a5af81e38c2612ac41cbb473a2c5f6c?response-content-disposition=inline%3B+filename*%3DUTF-8%27%27modal-cat-v1.png%3B+filename%3D%22modal-cat-v1.png%22%3B&response-content-type=image%2Fpng&Expires=1789551136&Policy=eyJTdGF0ZW1lbnQiOlt7IkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTc4OTU1MTEzNn19LCJSZXNvdXJjZSI6Imh0dHBzOi8vY2RuLWxmcy11cy0xLmhmLmNvL3JlcG9zLzQ4LzI5LzQ4MjlhM2MwYjE4NDUzYjViMTMzNjJhMjlhNTEzYjY5MDI1NTJjYzUyMjczZDJmYjQwOTJjYjAyMDNiOTNjMjgvYTc2NjUxMjA4MzI2OGY3ZDdiYjMxZjM3MTcxZDZjZDA1YTVhZjgxZTM4YzI2MTJhYzQxY2JiNDczYTJjNWY2Yz9yZXNwb25zZS1jb250ZW50LWRpc3Bvc2l0aW9uPSomcmVzcG9uc2UtY29udGVudC10eXBlPSoifV19&Signature=zvLU2rLtliCwfPfBwZpRPOvXLhlbi696TFONTVXatc3dEBN6j9QaxyN4NA6dM4WLhS0vw7ojBS4uqnPC1h6%7EFl26zTns0SOmBe4CGrMYAKZzykTJopfMiOjVD95q0i0FIyd33YoYW6V8cydbRusCD66UChrRSO1wNxghVXdSmc%7EjpnvC3IGypRUDWZRx4gAbSVlUUSi8KCqPfJpLXirxg-ymyaXqM-f7Ank14VpWs1cBsK1n2GMUjAkku-Rua%7EeJIVzbwDSr-Pp3E166FzSRrcXEKrWtMQkVIGmKwS3Y5ZXEHjpOZYBTofeF5DcpY4bp4s9EVYBwC9PZvZ5m4U6lAQ__&Key-Pair-Id=K1HG1QXK3AL3BR", "method": "GET" }, { "url": "https://jsonplaceholder.typicode.com/todos/1", "method": "GET" }, { "url": "https://cdn-lfs-us-1.hf.co/repos/48/29/4829a3c0b18453b5b13362a29a513b6902552cc52273d2fb4092cb0203b93c28/592558545d0ef05a4d29fd27eeeb5b63468f1f378bb1c50359a60f8d2a88f668?response-content-disposition=inline%3B+filename*%3DUTF-8%27%27empty-cat-v1.png%3B+filename%3D%22empty-cat-v1.png%22%3B&response-content-type=image%2Fpng&Expires=1789551138&Policy=eyJTdGF0ZW1lbnQiOlt7IkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTc4OTU1MTEzOH19LCJSZXNvdXJjZSI6Imh0dHBzOi8vY2RuLWxmcy11cy0xLmhmLmNvL3JlcG9zLzQ4LzI5LzQ4MjlhM2MwYjE4NDUzYjViMTMzNjJhMjlhNTEzYjY5MDI1NTJjYzUyMjczZDJmYjQwOTJjYjAyMDNiOTNjMjgvNTkyNTU4NTQ1ZDBlZjA1YTRkMjlmZDI3ZWVlYjViNjM0NjhmMWYzNzhiYjFjNTAzNTlhNjBmOGQyYTg4ZjY2OD9yZXNwb25zZS1jb250ZW50LWRpc3Bvc2l0aW9uPSomcmVzcG9uc2UtY29udGVudC10eXBlPSoifV19&Signature=Dyg2qtKjNHulfVg2ldV0AkgfVJyw7XoODSeRdZpmVNBvB71h6G3t5eZO3qs0GQTtiR3dLumQMkTSKCt9palZFJ5co8HF3%7EUZ0aSZmdpC33QZnj8xfx8sMX-WUwKF4VP3HX5FNJL28QQWEsr0u1R36LQQwha06rTrP88Y4XjWtDmhNZWEcn-kNdlCU9LIkDDi6KqalEbVlLJUzP48cNKTjmGMeJsBSt4asREfoa4b56noz2qRl0mXGZnq6W9fERUHBho-RvfTiRatd2s1D0D63QSFgabbEU%7Ek7BYiZfj8HMz8W%7EGqVJ7KRBBfcXwV%7EZ0lEscq-XeJ650vi8ChPnynvw__&Key-Pair-Id=K1HG1QXK3AL3BR", "method": "GET" }, { "url": "https://api.github.com/repos/huggingface/transformers.js", "method": "GET" }, { "url": "https://huggingface.co/api/models/openbmb/MiniCPM5-2B", "method": "GET" }, { "url": "https://raw.githubusercontent.com/huggingface/transformers.js/main/package.json", "method": "GET" }, { "url": "https://jsonplaceholder.typicode.com/todos/1", "method": "HEAD" }, { "url": "https://httpbin.org/post", "method": "POST" }, { "url": "https://jsonplaceholder.typicode.com/does-not-exist", "method": "GET" }, { "url": "https://huggingface.co/", "method": "GET" }, { "url": "https://httpbin.org/redirect-to?url=https%3A%2F%2Fhttpbin.org%2Fget", "method": "GET" }, { "url": "https://httpbin.org/get", "method": "GET" }, { "url": "https://httpbin.org/delay/5", "method": "GET" }, { "url": "https://httpbin.org/delay/7", "method": "GET" }, { "url": "https://jsonplaceholder.typicode.com/todos/1", "method": "GET" }, { "url": "https://cdn-lfs-us-1.hf.co/repos/48/29/4829a3c0b18453b5b13362a29a513b6902552cc52273d2fb4092cb0203b93c28/a766512083268f7d7bb31f37171d6cd05a5af81e38c2612ac41cbb473a2c5f6c?response-content-disposition=inline%3B+filename*%3DUTF-8%27%27modal-cat-v1.png%3B+filename%3D%22modal-cat-v1.png%22%3B&response-content-type=image%2Fpng&Expires=1789551141&Policy=eyJTdGF0ZW1lbnQiOlt7IkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTc4OTU1MTE0MX19LCJSZXNvdXJjZSI6Imh0dHBzOi8vY2RuLWxmcy11cy0xLmhmLmNvL3JlcG9zLzQ4LzI5LzQ4MjlhM2MwYjE4NDUzYjViMTMzNjJhMjlhNTEzYjY5MDI1NTJjYzUyMjczZDJmYjQwOTJjYjAyMDNiOTNjMjgvYTc2NjUxMjA4MzI2OGY3ZDdiYjMxZjM3MTcxZDZjZDA1YTVhZjgxZTM4YzI2MTJhYzQxY2JiNDczYTJjNWY2Yz9yZXNwb25zZS1jb250ZW50LWRpc3Bvc2l0aW9uPSomcmVzcG9uc2UtY29udGVudC10eXBlPSoifV19&Signature=hlz8Jg3q0-D5HXj7-rLPSH5stU8POxEw2WAksgMbEqDnRZlcfc5r86HMB2Of6Ac6IeFNM3ux1SN1GNDgmrd0DZY2hmfB8XlEu2wlId7Bxq3t7vN0RnPPrPlcXKLkV4ObLW95kt0asoq9AwDWlNfoTQ-s9q21aJQEsit4EzQxodq3aEWrMYQlL-rHDKC-aQ9eT7CRd2blA9qSEqiToQGuUnk4c--Ln72Hl3-WWCIzErBta6Zxefr2yI83xPzMuZJm85Mo6fW802-JQW3YKWW3SCNTANi9XrFUBsVVhXGnIxiAmgbxBl6mCwFiJTC9-hrXThdrks5EjkaOZhHgWoGWZQ__&Key-Pair-Id=K1HG1QXK3AL3BR", "method": "GET" }, { "url": "https://cdn-lfs-us-1.hf.co/repos/48/29/4829a3c0b18453b5b13362a29a513b6902552cc52273d2fb4092cb0203b93c28/592558545d0ef05a4d29fd27eeeb5b63468f1f378bb1c50359a60f8d2a88f668?response-content-disposition=inline%3B+filename*%3DUTF-8%27%27empty-cat-v1.png%3B+filename%3D%22empty-cat-v1.png%22%3B&response-content-type=image%2Fpng&Expires=1789551142&Policy=eyJTdGF0ZW1lbnQiOlt7IkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTc4OTU1MTE0Mn19LCJSZXNvdXJjZSI6Imh0dHBzOi8vY2RuLWxmcy11cy0xLmhmLmNvL3JlcG9zLzQ4LzI5LzQ4MjlhM2MwYjE4NDUzYjViMTMzNjJhMjlhNTEzYjY5MDI1NTJjYzUyMjczZDJmYjQwOTJjYjAyMDNiOTNjMjgvNTkyNTU4NTQ1ZDBlZjA1YTRkMjlmZDI3ZWVlYjViNjM0NjhmMWYzNzhiYjFjNTAzNTlhNjBmOGQyYTg4ZjY2OD9yZXNwb25zZS1jb250ZW50LWRpc3Bvc2l0aW9uPSomcmVzcG9uc2UtY29udGVudC10eXBlPSoifV19&Signature=P-AW35Km78478HKxD1xCRfdIfORz1cXnanLSAsU7%7EZaEAyfDCTooeUEeqAfBw-3qwzs1sSetBFgaz8NcjgVL7W-1I23KeYqVqBlfB1fBfzfc08qlUUmmHGDdWg2rsI0Uc2REszQcnIiAqOAMTg894MkIGSzebQIGj3kI9DyZXfKeEL0j8pD%7E2LjDq0VHRxi4FJGIX4QCxKAZMKB6xUkXWSU7s%7E984HiM%7EKWFdDUpconQVpfMJ34PKzy7BhjOcMBPpGNsnsR69V4lVJVAgcQtqXW%7E4V9vx4GzAtvLvZ30eA55TWW7KE0KbUcETnI2p5e4xDB1pPaHH6KMR%7Elr6Bs82A__&Key-Pair-Id=K1HG1QXK3AL3BR", "method": "GET" } ], "mobileOverflow": false, "device": { "vendor": "amd", "architecture": "rdna-3", "features": [ "depth32float-stencil8", "chromium-experimental-subgroup-matrix", "rg11b10ufloat-renderable", "texture-formats-tier1", "bgra8unorm-storage", "chromium-experimental-multi-draw-indirect", "texture-compression-bc", "dual-source-blending", "chromium-experimental-sampling-resource-table", "core-features-and-limits", "chromium-experimental-timestamp-query-inside-passes", "float32-filterable", "indirect-first-instance", "float32-blendable", "subgroup-size-control", "texture-compression-unaligned", "depth-clip-control", "texture-compression-bc-sliced-3d", "clip-distances", "shader-f16", "timestamp-query", "texture-formats-tier2", "primitive-index", "texture-component-swizzle", "subgroups" ] }, "passed": false}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239{ "date": "2026-09-16T08:32:15.891Z", "url": "https://mike0021-minicpm5-2b-webgpu-pi-http.static.hf.space/", "cases": [ { "name": "json-get-save", "command": "curl -fsS https://jsonplaceholder.typicode.com/todos/1 -o todo.json && jq -r .title todo.json", "elapsedMs": 332, "stdout": "delectus aut autem\n", "stderr": "", "exitCode": 0, "passed": true }, { "name": "github-pipeline", "command": "set -o pipefail; curl -fsS https://api.github.com/repos/huggingface/transformers.js | jq -r '.full_name, .license.spdx_id'", "elapsedMs": 304, "stdout": "huggingface/transformers.js\nApache-2.0\n", "stderr": "", "exitCode": 0, "passed": true }, { "name": "hf-metadata", "command": "set -o pipefail; curl -fsS https://huggingface.co/api/models/openbmb/MiniCPM5-2B | jq -r .id", "elapsedMs": 146, "stdout": "openbmb/MiniCPM5-2B\n", "stderr": "", "exitCode": 0, "passed": true }, { "name": "raw-github", "command": "curl -fsS https://raw.githubusercontent.com/huggingface/transformers.js/main/package.json -o package.json && jq -r .name package.json", "elapsedMs": 256, "stdout": "@huggingface/transformers-monorepo\n", "stderr": "", "exitCode": 0, "passed": true }, { "name": "head", "command": "curl -I https://jsonplaceholder.typicode.com/todos/1", "elapsedMs": 23, "stdout": "HTTP/1.1 200 \r\ncache-control: max-age=43200\r\ncontent-type: application/json; charset=utf-8\r\nexpires: -1\r\npragma: no-cache\r\n", "stderr": "", "exitCode": 0, "passed": true }, { "name": "post-json", "command": "set -o pipefail; curl -fsS https://httpbin.org/post -H 'Content-Type: application/json' -d '{\"demo\":\"browser-http\",\"value\":144}' | jq -c .json", "elapsedMs": 620, "stdout": "{\"demo\":\"browser-http\",\"value\":144}\n", "stderr": "", "exitCode": 0, "passed": true }, { "name": "wget", "command": "wget -q -O downloaded.json https://jsonplaceholder.typicode.com/todos/2 && jq -r .id downloaded.json", "elapsedMs": 6, "stdout": "", "stderr": "bash: wget: command not found\n", "exitCode": 127, "passed": false }, { "name": "http-404", "command": "curl -fsS https://jsonplaceholder.typicode.com/does-not-exist", "elapsedMs": 289, "stdout": "", "stderr": "curl: (22) The requested URL returned error: 404\n", "exitCode": 22, "passed": true }, { "name": "blocked-host", "command": "curl -fsS https://example.com/", "elapsedMs": 9, "stdout": "", "stderr": "curl: (1) HTTP destination is not enabled in this experiment. Allowed hosts: api.github.com, raw.githubusercontent.com, huggingface.co, jsonplaceholder.typicode.com, httpbin.org.\n", "exitCode": 1, "passed": true }, { "name": "cors-failure", "command": "curl -fsS https://huggingface.co/", "elapsedMs": 20, "stdout": "", "stderr": "curl: (1) HTTP request failed: the server may block browser requests (CORS), or the connection failed. No proxy is used.\n", "exitCode": 1, "passed": true }, { "name": "redirect-failure", "command": "curl -fsSL https://httpbin.org/redirect-to?url=https%3A%2F%2Fhttpbin.org%2Fget", "elapsedMs": 98, "stdout": "", "stderr": "curl: (1) HTTP redirect cannot be followed safely in this browser shell. Use the final HTTPS URL directly (including exact capitalization).\n", "exitCode": 1, "passed": true }, { "name": "timeout", "command": "curl -fsS --max-time 1 https://httpbin.org/delay/5", "elapsedMs": 1013, "stdout": "", "stderr": "curl: (1) HTTP request timed out after 1000 ms.\n", "exitCode": 1, "passed": true }, { "name": "failed-pipeline", "command": "set -o pipefail; curl -fsS https://example.com/ | jq .", "elapsedMs": 7, "stdout": "", "stderr": "curl: (1) HTTP destination is not enabled in this experiment. Allowed hosts: api.github.com, raw.githubusercontent.com, huggingface.co, jsonplaceholder.typicode.com, httpbin.org.\n", "exitCode": 1, "passed": true }, { "name": "cancel", "elapsedMs": 228, "stdout": "", "stderr": "bash: execution aborted\n", "exitCode": 124, "passed": true }, { "name": "file-survives-reload", "passed": true } ], "errors": [], "requests": [ { "url": "https://cdn-lfs-us-1.hf.co/repos/48/29/4829a3c0b18453b5b13362a29a513b6902552cc52273d2fb4092cb0203b93c28/a766512083268f7d7bb31f37171d6cd05a5af81e38c2612ac41cbb473a2c5f6c?response-content-disposition=inline%3B+filename*%3DUTF-8%27%27modal-cat-v1.png%3B+filename%3D%22modal-cat-v1.png%22%3B&response-content-type=image%2Fpng&Expires=1789551136&Policy=eyJTdGF0ZW1lbnQiOlt7IkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTc4OTU1MTEzNn19LCJSZXNvdXJjZSI6Imh0dHBzOi8vY2RuLWxmcy11cy0xLmhmLmNvL3JlcG9zLzQ4LzI5LzQ4MjlhM2MwYjE4NDUzYjViMTMzNjJhMjlhNTEzYjY5MDI1NTJjYzUyMjczZDJmYjQwOTJjYjAyMDNiOTNjMjgvYTc2NjUxMjA4MzI2OGY3ZDdiYjMxZjM3MTcxZDZjZDA1YTVhZjgxZTM4YzI2MTJhYzQxY2JiNDczYTJjNWY2Yz9yZXNwb25zZS1jb250ZW50LWRpc3Bvc2l0aW9uPSomcmVzcG9uc2UtY29udGVudC10eXBlPSoifV19&Signature=zvLU2rLtliCwfPfBwZpRPOvXLhlbi696TFONTVXatc3dEBN6j9QaxyN4NA6dM4WLhS0vw7ojBS4uqnPC1h6%7EFl26zTns0SOmBe4CGrMYAKZzykTJopfMiOjVD95q0i0FIyd33YoYW6V8cydbRusCD66UChrRSO1wNxghVXdSmc%7EjpnvC3IGypRUDWZRx4gAbSVlUUSi8KCqPfJpLXirxg-ymyaXqM-f7Ank14VpWs1cBsK1n2GMUjAkku-Rua%7EeJIVzbwDSr-Pp3E166FzSRrcXEKrWtMQkVIGmKwS3Y5ZXEHjpOZYBTofeF5DcpY4bp4s9EVYBwC9PZvZ5m4U6lAQ__&Key-Pair-Id=K1HG1QXK3AL3BR", "method": "GET" }, { "url": "https://jsonplaceholder.typicode.com/todos/1", "method": "GET" }, { "url": "https://cdn-lfs-us-1.hf.co/repos/48/29/4829a3c0b18453b5b13362a29a513b6902552cc52273d2fb4092cb0203b93c28/592558545d0ef05a4d29fd27eeeb5b63468f1f378bb1c50359a60f8d2a88f668?response-content-disposition=inline%3B+filename*%3DUTF-8%27%27empty-cat-v1.png%3B+filename%3D%22empty-cat-v1.png%22%3B&response-content-type=image%2Fpng&Expires=1789551138&Policy=eyJTdGF0ZW1lbnQiOlt7IkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTc4OTU1MTEzOH19LCJSZXNvdXJjZSI6Imh0dHBzOi8vY2RuLWxmcy11cy0xLmhmLmNvL3JlcG9zLzQ4LzI5LzQ4MjlhM2MwYjE4NDUzYjViMTMzNjJhMjlhNTEzYjY5MDI1NTJjYzUyMjczZDJmYjQwOTJjYjAyMDNiOTNjMjgvNTkyNTU4NTQ1ZDBlZjA1YTRkMjlmZDI3ZWVlYjViNjM0NjhmMWYzNzhiYjFjNTAzNTlhNjBmOGQyYTg4ZjY2OD9yZXNwb25zZS1jb250ZW50LWRpc3Bvc2l0aW9uPSomcmVzcG9uc2UtY29udGVudC10eXBlPSoifV19&Signature=Dyg2qtKjNHulfVg2ldV0AkgfVJyw7XoODSeRdZpmVNBvB71h6G3t5eZO3qs0GQTtiR3dLumQMkTSKCt9palZFJ5co8HF3%7EUZ0aSZmdpC33QZnj8xfx8sMX-WUwKF4VP3HX5FNJL28QQWEsr0u1R36LQQwha06rTrP88Y4XjWtDmhNZWEcn-kNdlCU9LIkDDi6KqalEbVlLJUzP48cNKTjmGMeJsBSt4asREfoa4b56noz2qRl0mXGZnq6W9fERUHBho-RvfTiRatd2s1D0D63QSFgabbEU%7Ek7BYiZfj8HMz8W%7EGqVJ7KRBBfcXwV%7EZ0lEscq-XeJ650vi8ChPnynvw__&Key-Pair-Id=K1HG1QXK3AL3BR", "method": "GET" }, { "url": "https://api.github.com/repos/huggingface/transformers.js", "method": "GET" }, { "url": "https://huggingface.co/api/models/openbmb/MiniCPM5-2B", "method": "GET" }, { "url": "https://raw.githubusercontent.com/huggingface/transformers.js/main/package.json", "method": "GET" }, { "url": "https://jsonplaceholder.typicode.com/todos/1", "method": "HEAD" }, { "url": "https://httpbin.org/post", "method": "POST" }, { "url": "https://jsonplaceholder.typicode.com/does-not-exist", "method": "GET" }, { "url": "https://huggingface.co/", "method": "GET" }, { "url": "https://httpbin.org/redirect-to?url=https%3A%2F%2Fhttpbin.org%2Fget", "method": "GET" }, { "url": "https://httpbin.org/get", "method": "GET" }, { "url": "https://httpbin.org/delay/5", "method": "GET" }, { "url": "https://httpbin.org/delay/7", "method": "GET" }, { "url": "https://jsonplaceholder.typicode.com/todos/1", "method": "GET" }, { "url": "https://cdn-lfs-us-1.hf.co/repos/48/29/4829a3c0b18453b5b13362a29a513b6902552cc52273d2fb4092cb0203b93c28/a766512083268f7d7bb31f37171d6cd05a5af81e38c2612ac41cbb473a2c5f6c?response-content-disposition=inline%3B+filename*%3DUTF-8%27%27modal-cat-v1.png%3B+filename%3D%22modal-cat-v1.png%22%3B&response-content-type=image%2Fpng&Expires=1789551141&Policy=eyJTdGF0ZW1lbnQiOlt7IkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTc4OTU1MTE0MX19LCJSZXNvdXJjZSI6Imh0dHBzOi8vY2RuLWxmcy11cy0xLmhmLmNvL3JlcG9zLzQ4LzI5LzQ4MjlhM2MwYjE4NDUzYjViMTMzNjJhMjlhNTEzYjY5MDI1NTJjYzUyMjczZDJmYjQwOTJjYjAyMDNiOTNjMjgvYTc2NjUxMjA4MzI2OGY3ZDdiYjMxZjM3MTcxZDZjZDA1YTVhZjgxZTM4YzI2MTJhYzQxY2JiNDczYTJjNWY2Yz9yZXNwb25zZS1jb250ZW50LWRpc3Bvc2l0aW9uPSomcmVzcG9uc2UtY29udGVudC10eXBlPSoifV19&Signature=hlz8Jg3q0-D5HXj7-rLPSH5stU8POxEw2WAksgMbEqDnRZlcfc5r86HMB2Of6Ac6IeFNM3ux1SN1GNDgmrd0DZY2hmfB8XlEu2wlId7Bxq3t7vN0RnPPrPlcXKLkV4ObLW95kt0asoq9AwDWlNfoTQ-s9q21aJQEsit4EzQxodq3aEWrMYQlL-rHDKC-aQ9eT7CRd2blA9qSEqiToQGuUnk4c--Ln72Hl3-WWCIzErBta6Zxefr2yI83xPzMuZJm85Mo6fW802-JQW3YKWW3SCNTANi9XrFUBsVVhXGnIxiAmgbxBl6mCwFiJTC9-hrXThdrks5EjkaOZhHgWoGWZQ__&Key-Pair-Id=K1HG1QXK3AL3BR", "method": "GET" }, { "url": "https://cdn-lfs-us-1.hf.co/repos/48/29/4829a3c0b18453b5b13362a29a513b6902552cc52273d2fb4092cb0203b93c28/592558545d0ef05a4d29fd27eeeb5b63468f1f378bb1c50359a60f8d2a88f668?response-content-disposition=inline%3B+filename*%3DUTF-8%27%27empty-cat-v1.png%3B+filename%3D%22empty-cat-v1.png%22%3B&response-content-type=image%2Fpng&Expires=1789551142&Policy=eyJTdGF0ZW1lbnQiOlt7IkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTc4OTU1MTE0Mn19LCJSZXNvdXJjZSI6Imh0dHBzOi8vY2RuLWxmcy11cy0xLmhmLmNvL3JlcG9zLzQ4LzI5LzQ4MjlhM2MwYjE4NDUzYjViMTMzNjJhMjlhNTEzYjY5MDI1NTJjYzUyMjczZDJmYjQwOTJjYjAyMDNiOTNjMjgvNTkyNTU4NTQ1ZDBlZjA1YTRkMjlmZDI3ZWVlYjViNjM0NjhmMWYzNzhiYjFjNTAzNTlhNjBmOGQyYTg4ZjY2OD9yZXNwb25zZS1jb250ZW50LWRpc3Bvc2l0aW9uPSomcmVzcG9uc2UtY29udGVudC10eXBlPSoifV19&Signature=P-AW35Km78478HKxD1xCRfdIfORz1cXnanLSAsU7%7EZaEAyfDCTooeUEeqAfBw-3qwzs1sSetBFgaz8NcjgVL7W-1I23KeYqVqBlfB1fBfzfc08qlUUmmHGDdWg2rsI0Uc2REszQcnIiAqOAMTg894MkIGSzebQIGj3kI9DyZXfKeEL0j8pD%7E2LjDq0VHRxi4FJGIX4QCxKAZMKB6xUkXWSU7s%7E984HiM%7EKWFdDUpconQVpfMJ34PKzy7BhjOcMBPpGNsnsR69V4lVJVAgcQtqXW%7E4V9vx4GzAtvLvZ30eA55TWW7KE0KbUcETnI2p5e4xDB1pPaHH6KMR%7Elr6Bs82A__&Key-Pair-Id=K1HG1QXK3AL3BR", "method": "GET" } ], "mobileOverflow": false, "device": { "vendor": "amd", "architecture": "rdna-3", "features": [ "depth32float-stencil8", "chromium-experimental-subgroup-matrix", "rg11b10ufloat-renderable", "texture-formats-tier1", "bgra8unorm-storage", "chromium-experimental-multi-draw-indirect", "texture-compression-bc", "dual-source-blending", "chromium-experimental-sampling-resource-table", "core-features-and-limits", "chromium-experimental-timestamp-query-inside-passes", "float32-filterable", "indirect-first-instance", "float32-blendable", "subgroup-size-control", "texture-compression-unaligned", "depth-clip-control", "texture-compression-bc-sliced-3d", "clip-distances", "shader-f16", "timestamp-query", "texture-formats-tier2", "primitive-index", "texture-component-swizzle", "subgroups" ] }, "passed": false}README.md+2-2
app/README.md+1-1
app/index.html+1-1
app/public/http-help.html+1-1
app/src/browser-http.mjs+1-1
app/src/workspace.mjs+1-1
app/tests/http-agent-live.mjsAdded+61
app/tests/http-live.mjsAdded+59
assets/agent.worker-euGpP_Md.jsAdded
assets/index-wZi62oe2.jsAdded
http-help.html+1-1
index.html+2-2
validation/http-desktop.pngAdded

Large File Pointer Details
- SHA256: ef603eaaa1aa9d55aeb9ae62c399325bfbf610be01d131ae1d61313bbd844479
- Pointer size: 130 Bytes
- Size of remote file: 77.5 kB
validation/http-mobile.pngAdded

Large File Pointer Details
- SHA256: a2e16cbb3015bfb220da278104d909563b8779f1a9699fee649e55c32c8c2a99
- Pointer size: 130 Bytes
- Size of remote file: 63.8 kB
validation/http-shell-live-initial.jsonAdded+239
validation/http-shell-live.jsonAdded+239