mirror of
https://github.com/hansjone/oclaw.git
synced 2026-10-09 03:23:23 +08:00
Drop dead admin/chat protocol fields and fix MCP specialist docs.
Align AIA_MCP_SPECIALISTS defaults, remove inherit/perm-ban/wire-effective noise from admin APIs, and stop echoing confirm_strategy/plan_agent_version on chat mode endpoints. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
454c841af7
commit
8fce428540
12 changed files with 47 additions and 169 deletions
|
|
@ -52,14 +52,15 @@ class AdminToolsSelfCheckApiTests(unittest.TestCase):
|
|||
summary = dict(body.get("summary") or {})
|
||||
self.assertIn("total_internal_tools", summary)
|
||||
self.assertIn("total_wired_tools", summary)
|
||||
self.assertIn("total_perm_ban_9999", summary)
|
||||
self.assertNotIn("total_perm_ban_9999", summary)
|
||||
items = list(body.get("items") or [])
|
||||
self.assertTrue(items)
|
||||
one = dict(items[0] if items else {})
|
||||
self.assertIn("role", one)
|
||||
self.assertIn("role_mode", one)
|
||||
self.assertIn("wired_count", one)
|
||||
self.assertIn("policy_perm_ban_9999", one)
|
||||
self.assertNotIn("policy_perm_ban_9999", one)
|
||||
self.assertNotIn("wire_policy_effective", one)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue