1bcoder 0.1.26__tar.gz → 0.1.27__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.26 → 1bcoder-0.1.27}/1bcoder.egg-info/PKG-INFO +1 -1
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/PKG-INFO +1 -1
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/chat.py +102 -1
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/pyproject.toml +1 -1
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/1bcoder.egg-info/SOURCES.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/1bcoder.egg-info/dependency_links.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/1bcoder.egg-info/entry_points.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/1bcoder.egg-info/requires.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/1bcoder.egg-info/top_level.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/LICENSE +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/README.md +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/__init__.py +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/agents/advance.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/agents/ask.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/agents/coder.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/agents/codex.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/agents/compact.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/agents/concepts.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/agents/fill.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/agents/planning.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/agents/research.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/agents/scan.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/agents/sqlite.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/agents/terminator.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/agents/websearch.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/aliases.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/ctxtimer/base_prompt.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/deepagent_code/java_decompose.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/deepagent_code/java_implement.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/deepagent_code/js_decompose.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/deepagent_code/js_implement.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/deepagent_code/kt_decompose.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/deepagent_code/kt_implement.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/deepagent_code/mysql_decompose.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/deepagent_code/mysql_implement.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/deepagent_code/plsql_decompose.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/deepagent_code/plsql_implement.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/deepagent_code/py_decompose.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/deepagent_code/py_implement.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/deepagent_code/scala_decompose.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/deepagent_code/scala_implement.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/deepagent_code/sql_decompose.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/deepagent_code/sql_implement.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/doc/FLOWS.md +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/doc/MCP.md +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/doc/OLLAMA_SERVER_PARAM.md +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/doc/PARAM.md +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/doc/PROC.md +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/doc/TRANSLATE.md +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/flows/__pycache__/commit_message.cpython-311.pyc +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/flows/__pycache__/ctxtimer.cpython-311.pyc +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/flows/__pycache__/deepagent.cpython-311.pyc +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/flows/__pycache__/deepagent_architect.cpython-311.pyc +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/flows/__pycache__/deepagent_code.cpython-311.pyc +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/flows/__pycache__/deepagent_md.cpython-311.pyc +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/flows/__pycache__/deepagent_merge.cpython-311.pyc +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/flows/__pycache__/deepagent_spec.cpython-311.pyc +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/flows/__pycache__/deepagent_task.cpython-311.pyc +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/flows/__pycache__/deepagent_test.cpython-311.pyc +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/flows/__pycache__/deepagent_translate.cpython-311.pyc +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/flows/__pycache__/deobfuscate.cpython-311.pyc +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/flows/__pycache__/external_help.cpython-311.pyc +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/flows/__pycache__/glossary.cpython-311.pyc +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/flows/__pycache__/history.cpython-311.pyc +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/flows/__pycache__/obfuscate.cpython-311.pyc +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/flows/__pycache__/rag.cpython-311.pyc +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/flows/__pycache__/scan.cpython-311.pyc +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/flows/__pycache__/webcrawl.cpython-311.pyc +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/flows/commit_message.py +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/flows/compress.py +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/flows/ctxtimer.py +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/flows/deepagent.py +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/flows/deepagent_architect.py +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/flows/deepagent_code.py +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/flows/deepagent_md.py +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/flows/deepagent_merge.py +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/flows/deepagent_spec.py +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/flows/deepagent_task.py +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/flows/deepagent_test.py +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/flows/deepagent_translate.py +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/flows/deobfuscate.py +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/flows/external_help.py +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/flows/glossary.py +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/flows/grounding.py +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/flows/history.py +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/flows/interview.py +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/flows/obfuscate.py +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/flows/py_error_trace.py +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/flows/rag.py +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/flows/scan.py +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/flows/simargl_files.py +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/flows/visual_search.py +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/flows/webanalys.py +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/flows/webask.py +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/flows/webcrawl.py +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/flows/webindex.py +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/map.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/proc/__pycache__/radogast-gate.cpython-311.pyc +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/proc/__pycache__/tool-allowlist-gate.cpython-311.pyc +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/proc/action-required.py +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/proc/add-save.py +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/proc/assist.py +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/proc/autobkup.py +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/proc/autocheck.py +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/proc/collect-files.py +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/proc/ctx_cut.py +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/proc/ctx_expand.py +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/proc/extract-code.py +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/proc/extract-files.py +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/proc/extract-list.py +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/proc/grounding-check.py +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/proc/ladder.py +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/proc/md.py +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/proc/mdx.py +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/proc/pattern-gate.py +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/proc/radogast-gate.py +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/proc/regexp-extract.py +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/proc/rude_words.py +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/proc/scan-save.py +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/proc/secret_check.py +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/proc/sql_readonly_guard.py +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/proc/tempctx-cut.py +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/proc/tool-allowlist-gate.py +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/profiles.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/prompts/analysis.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/prompts/sumarise.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/prompts.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/scripts/AddFunction.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/scripts/AskProject.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/scripts/CheckRequirements.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/scripts/DockerMySQL.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/scripts/DockerNginx.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/scripts/DockerPython.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/scripts/DockerStack.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/scripts/DuckDuckGoInstant.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/scripts/EnvTemplate.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/scripts/Explain.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/scripts/ExploreProjectStructure.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/scripts/GitIgnorePython.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/scripts/MySQLDump.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/scripts/NewScript.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/scripts/PipFreeze.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/scripts/PyPI.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/scripts/Refactor.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/scripts/RunAndFix.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/scripts/SQLiteSchema.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/scripts/Translate.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/scripts/WikiPage.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/scripts/WikiSearch.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/scripts/auto-bkup.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/scripts/deepagent_implement.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/scripts/deepagent_loop.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/scripts/deepagent_next.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/scripts/deepagent_plan.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/scripts/deepagent_spec_task.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/scripts/edit-control.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/scripts/parallel_call.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/scripts/personal/content/create-regular-content.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/scripts/personal/content/plan.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/scripts/personal/test/collect-data-from-test-environment.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/scripts/plan.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/scripts/remote/create-content-on-remote-server.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/scripts/set_ctx.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/scripts/simargl-cli_index_files.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/scripts/simargl-cli_index_units.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/scripts/simargl-cli_search.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/scripts/team-map-worker.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/scripts/team-search-worker.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/scripts/team-summarize.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/scripts/team-tree-worker.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/scripts/test.txt +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/teams/code-analysis.yaml +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/map_index.py +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/map_query.py +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/setup.cfg +0 -0
- {1bcoder-0.1.26 → 1bcoder-0.1.27}/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.27
|
|
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
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: 1bcoder
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.27
|
|
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
|
|
@@ -861,6 +861,10 @@ Output capture operators (work with any command — LLM reply, tool, proc):
|
|
|
861
861
|
/role <persona> Set a system role prepended to every chat request (survives /ctx clear).
|
|
862
862
|
/role show Show the current role.
|
|
863
863
|
/role clear Remove the role.
|
|
864
|
+
/role save <name> Save the current role to .1bcoder/role/ (project-local, if
|
|
865
|
+
.1bcoder/ already exists here) or ~/.1bcoder/role/ (global fallback).
|
|
866
|
+
/role list Numbered list of saved roles — project-local first, then global.
|
|
867
|
+
/role load <N|name> Load a saved role by its /role list number or by name.
|
|
864
868
|
Default role: "You are a software developer assistant."
|
|
865
869
|
Note: words like "senior", "expert", "professor" push the model to rely on its own knowledge
|
|
866
870
|
and skip cautious steps (read-before-edit, describe-before-change). Use them intentionally.
|
|
@@ -2475,6 +2479,10 @@ _CMD_SPEC = {
|
|
|
2475
2479
|
"/switch": dict(file_idx=None, kw_idx=1, keywords=["restore", "profile"]),
|
|
2476
2480
|
"/rag": dict(file_idx=None, kw_idx=1, keywords=["index", "search", "list", "add", "remove", "init", "ingest", "status"]),
|
|
2477
2481
|
"/stats": dict(file_idx=None, kw_idx=1, keywords=["reset", "save"]),
|
|
2482
|
+
# /role also accepts freeform persona text as its argument (like /ask), not
|
|
2483
|
+
# just these five subcommands — cutoff=0.6 in _fuzzy_fix keeps this from
|
|
2484
|
+
# misfiring on ordinary persona openers ("You are…", "Act as…").
|
|
2485
|
+
"/role": dict(file_idx=None, kw_idx=1, keywords=["show", "clear", "save", "list", "load"]),
|
|
2478
2486
|
}
|
|
2479
2487
|
|
|
2480
2488
|
|
|
@@ -3387,6 +3395,7 @@ class CoderCLI:
|
|
|
3387
3395
|
self._proc_active: list[str] = [] # persistent procs (run after every reply)
|
|
3388
3396
|
self._vars: dict = {} # /var store — {{name}} placeholders
|
|
3389
3397
|
self._role: str = "You are a software developer assistant." # /role — system persona prepended to every chat request
|
|
3398
|
+
self._role_list_cache: list = [] # [(name, (scope, path))] from last /role list, for /role load N
|
|
3390
3399
|
self._last_proc_stdout: str = "" # saved last proc output for /var set
|
|
3391
3400
|
self._last_output: str = "" # universal last output (LLM, tool, proc) — $ and -> capture
|
|
3392
3401
|
self._last_tps: float | None = None # TG speed from last _stream_chat call
|
|
@@ -7916,12 +7925,42 @@ Config stored in ~/.1bcoder/translate.json
|
|
|
7916
7925
|
|
|
7917
7926
|
# ── /var ────────────────────────────────────────────────────────────────────
|
|
7918
7927
|
|
|
7928
|
+
@staticmethod
|
|
7929
|
+
def _role_kebab(name: str) -> str:
|
|
7930
|
+
s = name.strip().lower()
|
|
7931
|
+
s = re.sub(r'[^a-z0-9]+', '-', s)
|
|
7932
|
+
return re.sub(r'-+', '-', s).strip('-')
|
|
7933
|
+
|
|
7934
|
+
@staticmethod
|
|
7935
|
+
def _role_save_dir() -> str:
|
|
7936
|
+
"""Project-local `.1bcoder/role/` if this project is already 1bcoder-
|
|
7937
|
+
initialized (never create `.1bcoder/` itself just to save a role),
|
|
7938
|
+
else the global `~/.1bcoder/role/` fallback."""
|
|
7939
|
+
proj_root = os.path.join(os.getcwd(), ".1bcoder")
|
|
7940
|
+
if os.path.isdir(proj_root):
|
|
7941
|
+
d = os.path.join(proj_root, "role")
|
|
7942
|
+
else:
|
|
7943
|
+
d = os.path.join(os.path.expanduser("~"), ".1bcoder", "role")
|
|
7944
|
+
os.makedirs(d, exist_ok=True)
|
|
7945
|
+
return d
|
|
7946
|
+
|
|
7947
|
+
@staticmethod
|
|
7948
|
+
def _role_search_dirs() -> list:
|
|
7949
|
+
"""[(scope, dir), ...] — project-local first (only if the project is
|
|
7950
|
+
1bcoder-initialized), then global; /role list dedupes by this order."""
|
|
7951
|
+
dirs = []
|
|
7952
|
+
if os.path.isdir(os.path.join(os.getcwd(), ".1bcoder")):
|
|
7953
|
+
dirs.append(("project", os.path.join(os.getcwd(), ".1bcoder", "role")))
|
|
7954
|
+
dirs.append(("global", os.path.join(os.path.expanduser("~"), ".1bcoder", "role")))
|
|
7955
|
+
return dirs
|
|
7956
|
+
|
|
7919
7957
|
def _cmd_role(self, user_input: str):
|
|
7920
7958
|
parts = user_input.split(None, 1)
|
|
7921
7959
|
sub = parts[1].strip() if len(parts) > 1 else ""
|
|
7922
7960
|
|
|
7923
7961
|
if not sub:
|
|
7924
|
-
print("usage: /role <persona> | /role show | /role clear"
|
|
7962
|
+
print("usage: /role <persona> | /role show | /role clear | "
|
|
7963
|
+
"/role save <name> | /role list | /role load <N|name>")
|
|
7925
7964
|
return
|
|
7926
7965
|
|
|
7927
7966
|
if sub == "show":
|
|
@@ -7936,6 +7975,68 @@ Config stored in ~/.1bcoder/translate.json
|
|
|
7936
7975
|
_ok("[role] cleared")
|
|
7937
7976
|
return
|
|
7938
7977
|
|
|
7978
|
+
verb, _, rest = sub.partition(" ")
|
|
7979
|
+
rest = rest.strip()
|
|
7980
|
+
|
|
7981
|
+
if verb == "save" and rest:
|
|
7982
|
+
if not self._role:
|
|
7983
|
+
print("[role] nothing to save — set a role first: /role <persona>")
|
|
7984
|
+
return
|
|
7985
|
+
d = self._role_save_dir()
|
|
7986
|
+
path = os.path.join(d, self._role_kebab(rest) + ".md")
|
|
7987
|
+
try:
|
|
7988
|
+
with open(path, "w", encoding="utf-8") as f:
|
|
7989
|
+
f.write(self._role)
|
|
7990
|
+
except OSError as e:
|
|
7991
|
+
print(f"[role] cannot write: {e}")
|
|
7992
|
+
return
|
|
7993
|
+
_ok(f"[role] saved '{rest}' -> {path}")
|
|
7994
|
+
return
|
|
7995
|
+
|
|
7996
|
+
if sub == "list":
|
|
7997
|
+
seen: dict = {}
|
|
7998
|
+
for scope, d in self._role_search_dirs():
|
|
7999
|
+
if not os.path.isdir(d):
|
|
8000
|
+
continue
|
|
8001
|
+
for fn in sorted(os.listdir(d)):
|
|
8002
|
+
if not fn.endswith(".md"):
|
|
8003
|
+
continue
|
|
8004
|
+
name = fn[:-3]
|
|
8005
|
+
if name not in seen: # first hit wins — project-local before global
|
|
8006
|
+
seen[name] = (scope, os.path.join(d, fn))
|
|
8007
|
+
self._role_list_cache = list(seen.items())
|
|
8008
|
+
if not self._role_list_cache:
|
|
8009
|
+
print("[role] no saved roles (use /role save <name> first)")
|
|
8010
|
+
return
|
|
8011
|
+
for i, (name, (scope, _path)) in enumerate(self._role_list_cache, 1):
|
|
8012
|
+
print(f" {i}. {name} [{scope}]")
|
|
8013
|
+
return
|
|
8014
|
+
|
|
8015
|
+
if verb == "load" and rest:
|
|
8016
|
+
target_path = None
|
|
8017
|
+
if rest.isdigit() and getattr(self, "_role_list_cache", None):
|
|
8018
|
+
idx = int(rest) - 1
|
|
8019
|
+
if 0 <= idx < len(self._role_list_cache):
|
|
8020
|
+
_name, (_scope, target_path) = self._role_list_cache[idx]
|
|
8021
|
+
if target_path is None:
|
|
8022
|
+
kebab = self._role_kebab(rest)
|
|
8023
|
+
for _scope, d in self._role_search_dirs():
|
|
8024
|
+
cand = os.path.join(d, kebab + ".md")
|
|
8025
|
+
if os.path.isfile(cand):
|
|
8026
|
+
target_path = cand
|
|
8027
|
+
break
|
|
8028
|
+
if target_path is None:
|
|
8029
|
+
print(f"[role] not found: {rest} (try /role list)")
|
|
8030
|
+
return
|
|
8031
|
+
try:
|
|
8032
|
+
with open(target_path, "r", encoding="utf-8") as f:
|
|
8033
|
+
self._role = f.read()
|
|
8034
|
+
except OSError as e:
|
|
8035
|
+
print(f"[role] cannot read: {e}")
|
|
8036
|
+
return
|
|
8037
|
+
_ok(f"[role] loaded '{rest}'")
|
|
8038
|
+
return
|
|
8039
|
+
|
|
7939
8040
|
self._role = sub
|
|
7940
8041
|
_ok(f"[role] {self._role}")
|
|
7941
8042
|
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "1bcoder"
|
|
7
|
-
version = "0.1.
|
|
7
|
+
version = "0.1.27"
|
|
8
8
|
description = "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."
|
|
9
9
|
requires-python = ">=3.10"
|
|
10
10
|
readme = {file = "README.md", content-type = "text/markdown"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/flows/__pycache__/commit_message.cpython-311.pyc
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/flows/__pycache__/deepagent_architect.cpython-311.pyc
RENAMED
|
File without changes
|
{1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/flows/__pycache__/deepagent_code.cpython-311.pyc
RENAMED
|
File without changes
|
{1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/flows/__pycache__/deepagent_md.cpython-311.pyc
RENAMED
|
File without changes
|
{1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/flows/__pycache__/deepagent_merge.cpython-311.pyc
RENAMED
|
File without changes
|
{1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/flows/__pycache__/deepagent_spec.cpython-311.pyc
RENAMED
|
File without changes
|
{1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/flows/__pycache__/deepagent_task.cpython-311.pyc
RENAMED
|
File without changes
|
{1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/flows/__pycache__/deepagent_test.cpython-311.pyc
RENAMED
|
File without changes
|
{1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/flows/__pycache__/deepagent_translate.cpython-311.pyc
RENAMED
|
File without changes
|
{1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/flows/__pycache__/deobfuscate.cpython-311.pyc
RENAMED
|
File without changes
|
{1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/flows/__pycache__/external_help.cpython-311.pyc
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/proc/__pycache__/radogast-gate.cpython-311.pyc
RENAMED
|
File without changes
|
{1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/proc/__pycache__/tool-allowlist-gate.cpython-311.pyc
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/scripts/personal/content/create-regular-content.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{1bcoder-0.1.26 → 1bcoder-0.1.27}/_bcoder_data/scripts/remote/create-content-on-remote-server.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|