1bcoder 0.1.23__tar.gz → 0.1.25__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.
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/1bcoder.egg-info/PKG-INFO +4 -2
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/1bcoder.egg-info/SOURCES.txt +10 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/PKG-INFO +4 -2
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/README.md +3 -1
- 1bcoder-0.1.25/_bcoder_data/flows/__pycache__/deepagent.cpython-311.pyc +0 -0
- 1bcoder-0.1.25/_bcoder_data/flows/__pycache__/deepagent_code.cpython-311.pyc +0 -0
- 1bcoder-0.1.25/_bcoder_data/flows/__pycache__/deepagent_md.cpython-311.pyc +0 -0
- 1bcoder-0.1.25/_bcoder_data/flows/__pycache__/deepagent_merge.cpython-311.pyc +0 -0
- 1bcoder-0.1.25/_bcoder_data/flows/__pycache__/deepagent_spec.cpython-311.pyc +0 -0
- 1bcoder-0.1.25/_bcoder_data/flows/__pycache__/deepagent_task.cpython-311.pyc +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/flows/__pycache__/deepagent_test.cpython-311.pyc +0 -0
- 1bcoder-0.1.25/_bcoder_data/flows/__pycache__/deepagent_translate.cpython-311.pyc +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/flows/__pycache__/glossary.cpython-311.pyc +0 -0
- 1bcoder-0.1.25/_bcoder_data/flows/__pycache__/scan.cpython-311.pyc +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/flows/deepagent.py +44 -16
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/flows/deepagent_code.py +39 -29
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/flows/deepagent_md.py +332 -63
- 1bcoder-0.1.25/_bcoder_data/flows/deepagent_merge.py +343 -0
- 1bcoder-0.1.25/_bcoder_data/flows/deepagent_spec.py +570 -0
- 1bcoder-0.1.25/_bcoder_data/flows/deepagent_task.py +293 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/flows/deepagent_test.py +2 -13
- 1bcoder-0.1.25/_bcoder_data/flows/deepagent_translate.py +483 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/flows/glossary.py +12 -3
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/flows/scan.py +74 -23
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/chat.py +5 -1
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/pyproject.toml +1 -1
- 1bcoder-0.1.23/_bcoder_data/flows/__pycache__/deepagent_code.cpython-311.pyc +0 -0
- 1bcoder-0.1.23/_bcoder_data/flows/__pycache__/deepagent_md.cpython-311.pyc +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/1bcoder.egg-info/dependency_links.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/1bcoder.egg-info/entry_points.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/1bcoder.egg-info/requires.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/1bcoder.egg-info/top_level.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/LICENSE +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/__init__.py +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/agents/advance.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/agents/ask.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/agents/coder.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/agents/codex.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/agents/compact.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/agents/concepts.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/agents/fill.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/agents/planning.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/agents/scan.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/agents/sqlite.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/agents/terminator.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/agents/websearch.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/aliases.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/ctxtimer/base_prompt.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/deepagent_code/java_decompose.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/deepagent_code/java_implement.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/deepagent_code/js_decompose.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/deepagent_code/js_implement.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/deepagent_code/kt_decompose.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/deepagent_code/kt_implement.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/deepagent_code/mysql_decompose.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/deepagent_code/mysql_implement.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/deepagent_code/plsql_decompose.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/deepagent_code/plsql_implement.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/deepagent_code/py_decompose.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/deepagent_code/py_implement.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/deepagent_code/scala_decompose.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/deepagent_code/scala_implement.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/deepagent_code/sql_decompose.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/deepagent_code/sql_implement.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/doc/FLOWS.md +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/doc/MCP.md +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/doc/OLLAMA_SERVER_PARAM.md +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/doc/PARAM.md +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/doc/PROC.md +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/doc/TRANSLATE.md +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/flows/__pycache__/commit_message.cpython-311.pyc +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/flows/__pycache__/ctxtimer.cpython-311.pyc +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/flows/__pycache__/deobfuscate.cpython-311.pyc +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/flows/__pycache__/external_help.cpython-311.pyc +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/flows/__pycache__/obfuscate.cpython-311.pyc +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/flows/__pycache__/rag.cpython-311.pyc +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/flows/__pycache__/webcrawl.cpython-311.pyc +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/flows/commit_message.py +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/flows/compress.py +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/flows/ctxtimer.py +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/flows/deobfuscate.py +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/flows/external_help.py +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/flows/grounding.py +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/flows/interview.py +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/flows/obfuscate.py +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/flows/py_error_trace.py +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/flows/rag.py +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/flows/simargl_files.py +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/flows/visual_search.py +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/flows/webanalys.py +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/flows/webask.py +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/flows/webcrawl.py +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/flows/webindex.py +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/map.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/proc/action-required.py +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/proc/add-save.py +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/proc/assist.py +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/proc/autobkup.py +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/proc/autocheck.py +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/proc/collect-files.py +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/proc/ctx_cut.py +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/proc/ctx_expand.py +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/proc/extract-code.py +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/proc/extract-files.py +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/proc/extract-list.py +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/proc/grounding-check.py +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/proc/ladder.py +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/proc/md.py +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/proc/mdx.py +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/proc/pattern-gate.py +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/proc/regexp-extract.py +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/proc/rude_words.py +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/proc/scan-save.py +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/proc/secret_check.py +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/proc/sql_readonly_guard.py +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/proc/tempctx-cut.py +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/profiles.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/prompts/analysis.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/prompts/sumarise.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/prompts.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/scripts/AddFunction.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/scripts/AskProject.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/scripts/CheckRequirements.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/scripts/DockerMySQL.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/scripts/DockerNginx.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/scripts/DockerPython.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/scripts/DockerStack.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/scripts/DuckDuckGoInstant.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/scripts/EnvTemplate.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/scripts/Explain.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/scripts/ExploreProjectStructure.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/scripts/GitIgnorePython.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/scripts/MySQLDump.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/scripts/NewScript.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/scripts/PipFreeze.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/scripts/PyPI.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/scripts/Refactor.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/scripts/RunAndFix.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/scripts/SQLiteSchema.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/scripts/Translate.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/scripts/WikiPage.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/scripts/WikiSearch.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/scripts/auto-bkup.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/scripts/edit-control.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/scripts/parallel_call.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/scripts/personal/content/create-regular-content.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/scripts/personal/content/plan.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/scripts/personal/test/collect-data-from-test-environment.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/scripts/plan.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/scripts/remote/create-content-on-remote-server.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/scripts/set_ctx.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/scripts/simargl-cli_index_files.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/scripts/simargl-cli_index_units.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/scripts/simargl-cli_search.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/scripts/team-map-worker.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/scripts/team-search-worker.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/scripts/team-summarize.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/scripts/team-tree-worker.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/scripts/test.txt +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/teams/code-analysis.yaml +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/map_index.py +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/map_query.py +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/setup.cfg +0 -0
- {1bcoder-0.1.23 → 1bcoder-0.1.25}/tests/test_utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: 1bcoder
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.25
|
|
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
|
|
@@ -1861,7 +1861,7 @@ For human input, the corrected command is shown with `[fix?]` and you are asked
|
|
|
1861
1861
|
|
|
1862
1862
|
## Part of the SIMARGL toolkit
|
|
1863
1863
|
|
|
1864
|
-
1bcoder is one of
|
|
1864
|
+
1bcoder is one of eight tools that together form an **intellectual development support system**:
|
|
1865
1865
|
|
|
1866
1866
|
| Tool | Role |
|
|
1867
1867
|
|---|---|
|
|
@@ -1872,6 +1872,7 @@ For human input, the corrected command is shown with `[fix?]` and you are asked
|
|
|
1872
1872
|
| **[radogast](https://github.com/szholobetsky/radogast)** | Context drift monitor — measures how far an AI agent's conversation has drifted from the original task |
|
|
1873
1873
|
| **[vyrii](https://github.com/szholobetsky/vyrii)** | Local AI web UI — chat, translate, web research, RAG, and file management via Gradio; powered by Ollama or any OpenAI-compatible backend |
|
|
1874
1874
|
| **[syryn](https://github.com/szholobetsky/syryn)** | Bluetooth identity beacon — returns hostname, mDNS, and active network interfaces for headless devices |
|
|
1875
|
+
| **[alkonost](https://github.com/szholobetsky/alkonost)** | Task-board viewer/editor — Trello-style board and backlog over 1bcoder's `deepagent_task` output, with full spec rendering and autosave |
|
|
1875
1876
|
|
|
1876
1877
|
- **simargl** answers: *what code is related to this task?*
|
|
1877
1878
|
- **svitovyd** answers: *how is the code structured and what depends on what?*
|
|
@@ -1880,6 +1881,7 @@ For human input, the corrected command is shown with `[fix?]` and you are asked
|
|
|
1880
1881
|
- **radogast** answers: *is the AI agent still on track toward the goal?*
|
|
1881
1882
|
- **vyrii** answers: *how do I access all of this through a browser?*
|
|
1882
1883
|
- **syryn** answers: *what is the address of this headless device?*
|
|
1884
|
+
- **alkonost** answers: *where do I see and edit the tasks generated from a spec tree?*
|
|
1883
1885
|
|
|
1884
1886
|
Together they cover the full development loop: understand the codebase, find relevant history, work with AI locally, remember what was decided, and verify the context stays on target.
|
|
1885
1887
|
|
|
@@ -56,7 +56,11 @@ _bcoder_data/flows/ctxtimer.py
|
|
|
56
56
|
_bcoder_data/flows/deepagent.py
|
|
57
57
|
_bcoder_data/flows/deepagent_code.py
|
|
58
58
|
_bcoder_data/flows/deepagent_md.py
|
|
59
|
+
_bcoder_data/flows/deepagent_merge.py
|
|
60
|
+
_bcoder_data/flows/deepagent_spec.py
|
|
61
|
+
_bcoder_data/flows/deepagent_task.py
|
|
59
62
|
_bcoder_data/flows/deepagent_test.py
|
|
63
|
+
_bcoder_data/flows/deepagent_translate.py
|
|
60
64
|
_bcoder_data/flows/deobfuscate.py
|
|
61
65
|
_bcoder_data/flows/external_help.py
|
|
62
66
|
_bcoder_data/flows/glossary.py
|
|
@@ -74,14 +78,20 @@ _bcoder_data/flows/webcrawl.py
|
|
|
74
78
|
_bcoder_data/flows/webindex.py
|
|
75
79
|
_bcoder_data/flows/__pycache__/commit_message.cpython-311.pyc
|
|
76
80
|
_bcoder_data/flows/__pycache__/ctxtimer.cpython-311.pyc
|
|
81
|
+
_bcoder_data/flows/__pycache__/deepagent.cpython-311.pyc
|
|
77
82
|
_bcoder_data/flows/__pycache__/deepagent_code.cpython-311.pyc
|
|
78
83
|
_bcoder_data/flows/__pycache__/deepagent_md.cpython-311.pyc
|
|
84
|
+
_bcoder_data/flows/__pycache__/deepagent_merge.cpython-311.pyc
|
|
85
|
+
_bcoder_data/flows/__pycache__/deepagent_spec.cpython-311.pyc
|
|
86
|
+
_bcoder_data/flows/__pycache__/deepagent_task.cpython-311.pyc
|
|
79
87
|
_bcoder_data/flows/__pycache__/deepagent_test.cpython-311.pyc
|
|
88
|
+
_bcoder_data/flows/__pycache__/deepagent_translate.cpython-311.pyc
|
|
80
89
|
_bcoder_data/flows/__pycache__/deobfuscate.cpython-311.pyc
|
|
81
90
|
_bcoder_data/flows/__pycache__/external_help.cpython-311.pyc
|
|
82
91
|
_bcoder_data/flows/__pycache__/glossary.cpython-311.pyc
|
|
83
92
|
_bcoder_data/flows/__pycache__/obfuscate.cpython-311.pyc
|
|
84
93
|
_bcoder_data/flows/__pycache__/rag.cpython-311.pyc
|
|
94
|
+
_bcoder_data/flows/__pycache__/scan.cpython-311.pyc
|
|
85
95
|
_bcoder_data/flows/__pycache__/webcrawl.cpython-311.pyc
|
|
86
96
|
_bcoder_data/proc/action-required.py
|
|
87
97
|
_bcoder_data/proc/add-save.py
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: 1bcoder
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.25
|
|
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
|
|
@@ -1861,7 +1861,7 @@ For human input, the corrected command is shown with `[fix?]` and you are asked
|
|
|
1861
1861
|
|
|
1862
1862
|
## Part of the SIMARGL toolkit
|
|
1863
1863
|
|
|
1864
|
-
1bcoder is one of
|
|
1864
|
+
1bcoder is one of eight tools that together form an **intellectual development support system**:
|
|
1865
1865
|
|
|
1866
1866
|
| Tool | Role |
|
|
1867
1867
|
|---|---|
|
|
@@ -1872,6 +1872,7 @@ For human input, the corrected command is shown with `[fix?]` and you are asked
|
|
|
1872
1872
|
| **[radogast](https://github.com/szholobetsky/radogast)** | Context drift monitor — measures how far an AI agent's conversation has drifted from the original task |
|
|
1873
1873
|
| **[vyrii](https://github.com/szholobetsky/vyrii)** | Local AI web UI — chat, translate, web research, RAG, and file management via Gradio; powered by Ollama or any OpenAI-compatible backend |
|
|
1874
1874
|
| **[syryn](https://github.com/szholobetsky/syryn)** | Bluetooth identity beacon — returns hostname, mDNS, and active network interfaces for headless devices |
|
|
1875
|
+
| **[alkonost](https://github.com/szholobetsky/alkonost)** | Task-board viewer/editor — Trello-style board and backlog over 1bcoder's `deepagent_task` output, with full spec rendering and autosave |
|
|
1875
1876
|
|
|
1876
1877
|
- **simargl** answers: *what code is related to this task?*
|
|
1877
1878
|
- **svitovyd** answers: *how is the code structured and what depends on what?*
|
|
@@ -1880,6 +1881,7 @@ For human input, the corrected command is shown with `[fix?]` and you are asked
|
|
|
1880
1881
|
- **radogast** answers: *is the AI agent still on track toward the goal?*
|
|
1881
1882
|
- **vyrii** answers: *how do I access all of this through a browser?*
|
|
1882
1883
|
- **syryn** answers: *what is the address of this headless device?*
|
|
1884
|
+
- **alkonost** answers: *where do I see and edit the tasks generated from a spec tree?*
|
|
1883
1885
|
|
|
1884
1886
|
Together they cover the full development loop: understand the codebase, find relevant history, work with AI locally, remember what was decided, and verify the context stays on target.
|
|
1885
1887
|
|
|
@@ -1846,7 +1846,7 @@ For human input, the corrected command is shown with `[fix?]` and you are asked
|
|
|
1846
1846
|
|
|
1847
1847
|
## Part of the SIMARGL toolkit
|
|
1848
1848
|
|
|
1849
|
-
1bcoder is one of
|
|
1849
|
+
1bcoder is one of eight tools that together form an **intellectual development support system**:
|
|
1850
1850
|
|
|
1851
1851
|
| Tool | Role |
|
|
1852
1852
|
|---|---|
|
|
@@ -1857,6 +1857,7 @@ For human input, the corrected command is shown with `[fix?]` and you are asked
|
|
|
1857
1857
|
| **[radogast](https://github.com/szholobetsky/radogast)** | Context drift monitor — measures how far an AI agent's conversation has drifted from the original task |
|
|
1858
1858
|
| **[vyrii](https://github.com/szholobetsky/vyrii)** | Local AI web UI — chat, translate, web research, RAG, and file management via Gradio; powered by Ollama or any OpenAI-compatible backend |
|
|
1859
1859
|
| **[syryn](https://github.com/szholobetsky/syryn)** | Bluetooth identity beacon — returns hostname, mDNS, and active network interfaces for headless devices |
|
|
1860
|
+
| **[alkonost](https://github.com/szholobetsky/alkonost)** | Task-board viewer/editor — Trello-style board and backlog over 1bcoder's `deepagent_task` output, with full spec rendering and autosave |
|
|
1860
1861
|
|
|
1861
1862
|
- **simargl** answers: *what code is related to this task?*
|
|
1862
1863
|
- **svitovyd** answers: *how is the code structured and what depends on what?*
|
|
@@ -1865,6 +1866,7 @@ For human input, the corrected command is shown with `[fix?]` and you are asked
|
|
|
1865
1866
|
- **radogast** answers: *is the AI agent still on track toward the goal?*
|
|
1866
1867
|
- **vyrii** answers: *how do I access all of this through a browser?*
|
|
1867
1868
|
- **syryn** answers: *what is the address of this headless device?*
|
|
1869
|
+
- **alkonost** answers: *where do I see and edit the tasks generated from a spec tree?*
|
|
1868
1870
|
|
|
1869
1871
|
Together they cover the full development loop: understand the codebase, find relevant history, work with AI locally, remember what was decided, and verify the context stays on target.
|
|
1870
1872
|
|
|
Binary file
|
{1bcoder-0.1.23 → 1bcoder-0.1.25}/_bcoder_data/flows/__pycache__/deepagent_test.cpython-311.pyc
RENAMED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -166,22 +166,27 @@ Lenses:
|
|
|
166
166
|
|
|
167
167
|
# ── interruption handler ──────────────────────────────────────────────────────
|
|
168
168
|
|
|
169
|
-
def _on_interrupt(leaf: '_Node', nodes: list, new_nodes: int) -> tuple[
|
|
170
|
-
"""Called when
|
|
169
|
+
def _on_interrupt(leaf: '_Node', nodes: list, new_nodes: int) -> tuple[str, int]:
|
|
170
|
+
"""Called when a leaf's LLM call is interrupted (Ctrl+C) or fails (empty
|
|
171
|
+
reply / network error / timeout) -- chat._stream_chat collapses both to a
|
|
172
|
+
falsy result (None for Ctrl+C, "" for everything else), so both trigger
|
|
173
|
+
the same retry choice. Returns (action, new_nodes) where action is
|
|
174
|
+
'retry:<hint>', 'skip', or 'quit'."""
|
|
171
175
|
try:
|
|
172
176
|
ans = input(
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
f'q = quit and save: '
|
|
177
|
+
'\n [deepagent] interrupted/failed — retry this node? [Y/n/q] '
|
|
178
|
+
'(or "s <note>" to mark it done and skip): '
|
|
176
179
|
).strip()
|
|
177
180
|
except (EOFError, KeyboardInterrupt):
|
|
178
|
-
|
|
181
|
+
print('[deepagent] stopped — tree saved')
|
|
182
|
+
return 'quit', new_nodes
|
|
179
183
|
|
|
180
|
-
|
|
184
|
+
low = ans.lower()
|
|
185
|
+
if low == 'q':
|
|
181
186
|
print('[deepagent] stopped — tree saved')
|
|
182
|
-
return
|
|
187
|
+
return 'quit', new_nodes
|
|
183
188
|
|
|
184
|
-
if
|
|
189
|
+
if low.startswith('s'):
|
|
185
190
|
note = ans[1:].strip()
|
|
186
191
|
suffix = f' [{note}]' if note else ' [done]'
|
|
187
192
|
for n in nodes:
|
|
@@ -189,8 +194,17 @@ def _on_interrupt(leaf: '_Node', nodes: list, new_nodes: int) -> tuple[bool, int
|
|
|
189
194
|
n.text += suffix
|
|
190
195
|
break
|
|
191
196
|
print(f' {leaf.id}{suffix}')
|
|
197
|
+
return 'skip', new_nodes
|
|
198
|
+
|
|
199
|
+
if low.startswith('n'):
|
|
200
|
+
return 'skip', new_nodes
|
|
192
201
|
|
|
193
|
-
|
|
202
|
+
# default (Enter, or anything starting with 'y') — retry, optional hint
|
|
203
|
+
try:
|
|
204
|
+
hint = input(' comment (optional, guides the retry): ').strip()
|
|
205
|
+
except (EOFError, KeyboardInterrupt):
|
|
206
|
+
hint = ''
|
|
207
|
+
return f'retry:{hint}', new_nodes
|
|
194
208
|
|
|
195
209
|
|
|
196
210
|
# ── main flow ──────────────────────────────────────────────────────────────────
|
|
@@ -275,12 +289,26 @@ def run(chat, args: str):
|
|
|
275
289
|
+ [{'role': 'user', 'content': prompt}]
|
|
276
290
|
)
|
|
277
291
|
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
292
|
+
while True:
|
|
293
|
+
raw = chat._stream_chat(msgs)
|
|
294
|
+
if raw: # got a real reply
|
|
295
|
+
break
|
|
296
|
+
action, new_nodes = _on_interrupt(leaf, nodes, new_nodes)
|
|
297
|
+
if action == 'quit':
|
|
298
|
+
stop = True
|
|
299
|
+
break
|
|
300
|
+
if action == 'skip':
|
|
301
|
+
raw = ""
|
|
302
|
+
break
|
|
303
|
+
hint = action.split(':', 1)[1]
|
|
304
|
+
if hint:
|
|
305
|
+
print(f' [retry] {leaf.id} with: {hint}')
|
|
306
|
+
msgs[-1] = {'role': 'user', 'content': prompt + f"\n\nAdditional instruction: {hint}"}
|
|
307
|
+
else:
|
|
308
|
+
print(f' [retry] {leaf.id}...')
|
|
309
|
+
if stop:
|
|
310
|
+
break
|
|
311
|
+
if raw == "":
|
|
284
312
|
continue
|
|
285
313
|
|
|
286
314
|
items = _parse_items(raw, lenses)
|
|
@@ -325,26 +325,27 @@ class _StopGeneration(Exception):
|
|
|
325
325
|
|
|
326
326
|
|
|
327
327
|
def _on_interrupt(node_name: str) -> str:
|
|
328
|
-
"""Called
|
|
328
|
+
"""Called when an LLM call is interrupted (Ctrl+C) or fails (empty reply /
|
|
329
|
+
network error / timeout) -- chat._stream_chat collapses both to a falsy
|
|
330
|
+
result (None for Ctrl+C, "" for everything else), so both get the same
|
|
331
|
+
retry choice. Returns 'retry:<hint>' (hint may be empty), 'skip', or 'quit'."""
|
|
329
332
|
try:
|
|
330
|
-
ans = input(
|
|
331
|
-
f'\n [Enter] skip this node '
|
|
332
|
-
f'h <hint> = retry with hint '
|
|
333
|
-
f'q = stop and save: '
|
|
334
|
-
).strip()
|
|
333
|
+
ans = input(f'\n [{node_name}] interrupted/failed — retry? [Y/n/q]: ').strip().lower()
|
|
335
334
|
except (EOFError, KeyboardInterrupt):
|
|
336
|
-
ans = 'q'
|
|
337
|
-
|
|
338
|
-
if ans.lower() == 'q':
|
|
339
335
|
print('[deepagent_code] stopped — files saved')
|
|
340
336
|
return 'quit'
|
|
341
|
-
if ans.
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
337
|
+
if ans.startswith('q'):
|
|
338
|
+
print('[deepagent_code] stopped — files saved')
|
|
339
|
+
return 'quit'
|
|
340
|
+
if ans.startswith('n'):
|
|
341
|
+
print(f' [skip] {node_name}')
|
|
342
|
+
return 'skip'
|
|
343
|
+
try:
|
|
344
|
+
hint = input(' comment (optional, guides the retry): ').strip()
|
|
345
|
+
except (EOFError, KeyboardInterrupt):
|
|
346
|
+
hint = ''
|
|
347
|
+
print(f' [retry] {node_name}' + (f' with: {hint}' if hint else '...'))
|
|
348
|
+
return f'retry:{hint}'
|
|
348
349
|
|
|
349
350
|
|
|
350
351
|
# ── generation ───────────────────────────────────────────────────────────────
|
|
@@ -360,6 +361,24 @@ def _generate_local(chat, system_prompt: str, user_prompt: str) -> str:
|
|
|
360
361
|
return result or ""
|
|
361
362
|
|
|
362
363
|
|
|
364
|
+
def _generate_with_retry(chat, system_prompt: str, user_prompt: str, label: str) -> str:
|
|
365
|
+
"""Local generation with retry: chat._stream_chat collapses Ctrl+C to None
|
|
366
|
+
and any network error/timeout to "" -- both are offered the same Y/n/q
|
|
367
|
+
retry choice via _on_interrupt, looped until success, skip, or quit."""
|
|
368
|
+
prompt_now = user_prompt
|
|
369
|
+
while True:
|
|
370
|
+
result = _generate_local(chat, system_prompt, prompt_now)
|
|
371
|
+
if result:
|
|
372
|
+
return result
|
|
373
|
+
action = _on_interrupt(label)
|
|
374
|
+
if action == 'quit':
|
|
375
|
+
raise _StopGeneration()
|
|
376
|
+
if action == 'skip':
|
|
377
|
+
return ""
|
|
378
|
+
hint = action.split(':', 1)[1]
|
|
379
|
+
prompt_now = user_prompt + (f"\n\nAdditional instruction: {hint}" if hint else "")
|
|
380
|
+
|
|
381
|
+
|
|
363
382
|
def _serialize_ctx(messages: list, n: int) -> str:
|
|
364
383
|
"""Serialize last N user/assistant messages as a readable block for injection."""
|
|
365
384
|
if not messages or n == 0:
|
|
@@ -704,7 +723,8 @@ def _expand(chat, root_task: str, code_dir: str, max_depth: int,
|
|
|
704
723
|
think_prompt, chat.num_ctx,
|
|
705
724
|
chat.params)
|
|
706
725
|
else:
|
|
707
|
-
think_text =
|
|
726
|
+
think_text = _generate_with_retry(chat, _THINK_SYSTEM, think_prompt,
|
|
727
|
+
f"{name} [think]")
|
|
708
728
|
if think_text:
|
|
709
729
|
with open(md_path, "w", encoding="utf-8") as f:
|
|
710
730
|
f.write(f"# {name}\n\n{think_text}")
|
|
@@ -719,7 +739,7 @@ def _expand(chat, root_task: str, code_dir: str, max_depth: int,
|
|
|
719
739
|
if think_text:
|
|
720
740
|
ask_prompt += f"\n\nYour implementation plan:\n{think_text}"
|
|
721
741
|
print(f" [ask] extracting calls for {name}...")
|
|
722
|
-
ask_raw =
|
|
742
|
+
ask_raw = _generate_with_retry(chat, implement_prompt, ask_prompt, f"{name} [ask]")
|
|
723
743
|
calls = _parse_calls(ask_raw)
|
|
724
744
|
if calls:
|
|
725
745
|
print(f" [ask] calls: {', '.join(calls)}")
|
|
@@ -749,17 +769,7 @@ def _expand(chat, root_task: str, code_dir: str, max_depth: int,
|
|
|
749
769
|
h_, m_, _ = workers[idx_ % len(workers)]
|
|
750
770
|
return _generate_worker(h_, m_, s_prompt, u_prompt,
|
|
751
771
|
chat.num_ctx, chat.params)
|
|
752
|
-
|
|
753
|
-
if result is None:
|
|
754
|
-
action = _on_interrupt(name)
|
|
755
|
-
if action == 'quit':
|
|
756
|
-
raise _StopGeneration()
|
|
757
|
-
if action.startswith('hint:'):
|
|
758
|
-
hint = action[5:]
|
|
759
|
-
u_with_hint = u_prompt + f"\n\nAdditional instruction: {hint}"
|
|
760
|
-
return _generate_local(chat, s_prompt, u_with_hint) or ""
|
|
761
|
-
return ""
|
|
762
|
-
return result
|
|
772
|
+
return _generate_with_retry(chat, s_prompt, u_prompt, name)
|
|
763
773
|
|
|
764
774
|
raw = _call_llm(sys_prompt, user_prompt)
|
|
765
775
|
|