@agent-native/core 0.110.3 → 0.111.0
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/corpus/README.md +1 -1
- package/corpus/core/CHANGELOG.md +11 -0
- package/corpus/core/docs/content/components.mdx +7 -0
- package/corpus/core/docs/content/locales/ar-SA/components.mdx +4 -2
- package/corpus/core/docs/content/locales/de-DE/components.mdx +4 -2
- package/corpus/core/docs/content/locales/es-ES/components.mdx +4 -2
- package/corpus/core/docs/content/locales/fr-FR/components.mdx +4 -2
- package/corpus/core/docs/content/locales/hi-IN/components.mdx +3 -2
- package/corpus/core/docs/content/locales/ja-JP/components.mdx +3 -2
- package/corpus/core/docs/content/locales/ko-KR/components.mdx +3 -2
- package/corpus/core/docs/content/locales/pt-BR/components.mdx +4 -2
- package/corpus/core/docs/content/locales/zh-CN/components.mdx +3 -2
- package/corpus/core/docs/content/locales/zh-TW/components.mdx +3 -2
- package/corpus/core/docs/content/toolkit-agent-ux.mdx +8 -3
- package/corpus/core/migration-manifest.json +133 -266
- package/corpus/core/package.json +32 -33
- package/corpus/core/scripts/check-dist-imports.mjs +25 -1
- package/corpus/core/scripts/finalize-build.mjs +59 -2
- package/corpus/core/src/client/AgentAskPopover.tsx +1 -1
- package/corpus/core/src/client/AgentPanel.tsx +1 -1
- package/corpus/core/src/client/AssistantChat.tsx +12 -14
- package/corpus/core/src/client/NewWorkspaceAppFlow.tsx +1 -1
- package/corpus/core/src/client/agent-chat-adapter.ts +1 -1
- package/corpus/core/src/client/blocks/RegistryBlockDataProvider.tsx +121 -0
- package/corpus/core/src/client/blocks/index.ts +6 -0
- package/corpus/core/src/client/chat/attachment-adapters.ts +4 -5
- package/corpus/core/src/client/chat/index.ts +0 -1
- package/corpus/core/src/client/chat/message-components.tsx +2 -2
- package/corpus/core/src/client/code-agent-chat-adapter.ts +2 -2
- package/corpus/core/src/client/collab/index.ts +0 -22
- package/corpus/core/src/client/composer/index.ts +5 -66
- package/corpus/core/src/client/composer/runtime-adapters.tsx +123 -0
- package/corpus/core/src/client/composer/use-mention-search.ts +2 -79
- package/corpus/core/src/client/composer/wired-components.tsx +53 -0
- package/corpus/core/src/client/extensions/ExtensionViewer.tsx +1 -1
- package/corpus/core/src/client/extensions/ExtensionsListPage.tsx +1 -1
- package/corpus/core/src/client/extensions/ExtensionsSidebarSection.tsx +1 -1
- package/corpus/core/src/client/index.ts +0 -156
- package/corpus/core/src/client/resources/ResourceEditor.tsx +29 -681
- package/corpus/core/src/client/resources/ResourcesPanel.tsx +1 -1
- package/corpus/core/src/client/settings/AutomationsSection.tsx +1 -1
- package/corpus/core/src/client/sharing/index.ts +0 -4
- package/corpus/core/src/client/tombstone/agent-presence-chip.ts +17 -0
- package/corpus/core/src/client/tombstone/editor.ts +265 -0
- package/corpus/core/src/client/tombstone/live-cursor-overlay.ts +21 -0
- package/corpus/core/src/client/tombstone/presence-bar.ts +17 -0
- package/corpus/core/src/client/tombstone/recent-edit-highlights.ts +17 -0
- package/corpus/core/src/client/tombstone/remote-selection-rings.ts +21 -0
- package/corpus/core/src/client/tombstone/rich-markdown-editor.ts +265 -0
- package/corpus/core/src/client/tombstone/ui-dialog.ts +49 -0
- package/corpus/core/src/client/tombstone/ui-dropdown-menu.ts +69 -0
- package/corpus/core/src/client/tombstone/ui-hover-card.ts +21 -0
- package/corpus/core/src/client/tombstone/ui-popover.ts +25 -0
- package/corpus/core/src/client/tombstone/ui-sheet.ts +49 -0
- package/corpus/core/src/client/tombstone/ui-tooltip.ts +29 -0
- package/corpus/core/src/client/tombstone/visual-style-controls.ts +61 -0
- package/corpus/core/src/client/uploads/index.ts +5 -0
- package/corpus/core/src/client/{rich-markdown-editor/uploadEditorImage.ts → uploads/upload-editor-image.ts} +11 -4
- package/corpus/core/src/package-lifecycle/tombstone.ts +16 -2
- package/corpus/core/src/package-lifecycle/upgrade-error.ts +23 -5
- package/corpus/core/src/testing.ts +1 -4
- package/corpus/core/src/vite/client.ts +62 -22
- package/corpus/templates/content/app/components/editor/VisualEditor.tsx +2 -4
- package/corpus/templates/content/app/components/editor/extensions/registryBlocks.ts +1 -1
- package/corpus/templates/content/app/components/editor/registrySlashItems.ts +53 -52
- package/corpus/templates/plan/app/components/editor/PlanBlockNode.tsx +2 -2
- package/corpus/templates/plan/app/components/editor/planSlashCommands.ts +1 -1
- package/corpus/templates/plan/app/components/plan/DocumentArea.tsx +1 -1
- package/corpus/templates/plan/app/components/plan/PlanImageNode.tsx +1 -1
- package/corpus/templates/plan/app/components/plan/PlanMarkdownEditor.tsx +1 -1
- package/dist/catalog.json +1 -0
- package/dist/client/AgentAskPopover.js +1 -1
- package/dist/client/AgentAskPopover.js.map +1 -1
- package/dist/client/AgentPanel.js +1 -1
- package/dist/client/AgentPanel.js.map +1 -1
- package/dist/client/AssistantChat.d.ts +2 -2
- package/dist/client/AssistantChat.d.ts.map +1 -1
- package/dist/client/AssistantChat.js +5 -6
- package/dist/client/AssistantChat.js.map +1 -1
- package/dist/client/NewWorkspaceAppFlow.js +1 -1
- package/dist/client/NewWorkspaceAppFlow.js.map +1 -1
- package/dist/client/agent-chat-adapter.d.ts.map +1 -1
- package/dist/client/agent-chat-adapter.js +1 -1
- package/dist/client/agent-chat-adapter.js.map +1 -1
- package/dist/client/blocks/RegistryBlockDataProvider.d.ts +7 -0
- package/dist/client/blocks/RegistryBlockDataProvider.d.ts.map +1 -0
- package/dist/client/blocks/RegistryBlockDataProvider.js +54 -0
- package/dist/client/blocks/RegistryBlockDataProvider.js.map +1 -0
- package/dist/client/blocks/index.d.ts +2 -0
- package/dist/client/blocks/index.d.ts.map +1 -1
- package/dist/client/blocks/index.js +1 -0
- package/dist/client/blocks/index.js.map +1 -1
- package/dist/client/chat/attachment-adapters.d.ts.map +1 -1
- package/dist/client/chat/attachment-adapters.js +1 -1
- package/dist/client/chat/attachment-adapters.js.map +1 -1
- package/dist/client/chat/index.d.ts +0 -1
- package/dist/client/chat/index.d.ts.map +1 -1
- package/dist/client/chat/index.js +0 -1
- package/dist/client/chat/index.js.map +1 -1
- package/dist/client/chat/message-components.d.ts.map +1 -1
- package/dist/client/chat/message-components.js +2 -2
- package/dist/client/chat/message-components.js.map +1 -1
- package/dist/client/code-agent-chat-adapter.d.ts.map +1 -1
- package/dist/client/code-agent-chat-adapter.js +1 -1
- package/dist/client/code-agent-chat-adapter.js.map +1 -1
- package/dist/client/collab/index.d.ts +0 -5
- package/dist/client/collab/index.d.ts.map +1 -1
- package/dist/client/collab/index.js +0 -5
- package/dist/client/collab/index.js.map +1 -1
- package/dist/client/composer/index.d.ts +3 -11
- package/dist/client/composer/index.d.ts.map +1 -1
- package/dist/client/composer/index.js +3 -10
- package/dist/client/composer/index.js.map +1 -1
- package/dist/client/composer/runtime-adapters.d.ts +5 -0
- package/dist/client/composer/runtime-adapters.d.ts.map +1 -0
- package/dist/client/composer/runtime-adapters.js +85 -0
- package/dist/client/composer/runtime-adapters.js.map +1 -0
- package/dist/client/composer/use-mention-search.d.ts +1 -2
- package/dist/client/composer/use-mention-search.d.ts.map +1 -1
- package/dist/client/composer/use-mention-search.js +2 -69
- package/dist/client/composer/use-mention-search.js.map +1 -1
- package/dist/client/composer/wired-components.d.ts +10 -0
- package/dist/client/composer/wired-components.d.ts.map +1 -0
- package/dist/client/composer/wired-components.js +20 -0
- package/dist/client/composer/wired-components.js.map +1 -0
- package/dist/client/extensions/ExtensionViewer.js +1 -1
- package/dist/client/extensions/ExtensionViewer.js.map +1 -1
- package/dist/client/extensions/ExtensionsListPage.js +1 -1
- package/dist/client/extensions/ExtensionsListPage.js.map +1 -1
- package/dist/client/extensions/ExtensionsSidebarSection.js +1 -1
- package/dist/client/extensions/ExtensionsSidebarSection.js.map +1 -1
- package/dist/client/index.d.ts +0 -10
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +0 -26
- package/dist/client/index.js.map +1 -1
- package/dist/client/resources/ResourceEditor.d.ts.map +1 -1
- package/dist/client/resources/ResourceEditor.js +14 -532
- package/dist/client/resources/ResourceEditor.js.map +1 -1
- package/dist/client/resources/ResourcesPanel.js +1 -1
- package/dist/client/resources/ResourcesPanel.js.map +1 -1
- package/dist/client/settings/AutomationsSection.js +1 -1
- package/dist/client/settings/AutomationsSection.js.map +1 -1
- package/dist/client/sharing/index.d.ts +0 -1
- package/dist/client/sharing/index.d.ts.map +1 -1
- package/dist/client/sharing/index.js +0 -1
- package/dist/client/sharing/index.js.map +1 -1
- package/dist/client/tombstone/agent-presence-chip.d.ts +6 -0
- package/dist/client/tombstone/agent-presence-chip.d.ts.map +1 -0
- package/dist/client/tombstone/agent-presence-chip.js +5 -0
- package/dist/client/tombstone/agent-presence-chip.js.map +1 -0
- package/dist/client/tombstone/editor.d.ts +128 -0
- package/dist/client/tombstone/editor.d.ts.map +1 -0
- package/dist/client/tombstone/editor.js +76 -0
- package/dist/client/tombstone/editor.js.map +1 -0
- package/dist/client/tombstone/live-cursor-overlay.d.ts +8 -0
- package/dist/client/tombstone/live-cursor-overlay.d.ts.map +1 -0
- package/dist/client/tombstone/live-cursor-overlay.js +5 -0
- package/dist/client/tombstone/live-cursor-overlay.js.map +1 -0
- package/dist/client/tombstone/presence-bar.d.ts +6 -0
- package/dist/client/tombstone/presence-bar.d.ts.map +1 -0
- package/dist/client/tombstone/presence-bar.js +5 -0
- package/dist/client/tombstone/presence-bar.js.map +1 -0
- package/dist/client/tombstone/recent-edit-highlights.d.ts +6 -0
- package/dist/client/tombstone/recent-edit-highlights.d.ts.map +1 -0
- package/dist/client/tombstone/recent-edit-highlights.js +5 -0
- package/dist/client/tombstone/recent-edit-highlights.js.map +1 -0
- package/dist/client/tombstone/remote-selection-rings.d.ts +8 -0
- package/dist/client/tombstone/remote-selection-rings.d.ts.map +1 -0
- package/dist/client/tombstone/remote-selection-rings.js +5 -0
- package/dist/client/tombstone/remote-selection-rings.js.map +1 -0
- package/dist/client/tombstone/rich-markdown-editor.d.ts +128 -0
- package/dist/client/tombstone/rich-markdown-editor.d.ts.map +1 -0
- package/dist/client/tombstone/rich-markdown-editor.js +76 -0
- package/dist/client/tombstone/rich-markdown-editor.js.map +1 -0
- package/dist/client/tombstone/ui-dialog.d.ts +22 -0
- package/dist/client/tombstone/ui-dialog.d.ts.map +1 -0
- package/dist/client/tombstone/ui-dialog.js +23 -0
- package/dist/client/tombstone/ui-dialog.js.map +1 -0
- package/dist/client/tombstone/ui-dropdown-menu.d.ts +32 -0
- package/dist/client/tombstone/ui-dropdown-menu.d.ts.map +1 -0
- package/dist/client/tombstone/ui-dropdown-menu.js +33 -0
- package/dist/client/tombstone/ui-dropdown-menu.js.map +1 -0
- package/dist/client/tombstone/ui-hover-card.d.ts +8 -0
- package/dist/client/tombstone/ui-hover-card.d.ts.map +1 -0
- package/dist/client/tombstone/ui-hover-card.js +9 -0
- package/dist/client/tombstone/ui-hover-card.js.map +1 -0
- package/dist/client/tombstone/ui-popover.d.ts +10 -0
- package/dist/client/tombstone/ui-popover.d.ts.map +1 -0
- package/dist/client/tombstone/ui-popover.js +11 -0
- package/dist/client/tombstone/ui-popover.js.map +1 -0
- package/dist/client/tombstone/ui-sheet.d.ts +22 -0
- package/dist/client/tombstone/ui-sheet.d.ts.map +1 -0
- package/dist/client/tombstone/ui-sheet.js +23 -0
- package/dist/client/tombstone/ui-sheet.js.map +1 -0
- package/dist/client/tombstone/ui-tooltip.d.ts +12 -0
- package/dist/client/tombstone/ui-tooltip.d.ts.map +1 -0
- package/dist/client/tombstone/ui-tooltip.js +13 -0
- package/dist/client/tombstone/ui-tooltip.js.map +1 -0
- package/dist/client/tombstone/visual-style-controls.d.ts +28 -0
- package/dist/client/tombstone/visual-style-controls.d.ts.map +1 -0
- package/dist/client/tombstone/visual-style-controls.js +23 -0
- package/dist/client/tombstone/visual-style-controls.js.map +1 -0
- package/dist/client/uploads/index.d.ts +1 -0
- package/dist/client/uploads/index.d.ts.map +1 -1
- package/dist/client/uploads/index.js +1 -0
- package/dist/client/uploads/index.js.map +1 -1
- package/dist/client/{rich-markdown-editor/uploadEditorImage.d.ts → uploads/upload-editor-image.d.ts} +8 -4
- package/dist/client/uploads/upload-editor-image.d.ts.map +1 -0
- package/dist/client/{rich-markdown-editor/uploadEditorImage.js → uploads/upload-editor-image.js} +2 -2
- package/dist/client/uploads/upload-editor-image.js.map +1 -0
- package/dist/collab/awareness.d.ts +2 -2
- package/dist/collab/awareness.d.ts.map +1 -1
- package/dist/notifications/routes.d.ts +3 -3
- package/dist/package-lifecycle/tombstone.d.ts.map +1 -1
- package/dist/package-lifecycle/tombstone.js +13 -3
- package/dist/package-lifecycle/tombstone.js.map +1 -1
- package/dist/package-lifecycle/upgrade-error.d.ts +2 -2
- package/dist/package-lifecycle/upgrade-error.d.ts.map +1 -1
- package/dist/package-lifecycle/upgrade-error.js +8 -5
- package/dist/package-lifecycle/upgrade-error.js.map +1 -1
- package/dist/server/agent-engine-api-key-route.d.ts +1 -1
- package/dist/server/transcribe-voice.d.ts +1 -1
- package/dist/testing.d.ts +1 -3
- package/dist/testing.d.ts.map +1 -1
- package/dist/testing.js +1 -3
- package/dist/testing.js.map +1 -1
- package/dist/vite/client.d.ts.map +1 -1
- package/dist/vite/client.js +26 -22
- package/dist/vite/client.js.map +1 -1
- package/docs/content/components.mdx +7 -0
- package/docs/content/locales/ar-SA/components.mdx +4 -2
- package/docs/content/locales/de-DE/components.mdx +4 -2
- package/docs/content/locales/es-ES/components.mdx +4 -2
- package/docs/content/locales/fr-FR/components.mdx +4 -2
- package/docs/content/locales/hi-IN/components.mdx +3 -2
- package/docs/content/locales/ja-JP/components.mdx +3 -2
- package/docs/content/locales/ko-KR/components.mdx +3 -2
- package/docs/content/locales/pt-BR/components.mdx +4 -2
- package/docs/content/locales/zh-CN/components.mdx +3 -2
- package/docs/content/locales/zh-TW/components.mdx +3 -2
- package/docs/content/toolkit-agent-ux.mdx +8 -3
- package/migration-manifest.json +133 -266
- package/package.json +31 -32
- package/corpus/core/src/client/composer/AgentComposerFrame.tsx +0 -59
- package/corpus/core/src/client/composer/ComposerPlusMenu.tsx +0 -988
- package/corpus/core/src/client/composer/MentionPopover.tsx +0 -412
- package/corpus/core/src/client/composer/PastedTextChip.tsx +0 -150
- package/corpus/core/src/client/composer/PromptComposer.tsx +0 -714
- package/corpus/core/src/client/composer/RealtimeVoiceMode.tsx +0 -860
- package/corpus/core/src/client/composer/TiptapComposer.tsx +0 -2928
- package/corpus/core/src/client/composer/VoiceButton.tsx +0 -262
- package/corpus/core/src/client/composer/asset-picker-url.ts +0 -80
- package/corpus/core/src/client/composer/attachment-accept.ts +0 -71
- package/corpus/core/src/client/composer/draft-key.ts +0 -7
- package/corpus/core/src/client/composer/extensions/FileReference.tsx +0 -55
- package/corpus/core/src/client/composer/extensions/MentionReference.tsx +0 -93
- package/corpus/core/src/client/composer/extensions/SkillReference.tsx +0 -56
- package/corpus/core/src/client/composer/pasted-text.ts +0 -160
- package/corpus/core/src/client/composer/prompt-attachments.ts +0 -70
- package/corpus/core/src/client/composer/realtime-voice-audio-level.ts +0 -64
- package/corpus/core/src/client/composer/realtime-voice-transcript.ts +0 -134
- package/corpus/core/src/client/composer/types.ts +0 -66
- package/corpus/core/src/client/composer/use-file-search.ts +0 -63
- package/corpus/core/src/client/composer/use-skills.ts +0 -44
- package/corpus/core/src/client/composer/useRealtimeVoiceMode.tsx +0 -2095
- package/corpus/core/src/client/composer/useVoiceDictation.ts +0 -1155
- package/corpus/core/src/client/editor/index.ts +0 -1
- package/corpus/core/src/client/rich-markdown-editor/RegistryBlockNode.tsx +0 -799
- package/corpus/core/src/client/rich-markdown-editor/index.ts +0 -70
- package/corpus/core/src/client/rich-markdown-editor/registrySlashCommands.ts +0 -112
- package/dist/client/composer/AgentComposerFrame.d.ts +0 -19
- package/dist/client/composer/AgentComposerFrame.d.ts.map +0 -1
- package/dist/client/composer/AgentComposerFrame.js +0 -14
- package/dist/client/composer/AgentComposerFrame.js.map +0 -1
- package/dist/client/composer/ComposerPlusMenu.d.ts +0 -17
- package/dist/client/composer/ComposerPlusMenu.d.ts.map +0 -1
- package/dist/client/composer/ComposerPlusMenu.js +0 -501
- package/dist/client/composer/ComposerPlusMenu.js.map +0 -1
- package/dist/client/composer/MentionPopover.d.ts +0 -29
- package/dist/client/composer/MentionPopover.d.ts.map +0 -1
- package/dist/client/composer/MentionPopover.js +0 -180
- package/dist/client/composer/MentionPopover.js.map +0 -1
- package/dist/client/composer/PastedTextChip.d.ts +0 -9
- package/dist/client/composer/PastedTextChip.d.ts.map +0 -1
- package/dist/client/composer/PastedTextChip.js +0 -47
- package/dist/client/composer/PastedTextChip.js.map +0 -1
- package/dist/client/composer/PromptComposer.d.ts +0 -115
- package/dist/client/composer/PromptComposer.d.ts.map +0 -1
- package/dist/client/composer/PromptComposer.js +0 -299
- package/dist/client/composer/PromptComposer.js.map +0 -1
- package/dist/client/composer/RealtimeVoiceMode.d.ts +0 -104
- package/dist/client/composer/RealtimeVoiceMode.d.ts.map +0 -1
- package/dist/client/composer/RealtimeVoiceMode.js +0 -245
- package/dist/client/composer/RealtimeVoiceMode.js.map +0 -1
- package/dist/client/composer/TiptapComposer.d.ts +0 -222
- package/dist/client/composer/TiptapComposer.d.ts.map +0 -1
- package/dist/client/composer/TiptapComposer.js +0 -1834
- package/dist/client/composer/TiptapComposer.js.map +0 -1
- package/dist/client/composer/VoiceButton.d.ts +0 -23
- package/dist/client/composer/VoiceButton.d.ts.map +0 -1
- package/dist/client/composer/VoiceButton.js +0 -100
- package/dist/client/composer/VoiceButton.js.map +0 -1
- package/dist/client/composer/asset-picker-url.d.ts +0 -16
- package/dist/client/composer/asset-picker-url.d.ts.map +0 -1
- package/dist/client/composer/asset-picker-url.js +0 -64
- package/dist/client/composer/asset-picker-url.js.map +0 -1
- package/dist/client/composer/attachment-accept.d.ts +0 -9
- package/dist/client/composer/attachment-accept.d.ts.map +0 -1
- package/dist/client/composer/attachment-accept.js +0 -65
- package/dist/client/composer/attachment-accept.js.map +0 -1
- package/dist/client/composer/draft-key.d.ts +0 -2
- package/dist/client/composer/draft-key.d.ts.map +0 -1
- package/dist/client/composer/draft-key.js +0 -8
- package/dist/client/composer/draft-key.js.map +0 -1
- package/dist/client/composer/extensions/FileReference.d.ts +0 -3
- package/dist/client/composer/extensions/FileReference.d.ts.map +0 -1
- package/dist/client/composer/extensions/FileReference.js +0 -36
- package/dist/client/composer/extensions/FileReference.js.map +0 -1
- package/dist/client/composer/extensions/MentionReference.d.ts +0 -3
- package/dist/client/composer/extensions/MentionReference.d.ts.map +0 -1
- package/dist/client/composer/extensions/MentionReference.js +0 -66
- package/dist/client/composer/extensions/MentionReference.js.map +0 -1
- package/dist/client/composer/extensions/SkillReference.d.ts +0 -3
- package/dist/client/composer/extensions/SkillReference.d.ts.map +0 -1
- package/dist/client/composer/extensions/SkillReference.js +0 -40
- package/dist/client/composer/extensions/SkillReference.js.map +0 -1
- package/dist/client/composer/pasted-text.d.ts +0 -31
- package/dist/client/composer/pasted-text.d.ts.map +0 -1
- package/dist/client/composer/pasted-text.js +0 -130
- package/dist/client/composer/pasted-text.js.map +0 -1
- package/dist/client/composer/prompt-attachments.d.ts +0 -11
- package/dist/client/composer/prompt-attachments.d.ts.map +0 -1
- package/dist/client/composer/prompt-attachments.js +0 -45
- package/dist/client/composer/prompt-attachments.js.map +0 -1
- package/dist/client/composer/realtime-voice-audio-level.d.ts +0 -14
- package/dist/client/composer/realtime-voice-audio-level.d.ts.map +0 -1
- package/dist/client/composer/realtime-voice-audio-level.js +0 -47
- package/dist/client/composer/realtime-voice-audio-level.js.map +0 -1
- package/dist/client/composer/realtime-voice-transcript.d.ts +0 -26
- package/dist/client/composer/realtime-voice-transcript.d.ts.map +0 -1
- package/dist/client/composer/realtime-voice-transcript.js +0 -103
- package/dist/client/composer/realtime-voice-transcript.js.map +0 -1
- package/dist/client/composer/types.d.ts +0 -60
- package/dist/client/composer/types.d.ts.map +0 -1
- package/dist/client/composer/types.js +0 -2
- package/dist/client/composer/types.js.map +0 -1
- package/dist/client/composer/use-file-search.d.ts +0 -6
- package/dist/client/composer/use-file-search.d.ts.map +0 -1
- package/dist/client/composer/use-file-search.js +0 -52
- package/dist/client/composer/use-file-search.js.map +0 -1
- package/dist/client/composer/use-skills.d.ts +0 -7
- package/dist/client/composer/use-skills.d.ts.map +0 -1
- package/dist/client/composer/use-skills.js +0 -39
- package/dist/client/composer/use-skills.js.map +0 -1
- package/dist/client/composer/useRealtimeVoiceMode.d.ts +0 -172
- package/dist/client/composer/useRealtimeVoiceMode.d.ts.map +0 -1
- package/dist/client/composer/useRealtimeVoiceMode.js +0 -1648
- package/dist/client/composer/useRealtimeVoiceMode.js.map +0 -1
- package/dist/client/composer/useVoiceDictation.d.ts +0 -57
- package/dist/client/composer/useVoiceDictation.d.ts.map +0 -1
- package/dist/client/composer/useVoiceDictation.js +0 -975
- package/dist/client/composer/useVoiceDictation.js.map +0 -1
- package/dist/client/editor/index.d.ts +0 -2
- package/dist/client/editor/index.d.ts.map +0 -1
- package/dist/client/editor/index.js +0 -2
- package/dist/client/editor/index.js.map +0 -1
- package/dist/client/rich-markdown-editor/RegistryBlockNode.d.ts +0 -130
- package/dist/client/rich-markdown-editor/RegistryBlockNode.d.ts.map +0 -1
- package/dist/client/rich-markdown-editor/RegistryBlockNode.js +0 -426
- package/dist/client/rich-markdown-editor/RegistryBlockNode.js.map +0 -1
- package/dist/client/rich-markdown-editor/index.d.ts +0 -5
- package/dist/client/rich-markdown-editor/index.d.ts.map +0 -1
- package/dist/client/rich-markdown-editor/index.js +0 -5
- package/dist/client/rich-markdown-editor/index.js.map +0 -1
- package/dist/client/rich-markdown-editor/registrySlashCommands.d.ts +0 -60
- package/dist/client/rich-markdown-editor/registrySlashCommands.d.ts.map +0 -1
- package/dist/client/rich-markdown-editor/registrySlashCommands.js +0 -51
- package/dist/client/rich-markdown-editor/registrySlashCommands.js.map +0 -1
- package/dist/client/rich-markdown-editor/uploadEditorImage.d.ts.map +0 -1
- package/dist/client/rich-markdown-editor/uploadEditorImage.js.map +0 -1
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ComposerRuntimeAdaptersProvider,
|
|
3
|
+
type ComposerRuntimeAdapters,
|
|
4
|
+
} from "@agent-native/toolkit/composer";
|
|
5
|
+
import { useMemo, type ReactNode } from "react";
|
|
6
|
+
|
|
7
|
+
import {
|
|
8
|
+
DEFAULT_REASONING_EFFORT,
|
|
9
|
+
getReasoningEffortOptionsForModel,
|
|
10
|
+
reasoningEffortLabel,
|
|
11
|
+
resolveReasoningEffortSelection,
|
|
12
|
+
} from "../../shared/reasoning-effort.js";
|
|
13
|
+
import { applyVoiceContextReplacements } from "../../voice/index.js";
|
|
14
|
+
import {
|
|
15
|
+
formatAgentChatContextItemsForPrompt,
|
|
16
|
+
normalizeAgentComposerReference,
|
|
17
|
+
requestAgentChatThreadOpen,
|
|
18
|
+
sendToAgentChat,
|
|
19
|
+
setAgentChatContextItem,
|
|
20
|
+
} from "../agent-chat.js";
|
|
21
|
+
import { SIDEBAR_STATE_CHANGE_EVENT } from "../agent-sidebar-state.js";
|
|
22
|
+
import { agentNativePath } from "../api-path.js";
|
|
23
|
+
import { readClientAppState, setClientAppState } from "../application-state.js";
|
|
24
|
+
import { AssistantUiStaleIndexErrorBoundary } from "../assistant-ui-recovery.js";
|
|
25
|
+
import { getBrowserTabId } from "../browser-tab-id.js";
|
|
26
|
+
import {
|
|
27
|
+
isTrustedBuilderMessage,
|
|
28
|
+
tryDelegateBuildRequestToBuilder,
|
|
29
|
+
} from "../builder-frame.js";
|
|
30
|
+
import { BuilderSetupCard, BuilderSetupContent } from "../chat/run-recovery.js";
|
|
31
|
+
import { isTrustedFrameMessage } from "../frame.js";
|
|
32
|
+
import { useT } from "../i18n.js";
|
|
33
|
+
import { useOrg } from "../org/hooks.js";
|
|
34
|
+
import { isMcpIntegrationCatalogAvailable } from "../resources/mcp-integration-catalog.js";
|
|
35
|
+
import { McpIntegrationDialog } from "../resources/McpIntegrationDialog.js";
|
|
36
|
+
import { useCreateMcpServer } from "../resources/use-mcp-servers.js";
|
|
37
|
+
import { useBuilderConnectFlow } from "../settings/useBuilderStatus.js";
|
|
38
|
+
import {
|
|
39
|
+
fetchAgentEngineConfiguredState,
|
|
40
|
+
useAgentEngineConfigured,
|
|
41
|
+
} from "../use-agent-engine-configured.js";
|
|
42
|
+
import { useChatModels } from "../use-chat-models.js";
|
|
43
|
+
import { useVoiceProviderStatus } from "../voice-provider-status.js";
|
|
44
|
+
|
|
45
|
+
const REALTIME_VOICE_REQUEST_SOURCE = "realtime-voice";
|
|
46
|
+
|
|
47
|
+
function subscribeSidebarState(
|
|
48
|
+
listener: (detail: { open?: boolean } | undefined) => void,
|
|
49
|
+
): () => void {
|
|
50
|
+
if (typeof window === "undefined") return () => {};
|
|
51
|
+
const handleStateChange = (event: Event) => {
|
|
52
|
+
listener((event as CustomEvent<{ open?: boolean } | undefined>).detail);
|
|
53
|
+
};
|
|
54
|
+
window.addEventListener(SIDEBAR_STATE_CHANGE_EVENT, handleStateChange);
|
|
55
|
+
return () =>
|
|
56
|
+
window.removeEventListener(SIDEBAR_STATE_CHANGE_EVENT, handleStateChange);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
const coreComposerAdapters: Omit<ComposerRuntimeAdapters, "translate"> = {
|
|
60
|
+
resolvePath: agentNativePath,
|
|
61
|
+
models: {
|
|
62
|
+
useChatModels,
|
|
63
|
+
useAgentEngineConfigured,
|
|
64
|
+
fetchAgentEngineConfiguredState,
|
|
65
|
+
BuilderSetupCard,
|
|
66
|
+
BuilderSetupContent,
|
|
67
|
+
reasoning: {
|
|
68
|
+
defaultEffort: DEFAULT_REASONING_EFFORT,
|
|
69
|
+
getOptionsForModel: getReasoningEffortOptionsForModel,
|
|
70
|
+
label: reasoningEffortLabel,
|
|
71
|
+
resolve: resolveReasoningEffortSelection,
|
|
72
|
+
},
|
|
73
|
+
},
|
|
74
|
+
agentChat: {
|
|
75
|
+
sendToAgentChat,
|
|
76
|
+
setContextItem: setAgentChatContextItem,
|
|
77
|
+
requestThreadOpen: requestAgentChatThreadOpen,
|
|
78
|
+
formatContextItems: (items) =>
|
|
79
|
+
items ? formatAgentChatContextItemsForPrompt(items) : "",
|
|
80
|
+
normalizeReference: normalizeAgentComposerReference,
|
|
81
|
+
StaleIndexBoundary: AssistantUiStaleIndexErrorBoundary,
|
|
82
|
+
},
|
|
83
|
+
builder: {
|
|
84
|
+
useConnectFlow: useBuilderConnectFlow,
|
|
85
|
+
tryDelegateBuildRequest: tryDelegateBuildRequestToBuilder,
|
|
86
|
+
isTrustedBuilderMessage,
|
|
87
|
+
isTrustedFrameMessage,
|
|
88
|
+
},
|
|
89
|
+
resources: {
|
|
90
|
+
useOrg,
|
|
91
|
+
isMcpIntegrationAvailable: isMcpIntegrationCatalogAvailable,
|
|
92
|
+
useCreateMcpServer,
|
|
93
|
+
McpIntegrationDialog,
|
|
94
|
+
},
|
|
95
|
+
voice: {
|
|
96
|
+
useProviderStatus: useVoiceProviderStatus,
|
|
97
|
+
getBrowserTabId,
|
|
98
|
+
readAppState: readClientAppState,
|
|
99
|
+
setAppState: (key, value) =>
|
|
100
|
+
setClientAppState(key, value, {
|
|
101
|
+
requestSource: REALTIME_VOICE_REQUEST_SOURCE,
|
|
102
|
+
}),
|
|
103
|
+
subscribeSidebarState,
|
|
104
|
+
applyContextReplacements: applyVoiceContextReplacements,
|
|
105
|
+
},
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
export function CoreComposerRuntimeProvider({
|
|
109
|
+
children,
|
|
110
|
+
}: {
|
|
111
|
+
children: ReactNode;
|
|
112
|
+
}) {
|
|
113
|
+
const translate = useT();
|
|
114
|
+
const adapters = useMemo(
|
|
115
|
+
() => ({ ...coreComposerAdapters, translate }),
|
|
116
|
+
[translate],
|
|
117
|
+
);
|
|
118
|
+
return (
|
|
119
|
+
<ComposerRuntimeAdaptersProvider adapters={adapters}>
|
|
120
|
+
{children}
|
|
121
|
+
</ComposerRuntimeAdaptersProvider>
|
|
122
|
+
);
|
|
123
|
+
}
|
|
@@ -1,84 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { useMentionSearch as useToolkitMentionSearch } from "@agent-native/toolkit/composer";
|
|
2
2
|
|
|
3
3
|
import { agentNativePath } from "../api-path.js";
|
|
4
|
-
import type { MentionItem } from "./types.js";
|
|
5
4
|
|
|
6
5
|
export function useMentionSearch(query: string, enabled: boolean) {
|
|
7
|
-
|
|
8
|
-
const [isLoading, setIsLoading] = useState(false);
|
|
9
|
-
const abortRef = useRef<AbortController | null>(null);
|
|
10
|
-
const requestIdRef = useRef(0);
|
|
11
|
-
|
|
12
|
-
useEffect(() => {
|
|
13
|
-
if (!enabled) {
|
|
14
|
-
setItems([]);
|
|
15
|
-
setIsLoading(false);
|
|
16
|
-
return;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
// Cancel any in-flight stream
|
|
20
|
-
abortRef.current?.abort();
|
|
21
|
-
const abort = new AbortController();
|
|
22
|
-
abortRef.current = abort;
|
|
23
|
-
const id = ++requestIdRef.current;
|
|
24
|
-
|
|
25
|
-
setItems([]);
|
|
26
|
-
setIsLoading(true);
|
|
27
|
-
|
|
28
|
-
const debounceMs = query.length === 0 ? 0 : 150;
|
|
29
|
-
|
|
30
|
-
const timer = setTimeout(async () => {
|
|
31
|
-
try {
|
|
32
|
-
const res = await fetch(
|
|
33
|
-
agentNativePath(
|
|
34
|
-
`/_agent-native/agent-chat/mentions?q=${encodeURIComponent(query)}`,
|
|
35
|
-
),
|
|
36
|
-
{ signal: abort.signal },
|
|
37
|
-
);
|
|
38
|
-
if (!res.ok || !res.body) throw new Error();
|
|
39
|
-
|
|
40
|
-
const reader = res.body.getReader();
|
|
41
|
-
const decoder = new TextDecoder();
|
|
42
|
-
let buf = "";
|
|
43
|
-
|
|
44
|
-
while (true) {
|
|
45
|
-
const { done, value } = await reader.read();
|
|
46
|
-
if (done) break;
|
|
47
|
-
|
|
48
|
-
buf += decoder.decode(value, { stream: true });
|
|
49
|
-
const lines = buf.split("\n");
|
|
50
|
-
buf = lines.pop()!; // last line may be incomplete
|
|
51
|
-
|
|
52
|
-
for (const line of lines) {
|
|
53
|
-
if (!line.trim()) continue;
|
|
54
|
-
try {
|
|
55
|
-
const { items: batch } = JSON.parse(line) as {
|
|
56
|
-
items: MentionItem[];
|
|
57
|
-
};
|
|
58
|
-
if (id === requestIdRef.current && batch?.length) {
|
|
59
|
-
setItems((prev) => {
|
|
60
|
-
// Deduplicate by id
|
|
61
|
-
const seen = new Set(prev.map((x) => x.id));
|
|
62
|
-
const fresh = batch.filter((x) => !seen.has(x.id));
|
|
63
|
-
return fresh.length ? [...prev, ...fresh] : prev;
|
|
64
|
-
});
|
|
65
|
-
}
|
|
66
|
-
} catch {}
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
} catch (err: unknown) {
|
|
70
|
-
if (err instanceof Error && err.name === "AbortError") return;
|
|
71
|
-
if (id === requestIdRef.current) setItems([]);
|
|
72
|
-
} finally {
|
|
73
|
-
if (id === requestIdRef.current) setIsLoading(false);
|
|
74
|
-
}
|
|
75
|
-
}, debounceMs);
|
|
76
|
-
|
|
77
|
-
return () => {
|
|
78
|
-
clearTimeout(timer);
|
|
79
|
-
abort.abort();
|
|
80
|
-
};
|
|
81
|
-
}, [query, enabled]);
|
|
82
|
-
|
|
83
|
-
return { items, isLoading };
|
|
6
|
+
return useToolkitMentionSearch(query, enabled, agentNativePath);
|
|
84
7
|
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import {
|
|
2
|
+
PromptComposer as ToolkitPromptComposer,
|
|
3
|
+
RealtimeVoiceModeBoundary as ToolkitRealtimeVoiceModeBoundary,
|
|
4
|
+
RealtimeVoiceModeProvider as ToolkitRealtimeVoiceModeProvider,
|
|
5
|
+
TiptapComposer as ToolkitTiptapComposer,
|
|
6
|
+
readRealtimeVoiceContextWith,
|
|
7
|
+
type PromptComposerProps,
|
|
8
|
+
type RealtimeVoiceModeProviderProps,
|
|
9
|
+
type TiptapComposerProps,
|
|
10
|
+
} from "@agent-native/toolkit/composer";
|
|
11
|
+
|
|
12
|
+
import { readClientAppState } from "../application-state.js";
|
|
13
|
+
import { CoreComposerRuntimeProvider } from "./runtime-adapters.js";
|
|
14
|
+
|
|
15
|
+
export function PromptComposer(props: PromptComposerProps) {
|
|
16
|
+
return (
|
|
17
|
+
<CoreComposerRuntimeProvider>
|
|
18
|
+
<ToolkitPromptComposer {...props} />
|
|
19
|
+
</CoreComposerRuntimeProvider>
|
|
20
|
+
);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export function TiptapComposer(props: TiptapComposerProps) {
|
|
24
|
+
return (
|
|
25
|
+
<CoreComposerRuntimeProvider>
|
|
26
|
+
<ToolkitTiptapComposer {...props} />
|
|
27
|
+
</CoreComposerRuntimeProvider>
|
|
28
|
+
);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export function RealtimeVoiceModeProvider(
|
|
32
|
+
props: RealtimeVoiceModeProviderProps,
|
|
33
|
+
) {
|
|
34
|
+
return (
|
|
35
|
+
<CoreComposerRuntimeProvider>
|
|
36
|
+
<ToolkitRealtimeVoiceModeProvider {...props} />
|
|
37
|
+
</CoreComposerRuntimeProvider>
|
|
38
|
+
);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export function RealtimeVoiceModeBoundary(
|
|
42
|
+
props: RealtimeVoiceModeProviderProps,
|
|
43
|
+
) {
|
|
44
|
+
return (
|
|
45
|
+
<CoreComposerRuntimeProvider>
|
|
46
|
+
<ToolkitRealtimeVoiceModeBoundary {...props} />
|
|
47
|
+
</CoreComposerRuntimeProvider>
|
|
48
|
+
);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export function readRealtimeVoiceContext() {
|
|
52
|
+
return readRealtimeVoiceContextWith({ readAppState: readClientAppState });
|
|
53
|
+
}
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
TooltipProvider,
|
|
32
32
|
TooltipTrigger,
|
|
33
33
|
} from "../components/ui/tooltip.js";
|
|
34
|
-
import { PromptComposer } from "../composer/
|
|
34
|
+
import { PromptComposer } from "../composer/index.js";
|
|
35
35
|
import { isEmbedMcpChatBridgeActive } from "../embed-auth.js";
|
|
36
36
|
import { useT } from "../i18n.js";
|
|
37
37
|
import { ShareButton } from "../sharing/ShareButton.js";
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
PopoverContent,
|
|
26
26
|
PopoverTrigger,
|
|
27
27
|
} from "../components/ui/popover.js";
|
|
28
|
-
import { PromptComposer } from "../composer/
|
|
28
|
+
import { PromptComposer } from "../composer/index.js";
|
|
29
29
|
import { useT } from "../i18n.js";
|
|
30
30
|
import { cn } from "../utils.js";
|
|
31
31
|
import {
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
TooltipProvider,
|
|
48
48
|
TooltipTrigger,
|
|
49
49
|
} from "../components/ui/tooltip.js";
|
|
50
|
-
import { PromptComposer } from "../composer/
|
|
50
|
+
import { PromptComposer } from "../composer/index.js";
|
|
51
51
|
import { DEFAULT_LOCALE, useOptionalLocale, type LocaleCode } from "../i18n.js";
|
|
52
52
|
import { cn } from "../utils.js";
|
|
53
53
|
import {
|
|
@@ -9,21 +9,6 @@ export * from "./host/index.js";
|
|
|
9
9
|
export * from "./widgets/index.js";
|
|
10
10
|
export * from "./ui/index.js";
|
|
11
11
|
|
|
12
|
-
export {
|
|
13
|
-
VisualControlRow,
|
|
14
|
-
VisualColorPicker,
|
|
15
|
-
VisualInspectorPanel,
|
|
16
|
-
VisualInspectorSection,
|
|
17
|
-
VisualScrubInput,
|
|
18
|
-
VisualSegmentedControl,
|
|
19
|
-
VisualSliderControl,
|
|
20
|
-
VisualSwatchControl,
|
|
21
|
-
VisualToggleControl,
|
|
22
|
-
VisualTweakControl,
|
|
23
|
-
type VisualControlOption,
|
|
24
|
-
type VisualControlValue,
|
|
25
|
-
type VisualTweakDefinition,
|
|
26
|
-
} from "@agent-native/toolkit/design-tweaks";
|
|
27
12
|
export { cn } from "@agent-native/toolkit/utils";
|
|
28
13
|
export {
|
|
29
14
|
AgentNativeI18nProvider,
|
|
@@ -52,121 +37,6 @@ export {
|
|
|
52
37
|
type LocalePreference,
|
|
53
38
|
type LocalizationPreference,
|
|
54
39
|
} from "./i18n.js";
|
|
55
|
-
export {
|
|
56
|
-
// Shared editor core (Phase 1): the ONE configurable surface both the plan
|
|
57
|
-
// and content editors build on.
|
|
58
|
-
SharedRichEditor,
|
|
59
|
-
createSharedEditorExtensions,
|
|
60
|
-
MARKDOWN_DIALECT_CONFIG,
|
|
61
|
-
useCollabReconcile,
|
|
62
|
-
RICH_MARKDOWN_PROGRAMMATIC_TRANSACTION,
|
|
63
|
-
getEditorMarkdown,
|
|
64
|
-
SlashCommandMenu,
|
|
65
|
-
DEFAULT_SLASH_COMMANDS,
|
|
66
|
-
createImageSlashCommand,
|
|
67
|
-
// Shared block-level image node + injectable upload contract. Plans opt in
|
|
68
|
-
// via `features.image` + `onImageUpload`; Content keeps its own image block.
|
|
69
|
-
SharedImage,
|
|
70
|
-
createImageExtension,
|
|
71
|
-
pickAndInsertImage,
|
|
72
|
-
uploadEditorImage,
|
|
73
|
-
BubbleToolbar,
|
|
74
|
-
buildDefaultBubbleItems,
|
|
75
|
-
// Back-compat alias + factory kept for existing embedders and specs.
|
|
76
|
-
RichMarkdownEditor,
|
|
77
|
-
createRichMarkdownExtensions,
|
|
78
|
-
// Single-doc plan editor primitives: the GFM↔ProseMirror serializer, the
|
|
79
|
-
// run-id prose attribute, and the shared drag-handle (block grip + reorder).
|
|
80
|
-
RunId,
|
|
81
|
-
RUN_ID_NODE_TYPES,
|
|
82
|
-
gfmToProseJSON,
|
|
83
|
-
proseJSONToGfm,
|
|
84
|
-
DragHandle,
|
|
85
|
-
DEFAULT_DRAG_HANDLE_WRAPPER_SELECTOR,
|
|
86
|
-
// Generic registry-block Tiptap NodeView + side-map provider + dedupe plugin.
|
|
87
|
-
// Hosts mount the node from `createRegistryBlockNode` as an extra extension
|
|
88
|
-
// and wrap the editor in `RegistryBlockDataProvider`.
|
|
89
|
-
createRegistryBlockNode,
|
|
90
|
-
RegistryBlockNodeView,
|
|
91
|
-
RegistryBlockDataProvider,
|
|
92
|
-
useRegistryBlockData,
|
|
93
|
-
// Shared registry-derived block slash-command builder (plan + content adapt it).
|
|
94
|
-
buildRegistryBlockSlashItems,
|
|
95
|
-
getRegistryBlockSlashDescription,
|
|
96
|
-
getRegistryBlockSlashSearchText,
|
|
97
|
-
type BuildRegistryBlockSlashItemsOptions,
|
|
98
|
-
type DragHandleDropContext,
|
|
99
|
-
type DragHandleDropPlacement,
|
|
100
|
-
type DragHandleOptions,
|
|
101
|
-
type CreateRegistryBlockNodeOptions,
|
|
102
|
-
type RegistryBlockDataValue,
|
|
103
|
-
type RegistryBlockSideMapBlock,
|
|
104
|
-
type SharedRichEditorProps,
|
|
105
|
-
type SharedEditorCollab,
|
|
106
|
-
type SharedEditorFeatures,
|
|
107
|
-
type CreateSharedEditorExtensionsOptions,
|
|
108
|
-
type UseCollabReconcileOptions,
|
|
109
|
-
type UseCollabReconcileResult,
|
|
110
|
-
type SlashCommandItem,
|
|
111
|
-
type SlashCommandMenuProps,
|
|
112
|
-
type ImageUploadFn,
|
|
113
|
-
type SharedImageOptions,
|
|
114
|
-
type BubbleToolbarItem,
|
|
115
|
-
type BubbleToolbarProps,
|
|
116
|
-
type RichMarkdownDialect,
|
|
117
|
-
type RichMarkdownEditorPreset,
|
|
118
|
-
type RichMarkdownEditorProps,
|
|
119
|
-
type RichMarkdownCollabUser,
|
|
120
|
-
type CreateRichMarkdownExtensionsOptions,
|
|
121
|
-
} from "./rich-markdown-editor/index.js";
|
|
122
|
-
export type { JSONContent } from "@tiptap/core";
|
|
123
|
-
export {
|
|
124
|
-
AgentComposerFrame,
|
|
125
|
-
type AgentComposerFrameProps,
|
|
126
|
-
PromptComposer,
|
|
127
|
-
RealtimeVoiceModeBoundary,
|
|
128
|
-
RealtimeVoiceModeProvider,
|
|
129
|
-
RealtimeVoiceModeDock,
|
|
130
|
-
RealtimeVoiceModeEntry,
|
|
131
|
-
TiptapComposer,
|
|
132
|
-
AGENT_PROMPT_MAX_INLINE_IMAGE_BYTES,
|
|
133
|
-
AGENT_PROMPT_MAX_INLINE_TEXT_CHARS,
|
|
134
|
-
escapePromptAttachmentAttribute,
|
|
135
|
-
formatPromptWithAttachments,
|
|
136
|
-
isInlineableAgentPromptFile,
|
|
137
|
-
readAgentPromptAttachment,
|
|
138
|
-
createRealtimeVoiceSession,
|
|
139
|
-
createRealtimeVoiceSessionWithCapability,
|
|
140
|
-
executeRealtimeVoiceTool,
|
|
141
|
-
extractRealtimeVoiceFunctionCalls,
|
|
142
|
-
readRealtimeVoiceContext,
|
|
143
|
-
useRealtimeVoiceMode,
|
|
144
|
-
useRealtimeVoiceModeCopy,
|
|
145
|
-
useRealtimeVoiceModeOptional,
|
|
146
|
-
type PromptComposerProps,
|
|
147
|
-
type PromptComposerFile,
|
|
148
|
-
type PromptComposerSubmitOptions,
|
|
149
|
-
type RealtimeVoiceModeCopy,
|
|
150
|
-
type RealtimeVoiceModeDockProps,
|
|
151
|
-
type RealtimeVoiceModeEntryProps,
|
|
152
|
-
type RealtimeVoiceSessionAnswer,
|
|
153
|
-
type RealtimeVoiceModeInlineSettings,
|
|
154
|
-
type RealtimeVoiceModeSelectSetting,
|
|
155
|
-
type RealtimeVoiceModeSettingOption,
|
|
156
|
-
type RealtimeVoiceModeState,
|
|
157
|
-
type RealtimeVoiceModeApi,
|
|
158
|
-
type RealtimeVoiceModeProviderProps,
|
|
159
|
-
type RealtimeVoiceToolResult,
|
|
160
|
-
type ComposerSubmitIntent,
|
|
161
|
-
type AgentPromptAttachment,
|
|
162
|
-
type ReadAgentPromptAttachmentOptions,
|
|
163
|
-
type AgentComposerLayoutVariant,
|
|
164
|
-
type SlashCommand,
|
|
165
|
-
type SkillResult,
|
|
166
|
-
type TiptapComposerHandle,
|
|
167
|
-
type TiptapComposerProps,
|
|
168
|
-
type TiptapComposerSubmitOptions,
|
|
169
|
-
} from "./composer/index.js";
|
|
170
40
|
export { AgentNativeIcon } from "./components/icons/AgentNativeIcon.js";
|
|
171
41
|
export {
|
|
172
42
|
FeatureFlagsEditor,
|
|
@@ -420,36 +290,10 @@ export {
|
|
|
420
290
|
type ShareButtonProps,
|
|
421
291
|
type ShareDialogProps,
|
|
422
292
|
} from "./sharing/index.js";
|
|
423
|
-
export {
|
|
424
|
-
VisibilityBadge,
|
|
425
|
-
type VisibilityBadgeProps,
|
|
426
|
-
} from "@agent-native/toolkit/sharing";
|
|
427
293
|
export {
|
|
428
294
|
ObservabilityDashboard,
|
|
429
295
|
ThumbsFeedback,
|
|
430
296
|
} from "./observability/index.js";
|
|
431
|
-
export {
|
|
432
|
-
PresenceBar,
|
|
433
|
-
type PresenceBarProps,
|
|
434
|
-
} from "@agent-native/toolkit/collab-ui";
|
|
435
|
-
export {
|
|
436
|
-
AgentPresenceChip,
|
|
437
|
-
type AgentPresenceChipProps,
|
|
438
|
-
} from "@agent-native/toolkit/collab-ui";
|
|
439
|
-
export {
|
|
440
|
-
LiveCursorOverlay,
|
|
441
|
-
type LiveCursorOverlayProps,
|
|
442
|
-
type CursorMapFn,
|
|
443
|
-
} from "@agent-native/toolkit/collab-ui";
|
|
444
|
-
export {
|
|
445
|
-
RemoteSelectionRings,
|
|
446
|
-
type RemoteSelectionRingsProps,
|
|
447
|
-
type SelectionDescriptor,
|
|
448
|
-
} from "@agent-native/toolkit/collab-ui";
|
|
449
|
-
export {
|
|
450
|
-
RecentEditHighlights,
|
|
451
|
-
type RecentEditHighlightsProps,
|
|
452
|
-
} from "@agent-native/toolkit/collab-ui";
|
|
453
297
|
export {
|
|
454
298
|
appendRecentEdit,
|
|
455
299
|
collectRecentEdits,
|