picoclaw/pkg
yuchou87 7577414761 fix(mcp): ensure proper environment variable override semantics
Use a map to merge environment variables with guaranteed override
behavior. Config variables (cfg.Env) now properly override file
variables (envFile), which in turn override parent process environment.

Previously, simply appending to a slice could result in duplicate
variables, and while most systems use the last occurrence, this
behavior is not guaranteed and could lead to unexpected results.

Addresses Copilot code review feedback.
2026-02-19 19:45:15 +08:00
..
agent improve(agent): clarify MCP tool registration logging 2026-02-19 19:31:13 +08:00
auth fix: codex agent 400 error (#102) 2026-02-16 11:46:02 +08:00
bus Prevent panic on publish after MessageBus is closed (#223) 2026-02-16 15:04:25 +08:00
channels feat(onebot): enhance OneBot channel (#192) 2026-02-19 14:39:35 +08:00
config style(config): use snake_case for EnvFile JSON field name 2026-02-19 19:43:48 +08:00
constants refactor: replace bool map with set-style map for internal channels (#472) 2026-02-19 11:48:17 +01:00
cron fix: tighten file perms and enforce Slack ACL checks (#186) 2026-02-16 16:06:39 +08:00
devices feat: add device hotplug event notifications (USB on Linux) 2026-02-14 17:03:04 +08:00
health Add health check endpoints (/health and /ready) for container orchestration liveness and readiness probes. (#104) 2026-02-16 11:53:11 +08:00
heartbeat * fix: heartbeat/service_test.go test failed 2026-02-13 22:19:18 +08:00
logger * First commit 2026-02-09 19:20:19 +08:00
mcp fix(mcp): ensure proper environment variable override semantics 2026-02-19 19:45:15 +08:00
migrate merge: sync upstream/main, wire WebSearch through factory 2026-02-18 11:09:18 -03:00
providers fix: also use max_completion_tokens for gpt5 era models (#445) 2026-02-19 01:29:34 +01:00
routing feat: add multi-agent routing with declarative bindings 2026-02-13 12:12:33 -03:00
session Feat issue 183 (#189) 2026-02-16 16:30:54 +08:00
skills dead code cleanup (#210) 2026-02-19 01:54:13 +01:00
state refactor(heartbeat): add configurable interval and channel-aware routing 2026-02-13 11:13:32 +08:00
tools chore: merge main branch into mcp-tools-support 2026-02-19 19:06:37 +08:00
utils Update pkg/utils/message.go 2026-02-18 23:26:39 +01:00
voice Remove duplicate truncate functions, reuse utils.Truncate 2026-02-12 00:46:48 +08:00