@agent-native/core 0.98.10 → 0.98.12

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.
Files changed (31) hide show
  1. package/corpus/README.md +1 -1
  2. package/corpus/core/CHANGELOG.md +14 -0
  3. package/corpus/core/package.json +1 -1
  4. package/corpus/core/src/a2a/handlers.ts +11 -5
  5. package/corpus/core/src/agent/production-agent.ts +3 -3
  6. package/corpus/core/src/server/agent-chat/action-filters-a2a.ts +45 -6
  7. package/corpus/core/src/server/agent-chat-plugin.ts +7 -3
  8. package/corpus/templates/analytics/actions/create-session-replay-agent-link.ts +4 -0
  9. package/corpus/templates/analytics/changelog/2026-07-12-incident-lookups-include-network-and-stuck-run-evidence-even.md +6 -0
  10. package/corpus/templates/analytics/changelog/2026-07-12-named-session-incident-investigations-now-start-with-session.md +6 -0
  11. package/corpus/templates/analytics/changelog/2026-07-13-incident-lookups-use-session-evidence.md +6 -0
  12. package/corpus/templates/analytics/server/lib/agent-chat-plan-mode.ts +10 -3
  13. package/corpus/templates/analytics/server/lib/real-data-actions.ts +11 -0
  14. package/corpus/templates/analytics/server/plugins/agent-chat.ts +1 -1
  15. package/dist/a2a/handlers.d.ts.map +1 -1
  16. package/dist/a2a/handlers.js +11 -5
  17. package/dist/a2a/handlers.js.map +1 -1
  18. package/dist/agent/production-agent.js +3 -3
  19. package/dist/agent/production-agent.js.map +1 -1
  20. package/dist/collab/awareness.d.ts +2 -2
  21. package/dist/collab/awareness.d.ts.map +1 -1
  22. package/dist/server/agent-chat/action-filters-a2a.d.ts +6 -0
  23. package/dist/server/agent-chat/action-filters-a2a.d.ts.map +1 -1
  24. package/dist/server/agent-chat/action-filters-a2a.js +15 -4
  25. package/dist/server/agent-chat/action-filters-a2a.js.map +1 -1
  26. package/dist/server/agent-chat-plugin.d.ts +2 -1
  27. package/dist/server/agent-chat-plugin.d.ts.map +1 -1
  28. package/dist/server/agent-chat-plugin.js +7 -4
  29. package/dist/server/agent-chat-plugin.js.map +1 -1
  30. package/dist/server/transcribe-voice.d.ts +1 -1
  31. package/package.json +1 -1
@@ -4479,7 +4479,7 @@ export function createProductionAgentHandler(options) {
4479
4479
  // function. The background worker itself never re-dispatches.
4480
4480
  const dispatchToBackground = !isBackgroundWorker &&
4481
4481
  isAgentChatDurableBackgroundEnabled({
4482
- appOptIn: options.durableBackgroundRuns === true,
4482
+ appOptIn: options.durableBackgroundRuns,
4483
4483
  });
4484
4484
  const requestBrowserTabId = normalizeBrowserTabId(browserTabId);
4485
4485
  const requestChatScope = normalizeChatScope(scope);
@@ -5476,7 +5476,7 @@ export function createProductionAgentHandler(options) {
5476
5476
  // budget, so falling back to the regular `_process-run`
5477
5477
  // function (40s clamp) here is the correct, safe target.
5478
5478
  chainViaDurableBackground: isAgentChatDurableBackgroundEnabled({
5479
- appOptIn: options.durableBackgroundRuns === true,
5479
+ appOptIn: options.durableBackgroundRuns,
5480
5480
  }) && !runsInBackgroundFunction,
5481
5481
  // Only changes the retry BUDGET, never the dispatch target
5482
5482
  // above: a worker proven in a real background function has
@@ -5551,7 +5551,7 @@ export function createProductionAgentHandler(options) {
5551
5551
  const isSynchronousSelfChainContinuation = isBackgroundWorker &&
5552
5552
  !runsInBackgroundFunction &&
5553
5553
  !isAgentChatDurableBackgroundEnabled({
5554
- appOptIn: options.durableBackgroundRuns === true,
5554
+ appOptIn: options.durableBackgroundRuns,
5555
5555
  });
5556
5556
  const selfChainBudget = isSynchronousSelfChainContinuation
5557
5557
  ? resolveSelfChainContinuationBudget(Date.now() - setupT0, resolveRunSoftTimeoutMs(options.runSoftTimeoutMs, {