dirac-lang 0.1.14 → 0.1.16

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.
@@ -0,0 +1,27 @@
1
+ <!-- TEST: tag_check_autocorrect -->
2
+ <!-- EXPECT: The tag <background-set> was auto-corrected to <background> (similarity: 0.84)
3
+ Color changed to: red -->
4
+
5
+ <dirac>
6
+ <subroutine name="background"
7
+ description="Change the background color"
8
+ param-color="string:required:Background color:red|blue|green">
9
+ <parameters select="@color"/>
10
+ <output>Color changed to: <variable name="color" /></output>
11
+ </subroutine>
12
+
13
+ <subroutine name="foreground"
14
+ description="Change the foreground text color"
15
+ param-color="string:required:Text color:black|white|gray">
16
+ <parameters select="@color"/>
17
+ <output>Text color changed to: <variable name="color" /></output>
18
+ </subroutine>
19
+
20
+ <!-- Test: tag-check should auto-correct similar tag names and execute -->
21
+ <defvar name="result" trim="true">
22
+ <tag-check execute="true" autocorrect="true">
23
+ <background-set color="red" />
24
+ </tag-check>
25
+ </defvar>
26
+ <output><variable name="result" /></output>
27
+ </dirac>
package/config.yml DELETED
@@ -1,9 +0,0 @@
1
- # Dirac server configuration
2
- llmProvider: ollama
3
- llmModel: llama3.2:3b
4
-
5
- embeddingServer:
6
- host: "localhost"
7
- port: 11434
8
-
9
- MONGODB_URI: "mongodb://localhost:27017"
package/config.yml.bak DELETED
@@ -1,8 +0,0 @@
1
- # Dirac server configuration
2
- #llmProvider: ollama
3
- #llmModel: llama2
4
- llmProvider: OpenAI
5
- llmModel:gpt-4.1-2025-04-14
6
- # Add other config options as needed
7
-
8
- MONGODB_URI: "mongodb://localhost:27017"
package/config.yml.ollama DELETED
@@ -1,6 +0,0 @@
1
- # Dirac server configuration
2
- llmProvider: ollama
3
- llmModel: llama2
4
- # Add other config options as needed
5
-
6
- MONGODB_URI: "mongodb://localhost:27017"
package/config.yml.openai DELETED
@@ -1,6 +0,0 @@
1
- # Dirac server configuration
2
- llmProvider: openai
3
- llmModel: gpt-4.1-2025-04-14
4
- # Add other config options as needed
5
-
6
- MONGODB_URI: "mongodb://localhost:27017"