Skip to content

Commit

Permalink
Merge branch 'raycast:main' into bonjour
Browse files Browse the repository at this point in the history
  • Loading branch information
that70schris authored Aug 17, 2024
2 parents 98ece41 + dfc1ec2 commit deea80c
Show file tree
Hide file tree
Showing 170 changed files with 9,163 additions and 7,549 deletions.
20 changes: 11 additions & 9 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/extensions/0x0 @pseudobun @pernielsentikaer @jatindotdev
/extensions/1-click-confetti @peduarte
/extensions/1loc @kud @kgrhartlage @sxn
/extensions/1password @khasbilegt @thomaspaulmann @dteare @pernielsentikaer @cb372 @henrik-dmg @justspacedog @kjeldahl @superwhys @Luk4h @LitoMore
/extensions/1password @khasbilegt @thomaspaulmann @dteare @pernielsentikaer @cb372 @henrik-dmg @justspacedog @kjeldahl @superwhys @Luk4h @LitoMore @bxb100
/extensions/2fa-directory @andreaselia @pernielsentikaer @xmok
/extensions/5devs @gustavo-fior
/extensions/8ball @Gitsack
Expand Down Expand Up @@ -189,7 +189,7 @@
/extensions/chatgo @chuyun
/extensions/chatgpt @abielzulio @erodactyl @pernielsentikaer @shichongrui @timolins @cruelmoney @abielzulio @abielzulio @k8scat @Nauxscript @aeither @leeonfield @husniadil
/extensions/chatgpt-quick-actions @alanzchen @one-data-cookie
/extensions/chatgpt3-prompt @denizyoldas @pernielsentikaer
/extensions/chatgpt3-prompt @denizyoldas @pernielsentikaer @husniadil
/extensions/chatwith @rafalzawadzki
/extensions/cheatsheets @Destiner @jdoconnor
/extensions/check-citi-bike-availability @kcole93
Expand Down Expand Up @@ -741,6 +741,7 @@
/extensions/later @Ross249
/extensions/latest-news @FilipeCerejo
/extensions/latex-math-symbols @JeffersonDing
/extensions/launch-agents @stevensd2m
/extensions/leafcast @syropian
/extensions/leetcode @justin0u0
/extensions/lega-serie-a @anhthang
Expand Down Expand Up @@ -792,7 +793,7 @@
/extensions/m3o @andreaselia
/extensions/mac-app-store-search @say4n @j3lte
/extensions/macupdater @karlsander
/extensions/mail @yug2005 @ikupenov @pernielsentikaer @fengtianze @tleo19 @Luk4h @StevenRCE0
/extensions/mail @yug2005 @ikupenov @pernielsentikaer @fengtianze @tleo19 @Luk4h @jfkisafk @StevenRCE0
/extensions/mailboxlayer @xmok
/extensions/mailerlite-stats @nklmilojevic
/extensions/mailsy @BalliAsghar
Expand Down Expand Up @@ -1128,9 +1129,9 @@
/extensions/rabbit-hole @RobErskine
/extensions/radicle @sebastinez
/extensions/radix @peduarte @emlez
/extensions/railway @coffee-cup @nagauta
/extensions/railway @coffee-cup @nagauta @xmok
/extensions/rain-radars @danieldbird @koinzhang
/extensions/raindrop-io @lardissone @ShubhamVerma1811 @pernielsentikaer @sh-cho @tdkn @j3lte
/extensions/raindrop-io @lardissone @ShubhamVerma1811 @pernielsentikaer @sh-cho @tdkn @j3lte @rien7
/extensions/ramda-documentation @jbroomer
/extensions/random-color @srcrip
/extensions/random-data-generator @loris @Calvein @pernielsentikaer @vimtor @j3lte @stefanmatar
Expand All @@ -1152,7 +1153,7 @@
/extensions/raycast-gemini @EvanZhouDev
/extensions/raycast-google-palm @EvanZhouDev
/extensions/raycast-ia-writer @xvvhang
/extensions/raycast-icons @PitNikola @peduarte
/extensions/raycast-icons @PitNikola @peduarte @xilopaint
/extensions/raycast-lighting-node-search @bufo24 @Djo1e
/extensions/raycast-link-lock @EvanZhouDev @pernielsentikaer
/extensions/raycast-monkeytype-theme @ridemountainpig
Expand Down Expand Up @@ -1211,6 +1212,7 @@
/extensions/rescuetime-focus-session-trigger @tuortheblessed @RobErskine
/extensions/resend @xmok @AlexIsMaking
/extensions/resmo @ozgunarslantas
/extensions/restart-system-processes @XInTheDark
/extensions/restore-photo @peduarte
/extensions/retool @andre347
/extensions/retrac @Skarf4U
Expand Down Expand Up @@ -1396,9 +1398,9 @@
/extensions/switchhosts @tiancheng92
/extensions/syntax-fm @msmps
/extensions/system-information @Visual-Studio-Coder @nagauta @Visual-Studio-Coder
/extensions/system-monitor @hossammourad @Crayon144 @pernielsentikaer @lucasmezencio
/extensions/system-monitor @hossammourad @lucasmezencio @pernielsentikaer @lucasmezencio
/extensions/tableplus @pernielsentikaer @nagauta
/extensions/tabler @zavbala
/extensions/tabler @zavbala @bensomething
/extensions/tabnews @juniorodilton
/extensions/tailscale @samlinville @rosszurowski @samlinville @itsmingjie @erics118 @brandenwagner @j3lte
/extensions/tailwindcss @vimtor @cy-98 @emilshr @pernielsentikaer @ridemountainpig @ridemountainpig
Expand Down Expand Up @@ -1567,7 +1569,7 @@
/extensions/vueuse-functions @noopurphalak
/extensions/wakatime @iammola
/extensions/waktu-solat @sayuthisobri @ezzylan
/extensions/warp @joetannenbaum @theRubberDuckiee @hakob8956
/extensions/warp @joetannenbaum @theRubberDuckiee @hakob8956 @drzastwakamil
/extensions/wayback-machine @pernielsentikaer @andreaselia @j3lte
/extensions/wcag @fgeierst
/extensions/weather @tonka3000 @xilopaint
Expand Down
2 changes: 2 additions & 0 deletions .github/extensionName2Folder.json
Original file line number Diff line number Diff line change
Expand Up @@ -740,6 +740,7 @@
"jimluo/later": "later",
"FilipeCerejo/latest-news": "latest-news",
"JeffersonDing/latex-math-symbols": "latex-math-symbols",
"stevensd2m/launch-agents": "launch-agents",
"syropian/leafcast": "leafcast",
"justin0u0/leetcode": "leetcode",
"anhthang/serie-a": "lega-serie-a",
Expand Down Expand Up @@ -1210,6 +1211,7 @@
"TuorTheBlessed/rescuetime-focus-session-trigger": "rescuetime-focus-session-trigger",
"xmok/resend": "resend",
"resmo/resmo": "resmo",
"muzhen_gaming/restart-system-processes": "restart-system-processes",
"peduarte/restore-photos": "restore-photo",
"andre347/retool-documentation": "retool",
"adi_amar/retrac": "retrac",
Expand Down
7 changes: 6 additions & 1 deletion .github/raycast2github.json
Original file line number Diff line number Diff line change
Expand Up @@ -1543,5 +1543,10 @@
"maxnyby": "maxnyby",
"elonwoo": "elonwoo",
"bfayers": "bfayers",
"husniadil": "husniadil"
"husniadil": "husniadil",
"kamil_drzastwa": "drzastwakamil",
"crehan144": "lucasmezencio",
"rien7": "rien7",
"muzhen_gaming": "XInTheDark",
"bensomething": "bensomething"
}
2 changes: 1 addition & 1 deletion docs/.config.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"version": "1.80.0"
"version": "1.81.0"
}
33 changes: 20 additions & 13 deletions docs/api-reference/ai.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,25 +152,32 @@ The AI model to use to answer to the prompt. Defaults to `AI.Model["OpenAI_GPT3.

#### Enumeration members

| Name | Description |
| :---------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| OpenAI_GPT3.5-turbo | GPT-3.5 Turbo is OpenAI’s fastest model, making it ideal for tasks that require quick response times with basic language processing capabilities. |
| OpenAI_GPT4 | GPT-4 is OpenAI’s most capable model with broad general knowledge, allowing it to follow complex instructions and solve difficult problems. |
| OpenAI_GPT4-turbo | GPT-4 Turbo from OpenAI has a big context window that fits hundreds of pages of text, making it a great choice for workloads that involve longer prompts. |
| OpenAI_GPT4o | GPT-4o is the most advanced and fastest model from OpenAI, making it a great choice for complex everyday problems and deeper conversations. |
| Anthropic_Claude_Haiku | Claude 3 Haiku is Anthropic's fastest model, with a large context window that makes it ideal for analyzing code, documents, or large amounts of text. |
| Anthropic_Claude_Sonnet | Claude 3.5 Sonnet from Anthropic has enhanced intelligence with increased speed. It excels at complex tasks like visual reasoning or workflow orchestrations. |
| Anthropic_Claude_Opus | Claude 3 Opus is Anthropic's most intelligent model, with best-in-market performance on highly complex tasks. It stands out for remarkable fluency. |
| Perplexity_Llama3_Sonar_Small | Perplexity's Llama 3 Sonar Small is built for speed. It quickly gives you helpful answers using the latest internet knowledge while minimizing hallucinations. |
| Perplexity_Llama3_Sonar_Large | Perplexity's most advanced model, Llama 3 Sonar Large, can handle complex questions. It considers current web knowledge to provide well-reasoned, in-depth answers. |
| Llama3_70B | Llama 3 70B from Meta is the most capable openly available LLM which can serve as a tool for various text-related tasks. Powered by Groq. |
| MixtraL_8x7B | Mixtral 8x7B from Mistral is an open-source model that demonstrates high performance in generating code and text at an impressive speed. Powered by Groq. |
| Name | Description |
| :---------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| OpenAI_GPT3.5-turbo | GPT-3.5 Turbo is OpenAI’s fastest model, making it ideal for tasks that require quick response times with basic language processing capabilities. |
| OpenAI_GPT4 | GPT-4 is OpenAI’s most capable model with broad general knowledge, allowing it to follow complex instructions and solve difficult problems. |
| OpenAI_GPT4-turbo | GPT-4 Turbo from OpenAI has a big context window that fits hundreds of pages of text, making it a great choice for workloads that involve longer prompts. |
| OpenAI_GPT4o | GPT-4o is the most advanced and fastest model from OpenAI, making it a great choice for complex everyday problems and deeper conversations. |
| OpenAI_GPT4o-mini | GPT-4o mini is a highly intelligent and fast model that is ideal for a variety of everyday tasks. |
| Anthropic_Claude_Haiku | Claude 3 Haiku is Anthropic's fastest model, with a large context window that makes it ideal for analyzing code, documents, or large amounts of text. |
| Anthropic_Claude_Sonnet | Claude 3.5 Sonnet from Anthropic has enhanced intelligence with increased speed. It excels at complex tasks like visual reasoning or workflow orchestrations. |
| Anthropic_Claude_Opus | Claude 3 Opus is Anthropic's most intelligent model, with best-in-market performance on highly complex tasks. It stands out for remarkable fluency. |
| Perplexity_Llama3_Sonar_Small | Perplexity's Llama 3 Sonar Small is built for speed. It quickly gives you helpful answers using the latest internet knowledge while minimizing hallucinations. |
| Perplexity_Llama3_Sonar_Large | Perplexity's most advanced model, Llama 3 Sonar Large, can handle complex questions. It considers current web knowledge to provide well-reasoned, in-depth answers. |
| Llama3.1_70B | Llama 3.1 70B is a versatile open-source model from Meta suitable for complex reasoning tasks, multilingual interactions, and extensive text analysis. Powered by Groq. |
| Llama3.1_8B | Llama 3.1 8B is an open-source model from Meta, optimized for instruction following and high-speed performance. Powered by Groq. |
| Llama3_70B | Llama 3 70B from Meta is a highly capable open-source LLM that can serve as a tool for various text-related tasks. Powered by Groq. |
| Llama3.1_405B | Llama 3.1 405B is Meta's flagship open-source model, offering unparalleled capabilities in general knowledge, steerability, math, tool use, and multilingual translation. |
| MixtraL_8x7B | Mixtral 8x7B from Mistral is an open-source model that demonstrates high performance in generating code and text at an impressive speed. Powered by Groq. |
| Mistral_Nemo | Mistral Nemo is a small model built in collaboration with NVIDIA, and released under the Apache 2.0 license. |
| Mistral_Large2 | Mistral Large is Mistral's flagship model, capable of code generation, mathematics, and reasoning, with stronger multilingual support. |

If a model isn't available to the user, Raycast will fallback to a similar one:

- `AI.Model.Anthropic_Claude_Opus` and `AI.Model.Anthropic_Claude_Sonnet` -> `AI.Model.Anthropic_Claude_Haiku`
- `AI.Model.OpenAI_GPT4` and `AI.Model["OpenAI_GPT4-turbo"]` -> `AI.Model["OpenAI_GPT3.5-turbo"]`
- `AI.Model.Perplexity_Llama3_Sonar_Large` -> `AI.Model.Perplexity_Llama3_Sonar_Small`
- `AI.Model.Mistral_Large2` -> `AI.Model.Mistral_Nemo`

### AI.AskOptions

Expand Down
8 changes: 8 additions & 0 deletions docs/api-reference/user-interface/detail.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,14 @@ You can specify custom image dimensions by adding a `raycast-width` and `raycast
You can also specify a tint color to apply to an markdown image by adding a `raycast-tint-color` query string. For example: `![Image Title](example.png?raycast-tintColor=blue)`
{% endhint %}

{% hint style="info" %}
You can now render [LaTeX](https://www.latex-project.org) in the markdown. We support the following delimiters:

- Inline math: `\(...\)` and `\begin{math}...\end{math}`
- Display math: `\[...\]`, `$$...$$` and `\begin{equation}...\end{equation}`

{% endhint %}

### Detail.Metadata

A Metadata view that will be shown in the right-hand-side of the `Detail`.
Expand Down
13 changes: 13 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Changelog

## 1.81.0 - 2024-08-13

### ✨ New

- **Detail:** You can now render LaTeX in the Detail views. We support the following delimiters:
- Inline math: `\(...\)` and `\begin{math}...\end{math}`
- Display math: `\[...\]`, `$$...$$` and `\begin{equation}...\end{equation}`

### 💎 Improvements

- You can now pick a different command template for each command that you add in the `Create Extension` command’s form.
- Added a new `Add Command` action for local extensions in the `Manage Extensions` command.

## 1.80.0 - 2024-07-31

### ✨ New
Expand Down
4 changes: 4 additions & 0 deletions docs/utils-reference/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ npm install --save @raycast/utils

## Changelog

### v1.16.4

- Avoid throwing an error when `useFetch` can't parse the `Content-Type` header of the response

### v1.16.3

- Fix an issue where `URLSearchParams` couldn't be passed as an option to `useFetch` or `useCachedPromise`, causing extensions to crash.
Expand Down
5 changes: 5 additions & 0 deletions extensions/1password/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# 1Password Changelog

## [Enhancements] - 2024-08-13

- Fix: multilingual OTP name can't be read
- Feat: support generate random password

## [Fix] - 2024-08-05

- Add support for showing missing 1Password CLI error
Expand Down
10 changes: 9 additions & 1 deletion extensions/1password/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"JakeMoosey",
"superwhys",
"lukah",
"litomore"
"litomore",
"Lemon"
],
"past_contributors": [
"Davidwalser"
Expand Down Expand Up @@ -65,6 +66,13 @@
"login"
],
"mode": "view"
},
{
"name": "generate-password",
"title": "Generate Password",
"subtitle": "1Password",
"description": "Generate a random password with 1Password.",
"mode": "view"
}
],
"preferences": [
Expand Down
11 changes: 11 additions & 0 deletions extensions/1password/src/generate-password.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { getPreferenceValues, PreferenceValues } from "@raycast/api";
import { AuthProvider } from "./v8/components/AuthContext";
import { RandomPassword } from "./v8/components/RandomPassword";

export default function Command() {
return getPreferenceValues<PreferenceValues>().version == "v8" ? (
<AuthProvider>
<RandomPassword />
</AuthProvider>
) : null;
}
12 changes: 9 additions & 3 deletions extensions/1password/src/v8/components/ActionCopyToClipboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,15 @@ export function CopyToClipboard({
title: `Copying ${field}...`,
});
try {
const attributeQueryParam = attribute ? `?attribute=${attribute}` : "";
const uri = `op://${vault_id}/${id}/${field}${attributeQueryParam}`;
const stdout = execFileSync(CLI_PATH, ["read", uri]);
let stdout;
if (attribute === "otp") {
// based on OTP-type not field name
stdout = execFileSync(CLI_PATH, ["item", "get", id, "--otp"]);
} else {
const attributeQueryParam = attribute ? `?attribute=${attribute}` : "";
const uri = `op://${vault_id}/${id}/${field}${attributeQueryParam}`;
stdout = execFileSync(CLI_PATH, ["read", uri]);
}
await Clipboard.copy(stdout.toString().trim(), { concealed: true });

toast.style = Toast.Style.Success;
Expand Down
Loading

0 comments on commit deea80c

Please sign in to comment.