@mindstudio-ai/agent 0.1.62 → 0.1.63
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/dist/cli.js +89 -34
- package/dist/index.d.ts +213 -5
- package/dist/index.js +84 -26
- package/dist/index.js.map +1 -1
- package/dist/postinstall.js +89 -34
- package/llms.txt +63 -2
- package/package.json +1 -1
package/llms.txt
CHANGED
|
@@ -680,9 +680,10 @@ Replace personally identifiable information in text with placeholders using Micr
|
|
|
680
680
|
|
|
681
681
|
#### removeBackgroundFromImage
|
|
682
682
|
Remove the background from an image using AI, producing a transparent PNG.
|
|
683
|
-
- Uses the Bria background removal model via fal.ai.
|
|
683
|
+
- Uses the Bria background removal model via fal.ai by default.
|
|
684
|
+
- Uses WaveSpeed's Ideogram background removal model when type is "advanced".
|
|
684
685
|
- Output is re-hosted on the CDN as a PNG with transparency.
|
|
685
|
-
- Input: `{ imageUrl: string }`
|
|
686
|
+
- Input: `{ type?: "standard" | "advanced", imageUrl: string }`
|
|
686
687
|
- Output: `{ imageUrl: string }`
|
|
687
688
|
|
|
688
689
|
#### resizeVideo
|
|
@@ -1517,6 +1518,66 @@ For example, has:media alone is invalid, but #AI has:media is valid.
|
|
|
1517
1518
|
- Input: `{ query: string, scope: "recent" | "all", options: { startTime?: string, endTime?: string, maxResults?: number } }`
|
|
1518
1519
|
- Output: `{ posts: { id: string, authorId: string, dateCreated: string, text: string, stats: { retweets: number, replies: number, likes: number } }[] }`
|
|
1519
1520
|
|
|
1521
|
+
### You.com
|
|
1522
|
+
|
|
1523
|
+
#### youDotComFinanceResearch
|
|
1524
|
+
Ask a financial research question using You.com Finance Research and return the sourced response.
|
|
1525
|
+
- Use this for financial questions such as company analysis, earnings, market research, filings, macroeconomics, and due diligence.
|
|
1526
|
+
- researchEffort supports deep (default) or exhaustive.
|
|
1527
|
+
- Finance Research returns the same response shape as Web Research, but searches a finance-optimized index.
|
|
1528
|
+
- Use it for cited synthesis, not raw price feeds or structured time-series exports.
|
|
1529
|
+
- Input: `{ input: string, researchEffort?: "deep" | "exhaustive" }`
|
|
1530
|
+
- Output: `{ data: object | unknown[] }`
|
|
1531
|
+
|
|
1532
|
+
#### youDotComGetPageContent
|
|
1533
|
+
Fetch clean Markdown, HTML, or metadata for known URLs using the You.com Contents API.
|
|
1534
|
+
- Use this step when you already know the URLs. Use Web Search with livecrawl when You.com should discover pages from a query.
|
|
1535
|
+
- A single request supports up to 10 URLs.
|
|
1536
|
+
- Request only the formats you need. Markdown is recommended for LLM consumption.
|
|
1537
|
+
- Increase crawlTimeout for JavaScript-heavy pages, up to 60 seconds.
|
|
1538
|
+
- Individual pages can partially fail; check each returned item before processing.
|
|
1539
|
+
- Input: `{ urls: string[], formats?: ("markdown" | "html" | "metadata")[], crawlTimeout?: number }`
|
|
1540
|
+
- Output: `{ data: object | unknown[] }`
|
|
1541
|
+
|
|
1542
|
+
#### youDotComLiveNews
|
|
1543
|
+
Fetch live news articles through the You.com Search API and return the full structured response.
|
|
1544
|
+
- Defaults freshness to day for breaking or recent news.
|
|
1545
|
+
- Use country and language together to monitor regional or non-English news.
|
|
1546
|
+
- Use livecrawl: 'news' with livecrawlFormats: ['markdown'] when you need full article text.
|
|
1547
|
+
- Use a custom freshness range like YYYY-MM-DDtoYYYY-MM-DD for historical news windows.
|
|
1548
|
+
- Input: `{ query: string, freshness?: string, count?: number, country?: string, language?: string, safesearch?: "off" | "moderate" | "strict", livecrawl?: "news" | "all", livecrawlFormats?: ("markdown" | "html")[] }`
|
|
1549
|
+
- Output: `{ data: object | unknown[] }`
|
|
1550
|
+
|
|
1551
|
+
#### youDotComWebResearch
|
|
1552
|
+
Ask a research question and return a grounded You.com Research API answer with sources.
|
|
1553
|
+
- Use Web Search when you need raw URLs and snippets. Use Web Research when you want a synthesized answer with citations.
|
|
1554
|
+
- researchEffort controls depth and latency: lite, standard, deep, or exhaustive. standard is a good default.
|
|
1555
|
+
- sourceControl can restrict, exclude, or boost domains, and can apply freshness or country filters.
|
|
1556
|
+
- includeDomains cannot be combined with excludeDomains or boostDomains.
|
|
1557
|
+
- outputSchema returns structured output.content and is supported by standard, deep, and exhaustive, not lite.
|
|
1558
|
+
- Input: `{ input: string, researchEffort?: "lite" | "standard" | "deep" | "exhaustive", sourceControl?: { includeDomains?: string[], excludeDomains?: string[], boostDomains?: string[], freshness?: string, country?: string } | string, outputSchema?: object | string }`
|
|
1559
|
+
- Output: `{ data: object | unknown[] }`
|
|
1560
|
+
|
|
1561
|
+
#### youDotComWebSearch
|
|
1562
|
+
Search the web and news using the You.com Search API and return the full structured response.
|
|
1563
|
+
- Query supports You.com search operators:
|
|
1564
|
+
| Operator | Description | Example |
|
|
1565
|
+
| -------- | ----------- | ------- |
|
|
1566
|
+
| site: | Search within a domain and its subdomains | site:uscourts.gov |
|
|
1567
|
+
| filetype: | Search for a specific file type | filetype:pdf |
|
|
1568
|
+
| + | Require the exact term after the operator | +GAAP |
|
|
1569
|
+
| - | Exclude the exact term after the operator | -prs |
|
|
1570
|
+
| AND | Require both expressions | guitar AND Fender |
|
|
1571
|
+
| OR | Match either expression | guitar OR drum |
|
|
1572
|
+
| NOT | Negate an expression | NOT site:uscourts.gov |
|
|
1573
|
+
- Use livecrawl with livecrawlFormats: ['markdown'] when you need full page content instead of snippets.
|
|
1574
|
+
- Use the Get Page Content step when you already know the URLs to fetch.
|
|
1575
|
+
- Use freshness for recency: day, week, month, year, or YYYY-MM-DDtoYYYY-MM-DD.
|
|
1576
|
+
- Use country (ISO 3166-1 alpha-2) and language (BCP 47) to focus results geographically or linguistically.
|
|
1577
|
+
- includeDomains cannot be combined with excludeDomains or boostDomains.
|
|
1578
|
+
- Input: `{ query: string, count?: number, freshness?: string, country?: string, language?: string, offset?: number, safesearch?: "off" | "moderate" | "strict", livecrawl?: "web" | "news" | "all", livecrawlFormats?: ("markdown" | "html")[], crawlTimeout?: number, includeDomains?: string[], excludeDomains?: string[], boostDomains?: string[] }`
|
|
1579
|
+
- Output: `{ data: object | unknown[] }`
|
|
1580
|
+
|
|
1520
1581
|
### YouTube
|
|
1521
1582
|
|
|
1522
1583
|
#### fetchYoutubeCaptions
|