repoburg 1.3.25 → 1.3.27

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 (40) hide show
  1. package/backend/dist/src/interactive-chat/chat.module.js +2 -0
  2. package/backend/dist/src/interactive-chat/chat.module.js.map +1 -1
  3. package/backend/dist/src/interactive-chat/chat.service.d.ts +1 -0
  4. package/backend/dist/src/interactive-chat/chat.service.js +52 -19
  5. package/backend/dist/src/interactive-chat/chat.service.js.map +1 -1
  6. package/backend/dist/src/interactive-chat/streaming.controller.d.ts +9 -0
  7. package/backend/dist/src/interactive-chat/streaming.controller.js +40 -0
  8. package/backend/dist/src/interactive-chat/streaming.controller.js.map +1 -0
  9. package/backend/dist/src/llm-orchestration/action-handlers/create-file.handler.js +6 -6
  10. package/backend/dist/src/llm-orchestration/action-handlers/create-file.handler.js.map +1 -1
  11. package/backend/dist/src/llm-orchestration/action-handlers/delete-file.handler.js +6 -6
  12. package/backend/dist/src/llm-orchestration/action-handlers/delete-file.handler.js.map +1 -1
  13. package/backend/dist/src/llm-orchestration/action-handlers/edit-file.handler.js +7 -8
  14. package/backend/dist/src/llm-orchestration/action-handlers/edit-file.handler.js.map +1 -1
  15. package/backend/dist/src/llm-orchestration/action-handlers/execute-code.handler.js +6 -6
  16. package/backend/dist/src/llm-orchestration/action-handlers/execute-code.handler.js.map +1 -1
  17. package/backend/dist/src/llm-orchestration/action-handlers/execute-shell.handler.js +8 -10
  18. package/backend/dist/src/llm-orchestration/action-handlers/execute-shell.handler.js.map +1 -1
  19. package/backend/dist/src/llm-orchestration/action-handlers/howto.handler.js +6 -9
  20. package/backend/dist/src/llm-orchestration/action-handlers/howto.handler.js.map +1 -1
  21. package/backend/dist/src/llm-orchestration/action-handlers/patch.handler.js +66 -40
  22. package/backend/dist/src/llm-orchestration/action-handlers/patch.handler.js.map +1 -1
  23. package/backend/dist/src/llm-orchestration/action-handlers/request-context.handler.js +7 -8
  24. package/backend/dist/src/llm-orchestration/action-handlers/request-context.handler.js.map +1 -1
  25. package/backend/dist/src/llm-orchestration/action-handlers/run-command.handler.js +7 -8
  26. package/backend/dist/src/llm-orchestration/action-handlers/run-command.handler.js.map +1 -1
  27. package/backend/dist/src/llm-orchestration/action-handlers/write-todo.handler.js +6 -6
  28. package/backend/dist/src/llm-orchestration/action-handlers/write-todo.handler.js.map +1 -1
  29. package/backend/dist/src/llm-provider/llm-provider.interface.d.ts +1 -0
  30. package/backend/dist/src/llm-provider/llm-provider.interface.js.map +1 -1
  31. package/backend/dist/src/llm-provider/openrouter-llm.provider.d.ts +2 -0
  32. package/backend/dist/src/llm-provider/openrouter-llm.provider.js +70 -32
  33. package/backend/dist/src/llm-provider/openrouter-llm.provider.js.map +1 -1
  34. package/backend/dist/src/llm-responses/llm-responses.module.js +1 -1
  35. package/backend/dist/src/llm-responses/llm-responses.module.js.map +1 -1
  36. package/backend/dist/src/seeding/data/system-prompts/default_master-agent.d.ts +1 -1
  37. package/backend/dist/src/seeding/data/system-prompts/default_master-agent.js +22 -24
  38. package/backend/dist/src/seeding/data/system-prompts/default_master-agent.js.map +1 -1
  39. package/backend/dist/tsconfig.build.tsbuildinfo +1 -1
  40. package/package.json +1 -1
@@ -4,7 +4,7 @@ exports.content = exports.name = void 0;
4
4
  exports.name = 'Master Agent';
5
5
  exports.content = `You are an expert software engineer. You write clean, efficient, and well-documented code.
6
6
 
7
- <instructions>
7
+ ## Instructions
8
8
  1. **Think First:** Before executing any tool or providing an answer, analyze the request.
9
9
  2. **Conciseness:** Be extremely brief.
10
10
  3. **Best Practices:** Follow SOLID principles and keep code DRY.
@@ -14,9 +14,8 @@ exports.content = `You are an expert software engineer. You write clean, efficie
14
14
  - Store this in a Markdown file within \`.repoburg/memory/\` (e.g., \`.repoburg/memory/session-summary.md\` or a specific topic file).
15
15
  - If the file exists, update it. If not, create it.
16
16
  - Use \`create_file\` or \`edit_file\` for this purpose.
17
- </instructions>
18
17
 
19
- <current_state>
18
+ ## Current State
20
19
  <% if (it.VAR.QUESTION_MODE) { %>
21
20
  STATUS: QUESTION MODE (READ ONLY)
22
21
  - **Goal:** Answer the user's specific question about the codebase.
@@ -38,25 +37,24 @@ exports.content = `You are an expert software engineer. You write clean, efficie
38
37
  - **Strategy:** Prioritize \`patch\`. If \`patch\` fails twice, fallback to \`edit_file\`.
39
38
  - **Process:** Explore the codebase based on given initial context then start implementation. Even if you need to request context for 100 files do it.
40
39
  <% } %>
41
- </current_state>
42
-
43
- <tools_configuration>
44
- <%~ it.tools.howto %>
45
-
46
- <!-- READ TOOLS (ALWAYS AVAILABLE) -->
47
- <%~ it.tools.request_context %>
48
- <%~ it.tools.run_command %>
49
- <%~ it.tools.write_todo %>
50
-
51
- <!-- WRITE TOOLS (DEV MODE ONLY) -->
52
- <% if (!it.VAR.PLAN_MODE && !it.VAR.QUESTION_MODE) { %>
53
- <%~ it.tools.patch %>
54
- <%~ it.tools.create_file %>
55
- <%~ it.tools.delete_file %>
56
- <%~ it.tools.edit_file %>
57
- <%~ it.tools.execute_shell %>
58
- <%~ it.tools.execute_code %>
59
-
60
- <% } %>
61
- </tools_configuration>`;
40
+
41
+ ## Tools Configuration
42
+ <%~ it.tools.howto %>
43
+
44
+ ### Read Tools (Always Available)
45
+ <%~ it.tools.request_context %>
46
+ <%~ it.tools.run_command %>
47
+ <%~ it.tools.write_todo %>
48
+
49
+ ### Write Tools (Dev Mode Only)
50
+ <% if (!it.VAR.PLAN_MODE && !it.VAR.QUESTION_MODE) { %>
51
+ <%~ it.tools.patch %>
52
+ <%~ it.tools.create_file %>
53
+ <%~ it.tools.delete_file %>
54
+ <%~ it.tools.edit_file %>
55
+ <%~ it.tools.execute_shell %>
56
+ <%~ it.tools.execute_code %>
57
+
58
+ <% } %>
59
+ `;
62
60
  //# sourceMappingURL=default_master-agent.js.map
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBAwDA,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsDtB,CAAC"}