friend-assistant 0.1.45 → 0.1.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/dist/BUILD.json +2 -2
- package/dist/friend.mjs +344 -179
- package/dist/web/assets/{index-BrLi-8KB.js → index-CbiARSIY.js} +23 -23
- package/dist/web/assets/index-TN8E9kni.css +1 -0
- package/dist/web/index.html +2 -2
- package/package.json +1 -1
- package/dist/web/assets/index-DrNs6WlQ.css +0 -1
package/README.md
CHANGED
|
@@ -92,6 +92,7 @@ Every command starts with `friend`. If you run Friend from the source code, writ
|
|
|
92
92
|
| `friend daemon restart` | Stops it and starts it again. | After changing a setting such as `friend lan on` or a different model. |
|
|
93
93
|
| `friend daemon status` | Says whether the background Friend is running, for how long, and at which address. Exit code 0 when running, 1 when not. | Checking, or in a script. |
|
|
94
94
|
| `friend upgrade` | Updates Friend in one go: checks npm for the newest version, stops the background Friend, installs it, and starts it again. Add `--force` to reinstall the same version. If Friend runs in a terminal instead, it asks you to press Ctrl+C there first. (`--auto` is what Friend itself runs to update itself; it writes what happened to `update.log` in the data folder.) | A new version is out. |
|
|
95
|
+
| `friend usage [--days N]` / `clear` | Shows the tokens Friend used, day by day (default 7 days), split by model and by where the request came from (voice, chat, scheduled tasks, messages). Only numbers are kept, never what was said; `clear` removes the saved counts. Counts older than a year go by themselves. | You want to see how much of your plan Friend is using. (Settings → Usage shows the same.) |
|
|
95
96
|
| `friend autostart on` / `off` / `status` | Starts Friend by itself in the background when you sign in to this computer, so you never start it by hand after a restart. Windows: a hidden entry in your sign-in list; macOS: a launch agent; Linux: a user service (or an autostart entry when there is no user systemd). Only your own account's files are touched. `on` can be undone with `off`. | You want Friend always there after a restart. (Settings → Startup and updates does the same.) |
|
|
96
97
|
| `friend lan` (or `friend lan status`) | Shows what Friend listens on and the addresses to open. | Checking, or finding the address for your phone. |
|
|
97
98
|
| `friend lan on` | Lets other devices on your network open Friend. Prints the addresses and the things to know (plain http, no microphone on other devices, firewall prompt). | Using Friend from a phone or another PC. |
|
package/dist/BUILD.json
CHANGED