@raycast/api 2.5.1 → 2.5.3

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.
@@ -1 +1 @@
1
- "use strict";var O=Object.create;var y=Object.defineProperty;var M=Object.getOwnPropertyDescriptor;var L=Object.getOwnPropertyNames;var S=Object.getPrototypeOf,U=Object.prototype.hasOwnProperty;var v=(t,n)=>()=>{try{return n||t((n={exports:{}}).exports,n),n.exports}catch(o){throw n=0,o}},_=(t,n)=>{for(var o in n)y(t,o,{get:n[o],enumerable:!0})},k=(t,n,o,i)=>{if(n&&typeof n=="object"||typeof n=="function")for(let a of L(n))!U.call(t,a)&&a!==o&&y(t,a,{get:()=>n[a],enumerable:!(i=M(n,a))||i.enumerable});return t};var h=(t,n,o)=>(o=t!=null?O(S(t)):{},k(n||!t||!t.__esModule?y(o,"default",{value:t,enumerable:!0}):o,t)),Y=t=>k(y({},"__esModule",{value:!0}),t);var A=v((ne,I)=>{var J=require("node:tty"),K=J?.WriteStream?.prototype?.hasColors?.()??!1,r=(t,n)=>{if(!K)return a=>a;let o=`\x1B[${t}m`,i=`\x1B[${n}m`;return a=>{let u=a+"",d=u.indexOf(i);if(d===-1)return o+u+i;let T=o,m=0,G=(n===22?i:"")+o;for(;d!==-1;)T+=u.slice(m,d)+G,m=d+i.length,d=u.indexOf(i,m);return T+=u.slice(m)+i,T}},e={};e.reset=r(0,0);e.bold=r(1,22);e.dim=r(2,22);e.italic=r(3,23);e.underline=r(4,24);e.overline=r(53,55);e.inverse=r(7,27);e.hidden=r(8,28);e.strikethrough=r(9,29);e.black=r(30,39);e.red=r(31,39);e.green=r(32,39);e.yellow=r(33,39);e.blue=r(34,39);e.magenta=r(35,39);e.cyan=r(36,39);e.white=r(37,39);e.gray=r(90,39);e.bgBlack=r(40,49);e.bgRed=r(41,49);e.bgGreen=r(42,49);e.bgYellow=r(43,49);e.bgBlue=r(44,49);e.bgMagenta=r(45,49);e.bgCyan=r(46,49);e.bgWhite=r(47,49);e.bgGray=r(100,49);e.redBright=r(91,39);e.greenBright=r(92,39);e.yellowBright=r(93,39);e.blueBright=r(94,39);e.magentaBright=r(95,39);e.cyanBright=r(96,39);e.whiteBright=r(97,39);e.bgRedBright=r(101,49);e.bgGreenBright=r(102,49);e.bgYellowBright=r(103,49);e.bgBlueBright=r(104,49);e.bgMagentaBright=r(105,49);e.bgCyanBright=r(106,49);e.bgWhiteBright=r(107,49);I.exports=e});var F=v((xe,Q)=>{Q.exports={name:"ray",version:"2.5.1",private:!0,description:"Build extensions for Raycast with React and Node.js.",license:"MIT",author:"mathieudutour",bin:{ray:"./bin/run.js"},files:["/bin","/dist","/oclif.manifest.json"],main:"dist/index.js",types:"dist/index.d.ts",scripts:{"json-schema-to-ts":"json2ts ../../schema.json -y > src/types/manifest-schema.d.ts","build-scripts":"tsc --outDir ./scripts/dist --project ./tsconfig.scripts.json",prebuild:"pnpm json-schema-to-ts && pnpm run build-scripts",build:"node ./scripts/dist/build-command.js",predev:"pnpm run json-schema-to-ts && pnpm run build-scripts",dev:"node ./scripts/dist/dev-command.js",lint:"eslint . --ext .ts",test:"node --experimental-strip-types --test"},dependencies:{"@oclif/core":"^4.11.4","@oclif/plugin-autocomplete":"^3.2.50","@oclif/plugin-help":"^6.2.50","@oclif/plugin-not-found":"^3.2.87","@raycast/eslint-plugin":"^2.1.1",ajv:"catalog:",archiver:"catalog:",camelcase:"^8.0.0",chalk:"^5.6.2",chokidar:"catalog:","cli-progress":"^3.12.0",clipboardy:"^2.3.0",execa:"^9.6.1","json-source-map":"^0.6.1",json5:"^2.2.3","node-fetch-cjs":"^3.3.2",open:"^8.4.2",ora:"^8.2.0",tail:"^2.2.6","terminal-link":"^3.0.0",yaml:"catalog:","yoctocolors-cjs":"^2.1.3"},devDependencies:{"@types/archiver":"catalog:","@types/cli-progress":"^3.11.6","@types/node":"catalog:","@types/tail":"^2.2.3",esbuild:"^0.28.0",eslint:"catalog:","eslint-config":"workspace:*","eslint-formatter-unix":"catalog:","eslint-plugin-n":"catalog:","eslint-plugin-no-process-platform":"workspace:*",globals:"catalog:","json-schema-to-typescript":"^15.0.4",oclif:"^4.23.10","@raycast/tsc-native":"workspace:*"},oclif:{bin:"ray",commands:"./dist/commands",dirname:"ray",plugins:["@oclif/plugin-autocomplete","@oclif/plugin-help","@oclif/plugin-not-found"]}}});var ee={};_(ee,{default:()=>x});module.exports=Y(ee);var l=require("@oclif/core");var s=h(A()),p={wait:`\u{1F550}${(0,s.blue)("wait")} - `,info:`${process.env.GITHUB_ACTIONS==="true"?"\u2139\uFE0F":"\u2139\uFE0F "}${(0,s.cyan)("info")} - `,success:`\u2705${(0,s.green)("ready")} - `,warn:`${process.env.GITHUB_ACTIONS==="true"?"\u26A0\uFE0F":"\u26A0\uFE0F "}${(0,s.yellow)("warn")} - `,error:`\u{1F4A5}${(0,s.red)("error")} - `,event:`\u26A1\uFE0F${(0,s.magenta)("event")} - `,paymentPrompt:`\u{1F4B0}${(0,s.yellowBright)("plan")} - `},q=!0,se=(0,s.blue)((0,s.dim)("internal only"));function N(t,n){t||(p.wait=`${(0,s.blue)("wait")} - `,p.info=`${(0,s.cyan)("info")} - `,p.success=`${(0,s.green)("ready")} - `,p.warn=`${(0,s.yellow)("warn")} - `,p.error=`${(0,s.red)("error")} - `,p.event=`${(0,s.magenta)("event")} - `,p.paymentPrompt=`${(0,s.yellowBright)("plan")} - `),n&&(q=!1)}var f={development:"development",internal:"internal",release:"release"},P=Object.values(f),H={debug:"development",x:"","x-development":"development","x-internal":"internal"};function R(t){return H[t]??t}function C(t){return t===f.release?"":t}var g=h(require("node:fs")),$=h(require("node:os")),w=h(require("node:path"));var D={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"],V="e69bae0ec90f5e838555",c={},j;function B(t){j=t;try{c=JSON.parse(g.readFileSync(w.join(Z(),"config.json"),"utf8"))}catch(n){if(!(n instanceof Error)||n.code!=="ENOENT")throw new Error(`Failed to read config file: ${n}`)}}function z(t){switch(t){case"raycastApiURL":return process.env.RAY_APIURL||c.APIURL||D.url;case"raycastAccessToken":return process.env.RAY_TOKEN||c.Token||c.AccessToken||"";case"raycastClientId":return process.env.RAY_CLIENT_ID||c.ClientID||D.clientID;case"githubClientId":return process.env.RAY_GithubClientID||c.GithubClientID||V;case"githubAccessToken":return process.env.GITHUB_ACCESS_TOKEN||c.GithubAccessToken||"";case"flavorName":return process.env.RAY_Target?process.env.RAY_Target:typeof c.Target<"u"?c.Target:E(f.release)}}function E(t){return typeof t<"u"?C(t):R(z("flavorName"))}function W(t){return t==""?"raycast":`raycast-${t}`}function X(t){let n=w.join($.default.homedir(),".config",W(t));return g.mkdirSync(n,{recursive:!0}),n}function Z(){return X(E(j))}var b=class extends l.Command{static baseFlags={"exit-on-error":l.Flags.boolean({default:!0,helpGroup:"GLOBAL",aliases:["exitOnError"],deprecateAliases:!0,summary:"Always exit with non-zero code on error",allowNo:!0}),emoji:l.Flags.boolean({default:!1,helpGroup:"GLOBAL",summary:"Prefix output with emojis \u{1F308}"}),help:l.Flags.boolean({default:!1,helpGroup:"GLOBAL",summary:"Show the help message for the command"}),"non-interactive":l.Flags.boolean({char:"I",default:!1,helpGroup:"GLOBAL",summary:"Disable interactive outputs, useful for CI"}),target:l.Flags.option({char:"t",description:"Raycast app target",helpGroup:"GLOBAL",multiple:!1,options:[...P],hidden:!0})()};flags;args;async init(){await super.init(),process.on("SIGINT",()=>process.exit(1));let{args:n,flags:o}=await this.parse({flags:this.ctor.flags,baseFlags:super.ctor.baseFlags,enableJsonFlag:this.ctor.enableJsonFlag,args:this.ctor.args,strict:this.ctor.strict});this.flags=o,this.args=n,B(this.flags.target),N(this.flags.emoji,this.flags["non-interactive"])}error(n,o){return o?.message&&n instanceof Error&&(n.message=`${o.message} (${n.message})`,delete o.message),super.error(n,o)}async catch(n){return super.catch(n)}async finally(n){return super.finally(n)}};var x=class t extends b{static description="Print the version number";async run(){await this.parse(t),this.log(`${F().version}`)}};
1
+ "use strict";var O=Object.create;var y=Object.defineProperty;var M=Object.getOwnPropertyDescriptor;var L=Object.getOwnPropertyNames;var S=Object.getPrototypeOf,U=Object.prototype.hasOwnProperty;var v=(t,n)=>()=>{try{return n||t((n={exports:{}}).exports,n),n.exports}catch(o){throw n=0,o}},_=(t,n)=>{for(var o in n)y(t,o,{get:n[o],enumerable:!0})},k=(t,n,o,i)=>{if(n&&typeof n=="object"||typeof n=="function")for(let a of L(n))!U.call(t,a)&&a!==o&&y(t,a,{get:()=>n[a],enumerable:!(i=M(n,a))||i.enumerable});return t};var h=(t,n,o)=>(o=t!=null?O(S(t)):{},k(n||!t||!t.__esModule?y(o,"default",{value:t,enumerable:!0}):o,t)),Y=t=>k(y({},"__esModule",{value:!0}),t);var A=v((ne,I)=>{var J=require("node:tty"),K=J?.WriteStream?.prototype?.hasColors?.()??!1,r=(t,n)=>{if(!K)return a=>a;let o=`\x1B[${t}m`,i=`\x1B[${n}m`;return a=>{let u=a+"",d=u.indexOf(i);if(d===-1)return o+u+i;let T=o,m=0,G=(n===22?i:"")+o;for(;d!==-1;)T+=u.slice(m,d)+G,m=d+i.length,d=u.indexOf(i,m);return T+=u.slice(m)+i,T}},e={};e.reset=r(0,0);e.bold=r(1,22);e.dim=r(2,22);e.italic=r(3,23);e.underline=r(4,24);e.overline=r(53,55);e.inverse=r(7,27);e.hidden=r(8,28);e.strikethrough=r(9,29);e.black=r(30,39);e.red=r(31,39);e.green=r(32,39);e.yellow=r(33,39);e.blue=r(34,39);e.magenta=r(35,39);e.cyan=r(36,39);e.white=r(37,39);e.gray=r(90,39);e.bgBlack=r(40,49);e.bgRed=r(41,49);e.bgGreen=r(42,49);e.bgYellow=r(43,49);e.bgBlue=r(44,49);e.bgMagenta=r(45,49);e.bgCyan=r(46,49);e.bgWhite=r(47,49);e.bgGray=r(100,49);e.redBright=r(91,39);e.greenBright=r(92,39);e.yellowBright=r(93,39);e.blueBright=r(94,39);e.magentaBright=r(95,39);e.cyanBright=r(96,39);e.whiteBright=r(97,39);e.bgRedBright=r(101,49);e.bgGreenBright=r(102,49);e.bgYellowBright=r(103,49);e.bgBlueBright=r(104,49);e.bgMagentaBright=r(105,49);e.bgCyanBright=r(106,49);e.bgWhiteBright=r(107,49);I.exports=e});var F=v((xe,Q)=>{Q.exports={name:"ray",version:"2.5.3",private:!0,description:"Build extensions for Raycast with React and Node.js.",license:"MIT",author:"mathieudutour",bin:{ray:"./bin/run.js"},files:["/bin","/dist","/oclif.manifest.json"],main:"dist/index.js",types:"dist/index.d.ts",scripts:{"json-schema-to-ts":"json2ts ../../schema.json -y > src/types/manifest-schema.d.ts","build-scripts":"tsc --outDir ./scripts/dist --project ./tsconfig.scripts.json",prebuild:"pnpm json-schema-to-ts && pnpm run build-scripts",build:"node ./scripts/dist/build-command.js",predev:"pnpm run json-schema-to-ts && pnpm run build-scripts",dev:"node ./scripts/dist/dev-command.js",lint:"eslint . --ext .ts",test:"node --experimental-strip-types --test"},dependencies:{"@oclif/core":"^4.11.4","@oclif/plugin-autocomplete":"^3.2.50","@oclif/plugin-help":"^6.2.50","@oclif/plugin-not-found":"^3.2.87","@raycast/eslint-plugin":"^2.1.1",ajv:"catalog:",archiver:"catalog:",camelcase:"^8.0.0",chalk:"^5.6.2",chokidar:"catalog:","cli-progress":"^3.12.0",clipboardy:"^2.3.0",execa:"^9.6.1","json-source-map":"^0.6.1",json5:"^2.2.3","node-fetch-cjs":"^3.3.2",open:"^8.4.2",ora:"^8.2.0",tail:"^2.2.6","terminal-link":"^3.0.0",yaml:"catalog:","yoctocolors-cjs":"^2.1.3"},devDependencies:{"@types/archiver":"catalog:","@types/cli-progress":"^3.11.6","@types/node":"catalog:","@types/tail":"^2.2.3",esbuild:"^0.28.0",eslint:"catalog:","eslint-config":"workspace:*","eslint-formatter-unix":"catalog:","eslint-plugin-n":"catalog:","eslint-plugin-no-process-platform":"workspace:*",globals:"catalog:","json-schema-to-typescript":"^15.0.4",oclif:"^4.23.10","@raycast/tsc-native":"workspace:*"},oclif:{bin:"ray",commands:"./dist/commands",dirname:"ray",plugins:["@oclif/plugin-autocomplete","@oclif/plugin-help","@oclif/plugin-not-found"]}}});var ee={};_(ee,{default:()=>x});module.exports=Y(ee);var l=require("@oclif/core");var s=h(A()),p={wait:`\u{1F550}${(0,s.blue)("wait")} - `,info:`${process.env.GITHUB_ACTIONS==="true"?"\u2139\uFE0F":"\u2139\uFE0F "}${(0,s.cyan)("info")} - `,success:`\u2705${(0,s.green)("ready")} - `,warn:`${process.env.GITHUB_ACTIONS==="true"?"\u26A0\uFE0F":"\u26A0\uFE0F "}${(0,s.yellow)("warn")} - `,error:`\u{1F4A5}${(0,s.red)("error")} - `,event:`\u26A1\uFE0F${(0,s.magenta)("event")} - `,paymentPrompt:`\u{1F4B0}${(0,s.yellowBright)("plan")} - `},q=!0,se=(0,s.blue)((0,s.dim)("internal only"));function N(t,n){t||(p.wait=`${(0,s.blue)("wait")} - `,p.info=`${(0,s.cyan)("info")} - `,p.success=`${(0,s.green)("ready")} - `,p.warn=`${(0,s.yellow)("warn")} - `,p.error=`${(0,s.red)("error")} - `,p.event=`${(0,s.magenta)("event")} - `,p.paymentPrompt=`${(0,s.yellowBright)("plan")} - `),n&&(q=!1)}var f={development:"development",internal:"internal",release:"release"},P=Object.values(f),H={debug:"development",x:"","x-development":"development","x-internal":"internal"};function R(t){return H[t]??t}function C(t){return t===f.release?"":t}var g=h(require("node:fs")),$=h(require("node:os")),w=h(require("node:path"));var D={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"],V="e69bae0ec90f5e838555",c={},j;function B(t){j=t;try{c=JSON.parse(g.readFileSync(w.join(Z(),"config.json"),"utf8"))}catch(n){if(!(n instanceof Error)||n.code!=="ENOENT")throw new Error(`Failed to read config file: ${n}`)}}function z(t){switch(t){case"raycastApiURL":return process.env.RAY_APIURL||c.APIURL||D.url;case"raycastAccessToken":return process.env.RAY_TOKEN||c.Token||c.AccessToken||"";case"raycastClientId":return process.env.RAY_CLIENT_ID||c.ClientID||D.clientID;case"githubClientId":return process.env.RAY_GithubClientID||c.GithubClientID||V;case"githubAccessToken":return process.env.GITHUB_ACCESS_TOKEN||c.GithubAccessToken||"";case"flavorName":return process.env.RAY_Target?process.env.RAY_Target:typeof c.Target<"u"?c.Target:E(f.release)}}function E(t){return typeof t<"u"?C(t):R(z("flavorName"))}function W(t){return t==""?"raycast":`raycast-${t}`}function X(t){let n=w.join($.default.homedir(),".config",W(t));return g.mkdirSync(n,{recursive:!0}),n}function Z(){return X(E(j))}var b=class extends l.Command{static baseFlags={"exit-on-error":l.Flags.boolean({default:!0,helpGroup:"GLOBAL",aliases:["exitOnError"],deprecateAliases:!0,summary:"Always exit with non-zero code on error",allowNo:!0}),emoji:l.Flags.boolean({default:!1,helpGroup:"GLOBAL",summary:"Prefix output with emojis \u{1F308}"}),help:l.Flags.boolean({default:!1,helpGroup:"GLOBAL",summary:"Show the help message for the command"}),"non-interactive":l.Flags.boolean({char:"I",default:!1,helpGroup:"GLOBAL",summary:"Disable interactive outputs, useful for CI"}),target:l.Flags.option({char:"t",description:"Raycast app target",helpGroup:"GLOBAL",multiple:!1,options:[...P],hidden:!0})()};flags;args;async init(){await super.init(),process.on("SIGINT",()=>process.exit(1));let{args:n,flags:o}=await this.parse({flags:this.ctor.flags,baseFlags:super.ctor.baseFlags,enableJsonFlag:this.ctor.enableJsonFlag,args:this.ctor.args,strict:this.ctor.strict});this.flags=o,this.args=n,B(this.flags.target),N(this.flags.emoji,this.flags["non-interactive"])}error(n,o){return o?.message&&n instanceof Error&&(n.message=`${o.message} (${n.message})`,delete o.message),super.error(n,o)}async catch(n){return super.catch(n)}async finally(n){return super.finally(n)}};var x=class t extends b{static description="Print the version number";async run(){await this.parse(t),this.log(`${F().version}`)}};
@@ -941,11 +941,18 @@
941
941
  "index.js"
942
942
  ]
943
943
  },
944
- "validate": {
944
+ "token": {
945
945
  "aliases": [],
946
946
  "args": {},
947
- "description": "Validate the extension so that it can be published - \u001b[34m\u001b[2minternal only\u001b[22m\u001b[39m",
947
+ "description": "Display the access token",
948
948
  "flags": {
949
+ "json": {
950
+ "description": "Format output as json.",
951
+ "helpGroup": "GLOBAL",
952
+ "name": "json",
953
+ "allowNo": false,
954
+ "type": "boolean"
955
+ },
949
956
  "exit-on-error": {
950
957
  "aliases": [
951
958
  "exitOnError"
@@ -994,44 +1001,34 @@
994
1001
  ],
995
1002
  "type": "option"
996
1003
  },
997
- "schema": {
998
- "char": "s",
999
- "description": "Path to JSON schema for package.json validation ",
1000
- "name": "schema",
1001
- "default": "https://www.raycast.com/schemas/extension.json",
1002
- "hasDynamicHelp": false,
1003
- "multiple": false,
1004
- "type": "option"
1005
- },
1006
- "skip-owner": {
1007
- "description": "Skip owner checks",
1008
- "name": "skip-owner",
1004
+ "clipboard": {
1005
+ "char": "C",
1006
+ "description": "Copy the token to the clipboard",
1007
+ "name": "clipboard",
1009
1008
  "allowNo": false,
1010
1009
  "type": "boolean"
1011
1010
  }
1012
1011
  },
1013
1012
  "hasDynamicHelp": false,
1014
- "hidden": true,
1015
1013
  "hiddenAliases": [],
1016
- "id": "validate",
1014
+ "id": "token",
1017
1015
  "pluginAlias": "ray",
1018
1016
  "pluginName": "ray",
1019
1017
  "pluginType": "core",
1020
1018
  "strict": true,
1021
- "summary": "Validate the extension - \u001b[34m\u001b[2minternal only\u001b[22m\u001b[39m",
1022
- "enableJsonFlag": false,
1019
+ "enableJsonFlag": true,
1023
1020
  "isESM": false,
1024
1021
  "relativePath": [
1025
1022
  "dist",
1026
1023
  "commands",
1027
- "validate",
1024
+ "token",
1028
1025
  "index.js"
1029
1026
  ]
1030
1027
  },
1031
- "version": {
1028
+ "validate": {
1032
1029
  "aliases": [],
1033
1030
  "args": {},
1034
- "description": "Print the version number",
1031
+ "description": "Validate the extension so that it can be published - \u001b[34m\u001b[2minternal only\u001b[22m\u001b[39m",
1035
1032
  "flags": {
1036
1033
  "exit-on-error": {
1037
1034
  "aliases": [
@@ -1080,36 +1077,46 @@
1080
1077
  "release"
1081
1078
  ],
1082
1079
  "type": "option"
1080
+ },
1081
+ "schema": {
1082
+ "char": "s",
1083
+ "description": "Path to JSON schema for package.json validation ",
1084
+ "name": "schema",
1085
+ "default": "https://www.raycast.com/schemas/extension.json",
1086
+ "hasDynamicHelp": false,
1087
+ "multiple": false,
1088
+ "type": "option"
1089
+ },
1090
+ "skip-owner": {
1091
+ "description": "Skip owner checks",
1092
+ "name": "skip-owner",
1093
+ "allowNo": false,
1094
+ "type": "boolean"
1083
1095
  }
1084
1096
  },
1085
1097
  "hasDynamicHelp": false,
1098
+ "hidden": true,
1086
1099
  "hiddenAliases": [],
1087
- "id": "version",
1100
+ "id": "validate",
1088
1101
  "pluginAlias": "ray",
1089
1102
  "pluginName": "ray",
1090
1103
  "pluginType": "core",
1091
1104
  "strict": true,
1105
+ "summary": "Validate the extension - \u001b[34m\u001b[2minternal only\u001b[22m\u001b[39m",
1092
1106
  "enableJsonFlag": false,
1093
1107
  "isESM": false,
1094
1108
  "relativePath": [
1095
1109
  "dist",
1096
1110
  "commands",
1097
- "version",
1111
+ "validate",
1098
1112
  "index.js"
1099
1113
  ]
1100
1114
  },
1101
- "token": {
1115
+ "version": {
1102
1116
  "aliases": [],
1103
1117
  "args": {},
1104
- "description": "Display the access token",
1118
+ "description": "Print the version number",
1105
1119
  "flags": {
1106
- "json": {
1107
- "description": "Format output as json.",
1108
- "helpGroup": "GLOBAL",
1109
- "name": "json",
1110
- "allowNo": false,
1111
- "type": "boolean"
1112
- },
1113
1120
  "exit-on-error": {
1114
1121
  "aliases": [
1115
1122
  "exitOnError"
@@ -1157,31 +1164,24 @@
1157
1164
  "release"
1158
1165
  ],
1159
1166
  "type": "option"
1160
- },
1161
- "clipboard": {
1162
- "char": "C",
1163
- "description": "Copy the token to the clipboard",
1164
- "name": "clipboard",
1165
- "allowNo": false,
1166
- "type": "boolean"
1167
1167
  }
1168
1168
  },
1169
1169
  "hasDynamicHelp": false,
1170
1170
  "hiddenAliases": [],
1171
- "id": "token",
1171
+ "id": "version",
1172
1172
  "pluginAlias": "ray",
1173
1173
  "pluginName": "ray",
1174
1174
  "pluginType": "core",
1175
1175
  "strict": true,
1176
- "enableJsonFlag": true,
1176
+ "enableJsonFlag": false,
1177
1177
  "isESM": false,
1178
1178
  "relativePath": [
1179
1179
  "dist",
1180
1180
  "commands",
1181
- "token",
1181
+ "version",
1182
1182
  "index.js"
1183
1183
  ]
1184
1184
  }
1185
1185
  },
1186
- "version": "2.5.1"
1186
+ "version": "2.5.3"
1187
1187
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@raycast/api",
3
- "version": "2.5.1",
3
+ "version": "2.5.3",
4
4
  "description": "Build extensions for Raycast with React and Node.js.",
5
5
  "homepage": "https://developers.raycast.com",
6
6
  "license": "MIT",