From 2b99620de3b006da537ff5450c6ecc044be0c905 Mon Sep 17 00:00:00 2001 From: Simon <10131203+gaomeng1900@users.noreply.github.com> Date: Tue, 24 Feb 2026 00:59:42 +0800 Subject: [PATCH] feat: add qwen3.5-plus for testing and make it default --- README.md | 4 +- docs/README-zh.md | 4 +- docs/privacy.md | 38 ++++++++++ packages/extension/PRIVACY.md | 10 ++- packages/extension/src/agent/constants.ts | 6 +- packages/page-agent/src/demo.ts | 6 +- packages/website/src/constants.ts | 6 +- .../src/pages/docs/features/models/page.tsx | 75 +++++++++++++++++-- .../docs/introduction/quick-start/page.tsx | 4 +- .../website/src/pages/home/HeroSection.tsx | 4 +- 10 files changed, 130 insertions(+), 27 deletions(-) create mode 100644 docs/privacy.md diff --git a/README.md b/README.md index a470f0e..c48a44d 100644 --- a/README.md +++ b/README.md @@ -64,8 +64,8 @@ npm install page-agent import { PageAgent } from 'page-agent' const agent = new PageAgent({ - model: 'deepseek-chat', - baseURL: 'https://api.deepseek.com', + model: 'qwen3.5-plus', + baseURL: 'https://dashscope.aliyuncs.com/compatible-mode/v1', apiKey: 'YOUR_API_KEY', language: 'en-US', }) diff --git a/docs/README-zh.md b/docs/README-zh.md index a3405a4..d399bce 100644 --- a/docs/README-zh.md +++ b/docs/README-zh.md @@ -64,8 +64,8 @@ npm install page-agent import { PageAgent } from 'page-agent' const agent = new PageAgent({ - model: 'deepseek-chat', - baseURL: 'https://api.deepseek.com', + model: 'qwen3.5-plus', + baseURL: 'https://dashscope.aliyuncs.com/compatible-mode/v1', apiKey: 'YOUR_API_KEY', language: 'zh-CN', }) diff --git a/docs/privacy.md b/docs/privacy.md new file mode 100644 index 0000000..6a2dbea --- /dev/null +++ b/docs/privacy.md @@ -0,0 +1,38 @@ +# Privacy + +**Last updated:** February 2026 + +"We" in this document refers to the maintainers of the open-source Page Agent project (https://github.com/alibaba/page-agent). This policy covers only the Page Agent software itself — **not** any third-party product or service built with it. If you are using a product that integrates Page Agent, please refer to that product's own privacy policy. + +## No Backend, No Data Collection + +Page Agent (PageAgent.js and PageAgent Extension) is a **client-side only** tool. The product itself does **not** include any backend service. We do **not** collect or transmit any user data, and do **not** have access to your browsing activity, page content, or task instructions. + +All data transmission occurs **only** between your browser and the LLM provider you configure. You are in full control of which provider receives your data. + +## Free Testing LLM Proxies + +We provide two free LLM proxy services **for technical evaluation of PageAgent.js and PageAgent Extension only**: + +| Model | Proxy Target | Terms / Privacy | +| ----------------------- | -------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | +| Qwen (Singapore Region) | `https://dashscope-intl.aliyuncs.com/compatible-mode/v1` | [Alibaba Cloud Bailian Terms](https://terms.alicdn.com/legal-agreement/terms/common_platform_service/20230728213935489/20230728213935489.html) | +| DeepSeek | `https://api.deepseek.com` | [DeepSeek Privacy Policy](https://cdn.deepseek.com/policies/en-US/deepseek-privacy-policy.html) | + +When using these proxies: + +- Your task instructions and simplified page content are forwarded to the respective LLM provider +- We do **not** store your task content, page content, or visited URLs +- Minimal logging (timestamps, request metadata) may exist for abuse prevention +- The free model and service providers may change at any time without notice +- **Not recommended for production or daily use** + +## Your Control + +- You choose which LLM provider to use +- You may configure your own API endpoint at any time +- The project is open source and can be audited: https://github.com/alibaba/page-agent + +## Contact + +https://github.com/alibaba/page-agent/issues diff --git a/packages/extension/PRIVACY.md b/packages/extension/PRIVACY.md index b7739bb..095321b 100644 --- a/packages/extension/PRIVACY.md +++ b/packages/extension/PRIVACY.md @@ -25,13 +25,17 @@ are sent to the LLM API endpoint configured in **your settings**. **If you configure a third-party LLM provider** (e.g., OpenAI, Anthropic, or others), data is sent directly to that provider. Their privacy policies apply. -**If you use our testing endpoint**, your requests are proxied to [DeepSeek](https://deepseek.com) for AI processing. Regarding this test endpoint: +**If you use our testing endpoints**, your requests are proxied to an LLM provider for AI processing. We currently offer two free testing endpoints: -- This endpoint is provided for evaluation purposes only and is not recommended for production or daily use +- **Qwen**: Proxied to `https://dashscope-intl.aliyuncs.com/compatible-mode/v1` ([Alibaba Cloud Bailian](https://bailian.console.aliyun.com/)). [Bailian Terms of Service](https://terms.alicdn.com/legal-agreement/terms/common_platform_service/20230728213935489/20230728213935489.html) applies. +- **DeepSeek**: Proxied to `https://api.deepseek.com`. [DeepSeek Privacy Policy](https://cdn.deepseek.com/policies/en-US/deepseek-privacy-policy.html) applies. + +Regarding these test endpoints: + +- These endpoints are provided for evaluation purposes only and are not recommended for production or daily use - The free model and their service providers may change at any time without prior notice - We do **not** store your task content, page content, or visited URLs - Minimal logging (timestamps, request metadata, IP addresses) may be collected for abuse prevention and service stability -- DeepSeek's [Privacy Policy](https://cdn.deepseek.com/policies/en-US/deepseek-privacy-policy.html) applies to their processing of your requests ## Data Storage diff --git a/packages/extension/src/agent/constants.ts b/packages/extension/src/agent/constants.ts index 8512beb..50a2fd2 100644 --- a/packages/extension/src/agent/constants.ts +++ b/packages/extension/src/agent/constants.ts @@ -1,10 +1,10 @@ import type { LLMConfig } from '@page-agent/llms' // Demo LLM for testing -export const DEMO_MODEL = 'PAGE-AGENT-FREE-TESTING-RANDOM' +export const DEMO_MODEL = 'qwen3.5-plus' export const DEMO_BASE_URL = - 'https://hwcxiuzfylggtcktqgij.supabase.co/functions/v1/llm-testing-proxy' -export const DEMO_API_KEY = 'PAGE-AGENT-FREE-TESTING-RANDOM' + 'https://hwcxiuzfylggtcktqgij.supabase.co/functions/v1/llm-testing-proxy-qwen' +export const DEMO_API_KEY = 'NA' export const DEMO_CONFIG: LLMConfig = { apiKey: DEMO_API_KEY, diff --git a/packages/page-agent/src/demo.ts b/packages/page-agent/src/demo.ts index 21f220d..4522151 100644 --- a/packages/page-agent/src/demo.ts +++ b/packages/page-agent/src/demo.ts @@ -13,9 +13,9 @@ window.PageAgent = PageAgent console.log('🚀 page-agent.js loaded!') -const DEMO_MODEL = 'PAGE-AGENT-FREE-TESTING-RANDOM' -const DEMO_BASE_URL = 'https://hwcxiuzfylggtcktqgij.supabase.co/functions/v1/llm-testing-proxy' -const DEMO_API_KEY = 'PAGE-AGENT-FREE-TESTING-RANDOM' +const DEMO_MODEL = 'qwen3.5-plus' +const DEMO_BASE_URL = 'https://hwcxiuzfylggtcktqgij.supabase.co/functions/v1/llm-testing-proxy-qwen' +const DEMO_API_KEY = 'NA' // in case document.x is not ready yet setTimeout(() => { diff --git a/packages/website/src/constants.ts b/packages/website/src/constants.ts index f70bd6f..d35cdaa 100644 --- a/packages/website/src/constants.ts +++ b/packages/website/src/constants.ts @@ -5,7 +5,7 @@ export const CDN_DEMO_CN_URL = 'https://registry.npmmirror.com/page-agent/1.3.0/files/dist/iife/page-agent.demo.js' // Demo LLM for website testing -export const DEMO_MODEL = 'PAGE-AGENT-FREE-TESTING-RANDOM' +export const DEMO_MODEL = 'qwen3.5-plus' export const DEMO_BASE_URL = - 'https://hwcxiuzfylggtcktqgij.supabase.co/functions/v1/llm-testing-proxy' -export const DEMO_API_KEY = 'PAGE-AGENT-FREE-TESTING-RANDOM' + 'https://hwcxiuzfylggtcktqgij.supabase.co/functions/v1/llm-testing-proxy-qwen' +export const DEMO_API_KEY = 'NA' diff --git a/packages/website/src/pages/docs/features/models/page.tsx b/packages/website/src/pages/docs/features/models/page.tsx index 5e38c6c..74b7c2b 100644 --- a/packages/website/src/pages/docs/features/models/page.tsx +++ b/packages/website/src/pages/docs/features/models/page.tsx @@ -140,7 +140,7 @@ export default function Models() { const pageAgent = new PageAgent({ baseURL: 'https://dashscope.aliyuncs.com/compatible-mode/v1', apiKey: 'your-api-key', - model: 'qwen-plus' + model: 'qwen3.5-plus' }); // Self-hosted models (e.g., Ollama) @@ -150,16 +150,77 @@ const pageAgent = new PageAgent({ model: 'qwen3:14b' }); -// Free testing endpoint -// Note: Rate-limited, content-filtered, subject to change. Replace with your own. -// Note: Uses official DeepSeek-chat (3.2). See DeepSeek website for terms & privacy. -const DEMO_MODEL = 'PAGE-AGENT-FREE-TESTING-RANDOM' -const DEMO_BASE_URL = 'https://hwcxiuzfylggtcktqgij.supabase.co/functions/v1/llm-testing-proxy' -const DEMO_API_KEY = 'PAGE-AGENT-FREE-TESTING-RANDOM' `} /> + {/* Free Testing API Section */} +
+

+ {isZh ? '免费测试接口' : 'Free Testing API'} +

+

+ {isZh + ? '以下免费测试接口仅供 PageAgent.js 和 PageAgent Extension 的技术评估使用。有速率限制,可能随时变更。请勿用于生产环境。' + : 'The following free testing endpoints are provided for technical evaluation of PageAgent.js and PageAgent Extension only. Rate-limited, subject to change. Not for production use.'} +

+
+
+

Qwen (Default)

+

+ {isZh ? '转发至阿里云百炼平台' : 'Proxied to'}{' '} + + https://dashscope-intl.aliyuncs.com/compatible-mode/v1 + + {' · '} + + {isZh ? '百炼服务协议' : 'Bailian Terms'} + +

+ +
+
+

DeepSeek

+

+ {isZh ? '转发至 DeepSeek 官方 API' : 'Proxied to'}{' '} + + https://api.deepseek.com + + {' · '} + + {isZh ? 'DeepSeek 隐私政策' : 'DeepSeek Privacy Policy'} + +

+ +
+
+
+

+ {isZh + ? '⚠️ 测试接口仅供技术评估。免费模型及其提供商可能随时变更,恕不另行通知。请参阅各 LLM 提供商的隐私政策了解数据处理方式。' + : "⚠️ Testing endpoints are for technical evaluation only. The free model and service providers may change at any time without notice. Refer to each LLM provider's privacy policy for data handling details."} +

+
+
+ {/* Ollama Section */}

Ollama

diff --git a/packages/website/src/pages/docs/introduction/quick-start/page.tsx b/packages/website/src/pages/docs/introduction/quick-start/page.tsx index 0552d3c..244605a 100644 --- a/packages/website/src/pages/docs/introduction/quick-start/page.tsx +++ b/packages/website/src/pages/docs/introduction/quick-start/page.tsx @@ -71,8 +71,8 @@ import { PageAgent } from 'page-agent'`} {isZh - ? '使用 DeepSeek 模型,参考 DeepSeek 用户协议和隐私政策' - : 'This free demo uses DeepSeek API (see their terms and privacy policy)'} + ? '使用 Qwen 模型(阿里云百炼),参考阿里云隐私政策' + : 'This free demo uses Qwen via Alibaba Cloud Bailian (see their privacy policy)'}