Skip to content

Conversation

@daisuke-awaji
Copy link
Collaborator

@daisuke-awaji daisuke-awaji commented Dec 4, 2025

Description of Changes

Agent builder auto generate prompt

Checklist

  • Modified relevant documentation
  • Verified operation in local environment
  • Executed npm run cdk:test and if there are snapshot differences, execute npm run cdk:test:update-snapshot to update snapshots

Related Issues

Please list related issues as much as possible.

Screenshots

  • Add editor/preview toggle buttons for small screen layouts
  • Include new translation keys for "editor" and "preview" labels
  • Hide toggle on large screens where both panels are visible
image image

- Add editor/preview toggle buttons for small screen layouts
- Include new translation keys for "editor" and "preview" labels
- Import PiPencilSimple and PiEye icons for toggle buttons
- Implement activeView state to switch between editor and preview modes
- Hide toggle on large screens where both panels are visible
- Add generate prompt button with streaming AI generation support
- Implement overwrite confirmation dialog for existing prompts
- Extract MCP server config parsing to shared useMCPServers hook
- Add localization strings for prompt generation UI (en/ja)
Add guideline to generate system prompts in the same language as the
provided Name and Description, improving localization support for
non-English users.
- Extend usePromptGeneration hook to parse and return suggested MCP servers
- Add parseMCPServers and extractSystemPrompt helpers for parsing LLM output
- Auto-populate form's MCP servers when AI suggests them via new useEffect
- Simplify hook params by replacing mcpServers/mcpServerConfigs with availableMCPServers
export const MCP_SERVERS_START_MARKER = '<SELECTED_MCP_SERVERS>';
export const MCP_SERVERS_END_MARKER = '</SELECTED_MCP_SERVERS>';
export const SYSTEM_PROMPT_START_MARKER = '<SYSTEM_PROMPT>';
export const SYSTEM_PROMPT_END_MARKER = '</SYSTEM_PROMPT>';
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ストリーム処理的に徐々にテキストボックスに表示しつつ、チェックボックスにも自動入力したいために Cline の内部実装を真似てマーカー戦略にしています。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant