@astratra/ai 0.1.0 → 1.0.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 +1 -4
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -59,7 +59,7 @@ Vide par défaut — aucun outil pré-enregistré. `registry.formatToolsForPromp
|
|
|
59
59
|
formate en texte les outils visibles pour un rôle donné, à injecter dans un
|
|
60
60
|
prompt système.
|
|
61
61
|
|
|
62
|
-
## Boucle d'agent
|
|
62
|
+
## Boucle d'agent
|
|
63
63
|
|
|
64
64
|
```js
|
|
65
65
|
const { runAgentLoop } = require('@astratra/ai');
|
|
@@ -91,6 +91,3 @@ dans votre propre boucle, ou à couvrir dans un futur spec.
|
|
|
91
91
|
```bash
|
|
92
92
|
npm test --workspace @astratra/ai
|
|
93
93
|
```
|
|
94
|
-
|
|
95
|
-
12 tests. Providers et Redis sont mockés — aucune vraie clé API ni serveur
|
|
96
|
-
Redis requis.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astratra/ai",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "Generic AI provider routing, tool registry, and agent loop utilities for Astratra.",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"types": "src/index.d.ts",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"access": "public"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@astratra/core": "^
|
|
29
|
+
"@astratra/core": "^1.0.0"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
32
|
"redis": ">=4"
|