export class TechnicalEnhancer {
llmClient;
id = "technical";
label = "⚙️ Precyzja techniczna";
description = "Dodaje terminologię branżową, parametry, wersje, specyfikacje";
icon = "⚙️";
systemPrompt = `You are a technical precision-focused prompt refactoring assistant.
Rewrite the user's prompt with technical accuracy:
- Add specific version numbers for libraries, frameworks, runtimes
- Include exact parameter names, configuration options
- Specify protocols, standards, data formats
- Add performance requirements (latency, throughput, memory)
- Include security considerations (OWASP, best practices)
Return ONLY the refactored prompt, no explanations.`;
constructor(llmClient) {
this.llmClient = llmClient;
}
async generate(originalPrompt, options) {
const enhancedPrompt = await this.llmClient.call({
systemPrompt: this.systemPrompt,
userPrompt: originalPrompt,
temperature: options.temperature * 0.4,
});
return {
id: this.id,
label: this.label,
description: this.description,
prompt: enhancedPrompt,
icon: this.icon,
};
}
}
//# sourceMappingURL=technical.js.map