From b186ffcaa68f714a4474c6ce7e0edb1946ea66eb Mon Sep 17 00:00:00 2001 From: Simon <10131203+gaomeng1900@users.noreply.github.com> Date: Sun, 11 Jan 2026 00:05:21 +0800 Subject: [PATCH] chore: info about CDN --- README-zh.md | 30 +++++++++++++++++------------- README.md | 30 +++++++++++++++++------------- 2 files changed, 34 insertions(+), 26 deletions(-) diff --git a/README-zh.md b/README-zh.md index dda41fc..0d6f873 100644 --- a/README-zh.md +++ b/README-zh.md @@ -28,19 +28,6 @@ ## 🚀 快速开始 -### CDN 集成 - -- CDN - https://cdn.jsdelivr.net/npm/page-agent@latest/dist/umd/page-agent.js -- Mirror(CN) -https://registry.npmmirror.com/page-agent/latest/files/dist/umd/page-agent.js - -```html - -``` - ### NPM 安装 ```bash @@ -67,6 +54,23 @@ const agent = new PageAgent({ await agent.execute('点击登录按钮') ``` +### CDN 集成 + +Fastest way to try PageAgent is to include it via CDN. Demo model will be used by default. + +| Location | URL | +| -------- | ----------------------------------------------------------------------------- | +| Global | https://cdn.jsdelivr.net/npm/page-agent@latest/dist/umd/page-agent.js | +| China | https://registry.npmmirror.com/page-agent/latest/files/dist/umd/page-agent.js | + +```html + +``` + ## 🏗️ 架构设计 PageAgent adopts a simplified monorepo structure: diff --git a/README.md b/README.md index 77917df..a9db07d 100644 --- a/README.md +++ b/README.md @@ -28,19 +28,6 @@ The GUI Agent Living in Your Webpage. Control web interfaces with natural langua ## 🚀 Quick Start -### CDN Integration - -- CDN - https://cdn.jsdelivr.net/npm/page-agent@latest/dist/umd/page-agent.js -- Mirror(CN) -https://registry.npmmirror.com/page-agent/latest/files/dist/umd/page-agent.js - -```html - -``` - ### NPM Installation ```bash @@ -67,6 +54,23 @@ const agent = new PageAgent({ await agent.execute('Click the login button') ``` +### CDN Integration + +Fastest way to try PageAgent is to include it via CDN. Demo model will be used by default. + +| Location | URL | +| -------- | ----------------------------------------------------------------------------- | +| Global | https://cdn.jsdelivr.net/npm/page-agent@latest/dist/umd/page-agent.js | +| China | https://registry.npmmirror.com/page-agent/latest/files/dist/umd/page-agent.js | + +```html + +``` + ## 🏗️ Structure PageAgent adopts a simplified monorepo structure: