picoclaw/pkg/config
Liu Yuan 7eba27c3c4
feat: add ContextManager abstraction for pluggable context management (#2203)
- Define ContextManager interface with Assemble/Compact/Ingest methods
- Implement legacyContextManager wrapping existing summarization logic
- Wire Assemble (before BuildMessages), Compact (post-turn + overflow),
  and Ingest (after message persistence) into agent loop
- Add ContextManager config field and factory registry with config passthrough
- Remove old maybeSummarize/summarizeSession/summarizeBatch/etc from loop.go
- All existing tests pass with default (legacy) config

Co-authored-by: Liu Yuan <namei.unix@gmail.com>
2026-04-02 00:08:15 +08:00
..
config.go feat: add ContextManager abstraction for pluggable context management (#2203) 2026-04-02 00:08:15 +08:00
config_old.go refactor config and add ModelConfig.Enabled 2026-03-30 14:01:20 +08:00
config_struct.go refactor config and add ModelConfig.Enabled 2026-03-30 14:01:20 +08:00
config_struct_test.go refactor config and add ModelConfig.Enabled 2026-03-30 14:01:20 +08:00
config_test.go feat(web): add service log level controls (#2227) 2026-03-31 20:32:42 +08:00
defaults.go feat(provider): add Venice AI support and update related documentation (#2238) 2026-04-01 23:50:29 +08:00
envkeys.go add pid file for gateway running and auth token for /reload and pico channel 2026-03-29 01:14:39 +08:00
example_security_usage.go Merge branch 'main' into fix-doc 2026-03-25 11:13:17 +08:00
gateway.go feat(web): add service log level controls (#2227) 2026-03-31 20:32:42 +08:00
migration.go refactor config and add ModelConfig.Enabled 2026-03-30 14:01:20 +08:00
migration_integration_test.go refactor config and add ModelConfig.Enabled 2026-03-30 14:01:20 +08:00
migration_test.go refactor: seperate security.yml for store keys 2026-03-22 01:55:00 +08:00
model_config_test.go refactor config and security to simplified the structure (#2068) 2026-03-28 00:03:34 +08:00
multikey_test.go refactor config and add ModelConfig.Enabled 2026-03-30 14:01:20 +08:00
security.go refactor config and add ModelConfig.Enabled 2026-03-30 14:01:20 +08:00
security_integration_test.go feat(web): protect launcher dashboard with token and SPA login (#1953) 2026-03-29 13:11:43 +08:00
security_test.go refactor config and add ModelConfig.Enabled 2026-03-30 14:01:20 +08:00
version.go feat:Modify the location where version is obtained, and insert version information into the context (#1300) 2026-03-10 17:42:05 +08:00
version_test.go feat:Modify the location where version is obtained, and insert version information into the context (#1300) 2026-03-10 17:42:05 +08:00