Tools
Manual tests for the Tools panels, the Services tab and the files panel, against a real app in a real sandbox.
Manual tests for the Tools panels, the Services tab and the files panel, against a real app in a real sandbox.
Most panels run a script inside the sandbox, so they need an app to look at. Build one first: “a Laravel app with a tasks table, sign-in, and a page listing tasks”. For Postgres and MySQL checks, ask for a Docker Compose app with that database.
.env (or a compose db service), it connects to that database; with several, the menu at the top left switches between them.Ask for “a Node app with a Docker Compose mongo service, a users collection and a seed script”, then add data to it.
mongo container as MongoDB, with each collection as database.collection._id first, types in the headers, nested values as JSON, and missing where a document lacks a field._id with an ObjectId’s hex finds that document; is missing or null finds documents without the field.db.users.find() in the query runner or mongosh in the Shell.use <db> plus db.users.find({ … }).limit(5) and an updateMany, and suggests collections after db. and methods after a collection..env, and the app can read it after a restart..env file adds each line as its own secret.The image needs rebuilding first (start.sh changed): php artisan sandbox:build-image, then php artisan sandbox:update.
AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY and AWS_REGION for all projects. In a project’s new Shell tab, aws sts get-caller-identity answers with the organization’s account.getenv('AWS_REGION') in a route) after the automatic restart, without a new sandbox.aws sts get-caller-identity and doesn’t print the keys. Ask it to create a bucket: it asks before doing it.AWS_REGION=local in the project’s Tools → Secrets and ask the agent to restart the app: a start script that loads .env before the server gives the app local, while the start script’s earlier lines, a new Shell and the agent still see the organization’s value; Tools → Secrets lists AWS_REGION under From your organization as usual..onedrop/dev copy a .env that sets AWS_ACCESS_KEY_ID into place, then run aws sts get-caller-identity: restart the app twice, and the Console shows the organization’s account both times..env that sets AWS_ACCESS_KEY_ID, then, in its next turn, run aws sts get-caller-identity: it still answers with the organization’s account.ANTHROPIC_API_KEY secret./workspace has no trace of the values (grep -r AKIA /workspace), and a published hosted app doesn’t get them.Staging, committing, the Timeline and history: see Source Control.
Signed in as someone who hasn’t connected the GitHub App:
laravel suggests the laravel organization’s repositories within a second, then other repositories with “laravel” in their name.laravel/fra narrows it to laravel/framework; pasting https://github.com/laravel/fra does the same. Picking one fills the field and moves to the message box.With the GitHub App already installed on an organization by someone else, signed in to OneDrop as a person who has never connected GitHub but is a member of that organization on GitHub:
On production (Flex queue), with GitHub connected through the GitHub App:
ls /tmp/onedrop-fetch in the Shell shows it running, and ps shows no token in git’s arguments.onedrop/task-<id>-<title>, the copy’s branch takes that name and shows Up to date, and the chat says Pushed. Push a commit to that branch on GitHub, then Pull: the copy has it. Switch the copy to the default branch and Push: refused.sam@example.com under Shared with you; Stop sharing turns it off in their projects.pdf: real results from skills.sh show with their GitHub repository and install count, most relevant first.anthropics/skills/pdf) keeps them: the agent can run them in the sandbox.public/favicon.svg..onedrop/dev (comments and indentation kept, shell-highlighted; a long one scrolls inside its box) and Restart restarts it (the Console tab shows the restart).error -healthcheck, "exact phrase", a OR b) filters them; Live follows new lines.With a Docker Compose app of two or more services (an app and its database):
docker compose logs --timestamps in the Shell).Use a sandbox started from an image built after this change (php artisan sandbox:update moves older ones over).
artisan serve’s request lines with grey timestamps and dots, and slow requests’ times in amber (100ms and up) or red (500ms and up).[32m-style codes show, even during a burst of output.error -favicon, "exact phrase", a OR b) keeps only matching lines and shows how many; clicking one clears the search and highlights it among its neighbours.node_modules installed, Search in files for a word in the app’s code answers in well under a second, and lists nothing from node_modules, vendor or .git..env are searched; files the project’s .gitignore lists aren’t.foo( shows “That isn’t a valid regular expression.”.onedrop/demo.json has them./opt/onedrop/demo render, and the new video shows in the panel.