Skip to content

Tuxistant 0.4.0, a preview

Pre-release
Pre-release

Choose a tag to compare

@BuenGenio BuenGenio released this 13 Nov 23:22
· 127 commits to main since this release

A preview. Nothing new here has been tried on the owner's own desktop yet: opening apps and Settings pages, the facts lookup's card and the Home Assistant matching have run only in tests and in evaluations against a real model.

Two changes reach what 0.3.0 already did:

  • The facts lookup, when the voice model picks it, now refuses some questions about the home and asks for a click on others, where 0.3.0 sent whatever it was given to Wikipedia and web search. A fact that shares a word with home questions, such as "How many planets are in our solar system?", now costs a click on those turns.
  • Home Assistant reads more of a long name, so a request that reached one device in 0.3.0 can now get "Say which one".

After updating, restart the daemon with systemctl --user restart tuxistant, or log out and back in. The extension is unchanged. For only what has been seen working, stay on 0.2.0.

  • Tux opens apps and Settings pages: "Open Firefox", "Open Spotify", "Open the Bluetooth settings", "Open the display settings". It opens only what is installed, and asks which one when several match. A shortcut that isn't from an installed package, such as one added in your home folder, shows a card first with the command it runs, and says when it starts over D-Bus, in a terminal or in another folder. One whose command has a field code other than those for files and addresses is left alone, as some, such as %i for its icon, are filled in by gio launch after the card. "Open Firefox", "Open Spotify" and the Settings pages reach it every time in the measured runs, and "Close Firefox" no longer opens Firefox. Not yet tried on a real desktop.
  • Home Assistant finds a device by any whole word in the first 255 characters of its name, not only the first 40. "Garage door" now finds a switch named "Shelly relay channel one outside wall garage door", and the words of "(9 more characters)" no longer find anything. Areas work the same way. What Tux says and the card still show the name cut to 40 characters.
  • The facts lookup now refuses questions about the music playing, timers and the home that its word filter knows by their shape, such as "Is the front door locked?", "How much longer is the pasta?" or "Is there a timer set?", on every turn. A question with a word that is often about the home but also used in facts, such as thermostat, timer, countdown, our or locked, in a shape the filter can't tell from a fact, such as "Set the thermostat to 21" or "Who invented the egg timer?", now shows a card first. It says which words would be sent: to Wikipedia, and to your search server if Wikipedia doesn't answer. In a conversation that has already read something private, the usual card for reaching the internet is shown instead. Nothing leaves without a click. In such a conversation, a sum, a question the lookup refuses, or any question while looking things up is turned off now gets no card, as nothing leaves your own server. Before, on a turn from the shortcut or a hold turn not sorted as a fact, the voice model could send either kind to Wikipedia and web search with no click. A private question with none of these words, such as "Who's at the door?", can still go there on those turns. Where the shapes can't tell the two apart, the lookup refuses, so a few facts, such as "Is the Large Hadron Collider still running?" or "Who left on the Mayflower?", are never looked up. Facts that share those words, such as "Who invented the garage door opener?", "How does the heating element in a kettle work?" or "Who sang Sweet Child O' Mine?", get the card and are looked up after the click.
  • On an Fn hold, every word 0.3.0 kept from the sorter still keeps a question from it, such as my, our, thermostat, timer, countdown, how much longer, locked or front door, so those questions go the normal way, as in 0.3.0. So do facts with those words, such as "How many planets are in our solar system?" or "Who sang My Way?". Questions that only hold now, with words such as today, tomorrow, latest or currently, and questions about Tux itself, such as "What are your skills?" or "How can you help me?", now go the normal way without being sorted too. So does the colour or brightness of the lamp, light or bulb in the shapes the filter knows, such as "What colour is the lamp?" or "How bright is the lamp?", which the facts lookup refuses as well. Words people start with, such as "Okay." or "Hey Tux", no longer hide the shape of the question after them. A song title right after "who sang", "who sings", "who recorded" or "who performed" is sorted, even in lower case, as in "who sang yesterday". A time after the title, as in "Who sang at the Super Bowl tonight?", or words such as "Okay," before it, keep the question from the sorter.

How well the model picks the right tool with all of this offered is measured in docs/TESTING.md, with what it still gets wrong.