Commit Graph

156 Commits

Author SHA1 Message Date
Endless 302b7e8eac 给 MCP 的安装指引里面增加 [Manus](https://manus.im) 的添加流程指引,用户可以进入 "Plugins" 窗口右侧区域有个 "Create" 按钮,弹出的菜单中选择 "Im (#1112) 2026-06-26 09:37:12 +08:00
拉罐 201b4aafb6 docs: add SEO cross-domain internal links to longbridge.com (#1110)
按 SEO 团队要求,在 developers 页面对已有词语包链接到 longbridge.com 对应页面, 覆盖 Skill /
Pricing / MCP / CLI / LLM / Topics / Getting Started 共 14 处锚点, 三语版本同步。

- /screener: screen stocks(Skill hero)
- /en/news: Longbridge community(Skill cases)、Latest news articles(Skill
capability)
- /markets: market data(Pricing hero)、Longbridge market data(MCP 首段 +
表格)、real-time market data(CLI、LLM)、live market data(Skill demo,已存在)
- /hk/download: Longbridge account(MCP Prerequisites +
Security、Topics)、Download App(Getting Started)
- /en/ai: AI agents(CLI JSON Output)

Skill.vue / Pricing.vue 模板将 hero.desc / cases.desc / capItems / skill
card desc / get-started card desc 从纯文本绑定改为 v-html,使内嵌 <a> 渲染生效。
2026-06-25 14:39:54 +08:00
Jason Lee 58b1ede27e docs: Release CLI v0.23.2 (#1096) 2026-06-16 21:24:34 +08:00
Endless 23141067f4 longbridge/skills 项目新增了 codex plugin,请修改 skills 页面,在 claude code plugin 相关的地方增加 codex plugin 的安装脚本。当 (#1090)
🤖 Auto-generated by Endless task
[#24](https://endless.longbridge-inc.com/projects/developers/tasks/24).

Initiated by: Huacnlee Li Huashun

## Background

The `longbridge/skills` repository recently added a Codex plugin
manifest (`.codex-plugin/plugin.json`), enabling OpenAI Codex users to
install Longbridge Skills via the native Codex plugin system — analogous
to the existing Claude Code plugin path.

The developer documentation site already documented how to install
Skills via the Claude Code plugin, npx/bunx, ZIP download, and OpenClaw.
However, there was no corresponding install block for Codex users who
want to use the plugin system. This left Codex users without a clear,
official install method in the docs.

## Summary

- Problem solved: Codex users had no documented plugin install path in
the Skill Installation Guide
- What was done: Added a "Via Codex plugin" block immediately after the
existing "Via Claude Code plugin" block in Step 2 of the Skill
Installation Guide, across all three locales (en, zh-CN, zh-HK)
- Why this approach: Mirrors the existing Claude Code plugin block in
structure and placement; uses the exact commands from
`code/skills/docs/install.md` Path D (`codex plugin marketplace add
longbridge/skills` + `codex plugin add longbridge@longbridge-skills`)
- How to verify: Open any of the three locale install pages
(`/skill/install`, `/zh-CN/skill/install`, `/zh-HK/skill/install`) and
confirm the new "Via Codex plugin" block appears between the Claude Code
plugin block and the npx/bunx block in Step 2

## Changes

| File | Change |
|---|---|
| `docs/en/skill/install/index.md` | Added "Via Codex plugin" install
block after the Claude Code plugin block in Step 2 |
| `docs/zh-CN/skill/install/index.md` | Added Simplified Chinese "通过
Codex 插件安装" block after the Claude Code plugin block in Step 2 |
| `docs/zh-HK/skill/install/index.md` | Added Traditional Chinese "通過
Codex 插件安裝" block after the Claude Code plugin block in Step 2 |

## Key Decisions

Placed the Codex plugin block immediately after Claude Code plugin
(before npx/bunx) because both are plugin-system install methods and
belong together; npx/bunx is a more general path that applies to all
tools regardless of plugin support.

---------

Co-authored-by: Huacnlee Li Huashun <huacnlee@longbridge-inc.com>
Co-authored-by: Jason Lee <huacnlee@gmail.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-15 20:52:07 +08:00
Jason Lee 30a7581a6a docs: update Codex MCP setup instructions (#1087)
## Summary
- Update Codex MCP setup instructions to use `codex mcp add longbridge
--url https://mcp.longbridge.com`.
- Preserve the existing UI setup flow as a Codex Desktop guide across
English, Simplified Chinese, and Traditional Chinese docs.

## Test Plan
- `git diff --check -- docs/en/docs/mcp.md docs/zh-CN/docs/mcp.md
docs/zh-HK/docs/mcp.md`
- `codex mcp add --help`
- `npx vitepress build docs --outDir
/private/tmp/developers-docs-pr-build` (fails on existing
`docs/superpowers/specs/2026-06-05-agent-auth-code-design.md:130` Vue
parse error)
2026-06-12 20:24:25 +08:00
Jason Lee e780aed0fb docs: 夜盘行情归入 Nasdaq Basic 免费 + 补充 ChatGPT 接入 MCP 说明 (#1086)
## 变更内容

本分支包含两部分文档调整:

### 1. 夜盘行情改为「Nasdaq Basic 免费包含」

Revert 了 #1081(该提交把 `Nasdaq Basic` 错误改成了 `US LV1`,并合并了定价对比矩阵、误删了多处
`<QuotePermission>` 标签),改为在保留 `Nasdaq Basic` 措辞的前提下重新表述夜盘:

- 夜盘行情统一标注为「已包含在 Nasdaq Basic 中,免费」,仅需设置
`LONGBRIDGE_ENABLE_OVERNIGHT=true` 即可开启,不再要求购买 LV1 行情卡
- `quote-permissions.yaml`:各命令美股描述去掉「夜盘需购买 LV1」,并移除 `store_cards`
中的夜盘购卡项
- 文档(三语同步):`getting-started` / `qa.quote` / `quote.overview` /
`candlestick` / `history-candlestick` / `quote` 字段说明
- `Pricing.vue`:对比矩阵 Overnight 行补勾 Nasdaq Basic 列(保留 US LV1 列)
- 全程不引入 `US LV1` 术语

### 2. 补充 ChatGPT 接入 Longbridge MCP 说明(三语)

为 `docs/{lang}/docs/mcp.md` 新增/补全 ChatGPT 客户端接入步骤:开启 Developer Mode →
Settings/Apps 路径 → Create app 表单字段 → 截图与演示视频。en / zh-CN / zh-HK 三语同步。

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

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-12 16:58:28 +08:00
Jason Lee 420f588c4e docs: US 夜盘行情改为免费 (#1081)
## 变更内容

将 **US 夜盘行情(Overnight)** 的说明从「需购买 LV1 实时行情卡」更新为**免费**,并精简定价页对比矩阵。

### 文档(三语同步:en / zh-CN / zh-HK)

- **`qa/quote.md`** Q6:夜盘行情免费提供,无需额外购买行情卡。
- **`quote/overview.md`** 行情权限表:获取方式改为「免费,设置
`LONGBRIDGE_ENABLE_OVERNIGHT=true` 即可获取」。
- **`getting-started.md`** 环境变量表:`LONGBRIDGE_ENABLE_OVERNIGHT`
说明改为「夜盘行情免费,仅支持美股」。

技术开关(`LONGBRIDGE_ENABLE_OVERNIGHT` / metadata
`need_over_night_quote`)与「仅支持美股」限制保持不变。

### 定价页(`Pricing.vue`)

- 给 Overnight 行补上免费档勾选后,**Nasdaq Basic 列与 US LV1 列勾位完全一致**,移除重复的 Nasdaq
Basic 列。
- 对比矩阵由 6 列调整为 5 列:**US LV1 · OPRA · HK LV1 · HK LV2 · CN LV1**。

> ⚠️ 注意:US LV1 列 tag 仍为「付费」,overnight 的勾现落在该列下。如需在矩阵中体现 overnight
免费,可后续调整该列标签。

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

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-09 10:17:28 +08:00
Jason Lee 4ce9dcfb00 docs: add cross-domain internal links to longbridge.com (#1080)
## Summary

Adds SEO cross-domain internal links from the Longbridge Developers docs
(open.longbridge.com) to the main longbridge.com site, synchronized
across all three locales (en / zh-CN / zh-HK).

## Links added

| Source page(s) | Anchor text | Target |
| --- | --- | --- |
| CLI finance-calendar | Stock Earnings Calendar | `/calendar/report` |
| CLI news, API news | Longbridge News | `/news` |
| CLI topic, API topics + 5 topic sub-endpoints | Longbridge Topics |
`/topics` |
| Quote | Longbridge Global Markets | `/markets` |
| Docs overview | open a Longbridge Integrated A/C | `/hk/download` |
| CLI screener | Longbridge Stock Screener | `/screener` |
| Homepage hero / AI / MCP | live market data / screen stocks /
real-time quotes | `/markets`, `/screener` |
| Pricing hero / basic data / realtime / FAQ | news / view live market
data / Longbridge App / integrated accounts | `/news`, `/markets`,
`/hk/download` |
| Skill cross-market screening | live market data | `/markets` |

## Notes

- All longbridge.com links omit the language segment (e.g. `/news`, not
`/en/news`); the main site auto-switches locale by user language.
- Vue components (NewHomePage, Pricing, Skill) render the relevant
description fields via `v-html` so inline `<a>` links work. No custom
inline link styling is used — default link styling for maintainability.
- Chinese docs were run through `autocorrect --fix`.

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

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-09 10:07:42 +08:00
Jason Lee 644726b0b2 docs: add Agent Auth Code guide for browser-less authorization (#1072)
## Summary

- Add new **Agent Auth Code** doc page (en / zh-CN / zh-HK): generate a
one-time code at
[open.longbridge.com/connect](https://open.longbridge.com/connect),
redeem via CLI `auth login --auth-code` or the dedicated MCP endpoint
`https://mcp.longbridge.com/agent` (`authenticate` tool)
- CLI install docs: document the `--auth-code` fallback when no browser
is available (example code uses base58 format)
- MCP docs: add tip for clients with incomplete OAuth support or no
browser
- Skill references (`setup.md` / `mcp.md`): auth-code flow for headless
agents
- AppNav: add "Connect AI" entry to the avatar dropdown menu

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

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-05 15:32:47 +08:00
Jason Lee ecdc96a6b7 docs: update MCP host to mcp.longbridge.com / mcp.longbridge.cn (#1071)
## Summary

- 将 MCP Host 从 `https://openapi.longbridge.com/mcp` 改为
`https://mcp.longbridge.com`
- 中国大陆加速地址从 `https://openapi.longbridge.cn/mcp` 改为
`https://mcp.longbridge.cn`
- 更新范围:三语言 MCP 文档与 Skill
安装页、首页组件(`NewHomePage/index.vue`、`ProductMCP.vue`)、`README.md`、`skills/longbridge/references/`
- `config.mts` 构建端点同步改为
`https://mcp.longbridge.com/mcp/tools.json`(已验证返回 200)

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

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-05 09:47:45 +08:00
Jason Lee 783c646cfc docs: Add CLI v0.22.4 release notes and ETF holdings docs (#1068)
## Summary

- Add **CLI v0.22.4** release notes: `constituent` now supports ETFs —
asset-allocation breakdown for ETF symbols, and full US ETF holdings
fetched from SEC EDGAR N-PORT filings
(longbridge/longbridge-terminal#229, longbridge/longbridge-terminal#231)
- Document the new ETF holdings behavior in the `constituent` command
page (usage examples, SEC N-PORT output sample, fallback chain,
data-timeliness notes)
- Backfill missing changelog entries for CLI v0.22.2 / v0.22.3, and add
v0.22.4
- All three locales (en / zh-CN / zh-HK) updated in sync; Chinese docs
formatted with `autocorrect --fix`

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

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-04 17:15:25 +08:00
Jason Lee df68a37912 docs: 新增开发者平台免责声明与 API 许可协议,优化法律文档导航 (#1066)
## 概述

新增开发者平台两份法律文档(HK/SG),并优化「法律文件」在站内的导航与布局。

## 改动

### 新增法律文档
- 《开发者平台免责声明》《API 许可协议》各含 HK / SG 两版,en / zh-CN / zh-HK 三语言,共 12 个页面
- 内容逐字取自法务提供的源文件,去除正文 H1、改由 frontmatter `title` 提供,与既有 legal 页保持一致
- 新增 `legal/index.md` 索引首页,按 SG / HK 分组索引全部协议

### 侧边栏
- `gen.ts` 新增 `_category_.json` 的 `indexLink`
字段:配置后该分类在侧边栏渲染为指向索引页的单链接、不展开子页面(避免平铺过多);特意不复用语义不同的 `link` 字段,避免误伤
`quote/subscribe`
- 法律文档顺序统一为 **SG 在前、HK 在后**

### Footer
- AppFooter 法律区由数据授权两项收敛为单个「协议与免责声明」入口,指向 `/docs/legal`

### 布局修复
- 修复文档顶部被固定导航栏遮挡(`.VPDoc.has-sidebar` 增加顶部留白)

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

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-03 21:31:24 +08:00
Jason Lee 669e7b5083 docs: Add CLI v0.22.3 release notes (#1065)
为 longbridge CLI v0.22.3 补充 Release Notes(en / zh-CN / zh-HK 三种语言)。

## 本次发布概要

v0.22.3 聚焦面向 AI 工作流的输出可读性与完整性:

- **`quote` 新增美股隔夜时段数据** — `quote <SYMBOL> --format json` 现会填充
`overnight_quote`,与 `pre_market_quote`、`post_market_quote` 并列;此前隔夜字段始终为
`null`,会影响盘后判断([#228](https://github.com/longbridge/longbridge-terminal/pull/228))
- **持仓类命令显示账户类型 banner** —
`positions`、`fund-positions`、`assets`、`portfolio` 现会在表格前打印一行账户标识(`Live
A/C (real account)` / `Demo A/C (simulated
account)`),便于直接区分数据所属账户;`--format json`
输出保持不变([#226](https://github.com/longbridge/longbridge-terminal/pull/226))

> 注:GitHub 上 v0.22.3 release 页面发布后,文档内的 tag 链接即可生效。

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

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-03 17:13:59 +08:00
Jason Lee 57bbb855da docs: Add CLI v0.22.2 release notes (#1060)
为 longbridge CLI v0.22.2 补充 Release Notes(en / zh-CN / zh-HK 三种语言)。

## 本次发布概要

v0.22.2 是一个聚焦 **JSON 输出一致性** 的维护版本,主要面向脚本与 AI 工具调用场景:

- **JSON 时间戳统一为 RFC 3339** — `topics`(帖子与回复时间)及账户盈亏流水记录改用 RFC 3339
日期时间,不再输出原始 Unix
时间戳([#223](https://github.com/longbridge/longbridge-terminal/pull/223)、[#225](https://github.com/longbridge/longbridge-terminal/pull/225))
- **`rank` / `screener` / `short-positions` / `top-movers` JSON 输出优化** —
内部 `counter_id` 替换为可读的 `symbol`,`rank` 分类与 `screener strategies`
输出扁平化、规范化([#221](https://github.com/longbridge/longbridge-terminal/pull/221))
- **`market-temp --history` 默认区间** — 省略 `--start` 时默认取结束日期前 30
天([#224](https://github.com/longbridge/longbridge-terminal/pull/224))

> 说明:v0.22.1(screener 迁移 AI 端点)此前未在 Release Notes 中单列,本次仅补充 v0.22.2。

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

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-02 13:36:12 +08:00
mingxingmeng-ctrl deeed629ec 完善 Skill 安装指引,让 agent 自主跑通 Step 1 安装与鉴权 (#1059)
## 目的

让 AI agent 能完整、无偏差地执行 Step 1(安装 CLI → 鉴权 → 验证)。此前唯一的执行偏差在 `longbridge
auth login` 一步——agent 容易前台干等,或不知如何处理浏览器授权。

## 改动

仅 `docs/{en,zh-CN,zh-HK}/skill/install/index.md` 顶部 `<!-- AI INSTRUCTION
-->` 块,每份 3 行(正文及 Step 3/4 与 main 完全一致):

1. **前言**:要求 agent 为这些步骤建立 TodoList 并自己运行命令
2. **Step 1**:CLI 方式自己运行安装命令,再用 `longbridge --version` 确认
3. **Step 2(核心)**:在后台运行 `longbridge auth login`——它打印验证 URL + code 并轮询约 5
分钟;agent 把 URL/code 转交用户、等其在浏览器批准、待 exit 0(`Successfully
authenticated.`)后继续,并用 `longbridge auth status` 确认

## 范围

纯文档 · 3 文件 · 每份 3 行 · 不涉及 Homebrew、不改正文与 Step 3/4。

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-02 09:32:03 +08:00
JetSquirrel ed10f89ddd docs: remove blank lines in CliCommand blocks to fix heading render (#1039)
Blank lines inside <CliCommand> blocks caused markdown parser to
interpret `# ...` comment lines as H1 headings instead of code comments.

<img width="763" height="456" alt="image"
src="https://github.com/user-attachments/assets/a0b20d2b-55ab-44ef-8d01-86b1926acd2a"
/>

Removed the blank lines:
<img width="754" height="433" alt="image"
src="https://github.com/user-attachments/assets/e67d0cfd-909c-47df-b675-6c894d7adc42"
/>

Co-authored-by: Tian Deng <tian.deng@longbridge-inc.com>
2026-05-27 17:05:39 +08:00
Jason Lee bb169b4d46 feat: add User Data Authorisation docs and footer links (#1025)
## Summary

- Add `docs/{en,zh-CN,zh-HK}/docs/legal/` directory with
`_category_.json` (position 8, collapsed)
- Add HK and SG versions of User Data Authorisation and Acknowledgement
in three languages (6 files total)
- Add links in `AppFooter.vue` Legal section pointing to the two new
pages
- Add i18n translation keys (`footer.dataAuthorisationHK` /
`footer.dataAuthorisationSG`) for all three locales
- Use `sidebar_label` for shorter sidebar display names

## Test plan

- [ ] Sidebar shows "Legal" section (collapsed) with "Data Authorisation
(HK)" and "Data Authorisation (SG)"
- [ ] Each page renders the full legal text correctly in all three
languages
- [ ] Footer Legal section shows two new links; clicking navigates to
the correct pages
- [ ] `localePath()` correctly prefixes `/zh-CN/` and `/zh-HK/` for
non-English locales

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

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-26 18:59:52 +08:00
Hogan 147b6df7b3 docs: update screener docs for AI endpoints and new filter/rank features (#1036)
## Summary

- **CLI screener** (3 locales, `cli/quant/screener.md`): replaced
quant-scripting content with new `screener` subcommand reference —
`strategies` (removed `--all`, added `--market US|HK|CN|SG`), `run <ID>`
(pagination with `--page`/`--count`, `prevchg` desc default, flat
`items[]` JSON with numeric values), new `filter` ad-hoc command, and
`indicators` (flat array JSON, `filter_` prefix stripped, `tech_values`
field)
- **rank** (3 locales, `market/status/rank_list.md`): documented that
`ib_` prefix is optional in `--key` and is stripped from listing output
- **SDK screener docs** (3 locales each): updated endpoint paths to
`/v1/quote/ai/screener/...`, added `market` parameter to
`screener_recommend_strategies` and `screener_user_strategies`, noted
path-param URL for `screener_strategy`, normalized response examples for
`screener_search` (`items[]`, numeric values) and `screener_indicators`
(flat array, no `filter_` prefix)

## Test plan

- [ ] Verify `screener strategies --market HK` example renders correctly
in all 3 locales
- [ ] Verify `screener filter` section appears as a new sub-section in
CLI docs
- [ ] Verify `screener run` JSON output example shows `items[]` with
numeric values
- [ ] Verify `rank_list` docs show `ib_` prefix note in all 3 locales
- [ ] Verify SDK endpoint paths updated in all 6 screener SDK doc files
(3 locales x 2 strategy endpoints)
- [ ] Verify `screener_indicators` response example is a flat array

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

---------

Co-authored-by: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-05-23 18:45:03 +08:00
Jason Lee e94153b2e5 docs(cli): Update security-list to reflect multi-market and pagination support (#1004)
## Summary

- Remove outdated "US market only" restriction — `security-list` now
supports US, HK, CN, and SG markets
- Add pagination examples (`--page`, `--count`) introduced in
longbridge-terminal

## Test plan

- [ ] Verify EN/zh-CN/zh-HK pages render correctly in the docs site

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

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-22 14:53:54 +08:00
Hogan e982c41920 docs: add shareholders, screener, short-trades, rank, stock-events docs + CLI v0.22.0 release notes (#1013)
## Summary

SDK documentation and CLI release notes for 13 new APIs. Branch cut from
main.

Related SDK PRs: [openapi
#527](https://github.com/longbridge/openapi/pull/527), [openapi-go
#92](https://github.com/longbridge/openapi-go/pull/92)

### New SDK docs (3 locales: zh-CN, zh-HK, en)

**FundamentalContext:** `shareholder_top`, `shareholder_detail`,
`valuation_comparison`

**MarketContext:** `stock_events`, `rank_categories`, `rank_list`

**QuoteContext:** `short_positions` (updated to US+HK unified),
`short_trades` (new)

**New ScreenerContext:** `screener_recommend_strategies`,
`screener_user_strategies`, `screener_strategy`, `screener_search`,
`screener_indicators`

### CLI v0.22.0 release notes
`shareholder --top/--object-id`, `short-trades`, `compare`,
`top-movers`, `screener`, `rank`

## Test plan
- [ ] `autocorrect --lint docs/` — No issues 

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

---------

Co-authored-by: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-05-22 14:53:28 +08:00
Hogan e89d4ba394 fix(docs): fix DCA SDKLinks method names and remove delete_dca page (#1033)
## Summary

Two issues fixed in the DCA documentation (all 3 locales: zh-CN, zh-HK,
en):

1. **SDKLinks method names were wrong** — the `<SDKLinks>` components
referenced non-existent method names, causing broken SDK code links
2. **`delete_dca.md` removed** — the SDK has no `delete` method; the CLI
example on that page already used `dca stop`, so the page was redundant
with `stop_dca.md`

## SDKLinks fixes

| File | Before | After |
|------|--------|-------|
| `list_dca.md` | `method="list_dca"` | `method="list"` |
| `create_dca.md` | `method="create_dca"` | `method="create"` |
| `update_dca.md` | `method="update_dca"` | `method="update"` |
| `dca_history.md` | `method="dca_history"` | `method="history"` |

Already correct (no change): `pause`, `resume`, `stop`, `stats`,
`check_support`, `calc_date`, `set_reminder`

## Removed files (3 locales)

- `docs/{locale}/docs/account/dca/delete_dca.md` — SDK has no `delete`
method; functionality is covered by `stop_dca.md`

## Test plan
- [x] `autocorrect --lint docs/` — no issues 
- [x] Local dev server verified (`npm run dev`) 

🤖 Generated with [Claude Code](https://claude.com/claude-code)
2026-05-22 11:36:48 +08:00
hold-baby 8ac520654c cn 版放出 MCP 页面并修复翻页指向不可访问页面 (#1028)
## 变更概要
- `region.config.ts`: cn region includePages 白名单添加 MCP 页面
- `AppNav.vue`: 从 CN_HIDDEN_KEYS 中移除 mcp,cn 版顶部导航栏显示 MCP 入口
- 三语言 mcp.md: 添加 prev/next: false frontmatter,禁用底部翻页导航

## 风险分析
无显著风险(纯配置变更 + frontmatter)

## 验证状态
- 本地 VITE_REGION=cn dev server 验证:导航显示 MCP、翻页已消除
- 线上海外版确认同样存在翻页问题(Next Page -> Overview),此修复一并解决

Co-authored-by: 袁昌瑞 <changrui.yuan@longbridge-inc.com>
2026-05-21 18:10:09 +08:00
Jason Lee da67ec3587 chore: Fix home links (#1019) 2026-05-21 10:56:45 +08:00
Jason Lee 6369059aa4 Fix dashboard path. 2026-05-20 21:26:06 +08:00
Jason Lee 14779cce28 feat(design): unify nav, redesign homepage/pricing/skill pages (#1011)
## Summary

- Remove 1127 lines of dead CSS from `app-styles.css` — SKILL PAGE and
PRICING PAGE sections were fully overridden by scoped styles in
`Skill.vue` / `Pricing.vue`
- Delete 7 unused `HomePage/` components and `DashboardNavLink.vue` /
`vp-code.css` (no active references)
- Remove View Transition circle animation on light/dark mode toggle
- Center pricing matrix check icons (`display: block; margin: 0 auto`)
- Reduce dark mode card background contrast: `--lb-card` `#13182A` →
`#0E1222` (closer to page bg `#0A0E19`), strengthen card border to
compensate

## Test plan

- [ ] Home page — product cards visible, dark mode cards harmonize with
background
- [ ] Pricing page — matrix check icons centered, billing cycle toggle
works
- [ ] Skill page — styles unchanged (scoped styles still apply
correctly)
- [ ] Light/dark toggle — instant switch, no circle animation
- [ ] No build errors

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

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-20 21:13:15 +08:00
Hogan 6109102994 docs(fundamental): add business-segments, institution-rating-views, industry-rank, industry-peers, financial-report-snapshot (#999)
## Summary

Adds documentation for 6 new fundamental SDK APIs ported from
[longbridge-terminal PR
#202](https://github.com/longbridge/longbridge-terminal/pull/202).

**18 files created** across `zh-CN`, `zh-HK`, and `en`:

| API | SDK Method | Endpoint |
|-----|-----------|----------|
| Business Segments | `business_segments` | `GET
/v1/quote/fundamentals/business-segments` |
| Business Segments History | `business_segments_history` | `GET
/v1/quote/fundamentals/business-segments/history` |
| Institutional Rating Views | `institution_rating_views` | `GET
/v1/quote/ratings/institutional` |
| Industry Ranking | `industry_rank` | `GET /v1/quote/industry/rank` |
| Industry Peer Hierarchy | `industry_peers` | `GET
/v1/quote/industries/peers` |
| Financial Report Snapshot | `financial_report_snapshot` | `GET
/v1/quote/financials/earnings-snapshot` |

## Related PRs

- SDK (Rust): https://github.com/longbridge/openapi/pull/526
- SDK (Go): https://github.com/longbridge/openapi-go/pull/91

## Test plan

- [ ] Preview renders correctly for all 3 locales
- [ ] `<SDKLinks>` components resolve to correct methods
- [ ] `<CliCommand>` blocks display expected CLI invocations
- [ ] Response JSON examples and schema tables are accurate

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

---------

Co-authored-by: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-05-20 16:21:26 +08:00
Jason Lee bb7ecc63d7 cli: Clarify US/HK short selling setup and note HK IRD fee (#1008)
## Summary

- Clarifies that US stocks can be shorted directly with no additional
setup
- Clarifies that HK short selling requires activation via the mobile
app: place first HK short sell order → triggers SBL agreement signing →
wait for approval
- Notes that HK short selling is subject to a fee levied by the Hong
Kong Inland Revenue Department, with details in the in-app agreement
- Documents API error `602301` returned before the HK SBL agreement is
signed
- Updates `docs/{en,zh-CN,zh-HK}/docs/cli/orders/order.md` and
`skills/longbridge/references/cli/overview.md`

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-19 16:34:51 +08:00
Jason Lee 2b0d6b1543 cli: Document short selling activation flow for order sell (#1007)
## Summary

- Adds short selling documentation to
`docs/{en,zh-CN,zh-HK}/docs/cli/orders/order.md` and
`skills/longbridge/references/cli/overview.md`
- Documents that US and HK markets must each be activated separately via
the mobile app before short selling is available via CLI/API/MCP
- Activation flow: place first short sell order in the mobile app →
triggers SBL agreement signing → wait for review approval
- Notes API error `602301` returned before the SBL agreement is signed
- Notes A-share (SH/SZ) short selling is not supported

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-19 16:04:56 +08:00
Jason Lee 68443a212b feat(nav): update FeaturesMenu links to point to feature docs instead of CLI (#1006)
## Summary

- Updated all 9 feature links in `FeaturesMenu.vue` (en/zh-CN/zh-HK) to
point to the corresponding feature documentation pages instead of CLI
command pages
- Fixed `option-quote.md` title from generic "Quotes" to "Option Quotes"
(三语言同步)

## Link mapping

| Feature | Old (CLI) | New (Docs) |
|---------|-----------|------------|
| Live Market Quotes | `/docs/cli/market-data/quote` |
`/docs/quote/pull/quote` |
| Price History | `/docs/cli/market-data/kline` |
`/docs/quote/pull/history-candlestick` |
| Financial Statements | `/docs/cli/fundamentals/financial-report` |
`/docs/fundamental/fundamental/financial-report` |
| Analyst Estimates | `/docs/cli/fundamentals/consensus` |
`/docs/fundamental/fundamental/consensus` |
| Company News | `/docs/cli/content/news` | `/docs/content/news/news` |
| SEC Filings | `/docs/cli/content/filing` | `/docs/quote/pull/filings`
|
| Institutional | `/docs/cli/research/investors` |
`/docs/fundamental/fundamental/fund-holdings` |
| Options & Warrants | `/docs/cli/derivatives/option` |
`/docs/quote/pull/option-quote` |
| Order Execution | `/docs/cli/orders/order` |
`/docs/trade/trade-overview` |

## Test plan

- [ ] 点击导航栏 Features 下拉菜单中的每个功能链接,确认跳转到对应文档页面
- [ ] 验证三语言版本链接均正确

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

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-19 14:43:25 +08:00
Jason Lee 6624dd25c5 docs(quote): clarify SG market real-time quote availability (#1005)
## Summary

Ref #1003

- Replace the SG market code entry with a blockquote note explaining
that Singapore real-time quotes are currently unavailable via Longbridge
Developers (API / CLI / MCP)
- Direct users to the Longbridge client (app or desktop) for SG market
quotes
- Remove SG from the Basic quote permission level description in all
three language versions (en / zh-CN / zh-HK)

## Test plan

- [ ] Verify the note renders correctly as a blockquote in all three
locale pages
- [ ] Confirm the quote permission table looks correct without SG in the
Basic row

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

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-19 14:21:19 +08:00
Jason Lee 0f90b0efbe docs(qa): update paper account to support US options trading (#1002)
## Summary

- 模拟账户现已支持美股期权交易,更新 QA 文档中的品种说明
- 从「不支持」列表移除期权,加入支持品种列表
- 三语言同步更新(en / zh-CN / zh-HK)

## Files Changed

- `docs/en/docs/qa/general.md` — Q4 trading section
- `docs/en/docs/qa/trade.md` — Q4 trading rules
- `docs/zh-CN/docs/qa/general.md`
- `docs/zh-CN/docs/qa/trade.md`
- `docs/zh-HK/docs/qa/general.md`
- `docs/zh-HK/docs/qa/trade.md`

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

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-18 14:27:45 +08:00
Jason Lee fb32a9f35b refactor(docs): reorganize quote/trade/market sidebar structure (#1001)
## Summary

- **Quote restructure**: Split flat `pull/` (25 items) into semantic
groups — `stocks/`, `options/`, `warrants/`, `analytics/`
- **Subscribe**: Merged `push/` into `subscribe/` (renamed to
"Subscribe"); added Overview page explaining WebSocket subscription
model and pull API reference links
- **Market**: Extracted `quote/market/` to standalone top-level
`market/` section (position 3.2) to accommodate future additions like
rankings, screeners, IPO
- **Trade ordering**: Fixed `execution/` (History→Today) and `order/`
(Submit→Today→History→Details→Replace→Cancel→Estimate) sidebar ordering
- **Titles**: Optimized all Quote section titles with proper securities
industry terminology; renamed "Withdraw Order" → "Cancel Order"; "Update
Watchlist Group" → "Manage Group Securities"
- **Watchlist**: Renamed group label and sorted items; `update_group`
title now reflects its actual function (add/remove securities in group)
- **Appendix**: Moved `security_list` to socket appendix as "Overnight
Eligible Securities" with accurate description

## Test plan

- [ ] Build and verify sidebar structure renders correctly
- [ ] Verify existing URLs still resolve (absolute slugs preserved for
moved files)
- [ ] Verify new `/market/*` URLs work
- [ ] Check Subscribe Overview links resolve correctly

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

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-17 19:15:58 +08:00
Hogan 3a8e735e5a docs(cli): v0.21.0 new commands — business-segments, industry-rank, industry-peers, financial-report snapshot, institution-rating --views (#998)
## Summary

Adds documentation for the 5 new commands/flags in CLI v0.21.0.

### New docs (en / zh-CN / zh-HK)
- **`business-segments`** — revenue breakdown by segment, current or
historical
- **`industry-rank`** — industry ranking by market and indicator;
counter_id links to `industry-peers`
- **`industry-peers`** — hierarchical sub-sector tree

### Updated docs
- **`financial-report`** — added `snapshot` subcommand section (AI
earnings summary + beat/miss + peer dates)
- **`institution-rating`** — added `--views` flag section
(month-by-month rating distribution)

### Release notes
- Added v0.21.0 entry to `cli/release-notes.md` (en/zh-CN/zh-HK)

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

Co-authored-by: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-05-15 19:04:14 +08:00
Hogan 61c5a7e05b docs(changelog): CLI v0.21.0 (#997)
## Summary

Adds changelog entry for CLI v0.21.0 (consolidating v0.20.1~v0.20.3),
with MCP v0.3.0 mentioned inline.

### CLI v0.21.0
- Industry Intelligence: `industry-rank`, `industry-peers`
- Revenue Segment Breakdown: `business-segments`
- AI Earnings Snapshot: `financial-report snapshot`
- Analyst Conviction Trends: `institution-rating --views`
- MCP server updated with the same capabilities (133 tools total)

Written for end users — less technical, more about what you can now do.

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

Co-authored-by: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-05-15 18:52:06 +08:00
Jason Lee 9d53a0939e fix(cli): collapse all sidebar groups by default (#995)
## Summary

- CLI docs sidebar 的 `market-data` 和 `quant` 分组之前未设置折叠,导致与其他分组不一致
- 将三个语言版本(en / zh-CN / zh-HK)的这两个分组统一改为 `collapsed: true`,使 CLI sidebar
所有分组默认折叠

## Test plan

- [ ] 访问 CLI 文档页面,确认所有 sidebar 分组默认均为折叠状态

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

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-14 18:54:35 +08:00
Endless 89d39f2be1 feat: sync new SDK APIs from openapi to docs site (#962)
## Summary

Syncs new SDK interfaces introduced in openapi to the developers
documentation site, along with a range of docs, UI, and infrastructure
improvements.

## New API Documentation (EN / zh-CN / zh-HK)

### Quote APIs
- `option_volume` — option volume query
- `option_volume_daily` — daily option volume query
- `short_positions` — short position data
- `update_pinned` — update pinned securities

### Fundamental APIs
- **Calendar**: dividend, earnings, IPO, macro, split calendars
- **Fundamental**: company profile, corporate actions, dividends,
executives, financial reports, fund holdings, ratings, shareholders,
valuations
- **Market**: AH premium, broker positions, index components, market
status, trading stats, unusual items

### Account APIs
- **Alert**: create, delete, list, update alerts
- **DCA** (dollar-cost averaging): create, delete, list, update, history
- **Portfolio**: capital flow, exchange rates, profit analysis (by
market, detail, summary)
- **Sharelist**: create, delete, list, update share lists

## UI / Site Improvements

- **Pricing page**: new tri-locale pricing comparison page for market
data subscription tiers; fixes for responsive layout and static QR code
on mobile
- **FeaturesMenu**: mega-menu dropdown in main nav with 9 financial data
product categories; full i18n support
- **Nav**: moved API Reference from top nav to Docs sidebar (opens in
new tab)
- **Homepage visual polish**: neutral color vars on ArchCanvas, distinct
card accent hues, section border delineation, ProductSkill gradient,
flat GetStarted background
- **Quote permission**: added permission notices across CLI docs, API
docs, and API Reference; removed unreliable client-side permission
status detection
- **Mock login toggle**: dev-only panel to simulate login/logout state;
shared reactive `useLoginState` composable

## Docs Updates

- CLI v0.19.2 release notes + updated `finance-calendar` subcommand
examples
- Corrected quote permission names to match Quote Store (pluralization,
Nasdaq Basic rename)
- Updated skill guide to use CLI-first flow
- Fixed missing zh-HK translations

## Bug Fixes

- Fixed UnoCSS build error from arbitrary `font-feature-settings` class
- Added `result.root` null guard in `postcss.config.mjs` to prevent
PostCSS crash
- Fixed home page footer rendering
- Fixed pricing page build dist

🤖 Auto-generated by Endless.

---------

Co-authored-by: 老袁 Yuan Zhanghong <zhanghong.yuan@longbridge-inc.com>
Co-authored-by: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: Jason Lee <huacnlee@gmail.com>
2026-05-14 18:13:11 +08:00
Jason Lee fc95f91c4d docs(skill): add Claude Code permission tip for Bash(longbridge *) in install guide (#990)
## Summary

- 在 Skill 安装指引(Method A CLI 章节)新增 Claude Code 专属提示
- 说明如何在 `.claude/settings.json` 中配置 `Bash(longbridge *)` 权限,避免 Claude
每次调用 `longbridge` 命令时弹出权限确认
- 三语言版本(en / zh-CN / zh-HK)同步更新

## Test plan

- [ ] 确认三语言页面渲染正常,JSON 代码块格式正确
- [ ] 确认提示位置在 `longbridge auth login` 步骤之后、CLI 文档链接之前

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

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-13 20:57:39 +08:00
Jason Lee fbce460442 docs(cli): CLI v0.20.3 release notes + v0.20.0 changelog backfill (#988)
## Summary

- Add CLI v0.20.3 release notes (3 languages): `analyst-estimates`
removal, HK symbol leading-zero fix, `ipo detail` auto-market detection
- Backfill CLI v0.20.0 changelog entry (3 languages): `ipo` command
group, `financial-statement`, `valuation-rank`, `institution-rating` new
flags, search commands, account commands

## Changes

- `docs/{en,zh-CN,zh-HK}/docs/cli/release-notes.md` — v0.20.3 entry
added at top
- `docs/{en,zh-CN,zh-HK}/docs/changelog.md` — v0.20.0 entry added
(changelog only tracks major versions)

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

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-12 19:53:25 +08:00
Jason Lee 2d318616d5 docs(skill): add JSON config example for MCP server setup (#984)
## Summary

- Add JSON `mcpServers` config block to Method B (MCP) section of the
Skill install guide
- Clarifies that the JSON format works for Claude Desktop, Cursor, Zed,
Gemini CLI, and other JSON-config-based clients
- Updated all three language versions (en, zh-CN, zh-HK)

## Test plan

- [ ] Verify the JSON block renders correctly in the docs
- [ ] Check all three language versions display properly

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

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-12 14:47:57 +08:00
Sunli 7a171bb280 docs(getting-started): add refresh_access_token section for legacy API key
Add a "Refresh Access Token" subsection covering Python, JavaScript,
Rust, Java, and C++ examples. Each example shows refreshing with a
3-year expiry and using the returned token to create a new Config.
2026-05-11 19:57:34 +08:00
Jason Lee dfe3fe41f3 docs(cli): remove analyst-estimates docs and restrict operating to HK stocks (#982)
## Summary

- 删除 `analyst-estimates` 的三语言文档(en/zh-CN/zh-HK),并从 v0.20.0 Release Notes
中移除对应条目
- 在 `operating` 文档中添加 `:::info`
提示说明仅支持港股,并将示例中的美股(AAPL.US、TSLA.US)替换为港股(700.HK、9988.HK)

## Test plan

- [ ] 确认 analyst-estimates 页面已从文档站移除
- [ ] 确认 operating 页面正确显示港股限制提示

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

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-11 19:09:39 +08:00
Jason Lee 011660953b docs: CLI v0.20.2 release notes + Pricing US quote session clarification (#981)
## Summary

- Add CLI v0.20.2 release notes (EN / zh-CN / zh-HK): two bug fixes —
`institution-rating --history` output formatting and IPO date display
(1970 → correct date)
- Pricing comparison table: split the misleading "盘前盘后(夜盘)行情" row into
two distinct rows — "盘前、盘中、盘后行情" (✓ Nasdaq Basic free) and "夜盘行情" (✓ US
LV1 paid only)
- Free tier card note updated to mention Nasdaq Basic covers pre-market,
regular & after-hours sessions
- `quote-permissions.yaml`: add session coverage detail to `depth` and
`kline` command descriptions, consistent with `quote` / `trades` /
`intraday`

## Test plan

- [ ] Verify Pricing page comparison table shows correct checkmarks for
the two new rows
- [ ] Verify release notes appear correctly in all three locales

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

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-11 16:26:21 +08:00
Jason Lee 3b8c6b3442 docs(skill): add AI step-order instruction and update en screenshots (#980)
## Summary

- Add hidden HTML comment at the top of all three locale files (`en` /
`zh-CN` / `zh-HK`) instructing the AI to follow a strict install order —
regardless of user prompts to skip steps:
  1. Install CLI or configure MCP
  2. Complete authentication (`longbridge auth login`)
  3. Verify with "Get the latest price for TSLA" and confirm live data
  4. Only then install the Skill (Step 2)
- Update English screenshots to latest versions for Claude Desktop and
Codex
- Clarify that both **Chat** and **Cowork** modes in Claude Desktop are
restricted (not just Chat)

## Test plan

- [ ] Verify HTML comments are not visible on the rendered page
- [ ] Confirm new screenshots render correctly in the en locale

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

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-11 15:23:46 +08:00
Jason Lee f40ca233fa docs(skill): restructure install guide — CLI/MCP first, add tool restrictions (#978)
## Summary

- Reorder steps: connect to Longbridge platform (CLI or MCP) first,
install Skill second — the old order had Skill as Step 1, which is
useless without data access
- Lead intro with terminal-based AI tools (Claude Code, Codex, opencode,
OpenClaw) as the recommended/quickest path
- Clarify CLI vs MCP framing: CLI = best experience but needs local
install; MCP = easier, just a URL
- Add **Known restrictions by tool** section with clear guidance and
screenshots:
- **Claude Desktop Chat mode**: network whitelist blocks CLI/MCP —
switch to Code tab instead (screenshot added)
- **Codex Cloud mode**: same network restrictions — must select "Work
locally" (screenshot added)
  - **Claude.ai / ChatGPT.com web**: redirect to Claude Desktop Code tab
- Add mainland China accelerated MCP endpoint
(`https://openapi.longbridge.cn/mcp`) to English version
- Rename section heading "Connect your Longbridge account" → "Connect to
the Longbridge platform"
- All changes synced across en / zh-CN / zh-HK

## Test plan

- [ ] Preview skill install page in all three locales
- [ ] Verify screenshots render correctly
- [ ] Check all links resolve (CLI reference, Claude Desktop download)

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

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-11 14:55:10 +08:00
Jason Lee fd22a9876e fix(docs): correct CliCommand examples to use valid CLI subcommands (#974)
## Summary

- Trade commands (`buy`, `sell`, `cancel`, `replace`, `executions`,
`orders`) were missing the `order` parent command prefix — all now use
`longbridge order <subcommand>`
- `longbridge order <id>` → `longbridge order detail <id>`
- `longbridge topics SYMBOL` → `longbridge topic SYMBOL` (no trailing
`s`)
- `longbridge capital dist/flow SYMBOL` → `longbridge capital SYMBOL` /
`longbridge capital SYMBOL --flow` (`dist`/`flow` are not valid
subcommands)
- `longbridge topic create SYMBOL "body"` → `longbridge topic create
--body "..." --tickers SYMBOL` (positional args not supported)
- `longbridge watchlist update <id> --add A B` → `--add A --add B`
(`--add` is not multi-value, must be repeated)

## Test plan

- [ ] Verified each corrected command format against `longbridge <cmd>
--help`
- [ ] All 13 files updated; only `docs/en/` affected (zh-CN / zh-HK
counterparts do not exist)

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

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-11 11:49:08 +08:00
Hogan 0d241141d8 docs(skill): update install guide with correct repo and Claude Code plugin (#967)
## Summary

- Fix npx/bunx install address: `longbridge/developers` →
`longbridge/skills`(remove `-y` flag too)
- Add Claude Code plugin install as the first/recommended option for
Claude Code users:
  ```
  /plugin marketplace add longbridge/skills
  /plugin install longbridge@longbridge-skills
  ```
- Change "Two ways" → "Three ways" in all three locales (en / zh-CN /
zh-HK)

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

Co-authored-by: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-05-08 22:00:10 +08:00
Jason Lee e339c90caf docs(cli): v0.20.0 new commands documentation (#965)
## Summary

- New `ipo` command group docs (subscriptions, wait-listing, listed,
calendar, detail, orders, profit-loss; HK + US variants)
- New `financial-statement` command doc (detailed hierarchical IS/BS/CF
with YoY)
- New `valuation-rank` command doc (daily PE/PB/PS industry percentile
rank)
- New `analyst-estimates` command doc (EPS consensus estimates)
- New `bank-cards`, `withdrawals`, `deposits` account command docs
- Updated `institution-rating` with `--history` and `--industry-rank`
examples
- Updated `news` and `topic` with `search` subcommand examples
- Updated `portfolio` with `short-margin` subcommand
- Added v0.20.0 Release Notes (en/zh-CN/zh-HK)

All documentation is trilingual (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-05-08 21:05:29 +08:00
Hogan 11e9d004a3 ci(skill): pack longbridge.zip from longbridge/skills@main (#934)
## Summary

- Build now clones `longbridge/skills@main` and packs its `skills/`
contents into `longbridge.zip`, instead of zipping the local
`skills/longbridge/` folder.
- Fails the build if the clone fails or the upstream `skills/` directory
is missing — the published zip can no longer go silently stale.
- Each upstream skill (`longbridge-capital-flow`, `longbridge-depth`, …)
becomes a top-level entry in the zip, so unzip directly into
`.claude/skills/` keeps working.

## Test plan

- [ ] CI build passes and uploads `longbridge.zip`
- [ ] `unzip -l longbridge.zip` shows the upstream `longbridge-*` skill
folders at the top level
- [ ] Manually break the clone (e.g. wrong URL) locally and confirm the
build aborts with the new error message

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

Co-authored-by: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-05-08 20:04:34 +08:00
Jason Lee b57d909a6f Fix pricing page build dist. (#959) 2026-05-08 10:51:18 +08:00
Jason Lee e772d79d17 fix(pricing): fix UnoCSS build errors and update page titles (#955)
## Summary

- Fix UnoCSS build error: `[font-feature-settings:'tnum']` arbitrary
class causes "Unknown word tnum&" — moved to static `style` attribute
- Fix PostCSS crash: add `result.root` null guard in
`postcss.config.mjs`
- Simplify pricing page frontmatter titles to "Pricing / 定价 / 定價"

## Test plan

- [ ] Verify `bun run build:release` completes without errors
- [ ] Verify pricing page renders correctly in all three locales

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

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-07 21:46:36 +08:00