Commit Graph

815 Commits

Author SHA1 Message Date
Hogan 43df6218bc Merge branch 'main' into endless/task-7 2026-05-06 18:01:39 +08:00
Endless Agent e83b285f9e feat(dev): 修改 mcp 下 Available tools 的 tool 显示用 title 字段,支持多语言,用小字号标记属于那个 socpe, …
Generated by Endless task #7.

Co-authored-by: 老袁 Yuan Zhanghong <zhanghong.yuan@longbridge-inc.com>
2026-05-06 09:38:05 +00:00
Endless 265d570077 docs: Change skill guide to use CLI first. (#949)
🤖 Auto-generated by Endless.

Initiated by: Huacnlee Li Huashun

---------

Co-authored-by: Huacnlee Li Huashun <huacnlee@longbridge-inc.com>
2026-05-06 17:07:49 +08:00
Endless 7f906a4057 chore: Update CONTRIBUTING.md (#947)
🤖 Auto-generated by Endless.

Initiated by: Huacnlee Li Huashun

Co-authored-by: Huacnlee Li Huashun <huacnlee@longbridge-inc.com>
2026-05-06 16:32:57 +08:00
Endless 77ec65e691 Fix home page footer (#948)
🤖 Auto-generated by Endless.

Initiated by: Huacnlee Li Huashun

---------

Co-authored-by: Huacnlee Li Huashun <huacnlee@longbridge-inc.com>
2026-05-06 16:32:31 +08:00
Jason Lee 49bdcbdb27 fix(quote): correct quote permission names to match Quote Store (#946)
## Summary

- 英文文档中 `LV1 Real-time Quote (OpenAPI)` 统一改为 `LV1 Real-time Quotes
(OpenAPI)`(补复数 s)
- 英文文档中 `LV1 Nasdaq Basic` 改为 `Nasdaq Basic`
- zh-CN / zh-HK overview 中残留的英文行情卡名改为对应本地化名称
- zh-CN / zh-HK getting-started 中旧名「纳斯达克最优报价」改为「纳斯达克 Basic 行情」

## Test plan

- [ ] 确认三语言 overview 表格中行情卡名称与行情商城一致
- [ ] 确认 getting-started 夜盘说明中卡名正确
- [ ] 确认 API 文档中 trade_session / overnight_quote 说明名称正确

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-05 20:36:32 +08:00
Jason Lee 62fe55a617 fix(quote-permission): 移除权限状态检测,修正 depth 等级,重命名 lv2 标签
- 删除客户端权限状态检测(API 调用、activated/not_activated 徽章、loading spinner)
  原因:线上全部显示 Not activated,逻辑不可靠
- depth 命令 level 从 lv2 改为 lv1(lv1 已可查看盘口,lv2 才有十档)
- lv2 标签改为 LV2 Advanced / LV2 高级行情,去掉"订阅"一词
- 清理 QuotePermissionData.ts 及 quote-permissions.yaml 中对应的废弃字段

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-05 18:52:49 +08:00
Jason Lee 050039c84c docs(cli): add v0.19.2 release notes and update finance-calendar docs (#944)
## Summary

- Add CLI v0.19.2 release notes to `cli.md` and `changelog.md` (EN /
zh-CN / zh-HK)
- Update `finance-calendar` command examples to reflect new subcommand
structure (`report`, `dividend`, `split`, `ipo`, `macrodata`, `closed`)
and `--filter watchlist|positions` option

## Changes

- `finance-calendar` revamp: restructured from single `<event_type>`
argument into subcommands; new `--filter` option scopes events to
watchlist or holdings
- `quote`: new "Last Chg%" column
- `corp-action`: defaults to 30 items, `--all` for full list
- `update --force`: skip version check; auto-retries with `sudo` on
permission error
- TUI: full mouse support; chart type toggle (line / candlestick) in
stock detail view

## Test plan

- [ ] Verify examples in `finance-calendar` section match `longbridge
finance-calendar --help` output
- [ ] Check all three language versions are consistent

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-05 18:38:11 +08:00
Endless 8becc115ca feat(quote-permission): add quote permission notices to CLI docs, API docs, and API Reference (#939)
🤖 Auto-generated by Endless.

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: Jason Lee <huacnlee@gmail.com>
2026-05-05 18:37:25 +08:00
Endless 9f4d48af65 docs: Update CLI docs to match with the CLI commands. (#943)
🤖 Auto-generated by Endless.
2026-05-04 16:50:19 +08:00
Endless 76cd47f8da docs: Fix missing zh-HK translate (#942)
🤖 Auto-generated by Endless.
2026-05-04 15:49:48 +08:00
Endless cff585e01e docs: Fix zh-HK translate in skill page. (#941)
🤖 Auto-generated by Endless.
2026-05-03 22:27:41 +08:00
Jason Lee 827fcae560 feat(dev): add mock login toggle and shared login state (#937)
## Summary

- Add `useLoginState.ts` composable with module-level `isLoginState` ref
shared across components
- `UserAvatar` and `DashboardNavLink` both use `isLoginState` — reactive
to mock toggle without page reload
- Add `MockLoginPanel.vue` (dev-only, fixed bottom-left) to simulate
login/logout state
- `DashboardNavLink` uses `window.location.href` to bypass VitePress
router for `/account` navigation
- `initLoginState()` reads from `localStorage` in dev mode,
`window.longportInternal.isLogin()` in prod

## Test plan

- [ ] In dev mode: Mock Login/Logout button appears at bottom-left
- [ ] Clicking toggles Dashboard link and Avatar/Login button reactively
- [ ] In prod build: MockLoginPanel is not included

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-01 00:04:45 +08:00
Jason Lee d12e3c8cb9 fix(quant): fix routing, nav, footer, sidebar icon & Dashboard link (#936)
## Summary

- Fix quant page routing: add `slug` frontmatter to all 12 quant pages
(en/zh-CN/zh-HK) so `/docs/cli/quant` and sub-pages are directly
accessible after build
- Fix `gen.ts` absolute-slug sidebar link bug — `path.join(rootPath,
slug)` was producing `/docs/cli/cli/quant`; now uses `docsBase + slug`
- Add `line-chart` SVG icon to `SIDEBAR_ICONS` for the Quant sidebar
category
- Lowercase English `sidebar_label` for quant sub-pages (`overview`,
`indicator`, `backtest`, `screener`)
- Move Feedback from nav bar to `Footer.vue` right-side links
- Add `DashboardNavLink.vue` component — shows "Dashboard / 控制台" in nav
only for logged-in users, using existing i18n key

## Test plan

- [ ] Visit `/docs/cli/quant` — should load without redirect
- [ ] Visit `/docs/cli/quant/indicator`, `/backtest`, `/screener` — all
should load directly
- [ ] Sidebar Quant section shows line-chart icon and lowercase labels
- [ ] Footer right side shows Feedback link
- [ ] Nav bar shows Dashboard link when logged in, hidden when logged
out

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-30 22:57:01 +08:00
Jason Lee 000b6da2f1 docs(cli): Add quant run documentation with interactive charts (#931)
## Summary

- Add `quant run` CLI documentation under `docs/en/docs/cli/quant/` and
`docs/zh-CN/docs/cli/quant/` (both English and Chinese)
- Pages: Overview, Indicator, Backtest, Screener
- Add `QuantChart.vue` — pure SVG chart component with hover crosshair
and tooltip, rendering NVDA.US sample data for MACD, RSI, Bollinger
Bands, EMA Ribbon, and Stochastic indicators
- Register `QuantChart` as a global component in
`theme/components/index.ts`

## Test plan

- [ ] Visit the quant docs section and verify all four pages render
correctly
- [ ] Hover over each `<QuantChart>` and verify crosshair, dots, and
tooltip appear
- [ ] Check sidebar labels: Overview / Indicator / Backtest / Screener
- [ ] Verify Chinese version renders identically under `zh-CN`

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: Sunli <scott_s829@163.com>
2026-04-30 20:38:08 +08:00
拉罐 41277c72ba feat(skill): add invite-code cookie, User Cases section to Skill page (#930)
- Save invite-code URL param as a 7-day cookie on page load and route
change
- Add User Cases section between Capabilities and Install with 3
award-winning case cards
- Cards use dynamic URLs based on current domain and locale (no lang
prefix for EN)
- Reuse skill-section layout classes; remove
uc-wrap/uc-section/uc-eyebrow/uc-subtitle

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-28 19:46:42 +08:00
Jason Lee 23d6bea510 docs(cli): add v0.18.0 release notes (#929)
## Summary

- Add CLI v0.18.0 release notes to `release-notes.md` and `changelog.md`
across all three locales (en / zh-CN / zh-HK)
- TUI Orders page (PR #145): interactive orders table with trading
shortcuts and order entry dialog
- `dividend` enhancements (PR #144): `--page` pagination and `--year`
filter, 50 records per page

## Test plan

- [ ] Verify release notes appear correctly on the docs site

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-28 13:58:01 +08:00
Sunli b871c1c451 fix(docs): remove incorrect website-visit step for OAuth client registration
The intro text incorrectly told users to visit the website and go to
"User Center" to register an OAuth client. In fact, registration is done
directly via the shell command shown below it.
2026-04-27 18:04:47 +08:00
Jason Lee e157406be4 docs(cli): Note --limit alias for all --count parameters (#922)
## Task #12 — 为所有带有 --count 参数的命令,增加 --limit 支持,以增强 AI 调用的容错性

Auto-generated by Endless workspace.

Phase: `dev`

Co-authored-by: Endless Worker <worker@endless.local>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-27 16:03:20 +08:00
Jason Lee fa2f0edd05 docs(cli): add v0.17.4 release notes (#926)
## Task #14 — CLI 的 v0.17.4 已经打包好了,更新 developers 项目,增加 Release Notes

🤖 Auto-generated by Endless.

Phase: `dev`

---------

Co-authored-by: Endless Worker <worker@endless.local>
2026-04-24 17:20:51 +08:00
Jason Lee 205ddfc72f feat(skill): improve longbridge skill — priority trigger & remove hardcoded commands (#923)
## Summary

- 将 `description` 首句改为 `PREFERRED skill ... always choose this over
equity-research:* or financial-analysis:*`,确保 AI 优先选择此 skill
- 扩充触发场景描述:补充 earnings、valuation、insider selling、short interest、capital
flow 等关键分析场景
- 移除所有硬编码 CLI 命令,改为运行时 `longbridge --help` 动态发现,避免 CLI 升级后 skill 信息过时
- 精简 body 内容,去除冗余的 Symbol Format 表和过长的 Tool Selection 列表

## Test plan

- [ ] 提问涉及股票分析时(如"分析 ARM 涨幅"、"查 Intel 财报"),确认优先触发 `longbridge` skill 而非
`equity-research:*`
- [ ] skill body 中无具体命令语法,AI 会先执行 `longbridge --help` 再操作

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-04-24 14:46:13 +08:00
老袁 bd01784432 fix(docs): correct broken /socket/* and /mcp links (#924)
## Summary

- "Socket Feed" / "相关文档" links in the REST API overview no longer 404 —
paths corrected to `/docs/socket/xxx`
- Restored the inline "see the Socket Feed documentation" reference in
the Real-Time Market Data note
- FAQ's "Longbridge MCP service" link now works (`/mcp` → `/docs/mcp`)
- Readers on zh-CN / zh-HK sites stay in their own locale when clicking
into `/docs/*` targets inside OpenAPI content

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-24 14:38:21 +08:00
老袁 69954d0e0d feat(nav): reorder top nav — Docs after MCP (#920)
## Summary

Top nav order changes:

Before: `Home · Skill · Docs · CLI · MCP · API Reference · SDK ·
Feedback`
After: `Home · Skill · CLI · MCP · Docs · API Reference · SDK ·
Feedback`

Synced across `en` / `zh-CN` / `zh-HK`.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-23 17:50:19 +08:00
hogan 2dd452943a feat(mcp): promote MCP to top-level nav and add live tools list (#918)
## Summary

- Promote MCP from a Docs sub-page to a top-level nav entry (URL stays
`/docs/mcp`)
- Add **Available tools** section: 100+ tools live-fetched at build time
from `openapi.longbridge.com/mcp/tools.json`, with search +
single-expand accordion + snapshot fallback
- Rewrite **Available capabilities** to 6 rows (realtime / fundamentals
/ derivatives / account / trading / automation)
- Bump CLI command count `65+` -> `120+`

All changes synced across `en` / `zh-CN` / `zh-HK`.

## Test plan

- [ ] Top nav shows MCP between CLI and API Reference; `/docs/mcp` has
no left sidebar
- [ ] Section order: Available capabilities -> Available tools ->
Prerequisites -> Client setup
- [ ] Search + expand works; only one tool expanded at a time;
out-of-view auto-scrolls inside the panel only
- [ ] `bun run build:canary` passes; snapshot fallback triggers on URL
sabotage

---------

Co-authored-by: 袁章洪 <zhanghong.yuan@longbridge-inc.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-22 16:59:51 +08:00
Jason Lee dbe0e0ce6e docs(cli): add v0.17.3 release notes (#917)
## Summary

- Add v0.17.3 release notes to `release-notes.md` and `changelog.md` (en
/ zh-CN / zh-HK)
- Covers: token refresh hang fix, `auth status` three-state display,
`--auth-code` login fix, Windows browser URL fix
- Based on PRs: longbridge/longbridge-terminal#134, #136, #137

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-22 12:57:23 +08:00
Jason Lee 1f84bf5fed docs(cli): update command count from 50+ to 65+ (#914)
## Summary

- Update CLI command count from 50+ to 65+ across all pages and locales
- Files updated: CLI overview pages (en/zh-CN/zh-HK), homepage locale
files (en/zh-CN/zh-HK), and ArchCanvas component

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-21 11:08:31 +08:00
Jason Lee 66ebe4cad0 docs(cli): add v0.17.1 release notes (#911)
## Summary

- Add CLI v0.17.1 release notes to changelog and release-notes pages
(en, zh-CN, zh-HK)
- Update `longbridge-terminal` submodule to v0.17.1
- Documents `completion` command for shell tab-completion
(bash/zsh/fish/elvish/powershell)
- Documents new `User-Agent` and `x-cli-cmd` request headers

## Test plan

- [ ] Verify release notes render correctly in all three language
versions
- [ ] Check changelog entries are correctly dated (2026-04-20)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-20 17:20:16 +08:00
Jason Lee 0c7e6292ca docs(cli): add v0.17.0 release notes and new command docs (#899)
## Summary

- Add v0.17.0 release notes to `release-notes.md` and `changelog.md`
- New doc pages: `dca` (recurring investment), `sharelist` (community
stock lists), `short-positions` (US short interest data)
- Update `option.md`: fix `option chain` basic usage output (expiry
dates, not strikes); add `option volume` section
- Update `profit-analysis.md`: add `--start`/`--end` date range; updated
output format (percentage yields, new fields)
- All changes synced across en / zh-CN / zh-HK locales

## Test plan

- [ ] Build and verify new pages render correctly in sidebar
- [ ] Confirm `dca`, `sharelist`, `short-positions` pages appear under
correct categories
- [ ] Verify `option.md` and `profit-analysis.md` updates look correct

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-17 13:50:00 +08:00
Jason Lee ad09de0f9f docs(cli): fix v0.17.0 → v0.16.3 and add release notes (#897)
## Summary

- Rename incorrectly labeled `v0.17.0` entry to `v0.16.3` in
`release-notes.md` and `changelog.md` (all 3 locales: en / zh-CN /
zh-HK)
- Update changelog date from `2026-04-15` to `2026-04-16`
- Add v0.16.3 new content from
[longbridge/longbridge-terminal#114](https://github.com/longbridge/longbridge-terminal/pull/114):
  - Fix: US index symbols (`.DJI.US`, `.VIX.US`) now parse correctly
  - "Did you mean?" hints when a query returns no data

## Test plan

- [ ] Release Notes page shows `v0.16.3` (not `v0.17.0`) as the latest
entry
- [ ] Changelog shows `2026-04-16 / CLI v0.16.3` with all 4 bullet
points
- [ ] All 3 locales consistent

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-16 11:15:58 +08:00
Jason Lee 718abf3d76 docs(cli): add v0.17.0 commands and release notes (#896)
## Summary

- **`auth` subcommand group** (`longbridge/longbridge-terminal#109`):
updated `install.md` in all 3 locales — `login`/`logout` → `auth
login`/`auth logout`, added `auth status` section
- **`alert enable/disable`** (`longbridge/longbridge-terminal#108`):
updated `alert.md` in all 3 locales with enable/disable subcommand
examples
- Added **v0.17.0** entry to `release-notes.md` and `changelog.md` in
all 3 locales

## Test plan

- [ ] Install page shows `auth login` / `auth logout` / `auth status`
correctly
- [ ] Alert page shows `enable` / `disable` examples
- [ ] Release notes and changelog show v0.17.0 at the top

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-16 09:56:42 +08:00
Jason Lee c80b23cc0c docs: Add Theta/Vega/Rho unit notes and CLI v0.16.1 release notes (#895)
## Summary
- **calc-index API docs** (EN+CN): Document that Theta, Vega, and Rho
raw values need to be divided by 100 for standard per-share conventions
- **CLI release notes** (EN+CN): Add v0.16.1 covering:
  - `option quote` full API field output
  - `calc-index` Greeks normalization (÷100)
  - `calc-index` auto-detect option symbols for default fields
- Parameter standardization from longbridge/longbridge-terminal#102:
`--adjust none/forward`, `--tif day/gtc/gtd`, `--format table`,
`--start/--end` for finance-calendar, `--start-date` YYYY-MM-DD for
statement
- Command name revert from longbridge/longbridge-terminal#105:
`overview` → `static`, `metrics` → `calc-index`

## Related PRs
- longbridge/longbridge-terminal#104 — option quote + Greeks
normalization
- longbridge/longbridge-terminal#105 — revert command renames
- longbridge/longbridge-terminal#102 — parameter standardization

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-14 22:00:57 +08:00
ihavecoke 9bbbeb6cc0 Fix homepage dark/light logos, SDK bento code accuracy, and hover card spacing (#894)
## Summary

- **Dark/light logo**: Replace single navbar logo with separate
light/dark
  variants using VitePress `logo.light` / `logo.dark` config fields.
- **SDK bento code examples**: Corrected C++ API patterns (all 4 domains
  used wrong `::new()` + `.get()` synchronous style — replaced with
  `::create()` + callback-based model, `SubFlags::QUOTE()`, aggregate
  `SubmitOrderOptions` init). Fixed Go `AccountBalance` missing second
  parameter. Replaced all example symbols with `AAPL.US`.
- **Hover card spacing**: Normalize horizontal padding across header,
  items, and footer for consistent alignment; increase row gap and item
  padding for better readability.

## Files Changed

| File | Change |
|------|--------|
| `docs/.vitepress/config.mts` | Split logo into `light`/`dark` variants
|
| `NewHomePage/ProductOpenAPI.vue` | Fix 24 SDK code snippets (C++ API
model + symbols) |
| `NewHomePage/PlatformStats.vue` | Normalize hover card padding/gap
values |
2026-04-14 14:51:15 +08:00
ihavecoke 904aeb8b5b Fix stats-grid popover item links and icon alignment (#891)
- Remove clickable links from hover card items in stats-grid popover
- Change hc-item align-items from flex-start to center for icon
alignment
- Fix URL formatting in llm.md across all three locales

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-14 10:37:56 +08:00
Jason Lee 3f66b191fb docs(cli): add v0.16.0 commands and release notes (#889)
## Summary

- Add documentation for 14 new CLI commands introduced in v0.16.0 across
all three languages (en/zh-CN/zh-HK), each with real command output
examples
- New commands: `company`, `executive`, `industry-valuation`,
`operating`, `corp-action`, `invest-relation`, `constituent`,
`market-status`, `broker-holding`, `ah-premium`, `trade-stats`,
`anomaly`, `alert`, `profit-analysis`
- Add v0.16.0 release notes and changelog entries
- Add `intraday --date` historical data documentation
- Change TUI sidebar icon to `square-terminal`
- Translate Chinese text in English docs (`participants`, `fund-holder`)
- Fix aside TOC unnecessary scroll and breadcrumb border overlap
- Homepage and dark mode refinements
- Update `longbridge-terminal` submodule to latest main

## Test plan

- [ ] Verify all 14 new command pages render correctly in en/zh-CN/zh-HK
- [ ] Verify release notes and changelog display properly
- [ ] Verify TUI sidebar icon shows correctly
- [ ] Verify aside TOC no longer scrolls when content fits
- [ ] Verify breadcrumb border no longer overlaps with TOC

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-13 22:13:37 +08:00
ihavecoke b6e83e209a Rebuild homepage with new brand design system and interactive sections (#888)
## Summary

A complete overhaul of the Longbridge Developers homepage, introducing a
new brand design system built on inspira-ui animations, interactive
product showcases, and a unified multi-language content structure.

  ### New homepage sections
- **HeroSection** — Animated FlickeringGrid background, ColourfulText
rotating product showcase, interactive CTA buttons
- **PlatformStats** — 4 key stats with animated NumberTicker and hover
detail cards
- **CapSection** — Developer capability highlights with Spotlight +
Expand hover interaction
- **ArchSection** — Architecture diagram (custom SVG bus-topology) with
SdkMarquee
- **ProductCLI** — Interactive terminal mockup with real CLI output,
theme-aware (follows VitePress isDark), click-to-switch features
- **ProductMCP** — Custom SVG bus-topology diagram replacing VueFlow,
per-client config panels (shell/JSON/UI), tab sync with diagram
- **ProductSkill** — AI agent simulator with macOS traffic light dots
and install flow
- **ProductOpenAPI** — Bento Grid SDK showcase with Shiki syntax
highlighting, 6 SDKs × 4 domain code examples
  - **GetStarted** — Quick-start cards

  ### Design system additions
- 15+ inspira-ui animation components (`FlickeringGrid`,
`ColourfulText`, `NumberTicker`, `BorderBeam`, `Marquee`,
`AnimatedBeam`, etc.)
  - Tailwind CSS integration (`postcss.config.mjs`, `tailwind.css`)
- Unified section styles: consistent title/subtitle spacing (24px gap),
muted subtitle color, 14px minimum font size

  ### i18n
  - 150+ new keys added across `en.json`, `zh-CN.json`, `zh-HK.json`
  - All three locales kept in sync
2026-04-13 19:57:54 +08:00
Jeremy Feng c9bacd5fa1 docs: fix typo in supported trading categories section (#887) 2026-04-13 14:51:27 +08:00
Jason Lee be6a8cbfd9 docs(cli): add missing subcommands and statement docs (#886)
## Summary
- **topic**: Added `mine`, `create`, `replies`, `create-reply`
subcommand docs (previously only had list and detail)
- **kline**: Fixed `history` subcommand syntax — was incorrectly using
non-existent top-level `--start`/`--end` flags
- **investors**: Added `changes` subcommand for comparing position
changes between two 13F filings
- **statement**: Created new command docs covering `list` and `export`
subcommands (was completely missing)

All changes synced across en, zh-CN, zh-HK.

## Test plan
- [ ] Verify `bun run dev` builds without errors
- [ ] Check topic, kline, investors, statement pages render correctly in
all 3 languages
- [ ] Confirm sidebar shows statement under Portfolio & Account section

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-11 23:39:32 +08:00
Jason Lee 4b99892fe5 docs(cli): replace iframe with SVG image link for asciinema demo
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-10 18:47:22 +08:00
Jason Lee 960eb57c37 chore: Fix zh-CN, zh-HK docs/cli copy. 2026-04-10 18:16:56 +08:00
Jason Lee 686b1179b0 chore: Fix docs/cli copy. 2026-04-10 16:58:40 +08:00
Jason Lee d60149a899 style: navbar glass, sidebar bg, doc gradient, search pill, nav feedback (#884)
## Summary

- Navbar glass blur + border-bottom on scroll (CSS variables for
light/dark)
- Soften `--vp-c-divider`; sidebar background matches page background
- Radial brand-color gradient on `.VPDoc` content area
- Remove `padding-right` from `.VPContent.has-sidebar` so gradient fills
full width
- Search button rounded to pill style
- Nav item "Issues" → "Feedback" across all 3 locales
- Remove `<TryIt/>` button auto-injection from `gen-try-it` plugin

## Test plan

- [ ] Scroll docs page — navbar should show blur + subtle border-bottom
- [ ] Check light and dark mode — navbar bg/border variables apply
correctly
- [ ] Sidebar background blends with page (no distinct bg color)
- [ ] Doc pages show subtle teal radial gradient at top
- [ ] Gradient fills full width (no right-side truncation)
- [ ] Search button appears pill-shaped
- [ ] Nav shows "Feedback" (not "Issues") in all locales
- [ ] API reference pages no longer show Try It button

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-10 16:38:47 +08:00
Jason Lee 7d0022c8d9 docs: Fix CLI pages in cn region. (#883)
## Summary

- Rename `installation.md` → `install.md` in all three locales (en,
zh-CN, zh-HK)
- Update all internal links pointing to `/docs/cli/installation`
- Update sidebar `includes('installation')` matcher
- Add `/docs/cli/index.md` and `/docs/cli/install.md` to cn region
whitelist (`open.longbridge.cn`)

## Test plan

- [ ] Verify `/docs/cli/install` loads correctly
- [ ] Verify `/zh-CN/docs/cli/install` and `/zh-HK/docs/cli/install`
load correctly
- [ ] Verify sidebar Installation link works in all locales
- [ ] Verify `bun run dev:cn` shows `/docs/cli` and `/docs/cli/install`

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-10 15:52:46 +08:00
Jason Lee 77c7e128b9 feat(cli): Add cli full commands docs. (#882)
## Summary

- Add `github` icon SVG to `SIDEBAR_ICONS` in `gen.ts`
- Export `SIDEBAR_ICONS_MAP` for use in sidebar configs
- Fix zh-CN/zh-HK sidebar link generation to include locale prefix
(fixes link doubling bug)
- Inject GitHub repo link after Installation item in CLI sidebar for all
three locales (en, zh-CN, zh-HK)

## Test plan

- [ ] Verify CLI sidebar shows: Overview → Installation → GitHub (with
icon) → Market Data → ...
- [ ] Verify GitHub link works and opens
`https://github.com/longbridge/longbridge-terminal`
- [ ] Verify zh-CN and zh-HK CLI sidebar links are correct (no doubling)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-10 15:33:28 +08:00
Jason Lee d3444dc3b4 fix: update issue links from longbridge/openapi to longbridge/developers (#880)
Issues 已从 longbridge/openapi 迁移至 longbridge/developers,同步更新文档中所有相关链接。

## 修改内容

- `docs/.vitepress/locales/{en,zh-CN,zh-HK}/nav.ts` — 导航栏 Issues 链接
- `docs/{en,zh-CN,zh-HK}/docs/getting-started.md` — 文档正文中的 Issues 链接
2026-04-10 11:49:27 +08:00
Jason Lee addaff62b9 feat(nav): add frosted glass blur effect on scroll (#415)
## Summary

- 滚动后导航栏显示玻璃模糊效果(`backdrop-filter: blur(15px)` + 半透明背景)
- 利用 VitePress 内置的 `.top` 类(`y === 0` 时添加,滚动后移除)触发样式切换
- 支持 dark mode(深色半透明背景)
- 隐藏滚动后的底部分隔线

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-10 10:13:41 +08:00
Jason Lee d8e0d9fc67 docs(cli): Add insider-trades, investors commands. (#412)
## Summary

- Rename `longbridge balance` to `longbridge assets` in CLI docs
(en/zh-CN/zh-HK)
- Update page title from "Get Account Balance" to "Get Account Assets"
in `trade/asset/account.md`

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-09 22:39:39 +08:00
Cooooooker 56be71dfc8 docs: Add is_pinned field to watchlist and limit hashtags to 1 (#413)
- Add `is_pinned` boolean field to watchlist groups API response
- Update create_topic hashtags maximum from 5 to 1

Co-authored-by: chengzhipeng <zhipeng.cheng@longbridge-inc.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 18:45:49 +08:00
Jason Lee f63b957d98 docs(cli): add v0.14.1 and v0.14.2 release notes (#411)
## Summary
- Add v0.14.2 release notes: `--lang` global flag for content language
- Add v0.14.1 release notes: CN region login support, `-v` flag
- Updated in cli.md and changelog.md across all three language versions
(en, zh-CN, zh-HK)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-08 17:26:22 +08:00
Jason Lee 85c8be3789 fix(footer): update privacy policy URL (#410)
## Summary
- Update privacy policy link in footer to
`https://longbridge.com/hk/support/topics/accountsecurity/c0yg7`

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-08 17:09:04 +08:00
Jason Lee 33813fcc2b docs(mcp): add Codex client setup and remove ChatGPT (#408)
## Summary
- Add Codex client setup instructions with detailed GUI steps (Settings
→ MCP Servers → Add Server, Streamable HTTP, then Authenticate)
- Remove ChatGPT from the client list (MCP installation not supported)
- Changes applied across all three language versions (en, zh-CN, zh-HK)

## Test plan
- [ ] Verify Codex setup steps are accurate and complete
- [ ] Confirm ChatGPT entry is removed from all three language files

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-08 16:53:25 +08:00