Commit Graph

1618 Commits

Author SHA1 Message Date
Roamin
591c84572d chore(deps): update ai package to 4.3.16 2025-07-05 22:11:06 +00:00
xKevIsDev
9d6ff741d9 feat: enhance error handling for LLM API calls
Add LLM error alert functionality to display specific error messages based on API responses. Introduce new LlmErrorAlertType interface for structured error alerts. Update chat components to manage and display LLM error alerts effectively, improving user feedback during error scenarios.
2025-07-03 11:43:58 +01:00
KevIsDev
46611a8172 refactor: remove developer mode and related components
add glowing effect component for tab tiles
improve tab tile appearance with new glow effect
add 'none' log level and simplify log level handling
simplify tab configuration store by removing developer tabs
remove useDebugStatus hook and related debug functionality
remove system info endpoints no longer needed
2025-07-01 14:26:42 +01:00
KevIsDev
ac9fba59f6 Merge pull request #1821 from xKevIsDev/main
feat: add terminal detachment
2025-07-01 11:09:53 +01:00
KevIsDev
7ce263e0f5 feat: add terminal detachment functionality
implement terminal cleanup when closing tabs or unmounting component

remove unused actionRunner prop across components

delete unused file-watcher utility
2025-07-01 10:53:09 +01:00
KevIsDev
a3fa024686 fix: update template selection prompt instructions
Add explicit instructions about Vite preference and shadcn templates requirement
This has been added due to current shadcn templates using extremely large amounts of tokens at the moment
2025-07-01 10:42:20 +01:00
KevIsDev
d0d9818964 Merge pull request #1770 from xKevIsDev/enhancements
fix: add binary file detection support
2025-06-12 16:24:32 +01:00
KevIsDev
f0ba6388b2 Merge pull request #1757 from xKevIsDev/main
refactor: improve fine-tuned prompt to reduce token usage and set as default
2025-06-11 11:55:05 +01:00
KevIsDev
18f1b251ab fix: add binary file detection support
Add isBinary flag to editor documents to handle binary files appropriately
Update BinaryContent component styling to display properly in the editor
2025-06-09 13:10:21 +01:00
KevIsDev
71f03784ae refactor: improve fine-tuned prompt and set as default
- Refactored the new fine-tuned system prompt to heavily reduce token usage by removing redundent snippets and duplicate instructions while keeping the same strict rules in place.
- Default prompt now uses this system prompt to reduce token usage by default
2025-06-05 00:38:15 +01:00
KevIsDev
5e590aa16a Merge pull request #1748 from xKevIsDev/enhancements
feat: add inspector, design palette and redesign
2025-06-03 11:39:32 +01:00
KevIsDev
41e604c1dc fix: add Cloudflare-compatible GitHub repo fetching
Implement two different methods for fetching repository contents:
1. A new Cloudflare-compatible method using GitHub Contents API with batch processing
2. The existing zip-based method for non-Cloudflare environments

The changes include better error handling, environment detection, and support for GitHub tokens from both Cloudflare context and process.env. Also added size limits and filtering for large files while allowing lock files.
2025-06-02 15:46:05 +01:00
KevIsDev
33e0860468 fix: resolve conflicts 2025-06-02 11:39:49 +01:00
KevIsDev
9e64c2cccf feat: add frosted glass feature option
- Add 'Frosted Glass' to design features list in design-scheme.ts
- Implement visual styling for frosted glass feature in ColorSchemeDialog
- Adjust sidebar button margin in Workbench for better spacing
2025-06-02 11:12:33 +01:00
KevIsDev
e40264ea5e Merge pull request #1735 from xKevIsDev/main
feat: add discuss mode and quick actions
2025-05-30 14:48:42 +01:00
KevIsDev
f79bf06e38 refactor: modify markdown append message content structure to use array format
Change the message content from a plain string to an array of objects with type and text fields to support future extensibility of message formats
2025-05-30 14:45:05 +01:00
KevIsDev
f0c0bf2b9a refactor: reorganize design instructions and improve clarity
- Move user provided design scheme section to be grouped with other design instructions
- update user message icon color to use accent-500
- Enhance wording for better professionalism and clarity in design scheme usage
2025-05-30 14:39:20 +01:00
KevIsDev
5838d7121a feat: add element inspector with chat integration
- Implement element inspector tool for preview iframe with hover/click detection
- Add inspector panel UI to display element details and styles
- Integrate selected elements into chat messages for reference
- Style improvements for chat messages and scroll behavior
- Add inspector script injection to preview iframe
- Support element selection and context in chat prompts
-Redesign Messgaes, Workbench and Header for a more refined look allowing more workspace in view
2025-05-30 13:16:53 +01:00
KevIsDev
6c4b4204e3 refactor: remove 'shadow' from default features
The 'shadow' feature was removed from the default design scheme as it's not commonly used and simplifies the default configuration
2025-05-29 11:44:42 +01:00
KevIsDev
367c16fe43 fix: update default color palette to better align with bolt
Change primary and neutral colors to better suit bolts design
2025-05-29 00:08:16 +01:00
KevIsDev
cd37599f3b feat(design): add design scheme support and UI improvements
- Implement design scheme system with palette, typography, and feature customization
- Add color scheme dialog for user customization
- Update chat UI components to use design scheme values
- Improve header actions with consolidated deploy and export buttons
- Adjust layout spacing and styling across multiple components (chat, workbench etc...)
- Add model and provider info to chat messages
- Refactor workbench and sidebar components for better responsiveness
2025-05-28 23:49:51 +01:00
KevIsDev
0017d29154 fix: add model and provider info to quick action messages
Pass model and provider information through chat components to include in quick action messages. This fixes the issue of defaulting to anthropic model.
2025-05-28 12:32:00 +01:00
KevIsDev
05d7ef0ab5 Update README.md 2025-05-27 12:30:58 +01:00
KevIsDev
12f9f4dcdc fix: remove unused isStreaming prop from quickActions
The isStreaming prop was passed through multiple chat components but wasn't being strict enough in the Markdown component where it was ultimately passed causing the quick actions to be disabled.
2025-05-27 12:14:50 +01:00
KevIsDev
de0a41b5f1 feat: add streaming state to markdown quick actions
- Pass isStreaming prop through message components to disable actions during streaming
- Improve action button styling with icons and better spacing
- Disable buttons while streaming to prevent concurrent actions
2025-05-26 17:57:10 +01:00
KevIsDev
74605e96e3 Merge branch 'stackblitz-labs:main' into main 2025-05-26 16:48:14 +01:00
KevIsDev
b6992fe3a9 Merge pull request #1736 from stackblitz-labs/revert-1725-fix/docker-oom
revert: "fix: increase Node.js memory limit in Docker build"
2025-05-26 16:46:28 +01:00
KevIsDev
c64f69b01d Revert "fix: increase Node.js memory limit in Docker build" 2025-05-26 16:43:31 +01:00
KevIsDev
05aa553957 Merge branch 'stackblitz-labs:main' into main 2025-05-26 16:41:16 +01:00
KevIsDev
c008c7a557 Merge pull request #1725 from ssuvamm/fix/docker-oom
fix: increase Node.js memory limit in Docker build
2025-05-26 16:39:52 +01:00
KevIsDev
2e7b626b00 feat: add discuss mode and quick actions
- Implement discuss mode toggle and UI in chat box
- Add quick action buttons for file, message, implement and link actions
- Extend markdown parser to handle quick action elements
- Update message components to support discuss mode and quick actions
- Add discuss prompt for technical consulting responses
- Refactor chat components to support new functionality

The changes introduce a new discuss mode that allows users to switch between code implementation and technical discussion modes. Quick action buttons provide immediate interaction options like opening files, sending messages, or switching modes.
2025-05-26 16:05:51 +01:00
google-labs-jules[bot]
927d8bc635 Fix: Increase Node.js memory limit in Docker build
The Docker build process was failing with an out-of-memory error during the `pnpm run build` step in the `bolt-ai-production` stage.

This commit increases the memory available to Node.js by modifying the build command to include the `--max-old-space-size=4096` flag. This provides 4GB of memory to the Node.js process, which should be sufficient to complete the build.
2025-05-21 04:48:37 +00:00
KevIsDev
f0aa58c922 Merge pull request #1708 from xKevIsDev/main
fix: various performance issues
2025-05-20 01:18:15 +01:00
KevIsDev
cfc2fc75d8 refactor(files): simplify file event processing logic
Remove redundant checks for deleted paths and streamline binary file handling. This fixes the browser using excessive memory and freezing.

Improve DiffView to use a singleton instance of Shiki
2025-05-20 00:57:52 +01:00
KevIsDev
0ec30e2358 Merge branch 'stackblitz-labs:main' into main 2025-05-19 17:35:04 +01:00
KevIsDev
50a5196477 Merge pull request #1721 from dhensen/anthropic-experiment-128k-max-token-output
feat: increase max token limit for Claude model claude-3-7-sonnet-202…
2025-05-19 11:19:27 +01:00
KevIsDev
62769b2fef fix: chat history snapshot logic to use the same ID as chat and update prompt instructions
- Remove redundant `_chatId` parameter in `takeSnapshot` function
- Update prompt instructions for shell commands and artifact handling
2025-05-14 11:54:51 +01:00
jawshoeadan
4c65316eb5 Update README.md 2025-05-13 09:47:54 +02:00
Dino Hensen
208ba2a54b feat: increase max token limit for Claude model claude-3-7-sonnet-20250219
- Added logging for dynamic max tokens based on model details.
- Increased max token limit for Claude model from 8000 to 128000.
- Included beta header for Anthropik API call.
2025-05-13 07:20:38 +02:00
github-actions[bot]
dac37b4344 chore: release version 1.0.0 2025-05-12 01:53:52 +00:00
KevIsDev
ebd840263c fix: replace non existent icons with existing icons #release:major 2025-05-12 02:51:05 +01:00
KevIsDev
553fa5d138 fix: revert back to previous commit 2025-05-12 02:43:08 +01:00
KevIsDev
a76013f031 ci: reorder steps and add env vars for Electron build #release:major 2025-05-12 02:17:11 +01:00
KevIsDev
e9df523a79 fix: icon classes to existing icons #release:major
- Replace specific file type icons that are non existent with generic 'file-code' icon.
2025-05-12 01:50:28 +01:00
KevIsDev
5630be7f54 Revert "fix: fix icon classes for consistency and clarity #release:major"
This reverts commit 6e9a1b6874.
2025-05-12 01:44:51 +01:00
KevIsDev
6e9a1b6874 fix: fix icon classes for consistency and clarity #release:major
- Replace specific file type icons that are non existent with generic 'file-code' icon.
2025-05-12 01:37:03 +01:00
KevIsDev
73442dde87 ci: add Electron build process to release workflow
Add steps to build and upload Electron app artifacts as part of the release workflow. This includes setting up Node.js, installing dependencies, and building the app for different platforms (Windows, macOS, Linux). The built artifacts are then uploaded as release assets.
2025-05-12 01:08:34 +01:00
KevIsDev
4354ad45b9 git push origin mainRevert "fix: fix icon classes for consistency and clarity #release:major"
This reverts commit 870828d551.
2025-05-12 00:15:16 +01:00
github-actions[bot]
e6fd901e55 chore: release version 1.0.0 2025-05-11 23:03:05 +00:00
KevIsDev
870828d551 fix: fix icon classes for consistency and clarity #release:major
- Replace specific file type icons that are non existent with generic 'file-code' icon.

- We now Include the electron builds with each release only
2025-05-12 00:02:28 +01:00