- Add new gRPC endpoint for Heartbeat in the Yao service, enabling communication with the sandbox. - Update Makefile to include a dedicated unit test target for Sandbox V2, ensuring proper testing of new features. - Enhance CI workflows to incorporate Sandbox V2 tests, allowing for dual-mode testing (local and remote) with Docker. - Modify .gitignore to exclude specific Docker files while allowing shell scripts for Sandbox V2. - Update documentation in DESIGN.md to reflect the new architecture and capabilities of the Sandbox V2. These changes enhance the Yao SDK's functionality, providing improved support for sandbox operations and testing.
12 lines
265 B
Bash
Executable file
12 lines
265 B
Bash
Executable file
#!/bin/bash
|
|
# V2 base entrypoint — conditionally starts yao-grpc and claude-proxy
|
|
|
|
if [ -n "$YAO_GRPC_ADDR" ] && [ -n "$YAO_SANDBOX_ID" ]; then
|
|
tail -f /dev/null | yao-grpc serve &
|
|
fi
|
|
|
|
if [ -n "$CLAUDE_PROXY_UPSTREAM" ]; then
|
|
claude-proxy &
|
|
fi
|
|
|
|
exec "$@"
|