@maybk/veri 0.2.1 → 0.2.2

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.
Files changed (2) hide show
  1. package/README.md +19 -18
  2. package/package.json +7 -7
package/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
  Single pure-Go binary with zero runtime dependencies — shipping a <strong>CLI</strong>, <strong>MCP Server</strong>, and <strong>Agent Skill</strong>
8
8
  </p>
9
9
 
10
- **[简体中文](https://github.com/maybk/veri/blob/v0.2.1/README.md)** · **[English](https://github.com/maybk/veri/blob/v0.2.1/README.en.md)**
10
+ **[简体中文](https://github.com/maybk/veri/blob/v0.2.2/README.md)** · **English** &nbsp;|&nbsp; **[Usage Guide](https://github.com/maybk/veri/blob/v0.2.2/docs/guide/usage.md)**
11
11
 
12
12
  ![Go](https://img.shields.io/badge/Go-1.27+-00ADD8?logo=go&logoColor=white)
13
13
  ![MCP](https://img.shields.io/badge/MCP-stdio-4A5568)
@@ -17,7 +17,7 @@
17
17
 
18
18
  <br>
19
19
 
20
- <img src="https://raw.githubusercontent.com/maybk/veri/v0.2.1/assets/demo-en.svg" alt="veri CLI demo" width="880">
20
+ <img src="https://raw.githubusercontent.com/maybk/veri/v0.2.2/assets/demo-en.svg" alt="veri CLI demo" width="880">
21
21
 
22
22
  </div>
23
23
 
@@ -76,22 +76,23 @@ winget install maybk.Veri
76
76
 
77
77
  ### Manual Download
78
78
 
79
- Prebuilt archives and `SHA256SUMS.txt` checksums are available on [GitHub Releases](https://github.com/maybk/veri/releases); standalone installs can check and upgrade directly via `veri update`. To build from source, see the [Development & Build Guide](https://github.com/maybk/veri/blob/v0.2.1/docs/guide/development.md).
79
+ Prebuilt archives and `SHA256SUMS.txt` checksums are available on [GitHub Releases](https://github.com/maybk/veri/releases); script or manual binary installs can check and upgrade via `veri update`. To build from source, see the [Development & Build Guide](https://github.com/maybk/veri/blob/v0.2.2/docs/guide/development.md).
80
80
 
81
81
  ## 🚀 Quick Start
82
82
 
83
- > Web page and GitHub extraction works **out of the box with no API keys**; configuring any single search provider key unlocks web search and cloud extraction. See the [Usage Guide](https://github.com/maybk/veri/blob/v0.2.1/docs/guide/usage.md) for full walkthroughs and official API key portals.
83
+ > [!TIP]
84
+ > Web page and GitHub extraction works **out of the box with no API keys**; configuring any single search provider key unlocks web search and cloud extraction. For full walkthroughs, command recipes, and troubleshooting, see the **[Usage Guide](https://github.com/maybk/veri/blob/v0.2.2/docs/guide/usage.md)**.
84
85
 
85
86
  ### 1. Configure API Keys
86
87
 
87
- Credentials are encrypted under `~/.config/veri/` and shared automatically between the CLI and MCP server:
88
+ Credentials are encrypted under `~/.config/veri/` and shared automatically between the CLI and MCP server (see [provider free tiers and API key portals](https://github.com/maybk/veri/blob/v0.2.2/docs/guide/usage.md#选型与官方申请入口)):
88
89
 
89
90
  ```bash
90
91
  veri key set exa
91
92
  veri key list
92
93
  ```
93
94
 
94
- You can also configure keys via `~/.config/veri/config.toml` or environment variables (environment variables always take precedence):
95
+ You can also configure keys via environment variables or `~/.config/veri/config.toml` (see the [Configuration Guide](https://github.com/maybk/veri/blob/v0.2.2/docs/guide/configuration.md)); environment variables always take precedence:
95
96
 
96
97
  ```bash
97
98
  export EXA_API_KEY="exa_..."
@@ -111,7 +112,7 @@ veri doctor
111
112
  veri fetch https://github.com/modelcontextprotocol/go-sdk
112
113
  veri fetch https://example.com/article --section "Authentication" --max-chars 20000
113
114
 
114
- # Web search (requires any one search provider key)
115
+ # Web search (requires any one search provider key; pass a query directly or use 'search' with filter flags)
115
116
  veri "golang mcp sdk official"
116
117
  veri search "go 1.27 release notes" -t 6m -s go.dev -n 5
117
118
 
@@ -121,7 +122,7 @@ veri search "raft leader lease" --fusion -p exa,parallel --json
121
122
 
122
123
  ### 3. MCP Server Integration
123
124
 
124
- Register `veri mcp` in your MCP client (or run `veri mcp config` to generate the JSON snippet); keys stored locally are shared automatically with no need to duplicate `env`:
125
+ Register `veri mcp` in an MCP-capable client to expose `web_search` and `web_fetch` tools with shared in-process caching (run `veri mcp config` to generate the JSON snippet); keys stored locally take effect automatically with no need to duplicate `env`:
125
126
 
126
127
  ```json
127
128
  {
@@ -149,7 +150,7 @@ Without a global install, you can also run it directly via `npx`:
149
150
 
150
151
  ### 4. Agent Skill Installation
151
152
 
152
- Recommended via [`npx skills`](https://skills.sh) for unified multi-agent installation and updates:
153
+ Provides routing strategies and extraction recipes for CLI-capable coding agents (usable standalone with the CLI or alongside MCP). Recommended via [`npx skills`](https://skills.sh) for unified multi-agent installation and updates:
153
154
 
154
155
  ```bash
155
156
  npx skills add maybk/veri
@@ -167,7 +168,7 @@ veri skill print # Print the embedded SKILL.md
167
168
  ### 🎯 Core Capabilities
168
169
 
169
170
  - **Multi-Provider Search & Fallback** - Built-in support for DeepSeek, Keenable, Zhihu, Exa, TinyFish, Tencent WSA, Tavily, Brave, Linkup, Parallel, and Firecrawl, enabled automatically from configured keys; supports automatic failover, language-aware routing, and concurrent fusion deduplication
170
- - **Clean Web & GitHub Extraction** - Built-in structured GitHub reader and pure-Go local extractor turn pages and repos / issues / PRs / discussions / commits / releases into clean Markdown with zero keys; configured cloud extractors add dynamic rendering and PDF support, plus batch fetching, section slicing, and keyword matching
171
+ - **Clean Web & GitHub Extraction** - Built-in structured GitHub reader and pure-Go local extractor turn web pages and GitHub repos / issues / PRs / discussions / commits / releases into clean Markdown with zero keys; configured cloud extractors add dynamic rendering and PDF support, plus batch fetching, section slicing, and keyword matching
171
172
  - **Unified Filter Syntax** - One consistent set of flags for time windows, site allow/block lists, and language filters across providers, with strict native enforcement when needed
172
173
  - **CLI / MCP / Skill in One Binary** - One static executable delivers an interactive/scriptable CLI, a standard stdio MCP server, and Agent Skill integration for AI agents
173
174
 
@@ -197,18 +198,18 @@ main.go -> internal/cli | internal/mcpserver -> internal/app -> internal/router
197
198
 
198
199
  ## 📚 Documentation
199
200
 
200
- - [Usage Guide](https://github.com/maybk/veri/blob/v0.2.1/docs/guide/usage.md)
201
- - [Overview & Directory Layout](https://github.com/maybk/veri/blob/v0.2.1/docs/guide/overview.md)
202
- - [Configuration Guide](https://github.com/maybk/veri/blob/v0.2.1/docs/guide/configuration.md)
203
- - [Providers & Routing Guide](https://github.com/maybk/veri/blob/v0.2.1/docs/guide/providers.md)
204
- - [Development & Build Guide](https://github.com/maybk/veri/blob/v0.2.1/docs/guide/development.md)
205
- - [Release Guide](https://github.com/maybk/veri/blob/v0.2.1/docs/guide/release.md)
206
- - [Changelog](https://github.com/maybk/veri/blob/v0.2.1/CHANGELOG.md)
201
+ - [Usage Guide](https://github.com/maybk/veri/blob/v0.2.2/docs/guide/usage.md)
202
+ - [Overview & Directory Layout](https://github.com/maybk/veri/blob/v0.2.2/docs/guide/overview.md)
203
+ - [Configuration Guide](https://github.com/maybk/veri/blob/v0.2.2/docs/guide/configuration.md)
204
+ - [Providers & Routing Guide](https://github.com/maybk/veri/blob/v0.2.2/docs/guide/providers.md)
205
+ - [Development & Build Guide](https://github.com/maybk/veri/blob/v0.2.2/docs/guide/development.md)
206
+ - [Release Guide](https://github.com/maybk/veri/blob/v0.2.2/docs/guide/release.md)
207
+ - [Changelog](https://github.com/maybk/veri/blob/v0.2.2/CHANGELOG.md)
207
208
 
208
209
  ## ⚠️ Disclaimer
209
210
 
210
211
  1. **Compliance** - Use this tool in accordance with applicable laws, target website terms of service, and upstream API policies.
211
- 2. **Privacy** - Configuration files and API keys stay in `~/.config/veri/` on your local machine and are sent only to the upstream providers you configure; `veri` contains no telemetry.
212
+ 2. **Privacy** - Configuration files and API keys stay in `~/.config/veri/` on your local machine; requests and credentials go directly to enabled upstream providers, with no relay servers or telemetry.
212
213
  3. **Liability** - Search results and extracted web pages originate from third-party sources; the authors assume no liability for external content accuracy or upstream API charges.
213
214
 
214
215
  ---
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maybk/veri",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "Multi-provider web search and Markdown extraction (CLI, MCP, Agent Skill)",
5
5
  "homepage": "https://github.com/maybk/veri",
6
6
  "license": "MIT",
@@ -35,12 +35,12 @@
35
35
  "node": ">=18"
36
36
  },
37
37
  "optionalDependencies": {
38
- "@maybk/veri-darwin-arm64": "0.2.1",
39
- "@maybk/veri-darwin-x64": "0.2.1",
40
- "@maybk/veri-linux-arm64": "0.2.1",
41
- "@maybk/veri-linux-x64": "0.2.1",
42
- "@maybk/veri-win32-x64": "0.2.1",
43
- "@maybk/veri-win32-arm64": "0.2.1"
38
+ "@maybk/veri-darwin-arm64": "0.2.2",
39
+ "@maybk/veri-darwin-x64": "0.2.2",
40
+ "@maybk/veri-linux-arm64": "0.2.2",
41
+ "@maybk/veri-linux-x64": "0.2.2",
42
+ "@maybk/veri-win32-x64": "0.2.2",
43
+ "@maybk/veri-win32-arm64": "0.2.2"
44
44
  },
45
45
  "publishConfig": {
46
46
  "access": "public"