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,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Compat layer: real-data endpoints backed by actual subsystems,
|
|
3
|
+
* shaped to match what the React UI expects.
|
|
4
|
+
*/
|
|
5
|
+
import type { Express } from "express";
|
|
6
|
+
import type { ServerDeps } from "../index.js";
|
|
7
|
+
export declare function mountCompatRoutes(app: Express, deps: ServerDeps): void;
|
|
8
|
+
//# sourceMappingURL=compat.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"compat.d.ts","sourceRoot":"","sources":["../../../src/server/routes/compat.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAqB,MAAM,SAAS,CAAC;AAI1D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAE9C,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,OAAO,EAAE,IAAI,EAAE,UAAU,GAAG,IAAI,CAwrBtE"}
|
|
@@ -0,0 +1,661 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Compat layer: real-data endpoints backed by actual subsystems,
|
|
3
|
+
* shaped to match what the React UI expects.
|
|
4
|
+
*/
|
|
5
|
+
import { z } from "zod";
|
|
6
|
+
import { ValidationError } from "../../util/errors.js";
|
|
7
|
+
export function mountCompatRoutes(app, deps) {
|
|
8
|
+
// ── Crew (real) ───────────────────────────────────────────────
|
|
9
|
+
// Lists every crew on disk, not just the registered ones — so disabled
|
|
10
|
+
// crews remain visible in the UI and can be flipped back on. Re-scans
|
|
11
|
+
// on each call (admin endpoint, low traffic). The `enabled` flag is
|
|
12
|
+
// sourced from the live registry, NOT the disabled-set, so a crew that
|
|
13
|
+
// was unregistered for any reason (e.g. integration-gated) still
|
|
14
|
+
// reports as not-enabled accurately.
|
|
15
|
+
app.get("/api/crew", async (_req, res) => {
|
|
16
|
+
const { loaded } = await deps.crewLoader.loadAll(deps.agent.tools);
|
|
17
|
+
const crew = loaded.map((c) => ({
|
|
18
|
+
id: c.manifest.id,
|
|
19
|
+
name: c.manifest.name,
|
|
20
|
+
description: c.manifest.description,
|
|
21
|
+
version: c.manifest.version,
|
|
22
|
+
enabled: deps.crews.has(c.manifest.id),
|
|
23
|
+
status: deps.crews.has(c.manifest.id) ? "loaded" : "disabled",
|
|
24
|
+
error: null,
|
|
25
|
+
toolNames: c.resolvedTools,
|
|
26
|
+
channelIds: [],
|
|
27
|
+
hookEvents: [],
|
|
28
|
+
serviceIds: [],
|
|
29
|
+
cliCommands: [],
|
|
30
|
+
httpRouteCount: 0,
|
|
31
|
+
// Surface the manifest's optional configSchema (free-form on disk)
|
|
32
|
+
// so the UI can render the per-crew config form. Falls back to
|
|
33
|
+
// null when the manifest doesn't define one.
|
|
34
|
+
configSchema: (() => {
|
|
35
|
+
const m = c.manifest;
|
|
36
|
+
return (m.configSchema && typeof m.configSchema === "object") ? m.configSchema : null;
|
|
37
|
+
})(),
|
|
38
|
+
skills: c.manifest.skills,
|
|
39
|
+
temperature: c.manifest.profile.temperature,
|
|
40
|
+
model: c.manifest.profile.model ?? null,
|
|
41
|
+
}));
|
|
42
|
+
res.json({ crew });
|
|
43
|
+
});
|
|
44
|
+
// ── Tools (real) ──────────────────────────────────────────────
|
|
45
|
+
app.get("/api/tools", (_req, res) => {
|
|
46
|
+
const tools = deps.agent.tools.list().map((t) => ({
|
|
47
|
+
name: t.name, description: t.description, category: t.category,
|
|
48
|
+
source: t.source, alwaysOn: t.alwaysOn ?? false, destructive: t.destructive ?? false,
|
|
49
|
+
}));
|
|
50
|
+
res.json({ tools });
|
|
51
|
+
});
|
|
52
|
+
// ── Memory (real) ─────────────────────────────────────────────
|
|
53
|
+
app.get("/api/memory", (_req, res) => {
|
|
54
|
+
const entries = deps.memory.listRecentEntries({ limit: 50 });
|
|
55
|
+
res.json({ entries, total: entries.length });
|
|
56
|
+
});
|
|
57
|
+
// ── Costs (real) ──────────────────────────────────────────────
|
|
58
|
+
app.get("/api/costs/today", (_req, res) => {
|
|
59
|
+
const totalCost = deps.costs.todayCost();
|
|
60
|
+
const dailyLimit = deps.cfg.setting("MAX_DAILY_COST") ?? 10;
|
|
61
|
+
res.json({
|
|
62
|
+
date: new Date().toISOString().slice(0, 10),
|
|
63
|
+
totalCost,
|
|
64
|
+
dailyLimit,
|
|
65
|
+
remaining: Math.max(0, dailyLimit - totalCost),
|
|
66
|
+
});
|
|
67
|
+
});
|
|
68
|
+
app.get("/api/costs/daily", (req, res) => {
|
|
69
|
+
const days = Math.min(Number(req.query["days"] ?? 30), 90);
|
|
70
|
+
res.json({ breakdown: deps.costs.dailyBreakdown(days) });
|
|
71
|
+
});
|
|
72
|
+
// ── Audit (real) ──────────────────────────────────────────────
|
|
73
|
+
app.get("/api/audit", (req, res) => {
|
|
74
|
+
const limit = Math.min(Number(req.query["limit"] ?? 100), 500);
|
|
75
|
+
const entries = deps.audit.recent(limit);
|
|
76
|
+
res.json({ entries, total: entries.length });
|
|
77
|
+
});
|
|
78
|
+
// ── Cron (real) ───────────────────────────────────────────────
|
|
79
|
+
app.get("/api/cron/status", (_req, res) => {
|
|
80
|
+
const jobs = deps.cron.listJobs();
|
|
81
|
+
res.json({ running: true, jobCount: jobs.length });
|
|
82
|
+
});
|
|
83
|
+
app.get("/api/cron/jobs", (_req, res) => {
|
|
84
|
+
// Transform the flat CronJob record into the nested shape the UI expects
|
|
85
|
+
// (schedule.{kind,expr,tz,...}, delivery.{mode,...}, plus the richer
|
|
86
|
+
// status fields that the JS backend used to provide). Fields the TS
|
|
87
|
+
// core doesn't track yet get safe defaults.
|
|
88
|
+
const jobs = deps.cron.listJobs().map((j) => {
|
|
89
|
+
const delivery = (j.delivery ?? null);
|
|
90
|
+
return {
|
|
91
|
+
id: j.id,
|
|
92
|
+
name: j.name,
|
|
93
|
+
description: null,
|
|
94
|
+
enabled: j.enabled,
|
|
95
|
+
schedule: {
|
|
96
|
+
kind: "cron",
|
|
97
|
+
expr: j.expression,
|
|
98
|
+
tz: j.timezone ?? null,
|
|
99
|
+
everyMs: null,
|
|
100
|
+
at: null,
|
|
101
|
+
staggerMs: 0,
|
|
102
|
+
},
|
|
103
|
+
taskInput: j.task,
|
|
104
|
+
model: null,
|
|
105
|
+
timeoutSeconds: 0,
|
|
106
|
+
delivery: {
|
|
107
|
+
mode: delivery?.mode ?? "none",
|
|
108
|
+
channel: delivery?.channel ?? null,
|
|
109
|
+
to: delivery?.to ?? null,
|
|
110
|
+
},
|
|
111
|
+
maxRetries: 0,
|
|
112
|
+
failureAlert: null,
|
|
113
|
+
nextRunAt: j.nextRunAt ? new Date(j.nextRunAt).toISOString() : null,
|
|
114
|
+
lastRunAt: j.lastRunAt ? new Date(j.lastRunAt).toISOString() : null,
|
|
115
|
+
lastStatus: null,
|
|
116
|
+
lastError: null,
|
|
117
|
+
lastDurationMs: null,
|
|
118
|
+
consecutiveErrors: 0,
|
|
119
|
+
runCount: 0,
|
|
120
|
+
runningSince: null,
|
|
121
|
+
tenantId: null,
|
|
122
|
+
createdAt: new Date(j.createdAt).toISOString(),
|
|
123
|
+
};
|
|
124
|
+
});
|
|
125
|
+
res.json({ jobs });
|
|
126
|
+
});
|
|
127
|
+
app.post("/api/cron/jobs", (req, res) => {
|
|
128
|
+
const body = z.object({
|
|
129
|
+
name: z.string().min(1),
|
|
130
|
+
expression: z.string().min(1),
|
|
131
|
+
task: z.string().min(1),
|
|
132
|
+
timezone: z.string().default("UTC"),
|
|
133
|
+
}).safeParse(req.body);
|
|
134
|
+
if (!body.success)
|
|
135
|
+
throw new ValidationError(body.error.message);
|
|
136
|
+
const job = deps.cron.addJob(body.data);
|
|
137
|
+
res.json({ job });
|
|
138
|
+
});
|
|
139
|
+
app.get("/api/cron/jobs/:id", (req, res) => {
|
|
140
|
+
const job = deps.cron.getJob(req.params.id ?? "");
|
|
141
|
+
if (!job)
|
|
142
|
+
return res.status(404).json({ error: "Job not found" });
|
|
143
|
+
res.json({ job });
|
|
144
|
+
});
|
|
145
|
+
app.delete("/api/cron/jobs/:id", (req, res) => {
|
|
146
|
+
const ok = deps.cron.deleteJob(req.params.id ?? "");
|
|
147
|
+
res.json({ deleted: ok });
|
|
148
|
+
});
|
|
149
|
+
app.get("/api/cron/jobs/:id/runs", (req, res) => {
|
|
150
|
+
const limit = Math.min(Number(req.query["limit"] ?? 50), 200);
|
|
151
|
+
const runs = deps.cron.getJobRuns(req.params.id ?? "", limit);
|
|
152
|
+
res.json({ runs });
|
|
153
|
+
});
|
|
154
|
+
/**
|
|
155
|
+
* Fire a cron job immediately, out-of-band with the normal schedule.
|
|
156
|
+
* Delegates to CronScheduler.forceRun which tracks in-flight jobs so
|
|
157
|
+
* this can't double-fire with a tick that would've picked up the same
|
|
158
|
+
* job. Returns once the run has started (fire-and-forget). Errors
|
|
159
|
+
* (job missing / already running) come back as 4xx.
|
|
160
|
+
*/
|
|
161
|
+
app.post("/api/cron/jobs/:id/run", async (req, res) => {
|
|
162
|
+
const id = req.params.id ?? "";
|
|
163
|
+
try {
|
|
164
|
+
// Kick off the run without awaiting completion — a cron task can
|
|
165
|
+
// take minutes. The scheduler writes a "running" row immediately
|
|
166
|
+
// so the UI can poll /runs to watch progress.
|
|
167
|
+
void deps.cronScheduler.forceRun(id).catch(() => { });
|
|
168
|
+
res.json({ ok: true, jobId: id });
|
|
169
|
+
}
|
|
170
|
+
catch (e) {
|
|
171
|
+
const msg = e.message;
|
|
172
|
+
if (/not found/i.test(msg))
|
|
173
|
+
return res.status(404).json({ error: msg });
|
|
174
|
+
if (/already running/i.test(msg))
|
|
175
|
+
return res.status(409).json({ error: msg });
|
|
176
|
+
throw e;
|
|
177
|
+
}
|
|
178
|
+
});
|
|
179
|
+
app.get("/api/cron/runs", (req, res) => {
|
|
180
|
+
const limit = Math.min(Number(req.query["limit"] ?? 50), 200);
|
|
181
|
+
// All runs across all jobs — get from all jobs
|
|
182
|
+
const jobs = deps.cron.listJobs();
|
|
183
|
+
const allRuns = jobs.flatMap((j) => deps.cron.getJobRuns(j.id, limit));
|
|
184
|
+
allRuns.sort((a, b) => (b.startedAt ?? 0) - (a.startedAt ?? 0));
|
|
185
|
+
res.json({ runs: allRuns.slice(0, limit) });
|
|
186
|
+
});
|
|
187
|
+
// Cron presets are stored in the same SQLite-backed DeliveryPresetStore
|
|
188
|
+
// as `/api/delivery-presets` — these endpoints are an alias the UI uses
|
|
189
|
+
// when configuring a cron job's delivery destination(s).
|
|
190
|
+
app.get("/api/cron/presets", (_req, res) => {
|
|
191
|
+
res.json({ presets: deps.deliveryPresets.list() });
|
|
192
|
+
});
|
|
193
|
+
app.post("/api/cron/presets", (req, res) => {
|
|
194
|
+
const body = (req.body ?? {});
|
|
195
|
+
if (!body.name)
|
|
196
|
+
return res.status(400).json({ error: "`name` is required" });
|
|
197
|
+
const targets = Array.isArray(body.targets)
|
|
198
|
+
? body.targets
|
|
199
|
+
.filter((t) => typeof t.channel === "string")
|
|
200
|
+
.map((t) => ({
|
|
201
|
+
channel: t.channel,
|
|
202
|
+
channelMeta: t.channelMeta ?? null,
|
|
203
|
+
...(t.label ? { label: t.label } : {}),
|
|
204
|
+
}))
|
|
205
|
+
: [];
|
|
206
|
+
const preset = deps.deliveryPresets.save({
|
|
207
|
+
...(body.id ? { id: body.id } : {}),
|
|
208
|
+
name: body.name,
|
|
209
|
+
description: body.description ?? null,
|
|
210
|
+
targets,
|
|
211
|
+
});
|
|
212
|
+
res.status(201).json({ preset });
|
|
213
|
+
});
|
|
214
|
+
app.put("/api/cron/presets/:id", (req, res) => {
|
|
215
|
+
const id = req.params.id ?? "";
|
|
216
|
+
const existing = deps.deliveryPresets.get(id);
|
|
217
|
+
if (!existing)
|
|
218
|
+
return res.status(404).json({ error: "Preset not found" });
|
|
219
|
+
const body = (req.body ?? {});
|
|
220
|
+
const targets = Array.isArray(body.targets)
|
|
221
|
+
? body.targets
|
|
222
|
+
.filter((t) => typeof t.channel === "string")
|
|
223
|
+
.map((t) => ({
|
|
224
|
+
channel: t.channel,
|
|
225
|
+
channelMeta: t.channelMeta ?? null,
|
|
226
|
+
...(t.label ? { label: t.label } : {}),
|
|
227
|
+
}))
|
|
228
|
+
: existing.targets;
|
|
229
|
+
const preset = deps.deliveryPresets.save({
|
|
230
|
+
id,
|
|
231
|
+
name: body.name ?? existing.name,
|
|
232
|
+
description: body.description ?? existing.description,
|
|
233
|
+
targets,
|
|
234
|
+
});
|
|
235
|
+
res.json({ preset });
|
|
236
|
+
});
|
|
237
|
+
app.delete("/api/cron/presets/:id", (req, res) => {
|
|
238
|
+
const id = req.params.id ?? "";
|
|
239
|
+
const ok = deps.deliveryPresets.delete(id);
|
|
240
|
+
if (!ok)
|
|
241
|
+
return res.status(404).json({ error: "Preset not found" });
|
|
242
|
+
res.json({ deleted: true, id });
|
|
243
|
+
});
|
|
244
|
+
// ── Setup status ──────────────────────────────────────────────
|
|
245
|
+
app.get("/api/setup/status", (_req, res) => {
|
|
246
|
+
const vaultExists = deps.cfg.vault.exists();
|
|
247
|
+
const vaultUnlocked = deps.cfg.vault.isUnlocked();
|
|
248
|
+
let hasProvider = false;
|
|
249
|
+
if (vaultUnlocked) {
|
|
250
|
+
hasProvider = deps.cfg.vault.has("ANTHROPIC_API_KEY")
|
|
251
|
+
|| deps.cfg.vault.has("OPENAI_API_KEY")
|
|
252
|
+
|| deps.cfg.vault.has("GOOGLE_AI_API_KEY")
|
|
253
|
+
|| deps.cfg.vault.has("GROQ_API_KEY");
|
|
254
|
+
}
|
|
255
|
+
const setupDone = deps.cfg.settings.hasGeneric("SETUP_COMPLETED");
|
|
256
|
+
res.json({
|
|
257
|
+
vaultExists, vaultUnlocked, hasProvider,
|
|
258
|
+
hasModel: !!deps.cfg.setting("DEFAULT_MODEL"),
|
|
259
|
+
completed: setupDone || (vaultExists && hasProvider),
|
|
260
|
+
});
|
|
261
|
+
});
|
|
262
|
+
// ── Tasks / Logs (real) ────────────────────────────────────────
|
|
263
|
+
app.get("/api/tasks", (req, res) => {
|
|
264
|
+
const limit = Math.min(Number(req.query["limit"] ?? 100), 500);
|
|
265
|
+
const tasks = deps.tasks.list(limit);
|
|
266
|
+
res.json({ tasks, total: tasks.length });
|
|
267
|
+
});
|
|
268
|
+
app.get("/api/tasks/:id", (req, res) => {
|
|
269
|
+
const id = req.params.id ?? "";
|
|
270
|
+
const task = deps.tasks.get(id);
|
|
271
|
+
if (!task)
|
|
272
|
+
return res.json({ id, status: "unknown", messages: [] });
|
|
273
|
+
// UI expects toolCalls as an array, not a number
|
|
274
|
+
const toolCallDetails = deps.tasks.getToolCalls(id);
|
|
275
|
+
res.json({
|
|
276
|
+
...task,
|
|
277
|
+
toolCalls: toolCallDetails,
|
|
278
|
+
toolCallCount: task.toolCalls,
|
|
279
|
+
});
|
|
280
|
+
});
|
|
281
|
+
app.delete("/api/tasks/:id", (req, res) => {
|
|
282
|
+
const ok = deps.tasks.delete(req.params.id ?? "");
|
|
283
|
+
res.json({ ok });
|
|
284
|
+
});
|
|
285
|
+
// ── Skills (real) ──────────────────────────────────────────────
|
|
286
|
+
app.get("/api/skills", (_req, res) => {
|
|
287
|
+
const skills = deps.skills.list().map((s) => ({
|
|
288
|
+
name: s.meta.name,
|
|
289
|
+
id: s.meta.id,
|
|
290
|
+
description: s.meta.description,
|
|
291
|
+
triggers: s.meta.triggers,
|
|
292
|
+
version: s.meta.version,
|
|
293
|
+
enabled: s.meta.enabled,
|
|
294
|
+
}));
|
|
295
|
+
res.json({ skills, total: skills.length });
|
|
296
|
+
});
|
|
297
|
+
// ── Profile ───────────────────────────────────────────────────
|
|
298
|
+
app.get("/api/profile", (_req, res) => {
|
|
299
|
+
const sub = deps.cfg.settings.getGeneric("SUB_AGENT_MODEL");
|
|
300
|
+
res.json({
|
|
301
|
+
id: "default", name: "Default", systemPrompt: "", temperature: 0.7,
|
|
302
|
+
model: deps.cfg.setting("DEFAULT_MODEL"),
|
|
303
|
+
subAgentModel: typeof sub === "string" ? sub : "",
|
|
304
|
+
});
|
|
305
|
+
});
|
|
306
|
+
app.put("/api/profile", (req, res) => {
|
|
307
|
+
const body = (req.body ?? {});
|
|
308
|
+
if (typeof body.subAgentModel === "string") {
|
|
309
|
+
deps.cfg.settings.setGeneric("SUB_AGENT_MODEL", body.subAgentModel);
|
|
310
|
+
}
|
|
311
|
+
const sub = deps.cfg.settings.getGeneric("SUB_AGENT_MODEL");
|
|
312
|
+
res.json({
|
|
313
|
+
id: "default", name: "Default",
|
|
314
|
+
subAgentModel: typeof sub === "string" ? sub : "",
|
|
315
|
+
});
|
|
316
|
+
});
|
|
317
|
+
// ── Watchers (real) ────────────────────────────────────────────
|
|
318
|
+
app.get("/api/watchers", (_req, res) => {
|
|
319
|
+
res.json({ watchers: deps.watchers.list() });
|
|
320
|
+
});
|
|
321
|
+
app.get("/api/watchers/templates", (_req, res) => {
|
|
322
|
+
res.json({ templates: [
|
|
323
|
+
{ id: "github-pr", name: "GitHub PR", triggerType: "webhook", description: "Watch for new pull requests" },
|
|
324
|
+
{ id: "file-change", name: "File Change", triggerType: "file", description: "Watch a file or directory for changes" },
|
|
325
|
+
{ id: "url-check", name: "URL Health", triggerType: "poll", description: "Poll a URL and alert on status change" },
|
|
326
|
+
] });
|
|
327
|
+
});
|
|
328
|
+
app.post("/api/watchers", (req, res) => {
|
|
329
|
+
const body = req.body;
|
|
330
|
+
const name = String(body.name ?? "Untitled");
|
|
331
|
+
const triggerType = body.triggerType ?? "webhook";
|
|
332
|
+
const pattern = typeof body.pattern === "string" ? body.pattern : JSON.stringify(body.pattern ?? "");
|
|
333
|
+
const action = String(body.action ?? "");
|
|
334
|
+
const channel = body.channel ? String(body.channel) : undefined;
|
|
335
|
+
const watcher = deps.watchers.create({
|
|
336
|
+
name,
|
|
337
|
+
...(triggerType === "webhook" || triggerType === "poll" || triggerType === "file" || triggerType === "cron"
|
|
338
|
+
? { triggerType: triggerType }
|
|
339
|
+
: {}),
|
|
340
|
+
...(pattern ? { pattern } : {}),
|
|
341
|
+
...(action ? { action } : {}),
|
|
342
|
+
...(channel ? { channel } : {}),
|
|
343
|
+
});
|
|
344
|
+
res.json({ watcher });
|
|
345
|
+
});
|
|
346
|
+
app.get("/api/watchers/:id", (req, res) => {
|
|
347
|
+
const w = deps.watchers.get(req.params.id ?? "");
|
|
348
|
+
if (!w)
|
|
349
|
+
return res.status(404).json({ error: "Watcher not found" });
|
|
350
|
+
res.json({ watcher: w });
|
|
351
|
+
});
|
|
352
|
+
app.put("/api/watchers/:id", (req, res) => {
|
|
353
|
+
const ok = deps.watchers.update(req.params.id ?? "", req.body);
|
|
354
|
+
if (!ok)
|
|
355
|
+
return res.status(404).json({ error: "Watcher not found" });
|
|
356
|
+
res.json({ ok: true });
|
|
357
|
+
});
|
|
358
|
+
app.delete("/api/watchers/:id", (req, res) => {
|
|
359
|
+
const ok = deps.watchers.delete(req.params.id ?? "");
|
|
360
|
+
res.json({ deleted: ok });
|
|
361
|
+
});
|
|
362
|
+
// ── Goals (real) ──────────────────────────────────────────────
|
|
363
|
+
app.get("/api/goals", (_req, res) => {
|
|
364
|
+
res.json({ goals: deps.goals.list() });
|
|
365
|
+
});
|
|
366
|
+
app.post("/api/goals", (req, res) => {
|
|
367
|
+
const body = z.object({
|
|
368
|
+
title: z.string().min(1),
|
|
369
|
+
description: z.string().optional(),
|
|
370
|
+
checkCron: z.string().optional(),
|
|
371
|
+
}).safeParse(req.body);
|
|
372
|
+
if (!body.success)
|
|
373
|
+
throw new ValidationError(body.error.message);
|
|
374
|
+
const { description, checkCron, ...goalRest } = body.data;
|
|
375
|
+
const goal = deps.goals.create({
|
|
376
|
+
...goalRest,
|
|
377
|
+
...(description ? { description } : {}),
|
|
378
|
+
...(checkCron ? { checkCron } : {}),
|
|
379
|
+
});
|
|
380
|
+
res.json({ goal });
|
|
381
|
+
});
|
|
382
|
+
app.get("/api/goals/:id", (req, res) => {
|
|
383
|
+
const g = deps.goals.get(req.params.id ?? "");
|
|
384
|
+
if (!g)
|
|
385
|
+
return res.status(404).json({ error: "Goal not found" });
|
|
386
|
+
res.json({ goal: g });
|
|
387
|
+
});
|
|
388
|
+
app.put("/api/goals/:id", (req, res) => {
|
|
389
|
+
const ok = deps.goals.update(req.params.id ?? "", req.body);
|
|
390
|
+
if (!ok)
|
|
391
|
+
return res.status(404).json({ error: "Goal not found" });
|
|
392
|
+
res.json({ ok: true });
|
|
393
|
+
});
|
|
394
|
+
app.delete("/api/goals/:id", (req, res) => {
|
|
395
|
+
const ok = deps.goals.delete(req.params.id ?? "");
|
|
396
|
+
res.json({ deleted: ok });
|
|
397
|
+
});
|
|
398
|
+
app.post("/api/goals/:id/check", (req, res) => {
|
|
399
|
+
const ok = deps.goals.update(req.params.id ?? "", {}, true);
|
|
400
|
+
if (!ok)
|
|
401
|
+
return res.status(404).json({ error: "Goal not found" });
|
|
402
|
+
res.json({ ok: true, checked: true });
|
|
403
|
+
});
|
|
404
|
+
// ── MCP (real) ─────────────────────────────────────────────────
|
|
405
|
+
app.get("/api/mcp", (_req, res) => {
|
|
406
|
+
const servers = deps.mcp.listStatus();
|
|
407
|
+
res.json({ servers });
|
|
408
|
+
});
|
|
409
|
+
app.post("/api/mcp", (req, res) => {
|
|
410
|
+
const body = req.body;
|
|
411
|
+
const name = String(body.name ?? "");
|
|
412
|
+
if (!name)
|
|
413
|
+
return res.status(400).json({ error: "name required" });
|
|
414
|
+
const { name: _, ...config } = body;
|
|
415
|
+
try {
|
|
416
|
+
deps.mcp.connect({
|
|
417
|
+
name,
|
|
418
|
+
...(config.command ? { command: String(config.command) } : {}),
|
|
419
|
+
...(config.url ? { url: String(config.url) } : {}),
|
|
420
|
+
...(config.args ? { args: config.args } : {}),
|
|
421
|
+
...(config.env ? { env: config.env } : {}),
|
|
422
|
+
...(config.headers ? { headers: config.headers } : {}),
|
|
423
|
+
...(config.transport ? { transport: config.transport } : {}),
|
|
424
|
+
});
|
|
425
|
+
res.json({ ok: true, name });
|
|
426
|
+
}
|
|
427
|
+
catch (e) {
|
|
428
|
+
res.status(400).json({ error: e.message });
|
|
429
|
+
}
|
|
430
|
+
});
|
|
431
|
+
app.delete("/api/mcp/:name", async (req, res) => {
|
|
432
|
+
await deps.mcp.disconnect(req.params.name ?? "");
|
|
433
|
+
res.json({ ok: true });
|
|
434
|
+
});
|
|
435
|
+
/**
|
|
436
|
+
* GET /api/mcp/:name/config — required env keys + which are already
|
|
437
|
+
* set in the vault. Never returns actual secret values.
|
|
438
|
+
*/
|
|
439
|
+
app.get("/api/mcp/:name/config", (req, res) => {
|
|
440
|
+
const name = req.params.name ?? "";
|
|
441
|
+
const status = deps.mcp.listStatus().find((s) => s.name === name);
|
|
442
|
+
if (!status)
|
|
443
|
+
return res.status(404).json({ error: `MCP server not found: ${name}` });
|
|
444
|
+
const envStatus = {};
|
|
445
|
+
for (const k of status.requiredEnv) {
|
|
446
|
+
envStatus[k] = { set: deps.cfg.vault.has(k) };
|
|
447
|
+
}
|
|
448
|
+
res.json({
|
|
449
|
+
name,
|
|
450
|
+
description: status.description ?? null,
|
|
451
|
+
transport: status.transport,
|
|
452
|
+
requiredEnv: status.requiredEnv,
|
|
453
|
+
envStatus,
|
|
454
|
+
configured: status.configured,
|
|
455
|
+
enabled: status.enabled,
|
|
456
|
+
connected: status.connected,
|
|
457
|
+
vaultUnlocked: deps.cfg.vault.isUnlocked(),
|
|
458
|
+
});
|
|
459
|
+
});
|
|
460
|
+
/**
|
|
461
|
+
* POST /api/mcp/:name/activate
|
|
462
|
+
* Body: { env?: { [envKey]: string } }
|
|
463
|
+
*
|
|
464
|
+
* Stores provided env values in the vault (encrypted), marks the
|
|
465
|
+
* server enabled in mcp.json with `${KEY}` placeholders only, then
|
|
466
|
+
* connects — secrets never land in plaintext on disk. Fails 400 if
|
|
467
|
+
* required env is still missing after the merge, 423 if the vault
|
|
468
|
+
* is locked and the caller tried to persist new values.
|
|
469
|
+
*/
|
|
470
|
+
app.post("/api/mcp/:name/activate", async (req, res) => {
|
|
471
|
+
const name = req.params.name ?? "";
|
|
472
|
+
const body = req.body ?? {};
|
|
473
|
+
const bodyEnv = body.env ?? {};
|
|
474
|
+
const bodyArgs = body.args ?? {};
|
|
475
|
+
const existing = deps.mcpStore.get(name);
|
|
476
|
+
if (!existing)
|
|
477
|
+
return res.status(404).json({ error: `MCP server not found: ${name}` });
|
|
478
|
+
const required = deps.mcp.listStatus().find((s) => s.name === name)?.requiredEnv ?? [];
|
|
479
|
+
const hasIncomingValues = Object.values(bodyEnv).some((v) => v && v !== "");
|
|
480
|
+
if (hasIncomingValues && !deps.cfg.vault.isUnlocked()) {
|
|
481
|
+
return res.status(423).json({
|
|
482
|
+
error: "Vault is locked. Unlock before saving MCP credentials.",
|
|
483
|
+
});
|
|
484
|
+
}
|
|
485
|
+
// Persist each non-empty env value to the vault. Empty strings
|
|
486
|
+
// mean "leave the existing vault value alone" — useful when the
|
|
487
|
+
// user re-opens the dialog without retyping credentials.
|
|
488
|
+
for (const [key, value] of Object.entries(bodyEnv)) {
|
|
489
|
+
if (value && value !== "")
|
|
490
|
+
deps.cfg.vault.set(key, value);
|
|
491
|
+
}
|
|
492
|
+
const missing = required.filter((k) => {
|
|
493
|
+
const inline = existing.env?.[k];
|
|
494
|
+
if (inline && inline !== "" && !inline.includes("${"))
|
|
495
|
+
return false;
|
|
496
|
+
return !deps.cfg.vault.has(k);
|
|
497
|
+
});
|
|
498
|
+
if (missing.length > 0) {
|
|
499
|
+
return res.status(400).json({
|
|
500
|
+
error: `Missing required env: ${missing.join(", ")}`,
|
|
501
|
+
missingEnv: missing,
|
|
502
|
+
});
|
|
503
|
+
}
|
|
504
|
+
// Rewrite mcp.json env to `${KEY}` placeholders. Secrets stay in
|
|
505
|
+
// the vault, resolved at spawn time by MCPManager.resolveEnv.
|
|
506
|
+
const envPlaceholders = { ...(existing.env ?? {}) };
|
|
507
|
+
for (const k of required) {
|
|
508
|
+
envPlaceholders[k] = `\${${k}}`;
|
|
509
|
+
}
|
|
510
|
+
// Positional arg overrides — e.g. the user picked a different
|
|
511
|
+
// allowed directory for the filesystem server.
|
|
512
|
+
const nextArgs = [...(existing.args ?? [])];
|
|
513
|
+
for (const [idxStr, value] of Object.entries(bodyArgs)) {
|
|
514
|
+
const idx = Number.parseInt(idxStr, 10);
|
|
515
|
+
if (!Number.isFinite(idx) || idx < 0 || !value)
|
|
516
|
+
continue;
|
|
517
|
+
while (nextArgs.length <= idx)
|
|
518
|
+
nextArgs.push("");
|
|
519
|
+
nextArgs[idx] = value;
|
|
520
|
+
}
|
|
521
|
+
deps.mcpStore.update(name, { env: envPlaceholders, args: nextArgs, enabled: true });
|
|
522
|
+
const updated = deps.mcpStore.get(name);
|
|
523
|
+
if (!updated)
|
|
524
|
+
return res.status(500).json({ error: "Store update failed" });
|
|
525
|
+
try {
|
|
526
|
+
await deps.mcp.disconnect(name);
|
|
527
|
+
await deps.mcp.connect(updated);
|
|
528
|
+
const status = deps.mcp.listStatus().find((s) => s.name === name);
|
|
529
|
+
res.json({ ok: true, status });
|
|
530
|
+
}
|
|
531
|
+
catch (e) {
|
|
532
|
+
res.status(500).json({ error: `Connect failed: ${e.message}` });
|
|
533
|
+
}
|
|
534
|
+
});
|
|
535
|
+
/**
|
|
536
|
+
* POST /api/mcp/:name/deactivate — disable + disconnect. Keeps the
|
|
537
|
+
* stored config around so re-activating later doesn't re-prompt.
|
|
538
|
+
*/
|
|
539
|
+
app.post("/api/mcp/:name/deactivate", async (req, res) => {
|
|
540
|
+
const name = req.params.name ?? "";
|
|
541
|
+
const existing = deps.mcpStore.get(name);
|
|
542
|
+
if (!existing)
|
|
543
|
+
return res.status(404).json({ error: `MCP server not found: ${name}` });
|
|
544
|
+
deps.mcpStore.update(name, { enabled: false });
|
|
545
|
+
await deps.mcp.disconnect(name);
|
|
546
|
+
res.json({ ok: true });
|
|
547
|
+
});
|
|
548
|
+
/**
|
|
549
|
+
* POST /api/mcp/:name/:action
|
|
550
|
+
* Legacy entry point — `reload` = disconnect + reconnect using the
|
|
551
|
+
* current stored config. `enable` / `disable` alias to activate /
|
|
552
|
+
* deactivate (but don't accept env updates; use /activate for that).
|
|
553
|
+
*/
|
|
554
|
+
app.post("/api/mcp/:name/:action", async (req, res) => {
|
|
555
|
+
const name = req.params.name ?? "";
|
|
556
|
+
const action = req.params.action ?? "";
|
|
557
|
+
const existing = deps.mcpStore.get(name);
|
|
558
|
+
if (!existing)
|
|
559
|
+
return res.status(404).json({ error: `MCP server not found: ${name}` });
|
|
560
|
+
if (action === "reload") {
|
|
561
|
+
try {
|
|
562
|
+
await deps.mcp.disconnect(name);
|
|
563
|
+
await deps.mcp.connect(existing);
|
|
564
|
+
res.json({ ok: true });
|
|
565
|
+
}
|
|
566
|
+
catch (e) {
|
|
567
|
+
res.status(500).json({ error: e.message });
|
|
568
|
+
}
|
|
569
|
+
return;
|
|
570
|
+
}
|
|
571
|
+
if (action === "enable") {
|
|
572
|
+
const required = deps.mcp.listStatus().find((s) => s.name === name)?.requiredEnv ?? [];
|
|
573
|
+
const env = existing.env ?? {};
|
|
574
|
+
const missing = required.filter((k) => !env[k] || env[k] === "");
|
|
575
|
+
if (missing.length > 0) {
|
|
576
|
+
return res.status(400).json({
|
|
577
|
+
error: `Missing required env: ${missing.join(", ")}`,
|
|
578
|
+
missingEnv: missing,
|
|
579
|
+
hint: `POST /api/mcp/${name}/activate with an env object to fill them in.`,
|
|
580
|
+
});
|
|
581
|
+
}
|
|
582
|
+
deps.mcpStore.update(name, { enabled: true });
|
|
583
|
+
await deps.mcp.connect(existing);
|
|
584
|
+
return res.json({ ok: true });
|
|
585
|
+
}
|
|
586
|
+
if (action === "disable") {
|
|
587
|
+
deps.mcpStore.update(name, { enabled: false });
|
|
588
|
+
await deps.mcp.disconnect(name);
|
|
589
|
+
return res.json({ ok: true });
|
|
590
|
+
}
|
|
591
|
+
res.status(400).json({ error: `Unknown action: ${action}` });
|
|
592
|
+
});
|
|
593
|
+
// ── Channels (real) ───────────────────────────────────────────
|
|
594
|
+
app.get("/api/channels", (_req, res) => {
|
|
595
|
+
const statuses = deps.channels.list();
|
|
596
|
+
const running = deps.channelManager.runningSet();
|
|
597
|
+
const channels = statuses.map((s) => ({ ...s, running: running.has(s.id) }));
|
|
598
|
+
res.json({ channels, total: channels.length });
|
|
599
|
+
});
|
|
600
|
+
app.get("/api/channels/defs", (_req, res) => {
|
|
601
|
+
const defs = deps.channels.defs();
|
|
602
|
+
const statuses = deps.channels.list();
|
|
603
|
+
const running = deps.channelManager.runningSet();
|
|
604
|
+
const channels = defs.map((d) => {
|
|
605
|
+
const status = statuses.find((s) => s.id === d.id);
|
|
606
|
+
return {
|
|
607
|
+
name: d.id,
|
|
608
|
+
label: d.name,
|
|
609
|
+
desc: d.description,
|
|
610
|
+
envRequired: d.requiredKeys.filter((k) => k.secret).map((k) => k.key),
|
|
611
|
+
envOptional: [],
|
|
612
|
+
setup: [`Set ${d.requiredKeys.map((k) => k.key).join(" + ")} in your vault`],
|
|
613
|
+
prompts: d.requiredKeys.map((k) => ({ key: k.key, label: k.label, secret: k.secret })),
|
|
614
|
+
configured: status?.configured ?? false,
|
|
615
|
+
running: running.has(d.id),
|
|
616
|
+
};
|
|
617
|
+
});
|
|
618
|
+
res.json({ channels });
|
|
619
|
+
});
|
|
620
|
+
app.get("/api/channels/destinations", (_req, res) => {
|
|
621
|
+
res.json({ destinations: deps.channels.destinations() });
|
|
622
|
+
});
|
|
623
|
+
app.get("/api/channels/:id/status", (req, res) => {
|
|
624
|
+
const id = req.params.id ?? "";
|
|
625
|
+
const running = deps.channelManager.runningSet();
|
|
626
|
+
const status = deps.channels.list().find((s) => s.id === id);
|
|
627
|
+
if (!status)
|
|
628
|
+
return res.status(404).json({ error: "Unknown channel" });
|
|
629
|
+
res.json({ ...status, running: running.has(id) });
|
|
630
|
+
});
|
|
631
|
+
app.post("/api/channels/:id/start", async (req, res) => {
|
|
632
|
+
const id = req.params.id ?? "";
|
|
633
|
+
const ok = await deps.channelManager.start(id);
|
|
634
|
+
res.json({ ok, running: deps.channelManager.runningSet().has(id) });
|
|
635
|
+
});
|
|
636
|
+
app.post("/api/channels/:id/stop", async (req, res) => {
|
|
637
|
+
const id = req.params.id ?? "";
|
|
638
|
+
const ok = await deps.channelManager.stop(id);
|
|
639
|
+
res.json({ ok, running: deps.channelManager.runningSet().has(id) });
|
|
640
|
+
});
|
|
641
|
+
// ── Teams (real) ───────────────────────────────────────────────
|
|
642
|
+
app.get("/api/teams", (_req, res) => {
|
|
643
|
+
res.json({ teams: deps.teamStore.listTeams() });
|
|
644
|
+
});
|
|
645
|
+
app.get("/api/teams/templates", async (_req, res) => {
|
|
646
|
+
const { teamTemplates } = await import("../../teams/templates.js");
|
|
647
|
+
res.json({ templates: teamTemplates });
|
|
648
|
+
});
|
|
649
|
+
app.get("/api/teams/:id", (req, res) => {
|
|
650
|
+
const team = deps.teamStore.getTeam(req.params.id ?? "");
|
|
651
|
+
if (!team)
|
|
652
|
+
return res.status(404).json({ error: "Team not found" });
|
|
653
|
+
const workers = deps.teamStore.getWorkers(team.id);
|
|
654
|
+
res.json({ team, workers });
|
|
655
|
+
});
|
|
656
|
+
app.post("/api/teams/:id/disband", (req, res) => {
|
|
657
|
+
const ok = deps.teamStore.deleteTeam(req.params.id ?? "");
|
|
658
|
+
res.json({ ok });
|
|
659
|
+
});
|
|
660
|
+
}
|
|
661
|
+
//# sourceMappingURL=compat.js.map
|