{"uid":"cap_QoH5UmwB96FtVZjrklIHq","slug":"ecmascript-object-binding-rest-copy-exclusion-detector-b915ed93","name":"ECMAScript Object Binding Rest Copy Exclusion Detector","description":"Prüft vor dem Umbau einer Objekt-Destrukturierung, welche eigenen aufzählbaren Schlüssel tatsächlich im Restobjekt verbleiben und welche wegen Bindungen oder Vererbung fehlen, ohne Feldwerte herauszugeben.","url":"https://detect.halowerk.com/u/ecmascript-object-binding-rest-copy-exclusion?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","format":"uri","pattern":"^https?://"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_A_yEPCi-4OMrS5hPAkKR-","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes an ECMAScript object destructuring to identify which own enumerable keys will remain in the rest object after bindings and inheritance exclusions, without exposing field values.","exampleAgentPrompt":"Before I refactor this destructuring pattern, check which own enumerable keys would actually end up in the rest object and which get excluded because of explicit bindings or prototype inheritance — use this URL for the scenario: https://example.com/my-destructuring-case","exampleUseCases":[{"title":"Refactoring destructuring before code review","prompt":"I'm about to submit a PR that rewrites some object destructuring with rest syntax. Can you check which enumerable keys will actually land in the rest object vs. be dropped due to explicit bindings? Here's the scenario URL: https://example.com/destructuring-pr-scenario"},{"title":"Debugging unexpected rest object contents","prompt":"My rest object in this destructuring is missing some keys I expected to be there. Can you tell me which own enumerable keys end up in the rest copy and which are excluded because they appear as named bindings or are inherited? Scenario is at https://example.com/debug-rest-keys"},{"title":"Static analysis before transpilation","prompt":"Before we run this through our transpiler, I need to know exactly which own enumerable properties will be copied into the rest object for this destructuring pattern — without revealing the actual values. Check it here: https://example.com/transpile-check-scenario"}],"resultDescription":"Returns a structured report of which own enumerable keys will be present in the rest object after destructuring, which are excluded because they are explicitly named in the binding pattern, and which are absent due to prototype inheritance — without disclosing any property values.","failureModes":["Invalid or unreachable URL returns an error indicating the resource could not be fetched","URL does not point to a valid ECMAScript destructuring scenario, resulting in a parse or schema validation error","Network timeout if the referenced URL is slow or unresponsive","Scenario describes non-object destructuring (e.g. array patterns), which is out of scope"],"whenToPreferThis":"Choose this endpoint when you need a precise, value-safe static analysis of which own enumerable keys survive into the rest object of an ECMAScript object destructuring — specifically when you need to distinguish between keys excluded by explicit bindings versus those absent due to prototype inheritance, without any property values being leaked. Useful for code refactoring validation, transpiler pre-checks, and educational tooling around ES6+ destructuring semantics.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-04T06:39:43.804Z","isFirstParty":false,"canonicalSlug":"ecmascript-object-binding-rest-copy-exclusion-detector-b915ed93"}