mirror of
https://github.com/hansjone/oclaw.git
synced 2026-10-09 03:30:48 +08:00
Ship Cursor-only MCP admin and modular Admin/Chat UI.
Plugins/Skills install and edit via mcpServers JSON, with clearer row actions, soft reloads, and instant loading placeholders; also drop MCP market and harden related scheduler/logging/exec guards. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
2aff012b48
commit
f6f129931f
61 changed files with 18057 additions and 16327 deletions
|
|
@ -89,6 +89,13 @@ class AdminScheduledJobsApiTests(unittest.TestCase):
|
|||
runs = self.client.get(f"/admin/api/scheduled-jobs/{job_id}/runs", headers=headers)
|
||||
self.assertTrue(runs.json().get("ok"))
|
||||
|
||||
stats = self.client.get("/admin/api/scheduled-jobs/stats", headers=headers)
|
||||
self.assertEqual(stats.status_code, 200, stats.text)
|
||||
body = stats.json()
|
||||
self.assertTrue(body.get("ok"), body)
|
||||
self.assertIn("recent_fail_rate_pct", body)
|
||||
self.assertIn("jobs_by_status", body)
|
||||
|
||||
patch = self.client.patch(
|
||||
f"/admin/api/scheduled-jobs/{job_id}",
|
||||
headers=headers,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue