Skip to content

Network: add Tailscale; AI: Claude logo and extra Claude Code profiles - #109

Open
abduvaliy-engineer wants to merge 6 commits into
HANCORE-linux:mainfrom
abduvaliy-engineer:feat/tailscale-plugin
Open

abduvaliy-engineer wants to merge 6 commits into
HANCORE-linux:mainfrom
abduvaliy-engineer:feat/tailscale-plugin

Conversation

@abduvaliy-engineer

@abduvaliy-engineer abduvaliy-engineer commented Nov 19, 2026 •

Copy link
Copy Markdown

Summary

TL;DR: Tailscale inside Shibumi Network (G11). The AI widget draws the real Claude logo and supports a second Claude Code profile such as claude-personal. The 24-plugin roster is unchanged.

 hancore.shibumi.network/
   Service.qml                 # owns one NetworkTailscale; panel sessions lease 5 s refresh
+  NetworkTailscale.qml        # tailscale status --json / up / down / set --exit-node (argv only)
+  NetworkTailscaleModel.js    # bounded parser, exit-node allowlist, plain-text labels
   NetworkPanel.qml            # + TAILSCALE section: ON/OFF, this device, exit node, machines (click copies IP)
   BarWidget.qml               # tooltip gains "Tailscale · <ip> · via <exit node>"; pill unchanged
 hancore.shibumi.ai/
   BarWidget.qml               # claude-* providers draw the Claude logo (was a robot glyph / missing host SVG)
+  assets/claude.svg           # Omarchy's Claude mark, bundled like codex.svg
   scripts/agents-update       # runs ~/.local/bin/omarchy-agent-usage-<id> when the host has none
  • The Tailscale section is hidden when the tailscale CLI is absent, and background polling stops.
  • Exit node changes accept only peers that advertise ExitNodeOption. Peer names render as Text.PlainText.
  • A refresh that names only user collectors skips the host updater, so other agents are not refreshed.
  • The Claude logo keeps the existing 15 px slot and the dim-base plus usage-fill treatment; only the drawn shape changes. Style and smoke contracts that pinned the robot glyph are updated.
  • chore(identity) pins source-0.2.6 to 1887061, following the pattern of 3c29234 / d6c550f.

Evidence

  • Before: claude-personal selected → Cannot open: …/agents/assets/claude-personal.svg (no mark), and every refresh failed with agent collector is missing: …/omarchy-agent-usage-claude-personal.
    After: the mark renders. agents-update /usr/share/omarchy --limits-only claude-personal exits 0 and rewrites claude-personal.json.
  • New network-tailscale-model-regression.qml covers parsing, ordering, the exit-node allowlist, rejection of flag-shaped targets, and markup/control-char input.
  • New network-tailscale-service-regression.qml runs a fake tailscale CLI. Calls are exactly status --json, up, set --exit-node=100.64.0.3, down.
  • Passing against Omarchy source ac2690cd (installed-source-parity): network-plugin-regression.sh, ai-plugin-regression.sh, style-contract-regression.sh, check-production-boundary, test_package_release, test_shibumi_suite, test_lifecycle_admission, test_shibumi_health, test_shibumi_manager, git diff --check.
  • contract-regression.sh passed at 4cfce75. The logo commit after it was re-checked with the style, AI, production-boundary and self-containment regressions, plus the Python release gates.
  • Not run: check-aur-package (no shellcheck on this machine), the four pinned host-compat gates, and a live Wayland walkthrough of the Tailscale panel. Please repeat that on the validation system: ON/OFF, pick and clear an exit node, copy an IP, and tailscale missing or tailscaled stopped.

Merge Danger

Door: two-way. Everything is additive except the updater's fallback to ~/.local/bin, and a revert restores the previous behaviour.

Blast Radius: small. The Claude bar icon changes from a robot to the Claude logo. G11 panel height grows for Tailscale users. AI refreshes now run user-owned collectors that match a requested ID.

Providers such as claude-personal fell through to a missing host asset
and rendered without a logo.
The network service owns one demand-aware tailscale CLI reader. The
panel shows connection state, tailnet machines with copyable addresses,
an on/off toggle, and exit node selection; the bar tooltip reports the
Tailscale address and exit node.
A requested agent whose collector is not shipped by Omarchy (for example
claude-personal) now runs ~/.local/bin/omarchy-agent-usage-<id> instead
of failing the whole refresh. Only-user requests skip the host updater.
Replace the generic robot glyph with Omarchy's Claude mark, bundled in the
plugin, using the shared tinted base and usage fill of other providers.
@abduvaliy-engineer abduvaliy-engineer changed the title Network: add Tailscale; AI: support extra Claude Code profiles Network: add Tailscale; AI: Claude logo and extra Claude Code profiles Nov 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant