mirror of
https://github.com/hansjone/oclaw.git
synced 2026-10-09 13:53:18 +08:00
Simplify oclaw product surface: drop niche specialists and admin noise.
Remove stock/image/video specialists, Gmail watcher, CocoLoop market, desktop packaging, and extra memory plugins; disable dynamic agents and hide Session Monitor / API grants / Admin Audit from nav. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
efa72df362
commit
cf31fd104d
290 changed files with 127 additions and 64576 deletions
|
|
@ -42,14 +42,14 @@ def normalize_interaction_mode(raw: Any) -> InteractionMode:
|
|||
|
||||
def normalize_requested_specialist(raw: Any) -> SpecialistId:
|
||||
specialist = str(raw or "").strip().lower()
|
||||
# Accept dynamic specialists discovered from workspaces (e.g. "stock").
|
||||
# Accept specialists discovered from workspaces; removed ones map to generalist.
|
||||
# Fallback to "generalist" when unknown.
|
||||
try:
|
||||
from runtime.agents.specialists import normalize_specialist_id
|
||||
|
||||
return normalize_specialist_id(specialist)
|
||||
except Exception:
|
||||
if specialist in {"ops", "memory", "generalist", "image"}:
|
||||
if specialist in {"ops", "memory", "generalist"}:
|
||||
return specialist
|
||||
return "generalist"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue