@ftshare-lab/dsh-kline 0.6.10 → 0.6.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,16 @@
2
2
 
3
3
  本项目遵循 [Semantic Versioning](https://semver.org/lang/zh-CN/)。
4
4
 
5
+ ## 未发布
6
+
7
+ ## 0.6.11 - 2026-11-13
8
+
9
+ - README 在 npm 版本徽章旁显示自动更新的近一个月下载量;中英文与公开插件目录同步。
10
+ - 新增可选宿主面板挂载与界面偏好契约:宿主可复用图表、联动标的选择,并按需关闭浮动入口和首启提示;独立安装保留默认行为。
11
+ - 修复宿主面板重复挂载与清理的归属:每次挂载独立释放,旧清理函数不会误删新图表;支持槽位服务重连,并补充生命周期回归测试。
12
+ - 重写中英文 README:在首页列明十二类绘图及自动/手动操作,恢复最近的 ABC 与下降通道实测,保留高清大盘、主图对比和箱体突破展示。
13
+ - 补充 npm 安装入口;市场截图清单优先展示 ABC、通道与高清形态实例。
14
+
5
15
  ## 0.6.10 - 2026-11-11
6
16
 
7
17
  - 修复 DSH 0.2 工具返回成功但原生 K 线标签不自动打开:兼容宿主的独立 `role: tool` 结果消息,保留旧版结果格式与调用归属校验。
package/README.en.md CHANGED
@@ -1,49 +1,109 @@
1
1
  # FT K-Line · 非凸 K 线助手
2
2
 
3
- Explore markets, analyze price action, and draw directly on charts through **DeepSeek Harness** or **Codex**.
3
+ Explore market data in **DeepSeek Harness** and **Codex**. Analyze, draw, and revise charts through natural language, or pick anchors on the chart yourself.
4
4
 
5
5
  [简体中文](README.md) · English
6
6
 
7
- [![Cross-platform tests](https://github.com/FTShare-Lab/dsh_kline/actions/workflows/install.yml/badge.svg?branch=main)](https://github.com/FTShare-Lab/dsh_kline/actions/workflows/install.yml) [![Release](https://img.shields.io/github/v/release/FTShare-Lab/dsh_kline?label=Release)](https://github.com/FTShare-Lab/dsh_kline/releases) [![MIT](https://img.shields.io/github/license/FTShare-Lab/dsh_kline)](LICENSE)
7
+ [![Cross-platform tests](https://github.com/FTShare-Lab/dsh_kline/actions/workflows/install.yml/badge.svg?branch=main)](https://github.com/FTShare-Lab/dsh_kline/actions/workflows/install.yml) [![npm](https://img.shields.io/npm/v/%40ftshare-lab%2Fdsh-kline?label=npm)](https://www.npmjs.com/package/@ftshare-lab/dsh-kline) [![npm monthly downloads](https://img.shields.io/npm/dm/%40ftshare-lab%2Fdsh-kline?label=downloads%2Fmonth)](https://www.npmjs.com/package/@ftshare-lab/dsh-kline) [![Latest release](https://img.shields.io/github/v/release/FTShare-Lab/dsh_kline?label=Release)](https://github.com/FTShare-Lab/dsh_kline/releases) [![MIT](https://img.shields.io/github/license/FTShare-Lab/dsh_kline)](LICENSE)
8
8
 
9
- [Explore](#explore) · [Install](#install) · [Get started](#get-started) · [Data and scope](#data-and-scope) · [Documentation](#documentation)
9
+ [Drawing tools](#supported-drawing-tools) · [ABC and channel examples](#natural-language-drawing-in-action) · [Drawing workbench](#drawing-workbench-and-price-patterns) · [Market and comparison](#market-overview-and-chart-comparison) · [Install](#install) · [Documentation](#documentation)
10
10
 
11
- > This page describes **v0.6.10**. Published packages are listed in [Releases](https://github.com/FTShare-Lab/dsh_kline/releases); see the [npm guide](docs/npm-release.md) for publication and installation details.
11
+ Current release: **v0.6.11**. npm package: **`@ftshare-lab/dsh-kline`**. Drawings appear directly and remain when the controls are closed. Switch candidates, continue editing, or clear them yourself.
12
12
 
13
- ## Explore
13
+ ## Supported drawing tools
14
14
 
15
- ### Compare performance on the main chart
15
+ Chat and the chart panel use the same drawing capabilities. Automatic drawing uses the **latest closed daily bars already loaded in the current chart** and selects the newest qualifying candidate by default. You can also choose a candidate or specify dates and prices.
16
16
 
17
- Overlay stocks, indices, or ETFs as background lines while retaining the main symbol's candles and indicators. Search for symbols or choose an index shortcut; hide or remove each comparison independently.
17
+ | Drawing tool | Automatic drawing | Manual anchors and natural-language control |
18
+ | --- | --- | --- |
19
+ | **Horizontal line** | Find recent high/low pivot price candidates | Specify a price or select a candle; use it as support, resistance, or a custom level |
20
+ | **Trend line** | Find a qualifying recent two-anchor move | Specify two times and prices; create or adjust the segment |
21
+ | **Parallel channel** | Find recent channel candidates | Select three anchors; adjust boundaries and the optional midpoint |
22
+ | **Range box** | Find recent ranges meeting boundary-contact and drift rules | Select the interval and upper/lower boundaries; edit the name, color, and fill |
23
+ | **Fibonacci retracement** | Find anchors from recent swings | Specify endpoints and ratios; edit or remove the group together |
24
+ | **ABC swing / wave labels** | Find 0/A/B/C swing candidates meeting geometric rules | Pick anchors or have the host verify them before drawing; revise a named point |
25
+ | **Double top** | Identify the structure and its subsequent state | Supply structural anchors, subject to the same recognition rules |
26
+ | **Double bottom** | Identify the structure and its subsequent state | Supply structural anchors, subject to the same recognition rules |
27
+ | **Head and shoulders top** | Identify shoulders, head, and neckline | Supply five structural anchors and validate the pattern |
28
+ | **Head and shoulders bottom** | Identify the inverse structure and neckline | Supply five structural anchors and validate the pattern |
29
+ | **Platform breakout / failure** | Freeze range boundaries and mark pending, confirmed, or failed breakouts | Use a range box for a manually chosen interval; states come from price analysis |
30
+ | **Nine Count** | Display upward/downward 1–9 counts and update with chart data | Counts are calculated from prices; adjust the display range and style |
18
31
 
19
- [![Shanghai Composite candles with CSI 300 and ChiNext overlays](docs/images/main-chart-comparison-v0.6.9.png)](docs/images/main-chart-comparison-v0.6.9.png)
32
+ **ABC candidates and labels are not a complete Elliott-wave recognizer.** Price patterns and Nine Count currently support closed daily bars for A-share, Hong Kong, and US stocks. When no candidate qualifies, the tool explains that instead of forcing a drawing.
20
33
 
21
- *Shanghai Composite daily candles with CSI 300 and ChiNext. Lines are normalized to the shared baseline shown in the legend to compare cumulative returns, rather than raw prices. Comparison lines have no additional indicators. Click an image for the original.*
34
+ ### Indicators and additional annotations
22
35
 
23
- ### Start with the wider market
36
+ - **Indicator panel:** SMA, EMA, VOL, MACD, KDJ, RSI, BOLL, ATR, and VWAP. Selected SMA/EMA/BOLL results can also be added as independent objects through the host.
37
+ - **Chat-driven annotations:** text, numbers, arrows, diamonds, and labeled polylines. Continue editing by object name or named point.
38
+ - **Advanced tool interfaces:** conditional price series, price bands, and conditional sticks. See [function and drawing coverage](docs/chart-functions.md) for inputs, display behavior, and limits.
39
+ - **Object management:** create, rename, recolor, update anchors, and delete; multiple objects can coexist on one chart. The 201 TA-Lib functions support queries and calculations; only implemented drawing and indicator families can be put on the chart.
24
40
 
25
- Browse major mainland China, Hong Kong, and US indices alongside sector rankings and unusual-trading lists. Open a symbol to continue with its chart, news, and company information.
41
+ ## Natural-language drawing in action
26
42
 
27
- [![Major indices, sector rankings, and unusual-trading lists](docs/images/market-overview-v0.6.9.png)](docs/images/market-overview-v0.6.9.png)
43
+ ### Verify an ABC candidate, then draw its anchors
28
44
 
29
- ### Draw automatically or choose your own anchors
45
+ DeepSeek checks Wolong Electric's four 0/A/B/C anchors against daily candles before drawing through the plugin. The full capture preserves both the conversation and the visible result.
30
46
 
31
- **Draw** brings together horizontal levels, trend lines, parallel channels, range boxes, Fibonacci retracements, ABC annotations, double tops/bottoms, head-and-shoulders patterns, platform breakout/failure states, and basic nine-counts. Draw the latest eligible result, choose another candidate, or pick anchors manually. Closing the controls preserves drawings; **Clear** removes them.
47
+ [![Natural-language ABC drawing: the conversation verifies four anchors while the daily chart displays the 0/A/B/C polyline and labels](docs/images/natural-language-abc-wolong-2026-10-27.png)](docs/images/natural-language-abc-wolong-2026-10-27.png)
32
48
 
33
- [![MSFT daily platform box with its upward breakout confirmation](docs/images/platform-breakout-msft-v0.6.9.png)](docs/images/platform-breakout-msft-v0.6.9.png)
49
+ ### Continue by adding a descending channel
34
50
 
35
- *MSFT daily chart: the platform spans August 28–September 25, with an upward breakout confirmed on October 6. Subsequent candles do not expand the frozen box. This is a rule-based finding, not a return forecast.*
51
+ A follow-up request adds parallel channel boundaries after the host checks their anchors. The existing ABC labels remain on the same chart.
36
52
 
37
- These are actual **DSH Web captures from November 11, 2026**, saved as lossless PNGs at native Retina resolution. Prices are snapshots. Codex Desktop shares the calculations and displays charts in an App card; appearance depends on the host.
53
+ [![Natural-language descending channel: the daily chart retains its ABC labels and adds the channel boundaries](docs/images/natural-language-descending-channel-wolong-2026-10-27.png)](docs/images/natural-language-descending-channel-wolong-2026-10-27.png)
38
54
 
39
- | Capability | What you can do |
55
+ The two full captures above are from October 27, 2026 and retain the conversation and interface from that session. Click an image for its original resolution; current drawing controls are described below.
56
+
57
+ Example requests:
58
+
59
+ ```text
60
+ Open Wolong Electric's daily chart. Verify a recent ABC swing candidate and draw it if it qualifies.
61
+ Add a descending channel to the same chart, keeping the ABC labels.
62
+ Draw the newest qualifying double bottom and explain its current state.
63
+ Show Nine Count for the latest 30 closed daily bars.
64
+ Make “Key support” blue and move it to 30.8.
65
+ ```
66
+
67
+ An analysis request returns analysis. An explicit drawing request puts the result on the chart. Specified anchors and candidate choices take priority.
68
+
69
+ ## Drawing workbench and price patterns
70
+
71
+ Open **Draw** → select a tool → **Draw now**. Use **Pick anchors manually** to select your own points and **Settings** to adjust parameters. Drawings appear directly, without a separate save step. Closing or collapsing the controls preserves them; **Clear** is inside the drawing panel.
72
+
73
+ ### Range formation, breakout, and failure states
74
+
75
+ MSFT daily example: the range forms from August 28 to September 25, with an upward breakout confirmed on October 6. The chart shows its boundaries and actual confirmation date; subsequent prices do not enlarge the frozen range.
76
+
77
+ [![MSFT daily platform range with its upward breakout confirmation date](docs/images/platform-breakout-msft-v0.6.9.png)](docs/images/platform-breakout-msft-v0.6.9.png)
78
+
79
+ Double tops/bottoms and head-and-shoulders patterns likewise show necklines and candidate, confirmation, or failure states. Nine Count displays individual counts; it does not include a full DeMARK 13 Countdown. See [pattern rules](docs/price-pattern-rules-v1.md).
80
+
81
+ ## Market overview and chart comparison
82
+
83
+ ### Put comparison lines in the main candlestick chart
84
+
85
+ Search for stocks, indices, or ETFs and overlay their price-performance lines behind the main chart. The primary symbol retains its candles and indicators. Hide or remove comparison lines independently.
86
+
87
+ [![Shanghai Composite candles with CSI 300 and ChiNext comparison lines](docs/images/main-chart-comparison-v0.6.9.png)](docs/images/main-chart-comparison-v0.6.9.png)
88
+
89
+ *Lines use a common normalization baseline to compare cumulative percentage changes. They do not compare raw prices across symbols or calculate technical indicators for the comparison lines.*
90
+
91
+ ### Market overview
92
+
93
+ Browse major A-share, Hong Kong, and US indices, sector rankings, and unusual-trading lists. Select a symbol to continue in its chart and research panels.
94
+
95
+ [![Market overview with major indices, sector rankings, and unusual trading](docs/images/market-overview-v0.6.9.png)](docs/images/market-overview-v0.6.9.png)
96
+
97
+ The market, comparison, and MSFT platform captures preserve native Retina pixels as lossless PNGs. Prices are snapshots from capture time.
98
+
99
+ ## Levels, review, and research
100
+
101
+ | Feature | What it does |
40
102
  | --- | --- |
41
- | Indicators | SMA, EMA, VOL, MACD, KDJ, RSI, BOLL, ATR, VWAP |
42
- | Natural-language drawing | Create, edit, recolor, rename, or delete specific drawings on the same chart as the workbench |
43
- | Levels and review | Analyze support/resistance, add custom levels, review interval returns and drawdown |
44
- | Market research | Indices, sectors, news, company information, unusual trading; subject to coverage and permissions |
45
- | Watchlists | Favorites, groups, sorting, importing, batch opening; DSH retains them across conversations |
46
- | Technical functions | Query and calculate 201 TA-Lib functions; selected SMA/EMA/BBANDS results support guarded drawing |
103
+ | **Support and resistance** | Analyze reference prices in Levels, add custom levels, and draw them on the current chart |
104
+ | **Interval review** | Inspect interval returns and drawdown alongside the chart |
105
+ | **News and company information** | Read symbol news, company information, and research panels, subject to source coverage and permissions |
106
+ | **Watchlists and groups** | Save, group, sort, import, and open symbols in batches; DSH retains these across conversations |
47
107
 
48
108
  ## Install
49
109
 
@@ -51,13 +111,23 @@ Supports macOS, Linux, and native Windows. First launch downloads dependencies a
51
111
 
52
112
  ### DeepSeek Harness
53
113
 
54
- Install a working DSH Web host and **Python 3.11+**, then find `dsh_kline` in the plugin marketplace or run:
114
+ Install a working DSH Web host and **Python 3.11+**, then run:
115
+
116
+ ```bash
117
+ dsh plugin --profile web add @ftshare-lab/dsh-kline@0.6.11
118
+ ```
119
+
120
+ GitHub installation is also available:
55
121
 
56
122
  ```bash
57
123
  dsh plugin --profile web add github:FTShare-Lab/dsh_kline
58
124
  ```
59
125
 
60
- Enable it, then click **K** on the right or request analysis in chat. Better Sidebar is optional; the regular sidebar works without it.
126
+ You can also find `dsh_kline` in the plugin marketplace. Its version and download information depend on catalog synchronization. See the [npm package](https://www.npmjs.com/package/@ftshare-lab/dsh-kline) for the published version; downloads are not unique installations.
127
+
128
+ [![dsh_kline installation and update entry in the plugin marketplace](docs/images/dsh-market.png)](docs/images/dsh-market.png)
129
+
130
+ After enabling it, click **K** or request analysis in chat. Newer DSH versions provide native right-sidebar tabs without Better Sidebar. Choose **UI → Workspace tab**, or continue using the classic K sidebar. v0.6.10's native auto-open was tested on DSH 0.2.1-rc.5, a prerelease host.
61
131
 
62
132
  ### Codex
63
133
 
@@ -68,49 +138,34 @@ codex plugin marketplace add FTShare-Lab/dsh_kline --ref main
68
138
  codex plugin add ft-kline@ftshare
69
139
  ```
70
140
 
71
- Reopen Codex and ask “Open China Merchants Bank's daily chart.” FTShare is this project's public GitHub plugin source; it is not listed in the official public plugin directory.
141
+ Reopen Codex and ask “Open China Merchants Bank's daily chart.” FTShare is this project's public GitHub plugin source.
72
142
 
73
143
  | Host | Interactive chart and manual drawing | Chat-driven drawing | Quotes and structured analysis |
74
144
  | --- | --- | --- | --- |
75
145
  | DSH Web | Yes | Yes | Yes |
76
146
  | Codex Desktop | Inside an App card | Yes | Yes |
77
- | Codex CLI | Unavailable | No chart writes | Yes |
78
-
79
- For updates, fixed-release ZIPs, migration, credentials, and troubleshooting, see the [complete guide](docs/guide.en.md).
80
-
81
- ## Get started
82
-
83
- **Ask in chat:**
84
-
85
- ```text
86
- Open Tencent's daily chart and analyze its volume, MACD, and RSI over the last month.
87
- Draw a blue horizontal line at 31.2 called “Key support”.
88
- Move Key support to 30.8; leave the other drawings unchanged.
89
- Find and draw the latest eligible double bottom; explain its current state.
90
- ```
91
-
92
- **Use the workbench:** Search a symbol → choose a range and timeframe → enable indicators → choose a tool under **Draw** and click **Draw now**. Use **Pick anchors manually** for your own points and **Settings** for parameters. Drawings appear directly without a separate save step.
147
+ | Codex CLI | No canvas | No chart writes | Yes |
93
148
 
94
- **Levels** analyzes support/resistance; **Compare** adds background lines. Controls that do not fit move into the row's overflow menu. Closing a panel does not delete drawings. See [chat-driven drawing examples](docs/drawing-examples.en.md).
149
+ See the [complete guide](docs/guide.en.md) for pinned archives, updates, migration, and startup troubleshooting.
95
150
 
96
151
  ## Data and scope
97
152
 
98
- - **Sources:** Configure and test an FTShare key under **Settings → Data source**. Without a key, supported A-share, HK/US daily-history and index fallbacks can be tried; public-source coverage varies. Intraday data, news, and company information depend on the corresponding permissions.
99
- - **Patterns and nine-counts:** Currently use loaded, closed daily bars for mainland China, HK, and US equities. ABC provides annotations and candidate assistance, not professional Elliott-wave recognition. Basic nine-counts do not include the full DeMARK 13 Countdown.
100
- - **Drawings and state:** Anchors must match actual loaded candles. Unverified sources, expired results, or ambiguous active views stop edits. Drawing restoration across service restarts, mouse dragging, and undo are not supported.
101
- - **Host differences:** DSH watchlists persist at user level. Codex charts, watchlists, and App-entered keys remain in connection memory and do not inherit DSH configuration.
153
+ - **Sources:** FTShare can be configured and tested under Settings → Data source. Without a key, selected A-share, Hong Kong, US, and index historical daily sources may be available; coverage depends on the public provider.
154
+ - **Permissions and periods:** minute bars, news, and company information depend on the source and permissions. Automatic drawing, patterns, and Nine Count currently use loaded, closed daily bars for A-share, Hong Kong, and US stocks.
155
+ - **Editing:** drawings use real candles in the current chart. Unknown sources, expired results, or ambiguous active views stop edits with an explanation. Dragging anchors and undo are not currently supported.
156
+ - **Retention:** DSH watchlists and groups persist across conversations. Codex charts, watchlists, and temporary App keys remain in the current connection's memory and do not inherit DSH settings. Drawing recovery across service restarts is not guaranteed.
102
157
 
103
- Quotes may be delayed; technical analysis is for research and learning. See [keyless coverage](docs/anonymous-market-support.md) and the [HK/US daily-data contract](docs/free-foreign-daily.md).
158
+ Market data may be delayed. Patterns and counts support research and review, without guaranteed trading returns. See [key-less coverage](docs/anonymous-market-support.md) and [free Hong Kong/US daily sources](docs/free-foreign-daily.md).
104
159
 
105
160
  ## Documentation
106
161
 
107
- | Topic | Guide |
162
+ | Topic | Link |
108
163
  | --- | --- |
109
- | Installation, updates, credentials, troubleshooting | [Complete guide](docs/guide.en.md) |
110
- | Automatic drawing and extensions | [Shared drawing architecture](docs/automatic-drawing.md) |
164
+ | Install, updates, keys, troubleshooting | [Complete guide](docs/guide.en.md) |
165
+ | Automatic drawing and extension | [Shared drawing architecture](docs/automatic-drawing.md) |
111
166
  | Pattern definitions and real samples | [Rules](docs/price-pattern-rules-v1.md) · [Samples](docs/price-pattern-samples-v1.md) |
112
- | Technical functions | [Read-only and drawable functions](docs/chart-functions.md) |
113
- | Host and data integration | [Embedding](docs/embedding.md) · [Provider adaptation](docs/provider-adaptation.md) |
114
- | Releases and verification | [Changelog](CHANGELOG.md) · [v0.6.9 release notes](docs/release-notes-v0.6.9.md) · [Acceptance](docs/release-acceptance-v0.6.9.md) |
167
+ | Technical functions and advanced annotations | [Function and drawing coverage](docs/chart-functions.md) |
168
+ | Host and provider integration | [Embedding](docs/embedding.md) · [Provider adaptation](docs/provider-adaptation.md) |
169
+ | Releases and acceptance | [Changelog](CHANGELOG.md) · [v0.6.11 release notes](docs/release-notes-v0.6.11.md) · [Acceptance](docs/release-acceptance-v0.6.11.md) |
115
170
 
116
171
  [MIT License](LICENSE) · [Frontend provenance](PROVENANCE.md) · [GitHub Releases](https://github.com/FTShare-Lab/dsh_kline/releases)
package/README.md CHANGED
@@ -1,49 +1,109 @@
1
1
  # 非凸 K 线助手 · FT K-Line
2
2
 
3
- 在 **DeepSeek Harness** 与 **Codex** 中看行情、分析走势,用自然语言或绘图工具直接操作图表。
3
+ 在 **DeepSeek Harness** 与 **Codex** 中查看行情,用自然语言分析、绘图和继续修改,也可以亲自在图上选点。
4
4
 
5
5
  简体中文 · [English](README.en.md)
6
6
 
7
- [![跨平台测试](https://github.com/FTShare-Lab/dsh_kline/actions/workflows/install.yml/badge.svg?branch=main)](https://github.com/FTShare-Lab/dsh_kline/actions/workflows/install.yml) [![最新发布](https://img.shields.io/github/v/release/FTShare-Lab/dsh_kline?label=Release)](https://github.com/FTShare-Lab/dsh_kline/releases) [![MIT](https://img.shields.io/github/license/FTShare-Lab/dsh_kline)](LICENSE)
7
+ [![跨平台测试](https://github.com/FTShare-Lab/dsh_kline/actions/workflows/install.yml/badge.svg?branch=main)](https://github.com/FTShare-Lab/dsh_kline/actions/workflows/install.yml) [![npm](https://img.shields.io/npm/v/%40ftshare-lab%2Fdsh-kline?label=npm)](https://www.npmjs.com/package/@ftshare-lab/dsh-kline) [![npm 月下载量](https://img.shields.io/npm/dm/%40ftshare-lab%2Fdsh-kline?label=downloads%2Fmonth)](https://www.npmjs.com/package/@ftshare-lab/dsh-kline) [![最新发布](https://img.shields.io/github/v/release/FTShare-Lab/dsh_kline?label=Release)](https://github.com/FTShare-Lab/dsh_kline/releases) [![MIT](https://img.shields.io/github/license/FTShare-Lab/dsh_kline)](LICENSE)
8
8
 
9
- [功能展示](#功能展示) · [安装](#安装) · [开始使用](#开始使用) · [数据与适用范围](#数据与适用范围) · [文档](#文档)
9
+ [绘图清单](#支持哪些绘图) · [ABC 与通道实测](#自然语言绘图实测) · [绘图工作台](#绘图工作台与价格形态) · [大盘与对比](#大盘与主图对比) · [安装](#安装) · [文档](#文档)
10
10
 
11
- > 本页对应 **v0.6.10**。正式安装包以 [Releases](https://github.com/FTShare-Lab/dsh_kline/releases) 为准;npm 发布与安装说明见[发布指南](docs/npm-release.md)。
11
+ 当前发布版本 **v0.6.11**,npm 包名 **`@ftshare-lab/dsh-kline`**。图形直接显示,关闭工具面板后保留;用户可切换候选、继续修改或清除。
12
12
 
13
- ## 功能展示
13
+ ## 支持哪些绘图
14
14
 
15
- ### 在主图中比较走势
15
+ 对话和图表面板使用同一套绘图能力。自动绘图以**当前已加载的最近已收盘日线**为准,默认显示最新合格候选;也可以指定候选、日期和点位。
16
16
 
17
- 把个股、指数或 ETF 的折线叠加在 K 线背景中,保留主标的的蜡烛图与指标。搜索添加、快捷选择常用指数,也可单独隐藏或移除对比线。
17
+ | 绘图工具 | 自动绘图 | 手动选点与自然语言操作 |
18
+ | --- | --- | --- |
19
+ | **水平线** | 查找近期高点/低点作为价位候选 | 指定价格,或点选 K 线;可作为支撑、压力或自定义价位 |
20
+ | **趋势线** | 查找近期符合条件的两点走势 | 指定两个时间与价位,创建或调整线段 |
21
+ | **平行通道** | 查找近期通道候选 | 选择三个锚点,调整边界及中线样式 |
22
+ | **平台框/箱体** | 查找符合边界接触与漂移条件的近期区间 | 框定时间和上下边界,调整名称、颜色及填充 |
23
+ | **斐波那契回撤** | 从近期波段寻找锚点 | 指定波段起终点及回撤比例,整组修改或删除 |
24
+ | **ABC 波段/ABC 浪标注** | 查找符合几何条件的 0/A/B/C 波段候选 | 自选锚点,或让宿主核对后落图;可单独修改指定点 |
25
+ | **双顶** | 识别顶部结构及后续状态 | 手动指定结构锚点,仍需满足识别规则 |
26
+ | **双底** | 识别底部结构及后续状态 | 手动指定结构锚点,仍需满足识别规则 |
27
+ | **头肩顶** | 识别双肩、头部与颈线 | 手动指定五个结构锚点,并校验形态 |
28
+ | **头肩底** | 识别反向头肩结构与颈线 | 手动指定五个结构锚点,并校验形态 |
29
+ | **平台突破/失效** | 冻结平台边界,标示待确认、突破确认及失效状态 | 自选区间使用普通平台框;状态由行情分析得出 |
30
+ | **九转计数** | 逐根显示上涨/下跌 1–9;行情变化后更新 | 由行情自动计数,可调整显示范围与样式 |
18
31
 
19
- [![上证指数主图与沪深300、创业板指对比](docs/images/main-chart-comparison-v0.6.9.png)](docs/images/main-chart-comparison-v0.6.9.png)
32
+ **ABC 是波段几何候选与折线标注,不等于完整艾略特波浪识别。** 价格形态与九转当前支持 A/港/美股已收盘日线;找不到合格候选时会说明原因,不强行绘制。
20
33
 
21
- *上证指数日 K,叠加沪深300与创业板指。对比线按图例中的共同基准归一化,比较累计涨跌幅,不直接比较价格,也不计算对比标的的指标。点击图片查看原图。*
34
+ ### 指标与更多标注
22
35
 
23
- ### 从大盘进入个股
36
+ - **指标面板:** SMA、EMA、VOL、MACD、KDJ、RSI、BOLL、ATR、VWAP。SMA/EMA/BOLL 也支持由宿主计算并添加为独立指标对象。
37
+ - **自然语言标注:** 文字、数值、箭头与菱形图标、带标签折线;支持按名称或指定点继续修改。
38
+ - **进阶工具接口:** 条件价格序列、价带与条件柱线。具体输入、显示范围及限制见[函数与绘图说明](docs/chart-functions.md)。
39
+ - **图形管理:** 创建、改名、改色、更新锚点、删除;同一张图可叠加多个对象。201 个 TA-Lib 函数可查询计算,只有已接入的图形与指标支持落图。
24
40
 
25
- 一页浏览 A/港/美主要指数、板块排行与龙虎榜,点击标的进入图表,继续研究行情、资讯和公司资料。
41
+ ## 自然语言绘图实测
26
42
 
27
- [![大盘概览:主要指数、板块排行与龙虎榜](docs/images/market-overview-v0.6.9.png)](docs/images/market-overview-v0.6.9.png)
43
+ ### ABC 候选:核对锚点后画到图上
44
+
45
+ DeepSeek 核对卧龙电驱日 K 的 0/A/B/C 四个锚点,再通过插件绘制。完整截图同时保留了左侧对话与右侧实际图形。
46
+
47
+ [![自然语言绘制卧龙电驱 ABC:对话核对四个锚点,日 K 图显示 0、A、B、C 折线和标签](docs/images/natural-language-abc-wolong-2026-10-27.png)](docs/images/natural-language-abc-wolong-2026-10-27.png)
48
+
49
+ ### 在同一张图上继续添加下降通道
50
+
51
+ 继续提出绘图请求,宿主核对通道锚点后添加平行边界,原有 ABC 标注保留。
52
+
53
+ [![自然语言追加下降通道:日 K 主图同时保留 ABC 标注与通道边界](docs/images/natural-language-descending-channel-wolong-2026-10-27.png)](docs/images/natural-language-descending-channel-wolong-2026-10-27.png)
54
+
55
+ 以上两张为 2026-10-27 的完整实测截图,保留当时的对话和界面。点击图片可查看原图;当前绘图操作见下文。
56
+
57
+ 可以这样提出需求:
58
+
59
+ ```text
60
+ 打开卧龙电驱日 K,核对最近一个 ABC 波段候选,符合条件就画出来。
61
+ 在同一张图上添加下降通道,保留已有 ABC 标注。
62
+ 找最近一个符合规则的双底并画出来,说明现在处于什么状态。
63
+ 显示最近 30 根已收盘日线的九转计数。
64
+ 把“关键支撑”改成蓝色,并移到 30.8 元。
65
+ ```
66
+
67
+ 请求“分析”时返回分析;明确请求“画出来”时直接绘制。用户指定点位或候选时,优先使用其选择。
68
+
69
+ ## 绘图工作台与价格形态
70
+
71
+ 点击 **绘图** → 选择工具 → **绘图**。需要自行指定锚点时使用 **手动选点**,通过 **设置** 调整参数;图形直接展示,无需另行保存。关闭或收起面板不会删除图形,**清除** 位于绘图面板内。
72
+
73
+ ### 箱体形成、突破与失效状态
74
+
75
+ 微软日 K 实例:08/28—09/25 形成平台,10/06 确认上破。图上展示箱体边界与实际确认日期;后续行情不会扩大已经冻结的箱体。
76
+
77
+ [![微软日 K 的平台箱体与上破确认日](docs/images/platform-breakout-msft-v0.6.9.png)](docs/images/platform-breakout-msft-v0.6.9.png)
78
+
79
+ 双顶/底、头肩顶/底同样显示颈线及候选、确认、失效等状态。九转显示逐根计数,基础九转不包含完整 DeMARK 13 Countdown。定义与适用范围见[形态规则](docs/price-pattern-rules-v1.md)。
80
+
81
+ ## 大盘与主图对比
28
82
 
29
- ### 自动绘图,也支持自己选点
83
+ ### 把对比折线放进 K 线主图
30
84
 
31
- 「绘图」统一提供水平线、趋势线、平行通道、平台框、斐波那契、ABC 标注、双顶/底、头肩顶/底、平台突破/失效和基础九转。选择工具后绘制最近合格结果,也可切换候选或手动选点。关闭工具栏保留图形,通过「清除」移除。
85
+ 搜索添加个股、指数或 ETF,将其走势作为背景折线叠加在主图中。主标的继续显示蜡烛图与指标,对比线可以分别隐藏或移除。
32
86
 
33
- [![微软日 K 平台箱体与上破确认日](docs/images/platform-breakout-msft-v0.6.9.png)](docs/images/platform-breakout-msft-v0.6.9.png)
87
+ [![上证指数主图叠加沪深300、创业板指对比折线](docs/images/main-chart-comparison-v0.6.9.png)](docs/images/main-chart-comparison-v0.6.9.png)
34
88
 
35
- *微软日 K:08/28—09/25 形成平台,10/06 确认上破。平台边界冻结后不被后续行情扩大。截图展示规则识别结果,不代表收益预测。*
89
+ *对比线按共同基准归一化,比较累计涨跌幅;不直接比较不同标的的绝对价格,也不为对比线计算技术指标。*
36
90
 
37
- 以上为 **2026-11-11 的 DSH Web 实页截图**,保留原生 Retina 像素,以无损 PNG 保存;行情为当时快照。Codex 桌面版以应用卡片展示图表,计算规则共用,外观以实际宿主为准。
91
+ ### 大盘概览
38
92
 
39
- | 能力 | 使用方式 |
93
+ 浏览 A/港/美主要指数、板块排行和龙虎榜,点击标的进入图表,继续查看行情与资料。
94
+
95
+ [![大盘概览:主要指数、板块排行与龙虎榜](docs/images/market-overview-v0.6.9.png)](docs/images/market-overview-v0.6.9.png)
96
+
97
+ 大盘、主图对比与微软平台三张新图保留原生 Retina 像素,以无损 PNG 展示。行情是截图时的快照。
98
+
99
+ ## 点位、复盘与资讯
100
+
101
+ | 功能 | 可以做什么 |
40
102
  | --- | --- |
41
- | 常用指标 | SMA、EMA、VOL、MACD、KDJ、RSI、BOLL、ATR、VWAP |
42
- | 自然语言绘图 | 创建、修改、改色、改名或删除指定图形;与工具栏操作同一张图 |
43
- | 点位与复盘 | 支撑/压力分析、自定义价位、区间涨跌与回撤统计 |
44
- | 市场研究 | 大盘、板块、资讯、公司资料、龙虎榜;受来源和权限限制 |
45
- | 自选管理 | 收藏、分组、排序、导入、批量打开;DSH 支持跨对话保留 |
46
- | 技术函数 | 201 个 TA-Lib 函数可查询计算;其中 SMA/EMA/BBANDS 支持受控落图 |
103
+ | **支撑与压力** | 在「点位」中分析参考价位、手动添加价位,并画在当前图上 |
104
+ | **区间复盘** | 查看指定区间的涨跌、回撤等统计,结合图表检查走势 |
105
+ | **资讯与公司资料** | 在行情旁查看新闻、公司资料与研究入口,覆盖取决于来源与权限 |
106
+ | **自选与分组** | 收藏、分组、排序、导入和批量打开标的;DSH 支持跨对话保留 |
47
107
 
48
108
  ## 安装
49
109
 
@@ -51,13 +111,23 @@
51
111
 
52
112
  ### DeepSeek Harness
53
113
 
54
- 先安装可用的 DSH Web 和 **Python 3.11+**,在插件市场搜索 `dsh_kline`,或执行:
114
+ 先安装可用的 DSH Web 和 **Python 3.11+**,然后执行:
115
+
116
+ ```bash
117
+ dsh plugin --profile web add @ftshare-lab/dsh-kline@0.6.11
118
+ ```
119
+
120
+ 也可使用 GitHub 安装:
55
121
 
56
122
  ```bash
57
123
  dsh plugin --profile web add github:FTShare-Lab/dsh_kline
58
124
  ```
59
125
 
60
- 启用后点击右侧 **K** 打开工作台,或直接在对话中请求分析。Better Sidebar 是可选增强,普通侧栏不依赖它。
126
+ 插件市场中搜索 `dsh_kline` 也可安装;市场的版本与下载数据随其目录同步。npm 当前版本见[包页面](https://www.npmjs.com/package/@ftshare-lab/dsh-kline),下载量不代表独立安装人数。
127
+
128
+ [![插件市场中的 dsh_kline 安装与更新入口](docs/images/dsh-market.png)](docs/images/dsh-market.png)
129
+
130
+ 启用后点击右侧 **K**,或直接在对话中请求分析。新版 DSH 自带原生右侧标签,无需安装 Better Sidebar;在 **UI → 工作台标签** 中切换,经典 K 侧栏仍可使用。v0.6.10 已验证 DSH 0.2.1-rc.5 的原生自动开图;该宿主属于预发布版本。
61
131
 
62
132
  ### Codex
63
133
 
@@ -68,39 +138,24 @@ codex plugin marketplace add FTShare-Lab/dsh_kline --ref main
68
138
  codex plugin add ft-kline@ftshare
69
139
  ```
70
140
 
71
- 重新打开 Codex,请求「打开招商银行日 K」。FTShare 是本项目维护的公开 GitHub 插件源,尚未上架官方公共插件目录。
141
+ 重新打开 Codex,请求「打开招商银行日 K」。FTShare 是本项目维护的公开 GitHub 插件源。
72
142
 
73
143
  | 宿主 | 交互图表与手动绘图 | 自然语言绘图 | 行情与结构化分析 |
74
144
  | --- | --- | --- | --- |
75
145
  | DSH Web | 支持 | 支持 | 支持 |
76
- | Codex 桌面版 | 应用卡片内使用 | 支持 | 支持 |
77
- | Codex CLI | 不提供 | 不落图 | 支持 |
78
-
79
- 更新、固定版本 ZIP、旧安装迁移、Key 配置与启动排障见[完整指南](docs/guide.md)。
80
-
81
- ## 开始使用
82
-
83
- **用对话提出需求:**
84
-
85
- ```text
86
- 打开腾讯控股日 K,分析最近一个月的成交量、MACD 和 RSI。
87
- 在当前图画一条 31.2 元的蓝色支撑线,命名为“关键支撑”。
88
- 把关键支撑移到 30.8 元,其他图形不动。
89
- 找最近一个符合规则的双底并画出来,说明当前状态。
90
- ```
91
-
92
- **在工作台操作:** 搜索标的 → 选择范围与周期 → 开启指标 → 在「绘图」选择工具并点击「绘图」。需要自行指定锚点时切换「手动选点」;「设置」调整参数。图形直接展示,无需另行保存。
146
+ | Codex 桌面版 | 在应用卡片内使用 | 支持 | 支持 |
147
+ | Codex CLI | 不提供画布 | 不落图 | 支持 |
93
148
 
94
- 「点位」分析支撑与压力;「对比」添加背景折线。窄画布放不下的工具进入行末菜单,收起面板不会删除图形。更多对话实例见[自然语言绘图演示](docs/drawing-examples.md)。
149
+ 固定版本归档、更新、旧安装迁移与启动排障见[完整指南](docs/guide.md)。
95
150
 
96
151
  ## 数据与适用范围
97
152
 
98
- - **数据来源:** 默认可接入 FTShare,在「设置 → 数据源」配置并测试 Key。不配置 Key 时可尝试部分 A 股、港美股历史日 K 和指数备用行情,覆盖与可用性取决于公开源;分钟线、新闻和公司资料取决于相应权限。
99
- - **形态与九转:** 当前仅支持已加载的 A/港/美股已收盘日线。ABC 是折线标注与候选辅助,不自动判定专业波浪;基础九转不包含完整 DeMARK 13 Countdown。
100
- - **图形与状态:** 绘图使用当前图真实 K 线;数据来源不明、结果过期或活动视图有歧义时停止修改。绘图不保证跨服务重启恢复,鼠标拖拽与撤销暂不支持。
101
- - **宿主差异:** DSH 自选为用户级持久化数据;Codex 图表、自选和应用内临时 Key 仅保存在当前连接内存中,不继承 DSH 配置。
153
+ - **行情来源:** 可接入 FTShare;在「设置 → 数据源」配置并测试 Key。无 Key 时可尝试部分 A 股、港美股历史日 K 和指数备用行情,覆盖与可用性取决于公开源。
154
+ - **权限与周期:** 分钟线、新闻和公司资料取决于来源与权限。自动绘图、价格形态与九转当前使用已加载的 A/港/美股已收盘日线。
155
+ - **修改边界:** 绘图使用当前图真实 K 线。数据来源不明、结果过期或活动视图存在歧义时,会停止修改并说明原因;鼠标拖拽改点与撤销暂不支持。
156
+ - **保存范围:** DSH 自选与分组跨对话保留。Codex 图表、自选及应用内临时 Key 保存在当前连接内存中,不继承 DSH 配置;绘图不保证跨服务重启恢复。
102
157
 
103
- 行情可能延迟,技术分析用于研究和学习。数据口径见[无 Key 支持范围](docs/anonymous-market-support.md)和[港美股免费日线](docs/free-foreign-daily.md)。
158
+ 行情可能延迟。形态与计数用于研究和复盘,不保证交易收益。数据覆盖见[无 Key 支持范围](docs/anonymous-market-support.md)与[港美股免费日线](docs/free-foreign-daily.md)。
104
159
 
105
160
  ## 文档
106
161
 
@@ -109,8 +164,8 @@ codex plugin add ft-kline@ftshare
109
164
  | 安装、更新、Key、故障排查 | [完整指南](docs/guide.md) |
110
165
  | 自动绘图流程与扩展 | [共享绘图骨架](docs/automatic-drawing.md) |
111
166
  | 形态定义与真实样本 | [规则](docs/price-pattern-rules-v1.md) · [样本](docs/price-pattern-samples-v1.md) |
112
- | 技术函数 | [查询与绘图范围](docs/chart-functions.md) |
167
+ | 技术函数与进阶标注 | [函数与绘图范围](docs/chart-functions.md) |
113
168
  | 宿主与数据源接入 | [面板嵌入](docs/embedding.md) · [数据适配](docs/provider-adaptation.md) |
114
- | 版本与验收 | [更新日志](CHANGELOG.md) · [v0.6.9 发布说明](docs/release-notes-v0.6.9.md) · [验收记录](docs/release-acceptance-v0.6.9.md) |
169
+ | 版本与验收 | [更新日志](CHANGELOG.md) · [v0.6.11 发布说明](docs/release-notes-v0.6.11.md) · [验收记录](docs/release-acceptance-v0.6.11.md) |
115
170
 
116
171
  [MIT License](LICENSE) · [前端来源](PROVENANCE.md) · [GitHub Releases](https://github.com/FTShare-Lab/dsh_kline/releases)
@@ -3871,5 +3871,5 @@
3871
3871
  "name": "verify_chart_drawings"
3872
3872
  }
3873
3873
  ],
3874
- "version": "0.6.10"
3874
+ "version": "0.6.11"
3875
3875
  }
package/docs/embedding.md CHANGED
@@ -37,6 +37,40 @@
37
37
  2. **调色板**:面板背景与文字颜色由宿主决定,需要一致时显式传 `theme`,不要依赖宿主 DOM 的 CSS 变量被继承进来。
38
38
  3. **不弹全屏对话框**:内嵌模式下对话框是面板内的绝对定位元素;宿主不要给面板 `overflow: visible`,否则对话框会盖到面板外。
39
39
 
40
+ ## 可选:宿主面板槽位
41
+
42
+ 侧栏和 Tab 之外,宿主也可以在自己已有的有界面板里放一张图表,而插件不需要认识宿主:宿主的客户端半声明一个槽位、渲染时把 `{ symbol, name, onIdentity }` 传给座位,然后调用插件提供的 `klinePanels` 服务填充它。
43
+
44
+ ```ts
45
+ // 宿主客户端半
46
+ ctx.inject(['klinePanels'], scope => {
47
+ const panels = scope.get('klinePanels') as {
48
+ mount(seat: string, options?: { chrome?: 'full' | 'chart' | 'chart-search' }): () => void
49
+ } | undefined
50
+ if (panels === undefined) return () => {}
51
+ return panels.mount('paperTrading.kline') // 宿主自己声明的槽位名
52
+ })
53
+ ```
54
+
55
+ - 只有调用 `mount(seat)` 才会往宿主已声明的槽位注册;没有调用的宿主不会注册任何东西,行为与没有本契约的版本一致。
56
+ - 面板体就是侧栏那张图:`chrome` 与上述内嵌契约同义,默认 `chart-search`;`symbol` 跟随宿主选择,`onIdentity` 把图内的选择回写给宿主。
57
+ - 每个座位一个独立会话(`host-panel:<seat>`),同一宿主挂多个面板不会互相串数据。
58
+ - 同一槽位、相同 `chrome` 的重复挂载共用一个图表,各调用方独立释放;最后一个调用方释放后才卸载。清理函数可重复调用,旧清理函数不会移除后来重新挂载的图表。槽位占用期间不接受不同的 `chrome`,需先释放再切换。
59
+
60
+ ## 可选:宿主偏好
61
+
62
+ 宿主的客户端半还可以提供 `klineHost` 服务,调整图表自绘的界面元素;没有该服务、字段缺失或取值不认识时,一律回到默认行为:
63
+
64
+ | 字段 | 取值 | 作用 |
65
+ | --- | --- | --- |
66
+ | `entry` | `'tab'` | 宿主自己提供图表入口(原生右栏);图表不绘制经典浮动 K,并优先使用宿主的右栏 |
67
+ | `onboarding` | `'off'` | 不显示首启欢迎与一次性界面提示,也不写入相关存储 |
68
+
69
+ ```ts
70
+ // 宿主客户端半
71
+ ctx.provide('klineHost', { entry: 'tab', onboarding: 'off' })
72
+ ```
73
+
40
74
  ## 边界
41
75
 
42
76
  - 本节描述的是**同一插件内的挂载契约**,不是跨包的 ESM 入口:客户端的交付形态是 DSH 的浏览器模块(`window.__ModuleLoader__`),第三方面板插件通过宿主槽位获得图表,而不是 `import` 本包。
package/docs/guide.en.md CHANGED
@@ -69,7 +69,7 @@ The selected file is reread before provider requests and is never modified or de
69
69
 
70
70
  Without a key, supported A-share, HK and US daily-history and index fallbacks remain available. Chart state, results, watchlists and App-entered keys stay in connection memory until the last view closes, disconnect, or 30 idle minutes. User-managed environment/file credentials are not deleted when a chart closes. DSH persistent watchlists are not inherited.
71
71
 
72
- For the v0.6.10 candidate, see [release notes](release-notes-v0.6.10.md), [acceptance](release-acceptance-v0.6.10.md), and [npm preparation](npm-release.md).
72
+ For the v0.6.11 candidate, see [release notes](release-notes-v0.6.11.md), [acceptance](release-acceptance-v0.6.11.md), and [npm preparation](npm-release.md).
73
73
 
74
74
  See the [v0.6.8 release notes](release-notes-v0.6.8.md) and [acceptance checklist](release-acceptance-v0.6.8.md) for verification and remaining manual desktop checks.
75
75
 
package/docs/guide.md CHANGED
@@ -73,7 +73,7 @@ Codex 依次使用:
73
73
 
74
74
  图表、函数结果、自选和应用内临时 Key 保存在当前连接内存中;最后一个图表视图关闭、连接结束或空闲 30 分钟后清除。Codex 不继承 DSH 的持久化自选。环境变量和显式文件由用户管理,不会随图表关闭而被插件删除。
75
75
 
76
- v0.6.10 候选见[发布说明](release-notes-v0.6.10.md)、[验收记录](release-acceptance-v0.6.10.md)与[npm 发布准备](npm-release.md)。
76
+ v0.6.11 候选见[发布说明](release-notes-v0.6.11.md)、[验收记录](release-acceptance-v0.6.11.md)与[npm 发布准备](npm-release.md)。
77
77
 
78
78
  已发布版本内容、自动化验证和桌面验收见 [v0.6.8 发布说明](release-notes-v0.6.8.md) 与 [验收说明](release-acceptance-v0.6.8.md)。
79
79
 
@@ -174,7 +174,7 @@ dsh plugin --profile web add github:FTShare-Lab/dsh_kline
174
174
  二者不选点、不评判专业形态、不代替绘图授权。旧的分类型工具是快照接口,不应绕过当前图应用协议。
175
175
 
176
176
  运行 `pnpm build:sidebar` 和 `pnpm test` 验证构建与全部 Node / Python 回归。
177
- DSH 绘图范围见[v0.5.0 验收说明](release-acceptance-v0.5.0.md),当前候选安装与 Codex 验证见[v0.6.10 验收说明](release-acceptance-v0.6.10.md)。
177
+ DSH 绘图范围见[v0.5.0 验收说明](release-acceptance-v0.5.0.md),当前候选安装与 Codex 验证见[v0.6.11 验收说明](release-acceptance-v0.6.11.md)。
178
178
  首次自动准备依赖需要网络,耗时取决于网络和本机环境。
179
179
 
180
180
  ## 行情与数据源
@@ -1,18 +1,18 @@
1
1
  # npm 发布与安装
2
2
 
3
- 包名:`@ftshare-lab/dsh-kline@0.6.10`,公共 npm registry,公开访问。
3
+ 包名:`@ftshare-lab/dsh-kline@0.6.11`,公共 npm registry,公开访问。
4
4
 
5
5
  npm 安装包与 DSH GitHub 发行资产使用同一份已验证的 TGZ,避免发布时重新取到不同内容。`package.json` 已移除 `private` 并设置 `publishConfig.access=public`。上传需在跨平台 CI、发行资产核对及 npm 登录验证后执行。
6
6
 
7
7
  ## 发布前
8
8
 
9
9
  1. 推送候选到 `test`,等待九组跨平台 CI 全部通过,完成 DSH/Codex 桌面验收,再合并 `main`。
10
- 2. 创建 `v0.6.10` 标签,等待现有发行流水线生成草稿资产;下载 TGZ/ZIP,校验版本、SHA-256 和内容。
10
+ 2. 创建 `v0.6.11` 标签,等待现有发行流水线生成草稿资产;下载 TGZ/ZIP,校验版本、SHA-256 和内容。
11
11
  3. 本机使用 `npm login` 登录有 `@ftshare-lab` scope 发布权限的账号;`npm whoami` 核对账号。GitHub 组织权限不等于 npm 组织权限,发布前分别核对。
12
12
  4. 对准备上传的 TGZ 执行下面的 dry-run。dry-run 只验证打包与命令,不证明 npm 权限或正式上传会成功。
13
13
 
14
14
  ```sh
15
- npm publish ./release/dsh-kline-v0.6.10.tgz --access public --dry-run
15
+ npm publish ./release/dsh-kline-v0.6.11.tgz --access public --dry-run
16
16
  ```
17
17
 
18
18
  ## 获准发布后
@@ -20,11 +20,11 @@ npm publish ./release/dsh-kline-v0.6.10.tgz --access public --dry-run
20
20
  对核对过的同一份 TGZ 执行;如 npm 要求身份验证,由维护者完成。
21
21
 
22
22
  ```sh
23
- npm publish ./release/dsh-kline-v0.6.10.tgz --access public
24
- npm view @ftshare-lab/dsh-kline@0.6.10 version dist.integrity dist.tarball
23
+ npm publish ./release/dsh-kline-v0.6.11.tgz --access public
24
+ npm view @ftshare-lab/dsh-kline@0.6.11 version dist.integrity dist.tarball
25
25
  ```
26
26
 
27
- 发布后先用 `npm view @ftshare-lab/dsh-kline@0.6.10 version` 确认 registry 可读,再在全新 DSH profile 验证按包名安装,最后将插件市场目录关联到该 npm 包。GitHub 安装路径继续保留。
27
+ 发布后先用 `npm view @ftshare-lab/dsh-kline@0.6.11 version` 确认 registry 可读,再在全新 DSH profile 验证按包名安装,最后复核插件市场目录中的 npm 关联、版本和下载统计。GitHub 安装路径继续保留。
28
28
 
29
29
  ## 统计口径
30
30