Skip to content
Draft
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
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ web/static-dist/*
# Local runtime data
manager-data/
docker/
!docker/
docker/*
!docker/codex-sandbox/
!docker/codex-sandbox/Dockerfile

# Generated embedded runtime workspaces
/internal/agent/embed/
Expand Down
4 changes: 2 additions & 2 deletions cli/agent/agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func (c cmd) runCreate(ctx context.Context, run *command.Context, args []string,
description := fs.String("description", "", "agent description")
image := fs.String("image", "", "agent image")
profile := fs.String("profile", "", "agent llm profile")
runtimeKind := fs.String("runtime", "", "agent runtime kind (for example: picoclaw_sandbox, openclaw_sandbox, codex)")
runtimeKind := fs.String("runtime", "", "agent runtime kind (for example: picoclaw_sandbox, openclaw_sandbox, codex_sandbox, codex)")
fromTemplate := fs.String("from-template", "", "hub template to use as creation defaults and workspace overlay")
fs.Usage = func() {
fmt.Fprintln(run.Stderr, "Create an agent.")
Expand All @@ -120,7 +120,7 @@ func (c cmd) runCreate(ctx context.Context, run *command.Context, args []string,
fmt.Fprintln(run.Stderr, " --description string agent description")
fmt.Fprintln(run.Stderr, " --image string agent image")
fmt.Fprintln(run.Stderr, " --profile string agent llm profile")
fmt.Fprintln(run.Stderr, " --runtime string agent runtime kind (for example: picoclaw_sandbox, openclaw_sandbox, codex)")
fmt.Fprintln(run.Stderr, " --runtime string agent runtime kind (for example: picoclaw_sandbox, openclaw_sandbox, codex_sandbox, codex)")
fmt.Fprintln(run.Stderr, " --from-template string hub template to use as creation defaults and workspace overlay")
}
if err := fs.Parse(args); err != nil {
Expand Down
2 changes: 1 addition & 1 deletion cli/app_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2092,7 +2092,7 @@ func TestAgentCreateSubcommandHelpShowsReplaceAndForceFlags(t *testing.T) {
"--description string agent description",
"--image string agent image",
"--profile string agent llm profile",
"--runtime string agent runtime kind (for example: picoclaw_sandbox, openclaw_sandbox, codex)",
"--runtime string agent runtime kind (for example: picoclaw_sandbox, openclaw_sandbox, codex_sandbox, codex)",
"--from-template string hub template to use as creation defaults and workspace overlay",
} {
if !strings.Contains(got, want) {
Expand Down
2 changes: 2 additions & 0 deletions cli/serve/serve.go
Original file line number Diff line number Diff line change
Expand Up @@ -697,6 +697,7 @@ func configureFeishuService(feishuSvc *feishu.Service, svc *agent.Service) {
}
runtimewiring.UpdatePicoClawFeishuProvider(svc, provider)
runtimewiring.UpdateOpenClawFeishuProvider(svc, provider)
runtimewiring.UpdateCodexSandboxFeishuProvider(svc, provider)
}

func preflightDefaultModelProvider(ctx context.Context, cfg config.Config) error {
Expand Down Expand Up @@ -988,6 +989,7 @@ func newAgentService(cfg config.Config, feishuProvider feishu.AgentCredentialPro
opts = append(opts,
runtimewiring.WithPicoClawSandboxRuntime(feishuProvider),
runtimewiring.WithOpenClawSandboxRuntime(feishuProvider),
runtimewiring.WithCodexSandboxRuntime(feishuProvider),
runtimewiring.WithCodexRuntime(),
agent.WithGatewayRuntime(bootstrapDefaults.ManagerRuntimeKind),
agent.WithBootstrapDefaultTemplates(cfg.Bootstrap),
Expand Down
Loading
Loading