picoclaw/pkg
dj-oyu 97b9f48b0a refactor: reduce runLLMIteration complexity from 94 to 19
Extract callLLMWithRetry, cleanLLMResponse, executeToolCalls,
buildAssistantMessage, publishToolMedia, forceTextResponse as
separate methods. Add no-op defaults to iterationHooks eliminating
all nil checks in the main loop.

Cyclomatic complexity: 145 → 94 → 19.
Branching statements: 109 → 59 → 14.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 11:49:41 +09:00
..
agent refactor: reduce runLLMIteration complexity from 94 to 19 2026-03-13 11:49:41 +09:00
auth feat(auth): add Anthropic OAuth setup-token login (#926) 2026-03-06 19:58:23 +08:00
bus refactor: adopt upstream for add/add conflict files, extract fork code to _ext.go 2026-03-13 11:18:24 +09:00
channels refactor: adopt upstream for add/add conflict files, extract fork code to _ext.go 2026-03-13 11:18:24 +09:00
commands refactor: adopt upstream versions for docs, config, and low-diff Go files 2026-03-13 09:46:34 +09:00
config refactor: replace moderate-diff Go files with upstream, add fork extensions 2026-03-13 09:48:58 +09:00
constants refactor: replace bool map with set-style map for internal channels (#472) 2026-02-19 11:48:17 +01:00
cron feat(cron): add execution lifecycle logging (#1185) 2026-03-06 20:46:52 +08:00
devices Merge upstream/main: cobra CLI, channel refactoring, media store, reasoning support 2026-02-28 21:18:40 +09:00
fileutil Merge upstream/main: cobra CLI, channel refactoring, media store, reasoning support 2026-02-28 21:18:40 +09:00
git feat(task5): add worktree management commands and miniapp 2026-03-04 22:45:44 +09:00
health refactor: adopt upstream versions for docs, config, and low-diff Go files 2026-03-13 09:46:34 +09:00
heartbeat refactor: align import blocks with upstream for remaining conflict files 2026-03-13 09:51:12 +09:00
identity Merge upstream/main: cobra CLI, channel refactoring, media store, reasoning support 2026-02-28 21:18:40 +09:00
logger refactor: replace test files with upstream versions, extract fork-only tests 2026-03-13 03:18:54 +09:00
mcp Feat/add tool enable or disable configuration (#1071) 2026-03-05 14:53:26 +08:00
media Merge upstream/main: cobra CLI, channel refactoring, media store, reasoning support 2026-02-28 21:18:40 +09:00
memory refactor: adopt upstream versions for docs, config, and low-diff Go files 2026-03-13 09:46:34 +09:00
migrate refactor: replace moderate-diff Go files with upstream, add fork extensions 2026-03-13 09:48:58 +09:00
miniapp style: fix golangci-lint issues (whitespace, gofumpt, gci, golines) 2026-03-05 02:10:21 +09:00
orch style: fix lint errors and update test assertions for CI 2026-03-01 03:36:11 +09:00
providers refactor: adopt upstream for add/add conflict files, extract fork code to _ext.go 2026-03-13 11:18:24 +09:00
routing refactor: adopt upstream for add/add conflict files, extract fork code to _ext.go 2026-03-13 11:18:24 +09:00
session refactor: normalize blank lines to match upstream style 2026-03-13 03:34:44 +09:00
skills refactor: align import blocks with upstream for remaining conflict files 2026-03-13 09:51:12 +09:00
state refactor: replace moderate-diff Go files with upstream, add fork extensions 2026-03-13 09:48:58 +09:00
stats style: fix remaining lint errors (misspell, shadow, unused, etc.) 2026-03-01 00:22:14 +09:00
tailscale feat: add Telegram Mini App dashboard 2026-02-22 06:22:41 +09:00
tools refactor: adopt upstream for add/add conflict files, extract fork code to _ext.go 2026-03-13 11:18:24 +09:00
utils refactor: adopt upstream for add/add conflict files, extract fork code to _ext.go 2026-03-13 11:18:24 +09:00
voice Fix lint 2026-03-04 10:21:59 +00:00