code-puppy-core-plugins 0.0.2__py3-none-any.whl

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 (313) hide show
  1. code_puppy_core_plugins/__init__.py +5 -0
  2. code_puppy_core_plugins/acp/README.md +266 -0
  3. code_puppy_core_plugins/acp/__init__.py +8 -0
  4. code_puppy_core_plugins/acp/agent.py +494 -0
  5. code_puppy_core_plugins/acp/bridge.py +309 -0
  6. code_puppy_core_plugins/acp/capabilities.py +73 -0
  7. code_puppy_core_plugins/acp/commands.py +116 -0
  8. code_puppy_core_plugins/acp/content.py +115 -0
  9. code_puppy_core_plugins/acp/io_delegation.py +231 -0
  10. code_puppy_core_plugins/acp/mcp_config.py +66 -0
  11. code_puppy_core_plugins/acp/permissions.py +159 -0
  12. code_puppy_core_plugins/acp/persistence.py +197 -0
  13. code_puppy_core_plugins/acp/register_callbacks.py +110 -0
  14. code_puppy_core_plugins/acp/replay.py +114 -0
  15. code_puppy_core_plugins/acp/session.py +329 -0
  16. code_puppy_core_plugins/acp/session_config.py +179 -0
  17. code_puppy_core_plugins/acp/state.py +135 -0
  18. code_puppy_core_plugins/agent_skills/__init__.py +22 -0
  19. code_puppy_core_plugins/agent_skills/config.py +208 -0
  20. code_puppy_core_plugins/agent_skills/discovery.py +337 -0
  21. code_puppy_core_plugins/agent_skills/downloader.py +392 -0
  22. code_puppy_core_plugins/agent_skills/enabled_skills.py +82 -0
  23. code_puppy_core_plugins/agent_skills/installer.py +22 -0
  24. code_puppy_core_plugins/agent_skills/metadata.py +219 -0
  25. code_puppy_core_plugins/agent_skills/prompt_builder.py +49 -0
  26. code_puppy_core_plugins/agent_skills/provider.py +52 -0
  27. code_puppy_core_plugins/agent_skills/register_callbacks.py +309 -0
  28. code_puppy_core_plugins/agent_skills/remote_catalog.py +322 -0
  29. code_puppy_core_plugins/agent_skills/skill_catalog.py +257 -0
  30. code_puppy_core_plugins/agent_skills/skill_commands.py +102 -0
  31. code_puppy_core_plugins/agent_skills/skills_install_menu.py +698 -0
  32. code_puppy_core_plugins/agent_skills/skills_menu.py +794 -0
  33. code_puppy_core_plugins/aws_bedrock/__init__.py +14 -0
  34. code_puppy_core_plugins/aws_bedrock/config.py +101 -0
  35. code_puppy_core_plugins/aws_bedrock/register_callbacks.py +243 -0
  36. code_puppy_core_plugins/aws_bedrock/utils.py +186 -0
  37. code_puppy_core_plugins/azure_foundry/README.md +238 -0
  38. code_puppy_core_plugins/azure_foundry/__init__.py +15 -0
  39. code_puppy_core_plugins/azure_foundry/config.py +126 -0
  40. code_puppy_core_plugins/azure_foundry/discovery.py +189 -0
  41. code_puppy_core_plugins/azure_foundry/register_callbacks.py +506 -0
  42. code_puppy_core_plugins/azure_foundry/token.py +182 -0
  43. code_puppy_core_plugins/azure_foundry/utils.py +375 -0
  44. code_puppy_core_plugins/btw/__init__.py +1 -0
  45. code_puppy_core_plugins/btw/inline_view.py +135 -0
  46. code_puppy_core_plugins/btw/register_callbacks.py +106 -0
  47. code_puppy_core_plugins/btw/side_query.py +91 -0
  48. code_puppy_core_plugins/chatgpt_oauth/IMAGEGEN_SKILL.md +83 -0
  49. code_puppy_core_plugins/chatgpt_oauth/__init__.py +8 -0
  50. code_puppy_core_plugins/chatgpt_oauth/config.py +52 -0
  51. code_puppy_core_plugins/chatgpt_oauth/image_generation.py +253 -0
  52. code_puppy_core_plugins/chatgpt_oauth/image_tool.py +70 -0
  53. code_puppy_core_plugins/chatgpt_oauth/oauth_flow.py +461 -0
  54. code_puppy_core_plugins/chatgpt_oauth/register_callbacks.py +288 -0
  55. code_puppy_core_plugins/chatgpt_oauth/test_plugin.py +663 -0
  56. code_puppy_core_plugins/chatgpt_oauth/usage.py +113 -0
  57. code_puppy_core_plugins/chatgpt_oauth/utils.py +534 -0
  58. code_puppy_core_plugins/claude_code_hooks/__init__.py +1 -0
  59. code_puppy_core_plugins/claude_code_hooks/config.py +137 -0
  60. code_puppy_core_plugins/claude_code_hooks/register_callbacks.py +383 -0
  61. code_puppy_core_plugins/claude_code_oauth/README.md +167 -0
  62. code_puppy_core_plugins/claude_code_oauth/SETUP.md +93 -0
  63. code_puppy_core_plugins/claude_code_oauth/__init__.py +25 -0
  64. code_puppy_core_plugins/claude_code_oauth/config.py +59 -0
  65. code_puppy_core_plugins/claude_code_oauth/fast_mode.py +122 -0
  66. code_puppy_core_plugins/claude_code_oauth/prompt_handler.py +64 -0
  67. code_puppy_core_plugins/claude_code_oauth/register_callbacks.py +719 -0
  68. code_puppy_core_plugins/claude_code_oauth/test_plugin.py +285 -0
  69. code_puppy_core_plugins/claude_code_oauth/token_refresh_heartbeat.py +240 -0
  70. code_puppy_core_plugins/claude_code_oauth/utils.py +663 -0
  71. code_puppy_core_plugins/code_puppy_agent/AGENTS_AND_TOOLS.md +155 -0
  72. code_puppy_core_plugins/code_puppy_agent/MODELS_AND_MCP.md +104 -0
  73. code_puppy_core_plugins/code_puppy_agent/PLUGINS_AND_CALLBACKS.md +147 -0
  74. code_puppy_core_plugins/code_puppy_agent/SESSIONS_AND_HISTORY.md +39 -0
  75. code_puppy_core_plugins/code_puppy_agent/SKILL.md +180 -0
  76. code_puppy_core_plugins/code_puppy_agent/SKILLS_SYSTEM.md +136 -0
  77. code_puppy_core_plugins/code_puppy_agent/SYSTEM_PROMPT_CONFIG_AND_I18N.md +160 -0
  78. code_puppy_core_plugins/code_puppy_agent/__init__.py +5 -0
  79. code_puppy_core_plugins/code_puppy_agent/register_callbacks.py +46 -0
  80. code_puppy_core_plugins/computer_use/NativeCapture.swift +123 -0
  81. code_puppy_core_plugins/computer_use/README.md +109 -0
  82. code_puppy_core_plugins/computer_use/__init__.py +1 -0
  83. code_puppy_core_plugins/computer_use/accessibility.py +163 -0
  84. code_puppy_core_plugins/computer_use/activation.py +75 -0
  85. code_puppy_core_plugins/computer_use/backend.py +584 -0
  86. code_puppy_core_plugins/computer_use/backend_types.py +5 -0
  87. code_puppy_core_plugins/computer_use/capture.py +110 -0
  88. code_puppy_core_plugins/computer_use/commands.py +62 -0
  89. code_puppy_core_plugins/computer_use/geometry.py +81 -0
  90. code_puppy_core_plugins/computer_use/inline_image.py +56 -0
  91. code_puppy_core_plugins/computer_use/keycodes.py +47 -0
  92. code_puppy_core_plugins/computer_use/policy.py +144 -0
  93. code_puppy_core_plugins/computer_use/register_callbacks.py +96 -0
  94. code_puppy_core_plugins/computer_use/safety.py +18 -0
  95. code_puppy_core_plugins/computer_use/settle.py +64 -0
  96. code_puppy_core_plugins/computer_use/state.py +86 -0
  97. code_puppy_core_plugins/computer_use/tools.py +469 -0
  98. code_puppy_core_plugins/context_indicator/__init__.py +14 -0
  99. code_puppy_core_plugins/context_indicator/register_callbacks.py +249 -0
  100. code_puppy_core_plugins/context_indicator/usage.py +40 -0
  101. code_puppy_core_plugins/copilot_auth/__init__.py +11 -0
  102. code_puppy_core_plugins/copilot_auth/config.py +93 -0
  103. code_puppy_core_plugins/copilot_auth/reasoning_client.py +409 -0
  104. code_puppy_core_plugins/copilot_auth/register_callbacks.py +460 -0
  105. code_puppy_core_plugins/copilot_auth/utils.py +587 -0
  106. code_puppy_core_plugins/customizable_commands/__init__.py +0 -0
  107. code_puppy_core_plugins/customizable_commands/register_callbacks.py +464 -0
  108. code_puppy_core_plugins/dbos_durable_exec/__init__.py +1 -0
  109. code_puppy_core_plugins/dbos_durable_exec/cancel.py +15 -0
  110. code_puppy_core_plugins/dbos_durable_exec/commands.py +31 -0
  111. code_puppy_core_plugins/dbos_durable_exec/config.py +31 -0
  112. code_puppy_core_plugins/dbos_durable_exec/lifecycle.py +83 -0
  113. code_puppy_core_plugins/dbos_durable_exec/register_callbacks.py +45 -0
  114. code_puppy_core_plugins/dbos_durable_exec/runtime.py +65 -0
  115. code_puppy_core_plugins/dbos_durable_exec/startup_lock.py +155 -0
  116. code_puppy_core_plugins/dbos_durable_exec/workflow_ids.py +16 -0
  117. code_puppy_core_plugins/dbos_durable_exec/wrapper.py +58 -0
  118. code_puppy_core_plugins/destructive_command_guard/AGENTS.md +79 -0
  119. code_puppy_core_plugins/destructive_command_guard/__init__.py +14 -0
  120. code_puppy_core_plugins/destructive_command_guard/detector.py +374 -0
  121. code_puppy_core_plugins/destructive_command_guard/register_callbacks.py +165 -0
  122. code_puppy_core_plugins/emoji_filter/__init__.py +12 -0
  123. code_puppy_core_plugins/emoji_filter/config.py +26 -0
  124. code_puppy_core_plugins/emoji_filter/register_callbacks.py +238 -0
  125. code_puppy_core_plugins/emoji_filter/stripper.py +45 -0
  126. code_puppy_core_plugins/empty_html_comment_filter/register_callbacks.py +116 -0
  127. code_puppy_core_plugins/example_custom_command/README.md +328 -0
  128. code_puppy_core_plugins/example_custom_command/register_callbacks.py +66 -0
  129. code_puppy_core_plugins/file_permission_handler/__init__.py +4 -0
  130. code_puppy_core_plugins/file_permission_handler/register_callbacks.py +575 -0
  131. code_puppy_core_plugins/flux_bootstrap/__init__.py +5 -0
  132. code_puppy_core_plugins/flux_bootstrap/bundled/commands/flux/_docs/README.md +173 -0
  133. code_puppy_core_plugins/flux_bootstrap/bundled/commands/flux/_docs/cheatsheet.md +86 -0
  134. code_puppy_core_plugins/flux_bootstrap/bundled/commands/flux/_docs/pipeline.md +167 -0
  135. code_puppy_core_plugins/flux_bootstrap/bundled/commands/flux/_docs/synopsis.md +392 -0
  136. code_puppy_core_plugins/flux_bootstrap/bundled/commands/flux/about.md +51 -0
  137. code_puppy_core_plugins/flux_bootstrap/bundled/commands/flux/address-feedback.md +129 -0
  138. code_puppy_core_plugins/flux_bootstrap/bundled/commands/flux/ask.md +211 -0
  139. code_puppy_core_plugins/flux_bootstrap/bundled/commands/flux/aug.md +181 -0
  140. code_puppy_core_plugins/flux_bootstrap/bundled/commands/flux/auto-pilot.md +71 -0
  141. code_puppy_core_plugins/flux_bootstrap/bundled/commands/flux/cheatsheet.md +16 -0
  142. code_puppy_core_plugins/flux_bootstrap/bundled/commands/flux/commit.md +103 -0
  143. code_puppy_core_plugins/flux_bootstrap/bundled/commands/flux/config.md +108 -0
  144. code_puppy_core_plugins/flux_bootstrap/bundled/commands/flux/create-pr.md +195 -0
  145. code_puppy_core_plugins/flux_bootstrap/bundled/commands/flux/exec.md +221 -0
  146. code_puppy_core_plugins/flux_bootstrap/bundled/commands/flux/new.md +151 -0
  147. code_puppy_core_plugins/flux_bootstrap/bundled/commands/flux/qa.md +208 -0
  148. code_puppy_core_plugins/flux_bootstrap/bundled/commands/flux/rebase.md +180 -0
  149. code_puppy_core_plugins/flux_bootstrap/bundled/commands/flux/review.md +304 -0
  150. code_puppy_core_plugins/flux_bootstrap/bundled/commands/flux/split.md +120 -0
  151. code_puppy_core_plugins/flux_bootstrap/bundled/commands/flux/squash-commits.md +179 -0
  152. code_puppy_core_plugins/flux_bootstrap/bundled/commands/flux/status.md +46 -0
  153. code_puppy_core_plugins/flux_bootstrap/bundled/commands/flux/tests.md +155 -0
  154. code_puppy_core_plugins/flux_bootstrap/bundled/scripts/flux_about.py +154 -0
  155. code_puppy_core_plugins/flux_bootstrap/bundled/scripts/flux_cheatsheet.py +248 -0
  156. code_puppy_core_plugins/flux_bootstrap/bundled/scripts/flux_status.py +345 -0
  157. code_puppy_core_plugins/flux_bootstrap/installer.py +256 -0
  158. code_puppy_core_plugins/flux_bootstrap/register_callbacks.py +71 -0
  159. code_puppy_core_plugins/force_push_guard/__init__.py +5 -0
  160. code_puppy_core_plugins/force_push_guard/detector.py +96 -0
  161. code_puppy_core_plugins/force_push_guard/register_callbacks.py +161 -0
  162. code_puppy_core_plugins/fork/__init__.py +7 -0
  163. code_puppy_core_plugins/fork/register_callbacks.py +445 -0
  164. code_puppy_core_plugins/frontend_emitter/__init__.py +25 -0
  165. code_puppy_core_plugins/frontend_emitter/emitter.py +249 -0
  166. code_puppy_core_plugins/frontend_emitter/register_callbacks.py +412 -0
  167. code_puppy_core_plugins/frontend_emitter/session_context.py +50 -0
  168. code_puppy_core_plugins/grok_oauth/__init__.py +6 -0
  169. code_puppy_core_plugins/grok_oauth/config.py +49 -0
  170. code_puppy_core_plugins/grok_oauth/oauth_flow.py +213 -0
  171. code_puppy_core_plugins/grok_oauth/register_callbacks.py +132 -0
  172. code_puppy_core_plugins/grok_oauth/utils.py +195 -0
  173. code_puppy_core_plugins/herdr/README.md +168 -0
  174. code_puppy_core_plugins/herdr/__init__.py +9 -0
  175. code_puppy_core_plugins/herdr/client.py +339 -0
  176. code_puppy_core_plugins/herdr/register_callbacks.py +140 -0
  177. code_puppy_core_plugins/herdr/reporter.py +212 -0
  178. code_puppy_core_plugins/herdr/smoke.py +143 -0
  179. code_puppy_core_plugins/herdr/sources.py +133 -0
  180. code_puppy_core_plugins/hook_creator/__init__.py +1 -0
  181. code_puppy_core_plugins/hook_creator/register_callbacks.py +33 -0
  182. code_puppy_core_plugins/hook_manager/__init__.py +1 -0
  183. code_puppy_core_plugins/hook_manager/config.py +290 -0
  184. code_puppy_core_plugins/hook_manager/hooks_menu.py +571 -0
  185. code_puppy_core_plugins/hook_manager/register_callbacks.py +227 -0
  186. code_puppy_core_plugins/meta_oauth/__init__.py +1 -0
  187. code_puppy_core_plugins/meta_oauth/config.py +55 -0
  188. code_puppy_core_plugins/meta_oauth/oauth_flow.py +109 -0
  189. code_puppy_core_plugins/meta_oauth/register_callbacks.py +154 -0
  190. code_puppy_core_plugins/meta_oauth/utils.py +252 -0
  191. code_puppy_core_plugins/namespace_skill_search/README.md +118 -0
  192. code_puppy_core_plugins/namespace_skill_search/__init__.py +15 -0
  193. code_puppy_core_plugins/namespace_skill_search/namespaces.py +125 -0
  194. code_puppy_core_plugins/namespace_skill_search/register_callbacks.py +99 -0
  195. code_puppy_core_plugins/namespace_skill_search/search_tool.py +158 -0
  196. code_puppy_core_plugins/no_tools/__init__.py +0 -0
  197. code_puppy_core_plugins/no_tools/register_callbacks.py +42 -0
  198. code_puppy_core_plugins/oauth_pasteback.py +110 -0
  199. code_puppy_core_plugins/oauth_puppy_html.py +194 -0
  200. code_puppy_core_plugins/obsidian_agent/README.md +52 -0
  201. code_puppy_core_plugins/obsidian_agent/__init__.py +8 -0
  202. code_puppy_core_plugins/obsidian_agent/agent_obsidian.py +147 -0
  203. code_puppy_core_plugins/obsidian_agent/register_callbacks.py +13 -0
  204. code_puppy_core_plugins/ollama/__init__.py +1 -0
  205. code_puppy_core_plugins/ollama/register_callbacks.py +127 -0
  206. code_puppy_core_plugins/ollama_setup/__init__.py +5 -0
  207. code_puppy_core_plugins/ollama_setup/completer.py +38 -0
  208. code_puppy_core_plugins/ollama_setup/register_callbacks.py +419 -0
  209. code_puppy_core_plugins/plugin_list/__init__.py +0 -0
  210. code_puppy_core_plugins/plugin_list/plugin_contributions.py +348 -0
  211. code_puppy_core_plugins/plugin_list/plugin_meta.py +67 -0
  212. code_puppy_core_plugins/plugin_list/plugin_text_utils.py +173 -0
  213. code_puppy_core_plugins/plugin_list/plugins_menu.py +455 -0
  214. code_puppy_core_plugins/plugin_list/plugins_menu_layout.py +194 -0
  215. code_puppy_core_plugins/plugin_list/plugins_menu_render.py +431 -0
  216. code_puppy_core_plugins/plugin_list/project_trust_flow.py +162 -0
  217. code_puppy_core_plugins/plugin_list/register_callbacks.py +281 -0
  218. code_puppy_core_plugins/pop_command/__init__.py +1 -0
  219. code_puppy_core_plugins/pop_command/register_callbacks.py +191 -0
  220. code_puppy_core_plugins/prompt_newline/__init__.py +13 -0
  221. code_puppy_core_plugins/prompt_newline/config.py +21 -0
  222. code_puppy_core_plugins/prompt_newline/register_callbacks.py +163 -0
  223. code_puppy_core_plugins/prune/__init__.py +1 -0
  224. code_puppy_core_plugins/prune/prune_menu.py +308 -0
  225. code_puppy_core_plugins/prune/prune_model.py +517 -0
  226. code_puppy_core_plugins/prune/prune_render.py +354 -0
  227. code_puppy_core_plugins/prune/register_callbacks.py +388 -0
  228. code_puppy_core_plugins/puppy_kennel/README.md +203 -0
  229. code_puppy_core_plugins/puppy_kennel/__init__.py +6 -0
  230. code_puppy_core_plugins/puppy_kennel/commands.py +206 -0
  231. code_puppy_core_plugins/puppy_kennel/config.py +36 -0
  232. code_puppy_core_plugins/puppy_kennel/kennel.py +368 -0
  233. code_puppy_core_plugins/puppy_kennel/packer.py +152 -0
  234. code_puppy_core_plugins/puppy_kennel/recorder.py +83 -0
  235. code_puppy_core_plugins/puppy_kennel/register_callbacks.py +109 -0
  236. code_puppy_core_plugins/puppy_kennel/retriever.py +28 -0
  237. code_puppy_core_plugins/puppy_kennel/schema.py +78 -0
  238. code_puppy_core_plugins/puppy_kennel/state.py +68 -0
  239. code_puppy_core_plugins/puppy_kennel/tools.py +449 -0
  240. code_puppy_core_plugins/puppy_kennel/wings.py +110 -0
  241. code_puppy_core_plugins/puppy_spinner/README.md +93 -0
  242. code_puppy_core_plugins/puppy_spinner/__init__.py +11 -0
  243. code_puppy_core_plugins/puppy_spinner/builtin_frames.py +172 -0
  244. code_puppy_core_plugins/puppy_spinner/commands.py +116 -0
  245. code_puppy_core_plugins/puppy_spinner/picker.py +379 -0
  246. code_puppy_core_plugins/puppy_spinner/register_callbacks.py +193 -0
  247. code_puppy_core_plugins/puppy_spinner/spinners.py +444 -0
  248. code_puppy_core_plugins/quick_resume/__init__.py +0 -0
  249. code_puppy_core_plugins/quick_resume/register_callbacks.py +77 -0
  250. code_puppy_core_plugins/review_pr/__init__.py +1 -0
  251. code_puppy_core_plugins/review_pr/register_callbacks.py +162 -0
  252. code_puppy_core_plugins/shell_safety/__init__.py +6 -0
  253. code_puppy_core_plugins/shell_safety/agent_shell_safety.py +69 -0
  254. code_puppy_core_plugins/shell_safety/command_cache.py +156 -0
  255. code_puppy_core_plugins/shell_safety/register_callbacks.py +203 -0
  256. code_puppy_core_plugins/stack_dump/__init__.py +1 -0
  257. code_puppy_core_plugins/stack_dump/register_callbacks.py +79 -0
  258. code_puppy_core_plugins/statusline/__init__.py +14 -0
  259. code_puppy_core_plugins/statusline/config.py +68 -0
  260. code_puppy_core_plugins/statusline/payload.py +138 -0
  261. code_puppy_core_plugins/statusline/prompt_patch.py +76 -0
  262. code_puppy_core_plugins/statusline/register_callbacks.py +45 -0
  263. code_puppy_core_plugins/statusline/runner.py +122 -0
  264. code_puppy_core_plugins/statusline/statusline_command.py +197 -0
  265. code_puppy_core_plugins/steer_queue/__init__.py +10 -0
  266. code_puppy_core_plugins/steer_queue/queue_menu.py +444 -0
  267. code_puppy_core_plugins/steer_queue/register_callbacks.py +138 -0
  268. code_puppy_core_plugins/subagent_panel/README.md +102 -0
  269. code_puppy_core_plugins/subagent_panel/__init__.py +24 -0
  270. code_puppy_core_plugins/subagent_panel/coalesce_patch.py +242 -0
  271. code_puppy_core_plugins/subagent_panel/panel_render.py +145 -0
  272. code_puppy_core_plugins/subagent_panel/register_callbacks.py +535 -0
  273. code_puppy_core_plugins/subagent_panel/resume_repaint.py +112 -0
  274. code_puppy_core_plugins/subagent_panel/state.py +231 -0
  275. code_puppy_core_plugins/switch_agent_resume/__init__.py +5 -0
  276. code_puppy_core_plugins/switch_agent_resume/register_callbacks.py +314 -0
  277. code_puppy_core_plugins/theme/README.md +86 -0
  278. code_puppy_core_plugins/theme/__init__.py +14 -0
  279. code_puppy_core_plugins/theme/bundled_palettes.py +346 -0
  280. code_puppy_core_plugins/theme/content_styles.py +146 -0
  281. code_puppy_core_plugins/theme/osc_palette.py +178 -0
  282. code_puppy_core_plugins/theme/picker.py +358 -0
  283. code_puppy_core_plugins/theme/prompt_toolkit_theme.py +113 -0
  284. code_puppy_core_plugins/theme/register_callbacks.py +348 -0
  285. code_puppy_core_plugins/theme/rich_themes.py +202 -0
  286. code_puppy_core_plugins/theme/themes.py +720 -0
  287. code_puppy_core_plugins/timestamp_heartbeat/__init__.py +1 -0
  288. code_puppy_core_plugins/timestamp_heartbeat/register_callbacks.py +114 -0
  289. code_puppy_core_plugins/token_ratio_learner/__init__.py +5 -0
  290. code_puppy_core_plugins/token_ratio_learner/ratios.py +208 -0
  291. code_puppy_core_plugins/token_ratio_learner/register_callbacks.py +213 -0
  292. code_puppy_core_plugins/universal_constructor/__init__.py +13 -0
  293. code_puppy_core_plugins/universal_constructor/models.py +138 -0
  294. code_puppy_core_plugins/universal_constructor/provider.py +62 -0
  295. code_puppy_core_plugins/universal_constructor/register_callbacks.py +75 -0
  296. code_puppy_core_plugins/universal_constructor/registry.py +302 -0
  297. code_puppy_core_plugins/universal_constructor/sandbox.py +584 -0
  298. code_puppy_core_plugins/wide_completion_menu/__init__.py +6 -0
  299. code_puppy_core_plugins/wide_completion_menu/register_callbacks.py +165 -0
  300. code_puppy_core_plugins/wiggum/__init__.py +1 -0
  301. code_puppy_core_plugins/wiggum/goal_runs.py +91 -0
  302. code_puppy_core_plugins/wiggum/judge.py +299 -0
  303. code_puppy_core_plugins/wiggum/judge_config.py +249 -0
  304. code_puppy_core_plugins/wiggum/judges_menu.py +814 -0
  305. code_puppy_core_plugins/wiggum/register_callbacks.py +569 -0
  306. code_puppy_core_plugins/wiggum/state.py +89 -0
  307. code_puppy_core_plugins/yolo_cli/__init__.py +1 -0
  308. code_puppy_core_plugins/yolo_cli/register_callbacks.py +41 -0
  309. code_puppy_core_plugins-0.0.2.dist-info/METADATA +64 -0
  310. code_puppy_core_plugins-0.0.2.dist-info/RECORD +313 -0
  311. code_puppy_core_plugins-0.0.2.dist-info/WHEEL +4 -0
  312. code_puppy_core_plugins-0.0.2.dist-info/entry_points.txt +55 -0
  313. code_puppy_core_plugins-0.0.2.dist-info/licenses/LICENSE +21 -0
@@ -0,0 +1,173 @@
1
+ # 𝕱 Flux Workflow System
2
+
3
+ Read the full story [here](https://github.com/mpfaffenberger/code_puppy/blob/main/docs/FLUX.md)
4
+
5
+ Here is the TL;DR
6
+
7
+ A structured, AI-assisted development pipeline organized around **task files** stored in `~/.flux/<flattened-dir>/todo/`.
8
+ Every command guides you through one stage of the lifecycle, with each step proposing the next.
9
+
10
+ Naming: throughout the docs and command .md files the term 'task' and 'task-file' are used interchangeably.
11
+ They both mean: an .md file in the flux todo directory (`~/.flux/<flattened-dir>/todo`)
12
+
13
+ ---
14
+
15
+ ## First-Time Setup (optional)
16
+
17
+ ```
18
+ /flux/config
19
+ ```
20
+
21
+ This sets up the flux `config.env` file (at `~/.flux/<flattened-dir>/config.env`) with your project's test command.
22
+
23
+ **NOTE**: config.env is only used by the 'tests' command. If you don't plan to use it, you can skip flux/config and start directly with flux/new
24
+
25
+ > **Flux root directory:** `~/.flux/<flattened-dir>/`. All task files, review files, and config are stored under the root automatically.
26
+
27
+ ## The Core Pipeline
28
+
29
+ ```
30
+ new -> ask -> split -> aug -> exec -> qa -> tests -> commit -> create-pr
31
+ ```
32
+
33
+ | Step | Command | What happens |
34
+ | ---- | -------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
35
+ | 1 | /flux/new <prompt\|Jira ticket> | Creates a task `.md` file in the flux todo directory from your description or Jira ticket |
36
+ | 2 | /flux/ask <task-file\|all> | Asks clarifying questions (one at a time), researches the codebase, then **augments** the task file |
37
+ | 3 | /flux/split <task-file> | Splits a large task into multiple focused subtask files. Deletes the original. |
38
+ | 4 | /flux/aug <task-file\|N\|all> | Deep research pass - explores source files, finds existing code, enriches task file(s) with citations |
39
+ | 5 | /flux/exec <task-file\|N\|all> | Faithfully implements exactly what the task says. No scope creep. |
40
+ | 6 | /flux/qa <task-file\|N\|all> | Rates implementation 1-10. If 10/10 -> moves the task file to `done`. If <10 -> refines remaining gaps |
41
+ | 7 | /flux/tests | Runs the test suite. Fixes regressions introduced by this branch. Leaves pre-existing failures untouched. If you want those also fixed, you can specify that as 'additional-instructions' |
42
+ | 8 | /flux/commit | Diffs vs previous commit, creates a detailed commit message, asks for confirmation, commits (no push) |
43
+ | 9 | /flux/create-pr | Creates a GitHub Pull Request from the current branch. Derives title from branch name. Idempotent: shows existing PR if one already exists. |
44
+
45
+ > **QA loop**: If `qa` doesn't score 10/10, run `exec` again on the updated file, then `qa` again. Repeat until the file is marked 10/10 and is deleted.
46
+
47
+ ---
48
+
49
+ ## Unified Commands
50
+
51
+ The `aug`, `exec`, and `qa` commands support **both single-task and multi-task** modes through argument detection:
52
+
53
+ | Argument Type | Mode | Behavior |
54
+ | -------------------------- | ----------- | -------------------------------------------------------------------------------------------------- |
55
+ | Filename (e.g., NOTIFS.md) | Single-task | Process one specific task file |
56
+ | Number (e.g., 2, 3, 5) | Multi-task | Spawn N sub-agents in parallel |
57
+ | 'all' | Single-task | Process all task files sequentially
58
+ | (empty) | Interactive | Prompt user to select task(s) from the list found in the flux todo directory via `ask_user_question` |
59
+
60
+ **Examples:**
61
+
62
+ ```
63
+ /flux/aug NOTIFS.md # Augment single task
64
+ /flux/aug 2 # Augment all tasks, 2 agents in parallel
65
+ /flux/aug all # Augment all tasks sequentially
66
+ /flux/aug # Show selection prompt
67
+
68
+ /flux/exec DEV_1.md # Execute single task
69
+ /flux/exec 3 # Execute all tasks, 3 agents in parallel
70
+ /flux/exec all # Execute all tasks sequentially
71
+ /flux/exec # Show selection prompt
72
+
73
+ /flux/qa FEATURE.md # QA single task
74
+ /flux/qa 2 # QA all tasks, 2 agents in parallel
75
+ /flux/qa all # QA all tasks sequentially
76
+ /flux/qa # Show selection prompt
77
+ ```
78
+
79
+ ---
80
+
81
+ ## Utility Commands
82
+
83
+ | Command | What it does |
84
+ | ----------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
85
+ | /flux/config | (optional) Creates or updates the flux `config.env` with project-specific settings (the test command used by /flux/tests). Run once per project before using the Flux suite. |
86
+ | /flux/review [PR#] | Full code review of changes vs parent branch. Optionally accepts PR number for automatic branch detection and PR commenting. |
87
+ | /flux/address-feedback [zip] | Convert existing review files (present in the flux review folder) into todo tasks. Accepts optional zip file path for reviews received from others. |
88
+ | /flux/rebase | Rebase the current branch onto latest main, preserving individual commits. Handles clean-tree check, conflict resolution, and force-with-lease push. |
89
+ | /flux/squash-commits | Squash all unmerged commits on the current branch into one. Checks clean tree (with stash option), detects remote out-of-sync, and offers force-with-lease push. |
90
+ | /flux/auto-pilot | Orchestrate the full PIPELINE A end-to-end from a single prompt, spec file, or Jira ticket. Pauses only during `/flux/ask`. |
91
+
92
+ ---
93
+
94
+ ## Pipelines
95
+
96
+ ### PIPELINE A - New feature / bug fix
97
+
98
+ ```
99
+ 1. /flux/new <prompt>
100
+ 2. /flux/ask <task-file>
101
+ 3. /flux/split <task-file>
102
+ 4. /flux/aug 2
103
+ 5. /flux/exec 2
104
+ 6. /flux/qa 2
105
+ 7. /flux/tests
106
+ 8. /flux/commit
107
+ 9. the agent asks the user to test the changes and proposes next step: /flux/create-pr
108
+ ```
109
+
110
+ ### PIPELINE B - Code review (your own changes)
111
+
112
+ ```
113
+ 1. /flux/review
114
+ 2. /flux/address-feedback
115
+ 3. /flux/ask all
116
+ 4. /flux/exec 2
117
+ 5. /flux/qa 2
118
+ 6. /flux/tests
119
+ 7. /flux/commit
120
+ ```
121
+
122
+ > **Note:** Depending on the number of changes, you may want to process `critical` tasks one by one.
123
+
124
+ ### PIPELINE C - Code review received on your PR
125
+
126
+ ```
127
+ 1. /flux/address-feedback ~/Desktop/review.zip
128
+ 2. /flux/ask all
129
+ 3. /flux/exec 2
130
+ 4. /flux/qa 2
131
+ 5. /flux/tests
132
+ 6. /flux/commit
133
+ ```
134
+
135
+ ---
136
+
137
+ ## Key Design Principles
138
+
139
+ - **Task files are the source of truth** - never modify them during `exec` or `qa`; only `qa` can edit/delete them
140
+ - **No tests, no benchmarks** - explicitly excluded; they are handled separately (/flux/tests)
141
+ - **No git commands** during `exec`/`qa` - other agents may be working concurrently
142
+ - **Steps always propose the next step** - each command ends by suggesting what to run next with the right arguments
143
+ - **task-file path and extension is inferred** - when passing a task-file as argument, the name with no suffix is sufficient
144
+ e.g. instead of `/flux/aug <flux-todo-dir>/TASK_1.md` you can just do `/flux/aug TASK_1`
145
+
146
+ ## APPENDIX
147
+
148
+ - Examples of config.env file:
149
+
150
+ ```
151
+ TEST_CMD=bun run lint && bun run test:quiet
152
+ ```
153
+
154
+ ```
155
+ TEST_CMD=uv run ruff check . && uv run pytest -q --no-cov
156
+ ```
157
+
158
+ - Examples of stack.env file:
159
+
160
+ This is used by `aug`, `exec`, `qa`, `review`.
161
+ If absent, the agent runs a detection script and writes it (first-run per directory).
162
+
163
+ ```
164
+ pydantic.ai + Python
165
+ ```
166
+
167
+ ```
168
+ Ink + Typescript
169
+ ```
170
+
171
+ ```
172
+ fastAPI + Python
173
+ ```
@@ -0,0 +1,86 @@
1
+ # //flux Cheatsheet
2
+
3
+ ## FIRST-TIME SETUP (run once per project) - optional
4
+
5
+ ```
6
+ /flux/config TEST_CMD=<your-test-command-for-this-project>
7
+ ```
8
+
9
+ Sets up the flux `config.env` (`~/.flux/<flattened-dir>/config.env`) with your test command.
10
+ Required before using the //flux suite on a new repo.
11
+
12
+ > **Tip:** `TEST_CMD` supports chaining — e.g. `bun run lint && bun run test:quiet`
13
+
14
+ ---
15
+
16
+ ## ON MY BRANCH
17
+
18
+ ### PIPELINE A:
19
+
20
+ New ticket, feature, bug fix
21
+
22
+ #### MANUAL
23
+
24
+ 1. /flux/new <task-description | Jira ticket>
25
+ 2. /flux/ask <task-file | all>
26
+ 3. /flux/split <task-file>
27
+ 4. /flux/aug <task-file> or /flux/aug <N> or /flux/aug all
28
+ 5. /flux/exec <task-file> or /flux/exec <N> or /flux/exec all
29
+ 6. /flux/qa <task-file> or /flux/qa <N> or /flux/exec all
30
+ 7. /flux/tests
31
+ 8. /flux/commit
32
+ 9. test changes (build and run the application)
33
+ 10. /flux/create-pr
34
+
35
+ #### AUTO-PILOT
36
+
37
+ 1. /flux/auto-pilot <task-description | Jira ticket>
38
+
39
+ ### PIPELINE B:
40
+
41
+ Review my own changes
42
+
43
+ 1. /flux/review
44
+ 2. /flux/address-feedback
45
+ 3. /flux/ask all
46
+ 4. /flux/exec 2
47
+ 5. /flux/qa 2
48
+ 6. /flux/commit
49
+
50
+ ### PIPELINE C:
51
+
52
+ Address review received from a PR reviewer
53
+
54
+ 1. /flux/address-feedback ~/Desktop/review.zip
55
+ 2. /flux/ask all
56
+ 3. /flux/exec 2
57
+ 4. /flux/qa 2
58
+ 5. /flux/commit
59
+
60
+ ### PIPELINE D:
61
+
62
+ Review someone else's PR
63
+
64
+ 1. /flux/review <PR#> OR
65
+ /flux/review (if you are in the checked out PR branch)
66
+ 2. Share the zip file created (e.g. `~/.flux/<flattened-dir>/review.zip`) with PR author (post on the PR, Slack, etc.)
67
+
68
+ ## Quick Reference
69
+
70
+ | Task | Command |
71
+ | -------------------- | -------------------------------------------------- |
72
+ | Project setup | /flux/config |
73
+ | Create task | /flux/new <description or JIRA-ID> |
74
+ | Clarify requirements | /flux/ask <task-file\|'all'> |
75
+ | Break down task | /flux/split <task-file> |
76
+ | Research & augment | /flux/aug <task-file\|N\|'all'> |
77
+ | Execute task(s) | /flux/exec <task-file\|N\|'all'> |
78
+ | QA review | /flux/qa <task-file\|N\|'all'> |
79
+ | Fix test regressions | /flux/tests |
80
+ | Commit changes | /flux/commit |
81
+ | Create a PR | /flux/create-pr |
82
+ | Code review | /flux/review [PR#] |
83
+ | Process feedback | /flux/address-feedback [zipfile] |
84
+ | Rebase onto main | /flux/rebase |
85
+ | Squash commits | /flux/squash-commits |
86
+ | Full pipeline | /flux/auto-pilot <prompt \| task-file \| JIRA-ID> |
@@ -0,0 +1,167 @@
1
+ # Core Pipeline
2
+
3
+ ## One Time Setup (optional)
4
+
5
+ **Run once per project or github worktree**
6
+
7
+ ```
8
+ /flux/config TEST_CMD=<your-test-command-for-this-project>
9
+ ```
10
+
11
+ Configures the flux `config.env` (`~/.flux/<flattened-dir>/config.env`) with your test command.
12
+
13
+ > **Tip:** `TEST_CMD` can chain lint and tests. Example: `bun run lint && bun run test:quiet`
14
+
15
+ ---
16
+
17
+ ## Available Commands
18
+
19
+ | Command | What it does |
20
+ | ----------------------------------- | --------------------------------------------------------------------------------------- |
21
+ | /flux/config TEST_CMD=<test-cmd> | (optional) — configure project settings in the flux `config.env` |
22
+ | /flux/new <prompt\|Jira tkt> | Create a new task file in the flux todo directory |
23
+ | /flux/ask <task-file\|all> | Clarify requirements via structured questions, then augment the spec |
24
+ | /flux/split <task-file\|all> | Break a large task into focused, single-session subtask files |
25
+ | /flux/aug <task-file\|N\|all> | Research codebase and enrich task file(s) with detail and citations |
26
+ | /flux/exec <task-file\|N\|all> | Execute task(s) exactly as written |
27
+ | /flux/qa <task-file\|N\|all> | Code review - rate 1-10, delete if perfect, refine if not |
28
+ | /flux/tests | Run test suite, fix regressions introduced by this branch, leave pre-existing untouched |
29
+ | /flux/commit | Stage and commit with Jira ID from branch name |
30
+ | /flux/create-pr | Create a GitHub PR for the current branch, or show existing PR URL and status |
31
+ | /flux/review [<pr-number>] | Full code review of changed files with severity ratings |
32
+ | /flux/address-feedback [<zipfile>] | Convert review files into todo task files |
33
+ | /flux/auto-pilot <prompt\|Jira tkt> | Orchestrate full PIPELINE A end-to-end from a prompt, spec file, or Jira ticket |
34
+ | /flux/rebase | Rebase the current branch onto latest main, preserving individual commits |
35
+ | /flux/squash-commits | Squash all commits on the current branch into one |
36
+
37
+ ### Unified Commands
38
+
39
+ The `aug`, `exec`, and `qa` commands are **unified** - they detect argument type automatically:
40
+
41
+ | Argument | Mode | Behavior |
42
+ | ---------- | ----------- | ----------------------------------------------------------- |
43
+ | task-file | Single-task | Process one specific task file, path and extension inferred |
44
+ | N (number) | Multi-task | Spawn N sub-agents in parallel |
45
+ | 'all' | Single-task | Process all task files sequentially |
46
+ | (empty) | Interactive | Prompt user to select task(s) |
47
+
48
+ **Examples:**
49
+
50
+ - /flux/exec NOTIFS - Execute single task
51
+ - /flux/exec 3 - Execute all tasks, 3 agents in parallel
52
+ - /flux/exec all - Execute all tasks, sequentially
53
+ - /flux/exec - Show task selection prompt
54
+
55
+ ## PIPELINE A:
56
+
57
+ ---
58
+
59
+ New ticket, feature, or bug fix
60
+
61
+ ```
62
+ /flux/new
63
+ -> /flux/ask
64
+ -> /flux/split
65
+ -> /flux/aug
66
+ -> /flux/exec
67
+ -> /flux/qa
68
+ -> /flux/tests
69
+ -> /flux/commit
70
+ -> run the app, test the changes
71
+ -> /flux/create-pr
72
+ ```
73
+
74
+ ---
75
+
76
+ **Example**
77
+
78
+ - /flux/new "Add real-time notifications"
79
+ - /flux/ask NOTIFS
80
+ - /flux/split NOTIFS
81
+ - /flux/aug 2 (augment all tasks, 2 agents)
82
+ - /flux/exec 2 (execute all tasks, 2 agents)
83
+ - /flux/qa all (QA all tasks, sequentially)
84
+ - /flux/tests
85
+ - /flux/commit
86
+ - the agent asks you to test the changes and proposes next step: /flux/create-pr
87
+
88
+ ## PIPELINE B:
89
+
90
+ ---
91
+
92
+ Review my own changes on the current branch
93
+
94
+ ```
95
+ /flux/review
96
+ -> /flux/address-feedback
97
+ -> /flux/ask
98
+ -> /flux/exec
99
+ -> /flux/qa
100
+ -> /flux/tests
101
+ -> /flux/commit
102
+ ```
103
+
104
+ ---
105
+
106
+ **Example**
107
+
108
+ - /flux/review
109
+ - /flux/address-feedback
110
+ - /flux/ask all
111
+ - /flux/exec 2
112
+ - /flux/qa 2
113
+ - /flux/tests
114
+ - /flux/commit
115
+
116
+ ## PIPELINE C:
117
+
118
+ ---
119
+
120
+ Address review feedback
121
+
122
+ ```
123
+ /flux/address-feedback
124
+ -> /flux/ask
125
+ -> /flux/exec
126
+ -> /flux/qa
127
+ -> /flux/tests
128
+ -> /flux/commit
129
+ ```
130
+
131
+ ---
132
+
133
+ **Example**
134
+
135
+ - /flux/address-feedback ~/Desktop/review.zip
136
+ - /flux/ask all
137
+ - /flux/exec 2
138
+ - /flux/qa all
139
+ - /flux/tests
140
+ - /flux/commit
141
+
142
+ ## PIPELINE D:
143
+
144
+ ---
145
+
146
+ Review someone else's PR
147
+
148
+ ```
149
+ # If the review is done from the PR branch itself (recommended)
150
+
151
+ /flux/review
152
+
153
+ # If the review is done from another branch, you need to provide PR number
154
+
155
+ /flux/review <PR#>
156
+
157
+ # For both cases, after the review has completed:
158
+ # -> post a comment on the PR, "Code changes suggested", and attach the zip file created
159
+ # (e.g. ~/.flux/<flattened-dir>/review.zip)
160
+ ```
161
+
162
+ ---
163
+
164
+ **Example**
165
+
166
+ - /flux/review 123 (provide PR number if not on the PR branch)
167
+ - post a comment on the PR, "Code changes suggested", and attach the review.zip from your flux directory (e.g. `~/.flux/<flattened-dir>/review.zip`)