cursor-local-remote 0.1.11 → 0.1.12
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/.next/BUILD_ID +1 -1
- package/.next/app-build-manifest.json +62 -41
- package/.next/app-path-routes-manifest.json +7 -4
- package/.next/build-manifest.json +5 -5
- package/.next/prerender-manifest.json +17 -17
- package/.next/react-loadable-manifest.json +18 -0
- package/.next/server/app/_not-found/page.js +2 -2
- package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_not-found.html +2 -2
- package/.next/server/app/_not-found.rsc +2 -2
- package/.next/server/app/api/chat/route.js +1 -1
- package/.next/server/app/api/chat/route.js.nft.json +1 -1
- package/.next/server/app/api/chat/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/git/route.js +2 -2
- package/.next/server/app/api/git/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/info/route.js +1 -1
- package/.next/server/app/api/info/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/models/route.js +2 -2
- package/.next/server/app/api/models/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/notifications/test/route.js +1 -1
- package/.next/server/app/api/notifications/test/route.js.nft.json +1 -1
- package/.next/server/app/api/notifications/test/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/projects/route.js +2 -2
- package/.next/server/app/api/projects/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/sessions/active/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/sessions/history/route.js +1 -1
- package/.next/server/app/api/sessions/history/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/sessions/route.js +2 -2
- package/.next/server/app/api/sessions/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/sessions/watch/route.js +2 -2
- package/.next/server/app/api/sessions/watch/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/settings/route.js +2 -2
- package/.next/server/app/api/settings/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/terminal/input/route.js +3 -0
- package/.next/server/app/api/terminal/input/route.js.nft.json +1 -0
- package/.next/server/app/api/terminal/input/route_client-reference-manifest.js +1 -0
- package/.next/server/app/api/terminal/route.js +3 -0
- package/.next/server/app/api/terminal/route.js.nft.json +1 -0
- package/.next/server/app/api/terminal/route_client-reference-manifest.js +1 -0
- package/.next/server/app/api/terminal/stream/route.js +6 -0
- package/.next/server/app/api/terminal/stream/route.js.nft.json +1 -0
- package/.next/server/app/api/terminal/stream/route_client-reference-manifest.js +1 -0
- package/.next/server/app/api/upload/route.js +1 -1
- package/.next/server/app/api/upload/route_client-reference-manifest.js +1 -1
- package/.next/server/app/index.html +2 -2
- package/.next/server/app/index.rsc +5 -5
- package/.next/server/app/manifest.webmanifest/route_client-reference-manifest.js +1 -1
- package/.next/server/app/page.js +3 -3
- package/.next/server/app/page.js.nft.json +1 -1
- package/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/server/app-paths-manifest.json +7 -4
- package/.next/server/chunks/184.js +18 -0
- package/.next/server/chunks/267.js +6 -6
- package/.next/server/chunks/565.js +1 -0
- package/.next/server/chunks/61.js +18 -0
- package/.next/server/chunks/611.js +1 -1
- package/.next/server/chunks/781.js +1 -0
- package/.next/server/chunks/957.js +1 -0
- package/.next/server/instrumentation.js +1 -1
- package/.next/server/instrumentation.js.nft.json +1 -1
- package/.next/server/middleware-build-manifest.js +1 -1
- package/.next/server/middleware-manifest.json +1 -1
- package/.next/server/middleware-react-loadable-manifest.js +1 -1
- package/.next/server/pages/404.html +2 -2
- package/.next/server/pages/500.html +1 -1
- package/.next/server/pages/_document.js +1 -1
- package/.next/server/pages/_error.js +2 -2
- package/.next/static/chunks/581.6f70e48cd8cd239c.js +1 -0
- package/.next/static/chunks/687-b390283af2e3452f.js +1 -0
- package/.next/static/chunks/877.c9578aaf7d3c8f27.js +1 -0
- package/.next/static/chunks/app/api/chat/route-d3038ca0da9c5380.js +1 -0
- package/.next/static/chunks/app/api/git/route-d3038ca0da9c5380.js +1 -0
- package/.next/static/chunks/app/api/info/route-d3038ca0da9c5380.js +1 -0
- package/.next/static/chunks/app/api/models/route-d3038ca0da9c5380.js +1 -0
- package/.next/static/chunks/app/api/notifications/test/route-d3038ca0da9c5380.js +1 -0
- package/.next/static/chunks/app/api/projects/route-d3038ca0da9c5380.js +1 -0
- package/.next/static/chunks/app/api/sessions/active/route-d3038ca0da9c5380.js +1 -0
- package/.next/static/chunks/app/api/sessions/history/route-d3038ca0da9c5380.js +1 -0
- package/.next/static/chunks/app/api/sessions/route-d3038ca0da9c5380.js +1 -0
- package/.next/static/chunks/app/api/sessions/watch/route-d3038ca0da9c5380.js +1 -0
- package/.next/static/chunks/app/api/settings/route-d3038ca0da9c5380.js +1 -0
- package/.next/static/chunks/app/api/terminal/input/route-d3038ca0da9c5380.js +1 -0
- package/.next/static/chunks/app/api/terminal/route-d3038ca0da9c5380.js +1 -0
- package/.next/static/chunks/app/api/terminal/stream/route-d3038ca0da9c5380.js +1 -0
- package/.next/static/chunks/app/api/upload/route-d3038ca0da9c5380.js +1 -0
- package/.next/static/chunks/app/manifest.webmanifest/route-d3038ca0da9c5380.js +1 -0
- package/.next/static/chunks/app/page-af5e69fc6400a5ec.js +1 -0
- package/.next/static/chunks/e868780c.80b1d92b07cbfce1.js +18 -0
- package/.next/static/chunks/webpack-b7a7ce1923e86513.js +1 -0
- package/.next/static/css/30da1f7eab9bf366.css +11 -0
- package/.next/static/css/4e3b3a779665aaeb.css +1 -0
- package/.next/static/nZObu_lMmAW5hrBXfbSQe/_buildManifest.js +1 -0
- package/README.md +20 -0
- package/bin/cursor-remote.mjs +143 -14
- package/package.json +4 -1
- package/.next/server/chunks/545.js +0 -18
- package/.next/server/chunks/819.js +0 -1
- package/.next/static/JHNi3dquD5OcV7Sclue9U/_buildManifest.js +0 -1
- package/.next/static/chunks/391-727d95bcfba987c2.js +0 -1
- package/.next/static/chunks/app/api/chat/route-b00b337e85e306b9.js +0 -1
- package/.next/static/chunks/app/api/git/route-b00b337e85e306b9.js +0 -1
- package/.next/static/chunks/app/api/info/route-b00b337e85e306b9.js +0 -1
- package/.next/static/chunks/app/api/models/route-b00b337e85e306b9.js +0 -1
- package/.next/static/chunks/app/api/notifications/test/route-b00b337e85e306b9.js +0 -1
- package/.next/static/chunks/app/api/projects/route-b00b337e85e306b9.js +0 -1
- package/.next/static/chunks/app/api/sessions/active/route-b00b337e85e306b9.js +0 -1
- package/.next/static/chunks/app/api/sessions/history/route-b00b337e85e306b9.js +0 -1
- package/.next/static/chunks/app/api/sessions/route-b00b337e85e306b9.js +0 -1
- package/.next/static/chunks/app/api/sessions/watch/route-b00b337e85e306b9.js +0 -1
- package/.next/static/chunks/app/api/settings/route-b00b337e85e306b9.js +0 -1
- package/.next/static/chunks/app/api/upload/route-b00b337e85e306b9.js +0 -1
- package/.next/static/chunks/app/manifest.webmanifest/route-b00b337e85e306b9.js +0 -1
- package/.next/static/chunks/app/page-bdc004bf68daf19c.js +0 -1
- package/.next/static/chunks/webpack-d434b6449a9cd8f3.js +0 -1
- package/.next/static/css/5eacd01f773eed7f.css +0 -11
- package/.next/static/css/62c80997800f1b21.css +0 -1
- /package/.next/static/{JHNi3dquD5OcV7Sclue9U → nZObu_lMmAW5hrBXfbSQe}/_ssgManifest.js +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";exports.id=565,exports.ids=[565],exports.modules={7565:(a,b,c)=>{c.r(b),c.d(b,{WebLinksAddon:()=>h});var d=class{constructor(a,b,c,d={}){this._terminal=a,this._regex=b,this._handler=c,this._options=d}provideLinks(a,b){let c=e.computeLink(a,this._regex,this._terminal,this._handler);b(this._addCallbacks(c))}_addCallbacks(a){return a.map(a=>(a.leave=this._options.leave,a.hover=(b,c)=>{if(this._options.hover){let{range:d}=a;this._options.hover(b,c,d)}},a))}},e=class a{static computeLink(b,c,d,e){let f=RegExp(c.source,(c.flags||"")+"g"),[g,h]=a._getWindowedLineStrings(b-1,d),i=g.join(""),j,k=[];for(;j=f.exec(i);){let b=j[0];if(!function(a){try{let b=new URL(a),c=b.password&&b.username?`${b.protocol}//${b.username}:${b.password}@${b.host}`:b.username?`${b.protocol}//${b.username}@${b.host}`:`${b.protocol}//${b.host}`;return a.toLocaleLowerCase().startsWith(c.toLocaleLowerCase())}catch{return!1}}(b))continue;let[c,f]=a._mapStrIdx(d,h,0,j.index),[g,i]=a._mapStrIdx(d,c,f,b.length);if(-1===c||-1===f||-1===g||-1===i)continue;let l={start:{x:f+1,y:c+1},end:{x:i,y:g+1}};k.push({range:l,text:b,activate:e})}return k}static _getWindowedLineStrings(a,b){let c,d=a,e=a,f=0,g="",h=[];if(c=b.buffer.active.getLine(a)){let a=c.translateToString(!0);if(c.isWrapped&&" "!==a[0]){for(f=0;(c=b.buffer.active.getLine(--d))&&f<2048&&(f+=(g=c.translateToString(!0)).length,h.push(g),!(!c.isWrapped||-1!==g.indexOf(" "))););h.reverse()}for(h.push(a),f=0;(c=b.buffer.active.getLine(++e))&&c.isWrapped&&f<2048&&(f+=(g=c.translateToString(!0)).length,h.push(g),-1===g.indexOf(" ")););}return[h,d]}static _mapStrIdx(a,b,c,d){let e=a.buffer.active,f=e.getNullCell(),g=c;for(;d;){let a=e.getLine(b);if(!a)return[-1,-1];for(let c=g;c<a.length;++c){a.getCell(c,f);let g=f.getChars();if(f.getWidth()&&(d-=g.length||1,c===a.length-1&&""===g)){let a=e.getLine(b+1);a&&a.isWrapped&&(a.getCell(0,f),2===f.getWidth()&&(d+=1))}if(d<0)return[b,c]}b++,g=0}return[b,g]}},f=/(https?|HTTPS?):[/]{2}[^\s"'!*(){}|\\\^<>`]*[^\s"':,.!?{}|\\\^~\[\]`()<>]/;function g(a,b){let c=window.open();if(c){try{c.opener=null}catch{}c.location.href=b}else console.warn("Opening link blocked as opener could not be cleared")}var h=class{constructor(a=g,b={}){this._handler=a,this._options=b}activate(a){this._terminal=a;let b=this._options,c=b.urlRegex||f;this._linkProvider=this._terminal.registerLinkProvider(new d(this._terminal,c,this._handler,b))}dispose(){this._linkProvider?.dispose()}}}};
|