diff --git a/AGENTS.md b/AGENTS.md index fa050b4..69db5a0 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -47,7 +47,7 @@ On a new database, open the management page after starting the server. The first and confirms an administrator password, creates the `admin` user, and signs the user in automatically. The CLI bootstrap remains available for headless or operational environments. -Disable browser automation when Chromium is unavailable: +Disable browser automation only when the user explicitly requests it or explicitly confirms that Chromium is unavailable. Unless the user gives that direction, agents MUST NOT add `-no-browser` when starting the server: ```bash go run ./cmd/server -db data/xianyu_data.db -addr :59188 -no-browser diff --git a/frontend/app/features/cards/pages/CardList.tsx b/frontend/app/features/cards/pages/CardList.tsx index fc1a835..20d87bc 100644 --- a/frontend/app/features/cards/pages/CardList.tsx +++ b/frontend/app/features/cards/pages/CardList.tsx @@ -372,7 +372,7 @@ const CardList: React.FC = () => { className="w-full ios-input px-4 py-3 rounded-xl font-mono text-sm" placeholder="https://example.com/image.png" /> -

输入图片卡密的 URL 地址

+

仅保存图片 URL;发货时会临时下载并上传到闲鱼

{editForm.image_url && (
@@ -533,13 +533,16 @@ const CardList: React.FC = () => { className="w-full ios-input px-4 py-3 rounded-xl" /> ) : addForm.type === 'image' ? ( - setAddForm({ ...addForm, content: e.target.value })} - className="w-full ios-input px-4 py-3 rounded-xl" - placeholder="https://example.com/card.png" - /> +
+ setAddForm({ ...addForm, content: e.target.value })} + className="w-full ios-input px-4 py-3 rounded-xl" + placeholder="https://example.com/card.png" + /> +

仅保存图片 URL;发货时会临时下载并上传到闲鱼

+
) : (