@luffysolution/omnischolar-pi 0.1.19 → 0.1.20

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.
@@ -105,6 +105,7 @@ Upload only images you may share with the selected service. After files are save
105
105
  ## Current provider notes
106
106
 
107
107
  - fal has been tested for queue submission, polling, data-URI results, text-to-image, and two-reference editing. If the local machine cannot resolve the fal CDN, a data-URI result can still be saved.
108
+ - Fal defaults to the official `sync_mode=true` path, saving the data URI directly without downloading an output CDN URL; set `options.sync_mode=false` to opt into the traditional hosted-URL flow.
108
109
  - DashScope/Qwen supports the Qwen AI Platform native endpoint `https://dashscope.aliyuncs.com/api/v1` and regional Bailian workspace endpoints such as `https://<workspace>.cn-beijing.maas.aliyuncs.com/api/v1`. When `workspace` and `region` are supplied, the tool can derive the regional endpoint.
109
110
  - Gemini's `apiKeyEnv` must name an environment variable that exists.
110
111
  - Atlas Cloud uses `https://api.atlascloud.ai/api/v1`, submits to `model/generateImage`, and polls `model/prediction/{id}`. The built-in set includes official Nano Banana 2, GPT Image 2, and GPT Image 2.5 Flare/Sunburst IDs. Atlas image tasks are asynchronous and their `outputs` are saved locally.
@@ -105,6 +105,7 @@ Atlas、fal、Vertex、DashScope/Qwen 和自定义服务的模型目录能力不
105
105
  ## 当前服务说明
106
106
 
107
107
  - fal 已验证队列提交、轮询、data URI 结果、文生图和双参考图编辑。本机若无法解析 fal CDN,data URI 结果仍可保存。
108
+ - Fal 默认使用官方 `sync_mode=true`,直接保存 data URI,不需要下载输出 CDN;可通过 `options.sync_mode=false` 选择传统远程 URL 流程。
108
109
  - DashScope/Qwen 支持千问 AI 平台的通用原生地址 `https://dashscope.aliyuncs.com/api/v1`,也支持百炼按地域的 workspace 地址,例如 `https://<workspace>.cn-beijing.maas.aliyuncs.com/api/v1`。当填写 `workspace` 和 `region` 时,工具可以自动拼接地域地址。
109
110
  - Gemini 配置中的 `apiKeyEnv` 必须指向已存在的环境变量。
110
111
  - Atlas Cloud 使用 `https://api.atlascloud.ai/api/v1`、`model/generateImage` 提交和 `model/prediction/{id}` 轮询;默认内置 Nano Banana 2、GPT Image 2、GPT Image 2.5 Flare/Sunburst 的官方模型 ID。Atlas 的图片任务是异步的,结果中的 `outputs` 会保存到本地。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luffysolution/omnischolar-pi",
3
- "version": "0.1.19",
3
+ "version": "0.1.20",
4
4
  "description": "Pi MCP bridge for the OmniScholar research toolkit",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  import { Client } from "@modelcontextprotocol/sdk/client/index.js";
2
2
  import { StdioClientTransport } from "@modelcontextprotocol/sdk/client/stdio.js";
3
3
  import { Type } from "typebox";
4
- const CLIENT_INFO = { name: "omnischolar-pi", version: "0.1.19" };
4
+ const CLIENT_INFO = { name: "omnischolar-pi", version: "0.1.20" };
5
5
  export function resultText(result) {
6
6
  return result.content
7
7
  .map((item) => {