chore: add mutagen prompting gRPC#118
Merged
Merged
Conversation
This was referenced Mar 21, 2025
Member
Author
f0a7bbd to
fa5aeb2
Compare
5ca8a83 to
c11bc07
Compare
fa5aeb2 to
7485c0f
Compare
c11bc07 to
1cac28d
Compare
7485c0f to
2fa9ac2
Compare
1cac28d to
015cd0c
Compare
2fa9ac2 to
a1e03d6
Compare
015cd0c to
6a40c66
Compare
a1e03d6 to
8a14aa3
Compare
6a40c66 to
257499f
Compare
8a14aa3 to
397007d
Compare
257499f to
12fa59f
Compare
397007d to
4fd43fd
Compare
12fa59f to
af6ba71
Compare
4fd43fd to
916bec7
Compare
af6ba71 to
ae06ba2
Compare
ethanndickson
commented
Mar 24, 2025
| private let mutagenDaemonSocket: URL | ||
|
|
||
| // Non-nil when the daemon is running | ||
| var client: DaemonClient? |
Member
Author
There was a problem hiding this comment.
Making this internal instead of private so we can split the daemon class up into multiple extensions, across multiple files.
| // TODO: we'll always accept prompts for now | ||
| try initResp.ensureValid(first: true, allowPrompts: allowPrompts) | ||
|
|
||
| Task.detached(priority: .background) { |
Member
Author
There was a problem hiding this comment.
This block is self-contained, and we're currently doing a lot on the main actor already. I was previously running into issues on startup with the VPN code getting starved by file sync code.
916bec7 to
1950779
Compare
ae06ba2 to
68dae7d
Compare
1950779 to
72ac481
Compare
68dae7d to
c7018ec
Compare
deansheather
approved these changes
Mar 25, 2025
72ac481 to
fb42817
Compare
c7018ec to
820bace
Compare
This was referenced Mar 26, 2025
fb42817 to
f25e09f
Compare
820bace to
93667f7
Compare
Member
Author
93667f7 to
77771a7
Compare
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.

Relates to #63.
The daemon requires this prompting communication channel be open during all requests.