codacus commited on
Commit
fd193ee
·
2 Parent(s): d327cfe fce8999

Merge branch 'main' into terminal-error-detection

Browse files
Files changed (5) hide show
  1. app/commit.json +1 -1
  2. app/routes/api.enhancer.ts +1 -26
  3. changelog.md +13 -253
  4. docs/docs/FAQ.md +5 -0
  5. package.json +1 -1
app/commit.json CHANGED
@@ -1 +1 @@
1
- { "commit": "42bde1cae43de887a6bc5a72f6352a63f65677e6" }
 
1
+ { "commit": "d327cfea2958c1cf2e053b01c4964daf5adcad22" }
app/routes/api.enhancer.ts CHANGED
@@ -5,9 +5,6 @@ import { streamText } from '~/lib/.server/llm/stream-text';
5
  import { stripIndents } from '~/utils/stripIndent';
6
  import type { IProviderSetting, ProviderInfo } from '~/types/model';
7
 
8
- const encoder = new TextEncoder();
9
- const decoder = new TextDecoder();
10
-
11
  export async function action(args: ActionFunctionArgs) {
12
  return enhancerAction(args);
13
  }
@@ -107,29 +104,7 @@ async function enhancerAction({ context, request }: ActionFunctionArgs) {
107
  providerSettings,
108
  });
109
 
110
- const transformStream = new TransformStream({
111
- transform(chunk, controller) {
112
- const text = decoder.decode(chunk);
113
- const lines = text.split('\n').filter((line) => line.trim() !== '');
114
-
115
- for (const line of lines) {
116
- try {
117
- const parsed = JSON.parse(line);
118
-
119
- if (parsed.type === 'text') {
120
- controller.enqueue(encoder.encode(parsed.value));
121
- }
122
- } catch (e) {
123
- // skip invalid JSON lines
124
- console.warn('Failed to parse stream part:', line, e);
125
- }
126
- }
127
- },
128
- });
129
-
130
- const transformedStream = result.toDataStream().pipeThrough(transformStream);
131
-
132
- return new Response(transformedStream, {
133
  status: 200,
134
  headers: {
135
  'Content-Type': 'text/plain; charset=utf-8',
 
5
  import { stripIndents } from '~/utils/stripIndent';
6
  import type { IProviderSetting, ProviderInfo } from '~/types/model';
7
 
 
 
 
8
  export async function action(args: ActionFunctionArgs) {
9
  return enhancerAction(args);
10
  }
 
104
  providerSettings,
105
  });
106
 
107
+ return new Response(result.textStream, {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
108
  status: 200,
109
  headers: {
110
  'Content-Type': 'text/plain; charset=utf-8',
changelog.md CHANGED
@@ -1,271 +1,31 @@
1
- # Release v0.0.2
2
-
3
- ### 🔄 Changes since v0.0.1
4
-
5
- #### ✨ Features
6
-
7
- - add unit configuration to uno.config.ts
8
- - added perplexity model
9
- - Experimental Prompt Library Added
10
- - start update by branch
11
 
 
12
 
13
  #### 🐛 Bug Fixes
14
 
15
- - added more controlled rate for code streaming
16
- - handle conflicts between input method engine and enter key
17
- - LM Studio sending messgae
18
- - adjust intro section margin and textarea outline style in BaseChat component
19
- - commit-file-ignore
20
- - lm studio fix
21
- - start new chat icon
22
- - removed context optimization temporarily, to be moved to optional from menu
23
 
24
 
25
- #### ♻️ Code Refactoring
26
 
27
- - remove unused React import in ImportButtons component
28
- - simplify GitCloneButton component by removing unused tooltip and streamlining button structure
29
 
30
 
31
  #### 🔧 Chores
32
 
33
- - update commit hash to 7bafd2a5d67dce70d15b77201ef8de9745efab61
34
- - update commit hash to e5ecb0b7d5e0fb53f13654689cebd8eb99b10578
35
- - update commit hash to 8f15c81f37f36667fe796b1f75d0003a7c0f395b
36
- - update commit hash to d13da30bda2d10eb2da42113493625cd55e0d34d
37
- - update commit hash to dd296ab00d4d51ea0bc30ebe9aed0e6632feb37a
38
- - update commit hash to eeafc12522b184dcbded28c5c6606e4a23e6849f
39
- - update commit hash to d479daa5781a533c68a6f9ffdb3b919914c9305e
40
- - update commit hash to 5773b1e271c8effec20ff1c10a759d9a654a2a94
41
- - update commit hash to 5f3405151043b3c32da7acc6353247a5508969b3
42
- - update commit hash to 5f3405151043b3c32da7acc6353247a5508969b3
43
- - update commit hash to 0c899e430a4d33e78e3e44ebf7100b5da14eda3f
44
- - update commit hash to 1d64a15ed0110fc62091b1dca90139de9fb9fdb4
45
- - update commit hash to d1fa70fc97dc7839ea8cd005feb03266f201cf4f
46
- - update commit hash to 1e04ab38b07e82852626b164890f4a6df1f98cef
47
- - update commit hash to 8c4397a19f3eab2382082a39526d66385e9d2a49
48
- - update commit hash to 55094392cf4c5bc607aff796680ad50236a4cf20
49
- - update commit hash to 9666b2ab67d25345542722ab9d870b36ad06252e
50
- - update commit hash to 6a5ed21c0fed92a8c842b683bf9a430901e6bb05
51
- - update commit hash to 4af18c069f2429ffaf410d92702a1e1294af2628
52
- - update commit hash to a71cfba660f04a8440960ab772670b192e2d066f
53
- - update commit hash to 4f02887565e13eeaabbfb6f699cbe089e802338f
54
- - update commit hash to f27f7bba5132346db18e70e514a6a6202d6ab634
55
- - update commit hash to eb53146937cbe49a84aaaaa59882df6db4a1e459
56
- - update commit hash to 4f10fb1294e11cf8f5a68b30a1e85acdf65ffcbc
57
- - update commit hash to 43370f515df1184be2fb54db637a73bb683d6d86
58
- - update commit hash to ece0213500a94a6b29e29512c5040baf57884014
59
- - update commit hash to b06f6e3a3e7e5b2b5f8d9b13a761422993559f3e
60
- - update commit hash to 25fe15232fcd6cee83f179adbd1d3e7d6a90acca
61
- - update commit hash to a87cfd79503a62db2be00656f4874ec747d76a09
62
- - update commit hash to 7c3a3bbde6c61f374a6d37c888c6900a335e3d33
63
- - update commit hash to d936c012bdeb210ee876be1941ef8e370ea0b2e3
64
- - update commit hash to b3f7a5c3785060c7937dcd681b38f17b5396fc84
65
- - update commit hash to 23346f6271bf2f438489660357e6ffee803befb1
66
- - update commit hash to 9cd9ee9088467882e1e4efdf491959619307cc9d
67
- - update commit hash to 87a90718d31bd8ec501cb32f863efd26156fb1e2
68
- - update commit hash to e223e9b6af1f6f31300fd7ed9ce498236cedd5dc
69
- - update commit hash to 4016f54933102bf67336b8ae58e14673dfad72ee
70
- - update commit hash to 1e7c3a4ff8f3153f53e0b0ed7cb13434825e41d9
71
- - update commit hash to d75899d737243cd7303704adef16d77290de5a0b
72
- - update commit hash to b5867835f5da5c93bd9a8376df9e9d32b97acff5
73
- - update commit hash to d22b32ae636b9f134cdb5f96a10e4398aa2171b7
74
- - update commit hash to d9b2801434011b60dca700c19cabd0652f31f8e4
75
- - update commit hash to 0157fddc76fd5eebc545085e2c3c4ab37d9ca925
76
- - update commit hash to 810cc81a16955eebec943f7d504749dbcbb85b25
77
- - update commit hash to d3727459aa594505efd0cef58c4218eaf48d5baf
78
- - update commit hash to 6ba93974a02a98c83badf2f0002ff4812b8f75a9
79
- - update commit hash to 960f532f8234663d0b3630d18033c959fac6882c
80
- - update commit hash to 77073a5e7f759ae8e5752628131d0c56df6b5c34
81
- - update commit hash to 78505ed2f347dd3a7778b4c1c7c38c89ecacedd3
82
- - update commit hash to f752bf7da532ec6196dafff1c388250d44db4de5
83
- - update commit hash to 995fb81ac7a03eb1a6d1c56cf2fc92a60028c024
84
- - update commit hash to 8aee6ebf477c08d896b4419fbdeb670cc2bb8f29
85
- - update commit hash to 6987ceae9e1e91bec301f9e25ed9e8e03449d806
86
- - update commit hash to eb1d5417e77e699e0489f09814e87fb5afed9dd5
87
- - update commit hash to de2cb43d170033c43a6cf436af02e033f66a7e4d
88
- - update commit hash to 49b02dd885919e24a201f07b1a7b0fd0371b4f85
89
- - update commit hash to 43e1f436f57fc4adb43b5481b403967803d4786d
90
- - update commit hash to 0a4ef117ae5d3687b04415e64a22794ea55841d1
91
- - update commit hash to 25b80ab267541b6ea290985dde09863f1a29c85c
92
- - update commit hash to c257129a61e258650b321c19323ddebaf03b0a54
93
 
94
 
95
  #### �� Other Changes
96
 
97
- - Check the render method of SlotClone. #432
98
- - Initial commit for screen cap feature
99
- - Second commit for screen cap feature
100
- - Add 90b llama-3.2 model for better performance
101
- - More selection tool changes
102
- - feat(context optimization):improved context management and redused chat overhead
103
- - added backdrop and loading screen
104
- - basic context menu for folders
105
- - copyPath and copyRelativePath for files and folders
106
- - pnpm lock file
107
- - Refactor to use newver v4 version of Vercel AI package
108
- - removed console logs
109
- - Update README.md
110
- - Update README.md
111
- - Update README.md
112
- - Update README.md
113
- - Merge branch 'main' into context-optimization
114
- - Merge branch 'main' into context-optimization
115
- - added prompt url params
116
- - added support for private github repo through github connections
117
- - Add Logo icons LLM's
118
- - Settings UI enhancement
119
- - Event logs bug fix
120
- - Merge branch 'stackblitz-labs:main' into main
121
- - auto select model on provider disabled
122
- - Update debug tab to check against fork
123
- - debug fixes
124
- - minor bug fixes
125
- - Merge branch 'main' of https://github.com/stackblitz-labs/bolt.diy
126
- - Update commit.json
127
- - Merge branch 'main' of https://github.com/Stijnus/bolt.new-any-llm
128
- - Update commit.json
129
- - Merge pull request #684 from thecodacus/fix-auto-select-model
130
- - ui styles fixed
131
- - Update README.md
132
- - some clean up and added a all log option
133
- - Merge remote-tracking branch 'github-desktop-stijnus/main' into pr/676
134
- - update README.md
135
- - Merge branch 'main' into main
136
- - Merge pull request #676 from Stijnus/main
137
- - Update .gitignore
138
- - Update commit.json
139
- - Merge branch 'main' into fix/start-new-chat-icon
140
- - Merge branch 'main' into fix/ui-enhancements
141
- - Merge pull request #708 from SujalXplores/fix/ui-enhancements
142
- - Update constants.ts
143
- - Merge pull request #578 from thecodacus/context-optimization
144
- - Merge pull request #713 from thecodacus/context-optimization-fix
145
- - merged main
146
- - Merge branch 'main' into feat/image-select-merge
147
- - merge main into image
148
- - Merge pull request #670 from thecodacus/private-github-repo
149
- - Merge branch 'main' into streaming-fixed
150
- - Merge pull request #655 from thecodacus/streaming-fixed
151
- - Update BaseChat.tsx
152
- - Merge pull request #679 from Dlouxgit/main
153
- - Merge branch 'main' into feat/image-select
154
- - merge main
155
- - groq-llama3.3-70b
156
- - Merge branch 'main' into feat/image-select
157
- - Merge pull request #582 from emcconnell/feat/image-select
158
- - update readme
159
- - update readme
160
- - Merge branch 'main' into update-readme
161
- - Merge pull request #722 from emcconnell/update-readme
162
- - Groq Llama 3.2 90B Vision Preview
163
- - Merge
164
- - Setting Modal Changes
165
- - Renamed feature
166
- - combined optional features
167
- - Update DebugTab.tsx
168
- - Update DebugTab.tsx
169
- - Branding updates
170
- - Update DebugTab.tsx
171
- - prompt enhanced toast notification
172
- - Merge branch 'main' into perplexity-models
173
- - Merge pull request #715 from meetpateltech/perplexity-models
174
- - Merge pull request #602 from mark-when/contextMenu2
175
- - Merge pull request #728 from dustinwloring1988/branding/Change-Bolt-to-bolt
176
- - Setting-Menu
177
- - prompt-enhanced-toast
178
- - Merge pull request #726 from dustinwloring1988/ui-ux/features-tab
179
- - fallback icon for provider
180
- - fix-perplexity-icon
181
- - Update README.md
182
- - updated readme
183
- - updated readme
184
- - Perplexity Provider Icon
185
- - perplexity-provider-icon
186
- - README-formatting
187
- - Merge branch 'main' into system-prompt-variations
188
- - update by branch
189
- - Merge branch 'main' into ui-ux/debug-tab
190
- - updated the examples and added strict rules
191
- - Merge branch 'main' into system-prompt-variations
192
- - Update commit.yaml
193
- - Update commit.yaml
194
- - branding update
195
- - updated to use settings for branch selection
196
- - Update useSettings.tsx
197
- - quick fix
198
- - Update FAQ.md
199
- - Update CONTRIBUTING.md
200
- - quick fix
201
- - update-Bolt-to-bolt
202
- - debug-tab
203
- - Update mkdocs.yml
204
- - Update vite.config.ts
205
- - added auto detect branch name and version tag
206
- - Update constants.ts
207
- - Update DebugTab.tsx
208
- - a fav.ico
209
- - favicon-ico
210
- - fix
211
- - Merge pull request #753 from dustinwloring1988/fix/lm-studio-fetch-warning
212
- - Merge pull request #751 from dustinwloring1988/fix/v3_lazyRouteDiscovery-warn
213
- - mkdoc-update-names
214
- - mkdoc consistent style
215
- - Merge branch 'main' into system-prompt-variations-local
216
- - Update ConnectionsTab.tsx
217
- - quick fix
218
- - mkdoc-docs-styled
219
- - new section heading
220
- - new section heading
221
- - Make links clickable in docs
222
- - Update CONTRIBUTING.md
223
- - fix clickable links docs
224
- - default provider icon
225
- - default-provider-image
226
- - Another attempt to add toek usage info
227
- - merge
228
- - Lint fix
229
- - updated implementation
230
- - Merge branch 'main' into fix-variable-name
231
- - Merge pull request #755 from thecodacus/fix-variable-name
232
- - Merge branch 'main' into token-usage
233
- - Merge pull request #769 from thecodacus/token-usage
234
- - Merge remote-tracking branch 'upstream/main'
235
- - Merge remote-tracking branch 'origin/main' into system-prompt-variations-local
236
- - Merge branch 'main' into main
237
- - added missing icons for safari
238
- - Merge pull request #760 from Stijnus/main
239
- - Merge branch 'main' into app-fail-safari-fix
240
- - Merge pull request #771 from thecodacus/app-fail-safari-fix
241
- - Merge pull request #433 from DiegoSouzaPW/feature/SlotCloneError
242
- - Merge remote-tracking branch 'upstream/main'
243
- - commit workflow fix
244
- - Merge pull request #772 from thecodacus/commit-workflow-fix
245
- - Merge remote-tracking branch 'upstream/main'
246
- - Merge branch 'main' into system-prompt-variations-local
247
- - Merge pull request #744 from thecodacus/system-prompt-variations
248
- - Merge remote-tracking branch 'upstream/main'
249
- - updated workflow for commit and stable release
250
- - Merge pull request #773 from thecodacus/workflowfix
251
- - Fixed theming of Copy Code button
252
- - Merge branch 'main' into copyMyFix
253
- - Merge remote-tracking branch 'upstream/main'
254
- - minor bugfix
255
- - Merge branch 'minor-bugfix' into bugfix-for-stable
256
- - Merge branch 'main' into prompt-url-params
257
- - Merge pull request #669 from thecodacus/prompt-url-params
258
- - Merge branch 'main' into add-loading-on-git-import-from-url
259
- - added UI fix for loading screen
260
- - Merge branch 'main' into add-loading-on-git-import-from-url
261
- - Merge pull request #597 from thecodacus/add-loading-on-git-import-from-url
262
- - Merge branch 'main' into copyMyFix
263
- - Merge pull request #774 from D-Byte/copyMyFix
264
- - Merge remote-tracking branch 'upstream/main'
265
- - Merge branch 'main' into bugfix-for-stable
266
- - Merge pull request #757 from dustinwloring1988/feat/enhanced-github-connection
267
  - Merge remote-tracking branch 'upstream/main'
268
- - Merge branch 'main' into bugfix-for-stable
 
 
 
269
 
270
 
271
- **Full Changelog**: [`v0.0.1..v0.0.2`](https://github.com/stackblitz-labs/bolt.diy/compare/v0.0.1...v0.0.2)
 
1
+ # Release v0.0.3
 
 
 
 
 
 
 
 
 
2
 
3
+ ### 🔄 Changes since v0.0.2
4
 
5
  #### 🐛 Bug Fixes
6
 
7
+ - Prompt Enhance
 
 
 
 
 
 
 
8
 
9
 
10
+ #### 📚 Documentation
11
 
12
+ - miniflare error knowledge
 
13
 
14
 
15
  #### 🔧 Chores
16
 
17
+ - adding back semantic pull pr check for better changelog system
18
+ - update commit hash to 1e72d52278730f7d22448be9d5cf2daf12559486
19
+ - update commit hash to 282beb96e2ee92ba8b1174aaaf9f270e03a288e8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20
 
21
 
22
  #### �� Other Changes
23
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
  - Merge remote-tracking branch 'upstream/main'
25
+ - Merge pull request #781 from thecodacus/semantic-pull-pr
26
+ - miniflare and wrangler error
27
+ - simplified the fix
28
+ - Merge branch 'main' into fix/prompt-enhance
29
 
30
 
31
+ **Full Changelog**: [`v0.0.2..v0.0.3`](https://github.com/stackblitz-labs/bolt.diy/compare/v0.0.2...v0.0.3)
docs/docs/FAQ.md CHANGED
@@ -72,4 +72,9 @@ Local LLMs like Qwen-2.5-Coder are powerful for small applications but still exp
72
 
73
  ---
74
 
 
 
 
 
 
75
  Got more questions? Feel free to reach out or open an issue in our GitHub repo!
 
72
 
73
  ---
74
 
75
+ ### **"Miniflare or Wrangler errors in Windows"**
76
+ You will need to make sure you have the latest version of Visual Studio C++ installed (14.40.33816), more information here https://github.com/stackblitz-labs/bolt.diy/issues/19.
77
+
78
+ ---
79
+
80
  Got more questions? Feel free to reach out or open an issue in our GitHub repo!
package.json CHANGED
@@ -5,7 +5,7 @@
5
  "license": "MIT",
6
  "sideEffects": false,
7
  "type": "module",
8
- "version": "0.0.2",
9
  "scripts": {
10
  "deploy": "npm run build && wrangler pages deploy",
11
  "build": "remix vite:build",
 
5
  "license": "MIT",
6
  "sideEffects": false,
7
  "type": "module",
8
+ "version": "0.0.3",
9
  "scripts": {
10
  "deploy": "npm run build && wrangler pages deploy",
11
  "build": "remix vite:build",