Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions .github/workflows/install-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,13 @@ jobs:
- name: Install an old Python 3.8 to launch with
if: matrix.old_python
run: |
sudo add-apt-repository -y ppa:deadsnakes/ppa
sudo apt-get update
sudo apt-get install -y python3.8
set -euo pipefail
# A standalone CPython 3.8 from GitHub (python-build-standalone,
# through uv), not the deadsnakes PPA: no Launchpad mirror to go
# down, and only python3.8 joins PATH.
python3 -m pip install --user --quiet uv
python3 -m uv python install 3.8
sudo ln -sf "$(python3 -m uv python find 3.8)" /usr/local/bin/python3.8

- name: Prepare
run: |
Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/parity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,19 @@ jobs:
npm install
npx vite build

- name: Set up Node.js for the terminal client
uses: actions/setup-node@v4
with:
node-version: "24"

- name: Build terminal client
shell: bash
run: |
# The terminal edition's client ships built, like the browser UI.
cd app/ui_layer/terminal
npm ci
node build.mjs

- name: Build the source payload
shell: bash
run: |
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,18 @@ jobs:
npm install
npx vite build

- name: Set up Node.js for the terminal client
uses: actions/setup-node@v4
with:
node-version: "24"

- name: Build terminal client
run: |
# The terminal edition's client ships built, like the browser UI.
cd app/ui_layer/terminal
npm ci
node build.mjs

- name: Write VERSION file from git tag
run: |
REF="${{ github.ref_name }}"
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ app/data/.file_index/
**/playwright-report/
# Sidecar Node runtime (install.py downloads it when the system Node is too old for Agent App)
runtime/
# ...but not the terminal client's own source folder of that name.
!app/ui_layer/terminal/src/runtime/

# Local wheel cache built by scripts/build_wheelhouse.py (~2GB of .whl
# files). Machine- and platform-specific, and regenerable from the lock, so
Expand Down
4 changes: 2 additions & 2 deletions README.cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
- **主动型 Agent.** 学习你的偏好、习惯和人生目标,然后主动进行规划并发起任务(当然要经过你的同意),帮你在生活中变得更好。
- **外部工具集成.** 连接你的应用,例如 Google Workspace、Slack、Notion、Zoom、LinkedIn、Discord、Telegram 等(还有更多正在路上),支持 OAuth 或使用你自己的密钥。每个集成都可以连接多个账号。
- **Skills 与 MCP.** 已就绪 150+ MCP 与 170+ Skills,支持快速安装新的 Skills 与 MCP,也可以从已完成的任务中一键创建或改进 Skills。
- **浏览器界面与 CLI 支持.** 用最适合你的方式使用 CraftBot:日常使用走简洁的浏览器 UI,脚本和无界面环境则可以走 CLI。
- **浏览器或终端.** 用最适合你的方式使用 CraftBot:日常使用走简洁的浏览器 UI,也可以使用完整的终端版(`python run.py --tui`),聊天、设置和 Agent App 都一样。

---

Expand Down Expand Up @@ -123,7 +123,7 @@ python craftbot.py restart # 重启 CraftBot
python craftbot.py status # 查看运行状态以及是否已启用自启动
python craftbot.py logs # 查看最近 50 行日志(更多:logs -n 200)
python craftbot.py uninstall # 停止运行、移除自启动并卸载依赖包
python run.py --cli # 在终端中运行,而不是在浏览器中
python run.py --tui # 在终端中运行,而不是在浏览器中
```

使用安装程序的用户可以在安装程序窗口中完成同样的操作(**Start**、**Stop**、**Repair**、**Uninstall**)。
Expand Down
4 changes: 2 additions & 2 deletions README.de.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Darüber hinaus bringt CraftBot alle Kernfunktionen eines universellen Agent-Fra
- **Proaktiver Agent.** Er lernt deine Vorlieben, Gewohnheiten und Lebensziele kennen, plant darauf basierend und stößt Aufgaben an (natürlich nur mit deiner Freigabe), um dich in deinem Leben weiterzubringen.
- **Integration externer Tools.** Verbinde deine Apps wie Google Workspace, Slack, Notion, Zoom, LinkedIn, Discord, Telegram und mehr (weitere folgen!) mit OAuth-Unterstützung oder deinem eigenen Schlüssel. Du kannst mit jeder Integration mehrere Konten verbinden.
- **Skills und MCP.** Über 150 MCPs und 170 Skills sofort einsatzbereit. Neue Skills und MCPs lassen sich schnell installieren, und aus abgeschlossenen Aufgaben kannst du mit einem Klick neue Skills erstellen oder verbessern.
- **Browser-Oberfläche und CLI.** Nutze CraftBot so, wie es zu dir passt: über eine einfache Browser-UI für die tägliche Arbeit oder per CLI für Skripte und Headless-Umgebungen.
- **Browser oder Terminal.** Nutze CraftBot so, wie es zu dir passt: über eine einfache Browser-UI für die tägliche Arbeit oder über die vollständige Terminal-Edition (`python run.py --tui`) mit denselben Chats, Einstellungen und Agent Apps.

---

Expand Down Expand Up @@ -123,7 +123,7 @@ python craftbot.py restart # CraftBot neu starten
python craftbot.py status # Prüfen, ob CraftBot läuft und ob Autostart aktiv ist
python craftbot.py logs # Die letzten 50 Logzeilen anzeigen (mehr mit logs -n 200)
python craftbot.py uninstall # Stoppen, Autostart entfernen und Pakete deinstallieren
python run.py --cli # Im Terminal statt im Browser ausführen
python run.py --tui # Im Terminal statt im Browser ausführen
```

Mit dem Installer erledigst du dasselbe im Installer-Fenster (**Start**, **Stop**, **Repair**, **Uninstall**).
Expand Down
4 changes: 2 additions & 2 deletions README.es.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Más allá de ser un agente de IA capaz de crear y operar sus propias herramient
- **Agente proactivo.** Aprende tus preferencias, hábitos y objetivos de vida. Luego planifica e inicia tareas (con tu aprobación, por supuesto) para ayudarte a mejorar.
- **Integración con herramientas externas.** Conecta tus aplicaciones como Google Workspace, Slack, Notion, Zoom, LinkedIn, Discord, Telegram y más (¡y vienen más!), con soporte para OAuth o usando tu propia clave. Puedes conectar varias cuentas a cada integración.
- **Skills y MCP.** Más de 150 MCP y 170 Skills listos para usar. Instalación rápida de nuevas Skills y MCPs. Crea o mejora Skills a partir de tareas completadas con un solo clic.
- **Interfaz de navegador y soporte de CLI.** Usa CraftBot como mejor te encaje: con una UI de navegador sencilla para el día a día, o desde la CLI para scripting y entornos headless.
- **Navegador o terminal.** Usa CraftBot como mejor te encaje: con una UI de navegador sencilla para el día a día, o con la edición completa para terminal (`python run.py --tui`), con los mismos chats, ajustes y Agent Apps.

---

Expand Down Expand Up @@ -123,7 +123,7 @@ python craftbot.py restart # Reinicia CraftBot
python craftbot.py status # Comprueba si está en marcha y si el autoinicio está activo
python craftbot.py logs # Muestra las últimas 50 líneas del log (más con logs -n 200)
python craftbot.py uninstall # Detiene, quita el autoinicio y desinstala los paquetes
python run.py --cli # Ejecuta en la terminal en lugar del navegador
python run.py --tui # Ejecuta en la terminal en lugar del navegador
```

Si usas el instalador, puedes hacer lo mismo desde su ventana (**Start**, **Stop**, **Repair**, **Uninstall**).
Expand Down
4 changes: 2 additions & 2 deletions README.fr.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ En plus d'être un agent IA capable de créer et d'opérer ses propres outils Sa
- **Agent proactif.** Il apprend vos préférences, vos habitudes et vos objectifs de vie. Puis il planifie et déclenche des tâches (avec votre accord, bien sûr) pour vous aider à progresser.
- **Intégration d'outils externes.** Connectez vos applications comme Google Workspace, Slack, Notion, Zoom, LinkedIn, Discord, Telegram et bien plus (et bien d'autres à venir !) avec la prise en charge d'OAuth ou votre propre clé. Vous pouvez connecter plusieurs comptes à chaque intégration.
- **Skills et MCP.** Plus de 150 MCP et 170 Skills disponibles. Installation rapide de nouveaux Skills et MCP. Créez ou améliorez des Skills à partir de tâches terminées en un clic.
- **Interface web et CLI.** Utilisez CraftBot comme il vous convient le mieux : via une UI navigateur simple pour un usage quotidien, ou via la CLI pour le scripting et les environnements headless.
- **Navigateur ou terminal.** Utilisez CraftBot comme il vous convient le mieux : via une UI navigateur simple pour un usage quotidien, ou via l'édition terminal complète (`python run.py --tui`) avec les mêmes discussions, réglages et Agent Apps.

---

Expand Down Expand Up @@ -123,7 +123,7 @@ python craftbot.py restart # Redémarrer CraftBot
python craftbot.py status # Vérifier s'il tourne et si le démarrage automatique est actif
python craftbot.py logs # Afficher les 50 dernières lignes du journal (davantage avec logs -n 200)
python craftbot.py uninstall # Arrêter, retirer le démarrage automatique et désinstaller les paquets
python run.py --cli # Lancer dans le terminal plutôt que dans le navigateur
python run.py --tui # Lancer dans le terminal plutôt que dans le navigateur
```

Avec l'installateur, les mêmes actions sont disponibles dans sa fenêtre (**Start**, **Stop**, **Repair**, **Uninstall**).
Expand Down
4 changes: 2 additions & 2 deletions README.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
- **能動的なエージェント.** あなたの好み、習慣、人生の目標を学習。そのうえで計画を立て、タスクを起動(もちろん承認付きで)し、あなたの人生をより良くする手助けをします。
- **外部ツールとの連携.** Google Workspace、Slack、Notion、Zoom、LinkedIn、Discord、Telegramなどのアプリと接続可能(今後さらに追加予定)。OAuthまたは自分のキーでの利用に対応しています。各連携には複数のアカウントを接続できます。
- **スキル & MCP.** 150以上のMCPと170以上のスキルが利用可能。新しいスキルやMCPもすぐに導入できます。完了したタスクからワンクリックでスキルを作成・改善することもできます。
- **ブラウザUIとCLIに対応.** あなたの使い方に合わせて選べます。日常使いには手軽なブラウザUIを、スクリプトやヘッドレス環境にはCLIをどうぞ。
- **ブラウザでもターミナルでも.** あなたの使い方に合わせて選べます。日常使いには手軽なブラウザUIを、またはチャット・設定・Agent Appをそのまま使える本格的なターミナル版(`python run.py --tui`)をどうぞ。

---

Expand Down Expand Up @@ -123,7 +123,7 @@ python craftbot.py restart # CraftBot を再起動
python craftbot.py status # 稼働状況と自動起動の有無を確認
python craftbot.py logs # 直近 50 行のログを表示(さらに見るには logs -n 200)
python craftbot.py uninstall # 停止し、自動起動を解除し、パッケージをアンインストール
python run.py --cli # ブラウザではなくターミナルで実行
python run.py --tui # ブラウザではなくターミナルで実行
```

インストーラーを使っている場合は、インストーラーのウィンドウから同じ操作ができます(**Start**、**Stop**、**Repair**、**Uninstall**)。
Expand Down
4 changes: 2 additions & 2 deletions README.ko.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
- **능동적 에이전트.** 당신의 선호, 습관, 인생 목표를 학습합니다. 그리고 계획을 세우고 작업을 시작(물론 승인을 받아)하여 당신이 인생에서 더 나아질 수 있도록 돕습니다.
- **외부 도구 통합.** Google Workspace, Slack, Notion, Zoom, LinkedIn, Discord, Telegram 등 당신의 앱(더 많이 추가될 예정!)과 OAuth 또는 자체 키로 연결할 수 있습니다. 각 통합에 여러 계정을 연결할 수 있습니다.
- **Skills와 MCP.** 150개 이상의 MCP와 170개 이상의 Skills가 준비되어 있습니다. 새로운 Skills와 MCP를 빠르게 설치할 수 있고, 완료된 작업에서 한 번의 클릭으로 Skills를 만들거나 개선할 수 있습니다.
- **브라우저 인터페이스와 CLI 지원.** 당신에게 맞는 방식으로 CraftBot을 사용하세요. 일상적인 사용에는 간단한 브라우저 UI를, 스크립팅과 헤드리스 환경에는 CLI를 사용할 수 있습니다.
- **브라우저 또는 터미널.** 당신에게 맞는 방식으로 CraftBot을 사용하세요. 일상적인 사용에는 간단한 브라우저 UI를, 또는 같은 채팅·설정·Agent App을 그대로 쓰는 터미널 에디션(`python run.py --tui`)을 사용할 수 있습니다.

---

Expand Down Expand Up @@ -123,7 +123,7 @@ python craftbot.py restart # CraftBot 재시작
python craftbot.py status # 실행 여부와 자동 시작 등록 여부 확인
python craftbot.py logs # 최근 50줄의 로그 표시(더 보려면 logs -n 200)
python craftbot.py uninstall # 중지, 자동 시작 해제, 패키지 제거
python run.py --cli # 브라우저 대신 터미널에서 실행
python run.py --tui # 브라우저 대신 터미널에서 실행
```

설치 프로그램을 사용하는 경우 설치 프로그램 창에서 같은 작업을 할 수 있습니다(**Start**, **Stop**, **Repair**, **Uninstall**).
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Aside from being an AI agent that can create and operate its own SaaS tools, Cra
- **Proactive Agent.** Learn your preferences, habits, and life goals. Then, perform planning and initiate tasks (with approval, of course) to help you improve in life.
- **External Tools Integration.** Connect to your apps like Google Workspace, Slack, Notion, Zoom, LinkedIn, Discord, Telegram and more (more to come!) with OAuth support or your own key. You can connect multiple accounts to each integration.
- **Skills and MCP.** 150+ MCP and 170+ Skills ready. Quick installation of new Skills and MCPs. Create/improve Skills from completed tasks with one click.
- **Browser interface and CLI support.** Use CraftBot the way it fits: through a simple browser UI for everyday interaction, or via the CLI for scripting and headless environments.
- **Browser or terminal.** Use CraftBot the way it fits: a simple browser UI for everyday interaction, or the full terminal edition (`python run.py --tui`) with the same chats, settings and Agent Apps.

---

Expand Down Expand Up @@ -126,7 +126,7 @@ python craftbot.py autostart disable # Don't launch automatically at future log
python craftbot.py autostart enable # Restore automatic startup at login
python craftbot.py autostart status # Check automatic startup registration
python craftbot.py uninstall # Stop, remove auto-start, and uninstall packages
python run.py --cli # Run in the terminal instead of the browser
python run.py --tui # Run in the terminal instead of the browser
```

Installer users can do the same from the installer window (**Start**, **Stop**, **Repair**, **Uninstall**).
Expand Down
4 changes: 2 additions & 2 deletions README.pt-BR.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Além de ser um agente de IA capaz de criar e operar suas próprias ferramentas
- **Agente proativo.** Aprende suas preferências, hábitos e objetivos de vida. Em seguida, planeja e inicia tarefas (com sua aprovação, claro) para te ajudar a evoluir.
- **Integração com ferramentas externas.** Conecte-se aos seus apps como Google Workspace, Slack, Notion, Zoom, LinkedIn, Discord, Telegram e mais (e muito mais por vir!), com suporte a OAuth ou usando sua própria chave. Você pode conectar várias contas a cada integração.
- **Skills e MCP.** Mais de 150 MCPs e 170 Skills prontos para uso. Instalação rápida de novos Skills e MCPs. Crie ou melhore Skills a partir de tarefas concluídas com um clique.
- **Interface de navegador e suporte a CLI.** Use o CraftBot do jeito que melhor te servir: pela UI simples no navegador para o dia a dia, ou via CLI para scripts e ambientes headless.
- **Navegador ou terminal.** Use o CraftBot do jeito que melhor te servir: pela UI simples no navegador para o dia a dia, ou pela edição completa para terminal (`python run.py --tui`), com os mesmos chats, configurações e Agent Apps.

---

Expand Down Expand Up @@ -123,7 +123,7 @@ python craftbot.py restart # Reinicia o CraftBot
python craftbot.py status # Verifica se está rodando e se o autoinício está ativo
python craftbot.py logs # Mostra as últimas 50 linhas do log (mais com logs -n 200)
python craftbot.py uninstall # Para, remove o autoinício e desinstala os pacotes
python run.py --cli # Executa no terminal em vez do navegador
python run.py --tui # Executa no terminal em vez do navegador
```

Quem usa o instalador pode fazer o mesmo pela janela do instalador (**Start**, **Stop**, **Repair**, **Uninstall**).
Expand Down
4 changes: 2 additions & 2 deletions README.zh-TW.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
- **主動型 Agent.** 學習你的偏好、習慣與人生目標,然後主動規劃並發起任務(當然會徵求你的同意),協助你在生活中變得更好。
- **外部工具整合.** 連接你的應用,例如 Google Workspace、Slack、Notion、Zoom、LinkedIn、Discord、Telegram 等(更多正在路上),支援 OAuth 或使用你自己的金鑰。每個整合都可以連接多個帳號。
- **Skills 與 MCP.** 已備好 150+ MCP 與 170+ Skills,支援快速安裝新的 Skills 與 MCP,也能從已完成的任務一鍵建立或改進 Skills。
- **瀏覽器介面與 CLI 支援.** 選擇最適合你的方式使用 CraftBot:日常使用走簡潔的瀏覽器 UI,腳本與無介面環境則走 CLI。
- **瀏覽器或終端機.** 選擇最適合你的方式使用 CraftBot:日常使用走簡潔的瀏覽器 UI,也可以使用完整的終端機版(`python run.py --tui`),聊天、設定和 Agent App 都一樣。

---

Expand Down Expand Up @@ -123,7 +123,7 @@ python craftbot.py restart # 重新啟動 CraftBot
python craftbot.py status # 查看執行狀態以及是否已啟用自動啟動
python craftbot.py logs # 顯示最近 50 行記錄(更多:logs -n 200)
python craftbot.py uninstall # 停止執行、移除自動啟動並解除安裝套件
python run.py --cli # 在終端機中執行,而不是在瀏覽器中
python run.py --tui # 在終端機中執行,而不是在瀏覽器中
```

使用安裝程式的使用者可以在安裝程式視窗中完成相同的操作(**Start**、**Stop**、**Repair**、**Uninstall**)。
Expand Down
5 changes: 5 additions & 0 deletions app/action/action_set.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,9 +218,12 @@ def actions_in_sets(self, set_names: Iterable[str], mode: str = "CLI") -> list:
List of ActionMetadata, in registry order.
"""
from agent_core import registry_instance, PLATFORM_ALL
from app import edition

required_sets = set(set_names)
current_platform = platform_lib.system().lower()
# Actions the running edition cannot show (app/edition.py).
excluded = edition.excluded_actions()
found = []
for platform_impls in registry_instance._registry.values():
impl = platform_impls.get(current_platform) or platform_impls.get(
Expand All @@ -229,6 +232,8 @@ def actions_in_sets(self, set_names: Iterable[str], mode: str = "CLI") -> list:
if impl is None:
continue
metadata = impl.metadata
if metadata.name in excluded:
continue
# Actions that declare no set are never compiled into a list.
action_sets = getattr(metadata, "action_sets", [])
if not self._action_in_sets(action_sets, required_sets):
Expand Down
Loading
Loading