From 648fef9929fa685793d32ee935965787269e9679 Mon Sep 17 00:00:00 2001 From: Eric Coissac Date: Fri, 27 Mar 2026 10:24:55 +0100 Subject: [PATCH] refactor: restructure repo layout --- .claude/CLAUDE.md => CLAUDE.md | 0 README.md | 75 ++++++++----------- {.claude/agents => agents}/code-reviewer.md | 0 {.claude/agents => agents}/qwen3-worker.md | 0 {.claude/agents => agents}/task-planner.md | 0 {.claude/hooks => hooks}/post-write-lint.sh | 0 {.claude/hooks => hooks}/pre-bash-guard.sh | 0 {.claude/hooks => hooks}/subagent-stop-log.sh | 0 .../.github/ISSUE_TEMPLATE/add_agent.md | 0 .../.github/ISSUE_TEMPLATE/bug_report.md | 0 .../.github/ISSUE_TEMPLATE/feature_request.md | 0 .../.github/workflows/ci.yaml | 0 .../.gitignore | 0 .../Argcfile.sh | 0 .../llm-functions => llm-functions}/LICENSE | 0 .../llm-functions => llm-functions}/README.md | 0 .../agents/coder/README.md | 0 .../agents/coder/index.yaml | 0 .../agents/coder/tools.sh | 0 .../agents/coder/tools.txt | 0 .../agents/demo/README.md | 0 .../agents/demo/index.yaml | 0 .../agents/demo/tools.js | 0 .../agents/demo/tools.py | 0 .../agents/demo/tools.sh | 0 .../agents/demo/tools.txt | 0 .../agents/json-viewer/README.md | 0 .../agents/json-viewer/index.yaml | 0 .../agents/json-viewer/package.json | 0 .../agents/json-viewer/tools.js | 0 .../agents/sql/README.md | 0 .../agents/sql/index.yaml | 0 .../agents/sql/tools.sh | 0 .../agents/todo/README.md | 0 .../agents/todo/index.yaml | 0 .../agents/todo/tools.sh | 0 .../docs/agent.md | 0 .../docs/argcfile.md | 0 .../docs/environment-variables.md | 0 .../docs/tool.md | 0 .../mcp/bridge/README.md | 0 .../mcp/bridge/index.js | 0 .../mcp/bridge/package.json | 0 .../mcp/server/README.md | 0 .../mcp/server/index.js | 0 .../mcp/server/package.json | 0 .../scripts/build-declarations.js | 0 .../scripts/build-declarations.py | 0 .../scripts/build-declarations.sh | 0 .../scripts/check-deps.sh | 0 .../scripts/create-tool.sh | 0 .../scripts/declarations-util.sh | 0 .../scripts/mcp.sh | 0 .../scripts/run-agent.js | 0 .../scripts/run-agent.py | 0 .../scripts/run-agent.sh | 0 .../scripts/run-mcp-tool.sh | 0 .../scripts/run-tool.js | 0 .../scripts/run-tool.py | 0 .../scripts/run-tool.sh | 0 .../tools/demo_js.js | 0 .../tools/demo_py.py | 0 .../tools/demo_sh.sh | 0 .../tools/execute_command.sh | 0 .../tools/execute_js_code.js | 0 .../tools/execute_py_code.py | 0 .../tools/execute_sql_code.sh | 0 .../tools/fetch_url_via_curl.sh | 0 .../tools/fetch_url_via_jina.sh | 0 .../tools/fs_cat.sh | 0 .../tools/fs_ls.sh | 0 .../tools/fs_mkdir.sh | 0 .../tools/fs_patch.sh | 0 .../tools/fs_rm.sh | 0 .../tools/fs_write.sh | 0 .../tools/get_current_time.sh | 0 .../tools/get_current_weather.sh | 0 .../tools/search_arxiv.sh | 0 .../tools/search_wikipedia.sh | 0 .../tools/search_wolframalpha.sh | 0 .../tools/send_mail.sh | 0 .../tools/send_twilio.sh | 0 .../tools/web_search_aichat.sh | 0 .../tools/web_search_perplexity.sh | 0 .../tools/web_search_tavily.sh | 0 .../utils/guard_operation.sh | 0 .../utils/guard_path.sh | 0 .../utils/patch.awk | 0 {.claude/mcp => mcp}/qwen3-mcp/agent_lm.py | 0 .../mcp => mcp}/qwen3-mcp/requirements.txt | 0 {.claude/mcp => mcp}/qwen3-mcp/server.py | 2 +- .claude/settings.json => settings.json | 0 .../skills => skills}/delegation-rules.md | 0 .../skills => skills}/rust-go-conventions.md | 0 ...te_crazyclaude.sh => update_crazyclaude.sh | 0 95 files changed, 33 insertions(+), 44 deletions(-) rename .claude/CLAUDE.md => CLAUDE.md (100%) rename {.claude/agents => agents}/code-reviewer.md (100%) rename {.claude/agents => agents}/qwen3-worker.md (100%) rename {.claude/agents => agents}/task-planner.md (100%) rename {.claude/hooks => hooks}/post-write-lint.sh (100%) rename {.claude/hooks => hooks}/pre-bash-guard.sh (100%) rename {.claude/hooks => hooks}/subagent-stop-log.sh (100%) rename {.claude/llm-functions => llm-functions}/.github/ISSUE_TEMPLATE/add_agent.md (100%) rename {.claude/llm-functions => llm-functions}/.github/ISSUE_TEMPLATE/bug_report.md (100%) rename {.claude/llm-functions => llm-functions}/.github/ISSUE_TEMPLATE/feature_request.md (100%) rename {.claude/llm-functions => llm-functions}/.github/workflows/ci.yaml (100%) rename {.claude/llm-functions => llm-functions}/.gitignore (100%) rename {.claude/llm-functions => llm-functions}/Argcfile.sh (100%) rename {.claude/llm-functions => llm-functions}/LICENSE (100%) rename {.claude/llm-functions => llm-functions}/README.md (100%) rename {.claude/llm-functions => llm-functions}/agents/coder/README.md (100%) rename {.claude/llm-functions => llm-functions}/agents/coder/index.yaml (100%) rename {.claude/llm-functions => llm-functions}/agents/coder/tools.sh (100%) rename {.claude/llm-functions => llm-functions}/agents/coder/tools.txt (100%) rename {.claude/llm-functions => llm-functions}/agents/demo/README.md (100%) rename {.claude/llm-functions => llm-functions}/agents/demo/index.yaml (100%) rename {.claude/llm-functions => llm-functions}/agents/demo/tools.js (100%) rename {.claude/llm-functions => llm-functions}/agents/demo/tools.py (100%) rename {.claude/llm-functions => llm-functions}/agents/demo/tools.sh (100%) rename {.claude/llm-functions => llm-functions}/agents/demo/tools.txt (100%) rename {.claude/llm-functions => llm-functions}/agents/json-viewer/README.md (100%) rename {.claude/llm-functions => llm-functions}/agents/json-viewer/index.yaml (100%) rename {.claude/llm-functions => llm-functions}/agents/json-viewer/package.json (100%) rename {.claude/llm-functions => llm-functions}/agents/json-viewer/tools.js (100%) rename {.claude/llm-functions => llm-functions}/agents/sql/README.md (100%) rename {.claude/llm-functions => llm-functions}/agents/sql/index.yaml (100%) rename {.claude/llm-functions => llm-functions}/agents/sql/tools.sh (100%) rename {.claude/llm-functions => llm-functions}/agents/todo/README.md (100%) rename {.claude/llm-functions => llm-functions}/agents/todo/index.yaml (100%) rename {.claude/llm-functions => llm-functions}/agents/todo/tools.sh (100%) rename {.claude/llm-functions => llm-functions}/docs/agent.md (100%) rename {.claude/llm-functions => llm-functions}/docs/argcfile.md (100%) rename {.claude/llm-functions => llm-functions}/docs/environment-variables.md (100%) rename {.claude/llm-functions => llm-functions}/docs/tool.md (100%) rename {.claude/llm-functions => llm-functions}/mcp/bridge/README.md (100%) rename {.claude/llm-functions => llm-functions}/mcp/bridge/index.js (100%) rename {.claude/llm-functions => llm-functions}/mcp/bridge/package.json (100%) rename {.claude/llm-functions => llm-functions}/mcp/server/README.md (100%) rename {.claude/llm-functions => llm-functions}/mcp/server/index.js (100%) rename {.claude/llm-functions => llm-functions}/mcp/server/package.json (100%) rename {.claude/llm-functions => llm-functions}/scripts/build-declarations.js (100%) rename {.claude/llm-functions => llm-functions}/scripts/build-declarations.py (100%) rename {.claude/llm-functions => llm-functions}/scripts/build-declarations.sh (100%) rename {.claude/llm-functions => llm-functions}/scripts/check-deps.sh (100%) rename {.claude/llm-functions => llm-functions}/scripts/create-tool.sh (100%) rename {.claude/llm-functions => llm-functions}/scripts/declarations-util.sh (100%) rename {.claude/llm-functions => llm-functions}/scripts/mcp.sh (100%) rename {.claude/llm-functions => llm-functions}/scripts/run-agent.js (100%) rename {.claude/llm-functions => llm-functions}/scripts/run-agent.py (100%) rename {.claude/llm-functions => llm-functions}/scripts/run-agent.sh (100%) rename {.claude/llm-functions => llm-functions}/scripts/run-mcp-tool.sh (100%) rename {.claude/llm-functions => llm-functions}/scripts/run-tool.js (100%) rename {.claude/llm-functions => llm-functions}/scripts/run-tool.py (100%) rename {.claude/llm-functions => llm-functions}/scripts/run-tool.sh (100%) rename {.claude/llm-functions => llm-functions}/tools/demo_js.js (100%) rename {.claude/llm-functions => llm-functions}/tools/demo_py.py (100%) rename {.claude/llm-functions => llm-functions}/tools/demo_sh.sh (100%) rename {.claude/llm-functions => llm-functions}/tools/execute_command.sh (100%) rename {.claude/llm-functions => llm-functions}/tools/execute_js_code.js (100%) rename {.claude/llm-functions => llm-functions}/tools/execute_py_code.py (100%) rename {.claude/llm-functions => llm-functions}/tools/execute_sql_code.sh (100%) rename {.claude/llm-functions => llm-functions}/tools/fetch_url_via_curl.sh (100%) rename {.claude/llm-functions => llm-functions}/tools/fetch_url_via_jina.sh (100%) rename {.claude/llm-functions => llm-functions}/tools/fs_cat.sh (100%) rename {.claude/llm-functions => llm-functions}/tools/fs_ls.sh (100%) rename {.claude/llm-functions => llm-functions}/tools/fs_mkdir.sh (100%) rename {.claude/llm-functions => llm-functions}/tools/fs_patch.sh (100%) rename {.claude/llm-functions => llm-functions}/tools/fs_rm.sh (100%) rename {.claude/llm-functions => llm-functions}/tools/fs_write.sh (100%) rename {.claude/llm-functions => llm-functions}/tools/get_current_time.sh (100%) rename {.claude/llm-functions => llm-functions}/tools/get_current_weather.sh (100%) rename {.claude/llm-functions => llm-functions}/tools/search_arxiv.sh (100%) rename {.claude/llm-functions => llm-functions}/tools/search_wikipedia.sh (100%) rename {.claude/llm-functions => llm-functions}/tools/search_wolframalpha.sh (100%) rename {.claude/llm-functions => llm-functions}/tools/send_mail.sh (100%) rename {.claude/llm-functions => llm-functions}/tools/send_twilio.sh (100%) rename {.claude/llm-functions => llm-functions}/tools/web_search_aichat.sh (100%) rename {.claude/llm-functions => llm-functions}/tools/web_search_perplexity.sh (100%) rename {.claude/llm-functions => llm-functions}/tools/web_search_tavily.sh (100%) rename {.claude/llm-functions => llm-functions}/utils/guard_operation.sh (100%) rename {.claude/llm-functions => llm-functions}/utils/guard_path.sh (100%) rename {.claude/llm-functions => llm-functions}/utils/patch.awk (100%) rename {.claude/mcp => mcp}/qwen3-mcp/agent_lm.py (100%) rename {.claude/mcp => mcp}/qwen3-mcp/requirements.txt (100%) rename {.claude/mcp => mcp}/qwen3-mcp/server.py (99%) rename .claude/settings.json => settings.json (100%) rename {.claude/skills => skills}/delegation-rules.md (100%) rename {.claude/skills => skills}/rust-go-conventions.md (100%) rename .claude/update_crazyclaude.sh => update_crazyclaude.sh (100%) diff --git a/.claude/CLAUDE.md b/CLAUDE.md similarity index 100% rename from .claude/CLAUDE.md rename to CLAUDE.md diff --git a/README.md b/README.md index f434c7c..43eddda 100644 --- a/README.md +++ b/README.md @@ -40,49 +40,28 @@ Le serveur MCP lance aichat au démarrage sur un port libre. Qwen3 dispose d'out ## Installation dans un projet existant -### 1. Cloner ce dépôt +### 1. Ajouter CrazyClaude comme subtree -Avec **Jujutsu** : +Depuis la racine de votre projet (jj colocalisé git) : ```sh -# Depuis la racine de votre projet -jj git clone https://gargoton.petite-maison-orange.fr/eric/CrazyClaude.git .claude-crazy +git subtree add --prefix .claude https://gargoton.petite-maison-orange.fr/eric/CrazyClaude.git main --squash ``` -Puis copiez le contenu : +Le contenu du repo s'installe directement dans `.claude/` — agents, hooks, mcp, etc. + +### 2. Ajouter llm-functions comme subtree ```sh -cp -r .claude-crazy/.claude ./.claude -cp -r .claude-crazy/llm-functions ./.claude/llm-functions # si présent dans le clone +git subtree add --prefix .claude/llm-functions https://github.com/sigoden/llm-functions.git main --squash ``` -> Avec jj colocalisé git, vous pouvez aussi utiliser subtree : -> -> ```sh -> git subtree add --prefix .claude https://gargoton.petite-maison-orange.fr/eric/CrazyClaude.git main --squash -> ``` +### 3. Construire les outils llm-functions -### 2. Créer le virtualenv Python +Choisissez les outils à activer en éditant `.claude/llm-functions/tools.txt`, puis : ```sh -cd .claude -python3 -m venv venv -venv/bin/pip install -r mcp/qwen3-mcp/requirements.txt -``` - -### 3. Installer et construire llm-functions - -Si `llm-functions/` n'est pas déjà présent dans `.claude/` : - -```sh -git clone https://github.com/sigoden/llm-functions .claude/llm-functions -``` - -Choisissez les outils à activer en éditant `.claude/llm-functions/tools.txt`, puis construisez : - -```sh -cd .claude/llm-functions -argc build +cd .claude/llm-functions && argc build ``` Les outils activés par défaut : @@ -99,7 +78,15 @@ web_search_aichat.sh execute_py_code.py ``` -### 4. Configurer aichat +### 4. Créer le virtualenv Python + +```sh +cd .claude +python3 -m venv venv +venv/bin/pip install -r mcp/qwen3-mcp/requirements.txt +``` + +### 5. Configurer aichat Vérifiez que aichat peut accéder à LM Studio et que le modèle `qwen/qwen3-coder-next` est disponible : @@ -107,7 +94,7 @@ Vérifiez que aichat peut accéder à LM Studio et que le modèle `qwen/qwen3-co aichat --list-models | grep qwen ``` -### 5. Enregistrer le serveur MCP +### 6. Enregistrer le serveur MCP ```sh claude mcp add --transport stdio qwen3 -- .claude/venv/bin/python3 .claude/mcp/qwen3-mcp/server.py @@ -120,11 +107,11 @@ claude mcp list # qwen3: ... - ✓ Connected ``` -### 6. Adapter CLAUDE.md à votre projet +### 7. Adapter CLAUDE.md à votre projet Éditez `.claude/CLAUDE.md` : mettez à jour la section `## Stack` et les heuristiques de délégation. -### 7. Rendre les hooks exécutables +### 8. Rendre les hooks exécutables ```sh chmod +x .claude/hooks/*.sh @@ -216,16 +203,18 @@ printf ".claude/venv/\n.claude/logs/\n.claude/llm-functions/bin/\n.claude/llm-fu ## Mise à jour -Avec Jujutsu colocalisé (`jj git init --colocate`), la mise à jour est gérée côté git : +Utilisez le script inclus depuis la racine de votre projet : + +```sh +bash .claude/update_crazyclaude.sh +``` + +Ou manuellement : ```sh git subtree pull --prefix .claude https://gargoton.petite-maison-orange.fr/eric/CrazyClaude.git main --squash -``` - -jj voit le commit résultant comme un commit ordinaire dans son graphe. - -Après mise à jour, reconstruire llm-functions si `tools.txt` a changé : - -```sh +git subtree pull --prefix .claude/llm-functions https://github.com/sigoden/llm-functions.git main --squash cd .claude/llm-functions && argc build ``` + +jj voit chaque commit résultant comme un commit ordinaire dans son graphe. diff --git a/.claude/agents/code-reviewer.md b/agents/code-reviewer.md similarity index 100% rename from .claude/agents/code-reviewer.md rename to agents/code-reviewer.md diff --git a/.claude/agents/qwen3-worker.md b/agents/qwen3-worker.md similarity index 100% rename from .claude/agents/qwen3-worker.md rename to agents/qwen3-worker.md diff --git a/.claude/agents/task-planner.md b/agents/task-planner.md similarity index 100% rename from .claude/agents/task-planner.md rename to agents/task-planner.md diff --git a/.claude/hooks/post-write-lint.sh b/hooks/post-write-lint.sh similarity index 100% rename from .claude/hooks/post-write-lint.sh rename to hooks/post-write-lint.sh diff --git a/.claude/hooks/pre-bash-guard.sh b/hooks/pre-bash-guard.sh similarity index 100% rename from .claude/hooks/pre-bash-guard.sh rename to hooks/pre-bash-guard.sh diff --git a/.claude/hooks/subagent-stop-log.sh b/hooks/subagent-stop-log.sh similarity index 100% rename from .claude/hooks/subagent-stop-log.sh rename to hooks/subagent-stop-log.sh diff --git a/.claude/llm-functions/.github/ISSUE_TEMPLATE/add_agent.md b/llm-functions/.github/ISSUE_TEMPLATE/add_agent.md similarity index 100% rename from .claude/llm-functions/.github/ISSUE_TEMPLATE/add_agent.md rename to llm-functions/.github/ISSUE_TEMPLATE/add_agent.md diff --git a/.claude/llm-functions/.github/ISSUE_TEMPLATE/bug_report.md b/llm-functions/.github/ISSUE_TEMPLATE/bug_report.md similarity index 100% rename from .claude/llm-functions/.github/ISSUE_TEMPLATE/bug_report.md rename to llm-functions/.github/ISSUE_TEMPLATE/bug_report.md diff --git a/.claude/llm-functions/.github/ISSUE_TEMPLATE/feature_request.md b/llm-functions/.github/ISSUE_TEMPLATE/feature_request.md similarity index 100% rename from .claude/llm-functions/.github/ISSUE_TEMPLATE/feature_request.md rename to llm-functions/.github/ISSUE_TEMPLATE/feature_request.md diff --git a/.claude/llm-functions/.github/workflows/ci.yaml b/llm-functions/.github/workflows/ci.yaml similarity index 100% rename from .claude/llm-functions/.github/workflows/ci.yaml rename to llm-functions/.github/workflows/ci.yaml diff --git a/.claude/llm-functions/.gitignore b/llm-functions/.gitignore similarity index 100% rename from .claude/llm-functions/.gitignore rename to llm-functions/.gitignore diff --git a/.claude/llm-functions/Argcfile.sh b/llm-functions/Argcfile.sh similarity index 100% rename from .claude/llm-functions/Argcfile.sh rename to llm-functions/Argcfile.sh diff --git a/.claude/llm-functions/LICENSE b/llm-functions/LICENSE similarity index 100% rename from .claude/llm-functions/LICENSE rename to llm-functions/LICENSE diff --git a/.claude/llm-functions/README.md b/llm-functions/README.md similarity index 100% rename from .claude/llm-functions/README.md rename to llm-functions/README.md diff --git a/.claude/llm-functions/agents/coder/README.md b/llm-functions/agents/coder/README.md similarity index 100% rename from .claude/llm-functions/agents/coder/README.md rename to llm-functions/agents/coder/README.md diff --git a/.claude/llm-functions/agents/coder/index.yaml b/llm-functions/agents/coder/index.yaml similarity index 100% rename from .claude/llm-functions/agents/coder/index.yaml rename to llm-functions/agents/coder/index.yaml diff --git a/.claude/llm-functions/agents/coder/tools.sh b/llm-functions/agents/coder/tools.sh similarity index 100% rename from .claude/llm-functions/agents/coder/tools.sh rename to llm-functions/agents/coder/tools.sh diff --git a/.claude/llm-functions/agents/coder/tools.txt b/llm-functions/agents/coder/tools.txt similarity index 100% rename from .claude/llm-functions/agents/coder/tools.txt rename to llm-functions/agents/coder/tools.txt diff --git a/.claude/llm-functions/agents/demo/README.md b/llm-functions/agents/demo/README.md similarity index 100% rename from .claude/llm-functions/agents/demo/README.md rename to llm-functions/agents/demo/README.md diff --git a/.claude/llm-functions/agents/demo/index.yaml b/llm-functions/agents/demo/index.yaml similarity index 100% rename from .claude/llm-functions/agents/demo/index.yaml rename to llm-functions/agents/demo/index.yaml diff --git a/.claude/llm-functions/agents/demo/tools.js b/llm-functions/agents/demo/tools.js similarity index 100% rename from .claude/llm-functions/agents/demo/tools.js rename to llm-functions/agents/demo/tools.js diff --git a/.claude/llm-functions/agents/demo/tools.py b/llm-functions/agents/demo/tools.py similarity index 100% rename from .claude/llm-functions/agents/demo/tools.py rename to llm-functions/agents/demo/tools.py diff --git a/.claude/llm-functions/agents/demo/tools.sh b/llm-functions/agents/demo/tools.sh similarity index 100% rename from .claude/llm-functions/agents/demo/tools.sh rename to llm-functions/agents/demo/tools.sh diff --git a/.claude/llm-functions/agents/demo/tools.txt b/llm-functions/agents/demo/tools.txt similarity index 100% rename from .claude/llm-functions/agents/demo/tools.txt rename to llm-functions/agents/demo/tools.txt diff --git a/.claude/llm-functions/agents/json-viewer/README.md b/llm-functions/agents/json-viewer/README.md similarity index 100% rename from .claude/llm-functions/agents/json-viewer/README.md rename to llm-functions/agents/json-viewer/README.md diff --git a/.claude/llm-functions/agents/json-viewer/index.yaml b/llm-functions/agents/json-viewer/index.yaml similarity index 100% rename from .claude/llm-functions/agents/json-viewer/index.yaml rename to llm-functions/agents/json-viewer/index.yaml diff --git a/.claude/llm-functions/agents/json-viewer/package.json b/llm-functions/agents/json-viewer/package.json similarity index 100% rename from .claude/llm-functions/agents/json-viewer/package.json rename to llm-functions/agents/json-viewer/package.json diff --git a/.claude/llm-functions/agents/json-viewer/tools.js b/llm-functions/agents/json-viewer/tools.js similarity index 100% rename from .claude/llm-functions/agents/json-viewer/tools.js rename to llm-functions/agents/json-viewer/tools.js diff --git a/.claude/llm-functions/agents/sql/README.md b/llm-functions/agents/sql/README.md similarity index 100% rename from .claude/llm-functions/agents/sql/README.md rename to llm-functions/agents/sql/README.md diff --git a/.claude/llm-functions/agents/sql/index.yaml b/llm-functions/agents/sql/index.yaml similarity index 100% rename from .claude/llm-functions/agents/sql/index.yaml rename to llm-functions/agents/sql/index.yaml diff --git a/.claude/llm-functions/agents/sql/tools.sh b/llm-functions/agents/sql/tools.sh similarity index 100% rename from .claude/llm-functions/agents/sql/tools.sh rename to llm-functions/agents/sql/tools.sh diff --git a/.claude/llm-functions/agents/todo/README.md b/llm-functions/agents/todo/README.md similarity index 100% rename from .claude/llm-functions/agents/todo/README.md rename to llm-functions/agents/todo/README.md diff --git a/.claude/llm-functions/agents/todo/index.yaml b/llm-functions/agents/todo/index.yaml similarity index 100% rename from .claude/llm-functions/agents/todo/index.yaml rename to llm-functions/agents/todo/index.yaml diff --git a/.claude/llm-functions/agents/todo/tools.sh b/llm-functions/agents/todo/tools.sh similarity index 100% rename from .claude/llm-functions/agents/todo/tools.sh rename to llm-functions/agents/todo/tools.sh diff --git a/.claude/llm-functions/docs/agent.md b/llm-functions/docs/agent.md similarity index 100% rename from .claude/llm-functions/docs/agent.md rename to llm-functions/docs/agent.md diff --git a/.claude/llm-functions/docs/argcfile.md b/llm-functions/docs/argcfile.md similarity index 100% rename from .claude/llm-functions/docs/argcfile.md rename to llm-functions/docs/argcfile.md diff --git a/.claude/llm-functions/docs/environment-variables.md b/llm-functions/docs/environment-variables.md similarity index 100% rename from .claude/llm-functions/docs/environment-variables.md rename to llm-functions/docs/environment-variables.md diff --git a/.claude/llm-functions/docs/tool.md b/llm-functions/docs/tool.md similarity index 100% rename from .claude/llm-functions/docs/tool.md rename to llm-functions/docs/tool.md diff --git a/.claude/llm-functions/mcp/bridge/README.md b/llm-functions/mcp/bridge/README.md similarity index 100% rename from .claude/llm-functions/mcp/bridge/README.md rename to llm-functions/mcp/bridge/README.md diff --git a/.claude/llm-functions/mcp/bridge/index.js b/llm-functions/mcp/bridge/index.js similarity index 100% rename from .claude/llm-functions/mcp/bridge/index.js rename to llm-functions/mcp/bridge/index.js diff --git a/.claude/llm-functions/mcp/bridge/package.json b/llm-functions/mcp/bridge/package.json similarity index 100% rename from .claude/llm-functions/mcp/bridge/package.json rename to llm-functions/mcp/bridge/package.json diff --git a/.claude/llm-functions/mcp/server/README.md b/llm-functions/mcp/server/README.md similarity index 100% rename from .claude/llm-functions/mcp/server/README.md rename to llm-functions/mcp/server/README.md diff --git a/.claude/llm-functions/mcp/server/index.js b/llm-functions/mcp/server/index.js similarity index 100% rename from .claude/llm-functions/mcp/server/index.js rename to llm-functions/mcp/server/index.js diff --git a/.claude/llm-functions/mcp/server/package.json b/llm-functions/mcp/server/package.json similarity index 100% rename from .claude/llm-functions/mcp/server/package.json rename to llm-functions/mcp/server/package.json diff --git a/.claude/llm-functions/scripts/build-declarations.js b/llm-functions/scripts/build-declarations.js similarity index 100% rename from .claude/llm-functions/scripts/build-declarations.js rename to llm-functions/scripts/build-declarations.js diff --git a/.claude/llm-functions/scripts/build-declarations.py b/llm-functions/scripts/build-declarations.py similarity index 100% rename from .claude/llm-functions/scripts/build-declarations.py rename to llm-functions/scripts/build-declarations.py diff --git a/.claude/llm-functions/scripts/build-declarations.sh b/llm-functions/scripts/build-declarations.sh similarity index 100% rename from .claude/llm-functions/scripts/build-declarations.sh rename to llm-functions/scripts/build-declarations.sh diff --git a/.claude/llm-functions/scripts/check-deps.sh b/llm-functions/scripts/check-deps.sh similarity index 100% rename from .claude/llm-functions/scripts/check-deps.sh rename to llm-functions/scripts/check-deps.sh diff --git a/.claude/llm-functions/scripts/create-tool.sh b/llm-functions/scripts/create-tool.sh similarity index 100% rename from .claude/llm-functions/scripts/create-tool.sh rename to llm-functions/scripts/create-tool.sh diff --git a/.claude/llm-functions/scripts/declarations-util.sh b/llm-functions/scripts/declarations-util.sh similarity index 100% rename from .claude/llm-functions/scripts/declarations-util.sh rename to llm-functions/scripts/declarations-util.sh diff --git a/.claude/llm-functions/scripts/mcp.sh b/llm-functions/scripts/mcp.sh similarity index 100% rename from .claude/llm-functions/scripts/mcp.sh rename to llm-functions/scripts/mcp.sh diff --git a/.claude/llm-functions/scripts/run-agent.js b/llm-functions/scripts/run-agent.js similarity index 100% rename from .claude/llm-functions/scripts/run-agent.js rename to llm-functions/scripts/run-agent.js diff --git a/.claude/llm-functions/scripts/run-agent.py b/llm-functions/scripts/run-agent.py similarity index 100% rename from .claude/llm-functions/scripts/run-agent.py rename to llm-functions/scripts/run-agent.py diff --git a/.claude/llm-functions/scripts/run-agent.sh b/llm-functions/scripts/run-agent.sh similarity index 100% rename from .claude/llm-functions/scripts/run-agent.sh rename to llm-functions/scripts/run-agent.sh diff --git a/.claude/llm-functions/scripts/run-mcp-tool.sh b/llm-functions/scripts/run-mcp-tool.sh similarity index 100% rename from .claude/llm-functions/scripts/run-mcp-tool.sh rename to llm-functions/scripts/run-mcp-tool.sh diff --git a/.claude/llm-functions/scripts/run-tool.js b/llm-functions/scripts/run-tool.js similarity index 100% rename from .claude/llm-functions/scripts/run-tool.js rename to llm-functions/scripts/run-tool.js diff --git a/.claude/llm-functions/scripts/run-tool.py b/llm-functions/scripts/run-tool.py similarity index 100% rename from .claude/llm-functions/scripts/run-tool.py rename to llm-functions/scripts/run-tool.py diff --git a/.claude/llm-functions/scripts/run-tool.sh b/llm-functions/scripts/run-tool.sh similarity index 100% rename from .claude/llm-functions/scripts/run-tool.sh rename to llm-functions/scripts/run-tool.sh diff --git a/.claude/llm-functions/tools/demo_js.js b/llm-functions/tools/demo_js.js similarity index 100% rename from .claude/llm-functions/tools/demo_js.js rename to llm-functions/tools/demo_js.js diff --git a/.claude/llm-functions/tools/demo_py.py b/llm-functions/tools/demo_py.py similarity index 100% rename from .claude/llm-functions/tools/demo_py.py rename to llm-functions/tools/demo_py.py diff --git a/.claude/llm-functions/tools/demo_sh.sh b/llm-functions/tools/demo_sh.sh similarity index 100% rename from .claude/llm-functions/tools/demo_sh.sh rename to llm-functions/tools/demo_sh.sh diff --git a/.claude/llm-functions/tools/execute_command.sh b/llm-functions/tools/execute_command.sh similarity index 100% rename from .claude/llm-functions/tools/execute_command.sh rename to llm-functions/tools/execute_command.sh diff --git a/.claude/llm-functions/tools/execute_js_code.js b/llm-functions/tools/execute_js_code.js similarity index 100% rename from .claude/llm-functions/tools/execute_js_code.js rename to llm-functions/tools/execute_js_code.js diff --git a/.claude/llm-functions/tools/execute_py_code.py b/llm-functions/tools/execute_py_code.py similarity index 100% rename from .claude/llm-functions/tools/execute_py_code.py rename to llm-functions/tools/execute_py_code.py diff --git a/.claude/llm-functions/tools/execute_sql_code.sh b/llm-functions/tools/execute_sql_code.sh similarity index 100% rename from .claude/llm-functions/tools/execute_sql_code.sh rename to llm-functions/tools/execute_sql_code.sh diff --git a/.claude/llm-functions/tools/fetch_url_via_curl.sh b/llm-functions/tools/fetch_url_via_curl.sh similarity index 100% rename from .claude/llm-functions/tools/fetch_url_via_curl.sh rename to llm-functions/tools/fetch_url_via_curl.sh diff --git a/.claude/llm-functions/tools/fetch_url_via_jina.sh b/llm-functions/tools/fetch_url_via_jina.sh similarity index 100% rename from .claude/llm-functions/tools/fetch_url_via_jina.sh rename to llm-functions/tools/fetch_url_via_jina.sh diff --git a/.claude/llm-functions/tools/fs_cat.sh b/llm-functions/tools/fs_cat.sh similarity index 100% rename from .claude/llm-functions/tools/fs_cat.sh rename to llm-functions/tools/fs_cat.sh diff --git a/.claude/llm-functions/tools/fs_ls.sh b/llm-functions/tools/fs_ls.sh similarity index 100% rename from .claude/llm-functions/tools/fs_ls.sh rename to llm-functions/tools/fs_ls.sh diff --git a/.claude/llm-functions/tools/fs_mkdir.sh b/llm-functions/tools/fs_mkdir.sh similarity index 100% rename from .claude/llm-functions/tools/fs_mkdir.sh rename to llm-functions/tools/fs_mkdir.sh diff --git a/.claude/llm-functions/tools/fs_patch.sh b/llm-functions/tools/fs_patch.sh similarity index 100% rename from .claude/llm-functions/tools/fs_patch.sh rename to llm-functions/tools/fs_patch.sh diff --git a/.claude/llm-functions/tools/fs_rm.sh b/llm-functions/tools/fs_rm.sh similarity index 100% rename from .claude/llm-functions/tools/fs_rm.sh rename to llm-functions/tools/fs_rm.sh diff --git a/.claude/llm-functions/tools/fs_write.sh b/llm-functions/tools/fs_write.sh similarity index 100% rename from .claude/llm-functions/tools/fs_write.sh rename to llm-functions/tools/fs_write.sh diff --git a/.claude/llm-functions/tools/get_current_time.sh b/llm-functions/tools/get_current_time.sh similarity index 100% rename from .claude/llm-functions/tools/get_current_time.sh rename to llm-functions/tools/get_current_time.sh diff --git a/.claude/llm-functions/tools/get_current_weather.sh b/llm-functions/tools/get_current_weather.sh similarity index 100% rename from .claude/llm-functions/tools/get_current_weather.sh rename to llm-functions/tools/get_current_weather.sh diff --git a/.claude/llm-functions/tools/search_arxiv.sh b/llm-functions/tools/search_arxiv.sh similarity index 100% rename from .claude/llm-functions/tools/search_arxiv.sh rename to llm-functions/tools/search_arxiv.sh diff --git a/.claude/llm-functions/tools/search_wikipedia.sh b/llm-functions/tools/search_wikipedia.sh similarity index 100% rename from .claude/llm-functions/tools/search_wikipedia.sh rename to llm-functions/tools/search_wikipedia.sh diff --git a/.claude/llm-functions/tools/search_wolframalpha.sh b/llm-functions/tools/search_wolframalpha.sh similarity index 100% rename from .claude/llm-functions/tools/search_wolframalpha.sh rename to llm-functions/tools/search_wolframalpha.sh diff --git a/.claude/llm-functions/tools/send_mail.sh b/llm-functions/tools/send_mail.sh similarity index 100% rename from .claude/llm-functions/tools/send_mail.sh rename to llm-functions/tools/send_mail.sh diff --git a/.claude/llm-functions/tools/send_twilio.sh b/llm-functions/tools/send_twilio.sh similarity index 100% rename from .claude/llm-functions/tools/send_twilio.sh rename to llm-functions/tools/send_twilio.sh diff --git a/.claude/llm-functions/tools/web_search_aichat.sh b/llm-functions/tools/web_search_aichat.sh similarity index 100% rename from .claude/llm-functions/tools/web_search_aichat.sh rename to llm-functions/tools/web_search_aichat.sh diff --git a/.claude/llm-functions/tools/web_search_perplexity.sh b/llm-functions/tools/web_search_perplexity.sh similarity index 100% rename from .claude/llm-functions/tools/web_search_perplexity.sh rename to llm-functions/tools/web_search_perplexity.sh diff --git a/.claude/llm-functions/tools/web_search_tavily.sh b/llm-functions/tools/web_search_tavily.sh similarity index 100% rename from .claude/llm-functions/tools/web_search_tavily.sh rename to llm-functions/tools/web_search_tavily.sh diff --git a/.claude/llm-functions/utils/guard_operation.sh b/llm-functions/utils/guard_operation.sh similarity index 100% rename from .claude/llm-functions/utils/guard_operation.sh rename to llm-functions/utils/guard_operation.sh diff --git a/.claude/llm-functions/utils/guard_path.sh b/llm-functions/utils/guard_path.sh similarity index 100% rename from .claude/llm-functions/utils/guard_path.sh rename to llm-functions/utils/guard_path.sh diff --git a/.claude/llm-functions/utils/patch.awk b/llm-functions/utils/patch.awk similarity index 100% rename from .claude/llm-functions/utils/patch.awk rename to llm-functions/utils/patch.awk diff --git a/.claude/mcp/qwen3-mcp/agent_lm.py b/mcp/qwen3-mcp/agent_lm.py similarity index 100% rename from .claude/mcp/qwen3-mcp/agent_lm.py rename to mcp/qwen3-mcp/agent_lm.py diff --git a/.claude/mcp/qwen3-mcp/requirements.txt b/mcp/qwen3-mcp/requirements.txt similarity index 100% rename from .claude/mcp/qwen3-mcp/requirements.txt rename to mcp/qwen3-mcp/requirements.txt diff --git a/.claude/mcp/qwen3-mcp/server.py b/mcp/qwen3-mcp/server.py similarity index 99% rename from .claude/mcp/qwen3-mcp/server.py rename to mcp/qwen3-mcp/server.py index 655e8d0..2c7492e 100644 --- a/.claude/mcp/qwen3-mcp/server.py +++ b/mcp/qwen3-mcp/server.py @@ -1,4 +1,4 @@ -#!/usr/bin/env -S .claude/venv/bin/python3 +#!/usr/bin/env -S venv/bin/python3 """ MCP server stdio exposant un outil `qwen3_task`. Lance aichat en mode serveur au démarrage et gère la boucle tool_calls. diff --git a/.claude/settings.json b/settings.json similarity index 100% rename from .claude/settings.json rename to settings.json diff --git a/.claude/skills/delegation-rules.md b/skills/delegation-rules.md similarity index 100% rename from .claude/skills/delegation-rules.md rename to skills/delegation-rules.md diff --git a/.claude/skills/rust-go-conventions.md b/skills/rust-go-conventions.md similarity index 100% rename from .claude/skills/rust-go-conventions.md rename to skills/rust-go-conventions.md diff --git a/.claude/update_crazyclaude.sh b/update_crazyclaude.sh similarity index 100% rename from .claude/update_crazyclaude.sh rename to update_crazyclaude.sh