feat(clients): sessions+registry+optimize+armor: close gaps, loud list truncation, shared Gemini adapter
sessions: operations get/list/cancel/delete/wait for engine, session, memory and serving profile; servingProfiles CRUD. registry: ListResult with truncated flag, v1alpha twins, gateway/policy operations, authz IAM, deny policy update, boundary patch/bindings. optimize: make_gemini_model over models::VertexModel (DirectModel removed), generateSyntheticData, online evaluator operations, trace/log writers. armor: SecurityAdmin for all SCC v2 methods (attack exposure excluded), documented agent threat categories, floor settings fixed to location global after live run. check_discovery.py of all four enforce coverage. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -12,6 +12,8 @@ int main() {
|
||||
check(contains(page.headers.get("Content-Type"), "text/html"), "html");
|
||||
check(contains(page.body, "Agent sessions and memory"), "heading");
|
||||
check(contains(page.body, "/agent/sessions/memories/purge"), "lists the purge route");
|
||||
check(contains(page.body, "/agent/sessions/operations/wait"), "lists the server-side wait route");
|
||||
check(contains(page.body, "/agent/sessions/serving-profiles/list"), "lists serving profiles");
|
||||
check(contains(page.body, "viewport"), "mobile viewport meta from the base template");
|
||||
|
||||
auto status = f.client->get("/agent/sessions/status");
|
||||
@@ -20,6 +22,7 @@ int main() {
|
||||
check(contains(status.body, "\"configured\":true"), "configured with a credential");
|
||||
check(contains(status.body, "aiplatform v1beta1"), "names the API surface");
|
||||
check(contains(status.body, "\"max_top_k\":50"), "shows the top_k cap");
|
||||
check(contains(status.body, "\"max_server_wait_seconds\":60"), "shows the wait cap");
|
||||
check(!contains(status.body, kTestKey), "credential never shown");
|
||||
check(rig.mock->send_count() == 0, "side effect: GET pages never call Google");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user