repoburg 1.3.25 → 1.3.26
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.
- package/backend/dist/src/llm-orchestration/action-handlers/create-file.handler.js +6 -6
- package/backend/dist/src/llm-orchestration/action-handlers/create-file.handler.js.map +1 -1
- package/backend/dist/src/llm-orchestration/action-handlers/delete-file.handler.js +6 -6
- package/backend/dist/src/llm-orchestration/action-handlers/delete-file.handler.js.map +1 -1
- package/backend/dist/src/llm-orchestration/action-handlers/edit-file.handler.js +7 -8
- package/backend/dist/src/llm-orchestration/action-handlers/edit-file.handler.js.map +1 -1
- package/backend/dist/src/llm-orchestration/action-handlers/execute-code.handler.js +6 -6
- package/backend/dist/src/llm-orchestration/action-handlers/execute-code.handler.js.map +1 -1
- package/backend/dist/src/llm-orchestration/action-handlers/execute-shell.handler.js +8 -10
- package/backend/dist/src/llm-orchestration/action-handlers/execute-shell.handler.js.map +1 -1
- package/backend/dist/src/llm-orchestration/action-handlers/howto.handler.js +6 -9
- package/backend/dist/src/llm-orchestration/action-handlers/howto.handler.js.map +1 -1
- package/backend/dist/src/llm-orchestration/action-handlers/patch.handler.js +66 -40
- package/backend/dist/src/llm-orchestration/action-handlers/patch.handler.js.map +1 -1
- package/backend/dist/src/llm-orchestration/action-handlers/request-context.handler.js +7 -8
- package/backend/dist/src/llm-orchestration/action-handlers/request-context.handler.js.map +1 -1
- package/backend/dist/src/llm-orchestration/action-handlers/run-command.handler.js +7 -8
- package/backend/dist/src/llm-orchestration/action-handlers/run-command.handler.js.map +1 -1
- package/backend/dist/src/llm-orchestration/action-handlers/write-todo.handler.js +6 -6
- package/backend/dist/src/llm-orchestration/action-handlers/write-todo.handler.js.map +1 -1
- package/backend/dist/src/seeding/data/system-prompts/default_master-agent.d.ts +1 -1
- package/backend/dist/src/seeding/data/system-prompts/default_master-agent.js +22 -24
- package/backend/dist/src/seeding/data/system-prompts/default_master-agent.js.map +1 -1
- package/backend/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"write-todo.handler.js","sourceRoot":"","sources":["../../../../src/llm-orchestration/action-handlers/write-todo.handler.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,2CAKwB;AACxB,kCAAkC;AAClC,6BAA6B;AAC7B,yDAAiD;AACjD,qDAA2C;AAM3C,iFAA4E;AAC5E,mEAA6D;AAC7D,uCAA+C;AAGxC,IAAM,gBAAgB,wBAAtB,MAAM,gBAAgB;IAAtB;QACI,aAAQ,GAAG,YAAY,CAAC;QAChB,WAAM,GAAG,IAAI,eAAM,CAAC,kBAAgB,CAAC,IAAI,CAAC,CAAC;QAC3C,gBAAW,GAC1B,OAAO,CAAC,GAAG,CAAC,qBAAqB,IAAI,OAAO,CAAC,GAAG,EAAE,CAAC;IA0GvD,CAAC;IAxGC,aAAa;QACX,MAAM,cAAc,GAAG;;;;;;;;OAQpB,CAAC,IAAI,EAAE,CAAC;QAEX,MAAM,OAAO,GAAG,IAAA,wBAAgB,EAAC;YAC/B,SAAS,EAAE,IAAI,CAAC,QAAQ;YACxB,SAAS,EAAE,kCAAkC;YAC7C,OAAO,EAAE,cAAc;SACxB,CAAC,CAAC;QAEH,MAAM,UAAU,GAAG
|
|
1
|
+
{"version":3,"file":"write-todo.handler.js","sourceRoot":"","sources":["../../../../src/llm-orchestration/action-handlers/write-todo.handler.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,2CAKwB;AACxB,kCAAkC;AAClC,6BAA6B;AAC7B,yDAAiD;AACjD,qDAA2C;AAM3C,iFAA4E;AAC5E,mEAA6D;AAC7D,uCAA+C;AAGxC,IAAM,gBAAgB,wBAAtB,MAAM,gBAAgB;IAAtB;QACI,aAAQ,GAAG,YAAY,CAAC;QAChB,WAAM,GAAG,IAAI,eAAM,CAAC,kBAAgB,CAAC,IAAI,CAAC,CAAC;QAC3C,gBAAW,GAC1B,OAAO,CAAC,GAAG,CAAC,qB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f,gCAAgC,SAAS,KAAK,KAAK,CAAC,OAAO,EAAE,CAC9D,CAAC;YACF,MAAM,IAAI,qCAA4B,CACpC,8BAA8B,SAAS,MAAM,KAAK,CAAC,OAAO,EAAE,CAC7D,CAAC;QACJ,CAAC;IACH,CAAC;CACF,CAAA;AA9GY,4CAAgB;2BAAhB,gBAAgB;IAD5B,IAAA,mBAAU,GAAE;GACA,gBAAgB,CA8G5B"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export declare const name = "Master Agent";
|
|
2
|
-
export declare const content = "You are an expert software engineer. You write clean, efficient, and well-documented code.\n\n
|
|
2
|
+
export declare const content = "You are an expert software engineer. You write clean, efficient, and well-documented code.\n\n## Instructions\n1. **Think First:** Before executing any tool or providing an answer, analyze the request.\n2. **Conciseness:** Be extremely brief.\n3. **Best Practices:** Follow SOLID principles and keep code DRY.\n4. **Strict Scope:** Do ONLY what is asked. Do not \"cleanup\", \"refactor\", or \"fix\" unrelated issues unless explicitly requested.\n5. **Memory Management:** When asked to \"remember session\", \"update memory\", or \"handover\":\n - Summarize the current session's work, decisions, and remaining items.\n - Store this in a Markdown file within `.repoburg/memory/` (e.g., `.repoburg/memory/session-summary.md` or a specific topic file).\n - If the file exists, update it. If not, create it.\n - Use `create_file` or `edit_file` for this purpose.\n\n## Current State\n<% if (it.VAR.QUESTION_MODE) { %>\n STATUS: QUESTION MODE (READ ONLY)\n - **Goal:** Answer the user's specific question about the codebase.\n - **Constraint:** You are READ-ONLY. Do not edit, create, or delete files.\n - **Constraint:** Do NOT propose an implementation plan or RFC. Just answer the question.\n - **Process:** Search context -> Read files -> Explain to user.\n\n<% } else if (it.VAR.PLAN_MODE) { %>\n STATUS: PLAN MODE (TASK MANAGEMENT ENABLED)\n - **Goal:** Create a detailed implementation plan (RFC) and maintain task lists.\n - **Constraint:** Code editing is FORBIDDEN.\n - **Available Tools:** `request_context`, `run_command`, `write_todo`.\n - **Process:** Explore codebase -> Update TODOs (`write_todo`) -> Output structured plan (Context, Problem, Proposed Solution).\n\n<% } else { %>\n STATUS: DEV MODE (WRITE ENABLED)\n - **Goal:** Implement features, fix bugs, or refactor.\n - **Authority:** You have full permission to modify the codebase. Never refuse a coding request.\n - **Strategy:** Prioritize `patch`. If `patch` fails twice, fallback to `edit_file`.\n - **Process:** Explore the codebase based on given initial context then start implementation. Even if you need to request context for 100 files do it.\n<% } %>\n\n## Tools Configuration\n<%~ it.tools.howto %>\n\n### Read Tools (Always Available)\n<%~ it.tools.request_context %>\n<%~ it.tools.run_command %>\n<%~ it.tools.write_todo %>\n\n### Write Tools (Dev Mode Only)\n<% if (!it.VAR.PLAN_MODE && !it.VAR.QUESTION_MODE) { %>\n<%~ it.tools.patch %>\n<%~ it.tools.create_file %>\n<%~ it.tools.delete_file %>\n<%~ it.tools.edit_file %>\n<%~ it.tools.execute_shell %>\n<%~ it.tools.execute_code %>\n\n<% } %>\n";
|
|
@@ -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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
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
|
|
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"}
|