textcast-chat-axi 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/cli.mjs +1948 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -69,7 +69,7 @@ Node 22 or newer is required.
|
|
|
69
69
|
- **Moving between pages** - A link to another HTML page of the same site - the transcript, its summary, the index - keeps the review open: the chrome moves the session to that page, so asking about text keeps working there, and live reload follows it. The site is the nearest directory up to four levels above the opened file that holds a Textcast `textcast.json`, or else the file's own directory; links outside it, to other sites, or into new tabs behave as the page wrote them. A note written on another page carries that file's absolute path as its `page`, and the poll tells the agent to edit that file.
|
|
70
70
|
- **Video player** - A Textcast page cannot run a YouTube or Bilibili embed inside the sandbox, so clicking a timestamp hands the video id and start second to the review window, which plays it in a floating player. The window builds the embed URL itself; the page cannot point it anywhere else. On a page with a video, the More menu (⋮) has a "Play the video when a line is clicked" switch; off, clicking the transcript plays nothing and opens no tab. The choice is kept per browser.
|
|
71
71
|
- **Draggable launcher, panel, and player** - On desktop the round launcher, the conversation panel (by its header), and the player (by the grip at its top) can be dragged. The launcher settles against the nearer side edge and hides while the panel is open; an undragged panel opens beside the launcher. The player has no title bar: its grip and close button appear on hover, and dragging any edge or corner resizes it at 16:9, never below its default size or past the window. Positions and the player size are kept per browser. Phones keep the fixed bottom sheet.
|
|
72
|
-
- **Language** - The review window and the in-page Ask card follow the page's `<html lang
|
|
72
|
+
- **Language** - The review window and the in-page Ask card follow the page's `<html lang>`, in the same 17 languages a Textcast page can be written in: English, Simplified and Traditional Chinese, Japanese, Korean, French, German, Spanish, Portuguese, Italian, Russian, Arabic (right to left), Hindi, Vietnamese, Thai, Indonesian and Turkish. Any other language gets English. There is no separate switch: the page's language is fixed when it is published, so the window always matches it.
|
|
73
73
|
- **Load notice** - Nothing covers the page while it loads. If the review cannot load at all - the window's own script never runs, or the server does not answer after several retries - a small notice at the top names the problem and offers **Check and reload**. **Dismiss** always closes it.
|
|
74
74
|
A review already open in another tab is named the same way, with a **Take over here** button, because a page loads in one tab at a time. The takeover warning reads "Unsent answers stay in the tab or window where you entered them; taking over in another window does not bring them along."
|
|
75
75
|
- **Revisions legend** - Opt-in. The agent can declare what it changed in the page: one `<script type="application/json" data-textcast-revisions>` array of `{ id, label, timestamp, summary }` entries, plus `data-textcast-revision="<id>"` on each block it edited or added.
|