当前请求
{current ? current.tool : "没有待审批请求"}
{#if current}
{remaining}s
{/if}
{#if current}
{riskLabel(current.risk)}
{current.detail}
{:else}
队列已清空。用上方按钮模拟新的工具调用。
{/if}
排队 {queue.length}
{#each queue as item (item.id)}
-
{item.tool}
{riskLabel(item.risk)}
{/each}
永久允许
{state.policies.length}
{#each state.policies as tool (tool)}
{tool}
{/each}
最近决定
{#each state.history.slice(0, 6) as record (record.id)}
-
{record.tool}
{record.outcome}
{#if record.auto}自动{/if}
{/each}