@dxtmisha/scripts 0.11.7 → 0.11.8
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,16 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## [0.11.8] - 2026-08-20
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
- **Screenshot Generation (`DesignScreenshot`)**:
|
|
9
|
+
- Added directory cleanup (`PropertiesFile.removeDir(pathDir)`) before recreating the destination folder in `DesignScreenshot.make()` to ensure fresh captures and eliminate stale image artifacts.
|
|
10
|
+
- Updated `DesignScreenshot.make()` return signature to `Promise<this>` with bilingual JSDoc documentation.
|
|
11
|
+
- **AI Package Description Prompt (`DesignTypesDescription`)**:
|
|
12
|
+
- Updated AI prompt instructions in `DesignTypesDescription.toAiDescription` to require maximally dense and concise trigger explanations for studying `ai-types.md`.
|
|
13
|
+
- Enforced single comma-separated list formatting for `Key Capabilities` (1–3 words per capability) with strict restrictions against bullet points or multiline listings.
|
|
14
|
+
|
|
5
15
|
## [0.11.7] - 2026-08-19
|
|
6
16
|
|
|
7
17
|
### 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.8",
|
|
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": [
|
|
@@ -27,15 +27,22 @@ export class DesignScreenshot {
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* Starts the screenshot process.
|
|
31
31
|
*
|
|
32
32
|
* Запускает процесс создания скриншота.
|
|
33
|
+
* @returns this instance / этот экземпляр
|
|
33
34
|
*/
|
|
34
|
-
async make() {
|
|
35
|
+
async make(): Promise<this> {
|
|
35
36
|
console.info('Screenshot')
|
|
36
37
|
|
|
37
|
-
PropertiesFile.
|
|
38
|
+
const pathDir = PropertiesFile.getPathDir(`${this.file}.file`)
|
|
39
|
+
|
|
40
|
+
PropertiesFile.removeDir(pathDir)
|
|
41
|
+
PropertiesFile.createDir(pathDir)
|
|
42
|
+
|
|
38
43
|
this.makeServer()
|
|
44
|
+
|
|
45
|
+
return this
|
|
39
46
|
}
|
|
40
47
|
|
|
41
48
|
/**
|
|
@@ -102,9 +102,11 @@ export class DesignTypesDescription {
|
|
|
102
102
|
'Goal: Generate a concise package overview for an AI coding assistant detailing what this package is, why to study it, and listing its key capabilities.\n\n'
|
|
103
103
|
+ 'STRUCTURE & CONTENT REQUIREMENTS:\n'
|
|
104
104
|
+ '1. Package Description: 1-2 concise sentences explaining what this package is and its core technical purpose.\n'
|
|
105
|
-
+ '2. Triggers for Studying ai-types.md:
|
|
106
|
-
+ '3. Key Capabilities: A list of key functional capabilities
|
|
105
|
+
+ '2. Triggers for Studying ai-types.md: Maximally concise yet complete explanation of when and why an AI assistant must study "ai-types.md" (specific tasks, keywords, or architectural requirements) without losing any essential information.\n'
|
|
106
|
+
+ '3. Key Capabilities: A single comma-separated list of key functional capabilities (e.g. "Key Capabilities: Form Controls, API Integration, Storage State") where each item is strictly 1 to 3 words long.\n\n'
|
|
107
107
|
+ 'CRITICAL RESTRICTIONS:\n'
|
|
108
|
+
+ '- Triggers for Studying ai-types.md MUST be maximally concise and dense without omitting any technical triggers or information.\n'
|
|
109
|
+
+ '- Key Capabilities MUST be formatted strictly as a single comma-separated list, NOT as bullet points or separate lines.\n'
|
|
108
110
|
+ '- Each item in the Key Capabilities list MUST be strictly 1 to 3 words.\n'
|
|
109
111
|
+ '- Do NOT list individual method, function, or class names.\n'
|
|
110
112
|
+ '- Analyze ONLY the provided type definitions and JS code.\n'
|