{"_id":"@deemwario/mochallama","_rev":"5-80fd1ce740cc83fc0f2ea716294ac7b5","name":"@deemwario/mochallama","dist-tags":{"latest":"0.1.6"},"versions":{"0.1.1":{"name":"@deemwario/mochallama","version":"0.1.1","keywords":["llama","llama.cpp","llm","local-llm","cli","jvm","panama","ffm"],"author":{"name":"deemwar","email":"io@deemwar.com"},"license":"MIT","_id":"@deemwario/mochallama@0.1.1","maintainers":[{"name":"deemwarhq","email":"admin@deemwar.com"}],"homepage":"https://github.com/deemwar-products/mochallama","bugs":{"url":"https://github.com/deemwar-products/mochallama/issues"},"bin":{"mochallama":"bin/mochallama.js"},"dist":{"shasum":"d4e64ea804a1d9644e1e55f58c0a484c2a429fce","tarball":"https://registry.npmjs.org/@deemwario/mochallama/-/mochallama-0.1.1.tgz","fileCount":3,"integrity":"sha512-JxtcfTEbAfbO3lZ9DGngx8uWdyWFHfoxJQYnATMuoYv/lhhvQrpgKcU2vlKZDJx7d+ZqU/1JSHaIVYhkKHoUQA==","signatures":[{"sig":"MEUCIGJl0Hvva7RPyrc4UGrnzLzllwXW+z1CXQRzn7u2qvH7AiEA8B4k6rm/T76mn+42Zm0cJjuKKuP6k35+PDj0d/QW3sk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7738},"_from":"file:cli/npm/deemwario-mochallama-0.1.1.tgz","engines":{"node":">=16"},"_npmUser":{"name":"deemwarhq","email":"admin@deemwar.com"},"_resolved":"/Users/muthuishere/muthu/gitworkspace/local-llama-workspace/mochallama/cli/npm/deemwario-mochallama-0.1.1.tgz","_integrity":"sha512-JxtcfTEbAfbO3lZ9DGngx8uWdyWFHfoxJQYnATMuoYv/lhhvQrpgKcU2vlKZDJx7d+ZqU/1JSHaIVYhkKHoUQA==","repository":{"url":"git+https://github.com/deemwar-products/mochallama.git","type":"git"},"_npmVersion":"11.5.2","description":"Run a local llama.cpp LLM from the terminal — JVM-powered (Project Panama FFM), shipped as self-contained jlink runtime images. Cross-platform via per-platform optional dependencies.","directories":{},"_nodeVersion":"20.20.0","_hasShrinkwrap":false,"//platform-note":"This package carries NO native payload. The jlink runtime image (trimmed JRE + llama.cpp natives) lives in the per-platform optionalDependencies below — npm installs only the one matching the host os/cpu; bin/mochallama.js resolves it at runtime. Keep these versions pinned in lockstep with this package's version.","optionalDependencies":{"@deemwario/mochallama-linux-x64":"0.1.1","@deemwario/mochallama-win32-x64":"0.1.1","@deemwario/mochallama-darwin-x64":"0.1.1","@deemwario/mochallama-linux-arm64":"0.1.1","@deemwario/mochallama-darwin-arm64":"0.1.1"},"_npmOperationalInternal":{"tmp":"tmp/mochallama_0.1.1_1780495532299_0.5802653675705356","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@deemwario/mochallama","version":"0.1.5","keywords":["llama","llama.cpp","llm","local-llm","cli","jvm","panama","ffm"],"author":{"name":"deemwar","email":"io@deemwar.com"},"license":"MIT","_id":"@deemwario/mochallama@0.1.5","maintainers":[{"name":"deemwarhq","email":"admin@deemwar.com"}],"homepage":"https://github.com/deemwar-products/mochallama","bugs":{"url":"https://github.com/deemwar-products/mochallama/issues"},"bin":{"mochallama":"bin/mochallama.js"},"dist":{"shasum":"c8caf55933e8dfae57dedadec2d9fcaa751094c3","tarball":"https://registry.npmjs.org/@deemwario/mochallama/-/mochallama-0.1.5.tgz","fileCount":3,"integrity":"sha512-4ZGi/pcIo1+UFs/IOnf/TsRXk1WR2s3FKqy7cn56ykUnCi7QAY0s9KUVrMq6leHuCN5CfV8j7Ma/bkj8oUdzQQ==","signatures":[{"sig":"MEUCIA/GFPn9GHf/YQ9zbrCNJ8bppzaHl/52u3EaNba65SYTAiEA9EqrTBbKUhzyz6xkTKLYbi6pStRwLrCuZXN64BsjnTU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@deemwario%2fmochallama@0.1.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":7738},"_from":"file:cli/npm/deemwario-mochallama-0.1.5.tgz","engines":{"node":">=16"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:edd984d9-6fe8-4376-9113-67783767841c"}},"_resolved":"/home/runner/work/mochallama/mochallama/cli/npm/deemwario-mochallama-0.1.5.tgz","_integrity":"sha512-4ZGi/pcIo1+UFs/IOnf/TsRXk1WR2s3FKqy7cn56ykUnCi7QAY0s9KUVrMq6leHuCN5CfV8j7Ma/bkj8oUdzQQ==","repository":{"url":"git+https://github.com/deemwar-products/mochallama.git","type":"git"},"_npmVersion":"11.16.0","description":"Run a local llama.cpp LLM from the terminal — JVM-powered (Project Panama FFM), shipped as self-contained jlink runtime images. Cross-platform via per-platform optional dependencies.","directories":{},"_nodeVersion":"22.22.3","_hasShrinkwrap":false,"//platform-note":"This package carries NO native payload. The jlink runtime image (trimmed JRE + llama.cpp natives) lives in the per-platform optionalDependencies below — npm installs only the one matching the host os/cpu; bin/mochallama.js resolves it at runtime. Keep these versions pinned in lockstep with this package's version.","optionalDependencies":{"@deemwario/mochallama-linux-x64":"0.1.5","@deemwario/mochallama-win32-x64":"0.1.5","@deemwario/mochallama-darwin-x64":"0.1.5","@deemwario/mochallama-linux-arm64":"0.1.5","@deemwario/mochallama-darwin-arm64":"0.1.5"},"_npmOperationalInternal":{"tmp":"tmp/mochallama_0.1.5_1780593853128_0.9152217402748359","host":"s3://npm-registry-packages-npm-production"}},"0.1.6":{"name":"@deemwario/mochallama","version":"0.1.6","description":"Run a local llama.cpp LLM from the terminal — JVM-powered (Project Panama FFM), shipped as self-contained jlink runtime images. Cross-platform via per-platform optional dependencies.","bin":{"mochallama":"bin/mochallama.js"},"keywords":["llama","llama.cpp","llm","local-llm","cli","jvm","panama","ffm"],"author":{"name":"deemwar","email":"io@deemwar.com"},"license":"MIT","homepage":"https://github.com/deemwar-products/mochallama","repository":{"type":"git","url":"git+https://github.com/deemwar-products/mochallama.git"},"bugs":{"url":"https://github.com/deemwar-products/mochallama/issues"},"engines":{"node":">=16"},"//platform-note":"This package carries NO native payload. The jlink runtime image (trimmed JRE + llama.cpp natives) lives in the per-platform optionalDependencies below — npm installs only the one matching the host os/cpu; bin/mochallama.js resolves it at runtime. Keep these versions pinned in lockstep with this package's version.","optionalDependencies":{"@deemwario/mochallama-darwin-x64":"0.1.6","@deemwario/mochallama-darwin-arm64":"0.1.6","@deemwario/mochallama-linux-x64":"0.1.6","@deemwario/mochallama-linux-arm64":"0.1.6","@deemwario/mochallama-win32-x64":"0.1.6"},"_id":"@deemwario/mochallama@0.1.6","_integrity":"sha512-QUC1OpFN2qcUnLp/MoE9b+ftJSkpqf4+Bd4stqoT21/vJkSYuhkw5i6iW2QbBwVSu5pLmKSoIBzSKoeJ5KrsoQ==","_resolved":"/home/runner/work/mochallama/mochallama/cli/npm/deemwario-mochallama-0.1.6.tgz","_from":"file:cli/npm/deemwario-mochallama-0.1.6.tgz","_nodeVersion":"22.22.3","_npmVersion":"11.16.0","dist":{"integrity":"sha512-QUC1OpFN2qcUnLp/MoE9b+ftJSkpqf4+Bd4stqoT21/vJkSYuhkw5i6iW2QbBwVSu5pLmKSoIBzSKoeJ5KrsoQ==","shasum":"664b14e63ee36c525822f5581b97ecd645ce2df0","tarball":"https://registry.npmjs.org/@deemwario/mochallama/-/mochallama-0.1.6.tgz","fileCount":3,"unpackedSize":7738,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@deemwario%2fmochallama@0.1.6","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCup8SK/hot+u7mjT2Ig5RbgLyiPbcEvx4WYF3dRcHU2wIhAKQCBrzdlBFAXUOlaQ1oHnMpSNXOtR9Ftku/jk/+b8TF"}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:edd984d9-6fe8-4376-9113-67783767841c"}},"directories":{},"maintainers":[{"name":"deemwarhq","email":"admin@deemwar.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mochallama_0.1.6_1780633799650_0.7511440242244962"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-03T14:05:32.143Z","modified":"2026-06-05T04:30:00.044Z","0.1.0":"2026-06-03T12:52:10.012Z","0.1.1":"2026-06-03T14:05:32.453Z","0.1.5":"2026-06-04T17:24:13.264Z","0.1.6":"2026-06-05T04:29:59.773Z"},"bugs":{"url":"https://github.com/deemwar-products/mochallama/issues"},"author":{"name":"deemwar","email":"io@deemwar.com"},"license":"MIT","homepage":"https://github.com/deemwar-products/mochallama","keywords":["llama","llama.cpp","llm","local-llm","cli","jvm","panama","ffm"],"repository":{"type":"git","url":"git+https://github.com/deemwar-products/mochallama.git"},"description":"Run a local llama.cpp LLM from the terminal — JVM-powered (Project Panama FFM), shipped as self-contained jlink runtime images. Cross-platform via per-platform optional dependencies.","maintainers":[{"name":"deemwarhq","email":"admin@deemwar.com"}],"readme":"# @deemwario/mochallama\n\nRun a local [llama.cpp](https://github.com/ggerganov/llama.cpp) LLM from your\nterminal. The engine is JVM-powered — `mochallama-core` bridges llama.cpp via\n[Project Panama](https://openjdk.org/projects/panama/) (the Foreign Function &\nMemory API), no Python and no separate llama.cpp install required.\n\nThis npm package is a thin **cross-platform launcher**. The actual payload — a\nself-contained `jlink` runtime image (a trimmed JRE plus the native llama.cpp\nlibraries) — ships in a per-platform companion package that `npm` installs\nautomatically for your OS/CPU. You do **not** need a JDK installed to use it.\n\n## Platform support\n\nInstalls and runs on:\n\n| platform               | companion package                     |\n|------------------------|---------------------------------------|\n| macOS Intel (x64)      | `@deemwario/mochallama-darwin-x64`    |\n| macOS Apple Silicon    | `@deemwario/mochallama-darwin-arm64`  |\n| Linux (x64)            | `@deemwario/mochallama-linux-x64`     |\n| Windows (x64)          | `@deemwario/mochallama-win32-x64`     |\n\n`npm` pulls in only the companion matching your host (via each companion's\n`os`/`cpu` fields); the others are skipped. The launcher resolves the right one\nat runtime.\n\n## Install / run\n\n```sh\n# One-shot via npx — drops straight into a chat session.\nnpx @deemwario/mochallama\n\n# Or install globally.\nnpm i -g @deemwario/mochallama\n```\n\n## Usage\n\n```sh\n# Bare invocation starts chatting immediately (defaults to `chat`).\nmochallama\n\n# List available model profiles and whether they're cached locally.\nmochallama models\n\n# Chat with a specific model (downloads it on first use into ~/.chatbot_models).\nmochallama chat --model llama-3.2-1b\n\n# Help.\nmochallama --help\n```\n\n## How it works\n\n```\nmochallama (this npm bin)\n  └─ bin/mochallama.js                        # cross-platform launcher\n       └─ @deemwario/mochallama-<platform>    # resolved via os/cpu\n            └─ image/bin/mochallama           # jlink launcher (trimmed JRE + JVM args)\n                 └─ mochallama-core           # Panama FFM bridge → llama.cpp natives\n```\n\nThe jlink launcher runs with `--enable-native-access=ALL-UNNAMED` and\n`--add-modules=jdk.incubator.vector` baked in. A bare invocation with no\narguments forwards `chat` so you start talking to a model right away.\n\n## Building / publishing (maintainers)\n\nThe companion packages' `image/` directories are **not** committed — they're\nproduced by Gradle (`:cli:jlink`) and copied in before publishing. Locally\n(macOS x64), from the repo root:\n\n```sh\ntask cli:npm:pack      # builds the jlink image, stages it into the darwin-x64\n                       # companion + the main package, then `npm pack` both\n```\n\nAll four platforms' images are produced by the GitHub Actions release matrix on\na `v*` tag — see `.github/workflows/release.yml`.\n\n## License\n\nMIT\n","readmeFilename":"README.md"}