@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AutomationsSection.js","sourceRoot":"","sources":["../../../src/client/settings/AutomationsSection.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAC;AACzD,OAAO,EACL,QAAQ,EACR,SAAS,EACT,OAAO,EACP,WAAW,EACX,eAAe,EACf,cAAc,EACd,QAAQ,EACR,SAAS,GACV,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAkB,MAAM,OAAO,CAAC;AAE9D,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACnE,OAAO,EACL,cAAc,EACd,mBAAmB,GAGpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EACL,MAAM,EACN,aAAa,EACb,iBAAiB,EACjB,YAAY,EACZ,YAAY,EACZ,WAAW,GACZ,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,OAAO,EACP,cAAc,EACd,cAAc,GACf,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC/D,OAAO,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AASjD,MAAM,CAAC,MAAM,yBAAyB,GAAG,UAAmB,CAAC;AAE7D,MAAM,UAAU,yBAAyB;IACvC,OAAO,kCAAkC,yBAAyB,+KAA+K,CAAC;AACpP,CAAC;AAED,MAAM,UAAU,eAAe,CAAC,EAC9B,KAAK,GAAG,MAAM,EACd,OAAO,GAAG,KAAK,EACf,YAAY,EACZ,UAAU,GACW;IACrB,MAAM,CAAC,GAAG,IAAI,EAAE,CAAC;IACjB,MAAM,EAAE,UAAU,EAAE,GAAG,aAAa,EAAE,CAAC;IACvC,MAAM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,4BAA4B,EAAE;4CAC3C,YAAY,EAAE,qCAAqC;yCACpD,CAAC,EACF,UAAU,EAAC,oBAAoB,EAC/B,QAAQ,EAAE,eAAe,GACzB,IACa,IACT,EACT,WAAW,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CACxB,MAAC,MAAM,IACL,IAAI,EAAC,QAAQ,EACb,OAAO,EAAC,SAAS,EACjB,IAAI,EAAC,IAAI,EACT,SAAS,EAAC,gBAAgB,EAC1B,OAAO,EAAE,mBAAmB,aAE5B,KAAC,cAAc,IAAC,SAAS,EAAC,UAAU,GAAG,EACtC,CAAC,CAAC,oBAAoB,EAAE,EAAE,YAAY,EAAE,iBAAiB,EAAE,CAAC,IACtD,CACV,CAAC,CAAC,CAAC,IAAI,IACJ,EACL,KAAK,CAAC,CAAC,CAAC,CACP,YACE,SAAS,EACP,KAAK,CAAC,IAAI,KAAK,IAAI;oBACjB,CAAC,CAAC,0BAA0B;oBAC5B,CAAC,CAAC,0BAA0B,YAG/B,KAAK,CAAC,IAAI,GACT,CACL,CAAC,CAAC,CAAC,IAAI,EACR,KAAC,eAAe,IACd,KAAK,EAAC,MAAM,EACZ,OAAO,QACP,YAAY,EAAE,CAAC,CAAC,+BAA+B,EAAE;oBAC/C,YAAY,EAAE,uCAAuC;iBACtD,CAAC,GACF,IACE,CACP,CAAC;AACJ,CAAC","sourcesContent":["import { Button } from \"@agent-native/toolkit/ui/button\";\nimport {\n IconBolt,\n IconClock,\n IconEye,\n IconLoader2,\n IconPlayerPause,\n IconPlayerPlay,\n IconPlus,\n IconTrash,\n} from \"@tabler/icons-react\";\nimport { useCallback, useState, type ReactNode } from \"react\";\n\nimport { sendToAgentChat } from \"../agent-chat.js\";\nimport { AgentEmptyState } from \"../agent-page/AgentEmptyState.js\";\nimport {\n useAutomations,\n useManageAutomation,\n type Automation,\n type JobsScope,\n} from \"../agent-page/use-jobs.js\";\nimport { AgentAskPopover } from \"../AgentAskPopover.js\";\nimport { agentNativePath } from \"../api-path.js\";\nimport {\n Dialog,\n DialogContent,\n DialogDescription,\n DialogFooter,\n DialogHeader,\n DialogTitle,\n} from \"../components/ui/dialog.js\";\nimport {\n Popover,\n PopoverContent,\n PopoverTrigger,\n} from \"../components/ui/popover.js\";\nimport { PromptComposer } from \"../composer/PromptComposer.js\";\nimport { useFormatters, useT } from \"../i18n.js\";\n\nexport interface AutomationsListProps {\n scope?: JobsScope;\n compact?: boolean;\n emptyMessage?: string;\n emptyState?: ReactNode;\n}\n\nexport const AUTOMATION_CREATION_SCOPE = \"personal\" as const;\n\nexport function automationCreationContext(): string {\n return `The user wants to create a new ${AUTOMATION_CREATION_SCOPE} automation. Use manage-automations with action=define to create it. Ask clarifying questions if needed about what event to trigger on, conditions, and what actions to take.`;\n}\n\nexport function AutomationsList({\n scope = \"user\",\n compact = false,\n emptyMessage,\n emptyState,\n}: AutomationsListProps) {\n const t = useT();\n const { formatDate } = useFormatters();\n const query = useAutomations(scope);\n const mutation = useManageAutomation(scope);\n const [deleteTarget, setDeleteTarget] = useState<Automation | null>(null);\n const [detailsTarget, setDetailsTarget] = useState<Automation | null>(null);\n\n const formatDateTime = (value: string | null) => {\n if (!value || Number.isNaN(new Date(value).getTime())) return null;\n return formatDate(value, {\n month: \"short\",\n day: \"numeric\",\n hour: \"numeric\",\n minute: \"2-digit\",\n });\n };\n\n if (query.isLoading) {\n return (\n <div\n className=\"flex items-center gap-2 text-sm text-muted-foreground\"\n aria-busy=\"true\"\n >\n <IconLoader2 className=\"size-4 animate-spin\" />\n {t(\"jobs.loading\", { defaultValue: \"Loading…\" })}\n </div>\n );\n }\n\n if (query.error) {\n return (\n <p className=\"text-sm text-destructive\">\n {t(\"jobs.automationsLoadError\", {\n defaultValue: \"Could not load automations.\",\n })}\n </p>\n );\n }\n\n const automations = query.data ?? [];\n if (automations.length === 0) {\n if (emptyState) return emptyState;\n return (\n <AgentEmptyState\n icon={IconBolt}\n title={t(\"jobs.automationsEmptyTitle\", {\n defaultValue: \"No automations yet\",\n })}\n description={\n emptyMessage ??\n t(\"jobs.automationsEmptyDescription\", {\n defaultValue: \"Describe what should happen and when.\",\n })\n }\n action={\n <AgentAskPopover\n context={automationCreationContext()}\n prompt={t(\"jobs.automationPrompt\", {\n defaultValue: \"Create an automation that does this: \",\n })}\n title={t(\"jobs.automationsCreateTitle\", {\n defaultValue: \"Create an automation\",\n })}\n />\n }\n />\n );\n }\n\n return (\n <div className={compact ? \"space-y-2\" : \"space-y-3\"}>\n {automations.map((automation) => {\n const lastRun = formatDateTime(automation.lastRun);\n const nextRun = formatDateTime(automation.nextRun);\n const trigger =\n automation.triggerType === \"event\"\n ? t(\"jobs.automationEventTrigger\", {\n defaultValue: \"On {{event}}\",\n event: automation.event ?? \"event\",\n })\n : (automation.scheduleDescription ??\n automation.schedule ??\n t(\"jobs.automationScheduleTrigger\", {\n defaultValue: \"Scheduled task\",\n }));\n\n return (\n <article\n key={automation.id}\n className=\"rounded-lg border border-border bg-card p-3\"\n >\n <div className=\"flex items-start gap-3\">\n <div className=\"mt-0.5 text-muted-foreground\">\n {automation.triggerType === \"event\" ? (\n <IconBolt className=\"size-4\" />\n ) : (\n <IconClock className=\"size-4\" />\n )}\n </div>\n <div className=\"min-w-0 flex-1\">\n <div className=\"flex flex-wrap items-center gap-2\">\n <h3 className=\"truncate text-sm font-medium text-foreground\">\n {automation.name.replace(/-/g, \" \")}\n </h3>\n <span\n className={\n automation.enabled\n ? \"rounded-full bg-emerald-500/15 px-2 py-0.5 text-[10px] font-medium text-emerald-600 dark:text-emerald-400\"\n : \"rounded-full bg-muted px-2 py-0.5 text-[10px] font-medium text-muted-foreground\"\n }\n >\n {automation.enabled\n ? t(\"jobs.enabled\", { defaultValue: \"Enabled\" })\n : t(\"jobs.disabled\", { defaultValue: \"Disabled\" })}\n </span>\n {automation.lastStatus ? (\n <span className=\"rounded-full bg-muted px-2 py-0.5 text-[10px] font-medium text-muted-foreground\">\n {automation.lastStatus}\n </span>\n ) : null}\n </div>\n <p className=\"mt-1 text-xs text-muted-foreground\">{trigger}</p>\n <p className=\"mt-1 line-clamp-2 text-xs text-muted-foreground/80\">\n {automation.body}\n </p>\n {lastRun || nextRun ? (\n <div className=\"mt-2 flex flex-wrap gap-x-4 gap-y-1 text-[11px] text-muted-foreground\">\n {lastRun ? (\n <span>\n {t(\"jobs.lastRun\", { defaultValue: \"Last run\" })}:{\" \"}\n {lastRun}\n </span>\n ) : null}\n {nextRun ? (\n <span>\n {t(\"jobs.nextRun\", { defaultValue: \"Next run\" })}:{\" \"}\n {nextRun}\n </span>\n ) : null}\n </div>\n ) : null}\n </div>\n <div className=\"flex shrink-0 items-center gap-1\">\n <Button\n type=\"button\"\n variant=\"ghost\"\n size=\"sm\"\n className=\"cursor-pointer px-2 text-xs\"\n onClick={() => setDetailsTarget(automation)}\n >\n <IconEye className=\"size-3.5\" />\n {t(\"jobs.details\", { defaultValue: \"Details\" })}\n </Button>\n {automation.canUpdate ? (\n <>\n <Button\n type=\"button\"\n variant=\"ghost\"\n size=\"sm\"\n className=\"cursor-pointer px-2 text-xs\"\n disabled={mutation.isPending}\n onClick={() =>\n mutation.mutate({\n operation: \"update\",\n name: automation.name,\n scope: automation.scope,\n enabled: !automation.enabled,\n })\n }\n >\n {automation.enabled ? (\n <IconPlayerPause className=\"size-3.5\" />\n ) : (\n <IconPlayerPlay className=\"size-3.5\" />\n )}\n {automation.enabled\n ? t(\"jobs.pause\", { defaultValue: \"Pause\" })\n : t(\"jobs.resume\", { defaultValue: \"Resume\" })}\n </Button>\n <Button\n type=\"button\"\n variant=\"ghost\"\n size=\"icon\"\n className=\"size-8 cursor-pointer text-muted-foreground hover:text-destructive\"\n aria-label={t(\"jobs.delete\", { defaultValue: \"Delete\" })}\n onClick={() => setDeleteTarget(automation)}\n >\n <IconTrash className=\"size-3.5\" />\n </Button>\n </>\n ) : null}\n </div>\n </div>\n </article>\n );\n })}\n\n {mutation.error ? (\n <p className=\"text-sm text-destructive\">\n {mutation.error.message ||\n t(\"jobs.automationUpdateError\", {\n defaultValue: \"Could not update automation.\",\n })}\n </p>\n ) : null}\n\n <Dialog\n open={deleteTarget !== null}\n onOpenChange={(open) => {\n if (!open && !mutation.isPending) setDeleteTarget(null);\n }}\n >\n <DialogContent>\n <DialogHeader>\n <DialogTitle>\n {t(\"jobs.deleteAutomationTitle\", {\n defaultValue: \"Delete automation?\",\n })}\n </DialogTitle>\n <DialogDescription>\n {t(\"jobs.deleteAutomationDescription\", {\n defaultValue:\n \"This permanently removes the automation and cannot be undone.\",\n })}\n </DialogDescription>\n </DialogHeader>\n <DialogFooter>\n <Button\n type=\"button\"\n variant=\"outline\"\n className=\"cursor-pointer\"\n disabled={mutation.isPending}\n onClick={() => setDeleteTarget(null)}\n >\n {t(\"jobs.cancel\", { defaultValue: \"Cancel\" })}\n </Button>\n <Button\n type=\"button\"\n variant=\"destructive\"\n className=\"cursor-pointer\"\n disabled={mutation.isPending}\n onClick={() => {\n if (!deleteTarget) return;\n mutation.mutate(\n {\n operation: \"delete\",\n name: deleteTarget.name,\n scope: deleteTarget.scope,\n },\n { onSuccess: () => setDeleteTarget(null) },\n );\n }}\n >\n {mutation.isPending ? (\n <IconLoader2 className=\"size-4 animate-spin\" />\n ) : null}\n {t(\"jobs.delete\", { defaultValue: \"Delete\" })}\n </Button>\n </DialogFooter>\n </DialogContent>\n </Dialog>\n\n <Dialog\n open={detailsTarget !== null}\n onOpenChange={(open) => {\n if (!open) setDetailsTarget(null);\n }}\n >\n <DialogContent className=\"max-w-2xl\">\n <DialogHeader>\n <DialogTitle>\n {detailsTarget?.name.replace(/-/g, \" \") ??\n t(\"jobs.automationDetails\", {\n defaultValue: \"Automation details\",\n })}\n </DialogTitle>\n <DialogDescription>\n {detailsTarget\n ? detailsTarget.triggerType === \"event\"\n ? t(\"jobs.automationEventDetails\", {\n defaultValue: \"Runs when {{event}}.\",\n event: detailsTarget.event ?? \"an event fires\",\n })\n : (detailsTarget.scheduleDescription ??\n detailsTarget.schedule ??\n t(\"jobs.automationScheduleTrigger\", {\n defaultValue: \"Scheduled task\",\n }))\n : null}\n </DialogDescription>\n </DialogHeader>\n {detailsTarget ? (\n <div className=\"space-y-3\">\n {detailsTarget.condition ? (\n <div>\n <p className=\"text-xs font-medium text-foreground\">\n {t(\"jobs.condition\", { defaultValue: \"Condition\" })}\n </p>\n <p className=\"mt-1 text-sm text-muted-foreground\">\n {detailsTarget.condition}\n </p>\n </div>\n ) : null}\n <div>\n <p className=\"text-xs font-medium text-foreground\">\n {t(\"jobs.instructions\", { defaultValue: \"Instructions\" })}\n </p>\n <p className=\"mt-1 whitespace-pre-wrap text-sm text-muted-foreground\">\n {detailsTarget.body}\n </p>\n </div>\n </div>\n ) : null}\n </DialogContent>\n </Dialog>\n </div>\n );\n}\n\nexport function AutomationsSection() {\n const t = useT();\n const { data: automations = [] } = useAutomations(\"user\");\n const [newOpen, setNewOpen] = useState(false);\n const [toast, setToast] = useState<{\n kind: \"ok\" | \"err\";\n text: string;\n } | null>(null);\n\n const showToast = useCallback(\n (kind: \"ok\" | \"err\", text: string, ms = 2500) => {\n setToast({ kind, text });\n window.setTimeout(() => setToast(null), ms);\n },\n [],\n );\n\n const handleFireTestEvent = useCallback(async () => {\n showToast(\n \"ok\",\n t(\"jobs.firingTestEvent\", { defaultValue: \"Firing test event…\" }),\n );\n try {\n const res = await fetch(\n agentNativePath(\"/_agent-native/automations/fire-test\"),\n {\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n body: JSON.stringify({ data: {} }),\n },\n );\n if (!res.ok) {\n showToast(\n \"err\",\n t(\"jobs.fireEventError\", {\n defaultValue: \"Failed to fire event ({{status}})\",\n status: res.status,\n }),\n );\n return;\n }\n showToast(\"ok\", t(\"jobs.eventFired\", { defaultValue: \"Event fired\" }));\n } catch (err: unknown) {\n showToast(\n \"err\",\n err instanceof Error\n ? err.message\n : t(\"jobs.fireEventErrorGeneric\", {\n defaultValue: \"Failed to fire event.\",\n }),\n );\n }\n }, [showToast, t]);\n\n const handleNewSubmit = useCallback((text: string) => {\n const trimmed = text.trim();\n if (!trimmed) return;\n window.dispatchEvent(\n new CustomEvent(\"agent-panel:set-mode\", {\n detail: { mode: \"chat\" },\n }),\n );\n sendToAgentChat({\n message: trimmed,\n context: automationCreationContext(),\n submit: true,\n newTab: true,\n });\n setNewOpen(false);\n }, []);\n\n return (\n <div className=\"space-y-2\">\n <div className=\"flex items-center gap-1.5\">\n <Popover open={newOpen} onOpenChange={setNewOpen}>\n <PopoverTrigger asChild>\n <Button\n type=\"button\"\n variant=\"outline\"\n size=\"sm\"\n className=\"cursor-pointer\"\n >\n <IconPlus className=\"size-3.5\" />\n {t(\"jobs.newAutomation\", { defaultValue: \"New automation\" })}\n </Button>\n </PopoverTrigger>\n <PopoverContent\n align=\"start\"\n sideOffset={6}\n collisionPadding={8}\n className=\"z-[260] w-[calc(100vw-24px)] max-w-[380px] p-3\"\n >\n <p className=\"px-1 pb-2 text-sm font-semibold text-foreground\">\n {t(\"jobs.newAutomation\", { defaultValue: \"New automation\" })}\n </p>\n <PromptComposer\n autoFocus\n placeholder={t(\"jobs.automationPlaceholder\", {\n defaultValue: \"Describe what you want to automate…\",\n })}\n draftScope=\"automations:create\"\n onSubmit={handleNewSubmit}\n />\n </PopoverContent>\n </Popover>\n {automations.length > 0 ? (\n <Button\n type=\"button\"\n variant=\"outline\"\n size=\"sm\"\n className=\"cursor-pointer\"\n onClick={handleFireTestEvent}\n >\n <IconPlayerPlay className=\"size-3.5\" />\n {t(\"jobs.fireTestEvent\", { defaultValue: \"Fire test event\" })}\n </Button>\n ) : null}\n </div>\n {toast ? (\n <p\n className={\n toast.kind === \"ok\"\n ? \"text-xs text-emerald-600\"\n : \"text-xs text-destructive\"\n }\n >\n {toast.text}\n </p>\n ) : null}\n <AutomationsList\n scope=\"user\"\n compact\n emptyMessage={t(\"jobs.automationsEmptySettings\", {\n defaultValue: \"Describe what should happen and when.\",\n })}\n />\n </div>\n );\n}\n"]}
|
|
1
|
+
{"version":3,"file":"AutomationsSection.js","sourceRoot":"","sources":["../../../src/client/settings/AutomationsSection.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAC;AACzD,OAAO,EACL,QAAQ,EACR,SAAS,EACT,OAAO,EACP,WAAW,EACX,eAAe,EACf,cAAc,EACd,QAAQ,EACR,SAAS,GACV,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAkB,MAAM,OAAO,CAAC;AAE9D,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACnE,OAAO,EACL,cAAc,EACd,mBAAmB,GAGpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EACL,MAAM,EACN,aAAa,EACb,iBAAiB,EACjB,YAAY,EACZ,YAAY,EACZ,WAAW,GACZ,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,OAAO,EACP,cAAc,EACd,cAAc,GACf,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AASjD,MAAM,CAAC,MAAM,yBAAyB,GAAG,UAAmB,CAAC;AAE7D,MAAM,UAAU,yBAAyB;IACvC,OAAO,kCAAkC,yBAAyB,+KAA+K,CAAC;AACpP,CAAC;AAED,MAAM,UAAU,eAAe,CAAC,EAC9B,KAAK,GAAG,MAAM,EACd,OAAO,GAAG,KAAK,EACf,YAAY,EACZ,UAAU,GACW;IACrB,MAAM,CAAC,GAAG,IAAI,EAAE,CAAC;IACjB,MAAM,EAAE,UAAU,EAAE,GAAG,aAAa,EAAE,CAAC;IACvC,MAAM,KAAK,GAAG,cA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4CAC3C,YAAY,EAAE,qCAAqC;yCACpD,CAAC,EACF,UAAU,EAAC,oBAAoB,EAC/B,QAAQ,EAAE,eAAe,GACzB,IACa,IACT,EACT,WAAW,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CACxB,MAAC,MAAM,IACL,IAAI,EAAC,QAAQ,EACb,OAAO,EAAC,SAAS,EACjB,IAAI,EAAC,IAAI,EACT,SAAS,EAAC,gBAAgB,EAC1B,OAAO,EAAE,mBAAmB,aAE5B,KAAC,cAAc,IAAC,SAAS,EAAC,UAAU,GAAG,EACtC,CAAC,CAAC,oBAAoB,EAAE,EAAE,YAAY,EAAE,iBAAiB,EAAE,CAAC,IACtD,CACV,CAAC,CAAC,CAAC,IAAI,IACJ,EACL,KAAK,CAAC,CAAC,CAAC,CACP,YACE,SAAS,EACP,KAAK,CAAC,IAAI,KAAK,IAAI;oBACjB,CAAC,CAAC,0BAA0B;oBAC5B,CAAC,CAAC,0BAA0B,YAG/B,KAAK,CAAC,IAAI,GACT,CACL,CAAC,CAAC,CAAC,IAAI,EACR,KAAC,eAAe,IACd,KAAK,EAAC,MAAM,EACZ,OAAO,QACP,YAAY,EAAE,CAAC,CAAC,+BAA+B,EAAE;oBAC/C,YAAY,EAAE,uCAAuC;iBACtD,CAAC,GACF,IACE,CACP,CAAC;AACJ,CAAC","sourcesContent":["import { Button } from \"@agent-native/toolkit/ui/button\";\nimport {\n IconBolt,\n IconClock,\n IconEye,\n IconLoader2,\n IconPlayerPause,\n IconPlayerPlay,\n IconPlus,\n IconTrash,\n} from \"@tabler/icons-react\";\nimport { useCallback, useState, type ReactNode } from \"react\";\n\nimport { sendToAgentChat } from \"../agent-chat.js\";\nimport { AgentEmptyState } from \"../agent-page/AgentEmptyState.js\";\nimport {\n useAutomations,\n useManageAutomation,\n type Automation,\n type JobsScope,\n} from \"../agent-page/use-jobs.js\";\nimport { AgentAskPopover } from \"../AgentAskPopover.js\";\nimport { agentNativePath } from \"../api-path.js\";\nimport {\n Dialog,\n DialogContent,\n DialogDescription,\n DialogFooter,\n DialogHeader,\n DialogTitle,\n} from \"../components/ui/dialog.js\";\nimport {\n Popover,\n PopoverContent,\n PopoverTrigger,\n} from \"../components/ui/popover.js\";\nimport { PromptComposer } from \"../composer/index.js\";\nimport { useFormatters, useT } from \"../i18n.js\";\n\nexport interface AutomationsListProps {\n scope?: JobsScope;\n compact?: boolean;\n emptyMessage?: string;\n emptyState?: ReactNode;\n}\n\nexport const AUTOMATION_CREATION_SCOPE = \"personal\" as const;\n\nexport function automationCreationContext(): string {\n return `The user wants to create a new ${AUTOMATION_CREATION_SCOPE} automation. Use manage-automations with action=define to create it. Ask clarifying questions if needed about what event to trigger on, conditions, and what actions to take.`;\n}\n\nexport function AutomationsList({\n scope = \"user\",\n compact = false,\n emptyMessage,\n emptyState,\n}: AutomationsListProps) {\n const t = useT();\n const { formatDate } = useFormatters();\n const query = useAutomations(scope);\n const mutation = useManageAutomation(scope);\n const [deleteTarget, setDeleteTarget] = useState<Automation | null>(null);\n const [detailsTarget, setDetailsTarget] = useState<Automation | null>(null);\n\n const formatDateTime = (value: string | null) => {\n if (!value || Number.isNaN(new Date(value).getTime())) return null;\n return formatDate(value, {\n month: \"short\",\n day: \"numeric\",\n hour: \"numeric\",\n minute: \"2-digit\",\n });\n };\n\n if (query.isLoading) {\n return (\n <div\n className=\"flex items-center gap-2 text-sm text-muted-foreground\"\n aria-busy=\"true\"\n >\n <IconLoader2 className=\"size-4 animate-spin\" />\n {t(\"jobs.loading\", { defaultValue: \"Loading…\" })}\n </div>\n );\n }\n\n if (query.error) {\n return (\n <p className=\"text-sm text-destructive\">\n {t(\"jobs.automationsLoadError\", {\n defaultValue: \"Could not load automations.\",\n })}\n </p>\n );\n }\n\n const automations = query.data ?? [];\n if (automations.length === 0) {\n if (emptyState) return emptyState;\n return (\n <AgentEmptyState\n icon={IconBolt}\n title={t(\"jobs.automationsEmptyTitle\", {\n defaultValue: \"No automations yet\",\n })}\n description={\n emptyMessage ??\n t(\"jobs.automationsEmptyDescription\", {\n defaultValue: \"Describe what should happen and when.\",\n })\n }\n action={\n <AgentAskPopover\n context={automationCreationContext()}\n prompt={t(\"jobs.automationPrompt\", {\n defaultValue: \"Create an automation that does this: \",\n })}\n title={t(\"jobs.automationsCreateTitle\", {\n defaultValue: \"Create an automation\",\n })}\n />\n }\n />\n );\n }\n\n return (\n <div className={compact ? \"space-y-2\" : \"space-y-3\"}>\n {automations.map((automation) => {\n const lastRun = formatDateTime(automation.lastRun);\n const nextRun = formatDateTime(automation.nextRun);\n const trigger =\n automation.triggerType === \"event\"\n ? t(\"jobs.automationEventTrigger\", {\n defaultValue: \"On {{event}}\",\n event: automation.event ?? \"event\",\n })\n : (automation.scheduleDescription ??\n automation.schedule ??\n t(\"jobs.automationScheduleTrigger\", {\n defaultValue: \"Scheduled task\",\n }));\n\n return (\n <article\n key={automation.id}\n className=\"rounded-lg border border-border bg-card p-3\"\n >\n <div className=\"flex items-start gap-3\">\n <div className=\"mt-0.5 text-muted-foreground\">\n {automation.triggerType === \"event\" ? (\n <IconBolt className=\"size-4\" />\n ) : (\n <IconClock className=\"size-4\" />\n )}\n </div>\n <div className=\"min-w-0 flex-1\">\n <div className=\"flex flex-wrap items-center gap-2\">\n <h3 className=\"truncate text-sm font-medium text-foreground\">\n {automation.name.replace(/-/g, \" \")}\n </h3>\n <span\n className={\n automation.enabled\n ? \"rounded-full bg-emerald-500/15 px-2 py-0.5 text-[10px] font-medium text-emerald-600 dark:text-emerald-400\"\n : \"rounded-full bg-muted px-2 py-0.5 text-[10px] font-medium text-muted-foreground\"\n }\n >\n {automation.enabled\n ? t(\"jobs.enabled\", { defaultValue: \"Enabled\" })\n : t(\"jobs.disabled\", { defaultValue: \"Disabled\" })}\n </span>\n {automation.lastStatus ? (\n <span className=\"rounded-full bg-muted px-2 py-0.5 text-[10px] font-medium text-muted-foreground\">\n {automation.lastStatus}\n </span>\n ) : null}\n </div>\n <p className=\"mt-1 text-xs text-muted-foreground\">{trigger}</p>\n <p className=\"mt-1 line-clamp-2 text-xs text-muted-foreground/80\">\n {automation.body}\n </p>\n {lastRun || nextRun ? (\n <div className=\"mt-2 flex flex-wrap gap-x-4 gap-y-1 text-[11px] text-muted-foreground\">\n {lastRun ? (\n <span>\n {t(\"jobs.lastRun\", { defaultValue: \"Last run\" })}:{\" \"}\n {lastRun}\n </span>\n ) : null}\n {nextRun ? (\n <span>\n {t(\"jobs.nextRun\", { defaultValue: \"Next run\" })}:{\" \"}\n {nextRun}\n </span>\n ) : null}\n </div>\n ) : null}\n </div>\n <div className=\"flex shrink-0 items-center gap-1\">\n <Button\n type=\"button\"\n variant=\"ghost\"\n size=\"sm\"\n className=\"cursor-pointer px-2 text-xs\"\n onClick={() => setDetailsTarget(automation)}\n >\n <IconEye className=\"size-3.5\" />\n {t(\"jobs.details\", { defaultValue: \"Details\" })}\n </Button>\n {automation.canUpdate ? (\n <>\n <Button\n type=\"button\"\n variant=\"ghost\"\n size=\"sm\"\n className=\"cursor-pointer px-2 text-xs\"\n disabled={mutation.isPending}\n onClick={() =>\n mutation.mutate({\n operation: \"update\",\n name: automation.name,\n scope: automation.scope,\n enabled: !automation.enabled,\n })\n }\n >\n {automation.enabled ? (\n <IconPlayerPause className=\"size-3.5\" />\n ) : (\n <IconPlayerPlay className=\"size-3.5\" />\n )}\n {automation.enabled\n ? t(\"jobs.pause\", { defaultValue: \"Pause\" })\n : t(\"jobs.resume\", { defaultValue: \"Resume\" })}\n </Button>\n <Button\n type=\"button\"\n variant=\"ghost\"\n size=\"icon\"\n className=\"size-8 cursor-pointer text-muted-foreground hover:text-destructive\"\n aria-label={t(\"jobs.delete\", { defaultValue: \"Delete\" })}\n onClick={() => setDeleteTarget(automation)}\n >\n <IconTrash className=\"size-3.5\" />\n </Button>\n </>\n ) : null}\n </div>\n </div>\n </article>\n );\n })}\n\n {mutation.error ? (\n <p className=\"text-sm text-destructive\">\n {mutation.error.message ||\n t(\"jobs.automationUpdateError\", {\n defaultValue: \"Could not update automation.\",\n })}\n </p>\n ) : null}\n\n <Dialog\n open={deleteTarget !== null}\n onOpenChange={(open) => {\n if (!open && !mutation.isPending) setDeleteTarget(null);\n }}\n >\n <DialogContent>\n <DialogHeader>\n <DialogTitle>\n {t(\"jobs.deleteAutomationTitle\", {\n defaultValue: \"Delete automation?\",\n })}\n </DialogTitle>\n <DialogDescription>\n {t(\"jobs.deleteAutomationDescription\", {\n defaultValue:\n \"This permanently removes the automation and cannot be undone.\",\n })}\n </DialogDescription>\n </DialogHeader>\n <DialogFooter>\n <Button\n type=\"button\"\n variant=\"outline\"\n className=\"cursor-pointer\"\n disabled={mutation.isPending}\n onClick={() => setDeleteTarget(null)}\n >\n {t(\"jobs.cancel\", { defaultValue: \"Cancel\" })}\n </Button>\n <Button\n type=\"button\"\n variant=\"destructive\"\n className=\"cursor-pointer\"\n disabled={mutation.isPending}\n onClick={() => {\n if (!deleteTarget) return;\n mutation.mutate(\n {\n operation: \"delete\",\n name: deleteTarget.name,\n scope: deleteTarget.scope,\n },\n { onSuccess: () => setDeleteTarget(null) },\n );\n }}\n >\n {mutation.isPending ? (\n <IconLoader2 className=\"size-4 animate-spin\" />\n ) : null}\n {t(\"jobs.delete\", { defaultValue: \"Delete\" })}\n </Button>\n </DialogFooter>\n </DialogContent>\n </Dialog>\n\n <Dialog\n open={detailsTarget !== null}\n onOpenChange={(open) => {\n if (!open) setDetailsTarget(null);\n }}\n >\n <DialogContent className=\"max-w-2xl\">\n <DialogHeader>\n <DialogTitle>\n {detailsTarget?.name.replace(/-/g, \" \") ??\n t(\"jobs.automationDetails\", {\n defaultValue: \"Automation details\",\n })}\n </DialogTitle>\n <DialogDescription>\n {detailsTarget\n ? detailsTarget.triggerType === \"event\"\n ? t(\"jobs.automationEventDetails\", {\n defaultValue: \"Runs when {{event}}.\",\n event: detailsTarget.event ?? \"an event fires\",\n })\n : (detailsTarget.scheduleDescription ??\n detailsTarget.schedule ??\n t(\"jobs.automationScheduleTrigger\", {\n defaultValue: \"Scheduled task\",\n }))\n : null}\n </DialogDescription>\n </DialogHeader>\n {detailsTarget ? (\n <div className=\"space-y-3\">\n {detailsTarget.condition ? (\n <div>\n <p className=\"text-xs font-medium text-foreground\">\n {t(\"jobs.condition\", { defaultValue: \"Condition\" })}\n </p>\n <p className=\"mt-1 text-sm text-muted-foreground\">\n {detailsTarget.condition}\n </p>\n </div>\n ) : null}\n <div>\n <p className=\"text-xs font-medium text-foreground\">\n {t(\"jobs.instructions\", { defaultValue: \"Instructions\" })}\n </p>\n <p className=\"mt-1 whitespace-pre-wrap text-sm text-muted-foreground\">\n {detailsTarget.body}\n </p>\n </div>\n </div>\n ) : null}\n </DialogContent>\n </Dialog>\n </div>\n );\n}\n\nexport function AutomationsSection() {\n const t = useT();\n const { data: automations = [] } = useAutomations(\"user\");\n const [newOpen, setNewOpen] = useState(false);\n const [toast, setToast] = useState<{\n kind: \"ok\" | \"err\";\n text: string;\n } | null>(null);\n\n const showToast = useCallback(\n (kind: \"ok\" | \"err\", text: string, ms = 2500) => {\n setToast({ kind, text });\n window.setTimeout(() => setToast(null), ms);\n },\n [],\n );\n\n const handleFireTestEvent = useCallback(async () => {\n showToast(\n \"ok\",\n t(\"jobs.firingTestEvent\", { defaultValue: \"Firing test event…\" }),\n );\n try {\n const res = await fetch(\n agentNativePath(\"/_agent-native/automations/fire-test\"),\n {\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n body: JSON.stringify({ data: {} }),\n },\n );\n if (!res.ok) {\n showToast(\n \"err\",\n t(\"jobs.fireEventError\", {\n defaultValue: \"Failed to fire event ({{status}})\",\n status: res.status,\n }),\n );\n return;\n }\n showToast(\"ok\", t(\"jobs.eventFired\", { defaultValue: \"Event fired\" }));\n } catch (err: unknown) {\n showToast(\n \"err\",\n err instanceof Error\n ? err.message\n : t(\"jobs.fireEventErrorGeneric\", {\n defaultValue: \"Failed to fire event.\",\n }),\n );\n }\n }, [showToast, t]);\n\n const handleNewSubmit = useCallback((text: string) => {\n const trimmed = text.trim();\n if (!trimmed) return;\n window.dispatchEvent(\n new CustomEvent(\"agent-panel:set-mode\", {\n detail: { mode: \"chat\" },\n }),\n );\n sendToAgentChat({\n message: trimmed,\n context: automationCreationContext(),\n submit: true,\n newTab: true,\n });\n setNewOpen(false);\n }, []);\n\n return (\n <div className=\"space-y-2\">\n <div className=\"flex items-center gap-1.5\">\n <Popover open={newOpen} onOpenChange={setNewOpen}>\n <PopoverTrigger asChild>\n <Button\n type=\"button\"\n variant=\"outline\"\n size=\"sm\"\n className=\"cursor-pointer\"\n >\n <IconPlus className=\"size-3.5\" />\n {t(\"jobs.newAutomation\", { defaultValue: \"New automation\" })}\n </Button>\n </PopoverTrigger>\n <PopoverContent\n align=\"start\"\n sideOffset={6}\n collisionPadding={8}\n className=\"z-[260] w-[calc(100vw-24px)] max-w-[380px] p-3\"\n >\n <p className=\"px-1 pb-2 text-sm font-semibold text-foreground\">\n {t(\"jobs.newAutomation\", { defaultValue: \"New automation\" })}\n </p>\n <PromptComposer\n autoFocus\n placeholder={t(\"jobs.automationPlaceholder\", {\n defaultValue: \"Describe what you want to automate…\",\n })}\n draftScope=\"automations:create\"\n onSubmit={handleNewSubmit}\n />\n </PopoverContent>\n </Popover>\n {automations.length > 0 ? (\n <Button\n type=\"button\"\n variant=\"outline\"\n size=\"sm\"\n className=\"cursor-pointer\"\n onClick={handleFireTestEvent}\n >\n <IconPlayerPlay className=\"size-3.5\" />\n {t(\"jobs.fireTestEvent\", { defaultValue: \"Fire test event\" })}\n </Button>\n ) : null}\n </div>\n {toast ? (\n <p\n className={\n toast.kind === \"ok\"\n ? \"text-xs text-emerald-600\"\n : \"text-xs text-destructive\"\n }\n >\n {toast.text}\n </p>\n ) : null}\n <AutomationsList\n scope=\"user\"\n compact\n emptyMessage={t(\"jobs.automationsEmptySettings\", {\n defaultValue: \"Describe what should happen and when.\",\n })}\n />\n </div>\n );\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/client/sharing/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACtE,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,kBAAkB,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/client/sharing/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACtE,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/client/sharing/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAyB,MAAM,kBAAkB,CAAC;AACtE,OAAO,EAAE,WAAW,EAAyB,MAAM,kBAAkB,CAAC
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/client/sharing/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAyB,MAAM,kBAAkB,CAAC;AACtE,OAAO,EAAE,WAAW,EAAyB,MAAM,kBAAkB,CAAC","sourcesContent":["export { ShareDialog, type ShareDialogProps } from \"./ShareDialog.js\";\nexport { ShareButton, type ShareButtonProps } from \"./ShareButton.js\";\n"]}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { type DeprecatedExport } from "../../package-lifecycle/upgrade-error.js";
|
|
2
|
+
/** @deprecated @agent-native/core/client/components/AgentPresenceChip moved to @agent-native/toolkit/collab-ui. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
3
|
+
export declare const AgentPresenceChip: DeprecatedExport<"@agent-native/core/client/components/AgentPresenceChip moved to @agent-native/toolkit/collab-ui. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
4
|
+
/** @deprecated @agent-native/core/client/components/AgentPresenceChip moved to @agent-native/toolkit/collab-ui. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
5
|
+
export type AgentPresenceChipProps = DeprecatedExport<"@agent-native/core/client/components/AgentPresenceChip moved to @agent-native/toolkit/collab-ui. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
6
|
+
//# sourceMappingURL=agent-presence-chip.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agent-presence-chip.d.ts","sourceRoot":"","sources":["../../../src/client/tombstone/agent-presence-chip.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,gBAAgB,EACtB,MAAM,0CAA0C,CAAC;AAOlD,yKAAyK;AACzK,eAAO,MAAM,iBAAiB,EACf,gBAAgB,CAAC,wJAAwJ,CAAC,CAAC;AAE1L,yKAAyK;AACzK,MAAM,MAAM,sBAAsB,GAChC,gBAAgB,CAAC,wJAAwJ,CAAC,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { throwMovedAgentNativeModule, } from "../../package-lifecycle/upgrade-error.js";
|
|
2
|
+
throwMovedAgentNativeModule("@agent-native/core/client/components/AgentPresenceChip", "@agent-native/toolkit/collab-ui");
|
|
3
|
+
/** @deprecated @agent-native/core/client/components/AgentPresenceChip moved to @agent-native/toolkit/collab-ui. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
4
|
+
export const AgentPresenceChip = undefined;
|
|
5
|
+
//# sourceMappingURL=agent-presence-chip.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agent-presence-chip.js","sourceRoot":"","sources":["../../../src/client/tombstone/agent-presence-chip.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,GAE5B,MAAM,0CAA0C,CAAC;AAElD,2BAA2B,CACzB,wDAAwD,EACxD,iCAAiC,CAClC,CAAC;AAEF,yKAAyK;AACzK,MAAM,CAAC,MAAM,iBAAiB,GAC5B,SAAuL,CAAC","sourcesContent":["import {\n throwMovedAgentNativeModule,\n type DeprecatedExport,\n} from \"../../package-lifecycle/upgrade-error.js\";\n\nthrowMovedAgentNativeModule(\n \"@agent-native/core/client/components/AgentPresenceChip\",\n \"@agent-native/toolkit/collab-ui\",\n);\n\n/** @deprecated @agent-native/core/client/components/AgentPresenceChip moved to @agent-native/toolkit/collab-ui. Run: npx @agent-native/core@latest upgrade --codemods */\nexport const AgentPresenceChip =\n undefined as DeprecatedExport<\"@agent-native/core/client/components/AgentPresenceChip moved to @agent-native/toolkit/collab-ui. Run: npx @agent-native/core@latest upgrade --codemods\">;\n\n/** @deprecated @agent-native/core/client/components/AgentPresenceChip moved to @agent-native/toolkit/collab-ui. Run: npx @agent-native/core@latest upgrade --codemods */\nexport type AgentPresenceChipProps =\n DeprecatedExport<\"@agent-native/core/client/components/AgentPresenceChip moved to @agent-native/toolkit/collab-ui. Run: npx @agent-native/core@latest upgrade --codemods\">;\n"]}
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import { type DeprecatedExport } from "../../package-lifecycle/upgrade-error.js";
|
|
2
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
3
|
+
export declare const BubbleToolbar: DeprecatedExport<"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
4
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
5
|
+
export declare const DEFAULT_CODE_LANGUAGES: DeprecatedExport<"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
6
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
7
|
+
export declare const DEFAULT_DRAG_HANDLE_WRAPPER_SELECTOR: DeprecatedExport<"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
8
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
9
|
+
export declare const DEFAULT_SLASH_COMMANDS: DeprecatedExport<"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
10
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
11
|
+
export declare const DragHandle: DeprecatedExport<"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
12
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
13
|
+
export declare const MARKDOWN_DIALECT_CONFIG: DeprecatedExport<"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
14
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
15
|
+
export declare const RICH_MARKDOWN_PROGRAMMATIC_TRANSACTION: DeprecatedExport<"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
16
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
17
|
+
export declare const RUN_ID_NODE_TYPES: DeprecatedExport<"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
18
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/core/blocks. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
19
|
+
export declare const RegistryBlockDataProvider: DeprecatedExport<"@agent-native/core/client/editor moved to @agent-native/core/blocks. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
20
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
21
|
+
export declare const RegistryBlockNodeView: DeprecatedExport<"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
22
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
23
|
+
export declare const RichMarkdownEditor: DeprecatedExport<"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
24
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
25
|
+
export declare const RunId: DeprecatedExport<"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
26
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
27
|
+
export declare const SharedImage: DeprecatedExport<"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
28
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
29
|
+
export declare const SharedRichEditor: DeprecatedExport<"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
30
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
31
|
+
export declare const SlashCommandMenu: DeprecatedExport<"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
32
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
33
|
+
export declare const applyDocSurgically: DeprecatedExport<"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
34
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
35
|
+
export declare const buildDefaultBubbleItems: DeprecatedExport<"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
36
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
37
|
+
export declare const buildRegistryBlockSlashItems: DeprecatedExport<"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
38
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
39
|
+
export declare const createCodeBlockNode: DeprecatedExport<"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
40
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
41
|
+
export declare const createImageExtension: DeprecatedExport<"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
42
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
43
|
+
export declare const createImageSlashCommand: DeprecatedExport<"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
44
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
45
|
+
export declare const createRegistryBlockNode: DeprecatedExport<"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
46
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
47
|
+
export declare const createRichMarkdownExtensions: DeprecatedExport<"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
48
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
49
|
+
export declare const createSharedEditorExtensions: DeprecatedExport<"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
50
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
51
|
+
export declare const defaultParseValue: DeprecatedExport<"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
52
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
53
|
+
export declare const diffTopLevel: DeprecatedExport<"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
54
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
55
|
+
export declare const getEditorMarkdown: DeprecatedExport<"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
56
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
57
|
+
export declare const getRegistryBlockSlashDescription: DeprecatedExport<"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
58
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
59
|
+
export declare const getRegistryBlockSlashSearchText: DeprecatedExport<"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
60
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
61
|
+
export declare const gfmToProseJSON: DeprecatedExport<"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
62
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
63
|
+
export declare const pickAndInsertImage: DeprecatedExport<"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
64
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
65
|
+
export declare const proseJSONToGfm: DeprecatedExport<"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
66
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/core/client/uploads. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
67
|
+
export declare const uploadEditorImage: DeprecatedExport<"@agent-native/core/client/editor moved to @agent-native/core/client/uploads. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
68
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
69
|
+
export declare const useCollabReconcile: DeprecatedExport<"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
70
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
71
|
+
export declare const useRegistryBlockData: DeprecatedExport<"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
72
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
73
|
+
export type BubbleToolbarItem = DeprecatedExport<"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
74
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
75
|
+
export type BubbleToolbarProps = DeprecatedExport<"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
76
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
77
|
+
export type BuildRegistryBlockSlashItemsOptions = DeprecatedExport<"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
78
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
79
|
+
export type CodeBlockClassNames = DeprecatedExport<"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
80
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
81
|
+
export type CodeLanguageOption = DeprecatedExport<"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
82
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
83
|
+
export type CreateCodeBlockNodeOptions = DeprecatedExport<"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
84
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
85
|
+
export type CreateRegistryBlockNodeOptions = DeprecatedExport<"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
86
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
87
|
+
export type CreateRichMarkdownExtensionsOptions = DeprecatedExport<"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
88
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
89
|
+
export type CreateSharedEditorExtensionsOptions = DeprecatedExport<"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
90
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
91
|
+
export type DragHandleDropContext = DeprecatedExport<"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
92
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
93
|
+
export type DragHandleDropPlacement = DeprecatedExport<"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
94
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
95
|
+
export type DragHandleOptions = DeprecatedExport<"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
96
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
97
|
+
export type ImageUploadFn = DeprecatedExport<"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
98
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
99
|
+
export type RegistryBlockDataValue = DeprecatedExport<"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
100
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
101
|
+
export type RegistryBlockSideMapBlock = DeprecatedExport<"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
102
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
103
|
+
export type RichMarkdownCollabUser = DeprecatedExport<"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
104
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
105
|
+
export type RichMarkdownDialect = DeprecatedExport<"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
106
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
107
|
+
export type RichMarkdownEditorPreset = DeprecatedExport<"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
108
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
109
|
+
export type RichMarkdownEditorProps = DeprecatedExport<"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
110
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
111
|
+
export type SharedEditorCollab = DeprecatedExport<"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
112
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
113
|
+
export type SharedEditorFeatures = DeprecatedExport<"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
114
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
115
|
+
export type SharedImageOptions = DeprecatedExport<"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
116
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
117
|
+
export type SharedRichEditorProps = DeprecatedExport<"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
118
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
119
|
+
export type SlashCommandItem = DeprecatedExport<"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
120
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
121
|
+
export type SlashCommandMenuProps = DeprecatedExport<"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
122
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
123
|
+
export type TopLevelDiff = DeprecatedExport<"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
124
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
125
|
+
export type UseCollabReconcileOptions = DeprecatedExport<"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
126
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
127
|
+
export type UseCollabReconcileResult = DeprecatedExport<"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
128
|
+
//# sourceMappingURL=editor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"editor.d.ts","sourceRoot":"","sources":["../../../src/client/tombstone/editor.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,gBAAgB,EACtB,MAAM,0CAA0C,CAAC;AAWlD,gJAAgJ;AAChJ,eAAO,MAAM,aAAa,EACX,gBAAgB,CAAC,+HAA+H,CAAC,CAAC;AAEjK,gJAAgJ;AAChJ,eAAO,MAAM,sBAAsB,EACpB,gBAAgB,CAAC,+HAA+H,CAAC,CAAC;AAEjK,gJAAgJ;AAChJ,eAAO,MAAM,oCAAoC,EAClC,gBAAgB,CAAC,+HAA+H,CAAC,CAAC;AAEjK,gJAAgJ;AAChJ,eAAO,MAAM,sBAAsB,EACpB,gBAAgB,CAAC,+HAA+H,CAAC,CAAC;AAEjK,gJAAgJ;AAChJ,eAAO,MAAM,UAAU,EACR,gBAAgB,CAAC,+HAA+H,CAAC,CAAC;AAEjK,gJAAgJ;AAChJ,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AgB,CAAC,+HAA+H,CAAC,CAAC"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { throwMovedAgentNativeModule, } from "../../package-lifecycle/upgrade-error.js";
|
|
2
|
+
throwMovedAgentNativeModule("@agent-native/core/client/editor", "@agent-native/toolkit/editor", {
|
|
3
|
+
RegistryBlockDataProvider: "@agent-native/core/blocks",
|
|
4
|
+
uploadEditorImage: "@agent-native/core/client/uploads",
|
|
5
|
+
});
|
|
6
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
7
|
+
export const BubbleToolbar = undefined;
|
|
8
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
9
|
+
export const DEFAULT_CODE_LANGUAGES = undefined;
|
|
10
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
11
|
+
export const DEFAULT_DRAG_HANDLE_WRAPPER_SELECTOR = undefined;
|
|
12
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
13
|
+
export const DEFAULT_SLASH_COMMANDS = undefined;
|
|
14
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
15
|
+
export const DragHandle = undefined;
|
|
16
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
17
|
+
export const MARKDOWN_DIALECT_CONFIG = undefined;
|
|
18
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
19
|
+
export const RICH_MARKDOWN_PROGRAMMATIC_TRANSACTION = undefined;
|
|
20
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
21
|
+
export const RUN_ID_NODE_TYPES = undefined;
|
|
22
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/core/blocks. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
23
|
+
export const RegistryBlockDataProvider = undefined;
|
|
24
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
25
|
+
export const RegistryBlockNodeView = undefined;
|
|
26
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
27
|
+
export const RichMarkdownEditor = undefined;
|
|
28
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
29
|
+
export const RunId = undefined;
|
|
30
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
31
|
+
export const SharedImage = undefined;
|
|
32
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
33
|
+
export const SharedRichEditor = undefined;
|
|
34
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
35
|
+
export const SlashCommandMenu = undefined;
|
|
36
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
37
|
+
export const applyDocSurgically = undefined;
|
|
38
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
39
|
+
export const buildDefaultBubbleItems = undefined;
|
|
40
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
41
|
+
export const buildRegistryBlockSlashItems = undefined;
|
|
42
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
43
|
+
export const createCodeBlockNode = undefined;
|
|
44
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
45
|
+
export const createImageExtension = undefined;
|
|
46
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
47
|
+
export const createImageSlashCommand = undefined;
|
|
48
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
49
|
+
export const createRegistryBlockNode = undefined;
|
|
50
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
51
|
+
export const createRichMarkdownExtensions = undefined;
|
|
52
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
53
|
+
export const createSharedEditorExtensions = undefined;
|
|
54
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
55
|
+
export const defaultParseValue = undefined;
|
|
56
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
57
|
+
export const diffTopLevel = undefined;
|
|
58
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
59
|
+
export const getEditorMarkdown = undefined;
|
|
60
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
61
|
+
export const getRegistryBlockSlashDescription = undefined;
|
|
62
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
63
|
+
export const getRegistryBlockSlashSearchText = undefined;
|
|
64
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
65
|
+
export const gfmToProseJSON = undefined;
|
|
66
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
67
|
+
export const pickAndInsertImage = undefined;
|
|
68
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
69
|
+
export const proseJSONToGfm = undefined;
|
|
70
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/core/client/uploads. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
71
|
+
export const uploadEditorImage = undefined;
|
|
72
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
73
|
+
export const useCollabReconcile = undefined;
|
|
74
|
+
/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
75
|
+
export const useRegistryBlockData = undefined;
|
|
76
|
+
//# sourceMappingURL=editor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"editor.js","sourceRoot":"","sources":["../../../src/client/tombstone/editor.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,GAE5B,MAAM,0CAA0C,CAAC;AAElD,2BAA2B,CACzB,kCAAkC,EAClC,8BAA8B,EAC9B;IACE,yBAAyB,EAAE,2BAA2B;IACtD,iBAAiB,EAAE,mCAAmC;CACvD,CACF,CAAC;AAEF,gJAAgJ;AAChJ,MAAM,CAAC,MAAM,aAAa,GACxB,SAA8J,CAAC;AAEjK,gJAAgJ;AAChJ,MAAM,CAAC,M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"@agent-native/toolkit/editor\",\n {\n RegistryBlockDataProvider: \"@agent-native/core/blocks\",\n uploadEditorImage: \"@agent-native/core/client/uploads\",\n },\n);\n\n/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */\nexport const BubbleToolbar =\n undefined as DeprecatedExport<\"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods\">;\n\n/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */\nexport const DEFAULT_CODE_LANGUAGES =\n undefined as DeprecatedExport<\"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods\">;\n\n/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */\nexport const DEFAULT_DRAG_HANDLE_WRAPPER_SELECTOR =\n undefined as DeprecatedExport<\"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods\">;\n\n/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */\nexport const DEFAULT_SLASH_COMMANDS =\n undefined as DeprecatedExport<\"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods\">;\n\n/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */\nexport const DragHandle =\n undefined as DeprecatedExport<\"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods\">;\n\n/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */\nexport const MARKDOWN_DIALECT_CONFIG =\n undefined as DeprecatedExport<\"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods\">;\n\n/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */\nexport const RICH_MARKDOWN_PROGRAMMATIC_TRANSACTION =\n undefined as DeprecatedExport<\"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods\">;\n\n/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */\nexport const RUN_ID_NODE_TYPES =\n undefined as DeprecatedExport<\"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods\">;\n\n/** @deprecated @agent-native/core/client/editor moved to @agent-native/core/blocks. Run: npx @agent-native/core@latest upgrade --codemods */\nexport const RegistryBlockDataProvider =\n undefined as DeprecatedExport<\"@agent-native/core/client/editor moved to @agent-native/core/blocks. Run: npx @agent-native/core@latest upgrade --codemods\">;\n\n/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */\nexport const RegistryBlockNodeView =\n undefined as DeprecatedExport<\"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods\">;\n\n/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */\nexport const RichMarkdownEditor =\n undefined as DeprecatedExport<\"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods\">;\n\n/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */\nexport const RunId =\n undefined as DeprecatedExport<\"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods\">;\n\n/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */\nexport const SharedImage =\n undefined as DeprecatedExport<\"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods\">;\n\n/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */\nexport const SharedRichEditor =\n undefined as DeprecatedExport<\"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods\">;\n\n/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */\nexport const SlashCommandMenu =\n undefined as DeprecatedExport<\"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods\">;\n\n/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */\nexport const applyDocSurgically =\n undefined as DeprecatedExport<\"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods\">;\n\n/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */\nexport const buildDefaultBubbleItems =\n undefined as DeprecatedExport<\"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods\">;\n\n/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */\nexport const buildRegistryBlockSlashItems =\n undefined as DeprecatedExport<\"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods\">;\n\n/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */\nexport const createCodeBlockNode =\n undefined as DeprecatedExport<\"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods\">;\n\n/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */\nexport const createImageExtension =\n undefined as DeprecatedExport<\"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods\">;\n\n/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */\nexport const createImageSlashCommand =\n undefined as DeprecatedExport<\"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods\">;\n\n/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */\nexport const createRegistryBlockNode =\n undefined as DeprecatedExport<\"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods\">;\n\n/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */\nexport const createRichMarkdownExtensions =\n undefined as DeprecatedExport<\"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods\">;\n\n/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */\nexport const createSharedEditorExtensions =\n undefined as DeprecatedExport<\"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods\">;\n\n/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */\nexport const defaultParseValue =\n undefined as DeprecatedExport<\"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods\">;\n\n/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */\nexport const diffTopLevel =\n undefined as DeprecatedExport<\"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods\">;\n\n/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */\nexport const getEditorMarkdown =\n undefined as DeprecatedExport<\"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods\">;\n\n/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */\nexport const getRegistryBlockSlashDescription =\n undefined as DeprecatedExport<\"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods\">;\n\n/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */\nexport const getRegistryBlockSlashSearchText =\n undefined as DeprecatedExport<\"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods\">;\n\n/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */\nexport const gfmToProseJSON =\n undefined as DeprecatedExport<\"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods\">;\n\n/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */\nexport const pickAndInsertImage =\n undefined as DeprecatedExport<\"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods\">;\n\n/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */\nexport const proseJSONToGfm =\n undefined as DeprecatedExport<\"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods\">;\n\n/** @deprecated @agent-native/core/client/editor moved to @agent-native/core/client/uploads. Run: npx @agent-native/core@latest upgrade --codemods */\nexport const uploadEditorImage =\n undefined as DeprecatedExport<\"@agent-native/core/client/editor moved to @agent-native/core/client/uploads. Run: npx @agent-native/core@latest upgrade --codemods\">;\n\n/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */\nexport const useCollabReconcile =\n undefined as DeprecatedExport<\"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods\">;\n\n/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */\nexport const useRegistryBlockData =\n undefined as DeprecatedExport<\"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods\">;\n\n/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */\nexport type BubbleToolbarItem =\n DeprecatedExport<\"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods\">;\n\n/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */\nexport type BubbleToolbarProps =\n DeprecatedExport<\"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods\">;\n\n/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */\nexport type BuildRegistryBlockSlashItemsOptions =\n DeprecatedExport<\"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods\">;\n\n/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */\nexport type CodeBlockClassNames =\n DeprecatedExport<\"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods\">;\n\n/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */\nexport type CodeLanguageOption =\n DeprecatedExport<\"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods\">;\n\n/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */\nexport type CreateCodeBlockNodeOptions =\n DeprecatedExport<\"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods\">;\n\n/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */\nexport type CreateRegistryBlockNodeOptions =\n DeprecatedExport<\"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods\">;\n\n/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */\nexport type CreateRichMarkdownExtensionsOptions =\n DeprecatedExport<\"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods\">;\n\n/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */\nexport type CreateSharedEditorExtensionsOptions =\n DeprecatedExport<\"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods\">;\n\n/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */\nexport type DragHandleDropContext =\n DeprecatedExport<\"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods\">;\n\n/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */\nexport type DragHandleDropPlacement =\n DeprecatedExport<\"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods\">;\n\n/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */\nexport type DragHandleOptions =\n DeprecatedExport<\"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods\">;\n\n/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */\nexport type ImageUploadFn =\n DeprecatedExport<\"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods\">;\n\n/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */\nexport type RegistryBlockDataValue =\n DeprecatedExport<\"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods\">;\n\n/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */\nexport type RegistryBlockSideMapBlock =\n DeprecatedExport<\"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods\">;\n\n/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */\nexport type RichMarkdownCollabUser =\n DeprecatedExport<\"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods\">;\n\n/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */\nexport type RichMarkdownDialect =\n DeprecatedExport<\"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods\">;\n\n/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */\nexport type RichMarkdownEditorPreset =\n DeprecatedExport<\"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods\">;\n\n/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */\nexport type RichMarkdownEditorProps =\n DeprecatedExport<\"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods\">;\n\n/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */\nexport type SharedEditorCollab =\n DeprecatedExport<\"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods\">;\n\n/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */\nexport type SharedEditorFeatures =\n DeprecatedExport<\"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods\">;\n\n/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */\nexport type SharedImageOptions =\n DeprecatedExport<\"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods\">;\n\n/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */\nexport type SharedRichEditorProps =\n DeprecatedExport<\"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods\">;\n\n/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */\nexport type SlashCommandItem =\n DeprecatedExport<\"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods\">;\n\n/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */\nexport type SlashCommandMenuProps =\n DeprecatedExport<\"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods\">;\n\n/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */\nexport type TopLevelDiff =\n DeprecatedExport<\"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods\">;\n\n/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */\nexport type UseCollabReconcileOptions =\n DeprecatedExport<\"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods\">;\n\n/** @deprecated @agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods */\nexport type UseCollabReconcileResult =\n DeprecatedExport<\"@agent-native/core/client/editor moved to @agent-native/toolkit/editor. Run: npx @agent-native/core@latest upgrade --codemods\">;\n"]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type DeprecatedExport } from "../../package-lifecycle/upgrade-error.js";
|
|
2
|
+
/** @deprecated @agent-native/core/client/components/LiveCursorOverlay moved to @agent-native/toolkit/collab-ui. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
3
|
+
export declare const LiveCursorOverlay: DeprecatedExport<"@agent-native/core/client/components/LiveCursorOverlay moved to @agent-native/toolkit/collab-ui. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
4
|
+
/** @deprecated @agent-native/core/client/components/LiveCursorOverlay moved to @agent-native/toolkit/collab-ui. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
5
|
+
export type CursorMapFn = DeprecatedExport<"@agent-native/core/client/components/LiveCursorOverlay moved to @agent-native/toolkit/collab-ui. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
6
|
+
/** @deprecated @agent-native/core/client/components/LiveCursorOverlay moved to @agent-native/toolkit/collab-ui. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
7
|
+
export type LiveCursorOverlayProps = DeprecatedExport<"@agent-native/core/client/components/LiveCursorOverlay moved to @agent-native/toolkit/collab-ui. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
8
|
+
//# sourceMappingURL=live-cursor-overlay.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"live-cursor-overlay.d.ts","sourceRoot":"","sources":["../../../src/client/tombstone/live-cursor-overlay.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,gBAAgB,EACtB,MAAM,0CAA0C,CAAC;AAOlD,yKAAyK;AACzK,eAAO,MAAM,iBAAiB,EACf,gBAAgB,CAAC,wJAAwJ,CAAC,CAAC;AAE1L,yKAAyK;AACzK,MAAM,MAAM,WAAW,GACrB,gBAAgB,CAAC,wJAAwJ,CAAC,CAAC;AAE7K,yKAAyK;AACzK,MAAM,MAAM,sBAAsB,GAChC,gBAAgB,CAAC,wJAAwJ,CAAC,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { throwMovedAgentNativeModule, } from "../../package-lifecycle/upgrade-error.js";
|
|
2
|
+
throwMovedAgentNativeModule("@agent-native/core/client/components/LiveCursorOverlay", "@agent-native/toolkit/collab-ui");
|
|
3
|
+
/** @deprecated @agent-native/core/client/components/LiveCursorOverlay moved to @agent-native/toolkit/collab-ui. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
4
|
+
export const LiveCursorOverlay = undefined;
|
|
5
|
+
//# sourceMappingURL=live-cursor-overlay.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"live-cursor-overlay.js","sourceRoot":"","sources":["../../../src/client/tombstone/live-cursor-overlay.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,GAE5B,MAAM,0CAA0C,CAAC;AAElD,2BAA2B,CACzB,wDAAwD,EACxD,iCAAiC,CAClC,CAAC;AAEF,yKAAyK;AACzK,MAAM,CAAC,MAAM,iBAAiB,GAC5B,SAAuL,CAAC","sourcesContent":["import {\n throwMovedAgentNativeModule,\n type DeprecatedExport,\n} from \"../../package-lifecycle/upgrade-error.js\";\n\nthrowMovedAgentNativeModule(\n \"@agent-native/core/client/components/LiveCursorOverlay\",\n \"@agent-native/toolkit/collab-ui\",\n);\n\n/** @deprecated @agent-native/core/client/components/LiveCursorOverlay moved to @agent-native/toolkit/collab-ui. Run: npx @agent-native/core@latest upgrade --codemods */\nexport const LiveCursorOverlay =\n undefined as DeprecatedExport<\"@agent-native/core/client/components/LiveCursorOverlay moved to @agent-native/toolkit/collab-ui. Run: npx @agent-native/core@latest upgrade --codemods\">;\n\n/** @deprecated @agent-native/core/client/components/LiveCursorOverlay moved to @agent-native/toolkit/collab-ui. Run: npx @agent-native/core@latest upgrade --codemods */\nexport type CursorMapFn =\n DeprecatedExport<\"@agent-native/core/client/components/LiveCursorOverlay moved to @agent-native/toolkit/collab-ui. Run: npx @agent-native/core@latest upgrade --codemods\">;\n\n/** @deprecated @agent-native/core/client/components/LiveCursorOverlay moved to @agent-native/toolkit/collab-ui. Run: npx @agent-native/core@latest upgrade --codemods */\nexport type LiveCursorOverlayProps =\n DeprecatedExport<\"@agent-native/core/client/components/LiveCursorOverlay moved to @agent-native/toolkit/collab-ui. Run: npx @agent-native/core@latest upgrade --codemods\">;\n"]}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { type DeprecatedExport } from "../../package-lifecycle/upgrade-error.js";
|
|
2
|
+
/** @deprecated @agent-native/core/client/components/PresenceBar moved to @agent-native/toolkit/collab-ui. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
3
|
+
export declare const PresenceBar: DeprecatedExport<"@agent-native/core/client/components/PresenceBar moved to @agent-native/toolkit/collab-ui. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
4
|
+
/** @deprecated @agent-native/core/client/components/PresenceBar moved to @agent-native/toolkit/collab-ui. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
5
|
+
export type PresenceBarProps = DeprecatedExport<"@agent-native/core/client/components/PresenceBar moved to @agent-native/toolkit/collab-ui. Run: npx @agent-native/core@latest upgrade --codemods">;
|
|
6
|
+
//# sourceMappingURL=presence-bar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"presence-bar.d.ts","sourceRoot":"","sources":["../../../src/client/tombstone/presence-bar.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,gBAAgB,EACtB,MAAM,0CAA0C,CAAC;AAOlD,mKAAmK;AACnK,eAAO,MAAM,WAAW,EACT,gBAAgB,CAAC,kJAAkJ,CAAC,CAAC;AAEpL,mKAAmK;AACnK,MAAM,MAAM,gBAAgB,GAC1B,gBAAgB,CAAC,kJAAkJ,CAAC,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { throwMovedAgentNativeModule, } from "../../package-lifecycle/upgrade-error.js";
|
|
2
|
+
throwMovedAgentNativeModule("@agent-native/core/client/components/PresenceBar", "@agent-native/toolkit/collab-ui");
|
|
3
|
+
/** @deprecated @agent-native/core/client/components/PresenceBar moved to @agent-native/toolkit/collab-ui. Run: npx @agent-native/core@latest upgrade --codemods */
|
|
4
|
+
export const PresenceBar = undefined;
|
|
5
|
+
//# sourceMappingURL=presence-bar.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"presence-bar.js","sourceRoot":"","sources":["../../../src/client/tombstone/presence-bar.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,GAE5B,MAAM,0CAA0C,CAAC;AAElD,2BAA2B,CACzB,kDAAkD,EAClD,iCAAiC,CAClC,CAAC;AAEF,mKAAmK;AACnK,MAAM,CAAC,MAAM,WAAW,GACtB,SAAiL,CAAC","sourcesContent":["import {\n throwMovedAgentNativeModule,\n type DeprecatedExport,\n} from \"../../package-lifecycle/upgrade-error.js\";\n\nthrowMovedAgentNativeModule(\n \"@agent-native/core/client/components/PresenceBar\",\n \"@agent-native/toolkit/collab-ui\",\n);\n\n/** @deprecated @agent-native/core/client/components/PresenceBar moved to @agent-native/toolkit/collab-ui. Run: npx @agent-native/core@latest upgrade --codemods */\nexport const PresenceBar =\n undefined as DeprecatedExport<\"@agent-native/core/client/components/PresenceBar moved to @agent-native/toolkit/collab-ui. Run: npx @agent-native/core@latest upgrade --codemods\">;\n\n/** @deprecated @agent-native/core/client/components/PresenceBar moved to @agent-native/toolkit/collab-ui. Run: npx @agent-native/core@latest upgrade --codemods */\nexport type PresenceBarProps =\n DeprecatedExport<\"@agent-native/core/client/components/PresenceBar moved to @agent-native/toolkit/collab-ui. Run: npx @agent-native/core@latest upgrade --codemods\">;\n"]}
|