@nomoreide/cli-linux-x64 0.0.0 → 0.3.2

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.
@@ -0,0 +1,24 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" role="img" aria-label="NoMoreIDE">
2
+ <path
3
+ d="M5 17C5 13.69 7.69 11 11 11H25L31 17H53C56.31 17 59 19.69 59 23V53C59 56.31 56.31 59 53 59H11C7.69 59 5 56.31 5 53V17Z"
4
+ fill="#ffffff"
5
+ stroke="#111111"
6
+ stroke-linejoin="round"
7
+ stroke-width="5"
8
+ />
9
+ <path
10
+ d="M22 31L30 39L22 47"
11
+ fill="none"
12
+ stroke="#111111"
13
+ stroke-linecap="round"
14
+ stroke-linejoin="round"
15
+ stroke-width="4.5"
16
+ />
17
+ <path
18
+ d="M36 47H48"
19
+ fill="none"
20
+ stroke="#111111"
21
+ stroke-linecap="round"
22
+ stroke-width="4.5"
23
+ />
24
+ </svg>
@@ -0,0 +1 @@
1
+ import{u as H,n as R,r as o,j as e,a as U,S as _,I as $,A as p,m as P,f as E,k,E as G,d as L,C as O,h as Q,t as V}from"./index-DLbovJIj.js";const h=50;function W({processes:r,refresh:n,totalMemoryBytes:m}){const i=H(),{error:M,success:I}=R(),[x,z]=o.useState(""),[a,A]=o.useState("cpu"),[l,b]=o.useState("desc"),[c,g]=o.useState(null),[F,j]=o.useState(!1),[D,N]=o.useState(h),S=o.useMemo(()=>{const t=x.trim().toLocaleLowerCase();return r.filter(s=>t?[String(s.pid),s.user,s.command,s.managedService??""].some(d=>d.toLocaleLowerCase().includes(t)):!0).sort((s,d)=>{const w=a==="name"?u(s).localeCompare(u(d)):a==="energy"?T(s,m)-T(d,m):a==="memory"?s.rssMb-d.rssMb:s.cpuPercent-d.cpuPercent;return l==="asc"?w:-w})},[r,x,a,l,m]),v=S.slice(0,D),C=Math.max(0,S.length-v.length);o.useEffect(()=>{N(h)},[x]);const y=t=>{if(t===a){b(s=>s==="asc"?"desc":"asc");return}A(t),b(t==="name"?"asc":"desc")},q=async()=>{if(c){j(!0);try{await V(c.pid,c.command),I(i("activity.system.terminated",{pid:String(c.pid)})),g(null),await n()}catch(t){M(i("activity.system.terminateError",{error:t instanceof Error?t.message:String(t)}))}finally{j(!1)}}};return e.jsxs("section",{"aria-labelledby":"activity-system-heading",children:[e.jsxs("div",{className:"mb-3 flex flex-wrap items-end justify-between gap-3",children:[e.jsxs("div",{children:[e.jsxs("h3",{className:"flex items-center gap-2 text-xs font-semibold uppercase tracking-[0.16em] text-muted-foreground",id:"activity-system-heading",children:[e.jsx(U,{"aria-hidden":"true",className:"size-3.5"}),i("activity.system.title")]}),e.jsx("p",{className:"mt-1 text-[11px] text-muted-foreground",children:i("activity.system.description",{count:String(r.length)})})]}),e.jsx("div",{className:"flex flex-1 flex-wrap items-center justify-end gap-2",children:e.jsxs("label",{className:"relative min-w-44 max-w-64 flex-1 sm:flex-none",htmlFor:"activity-process-search",children:[e.jsx("span",{className:"sr-only",children:i("activity.system.search")}),e.jsx(_,{"aria-hidden":"true",className:"pointer-events-none absolute left-2 top-1/2 size-3.5 -translate-y-1/2 text-muted-foreground"}),e.jsx($,{className:"h-7 pl-7 text-[11px]",id:"activity-process-search",onChange:t=>z(t.target.value),placeholder:i("activity.system.search"),value:x})]})})]}),e.jsxs("div",{className:"overflow-x-auto border-y border-border/70",children:[e.jsxs("table",{className:"w-full min-w-[840px] text-left text-xs",children:[e.jsx("thead",{className:"border-b border-border/60 text-[9px] uppercase tracking-[0.14em] text-muted-foreground",children:e.jsxs("tr",{children:[e.jsx(p,{active:a==="name",ariaLabel:i("activity.sortColumn",{column:i("activity.system.process")}),direction:l,onClick:()=>y("name"),children:i("activity.system.process")}),e.jsx("th",{className:"px-2 py-2 font-semibold",children:i("activity.system.owner")}),e.jsx(p,{active:a==="cpu",align:"right",ariaLabel:i("activity.sortColumn",{column:"CPU"}),direction:l,onClick:()=>y("cpu"),children:"CPU"}),e.jsx(p,{active:a==="memory",align:"right",ariaLabel:i("activity.sortColumn",{column:i("activity.memory")}),direction:l,onClick:()=>y("memory"),children:i("activity.memory")}),e.jsx(p,{active:a==="energy",align:"right",ariaLabel:i("activity.sortColumn",{column:i("activity.energy.title")}),direction:l,onClick:()=>y("energy"),children:i("activity.energy.title")}),e.jsx("th",{className:"px-2 py-2 font-semibold",children:i("activity.system.source")}),e.jsx("th",{className:"w-12 px-2 py-2"})]})}),e.jsx("tbody",{children:v.map(t=>e.jsxs("tr",{className:"border-b border-border/50 transition-colors hover:bg-muted/20 last:border-b-0",children:[e.jsxs("td",{className:"max-w-[420px] px-2 py-2",children:[e.jsx("div",{className:"truncate font-medium",title:t.command,children:u(t)}),e.jsx("div",{className:"mt-0.5 truncate font-mono text-[9px] text-muted-foreground",title:t.command,children:t.command})]}),e.jsxs("td",{className:"px-2 py-2 font-mono text-[10px] text-muted-foreground",children:[t.user," · ",t.pid]}),e.jsxs("td",{className:E("px-2 py-2 text-right font-mono font-semibold tabular-nums",k(t.cpuPercent)),"data-pressure":P(t.cpuPercent),children:[t.cpuPercent.toFixed(1),"%"]}),e.jsx("td",{className:E("px-2 py-2 text-right font-mono font-semibold tabular-nums",k(f(t.rssMb,m))),"data-pressure":P(f(t.rssMb,m)),children:Z(t.rssMb)}),e.jsx("td",{className:"px-2 py-2 text-right",children:e.jsx(G,{cpuPercent:t.cpuPercent,memoryPercent:f(t.rssMb,m)})}),e.jsx("td",{className:"px-2 py-2 text-[10px] text-muted-foreground",children:t.managedService?i("activity.system.managed",{service:t.managedService}):i("activity.system.external")}),e.jsx("td",{className:"px-2 py-2 text-right",children:e.jsx("button",{"aria-label":i("activity.system.terminateAria",{name:u(t),pid:String(t.pid)}),className:"inline-flex size-6 items-center justify-center rounded text-muted-foreground transition-colors hover:bg-destructive/10 hover:text-destructive disabled:cursor-not-allowed disabled:opacity-30",disabled:!t.canTerminate,onClick:()=>g(t),title:t.canTerminate?i("activity.system.terminate"):J(t,i),type:"button",children:e.jsx(L,{"aria-hidden":"true",className:"size-3"})})})]},t.pid))})]}),v.length===0?e.jsx("div",{className:"px-3 py-8 text-center text-sm text-muted-foreground",children:i("activity.system.empty")}):null,C>0?e.jsx("div",{className:"flex items-center justify-center border-t border-border/60 px-3 py-2",children:e.jsx("button",{className:"rounded px-2 py-1 text-[11px] font-medium text-muted-foreground transition-colors hover:bg-muted hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",onClick:()=>N(t=>t+h),type:"button",children:i("activity.system.loadMore",{count:String(Math.min(h,C))})})}):null]}),c?e.jsx(O,{cancelLabel:i("common.cancel"),confirmLabel:i("activity.system.terminate"),icon:e.jsx(L,{}),loading:F,message:e.jsxs("span",{children:[i("activity.system.confirmMessage",{pid:String(c.pid)}),e.jsx("code",{className:"mt-2 block max-h-20 overflow-auto rounded border border-border bg-background p-2 font-mono text-[10px] text-foreground",children:c.command})]}),onCancel:()=>g(null),onConfirm:()=>{q()},title:i("activity.system.confirmTitle",{name:u(c)}),tone:"danger"}):null]})}function u(r){const n=r.command.trim().split(/\s+/,1)[0]??r.command;return n.split("/").at(-1)||n}function Z(r){return r>=1024?`${(r/1024).toFixed(1)} GB`:`${r.toFixed(1)} MB`}function f(r,n){return n<=0?null:r*1024*1024*100/n}function T(r,n){return Q(r.cpuPercent,f(r.rssMb,n)).score}function J(r,n){return r.protection==="managed"?n("activity.system.protectedManaged"):r.protection==="permission"?n("activity.system.protectedPermission"):r.protection==="this-app"?n("activity.system.protectedSelf"):n("activity.system.protectedSystem")}export{W as SystemProcessTable};
@@ -0,0 +1 @@
1
+ import{SERIALIZE_TO_IPC_FN as a,Resource as O,invoke as i}from"./core-DhEqZVGG.js";import{listen as S,once as k,emit as L,emitTo as A,TauriEvent as o}from"./event-BK_86lmQ.js";class D{constructor(...e){this.type="Logical",e.length===1?"Logical"in e[0]?(this.width=e[0].Logical.width,this.height=e[0].Logical.height):(this.width=e[0].width,this.height=e[0].height):(this.width=e[0],this.height=e[1])}toPhysical(e){return new h(this.width*e,this.height*e)}[a](){return{width:this.width,height:this.height}}toJSON(){return this[a]()}}class h{constructor(...e){this.type="Physical",e.length===1?"Physical"in e[0]?(this.width=e[0].Physical.width,this.height=e[0].Physical.height):(this.width=e[0].width,this.height=e[0].height):(this.width=e[0],this.height=e[1])}toLogical(e){return new D(this.width/e,this.height/e)}[a](){return{width:this.width,height:this.height}}toJSON(){return this[a]()}}class c{constructor(e){this.size=e}toLogical(e){return this.size instanceof D?this.size:this.size.toLogical(e)}toPhysical(e){return this.size instanceof h?this.size:this.size.toPhysical(e)}[a](){return{[`${this.size.type}`]:{width:this.size.width,height:this.size.height}}}toJSON(){return this[a]()}}class W{constructor(...e){this.type="Logical",e.length===1?"Logical"in e[0]?(this.x=e[0].Logical.x,this.y=e[0].Logical.y):(this.x=e[0].x,this.y=e[0].y):(this.x=e[0],this.y=e[1])}toPhysical(e){return new u(this.x*e,this.y*e)}[a](){return{x:this.x,y:this.y}}toJSON(){return this[a]()}}class u{constructor(...e){this.type="Physical",e.length===1?"Physical"in e[0]?(this.x=e[0].Physical.x,this.y=e[0].Physical.y):(this.x=e[0].x,this.y=e[0].y):(this.x=e[0],this.y=e[1])}toLogical(e){return new W(this.x/e,this.y/e)}[a](){return{x:this.x,y:this.y}}toJSON(){return this[a]()}}class d{constructor(e){this.position=e}toLogical(e){return this.position instanceof W?this.position:this.position.toLogical(e)}toPhysical(e){return this.position instanceof u?this.position:this.position.toPhysical(e)}[a](){return{[`${this.position.type}`]:{x:this.position.x,y:this.position.y}}}toJSON(){return this[a]()}}class w extends O{constructor(e){super(e)}static async new(e,t,l){return i("plugin:image|new",{rgba:b(e),width:t,height:l}).then(r=>new w(r))}static async fromBytes(e){return i("plugin:image|from_bytes",{bytes:b(e)}).then(t=>new w(t))}static async fromPath(e){return i("plugin:image|from_path",{path:e}).then(t=>new w(t))}async rgba(){return i("plugin:image|rgba",{rid:this.rid}).then(e=>new Uint8Array(e))}async size(){return i("plugin:image|size",{rid:this.rid})}}function b(n){return n==null?null:typeof n=="string"?n:n instanceof w?n.rid:n}var _;(function(n){n[n.Critical=1]="Critical",n[n.Informational=2]="Informational"})(_||(_={}));class I{constructor(e){this._preventDefault=!1,this.event=e.event,this.id=e.id}preventDefault(){this._preventDefault=!0}isPreventDefault(){return this._preventDefault}}var m;(function(n){n.None="none",n.Normal="normal",n.Indeterminate="indeterminate",n.Paused="paused",n.Error="error"})(m||(m={}));function T(){return new P(window.__TAURI_INTERNALS__.metadata.currentWindow.label,{skip:!0})}async function p(){return i("plugin:window|get_all_windows").then(n=>n.map(e=>new P(e,{skip:!0})))}const g=["tauri://created","tauri://error"];class P{constructor(e,t={}){var l;this.label=e,this.listeners=Object.create(null),t?.skip||i("plugin:window|create",{options:{...t,parent:typeof t.parent=="string"?t.parent:(l=t.parent)===null||l===void 0?void 0:l.label,label:e}}).then(async()=>this.emit("tauri://created")).catch(async r=>this.emit("tauri://error",r))}static async getByLabel(e){var t;return(t=(await p()).find(l=>l.label===e))!==null&&t!==void 0?t:null}static getCurrent(){return T()}static async getAll(){return p()}static async getFocusedWindow(){for(const e of await p())if(await e.isFocused())return e;return null}async listen(e,t){return this._handleTauriEvent(e,t)?()=>{const l=this.listeners[e];l.splice(l.indexOf(t),1)}:S(e,t,{target:{kind:"Window",label:this.label}})}async once(e,t){return this._handleTauriEvent(e,t)?()=>{const l=this.listeners[e];l.splice(l.indexOf(t),1)}:k(e,t,{target:{kind:"Window",label:this.label}})}async emit(e,t){if(g.includes(e)){for(const l of this.listeners[e]||[])l({event:e,id:-1,payload:t});return}return L(e,t)}async emitTo(e,t,l){if(g.includes(t)){for(const r of this.listeners[t]||[])r({event:t,id:-1,payload:l});return}return A(e,t,l)}_handleTauriEvent(e,t){return g.includes(e)?(e in this.listeners?this.listeners[e].push(t):this.listeners[e]=[t],!0):!1}async scaleFactor(){return i("plugin:window|scale_factor",{label:this.label})}async innerPosition(){return i("plugin:window|inner_position",{label:this.label}).then(e=>new u(e))}async outerPosition(){return i("plugin:window|outer_position",{label:this.label}).then(e=>new u(e))}async innerSize(){return i("plugin:window|inner_size",{label:this.label}).then(e=>new h(e))}async outerSize(){return i("plugin:window|outer_size",{label:this.label}).then(e=>new h(e))}async isFullscreen(){return i("plugin:window|is_fullscreen",{label:this.label})}async isMinimized(){return i("plugin:window|is_minimized",{label:this.label})}async isMaximized(){return i("plugin:window|is_maximized",{label:this.label})}async isFocused(){return i("plugin:window|is_focused",{label:this.label})}async isDecorated(){return i("plugin:window|is_decorated",{label:this.label})}async isResizable(){return i("plugin:window|is_resizable",{label:this.label})}async isMaximizable(){return i("plugin:window|is_maximizable",{label:this.label})}async isMinimizable(){return i("plugin:window|is_minimizable",{label:this.label})}async isClosable(){return i("plugin:window|is_closable",{label:this.label})}async isVisible(){return i("plugin:window|is_visible",{label:this.label})}async title(){return i("plugin:window|title",{label:this.label})}async theme(){return i("plugin:window|theme",{label:this.label})}async isAlwaysOnTop(){return i("plugin:window|is_always_on_top",{label:this.label})}async activityName(){return i("plugin:window|activity_name",{label:this.label})}async sceneIdentifier(){return i("plugin:window|scene_identifier",{label:this.label})}async center(){return i("plugin:window|center",{label:this.label})}async requestUserAttention(e){let t=null;return e&&(e===_.Critical?t={type:"Critical"}:t={type:"Informational"}),i("plugin:window|request_user_attention",{label:this.label,value:t})}async setResizable(e){return i("plugin:window|set_resizable",{label:this.label,value:e})}async setEnabled(e){return i("plugin:window|set_enabled",{label:this.label,value:e})}async isEnabled(){return i("plugin:window|is_enabled",{label:this.label})}async setMaximizable(e){return i("plugin:window|set_maximizable",{label:this.label,value:e})}async setMinimizable(e){return i("plugin:window|set_minimizable",{label:this.label,value:e})}async setClosable(e){return i("plugin:window|set_closable",{label:this.label,value:e})}async setTitle(e){return i("plugin:window|set_title",{label:this.label,value:e})}async maximize(){return i("plugin:window|maximize",{label:this.label})}async unmaximize(){return i("plugin:window|unmaximize",{label:this.label})}async toggleMaximize(){return i("plugin:window|toggle_maximize",{label:this.label})}async minimize(){return i("plugin:window|minimize",{label:this.label})}async unminimize(){return i("plugin:window|unminimize",{label:this.label})}async show(){return i("plugin:window|show",{label:this.label})}async hide(){return i("plugin:window|hide",{label:this.label})}async close(){return i("plugin:window|close",{label:this.label})}async destroy(){return i("plugin:window|destroy",{label:this.label})}async setDecorations(e){return i("plugin:window|set_decorations",{label:this.label,value:e})}async setShadow(e){return i("plugin:window|set_shadow",{label:this.label,value:e})}async setEffects(e){return i("plugin:window|set_effects",{label:this.label,value:e})}async clearEffects(){return i("plugin:window|set_effects",{label:this.label,value:null})}async setAlwaysOnTop(e){return i("plugin:window|set_always_on_top",{label:this.label,value:e})}async setAlwaysOnBottom(e){return i("plugin:window|set_always_on_bottom",{label:this.label,value:e})}async setContentProtected(e){return i("plugin:window|set_content_protected",{label:this.label,value:e})}async setSize(e){return i("plugin:window|set_size",{label:this.label,value:e instanceof c?e:new c(e)})}async setMinSize(e){return i("plugin:window|set_min_size",{label:this.label,value:e instanceof c?e:e?new c(e):null})}async setMaxSize(e){return i("plugin:window|set_max_size",{label:this.label,value:e instanceof c?e:e?new c(e):null})}async setSizeConstraints(e){function t(l){return l?{Logical:l}:null}return i("plugin:window|set_size_constraints",{label:this.label,value:{minWidth:t(e?.minWidth),minHeight:t(e?.minHeight),maxWidth:t(e?.maxWidth),maxHeight:t(e?.maxHeight)}})}async setPosition(e){return i("plugin:window|set_position",{label:this.label,value:e instanceof d?e:new d(e)})}async setFullscreen(e){return i("plugin:window|set_fullscreen",{label:this.label,value:e})}async setSimpleFullscreen(e){return i("plugin:window|set_simple_fullscreen",{label:this.label,value:e})}async setFocus(){return i("plugin:window|set_focus",{label:this.label})}async setFocusable(e){return i("plugin:window|set_focusable",{label:this.label,value:e})}async setIcon(e){return i("plugin:window|set_icon",{label:this.label,value:b(e)})}async setSkipTaskbar(e){return i("plugin:window|set_skip_taskbar",{label:this.label,value:e})}async setCursorGrab(e){return i("plugin:window|set_cursor_grab",{label:this.label,value:e})}async setCursorVisible(e){return i("plugin:window|set_cursor_visible",{label:this.label,value:e})}async setCursorIcon(e){return i("plugin:window|set_cursor_icon",{label:this.label,value:e})}async setBackgroundColor(e){return i("plugin:window|set_background_color",{color:e})}async setCursorPosition(e){return i("plugin:window|set_cursor_position",{label:this.label,value:e instanceof d?e:new d(e)})}async setIgnoreCursorEvents(e){return i("plugin:window|set_ignore_cursor_events",{label:this.label,value:e})}async startDragging(){return i("plugin:window|start_dragging",{label:this.label})}async startResizeDragging(e){return i("plugin:window|start_resize_dragging",{label:this.label,value:e})}async setBadgeCount(e){return i("plugin:window|set_badge_count",{label:this.label,value:e})}async setBadgeLabel(e){return i("plugin:window|set_badge_label",{label:this.label,value:e})}async setOverlayIcon(e){return i("plugin:window|set_overlay_icon",{label:this.label,value:e?b(e):void 0})}async setProgressBar(e){return i("plugin:window|set_progress_bar",{label:this.label,value:e})}async setVisibleOnAllWorkspaces(e){return i("plugin:window|set_visible_on_all_workspaces",{label:this.label,value:e})}async setTitleBarStyle(e){return i("plugin:window|set_title_bar_style",{label:this.label,value:e})}async setTheme(e){return i("plugin:window|set_theme",{label:this.label,value:e})}async onResized(e){return this.listen(o.WINDOW_RESIZED,t=>{t.payload=new h(t.payload),e(t)})}async onMoved(e){return this.listen(o.WINDOW_MOVED,t=>{t.payload=new u(t.payload),e(t)})}async onCloseRequested(e){return this.listen(o.WINDOW_CLOSE_REQUESTED,async t=>{const l=new I(t);await e(l),l.isPreventDefault()||await this.destroy()})}async onDragDropEvent(e){const t=await this.listen(o.DRAG_ENTER,s=>{e({...s,payload:{type:"enter",paths:s.payload.paths,position:new u(s.payload.position)}})}),l=await this.listen(o.DRAG_OVER,s=>{e({...s,payload:{type:"over",position:new u(s.payload.position)}})}),r=await this.listen(o.DRAG_DROP,s=>{e({...s,payload:{type:"drop",paths:s.payload.paths,position:new u(s.payload.position)}})}),C=await this.listen(o.DRAG_LEAVE,s=>{e({...s,payload:{type:"leave"}})});return()=>{t(),r(),l(),C()}}async onFocusChanged(e){const t=await this.listen(o.WINDOW_FOCUS,r=>{e({...r,payload:!0})}),l=await this.listen(o.WINDOW_BLUR,r=>{e({...r,payload:!1})});return()=>{t(),l()}}async onScaleChanged(e){return this.listen(o.WINDOW_SCALE_FACTOR_CHANGED,e)}async onThemeChanged(e){return this.listen(o.WINDOW_THEME_CHANGED,e)}}var v;(function(n){n.Disabled="disabled",n.Throttle="throttle",n.Suspend="suspend"})(v||(v={}));var z;(function(n){n.Default="default",n.FluentOverlay="fluentOverlay"})(z||(z={}));var f;(function(n){n.AppearanceBased="appearanceBased",n.Light="light",n.Dark="dark",n.MediumLight="mediumLight",n.UltraDark="ultraDark",n.Titlebar="titlebar",n.Selection="selection",n.Menu="menu",n.Popover="popover",n.Sidebar="sidebar",n.HeaderView="headerView",n.Sheet="sheet",n.WindowBackground="windowBackground",n.HudWindow="hudWindow",n.FullScreenUI="fullScreenUI",n.Tooltip="tooltip",n.ContentBackground="contentBackground",n.UnderWindowBackground="underWindowBackground",n.UnderPageBackground="underPageBackground",n.Mica="mica",n.Blur="blur",n.Acrylic="acrylic",n.Tabbed="tabbed",n.TabbedDark="tabbedDark",n.TabbedLight="tabbedLight"})(f||(f={}));var x;(function(n){n.FollowsWindowActiveState="followsWindowActiveState",n.Active="active",n.Inactive="inactive"})(x||(x={}));function y(n){return n===null?null:{name:n.name,scaleFactor:n.scaleFactor,position:new u(n.position),size:new h(n.size),workArea:{position:new u(n.workArea.position),size:new h(n.workArea.size)}}}async function M(){return i("plugin:window|current_monitor").then(y)}async function B(){return i("plugin:window|primary_monitor").then(y)}async function F(n,e){return i("plugin:window|monitor_from_point",{x:n,y:e}).then(y)}async function E(){return i("plugin:window|available_monitors").then(n=>n.map(y))}async function H(){return i("plugin:window|cursor_position").then(n=>new u(n))}export{I as CloseRequestedEvent,f as Effect,x as EffectState,W as LogicalPosition,D as LogicalSize,u as PhysicalPosition,h as PhysicalSize,m as ProgressBarStatus,_ as UserAttentionType,P as Window,E as availableMonitors,M as currentMonitor,H as cursorPosition,p as getAllWindows,T as getCurrentWindow,F as monitorFromPoint,B as primaryMonitor};
@@ -0,0 +1,44 @@
1
+ <!doctype html>
2
+ <html lang="en" class="dark" style="color-scheme: dark">
3
+ <head>
4
+ <meta charset="UTF-8" />
5
+ <link rel="icon" type="image/svg+xml" href="/assets/nomoreide-favicon-Ds7Tgj9p.svg" />
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
+ <title>NoMoreIDE</title>
8
+ <script>
9
+ (() => {
10
+ let theme = "system";
11
+ let density = "comfortable";
12
+ let codeFontSize = 12;
13
+ let reducedMotion = window.matchMedia?.("(prefers-reduced-motion: reduce)").matches ?? false;
14
+ try {
15
+ const raw = window.localStorage.getItem("nomoreide:ui-preferences");
16
+ const stored = raw ? JSON.parse(raw) : null;
17
+ if (stored?.version === 1 || stored?.version === 2) {
18
+ if (["light", "dark", "system"].includes(stored.theme)) theme = stored.theme;
19
+ if (["comfortable", "compact"].includes(stored.density)) density = stored.density;
20
+ if (Number.isInteger(stored.codeFontSize) && stored.codeFontSize >= 10 && stored.codeFontSize <= 18) codeFontSize = stored.codeFontSize;
21
+ if (typeof stored.reducedMotion === "boolean") reducedMotion = stored.reducedMotion;
22
+ } else {
23
+ const legacyTheme = window.localStorage.getItem("nomoreide-theme-choice");
24
+ if (["light", "dark", "system"].includes(legacyTheme)) theme = legacyTheme;
25
+ }
26
+ } catch {}
27
+ const resolvedTheme = theme === "system"
28
+ ? (window.matchMedia?.("(prefers-color-scheme: dark)").matches ? "dark" : "light")
29
+ : theme;
30
+ const root = document.documentElement;
31
+ root.classList.toggle("dark", resolvedTheme === "dark");
32
+ root.style.colorScheme = resolvedTheme;
33
+ root.dataset.density = density;
34
+ root.dataset.reducedMotion = String(reducedMotion);
35
+ root.style.setProperty("--code-font-size", `${codeFontSize}px`);
36
+ })();
37
+ </script>
38
+ <script type="module" crossorigin src="/assets/index-DLbovJIj.js"></script>
39
+ <link rel="stylesheet" crossorigin href="/assets/index-CSo__8A6.css">
40
+ </head>
41
+ <body>
42
+ <div id="root"></div>
43
+ </body>
44
+ </html>
package/README.md DELETED
@@ -1,5 +0,0 @@
1
- # @nomoreide/cli-linux-x64
2
-
3
- Placeholder. This name will carry the prebuilt NoMoreIDE binary for linux x64.
4
-
5
- Do not depend on it directly — install [`nomoreide`](https://www.npmjs.com/package/nomoreide), whose optional dependencies resolve to exactly one of these for your platform.