Repository navigation
feat!: add formatter content types - #223
Conversation
…il-safe copies Claude-Session-Id: 0a7b91db-2ce6-42a8-af78-b6db2cc134d2
…ery positionals Custom formatters can declare a media type with WithContentType. HTTP responses use it as Content-Type, and binary types skip ANSI stripping so PDFs are served byte for byte. Optional-id actions now publish their id as an optional query positional instead of a body field. This removes the phantom id from generated OpenAPI bodies and tool inputs. MCP tool calls route named positionals to args as HTTP does, and an action's own id flag keeps the name. Markdown tables render row details as numbered footnote notes linked from the row. Tasks no longer initialize progress to 0/100, so tasks that never report progress show no count or bar. A request body that sets the positional under two keys is now rejected instead of merging in random map order. BREAKING CHANGE: optional-id collection actions no longer declare `id` in the request body schema; send it as ?id= instead.
|
Caution Review failedThe pull request is closed. WalkthroughThe PR updates positional argument handling, custom formatter content types, HTML and stack-trace rendering, Markdown table details, entity command aliases, task progress defaults, and a repository ignore rule. ChangesPositional argument handling
HTML and stack-trace rendering
Markdown table details
Custom formatter content types
Entity CLI aliases
Task progress rendering
Repository ignore rule
Sequence Diagram(s)sequenceDiagram
participant Client
participant RPCExecutor
participant RPCOperation
participant Action
Client->>RPCExecutor: Submit query or body values
RPCExecutor->>RPCOperation: Check positional parameter metadata
RPCExecutor->>Action: Invoke with extracted positional value
Suggested reviewers: Priority: Change: Feature Merge Risk:
|
Gavel summary
Totals: 4 passed · 2 failed · 1 skipped · 2m17s Failing lintersoxlint — 3 violation(s)
tsc — error |
Gavel summary
Totals: 3554 passed · 0 failed · 63 skipped · 2m38s |
|
🎉 This PR is included in version 1.21.84 |
What
WithContentType, which HTTP responses use asContent-TypeWhy
idfrom generated OpenAPI bodies and tool inputsNotes
idin the request body schema. Send it as?id=instead.Summary by CodeRabbit