wave-agent-sdk 0.15.2 → 0.15.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/prompts/index.js +1 -1
- package/package.json +1 -1
- package/src/prompts/index.ts +1 -1
package/dist/prompts/index.js
CHANGED
|
@@ -219,7 +219,7 @@ export function buildSystemPrompt(basePrompt, tools, options = {}) {
|
|
|
219
219
|
prompt += `\n\n# Permission Mode\nThe user has selected the 'dontAsk' permission mode. In this mode, any restricted tool call that does not match a pre-approved rule in 'permissions.allow' or 'temporaryRules' will be automatically denied without prompting the user. You will receive a 'Permission denied' error for such calls. This is intended to prevent interruptions for untrusted tools while allowing pre-approved ones to run seamlessly.`;
|
|
220
220
|
}
|
|
221
221
|
if (options.language) {
|
|
222
|
-
prompt += `\n\n# Language\nAlways respond in ${options.language}.
|
|
222
|
+
prompt += `\n\n# Language\nAlways respond in ${options.language}. Use ${options.language} for all explanations, comments, and communications with the user. Technical terms and code identifiers should remain in their original form.`;
|
|
223
223
|
}
|
|
224
224
|
if (options.planMode) {
|
|
225
225
|
prompt += `\n\n${buildPlanModePrompt(options.planMode.planFilePath, options.planMode.planExists, options.isSubagent)}`;
|
package/package.json
CHANGED
package/src/prompts/index.ts
CHANGED
|
@@ -275,7 +275,7 @@ export function buildSystemPrompt(
|
|
|
275
275
|
}
|
|
276
276
|
|
|
277
277
|
if (options.language) {
|
|
278
|
-
prompt += `\n\n# Language\nAlways respond in ${options.language}.
|
|
278
|
+
prompt += `\n\n# Language\nAlways respond in ${options.language}. Use ${options.language} for all explanations, comments, and communications with the user. Technical terms and code identifiers should remain in their original form.`;
|
|
279
279
|
}
|
|
280
280
|
|
|
281
281
|
if (options.planMode) {
|