test(packages/coding-agent): added q object+img tests and removed compaction

- Removed obsolete compaction-threading audit test coverage.
- Updated issue-825-repro and skill-queue tests for object-based queued message text entries.
- Expanded queued-message tests to verify image restoration via clearQueue paths.
This commit is contained in:
can1357
2026-06-12 03:46:03 +02:00
parent ec63047ad9
commit a8297c5cbb
5 changed files with 46 additions and 176 deletions
@@ -337,7 +337,7 @@ describe("AgentSession custom-role tag dequeue (E4-E7)", () => {
const { session } = fixture;
const firstTag = session.enqueueCustomMessageDisplay("/skill:foo bar", "steer");
const popped = session.popLastQueuedMessage();
expect(popped).toBe("/skill:foo bar");
expect(popped?.text).toBe("/skill:foo bar");
expect(session.getQueuedMessages().steering).toEqual([]);
// Push a NEW tagged entry with the same text. Emitting `message_start` for the