{"_id":"@agent-format/jp-court","_rev":"5-883c17764522c208fef966b7ad403ed7","name":"@agent-format/jp-court","dist-tags":{"latest":"0.1.4"},"versions":{"0.1.0":{"name":"@agent-format/jp-court","version":"0.1.0","keywords":["agent-format","agent-format-plugin","family-graph","jp-court","相続関係説明図","inheritance"],"author":{"name":"Yuya Morita"},"license":"MIT","_id":"@agent-format/jp-court@0.1.0","maintainers":[{"name":"knorq","email":"info@knorq.com"}],"homepage":"https://github.com/knorq-ai/agent-format/tree/main/packages/jp-court","bugs":{"url":"https://github.com/knorq-ai/agent-format/issues"},"dist":{"shasum":"c58c3faa7679bc7109ecbf6034684ed9c5cae97b","tarball":"https://registry.npmjs.org/@agent-format/jp-court/-/jp-court-0.1.0.tgz","fileCount":9,"integrity":"sha512-RDAitiNMdpa6+Veh52TagA0c/hLODYb/Aqcpd2Q1wCPWyJFyaibKUwR8q/eCpPhhXQWsSdFyBSc3zATsbhvI5w==","signatures":[{"sig":"MEUCIF58p3/M5OUfWA8dXgQFuvz0iPyevzMm6DHXvkrTfNBiAiEAwWqomrzfTZ8Gb2iIU9ROhY0H8RThyEDxH83CpXGT9xk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":76306},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"18d106292d22a5d4f30597bd32d80dec4be9816b","scripts":{"dev":"tsup --watch","build":"tsup","typecheck":"tsc --noEmit"},"_npmUser":{"name":"knorq","email":"info@knorq.com"},"repository":{"url":"git+https://github.com/knorq-ai/agent-format.git","type":"git","directory":"packages/jp-court"},"_npmVersion":"11.5.1","description":"@agent-format/renderer plugin: jp-court (相続関係説明図) visual template for family-graph sections. Japanese legal-filing typography, double-line spouse edges, PDF export. Does NOT filter persons — the .agent file is the source of truth.","directories":{},"_nodeVersion":"24.5.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","react":"^19.0.0","react-dom":"^19.0.0","typescript":"^5.4.0","@types/react":"^19.0.0","@types/react-dom":"^19.0.0","@agent-format/renderer":"^0.1.5"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0","@agent-format/renderer":"^0.1.5"},"_npmOperationalInternal":{"tmp":"tmp/jp-court_0.1.0_1776591762244_0.47021929797264117","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@agent-format/jp-court","version":"0.1.1","keywords":["agent-format","agent-format-plugin","family-graph","jp-court","相続関係説明図","inheritance"],"author":{"name":"Yuya Morita"},"license":"MIT","_id":"@agent-format/jp-court@0.1.1","maintainers":[{"name":"knorq","email":"info@knorq.com"}],"homepage":"https://github.com/knorq-ai/agent-format/tree/main/packages/jp-court","bugs":{"url":"https://github.com/knorq-ai/agent-format/issues"},"dist":{"shasum":"d45c4aba7df97ba9b751c2f864ed478e12feb336","tarball":"https://registry.npmjs.org/@agent-format/jp-court/-/jp-court-0.1.1.tgz","fileCount":9,"integrity":"sha512-rMkcuHxwd8zeVDxhdhEWHerbdWYEGRgkwxOq0OUk93ccm25LSETuRfFLjfuUE6pvWZEqUSzbvdMM4wYSxmxDzA==","signatures":[{"sig":"MEYCIQCqoIr3a+UR+hIO9eEo7OLIMVKV8pcfYE/i9vK0oMSQ1QIhAPkHuWlXDnk82n7m17nG3XIzIC6CZEFh2JdT3T2t6zBs","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":135825},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"50be4ca6b483b3ef3b03056130dbbfa91b30e9da","scripts":{"dev":"tsup --watch","build":"tsup","typecheck":"tsc --noEmit"},"_npmUser":{"name":"knorq","email":"info@knorq.com"},"repository":{"url":"git+https://github.com/knorq-ai/agent-format.git","type":"git","directory":"packages/jp-court"},"_npmVersion":"11.5.1","description":"@agent-format/renderer plugin: jp-court (相続関係説明図) visual template for family-graph sections. Japanese legal-filing typography, double-line spouse edges, PDF export. Does NOT filter persons — the .agent file is the source of truth.","directories":{},"_nodeVersion":"24.5.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","react":"^19.0.0","react-dom":"^19.0.0","typescript":"^5.4.0","@types/react":"^19.0.0","@types/react-dom":"^19.0.0","@agent-format/renderer":"^0.1.5"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0","@agent-format/renderer":"^0.1.5"},"_npmOperationalInternal":{"tmp":"tmp/jp-court_0.1.1_1776593177121_0.4079310354930177","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@agent-format/jp-court","version":"0.1.2","keywords":["agent-format","agent-format-plugin","family-graph","jp-court","相続関係説明図","inheritance"],"author":{"name":"Yuya Morita"},"license":"MIT","_id":"@agent-format/jp-court@0.1.2","maintainers":[{"name":"knorq","email":"info@knorq.com"}],"homepage":"https://github.com/knorq-ai/agent-format/tree/main/packages/jp-court","bugs":{"url":"https://github.com/knorq-ai/agent-format/issues"},"dist":{"shasum":"26e526ed94f466ff80cca6053fa1c764481677b3","tarball":"https://registry.npmjs.org/@agent-format/jp-court/-/jp-court-0.1.2.tgz","fileCount":9,"integrity":"sha512-AbUZeCMjty6fkC5OOer6bC/Bb8PJidCaC0Vor26XzPrNCt+SnXxEp8LQ2Lat47gdlsfG1lw0TQeavpVwp78OTQ==","signatures":[{"sig":"MEUCIQCVKmL7bcw47Mmz2+wM2pXqjoZ5paDGR7DyqJOAF5AF9QIgT/DdLe21klVnU+JZBPru5wVFyJmBbhw4qurflVVV0dk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":137389},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"4b9f693865eaf4b859d695c73c9fd716891bdac5","scripts":{"dev":"tsup --watch","build":"tsup","typecheck":"tsc --noEmit"},"_npmUser":{"name":"knorq","email":"info@knorq.com"},"repository":{"url":"git+https://github.com/knorq-ai/agent-format.git","type":"git","directory":"packages/jp-court"},"_npmVersion":"11.5.1","description":"@agent-format/renderer plugin: jp-court (相続関係説明図) visual template for family-graph sections. Japanese legal-filing typography, double-line spouse edges, PDF export. Does NOT filter persons — the .agent file is the source of truth.","directories":{},"_nodeVersion":"24.5.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","react":"^19.0.0","react-dom":"^19.0.0","typescript":"^5.4.0","@types/react":"^19.0.0","@types/react-dom":"^19.0.0","@agent-format/renderer":"^0.1.5"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0","@agent-format/renderer":"^0.1.5"},"_npmOperationalInternal":{"tmp":"tmp/jp-court_0.1.2_1776593897958_0.7920694191067368","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@agent-format/jp-court","version":"0.1.3","keywords":["agent-format","agent-format-plugin","family-graph","jp-court","相続関係説明図","inheritance"],"author":{"name":"Yuya Morita"},"license":"MIT","_id":"@agent-format/jp-court@0.1.3","maintainers":[{"name":"knorq","email":"info@knorq.com"}],"homepage":"https://github.com/knorq-ai/agent-format/tree/main/packages/jp-court","bugs":{"url":"https://github.com/knorq-ai/agent-format/issues"},"dist":{"shasum":"47677709cf94932eb0a64023a7f436088e3068f1","tarball":"https://registry.npmjs.org/@agent-format/jp-court/-/jp-court-0.1.3.tgz","fileCount":9,"integrity":"sha512-d6H6asbM2PSEqO+SYw0Gvnhzi73yuUg2OaSVV68TlulpNbdWOMyvIAbNqvDvQ/hCtLZGsvxpM7KBbhcUmYJ+gQ==","signatures":[{"sig":"MEUCIGZmPeSmBD8e9nADJUyBDpqSIcgxOQDrIubVj6vKQasAAiEAneXuwEm884kXbKL7XxczTxLzM98WmNyOnt2Yq7g+yIw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":214501},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"458601e73a05e2bc053c7e496e152ca6a0d16777","scripts":{"dev":"tsup --watch","build":"tsup","typecheck":"tsc --noEmit"},"_npmUser":{"name":"knorq","email":"info@knorq.com"},"repository":{"url":"git+https://github.com/knorq-ai/agent-format.git","type":"git","directory":"packages/jp-court"},"_npmVersion":"11.5.1","description":"@agent-format/renderer plugin: jp-court (相続関係説明図) visual template for family-graph sections. Japanese legal-filing typography, double-line spouse edges, PDF export. Does NOT filter persons — the .agent file is the source of truth.","directories":{},"_nodeVersion":"24.5.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","react":"^19.0.0","react-dom":"^19.0.0","typescript":"^6.0.3","@types/react":"^19.0.0","@types/react-dom":"^19.0.0","@agent-format/renderer":"^0.1.6"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0","@agent-format/renderer":"^0.1.6"},"_npmOperationalInternal":{"tmp":"tmp/jp-court_0.1.3_1776947611742_0.26748465978087643","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@agent-format/jp-court","version":"0.1.4","description":"@agent-format/renderer plugin: jp-court (相続関係説明図) visual template for family-graph sections. Japanese legal-filing typography, double-line spouse edges, PDF export. Does NOT filter persons — the .agent file is the source of truth.","license":"MIT","author":{"name":"Yuya Morita"},"type":"module","repository":{"type":"git","url":"git+https://github.com/knorq-ai/agent-format.git","directory":"packages/jp-court"},"homepage":"https://github.com/knorq-ai/agent-format/tree/main/packages/jp-court","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"build":"tsup","dev":"tsup --watch","typecheck":"tsc --noEmit"},"peerDependencies":{"@agent-format/renderer":"^0.1.6","react":">=18.0.0","react-dom":">=18.0.0"},"devDependencies":{"@agent-format/renderer":"^0.1.6","@types/react":"^19.0.0","@types/react-dom":"^19.0.0","react":"^19.0.0","react-dom":"^19.0.0","tsup":"^8.0.0","typescript":"^6.0.3"},"keywords":["agent-format","agent-format-plugin","family-graph","jp-court","相続関係説明図","inheritance"],"_id":"@agent-format/jp-court@0.1.4","gitHead":"b285c8f9fdc678245b77f86014b36325419389e0","bugs":{"url":"https://github.com/knorq-ai/agent-format/issues"},"_nodeVersion":"20.20.2","_npmVersion":"10.8.2","dist":{"integrity":"sha512-6SzotxAGBY9iUMO/W7i9730uJVVaGkvOm+iPAfa/iOuV4U46vARPcpfX+S1spKWBkYD/l95oWaOVm2tppyS/oA==","shasum":"c2fa0f2a2b22ae864871ba1df9f932a3d2168b09","tarball":"https://registry.npmjs.org/@agent-format/jp-court/-/jp-court-0.1.4.tgz","fileCount":9,"unpackedSize":214557,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@agent-format%2fjp-court@0.1.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCaL7hla7aTZ5ATQM59j4rt2UM5lUsiWVHJgcHcXo2CWgIhAJ9H2fg2fCMPrz34u6dlCWAmd/HpkBefzHogkWEIx12Q"}]},"_npmUser":{"name":"knorq","email":"info@knorq.com"},"directories":{},"maintainers":[{"name":"knorq","email":"info@knorq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/jp-court_0.1.4_1778688633998_0.45608615050329937"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-19T09:42:42.126Z","modified":"2026-05-13T16:10:34.448Z","0.1.0":"2026-04-19T09:42:42.386Z","0.1.1":"2026-04-19T10:06:17.286Z","0.1.2":"2026-04-19T10:18:18.137Z","0.1.3":"2026-04-23T12:33:31.865Z","0.1.4":"2026-05-13T16:10:34.163Z"},"bugs":{"url":"https://github.com/knorq-ai/agent-format/issues"},"author":{"name":"Yuya Morita"},"license":"MIT","homepage":"https://github.com/knorq-ai/agent-format/tree/main/packages/jp-court","keywords":["agent-format","agent-format-plugin","family-graph","jp-court","相続関係説明図","inheritance"],"repository":{"type":"git","url":"git+https://github.com/knorq-ai/agent-format.git","directory":"packages/jp-court"},"description":"@agent-format/renderer plugin: jp-court (相続関係説明図) visual template for family-graph sections. Japanese legal-filing typography, double-line spouse edges, PDF export. Does NOT filter persons — the .agent file is the source of truth.","maintainers":[{"name":"knorq","email":"info@knorq.com"}],"readme":"# @agent-format/jp-court\n\n[agent-format](https://github.com/knorq-ai/agent-format) renderer plugin that provides a Japanese court (相続関係説明図) visual template for `family-graph` sections.\n\n> Status: **Draft v0.1**.\n\n## Install\n\n```bash\nnpm install @agent-format/jp-court\n```\n\nPeer deps: `@agent-format/renderer`, `react`, `react-dom`.\n\n## Usage\n\n```tsx\nimport { AgentRenderer } from '@agent-format/renderer'\nimport '@agent-format/renderer/styles.css'\nimport { jpCourtPlugin } from '@agent-format/jp-court'\nimport data from './estate.agent.json'\n\nexport default function Page() {\n    return <AgentRenderer data={data} plugins={[jpCourtPlugin]} />\n}\n```\n\nIn your `.agent` file, set the variant on a `family-graph` section:\n\n```json\n{\n  \"id\": \"s1\",\n  \"type\": \"family-graph\",\n  \"label\": \"相続関係説明図\",\n  \"order\": 0,\n  \"data\": {\n    \"variant\": \"jp-court\",\n    \"persons\": [...],\n    \"relationships\": [...]\n  }\n}\n```\n\nIf `jpCourtPlugin` is registered, the section renders in the jp-court visual template. If the plugin is not registered, the renderer falls back to the default genealogy layout.\n\n## What this plugin does and does NOT do\n\n### Does\n\n- **Japanese-legal typography** — name labels as `（被相続人）`, `（配偶者）`, etc. via each person's `role` field\n- **`出生` / `死亡` / `最後の住所`** prefixes on person blocks\n- **Double horizontal line** for spouse relationships (standard Japanese court convention)\n- **Dashed line** for dissolved spouse relationships\n- **PDF export button** — downloads a print-ready A3 landscape HTML; open in any browser and `⌘P` to save as PDF (裁判所・法務局提出想定)\n\n### Does NOT\n\n- **Filter persons.** This plugin renders every person listed in `data.persons`. If a court filing should only include heirs under 民法 887 (descendants excluding ascendants), **edit the `.agent` file upstream** to include only those persons. The renderer is not a legal rules engine.\n- **Compute inheritance shares.** Role labels come from the file's `role` field; this plugin doesn't calculate who's a heir or what share they get.\n- **Validate 民法 conformance.** The output format matches court-accepted typography, but correctness of the data is the author's responsibility.\n\n## License\n\nMIT.\n","readmeFilename":"README.md"}