Skip to content
This repository was archived by the owner on Oct 19, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/yuluo-yx/agentscope-go
go 1.26.4

require (
github.com/alibaba/OpenSandbox/sdks/sandbox/go v1.0.4
github.com/alibaba/OpenSandbox/sdks/sandbox/go v1.0.5
github.com/anthropics/anthropic-sdk-go v1.58.1
github.com/cloudevents/sdk-go/v2 v2.16.2
github.com/daytonaio/daytona/libs/sdk-go v0.190.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ cloud.google.com/go/compute/metadata v0.9.0/go.mod h1:E0bWwX5wTnLPedCKqk3pJmVgCB
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
github.com/Microsoft/go-winio v0.6.2 h1:F2VQgta7ecxGYO8k3ZZz3RS8fVIXVxONVUPlNERoyfY=
github.com/Microsoft/go-winio v0.6.2/go.mod h1:yd8OoFMLzJbo9gZq8j5qaps8bJ9aShtEA8Ipt1oGCvU=
github.com/alibaba/OpenSandbox/sdks/sandbox/go v1.0.4 h1:HBfEpY3rsNIznmcQeF92YyZ2zI1TpgVOMA2Rgih2Mmc=
github.com/alibaba/OpenSandbox/sdks/sandbox/go v1.0.4/go.mod h1:w0nIMCTL1L3oSS67ABFOdYxrezYQZhk01UtmKSi2UhA=
github.com/alibaba/OpenSandbox/sdks/sandbox/go v1.0.5 h1:7mZNkBh4VaI+i4VOTJIknLCBkbGizTkdHYqgcMqeDBM=
github.com/alibaba/OpenSandbox/sdks/sandbox/go v1.0.5/go.mod h1:w0nIMCTL1L3oSS67ABFOdYxrezYQZhk01UtmKSi2UhA=
github.com/anthropics/anthropic-sdk-go v1.58.1 h1:ReZ+Inn6WBDOXUGY64ue7zA1uDoW8FFSzMU/lViFd4E=
github.com/anthropics/anthropic-sdk-go v1.58.1/go.mod h1:3EfIfmFqxH6rbiLcIP4tPFyXL/IHakx2wDG4OU+TIEI=
github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5 h1:0CwZNZbxp69SHPdPJAN/hZIm0C4OItdklCFmMRWYpio=
Expand Down
4 changes: 3 additions & 1 deletion pkg/workspace/opensandbox/options_workspace_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,9 @@ func TestNewWorkspaceConstructsProviderSpec(t *testing.T) {
t.Fatalf("create options mismatch: %#v", spec)
}
requirements := bootstrapCommands([]string{"httpx==0.28.1"})[5]
if !slices.Contains(requirements, "httpx==0.28.1") || requirements[len(requirements)-1] != "httpx==0.28.1" {
if !slices.Contains(requirements, pythonMCP) ||
!slices.Contains(requirements, "httpx==0.28.1") ||
requirements[len(requirements)-1] != "httpx==0.28.1" {
t.Fatalf("bootstrap requirements mismatch: %#v", requirements)
}
agentScopeInstall := bootstrapCommands(nil)[6]
Expand Down
1 change: 1 addition & 0 deletions pkg/workspace/opensandbox/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ const (
defaultGatewayHome = "/root/.agentscope"
metadataWorkspaceID = "agentscope.workspace.id"
pythonAgentScope = "agentscope==2.0.4"
pythonMCP = "mcp<2"
)

// ResourceLimits aliases the OpenSandbox SDK resource limit map.
Expand Down
2 changes: 1 addition & 1 deletion pkg/workspace/opensandbox/workspace.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ func bootstrapCommands(extraRequirements []string) [][]string {
requirements := make([]string, 0, 8+len(extraRequirements))
requirements = append(requirements,
"uv", "pip", "install", "--python", gatewayPython,
"mcp", "uvicorn", "fastapi",
pythonMCP, "uvicorn", "fastapi",
)
requirements = append(requirements, extraRequirements...)
return [][]string{
Expand Down
Loading