codebuff-agent 2.1.81__py3-none-any.whl → 2.1.82__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 (36) hide show
  1. {codebuff_agent-2.1.81.data → codebuff_agent-2.1.82.data}/data/share/jupyter/labextensions/codebuff/package.json +2 -2
  2. codebuff_agent-2.1.81.data/data/share/jupyter/labextensions/codebuff/static/remoteEntry.b59839de3c537d238174.js → codebuff_agent-2.1.82.data/data/share/jupyter/labextensions/codebuff/static/remoteEntry.ba3b83fa462c70c6ce4d.js +1 -1
  3. {codebuff_agent-2.1.81.dist-info → codebuff_agent-2.1.82.dist-info}/METADATA +1 -1
  4. {codebuff_agent-2.1.81.dist-info → codebuff_agent-2.1.82.dist-info}/RECORD +36 -36
  5. jupyter_ext/_version.py +1 -1
  6. jupyter_ext/agent/serena_context.yml +2 -1
  7. jupyter_ext/agent/serena_relay.py +60 -3
  8. jupyter_ext/labextension/package.json +2 -2
  9. jupyter_ext/labextension/static/{remoteEntry.b59839de3c537d238174.js → remoteEntry.ba3b83fa462c70c6ce4d.js} +1 -1
  10. {codebuff_agent-2.1.81.data → codebuff_agent-2.1.82.data}/data/etc/jupyter/jupyter_server_config.d/codebuff_agent.json +0 -0
  11. {codebuff_agent-2.1.81.data → codebuff_agent-2.1.82.data}/data/share/jupyter/lab/settings/overrides.d/codebuff.json +0 -0
  12. {codebuff_agent-2.1.81.data → codebuff_agent-2.1.82.data}/data/share/jupyter/labextensions/codebuff/static/166.386ff9b2c37ac865fdee.js +0 -0
  13. {codebuff_agent-2.1.81.data → codebuff_agent-2.1.82.data}/data/share/jupyter/labextensions/codebuff/static/273.1fa59c002e2049d6361c.js +0 -0
  14. {codebuff_agent-2.1.81.data → codebuff_agent-2.1.82.data}/data/share/jupyter/labextensions/codebuff/static/351.e796b81287b53635cfa4.js +0 -0
  15. {codebuff_agent-2.1.81.data → codebuff_agent-2.1.82.data}/data/share/jupyter/labextensions/codebuff/static/353.581bd1cb00746399b62e.js +0 -0
  16. {codebuff_agent-2.1.81.data → codebuff_agent-2.1.82.data}/data/share/jupyter/labextensions/codebuff/static/367.575f9621b63c9a641aa9.js +0 -0
  17. {codebuff_agent-2.1.81.data → codebuff_agent-2.1.82.data}/data/share/jupyter/labextensions/codebuff/static/421.11dac223a2c2da1b09f5.js +0 -0
  18. {codebuff_agent-2.1.81.data → codebuff_agent-2.1.82.data}/data/share/jupyter/labextensions/codebuff/static/432.a749eb54fdc324b18cfa.js +0 -0
  19. {codebuff_agent-2.1.81.data → codebuff_agent-2.1.82.data}/data/share/jupyter/labextensions/codebuff/static/432.a749eb54fdc324b18cfa.js.LICENSE.txt +0 -0
  20. {codebuff_agent-2.1.81.data → codebuff_agent-2.1.82.data}/data/share/jupyter/labextensions/codebuff/static/439.ba5b5ef70ec6de214b8c.js +0 -0
  21. {codebuff_agent-2.1.81.data → codebuff_agent-2.1.82.data}/data/share/jupyter/labextensions/codebuff/static/439.ba5b5ef70ec6de214b8c.js.LICENSE.txt +0 -0
  22. {codebuff_agent-2.1.81.data → codebuff_agent-2.1.82.data}/data/share/jupyter/labextensions/codebuff/static/481.cc2dec9fa869d66f1407.js +0 -0
  23. {codebuff_agent-2.1.81.data → codebuff_agent-2.1.82.data}/data/share/jupyter/labextensions/codebuff/static/487.0796e931d6e651482c14.js +0 -0
  24. {codebuff_agent-2.1.81.data → codebuff_agent-2.1.82.data}/data/share/jupyter/labextensions/codebuff/static/49.d326f554b6f9ccde6580.js +0 -0
  25. {codebuff_agent-2.1.81.data → codebuff_agent-2.1.82.data}/data/share/jupyter/labextensions/codebuff/static/579.3bc73eef11d3e0ce5d0c.js +0 -0
  26. {codebuff_agent-2.1.81.data → codebuff_agent-2.1.82.data}/data/share/jupyter/labextensions/codebuff/static/58.eb7cc679f7535cc8a2f1.js +0 -0
  27. {codebuff_agent-2.1.81.data → codebuff_agent-2.1.82.data}/data/share/jupyter/labextensions/codebuff/static/58.eb7cc679f7535cc8a2f1.js.LICENSE.txt +0 -0
  28. {codebuff_agent-2.1.81.data → codebuff_agent-2.1.82.data}/data/share/jupyter/labextensions/codebuff/static/666.d9bfdb23f98489d0a188.js +0 -0
  29. {codebuff_agent-2.1.81.data → codebuff_agent-2.1.82.data}/data/share/jupyter/labextensions/codebuff/static/677.d266c39dbed33bc388b3.js +0 -0
  30. {codebuff_agent-2.1.81.data → codebuff_agent-2.1.82.data}/data/share/jupyter/labextensions/codebuff/static/677.d266c39dbed33bc388b3.js.LICENSE.txt +0 -0
  31. {codebuff_agent-2.1.81.data → codebuff_agent-2.1.82.data}/data/share/jupyter/labextensions/codebuff/static/68.26b6f59c8454adb17f20.js +0 -0
  32. {codebuff_agent-2.1.81.data → codebuff_agent-2.1.82.data}/data/share/jupyter/labextensions/codebuff/static/868.5cfe7e1a348ec5af1b8c.js +0 -0
  33. {codebuff_agent-2.1.81.data → codebuff_agent-2.1.82.data}/data/share/jupyter/labextensions/codebuff/static/style.js +0 -0
  34. {codebuff_agent-2.1.81.data → codebuff_agent-2.1.82.data}/data/share/jupyter/labextensions/codebuff/static/third-party-licenses.json +0 -0
  35. {codebuff_agent-2.1.81.dist-info → codebuff_agent-2.1.82.dist-info}/WHEEL +0 -0
  36. {codebuff_agent-2.1.81.dist-info → codebuff_agent-2.1.82.dist-info}/licenses/LICENSE +0 -0
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codebuff",
3
- "version": "2.1.81",
3
+ "version": "2.1.82",
4
4
  "description": "Codebuff JupyterLab Extension - Thin client for Agent Server",
5
5
  "keywords": [
6
6
  "jupyter",
@@ -146,7 +146,7 @@
146
146
  }
147
147
  },
148
148
  "_build": {
149
- "load": "static/remoteEntry.b59839de3c537d238174.js",
149
+ "load": "static/remoteEntry.ba3b83fa462c70c6ce4d.js",
150
150
  "extension": "./extension",
151
151
  "style": "./style"
152
152
  }
@@ -1 +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(351),r.e(345),r.e(586),r.e(195),r.e(273)]).then(()=>()=>r(6273)),"./extension":()=>Promise.all([r.e(666),r.e(432),r.e(351),r.e(345),r.e(586),r.e(195),r.e(273)]).then(()=>()=>r(6273)),"./style":()=>r.e(579).then(()=>()=>r(6579))},n=(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),a=(e,t)=>{if(!r.S)return;const o="default",n=r.S[o];if(n&&n!==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:()=>n,init:()=>a})}};const t={};function r(o){const n=t[o];if(void 0!==n)return n.exports;const a=t[o]={id:o,exports:{}};return e[o](a,a.exports,r),a.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,n){if(1&n&&(o=this(o)),8&n)return o;if("object"==typeof o&&o){if(4&n&&o.__esModule)return o;if(16&n&&"function"==typeof o.then)return o}const a=Object.create(null);r.r(a);const l={};t=t||[null,e({}),e([]),e(e)];for(var f=2&n&&o;("object"==typeof f||"function"==typeof f)&&!~t.indexOf(f);f=e(f))Object.getOwnPropertyNames(f).forEach(e=>l[e]=()=>o[e]);return l.default=()=>o,r.d(a,l),a}})(),r.d=(e,t)=>{if(Array.isArray(t))for(var o=0;o<t.length;){var n=t[o++],a=t[o++],l=0===a?{enumerable:!0,value:t[o++]}:{enumerable:!0,get:a};r.o(e,n)||Object.defineProperty(e,n,l)}else for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},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",166:"386ff9b2c37ac865fdee",273:"1fa59c002e2049d6361c",351:"e796b81287b53635cfa4",353:"581bd1cb00746399b62e",367:"575f9621b63c9a641aa9",421:"11dac223a2c2da1b09f5",432:"a749eb54fdc324b18cfa",439:"ba5b5ef70ec6de214b8c",481:"cc2dec9fa869d66f1407",487:"0796e931d6e651482c14",579:"3bc73eef11d3e0ce5d0c",666:"d9bfdb23f98489d0a188",677:"d266c39dbed33bc388b3",868:"5cfe7e1a348ec5af1b8c"}[e]+".js?v="+{49:"d326f554b6f9ccde6580",58:"eb7cc679f7535cc8a2f1",68:"26b6f59c8454adb17f20",166:"386ff9b2c37ac865fdee",273:"1fa59c002e2049d6361c",351:"e796b81287b53635cfa4",353:"581bd1cb00746399b62e",367:"575f9621b63c9a641aa9",421:"11dac223a2c2da1b09f5",432:"a749eb54fdc324b18cfa",439:"ba5b5ef70ec6de214b8c",481:"cc2dec9fa869d66f1407",487:"0796e931d6e651482c14",579:"3bc73eef11d3e0ce5d0c",666:"d9bfdb23f98489d0a188",677:"d266c39dbed33bc388b3",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,n,a,l)=>{if(e[o])return void e[o].push(n);let f,i;if(void 0!==a){const e=document.getElementsByTagName("script");for(var c=0;c<e.length;c++){const r=e[c];if(r.getAttribute("src")==o||r.getAttribute("data-webpack")==t+a){f=r;break}}}f||(i=!0,f=document.createElement("script"),f.charset="utf-8",r.nc&&f.setAttribute("nonce",r.nc),f.setAttribute("data-webpack",t+a),f.src=o),e[o]=[n];const d=(t,r)=>{f.onerror=f.onload=null,clearTimeout(u);const n=e[o];if(delete e[o],f.parentNode?.removeChild(f),n?.forEach(e=>e(r)),t)return t(r)},u=setTimeout(d.bind(null,void 0,{type:"timeout",target:f}),12e4);f.onerror=d.bind(null,f.onerror),f.onload=d.bind(null,f.onload),i&&document.head.appendChild(f)}})(),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,n)=>{n||(n=[]);let a=t[o];if(a||(a=t[o]={}),n.indexOf(a)>=0)return;if(n.push(a),e[o])return e[o];r.o(r.S,o)||(r.S[o]={});const l=r.S[o],f="codebuff",i=(e,t,r,o)=>{const n=l[e]=l[e]||{},a=n[t];(!a||!a.loaded&&(!o!=!a.eager?o:f>a.from))&&(n[t]={get:r,from:f,eager:!!o})},c=[];return"default"===o&&(i("@codemirror/commands","6.8.1",()=>Promise.all([r.e(353),r.e(708),r.e(11),r.e(195)]).then(()=>()=>r(4353))),i("@emotion/react","11.14.0",()=>Promise.all([r.e(666),r.e(345),r.e(677)]).then(()=>()=>r(7677))),i("@emotion/styled","11.14.1",()=>Promise.all([r.e(345),r.e(744),r.e(487)]).then(()=>()=>r(1868))),i("@lezer/java","1.1.4",()=>Promise.all([r.e(421),r.e(367),r.e(708),r.e(839)]).then(()=>()=>r(7367))),i("@lezer/javascript","1.5.5",()=>Promise.all([r.e(421),r.e(166),r.e(708),r.e(839)]).then(()=>()=>r(166))),i("@lezer/python","1.1.19",()=>Promise.all([r.e(421),r.e(49),r.e(708),r.e(839)]).then(()=>()=>r(49))),i("@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))),i("codebuff","2.1.81",()=>Promise.all([r.e(666),r.e(432),r.e(351),r.e(345),r.e(586),r.e(195),r.e(273)]).then(()=>()=>r(6273))),i("diff","0",()=>r.e(481).then(()=>()=>r(7481)))),e[o]=c.length?Promise.all(c).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 n=t[o],a=(typeof n)[0];if(o>=r.length)return"u"==a;var l=r[o],f=(typeof l)[0];if(a!=f)return"o"==a&&"n"==f||"s"==f||"u"==a;if("o"!=a&&"u"!=a&&n!=l)return n<l;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 n=1,a=1;a<e.length;a++)n--,r+="u"==(typeof(f=e[a]))[0]?"-":(n>0?".":"")+(n=2,f);return r}var l=[];for(a=1;a<e.length;a++){var f=e[a];l.push(0===f?"not("+i()+")":1===f?"("+i()+" || "+i()+")":2===f?l.pop()+" "+l.pop():o(f))}return i();function i(){return l.pop().replace(/^\((.+)\)$/,"$1")}},n=(t,r)=>{if(0 in t){r=e(r);var o=t[0],a=o<0;a&&(o=-o-1);for(var l=0,f=1,i=!0;;f++,l++){var c,d,u=f<t.length?(typeof t[f])[0]:"";if(l>=r.length||"o"==(d=(typeof(c=r[l]))[0]))return!i||("u"==u?f>o&&!a:""==u!=a);if("u"==d){if(!i||"u"!=u)return!1}else if(i)if(u==d)if(f<=o){if(c!=t[f])return!1}else{if(a?c>t[f]:c<t[f])return!1;c!=t[f]&&(i=!1)}else if("s"!=u&&"n"!=u){if(a||f<=o)return!1;i=!1,f--}else{if(f<=o||d<u!=a)return!1;i=!1}else"s"!=u&&"n"!=u&&(i=!1,f--)}}var s=[],b=s.pop.bind(s);for(l=1;l<t.length;l++){var p=t[l];s.push(1==p?b()|b():2==p?b()&b():p?n(p,r):!b())}return!!b()};const a=(e,t)=>e&&r.o(e,t),l=e=>(e.loaded=1,e.get()),f=e=>Object.keys(e).reduce((t,r)=>(e[r].eager&&(t[r]=e[r]),t),{}),i=e=>{throw new Error(e)},c=e=>function(t,o,n,a,l){const f=r.I(t);return f?.then&&!n?f.then(e.bind(e,t,r.S[t],o,!1,a,l)):e(t,r.S[t],o,n,a,l)},d=(e,t,r)=>r?r():((e,t)=>i("Shared module "+t+" doesn't exist in shared scope "+e))(e,t),u=c((e,r,c,u,s,b)=>{if(!a(r,c))return d(e,c,b);const p=((e,r,o,a)=>{const l=a?f(e[r]):e[r];return(r=Object.keys(l).reduce((e,r)=>!n(o,r)||e&&!t(e,r)?e:r,0))&&l[r]})(r,c,s,u);return p?l(p):b?b():void i(((e,t,r,n,a)=>{const l=e[r];return"No satisfying version ("+o(n)+")"+(a?" for eager consumption":"")+" of shared module "+r+" found in shared scope "+t+".\nAvailable versions: "+Object.keys(l).map(e=>e+" from "+l[e].from).join(", ")})(r,e,c,s,u))}),s=c((e,r,i,c,u,s)=>{if(!a(r,i))return d(e,i,s);const b=((e,r,o)=>{const n=o?f(e[r]):e[r];return Object.keys(n).reduce((e,r)=>!e||!n[e].loaded&&t(e,r)?r:e,0)})(r,i,c);return n(u,b)||(p=((e,t,r,n)=>"Unsatisfied version "+r+" from "+(r&&e[t][r].from)+" of shared singleton module "+t+" (required "+o(n)+")")(r,i,b,u),"undefined"!=typeof console&&console.warn&&console.warn(p)),l(r[i][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]),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]),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))),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],195:[2576],273:[277,1247,1409,1805,1907,2780,3118,3366,4849,5584,5690,5705,6580,6661,6822,7125,7292,8389,8454,9827],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 n=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(n)):o(r)}catch(e){n(e)}}})}})(),(()=>{r.b="undefined"!=typeof document&&document.baseURI||self.location.href;const e={679:0};r.f.j=(t,o)=>{let n=r.o(e,t)?e[t]:void 0;if(0!==n)if(n)o.push(n[2]);else if(/^(11|195|345|586|708|744|839)$/.test(t))e[t]=0;else{const a=new Promise((r,o)=>n=e[t]=[r,o]);o.push(n[2]=a);const l=new Error,f=o=>{if(r.o(e,t)&&(n=e[t],0!==n&&(e[t]=void 0),n)){const e=o&&("load"===o.type?"missing":o.type),r=o&&o.target&&o.target.src;l.message="Loading chunk "+t+" failed.\n("+e+": "+r+")",l.name="ChunkLoadError",l.type=e,l.request=r,l.event=o,n[1](l)}};r.l(r.p+r.u(t),f,"chunk-"+t,t)}};const t=(t,o)=>{let[n,a,l]=o;var f,i,c=0;if(n.some(t=>0!==e[t])){for(f in a)r.o(a,f)&&(r.m[f]=a[f]);l&&l(r)}for(t&&t(o);c<n.length;c++)i=n[c],r.o(e,i)&&e[i]&&e[i][0](),e[i]=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})();
1
+ var _JUPYTERLAB;(()=>{"use strict";var e={8384(e,t,r){const o={"./index":()=>Promise.all([r.e(666),r.e(432),r.e(351),r.e(345),r.e(586),r.e(195),r.e(273)]).then(()=>()=>r(6273)),"./extension":()=>Promise.all([r.e(666),r.e(432),r.e(351),r.e(345),r.e(586),r.e(195),r.e(273)]).then(()=>()=>r(6273)),"./style":()=>r.e(579).then(()=>()=>r(6579))},n=(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),a=(e,t)=>{if(!r.S)return;const o="default",n=r.S[o];if(n&&n!==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:()=>n,init:()=>a})}};const t={};function r(o){const n=t[o];if(void 0!==n)return n.exports;const a=t[o]={id:o,exports:{}};return e[o](a,a.exports,r),a.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,n){if(1&n&&(o=this(o)),8&n)return o;if("object"==typeof o&&o){if(4&n&&o.__esModule)return o;if(16&n&&"function"==typeof o.then)return o}const a=Object.create(null);r.r(a);const l={};t=t||[null,e({}),e([]),e(e)];for(var f=2&n&&o;("object"==typeof f||"function"==typeof f)&&!~t.indexOf(f);f=e(f))Object.getOwnPropertyNames(f).forEach(e=>l[e]=()=>o[e]);return l.default=()=>o,r.d(a,l),a}})(),r.d=(e,t)=>{if(Array.isArray(t))for(var o=0;o<t.length;){var n=t[o++],a=t[o++],l=0===a?{enumerable:!0,value:t[o++]}:{enumerable:!0,get:a};r.o(e,n)||Object.defineProperty(e,n,l)}else for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},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",166:"386ff9b2c37ac865fdee",273:"1fa59c002e2049d6361c",351:"e796b81287b53635cfa4",353:"581bd1cb00746399b62e",367:"575f9621b63c9a641aa9",421:"11dac223a2c2da1b09f5",432:"a749eb54fdc324b18cfa",439:"ba5b5ef70ec6de214b8c",481:"cc2dec9fa869d66f1407",487:"0796e931d6e651482c14",579:"3bc73eef11d3e0ce5d0c",666:"d9bfdb23f98489d0a188",677:"d266c39dbed33bc388b3",868:"5cfe7e1a348ec5af1b8c"}[e]+".js?v="+{49:"d326f554b6f9ccde6580",58:"eb7cc679f7535cc8a2f1",68:"26b6f59c8454adb17f20",166:"386ff9b2c37ac865fdee",273:"1fa59c002e2049d6361c",351:"e796b81287b53635cfa4",353:"581bd1cb00746399b62e",367:"575f9621b63c9a641aa9",421:"11dac223a2c2da1b09f5",432:"a749eb54fdc324b18cfa",439:"ba5b5ef70ec6de214b8c",481:"cc2dec9fa869d66f1407",487:"0796e931d6e651482c14",579:"3bc73eef11d3e0ce5d0c",666:"d9bfdb23f98489d0a188",677:"d266c39dbed33bc388b3",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,n,a,l)=>{if(e[o])return void e[o].push(n);let f,i;if(void 0!==a){const e=document.getElementsByTagName("script");for(var c=0;c<e.length;c++){const r=e[c];if(r.getAttribute("src")==o||r.getAttribute("data-webpack")==t+a){f=r;break}}}f||(i=!0,f=document.createElement("script"),f.charset="utf-8",r.nc&&f.setAttribute("nonce",r.nc),f.setAttribute("data-webpack",t+a),f.src=o),e[o]=[n];const d=(t,r)=>{f.onerror=f.onload=null,clearTimeout(u);const n=e[o];if(delete e[o],f.parentNode?.removeChild(f),n?.forEach(e=>e(r)),t)return t(r)},u=setTimeout(d.bind(null,void 0,{type:"timeout",target:f}),12e4);f.onerror=d.bind(null,f.onerror),f.onload=d.bind(null,f.onload),i&&document.head.appendChild(f)}})(),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,n)=>{n||(n=[]);let a=t[o];if(a||(a=t[o]={}),n.indexOf(a)>=0)return;if(n.push(a),e[o])return e[o];r.o(r.S,o)||(r.S[o]={});const l=r.S[o],f="codebuff",i=(e,t,r,o)=>{const n=l[e]=l[e]||{},a=n[t];(!a||!a.loaded&&(!o!=!a.eager?o:f>a.from))&&(n[t]={get:r,from:f,eager:!!o})},c=[];return"default"===o&&(i("@codemirror/commands","6.8.1",()=>Promise.all([r.e(353),r.e(708),r.e(11),r.e(195)]).then(()=>()=>r(4353))),i("@emotion/react","11.14.0",()=>Promise.all([r.e(666),r.e(345),r.e(677)]).then(()=>()=>r(7677))),i("@emotion/styled","11.14.1",()=>Promise.all([r.e(345),r.e(744),r.e(487)]).then(()=>()=>r(1868))),i("@lezer/java","1.1.4",()=>Promise.all([r.e(421),r.e(367),r.e(708),r.e(839)]).then(()=>()=>r(7367))),i("@lezer/javascript","1.5.5",()=>Promise.all([r.e(421),r.e(166),r.e(708),r.e(839)]).then(()=>()=>r(166))),i("@lezer/python","1.1.19",()=>Promise.all([r.e(421),r.e(49),r.e(708),r.e(839)]).then(()=>()=>r(49))),i("@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))),i("codebuff","2.1.82",()=>Promise.all([r.e(666),r.e(432),r.e(351),r.e(345),r.e(586),r.e(195),r.e(273)]).then(()=>()=>r(6273))),i("diff","0",()=>r.e(481).then(()=>()=>r(7481)))),e[o]=c.length?Promise.all(c).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 n=t[o],a=(typeof n)[0];if(o>=r.length)return"u"==a;var l=r[o],f=(typeof l)[0];if(a!=f)return"o"==a&&"n"==f||"s"==f||"u"==a;if("o"!=a&&"u"!=a&&n!=l)return n<l;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 n=1,a=1;a<e.length;a++)n--,r+="u"==(typeof(f=e[a]))[0]?"-":(n>0?".":"")+(n=2,f);return r}var l=[];for(a=1;a<e.length;a++){var f=e[a];l.push(0===f?"not("+i()+")":1===f?"("+i()+" || "+i()+")":2===f?l.pop()+" "+l.pop():o(f))}return i();function i(){return l.pop().replace(/^\((.+)\)$/,"$1")}},n=(t,r)=>{if(0 in t){r=e(r);var o=t[0],a=o<0;a&&(o=-o-1);for(var l=0,f=1,i=!0;;f++,l++){var c,d,u=f<t.length?(typeof t[f])[0]:"";if(l>=r.length||"o"==(d=(typeof(c=r[l]))[0]))return!i||("u"==u?f>o&&!a:""==u!=a);if("u"==d){if(!i||"u"!=u)return!1}else if(i)if(u==d)if(f<=o){if(c!=t[f])return!1}else{if(a?c>t[f]:c<t[f])return!1;c!=t[f]&&(i=!1)}else if("s"!=u&&"n"!=u){if(a||f<=o)return!1;i=!1,f--}else{if(f<=o||d<u!=a)return!1;i=!1}else"s"!=u&&"n"!=u&&(i=!1,f--)}}var s=[],b=s.pop.bind(s);for(l=1;l<t.length;l++){var p=t[l];s.push(1==p?b()|b():2==p?b()&b():p?n(p,r):!b())}return!!b()};const a=(e,t)=>e&&r.o(e,t),l=e=>(e.loaded=1,e.get()),f=e=>Object.keys(e).reduce((t,r)=>(e[r].eager&&(t[r]=e[r]),t),{}),i=e=>{throw new Error(e)},c=e=>function(t,o,n,a,l){const f=r.I(t);return f?.then&&!n?f.then(e.bind(e,t,r.S[t],o,!1,a,l)):e(t,r.S[t],o,n,a,l)},d=(e,t,r)=>r?r():((e,t)=>i("Shared module "+t+" doesn't exist in shared scope "+e))(e,t),u=c((e,r,c,u,s,b)=>{if(!a(r,c))return d(e,c,b);const p=((e,r,o,a)=>{const l=a?f(e[r]):e[r];return(r=Object.keys(l).reduce((e,r)=>!n(o,r)||e&&!t(e,r)?e:r,0))&&l[r]})(r,c,s,u);return p?l(p):b?b():void i(((e,t,r,n,a)=>{const l=e[r];return"No satisfying version ("+o(n)+")"+(a?" for eager consumption":"")+" of shared module "+r+" found in shared scope "+t+".\nAvailable versions: "+Object.keys(l).map(e=>e+" from "+l[e].from).join(", ")})(r,e,c,s,u))}),s=c((e,r,i,c,u,s)=>{if(!a(r,i))return d(e,i,s);const b=((e,r,o)=>{const n=o?f(e[r]):e[r];return Object.keys(n).reduce((e,r)=>!e||!n[e].loaded&&t(e,r)?r:e,0)})(r,i,c);return n(u,b)||(p=((e,t,r,n)=>"Unsatisfied version "+r+" from "+(r&&e[t][r].from)+" of shared singleton module "+t+" (required "+o(n)+")")(r,i,b,u),"undefined"!=typeof console&&console.warn&&console.warn(p)),l(r[i][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]),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]),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))),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],195:[2576],273:[277,1247,1409,1805,1907,2780,3118,3366,4849,5584,5690,5705,6580,6661,6822,7125,7292,8389,8454,9827],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 n=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(n)):o(r)}catch(e){n(e)}}})}})(),(()=>{r.b="undefined"!=typeof document&&document.baseURI||self.location.href;const e={679:0};r.f.j=(t,o)=>{let n=r.o(e,t)?e[t]:void 0;if(0!==n)if(n)o.push(n[2]);else if(/^(11|195|345|586|708|744|839)$/.test(t))e[t]=0;else{const a=new Promise((r,o)=>n=e[t]=[r,o]);o.push(n[2]=a);const l=new Error,f=o=>{if(r.o(e,t)&&(n=e[t],0!==n&&(e[t]=void 0),n)){const e=o&&("load"===o.type?"missing":o.type),r=o&&o.target&&o.target.src;l.message="Loading chunk "+t+" failed.\n("+e+": "+r+")",l.name="ChunkLoadError",l.type=e,l.request=r,l.event=o,n[1](l)}};r.l(r.p+r.u(t),f,"chunk-"+t,t)}};const t=(t,o)=>{let[n,a,l]=o;var f,i,c=0;if(n.some(t=>0!==e[t])){for(f in a)r.o(a,f)&&(r.m[f]=a[f]);l&&l(r)}for(t&&t(o);c<n.length;c++)i=n[c],r.o(e,i)&&e[i]&&e[i][0](),e[i]=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})();
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: codebuff-agent
3
- Version: 2.1.81
3
+ Version: 2.1.82
4
4
  Summary: Codebuff JupyterLab Extension - Thin client for Agent Server
5
5
  Project-URL: Homepage, https://github.com/lks21c/codebuff
6
6
  Project-URL: Bug Tracker, https://github.com/lks21c/codebuff/issues
@@ -52,7 +52,7 @@ codebuff_core/tests/test_error_recovery.py,sha256=4PUtupKGqdo9d0QxDJN5g15nZ6viOE
52
52
  codebuff_core/tests/test_factory.py,sha256=a0vwB3cWpw8k8xHPUUu1zLeB0Qi6NQ8ZU7A8uN823TE,5459
53
53
  codebuff_core/tests/test_services.py,sha256=WkVtlF6BBUDDlR2bHq76nKWwprHRGytoDm0oUGxq0UU,5271
54
54
  jupyter_ext/__init__.py,sha256=uEctGSnGefquYNNxumXEZZddCyIOO-c1TE7Ahxzo-G4,12214
55
- jupyter_ext/_version.py,sha256=gk8Q5t2rOLieOXFeMgYazFQUVHMVw1J8F5H9xK90peM,172
55
+ jupyter_ext/_version.py,sha256=nMU2TQ8yAiiu3XiwaoTfP_-kvMTk1bJIoO3XvJ1Dbk4,172
56
56
  jupyter_ext/analytics_ingest.py,sha256=zxI99h0beD9TXzGH0u7lAnZcIe6HmLbjl7q855ri_To,25069
57
57
  jupyter_ext/apm_ingest.py,sha256=FiBvTK427zt54ygYatAufsCKoupUneQK4PzkSgHugoY,16607
58
58
  jupyter_ext/http_handlers.py,sha256=fdzWNp9H2waiGqLQprPi9tMZcxHzpV3dG3xkOBSGO4M,319077
@@ -99,8 +99,8 @@ jupyter_ext/agent/observability.py,sha256=uaYawa0x-IFoC8qG_fK7lE5k2fIApZkCbA3-Oi
99
99
  jupyter_ext/agent/open_tabs.py,sha256=qo2hhEEOlG-R8VZVOORzhJcK4pfR98uTysRf7ZcsDoM,4208
100
100
  jupyter_ext/agent/patch_tool_calls.py,sha256=dwFj_xmpJXUCl24JzZA_kLav5sLZ1_4wZex1dfhIDU0,2294
101
101
  jupyter_ext/agent/prompts.py,sha256=Ws-5WOHguHOJ_SrJf5M_inae8oNrFspOJfin8XeZEnE,5569
102
- jupyter_ext/agent/serena_context.yml,sha256=vFtI6Qy_tXNK8CSnrMJj38tZS8ATJ4NMIHuDEZrSyNU,1688
103
- jupyter_ext/agent/serena_relay.py,sha256=7HzIYKCHuUBFI82D4LxoPFYGfYCQA3WCFoUoOZ8nxfM,41598
102
+ jupyter_ext/agent/serena_context.yml,sha256=q48sEgTKSQSvEZauGGTA5wmkQzKZCvhcOYBb2dYAYtI,1704
103
+ jupyter_ext/agent/serena_relay.py,sha256=0uxknXBSxypzIQx0i5kNuSuFzBk1m3CVEP9gIaYSHhU,44047
104
104
  jupyter_ext/agent/skill_middleware.py,sha256=HBF5BP5DHU6CT4gKJ9TyRaIPRburnMJQxMbRUQGfA10,9693
105
105
  jupyter_ext/agent/todo_prompts.py,sha256=x_57Y8tQhL91lYkDZLZKVAUNK90GfH3wSxLpIoQUrO0,2988
106
106
  jupyter_ext/agent/tool_report.py,sha256=rq56XMQSlClYRRQ3zcPX0vOhLhgX8FGibBvY-zKXOAw,2122
@@ -144,7 +144,7 @@ jupyter_ext/handlers/apm_handler.py,sha256=afBov2_XPxlrZ6DCp6dqfIs-GFqPmfE5eUllr
144
144
  jupyter_ext/handlers/rag_admin_handler.py,sha256=C4MqVLIyweR34dDot9NkUgFxl_iOi0mxuU2PotFh9WA,3068
145
145
  jupyter_ext/handlers/websocket.py,sha256=jGJFRi_Url5RzBqRWvH72fXPP0ekb-WrQVx2xqTm-Pc,16604
146
146
  jupyter_ext/lab/settings/overrides.d/codebuff.json,sha256=3n2FDnLgE0aKOyn45RvyKWZKBpz7bvoA5QtxQLyM4a0,122
147
- jupyter_ext/labextension/package.json,sha256=XQSLrKec6s71VfOdl_jzXhYOpYiG5B_CJSrtWj-5eV0,5201
147
+ jupyter_ext/labextension/package.json,sha256=AjqDfgJrY3hyuOlI64FTXgbXRxzeSrTdYdwGkNyGkLo,5201
148
148
  jupyter_ext/labextension/static/166.386ff9b2c37ac865fdee.js,sha256=OG_5ssN6yGX97ihImIjeu0ictpfioowYcR9Ay3qyC8o,78037
149
149
  jupyter_ext/labextension/static/273.1fa59c002e2049d6361c.js,sha256=H6WcAC4gSdY2HAVwQWx4nnCGMT4WEOnF3ZK5NlFcaGA,417346
150
150
  jupyter_ext/labextension/static/351.e796b81287b53635cfa4.js,sha256=55a4Eoe1NjXPpP-i_vx90AdC8ghpyfy8640qFyf_cqQ,100173
@@ -166,7 +166,7 @@ jupyter_ext/labextension/static/677.d266c39dbed33bc388b3.js,sha256=5p_TSXMsQ26sJ
166
166
  jupyter_ext/labextension/static/677.d266c39dbed33bc388b3.js.LICENSE.txt,sha256=lqUlGHhVY3z3mcV-sTwREZRm1KQ7maSiV6-Gm8RSQNY,246
167
167
  jupyter_ext/labextension/static/68.26b6f59c8454adb17f20.js,sha256=Jrb1nIRUrbF_IEXU7CJRLbiRG9uNVBTOcPpYVYyD0t8,484028
168
168
  jupyter_ext/labextension/static/868.5cfe7e1a348ec5af1b8c.js,sha256=XP5-GjSOxa8bjNK9wNbZQqz14rF2h8P0J3LsRwC5o10,7933
169
- jupyter_ext/labextension/static/remoteEntry.b59839de3c537d238174.js,sha256=tZg53jxTfSOBdBo6MecTUHbJIJkxDFTxdyWTkEShL-M,12078
169
+ jupyter_ext/labextension/static/remoteEntry.ba3b83fa462c70c6ce4d.js,sha256=ujuD-kYscMbOTY0fI1TWP-ZLbggomFuMaVxoJa2p7yg,12078
170
170
  jupyter_ext/labextension/static/style.js,sha256=MorHEvkG0Oe-uZ7t7oFa5X01nqPLFSwlC2attA72Jr8,161
171
171
  jupyter_ext/labextension/static/third-party-licenses.json,sha256=luwtTWx15amrLYftafSAMx2ZV1sp32gCs_uslfNrf9Y,65553
172
172
  jupyter_ext/tests/__init__.py,sha256=JuO3lX7V7YfonXc_fuVQmxJcKklSq4orTEcdOuZrX8g,37
@@ -189,34 +189,34 @@ jupyter_ext/tools/search_tools.py,sha256=OZH3L-6LkcBKiQrtQqxWoSdDH0YUg2d9a2y5nQ-
189
189
  jupyter_ext/tools/security_tools.py,sha256=o-POr5BewXieuRJKli8kNC2KSLJos2GQb-70y_UHpVo,23556
190
190
  jupyter_ext/tools/shell_tools.py,sha256=lD57Vzqof81MXeLWUH6TqsjiyU_z1aY5Uj1riRFz_zU,3537
191
191
  jupyter_ext/tools/user_tools.py,sha256=xDsSBavDn7yc1iw71q0JnfMb7h_t35hcdQUlZPsNFSQ,4544
192
- codebuff_agent-2.1.81.data/data/etc/jupyter/jupyter_server_config.d/codebuff_agent.json,sha256=KXCyKfoeM1OxdPWa0wL2plndcqJkQ7ke3UaF0tJpMW0,86
193
- codebuff_agent-2.1.81.data/data/share/jupyter/labextensions/codebuff/package.json,sha256=XQSLrKec6s71VfOdl_jzXhYOpYiG5B_CJSrtWj-5eV0,5201
194
- codebuff_agent-2.1.81.data/data/share/jupyter/labextensions/codebuff/static/166.386ff9b2c37ac865fdee.js,sha256=OG_5ssN6yGX97ihImIjeu0ictpfioowYcR9Ay3qyC8o,78037
195
- codebuff_agent-2.1.81.data/data/share/jupyter/labextensions/codebuff/static/273.1fa59c002e2049d6361c.js,sha256=H6WcAC4gSdY2HAVwQWx4nnCGMT4WEOnF3ZK5NlFcaGA,417346
196
- codebuff_agent-2.1.81.data/data/share/jupyter/labextensions/codebuff/static/351.e796b81287b53635cfa4.js,sha256=55a4Eoe1NjXPpP-i_vx90AdC8ghpyfy8640qFyf_cqQ,100173
197
- codebuff_agent-2.1.81.data/data/share/jupyter/labextensions/codebuff/static/353.581bd1cb00746399b62e.js,sha256=WBvRywB0Y5m2Li0E6i184sCcKBi_rVXSDJ2cjTCpmZo,28894
198
- codebuff_agent-2.1.81.data/data/share/jupyter/labextensions/codebuff/static/367.575f9621b63c9a641aa9.js,sha256=V1-WIbY8mmQaqaP99vIxQUsz77L2DTFp0UUYGgdg-rA,39717
199
- codebuff_agent-2.1.81.data/data/share/jupyter/labextensions/codebuff/static/421.11dac223a2c2da1b09f5.js,sha256=EdrCI6LC2hsJ9e4JHW5s1GRClkmWZRw54TCbnEZayms,28308
200
- codebuff_agent-2.1.81.data/data/share/jupyter/labextensions/codebuff/static/432.a749eb54fdc324b18cfa.js,sha256=xa_7EXIvUGWlFbtFcZj3HwoRAElOX2NaEAvw0rAKni4,44883
201
- codebuff_agent-2.1.81.data/data/share/jupyter/labextensions/codebuff/static/432.a749eb54fdc324b18cfa.js.LICENSE.txt,sha256=mlhymahwls4499g-vGLVU9Lxqw3zTOvv42ZLrJkGXbM,488
202
- codebuff_agent-2.1.81.data/data/share/jupyter/labextensions/codebuff/static/439.ba5b5ef70ec6de214b8c.js,sha256=jvm4vHxAXO-fZoVqZqnx4qUuz-23MdavPCVB2zdHr5c,7497
203
- codebuff_agent-2.1.81.data/data/share/jupyter/labextensions/codebuff/static/439.ba5b5ef70ec6de214b8c.js.LICENSE.txt,sha256=lqUlGHhVY3z3mcV-sTwREZRm1KQ7maSiV6-Gm8RSQNY,246
204
- codebuff_agent-2.1.81.data/data/share/jupyter/labextensions/codebuff/static/481.cc2dec9fa869d66f1407.js,sha256=zC3sn6hp1m8UBx3gqzUz-02FaorPolqH7yKeK_ofIEg,23159
205
- codebuff_agent-2.1.81.data/data/share/jupyter/labextensions/codebuff/static/487.0796e931d6e651482c14.js,sha256=B5bpMdbmUUgsFL7SCWiFcY9EYp2MQsWSysVsPCqCZzE,11375
206
- codebuff_agent-2.1.81.data/data/share/jupyter/labextensions/codebuff/static/49.d326f554b6f9ccde6580.js,sha256=0yb1VLb5zN5lgFN8HZpkBbuBaQUeuJe7U5Ec-0qebY0,37796
207
- codebuff_agent-2.1.81.data/data/share/jupyter/labextensions/codebuff/static/579.3bc73eef11d3e0ce5d0c.js,sha256=O8c-7xHT4M5dDN_QaLAXOv1vNvMgcdiK_57YCDZEyJI,192647
208
- codebuff_agent-2.1.81.data/data/share/jupyter/labextensions/codebuff/static/58.eb7cc679f7535cc8a2f1.js,sha256=gdv-HEOQWn46_6fkKzIqx26GrfKOa62aodnM1trD5nU,8080
209
- codebuff_agent-2.1.81.data/data/share/jupyter/labextensions/codebuff/static/58.eb7cc679f7535cc8a2f1.js.LICENSE.txt,sha256=lqUlGHhVY3z3mcV-sTwREZRm1KQ7maSiV6-Gm8RSQNY,246
210
- codebuff_agent-2.1.81.data/data/share/jupyter/labextensions/codebuff/static/666.d9bfdb23f98489d0a188.js,sha256=2b_bI_mEidChiCaENfxTQtkswntodquGofjBXhN8--g,9718
211
- codebuff_agent-2.1.81.data/data/share/jupyter/labextensions/codebuff/static/677.d266c39dbed33bc388b3.js,sha256=5p_TSXMsQ26sJcaw40hTChjum9MCOguSwMPR6wRqTE8,11523
212
- codebuff_agent-2.1.81.data/data/share/jupyter/labextensions/codebuff/static/677.d266c39dbed33bc388b3.js.LICENSE.txt,sha256=lqUlGHhVY3z3mcV-sTwREZRm1KQ7maSiV6-Gm8RSQNY,246
213
- codebuff_agent-2.1.81.data/data/share/jupyter/labextensions/codebuff/static/68.26b6f59c8454adb17f20.js,sha256=Jrb1nIRUrbF_IEXU7CJRLbiRG9uNVBTOcPpYVYyD0t8,484028
214
- codebuff_agent-2.1.81.data/data/share/jupyter/labextensions/codebuff/static/868.5cfe7e1a348ec5af1b8c.js,sha256=XP5-GjSOxa8bjNK9wNbZQqz14rF2h8P0J3LsRwC5o10,7933
215
- codebuff_agent-2.1.81.data/data/share/jupyter/labextensions/codebuff/static/remoteEntry.b59839de3c537d238174.js,sha256=tZg53jxTfSOBdBo6MecTUHbJIJkxDFTxdyWTkEShL-M,12078
216
- codebuff_agent-2.1.81.data/data/share/jupyter/labextensions/codebuff/static/style.js,sha256=MorHEvkG0Oe-uZ7t7oFa5X01nqPLFSwlC2attA72Jr8,161
217
- codebuff_agent-2.1.81.data/data/share/jupyter/labextensions/codebuff/static/third-party-licenses.json,sha256=luwtTWx15amrLYftafSAMx2ZV1sp32gCs_uslfNrf9Y,65553
218
- codebuff_agent-2.1.81.data/data/share/jupyter/lab/settings/overrides.d/codebuff.json,sha256=3n2FDnLgE0aKOyn45RvyKWZKBpz7bvoA5QtxQLyM4a0,122
219
- codebuff_agent-2.1.81.dist-info/METADATA,sha256=FBQNNSgFIWK1AGEmsFEdZFdxkT_izcQEQHu_9blNAJA,4314
220
- codebuff_agent-2.1.81.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
221
- codebuff_agent-2.1.81.dist-info/licenses/LICENSE,sha256=LZnhgcr8NXVgC4ewcnNjWlYahaIS_KLMxKWDCZkHpQo,1061
222
- codebuff_agent-2.1.81.dist-info/RECORD,,
192
+ codebuff_agent-2.1.82.data/data/etc/jupyter/jupyter_server_config.d/codebuff_agent.json,sha256=KXCyKfoeM1OxdPWa0wL2plndcqJkQ7ke3UaF0tJpMW0,86
193
+ codebuff_agent-2.1.82.data/data/share/jupyter/labextensions/codebuff/package.json,sha256=AjqDfgJrY3hyuOlI64FTXgbXRxzeSrTdYdwGkNyGkLo,5201
194
+ codebuff_agent-2.1.82.data/data/share/jupyter/labextensions/codebuff/static/166.386ff9b2c37ac865fdee.js,sha256=OG_5ssN6yGX97ihImIjeu0ictpfioowYcR9Ay3qyC8o,78037
195
+ codebuff_agent-2.1.82.data/data/share/jupyter/labextensions/codebuff/static/273.1fa59c002e2049d6361c.js,sha256=H6WcAC4gSdY2HAVwQWx4nnCGMT4WEOnF3ZK5NlFcaGA,417346
196
+ codebuff_agent-2.1.82.data/data/share/jupyter/labextensions/codebuff/static/351.e796b81287b53635cfa4.js,sha256=55a4Eoe1NjXPpP-i_vx90AdC8ghpyfy8640qFyf_cqQ,100173
197
+ codebuff_agent-2.1.82.data/data/share/jupyter/labextensions/codebuff/static/353.581bd1cb00746399b62e.js,sha256=WBvRywB0Y5m2Li0E6i184sCcKBi_rVXSDJ2cjTCpmZo,28894
198
+ codebuff_agent-2.1.82.data/data/share/jupyter/labextensions/codebuff/static/367.575f9621b63c9a641aa9.js,sha256=V1-WIbY8mmQaqaP99vIxQUsz77L2DTFp0UUYGgdg-rA,39717
199
+ codebuff_agent-2.1.82.data/data/share/jupyter/labextensions/codebuff/static/421.11dac223a2c2da1b09f5.js,sha256=EdrCI6LC2hsJ9e4JHW5s1GRClkmWZRw54TCbnEZayms,28308
200
+ codebuff_agent-2.1.82.data/data/share/jupyter/labextensions/codebuff/static/432.a749eb54fdc324b18cfa.js,sha256=xa_7EXIvUGWlFbtFcZj3HwoRAElOX2NaEAvw0rAKni4,44883
201
+ codebuff_agent-2.1.82.data/data/share/jupyter/labextensions/codebuff/static/432.a749eb54fdc324b18cfa.js.LICENSE.txt,sha256=mlhymahwls4499g-vGLVU9Lxqw3zTOvv42ZLrJkGXbM,488
202
+ codebuff_agent-2.1.82.data/data/share/jupyter/labextensions/codebuff/static/439.ba5b5ef70ec6de214b8c.js,sha256=jvm4vHxAXO-fZoVqZqnx4qUuz-23MdavPCVB2zdHr5c,7497
203
+ codebuff_agent-2.1.82.data/data/share/jupyter/labextensions/codebuff/static/439.ba5b5ef70ec6de214b8c.js.LICENSE.txt,sha256=lqUlGHhVY3z3mcV-sTwREZRm1KQ7maSiV6-Gm8RSQNY,246
204
+ codebuff_agent-2.1.82.data/data/share/jupyter/labextensions/codebuff/static/481.cc2dec9fa869d66f1407.js,sha256=zC3sn6hp1m8UBx3gqzUz-02FaorPolqH7yKeK_ofIEg,23159
205
+ codebuff_agent-2.1.82.data/data/share/jupyter/labextensions/codebuff/static/487.0796e931d6e651482c14.js,sha256=B5bpMdbmUUgsFL7SCWiFcY9EYp2MQsWSysVsPCqCZzE,11375
206
+ codebuff_agent-2.1.82.data/data/share/jupyter/labextensions/codebuff/static/49.d326f554b6f9ccde6580.js,sha256=0yb1VLb5zN5lgFN8HZpkBbuBaQUeuJe7U5Ec-0qebY0,37796
207
+ codebuff_agent-2.1.82.data/data/share/jupyter/labextensions/codebuff/static/579.3bc73eef11d3e0ce5d0c.js,sha256=O8c-7xHT4M5dDN_QaLAXOv1vNvMgcdiK_57YCDZEyJI,192647
208
+ codebuff_agent-2.1.82.data/data/share/jupyter/labextensions/codebuff/static/58.eb7cc679f7535cc8a2f1.js,sha256=gdv-HEOQWn46_6fkKzIqx26GrfKOa62aodnM1trD5nU,8080
209
+ codebuff_agent-2.1.82.data/data/share/jupyter/labextensions/codebuff/static/58.eb7cc679f7535cc8a2f1.js.LICENSE.txt,sha256=lqUlGHhVY3z3mcV-sTwREZRm1KQ7maSiV6-Gm8RSQNY,246
210
+ codebuff_agent-2.1.82.data/data/share/jupyter/labextensions/codebuff/static/666.d9bfdb23f98489d0a188.js,sha256=2b_bI_mEidChiCaENfxTQtkswntodquGofjBXhN8--g,9718
211
+ codebuff_agent-2.1.82.data/data/share/jupyter/labextensions/codebuff/static/677.d266c39dbed33bc388b3.js,sha256=5p_TSXMsQ26sJcaw40hTChjum9MCOguSwMPR6wRqTE8,11523
212
+ codebuff_agent-2.1.82.data/data/share/jupyter/labextensions/codebuff/static/677.d266c39dbed33bc388b3.js.LICENSE.txt,sha256=lqUlGHhVY3z3mcV-sTwREZRm1KQ7maSiV6-Gm8RSQNY,246
213
+ codebuff_agent-2.1.82.data/data/share/jupyter/labextensions/codebuff/static/68.26b6f59c8454adb17f20.js,sha256=Jrb1nIRUrbF_IEXU7CJRLbiRG9uNVBTOcPpYVYyD0t8,484028
214
+ codebuff_agent-2.1.82.data/data/share/jupyter/labextensions/codebuff/static/868.5cfe7e1a348ec5af1b8c.js,sha256=XP5-GjSOxa8bjNK9wNbZQqz14rF2h8P0J3LsRwC5o10,7933
215
+ codebuff_agent-2.1.82.data/data/share/jupyter/labextensions/codebuff/static/remoteEntry.ba3b83fa462c70c6ce4d.js,sha256=ujuD-kYscMbOTY0fI1TWP-ZLbggomFuMaVxoJa2p7yg,12078
216
+ codebuff_agent-2.1.82.data/data/share/jupyter/labextensions/codebuff/static/style.js,sha256=MorHEvkG0Oe-uZ7t7oFa5X01nqPLFSwlC2attA72Jr8,161
217
+ codebuff_agent-2.1.82.data/data/share/jupyter/labextensions/codebuff/static/third-party-licenses.json,sha256=luwtTWx15amrLYftafSAMx2ZV1sp32gCs_uslfNrf9Y,65553
218
+ codebuff_agent-2.1.82.data/data/share/jupyter/lab/settings/overrides.d/codebuff.json,sha256=3n2FDnLgE0aKOyn45RvyKWZKBpz7bvoA5QtxQLyM4a0,122
219
+ codebuff_agent-2.1.82.dist-info/METADATA,sha256=CJzARiifBRKd-cBh0fFfr-QdMYvUdO0j1HoxQlLqF1w,4314
220
+ codebuff_agent-2.1.82.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
221
+ codebuff_agent-2.1.82.dist-info/licenses/LICENSE,sha256=LZnhgcr8NXVgC4ewcnNjWlYahaIS_KLMxKWDCZkHpQo,1061
222
+ codebuff_agent-2.1.82.dist-info/RECORD,,
jupyter_ext/_version.py CHANGED
@@ -1,4 +1,4 @@
1
1
  # This file is auto-generated by Hatchling. As such, do not:
2
2
  # - modify
3
3
  # - track in version control e.g. be sure to add to .gitignore
4
- __version__ = VERSION = '2.1.81'
4
+ __version__ = VERSION = '2.1.82'
@@ -1,5 +1,5 @@
1
1
  # codebuff 가 Serena 를 띄울 때 쓰는 컨텍스트 (이슈 #522).
2
- # 화이트리스트 7종만 남기고 Serena 1.7.0 의 나머지 도구를 전부 뺀다. 셸 실행·파일 쓰기·메모리·
2
+ # 화이트리스트 7종만 남기고 Serena 2.1.0 의 나머지 도구를 전부 뺀다. 셸 실행·파일 쓰기·메모리·
3
3
  # 프로젝트 전환 도구가 모델에 닿지 않게 한다 — 브릿지도 이름을 한 번 더 거른다.
4
4
  # 제외 목록 ∪ 화이트리스트 = schemas/serena/tools.json 은 backend/tests/test_serena_relay.py 가 잰다.
5
5
  description: codebuff symbol relay - whitelisted symbolic tools only
@@ -49,6 +49,7 @@ excluded_tools:
49
49
  - safe_delete_symbol
50
50
  - search_for_pattern
51
51
  - serena_info
52
+ - serena_repl
52
53
  - write_memory
53
54
  included_optional_tools: []
54
55
  fixed_tools: []
@@ -20,6 +20,7 @@ import hashlib
20
20
  import json
21
21
  import logging
22
22
  import os
23
+ import shutil
23
24
  import signal
24
25
  import subprocess
25
26
  import threading
@@ -365,13 +366,68 @@ def _ls_settings() -> Dict[str, Any]:
365
366
  "python_basedpyright": {
366
367
  "ls_path": _bin("venv", "bin", "basedpyright-langserver")
367
368
  },
368
- "typescript": {
369
- "ls_path": _bin("ts", "node_modules", ".bin", "typescript-language-server")
370
- },
369
+ "typescript": _typescript_settings(),
371
370
  "java": java,
372
371
  }
373
372
 
374
373
 
374
+ # Serena 2.x 는 신뢰하지 않는 프로젝트의 tsserver 를 자기가 관리하는 TypeScript 로 고정한다 — 그 설치가
375
+ # 없으면 언어 서버 관리자를 아예 띄우지 않아 Python 도구까지 막힌다(lks21c/codebuff#632, 2.1.0 실측).
376
+ # 망 없이 번들의 TypeScript 를 쓰므로 그 자리(`SERENA_HOME/language_servers/static/...`)에 링크한다.
377
+ _TS_RESOURCES = ("language_servers", "static", "TypeScriptLanguageServer")
378
+ # solidlsp 의 INITIAL_TYPESCRIPT_* — 이 짝만 판 없는 `ts-lsp` 폴더를 쓰고, 나머지는 `ts-lsp-<판>-<판>`
379
+ _SERENA_INITIAL_TS = ("5.9.3", "5.1.3")
380
+
381
+
382
+ def _bundled_typescript_versions() -> Optional[Tuple[str, str]]:
383
+ """번들 TypeScript·typescript-language-server 판. 번들이 없으면 None."""
384
+ versions = []
385
+ for pkg in ("typescript", "typescript-language-server"):
386
+ try:
387
+ with open(
388
+ _bin("ts", "node_modules", pkg, "package.json"), encoding="utf-8"
389
+ ) as f:
390
+ versions.append(str(json.load(f)["version"]))
391
+ except (OSError, ValueError, KeyError):
392
+ return None
393
+ return versions[0], versions[1]
394
+
395
+
396
+ def _typescript_settings() -> Dict[str, Any]:
397
+ settings: Dict[str, Any] = {
398
+ "ls_path": _bin("ts", "node_modules", ".bin", "typescript-language-server")
399
+ }
400
+ versions = _bundled_typescript_versions()
401
+ if versions:
402
+ # Serena 가 고정할 TypeScript 판 = 번들 판 (`pin_bundled_typescript` 가 링크한 자리)
403
+ (
404
+ settings["typescript_version"],
405
+ settings["typescript_language_server_version"],
406
+ ) = versions
407
+ return settings
408
+
409
+
410
+ def pin_bundled_typescript(home: str) -> None:
411
+ """Serena 가 tsserver 를 고정할 자리에 번들 `node_modules` 를 링크한다. 번들이 없으면 하지 않는다."""
412
+ versions = _bundled_typescript_versions()
413
+ if versions is None:
414
+ return
415
+ name = (
416
+ "ts-lsp" if versions == _SERENA_INITIAL_TS else "ts-lsp-{}-{}".format(*versions)
417
+ )
418
+ install_dir = os.path.join(home, *_TS_RESOURCES, name)
419
+ link = os.path.join(install_dir, "node_modules")
420
+ target = _bin("ts", "node_modules")
421
+ if os.path.islink(link) and os.readlink(link) == target:
422
+ return
423
+ os.makedirs(install_dir, exist_ok=True)
424
+ if os.path.islink(link) or os.path.isfile(link):
425
+ os.remove(link)
426
+ elif os.path.isdir(link):
427
+ shutil.rmtree(link)
428
+ os.symlink(target, link)
429
+
430
+
375
431
  def _ignored_paths(root: str) -> List[str]:
376
432
  """홈을 루트로 열면 캐시·가상환경까지 색인하므로 범위를 줄인다."""
377
433
  if os.path.realpath(root) != os.path.realpath(os.path.expanduser("~")):
@@ -659,6 +715,7 @@ class SerenaRelay:
659
715
  _write_json(
660
716
  os.path.join(home, "serena_config.yml"), serena_config(home, folder)
661
717
  )
718
+ pin_bundled_typescript(home)
662
719
  # 미리 만들어 둬야 Serena 가 워크스페이스 안 `.serena` 로 물러나지 않는다
663
720
  os.makedirs(folder, exist_ok=True)
664
721
  _write_json(
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codebuff",
3
- "version": "2.1.81",
3
+ "version": "2.1.82",
4
4
  "description": "Codebuff JupyterLab Extension - Thin client for Agent Server",
5
5
  "keywords": [
6
6
  "jupyter",
@@ -146,7 +146,7 @@
146
146
  }
147
147
  },
148
148
  "_build": {
149
- "load": "static/remoteEntry.b59839de3c537d238174.js",
149
+ "load": "static/remoteEntry.ba3b83fa462c70c6ce4d.js",
150
150
  "extension": "./extension",
151
151
  "style": "./style"
152
152
  }
@@ -1 +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(351),r.e(345),r.e(586),r.e(195),r.e(273)]).then(()=>()=>r(6273)),"./extension":()=>Promise.all([r.e(666),r.e(432),r.e(351),r.e(345),r.e(586),r.e(195),r.e(273)]).then(()=>()=>r(6273)),"./style":()=>r.e(579).then(()=>()=>r(6579))},n=(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),a=(e,t)=>{if(!r.S)return;const o="default",n=r.S[o];if(n&&n!==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:()=>n,init:()=>a})}};const t={};function r(o){const n=t[o];if(void 0!==n)return n.exports;const a=t[o]={id:o,exports:{}};return e[o](a,a.exports,r),a.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,n){if(1&n&&(o=this(o)),8&n)return o;if("object"==typeof o&&o){if(4&n&&o.__esModule)return o;if(16&n&&"function"==typeof o.then)return o}const a=Object.create(null);r.r(a);const l={};t=t||[null,e({}),e([]),e(e)];for(var f=2&n&&o;("object"==typeof f||"function"==typeof f)&&!~t.indexOf(f);f=e(f))Object.getOwnPropertyNames(f).forEach(e=>l[e]=()=>o[e]);return l.default=()=>o,r.d(a,l),a}})(),r.d=(e,t)=>{if(Array.isArray(t))for(var o=0;o<t.length;){var n=t[o++],a=t[o++],l=0===a?{enumerable:!0,value:t[o++]}:{enumerable:!0,get:a};r.o(e,n)||Object.defineProperty(e,n,l)}else for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},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",166:"386ff9b2c37ac865fdee",273:"1fa59c002e2049d6361c",351:"e796b81287b53635cfa4",353:"581bd1cb00746399b62e",367:"575f9621b63c9a641aa9",421:"11dac223a2c2da1b09f5",432:"a749eb54fdc324b18cfa",439:"ba5b5ef70ec6de214b8c",481:"cc2dec9fa869d66f1407",487:"0796e931d6e651482c14",579:"3bc73eef11d3e0ce5d0c",666:"d9bfdb23f98489d0a188",677:"d266c39dbed33bc388b3",868:"5cfe7e1a348ec5af1b8c"}[e]+".js?v="+{49:"d326f554b6f9ccde6580",58:"eb7cc679f7535cc8a2f1",68:"26b6f59c8454adb17f20",166:"386ff9b2c37ac865fdee",273:"1fa59c002e2049d6361c",351:"e796b81287b53635cfa4",353:"581bd1cb00746399b62e",367:"575f9621b63c9a641aa9",421:"11dac223a2c2da1b09f5",432:"a749eb54fdc324b18cfa",439:"ba5b5ef70ec6de214b8c",481:"cc2dec9fa869d66f1407",487:"0796e931d6e651482c14",579:"3bc73eef11d3e0ce5d0c",666:"d9bfdb23f98489d0a188",677:"d266c39dbed33bc388b3",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,n,a,l)=>{if(e[o])return void e[o].push(n);let f,i;if(void 0!==a){const e=document.getElementsByTagName("script");for(var c=0;c<e.length;c++){const r=e[c];if(r.getAttribute("src")==o||r.getAttribute("data-webpack")==t+a){f=r;break}}}f||(i=!0,f=document.createElement("script"),f.charset="utf-8",r.nc&&f.setAttribute("nonce",r.nc),f.setAttribute("data-webpack",t+a),f.src=o),e[o]=[n];const d=(t,r)=>{f.onerror=f.onload=null,clearTimeout(u);const n=e[o];if(delete e[o],f.parentNode?.removeChild(f),n?.forEach(e=>e(r)),t)return t(r)},u=setTimeout(d.bind(null,void 0,{type:"timeout",target:f}),12e4);f.onerror=d.bind(null,f.onerror),f.onload=d.bind(null,f.onload),i&&document.head.appendChild(f)}})(),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,n)=>{n||(n=[]);let a=t[o];if(a||(a=t[o]={}),n.indexOf(a)>=0)return;if(n.push(a),e[o])return e[o];r.o(r.S,o)||(r.S[o]={});const l=r.S[o],f="codebuff",i=(e,t,r,o)=>{const n=l[e]=l[e]||{},a=n[t];(!a||!a.loaded&&(!o!=!a.eager?o:f>a.from))&&(n[t]={get:r,from:f,eager:!!o})},c=[];return"default"===o&&(i("@codemirror/commands","6.8.1",()=>Promise.all([r.e(353),r.e(708),r.e(11),r.e(195)]).then(()=>()=>r(4353))),i("@emotion/react","11.14.0",()=>Promise.all([r.e(666),r.e(345),r.e(677)]).then(()=>()=>r(7677))),i("@emotion/styled","11.14.1",()=>Promise.all([r.e(345),r.e(744),r.e(487)]).then(()=>()=>r(1868))),i("@lezer/java","1.1.4",()=>Promise.all([r.e(421),r.e(367),r.e(708),r.e(839)]).then(()=>()=>r(7367))),i("@lezer/javascript","1.5.5",()=>Promise.all([r.e(421),r.e(166),r.e(708),r.e(839)]).then(()=>()=>r(166))),i("@lezer/python","1.1.19",()=>Promise.all([r.e(421),r.e(49),r.e(708),r.e(839)]).then(()=>()=>r(49))),i("@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))),i("codebuff","2.1.81",()=>Promise.all([r.e(666),r.e(432),r.e(351),r.e(345),r.e(586),r.e(195),r.e(273)]).then(()=>()=>r(6273))),i("diff","0",()=>r.e(481).then(()=>()=>r(7481)))),e[o]=c.length?Promise.all(c).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 n=t[o],a=(typeof n)[0];if(o>=r.length)return"u"==a;var l=r[o],f=(typeof l)[0];if(a!=f)return"o"==a&&"n"==f||"s"==f||"u"==a;if("o"!=a&&"u"!=a&&n!=l)return n<l;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 n=1,a=1;a<e.length;a++)n--,r+="u"==(typeof(f=e[a]))[0]?"-":(n>0?".":"")+(n=2,f);return r}var l=[];for(a=1;a<e.length;a++){var f=e[a];l.push(0===f?"not("+i()+")":1===f?"("+i()+" || "+i()+")":2===f?l.pop()+" "+l.pop():o(f))}return i();function i(){return l.pop().replace(/^\((.+)\)$/,"$1")}},n=(t,r)=>{if(0 in t){r=e(r);var o=t[0],a=o<0;a&&(o=-o-1);for(var l=0,f=1,i=!0;;f++,l++){var c,d,u=f<t.length?(typeof t[f])[0]:"";if(l>=r.length||"o"==(d=(typeof(c=r[l]))[0]))return!i||("u"==u?f>o&&!a:""==u!=a);if("u"==d){if(!i||"u"!=u)return!1}else if(i)if(u==d)if(f<=o){if(c!=t[f])return!1}else{if(a?c>t[f]:c<t[f])return!1;c!=t[f]&&(i=!1)}else if("s"!=u&&"n"!=u){if(a||f<=o)return!1;i=!1,f--}else{if(f<=o||d<u!=a)return!1;i=!1}else"s"!=u&&"n"!=u&&(i=!1,f--)}}var s=[],b=s.pop.bind(s);for(l=1;l<t.length;l++){var p=t[l];s.push(1==p?b()|b():2==p?b()&b():p?n(p,r):!b())}return!!b()};const a=(e,t)=>e&&r.o(e,t),l=e=>(e.loaded=1,e.get()),f=e=>Object.keys(e).reduce((t,r)=>(e[r].eager&&(t[r]=e[r]),t),{}),i=e=>{throw new Error(e)},c=e=>function(t,o,n,a,l){const f=r.I(t);return f?.then&&!n?f.then(e.bind(e,t,r.S[t],o,!1,a,l)):e(t,r.S[t],o,n,a,l)},d=(e,t,r)=>r?r():((e,t)=>i("Shared module "+t+" doesn't exist in shared scope "+e))(e,t),u=c((e,r,c,u,s,b)=>{if(!a(r,c))return d(e,c,b);const p=((e,r,o,a)=>{const l=a?f(e[r]):e[r];return(r=Object.keys(l).reduce((e,r)=>!n(o,r)||e&&!t(e,r)?e:r,0))&&l[r]})(r,c,s,u);return p?l(p):b?b():void i(((e,t,r,n,a)=>{const l=e[r];return"No satisfying version ("+o(n)+")"+(a?" for eager consumption":"")+" of shared module "+r+" found in shared scope "+t+".\nAvailable versions: "+Object.keys(l).map(e=>e+" from "+l[e].from).join(", ")})(r,e,c,s,u))}),s=c((e,r,i,c,u,s)=>{if(!a(r,i))return d(e,i,s);const b=((e,r,o)=>{const n=o?f(e[r]):e[r];return Object.keys(n).reduce((e,r)=>!e||!n[e].loaded&&t(e,r)?r:e,0)})(r,i,c);return n(u,b)||(p=((e,t,r,n)=>"Unsatisfied version "+r+" from "+(r&&e[t][r].from)+" of shared singleton module "+t+" (required "+o(n)+")")(r,i,b,u),"undefined"!=typeof console&&console.warn&&console.warn(p)),l(r[i][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]),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]),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))),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],195:[2576],273:[277,1247,1409,1805,1907,2780,3118,3366,4849,5584,5690,5705,6580,6661,6822,7125,7292,8389,8454,9827],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 n=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(n)):o(r)}catch(e){n(e)}}})}})(),(()=>{r.b="undefined"!=typeof document&&document.baseURI||self.location.href;const e={679:0};r.f.j=(t,o)=>{let n=r.o(e,t)?e[t]:void 0;if(0!==n)if(n)o.push(n[2]);else if(/^(11|195|345|586|708|744|839)$/.test(t))e[t]=0;else{const a=new Promise((r,o)=>n=e[t]=[r,o]);o.push(n[2]=a);const l=new Error,f=o=>{if(r.o(e,t)&&(n=e[t],0!==n&&(e[t]=void 0),n)){const e=o&&("load"===o.type?"missing":o.type),r=o&&o.target&&o.target.src;l.message="Loading chunk "+t+" failed.\n("+e+": "+r+")",l.name="ChunkLoadError",l.type=e,l.request=r,l.event=o,n[1](l)}};r.l(r.p+r.u(t),f,"chunk-"+t,t)}};const t=(t,o)=>{let[n,a,l]=o;var f,i,c=0;if(n.some(t=>0!==e[t])){for(f in a)r.o(a,f)&&(r.m[f]=a[f]);l&&l(r)}for(t&&t(o);c<n.length;c++)i=n[c],r.o(e,i)&&e[i]&&e[i][0](),e[i]=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})();
1
+ var _JUPYTERLAB;(()=>{"use strict";var e={8384(e,t,r){const o={"./index":()=>Promise.all([r.e(666),r.e(432),r.e(351),r.e(345),r.e(586),r.e(195),r.e(273)]).then(()=>()=>r(6273)),"./extension":()=>Promise.all([r.e(666),r.e(432),r.e(351),r.e(345),r.e(586),r.e(195),r.e(273)]).then(()=>()=>r(6273)),"./style":()=>r.e(579).then(()=>()=>r(6579))},n=(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),a=(e,t)=>{if(!r.S)return;const o="default",n=r.S[o];if(n&&n!==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:()=>n,init:()=>a})}};const t={};function r(o){const n=t[o];if(void 0!==n)return n.exports;const a=t[o]={id:o,exports:{}};return e[o](a,a.exports,r),a.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,n){if(1&n&&(o=this(o)),8&n)return o;if("object"==typeof o&&o){if(4&n&&o.__esModule)return o;if(16&n&&"function"==typeof o.then)return o}const a=Object.create(null);r.r(a);const l={};t=t||[null,e({}),e([]),e(e)];for(var f=2&n&&o;("object"==typeof f||"function"==typeof f)&&!~t.indexOf(f);f=e(f))Object.getOwnPropertyNames(f).forEach(e=>l[e]=()=>o[e]);return l.default=()=>o,r.d(a,l),a}})(),r.d=(e,t)=>{if(Array.isArray(t))for(var o=0;o<t.length;){var n=t[o++],a=t[o++],l=0===a?{enumerable:!0,value:t[o++]}:{enumerable:!0,get:a};r.o(e,n)||Object.defineProperty(e,n,l)}else for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},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",166:"386ff9b2c37ac865fdee",273:"1fa59c002e2049d6361c",351:"e796b81287b53635cfa4",353:"581bd1cb00746399b62e",367:"575f9621b63c9a641aa9",421:"11dac223a2c2da1b09f5",432:"a749eb54fdc324b18cfa",439:"ba5b5ef70ec6de214b8c",481:"cc2dec9fa869d66f1407",487:"0796e931d6e651482c14",579:"3bc73eef11d3e0ce5d0c",666:"d9bfdb23f98489d0a188",677:"d266c39dbed33bc388b3",868:"5cfe7e1a348ec5af1b8c"}[e]+".js?v="+{49:"d326f554b6f9ccde6580",58:"eb7cc679f7535cc8a2f1",68:"26b6f59c8454adb17f20",166:"386ff9b2c37ac865fdee",273:"1fa59c002e2049d6361c",351:"e796b81287b53635cfa4",353:"581bd1cb00746399b62e",367:"575f9621b63c9a641aa9",421:"11dac223a2c2da1b09f5",432:"a749eb54fdc324b18cfa",439:"ba5b5ef70ec6de214b8c",481:"cc2dec9fa869d66f1407",487:"0796e931d6e651482c14",579:"3bc73eef11d3e0ce5d0c",666:"d9bfdb23f98489d0a188",677:"d266c39dbed33bc388b3",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,n,a,l)=>{if(e[o])return void e[o].push(n);let f,i;if(void 0!==a){const e=document.getElementsByTagName("script");for(var c=0;c<e.length;c++){const r=e[c];if(r.getAttribute("src")==o||r.getAttribute("data-webpack")==t+a){f=r;break}}}f||(i=!0,f=document.createElement("script"),f.charset="utf-8",r.nc&&f.setAttribute("nonce",r.nc),f.setAttribute("data-webpack",t+a),f.src=o),e[o]=[n];const d=(t,r)=>{f.onerror=f.onload=null,clearTimeout(u);const n=e[o];if(delete e[o],f.parentNode?.removeChild(f),n?.forEach(e=>e(r)),t)return t(r)},u=setTimeout(d.bind(null,void 0,{type:"timeout",target:f}),12e4);f.onerror=d.bind(null,f.onerror),f.onload=d.bind(null,f.onload),i&&document.head.appendChild(f)}})(),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,n)=>{n||(n=[]);let a=t[o];if(a||(a=t[o]={}),n.indexOf(a)>=0)return;if(n.push(a),e[o])return e[o];r.o(r.S,o)||(r.S[o]={});const l=r.S[o],f="codebuff",i=(e,t,r,o)=>{const n=l[e]=l[e]||{},a=n[t];(!a||!a.loaded&&(!o!=!a.eager?o:f>a.from))&&(n[t]={get:r,from:f,eager:!!o})},c=[];return"default"===o&&(i("@codemirror/commands","6.8.1",()=>Promise.all([r.e(353),r.e(708),r.e(11),r.e(195)]).then(()=>()=>r(4353))),i("@emotion/react","11.14.0",()=>Promise.all([r.e(666),r.e(345),r.e(677)]).then(()=>()=>r(7677))),i("@emotion/styled","11.14.1",()=>Promise.all([r.e(345),r.e(744),r.e(487)]).then(()=>()=>r(1868))),i("@lezer/java","1.1.4",()=>Promise.all([r.e(421),r.e(367),r.e(708),r.e(839)]).then(()=>()=>r(7367))),i("@lezer/javascript","1.5.5",()=>Promise.all([r.e(421),r.e(166),r.e(708),r.e(839)]).then(()=>()=>r(166))),i("@lezer/python","1.1.19",()=>Promise.all([r.e(421),r.e(49),r.e(708),r.e(839)]).then(()=>()=>r(49))),i("@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))),i("codebuff","2.1.82",()=>Promise.all([r.e(666),r.e(432),r.e(351),r.e(345),r.e(586),r.e(195),r.e(273)]).then(()=>()=>r(6273))),i("diff","0",()=>r.e(481).then(()=>()=>r(7481)))),e[o]=c.length?Promise.all(c).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 n=t[o],a=(typeof n)[0];if(o>=r.length)return"u"==a;var l=r[o],f=(typeof l)[0];if(a!=f)return"o"==a&&"n"==f||"s"==f||"u"==a;if("o"!=a&&"u"!=a&&n!=l)return n<l;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 n=1,a=1;a<e.length;a++)n--,r+="u"==(typeof(f=e[a]))[0]?"-":(n>0?".":"")+(n=2,f);return r}var l=[];for(a=1;a<e.length;a++){var f=e[a];l.push(0===f?"not("+i()+")":1===f?"("+i()+" || "+i()+")":2===f?l.pop()+" "+l.pop():o(f))}return i();function i(){return l.pop().replace(/^\((.+)\)$/,"$1")}},n=(t,r)=>{if(0 in t){r=e(r);var o=t[0],a=o<0;a&&(o=-o-1);for(var l=0,f=1,i=!0;;f++,l++){var c,d,u=f<t.length?(typeof t[f])[0]:"";if(l>=r.length||"o"==(d=(typeof(c=r[l]))[0]))return!i||("u"==u?f>o&&!a:""==u!=a);if("u"==d){if(!i||"u"!=u)return!1}else if(i)if(u==d)if(f<=o){if(c!=t[f])return!1}else{if(a?c>t[f]:c<t[f])return!1;c!=t[f]&&(i=!1)}else if("s"!=u&&"n"!=u){if(a||f<=o)return!1;i=!1,f--}else{if(f<=o||d<u!=a)return!1;i=!1}else"s"!=u&&"n"!=u&&(i=!1,f--)}}var s=[],b=s.pop.bind(s);for(l=1;l<t.length;l++){var p=t[l];s.push(1==p?b()|b():2==p?b()&b():p?n(p,r):!b())}return!!b()};const a=(e,t)=>e&&r.o(e,t),l=e=>(e.loaded=1,e.get()),f=e=>Object.keys(e).reduce((t,r)=>(e[r].eager&&(t[r]=e[r]),t),{}),i=e=>{throw new Error(e)},c=e=>function(t,o,n,a,l){const f=r.I(t);return f?.then&&!n?f.then(e.bind(e,t,r.S[t],o,!1,a,l)):e(t,r.S[t],o,n,a,l)},d=(e,t,r)=>r?r():((e,t)=>i("Shared module "+t+" doesn't exist in shared scope "+e))(e,t),u=c((e,r,c,u,s,b)=>{if(!a(r,c))return d(e,c,b);const p=((e,r,o,a)=>{const l=a?f(e[r]):e[r];return(r=Object.keys(l).reduce((e,r)=>!n(o,r)||e&&!t(e,r)?e:r,0))&&l[r]})(r,c,s,u);return p?l(p):b?b():void i(((e,t,r,n,a)=>{const l=e[r];return"No satisfying version ("+o(n)+")"+(a?" for eager consumption":"")+" of shared module "+r+" found in shared scope "+t+".\nAvailable versions: "+Object.keys(l).map(e=>e+" from "+l[e].from).join(", ")})(r,e,c,s,u))}),s=c((e,r,i,c,u,s)=>{if(!a(r,i))return d(e,i,s);const b=((e,r,o)=>{const n=o?f(e[r]):e[r];return Object.keys(n).reduce((e,r)=>!e||!n[e].loaded&&t(e,r)?r:e,0)})(r,i,c);return n(u,b)||(p=((e,t,r,n)=>"Unsatisfied version "+r+" from "+(r&&e[t][r].from)+" of shared singleton module "+t+" (required "+o(n)+")")(r,i,b,u),"undefined"!=typeof console&&console.warn&&console.warn(p)),l(r[i][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]),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]),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))),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],195:[2576],273:[277,1247,1409,1805,1907,2780,3118,3366,4849,5584,5690,5705,6580,6661,6822,7125,7292,8389,8454,9827],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 n=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(n)):o(r)}catch(e){n(e)}}})}})(),(()=>{r.b="undefined"!=typeof document&&document.baseURI||self.location.href;const e={679:0};r.f.j=(t,o)=>{let n=r.o(e,t)?e[t]:void 0;if(0!==n)if(n)o.push(n[2]);else if(/^(11|195|345|586|708|744|839)$/.test(t))e[t]=0;else{const a=new Promise((r,o)=>n=e[t]=[r,o]);o.push(n[2]=a);const l=new Error,f=o=>{if(r.o(e,t)&&(n=e[t],0!==n&&(e[t]=void 0),n)){const e=o&&("load"===o.type?"missing":o.type),r=o&&o.target&&o.target.src;l.message="Loading chunk "+t+" failed.\n("+e+": "+r+")",l.name="ChunkLoadError",l.type=e,l.request=r,l.event=o,n[1](l)}};r.l(r.p+r.u(t),f,"chunk-"+t,t)}};const t=(t,o)=>{let[n,a,l]=o;var f,i,c=0;if(n.some(t=>0!==e[t])){for(f in a)r.o(a,f)&&(r.m[f]=a[f]);l&&l(r)}for(t&&t(o);c<n.length;c++)i=n[c],r.o(e,i)&&e[i]&&e[i][0](),e[i]=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})();