{"id":61521,"recorded_at":"2026-10-26T14:37:31.053901Z","observed_at":"2026-10-26T14:37:31.053851Z","subject_kind":"source_record","subject":"x402_bazaar:https://agent.halowerk.com/v1/oss-openrewrite-java-package-relocation","kind":"listing","method":"baseline/1","body":{"endpoints":[["x402","https://agent.halowerk.com/v1/oss-openrewrite-java-package-relocation"]],"name":"agent.halowerk.com/v1/oss-openrewrite-java-package-relocation","owner_address":"0x2880edfff13100677bf97a3cbdf3bc34771c4e5e","raw":{"accepts":[{"amount":"4000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"asset":"USDC","assetTransferMethod":"eip3009","eip712Domain":{"chainId":8453,"name":"USD Coin","verifyingContract":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","version":"2"},"name":"USD Coin","network_name":"Base Mainnet","version":"2"},"maxTimeoutSeconds":300,"network":"eip155:8453","payTo":"0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E","scheme":"exact"}],"description":"Relocates a Java package across a bounded set of source files using OpenRewrite, which works on a type-attributed syntax tree rather than on text. That is the difference that matters: a textual search and replace hits strings, comments and same-named symbols from other packages, while this changes only what actually refers to the package. Both the before and after state are compiled and the result is reported, so a refactoring that breaks the build says so instead of being handed over as done.","extensions":{"bazaar":{"info":{"input":{"body":{"files":[{"content":"package old.api;\npublic class Counter { public static int twice(int x) { return x * 2; } }\n","path":"src/old/api/Counter.java"},{"content":"package client;\nimport old.api.Counter;\npublic class Use { public int value() { return Counter.twice(3); } public String label() { return \"old.api\"; } }\n","path":"src/client/Use.java"}],"new_package":"newapi","old_package":"old.api","recursive":true},"bodyType":"json","method":"POST","type":"http"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"files":{"items":{"additionalProperties":false,"properties":{"content":{"maxLength":16384,"minLength":1,"type":"string"},"path":{"maxLength":256,"pattern":"^src/(?:[A-Za-z_][A-Za-z0-9_]*/)*(?:[A-Za-z_][A-Za-z0-9_]*|package-info)\\.java$","type":"string"}},"required":["path","content"],"type":"object"},"maxItems":32,"minItems":1,"type":"array"},"new_package":{"maxLength":128,"pattern":"^[A-Za-z_][A-Za-z0-9_]*(\\.[A-Za-z_][A-Za-z0-9_]*)*$","type":"string"},"old_package":{"maxLength":128,"pattern":"^[A-Za-z_][A-Za-z0-9_]*(\\.[A-Za-z_][A-Za-z0-9_]*)*$","type":"string"},"recursive":{"type":"boolean"}},"required":["files","old_package","new_package","recursive"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"}},"required":["input"],"type":"object"}}},"lastUpdated":"2026-10-23T07:40:51.697Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":2,"lastCalledAt":"2026-10-23T07:40:51.266Z"},"resource":"https://agent.halowerk.com/v1/oss-openrewrite-java-package-relocation","type":"http","x402Version":2},"source":"x402_bazaar","summary":"Relocates a Java package across a bounded set of source files using OpenRewrite, which works on a type-attributed syntax tree rather than on text. That is the difference that matters: a textual search and replace hits strings, comments and same-named symbols from other packages, while this changes only what actually refers to the package. Both the before and after state are compiled and the result is reported, so a refactoring that breaks the build says so instead of being handed over as done."},"body_sha256":"5ba8619176466f9d7f04e9ae73c9ce068add063298ccab05c870036dbd26b886","prev_id":null,"leaf":"0x933baea6cd48c2e3e7bff617b6eee3257ce0751ac4bc7ad069fbb94a17c034d9","leaf_text":"{\"body\":\"5ba8619176466f9d7f04e9ae73c9ce068add063298ccab05c870036dbd26b886\",\"id\":61521,\"kind\":\"listing\",\"method\":\"baseline/1\",\"observed_us\":1793025451053851,\"prev\":null,\"subject\":\"x402_bazaar:https://agent.halowerk.com/v1/oss-openrewrite-java-package-relocation\",\"subject_kind\":\"source_record\"}","day":{"day":"2026-10-26","leaves":296695,"root":"0xf43e8dcc3d451a4788b26be904c55e8c4c0fa75c9666796c51db38d37e2c0df8","chained":"0x702d5ac508f08b0d1accf36af25822d8e5660367494edd17a642fb61e158a57a","anchor_chain":"eip155:5042002","anchor_tx":"0x495162f8936e19f0039918feebe6c307f327cd6bf8c37219620b1970041fa9ae","anchor_block":69251483},"proof":["0x933b73f0741e22575a4f3dc9b55077d236dcdf25766653d449df3fe9369792fc","0xcdaeee45ff6c2dc43c40d62fd5a6aaf3ba601dec324eafb56fdd6103e0dd3740","0xcc601d365d8f2bcb085d5306c0e7399d3823e8f38458e06aa7384046633c7d27","0x9d109cad8846bd3b0c94baf8a4bb753f1b232b57e305590d96d69e1f04beb578","0x56f1879d83e34f4f4742534d01897c79ce4265dba100d10ea187b5cd2b3ac7d2","0xe790af17c6818384476e87c6f9893f524e3a1dede273af94104165c66335acdd","0xc51e1035de14c0513077049899f7860324fd25542a717d958eb7cc3d69127349","0xb46a6170ce4a525e77afca9f113c229953c1259bd81eef12773f230d441e5314","0xf3ab634627a7a54eacde9afbed8150aecbe38beaacdc19ab2b3baf5b8ef3d60c","0x578356ff984cd9d8af7804ab292b224cedc3adc7906f706cb4393c7f03af33b7","0xdcd590752acb338329aec3087ddc69ef4b8fcbe0bb91a9b8e37e17c10a9dfe92","0x3b55f6d5345bce3e1332e014f19526d25328fb6283d3518837a015c3621c0d1c","0x45c1d3062bbe98a6b1540c7e2ccf6516eedd6ef07fdfeb1ba77ee6272970447c","0xf0edabbb9ba0d643e5505d19d07637eb6f6aed0a1c7356af43ae7d84ae9ef0c5","0xf0bd63870f0bb378fa300bd33563050dcb7b3e02b44eb3ee550c1c534ec4b246","0x1ac20d30773e1f4f2f811540e9a99b5cca9177c9e2e029acc0d80cf3f1d11f0f","0xd21942ae3214eff88e08ab04884fd4b11958b51af9a0741b7668e2d07a2c56c9","0x9a9024edb5069d88a324facb310a5ce8e495214bbaa968f077bede437390194f","0x9b9ce5b74b9bab5121612ef6b64920a8d453cbf311096a423eef9702747e868a"]}