Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/cli-revert-rendering.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@moonshot-ai/kimi-code": patch
---

Revert the recent TUI transcript rendering changes to the original upstream behavior while rendering issues are reworked.
5 changes: 5 additions & 0 deletions .changeset/pi-tui-revert-rendering.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@moonshot-ai/pi-tui": patch
---

Revert the fork's viewport and scrollback rendering patches, restoring the upstream differential-rendering behavior. The narrow-terminal fixes (width clamping, overwide-line truncation) are kept.
2 changes: 1 addition & 1 deletion .changeset/web-thinking-effort-levels.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
"@moonshot-ai/kimi-code": minor
"@moonshot-ai/kimi-code": patch
---

Add a segmented thinking-level control in the web model picker for models that support multiple reasoning efforts. Open the composer model menu to choose a level.
5 changes: 2 additions & 3 deletions packages/pi-tui/AGENTS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# pi-tui Agent Guide

`packages/pi-tui` is a vendored copy of pi-tui from the upstream pi-mono project (baseline: upstream 0.80.2, see commit `7859b0af`). It is no longer patched via pnpm patches — all local fixes are applied directly to the source.
`packages/pi-tui` is a vendored copy of pi-tui from the upstream pi-mono project (baseline: upstream 0.80.2, see commit `7859b0af`). It is no longer patched via pnpm patches — all local fixes are applied directly to the source. The differential-rendering behavior in `src/tui.ts` matches upstream: the fork's viewport/scrollback rendering patches were reverted; the only remaining divergences are listed below.

## Local divergences from upstream (must be preserved on every re-vendor)

Expand All @@ -17,6 +17,5 @@ Never overwrite this directory wholesale when syncing from upstream. Each of the

## Testing

- This package's tests run with `node --test` (`pnpm --filter @moonshot-ai/pi-tui test`), not vitest; the root `vitest run` does not execute them — CI covers them through the dedicated `test-pi-tui` job in `.github/workflows/ci.yml`. The `test` script runs both `test/*.test.ts` and `e2e/*.test.ts`; `test:e2e` runs the e2e cases alone.
- This package's tests run with `node --test` (`pnpm --filter @moonshot-ai/pi-tui test`), not vitest; the root `vitest run` does not execute them — CI covers them through the dedicated `test-pi-tui` job in `.github/workflows/ci.yml`.
- Prefer adding new narrow-width tests to the existing test file of the corresponding component.
- `e2e/` is a rendering-bug ledger: one case file per production rendering bug, driven end to end through the xterm-emulated `VirtualTerminal` (screen, scrollback, scroll position). When a rendering bug is found, add a `caseNN-*.test.ts` repro there and register it in `e2e/README.md`; keep it as a permanent regression guard after the fix. See `e2e/README.md` for the renderer invariants these cases assert.
71 changes: 0 additions & 71 deletions packages/pi-tui/e2e/README.md

This file was deleted.

59 changes: 0 additions & 59 deletions packages/pi-tui/e2e/case01-collapse-blank-screen.test.ts

This file was deleted.

53 changes: 0 additions & 53 deletions packages/pi-tui/e2e/case02-collapse-scroll-position.test.ts

This file was deleted.

70 changes: 0 additions & 70 deletions packages/pi-tui/e2e/case03-full-redraw-residue.test.ts

This file was deleted.

62 changes: 0 additions & 62 deletions packages/pi-tui/e2e/case04-oscillation-duplication.test.ts

This file was deleted.

Loading
Loading