跳到內容

0.72.0

本頁內容尚未翻譯。

The cards a tower leaves for you can now be pressed from any pi with /boss wait and from the tower’s own pane, with typed keys only; in the page they take the alert confirm card’s look, pick then Send.

Todo #144 (spec docs/specs/2026-11-10-wait-cards-tui.md), tasks 1 to 4: the cards that wait for you are shown and pressed in a terminal, with typed keys only.

  • /boss wait [-w workspace | label | head] lists every open card of every tower and the head (this tower’s first) and presses one from select dialogs, with no W<n> typed: done, an option, skip (a reason, then a confirm), reply to the tower, or start entering a secret. It sends the page’s own press op.
  • The stand-in prompt prints a block of its own tower’s open cards under the state line when they change, and /wait (or /boss wait) takes the keyboard to press one: this prompt has no dialogs, so a number picks the card, a number its act, and a skip’s confirm is y/N. A paste, a run that starts, and a pane that cannot be marked press nothing and post nothing.
  • A live run’s pane takes /boss wait typed by the boss, with a widget of the open cards. The run’s token is never sent, and a run’s model can press nothing.
  • Same guards as the page. The picker runs under the here mark for the whole mode; the secret’s first step is offered only at this computer’s keyboard and not under auto mode; boss-waits and tower-memory stay refused to every run token; card text is cleaned again at every reader.
  • The press log records the door (via=pi, prompt, run-pane, gui), never the text.

Task 5 of todo #144 (spec docs/specs/2026-11-10-wait-cards-tui.md, section 4): a tower’s wait for the boss is drawn as the question panel the alert confirm card is, in Standard, Geek, Raven and Zen.

  • One card look. The card is built of the confirm card’s parts (gui/askview.ts, shared with gui/ask.ts): a head (the kind’s tag, who raised it, the Parked for your return mark of auto mode), what to do as the question, the acts as a radiogroup, Send, and a status line. The .wait-card .wc-* look rules are gone; every view’s .ask rules apply, and Raven leaves the double rule and ticks off a card nested in the tower card.
  • Every press is pick, then Send. A tap on a row only marks it (nothing is preselected); Send presses. Skip is a row: picking it shows who is told and an optional reason, and Send declines. Reply to the tower is a row: picking it shows the box, and Send (or Enter) tells the tower. A row folded into the tower card, its comms or the head page has no inline button; a tap unfolds the panel. The return panel’s cards press the same way.
  • Phone. Every row, Send and link of a card is 44 px tall with 8 px between, in all four views.
  • The head tower’s card says so. 主塔台 in Traditional Chinese and 鴉閣 in Raven (_head twins of 15 messages), where a workspace’s card says 塔台 and 管家. Raven English keeps the base words.
  • Phone and long text. A card unfolded in a tower’s comms or on the head page keeps its whole text, with no inner scroll box, so its rows never cover its own text and Send stays in view; in Zen a long what you do is read at body size, not clamped.
  • Demo. ?waits=cards&head=waiting adds the head tower’s own card.