@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 Ut(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:qt(e)}}catch(t){return{ok:!1,err:t}}}function qt(e){return It(Ft(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 Vt(){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(Ae(import.meta.url)),n=L("runtime",[t,R.resolve(t,".."),R.resolve(t,"..","..","native","runtime")]);return e.addon=n,n}var k;function Mt(e){let t=R.dirname(Ae(e));return e.endsWith(".ts")?R.resolve(t,"..","..","..","dist-cli"):t}function $t(e,t,n,r=import.meta.url){e.toolsInitializeBundledBinaryRoot?.(Mt(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=Vt());let e=De();return e.processStateInitialized||(e.processStateInitialized=!0,$t(k,process.env,process.version)),k}var Le="\0__copilot_git_structured_error__\0",Ce="__copilot_session_fs_error:";function jt(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 Fe(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 h(e){let t=Te(e);return t!==e?t:Fe(e)}function ke(e){return e??void 0}function Wt(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 h(s)}}async batch(r){try{return(await this.inner.batch(r)).map(ke)}catch(o){throw h(o)}}async transaction(r){try{return await this.inner.transaction(r)}catch(o){throw h(o)}}async getTableNames(){try{return await this.inner.getTableNames()}catch(r){throw h(r)}}async getTableNamesIfExists(){try{return await this.inner.getTableNamesIfExists()}catch(r){throw h(r)}}async getTodoStatus(){try{return await this.inner.getTodoStatus()}catch(r){throw h(r)}}async getCurrentIntent(){try{return await this.inner.getCurrentIntent()}catch(r){throw h(r)}}async closeAll(){try{await this.inner.closeAll()}catch(r){throw h(r)}}}return Object.defineProperty(t,"name",{value:"SessionDatabaseHandle"}),t}function Ie(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"]),Oe=new WeakMap;function Gt(e,t,n){let r=Oe.get(e);return r||(r=new Map,Oe.set(e,r)),r.has(t)||r.set(t,n()),r.get(t)}function zt(e,t){let n=Reflect.get(e,t);if(typeof n=="function"&&t==="SessionDatabaseHandle")return Wt(n);if(typeof n=="function"&&typeof t=="string"&&Jt.has(t)){let r=n;return()=>Gt(e,t,()=>r.call(e))}if(typeof n=="function"&&t==="sessionStoreTrackingPostToolUsePlan"){let r=n;return(o,i,s)=>r.call(e,Ie(o),Ie(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 jt(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 Fe(s)}):i}}return n}var C=new Proxy({},{get:(e,t)=>zt(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 I(e){return C.errorFormattingFormatUnknown(e)}import{basename as tn,join as V}from"node:path";var He="0.0.1";function Be(e){return e===He||e.startsWith(`${He}-`)}import{readdir as Kt,access as Qt,constants as Yt}from"node:fs/promises";import{join as c,basename as Ue}from"node:path";import{homedir as O}from"node:os";function Me(){return process.env.XDG_CACHE_HOME||c(O(),".cache")}function $e(){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 je(){let e=process.argv.indexOf("--prefer-version");if(!(e===-1||e+1>=process.argv.length))return process.argv[e+1]}function Zt(){if(process.platform==="darwin")return c(O(),"Library","Caches","copilot");if(process.platform==="win32"){let e=process.env.LOCALAPPDATA||c(O(),".cache");return c(e,"copilot")}return c(Me(),"copilot")}function We(){let e=[];return process.env.COPILOT_PKG_CACHE_HOME&&e.push(c(process.env.COPILOT_PKG_CACHE_HOME,"pkg")),process.env.COPILOT_CACHE_HOME&&e.push(c(process.env.COPILOT_CACHE_HOME,"pkg")),e.push(c(Zt(),"pkg")),e.push(c(Me(),"copilot","pkg")),process.env.COPILOT_HOME&&e.push(c(process.env.COPILOT_HOME,"pkg")),e.push(c(O(),".copilot","pkg")),[...new Set(e)]}function qe(e){let t=e.match(/^(\d+)\.(\d+)\.(\d+)/);if(t)return[Number(t[1]),Number(t[2]),Number(t[3])]}function Ve(e){let t=e.match(/^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-([^+]+))?(?:\+([0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?$/);if(!t)return;let n=t[4];if(n===void 0)return[];let r=n.split(".");for(let o of r)if(!/^[0-9A-Za-z-]+$/.test(o)||/^\d+$/.test(o)&&o.length>1&&o.startsWith("0"))return;return r}function Xt(e,t){for(let n=0;n<Math.min(e.length,t.length);n++){let r=e[n],o=t[n];if(r===o)continue;let i=/^\d+$/.test(r),s=/^\d+$/.test(o);return i!==s?i?-1:1:i&&r.length!==o.length?r.length-o.length:r<o?-1:1}return e.length-t.length}function en(e,t){let n=qe(e),r=qe(t);if(!n&&!r)return 0;if(!n)return-1;if(!r)return 1;for(let u=0;u<3;u++)if(n[u]!==r[u])return n[u]-r[u];let o=Ve(e),i=Ve(t);if(o!==void 0&&i!==void 0)return o.length===0||i.length===0?o.length!==i.length?o.length===0?1:-1:0:Xt(o,i);let s=e.includes("-"),a=t.includes("-");return s!==a?s?-1:1:e.localeCompare(t)}async function Je(e,...t){let n=[];for(let r of t){let o;try{o=await Kt(r)}catch{continue}for(let i of o){let s=c(r,i);try{await Qt(c(s,e),Yt.R_OK),n.push(s)}catch{continue}}}return n.sort((r,o)=>{let i=en(Ue(o),Ue(r));return i!==0?i:r.localeCompare(o)}),n}import{join as Ge}from"node:path";function ze(){let e=Se();return We().flatMap(t=>[Ge(t,"universal"),Ge(t,e)])}function nn(){return process.env.COPILOT_CLI_VERSION?process.env.COPILOT_CLI_VERSION:"1.0.81-13"}async function Ke(e,t){let n=V(e,"app.js"),r=!process.env.COPILOT_CLI_VERSION&&Be(nn()),o=je();if(o||t&&$e()&&!r){let i=ze(),s=await Je("app.js",...i);if(o){let a=s.find(u=>tn(u)===o);a?n=V(a,"app.js"):process.stderr.write(`Warning: preferred version ${o} not found in package cache, using built-in version | ||
| ${s}`)}function Ut(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:qt(e)}}catch(t){return{ok:!1,err:t}}}function qt(e){return It(Ft(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 Vt(){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(Ae(import.meta.url)),n=L("runtime",[t,R.resolve(t,".."),R.resolve(t,"..","..","native","runtime")]);return e.addon=n,n}var k;function Mt(e){let t=R.dirname(Ae(e));return e.endsWith(".ts")?R.resolve(t,"..","..","..","dist-cli"):t}function $t(e,t,n,r=import.meta.url){e.toolsInitializeBundledBinaryRoot?.(Mt(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=Vt());let e=De();return e.processStateInitialized||(e.processStateInitialized=!0,$t(k,process.env,process.version)),k}var Le="\0__copilot_git_structured_error__\0",Ce="__copilot_session_fs_error:";function jt(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 Fe(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 h(e){let t=Te(e);return t!==e?t:Fe(e)}function ke(e){return e??void 0}function Wt(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 h(s)}}async batch(r){try{return(await this.inner.batch(r)).map(ke)}catch(o){throw h(o)}}async transaction(r){try{return await this.inner.transaction(r)}catch(o){throw h(o)}}async getTableNames(){try{return await this.inner.getTableNames()}catch(r){throw h(r)}}async getTableNamesIfExists(){try{return await this.inner.getTableNamesIfExists()}catch(r){throw h(r)}}async getTodoStatus(){try{return await this.inner.getTodoStatus()}catch(r){throw h(r)}}async getCurrentIntent(){try{return await this.inner.getCurrentIntent()}catch(r){throw h(r)}}async closeAll(){try{await this.inner.closeAll()}catch(r){throw h(r)}}}return Object.defineProperty(t,"name",{value:"SessionDatabaseHandle"}),t}function Ie(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"]),Oe=new WeakMap;function Gt(e,t,n){let r=Oe.get(e);return r||(r=new Map,Oe.set(e,r)),r.has(t)||r.set(t,n()),r.get(t)}function zt(e,t){let n=Reflect.get(e,t);if(typeof n=="function"&&t==="SessionDatabaseHandle")return Wt(n);if(typeof n=="function"&&typeof t=="string"&&Jt.has(t)){let r=n;return()=>Gt(e,t,()=>r.call(e))}if(typeof n=="function"&&t==="sessionStoreTrackingPostToolUsePlan"){let r=n;return(o,i,s)=>r.call(e,Ie(o),Ie(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 jt(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 Fe(s)}):i}}return n}var C=new Proxy({},{get:(e,t)=>zt(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 I(e){return C.errorFormattingFormatUnknown(e)}import{basename as tn,join as V}from"node:path";var He="0.0.1";function Be(e){return e===He||e.startsWith(`${He}-`)}import{readdir as Kt,access as Qt,constants as Yt}from"node:fs/promises";import{join as c,basename as Ue}from"node:path";import{homedir as O}from"node:os";function Me(){return process.env.XDG_CACHE_HOME||c(O(),".cache")}function $e(){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 je(){let e=process.argv.indexOf("--prefer-version");if(!(e===-1||e+1>=process.argv.length))return process.argv[e+1]}function Zt(){if(process.platform==="darwin")return c(O(),"Library","Caches","copilot");if(process.platform==="win32"){let e=process.env.LOCALAPPDATA||c(O(),".cache");return c(e,"copilot")}return c(Me(),"copilot")}function We(){let e=[];return process.env.COPILOT_PKG_CACHE_HOME&&e.push(c(process.env.COPILOT_PKG_CACHE_HOME,"pkg")),process.env.COPILOT_CACHE_HOME&&e.push(c(process.env.COPILOT_CACHE_HOME,"pkg")),e.push(c(Zt(),"pkg")),e.push(c(Me(),"copilot","pkg")),process.env.COPILOT_HOME&&e.push(c(process.env.COPILOT_HOME,"pkg")),e.push(c(O(),".copilot","pkg")),[...new Set(e)]}function qe(e){let t=e.match(/^(\d+)\.(\d+)\.(\d+)/);if(t)return[Number(t[1]),Number(t[2]),Number(t[3])]}function Ve(e){let t=e.match(/^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-([^+]+))?(?:\+([0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?$/);if(!t)return;let n=t[4];if(n===void 0)return[];let r=n.split(".");for(let o of r)if(!/^[0-9A-Za-z-]+$/.test(o)||/^\d+$/.test(o)&&o.length>1&&o.startsWith("0"))return;return r}function Xt(e,t){for(let n=0;n<Math.min(e.length,t.length);n++){let r=e[n],o=t[n];if(r===o)continue;let i=/^\d+$/.test(r),s=/^\d+$/.test(o);return i!==s?i?-1:1:i&&r.length!==o.length?r.length-o.length:r<o?-1:1}return e.length-t.length}function en(e,t){let n=qe(e),r=qe(t);if(!n&&!r)return 0;if(!n)return-1;if(!r)return 1;for(let u=0;u<3;u++)if(n[u]!==r[u])return n[u]-r[u];let o=Ve(e),i=Ve(t);if(o!==void 0&&i!==void 0)return o.length===0||i.length===0?o.length!==i.length?o.length===0?1:-1:0:Xt(o,i);let s=e.includes("-"),a=t.includes("-");return s!==a?s?-1:1:e.localeCompare(t)}async function Je(e,...t){let n=[];for(let r of t){let o;try{o=await Kt(r)}catch{continue}for(let i of o){let s=c(r,i);try{await Qt(c(s,e),Yt.R_OK),n.push(s)}catch{continue}}}return n.sort((r,o)=>{let i=en(Ue(o),Ue(r));return i!==0?i:r.localeCompare(o)}),n}import{join as Ge}from"node:path";function ze(){let e=Se();return We().flatMap(t=>[Ge(t,"universal"),Ge(t,e)])}function nn(){return process.env.COPILOT_CLI_VERSION?process.env.COPILOT_CLI_VERSION:"1.0.81-14"}async function Ke(e,t){let n=V(e,"app.js"),r=!process.env.COPILOT_CLI_VERSION&&Be(nn()),o=je();if(o||t&&$e()&&!r){let i=ze(),s=await Je("app.js",...i);if(o){let a=s.find(u=>tn(u)===o);a?n=V(a,"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 Ye from"node:path";import{fileURLToPath as rn}from"node:url";var _,Qe=Ye.dirname(rn(import.meta.url));function Ze(){if(_){if(_.kind==="ok")return _.addon;throw _.error}try{let e=L("cli-native",[Qe,Ye.resolve(Qe,"..","native","cli")]);return _={kind:"ok",addon:e},e}catch(e){let t=e instanceof Error?e:new Error(`Failed to load cli-native addon: ${I(e)}`);throw _={kind:"error",error:t},t}}function A(){if(process.platform==="win32")return Ze()}var Xe=Symbol.for("github.copilot.cli.cleanExit");function on(){let e=Reflect.get(process,"exit");if(typeof e!="function")return;let t=Reflect.get(e,Xe);return typeof t=="function"?t:void 0}function sn(){let e;if(process.platform==="win32")try{e=A()}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 et(){let e=on();if(e)return e;let t=process.exit.bind(process),n=sn(),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,Xe,{value:i}),process.exit=r,i}import{existsSync as an}from"node:fs";import{basename as un,resolve as cn}from"node:path";var tt="extension_bootstrap.mjs";function nt(e,t,n=an){let r=e.find(s=>un(s)===tt);if(!r)return;process.stderr.write(`[extension-fork] resolveBootstrapPath: __dir=${t}, argv-bootstrap=${r} | ||
@@ -14,0 +14,0 @@ `);let o=cn(t,"preloads",tt),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-13", | ||
| "version": "1.0.81-14", | ||
| "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 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 5 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 5 instances
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
309806573
0.07%155898
0.13%