otherwise-cli 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 +193 -0
- package/bin/otherwise.js +5 -0
- package/frontend/404.html +84 -0
- package/frontend/assets/OpenDyslexic3-Bold-CDyRs55Y.ttf +0 -0
- package/frontend/assets/OpenDyslexic3-Regular-CIBXa4WE.ttf +0 -0
- package/frontend/assets/__vite-browser-external-BIHI7g3E.js +1 -0
- package/frontend/assets/conversational-worker-CeKiciGk.js +2929 -0
- package/frontend/assets/dictation-worker-D0aYfq8b.js +29 -0
- package/frontend/assets/gemini-color-CgSQmmva.png +0 -0
- package/frontend/assets/index-BLux5ps4.js +21 -0
- package/frontend/assets/index-Blh8_TEM.js +5272 -0
- package/frontend/assets/index-BpQ1PuKu.js +18 -0
- package/frontend/assets/index-Df737c8w.css +1 -0
- package/frontend/assets/index-xaYHL6wb.js +113 -0
- package/frontend/assets/ort-wasm-simd-threaded.asyncify-BynIiDiv.wasm +0 -0
- package/frontend/assets/ort-wasm-simd-threaded.jsep-B0T3yYHD.wasm +0 -0
- package/frontend/assets/transformers-tULNc5V3.js +31 -0
- package/frontend/assets/tts-worker-DPJWqT7N.js +2899 -0
- package/frontend/assets/voice-mode-worker-GzvIE_uh.js +2927 -0
- package/frontend/assets/worker-2d5ABSLU.js +31 -0
- package/frontend/banner.png +0 -0
- package/frontend/favicon.svg +3 -0
- package/frontend/google55e5ec47ee14a5f8.html +1 -0
- package/frontend/index.html +234 -0
- package/frontend/manifest.json +17 -0
- package/frontend/pdf.worker.min.mjs +21 -0
- package/frontend/robots.txt +5 -0
- package/frontend/sitemap.xml +27 -0
- package/package.json +81 -0
- package/src/agent/index.js +1066 -0
- package/src/agent/location.js +51 -0
- package/src/agent/prompt.js +548 -0
- package/src/agent/tools.js +4372 -0
- package/src/browser/detect.js +68 -0
- package/src/browser/session.js +1109 -0
- package/src/config.js +137 -0
- package/src/email/client.js +503 -0
- package/src/index.js +557 -0
- package/src/inference/anthropic.js +113 -0
- package/src/inference/google.js +373 -0
- package/src/inference/index.js +81 -0
- package/src/inference/ollama.js +383 -0
- package/src/inference/openai.js +140 -0
- package/src/inference/openrouter.js +378 -0
- package/src/inference/xai.js +200 -0
- package/src/logBridge.js +9 -0
- package/src/models.js +146 -0
- package/src/remote/client.js +225 -0
- package/src/scheduler/cron.js +243 -0
- package/src/server.js +3876 -0
- package/src/storage/db.js +1135 -0
- package/src/storage/supabase.js +364 -0
- package/src/tunnel/cloudflare.js +241 -0
- package/src/ui/components/App.jsx +687 -0
- package/src/ui/components/BrowserSelect.jsx +111 -0
- package/src/ui/components/FilePicker.jsx +472 -0
- package/src/ui/components/Header.jsx +444 -0
- package/src/ui/components/HelpPanel.jsx +173 -0
- package/src/ui/components/HistoryPanel.jsx +158 -0
- package/src/ui/components/MessageList.jsx +235 -0
- package/src/ui/components/ModelSelector.jsx +304 -0
- package/src/ui/components/PromptInput.jsx +515 -0
- package/src/ui/components/StreamingResponse.jsx +134 -0
- package/src/ui/components/ThinkingIndicator.jsx +365 -0
- package/src/ui/components/ToolExecution.jsx +714 -0
- package/src/ui/components/index.js +82 -0
- package/src/ui/context/TerminalContext.jsx +150 -0
- package/src/ui/context/index.js +13 -0
- package/src/ui/hooks/index.js +16 -0
- package/src/ui/hooks/useChatState.js +675 -0
- package/src/ui/hooks/useCommands.js +280 -0
- package/src/ui/hooks/useFileAttachments.js +216 -0
- package/src/ui/hooks/useKeyboardShortcuts.js +173 -0
- package/src/ui/hooks/useNotifications.js +185 -0
- package/src/ui/hooks/useTerminalSize.js +151 -0
- package/src/ui/hooks/useWebSocket.js +273 -0
- package/src/ui/index.js +94 -0
- package/src/ui/ink-runner.js +22 -0
- package/src/ui/utils/formatters.js +424 -0
- package/src/ui/utils/index.js +6 -0
- package/src/ui/utils/markdown.js +166 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
|
3
|
+
<url>
|
|
4
|
+
<loc>https://otherwise.app/</loc>
|
|
5
|
+
<lastmod>2025-12-11</lastmod>
|
|
6
|
+
<changefreq>weekly</changefreq>
|
|
7
|
+
<priority>1.0</priority>
|
|
8
|
+
</url>
|
|
9
|
+
<url>
|
|
10
|
+
<loc>https://otherwise.app/chat</loc>
|
|
11
|
+
<lastmod>2025-12-11</lastmod>
|
|
12
|
+
<changefreq>weekly</changefreq>
|
|
13
|
+
<priority>0.9</priority>
|
|
14
|
+
</url>
|
|
15
|
+
<url>
|
|
16
|
+
<loc>https://otherwise.app/conversational</loc>
|
|
17
|
+
<lastmod>2025-12-11</lastmod>
|
|
18
|
+
<changefreq>weekly</changefreq>
|
|
19
|
+
<priority>0.8</priority>
|
|
20
|
+
</url>
|
|
21
|
+
<url>
|
|
22
|
+
<loc>https://otherwise.app/musicgen</loc>
|
|
23
|
+
<lastmod>2025-12-11</lastmod>
|
|
24
|
+
<changefreq>weekly</changefreq>
|
|
25
|
+
<priority>0.7</priority>
|
|
26
|
+
</url>
|
|
27
|
+
</urlset>
|
package/package.json
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "otherwise-cli",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Otherwise AI - Your personal AI that lives on your computer",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"bin": {
|
|
7
|
+
"otherwise": "bin/otherwise.js"
|
|
8
|
+
},
|
|
9
|
+
"main": "src/index.js",
|
|
10
|
+
"files": [
|
|
11
|
+
"bin",
|
|
12
|
+
"src",
|
|
13
|
+
"frontend",
|
|
14
|
+
"README.md"
|
|
15
|
+
],
|
|
16
|
+
"publishConfig": {
|
|
17
|
+
"access": "public"
|
|
18
|
+
},
|
|
19
|
+
"repository": {
|
|
20
|
+
"type": "git",
|
|
21
|
+
"url": "git+https://github.com/t0mCS/Ultimasite.git",
|
|
22
|
+
"directory": "cli"
|
|
23
|
+
},
|
|
24
|
+
"homepage": "https://otherwise.ai",
|
|
25
|
+
"bugs": {
|
|
26
|
+
"url": "https://github.com/t0mCS/Ultimasite/issues"
|
|
27
|
+
},
|
|
28
|
+
"scripts": {
|
|
29
|
+
"start": "node bin/otherwise.js",
|
|
30
|
+
"dev": "node --watch bin/otherwise.js",
|
|
31
|
+
"build:frontend": "cd ../frontend && npm run build && rm -rf ../cli/frontend && cp -r dist ../cli/frontend",
|
|
32
|
+
"prepublishOnly": "test -d frontend/assets || (echo 'Error: frontend not built. Run npm run build:frontend first.' && exit 1)"
|
|
33
|
+
},
|
|
34
|
+
"dependencies": {
|
|
35
|
+
"@anthropic-ai/sdk": "^0.63.0",
|
|
36
|
+
"@fastify/static": "^8.0.0",
|
|
37
|
+
"@fastify/websocket": "^11.0.0",
|
|
38
|
+
"@google/genai": "^1.5.1",
|
|
39
|
+
"@supabase/supabase-js": "^2.95.2",
|
|
40
|
+
"better-sqlite3": "^11.0.0",
|
|
41
|
+
"chalk": "^5.3.0",
|
|
42
|
+
"cli-highlight": "^2.1.11",
|
|
43
|
+
"commander": "^12.0.0",
|
|
44
|
+
"conf": "^13.0.0",
|
|
45
|
+
"fastify": "^5.0.0",
|
|
46
|
+
"ink": "^5.2.0",
|
|
47
|
+
"ink-select-input": "^6.0.0",
|
|
48
|
+
"ink-spinner": "^5.0.0",
|
|
49
|
+
"ink-text-input": "^6.0.0",
|
|
50
|
+
"marked": "^11.0.0",
|
|
51
|
+
"marked-terminal": "^6.0.0",
|
|
52
|
+
"node-cron": "^3.0.0",
|
|
53
|
+
"open": "^10.0.0",
|
|
54
|
+
"openai": "^5.5.1",
|
|
55
|
+
"ora": "^8.0.0",
|
|
56
|
+
"undici": "^6.21.0",
|
|
57
|
+
"react": "^18.3.1",
|
|
58
|
+
"tsx": "^4.21.0",
|
|
59
|
+
"ws": "^8.14.0"
|
|
60
|
+
},
|
|
61
|
+
"optionalDependencies": {
|
|
62
|
+
"playwright": "^1.42.0"
|
|
63
|
+
},
|
|
64
|
+
"engines": {
|
|
65
|
+
"node": ">=18.0.0"
|
|
66
|
+
},
|
|
67
|
+
"keywords": [
|
|
68
|
+
"ai",
|
|
69
|
+
"cli",
|
|
70
|
+
"chatbot",
|
|
71
|
+
"assistant",
|
|
72
|
+
"otherwise",
|
|
73
|
+
"claude",
|
|
74
|
+
"gpt",
|
|
75
|
+
"gemini",
|
|
76
|
+
"ollama",
|
|
77
|
+
"local-ai"
|
|
78
|
+
],
|
|
79
|
+
"author": "Otherwise AI",
|
|
80
|
+
"license": "Apache-2.0"
|
|
81
|
+
}
|