@mindstudio-ai/agent 0.1.62 → 0.1.64
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 +149 -34
- package/dist/index.d.ts +401 -5
- package/dist/index.js +150 -26
- package/dist/index.js.map +1 -1
- package/dist/postinstall.js +149 -34
- package/llms.txt +119 -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
|
|
@@ -1475,6 +1476,62 @@ Update the content of an existing Notion page.
|
|
|
1475
1476
|
- Input: `{ pageId: string, content: string, mode: "append" | "overwrite", connectionId?: string }`
|
|
1476
1477
|
- Output: `{ pageId: string, pageUrl: string }`
|
|
1477
1478
|
|
|
1479
|
+
### Particle Podcasts
|
|
1480
|
+
|
|
1481
|
+
#### particlePodcastsFindMentions
|
|
1482
|
+
Find every dialogue line mentioning a specific entity or company across all podcasts.
|
|
1483
|
+
- Provide `entityId` (for people, products, places) OR `companyId` (for organizations). At least one is required.
|
|
1484
|
+
- Use `contextLines` to include surrounding dialogue with each mention (default behavior is set by Particle).
|
|
1485
|
+
- Resolve a name to an `entityId` / `companyId` first via Search Companies (or by inspecting a Search Dialogue response).
|
|
1486
|
+
- Cursor-paginated; expect potentially large result sets for popular entities.
|
|
1487
|
+
- Input: `{ entityId?: string, companyId?: string, contextLines?: number, limit?: number, cursor?: string }`
|
|
1488
|
+
- Output: `unknown`
|
|
1489
|
+
|
|
1490
|
+
#### particlePodcastsGetEpisode
|
|
1491
|
+
Fetch full metadata for a single episode: details, speakers, entities, clips, and ads — merged into one response.
|
|
1492
|
+
- Pass an episode ID or slug as `id`.
|
|
1493
|
+
- Returns five sub-resources merged: `episode` (metadata), `speakers` (diarized speaker list), `entities` (knowledge-graph mentions), `clips` (AI-extracted highlights), `ads` (detected ad spots).
|
|
1494
|
+
- Use Get Episode Transcript separately when you need the full transcript text — it isn't bundled here because the payload is large and has its own format/range options.
|
|
1495
|
+
- Bills as 5 units against the get-episode event type (one per sub-call).
|
|
1496
|
+
- Input: `{ id: string }`
|
|
1497
|
+
- Output: `unknown`
|
|
1498
|
+
|
|
1499
|
+
#### particlePodcastsGetEpisodeTranscript
|
|
1500
|
+
Fetch the diarized transcript for an episode in dialogue, plain text, or SRT subtitle format.
|
|
1501
|
+
- Pass an episode ID or slug as `id`.
|
|
1502
|
+
- Use `format` = "dialogue" (default, with speaker turns), "text" (plain), or "srt" (subtitle).
|
|
1503
|
+
- Filter to a single speaker with `speaker`, or to a time range with `start` / `end` (seconds).
|
|
1504
|
+
- Transcripts are large — prefer time-range filtering when you only need a snippet.
|
|
1505
|
+
- Input: `{ id: string, format?: "dialogue" | "text" | "srt", speaker?: string, start?: number, end?: number }`
|
|
1506
|
+
- Output: `unknown`
|
|
1507
|
+
|
|
1508
|
+
#### particlePodcastsSearchCompanies
|
|
1509
|
+
Search the Particle knowledge graph for companies by name, ticker, domain, CIK, or QID.
|
|
1510
|
+
- Provide one or more identifiers: `q` (free-text name), `ticker` (e.g. "TSLA"), `domain` (e.g. "tesla.com"), `cik` (SEC), or `qid` (Wikidata).
|
|
1511
|
+
- Use this to resolve a company name to a canonical `companyId` for use with Find Mentions or Search Dialogue.
|
|
1512
|
+
- Returned company objects include slugs, domains, and IDs — any of these can be passed to downstream blocks.
|
|
1513
|
+
- Input: `{ q?: string, ticker?: string, domain?: string, cik?: string, qid?: string, entityId?: string, updatedAfter?: string, limit?: number, cursor?: string }`
|
|
1514
|
+
- Output: `unknown`
|
|
1515
|
+
|
|
1516
|
+
#### particlePodcastsSearchDialogue
|
|
1517
|
+
Search across podcast dialogue using semantic or keyword search. Returns matched lines grouped by episode.
|
|
1518
|
+
- Provide `semanticSearch` for meaning-based discovery ("find moments where someone talks about market timing") or `keywordSearch` for exact phrase/proper-noun matching. At least one must be provided.
|
|
1519
|
+
- Filter to a specific entity or company by passing `entityId` / `companyId`.
|
|
1520
|
+
- Each returned dialogue line carries the source episode + speaker so you can chain to Get Episode or Get Episode Transcript for context.
|
|
1521
|
+
- Cursor-paginated.
|
|
1522
|
+
- Input: `{ semanticSearch?: string, keywordSearch?: string, entityId?: string, companyId?: string, limit?: number, cursor?: string }`
|
|
1523
|
+
- Output: `unknown`
|
|
1524
|
+
|
|
1525
|
+
#### particlePodcastsSearchPodcasts
|
|
1526
|
+
Search and list podcasts in the Particle catalog by keyword, topic, or language.
|
|
1527
|
+
- Use `q` for free-text keyword search across podcast titles and descriptions.
|
|
1528
|
+
- Use `topic` to filter to a Particle taxonomy topic.
|
|
1529
|
+
- Use `language` (BCP 47, e.g. "en") to restrict to a language.
|
|
1530
|
+
- Returns podcast objects with canonical IDs and slugs. Pass either to other Particle Podcasts blocks.
|
|
1531
|
+
- Cursor-paginated; pass the returned `cursor` back to `cursor` for the next page.
|
|
1532
|
+
- Input: `{ q?: string, topic?: string, language?: string, suitabilityTier?: string, limit?: number, cursor?: string }`
|
|
1533
|
+
- Output: `unknown`
|
|
1534
|
+
|
|
1478
1535
|
### X
|
|
1479
1536
|
|
|
1480
1537
|
#### postToX
|
|
@@ -1517,6 +1574,66 @@ For example, has:media alone is invalid, but #AI has:media is valid.
|
|
|
1517
1574
|
- Input: `{ query: string, scope: "recent" | "all", options: { startTime?: string, endTime?: string, maxResults?: number } }`
|
|
1518
1575
|
- Output: `{ posts: { id: string, authorId: string, dateCreated: string, text: string, stats: { retweets: number, replies: number, likes: number } }[] }`
|
|
1519
1576
|
|
|
1577
|
+
### You.com
|
|
1578
|
+
|
|
1579
|
+
#### youDotComFinanceResearch
|
|
1580
|
+
Ask a financial research question using You.com Finance Research and return the sourced response.
|
|
1581
|
+
- Use this for financial questions such as company analysis, earnings, market research, filings, macroeconomics, and due diligence.
|
|
1582
|
+
- researchEffort supports deep (default) or exhaustive.
|
|
1583
|
+
- Finance Research returns the same response shape as Web Research, but searches a finance-optimized index.
|
|
1584
|
+
- Use it for cited synthesis, not raw price feeds or structured time-series exports.
|
|
1585
|
+
- Input: `{ input: string, researchEffort?: "deep" | "exhaustive" }`
|
|
1586
|
+
- Output: `{ data: object | unknown[] }`
|
|
1587
|
+
|
|
1588
|
+
#### youDotComGetPageContent
|
|
1589
|
+
Fetch clean Markdown, HTML, or metadata for known URLs using the You.com Contents API.
|
|
1590
|
+
- Use this step when you already know the URLs. Use Web Search with livecrawl when You.com should discover pages from a query.
|
|
1591
|
+
- A single request supports up to 10 URLs.
|
|
1592
|
+
- Request only the formats you need. Markdown is recommended for LLM consumption.
|
|
1593
|
+
- Increase crawlTimeout for JavaScript-heavy pages, up to 60 seconds.
|
|
1594
|
+
- Individual pages can partially fail; check each returned item before processing.
|
|
1595
|
+
- Input: `{ urls: string[], formats?: ("markdown" | "html" | "metadata")[], crawlTimeout?: number }`
|
|
1596
|
+
- Output: `{ data: object | unknown[] }`
|
|
1597
|
+
|
|
1598
|
+
#### youDotComLiveNews
|
|
1599
|
+
Fetch live news articles through the You.com Search API and return the full structured response.
|
|
1600
|
+
- Defaults freshness to day for breaking or recent news.
|
|
1601
|
+
- Use country and language together to monitor regional or non-English news.
|
|
1602
|
+
- Use livecrawl: 'news' with livecrawlFormats: ['markdown'] when you need full article text.
|
|
1603
|
+
- Use a custom freshness range like YYYY-MM-DDtoYYYY-MM-DD for historical news windows.
|
|
1604
|
+
- Input: `{ query: string, freshness?: string, count?: number, country?: string, language?: string, safesearch?: "off" | "moderate" | "strict", livecrawl?: "news" | "all", livecrawlFormats?: ("markdown" | "html")[] }`
|
|
1605
|
+
- Output: `{ data: object | unknown[] }`
|
|
1606
|
+
|
|
1607
|
+
#### youDotComWebResearch
|
|
1608
|
+
Ask a research question and return a grounded You.com Research API answer with sources.
|
|
1609
|
+
- Use Web Search when you need raw URLs and snippets. Use Web Research when you want a synthesized answer with citations.
|
|
1610
|
+
- researchEffort controls depth and latency: lite, standard, deep, or exhaustive. standard is a good default.
|
|
1611
|
+
- sourceControl can restrict, exclude, or boost domains, and can apply freshness or country filters.
|
|
1612
|
+
- includeDomains cannot be combined with excludeDomains or boostDomains.
|
|
1613
|
+
- outputSchema returns structured output.content and is supported by standard, deep, and exhaustive, not lite.
|
|
1614
|
+
- Input: `{ input: string, researchEffort?: "lite" | "standard" | "deep" | "exhaustive", sourceControl?: { includeDomains?: string[], excludeDomains?: string[], boostDomains?: string[], freshness?: string, country?: string } | string, outputSchema?: object | string }`
|
|
1615
|
+
- Output: `{ data: object | unknown[] }`
|
|
1616
|
+
|
|
1617
|
+
#### youDotComWebSearch
|
|
1618
|
+
Search the web and news using the You.com Search API and return the full structured response.
|
|
1619
|
+
- Query supports You.com search operators:
|
|
1620
|
+
| Operator | Description | Example |
|
|
1621
|
+
| -------- | ----------- | ------- |
|
|
1622
|
+
| site: | Search within a domain and its subdomains | site:uscourts.gov |
|
|
1623
|
+
| filetype: | Search for a specific file type | filetype:pdf |
|
|
1624
|
+
| + | Require the exact term after the operator | +GAAP |
|
|
1625
|
+
| - | Exclude the exact term after the operator | -prs |
|
|
1626
|
+
| AND | Require both expressions | guitar AND Fender |
|
|
1627
|
+
| OR | Match either expression | guitar OR drum |
|
|
1628
|
+
| NOT | Negate an expression | NOT site:uscourts.gov |
|
|
1629
|
+
- Use livecrawl with livecrawlFormats: ['markdown'] when you need full page content instead of snippets.
|
|
1630
|
+
- Use the Get Page Content step when you already know the URLs to fetch.
|
|
1631
|
+
- Use freshness for recency: day, week, month, year, or YYYY-MM-DDtoYYYY-MM-DD.
|
|
1632
|
+
- Use country (ISO 3166-1 alpha-2) and language (BCP 47) to focus results geographically or linguistically.
|
|
1633
|
+
- includeDomains cannot be combined with excludeDomains or boostDomains.
|
|
1634
|
+
- 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[] }`
|
|
1635
|
+
- Output: `{ data: object | unknown[] }`
|
|
1636
|
+
|
|
1520
1637
|
### YouTube
|
|
1521
1638
|
|
|
1522
1639
|
#### fetchYoutubeCaptions
|