Repository navigation
release: v0.18.17 - #255
Merged
Merged
Conversation
Add /sidebar, a footer hint showing the hide key, and remember the side panel and Todo fold across restarts.
The engine claims Redrob Chat schedule runs targeted at this machine (target hive), runs each prompt in a new session, and reports done or failed with the final text. A run is recorded before claim so a restart finishes it as failed instead of running it twice.
/status now has a Usage section: this session's tokens in/out/cache and cost (the footer's figure), and today, this month and all time summed over every session on this machine, plus a link to the Console balance page. The machine-wide totals come from a new GET /experimental/usage engine route (Session.usage). It sums the same step-finish parts that make up Session.cost, so nothing is re-priced. All time reads the session columns; today and this month sum part rows by time_created, with the day and month starts passed by the caller in its own time zone. Console exposes no balance or spend route a workspace API key can read: /v1/billing, /v1/billing/summary and /v1/usage are JWT-only, and every ApiKeyGuard route is inference. So the Console figure is a link for now.
irm https://raw.githubusercontent.com/redrob-labs/redrob-code/main/install.ps1 | iex installs redrob.exe into %USERPROFILE%\.redrob\bin (where Redrob Desktop and redrob upgrade look), verified against the release SHA256SUMS.txt, and adds it to the user PATH. Works in Windows PowerShell 5.1 and PowerShell 7, through iex or the scriptblock form with -Version. redrob upgrade on a Windows curl install now runs install.ps1 with PowerShell instead of piping install.sh into bash.
Ask PowerShell, cmd and Python for UTF-8 output on Windows, and decode output that is still not UTF-8 with the system ANSI code page instead of U+FFFD.
/status gets a Console block: the workspace balance, today's spend and this month's spend across every device, with request counts and the billing link. A complimentary workspace says so instead of showing a balance, and a balance under $1 is shown as a warning. The engine reads it through a new GET /experimental/console/usage?tz= route. It calls the Console's GET /usage/summary with the key and base URL the Redrob provider already uses for inference (options.apiKey, else the merged credential; options.baseURL, else CONSOLE_URL, so REDROB_CONSOLE_URL still selects dev). The key never reaches the TUI and is never logged. The TUI fetches once when /status opens, not on a timer. The engine waits at most 5 seconds. No key, 401, 400, 429, 404 (a Console without the route), a timeout or a body that does not parse all return null, and the dialog shows the plain billing link as before.
This branch was successfully deployed
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.
Promotes the v0.18.17 release (tag v0.18.17, built from develop 5392104) into main: PC schedules (#249), /sidebar and remembered panel state (#250), Windows shell output in the console code page (#251), /status usage and Console balance (#252, #254), one-line PowerShell install.ps1 and Windows upgrade (#253).