-
Notifications
You must be signed in to change notification settings - Fork 42
Kernel Computer Operator API (v1) #52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
raiden-staging
wants to merge
70
commits into
kernel:main
Choose a base branch
from
raiden-staging:operator-api-dev
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 62 commits
Commits
Show all changes
70 commits
Select commit
Hold shift + click to select a range
e5477a2
Operator API for computer use [init]
raiden-staging a5975e3
Operator API for computer use [tests]
raiden-staging 3caacaa
Operator API for computer use [tests*]
raiden-staging 6a2da86
Operator API for computer use [env]
raiden-staging dc65e6b
Operator API for computer use [debug logs]
raiden-staging ae2350d
Operator API for computer use [DISPLAY edit for VM debugging]
raiden-staging cf84046
Operator API for computer use [dotenv]
raiden-staging e3568ec
Operator API for computer use [dotenv]
raiden-staging d7a616b
Operator API for computer use [dotenv*]
raiden-staging 3f73d48
Operator API for computer use [dotenv**]
raiden-staging 53e0720
Operator API for computer use [root .gitignore skips all .env]
raiden-staging ace39f2
Operator API for computer use [test works, prettyprint]
raiden-staging e59c6ba
Operator API for computer use [debug logs]
raiden-staging 1d77395
Operator API for computer use [recording test nodelete]
raiden-staging 22e9da3
Operator API for computer use [debug]
raiden-staging f6cddba
Operator API for computer use [test base url]
raiden-staging b11231c
Operator API for computer use [better debug]
raiden-staging 6590505
Operator API for computer use [better debug*]
raiden-staging 10f4c18
Operator API for computer use [new *-nodelete tests]
raiden-staging 041b6a4
Operator API for computer use [tests checklist]
raiden-staging ea31743
Operator API for computer use [added clipboard stream]
raiden-staging 8e8e8e8
Operator API for computer use [clipboard dotenv]
raiden-staging 185ad06
Operator API for computer use [clipboard fix]
raiden-staging 81ee3ac
Operator API for computer use [updated input, openapi matching routes…
raiden-staging e702791
Operator API for computer use [more tests]
raiden-staging 68de30c
Operator API for computer use [input:xdotool:env]
raiden-staging 97528c4
Operator API for computer use [input:xdotool:env*]
raiden-staging b0ee7f3
Operator API for computer use [input:xdotool:bin from env]
raiden-staging f4bab78
Operator API for computer use [input:test fix]
raiden-staging 4bf0592
Operator API for computer use [input:windows:tests update]
raiden-staging a186f15
Operator API for computer use [input:window:multiple ids for close]
raiden-staging ee7083c
Operator API for computer use [input:combo:tests update]
raiden-staging a6348e8
Operator API for computer use [macros:fix for xdotool]
raiden-staging 65ee3cd
Operator API for computer use [scripts fix]
raiden-staging 6cb3b3c
Operator API for computer use [debug:logs]
raiden-staging eddff67
Operator API [build + into Docker attempt]
raiden-staging ef69006
Operator API [build + into Docker attempt*]
raiden-staging 83130d0
Operator API [build + into Docker attempt**]
raiden-staging 05d008e
Operator API [build + into Docker attempt***]
raiden-staging d8fc567
Operator API [build + into Docker attempt****]
raiden-staging 8d0ec48
Operator API [build + into Docker attempt*****]
raiden-staging 89504d7
Operator API [build + into Docker attempt******]
raiden-staging cf21b7d
Operator API [build + into Docker attempt*******]
raiden-staging b9c283b
Operator API [build + into Docker attempt : removed socks5]
raiden-staging e529521
Operator API [build + into Docker attempt : lightweight test]
raiden-staging f1e5c89
Operator API [updated bin paths in env]
raiden-staging 04873ac
Operator API [test logs]
raiden-staging 307ee27
Operator API [tests list]
raiden-staging f1e6d65
Operator API [tests update]
raiden-staging 10584fb
Operator API [tests update*]
raiden-staging 13b6148
Operator API [tests update**]
raiden-staging 3b6f719
Operator API [operator api launch]
raiden-staging 1eacf42
Operator API [🙄🙄🙄]
raiden-staging 9607ed0
Operator API🙄]
raiden-staging 8e354c4
Operator API [port mapping , add WITH_KERNEL_IMAGES_API
raiden-staging 37d6eba
Operator API [port mapping , add WITH_KERNEL_IMAGES_API]
raiden-staging 125cf92
Operator API [inside of you there are 2 wolves : WITH_KERNEL_OPERATOR…
raiden-staging 1f4dc5a
Operator API [inside of you there are 2 wolves : WITH_KERNEL_OPERATOR…
raiden-staging babd04e
Operator API [inside of you there are 2 wolves : WITH_KERNEL_OPERATOR…
raiden-staging ee1f6bd
Operator API [inside of you there are 2 wolves : WITH_KERNEL_OPERATOR…
raiden-staging 974957a
Operator API [inside of you there are 2 wolves : WITH_KERNEL_OPERATOR…
raiden-staging cf89744
Operator API [inside of you there are 2 wolves : WITH_KERNEL_OPERATOR…
raiden-staging f04ccf8
nit loader
raiden-staging ab2bea7
Operator API [unikraft build]
raiden-staging 53f4678
Operator API [unikraft build debug? ; added chrome ext install route …
raiden-staging a350133
Operator API [unikraft build erofs -b fix ; debugging uinikraft with …
raiden-staging d9e9677
Operator API [works in unikraft 🤗 ; fix attempt for operator:chrome-e…
raiden-staging 3e030fc
Operator API [operator-api : remote chrome ext install fix attempt*]
raiden-staging d24b97a
Operator API [operator-api : remote chrome ext works ; added auto pin…
raiden-staging b92ca5e
Added Operator API (v1) 🎉 | Packaged with kernel-images 📦 | Tested de…
raiden-staging File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,43 @@ | ||
| # /etc/pulse/daemon.conf | ||
| # OPTIMIZED FOR LOW-LATENCY WEBRTC | ||
|
|
||
| # General settings | ||
| daemonize = no | ||
| fail = yes | ||
| allow-module-loading = yes | ||
| high-priority = no | ||
| realtime-scheduling = no | ||
| exit-idle-time = -1 | ||
|
|
||
| # Disable SHM which triggered errors in container | ||
| enable-shm = no | ||
| ; enable-memfd = yes | ||
|
|
||
| # Resource limits | ||
| rlimit-fsize = -1 | ||
| rlimit-data = -1 | ||
| rlimit-stack = -1 | ||
| rlimit-core = -1 | ||
| rlimit-as = -1 | ||
| rlimit-rss = -1 | ||
| rlimit-nproc = -1 | ||
| rlimit-nofile = 256 | ||
| rlimit-memlock = -1 | ||
| rlimit-locks = -1 | ||
| rlimit-sigpending = -1 | ||
| rlimit-msgqueue = -1 | ||
| rlimit-nice = 31 | ||
| rlimit-rtprio = 9 | ||
| rlimit-rttime = 200000 | ||
|
|
||
| # Low-latency audio settings | ||
| default-sample-format = s16le | ||
| default-sample-rate = 48000 | ||
| alternate-sample-rate = 44100 | ||
| default-sample-channels = 2 | ||
| default-channel-map = front-left,front-right | ||
| resample-method = speex-float-1 | ||
|
|
||
| # Critical changes for low-latency | ||
| default-fragments = 5 | ||
| default-fragment-size-msec = 5 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| <!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN" | ||
| "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> | ||
| <busconfig> | ||
| <!-- Allow any user to own the MPRIS service for Chromium and all its media player variants --> | ||
| <policy context="default"> | ||
| <!-- Standard Chromium MPRIS service --> | ||
| <allow own_prefix="org.mpris.MediaPlayer2.chromium"/> | ||
| <!-- Chromium Snap package variant --> | ||
| <allow own_prefix="org.mpris.MediaPlayer2.chromium_chromium"/> | ||
| <!-- Chromium Flatpak variant --> | ||
| <allow own_prefix="org.mpris.MediaPlayer2.org.chromium.Chromium"/> | ||
| <!-- Chromium-browser (Debian/Ubuntu) --> | ||
| <allow own_prefix="org.mpris.MediaPlayer2.chromium-browser"/> | ||
| <!-- Chromium (generic, fallback) --> | ||
| <allow own_prefix="org.mpris.MediaPlayer2.Chromium"/> | ||
| <!-- Chrome (in case of Chrome being used) --> | ||
| <allow own_prefix="org.mpris.MediaPlayer2.google-chrome"/> | ||
| <allow own_prefix="org.mpris.MediaPlayer2.Google-chrome"/> | ||
| <allow own_prefix="org.mpris.MediaPlayer2.chrome"/> | ||
| <!-- Chromium-based Edge (for completeness) --> | ||
| <allow own_prefix="org.mpris.MediaPlayer2.microsoft-edge"/> | ||
| <!-- Brave (another Chromium-based browser) --> | ||
| <allow own_prefix="org.mpris.MediaPlayer2.brave"/> | ||
| <!-- Vivaldi (another Chromium-based browser) --> | ||
| <allow own_prefix="org.mpris.MediaPlayer2.vivaldi"/> | ||
| </policy> | ||
| </busconfig> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| <!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN" | ||
| "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> | ||
| <busconfig> | ||
| <!-- | ||
| This file allows the user in the 'pulse', 'pulse-access', or 'audio' | ||
| groups to own the PulseAudio D-Bus services. | ||
| --> | ||
|
|
||
| <!-- Policy for 'pulse' group --> | ||
| <policy group="pulse"> | ||
| <allow own="org.PulseAudio1"/> | ||
| <allow own="org.pulseaudio.Server"/> | ||
| </policy> | ||
|
|
||
| <!-- Policy for 'pulse-access' group --> | ||
| <policy group="pulse-access"> | ||
| <allow own="org.PulseAudio1"/> | ||
| <allow own="org.pulseaudio.Server"/> | ||
| </policy> | ||
|
|
||
| <!-- Policy for 'audio' group --> | ||
| <policy group="audio"> | ||
| <allow own="org.PulseAudio1"/> | ||
| <allow own="org.pulseaudio.Server"/> | ||
| </policy> | ||
|
|
||
| </busconfig> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| #!/usr/bin/pulseaudio -nF | ||
|
|
||
| ### Create virtual output device sink | ||
| load-module module-null-sink sink_name=audio_output sink_properties=device.description="Virtual_Audio_Output" | ||
|
|
||
| ### Create virtual input device sink | ||
| load-module module-null-sink sink_name=audio_input sink_properties=device.description="Virtual_Audio_Input" | ||
|
|
||
| ### Create a virtual audio source linked up to the virtual input device | ||
| load-module module-virtual-source source_name=microphone master=audio_input.monitor source_properties=device.description="Virtual_Microphone" | ||
|
|
||
| ### Allow pulse audio to be accessed via a unix socket | ||
| ### Important to _not_ specify socket (socket=/tmp/runtime-kernel/pulse/native) | ||
| load-module module-native-protocol-unix auth-anonymous=1 | ||
|
|
||
| ### Make sure we always have a sink around, even if it is a null sink. | ||
| load-module module-always-sink |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing container cleanup before creation. The
DEBUG_BASHcase should includedocker rm -f "$NAME" 2>/dev/null || truebeforedocker run -ditto avoid conflicts if a container with the same name already exists, similar to the other cases below.Type: Logic | Severity: Medium