Dayuan Jiang
d2e79652db
Merge pull request #7 from DayuanJiang/feature/toggle-chat-panel
...
feat: add show/hide chat panel with Ctrl+B shortcut
2025-11-15 12:16:43 +09:00
dayuan.jiang
e53f77a2a6
feat: add show/hide chat panel with Ctrl+B shortcut
...
- Add toggle button in chat panel header
- Implement collapsed state with thin vertical strip
- Add Ctrl+B keyboard shortcut to toggle visibility
- Canvas expands to full width when chat is hidden
- Smooth 300ms transition animation
2025-11-15 12:09:32 +09:00
dayuan.jiang
71f5460418
chore: add support for multiple AI providers in the roadmap
2025-11-13 23:43:14 +09:00
Dayuan Jiang
13c3d11ec1
Merge pull request #6 from DayuanJiang/edit_fallback
...
Add 3-retry policy for edit_diagram with automatic fallback
2025-11-13 23:35:15 +09:00
dayuan.jiang
cb458af371
chore: remove .claude/settings.local.json from git tracking
2025-11-13 23:29:57 +09:00
dayuan.jiang
8c4913d85e
chore: remove ec2-push-script.sh and add to .gitignore
2025-11-13 23:24:50 +09:00
DayuanJiang
8b68e5740a
Auto-commit before push
2025-11-13 14:20:08 +00:00
dayuan.jiang
7b08c7332a
feat: add automatic fallback from edit_diagram to display_diagram with 3-retry policy
...
- Updated system prompt to allow up to 3 retry attempts with adjusted search patterns
- Simplified error response to provide current diagram XML and reference retry policy
- AI model self-manages retries based on system instructions
2025-11-13 22:51:03 +09:00
dayuan.jiang
34de984fb8
docs: update README and add env.example for API key configuration
2025-11-10 19:52:08 +09:00
dayuan.jiang
61aa0937d6
feat: add tool input streaminig
2025-11-10 19:45:59 +09:00
Dayuan Jiang
fa173feb11
Change asset link in README
...
Updated asset link in README.md
2025-11-10 11:42:38 +09:00
Dayuan Jiang
8365f509d3
Update README.md's demo video
2025-11-10 11:41:04 +09:00
dayuan.jiang
6940a5156d
refactor: improve diagram handling and error messaging in chat components
2025-11-10 11:27:25 +09:00
dayuan.jiang
ce45339c0d
fix: enhance file handling and UI improvements in chat and file preview components
2025-11-10 10:28:37 +09:00
dayuan.jiang
93d02a8d44
feat: add mobile detection with desktop-only message
...
Add responsive detection to show a message prompting users to access the application from desktop or laptop when viewing on mobile devices (screen width < 768px)
2025-11-10 09:25:56 +09:00
dayuan.jiang
a3ada79a65
feat: add a image comfirm feature
2025-11-10 09:17:11 +09:00
dayuan.jiang
c1923e84da
minor: add a new example
2025-11-10 09:13:21 +09:00
dayuan.jiang
bd1c113bec
minor: fix prompt
2025-11-10 09:12:30 +09:00
dayuan.jiang
4efbe78d5a
fix: enhance permissions in settings and update .gitignore for local config
2025-11-10 00:00:02 +09:00
dayuan.jiang
d8d0a800fe
fix: update dependencies and add settings for npm permissions
2025-11-09 23:24:15 +09:00
Dayuan Jiang
d34bfa4275
Update README.md
...
update the demo
2025-09-01 10:35:28 +09:00
dayuan.jiang
dc25473724
fix git ignore
2025-08-31 21:39:12 +09:00
dayuan.jiang
3af8087cb2
docs: update README with new features
...
- Add targeted XML editing feature description
- Add improved XML handling feature description
- Mark 'Allow LLM to modify XML' TODO as completed
2025-08-31 20:54:07 +09:00
dayuan.jiang
de2a6938b1
feat: improve XML handling and edit_diagram tool
...
- Add formatXML function to format single-line XML with proper indentation
- Format chartXml after fetching to ensure consistency
- Update replaceXMLParts to handle single-line XML with substring fallback
- Improve edit_diagram tool guidance with SEARCH/REPLACE best practices
- Add concrete examples to help AI use minimal, targeted edits
2025-08-31 20:52:04 +09:00
dayuan.jiang
b110f1cb63
change model back to gpt5
2025-08-31 12:59:29 +09:00
dayuan.jiang
44ec398f30
upgrade to ai-sdk 5
2025-08-31 12:54:14 +09:00
dayuan.jiang
1da5976235
update model to gpt-5
2025-08-19 01:17:17 +00:00
dayuan.jiang
e36aedf2fd
change the model back to gpt4.1
2025-07-31 22:01:24 +00:00
dayuan.jiang
f7da48f132
fix: Prevent focus shift and diagram reversion when typing in chat
2025-07-31 09:32:44 +00:00
dayuan.jiang
7ffd48c215
change model
2025-07-31 08:14:43 +00:00
dayuan.jiang
6c641dbcf9
Feat: Add XML guide to prompt, update model and deps
...
- Integrate `xml_guide.md` into the system prompt to improve diagram generation by providing detailed XML formatting rules.
- Change the default AI model for chat completions to `openai("gpt-4.1")`.
- Update AI SDK packages (`@ai-sdk/amazon-bedrock`, `@ai-sdk/google`, `ai`) and other dependencies.
- Add `bun.lock` to the repository.
2025-05-22 00:44:24 +00:00
dayuan.jiang
932bf102ec
fix: Implement auto-collapse for tool invocation args in chat message display
2025-04-04 02:29:33 +00:00
dayuan.jiang
78f2c4f60c
fix: Integrate smoothStream and enhance chat message display with args handling
2025-04-04 02:10:24 +00:00
dayuan.jiang
aeca1adf89
fix: Add maxDuration constant for chat API route
2025-04-04 01:48:15 +00:00
dayuan.jiang
a44918385a
fix: Enable tool call streaming in chat API route
2025-04-04 01:41:42 +00:00
dayuan.jiang
2d042af02b
fix: Disable tool call streaming in chat API route
2025-04-04 01:28:50 +00:00
dayuan.jiang
8f3c11e0e8
fix: Enhance chat message display with chart handling and import new SDKs
2025-04-04 01:26:16 +00:00
dayuan.jiang
9967ee85ac
chore: update package-lock.json
2025-04-03 23:53:32 +00:00
dayuan.jiang
5060aa957a
chore: Update package-lock.json with new SWC binaries for various platforms
2025-04-03 23:51:23 +00:00
dayuan.jiang
7124bf03e9
minor: add some placeholder
2025-04-03 15:31:13 +00:00
dayuan.jiang
d915318605
add github icon
2025-04-03 15:29:26 +00:00
dayuan.jiang
1e680640b8
feat: Add clipboard paste handling in ChatInput for image uploads
2025-04-03 15:18:14 +00:00
dayuan.jiang
645980fbb6
change model to claud 3.5
2025-04-03 15:10:53 +00:00
dayuan.jiang
bc7ef5c5d4
refactor: Move DiagramProvider to RootLayout for improved context management
2025-03-27 08:24:17 +00:00
dayuan.jiang
008bb9d486
refactor: Simplify Home component layout by integrating DiagramPageLayout functionality directly
2025-03-27 08:17:54 +00:00
dayuan.jiang
0a895fda1e
minor: remove unused function
2025-03-27 08:13:26 +00:00
dayuan.jiang
6c8b5c48a2
refactor: Relocate handleClear Logic: Move the chat and diagram clearing logic to ChatPanel (or a Server Action) and have ChatInput call the onClearChat prop. Introduce a clearDiagram method in DiagramContext.
2025-03-27 08:09:22 +00:00
dayuan.jiang
7e0790d60f
refactor: update setFiles prop type to accept File[] and simplify file handling
2025-03-27 08:02:03 +00:00
dayuan.jiang
34cc437523
refactor: Reduce Prop Drilling & Improve Separation of Concerns:
2025-03-27 07:48:19 +00:00
dayuan.jiang
13ace596d2
refactor: move extractDiagramXML function to utils and remove unused file
2025-03-27 06:45:38 +00:00