Skip to content

feat(status): refresh Downshift footer at durable lifecycle points - #20

Merged
boadij merged 2 commits into
mainfrom
feat/refresh-status-lifecycle
Jul 9, 2026
Merged

feat(status): refresh Downshift footer at durable lifecycle points#20
boadij merged 2 commits into
mainfrom
feat/refresh-status-lifecycle

Conversation

@boadij

@boadij boadij commented Jul 9, 2026

Copy link
Copy Markdown
Owner

Summary

  • Centralize Downshift footer refreshes through refreshStatus().
  • Refresh status after turn_end and agent_settled without invoking threshold decisions or model transitions.
  • Refresh immediately after initial configuration creation and configuration saves.
  • Reuse the helper for manual downshift and session-disable commands.
  • Add adapter-level tests for lifecycle refreshes, config-save updates, and refresh-only behavior.

Verification

  • npm run check
  • 24 tests passing

Notes

The installed Pi Coding Agent typings do not yet declare agent_settled, so the extension uses a narrow local API type for registering that lifecycle handler while preserving the requested runtime event integration.

boadij added 2 commits July 10, 2026 01:01
Centralize config loading and footer updates for lifecycle-driven status refreshes. Refresh after model turns and agent settlement, and update the footer immediately after configuration saves without changing threshold decision timing.\n\nAdd adapter-level coverage for lifecycle refreshes, config-save updates, and the absence of model-switching side effects.
@boadij boadij changed the title Refresh Downshift status at durable lifecycle points feat(status): refresh Downshift footer at durable lifecycle points Jul 9, 2026
@boadij
boadij merged commit 7ef1874 into main Jul 9, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant