@github/copilot-linux-arm64
Advanced tools
+1
-1
@@ -11,3 +11,3 @@ #!/usr/bin/env node | ||
| `);throw new Error(`Native addon "${e}" not found for ${n}. Tried: | ||
| ${s}`)}function Ft(e){if(e instanceof Error)return e.message;if(typeof e=="string")return e;try{return JSON.stringify(e)}catch{return Object.prototype.toString.call(e)}}function xe(e){try{return{ok:!0,value:Bt(e)}}catch(t){return{ok:!1,err:t}}}function Bt(e){return Ct(It(import.meta.url))(e)}function Te(e){if(!(e instanceof Error))return e;let t=C.sharedApiSqliteNativeErrorPayload(e.message);if(!t)return e;let n=new Error(t.message);return n.code="ERR_SQLITE_ERROR",n.errcode=t.errcode,n.errstr=t.errstr,n}var Ne="__copilotRuntimeAddon__";function De(){let e=globalThis,t=e[Ne];return t||(t={addon:null,processStateInitialized:!1},e[Ne]=t),t}function Ut(){let e=De();if(e.addon)return e.addon;Q.debug("[nativeRuntime] in-process mode: loading the native runtime .node addon");let t=R.dirname(Ie(import.meta.url)),n=L("runtime",[t,R.resolve(t,".."),R.resolve(t,"..","..","native","runtime")]);return e.addon=n,n}var k;function qt(e){let t=R.dirname(Ie(e));return e.endsWith(".ts")?R.resolve(t,"..","..","..","dist-cli"):t}function Vt(e,t,n,r=import.meta.url){e.toolsInitializeBundledBinaryRoot?.(qt(r)),e.authInitializeProcessUserAgent?.(n);let o=t.COPILOT_DEBUG_ENTRA_BROKER_URL?.trim()||void 0;delete t.COPILOT_DEBUG_ENTRA_BROKER_URL,e.authInitializeDebugEntraBrokerUrl?.(o)}function w(){k||(k=Ut());let e=De();return e.processStateInitialized||(e.processStateInitialized=!0,Vt(k,process.env,process.version)),k}var Le="\0__copilot_git_structured_error__\0",Ce="__copilot_session_fs_error:";function Mt(e){if(!(e instanceof Error)||!e.message.startsWith(Le))return e;let t;try{t=JSON.parse(e.message.slice(Le.length))}catch{return e}let n=new Error(typeof t.message=="string"?t.message:"");typeof t.name=="string"&&(n.name=t.name);for(let[r,o]of Object.entries(t))r!=="message"&&r!=="name"&&(n[r]=o);return n}function He(e){if(!(e instanceof Error)||!e.message.startsWith(Ce))return e;let t;try{t=JSON.parse(e.message.slice(Ce.length))}catch{return e}let n=typeof t.code=="string"?t.code:"UNKNOWN",r=typeof t.path=="string"?t.path:"sqliteQuery",o=typeof t.message=="string"&&t.message?`: ${t.message}`:"",i=new Error(`${n}: ${r}${o}`);return i.code=n,i.path=r,i}function g(e){let t=Te(e);return t!==e?t:He(e)}function ke(e){return e??void 0}function $t(e){class t{inner;constructor(...r){this.inner=new e(...r)}async execute(r,o,i){try{return ke(await this.inner.execute(r,o,i))}catch(s){throw g(s)}}async batch(r){try{return(await this.inner.batch(r)).map(ke)}catch(o){throw g(o)}}async transaction(r){try{return await this.inner.transaction(r)}catch(o){throw g(o)}}async getTableNames(){try{return await this.inner.getTableNames()}catch(r){throw g(r)}}async getTableNamesIfExists(){try{return await this.inner.getTableNamesIfExists()}catch(r){throw g(r)}}async getTodoStatus(){try{return await this.inner.getTodoStatus()}catch(r){throw g(r)}}async getCurrentIntent(){try{return await this.inner.getCurrentIntent()}catch(r){throw g(r)}}async closeAll(){try{await this.inner.closeAll()}catch(r){throw g(r)}}}return Object.defineProperty(t,"name",{value:"SessionDatabaseHandle"}),t}function Oe(e){return JSON.stringify(e,(t,n)=>typeof n=="number"&&!Number.isFinite(n)?{__copilot_forge_number:String(n)}:n)??"null"}var jt=new Set(["runnerCreateNoopLogger","runnerCreateNoopExec"]),Ae=new WeakMap;function Wt(e,t,n){let r=Ae.get(e);return r||(r=new Map,Ae.set(e,r)),r.has(t)||r.set(t,n()),r.get(t)}function Jt(e,t){let n=Reflect.get(e,t);if(typeof n=="function"&&t==="SessionDatabaseHandle")return $t(n);if(typeof n=="function"&&typeof t=="string"&&jt.has(t)){let r=n;return()=>Wt(e,t,()=>r.call(e))}if(typeof n=="function"&&t==="sessionStoreTrackingPostToolUsePlan"){let r=n;return(o,i,s)=>r.call(e,Oe(o),Oe(i),s)}if(typeof n=="function"&&typeof t=="string"&&/^git[A-Z]/.test(t)){let r=n;return(...o)=>{let i=r.apply(e,o);return i instanceof Promise?i.catch(s=>{throw Mt(s)}):i}}if(typeof n=="function"&&typeof t=="string"&&/^sessionFs[A-Z]/.test(t)){let r=n;return(...o)=>{let i=r.apply(e,o);return i instanceof Promise?i.catch(s=>{throw He(s)}):i}}return n}var C=new Proxy({},{get:(e,t)=>Jt(w(),t),has:(e,t)=>Reflect.has(w(),t),set:(e,t,n)=>Reflect.set(w(),t,n),ownKeys:()=>Reflect.ownKeys(w()),getOwnPropertyDescriptor:(e,t)=>Reflect.getOwnPropertyDescriptor(w(),t),defineProperty:(e,t,n)=>Reflect.defineProperty(w(),t,n)});function O(e){return C.errorFormattingFormatUnknown(e)}import{basename as Xt,join as V}from"node:path";var Fe="0.0.1";import{readdir as Gt,access as Kt,constants as zt}from"node:fs/promises";import{join as a,basename as Be}from"node:path";import{homedir as A}from"node:os";function qe(){return process.env.XDG_CACHE_HOME||a(A(),".cache")}function Ve(){if(process.argv.includes("--no-auto-update")||process.argv.includes("--prefer-version"))return!1;let e=process.env.COPILOT_AUTO_UPDATE;return!(e&&e.toLowerCase()==="false")}function Me(){let e=process.argv.indexOf("--prefer-version");if(!(e===-1||e+1>=process.argv.length))return process.argv[e+1]}function Qt(){if(process.platform==="darwin")return a(A(),"Library","Caches","copilot");if(process.platform==="win32"){let e=process.env.LOCALAPPDATA||a(A(),".cache");return a(e,"copilot")}return a(qe(),"copilot")}function $e(){let e=[];return process.env.COPILOT_PKG_CACHE_HOME&&e.push(a(process.env.COPILOT_PKG_CACHE_HOME,"pkg")),process.env.COPILOT_CACHE_HOME&&e.push(a(process.env.COPILOT_CACHE_HOME,"pkg")),e.push(a(Qt(),"pkg")),e.push(a(qe(),"copilot","pkg")),process.env.COPILOT_HOME&&e.push(a(process.env.COPILOT_HOME,"pkg")),e.push(a(A(),".copilot","pkg")),[...new Set(e)]}function Ue(e){let t=e.match(/^(\d+)\.(\d+)\.(\d+)/);if(t)return[Number(t[1]),Number(t[2]),Number(t[3])]}function Yt(e,t){let n=Ue(e),r=Ue(t);if(!n&&!r)return 0;if(!n)return-1;if(!r)return 1;for(let s=0;s<3;s++)if(n[s]!==r[s])return n[s]-r[s];let o=e.includes("-"),i=t.includes("-");return o!==i?o?-1:1:e.localeCompare(t)}async function je(e,...t){let n=[];for(let r of t){let o;try{o=await Gt(r)}catch{continue}for(let i of o){let s=a(r,i);try{await Kt(a(s,e),zt.R_OK),n.push(s)}catch{continue}}}return n.sort((r,o)=>{let i=Yt(Be(o),Be(r));return i!==0?i:r.localeCompare(o)}),n}import{join as We}from"node:path";function Je(){let e=Se();return $e().flatMap(t=>[We(t,"universal"),We(t,e)])}function Zt(){return process.env.COPILOT_CLI_VERSION?process.env.COPILOT_CLI_VERSION:"1.0.81-8"}async function Ge(e,t){let n=V(e,"app.js"),r=Zt()===Fe,o=Me();if(t&&(o||Ve()&&!r)){let i=Je(),s=await je("app.js",...i);if(o){let c=s.find(b=>Xt(b)===o);c?n=V(c,"app.js"):process.stderr.write(`Warning: preferred version ${o} not found in package cache, using built-in version | ||
| ${s}`)}function Ft(e){if(e instanceof Error)return e.message;if(typeof e=="string")return e;try{return JSON.stringify(e)}catch{return Object.prototype.toString.call(e)}}function xe(e){try{return{ok:!0,value:Bt(e)}}catch(t){return{ok:!1,err:t}}}function Bt(e){return Ct(It(import.meta.url))(e)}function Te(e){if(!(e instanceof Error))return e;let t=C.sharedApiSqliteNativeErrorPayload(e.message);if(!t)return e;let n=new Error(t.message);return n.code="ERR_SQLITE_ERROR",n.errcode=t.errcode,n.errstr=t.errstr,n}var Ne="__copilotRuntimeAddon__";function De(){let e=globalThis,t=e[Ne];return t||(t={addon:null,processStateInitialized:!1},e[Ne]=t),t}function Ut(){let e=De();if(e.addon)return e.addon;Q.debug("[nativeRuntime] in-process mode: loading the native runtime .node addon");let t=R.dirname(Ie(import.meta.url)),n=L("runtime",[t,R.resolve(t,".."),R.resolve(t,"..","..","native","runtime")]);return e.addon=n,n}var k;function qt(e){let t=R.dirname(Ie(e));return e.endsWith(".ts")?R.resolve(t,"..","..","..","dist-cli"):t}function Vt(e,t,n,r=import.meta.url){e.toolsInitializeBundledBinaryRoot?.(qt(r)),e.authInitializeProcessUserAgent?.(n);let o=t.COPILOT_DEBUG_ENTRA_BROKER_URL?.trim()||void 0;delete t.COPILOT_DEBUG_ENTRA_BROKER_URL,e.authInitializeDebugEntraBrokerUrl?.(o)}function w(){k||(k=Ut());let e=De();return e.processStateInitialized||(e.processStateInitialized=!0,Vt(k,process.env,process.version)),k}var Le="\0__copilot_git_structured_error__\0",Ce="__copilot_session_fs_error:";function Mt(e){if(!(e instanceof Error)||!e.message.startsWith(Le))return e;let t;try{t=JSON.parse(e.message.slice(Le.length))}catch{return e}let n=new Error(typeof t.message=="string"?t.message:"");typeof t.name=="string"&&(n.name=t.name);for(let[r,o]of Object.entries(t))r!=="message"&&r!=="name"&&(n[r]=o);return n}function He(e){if(!(e instanceof Error)||!e.message.startsWith(Ce))return e;let t;try{t=JSON.parse(e.message.slice(Ce.length))}catch{return e}let n=typeof t.code=="string"?t.code:"UNKNOWN",r=typeof t.path=="string"?t.path:"sqliteQuery",o=typeof t.message=="string"&&t.message?`: ${t.message}`:"",i=new Error(`${n}: ${r}${o}`);return i.code=n,i.path=r,i}function g(e){let t=Te(e);return t!==e?t:He(e)}function ke(e){return e??void 0}function $t(e){class t{inner;constructor(...r){this.inner=new e(...r)}async execute(r,o,i){try{return ke(await this.inner.execute(r,o,i))}catch(s){throw g(s)}}async batch(r){try{return(await this.inner.batch(r)).map(ke)}catch(o){throw g(o)}}async transaction(r){try{return await this.inner.transaction(r)}catch(o){throw g(o)}}async getTableNames(){try{return await this.inner.getTableNames()}catch(r){throw g(r)}}async getTableNamesIfExists(){try{return await this.inner.getTableNamesIfExists()}catch(r){throw g(r)}}async getTodoStatus(){try{return await this.inner.getTodoStatus()}catch(r){throw g(r)}}async getCurrentIntent(){try{return await this.inner.getCurrentIntent()}catch(r){throw g(r)}}async closeAll(){try{await this.inner.closeAll()}catch(r){throw g(r)}}}return Object.defineProperty(t,"name",{value:"SessionDatabaseHandle"}),t}function Oe(e){return JSON.stringify(e,(t,n)=>typeof n=="number"&&!Number.isFinite(n)?{__copilot_forge_number:String(n)}:n)??"null"}var jt=new Set(["runnerCreateNoopLogger","runnerCreateNoopExec"]),Ae=new WeakMap;function Wt(e,t,n){let r=Ae.get(e);return r||(r=new Map,Ae.set(e,r)),r.has(t)||r.set(t,n()),r.get(t)}function Jt(e,t){let n=Reflect.get(e,t);if(typeof n=="function"&&t==="SessionDatabaseHandle")return $t(n);if(typeof n=="function"&&typeof t=="string"&&jt.has(t)){let r=n;return()=>Wt(e,t,()=>r.call(e))}if(typeof n=="function"&&t==="sessionStoreTrackingPostToolUsePlan"){let r=n;return(o,i,s)=>r.call(e,Oe(o),Oe(i),s)}if(typeof n=="function"&&typeof t=="string"&&/^git[A-Z]/.test(t)){let r=n;return(...o)=>{let i=r.apply(e,o);return i instanceof Promise?i.catch(s=>{throw Mt(s)}):i}}if(typeof n=="function"&&typeof t=="string"&&/^sessionFs[A-Z]/.test(t)){let r=n;return(...o)=>{let i=r.apply(e,o);return i instanceof Promise?i.catch(s=>{throw He(s)}):i}}return n}var C=new Proxy({},{get:(e,t)=>Jt(w(),t),has:(e,t)=>Reflect.has(w(),t),set:(e,t,n)=>Reflect.set(w(),t,n),ownKeys:()=>Reflect.ownKeys(w()),getOwnPropertyDescriptor:(e,t)=>Reflect.getOwnPropertyDescriptor(w(),t),defineProperty:(e,t,n)=>Reflect.defineProperty(w(),t,n)});function O(e){return C.errorFormattingFormatUnknown(e)}import{basename as Xt,join as V}from"node:path";var Fe="0.0.1";import{readdir as Gt,access as Kt,constants as zt}from"node:fs/promises";import{join as a,basename as Be}from"node:path";import{homedir as A}from"node:os";function qe(){return process.env.XDG_CACHE_HOME||a(A(),".cache")}function Ve(){if(process.argv.includes("--no-auto-update")||process.argv.includes("--prefer-version"))return!1;let e=process.env.COPILOT_AUTO_UPDATE;return!(e&&e.toLowerCase()==="false")}function Me(){let e=process.argv.indexOf("--prefer-version");if(!(e===-1||e+1>=process.argv.length))return process.argv[e+1]}function Qt(){if(process.platform==="darwin")return a(A(),"Library","Caches","copilot");if(process.platform==="win32"){let e=process.env.LOCALAPPDATA||a(A(),".cache");return a(e,"copilot")}return a(qe(),"copilot")}function $e(){let e=[];return process.env.COPILOT_PKG_CACHE_HOME&&e.push(a(process.env.COPILOT_PKG_CACHE_HOME,"pkg")),process.env.COPILOT_CACHE_HOME&&e.push(a(process.env.COPILOT_CACHE_HOME,"pkg")),e.push(a(Qt(),"pkg")),e.push(a(qe(),"copilot","pkg")),process.env.COPILOT_HOME&&e.push(a(process.env.COPILOT_HOME,"pkg")),e.push(a(A(),".copilot","pkg")),[...new Set(e)]}function Ue(e){let t=e.match(/^(\d+)\.(\d+)\.(\d+)/);if(t)return[Number(t[1]),Number(t[2]),Number(t[3])]}function Yt(e,t){let n=Ue(e),r=Ue(t);if(!n&&!r)return 0;if(!n)return-1;if(!r)return 1;for(let s=0;s<3;s++)if(n[s]!==r[s])return n[s]-r[s];let o=e.includes("-"),i=t.includes("-");return o!==i?o?-1:1:e.localeCompare(t)}async function je(e,...t){let n=[];for(let r of t){let o;try{o=await Gt(r)}catch{continue}for(let i of o){let s=a(r,i);try{await Kt(a(s,e),zt.R_OK),n.push(s)}catch{continue}}}return n.sort((r,o)=>{let i=Yt(Be(o),Be(r));return i!==0?i:r.localeCompare(o)}),n}import{join as We}from"node:path";function Je(){let e=Se();return $e().flatMap(t=>[We(t,"universal"),We(t,e)])}function Zt(){return process.env.COPILOT_CLI_VERSION?process.env.COPILOT_CLI_VERSION:"1.0.81-9"}async function Ge(e,t){let n=V(e,"app.js"),r=Zt()===Fe,o=Me();if(t&&(o||Ve()&&!r)){let i=Je(),s=await je("app.js",...i);if(o){let c=s.find(b=>Xt(b)===o);c?n=V(c,"app.js"):process.stderr.write(`Warning: preferred version ${o} not found in package cache, using built-in version | ||
| `)}else s.length>0&&(n=V(s[0],"app.js"))}return n}import ze from"node:path";import{fileURLToPath as en}from"node:url";var _,Ke=ze.dirname(en(import.meta.url));function Qe(){if(_){if(_.kind==="ok")return _.addon;throw _.error}try{let e=L("cli-native",[Ke,ze.resolve(Ke,"..","native","cli")]);return _={kind:"ok",addon:e},e}catch(e){let t=e instanceof Error?e:new Error(`Failed to load cli-native addon: ${O(e)}`);throw _={kind:"error",error:t},t}}function I(){if(process.platform==="win32")return Qe()}var Ye=Symbol.for("github.copilot.cli.cleanExit");function tn(){let e=Reflect.get(process,"exit");if(typeof e!="function")return;let t=Reflect.get(e,Ye);return typeof t=="function"?t:void 0}function nn(){let e;if(process.platform==="win32")try{e=I()}catch{e=void 0}let t=!1;return()=>{if(!t){t=!0;try{process.report.reportOnFatalError=!1}catch{}if(e){try{e.uninstallExceptionFilter()}catch{}try{e.disableCrashReporting()}catch{}}}}}function Xe(){let e=tn();if(e)return e;let t=process.exit.bind(process),n=nn(),r=(...s)=>(n(),t(...s));process.once("exit",n);let o=!0,i=()=>{o&&(o=!1,process.exit===r&&(process.exit=t),process.removeListener("exit",n))};return Reflect.defineProperty(r,Ye,{value:i}),process.exit=r,i}import{existsSync as rn}from"node:fs";import{basename as on,resolve as sn}from"node:path";var Ze="extension_bootstrap.mjs";function et(e,t,n=rn){let r=e.find(s=>on(s)===Ze);if(!r)return;process.stderr.write(`[extension-fork] resolveBootstrapPath: __dir=${t}, argv-bootstrap=${r} | ||
@@ -14,0 +14,0 @@ `);let o=sn(t,"preloads",Ze),i=n(o);if(process.stderr.write(`[extension-fork] resolveBootstrapPath: localBootstrap=${o}, localExists=${i} |
+1
-1
| { | ||
| "name": "@github/copilot-linux-arm64", | ||
| "version": "1.0.81-8", | ||
| "version": "1.0.81-9", | ||
| "description": "GitHub Copilot CLI for linux-arm64", | ||
@@ -5,0 +5,0 @@ "license": "SEE LICENSE IN LICENSE.md", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Found 6 instances
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Found 6 instances
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
296795429
0.03%153883
0.01%