1bcoder 0.1.27__tar.gz → 0.1.29__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 (187) hide show
  1. {1bcoder-0.1.27 → 1bcoder-0.1.29}/1bcoder.egg-info/PKG-INFO +65 -9
  2. {1bcoder-0.1.27 → 1bcoder-0.1.29}/1bcoder.egg-info/SOURCES.txt +3 -21
  3. {1bcoder-0.1.27 → 1bcoder-0.1.29}/PKG-INFO +65 -9
  4. {1bcoder-0.1.27 → 1bcoder-0.1.29}/README.md +1933 -1877
  5. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/agents/advance.txt +64 -64
  6. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/agents/ask.txt +59 -59
  7. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/agents/coder.txt +94 -94
  8. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/agents/codex.txt +56 -56
  9. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/agents/compact.txt +29 -29
  10. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/agents/concepts.txt +37 -37
  11. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/agents/fill.txt +63 -63
  12. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/agents/planning.txt +71 -71
  13. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/agents/research.txt +82 -82
  14. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/agents/scan.txt +50 -50
  15. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/agents/sqlite.txt +56 -56
  16. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/agents/terminator.txt +88 -88
  17. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/agents/websearch.txt +50 -50
  18. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/aliases.txt +33 -33
  19. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/ctxtimer/base_prompt.txt +817 -817
  20. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/deepagent_code/java_decompose.txt +40 -40
  21. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/deepagent_code/java_implement.txt +4 -4
  22. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/deepagent_code/js_decompose.txt +42 -42
  23. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/deepagent_code/js_implement.txt +5 -5
  24. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/deepagent_code/kt_decompose.txt +37 -37
  25. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/deepagent_code/kt_implement.txt +5 -5
  26. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/deepagent_code/mysql_decompose.txt +19 -19
  27. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/deepagent_code/mysql_implement.txt +3 -3
  28. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/deepagent_code/plsql_decompose.txt +19 -19
  29. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/deepagent_code/plsql_implement.txt +3 -3
  30. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/deepagent_code/py_decompose.txt +38 -38
  31. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/deepagent_code/py_implement.txt +5 -5
  32. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/deepagent_code/scala_decompose.txt +39 -39
  33. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/deepagent_code/scala_implement.txt +5 -5
  34. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/deepagent_code/sql_decompose.txt +45 -45
  35. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/deepagent_code/sql_implement.txt +3 -3
  36. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/doc/FLOWS.md +128 -128
  37. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/doc/MCP.md +138 -138
  38. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/doc/OLLAMA_SERVER_PARAM.md +170 -170
  39. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/doc/PARAM.md +156 -156
  40. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/doc/PROC.md +235 -235
  41. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/doc/TRANSLATE.md +174 -174
  42. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/flows/commit_message.py +38 -38
  43. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/flows/compress.py +310 -310
  44. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/flows/ctxtimer.py +547 -547
  45. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/flows/deepagent.py +365 -365
  46. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/flows/deepagent_architect.py +1157 -1157
  47. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/flows/deepagent_code.py +1317 -1317
  48. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/flows/deepagent_md.py +1824 -1824
  49. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/flows/deepagent_merge.py +343 -343
  50. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/flows/deepagent_spec.py +570 -570
  51. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/flows/deepagent_task.py +293 -293
  52. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/flows/deepagent_test.py +531 -531
  53. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/flows/deepagent_translate.py +483 -483
  54. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/flows/deobfuscate.py +234 -234
  55. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/flows/external_help.py +357 -357
  56. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/flows/glossary.py +1084 -1084
  57. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/flows/grounding.py +106 -106
  58. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/flows/history.py +510 -510
  59. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/flows/interview.py +261 -261
  60. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/flows/obfuscate.py +268 -268
  61. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/flows/py_error_trace.py +87 -87
  62. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/flows/rag.py +243 -243
  63. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/flows/scan.py +352 -352
  64. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/flows/simargl_files.py +66 -66
  65. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/flows/visual_search.py +76 -76
  66. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/flows/webanalys.py +167 -167
  67. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/flows/webask.py +59 -59
  68. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/flows/webcrawl.py +666 -666
  69. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/flows/webindex.py +195 -195
  70. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/proc/action-required.py +65 -65
  71. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/proc/assist.py +72 -72
  72. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/proc/autobkup.py +49 -49
  73. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/proc/autocheck.py +263 -263
  74. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/proc/ctx_cut.py +37 -37
  75. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/proc/ctx_expand.py +37 -37
  76. 1bcoder-0.1.29/_bcoder_data/proc/expr_gate.py +66 -0
  77. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/proc/ladder.py +444 -444
  78. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/proc/md.py +43 -43
  79. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/proc/mdx.py +146 -146
  80. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/proc/pattern-gate.py +49 -49
  81. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/proc/radogast-gate.py +128 -128
  82. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/proc/regexp-extract.py +95 -95
  83. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/proc/rude_words.py +54 -54
  84. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/proc/scan-save.py +38 -38
  85. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/proc/secret_check.py +47 -47
  86. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/proc/sql_readonly_guard.py +68 -68
  87. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/proc/tempctx-cut.py +38 -38
  88. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/proc/tool-allowlist-gate.py +75 -75
  89. 1bcoder-0.1.29/_bcoder_data/prompts.txt +2 -0
  90. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/scripts/AskProject.txt +2 -2
  91. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/scripts/ExploreProjectStructure.txt +5 -5
  92. 1bcoder-0.1.29/_bcoder_data/scripts/SqlSelectGate.txt +9 -0
  93. 1bcoder-0.1.29/_bcoder_data/scripts/SystemQueryRouter.txt +17 -0
  94. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/scripts/Translate.txt +6 -6
  95. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/scripts/auto-bkup.txt +4 -4
  96. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/scripts/deepagent_implement.txt +18 -18
  97. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/scripts/deepagent_loop.txt +17 -17
  98. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/scripts/deepagent_next.txt +16 -16
  99. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/scripts/deepagent_plan.txt +20 -20
  100. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/scripts/deepagent_spec_task.txt +17 -17
  101. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/scripts/edit-control.txt +6 -6
  102. 1bcoder-0.1.29/_bcoder_data/scripts/parallel_call.txt +2 -0
  103. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/scripts/personal/content/create-regular-content.txt +1 -1
  104. 1bcoder-0.1.29/_bcoder_data/scripts/personal/content/plan.txt +4 -0
  105. 1bcoder-0.1.29/_bcoder_data/scripts/plan.txt +4 -0
  106. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/scripts/set_ctx.txt +2 -2
  107. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/scripts/simargl-cli_index_files.txt +3 -3
  108. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/scripts/simargl-cli_index_units.txt +3 -3
  109. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/scripts/simargl-cli_search.txt +4 -4
  110. 1bcoder-0.1.29/_bcoder_data/scripts/team-map-worker.txt +10 -0
  111. 1bcoder-0.1.29/_bcoder_data/scripts/team-search-worker.txt +9 -0
  112. 1bcoder-0.1.29/_bcoder_data/scripts/team-tree-worker.txt +9 -0
  113. 1bcoder-0.1.29/_bcoder_data/scripts/test.txt +1 -0
  114. {1bcoder-0.1.27 → 1bcoder-0.1.29}/chat.py +11946 -11698
  115. {1bcoder-0.1.27 → 1bcoder-0.1.29}/pyproject.toml +1 -1
  116. {1bcoder-0.1.27 → 1bcoder-0.1.29}/tests/test_utils.py +143 -143
  117. 1bcoder-0.1.27/_bcoder_data/flows/__pycache__/commit_message.cpython-311.pyc +0 -0
  118. 1bcoder-0.1.27/_bcoder_data/flows/__pycache__/ctxtimer.cpython-311.pyc +0 -0
  119. 1bcoder-0.1.27/_bcoder_data/flows/__pycache__/deepagent.cpython-311.pyc +0 -0
  120. 1bcoder-0.1.27/_bcoder_data/flows/__pycache__/deepagent_architect.cpython-311.pyc +0 -0
  121. 1bcoder-0.1.27/_bcoder_data/flows/__pycache__/deepagent_code.cpython-311.pyc +0 -0
  122. 1bcoder-0.1.27/_bcoder_data/flows/__pycache__/deepagent_md.cpython-311.pyc +0 -0
  123. 1bcoder-0.1.27/_bcoder_data/flows/__pycache__/deepagent_merge.cpython-311.pyc +0 -0
  124. 1bcoder-0.1.27/_bcoder_data/flows/__pycache__/deepagent_spec.cpython-311.pyc +0 -0
  125. 1bcoder-0.1.27/_bcoder_data/flows/__pycache__/deepagent_task.cpython-311.pyc +0 -0
  126. 1bcoder-0.1.27/_bcoder_data/flows/__pycache__/deepagent_test.cpython-311.pyc +0 -0
  127. 1bcoder-0.1.27/_bcoder_data/flows/__pycache__/deepagent_translate.cpython-311.pyc +0 -0
  128. 1bcoder-0.1.27/_bcoder_data/flows/__pycache__/deobfuscate.cpython-311.pyc +0 -0
  129. 1bcoder-0.1.27/_bcoder_data/flows/__pycache__/external_help.cpython-311.pyc +0 -0
  130. 1bcoder-0.1.27/_bcoder_data/flows/__pycache__/glossary.cpython-311.pyc +0 -0
  131. 1bcoder-0.1.27/_bcoder_data/flows/__pycache__/history.cpython-311.pyc +0 -0
  132. 1bcoder-0.1.27/_bcoder_data/flows/__pycache__/obfuscate.cpython-311.pyc +0 -0
  133. 1bcoder-0.1.27/_bcoder_data/flows/__pycache__/rag.cpython-311.pyc +0 -0
  134. 1bcoder-0.1.27/_bcoder_data/flows/__pycache__/scan.cpython-311.pyc +0 -0
  135. 1bcoder-0.1.27/_bcoder_data/flows/__pycache__/webcrawl.cpython-311.pyc +0 -0
  136. 1bcoder-0.1.27/_bcoder_data/proc/__pycache__/radogast-gate.cpython-311.pyc +0 -0
  137. 1bcoder-0.1.27/_bcoder_data/proc/__pycache__/tool-allowlist-gate.cpython-311.pyc +0 -0
  138. 1bcoder-0.1.27/_bcoder_data/prompts.txt +0 -1
  139. 1bcoder-0.1.27/_bcoder_data/scripts/parallel_call.txt +0 -2
  140. 1bcoder-0.1.27/_bcoder_data/scripts/personal/content/plan.txt +0 -4
  141. 1bcoder-0.1.27/_bcoder_data/scripts/plan.txt +0 -4
  142. 1bcoder-0.1.27/_bcoder_data/scripts/team-map-worker.txt +0 -10
  143. 1bcoder-0.1.27/_bcoder_data/scripts/team-search-worker.txt +0 -9
  144. 1bcoder-0.1.27/_bcoder_data/scripts/team-tree-worker.txt +0 -9
  145. 1bcoder-0.1.27/_bcoder_data/scripts/test.txt +0 -1
  146. {1bcoder-0.1.27 → 1bcoder-0.1.29}/1bcoder.egg-info/dependency_links.txt +0 -0
  147. {1bcoder-0.1.27 → 1bcoder-0.1.29}/1bcoder.egg-info/entry_points.txt +0 -0
  148. {1bcoder-0.1.27 → 1bcoder-0.1.29}/1bcoder.egg-info/requires.txt +0 -0
  149. {1bcoder-0.1.27 → 1bcoder-0.1.29}/1bcoder.egg-info/top_level.txt +0 -0
  150. {1bcoder-0.1.27 → 1bcoder-0.1.29}/LICENSE +0 -0
  151. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/__init__.py +0 -0
  152. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/map.txt +0 -0
  153. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/proc/add-save.py +0 -0
  154. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/proc/collect-files.py +0 -0
  155. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/proc/extract-code.py +0 -0
  156. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/proc/extract-files.py +0 -0
  157. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/proc/extract-list.py +0 -0
  158. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/proc/grounding-check.py +0 -0
  159. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/profiles.txt +0 -0
  160. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/prompts/analysis.txt +0 -0
  161. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/prompts/sumarise.txt +0 -0
  162. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/scripts/AddFunction.txt +0 -0
  163. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/scripts/CheckRequirements.txt +0 -0
  164. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/scripts/DockerMySQL.txt +0 -0
  165. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/scripts/DockerNginx.txt +0 -0
  166. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/scripts/DockerPython.txt +0 -0
  167. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/scripts/DockerStack.txt +0 -0
  168. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/scripts/DuckDuckGoInstant.txt +0 -0
  169. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/scripts/EnvTemplate.txt +0 -0
  170. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/scripts/Explain.txt +0 -0
  171. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/scripts/GitIgnorePython.txt +0 -0
  172. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/scripts/MySQLDump.txt +0 -0
  173. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/scripts/NewScript.txt +0 -0
  174. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/scripts/PipFreeze.txt +0 -0
  175. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/scripts/PyPI.txt +0 -0
  176. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/scripts/Refactor.txt +0 -0
  177. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/scripts/RunAndFix.txt +0 -0
  178. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/scripts/SQLiteSchema.txt +0 -0
  179. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/scripts/WikiPage.txt +0 -0
  180. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/scripts/WikiSearch.txt +0 -0
  181. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/scripts/personal/test/collect-data-from-test-environment.txt +0 -0
  182. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/scripts/remote/create-content-on-remote-server.txt +0 -0
  183. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/scripts/team-summarize.txt +0 -0
  184. {1bcoder-0.1.27 → 1bcoder-0.1.29}/_bcoder_data/teams/code-analysis.yaml +0 -0
  185. {1bcoder-0.1.27 → 1bcoder-0.1.29}/map_index.py +0 -0
  186. {1bcoder-0.1.27 → 1bcoder-0.1.29}/map_query.py +0 -0
  187. {1bcoder-0.1.27 → 1bcoder-0.1.29}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: 1bcoder
3
- Version: 0.1.27
3
+ Version: 0.1.29
4
4
  Summary: AI coding assistant agent for 1B–7B local models (Ollama, LMStudio, llama.cpp). Terminal REPL with file editing, project map, agents, scripts, and parallel multi-model queries.
5
5
  Project-URL: Homepage, https://github.com/szholobetsky/1bcoder
6
6
  Project-URL: Repository, https://github.com/szholobetsky/1bcoder
@@ -974,7 +974,8 @@ Aliases are loaded at startup from the global `aliases.txt` then the project-loc
974
974
  ### Scripts
975
975
 
976
976
  Scripts are `.txt` files containing one command per line, stored in `.1bcoder/scripts/`.
977
- Lines starting with `[v]` are already done and skipped. Lines starting with `#` are comments and skipped.
977
+ Lines starting with `#` are comments and skipped. Scripts can branch and loop using labels
978
+ and `GATE:` — see [Labels, branching, and loops](#labels-branching-and-loops-label-gate) below.
978
979
 
979
980
  | Command | Description |
980
981
  |---|---|
@@ -983,15 +984,15 @@ Lines starting with `[v]` are already done and skipped. Lines starting with `#`
983
984
  | `/script open <N>` | Load script by number directly — shows the list but skips the prompt |
984
985
  | `/script create [path]` | Create a new empty script |
985
986
  | `/script create ctx [path]` | **Create script from this session's command history** |
986
- | `/script show` | Display steps of the current script |
987
- | `/script add <command>` | Append a step to the current script |
987
+ | `/script show` | Display lines of the current script; `>` marks the current resume position |
988
+ | `/script add <command>` | Append a line to the current script |
988
989
  | `/script clear` | Wipe current script completely |
989
- | `/script reset` | Unmark all done steps (also happens automatically when a script runs to completion) |
990
- | `/script reapply [key=value ...]` | Reset all done steps then apply automatically; prompts for any NaN `{{variables}}` before running |
990
+ | `/script reset` | Clear the saved resume position (start over from the top next run) |
991
+ | `/script reapply [key=value ...]` | Clear the resume position then apply automatically; prompts for any NaN `{{variables}}` before running |
991
992
  | `/script refresh` | Reload script from disk and show contents |
992
- | `/script run <file> [key=value ...]` | **Run all steps automatically** — shorthand for `apply -y` |
993
- | `/script apply [file] [key=value ...]` | Run steps one by one (Y/n/q per step) |
994
- | `/script apply -y [file] [key=value ...]` | Run all pending steps automatically |
993
+ | `/script run <file> [key=value ...]` | **Run all lines automatically** — shorthand for `apply -y`; always starts fresh, ignoring any saved resume position |
994
+ | `/script apply [file] [key=value ...]` | Run lines one by one (Y/n/q per step); resumes from the last position if the script was interrupted |
995
+ | `/script apply -y [file] [key=value ...]` | Run all lines automatically; resumes from the last position if present |
995
996
 
996
997
  **`/script create ctx`** captures all work commands typed this session (`/read`, `/edit`, `/fim`, `/fix`, `/patch`, `/run`, `/save`, `/bkup`, `/map`, `/model`, `/host`) into a ready-to-run plan:
997
998
 
@@ -1025,6 +1026,61 @@ Run a script non-interactively from the command line:
1025
1026
  1bcoder --model llama3.2:1b --scriptapply my-fixes.txt --param file=calc.py
1026
1027
  ```
1027
1028
 
1029
+ #### Labels, branching, and loops (`:LABEL`, `GATE:`)
1030
+
1031
+ A script isn't limited to a straight top-to-bottom list — a label plus one conditional-jump
1032
+ instruction gives it branching and loops, no Python required for the common case:
1033
+
1034
+ - **`:LABEL`** — a bare line marking a jump target. Can be defined above or below the `GATE:`
1035
+ line that jumps to it.
1036
+ - **`GATE: <proc>('arg', ...) > :LABEL`** — runs `<proc>` (any file in `_bcoder_data/proc/` or
1037
+ `~/.1bcoder/proc/`), reusing the same `FAIL: reason` / silent-pass convention as `/proc gate on`.
1038
+ Proc **passes** (prints nothing) → continue to the next line. Proc **fails** (prints a `FAIL:`
1039
+ line) → jump to `:LABEL`. A label placed **above** the `GATE:` line turns it into a loop (keeps
1040
+ jumping back while the condition keeps failing); a label placed **below** makes it a plain
1041
+ skip/branch. A proc that can't be found, times out, or crashes stops the script with a clear
1042
+ error — it is never silently treated as a pass. A runaway loop stops automatically after 1000 steps.
1043
+
1044
+ `{{key}}` placeholders are substituted before `GATE:` is evaluated, including inside the
1045
+ parentheses, so a gate can check the live value of any session variable or `-> var` capture.
1046
+
1047
+ **`expr_gate` is for clean numeric/token values, not prose.** It's a built-in gate that evaluates
1048
+ a Python boolean expression against `{{vars}}` — `int`, `float`, `len`, `set`, `sorted`, and a few
1049
+ other safe builtins are available; no imports or file access. `{{var}}` substitution is a plain
1050
+ text splice with no quoting, so `expr_gate('int({{i}}) <= 0')` is safe (a number is valid Python
1051
+ wherever it lands), but splicing a freeform LLM reply into an eval'd expression — e.g.
1052
+ `expr_gate('{{reply}} != "WRONG"')` — breaks on the reply's own spaces/colons/quotes and always
1053
+ evaluates as an expression error (`FAIL`), regardless of what the reply actually said. For any
1054
+ check on freeform text, use `pattern-gate` instead — it matches a regex against the reply via
1055
+ stdin, not `eval()`, so arbitrary text is safe:
1056
+
1057
+ ```
1058
+ GATE: pattern-gate('select \*', 'use explicit columns') > :FIX_QUERY
1059
+ ```
1060
+
1061
+ A loop needs something that changes each pass — since scripts don't have arithmetic assignment,
1062
+ counting/state lives in a small proc instead (reading and writing its own counter file, or
1063
+ inspecting `{{var}}`/the last reply). For example, a proc that decrements a counter and prints
1064
+ `FAIL:` until it reaches zero:
1065
+
1066
+ ```
1067
+ :LOOP
1068
+ GATE: countdown_gate() > :LOOP
1069
+ final step after the loop exits
1070
+ ```
1071
+
1072
+ `_bcoder_data/scripts/SystemQueryRouter.txt` is a complete, runnable example combining both
1073
+ `GATE:` shapes — a plain skip (`> :EXIT`, label below) that routes off-topic requests around the
1074
+ rest of the script, and a loop (`> :LOOP`, label above) that keeps rephrasing until it gets more
1075
+ than one keyword — using `pattern-gate` throughout for exactly the reason above.
1076
+
1077
+ **Resuming an interrupted script**: the current line is tracked with a `#POS:N` header line,
1078
+ written automatically to the top of the script file after every step (not meant to be
1079
+ hand-edited). Interrupt an `/script apply` with `q`, do something else (switch `/model`, check
1080
+ `/var get`), then run `/script apply` on the same file again — it picks up from the same line,
1081
+ even after restarting 1bcoder. `/script run` always ignores any saved `#POS` and starts fresh.
1082
+ `#POS` is cleared automatically once a run reaches the end of the script.
1083
+
1028
1084
  ---
1029
1085
 
1030
1086
  ### Session variables (`/var`)
@@ -79,25 +79,6 @@ _bcoder_data/flows/webanalys.py
79
79
  _bcoder_data/flows/webask.py
80
80
  _bcoder_data/flows/webcrawl.py
81
81
  _bcoder_data/flows/webindex.py
82
- _bcoder_data/flows/__pycache__/commit_message.cpython-311.pyc
83
- _bcoder_data/flows/__pycache__/ctxtimer.cpython-311.pyc
84
- _bcoder_data/flows/__pycache__/deepagent.cpython-311.pyc
85
- _bcoder_data/flows/__pycache__/deepagent_architect.cpython-311.pyc
86
- _bcoder_data/flows/__pycache__/deepagent_code.cpython-311.pyc
87
- _bcoder_data/flows/__pycache__/deepagent_md.cpython-311.pyc
88
- _bcoder_data/flows/__pycache__/deepagent_merge.cpython-311.pyc
89
- _bcoder_data/flows/__pycache__/deepagent_spec.cpython-311.pyc
90
- _bcoder_data/flows/__pycache__/deepagent_task.cpython-311.pyc
91
- _bcoder_data/flows/__pycache__/deepagent_test.cpython-311.pyc
92
- _bcoder_data/flows/__pycache__/deepagent_translate.cpython-311.pyc
93
- _bcoder_data/flows/__pycache__/deobfuscate.cpython-311.pyc
94
- _bcoder_data/flows/__pycache__/external_help.cpython-311.pyc
95
- _bcoder_data/flows/__pycache__/glossary.cpython-311.pyc
96
- _bcoder_data/flows/__pycache__/history.cpython-311.pyc
97
- _bcoder_data/flows/__pycache__/obfuscate.cpython-311.pyc
98
- _bcoder_data/flows/__pycache__/rag.cpython-311.pyc
99
- _bcoder_data/flows/__pycache__/scan.cpython-311.pyc
100
- _bcoder_data/flows/__pycache__/webcrawl.cpython-311.pyc
101
82
  _bcoder_data/proc/action-required.py
102
83
  _bcoder_data/proc/add-save.py
103
84
  _bcoder_data/proc/assist.py
@@ -106,6 +87,7 @@ _bcoder_data/proc/autocheck.py
106
87
  _bcoder_data/proc/collect-files.py
107
88
  _bcoder_data/proc/ctx_cut.py
108
89
  _bcoder_data/proc/ctx_expand.py
90
+ _bcoder_data/proc/expr_gate.py
109
91
  _bcoder_data/proc/extract-code.py
110
92
  _bcoder_data/proc/extract-files.py
111
93
  _bcoder_data/proc/extract-list.py
@@ -122,8 +104,6 @@ _bcoder_data/proc/secret_check.py
122
104
  _bcoder_data/proc/sql_readonly_guard.py
123
105
  _bcoder_data/proc/tempctx-cut.py
124
106
  _bcoder_data/proc/tool-allowlist-gate.py
125
- _bcoder_data/proc/__pycache__/radogast-gate.cpython-311.pyc
126
- _bcoder_data/proc/__pycache__/tool-allowlist-gate.cpython-311.pyc
127
107
  _bcoder_data/prompts/analysis.txt
128
108
  _bcoder_data/prompts/sumarise.txt
129
109
  _bcoder_data/scripts/AddFunction.txt
@@ -145,6 +125,8 @@ _bcoder_data/scripts/PyPI.txt
145
125
  _bcoder_data/scripts/Refactor.txt
146
126
  _bcoder_data/scripts/RunAndFix.txt
147
127
  _bcoder_data/scripts/SQLiteSchema.txt
128
+ _bcoder_data/scripts/SqlSelectGate.txt
129
+ _bcoder_data/scripts/SystemQueryRouter.txt
148
130
  _bcoder_data/scripts/Translate.txt
149
131
  _bcoder_data/scripts/WikiPage.txt
150
132
  _bcoder_data/scripts/WikiSearch.txt
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: 1bcoder
3
- Version: 0.1.27
3
+ Version: 0.1.29
4
4
  Summary: AI coding assistant agent for 1B–7B local models (Ollama, LMStudio, llama.cpp). Terminal REPL with file editing, project map, agents, scripts, and parallel multi-model queries.
5
5
  Project-URL: Homepage, https://github.com/szholobetsky/1bcoder
6
6
  Project-URL: Repository, https://github.com/szholobetsky/1bcoder
@@ -974,7 +974,8 @@ Aliases are loaded at startup from the global `aliases.txt` then the project-loc
974
974
  ### Scripts
975
975
 
976
976
  Scripts are `.txt` files containing one command per line, stored in `.1bcoder/scripts/`.
977
- Lines starting with `[v]` are already done and skipped. Lines starting with `#` are comments and skipped.
977
+ Lines starting with `#` are comments and skipped. Scripts can branch and loop using labels
978
+ and `GATE:` — see [Labels, branching, and loops](#labels-branching-and-loops-label-gate) below.
978
979
 
979
980
  | Command | Description |
980
981
  |---|---|
@@ -983,15 +984,15 @@ Lines starting with `[v]` are already done and skipped. Lines starting with `#`
983
984
  | `/script open <N>` | Load script by number directly — shows the list but skips the prompt |
984
985
  | `/script create [path]` | Create a new empty script |
985
986
  | `/script create ctx [path]` | **Create script from this session's command history** |
986
- | `/script show` | Display steps of the current script |
987
- | `/script add <command>` | Append a step to the current script |
987
+ | `/script show` | Display lines of the current script; `>` marks the current resume position |
988
+ | `/script add <command>` | Append a line to the current script |
988
989
  | `/script clear` | Wipe current script completely |
989
- | `/script reset` | Unmark all done steps (also happens automatically when a script runs to completion) |
990
- | `/script reapply [key=value ...]` | Reset all done steps then apply automatically; prompts for any NaN `{{variables}}` before running |
990
+ | `/script reset` | Clear the saved resume position (start over from the top next run) |
991
+ | `/script reapply [key=value ...]` | Clear the resume position then apply automatically; prompts for any NaN `{{variables}}` before running |
991
992
  | `/script refresh` | Reload script from disk and show contents |
992
- | `/script run <file> [key=value ...]` | **Run all steps automatically** — shorthand for `apply -y` |
993
- | `/script apply [file] [key=value ...]` | Run steps one by one (Y/n/q per step) |
994
- | `/script apply -y [file] [key=value ...]` | Run all pending steps automatically |
993
+ | `/script run <file> [key=value ...]` | **Run all lines automatically** — shorthand for `apply -y`; always starts fresh, ignoring any saved resume position |
994
+ | `/script apply [file] [key=value ...]` | Run lines one by one (Y/n/q per step); resumes from the last position if the script was interrupted |
995
+ | `/script apply -y [file] [key=value ...]` | Run all lines automatically; resumes from the last position if present |
995
996
 
996
997
  **`/script create ctx`** captures all work commands typed this session (`/read`, `/edit`, `/fim`, `/fix`, `/patch`, `/run`, `/save`, `/bkup`, `/map`, `/model`, `/host`) into a ready-to-run plan:
997
998
 
@@ -1025,6 +1026,61 @@ Run a script non-interactively from the command line:
1025
1026
  1bcoder --model llama3.2:1b --scriptapply my-fixes.txt --param file=calc.py
1026
1027
  ```
1027
1028
 
1029
+ #### Labels, branching, and loops (`:LABEL`, `GATE:`)
1030
+
1031
+ A script isn't limited to a straight top-to-bottom list — a label plus one conditional-jump
1032
+ instruction gives it branching and loops, no Python required for the common case:
1033
+
1034
+ - **`:LABEL`** — a bare line marking a jump target. Can be defined above or below the `GATE:`
1035
+ line that jumps to it.
1036
+ - **`GATE: <proc>('arg', ...) > :LABEL`** — runs `<proc>` (any file in `_bcoder_data/proc/` or
1037
+ `~/.1bcoder/proc/`), reusing the same `FAIL: reason` / silent-pass convention as `/proc gate on`.
1038
+ Proc **passes** (prints nothing) → continue to the next line. Proc **fails** (prints a `FAIL:`
1039
+ line) → jump to `:LABEL`. A label placed **above** the `GATE:` line turns it into a loop (keeps
1040
+ jumping back while the condition keeps failing); a label placed **below** makes it a plain
1041
+ skip/branch. A proc that can't be found, times out, or crashes stops the script with a clear
1042
+ error — it is never silently treated as a pass. A runaway loop stops automatically after 1000 steps.
1043
+
1044
+ `{{key}}` placeholders are substituted before `GATE:` is evaluated, including inside the
1045
+ parentheses, so a gate can check the live value of any session variable or `-> var` capture.
1046
+
1047
+ **`expr_gate` is for clean numeric/token values, not prose.** It's a built-in gate that evaluates
1048
+ a Python boolean expression against `{{vars}}` — `int`, `float`, `len`, `set`, `sorted`, and a few
1049
+ other safe builtins are available; no imports or file access. `{{var}}` substitution is a plain
1050
+ text splice with no quoting, so `expr_gate('int({{i}}) <= 0')` is safe (a number is valid Python
1051
+ wherever it lands), but splicing a freeform LLM reply into an eval'd expression — e.g.
1052
+ `expr_gate('{{reply}} != "WRONG"')` — breaks on the reply's own spaces/colons/quotes and always
1053
+ evaluates as an expression error (`FAIL`), regardless of what the reply actually said. For any
1054
+ check on freeform text, use `pattern-gate` instead — it matches a regex against the reply via
1055
+ stdin, not `eval()`, so arbitrary text is safe:
1056
+
1057
+ ```
1058
+ GATE: pattern-gate('select \*', 'use explicit columns') > :FIX_QUERY
1059
+ ```
1060
+
1061
+ A loop needs something that changes each pass — since scripts don't have arithmetic assignment,
1062
+ counting/state lives in a small proc instead (reading and writing its own counter file, or
1063
+ inspecting `{{var}}`/the last reply). For example, a proc that decrements a counter and prints
1064
+ `FAIL:` until it reaches zero:
1065
+
1066
+ ```
1067
+ :LOOP
1068
+ GATE: countdown_gate() > :LOOP
1069
+ final step after the loop exits
1070
+ ```
1071
+
1072
+ `_bcoder_data/scripts/SystemQueryRouter.txt` is a complete, runnable example combining both
1073
+ `GATE:` shapes — a plain skip (`> :EXIT`, label below) that routes off-topic requests around the
1074
+ rest of the script, and a loop (`> :LOOP`, label above) that keeps rephrasing until it gets more
1075
+ than one keyword — using `pattern-gate` throughout for exactly the reason above.
1076
+
1077
+ **Resuming an interrupted script**: the current line is tracked with a `#POS:N` header line,
1078
+ written automatically to the top of the script file after every step (not meant to be
1079
+ hand-edited). Interrupt an `/script apply` with `q`, do something else (switch `/model`, check
1080
+ `/var get`), then run `/script apply` on the same file again — it picks up from the same line,
1081
+ even after restarting 1bcoder. `/script run` always ignores any saved `#POS` and starts fresh.
1082
+ `#POS` is cleared automatically once a run reaches the end of the script.
1083
+
1028
1084
  ---
1029
1085
 
1030
1086
  ### Session variables (`/var`)