{"_id":"@aemi-cli/aemi","_rev":"7-71a6d7643dd8af6f687e678a6f1aecec","name":"@aemi-cli/aemi","dist-tags":{"latest":"0.1.1"},"versions":{"0.0.6":{"name":"@aemi-cli/aemi","version":"0.0.6","keywords":["cli","ai","llm","telegram","discord","claude","codex","gemini","opencode"],"license":"MIT","_id":"@aemi-cli/aemi@0.0.6","maintainers":[{"name":"sam1287","email":"sam1287@gmail.com"}],"homepage":"https://www.jennifersoft.com","bugs":{"url":"https://github.com/KyongSik-Yoon/aemi/issues"},"bin":{"aemi":"bin/aemi"},"dist":{"shasum":"38d54d8199c0e911f32356a3d92a863d2adddfec","tarball":"https://registry.npmjs.org/@aemi-cli/aemi/-/aemi-0.0.6.tgz","fileCount":2,"integrity":"sha512-we9Vyg980Xpv/j9P/Jeguk05ZI+US1jiF0aFX7E8vHa4MBLwKEnw/PQcsGFARJ9U62lPTR6rj4u97p36Ez8lJA==","signatures":[{"sig":"MEUCIQCwzpWOEHH0IDsofJL2SngH6ZOoOtLY8pYESWIj5t8Q4QIgXXjimumGzIWDzr6ahXu5rqYalag3Huqc/8ME2+gnMFE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1414},"gitHead":"19eb5a63018fd64aaaaea2c77eb5088f4105b953","_npmUser":{"name":"sam1287","email":"sam1287@gmail.com"},"repository":{"url":"git+https://github.com/KyongSik-Yoon/aemi.git","type":"git"},"_npmVersion":"10.8.2","description":"LLM CLI routing tool with Telegram and Discord bot integration","directories":{},"_nodeVersion":"20.20.0","_hasShrinkwrap":false,"optionalDependencies":{"@aemi-cli/linux-x64":"0.0.6","@aemi-cli/darwin-x64":"0.0.6","@aemi-cli/linux-arm64":"0.0.6","@aemi-cli/darwin-arm64":"0.0.6"},"_npmOperationalInternal":{"tmp":"tmp/aemi_0.0.6_1772084018010_0.21017479756431512","host":"s3://npm-registry-packages-npm-production"}},"0.0.7":{"name":"@aemi-cli/aemi","version":"0.0.7","keywords":["cli","ai","llm","telegram","discord","claude","codex","gemini","opencode"],"license":"MIT","_id":"@aemi-cli/aemi@0.0.7","maintainers":[{"name":"sam1287","email":"sam1287@gmail.com"}],"homepage":"https://www.jennifersoft.com","bugs":{"url":"https://github.com/KyongSik-Yoon/aemi/issues"},"bin":{"aemi":"bin/aemi"},"dist":{"shasum":"2e2e1f6f992b0f955761b52fcb2f47b541907891","tarball":"https://registry.npmjs.org/@aemi-cli/aemi/-/aemi-0.0.7.tgz","fileCount":2,"integrity":"sha512-OBtvjcxvDV4AL3IyEW2nvSmW9Xdw/lMkUB3Xux03PncKSAZlXd52l9jksk6Zp2u0srDZF6CeHbOLNozvdbZfJg==","signatures":[{"sig":"MEUCIQDkN5Xw0nhw+Gsu1NdCbGY6ze/9GrvnZi5FdpvQAZIRWQIgZ64Xmgw6XN3Ff6M34iKHs40ceVvsl+58MnXSGcghJww=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aemi-cli%2faemi@0.0.7","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1414},"gitHead":"083f89b376544bf595326cdfa5914d7816979b81","_npmUser":{"name":"sam1287","email":"sam1287@gmail.com"},"repository":{"url":"git+https://github.com/KyongSik-Yoon/aemi.git","type":"git"},"_npmVersion":"10.8.2","description":"LLM CLI routing tool with Telegram and Discord bot integration","directories":{},"_nodeVersion":"20.20.0","_hasShrinkwrap":false,"optionalDependencies":{"@aemi-cli/linux-x64":"0.0.7","@aemi-cli/darwin-x64":"0.0.7","@aemi-cli/linux-arm64":"0.0.7","@aemi-cli/darwin-arm64":"0.0.7"},"_npmOperationalInternal":{"tmp":"tmp/aemi_0.0.7_1772089026349_0.36249968795387044","host":"s3://npm-registry-packages-npm-production"}},"0.0.12":{"name":"@aemi-cli/aemi","version":"0.0.12","keywords":["cli","ai","llm","telegram","discord","claude","codex","gemini","opencode"],"license":"MIT","_id":"@aemi-cli/aemi@0.0.12","maintainers":[{"name":"sam1287","email":"sam1287@gmail.com"}],"homepage":"https://www.jennifersoft.com","bugs":{"url":"https://github.com/KyongSik-Yoon/aemi/issues"},"bin":{"aemi":"bin/aemi"},"dist":{"shasum":"0e5689cbc2a4fa20ab1f635f3d3d2b2b9b74e464","tarball":"https://registry.npmjs.org/@aemi-cli/aemi/-/aemi-0.0.12.tgz","fileCount":2,"integrity":"sha512-6B2o4F8dLQfN/+ubzrEsscPJ3PZUB9w9pyHuJ+nyQ+ToRyYJukSX4ybGbkUq8fqs4Vay18VqKMesiDQdhRSRAQ==","signatures":[{"sig":"MEUCIQDVRWvJpfyiljHvO5J6nnr8dIzA1cAi6whjjU6Z675qOgIgau+rVq/cFLfvfWQtJ/jeEhcVtFFMvIILLRVDS9lt2rs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aemi-cli%2faemi@0.0.12","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1419},"gitHead":"d589fbb1bcd9e17408238e621b1fce89c361f9f4","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:d229ed39-fb07-4d1d-989a-052936de5c06"}},"repository":{"url":"git+https://github.com/KyongSik-Yoon/aemi.git","type":"git"},"_npmVersion":"11.11.0","description":"LLM CLI routing tool with Telegram and Discord bot integration","directories":{},"_nodeVersion":"22.22.0","_hasShrinkwrap":false,"optionalDependencies":{"@aemi-cli/linux-x64":"0.0.12","@aemi-cli/darwin-x64":"0.0.12","@aemi-cli/linux-arm64":"0.0.12","@aemi-cli/darwin-arm64":"0.0.12"},"_npmOperationalInternal":{"tmp":"tmp/aemi_0.0.12_1772091844577_0.30400555989887357","host":"s3://npm-registry-packages-npm-production"}},"0.0.13":{"name":"@aemi-cli/aemi","version":"0.0.13","keywords":["cli","ai","llm","telegram","discord","claude","codex","gemini","opencode"],"license":"MIT","_id":"@aemi-cli/aemi@0.0.13","maintainers":[{"name":"sam1287","email":"sam1287@gmail.com"}],"homepage":"https://www.jennifersoft.com","bugs":{"url":"https://github.com/KyongSik-Yoon/aemi/issues"},"bin":{"aemi":"bin/aemi"},"dist":{"shasum":"a7cf6d10d82cca139cac4fc26bec3f7e227f5bcb","tarball":"https://registry.npmjs.org/@aemi-cli/aemi/-/aemi-0.0.13.tgz","fileCount":3,"integrity":"sha512-F0RiQR2KrBH5/XGPi5dFffa7LoUpyHGEaOsapZAwJ7Byeho/LC1QwTWUEC/p8yMD3jrqhvpLI1z2ggcJ2krHuQ==","signatures":[{"sig":"MEUCIEWzN2mwKCNDNqEDVciHuxqc1irpfeJaIp93t7a37pOrAiEA+HWhGSrnUlzB04YxcwWAvJ2snGxfdpUmLRz5z0hRoyk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aemi-cli%2faemi@0.0.13","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":9138},"gitHead":"87905d9b940bd7536718aaf2d90c78c0d3ec0a52","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:d229ed39-fb07-4d1d-989a-052936de5c06"}},"repository":{"url":"git+https://github.com/KyongSik-Yoon/aemi.git","type":"git"},"_npmVersion":"11.11.0","description":"LLM CLI routing tool with Telegram and Discord bot integration","directories":{},"_nodeVersion":"22.22.0","_hasShrinkwrap":false,"optionalDependencies":{"@aemi-cli/linux-x64":"0.0.13","@aemi-cli/darwin-x64":"0.0.13","@aemi-cli/linux-arm64":"0.0.13","@aemi-cli/darwin-arm64":"0.0.13"},"_npmOperationalInternal":{"tmp":"tmp/aemi_0.0.13_1772094563782_0.8964573466327155","host":"s3://npm-registry-packages-npm-production"}},"0.0.14":{"name":"@aemi-cli/aemi","version":"0.0.14","keywords":["cli","ai","llm","telegram","discord","claude","codex","gemini","opencode"],"license":"MIT","_id":"@aemi-cli/aemi@0.0.14","maintainers":[{"name":"sam1287","email":"sam1287@gmail.com"}],"homepage":"https://www.jennifersoft.com","bugs":{"url":"https://github.com/KyongSik-Yoon/aemi/issues"},"bin":{"aemi":"bin/aemi"},"dist":{"shasum":"ad38588f6131c80ba9a82388256d7bd81a925cd1","tarball":"https://registry.npmjs.org/@aemi-cli/aemi/-/aemi-0.0.14.tgz","fileCount":3,"integrity":"sha512-ZcgNyl2hzwUwY7Rxs/bSUD8FCqd+Wq6LHsojcHSNL23rG2nrplUDav0kFAsQW2RqqCmH+HZtK3/zo5YHAA0lXg==","signatures":[{"sig":"MEUCIQDdv/Ft5wNZpmKYfroz3nn5x6Vxuf6nOH0OeExpf30W7AIgHwodPBQStwi9r5U1rZ+gMSV+Z9t/27YHXvYzuMum81c=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aemi-cli%2faemi@0.0.14","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":5250},"gitHead":"870f273ca145b74dec8414499bbaae43e22ec394","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:d229ed39-fb07-4d1d-989a-052936de5c06"}},"repository":{"url":"git+https://github.com/KyongSik-Yoon/aemi.git","type":"git"},"_npmVersion":"11.11.0","description":"LLM CLI routing tool with Telegram and Discord bot integration","directories":{},"_nodeVersion":"22.22.0","_hasShrinkwrap":false,"optionalDependencies":{"@aemi-cli/linux-x64":"0.0.14","@aemi-cli/darwin-x64":"0.0.14","@aemi-cli/linux-arm64":"0.0.14","@aemi-cli/darwin-arm64":"0.0.14"},"_npmOperationalInternal":{"tmp":"tmp/aemi_0.0.14_1772109483068_0.572751692616132","host":"s3://npm-registry-packages-npm-production"}},"0.1.0":{"name":"@aemi-cli/aemi","version":"0.1.0","keywords":["cli","ai","llm","telegram","discord","claude","codex","gemini","opencode"],"license":"MIT","_id":"@aemi-cli/aemi@0.1.0","maintainers":[{"name":"sam1287","email":"sam1287@gmail.com"}],"homepage":"https://www.jennifersoft.com","bugs":{"url":"https://github.com/KyongSik-Yoon/aemi/issues"},"bin":{"aemi":"bin/aemi"},"dist":{"shasum":"eb1722d5e2d2e36a8d218af612f58bbfd9291043","tarball":"https://registry.npmjs.org/@aemi-cli/aemi/-/aemi-0.1.0.tgz","fileCount":3,"integrity":"sha512-3pYeWaM/wqxxvv0k++3KDmVxVivrQf9ionqC/imPilCzmT0jcpCQmCiB1/7WtqP5vXK8WMl39EPZWE0S6e1Mpw==","signatures":[{"sig":"MEYCIQCHmmVZoaapIsSXGBR3kbD8ONQlkKdr0zOl70LO9Pw+VgIhAL8zwGJXHydrx9ZbdUQnBEhuLawX6usehxOU/9reG9bb","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aemi-cli%2faemi@0.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":5380},"gitHead":"08a7017d5d7ce08789fc905c6a2cf0bf00c9d320","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:d229ed39-fb07-4d1d-989a-052936de5c06"}},"repository":{"url":"git+https://github.com/KyongSik-Yoon/aemi.git","type":"git"},"_npmVersion":"11.11.0","description":"LLM CLI routing tool with Telegram and Discord bot integration","directories":{},"_nodeVersion":"22.22.0","_hasShrinkwrap":false,"optionalDependencies":{"@aemi-cli/linux-x64":"0.1.0","@aemi-cli/darwin-x64":"0.1.0","@aemi-cli/linux-arm64":"0.1.0","@aemi-cli/darwin-arm64":"0.1.0"},"_npmOperationalInternal":{"tmp":"tmp/aemi_0.1.0_1772114995918_0.6737312337371621","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@aemi-cli/aemi","version":"0.1.1","description":"LLM CLI routing tool with Telegram and Discord bot integration","license":"MIT","repository":{"type":"git","url":"git+https://github.com/KyongSik-Yoon/aemi.git"},"homepage":"https://www.jennifersoft.com","keywords":["cli","ai","llm","telegram","discord","claude","codex","gemini","opencode"],"bin":{"aemi":"bin/aemi"},"optionalDependencies":{"@aemi-cli/linux-x64":"0.1.1","@aemi-cli/linux-arm64":"0.1.1","@aemi-cli/darwin-x64":"0.1.1","@aemi-cli/darwin-arm64":"0.1.1"},"gitHead":"4264168d77e494dc6bfa7137d6c86bd9f7f990d7","_id":"@aemi-cli/aemi@0.1.1","bugs":{"url":"https://github.com/KyongSik-Yoon/aemi/issues"},"_nodeVersion":"22.22.0","_npmVersion":"11.11.0","dist":{"integrity":"sha512-SveGUBNRLRbDv9bsXqMGEkh3Iziih7vWIr0FmD6zgVXCULou009QSdpNCL+f5qYF2sqW6ATHxjsBHPF521kwUQ==","shasum":"b292a773550f1904fad49519d9243b7175ae7494","tarball":"https://registry.npmjs.org/@aemi-cli/aemi/-/aemi-0.1.1.tgz","fileCount":3,"unpackedSize":5983,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aemi-cli%2faemi@0.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCZMUncknApuqoXLMYogmcoAQ/ZFl0dgH4sxac5sMLyiQIgQ38i02/xZu9ep6W56VMRXsXul9VDsw0FE9YdEjvAnic="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:d229ed39-fb07-4d1d-989a-052936de5c06"}},"directories":{},"maintainers":[{"name":"sam1287","email":"sam1287@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/aemi_0.1.1_1772294940046_0.7754112731001999"},"_hasShrinkwrap":false}},"time":{"created":"2026-02-26T05:33:37.937Z","modified":"2026-02-28T16:09:00.496Z","0.0.6":"2026-02-26T05:33:38.166Z","0.0.7":"2026-02-26T06:57:06.484Z","0.0.12":"2026-02-26T07:44:04.723Z","0.0.13":"2026-02-26T08:29:23.937Z","0.0.14":"2026-02-26T12:38:03.207Z","0.1.0":"2026-02-26T14:09:56.064Z","0.1.1":"2026-02-28T16:09:00.194Z"},"bugs":{"url":"https://github.com/KyongSik-Yoon/aemi/issues"},"license":"MIT","homepage":"https://www.jennifersoft.com","keywords":["cli","ai","llm","telegram","discord","claude","codex","gemini","opencode"],"repository":{"type":"git","url":"git+https://github.com/KyongSik-Yoon/aemi.git"},"description":"LLM CLI routing tool with Telegram and Discord bot integration","maintainers":[{"name":"sam1287","email":"sam1287@gmail.com"}],"readme":"# AEMI\n\n[한국어](README_KO.md)\n\nAgent Mirror - AI agent routing tool with Telegram and Discord bot integration.\n\nA CLI tool that relays AI agent responses through Telegram/Discord bots.\n\n## Origin\n\nThis project is a fork of [kstost/cokacdir](https://github.com/kstost/cokacdir). It is based on the LLM CLI routing portion of the original project, with the TUI file manager removed to focus on bot relay functionality.\n\n## Features\n\n- **AI Agent Routing**: Query AI agents and receive responses via `--prompt`\n- **Telegram Bot**: Route AI agent through Telegram with `--routing telegram`\n- **Discord Bot**: Route AI agent through Discord with `--routing discord`\n- **Multi-Bot**: Run multiple Telegram bot tokens simultaneously\n- **Access Control**: `--chat-id` (Telegram) / `--channel-id` (Discord) required for routing\n\n## Usage\n\n```bash\n# Query Claude Code directly\naemi --prompt \"explain this code\"\n\n# Start Telegram bot server with Claude (--chat-id required)\naemi --agent claude --routing telegram --token <TOKEN> --chat-id <CHAT_ID>\n\n# Start Telegram bot server with Gemini\naemi --agent gemini --routing telegram --token <TOKEN> --chat-id <CHAT_ID>\n\n# Start Discord bot server (--channel-id required)\naemi --agent claude --routing discord --token <TOKEN> --channel-id <CHANNEL_ID>\n\n# Start Telegram bot server with Codex\naemi --agent codex --routing telegram --token <TOKEN> --chat-id <CHAT_ID>\n\n# Start Discord bot server with Gemini\naemi --agent gemini --routing discord --token <TOKEN> --channel-id <CHANNEL_ID>\n\n# Start Discord bot server with Codex\naemi --agent codex --routing discord --token <TOKEN> --channel-id <CHANNEL_ID>\n\n# Start Telegram bot server with OpenCode\naemi --agent opencode --routing telegram --token <TOKEN> --chat-id <CHAT_ID>\n\n# Start Discord bot server with OpenCode\naemi --agent opencode --routing discord --token <TOKEN> --channel-id <CHANNEL_ID>\n\n\n# Start Telegram bot server with oh-my-pi (omp)\naemi --agent oh-my-pi --routing telegram --token <TOKEN> --chat-id <CHAT_ID>\n\n# Start Discord bot server with oh-my-pi (omp)\naemi --agent oh-my-pi --routing discord --token <TOKEN> --channel-id <CHANNEL_ID>\n# Run multiple Telegram bots simultaneously\naemi --agent claude --routing telegram --token <TOKEN1> <TOKEN2> <TOKEN3> --chat-id <CHAT_ID>\n```\n\n## Installation\n\n### Prerequisites\n\n- Install the CLI tool for the agent you want to use (see [Agent Types](#agent-types))\n\n### Install via npm\n\n```bash\nnpm install -g @aemi-cli/aemi\n```\n\n### Build from source\n\n```bash\n# Clone\ngit clone https://github.com/KyongSik-Yoon/aemi.git\ncd aemi\n\n# Build\ncargo build --release\n\n# Binary location\n./target/release/aemi\n```\n\nSee [build_manual.md](build_manual.md) for detailed build instructions including cross-compilation.\n\n## Agent Types\n\n| Agent | CLI Flag | Status | Priority |\n|-------|----------|--------|----------|\n| [Claude Code](https://docs.anthropic.com/en/docs/claude-code) | `--agent claude` | Available | - |\n| [Gemini CLI](https://github.com/google-gemini/gemini-cli) | `--agent gemini` | Available | - |\n| [Codex CLI](https://github.com/openai/codex) | `--agent codex` | Available | - |\n| [OpenCode](https://opencode.ai) | `--agent opencode` | Available | - |\n| oh-my-pi (omp) | `--agent oh-my-pi` | Available | - |\n\n### Prerequisites per Agent\n\nEach agent requires its own CLI tool to be installed:\n\n- **Claude**: `npm install -g @anthropic-ai/claude-code`\n- **Gemini**: `npm install -g @google/gemini-cli`\n- **Codex**: `npm install -g @openai/codex`\n- **OpenCode**: `npm install -g opencode` (or see [opencode.ai](https://opencode.ai/docs/) for other methods)\n- **oh-my-pi**: install oh-my-pi and ensure `omp` is in your PATH (`omp --version`)\n\n## Slash Commands\n\nSee [docs/slash_commands.md](docs/slash_commands.md) for the full list of bot commands.\n\n## Debug Logging\n\nSet `AEMI_DEBUG=1` to write debug logs under `~/.aemi/debug/` (for example: `oh-my-pi.log`, `discord.log`, `telegram.log`).\n\n## Supported Platforms\n\n- macOS (Apple Silicon & Intel)\n- Linux (x86_64 & ARM64)\n\n## License\n\nMIT License\n\n## Disclaimer\n\nTHIS SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\n\nIN NO EVENT SHALL THE AUTHORS, COPYRIGHT HOLDERS, OR CONTRIBUTORS BE LIABLE FOR ANY CLAIM, DAMAGES, OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n**USE AT YOUR OWN RISK.**\n","readmeFilename":"README.md"}