Quetzal 0.5.0
- 网页控制台:控制台(Flutter)新增 Web 形态,由运行基座的网关托管;
npx @plutokeating/quetzal装完自动在浏览器里打开http://127.0.0.1:7788/(新子命令open,--no-open不打开),同一台机器的浏览器打开即登录(网关新增GET /auth/local:只对回环地址、本机 Host 的请求放行,不扩大信任边界),不再需要手机 App 与配对码;ssh 隧道转发也算本机。网页版自带中文字体子集,离线与中国大陆不出方块;Mermaid 图在同源 iframe 里渲染。 - Web console: the console (Flutter) now also builds for the web and is served by the runtime's gateway;
npx @plutokeating/quetzalopenshttp://127.0.0.1:7788/in the browser after installing (new subcommandopen,--no-opento skip), and a browser on the same machine is logged in as soon as the page opens (new gateway endpointGET /auth/local, which only accepts loopback connections with a local Host header, so the trust boundary does not widen) — no phone app or pairing code needed; a connection through an ssh tunnel counts as local. The web build ships its own CJK font subset (no missing glyphs offline or in mainland China); Mermaid diagrams render in a same-origin iframe. - 桌面外壳:宽屏(≥ 900:电脑浏览器、平板横屏)为电脑横屏重新排布:导航栏 · 列表栏 · 主区 · 「她此刻」四栏,右栏常驻 ta 此刻的样子(光团、想分享的一句话、正在进行的醒来、待审批、内在与身体),对话 Enter 发送、Shift+Enter 换行,地址栏
#/…记录位置可收藏;手机外壳不变,所有页面两种外壳共用一份代码(PageFrame/showSheet)。 - Desktop shell: on wide screens (≥ 900: desktop browsers, tablets in landscape) the console is laid out afresh for a wide screen — navigation rail · list · main area · a permanent "right now" pane (orb, the thought it wants to share, a wake in progress, pending approvals, inner state and body); Enter sends and Shift+Enter inserts a newline in chat; the address bar's
#/…records where you are and is bookmarkable. The phone shell is unchanged, and every page is one piece of code for both shells (PageFrame/showSheet). - npm 包随版本目录放入
web/(releases/<版本>/web/,网关托管current/web/,QUETZAL_WEB_DIR可覆盖),包体约 11 MB(解压 34 MB);status显示网页控制台地址。 - The npm package places
web/into the version directory (releases/<version>/web/; the gateway servescurrent/web/,QUETZAL_WEB_DIRoverrides it); package size about 11 MB (34 MB unpacked);statusshows the web console address.
Full Changelog: v0.4.0...v0.5.0