cli-atom 0.2.10 → 0.2.11

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/atom.js CHANGED
@@ -44,16 +44,19 @@ const MAX_FILE_SIZE = 15_000;
44
44
  const MAX_FILES = 15;
45
45
  const MAX_CONTEXT_CHARS = 20_000;
46
46
 
47
- let MODEL = "z-ai/glm-5-turbo";
48
- let MODEL_LABEL = "glm-5-turbo";
47
+ let MODEL = "z-ai/glm-5.2";
48
+ let MODEL_LABEL = "glm-5.2";
49
49
  const VERSION = _require("./package.json").version;
50
50
 
51
51
  const MODELS = [
52
+ // Modèle interne Puter (Gratuit)
52
53
  { id: "z-ai/glm-5-turbo", label: "glm-5-turbo" },
53
- { id: "openai/gpt-4o", label: "gpt-4o" },
54
- { id: "openai/gpt-4-turbo", label: "gpt-4-turbo" },
55
- { id: "meta-llama/llama-3-70b-instruct", label: "llama-3-70b" },
56
- { id: "mistral-large", label: "mistral-large" }
54
+
55
+ // Modèles OpenAI (Très stables via Puter)
56
+ { id: "gpt-4o", label: "gpt-4o" },
57
+ { id: "gpt-4o-mini", label: "gpt-4o-mini" },
58
+ { id: "gpt-4-turbo", label: "gpt-4-turbo" },
59
+ { id: "gpt-3.5-turbo", label: "gpt-3.5-turbo" }
57
60
  ];
58
61
 
59
62
  // ─── CONFIG MANAGEMENT ───────────────────────────────────────────────────────
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cli-atom",
3
- "version": "0.2.10",
3
+ "version": "0.2.11",
4
4
  "description": "ATOM - Coding Agent",
5
5
  "license": "ISC",
6
6
  "author": "Redwxll",
@@ -1,109 +0,0 @@
1
- # ⚛️ Atom-AI
2
-
3
- <div align="center">
4
-
5
- **Un module Node.js léger et performant pour intégrer des fonctionnalités d'IA dans vos projets.**
6
-
7
- [![npm version](https://img.shields.io/npm/v/atom-ai.svg?style=flat-square)](https://www.npmjs.com/package/atom-ai)
8
- [![License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](LICENSE)
9
- [![Node.js](https://img.shields.io/badge/node-%3E%3D14.0.0-brightgreen.svg?style=flat-square)](https://nodejs.org)
10
-
11
- </div>
12
-
13
- ---
14
-
15
- ## 📖 À propos
16
-
17
- **Atom-AI** est un module Node.js conçu pour simplifier l'intégration d'intelligence artificielle dans vos applications. Léger, modulaire et facile à prendre en main, il s'intègre rapidement dans n'importe quel projet JavaScript.
18
-
19
- ## ✨ Fonctionnalités
20
-
21
- > ⚠️ *Cette section est à compléter avec les fonctionnalités exactes de votre script. Voici une base qu vous pouvez adapter :*
22
-
23
- - 🚀 **Démarrage rapide** — Prêt à l'emploi en quelques lignes de code
24
- - 🧠 **Intégration IA** — Connectez-vous facilement à des modèles d'IA
25
- - 📦 **Léger** — Minimal en dépendances
26
- - 🔧 **Configurable** — Adaptez le comportement à vos besoins
27
- - 📝 **Simple** — API claire et intuitive
28
-
29
- ## 📦 Installation
30
-
31
- ```bash
32
- # Via npm
33
- npm install atom-ai
34
-
35
- # Via yarn
36
- yarn add atom-ai
37
-
38
- # Via pnpm
39
- pnpm add atom-ai
40
- ```
41
-
42
- ## 🚀 Utilisation
43
-
44
- ```javascript
45
- const Atom = require('atom-ai');
46
-
47
- // Initialisation
48
- const atom = new Atom({
49
- // Vos options de configuration
50
- });
51
-
52
- // Utilisation
53
- atom.run();
54
- ```
55
-
56
- ## ⚙️ Configuration
57
-
58
- | Option | Type | Description | Défaut |
59
- |--------|------|-------------|--------|
60
- | `option1` | `string` | Description de l'option | `"valeur"` |
61
-
62
- > 📝 *Complétez ce tableau avec les vraies options de configuration.*
63
-
64
- ## 📁 Structure du projet
65
-
66
- ```
67
- Atom-Ai/
68
- ├── atom.js # Point d'entrée principal du module
69
- ├── package.json # Métadonnées et dépendances
70
- ├── .npmignore # Fichiers exclus du package npm
71
- ├── .gitignore # Fichiers exclus de Git
72
- └── README.md # Ce fichier
73
- ```
74
-
75
- ## 🛠️ Développement
76
-
77
- ```bash
78
- # Cloner le dépôt
79
- git clone https://github.com/Redwxll-atm/Atom-Ai.git
80
- cd Atom-Ai
81
-
82
- # Installer les dépendances
83
- npm install
84
-
85
- # Lancer le module
86
- node atom.js
87
- ```
88
-
89
- ## 🤝 Contribuer
90
-
91
- Les contributions sont les bienvenues ! Voici comment participer :
92
-
93
- 1. **Fork** le projet
94
- 2. Créez une branche fonctionnelle (`git checkout -b feature/ma-fonctionnalite`)
95
- 3. **Commit** vos changements (`git commit -m 'Ajout de ma fonctionnalité'`)
96
- 4. **Push** vers la branche (`git push origin feature/ma-fonctionnalite`)
97
- 5. Ouvrez une **Pull Request**
98
-
99
- ## 📄 Licence
100
-
101
- Ce projet est sous licence **MIT**. Voir le fichier [LICENSE](LICENSE) pour plus de détails.
102
-
103
- ---
104
-
105
- <div align="center">
106
-
107
- Développé avec ❤️ par **[Redwxll](https://github.com/Redwxll-atm)**
108
-
109
- </div>