Repository navigation
feat(traffic): say which key, app and machine sent a request - #99
Merged
Merged
Conversation
The traffic page, the request drawer and the security log showed the gateway key's name as "client", which with keys named after apps read as "Codex sent this". A key can be called anything, apps can share one, and on a network-exposed gateway machines can share one too. The key is now called a key and reads as on the keys page, masked with its name (tw-re...wb4e (claude-code)); the mask is the one core took when the request arrived. Beside it, muted, the app the headers point to (a guess) and, for another machine, where the request came from. The traffic page shows the key column when keys, apps or sources differ, and search matches the app and source. Pins core v0.21.0. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
fylorn
force-pushed
the
feat/request-source
branch
from
September 22, 2026 03:38
baa091c to
495b41d
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.
The traffic page's Client column, the request drawer's Client row and the security log all showed the gateway key's name. With keys named after apps, that read as "Codex sent this". It does not mean that: a key can be called anything, several apps can share one, and once the gateway is open to the local network, several machines can share one too.
What changes
The key is called a key everywhere: the traffic column, its filter and row menu, the search placeholder, the request drawer and the security log.
The key reads as it does on the keys page: masked, with its name in parentheses,
tw-re…wb4e (claude-code). The mask is the one core recorded when the request arrived, so a rotated key does not put its new tail on old requests. Old records without a mask read "Key claude-code".The app and the source sit next to it, in muted text:
The drawer puts them on rows of their own and marks the app as guessed from the request headers.
The traffic page shows the key column whenever keys, apps or sources differ. One key shared by two apps, or used from another machine, is worth a column.
Search also matches the app and the source.
This pins core v0.21.0, which records the source and the app (ThinkWatchProject/ThinkWatch-Core#90) and the masked key (ThinkWatchProject/ThinkWatch-Core#93).
Checks
tsc,vitest(181 passed) andbuildpass.cargo clippy -D warningsandcargo testpass insrc-tauri.192.168.1.23with a masked key.🤖 Generated with Claude Code