37 Commits
Author SHA1 Message Date
Storm Dragon 702d9737bd Party popper emoji added. 2026-11-04 23:18:14 -05:00
Storm Dragon 69b94d14c6 More fixes for fenrir's self-voice and notification system. Make sure proper sockets can be accessed. 2026-11-04 22:51:18 -05:00
Storm Dragon c4e9cb4b75 New notification system added that can be used by scripts or programs that want to send notifications through Fenrir. Separate from self-voicing. 2026-11-04 22:12:47 -05:00
Storm Dragon 8eacae13c0 Version bump. 2026-11-03 13:25:01 -05:00
Storm Dragon dc945ff392 Attempt to make audio and speech discovery more robust. 2026-11-03 13:21:50 -05:00
Storm Dragon a27f274099 Sneaked in a few last minute bug fixes for table mode. 2026-10-30 18:56:58 -04:00
Storm Dragon 2c893dccb9 A little improvement for repeated character handling. 2026-10-30 12:25:31 -04:00
Storm Dragon 36736725ea Fixed bug where punctuation was skipped when occuring inside numbers. Also removed the end of sentence pause marker for punctuation inside words/numbers. 2026-10-30 11:54:15 -04:00
Storm Dragon 22f6df6af9 Attempt to make modifier key changes take affect when the dialogue closes. This means you don't have to restart Fenrir to apply them. 2026-10-29 18:27:20 -04:00
Storm Dragon 15e04aa8f8 Default laptop key set to capslock. Keys that can be set to fenrir key or script key selectable via checkbox. 2026-10-29 18:01:42 -04:00
Storm Dragon 47f18fdd28 More work on repeated string summarization. 2026-10-29 14:45:51 -04:00
Storm Dragon 3cf41e662c Attempt to improve the multicharacter detection code. 2026-10-29 14:01:30 -04:00
Storm Dragon 6fc3416a1b Preferences tab added for the internal UI. 2026-10-29 02:46:41 -04:00
Storm Dragon 07354d6ede More emojis! Because why not? 2026-10-29 00:39:04 -04:00
Storm Dragon 21cecd1e71 Fixed a couple sneaky bugs with prompts. 2026-10-28 23:27:05 -04:00
Storm Dragon c842a1e3db Fixed a bug with shared sockets. 2026-10-28 23:19:01 -04:00
Storm Dragon 7d82105d1d Fenrir can now create aliases for application overrides and put them in your clipboard. 2026-10-28 22:59:13 -04:00
Storm Dragon 7df1fa3ecb Better handle punctuation inside words like email addresses, urls, file paths, etc. 2026-10-28 20:52:18 -04:00
Storm Dragon 7c53cb39d4 Codex application override added. 2026-10-28 20:46:12 -04:00
Storm Dragon b887f6ea95 Improve sound initialization. 2026-10-28 18:17:06 -04:00
Storm Dragon 46dc520854 Initial attempt at making rogue work with application overrides. 2026-10-28 16:24:44 -04:00
Storm Dragon 088f706cb4 For speech rate in settings up/down move by 10, left/right move by 1. Easier to get settings right without having to hold doown the arrow keys lol. 2026-10-28 15:44:41 -04:00
Storm Dragon 6be06d26af Default rate was a bit slow even for being slow. Fixed to a more sane starting point. 2026-10-28 15:10:32 -04:00
Storm Dragon 3b7a44c224 Adjusted starting speech rate for new users. Fixed error that could happen when figuring out where to write changes. 2026-10-28 15:04:41 -04:00
deedra 92bf3025c5 Fall back to the system Speech Dispatcher socket
When using the default Speech Dispatcher address, try the user's Unix
socket first and then /run/speech-dispatcher/speechd.sock if the user
socket is missing or refuses the connection. This allows Fenrir to use
an existing system service before attempting to autospawn a user daemon.

Keep explicit Options.Socket, SPEECHD_ADDRESS, and SPEECHD_SOCKET
settings authoritative. Do not fall back for permission errors, TCP
connections, or a canceled context. If both sockets fail, preserve the
user socket's error so autospawn continues to target the user's endpoint.

After opening the data connection, use its selected Unix socket for the
control connection and disable further fallback there. Both connections
must belong to the same Speech Dispatcher server.

Add tests for address overrides, user-first selection, missing and stale
user sockets, permission errors, and preservation of the original error
when neither socket is available.

Validation:
- go test ./internal/speech -count=1 (GOPROXY=off): passed
- git diff --check: passed
- gofmt -l on all five changed Go files: no output

Live audible speech and physical keyboard behavior were not verified
as part of this commit.
2026-10-28 10:44:54 -07:00
deedra 55d550583c i screwed upMerge branch 'testing' of https://git.stormux.org/storm/fenrir into testing 2026-10-28 08:58:20 -07:00
deedra db6955f5b7 Improve sound server fallback and speech acknowledgement handling
Try the invoking user session followed by /run/pulse/native for sound
cues, while preserving an explicit PULSE_SERVER override. Resolve the
user socket from SUDO_UID, XDG_RUNTIME_DIR, or the current UID, and
document the fallback and Speech Dispatcher audio configuration.

Allow five seconds for Speech Dispatcher command acknowledgements so
large voice catalog queries can finish without premature failures.
Add regression coverage for socket selection and delayed replies.

Include cpu-usage.patch as a standalone patch artifact containing Python
remote registry permission and registration failure handling changes.
The patch is stored without applying it to the Python sources.

Validation: go test ./internal/sound ./internal/speech -count=1 passed
with GOCACHE=/tmp/cthulhu-go-cache and GOPROXY=off outside the sandbox
to permit local Unix sockets. source diff whitespace checks passed.
The staged patch has whitespace warnings from preserved blank context
lines; its contents are retained unchanged.
Live audio and keyboard behavior were not tested.
2026-10-28 08:57:12 -07:00
Storm Dragon ec32c6e4c4 Speech-dispatcher handling improved. 2026-10-28 11:34:57 -04:00
Storm Dragon 60abcc37d9 Application specific preferences saving now enabled. 2026-10-28 04:51:39 -04:00
Storm Dragon f88e5b81a2 Type searching added to applications menu. 2026-10-28 04:04:55 -04:00
Storm Dragon d3bcbbeacf Fixed volume and panning for ninjam override. 2026-10-28 03:47:57 -04:00
Storm Dragon b45f800489 Initial support for application specific overrides. 2026-10-28 03:31:33 -04:00
Storm Dragon 901fd58ba8 Fixed deletion checking bug that could cause misreading of the control+r prompt. 2026-10-28 01:24:03 -04:00
Storm Dragon 57799cd2eb Restore reading backspace if typing with autoread disabled. 2026-10-28 01:14:09 -04:00
Storm Dragon eaf450587c Standard fenrir backgrounding and -d flags restored. 2026-10-28 00:58:49 -04:00
Storm Dragon 4f5a875d0e Updated some documentation. 2026-10-28 00:45:23 -04:00
Storm Dragon 0e50de4c76 After commit c018f5fd29 Fenrir is being switched over to go. If you do not want to be part of the testing process, please switch to master. 2026-10-27 20:30:55 -04:00