anthropics / anthropics/claude-agent-sdk-typescript

How to use sandbox mode with SDK?

Aperta
#59 5 commenti 5 reazioni 1 assegnatario Rivendicata da @ollie-anthropic Vedi su GitHub
question
Lingua principale
Shell
Stelle
1.8k
Fork
226
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

based on https://www.anthropic.com/engineering/claude-code-sandboxing

Looks like sandboxing is available generally.

Based on https://code.claude.com/docs/en/sandboxing

Looks like /sandbox is available in the UI

How to enable it in the SDK? Is it just "IS_SANDBOX=1" env var, or is there additional config available? does it respect workingDirectory param?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.