Skip to content

Releases

hkcli v0.4.1

Choose a tag to compare

@github-actions github-actions released this 24 Nov 10:48
43e9a7c

Fixed

  • A store now has at most one relay connection, also while hkcli sync starts, reconnects or
    stops. Whichever process has the connection open holds the new relay.lock in 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 sync also stops gracefully on SIGTERM (systemd, launchd, kill): it finishes the sends
    it took on and removes sync-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.json until it proves it belongs to the
    running sync, so a leftover file whose port another program took over learns nothing.
  • sync stops 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

  • send and chats mark-read report in their --json output how the message went out: via is
    sync (through the running sync) or own (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 with relay_error, which says the message may have gone out.
  • The sync event counts late messages: 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 use relay.lock.

Full changelog: https://github.com/vinaycodeaxe/hkcli/blob/main/CHANGELOG.md

hkcli v0.4.0

Choose a tag to compare

@github-actions github-actions released this 24 Nov 08:49
202a90a

Fixed

  • While hkcli sync runs, send, chats mark-read and doctor --connect on 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 in sync-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

Choose a tag to compare

@github-actions github-actions released this 23 Nov 05:49

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 install downloads 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

Choose a tag to compare

@github-actions github-actions released this 23 Nov 02:17

Added

  • OpenClaw channel: a plugin, @vinaycodeaxe/hkcli-channel on ClawHub, lets people chat with an
    OpenClaw agent on Hike, like OpenClaw's WhatsApp channel. The agent gets its own Hike number
    (linked with openclaw 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 --json message events now include chat_type (one_to_one or group), the
    message's @mentions (mentions) and mentions_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

Choose a tag to compare

@github-actions github-actions released this 22 Nov 12:46

First public release of hkcli.

Changed

  • Rewritten in Go and renamed from hikecli to hkcli. 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
    ~/.hikecli store 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. --once for a single
    catch-up, --json for one event per line.
  • Local SQLite store with full-text search (messages search), plus chats list,
    messages list, messages show and history backfill.
  • send text (with replies and stdin input) and send file.
  • media download, contacts list/refresh, groups list/info, chats mark-read and doctor.
  • --read-only / HKCLI_READONLY=1 to block anything that sends or changes data.
  • OpenClaw skill in skills/hkcli, and a documentation website built from docs/.

Full changelog: https://github.com/vinaycodeaxe/hkcli/blob/main/CHANGELOG.md