{"_id":"@ar-agents/constancia","_rev":"9-ea52cdbc44a3c62dc93360b2685edf28","name":"@ar-agents/constancia","dist-tags":{"latest":"0.2.6"},"versions":{"0.1.0":{"name":"@ar-agents/constancia","version":"0.1.0","keywords":["constancia-inscripcion","afip","arca","argentina","cuit","monotributo","kyc","regtech","compliance","browser-automation","ai-sdk","vercel-ai","agent","agentic"],"author":{"name":"Nazareno Clemente","email":"naza@helloastro.co"},"license":"MIT","_id":"@ar-agents/constancia@0.1.0","maintainers":[{"name":"naza-ar","email":"clementenaza@gmail.com"}],"homepage":"https://github.com/ar-agents/ar-agents/tree/main/packages/constancia","bugs":{"url":"https://github.com/ar-agents/ar-agents/issues"},"dist":{"shasum":"323e5c2db520e94372c3039c3f842f7fc5f8039e","tarball":"https://registry.npmjs.org/@ar-agents/constancia/-/constancia-0.1.0.tgz","fileCount":12,"integrity":"sha512-EQceVOzEYdHoMWewo0enVmrLmzk9wZB29xf34UlmrFlDojrYVpBCFA1jtFDrepu2UPOkZ7T5HuyE8n9s6bHmww==","signatures":[{"sig":"MEYCIQDUiWW9P1WgJlbpACPUhid5H3pcogmaZZYAWd1hxOnhqwIhAOrm0AL3PPqv3S9Fn1/zh1ZfcK8S9f8ZLSr9dQ//rJpA","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ar-agents%2fconstancia@0.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":117385},"main":"./dist/index.cjs","type":"module","_from":"file:ar-agents-constancia-0.1.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"funding":{"url":"https://github.com/sponsors/naza00000","type":"github"},"scripts":{"lint":"echo 'no lint configured yet'","size":"size-limit","test":"vitest run","build":"tsup","clean":"rm -rf dist","validate":"publint && attw --pack .","typecheck":"tsc --noEmit","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"naza-ar","email":"clementenaza@gmail.com"},"_resolved":"/tmp/48d13f3af89fcecad7f6d0619f74f32b/ar-agents-constancia-0.1.0.tgz","_integrity":"sha512-EQceVOzEYdHoMWewo0enVmrLmzk9wZB29xf34UlmrFlDojrYVpBCFA1jtFDrepu2UPOkZ7T5HuyE8n9s6bHmww==","deprecated":"Older versions contained personal PII (test fixtures) and have been superseded. Upgrade to @ar-agents/constancia@>=0.2.3, rebuilt from scrubbed source. Removal of the old tarballs has been requested from npm support.","repository":{"url":"git+https://github.com/ar-agents/ar-agents.git","type":"git","directory":"packages/constancia"},"size-limit":[{"name":"ESM","path":"dist/index.js","limit":"10 KB"},{"name":"CJS","path":"dist/index.cjs","limit":"10 KB"}],"_npmVersion":"10.8.2","description":"ARCA (ex-AFIP) Constancia de Inscripción — the official, legally-citable fiscal document, including the PDF artifact — as a typed tool for AI agents on the Vercel AI SDK. Browser-backed: drives the public web form (no Clave Fiscal) behind a stable adapter","directories":{},"_nodeVersion":"20.20.2","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"ai":"^6.0.175","zod":"^4.4.3","tsup":"^8.3.5","vitest":"^2.1.8","typescript":"^5.9.3","@types/node":"^20.19.39"},"peerDependencies":{"ai":">=6.0.0","zod":">=3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/constancia_0.1.0_1779204643399_0.006255573832533612","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@ar-agents/constancia","version":"0.2.0","keywords":["constancia-inscripcion","afip","arca","argentina","cuit","monotributo","kyc","regtech","compliance","browser-automation","ai-sdk","vercel-ai","agent","agentic"],"author":{"name":"Nazareno Clemente","email":"naza@helloastro.co"},"license":"MIT","_id":"@ar-agents/constancia@0.2.0","maintainers":[{"name":"naza-ar","email":"clementenaza@gmail.com"}],"homepage":"https://github.com/ar-agents/ar-agents/tree/main/packages/constancia","bugs":{"url":"https://github.com/ar-agents/ar-agents/issues"},"dist":{"shasum":"e584a34e3000d36610397d588fd325be0387f6b4","tarball":"https://registry.npmjs.org/@ar-agents/constancia/-/constancia-0.2.0.tgz","fileCount":12,"integrity":"sha512-ZKG01p2+cDnYt5NgcoaiHlLrV53W7Teph20qVTSzwOvR9UL/fEMkGX+PlJoGd7DucvQYUDsQKV/ceKYjBm5uLA==","signatures":[{"sig":"MEQCICSYAy+g77S62oSInWDM7oVkm5RxiiqnBUtgAfBy5vwTAiB+EHKpS81Vmxc6I8qSxAlRx9yPZcb19nc+Gtt09tdzJQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ar-agents%2fconstancia@0.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":121818},"main":"./dist/index.cjs","type":"module","_from":"file:ar-agents-constancia-0.2.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"funding":{"url":"https://github.com/sponsors/naza00000","type":"github"},"scripts":{"lint":"echo 'no lint configured yet'","size":"size-limit","test":"vitest run","build":"tsup","clean":"rm -rf dist","validate":"publint && attw --pack .","typecheck":"tsc --noEmit","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"naza-ar","email":"clementenaza@gmail.com"},"_resolved":"/tmp/70b274a268cf64c866f3d03a4a2d73e2/ar-agents-constancia-0.2.0.tgz","_integrity":"sha512-ZKG01p2+cDnYt5NgcoaiHlLrV53W7Teph20qVTSzwOvR9UL/fEMkGX+PlJoGd7DucvQYUDsQKV/ceKYjBm5uLA==","deprecated":"Older versions contained personal PII (test fixtures) and have been superseded. Upgrade to @ar-agents/constancia@>=0.2.3, rebuilt from scrubbed source. Removal of the old tarballs has been requested from npm support.","repository":{"url":"git+https://github.com/ar-agents/ar-agents.git","type":"git","directory":"packages/constancia"},"size-limit":[{"name":"ESM","path":"dist/index.js","limit":"10 KB"},{"name":"CJS","path":"dist/index.cjs","limit":"10 KB"}],"_npmVersion":"10.8.2","description":"ARCA (ex-AFIP) Constancia de Inscripción — the official, legally-citable fiscal document, including the PDF artifact — as a typed tool for AI agents on the Vercel AI SDK. Browser-backed: drives the public web form (no Clave Fiscal) behind a stable adapter","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@ar-agents/core":"^0.1.0"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"ai":"^6.0.175","zod":"^4.4.3","tsup":"^8.3.5","vitest":"^2.1.8","typescript":"^5.9.3","@types/node":"^20.19.39"},"peerDependencies":{"ai":">=6.0.0","zod":">=3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/constancia_0.2.0_1779728036557_0.2847959702206042","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@ar-agents/constancia","version":"0.2.1","keywords":["constancia-inscripcion","afip","arca","argentina","cuit","monotributo","kyc","regtech","compliance","browser-automation","ai-sdk","vercel-ai","agent","agentic"],"author":{"name":"Nazareno Clemente","email":"naza@helloastro.co"},"license":"MIT","_id":"@ar-agents/constancia@0.2.1","maintainers":[{"name":"naza-ar","email":"clementenaza@gmail.com"}],"homepage":"https://github.com/ar-agents/ar-agents/tree/main/packages/constancia","bugs":{"url":"https://github.com/ar-agents/ar-agents/issues"},"dist":{"shasum":"02c7497d33c4a4fceb65134f357bbd4b4e91b643","tarball":"https://registry.npmjs.org/@ar-agents/constancia/-/constancia-0.2.1.tgz","fileCount":12,"integrity":"sha512-n1YFGViypC4JWV2t1uFWgH7Sf0hl/VuSDUOonIwrszv1nQw1R0Lk2cn+058LSdDIejWdXzY5oDsm5w8lWkHfBw==","signatures":[{"sig":"MEUCIQD3e+3958me0Gt5c2jHnqpWaYDTNH/o4InnIyDvcAHmmwIgTyRZZt6VuubBXqfQMJk/WaPyd0R8o87lT17sLhe6ykY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ar-agents%2fconstancia@0.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":122054},"main":"./dist/index.cjs","type":"module","_from":"file:ar-agents-constancia-0.2.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"funding":{"url":"https://github.com/sponsors/naza00000","type":"github"},"scripts":{"lint":"echo 'no lint configured yet'","size":"size-limit","test":"vitest run","build":"tsup","clean":"rm -rf dist","validate":"publint && attw --pack .","typecheck":"tsc --noEmit","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"naza-ar","email":"clementenaza@gmail.com"},"_resolved":"/tmp/e5dfc225888269cd1effcc5b1c939360/ar-agents-constancia-0.2.1.tgz","_integrity":"sha512-n1YFGViypC4JWV2t1uFWgH7Sf0hl/VuSDUOonIwrszv1nQw1R0Lk2cn+058LSdDIejWdXzY5oDsm5w8lWkHfBw==","deprecated":"Older versions contained personal PII (test fixtures) and have been superseded. Upgrade to @ar-agents/constancia@>=0.2.3, rebuilt from scrubbed source. Removal of the old tarballs has been requested from npm support.","repository":{"url":"git+https://github.com/ar-agents/ar-agents.git","type":"git","directory":"packages/constancia"},"size-limit":[{"name":"ESM","path":"dist/index.js","limit":"10 KB"},{"name":"CJS","path":"dist/index.cjs","limit":"10 KB"}],"_npmVersion":"10.8.2","description":"ARCA (ex-AFIP) Constancia de Inscripción: the official, legally-citable fiscal document, including the PDF artifact, as a typed tool for AI agents on the Vercel AI SDK. Browser-backed: drives the public web form (no Clave Fiscal) behind a stable adapter c","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@ar-agents/core":"^0.1.0"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"ai":"^6.0.175","zod":"^4.4.3","tsup":"^8.3.5","vitest":"^2.1.8","typescript":"^5.9.3","@types/node":"^20.19.39"},"peerDependencies":{"ai":">=6.0.0","zod":">=3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/constancia_0.2.1_1781269121407_0.15763294177471998","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"@ar-agents/constancia","version":"0.2.2","keywords":["constancia-inscripcion","afip","arca","argentina","cuit","monotributo","kyc","regtech","compliance","browser-automation","ai-sdk","vercel-ai","agent","agentic"],"author":{"name":"Nazareno Clemente","email":"naza@helloastro.co"},"license":"MIT","_id":"@ar-agents/constancia@0.2.2","maintainers":[{"name":"naza-ar","email":"clementenaza@gmail.com"}],"homepage":"https://github.com/ar-agents/ar-agents/tree/main/packages/constancia","bugs":{"url":"https://github.com/ar-agents/ar-agents/issues"},"dist":{"shasum":"b26b7ee99de65458ff12bd3f19a580d8073a7d9e","tarball":"https://registry.npmjs.org/@ar-agents/constancia/-/constancia-0.2.2.tgz","fileCount":12,"integrity":"sha512-FgHAbsgXcqYmwAUddGnMjP2pHjxR5pMxC/apkChDJvskPPNUSXMebpGbq3v3w8356HaDtAfN0Zb/IGU5kTf55w==","signatures":[{"sig":"MEUCIQCg8BRRIdP2poLStTPzEWu+WUjoT/Cwqn9myewNyPGtnwIgGtUcTjm1tRQSwo87E0kmN2P3mbWzhlXRltJCrZXGcf8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ar-agents%2fconstancia@0.2.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":122409},"main":"./dist/index.cjs","type":"module","_from":"file:ar-agents-constancia-0.2.2.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"funding":{"url":"https://github.com/sponsors/naza00000","type":"github"},"scripts":{"lint":"echo 'no lint configured yet'","size":"size-limit","test":"vitest run","build":"tsup","clean":"rm -rf dist","validate":"publint && attw --pack .","typecheck":"tsc --noEmit","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"naza-ar","email":"clementenaza@gmail.com"},"_resolved":"/tmp/6e2c9871677c4d0949b453dce6bd66db/ar-agents-constancia-0.2.2.tgz","_integrity":"sha512-FgHAbsgXcqYmwAUddGnMjP2pHjxR5pMxC/apkChDJvskPPNUSXMebpGbq3v3w8356HaDtAfN0Zb/IGU5kTf55w==","deprecated":"Older versions contained personal PII (test fixtures) and have been superseded. Upgrade to @ar-agents/constancia@>=0.2.3, rebuilt from scrubbed source. Removal of the old tarballs has been requested from npm support.","repository":{"url":"git+https://github.com/ar-agents/ar-agents.git","type":"git","directory":"packages/constancia"},"size-limit":[{"name":"ESM","path":"dist/index.js","limit":"10 KB"},{"name":"CJS","path":"dist/index.cjs","limit":"10 KB"}],"_npmVersion":"10.8.2","description":"ARCA (ex-AFIP) Constancia de Inscripción: the official, legally-citable fiscal document, including the PDF artifact, as a typed tool for AI agents on the Vercel AI SDK. Browser-backed: drives the public web form (no Clave Fiscal) behind a stable adapter c","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@ar-agents/core":"^0.1.0"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"ai":"^6.0.175","zod":"^4.4.3","tsup":"^8.3.5","vitest":"^2.1.8","typescript":"^5.9.3","@types/node":"^20.19.39"},"peerDependencies":{"ai":">=6.0.0","zod":">=3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/constancia_0.2.2_1781280161196_0.16977150023145238","host":"s3://npm-registry-packages-npm-production"}},"0.2.3":{"name":"@ar-agents/constancia","version":"0.2.3","keywords":["constancia-inscripcion","afip","arca","argentina","cuit","monotributo","kyc","regtech","compliance","browser-automation","ai-sdk","vercel-ai","agent","agentic"],"author":{"name":"Nazareno Clemente","email":"naza@helloastro.co"},"license":"MIT","_id":"@ar-agents/constancia@0.2.3","maintainers":[{"name":"naza-ar","email":"clementenaza@gmail.com"}],"homepage":"https://github.com/ar-agents/ar-agents/tree/main/packages/constancia","bugs":{"url":"https://github.com/ar-agents/ar-agents/issues"},"dist":{"shasum":"151125a4533f0237a651d8599913ba2eb74ee1d6","tarball":"https://registry.npmjs.org/@ar-agents/constancia/-/constancia-0.2.3.tgz","fileCount":12,"integrity":"sha512-erFNHxx8dM5t0/FC1n9h0l+mwXcR7upGTzLw1TiUWrHni9guRTZwcr2ZyAA3NymnvV9dO1bqk0BWEo/EvtH/Bg==","signatures":[{"sig":"MEUCIErujc51h39OW03bLihp9MY8unR22b6lHNcBZ6VhDIl3AiEAsPQy3N0ItzvjAY1TirGYPUoMZLl4aN16ygRxrJtTWsg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ar-agents%2fconstancia@0.2.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":122740},"main":"./dist/index.cjs","type":"module","_from":"file:ar-agents-constancia-0.2.3.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"funding":{"url":"https://github.com/sponsors/naza00000","type":"github"},"scripts":{"lint":"echo 'no lint configured yet'","size":"size-limit","test":"vitest run","build":"tsup","clean":"rm -rf dist","validate":"publint && attw --pack .","typecheck":"tsc --noEmit","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"naza-ar","email":"clementenaza@gmail.com"},"_resolved":"/tmp/ed8b4b6b0e3617c6b0b146da55611672/ar-agents-constancia-0.2.3.tgz","_integrity":"sha512-erFNHxx8dM5t0/FC1n9h0l+mwXcR7upGTzLw1TiUWrHni9guRTZwcr2ZyAA3NymnvV9dO1bqk0BWEo/EvtH/Bg==","repository":{"url":"git+https://github.com/ar-agents/ar-agents.git","type":"git","directory":"packages/constancia"},"size-limit":[{"name":"ESM","path":"dist/index.js","limit":"10 KB"},{"name":"CJS","path":"dist/index.cjs","limit":"10 KB"}],"_npmVersion":"10.8.2","description":"ARCA (ex-AFIP) Constancia de Inscripción: the official, legally-citable fiscal document, including the PDF artifact, as a typed tool for AI agents on the Vercel AI SDK. Browser-backed: drives the public web form (no Clave Fiscal) behind a stable adapter c","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@ar-agents/core":"^0.2.0"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"ai":"^6.0.175","zod":"^4.4.3","tsup":"^8.3.5","vitest":"^2.1.8","typescript":"^5.9.3","@types/node":"^20.19.39"},"peerDependencies":{"ai":">=6.0.0","zod":">=3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/constancia_0.2.3_1782389696309_0.7269680582595881","host":"s3://npm-registry-packages-npm-production"}},"0.2.4":{"name":"@ar-agents/constancia","version":"0.2.4","keywords":["constancia-inscripcion","afip","arca","argentina","cuit","monotributo","kyc","regtech","compliance","browser-automation","ai-sdk","vercel-ai","agent","agentic"],"author":{"name":"Nazareno Clemente","email":"naza@helloastro.co"},"license":"MIT","_id":"@ar-agents/constancia@0.2.4","maintainers":[{"name":"naza-ar","email":"clementenaza@gmail.com"}],"homepage":"https://github.com/ar-agents/ar-agents/tree/main/packages/constancia","bugs":{"url":"https://github.com/ar-agents/ar-agents/issues"},"dist":{"shasum":"a51e87d3c7549d3182ea64325a1f1912611676c0","tarball":"https://registry.npmjs.org/@ar-agents/constancia/-/constancia-0.2.4.tgz","fileCount":12,"integrity":"sha512-FfmyI76NXo8c2ogHxCNToC1qVtwjcJrpdTrF5+Gc/CNFmXz7VPKbWiZb9vulFqZNVnCLZPLAvyxFfcQ1RFrOTQ==","signatures":[{"sig":"MEUCIFWtPdgqq0tNi/I9+/VysPMWnJGhgzt0LeyKwOhdMzAoAiEA4vzMpiYvQHLpzJynvyviz6k2tGcuMWvC5g3jzW+IVZw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ar-agents%2fconstancia@0.2.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":123122},"main":"./dist/index.cjs","type":"module","_from":"file:ar-agents-constancia-0.2.4.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"funding":{"url":"https://github.com/sponsors/naza00000","type":"github"},"scripts":{"lint":"echo 'no lint configured yet'","size":"size-limit","test":"vitest run","build":"tsup","clean":"rm -rf dist","validate":"publint && attw --pack .","typecheck":"tsc --noEmit","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"naza-ar","email":"clementenaza@gmail.com"},"_resolved":"/tmp/f0641e7b04cfd9c1f2eb48eefc3c763c/ar-agents-constancia-0.2.4.tgz","_integrity":"sha512-FfmyI76NXo8c2ogHxCNToC1qVtwjcJrpdTrF5+Gc/CNFmXz7VPKbWiZb9vulFqZNVnCLZPLAvyxFfcQ1RFrOTQ==","repository":{"url":"git+https://github.com/ar-agents/ar-agents.git","type":"git","directory":"packages/constancia"},"size-limit":[{"name":"ESM","path":"dist/index.js","limit":"10 KB"},{"name":"CJS","path":"dist/index.cjs","limit":"10 KB"}],"_npmVersion":"10.9.8","description":"ARCA (ex-AFIP) Constancia de Inscripción: the official, legally-citable fiscal document, including the PDF artifact, as a typed tool for AI agents on the Vercel AI SDK. Browser-backed: drives the public web form (no Clave Fiscal) behind a stable adapter c","directories":{},"_nodeVersion":"22.23.0","dependencies":{"@ar-agents/core":"^0.3.0"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"ai":"^7.0.0","zod":"^4.4.3","tsup":"^8.3.5","vitest":"^2.1.8","typescript":"^5.9.3","@types/node":"^20.19.39"},"peerDependencies":{"ai":">=6.0.0","zod":">=3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/constancia_0.2.4_1782899905277_0.8163521061838384","host":"s3://npm-registry-packages-npm-production"}},"0.2.5":{"name":"@ar-agents/constancia","version":"0.2.5","keywords":["constancia-inscripcion","afip","arca","argentina","cuit","monotributo","kyc","regtech","compliance","browser-automation","ai-sdk","vercel-ai","agent","agentic"],"author":{"name":"Nazareno Clemente","email":"naza@naza.ar"},"license":"MIT","_id":"@ar-agents/constancia@0.2.5","maintainers":[{"name":"naza-ar","email":"clementenaza@gmail.com"}],"homepage":"https://github.com/ar-agents/ar-agents/tree/main/packages/constancia","bugs":{"url":"https://github.com/ar-agents/ar-agents/issues"},"dist":{"shasum":"aab68eb6acb8d9dfb558beb0022337b79f774b06","tarball":"https://registry.npmjs.org/@ar-agents/constancia/-/constancia-0.2.5.tgz","fileCount":12,"integrity":"sha512-kAdfF3riZ9//5oXnUyjPhTgAxk4sJxz0jXdn9G0SmDGPuzHWfsslvJQHYrVpf2jsSPTAR7Y6kk16mRFGtcwtDQ==","signatures":[{"sig":"MEQCIEVxa6pgt4B2L8pBPtg5MN4BrXWG94i/0vtTaj2o7CgbAiAgU6yUMesFtLG19OjzueYP0lKRJef/j9cToEh6Wpv+Rg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ar-agents%2fconstancia@0.2.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":123298},"main":"./dist/index.cjs","type":"module","_from":"file:ar-agents-constancia-0.2.5.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"funding":{"url":"https://github.com/sponsors/naza00000","type":"github"},"scripts":{"lint":"echo 'no lint configured yet'","size":"size-limit","test":"vitest run","build":"tsup","clean":"rm -rf dist","validate":"publint && attw --pack .","typecheck":"tsc --noEmit","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"naza-ar","email":"clementenaza@gmail.com"},"_resolved":"/tmp/bf8a69e24d3ce8717c7b586805a452d5/ar-agents-constancia-0.2.5.tgz","_integrity":"sha512-kAdfF3riZ9//5oXnUyjPhTgAxk4sJxz0jXdn9G0SmDGPuzHWfsslvJQHYrVpf2jsSPTAR7Y6kk16mRFGtcwtDQ==","repository":{"url":"git+https://github.com/ar-agents/ar-agents.git","type":"git","directory":"packages/constancia"},"size-limit":[{"name":"ESM","path":"dist/index.js","limit":"10 KB"},{"name":"CJS","path":"dist/index.cjs","limit":"10 KB"}],"_npmVersion":"10.9.8","description":"ARCA (ex-AFIP) Constancia de Inscripción: the official, legally-citable fiscal document, including the PDF artifact, as a typed tool for AI agents on the Vercel AI SDK. Browser-backed: drives the public web form (no Clave Fiscal) behind a stable adapter c","directories":{},"_nodeVersion":"22.23.1","dependencies":{"@ar-agents/core":"^0.4.0"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"ai":"^7.0.0","zod":"^4.4.3","tsup":"^8.3.5","vitest":"^2.1.8","typescript":"^5.9.3","@types/node":"^20.19.39"},"peerDependencies":{"ai":">=6.0.0","zod":">=3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/constancia_0.2.5_1783077259500_0.5392543016953477","host":"s3://npm-registry-packages-npm-production"}},"0.2.6":{"name":"@ar-agents/constancia","version":"0.2.6","description":"ARCA (ex-AFIP) Constancia de Inscripción: the official, legally-citable fiscal document, including the PDF artifact, as a typed tool for AI agents on the Vercel AI SDK. Browser-backed: drives the public web form (no Clave Fiscal) behind a stable adapter c","keywords":["constancia-inscripcion","afip","arca","argentina","cuit","validar-cuit","verificador-cuit","check-digit","mod-11","monotributo","kyc","regtech","regtech-argentina","compliance","verification","badge","shields","afip-constancia","browser-automation","ai-sdk","vercel-ai","agent","agentic"],"license":"MIT","author":{"name":"Nazareno Clemente","email":"naza@naza.ar"},"funding":{"type":"github","url":"https://github.com/sponsors/naza00000"},"homepage":"https://ar-agents.ar/constancia","repository":{"type":"git","url":"git+https://github.com/ar-agents/ar-agents.git","directory":"packages/constancia"},"bugs":{"url":"https://github.com/ar-agents/ar-agents/issues"},"type":"module","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"size-limit":[{"name":"ESM","path":"dist/index.js","limit":"10 KB"},{"name":"CJS","path":"dist/index.cjs","limit":"10 KB"}],"peerDependencies":{"ai":">=6.0.0","zod":">=3.0.0"},"devDependencies":{"@types/node":"^20.19.39","ai":"^7.0.0","tsup":"^8.3.5","typescript":"^5.9.3","vitest":"^2.1.8","zod":"^4.4.3"},"publishConfig":{"access":"public","provenance":true},"engines":{"node":">=20.0.0"},"dependencies":{"@ar-agents/core":"^0.4.1"},"scripts":{"build":"tsup","test":"vitest run","test:watch":"vitest","test:coverage":"vitest run --coverage","typecheck":"tsc --noEmit","lint":"echo 'no lint configured yet'","validate":"publint && attw --pack .","size":"size-limit","clean":"rm -rf dist"},"_id":"@ar-agents/constancia@0.2.6","_integrity":"sha512-yw4wBN+WvjwF4crJGocoiqnIOTO9taayDc3+koeBGcvI5w09nnOc3ZN2Q3YBnN0GiNVfgDbHOg1l+JMHhRs4Mw==","_resolved":"/tmp/6ca283b323d65e19f496bc3af6369f97/ar-agents-constancia-0.2.6.tgz","_from":"file:ar-agents-constancia-0.2.6.tgz","_nodeVersion":"22.23.1","_npmVersion":"10.9.8","dist":{"integrity":"sha512-yw4wBN+WvjwF4crJGocoiqnIOTO9taayDc3+koeBGcvI5w09nnOc3ZN2Q3YBnN0GiNVfgDbHOg1l+JMHhRs4Mw==","shasum":"2f454b8bf7136d7001408b340fb358695333eace","tarball":"https://registry.npmjs.org/@ar-agents/constancia/-/constancia-0.2.6.tgz","fileCount":12,"unpackedSize":127907,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ar-agents%2fconstancia@0.2.6","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDTVZzZS7iRW53sbDDoHMeuE9bGQSC/M82pliE2iCSv/wIgc1gtoWfXXKBWpd3RiimrniC+XV2gyNbNd9rPoyDz4lo="}]},"_npmUser":{"name":"naza-ar","email":"clementenaza@gmail.com"},"directories":{},"maintainers":[{"name":"naza-ar","email":"clementenaza@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/constancia_0.2.6_1783947528574_0.8116420510094879"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-19T15:30:43.296Z","modified":"2026-07-13T12:58:48.996Z","0.1.0":"2026-05-19T15:30:43.547Z","0.2.0":"2026-05-25T16:53:56.744Z","0.2.1":"2026-06-12T12:58:41.536Z","0.2.2":"2026-06-12T16:02:41.319Z","0.2.3":"2026-06-25T12:14:56.471Z","0.2.4":"2026-07-01T09:58:25.444Z","0.2.5":"2026-07-03T11:14:19.695Z","0.2.6":"2026-07-13T12:58:48.713Z"},"bugs":{"url":"https://github.com/ar-agents/ar-agents/issues"},"author":{"name":"Nazareno Clemente","email":"naza@naza.ar"},"license":"MIT","homepage":"https://ar-agents.ar/constancia","keywords":["constancia-inscripcion","afip","arca","argentina","cuit","validar-cuit","verificador-cuit","check-digit","mod-11","monotributo","kyc","regtech","regtech-argentina","compliance","verification","badge","shields","afip-constancia","browser-automation","ai-sdk","vercel-ai","agent","agentic"],"repository":{"type":"git","url":"git+https://github.com/ar-agents/ar-agents.git","directory":"packages/constancia"},"description":"ARCA (ex-AFIP) Constancia de Inscripción: the official, legally-citable fiscal document, including the PDF artifact, as a typed tool for AI agents on the Vercel AI SDK. Browser-backed: drives the public web form (no Clave Fiscal) behind a stable adapter c","maintainers":[{"name":"naza-ar","email":"clementenaza@gmail.com"}],"readme":"# `@ar-agents/constancia`\n\n> ARCA (ex-AFIP) **Constancia de Inscripción** — the official fiscal document, *including the PDF* — as a typed tool for AI agents on the Vercel AI SDK 6.\n\n```bash\npnpm add @ar-agents/constancia ai zod\n```\n\nPart of the [`Arg`](https://ar-agents.ar) toolkit — open infrastructure for the Argentine AI agent jurisdiction.\n\n## Why this exists\n\nEvery alta-de-proveedor, KYC, expediente, and licitación flow in Argentina asks for the *Constancia de Inscripción*: the stamped ARCA document that states a CUIT's régimen (monotributo + categoría / responsable inscripto / exento), domicilio fiscal, actividades and impuestos.\n\n`@ar-agents/identity`'s `lookup_cuit_afip` returns the **data** via the SOAP padrón webservice — but it needs an X.509 cert, and it can **never** return the **PDF document**. There is no API for the PDF. The only source is a [public web form](https://www.afip.gob.ar/genericos/constanciainscripcion/) (no Clave Fiscal) that renders the constancia and prints it.\n\nThis package fills that gap: it drives that form via a browser runtime and returns **both** the parsed fields **and** the official PDF with its código verificador — behind a stable, typed, testable adapter contract.\n\nIt is a deliberately **quarantined browser-backed tier**: the package bundles **no browser** and **no Browserbase dependency**. The runtime is injected. The pure `@ar-agents/*` libs stay pure.\n\n## When to use this vs `@ar-agents/identity`\n\n| You need…                                                              | Use                                            |\n| ---------------------------------------------------------------------- | ---------------------------------------------- |\n| The **PDF document** (KYC, expediente, alta de proveedor, licitación)  | **`@ar-agents/constancia`** (only source)      |\n| The tax data, **no AFIP cert provisioned**                             | **`@ar-agents/constancia`** (public form)      |\n| Just the tax data, **and an AFIP X.509 cert is configured**            | `@ar-agents/identity` `lookup_cuit_afip` (faster, no browser) |\n| Check digit / CUIT well-formedness                                     | `@ar-agents/identity` `validate_cuit`          |\n\n## Quick start\n\n```ts\nimport { Experimental_Agent as Agent, stepCountIs } from \"ai\";\nimport {\n  constanciaTools,\n  BrowseSkillConstanciaFetcher,\n} from \"@ar-agents/constancia\";\n\nconst agent = new Agent({\n  model: \"anthropic/claude-sonnet-4-6\",\n  tools: constanciaTools({\n    fetcher: new BrowseSkillConstanciaFetcher({\n      // Wire to however you run the `afip-constancia` skill (browse CLI,\n      // a Browserbase Function, a queue worker). Must resolve with the\n      // JSON the skill prints — see the skill's \"Output contract\".\n      runSkill: (cuit) => runAfipConstanciaSkill(cuit),\n    }),\n  }),\n  stopWhen: stepCountIs(4),\n});\n\nconst { text } = await agent.generate({\n  prompt:\n    \"Necesito la constancia de inscripción del CUIT 20-12345678-6 para el alta de proveedor. Decime el régimen y guardá el PDF.\",\n});\n```\n\nWith no `fetcher`, the tool is **safe to call** and returns `available: false` with setup instructions (`UnconfiguredConstanciaFetcher`). Use `MockConstanciaFetcher` for tests/demos.\n\n## The companion browser skill\n\nThe runbook that actually drives the ARCA form is published as the **`afip-constancia` skill** on [`browserbase/skills`](https://github.com/browserbase/skills) — installable into the `browse` CLI, OpenClaw, or Claude Code (`/plugin install browse@browserbase`). One artifact, two surfaces:\n\n- **This npm package** — typed, testable, programmatic. For agents on the Vercel AI SDK.\n- **The skill** — a procedural browser runbook. For any agent driving a real browser.\n\nThey share one JSON output contract (`parseSkillOutput`), so the seam is documented on both sides.\n\n## Resilience model\n\nARCA changes the form without notice. `parseSkillOutput` is **conservative**: on a structural mismatch it throws `ConstanciaError(\"fetcher_unexpected_response\")` rather than return wrong data; a \"not registered\" response maps to `cuit_not_found`. The tool itself **never throws** at the agent — failures come back as `available: false` with an actionable `error`.\n\nPin the package version. Watch the changelog. Report breakage on GitHub.\n\n## Production storage\n\n`BrowseSkillConstanciaFetcher` re-runs a browser every call. Constancias change rarely — cache by CUIT (a constancia is valid for the day it was issued; most flows accept a recent one). Implement `ConstanciaFetcher` against your store and fall back to the browser on a miss:\n\n```ts\nclass CachedConstanciaFetcher implements ConstanciaFetcher {\n  constructor(private store: KV, private live: ConstanciaFetcher) {}\n  async getConstancia(cuit: string) {\n    return (await this.store.get(cuit)) ?? this.live.getConstancia(cuit);\n  }\n}\n```\n\n## Hosted oracle + badge\n\nYou don't have to wire a fetcher to get value out of this. There is a free hosted\nConstancia Oracle built on this exact package:\n\n**https://ar-agents.ar/constancia**\n\nPaste any CUIT, get an instant verdict. Two honest tiers:\n\n- **Free, instant, no secret.** CUIT check-digit validation (mod-11) via\n  `@ar-agents/identity`. No Clave Fiscal, no cert, no waiting on any padrón. This\n  is always available, and it's what the badge below reflects.\n- **Good-standing (premium).** The real ARCA constancia (régimen, monotributo /\n  responsable inscripto / exento, impuestos, domicilio) via this package's\n  SOAP / browser backends. It's wired and turns on when an ARCA fetcher is\n  configured on the deployment. Until then the hosted oracle says so plainly and\n  returns no verdict. It never fabricates good standing.\n\n### Free lookup API\n\n```bash\ncurl \"https://ar-agents.ar/api/constancia/lookup?cuit=20-12345678-6\"\n# => { ok, result: { cuit, valid, formatted, personType,\n#     goodStanding, verdictAvailable, reason, proofUrl, badgeUrl } }\n```\n\n`valid` (check digit) is always populated. `verdictAvailable` is `true` only when\na real ARCA verdict was produced; otherwise `reason` tells you why (e.g. the\npremium fetcher isn't configured on that deployment).\n\n### Shareable \"Verificado por ar-agents\" badge\n\nEvery CUIT gets a self-updating SVG badge and a public proof page. The badge\nmessage is driven by the free mod-11 check digit, so it works with no secret and\nis safe to embed anywhere you assert a CUIT is real (README, status page, alta de\nproveedor, marketplace profile).\n\n- Badge: `https://ar-agents.ar/api/constancia/badge/<CUIT>`\n- Proof page: `https://ar-agents.ar/constancia/<CUIT>`\n\nExample, using the demo CUIT `20-12345678-6`:\n\n```md\n[![constancia](https://ar-agents.ar/api/constancia/badge/20123456786)](https://ar-agents.ar/constancia/20123456786)\n```\n\nRenders as `constancia · válida` (green) for a valid check digit, or\n`constancia · no válida` (red) otherwise. Strip the dashes in the URL: use the\n11 bare digits (`20123456786`).\n\n> Tiering, restated so nobody overclaims: the badge and the free lookup verify the\n> CUIT **check digit** only. That confirms the number is well-formed, not that the\n> taxpayer is in good standing. The ARCA good-standing verdict is the premium tier\n> and only appears once an ARCA fetcher is configured.\n\n## License\n\nMIT © Nazareno Clemente\n","readmeFilename":"README.md"}