@raycast/api 1.87.3 → 1.87.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commands/version/index.js +1 -1
- package/oclif.manifest.json +25 -25
- package/package.json +1 -1
- package/types/index.d.ts +1 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var $=Object.create;var m=Object.defineProperty;var P=Object.getOwnPropertyDescriptor;var G=Object.getOwnPropertyNames;var R=Object.getPrototypeOf,L=Object.prototype.hasOwnProperty;var A=(t,n)=>()=>(n||t((n={exports:{}}).exports,n),n.exports),O=(t,n)=>{for(var o in n)m(t,o,{get:n[o],enumerable:!0})},T=(t,n,o,c)=>{if(n&&typeof n=="object"||typeof n=="function")for(let i of G(n))!L.call(t,i)&&i!==o&&m(t,i,{get:()=>n[i],enumerable:!(c=P(n,i))||c.enumerable});return t};var h=(t,n,o)=>(o=t!=null?$(R(t)):{},T(n||!t||!t.__esModule?m(o,"default",{value:t,enumerable:!0}):o,t)),D=t=>T(m({},"__esModule",{value:!0}),t);var B=A((Z,E)=>{var J=require("node:tty"),Y=J?.WriteStream?.prototype?.hasColors?.()??!1,r=(t,n)=>{if(!Y)return i=>i;let o=`\x1B[${t}m`,c=`\x1B[${n}m`;return i=>{let u=i+"",p=u.indexOf(c);if(p===-1)return o+u+c;let x=o,g=0;for(;p!==-1;)x+=u.slice(g,p)+o,g=p+c.length,p=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);E.exports=e});var j=A((ie,q)=>{q.exports={name:"ray",description:"Build extensions for Raycast with React and Node.js.",version:"1.87.
|
|
1
|
+
"use strict";var $=Object.create;var m=Object.defineProperty;var P=Object.getOwnPropertyDescriptor;var G=Object.getOwnPropertyNames;var R=Object.getPrototypeOf,L=Object.prototype.hasOwnProperty;var A=(t,n)=>()=>(n||t((n={exports:{}}).exports,n),n.exports),O=(t,n)=>{for(var o in n)m(t,o,{get:n[o],enumerable:!0})},T=(t,n,o,c)=>{if(n&&typeof n=="object"||typeof n=="function")for(let i of G(n))!L.call(t,i)&&i!==o&&m(t,i,{get:()=>n[i],enumerable:!(c=P(n,i))||c.enumerable});return t};var h=(t,n,o)=>(o=t!=null?$(R(t)):{},T(n||!t||!t.__esModule?m(o,"default",{value:t,enumerable:!0}):o,t)),D=t=>T(m({},"__esModule",{value:!0}),t);var B=A((Z,E)=>{var J=require("node:tty"),Y=J?.WriteStream?.prototype?.hasColors?.()??!1,r=(t,n)=>{if(!Y)return i=>i;let o=`\x1B[${t}m`,c=`\x1B[${n}m`;return i=>{let u=i+"",p=u.indexOf(c);if(p===-1)return o+u+c;let x=o,g=0;for(;p!==-1;)x+=u.slice(g,p)+o,g=p+c.length,p=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);E.exports=e});var j=A((ie,q)=>{q.exports={name:"ray",description:"Build extensions for Raycast with React and Node.js.",version:"1.87.5",author:"mathieudutour",private:!0,bin:{ray:"./bin/run.js"},dependencies:{"@oclif/core":"^4.0.33","@oclif/plugin-autocomplete":"^3.2.10","@oclif/plugin-help":"^6.2.18","@oclif/plugin-not-found":"^3.2.28","@raycast/eslint-plugin":"^1.0.15","@raycast/extract-tools-info":"file:../extract-tools-info",ajv:"^8.17.1",archiver:"^7.0.1",camelcase:"^8.0.0",chokidar:"^4.0.1",clipboardy:"^2.3.0",execa:"^9.5.1","json-source-map":"^0.6.1",json5:"^2.2.3","node-fetch-cjs":"^3.3.2",open:"^8.4.2",ora:"^8.1.1","terminal-link":"^3.0.0",yaml:"^2.6.1","yoctocolors-cjs":"^2.1.2"},devDependencies:{"@raycast/eslint-config":"^1.0.11","@types/archiver":"^6.0.3","@types/node":"20.8.4",esbuild:"^0.24.0",eslint:"^8","json-schema-to-typescript":"^15.0.3",oclif:"^4.15.28",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":'./node_modules/.bin/tsc "./scripts/build.ts" "./scripts/build-command.ts" "./scripts/dev-command.ts" --outDir ./scripts/dist --esModuleInterop',"build-extract-tools-info":"cd ../extract-tools-info && npm ci && npm run build",prebuild:"npm run build-extract-tools-info && 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={};O(K,{default:()=>b});module.exports=D(K);var l=require("@oclif/core");var f=h(require("node:fs")),w=h(require("node:path")),v=h(require("node:os"));var S="KqAdcGhNfBKiUpfjD3nU3VNgh1t0iMPoX2hYEkN9d4I",F="e69bae0ec90f5e838555",a={},C;function I(t){C=t;try{a=JSON.parse(f.readFileSync(w.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||"https://www.raycast.com";case"raycastAccessToken":return process.env.RAY_Token||a.Token||a.AccessToken||"";case"raycastClientId":return process.env.RAY_ClientID||a.ClientID||S;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||(typeof a.Target>"u"?k("release"):a.Target)}}function k(t){switch(t){case"debug":return"debug";case"internal":return"internal";case"release":return"";case void 0:return U("flavorName")}}function _(){let t=k(C);return t==""?"raycast":`raycast-${t}`}function M(){let t=w.join(v.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 d={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 N(t,n){t||(d.wait=`${(0,s.blue)("wait")} - `,d.info=`${(0,s.cyan)("info")} - `,d.success=`${(0,s.green)("ready")} - `,d.warn=`${(0,s.yellow)("warn")} - `,d.error=`${(0,s.red)("error")} - `,d.event=`${(0,s.magenta)("event")} - `,d.paymentPrompt=`${(0,s.yellowBright)("plan")} - `),n&&(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"],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,I(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 b=class t extends y{static description="Print the version number";async run(){await this.parse(t),this.log(`${j().version}`)}};
|
package/oclif.manifest.json
CHANGED
|
@@ -682,11 +682,18 @@
|
|
|
682
682
|
"index.js"
|
|
683
683
|
]
|
|
684
684
|
},
|
|
685
|
-
"
|
|
685
|
+
"token": {
|
|
686
686
|
"aliases": [],
|
|
687
687
|
"args": {},
|
|
688
|
-
"description": "
|
|
688
|
+
"description": "Display the access token",
|
|
689
689
|
"flags": {
|
|
690
|
+
"json": {
|
|
691
|
+
"description": "Format output as json.",
|
|
692
|
+
"helpGroup": "GLOBAL",
|
|
693
|
+
"name": "json",
|
|
694
|
+
"allowNo": false,
|
|
695
|
+
"type": "boolean"
|
|
696
|
+
},
|
|
690
697
|
"exit-on-error": {
|
|
691
698
|
"aliases": [
|
|
692
699
|
"exitOnError"
|
|
@@ -734,36 +741,36 @@
|
|
|
734
741
|
"release"
|
|
735
742
|
],
|
|
736
743
|
"type": "option"
|
|
744
|
+
},
|
|
745
|
+
"clipboard": {
|
|
746
|
+
"char": "C",
|
|
747
|
+
"description": "Copy the token to the clipboard",
|
|
748
|
+
"name": "clipboard",
|
|
749
|
+
"allowNo": false,
|
|
750
|
+
"type": "boolean"
|
|
737
751
|
}
|
|
738
752
|
},
|
|
739
753
|
"hasDynamicHelp": false,
|
|
740
754
|
"hiddenAliases": [],
|
|
741
|
-
"id": "
|
|
755
|
+
"id": "token",
|
|
742
756
|
"pluginAlias": "ray",
|
|
743
757
|
"pluginName": "ray",
|
|
744
758
|
"pluginType": "core",
|
|
745
759
|
"strict": true,
|
|
746
|
-
"enableJsonFlag":
|
|
760
|
+
"enableJsonFlag": true,
|
|
747
761
|
"isESM": false,
|
|
748
762
|
"relativePath": [
|
|
749
763
|
"dist",
|
|
750
764
|
"commands",
|
|
751
|
-
"
|
|
765
|
+
"token",
|
|
752
766
|
"index.js"
|
|
753
767
|
]
|
|
754
768
|
},
|
|
755
|
-
"
|
|
769
|
+
"pull-contributions": {
|
|
756
770
|
"aliases": [],
|
|
757
771
|
"args": {},
|
|
758
|
-
"description": "
|
|
772
|
+
"description": "Pull contributions of the extension",
|
|
759
773
|
"flags": {
|
|
760
|
-
"json": {
|
|
761
|
-
"description": "Format output as json.",
|
|
762
|
-
"helpGroup": "GLOBAL",
|
|
763
|
-
"name": "json",
|
|
764
|
-
"allowNo": false,
|
|
765
|
-
"type": "boolean"
|
|
766
|
-
},
|
|
767
774
|
"exit-on-error": {
|
|
768
775
|
"aliases": [
|
|
769
776
|
"exitOnError"
|
|
@@ -811,28 +818,21 @@
|
|
|
811
818
|
"release"
|
|
812
819
|
],
|
|
813
820
|
"type": "option"
|
|
814
|
-
},
|
|
815
|
-
"clipboard": {
|
|
816
|
-
"char": "C",
|
|
817
|
-
"description": "Copy the token to the clipboard",
|
|
818
|
-
"name": "clipboard",
|
|
819
|
-
"allowNo": false,
|
|
820
|
-
"type": "boolean"
|
|
821
821
|
}
|
|
822
822
|
},
|
|
823
823
|
"hasDynamicHelp": false,
|
|
824
824
|
"hiddenAliases": [],
|
|
825
|
-
"id": "
|
|
825
|
+
"id": "pull-contributions",
|
|
826
826
|
"pluginAlias": "ray",
|
|
827
827
|
"pluginName": "ray",
|
|
828
828
|
"pluginType": "core",
|
|
829
829
|
"strict": true,
|
|
830
|
-
"enableJsonFlag":
|
|
830
|
+
"enableJsonFlag": false,
|
|
831
831
|
"isESM": false,
|
|
832
832
|
"relativePath": [
|
|
833
833
|
"dist",
|
|
834
834
|
"commands",
|
|
835
|
-
"
|
|
835
|
+
"pull-contributions",
|
|
836
836
|
"index.js"
|
|
837
837
|
]
|
|
838
838
|
},
|
|
@@ -994,5 +994,5 @@
|
|
|
994
994
|
]
|
|
995
995
|
}
|
|
996
996
|
},
|
|
997
|
-
"version": "1.87.
|
|
997
|
+
"version": "1.87.5"
|
|
998
998
|
}
|
package/package.json
CHANGED
package/types/index.d.ts
CHANGED
|
@@ -503,6 +503,7 @@ export declare namespace AI {
|
|
|
503
503
|
"Mistral_Large2" = "mistral-large-2",
|
|
504
504
|
Llama3_70B = "llama3-70b",
|
|
505
505
|
"Llama3.1_70B" = "llama3.1-70b",
|
|
506
|
+
"Llama3.3_70B" = "groq-llama-3.3-70b-versatile",
|
|
506
507
|
"Llama3.1_8B" = "llama3.1-8b",
|
|
507
508
|
"Llama3.1_405B" = "llama3.1-405b",
|
|
508
509
|
"Perplexity_Llama3.1_Sonar_Huge" = "perplexity-llama-3.1-sonar-huge-128k-online",
|