fix environments demo (#696)

* fix

* fixes

* fixes

* update docs

* fixes

* fixes

* sandbox tokens

* better logging
This commit is contained in:
Chris Tate
2026-03-09 17:00:30 -05:00
committed by GitHub
parent c0a525c9e4
commit 5bf9fedd58
42 changed files with 1366 additions and 1850 deletions
@@ -0,0 +1,15 @@
"use server";
export type EnvStatus = {
sandbox: {
hasSnapshot: boolean;
};
};
export async function getEnvStatus(): Promise<EnvStatus> {
return {
sandbox: {
hasSnapshot: !!process.env.AGENT_BROWSER_SNAPSHOT_ID,
},
};
}