picoclaw/pkg
I Putu Eddy Irawan ee5b61884a fix: migration ModelName, reasoning_content, shell regex, loop boundary
1. migration.go: Set ModelName to userModel when provider matches so
   GetModelConfig(userModel) can find the entry. Previously the migration
   created entries with the provider name as ModelName (e.g. "moonshot")
   but lookup used the model name (e.g. "k2p5"), causing "model not found".

2. openai_compat/provider.go: Preserve reasoning_content in conversation
   history. Thinking models (e.g. Kimi K2, DeepSeek-R1) return
   reasoning_content which must be echoed back. Without it, APIs return
   400: "thinking is enabled but reasoning_content is missing".

3. shell.go: Fix deny pattern regex for format/mkfs/diskpart to use
   (?:^|\s) instead of \b to avoid matching --format flags.
   Fix path extraction regex to use submatch to avoid matching flags
   like -rf as paths.

4. loop.go: Adjust forceCompression mid-point to avoid splitting
   tool-call/result message pairs, which causes API errors.
2026-03-01 08:44:15 +07:00
..
agent fix: migration ModelName, reasoning_content, shell regex, loop boundary 2026-03-01 08:44:15 +07:00
auth feat: add picoclaw-launcher with web UI for configuration and gateway management (#904) 2026-02-28 18:38:38 +08:00
bus feat: Add reasoning_channel_id to communication platform configurations and improve message bus context cancellation handling. 2026-02-27 16:58:42 +08:00
channels fix(wecom): initialize context in constructors to prevent nil panic in tests 2026-02-28 21:45:08 +08:00
config fix: migration ModelName, reasoning_content, shell regex, loop boundary 2026-03-01 08:44:15 +07:00
constants refactor: replace bool map with set-style map for internal channels (#472) 2026-02-19 11:48:17 +01:00
cron style: fix gci import grouping in config, cron, and skills installer 2026-02-26 20:38:11 +08:00
devices refactor: cleanup dead code and turn on dead code detection in CI (#515) 2026-02-24 21:52:25 +08:00
fileutil refactor(pkg): move atomic file write to dedicated fileutil package 2026-02-24 23:57:13 +08:00
health refactor(channels): consolidate HTTP servers into shared server managed by Manager 2026-02-23 02:39:09 +08:00
heartbeat Merge branch 'sipeed:main' into reasoning-chnl 2026-02-27 14:50:14 +05:30
identity feat(identity): add unified user identity with canonical platform:id format 2026-02-23 06:56:48 +08:00
logger enable prealloc 2026-02-25 21:31:07 +11:00
media fix(media): separate import groups for gci linter 2026-02-26 22:45:59 +09:00
migrate Feat/update migrate (#910) 2026-02-28 19:59:17 +08:00
providers fix: migration ModelName, reasoning_content, shell regex, loop boundary 2026-03-01 08:44:15 +07:00
routing feat(identity): add unified user identity with canonical platform:id format 2026-02-23 06:56:48 +08:00
session feat(fmt): Run formatters 2026-02-18 21:48:23 +02:00
skills style: fix gci import grouping in config, cron, and skills installer 2026-02-26 20:38:11 +08:00
state refactor(pkg): move atomic file write to dedicated fileutil package 2026-02-24 23:57:13 +08:00
tools fix: migration ModelName, reasoning_content, shell regex, loop boundary 2026-03-01 08:44:15 +07:00
utils Update test case for unicode letters preservation 2026-02-27 20:20:58 +08:00
voice feat(linter): Fix govet linter 2026-02-20 22:35:16 +02:00