Skip to content

feat(devtools): add full option to list_cookies#13

Merged
yfe404 merged 1 commit intomainfrom
feat/list-cookies-full
Apr 14, 2026
Merged

feat(devtools): add full option to list_cookies#13
yfe404 merged 1 commit intomainfrom
feat/list-cookies-full

Conversation

@yfe404
Copy link
Copy Markdown
Owner

@yfe404 yfe404 commented Apr 14, 2026

Summary

  • interceptor_browser_list_cookies gets a full: boolean option (default false).
  • full: true → returns full cookie values under value (capped at HARD_VALUE_CAP_CHARS=20000), overrides value_max_chars.
  • full: false (default) → unchanged: value_preview truncated to value_max_chars (default 256).
  • Avoids round-tripping through interceptor_browser_get_cookie per entry when the caller wants full bodies.
  • Version bump 2.0.0 → 2.1.0.

Test plan

  • interceptor_browser_list_cookies with full: false returns value_preview as before.
  • interceptor_browser_list_cookies with full: true returns value field, values not truncated below 20000 chars.
  • Pagination (offset/limit) and filters (url_filter, domain_filter, name_filter) still work with full: true.

Return full cookie values (capped at HARD_VALUE_CAP_CHARS=20000) inline
under `value` instead of paging through `get_cookie` per entry. Default
stays preview-only (`value_preview`, 256 chars) to keep output bounded.

Bumps to 2.1.0.
@yfe404 yfe404 merged commit e5b5280 into main Apr 14, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant