@raycast/api 1.93.2 → 1.94.0
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/api/evals.js +2 -2
- package/dist/api/github.js +8 -8
- package/dist/api/raycast.js +1 -1
- package/dist/commands/build/index.js +3 -3
- package/dist/commands/develop/index.js +131 -131
- package/dist/commands/evals/index.js +11 -11
- package/dist/commands/lint/index.js +43 -43
- package/dist/commands/login/index.js +3 -3
- package/dist/commands/logout/index.js +1 -1
- package/dist/commands/migrate/index.js +1 -1
- package/dist/commands/profile/index.js +4 -4
- package/dist/commands/publish/index.js +178 -180
- package/dist/commands/pull-contributions/index.js +9 -9
- package/dist/commands/token/index.js +1 -1
- package/dist/commands/validate/index.js +11 -11
- package/dist/commands/version/index.js +1 -1
- package/dist/config.js +1 -1
- package/dist/types/manifest-schema.d.js +1 -1
- package/dist/utils/BaseCommand.js +1 -1
- package/dist/utils/esbuild-plugins/swift-files.js +1 -1
- package/dist/utils/evals/get-package-json.js +1 -1
- package/dist/utils/evals/render-results.js +2 -2
- package/dist/utils/output.js +1 -1
- package/dist/utils/publish/publish-to-public-repo.js +14 -16
- package/dist/utils/publish/publish-to-store.js +3 -3
- package/dist/utils/publish/pull-contributions.js +2 -2
- package/dist/utils/publish/setup-github-fork.js +2 -2
- package/dist/utils/raycast-app-communication.js +2 -2
- package/oclif.manifest.json +156 -117
- package/package.json +9 -9
- package/types/index.d.ts +21 -18
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var pe=Object.create;var I=Object.defineProperty;var ge=Object.getOwnPropertyDescriptor;var me=Object.getOwnPropertyNames;var he=Object.getPrototypeOf,ye=Object.prototype.hasOwnProperty;var y=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports),we=(e,r)=>{for(var t in r)I(e,t,{get:r[t],enumerable:!0})},U=(e,r,t,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let s of me(r))!ye.call(e,s)&&s!==t&&I(e,s,{get:()=>r[s],enumerable:!(i=ge(r,s))||i.enumerable});return e};var p=(e,r,t)=>(t=e!=null?pe(he(e)):{},U(r||!e||!e.__esModule?I(t,"default",{value:e,enumerable:!0}):t,e)),be=e=>U(I({},"__esModule",{value:!0}),e);var z=y((He,V)=>{var ke=require("node:tty"),Ce=ke?.WriteStream?.prototype?.hasColors?.()??!1,o=(e,r)=>{if(!Ce)return s=>s;let t=`\x1B[${e}m`,i=`\x1B[${r}m`;return s=>{let a=s+"",c=a.indexOf(i);if(c===-1)return t+a+i;let f=t,u=0;for(;c!==-1;)f+=a.slice(u,c)+t,u=c+i.length,c=a.indexOf(i,u);return f+=a.slice(u)+i,f}},n={};n.reset=o(0,0);n.bold=o(1,22);n.dim=o(2,22);n.italic=o(3,23);n.underline=o(4,24);n.overline=o(53,55);n.inverse=o(7,27);n.hidden=o(8,28);n.strikethrough=o(9,29);n.black=o(30,39);n.red=o(31,39);n.green=o(32,39);n.yellow=o(33,39);n.blue=o(34,39);n.magenta=o(35,39);n.cyan=o(36,39);n.white=o(37,39);n.gray=o(90,39);n.bgBlack=o(40,49);n.bgRed=o(41,49);n.bgGreen=o(42,49);n.bgYellow=o(43,49);n.bgBlue=o(44,49);n.bgMagenta=o(45,49);n.bgCyan=o(46,49);n.bgWhite=o(47,49);n.bgGray=o(100,49);n.redBright=o(91,39);n.greenBright=o(92,39);n.yellowBright=o(93,39);n.blueBright=o(94,39);n.magentaBright=o(95,39);n.cyanBright=o(96,39);n.whiteBright=o(97,39);n.bgRedBright=o(101,49);n.bgGreenBright=o(102,49);n.bgYellowBright=o(103,49);n.bgBlueBright=o(104,49);n.bgMagentaBright=o(105,49);n.bgCyanBright=o(106,49);n.bgWhiteBright=o(107,49);V.exports=n});var D=y((er,Z)=>{"use strict";var H=require("fs"),B;function Pe(){try{return H.statSync("/.dockerenv"),!0}catch{return!1}}function Se(){try{return H.readFileSync("/proc/self/cgroup","utf8").includes("docker")}catch{return!1}}Z.exports=()=>(B===void 0&&(B=Pe()||Se()),B)});var re=y((rr,O)=>{"use strict";var $e=require("os"),Te=require("fs"),Q=D(),ee=()=>{if(process.platform!=="linux")return!1;if($e.release().toLowerCase().includes("microsoft"))return!Q();try{return Te.readFileSync("/proc/version","utf8").toLowerCase().includes("microsoft")?!Q():!1}catch{return!1}};process.env.__IS_WSL_TEST__?O.exports=ee:O.exports=ee()});var ne=y((tr,te)=>{"use strict";te.exports=(e,r,t)=>{let i=s=>Object.defineProperty(e,r,{value:s,enumerable:!0,writable:!0});return Object.defineProperty(e,r,{configurable:!0,enumerable:!0,get(){let s=t();return i(s),s},set(s){i(s)}}),e}});var le=y((nr,ue)=>{var Ne=require("path"),Be=require("child_process"),{promises:v,constants:ce}=require("fs"),C=re(),De=D(),R=ne(),oe=Ne.join(__dirname,"xdg-open"),{platform:h,arch:se}=process,Oe=()=>{try{return v.statSync("/run/.containerenv"),!0}catch{return!1}},F;function Fe(){return F===void 0&&(F=Oe()||De()),F}var Re=(()=>{let e="/mnt/",r;return async function(){if(r)return r;let t="/etc/wsl.conf",i=!1;try{await v.access(t,ce.F_OK),i=!0}catch{}if(!i)return e;let s=await v.readFile(t,{encoding:"utf8"}),a=/(?<!#.*)root\s*=\s*(?<mountPoint>.*)/g.exec(s);return a?(r=a.groups.mountPoint.trim(),r=r.endsWith("/")?r:`${r}/`,r):e}})(),ie=async(e,r)=>{let t;for(let i of e)try{return await r(i)}catch(s){t=s}throw t},P=async e=>{if(e={wait:!1,background:!1,newInstance:!1,allowNonzeroExitCode:!1,...e},Array.isArray(e.app))return ie(e.app,f=>P({...e,app:f}));let{name:r,arguments:t=[]}=e.app||{};if(t=[...t],Array.isArray(r))return ie(r,f=>P({...e,app:{name:f,arguments:t}}));let i,s=[],a={};if(h==="darwin")i="open",e.wait&&s.push("--wait-apps"),e.background&&s.push("--background"),e.newInstance&&s.push("--new"),r&&s.push("-a",r);else if(h==="win32"||C&&!Fe()&&!r){let f=await Re();i=C?`${f}c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe`:`${process.env.SYSTEMROOT}\\System32\\WindowsPowerShell\\v1.0\\powershell`,s.push("-NoProfile","-NonInteractive","\u2013ExecutionPolicy","Bypass","-EncodedCommand"),C||(a.windowsVerbatimArguments=!0);let u=["Start"];e.wait&&u.push("-Wait"),r?(u.push(`"\`"${r}\`""`,"-ArgumentList"),e.target&&t.unshift(e.target)):e.target&&u.push(`"${e.target}"`),t.length>0&&(t=t.map(m=>`"\`"${m}\`""`),u.push(t.join(","))),e.target=Buffer.from(u.join(" "),"utf16le").toString("base64")}else{if(r)i=r;else{let f=!__dirname||__dirname==="/",u=!1;try{await v.access(oe,ce.X_OK),u=!0}catch{}i=process.versions.electron||h==="android"||f||!u?"xdg-open":oe}t.length>0&&s.push(...t),e.wait||(a.stdio="ignore",a.detached=!0)}e.target&&s.push(e.target),h==="darwin"&&t.length>0&&s.push("--args",...t);let c=Be.spawn(i,s,a);return e.wait?new Promise((f,u)=>{c.once("error",u),c.once("close",m=>{if(!e.allowNonzeroExitCode&&m>0){u(new Error(`Exited with code ${m}`));return}f(c)})}):(c.unref(),c)},_=(e,r)=>{if(typeof e!="string")throw new TypeError("Expected a `target`");return P({...r,target:e})},_e=(e,r)=>{if(typeof e!="string")throw new TypeError("Expected a `name`");let{arguments:t=[]}=r||{};if(t!=null&&!Array.isArray(t))throw new TypeError("Expected `appArguments` as Array type");return P({...r,app:{name:e,arguments:t}})};function ae(e){if(typeof e=="string"||Array.isArray(e))return e;let{[se]:r}=e;if(!r)throw new Error(`${se} is not supported`);return r}function G({[h]:e},{wsl:r}){if(r&&C)return ae(r);if(!e)throw new Error(`${h} is not supported`);return ae(e)}var S={};R(S,"chrome",()=>G({darwin:"google chrome",win32:"chrome",linux:["google-chrome","google-chrome-stable","chromium"]},{wsl:{ia32:"/mnt/c/Program Files (x86)/Google/Chrome/Application/chrome.exe",x64:["/mnt/c/Program Files/Google/Chrome/Application/chrome.exe","/mnt/c/Program Files (x86)/Google/Chrome/Application/chrome.exe"]}}));R(S,"firefox",()=>G({darwin:"firefox",win32:"C:\\Program Files\\Mozilla Firefox\\firefox.exe",linux:"firefox"},{wsl:"/mnt/c/Program Files/Mozilla Firefox/firefox.exe"}));R(S,"edge",()=>G({darwin:"microsoft edge",win32:"msedge",linux:["microsoft-edge","microsoft-edge-dev"]},{wsl:"/mnt/c/Program Files (x86)/Microsoft/Edge/Application/msedge.exe"}));_.apps=S;_.openApp=_e;ue.exports=_});var qe={};we(qe,{commFilePath:()=>L,notifyRaycast:()=>Ge,updatePid:()=>de});module.exports=be(qe);var j=require("node:child_process"),d=p(require("node:fs")),x=p(require("node:path"));var A=p(require("node:fs")),$=p(require("node:path")),K=p(require("node:os"));var q=p(require("node:path")),W=p(require("node:fs"));function E(){let e;try{e=q.resolve("package.json")}catch(t){throw new Error(`cannot resolve package manifest path: ${t}`)}let r;try{r=JSON.parse(W.readFileSync(e,"utf8"))}catch(t){throw new Error(`cannot read package manifest: ${t}`)}return r.name=r.name.replace(/^@workaround/g,""),r}var Y={production:{url:"https://www.raycast.com",clientID:"KqAdcGhNfBKiUpfjD3nU3VNgh1t0iMPoX2hYEkN9d4I"},staging:{url:"https://www.rayca.st",clientID:"KqAdcGhNfBKiUpfjD3nU3VNgh1t0iMPoX2hYEkN9d4I"},development:{url:"http://localhost:3000",clientID:"rOCD_LhnXFObSLu9v7788qOGu25FZDqEzGjet4Q45ZY"}}[process.env.API_ENV||"production"],xe="e69bae0ec90f5e838555",g={},T;function w(){let e=E();if(!e.name)throw new Error("extension name in manifest cannot be empty");return $.join(Ae(),"extensions",e.name)}function X(){let e=k(T);return e?`com.raycast.macos.${e}`:"com.raycast.macos"}function J(){return`raycast${k(T)}`}function Ie(e){switch(e){case"raycastApiURL":return process.env.RAY_APIURL||g.APIURL||Y.url;case"raycastAccessToken":return process.env.RAY_TOKEN||g.Token||g.AccessToken||"";case"raycastClientId":return process.env.RAY_CLIENT_ID||g.ClientID||Y.clientID;case"githubClientId":return process.env.RAY_GithubClientID||g.GithubClientID||xe;case"githubAccessToken":return process.env.GITHUB_ACCESS_TOKEN||g.GithubAccessToken||"";case"flavorName":return process.env.RAY_Target||(typeof g.Target>"u"?k("release"):g.Target)}}function k(e){switch(e){case"debug":return"debug";case"internal":return"internal";case"release":return"";case void 0:return Ie("flavorName")}}function Ee(){let e=k(T);return e==""?"raycast":`raycast-${e}`}function Ae(){let e=$.join(K.default.homedir(),".config",Ee());return A.mkdirSync(e,{recursive:!0}),e}var l=p(z());var Ze=(0,l.blue)((0,l.dim)("internal only"));function N(e,r,t){console.log(ve[e]+r),typeof t?.exit<"u"&&process.exit(t.exit)}var ve={wait:`\u{1F550}${(0,l.blue)("wait")} - `,info:`${process.env.GITHUB_ACTIONS==="true"?"\u2139\uFE0F":"\u2139\uFE0F "}${(0,l.cyan)("info")} - `,success:`\u2705${(0,l.green)("ready")} - `,warn:`${process.env.GITHUB_ACTIONS==="true"?"\u26A0\uFE0F":"\u26A0\uFE0F "}${(0,l.yellow)("warn")} - `,error:`\u{1F4A5}${(0,l.red)("error")} - `,event:`\u26A1\uFE0F${(0,l.magenta)("event")} - `,paymentPrompt:`\u{1F4B0}${(0,l.yellowBright)("plan")} - `};var fe=p(le());async function Ge(e,r){let t=!1;switch(e){case"start":{Me(),de(),Le();break}case"stop":{try{d.unlinkSync(L("log"))}catch{}try{d.unlinkSync(L("pid"))}catch{}return}default:t=!0}let i;try{i=E()}catch{return}Ue()||N("warn","Raycast is not running"),t?je(i.name,e,r):await M(i.name,e,r)}function L(e){return x.join(w(),e==="log"?"dev.log":"cli.pid")}function de(){let e=w();try{d.mkdirSync(e,{recursive:!0})}catch(t){throw new Error(`cannot create output directory (${t.message})`)}let r=process.pid.toString();try{d.writeFileSync(x.join(e,"cli.pid"),r,{mode:420})}catch(t){throw new Error(`cannot write pid file (${t.message})`)}}function Le(){let e=w();try{d.mkdirSync(e,{recursive:!0})}catch(r){throw new Error(`cannot create output directory (${r.message})`)}try{d.writeFileSync(x.join(e,"dev.log"),"")}catch(r){throw new Error(`cannot write log file (${r.message})`)}}function Me(){let e=x.join(w(),"cli.pid");try{let i=`kill -9 ${d.readFileSync(e,"utf8").trim()}`;(0,j.execSync)(i,{shell:"/bin/sh"})}catch{}}var b=null;function je(e,r,t){b?(clearTimeout(b),b=setTimeout(()=>{M(e,r,t)},300)):(M(e,r,t),b=setTimeout(()=>{b=null},300))}async function M(e,r,t){let i=process.cwd(),s=`${J()}://cli/${e}/${r}?cwd=${encodeURIComponent(i)}&info=${encodeURIComponent(t||"")}`;try{await(0,fe.default)(s,{background:!0})}catch(a){N("error",`cannot notify Raycast (${a.message})`)}}function Ue(){let r=X(),t="ps -e -o args | grep -v grep | grep -i contents/macos/raycast",i;try{i=(0,j.execSync)(t,{shell:"/bin/sh",encoding:"utf8"})}catch{return!1}let s=i.trim();if(s==="")return!1;let a=s.split(`
|
|
2
|
-
`);for(let c of a){let f=c.indexOf("/Contents/MacOS/Raycast");if(f>-1&&(c=c.substring(0,f)),!!d.existsSync(c))return!0}return!1}0&&(module.exports={commFilePath,notifyRaycast,updatePid});
|
|
1
|
+
"use strict";var pe=Object.create;var E=Object.defineProperty;var ge=Object.getOwnPropertyDescriptor;var me=Object.getOwnPropertyNames;var he=Object.getPrototypeOf,ye=Object.prototype.hasOwnProperty;var y=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports),we=(e,r)=>{for(var t in r)E(e,t,{get:r[t],enumerable:!0})},U=(e,r,t,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let s of me(r))!ye.call(e,s)&&s!==t&&E(e,s,{get:()=>r[s],enumerable:!(i=ge(r,s))||i.enumerable});return e};var p=(e,r,t)=>(t=e!=null?pe(he(e)):{},U(r||!e||!e.__esModule?E(t,"default",{value:e,enumerable:!0}):t,e)),xe=e=>U(E({},"__esModule",{value:!0}),e);var J=y((ze,H)=>{var ke=require("node:tty"),Ce=ke?.WriteStream?.prototype?.hasColors?.()??!1,o=(e,r)=>{if(!Ce)return s=>s;let t=`\x1B[${e}m`,i=`\x1B[${r}m`;return s=>{let a=s+"",c=a.indexOf(i);if(c===-1)return t+a+i;let f=t,u=0;for(;c!==-1;)f+=a.slice(u,c)+t,u=c+i.length,c=a.indexOf(i,u);return f+=a.slice(u)+i,f}},n={};n.reset=o(0,0);n.bold=o(1,22);n.dim=o(2,22);n.italic=o(3,23);n.underline=o(4,24);n.overline=o(53,55);n.inverse=o(7,27);n.hidden=o(8,28);n.strikethrough=o(9,29);n.black=o(30,39);n.red=o(31,39);n.green=o(32,39);n.yellow=o(33,39);n.blue=o(34,39);n.magenta=o(35,39);n.cyan=o(36,39);n.white=o(37,39);n.gray=o(90,39);n.bgBlack=o(40,49);n.bgRed=o(41,49);n.bgGreen=o(42,49);n.bgYellow=o(43,49);n.bgBlue=o(44,49);n.bgMagenta=o(45,49);n.bgCyan=o(46,49);n.bgWhite=o(47,49);n.bgGray=o(100,49);n.redBright=o(91,39);n.greenBright=o(92,39);n.yellowBright=o(93,39);n.blueBright=o(94,39);n.magentaBright=o(95,39);n.cyanBright=o(96,39);n.whiteBright=o(97,39);n.bgRedBright=o(101,49);n.bgGreenBright=o(102,49);n.bgYellowBright=o(103,49);n.bgBlueBright=o(104,49);n.bgMagentaBright=o(105,49);n.bgCyanBright=o(106,49);n.bgWhiteBright=o(107,49);H.exports=n});var O=y((er,Z)=>{"use strict";var z=require("fs"),B;function $e(){try{return z.statSync("/.dockerenv"),!0}catch{return!1}}function Pe(){try{return z.readFileSync("/proc/self/cgroup","utf8").includes("docker")}catch{return!1}}Z.exports=()=>(B===void 0&&(B=$e()||Pe()),B)});var re=y((rr,F)=>{"use strict";var Se=require("os"),Te=require("fs"),Q=O(),ee=()=>{if(process.platform!=="linux")return!1;if(Se.release().toLowerCase().includes("microsoft"))return!Q();try{return Te.readFileSync("/proc/version","utf8").toLowerCase().includes("microsoft")?!Q():!1}catch{return!1}};process.env.__IS_WSL_TEST__?F.exports=ee:F.exports=ee()});var ne=y((tr,te)=>{"use strict";te.exports=(e,r,t)=>{let i=s=>Object.defineProperty(e,r,{value:s,enumerable:!0,writable:!0});return Object.defineProperty(e,r,{configurable:!0,enumerable:!0,get(){let s=t();return i(s),s},set(s){i(s)}}),e}});var le=y((nr,ue)=>{var Ne=require("path"),De=require("child_process"),{promises:$,constants:ce}=require("fs"),v=re(),Be=O(),_=ne(),oe=Ne.join(__dirname,"xdg-open"),{platform:h,arch:se}=process,Oe=()=>{try{return $.statSync("/run/.containerenv"),!0}catch{return!1}},R;function Fe(){return R===void 0&&(R=Oe()||Be()),R}var Re=(()=>{let e="/mnt/",r;return async function(){if(r)return r;let t="/etc/wsl.conf",i=!1;try{await $.access(t,ce.F_OK),i=!0}catch{}if(!i)return e;let s=await $.readFile(t,{encoding:"utf8"}),a=/(?<!#.*)root\s*=\s*(?<mountPoint>.*)/g.exec(s);return a?(r=a.groups.mountPoint.trim(),r=r.endsWith("/")?r:`${r}/`,r):e}})(),ie=async(e,r)=>{let t;for(let i of e)try{return await r(i)}catch(s){t=s}throw t},P=async e=>{if(e={wait:!1,background:!1,newInstance:!1,allowNonzeroExitCode:!1,...e},Array.isArray(e.app))return ie(e.app,f=>P({...e,app:f}));let{name:r,arguments:t=[]}=e.app||{};if(t=[...t],Array.isArray(r))return ie(r,f=>P({...e,app:{name:f,arguments:t}}));let i,s=[],a={};if(h==="darwin")i="open",e.wait&&s.push("--wait-apps"),e.background&&s.push("--background"),e.newInstance&&s.push("--new"),r&&s.push("-a",r);else if(h==="win32"||v&&!Fe()&&!r){let f=await Re();i=v?`${f}c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe`:`${process.env.SYSTEMROOT}\\System32\\WindowsPowerShell\\v1.0\\powershell`,s.push("-NoProfile","-NonInteractive","\u2013ExecutionPolicy","Bypass","-EncodedCommand"),v||(a.windowsVerbatimArguments=!0);let u=["Start"];e.wait&&u.push("-Wait"),r?(u.push(`"\`"${r}\`""`,"-ArgumentList"),e.target&&t.unshift(e.target)):e.target&&u.push(`"${e.target}"`),t.length>0&&(t=t.map(m=>`"\`"${m}\`""`),u.push(t.join(","))),e.target=Buffer.from(u.join(" "),"utf16le").toString("base64")}else{if(r)i=r;else{let f=!__dirname||__dirname==="/",u=!1;try{await $.access(oe,ce.X_OK),u=!0}catch{}i=process.versions.electron||h==="android"||f||!u?"xdg-open":oe}t.length>0&&s.push(...t),e.wait||(a.stdio="ignore",a.detached=!0)}e.target&&s.push(e.target),h==="darwin"&&t.length>0&&s.push("--args",...t);let c=De.spawn(i,s,a);return e.wait?new Promise((f,u)=>{c.once("error",u),c.once("close",m=>{if(!e.allowNonzeroExitCode&&m>0){u(new Error(`Exited with code ${m}`));return}f(c)})}):(c.unref(),c)},G=(e,r)=>{if(typeof e!="string")throw new TypeError("Expected a `target`");return P({...r,target:e})},_e=(e,r)=>{if(typeof e!="string")throw new TypeError("Expected a `name`");let{arguments:t=[]}=r||{};if(t!=null&&!Array.isArray(t))throw new TypeError("Expected `appArguments` as Array type");return P({...r,app:{name:e,arguments:t}})};function ae(e){if(typeof e=="string"||Array.isArray(e))return e;let{[se]:r}=e;if(!r)throw new Error(`${se} is not supported`);return r}function M({[h]:e},{wsl:r}){if(r&&v)return ae(r);if(!e)throw new Error(`${h} is not supported`);return ae(e)}var S={};_(S,"chrome",()=>M({darwin:"google chrome",win32:"chrome",linux:["google-chrome","google-chrome-stable","chromium"]},{wsl:{ia32:"/mnt/c/Program Files (x86)/Google/Chrome/Application/chrome.exe",x64:["/mnt/c/Program Files/Google/Chrome/Application/chrome.exe","/mnt/c/Program Files (x86)/Google/Chrome/Application/chrome.exe"]}}));_(S,"firefox",()=>M({darwin:"firefox",win32:"C:\\Program Files\\Mozilla Firefox\\firefox.exe",linux:"firefox"},{wsl:"/mnt/c/Program Files/Mozilla Firefox/firefox.exe"}));_(S,"edge",()=>M({darwin:"microsoft edge",win32:"msedge",linux:["microsoft-edge","microsoft-edge-dev"]},{wsl:"/mnt/c/Program Files (x86)/Microsoft/Edge/Application/msedge.exe"}));G.apps=S;G.openApp=_e;ue.exports=G});var qe={};we(qe,{commFilePath:()=>L,notifyRaycast:()=>Ge,updatePid:()=>de});module.exports=xe(qe);var b=require("node:child_process"),d=p(require("node:fs")),I=p(require("node:path"));var k=p(require("node:fs")),T=p(require("node:path")),K=p(require("node:os"));var q=p(require("node:path")),W=p(require("node:fs"));function A(){let e;try{e=q.resolve("package.json")}catch(t){throw new Error(`cannot resolve package manifest path: ${t}`)}let r;try{r=JSON.parse(W.readFileSync(e,"utf8"))}catch(t){throw new Error(`cannot read package manifest: ${t}`)}return r.name=r.name.replace(/^@workaround/g,""),r}var Y={production:{url:"https://www.raycast.com",clientID:"KqAdcGhNfBKiUpfjD3nU3VNgh1t0iMPoX2hYEkN9d4I"},staging:{url:"https://www.rayca.st",clientID:"KqAdcGhNfBKiUpfjD3nU3VNgh1t0iMPoX2hYEkN9d4I"},development:{url:"http://localhost:3000",clientID:"rOCD_LhnXFObSLu9v7788qOGu25FZDqEzGjet4Q45ZY"}}[process.env.API_ENV||"production"],be="e69bae0ec90f5e838555",g={},N;function w(){let e=A();if(!e.name)throw new Error("extension name in manifest cannot be empty");return T.join(Ae(),"extensions",e.name)}function V(){let e=C(N);return e?.startsWith("x")?e==="x"?"com.raycast-x.macos":`com.raycast-x.macos.${e.replace("x-","")}`:e?`com.raycast.macos.${e}`:"com.raycast.macos"}function X(){return`raycast${C(N)}`}function Ie(e){switch(e){case"raycastApiURL":return process.env.RAY_APIURL||g.APIURL||Y.url;case"raycastAccessToken":return process.env.RAY_TOKEN||g.Token||g.AccessToken||"";case"raycastClientId":return process.env.RAY_CLIENT_ID||g.ClientID||Y.clientID;case"githubClientId":return process.env.RAY_GithubClientID||g.GithubClientID||be;case"githubAccessToken":return process.env.GITHUB_ACCESS_TOKEN||g.GithubAccessToken||"";case"flavorName":return process.env.RAY_Target||(typeof g.Target>"u"?C("release"):g.Target)}}function C(e){switch(e){case"debug":return"debug";case"internal":return"internal";case"release":return"";case"x":return"x";case"x-internal":return"x-internal";case"x-debug":return"x-debug";case void 0:return Ie("flavorName")}}function Ee(){let e=C(N);return e==""?"raycast":`raycast-${e}`}function Ae(){let e=T.join(K.default.homedir(),".config",Ee());return k.mkdirSync(e,{recursive:!0}),e}var l=p(J());var Ze=(0,l.blue)((0,l.dim)("internal only"));function D(e,r,t){console.log(ve[e]+r),typeof t?.exit<"u"&&process.exit(t.exit)}var ve={wait:`\u{1F550}${(0,l.blue)("wait")} - `,info:`${process.env.GITHUB_ACTIONS==="true"?"\u2139\uFE0F":"\u2139\uFE0F "}${(0,l.cyan)("info")} - `,success:`\u2705${(0,l.green)("ready")} - `,warn:`${process.env.GITHUB_ACTIONS==="true"?"\u26A0\uFE0F":"\u26A0\uFE0F "}${(0,l.yellow)("warn")} - `,error:`\u{1F4A5}${(0,l.red)("error")} - `,event:`\u26A1\uFE0F${(0,l.magenta)("event")} - `,paymentPrompt:`\u{1F4B0}${(0,l.yellowBright)("plan")} - `};var fe=p(le());async function Ge(e,r){let t=!1;switch(e){case"start":{Le(),de(),Me();break}case"stop":{try{d.unlinkSync(L("log"))}catch{}try{d.unlinkSync(L("pid"))}catch{}return}default:t=!0}let i;try{i=A()}catch{return}Ue()||D("warn","Raycast is not running"),t?je(i.name,e,r):await j(i.name,e,r)}function L(e){return I.join(w(),e==="log"?"dev.log":"cli.pid")}function de(){let e=w();try{d.mkdirSync(e,{recursive:!0})}catch(t){throw new Error(`cannot create output directory (${t.message})`)}let r=process.pid.toString();try{d.writeFileSync(I.join(e,"cli.pid"),r,{mode:420})}catch(t){throw new Error(`cannot write pid file (${t.message})`)}}function Me(){let e=w();try{d.mkdirSync(e,{recursive:!0})}catch(r){throw new Error(`cannot create output directory (${r.message})`)}try{d.writeFileSync(I.join(e,"dev.log"),"")}catch(r){throw new Error(`cannot write log file (${r.message})`)}}function Le(){let e=I.join(w(),"cli.pid");try{let t=d.readFileSync(e,"utf8").trim();process.platform==="win32"?(0,b.execSync)(`taskkill /F /PID ${t}`):(0,b.execSync)(`kill -9 ${t}`,{shell:"/bin/sh"})}catch{}}var x=null;function je(e,r,t){x?(clearTimeout(x),x=setTimeout(()=>{j(e,r,t)},300)):(j(e,r,t),x=setTimeout(()=>{x=null},300))}async function j(e,r,t){let i=process.cwd(),s=`${X()}://cli/${e}/${r}?cwd=${encodeURIComponent(i)}&info=${encodeURIComponent(t||"")}`;try{await(0,fe.default)(s,{background:!0})}catch(a){D("error",`cannot notify Raycast (${a.message})`)}}function Ue(){if(process.platform==="win32")return(0,b.execSync)('tasklist /FI "IMAGENAME eq Raycast.exe" /FO CSV /NH',{encoding:"utf8"}).toLowerCase().includes("raycast.exe");{let r=V(),t="ps -e -o args | grep -v grep | grep -i contents/macos/raycast",i;try{i=(0,b.execSync)(t,{shell:"/bin/sh",encoding:"utf8"})}catch{return!1}let s=i.trim();if(s==="")return!1;let a=s.split(`
|
|
2
|
+
`);for(let c of a){let f=c.indexOf("/Contents/MacOS/Raycast");if(f>-1&&(c=c.substring(0,f)),!!d.existsSync(c))return!0}}return!1}0&&(module.exports={commFilePath,notifyRaycast,updatePid});
|
package/oclif.manifest.json
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"commands": {
|
|
3
|
-
"
|
|
4
|
-
"aliases": [
|
|
5
|
-
"dev"
|
|
6
|
-
],
|
|
3
|
+
"build": {
|
|
4
|
+
"aliases": [],
|
|
7
5
|
"args": {},
|
|
8
|
-
"description": "
|
|
6
|
+
"description": "Build the extension to the output directory",
|
|
9
7
|
"flags": {
|
|
10
8
|
"exit-on-error": {
|
|
11
9
|
"aliases": [
|
|
@@ -51,35 +49,52 @@
|
|
|
51
49
|
"options": [
|
|
52
50
|
"debug",
|
|
53
51
|
"internal",
|
|
54
|
-
"release"
|
|
52
|
+
"release",
|
|
53
|
+
"x",
|
|
54
|
+
"x-debug",
|
|
55
|
+
"x-internal"
|
|
55
56
|
],
|
|
56
57
|
"type": "option"
|
|
57
58
|
},
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"name": "
|
|
62
|
-
"
|
|
63
|
-
"
|
|
59
|
+
"environment": {
|
|
60
|
+
"char": "e",
|
|
61
|
+
"description": "Environment to build for",
|
|
62
|
+
"name": "environment",
|
|
63
|
+
"default": "dev",
|
|
64
|
+
"hasDynamicHelp": false,
|
|
65
|
+
"multiple": false,
|
|
66
|
+
"options": [
|
|
67
|
+
"dev",
|
|
68
|
+
"dist"
|
|
69
|
+
],
|
|
70
|
+
"type": "option"
|
|
64
71
|
},
|
|
65
|
-
"
|
|
66
|
-
"
|
|
72
|
+
"output": {
|
|
73
|
+
"char": "o",
|
|
74
|
+
"description": "Output path",
|
|
75
|
+
"name": "output",
|
|
76
|
+
"hasDynamicHelp": false,
|
|
77
|
+
"multiple": false,
|
|
78
|
+
"type": "option"
|
|
79
|
+
},
|
|
80
|
+
"skip-types": {
|
|
81
|
+
"description": "Indicates whether to skip types generation \u001b[34m\u001b[2minternal only\u001b[22m\u001b[39m",
|
|
67
82
|
"hidden": true,
|
|
68
|
-
"name": "
|
|
83
|
+
"name": "skip-types",
|
|
69
84
|
"allowNo": false,
|
|
70
85
|
"type": "boolean"
|
|
71
86
|
},
|
|
72
|
-
"print-tool-
|
|
73
|
-
"description": "Indicates whether to print the
|
|
87
|
+
"print-tool-schemas": {
|
|
88
|
+
"description": "Indicates whether to print the schema tools \u001b[34m\u001b[2minternal only\u001b[22m\u001b[39m",
|
|
74
89
|
"hidden": true,
|
|
75
|
-
"name": "print-tool-
|
|
90
|
+
"name": "print-tool-schemas",
|
|
76
91
|
"allowNo": false,
|
|
77
92
|
"type": "boolean"
|
|
78
93
|
}
|
|
79
94
|
},
|
|
80
95
|
"hasDynamicHelp": false,
|
|
81
96
|
"hiddenAliases": [],
|
|
82
|
-
"id": "
|
|
97
|
+
"id": "build",
|
|
83
98
|
"pluginAlias": "ray",
|
|
84
99
|
"pluginName": "ray",
|
|
85
100
|
"pluginType": "core",
|
|
@@ -89,14 +104,16 @@
|
|
|
89
104
|
"relativePath": [
|
|
90
105
|
"dist",
|
|
91
106
|
"commands",
|
|
92
|
-
"
|
|
107
|
+
"build",
|
|
93
108
|
"index.js"
|
|
94
109
|
]
|
|
95
110
|
},
|
|
96
|
-
"
|
|
97
|
-
"aliases": [
|
|
111
|
+
"develop": {
|
|
112
|
+
"aliases": [
|
|
113
|
+
"dev"
|
|
114
|
+
],
|
|
98
115
|
"args": {},
|
|
99
|
-
"description": "
|
|
116
|
+
"description": "Start the extension in development mode and watches for changes",
|
|
100
117
|
"flags": {
|
|
101
118
|
"exit-on-error": {
|
|
102
119
|
"aliases": [
|
|
@@ -142,49 +159,38 @@
|
|
|
142
159
|
"options": [
|
|
143
160
|
"debug",
|
|
144
161
|
"internal",
|
|
145
|
-
"release"
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
"environment": {
|
|
150
|
-
"char": "e",
|
|
151
|
-
"description": "Environment to build for",
|
|
152
|
-
"name": "environment",
|
|
153
|
-
"default": "dev",
|
|
154
|
-
"hasDynamicHelp": false,
|
|
155
|
-
"multiple": false,
|
|
156
|
-
"options": [
|
|
157
|
-
"dev",
|
|
158
|
-
"dist"
|
|
162
|
+
"release",
|
|
163
|
+
"x",
|
|
164
|
+
"x-debug",
|
|
165
|
+
"x-internal"
|
|
159
166
|
],
|
|
160
167
|
"type": "option"
|
|
161
168
|
},
|
|
162
|
-
"
|
|
163
|
-
"
|
|
164
|
-
"
|
|
165
|
-
"name": "
|
|
166
|
-
"
|
|
167
|
-
"
|
|
168
|
-
"type": "option"
|
|
169
|
+
"print-tool-schemas": {
|
|
170
|
+
"description": "Indicates whether to print the schema tools \u001b[34m\u001b[2minternal only\u001b[22m\u001b[39m",
|
|
171
|
+
"hidden": true,
|
|
172
|
+
"name": "print-tool-schemas",
|
|
173
|
+
"allowNo": false,
|
|
174
|
+
"type": "boolean"
|
|
169
175
|
},
|
|
170
|
-
"
|
|
171
|
-
"description": "Indicates whether to
|
|
176
|
+
"print-instructions": {
|
|
177
|
+
"description": "Indicates whether to print the extension's instructions \u001b[34m\u001b[2minternal only\u001b[22m\u001b[39m",
|
|
172
178
|
"hidden": true,
|
|
173
|
-
"name": "
|
|
179
|
+
"name": "print-instructions",
|
|
174
180
|
"allowNo": false,
|
|
175
181
|
"type": "boolean"
|
|
176
182
|
},
|
|
177
|
-
"print-tool-
|
|
178
|
-
"description": "Indicates whether to print the
|
|
183
|
+
"print-tool-calls": {
|
|
184
|
+
"description": "Indicates whether to print the inputs and outputs of tools when they are called from Raycast \u001b[34m\u001b[2minternal only\u001b[22m\u001b[39m",
|
|
179
185
|
"hidden": true,
|
|
180
|
-
"name": "print-tool-
|
|
186
|
+
"name": "print-tool-calls",
|
|
181
187
|
"allowNo": false,
|
|
182
188
|
"type": "boolean"
|
|
183
189
|
}
|
|
184
190
|
},
|
|
185
191
|
"hasDynamicHelp": false,
|
|
186
192
|
"hiddenAliases": [],
|
|
187
|
-
"id": "
|
|
193
|
+
"id": "develop",
|
|
188
194
|
"pluginAlias": "ray",
|
|
189
195
|
"pluginName": "ray",
|
|
190
196
|
"pluginType": "core",
|
|
@@ -194,7 +200,7 @@
|
|
|
194
200
|
"relativePath": [
|
|
195
201
|
"dist",
|
|
196
202
|
"commands",
|
|
197
|
-
"
|
|
203
|
+
"develop",
|
|
198
204
|
"index.js"
|
|
199
205
|
]
|
|
200
206
|
},
|
|
@@ -247,7 +253,10 @@
|
|
|
247
253
|
"options": [
|
|
248
254
|
"debug",
|
|
249
255
|
"internal",
|
|
250
|
-
"release"
|
|
256
|
+
"release",
|
|
257
|
+
"x",
|
|
258
|
+
"x-debug",
|
|
259
|
+
"x-internal"
|
|
251
260
|
],
|
|
252
261
|
"type": "option"
|
|
253
262
|
},
|
|
@@ -352,7 +361,10 @@
|
|
|
352
361
|
"options": [
|
|
353
362
|
"debug",
|
|
354
363
|
"internal",
|
|
355
|
-
"release"
|
|
364
|
+
"release",
|
|
365
|
+
"x",
|
|
366
|
+
"x-debug",
|
|
367
|
+
"x-internal"
|
|
356
368
|
],
|
|
357
369
|
"type": "option"
|
|
358
370
|
},
|
|
@@ -446,7 +458,10 @@
|
|
|
446
458
|
"options": [
|
|
447
459
|
"debug",
|
|
448
460
|
"internal",
|
|
449
|
-
"release"
|
|
461
|
+
"release",
|
|
462
|
+
"x",
|
|
463
|
+
"x-debug",
|
|
464
|
+
"x-internal"
|
|
450
465
|
],
|
|
451
466
|
"type": "option"
|
|
452
467
|
}
|
|
@@ -516,7 +531,10 @@
|
|
|
516
531
|
"options": [
|
|
517
532
|
"debug",
|
|
518
533
|
"internal",
|
|
519
|
-
"release"
|
|
534
|
+
"release",
|
|
535
|
+
"x",
|
|
536
|
+
"x-debug",
|
|
537
|
+
"x-internal"
|
|
520
538
|
],
|
|
521
539
|
"type": "option"
|
|
522
540
|
}
|
|
@@ -537,11 +555,18 @@
|
|
|
537
555
|
"index.js"
|
|
538
556
|
]
|
|
539
557
|
},
|
|
540
|
-
"
|
|
558
|
+
"profile": {
|
|
541
559
|
"aliases": [],
|
|
542
560
|
"args": {},
|
|
543
|
-
"description": "
|
|
561
|
+
"description": "Show profile of the currently logged in user",
|
|
544
562
|
"flags": {
|
|
563
|
+
"json": {
|
|
564
|
+
"description": "Format output as json.",
|
|
565
|
+
"helpGroup": "GLOBAL",
|
|
566
|
+
"name": "json",
|
|
567
|
+
"allowNo": false,
|
|
568
|
+
"type": "boolean"
|
|
569
|
+
},
|
|
545
570
|
"exit-on-error": {
|
|
546
571
|
"aliases": [
|
|
547
572
|
"exitOnError"
|
|
@@ -586,49 +611,35 @@
|
|
|
586
611
|
"options": [
|
|
587
612
|
"debug",
|
|
588
613
|
"internal",
|
|
589
|
-
"release"
|
|
614
|
+
"release",
|
|
615
|
+
"x",
|
|
616
|
+
"x-debug",
|
|
617
|
+
"x-internal"
|
|
590
618
|
],
|
|
591
619
|
"type": "option"
|
|
592
|
-
},
|
|
593
|
-
"path": {
|
|
594
|
-
"char": "p",
|
|
595
|
-
"description": "Path to extension root",
|
|
596
|
-
"name": "path",
|
|
597
|
-
"default": ".",
|
|
598
|
-
"hasDynamicHelp": false,
|
|
599
|
-
"multiple": false,
|
|
600
|
-
"type": "option"
|
|
601
620
|
}
|
|
602
621
|
},
|
|
603
622
|
"hasDynamicHelp": false,
|
|
604
623
|
"hiddenAliases": [],
|
|
605
|
-
"id": "
|
|
624
|
+
"id": "profile",
|
|
606
625
|
"pluginAlias": "ray",
|
|
607
626
|
"pluginName": "ray",
|
|
608
627
|
"pluginType": "core",
|
|
609
628
|
"strict": true,
|
|
610
|
-
"
|
|
611
|
-
"enableJsonFlag": false,
|
|
629
|
+
"enableJsonFlag": true,
|
|
612
630
|
"isESM": false,
|
|
613
631
|
"relativePath": [
|
|
614
632
|
"dist",
|
|
615
633
|
"commands",
|
|
616
|
-
"
|
|
634
|
+
"profile",
|
|
617
635
|
"index.js"
|
|
618
636
|
]
|
|
619
637
|
},
|
|
620
|
-
"
|
|
638
|
+
"publish": {
|
|
621
639
|
"aliases": [],
|
|
622
640
|
"args": {},
|
|
623
|
-
"description": "
|
|
641
|
+
"description": "Publish the extension on the Raycast Store.\nPrivate extension are a team feature. Sign up for it here: https://www.raycast.com/pricing (https://www.raycast.com/pricing)",
|
|
624
642
|
"flags": {
|
|
625
|
-
"json": {
|
|
626
|
-
"description": "Format output as json.",
|
|
627
|
-
"helpGroup": "GLOBAL",
|
|
628
|
-
"name": "json",
|
|
629
|
-
"allowNo": false,
|
|
630
|
-
"type": "boolean"
|
|
631
|
-
},
|
|
632
643
|
"exit-on-error": {
|
|
633
644
|
"aliases": [
|
|
634
645
|
"exitOnError"
|
|
@@ -673,31 +684,57 @@
|
|
|
673
684
|
"options": [
|
|
674
685
|
"debug",
|
|
675
686
|
"internal",
|
|
676
|
-
"release"
|
|
687
|
+
"release",
|
|
688
|
+
"x",
|
|
689
|
+
"x-debug",
|
|
690
|
+
"x-internal"
|
|
677
691
|
],
|
|
678
692
|
"type": "option"
|
|
693
|
+
},
|
|
694
|
+
"clipboard": {
|
|
695
|
+
"char": "C",
|
|
696
|
+
"description": "Copy the extension link to the clipboard upon publishing",
|
|
697
|
+
"name": "clipboard",
|
|
698
|
+
"allowNo": false,
|
|
699
|
+
"type": "boolean"
|
|
700
|
+
},
|
|
701
|
+
"skip-validation": {
|
|
702
|
+
"char": "s",
|
|
703
|
+
"description": "Skip validation and always publish \u001b[34m\u001b[2minternal only\u001b[22m\u001b[39m",
|
|
704
|
+
"hidden": true,
|
|
705
|
+
"name": "skip-validation",
|
|
706
|
+
"allowNo": false,
|
|
707
|
+
"type": "boolean"
|
|
708
|
+
},
|
|
709
|
+
"skip-notify-raycast": {
|
|
710
|
+
"description": "Skip notifying Raycast after publishing \u001b[34m\u001b[2minternal only\u001b[22m\u001b[39m",
|
|
711
|
+
"hidden": true,
|
|
712
|
+
"name": "skip-notify-raycast",
|
|
713
|
+
"allowNo": false,
|
|
714
|
+
"type": "boolean"
|
|
679
715
|
}
|
|
680
716
|
},
|
|
681
717
|
"hasDynamicHelp": false,
|
|
682
718
|
"hiddenAliases": [],
|
|
683
|
-
"id": "
|
|
719
|
+
"id": "publish",
|
|
684
720
|
"pluginAlias": "ray",
|
|
685
721
|
"pluginName": "ray",
|
|
686
722
|
"pluginType": "core",
|
|
687
723
|
"strict": true,
|
|
688
|
-
"
|
|
724
|
+
"summary": "Publish the extension",
|
|
725
|
+
"enableJsonFlag": false,
|
|
689
726
|
"isESM": false,
|
|
690
727
|
"relativePath": [
|
|
691
728
|
"dist",
|
|
692
729
|
"commands",
|
|
693
|
-
"
|
|
730
|
+
"publish",
|
|
694
731
|
"index.js"
|
|
695
732
|
]
|
|
696
733
|
},
|
|
697
|
-
"
|
|
734
|
+
"migrate": {
|
|
698
735
|
"aliases": [],
|
|
699
736
|
"args": {},
|
|
700
|
-
"description": "
|
|
737
|
+
"description": "Migrate the extension to a newer version of the Raycast API\nInternally, the command makes use of https://www.npmjs.com/package/@raycast/migration",
|
|
701
738
|
"flags": {
|
|
702
739
|
"exit-on-error": {
|
|
703
740
|
"aliases": [
|
|
@@ -743,47 +780,37 @@
|
|
|
743
780
|
"options": [
|
|
744
781
|
"debug",
|
|
745
782
|
"internal",
|
|
746
|
-
"release"
|
|
783
|
+
"release",
|
|
784
|
+
"x",
|
|
785
|
+
"x-debug",
|
|
786
|
+
"x-internal"
|
|
747
787
|
],
|
|
748
788
|
"type": "option"
|
|
749
789
|
},
|
|
750
|
-
"
|
|
751
|
-
"char": "
|
|
752
|
-
"description": "
|
|
753
|
-
"name": "
|
|
754
|
-
"
|
|
755
|
-
"
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
"char": "s",
|
|
759
|
-
"description": "Skip validation and always publish \u001b[34m\u001b[2minternal only\u001b[22m\u001b[39m",
|
|
760
|
-
"hidden": true,
|
|
761
|
-
"name": "skip-validation",
|
|
762
|
-
"allowNo": false,
|
|
763
|
-
"type": "boolean"
|
|
764
|
-
},
|
|
765
|
-
"skip-notify-raycast": {
|
|
766
|
-
"description": "Skip notifying Raycast after publishing \u001b[34m\u001b[2minternal only\u001b[22m\u001b[39m",
|
|
767
|
-
"hidden": true,
|
|
768
|
-
"name": "skip-notify-raycast",
|
|
769
|
-
"allowNo": false,
|
|
770
|
-
"type": "boolean"
|
|
790
|
+
"path": {
|
|
791
|
+
"char": "p",
|
|
792
|
+
"description": "Path to extension root",
|
|
793
|
+
"name": "path",
|
|
794
|
+
"default": ".",
|
|
795
|
+
"hasDynamicHelp": false,
|
|
796
|
+
"multiple": false,
|
|
797
|
+
"type": "option"
|
|
771
798
|
}
|
|
772
799
|
},
|
|
773
800
|
"hasDynamicHelp": false,
|
|
774
801
|
"hiddenAliases": [],
|
|
775
|
-
"id": "
|
|
802
|
+
"id": "migrate",
|
|
776
803
|
"pluginAlias": "ray",
|
|
777
804
|
"pluginName": "ray",
|
|
778
805
|
"pluginType": "core",
|
|
779
806
|
"strict": true,
|
|
780
|
-
"summary": "
|
|
807
|
+
"summary": "Migrate the extension to a newer version of the Raycast API",
|
|
781
808
|
"enableJsonFlag": false,
|
|
782
809
|
"isESM": false,
|
|
783
810
|
"relativePath": [
|
|
784
811
|
"dist",
|
|
785
812
|
"commands",
|
|
786
|
-
"
|
|
813
|
+
"migrate",
|
|
787
814
|
"index.js"
|
|
788
815
|
]
|
|
789
816
|
},
|
|
@@ -836,7 +863,10 @@
|
|
|
836
863
|
"options": [
|
|
837
864
|
"debug",
|
|
838
865
|
"internal",
|
|
839
|
-
"release"
|
|
866
|
+
"release",
|
|
867
|
+
"x",
|
|
868
|
+
"x-debug",
|
|
869
|
+
"x-internal"
|
|
840
870
|
],
|
|
841
871
|
"type": "option"
|
|
842
872
|
}
|
|
@@ -913,7 +943,10 @@
|
|
|
913
943
|
"options": [
|
|
914
944
|
"debug",
|
|
915
945
|
"internal",
|
|
916
|
-
"release"
|
|
946
|
+
"release",
|
|
947
|
+
"x",
|
|
948
|
+
"x-debug",
|
|
949
|
+
"x-internal"
|
|
917
950
|
],
|
|
918
951
|
"type": "option"
|
|
919
952
|
},
|
|
@@ -990,7 +1023,10 @@
|
|
|
990
1023
|
"options": [
|
|
991
1024
|
"debug",
|
|
992
1025
|
"internal",
|
|
993
|
-
"release"
|
|
1026
|
+
"release",
|
|
1027
|
+
"x",
|
|
1028
|
+
"x-debug",
|
|
1029
|
+
"x-internal"
|
|
994
1030
|
],
|
|
995
1031
|
"type": "option"
|
|
996
1032
|
},
|
|
@@ -1077,7 +1113,10 @@
|
|
|
1077
1113
|
"options": [
|
|
1078
1114
|
"debug",
|
|
1079
1115
|
"internal",
|
|
1080
|
-
"release"
|
|
1116
|
+
"release",
|
|
1117
|
+
"x",
|
|
1118
|
+
"x-debug",
|
|
1119
|
+
"x-internal"
|
|
1081
1120
|
],
|
|
1082
1121
|
"type": "option"
|
|
1083
1122
|
}
|
|
@@ -1099,5 +1138,5 @@
|
|
|
1099
1138
|
]
|
|
1100
1139
|
}
|
|
1101
1140
|
},
|
|
1102
|
-
"version": "1.
|
|
1141
|
+
"version": "1.94.0"
|
|
1103
1142
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@raycast/api",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.94.0",
|
|
4
4
|
"description": "Build extensions for Raycast with React and Node.js.",
|
|
5
5
|
"author": "Raycast Technologies Ltd.",
|
|
6
6
|
"homepage": "https://developers.raycast.com",
|
|
@@ -10,22 +10,22 @@
|
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"types": "types/index.d.ts",
|
|
12
12
|
"engines": {
|
|
13
|
-
"node": ">=
|
|
13
|
+
"node": ">=22.14.0"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"@oclif/core": "^4.0.33",
|
|
17
17
|
"@oclif/plugin-autocomplete": "^3.2.10",
|
|
18
18
|
"@oclif/plugin-help": "^6.2.18",
|
|
19
19
|
"@oclif/plugin-not-found": "^3.2.28",
|
|
20
|
-
"@types/node": "
|
|
21
|
-
"@types/react": "
|
|
22
|
-
"esbuild": "^0.25.
|
|
23
|
-
"react": "
|
|
20
|
+
"@types/node": "22.13.10",
|
|
21
|
+
"@types/react": "19.0.10",
|
|
22
|
+
"esbuild": "^0.25.1",
|
|
23
|
+
"react": "19.0.0"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
|
-
"@types/node": "
|
|
27
|
-
"@types/react": "
|
|
28
|
-
"react-devtools": "
|
|
26
|
+
"@types/node": "22.13.10",
|
|
27
|
+
"@types/react": "19.0.10",
|
|
28
|
+
"react-devtools": "6.1.1"
|
|
29
29
|
},
|
|
30
30
|
"peerDependenciesMeta": {
|
|
31
31
|
"@types/node": {
|