feat: add LexAI status bar and suggestion panel
Some checks failed
CI — Test & Build / Test & Build (push) Has been cancelled

- Implemented a status bar item for LexAI with dynamic status updates (ready, processing, notReady).
- Created a suggestion panel for displaying and interacting with AI-generated suggestions.
- Added functionality for accepting, regenerating, and discarding suggestions within the suggestion zone.
- Introduced configuration options for writing style, prompt patterns, personas, and formats.
- Integrated progress indicators for long-running tasks and improved user feedback.
- Established TypeScript configuration for the vscode package.
This commit is contained in:
john kevin asprec
2026-08-13 18:06:45 +08:00
parent fc19ead0a7
commit 8bc529ef2d
84 changed files with 10025 additions and 662 deletions

View File

@@ -115,6 +115,7 @@ function promptParamModifiers(params?: PromptParams): string {
const PROMPT_INVARIANTS =
' Return ONLY the engineered prompt, ready to paste into an AI chat — no explanations, no surrounding quotes, no preamble. ' +
'Keep it self-contained, and use the cheapest structure that meets the goal. ' +
'Format with clear line breaks and short labeled sections (not one long paragraph) so a human can read it easily. ' +
'If the input is missing information the prompt needs, mark it as a [BRACKETED] placeholder rather than inventing facts.';
export function getSystemPrompt(action: string, style?: string, promptParams?: PromptParams): string {