From 89c83f454d272516d764b59ffac3ac3eef72fff2 Mon Sep 17 00:00:00 2001 From: Simon <10131203+gaomeng1900@users.noreply.github.com> Date: Fri, 27 Feb 2026 17:09:54 +0800 Subject: [PATCH] feat: update terms and default llm endpoint --- README.md | 2 +- docs/README-zh.md | 2 +- docs/privacy.md | 38 --------- docs/terms-and-privacy.md | 83 +++++++++++++++++++ packages/extension/PRIVACY.md | 63 +------------- packages/extension/docs/description.txt | 2 +- packages/extension/docs/description_zh.txt | 2 +- packages/extension/src/agent/constants.ts | 3 +- .../sidepanel/components/ConfigPanel.tsx | 2 +- packages/page-agent/src/demo.ts | 2 +- packages/website/src/components/Footer.tsx | 8 ++ packages/website/src/constants.ts | 7 +- .../src/pages/docs/features/models/page.tsx | 79 +++++++----------- packages/website/src/pages/docs/index.tsx | 6 +- .../docs/introduction/quick-start/page.tsx | 27 +++++- .../website/src/pages/home/HeroSection.tsx | 73 ++++++++++++---- 16 files changed, 225 insertions(+), 174 deletions(-) delete mode 100644 docs/privacy.md create mode 100644 docs/terms-and-privacy.md diff --git a/README.md b/README.md index c48a44d..2a4104e 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ Fastest way to try PageAgent with our free Demo LLM: | Global | https://cdn.jsdelivr.net/npm/page-agent@1.3.0/dist/iife/page-agent.demo.js | | China | https://registry.npmmirror.com/page-agent/1.3.0/files/dist/iife/page-agent.demo.js | -> **⚠️ For technical evaluation only.** Demo LLM has rate limits and usage restrictions. Slow. May change without notice. +> **⚠️ For technical evaluation only.** This demo CDN uses our free [testing LLM API](docs/terms-and-privacy.md#2-testing-api-and-demo-disclaimer--terms-of-use). By using it, you agree to its terms. ### NPM Installation diff --git a/docs/README-zh.md b/docs/README-zh.md index d399bce..e69d912 100644 --- a/docs/README-zh.md +++ b/docs/README-zh.md @@ -52,7 +52,7 @@ | Global | https://cdn.jsdelivr.net/npm/page-agent@1.3.0/dist/iife/page-agent.demo.js | | China | https://registry.npmmirror.com/page-agent/1.3.0/files/dist/iife/page-agent.demo.js | -> **⚠️ 仅用于技术评估。** Demo LLM 有速率和使用限制,速度较慢,可能随时变更。 +> **⚠️ 仅用于技术评估。** 该 Demo CDN 使用了免费的[测试 LLM API](terms-and-privacy.md#2-testing-api-and-demo-disclaimer--terms-of-use),使用即表示您同意其条款。 ### NPM 安装 diff --git a/docs/privacy.md b/docs/privacy.md deleted file mode 100644 index 6a2dbea..0000000 --- a/docs/privacy.md +++ /dev/null @@ -1,38 +0,0 @@ -# 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/docs/terms-and-privacy.md b/docs/terms-and-privacy.md new file mode 100644 index 0000000..d079837 --- /dev/null +++ b/docs/terms-and-privacy.md @@ -0,0 +1,83 @@ +# Terms of Use & 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 document covers the Page Agent software itself and the testing services we provide — **not** any third-party product or service built with it. + +--- + +## 1. Open Source Software Privacy + +Page Agent (PageAgent.js and Page Agent Extension) is a **client-side only** tool with a "Bring Your Own Key" (BYOK) architecture. The software itself does **not** include any backend service. The software does **not** collect or transmit any user data on its own, and the maintainers do **not** have access to your browsing activity, page content, or task instructions through the software. + +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. + +- 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 + +--- + +## 2. Testing API and Demo Disclaimer & Terms of Use + +To facilitate easy testing and technical evaluation, we provide a free testing LLM API. This API is used in the project homepage's live demo, the pre-built demo CDN bundles, and the browser extension's default configuration. Users may also use it independently for their own technical evaluation of page-agent. + +This free testing API is provided **strictly for technical evaluation and R&D purposes only**. It must not be used in any production environment. By using this service, you agree to the following terms: + +**No Sensitive Data**: You are strictly prohibited from inputting any Personal Identifiable Information (PII), confidential business data, financial/medical records, or using this agent on web pages containing such sensitive information. + +**Zero Data Retention**: We do not store, log, or use your prompts or webpage data (DOM) for model training. All data is processed in-transit and immediately discarded. However, we do temporarily process necessary, identity-agnostic network data (such as IP addresses) solely for rate-limiting and anti-abuse purposes. + +**Independent Infrastructure**: The `page-agent` open-source software is completely frontend-based with a "Bring Your Own Key" (BYOK) architecture and no built-in backend. To facilitate easy testing, the maintainers have independently purchased public cloud services from Alibaba Cloud China ([aliyun.com](https://www.aliyun.com) FC and BaiLian Qwen models). This project is not affiliated with, nor endorsed by, Alibaba Cloud. + +**No Guaranteed Availability**: This testing API may be rate-limited, degraded, or discontinued at any time without prior notice. + +**"AS IS" & Limitation of Liability**: This service is provided strictly on an "AS IS" and "AS AVAILABLE" basis, without any warranties. The maintainers bear no liability for any data loss, service interruption, or legal consequences arising from your use of this demo. + +**Recommendation for Real Usage**: For secure and continuous usage, we strongly advise using the default BYOK mode with your own legally compliant commercial LLM API keys, or connecting to local, offline models (e.g., Ollama). + +**Note**: This service processes data via servers located in Mainland China. If you are located in a region with strict data localization laws (such as the EU/EEA), please do not use this demo. + +--- + +## 3. Browser Extension (Page Agent Ext) + +### Data Processing + +The extension performs DOM analysis and automation actions **locally in your browser**. Your browsing history, passwords, and form data are not accessed or collected by the extension developer. + +Data is transmitted to external servers **only when you initiate an automation task**. When this occurs: + +- Your task instructions (natural language commands) +- Simplified page structure (cleaned DOM) of all pages under the extension's control + +are sent to the LLM API endpoint configured in **your settings**. + +> **Note:** The DOM cleaning process simplifies page structure for AI readability but **does not guarantee removal of sensitive information** (e.g., visible text, form values, or personal data on the page). Please be mindful of the page content when initiating tasks. + +**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 the built-in testing API**, the terms in [Section 2](#2-testing-api-and-demo-disclaimer--terms-of-use) apply. By using the extension with the default testing API, you agree to those terms. + +### Data Storage + +- **Local storage only**: Your configuration (API endpoint, API key, model selection) is stored in your browser via `chrome.storage.local` +- **No cloud sync**: Configuration is not synced to any external server +- **No analytics**: The extension does not include any analytics or tracking code + +### Your Control + +- The extension is open source and can be audited by anyone +- You choose which LLM provider to use +- You may configure your own API endpoint at any time +- You can clear all stored data by removing the extension + +--- + +## Changes + +We may update these terms as the project evolves. Significant changes will be noted in release notes. + +## Contact + +https://github.com/alibaba/page-agent/issues diff --git a/packages/extension/PRIVACY.md b/packages/extension/PRIVACY.md index 095321b..63add48 100644 --- a/packages/extension/PRIVACY.md +++ b/packages/extension/PRIVACY.md @@ -1,64 +1,5 @@ # Privacy Policy for Page Agent Extension -**Last updated:** February 2026 +This document has moved. Please see our full **[Terms of Use & Privacy](../../docs/terms-and-privacy.md)**. -## Overview - -Page Agent Extension is a browser automation tool that uses AI to help you interact with web pages. This policy explains what data is processed and under what circumstances. - -## Data Processing - -### Local Processing - -The extension performs DOM analysis and automation actions **locally in your browser**. Your browsing history, passwords, and form data are not accessed or collected by the extension developer. - -### Data Transmission - -Data is transmitted to external servers **only when you initiate an automation task**. When this occurs: - -- Your task instructions (natural language commands) -- Simplified page structure (cleaned DOM) of all pages under the extension's control - -are sent to the LLM API endpoint configured in **your settings**. - -> **Note:** The DOM cleaning process simplifies page structure for AI readability but **does not guarantee removal of sensitive information** (e.g., visible text, form values, or personal data on the page). Please be mindful of the page content when initiating tasks. - -**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 endpoints**, your requests are proxied to an LLM provider for AI processing. We currently offer two free testing endpoints: - -- **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 - -## Data Storage - -- **Local storage only**: Your configuration (API endpoint, API key, model selection) is stored in your browser via `chrome.storage.local` -- **No cloud sync**: Configuration is not synced to any external server -- **No analytics**: The extension does not include any analytics or tracking code - -## Your Control - -- The extension is open source and can be audited by anyone -- You choose which LLM provider to use -- You may configure your own API endpoint at any time -- You can clear all stored data by removing the extension - -## Changes to This Policy - -We may update this policy as the extension evolves. Significant changes will be noted in the extension's release notes. - -## Contact - -For questions about this privacy policy: -https://github.com/alibaba/page-agent/issues - ---- - -Source code: https://github.com/alibaba/page-agent +Online: https://github.com/alibaba/page-agent/blob/main/docs/terms-and-privacy.md diff --git a/packages/extension/docs/description.txt b/packages/extension/docs/description.txt index a4927a0..d400ce6 100644 --- a/packages/extension/docs/description.txt +++ b/packages/extension/docs/description.txt @@ -22,7 +22,7 @@ Page Agent Ext performs DOM analysis locally in your browser. When you initiate - Your API Key — Configure your own LLM API (OpenAI, Anthropic, etc.). Data goes directly to your provider - Test API — A free test endpoint is available for evaluation; we recommend your own key for regular use -Privacy policy: https://github.com/alibaba/page-agent/blob/main/packages/extension/PRIVACY.md +Terms of Use & Privacy: https://github.com/alibaba/page-agent/blob/main/docs/terms-and-privacy.md 🌟 Open Source: diff --git a/packages/extension/docs/description_zh.txt b/packages/extension/docs/description_zh.txt index 013afa4..62c5e07 100644 --- a/packages/extension/docs/description_zh.txt +++ b/packages/extension/docs/description_zh.txt @@ -22,7 +22,7 @@ Page Agent Ext 在浏览器本地进行 DOM 分析。当你发起任务时,经 - 你的 API Key — 配置你自己的 LLM API(OpenAI、Anthropic 等),数据直接发送到你的服务商 - 测试 API — 提供免费测试端点供体验,日常使用建议配置自己的 Key -隐私政策:https://github.com/alibaba/page-agent/blob/main/packages/extension/PRIVACY.md +使用条款与隐私:https://github.com/alibaba/page-agent/blob/main/docs/terms-and-privacy.md 🌟 开源项目: diff --git a/packages/extension/src/agent/constants.ts b/packages/extension/src/agent/constants.ts index 50a2fd2..bba9ca8 100644 --- a/packages/extension/src/agent/constants.ts +++ b/packages/extension/src/agent/constants.ts @@ -2,8 +2,7 @@ import type { LLMConfig } from '@page-agent/llms' // Demo LLM for testing export const DEMO_MODEL = 'qwen3.5-plus' -export const DEMO_BASE_URL = - 'https://hwcxiuzfylggtcktqgij.supabase.co/functions/v1/llm-testing-proxy-qwen' +export const DEMO_BASE_URL = 'https://page-ag-testing-ohftxirgbn.cn-shanghai.fcapp.run' export const DEMO_API_KEY = 'NA' export const DEMO_CONFIG: LLMConfig = { diff --git a/packages/extension/src/entrypoints/sidepanel/components/ConfigPanel.tsx b/packages/extension/src/entrypoints/sidepanel/components/ConfigPanel.tsx index 968d833..977071e 100644 --- a/packages/extension/src/entrypoints/sidepanel/components/ConfigPanel.tsx +++ b/packages/extension/src/entrypoints/sidepanel/components/ConfigPanel.tsx @@ -219,7 +219,7 @@ export function ConfigPanel({ config, onSave, onClose }: ConfigPanelProps) {
+ + {isZh ? '使用条款与隐私' : 'Terms & Privacy'} + -
-
-

Qwen (Default)

-

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

- +

+ Qwen (Alibaba Cloud China) +

+

+ {isZh + ? '通过阿里云函数计算(中国大陆)转发至百炼 Qwen 模型' + : 'Proxied via Alibaba Cloud FC (Mainland China) to BaiLian Qwen models'} + {' · '} + + {isZh ? '使用条款' : 'Terms of Use'} + +

+ -
-
-

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."} + ? '⚠️ 仅供技术评估和研发用途,禁止用于生产环境。数据通过中国大陆服务器处理。请勿输入任何个人身份信息或敏感数据。使用即表示您同意' + : '⚠️ Strictly for technical evaluation and R&D only. Data is processed via servers in Mainland China. Do not input any PII or sensitive data. By using this API you agree to the'}{' '} + + {isZh ? '使用条款' : 'Terms of Use'} +

diff --git a/packages/website/src/pages/docs/index.tsx b/packages/website/src/pages/docs/index.tsx index 359077b..61d43bb 100644 --- a/packages/website/src/pages/docs/index.tsx +++ b/packages/website/src/pages/docs/index.tsx @@ -1,6 +1,7 @@ import { Suspense } from 'react' import { Route, Switch } from 'wouter' +import Footer from '../../components/Footer' import Header from '../../components/Header' import DocsLayout from './Layout' import CustomUIDocs from './advanced/custom-ui/page' @@ -24,11 +25,14 @@ import Troubleshooting from './introduction/troubleshooting/page' function DocsPage({ children }: { children: React.ReactNode }) { return ( -
+
{children} +
+
+
) } 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 244605a..6aeb869 100644 --- a/packages/website/src/pages/docs/introduction/quick-start/page.tsx +++ b/packages/website/src/pages/docs/introduction/quick-start/page.tsx @@ -23,7 +23,32 @@ export default function QuickStart() {
- ⚠️ {isZh ? '仅用于技术评估' : 'For evaluation only'} + ⚠️{' '} + {isZh ? ( + <> + 该 Demo CDN 使用了免费的测试 LLM API,使用即表示您同意其 + + 使用条款 + + + ) : ( + <> + This demo CDN uses our free testing LLM API. By using it you agree to the{' '} + + Terms of Use + + + )}
+

+ {isZh ? ( + <> + 使用免费测试 LLM API,点击执行即表示您同意 + + 使用条款 + + + ) : ( + <> + Powered by free testing LLM API. By clicking Run you agree to the{' '} + + Terms of Use + + + )} +

)} @@ -252,10 +279,8 @@ export default function HeroSection() { } className="px-2 py-1.5 text-xs border border-gray-300 dark:border-gray-500 rounded bg-white dark:bg-gray-600 text-gray-700 dark:text-gray-200" > - - + +
  • - {isZh - ? '仅做技术评估,链接定期失效' - : 'Demo only—link may expire without notice'} + {isZh ? ( + + 使用免费测试 LLM API,使用即表示同意 + + 使用条款 + + + ) : ( + + Uses free testing LLM API. By using you agree to the{' '} + + Terms of Use + + + )}
  • {isZh - ? '使用 Qwen 模型(阿里云百炼),参考阿里云隐私政策' - : 'This free demo uses Qwen via Alibaba Cloud Bailian (see their privacy policy)'} + ? '数据通过中国大陆服务器处理' + : 'Data processed via servers in Mainland China'}
  • @@ -301,9 +348,7 @@ export default function HeroSection() {
  • - {isZh - ? '仅支持单页应用,页面跳转后需要重新注入' - : 'Works on single-page apps only—reload required after navigation'} + {isZh ? '支持单页应用' : 'Works on single-page apps'}
  • @@ -313,10 +358,10 @@ export default function HeroSection() {
  • - {isZh ? '详细使用限制参照' : 'Full limitations in'}{' '} + {isZh ? '详细使用限制参照' : 'Full limitations in'} {isZh ? '《文档》' : 'Docs'}