Repository navigation
Releases
Releases · vinaycodeaxe/hkcli
hkcli v0.4.1
Fixed
- A store now has at most one relay connection, also while
hkcli syncstarts, reconnects or
stops. Whichever process has the connection open holds the newrelay.lockin the store; other
commands send through a running sync, or wait for the lock and then connect on their own. In
0.4.0 a command could still open a second connection next to a sync that was reconnecting,
starting, or slow to stop. - While sync waits to reconnect, commands send on a short-lived connection of their own instead
of waiting for it. hkcli syncalso stops gracefully on SIGTERM (systemd, launchd,kill): it finishes the sends
it took on and removessync-control.json. A second SIGTERM changes nothing; a second Ctrl+C
still stops it at once. Closing a connection takes at most about 30 seconds.- Commands send nothing to the address in
sync-control.jsonuntil it proves it belongs to the
running sync, so a leftover file whose port another program took over learns nothing. syncstops with an error when it cannot open the local endpoint other commands send through.- OpenClaw channel: the sync is asked to stop only once. A second stop request made hkcli quit
before it finished the replies it took on.
Added
sendandchats mark-readreport in their--jsonoutput how the message went out:viais
sync(through the running sync) orown(on a connection of its own).- Error code
relay_unavailable: hkcli could not get the store's relay connection (another hkcli
process kept it busy, or Hike's relay could not be reached). Nothing was sent, so trying again
is safe; the OpenClaw channel treats it that way. A send that cannot connect to Hike's relay
used to fail withrelay_error, which says the message may have gone out. - The
syncevent countslatemessages: messages sent while the connection was listening that
arrived only through the catch-up after it reconnected, a sign that Hike had stopped delivering
to it. The OpenClaw channel logs a warning for them.
Changed
- OpenClaw channel 0.2.0 needs hkcli 0.4.1 or newer (the 0.4.0 notes said 0.4.0).
- After upgrading hkcli, restart any running
hkcli sync(for OpenClaw, restart the Gateway or
the Hike channel). hkcli 0.4.0 and older do not userelay.lock.
Full changelog: https://github.com/vinaycodeaxe/hkcli/blob/main/CHANGELOG.md
hkcli v0.4.0
Fixed
- While
hkcli syncruns,send,chats mark-readanddoctor --connecton the same store go
out through its relay connection instead of opening a second one. After a second connection of
the account appeared, Hike could stop delivering messages to the running sync, so they stayed
at one tick until it reconnected. This hit the OpenClaw channel, whose replies use
hkcli send, mostly in groups. The sync records its local endpoint insync-control.json; when
it stops, it finishes the sends it took on before it disconnects. - OpenClaw channel 0.1.2: changes to bindings, agents and session settings now apply to the next
Hike message. Before, they needed a restart of the Hike channel.
Changed
- OpenClaw channel 0.2.0 needs hkcli 0.4.0 or newer.
Added
- Gotchas in the docs, the OpenClaw skill and the channel plugin's readme: logging out in the
Hike app ends hkcli's login, the app holds one number at a time, Hike limits SMS codes, and the
channel's PATH, group id, routing and slow-model pitfalls.
Full changelog: https://github.com/vinaycodeaxe/hkcli/blob/main/CHANGELOG.md
hkcli v0.3.1
Changed
- Updated dependencies, including the SQLite driver (modernc.org/sqlite 1.63.0, SQLite 3.54.1)
and golang.org/x/sys 0.50.0. Building from source now needs Go 1.26 or newer, the oldest Go
release still supported;go installdownloads it automatically when needed. Release
downloads are unaffected.
Security
- Includes the fix for GO-2026-5024 in golang.org/x/sys (Windows only). hkcli did not call the
affected function.
Full changelog: https://github.com/vinaycodeaxe/hkcli/blob/main/CHANGELOG.md
hkcli v0.3.0
Added
- OpenClaw channel: a plugin,
@vinaycodeaxe/hkcli-channelon ClawHub, lets people chat with an
OpenClaw agent on Hike, like OpenClaw's WhatsApp channel. The agent gets its own Hike number
(linked withopenclaw channels login --channel hike), new people are approved with pairing
codes, and in groups the agent answers when @mentioned. See the OpenClaw channel page. sync --jsonmessage events now includechat_type(one_to_oneorgroup), the
message's @mentions (mentions) andmentions_me, for bots and the OpenClaw channel.
Changed
- The OpenClaw skill no longer tells the agent that Hike cannot be a channel, and keeps it away
from the channel's hkcli store.
Full changelog: https://github.com/vinaycodeaxe/hkcli/blob/main/CHANGELOG.md
hkcli v0.2.0
First public release of hkcli.
Changed
- Rewritten in Go and renamed from
hikeclitohkcli. Each platform gets one small
binary with nothing else to install, and commands start about ten times faster. - Environment variables are now
HKCLI_*. The default store is~/.hkcli; an existing
~/.hikeclistore from the Python prototype is picked up automatically. - Install from the release downloads (macOS, Linux and Windows, amd64 and arm64) or with
go install github.com/vinaycodeaxe/hkcli/cmd/hkcli@latest.
Features
hkcli auth: link to Hike as a web device by scanning a QR code
(Settings > Web QR Login), or log in with an SMS code (--phone).hkcli sync: catch up over HTTP, then stay connected and save new messages, receipts,
reactions, edits and deletes as they arrive; reconnects on its own.--oncefor a single
catch-up,--jsonfor one event per line.- Local SQLite store with full-text search (
messages search), pluschats list,
messages list,messages showandhistory backfill. send text(with replies and stdin input) andsend file.media download,contacts list/refresh,groups list/info,chats mark-readanddoctor.--read-only/HKCLI_READONLY=1to block anything that sends or changes data.- OpenClaw skill in
skills/hkcli, and a documentation website built fromdocs/.
Full changelog: https://github.com/vinaycodeaxe/hkcli/blob/main/CHANGELOG.md