picoclaw/pkg
Jared Mahotiere a7bbda147e fix(auth): handle string interval in device-code login
planned-date: 2026-02-12

why: Device-code login was failing because the interval field can arrive as a quoted number, which breaks strict integer decoding and blocks login in shell-only environments.

what: Added flexible interval parsing for numeric or quoted values, wired LoginDeviceCode to the parser, printed the browser auth URL before waiting, and added parser tests for numeric, quoted, and invalid interval payloads.

verification: c:\projects\toolchains\go\bin\go.exe test ./pkg/auth -run Test(ParseDeviceCodeResponse|BuildAuthorizeURL)
2026-02-12 02:22:59 -05:00
..
agent fix(agent): use atomic.Bool for AgentLoop.running to prevent data race 2026-02-12 01:26:22 +08:00
auth fix(auth): handle string interval in device-code login 2026-02-12 02:22:59 -05:00
bus * First commit 2026-02-09 19:20:19 +08:00
channels refactor(channels): consolidate media handling and improve resource cleanup 2026-02-12 12:46:28 +08:00
config Merge branch 'main' into issue-31-feat-add-slack-channel-integration-with-socket-mode-threads-reactions-and-slash-commands 2026-02-12 11:59:05 +08:00
cron refactor(agent): improve code quality and restore summarization 2026-02-11 20:31:41 +08:00
heartbeat * First commit 2026-02-09 19:20:19 +08:00
logger * First commit 2026-02-09 19:20:19 +08:00
migrate feat(migrate): add picoclaw migrate command for OpenClaw workspace migration 2026-02-11 12:48:16 -06:00
providers chore(deps): upgrade openai-go from v1.12.0 to v3.21.0 2026-02-11 13:39:19 -06:00
session fix(cron): add one-time reminders and fix data paths to workspace 2026-02-11 20:31:41 +08:00
skills Add memory system, dynamic tool loading, and fix logging issues 2026-02-11 00:14:33 +08:00
tools refactor(tools): remove duplicate truncate functions and add docs 2026-02-11 20:31:41 +08:00
utils refactor(channels): consolidate media handling and improve resource cleanup 2026-02-12 12:46:28 +08:00
voice Remove duplicate truncate functions, reuse utils.Truncate 2026-02-12 00:46:48 +08:00