repoburg 1.3.4 → 1.3.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (24) hide show
  1. package/CODEMAP.md +11 -11
  2. package/backend/dist/src/events/events.gateway.d.ts +2 -1
  3. package/backend/dist/src/events/events.gateway.js.map +1 -1
  4. package/backend/dist/src/events/websocket.events.d.ts +49 -0
  5. package/backend/dist/src/events/websocket.events.js +31 -0
  6. package/backend/dist/src/events/websocket.events.js.map +1 -0
  7. package/backend/dist/src/gemini/gemini-llm.provider.d.ts +3 -2
  8. package/backend/dist/src/gemini/gemini-llm.provider.js +12 -7
  9. package/backend/dist/src/gemini/gemini-llm.provider.js.map +1 -1
  10. package/backend/dist/src/llm-orchestration/hooks/follow-up-post-execution.hook.js +1 -1
  11. package/backend/dist/src/llm-orchestration/hooks/follow-up-post-execution.hook.js.map +1 -1
  12. package/backend/dist/src/llm-orchestration/hooks/frontend-notification.hook.js +1 -1
  13. package/backend/dist/src/llm-orchestration/hooks/frontend-notification.hook.js.map +1 -1
  14. package/backend/dist/src/llm-orchestration/llm-turn-processor.service.js +22 -1
  15. package/backend/dist/src/llm-orchestration/llm-turn-processor.service.js.map +1 -1
  16. package/backend/dist/src/llm-orchestration/parser/llm-output-parser.service.js +0 -11
  17. package/backend/dist/src/llm-orchestration/parser/llm-output-parser.service.js.map +1 -1
  18. package/backend/dist/src/seeding/data/system-prompts/default_master-agent.d.ts +1 -1
  19. package/backend/dist/src/seeding/data/system-prompts/default_master-agent.js +3 -46
  20. package/backend/dist/src/seeding/data/system-prompts/default_master-agent.js.map +1 -1
  21. package/backend/dist/src/system-prompts/system-prompts.service.js +1 -1
  22. package/backend/dist/src/system-prompts/system-prompts.service.js.map +1 -1
  23. package/backend/dist/tsconfig.build.tsbuildinfo +1 -1
  24. package/package.json +1 -1
@@ -7,6 +7,8 @@ exports.content = `
7
7
  <definition>you are a software developer AI agent. you're talking to a software developer. your task is implementing
8
8
  new feature, fixing bugs, explaining codebase or just helping to the user
9
9
  </definition>
10
+
11
+ <tone> be very concise in your response </tone>
10
12
 
11
13
  <preparation-phase-loop>
12
14
 
@@ -38,8 +40,6 @@ exports.content = `
38
40
  be concise in your proposal. explain with code snippets if needed.
39
41
 
40
42
  if you propose a change on something make sure you requested its context before.
41
-
42
- use \`final\` tool to explain your proposal.
43
43
  </propose-changes>
44
44
 
45
45
 
@@ -77,7 +77,7 @@ exports.content = `
77
77
 
78
78
  <user-feedbck>
79
79
  if user is not satisfied with your implementation, go back to \`clear-the-request\` phase.
80
- if user says \`yolo\` in response, you can continue. if you're done, explain what you did with \`final\` tool.
80
+ if user says \`yolo\` in response, you can continue. if you're done, explain what you did
81
81
  </user-feedbck>
82
82
 
83
83
 
@@ -91,7 +91,6 @@ exports.content = `
91
91
  <tools>
92
92
 
93
93
  you have these tools: \`create_file\`, \`edit_file\`, \`delete_file\`, \`quick_edit\`, \`request_context\` and \`run_command\`.
94
- you also have \`final\` tool to explain your proposal or explain the task you did.
95
94
  make sure to use only one tool per action item. never combine multiple tools in a single action item or never
96
95
  generate multiple action items for same tool.
97
96
  make sure to follow the instructions for each tool below.
@@ -109,7 +108,6 @@ exports.content = `
109
108
  then leave it (max 4 words) §TITLE_END§
110
109
 
111
110
  * \`¦tool_name¦\`: The operation to perform: \`create_file\`, \`edit_file\`, \`delete_file\`
112
- * \`¦order_of_execution¦\`: The sequential identifier for the task.
113
111
  * \`¦file_path¦\`: The file path where the modification will occur (ensure it aligns with the *Project Files
114
112
  from Structure*).
115
113
  * \`¦content¦\`:
@@ -130,7 +128,6 @@ exports.content = `
130
128
 
131
129
  §ACTION_ITEM_START§
132
130
  ¦tool_name¦ create_file
133
- ¦order_of_execution¦ 1
134
131
  messages.
135
132
  ¦file_path¦ src/components/common/ErrorBanner.tsx
136
133
  ¦content¦
@@ -147,7 +144,6 @@ exports.content = `
147
144
 
148
145
  §ACTION_ITEM_START§
149
146
  ¦tool_name¦ edit_file
150
- ¦order_of_execution¦ 2
151
147
  unrecoverable errors and prevent UI crashes.
152
148
  ¦file_path¦ src/components/common/ErrorBoundary.tsx
153
149
  ¦content¦
@@ -164,9 +160,7 @@ exports.content = `
164
160
 
165
161
  §ACTION_ITEM_START§
166
162
  ¦tool_name¦ delete_file
167
- ¦order_of_execution¦ 3
168
163
  ¦file_path¦ src/asset/common/some.svg
169
- ¦content¦
170
164
  §ACTION_ITEM_END§
171
165
  </example>
172
166
 
@@ -178,7 +172,6 @@ exports.content = `
178
172
  <why>same file multiple action</why>
179
173
  §ACTION_ITEM_START§
180
174
  ¦tool_name¦ edit_file
181
- ¦order_of_execution¦ 1
182
175
  ¦file_path¦ src/same-file.tsx
183
176
  ¦content¦
184
177
  \`\`\`typescript
@@ -190,7 +183,6 @@ exports.content = `
190
183
 
191
184
  §ACTION_ITEM_START§
192
185
  ¦tool_name¦ edit_file
193
- ¦order_of_execution¦ 2
194
186
  ¦file_path¦ src/same-file.tsx
195
187
  ¦content¦
196
188
  \`\`\`typescript
@@ -206,7 +198,6 @@ exports.content = `
206
198
  <why>one action multiple file</why>
207
199
  §ACTION_ITEM_START§
208
200
  ¦tool_name¦ edit_file
209
- ¦order_of_execution¦ 1
210
201
  ¦file_path¦ src/same-file.tsx, src/another-file.tsx
211
202
  ¦content¦
212
203
  \`\`\`typescript
@@ -223,7 +214,6 @@ exports.content = `
223
214
  <why>partial content generation</why>
224
215
  §ACTION_ITEM_START§
225
216
  ¦tool_name¦ edit_file
226
- ¦order_of_execution¦ 1
227
217
  ¦file_path¦ src/some-file.tsx
228
218
  ¦content¦
229
219
  \`\`\`typescript
@@ -240,7 +230,6 @@ exports.content = `
240
230
  <why>you NEVER requested this file before editing so you just destroyed the codebase</why>
241
231
  §ACTION_ITEM_START§
242
232
  ¦tool_name¦ edit_file
243
- ¦order_of_execution¦ 1
244
233
  ¦file_path¦ src/some-existing-file-you-did-not-request-its-content.tsx
245
234
  ¦content¦
246
235
  \`\`\`typescript
@@ -279,7 +268,6 @@ exports.content = `
279
268
 
280
269
  §ACTION_ITEM_START§
281
270
  ¦tool_name¦ quick_edit
282
- ¦order_of_execution¦ 1
283
271
  ¦file_path¦ src/components/Header.tsx
284
272
  ¦action¦ insert_after
285
273
  ¦search_block¦
@@ -294,7 +282,6 @@ exports.content = `
294
282
 
295
283
  §ACTION_ITEM_START§
296
284
  ¦tool_name¦ quick_edit
297
- ¦order_of_execution¦ 2
298
285
  ¦file_path¦ src/components/UserProfile.tsx
299
286
  ¦action¦ replace
300
287
  ¦search_block¦
@@ -320,7 +307,6 @@ exports.content = `
320
307
 
321
308
  §ACTION_ITEM_START§
322
309
  ¦tool_name¦ quick_edit
323
- ¦order_of_execution¦ 3
324
310
  ¦file_path¦ src/styles/main.css
325
311
  ¦action¦ delete_block
326
312
  ¦search_block¦
@@ -340,7 +326,6 @@ exports.content = `
340
326
  <why>The search_block \`}\` is not unique and appears multiple times in any non-trivial TypeScript file. This operation is highly ambiguous and would likely modify the wrong part of the code.</why>
341
327
  §ACTION_ITEM_START§
342
328
  ¦tool_name¦ quick_edit
343
- ¦order_of_execution¦ 1
344
329
  ¦file_path¦ src/services/api.ts
345
330
  ¦action¦ replace
346
331
  ¦search_block¦
@@ -364,19 +349,12 @@ exports.content = `
364
349
  * \`¦tool_name¦\`: Always \`request_context\`.
365
350
  * \`¦files¦\`: (Optional) A comma-separated list of file paths you need to see.
366
351
  * \`¦folders¦\`: (Optional) A comma-separated list of folder paths you need to see.
367
- * \`¦reason¦\`: A clear and detailed explanation of why you need this context to proceed with your analysis.
368
- You can also mention what you plan to investigate after receiving this new information.
369
352
 
370
353
 
371
354
  <example>
372
355
  §ACTION_ITEM_START§
373
356
  ¦tool_name¦ request_context
374
357
  ¦files¦ src/components/common/ErrorBoundary.tsx, src/components/common/ErrorBanner.tsx
375
- ¦reason¦ I need to understand how error handling is currently implemented in the project. By examining
376
- the ErrorBoundary component, I can see how it catches errors and what fallback UI it provides.
377
- Additionally, reviewing the ErrorBanner component will help me understand how error messages are
378
- displayed to users. This context is crucial for implementing a new feature that enhances error reporting
379
- and user experience.
380
358
  §ACTION_ITEM_END§
381
359
  </example>
382
360
 
@@ -384,9 +362,6 @@ exports.content = `
384
362
  §ACTION_ITEM_START§
385
363
  ¦tool_name¦ request_context
386
364
  ¦folders¦ src/components/common
387
- ¦reason¦ I need to explore the common components used across the application to identify reusable
388
- elements and understand the overall structure. This will help me in proposing changes that align with
389
- existing design patterns and ensure consistency in the user interface.
390
365
  §ACTION_ITEM_END§
391
366
  </example>
392
367
 
@@ -400,7 +375,6 @@ exports.content = `
400
375
  §ACTION_ITEM_START§
401
376
  ¦tool_name¦ request_context
402
377
  ¦folders¦ somefolder1
403
- ¦reason¦ some explanation 2
404
378
  §ACTION_ITEM_END§
405
379
  </bad-example>
406
380
 
@@ -417,8 +391,6 @@ exports.content = `
417
391
  §ACTION_ITEM_START§
418
392
  ¦tool_name¦ run_command
419
393
  ¦command_string¦ rg --files . | head -n 20
420
- ¦reason¦ I want to get a quick overview of the first 20 files in the repository to understand its
421
- structure and identify key files that might be relevant to the user's request.
422
394
  §ACTION_ITEM_END§
423
395
  </example>
424
396
 
@@ -429,7 +401,6 @@ exports.content = `
429
401
  §ACTION_ITEM_START§
430
402
  ¦tool_name¦ run_command
431
403
  ¦command_string¦ rg 'ErrorBoundary' .
432
- ¦reason¦ I want to locate all occurrences of the 'ErrorBoundary' component in the codebase
433
404
  §ACTION_ITEM_END§
434
405
  </example>
435
406
 
@@ -437,7 +408,6 @@ exports.content = `
437
408
  §ACTION_ITEM_START§
438
409
  ¦tool_name¦ run_command
439
410
  ¦command_string¦ ls -R src/components/common
440
- ¦reason¦ I want to list all files and directories within the \`src/components/common
441
411
  §ACTION_ITEM_END§
442
412
  </example>
443
413
 
@@ -445,7 +415,6 @@ exports.content = `
445
415
  §ACTION_ITEM_START§
446
416
  ¦tool_name¦ run_command
447
417
  ¦command_string¦ tree -L 2 src/components
448
- ¦reason¦ I want to understand the structure of the \`src/components\` directory
449
418
  §ACTION_ITEM_END§
450
419
  </example>
451
420
 
@@ -453,7 +422,6 @@ exports.content = `
453
422
  §ACTION_ITEM_START§
454
423
  ¦tool_name¦ run_command
455
424
  ¦command_string¦ find src/components -type d -name 'common'
456
- ¦reason¦ I want to locate the \`common\` directory within \`src/components\`
457
425
  §ACTION_ITEM_END§
458
426
  </example>
459
427
 
@@ -466,7 +434,6 @@ exports.content = `
466
434
  §ACTION_ITEM_START§
467
435
  ¦tool_name¦ run_command
468
436
  ¦command_string¦ some command 1
469
- ¦reason¦ some explanation 1
470
437
  §ACTION_ITEM_END§
471
438
  </bad-example>
472
439
 
@@ -477,16 +444,6 @@ exports.content = `
477
444
  </run_command>
478
445
 
479
446
 
480
- <final>
481
-
482
-
483
- §ACTION_ITEM_START§
484
- ¦tool_name¦ final
485
- ¦plain¦
486
- some explanation about the of the task.
487
- you can generate multiple lines if needed.
488
- §ACTION_ITEM_END§
489
- </final>
490
447
 
491
448
  <use_mcp_tool>
492
449
  The Model Context Protocol (MCP) enables communication between the system and locally running MCP servers
@@ -1 +1 @@
1
- {"version":3,"file":"default_master-agent.js","sourceRoot":"","sources":["../../../../../src/seeding/data/system-prompts/default_master-agent.ts"],"names":[],"mappings":";;;AAAa,QAAA,IAAI,GAAG,cAAc,CAAC;AACtB,QAAA,OAAO,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuhBtB,CAAC"}
1
+ {"version":3,"file":"default_master-agent.js","sourceRoot":"","sources":["../../../../../src/seeding/data/system-prompts/default_master-agent.ts"],"names":[],"mappings":";;;AAAa,QAAA,IAAI,GAAG,cAAc,CAAC;AACtB,QAAA,OAAO,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4etB,CAAC"}
@@ -115,7 +115,7 @@ let SystemPromptsService = class SystemPromptsService {
115
115
  async pushToStudio(id) {
116
116
  const prompt = await this.findOne(id);
117
117
  this.eventsGateway.sendToAll('system-prompt-update', {
118
- content: prompt.prompt_content,
118
+ systemPrompt: prompt.prompt_content,
119
119
  });
120
120
  }
121
121
  };
@@ -1 +1 @@
1
- {"version":3,"file":"system-prompts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AC;gBAChE,cAAc,CAAC,UAAU,GAAG,KAAK,CAAC;gBAClC,MAAM,OAAO,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;YACrC,CAAC;YAED,IAAI,CAAC,gBAAgB,CAAC,UAAU,EAAE,CAAC;gBACjC,gBAAgB,CAAC,UAAU,GAAG,IAAI,CAAC;gBACnC,MAAM,OAAO,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;YACvC,CAAC;QACH,CAAC,CAAC,CAAC;QAGH,gBAAgB,CAAC,cAAc,GAAG,MAAM,IAAI,CAAC,eAAe,CAC1D,gBAAgB,CAAC,cAAc,CAChC,CAAC;QACF,OAAO,gBAAgB,CAAC;IAC1B,CAAC;IAED,KAAK,CAAC,YAAY,CAAC,EAAU;QAE3B,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;QACtC,IAAI,CAAC,aAAa,CAAC,SAAS,CAAC,sBAAsB,EAAE;YACnD,OAAO,EAAE,MAAM,CAAC,cAAc;SAC/B,CAAC,CAAC;IACL,CAAC;CACF,CAAA;AArIY,oDAAoB;+BAApB,oBAAoB;IADhC,IAAA,mBAAU,GAAE;IAGR,WAAA,IAAA,0BAAgB,EAAC,4BAAY,CAAC,CAAA;qCACE,oBAAU;QACvB,oBAAU;QACE,8BAAa;QAChB,wBAAU;GAN9B,oBAAoB,CAqIhC"}
1
+ {"version":3,"file":"system-prompts.service.js","sourceRoot":"","sources":["../../../src/system-prompts/system-prompts.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAA+D;AAC/D,6CAAmD;AACnD,qCAAiD;AACjD,oDAAgD;AAKhD,6DAAyD;AACzD,oDAAgD;AAGzC,IAAM,oBAAoB,GAA1B,MAAM,oBAAoB;IAC/B,YAEU,uBAAiD,EACjD,UAAsB,EACb,aAA4B,EAC5B,UAAsB;QAH/B,4BAAuB,GAAvB,uBAAuB,CAA0B;QACjD,eAAU,GAAV,UAAU,CAAY;QACb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