mirror of
https://github.com/Sea-Haven-Industries/open-swe.git
synced 2026-10-02 16:43:16 +00:00
* init auth stream --> middleware * minor cleanup * fix build * fix github token * minor format * handle access token + GH install key * add prompt to install GH app * fix build * fix gh install token passing * remove console logs * CR * CR * move dep, rm private key string replace * CR minor fixes * Update apps/web/src/providers/client.ts --------- Co-authored-by: Brace Sproul <braceasproul@gmail.com>
14 lines
757 B
TypeScript
14 lines
757 B
TypeScript
export const TIMEOUT_SEC = 60; // 1 minute
|
|
export const SANDBOX_ROOT_DIR = "/home/daytona";
|
|
export const SNAPSHOT_NAME = "daytonaio/langchain-open-swe:0.1.0";
|
|
export const PLAN_INTERRUPT_DELIMITER = ":::";
|
|
export const PLAN_INTERRUPT_ACTION_TITLE = "Approve/Edit Plan";
|
|
|
|
// Prefix the access token with `x-` so that it's included in requests to the LangGraph server.
|
|
export const GITHUB_TOKEN_COOKIE = "x-github-access-token";
|
|
export const GITHUB_INSTALLATION_TOKEN_COOKIE = "x-github-installation-token";
|
|
|
|
export const DO_NOT_RENDER_ID_PREFIX = "do-not-render-";
|
|
export const GITHUB_AUTH_STATE_COOKIE = "github_auth_state";
|
|
export const GITHUB_INSTALLATION_ID_COOKIE = "github_installation_id";
|
|
export const GITHUB_TOKEN_TYPE_COOKIE = "github_token_type";
|