Commit Graph

15 Commits

Author SHA1 Message Date
Nikolay Edigaryev 6786a77075 Exec RPC: support "user[:group]" format with names or numeric IDs 2026-08-14 23:12:24 +01:00
dependabot[bot] 511504c2eb
Bump the all-updates group across 1 directory with 4 updates (#54)
* Bump the all-updates group across 1 directory with 4 updates

Bumps the all-updates group with 4 updates in the / directory: [golang.design/x/clipboard](https://github.com/golang-design/clipboard), [golang.org/x/sync](https://github.com/golang/sync), [golang.org/x/sys](https://github.com/golang/sys) and [google.golang.org/grpc](https://github.com/grpc/grpc-go).


Updates `golang.design/x/clipboard` from 0.7.1 to 0.8.0
- [Release notes](https://github.com/golang-design/clipboard/releases)
- [Commits](https://github.com/golang-design/clipboard/compare/v0.7.1...v0.8.0)

Updates `golang.org/x/sync` from 0.20.0 to 0.22.0
- [Commits](https://github.com/golang/sync/compare/v0.20.0...v0.22.0)

Updates `golang.org/x/sys` from 0.44.0 to 0.47.0
- [Commits](https://github.com/golang/sys/compare/v0.44.0...v0.47.0)

Updates `google.golang.org/grpc` from 1.81.0 to 1.83.0
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.81.0...v1.83.0)

---
updated-dependencies:
- dependency-name: golang.design/x/clipboard
  dependency-version: 0.8.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-updates
- dependency-name: golang.org/x/sync
  dependency-version: 0.22.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-updates
- dependency-name: golang.org/x/sys
  dependency-version: 0.47.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-updates
- dependency-name: google.golang.org/grpc
  dependency-version: 1.82.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-updates
...

Signed-off-by: dependabot[bot] <support@github.com>

* Adapt to clipboard watcher data

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nikolay Edigaryev <edi@openai.com>
2026-08-11 00:20:33 +01:00
edi-oai 721b111c0c
Exec as user, out-of-band signalling, and stdin closure when the request stream ends (#58)
* Support running exec commands as a selected user

* Move exec signaling out of band

* Close standard input when the exec request stream ends
2026-08-10 23:23:07 +01:00
edi-oai d4ebcbde41
Emit an explicit "Started" message and support sending signals (#56)
* Emit an explicit "Started" message and support sending signals

Co-authored-by: Fedor Korotkov <fkorotkov@openai.com>

* Run exec commands in dedicated process groups

* Disable wsl_v5 linter

* Clean up exec processes on stream failures

* Fix gosec linter error

* Wrap exec signals in a message

---------

Co-authored-by: Fedor Korotkov <fkorotkov@openai.com>
2026-08-10 21:08:27 +01:00
Fedor Kororkov e22f6fbeef
Add more options to `exec` (#47) 2026-05-04 15:36:20 -04:00
Nikolay Edigaryev 84fe9c48c1
Prevent goroutine leak and use an exponential backoff (#38) 2026-01-23 14:53:13 +01:00
Nikolay Edigaryev c166ad56ce
When running in daemon or agent mode, wait indefinitely until terminated (#33) 2025-12-11 16:07:12 +01:00
Nikolay Edigaryev da981a8760
Automatically install and start a systemd service (#21)
* Automatically install and start a systemd service

* Use Bash and set shell options to enable fail-fast behavior

* Ensure that we're performing disk manipulations on Tart 2.0.0 or newer
2025-08-04 16:33:59 +04:00
Nikolay Edigaryev 7262299ff0
Support Linux (#17) 2025-07-28 20:15:12 +04:00
Nikolay Edigaryev 43606ef0d8
tart-guest-agent --run-agent: make errors non-fatal (#15) 2025-06-19 19:12:30 +04:00
Nikolay Edigaryev 24335e9c8c
RPC: introduce ResolveIP() method to support "tart ip --resolver=agent" (#14)
* RPC: introduce Resolve() method to support "tart ip --resolver=agent"

* CI: fix GoReleaser installation

* Slightly reword Resolve() errors
2025-06-19 13:06:26 +04:00
Nikolay Edigaryev 50b54ac5c9
tart exec support: fix StdoutPipe() and StderrPipe() usage (#13) 2025-06-12 00:08:13 +04:00
Nikolay Edigaryev 9fac15bc9a
"tart exec" support (--run-rpc) and component groups (e.g. --run-daemon) (#10)
* "tart exec" support (--run-rpc) and component groups (e.g. --run-daemon)

* CI: check for lacking "buf generate" invocation

* CI: a task to run "buf push"

* defer ptmx.Close()

* Use getpeername(2) to get AF_VSOCK peer's identity

* Only call ptmx.Close() when pty.StartWithSize() succeeded
2025-05-19 18:53:16 +04:00
Nikolay Edigaryev dbffcb0b08
Implement SPICE vdagent with clipboard sharing functionality (#3)
* Implement SPICE vdagent clipboard copy-paste functionality

* Install libx11-dev

* Fix typo in "sucessfully"

* Simply print the capabilities as an integer
2025-04-29 18:21:28 +04:00
Nikolay Edigaryev 42e506671f
Automatic disk resizing for macOS VMs (#1)
* Automatic disk resizing for macOS VMs

* CI: install Golang via Homebrew

* diskresizer_test.go: fix fixture values for "diskSizeUnused"
2025-04-07 22:54:19 +04:00