# XWUISuperAgentInbox

Human-in-the-loop inbox for agent interrupts: tool-call argument diff, edit-before-approve, batch approve, resume run, and an audit trail.

LangChain Agent Inbox and Stripe agent-key approval rules make HITL a required control plane. SuperInbox unifies notifications; this shell specialises it for interrupt payloads without nesting a second SuperApp.

The constructor is `new XWUISuperAgentInbox(container, data, config)`. Navigation is the inherited SuperApp shell (`menuTree()` / `pages()` / `XWUISuperApp.merge()`). Every leaf composes an existing XWUI widget — a Super module that reimplements a grid or editor internally is a defect.

Autonomy defaults to `suggest` (GUIDE_16). The settings leaf shows the current mode. Model-proposed mutations go through `createXWUISuperAgentInboxLogic().propose()` / `applyProposal()` / `rejectProposal()` so an agent can drive the shell without the GUI. The pinned model is `qwen2.5:7b-instruct` unless `config.pinnedModel` overrides it.

## Basic Usage

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: Standalone Agent Inbox shell on the KPI dashboard.
```

## Arabic (RTL)

```example
file: examples/RtlArabic.ts
html: examples/RtlArabic.html
title: Arabic (RTL)
description: Deep-link under locale ar.
```

## Showcase

```example
file: examples/Showcase.ts
html: examples/Showcase.html
title: Showcase
description: Dashboard, collapsed deep-link, and RTL.
```

## Host extra page

```example
file: examples/WithExtraPage.ts
html: examples/WithExtraPage.html
title: Host extra page
description: extraTree / extraPages host leaf.
```

## Merged shell

```example
file: examples/MergedShell.ts
html: examples/MergedShell.html
title: Merged shell
description: XWUISuperApp.merge with XWUISuperHelpdesk.
```

```api
```
