@raycast/api 1.79.1 → 1.81.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": 7263,
2232
2232
  "imports": [
2233
2233
  {
2234
2234
  "path": "node:events",
@@ -3351,7 +3351,7 @@
3351
3351
  "format": "esm"
3352
3352
  },
3353
3353
  "src/api/environment/environment.ts": {
3354
- "bytes": 4733,
3354
+ "bytes": 4781,
3355
3355
  "imports": [
3356
3356
  {
3357
3357
  "path": "worker_threads",
@@ -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",
@@ -7381,13 +7381,13 @@
7381
7381
  "bytesInOutput": 462
7382
7382
  },
7383
7383
  "node_modules/roarr/node_modules/sprintf-js/src/sprintf.js": {
7384
- "bytesInOutput": 3552
7384
+ "bytesInOutput": 3556
7385
7385
  },
7386
7386
  "node_modules/roarr/dist/constants.js": {
7387
7387
  "bytesInOutput": 176
7388
7388
  },
7389
7389
  "node_modules/roarr/dist/factories/createLogger.js": {
7390
- "bytesInOutput": 2650
7390
+ "bytesInOutput": 2654
7391
7391
  },
7392
7392
  "node_modules/roarr/dist/factories/createMockLogger.js": {
7393
7393
  "bytesInOutput": 368
@@ -7615,7 +7615,7 @@
7615
7615
  "bytesInOutput": 1936
7616
7616
  },
7617
7617
  "node_modules/react-is/cjs/react-is.development.js": {
7618
- "bytesInOutput": 2381
7618
+ "bytesInOutput": 2383
7619
7619
  },
7620
7620
  "node_modules/react-is/index.js": {
7621
7621
  "bytesInOutput": 102
@@ -7651,7 +7651,7 @@
7651
7651
  "bytesInOutput": 2252
7652
7652
  },
7653
7653
  "node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js": {
7654
- "bytesInOutput": 2604
7654
+ "bytesInOutput": 2577
7655
7655
  },
7656
7656
  "node_modules/prop-types/node_modules/react-is/index.js": {
7657
7657
  "bytesInOutput": 102
@@ -7669,7 +7669,7 @@
7669
7669
  "bytesInOutput": 1248
7670
7670
  },
7671
7671
  "node_modules/prop-types/factoryWithTypeCheckers.js": {
7672
- "bytesInOutput": 7289
7672
+ "bytesInOutput": 7291
7673
7673
  },
7674
7674
  "node_modules/prop-types/factoryWithThrowingShims.js": {
7675
7675
  "bytesInOutput": 672
@@ -7684,7 +7684,7 @@
7684
7684
  "bytesInOutput": 656
7685
7685
  },
7686
7686
  "src/api/internal/components/SelectionContext.tsx": {
7687
- "bytesInOutput": 1458
7687
+ "bytesInOutput": 1460
7688
7688
  },
7689
7689
  "src/api/internal/components/QuickLookContext.ts": {
7690
7690
  "bytesInOutput": 127
@@ -7738,7 +7738,7 @@
7738
7738
  "bytesInOutput": 388
7739
7739
  },
7740
7740
  "src/api/app/ai.ts": {
7741
- "bytesInOutput": 1955
7741
+ "bytesInOutput": 2163
7742
7742
  },
7743
7743
  "src/api/app/app.ts": {
7744
7744
  "bytesInOutput": 2525
@@ -7867,7 +7867,7 @@
7867
7867
  "bytesInOutput": 1523
7868
7868
  },
7869
7869
  "src/api/environment/environment.ts": {
7870
- "bytesInOutput": 1128
7870
+ "bytesInOutput": 1178
7871
7871
  },
7872
7872
  "src/api/environment/preferences.ts": {
7873
7873
  "bytesInOutput": 259
@@ -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": 245755
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.1",
3
+ "version": "1.81.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,11 +495,17 @@ 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",
501
502
  MixtraL_8x7B = "mixtral-8x7b",
503
+ "Mistral_Nemo" = "mistral-nemo",
504
+ "Mistral_Large2" = "mistral-large-2",
502
505
  Llama3_70B = "llama3-70b",
506
+ "Llama3.1_70B" = "llama3.1-70b",
507
+ "Llama3.1_8B" = "llama3.1-8b",
508
+ "Llama3.1_405B" = "llama3.1-405b",
503
509
  Perplexity_Llama3_Sonar_Large = "perplexity-llama-3-sonar-large-online",
504
510
  Perplexity_Llama3_Sonar_Small = "perplexity-llama-3-sonar-small-online",
505
511
  /** @deprecated Use `AI.Model["OpenAI_GPT3.5-turbo"]` instead */
@@ -7539,6 +7545,10 @@ declare interface LabelProps {
7539
7545
  }
7540
7546
 
7541
7547
  declare interface Quicklink {
7548
+ /**
7549
+ * The icon to display for the quicklink.
7550
+ */
7551
+ icon?: Icon;
7542
7552
  /**
7543
7553
  * The URL or file path, optionally including placeholders such as in "https://google.com/search?q=\{Query\}"
7544
7554
  */