@blockrun/franklin 3.15.82 → 3.15.83

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.
@@ -1686,7 +1686,14 @@ export async function interactiveSession(config, getUserInput, onEvent, onAbortR
1686
1686
  const gatewayErr = looksLikeGatewayErrorAsText(responseParts);
1687
1687
  if (gatewayErr.match) {
1688
1688
  logger.error(`[franklin] Gateway returned an error text in lieu of an answer (${resolvedModel}): ${gatewayErr.message}`);
1689
- throw new Error(gatewayErr.message);
1689
+ lastSessionActivity = Date.now();
1690
+ persistSessionMeta();
1691
+ onEvent({
1692
+ kind: 'turn_done',
1693
+ reason: 'error',
1694
+ error: gatewayErr.message,
1695
+ });
1696
+ break;
1690
1697
  }
1691
1698
  // Reset recovery counter on successful completion
1692
1699
  recoveryAttempts = 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blockrun/franklin",
3
- "version": "3.15.82",
3
+ "version": "3.15.83",
4
4
  "description": "Franklin — The AI agent with a wallet. Spends USDC autonomously to get real work done. Pay per action, no subscriptions.",
5
5
  "type": "module",
6
6
  "exports": {