picoclaw/pkg
SiYue-ZO 0bbd8f081e fix: add DmScope field to SessionConfig to persist dm_scope setting
The frontend sends dm_scope as part of the session config, but the
backend SessionConfig struct lacked the corresponding field. Go's
encoding/json silently discards unknown fields, so the value was lost
on every PATCH request. Additionally, MarshalJSON only emitted the
session block when Dimensions or IdentityLinks were set, so even a
stored dm_scope would not appear in GET responses.

- Add DmScope string field with json tag 'dm_scope' to SessionConfig
- Update MarshalJSON condition to include session when DmScope is set
2026-06-09 10:48:17 +08:00
..
agent refactor: replace log.Printf/fmt.Printf with structured logger 2026-06-08 09:18:02 +08:00
audio refactor(models): unify provider metadata around backend catalog (#2896) 2026-05-20 11:50:34 +08:00
auth
bus fix(context): expose history tokens and remove leaked state files 2026-06-06 00:28:32 +08:00
channels fix: use %w instead of %v for error wrapping 2026-06-08 09:10:14 +08:00
commands fix(context): expose history tokens and remove leaked state files 2026-06-06 00:28:32 +08:00
config fix: add DmScope field to SessionConfig to persist dm_scope setting 2026-06-09 10:48:17 +08:00
constants
credential
cron feat(cron): add get and update actions to cron tool 2026-05-31 10:55:54 +08:00
devices
events
evolution fix: handle os.Getwd error in evolution skills_recall and drafts 2026-06-07 21:05:16 +08:00
fileutil
gateway Merge pull request #2719 from loafoe/feat/slack-webhook-channel 2026-05-11 16:22:27 +08:00
health
heartbeat refactor(runtime): drop non-session legacy context compatibility 2026-04-01 20:56:48 +08:00
identity
isolation fix: add ok checks for sync.Map LoadAndDelete/Load type assertions 2026-06-06 21:17:07 +08:00
logger unify all panic event to panic log file (#2250) 2026-04-01 23:26:49 +08:00
mcp fix: use %w instead of %v for error wrapping 2026-06-08 09:10:14 +08:00
media
memory fix(session): tighten main-session alias detection to exact 3-part format 2026-06-04 11:01:10 +08:00
migrate fix: check Close() error after io.Copy to writable files 2026-06-07 12:09:01 +08:00
netbind
pid fix(pid): verify process identity in singleton PID check 2026-06-04 20:04:51 +08:00
providers fix(config): use canonical Anthropic default model ID 2026-06-07 15:43:26 +08:00
routing
seahorse fix: type-switch capture, nil guard, LastInsertId error check 2026-06-06 16:32:14 +08:00
session fix(seahorse,session): preserve created_at across history bootstrap 2026-05-26 14:05:20 +08:00
skills feat: agent self evolution (#2847) 2026-05-11 16:13:27 +08:00
state refactor: replace log.Printf/fmt.Printf with structured logger 2026-06-08 09:18:02 +08:00
tokenizer
tools refactor: replace log.Printf/fmt.Printf with structured logger 2026-06-08 09:18:02 +08:00
updater fix: check Close() errors in updater extraction functions 2026-06-06 21:34:24 +08:00
utils fix: check Close() error after downloading media file 2026-06-07 11:53:38 +08:00
env.go