Merge 'fix(prime-agent): project indicator on turn_start' into main
Some checks failed
CI/CD / lint (push) Successful in 1m3s
CI/CD / typecheck (push) Successful in 1m4s
CI/CD / test (push) Successful in 3m26s
CI/CD / smoke (push) Failing after 3m23s
CI/CD / build (push) Successful in 2m11s
CI/CD / publish (push) Has been skipped

This commit is contained in:
Michal
2026-08-08 18:38:53 +01:00
2 changed files with 4 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@@ -543,6 +543,9 @@ describe('config prime-agent', () => {
expect(ext).toContain("placement: 'belowEditor'");
// Still set the status: pi's footer does render it.
expect(ext).toContain('ctx.ui.setStatus(STATUS_KEY');
// prime-agent emits session_start only from reload(), never at startup, so
// a session_start-only indicator stays blank until the first switch.
expect(ext).toContain("pi.on('turn_start'");
});
it('the installed switcher filters the project list before showing it', async () => {