@taj-special/dravix-code 1.1.6 → 1.1.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/dist/cli/repl.js +11 -7
- package/package.json +1 -1
package/dist/cli/repl.js
CHANGED
|
@@ -15,13 +15,6 @@ const BASE_PROMPT = ``;
|
|
|
15
15
|
// Critical behavioral rules — always injected into system prompt for every session
|
|
16
16
|
const BEHAVIORAL_RULES = `
|
|
17
17
|
|
|
18
|
-
## LANGUAGE RULE — HIGHEST PRIORITY, NO EXCEPTIONS:
|
|
19
|
-
Identify the language of the user's message. Reply 100% in that same language — every single word of your response.
|
|
20
|
-
- User wrote Tajik (contains: нест, кун, илова, файл, тағир...) → respond ONLY in Tajik
|
|
21
|
-
- User wrote Russian (contains: удали, добавь, измени, файл...) → respond ONLY in Russian
|
|
22
|
-
- User wrote English → respond ONLY in English
|
|
23
|
-
This rule overrides everything. Even when editing files, your commentary is in the user's language.
|
|
24
|
-
|
|
25
18
|
## EXECUTE IMMEDIATELY — never ask what to do, never explain before acting.
|
|
26
19
|
|
|
27
20
|
## FILE OPERATIONS — use these exact tag formats:
|
|
@@ -55,6 +48,17 @@ full file content here
|
|
|
55
48
|
### RUN a command:
|
|
56
49
|
<run_command>command here</run_command>
|
|
57
50
|
|
|
51
|
+
### ACTIVATE Web Designer mode — MANDATORY before building any website, UI, or HTML file:
|
|
52
|
+
BEFORE writing any HTML/CSS/JS, you MUST output this tag first:
|
|
53
|
+
<design_mode>
|
|
54
|
+
Modern responsive layout
|
|
55
|
+
Clean typography and spacing
|
|
56
|
+
Professional color palette
|
|
57
|
+
Smooth animations and transitions
|
|
58
|
+
Mobile-first design
|
|
59
|
+
</design_mode>
|
|
60
|
+
List design features relevant to the project inside the tag. Only after this tag, proceed to build with <write_file>.
|
|
61
|
+
|
|
58
62
|
## RULES:
|
|
59
63
|
- File content labeled [File: name — FULL] is already provided — use it, do NOT read again.
|
|
60
64
|
- Copy <find> text CHARACTER BY CHARACTER from the actual file — never write from memory.
|