Commit 3a27de8
Restore input-window tint as an opt-in activity-phase hook
Commit e40d3ac applied the tint by calling --update-input-activity-indicator
directly from --set-activity-phase. The rebase onto upstream kept upstream s
hook-based --set-activity-phase (pi-coding-agent-activity-phase-functions) and
dropped that call, so the tint silently stopped working.
Rather than re-patch core, provide a public opt-in handler matching the
documented hook convention. pi-coding-agent-tint-input-window takes the
(CHAT INPUT OLD NEW REASON) signature and is enabled with:
(add-hook (quote pi-coding-agent-activity-phase-functions)
(function pi-coding-agent-tint-input-window))
--update-input-activity-indicator now takes the input buffer explicitly so
it composes with the hook (and is safe when the buffer is nil/dead during
teardown). --set-activity-phase is left exactly as upstream wrote it.
Also pin package-user-dir to a project-local .cache/elpa in the Makefile so
test and dependency installs never pollute the developer s real
~/.emacs.d/elpa (which here is managed by straight.el). Overridable via
make PACKAGE_USER_DIR=...1 parent b9d8c59 commit 3a27de8
2 files changed
Lines changed: 34 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
4 | 8 | | |
| 9 | + | |
5 | 10 | | |
6 | 11 | | |
7 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
481 | 481 | | |
482 | 482 | | |
483 | 483 | | |
484 | | - | |
485 | | - | |
| 484 | + | |
| 485 | + | |
486 | 486 | | |
487 | 487 | | |
488 | | - | |
489 | | - | |
490 | | - | |
491 | | - | |
492 | | - | |
493 | | - | |
494 | | - | |
495 | | - | |
496 | | - | |
497 | | - | |
498 | | - | |
499 | | - | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
500 | 515 | | |
501 | 516 | | |
502 | 517 | | |
| |||
0 commit comments