beads/internal/httpclient
Julian Knutsen edafcbce1b
fix(httpclient): map Counter scope params and issues.count.scope capability (#7250)
#7210 (OSS HTTP client wire/encode layers) and #7199 (Counter scope —
ParentID, NoParent, ExcludeTypes, ExcludeStatus behind issues.count.scope)
merged back to back without a rebase, leaving main red on the client's
parity gates: the count encoder table left the four new CountRequest
members unclassified, the published parent/no_parent/exclude_type/
exclude_status parameters had no driving field, and the client's
capability vocabulary lacked the server's new behavior token.

- encode: countTable maps the four scope members as params, spelled as
  the server's countFilters decodes them; countFilters emits them.
- encode/skew: --no-parent / --exclude-status flag mapping for the
  unknown_parameter refusal.
- wire: CapCountScope mirrors httpapi.CapIssuesCountScope and joins
  behaviorCapabilities; the vocabulary test pins it by name and order.
- roundtrip: scope members round-trip through the server decoder
  (ParentID and NoParent in separate cases, as the role refuses both).

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-05 08:31:08 -07:00
..
encode fix(httpclient): map Counter scope params and issues.count.scope capability (#7250) 2026-10-05 08:31:08 -07:00
wire fix(httpclient): map Counter scope params and issues.count.scope capability (#7250) 2026-10-05 08:31:08 -07:00
backend_credential.go feat(httpclient): OSS HTTP client wire/encode layers (contributed from bd-enterprise under MIT) (#7210) 2026-10-05 02:58:34 -07:00
backend_credential_test.go feat(httpclient): OSS HTTP client wire/encode layers (contributed from bd-enterprise under MIT) (#7210) 2026-10-05 02:58:34 -07:00
BUILD.bazel feat(httpclient): OSS HTTP client wire/encode layers (contributed from bd-enterprise under MIT) (#7210) 2026-10-05 02:58:34 -07:00
ca.go feat(httpclient): OSS HTTP client wire/encode layers (contributed from bd-enterprise under MIT) (#7210) 2026-10-05 02:58:34 -07:00
ca_permissions_other.go feat(httpclient): OSS HTTP client wire/encode layers (contributed from bd-enterprise under MIT) (#7210) 2026-10-05 02:58:34 -07:00
ca_permissions_unix.go feat(httpclient): OSS HTTP client wire/encode layers (contributed from bd-enterprise under MIT) (#7210) 2026-10-05 02:58:34 -07:00
ca_permissions_unix_test.go feat(httpclient): OSS HTTP client wire/encode layers (contributed from bd-enterprise under MIT) (#7210) 2026-10-05 02:58:34 -07:00
ca_test.go feat(httpclient): OSS HTTP client wire/encode layers (contributed from bd-enterprise under MIT) (#7210) 2026-10-05 02:58:34 -07:00
ca_wrong_ca_test.go feat(httpclient): OSS HTTP client wire/encode layers (contributed from bd-enterprise under MIT) (#7210) 2026-10-05 02:58:34 -07:00
credential.go feat(httpclient): OSS HTTP client wire/encode layers (contributed from bd-enterprise under MIT) (#7210) 2026-10-05 02:58:34 -07:00
credential_source_test.go feat(httpclient): OSS HTTP client wire/encode layers (contributed from bd-enterprise under MIT) (#7210) 2026-10-05 02:58:34 -07:00
credential_test.go feat(httpclient): OSS HTTP client wire/encode layers (contributed from bd-enterprise under MIT) (#7210) 2026-10-05 02:58:34 -07:00
helpers_test.go feat(httpclient): OSS HTTP client wire/encode layers (contributed from bd-enterprise under MIT) (#7210) 2026-10-05 02:58:34 -07:00
target.go feat(httpclient): OSS HTTP client wire/encode layers (contributed from bd-enterprise under MIT) (#7210) 2026-10-05 02:58:34 -07:00
target_test.go feat(httpclient): OSS HTTP client wire/encode layers (contributed from bd-enterprise under MIT) (#7210) 2026-10-05 02:58:34 -07:00