@adeildo/pi-look

中文文档
6.0.0发布于 2026/11/02MITES Module构建来源已验证近 30 天下载 2890

Pi's start screen, a framed editor and the footer, redrawn around the data that matters and painted only with the theme's colours.

原始使用文档
文档目录6 节
  1. The start card
  2. Each command in a box
  3. Above the editor
  4. The editor and the footer
  5. Settings
  6. Learn more

@adeildo/pi-look

npm pi SDK

While an agent works, you keep checking the same few things: what it is about to run, whether that went well, how long it has been, and what it costs. This package redraws pi's screen around those things. You get a start card, an editor framed with the branch and the model, a box around every command, and a footer with what the session costs.

pi install npm:@adeildo/pi-look

Pi with the look: the start card, then the strip with the stopwatch and the last call, the card under way with how many wait, are to do and are done, the framed editor with the branch, the model and the context, and below it the cost, the tokens, the cache and the average speeds.
The start card, then a prompt halfway through its answer.

The start card

The card shows the π, the folder, the branch, the model, and the name that the rooms and the remote page use for this session. Under them, it lists only what changed or waits on you since your last session in the folder:

  • an account that needs you to sign in again
  • files in conflict, or a branch behind its remote
  • a failed CI run on the branch
  • a pull request of yours with changes requested or a new comment
  • other agents working in the folder
  • a plan past 70% of its limit
  • a new version of the harness

On a quiet day, the card says that nothing is new. GitHub is asked in the background, so the card never waits for it. Without gh, without a network, or outside GitHub, those lines just stay out.

Each command in a box

Every command gets its own box, so you see it before it runs: the command, who let it run and why, what it printed, and how long it took. For an edit, the box shows the diff, and only the words that changed get a light background.

Three commands, each in its own box: a bash command with the reason it was allowed and the time it took, a file read, and a command still running.
Every command in its own box: what ran, who let it run, the output and the time.

Alt+O opens the tool output of the session, one call at a time. Ctrl+O opens every call in the transcript.

Above the editor

The strip above the editor stays calm. While the model streams, only the stopwatch moves.

What you seeWhat it means
0:12 3 callsHow long the agent has worked on this prompt, and how many calls it made to the model
last call 1.7s wait 900ms thought ↓906 tok/sHow long the last call took to start, to think and write, and how fast it wrote
answered in 0:47 2 calls $0.31Once the run ends: how long it took, how many calls, and what it cost

On the right, the strip shows the card the agent is working on, and the rooms this session is in:

  • Each room shows how this session stands there: ● takes part, ◐ listens, ○ stepped out.
  • After the room come its agents, each with what it is doing: ◆ working, ⚑ waiting on you, ◇ idle.

The messages that you send while the agent works wait above the editor, in a dashed frame. steer means the message goes in between the agent's calls, and next means it goes after the run.

The editor's border shows this session's name, the branch, the folder, the permission mode, the model and how full the context is. The footer shows what the session cost, the tokens, the cache, the speeds, and how much of your plan is left.

Nothing on the screen jumps around: every number has a fixed width, and a value that nobody knows yet shows as – instead of popping in later.

Settings

Alt+S opens them on the Look tab. You choose the icons (Nerd Font, Unicode or ASCII, to match your terminal's font), the style of the editor's frame, and whether your messages sit in a frame. Each choice shows a preview before you keep it.

The settings screen in a frame, titled Settings. The Look tab holds Appearance, Your messages and What is on screen, with Editor frame selected. Under the list, the preview draws the editor's rounded frame with main on the top edge, the folder on the right, the model on the bottom edge and the context on the right. Below, the setting's name and default, and the keys along the bottom edge.
Change a setting and see the result drawn under the list before you keep it.

Learn more

  • How it works: the strip and the footer in detail, another session over the screen, and how the screen holds still.
  • Reference: every setting and the theme token behind each color.

The framed editor comes from pi-open-tui, which this package replaces. The segments with priorities come from oh-my-pi.

adeildo.dev
pi-harness is made by adeildo.dev

版本与发布记录

@adeildo/pi-look 共发布 28 个版本,首次发布于 2026/09/30;过去 12 个月发布了 28 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
6.0.0latest2026/11/025 天前
5.15.02026/10/2414 天前
5.14.02026/10/2414 天前
5.13.02026/10/2315 天前
5.12.22026/10/2316 天前
5.12.12026/10/2216 天前

关于 @adeildo/pi-look 的常见问题

@adeildo/pi-look 是什么?

Pi's start screen, a framed editor and the footer, redrawn around the data that matters and painted only with the theme's colours.

如何安装 @adeildo/pi-look?

在项目目录运行 npm install @adeildo/pi-look,或使用 pnpm add / yarn add / bun add。它还需要宿主项目提供 peer 依赖:@earendil-works/pi-ai(*)、@earendil-works/pi-tui(*)、@earendil-works/pi-coding-agent(*)。npm 7 及以上与 pnpm 8 及以上默认会自动安装必需的 peer 依赖,Yarn 需要手动安装。

@adeildo/pi-look 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/adeildo__pi-look 是否存在。

@adeildo/pi-look 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

@adeildo/pi-look 可以商用吗?

@adeildo/pi-look 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@adeildo/pi-look 的下载量有多少?

根据 npm 官方下载统计,@adeildo/pi-look 在 2026/10/05 – 2026/11/03 这 30 天内被下载 2,890 次,日均约 96 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@adeildo/pi-look 还在维护吗?

最新版本 6.0.0 发布于 2026/11/02(5 天前);至今共发布 28 个版本,其中过去 12 个月发布了 28 个;首次发布于 2026/09/30。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。