Skip to content

Releases: google/sec-gemini

0.0.4

27 Jun 12:53
d2a59c4

Choose a tag to compare

Release Notes

Minor

  • Add /shell command to simulate a Sec-Gemini request
  • Add visible confirmation after multi-line query
  • Don't print the user and org id anymore
  • Add /session list --debug argument
  • Support complex markdown heading

Patch

  • Fix wrapping behavior for input query
  • Fix shell command output being partially discarded on command exit
  • Fix deadlock with single queries creating the query session

Install sec-gemini 0.0.4

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/google/sec-gemini/releases/download/cli/sec-gemini-v0.0.4/sec-gemini-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -ExecutionPolicy Bypass -c "irm https://github.com/google/sec-gemini/releases/download/cli/sec-gemini-v0.0.4/sec-gemini-installer.ps1 | iex"

Download sec-gemini 0.0.4

File Platform Checksum
sec-gemini-aarch64-apple-darwin.tar.xz Apple Silicon macOS checksum
sec-gemini-x86_64-apple-darwin.tar.xz Intel macOS checksum
sec-gemini-x86_64-pc-windows-msvc.zip x64 Windows checksum
sec-gemini-aarch64-unknown-linux-gnu.tar.xz ARM64 Linux checksum
sec-gemini-x86_64-unknown-linux-gnu.tar.xz x64 Linux checksum

Verifying GitHub Artifact Attestations

The artifacts in this release have attestations generated with GitHub Artifact Attestations. These can be verified by using the GitHub CLI:

gh attestation verify <file-path of downloaded artifact> --repo google/sec-gemini

You can also download the attestation from GitHub and verify against that directly:

gh attestation verify <file-path of downloaded artifact> --bundle <file-path of downloaded attestation>

0.0.3

24 Jun 15:11
134134a

Choose a tag to compare

Release Notes

Major

  • Rename --check-update to --self-update and perform the update

Minor

  • Add shell-idle-time to avoid waiting the full shell-timeout
  • Match recent changes to Sec-Gemini API

Patch

  • Fix the environment variable of shell-timeout
  • Disable shell-timeout and shell-idle-time for sudo commands
  • Consider error messages as recoverable
  • Reconnect to the session if closed while sending
  • Handle closed web-socket without failing

Install sec-gemini 0.0.3

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/google/sec-gemini/releases/download/cli/sec-gemini-v0.0.3/sec-gemini-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -ExecutionPolicy Bypass -c "irm https://github.com/google/sec-gemini/releases/download/cli/sec-gemini-v0.0.3/sec-gemini-installer.ps1 | iex"

Download sec-gemini 0.0.3

File Platform Checksum
sec-gemini-aarch64-apple-darwin.tar.xz Apple Silicon macOS checksum
sec-gemini-x86_64-apple-darwin.tar.xz Intel macOS checksum
sec-gemini-x86_64-pc-windows-msvc.zip x64 Windows checksum
sec-gemini-aarch64-unknown-linux-gnu.tar.xz ARM64 Linux checksum
sec-gemini-x86_64-unknown-linux-gnu.tar.xz x64 Linux checksum

Verifying GitHub Artifact Attestations

The artifacts in this release have attestations generated with GitHub Artifact Attestations. These can be verified by using the GitHub CLI:

gh attestation verify <file-path of downloaded artifact> --repo google/sec-gemini

You can also download the attestation from GitHub and verify against that directly:

gh attestation verify <file-path of downloaded artifact> --bundle <file-path of downloaded attestation>

CLI v0.0.2

20 Jun 13:56
9691a5f

Choose a tag to compare

v0.0.2

Minor

  • Add sec-gemini --config to read, write, and delete configuration files
  • Add --shell-{enable,timeout,auto-{exec,read,write}} for shell command execution (requires sh)
  • Add interactive commands with /help and completion
  • Generate interactive session name like the Python SDK
  • Use more colors and render markdown
  • Add sec-gemini --completion to generate shell completion files
  • Add icons when bundling packages
  • Match recent changes to Sec-Gemini API

Patch

  • Close the web-socket connection when waiting for user input
  • Fix panic on malformed server message
  • Add sysname and machine to the user agent for HTTP connections
  • Add 3 seconds timeout to all HTTP connections to avoid hanging effects
  • Improve configuration file handling in case of errors
  • Print chain of error causes for failures

CLI v0.0.1

14 May 15:02
9b481c9

Choose a tag to compare

v0.0.1

Minor

  • Add sec-gemini --check-update and --update to check whether the CLI is up-to-date
  • Add sec-gemini --open-ui and --ui to open the web UI
  • Add --show-thinking and SEC_GEMINI_SHOW_THINKING to print the thinking steps
  • Add --api-key and SEC_GEMINI_API_KEY to bypass configuration file
  • Read API key from configuration file and ask interactively the first time
  • Add sec-gemini QUERY... for single query
  • Add sec-gemini for interactive session