Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ edition = "2024"
license = "BSL-1.0"

[workspace.dependencies]
# The Plugin SDK at contract 0.8, pinned to a commit. A Host loads this
# The Plugin SDK at contract 0.9, pinned to a commit. A Host loads this
# Plugin only when its Harness speaks the same contract version.
runvil-plugin-sdk = { version = "0.8.0", git = "https://github.com/cppalliance/runvil-plugin-api", rev = "f2d42cc41b0f28f81ac73193f21c2eacfafc11d9" }
runvil-plugin-sdk = { version = "0.9.0", git = "https://github.com/cppalliance/runvil-plugin-api", rev = "4c10a7d4d26c11e6a3055c6f6c4b5657f1bf2faa" }
# The HTTP client, over rustls with one crypto backend, aws-lc-rs. reqwest
# 0.13 has no feature that picks `ring`, and CI checks that `ring` stays
# out of the workspace's normal dependency graph. Root certificates come
Expand Down
2 changes: 1 addition & 1 deletion crates/plugin-web/src/web-tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ fn schema(pack: &PackRun<'_>, tool: &str) -> Value {
.iter()
.find(|listed| listed.name == tool)
.unwrap_or_else(|| panic!("the Pack lists a tool named {tool}"));
serde_json::from_str(&listed.parameters).expect("the schema is JSON")
listed.input_schema.clone()
}

/// What a served connection does once the request has arrived.
Expand Down
4 changes: 2 additions & 2 deletions crates/plugin-web/src/web.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,12 +131,12 @@ impl Pack for WebPack {
ToolInfo::new(
FETCH,
self.fetch.description(),
self.fetch.parameters_schema().to_string(),
self.fetch.parameters_schema(),
),
ToolInfo::new(
SEARCH,
self.search.description(),
self.search.parameters_schema().to_string(),
self.search.parameters_schema(),
),
]
}
Expand Down
Loading
Loading