New:Microsoft Teams Notifications Are Now Available in Socket.Learn more
Get Started

dsh-plugin-ainfo

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dsh-plugin-ainfo

A-share information tools for DeepSeek Harness: market news, broker research ratings and target prices, earnings pre-announcements, dividends, insider share transactions, lock-up expiries and the shareholder register.

latest
Source
npmnpm
Version
0.1.0
Version published
Weekly downloads
21
-40%
Maintainers
1
Weekly downloads
 
Created
Source

dsh-plugin-ainfo

English | 中文

A-share information tools for DeepSeek Harness: what was said about a company, rather than what it traded at.

Prices, indicators and screening live in dsh-plugin-astock. The two are separate plugins because the questions are separate — an agent screening for a 40-day low needs none of this, and every registered tool spends system-prompt budget on every request.

Install

Both this plugin and the shared Tushare provider, which holds the token:

dsh plugin --profile web add dsh-plugin-ainfo
dsh plugin --profile web add dsh-plugin-tushare
- id: tushare
  config:
    token: 'your-tushare-token'

[!NOTE] Its result cards carry a presentationMeta projection, which a call dispatched inside run_code never receives. Under a pure Code Mode preset the answers are unaffected but the cards fall back to the generic one — see tool presentation modes.

Tools

Every tool here needs a Tushare Pro token, and none has a free fallback — there is no public endpoint serving this material reliably. Each tool says so in its own description so the model can tell you what is missing instead of discovering it mid-answer.

ToolWhat it returns
ainfo_newsMajor market news over a time window: headline, source, timestamp, plain-text excerpt
ainfo_researchBroker research: rating, target price, org and author — for one stock or a whole report date
ainfo_eventsCompany disclosures by kind: forecast (earnings pre-announcements), dividend, holdertrade (insider buying/selling), float (lock-up expiries), holders (top-ten register)

Tushare gates interfaces by account points, so a valid token may still be refused. The refusal names the requirement and is passed through as a permission error; see dsh-plugin-tushare for what each failure kind means.

Two habits this plugin enforces

Text is passed through verbatim. Headlines, report titles and disclosure summaries are never paraphrased by the plugin, so the model can quote them. News bodies are the one exception: the feed ships article HTML, so excerpts are stripped to plain text and bounded — an excerpt is labelled as one and must not be presented as the full story.

Ratings are opinions. ainfo_research summarizes the distribution and the target-price range, and says in its own output that these are brokers' views to be attributed, not facts to be asserted.

License

MIT

Keywords

dsh

FAQs

Package last updated on 20 Aug 2026

Related posts