Skip to content

Releases: Ryan-the-hito/Broccoli

v1.2.0

24 Aug 07:59
Compare
Choose a tag to compare
  • 修复了退出主体 app 时快捷键监听程序无法退出的问题。

  • 在保存快捷键前,可以输入快捷键的键名来修改,但前提是准确地知道每一个按键对应的名称。

  • 使 app 在设定快捷键后可以自动重启,不必再手动重启。请务必记得点击“保存”。

  • 关于更新:请注意,如果需要更新,从 v1.1.9 开始,每次更新并覆盖原来旧的 app 的时候,按照 macOS 的安全规则,需要再系统设置里面重新给该软件设置权限,具体操作方式是将原来的软件用减号“-”去掉,再使用加号“+”重新添加。特别需要注意的是,现在不仅需要重新添加 Broccoli 主程序,还需要重新添加 Broccoli 的附属程序——BroccoliShort。具体操作方法是,在权限设置的界面中点击“+”号,界面会弹出一个文件选择窗口。此时进入 Finder,在程序(Application)文件夹下选择 Broccoli,右键选择显示包内容,进入 Contents 文件夹,再进入 Auto 文件夹,将其中的 BroccoliShort.app 拖入刚才再设置界面打开的文件选择窗内,确定即可。

  • 关于权限:从 v1.2.0 开始,需要在快捷方式中安装以下的捷径来辅助软件完成功能。获取捷径点我。需要注意的是,需要在捷径的设置界面中允许运行脚本(设置-高级-允许运行脚本),并打开此捷径,勾选“以管理员身份运行此捷径”(这一操作需要系统级的指纹验证或输入开机密码)。由于需要重重权限,我此处做一个简短的说明:这个捷径的作用是为了去强制退出 Broccoli 的快捷键监听程序并重启,这样就不需要用户手动退出再重启(对应此次更新的第一项特性)。由于 macOS 对软件运行系统命令有限制,因此哪怕是在捷径中,运行此类命令也需要输入密码才能运行。

  • 关于设置快捷键:当快捷键由一个功能键和一个字母键组合而成的时候,可能需要先按下字母键再同时按下功能键才能唤醒快捷键。另外,仅使用单一一个功能键可能导致在输入框中错误键入。因此,此处建议使用两个功能键组合。如果用户不单独设置快捷键,默认提供了一组快捷键,由 control+option 组合而成。请用户知悉。


  • Fixed the issue where the shortcut listener could not exit when quitting the main app.

  • Before saving the shortcut key, you can input the key name to modify it, provided you know the exact name of each key.

  • The app can automatically restart after setting the shortcut key, eliminating the need for manual restart. Please remember to click "Save".

  • Regarding updates: Please note that if an update is needed, starting from v1.1.9, each time you update and replace the old app in the folder with the newer one, according to macOS security rules, you need to reset the permissions for the software in the system settings. The specific method is to remove the original software with a minus sign “-”, and then re-add it with a plus sign “+”. It is particularly important to note that you now need to re-add not only the Broccoli main program but also the accessory program - BroccoliShort. The method is to click the “+” sign in the permission settings interface, which will pop up a file selection window. At this point, go to Finder, select Broccoli in the Applications folder, right-click to show package contents, enter the Contents folder, then enter the Auto folder, and drag BroccoliShort.app from there into the file selection window that just opened in the settings interface. Confirm to proceed.

  • Regarding permissions: Starting from v1.2.0, you need to install the following shortcut in Shortcuts to assist the software in completing its functions. Get Shortcut. It is important to note that you need to allow script execution in the shortcut settings interface (Settings...-Advanced-Allow Running Scripts) and open this shortcut, checking "Run this shortcut as administrator" (this operation requires system-level fingerprint verification or inputting the boot password). Due to the need for multiple permissions, I will briefly explain the reason here: the purpose of this shortcut is to force quit Broccoli's shortcut listener and restart it, so users do not need to manually exit and then restart (corresponding to the first feature of this update). Since macOS limits running system commands for software, even in shortcuts, running such commands requires entering a password to execute.

  • Regarding setting shortcut keys: When the shortcut key is composed of a function key and a letter key, you may need to press the letter key first and then press the function key simultaneously to activate the shortcut. Additionally, using a single function key could lead to incorrect typing in the input box. Therefore, it is highly recommended to use a combination of two function keys. If users do not customize the shortcut keys, a default set of shortcut keys is provided, which consists of a combination of control + option. Please take note.


  • アプリのメインプログラムを終了する際に、ショートカットキー監視プログラムが終了できない問題が修正されました。

  • ショートカットキーを保存する前に、ショートカットキーの名を入力して修正することができますが、その前提として各キーに対応する名称を正確に知っている必要があります。

  • アプリがショートカットキーを設定した後に自動的に再起動するようにし、手動で再起動する必要がなくなります。必ず「保存」をクリックすることを忘れないでください。

  • アップデートについて:更新が必要な場合は、v1.1.9から、毎回更新して元のアプリを上書きする際に、macOSのセキュリティルールに従って、システム設定で再度このアプリに権限を設定する必要があります。具体的な操作方法は、元のアプリをマイナス「-」で削除し、プラス「+」で再度追加します。特に注意が必要なのは、現在はBroccoliメインプログラムを再追加するだけでなく、Broccoliの付属プログラムであるBroccoliShortも再追加する必要があることです。具体的な操作方法は、権限設定画面で「+」をクリックすると、ファイル選択窓が現れます。この時にFinderに入り、アプリケーション(Application)フォルダでBroccoliを選択し、右クリックしてパッケージの内容を表示し、Contentsフォルダに入り、Autoフォルダに入りし、その中のBroccoliShort.appを先ほどの設定画面で開いたファイル選択窓にドラッグし、確定します。

  • 権限について:v1.2.0から、ショートカットを介して以下のショートカットをインストールする必要があります。ショートカットを取得する。注目すべき点は、ショートカットの設定画面でスクリプトの実行を許可する必要があることです(設定-高度な設定-スクリプトの実行を許可)。さらにこのショートカットを開き、「管理者としてこのショートカットを実行する」にチェックを入れます(この操作にはシステムレベルの指紋確認または起動パスワードの入力が必要です)。権限を何重にする必要があるため、ここで簡単な説明をします:このショートカットの目的は、Broccoliのショートカットキー監視プログラムを強制終了し再起動することで、ユーザーが手動で終了して再起動する必要がなくなります(今回の更新の最初の機能に対応)。macOSはソフトウェアの実行中にシステムコマンドの制限があるため、ショートカット内であっても、この種のコマンドを実行するにはパスワードの入力が必要です。

  • ショートカットキーの設定について:ショートカットキーがファンクションキーとアルファベットキーの組み合わせから成る場合は、まずアルファベットキーを押した後に同時にファンクションキーを押す必要があるかもしれません。また、単一のファンクションキーのみを使用すると、入力ボックス内で誤ってタイピングされる可能性があります。したがって、ここでは二つのファンクションキーの組み合わせを使用することをお勧めします。ユーザーがショートカットキーを個別に設定しない場合、デフォルトでcontrol+optionによって構成された一組のショートカットキーが提供されます。ユーザーにお知らせください。

v1.1.9

22 Aug 08:57
Compare
Choose a tag to compare
  • 为最新版增加了内置的快捷键功能,可以在设置界面录入快捷键,并且在启动后可使用全局快捷键打开软件 UI 主界面以及 Mini 界面。注意:设置快捷键的时候,不要把光标聚焦在显示快捷键键名的文本框上;由于使用的库的缘故,显示的键位名称和 macOS 的键位名称有轻微出入,请以你按下的键为主,程序已经修改过对应。例如,option 键的名称为“alt”,即便显示的是 alt,用户还是只需要按下 option 即可。这里的 alt 是 Windows 系统上对应按键的名称。最后,设定或者修改快捷键后,需要重新启动软件才能生效。

  • 优化了提示词,使多轮对话不再重复回答之前的问题。


  • Added built-in hotkey functionality to the latest version, allowing users to input hotkeys in the settings interface and use global hotkeys to open the software UI main interface and mini interface after startup. Note: When setting hotkeys, do not focus the cursor on the text box displaying the hotkey names; due to the library used, the displayed key names have slight discrepancies from macOS key names, so rely on the key you pressed. The program has been adjusted accordingly. For example, the name for the option key is "alt," even though it displays as alt, users only need to press the option key. Here, alt is the name of the corresponding key in the Windows system. Finally, after setting or modifying the hotkeys, you will need to restart the software for the changes to take effect.

  • Optimized the prompts so that multi-turn conversations no longer repeat previously answered questions.

v1.1.8

30 Mar 04:01
Compare
Choose a tag to compare

This version includes some bug fixes:

  1. Fixed the bug when getting the copy of translation will contain newline characters;
  2. Fixed the bug when error warnings will produce two "-A:";
  3. Fixed the bug when getting new answers in edit mode cannot switch back to viewing mode.

v1.1.7

29 Mar 11:15
Compare
Choose a tag to compare

This version fixed a few small bugs in translation panel and in the small floating window.

v1.1.6

29 Mar 10:28
Compare
Choose a tag to compare
  1. From this version on, assigning Broccoli to all space would be a seperate button in the menu bar. (Removing this from the default function during startup is because this might cause the dock to stop responding in macOS 14)
  2. This version has added function to stream each answers with third-party endpoints and APIs. This function is only feasible for the "openai" option in the menu list, while the "httpx" option remains the same as the old versions.

v1.1.5

03 Nov 07:40
Compare
Choose a tag to compare

In this update, I have fixed:

  • The UI error in update panel
  • Renamed each model in Settings panel. Now if you want to add GPT-4, just enter the following models in the Edit box to store them, then you will be able to see these models in the dropdown menu.
gpt-4
gpt-4-32k

v1.1.5 build 2 update (March 6 2024):

  • Fixed a bug in packing the app, which is necessary to the long text reading function.

v1.1.4

19 Oct 08:24
Compare
Choose a tag to compare

New features:

  1. The API text bar now has a placeholder saying that you should type something if you don't have an official API...Just don't let it empty;
  2. Now Broccoli 🥦 can check for the latest update automatically;
  3. Now Broccoli🥦 will check if the current version is the latest on app startup and show you a gentle reminder;
  4. Added a button to transfer view from html to plain text in the main window, so now you can edit the chat history manually and delete chat that you don't like to continue in the plain text mode. This will greatly reduce the amount of tokens you use when you have "Remember history" button checked.

Don't forget to give permissions again in the System Settings panel after update!🥰

v1.1.3

18 Oct 15:52
Compare
Choose a tag to compare

Fixed two bugs:

  1. Model names chosen cannot be saved after pressing "Save" in Settings panel;
  2. Translation and some other functions cannot be done and reply with error code:
Error, please try again!API call failed with status code 500: {"object":"error","message":"The server had an error processing your request. Sorry about that! You can retry your request, or contact us through our help center at help.openai.com if you keep seeing this error. (Please include the request ID in your email.)","code":50098}

v1.1.2

07 Oct 10:54
Compare
Choose a tag to compare

Add a new feature to pop up a small floating window near your cursor and paste the generated answer inline (You just need to fill in the prompt, send it, and FOCUS YOUR CURSOR AGAIN to the position where you want to put the answer).

v1.1.1

29 Aug 16:58
Compare
Choose a tag to compare

修复了说明页面的布局问题。