diff --git a/package.json b/package.json index bec42e0..a541139 100644 --- a/package.json +++ b/package.json @@ -84,8 +84,8 @@ "@cspell/dict-es-es": "3.0.9", "@cspell/dict-ru_ru": "2.3.3", "@types/shell-quote": "1.7.5", - "@wirecat/cli-base": "0.26.0", - "@wirecat/cli-core": "0.262.0", + "@wirecat/cli-base": "0.45.1", + "@wirecat/cli-core": "0.342.0", "@cspell/dict-en-gb": "5.0.34", "@babel/parser": "8.0.7", "yaml": "2.9.1" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 30d25f6..b171873 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -105,11 +105,11 @@ importers: specifier: 1.7.5 version: 1.7.5 '@wirecat/cli-base': - specifier: 0.26.0 - version: 0.26.0(commander@15.0.0)(typescript@7.0.2) + specifier: 0.45.1 + version: 0.45.1(commander@15.0.0)(typescript@7.0.2)(vitest@5.0.3(@types/node@26.6.3)(vite@8.3.1(@types/node@26.6.3)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.1))) '@wirecat/cli-core': - specifier: 0.262.0 - version: 0.262.0(@wirecat/cli-base@0.26.0(commander@15.0.0)(typescript@7.0.2))(commander@15.0.0)(typescript@7.0.2)(zod@4.6.5) + specifier: 0.342.0 + version: 0.342.0(@wirecat/cli-base@0.45.1(commander@15.0.0)(typescript@7.0.2)(vitest@5.0.3(@types/node@26.6.3)(vite@8.3.1(@types/node@26.6.3)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.1))))(commander@15.0.0)(typescript@7.0.2)(zod@4.6.5) cspell: specifier: 10.3.6 version: 10.3.6 @@ -177,6 +177,10 @@ packages: engines: {node: ^22.18.0 || >=24.11.0} hasBin: true + '@babel/runtime@7.29.10': + resolution: {integrity: sha512-NpugTzbKgGrNe45Ui32cN8vCFFMxVtP/9rtfwv0nP5FRDAjvYBxJcLVpYA9mr1jxP6cnIT7x9LUzuDTbWYYNRA==} + engines: {node: '>=6.9.0'} + '@babel/runtime@7.29.7': resolution: {integrity: sha512-Nq8OhGWiZIZGV6hLHoyAKLLcJihP/xFeBMGJoUrxTX2psI8dCifzLhZISFb+VWS3wFMRDmCGw5R+dOySCqPLhw==} engines: {node: '>=6.9.0'} @@ -1680,34 +1684,37 @@ packages: '@wasm-audio-decoders/opus-ml@0.0.3': resolution: {integrity: sha512-SEeTmk0eb3q5etJA/NHCRWW6BivTx9tqvNTmG0kg2ynuATEQRUZnwQE6Ibvl1BBvqIGHqI57+qyJMWmJBwb5XQ==} - '@wirecat/cli-base@0.26.0': - resolution: {integrity: sha512-KN9U4u8hfluNbCltBXubJhCt4bWd37wyaeWNR5UWilutJqZ4Ii0NDFBaBXKgOAHWO7Py5L6Rpzvusjqnynfbow==} + '@wirecat/cli-base@0.45.1': + resolution: {integrity: sha512-i/07lhpM5+3pv7JnyAzNr8kumbxjXKZsXgVXu4lwF++BEtjKXTNbtgUAOA/tig4HZA9rfbrFjckMET0ZNP3T5Q==} engines: {node: '>=22'} hasBin: true peerDependencies: commander: '>=15' + vitest: '>=5' peerDependenciesMeta: commander: optional: true + vitest: + optional: true + + '@wirecat/cli-core-onnx@1.0.1': + resolution: {integrity: sha512-4oLtnyhm8W69oCWYqCWYtUQEhaJYitivQmgLkKHAsPOCEJlZG8+IUzchEgGyq3X1rWFs66wRw6uVnKHjYRMyyQ==} + + '@wirecat/cli-core-sqlite@1.0.1': + resolution: {integrity: sha512-dFkTE3+XdvZwrt7bZZEd2fzdqR2vFgnnGPOhmBKGNa7uKQHjOdqJL8Q9O5cajIjy5o8Gl0LVn0OZbYajhLvQ1A==} - '@wirecat/cli-core@0.262.0': - resolution: {integrity: sha512-jyGJJuzzHyE33YhCOzI3LY3Z2C0Hxu/1MEY2jg0zW9I9Hi9Ti8STTJwdDlC1dNbVB+j/FDRcP5X6Bqphmkgihw==} + '@wirecat/cli-core@0.342.0': + resolution: {integrity: sha512-xrUJ1ucJG2zKJLI60svohop+GdwMQG6Rtuko0MytA4NhbE6qSAwem187Y64/4bHEEzHH8rvpMo5WB+HwQVzcng==} engines: {node: ^22.16.0 || >=24} hasBin: true peerDependencies: '@napi-rs/canvas': '>=0.1.69 <2' - '@wirecat/cli-base': '>=0.26.0 <0.27.0' + '@wirecat/cli-base': '>=0.45.0 <0.46.0' commander: '>=15' peerDependenciesMeta: '@napi-rs/canvas': optional: true - '@wirecat/cli-messaging-onnx@1.0.1': - resolution: {integrity: sha512-e0ewPI3k417jvzoXy4I/4KW3PBnGWhRXy/YDshya0+d1D8QlajmswGpsh6UJlVr3DbAPuQLLc0qkqgGmh1+eNw==} - - '@wirecat/cli-messaging-sqlite@1.0.1': - resolution: {integrity: sha512-hnB4eL6ER/++nTPrlSCAUzDJH7MN3V+Obx9B2xXMwBN1KrLkJHIrybQCikfNOnwnyrkultSkLulM7vd+qSG5Hg==} - '@xmldom/xmldom@0.8.15': resolution: {integrity: sha512-/5NV/vDALVFDXgLmfsy9TRCBlKwO2LNBFzpzvb9iIj+jR+eSc6DLYYvVOdivT/jm7MtU6TebYuRmzEOI7w40UA==} engines: {node: '>=10.0.0'} @@ -3632,10 +3639,17 @@ packages: resolution: {integrity: sha512-5nnx0yGyVUcY6t9RnWcARWtwT9F1D8O9rt08htPvnd49W1IgZtmLkhu9WfMzQj1cFxjHIO6connUNVW5k7AVyQ==} engines: {node: '>= 0.10'} + psl@1.15.0: + resolution: {integrity: sha512-JZd3gMVBAVQkSs6HdNZo9Sdo0LNcQeMNP3CozBJb3JYC/QUYZTnKxP+f8oWRX4rHP5EurWxqAHTSwUCjlNKa1w==} + punycode.js@2.3.1: resolution: {integrity: sha512-uxFIHU0YlHYhDQtV4R9J6a52SLx28BCjT+4ieh7IGbgwVJWO+km431c4yRlREUAsAmt/uMjQUyQHNEPf0M39CA==} engines: {node: '>=6'} + punycode@2.3.1: + resolution: {integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==} + engines: {node: '>=6'} + qrcode-generator@2.0.4: resolution: {integrity: sha512-mZSiP6RnbHl4xL2Ap5HfkjLnmxfKcPWpWe/c+5XxCuetEenqmNFf1FH/ftXPCtFG5/TDobjsjz6sSNL0Sr8Z9g==} @@ -4389,6 +4403,8 @@ snapshots: dependencies: '@babel/types': 8.0.6 + '@babel/runtime@7.29.10': {} + '@babel/runtime@7.29.7': {} '@babel/types@8.0.6': @@ -5529,7 +5545,7 @@ snapshots: dependencies: '@wasm-audio-decoders/common': 9.0.7 - '@wirecat/cli-base@0.26.0(commander@15.0.0)(typescript@7.0.2)': + '@wirecat/cli-base@0.45.1(commander@15.0.0)(typescript@7.0.2)(vitest@5.0.3(@types/node@26.6.3)(vite@8.3.1(@types/node@26.6.3)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.1)))': dependencies: '@valibot/to-json-schema': 1.8.0(valibot@1.5.0(typescript@7.0.2)) cli-table3: 0.6.5 @@ -5539,10 +5555,17 @@ snapshots: optionalDependencies: '@napi-rs/keyring': 2.1.0 commander: 15.0.0 + vitest: 5.0.3(@types/node@26.6.3)(vite@8.3.1(@types/node@26.6.3)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.1)) transitivePeerDependencies: - typescript - '@wirecat/cli-core@0.262.0(@wirecat/cli-base@0.26.0(commander@15.0.0)(typescript@7.0.2))(commander@15.0.0)(typescript@7.0.2)(zod@4.6.5)': + '@wirecat/cli-core-onnx@1.0.1': + dependencies: + onnxruntime-common: 1.30.0 + + '@wirecat/cli-core-sqlite@1.0.1': {} + + '@wirecat/cli-core@0.342.0(@wirecat/cli-base@0.45.1(commander@15.0.0)(typescript@7.0.2)(vitest@5.0.3(@types/node@26.6.3)(vite@8.3.1(@types/node@26.6.3)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.1))))(commander@15.0.0)(typescript@7.0.2)(zod@4.6.5)': dependencies: '@anthropic-ai/sdk': 0.131.0(zod@4.6.5) '@bomb.sh/tab': 0.0.22(commander@15.0.0) @@ -5550,9 +5573,9 @@ snapshots: '@modelcontextprotocol/server': 2.1.0 '@resvg/resvg-js': 2.6.2 '@valibot/to-json-schema': 1.8.0(valibot@1.5.0(typescript@7.0.2)) - '@wirecat/cli-base': 0.26.0(commander@15.0.0)(typescript@7.0.2) - '@wirecat/cli-messaging-onnx': 1.0.1 - '@wirecat/cli-messaging-sqlite': 1.0.1 + '@wirecat/cli-base': 0.45.1(commander@15.0.0)(typescript@7.0.2)(vitest@5.0.3(@types/node@26.6.3)(vite@8.3.1(@types/node@26.6.3)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.1))) + '@wirecat/cli-core-onnx': 1.0.1 + '@wirecat/cli-core-sqlite': 1.0.1 '@xmldom/xmldom': 0.9.12 chardet: 2.2.0 commander: 15.0.0 @@ -5566,6 +5589,7 @@ snapshots: lossless-json: 4.3.0 mammoth: 1.13.0 ogg-opus-decoder: 1.7.5 + psl: 1.15.0 qrcode-generator: 2.0.4 sherpa-onnx: 1.13.8 string-width: 8.3.0 @@ -5581,12 +5605,6 @@ snapshots: - typescript - zod - '@wirecat/cli-messaging-onnx@1.0.1': - dependencies: - onnxruntime-common: 1.30.0 - - '@wirecat/cli-messaging-sqlite@1.0.1': {} - '@xmldom/xmldom@0.8.15': {} '@xmldom/xmldom@0.9.12': {} @@ -6740,7 +6758,7 @@ snapshots: json-schema-to-ts@3.1.1: dependencies: - '@babel/runtime': 7.29.7 + '@babel/runtime': 7.29.10 ts-algebra: 2.0.0 json-schema-traverse@1.0.0: {} @@ -7791,8 +7809,14 @@ snapshots: forwarded: 0.2.0 ipaddr.js: 1.9.1 + psl@1.15.0: + dependencies: + punycode: 2.3.1 + punycode.js@2.3.1: {} + punycode@2.3.1: {} + qrcode-generator@2.0.4: {} qs@6.16.0: