@raycast/api 2.1.2 → 2.2.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.
@@ -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})},I=(t,n,o,a)=>{if(n&&typeof n=="object"||typeof n=="function")for(let i of L(n))!U.call(t,i)&&i!==o&&y(t,i,{get:()=>n[i],enumerable:!(a=M(n,i))||a.enumerable});return t};var h=(t,n,o)=>(o=t!=null?O(S(t)):{},I(n||!t||!t.__esModule?y(o,"default",{value:t,enumerable:!0}):o,t)),Y=t=>I(y({},"__esModule",{value:!0}),t);var k=v((ne,A)=>{var J=require("node:tty"),K=J?.WriteStream?.prototype?.hasColors?.()??!1,r=(t,n)=>{if(!K)return i=>i;let o=`\x1B[${t}m`,a=`\x1B[${n}m`;return i=>{let u=i+"",f=u.indexOf(a);if(f===-1)return o+u+a;let T=o,m=0,G=(n===22?a:"")+o;for(;f!==-1;)T+=u.slice(m,f)+G,m=f+a.length,f=u.indexOf(a,m);return T+=u.slice(m)+a,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);A.exports=e});var F=v((xe,Q)=>{Q.exports={name:"ray",version:"2.1.2",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(k()),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 d={development:"development",internal:"internal",release:"release"},P=Object.values(d),H={debug:"development",x:"","x-development":"development","x-internal":"internal"};function R(t){return H[t]??t}function C(t){return t===d.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(d.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})},I=(t,n,o,a)=>{if(n&&typeof n=="object"||typeof n=="function")for(let i of L(n))!U.call(t,i)&&i!==o&&y(t,i,{get:()=>n[i],enumerable:!(a=M(n,i))||a.enumerable});return t};var h=(t,n,o)=>(o=t!=null?O(S(t)):{},I(n||!t||!t.__esModule?y(o,"default",{value:t,enumerable:!0}):o,t)),Y=t=>I(y({},"__esModule",{value:!0}),t);var k=v((ne,A)=>{var J=require("node:tty"),K=J?.WriteStream?.prototype?.hasColors?.()??!1,r=(t,n)=>{if(!K)return i=>i;let o=`\x1B[${t}m`,a=`\x1B[${n}m`;return i=>{let u=i+"",f=u.indexOf(a);if(f===-1)return o+u+a;let T=o,m=0,G=(n===22?a:"")+o;for(;f!==-1;)T+=u.slice(m,f)+G,m=f+a.length,f=u.indexOf(a,m);return T+=u.slice(m)+a,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);A.exports=e});var F=v((xe,Q)=>{Q.exports={name:"ray",version:"2.2.0",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(k()),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 d={development:"development",internal:"internal",release:"release"},P=Object.values(d),H={debug:"development",x:"","x-development":"development","x-internal":"internal"};function R(t){return H[t]??t}function C(t){return t===d.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(d.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}`)}};
@@ -198,10 +198,10 @@
198
198
  "index.js"
199
199
  ]
200
200
  },
201
- "lint": {
201
+ "evals": {
202
202
  "aliases": [],
203
203
  "args": {},
204
- "description": "Validate the extension manifest and metadata, and lint its source code",
204
+ "description": "Run AI evals defined in extension package.json",
205
205
  "flags": {
206
206
  "exit-on-error": {
207
207
  "aliases": [
@@ -251,26 +251,37 @@
251
251
  ],
252
252
  "type": "option"
253
253
  },
254
- "fix": {
255
- "char": "f",
256
- "description": "Attempt to fix linting issues",
257
- "name": "fix",
254
+ "skipBuild": {
255
+ "char": "s",
256
+ "description": "Skip extension build step",
257
+ "name": "skipBuild",
258
258
  "allowNo": false,
259
259
  "type": "boolean"
260
260
  },
261
- "relaxed": {
262
- "char": "r",
263
- "description": "Use relaxed linting mode to skip validation of: package.json schema, icons and metadata.",
264
- "name": "relaxed",
265
- "allowNo": false,
266
- "type": "boolean"
261
+ "extension": {
262
+ "char": "e",
263
+ "description": "Path to extension. Current directory is used by default",
264
+ "name": "extension",
265
+ "default": "./",
266
+ "hasDynamicHelp": false,
267
+ "multiple": false,
268
+ "type": "option"
267
269
  },
268
- "schema": {
269
- "char": "s",
270
- "description": "Path to JSON schema for package.json validation \u001b[34m\u001b[2minternal only\u001b[22m\u001b[39m",
270
+ "apiEndpoint": {
271
+ "char": "a",
272
+ "description": "AI Evals API endpoint",
271
273
  "hidden": true,
272
- "name": "schema",
273
- "default": "https://www.raycast.com/schemas/extension.json",
274
+ "name": "apiEndpoint",
275
+ "default": "https://ai-evals.raycast.com/run-evals",
276
+ "hasDynamicHelp": false,
277
+ "multiple": false,
278
+ "type": "option"
279
+ },
280
+ "only": {
281
+ "char": "o",
282
+ "description": "Only run specified evals (0-2, 1, 1,2,3)",
283
+ "name": "only",
284
+ "default": "",
274
285
  "hasDynamicHelp": false,
275
286
  "multiple": false,
276
287
  "type": "option"
@@ -278,7 +289,7 @@
278
289
  },
279
290
  "hasDynamicHelp": false,
280
291
  "hiddenAliases": [],
281
- "id": "lint",
292
+ "id": "evals",
282
293
  "pluginAlias": "ray",
283
294
  "pluginName": "ray",
284
295
  "pluginType": "core",
@@ -288,14 +299,14 @@
288
299
  "relativePath": [
289
300
  "dist",
290
301
  "commands",
291
- "lint",
302
+ "evals",
292
303
  "index.js"
293
304
  ]
294
305
  },
295
- "evals": {
306
+ "lint": {
296
307
  "aliases": [],
297
308
  "args": {},
298
- "description": "Run AI evals defined in extension package.json",
309
+ "description": "Validate the extension manifest and metadata, and lint its source code",
299
310
  "flags": {
300
311
  "exit-on-error": {
301
312
  "aliases": [
@@ -345,37 +356,26 @@
345
356
  ],
346
357
  "type": "option"
347
358
  },
348
- "skipBuild": {
349
- "char": "s",
350
- "description": "Skip extension build step",
351
- "name": "skipBuild",
359
+ "fix": {
360
+ "char": "f",
361
+ "description": "Attempt to fix linting issues",
362
+ "name": "fix",
352
363
  "allowNo": false,
353
364
  "type": "boolean"
354
365
  },
355
- "extension": {
356
- "char": "e",
357
- "description": "Path to extension. Current directory is used by default",
358
- "name": "extension",
359
- "default": "./",
360
- "hasDynamicHelp": false,
361
- "multiple": false,
362
- "type": "option"
366
+ "relaxed": {
367
+ "char": "r",
368
+ "description": "Use relaxed linting mode to skip validation of: package.json schema, icons and metadata.",
369
+ "name": "relaxed",
370
+ "allowNo": false,
371
+ "type": "boolean"
363
372
  },
364
- "apiEndpoint": {
365
- "char": "a",
366
- "description": "AI Evals API endpoint",
373
+ "schema": {
374
+ "char": "s",
375
+ "description": "Path to JSON schema for package.json validation \u001b[34m\u001b[2minternal only\u001b[22m\u001b[39m",
367
376
  "hidden": true,
368
- "name": "apiEndpoint",
369
- "default": "https://ai-evals.raycast.com/run-evals",
370
- "hasDynamicHelp": false,
371
- "multiple": false,
372
- "type": "option"
373
- },
374
- "only": {
375
- "char": "o",
376
- "description": "Only run specified evals (0-2, 1, 1,2,3)",
377
- "name": "only",
378
- "default": "",
377
+ "name": "schema",
378
+ "default": "https://www.raycast.com/schemas/extension.json",
379
379
  "hasDynamicHelp": false,
380
380
  "multiple": false,
381
381
  "type": "option"
@@ -383,7 +383,7 @@
383
383
  },
384
384
  "hasDynamicHelp": false,
385
385
  "hiddenAliases": [],
386
- "id": "evals",
386
+ "id": "lint",
387
387
  "pluginAlias": "ray",
388
388
  "pluginName": "ray",
389
389
  "pluginType": "core",
@@ -393,7 +393,7 @@
393
393
  "relativePath": [
394
394
  "dist",
395
395
  "commands",
396
- "evals",
396
+ "lint",
397
397
  "index.js"
398
398
  ]
399
399
  },
@@ -793,18 +793,11 @@
793
793
  "index.js"
794
794
  ]
795
795
  },
796
- "token": {
796
+ "pull-contributions": {
797
797
  "aliases": [],
798
798
  "args": {},
799
- "description": "Display the access token",
799
+ "description": "Pull contributions of the extension",
800
800
  "flags": {
801
- "json": {
802
- "description": "Format output as json.",
803
- "helpGroup": "GLOBAL",
804
- "name": "json",
805
- "allowNo": false,
806
- "type": "boolean"
807
- },
808
801
  "exit-on-error": {
809
802
  "aliases": [
810
803
  "exitOnError"
@@ -852,36 +845,36 @@
852
845
  "release"
853
846
  ],
854
847
  "type": "option"
855
- },
856
- "clipboard": {
857
- "char": "C",
858
- "description": "Copy the token to the clipboard",
859
- "name": "clipboard",
860
- "allowNo": false,
861
- "type": "boolean"
862
848
  }
863
849
  },
864
850
  "hasDynamicHelp": false,
865
851
  "hiddenAliases": [],
866
- "id": "token",
852
+ "id": "pull-contributions",
867
853
  "pluginAlias": "ray",
868
854
  "pluginName": "ray",
869
855
  "pluginType": "core",
870
856
  "strict": true,
871
- "enableJsonFlag": true,
857
+ "enableJsonFlag": false,
872
858
  "isESM": false,
873
859
  "relativePath": [
874
860
  "dist",
875
861
  "commands",
876
- "token",
862
+ "pull-contributions",
877
863
  "index.js"
878
864
  ]
879
865
  },
880
- "validate": {
866
+ "token": {
881
867
  "aliases": [],
882
868
  "args": {},
883
- "description": "Validate the extension so that it can be published - \u001b[34m\u001b[2minternal only\u001b[22m\u001b[39m",
869
+ "description": "Display the access token",
884
870
  "flags": {
871
+ "json": {
872
+ "description": "Format output as json.",
873
+ "helpGroup": "GLOBAL",
874
+ "name": "json",
875
+ "allowNo": false,
876
+ "type": "boolean"
877
+ },
885
878
  "exit-on-error": {
886
879
  "aliases": [
887
880
  "exitOnError"
@@ -930,44 +923,34 @@
930
923
  ],
931
924
  "type": "option"
932
925
  },
933
- "schema": {
934
- "char": "s",
935
- "description": "Path to JSON schema for package.json validation ",
936
- "name": "schema",
937
- "default": "https://www.raycast.com/schemas/extension.json",
938
- "hasDynamicHelp": false,
939
- "multiple": false,
940
- "type": "option"
941
- },
942
- "skip-owner": {
943
- "description": "Skip owner checks",
944
- "name": "skip-owner",
926
+ "clipboard": {
927
+ "char": "C",
928
+ "description": "Copy the token to the clipboard",
929
+ "name": "clipboard",
945
930
  "allowNo": false,
946
931
  "type": "boolean"
947
932
  }
948
933
  },
949
934
  "hasDynamicHelp": false,
950
- "hidden": true,
951
935
  "hiddenAliases": [],
952
- "id": "validate",
936
+ "id": "token",
953
937
  "pluginAlias": "ray",
954
938
  "pluginName": "ray",
955
939
  "pluginType": "core",
956
940
  "strict": true,
957
- "summary": "Validate the extension - \u001b[34m\u001b[2minternal only\u001b[22m\u001b[39m",
958
- "enableJsonFlag": false,
941
+ "enableJsonFlag": true,
959
942
  "isESM": false,
960
943
  "relativePath": [
961
944
  "dist",
962
945
  "commands",
963
- "validate",
946
+ "token",
964
947
  "index.js"
965
948
  ]
966
949
  },
967
- "version": {
950
+ "validate": {
968
951
  "aliases": [],
969
952
  "args": {},
970
- "description": "Print the version number",
953
+ "description": "Validate the extension so that it can be published - \u001b[34m\u001b[2minternal only\u001b[22m\u001b[39m",
971
954
  "flags": {
972
955
  "exit-on-error": {
973
956
  "aliases": [
@@ -1016,28 +999,45 @@
1016
999
  "release"
1017
1000
  ],
1018
1001
  "type": "option"
1002
+ },
1003
+ "schema": {
1004
+ "char": "s",
1005
+ "description": "Path to JSON schema for package.json validation ",
1006
+ "name": "schema",
1007
+ "default": "https://www.raycast.com/schemas/extension.json",
1008
+ "hasDynamicHelp": false,
1009
+ "multiple": false,
1010
+ "type": "option"
1011
+ },
1012
+ "skip-owner": {
1013
+ "description": "Skip owner checks",
1014
+ "name": "skip-owner",
1015
+ "allowNo": false,
1016
+ "type": "boolean"
1019
1017
  }
1020
1018
  },
1021
1019
  "hasDynamicHelp": false,
1020
+ "hidden": true,
1022
1021
  "hiddenAliases": [],
1023
- "id": "version",
1022
+ "id": "validate",
1024
1023
  "pluginAlias": "ray",
1025
1024
  "pluginName": "ray",
1026
1025
  "pluginType": "core",
1027
1026
  "strict": true,
1027
+ "summary": "Validate the extension - \u001b[34m\u001b[2minternal only\u001b[22m\u001b[39m",
1028
1028
  "enableJsonFlag": false,
1029
1029
  "isESM": false,
1030
1030
  "relativePath": [
1031
1031
  "dist",
1032
1032
  "commands",
1033
- "version",
1033
+ "validate",
1034
1034
  "index.js"
1035
1035
  ]
1036
1036
  },
1037
- "pull-contributions": {
1037
+ "version": {
1038
1038
  "aliases": [],
1039
1039
  "args": {},
1040
- "description": "Pull contributions of the extension",
1040
+ "description": "Print the version number",
1041
1041
  "flags": {
1042
1042
  "exit-on-error": {
1043
1043
  "aliases": [
@@ -1090,7 +1090,7 @@
1090
1090
  },
1091
1091
  "hasDynamicHelp": false,
1092
1092
  "hiddenAliases": [],
1093
- "id": "pull-contributions",
1093
+ "id": "version",
1094
1094
  "pluginAlias": "ray",
1095
1095
  "pluginName": "ray",
1096
1096
  "pluginType": "core",
@@ -1100,10 +1100,10 @@
1100
1100
  "relativePath": [
1101
1101
  "dist",
1102
1102
  "commands",
1103
- "pull-contributions",
1103
+ "version",
1104
1104
  "index.js"
1105
1105
  ]
1106
1106
  }
1107
1107
  },
1108
- "version": "2.1.2"
1108
+ "version": "2.2.0"
1109
1109
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@raycast/api",
3
- "version": "2.1.2",
3
+ "version": "2.2.0",
4
4
  "description": "Build extensions for Raycast with React and Node.js.",
5
5
  "homepage": "https://developers.raycast.com",
6
6
  "license": "MIT",