{"_id":"@aisynapze/plugin-akashchat","_rev":"2-9d1d83063265c76cc0a9ff1f4977b2a1","name":"@aisynapze/plugin-akashchat","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@aisynapze/plugin-akashchat","version":"1.0.0","_id":"@aisynapze/plugin-akashchat@1.0.0","maintainers":[{"name":"sekmet","email":"sekmet2600@gmail.com"}],"homepage":"https://github.com/aisynapze/plugin-akashchat#readme","bugs":{"url":"https://github.com/aisynapze/plugin-akashchat/issues"},"dist":{"shasum":"9da7e3c1c2962cfb352c3968df2cdfc0795e2fbb","tarball":"https://registry.npmjs.org/@aisynapze/plugin-akashchat/-/plugin-akashchat-1.0.0.tgz","fileCount":3,"integrity":"sha512-JwGaNez1ajcFQdDXzxFh88SfYtN1WQP91TMFuGsLXsufAjg0CA0Sj0OtlG4pBw7QgtuQ/AYrrWrpVOA9DcA0gw==","signatures":[{"sig":"MEQCIDP0g9nqC4CvsYTxRj8ustQcaglN7VpYvgjJfA6vjgxgAiANVGSjK3ZV7oxP3SSI7wXlVNNU/pF4XvKJZmv8r1O4Yg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4632},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./package.json":"./package.json"},"gitHead":"917e8b28d02cc09316dd61d1fb29c683f29689ef","scripts":{"dev":"tsup --watch","lint":"prettier --write ./src","build":"tsup","clean":"rm -rf dist .turbo node_modules .turbo-tsconfig.json tsconfig.tsbuildinfo","format":"prettier --write ./src","format:check":"prettier --check ./src"},"_npmUser":{"name":"sekmet","actor":{"name":"sekmet","type":"user","email":"sekmet2600@gmail.com"},"email":"sekmet2600@gmail.com"},"repository":{"url":"git+https://github.com/aisynapze/plugin-akashchat.git","type":"git"},"_npmVersion":"11.3.0","agentConfig":{"pluginType":"elizaos:plugin:1.0.0","pluginParameters":{"AKASH_CHAT_API_KEY":{"type":"string","description":"API key for the service"}}},"description":"This plugin provides integration with Akash Chat's models through the ElizaOS v2 platform.","directories":{},"_nodeVersion":"23.5.0","dependencies":{"ai":"^4.1.25","tsup":"8.4.0","js-tiktoken":"^1.0.18","@elizaos/core":"latest","@ai-sdk/openai":"^1.1.9","@ai-sdk/ui-utils":"1.1.9"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"prettier":"3.5.3"},"_npmOperationalInternal":{"tmp":"tmp/plugin-akashchat_1.0.0_1751474436530_0.7943402786157496","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@aisynapze/plugin-akashchat","version":"1.0.1","type":"module","main":"dist/index.js","module":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/aisynapze/plugin-akashchat.git"},"exports":{"./package.json":"./package.json",".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"}}},"dependencies":{"@ai-sdk/openai":"^1.3.20","@ai-sdk/ui-utils":"^1.2.1","@elizaos/core":"^1.0.0","ai":"^4.3.16","js-tiktoken":"^1.0.18","tsup":"8.5.0"},"scripts":{"build":"tsup","dev":"tsup --watch","lint":"prettier --write ./src","clean":"rm -rf dist .turbo node_modules .turbo-tsconfig.json tsconfig.tsbuildinfo","format":"prettier --write ./src","format:check":"prettier --check ./src","test":"npx elizaos test"},"publishConfig":{"access":"public"},"agentConfig":{"pluginType":"elizaos:plugin:1.0.0","pluginParameters":{"AKASH_CHAT_API_KEY":{"type":"string","description":"API key for the service"}}},"devDependencies":{"@types/node":"^20.0.0","prettier":"3.5.3","typescript":"^5.8.2"},"_id":"@aisynapze/plugin-akashchat@1.0.1","gitHead":"dc4a33ec9309f72f1fcfd4ab04a8f905c5aaf200","description":"This plugin provides integration with Akash Chat's models through the ElizaOS v2 platform.","bugs":{"url":"https://github.com/aisynapze/plugin-akashchat/issues"},"homepage":"https://github.com/aisynapze/plugin-akashchat#readme","_nodeVersion":"23.5.0","_npmVersion":"11.3.0","dist":{"integrity":"sha512-xbsSnMRwUtG7/HpIeJBvMEd4Fo0+2jPLzAL9Ns5UB6j4YiK8Ea+LdbcNQfzBiimu71A8se90WUT1szrgn5MKqQ==","shasum":"60da77095957f23e35d4a93022200711390ee434","tarball":"https://registry.npmjs.org/@aisynapze/plugin-akashchat/-/plugin-akashchat-1.0.1.tgz","fileCount":5,"unpackedSize":67753,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIAxcHXFyUDyafNmatJ5HwD47qHHoMPllWtRWTTBAdVSWAiAo1lSIoBtpPlIJDaTmDqiYG4WhA6033Spsc7+PX0UoMA=="}]},"_npmUser":{"name":"sekmet","email":"sekmet2600@gmail.com","actor":{"name":"sekmet","email":"sekmet2600@gmail.com","type":"user"}},"directories":{},"maintainers":[{"name":"sekmet","email":"sekmet2600@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/plugin-akashchat_1.0.1_1751480667197_0.9127189634342612"},"_hasShrinkwrap":false}},"time":{"created":"2025-07-02T16:40:36.437Z","modified":"2025-07-02T18:24:27.577Z","1.0.0":"2025-07-02T16:40:36.694Z","1.0.1":"2025-07-02T18:24:27.369Z"},"bugs":{"url":"https://github.com/aisynapze/plugin-akashchat/issues"},"homepage":"https://github.com/aisynapze/plugin-akashchat#readme","repository":{"type":"git","url":"git+https://github.com/aisynapze/plugin-akashchat.git"},"description":"This plugin provides integration with Akash Chat's models through the ElizaOS v2 platform.","maintainers":[{"name":"sekmet","email":"sekmet2600@gmail.com"}],"readme":"# AkashChat Plugin\n\nThis plugin provides integration with Akash Chat's models through the ElizaOS v2 platform.\n\n## Usage\n\nAdd the plugin to your character configuration:\n\n```json\n\"plugins\": [\"@elizaos/plugin-akashchat\"]\n```\n\n## Configuration\n\nThe plugin requires these environment variables (can be set in .env file or character settings):\n\n```json\n\"settings\": {\n  \"AKASH_CHAT_API_KEY\": \"your_akashchat_api_key\",\n  \"AKASH_CHAT_BASE_URL\": \"optional_custom_endpoint\",\n  \"AKASH_CHAT_SMALL_MODEL\": \"Meta-Llama-3-1-8B-Instruct-FP8\",\n  \"AKASH_CHAT_LARGE_MODEL\": \"Meta-Llama-3-3-70B-Instruct\",\n  \"AKASH_CHAT_EMBEDDING_MODEL\": \"BAAI-bge-large-en-v1-5\",\n  \"AKASH_CHAT_EMBEDDING_DIMENSIONS\": \"1024\"\n}\n```\n\nOr in `.env` file:\n\n```env\nAKASH_CHAT_API_KEY=your_akashchat_api_key\n# Optional overrides:\nAKASH_CHAT_BASE_URL=optional_custom_endpoint\nAKASH_CHAT_SMALL_MODEL=Meta-Llama-3-1-8B-Instruct-FP8\nAKASH_CHAT_LARGE_MODEL=Meta-Llama-3-3-70B-Instruct\nAKASH_CHAT_EMBEDDING_MODEL=BAAI-bge-large-en-v1-5\nAKASH_CHAT_EMBEDDING_DIMENSIONS=1024\n```\n\n### Configuration Options\n\n- `AKASH_CHAT_API_KEY` (required): Your Akash Chat API credentials\n- `AKASH_CHAT_BASE_URL`: Custom API endpoint (default: https://chatapi.akash.network/api/v1)\n- `AKASH_CHAT_SMALL_MODEL`: Defaults to Llama 3.1 (\"Meta-Llama-3-1-8B-Instruct-FP8\")\n- `AKASH_CHAT_LARGE_MODEL`: Defaults to Llama 3.3 (\"Meta-Llama-3-3-70B-Instruct\")\n- `AKASH_CHAT_EMBEDDING_MODEL`: Defaults to BAAI-bge-large-en-v1-5 (\"BAAI-bge-large-en-v1-5\")\n- `AKASH_CHAT_EMBEDDING_DIMENSIONS`: Defaults to 1024 (1024)\n\nThe plugin provides these model classes:\n\n- `TEXT_SMALL`: Optimized for fast, cost-effective responses\n- `TEXT_LARGE`: For complex tasks requiring deeper reasoning\n- `IMAGE`: AkashGen image generation\n- `TEXT_TOKENIZER_ENCODE`: Text tokenization\n- `TEXT_TOKENIZER_DECODE`: Token decoding\n\n## Additional Features\n\n### Image Generation\n\n```js\nawait runtime.useModel(ModelType.IMAGE, {\n  prompt: 'A sunset over mountains',\n  negative: \"\",\n  sampler: \"dpmpp_2m\",\n  scheduler: \"sgm_uniform\",\n  preferred_gpu: [ \"RTX4090\", \"A10\", \"A100\", \"V100-32Gi\", \"H100\"]\n});\n```\n\n### Text Embeddings\n\n```js\nconst embedding = await runtime.useModel(ModelType.TEXT_EMBEDDING, 'text to embed');\n```\n","readmeFilename":"README.md"}