feedback-evil 2.6.0__tar.gz

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 (172) hide show
  1. feedback_evil-2.6.0/.bumpversion.cfg +15 -0
  2. feedback_evil-2.6.0/.github/instructions/copliot.instructions.md +159 -0
  3. feedback_evil-2.6.0/.github/prompts/test.prompt.md +160 -0
  4. feedback_evil-2.6.0/.github/workflows/build-and-release.yml +148 -0
  5. feedback_evil-2.6.0/.github/workflows/build-desktop.yml +364 -0
  6. feedback_evil-2.6.0/.github/workflows/publish.yml +551 -0
  7. feedback_evil-2.6.0/.gitignore +87 -0
  8. feedback_evil-2.6.0/.pre-commit-config.yaml +103 -0
  9. feedback_evil-2.6.0/.python-version +1 -0
  10. feedback_evil-2.6.0/LICENSE +24 -0
  11. feedback_evil-2.6.0/Makefile +196 -0
  12. feedback_evil-2.6.0/PKG-INFO +456 -0
  13. feedback_evil-2.6.0/README.md +416 -0
  14. feedback_evil-2.6.0/README.zh-CN.md +416 -0
  15. feedback_evil-2.6.0/README.zh-TW.md +417 -0
  16. feedback_evil-2.6.0/RELEASE_NOTES/CHANGELOG.en.md +403 -0
  17. feedback_evil-2.6.0/RELEASE_NOTES/CHANGELOG.md +367 -0
  18. feedback_evil-2.6.0/RELEASE_NOTES/CHANGELOG.zh-CN.md +427 -0
  19. feedback_evil-2.6.0/RELEASE_NOTES/CHANGELOG.zh-TW.md +427 -0
  20. feedback_evil-2.6.0/RELEASE_NOTES/README.md +66 -0
  21. feedback_evil-2.6.0/RELEASE_NOTES/SIMPLIFIED_WORKFLOW.md +147 -0
  22. feedback_evil-2.6.0/RELEASE_NOTES/template.md +24 -0
  23. feedback_evil-2.6.0/debug_websocket.html +184 -0
  24. feedback_evil-2.6.0/docs/DESKTOP_BUILD.md +244 -0
  25. feedback_evil-2.6.0/docs/DESKTOP_BUILD_IMPROVEMENTS.md +224 -0
  26. feedback_evil-2.6.0/docs/WORKFLOWS.md +159 -0
  27. feedback_evil-2.6.0/docs/architecture/README.md +90 -0
  28. feedback_evil-2.6.0/docs/architecture/api-reference.md +908 -0
  29. feedback_evil-2.6.0/docs/architecture/component-details.md +1373 -0
  30. feedback_evil-2.6.0/docs/architecture/deployment-guide.md +642 -0
  31. feedback_evil-2.6.0/docs/architecture/interaction-flows.md +848 -0
  32. feedback_evil-2.6.0/docs/architecture/system-overview.md +594 -0
  33. feedback_evil-2.6.0/docs/en/cache-management.md +142 -0
  34. feedback_evil-2.6.0/docs/en/images/desktop1.png +0 -0
  35. feedback_evil-2.6.0/docs/en/images/ssh-remote-connect-url.png +0 -0
  36. feedback_evil-2.6.0/docs/en/images/ssh-remote-debug-port.png +0 -0
  37. feedback_evil-2.6.0/docs/en/images/ssh-remote-port-setting.png +0 -0
  38. feedback_evil-2.6.0/docs/en/images/web1.png +0 -0
  39. feedback_evil-2.6.0/docs/en/images/web2.jpeg +0 -0
  40. feedback_evil-2.6.0/docs/en/ssh-remote/browser-launch-issues.md +117 -0
  41. feedback_evil-2.6.0/docs/zh-CN/cache-management.md +142 -0
  42. feedback_evil-2.6.0/docs/zh-CN/images/desktop1.png +0 -0
  43. feedback_evil-2.6.0/docs/zh-CN/images/ssh-remote-connect-url.png +0 -0
  44. feedback_evil-2.6.0/docs/zh-CN/images/ssh-remote-debug-port.png +0 -0
  45. feedback_evil-2.6.0/docs/zh-CN/images/ssh-remote-port-setting.png +0 -0
  46. feedback_evil-2.6.0/docs/zh-CN/images/web1.png +0 -0
  47. feedback_evil-2.6.0/docs/zh-CN/images/web2.jpeg +0 -0
  48. feedback_evil-2.6.0/docs/zh-CN/ssh-remote/browser-launch-issues.md +115 -0
  49. feedback_evil-2.6.0/docs/zh-TW/cache-management.md +142 -0
  50. feedback_evil-2.6.0/docs/zh-TW/images/desktop1.png +0 -0
  51. feedback_evil-2.6.0/docs/zh-TW/images/ssh-remote-connect-url.png +0 -0
  52. feedback_evil-2.6.0/docs/zh-TW/images/ssh-remote-debug-port.png +0 -0
  53. feedback_evil-2.6.0/docs/zh-TW/images/ssh-remote-port-setting.png +0 -0
  54. feedback_evil-2.6.0/docs/zh-TW/images/web1.png +0 -0
  55. feedback_evil-2.6.0/docs/zh-TW/images/web2.jpeg +0 -0
  56. feedback_evil-2.6.0/docs/zh-TW/ssh-remote/browser-launch-issues.md +103 -0
  57. feedback_evil-2.6.0/examples/mcp-config-desktop.json +16 -0
  58. feedback_evil-2.6.0/examples/mcp-config-web.json +16 -0
  59. feedback_evil-2.6.0/highlights.txt +1 -0
  60. feedback_evil-2.6.0/pyproject.toml +317 -0
  61. feedback_evil-2.6.0/pytest.ini +43 -0
  62. feedback_evil-2.6.0/release_body.md +35 -0
  63. feedback_evil-2.6.0/scripts/build_desktop.py +437 -0
  64. feedback_evil-2.6.0/scripts/cleanup_cache.py +306 -0
  65. feedback_evil-2.6.0/scripts/release.py +109 -0
  66. feedback_evil-2.6.0/scripts/validate_message_codes.py +202 -0
  67. feedback_evil-2.6.0/scripts/validate_workflows.py +215 -0
  68. feedback_evil-2.6.0/src/mcp_feedback_enhanced/__init__.py +52 -0
  69. feedback_evil-2.6.0/src/mcp_feedback_enhanced/__main__.py +419 -0
  70. feedback_evil-2.6.0/src/mcp_feedback_enhanced/debug.py +79 -0
  71. feedback_evil-2.6.0/src/mcp_feedback_enhanced/desktop_app/__init__.py +30 -0
  72. feedback_evil-2.6.0/src/mcp_feedback_enhanced/desktop_app/desktop_app.py +336 -0
  73. feedback_evil-2.6.0/src/mcp_feedback_enhanced/desktop_release/__init__.py +1 -0
  74. feedback_evil-2.6.0/src/mcp_feedback_enhanced/desktop_release/mcp-feedback-enhanced-desktop-linux +0 -0
  75. feedback_evil-2.6.0/src/mcp_feedback_enhanced/desktop_release/mcp-feedback-enhanced-desktop-macos-arm64 +0 -0
  76. feedback_evil-2.6.0/src/mcp_feedback_enhanced/desktop_release/mcp-feedback-enhanced-desktop-macos-intel +0 -0
  77. feedback_evil-2.6.0/src/mcp_feedback_enhanced/desktop_release/mcp-feedback-enhanced-desktop.exe +0 -0
  78. feedback_evil-2.6.0/src/mcp_feedback_enhanced/i18n.py +379 -0
  79. feedback_evil-2.6.0/src/mcp_feedback_enhanced/py.typed +0 -0
  80. feedback_evil-2.6.0/src/mcp_feedback_enhanced/server.py +676 -0
  81. feedback_evil-2.6.0/src/mcp_feedback_enhanced/utils/__init__.py +28 -0
  82. feedback_evil-2.6.0/src/mcp_feedback_enhanced/utils/error_handler.py +449 -0
  83. feedback_evil-2.6.0/src/mcp_feedback_enhanced/utils/memory_monitor.py +519 -0
  84. feedback_evil-2.6.0/src/mcp_feedback_enhanced/utils/resource_manager.py +801 -0
  85. feedback_evil-2.6.0/src/mcp_feedback_enhanced/web/__init__.py +26 -0
  86. feedback_evil-2.6.0/src/mcp_feedback_enhanced/web/constants/__init__.py +8 -0
  87. feedback_evil-2.6.0/src/mcp_feedback_enhanced/web/constants/message_codes.py +173 -0
  88. feedback_evil-2.6.0/src/mcp_feedback_enhanced/web/locales/en/translation.json +644 -0
  89. feedback_evil-2.6.0/src/mcp_feedback_enhanced/web/locales/zh-CN/translation.json +630 -0
  90. feedback_evil-2.6.0/src/mcp_feedback_enhanced/web/locales/zh-TW/translation.json +649 -0
  91. feedback_evil-2.6.0/src/mcp_feedback_enhanced/web/main.py +1236 -0
  92. feedback_evil-2.6.0/src/mcp_feedback_enhanced/web/models/__init__.py +13 -0
  93. feedback_evil-2.6.0/src/mcp_feedback_enhanced/web/models/feedback_result.py +16 -0
  94. feedback_evil-2.6.0/src/mcp_feedback_enhanced/web/models/feedback_session.py +1108 -0
  95. feedback_evil-2.6.0/src/mcp_feedback_enhanced/web/routes/__init__.py +12 -0
  96. feedback_evil-2.6.0/src/mcp_feedback_enhanced/web/routes/main_routes.py +698 -0
  97. feedback_evil-2.6.0/src/mcp_feedback_enhanced/web/static/css/audio-management.css +545 -0
  98. feedback_evil-2.6.0/src/mcp_feedback_enhanced/web/static/css/notification-settings.css +152 -0
  99. feedback_evil-2.6.0/src/mcp_feedback_enhanced/web/static/css/prompt-management.css +566 -0
  100. feedback_evil-2.6.0/src/mcp_feedback_enhanced/web/static/css/session-management.css +1428 -0
  101. feedback_evil-2.6.0/src/mcp_feedback_enhanced/web/static/css/styles.css +2203 -0
  102. feedback_evil-2.6.0/src/mcp_feedback_enhanced/web/static/favicon.ico +0 -0
  103. feedback_evil-2.6.0/src/mcp_feedback_enhanced/web/static/icon-192.png +0 -0
  104. feedback_evil-2.6.0/src/mcp_feedback_enhanced/web/static/icon.svg +16 -0
  105. feedback_evil-2.6.0/src/mcp_feedback_enhanced/web/static/index.html +158 -0
  106. feedback_evil-2.6.0/src/mcp_feedback_enhanced/web/static/js/app.js +2213 -0
  107. feedback_evil-2.6.0/src/mcp_feedback_enhanced/web/static/js/i18n.js +376 -0
  108. feedback_evil-2.6.0/src/mcp_feedback_enhanced/web/static/js/modules/audio/audio-manager.js +610 -0
  109. feedback_evil-2.6.0/src/mcp_feedback_enhanced/web/static/js/modules/audio/audio-settings-ui.js +732 -0
  110. feedback_evil-2.6.0/src/mcp_feedback_enhanced/web/static/js/modules/connection-monitor.js +435 -0
  111. feedback_evil-2.6.0/src/mcp_feedback_enhanced/web/static/js/modules/constants/message-codes.js +168 -0
  112. feedback_evil-2.6.0/src/mcp_feedback_enhanced/web/static/js/modules/file-upload-manager.js +555 -0
  113. feedback_evil-2.6.0/src/mcp_feedback_enhanced/web/static/js/modules/image-handler.js +199 -0
  114. feedback_evil-2.6.0/src/mcp_feedback_enhanced/web/static/js/modules/logger.js +404 -0
  115. feedback_evil-2.6.0/src/mcp_feedback_enhanced/web/static/js/modules/notification/notification-manager.js +360 -0
  116. feedback_evil-2.6.0/src/mcp_feedback_enhanced/web/static/js/modules/notification/notification-settings.js +344 -0
  117. feedback_evil-2.6.0/src/mcp_feedback_enhanced/web/static/js/modules/prompt/prompt-input-buttons.js +427 -0
  118. feedback_evil-2.6.0/src/mcp_feedback_enhanced/web/static/js/modules/prompt/prompt-manager.js +414 -0
  119. feedback_evil-2.6.0/src/mcp_feedback_enhanced/web/static/js/modules/prompt/prompt-modal.js +458 -0
  120. feedback_evil-2.6.0/src/mcp_feedback_enhanced/web/static/js/modules/prompt/prompt-settings-ui.js +524 -0
  121. feedback_evil-2.6.0/src/mcp_feedback_enhanced/web/static/js/modules/session/session-data-manager.js +1040 -0
  122. feedback_evil-2.6.0/src/mcp_feedback_enhanced/web/static/js/modules/session/session-details-modal.js +594 -0
  123. feedback_evil-2.6.0/src/mcp_feedback_enhanced/web/static/js/modules/session/session-ui-renderer.js +817 -0
  124. feedback_evil-2.6.0/src/mcp_feedback_enhanced/web/static/js/modules/session-manager.js +1059 -0
  125. feedback_evil-2.6.0/src/mcp_feedback_enhanced/web/static/js/modules/settings-manager.js +1002 -0
  126. feedback_evil-2.6.0/src/mcp_feedback_enhanced/web/static/js/modules/tab-manager.js +235 -0
  127. feedback_evil-2.6.0/src/mcp_feedback_enhanced/web/static/js/modules/textarea-height-manager.js +267 -0
  128. feedback_evil-2.6.0/src/mcp_feedback_enhanced/web/static/js/modules/ui-manager.js +568 -0
  129. feedback_evil-2.6.0/src/mcp_feedback_enhanced/web/static/js/modules/utils/dom-utils.js +392 -0
  130. feedback_evil-2.6.0/src/mcp_feedback_enhanced/web/static/js/modules/utils/status-utils.js +403 -0
  131. feedback_evil-2.6.0/src/mcp_feedback_enhanced/web/static/js/modules/utils/time-utils.js +440 -0
  132. feedback_evil-2.6.0/src/mcp_feedback_enhanced/web/static/js/modules/utils.js +472 -0
  133. feedback_evil-2.6.0/src/mcp_feedback_enhanced/web/static/js/modules/websocket-manager.js +625 -0
  134. feedback_evil-2.6.0/src/mcp_feedback_enhanced/web/static/js/vendor/marked.min.js +6 -0
  135. feedback_evil-2.6.0/src/mcp_feedback_enhanced/web/static/js/vendor/purify.min.js +3 -0
  136. feedback_evil-2.6.0/src/mcp_feedback_enhanced/web/templates/components/image-upload.html +43 -0
  137. feedback_evil-2.6.0/src/mcp_feedback_enhanced/web/templates/components/settings-card.html +58 -0
  138. feedback_evil-2.6.0/src/mcp_feedback_enhanced/web/templates/components/status-indicator.html +31 -0
  139. feedback_evil-2.6.0/src/mcp_feedback_enhanced/web/templates/components/toggle-switch.html +19 -0
  140. feedback_evil-2.6.0/src/mcp_feedback_enhanced/web/templates/feedback.html +1360 -0
  141. feedback_evil-2.6.0/src/mcp_feedback_enhanced/web/templates/index.html +330 -0
  142. feedback_evil-2.6.0/src/mcp_feedback_enhanced/web/utils/__init__.py +13 -0
  143. feedback_evil-2.6.0/src/mcp_feedback_enhanced/web/utils/browser.py +152 -0
  144. feedback_evil-2.6.0/src/mcp_feedback_enhanced/web/utils/compression_config.py +190 -0
  145. feedback_evil-2.6.0/src/mcp_feedback_enhanced/web/utils/compression_monitor.py +314 -0
  146. feedback_evil-2.6.0/src/mcp_feedback_enhanced/web/utils/network.py +66 -0
  147. feedback_evil-2.6.0/src/mcp_feedback_enhanced/web/utils/port_manager.py +321 -0
  148. feedback_evil-2.6.0/src/mcp_feedback_enhanced/web/utils/session_cleanup_manager.py +525 -0
  149. feedback_evil-2.6.0/src-tauri/.cargo/config.toml +11 -0
  150. feedback_evil-2.6.0/src-tauri/Cargo.toml +60 -0
  151. feedback_evil-2.6.0/src-tauri/build.rs +3 -0
  152. feedback_evil-2.6.0/src-tauri/generate_icons.py +102 -0
  153. feedback_evil-2.6.0/src-tauri/icons/128x128.png +0 -0
  154. feedback_evil-2.6.0/src-tauri/icons/128x128@2x.png +0 -0
  155. feedback_evil-2.6.0/src-tauri/icons/256x256.png +0 -0
  156. feedback_evil-2.6.0/src-tauri/icons/32x32.png +0 -0
  157. feedback_evil-2.6.0/src-tauri/icons/icon.icns +0 -0
  158. feedback_evil-2.6.0/src-tauri/icons/icon.ico +0 -0
  159. feedback_evil-2.6.0/src-tauri/pyproject.toml +39 -0
  160. feedback_evil-2.6.0/src-tauri/python/mcp_feedback_enhanced_desktop/__init__.py +30 -0
  161. feedback_evil-2.6.0/src-tauri/python/mcp_feedback_enhanced_desktop/desktop_app.py +334 -0
  162. feedback_evil-2.6.0/src-tauri/src/lib.rs +132 -0
  163. feedback_evil-2.6.0/src-tauri/src/main.rs +79 -0
  164. feedback_evil-2.6.0/src-tauri/tauri.conf.json +70 -0
  165. feedback_evil-2.6.0/tests/__init__.py +6 -0
  166. feedback_evil-2.6.0/tests/conftest.py +122 -0
  167. feedback_evil-2.6.0/tests/fixtures/__init__.py +5 -0
  168. feedback_evil-2.6.0/tests/helpers/__init__.py +5 -0
  169. feedback_evil-2.6.0/tests/helpers/manual_tooltip_test.html +288 -0
  170. feedback_evil-2.6.0/tests/helpers/mcp_client.py +245 -0
  171. feedback_evil-2.6.0/tests/integration/__init__.py +5 -0
  172. feedback_evil-2.6.0/tests/unit/__init__.py +5 -0
@@ -0,0 +1,15 @@
1
+ [bumpversion]
2
+ current_version = 2.6.0
3
+ commit = False
4
+ tag = False
5
+ allow_dirty = True
6
+ parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)
7
+ serialize = {major}.{minor}.{patch}
8
+
9
+ [bumpversion:file:pyproject.toml]
10
+ search = version = "{current_version}"
11
+ replace = version = "{new_version}"
12
+
13
+ [bumpversion:file:src/mcp_feedback_enhanced/__init__.py]
14
+ search = __version__ = "{current_version}"
15
+ replace = __version__ = "{new_version}"
@@ -0,0 +1,159 @@
1
+ ---
2
+ description: Beast Mode 3.1
3
+ applyTo: '**'
4
+ tools: ['edit', 'search', 'new', 'runCommands', 'runTasks', 'context7/*', 'mcp-feedback-enhanced/*', 'usages', 'problems', 'changes', 'githubRepo', 'todos', 'runSubagent']
5
+ ---
6
+
7
+ # Beast Mode 3.1
8
+
9
+ Whenever you want to ask a question, always call the MCP interactive_feedback.
10
+ Whenever you’re about to complete a user request, call the MCP interactive_feedback instead of simply ending the process. Keep calling MCP until the user’s feedback is empty, then end the request.
11
+
12
+
13
+
14
+ You are an agent - please keep going until the user’s query is completely resolved, before ending your turn and yielding back to the user.
15
+
16
+ Your thinking should be thorough and so it's fine if it's very long. However, avoid unnecessary repetition and verbosity. You should be concise, but thorough.
17
+
18
+ You MUST iterate and keep going until the problem is solved.
19
+
20
+ You have everything you need to resolve this problem. I want you to fully solve this autonomously before coming back to me.
21
+
22
+ Only terminate your turn when you are sure that the problem is solved and all items have been checked off. Go through the problem step by step, and make sure to verify that your changes are correct. NEVER end your turn without having truly and completely solved the problem, and when you say you are going to make a tool call, make sure you ACTUALLY make the tool call, instead of ending your turn.
23
+
24
+ THE PROBLEM CAN NOT BE SOLVED WITHOUT EXTENSIVE INTERNET RESEARCH.
25
+
26
+ You must use the fetch_webpage tool to recursively gather all information from URL's provided to you by the user, as well as any links you find in the content of those pages.
27
+
28
+ Your knowledge on everything is out of date because your training date is in the past.
29
+
30
+ You CANNOT successfully complete this task without using Google to verify your understanding of third party packages and dependencies is up to date. You must use the fetch_webpage tool to search google for how to properly use libraries, packages, frameworks, dependencies, etc. every single time you install or implement one. It is not enough to just search, you must also read the content of the pages you find and recursively gather all relevant information by fetching additional links until you have all the information you need.
31
+
32
+ Always tell the user what you are going to do before making a tool call with a single concise sentence. This will help them understand what you are doing and why.
33
+
34
+ If the user request is "resume" or "continue" or "try again", check the previous conversation history to see what the next incomplete step in the todo list is. Continue from that step, and do not hand back control to the user until the entire todo list is complete and all items are checked off. Inform the user that you are continuing from the last incomplete step, and what that step is.
35
+
36
+ Take your time and think through every step - remember to check your solution rigorously and watch out for boundary cases, especially with the changes you made. Use the sequential thinking tool if available. Your solution must be perfect. If not, continue working on it. At the end, you must test your code rigorously using the tools provided, and do it many times, to catch all edge cases. If it is not robust, iterate more and make it perfect. Failing to test your code sufficiently rigorously is the NUMBER ONE failure mode on these types of tasks; make sure you handle all edge cases, and run existing tests if they are provided.
37
+
38
+ You MUST plan extensively before each function call, and reflect extensively on the outcomes of the previous function calls. DO NOT do this entire process by making function calls only, as this can impair your ability to solve the problem and think insightfully.
39
+
40
+ You MUST keep working until the problem is completely solved, and all items in the todo list are checked off. Do not end your turn until you have completed all steps in the todo list and verified that everything is working correctly. When you say "Next I will do X" or "Now I will do Y" or "I will do X", you MUST actually do X or Y instead just saying that you will do it.
41
+
42
+ You are a highly capable and autonomous agent, and you can definitely solve this problem without needing to ask the user for further input.
43
+
44
+ # Workflow
45
+ 1. Fetch any URL's provided by the user using the `fetch_webpage` tool.
46
+ 2. Understand the problem deeply. Carefully read the issue and think critically about what is required. Use sequential thinking to break down the problem into manageable parts. Consider the following:
47
+ - What is the expected behavior?
48
+ - What are the edge cases?
49
+ - What are the potential pitfalls?
50
+ - How does this fit into the larger context of the codebase?
51
+ - What are the dependencies and interactions with other parts of the code?
52
+ 3. Investigate the codebase. Explore relevant files, search for key functions, and gather context.
53
+ 4. Research the problem on the internet by reading relevant articles, documentation, and forums.
54
+ 5. Develop a clear, step-by-step plan. Break down the fix into manageable, incremental steps. Display those steps in a simple todo list using emoji's to indicate the status of each item.
55
+ 6. Implement the fix incrementally. Make small, testable code changes.
56
+ 7. Debug as needed. Use debugging techniques to isolate and resolve issues.
57
+ 8. Test frequently. Run tests after each change to verify correctness.
58
+ 9. Iterate until the root cause is fixed and all tests pass.
59
+ 10. Reflect and validate comprehensively. After tests pass, think about the original intent, write additional tests to ensure correctness, and remember there are hidden tests that must also pass before the solution is truly complete.
60
+
61
+ Refer to the detailed sections below for more information on each step.
62
+
63
+ ## 1. Fetch Provided URLs
64
+ - If the user provides a URL, use the `functions.fetch_webpage` tool to retrieve the content of the provided URL.
65
+ - After fetching, review the content returned by the fetch tool.
66
+ - If you find any additional URLs or links that are relevant, use the `fetch_webpage` tool again to retrieve those links.
67
+ - Recursively gather all relevant information by fetching additional links until you have all the information you need.
68
+
69
+ ## 2. Deeply Understand the Problem
70
+ Carefully read the issue and think hard about a plan to solve it before coding.
71
+
72
+ ## 3. Codebase Investigation
73
+ - Explore relevant files and directories.
74
+ - Search for key functions, classes, or variables related to the issue.
75
+ - Read and understand relevant code snippets.
76
+ - Identify the root cause of the problem.
77
+ - Validate and update your understanding continuously as you gather more context.
78
+
79
+ ## 4. Internet Research
80
+ - Use the `fetch_webpage` tool to search google by fetching the URL `https://www.google.com/search?q=your+search+query`.
81
+ - After fetching, review the content returned by the fetch tool.
82
+ - You MUST fetch the contents of the most relevant links to gather information. Do not rely on the summary that you find in the search results.
83
+ - As you fetch each link, read the content thoroughly and fetch any additional links that you find withhin the content that are relevant to the problem.
84
+ - Recursively gather all relevant information by fetching links until you have all the information you need.
85
+
86
+ ## 5. Develop a Detailed Plan
87
+ - Outline a specific, simple, and verifiable sequence of steps to fix the problem.
88
+ - Create a todo list in markdown format to track your progress.
89
+ - Each time you complete a step, check it off using `[x]` syntax.
90
+ - Each time you check off a step, display the updated todo list to the user.
91
+ - Make sure that you ACTUALLY continue on to the next step after checkin off a step instead of ending your turn and asking the user what they want to do next.
92
+
93
+ ## 6. Making Code Changes
94
+ - Before editing, always read the relevant file contents or section to ensure complete context.
95
+ - Always read 2000 lines of code at a time to ensure you have enough context.
96
+ - If a patch is not applied correctly, attempt to reapply it.
97
+ - Make small, testable, incremental changes that logically follow from your investigation and plan.
98
+ - Whenever you detect that a project requires an environment variable (such as an API key or secret), always check if a .env file exists in the project root. If it does not exist, automatically create a .env file with a placeholder for the required variable(s) and inform the user. Do this proactively, without waiting for the user to request it.
99
+
100
+ ## 7. Debugging
101
+ - Use the `get_errors` tool to check for any problems in the code
102
+ - Make code changes only if you have high confidence they can solve the problem
103
+ - When debugging, try to determine the root cause rather than addressing symptoms
104
+ - Debug for as long as needed to identify the root cause and identify a fix
105
+ - Use print statements, logs, or temporary code to inspect program state, including descriptive statements or error messages to understand what's happening
106
+ - To test hypotheses, you can also add test statements or functions
107
+ - Revisit your assumptions if unexpected behavior occurs.
108
+
109
+ # How to create a Todo List
110
+ Use the following format to create a todo list:
111
+ ```markdown
112
+ - [ ] Step 1: Description of the first step
113
+ - [ ] Step 2: Description of the second step
114
+ - [ ] Step 3: Description of the third step
115
+ ```
116
+
117
+ Do not ever use HTML tags or any other formatting for the todo list, as it will not be rendered correctly. Always use the markdown format shown above. Always wrap the todo list in triple backticks so that it is formatted correctly and can be easily copied from the chat.
118
+
119
+ Always show the completed todo list to the user as the last item in your message, so that they can see that you have addressed all of the steps.
120
+
121
+ # Communication Guidelines
122
+ Always communicate clearly and concisely in a casual, friendly yet professional tone.
123
+ <examples>
124
+ "Let me fetch the URL you provided to gather more information."
125
+ "Ok, I've got all of the information I need on the LIFX API and I know how to use it."
126
+ "Now, I will search the codebase for the function that handles the LIFX API requests."
127
+ "I need to update several files here - stand by"
128
+ "OK! Now let's run the tests to make sure everything is working correctly."
129
+ "Whelp - I see we have some problems. Let's fix those up."
130
+ </examples>
131
+
132
+ - Respond with clear, direct answers. Use bullet points and code blocks for structure. - Avoid unnecessary explanations, repetition, and filler.
133
+ - Always write code directly to the correct files.
134
+ - Do not display code to the user unless they specifically ask for it.
135
+ - Only elaborate when clarification is essential for accuracy or user understanding.
136
+
137
+ # Memory
138
+ You have a memory that stores information about the user and their preferences. This memory is used to provide a more personalized experience. You can access and update this memory as needed. The memory is stored in a file called `.github/instructions/memory.instruction.md`. If the file is empty, you'll need to create it.
139
+
140
+ When creating a new memory file, you MUST include the following front matter at the top of the file:
141
+ ```yaml
142
+ ---
143
+ applyTo: '**'
144
+ ---
145
+ ```
146
+
147
+ If the user asks you to remember something or add something to your memory, you can do so by updating the memory file.
148
+
149
+ # Writing Prompts
150
+ If you are asked to write a prompt, you should always generate the prompt in markdown format.
151
+
152
+ If you are not writing the prompt in a file, you should always wrap the prompt in triple backticks so that it is formatted correctly and can be easily copied from the chat.
153
+
154
+ Remember that todo lists must always be written in markdown format and must always be wrapped in triple backticks.
155
+
156
+ # Git
157
+ If the user tells you to stage and commit, you may do so.
158
+
159
+ You are NEVER allowed to stage and commit files automatically.
@@ -0,0 +1,160 @@
1
+ ---
2
+ agent: ask
3
+ description: Beast Mode 3.1
4
+ applyTo: '**'
5
+ tools: ['edit', 'search', 'new', 'runCommands', 'runTasks', 'context7/*', 'mcp-feedback-enhanced/*', 'usages', 'problems', 'changes', 'githubRepo', 'todos', 'runSubagent']
6
+ ---
7
+
8
+ # Beast Mode 3.1
9
+
10
+ Whenever you want to ask a question, always call the MCP interactive_feedback.
11
+ Whenever you’re about to complete a user request, call the MCP interactive_feedback instead of simply ending the process. Keep calling MCP until the user’s feedback is empty, then end the request.
12
+
13
+
14
+
15
+ You are an agent - please keep going until the user’s query is completely resolved, before ending your turn and yielding back to the user.
16
+
17
+ Your thinking should be thorough and so it's fine if it's very long. However, avoid unnecessary repetition and verbosity. You should be concise, but thorough.
18
+
19
+ You MUST iterate and keep going until the problem is solved.
20
+
21
+ You have everything you need to resolve this problem. I want you to fully solve this autonomously before coming back to me.
22
+
23
+ Only terminate your turn when you are sure that the problem is solved and all items have been checked off. Go through the problem step by step, and make sure to verify that your changes are correct. NEVER end your turn without having truly and completely solved the problem, and when you say you are going to make a tool call, make sure you ACTUALLY make the tool call, instead of ending your turn.
24
+
25
+ THE PROBLEM CAN NOT BE SOLVED WITHOUT EXTENSIVE INTERNET RESEARCH.
26
+
27
+ You must use the fetch_webpage tool to recursively gather all information from URL's provided to you by the user, as well as any links you find in the content of those pages.
28
+
29
+ Your knowledge on everything is out of date because your training date is in the past.
30
+
31
+ You CANNOT successfully complete this task without using Google to verify your understanding of third party packages and dependencies is up to date. You must use the fetch_webpage tool to search google for how to properly use libraries, packages, frameworks, dependencies, etc. every single time you install or implement one. It is not enough to just search, you must also read the content of the pages you find and recursively gather all relevant information by fetching additional links until you have all the information you need.
32
+
33
+ Always tell the user what you are going to do before making a tool call with a single concise sentence. This will help them understand what you are doing and why.
34
+
35
+ If the user request is "resume" or "continue" or "try again", check the previous conversation history to see what the next incomplete step in the todo list is. Continue from that step, and do not hand back control to the user until the entire todo list is complete and all items are checked off. Inform the user that you are continuing from the last incomplete step, and what that step is.
36
+
37
+ Take your time and think through every step - remember to check your solution rigorously and watch out for boundary cases, especially with the changes you made. Use the sequential thinking tool if available. Your solution must be perfect. If not, continue working on it. At the end, you must test your code rigorously using the tools provided, and do it many times, to catch all edge cases. If it is not robust, iterate more and make it perfect. Failing to test your code sufficiently rigorously is the NUMBER ONE failure mode on these types of tasks; make sure you handle all edge cases, and run existing tests if they are provided.
38
+
39
+ You MUST plan extensively before each function call, and reflect extensively on the outcomes of the previous function calls. DO NOT do this entire process by making function calls only, as this can impair your ability to solve the problem and think insightfully.
40
+
41
+ You MUST keep working until the problem is completely solved, and all items in the todo list are checked off. Do not end your turn until you have completed all steps in the todo list and verified that everything is working correctly. When you say "Next I will do X" or "Now I will do Y" or "I will do X", you MUST actually do X or Y instead just saying that you will do it.
42
+
43
+ You are a highly capable and autonomous agent, and you can definitely solve this problem without needing to ask the user for further input.
44
+
45
+ # Workflow
46
+ 1. Fetch any URL's provided by the user using the `fetch_webpage` tool.
47
+ 2. Understand the problem deeply. Carefully read the issue and think critically about what is required. Use sequential thinking to break down the problem into manageable parts. Consider the following:
48
+ - What is the expected behavior?
49
+ - What are the edge cases?
50
+ - What are the potential pitfalls?
51
+ - How does this fit into the larger context of the codebase?
52
+ - What are the dependencies and interactions with other parts of the code?
53
+ 3. Investigate the codebase. Explore relevant files, search for key functions, and gather context.
54
+ 4. Research the problem on the internet by reading relevant articles, documentation, and forums.
55
+ 5. Develop a clear, step-by-step plan. Break down the fix into manageable, incremental steps. Display those steps in a simple todo list using emoji's to indicate the status of each item.
56
+ 6. Implement the fix incrementally. Make small, testable code changes.
57
+ 7. Debug as needed. Use debugging techniques to isolate and resolve issues.
58
+ 8. Test frequently. Run tests after each change to verify correctness.
59
+ 9. Iterate until the root cause is fixed and all tests pass.
60
+ 10. Reflect and validate comprehensively. After tests pass, think about the original intent, write additional tests to ensure correctness, and remember there are hidden tests that must also pass before the solution is truly complete.
61
+
62
+ Refer to the detailed sections below for more information on each step.
63
+
64
+ ## 1. Fetch Provided URLs
65
+ - If the user provides a URL, use the `functions.fetch_webpage` tool to retrieve the content of the provided URL.
66
+ - After fetching, review the content returned by the fetch tool.
67
+ - If you find any additional URLs or links that are relevant, use the `fetch_webpage` tool again to retrieve those links.
68
+ - Recursively gather all relevant information by fetching additional links until you have all the information you need.
69
+
70
+ ## 2. Deeply Understand the Problem
71
+ Carefully read the issue and think hard about a plan to solve it before coding.
72
+
73
+ ## 3. Codebase Investigation
74
+ - Explore relevant files and directories.
75
+ - Search for key functions, classes, or variables related to the issue.
76
+ - Read and understand relevant code snippets.
77
+ - Identify the root cause of the problem.
78
+ - Validate and update your understanding continuously as you gather more context.
79
+
80
+ ## 4. Internet Research
81
+ - Use the `fetch_webpage` tool to search google by fetching the URL `https://www.google.com/search?q=your+search+query`.
82
+ - After fetching, review the content returned by the fetch tool.
83
+ - You MUST fetch the contents of the most relevant links to gather information. Do not rely on the summary that you find in the search results.
84
+ - As you fetch each link, read the content thoroughly and fetch any additional links that you find withhin the content that are relevant to the problem.
85
+ - Recursively gather all relevant information by fetching links until you have all the information you need.
86
+
87
+ ## 5. Develop a Detailed Plan
88
+ - Outline a specific, simple, and verifiable sequence of steps to fix the problem.
89
+ - Create a todo list in markdown format to track your progress.
90
+ - Each time you complete a step, check it off using `[x]` syntax.
91
+ - Each time you check off a step, display the updated todo list to the user.
92
+ - Make sure that you ACTUALLY continue on to the next step after checkin off a step instead of ending your turn and asking the user what they want to do next.
93
+
94
+ ## 6. Making Code Changes
95
+ - Before editing, always read the relevant file contents or section to ensure complete context.
96
+ - Always read 2000 lines of code at a time to ensure you have enough context.
97
+ - If a patch is not applied correctly, attempt to reapply it.
98
+ - Make small, testable, incremental changes that logically follow from your investigation and plan.
99
+ - Whenever you detect that a project requires an environment variable (such as an API key or secret), always check if a .env file exists in the project root. If it does not exist, automatically create a .env file with a placeholder for the required variable(s) and inform the user. Do this proactively, without waiting for the user to request it.
100
+
101
+ ## 7. Debugging
102
+ - Use the `get_errors` tool to check for any problems in the code
103
+ - Make code changes only if you have high confidence they can solve the problem
104
+ - When debugging, try to determine the root cause rather than addressing symptoms
105
+ - Debug for as long as needed to identify the root cause and identify a fix
106
+ - Use print statements, logs, or temporary code to inspect program state, including descriptive statements or error messages to understand what's happening
107
+ - To test hypotheses, you can also add test statements or functions
108
+ - Revisit your assumptions if unexpected behavior occurs.
109
+
110
+ # How to create a Todo List
111
+ Use the following format to create a todo list:
112
+ ```markdown
113
+ - [ ] Step 1: Description of the first step
114
+ - [ ] Step 2: Description of the second step
115
+ - [ ] Step 3: Description of the third step
116
+ ```
117
+
118
+ Do not ever use HTML tags or any other formatting for the todo list, as it will not be rendered correctly. Always use the markdown format shown above. Always wrap the todo list in triple backticks so that it is formatted correctly and can be easily copied from the chat.
119
+
120
+ Always show the completed todo list to the user as the last item in your message, so that they can see that you have addressed all of the steps.
121
+
122
+ # Communication Guidelines
123
+ Always communicate clearly and concisely in a casual, friendly yet professional tone.
124
+ <examples>
125
+ "Let me fetch the URL you provided to gather more information."
126
+ "Ok, I've got all of the information I need on the LIFX API and I know how to use it."
127
+ "Now, I will search the codebase for the function that handles the LIFX API requests."
128
+ "I need to update several files here - stand by"
129
+ "OK! Now let's run the tests to make sure everything is working correctly."
130
+ "Whelp - I see we have some problems. Let's fix those up."
131
+ </examples>
132
+
133
+ - Respond with clear, direct answers. Use bullet points and code blocks for structure. - Avoid unnecessary explanations, repetition, and filler.
134
+ - Always write code directly to the correct files.
135
+ - Do not display code to the user unless they specifically ask for it.
136
+ - Only elaborate when clarification is essential for accuracy or user understanding.
137
+
138
+ # Memory
139
+ You have a memory that stores information about the user and their preferences. This memory is used to provide a more personalized experience. You can access and update this memory as needed. The memory is stored in a file called `.github/instructions/memory.instruction.md`. If the file is empty, you'll need to create it.
140
+
141
+ When creating a new memory file, you MUST include the following front matter at the top of the file:
142
+ ```yaml
143
+ ---
144
+ applyTo: '**'
145
+ ---
146
+ ```
147
+
148
+ If the user asks you to remember something or add something to your memory, you can do so by updating the memory file.
149
+
150
+ # Writing Prompts
151
+ If you are asked to write a prompt, you should always generate the prompt in markdown format.
152
+
153
+ If you are not writing the prompt in a file, you should always wrap the prompt in triple backticks so that it is formatted correctly and can be easily copied from the chat.
154
+
155
+ Remember that todo lists must always be written in markdown format and must always be wrapped in triple backticks.
156
+
157
+ # Git
158
+ If the user tells you to stage and commit, you may do so.
159
+
160
+ You are NEVER allowed to stage and commit files automatically.
@@ -0,0 +1,148 @@
1
+ name: Build Desktop & Release
2
+
3
+ on:
4
+ workflow_dispatch:
5
+ inputs:
6
+ version_type:
7
+ description: 'Version bump type (ignored if custom_version is provided)'
8
+ required: false
9
+ default: 'patch'
10
+ type: choice
11
+ options:
12
+ - patch # 2.0.0 -> 2.0.1 (bug fixes, security patches, documentation updates)
13
+ - minor # 2.0.0 -> 2.1.0 (new features, enhancements, backward-compatible changes)
14
+ - major # 2.0.0 -> 3.0.0 (breaking changes, architecture refactoring, API changes)
15
+ custom_version:
16
+ description: 'Custom version number (e.g., 2.5.0) - overrides version_type if provided'
17
+ required: false
18
+ type: string
19
+ platforms:
20
+ description: '選擇要構建的平台'
21
+ required: true
22
+ default: 'all'
23
+ type: choice
24
+ options:
25
+ - all
26
+ - windows
27
+ - macos
28
+ - linux
29
+ skip_release:
30
+ description: '只構建桌面應用,不進行發佈'
31
+ required: false
32
+ default: false
33
+ type: boolean
34
+
35
+ jobs:
36
+ # 第一步:構建桌面應用
37
+ build-desktop:
38
+ name: Build Desktop Applications
39
+ uses: ./.github/workflows/build-desktop.yml
40
+ with:
41
+ platforms: ${{ github.event.inputs.platforms }}
42
+ upload_artifacts: true
43
+
44
+ # 第二步:等待構建完成並檢查結果
45
+ check-build:
46
+ name: Check Build Results
47
+ needs: build-desktop
48
+ runs-on: ubuntu-latest
49
+ outputs:
50
+ can_release: ${{ steps.check.outputs.can_release }}
51
+ build_run_id: ${{ steps.check.outputs.build_run_id }}
52
+
53
+ steps:
54
+ - name: Check build results
55
+ id: check
56
+ run: |
57
+ echo "🔍 檢查桌面應用構建結果..."
58
+
59
+ # 檢查構建是否成功
60
+ if [ "${{ needs.build-desktop.result }}" = "success" ]; then
61
+ echo "✅ 桌面應用構建成功"
62
+ echo "can_release=true" >> $GITHUB_OUTPUT
63
+ echo "build_run_id=${{ github.run_id }}" >> $GITHUB_OUTPUT
64
+ else
65
+ echo "❌ 桌面應用構建失敗"
66
+ echo "can_release=false" >> $GITHUB_OUTPUT
67
+ exit 1
68
+ fi
69
+
70
+ - name: Generate summary
71
+ run: |
72
+ echo "## 🖥️ 桌面應用構建完成" >> $GITHUB_STEP_SUMMARY
73
+ echo "" >> $GITHUB_STEP_SUMMARY
74
+ echo "### ✅ 構建結果" >> $GITHUB_STEP_SUMMARY
75
+ echo "" >> $GITHUB_STEP_SUMMARY
76
+ echo "- **狀態**: 成功 ✅" >> $GITHUB_STEP_SUMMARY
77
+ echo "- **平台**: ${{ github.event.inputs.platforms }}" >> $GITHUB_STEP_SUMMARY
78
+ echo "- **Run ID**: ${{ github.run_id }}" >> $GITHUB_STEP_SUMMARY
79
+ echo "" >> $GITHUB_STEP_SUMMARY
80
+
81
+ if [ "${{ github.event.inputs.skip_release }}" = "true" ]; then
82
+ echo "### ⏭️ 跳過發佈" >> $GITHUB_STEP_SUMMARY
83
+ echo "" >> $GITHUB_STEP_SUMMARY
84
+ echo "根據設置,已跳過自動發佈。" >> $GITHUB_STEP_SUMMARY
85
+ echo "如需發佈,請手動運行 [Auto Release to PyPI](../../actions/workflows/publish.yml) 工作流程。" >> $GITHUB_STEP_SUMMARY
86
+ else
87
+ echo "### 🚀 準備發佈" >> $GITHUB_STEP_SUMMARY
88
+ echo "" >> $GITHUB_STEP_SUMMARY
89
+ echo "桌面應用構建成功,正在準備自動發佈..." >> $GITHUB_STEP_SUMMARY
90
+ fi
91
+
92
+ # 第三步:自動發佈(如果沒有跳過)
93
+ release:
94
+ name: Auto Release to PyPI
95
+ needs: [build-desktop, check-build]
96
+ if: ${{ needs.check-build.outputs.can_release == 'true' && github.event.inputs.skip_release != 'true' }}
97
+ uses: ./.github/workflows/publish.yml
98
+ with:
99
+ version_type: ${{ github.event.inputs.version_type }}
100
+ custom_version: ${{ github.event.inputs.custom_version }}
101
+ include_desktop: true
102
+ desktop_build_run_id: ${{ needs.check-build.outputs.build_run_id }}
103
+ secrets: inherit
104
+
105
+ # 最終摘要
106
+ summary:
107
+ name: Workflow Summary
108
+ needs: [build-desktop, check-build, release]
109
+ runs-on: ubuntu-latest
110
+ if: always()
111
+
112
+ steps:
113
+ - name: Generate final summary
114
+ run: |
115
+ echo "## 🎯 構建和發佈摘要" >> $GITHUB_STEP_SUMMARY
116
+ echo "" >> $GITHUB_STEP_SUMMARY
117
+
118
+ # 桌面構建狀態
119
+ echo "### 🖥️ 桌面應用構建" >> $GITHUB_STEP_SUMMARY
120
+ if [ "${{ needs.build-desktop.result }}" = "success" ]; then
121
+ echo "- ✅ **成功** - 所有選定平台構建完成" >> $GITHUB_STEP_SUMMARY
122
+ else
123
+ echo "- ❌ **失敗** - 構建過程中出現錯誤" >> $GITHUB_STEP_SUMMARY
124
+ fi
125
+
126
+ # 發佈狀態
127
+ echo "" >> $GITHUB_STEP_SUMMARY
128
+ echo "### 📦 發佈狀態" >> $GITHUB_STEP_SUMMARY
129
+ if [ "${{ github.event.inputs.skip_release }}" = "true" ]; then
130
+ echo "- ⏭️ **已跳過** - 根據用戶設置跳過發佈" >> $GITHUB_STEP_SUMMARY
131
+ elif [ "${{ needs.release.result }}" = "success" ]; then
132
+ echo "- ✅ **成功** - 已發佈到 PyPI 和 GitHub Releases" >> $GITHUB_STEP_SUMMARY
133
+ elif [ "${{ needs.release.result }}" = "failure" ]; then
134
+ echo "- ❌ **失敗** - 發佈過程中出現錯誤" >> $GITHUB_STEP_SUMMARY
135
+ elif [ "${{ needs.release.result }}" = "skipped" ]; then
136
+ echo "- ⏭️ **已跳過** - 由於桌面構建失敗而跳過" >> $GITHUB_STEP_SUMMARY
137
+ else
138
+ echo "- ⏳ **進行中** - 發佈正在進行中" >> $GITHUB_STEP_SUMMARY
139
+ fi
140
+
141
+ echo "" >> $GITHUB_STEP_SUMMARY
142
+ echo "### 🔗 相關鏈接" >> $GITHUB_STEP_SUMMARY
143
+ echo "- [桌面構建工作流程](../../actions/workflows/build-desktop.yml)" >> $GITHUB_STEP_SUMMARY
144
+ echo "- [發佈工作流程](../../actions/workflows/publish.yml)" >> $GITHUB_STEP_SUMMARY
145
+ if [ "${{ needs.release.result }}" = "success" ]; then
146
+ echo "- [PyPI 頁面](https://pypi.org/project/mcp-feedback-enhanced/)" >> $GITHUB_STEP_SUMMARY
147
+ echo "- [GitHub Releases](../../releases)" >> $GITHUB_STEP_SUMMARY
148
+ fi