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.
Files changed (217) hide show
  1. codebuff_agent-2.1.74.data/data/etc/jupyter/jupyter_server_config.d/codebuff_agent.json +7 -0
  2. codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/package.json +157 -0
  3. codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/104.2b8f20f9d1ac2c9db01b.js +1 -0
  4. codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/150.39fa98117cc8ca590465.js +1 -0
  5. codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/166.386ff9b2c37ac865fdee.js +1 -0
  6. codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/216.25cf81131bf7274dabf4.js +1 -0
  7. codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/353.581bd1cb00746399b62e.js +1 -0
  8. codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/367.575f9621b63c9a641aa9.js +1 -0
  9. codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/421.11dac223a2c2da1b09f5.js +1 -0
  10. codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/432.8513b4c6cc1d1232d165.js +2 -0
  11. codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/432.8513b4c6cc1d1232d165.js.LICENSE.txt +19 -0
  12. codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/439.ba5b5ef70ec6de214b8c.js +2 -0
  13. codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/439.ba5b5ef70ec6de214b8c.js.LICENSE.txt +8 -0
  14. codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/481.cc2dec9fa869d66f1407.js +1 -0
  15. codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/487.0796e931d6e651482c14.js +1 -0
  16. codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/49.d326f554b6f9ccde6580.js +1 -0
  17. codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/541.26897ea32845659e36be.js +1 -0
  18. codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/579.e569d3edd8391fd8fbb3.js +1 -0
  19. codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/58.eb7cc679f7535cc8a2f1.js +2 -0
  20. codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/58.eb7cc679f7535cc8a2f1.js.LICENSE.txt +8 -0
  21. codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/666.d9bfdb23f98489d0a188.js +1 -0
  22. codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/677.d266c39dbed33bc388b3.js +2 -0
  23. codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/677.d266c39dbed33bc388b3.js.LICENSE.txt +8 -0
  24. codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/68.26b6f59c8454adb17f20.js +204 -0
  25. codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/694.4ac443814260057e68f7.js +1 -0
  26. codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/791.61affb8d3480d3d60e0d.js +1 -0
  27. codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/848.4d2db09cfbb09374b299.js +2 -0
  28. codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/848.4d2db09cfbb09374b299.js.LICENSE.txt +9 -0
  29. codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/868.5cfe7e1a348ec5af1b8c.js +1 -0
  30. codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/97.ea559a5b8a9a09f17c6b.js +1 -0
  31. codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/remoteEntry.5292fc9c6df7e7920cc8.js +1 -0
  32. codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/style.js +4 -0
  33. codebuff_agent-2.1.74.data/data/share/jupyter/labextensions/codebuff/static/third-party-licenses.json +724 -0
  34. codebuff_agent-2.1.74.dist-info/METADATA +142 -0
  35. codebuff_agent-2.1.74.dist-info/RECORD +217 -0
  36. codebuff_agent-2.1.74.dist-info/WHEEL +4 -0
  37. codebuff_agent-2.1.74.dist-info/licenses/LICENSE +21 -0
  38. codebuff_core/__init__.py +153 -0
  39. codebuff_core/codebuff_config_defaults.json +64 -0
  40. codebuff_core/core/__init__.py +35 -0
  41. codebuff_core/core/code_validator.py +1238 -0
  42. codebuff_core/core/error_classifier.py +579 -0
  43. codebuff_core/core/exceptions.py +49 -0
  44. codebuff_core/data/tiktoken_cache/9b5ad71b2ce5302211f9c61530b329a4922fc6a4 +100256 -0
  45. codebuff_core/directory_policy.py +32 -0
  46. codebuff_core/factory.py +155 -0
  47. codebuff_core/interfaces.py +197 -0
  48. codebuff_core/knowledge/__init__.py +31 -0
  49. codebuff_core/knowledge/chunking.py +375 -0
  50. codebuff_core/knowledge/loader.py +339 -0
  51. codebuff_core/knowledge/watchdog_service.py +354 -0
  52. codebuff_core/legacy_paths.py +69 -0
  53. codebuff_core/llm/__init__.py +13 -0
  54. codebuff_core/llm/service.py +407 -0
  55. codebuff_core/managers/__init__.py +22 -0
  56. codebuff_core/managers/config_manager.py +690 -0
  57. codebuff_core/managers/remote_config.py +673 -0
  58. codebuff_core/managers/remote_skills.py +539 -0
  59. codebuff_core/managers/session_manager.py +255 -0
  60. codebuff_core/middleware/__init__.py +3 -0
  61. codebuff_core/middleware/error_recovery.py +394 -0
  62. codebuff_core/middleware/logging_utils.py +33 -0
  63. codebuff_core/models/__init__.py +111 -0
  64. codebuff_core/models/agent.py +306 -0
  65. codebuff_core/models/chat.py +57 -0
  66. codebuff_core/models/common.py +82 -0
  67. codebuff_core/models/rag.py +300 -0
  68. codebuff_core/platform_rules.py +127 -0
  69. codebuff_core/prompts/__init__.py +44 -0
  70. codebuff_core/prompts/auto_agent_prompts.py +1278 -0
  71. codebuff_core/services/__init__.py +30 -0
  72. codebuff_core/services/agent_service.py +345 -0
  73. codebuff_core/services/analytics_aggregate.py +837 -0
  74. codebuff_core/services/chat_service.py +898 -0
  75. codebuff_core/services/context_condenser.py +306 -0
  76. codebuff_core/services/pii_guardrail.py +393 -0
  77. codebuff_core/services/rag_chat_agent.py +2993 -0
  78. codebuff_core/services/rag_collections.py +2740 -0
  79. codebuff_core/services/rag_manager.py +890 -0
  80. codebuff_core/services/rag_service.py +145 -0
  81. codebuff_core/services/retriever.py +260 -0
  82. codebuff_core/services/vllm_embedding_service.py +290 -0
  83. codebuff_core/tests/__init__.py +1 -0
  84. codebuff_core/tests/conftest.py +81 -0
  85. codebuff_core/tests/test_error_recovery.py +647 -0
  86. codebuff_core/tests/test_factory.py +135 -0
  87. codebuff_core/tests/test_services.py +150 -0
  88. jupyter_ext/__init__.py +266 -0
  89. jupyter_ext/_version.py +4 -0
  90. jupyter_ext/agent/__init__.py +49 -0
  91. jupyter_ext/agent/agent_factory.py +2270 -0
  92. jupyter_ext/agent/ast_tools.py +451 -0
  93. jupyter_ext/agent/autofix_middleware.py +481 -0
  94. jupyter_ext/agent/background_procs.py +372 -0
  95. jupyter_ext/agent/code_history_middleware.py +211 -0
  96. jupyter_ext/agent/codex_autofix.py +160 -0
  97. jupyter_ext/agent/codex_bridge.py +3339 -0
  98. jupyter_ext/agent/codex_hooks.py +320 -0
  99. jupyter_ext/agent/codex_slash.py +685 -0
  100. jupyter_ext/agent/codex_threads.py +114 -0
  101. jupyter_ext/agent/content_injection.py +377 -0
  102. jupyter_ext/agent/continuation_middleware.py +548 -0
  103. jupyter_ext/agent/custom_skills.py +335 -0
  104. jupyter_ext/agent/file_diffs.py +99 -0
  105. jupyter_ext/agent/git_history.py +188 -0
  106. jupyter_ext/agent/guardrail_middleware.py +421 -0
  107. jupyter_ext/agent/json_repair_utils.py +54 -0
  108. jupyter_ext/agent/langchain_tools.py +2673 -0
  109. jupyter_ext/agent/mermaid_fixer.py +289 -0
  110. jupyter_ext/agent/mermaid_middleware.py +135 -0
  111. jupyter_ext/agent/middleware.py +359 -0
  112. jupyter_ext/agent/middleware_prompts.py +53 -0
  113. jupyter_ext/agent/observability.py +334 -0
  114. jupyter_ext/agent/patch_tool_calls.py +57 -0
  115. jupyter_ext/agent/prompts.py +112 -0
  116. jupyter_ext/agent/skill_middleware.py +257 -0
  117. jupyter_ext/agent/skills/airflow_dag_development.md +36 -0
  118. jupyter_ext/agent/skills/anomaly_detection.md +12 -0
  119. jupyter_ext/agent/skills/athena_sql.md +156 -0
  120. jupyter_ext/agent/skills/bdp_table_search.md +33 -0
  121. jupyter_ext/agent/skills/bigquery.md +65 -0
  122. jupyter_ext/agent/skills/bigquery_oracle.md +231 -0
  123. jupyter_ext/agent/skills/bigquery_tuning.md +307 -0
  124. jupyter_ext/agent/skills/classification_evaluation.md +11 -0
  125. jupyter_ext/agent/skills/clustering_analysis.md +12 -0
  126. jupyter_ext/agent/skills/comprehensive_eda.md +11 -0
  127. jupyter_ext/agent/skills/data_analysis.md +236 -0
  128. jupyter_ext/agent/skills/data_cleaning_pipeline.md +12 -0
  129. jupyter_ext/agent/skills/data_loading.md +158 -0
  130. jupyter_ext/agent/skills/data_quality_report.md +13 -0
  131. jupyter_ext/agent/skills/dimensionality_reduction.md +12 -0
  132. jupyter_ext/agent/skills/emr_script_development.md +17 -0
  133. jupyter_ext/agent/skills/experiment_tracking.md +13 -0
  134. jupyter_ext/agent/skills/feature_importance_analysis.md +10 -0
  135. jupyter_ext/agent/skills/hyperparameter_tuning.md +12 -0
  136. jupyter_ext/agent/skills/hypothesis_testing.md +12 -0
  137. jupyter_ext/agent/skills/imbalanced_data_handling.md +12 -0
  138. jupyter_ext/agent/skills/inference.md +392 -0
  139. jupyter_ext/agent/skills/lambda_function_development.md +19 -0
  140. jupyter_ext/agent/skills/model_comparison.md +11 -0
  141. jupyter_ext/agent/skills/model_explainability.md +12 -0
  142. jupyter_ext/agent/skills/model_training.md +318 -0
  143. jupyter_ext/agent/skills/pyspark.md +352 -0
  144. jupyter_ext/agent/skills/python_code_quality.md +35 -0
  145. jupyter_ext/agent/skills/regression_evaluation.md +12 -0
  146. jupyter_ext/agent/skills/spring_java_development.md +35 -0
  147. jupyter_ext/agent/skills/text_preprocessing.md +12 -0
  148. jupyter_ext/agent/skills/time_series_analysis.md +13 -0
  149. jupyter_ext/agent/skills/unit_testing.md +203 -0
  150. jupyter_ext/agent/todo_prompts.py +57 -0
  151. jupyter_ext/agent/tool_report.py +45 -0
  152. jupyter_ext/analytics_ingest.py +599 -0
  153. jupyter_ext/etc/jupyter/jupyter_server_config.d/codebuff_agent.json +7 -0
  154. jupyter_ext/handlers/__init__.py +8 -0
  155. jupyter_ext/handlers/analytics_handler.py +170 -0
  156. jupyter_ext/handlers/benchmark_handler.py +794 -0
  157. jupyter_ext/handlers/eda_benchmark_handler.py +1328 -0
  158. jupyter_ext/handlers/rag_admin_handler.py +689 -0
  159. jupyter_ext/handlers/websocket.py +497 -0
  160. jupyter_ext/http_handlers.py +8744 -0
  161. jupyter_ext/idle_monitor.py +346 -0
  162. jupyter_ext/labextension/package.json +157 -0
  163. jupyter_ext/labextension/static/104.2b8f20f9d1ac2c9db01b.js +1 -0
  164. jupyter_ext/labextension/static/150.39fa98117cc8ca590465.js +1 -0
  165. jupyter_ext/labextension/static/166.386ff9b2c37ac865fdee.js +1 -0
  166. jupyter_ext/labextension/static/216.25cf81131bf7274dabf4.js +1 -0
  167. jupyter_ext/labextension/static/353.581bd1cb00746399b62e.js +1 -0
  168. jupyter_ext/labextension/static/367.575f9621b63c9a641aa9.js +1 -0
  169. jupyter_ext/labextension/static/421.11dac223a2c2da1b09f5.js +1 -0
  170. jupyter_ext/labextension/static/432.8513b4c6cc1d1232d165.js +2 -0
  171. jupyter_ext/labextension/static/432.8513b4c6cc1d1232d165.js.LICENSE.txt +19 -0
  172. jupyter_ext/labextension/static/439.ba5b5ef70ec6de214b8c.js +2 -0
  173. jupyter_ext/labextension/static/439.ba5b5ef70ec6de214b8c.js.LICENSE.txt +8 -0
  174. jupyter_ext/labextension/static/481.cc2dec9fa869d66f1407.js +1 -0
  175. jupyter_ext/labextension/static/487.0796e931d6e651482c14.js +1 -0
  176. jupyter_ext/labextension/static/49.d326f554b6f9ccde6580.js +1 -0
  177. jupyter_ext/labextension/static/541.26897ea32845659e36be.js +1 -0
  178. jupyter_ext/labextension/static/579.e569d3edd8391fd8fbb3.js +1 -0
  179. jupyter_ext/labextension/static/58.eb7cc679f7535cc8a2f1.js +2 -0
  180. jupyter_ext/labextension/static/58.eb7cc679f7535cc8a2f1.js.LICENSE.txt +8 -0
  181. jupyter_ext/labextension/static/666.d9bfdb23f98489d0a188.js +1 -0
  182. jupyter_ext/labextension/static/677.d266c39dbed33bc388b3.js +2 -0
  183. jupyter_ext/labextension/static/677.d266c39dbed33bc388b3.js.LICENSE.txt +8 -0
  184. jupyter_ext/labextension/static/68.26b6f59c8454adb17f20.js +204 -0
  185. jupyter_ext/labextension/static/694.4ac443814260057e68f7.js +1 -0
  186. jupyter_ext/labextension/static/791.61affb8d3480d3d60e0d.js +1 -0
  187. jupyter_ext/labextension/static/848.4d2db09cfbb09374b299.js +2 -0
  188. jupyter_ext/labextension/static/848.4d2db09cfbb09374b299.js.LICENSE.txt +9 -0
  189. jupyter_ext/labextension/static/868.5cfe7e1a348ec5af1b8c.js +1 -0
  190. jupyter_ext/labextension/static/97.ea559a5b8a9a09f17c6b.js +1 -0
  191. jupyter_ext/labextension/static/remoteEntry.5292fc9c6df7e7920cc8.js +1 -0
  192. jupyter_ext/labextension/static/style.js +4 -0
  193. jupyter_ext/labextension/static/third-party-licenses.json +724 -0
  194. jupyter_ext/log_paths.py +113 -0
  195. jupyter_ext/resource_usage.py +519 -0
  196. jupyter_ext/secrets_bootstrap.py +116 -0
  197. jupyter_ext/team_access.py +105 -0
  198. jupyter_ext/tests/__init__.py +1 -0
  199. jupyter_ext/tests/test_context.py +234 -0
  200. jupyter_ext/tests/test_factory.py +563 -0
  201. jupyter_ext/tests/test_file_finder.py +139 -0
  202. jupyter_ext/tests/test_handlers.py +58 -0
  203. jupyter_ext/tests/test_mcp_selftest.py +204 -0
  204. jupyter_ext/tests/test_mermaid_fixer.py +272 -0
  205. jupyter_ext/tests/test_resource_tiers.py +298 -0
  206. jupyter_ext/tools/__init__.py +15 -0
  207. jupyter_ext/tools/base.py +90 -0
  208. jupyter_ext/tools/context.py +268 -0
  209. jupyter_ext/tools/dir_complete.py +86 -0
  210. jupyter_ext/tools/file_finder.py +303 -0
  211. jupyter_ext/tools/file_tools.py +244 -0
  212. jupyter_ext/tools/jupyter_tools.py +296 -0
  213. jupyter_ext/tools/registry.py +159 -0
  214. jupyter_ext/tools/search_tools.py +230 -0
  215. jupyter_ext/tools/security_tools.py +657 -0
  216. jupyter_ext/tools/shell_tools.py +109 -0
  217. jupyter_ext/tools/user_tools.py +132 -0
@@ -0,0 +1 @@
1
+ var _JUPYTERLAB;(()=>{"use strict";var e={8384(e,t,r){const o={"./index":()=>Promise.all([r.e(666),r.e(432),r.e(791),r.e(104),r.e(345),r.e(586),r.e(195),r.e(97)]).then(()=>()=>r(97)),"./extension":()=>Promise.all([r.e(666),r.e(432),r.e(791),r.e(104),r.e(345),r.e(586),r.e(195),r.e(97)]).then(()=>()=>r(97)),"./style":()=>r.e(579).then(()=>()=>r(6579))},a=(e,t)=>(r.R=t,t=r.o(o,e)?o[e]():Promise.resolve().then(()=>{throw new Error('Module "'+e+'" does not exist in container.')}),r.R=void 0,t),n=(e,t)=>{if(!r.S)return;const o="default",a=r.S[o];if(a&&a!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return r.S[o]=e,r.I(o,t)};r.d(t,{get:()=>a,init:()=>n})}};const t={};function r(o){const a=t[o];if(void 0!==a)return a.exports;const n=t[o]={id:o,exports:{}};return e[o].call(n.exports,n,n.exports,r),n.exports}r.m=e,r.c=t,r.n=e=>{const t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.cw=e=>{var t;return()=>{if(e){var r=e;e=0,t={exports:{}},r.call(t.exports,t,t.exports)}return t.exports}},(()=>{const e=Object.getPrototypeOf;let t;r.t=function(o,a){if(1&a&&(o=this(o)),8&a)return o;if("object"==typeof o&&o){if(4&a&&o.__esModule)return o;if(16&a&&"function"==typeof o.then)return o}const n=Object.create(null);r.r(n);const f={};t=t||[null,e({}),e([]),e(e)];for(var l=2&a&&o;("object"==typeof l||"function"==typeof l)&&!~t.indexOf(l);l=e(l))Object.getOwnPropertyNames(l).forEach(e=>f[e]=()=>o[e]);return f.default=()=>o,r.d(n,f),n}})(),r.d=(e,t)=>{if(Array.isArray(t))for(var o=0;o<t.length;){var a=t[o++],n=t[o++],f=0===n?{enumerable:!0,value:t[o++]}:{enumerable:!0,get:n};r.o(e,a)||Object.defineProperty(e,a,f)}else for(var a in t)r.o(t,a)&&!r.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((t,o)=>(r.f[o](e,t),t),[])),r.u=e=>e+"."+{49:"d326f554b6f9ccde6580",58:"eb7cc679f7535cc8a2f1",68:"26b6f59c8454adb17f20",97:"ea559a5b8a9a09f17c6b",104:"2b8f20f9d1ac2c9db01b",150:"39fa98117cc8ca590465",166:"386ff9b2c37ac865fdee",216:"25cf81131bf7274dabf4",353:"581bd1cb00746399b62e",367:"575f9621b63c9a641aa9",421:"11dac223a2c2da1b09f5",432:"8513b4c6cc1d1232d165",439:"ba5b5ef70ec6de214b8c",481:"cc2dec9fa869d66f1407",487:"0796e931d6e651482c14",541:"26897ea32845659e36be",579:"e569d3edd8391fd8fbb3",666:"d9bfdb23f98489d0a188",677:"d266c39dbed33bc388b3",694:"4ac443814260057e68f7",791:"61affb8d3480d3d60e0d",848:"4d2db09cfbb09374b299",868:"5cfe7e1a348ec5af1b8c"}[e]+".js?v="+{49:"d326f554b6f9ccde6580",58:"eb7cc679f7535cc8a2f1",68:"26b6f59c8454adb17f20",97:"ea559a5b8a9a09f17c6b",104:"2b8f20f9d1ac2c9db01b",150:"39fa98117cc8ca590465",166:"386ff9b2c37ac865fdee",216:"25cf81131bf7274dabf4",353:"581bd1cb00746399b62e",367:"575f9621b63c9a641aa9",421:"11dac223a2c2da1b09f5",432:"8513b4c6cc1d1232d165",439:"ba5b5ef70ec6de214b8c",481:"cc2dec9fa869d66f1407",487:"0796e931d6e651482c14",541:"26897ea32845659e36be",579:"e569d3edd8391fd8fbb3",666:"d9bfdb23f98489d0a188",677:"d266c39dbed33bc388b3",694:"4ac443814260057e68f7",791:"61affb8d3480d3d60e0d",848:"4d2db09cfbb09374b299",868:"5cfe7e1a348ec5af1b8c"}[e],r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={},t="codebuff:";r.l=(o,a,n,f)=>{if(e[o])return void e[o].push(a);let l,c;if(void 0!==n){const e=document.getElementsByTagName("script");for(var d=0;d<e.length;d++){const r=e[d];if(r.getAttribute("src")==o||r.getAttribute("data-webpack")==t+n){l=r;break}}}l||(c=!0,l=document.createElement("script"),l.charset="utf-8",r.nc&&l.setAttribute("nonce",r.nc),l.setAttribute("data-webpack",t+n),l.src=o),e[o]=[a];const i=(t,r)=>{l.onerror=l.onload=null,clearTimeout(u);const a=e[o];if(delete e[o],l.parentNode?.removeChild(l),a?.forEach(e=>e(r)),t)return t(r)},u=setTimeout(i.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=i.bind(null,l.onerror),l.onload=i.bind(null,l.onload),c&&document.head.appendChild(l)}})(),r.r=e=>{Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.dn=e=>{var t=Object.getOwnPropertyDescriptor(e,"name");(!t||!t.writable&&t.configurable)&&Object.defineProperty(e,"name",{value:"default",configurable:!0})},(()=>{r.S={};const e={},t={};r.I=(o,a)=>{a||(a=[]);let n=t[o];if(n||(n=t[o]={}),a.indexOf(n)>=0)return;if(a.push(n),e[o])return e[o];r.o(r.S,o)||(r.S[o]={});const f=r.S[o],l="codebuff",c=(e,t,r,o)=>{const a=f[e]=f[e]||{},n=a[t];(!n||!n.loaded&&(!o!=!n.eager?o:l>n.from))&&(a[t]={get:r,from:l,eager:!!o})},d=[];return"default"===o&&(c("@codemirror/commands","6.8.1",()=>Promise.all([r.e(353),r.e(708),r.e(11),r.e(195)]).then(()=>()=>r(4353))),c("@emotion/react","11.14.0",()=>Promise.all([r.e(666),r.e(345),r.e(677)]).then(()=>()=>r(7677))),c("@emotion/styled","11.14.1",()=>Promise.all([r.e(345),r.e(744),r.e(487)]).then(()=>()=>r(1868))),c("@lezer/java","1.1.4",()=>Promise.all([r.e(421),r.e(367),r.e(708),r.e(839)]).then(()=>()=>r(7367))),c("@lezer/javascript","1.5.5",()=>Promise.all([r.e(421),r.e(166),r.e(708),r.e(839)]).then(()=>()=>r(166))),c("@lezer/python","1.1.19",()=>Promise.all([r.e(421),r.e(49),r.e(708),r.e(839)]).then(()=>()=>r(49))),c("@mui/material","5.18.0",()=>Promise.all([r.e(666),r.e(68),r.e(432),r.e(345),r.e(586)]).then(()=>()=>r(3068))),c("codebuff","2.1.74",()=>Promise.all([r.e(666),r.e(432),r.e(791),r.e(104),r.e(345),r.e(586),r.e(195),r.e(97)]).then(()=>()=>r(97))),c("diff","0",()=>r.e(481).then(()=>()=>r(7481))),c("react-markdown","10.1.0",()=>Promise.all([r.e(694),r.e(150),r.e(791),r.e(345),r.e(848)]).then(()=>()=>r(150))),c("remark-gfm","4.0.1",()=>Promise.all([r.e(694),r.e(541)]).then(()=>()=>r(8541))),c("sql-formatter","15.9.0",()=>r.e(216).then(()=>()=>r(6216)))),e[o]=d.length?Promise.all(d).then(()=>e[o]=1):1}})(),(()=>{let e;r.g.importScripts&&(e=r.g.location+"");const t=r.g.document;if(!e&&t&&("SCRIPT"===t.currentScript?.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){const r=t.getElementsByTagName("script");if(r.length){let t=r.length-1;for(;t>-1&&(!e||!/^https?:/.test(e));)e=r[t--].src}}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:|[?#].*$/g,"").replace(/\/[^/]+$/,"/"),r.p=e})(),(()=>{var e=e=>{var t=e=>e.split(".").map(e=>+e==e?+e:e),r=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),o=r[1]?t(r[1]):[];return r[2]&&(o.length++,o.push.apply(o,t(r[2]))),r[3]&&(o.push([]),o.push.apply(o,t(r[3]))),o},t=(t,r)=>{t=e(t),r=e(r);for(var o=0;;){if(o>=t.length)return o<r.length&&"u"!=(typeof r[o])[0];var a=t[o],n=(typeof a)[0];if(o>=r.length)return"u"==n;var f=r[o],l=(typeof f)[0];if(n!=l)return"o"==n&&"n"==l||"s"==l||"u"==n;if("o"!=n&&"u"!=n&&a!=f)return a<f;o++}},o=e=>{var t=e[0],r="";if(1===e.length)return"*";if(t+.5){r+=0==t?">=":-1==t?"<":1==t?"^":2==t?"~":t>0?"=":"!=";for(var a=1,n=1;n<e.length;n++)a--,r+="u"==(typeof(l=e[n]))[0]?"-":(a>0?".":"")+(a=2,l);return r}var f=[];for(n=1;n<e.length;n++){var l=e[n];f.push(0===l?"not("+c()+")":1===l?"("+c()+" || "+c()+")":2===l?f.pop()+" "+f.pop():o(l))}return c();function c(){return f.pop().replace(/^\((.+)\)$/,"$1")}},a=(t,r)=>{if(0 in t){r=e(r);var o=t[0],n=o<0;n&&(o=-o-1);for(var f=0,l=1,c=!0;;l++,f++){var d,i,u=l<t.length?(typeof t[l])[0]:"";if(f>=r.length||"o"==(i=(typeof(d=r[f]))[0]))return!c||("u"==u?l>o&&!n:""==u!=n);if("u"==i){if(!c||"u"!=u)return!1}else if(c)if(u==i)if(l<=o){if(d!=t[l])return!1}else{if(n?d>t[l]:d<t[l])return!1;d!=t[l]&&(c=!1)}else if("s"!=u&&"n"!=u){if(n||l<=o)return!1;c=!1,l--}else{if(l<=o||i<u!=n)return!1;c=!1}else"s"!=u&&"n"!=u&&(c=!1,l--)}}var s=[],b=s.pop.bind(s);for(f=1;f<t.length;f++){var p=t[f];s.push(1==p?b()|b():2==p?b()&b():p?a(p,r):!b())}return!!b()};const n=(e,t)=>e&&r.o(e,t),f=e=>(e.loaded=1,e.get()),l=e=>Object.keys(e).reduce((t,r)=>(e[r].eager&&(t[r]=e[r]),t),{}),c=e=>{throw new Error(e)},d=e=>function(t,o,a,n,f){const l=r.I(t);return l?.then&&!a?l.then(e.bind(e,t,r.S[t],o,!1,n,f)):e(t,r.S[t],o,a,n,f)},i=(e,t,r)=>r?r():((e,t)=>c("Shared module "+t+" doesn't exist in shared scope "+e))(e,t),u=d((e,r,d,u,s,b)=>{if(!n(r,d))return i(e,d,b);const p=((e,r,o,n)=>{const f=n?l(e[r]):e[r];return(r=Object.keys(f).reduce((e,r)=>!a(o,r)||e&&!t(e,r)?e:r,0))&&f[r]})(r,d,s,u);return p?f(p):b?b():void c(((e,t,r,a,n)=>{const f=e[r];return"No satisfying version ("+o(a)+")"+(n?" for eager consumption":"")+" of shared module "+r+" found in shared scope "+t+".\nAvailable versions: "+Object.keys(f).map(e=>e+" from "+f[e].from).join(", ")})(r,e,d,s,u))}),s=d((e,r,c,d,u,s)=>{if(!n(r,c))return i(e,c,s);const b=((e,r,o)=>{const a=o?l(e[r]):e[r];return Object.keys(a).reduce((e,r)=>!e||!a[e].loaded&&t(e,r)?r:e,0)})(r,c,d);return a(u,b)||(p=((e,t,r,a)=>"Unsatisfied version "+r+" from "+(r&&e[t][r].from)+" of shared singleton module "+t+" (required "+o(a)+")")(r,c,b,u),"undefined"!=typeof console&&console.warn&&console.warn(p)),f(r[c][b]);var p}),b={},p={3345:()=>s("default","react",!1,[1,18,2,0]),3157:()=>u("default","@emotion/react",!1,[1,11,4,1],()=>r.e(58).then(()=>()=>r(7677))),7628:()=>s("default","react-dom",!1,[1,18,2,0]),9443:()=>u("default","@emotion/styled",!1,[1,11,3,0],()=>Promise.all([r.e(744),r.e(868)]).then(()=>()=>r(1868))),2576:()=>s("default","@codemirror/state",!1,[1,6,2,0]),110:()=>u("default","remark-gfm",!1,[1,4,0,1],()=>Promise.all([r.e(694),r.e(541)]).then(()=>()=>r(8541))),277:()=>s("default","@jupyterlab/cells",!1,[1,4,5,1]),1247:()=>s("default","@lumino/widgets",!1,[1,2,3,1,,"alpha",1]),1409:()=>s("default","@jupyterlab/ui-components",!1,[1,4,5,1]),1696:()=>u("default","sql-formatter",!1,[1,15,7,3],()=>r.e(216).then(()=>()=>r(6216))),1805:()=>s("default","@jupyterlab/console",!1,[1,4,5,1]),1907:()=>s("default","@jupyterlab/services",!1,[1,7,5,1]),2780:()=>s("default","@jupyterlab/filebrowser",!1,[1,4,5,1]),3118:()=>s("default","@jupyterlab/rendermime",!1,[1,4,5,1]),3366:()=>s("default","@jupyterlab/launcher",!1,[1,4,5,1]),4849:()=>u("default","diff",!1,[1,9,0,0],()=>r.e(481).then(()=>()=>r(7481))),5584:()=>s("default","@jupyterlab/application",!1,[1,4,5,1]),5690:()=>s("default","@jupyterlab/terminal",!1,[1,4,5,1]),5705:()=>u("default","@lezer/javascript",!1,[1,1,5,5],()=>Promise.all([r.e(421),r.e(166),r.e(708),r.e(839)]).then(()=>()=>r(166))),6249:()=>u("default","react-markdown",!1,[1,10,1,0],()=>Promise.all([r.e(694),r.e(150)]).then(()=>()=>r(150))),6580:()=>u("default","@lezer/python",!1,[1,1,1,19],()=>Promise.all([r.e(421),r.e(49),r.e(708),r.e(839)]).then(()=>()=>r(49))),6661:()=>u("default","@mui/material",!1,[1,5,14,0],()=>r.e(68).then(()=>()=>r(3068))),6822:()=>u("default","@codemirror/commands",!1,[4,6,8,1],()=>Promise.all([r.e(353),r.e(708),r.e(11)]).then(()=>()=>r(4353))),7125:()=>s("default","@jupyterlab/docmanager",!1,[1,4,5,1]),7292:()=>s("default","@jupyterlab/coreutils",!1,[1,6,5,1]),8389:()=>s("default","@jupyterlab/notebook",!1,[1,4,5,1]),8454:()=>u("default","@lezer/java",!1,[1,1,1,4],()=>Promise.all([r.e(421),r.e(367),r.e(708),r.e(839)]).then(()=>()=>r(7367))),9827:()=>s("default","@jupyterlab/apputils",!1,[1,4,6,1]),3708:()=>s("default","@lezer/common",!1,[1,1,0,0]),2084:()=>s("default","@codemirror/language",!1,[1,6,0,0]),5024:()=>s("default","@codemirror/view",!1,[1,6,9,6]),2744:()=>u("default","@emotion/react",!1,[1,11,0,0,,"rc",0],()=>Promise.all([r.e(666),r.e(439)]).then(()=>()=>r(7677))),1839:()=>s("default","@lezer/highlight",!1,[1,1,0,0])},h={11:[2084,5024],97:[110,277,1247,1409,1696,1805,1907,2780,3118,3366,4849,5584,5690,5705,6249,6580,6661,6822,7125,7292,8389,8454,9827],195:[2576],345:[3345],586:[3157,7628,9443],708:[3708],744:[2744],839:[1839]},m={};r.f.consumes=(e,t)=>{r.o(h,e)&&h[e].forEach(e=>{if(r.o(b,e))return t.push(b[e]);if(!m[e]){const o=t=>{b[e]=0,r.m[e]=o=>{delete r.c[e],o.exports=t()}};m[e]=!0;const a=t=>{delete b[e],r.m[e]=o=>{throw delete r.c[e],t}};try{const r=p[e]();r.then?t.push(b[e]=r.then(o).catch(a)):o(r)}catch(e){a(e)}}})}})(),(()=>{r.b="undefined"!=typeof document&&document.baseURI||self.location.href;const e={679:0};r.f.j=(t,o)=>{let a=r.o(e,t)?e[t]:void 0;if(0!==a)if(a)o.push(a[2]);else if(/^(11|195|345|586|708|744|839)$/.test(t))e[t]=0;else{const n=new Promise((r,o)=>a=e[t]=[r,o]);o.push(a[2]=n);const f=new Error,l=o=>{if(r.o(e,t)&&(a=e[t],0!==a&&(e[t]=void 0),a)){const e=o&&("load"===o.type?"missing":o.type),r=o&&o.target&&o.target.src;f.message="Loading chunk "+t+" failed.\n("+e+": "+r+")",f.name="ChunkLoadError",f.type=e,f.request=r,f.event=o,a[1](f)}};r.l(r.p+r.u(t),l,"chunk-"+t,t)}};const t=(t,o)=>{let[a,n,f]=o;var l,c,d=0;if(a.some(t=>0!==e[t])){for(l in n)r.o(n,l)&&(r.m[l]=n[l]);f&&f(r)}for(t&&t(o);d<a.length;d++)c=a[d],r.o(e,c)&&e[c]&&e[c][0](),e[c]=0},o=self.webpackChunkcodebuff=self.webpackChunkcodebuff||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))})(),r.nc=void 0;let o=r(8384);(_JUPYTERLAB=void 0===_JUPYTERLAB?{}:_JUPYTERLAB).codebuff=o})();
@@ -0,0 +1,4 @@
1
+ /* This is a generated file of CSS imports */
2
+ /* It was generated by @jupyterlab/builder in Build.ensureAssets() */
3
+
4
+ import 'codebuff/frontend/styles/index.js';