open-swe/packages/shared/src/constants.ts
Brace Sproul 23418cab1c
feat: Custom events (#186)
* feat: Custom events

* implementing initialization component synced with initialize node

* handle irrelevant/skipped events

* fix positioning, add collapse, rm comments

* lint format

* fix tsconfig, refactor DRY eventEmit, collapse initialize-step

* auto collapse init-step after completion

* revert yarn lock to main

* formatting

* cr

* enable persisting init steps after stream

* format

* cr

* cr

* cr

---------

Co-authored-by: starmorph <dylan@starmorph.com>
2025-06-19 18:53:56 +00:00

11 lines
564 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-";