Commit Graph

7 Commits

Author SHA1 Message Date
Jordan Ritter 25d8f6fb60 fix(showcase/shell-docs): guard ag-ui + reference filesystem reads against path traversal
The ag-ui and reference catch-all routes accept arbitrary URL segments
and feed them directly to path.join(CONTENT_DIR, slugPath) + fs.readFileSync.
A crafted request like /ag-ui/..%2F..%2Fsecrets decodes to a slugPath
that path.join happily resolves outside CONTENT_DIR, leaking arbitrary
files on disk.

Route every user-controlled filesystem access through the existing
safe-fs helpers (resolveWithinDir / safeReadFileSync) so escapes
return a safe miss and fall through to notFound().
2026-04-20 17:13:14 -07:00
Ran Shemtov a010b323d5 chore: use url from deployment when routing to agent (#2171) 2025-07-17 18:15:58 +02:00
Ran Shemtov f6fab281ae feat: langgraph cloud (#918)
* feat(runtime): rename remoteActions argument to remoteEndpoints

* feat(remote-actions): integrate langgraph-cloud as a remote action for CoAgents

* feat(runtime): rename remoteActions argument to remoteEndpoints

* feat(remote-actions): integrate langgraph-cloud as a remote action for CoAgents

* feat(sdk-js): add SDK for LangGraph JS support

---------

Co-authored-by: Markus Ecker <markus.ecker@gmail.com>
Co-authored-by: Ariel Weinberger <weinberger.ariel@gmail.com>
2024-11-27 13:31:58 +01:00
Ariel Weinberger e378e18019 Versioned & Local Deps for E2E Preview Envs (#933)
* initial

* update deploy

* test

* fix

* fix artifact sharing

* fix workflow

* push stuff

* dynamic trigger e2e

* add permissions

* trigger

* trigger

* trigger

* test ci

* update dir

* add dockerize.sh

* with shared artifacts

* with artifact upload

* test variant

* debug

* test again

* try-at-once

* one more try

* add dockerfiles

* test

* add turbo build

* progress

* fix build

* progress

* version

* test with follow up action

* progress

* progress

* update

* update

* update

* with provenance false

* multiple deployments

* fix issuez

* update

* update

* fix

* more envs

* deploy two

* oopdate

* better yaml

* unleash

* update infra

* fix + comment

* cleanup

* update deprecated Checkout version

* remove commented code

* WITH_LOCAL_DEPS arg for python

* update

* iteration

* change to poetry

* with deploy

* update

* iteration

* with pnpm

* with Pr number

* test matrix

* update workflow

* with app installation for ui

* consolidate dockerfiles

* more changes

* with monorepo install

* fix dockerfile path

* with linking

* with deploy step

* rewire

* fix type errors

* fix

* fix typo

* lots of good stuff

* with all demos

* better stuff

* array

* remove temp matrix in deploy

* better table

* update workflow name
2024-11-18 21:49:25 -06:00
Ariel Weinberger 93269f61ae feat(ci): parallel preview env deployments
* initial

* update deploy

* test

* fix

* fix artifact sharing

* fix workflow

* push stuff

* dynamic trigger e2e

* add permissions

* trigger

* trigger

* trigger

* test ci

* update dir

* add dockerize.sh

* with shared artifacts

* with artifact upload

* test variant

* debug

* test again

* try-at-once

* one more try

* add dockerfiles

* test

* add turbo build

* progress

* fix build

* progress

* version

* test with follow up action

* progress

* progress

* update

* update

* update

* with provenance false

* multiple deployments

* fix issuez

* update

* update

* fix

* more envs

* deploy two

* oopdate

* better yaml

* unleash

* update infra

* fix + comment

* cleanup

* update deprecated Checkout version

* remove commented code
2024-11-15 18:30:16 -06:00
Ariel Weinberger 0856fc6ffe chore(previews): better infra setup for flexibility (#915)
* test better infra setup

* fix project names

* fix table generation

* fix build secrets

* test fix aws account

* deploy fix attempt

* test

* test

* with print aws config

* get caller identity

* add -stack suffix

* test

* test

* fix ci

* fix build issue

* test

* test

* test

* test with ci fix

* set default account id cdk

* test fix

* set account explicitly

* update with env

* fix ci more

* add data test ids for canvas researcher demo

* prep for tests

* improvements

* add auto warmup for apps

* add more stuff to workflow

* add concurrency group

* only deploy two demos for now
2024-11-14 15:15:03 -06:00
Ariel Weinberger 342f39814c chore(previews): use local python sdk (#909)
* update dockerfile

* update cdk
2024-11-12 20:29:55 -06:00