Skip to content

[UX] Web sessions should default to full CLI capability — restricted toolsets and extraArgs are silent traps #356

Closed

Description

@yrxeva

Problem

omp's full capability set is what you get in the CLI out of the box. In the web UI, however, sessions can silently spawn half-crippled, and the user finds out only after running for a long time — often never:

  1. Tool preset is a hidden trap. The composer's "Tool preset" option (none / default / full) lives inside the "+" menu, and the choice persists per-browser in localStorage (lib/tool-preset-preference.ts). Picking "default" — which sounds like the reasonable choice — actually spawns sessions with only read, bash, edit, write (PRESET_DEFAULT in lib/tool-presets.ts): no grep/glob, no task/subagents, no web_search, no eval, no lsp… The user gets zero feedback that 90% of omp's capability is gone.
  2. No indication of the active toolset. A running session shows nothing about which tools it actually has (agentSession.toolPresetNotice only says presets apply to new sessions). The agent itself can't know what it's missing — it never uses tools it wasn't given, so runs "succeed" while being silently degraded. From the outside everything looks normal.
  3. Full CLI parity needs hand-edited extra args. Beyond the preset, real CLI setups rely on launch flags (extensions, profiles, etc.). In the webapp these require launchConfig.extraArgs hand-edited into ~/.omp/agent/projects.json (lib/project-registry.ts) — an undocumented, invisible-to-UI mechanism most users will never find. Result: what runs under the webapp is quietly a feature-reduced omp compared to the same workspace in the CLI.

Proposal

Default to full capability; make any restriction loud.

  1. Default preset = full for new users/browsers, matching CLI behavior — the web session should launch with exactly what omp in a terminal would get, unless the user deliberately restricts it.
  2. Show the active toolset on every session — e.g. a small badge next to the model/context gauge ("tools: default (4)" / "tools: full"), clickable to change. If a session spawns with a restricted set, show a persistent banner: "This session runs with only 4 tools — subagents, search, eval and more are disabled. Restore full tools."
  3. Surface launch config in the UI. Per-workspace settings (tools / extensions / extra args / profile) should be editable in Settings or the workspace context menu — not hand-edited projects.json. If extraArgs exist for a workspace, show them in that panel so users can see what their sessions actually launch with.
  4. Optionally: on first spawn of a session with a non-full preset, one-time tooltip explaining the preset dropdown exists.

The mental model should be: the web workspace = the CLI, by default. Restrictions must be opt-in and visible — never a silent default that only power users discover after reading source code.

Environment: self-hosted ompweb v0.6.0 (checked against source at 4fdd5ea, 2026-10-30).

Activity

  1. kahme247 commented on Nov 23, 2026

    @kahme247
    Collaborator

    Verified against current main (head c93b5b13). All three numbered items are done:

    1. Default preset = full — lib/tool-preset-preference.ts: getPreferredToolPreset() returns "full" when nothing is stored, when storage is unavailable, or when the stored value is invalid. New browsers/sessions therefore launch with the full CLI toolset unless the user deliberately restricts it.
    2. Active toolset shown on every session — merged PR feat(ui): show the active toolset badge and restricted-session banner (refs #356) #566 (merge commit 08717b64). components/ChatInput.tsx:2297-2305 renders a tools: <preset> (<count>) badge by the context gauge, and a persistent banner while a session is known to run restricted ("This session runs with only 4 tools … Restore full tools"), covered by tests in components/ChatInput.test.mjs:505-539.
    3. Launch config surfaced in the UI — components/ProjectLaunchConfigDialog.tsx lets a workspace's profile, advisor flag and extraArgs be edited (no more hand-editing projects.json); the same fields exist in components/DirectoryPicker.tsx when adding a workspace, and existing extraArgs are shown in the sidebar (components/SessionSidebar-rows.tsx:302).

    Item 4 (a one-time tooltip on first restricted spawn) was marked optional in the proposal and is not implemented — the persistent banner in item 2 already makes any restriction loud, which is the proposal's core ask.

    Closing as implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions