Hz_
d48a5622df
fix(go-agent): align Go DuckDuckGo component with canvas input form ( #16775 )
...
## Summary
- register the Go `DuckDuckGo` canvas component and restore its dynamic
input form metadata
- align the Go component input/output surface with the current canvas
usage for `query`, `channel`, and `top_n`
- fix DuckDuckGo news search in Go by fetching the required `vqd` token
before calling `news.js`, and add targeted regression tests
## Testing
Passed:
- `bash build.sh --test ./internal/agent/tool/... -run 'DuckDuckGo'`
- `bash build.sh --test ./internal/agent/component/... -run
'DuckDuckGo|TestVerifyRegistration_P1'`
- `bash build.sh --test ./internal/agent/component/... -run
'DuckDuckGo'`
Not run:
- frontend tests
- frontend build
- full Go test suite
<img width="1776" height="1092" alt="image"
src="https://github.com/user-attachments/assets/9f3f8e4b-f6b4-4915-b96c-3c5b8c7b8b30 "
/>
2026-07-10 10:11:13 +08:00
..
2026-06-17 13:24:03 +08:00
2026-06-17 13:24:03 +08:00
2026-07-05 20:53:43 +08:00
2026-07-06 13:29:10 +08:00
2026-07-03 13:25:14 +08:00
2026-07-06 13:29:10 +08:00
2026-06-17 13:24:03 +08:00
2026-06-30 16:28:48 +08:00
2026-06-30 16:28:48 +08:00
2026-06-29 09:45:16 +08:00
2026-06-29 09:45:16 +08:00
2026-07-09 16:38:42 +08:00
2026-06-22 11:58:29 +08:00
2026-07-06 19:15:09 +08:00
2026-06-17 13:24:03 +08:00
2026-06-22 11:58:29 +08:00
2026-06-22 11:58:29 +08:00
2026-06-17 13:24:03 +08:00
2026-06-17 13:24:03 +08:00
2026-06-17 13:24:03 +08:00
2026-06-12 22:58:28 +08:00
2026-06-22 11:58:29 +08:00
2026-06-17 13:24:03 +08:00
2026-07-06 10:58:40 +08:00
2026-06-17 13:24:03 +08:00
2026-07-10 10:11:13 +08:00
2026-06-12 22:58:28 +08:00
2026-06-17 13:24:03 +08:00
2026-06-17 13:24:03 +08:00
2026-06-17 13:24:03 +08:00
2026-07-10 10:11:13 +08:00
2026-07-09 18:58:55 +08:00
2026-06-17 13:24:03 +08:00
2026-06-17 13:24:03 +08:00
2026-07-09 16:38:42 +08:00
2026-06-30 16:28:48 +08:00
2026-06-12 22:58:28 +08:00
2026-06-22 11:58:29 +08:00
2026-06-22 11:58:29 +08:00
2026-06-23 16:21:46 +08:00
2026-06-22 11:58:29 +08:00
2026-07-02 10:56:38 +08:00
2026-06-17 13:24:03 +08:00
2026-07-07 11:12:38 +08:00
2026-07-06 10:58:40 +08:00
2026-06-17 13:24:03 +08:00
2026-06-22 11:58:29 +08:00
2026-06-17 13:24:03 +08:00
2026-06-17 13:24:03 +08:00
2026-06-17 13:24:03 +08:00
2026-06-17 13:24:03 +08:00
2026-06-17 13:24:03 +08:00
2026-06-23 16:21:46 +08:00
2026-07-07 11:12:38 +08:00
2026-06-12 22:58:28 +08:00
2026-06-29 09:45:16 +08:00
2026-07-05 20:43:52 +08:00
2026-06-17 13:24:03 +08:00
2026-06-17 13:24:03 +08:00
2026-06-22 11:58:29 +08:00
2026-07-05 20:43:52 +08:00
2026-06-17 13:24:03 +08:00
2026-06-17 13:24:03 +08:00
2026-07-05 20:43:52 +08:00
2026-07-02 13:41:53 +08:00
2026-06-22 11:58:29 +08:00
2026-06-17 13:24:03 +08:00
2026-06-22 11:58:29 +08:00
2026-06-22 11:58:29 +08:00
2026-06-17 13:24:03 +08:00
2026-06-17 13:24:03 +08:00
2026-06-30 16:28:48 +08:00
2026-06-30 16:28:48 +08:00
2026-07-09 16:38:42 +08:00
2026-06-17 13:24:03 +08:00
2026-07-09 18:58:55 +08:00
2026-07-10 10:11:13 +08:00
2026-06-17 13:24:03 +08:00
2026-07-08 19:54:29 +08:00
2026-06-12 22:58:28 +08:00
2026-06-22 11:58:29 +08:00
2026-06-12 22:58:28 +08:00
2026-06-12 22:58:28 +08:00
2026-07-10 10:11:13 +08:00
2026-06-17 13:24:03 +08:00