Skip to content

feat(assistant): expand AionUi assistant into a butler with remote-access#481

Merged
IceyLiu merged 1 commit into
mainfrom
feat/aionui-butler-remote-access
Jun 17, 2026
Merged

feat(assistant): expand AionUi assistant into a butler with remote-access#481
IceyLiu merged 1 commit into
mainfrom
feat/aionui-butler-remote-access

Conversation

@IceyLiu

@IceyLiu IceyLiu commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

What

Builds on the merged #474 (aionui-assistant). Reframes that built-in into the AionUi Butler — a single one-stop assistant for managing AionUi itself across three areas: configuration, diagnosis, and remote access — and adds the new opt-in skill the remote-access flow relies on.

Changes

  • New built-in skill aionui-webui-public (builtin-skills/aionui-webui-public/SKILL.md, opt-in at the root, not auto-inject/): walks a non-technical user through exposing their local WebUI to the internet via a Cloudflare quick tunnel. Verified end-to-end — self-installs cloudflared cross-platform (direct GitHub-release binary, no package manager), forces --protocol http2 to dodge the QUIC/HTTP-530 trap, verifies the public URL returns 200 before handing it over, and explains the ephemeral-link limitations. Deliberately distinct from aionui-webui-setup (manual LAN / Tailscale / server config via the settings UI); this one produces a one-click public link via an automatic tunnel.
  • assistants.jsonaionui-assistant entry: attach aionui-webui-public to enabled_skills; rename to "AionUi Butler" across name_i18n (en/zh/ru/uk; zh-CN is AionUi管家); refresh description and quick-start prompts to include remote access; normalize zh-CN punctuation to full-width.
  • rules/aionui-assistant.{en-US,zh-CN,ru-RU}.md — retitle to Butler; add a third capability block (remote access) to the self-introduction; add Mode 5: Remote access with a hard plain-language rule (never expose jargon like tunnel / cloudflared / port to remote-access users); tighten the cron wording so the assistant only diagnoses why a scheduled task didn't run and does not create/configure scheduled tasks.

No .rs / schema changes — purely additive assets, same pattern as #474. No new preset id (reuses aionui-assistant), so preset-id-whitelist.json is unchanged.

Verification

  • cargo test -p aionui-assistant -p aionui-extension — all pass.
  • just check (migration-check + lint + fmt-check + test) — exit 0.
  • Built aioncore and ran it in a local AionUi dev instance; confirmed via REST: aionui-assistant shows name=AionUi管家, enabled_skills=[aionui-config, aionui-troubleshooting, aionui-webui-public], rule content loads, and aionui-webui-public is registered with source=builtin.

Companion frontend check

Reuses the existing aionui-assistant id, so the legacy→backend migration whitelist needs no change. The display name changed (Assistant → Butler); if the AionUi frontend hard-codes the old name anywhere (or snapshots the assistant list), a small sync may be needed — to be verified on the iOfficeAI/AionUi side.

…cess

Rename the built-in `aionui-assistant` to "AionUi Butler" and broaden its
scope to a one-stop manager for AionUi itself: configuration, diagnosis, and
remote access.

- Add a new opt-in built-in skill `aionui-webui-public`: walks a non-technical
  user through exposing their local WebUI to the internet via a cloudflared
  quick tunnel (self-installs cloudflared cross-platform, forces http2 to dodge
  the QUIC/530 trap, verifies the public URL before handing it over, explains
  the ephemeral-link limitations). Distinct from `aionui-webui-setup`, which
  covers manual LAN/Tailscale/server config through the settings UI.
- Attach the new skill to the assistant (`enabled_skills`) and add a Mode 5
  "remote access" section to all three rule files, with a plain-language rule:
  never expose jargon (tunnel, cloudflared, port, ...) to remote-access users.
- Rename to Butler across name_i18n (en/zh/ru/uk) and all rule titles; zh-CN
  name is "AionUi管家".
- Refresh description and quick-start prompts to mention remote access.
- Tighten the cron wording: the assistant can diagnose why a scheduled task
  didn't run, but does not create/configure scheduled tasks.
- Normalize zh-CN punctuation to full-width.

cargo test -p aionui-assistant -p aionui-extension: all pass.
@IceyLiu IceyLiu merged commit 794c21a into main Jun 17, 2026
6 checks passed
@IceyLiu IceyLiu deleted the feat/aionui-butler-remote-access branch June 17, 2026 10:23
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