Reimplement compose and add tiling windows
This commit is contained in:
@@ -42,12 +42,6 @@ CAPABILITY_SCOPES: tuple[CapabilityScope, ...] = (
|
||||
description="Handles .tasks list/show/complete/undo over gateway channels.",
|
||||
group="tasks",
|
||||
),
|
||||
CapabilityScope(
|
||||
key="gateway.approval",
|
||||
label="Gateway approval commands",
|
||||
description="Handles .approval/.codex/.claude approve/deny over gateway channels.",
|
||||
group="command",
|
||||
),
|
||||
CapabilityScope(
|
||||
key="tasks.submit",
|
||||
label="Task submissions from chat",
|
||||
@@ -69,20 +63,6 @@ CAPABILITY_SCOPES: tuple[CapabilityScope, ...] = (
|
||||
group="command",
|
||||
owner_path="/settings/command-routing/",
|
||||
),
|
||||
CapabilityScope(
|
||||
key="command.codex",
|
||||
label="Codex command",
|
||||
description="Controls Codex command execution.",
|
||||
group="agentic",
|
||||
owner_path="/settings/command-routing/",
|
||||
),
|
||||
CapabilityScope(
|
||||
key="command.claude",
|
||||
label="Claude command",
|
||||
description="Controls Claude command execution.",
|
||||
group="agentic",
|
||||
owner_path="/settings/command-routing/",
|
||||
),
|
||||
)
|
||||
|
||||
SCOPE_BY_KEY = {row.key: row for row in CAPABILITY_SCOPES}
|
||||
@@ -91,7 +71,6 @@ GROUP_LABELS: dict[str, str] = {
|
||||
"gateway": "Gateway",
|
||||
"tasks": "Tasks",
|
||||
"command": "Commands",
|
||||
"agentic": "Agentic",
|
||||
"other": "Other",
|
||||
}
|
||||
|
||||
@@ -108,4 +87,3 @@ def all_scope_keys(*, configurable_only: bool = False) -> list[str]:
|
||||
def scope_record(scope_key: str) -> CapabilityScope | None:
|
||||
key = str(scope_key or "").strip().lower()
|
||||
return SCOPE_BY_KEY.get(key)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user