Add ARexx port for automation (#46) - #104
Merged
Merged
Conversation
A genuine public AMIAUTH.<n> RexxMsg port on AmiAuthGUI, separate from the private CLI-forwarding port: GETCODE, TIMELEFT, LIST, STATUS, LOCK, UNLOCK (always interactive - the passphrase never crosses the port), SHOW/HIDE (gated on running as a registered commodity), and QUIT. Standard RC convention (0/5/10/20) and a per-vault arexxgetcode setting (default on) to restrict the port to control-only commands. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01K5bAsAyoYLpkX3rWwrTBPh
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
AMIAUTH.<n>) toAmiAuthGUI, separate from the private CLI-forwarding port, so any ARexx script can drive AmiAuth:GETCODE,TIMELEFT,LIST,STATUS,LOCK,UNLOCK,SHOW,HIDE,QUIT.UNLOCKis always interactive, reusing the existing GUI passphrase requester.SHOW/HIDEare gated on running as a registered commodity, mirroring the existing close-gadget behaviour.RCconvention (0/5/10/20); newENVARC:AmiAuth/arexxgetcodesetting (default on) restricts the port to control-only commands, withGETCODE's RC deliberately identical whether locked or gated off.src/core/arexx_cmd.c) is host-unit-tested;src/amiga/arexx.cholds the Amiga-only RexxMsg mechanics.Test plan
make test— 388/388 host unit tests pass, including newtest_arexx_cmd.cmake m68k-docker/make gui-docker— both build cleanly, zero warningsmake gui-smoke— headless Copperline GUI render smoke test passesmake arexx-onhw-smoke— new on-target test: boots WB 3.2 under Copperline, launchesAmiAuthGUIresident, drives it via a realrx-run ARexx script (tests/copperline/arexx-probe.rexx) against the realAMIAUTH.1port, verified on real 68k emulationmake guide— AmigaGuide docs build (newARexx-Port.mdpage included)Co-Authored-By: Claude Sonnet 5 noreply@anthropic.com
https://claude.ai/code/session_01K5bAsAyoYLpkX3rWwrTBPh