@taj-special/dravix-code 1.3.1 → 1.3.3
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 +20 -1
- package/package.json +1 -1
package/dist/cli/repl.js
CHANGED
|
@@ -2260,7 +2260,26 @@ Find files by glob pattern.
|
|
|
2260
2260
|
- read_file shows line numbers as " N │ code" — strip the "N │ " prefix when copying into <find>.
|
|
2261
2261
|
- Multiple edit_file on the same file: order from BOTTOM to TOP (line numbers shift as you edit).
|
|
2262
2262
|
- DO NOT output <write_file> / <edit_file> / <run_command> tags inside markdown code blocks — they must be raw in the response.
|
|
2263
|
-
- Execute ALL operations in ONE response when possible — do not split work across multiple turns
|
|
2263
|
+
- Execute ALL operations in ONE response when possible — do not split work across multiple turns.
|
|
2264
|
+
|
|
2265
|
+
## End-of-turn summary — REQUIRED after every task
|
|
2266
|
+
|
|
2267
|
+
After you finish ALL operations for the user's request, you MUST write a short, natural summary. This is the most important part of your response.
|
|
2268
|
+
|
|
2269
|
+
Write 1-3 sentences in the user's language. No tables. No emoji lists. No rigid formats. Just explain what you did, like a colleague updating a teammate.
|
|
2270
|
+
|
|
2271
|
+
Good examples:
|
|
2272
|
+
- "I deleted BOT_INFO.md from the project. No other changes were made."
|
|
2273
|
+
- "Updated main.ts — changed the port from 8000 to 9000. The API now listens on port 9000."
|
|
2274
|
+
- "Created three files: auth.ts, routes.ts, and models.ts. The basic API structure is ready."
|
|
2275
|
+
- "Fixed the import path in app.tsx and removed the unused variable in utils.ts."
|
|
2276
|
+
|
|
2277
|
+
Bad examples:
|
|
2278
|
+
- Outputting operation tags with no human-readable text
|
|
2279
|
+
- Saying only "Done" or "Summary:" with a rigid table of emojis
|
|
2280
|
+
- Ending with nothing — just silence after the last XML tag
|
|
2281
|
+
|
|
2282
|
+
The summary should feel like a natural conversation close — informative, brief, in the user's language.`;
|
|
2264
2283
|
const buildSystemMsg = (dir) => ({
|
|
2265
2284
|
role: 'system',
|
|
2266
2285
|
content: SYSTEM_PROMPT + SAFE_FILE_RULES + '\n\nProject context:\n' + buildContext(dir),
|