Commit Graph

3 Commits

Author SHA1 Message Date
clawbot
46399de6dc refactor: remove dead doWithHeaders/extraHeaders code from CLI API client
All checks were successful
check / check (push) Successful in 4s
2026-03-10 10:09:40 -07:00
clawbot
82bff502fe refactor: move hashcash stamp from X-Hashcash header to JSON request body
Move the hashcash proof-of-work stamp from the X-Hashcash HTTP header
into the JSON request body as a 'hashcash' field on POST /api/v1/session.

Updated server handler, CLI client, SPA client, and documentation.
2026-03-10 10:08:02 -07:00
clawbot
a586e92dad refactor: move CLI code from cmd/ to internal/cli
Move all non-bootstrapping CLI code to internal/cli package.
cmd/neoirc-cli/main.go now contains only minimal bootstrapping
that calls cli.Run(). The App struct, UI, command handlers, poll
loop, and api client are now in internal/cli/ and internal/cli/api/.
2026-03-10 10:08:02 -07:00