feat(companion): add context warning stream helpers

This commit is contained in:
William Valentin
2026-02-16 19:12:02 -08:00
parent 43968f830a
commit 636f24016f
4 changed files with 65 additions and 1 deletions
+13
View File
@@ -527,6 +527,19 @@
],
"test_status": "pnpm test:run src/companion/runtimeClient.test.ts src/companion/platformClients.test.ts src/companion/heartbeatLoop.test.ts src/companion/platformClients.integration.test.ts + pnpm typecheck passing"
},
"companion-runtime-context-warning-helpers": {
"status": "completed",
"date": "2026-02-17",
"updated": "2026-02-17",
"summary": "Added dedicated context-warning event helpers on `CompanionRuntimeClient` (`subscribeContextWarning`, `waitForContextWarning`) for proactive context-pressure handling flows.",
"files_modified": [
"src/companion/runtimeClient.ts",
"src/companion/runtimeClient.test.ts",
"README.md",
"docs/plans/state.json"
],
"test_status": "pnpm test:run src/companion/runtimeClient.test.ts src/companion/platformClients.test.ts src/companion/heartbeatLoop.test.ts src/companion/platformClients.integration.test.ts + pnpm typecheck passing"
},
"browser-tools-activation-clarity": {
"status": "completed",
"date": "2026-02-17",