daemora 1.0.0-alpha.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/LICENSE +661 -0
- package/README.md +645 -0
- package/crew/_template/plugin.json +18 -0
- package/crew/analyst/plugin.json +29 -0
- package/crew/architect/plugin.json +29 -0
- package/crew/assistant/plugin.json +29 -0
- package/crew/backend/plugin.json +31 -0
- package/crew/devops/plugin.json +30 -0
- package/crew/facebook/plugin.json +36 -0
- package/crew/frontend/plugin.json +30 -0
- package/crew/github/plugin.json +18 -0
- package/crew/gmail/plugin.json +34 -0
- package/crew/google-calendar/plugin.json +26 -0
- package/crew/google-services/plugin.json +25 -0
- package/crew/imessage/plugin.json +24 -0
- package/crew/instagram/plugin.json +34 -0
- package/crew/linkedin/plugin.json +24 -0
- package/crew/meeting-attendant/plugin.json +27 -0
- package/crew/notifications/plugin.json +23 -0
- package/crew/notion/plugin.json +18 -0
- package/crew/planner/plugin.json +25 -0
- package/crew/reddit/plugin.json +32 -0
- package/crew/researcher/plugin.json +29 -0
- package/crew/reviewer/plugin.json +29 -0
- package/crew/security/plugin.json +30 -0
- package/crew/smart-home/plugin.json +23 -0
- package/crew/ssh-remote/plugin.json +28 -0
- package/crew/tiktok/plugin.json +26 -0
- package/crew/twitter/plugin.json +46 -0
- package/crew/video-editor/plugin.json +19 -0
- package/crew/video-editor/rules/3d.md +86 -0
- package/crew/video-editor/rules/animations.md +31 -0
- package/crew/video-editor/rules/assets/charts-bar-chart.tsx +173 -0
- package/crew/video-editor/rules/assets/text-animations-typewriter.tsx +100 -0
- package/crew/video-editor/rules/assets/text-animations-word-highlight.tsx +103 -0
- package/crew/video-editor/rules/assets.md +78 -0
- package/crew/video-editor/rules/audio-visualization.md +198 -0
- package/crew/video-editor/rules/audio.md +169 -0
- package/crew/video-editor/rules/calculate-metadata.md +134 -0
- package/crew/video-editor/rules/can-decode.md +81 -0
- package/crew/video-editor/rules/charts.md +120 -0
- package/crew/video-editor/rules/compositions.md +154 -0
- package/crew/video-editor/rules/cursor-and-clicks.md +108 -0
- package/crew/video-editor/rules/display-captions.md +184 -0
- package/crew/video-editor/rules/extract-frames.md +229 -0
- package/crew/video-editor/rules/ffmpeg.md +34 -0
- package/crew/video-editor/rules/focus-zoom.md +108 -0
- package/crew/video-editor/rules/fonts.md +152 -0
- package/crew/video-editor/rules/get-audio-duration.md +58 -0
- package/crew/video-editor/rules/get-video-dimensions.md +68 -0
- package/crew/video-editor/rules/get-video-duration.md +60 -0
- package/crew/video-editor/rules/gifs.md +141 -0
- package/crew/video-editor/rules/images.md +134 -0
- package/crew/video-editor/rules/import-srt-captions.md +69 -0
- package/crew/video-editor/rules/light-leaks.md +73 -0
- package/crew/video-editor/rules/lottie.md +70 -0
- package/crew/video-editor/rules/maps.md +412 -0
- package/crew/video-editor/rules/measuring-dom-nodes.md +34 -0
- package/crew/video-editor/rules/measuring-text.md +140 -0
- package/crew/video-editor/rules/parameters.md +109 -0
- package/crew/video-editor/rules/sequencing.md +118 -0
- package/crew/video-editor/rules/sfx.md +30 -0
- package/crew/video-editor/rules/silence-detection.md +71 -0
- package/crew/video-editor/rules/subtitles.md +36 -0
- package/crew/video-editor/rules/tailwind.md +11 -0
- package/crew/video-editor/rules/text-animations.md +20 -0
- package/crew/video-editor/rules/theme-switching.md +103 -0
- package/crew/video-editor/rules/timing.md +136 -0
- package/crew/video-editor/rules/transcribe-captions.md +70 -0
- package/crew/video-editor/rules/transitions.md +197 -0
- package/crew/video-editor/rules/transparent-videos.md +106 -0
- package/crew/video-editor/rules/trimming.md +51 -0
- package/crew/video-editor/rules/ui-chrome.md +139 -0
- package/crew/video-editor/rules/videos.md +171 -0
- package/crew/video-editor/rules/voiceover.md +99 -0
- package/crew/video-editor/template/README.md +42 -0
- package/crew/video-editor/template/package.json +24 -0
- package/crew/video-editor/template/public/.gitkeep +0 -0
- package/crew/video-editor/template/public/image.png +0 -0
- package/crew/video-editor/template/public/logo.png +0 -0
- package/crew/video-editor/template/remotion.config.ts +5 -0
- package/crew/video-editor/template/src/Root.tsx +21 -0
- package/crew/video-editor/template/src/Video.tsx +38 -0
- package/crew/video-editor/template/src/components/LogoStinger.tsx +77 -0
- package/crew/video-editor/template/src/index.ts +4 -0
- package/crew/video-editor/template/tsconfig.json +16 -0
- package/crew/youtube/plugin.json +42 -0
- package/dist/auth/AuthProvider.d.ts +35 -0
- package/dist/auth/AuthProvider.d.ts.map +1 -0
- package/dist/auth/AuthProvider.js +13 -0
- package/dist/auth/AuthProvider.js.map +1 -0
- package/dist/auth/AuthStore.d.ts +79 -0
- package/dist/auth/AuthStore.d.ts.map +1 -0
- package/dist/auth/AuthStore.js +139 -0
- package/dist/auth/AuthStore.js.map +1 -0
- package/dist/auth/LocalAuthProvider.d.ts +28 -0
- package/dist/auth/LocalAuthProvider.d.ts.map +1 -0
- package/dist/auth/LocalAuthProvider.js +70 -0
- package/dist/auth/LocalAuthProvider.js.map +1 -0
- package/dist/auth/TokenService.d.ts +83 -0
- package/dist/auth/TokenService.d.ts.map +1 -0
- package/dist/auth/TokenService.js +129 -0
- package/dist/auth/TokenService.js.map +1 -0
- package/dist/auth/fileToken.d.ts +33 -0
- package/dist/auth/fileToken.d.ts.map +1 -0
- package/dist/auth/fileToken.js +69 -0
- package/dist/auth/fileToken.js.map +1 -0
- package/dist/auth/index.d.ts +47 -0
- package/dist/auth/index.d.ts.map +1 -0
- package/dist/auth/index.js +76 -0
- package/dist/auth/index.js.map +1 -0
- package/dist/auth/jwt.d.ts +27 -0
- package/dist/auth/jwt.d.ts.map +1 -0
- package/dist/auth/jwt.js +67 -0
- package/dist/auth/jwt.js.map +1 -0
- package/dist/channels/BaseChannel.d.ts +139 -0
- package/dist/channels/BaseChannel.d.ts.map +1 -0
- package/dist/channels/BaseChannel.js +103 -0
- package/dist/channels/BaseChannel.js.map +1 -0
- package/dist/channels/BlueBubblesChannel.d.ts +37 -0
- package/dist/channels/BlueBubblesChannel.d.ts.map +1 -0
- package/dist/channels/BlueBubblesChannel.js +115 -0
- package/dist/channels/BlueBubblesChannel.js.map +1 -0
- package/dist/channels/ChannelManager.d.ts +85 -0
- package/dist/channels/ChannelManager.d.ts.map +1 -0
- package/dist/channels/ChannelManager.js +557 -0
- package/dist/channels/ChannelManager.js.map +1 -0
- package/dist/channels/ChannelRegistry.d.ts +57 -0
- package/dist/channels/ChannelRegistry.d.ts.map +1 -0
- package/dist/channels/ChannelRegistry.js +93 -0
- package/dist/channels/ChannelRegistry.js.map +1 -0
- package/dist/channels/DiscordChannel.d.ts +87 -0
- package/dist/channels/DiscordChannel.d.ts.map +1 -0
- package/dist/channels/DiscordChannel.js +469 -0
- package/dist/channels/DiscordChannel.js.map +1 -0
- package/dist/channels/EmailChannel.d.ts +64 -0
- package/dist/channels/EmailChannel.d.ts.map +1 -0
- package/dist/channels/EmailChannel.js +226 -0
- package/dist/channels/EmailChannel.js.map +1 -0
- package/dist/channels/FeishuChannel.d.ts +40 -0
- package/dist/channels/FeishuChannel.d.ts.map +1 -0
- package/dist/channels/FeishuChannel.js +169 -0
- package/dist/channels/FeishuChannel.js.map +1 -0
- package/dist/channels/GoogleChatChannel.d.ts +46 -0
- package/dist/channels/GoogleChatChannel.d.ts.map +1 -0
- package/dist/channels/GoogleChatChannel.js +184 -0
- package/dist/channels/GoogleChatChannel.js.map +1 -0
- package/dist/channels/IRCChannel.d.ts +50 -0
- package/dist/channels/IRCChannel.d.ts.map +1 -0
- package/dist/channels/IRCChannel.js +149 -0
- package/dist/channels/IRCChannel.js.map +1 -0
- package/dist/channels/LineChannel.d.ts +35 -0
- package/dist/channels/LineChannel.d.ts.map +1 -0
- package/dist/channels/LineChannel.js +118 -0
- package/dist/channels/LineChannel.js.map +1 -0
- package/dist/channels/MatrixChannel.d.ts +45 -0
- package/dist/channels/MatrixChannel.d.ts.map +1 -0
- package/dist/channels/MatrixChannel.js +156 -0
- package/dist/channels/MatrixChannel.js.map +1 -0
- package/dist/channels/MattermostChannel.d.ts +42 -0
- package/dist/channels/MattermostChannel.d.ts.map +1 -0
- package/dist/channels/MattermostChannel.js +144 -0
- package/dist/channels/MattermostChannel.js.map +1 -0
- package/dist/channels/NextcloudChannel.d.ts +46 -0
- package/dist/channels/NextcloudChannel.d.ts.map +1 -0
- package/dist/channels/NextcloudChannel.js +146 -0
- package/dist/channels/NextcloudChannel.js.map +1 -0
- package/dist/channels/SignalChannel.d.ts +39 -0
- package/dist/channels/SignalChannel.d.ts.map +1 -0
- package/dist/channels/SignalChannel.js +160 -0
- package/dist/channels/SignalChannel.js.map +1 -0
- package/dist/channels/SlackChannel.d.ts +81 -0
- package/dist/channels/SlackChannel.d.ts.map +1 -0
- package/dist/channels/SlackChannel.js +363 -0
- package/dist/channels/SlackChannel.js.map +1 -0
- package/dist/channels/StreamingEditor.d.ts +37 -0
- package/dist/channels/StreamingEditor.d.ts.map +1 -0
- package/dist/channels/StreamingEditor.js +108 -0
- package/dist/channels/StreamingEditor.js.map +1 -0
- package/dist/channels/TelegramChannel.d.ts +84 -0
- package/dist/channels/TelegramChannel.d.ts.map +1 -0
- package/dist/channels/TelegramChannel.js +469 -0
- package/dist/channels/TelegramChannel.js.map +1 -0
- package/dist/channels/TwitchChannel.d.ts +45 -0
- package/dist/channels/TwitchChannel.d.ts.map +1 -0
- package/dist/channels/TwitchChannel.js +117 -0
- package/dist/channels/TwitchChannel.js.map +1 -0
- package/dist/channels/WhatsAppChannel.d.ts +45 -0
- package/dist/channels/WhatsAppChannel.d.ts.map +1 -0
- package/dist/channels/WhatsAppChannel.js +153 -0
- package/dist/channels/WhatsAppChannel.js.map +1 -0
- package/dist/channels/ZaloChannel.d.ts +42 -0
- package/dist/channels/ZaloChannel.d.ts.map +1 -0
- package/dist/channels/ZaloChannel.js +114 -0
- package/dist/channels/ZaloChannel.js.map +1 -0
- package/dist/cli/commands/config.d.ts +10 -0
- package/dist/cli/commands/config.d.ts.map +1 -0
- package/dist/cli/commands/config.js +107 -0
- package/dist/cli/commands/config.js.map +1 -0
- package/dist/cli/commands/daemon.d.ts +17 -0
- package/dist/cli/commands/daemon.d.ts.map +1 -0
- package/dist/cli/commands/daemon.js +82 -0
- package/dist/cli/commands/daemon.js.map +1 -0
- package/dist/cli/commands/doctor.d.ts +17 -0
- package/dist/cli/commands/doctor.d.ts.map +1 -0
- package/dist/cli/commands/doctor.js +138 -0
- package/dist/cli/commands/doctor.js.map +1 -0
- package/dist/cli/commands/setup.d.ts +16 -0
- package/dist/cli/commands/setup.d.ts.map +1 -0
- package/dist/cli/commands/setup.js +206 -0
- package/dist/cli/commands/setup.js.map +1 -0
- package/dist/cli/commands/start.d.ts +8 -0
- package/dist/cli/commands/start.d.ts.map +1 -0
- package/dist/cli/commands/start.js +444 -0
- package/dist/cli/commands/start.js.map +1 -0
- package/dist/cli/commands/vault.d.ts +15 -0
- package/dist/cli/commands/vault.d.ts.map +1 -0
- package/dist/cli/commands/vault.js +167 -0
- package/dist/cli/commands/vault.js.map +1 -0
- package/dist/cli/index.d.ts +13 -0
- package/dist/cli/index.d.ts.map +1 -0
- package/dist/cli/index.js +93 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/cli/loadEnv.d.ts +14 -0
- package/dist/cli/loadEnv.d.ts.map +1 -0
- package/dist/cli/loadEnv.js +18 -0
- package/dist/cli/loadEnv.js.map +1 -0
- package/dist/config/ConfigManager.d.ts +79 -0
- package/dist/config/ConfigManager.d.ts.map +1 -0
- package/dist/config/ConfigManager.js +118 -0
- package/dist/config/ConfigManager.js.map +1 -0
- package/dist/config/Secret.d.ts +29 -0
- package/dist/config/Secret.d.ts.map +1 -0
- package/dist/config/Secret.js +47 -0
- package/dist/config/Secret.js.map +1 -0
- package/dist/config/SecretVault.d.ts +53 -0
- package/dist/config/SecretVault.d.ts.map +1 -0
- package/dist/config/SecretVault.js +205 -0
- package/dist/config/SecretVault.js.map +1 -0
- package/dist/config/SettingsStore.d.ts +46 -0
- package/dist/config/SettingsStore.d.ts.map +1 -0
- package/dist/config/SettingsStore.js +132 -0
- package/dist/config/SettingsStore.js.map +1 -0
- package/dist/config/env.d.ts +21 -0
- package/dist/config/env.d.ts.map +1 -0
- package/dist/config/env.js +62 -0
- package/dist/config/env.js.map +1 -0
- package/dist/config/schema.d.ts +127 -0
- package/dist/config/schema.d.ts.map +1 -0
- package/dist/config/schema.js +346 -0
- package/dist/config/schema.js.map +1 -0
- package/dist/core/AgentLoop.d.ts +180 -0
- package/dist/core/AgentLoop.d.ts.map +1 -0
- package/dist/core/AgentLoop.js +428 -0
- package/dist/core/AgentLoop.js.map +1 -0
- package/dist/core/AttachmentProcessor.d.ts +75 -0
- package/dist/core/AttachmentProcessor.d.ts.map +1 -0
- package/dist/core/AttachmentProcessor.js +191 -0
- package/dist/core/AttachmentProcessor.js.map +1 -0
- package/dist/core/Compaction.d.ts +62 -0
- package/dist/core/Compaction.d.ts.map +1 -0
- package/dist/core/Compaction.js +260 -0
- package/dist/core/Compaction.js.map +1 -0
- package/dist/core/InboundDebouncer.d.ts +42 -0
- package/dist/core/InboundDebouncer.d.ts.map +1 -0
- package/dist/core/InboundDebouncer.js +81 -0
- package/dist/core/InboundDebouncer.js.map +1 -0
- package/dist/core/LoopDetector.d.ts +36 -0
- package/dist/core/LoopDetector.d.ts.map +1 -0
- package/dist/core/LoopDetector.js +139 -0
- package/dist/core/LoopDetector.js.map +1 -0
- package/dist/core/TaskRunner.d.ts +134 -0
- package/dist/core/TaskRunner.d.ts.map +1 -0
- package/dist/core/TaskRunner.js +454 -0
- package/dist/core/TaskRunner.js.map +1 -0
- package/dist/costs/CostTracker.d.ts +70 -0
- package/dist/costs/CostTracker.d.ts.map +1 -0
- package/dist/costs/CostTracker.js +176 -0
- package/dist/costs/CostTracker.js.map +1 -0
- package/dist/crew/CrewAgentRunner.d.ts +55 -0
- package/dist/crew/CrewAgentRunner.d.ts.map +1 -0
- package/dist/crew/CrewAgentRunner.js +208 -0
- package/dist/crew/CrewAgentRunner.js.map +1 -0
- package/dist/crew/CrewLoader.d.ts +43 -0
- package/dist/crew/CrewLoader.d.ts.map +1 -0
- package/dist/crew/CrewLoader.js +122 -0
- package/dist/crew/CrewLoader.js.map +1 -0
- package/dist/crew/CrewRegistry.d.ts +30 -0
- package/dist/crew/CrewRegistry.d.ts.map +1 -0
- package/dist/crew/CrewRegistry.js +56 -0
- package/dist/crew/CrewRegistry.js.map +1 -0
- package/dist/crew/types.d.ts +79 -0
- package/dist/crew/types.d.ts.map +1 -0
- package/dist/crew/types.js +36 -0
- package/dist/crew/types.js.map +1 -0
- package/dist/cron/CronScheduler.d.ts +40 -0
- package/dist/cron/CronScheduler.d.ts.map +1 -0
- package/dist/cron/CronScheduler.js +119 -0
- package/dist/cron/CronScheduler.js.map +1 -0
- package/dist/cron/CronStore.d.ts +73 -0
- package/dist/cron/CronStore.d.ts.map +1 -0
- package/dist/cron/CronStore.js +209 -0
- package/dist/cron/CronStore.js.map +1 -0
- package/dist/cron/cronParser.d.ts +33 -0
- package/dist/cron/cronParser.d.ts.map +1 -0
- package/dist/cron/cronParser.js +211 -0
- package/dist/cron/cronParser.js.map +1 -0
- package/dist/daemon/DaemonManager.d.ts +59 -0
- package/dist/daemon/DaemonManager.d.ts.map +1 -0
- package/dist/daemon/DaemonManager.js +380 -0
- package/dist/daemon/DaemonManager.js.map +1 -0
- package/dist/embeddings/Embeddings.d.ts +70 -0
- package/dist/embeddings/Embeddings.d.ts.map +1 -0
- package/dist/embeddings/Embeddings.js +252 -0
- package/dist/embeddings/Embeddings.js.map +1 -0
- package/dist/embeddings/TfIdf.d.ts +26 -0
- package/dist/embeddings/TfIdf.d.ts.map +1 -0
- package/dist/embeddings/TfIdf.js +88 -0
- package/dist/embeddings/TfIdf.js.map +1 -0
- package/dist/events/eventBus.d.ts +97 -0
- package/dist/events/eventBus.d.ts.map +1 -0
- package/dist/events/eventBus.js +26 -0
- package/dist/events/eventBus.js.map +1 -0
- package/dist/goals/GoalStore.d.ts +40 -0
- package/dist/goals/GoalStore.d.ts.map +1 -0
- package/dist/goals/GoalStore.js +82 -0
- package/dist/goals/GoalStore.js.map +1 -0
- package/dist/hooks/HookRunner.d.ts +80 -0
- package/dist/hooks/HookRunner.d.ts.map +1 -0
- package/dist/hooks/HookRunner.js +218 -0
- package/dist/hooks/HookRunner.js.map +1 -0
- package/dist/integrations/IntegrationCrewSync.d.ts +33 -0
- package/dist/integrations/IntegrationCrewSync.d.ts.map +1 -0
- package/dist/integrations/IntegrationCrewSync.js +96 -0
- package/dist/integrations/IntegrationCrewSync.js.map +1 -0
- package/dist/integrations/IntegrationManager.d.ts +116 -0
- package/dist/integrations/IntegrationManager.d.ts.map +1 -0
- package/dist/integrations/IntegrationManager.js +580 -0
- package/dist/integrations/IntegrationManager.js.map +1 -0
- package/dist/integrations/IntegrationStore.d.ts +42 -0
- package/dist/integrations/IntegrationStore.d.ts.map +1 -0
- package/dist/integrations/IntegrationStore.js +146 -0
- package/dist/integrations/IntegrationStore.js.map +1 -0
- package/dist/integrations/authFetch.d.ts +21 -0
- package/dist/integrations/authFetch.d.ts.map +1 -0
- package/dist/integrations/authFetch.js +36 -0
- package/dist/integrations/authFetch.js.map +1 -0
- package/dist/integrations/facebook/FacebookClient.d.ts +33 -0
- package/dist/integrations/facebook/FacebookClient.d.ts.map +1 -0
- package/dist/integrations/facebook/FacebookClient.js +88 -0
- package/dist/integrations/facebook/FacebookClient.js.map +1 -0
- package/dist/integrations/facebook/tools.d.ts +9 -0
- package/dist/integrations/facebook/tools.d.ts.map +1 -0
- package/dist/integrations/facebook/tools.js +324 -0
- package/dist/integrations/facebook/tools.js.map +1 -0
- package/dist/integrations/gmail/GmailClient.d.ts +34 -0
- package/dist/integrations/gmail/GmailClient.d.ts.map +1 -0
- package/dist/integrations/gmail/GmailClient.js +69 -0
- package/dist/integrations/gmail/GmailClient.js.map +1 -0
- package/dist/integrations/gmail/tools.d.ts +14 -0
- package/dist/integrations/gmail/tools.d.ts.map +1 -0
- package/dist/integrations/gmail/tools.js +295 -0
- package/dist/integrations/gmail/tools.js.map +1 -0
- package/dist/integrations/google-calendar/CalendarClient.d.ts +16 -0
- package/dist/integrations/google-calendar/CalendarClient.d.ts.map +1 -0
- package/dist/integrations/google-calendar/CalendarClient.js +39 -0
- package/dist/integrations/google-calendar/CalendarClient.js.map +1 -0
- package/dist/integrations/google-calendar/tools.d.ts +15 -0
- package/dist/integrations/google-calendar/tools.d.ts.map +1 -0
- package/dist/integrations/google-calendar/tools.js +246 -0
- package/dist/integrations/google-calendar/tools.js.map +1 -0
- package/dist/integrations/instagram/InstagramClient.d.ts +33 -0
- package/dist/integrations/instagram/InstagramClient.d.ts.map +1 -0
- package/dist/integrations/instagram/InstagramClient.js +93 -0
- package/dist/integrations/instagram/InstagramClient.js.map +1 -0
- package/dist/integrations/instagram/tools.d.ts +17 -0
- package/dist/integrations/instagram/tools.d.ts.map +1 -0
- package/dist/integrations/instagram/tools.js +348 -0
- package/dist/integrations/instagram/tools.js.map +1 -0
- package/dist/integrations/keys.d.ts +56 -0
- package/dist/integrations/keys.d.ts.map +1 -0
- package/dist/integrations/keys.js +174 -0
- package/dist/integrations/keys.js.map +1 -0
- package/dist/integrations/linkedin/LinkedInClient.d.ts +24 -0
- package/dist/integrations/linkedin/LinkedInClient.d.ts.map +1 -0
- package/dist/integrations/linkedin/LinkedInClient.js +56 -0
- package/dist/integrations/linkedin/LinkedInClient.js.map +1 -0
- package/dist/integrations/linkedin/tools.d.ts +14 -0
- package/dist/integrations/linkedin/tools.d.ts.map +1 -0
- package/dist/integrations/linkedin/tools.js +154 -0
- package/dist/integrations/linkedin/tools.js.map +1 -0
- package/dist/integrations/pkce.d.ts +17 -0
- package/dist/integrations/pkce.d.ts.map +1 -0
- package/dist/integrations/pkce.js +22 -0
- package/dist/integrations/pkce.js.map +1 -0
- package/dist/integrations/providers/github.d.ts +20 -0
- package/dist/integrations/providers/github.d.ts.map +1 -0
- package/dist/integrations/providers/github.js +113 -0
- package/dist/integrations/providers/github.js.map +1 -0
- package/dist/integrations/providers/google.d.ts +17 -0
- package/dist/integrations/providers/google.d.ts.map +1 -0
- package/dist/integrations/providers/google.js +115 -0
- package/dist/integrations/providers/google.js.map +1 -0
- package/dist/integrations/providers/linkedin.d.ts +22 -0
- package/dist/integrations/providers/linkedin.d.ts.map +1 -0
- package/dist/integrations/providers/linkedin.js +103 -0
- package/dist/integrations/providers/linkedin.js.map +1 -0
- package/dist/integrations/providers/meta.d.ts +19 -0
- package/dist/integrations/providers/meta.d.ts.map +1 -0
- package/dist/integrations/providers/meta.js +116 -0
- package/dist/integrations/providers/meta.js.map +1 -0
- package/dist/integrations/providers/notion.d.ts +21 -0
- package/dist/integrations/providers/notion.d.ts.map +1 -0
- package/dist/integrations/providers/notion.js +96 -0
- package/dist/integrations/providers/notion.js.map +1 -0
- package/dist/integrations/providers/reddit.d.ts +18 -0
- package/dist/integrations/providers/reddit.d.ts.map +1 -0
- package/dist/integrations/providers/reddit.js +104 -0
- package/dist/integrations/providers/reddit.js.map +1 -0
- package/dist/integrations/providers/tiktok.d.ts +28 -0
- package/dist/integrations/providers/tiktok.d.ts.map +1 -0
- package/dist/integrations/providers/tiktok.js +138 -0
- package/dist/integrations/providers/tiktok.js.map +1 -0
- package/dist/integrations/providers/twitter.d.ts +26 -0
- package/dist/integrations/providers/twitter.d.ts.map +1 -0
- package/dist/integrations/providers/twitter.js +141 -0
- package/dist/integrations/providers/twitter.js.map +1 -0
- package/dist/integrations/reddit/RedditClient.d.ts +18 -0
- package/dist/integrations/reddit/RedditClient.d.ts.map +1 -0
- package/dist/integrations/reddit/RedditClient.js +54 -0
- package/dist/integrations/reddit/RedditClient.js.map +1 -0
- package/dist/integrations/reddit/tools.d.ts +16 -0
- package/dist/integrations/reddit/tools.d.ts.map +1 -0
- package/dist/integrations/reddit/tools.js +293 -0
- package/dist/integrations/reddit/tools.js.map +1 -0
- package/dist/integrations/tiktok/TikTokClient.d.ts +21 -0
- package/dist/integrations/tiktok/TikTokClient.d.ts.map +1 -0
- package/dist/integrations/tiktok/TikTokClient.js +44 -0
- package/dist/integrations/tiktok/TikTokClient.js.map +1 -0
- package/dist/integrations/tiktok/tools.d.ts +17 -0
- package/dist/integrations/tiktok/tools.d.ts.map +1 -0
- package/dist/integrations/tiktok/tools.js +258 -0
- package/dist/integrations/tiktok/tools.js.map +1 -0
- package/dist/integrations/tools.d.ts +20 -0
- package/dist/integrations/tools.d.ts.map +1 -0
- package/dist/integrations/tools.js +43 -0
- package/dist/integrations/tools.js.map +1 -0
- package/dist/integrations/twitter/TwitterClient.d.ts +19 -0
- package/dist/integrations/twitter/TwitterClient.d.ts.map +1 -0
- package/dist/integrations/twitter/TwitterClient.js +51 -0
- package/dist/integrations/twitter/TwitterClient.js.map +1 -0
- package/dist/integrations/twitter/tools.d.ts +11 -0
- package/dist/integrations/twitter/tools.d.ts.map +1 -0
- package/dist/integrations/twitter/tools.js +459 -0
- package/dist/integrations/twitter/tools.js.map +1 -0
- package/dist/integrations/types.d.ts +118 -0
- package/dist/integrations/types.d.ts.map +1 -0
- package/dist/integrations/types.js +10 -0
- package/dist/integrations/types.js.map +1 -0
- package/dist/integrations/youtube/YouTubeClient.d.ts +45 -0
- package/dist/integrations/youtube/YouTubeClient.d.ts.map +1 -0
- package/dist/integrations/youtube/YouTubeClient.js +115 -0
- package/dist/integrations/youtube/YouTubeClient.js.map +1 -0
- package/dist/integrations/youtube/tools.d.ts +14 -0
- package/dist/integrations/youtube/tools.d.ts.map +1 -0
- package/dist/integrations/youtube/tools.js +500 -0
- package/dist/integrations/youtube/tools.js.map +1 -0
- package/dist/learning/BackgroundReviewer.d.ts +43 -0
- package/dist/learning/BackgroundReviewer.d.ts.map +1 -0
- package/dist/learning/BackgroundReviewer.js +143 -0
- package/dist/learning/BackgroundReviewer.js.map +1 -0
- package/dist/learning/ExtractionPipeline.d.ts +46 -0
- package/dist/learning/ExtractionPipeline.d.ts.map +1 -0
- package/dist/learning/ExtractionPipeline.js +220 -0
- package/dist/learning/ExtractionPipeline.js.map +1 -0
- package/dist/learning/MemoryDecay.d.ts +63 -0
- package/dist/learning/MemoryDecay.d.ts.map +1 -0
- package/dist/learning/MemoryDecay.js +204 -0
- package/dist/learning/MemoryDecay.js.map +1 -0
- package/dist/learning/SmartRecall.d.ts +58 -0
- package/dist/learning/SmartRecall.d.ts.map +1 -0
- package/dist/learning/SmartRecall.js +182 -0
- package/dist/learning/SmartRecall.js.map +1 -0
- package/dist/mcp/MCPIntegrationBridge.d.ts +40 -0
- package/dist/mcp/MCPIntegrationBridge.d.ts.map +1 -0
- package/dist/mcp/MCPIntegrationBridge.js +136 -0
- package/dist/mcp/MCPIntegrationBridge.js.map +1 -0
- package/dist/mcp/MCPManager.d.ts +126 -0
- package/dist/mcp/MCPManager.d.ts.map +1 -0
- package/dist/mcp/MCPManager.js +418 -0
- package/dist/mcp/MCPManager.js.map +1 -0
- package/dist/mcp/MCPStore.d.ts +41 -0
- package/dist/mcp/MCPStore.d.ts.map +1 -0
- package/dist/mcp/MCPStore.js +102 -0
- package/dist/mcp/MCPStore.js.map +1 -0
- package/dist/mcp/defaults.d.ts +51 -0
- package/dist/mcp/defaults.d.ts.map +1 -0
- package/dist/mcp/defaults.js +243 -0
- package/dist/mcp/defaults.js.map +1 -0
- package/dist/memory/DeclarativeMemoryStore.d.ts +54 -0
- package/dist/memory/DeclarativeMemoryStore.d.ts.map +1 -0
- package/dist/memory/DeclarativeMemoryStore.js +195 -0
- package/dist/memory/DeclarativeMemoryStore.js.map +1 -0
- package/dist/memory/MemoryStore.d.ts +65 -0
- package/dist/memory/MemoryStore.d.ts.map +1 -0
- package/dist/memory/MemoryStore.js +189 -0
- package/dist/memory/MemoryStore.js.map +1 -0
- package/dist/memory/SessionStore.d.ts +207 -0
- package/dist/memory/SessionStore.d.ts.map +1 -0
- package/dist/memory/SessionStore.js +391 -0
- package/dist/memory/SessionStore.js.map +1 -0
- package/dist/models/ModelRouter.d.ts +57 -0
- package/dist/models/ModelRouter.d.ts.map +1 -0
- package/dist/models/ModelRouter.js +301 -0
- package/dist/models/ModelRouter.js.map +1 -0
- package/dist/models/discovery.d.ts +44 -0
- package/dist/models/discovery.d.ts.map +1 -0
- package/dist/models/discovery.js +456 -0
- package/dist/models/discovery.js.map +1 -0
- package/dist/models/providers.d.ts +82 -0
- package/dist/models/providers.d.ts.map +1 -0
- package/dist/models/providers.js +455 -0
- package/dist/models/providers.js.map +1 -0
- package/dist/models/registry.d.ts +13 -0
- package/dist/models/registry.d.ts.map +1 -0
- package/dist/models/registry.js +42 -0
- package/dist/models/registry.js.map +1 -0
- package/dist/models/types.d.ts +24 -0
- package/dist/models/types.d.ts.map +1 -0
- package/dist/models/types.js +8 -0
- package/dist/models/types.js.map +1 -0
- package/dist/projects/ProjectStore.d.ts +73 -0
- package/dist/projects/ProjectStore.d.ts.map +1 -0
- package/dist/projects/ProjectStore.js +132 -0
- package/dist/projects/ProjectStore.js.map +1 -0
- package/dist/safety/AuditLog.d.ts +53 -0
- package/dist/safety/AuditLog.d.ts.map +1 -0
- package/dist/safety/AuditLog.js +170 -0
- package/dist/safety/AuditLog.js.map +1 -0
- package/dist/safety/CircuitBreaker.d.ts +53 -0
- package/dist/safety/CircuitBreaker.d.ts.map +1 -0
- package/dist/safety/CircuitBreaker.js +112 -0
- package/dist/safety/CircuitBreaker.js.map +1 -0
- package/dist/safety/CommandGuard.d.ts +32 -0
- package/dist/safety/CommandGuard.d.ts.map +1 -0
- package/dist/safety/CommandGuard.js +157 -0
- package/dist/safety/CommandGuard.js.map +1 -0
- package/dist/safety/DockerSandbox.d.ts +72 -0
- package/dist/safety/DockerSandbox.d.ts.map +1 -0
- package/dist/safety/DockerSandbox.js +188 -0
- package/dist/safety/DockerSandbox.js.map +1 -0
- package/dist/safety/EgressGuard.d.ts +35 -0
- package/dist/safety/EgressGuard.d.ts.map +1 -0
- package/dist/safety/EgressGuard.js +95 -0
- package/dist/safety/EgressGuard.js.map +1 -0
- package/dist/safety/ExecApproval.d.ts +53 -0
- package/dist/safety/ExecApproval.d.ts.map +1 -0
- package/dist/safety/ExecApproval.js +120 -0
- package/dist/safety/ExecApproval.js.map +1 -0
- package/dist/safety/FilesystemGuard.d.ts +94 -0
- package/dist/safety/FilesystemGuard.d.ts.map +1 -0
- package/dist/safety/FilesystemGuard.js +275 -0
- package/dist/safety/FilesystemGuard.js.map +1 -0
- package/dist/safety/GitRollback.d.ts +47 -0
- package/dist/safety/GitRollback.d.ts.map +1 -0
- package/dist/safety/GitRollback.js +161 -0
- package/dist/safety/GitRollback.js.map +1 -0
- package/dist/safety/HumanApproval.d.ts +65 -0
- package/dist/safety/HumanApproval.d.ts.map +1 -0
- package/dist/safety/HumanApproval.js +157 -0
- package/dist/safety/HumanApproval.js.map +1 -0
- package/dist/safety/InputSanitizer.d.ts +59 -0
- package/dist/safety/InputSanitizer.d.ts.map +1 -0
- package/dist/safety/InputSanitizer.js +111 -0
- package/dist/safety/InputSanitizer.js.map +1 -0
- package/dist/safety/PermissionGuard.d.ts +49 -0
- package/dist/safety/PermissionGuard.d.ts.map +1 -0
- package/dist/safety/PermissionGuard.js +136 -0
- package/dist/safety/PermissionGuard.js.map +1 -0
- package/dist/safety/Sandbox.d.ts +38 -0
- package/dist/safety/Sandbox.d.ts.map +1 -0
- package/dist/safety/Sandbox.js +82 -0
- package/dist/safety/Sandbox.js.map +1 -0
- package/dist/safety/SecretScanner.d.ts +67 -0
- package/dist/safety/SecretScanner.d.ts.map +1 -0
- package/dist/safety/SecretScanner.js +150 -0
- package/dist/safety/SecretScanner.js.map +1 -0
- package/dist/safety/Supervisor.d.ts +69 -0
- package/dist/safety/Supervisor.d.ts.map +1 -0
- package/dist/safety/Supervisor.js +165 -0
- package/dist/safety/Supervisor.js.map +1 -0
- package/dist/scheduler/CronExecutor.d.ts +18 -0
- package/dist/scheduler/CronExecutor.d.ts.map +1 -0
- package/dist/scheduler/CronExecutor.js +57 -0
- package/dist/scheduler/CronExecutor.js.map +1 -0
- package/dist/scheduler/DailyLog.d.ts +29 -0
- package/dist/scheduler/DailyLog.d.ts.map +1 -0
- package/dist/scheduler/DailyLog.js +84 -0
- package/dist/scheduler/DailyLog.js.map +1 -0
- package/dist/scheduler/DeliveryPresetStore.d.ts +47 -0
- package/dist/scheduler/DeliveryPresetStore.d.ts.map +1 -0
- package/dist/scheduler/DeliveryPresetStore.js +101 -0
- package/dist/scheduler/DeliveryPresetStore.js.map +1 -0
- package/dist/scheduler/GoalPulse.d.ts +42 -0
- package/dist/scheduler/GoalPulse.d.ts.map +1 -0
- package/dist/scheduler/GoalPulse.js +123 -0
- package/dist/scheduler/GoalPulse.js.map +1 -0
- package/dist/scheduler/Heartbeat.d.ts +87 -0
- package/dist/scheduler/Heartbeat.d.ts.map +1 -0
- package/dist/scheduler/Heartbeat.js +313 -0
- package/dist/scheduler/Heartbeat.js.map +1 -0
- package/dist/scheduler/MorningPulse.d.ts +23 -0
- package/dist/scheduler/MorningPulse.d.ts.map +1 -0
- package/dist/scheduler/MorningPulse.js +45 -0
- package/dist/scheduler/MorningPulse.js.map +1 -0
- package/dist/server/index.d.ts +77 -0
- package/dist/server/index.d.ts.map +1 -0
- package/dist/server/index.js +227 -0
- package/dist/server/index.js.map +1 -0
- package/dist/server/middleware/requireAuth.d.ts +41 -0
- package/dist/server/middleware/requireAuth.d.ts.map +1 -0
- package/dist/server/middleware/requireAuth.js +72 -0
- package/dist/server/middleware/requireAuth.js.map +1 -0
- package/dist/server/middleware/security.d.ts +83 -0
- package/dist/server/middleware/security.d.ts.map +1 -0
- package/dist/server/middleware/security.js +171 -0
- package/dist/server/middleware/security.js.map +1 -0
- package/dist/server/routes/auth.d.ts +24 -0
- package/dist/server/routes/auth.d.ts.map +1 -0
- package/dist/server/routes/auth.js +65 -0
- package/dist/server/routes/auth.js.map +1 -0
- package/dist/server/routes/channels.d.ts +7 -0
- package/dist/server/routes/channels.d.ts.map +1 -0
- package/dist/server/routes/channels.js +90 -0
- package/dist/server/routes/channels.js.map +1 -0
- package/dist/server/routes/chat.d.ts +19 -0
- package/dist/server/routes/chat.d.ts.map +1 -0
- package/dist/server/routes/chat.js +209 -0
- package/dist/server/routes/chat.js.map +1 -0
- package/dist/server/routes/compat.d.ts +8 -0
- package/dist/server/routes/compat.d.ts.map +1 -0
- package/dist/server/routes/compat.js +661 -0
- package/dist/server/routes/compat.js.map +1 -0
- package/dist/server/routes/config.d.ts +10 -0
- package/dist/server/routes/config.d.ts.map +1 -0
- package/dist/server/routes/config.js +142 -0
- package/dist/server/routes/config.js.map +1 -0
- package/dist/server/routes/costs.d.ts +7 -0
- package/dist/server/routes/costs.d.ts.map +1 -0
- package/dist/server/routes/costs.js +23 -0
- package/dist/server/routes/costs.js.map +1 -0
- package/dist/server/routes/crew.d.ts +21 -0
- package/dist/server/routes/crew.d.ts.map +1 -0
- package/dist/server/routes/crew.js +372 -0
- package/dist/server/routes/crew.js.map +1 -0
- package/dist/server/routes/cron.d.ts +9 -0
- package/dist/server/routes/cron.d.ts.map +1 -0
- package/dist/server/routes/cron.js +91 -0
- package/dist/server/routes/cron.js.map +1 -0
- package/dist/server/routes/deliveryPresets.d.ts +13 -0
- package/dist/server/routes/deliveryPresets.d.ts.map +1 -0
- package/dist/server/routes/deliveryPresets.js +42 -0
- package/dist/server/routes/deliveryPresets.js.map +1 -0
- package/dist/server/routes/goals.d.ts +7 -0
- package/dist/server/routes/goals.d.ts.map +1 -0
- package/dist/server/routes/goals.js +65 -0
- package/dist/server/routes/goals.js.map +1 -0
- package/dist/server/routes/integrations.d.ts +35 -0
- package/dist/server/routes/integrations.d.ts.map +1 -0
- package/dist/server/routes/integrations.js +448 -0
- package/dist/server/routes/integrations.js.map +1 -0
- package/dist/server/routes/mcp.d.ts +7 -0
- package/dist/server/routes/mcp.d.ts.map +1 -0
- package/dist/server/routes/mcp.js +88 -0
- package/dist/server/routes/mcp.js.map +1 -0
- package/dist/server/routes/memory.d.ts +15 -0
- package/dist/server/routes/memory.d.ts.map +1 -0
- package/dist/server/routes/memory.js +104 -0
- package/dist/server/routes/memory.js.map +1 -0
- package/dist/server/routes/providers.d.ts +15 -0
- package/dist/server/routes/providers.d.ts.map +1 -0
- package/dist/server/routes/providers.js +209 -0
- package/dist/server/routes/providers.js.map +1 -0
- package/dist/server/routes/security.d.ts +15 -0
- package/dist/server/routes/security.d.ts.map +1 -0
- package/dist/server/routes/security.js +117 -0
- package/dist/server/routes/security.js.map +1 -0
- package/dist/server/routes/sessions.d.ts +12 -0
- package/dist/server/routes/sessions.d.ts.map +1 -0
- package/dist/server/routes/sessions.js +172 -0
- package/dist/server/routes/sessions.js.map +1 -0
- package/dist/server/routes/skills.d.ts +11 -0
- package/dist/server/routes/skills.d.ts.map +1 -0
- package/dist/server/routes/skills.js +214 -0
- package/dist/server/routes/skills.js.map +1 -0
- package/dist/server/routes/tasks.d.ts +10 -0
- package/dist/server/routes/tasks.d.ts.map +1 -0
- package/dist/server/routes/tasks.js +38 -0
- package/dist/server/routes/tasks.js.map +1 -0
- package/dist/server/routes/teams.d.ts +7 -0
- package/dist/server/routes/teams.d.ts.map +1 -0
- package/dist/server/routes/teams.js +61 -0
- package/dist/server/routes/teams.js.map +1 -0
- package/dist/server/routes/tunnel.d.ts +12 -0
- package/dist/server/routes/tunnel.d.ts.map +1 -0
- package/dist/server/routes/tunnel.js +18 -0
- package/dist/server/routes/tunnel.js.map +1 -0
- package/dist/server/routes/vault.d.ts +15 -0
- package/dist/server/routes/vault.d.ts.map +1 -0
- package/dist/server/routes/vault.js +82 -0
- package/dist/server/routes/vault.js.map +1 -0
- package/dist/server/routes/voice.d.ts +16 -0
- package/dist/server/routes/voice.d.ts.map +1 -0
- package/dist/server/routes/voice.js +431 -0
- package/dist/server/routes/voice.js.map +1 -0
- package/dist/server/routes/watchers.d.ts +14 -0
- package/dist/server/routes/watchers.d.ts.map +1 -0
- package/dist/server/routes/watchers.js +143 -0
- package/dist/server/routes/watchers.js.map +1 -0
- package/dist/services/Cleanup.d.ts +50 -0
- package/dist/services/Cleanup.d.ts.map +1 -0
- package/dist/services/Cleanup.js +104 -0
- package/dist/services/Cleanup.js.map +1 -0
- package/dist/skills/SecurityScanner.d.ts +18 -0
- package/dist/skills/SecurityScanner.d.ts.map +1 -0
- package/dist/skills/SecurityScanner.js +49 -0
- package/dist/skills/SecurityScanner.js.map +1 -0
- package/dist/skills/SkillLoader.d.ts +45 -0
- package/dist/skills/SkillLoader.d.ts.map +1 -0
- package/dist/skills/SkillLoader.js +336 -0
- package/dist/skills/SkillLoader.js.map +1 -0
- package/dist/skills/SkillRegistry.d.ts +78 -0
- package/dist/skills/SkillRegistry.d.ts.map +1 -0
- package/dist/skills/SkillRegistry.js +185 -0
- package/dist/skills/SkillRegistry.js.map +1 -0
- package/dist/skills/SkillSnapshot.d.ts +37 -0
- package/dist/skills/SkillSnapshot.d.ts.map +1 -0
- package/dist/skills/SkillSnapshot.js +106 -0
- package/dist/skills/SkillSnapshot.js.map +1 -0
- package/dist/skills/types.d.ts +184 -0
- package/dist/skills/types.d.ts.map +1 -0
- package/dist/skills/types.js +58 -0
- package/dist/skills/types.js.map +1 -0
- package/dist/tasks/TaskStore.d.ts +70 -0
- package/dist/tasks/TaskStore.d.ts.map +1 -0
- package/dist/tasks/TaskStore.js +200 -0
- package/dist/tasks/TaskStore.js.map +1 -0
- package/dist/teams/TeamRunner.d.ts +46 -0
- package/dist/teams/TeamRunner.d.ts.map +1 -0
- package/dist/teams/TeamRunner.js +186 -0
- package/dist/teams/TeamRunner.js.map +1 -0
- package/dist/teams/TeamStore.d.ts +84 -0
- package/dist/teams/TeamStore.d.ts.map +1 -0
- package/dist/teams/TeamStore.js +231 -0
- package/dist/teams/TeamStore.js.map +1 -0
- package/dist/teams/templates.d.ts +18 -0
- package/dist/teams/templates.d.ts.map +1 -0
- package/dist/teams/templates.js +89 -0
- package/dist/teams/templates.js.map +1 -0
- package/dist/tools/core/applyPatch.d.ts +19 -0
- package/dist/tools/core/applyPatch.d.ts.map +1 -0
- package/dist/tools/core/applyPatch.js +51 -0
- package/dist/tools/core/applyPatch.js.map +1 -0
- package/dist/tools/core/broadcast.d.ts +67 -0
- package/dist/tools/core/broadcast.d.ts.map +1 -0
- package/dist/tools/core/broadcast.js +93 -0
- package/dist/tools/core/broadcast.js.map +1 -0
- package/dist/tools/core/clipboard.d.ts +17 -0
- package/dist/tools/core/clipboard.d.ts.map +1 -0
- package/dist/tools/core/clipboard.js +38 -0
- package/dist/tools/core/clipboard.js.map +1 -0
- package/dist/tools/core/createDocument.d.ts +27 -0
- package/dist/tools/core/createDocument.d.ts.map +1 -0
- package/dist/tools/core/createDocument.js +297 -0
- package/dist/tools/core/createDocument.js.map +1 -0
- package/dist/tools/core/cronTool.d.ts +55 -0
- package/dist/tools/core/cronTool.d.ts.map +1 -0
- package/dist/tools/core/cronTool.js +162 -0
- package/dist/tools/core/cronTool.js.map +1 -0
- package/dist/tools/core/desktop.d.ts +16 -0
- package/dist/tools/core/desktop.d.ts.map +1 -0
- package/dist/tools/core/desktop.js +480 -0
- package/dist/tools/core/desktop.js.map +1 -0
- package/dist/tools/core/editFile.d.ts +43 -0
- package/dist/tools/core/editFile.d.ts.map +1 -0
- package/dist/tools/core/editFile.js +104 -0
- package/dist/tools/core/editFile.js.map +1 -0
- package/dist/tools/core/executeCommand.d.ts +36 -0
- package/dist/tools/core/executeCommand.d.ts.map +1 -0
- package/dist/tools/core/executeCommand.js +92 -0
- package/dist/tools/core/executeCommand.js.map +1 -0
- package/dist/tools/core/fetchUrl.d.ts +38 -0
- package/dist/tools/core/fetchUrl.d.ts.map +1 -0
- package/dist/tools/core/fetchUrl.js +111 -0
- package/dist/tools/core/fetchUrl.js.map +1 -0
- package/dist/tools/core/generateImage.d.ts +42 -0
- package/dist/tools/core/generateImage.d.ts.map +1 -0
- package/dist/tools/core/generateImage.js +143 -0
- package/dist/tools/core/generateImage.js.map +1 -0
- package/dist/tools/core/generateMusic.d.ts +42 -0
- package/dist/tools/core/generateMusic.d.ts.map +1 -0
- package/dist/tools/core/generateMusic.js +158 -0
- package/dist/tools/core/generateMusic.js.map +1 -0
- package/dist/tools/core/generateVideo.d.ts +45 -0
- package/dist/tools/core/generateVideo.d.ts.map +1 -0
- package/dist/tools/core/generateVideo.js +447 -0
- package/dist/tools/core/generateVideo.js.map +1 -0
- package/dist/tools/core/gitTool.d.ts +81 -0
- package/dist/tools/core/gitTool.d.ts.map +1 -0
- package/dist/tools/core/gitTool.js +196 -0
- package/dist/tools/core/gitTool.js.map +1 -0
- package/dist/tools/core/glob.d.ts +26 -0
- package/dist/tools/core/glob.d.ts.map +1 -0
- package/dist/tools/core/glob.js +104 -0
- package/dist/tools/core/glob.js.map +1 -0
- package/dist/tools/core/goalTool.d.ts +50 -0
- package/dist/tools/core/goalTool.d.ts.map +1 -0
- package/dist/tools/core/goalTool.js +150 -0
- package/dist/tools/core/goalTool.js.map +1 -0
- package/dist/tools/core/grep.d.ts +32 -0
- package/dist/tools/core/grep.d.ts.map +1 -0
- package/dist/tools/core/grep.js +83 -0
- package/dist/tools/core/grep.js.map +1 -0
- package/dist/tools/core/imageAnalysis.d.ts +18 -0
- package/dist/tools/core/imageAnalysis.d.ts.map +1 -0
- package/dist/tools/core/imageAnalysis.js +77 -0
- package/dist/tools/core/imageAnalysis.js.map +1 -0
- package/dist/tools/core/imageOps.d.ts +70 -0
- package/dist/tools/core/imageOps.d.ts.map +1 -0
- package/dist/tools/core/imageOps.js +179 -0
- package/dist/tools/core/imageOps.js.map +1 -0
- package/dist/tools/core/index.d.ts +50 -0
- package/dist/tools/core/index.d.ts.map +1 -0
- package/dist/tools/core/index.js +159 -0
- package/dist/tools/core/index.js.map +1 -0
- package/dist/tools/core/listCrews.d.ts +41 -0
- package/dist/tools/core/listCrews.d.ts.map +1 -0
- package/dist/tools/core/listCrews.js +50 -0
- package/dist/tools/core/listCrews.js.map +1 -0
- package/dist/tools/core/listDirectory.d.ts +33 -0
- package/dist/tools/core/listDirectory.d.ts.map +1 -0
- package/dist/tools/core/listDirectory.js +89 -0
- package/dist/tools/core/listDirectory.js.map +1 -0
- package/dist/tools/core/manageAgents.d.ts +48 -0
- package/dist/tools/core/manageAgents.d.ts.map +1 -0
- package/dist/tools/core/manageAgents.js +104 -0
- package/dist/tools/core/manageAgents.js.map +1 -0
- package/dist/tools/core/manageMCP.d.ts +52 -0
- package/dist/tools/core/manageMCP.d.ts.map +1 -0
- package/dist/tools/core/manageMCP.js +160 -0
- package/dist/tools/core/manageMCP.js.map +1 -0
- package/dist/tools/core/memory.d.ts +49 -0
- package/dist/tools/core/memory.d.ts.map +1 -0
- package/dist/tools/core/memory.js +80 -0
- package/dist/tools/core/memory.js.map +1 -0
- package/dist/tools/core/memoryRecall.d.ts +39 -0
- package/dist/tools/core/memoryRecall.d.ts.map +1 -0
- package/dist/tools/core/memoryRecall.js +42 -0
- package/dist/tools/core/memoryRecall.js.map +1 -0
- package/dist/tools/core/memorySave.d.ts +33 -0
- package/dist/tools/core/memorySave.d.ts.map +1 -0
- package/dist/tools/core/memorySave.js +41 -0
- package/dist/tools/core/memorySave.js.map +1 -0
- package/dist/tools/core/messageChannel.d.ts +27 -0
- package/dist/tools/core/messageChannel.d.ts.map +1 -0
- package/dist/tools/core/messageChannel.js +59 -0
- package/dist/tools/core/messageChannel.js.map +1 -0
- package/dist/tools/core/parallelCrew.d.ts +54 -0
- package/dist/tools/core/parallelCrew.d.ts.map +1 -0
- package/dist/tools/core/parallelCrew.js +60 -0
- package/dist/tools/core/parallelCrew.js.map +1 -0
- package/dist/tools/core/pollTool.d.ts +36 -0
- package/dist/tools/core/pollTool.d.ts.map +1 -0
- package/dist/tools/core/pollTool.js +69 -0
- package/dist/tools/core/pollTool.js.map +1 -0
- package/dist/tools/core/projectTracker.d.ts +71 -0
- package/dist/tools/core/projectTracker.d.ts.map +1 -0
- package/dist/tools/core/projectTracker.js +181 -0
- package/dist/tools/core/projectTracker.js.map +1 -0
- package/dist/tools/core/readFile.d.ts +24 -0
- package/dist/tools/core/readFile.d.ts.map +1 -0
- package/dist/tools/core/readFile.js +49 -0
- package/dist/tools/core/readFile.js.map +1 -0
- package/dist/tools/core/readPDF.d.ts +32 -0
- package/dist/tools/core/readPDF.d.ts.map +1 -0
- package/dist/tools/core/readPDF.js +135 -0
- package/dist/tools/core/readPDF.js.map +1 -0
- package/dist/tools/core/reloadTool.d.ts +36 -0
- package/dist/tools/core/reloadTool.d.ts.map +1 -0
- package/dist/tools/core/reloadTool.js +109 -0
- package/dist/tools/core/reloadTool.js.map +1 -0
- package/dist/tools/core/replyToUser.d.ts +14 -0
- package/dist/tools/core/replyToUser.d.ts.map +1 -0
- package/dist/tools/core/replyToUser.js +19 -0
- package/dist/tools/core/replyToUser.js.map +1 -0
- package/dist/tools/core/screenCapture.d.ts +17 -0
- package/dist/tools/core/screenCapture.d.ts.map +1 -0
- package/dist/tools/core/screenCapture.js +34 -0
- package/dist/tools/core/screenCapture.js.map +1 -0
- package/dist/tools/core/sendEmail.d.ts +34 -0
- package/dist/tools/core/sendEmail.d.ts.map +1 -0
- package/dist/tools/core/sendEmail.js +56 -0
- package/dist/tools/core/sendEmail.js.map +1 -0
- package/dist/tools/core/sendFile.d.ts +37 -0
- package/dist/tools/core/sendFile.d.ts.map +1 -0
- package/dist/tools/core/sendFile.js +53 -0
- package/dist/tools/core/sendFile.js.map +1 -0
- package/dist/tools/core/sessionSearch.d.ts +62 -0
- package/dist/tools/core/sessionSearch.d.ts.map +1 -0
- package/dist/tools/core/sessionSearch.js +154 -0
- package/dist/tools/core/sessionSearch.js.map +1 -0
- package/dist/tools/core/skillManage.d.ts +71 -0
- package/dist/tools/core/skillManage.d.ts.map +1 -0
- package/dist/tools/core/skillManage.js +353 -0
- package/dist/tools/core/skillManage.js.map +1 -0
- package/dist/tools/core/skillView.d.ts +46 -0
- package/dist/tools/core/skillView.d.ts.map +1 -0
- package/dist/tools/core/skillView.js +101 -0
- package/dist/tools/core/skillView.js.map +1 -0
- package/dist/tools/core/teamTool.d.ts +71 -0
- package/dist/tools/core/teamTool.d.ts.map +1 -0
- package/dist/tools/core/teamTool.js +132 -0
- package/dist/tools/core/teamTool.js.map +1 -0
- package/dist/tools/core/textToSpeech.d.ts +25 -0
- package/dist/tools/core/textToSpeech.d.ts.map +1 -0
- package/dist/tools/core/textToSpeech.js +87 -0
- package/dist/tools/core/textToSpeech.js.map +1 -0
- package/dist/tools/core/transcribeAudio.d.ts +21 -0
- package/dist/tools/core/transcribeAudio.d.ts.map +1 -0
- package/dist/tools/core/transcribeAudio.js +27 -0
- package/dist/tools/core/transcribeAudio.js.map +1 -0
- package/dist/tools/core/useCrew.d.ts +38 -0
- package/dist/tools/core/useCrew.d.ts.map +1 -0
- package/dist/tools/core/useCrew.js +48 -0
- package/dist/tools/core/useCrew.js.map +1 -0
- package/dist/tools/core/useMCP.d.ts +40 -0
- package/dist/tools/core/useMCP.d.ts.map +1 -0
- package/dist/tools/core/useMCP.js +64 -0
- package/dist/tools/core/useMCP.js.map +1 -0
- package/dist/tools/core/watcherTool.d.ts +47 -0
- package/dist/tools/core/watcherTool.d.ts.map +1 -0
- package/dist/tools/core/watcherTool.js +119 -0
- package/dist/tools/core/watcherTool.js.map +1 -0
- package/dist/tools/core/webFetch.d.ts +48 -0
- package/dist/tools/core/webFetch.d.ts.map +1 -0
- package/dist/tools/core/webFetch.js +265 -0
- package/dist/tools/core/webFetch.js.map +1 -0
- package/dist/tools/core/webSearch.d.ts +55 -0
- package/dist/tools/core/webSearch.d.ts.map +1 -0
- package/dist/tools/core/webSearch.js +429 -0
- package/dist/tools/core/webSearch.js.map +1 -0
- package/dist/tools/core/writeFile.d.ts +27 -0
- package/dist/tools/core/writeFile.d.ts.map +1 -0
- package/dist/tools/core/writeFile.js +51 -0
- package/dist/tools/core/writeFile.js.map +1 -0
- package/dist/tools/registry.d.ts +36 -0
- package/dist/tools/registry.d.ts.map +1 -0
- package/dist/tools/registry.js +73 -0
- package/dist/tools/registry.js.map +1 -0
- package/dist/tools/types.d.ts +50 -0
- package/dist/tools/types.d.ts.map +1 -0
- package/dist/tools/types.js +20 -0
- package/dist/tools/types.js.map +1 -0
- package/dist/tunnels/TunnelManager.d.ts +52 -0
- package/dist/tunnels/TunnelManager.d.ts.map +1 -0
- package/dist/tunnels/TunnelManager.js +183 -0
- package/dist/tunnels/TunnelManager.js.map +1 -0
- package/dist/tunnels/urls.d.ts +20 -0
- package/dist/tunnels/urls.d.ts.map +1 -0
- package/dist/tunnels/urls.js +22 -0
- package/dist/tunnels/urls.js.map +1 -0
- package/dist/util/errors.d.ts +54 -0
- package/dist/util/errors.d.ts.map +1 -0
- package/dist/util/errors.js +102 -0
- package/dist/util/errors.js.map +1 -0
- package/dist/util/logger.d.ts +21 -0
- package/dist/util/logger.d.ts.map +1 -0
- package/dist/util/logger.js +62 -0
- package/dist/util/logger.js.map +1 -0
- package/dist/util/msgText.d.ts +16 -0
- package/dist/util/msgText.d.ts.map +1 -0
- package/dist/util/msgText.js +65 -0
- package/dist/util/msgText.js.map +1 -0
- package/dist/util/result.d.ts +24 -0
- package/dist/util/result.d.ts.map +1 -0
- package/dist/util/result.js +35 -0
- package/dist/util/result.js.map +1 -0
- package/dist/util/tokenEstimate.d.ts +12 -0
- package/dist/util/tokenEstimate.d.ts.map +1 -0
- package/dist/util/tokenEstimate.js +22 -0
- package/dist/util/tokenEstimate.js.map +1 -0
- package/dist/voice/DaemoraLLM.d.ts +44 -0
- package/dist/voice/DaemoraLLM.d.ts.map +1 -0
- package/dist/voice/DaemoraLLM.js +185 -0
- package/dist/voice/DaemoraLLM.js.map +1 -0
- package/dist/voice/ElevenLabsSTT.d.ts +41 -0
- package/dist/voice/ElevenLabsSTT.d.ts.map +1 -0
- package/dist/voice/ElevenLabsSTT.js +98 -0
- package/dist/voice/ElevenLabsSTT.js.map +1 -0
- package/dist/voice/GroqTTS.d.ts +38 -0
- package/dist/voice/GroqTTS.d.ts.map +1 -0
- package/dist/voice/GroqTTS.js +208 -0
- package/dist/voice/GroqTTS.js.map +1 -0
- package/dist/voice/LiveKitServer.d.ts +30 -0
- package/dist/voice/LiveKitServer.d.ts.map +1 -0
- package/dist/voice/LiveKitServer.js +119 -0
- package/dist/voice/LiveKitServer.js.map +1 -0
- package/dist/voice/LiveKitToken.d.ts +25 -0
- package/dist/voice/LiveKitToken.d.ts.map +1 -0
- package/dist/voice/LiveKitToken.js +44 -0
- package/dist/voice/LiveKitToken.js.map +1 -0
- package/dist/voice/SidecarSupervisor.d.ts +39 -0
- package/dist/voice/SidecarSupervisor.d.ts.map +1 -0
- package/dist/voice/SidecarSupervisor.js +194 -0
- package/dist/voice/SidecarSupervisor.js.map +1 -0
- package/dist/voice/VoiceAgent.d.ts +23 -0
- package/dist/voice/VoiceAgent.d.ts.map +1 -0
- package/dist/voice/VoiceAgent.js +265 -0
- package/dist/voice/VoiceAgent.js.map +1 -0
- package/dist/voice/VoiceProviders.d.ts +29 -0
- package/dist/voice/VoiceProviders.d.ts.map +1 -0
- package/dist/voice/VoiceProviders.js +177 -0
- package/dist/voice/VoiceProviders.js.map +1 -0
- package/dist/voice/VoiceSession.d.ts +106 -0
- package/dist/voice/VoiceSession.d.ts.map +1 -0
- package/dist/voice/VoiceSession.js +454 -0
- package/dist/voice/VoiceSession.js.map +1 -0
- package/dist/voice/VoiceSocket.d.ts +49 -0
- package/dist/voice/VoiceSocket.d.ts.map +1 -0
- package/dist/voice/VoiceSocket.js +274 -0
- package/dist/voice/VoiceSocket.js.map +1 -0
- package/dist/voice/stt/DeepgramSTT.d.ts +26 -0
- package/dist/voice/stt/DeepgramSTT.d.ts.map +1 -0
- package/dist/voice/stt/DeepgramSTT.js +188 -0
- package/dist/voice/stt/DeepgramSTT.js.map +1 -0
- package/dist/voice/stt/GroqSTT.d.ts +28 -0
- package/dist/voice/stt/GroqSTT.d.ts.map +1 -0
- package/dist/voice/stt/GroqSTT.js +169 -0
- package/dist/voice/stt/GroqSTT.js.map +1 -0
- package/dist/voice/stt/STTAdapter.d.ts +47 -0
- package/dist/voice/stt/STTAdapter.d.ts.map +1 -0
- package/dist/voice/stt/STTAdapter.js +27 -0
- package/dist/voice/stt/STTAdapter.js.map +1 -0
- package/dist/voice/transcribe.d.ts +33 -0
- package/dist/voice/transcribe.d.ts.map +1 -0
- package/dist/voice/transcribe.js +73 -0
- package/dist/voice/transcribe.js.map +1 -0
- package/dist/voice/transcriptFilter.d.ts +16 -0
- package/dist/voice/transcriptFilter.d.ts.map +1 -0
- package/dist/voice/transcriptFilter.js +36 -0
- package/dist/voice/transcriptFilter.js.map +1 -0
- package/dist/voice/tts/CartesiaTTS.d.ts +31 -0
- package/dist/voice/tts/CartesiaTTS.d.ts.map +1 -0
- package/dist/voice/tts/CartesiaTTS.js +201 -0
- package/dist/voice/tts/CartesiaTTS.js.map +1 -0
- package/dist/voice/tts/ElevenLabsTTS.d.ts +29 -0
- package/dist/voice/tts/ElevenLabsTTS.d.ts.map +1 -0
- package/dist/voice/tts/ElevenLabsTTS.js +210 -0
- package/dist/voice/tts/ElevenLabsTTS.js.map +1 -0
- package/dist/voice/tts/OpenAITTS.d.ts +23 -0
- package/dist/voice/tts/OpenAITTS.d.ts.map +1 -0
- package/dist/voice/tts/OpenAITTS.js +124 -0
- package/dist/voice/tts/OpenAITTS.js.map +1 -0
- package/dist/voice/tts/TTSAdapter.d.ts +46 -0
- package/dist/voice/tts/TTSAdapter.d.ts.map +1 -0
- package/dist/voice/tts/TTSAdapter.js +26 -0
- package/dist/voice/tts/TTSAdapter.js.map +1 -0
- package/dist/voice-worker.mjs +607 -0
- package/dist/watchers/FileWatcher.d.ts +47 -0
- package/dist/watchers/FileWatcher.d.ts.map +1 -0
- package/dist/watchers/FileWatcher.js +103 -0
- package/dist/watchers/FileWatcher.js.map +1 -0
- package/dist/watchers/IntegrationWatcher.d.ts +68 -0
- package/dist/watchers/IntegrationWatcher.d.ts.map +1 -0
- package/dist/watchers/IntegrationWatcher.js +347 -0
- package/dist/watchers/IntegrationWatcher.js.map +1 -0
- package/dist/watchers/PollWatcher.d.ts +54 -0
- package/dist/watchers/PollWatcher.d.ts.map +1 -0
- package/dist/watchers/PollWatcher.js +135 -0
- package/dist/watchers/PollWatcher.js.map +1 -0
- package/dist/watchers/WatcherRunner.d.ts +49 -0
- package/dist/watchers/WatcherRunner.d.ts.map +1 -0
- package/dist/watchers/WatcherRunner.js +203 -0
- package/dist/watchers/WatcherRunner.js.map +1 -0
- package/dist/watchers/WatcherStore.d.ts +43 -0
- package/dist/watchers/WatcherStore.d.ts.map +1 -0
- package/dist/watchers/WatcherStore.js +78 -0
- package/dist/watchers/WatcherStore.js.map +1 -0
- package/dist/webhooks/WebhookHandler.d.ts +36 -0
- package/dist/webhooks/WebhookHandler.d.ts.map +1 -0
- package/dist/webhooks/WebhookHandler.js +264 -0
- package/dist/webhooks/WebhookHandler.js.map +1 -0
- package/dist/webhooks/WebhookTokenStore.d.ts +48 -0
- package/dist/webhooks/WebhookTokenStore.d.ts.map +1 -0
- package/dist/webhooks/WebhookTokenStore.js +136 -0
- package/dist/webhooks/WebhookTokenStore.js.map +1 -0
- package/dist/webhooks/hmac.d.ts +43 -0
- package/dist/webhooks/hmac.d.ts.map +1 -0
- package/dist/webhooks/hmac.js +98 -0
- package/dist/webhooks/hmac.js.map +1 -0
- package/dist/webhooks/watcherTemplates.d.ts +21 -0
- package/dist/webhooks/watcherTemplates.d.ts.map +1 -0
- package/dist/webhooks/watcherTemplates.js +164 -0
- package/dist/webhooks/watcherTemplates.js.map +1 -0
- package/package.json +119 -0
- package/public/architecture.svg +99 -0
- package/public/banner.png +0 -0
- package/public/banner.svg +141 -0
- package/public/multi-agent.svg +109 -0
- package/public/security.svg +84 -0
- package/public/steer-inject.svg +73 -0
- package/public/task-lifecycle.svg +77 -0
- package/skills/_template/SKILL.md +11 -0
- package/skills/api-development.md +35 -0
- package/skills/apple-notes/SKILL.md +77 -0
- package/skills/apple-reminders/SKILL.md +118 -0
- package/skills/artifacts-builder/SKILL.md +74 -0
- package/skills/artifacts-builder/scripts/bundle-artifact.sh +54 -0
- package/skills/artifacts-builder/scripts/init-artifact.sh +322 -0
- package/skills/artifacts-builder/scripts/shadcn-components.tar.gz +0 -0
- package/skills/brand-guidelines.md +73 -0
- package/skills/browser.md +77 -0
- package/skills/camsnap/SKILL.md +45 -0
- package/skills/changelog-generator.md +104 -0
- package/skills/coding-agent/SKILL.md +316 -0
- package/skills/content-research-writer.md +538 -0
- package/skills/create-new-skill.md +564 -0
- package/skills/data-analysis.md +27 -0
- package/skills/debugging.md +33 -0
- package/skills/devops.md +37 -0
- package/skills/discord/SKILL.md +197 -0
- package/skills/document-docx.md +197 -0
- package/skills/document-pptx.md +484 -0
- package/skills/document-xlsx.md +289 -0
- package/skills/documents.md +13 -0
- package/skills/domain-name-brainstormer.md +212 -0
- package/skills/email.md +13 -0
- package/skills/example-pdf/SKILL.md +17 -0
- package/skills/file-organizer.md +433 -0
- package/skills/frontend-design.md +42 -0
- package/skills/gif-search.md +53 -0
- package/skills/github/SKILL.md +163 -0
- package/skills/google-workspace.md +64 -0
- package/skills/image-enhancer.md +99 -0
- package/skills/image-gen.md +48 -0
- package/skills/invoice-organizer.md +446 -0
- package/skills/lead-research-assistant.md +199 -0
- package/skills/link-understanding.md +21 -0
- package/skills/macos-automation.md +62 -0
- package/skills/mcp-builder/SKILL.md +328 -0
- package/skills/mcp-builder/reference/evaluation.md +602 -0
- package/skills/mcp-builder/reference/mcp_best_practices.md +915 -0
- package/skills/mcp-builder/reference/node_mcp_server.md +916 -0
- package/skills/mcp-builder/reference/python_mcp_server.md +752 -0
- package/skills/mcp-builder/scripts/connections.py +151 -0
- package/skills/mcp-builder/scripts/evaluation.py +373 -0
- package/skills/mcp-builder/scripts/example_evaluation.xml +22 -0
- package/skills/mcp-builder/scripts/requirements.txt +2 -0
- package/skills/meeting-attendance.md +37 -0
- package/skills/meeting-insights-analyzer.md +327 -0
- package/skills/model-usage/SKILL.md +69 -0
- package/skills/model-usage/references/codexbar-cli.md +33 -0
- package/skills/model-usage/scripts/model_usage.py +320 -0
- package/skills/model-usage/scripts/test_model_usage.py +40 -0
- package/skills/notion/SKILL.md +174 -0
- package/skills/obsidian/SKILL.md +81 -0
- package/skills/orchestration.md +114 -0
- package/skills/pdf.md +60 -0
- package/skills/planning/SKILL.md +98 -0
- package/skills/planning.md +168 -0
- package/skills/raffle-winner-picker.md +159 -0
- package/skills/remotion.md +126 -0
- package/skills/research.md +13 -0
- package/skills/skill-creator/SKILL.md +372 -0
- package/skills/skill-creator/license.txt +202 -0
- package/skills/skill-creator/scripts/init_skill.py +378 -0
- package/skills/skill-creator/scripts/package_skill.py +139 -0
- package/skills/skill-creator/scripts/quick_validate.py +159 -0
- package/skills/skill-creator/scripts/test_package_skill.py +160 -0
- package/skills/skill-creator/scripts/test_quick_validate.py +72 -0
- package/skills/slack/SKILL.md +144 -0
- package/skills/slack-gif-creator/SKILL.md +646 -0
- package/skills/slack-gif-creator/core/color_palettes.py +302 -0
- package/skills/slack-gif-creator/core/easing.py +230 -0
- package/skills/slack-gif-creator/core/frame_composer.py +469 -0
- package/skills/slack-gif-creator/core/gif_builder.py +246 -0
- package/skills/slack-gif-creator/core/typography.py +357 -0
- package/skills/slack-gif-creator/core/validators.py +264 -0
- package/skills/slack-gif-creator/core/visual_effects.py +494 -0
- package/skills/slack-gif-creator/requirements.txt +4 -0
- package/skills/slack-gif-creator/templates/bounce.py +106 -0
- package/skills/slack-gif-creator/templates/explode.py +331 -0
- package/skills/slack-gif-creator/templates/fade.py +329 -0
- package/skills/slack-gif-creator/templates/flip.py +291 -0
- package/skills/slack-gif-creator/templates/kaleidoscope.py +211 -0
- package/skills/slack-gif-creator/templates/morph.py +329 -0
- package/skills/slack-gif-creator/templates/move.py +293 -0
- package/skills/slack-gif-creator/templates/pulse.py +268 -0
- package/skills/slack-gif-creator/templates/shake.py +127 -0
- package/skills/slack-gif-creator/templates/slide.py +291 -0
- package/skills/slack-gif-creator/templates/spin.py +269 -0
- package/skills/slack-gif-creator/templates/wiggle.py +300 -0
- package/skills/slack-gif-creator/templates/zoom.py +312 -0
- package/skills/summarize/SKILL.md +87 -0
- package/skills/system-admin.md +44 -0
- package/skills/tailored-resume-generator.md +345 -0
- package/skills/task-decomposition/SKILL.md +113 -0
- package/skills/theme-factory/SKILL.md +59 -0
- package/skills/theme-factory/theme-showcase.pdf +0 -0
- package/skills/theme-factory/themes/arctic-frost.md +19 -0
- package/skills/theme-factory/themes/botanical-garden.md +19 -0
- package/skills/theme-factory/themes/desert-rose.md +19 -0
- package/skills/theme-factory/themes/forest-canopy.md +19 -0
- package/skills/theme-factory/themes/golden-hour.md +19 -0
- package/skills/theme-factory/themes/midnight-galaxy.md +19 -0
- package/skills/theme-factory/themes/modern-minimalist.md +19 -0
- package/skills/theme-factory/themes/ocean-depths.md +19 -0
- package/skills/theme-factory/themes/sunset-boulevard.md +19 -0
- package/skills/theme-factory/themes/tech-innovation.md +19 -0
- package/skills/things-mac/SKILL.md +86 -0
- package/skills/tmux/SKILL.md +170 -0
- package/skills/tmux/scripts/find-sessions.sh +112 -0
- package/skills/tmux/scripts/wait-for-text.sh +83 -0
- package/skills/trello/SKILL.md +108 -0
- package/skills/video-downloader.md +99 -0
- package/skills/video-frames/SKILL.md +46 -0
- package/skills/video-frames/scripts/frame.sh +81 -0
- package/skills/weather/SKILL.md +129 -0
- package/skills/web-development.md +32 -0
- package/skills/webapp-testing/SKILL.md +96 -0
- package/skills/webapp-testing/examples/console_logging.py +35 -0
- package/skills/webapp-testing/examples/element_discovery.py +40 -0
- package/skills/webapp-testing/examples/static_html_automation.py +33 -0
- package/skills/webapp-testing/scripts/with_server.py +106 -0
- package/ui/dist/assets/index-DuybLBDW.css +1 -0
- package/ui/dist/assets/index-kK4jTnXz.js +569 -0
- package/ui/dist/favicon.svg +29 -0
- package/ui/dist/index.html +16 -0
|
@@ -0,0 +1,412 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: maps
|
|
3
|
+
description: Make map animations with Mapbox
|
|
4
|
+
metadata:
|
|
5
|
+
tags: map, map animation, mapbox
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
Maps can be added to a Remotion video with Mapbox.
|
|
9
|
+
The [Mapbox documentation](https://docs.mapbox.com/mapbox-gl-js/api/) has the API reference.
|
|
10
|
+
|
|
11
|
+
## Prerequisites
|
|
12
|
+
|
|
13
|
+
Mapbox and `@turf/turf` need to be installed.
|
|
14
|
+
|
|
15
|
+
Search the project for lockfiles and run the correct command depending on the package manager:
|
|
16
|
+
|
|
17
|
+
If `package-lock.json` is found, use the following command:
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
npm i mapbox-gl @turf/turf @types/mapbox-gl
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
If `bun.lock` is found, use the following command:
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
bun i mapbox-gl @turf/turf @types/mapbox-gl
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
If `yarn.lock` is found, use the following command:
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
yarn add mapbox-gl @turf/turf @types/mapbox-gl
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
If `pnpm-lock.yaml` is found, use the following command:
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
pnpm i mapbox-gl @turf/turf @types/mapbox-gl
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
The user needs to create a free Mapbox account and create an access token by visiting https://console.mapbox.com/account/access-tokens/.
|
|
42
|
+
|
|
43
|
+
The mapbox token needs to be added to the `.env` file:
|
|
44
|
+
|
|
45
|
+
```txt title=".env"
|
|
46
|
+
REMOTION_MAPBOX_TOKEN==pk.your-mapbox-access-token
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
## Adding a map
|
|
50
|
+
|
|
51
|
+
Here is a basic example of a map in Remotion.
|
|
52
|
+
|
|
53
|
+
```tsx
|
|
54
|
+
import { useEffect, useMemo, useRef, useState } from "react";
|
|
55
|
+
import { AbsoluteFill, useDelayRender, useVideoConfig } from "remotion";
|
|
56
|
+
import mapboxgl, { Map } from "mapbox-gl";
|
|
57
|
+
|
|
58
|
+
export const lineCoordinates = [
|
|
59
|
+
[6.56158447265625, 46.059891147620725],
|
|
60
|
+
[6.5691375732421875, 46.05679376154153],
|
|
61
|
+
[6.5842437744140625, 46.05059898938315],
|
|
62
|
+
[6.594886779785156, 46.04702502069337],
|
|
63
|
+
[6.601066589355469, 46.0460718554722],
|
|
64
|
+
[6.6089630126953125, 46.0365370783104],
|
|
65
|
+
[6.6185760498046875, 46.018420689207964],
|
|
66
|
+
];
|
|
67
|
+
|
|
68
|
+
mapboxgl.accessToken = process.env.REMOTION_MAPBOX_TOKEN as string;
|
|
69
|
+
|
|
70
|
+
export const MyComposition = () => {
|
|
71
|
+
const ref = useRef<HTMLDivElement>(null);
|
|
72
|
+
const { delayRender, continueRender } = useDelayRender();
|
|
73
|
+
|
|
74
|
+
const { width, height } = useVideoConfig();
|
|
75
|
+
const [handle] = useState(() => delayRender("Loading map..."));
|
|
76
|
+
const [map, setMap] = useState<Map | null>(null);
|
|
77
|
+
|
|
78
|
+
useEffect(() => {
|
|
79
|
+
const _map = new Map({
|
|
80
|
+
container: ref.current!,
|
|
81
|
+
zoom: 11.53,
|
|
82
|
+
center: [6.5615, 46.0598],
|
|
83
|
+
pitch: 65,
|
|
84
|
+
bearing: 0,
|
|
85
|
+
style: "mapbox://styles/mapbox/standard",
|
|
86
|
+
interactive: false,
|
|
87
|
+
fadeDuration: 0,
|
|
88
|
+
});
|
|
89
|
+
|
|
90
|
+
_map.on("style.load", () => {
|
|
91
|
+
// Hide all features from the Mapbox Standard style
|
|
92
|
+
const hideFeatures = [
|
|
93
|
+
"showRoadsAndTransit",
|
|
94
|
+
"showRoads",
|
|
95
|
+
"showTransit",
|
|
96
|
+
"showPedestrianRoads",
|
|
97
|
+
"showRoadLabels",
|
|
98
|
+
"showTransitLabels",
|
|
99
|
+
"showPlaceLabels",
|
|
100
|
+
"showPointOfInterestLabels",
|
|
101
|
+
"showPointsOfInterest",
|
|
102
|
+
"showAdminBoundaries",
|
|
103
|
+
"showLandmarkIcons",
|
|
104
|
+
"showLandmarkIconLabels",
|
|
105
|
+
"show3dObjects",
|
|
106
|
+
"show3dBuildings",
|
|
107
|
+
"show3dTrees",
|
|
108
|
+
"show3dLandmarks",
|
|
109
|
+
"show3dFacades",
|
|
110
|
+
];
|
|
111
|
+
for (const feature of hideFeatures) {
|
|
112
|
+
_map.setConfigProperty("basemap", feature, false);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
_map.setConfigProperty("basemap", "colorTrunks", "rgba(0, 0, 0, 0)");
|
|
116
|
+
|
|
117
|
+
_map.addSource("trace", {
|
|
118
|
+
type: "geojson",
|
|
119
|
+
data: {
|
|
120
|
+
type: "Feature",
|
|
121
|
+
properties: {},
|
|
122
|
+
geometry: {
|
|
123
|
+
type: "LineString",
|
|
124
|
+
coordinates: lineCoordinates,
|
|
125
|
+
},
|
|
126
|
+
},
|
|
127
|
+
});
|
|
128
|
+
_map.addLayer({
|
|
129
|
+
type: "line",
|
|
130
|
+
source: "trace",
|
|
131
|
+
id: "line",
|
|
132
|
+
paint: {
|
|
133
|
+
"line-color": "black",
|
|
134
|
+
"line-width": 5,
|
|
135
|
+
},
|
|
136
|
+
layout: {
|
|
137
|
+
"line-cap": "round",
|
|
138
|
+
"line-join": "round",
|
|
139
|
+
},
|
|
140
|
+
});
|
|
141
|
+
});
|
|
142
|
+
|
|
143
|
+
_map.on("load", () => {
|
|
144
|
+
continueRender(handle);
|
|
145
|
+
setMap(_map);
|
|
146
|
+
});
|
|
147
|
+
}, [handle, lineCoordinates]);
|
|
148
|
+
|
|
149
|
+
const style: React.CSSProperties = useMemo(
|
|
150
|
+
() => ({ width, height, position: "absolute" }),
|
|
151
|
+
[width, height],
|
|
152
|
+
);
|
|
153
|
+
|
|
154
|
+
return <AbsoluteFill ref={ref} style={style} />;
|
|
155
|
+
};
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
The following is important in Remotion:
|
|
159
|
+
|
|
160
|
+
- Animations must be driven by `useCurrentFrame()` and animations that Mapbox brings itself should be disabled. For example, the `fadeDuration` prop should be set to `0`, `interactive` should be set to `false`, etc.
|
|
161
|
+
- Loading the map should be delayed using `useDelayRender()` and the map should be set to `null` until it is loaded.
|
|
162
|
+
- The element containing the ref MUST have an explicit width and height and `position: "absolute"`.
|
|
163
|
+
- Do not add a `_map.remove();` cleanup function.
|
|
164
|
+
|
|
165
|
+
## Drawing lines
|
|
166
|
+
|
|
167
|
+
Unless I request it, do not add a glow effect to the lines.
|
|
168
|
+
Unless I request it, do not add additional points to the lines.
|
|
169
|
+
|
|
170
|
+
## Map style
|
|
171
|
+
|
|
172
|
+
By default, use the `mapbox://styles/mapbox/standard` style.
|
|
173
|
+
Hide the labels from the base map style.
|
|
174
|
+
|
|
175
|
+
Unless I request otherwise, remove all features from the Mapbox Standard style.
|
|
176
|
+
|
|
177
|
+
```tsx
|
|
178
|
+
// Hide all features from the Mapbox Standard style
|
|
179
|
+
const hideFeatures = [
|
|
180
|
+
"showRoadsAndTransit",
|
|
181
|
+
"showRoads",
|
|
182
|
+
"showTransit",
|
|
183
|
+
"showPedestrianRoads",
|
|
184
|
+
"showRoadLabels",
|
|
185
|
+
"showTransitLabels",
|
|
186
|
+
"showPlaceLabels",
|
|
187
|
+
"showPointOfInterestLabels",
|
|
188
|
+
"showPointsOfInterest",
|
|
189
|
+
"showAdminBoundaries",
|
|
190
|
+
"showLandmarkIcons",
|
|
191
|
+
"showLandmarkIconLabels",
|
|
192
|
+
"show3dObjects",
|
|
193
|
+
"show3dBuildings",
|
|
194
|
+
"show3dTrees",
|
|
195
|
+
"show3dLandmarks",
|
|
196
|
+
"show3dFacades",
|
|
197
|
+
];
|
|
198
|
+
for (const feature of hideFeatures) {
|
|
199
|
+
_map.setConfigProperty("basemap", feature, false);
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
_map.setConfigProperty("basemap", "colorMotorways", "transparent");
|
|
203
|
+
_map.setConfigProperty("basemap", "colorRoads", "transparent");
|
|
204
|
+
_map.setConfigProperty("basemap", "colorTrunks", "transparent");
|
|
205
|
+
```
|
|
206
|
+
|
|
207
|
+
## Animating the camera
|
|
208
|
+
|
|
209
|
+
You can animate the camera along the line by adding a `useEffect` hook that updates the camera position based on the current frame.
|
|
210
|
+
|
|
211
|
+
Unless I ask for it, do not jump between camera angles.
|
|
212
|
+
|
|
213
|
+
```tsx
|
|
214
|
+
import * as turf from "@turf/turf";
|
|
215
|
+
import { interpolate } from "remotion";
|
|
216
|
+
import { Easing } from "remotion";
|
|
217
|
+
import { useCurrentFrame, useVideoConfig, useDelayRender } from "remotion";
|
|
218
|
+
|
|
219
|
+
const animationDuration = 20;
|
|
220
|
+
const cameraAltitude = 4000;
|
|
221
|
+
```
|
|
222
|
+
|
|
223
|
+
```tsx
|
|
224
|
+
const frame = useCurrentFrame();
|
|
225
|
+
const { fps } = useVideoConfig();
|
|
226
|
+
const { delayRender, continueRender } = useDelayRender();
|
|
227
|
+
|
|
228
|
+
useEffect(() => {
|
|
229
|
+
if (!map) {
|
|
230
|
+
return;
|
|
231
|
+
}
|
|
232
|
+
const handle = delayRender("Moving point...");
|
|
233
|
+
|
|
234
|
+
const routeDistance = turf.length(turf.lineString(lineCoordinates));
|
|
235
|
+
|
|
236
|
+
const progress = interpolate(
|
|
237
|
+
frame / fps,
|
|
238
|
+
[0.00001, animationDuration],
|
|
239
|
+
[0, 1],
|
|
240
|
+
{
|
|
241
|
+
easing: Easing.inOut(Easing.sin),
|
|
242
|
+
extrapolateLeft: "clamp",
|
|
243
|
+
extrapolateRight: "clamp",
|
|
244
|
+
},
|
|
245
|
+
);
|
|
246
|
+
|
|
247
|
+
const camera = map.getFreeCameraOptions();
|
|
248
|
+
|
|
249
|
+
const alongRoute = turf.along(
|
|
250
|
+
turf.lineString(lineCoordinates),
|
|
251
|
+
routeDistance * progress,
|
|
252
|
+
).geometry.coordinates;
|
|
253
|
+
|
|
254
|
+
camera.lookAtPoint({
|
|
255
|
+
lng: alongRoute[0],
|
|
256
|
+
lat: alongRoute[1],
|
|
257
|
+
});
|
|
258
|
+
|
|
259
|
+
map.setFreeCameraOptions(camera);
|
|
260
|
+
map.once("idle", () => continueRender(handle));
|
|
261
|
+
}, [lineCoordinates, fps, frame, handle, map]);
|
|
262
|
+
```
|
|
263
|
+
|
|
264
|
+
Notes:
|
|
265
|
+
|
|
266
|
+
IMPORTANT: Keep the camera by default so north is up.
|
|
267
|
+
IMPORTANT: For multi-step animations, set all properties at all stages (zoom, position, line progress) to prevent jumps. Override initial values.
|
|
268
|
+
|
|
269
|
+
- The progress is clamped to a minimum value to avoid the line being empty, which can lead to turf errors
|
|
270
|
+
- See [Timing](./timing.md) for more options for timing.
|
|
271
|
+
- Consider the dimensions of the composition and make the lines thick enough and the label font size large enough to be legible for when the composition is scaled down.
|
|
272
|
+
|
|
273
|
+
## Animating lines
|
|
274
|
+
|
|
275
|
+
### Straight lines (linear interpolation)
|
|
276
|
+
|
|
277
|
+
To animate a line that appears straight on the map, use linear interpolation between coordinates. Do NOT use turf's `lineSliceAlong` or `along` functions, as they use geodesic (great circle) calculations which appear curved on a Mercator projection.
|
|
278
|
+
|
|
279
|
+
```tsx
|
|
280
|
+
const frame = useCurrentFrame();
|
|
281
|
+
const { durationInFrames } = useVideoConfig();
|
|
282
|
+
|
|
283
|
+
useEffect(() => {
|
|
284
|
+
if (!map) return;
|
|
285
|
+
|
|
286
|
+
const animationHandle = delayRender("Animating line...");
|
|
287
|
+
|
|
288
|
+
const progress = interpolate(frame, [0, durationInFrames - 1], [0, 1], {
|
|
289
|
+
extrapolateLeft: "clamp",
|
|
290
|
+
extrapolateRight: "clamp",
|
|
291
|
+
easing: Easing.inOut(Easing.cubic),
|
|
292
|
+
});
|
|
293
|
+
|
|
294
|
+
// Linear interpolation for a straight line on the map
|
|
295
|
+
const start = lineCoordinates[0];
|
|
296
|
+
const end = lineCoordinates[1];
|
|
297
|
+
const currentLng = start[0] + (end[0] - start[0]) * progress;
|
|
298
|
+
const currentLat = start[1] + (end[1] - start[1]) * progress;
|
|
299
|
+
|
|
300
|
+
const lineData: GeoJSON.Feature<GeoJSON.LineString> = {
|
|
301
|
+
type: "Feature",
|
|
302
|
+
properties: {},
|
|
303
|
+
geometry: {
|
|
304
|
+
type: "LineString",
|
|
305
|
+
coordinates: [start, [currentLng, currentLat]],
|
|
306
|
+
},
|
|
307
|
+
};
|
|
308
|
+
|
|
309
|
+
const source = map.getSource("trace") as mapboxgl.GeoJSONSource;
|
|
310
|
+
if (source) {
|
|
311
|
+
source.setData(lineData);
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
map.once("idle", () => continueRender(animationHandle));
|
|
315
|
+
}, [frame, map, durationInFrames]);
|
|
316
|
+
```
|
|
317
|
+
|
|
318
|
+
### Curved lines (geodesic/great circle)
|
|
319
|
+
|
|
320
|
+
To animate a line that follows the geodesic (great circle) path between two points, use turf's `lineSliceAlong`. This is useful for showing flight paths or the actual shortest distance on Earth.
|
|
321
|
+
|
|
322
|
+
```tsx
|
|
323
|
+
import * as turf from "@turf/turf";
|
|
324
|
+
|
|
325
|
+
const routeLine = turf.lineString(lineCoordinates);
|
|
326
|
+
const routeDistance = turf.length(routeLine);
|
|
327
|
+
|
|
328
|
+
const currentDistance = Math.max(0.001, routeDistance * progress);
|
|
329
|
+
const slicedLine = turf.lineSliceAlong(routeLine, 0, currentDistance);
|
|
330
|
+
|
|
331
|
+
const source = map.getSource("route") as mapboxgl.GeoJSONSource;
|
|
332
|
+
if (source) {
|
|
333
|
+
source.setData(slicedLine);
|
|
334
|
+
}
|
|
335
|
+
```
|
|
336
|
+
|
|
337
|
+
## Markers
|
|
338
|
+
|
|
339
|
+
Add labels, and markers where appropriate.
|
|
340
|
+
|
|
341
|
+
```tsx
|
|
342
|
+
_map.addSource("markers", {
|
|
343
|
+
type: "geojson",
|
|
344
|
+
data: {
|
|
345
|
+
type: "FeatureCollection",
|
|
346
|
+
features: [
|
|
347
|
+
{
|
|
348
|
+
type: "Feature",
|
|
349
|
+
properties: { name: "Point 1" },
|
|
350
|
+
geometry: { type: "Point", coordinates: [-118.2437, 34.0522] },
|
|
351
|
+
},
|
|
352
|
+
],
|
|
353
|
+
},
|
|
354
|
+
});
|
|
355
|
+
|
|
356
|
+
_map.addLayer({
|
|
357
|
+
id: "city-markers",
|
|
358
|
+
type: "circle",
|
|
359
|
+
source: "markers",
|
|
360
|
+
paint: {
|
|
361
|
+
"circle-radius": 40,
|
|
362
|
+
"circle-color": "#FF4444",
|
|
363
|
+
"circle-stroke-width": 4,
|
|
364
|
+
"circle-stroke-color": "#FFFFFF",
|
|
365
|
+
},
|
|
366
|
+
});
|
|
367
|
+
|
|
368
|
+
_map.addLayer({
|
|
369
|
+
id: "labels",
|
|
370
|
+
type: "symbol",
|
|
371
|
+
source: "markers",
|
|
372
|
+
layout: {
|
|
373
|
+
"text-field": ["get", "name"],
|
|
374
|
+
"text-font": ["DIN Pro Bold", "Arial Unicode MS Bold"],
|
|
375
|
+
"text-size": 50,
|
|
376
|
+
"text-offset": [0, 0.5],
|
|
377
|
+
"text-anchor": "top",
|
|
378
|
+
},
|
|
379
|
+
paint: {
|
|
380
|
+
"text-color": "#FFFFFF",
|
|
381
|
+
"text-halo-color": "#000000",
|
|
382
|
+
"text-halo-width": 2,
|
|
383
|
+
},
|
|
384
|
+
});
|
|
385
|
+
```
|
|
386
|
+
|
|
387
|
+
Make sure they are big enough. Check the composition dimensions and scale the labels accordingly.
|
|
388
|
+
For a composition size of 1920x1080, the label font size should be at least 40px.
|
|
389
|
+
|
|
390
|
+
IMPORTANT: Keep the `text-offset` small enough so it is close to the marker. Consider the marker circle radius. For a circle radius of 40, this is a good offset:
|
|
391
|
+
|
|
392
|
+
```tsx
|
|
393
|
+
"text-offset": [0, 0.5],
|
|
394
|
+
```
|
|
395
|
+
|
|
396
|
+
## 3D buildings
|
|
397
|
+
|
|
398
|
+
To enable 3D buildings, use the following code:
|
|
399
|
+
|
|
400
|
+
```tsx
|
|
401
|
+
_map.setConfigProperty("basemap", "show3dObjects", true);
|
|
402
|
+
_map.setConfigProperty("basemap", "show3dLandmarks", true);
|
|
403
|
+
_map.setConfigProperty("basemap", "show3dBuildings", true);
|
|
404
|
+
```
|
|
405
|
+
|
|
406
|
+
## Rendering
|
|
407
|
+
|
|
408
|
+
When rendering a map animation, make sure to render with the following flags:
|
|
409
|
+
|
|
410
|
+
```
|
|
411
|
+
npx remotion render --gl=angle --concurrency=1
|
|
412
|
+
```
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: measuring-dom-nodes
|
|
3
|
+
description: Measuring DOM element dimensions in Remotion
|
|
4
|
+
metadata:
|
|
5
|
+
tags: measure, layout, dimensions, getBoundingClientRect, scale
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Measuring DOM nodes in Remotion
|
|
9
|
+
|
|
10
|
+
Remotion applies a `scale()` transform to the video container, which affects values from `getBoundingClientRect()`. Use `useCurrentScale()` to get correct measurements.
|
|
11
|
+
|
|
12
|
+
## Measuring element dimensions
|
|
13
|
+
|
|
14
|
+
```tsx
|
|
15
|
+
import { useCurrentScale } from "remotion";
|
|
16
|
+
import { useRef, useEffect, useState } from "react";
|
|
17
|
+
|
|
18
|
+
export const MyComponent = () => {
|
|
19
|
+
const ref = useRef<HTMLDivElement>(null);
|
|
20
|
+
const scale = useCurrentScale();
|
|
21
|
+
const [dimensions, setDimensions] = useState({ width: 0, height: 0 });
|
|
22
|
+
|
|
23
|
+
useEffect(() => {
|
|
24
|
+
if (!ref.current) return;
|
|
25
|
+
const rect = ref.current.getBoundingClientRect();
|
|
26
|
+
setDimensions({
|
|
27
|
+
width: rect.width / scale,
|
|
28
|
+
height: rect.height / scale,
|
|
29
|
+
});
|
|
30
|
+
}, [scale]);
|
|
31
|
+
|
|
32
|
+
return <div ref={ref}>Content to measure</div>;
|
|
33
|
+
};
|
|
34
|
+
```
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: measuring-text
|
|
3
|
+
description: Measuring text dimensions, fitting text to containers, and checking overflow
|
|
4
|
+
metadata:
|
|
5
|
+
tags: measure, text, layout, dimensions, fitText, fillTextBox
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Measuring text in Remotion
|
|
9
|
+
|
|
10
|
+
## Prerequisites
|
|
11
|
+
|
|
12
|
+
Install @remotion/layout-utils if it is not already installed:
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
npx remotion add @remotion/layout-utils
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## Measuring text dimensions
|
|
19
|
+
|
|
20
|
+
Use `measureText()` to calculate the width and height of text:
|
|
21
|
+
|
|
22
|
+
```tsx
|
|
23
|
+
import { measureText } from "@remotion/layout-utils";
|
|
24
|
+
|
|
25
|
+
const { width, height } = measureText({
|
|
26
|
+
text: "Hello World",
|
|
27
|
+
fontFamily: "Arial",
|
|
28
|
+
fontSize: 32,
|
|
29
|
+
fontWeight: "bold",
|
|
30
|
+
});
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
Results are cached - duplicate calls return the cached result.
|
|
34
|
+
|
|
35
|
+
## Fitting text to a width
|
|
36
|
+
|
|
37
|
+
Use `fitText()` to find the optimal font size for a container:
|
|
38
|
+
|
|
39
|
+
```tsx
|
|
40
|
+
import { fitText } from "@remotion/layout-utils";
|
|
41
|
+
|
|
42
|
+
const { fontSize } = fitText({
|
|
43
|
+
text: "Hello World",
|
|
44
|
+
withinWidth: 600,
|
|
45
|
+
fontFamily: "Inter",
|
|
46
|
+
fontWeight: "bold",
|
|
47
|
+
});
|
|
48
|
+
|
|
49
|
+
return (
|
|
50
|
+
<div
|
|
51
|
+
style={{
|
|
52
|
+
fontSize: Math.min(fontSize, 80), // Cap at 80px
|
|
53
|
+
fontFamily: "Inter",
|
|
54
|
+
fontWeight: "bold",
|
|
55
|
+
}}
|
|
56
|
+
>
|
|
57
|
+
Hello World
|
|
58
|
+
</div>
|
|
59
|
+
);
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
## Checking text overflow
|
|
63
|
+
|
|
64
|
+
Use `fillTextBox()` to check if text exceeds a box:
|
|
65
|
+
|
|
66
|
+
```tsx
|
|
67
|
+
import { fillTextBox } from "@remotion/layout-utils";
|
|
68
|
+
|
|
69
|
+
const box = fillTextBox({ maxBoxWidth: 400, maxLines: 3 });
|
|
70
|
+
|
|
71
|
+
const words = ["Hello", "World", "This", "is", "a", "test"];
|
|
72
|
+
for (const word of words) {
|
|
73
|
+
const { exceedsBox } = box.add({
|
|
74
|
+
text: word + " ",
|
|
75
|
+
fontFamily: "Arial",
|
|
76
|
+
fontSize: 24,
|
|
77
|
+
});
|
|
78
|
+
if (exceedsBox) {
|
|
79
|
+
// Text would overflow, handle accordingly
|
|
80
|
+
break;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
## Best practices
|
|
86
|
+
|
|
87
|
+
**Load fonts first:** Only call measurement functions after fonts are loaded.
|
|
88
|
+
|
|
89
|
+
```tsx
|
|
90
|
+
import { loadFont } from "@remotion/google-fonts/Inter";
|
|
91
|
+
|
|
92
|
+
const { fontFamily, waitUntilDone } = loadFont("normal", {
|
|
93
|
+
weights: ["400"],
|
|
94
|
+
subsets: ["latin"],
|
|
95
|
+
});
|
|
96
|
+
|
|
97
|
+
waitUntilDone().then(() => {
|
|
98
|
+
// Now safe to measure
|
|
99
|
+
const { width } = measureText({
|
|
100
|
+
text: "Hello",
|
|
101
|
+
fontFamily,
|
|
102
|
+
fontSize: 32,
|
|
103
|
+
});
|
|
104
|
+
});
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
**Use validateFontIsLoaded:** Catch font loading issues early:
|
|
108
|
+
|
|
109
|
+
```tsx
|
|
110
|
+
measureText({
|
|
111
|
+
text: "Hello",
|
|
112
|
+
fontFamily: "MyCustomFont",
|
|
113
|
+
fontSize: 32,
|
|
114
|
+
validateFontIsLoaded: true, // Throws if font not loaded
|
|
115
|
+
});
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
**Match font properties:** Use the same properties for measurement and rendering:
|
|
119
|
+
|
|
120
|
+
```tsx
|
|
121
|
+
const fontStyle = {
|
|
122
|
+
fontFamily: "Inter",
|
|
123
|
+
fontSize: 32,
|
|
124
|
+
fontWeight: "bold" as const,
|
|
125
|
+
letterSpacing: "0.5px",
|
|
126
|
+
};
|
|
127
|
+
|
|
128
|
+
const { width } = measureText({
|
|
129
|
+
text: "Hello",
|
|
130
|
+
...fontStyle,
|
|
131
|
+
});
|
|
132
|
+
|
|
133
|
+
return <div style={fontStyle}>Hello</div>;
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
**Avoid padding and border:** Use `outline` instead of `border` to prevent layout differences:
|
|
137
|
+
|
|
138
|
+
```tsx
|
|
139
|
+
<div style={{ outline: "2px solid red" }}>Text</div>
|
|
140
|
+
```
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: parameters
|
|
3
|
+
description: Make a video parametrizable by adding a Zod schema
|
|
4
|
+
metadata:
|
|
5
|
+
tags: parameters, zod, schema
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
To make a video parametrizable, a Zod schema can be added to a composition.
|
|
9
|
+
|
|
10
|
+
First, `zod` must be installed .
|
|
11
|
+
|
|
12
|
+
Search the project for lockfiles and run the correct command depending on the package manager:
|
|
13
|
+
|
|
14
|
+
If `package-lock.json` is found, use the following command:
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
npm i zod
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
If `bun.lockb` is found, use the following command:
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
bun i zod
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
If `yarn.lock` is found, use the following command:
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
yarn add zod
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
If `pnpm-lock.yaml` is found, use the following command:
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
pnpm i zod
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
Then, a Zod schema can be defined alongside the component:
|
|
39
|
+
|
|
40
|
+
```tsx title="src/MyComposition.tsx"
|
|
41
|
+
import { z } from "zod";
|
|
42
|
+
|
|
43
|
+
export const MyCompositionSchema = z.object({
|
|
44
|
+
title: z.string(),
|
|
45
|
+
});
|
|
46
|
+
|
|
47
|
+
const MyComponent: React.FC<z.infer<typeof MyCompositionSchema>> = () => {
|
|
48
|
+
return (
|
|
49
|
+
<div>
|
|
50
|
+
<h1>{props.title}</h1>
|
|
51
|
+
</div>
|
|
52
|
+
);
|
|
53
|
+
};
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
In the root file, the schema can be passed to the composition:
|
|
57
|
+
|
|
58
|
+
```tsx title="src/Root.tsx"
|
|
59
|
+
import { Composition } from "remotion";
|
|
60
|
+
import { MycComponent, MyCompositionSchema } from "./MyComposition";
|
|
61
|
+
|
|
62
|
+
export const RemotionRoot = () => {
|
|
63
|
+
return (
|
|
64
|
+
<Composition
|
|
65
|
+
id="MyComposition"
|
|
66
|
+
component={MyComponent}
|
|
67
|
+
durationInFrames={100}
|
|
68
|
+
fps={30}
|
|
69
|
+
width={1080}
|
|
70
|
+
height={1080}
|
|
71
|
+
defaultProps={{ title: "Hello World" }}
|
|
72
|
+
schema={MyCompositionSchema}
|
|
73
|
+
/>
|
|
74
|
+
);
|
|
75
|
+
};
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
Now, the user can edit the parameter visually in the sidebar.
|
|
79
|
+
|
|
80
|
+
All schemas that are supported by Zod are supported by Remotion.
|
|
81
|
+
|
|
82
|
+
Remotion requires that the top-level type is a z.object(), because the collection of props of a React component is always an object.
|
|
83
|
+
|
|
84
|
+
## Color picker
|
|
85
|
+
|
|
86
|
+
For adding a color picker, use `zColor()` from `@remotion/zod-types`.
|
|
87
|
+
|
|
88
|
+
If it is not installed, use the following command:
|
|
89
|
+
|
|
90
|
+
```bash
|
|
91
|
+
npx remotion add @remotion/zod-types # If project uses npm
|
|
92
|
+
bunx remotion add @remotion/zod-types # If project uses bun
|
|
93
|
+
yarn remotion add @remotion/zod-types # If project uses yarn
|
|
94
|
+
pnpm exec remotion add @remotion/zod-types # If project uses pnpm
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
Then import `zColor` from `@remotion/zod-types`:
|
|
98
|
+
|
|
99
|
+
```tsx
|
|
100
|
+
import { zColor } from "@remotion/zod-types";
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
Then use it in the schema:
|
|
104
|
+
|
|
105
|
+
```tsx
|
|
106
|
+
export const MyCompositionSchema = z.object({
|
|
107
|
+
color: zColor(),
|
|
108
|
+
});
|
|
109
|
+
```
|