@raycast/api 1.104.1 → 1.104.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- "use strict";var G=Object.create;var m=Object.defineProperty;var D=Object.getOwnPropertyDescriptor;var O=Object.getOwnPropertyNames;var L=Object.getPrototypeOf,R=Object.prototype.hasOwnProperty;var A=(n,t)=>()=>(t||n((t={exports:{}}).exports,t),t.exports),S=(n,t)=>{for(var i in t)m(n,i,{get:t[i],enumerable:!0})},I=(n,t,i,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of O(t))!R.call(n,a)&&a!==i&&m(n,a,{get:()=>t[a],enumerable:!(o=D(t,a))||o.enumerable});return n};var h=(n,t,i)=>(i=n!=null?G(L(n)):{},I(t||!n||!n.__esModule?m(i,"default",{value:n,enumerable:!0}):i,n)),F=n=>I(m({},"__esModule",{value:!0}),n);var B=A((re,k)=>{var J=require("node:tty"),q=J?.WriteStream?.prototype?.hasColors?.()??!1,r=(n,t)=>{if(!q)return a=>a;let i=`\x1B[${n}m`,o=`\x1B[${t}m`;return a=>{let u=a+"",d=u.indexOf(o);if(d===-1)return i+u+o;let x=i,g=0,P=(t===22?o:"")+i;for(;d!==-1;)x+=u.slice(g,d)+P,g=d+o.length,d=u.indexOf(o,g);return x+=u.slice(g)+o,x}},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);k.exports=e});var $=A((ce,K)=>{K.exports={name:"ray",description:"Build extensions for Raycast with React and Node.js.",version:"1.104.1",author:"mathieudutour",private:!0,bin:{ray:"./bin/run.js"},dependencies:{"@oclif/core":"^4.5.4","@oclif/plugin-autocomplete":"^3.2.35","@oclif/plugin-help":"^6.2.33","@oclif/plugin-not-found":"^3.2.68","@raycast/eslint-plugin":"^2.1.0",ajv:"^8.17.1",archiver:"^7.0.1",camelcase:"^8.0.0",chokidar:"^4.0.3","cli-progress":"^3.12.0",clipboardy:"^2.3.0",execa:"^9.6.0","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:"^2.8.1","yoctocolors-cjs":"^2.1.3"},devDependencies:{"@raycast/eslint-config":"^1.0.11","@types/archiver":"^6.0.3","@types/cli-progress":"^3.11.6","@types/node":"22.10.10","@types/tail":"^2.2.3",esbuild:"^0.25.10",eslint:"^8","json-schema-to-typescript":"^15.0.4",oclif:"^4.22.27",typescript:"^5.6.3"},files:["/bin","/dist","/oclif.manifest.json"],license:"MIT",main:"dist/index.js",oclif:{bin:"ray",dirname:"ray",commands:"./dist/commands",plugins:["@oclif/plugin-autocomplete","@oclif/plugin-help","@oclif/plugin-not-found"]},scripts:{"json-schema-to-ts":"json2ts ../../api/schema.json -y > src/types/manifest-schema.d.ts","build-scripts":'tsc "./scripts/build.ts" "./scripts/build-command.ts" "./scripts/dev-command.ts" --outDir ./scripts/dist --esModuleInterop',prebuild:"npm run json-schema-to-ts && npm run build-scripts",build:"node ./scripts/dist/build-command.js",predev:"npm run json-schema-to-ts && npm run build-scripts",dev:"node ./scripts/dist/dev-command.js",lint:"eslint . --ext .ts"},types:"dist/index.d.ts"}});var V={};S(V,{default:()=>b});module.exports=F(V);var l=require("@oclif/core");var f=h(require("node:fs")),v=h(require("node:path")),C=h(require("node:os"));var T={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"],U="e69bae0ec90f5e838555",c={},E;function N(n){E=n;try{c=JSON.parse(f.readFileSync(v.join(Y(),"config.json"),"utf8"))}catch(t){if(t instanceof Error&&t.code==="ENOENT")return;throw new Error(`Failed to read config file: ${t}`)}}function _(n){switch(n){case"raycastApiURL":return process.env.RAY_APIURL||c.APIURL||T.url;case"raycastAccessToken":return process.env.RAY_TOKEN||c.Token||c.AccessToken||"";case"raycastClientId":return process.env.RAY_CLIENT_ID||c.ClientID||T.clientID;case"githubClientId":return process.env.RAY_GithubClientID||c.GithubClientID||U;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:w(process.platform==="win32"?"x":"release")}}function w(n){switch(n){case"debug":return"debug";case"internal":return"internal";case"release":return"";case"x":return"x";case"x-internal":return"x-internal";case"x-development":return"x-development";case void 0:return _("flavorName")}}function M(){let n=w(E);return n==""?"raycast":`raycast-${n}`}function Y(){let n=v.join(C.default.homedir(),".config",M());return f.mkdirSync(n,{recursive:!0}),n}var s=h(B());var te=(0,s.blue)((0,s.dim)("internal only"));var 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")} - `},H=!0;function j(n,t){n||(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")} - `),t&&(H=!1)}var y=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:["debug","internal","release","x","x-development","x-internal"],hidden:!0})()};flags;args;async init(){await super.init(),process.on("SIGINT",()=>process.exit(1));let{args:t,flags:i}=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=i,this.args=t,N(this.flags.target),j(this.flags.emoji,this.flags["non-interactive"])}error(t,i){return i?.message&&t instanceof Error&&(t.message=`${i.message} (${t.message})`,delete i.message),super.error(t,i)}async catch(t){return super.catch(t)}async finally(t){return super.finally(t)}};var b=class n extends y{static description="Print the version number";async run(){await this.parse(n),this.log(`${$().version}`)}};
1
+ "use strict";var G=Object.create;var m=Object.defineProperty;var D=Object.getOwnPropertyDescriptor;var O=Object.getOwnPropertyNames;var L=Object.getPrototypeOf,R=Object.prototype.hasOwnProperty;var A=(n,t)=>()=>(t||n((t={exports:{}}).exports,t),t.exports),S=(n,t)=>{for(var i in t)m(n,i,{get:t[i],enumerable:!0})},I=(n,t,i,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of O(t))!R.call(n,a)&&a!==i&&m(n,a,{get:()=>t[a],enumerable:!(o=D(t,a))||o.enumerable});return n};var h=(n,t,i)=>(i=n!=null?G(L(n)):{},I(t||!n||!n.__esModule?m(i,"default",{value:n,enumerable:!0}):i,n)),F=n=>I(m({},"__esModule",{value:!0}),n);var B=A((re,k)=>{var J=require("node:tty"),q=J?.WriteStream?.prototype?.hasColors?.()??!1,r=(n,t)=>{if(!q)return a=>a;let i=`\x1B[${n}m`,o=`\x1B[${t}m`;return a=>{let u=a+"",d=u.indexOf(o);if(d===-1)return i+u+o;let x=i,g=0,P=(t===22?o:"")+i;for(;d!==-1;)x+=u.slice(g,d)+P,g=d+o.length,d=u.indexOf(o,g);return x+=u.slice(g)+o,x}},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);k.exports=e});var $=A((ce,K)=>{K.exports={name:"ray",description:"Build extensions for Raycast with React and Node.js.",version:"1.104.2",author:"mathieudutour",private:!0,bin:{ray:"./bin/run.js"},dependencies:{"@oclif/core":"^4.5.4","@oclif/plugin-autocomplete":"^3.2.35","@oclif/plugin-help":"^6.2.33","@oclif/plugin-not-found":"^3.2.68","@raycast/eslint-plugin":"^2.1.0",ajv:"^8.17.1",archiver:"^7.0.1",camelcase:"^8.0.0",chokidar:"^4.0.3","cli-progress":"^3.12.0",clipboardy:"^2.3.0",execa:"^9.6.0","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:"^2.8.1","yoctocolors-cjs":"^2.1.3"},devDependencies:{"@raycast/eslint-config":"^1.0.11","@types/archiver":"^6.0.3","@types/cli-progress":"^3.11.6","@types/node":"22.10.10","@types/tail":"^2.2.3",esbuild:"^0.25.10",eslint:"^8","json-schema-to-typescript":"^15.0.4",oclif:"^4.22.27",typescript:"^5.6.3"},files:["/bin","/dist","/oclif.manifest.json"],license:"MIT",main:"dist/index.js",oclif:{bin:"ray",dirname:"ray",commands:"./dist/commands",plugins:["@oclif/plugin-autocomplete","@oclif/plugin-help","@oclif/plugin-not-found"]},scripts:{"json-schema-to-ts":"json2ts ../../api/schema.json -y > src/types/manifest-schema.d.ts","build-scripts":'tsc "./scripts/build.ts" "./scripts/build-command.ts" "./scripts/dev-command.ts" --outDir ./scripts/dist --esModuleInterop',prebuild:"npm run json-schema-to-ts && npm run build-scripts",build:"node ./scripts/dist/build-command.js",predev:"npm run json-schema-to-ts && npm run build-scripts",dev:"node ./scripts/dist/dev-command.js",lint:"eslint . --ext .ts"},types:"dist/index.d.ts"}});var V={};S(V,{default:()=>b});module.exports=F(V);var l=require("@oclif/core");var f=h(require("node:fs")),v=h(require("node:path")),C=h(require("node:os"));var T={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"],U="e69bae0ec90f5e838555",c={},E;function N(n){E=n;try{c=JSON.parse(f.readFileSync(v.join(Y(),"config.json"),"utf8"))}catch(t){if(t instanceof Error&&t.code==="ENOENT")return;throw new Error(`Failed to read config file: ${t}`)}}function _(n){switch(n){case"raycastApiURL":return process.env.RAY_APIURL||c.APIURL||T.url;case"raycastAccessToken":return process.env.RAY_TOKEN||c.Token||c.AccessToken||"";case"raycastClientId":return process.env.RAY_CLIENT_ID||c.ClientID||T.clientID;case"githubClientId":return process.env.RAY_GithubClientID||c.GithubClientID||U;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:w(process.platform==="win32"?"x":"release")}}function w(n){switch(n){case"debug":return"debug";case"internal":return"internal";case"release":return"";case"x":return"x";case"x-internal":return"x-internal";case"x-development":return"x-development";case void 0:return _("flavorName")}}function M(){let n=w(E);return n==""?"raycast":`raycast-${n}`}function Y(){let n=v.join(C.default.homedir(),".config",M());return f.mkdirSync(n,{recursive:!0}),n}var s=h(B());var te=(0,s.blue)((0,s.dim)("internal only"));var 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")} - `},H=!0;function j(n,t){n||(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")} - `),t&&(H=!1)}var y=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:["debug","internal","release","x","x-development","x-internal"],hidden:!0})()};flags;args;async init(){await super.init(),process.on("SIGINT",()=>process.exit(1));let{args:t,flags:i}=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=i,this.args=t,N(this.flags.target),j(this.flags.emoji,this.flags["non-interactive"])}error(t,i){return i?.message&&t instanceof Error&&(t.message=`${i.message} (${t.message})`,delete i.message),super.error(t,i)}async catch(t){return super.catch(t)}async finally(t){return super.finally(t)}};var b=class n extends y{static description="Print the version number";async run(){await this.parse(n),this.log(`${$().version}`)}};
@@ -108,10 +108,12 @@
108
108
  "index.js"
109
109
  ]
110
110
  },
111
- "evals": {
112
- "aliases": [],
111
+ "develop": {
112
+ "aliases": [
113
+ "dev"
114
+ ],
113
115
  "args": {},
114
- "description": "Run AI evals defined in extension package.json",
116
+ "description": "Start the extension in development mode and watches for changes",
115
117
  "flags": {
116
118
  "exit-on-error": {
117
119
  "aliases": [
@@ -164,45 +166,31 @@
164
166
  ],
165
167
  "type": "option"
166
168
  },
167
- "skipBuild": {
168
- "char": "s",
169
- "description": "Skip extension build step",
170
- "name": "skipBuild",
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",
171
173
  "allowNo": false,
172
174
  "type": "boolean"
173
175
  },
174
- "extension": {
175
- "char": "e",
176
- "description": "Path to extension. Current directory is used by default",
177
- "name": "extension",
178
- "default": "./",
179
- "hasDynamicHelp": false,
180
- "multiple": false,
181
- "type": "option"
182
- },
183
- "apiEndpoint": {
184
- "char": "a",
185
- "description": "AI Evals API endpoint",
176
+ "print-instructions": {
177
+ "description": "Indicates whether to print the extension's instructions \u001b[34m\u001b[2minternal only\u001b[22m\u001b[39m",
186
178
  "hidden": true,
187
- "name": "apiEndpoint",
188
- "default": "https://ai-evals.raycast.com/run-evals",
189
- "hasDynamicHelp": false,
190
- "multiple": false,
191
- "type": "option"
179
+ "name": "print-instructions",
180
+ "allowNo": false,
181
+ "type": "boolean"
192
182
  },
193
- "only": {
194
- "char": "o",
195
- "description": "Only run specified evals (0-2, 1, 1,2,3)",
196
- "name": "only",
197
- "default": "",
198
- "hasDynamicHelp": false,
199
- "multiple": false,
200
- "type": "option"
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",
185
+ "hidden": true,
186
+ "name": "print-tool-calls",
187
+ "allowNo": false,
188
+ "type": "boolean"
201
189
  }
202
190
  },
203
191
  "hasDynamicHelp": false,
204
192
  "hiddenAliases": [],
205
- "id": "evals",
193
+ "id": "develop",
206
194
  "pluginAlias": "ray",
207
195
  "pluginName": "ray",
208
196
  "pluginType": "core",
@@ -212,16 +200,14 @@
212
200
  "relativePath": [
213
201
  "dist",
214
202
  "commands",
215
- "evals",
203
+ "develop",
216
204
  "index.js"
217
205
  ]
218
206
  },
219
- "develop": {
220
- "aliases": [
221
- "dev"
222
- ],
207
+ "evals": {
208
+ "aliases": [],
223
209
  "args": {},
224
- "description": "Start the extension in development mode and watches for changes",
210
+ "description": "Run AI evals defined in extension package.json",
225
211
  "flags": {
226
212
  "exit-on-error": {
227
213
  "aliases": [
@@ -274,31 +260,45 @@
274
260
  ],
275
261
  "type": "option"
276
262
  },
277
- "print-tool-schemas": {
278
- "description": "Indicates whether to print the schema tools \u001b[34m\u001b[2minternal only\u001b[22m\u001b[39m",
279
- "hidden": true,
280
- "name": "print-tool-schemas",
263
+ "skipBuild": {
264
+ "char": "s",
265
+ "description": "Skip extension build step",
266
+ "name": "skipBuild",
281
267
  "allowNo": false,
282
268
  "type": "boolean"
283
269
  },
284
- "print-instructions": {
285
- "description": "Indicates whether to print the extension's instructions \u001b[34m\u001b[2minternal only\u001b[22m\u001b[39m",
286
- "hidden": true,
287
- "name": "print-instructions",
288
- "allowNo": false,
289
- "type": "boolean"
270
+ "extension": {
271
+ "char": "e",
272
+ "description": "Path to extension. Current directory is used by default",
273
+ "name": "extension",
274
+ "default": "./",
275
+ "hasDynamicHelp": false,
276
+ "multiple": false,
277
+ "type": "option"
290
278
  },
291
- "print-tool-calls": {
292
- "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",
279
+ "apiEndpoint": {
280
+ "char": "a",
281
+ "description": "AI Evals API endpoint",
293
282
  "hidden": true,
294
- "name": "print-tool-calls",
295
- "allowNo": false,
296
- "type": "boolean"
283
+ "name": "apiEndpoint",
284
+ "default": "https://ai-evals.raycast.com/run-evals",
285
+ "hasDynamicHelp": false,
286
+ "multiple": false,
287
+ "type": "option"
288
+ },
289
+ "only": {
290
+ "char": "o",
291
+ "description": "Only run specified evals (0-2, 1, 1,2,3)",
292
+ "name": "only",
293
+ "default": "",
294
+ "hasDynamicHelp": false,
295
+ "multiple": false,
296
+ "type": "option"
297
297
  }
298
298
  },
299
299
  "hasDynamicHelp": false,
300
300
  "hiddenAliases": [],
301
- "id": "develop",
301
+ "id": "evals",
302
302
  "pluginAlias": "ray",
303
303
  "pluginName": "ray",
304
304
  "pluginType": "core",
@@ -308,7 +308,7 @@
308
308
  "relativePath": [
309
309
  "dist",
310
310
  "commands",
311
- "develop",
311
+ "evals",
312
312
  "index.js"
313
313
  ]
314
314
  },
@@ -409,10 +409,10 @@
409
409
  "index.js"
410
410
  ]
411
411
  },
412
- "login": {
412
+ "logout": {
413
413
  "aliases": [],
414
414
  "args": {},
415
- "description": "Log into your Raycast account",
415
+ "description": "Log out of your Raycast account",
416
416
  "flags": {
417
417
  "exit-on-error": {
418
418
  "aliases": [
@@ -468,7 +468,7 @@
468
468
  },
469
469
  "hasDynamicHelp": false,
470
470
  "hiddenAliases": [],
471
- "id": "login",
471
+ "id": "logout",
472
472
  "pluginAlias": "ray",
473
473
  "pluginName": "ray",
474
474
  "pluginType": "core",
@@ -478,14 +478,14 @@
478
478
  "relativePath": [
479
479
  "dist",
480
480
  "commands",
481
- "login",
481
+ "logout",
482
482
  "index.js"
483
483
  ]
484
484
  },
485
- "logout": {
485
+ "login": {
486
486
  "aliases": [],
487
487
  "args": {},
488
- "description": "Log out of your Raycast account",
488
+ "description": "Log into your Raycast account",
489
489
  "flags": {
490
490
  "exit-on-error": {
491
491
  "aliases": [
@@ -541,7 +541,7 @@
541
541
  },
542
542
  "hasDynamicHelp": false,
543
543
  "hiddenAliases": [],
544
- "id": "logout",
544
+ "id": "login",
545
545
  "pluginAlias": "ray",
546
546
  "pluginName": "ray",
547
547
  "pluginType": "core",
@@ -551,7 +551,7 @@
551
551
  "relativePath": [
552
552
  "dist",
553
553
  "commands",
554
- "logout",
554
+ "login",
555
555
  "index.js"
556
556
  ]
557
557
  },
@@ -820,18 +820,11 @@
820
820
  "index.js"
821
821
  ]
822
822
  },
823
- "token": {
823
+ "pull-contributions": {
824
824
  "aliases": [],
825
825
  "args": {},
826
- "description": "Display the access token",
826
+ "description": "Pull contributions of the extension",
827
827
  "flags": {
828
- "json": {
829
- "description": "Format output as json.",
830
- "helpGroup": "GLOBAL",
831
- "name": "json",
832
- "allowNo": false,
833
- "type": "boolean"
834
- },
835
828
  "exit-on-error": {
836
829
  "aliases": [
837
830
  "exitOnError"
@@ -882,36 +875,36 @@
882
875
  "x-internal"
883
876
  ],
884
877
  "type": "option"
885
- },
886
- "clipboard": {
887
- "char": "C",
888
- "description": "Copy the token to the clipboard",
889
- "name": "clipboard",
890
- "allowNo": false,
891
- "type": "boolean"
892
878
  }
893
879
  },
894
880
  "hasDynamicHelp": false,
895
881
  "hiddenAliases": [],
896
- "id": "token",
882
+ "id": "pull-contributions",
897
883
  "pluginAlias": "ray",
898
884
  "pluginName": "ray",
899
885
  "pluginType": "core",
900
886
  "strict": true,
901
- "enableJsonFlag": true,
887
+ "enableJsonFlag": false,
902
888
  "isESM": false,
903
889
  "relativePath": [
904
890
  "dist",
905
891
  "commands",
906
- "token",
892
+ "pull-contributions",
907
893
  "index.js"
908
894
  ]
909
895
  },
910
- "pull-contributions": {
896
+ "token": {
911
897
  "aliases": [],
912
898
  "args": {},
913
- "description": "Pull contributions of the extension",
899
+ "description": "Display the access token",
914
900
  "flags": {
901
+ "json": {
902
+ "description": "Format output as json.",
903
+ "helpGroup": "GLOBAL",
904
+ "name": "json",
905
+ "allowNo": false,
906
+ "type": "boolean"
907
+ },
915
908
  "exit-on-error": {
916
909
  "aliases": [
917
910
  "exitOnError"
@@ -962,21 +955,28 @@
962
955
  "x-internal"
963
956
  ],
964
957
  "type": "option"
958
+ },
959
+ "clipboard": {
960
+ "char": "C",
961
+ "description": "Copy the token to the clipboard",
962
+ "name": "clipboard",
963
+ "allowNo": false,
964
+ "type": "boolean"
965
965
  }
966
966
  },
967
967
  "hasDynamicHelp": false,
968
968
  "hiddenAliases": [],
969
- "id": "pull-contributions",
969
+ "id": "token",
970
970
  "pluginAlias": "ray",
971
971
  "pluginName": "ray",
972
972
  "pluginType": "core",
973
973
  "strict": true,
974
- "enableJsonFlag": false,
974
+ "enableJsonFlag": true,
975
975
  "isESM": false,
976
976
  "relativePath": [
977
977
  "dist",
978
978
  "commands",
979
- "pull-contributions",
979
+ "token",
980
980
  "index.js"
981
981
  ]
982
982
  },
@@ -1144,5 +1144,5 @@
1144
1144
  ]
1145
1145
  }
1146
1146
  },
1147
- "version": "1.104.1"
1147
+ "version": "1.104.2"
1148
1148
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@raycast/api",
3
- "version": "1.104.1",
3
+ "version": "1.104.2",
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",
package/types/index.d.ts CHANGED
@@ -509,13 +509,14 @@ export declare namespace AI {
509
509
  "OpenAI_GPT-5.1" = "openai-gpt-5.1",
510
510
  "OpenAI_GPT-5.1_Codex" = "openai-gpt-5.1-codex",
511
511
  "OpenAI_GPT-5.1_Instant" = "openai-gpt-5.1-instant",
512
+ "OpenAI_GPT-5.2" = "openai-gpt-5.2",
513
+ "OpenAI_GPT-5.2_Instant" = "openai-gpt-5.2-instant",
512
514
  "OpenAI_o3" = "openai_o1-o3",
513
515
  "OpenAI_o4-mini" = "openai_o1-o4-mini",
514
516
  "OpenAI_o1" = "openai_o1-o1",
515
517
  "OpenAI_o3-mini" = "openai_o1-o3-mini",
516
518
  "Groq_GPT-OSS_20b" = "groq-openai/gpt-oss-20b",
517
519
  "Groq_GPT-OSS_120b" = "groq-openai/gpt-oss-120b",
518
- "Anthropic_Claude_3.5_Haiku" = "anthropic-claude-haiku",
519
520
  "Anthropic_Claude_4.5_Haiku" = "anthropic-claude-4-5-haiku",
520
521
  "Anthropic_Claude_4_Sonnet" = "anthropic-claude-sonnet-4",
521
522
  "Anthropic_Claude_4.5_Sonnet" = "anthropic-claude-sonnet-4-5",
@@ -535,11 +536,11 @@ export declare namespace AI {
535
536
  "Mistral_Codestral" = "mistral-codestral-latest",
536
537
  "Groq_Kimi_K2_Instruct" = "groq-moonshotai/kimi-k2-instruct",
537
538
  "Groq_Qwen3-32B" = "groq-qwen/qwen3-32b",
539
+ "Google_Gemini_3_Flash" = "google-gemini-3-flash",
538
540
  "Google_Gemini_3_Pro" = "google-gemini-3-pro",
539
541
  "Google_Gemini_2.5_Pro" = "google-gemini-2.5-pro",
540
542
  "Google_Gemini_2.5_Flash" = "google-gemini-2.5-flash",
541
543
  "Google_Gemini_2.5_Flash_Lite" = "google-gemini-2.5-flash-lite",
542
- "Google_Gemini_2.0_Flash" = "google-gemini-2.0-flash",
543
544
  "Together_AI_Qwen3-235B-A22B-Instruct-2507-tput" = "together-Qwen/Qwen3-235B-A22B-Instruct-2507-tput",
544
545
  "Together_AI_DeepSeek-R1" = "together-deepseek-ai/DeepSeek-R1",
545
546
  "Together_AI_DeepSeek-V3" = "together-deepseek-ai/DeepSeek-V3",
@@ -549,9 +550,16 @@ export declare namespace AI {
549
550
  "xAI_Grok_Code_Fast_1" = "xai-grok-code-fast",
550
551
  "xAI_Grok-3_Beta" = "xai-grok-3",
551
552
  "xAI_Grok-3_Mini_Beta" = "xai-grok-3-mini",
552
- "xAI_Grok-2" = "xai-grok-2-latest",
553
+ /** @deprecated Use `AI.Model["Anthropic_Claude_4.5_Haiku"]` instead */
554
+ "Anthropic_Claude_3.5_Haiku" = "anthropic-claude-4-5-haiku",
553
555
  /** @deprecated Use `AI.Model["Anthropic_Claude_4.5_Sonnet"]` instead */
554
556
  "Anthropic_Claude_3.7_Sonnet" = "anthropic-claude-3-7-sonnet-latest",
557
+ /** @deprecated Use `AI.Model["Google_Gemini_3_Flash"]` instead */
558
+ "Google_Gemini_2.0_Flash" = "google-gemini-2.0-flash",
559
+ /** @deprecated Use `AI.Model["Google_Gemini_3_Flash"]` instead */
560
+ "Google_Gemini_2.0_Flash_Lite" = "google-gemini-2.0-flash-lite",
561
+ /** @deprecated Use `AI.Model["xAI_Grok-4"]` instead */
562
+ "xAI_Grok-2" = "xai-grok-2-latest",
555
563
  /** @deprecated Use `AI.Model["OpenAI_GPT-4o_mini"]` instead */
556
564
  "OpenAI_GPT3.5-turbo-instruct" = "openai-gpt-4o-mini",
557
565
  /** @deprecated Use `AI.Model["Anthropic_Claude_4.1_Opus"]` instead */
@@ -632,7 +640,7 @@ export declare namespace AI {
632
640
  "OpenAI_GPT4o" = "openai-gpt-4o",
633
641
  /** @deprecated Use `AI.Model["OpenAI_GPT-4o_mini"]` instead */
634
642
  "OpenAI_GPT4o-mini" = "openai-gpt-4o-mini",
635
- /** @deprecated Use `AI.Model["Anthropic_Claude_3.5_Haiku"]` instead */
643
+ /** @deprecated Use `AI.Model["Anthropic_Claude_4.5_Haiku"]` instead */
636
644
  "Anthropic_Claude_Haiku" = "anthropic-claude-haiku",
637
645
  /** @deprecated Use `AI.Model["Mistral_Small_3"]` instead */
638
646
  "Mistral_Small" = "mistral-mistral-small-latest",
@@ -648,8 +656,8 @@ export declare namespace AI {
648
656
  "DeepSeek_R1" = "together-deepseek-ai/DeepSeek-R1",
649
657
  /** @deprecated Use `AI.Model["Together_AI_DeepSeek-V3"]` instead */
650
658
  "DeepSeek_V3" = "together-deepseek-ai/DeepSeek-V3",
651
- /** @deprecated Use `AI.Model["xAI_Grok-2"]` instead */
652
- "xAI_Grok_2" = "xai-grok-2-latest",
659
+ /** @deprecated Use `AI.Model["xAI_Grok-4"]` instead */
660
+ "xAI_Grok_2" = "xai-grok-4",
653
661
  /** @deprecated Use `AI.Model["xAI_Grok-3_Beta"]` instead */
654
662
  "xAI_Grok_3" = "xai-grok-3",
655
663
  /** @deprecated Use `AI.Model["xAI_Grok-4"]` instead */
@@ -6012,6 +6020,7 @@ export declare namespace Keyboard {
6012
6020
  CopyDeeplink: Shortcut;
6013
6021
  CopyName: Shortcut;
6014
6022
  CopyPath: Shortcut;
6023
+ Save: Shortcut;
6015
6024
  Duplicate: Shortcut;
6016
6025
  Edit: Shortcut;
6017
6026
  MoveDown: Shortcut;