sessionId: {{sessionId}}

currentModeId: default

Model

description: Sets this session's provider and model.

category: model

type: select

Permissions

description: The session permission preset: each choice bundles a sandbox mode and an approval policy.

category: mode

currentValue: danger-full-access

workspace-write

value: workspace-write

description: Write inside the workspace and permitted temporary directories; wider retries require approval.

danger-full-access

value: danger-full-access

description: Full file access without approval prompts.


method: session/update

goal

description: set or view the goal for a long-running task

plan

description: Enter or leave plan mode


Model

description: Sets this session's provider and model.

Permissions

currentValue: workspace-write


title: The sandbox already denied writing

updatedAt: {{updatedAt}}


type: text

text: The


text: user


text: wants


text: me


text: to


text: run


text: a


text: command


text: with


text: sand


text: box


text: missions


text: set


text: danger


text: -full


text: -access


text: no


text: prior


text: needed


text: justified


text: as


text: instructed


title: printf 'escalated\n' > /tmp/dsh-escalated.txt && cat /tmp/dsh-escalated.txt && rm /tmp/dsh-escalated.txt

kind: execute

type: content

text: Write file outside workspace and verify


status: completed

text:
```console
escalated
```


text: The


text: command


text: succeeded


text: it


text: wrote


text: the


text: file


text: read


text: back


text: output


text: es


text: cal


text: ated


text: and


text: removed


text: user


text: asked


text: me


text: to


text: reply


text: with


text: single


text: word


text: D


text: ONE


text: after


text: the


text: result