fix: address 2025-11-25 conformance audit findings (#951)
* fix: interpret task ttl as milliseconds * fix: use text/plain for default text mime type * fix: include resource param in token refresh * test: align conformance prompt args with runner * ci: run server conformance suite on PRs * ci: build client bin and gate pending scenarios
This commit is contained in:
parent
8e44af499b
commit
bdf0c32e8c
2 changed files with 169 additions and 19 deletions
|
|
@ -297,7 +297,7 @@ impl ContentBlock {
|
|||
ContentBlock::Resource(EmbeddedResource::new(
|
||||
ResourceContents::TextResourceContents {
|
||||
uri: uri.into(),
|
||||
mime_type: Some("text".to_string()),
|
||||
mime_type: Some("text/plain".to_string()),
|
||||
text: content.into(),
|
||||
meta: None,
|
||||
},
|
||||
|
|
|
|||
|
|
@ -193,7 +193,7 @@ impl ResourceContents {
|
|||
pub fn text(text: impl Into<String>, uri: impl Into<String>) -> Self {
|
||||
Self::TextResourceContents {
|
||||
uri: uri.into(),
|
||||
mime_type: Some("text".into()),
|
||||
mime_type: Some("text/plain".into()),
|
||||
text: text.into(),
|
||||
meta: None,
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue