Repository navigation
feat: move agent activity from the app menu to a log, and shorten the menu - #132
Merged
Merged
Conversation
Merged
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.
The menu was mostly status the user doesn't need there. Now it shows:
Recent Activity, All Activity, the socket path and Serve agents are gone from the menu. Serve agents stopped the server outright, which Quit already does; Pause All Input blocks input while still letting agents look, and Approved Agents blocks one agent. The runtime now appends every listed operation to
activity.login the state folder (0600, moved to.1past 1 MiB), one line each: time, operation, app and window, agent (pid), outcome. The app adds its own lines: start (version and socket), quit, pause/resume, the password setting, and allowing, refusing or forgetting an agent. Open Log opens the file with the default .log app (Console).Embedding:
desktop_tools_set_log(path)anddesktop_tools_log(message).desktop_tools_activityis unchanged, so Ace keeps working.Tests:
npm test81/81. The app and runtime build (unsigned,node dist/app.js --out build). Not run live: the dev app wasn't relaunched, so the live-check run on it isn't disturbed. To check: open the menu, run an agent action, Open Log.