Skip to content

registry: add longbridge-terminal (github:longbridge/longbridge-terminal)#10073

Merged
jdx merged 2 commits into
jdx:mainfrom
hogan-yuan:add-longbridge-terminal
May 28, 2026
Merged

registry: add longbridge-terminal (github:longbridge/longbridge-terminal)#10073
jdx merged 2 commits into
jdx:mainfrom
hogan-yuan:add-longbridge-terminal

Conversation

@hogan-yuan

@hogan-yuan hogan-yuan commented May 26, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds longbridge-terminal to the mise registry.

  • Tool name: longbridge-terminal
  • Binary: longbridge
  • Primary backend: github:longbridge/longbridge-terminal (pre-built binaries for macOS/Linux/Windows)
  • Fallback backend: cargo:longbridge-terminal
  • Language: Rust
  • Latest release: v0.22.1
  • Description: AI-native CLI for Longbridge Securities — real-time market data, portfolio, and trading for HK/US/A-share/SG markets

Install

mise use -g longbridge-terminal

Registry entry

backends = [
  "github:longbridge/longbridge-terminal",
  "cargo:longbridge-terminal",
]
bin = "longbridge"
description = "AI-native CLI for Longbridge Securities — real-time market data, portfolio, and trading"
test = { cmd = "longbridge --version", expected = "longbridge {{version}}" }

Popularity

  • GitHub: 837 stars, 68 forks
  • 30 releases, actively maintained (latest v0.22.1)
  • Pre-built binaries available for darwin-amd64, darwin-arm64, linux-amd64, linux-arm64, linux-musl-amd64, linux-musl-arm64, windows-amd64

Adds the Longbridge Securities AI-native CLI via cargo backend.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request registers the longbridge-terminal backend. The reviewer pointed out that since the binary name (longbridge) differs from the crate name (longbridge-terminal), the bin option must be explicitly specified in the configuration to prevent execution failures.

Comment thread registry/longbridge-terminal.toml Outdated
@@ -0,0 +1,2 @@
backends = ["cargo:longbridge-terminal"]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

Since the binary name (longbridge) is different from the tool/crate name (longbridge-terminal), you need to specify the bin option in the registry. Otherwise, mise will look for a binary named longbridge-terminal and fail to shim or execute it correctly.

Suggested change
backends = ["cargo:longbridge-terminal"]
[backends]
"cargo:longbridge-terminal" = { bin = "longbridge" }

@greptile-apps

greptile-apps Bot commented May 26, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR adds a registry entry for longbridge-terminal, an AI-native CLI for Longbridge Securities. The TOML file is well-formed, uses github:longbridge/longbridge-terminal as the primary (Tier-1) backend with cargo:longbridge-terminal as a fallback, and includes the required bin, description, and test fields.

  • The entry follows the established registry file format, with the preferred github: backend listed first.
  • The test command (longbridge --version expected to match longbridge {{version}}) is consistent with patterns used by similar entries in the registry.

Confidence Score: 5/5

This is a single, additive registry TOML file with no logic changes — safe to merge from a technical standpoint.

The file is a straightforward registry addition that follows the established format. The github: backend is correctly listed first, the bin alias is set, and the test command matches the pattern used by other entries. No correctness or integration issues were found in the changed file.

No files require special attention.

Important Files Changed

Filename Overview
registry/longbridge-terminal.toml New registry entry for longbridge-terminal using github: as the primary backend and cargo: as fallback, with correct bin alias, description, and test command.

Reviews (2): Last reviewed commit: "registry: add longbridge-terminal (githu..." | Re-trigger Greptile

Comment thread registry/longbridge-terminal.toml Outdated
Comment thread registry/longbridge-terminal.toml Outdated
Comment thread registry/longbridge-terminal.toml Outdated
@hogan-yuan hogan-yuan changed the title feat: add longbridge-terminal to registry registry: add longbridge-terminal (github:longbridge/longbridge-terminal) May 26, 2026
@jdx jdx enabled auto-merge (squash) May 28, 2026 05:41
@jdx jdx merged commit 392906d into jdx:main May 28, 2026
47 of 49 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants