Files
magpie/docs
yetone 52041e6bc5 gateway: a Team workspace's third-party refusal ("draw from extra usage", no "your") is redone as claude -p too (#5645, pidal20 on X)
Anthropic words the refusal "Third-party apps now draw from extra usage,
not plan limits. Ask your workspace admin to add more" on Team and
Enterprise. thirdPartyWords only matched the Pro/Max "your extra usage",
so an interactive turn was neither redone as -p nor recorded in
refusedTUI, and the raw 400 reached the caller every turn.

thirdPartyIn matches both wordings; its three uses (refusedTUI,
thirdPartySaid, which feeds redoable and thirdPartyRefused's message
selection) all go through it. Docs updated.

Run on mote: TestClaudeTUIThirdPartyTeamWording (reporter's literal text:
a TUI turn redone as print, and both thirdPartyRefused messages) red on
the old code (400 reached the caller), green now; go test -tags nogui
./internal/gateway ok; gofmt clean; go vet darwin, linux nogui, windows.
Not tried: a real Team account.
2026-11-11 20:23:13 +08:00
..