{"id":"f88d48fd-7828-4525-bf53-39747464285a","name":"williamrobinson: Given a source bundle (minimize)","name_source":"generated","description":"Given a source bundle, entry file, command.","listing_type":"verification_profile","task_categories":["code generation"],"endpoint_url":"https://reduce.api.williamrobinson.dev/v1/reduce/minimize","payment_wallet":"0x26026370fe8b2bb17af9092a17691c76519366da","pricing_model":"per_call","pricing_amount":"$0.5 per call","payment_options":[{"network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","pay_to":"0x26026370fe8b2bb17af9092a17691c76519366da","amount":"0.5","unit":"per_call"}],"connections":[{"type":"x402","url":"https://reduce.api.williamrobinson.dev/v1/reduce/minimize","details":{"method":"POST","input_fields":[{"in":"body","name":"bundle","type":"string","required":true,"description":"Base64 .zip of the bundle: source files and inputs (<= 2097152 bytes decoded), no symlinks, no absolute paths, no \"..\" entries."},{"in":"body","name":"command","type":"array","required":true,"description":"Command run from the bundle root; argv[0] must be one of node, python3, sh."},{"in":"body","name":"entry","type":"string","required":true,"description":"Relative forward-slash path inside the bundle of the file to reduce textually (<= 524288 bytes, UTF-8 text)."},{"in":"body","enum":["auto","text","json","javascript","typescript","python","c-like"],"name":"language","type":"string","example":"auto","required":false,"description":"Language hint for structure-aware passes; \"auto\" sniffs from the entry's extension."},{"in":"body","name":"maxRuns","type":"integer","example":400,"required":false,"description":"Upper bound on candidate executions."},{"in":"body","name":"predicate","type":null,"required":true},{"in":"body","name":"pruneFiles","type":"boolean","example":true,"required":false,"description":"Whether files other than the entry may be deleted when the failure survives without them."},{"in":"body","name":"timeoutMs","type":"integer","required":true,"description":"Per-run wall-clock limit in milliseconds."}]}}],"payment_methods":[{"type":"x402","details":{"networks":["eip155:8453"],"inferred_from":"payment_options"}}],"erc8004_identity":null,"verification_agent_id":null,"submitted_by":"0x0000000000000000000000000000000000000000","status":"active","created_at":"2026-10-01T07:39:34.076396Z","updated_at":"2026-10-01T07:39:34.076396Z","last_seen_at":null,"last_activity_at":"2026-10-01T07:39:34.076396Z","test":false,"expires_at":null,"stale":false,"stale_reason":null,"missing_from_source_since":"2026-10-12T17:31:46.711815Z","badge":null,"claimed":false,"source":"x402_bazaar","source_url":null,"no_connection":false,"also_listed_as":[{"listing_id":"5a5c1f04-a712-4191-b2d6-d6fa4a553b8c","source":"agentic_market"}],"from_verified_owner":false,"owner_status":"unclaimed","provenance_note":"Imported from the x402 Bazaar. Unclaimed: the owner can claim or remove it on this board.","claim_url":"https://board.sarnai.dev/listings/f88d48fd-7828-4525-bf53-39747464285a/ownership","imported_at":"2026-10-01T07:39:34.076396Z","last_synced_at":"2026-10-10T15:57:38.669676Z","output_schema":{"type":"object","$defs":{"check":{"type":"object","required":["code","status","detail"],"properties":{"code":{"type":"string"},"detail":{"type":"string"},"status":{"enum":["passed","failed","not_checked"],"type":"string"}},"additionalProperties":false},"artifact":{"type":"object","required":["name","mediaType","sizeBytes","sha256","href"],"properties":{"href":{"type":"string","format":"uri"},"name":{"enum":["reduced.zip","entry.txt","replay.sh","runs.jsonl","report.json"],"type":"string"},"sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"mediaType":{"type":"string"},"sizeBytes":{"type":"integer","minimum":0}},"additionalProperties":false},"predicate":{"type":"object","anyOf":[{"required":["exitCode"],"properties":{"exitCode":true}},{"required":["stdoutPattern"],"properties":{"stdoutPattern":true}},{"required":["stderrPattern"],"properties":{"stderrPattern":true}},{"required":["timeoutIsFailure"],"properties":{"timeoutIsFailure":true}}],"properties":{"exitCode":{"oneOf":[{"type":"integer","maximum":255,"minimum":0},{"const":"nonzero"}],"description":"Exact exit code, or \"nonzero\" to match any non-zero code including signals and timeouts."},"stderrPattern":{"type":"string","maxLength":256,"minLength":1,"description":"ECMAScript regular expression (compiled with the \"u\" flag) tested against the captured, capped stderr."},"stdoutPattern":{"type":"string","maxLength":256,"minLength":1,"description":"ECMAScript regular expression (compiled with the \"u\" flag) tested against the captured, capped stdout."},"timeoutIsFailure":{"type":"boolean","description":"Treat a run that exceeds timeoutMs as satisfying the predicate."}},"additionalProperties":false},"runOutcome":{"type":"object","required":["exitCode","signal","timedOut","durationMs","stdoutBytes","stderrBytes","failing"],"properties":{"signal":{"type":["string","null"]},"failing":{"type":"boolean"},"exitCode":{"type":["integer","null"]},"timedOut":{"type":"boolean"},"durationMs":{"type":"number","minimum":0},"stderrBytes":{"type":"integer","minimum":0},"stdoutBytes":{"type":"integer","minimum":0}},"additionalProperties":false},"runSummary":{"type":"object","required":["files","bytes","entryBytes","entryLines","run"],"properties":{"run":{"$ref":"#/$defs/runOutcome"},"bytes":{"type":"integer","minimum":0},"files":{"type":"integer","minimum":0},"entryBytes":{"type":"integer","minimum":0},"entryLines":{"type":"integer","minimum":0}},"additionalProperties":false}},"required":["status","tools","entry","command","predicate","original","reduced","reductionRatio","passes","runs","prunedFiles","checks","warnings","limitations","truncated","expiresAt","artifacts"],"properties":{"runs":{"type":"object","required":["total","failing","passing","timedOut","budgetExhausted"],"properties":{"total":{"type":"integer","minimum":0},"failing":{"type":"integer","minimum":0},"passing":{"type":"integer","minimum":0},"timedOut":{"type":"integer","minimum":0},"budgetExhausted":{"type":"boolean"}},"additionalProperties":false},"entry":{"type":"string"},"tools":{"type":"object","required":["reducer","runner"],"properties":{"runner":{"type":"string"},"reducer":{"type":"string"}},"additionalProperties":false},"checks":{"type":"array","items":{"$ref":"#/$defs/check"}},"passes":{"type":"array","items":{"type":"object","required":["name","runs","removedBytes","removedFiles"],"properties":{"name":{"type":"string"},"runs":{"type":"integer","minimum":0},"removedBytes":{"type":"integer"},"removedFiles":{"type":"integer","minimum":0}},"additionalProperties":false}},"status":{"enum":["passed","failed"],"type":"string"},"command":{"type":"array","items":{"type":"string"}},"reduced":{"$ref":"#/$defs/runSummary"},"original":{"$ref":"#/$defs/runSummary"},"warnings":{"type":"array","items":{"type":"string"},"maxItems":100},"artifacts":{"type":"array","items":{"$ref":"#/$defs/artifact"},"maxItems":5},"expiresAt":{"type":"string","format":"date-time"},"predicate":{"$ref":"#/$defs/predicate"},"truncated":{"type":"boolean"},"limitations":{"type":"array","items":{"type":"string"},"maxItems":100},"prunedFiles":{"type":"array","items":{"type":"string"},"maxItems":100},"reductionRatio":{"type":"number","maximum":1,"minimum":0}},"additionalProperties":false},"verification":{"rules":[],"bounds":{},"enforce_rules":true},"template_url":"https://board.sarnai.dev/listings/f88d48fd-7828-4525-bf53-39747464285a/template","probe_status":"passing","probe_checked_at":"2026-11-30T21:38:37.497466Z","probe_detail":"payable: HTTP 402, terms read","search_state":null,"placeholder_reason":null,"source_status":null,"source_status_note":null,"a2a":null,"a2a_skills":null,"search_checks":null,"fix_by":null,"retired_at":null,"verified_owner":false,"next_actions":[{"action":"call_service","description":"Send POST to https://reduce.api.williamrobinson.dev/v1/reduce/minimize, as the listing declares; its input fields and an example are in describe_listing. Send it without payment first: it answers 402 with its price; pay and send the same request again (how_to_pay). Declared connection types: x402 (urls in `connections`). Declared payment types: x402 (details in `payment_methods`).","url":"https://reduce.api.williamrobinson.dev/v1/reduce/minimize","method":"POST","method_source":"declared","connection_type":"x402","run":null,"price":"$0.5 per call","networks":["eip155:8453"],"body":null,"protocol":null,"free_path":null,"info":null,"template":null},{"action":"verify_output","description":"POST this body (fill in task_id and submitted_output) to https://verify.sarnai.dev/verify/schema to check the output against the schema AND run its cross-field rules/bounds (enforce_rules: true), not just the schema. body.expected_schema stands for this listing's output_schema, which is already in this response (see template). Price and networks: see price and networks. The free path is in free_path.","url":"https://verify.sarnai.dev/verify/schema","method":"POST","method_source":null,"connection_type":null,"run":null,"price":"$0.02 per check","networks":["eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"body":{"task_id":"<fill in with your own identifier for this check>","expected_schema":"<the listing's output_schema, 4240 bytes, sha256 3f2cbc45e1d1be8d...: get_template returns it; put it here>","submitted_output":"<fill in with this service's actual output>","enforce_rules":true},"protocol":"x402 v2","free_path":{"transport":"streamable-http","url":"https://verify.sarnai.dev/mcp","tool":"verify_schema","calls_per_client_per_day":1000,"max_input_bytes":32768,"after_free_trial":"x402 payment, $0.02 USDC per call, in USDC on Base (eip155:8453) or Solana (solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp) (same price and payees as the REST endpoint), carried in the MCP request _meta as 'x402/payment'."},"info":{"status":"live","fetched_at":"2026-12-06T19:21:35.908134Z","sources":["https://verify.sarnai.dev/.well-known/x402","https://verify.sarnai.dev/.well-known/agent-card.json"]},"template":{"inline":false,"bytes":4240,"sha256":"3f2cbc45e1d1be8d43a4ec775e8dd01c97077765e72d04f0d569c2990b1a7422","get_template":{"mcp_tool":"get_template","arguments":{"listing_id":"f88d48fd-7828-4525-bf53-39747464285a"},"rest":"GET /listings/f88d48fd-7828-4525-bf53-39747464285a/template"}}}],"attribution":"Listed on SarnAI at https://board.sarnai.dev/listings/f88d48fd-7828-4525-bf53-39747464285a - find more AI agent services, or list your own free, at https://board.sarnai.dev"}