Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions apps/host-daemon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"zod": "^4.3.6"
},
"devDependencies": {
"@bb/plugin-build": "workspace:*",
"@bb/scripts": "workspace:*",
"@bb/test-helpers": "workspace:*",
"@bb/tsconfig": "workspace:*",
Expand Down
15 changes: 15 additions & 0 deletions apps/host-daemon/src/runtime-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1459,6 +1459,21 @@ export class RuntimeManager {
})),
onInteractiveRequest: this.options.onInteractiveRequest,
onStderr: this.options.onStderr,
onProviderRecovery: (hint) => {
// Parse-and-forward only: the recovery actions land with the runtime
// cleanup workstream. Logged so a hint is never silently consumed.
this.options.logger?.debug(
{
environmentId: args.environmentId,
providerId: hint.providerId,
threadId: hint.threadId,
kind: hint.kind,
retryable: hint.retryable,
message: hint.message,
},
"Provider bridge raised a recovery hint",
);
},
onProcessExit: (info) => {
if (!info.expected) {
for (const event of this.buildUnexpectedProviderExitEvents(info)) {
Expand Down
Loading
Loading