codebuff-agent 2.1.74__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- codebuff_agent-2.1.74.data/data/etc/jupyter/jupyter_server_config.d/codebuff_agent.json +7 -0
- codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/package.json +157 -0
- codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/104.2b8f20f9d1ac2c9db01b.js +1 -0
- codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/150.39fa98117cc8ca590465.js +1 -0
- codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/166.386ff9b2c37ac865fdee.js +1 -0
- codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/216.25cf81131bf7274dabf4.js +1 -0
- codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/353.581bd1cb00746399b62e.js +1 -0
- codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/367.575f9621b63c9a641aa9.js +1 -0
- codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/421.11dac223a2c2da1b09f5.js +1 -0
- codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/432.8513b4c6cc1d1232d165.js +2 -0
- codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/432.8513b4c6cc1d1232d165.js.LICENSE.txt +19 -0
- codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/439.ba5b5ef70ec6de214b8c.js +2 -0
- codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/439.ba5b5ef70ec6de214b8c.js.LICENSE.txt +8 -0
- codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/481.cc2dec9fa869d66f1407.js +1 -0
- codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/487.0796e931d6e651482c14.js +1 -0
- codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/49.d326f554b6f9ccde6580.js +1 -0
- codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/541.26897ea32845659e36be.js +1 -0
- codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/579.e569d3edd8391fd8fbb3.js +1 -0
- codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/58.eb7cc679f7535cc8a2f1.js +2 -0
- codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/58.eb7cc679f7535cc8a2f1.js.LICENSE.txt +8 -0
- codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/666.d9bfdb23f98489d0a188.js +1 -0
- codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/677.d266c39dbed33bc388b3.js +2 -0
- codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/677.d266c39dbed33bc388b3.js.LICENSE.txt +8 -0
- codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/68.26b6f59c8454adb17f20.js +204 -0
- codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/694.4ac443814260057e68f7.js +1 -0
- codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/791.61affb8d3480d3d60e0d.js +1 -0
- codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/848.4d2db09cfbb09374b299.js +2 -0
- codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/848.4d2db09cfbb09374b299.js.LICENSE.txt +9 -0
- codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/868.5cfe7e1a348ec5af1b8c.js +1 -0
- codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/97.ea559a5b8a9a09f17c6b.js +1 -0
- codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/remoteEntry.5292fc9c6df7e7920cc8.js +1 -0
- codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/style.js +4 -0
- codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/third-party-licenses.json +724 -0
- codebuff_agent-2.1.74.dist-info/METADATA +142 -0
- codebuff_agent-2.1.74.dist-info/RECORD +217 -0
- codebuff_agent-2.1.74.dist-info/WHEEL +4 -0
- codebuff_agent-2.1.74.dist-info/licenses/LICENSE +21 -0
- codebuff_core/__init__.py +153 -0
- codebuff_core/codebuff_config_defaults.json +64 -0
- codebuff_core/core/__init__.py +35 -0
- codebuff_core/core/code_validator.py +1238 -0
- codebuff_core/core/error_classifier.py +579 -0
- codebuff_core/core/exceptions.py +49 -0
- codebuff_core/data/tiktoken_cache/9b5ad71b2ce5302211f9c61530b329a4922fc6a4 +100256 -0
- codebuff_core/directory_policy.py +32 -0
- codebuff_core/factory.py +155 -0
- codebuff_core/interfaces.py +197 -0
- codebuff_core/knowledge/__init__.py +31 -0
- codebuff_core/knowledge/chunking.py +375 -0
- codebuff_core/knowledge/loader.py +339 -0
- codebuff_core/knowledge/watchdog_service.py +354 -0
- codebuff_core/legacy_paths.py +69 -0
- codebuff_core/llm/__init__.py +13 -0
- codebuff_core/llm/service.py +407 -0
- codebuff_core/managers/__init__.py +22 -0
- codebuff_core/managers/config_manager.py +690 -0
- codebuff_core/managers/remote_config.py +673 -0
- codebuff_core/managers/remote_skills.py +539 -0
- codebuff_core/managers/session_manager.py +255 -0
- codebuff_core/middleware/__init__.py +3 -0
- codebuff_core/middleware/error_recovery.py +394 -0
- codebuff_core/middleware/logging_utils.py +33 -0
- codebuff_core/models/__init__.py +111 -0
- codebuff_core/models/agent.py +306 -0
- codebuff_core/models/chat.py +57 -0
- codebuff_core/models/common.py +82 -0
- codebuff_core/models/rag.py +300 -0
- codebuff_core/platform_rules.py +127 -0
- codebuff_core/prompts/__init__.py +44 -0
- codebuff_core/prompts/auto_agent_prompts.py +1278 -0
- codebuff_core/services/__init__.py +30 -0
- codebuff_core/services/agent_service.py +345 -0
- codebuff_core/services/analytics_aggregate.py +837 -0
- codebuff_core/services/chat_service.py +898 -0
- codebuff_core/services/context_condenser.py +306 -0
- codebuff_core/services/pii_guardrail.py +393 -0
- codebuff_core/services/rag_chat_agent.py +2993 -0
- codebuff_core/services/rag_collections.py +2740 -0
- codebuff_core/services/rag_manager.py +890 -0
- codebuff_core/services/rag_service.py +145 -0
- codebuff_core/services/retriever.py +260 -0
- codebuff_core/services/vllm_embedding_service.py +290 -0
- codebuff_core/tests/__init__.py +1 -0
- codebuff_core/tests/conftest.py +81 -0
- codebuff_core/tests/test_error_recovery.py +647 -0
- codebuff_core/tests/test_factory.py +135 -0
- codebuff_core/tests/test_services.py +150 -0
- jupyter_ext/__init__.py +266 -0
- jupyter_ext/_version.py +4 -0
- jupyter_ext/agent/__init__.py +49 -0
- jupyter_ext/agent/agent_factory.py +2270 -0
- jupyter_ext/agent/ast_tools.py +451 -0
- jupyter_ext/agent/autofix_middleware.py +481 -0
- jupyter_ext/agent/background_procs.py +372 -0
- jupyter_ext/agent/code_history_middleware.py +211 -0
- jupyter_ext/agent/codex_autofix.py +160 -0
- jupyter_ext/agent/codex_bridge.py +3339 -0
- jupyter_ext/agent/codex_hooks.py +320 -0
- jupyter_ext/agent/codex_slash.py +685 -0
- jupyter_ext/agent/codex_threads.py +114 -0
- jupyter_ext/agent/content_injection.py +377 -0
- jupyter_ext/agent/continuation_middleware.py +548 -0
- jupyter_ext/agent/custom_skills.py +335 -0
- jupyter_ext/agent/file_diffs.py +99 -0
- jupyter_ext/agent/git_history.py +188 -0
- jupyter_ext/agent/guardrail_middleware.py +421 -0
- jupyter_ext/agent/json_repair_utils.py +54 -0
- jupyter_ext/agent/langchain_tools.py +2673 -0
- jupyter_ext/agent/mermaid_fixer.py +289 -0
- jupyter_ext/agent/mermaid_middleware.py +135 -0
- jupyter_ext/agent/middleware.py +359 -0
- jupyter_ext/agent/middleware_prompts.py +53 -0
- jupyter_ext/agent/observability.py +334 -0
- jupyter_ext/agent/patch_tool_calls.py +57 -0
- jupyter_ext/agent/prompts.py +112 -0
- jupyter_ext/agent/skill_middleware.py +257 -0
- jupyter_ext/agent/skills/airflow_dag_development.md +36 -0
- jupyter_ext/agent/skills/anomaly_detection.md +12 -0
- jupyter_ext/agent/skills/athena_sql.md +156 -0
- jupyter_ext/agent/skills/bdp_table_search.md +33 -0
- jupyter_ext/agent/skills/bigquery.md +65 -0
- jupyter_ext/agent/skills/bigquery_oracle.md +231 -0
- jupyter_ext/agent/skills/bigquery_tuning.md +307 -0
- jupyter_ext/agent/skills/classification_evaluation.md +11 -0
- jupyter_ext/agent/skills/clustering_analysis.md +12 -0
- jupyter_ext/agent/skills/comprehensive_eda.md +11 -0
- jupyter_ext/agent/skills/data_analysis.md +236 -0
- jupyter_ext/agent/skills/data_cleaning_pipeline.md +12 -0
- jupyter_ext/agent/skills/data_loading.md +158 -0
- jupyter_ext/agent/skills/data_quality_report.md +13 -0
- jupyter_ext/agent/skills/dimensionality_reduction.md +12 -0
- jupyter_ext/agent/skills/emr_script_development.md +17 -0
- jupyter_ext/agent/skills/experiment_tracking.md +13 -0
- jupyter_ext/agent/skills/feature_importance_analysis.md +10 -0
- jupyter_ext/agent/skills/hyperparameter_tuning.md +12 -0
- jupyter_ext/agent/skills/hypothesis_testing.md +12 -0
- jupyter_ext/agent/skills/imbalanced_data_handling.md +12 -0
- jupyter_ext/agent/skills/inference.md +392 -0
- jupyter_ext/agent/skills/lambda_function_development.md +19 -0
- jupyter_ext/agent/skills/model_comparison.md +11 -0
- jupyter_ext/agent/skills/model_explainability.md +12 -0
- jupyter_ext/agent/skills/model_training.md +318 -0
- jupyter_ext/agent/skills/pyspark.md +352 -0
- jupyter_ext/agent/skills/python_code_quality.md +35 -0
- jupyter_ext/agent/skills/regression_evaluation.md +12 -0
- jupyter_ext/agent/skills/spring_java_development.md +35 -0
- jupyter_ext/agent/skills/text_preprocessing.md +12 -0
- jupyter_ext/agent/skills/time_series_analysis.md +13 -0
- jupyter_ext/agent/skills/unit_testing.md +203 -0
- jupyter_ext/agent/todo_prompts.py +57 -0
- jupyter_ext/agent/tool_report.py +45 -0
- jupyter_ext/analytics_ingest.py +599 -0
- jupyter_ext/etc/jupyter/jupyter_server_config.d/codebuff_agent.json +7 -0
- jupyter_ext/handlers/__init__.py +8 -0
- jupyter_ext/handlers/analytics_handler.py +170 -0
- jupyter_ext/handlers/benchmark_handler.py +794 -0
- jupyter_ext/handlers/eda_benchmark_handler.py +1328 -0
- jupyter_ext/handlers/rag_admin_handler.py +689 -0
- jupyter_ext/handlers/websocket.py +497 -0
- jupyter_ext/http_handlers.py +8744 -0
- jupyter_ext/idle_monitor.py +346 -0
- jupyter_ext/labextension/package.json +157 -0
- jupyter_ext/labextension/static/104.2b8f20f9d1ac2c9db01b.js +1 -0
- jupyter_ext/labextension/static/150.39fa98117cc8ca590465.js +1 -0
- jupyter_ext/labextension/static/166.386ff9b2c37ac865fdee.js +1 -0
- jupyter_ext/labextension/static/216.25cf81131bf7274dabf4.js +1 -0
- jupyter_ext/labextension/static/353.581bd1cb00746399b62e.js +1 -0
- jupyter_ext/labextension/static/367.575f9621b63c9a641aa9.js +1 -0
- jupyter_ext/labextension/static/421.11dac223a2c2da1b09f5.js +1 -0
- jupyter_ext/labextension/static/432.8513b4c6cc1d1232d165.js +2 -0
- jupyter_ext/labextension/static/432.8513b4c6cc1d1232d165.js.LICENSE.txt +19 -0
- jupyter_ext/labextension/static/439.ba5b5ef70ec6de214b8c.js +2 -0
- jupyter_ext/labextension/static/439.ba5b5ef70ec6de214b8c.js.LICENSE.txt +8 -0
- jupyter_ext/labextension/static/481.cc2dec9fa869d66f1407.js +1 -0
- jupyter_ext/labextension/static/487.0796e931d6e651482c14.js +1 -0
- jupyter_ext/labextension/static/49.d326f554b6f9ccde6580.js +1 -0
- jupyter_ext/labextension/static/541.26897ea32845659e36be.js +1 -0
- jupyter_ext/labextension/static/579.e569d3edd8391fd8fbb3.js +1 -0
- jupyter_ext/labextension/static/58.eb7cc679f7535cc8a2f1.js +2 -0
- jupyter_ext/labextension/static/58.eb7cc679f7535cc8a2f1.js.LICENSE.txt +8 -0
- jupyter_ext/labextension/static/666.d9bfdb23f98489d0a188.js +1 -0
- jupyter_ext/labextension/static/677.d266c39dbed33bc388b3.js +2 -0
- jupyter_ext/labextension/static/677.d266c39dbed33bc388b3.js.LICENSE.txt +8 -0
- jupyter_ext/labextension/static/68.26b6f59c8454adb17f20.js +204 -0
- jupyter_ext/labextension/static/694.4ac443814260057e68f7.js +1 -0
- jupyter_ext/labextension/static/791.61affb8d3480d3d60e0d.js +1 -0
- jupyter_ext/labextension/static/848.4d2db09cfbb09374b299.js +2 -0
- jupyter_ext/labextension/static/848.4d2db09cfbb09374b299.js.LICENSE.txt +9 -0
- jupyter_ext/labextension/static/868.5cfe7e1a348ec5af1b8c.js +1 -0
- jupyter_ext/labextension/static/97.ea559a5b8a9a09f17c6b.js +1 -0
- jupyter_ext/labextension/static/remoteEntry.5292fc9c6df7e7920cc8.js +1 -0
- jupyter_ext/labextension/static/style.js +4 -0
- jupyter_ext/labextension/static/third-party-licenses.json +724 -0
- jupyter_ext/log_paths.py +113 -0
- jupyter_ext/resource_usage.py +519 -0
- jupyter_ext/secrets_bootstrap.py +116 -0
- jupyter_ext/team_access.py +105 -0
- jupyter_ext/tests/__init__.py +1 -0
- jupyter_ext/tests/test_context.py +234 -0
- jupyter_ext/tests/test_factory.py +563 -0
- jupyter_ext/tests/test_file_finder.py +139 -0
- jupyter_ext/tests/test_handlers.py +58 -0
- jupyter_ext/tests/test_mcp_selftest.py +204 -0
- jupyter_ext/tests/test_mermaid_fixer.py +272 -0
- jupyter_ext/tests/test_resource_tiers.py +298 -0
- jupyter_ext/tools/__init__.py +15 -0
- jupyter_ext/tools/base.py +90 -0
- jupyter_ext/tools/context.py +268 -0
- jupyter_ext/tools/dir_complete.py +86 -0
- jupyter_ext/tools/file_finder.py +303 -0
- jupyter_ext/tools/file_tools.py +244 -0
- jupyter_ext/tools/jupyter_tools.py +296 -0
- jupyter_ext/tools/registry.py +159 -0
- jupyter_ext/tools/search_tools.py +230 -0
- jupyter_ext/tools/security_tools.py +657 -0
- jupyter_ext/tools/shell_tools.py +109 -0
- jupyter_ext/tools/user_tools.py +132 -0
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: codebuff-agent
|
|
3
|
+
Version: 2.1.74
|
|
4
|
+
Summary: Codebuff JupyterLab Extension - Thin client for Agent Server
|
|
5
|
+
Project-URL: Homepage, https://github.com/lks21c/codebuff
|
|
6
|
+
Project-URL: Bug Tracker, https://github.com/lks21c/codebuff/issues
|
|
7
|
+
Project-URL: Repository, https://github.com/lks21c/codebuff.git
|
|
8
|
+
Author-email: Your Name <your.email@example.com>
|
|
9
|
+
License-File: LICENSE
|
|
10
|
+
Classifier: Framework :: Jupyter
|
|
11
|
+
Classifier: Framework :: Jupyter :: JupyterLab
|
|
12
|
+
Classifier: Framework :: Jupyter :: JupyterLab :: 4
|
|
13
|
+
Classifier: Framework :: Jupyter :: JupyterLab :: Extensions
|
|
14
|
+
Classifier: Framework :: Jupyter :: JupyterLab :: Extensions :: Prebuilt
|
|
15
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
16
|
+
Classifier: Programming Language :: Python
|
|
17
|
+
Classifier: Programming Language :: Python :: 3
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
22
|
+
Requires-Python: >=3.9
|
|
23
|
+
Requires-Dist: aiohttp>=3.11.0
|
|
24
|
+
Requires-Dist: certifi>=2024.0.0
|
|
25
|
+
Requires-Dist: deepagents<0.7,>=0.6.8; python_version >= '3.11'
|
|
26
|
+
Requires-Dist: httpx>=0.28.0
|
|
27
|
+
Requires-Dist: json-repair==0.44.1
|
|
28
|
+
Requires-Dist: jupyter-server-proxy<5,>=4.6; python_version >= '3.10'
|
|
29
|
+
Requires-Dist: langchain-core>=1.0.0; python_version >= '3.10'
|
|
30
|
+
Requires-Dist: langchain-openai>=0.3.0; python_version >= '3.10'
|
|
31
|
+
Requires-Dist: langchain>=1.0.0; python_version >= '3.10'
|
|
32
|
+
Requires-Dist: langgraph>=1.0.0; python_version >= '3.10'
|
|
33
|
+
Requires-Dist: psutil>=5.9.8
|
|
34
|
+
Requires-Dist: pydantic>=2.10.0
|
|
35
|
+
Requires-Dist: pyyaml<7.0,>=6.0
|
|
36
|
+
Requires-Dist: ruff>=0.8.0
|
|
37
|
+
Requires-Dist: tiktoken>=0.8.0
|
|
38
|
+
Provides-Extra: embedded
|
|
39
|
+
Requires-Dist: qdrant-client>=1.12.0; extra == 'embedded'
|
|
40
|
+
Requires-Dist: rank-bm25>=0.2.2; extra == 'embedded'
|
|
41
|
+
Requires-Dist: watchdog>=6.0.0; extra == 'embedded'
|
|
42
|
+
Provides-Extra: test
|
|
43
|
+
Requires-Dist: coverage; extra == 'test'
|
|
44
|
+
Requires-Dist: pytest; extra == 'test'
|
|
45
|
+
Requires-Dist: pytest-asyncio; extra == 'test'
|
|
46
|
+
Requires-Dist: pytest-cov; extra == 'test'
|
|
47
|
+
Requires-Dist: pytest-jupyter[server]>=0.6.0; extra == 'test'
|
|
48
|
+
Description-Content-Type: text/markdown
|
|
49
|
+
|
|
50
|
+
# Codebuff Agent
|
|
51
|
+
|
|
52
|
+
JupyterLab extension for AI-powered code assistance with embedded agent services.
|
|
53
|
+
|
|
54
|
+
## Architecture
|
|
55
|
+
|
|
56
|
+
This extension runs agent services in-process:
|
|
57
|
+
- Provides the JupyterLab frontend UI
|
|
58
|
+
- Handles Jupyter-specific integration (kernel communication, notebook manipulation)
|
|
59
|
+
- Runs LLM-based agent services directly via `codebuff_core`
|
|
60
|
+
|
|
61
|
+
## Prerequisites
|
|
62
|
+
|
|
63
|
+
- **JupyterLab**: Version 4.0 or higher
|
|
64
|
+
|
|
65
|
+
## Installation
|
|
66
|
+
|
|
67
|
+
### Development Installation
|
|
68
|
+
|
|
69
|
+
```bash
|
|
70
|
+
# Install dependencies
|
|
71
|
+
yarn install
|
|
72
|
+
|
|
73
|
+
# Build extension
|
|
74
|
+
yarn build
|
|
75
|
+
|
|
76
|
+
# Install in JupyterLab (development mode)
|
|
77
|
+
pip install -e .
|
|
78
|
+
jupyter labextension develop . --overwrite
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
### Starting the Development Environment
|
|
82
|
+
|
|
83
|
+
```bash
|
|
84
|
+
cd extensions/jupyter
|
|
85
|
+
jupyter lab
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
## Configuration
|
|
89
|
+
|
|
90
|
+
Configure LLM settings in `~/.jupyter/codebuff_config.json`:
|
|
91
|
+
|
|
92
|
+
```json
|
|
93
|
+
{
|
|
94
|
+
"provider": "vllm",
|
|
95
|
+
"vllm": {
|
|
96
|
+
"endpoint": "https://openrouter.ai/api/v1",
|
|
97
|
+
"apiKey": "",
|
|
98
|
+
"model": "openai/gpt-4o"
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
## Development
|
|
104
|
+
|
|
105
|
+
### Watch Mode
|
|
106
|
+
|
|
107
|
+
```bash
|
|
108
|
+
# Terminal 1: Watch TypeScript
|
|
109
|
+
yarn watch:src
|
|
110
|
+
|
|
111
|
+
# Terminal 2: Watch labextension
|
|
112
|
+
yarn watch:labextension
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
### Testing
|
|
116
|
+
|
|
117
|
+
```bash
|
|
118
|
+
# Run UI tests
|
|
119
|
+
yarn test:ui
|
|
120
|
+
|
|
121
|
+
# Run UI tests with browser visible
|
|
122
|
+
yarn test:ui:headed
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
## License
|
|
126
|
+
|
|
127
|
+
MIT
|
|
128
|
+
|
|
129
|
+
### Frontend lint
|
|
130
|
+
|
|
131
|
+
Run `jlpm lint:check` for ESLint (TypeScript/TSX under `frontend/`) and Stylelint
|
|
132
|
+
(CSS under `frontend/styles/`). `jlpm lint` runs the same checks; `jlpm lint:fix` applies automatic fixes. Generated `lib/`, labextension bundles, and dependencies are excluded.
|
|
133
|
+
|
|
134
|
+
Prettier is a separate, opt-in formatting operation: `jlpm prettier:check` reports
|
|
135
|
+
existing formatting differences and `jlpm prettier` rewrites frontend files. It
|
|
136
|
+
is intentionally outside `lint` so restoring lint does not reformat the whole UI.
|
|
137
|
+
|
|
138
|
+
The existing codebase reports unused variables, redundant escapes, ANSI regexes,
|
|
139
|
+
the disabled Athena SQL editor branch, and CSS selector ordering/duplicates as warnings. Syntax and recommended
|
|
140
|
+
correctness rules remain errors, including invalid React hook usage. Streaming
|
|
141
|
+
`while (true)` readers and empty catch blocks are allowed intentionally. ESLint
|
|
142
|
+
does not establish module reachability; that guard is tracked in issue #59.
|
|
@@ -0,0 +1,217 @@
|
|
|
1
|
+
codebuff_core/__init__.py,sha256=q1CR8wC-X1zUlJYbsQpfe-n8fLqS3wYDuPQhV6XWk5E,3174
|
|
2
|
+
codebuff_core/codebuff_config_defaults.json,sha256=rc400jrc_JZBfssS6QUOkIPwbSIMMoQb3gs8T1pz0zA,65374
|
|
3
|
+
codebuff_core/directory_policy.py,sha256=GVDzfCF0VIzp5EcBifv3X_-MsbQjjokXTkozHzVu2w0,1061
|
|
4
|
+
codebuff_core/factory.py,sha256=L0Fwh0cRgZTb20sX6uVZK6j5EHYBuEPkSqHk8a_yAdA,4746
|
|
5
|
+
codebuff_core/interfaces.py,sha256=tczRe3QaFB4UoQoxSMsplmBBMvlSnCCCpaMpQapJJFY,5308
|
|
6
|
+
codebuff_core/legacy_paths.py,sha256=31FCjO7J9lAMg04QahSMTZ2qPSBqr6iLgAoxU2E7UAw,3060
|
|
7
|
+
codebuff_core/platform_rules.py,sha256=Wb20NF3i41PCztcGpEPDFaBlbiW16IsczAjfuJRkckg,6130
|
|
8
|
+
codebuff_core/core/__init__.py,sha256=mKcqHfptdue6EbHSDai2JK5OuaYGto0BttvQBUmZJ6c,721
|
|
9
|
+
codebuff_core/core/code_validator.py,sha256=VY1oHUZ0sefhj0Bi5g1OoRab9DNatXDAUkJbdLN5Kyk,44487
|
|
10
|
+
codebuff_core/core/error_classifier.py,sha256=68n_Y0NjAjuilRSdn605yL-fxMnTQaHfBI9Q1a45-sk,22057
|
|
11
|
+
codebuff_core/core/exceptions.py,sha256=c4DYKfYhNAwsHEtLuRaJHbNh4OMbEh4kCisVLxAkM9E,1158
|
|
12
|
+
codebuff_core/data/tiktoken_cache/9b5ad71b2ce5302211f9c61530b329a4922fc6a4,sha256=Ijkht27pm96ZW3_3OFE-7xAPtR0YyTWXoRO8_-hlsqc,1681126
|
|
13
|
+
codebuff_core/knowledge/__init__.py,sha256=3p5nrKfdnL5ZJu0-BQ9x7jDIdgvQcjRwW_WZ73a2MFs,582
|
|
14
|
+
codebuff_core/knowledge/chunking.py,sha256=4wEWH3idMt235MVa88XxjcasJHUoCmWlY7N9-Lk8pGg,12968
|
|
15
|
+
codebuff_core/knowledge/loader.py,sha256=jq9hGipllb3UQeWhFnrZZwPaqpYKc3nMn80GdvsOLxg,10304
|
|
16
|
+
codebuff_core/knowledge/watchdog_service.py,sha256=nmlFRac0htPvDGzXJO4YB0xtY7_GvNfPplN6P_LpMvg,11141
|
|
17
|
+
codebuff_core/llm/__init__.py,sha256=2xJLyzI1cueXduWN8jqTaN1b-1vedkwtpY3ji516-Ic,219
|
|
18
|
+
codebuff_core/llm/service.py,sha256=3lkKOEYECzZvBkadrYs3URJilDwCS9fggQW9qLQVIMk,16073
|
|
19
|
+
codebuff_core/managers/__init__.py,sha256=O42aF18vF-zyJXkDn4XGPlZdzEBq119DFxYEZUMHhe8,420
|
|
20
|
+
codebuff_core/managers/config_manager.py,sha256=3s7zppzdPfDnkGzRYyQSlXbf1zsXEj2geERMuWq919w,29852
|
|
21
|
+
codebuff_core/managers/remote_config.py,sha256=LibA2_volYUN23tHS_YPX10rgeqNZKIIVl0ioOQVNMA,31008
|
|
22
|
+
codebuff_core/managers/remote_skills.py,sha256=YC55iMJgdI9pAOVZLP8e8uS307wviSvBXhp0QkDPRm4,23171
|
|
23
|
+
codebuff_core/managers/session_manager.py,sha256=iQRnMbvC3JD30wdieGne8CaLAOvrShJoY6cQqY4m1ek,9114
|
|
24
|
+
codebuff_core/middleware/__init__.py,sha256=_pymPkKyrojHx_TDgeivRBPwz52A3cWDNDd_0q_WZaQ,133
|
|
25
|
+
codebuff_core/middleware/error_recovery.py,sha256=k6mdlQsspmWNULolgTRYcxYQhnaCHzXw4JQTQOX7w2A,14363
|
|
26
|
+
codebuff_core/middleware/logging_utils.py,sha256=M-6FQx3aVaHNiaLiYJmPlyJjfQw7ZCvT7AnYSr26YfU,875
|
|
27
|
+
codebuff_core/models/__init__.py,sha256=h0uYFBiLLHJKxOSZyXa1GxaxacCMCtMmh0DwxkcRIQQ,2173
|
|
28
|
+
codebuff_core/models/agent.py,sha256=cXf6N8sjKGOb0DcTSkaQsuldWxRDqfRehKP6Wa1YbdE,10955
|
|
29
|
+
codebuff_core/models/chat.py,sha256=mAyPb8bK7QTNJPAbKMFCseQRO7elivTQGZ2Xk04VtNw,2214
|
|
30
|
+
codebuff_core/models/common.py,sha256=RmuqeZFJ8xLoXn9ip7zQgh7u5fRU3_UhkNiitfAInno,2499
|
|
31
|
+
codebuff_core/models/rag.py,sha256=QXk8BQFn-r6RvtstizPHyzClcCbLSKRf7St8CouoblA,10557
|
|
32
|
+
codebuff_core/prompts/__init__.py,sha256=-_tBoSIr46qAc_WxHYzlLok-xgmVYavFebGJCM-3Ziw,1065
|
|
33
|
+
codebuff_core/prompts/auto_agent_prompts.py,sha256=JGJqnF-gVjIaId9fLCSbkHKAoOoAjTHC2yyX9q7eMUQ,50255
|
|
34
|
+
codebuff_core/services/__init__.py,sha256=6sOqdBaPesn0LpC3-ldbWHACBL6Ol2B67jOMb06CvBQ,782
|
|
35
|
+
codebuff_core/services/agent_service.py,sha256=1nsSLAsTQklpcEyE0y61Q_dbl6nX_fiCbLZId6r1mFE,12395
|
|
36
|
+
codebuff_core/services/analytics_aggregate.py,sha256=5dTr8vQPfePf5Tnon-tCAprQAPaCn8_B8yP6g74kZ8g,28921
|
|
37
|
+
codebuff_core/services/chat_service.py,sha256=efR2jyBXtEPITkm1VFSlEvI0KNDA2Doff2yAtIs8asM,37908
|
|
38
|
+
codebuff_core/services/context_condenser.py,sha256=hc934ueqItlmL6ujQMznc6l6lCRrGkIyTDeGpODVvLo,9991
|
|
39
|
+
codebuff_core/services/pii_guardrail.py,sha256=ix_-WUDW-Pc5tW8xm_-YZu4wWHctSCapGNwDHav6hSI,14408
|
|
40
|
+
codebuff_core/services/rag_chat_agent.py,sha256=zTzpH9mgJUEBi-vzzU8GSpHUKMTkKhphjNY1CduL3KA,132642
|
|
41
|
+
codebuff_core/services/rag_collections.py,sha256=qguTYWo-IieDixJQi0ynASVqiHS5hSVWDoRPOwq2_bM,108081
|
|
42
|
+
codebuff_core/services/rag_manager.py,sha256=tY8mal841PxmOpTQwW6kqBlOFwU1fCz8zV1c3OwYNao,32040
|
|
43
|
+
codebuff_core/services/rag_service.py,sha256=9vL1_lSuIlJnHiaALRVSUjD0FiIcT3fG-DyRrbqDKQs,4624
|
|
44
|
+
codebuff_core/services/retriever.py,sha256=dvIdnPmC5MO0QilBabuxEP5JX0emzxfMTYBx9TMULBE,8191
|
|
45
|
+
codebuff_core/services/vllm_embedding_service.py,sha256=7bvB-w4sRvYWxz93XRqslLdIBazuIlVEt7AQdelWd2k,9784
|
|
46
|
+
codebuff_core/tests/__init__.py,sha256=S2KeXXEdBkSrqHaAVeXkDk4zaiuS-hKh0BJi9vo6oNc,28
|
|
47
|
+
codebuff_core/tests/conftest.py,sha256=jhGX1v_Y-1CT0O_wa6bFL5W3kHbx9rig8vH4uBjp5JI,2063
|
|
48
|
+
codebuff_core/tests/test_error_recovery.py,sha256=4PUtupKGqdo9d0QxDJN5g15nZ6viOEYx8Ea76Kr6nXU,24810
|
|
49
|
+
codebuff_core/tests/test_factory.py,sha256=a0vwB3cWpw8k8xHPUUu1zLeB0Qi6NQ8ZU7A8uN823TE,5459
|
|
50
|
+
codebuff_core/tests/test_services.py,sha256=WkVtlF6BBUDDlR2bHq76nKWwprHRGytoDm0oUGxq0UU,5271
|
|
51
|
+
jupyter_ext/__init__.py,sha256=kwY-P4wYM06qeW_GCh3JzthGRdanLNb1hhLiY19BAWs,9832
|
|
52
|
+
jupyter_ext/_version.py,sha256=Xq-vAxKekvXpbxmxIA7Mhly_SOSXCuCAIbmd5ZLxNVk,172
|
|
53
|
+
jupyter_ext/analytics_ingest.py,sha256=p5SOXDMisbr7f3Lt8lwI72gxsac87Tt06T0fQ4MHafE,25018
|
|
54
|
+
jupyter_ext/http_handlers.py,sha256=ys88ogPUWmpznFOLXMK5aBB0BpHSJoQeo_mhTfGyvUo,350293
|
|
55
|
+
jupyter_ext/idle_monitor.py,sha256=V8kxTpLYdoj9VqJB-tB33ugi4YSbiflC9IM1kpLwMKo,12783
|
|
56
|
+
jupyter_ext/log_paths.py,sha256=7jdWpF_uFfuagyHKKv-am_nxbl2t_Ls8K1xVBrG-eBg,3559
|
|
57
|
+
jupyter_ext/resource_usage.py,sha256=yor1jrcN3ULwDMw4pVF04BPA8Z3W1b5kPM7PUprYlXc,19459
|
|
58
|
+
jupyter_ext/secrets_bootstrap.py,sha256=SAnuacDR1vfemIOAzVj-emHD3csza8QG0hgBhfUwd_s,5528
|
|
59
|
+
jupyter_ext/team_access.py,sha256=xeoufJRm5vunNhcYbhuHXYthG8FJ15ePWwtmI1Cp6jU,3977
|
|
60
|
+
jupyter_ext/agent/__init__.py,sha256=OoXwrM5ky-azMTYAnUJWdEVQXYi5C-APfKCOMFwzAGU,1226
|
|
61
|
+
jupyter_ext/agent/agent_factory.py,sha256=SlNzMOo7nziWRLS3GKjhP1QJHkQsUtuiTQl_trbLFfs,99738
|
|
62
|
+
jupyter_ext/agent/ast_tools.py,sha256=xv4m_MrInfvCtP5UCItdRe1gBa-27SWoc2iyAoeJc68,16714
|
|
63
|
+
jupyter_ext/agent/autofix_middleware.py,sha256=-bt0cszULmRJZWSgSHRx9dLNSNkk0Dlewm_LIsGvriI,17800
|
|
64
|
+
jupyter_ext/agent/background_procs.py,sha256=sUdPJ8FmcrzQ1qSNNZ4jp1-2aZoaaXUzCU52Gx3lcBQ,13206
|
|
65
|
+
jupyter_ext/agent/code_history_middleware.py,sha256=W-rak7oGCP8cj5nsRpapmtbhwu61BYu7uE0vzQwN9SY,7755
|
|
66
|
+
jupyter_ext/agent/codex_autofix.py,sha256=nKJWMqDGlOgGzG33ZtmbVet5DZ7mzGJR5zrBioqnVvc,5912
|
|
67
|
+
jupyter_ext/agent/codex_bridge.py,sha256=Hx9R2vNn4nlbFvawpC1Oyt7165DkPpw-N22H0V2sm1A,149586
|
|
68
|
+
jupyter_ext/agent/codex_hooks.py,sha256=guqBY__J9McNkF9tF2wsj6qPfqC6bS5F6trpefyYzcM,11671
|
|
69
|
+
jupyter_ext/agent/codex_slash.py,sha256=4oMl4vpZtWM19lBqy6stKhFCQCGyHe_zgnLYFSskExw,27449
|
|
70
|
+
jupyter_ext/agent/codex_threads.py,sha256=S7wlTFK3V5nydDR--Sku8Zp4BO-Jml0eTCwFELfLUL0,3954
|
|
71
|
+
jupyter_ext/agent/content_injection.py,sha256=dRrXYpkfPKggqLj6GD67BTOcLYXI02Wu4WWppgrS8fQ,15404
|
|
72
|
+
jupyter_ext/agent/continuation_middleware.py,sha256=wu0nfyzkxuW7V2YoZNgKpDLhh0oyMu3Ybx3DPs2aO5Y,21647
|
|
73
|
+
jupyter_ext/agent/custom_skills.py,sha256=UdIGVE-x7KbFCcXNWBWJ533361MwdPQdXruJXOfdbHU,13515
|
|
74
|
+
jupyter_ext/agent/file_diffs.py,sha256=8cqlPDZwaRdZ0O-TVMGIpYWNWDhKtb6HA64K7GBlyl0,3943
|
|
75
|
+
jupyter_ext/agent/git_history.py,sha256=wAuhsM6ptd8EzFD4UP4HpMxQmqcTAMsQ2pqvFjc9ti8,7197
|
|
76
|
+
jupyter_ext/agent/guardrail_middleware.py,sha256=WDcfYe18fqrVMWtsbHM1NkyMDLRgREChMHoAfSFIHsY,15926
|
|
77
|
+
jupyter_ext/agent/json_repair_utils.py,sha256=XEjPUAyYPPdDdZjj4CcXPv5anW0OKE40W8qEfZQNnOY,1642
|
|
78
|
+
jupyter_ext/agent/langchain_tools.py,sha256=7Q-o5ntWrXH8ZIvqS46paXj4K2bDJ954rMfto3aMpwI,105502
|
|
79
|
+
jupyter_ext/agent/mermaid_fixer.py,sha256=2v2gJu9F644o_kjlD2q9OApROZbeQYtjzvxPIiN4x9c,9454
|
|
80
|
+
jupyter_ext/agent/mermaid_middleware.py,sha256=0xnCz3TDyTdDcukWALHMlOvw4ysuksFo9_h7WNvCDFY,4643
|
|
81
|
+
jupyter_ext/agent/middleware.py,sha256=rK50sK5L33BDZMrO8w3j0bwNj87FV4TQZS63VckHT8o,11721
|
|
82
|
+
jupyter_ext/agent/middleware_prompts.py,sha256=_WWtG0EqxkupuKSiuYktaOF0rNKB_f_iHqEXWqXlbd8,1765
|
|
83
|
+
jupyter_ext/agent/observability.py,sha256=V1HIFbVo3955LyF5sua-X3VCgPurej6-6BMJfkVocW0,12188
|
|
84
|
+
jupyter_ext/agent/patch_tool_calls.py,sha256=dwFj_xmpJXUCl24JzZA_kLav5sLZ1_4wZex1dfhIDU0,2294
|
|
85
|
+
jupyter_ext/agent/prompts.py,sha256=Ws-5WOHguHOJ_SrJf5M_inae8oNrFspOJfin8XeZEnE,5569
|
|
86
|
+
jupyter_ext/agent/skill_middleware.py,sha256=HBF5BP5DHU6CT4gKJ9TyRaIPRburnMJQxMbRUQGfA10,9693
|
|
87
|
+
jupyter_ext/agent/todo_prompts.py,sha256=x_57Y8tQhL91lYkDZLZKVAUNK90GfH3wSxLpIoQUrO0,2988
|
|
88
|
+
jupyter_ext/agent/tool_report.py,sha256=PiD8B9wjmKy-18JruU9YvwXPj2fej97RqVCxj4dQ0Vk,1911
|
|
89
|
+
jupyter_ext/agent/skills/airflow_dag_development.md,sha256=DTjuPfTiV_yTNQXaZwJtHXJjcroQYrZ8lZbabEjU8HY,1758
|
|
90
|
+
jupyter_ext/agent/skills/anomaly_detection.md,sha256=HD7_Ak9kK4wL1kPmaF2upEXwipRfVtoD7Wdr8zKy22I,762
|
|
91
|
+
jupyter_ext/agent/skills/athena_sql.md,sha256=xI262TMKsRdDBGHPkO6W08TMWbtfqQwzz-gH1K5qA7A,5649
|
|
92
|
+
jupyter_ext/agent/skills/bdp_table_search.md,sha256=C0eBYjDvbHWq-4UmeK78vaowO0pKdtjcFDx6ThLtPfc,2229
|
|
93
|
+
jupyter_ext/agent/skills/bigquery.md,sha256=Zas_R2pP9S-HYWOCcvKGrfNC6zWNk73v3DwLoK2rPM4,3730
|
|
94
|
+
jupyter_ext/agent/skills/bigquery_oracle.md,sha256=9xMg7hl8Eec-5QnshKZXX2ezEgPILpSmVz679wuFnYk,10705
|
|
95
|
+
jupyter_ext/agent/skills/bigquery_tuning.md,sha256=unY_m6zh6S1GzDo7-grIe8oYyU95C14bxmleDqJ-0CY,11317
|
|
96
|
+
jupyter_ext/agent/skills/classification_evaluation.md,sha256=Juc2-et6HtyxXYCv78egqAJOpV0Yx8hC34KBwFD20Dg,626
|
|
97
|
+
jupyter_ext/agent/skills/clustering_analysis.md,sha256=ww_H_PMlZ1VIeEE8K_KRd93e807Jp2Bq8qvMww8H9AE,739
|
|
98
|
+
jupyter_ext/agent/skills/comprehensive_eda.md,sha256=77NU_6OojtKZo9ERAb0xwnz9_fOSq53bIzz4BPz5NME,630
|
|
99
|
+
jupyter_ext/agent/skills/data_analysis.md,sha256=5z52NXDcYJUMqNI4JhmY1WRM07PhUeYC_VKwx5MQ7LQ,5515
|
|
100
|
+
jupyter_ext/agent/skills/data_cleaning_pipeline.md,sha256=JoTIclTVqudiHgokPlRMg7PwMiuey-oLQsUMPr2Mj-0,690
|
|
101
|
+
jupyter_ext/agent/skills/data_loading.md,sha256=_SeLX-nqW9nrx8AkF0ehgU9zpZTB-zIDnVNQU1CDYgQ,4787
|
|
102
|
+
jupyter_ext/agent/skills/data_quality_report.md,sha256=RCYJSVV3F8IkmUy72kTfxx3bdsvp6HWm5SX2zaFbLUc,847
|
|
103
|
+
jupyter_ext/agent/skills/dimensionality_reduction.md,sha256=qXom3wIAQ2SjCwaBUZAogpOhmqP3rVjv7Kh2Uiwjgqg,757
|
|
104
|
+
jupyter_ext/agent/skills/emr_script_development.md,sha256=fkLg78xY15hMIuHkqUoUmcOq3yb1DakkDH6Z93Yvh10,780
|
|
105
|
+
jupyter_ext/agent/skills/experiment_tracking.md,sha256=IumX1dqZoNcdPCANWAJqUB2U1p4lpCEpx6e6RPeONq4,810
|
|
106
|
+
jupyter_ext/agent/skills/feature_importance_analysis.md,sha256=X-rPhZYpOTzLo0UZEZc_wkNARSgehnYgBCC2CVTUWcw,548
|
|
107
|
+
jupyter_ext/agent/skills/hyperparameter_tuning.md,sha256=UVaeGu6Ws75dPd-u39f7L8Y8vdjB4VthmfA9aVEH5xo,745
|
|
108
|
+
jupyter_ext/agent/skills/hypothesis_testing.md,sha256=kCogCqZAUqxVVgsTa0gvW-xsIIS2m1BC4tkm1-p1duo,770
|
|
109
|
+
jupyter_ext/agent/skills/imbalanced_data_handling.md,sha256=yBFJbph-5PqCamS2HCG9c6U_JQhlfzATKexFckUyM9c,779
|
|
110
|
+
jupyter_ext/agent/skills/inference.md,sha256=oNuBc1JnqOn6F8xrn66fxRp4LOnL0gseGSuFUgSBVEY,9212
|
|
111
|
+
jupyter_ext/agent/skills/lambda_function_development.md,sha256=3XZkOzgCCEv2SxNAijCVDVTAf57kBwCxRsE95Hc37dw,834
|
|
112
|
+
jupyter_ext/agent/skills/model_comparison.md,sha256=CE3mP4MX_iLEv7G8PdY1x4AhbqIUA4QKh2HNHVrxh2I,646
|
|
113
|
+
jupyter_ext/agent/skills/model_explainability.md,sha256=6N6Dcy8EA_jHnsn9HW3j6OpcOTWMSUGFDvHW7bobT1A,766
|
|
114
|
+
jupyter_ext/agent/skills/model_training.md,sha256=U5z93_Rhmwjfk986QBaRmV32K9_W2vqscgACW4LiD6k,7376
|
|
115
|
+
jupyter_ext/agent/skills/pyspark.md,sha256=IaT2DvJG8wa-g2A7aFk194ZuTabaBjwPuFEGZQonz7E,9421
|
|
116
|
+
jupyter_ext/agent/skills/python_code_quality.md,sha256=FN10rBPAb3TZqxAF9IR1zQ3ZyXNLrBYUS8Vou8MZy6o,2200
|
|
117
|
+
jupyter_ext/agent/skills/regression_evaluation.md,sha256=RgwiL168nX-zRm3FIg7bsJgvNGXgZ33x9nrboAyNvWs,707
|
|
118
|
+
jupyter_ext/agent/skills/spring_java_development.md,sha256=J-TkWnd4zKW2kT2I7Kywbmt8cBeHN4EwFPkf2pL1R6k,1722
|
|
119
|
+
jupyter_ext/agent/skills/text_preprocessing.md,sha256=m7WzBogGmHYZ4vUXgxbsLq-KCcNJjc0l2O-G443e0ms,742
|
|
120
|
+
jupyter_ext/agent/skills/time_series_analysis.md,sha256=1OjPH5hITkm9qh_83Zzi7U3HwlnzpqeQWvDMatMFbZk,767
|
|
121
|
+
jupyter_ext/agent/skills/unit_testing.md,sha256=VzyF0CJrpg4zBPgIb2at4eLUa9nGzSPqK2djVki5f_I,5484
|
|
122
|
+
jupyter_ext/etc/jupyter/jupyter_server_config.d/codebuff_agent.json,sha256=KXCyKfoeM1OxdPWa0wL2plndcqJkQ7ke3UaF0tJpMW0,86
|
|
123
|
+
jupyter_ext/handlers/__init__.py,sha256=ZhXV6pFAmDoAK_5F_IpENyAqPlGDRVzb4CUrxt6Wvig,207
|
|
124
|
+
jupyter_ext/handlers/analytics_handler.py,sha256=rx5gnFXuXFnBx39yBFSiTOYvmU-vGu_FN5d32fEQN5A,5630
|
|
125
|
+
jupyter_ext/handlers/benchmark_handler.py,sha256=vhKZlbWc4r0SNNGsFG0IjodoFqO1dwSY0pg4_WW-yEE,30877
|
|
126
|
+
jupyter_ext/handlers/eda_benchmark_handler.py,sha256=z6tpzQnNlmntp-W4MqwqqHvUZ-UG5HvNpU4wq5Mij5o,55809
|
|
127
|
+
jupyter_ext/handlers/rag_admin_handler.py,sha256=Zyd3NZ2dbK37ygpYTrwLZRRl8E12jD_VeebyL0oxZEw,22979
|
|
128
|
+
jupyter_ext/handlers/websocket.py,sha256=jGJFRi_Url5RzBqRWvH72fXPP0ekb-WrQVx2xqTm-Pc,16604
|
|
129
|
+
jupyter_ext/labextension/package.json,sha256=9M73lI-tLJa71_9HjTaRYbIwM-7e4_qAMKzyjFpYvR4,5269
|
|
130
|
+
jupyter_ext/labextension/static/104.2b8f20f9d1ac2c9db01b.js,sha256=K48g-dGsLJ2wG8WShDvJM70t_eKVgphToQ4kW7jENdo,85440
|
|
131
|
+
jupyter_ext/labextension/static/150.39fa98117cc8ca590465.js,sha256=OfqYEXzIylkEZcDpf00GLZ8D2tp-AMvyFwvhC8vS0jY,96889
|
|
132
|
+
jupyter_ext/labextension/static/166.386ff9b2c37ac865fdee.js,sha256=OG_5ssN6yGX97ihImIjeu0ictpfioowYcR9Ay3qyC8o,78037
|
|
133
|
+
jupyter_ext/labextension/static/216.25cf81131bf7274dabf4.js,sha256=Jc-BExv3J02r9DIqXeLxUTnzO57aDdX_GkmcvXWYpw4,293096
|
|
134
|
+
jupyter_ext/labextension/static/353.581bd1cb00746399b62e.js,sha256=WBvRywB0Y5m2Li0E6i184sCcKBi_rVXSDJ2cjTCpmZo,28894
|
|
135
|
+
jupyter_ext/labextension/static/367.575f9621b63c9a641aa9.js,sha256=V1-WIbY8mmQaqaP99vIxQUsz77L2DTFp0UUYGgdg-rA,39717
|
|
136
|
+
jupyter_ext/labextension/static/421.11dac223a2c2da1b09f5.js,sha256=EdrCI6LC2hsJ9e4JHW5s1GRClkmWZRw54TCbnEZayms,28308
|
|
137
|
+
jupyter_ext/labextension/static/432.8513b4c6cc1d1232d165.js,sha256=HEyF4M9te0toyfM9T8nAmiGVArAFCtIJKoN7Aumo15A,44900
|
|
138
|
+
jupyter_ext/labextension/static/432.8513b4c6cc1d1232d165.js.LICENSE.txt,sha256=mlhymahwls4499g-vGLVU9Lxqw3zTOvv42ZLrJkGXbM,488
|
|
139
|
+
jupyter_ext/labextension/static/439.ba5b5ef70ec6de214b8c.js,sha256=jvm4vHxAXO-fZoVqZqnx4qUuz-23MdavPCVB2zdHr5c,7497
|
|
140
|
+
jupyter_ext/labextension/static/439.ba5b5ef70ec6de214b8c.js.LICENSE.txt,sha256=lqUlGHhVY3z3mcV-sTwREZRm1KQ7maSiV6-Gm8RSQNY,246
|
|
141
|
+
jupyter_ext/labextension/static/481.cc2dec9fa869d66f1407.js,sha256=zC3sn6hp1m8UBx3gqzUz-02FaorPolqH7yKeK_ofIEg,23159
|
|
142
|
+
jupyter_ext/labextension/static/487.0796e931d6e651482c14.js,sha256=B5bpMdbmUUgsFL7SCWiFcY9EYp2MQsWSysVsPCqCZzE,11375
|
|
143
|
+
jupyter_ext/labextension/static/49.d326f554b6f9ccde6580.js,sha256=0yb1VLb5zN5lgFN8HZpkBbuBaQUeuJe7U5Ec-0qebY0,37796
|
|
144
|
+
jupyter_ext/labextension/static/541.26897ea32845659e36be.js,sha256=Jol-oyhFZZ42vnZ77jbyuK4hjnaapFuZ7cqPCvQZunQ,38687
|
|
145
|
+
jupyter_ext/labextension/static/579.e569d3edd8391fd8fbb3.js,sha256=5WnT7dg5H9j7s4F_ClN-n4Ytkb5YNGBqy4AbkM_YfoQ,224538
|
|
146
|
+
jupyter_ext/labextension/static/58.eb7cc679f7535cc8a2f1.js,sha256=gdv-HEOQWn46_6fkKzIqx26GrfKOa62aodnM1trD5nU,8080
|
|
147
|
+
jupyter_ext/labextension/static/58.eb7cc679f7535cc8a2f1.js.LICENSE.txt,sha256=lqUlGHhVY3z3mcV-sTwREZRm1KQ7maSiV6-Gm8RSQNY,246
|
|
148
|
+
jupyter_ext/labextension/static/666.d9bfdb23f98489d0a188.js,sha256=2b_bI_mEidChiCaENfxTQtkswntodquGofjBXhN8--g,9718
|
|
149
|
+
jupyter_ext/labextension/static/677.d266c39dbed33bc388b3.js,sha256=5p_TSXMsQ26sJcaw40hTChjum9MCOguSwMPR6wRqTE8,11523
|
|
150
|
+
jupyter_ext/labextension/static/677.d266c39dbed33bc388b3.js.LICENSE.txt,sha256=lqUlGHhVY3z3mcV-sTwREZRm1KQ7maSiV6-Gm8RSQNY,246
|
|
151
|
+
jupyter_ext/labextension/static/68.26b6f59c8454adb17f20.js,sha256=Jrb1nIRUrbF_IEXU7CJRLbiRG9uNVBTOcPpYVYyD0t8,484028
|
|
152
|
+
jupyter_ext/labextension/static/694.4ac443814260057e68f7.js,sha256=SsRDgUJgBX5o98HKXvTxq_CdthRbq2orFqoNRGSIocs,4965
|
|
153
|
+
jupyter_ext/labextension/static/791.61affb8d3480d3d60e0d.js,sha256=Ya_7jTSA09YODTu_6XzWGg-lkFbu5vxS6KAgD81lpSo,19568
|
|
154
|
+
jupyter_ext/labextension/static/848.4d2db09cfbb09374b299.js,sha256=78hdAzQiIZb7QmBasXhoGx3Wd27r_FpaofP9MRCkzx4,779
|
|
155
|
+
jupyter_ext/labextension/static/848.4d2db09cfbb09374b299.js.LICENSE.txt,sha256=eNJ8gc9n9IF8nW1d9sI9niuHstYzjNz5vqXx9UgWSPc,249
|
|
156
|
+
jupyter_ext/labextension/static/868.5cfe7e1a348ec5af1b8c.js,sha256=XP5-GjSOxa8bjNK9wNbZQqz14rF2h8P0J3LsRwC5o10,7933
|
|
157
|
+
jupyter_ext/labextension/static/97.ea559a5b8a9a09f17c6b.js,sha256=6lWaW4qaCfF8a2qyxXwwcjlJ3PKHyMCsz0X_xo2VBZQ,474104
|
|
158
|
+
jupyter_ext/labextension/static/remoteEntry.5292fc9c6df7e7920cc8.js,sha256=UpL8nG3355IMyJZHEIJaIpLKftwt9G_jtuG7pkyWkFM,13010
|
|
159
|
+
jupyter_ext/labextension/static/style.js,sha256=MorHEvkG0Oe-uZ7t7oFa5X01nqPLFSwlC2attA72Jr8,161
|
|
160
|
+
jupyter_ext/labextension/static/third-party-licenses.json,sha256=hDzaE-IxwsRSppkFdbGTYYlOAEuRfHQt_5e58_Ydo50,151873
|
|
161
|
+
jupyter_ext/tests/__init__.py,sha256=JuO3lX7V7YfonXc_fuVQmxJcKklSq4orTEcdOuZrX8g,37
|
|
162
|
+
jupyter_ext/tests/test_context.py,sha256=zk1tcPHDKDTXoWKECeaChnJTX5K6_28dKUoao1QXojk,8347
|
|
163
|
+
jupyter_ext/tests/test_factory.py,sha256=ZwHc6_PFJYHe8xeMdbfnxBygjXm7Os8_Kc4KUdkIVHY,19601
|
|
164
|
+
jupyter_ext/tests/test_file_finder.py,sha256=jfHAJZwBUJZYbXt75WvPkXVJt7tuaulu6v_dlNbnoak,4578
|
|
165
|
+
jupyter_ext/tests/test_handlers.py,sha256=SAt-WFOF0K0M8yWv4YIfltioBfradGT-3yZ4YBdBRcI,2082
|
|
166
|
+
jupyter_ext/tests/test_mcp_selftest.py,sha256=kkS14F3hBxmAEa5XPC6th-4F5wikwIMCVTarrkqBnOw,6937
|
|
167
|
+
jupyter_ext/tests/test_mermaid_fixer.py,sha256=U_DV9YDD31ZdSDNo6eutW6XRZXwqVEX54B3KUEoDIpE,7942
|
|
168
|
+
jupyter_ext/tests/test_resource_tiers.py,sha256=lAcsCEZMGUwlH8r1MXjvVNtwQNnX4oYvCVqmOpOhe80,10704
|
|
169
|
+
jupyter_ext/tools/__init__.py,sha256=0b7_B3qJzTNuYyamYi39K_V-EaJPFKgXaLZHNOMvS08,350
|
|
170
|
+
jupyter_ext/tools/base.py,sha256=X8KrdH-TksxzHUDn8q6kigEWORDxNyYCg-HbzjE2Ri0,2101
|
|
171
|
+
jupyter_ext/tools/context.py,sha256=5aGwWmWWtZD5TwGy_2HOLkSi9ub3nF3OQfhxlohdhHw,8377
|
|
172
|
+
jupyter_ext/tools/dir_complete.py,sha256=uiw1m0R_MxlIknP3JutxTAehBUR6qbbn59KJLc3bsxg,3018
|
|
173
|
+
jupyter_ext/tools/file_finder.py,sha256=iWVnSnP0eH435dv12OWJheQF4o509ZHVlJHxGl2gXKs,10261
|
|
174
|
+
jupyter_ext/tools/file_tools.py,sha256=xBG7ZurP5ZfXp7cljW6uFA6X0MZpnpI0nHmRbr7NQcI,7857
|
|
175
|
+
jupyter_ext/tools/jupyter_tools.py,sha256=YcGpFCTlMI5zFsrLYQ_f5UtH4gXXeSrV5WKmfUZ8390,10664
|
|
176
|
+
jupyter_ext/tools/registry.py,sha256=7HRMbNqUVD2l_-TA55Z69mEIs04d2SHOdr3oH7HG9TU,5170
|
|
177
|
+
jupyter_ext/tools/search_tools.py,sha256=OZH3L-6LkcBKiQrtQqxWoSdDH0YUg2d9a2y5nQ-oQ3A,7558
|
|
178
|
+
jupyter_ext/tools/security_tools.py,sha256=o-POr5BewXieuRJKli8kNC2KSLJos2GQb-70y_UHpVo,23556
|
|
179
|
+
jupyter_ext/tools/shell_tools.py,sha256=lD57Vzqof81MXeLWUH6TqsjiyU_z1aY5Uj1riRFz_zU,3537
|
|
180
|
+
jupyter_ext/tools/user_tools.py,sha256=xDsSBavDn7yc1iw71q0JnfMb7h_t35hcdQUlZPsNFSQ,4544
|
|
181
|
+
codebuff_agent-2.1.74.data/data/etc/jupyter/jupyter_server_config.d/codebuff_agent.json,sha256=KXCyKfoeM1OxdPWa0wL2plndcqJkQ7ke3UaF0tJpMW0,86
|
|
182
|
+
codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/package.json,sha256=9M73lI-tLJa71_9HjTaRYbIwM-7e4_qAMKzyjFpYvR4,5269
|
|
183
|
+
codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/104.2b8f20f9d1ac2c9db01b.js,sha256=K48g-dGsLJ2wG8WShDvJM70t_eKVgphToQ4kW7jENdo,85440
|
|
184
|
+
codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/150.39fa98117cc8ca590465.js,sha256=OfqYEXzIylkEZcDpf00GLZ8D2tp-AMvyFwvhC8vS0jY,96889
|
|
185
|
+
codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/166.386ff9b2c37ac865fdee.js,sha256=OG_5ssN6yGX97ihImIjeu0ictpfioowYcR9Ay3qyC8o,78037
|
|
186
|
+
codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/216.25cf81131bf7274dabf4.js,sha256=Jc-BExv3J02r9DIqXeLxUTnzO57aDdX_GkmcvXWYpw4,293096
|
|
187
|
+
codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/353.581bd1cb00746399b62e.js,sha256=WBvRywB0Y5m2Li0E6i184sCcKBi_rVXSDJ2cjTCpmZo,28894
|
|
188
|
+
codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/367.575f9621b63c9a641aa9.js,sha256=V1-WIbY8mmQaqaP99vIxQUsz77L2DTFp0UUYGgdg-rA,39717
|
|
189
|
+
codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/421.11dac223a2c2da1b09f5.js,sha256=EdrCI6LC2hsJ9e4JHW5s1GRClkmWZRw54TCbnEZayms,28308
|
|
190
|
+
codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/432.8513b4c6cc1d1232d165.js,sha256=HEyF4M9te0toyfM9T8nAmiGVArAFCtIJKoN7Aumo15A,44900
|
|
191
|
+
codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/432.8513b4c6cc1d1232d165.js.LICENSE.txt,sha256=mlhymahwls4499g-vGLVU9Lxqw3zTOvv42ZLrJkGXbM,488
|
|
192
|
+
codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/439.ba5b5ef70ec6de214b8c.js,sha256=jvm4vHxAXO-fZoVqZqnx4qUuz-23MdavPCVB2zdHr5c,7497
|
|
193
|
+
codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/439.ba5b5ef70ec6de214b8c.js.LICENSE.txt,sha256=lqUlGHhVY3z3mcV-sTwREZRm1KQ7maSiV6-Gm8RSQNY,246
|
|
194
|
+
codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/481.cc2dec9fa869d66f1407.js,sha256=zC3sn6hp1m8UBx3gqzUz-02FaorPolqH7yKeK_ofIEg,23159
|
|
195
|
+
codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/487.0796e931d6e651482c14.js,sha256=B5bpMdbmUUgsFL7SCWiFcY9EYp2MQsWSysVsPCqCZzE,11375
|
|
196
|
+
codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/49.d326f554b6f9ccde6580.js,sha256=0yb1VLb5zN5lgFN8HZpkBbuBaQUeuJe7U5Ec-0qebY0,37796
|
|
197
|
+
codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/541.26897ea32845659e36be.js,sha256=Jol-oyhFZZ42vnZ77jbyuK4hjnaapFuZ7cqPCvQZunQ,38687
|
|
198
|
+
codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/579.e569d3edd8391fd8fbb3.js,sha256=5WnT7dg5H9j7s4F_ClN-n4Ytkb5YNGBqy4AbkM_YfoQ,224538
|
|
199
|
+
codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/58.eb7cc679f7535cc8a2f1.js,sha256=gdv-HEOQWn46_6fkKzIqx26GrfKOa62aodnM1trD5nU,8080
|
|
200
|
+
codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/58.eb7cc679f7535cc8a2f1.js.LICENSE.txt,sha256=lqUlGHhVY3z3mcV-sTwREZRm1KQ7maSiV6-Gm8RSQNY,246
|
|
201
|
+
codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/666.d9bfdb23f98489d0a188.js,sha256=2b_bI_mEidChiCaENfxTQtkswntodquGofjBXhN8--g,9718
|
|
202
|
+
codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/677.d266c39dbed33bc388b3.js,sha256=5p_TSXMsQ26sJcaw40hTChjum9MCOguSwMPR6wRqTE8,11523
|
|
203
|
+
codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/677.d266c39dbed33bc388b3.js.LICENSE.txt,sha256=lqUlGHhVY3z3mcV-sTwREZRm1KQ7maSiV6-Gm8RSQNY,246
|
|
204
|
+
codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/68.26b6f59c8454adb17f20.js,sha256=Jrb1nIRUrbF_IEXU7CJRLbiRG9uNVBTOcPpYVYyD0t8,484028
|
|
205
|
+
codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/694.4ac443814260057e68f7.js,sha256=SsRDgUJgBX5o98HKXvTxq_CdthRbq2orFqoNRGSIocs,4965
|
|
206
|
+
codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/791.61affb8d3480d3d60e0d.js,sha256=Ya_7jTSA09YODTu_6XzWGg-lkFbu5vxS6KAgD81lpSo,19568
|
|
207
|
+
codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/848.4d2db09cfbb09374b299.js,sha256=78hdAzQiIZb7QmBasXhoGx3Wd27r_FpaofP9MRCkzx4,779
|
|
208
|
+
codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/848.4d2db09cfbb09374b299.js.LICENSE.txt,sha256=eNJ8gc9n9IF8nW1d9sI9niuHstYzjNz5vqXx9UgWSPc,249
|
|
209
|
+
codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/868.5cfe7e1a348ec5af1b8c.js,sha256=XP5-GjSOxa8bjNK9wNbZQqz14rF2h8P0J3LsRwC5o10,7933
|
|
210
|
+
codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/97.ea559a5b8a9a09f17c6b.js,sha256=6lWaW4qaCfF8a2qyxXwwcjlJ3PKHyMCsz0X_xo2VBZQ,474104
|
|
211
|
+
codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/remoteEntry.5292fc9c6df7e7920cc8.js,sha256=UpL8nG3355IMyJZHEIJaIpLKftwt9G_jtuG7pkyWkFM,13010
|
|
212
|
+
codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/style.js,sha256=MorHEvkG0Oe-uZ7t7oFa5X01nqPLFSwlC2attA72Jr8,161
|
|
213
|
+
codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/third-party-licenses.json,sha256=hDzaE-IxwsRSppkFdbGTYYlOAEuRfHQt_5e58_Ydo50,151873
|
|
214
|
+
codebuff_agent-2.1.74.dist-info/METADATA,sha256=18jz0pKTlvAO4J_tyk-WhqwVVOVDJwOtzo2TT6c0neE,4352
|
|
215
|
+
codebuff_agent-2.1.74.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
|
|
216
|
+
codebuff_agent-2.1.74.dist-info/licenses/LICENSE,sha256=LZnhgcr8NXVgC4ewcnNjWlYahaIS_KLMxKWDCZkHpQo,1061
|
|
217
|
+
codebuff_agent-2.1.74.dist-info/RECORD,,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024 HDSP
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Codebuff Core - Shared Core Library
|
|
3
|
+
|
|
4
|
+
Embedded Agent Server Architecture를 위한 공유 코어 라이브러리.
|
|
5
|
+
Jupyter 서버 확장에 임베디드로 실행되는 에이전트가 쓰는 공통 컴포넌트.
|
|
6
|
+
|
|
7
|
+
Modules:
|
|
8
|
+
- models: Pydantic data models (agent, chat, common, rag)
|
|
9
|
+
- managers: Singleton managers (config, session, rag)
|
|
10
|
+
- llm: LLM service abstraction (multi-provider support)
|
|
11
|
+
- knowledge: Knowledge base and document chunking
|
|
12
|
+
- prompts: Prompt templates for Auto-Agent
|
|
13
|
+
"""
|
|
14
|
+
|
|
15
|
+
__version__ = "1.0.0"
|
|
16
|
+
|
|
17
|
+
# Models
|
|
18
|
+
# Knowledge
|
|
19
|
+
from codebuff_core.knowledge import (
|
|
20
|
+
LIBRARY_DESCRIPTIONS,
|
|
21
|
+
DocumentChunker,
|
|
22
|
+
KnowledgeBase,
|
|
23
|
+
KnowledgeLoader,
|
|
24
|
+
LibraryDetector,
|
|
25
|
+
chunk_file,
|
|
26
|
+
get_knowledge_base,
|
|
27
|
+
get_knowledge_loader,
|
|
28
|
+
get_library_detector,
|
|
29
|
+
)
|
|
30
|
+
|
|
31
|
+
# LLM
|
|
32
|
+
from codebuff_core.llm import (
|
|
33
|
+
LLMService,
|
|
34
|
+
call_llm,
|
|
35
|
+
call_llm_stream,
|
|
36
|
+
)
|
|
37
|
+
|
|
38
|
+
# Managers
|
|
39
|
+
from codebuff_core.managers import (
|
|
40
|
+
ConfigManager,
|
|
41
|
+
SessionManager,
|
|
42
|
+
get_config_manager,
|
|
43
|
+
get_session_manager,
|
|
44
|
+
)
|
|
45
|
+
from codebuff_core.models import (
|
|
46
|
+
# Common
|
|
47
|
+
APIResponse,
|
|
48
|
+
# Chat
|
|
49
|
+
ChatRequest,
|
|
50
|
+
ChatResponse,
|
|
51
|
+
# RAG
|
|
52
|
+
ChunkingConfig,
|
|
53
|
+
EmbeddingConfig,
|
|
54
|
+
ErrorInfo,
|
|
55
|
+
# Agent
|
|
56
|
+
ExecutionPlan,
|
|
57
|
+
IndexStatusResponse,
|
|
58
|
+
LLMConfig,
|
|
59
|
+
NotebookContext,
|
|
60
|
+
PlanRequest,
|
|
61
|
+
PlanResponse,
|
|
62
|
+
PlanStep,
|
|
63
|
+
QdrantConfig,
|
|
64
|
+
RAGConfig,
|
|
65
|
+
RefineRequest,
|
|
66
|
+
RefineResponse,
|
|
67
|
+
ReindexRequest,
|
|
68
|
+
ReindexResponse,
|
|
69
|
+
ReplanRequest,
|
|
70
|
+
ReplanResponse,
|
|
71
|
+
SearchRequest,
|
|
72
|
+
SearchResponse,
|
|
73
|
+
StreamChunk,
|
|
74
|
+
ToolCall,
|
|
75
|
+
ValidationIssue,
|
|
76
|
+
VLLMConfig,
|
|
77
|
+
WatchdogConfig,
|
|
78
|
+
)
|
|
79
|
+
|
|
80
|
+
# Prompts
|
|
81
|
+
from codebuff_core.prompts import (
|
|
82
|
+
ADAPTIVE_REPLAN_PROMPT,
|
|
83
|
+
CODE_GENERATION_PROMPT,
|
|
84
|
+
ERROR_REFINEMENT_PROMPT,
|
|
85
|
+
PLAN_GENERATION_PROMPT,
|
|
86
|
+
format_plan_prompt,
|
|
87
|
+
format_refine_prompt,
|
|
88
|
+
format_replan_prompt,
|
|
89
|
+
)
|
|
90
|
+
|
|
91
|
+
__all__ = [
|
|
92
|
+
# Version
|
|
93
|
+
"__version__",
|
|
94
|
+
# Models - Common
|
|
95
|
+
"APIResponse",
|
|
96
|
+
"ErrorInfo",
|
|
97
|
+
"LLMConfig",
|
|
98
|
+
"NotebookContext",
|
|
99
|
+
"ToolCall",
|
|
100
|
+
"VLLMConfig",
|
|
101
|
+
# Models - Agent
|
|
102
|
+
"ExecutionPlan",
|
|
103
|
+
"PlanRequest",
|
|
104
|
+
"PlanResponse",
|
|
105
|
+
"PlanStep",
|
|
106
|
+
"RefineRequest",
|
|
107
|
+
"RefineResponse",
|
|
108
|
+
"ReplanRequest",
|
|
109
|
+
"ReplanResponse",
|
|
110
|
+
"ValidationIssue",
|
|
111
|
+
# Models - Chat
|
|
112
|
+
"ChatRequest",
|
|
113
|
+
"ChatResponse",
|
|
114
|
+
"StreamChunk",
|
|
115
|
+
# Models - RAG
|
|
116
|
+
"ChunkingConfig",
|
|
117
|
+
"EmbeddingConfig",
|
|
118
|
+
"IndexStatusResponse",
|
|
119
|
+
"QdrantConfig",
|
|
120
|
+
"RAGConfig",
|
|
121
|
+
"ReindexRequest",
|
|
122
|
+
"ReindexResponse",
|
|
123
|
+
"SearchRequest",
|
|
124
|
+
"SearchResponse",
|
|
125
|
+
"WatchdogConfig",
|
|
126
|
+
# Managers
|
|
127
|
+
"ConfigManager",
|
|
128
|
+
"SessionManager",
|
|
129
|
+
"get_config_manager",
|
|
130
|
+
"get_session_manager",
|
|
131
|
+
# LLM
|
|
132
|
+
"LLMService",
|
|
133
|
+
"call_llm",
|
|
134
|
+
"call_llm_stream",
|
|
135
|
+
# Knowledge
|
|
136
|
+
"DocumentChunker",
|
|
137
|
+
"KnowledgeBase",
|
|
138
|
+
"KnowledgeLoader",
|
|
139
|
+
"LibraryDetector",
|
|
140
|
+
"chunk_file",
|
|
141
|
+
"get_knowledge_base",
|
|
142
|
+
"get_knowledge_loader",
|
|
143
|
+
"get_library_detector",
|
|
144
|
+
"LIBRARY_DESCRIPTIONS",
|
|
145
|
+
# Prompts
|
|
146
|
+
"PLAN_GENERATION_PROMPT",
|
|
147
|
+
"CODE_GENERATION_PROMPT",
|
|
148
|
+
"ERROR_REFINEMENT_PROMPT",
|
|
149
|
+
"ADAPTIVE_REPLAN_PROMPT",
|
|
150
|
+
"format_plan_prompt",
|
|
151
|
+
"format_refine_prompt",
|
|
152
|
+
"format_replan_prompt",
|
|
153
|
+
]
|