{"_id":"@buddhilive/dsh-client-store","name":"@buddhilive/dsh-client-store","dist-tags":{"alpha":"0.1.2-alpha.3","latest":"0.1.2-alpha.3"},"versions":{"0.1.2-alpha.3":{"name":"@buddhilive/dsh-client-store","description":"React-free observable and snapshot-store contracts with the shared Zustand/Immer engine","version":"0.1.2-alpha.3","publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/Buddhilive/buddhi-ai-harness.git","directory":"packages/client/store"},"type":"module","main":"lib/index.js","types":"lib/types/index.d.ts","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","dependencies":{"immer":"^10.1.1","zustand":"~4.4.7"},"peerDependencies":{"@deepseek-ai/cordis":"^4.0.2"},"devDependencies":{"@deepseek-ai/cordis":"^4.0.2","@buddhilive/dsh-invariants":"^0.1.2-alpha.3"},"_id":"@buddhilive/dsh-client-store@0.1.2-alpha.3","bugs":{"url":"https://github.com/Buddhilive/buddhi-ai-harness/issues"},"homepage":"https://github.com/Buddhilive/buddhi-ai-harness#readme","_integrity":"sha512-8XiNhOm3MN280TC1wnbi9IfoC0cNJwuLKOtvkWN1Ib3g935L5la8i65LnyD5lRkEPb9clcAJlfuO4uQ+lzOqbg==","_resolved":"C:\\DevDojo\\Buddhi\\buddhi-ai-harness\\dist\\npm\\buddhilive-dsh-client-store-0.1.2-alpha.3.tgz","_from":"file:C:/DevDojo/Buddhi/buddhi-ai-harness/dist/npm/buddhilive-dsh-client-store-0.1.2-alpha.3.tgz","_nodeVersion":"24.13.0","_npmVersion":"11.6.2","dist":{"integrity":"sha512-8XiNhOm3MN280TC1wnbi9IfoC0cNJwuLKOtvkWN1Ib3g935L5la8i65LnyD5lRkEPb9clcAJlfuO4uQ+lzOqbg==","shasum":"dc3bd3e393783f56ea7bd61cff15253a5a2488c4","tarball":"https://registry.npmjs.org/@buddhilive/dsh-client-store/-/dsh-client-store-0.1.2-alpha.3.tgz","fileCount":10,"unpackedSize":23669,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIF9uQ9yJWyVcHBjfDedKFKXl1qzP8bwMTCOvIhBcEP9kAiAzyZDbySE4PXzvQKQjDFJ9ovCXFGgoLKl6vGeAVgR+Yg=="}]},"_npmUser":{"name":"buddhilive","email":"visitbudkavin@gmail.com"},"directories":{},"maintainers":[{"name":"buddhilive","email":"visitbudkavin@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-client-store_0.1.2-alpha.3_1788166010260_0.722853161119767"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-31T08:46:50.084Z","0.1.2-alpha.3":"2026-08-31T08:46:50.381Z","modified":"2026-08-31T08:46:50.664Z"},"maintainers":[{"name":"buddhilive","email":"visitbudkavin@gmail.com"}],"description":"React-free observable and snapshot-store contracts with the shared Zustand/Immer engine","homepage":"https://github.com/Buddhilive/buddhi-ai-harness#readme","repository":{"type":"git","url":"git+https://github.com/Buddhilive/buddhi-ai-harness.git","directory":"packages/client/store"},"bugs":{"url":"https://github.com/Buddhilive/buddhi-ai-harness/issues"},"license":"MIT","readme":"---\ndescription: \"具有显式快照、订阅与生命周期所有权的浏览器可观察状态 store。\"\nkind: \"package-library\"\n---\n# @buddhilive/dsh-client-store\n\n[English](README.md) | 中文\n\n## 概述\n\n供 Client controller 与 renderer adapter 共用的不依赖 React 的 observable 和 snapshot-store 基础设施。本包负责同步与 animation-frame 发布、基于 Immer 的更新、浅比较和可选的浏览器持久化；React hook 的构造仍属于 `@buddhilive/dsh-client-ui-renderer`。当 Client 状态必须在不依赖 React 的情况下发布稳定 snapshot 时，请使用它。\n\n## 目录\n\n- [模型体验](#model-experience)\n- [已知限制与暂缓事项](#known-limitations-and-deferred-work)\n- [开发备注](#dev-note)\n\n-----\n\n<a id=\"model-experience\"></a>\n## 模型体验\n\n无，因为本包提供浏览器侧状态基础设施，不注册任何面向模型的内容。\n\n#### KV Cache 影响\n\n无；这些 store 既不组装也不发送模型请求。\n\n## 已知限制与暂缓事项\n\n<a id=\"known-limitations-and-deferred-work\"></a>\n\n- **持久化仅限浏览器本地**——持久化 store 使用 `localStorage` 中的 JSON；非浏览器运行时会禁用持久化，本包也不提供跨设备同步。\n\n\n<a id=\"dev-note\"></a>\n### 开发备注\n\n<details>\n<summary>维护者工作上下文——点击展开</summary>\n\n无。\n\n</details>\n","readmeFilename":"README.zh.md","_rev":"1-5f0c56b55273f3eb3263db72f5c9f93b"}