@raycast/api 1.102.7 → 1.103.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 $=Object.create;var m=Object.defineProperty;var G=Object.getOwnPropertyDescriptor;var D=Object.getOwnPropertyNames;var O=Object.getPrototypeOf,L=Object.prototype.hasOwnProperty;var A=(t,n)=>()=>(n||t((n={exports:{}}).exports,n),n.exports),R=(t,n)=>{for(var i in n)m(t,i,{get:n[i],enumerable:!0})},I=(t,n,i,c)=>{if(n&&typeof n=="object"||typeof n=="function")for(let o of D(n))!L.call(t,o)&&o!==i&&m(t,o,{get:()=>n[o],enumerable:!(c=G(n,o))||c.enumerable});return t};var h=(t,n,i)=>(i=t!=null?$(O(t)):{},I(n||!t||!t.__esModule?m(i,"default",{value:t,enumerable:!0}):i,t)),S=t=>I(m({},"__esModule",{value:!0}),t);var B=A((Q,k)=>{var Y=require("node:tty"),J=Y?.WriteStream?.prototype?.hasColors?.()??!1,r=(t,n)=>{if(!J)return o=>o;let i=`\x1B[${t}m`,c=`\x1B[${n}m`;return o=>{let u=o+"",d=u.indexOf(c);if(d===-1)return i+u+c;let x=i,g=0;for(;d!==-1;)x+=u.slice(g,d)+i,g=d+c.length,d=u.indexOf(c,g);return x+=u.slice(g)+c,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 P=A((oe,H)=>{H.exports={name:"ray",description:"Build extensions for Raycast with React and Node.js.",version:"1.102.7",author:"mathieudutour",private:!0,bin:{ray:"./bin/run.js"},dependencies:{"@oclif/core":"^4.4.1","@oclif/plugin-autocomplete":"^3.2.31","@oclif/plugin-help":"^6.2.29","@oclif/plugin-not-found":"^3.2.57","@raycast/eslint-plugin":"^1.0.15",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.0","yoctocolors-cjs":"^2.1.2"},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.5",eslint:"^8","json-schema-to-typescript":"^15.0.4",oclif:"^4.20.1",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 K={};R(K,{default:()=>b});module.exports=S(K);var l=require("@oclif/core");var f=h(require("node:fs")),v=h(require("node:path")),E=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"],F="e69bae0ec90f5e838555",a={},C;function N(t){C=t;try{a=JSON.parse(f.readFileSync(v.join(M(),"config.json"),"utf8"))}catch(n){if(n instanceof Error&&n.code==="ENOENT")return;throw new Error(`Failed to read config file: ${n}`)}}function U(t){switch(t){case"raycastApiURL":return process.env.RAY_APIURL||a.APIURL||T.url;case"raycastAccessToken":return process.env.RAY_TOKEN||a.Token||a.AccessToken||"";case"raycastClientId":return process.env.RAY_CLIENT_ID||a.ClientID||T.clientID;case"githubClientId":return process.env.RAY_GithubClientID||a.GithubClientID||F;case"githubAccessToken":return process.env.GITHUB_ACCESS_TOKEN||a.GithubAccessToken||"";case"flavorName":return process.env.RAY_Target?process.env.RAY_Target:typeof a.Target<"u"?a.Target:w(process.platform==="win32"?"x":"release")}}function w(t){switch(t){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 U("flavorName")}}function _(){let t=w(C);return t==""?"raycast":`raycast-${t}`}function M(){let t=v.join(E.default.homedir(),".config",_());return f.mkdirSync(t,{recursive:!0}),t}var s=h(B());var ee=(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")} - `},q=!0;function j(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 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:n,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=n,N(this.flags.target),j(this.flags.emoji,this.flags["non-interactive"])}error(n,i){return i?.message&&n instanceof Error&&(n.message=`${i.message} (${n.message})`,delete i.message),super.error(n,i)}async catch(n){return super.catch(n)}async finally(n){return super.finally(n)}};var b=class t extends y{static description="Print the version number";async run(){await this.parse(t),this.log(`${P().version}`)}};
1
+ "use strict";var $=Object.create;var m=Object.defineProperty;var G=Object.getOwnPropertyDescriptor;var D=Object.getOwnPropertyNames;var O=Object.getPrototypeOf,L=Object.prototype.hasOwnProperty;var A=(t,n)=>()=>(n||t((n={exports:{}}).exports,n),n.exports),R=(t,n)=>{for(var i in n)m(t,i,{get:n[i],enumerable:!0})},I=(t,n,i,c)=>{if(n&&typeof n=="object"||typeof n=="function")for(let o of D(n))!L.call(t,o)&&o!==i&&m(t,o,{get:()=>n[o],enumerable:!(c=G(n,o))||c.enumerable});return t};var h=(t,n,i)=>(i=t!=null?$(O(t)):{},I(n||!t||!t.__esModule?m(i,"default",{value:t,enumerable:!0}):i,t)),S=t=>I(m({},"__esModule",{value:!0}),t);var B=A((Q,k)=>{var Y=require("node:tty"),J=Y?.WriteStream?.prototype?.hasColors?.()??!1,r=(t,n)=>{if(!J)return o=>o;let i=`\x1B[${t}m`,c=`\x1B[${n}m`;return o=>{let u=o+"",d=u.indexOf(c);if(d===-1)return i+u+c;let x=i,g=0;for(;d!==-1;)x+=u.slice(g,d)+i,g=d+c.length,d=u.indexOf(c,g);return x+=u.slice(g)+c,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 P=A((oe,H)=>{H.exports={name:"ray",description:"Build extensions for Raycast with React and Node.js.",version:"1.103.0",author:"mathieudutour",private:!0,bin:{ray:"./bin/run.js"},dependencies:{"@oclif/core":"^4.4.1","@oclif/plugin-autocomplete":"^3.2.31","@oclif/plugin-help":"^6.2.29","@oclif/plugin-not-found":"^3.2.57","@raycast/eslint-plugin":"^1.0.15",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.0","yoctocolors-cjs":"^2.1.2"},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.5",eslint:"^8","json-schema-to-typescript":"^15.0.4",oclif:"^4.20.1",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 K={};R(K,{default:()=>b});module.exports=S(K);var l=require("@oclif/core");var f=h(require("node:fs")),v=h(require("node:path")),E=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"],F="e69bae0ec90f5e838555",a={},C;function N(t){C=t;try{a=JSON.parse(f.readFileSync(v.join(M(),"config.json"),"utf8"))}catch(n){if(n instanceof Error&&n.code==="ENOENT")return;throw new Error(`Failed to read config file: ${n}`)}}function U(t){switch(t){case"raycastApiURL":return process.env.RAY_APIURL||a.APIURL||T.url;case"raycastAccessToken":return process.env.RAY_TOKEN||a.Token||a.AccessToken||"";case"raycastClientId":return process.env.RAY_CLIENT_ID||a.ClientID||T.clientID;case"githubClientId":return process.env.RAY_GithubClientID||a.GithubClientID||F;case"githubAccessToken":return process.env.GITHUB_ACCESS_TOKEN||a.GithubAccessToken||"";case"flavorName":return process.env.RAY_Target?process.env.RAY_Target:typeof a.Target<"u"?a.Target:w(process.platform==="win32"?"x":"release")}}function w(t){switch(t){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 U("flavorName")}}function _(){let t=w(C);return t==""?"raycast":`raycast-${t}`}function M(){let t=v.join(E.default.homedir(),".config",_());return f.mkdirSync(t,{recursive:!0}),t}var s=h(B());var ee=(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")} - `},q=!0;function j(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 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:n,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=n,N(this.flags.target),j(this.flags.emoji,this.flags["non-interactive"])}error(n,i){return i?.message&&n instanceof Error&&(n.message=`${i.message} (${n.message})`,delete i.message),super.error(n,i)}async catch(n){return super.catch(n)}async finally(n){return super.finally(n)}};var b=class t extends y{static description="Print the version number";async run(){await this.parse(t),this.log(`${P().version}`)}};
@@ -638,10 +638,10 @@
638
638
  "index.js"
639
639
  ]
640
640
  },
641
- "profile": {
641
+ "token": {
642
642
  "aliases": [],
643
643
  "args": {},
644
- "description": "Show profile of the currently logged in user",
644
+ "description": "Display the access token",
645
645
  "flags": {
646
646
  "json": {
647
647
  "description": "Format output as json.",
@@ -700,11 +700,18 @@
700
700
  "x-internal"
701
701
  ],
702
702
  "type": "option"
703
+ },
704
+ "clipboard": {
705
+ "char": "C",
706
+ "description": "Copy the token to the clipboard",
707
+ "name": "clipboard",
708
+ "allowNo": false,
709
+ "type": "boolean"
703
710
  }
704
711
  },
705
712
  "hasDynamicHelp": false,
706
713
  "hiddenAliases": [],
707
- "id": "profile",
714
+ "id": "token",
708
715
  "pluginAlias": "ray",
709
716
  "pluginName": "ray",
710
717
  "pluginType": "core",
@@ -714,14 +721,14 @@
714
721
  "relativePath": [
715
722
  "dist",
716
723
  "commands",
717
- "profile",
724
+ "token",
718
725
  "index.js"
719
726
  ]
720
727
  },
721
- "publish": {
728
+ "validate": {
722
729
  "aliases": [],
723
730
  "args": {},
724
- "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​)",
731
+ "description": "Validate the extension so that it can be published - \u001b[34m\u001b[2minternal only\u001b[22m\u001b[39m",
725
732
  "flags": {
726
733
  "exit-on-error": {
727
734
  "aliases": [
@@ -774,50 +781,44 @@
774
781
  ],
775
782
  "type": "option"
776
783
  },
777
- "clipboard": {
778
- "char": "C",
779
- "description": "Copy the extension link to the clipboard upon publishing",
780
- "name": "clipboard",
781
- "allowNo": false,
782
- "type": "boolean"
783
- },
784
- "skip-validation": {
784
+ "schema": {
785
785
  "char": "s",
786
- "description": "Skip validation and always publish \u001b[34m\u001b[2minternal only\u001b[22m\u001b[39m",
787
- "hidden": true,
788
- "name": "skip-validation",
789
- "allowNo": false,
790
- "type": "boolean"
786
+ "description": "Path to JSON schema for package.json validation ",
787
+ "name": "schema",
788
+ "default": "https://www.raycast.com/schemas/extension.json",
789
+ "hasDynamicHelp": false,
790
+ "multiple": false,
791
+ "type": "option"
791
792
  },
792
- "skip-notify-raycast": {
793
- "description": "Skip notifying Raycast after publishing \u001b[34m\u001b[2minternal only\u001b[22m\u001b[39m",
794
- "hidden": true,
795
- "name": "skip-notify-raycast",
793
+ "skip-owner": {
794
+ "description": "Skip owner checks",
795
+ "name": "skip-owner",
796
796
  "allowNo": false,
797
797
  "type": "boolean"
798
798
  }
799
799
  },
800
800
  "hasDynamicHelp": false,
801
+ "hidden": true,
801
802
  "hiddenAliases": [],
802
- "id": "publish",
803
+ "id": "validate",
803
804
  "pluginAlias": "ray",
804
805
  "pluginName": "ray",
805
806
  "pluginType": "core",
806
807
  "strict": true,
807
- "summary": "Publish the extension",
808
+ "summary": "Validate the extension - \u001b[34m\u001b[2minternal only\u001b[22m\u001b[39m",
808
809
  "enableJsonFlag": false,
809
810
  "isESM": false,
810
811
  "relativePath": [
811
812
  "dist",
812
813
  "commands",
813
- "publish",
814
+ "validate",
814
815
  "index.js"
815
816
  ]
816
817
  },
817
- "pull-contributions": {
818
+ "version": {
818
819
  "aliases": [],
819
820
  "args": {},
820
- "description": "Pull contributions of the extension",
821
+ "description": "Print the version number",
821
822
  "flags": {
822
823
  "exit-on-error": {
823
824
  "aliases": [
@@ -873,7 +874,7 @@
873
874
  },
874
875
  "hasDynamicHelp": false,
875
876
  "hiddenAliases": [],
876
- "id": "pull-contributions",
877
+ "id": "version",
877
878
  "pluginAlias": "ray",
878
879
  "pluginName": "ray",
879
880
  "pluginType": "core",
@@ -883,14 +884,14 @@
883
884
  "relativePath": [
884
885
  "dist",
885
886
  "commands",
886
- "pull-contributions",
887
+ "version",
887
888
  "index.js"
888
889
  ]
889
890
  },
890
- "token": {
891
+ "profile": {
891
892
  "aliases": [],
892
893
  "args": {},
893
- "description": "Display the access token",
894
+ "description": "Show profile of the currently logged in user",
894
895
  "flags": {
895
896
  "json": {
896
897
  "description": "Format output as json.",
@@ -949,18 +950,11 @@
949
950
  "x-internal"
950
951
  ],
951
952
  "type": "option"
952
- },
953
- "clipboard": {
954
- "char": "C",
955
- "description": "Copy the token to the clipboard",
956
- "name": "clipboard",
957
- "allowNo": false,
958
- "type": "boolean"
959
953
  }
960
954
  },
961
955
  "hasDynamicHelp": false,
962
956
  "hiddenAliases": [],
963
- "id": "token",
957
+ "id": "profile",
964
958
  "pluginAlias": "ray",
965
959
  "pluginName": "ray",
966
960
  "pluginType": "core",
@@ -970,14 +964,14 @@
970
964
  "relativePath": [
971
965
  "dist",
972
966
  "commands",
973
- "token",
967
+ "profile",
974
968
  "index.js"
975
969
  ]
976
970
  },
977
- "validate": {
971
+ "publish": {
978
972
  "aliases": [],
979
973
  "args": {},
980
- "description": "Validate the extension so that it can be published - \u001b[34m\u001b[2minternal only\u001b[22m\u001b[39m",
974
+ "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​)",
981
975
  "flags": {
982
976
  "exit-on-error": {
983
977
  "aliases": [
@@ -1030,44 +1024,50 @@
1030
1024
  ],
1031
1025
  "type": "option"
1032
1026
  },
1033
- "schema": {
1027
+ "clipboard": {
1028
+ "char": "C",
1029
+ "description": "Copy the extension link to the clipboard upon publishing",
1030
+ "name": "clipboard",
1031
+ "allowNo": false,
1032
+ "type": "boolean"
1033
+ },
1034
+ "skip-validation": {
1034
1035
  "char": "s",
1035
- "description": "Path to JSON schema for package.json validation ",
1036
- "name": "schema",
1037
- "default": "https://www.raycast.com/schemas/extension.json",
1038
- "hasDynamicHelp": false,
1039
- "multiple": false,
1040
- "type": "option"
1036
+ "description": "Skip validation and always publish \u001b[34m\u001b[2minternal only\u001b[22m\u001b[39m",
1037
+ "hidden": true,
1038
+ "name": "skip-validation",
1039
+ "allowNo": false,
1040
+ "type": "boolean"
1041
1041
  },
1042
- "skip-owner": {
1043
- "description": "Skip owner checks",
1044
- "name": "skip-owner",
1042
+ "skip-notify-raycast": {
1043
+ "description": "Skip notifying Raycast after publishing \u001b[34m\u001b[2minternal only\u001b[22m\u001b[39m",
1044
+ "hidden": true,
1045
+ "name": "skip-notify-raycast",
1045
1046
  "allowNo": false,
1046
1047
  "type": "boolean"
1047
1048
  }
1048
1049
  },
1049
1050
  "hasDynamicHelp": false,
1050
- "hidden": true,
1051
1051
  "hiddenAliases": [],
1052
- "id": "validate",
1052
+ "id": "publish",
1053
1053
  "pluginAlias": "ray",
1054
1054
  "pluginName": "ray",
1055
1055
  "pluginType": "core",
1056
1056
  "strict": true,
1057
- "summary": "Validate the extension - \u001b[34m\u001b[2minternal only\u001b[22m\u001b[39m",
1057
+ "summary": "Publish the extension",
1058
1058
  "enableJsonFlag": false,
1059
1059
  "isESM": false,
1060
1060
  "relativePath": [
1061
1061
  "dist",
1062
1062
  "commands",
1063
- "validate",
1063
+ "publish",
1064
1064
  "index.js"
1065
1065
  ]
1066
1066
  },
1067
- "version": {
1067
+ "pull-contributions": {
1068
1068
  "aliases": [],
1069
1069
  "args": {},
1070
- "description": "Print the version number",
1070
+ "description": "Pull contributions of the extension",
1071
1071
  "flags": {
1072
1072
  "exit-on-error": {
1073
1073
  "aliases": [
@@ -1123,7 +1123,7 @@
1123
1123
  },
1124
1124
  "hasDynamicHelp": false,
1125
1125
  "hiddenAliases": [],
1126
- "id": "version",
1126
+ "id": "pull-contributions",
1127
1127
  "pluginAlias": "ray",
1128
1128
  "pluginName": "ray",
1129
1129
  "pluginType": "core",
@@ -1133,10 +1133,10 @@
1133
1133
  "relativePath": [
1134
1134
  "dist",
1135
1135
  "commands",
1136
- "version",
1136
+ "pull-contributions",
1137
1137
  "index.js"
1138
1138
  ]
1139
1139
  }
1140
1140
  },
1141
- "version": "1.102.7"
1141
+ "version": "1.103.0"
1142
1142
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@raycast/api",
3
- "version": "1.102.7",
3
+ "version": "1.103.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",
package/types/index.d.ts CHANGED
@@ -7986,12 +7986,12 @@ declare interface LabelProps {
7986
7986
  path: PathLike;
7987
7987
  /**
7988
7988
  * An optional title for the Action.
7989
- * @defaultValue `"Show in Finder"`
7989
+ * @defaultValue `"Show in Finder"` on macOS and `"Show in Explorer"` on Windows
7990
7990
  */
7991
7991
  title?: string;
7992
7992
  /**
7993
7993
  * A optional icon displayed for the Action.
7994
- * @defaultValue {@link Icon.Finder}
7994
+ * @defaultValue {@link Icon.Finder} on macOS and {@link Icon.HardDrive} on Windows
7995
7995
  */
7996
7996
  icon?: Image.ImageLike;
7997
7997
  /**
@@ -8741,7 +8741,7 @@ declare interface LabelProps {
8741
8741
  paths: PathLike | PathLike[];
8742
8742
  /**
8743
8743
  * An optional title for the Action.
8744
- * @defaultValue `"Move to Trash"`
8744
+ * @defaultValue `"Move to Trash"` on macOS and `"Move to Recycle Bin"` on Windows
8745
8745
  */
8746
8746
  title?: string;
8747
8747
  /**