From ce54c47cb38f69fed40e3d4535d2d90a95a0149d Mon Sep 17 00:00:00 2001 From: Yuto Nishida Date: Sun, 11 Jan 2026 15:01:25 -0800 Subject: [PATCH] [Chatproto3] Add @atcute/lex-cli --- experimental/chatproto3/package.json | 3 + experimental/chatproto3/pnpm-lock.yaml | 215 +++++++++++++++++++++++++ 2 files changed, 218 insertions(+) diff --git a/experimental/chatproto3/package.json b/experimental/chatproto3/package.json index 6170e5a..d63d2b9 100644 --- a/experimental/chatproto3/package.json +++ b/experimental/chatproto3/package.json @@ -15,5 +15,8 @@ "astro": "^5.16.8", "react": "^18.3.1", "react-dom": "^18.3.1" + }, + "devDependencies": { + "@atcute/lex-cli": "^2.5.2" } } \ No newline at end of file diff --git a/experimental/chatproto3/pnpm-lock.yaml b/experimental/chatproto3/pnpm-lock.yaml index 7f9c6e5..1d9035e 100644 --- a/experimental/chatproto3/pnpm-lock.yaml +++ b/experimental/chatproto3/pnpm-lock.yaml @@ -26,6 +26,10 @@ importers: react-dom: specifier: ^18.3.1 version: 18.3.1(react@18.3.1) + devDependencies: + '@atcute/lex-cli': + specifier: ^2.5.2 + version: 2.5.2 packages: @@ -55,6 +59,63 @@ packages: resolution: {integrity: sha512-UFBgfeldP06qu6khs/yY+q1cDAaArM2/7AEIqQ9Cuvf7B1hNLq0xDrZkct+QoIGyjq56y8IaE2I3CTvG99mlhQ==} engines: {node: 18.20.8 || ^20.3.0 || >=22.0.0} + '@atcute/car@5.0.0': + resolution: {integrity: sha512-OIY2xTXv8lSpZsDSn/UYQtJSMvDw5Hi4Q+uyvmiqSM+fht08QRAEq/nxa5YFciPZ3nfDFnZ3//EgJw7QhkSXLQ==} + + '@atcute/cbor@2.2.8': + resolution: {integrity: sha512-UzOAN9BuN6JCXgn0ryV8qZuRJUDrNqrbLd6EFM8jc6RYssjRyGRxNy6RZ1NU/07Hd8Tq/0pz8+nQiMu5Zai5uw==} + + '@atcute/cid@2.3.0': + resolution: {integrity: sha512-1SRdkTuMs/l5arQ+7Ag0F7JAueZqtzYE0d2gmbkuzi8EPweNU1kYlQs0CE4dSd81YF8PMDTOQty0K2ATq9CW9g==} + + '@atcute/crypto@2.3.0': + resolution: {integrity: sha512-w5pkJKCjbNMQu+F4JRHbR3ROQyhi1wbn+GSC6WDQamcYHkZmEZk1/eoI354bIQOOfkEM6aFLv718iskrkon4GQ==} + + '@atcute/identity-resolver@1.2.2': + resolution: {integrity: sha512-eUh/UH4bFvuXS0X7epYCeJC/kj4rbBXfSRumLEH4smMVwNOgTo7cL/0Srty+P/qVPoZEyXdfEbS0PHJyzoXmHw==} + peerDependencies: + '@atcute/identity': ^1.0.0 + + '@atcute/identity@1.1.3': + resolution: {integrity: sha512-oIqPoI8TwWeQxvcLmFEZLdN2XdWcaLVtlm8pNk0E72As9HNzzD9pwKPrLr3rmTLRIoULPPFmq9iFNsTeCIU9ng==} + + '@atcute/lex-cli@2.5.2': + resolution: {integrity: sha512-u3xeu7uF7mAgAErYpXvdUaH2bxpthGWLg+vUf20cejWZHBH/dAzL4ixLRjw/39WwoVmmCQDTde79WTPoBjuhpg==} + hasBin: true + + '@atcute/lexicon-doc@2.0.6': + resolution: {integrity: sha512-iDYJkuom+tIw3zIvU1ggCEVFfReXKfOUtIhpY2kEg2kQeSfMB75F+8k1QOpeAQBetyWYmjsHqBuSUX9oQS6L1Q==} + + '@atcute/lexicon-resolver@0.1.6': + resolution: {integrity: sha512-wJC/ChmpP7k+ywpOd07CMvioXjIGaFpF3bDwXLi/086LYjSWHOvtW6pyC+mqP5wLhjyH2hn4wmi77Buew1l1aw==} + peerDependencies: + '@atcute/identity': ^1.1.0 + '@atcute/identity-resolver': ^1.1.3 + + '@atcute/lexicons@1.2.6': + resolution: {integrity: sha512-s76UQd8D+XmHIzrjD9CJ9SOOeeLPHc+sMmcj7UFakAW/dDFXc579fcRdRfuUKvXBL5v1Gs2VgDdlh/IvvQZAwA==} + + '@atcute/mst@0.1.1': + resolution: {integrity: sha512-NZ/lZ68GOjmAgBSeGf6WHyKM5wo1Hhc7PNt9uwsViswGPMNEEKNj9cw+0YGziXee/Qbnvc+CKqbRSPwruhXFQg==} + + '@atcute/multibase@1.1.6': + resolution: {integrity: sha512-HBxuCgYLKPPxETV0Rot4VP9e24vKl8JdzGCZOVsDaOXJgbRZoRIF67Lp0H/OgnJeH/Xpva8Z5ReoTNJE5dn3kg==} + + '@atcute/repo@0.1.1': + resolution: {integrity: sha512-P5aWjt3bvcquUkUmGPslF0naAfLGRHse5Qdz9/RJYrFuoH0iiEMyRnW6M+3ksOe20GPsMnbq71WbzzFkRFPBtg==} + + '@atcute/uint8array@1.0.6': + resolution: {integrity: sha512-ucfRBQc7BFT8n9eCyGOzDHEMKF/nZwhS2pPao4Xtab1ML3HdFYcX2DM1tadCzas85QTGxHe5urnUAAcNKGRi9A==} + + '@atcute/util-fetch@1.0.5': + resolution: {integrity: sha512-qjHj01BGxjSjIFdPiAjSARnodJIIyKxnCMMEcXMESo9TAyND6XZQqrie5fia+LlYWVXdpsTds8uFQwc9jdKTig==} + + '@atcute/util-text@0.0.1': + resolution: {integrity: sha512-t1KZqvn0AYy+h2KcJyHnKF9aEqfRfMUmyY8j1ELtAEIgqN9CxINAjxnoRCJIFUlvWzb+oY3uElQL/Vyk3yss0g==} + + '@atcute/varint@1.0.3': + resolution: {integrity: sha512-fdvMPyBB+McDT+Ai5e9RwEbwYV4yjZ60S2Dn5PTjGqUyxvoCH1z42viuheDZRUDkmfQehXJTZ5az7dSozVNtog==} + '@babel/code-frame@7.27.1': resolution: {integrity: sha512-cjQ7ZlQ0Mv3b47hABuTevyTuYN4i+loJKGeV9flcCgIK37cCXRh+L1bd3iBHlynerhQ7BhCkn2BPbQUL+rGqFg==} engines: {node: '>=6.9.0'} @@ -138,6 +199,10 @@ packages: resolution: {integrity: sha512-qQ5m48eI/MFLQ5PxQj4PFaprjyCTLI37ElWMmNs0K8Lk3dVeOdNpB3ks8jc7yM5CDmVC73eMVk/trk3fgmrUpA==} engines: {node: '>=6.9.0'} + '@badrap/valita@0.4.6': + resolution: {integrity: sha512-4kdqcjyxo/8RQ8ayjms47HCWZIF5981oE5nIenbfThKDxWXtEHKipAOWlflpPJzZx9y/JWYQkp18Awr7VuepFg==} + engines: {node: '>= 18'} + '@capsizecss/unpack@4.0.0': resolution: {integrity: sha512-VERIM64vtTP1C4mxQ5thVT9fK0apjPFobqybMtA1UdUujWka24ERHbRHFGmpbbhp73MhV+KSsHQH9C6uOTdEQA==} engines: {node: '>=18'} @@ -454,6 +519,17 @@ packages: '@jridgewell/trace-mapping@0.3.31': resolution: {integrity: sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==} + '@noble/secp256k1@3.0.0': + resolution: {integrity: sha512-NJBaR352KyIvj3t6sgT/+7xrNyF9Xk9QlLSIqUGVUYlsnDTAUqY8LOmwpcgEx4AMJXRITQ5XEVHD+mMaPfr3mg==} + + '@optique/core@0.6.11': + resolution: {integrity: sha512-GVLFihzBA1j78NFlkU5N1Lu0jRqET0k6Z66WK8VQKG/a3cxmCInVGSKMIdQG8i6pgC8wD5OizF6Y3QMztmhAxg==} + engines: {bun: '>=1.2.0', deno: '>=2.3.0', node: '>=20.0.0'} + + '@optique/run@0.6.11': + resolution: {integrity: sha512-tsXBEygGSzNpFK2gjsRlXBn7FiScUeLFWIZNpoAZ8iG85Km0/3K9xgqlQAXoQ+uEZBe4XplnzyCDvmEgbyNT8w==} + engines: {bun: '>=1.2.0', deno: '>=2.3.0', node: '>=20.0.0'} + '@oslojs/encoding@1.1.0': resolution: {integrity: sha512-70wQhgYmndg4GCPxPPxPGevRKqTIJ2Nh4OkiMWmDAVYsTQ+Ta7Sq+rPevXyXGdzr30/qZBnyOalCszoMxlyldQ==} @@ -615,6 +691,9 @@ packages: '@shikijs/vscode-textmate@10.0.2': resolution: {integrity: sha512-83yeghZ2xxin3Nj8z1NMd/NCuca+gsYXswywDy5bHvwlWL8tpTQmzGeUuHd9FC3E/SBEMvzJRwWEOz5gGes9Qg==} + '@standard-schema/spec@1.1.0': + resolution: {integrity: sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w==} + '@types/babel__core@7.20.5': resolution: {integrity: sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==} @@ -915,6 +994,9 @@ packages: resolution: {integrity: sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==} engines: {node: '>=12'} + esm-env@1.2.2: + resolution: {integrity: sha512-Epxrv+Nr/CaL4ZcFGPJIYLWFom+YeV1DqMLHJoEd9SYRxNbaFruBwfEX/kkHUJf55j2+TUbmDcmuilbP1TmXHA==} + estree-walker@2.0.2: resolution: {integrity: sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==} @@ -1291,6 +1373,11 @@ packages: resolution: {integrity: sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg==} engines: {node: ^10 || ^12 || >=14} + prettier@3.7.4: + resolution: {integrity: sha512-v6UNi1+3hSlVvv8fSaoUbggEM5VErKmmpGA7Pl3HF8V6uKY7rvClBOJlH6yNwQtfTueNkGVpOv/mtWL9L4bgRA==} + engines: {node: '>=14'} + hasBin: true + prismjs@1.30.0: resolution: {integrity: sha512-DEvV2ZF2r2/63V+tK8hQvrR2ZGn10srHbXviTlcv7Kpzw8jWiNTqbVgjO3IY8RxrrOUF8VPMQQFysYYYv0YZxw==} engines: {node: '>=6'} @@ -1485,6 +1572,9 @@ packages: uncrypto@0.1.3: resolution: {integrity: sha512-Ql87qFHB3s/De2ClA9e0gsnS6zXG27SkTiSJwjCc9MebbfapQfuPzumMIUMi38ezPZVNFcHI9sUIepeQfw8J8Q==} + unicode-segmenter@0.14.5: + resolution: {integrity: sha512-jHGmj2LUuqDcX3hqY12Ql+uhUTn8huuxNZGq7GvtF6bSybzH3aFgedYu/KTzQStEgt1Ra2F3HxadNXsNjb3m3g==} + unified@11.0.5: resolution: {integrity: sha512-xKvGhPWw3k84Qjh8bI3ZeJjqnyadK+GEFtazSfZv/rKeTkTjOJho6mFqh2SM96iIcZokxiOpg78GazTSg8+KHA==} @@ -1768,6 +1858,113 @@ snapshots: transitivePeerDependencies: - supports-color + '@atcute/car@5.0.0': + dependencies: + '@atcute/cbor': 2.2.8 + '@atcute/cid': 2.3.0 + '@atcute/uint8array': 1.0.6 + '@atcute/varint': 1.0.3 + + '@atcute/cbor@2.2.8': + dependencies: + '@atcute/cid': 2.3.0 + '@atcute/multibase': 1.1.6 + '@atcute/uint8array': 1.0.6 + + '@atcute/cid@2.3.0': + dependencies: + '@atcute/multibase': 1.1.6 + '@atcute/uint8array': 1.0.6 + + '@atcute/crypto@2.3.0': + dependencies: + '@atcute/multibase': 1.1.6 + '@atcute/uint8array': 1.0.6 + '@noble/secp256k1': 3.0.0 + + '@atcute/identity-resolver@1.2.2(@atcute/identity@1.1.3)': + dependencies: + '@atcute/identity': 1.1.3 + '@atcute/lexicons': 1.2.6 + '@atcute/util-fetch': 1.0.5 + '@badrap/valita': 0.4.6 + + '@atcute/identity@1.1.3': + dependencies: + '@atcute/lexicons': 1.2.6 + '@badrap/valita': 0.4.6 + + '@atcute/lex-cli@2.5.2': + dependencies: + '@atcute/identity': 1.1.3 + '@atcute/identity-resolver': 1.2.2(@atcute/identity@1.1.3) + '@atcute/lexicon-doc': 2.0.6 + '@atcute/lexicon-resolver': 0.1.6(@atcute/identity-resolver@1.2.2(@atcute/identity@1.1.3))(@atcute/identity@1.1.3) + '@atcute/lexicons': 1.2.6 + '@badrap/valita': 0.4.6 + '@optique/core': 0.6.11 + '@optique/run': 0.6.11 + picocolors: 1.1.1 + prettier: 3.7.4 + + '@atcute/lexicon-doc@2.0.6': + dependencies: + '@atcute/identity': 1.1.3 + '@atcute/lexicons': 1.2.6 + '@atcute/uint8array': 1.0.6 + '@atcute/util-text': 0.0.1 + '@badrap/valita': 0.4.6 + + '@atcute/lexicon-resolver@0.1.6(@atcute/identity-resolver@1.2.2(@atcute/identity@1.1.3))(@atcute/identity@1.1.3)': + dependencies: + '@atcute/crypto': 2.3.0 + '@atcute/identity': 1.1.3 + '@atcute/identity-resolver': 1.2.2(@atcute/identity@1.1.3) + '@atcute/lexicon-doc': 2.0.6 + '@atcute/lexicons': 1.2.6 + '@atcute/repo': 0.1.1 + '@atcute/util-fetch': 1.0.5 + '@badrap/valita': 0.4.6 + + '@atcute/lexicons@1.2.6': + dependencies: + '@atcute/uint8array': 1.0.6 + '@atcute/util-text': 0.0.1 + '@standard-schema/spec': 1.1.0 + esm-env: 1.2.2 + + '@atcute/mst@0.1.1': + dependencies: + '@atcute/cbor': 2.2.8 + '@atcute/cid': 2.3.0 + '@atcute/uint8array': 1.0.6 + + '@atcute/multibase@1.1.6': + dependencies: + '@atcute/uint8array': 1.0.6 + + '@atcute/repo@0.1.1': + dependencies: + '@atcute/car': 5.0.0 + '@atcute/cbor': 2.2.8 + '@atcute/cid': 2.3.0 + '@atcute/crypto': 2.3.0 + '@atcute/lexicons': 1.2.6 + '@atcute/mst': 0.1.1 + '@atcute/uint8array': 1.0.6 + + '@atcute/uint8array@1.0.6': {} + + '@atcute/util-fetch@1.0.5': + dependencies: + '@badrap/valita': 0.4.6 + + '@atcute/util-text@0.0.1': + dependencies: + unicode-segmenter: 0.14.5 + + '@atcute/varint@1.0.3': {} + '@babel/code-frame@7.27.1': dependencies: '@babel/helper-validator-identifier': 7.28.5 @@ -1880,6 +2077,8 @@ snapshots: '@babel/helper-string-parser': 7.27.1 '@babel/helper-validator-identifier': 7.28.5 + '@badrap/valita@0.4.6': {} + '@capsizecss/unpack@4.0.0': dependencies: fontkitten: 1.0.0 @@ -2083,6 +2282,14 @@ snapshots: '@jridgewell/resolve-uri': 3.1.2 '@jridgewell/sourcemap-codec': 1.5.5 + '@noble/secp256k1@3.0.0': {} + + '@optique/core@0.6.11': {} + + '@optique/run@0.6.11': + dependencies: + '@optique/core': 0.6.11 + '@oslojs/encoding@1.1.0': {} '@rolldown/pluginutils@1.0.0-beta.27': {} @@ -2203,6 +2410,8 @@ snapshots: '@shikijs/vscode-textmate@10.0.2': {} + '@standard-schema/spec@1.1.0': {} + '@types/babel__core@7.20.5': dependencies: '@babel/parser': 7.28.5 @@ -2589,6 +2798,8 @@ snapshots: escape-string-regexp@5.0.0: {} + esm-env@1.2.2: {} + estree-walker@2.0.2: {} estree-walker@3.0.3: @@ -3176,6 +3387,8 @@ snapshots: picocolors: 1.1.1 source-map-js: 1.2.1 + prettier@3.7.4: {} + prismjs@1.30.0: {} prompts@2.4.2: @@ -3459,6 +3672,8 @@ snapshots: uncrypto@0.1.3: {} + unicode-segmenter@0.14.5: {} + unified@11.0.5: dependencies: '@types/unist': 3.0.3 -- 2.54.0