Add gated agent update planning, preserved handoff and Linux worker ports
Rust development slice / linux (push) Failing after 6s

This commit is contained in:
2026-11-14 21:48:21 +01:00
parent dc9cb1b096
commit 1e89c4577f
82 changed files with 25052 additions and 69 deletions
+18 -1
View File
@@ -91,6 +91,10 @@ fn tools() -> Vec<Tool> {
"inventory.get_device",
"Read stored inventory of one authorized device.",
),
tool::<Devices>(
"updates.list_releases",
"Read immutable signed agent release metadata for the authorized tenant; never approves or applies an update.",
),
tool::<Tenant>(
"monitoring.get_health",
"Stored presence and health; unknown is not healthy.",
@@ -206,7 +210,20 @@ impl Adapter {
}
"operations.plan" => {
let i: Plan = parse(args)?;
crate::jobs::plan(&self.state, &p, i.tenant_id, i.input.resolve(i.tenant_id)?).await
crate::jobs::plan_request(&self.state, &p, i.tenant_id, i.input).await
}
"updates.list_releases" => {
let i: Devices = parse(args)?;
crate::agent_updates::list_for(
&self.state,
&p,
i.tenant_id,
crate::pagination::PageQuery {
cursor: i.cursor,
limit: i.limit,
},
)
.await
}
"operations.submit" => {
let i: Submit = parse(args)?;