pai 0.1.5

The DawonAI command-line helper. Coding tools run pai token for a day credential instead of storing an API key.

Install

macOS and Linux:

curl -fsSL https://ai.imdawon.com/pai/install.sh -o /tmp/pai-install.sh && sh /tmp/pai-install.sh

Windows (PowerShell):

irm https://ai.imdawon.com/pai/install.ps1 -OutFile $env:TEMP\pai-install.ps1; powershell -ExecutionPolicy Bypass -File $env:TEMP\pai-install.ps1

The installers download from latest/, check the signature on SHA256SUMS with the pai release key, check the file against SHA256SUMS, and refuse to install if either check fails. Read them first: install.sh, install.ps1.

Release key

Every release's SHA256SUMS is signed with this Ed25519 key, which is kept offline. The installers carry the same key, and so does pai's README on GitHub. Compare them.

-----BEGIN PUBLIC KEY-----
MCowBQYDK2VwAyEAxIp4fBpqtyz7ci9B/bkVLVkyx++yJ/mRzn+WdzkqPGY=
-----END PUBLIC KEY-----

Check a release by hand with OpenSSL 3: save the key as pai-release.pub, then run openssl pkeyutl -verify -pubin -inkey pai-release.pub -rawin -in SHA256SUMS -sigfile SHA256SUMS.sig.

Files

pai-aarch64-apple-darwinmacOS, Apple silicon3.9 MB195c9296c2fa4fa5ee8549385283756a8fa08ed8fc169ea8ecfe404a1a691a13
pai-x86_64-apple-darwinmacOS, Intel4.3 MB09d528d2288b523591691d46918b54836041904fbc63f44ed45cc9f898d9038e
pai-x86_64-unknown-linux-muslLinux, x86-64 (static)6.9 MBf8860adf105124d90b025e83f77a461d9a24e22901f411f79fb2d559ac76bb65
pai-aarch64-unknown-linux-muslLinux, ARM64 (static)5.8 MBecd889a0a23731449df19354f27498718cc7998143073889a4766758a124f386
pai-x86_64-pc-windows-msvc.exeWindows, x86-647.0 MB6af5fd625a4bcfacee616e2ad5d3317e3591d3a23b11222d55b778d6a66e5d6d
pai-aarch64-pc-windows-msvc.exeWindows, ARM646.0 MB1631654bfaab393ef3751c1ff0192ebaa6e173aeb09399ff84ebffce2750bace
dawonai-skill.zipAgent skill: unzip into your tool's skills folder4 KB6050823e96d9f440e4b150f9ac197ac63674839d18457efb0f89dba5516c5042
opencode-dawonai.tsOpenCode plugin: copy to ~/.config/opencode/plugins/dawonai.ts5 KB06cd21c41cd1b82ff867d9a5f06fc459751d97572a807d567986c28b6cd6d125
omp-dawonai.tsOMP extension: copy to ~/.omp/agent/extensions/dawonai.ts2 KBa74d59d77e577638bf23f4107999a5e3dab41a584ad4141789d6736cd80b57b9
SHA256SUMSChecksums for every file above894 bytes
SHA256SUMS.sigEd25519 signature of SHA256SUMS, for OpenSSL 364 bytes
SHA256SUMS.sshsigThe same signature in OpenSSH's format, for ssh-keygen306 bytes

Check a download yourself with shasum -a 256 <file> (macOS), sha256sum <file> (Linux) or Get-FileHash <file> (Windows). Each version stays at /pai/<version>/; checksums by version: 0.1.5 0.1.4 0.1.3 0.1.2 0.1.1 0.1.0.