{"_id":"@aimoverse/aimo-note-agent","_rev":"6-17974cbaf7ebd3c762853e5630312ea0","name":"@aimoverse/aimo-note-agent","dist-tags":{"latest":"0.1.5"},"versions":{"0.1.0":{"name":"@aimoverse/aimo-note-agent","version":"0.1.0","license":"MIT","_id":"@aimoverse/aimo-note-agent@0.1.0","maintainers":[{"name":"zane-archer","email":"fracher21@gmail.com"}],"homepage":"https://github.com/AIMOverse/note-agent#readme","bugs":{"url":"https://github.com/AIMOverse/note-agent/issues"},"dist":{"shasum":"e77564620f164b4c03fb4984aba7193b2b5ad28d","tarball":"https://registry.npmjs.org/@aimoverse/aimo-note-agent/-/aimo-note-agent-0.1.0.tgz","fileCount":5,"integrity":"sha512-viP5J4Nuresm8AIwIWux/hMz6G4VqFs+1H3JpFJbdL7M4wnip9Gc9j80DjpXz7ZVbqunBH/VlbP3oB7rf6HmBA==","signatures":[{"sig":"MEQCIGpLyMr0iDNo16k211seoRGpecKA+gRJ5xb5vcu1yy9DAiB6qb1PeN8yh0ZLoWG/JsBxSu+oMcuIAwFmkHTczUd/0g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":861635},"main":"aimo_note_agent.js","type":"module","types":"aimo_note_agent.d.ts","gitHead":"d81f135303eac1b97a6ef265247ada338fe6b023","_npmUser":{"name":"zane-archer","email":"fracher21@gmail.com"},"repository":{"url":"git+https://github.com/AIMOverse/note-agent.git","type":"git"},"_npmVersion":"10.9.2","description":"AIMO note app agent built with Amico","directories":{},"sideEffects":["./snippets/*"],"_nodeVersion":"22.15.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/aimo-note-agent_0.1.0_1752396417878_0.4281997808591289","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@aimoverse/aimo-note-agent","version":"0.1.1","license":"MIT","_id":"@aimoverse/aimo-note-agent@0.1.1","maintainers":[{"name":"zane-archer","email":"fracher21@gmail.com"}],"homepage":"https://github.com/AIMOverse/note-agent#readme","bugs":{"url":"https://github.com/AIMOverse/note-agent/issues"},"dist":{"shasum":"55e4565f18d31023fafbc2bbb4015a33fe9841a4","tarball":"https://registry.npmjs.org/@aimoverse/aimo-note-agent/-/aimo-note-agent-0.1.1.tgz","fileCount":5,"integrity":"sha512-qP9u6gjZ73ElvAplLZP8AYLpnlfJuB0FG8ZZLuMaCTOTOTd646yRpX+NWowXokLnJMlbOlyCi0HucUrjwJplqg==","signatures":[{"sig":"MEUCIFy2/SCA++5Xe5lvwouhmZfUK+2ajv21fP79pyH9vQsTAiEAhW2Z61RpLXR8IQD7sk86ytZ4EZu5VWgPRHRxjNMKLVA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":862944},"main":"aimo_note_agent.js","type":"module","types":"aimo_note_agent.d.ts","gitHead":"7f9d923f178b84fc74be8bfe64eda03863356666","_npmUser":{"name":"zane-archer","email":"fracher21@gmail.com"},"repository":{"url":"git+https://github.com/AIMOverse/note-agent.git","type":"git"},"_npmVersion":"10.9.2","description":"AIMO note app agent built with Amico","directories":{},"sideEffects":["./snippets/*"],"_nodeVersion":"22.15.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/aimo-note-agent_0.1.1_1752401763122_0.18726705810624256","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@aimoverse/aimo-note-agent","version":"0.1.2","license":"MIT","_id":"@aimoverse/aimo-note-agent@0.1.2","maintainers":[{"name":"zane-archer","email":"fracher21@gmail.com"}],"homepage":"https://github.com/AIMOverse/note-agent#readme","bugs":{"url":"https://github.com/AIMOverse/note-agent/issues"},"dist":{"shasum":"4430b73f33391448e0077e4483f0cbaeb1e719d8","tarball":"https://registry.npmjs.org/@aimoverse/aimo-note-agent/-/aimo-note-agent-0.1.2.tgz","fileCount":5,"integrity":"sha512-0JIH5MHvDYrg9cRgsEKDHDGLU+/MSyn550PUOXzstaQ8RInsaikrareyqcjaDxFR1GAByF4Pgz5XOGPtNkB04Q==","signatures":[{"sig":"MEUCIQCd0Prdcr+RBv4pB1DdylyWM+LLmqilotmMxLb4VKJnpQIgcgrXgTqsXP86LEWJj0EqLp2vbS/yODV+bYa9YfuaCvM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":863228},"main":"aimo_note_agent.js","type":"module","types":"aimo_note_agent.d.ts","gitHead":"923d5542bc3dcc0858e8be5bcc973e5f63390acc","_npmUser":{"name":"zane-archer","email":"fracher21@gmail.com"},"repository":{"url":"git+https://github.com/AIMOverse/note-agent.git","type":"git"},"_npmVersion":"10.9.2","description":"AIMO note app agent built with Amico","directories":{},"sideEffects":["./snippets/*"],"_nodeVersion":"22.15.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/aimo-note-agent_0.1.2_1752404781479_0.7129315612240252","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@aimoverse/aimo-note-agent","version":"0.1.3","license":"MIT","_id":"@aimoverse/aimo-note-agent@0.1.3","maintainers":[{"name":"zane-archer","email":"fracher21@gmail.com"}],"homepage":"https://github.com/AIMOverse/note-agent#readme","bugs":{"url":"https://github.com/AIMOverse/note-agent/issues"},"dist":{"shasum":"a240e370f15939d54d1b296b0d301bedbf256147","tarball":"https://registry.npmjs.org/@aimoverse/aimo-note-agent/-/aimo-note-agent-0.1.3.tgz","fileCount":5,"integrity":"sha512-Rq/aIeLoBArRMjcG+N6TeLIame2zlyZegZMEyNPmPM2gJF6NmqWyEOjuzCjcIIfsrk++/G63JfaYLp5TvmaUrw==","signatures":[{"sig":"MEUCIQCK11FMOxqrkF45i0LDkHZdYeqLAewJv0ReNe6Br0/LAwIgPrO4+1fcw7CTGG7WXw06z7FqEkbSn2Q9f4mjzEChG1E=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":862108},"main":"aimo_note_agent.js","type":"module","types":"aimo_note_agent.d.ts","gitHead":"8ed44ac6b5e8c72186fa06a20ece22a994888ca0","_npmUser":{"name":"zane-archer","email":"fracher21@gmail.com"},"repository":{"url":"git+https://github.com/AIMOverse/note-agent.git","type":"git"},"_npmVersion":"10.9.2","description":"AIMO note app agent built with Amico","directories":{},"sideEffects":["./snippets/*"],"_nodeVersion":"22.15.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/aimo-note-agent_0.1.3_1752407392694_0.24365054413278453","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@aimoverse/aimo-note-agent","version":"0.1.4","license":"MIT","_id":"@aimoverse/aimo-note-agent@0.1.4","maintainers":[{"name":"zane-archer","email":"fracher21@gmail.com"}],"homepage":"https://github.com/AIMOverse/note-agent#readme","bugs":{"url":"https://github.com/AIMOverse/note-agent/issues"},"dist":{"shasum":"bcfb2328c9ecb7365760c36971dad80f2357309d","tarball":"https://registry.npmjs.org/@aimoverse/aimo-note-agent/-/aimo-note-agent-0.1.4.tgz","fileCount":5,"integrity":"sha512-S5FKcD9rAfcFxRd3EKJgOVtyQN3QZvkuGygTx4EJarWOfMTc/2X9SQWb7l8G+DZnEzwKmwU7n49JkwnWdROWsQ==","signatures":[{"sig":"MEUCIQCXxNryytNodavnqVLs/pgM5HJ9LuOe4YESu+LfnhMQgwIgEjM3/3VpQrTUWcvLg7CbpBgSqT/NRlPzomA1oXIDSoo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":861604},"main":"aimo_note_agent.js","type":"module","types":"aimo_note_agent.d.ts","gitHead":"86175ccde1b1f4fb534f9383a6f5495eb3985b2a","_npmUser":{"name":"zane-archer","email":"fracher21@gmail.com"},"repository":{"url":"git+https://github.com/AIMOverse/note-agent.git","type":"git"},"_npmVersion":"10.9.2","description":"AIMO note app agent built with Amico","directories":{},"sideEffects":["./snippets/*"],"_nodeVersion":"22.15.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/aimo-note-agent_0.1.4_1752479542207_0.8833989282054113","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@aimoverse/aimo-note-agent","type":"module","description":"AIMO note app agent built with Amico","version":"0.1.5","license":"MIT","repository":{"type":"git","url":"git+https://github.com/AIMOverse/note-agent.git"},"main":"aimo_note_agent.js","types":"aimo_note_agent.d.ts","sideEffects":["./snippets/*"],"_id":"@aimoverse/aimo-note-agent@0.1.5","gitHead":"cf40b3c1864ded5a2f7d46085c800857ab9d61fb","bugs":{"url":"https://github.com/AIMOverse/note-agent/issues"},"homepage":"https://github.com/AIMOverse/note-agent#readme","_nodeVersion":"22.15.1","_npmVersion":"10.9.2","dist":{"integrity":"sha512-evXXkiIV+Udy7fRu/wyVlawvwN1nqRt8N4H366Jsc477OZE1B8brm1zHADvNhePqR9wdFMcxxJ23xQkKOVPiWw==","shasum":"9a4111ef1e9492ed88b7992f96a627c240801a1c","tarball":"https://registry.npmjs.org/@aimoverse/aimo-note-agent/-/aimo-note-agent-0.1.5.tgz","fileCount":5,"unpackedSize":879185,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIEqD0npy6nEtMAR5ZEWvx9NJorlZPOoD/i52RH9/tf79AiEAvaGxmaKSGbxEDERbvSPo80nF+0iP51LZMqjOQ0B6iDY="}]},"_npmUser":{"name":"zane-archer","email":"fracher21@gmail.com"},"directories":{},"maintainers":[{"name":"zane-archer","email":"fracher21@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/aimo-note-agent_0.1.5_1752481813427_0.6054019184469741"},"_hasShrinkwrap":false}},"time":{"created":"2025-07-13T08:46:57.810Z","modified":"2025-07-14T08:30:13.842Z","0.1.0":"2025-07-13T08:46:58.114Z","0.1.1":"2025-07-13T10:16:03.352Z","0.1.2":"2025-07-13T11:06:21.703Z","0.1.3":"2025-07-13T11:49:52.939Z","0.1.4":"2025-07-14T07:52:22.423Z","0.1.5":"2025-07-14T08:30:13.645Z"},"bugs":{"url":"https://github.com/AIMOverse/note-agent/issues"},"license":"MIT","homepage":"https://github.com/AIMOverse/note-agent#readme","repository":{"type":"git","url":"git+https://github.com/AIMOverse/note-agent.git"},"description":"AIMO note app agent built with Amico","maintainers":[{"name":"zane-archer","email":"fracher21@gmail.com"}],"readme":"# WASM Package for AIMO App (OMO)\r\n\r\n## Build and Publish\r\n\r\n```bash\r\n# For example, build for AIMOverse npm package scope.\r\n# This will produce `@aimoverse/aimo-app-amico`\r\nwasm-pack build --target web --out-dir pkg-wasm --scope aimoverse\r\n\r\n# Publish the package\r\ncd pkg-wasm && npm publish --access public\r\n```\r\n\r\n## React Project Usage\r\n\r\nSee the `./example` react project for example.\r\n\r\nYou can copy & paste `./example/src/hooks/useAmico.js` or the following code into your `hooks` folder to start.\r\n\r\n```javascript\r\nimport { useState, useEffect } from \"react\";\r\n\r\n/**\r\n * Hook to initialize and manage the WASM module\r\n * @returns {Object} { isReady, error, wasmModule }\r\n */\r\nexport function useAmico() {\r\n  const [isReady, setIsReady] = useState(false);\r\n  const [error, setError] = useState(null);\r\n  const [wasmModule, setWasmModule] = useState(null);\r\n\r\n  useEffect(() => {\r\n    const initWasm = async () => {\r\n      try {\r\n        setError(null);\r\n\r\n        // Dynamic import of WASM module and binary\r\n        const [wasmModule, wasmUrl] = await Promise.all([\r\n          import(\"@aimoverse/aimo-app-amico\"),\r\n          import(\"@aimoverse/aimo-app-amico/aimo_app_amico_bg.wasm?url\"),\r\n        ]);\r\n\r\n        console.log(\"WASM module loaded:\", wasmModule);\r\n        console.log(\"WASM binary URL:\", wasmUrl.default);\r\n\r\n        // Initialize the WASM module with the proper binary URL\r\n        await wasmModule.default(wasmUrl.default);\r\n        console.log(\"WASM module initialized\");\r\n\r\n        setWasmModule(wasmModule);\r\n        setIsReady(true);\r\n      } catch (err) {\r\n        console.error(\"Failed to initialize WASM:\", err);\r\n        setError(err);\r\n      }\r\n    };\r\n\r\n    initWasm();\r\n  }, []);\r\n\r\n  return { isReady, error, wasmModule };\r\n}\r\n```\r\n\r\nAn example to use `useAmico` hook is in `./example/src/hooks/useAgent.js`.\r\n","readmeFilename":"README.md"}