@cyklang/cli 0.18.0 → 0.18.1

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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/test/t41.xml +14 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cyklang/cli",
3
- "version": "0.18.0",
3
+ "version": "0.18.1",
4
4
  "description": "cyklang CLI",
5
5
  "main": "build/index.js",
6
6
  "scripts": {
@@ -19,7 +19,7 @@
19
19
  "author": "",
20
20
  "license": "ISC",
21
21
  "dependencies": {
22
- "@cyklang/core": "^0.48.0",
22
+ "@cyklang/core": "^0.49.0",
23
23
  "commander": "^9.4.0",
24
24
  "dotenv": "^16.0.1",
25
25
  "form-data": "^4.0.0",
package/test/t41.xml ADDED
@@ -0,0 +1,14 @@
1
+ <?xml-model href="https://www.cyklang.net/schema/cyklang.xsd" ?>
2
+ <module>
3
+ <object name="result_ai"/>
4
+ <ask_ai returns="result_ai">
5
+ <!-- <string name="ai_provider">"deepseek"</string> -->
6
+ <string name="prompt" literal="">
7
+ dis moi le jour du nouvel an chinois en 2026
8
+ </string>
9
+ </ask_ai>
10
+ <print>format("result = {0}",result_ai)</print>
11
+
12
+ <print>format("Réponse = {0}",result_ai.choices.at(0).message.content)</print>
13
+
14
+ </module>