@raycast/api 1.79.0 → 1.80.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.
package/bin/ray CHANGED
@@ -32,8 +32,8 @@ if [ -z "$api_version" ]; then
32
32
  fi
33
33
 
34
34
  # CLI installation subroutine, using custom version and path for the CLI
35
- function install_cli {
36
- if ! curl -f -sL https://raycast.com/get-cli/ | VERSION="$api_version" INSTALL_PATH="$ray_path" bash; then
35
+ function install_cli {
36
+ if ! curl -f -sL https://www.raycast.com/get-cli/ | VERSION="$api_version" INSTALL_PATH="$ray_path" bash; then
37
37
  exit 1
38
38
  fi
39
39
  }
@@ -68,4 +68,4 @@ if [ "$1" == "npm-post-install" ]; then
68
68
  fi
69
69
 
70
70
  # Execute the CLI passing all parameters to it
71
- "$ray_path" "$@"
71
+ "$ray_path" "$@"
package/meta.json CHANGED
@@ -2228,7 +2228,7 @@
2228
2228
  "format": "esm"
2229
2229
  },
2230
2230
  "src/api/app/ai.ts": {
2231
- "bytes": 6926,
2231
+ "bytes": 6974,
2232
2232
  "imports": [
2233
2233
  {
2234
2234
  "path": "node:events",
@@ -3714,7 +3714,7 @@
3714
3714
  "format": "esm"
3715
3715
  },
3716
3716
  "src/api/components/Action/CreateQuicklink.tsx": {
3717
- "bytes": 2536,
3717
+ "bytes": 2748,
3718
3718
  "imports": [
3719
3719
  {
3720
3720
  "path": "react",
@@ -7738,7 +7738,7 @@
7738
7738
  "bytesInOutput": 388
7739
7739
  },
7740
7740
  "src/api/app/ai.ts": {
7741
- "bytesInOutput": 1955
7741
+ "bytesInOutput": 1999
7742
7742
  },
7743
7743
  "src/api/app/app.ts": {
7744
7744
  "bytesInOutput": 2525
@@ -7912,7 +7912,7 @@
7912
7912
  "bytesInOutput": 406
7913
7913
  },
7914
7914
  "src/api/components/Action/CreateQuicklink.tsx": {
7915
- "bytesInOutput": 503
7915
+ "bytesInOutput": 530
7916
7916
  },
7917
7917
  "src/api/components/Action/CreateSnippet.tsx": {
7918
7918
  "bytesInOutput": 415
@@ -8086,7 +8086,7 @@
8086
8086
  "bytesInOutput": 816
8087
8087
  }
8088
8088
  },
8089
- "bytes": 245483
8089
+ "bytes": 245554
8090
8090
  },
8091
8091
  "dist/node_modules/@raycast/server/index.js": {
8092
8092
  "imports": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@raycast/api",
3
- "version": "1.79.0",
3
+ "version": "1.80.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
@@ -495,6 +495,7 @@ export declare namespace AI {
495
495
  OpenAI_GPT4 = "openai-gpt-4",
496
496
  "OpenAI_GPT4-turbo" = "openai-gpt-4-turbo",
497
497
  OpenAI_GPT4o = "openai-gpt-4o",
498
+ "OpenAI_GPT4o-mini" = "openai-gpt-4o-mini",
498
499
  Anthropic_Claude_Haiku = "anthropic-claude-haiku",
499
500
  Anthropic_Claude_Opus = "anthropic-claude-opus",
500
501
  Anthropic_Claude_Sonnet = "anthropic-claude-sonnet",
@@ -7539,6 +7540,10 @@ declare interface LabelProps {
7539
7540
  }
7540
7541
 
7541
7542
  declare interface Quicklink {
7543
+ /**
7544
+ * The icon to display for the quicklink.
7545
+ */
7546
+ icon?: Icon;
7542
7547
  /**
7543
7548
  * The URL or file path, optionally including placeholders such as in "https://google.com/search?q=\{Query\}"
7544
7549
  */