From f9ba01a3864c4acf47e35156a79d2481e5fd5c67 Mon Sep 17 00:00:00 2001 From: Simon <10131203+gaomeng1900@users.noreply.github.com> Date: Tue, 21 Oct 2025 18:39:32 +0800 Subject: [PATCH] chore: update CDN URL to version 0.0.2 --- README-zh.md | 2 +- README.md | 2 +- pages/docs/introduction/quick-start/page.tsx | 2 +- pages/page.tsx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README-zh.md b/README-zh.md index d832d5c..82b48e9 100644 --- a/README-zh.md +++ b/README-zh.md @@ -34,7 +34,7 @@ ```html - + ``` ### NPM 安装 diff --git a/README.md b/README.md index 1722eb3..810aa5b 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ An in-page UI agent in javascript. Control web interfaces with natural language. ```html - + ``` ### NPM Installation diff --git a/pages/docs/introduction/quick-start/page.tsx b/pages/docs/introduction/quick-start/page.tsx index dc0b73e..fc62609 100644 --- a/pages/docs/introduction/quick-start/page.tsx +++ b/pages/docs/introduction/quick-start/page.tsx @@ -22,7 +22,7 @@ export default function QuickStart() {

CDN 引入

`} +`} language="html" /> diff --git a/pages/page.tsx b/pages/page.tsx index b1a4985..b4ee0b2 100644 --- a/pages/page.tsx +++ b/pages/page.tsx @@ -12,7 +12,7 @@ const DEMO_BASE_URL = 'https://hwcxiuzfylggtcktqgij.supabase.co/functions/v1/llm const DEMO_API_KEY = 'PAGE-AGENT-FREE-TESTING-RANDOM' const injection = encodeURI( - "javascript:(function(){var s=document.createElement('script');s.src=`https://hwcxiuzfylggtcktqgij.supabase.co/storage/v1/object/public/demo-public/v0.0.1/page-agent.js?t=${Math.random()}`;s.setAttribute('crossorigin', true);s.type=`text/javascript`;s.onload=()=>console.log('PageAgent script loaded!');document.body.appendChild(s);})();" + "javascript:(function(){var s=document.createElement('script');s.src=`https://hwcxiuzfylggtcktqgij.supabase.co/storage/v1/object/public/demo-public/v0.0.2/page-agent.js?t=${Math.random()}`;s.setAttribute('crossorigin', true);s.type=`text/javascript`;s.onload=()=>console.log('PageAgent script loaded!');document.body.appendChild(s);})();" ) const injectionA = `