aurix-ai 0.1.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/README.md +329 -0
- package/bin/aurix +172 -0
- package/bin/aurix.cmd +23 -0
- package/dist/agent/AgentLoop.d.ts +52 -0
- package/dist/agent/AgentLoop.d.ts.map +1 -0
- package/dist/agent/AgentLoop.js +543 -0
- package/dist/agent/AgentLoop.js.map +1 -0
- package/dist/agent/AgentsMD.d.ts +8 -0
- package/dist/agent/AgentsMD.d.ts.map +1 -0
- package/dist/agent/AgentsMD.js +53 -0
- package/dist/agent/AgentsMD.js.map +1 -0
- package/dist/agent/CodeReview.d.ts +13 -0
- package/dist/agent/CodeReview.d.ts.map +1 -0
- package/dist/agent/CodeReview.js +134 -0
- package/dist/agent/CodeReview.js.map +1 -0
- package/dist/agent/Config.d.ts +63 -0
- package/dist/agent/Config.d.ts.map +1 -0
- package/dist/agent/Config.js +55 -0
- package/dist/agent/Config.js.map +1 -0
- package/dist/agent/Context.d.ts +4 -0
- package/dist/agent/Context.d.ts.map +1 -0
- package/dist/agent/Context.js +390 -0
- package/dist/agent/Context.js.map +1 -0
- package/dist/agent/ContextManager.d.ts +23 -0
- package/dist/agent/ContextManager.d.ts.map +1 -0
- package/dist/agent/ContextManager.js +163 -0
- package/dist/agent/ContextManager.js.map +1 -0
- package/dist/agent/MemoryEngine.d.ts +24 -0
- package/dist/agent/MemoryEngine.d.ts.map +1 -0
- package/dist/agent/MemoryEngine.js +347 -0
- package/dist/agent/MemoryEngine.js.map +1 -0
- package/dist/agent/MultiAgent.d.ts +22 -0
- package/dist/agent/MultiAgent.d.ts.map +1 -0
- package/dist/agent/MultiAgent.js +466 -0
- package/dist/agent/MultiAgent.js.map +1 -0
- package/dist/agent/ResearchPipeline.d.ts +22 -0
- package/dist/agent/ResearchPipeline.d.ts.map +1 -0
- package/dist/agent/ResearchPipeline.js +195 -0
- package/dist/agent/ResearchPipeline.js.map +1 -0
- package/dist/agent/Setup.d.ts +3 -0
- package/dist/agent/Setup.d.ts.map +1 -0
- package/dist/agent/Setup.js +503 -0
- package/dist/agent/Setup.js.map +1 -0
- package/dist/agent/TokenCounter.d.ts +6 -0
- package/dist/agent/TokenCounter.d.ts.map +1 -0
- package/dist/agent/TokenCounter.js +73 -0
- package/dist/agent/TokenCounter.js.map +1 -0
- package/dist/agent/research/CitationGuardian.d.ts +10 -0
- package/dist/agent/research/CitationGuardian.d.ts.map +1 -0
- package/dist/agent/research/CitationGuardian.js +43 -0
- package/dist/agent/research/CitationGuardian.js.map +1 -0
- package/dist/agent/research/ClaimExtractor.d.ts +7 -0
- package/dist/agent/research/ClaimExtractor.d.ts.map +1 -0
- package/dist/agent/research/ClaimExtractor.js +49 -0
- package/dist/agent/research/ClaimExtractor.js.map +1 -0
- package/dist/agent/research/DebateSystem.d.ts +6 -0
- package/dist/agent/research/DebateSystem.d.ts.map +1 -0
- package/dist/agent/research/DebateSystem.js +33 -0
- package/dist/agent/research/DebateSystem.js.map +1 -0
- package/dist/agent/research/FinalReviewer.d.ts +10 -0
- package/dist/agent/research/FinalReviewer.d.ts.map +1 -0
- package/dist/agent/research/FinalReviewer.js +35 -0
- package/dist/agent/research/FinalReviewer.js.map +1 -0
- package/dist/agent/research/JudgeAgent.d.ts +7 -0
- package/dist/agent/research/JudgeAgent.d.ts.map +1 -0
- package/dist/agent/research/JudgeAgent.js +40 -0
- package/dist/agent/research/JudgeAgent.js.map +1 -0
- package/dist/agent/research/LogicCritic.d.ts +10 -0
- package/dist/agent/research/LogicCritic.d.ts.map +1 -0
- package/dist/agent/research/LogicCritic.js +39 -0
- package/dist/agent/research/LogicCritic.js.map +1 -0
- package/dist/agent/research/PlanningAgent.d.ts +10 -0
- package/dist/agent/research/PlanningAgent.d.ts.map +1 -0
- package/dist/agent/research/PlanningAgent.js +39 -0
- package/dist/agent/research/PlanningAgent.js.map +1 -0
- package/dist/agent/research/RequestAnalyzer.d.ts +14 -0
- package/dist/agent/research/RequestAnalyzer.d.ts.map +1 -0
- package/dist/agent/research/RequestAnalyzer.js +38 -0
- package/dist/agent/research/RequestAnalyzer.js.map +1 -0
- package/dist/agent/research/ResearchAgent.d.ts +12 -0
- package/dist/agent/research/ResearchAgent.d.ts.map +1 -0
- package/dist/agent/research/ResearchAgent.js +64 -0
- package/dist/agent/research/ResearchAgent.js.map +1 -0
- package/dist/agent/research/SkepticAgent.d.ts +9 -0
- package/dist/agent/research/SkepticAgent.d.ts.map +1 -0
- package/dist/agent/research/SkepticAgent.js +38 -0
- package/dist/agent/research/SkepticAgent.js.map +1 -0
- package/dist/agent/research/SupporterAgent.d.ts +9 -0
- package/dist/agent/research/SupporterAgent.d.ts.map +1 -0
- package/dist/agent/research/SupporterAgent.js +31 -0
- package/dist/agent/research/SupporterAgent.js.map +1 -0
- package/dist/agent/research/VideoAgent.d.ts +10 -0
- package/dist/agent/research/VideoAgent.d.ts.map +1 -0
- package/dist/agent/research/VideoAgent.js +49 -0
- package/dist/agent/research/VideoAgent.js.map +1 -0
- package/dist/agent/research/WriterAgent.d.ts +6 -0
- package/dist/agent/research/WriterAgent.d.ts.map +1 -0
- package/dist/agent/research/WriterAgent.js +30 -0
- package/dist/agent/research/WriterAgent.js.map +1 -0
- package/dist/agent/research/index.d.ts +15 -0
- package/dist/agent/research/index.d.ts.map +1 -0
- package/dist/agent/research/index.js +14 -0
- package/dist/agent/research/index.js.map +1 -0
- package/dist/agent/research/types.d.ts +49 -0
- package/dist/agent/research/types.d.ts.map +1 -0
- package/dist/agent/research/types.js +17 -0
- package/dist/agent/research/types.js.map +1 -0
- package/dist/cli/AltScreen.d.ts +3 -0
- package/dist/cli/AltScreen.d.ts.map +1 -0
- package/dist/cli/AltScreen.js +72 -0
- package/dist/cli/AltScreen.js.map +1 -0
- package/dist/cli/App.d.ts +11 -0
- package/dist/cli/App.d.ts.map +1 -0
- package/dist/cli/App.js +1319 -0
- package/dist/cli/App.js.map +1 -0
- package/dist/cli/Banner.d.ts +13 -0
- package/dist/cli/Banner.d.ts.map +1 -0
- package/dist/cli/Banner.js +12 -0
- package/dist/cli/Banner.js.map +1 -0
- package/dist/cli/BlackFill.d.ts +3 -0
- package/dist/cli/BlackFill.d.ts.map +1 -0
- package/dist/cli/BlackFill.js +9 -0
- package/dist/cli/BlackFill.js.map +1 -0
- package/dist/cli/ChatArea.d.ts +20 -0
- package/dist/cli/ChatArea.d.ts.map +1 -0
- package/dist/cli/ChatArea.js +300 -0
- package/dist/cli/ChatArea.js.map +1 -0
- package/dist/cli/ConnectModal.d.ts +9 -0
- package/dist/cli/ConnectModal.d.ts.map +1 -0
- package/dist/cli/ConnectModal.js +101 -0
- package/dist/cli/ConnectModal.js.map +1 -0
- package/dist/cli/FileDiff.d.ts +16 -0
- package/dist/cli/FileDiff.d.ts.map +1 -0
- package/dist/cli/FileDiff.js +45 -0
- package/dist/cli/FileDiff.js.map +1 -0
- package/dist/cli/InputBox.d.ts +18 -0
- package/dist/cli/InputBox.d.ts.map +1 -0
- package/dist/cli/InputBox.js +573 -0
- package/dist/cli/InputBox.js.map +1 -0
- package/dist/cli/LoginModal.d.ts +10 -0
- package/dist/cli/LoginModal.d.ts.map +1 -0
- package/dist/cli/LoginModal.js +129 -0
- package/dist/cli/LoginModal.js.map +1 -0
- package/dist/cli/Menu.d.ts +26 -0
- package/dist/cli/Menu.d.ts.map +1 -0
- package/dist/cli/Menu.js +115 -0
- package/dist/cli/Menu.js.map +1 -0
- package/dist/cli/MouseFilter.d.ts +2 -0
- package/dist/cli/MouseFilter.d.ts.map +1 -0
- package/dist/cli/MouseFilter.js +47 -0
- package/dist/cli/MouseFilter.js.map +1 -0
- package/dist/cli/Panel.d.ts.map +1 -0
- package/dist/cli/Panel.js.map +1 -0
- package/dist/cli/PermissionPrompt.d.ts +9 -0
- package/dist/cli/PermissionPrompt.d.ts.map +1 -0
- package/dist/cli/PermissionPrompt.js +56 -0
- package/dist/cli/PermissionPrompt.js.map +1 -0
- package/dist/cli/SessionPanel.d.ts +15 -0
- package/dist/cli/SessionPanel.d.ts.map +1 -0
- package/dist/cli/SessionPanel.js +28 -0
- package/dist/cli/SessionPanel.js.map +1 -0
- package/dist/cli/SetupUI.d.ts +34 -0
- package/dist/cli/SetupUI.d.ts.map +1 -0
- package/dist/cli/SetupUI.js +311 -0
- package/dist/cli/SetupUI.js.map +1 -0
- package/dist/cli/StatusBar.d.ts +12 -0
- package/dist/cli/StatusBar.d.ts.map +1 -0
- package/dist/cli/StatusBar.js +7 -0
- package/dist/cli/StatusBar.js.map +1 -0
- package/dist/cli/WhatsAppModal.d.ts +10 -0
- package/dist/cli/WhatsAppModal.d.ts.map +1 -0
- package/dist/cli/WhatsAppModal.js +78 -0
- package/dist/cli/WhatsAppModal.js.map +1 -0
- package/dist/cli/animation/useThinking.d.ts +2 -0
- package/dist/cli/animation/useThinking.d.ts.map +1 -0
- package/dist/cli/animation/useThinking.js +50 -0
- package/dist/cli/animation/useThinking.js.map +1 -0
- package/dist/cli/commands.d.ts +26 -0
- package/dist/cli/commands.d.ts.map +1 -0
- package/dist/cli/commands.js +816 -0
- package/dist/cli/commands.js.map +1 -0
- package/dist/cli/theme.d.ts +101 -0
- package/dist/cli/theme.d.ts.map +1 -0
- package/dist/cli/theme.js +222 -0
- package/dist/cli/theme.js.map +1 -0
- package/dist/commands/SlashCommands.d.ts +15 -0
- package/dist/commands/SlashCommands.d.ts.map +1 -0
- package/dist/commands/SlashCommands.js +238 -0
- package/dist/commands/SlashCommands.js.map +1 -0
- package/dist/gateway/Discord.d.ts +13 -0
- package/dist/gateway/Discord.d.ts.map +1 -0
- package/dist/gateway/Discord.js +144 -0
- package/dist/gateway/Discord.js.map +1 -0
- package/dist/gateway/Gateway.d.ts +71 -0
- package/dist/gateway/Gateway.d.ts.map +1 -0
- package/dist/gateway/Gateway.js +665 -0
- package/dist/gateway/Gateway.js.map +1 -0
- package/dist/gateway/Telegram.d.ts +18 -0
- package/dist/gateway/Telegram.d.ts.map +1 -0
- package/dist/gateway/Telegram.js +224 -0
- package/dist/gateway/Telegram.js.map +1 -0
- package/dist/gateway/WASessionStore.d.ts +13 -0
- package/dist/gateway/WASessionStore.d.ts.map +1 -0
- package/dist/gateway/WASessionStore.js +94 -0
- package/dist/gateway/WASessionStore.js.map +1 -0
- package/dist/gateway/WhatsApp.d.ts +19 -0
- package/dist/gateway/WhatsApp.d.ts.map +1 -0
- package/dist/gateway/WhatsApp.js +159 -0
- package/dist/gateway/WhatsApp.js.map +1 -0
- package/dist/gateway-entry.d.ts +3 -0
- package/dist/gateway-entry.d.ts.map +1 -0
- package/dist/gateway-entry.js +50 -0
- package/dist/gateway-entry.js.map +1 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +213 -0
- package/dist/index.js.map +1 -0
- package/dist/providers/index.d.ts +70 -0
- package/dist/providers/index.d.ts.map +1 -0
- package/dist/providers/index.js +390 -0
- package/dist/providers/index.js.map +1 -0
- package/dist/skills/SkillRegistry.d.ts +33 -0
- package/dist/skills/SkillRegistry.d.ts.map +1 -0
- package/dist/skills/SkillRegistry.js +102 -0
- package/dist/skills/SkillRegistry.js.map +1 -0
- package/dist/token-counter.linux-x64-gnu.node +0 -0
- package/dist/tools/Backend.d.ts +3 -0
- package/dist/tools/Backend.d.ts.map +1 -0
- package/dist/tools/Backend.js +154 -0
- package/dist/tools/Backend.js.map +1 -0
- package/dist/tools/Blockchain.d.ts +3 -0
- package/dist/tools/Blockchain.d.ts.map +1 -0
- package/dist/tools/Blockchain.js +82 -0
- package/dist/tools/Blockchain.js.map +1 -0
- package/dist/tools/Browser.d.ts +5 -0
- package/dist/tools/Browser.d.ts.map +1 -0
- package/dist/tools/Browser.js +2253 -0
- package/dist/tools/Browser.js.map +1 -0
- package/dist/tools/Cloud.d.ts +3 -0
- package/dist/tools/Cloud.d.ts.map +1 -0
- package/dist/tools/Cloud.js +115 -0
- package/dist/tools/Cloud.js.map +1 -0
- package/dist/tools/CodeExec.d.ts +3 -0
- package/dist/tools/CodeExec.d.ts.map +1 -0
- package/dist/tools/CodeExec.js +76 -0
- package/dist/tools/CodeExec.js.map +1 -0
- package/dist/tools/Cybersec.d.ts +3 -0
- package/dist/tools/Cybersec.d.ts.map +1 -0
- package/dist/tools/Cybersec.js +186 -0
- package/dist/tools/Cybersec.js.map +1 -0
- package/dist/tools/Deploy.d.ts +3 -0
- package/dist/tools/Deploy.d.ts.map +1 -0
- package/dist/tools/Deploy.js +87 -0
- package/dist/tools/Deploy.js.map +1 -0
- package/dist/tools/Diagram.d.ts +3 -0
- package/dist/tools/Diagram.d.ts.map +1 -0
- package/dist/tools/Diagram.js +38 -0
- package/dist/tools/Diagram.js.map +1 -0
- package/dist/tools/Docker.d.ts +3 -0
- package/dist/tools/Docker.d.ts.map +1 -0
- package/dist/tools/Docker.js +45 -0
- package/dist/tools/Docker.js.map +1 -0
- package/dist/tools/Email.d.ts +3 -0
- package/dist/tools/Email.d.ts.map +1 -0
- package/dist/tools/Email.js +172 -0
- package/dist/tools/Email.js.map +1 -0
- package/dist/tools/Excel.d.ts +3 -0
- package/dist/tools/Excel.d.ts.map +1 -0
- package/dist/tools/Excel.js +41 -0
- package/dist/tools/Excel.js.map +1 -0
- package/dist/tools/FileEdit.d.ts +3 -0
- package/dist/tools/FileEdit.d.ts.map +1 -0
- package/dist/tools/FileEdit.js +69 -0
- package/dist/tools/FileEdit.js.map +1 -0
- package/dist/tools/FileOps.d.ts +5 -0
- package/dist/tools/FileOps.d.ts.map +1 -0
- package/dist/tools/FileOps.js +76 -0
- package/dist/tools/FileOps.js.map +1 -0
- package/dist/tools/Frontend.d.ts +3 -0
- package/dist/tools/Frontend.d.ts.map +1 -0
- package/dist/tools/Frontend.js +124 -0
- package/dist/tools/Frontend.js.map +1 -0
- package/dist/tools/GifSearch.d.ts +3 -0
- package/dist/tools/GifSearch.d.ts.map +1 -0
- package/dist/tools/GifSearch.js +36 -0
- package/dist/tools/GifSearch.js.map +1 -0
- package/dist/tools/Github.d.ts +3 -0
- package/dist/tools/Github.d.ts.map +1 -0
- package/dist/tools/Github.js +95 -0
- package/dist/tools/Github.js.map +1 -0
- package/dist/tools/GithubConnect.d.ts +3 -0
- package/dist/tools/GithubConnect.d.ts.map +1 -0
- package/dist/tools/GithubConnect.js +282 -0
- package/dist/tools/GithubConnect.js.map +1 -0
- package/dist/tools/Humanizer.d.ts +3 -0
- package/dist/tools/Humanizer.d.ts.map +1 -0
- package/dist/tools/Humanizer.js +45 -0
- package/dist/tools/Humanizer.js.map +1 -0
- package/dist/tools/Maps.d.ts +3 -0
- package/dist/tools/Maps.d.ts.map +1 -0
- package/dist/tools/Maps.js +51 -0
- package/dist/tools/Maps.js.map +1 -0
- package/dist/tools/McpManage.d.ts +26 -0
- package/dist/tools/McpManage.d.ts.map +1 -0
- package/dist/tools/McpManage.js +229 -0
- package/dist/tools/McpManage.js.map +1 -0
- package/dist/tools/Memory.d.ts +3 -0
- package/dist/tools/Memory.d.ts.map +1 -0
- package/dist/tools/Memory.js +68 -0
- package/dist/tools/Memory.js.map +1 -0
- package/dist/tools/Music.d.ts +3 -0
- package/dist/tools/Music.d.ts.map +1 -0
- package/dist/tools/Music.js +274 -0
- package/dist/tools/Music.js.map +1 -0
- package/dist/tools/Notifier.d.ts +3 -0
- package/dist/tools/Notifier.d.ts.map +1 -0
- package/dist/tools/Notifier.js +31 -0
- package/dist/tools/Notifier.js.map +1 -0
- package/dist/tools/Osint.d.ts +3 -0
- package/dist/tools/Osint.d.ts.map +1 -0
- package/dist/tools/Osint.js +57 -0
- package/dist/tools/Osint.js.map +1 -0
- package/dist/tools/Pdf.d.ts +3 -0
- package/dist/tools/Pdf.d.ts.map +1 -0
- package/dist/tools/Pdf.js +152 -0
- package/dist/tools/Pdf.js.map +1 -0
- package/dist/tools/Planning.d.ts +3 -0
- package/dist/tools/Planning.d.ts.map +1 -0
- package/dist/tools/Planning.js +212 -0
- package/dist/tools/Planning.js.map +1 -0
- package/dist/tools/Pptx.d.ts +3 -0
- package/dist/tools/Pptx.d.ts.map +1 -0
- package/dist/tools/Pptx.js +47 -0
- package/dist/tools/Pptx.js.map +1 -0
- package/dist/tools/Registry.d.ts +39 -0
- package/dist/tools/Registry.d.ts.map +1 -0
- package/dist/tools/Registry.js +151 -0
- package/dist/tools/Registry.js.map +1 -0
- package/dist/tools/Research.d.ts +3 -0
- package/dist/tools/Research.d.ts.map +1 -0
- package/dist/tools/Research.js +126 -0
- package/dist/tools/Research.js.map +1 -0
- package/dist/tools/ResearchForums.d.ts +3 -0
- package/dist/tools/ResearchForums.d.ts.map +1 -0
- package/dist/tools/ResearchForums.js +84 -0
- package/dist/tools/ResearchForums.js.map +1 -0
- package/dist/tools/Scraper.d.ts +3 -0
- package/dist/tools/Scraper.d.ts.map +1 -0
- package/dist/tools/Scraper.js +54 -0
- package/dist/tools/Scraper.js.map +1 -0
- package/dist/tools/SendFile.d.ts +4 -0
- package/dist/tools/SendFile.d.ts.map +1 -0
- package/dist/tools/SendFile.js +71 -0
- package/dist/tools/SendFile.js.map +1 -0
- package/dist/tools/SkillLoader.d.ts +3 -0
- package/dist/tools/SkillLoader.d.ts.map +1 -0
- package/dist/tools/SkillLoader.js +132 -0
- package/dist/tools/SkillLoader.js.map +1 -0
- package/dist/tools/SystemMonitor.d.ts +3 -0
- package/dist/tools/SystemMonitor.d.ts.map +1 -0
- package/dist/tools/SystemMonitor.js +59 -0
- package/dist/tools/SystemMonitor.js.map +1 -0
- package/dist/tools/Terminal.d.ts +3 -0
- package/dist/tools/Terminal.d.ts.map +1 -0
- package/dist/tools/Terminal.js +32 -0
- package/dist/tools/Terminal.js.map +1 -0
- package/dist/tools/Todo.d.ts +3 -0
- package/dist/tools/Todo.d.ts.map +1 -0
- package/dist/tools/Todo.js +87 -0
- package/dist/tools/Todo.js.map +1 -0
- package/dist/tools/Trading.d.ts +3 -0
- package/dist/tools/Trading.d.ts.map +1 -0
- package/dist/tools/Trading.js +277 -0
- package/dist/tools/Trading.js.map +1 -0
- package/dist/tools/Vision.d.ts +3 -0
- package/dist/tools/Vision.d.ts.map +1 -0
- package/dist/tools/Vision.js +99 -0
- package/dist/tools/Vision.js.map +1 -0
- package/dist/tools/Vps.d.ts +3 -0
- package/dist/tools/Vps.d.ts.map +1 -0
- package/dist/tools/Vps.js +178 -0
- package/dist/tools/Vps.js.map +1 -0
- package/dist/tools/WebSearch.d.ts +3 -0
- package/dist/tools/WebSearch.d.ts.map +1 -0
- package/dist/tools/WebSearch.js +115 -0
- package/dist/tools/WebSearch.js.map +1 -0
- package/dist/tools/YouTube.d.ts +3 -0
- package/dist/tools/YouTube.d.ts.map +1 -0
- package/dist/tools/YouTube.js +30 -0
- package/dist/tools/YouTube.js.map +1 -0
- package/dist/utils/ascii-logo.d.ts +9 -0
- package/dist/utils/ascii-logo.d.ts.map +1 -0
- package/dist/utils/ascii-logo.js +34 -0
- package/dist/utils/ascii-logo.js.map +1 -0
- package/dist/utils/base-url.d.ts +9 -0
- package/dist/utils/base-url.d.ts.map +1 -0
- package/dist/utils/base-url.js +58 -0
- package/dist/utils/base-url.js.map +1 -0
- package/native/token-counter/index.d.ts +7 -0
- package/native/token-counter/index.js +316 -0
- package/native/token-counter/node_modules/.package-lock.json +568 -0
- package/native/token-counter/node_modules/2/array.js +25 -0
- package/native/token-counter/node_modules/2/index.js +12 -0
- package/native/token-counter/node_modules/2/iterator.js +13 -0
- package/native/token-counter/node_modules/2/license.txt +21 -0
- package/native/token-counter/node_modules/2/map.js +27 -0
- package/native/token-counter/node_modules/2/number.js +109 -0
- package/native/token-counter/node_modules/2/object.js +23 -0
- package/native/token-counter/node_modules/2/package.json +60 -0
- package/native/token-counter/node_modules/2/readme.md +246 -0
- package/native/token-counter/node_modules/2/string.js +11 -0
- package/native/token-counter/node_modules/2/test.js +520 -0
- package/native/token-counter/node_modules/@lamansky/every/index.js +16 -0
- package/native/token-counter/node_modules/@lamansky/every/license.txt +21 -0
- package/native/token-counter/node_modules/@lamansky/every/package.json +38 -0
- package/native/token-counter/node_modules/@lamansky/every/readme.md +46 -0
- package/native/token-counter/node_modules/@lamansky/flatten/index.js +5 -0
- package/native/token-counter/node_modules/@lamansky/flatten/license.txt +21 -0
- package/native/token-counter/node_modules/@lamansky/flatten/package.json +35 -0
- package/native/token-counter/node_modules/@lamansky/flatten/readme.md +41 -0
- package/native/token-counter/node_modules/@napi-rs/cli/LICENSE +21 -0
- package/native/token-counter/node_modules/@napi-rs/cli/README.md +96 -0
- package/native/token-counter/node_modules/@napi-rs/cli/package.json +65 -0
- package/native/token-counter/node_modules/@napi-rs/cli/scripts/index.js +51371 -0
- package/native/token-counter/node_modules/add-counter/index.js +3 -0
- package/native/token-counter/node_modules/add-counter/license.txt +21 -0
- package/native/token-counter/node_modules/add-counter/package.json +34 -0
- package/native/token-counter/node_modules/add-counter/readme.md +36 -0
- package/native/token-counter/node_modules/array-pad/LICENSE +22 -0
- package/native/token-counter/node_modules/array-pad/README.md +80 -0
- package/native/token-counter/node_modules/array-pad/index.js +30 -0
- package/native/token-counter/node_modules/array-pad/package.json +28 -0
- package/native/token-counter/node_modules/arrify/index.js +8 -0
- package/native/token-counter/node_modules/arrify/license +21 -0
- package/native/token-counter/node_modules/arrify/package.json +33 -0
- package/native/token-counter/node_modules/arrify/readme.md +36 -0
- package/native/token-counter/node_modules/case-insensitive/index.js +72 -0
- package/native/token-counter/node_modules/case-insensitive/license.txt +21 -0
- package/native/token-counter/node_modules/case-insensitive/package.json +39 -0
- package/native/token-counter/node_modules/case-insensitive/readme.md +39 -0
- package/native/token-counter/node_modules/case-insensitive/test.js +114 -0
- package/native/token-counter/node_modules/class-chain/index.js +32 -0
- package/native/token-counter/node_modules/class-chain/license.txt +21 -0
- package/native/token-counter/node_modules/class-chain/package.json +39 -0
- package/native/token-counter/node_modules/class-chain/readme.md +23 -0
- package/native/token-counter/node_modules/class-chain/test.js +77 -0
- package/native/token-counter/node_modules/copy-own/index.js +10 -0
- package/native/token-counter/node_modules/copy-own/license.txt +21 -0
- package/native/token-counter/node_modules/copy-own/package.json +37 -0
- package/native/token-counter/node_modules/copy-own/readme.md +67 -0
- package/native/token-counter/node_modules/def-props/index.js +43 -0
- package/native/token-counter/node_modules/def-props/license.txt +21 -0
- package/native/token-counter/node_modules/def-props/node_modules/is-obj/index.d.ts +22 -0
- package/native/token-counter/node_modules/def-props/node_modules/is-obj/index.js +6 -0
- package/native/token-counter/node_modules/def-props/node_modules/is-obj/license +9 -0
- package/native/token-counter/node_modules/def-props/node_modules/is-obj/package.json +34 -0
- package/native/token-counter/node_modules/def-props/node_modules/is-obj/readme.md +39 -0
- package/native/token-counter/node_modules/def-props/package.json +51 -0
- package/native/token-counter/node_modules/def-props/readme.md +117 -0
- package/native/token-counter/node_modules/empty-iterator/index.js +3 -0
- package/native/token-counter/node_modules/empty-iterator/license.txt +21 -0
- package/native/token-counter/node_modules/empty-iterator/package.json +33 -0
- package/native/token-counter/node_modules/empty-iterator/readme.md +23 -0
- package/native/token-counter/node_modules/enforce-range/index.js +15 -0
- package/native/token-counter/node_modules/enforce-range/license.txt +21 -0
- package/native/token-counter/node_modules/enforce-range/node_modules/2/array.js +43 -0
- package/native/token-counter/node_modules/enforce-range/node_modules/2/index.js +10 -0
- package/native/token-counter/node_modules/enforce-range/node_modules/2/iterator.js +26 -0
- package/native/token-counter/node_modules/enforce-range/node_modules/2/license.txt +21 -0
- package/native/token-counter/node_modules/enforce-range/node_modules/2/map.js +47 -0
- package/native/token-counter/node_modules/enforce-range/node_modules/2/number.js +33 -0
- package/native/token-counter/node_modules/enforce-range/node_modules/2/object.js +61 -0
- package/native/token-counter/node_modules/enforce-range/node_modules/2/package.json +41 -0
- package/native/token-counter/node_modules/enforce-range/node_modules/2/readme.md +210 -0
- package/native/token-counter/node_modules/enforce-range/node_modules/2/string.js +37 -0
- package/native/token-counter/node_modules/enforce-range/node_modules/2/test.js +413 -0
- package/native/token-counter/node_modules/enforce-range/package.json +36 -0
- package/native/token-counter/node_modules/enforce-range/readme.md +53 -0
- package/native/token-counter/node_modules/english-list/.travis.yml +6 -0
- package/native/token-counter/node_modules/english-list/LICENSE +22 -0
- package/native/token-counter/node_modules/english-list/README.md +44 -0
- package/native/token-counter/node_modules/english-list/index.js +34 -0
- package/native/token-counter/node_modules/english-list/package.json +31 -0
- package/native/token-counter/node_modules/english-list/test.log +6 -0
- package/native/token-counter/node_modules/errate/index.js +19 -0
- package/native/token-counter/node_modules/errate/license.txt +21 -0
- package/native/token-counter/node_modules/errate/package.json +39 -0
- package/native/token-counter/node_modules/errate/readme.md +79 -0
- package/native/token-counter/node_modules/ffn/index.js +9 -0
- package/native/token-counter/node_modules/ffn/license.txt +21 -0
- package/native/token-counter/node_modules/ffn/package.json +34 -0
- package/native/token-counter/node_modules/ffn/readme.md +51 -0
- package/native/token-counter/node_modules/get-own-property/index.js +5 -0
- package/native/token-counter/node_modules/get-own-property/license.txt +21 -0
- package/native/token-counter/node_modules/get-own-property/package.json +31 -0
- package/native/token-counter/node_modules/get-own-property/readme.md +22 -0
- package/native/token-counter/node_modules/has-duplicates/index.js +11 -0
- package/native/token-counter/node_modules/has-duplicates/license.txt +21 -0
- package/native/token-counter/node_modules/has-duplicates/package.json +32 -0
- package/native/token-counter/node_modules/has-duplicates/readme.md +23 -0
- package/native/token-counter/node_modules/has-duplicates/test.js +30 -0
- package/native/token-counter/node_modules/if-else-throw/index.js +8 -0
- package/native/token-counter/node_modules/if-else-throw/license.txt +21 -0
- package/native/token-counter/node_modules/if-else-throw/package.json +37 -0
- package/native/token-counter/node_modules/if-else-throw/readme.md +32 -0
- package/native/token-counter/node_modules/is-array-of-length/index.js +7 -0
- package/native/token-counter/node_modules/is-array-of-length/license.txt +21 -0
- package/native/token-counter/node_modules/is-array-of-length/package.json +42 -0
- package/native/token-counter/node_modules/is-array-of-length/readme.md +41 -0
- package/native/token-counter/node_modules/is-class-of/index.js +7 -0
- package/native/token-counter/node_modules/is-class-of/license.txt +21 -0
- package/native/token-counter/node_modules/is-class-of/package.json +35 -0
- package/native/token-counter/node_modules/is-class-of/readme.md +57 -0
- package/native/token-counter/node_modules/is-global-object/index.js +6 -0
- package/native/token-counter/node_modules/is-global-object/license.txt +21 -0
- package/native/token-counter/node_modules/is-global-object/package.json +34 -0
- package/native/token-counter/node_modules/is-global-object/readme.md +22 -0
- package/native/token-counter/node_modules/is-instance-of/index.js +28 -0
- package/native/token-counter/node_modules/is-instance-of/license.txt +21 -0
- package/native/token-counter/node_modules/is-instance-of/package.json +44 -0
- package/native/token-counter/node_modules/is-instance-of/readme.md +55 -0
- package/native/token-counter/node_modules/is-iterable/index.js +5 -0
- package/native/token-counter/node_modules/is-iterable/license +21 -0
- package/native/token-counter/node_modules/is-iterable/package.json +30 -0
- package/native/token-counter/node_modules/is-iterable/readme.md +23 -0
- package/native/token-counter/node_modules/is-nil/LICENSE +21 -0
- package/native/token-counter/node_modules/is-nil/README.md +47 -0
- package/native/token-counter/node_modules/is-nil/index.js +6 -0
- package/native/token-counter/node_modules/is-nil/package.json +46 -0
- package/native/token-counter/node_modules/is-obj/index.js +5 -0
- package/native/token-counter/node_modules/is-obj/license +21 -0
- package/native/token-counter/node_modules/is-obj/package.json +33 -0
- package/native/token-counter/node_modules/is-obj/readme.md +34 -0
- package/native/token-counter/node_modules/is-object/.eslintignore +1 -0
- package/native/token-counter/node_modules/is-object/.eslintrc +5 -0
- package/native/token-counter/node_modules/is-object/.nycrc +13 -0
- package/native/token-counter/node_modules/is-object/.testem.json +14 -0
- package/native/token-counter/node_modules/is-object/CHANGELOG.md +121 -0
- package/native/token-counter/node_modules/is-object/LICENSE +19 -0
- package/native/token-counter/node_modules/is-object/README.md +48 -0
- package/native/token-counter/node_modules/is-object/index.js +5 -0
- package/native/token-counter/node_modules/is-object/package.json +78 -0
- package/native/token-counter/node_modules/is-object/test/index.js +44 -0
- package/native/token-counter/node_modules/is-plain-object/LICENSE +21 -0
- package/native/token-counter/node_modules/is-plain-object/README.md +104 -0
- package/native/token-counter/node_modules/is-plain-object/index.d.ts +5 -0
- package/native/token-counter/node_modules/is-plain-object/index.js +37 -0
- package/native/token-counter/node_modules/is-plain-object/package.json +79 -0
- package/native/token-counter/node_modules/isobject/LICENSE +21 -0
- package/native/token-counter/node_modules/isobject/README.md +122 -0
- package/native/token-counter/node_modules/isobject/index.d.ts +5 -0
- package/native/token-counter/node_modules/isobject/index.js +12 -0
- package/native/token-counter/node_modules/isobject/package.json +74 -0
- package/native/token-counter/node_modules/lodash.set/LICENSE +47 -0
- package/native/token-counter/node_modules/lodash.set/README.md +18 -0
- package/native/token-counter/node_modules/lodash.set/index.js +990 -0
- package/native/token-counter/node_modules/lodash.set/package.json +17 -0
- package/native/token-counter/node_modules/longest-first/index.js +3 -0
- package/native/token-counter/node_modules/longest-first/license.txt +21 -0
- package/native/token-counter/node_modules/longest-first/package.json +36 -0
- package/native/token-counter/node_modules/longest-first/readme.md +29 -0
- package/native/token-counter/node_modules/m-o/index.js +27 -0
- package/native/token-counter/node_modules/m-o/license.txt +21 -0
- package/native/token-counter/node_modules/m-o/node_modules/new-object/index.js +23 -0
- package/native/token-counter/node_modules/m-o/node_modules/new-object/license.txt +21 -0
- package/native/token-counter/node_modules/m-o/node_modules/new-object/package.json +40 -0
- package/native/token-counter/node_modules/m-o/node_modules/new-object/readme.md +55 -0
- package/native/token-counter/node_modules/m-o/package.json +45 -0
- package/native/token-counter/node_modules/m-o/readme.md +87 -0
- package/native/token-counter/node_modules/map-iter/index.js +6 -0
- package/native/token-counter/node_modules/map-iter/license.txt +21 -0
- package/native/token-counter/node_modules/map-iter/package.json +40 -0
- package/native/token-counter/node_modules/map-iter/readme.md +46 -0
- package/native/token-counter/node_modules/new-object/index.js +5 -0
- package/native/token-counter/node_modules/new-object/license.txt +21 -0
- package/native/token-counter/node_modules/new-object/package.json +49 -0
- package/native/token-counter/node_modules/new-object/readme.md +145 -0
- package/native/token-counter/node_modules/ofn/index.js +22 -0
- package/native/token-counter/node_modules/ofn/license.txt +21 -0
- package/native/token-counter/node_modules/ofn/package.json +40 -0
- package/native/token-counter/node_modules/ofn/readme.md +63 -0
- package/native/token-counter/node_modules/otherwise/index.js +11 -0
- package/native/token-counter/node_modules/otherwise/license.txt +21 -0
- package/native/token-counter/node_modules/otherwise/package.json +38 -0
- package/native/token-counter/node_modules/otherwise/readme.md +29 -0
- package/native/token-counter/node_modules/parser-factory/index.js +138 -0
- package/native/token-counter/node_modules/parser-factory/license.txt +21 -0
- package/native/token-counter/node_modules/parser-factory/node_modules/arrify/index.d.ts +38 -0
- package/native/token-counter/node_modules/parser-factory/node_modules/arrify/index.js +23 -0
- package/native/token-counter/node_modules/parser-factory/node_modules/arrify/license +9 -0
- package/native/token-counter/node_modules/parser-factory/node_modules/arrify/package.json +35 -0
- package/native/token-counter/node_modules/parser-factory/node_modules/arrify/readme.md +39 -0
- package/native/token-counter/node_modules/parser-factory/package.json +38 -0
- package/native/token-counter/node_modules/parser-factory/readme.md +15 -0
- package/native/token-counter/node_modules/pfn/index.js +5 -0
- package/native/token-counter/node_modules/pfn/license.txt +21 -0
- package/native/token-counter/node_modules/pfn/package.json +41 -0
- package/native/token-counter/node_modules/pfn/readme.md +111 -0
- package/native/token-counter/node_modules/pfn/strict.js +8 -0
- package/native/token-counter/node_modules/plainify/index.js +5 -0
- package/native/token-counter/node_modules/plainify/license.txt +21 -0
- package/native/token-counter/node_modules/plainify/package.json +36 -0
- package/native/token-counter/node_modules/plainify/readme.md +47 -0
- package/native/token-counter/node_modules/possible-function/changelog.md +7 -0
- package/native/token-counter/node_modules/possible-function/index.js +43 -0
- package/native/token-counter/node_modules/possible-function/license.txt +21 -0
- package/native/token-counter/node_modules/possible-function/package.json +34 -0
- package/native/token-counter/node_modules/possible-function/readme.md +77 -0
- package/native/token-counter/node_modules/possible-function/test.js +32 -0
- package/native/token-counter/node_modules/qfn/index.js +11 -0
- package/native/token-counter/node_modules/qfn/license.txt +21 -0
- package/native/token-counter/node_modules/qfn/package.json +40 -0
- package/native/token-counter/node_modules/qfn/readme.md +45 -0
- package/native/token-counter/node_modules/roadblock/index.js +3 -0
- package/native/token-counter/node_modules/roadblock/license.txt +21 -0
- package/native/token-counter/node_modules/roadblock/package.json +40 -0
- package/native/token-counter/node_modules/roadblock/readme.md +59 -0
- package/native/token-counter/node_modules/round-to/index.d.ts +56 -0
- package/native/token-counter/node_modules/round-to/index.js +37 -0
- package/native/token-counter/node_modules/round-to/license +9 -0
- package/native/token-counter/node_modules/round-to/package.json +38 -0
- package/native/token-counter/node_modules/round-to/readme.md +71 -0
- package/native/token-counter/node_modules/rtrim-array/index.js +10 -0
- package/native/token-counter/node_modules/rtrim-array/license.txt +21 -0
- package/native/token-counter/node_modules/rtrim-array/package.json +41 -0
- package/native/token-counter/node_modules/rtrim-array/readme.md +75 -0
- package/native/token-counter/node_modules/sbo/index.js +25 -0
- package/native/token-counter/node_modules/sbo/license.txt +21 -0
- package/native/token-counter/node_modules/sbo/package.json +50 -0
- package/native/token-counter/node_modules/sbo/readme.md +105 -0
- package/native/token-counter/node_modules/sorp/index.js +3 -0
- package/native/token-counter/node_modules/sorp/license.txt +21 -0
- package/native/token-counter/node_modules/sorp/package.json +34 -0
- package/native/token-counter/node_modules/sorp/readme.md +25 -0
- package/native/token-counter/node_modules/trim-call/index.js +6 -0
- package/native/token-counter/node_modules/trim-call/license.txt +21 -0
- package/native/token-counter/node_modules/trim-call/package.json +40 -0
- package/native/token-counter/node_modules/trim-call/readme.md +80 -0
- package/native/token-counter/node_modules/type-error/LICENSE +21 -0
- package/native/token-counter/node_modules/type-error/README.md +24 -0
- package/native/token-counter/node_modules/type-error/index.js +35 -0
- package/native/token-counter/node_modules/type-error/package.json +11 -0
- package/native/token-counter/node_modules/vfn/index.js +21 -0
- package/native/token-counter/node_modules/vfn/license.txt +21 -0
- package/native/token-counter/node_modules/vfn/package.json +40 -0
- package/native/token-counter/node_modules/vfn/readme.md +81 -0
- package/native/token-counter/node_modules/wfn/index.js +43 -0
- package/native/token-counter/node_modules/wfn/license.txt +21 -0
- package/native/token-counter/node_modules/wfn/package.json +38 -0
- package/native/token-counter/node_modules/wfn/readme.md +81 -0
- package/native/token-counter/package-lock.json +578 -0
- package/native/token-counter/package.json +21 -0
- package/native/token-counter/token-counter.linux-x64-gnu.node +0 -0
- package/package.json +98 -0
- package/scripts/build.cjs +27 -0
- package/scripts/deploy.sh +29 -0
- package/scripts/music.py +268 -0
- package/scripts/postinstall.mjs +81 -0
- package/scripts/push.sh +5 -0
package/package.json
ADDED
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "aurix-ai",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Open-source terminal AI agent for coding, deep research, automation, and multi-platform task execution.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "dist/index.js",
|
|
7
|
+
"bin": {
|
|
8
|
+
"aurix": "bin/aurix",
|
|
9
|
+
"aurix.cmd": "bin/aurix.cmd"
|
|
10
|
+
},
|
|
11
|
+
"keywords": [
|
|
12
|
+
"ai",
|
|
13
|
+
"agent",
|
|
14
|
+
"terminal",
|
|
15
|
+
"cli",
|
|
16
|
+
"typescript",
|
|
17
|
+
"bun",
|
|
18
|
+
"openai",
|
|
19
|
+
"anthropic",
|
|
20
|
+
"automation",
|
|
21
|
+
"research",
|
|
22
|
+
"productivity",
|
|
23
|
+
"devtools",
|
|
24
|
+
"browser-automation",
|
|
25
|
+
"multi-agent",
|
|
26
|
+
"llm",
|
|
27
|
+
"developer-tools",
|
|
28
|
+
"discord-bot",
|
|
29
|
+
"telegram-bot",
|
|
30
|
+
"whatsapp-bot"
|
|
31
|
+
],
|
|
32
|
+
"homepage": "https://github.com/DekaPrayoga/AurixAgent",
|
|
33
|
+
"repository": {
|
|
34
|
+
"type": "git",
|
|
35
|
+
"url": "git+https://github.com/DekaPrayoga/AurixAgent.git"
|
|
36
|
+
},
|
|
37
|
+
"bugs": {
|
|
38
|
+
"url": "https://github.com/DekaPrayoga/AurixAgent/issues"
|
|
39
|
+
},
|
|
40
|
+
"license": "MIT",
|
|
41
|
+
"files": [
|
|
42
|
+
"bin/",
|
|
43
|
+
"dist/",
|
|
44
|
+
"native/",
|
|
45
|
+
"scripts/",
|
|
46
|
+
"README.md"
|
|
47
|
+
],
|
|
48
|
+
"scripts": {
|
|
49
|
+
"build": "node scripts/build.cjs",
|
|
50
|
+
"dev": "tsx src/index.tsx",
|
|
51
|
+
"start": "node dist/index.js",
|
|
52
|
+
"prepare": "node scripts/build.cjs",
|
|
53
|
+
"postinstall": "node scripts/postinstall.mjs",
|
|
54
|
+
"lint": "eslint src/**/*.ts",
|
|
55
|
+
"format": "prettier --write src/**/*.ts"
|
|
56
|
+
},
|
|
57
|
+
"dependencies": {
|
|
58
|
+
"@anthropic-ai/sdk": "^0.35.0",
|
|
59
|
+
"@langchain/anthropic": "^1.4.0",
|
|
60
|
+
"@langchain/core": "^1.1.48",
|
|
61
|
+
"@langchain/langgraph": "^1.3.6",
|
|
62
|
+
"@langchain/openai": "^1.4.7",
|
|
63
|
+
"@opentui/core": "^0.4.0",
|
|
64
|
+
"@opentui/react": "^0.4.0",
|
|
65
|
+
"better-sqlite3": "^11.10.0",
|
|
66
|
+
"chalk": "^5.3.0",
|
|
67
|
+
"cloakbrowser": "^0.3.31",
|
|
68
|
+
"js-yaml": "^4.1.0",
|
|
69
|
+
"langsmith": "^0.7.5",
|
|
70
|
+
"mmdb-lib": "^3.0.2",
|
|
71
|
+
"openai": "^4.70.0",
|
|
72
|
+
"playwright-core": "^1.60.0",
|
|
73
|
+
"qrcode": "^1.5.4",
|
|
74
|
+
"react": "^19.2.7",
|
|
75
|
+
"react-reconciler": "^0.33.0",
|
|
76
|
+
"systeminformation": "^5.23.0"
|
|
77
|
+
},
|
|
78
|
+
"devDependencies": {
|
|
79
|
+
"@types/better-sqlite3": "^7.6.13",
|
|
80
|
+
"@types/js-yaml": "^4.0.9",
|
|
81
|
+
"@types/node": "^22.0.0",
|
|
82
|
+
"@types/qrcode": "^1.5.6",
|
|
83
|
+
"@types/react": "^18.3.0",
|
|
84
|
+
"@typescript-eslint/eslint-plugin": "^8.61.0",
|
|
85
|
+
"@typescript-eslint/parser": "^8.61.0",
|
|
86
|
+
"eslint": "^10.4.1",
|
|
87
|
+
"prettier": "^3.8.4",
|
|
88
|
+
"tsx": "^4.19.0",
|
|
89
|
+
"typescript": "^5.6.0"
|
|
90
|
+
},
|
|
91
|
+
"publishConfig": {
|
|
92
|
+
"registry": "https://registry.npmjs.org"
|
|
93
|
+
},
|
|
94
|
+
"optionalDependencies": {
|
|
95
|
+
"@whiskeysockets/baileys": "^7.0.0-rc13",
|
|
96
|
+
"pino": "^10.3.1"
|
|
97
|
+
}
|
|
98
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
const path = require('path');
|
|
3
|
+
const fs = require('fs');
|
|
4
|
+
const { execSync } = require('child_process');
|
|
5
|
+
|
|
6
|
+
try {
|
|
7
|
+
execSync('node ' + path.resolve(__dirname, '..', 'node_modules', 'typescript', 'lib', 'tsc.js') + ' --project tsconfig.json', {
|
|
8
|
+
cwd: path.resolve(__dirname, '..'),
|
|
9
|
+
stdio: 'inherit',
|
|
10
|
+
});
|
|
11
|
+
} catch (e) {
|
|
12
|
+
process.exit(1);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
const nativeDir = path.join(__dirname, '..', 'native', 'token-counter');
|
|
16
|
+
const distDir = path.join(__dirname, '..', 'dist');
|
|
17
|
+
try {
|
|
18
|
+
const files = fs.readdirSync(nativeDir).filter(f => f.endsWith('.node'));
|
|
19
|
+
for (const f of files) {
|
|
20
|
+
const src = path.join(nativeDir, f);
|
|
21
|
+
const dest = path.join(distDir, f);
|
|
22
|
+
fs.copyFileSync(src, dest);
|
|
23
|
+
console.log(`[build] Copied ${f} to dist/`);
|
|
24
|
+
}
|
|
25
|
+
} catch (e) {
|
|
26
|
+
console.warn('[build] Could not copy .node binary:', e.message);
|
|
27
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
set -euo pipefail
|
|
3
|
+
|
|
4
|
+
REPO_DIR="/root/main/aurix-agent"
|
|
5
|
+
BACKEND_PORT=3001
|
|
6
|
+
|
|
7
|
+
RED='\033[0;31m'
|
|
8
|
+
GREEN='\033[0;32m'
|
|
9
|
+
CYAN='\033[0;36m'
|
|
10
|
+
NC='\033[0m'
|
|
11
|
+
|
|
12
|
+
info() { echo -e "${GREEN}[✓]${NC} $1"; }
|
|
13
|
+
warn() { echo -e "${CYAN}[!]${NC} $1"; }
|
|
14
|
+
|
|
15
|
+
echo -e "${CYAN}AURIX Deploy — sync repo + restart${NC}"
|
|
16
|
+
echo ""
|
|
17
|
+
|
|
18
|
+
cd "$REPO_DIR"
|
|
19
|
+
git pull --ff-only origin main
|
|
20
|
+
info "Repo synced"
|
|
21
|
+
|
|
22
|
+
npx tsc 2>/dev/null && info "Build OK" || warn "Build skipped (tsc not found or errors)"
|
|
23
|
+
|
|
24
|
+
pm2 restart aurix-agent 2>/dev/null && info "PM2 restarted" || warn "PM2 aurix-agent not running (run: pm2 start dist/index.js --name aurix-agent)"
|
|
25
|
+
|
|
26
|
+
curl -sf http://localhost:$BACKEND_PORT/api/health >/dev/null && info "Backend api.haikz.me healthy" || warn "Backend not responding on port $BACKEND_PORT"
|
|
27
|
+
|
|
28
|
+
echo ""
|
|
29
|
+
info "Deploy complete — api.haikz.me/install.sh serves latest code"
|
package/scripts/music.py
ADDED
|
@@ -0,0 +1,268 @@
|
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
"""Detect audio playback sources on Linux (PulseAudio/PipeWire/ALSA/mpv).
|
|
3
|
+
|
|
4
|
+
Usage:
|
|
5
|
+
python3 music.py # show all active audio sources
|
|
6
|
+
python3 music.py --watch # continuously monitor
|
|
7
|
+
python3 music.py --json # output as JSON
|
|
8
|
+
"""
|
|
9
|
+
|
|
10
|
+
import subprocess
|
|
11
|
+
import json
|
|
12
|
+
import sys
|
|
13
|
+
import time
|
|
14
|
+
import os
|
|
15
|
+
import socket
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
def run(cmd: str, timeout: int = 5) -> str:
|
|
19
|
+
try:
|
|
20
|
+
r = subprocess.run(cmd, shell=True, capture_output=True, text=True, timeout=timeout)
|
|
21
|
+
return r.stdout.strip()
|
|
22
|
+
except Exception:
|
|
23
|
+
return ""
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
def detect_pulseaudio() -> list[dict]:
|
|
27
|
+
sources = []
|
|
28
|
+
out = run("pactl list sink-inputs")
|
|
29
|
+
if not out:
|
|
30
|
+
return sources
|
|
31
|
+
|
|
32
|
+
current: dict = {}
|
|
33
|
+
for line in out.split("\n"):
|
|
34
|
+
line = line.strip()
|
|
35
|
+
if line.startswith("Sink Input #"):
|
|
36
|
+
if current:
|
|
37
|
+
sources.append(current)
|
|
38
|
+
current = {"type": "pulseaudio", "id": line.split("#")[-1]}
|
|
39
|
+
elif ":" in line and current:
|
|
40
|
+
key, _, val = line.partition(":")
|
|
41
|
+
key = key.strip().lower()
|
|
42
|
+
val = val.strip()
|
|
43
|
+
if key == "media.name":
|
|
44
|
+
current["media_name"] = val.strip('"')
|
|
45
|
+
elif key == "application.name":
|
|
46
|
+
current["app"] = val.strip('"')
|
|
47
|
+
elif key == "application.process.binary":
|
|
48
|
+
current["binary"] = val.strip('"')
|
|
49
|
+
elif key == "state":
|
|
50
|
+
current["state"] = val
|
|
51
|
+
if current:
|
|
52
|
+
sources.append(current)
|
|
53
|
+
return sources
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
def detect_pipewire() -> list[dict]:
|
|
57
|
+
sources = []
|
|
58
|
+
out = run("pw-cli ls Node 2>/dev/null | grep -i stream")
|
|
59
|
+
if out:
|
|
60
|
+
for line in out.split("\n"):
|
|
61
|
+
if line.strip():
|
|
62
|
+
sources.append({"type": "pipewire", "info": line.strip()})
|
|
63
|
+
|
|
64
|
+
out2 = run("pw-cli info all 2>/dev/null | grep -A2 'media.name'")
|
|
65
|
+
if out2:
|
|
66
|
+
for line in out2.split("\n"):
|
|
67
|
+
if "media.name" in line:
|
|
68
|
+
sources.append({"type": "pipewire", "media_name": line.split("=")[-1].strip().strip('"')})
|
|
69
|
+
return sources
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
def detect_alsa() -> list[dict]:
|
|
73
|
+
sources = []
|
|
74
|
+
out = run("cat /proc/asound/cards 2>/dev/null")
|
|
75
|
+
if out:
|
|
76
|
+
sources.append({"type": "alsa_cards", "info": out})
|
|
77
|
+
|
|
78
|
+
out2 = run("aplay -l 2>/dev/null")
|
|
79
|
+
if out2:
|
|
80
|
+
for line in out2.split("\n"):
|
|
81
|
+
if "card" in line.lower():
|
|
82
|
+
sources.append({"type": "alsa", "device": line.strip()})
|
|
83
|
+
|
|
84
|
+
pcm = run("cat /proc/asound/pcm 2>/dev/null")
|
|
85
|
+
if pcm:
|
|
86
|
+
for line in pcm.split("\n"):
|
|
87
|
+
if line.strip():
|
|
88
|
+
sources.append({"type": "alsa_pcm", "info": line.strip()})
|
|
89
|
+
return sources
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
def detect_mpv_socket() -> dict | None:
|
|
93
|
+
socket_path = "/tmp/aurix-mpv-socket"
|
|
94
|
+
if not os.path.exists(socket_path):
|
|
95
|
+
return None
|
|
96
|
+
|
|
97
|
+
try:
|
|
98
|
+
sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
|
|
99
|
+
sock.settimeout(2)
|
|
100
|
+
sock.connect(socket_path)
|
|
101
|
+
sock.sendall(b'{"command": ["get_property", "media-title"]}\n')
|
|
102
|
+
resp = sock.recv(4096).decode()
|
|
103
|
+
sock.close()
|
|
104
|
+
data = json.loads(resp)
|
|
105
|
+
title = data.get("data", "Unknown")
|
|
106
|
+
|
|
107
|
+
sock2 = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
|
|
108
|
+
sock2.settimeout(2)
|
|
109
|
+
sock2.connect(socket_path)
|
|
110
|
+
sock2.sendall(b'{"command": ["get_property", "time-pos"]}\n')
|
|
111
|
+
resp2 = sock2.recv(4096).decode()
|
|
112
|
+
sock2.close()
|
|
113
|
+
pos_data = json.loads(resp2)
|
|
114
|
+
pos = pos_data.get("data", 0)
|
|
115
|
+
|
|
116
|
+
sock3 = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
|
|
117
|
+
sock3.settimeout(2)
|
|
118
|
+
sock3.connect(socket_path)
|
|
119
|
+
sock3.sendall(b'{"command": ["get_property", "duration"]}\n')
|
|
120
|
+
resp3 = sock3.recv(4096).decode()
|
|
121
|
+
sock3.close()
|
|
122
|
+
dur_data = json.loads(resp3)
|
|
123
|
+
dur = dur_data.get("data", 0)
|
|
124
|
+
|
|
125
|
+
def fmt_time(s):
|
|
126
|
+
if not isinstance(s, (int, float)):
|
|
127
|
+
return "?"
|
|
128
|
+
m, s = divmod(int(s), 60)
|
|
129
|
+
h, m = divmod(m, 60)
|
|
130
|
+
return f"{h}:{m:02d}:{s:02d}" if h else f"{m}:{s:02d}"
|
|
131
|
+
|
|
132
|
+
return {
|
|
133
|
+
"type": "mpv",
|
|
134
|
+
"title": title,
|
|
135
|
+
"position": fmt_time(pos),
|
|
136
|
+
"duration": fmt_time(dur),
|
|
137
|
+
"socket": socket_path,
|
|
138
|
+
}
|
|
139
|
+
except Exception:
|
|
140
|
+
return {"type": "mpv", "status": "socket exists but not responding"}
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
def detect_ytdlp_processes() -> list[dict]:
|
|
144
|
+
sources = []
|
|
145
|
+
out = run("ps aux | grep -E '(yt-dlp|mpv|ffmpeg)' | grep -v grep")
|
|
146
|
+
if out:
|
|
147
|
+
for line in out.split("\n"):
|
|
148
|
+
parts = line.split(None, 10)
|
|
149
|
+
if len(parts) >= 11:
|
|
150
|
+
sources.append({
|
|
151
|
+
"type": "process",
|
|
152
|
+
"pid": parts[1],
|
|
153
|
+
"cpu": parts[2],
|
|
154
|
+
"mem": parts[3],
|
|
155
|
+
"cmd": parts[10][:120],
|
|
156
|
+
})
|
|
157
|
+
return sources
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
def detect_audio_hardware() -> list[dict]:
|
|
161
|
+
sources = []
|
|
162
|
+
out = run("lspci 2>/dev/null | grep -i audio")
|
|
163
|
+
if out:
|
|
164
|
+
for line in out.split("\n"):
|
|
165
|
+
sources.append({"type": "hw_pci", "device": line.strip()})
|
|
166
|
+
|
|
167
|
+
usb = run("lsusb 2>/dev/null | grep -i audio")
|
|
168
|
+
if usb:
|
|
169
|
+
for line in usb.split("\n"):
|
|
170
|
+
sources.append({"type": "hw_usb", "device": line.strip()})
|
|
171
|
+
|
|
172
|
+
return sources
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
def detect_all() -> dict:
|
|
176
|
+
mpv = detect_mpv_socket()
|
|
177
|
+
return {
|
|
178
|
+
"mpv_player": mpv,
|
|
179
|
+
"pulseaudio": detect_pulseaudio(),
|
|
180
|
+
"pipewire": detect_pipewire(),
|
|
181
|
+
"alsa": detect_alsa(),
|
|
182
|
+
"processes": detect_ytdlp_processes(),
|
|
183
|
+
"hardware": detect_audio_hardware(),
|
|
184
|
+
"timestamp": time.strftime("%Y-%m-%d %H:%M:%S"),
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
def format_report(data: dict) -> str:
|
|
189
|
+
lines = [f"=== Audio Detection [{data['timestamp']}] ===", ""]
|
|
190
|
+
|
|
191
|
+
if data["mpv_player"]:
|
|
192
|
+
mpv = data["mpv_player"]
|
|
193
|
+
lines.append("[mpv / AURIX Music]")
|
|
194
|
+
if "title" in mpv:
|
|
195
|
+
lines.append(f" Now playing: {mpv['title']}")
|
|
196
|
+
lines.append(f" Position: {mpv['position']} / {mpv['duration']}")
|
|
197
|
+
else:
|
|
198
|
+
lines.append(f" Status: {mpv.get('status', 'unknown')}")
|
|
199
|
+
lines.append("")
|
|
200
|
+
|
|
201
|
+
if data["pulseaudio"]:
|
|
202
|
+
lines.append("[PulseAudio Streams]")
|
|
203
|
+
for s in data["pulseaudio"]:
|
|
204
|
+
name = s.get("media_name", s.get("info", "unknown"))
|
|
205
|
+
app = s.get("app", "")
|
|
206
|
+
state = s.get("state", "")
|
|
207
|
+
lines.append(f" #{s.get('id', '?')}: {name}")
|
|
208
|
+
if app:
|
|
209
|
+
lines.append(f" App: {app}")
|
|
210
|
+
if state:
|
|
211
|
+
lines.append(f" State: {state}")
|
|
212
|
+
lines.append("")
|
|
213
|
+
|
|
214
|
+
if data["pipewire"]:
|
|
215
|
+
lines.append("[PipeWire]")
|
|
216
|
+
for s in data["pipewire"]:
|
|
217
|
+
lines.append(f" {s.get('media_name', s.get('info', 'stream'))}")
|
|
218
|
+
lines.append("")
|
|
219
|
+
|
|
220
|
+
if data["processes"]:
|
|
221
|
+
lines.append("[Audio Processes]")
|
|
222
|
+
for p in data["processes"]:
|
|
223
|
+
lines.append(f" PID {p['pid']} ({p['cpu']}% CPU): {p['cmd']}")
|
|
224
|
+
lines.append("")
|
|
225
|
+
|
|
226
|
+
if data["alsa"]:
|
|
227
|
+
lines.append("[ALSA]")
|
|
228
|
+
for s in data["alsa"]:
|
|
229
|
+
lines.append(f" {s.get('device', s.get('info', ''))}")
|
|
230
|
+
lines.append("")
|
|
231
|
+
|
|
232
|
+
if data["hardware"]:
|
|
233
|
+
lines.append("[Audio Hardware]")
|
|
234
|
+
for h in data["hardware"]:
|
|
235
|
+
lines.append(f" {h['device']}")
|
|
236
|
+
lines.append("")
|
|
237
|
+
|
|
238
|
+
is_playing = (
|
|
239
|
+
data["mpv_player"] is not None
|
|
240
|
+
or len(data["pulseaudio"]) > 0
|
|
241
|
+
or len(data["processes"]) > 0
|
|
242
|
+
)
|
|
243
|
+
lines.append(f"Audio playing: {'YES' if is_playing else 'NO'}")
|
|
244
|
+
return "\n".join(lines)
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
if __name__ == "__main__":
|
|
248
|
+
as_json = "--json" in sys.argv
|
|
249
|
+
watch = "--watch" in sys.argv
|
|
250
|
+
|
|
251
|
+
if watch:
|
|
252
|
+
try:
|
|
253
|
+
while True:
|
|
254
|
+
data = detect_all()
|
|
255
|
+
if as_json:
|
|
256
|
+
print(json.dumps(data, indent=2))
|
|
257
|
+
else:
|
|
258
|
+
print(format_report(data))
|
|
259
|
+
print("\n" + "=" * 50 + "\n")
|
|
260
|
+
time.sleep(3)
|
|
261
|
+
except KeyboardInterrupt:
|
|
262
|
+
print("\nStopped.")
|
|
263
|
+
else:
|
|
264
|
+
data = detect_all()
|
|
265
|
+
if as_json:
|
|
266
|
+
print(json.dumps(data, indent=2))
|
|
267
|
+
else:
|
|
268
|
+
print(format_report(data))
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { readFileSync, writeFileSync, existsSync } from 'fs';
|
|
3
|
+
import { join, dirname } from 'path';
|
|
4
|
+
import { fileURLToPath } from 'url';
|
|
5
|
+
import { execSync } from 'child_process';
|
|
6
|
+
|
|
7
|
+
const __dirname = dirname(fileURLToPath(import.meta.url));
|
|
8
|
+
|
|
9
|
+
console.log('\n╔═══════════════════════════════════════════════════════════╗');
|
|
10
|
+
console.log('║ Aurix Agent - Post-install Setup ║');
|
|
11
|
+
console.log('╚═══════════════════════════════════════════════════════════╝\n');
|
|
12
|
+
|
|
13
|
+
const results = [];
|
|
14
|
+
|
|
15
|
+
try {
|
|
16
|
+
console.log('[1/3] Patching react-reconciler for ESM compatibility...');
|
|
17
|
+
const pkgPath = join(__dirname, '..', 'node_modules', 'react-reconciler', 'package.json');
|
|
18
|
+
const pkg = JSON.parse(readFileSync(pkgPath, 'utf-8'));
|
|
19
|
+
if (!pkg.exports) {
|
|
20
|
+
pkg.exports = {
|
|
21
|
+
'.': './index.js',
|
|
22
|
+
'./constants': './constants.js',
|
|
23
|
+
'./reflection': './reflection.js',
|
|
24
|
+
'./package.json': './package.json',
|
|
25
|
+
};
|
|
26
|
+
writeFileSync(pkgPath, JSON.stringify(pkg, null, 2) + '\n', 'utf-8');
|
|
27
|
+
console.log(' ✓ React-reconciler patched\n');
|
|
28
|
+
results.push(['React-reconciler patch', 'success']);
|
|
29
|
+
} else {
|
|
30
|
+
console.log(' ✓ Already patched\n');
|
|
31
|
+
results.push(['React-reconciler patch', 'skipped']);
|
|
32
|
+
}
|
|
33
|
+
} catch (e) {
|
|
34
|
+
console.warn(' ⚠ Could not patch react-reconciler:', e.message, '\n');
|
|
35
|
+
results.push(['React-reconciler patch', 'failed']);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
try {
|
|
39
|
+
console.log('[2/3] Downloading CloakBrowser stealth Chromium binary...');
|
|
40
|
+
console.log(' (This may take 1-2 minutes on first install)');
|
|
41
|
+
const { ensureBinary } = await import('cloakbrowser');
|
|
42
|
+
const binaryPath = await ensureBinary();
|
|
43
|
+
console.log(' ✓ CloakBrowser binary ready:', binaryPath, '\n');
|
|
44
|
+
results.push(['CloakBrowser binary', 'success']);
|
|
45
|
+
} catch (e) {
|
|
46
|
+
console.warn(' ⚠ CloakBrowser binary download skipped:', e.message);
|
|
47
|
+
console.warn(' Browser automation features will not be available.\n');
|
|
48
|
+
results.push(['CloakBrowser binary', 'failed']);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
const nativeDir = join(__dirname, '..', 'native', 'token-counter');
|
|
52
|
+
try {
|
|
53
|
+
console.log('[3/3] Building Rust token counter (optional)...');
|
|
54
|
+
if (existsSync(nativeDir)) {
|
|
55
|
+
execSync('npx napi build --release --platform', { cwd: nativeDir, stdio: 'pipe' });
|
|
56
|
+
console.log(' ✓ Rust token counter built successfully\n');
|
|
57
|
+
results.push(['Rust token counter', 'success']);
|
|
58
|
+
} else {
|
|
59
|
+
console.log(' ⊘ Native directory not found, skipping\n');
|
|
60
|
+
results.push(['Rust token counter', 'skipped']);
|
|
61
|
+
}
|
|
62
|
+
} catch (e) {
|
|
63
|
+
console.warn(' ⚠ Rust token counter build failed');
|
|
64
|
+
console.warn(' This is optional — JS fallback will be used.\n');
|
|
65
|
+
results.push(['Rust token counter', 'failed']);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
console.log('╔═══════════════════════════════════════════════════════════╗');
|
|
69
|
+
console.log('║ Installation Summary ║');
|
|
70
|
+
console.log('╚═══════════════════════════════════════════════════════════╝');
|
|
71
|
+
|
|
72
|
+
for (const [name, status] of results) {
|
|
73
|
+
const icon = status === 'success' ? '✓' : status === 'skipped' ? '⊘' : '⚠';
|
|
74
|
+
const color = status === 'success' ? '' : status === 'skipped' ? '' : '';
|
|
75
|
+
console.log(` ${icon} ${name}: ${status}`);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
console.log('\n╔═══════════════════════════════════════════════════════════╗');
|
|
79
|
+
console.log('║ Setup complete! Run "aurix" to start the agent. ║');
|
|
80
|
+
console.log('║ For issues: https://github.com/DekaPrayoga/AurixAgent ║');
|
|
81
|
+
console.log('╚═══════════════════════════════════════════════════════════╝\n');
|