@agent-native/core 0.102.0 → 0.102.2

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 (118) hide show
  1. package/corpus/README.md +2 -2
  2. package/corpus/core/CHANGELOG.md +15 -0
  3. package/corpus/core/package.json +1 -1
  4. package/corpus/core/src/client/AgentPanel.tsx +7 -0
  5. package/corpus/core/src/client/AssistantChat.tsx +7 -0
  6. package/corpus/core/src/client/agent-chat-adapter.ts +7 -1
  7. package/corpus/core/src/client/agent-page/AgentTabsPage.tsx +1 -1
  8. package/corpus/core/src/client/chat/message-components.tsx +17 -3
  9. package/corpus/core/src/client/composer/ComposerPlusMenu.tsx +96 -6
  10. package/corpus/core/src/client/composer/asset-picker-url.ts +80 -0
  11. package/corpus/core/src/client/error-format.ts +24 -0
  12. package/corpus/core/src/client/resources/McpIntegrationDialog.tsx +8 -1
  13. package/corpus/templates/analytics/changelog/2026-07-15-fixed-the-agent-discarding-a-successful-dashboard-edit-and-r.md +6 -0
  14. package/corpus/templates/analytics/server/lib/real-data-actions.ts +30 -1
  15. package/corpus/templates/analytics/server/plugins/agent-chat.ts +15 -0
  16. package/corpus/templates/assets/app/routes/library.tsx +69 -0
  17. package/corpus/templates/assets/changelog/2026-07-15-fixed-top-level-image-picker-selections-returning-to-the-com.md +6 -0
  18. package/corpus/templates/clips/actions/disconnect-calendar.ts +57 -9
  19. package/corpus/templates/clips/actions/generate-workflow.ts +102 -59
  20. package/corpus/templates/clips/actions/get-recording-player-data.ts +64 -1
  21. package/corpus/templates/clips/actions/regenerate-summary.ts +7 -0
  22. package/corpus/templates/clips/actions/regenerate-title.ts +29 -11
  23. package/corpus/templates/clips/app/components/editor/editor-layout.tsx +22 -11
  24. package/corpus/templates/clips/app/components/editor/thumbnail-picker.tsx +87 -9
  25. package/corpus/templates/clips/app/components/editor/trim-handles.tsx +15 -0
  26. package/corpus/templates/clips/app/components/editor/waveform.tsx +21 -8
  27. package/corpus/templates/clips/app/components/library/folder-tree.tsx +52 -0
  28. package/corpus/templates/clips/app/components/player/settings-panel.tsx +86 -46
  29. package/corpus/templates/clips/app/components/player/share-dialog.tsx +43 -37
  30. package/corpus/templates/clips/app/components/player/video-player.tsx +45 -1
  31. package/corpus/templates/clips/app/i18n/ar-SA.ts +2 -0
  32. package/corpus/templates/clips/app/i18n/de-DE.ts +2 -0
  33. package/corpus/templates/clips/app/i18n/en-US.ts +2 -0
  34. package/corpus/templates/clips/app/i18n/es-ES.ts +2 -0
  35. package/corpus/templates/clips/app/i18n/fr-FR.ts +2 -0
  36. package/corpus/templates/clips/app/i18n/hi-IN.ts +2 -0
  37. package/corpus/templates/clips/app/i18n/ja-JP.ts +2 -0
  38. package/corpus/templates/clips/app/i18n/ko-KR.ts +2 -0
  39. package/corpus/templates/clips/app/i18n/pt-BR.ts +2 -0
  40. package/corpus/templates/clips/app/i18n/zh-CN.ts +2 -0
  41. package/corpus/templates/clips/app/i18n/zh-TW.ts +2 -0
  42. package/corpus/templates/clips/app/lib/timestamp-mapping.ts +14 -0
  43. package/corpus/templates/clips/app/routes/_app.library._index.tsx +1 -2
  44. package/corpus/templates/clips/app/routes/_index.tsx +1 -2
  45. package/corpus/templates/clips/app/routes/r.$recordingId.tsx +71 -31
  46. package/corpus/templates/clips/app/routes/share.$shareId.tsx +4 -1
  47. package/corpus/templates/clips/changelog/2026-07-15-ai-workflow-generation-now-stays-visible-avoids-duplicate-re.md +6 -0
  48. package/corpus/templates/clips/changelog/2026-07-15-clip-playback-and-cta-controls-remain-interactive-through-ed.md +6 -0
  49. package/corpus/templates/clips/changelog/2026-07-15-clip-titles-no-longer-describe-the-product-as-a-loom-alterna.md +6 -0
  50. package/corpus/templates/clips/changelog/2026-07-15-description-regeneration-now-opens-the-agent-chat-so-progres.md +6 -0
  51. package/corpus/templates/clips/changelog/2026-07-15-direct-recording-urls-now-respect-share-link-and-password-ac.md +6 -0
  52. package/corpus/templates/clips/changelog/2026-07-15-disconnecting-a-calendar-now-clears-unrecorded-synced-meetin.md +6 -0
  53. package/corpus/templates/clips/changelog/2026-07-15-folders-now-expose-rename-and-delete-actions-directly-in-the.md +6 -0
  54. package/corpus/templates/clips/changelog/2026-07-15-recording-pages-now-explain-sign-in-access-and-avoid-showing.md +6 -0
  55. package/corpus/templates/clips/changelog/2026-07-15-the-clips-extension-quick-actions-toolbar-can-be-moved-out-o.md +6 -0
  56. package/corpus/templates/clips/changelog/2026-07-15-the-editor-now-skips-cut-sections-during-preview-and-keeps-t.md +6 -0
  57. package/corpus/templates/clips/changelog/2026-07-15-thumbnail-capture-now-updates-previews-while-scrubbing-and-l.md +6 -0
  58. package/corpus/templates/clips/changelog/2026-07-15-windows-permission-links-open-the-matching-settings-page.md +6 -0
  59. package/corpus/templates/clips/chrome-extension/src/content-script.ts +117 -2
  60. package/corpus/templates/clips/chrome-extension/src/overlay.ts +27 -0
  61. package/corpus/templates/clips/desktop/src-tauri/tauri.conf.json +1 -1
  62. package/corpus/templates/clips/server/lib/calendar-event-meetings.ts +139 -101
  63. package/corpus/templates/clips/server/lib/recording-page-access.ts +35 -0
  64. package/corpus/templates/content/app/components/editor/DescriptionField.tsx +10 -2
  65. package/corpus/templates/content/changelog/2026-07-15-page-and-database-descriptions-now-use-a-clean-single-line-f.md +6 -0
  66. package/corpus/templates/design/app/components/design/design-canvas/external-preview.ts +7 -3
  67. package/corpus/templates/design/changelog/2026-07-15-prototype-print-and-download-buttons-now-work-in-preview.md +6 -0
  68. package/corpus/templates/slides/actions/extract-pdf.ts +1 -1
  69. package/corpus/templates/slides/actions/import-file.ts +4 -1
  70. package/corpus/templates/slides/app/components/editor/ImageGenPanel.tsx +1 -1
  71. package/corpus/templates/slides/app/components/editor/ImageSearchPanel.tsx +9 -12
  72. package/corpus/templates/slides/app/components/editor/SlideEditor.tsx +29 -21
  73. package/corpus/templates/slides/app/i18n/ar-SA.ts +1 -0
  74. package/corpus/templates/slides/app/i18n/de-DE.ts +1 -0
  75. package/corpus/templates/slides/app/i18n/en-US.ts +1 -0
  76. package/corpus/templates/slides/app/i18n/es-ES.ts +1 -0
  77. package/corpus/templates/slides/app/i18n/fr-FR.ts +1 -0
  78. package/corpus/templates/slides/app/i18n/hi-IN.ts +1 -0
  79. package/corpus/templates/slides/app/i18n/ja-JP.ts +1 -0
  80. package/corpus/templates/slides/app/i18n/ko-KR.ts +1 -0
  81. package/corpus/templates/slides/app/i18n/pt-BR.ts +1 -0
  82. package/corpus/templates/slides/app/i18n/zh-CN.ts +1 -0
  83. package/corpus/templates/slides/app/i18n/zh-TW.ts +1 -0
  84. package/corpus/templates/slides/changelog/2026-07-15-image-search-and-generation-controls-now-use-the-registered-.md +6 -0
  85. package/corpus/templates/slides/changelog/2026-07-15-pdf-deck-references-can-be-imported-for-slide-inspiration-ag.md +6 -0
  86. package/corpus/templates/slides/changelog/2026-07-15-stable-style-inspector-dock.md +6 -0
  87. package/dist/client/AgentPanel.d.ts.map +1 -1
  88. package/dist/client/AgentPanel.js +5 -0
  89. package/dist/client/AgentPanel.js.map +1 -1
  90. package/dist/client/AssistantChat.d.ts.map +1 -1
  91. package/dist/client/AssistantChat.js +7 -0
  92. package/dist/client/AssistantChat.js.map +1 -1
  93. package/dist/client/agent-chat-adapter.d.ts.map +1 -1
  94. package/dist/client/agent-chat-adapter.js +8 -1
  95. package/dist/client/agent-chat-adapter.js.map +1 -1
  96. package/dist/client/agent-page/AgentTabsPage.js +1 -1
  97. package/dist/client/agent-page/AgentTabsPage.js.map +1 -1
  98. package/dist/client/chat/message-components.d.ts +4 -0
  99. package/dist/client/chat/message-components.d.ts.map +1 -1
  100. package/dist/client/chat/message-components.js +10 -3
  101. package/dist/client/chat/message-components.js.map +1 -1
  102. package/dist/client/composer/ComposerPlusMenu.d.ts.map +1 -1
  103. package/dist/client/composer/ComposerPlusMenu.js +58 -6
  104. package/dist/client/composer/ComposerPlusMenu.js.map +1 -1
  105. package/dist/client/composer/asset-picker-url.d.ts +16 -0
  106. package/dist/client/composer/asset-picker-url.d.ts.map +1 -0
  107. package/dist/client/composer/asset-picker-url.js +64 -0
  108. package/dist/client/composer/asset-picker-url.js.map +1 -0
  109. package/dist/client/error-format.d.ts.map +1 -1
  110. package/dist/client/error-format.js +17 -0
  111. package/dist/client/error-format.js.map +1 -1
  112. package/dist/client/resources/McpIntegrationDialog.d.ts.map +1 -1
  113. package/dist/client/resources/McpIntegrationDialog.js +6 -1
  114. package/dist/client/resources/McpIntegrationDialog.js.map +1 -1
  115. package/dist/collab/routes.d.ts +1 -1
  116. package/dist/observability/routes.d.ts +1 -1
  117. package/dist/provider-api/corpus-jobs.d.ts +2 -2
  118. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"agent-chat-adapter.d.ts","sourceRoot":"","sources":["../../src/client/agent-chat-adapter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAsB,MAAM,qBAAqB,CAAC;AAWhF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAmBrE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAE7D,MAAM,MAAM,oBAAoB;AAC9B;;;;GAIG;AACD,KAAK;AACP,0EAA0E;GACxE,WAAW;AACb,wEAAwE;GACtE,SAAS,CAAC;AAwId,eAAO,MAAM,iCAAiC,SAAU,CAAC;AAmrCzD;;;;GAIG;AACH;;;GAGG;AACH,MAAM,WAAW,6BAA6B;IAC5C,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE;QAAE,OAAO,EAAE,MAAM,GAAG,SAAS,CAAA;KAAE,CAAC;IAC3C,SAAS,CAAC,EAAE;QAAE,OAAO,EAAE,MAAM,GAAG,SAAS,CAAA;KAAE,CAAC;IAC5C,SAAS,CAAC,EAAE;QAAE,OAAO,EAAE,eAAe,GAAG,SAAS,CAAA;KAAE,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AAG,SAAS,CAAA;KAAE,CAAC;IACxD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE;QAAE,OAAO,EAAE,eAAe,GAAG,IAAI,GAAG,SAAS,CAAA;KAAE,CAAC;IAC3D,OAAO,CAAC,EAAE,oBAAoB,CAAC;CAChC;AAyED,wBAAgB,sBAAsB,CACpC,OAAO,CAAC,EAAE,6BAA6B,GACtC,gBAAgB,CAqqElB"}
@@ -2802,7 +2802,14 @@ export function createAgentChatAdapter(options) {
2802
2802
  });
2803
2803
  content.push({
2804
2804
  type: "text",
2805
- text: formatChatErrorText(message, preservedError?.upgradeUrl, errorCode),
2805
+ text: formatChatErrorText(message, preservedError?.upgradeUrl,
2806
+ // `message` is already user-facing here: either a
2807
+ // recovery-specific explanation from exhaustedRecoveryMessage
2808
+ // or a normalized gateway message from errorInfo. Passing
2809
+ // the fallback connection_error code back through the
2810
+ // formatter would replace the useful recovery guidance
2811
+ // with the generic interruption copy.
2812
+ preservedError ? errorCode : undefined),
2806
2813
  });
2807
2814
  yield {
2808
2815
  content: [...content],