u1s1-cli-cn 1.20.0 → 1.20.1

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.
@@ -195,6 +195,12 @@ export function renderDshPatch(input) {
195
195
  " config:",
196
196
  " searchProvider: null",
197
197
  ` fetchProvider: ${y("http")}`,
198
+ "",
199
+ "# dsh's own web_search has no usable search provider, so turn it off (u1s1 search is over MCP); only affects profiles with top-level tool entries such as headless (the web profile's tools live in its agent preset)",
200
+ "- id: tool-web",
201
+ " config:",
202
+ " search: false",
203
+ " fetch: true",
198
204
  ];
199
205
  if (input.mcp) {
200
206
  lines.push("", "# u1s1 tools (web search, page fetch, image generation) over MCP, through the same signing proxy", "- insert:", ` - id: ${y(`mcp-${MCP_SERVER_NAME}`)}`, ` name: ${y("@deepseek-ai/dsh-mcp-client")}`, " config:", ` serverName: ${y(MCP_SERVER_NAME)}`, ` transport: ${y("stdio")}`, ` command: ${y(input.mcp.command)}`, ` args: ${y(input.mcp.args)}`, " env:", ...input.mcp.envVars.map((name) => ` ${name}: !!js process.env.${name}`));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "u1s1-cli-cn",
3
- "version": "1.20.0",
3
+ "version": "1.20.1",
4
4
  "description": "u1s1 — 有一说一,最省心的 AI 编程搭子。终端里用中文说需求,AI 帮你读文件、改代码、跑命令。",
5
5
  "type": "module",
6
6
  "bin": {