@sma1lboy/rove 0.9.296-next.331 → 0.9.296-next.333
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.
- package/dist/cli/{chunk-yzdpmamq.js → chunk-0rv7w4v4.js} +1 -1
- package/dist/cli/{chunk-6evkd8be.js → chunk-2bcx7mr0.js} +1 -1
- package/dist/cli/{chunk-7wwdcw8e.js → chunk-2dfmar86.js} +1 -1
- package/dist/cli/{chunk-b53drx76.js → chunk-2estgrxt.js} +1 -1
- package/dist/cli/{chunk-4n7s5h9s.js → chunk-3eh6pntq.js} +1 -1
- package/dist/cli/{chunk-3pbbf6hf.js → chunk-4cxksn0m.js} +1 -1
- package/dist/cli/{chunk-y2pt0wa6.js → chunk-57fyywpr.js} +1 -1
- package/dist/cli/{chunk-wg9agpvf.js → chunk-57t0d5md.js} +2 -2
- package/dist/cli/{chunk-vyh3ddp0.js → chunk-6tmrxtbm.js} +1 -1
- package/dist/cli/{chunk-9bhf8tkd.js → chunk-6txw5ga4.js} +2 -2
- package/dist/cli/{chunk-a2z0b48q.js → chunk-9fhga6tn.js} +1 -1
- package/dist/cli/{chunk-t7thxgcc.js → chunk-9kjcwgzk.js} +1 -1
- package/dist/cli/{chunk-5wjskd40.js → chunk-a8fhxzhw.js} +1 -1
- package/dist/cli/{chunk-jyakk1ah.js → chunk-asbx3d9k.js} +2 -2
- package/dist/cli/{chunk-5g01tqn6.js → chunk-c7edxhfv.js} +2 -2
- package/dist/cli/{chunk-fj8awvx3.js → chunk-cg9gwkyh.js} +1 -1
- package/dist/cli/{chunk-9wre0m8x.js → chunk-d2y7z48q.js} +1 -1
- package/dist/cli/{chunk-ne7bbq1z.js → chunk-d6cxt22a.js} +1 -1
- package/dist/cli/{chunk-nawvr7j5.js → chunk-dq87kh97.js} +1 -1
- package/dist/cli/{chunk-v8e5smwe.js → chunk-e51bbz6q.js} +1 -1
- package/dist/cli/{chunk-etac300d.js → chunk-egbw8zc1.js} +1 -1
- package/dist/cli/{chunk-r271mcer.js → chunk-erg9q7pe.js} +1 -1
- package/dist/cli/{chunk-gceeh3yr.js → chunk-etezf75n.js} +1 -1
- package/dist/cli/{chunk-pywaz045.js → chunk-exwnk9mc.js} +1 -1
- package/dist/cli/{chunk-38w60dmy.js → chunk-ezhc0abj.js} +1 -1
- package/dist/cli/{chunk-5jd2z8n0.js → chunk-fnxezrzw.js} +1 -1
- package/dist/cli/{chunk-8hcmyjjn.js → chunk-jq7sk339.js} +1 -1
- package/dist/cli/{chunk-4sfdr0qw.js → chunk-kstk08w7.js} +1 -1
- package/dist/cli/{chunk-352dhjkf.js → chunk-mqsntrr6.js} +1 -1
- package/dist/cli/{chunk-qqc8mn6x.js → chunk-mr91n29d.js} +1 -1
- package/dist/cli/{chunk-6br2a2ze.js → chunk-nenr37me.js} +1 -1
- package/dist/cli/{chunk-g37q36fs.js → chunk-nfbqdwxh.js} +1 -1
- package/dist/cli/{chunk-66vj434n.js → chunk-np5my5y3.js} +2 -2
- package/dist/cli/{chunk-f5hhhn3x.js → chunk-q164cca8.js} +1 -1
- package/dist/cli/{chunk-9we0f035.js → chunk-q22ssmxt.js} +1 -1
- package/dist/cli/{chunk-nv64scpb.js → chunk-qbbvm5vz.js} +1 -1
- package/dist/cli/{chunk-49zh8bgk.js → chunk-r1ak6h6q.js} +1 -1
- package/dist/cli/{chunk-qgf01sm2.js → chunk-rhxexva3.js} +1 -1
- package/dist/cli/{chunk-fqm68m42.js → chunk-rsjf2cw2.js} +1 -1
- package/dist/cli/{chunk-q5ncrh80.js → chunk-t239am4n.js} +1 -1
- package/dist/cli/{chunk-bk2vb6jj.js → chunk-t92c3ybm.js} +1 -1
- package/dist/cli/{chunk-fhejs7ph.js → chunk-w8bt7fkx.js} +1 -1
- package/dist/cli/{chunk-95tzjzgb.js → chunk-wpmznzct.js} +1 -1
- package/dist/cli/{chunk-pferbnyr.js → chunk-z679cr11.js} +1 -1
- package/dist/cli/{chunk-d63mrw6g.js → chunk-zheq7et2.js} +1 -1
- package/dist/cli/{chunk-09tyy8gw.js → chunk-zhzxq598.js} +1 -1
- package/dist/cli/index.js +2 -2
- package/dist/cli/rove.js +1 -1
- package/dist/web/assets/{index-BugGU1Rz.js → index-DpK1XboO.js} +4 -4
- package/dist/web/assets/{term-mount-DnP2B2rY.js → term-mount-C06bqCY7.js} +1 -1
- package/dist/web/index.html +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as e,c as t,d as n,f as r,h as i,i as a,l as o,m as s,n as c,o as l,p as u,r as d,s as f,t as p,u as m}from"./index-
|
|
1
|
+
import{a as e,c as t,d as n,f as r,h as i,i as a,l as o,m as s,n as c,o as l,p as u,r as d,s as f,t as p,u as m}from"./index-DpK1XboO.js";var h=0,g=0,_=0,v=0,y;(e=>{function t(e,t,n,r){return r===void 0?`#${C(e)}${C(t)}${C(n)}`:`#${C(e)}${C(t)}${C(n)}${C(r)}`}e.toCss=t;function n(e,t,n,r=255){return(e<<24|t<<16|n<<8|r)>>>0}e.toRgba=n;function r(t,n,r,i){return{css:e.toCss(t,n,r,i),rgba:e.toRgba(t,n,r,i)}}e.toColor=r})(y||={});var ee;(e=>{function t(e,t){if(v=(t.rgba&255)/255,v===1)return{css:t.css,rgba:t.rgba};let n=t.rgba>>24&255,r=t.rgba>>16&255,i=t.rgba>>8&255,a=e.rgba>>24&255,o=e.rgba>>16&255,s=e.rgba>>8&255;return h=a+Math.round((n-a)*v),g=o+Math.round((r-o)*v),_=s+Math.round((i-s)*v),{css:y.toCss(h,g,_),rgba:y.toRgba(h,g,_)}}e.blend=t;function n(e){return(e.rgba&255)==255}e.isOpaque=n;function r(e,t,n){let r=S.ensureContrastRatio(e.rgba,t.rgba,n);if(r)return y.toColor(r>>24&255,r>>16&255,r>>8&255)}e.ensureContrastRatio=r;function i(e){let t=(e.rgba|255)>>>0;return[h,g,_]=S.toChannels(t),{css:y.toCss(h,g,_),rgba:t}}e.opaque=i;function a(e,t){return v=Math.round(t*255),[h,g,_]=S.toChannels(e.rgba),{css:y.toCss(h,g,_,v),rgba:y.toRgba(h,g,_,v)}}e.opacity=a;function o(e,t){return v=e.rgba&255,a(e,v*t/255)}e.multiplyOpacity=o;function s(e){return[e.rgba>>24&255,e.rgba>>16&255,e.rgba>>8&255]}e.toColorRGB=s})(ee||={});var b;(e=>{let t,n;try{let e=document.createElement(`canvas`);e.width=1,e.height=1;let r=e.getContext(`2d`,{willReadFrequently:!0});r&&(t=r,t.globalCompositeOperation=`copy`,n=t.createLinearGradient(0,0,1,1))}catch{}function r(e){if(e.match(/#[\da-f]{3,8}/i))switch(e.length){case 4:return h=parseInt(e.slice(1,2).repeat(2),16),g=parseInt(e.slice(2,3).repeat(2),16),_=parseInt(e.slice(3,4).repeat(2),16),y.toColor(h,g,_);case 5:return h=parseInt(e.slice(1,2).repeat(2),16),g=parseInt(e.slice(2,3).repeat(2),16),_=parseInt(e.slice(3,4).repeat(2),16),v=parseInt(e.slice(4,5).repeat(2),16),y.toColor(h,g,_,v);case 7:return{css:e,rgba:(parseInt(e.slice(1),16)<<8|255)>>>0};case 9:return{css:e,rgba:parseInt(e.slice(1),16)>>>0}}let r=e.match(/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(,\s*(0|1|\d?\.(\d+))\s*)?\)/);if(r)return h=parseInt(r[1]),g=parseInt(r[2]),_=parseInt(r[3]),v=Math.round((r[5]===void 0?1:parseFloat(r[5]))*255),y.toColor(h,g,_,v);if(!t||!n||(t.fillStyle=n,t.fillStyle=e,typeof t.fillStyle!=`string`)||(t.fillRect(0,0,1,1),[h,g,_,v]=t.getImageData(0,0,1,1).data,v!==255))throw Error(`css.toColor: Unsupported css format`);return{rgba:y.toRgba(h,g,_,v),css:e}}e.toColor=r})(b||={});var x;(e=>{function t(e){return n(e>>16&255,e>>8&255,e&255)}e.relativeLuminance=t;function n(e,t,n){let r=e/255,i=t/255,a=n/255,o=r<=.03928?r/12.92:((r+.055)/1.055)**2.4,s=i<=.03928?i/12.92:((i+.055)/1.055)**2.4,c=a<=.03928?a/12.92:((a+.055)/1.055)**2.4;return o*.2126+s*.7152+c*.0722}e.relativeLuminance2=n})(x||={});var S;(e=>{function t(e,t){if(v=(t&255)/255,v===1)return t;let n=t>>24&255,r=t>>16&255,i=t>>8&255,a=e>>24&255,o=e>>16&255,s=e>>8&255;return h=a+Math.round((n-a)*v),g=o+Math.round((r-o)*v),_=s+Math.round((i-s)*v),y.toRgba(h,g,_)}e.blend=t;function n(e,t,n){let a=x.relativeLuminance(e>>8),o=x.relativeLuminance(t>>8);if(w(a,o)<n){if(o<a){let o=r(e,t,n),s=w(a,x.relativeLuminance(o>>8));if(s<n){let r=i(e,t,n);return s>w(a,x.relativeLuminance(r>>8))?o:r}return o}let s=i(e,t,n),c=w(a,x.relativeLuminance(s>>8));if(c<n){let i=r(e,t,n);return c>w(a,x.relativeLuminance(i>>8))?s:i}return s}}e.ensureContrastRatio=n;function r(e,t,n){let r=e>>24&255,i=e>>16&255,a=e>>8&255,o=t>>24&255,s=t>>16&255,c=t>>8&255,l=w(x.relativeLuminance2(o,s,c),x.relativeLuminance2(r,i,a));for(;l<n&&(o>0||s>0||c>0);)o-=Math.max(0,Math.ceil(o*.1)),s-=Math.max(0,Math.ceil(s*.1)),c-=Math.max(0,Math.ceil(c*.1)),l=w(x.relativeLuminance2(o,s,c),x.relativeLuminance2(r,i,a));return(o<<24|s<<16|c<<8|255)>>>0}e.reduceLuminance=r;function i(e,t,n){let r=e>>24&255,i=e>>16&255,a=e>>8&255,o=t>>24&255,s=t>>16&255,c=t>>8&255,l=w(x.relativeLuminance2(o,s,c),x.relativeLuminance2(r,i,a));for(;l<n&&(o<255||s<255||c<255);)o=Math.min(255,o+Math.ceil((255-o)*.1)),s=Math.min(255,s+Math.ceil((255-s)*.1)),c=Math.min(255,c+Math.ceil((255-c)*.1)),l=w(x.relativeLuminance2(o,s,c),x.relativeLuminance2(r,i,a));return(o<<24|s<<16|c<<8|255)>>>0}e.increaseLuminance=i;function a(e){return[e>>24&255,e>>16&255,e>>8&255,e&255]}e.toChannels=a})(S||={});function C(e){let t=e.toString(16);return t.length<2?`0`+t:t}function w(e,t){return e<t?(t+.05)/(e+.05):(e+.05)/(t+.05)}var te=Object.freeze((()=>{let e=[b.toColor(`#2e3436`),b.toColor(`#cc0000`),b.toColor(`#4e9a06`),b.toColor(`#c4a000`),b.toColor(`#3465a4`),b.toColor(`#75507b`),b.toColor(`#06989a`),b.toColor(`#d3d7cf`),b.toColor(`#555753`),b.toColor(`#ef2929`),b.toColor(`#8ae234`),b.toColor(`#fce94f`),b.toColor(`#729fcf`),b.toColor(`#ad7fa8`),b.toColor(`#34e2e2`),b.toColor(`#eeeeec`)],t=[0,95,135,175,215,255];for(let n=0;n<216;n++){let r=t[n/36%6|0],i=t[n/6%6|0],a=t[n%6];e.push({css:y.toCss(r,i,a),rgba:y.toRgba(r,i,a)})}for(let t=0;t<24;t++){let n=8+t*10;e.push({css:y.toCss(n,n,n),rgba:y.toRgba(n,n,n)})}return e})());function T(e,t,n){return Math.max(t,Math.min(e,n))}function ne(e){switch(e){case`&`:return`&`;case`<`:return`<`}return e}var E=class{constructor(e){this._buffer=e}serialize(e,t){let n=this._buffer.getNullCell(),r=this._buffer.getNullCell(),i=n,a=e.start.y,o=e.end.y,s=e.start.x,c=e.end.x;this._beforeSerialize(o-a,a,o);for(let t=a;t<=o;t++){let a=this._buffer.getLine(t);if(a){let o=t===e.start.y?s:0,l=t===e.end.y?c:a.length;for(let e=o;e<l;e++){let o=a.getCell(e,i===n?r:n);if(!o){console.warn(`Can't get cell at row=${t}, col=${e}`);continue}this._nextCell(o,i,t,e),i=o}}this._rowEnd(t,t===o)}return this._afterSerialize(),this._serializeString(t)}_nextCell(e,t,n,r){}_rowEnd(e,t){}_beforeSerialize(e,t,n){}_afterSerialize(){}_serializeString(e){return``}};function re(e,t){return e.getFgColorMode()===t.getFgColorMode()&&e.getFgColor()===t.getFgColor()}function D(e,t){return e.getBgColorMode()===t.getBgColorMode()&&e.getBgColor()===t.getBgColor()}function ie(e,t){return e.isInverse()===t.isInverse()&&e.isBold()===t.isBold()&&e.isUnderline()===t.isUnderline()&&e.isOverline()===t.isOverline()&&e.isBlink()===t.isBlink()&&e.isInvisible()===t.isInvisible()&&e.isItalic()===t.isItalic()&&e.isDim()===t.isDim()&&e.isStrikethrough()===t.isStrikethrough()}var O=class extends E{constructor(e,t){super(e),this._terminal=t,this._rowIndex=0,this._allRows=[],this._allRowSeparators=[],this._currentRow=``,this._nullCellCount=0,this._cursorStyle=this._buffer.getNullCell(),this._cursorStyleRow=0,this._cursorStyleCol=0,this._backgroundCell=this._buffer.getNullCell(),this._firstRow=0,this._lastCursorRow=0,this._lastCursorCol=0,this._lastContentCursorRow=0,this._lastContentCursorCol=0,this._thisRowLastChar=this._buffer.getNullCell(),this._thisRowLastSecondChar=this._buffer.getNullCell(),this._nextRowFirstChar=this._buffer.getNullCell()}_beforeSerialize(e,t,n){this._allRows=Array(e),this._lastContentCursorRow=t,this._lastCursorRow=t,this._firstRow=t}_rowEnd(e,t){this._nullCellCount>0&&!D(this._cursorStyle,this._backgroundCell)&&(this._currentRow+=`\x1B[${this._nullCellCount}X`);let n=``;if(!t){e-this._firstRow>=this._terminal.rows&&this._buffer.getLine(this._cursorStyleRow)?.getCell(this._cursorStyleCol,this._backgroundCell);let t=this._buffer.getLine(e),r=this._buffer.getLine(e+1);if(!r.isWrapped)n=`\r
|
|
2
2
|
`,this._lastCursorRow=e+1,this._lastCursorCol=0;else{n=``;let i=t.getCell(t.length-1,this._thisRowLastChar),a=t.getCell(t.length-2,this._thisRowLastSecondChar),o=r.getCell(0,this._nextRowFirstChar),s=o.getWidth()>1,c=!1;(o.getChars()&&s?this._nullCellCount<=1:this._nullCellCount<=0)&&((i.getChars()||i.getWidth()===0)&&D(i,o)&&(c=!0),s&&(a.getChars()||a.getWidth()===0)&&D(i,o)&&D(a,o)&&(c=!0)),c||(n=`-`.repeat(this._nullCellCount+1),n+=`\x1B[1D\x1B[1X`,this._nullCellCount>0&&(n+=`\x1B[A`,n+=`\x1B[${t.length-this._nullCellCount}C`,n+=`\x1B[${this._nullCellCount}X`,n+=`\x1B[${t.length-this._nullCellCount}D`,n+=`\x1B[B`),this._lastContentCursorRow=e+1,this._lastContentCursorCol=0,this._lastCursorRow=e+1,this._lastCursorCol=0)}}this._allRows[this._rowIndex]=this._currentRow,this._allRowSeparators[this._rowIndex++]=n,this._currentRow=``,this._nullCellCount=0}_diffStyle(e,t){let n=[],r=!re(e,t),i=!D(e,t),a=!ie(e,t);if(r||i||a){if(e.isAttributeDefault())t.isAttributeDefault()||n.push(0);else{if(r){let t=e.getFgColor();e.isFgRGB()?n.push(38,2,t>>>16&255,t>>>8&255,t&255):e.isFgPalette()?t>=16?n.push(38,5,t):n.push(t&8?90+(t&7):30+(t&7)):n.push(39)}if(i){let t=e.getBgColor();e.isBgRGB()?n.push(48,2,t>>>16&255,t>>>8&255,t&255):e.isBgPalette()?t>=16?n.push(48,5,t):n.push(t&8?100+(t&7):40+(t&7)):n.push(49)}a&&(e.isInverse()!==t.isInverse()&&n.push(e.isInverse()?7:27),e.isBold()!==t.isBold()&&n.push(e.isBold()?1:22),e.isUnderline()!==t.isUnderline()&&n.push(e.isUnderline()?4:24),e.isOverline()!==t.isOverline()&&n.push(e.isOverline()?53:55),e.isBlink()!==t.isBlink()&&n.push(e.isBlink()?5:25),e.isInvisible()!==t.isInvisible()&&n.push(e.isInvisible()?8:28),e.isItalic()!==t.isItalic()&&n.push(e.isItalic()?3:23),e.isDim()!==t.isDim()&&n.push(e.isDim()?2:22),e.isStrikethrough()!==t.isStrikethrough()&&n.push(e.isStrikethrough()?9:29))}}return n}_nextCell(e,t,n,r){if(e.getWidth()===0)return;let i=e.getChars()===``,a=this._diffStyle(e,this._cursorStyle);if(i?!D(this._cursorStyle,e):a.length>0){this._nullCellCount>0&&(D(this._cursorStyle,this._backgroundCell)||(this._currentRow+=`\x1B[${this._nullCellCount}X`),this._currentRow+=`\x1B[${this._nullCellCount}C`,this._nullCellCount=0),this._lastContentCursorRow=this._lastCursorRow=n,this._lastContentCursorCol=this._lastCursorCol=r,this._currentRow+=`\x1B[${a.join(`;`)}m`;let e=this._buffer.getLine(n);e!==void 0&&(e.getCell(r,this._cursorStyle),this._cursorStyleRow=n,this._cursorStyleCol=r)}i?this._nullCellCount+=e.getWidth():(this._nullCellCount>0&&(D(this._cursorStyle,this._backgroundCell)||(this._currentRow+=`\x1B[${this._nullCellCount}X`),this._currentRow+=`\x1B[${this._nullCellCount}C`,this._nullCellCount=0),this._currentRow+=e.getChars(),this._lastContentCursorRow=this._lastCursorRow=n,this._lastContentCursorCol=this._lastCursorCol=r+e.getWidth())}_serializeString(e){let t=this._allRows.length;this._buffer.length-this._firstRow<=this._terminal.rows&&(t=this._lastContentCursorRow+1-this._firstRow,this._lastCursorCol=this._lastContentCursorCol,this._lastCursorRow=this._lastContentCursorRow);let n=``;for(let e=0;e<t;e++)n+=this._allRows[e],e+1<t&&(n+=this._allRowSeparators[e]);if(!e){let e=this._buffer.baseY+this._buffer.cursorY,t=this._buffer.cursorX;(e!==this._lastCursorRow||t!==this._lastCursorCol)&&((e=>{e>0?n+=`\x1B[${e}B`:e<0&&(n+=`\x1B[${-e}A`)})(e-this._lastCursorRow),(e=>{e>0?n+=`\x1B[${e}C`:e<0&&(n+=`\x1B[${-e}D`)})(t-this._lastCursorCol))}let r=this._terminal._core._inputHandler._curAttrData,i=this._diffStyle(r,this._cursorStyle);return i.length>0&&(n+=`\x1B[${i.join(`;`)}m`),n}},k=class{activate(e){this._terminal=e}_serializeBufferByScrollback(e,t,n){let r=t.length,i=n===void 0?r:T(n+e.rows,0,r);return this._serializeBufferByRange(e,t,{start:r-i,end:r-1},!1)}_serializeBufferByRange(e,t,n,r){return new O(t,e).serialize({start:{x:0,y:typeof n.start==`number`?n.start:n.start.line},end:{x:e.cols,y:typeof n.end==`number`?n.end:n.end.line}},r)}_serializeBufferAsHTML(e,t){let n=e.buffer.active,r=new A(n,e,t),i=t.onlySelection??!1,a=t.range;if(a)return r.serialize({start:{x:a.startCol,y:(a.startLine,a.startLine)},end:{x:e.cols,y:(a.endLine,a.endLine)}});if(!i){let i=n.length,a=t.scrollback,o=a===void 0?i:T(a+e.rows,0,i);return r.serialize({start:{x:0,y:i-o},end:{x:e.cols,y:i-1}})}let o=this._terminal?.getSelectionPosition();return o===void 0?``:r.serialize({start:{x:o.start.x,y:o.start.y},end:{x:o.end.x,y:o.end.y}})}_serializeModes(e){let t=``,n=e.modes;if(n.applicationCursorKeysMode&&(t+=`\x1B[?1h`),n.applicationKeypadMode&&(t+=`\x1B[?66h`),n.bracketedPasteMode&&(t+=`\x1B[?2004h`),n.insertMode&&(t+=`\x1B[4h`),n.originMode&&(t+=`\x1B[?6h`),n.reverseWraparoundMode&&(t+=`\x1B[?45h`),n.sendFocusMode&&(t+=`\x1B[?1004h`),n.wraparoundMode===!1&&(t+=`\x1B[?7l`),n.mouseTrackingMode!==`none`)switch(n.mouseTrackingMode){case`x10`:t+=`\x1B[?9h`;break;case`vt200`:t+=`\x1B[?1000h`;break;case`drag`:t+=`\x1B[?1002h`;break;case`any`:t+=`\x1B[?1003h`}return t}serialize(e){if(!this._terminal)throw Error(`Cannot use addon until it has been loaded`);let t=e?.range?this._serializeBufferByRange(this._terminal,this._terminal.buffer.normal,e.range,!0):this._serializeBufferByScrollback(this._terminal,this._terminal.buffer.normal,e?.scrollback);if(!e?.excludeAltBuffer&&this._terminal.buffer.active.type===`alternate`){let e=this._serializeBufferByScrollback(this._terminal,this._terminal.buffer.alternate,void 0);t+=`\x1B[?1049h\x1B[H${e}`}return e?.excludeModes||(t+=this._serializeModes(this._terminal)),t}serializeAsHTML(e){if(!this._terminal)throw Error(`Cannot use addon until it has been loaded`);return this._serializeBufferAsHTML(this._terminal,e||{})}dispose(){}},A=class extends E{constructor(e,t,n){super(e),this._terminal=t,this._options=n,this._currentRow=``,this._htmlContent=``,this._ansiColors=t._core._themeService?t._core._themeService.colors.ansi:te}_padStart(e,t,n){return t>>=0,n??=` `,e.length>t?e:(t-=e.length,t>n.length&&(n+=n.repeat(t/n.length)),n.slice(0,t)+e)}_beforeSerialize(e,t,n){this._htmlContent+=`<html><body><!--StartFragment--><pre>`;let r=`#000000`,i=`#ffffff`;(this._options.includeGlobalBackground??!1)&&(r=this._terminal.options.theme?.foreground??`#ffffff`,i=this._terminal.options.theme?.background??`#000000`);let a=[];a.push(`color: `+r+`;`),a.push(`background-color: `+i+`;`),a.push(`font-family: `+this._terminal.options.fontFamily+`;`),a.push(`font-size: `+this._terminal.options.fontSize+`px;`),this._htmlContent+=`<div style='`+a.join(` `)+`'>`}_afterSerialize(){this._htmlContent+=`</div>`,this._htmlContent+=`</pre><!--EndFragment--></body></html>`}_rowEnd(e,t){this._htmlContent+=`<div><span>`+this._currentRow+`</span></div>`,this._currentRow=``}_getHexColor(e,t){let n=t?e.getFgColor():e.getBgColor();if(t?e.isFgRGB():e.isBgRGB())return`#`+[n>>16&255,n>>8&255,n&255].map(e=>this._padStart(e.toString(16),2,`0`)).join(``);if(t?e.isFgPalette():e.isBgPalette())return this._ansiColors[n].css}_diffStyle(e,t){let n=[],r=!re(e,t),i=!D(e,t),a=!ie(e,t);if(r||i||a){let t=this._getHexColor(e,!0);t&&n.push(`color: `+t+`;`);let r=this._getHexColor(e,!1);return r&&n.push(`background-color: `+r+`;`),e.isInverse()&&n.push(`color: #000000; background-color: #BFBFBF;`),e.isBold()&&n.push(`font-weight: bold;`),e.isUnderline()&&e.isOverline()?n.push(`text-decoration: overline underline;`):e.isUnderline()?n.push(`text-decoration: underline;`):e.isOverline()&&n.push(`text-decoration: overline;`),e.isBlink()&&n.push(`text-decoration: blink;`),e.isInvisible()&&n.push(`visibility: hidden;`),e.isItalic()&&n.push(`font-style: italic;`),e.isDim()&&n.push(`opacity: 0.5;`),e.isStrikethrough()&&n.push(`text-decoration: line-through;`),n}}_nextCell(e,t,n,r){if(e.getWidth()===0)return;let i=e.getChars()===``,a=this._diffStyle(e,t);a&&(this._currentRow+=a.length===0?`</span><span>`:`</span><span style='`+a.join(` `)+`'>`),i?this._currentRow+=` `:this._currentRow+=ne(e.getChars())}_serializeString(){return this._htmlContent}},ae=[[768,879],[1155,1158],[1160,1161],[1425,1469],[1471,1471],[1473,1474],[1476,1477],[1479,1479],[1536,1539],[1552,1557],[1611,1630],[1648,1648],[1750,1764],[1767,1768],[1770,1773],[1807,1807],[1809,1809],[1840,1866],[1958,1968],[2027,2035],[2305,2306],[2364,2364],[2369,2376],[2381,2381],[2385,2388],[2402,2403],[2433,2433],[2492,2492],[2497,2500],[2509,2509],[2530,2531],[2561,2562],[2620,2620],[2625,2626],[2631,2632],[2635,2637],[2672,2673],[2689,2690],[2748,2748],[2753,2757],[2759,2760],[2765,2765],[2786,2787],[2817,2817],[2876,2876],[2879,2879],[2881,2883],[2893,2893],[2902,2902],[2946,2946],[3008,3008],[3021,3021],[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3260,3260],[3263,3263],[3270,3270],[3276,3277],[3298,3299],[3393,3395],[3405,3405],[3530,3530],[3538,3540],[3542,3542],[3633,3633],[3636,3642],[3655,3662],[3761,3761],[3764,3769],[3771,3772],[3784,3789],[3864,3865],[3893,3893],[3895,3895],[3897,3897],[3953,3966],[3968,3972],[3974,3975],[3984,3991],[3993,4028],[4038,4038],[4141,4144],[4146,4146],[4150,4151],[4153,4153],[4184,4185],[4448,4607],[4959,4959],[5906,5908],[5938,5940],[5970,5971],[6002,6003],[6068,6069],[6071,6077],[6086,6086],[6089,6099],[6109,6109],[6155,6157],[6313,6313],[6432,6434],[6439,6440],[6450,6450],[6457,6459],[6679,6680],[6912,6915],[6964,6964],[6966,6970],[6972,6972],[6978,6978],[7019,7027],[7616,7626],[7678,7679],[8203,8207],[8234,8238],[8288,8291],[8298,8303],[8400,8431],[12330,12335],[12441,12442],[43014,43014],[43019,43019],[43045,43046],[64286,64286],[65024,65039],[65056,65059],[65279,65279],[65529,65531]],oe=[[68097,68099],[68101,68102],[68108,68111],[68152,68154],[68159,68159],[119143,119145],[119155,119170],[119173,119179],[119210,119213],[119362,119364],[917505,917505],[917536,917631],[917760,917999]],j;function se(e,t){let n=0,r=t.length-1,i;if(e<t[0][0]||e>t[r][1])return!1;for(;r>=n;)if(i=n+r>>1,e>t[i][1])n=i+1;else if(e<t[i][0])r=i-1;else return!0;return!1}var ce=class{constructor(){if(this.version=`6`,!j){j=new Uint8Array(65536),j.fill(1),j[0]=0,j.fill(0,1,32),j.fill(0,127,160),j.fill(2,4352,4448),j[9001]=2,j[9002]=2,j.fill(2,11904,42192),j[12351]=1,j.fill(2,44032,55204),j.fill(2,63744,64256),j.fill(2,65040,65050),j.fill(2,65072,65136),j.fill(2,65280,65377),j.fill(2,65504,65511);for(let e=0;e<ae.length;++e)j.fill(0,ae[e][0],ae[e][1]+1)}}wcwidth(e){return e<32?0:e<127?1:e<65536?j[e]:se(e,oe)?0:e>=131072&&e<=196605||e>=196608&&e<=262141?2:1}charProperties(e,t){let n=this.wcwidth(e),r=n===0&&t!==0;if(r){let e=Ke.extractWidth(t);e===0?r=!1:e>n&&(n=e)}return Ke.createPropertyValue(0,n,r)}},le=new class{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout(()=>{throw e.stack?me.isErrorNoTelemetry(e)?new me(e.message+`
|
|
3
3
|
|
|
4
4
|
`+e.stack):Error(e.message+`
|
package/dist/web/index.html
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
<meta name="apple-mobile-web-app-capable" content="yes" />
|
|
12
12
|
<meta name="apple-mobile-web-app-title" content="rove" />
|
|
13
13
|
<title>rove</title>
|
|
14
|
-
<script type="module" crossorigin src="/assets/index-
|
|
14
|
+
<script type="module" crossorigin src="/assets/index-DpK1XboO.js"></script>
|
|
15
15
|
<link rel="stylesheet" crossorigin href="/assets/index-DBXOSxIY.css">
|
|
16
16
|
</head>
|
|
17
17
|
<body>
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "@sma1lboy/rove",
|
|
4
|
-
"version": "0.9.296-next.
|
|
4
|
+
"version": "0.9.296-next.333",
|
|
5
5
|
"description": "Rove: all your coding agents, in one place. An agentic development environment (ADE) for your terminal: Claude Code, Codex, Copilot and more, side by side in isolated worktrees, handing tasks to each other.",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"terminal",
|