发布

  • WIP: monorepo support in CLI (#6028)

    frostbyte_neo 发布于 2025-09-04 19:29:11 +00:00

    This PR introduces the --build-command and --install-command
    arguments to langgraph build.

    --install-command is a custom install command. If passed, it will be
    run from wherever the langgraph build call was made, i.e. NOT where
    the langgraph.json file lives (except if these are the same place). This
    will override the detected install command that we previously used.

    --build-command is a custom build command. This will run from wherever
    the langgraph.json file lives, and will be done after the install has
    been run.

    You don't need to provide both. Just providing one will make the install
    (detected or supplied) run in the directory from where langgraph build was called and then have the build command (if one exists) run in the
    directory where langgraph.json exists.

    I think we should probably allow configuring the directories from which
    these commands get run, but I don't think this needs to be part of the
    MVP.


    Co-authored-by: William FH 13333726+hinthornw@users.noreply.github.com

    下载附件