This commit is contained in:
Myfro9
2026-06-22 16:41:47 +08:00
20 changed files with 290 additions and 1498 deletions
+7 -1
View File
@@ -104,7 +104,13 @@ C:\Users\bowei\.claude\skills\langgraph-plan-review\scripts\manage_dev_server.ps
```powershell
C:\Users\bowei\.claude\skills\langgraph-plan-review\scripts\manage_dev_server.ps1 start
```
Wait for the "Ready" confirmation before proceeding. Open the Studio URL in a browser for real-time tracking.
Wait for the "[dev-server] Ready" line in the output. Then **immediately tell the user** in your text response:
- that the dev server is running, and
- the Studio URL: `https://smith.langchain.com/studio/?baseUrl=http://127.0.0.1:2024`
Example message to user:
> LangGraph dev server 已就绪。可在浏览器中打开 Studio 实时监控工作流:
> https://smith.langchain.com/studio/?baseUrl=http://127.0.0.1:2024
3. Start or resume the LangGraph app:
```powershell
# Use double backslashes (\\) in the JSON string so Windows paths are valid JSON.
+10 -5
View File
@@ -76,14 +76,17 @@ def resolve_codex() -> str:
exe = os.environ.get("CODEX_EXE", "")
if exe and Path(exe).exists():
return exe
# 2. PATH lookup
# 2. Known install paths (checked before PATH to avoid picking up wrong codex variant)
for candidate in [
r"C:\Users\bowei\miniconda3\envs\langgraph\codex.cmd",
r"C:\Users\bowei\.conda\envs\langgraph\codex.cmd",
]:
if Path(candidate).exists():
return candidate
# 3. PATH lookup fallback
found = shutil.which("codex") or shutil.which("codex.cmd")
if found:
return found
# 3. Hardcoded fallback for the original developer machine
fallback = r"C:\Users\bowei\.conda\envs\langgraph\codex.cmd"
if Path(fallback).exists():
return fallback
raise FileNotFoundError(
"Cannot find codex executable. Set CODEX_EXE environment variable or add codex to PATH."
)
@@ -128,6 +131,8 @@ def main() -> int:
command_args,
capture_output=True,
text=True,
encoding="utf-8",
errors="replace",
timeout=timeout,
input=prompt,
cwd=work_dir,