picoclaw/pkg
Hoshina 8116bcb6bc refactor(media): add MediaStore for unified media file lifecycle management
Channels previously deleted downloaded media files via defer os.Remove,
racing with the async Agent consumer. Introduce MediaStore to decouple
file ownership: channels register files on download, Agent releases them
after processing via ReleaseAll(scope).

- New pkg/media with MediaStore interface + FileMediaStore implementation
- InboundMessage gains MediaScope field for lifecycle tracking
- BaseChannel gains SetMediaStore/GetMediaStore + BuildMediaScope helper
- Manager injects MediaStore into channels; AgentLoop releases on completion
- Telegram, Discord, Slack, OneBot, LINE channels migrated from defer
  os.Remove to store.Store() with media:// refs
2026-02-24 12:10:45 +08:00
..
agent refactor(media): add MediaStore for unified media file lifecycle management 2026-02-24 12:10:45 +08:00
auth feat(fmt): Fix formatting 2026-02-20 20:03:11 +02:00
bus refactor(media): add MediaStore for unified media file lifecycle management 2026-02-24 12:10:45 +08:00
channels refactor(media): add MediaStore for unified media file lifecycle management 2026-02-24 12:10:45 +08:00
config fix(security): change gateway default bind to 127.0.0.1 (#393) 2026-02-24 08:54:10 +11:00
constants refactor: replace bool map with set-style map for internal channels (#472) 2026-02-19 11:48:17 +01:00
cron feat(fmt): Run formatters 2026-02-18 21:48:23 +02:00
devices feat(fmt): Run formatters 2026-02-18 21:48:23 +02: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 feat(fmt): Run formatters 2026-02-18 21:48:23 +02:00
logger fix: align Docker Go version with go.mod and optimize logger (#596) 2026-02-24 08:52:16 +11:00
media refactor(media): add MediaStore for unified media file lifecycle management 2026-02-24 12:10:45 +08:00
migrate feat: add native Mistral AI provider support 2026-02-22 11:40:21 +04:00
providers fix: remove extra fields from ToolCall JSON serialization 2026-02-22 11:40:21 +04:00
routing feat: add multi-agent routing with declarative bindings 2026-02-13 12:12:33 -03:00
session feat(fmt): Run formatters 2026-02-18 21:48:23 +02:00
skills translate Chinese comments 2026-02-24 10:27:49 +11:00
state feat(fmt): Run formatters 2026-02-18 21:48:23 +02:00
tools fix(security): ensure custom deny patterns extend defaults instead of replacing them (#479) 2026-02-24 09:02:44 +11:00
utils refactor(channels): unify message splitting and add per-channel worker queues 2026-02-24 12:10:45 +08:00
voice feat(linter): Fix govet linter 2026-02-20 22:35:16 +02:00