Files
zeekay ea80dc3638 feat: Add new Dockerfiles and improve containerization
- Add main Dockerfile for production builds
- Add Dockerfile.runtime for secure code execution
- Add Dockerfile.runtime.fixed with improved configuration
- Include .dockerignore for build optimization
- Add integration documentation and publishing guides
- Update API and CLI components for better runtime support
- Enhance sandbox and container management features
2025-08-16 23:03:39 -05:00

30 lines
738 B
Go

// Copyright 2025 Hanzo Industries Inc.
// SPDX-License-Identifier: AGPL-3.0
package main
import (
"os"
cu "github.com/hanzoai/computer-use/pkg/computeruse"
"github.com/hanzoai/daemon/pkg/toolbox/computeruse"
"github.com/hanzoai/daemon/pkg/toolbox/computeruse/manager"
"github.com/hashicorp/go-hclog"
hc_plugin "github.com/hashicorp/go-plugin"
)
func main() {
logger := hclog.New(&hclog.LoggerOptions{
Level: hclog.Trace,
Output: os.Stderr,
JSONFormat: true,
})
hc_plugin.Serve(&hc_plugin.ServeConfig{
HandshakeConfig: manager.ComputerUseHandshakeConfig,
Plugins: map[string]hc_plugin.Plugin{
"runtime-computer-use": &computeruse.ComputerUsePlugin{Impl: &cu.ComputerUse{}},
},
Logger: logger,
})
}