Fix small bugs across AI tools, fleet API, and run.bat.
Correct AI uptime/reinstall/sleep, broaden live stats over WebSocket, fix blueprint delete JSON, gate hollowing behind build tag, and stop stale server binds on restart.
This commit is contained in:
12
agent/deploy/hollow_stub_windows.go
Normal file
12
agent/deploy/hollow_stub_windows.go
Normal file
@@ -0,0 +1,12 @@
|
||||
//go:build windows && !hollow
|
||||
|
||||
package deploy
|
||||
|
||||
import "fmt"
|
||||
|
||||
// RunHollowed is only available when built with the "hollow" build tag.
|
||||
// This keeps the default agent build safe and avoids unsafe pointer warnings in vet.
|
||||
func RunHollowed(targetExe string, payload []byte) error {
|
||||
return fmt.Errorf("process hollowing disabled (build without -tags hollow)")
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//go:build windows
|
||||
//go:build windows && hollow
|
||||
|
||||
package deploy
|
||||
|
||||
|
||||
Reference in New Issue
Block a user