From 7e639cabf4d66ba339e2984a430d562b8e2280b4 Mon Sep 17 00:00:00 2001
From: YuShanNan <64715990+YuShanNan@users.noreply.github.com>
Date: Wed, 22 Apr 2026 15:26:51 +0800
Subject: [PATCH 1/6] Polish script editor UI
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---
.github/copilot-instructions.md | 52 ++
index.html | 1022 +++++++++++++++++++++++++++----
2 files changed, 951 insertions(+), 123 deletions(-)
create mode 100644 .github/copilot-instructions.md
diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md
new file mode 100644
index 0000000..88bff7d
--- /dev/null
+++ b/.github/copilot-instructions.md
@@ -0,0 +1,52 @@
+# Copilot Instructions
+
+## Project shape
+
+- The whole application lives in `index.html`. Template markup, CSS overrides, Vue state, persistence, import/export, audio processing, and video generation are all defined there.
+- This is a browser-first tool for AI audiobook production. The README positions it around LLM-driven script analysis plus IndexTTS / Qwen3TTS workflows, with users supplying OpenAI-compatible LLM endpoints and TTS service URLs.
+- Frontend dependencies are loaded in the page, not through a package manager: Vue 3 and Tailwind via CDN, `mp4-muxer` via CDN, and ffmpeg helpers from `vendor\ffmpeg` plus ffmpeg core wasm loaded at runtime.
+
+## Commands and validation
+
+- There is no repository build, test, or lint manifest (`package.json`, `requirements.txt`, etc. are absent).
+- There is no built-in single-test command because the repository does not ship a test suite.
+- Typical local run path is to open `index.html` in a browser or serve the repository as static files.
+- For quick syntax validation after editing the inline Vue app, extract the main `