picoclaw/pkg/config
wenjie dad5dcc30f
refactor(web): load channel configs without exposing secret values (#2277)
* refactor(web): load channel configs without exposing secret values

- add a dedicated channel config API that returns sanitized config plus
  configured secret metadata
- update channel config pages and forms to use secret presence for
  placeholders, validation, reset, and save behavior
- refresh the channel settings layout and clean up related i18n copy
- add backend tests for the new channel config endpoint

* fix(config): restore missing strings import
2026-04-02 19:09:33 +08:00
..
config.go refactor(web): load channel configs without exposing secret values (#2277) 2026-04-02 19:09:33 +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/tool read_file by lines (#1981) 2026-04-02 18:49:08 +08:00
defaults.go Feat/tool read_file by lines (#1981) 2026-04-02 18:49:08 +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