Remind users when a VM is still running after hanger vm ssh exits instead of silently dropping them back to the host shell.\n\nAttach a Firecracker vsock device to each VM, persist the host vsock path/CID,\nadd a new guest-side banger-vsock-pingd responder to the runtime bundle and both\nimage-build paths, and expose a vm.ping RPC that the CLI and TUI call after SSH\nreturns. Doctor and start/build preflight now validate the helper plus\n/dev/vhost-vsock so the feature fails early and clearly.\n\nValidated with go mod tidy, bash -n customize.sh, git diff --check, make build,\nand GOCACHE=/tmp/banger-gocache go test ./... outside the sandbox because the\ndaemon tests need real Unix/UDP sockets. Rebuild the image/rootfs used for new\nVMs so the guest ping service is present.
77 lines
3.4 KiB
Modula-2
77 lines
3.4 KiB
Modula-2
module banger
|
|
|
|
go 1.25.0
|
|
|
|
require (
|
|
github.com/charmbracelet/bubbles v0.14.0
|
|
github.com/charmbracelet/bubbletea v0.21.1-0.20220623121936-ca32c4c62873
|
|
github.com/charmbracelet/lipgloss v0.5.1-0.20220407020210-a86f21a0ae43
|
|
github.com/firecracker-microvm/firecracker-go-sdk v1.0.0
|
|
github.com/mattn/go-isatty v0.0.20
|
|
github.com/miekg/dns v1.1.72
|
|
github.com/pelletier/go-toml v1.9.5
|
|
github.com/sirupsen/logrus v1.9.4
|
|
github.com/spf13/cobra v1.8.1
|
|
golang.org/x/crypto v0.46.0
|
|
golang.org/x/sys v0.39.0
|
|
modernc.org/sqlite v1.38.2
|
|
)
|
|
|
|
require (
|
|
github.com/PuerkitoBio/purell v1.1.1 // indirect
|
|
github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 // indirect
|
|
github.com/asaskevich/govalidator v0.0.0-20210307081110-f21760c49a8d // indirect
|
|
github.com/atotto/clipboard v0.1.4 // indirect
|
|
github.com/containerd/console v1.0.3 // indirect
|
|
github.com/containerd/fifo v1.0.0 // indirect
|
|
github.com/containernetworking/cni v1.0.1 // indirect
|
|
github.com/containernetworking/plugins v1.0.1 // indirect
|
|
github.com/dustin/go-humanize v1.0.1 // indirect
|
|
github.com/go-openapi/analysis v0.21.2 // indirect
|
|
github.com/go-openapi/errors v0.20.2 // indirect
|
|
github.com/go-openapi/jsonpointer v0.19.5 // indirect
|
|
github.com/go-openapi/jsonreference v0.19.6 // indirect
|
|
github.com/go-openapi/loads v0.21.1 // indirect
|
|
github.com/go-openapi/runtime v0.24.0 // indirect
|
|
github.com/go-openapi/spec v0.20.4 // indirect
|
|
github.com/go-openapi/strfmt v0.21.2 // indirect
|
|
github.com/go-openapi/swag v0.21.1 // indirect
|
|
github.com/go-openapi/validate v0.22.0 // indirect
|
|
github.com/go-stack/stack v1.8.1 // indirect
|
|
github.com/google/uuid v1.6.0 // indirect
|
|
github.com/hashicorp/errwrap v1.0.0 // indirect
|
|
github.com/hashicorp/go-multierror v1.1.1 // indirect
|
|
github.com/inconshreveable/mousetrap v1.1.0 // indirect
|
|
github.com/josharian/intern v1.0.0 // indirect
|
|
github.com/lucasb-eyer/go-colorful v1.2.0 // indirect
|
|
github.com/mailru/easyjson v0.7.7 // indirect
|
|
github.com/mattn/go-runewidth v0.0.13 // indirect
|
|
github.com/mdlayher/socket v0.2.0 // indirect
|
|
github.com/mdlayher/vsock v1.1.1 // indirect
|
|
github.com/mitchellh/mapstructure v1.4.3 // indirect
|
|
github.com/muesli/ansi v0.0.0-20211018074035-2e021307bc4b // indirect
|
|
github.com/muesli/cancelreader v0.2.1 // indirect
|
|
github.com/muesli/reflow v0.3.0 // indirect
|
|
github.com/muesli/termenv v0.11.1-0.20220212125758-44cd13922739 // indirect
|
|
github.com/ncruces/go-strftime v0.1.9 // indirect
|
|
github.com/oklog/ulid v1.3.1 // indirect
|
|
github.com/opentracing/opentracing-go v1.2.0 // indirect
|
|
github.com/pkg/errors v0.9.1 // indirect
|
|
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
|
|
github.com/rivo/uniseg v0.2.0 // indirect
|
|
github.com/spf13/pflag v1.0.5 // indirect
|
|
github.com/vishvananda/netlink v1.1.1-0.20210330154013-f5de75959ad5 // indirect
|
|
github.com/vishvananda/netns v0.0.0-20210104183010-2eb08e3e575f // indirect
|
|
go.mongodb.org/mongo-driver v1.8.3 // indirect
|
|
golang.org/x/exp v0.0.0-20250620022241-b7579e27df2b // indirect
|
|
golang.org/x/mod v0.31.0 // indirect
|
|
golang.org/x/net v0.48.0 // indirect
|
|
golang.org/x/sync v0.19.0 // indirect
|
|
golang.org/x/term v0.38.0 // indirect
|
|
golang.org/x/text v0.32.0 // indirect
|
|
golang.org/x/tools v0.40.0 // indirect
|
|
gopkg.in/yaml.v2 v2.4.0 // indirect
|
|
modernc.org/libc v1.66.3 // indirect
|
|
modernc.org/mathutil v1.7.1 // indirect
|
|
modernc.org/memory v1.11.0 // indirect
|
|
)
|