@aigne/doc-smith 0.8.15-beta.1 → 0.8.15-beta.2
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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.8.15-beta.2](https://github.com/AIGNE-io/aigne-doc-smith/compare/v0.8.15-beta.1...v0.8.15-beta.2) (2025-10-24)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* locale not applied when generating D2 diagrams ([#215](https://github.com/AIGNE-io/aigne-doc-smith/issues/215)) ([7e6f42f](https://github.com/AIGNE-io/aigne-doc-smith/commit/7e6f42faf15a115e53c57dbc2d5a19a82cf44295))
|
|
9
|
+
|
|
3
10
|
## [0.8.15-beta.1](https://github.com/AIGNE-io/aigne-doc-smith/compare/v0.8.15-beta...v0.8.15-beta.1) (2025-10-23)
|
|
4
11
|
|
|
5
12
|
|
|
@@ -11,6 +11,10 @@ input_schema:
|
|
|
11
11
|
documentContent:
|
|
12
12
|
type: string
|
|
13
13
|
description: The **raw text content** of the current document. (**Note:** This is the original document and **does not include** any diagram source code.)
|
|
14
|
+
locale:
|
|
15
|
+
type: string
|
|
16
|
+
description: Language for diagram labels and text
|
|
17
|
+
default: en
|
|
14
18
|
required:
|
|
15
19
|
- documentContent
|
|
16
20
|
output_schema:
|
|
@@ -76,6 +76,10 @@ skills:
|
|
|
76
76
|
documentContent:
|
|
77
77
|
type: string
|
|
78
78
|
description: The **raw text content** of the current document. (**Note:** This is the original document and **does not include** any diagram source code.)
|
|
79
|
+
locale:
|
|
80
|
+
type: string
|
|
81
|
+
description: Language for diagram labels and text
|
|
82
|
+
default: en
|
|
79
83
|
required:
|
|
80
84
|
- documentContent
|
|
81
85
|
output_schema:
|
package/package.json
CHANGED
|
@@ -2,6 +2,16 @@ Follow the given rules and ISTJ style from your system instructions.
|
|
|
2
2
|
|
|
3
3
|
Generate a d2 diagram that represents the following document content:
|
|
4
4
|
|
|
5
|
+
<user_locale>
|
|
6
|
+
{{ locale }}
|
|
7
|
+
</user_locale>
|
|
8
|
+
|
|
9
|
+
<user_rules>
|
|
10
|
+
|
|
11
|
+
- Output only the diagram labels and text in the {{ locale }} language — keep all variable names, component names, and syntax unchanged.
|
|
12
|
+
|
|
13
|
+
</user_rules>
|
|
14
|
+
|
|
5
15
|
<document_content>
|
|
6
16
|
{{documentContent}}
|
|
7
|
-
</document_content>
|
|
17
|
+
</document_content>
|