{"_id":"@aithos/client","name":"@aithos/client","dist-tags":{"next":"0.1.0-alpha.1","latest":"0.1.0-alpha.1"},"versions":{"0.1.0-alpha.1":{"name":"@aithos/client","version":"0.1.0-alpha.1","description":"Offline WebAssembly Aithos client for cold verification, local authority sessions, and authorized content reading.","type":"module","license":"BUSL-1.1","publishConfig":{"access":"public","tag":"next"},"repository":{"type":"git","url":"git+https://github.com/aithos-protocol/aithos-client.git"},"homepage":"https://github.com/aithos-protocol/aithos-client#readme","exports":{".":{"types":"./index.d.ts","import":"./index.js"},"./wasm":{"types":"./aithos_client_wasm.d.ts","import":"./aithos_client_wasm.js"},"./wasm-binary":"./aithos_client_wasm_bg.wasm"},"engines":{"node":">=20"},"keywords":["aithos","wasm","authorization","cryptography","offline"],"_id":"@aithos/client@0.1.0-alpha.1","gitHead":"772ff3c781b64c4f232f00f679aa3c7e358b5f61","types":"./index.d.ts","bugs":{"url":"https://github.com/aithos-protocol/aithos-client/issues"},"_integrity":"sha512-0+yQv12REuLcDuCCZki4105LrPq52A6FgaNzC6/4uaSF3/kR710t4M+sCGhlEaL3muAb539gcmAob4fx7usYmg==","_resolved":"/Volumes/Math17/aithos/v2/code/aithos-client/target/npm-artifacts/aithos-client-0.1.0-alpha.1.tgz","_from":"file:target/npm-artifacts/aithos-client-0.1.0-alpha.1.tgz","_nodeVersion":"23.9.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-0+yQv12REuLcDuCCZki4105LrPq52A6FgaNzC6/4uaSF3/kR710t4M+sCGhlEaL3muAb539gcmAob4fx7usYmg==","shasum":"452253e73ebfba025a2826001908b67b72d3b32e","tarball":"https://registry.npmjs.org/@aithos/client/-/client-0.1.0-alpha.1.tgz","fileCount":9,"unpackedSize":1352049,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCICnif1jVV/3hEwxG2txkaxA4V+NIIPLGx3zw3NmLUtUZAiAgk+vpAh1ydtMvFA6W8HR8KtQ5dWmLgiJd05hT4ZLEZg=="}]},"_npmUser":{"name":"aithos","email":"mathieu@aithos.be"},"directories":{},"maintainers":[{"name":"aithos","email":"mathieu@aithos.be"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/client_0.1.0-alpha.1_1784484611759_0.03049308633258585"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-19T18:10:11.628Z","0.1.0-alpha.1":"2026-07-19T18:10:11.966Z","modified":"2026-07-19T18:10:12.144Z"},"maintainers":[{"name":"aithos","email":"mathieu@aithos.be"}],"description":"Offline WebAssembly Aithos client for cold verification, local authority sessions, and authorized content reading.","homepage":"https://github.com/aithos-protocol/aithos-client#readme","keywords":["aithos","wasm","authorization","cryptography","offline"],"repository":{"type":"git","url":"git+https://github.com/aithos-protocol/aithos-client.git"},"bugs":{"url":"https://github.com/aithos-protocol/aithos-client/issues"},"license":"BUSL-1.1","readme":"# Aithos Client\n\nOffline WebAssembly client for the Aithos Core `0.1.0-alpha.1` protocol line.\n\nThis prerelease cold-verifies untrusted Aithos artifact packs, opens opaque\nowner or grantee sessions from caller-supplied local capabilities, rechecks\nmandate authority at each injected operation time, and reads authorized\ncontent locally. It performs no HTTP, DNS, socket, synchronization, cache, CAS,\nretry, or provider operation.\n\nThe package is intentionally read-only. Mutation and `PublicationPlan` support\nare not part of `0.1.0-alpha.1`; they require their own vectors-first client\ncontract over the published Core + Bundle mutation APIs.\n\n```js\nimport { AithosClient } from \"@aithos/client\";\n\nconst client = await AithosClient.create();\nconst snapshot = client.coldVerify(artifacts);\nconst publicContent = snapshot.readPublic(\"guide/welcome\");\n```\n\n`artifacts` is an iterable of `{ path, bytes: Uint8Array }`. Transport belongs\nto the host application or future Aithos SDK. Secret key arrays passed to\n`importOwnerKey` or `importGranteeKey` are consumed and zeroed by the binding;\nhandles and sessions remain in memory until locked or reset.\n\nSecurity model: this first browser profile assumes honestly delivered\nJavaScript and an uncompromised browser context. It does not protect against a\nhostile page, XSS, extensions, or a compromised device.\n\nLicense: Business Source License 1.1 with the Aithos client-side Additional Use\nGrant. See `LICENSE` for the complete terms.\n","readmeFilename":"README.md","_rev":"1-fa32f1ebe033302d4691883a216b619f"}