open, interoperable sandbox platform for agents and humans 📦 ✨
pocketenv.io
claude-code
atproto
sandbox
openclaw
agent
1import { client } from ".";
2import type { Preference } from "../types/preferences";
3
4export const putPreferences = (sandboxId: string, preferences: Preference[]) =>
5 client.post(
6 "/xrpc/io.pocketenv.sandbox.putPreferences",
7 { sandboxId, preferences },
8 {
9 headers: {
10 Authorization: `Bearer ${localStorage.getItem("token")}`,
11 },
12 },
13 );