@opengeni/core 0.20.6 → 0.20.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/dependencies.d.ts
CHANGED
|
@@ -107,6 +107,10 @@ export type AppDependencies = {
|
|
|
107
107
|
slackFetch?: typeof fetch;
|
|
108
108
|
/** Injectable Google OAuth/Drive transport for deterministic connector tests. */
|
|
109
109
|
googleDriveFetch?: typeof fetch;
|
|
110
|
+
/** Injectable MCP OAuth setup deadline for deterministic stalled-provider tests. */
|
|
111
|
+
oauthStartDeadlineMs?: number;
|
|
112
|
+
/** Injectable MCP OAuth callback deadline for deterministic stalled-provider tests. */
|
|
113
|
+
oauthCallbackDeadlineMs?: number;
|
|
110
114
|
/** Optional host-owned voice-input transcription service. */
|
|
111
115
|
transcription?: TranscriptionService | null;
|
|
112
116
|
sandboxClient?: ApiSandboxClient;
|
package/dist/index.js
CHANGED
|
@@ -4541,7 +4541,7 @@ async function postUserMessageTurn(input) {
|
|
|
4541
4541
|
sessionId,
|
|
4542
4542
|
workflowId: turn.temporalWorkflowId,
|
|
4543
4543
|
wakeRevision: result.wakeRevision,
|
|
4544
|
-
...result.interruptionCount > 0 ? { interruptionRequested: true } : {}
|
|
4544
|
+
...(input.delivery ?? "send") === "steer" || result.interruptionCount > 0 ? { interruptionRequested: true } : {}
|
|
4545
4545
|
});
|
|
4546
4546
|
} catch (error) {
|
|
4547
4547
|
console.warn(
|
|
@@ -6608,7 +6608,7 @@ async function publishAndWakeAgentCommand(deps, input) {
|
|
|
6608
6608
|
sessionId: input.sessionId,
|
|
6609
6609
|
workflowId: input.workflowId,
|
|
6610
6610
|
wakeRevision: input.wakeRevision,
|
|
6611
|
-
...input.interruptionCount > 0 ? { interruptionRequested: true } : {}
|
|
6611
|
+
...input.controlRequested || input.interruptionCount > 0 ? { interruptionRequested: true } : {}
|
|
6612
6612
|
});
|
|
6613
6613
|
} catch (error) {
|
|
6614
6614
|
console.warn(
|
|
@@ -6697,7 +6697,8 @@ async function steerAgentSession(deps, context, input) {
|
|
|
6697
6697
|
workflowId: result.workflowId,
|
|
6698
6698
|
wakeRevision: result.wakeRevision,
|
|
6699
6699
|
shouldSignal: result.shouldSignal,
|
|
6700
|
-
interruptionCount: result.interruptionCount
|
|
6700
|
+
interruptionCount: result.interruptionCount,
|
|
6701
|
+
controlRequested: true
|
|
6701
6702
|
});
|
|
6702
6703
|
await publishWorkspaceControlEvent(deps, context.workspaceId, result.workspaceControlEventId);
|
|
6703
6704
|
return result;
|