@dxtmisha/scripts 0.11.6 → 0.11.7
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
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## [0.11.7] - 2026-08-19
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
- **AI Types Save Workflow (`dxt-types-save`)**:
|
|
9
|
+
- Added existence check for `ai-description.md` (`this.description.is()`) before invoking AI description generation in `DesignTypes.makeSave()`. Description generation will now execute only when the file does not already exist, preventing redundant AI API calls during quick type saves.
|
|
10
|
+
- Added `is()` method to `DesignTypesDescription` to verify the presence of `ai-description.md`.
|
|
11
|
+
|
|
5
12
|
## [0.11.6] - 2026-08-19
|
|
6
13
|
|
|
7
14
|
### Changed
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxtmisha/scripts",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.11.
|
|
4
|
+
"version": "0.11.7",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "CLI tools, AI integration scripts, and automation utilities for DXT UI — automated component scaffolding, Figma layout generation, library packaging, documentation building, screenshot captures, and AI prompt processing.",
|
|
7
7
|
"keywords": [
|
|
@@ -80,7 +80,11 @@ export class DesignTypes {
|
|
|
80
80
|
console.log('DesignTypes: saving AI types from list...')
|
|
81
81
|
|
|
82
82
|
this.makeTypes.makeSave()
|
|
83
|
-
|
|
83
|
+
|
|
84
|
+
if (!this.description.is()) {
|
|
85
|
+
await this.description.make()
|
|
86
|
+
}
|
|
87
|
+
|
|
84
88
|
await this.mcp.make()
|
|
85
89
|
|
|
86
90
|
console.log('DesignTypes: AI types saved.')
|
|
@@ -30,6 +30,16 @@ export class DesignTypesDescription {
|
|
|
30
30
|
protected readonly isRaw: boolean = false
|
|
31
31
|
) { }
|
|
32
32
|
|
|
33
|
+
/**
|
|
34
|
+
* Checks if the AI description file exists.
|
|
35
|
+
*
|
|
36
|
+
* Проверяет, существует ли файл описания ИИ.
|
|
37
|
+
* @returns true if description file exists / true, если файл описания существует
|
|
38
|
+
*/
|
|
39
|
+
is(): boolean {
|
|
40
|
+
return PropertiesFile.is(UI_FILE_AI_DESCRIPTION)
|
|
41
|
+
}
|
|
42
|
+
|
|
33
43
|
/**
|
|
34
44
|
* Returns the generated full description content.
|
|
35
45
|
*
|