dsh-univer-office 0.2.1 → 0.2.2
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 +2 -1
- package/README.zh-CN.md +2 -1
- package/artifacts/viewer/assets/{ca-ES-BJKJjEGe.js → ca-ES-BvT0chlP.js} +1 -1
- package/artifacts/viewer/assets/{ca-ES-RC-_V5nd.js → ca-ES-CsomkLWq.js} +1 -1
- package/artifacts/viewer/assets/{de-DE-CP-Yx3T1.js → de-DE-BBgCVPYi.js} +1 -1
- package/artifacts/viewer/assets/{de-DE-BUkE5q0b.js → de-DE-FtnJHKKh.js} +1 -1
- package/artifacts/viewer/assets/{en-US-B4IwP0xm.js → en-US-58JRlD4u.js} +1 -1
- package/artifacts/viewer/assets/{en-US-CYthFOPj.js → en-US-C5MZjl8f.js} +1 -1
- package/artifacts/viewer/assets/{es-ES-IONU3PF3.js → es-ES-DKJmEyuA.js} +1 -1
- package/artifacts/viewer/assets/{es-ES-D3Hrj-SO.js → es-ES-JJ3d7mN4.js} +1 -1
- package/artifacts/viewer/assets/{fr-FR-BU98uowX.js → fr-FR-CS_2zOaR.js} +1 -1
- package/artifacts/viewer/assets/{fr-FR-FcB9LSYF.js → fr-FR-Cik4fMuS.js} +1 -1
- package/artifacts/viewer/assets/{id-ID-Db3CYBuU.js → id-ID-C_kAJjVV.js} +1 -1
- package/artifacts/viewer/assets/{id-ID-ClEPNNpA.js → id-ID-zxwU4Myl.js} +1 -1
- package/artifacts/viewer/assets/{index-DQCeBVTS.js → index-DWQloWh2.js} +4 -4
- package/artifacts/viewer/assets/{it-IT-B5_SjTmq.js → it-IT-C6qsWXLP.js} +1 -1
- package/artifacts/viewer/assets/{it-IT-CNb2zF9k.js → it-IT-HA7IXh-7.js} +1 -1
- package/artifacts/viewer/assets/{ja-JP-DRuwxhcx.js → ja-JP-BM9BDIW-.js} +1 -1
- package/artifacts/viewer/assets/{ja-JP-CKx9LcVl.js → ja-JP-CfqZYtJL.js} +1 -1
- package/artifacts/viewer/assets/{ko-KR-3Ib-07y_.js → ko-KR-BQNRi6BR.js} +1 -1
- package/artifacts/viewer/assets/{ko-KR-BZf4MZP9.js → ko-KR-DrcaUZ57.js} +1 -1
- package/artifacts/viewer/assets/merge-CJbv1jYe.js +2 -0
- package/artifacts/viewer/assets/{pl-PL-D16QFkPj.js → pl-PL-CVIqaSD0.js} +1 -1
- package/artifacts/viewer/assets/{pl-PL-D9ObGSov.js → pl-PL-Cn12nGUq.js} +1 -1
- package/artifacts/viewer/assets/{pt-BR-60njTn3V.js → pt-BR-Bkudl4dh.js} +1 -1
- package/artifacts/viewer/assets/{pt-BR-BidQFL6X.js → pt-BR-BqwJV-Is.js} +1 -1
- package/artifacts/viewer/assets/{ru-RU-CY64lotF.js → ru-RU-3I4T9I58.js} +1 -1
- package/artifacts/viewer/assets/{ru-RU-6_ANwG2G.js → ru-RU-CoVL5Tr1.js} +1 -1
- package/artifacts/viewer/assets/{sk-SK-DPaZav5K.js → sk-SK-BGB3Rl50.js} +1 -1
- package/artifacts/viewer/assets/{sk-SK-BD6KmntT.js → sk-SK-v4zMEelj.js} +1 -1
- package/artifacts/viewer/assets/{vi-VN-DdpHmSYW.js → vi-VN-C-CowjJw.js} +1 -1
- package/artifacts/viewer/assets/{vi-VN-wtH4g_I9.js → vi-VN-DwDelUBt.js} +1 -1
- package/artifacts/viewer/assets/{zh-CN-BtXhlo1R.js → zh-CN-CjtgdmGT.js} +1 -1
- package/artifacts/viewer/assets/{zh-CN-ypyyxHWd.js → zh-CN-sfKAgC6b.js} +1 -1
- package/artifacts/viewer/assets/{zh-CN-C2W-MAwT.js → zh-CN-uDS9GFgD.js} +1 -1
- package/artifacts/viewer/assets/{zh-HK-DJ71xmkL.js → zh-HK--hylWGz_.js} +1 -1
- package/artifacts/viewer/assets/{zh-HK-ChBpvlO1.js → zh-HK-4yntosIu.js} +1 -1
- package/artifacts/viewer/assets/{zh-TW-CaMb57u3.js → zh-TW-6koOvdl2.js} +1 -1
- package/artifacts/viewer/assets/{zh-TW-D7xWW17t.js → zh-TW-S-yTeTBQ.js} +1 -1
- package/artifacts/viewer/index.html +1 -1
- package/docs/architecture.md +7 -4
- package/lib/client.js +287 -142
- package/package.json +1 -1
- package/artifacts/viewer/assets/merge-Bt4evAzV.js +0 -2
package/README.md
CHANGED
|
@@ -35,7 +35,8 @@ Create and preview Univer office files (sheets, docs, slides, bases) directly in
|
|
|
35
35
|
- **In-app fullscreen viewer** — click the card to open the sheet in an in-app iframe; close with ✕ / mask / Esc.
|
|
36
36
|
- **Live floating worktree window** — when the agent creates or updates a worktree, a small window pops up in the **top-right corner** embedding the live read-only worktree page. Edits appear in real time. When one worktree touches several units (e.g. a sheet plus a deck), the window and the review panel show **unit chips** that list ONLY changed units (+ added / ✎ modified / - deleted / ⚠ conflict) with status icons, defaulting to the first one.
|
|
37
37
|
- **Window interactions** — drag the title bar to move and double-click it to maximize; use the dedicated fold, maximize/restore, and close controls; drag any edge or corner to resize. Folding keeps the loaded Viewer mounted for instant restoration. Movement, resizing, and viewport changes keep the full window reachable on screen.
|
|
38
|
-
- **Ready + session end → close, then
|
|
38
|
+
- **Ready + session end → close, then review card** — once the session goes idle, every worktree appears as an inline review card after the latest completed turn that touched it. The compact card header puts the Univer file name and worktree name on the first row, shows only the full file path on the second row, and keeps lifecycle status and controls on the right; expanded review cards use one width and content height across lifecycle states. The Univer page can be collapsed without unloading and supports fullscreen with Esc to exit. `ready` shows the full merge view (`scope=mergePreview`), whose own page controls are the only Discard / Merge into current version actions; **`draft` shows up too**, with the full live worktree page plus Submit for confirmation / Discard actions. After merge or discard, the same card remains, removes mutation actions, and switches its full page to mainline. When a later turn touches the worktree, the earlier turn retains the same review header as a compact history marker while the full interactive card moves to the newer turn. A Univer file with no units labels the existing empty state “Empty file.” While the session is still running, non-terminal worktrees stay as top-right windows.
|
|
39
|
+
- **Review-card viewport** — an expanded desktop card is about 650px tall by default. Its embedded full Univer page starts with the left sidebar collapsed and can still be expanded from inside the page. The card hides its fold control while fullscreen and restores it after fullscreen exits.
|
|
39
40
|
- **Bundled Gateway management** — the plugin ships the collaboration Gateway and Viewer; green dot = running, yellow dot = stopped, click to start the plugin-owned Gateway.
|
|
40
41
|
- **Multi-session** — each session shows its own turn's cards, windows, and merge panels.
|
|
41
42
|
- **Bilingual UI** — the plugin shell and every open Viewer follow the app locale (zh / en).
|
package/README.zh-CN.md
CHANGED
|
@@ -35,7 +35,8 @@
|
|
|
35
35
|
- **应用内全屏预览** —— 点卡片在应用内 iframe 中打开表格;✕ / 遮罩 / Esc 关闭。
|
|
36
36
|
- **实时浮窗** —— agent 创建或更新 worktree 后,**右上角**弹出小浮窗,内嵌只读实时 worktree 页面;修改会实时出现在浮窗里。一个 worktree 改动多个 unit(如表格+PPT)时,浮窗与审阅面板顶部的 **unit 切换 chips** 只列出有变动的单元(+新增 / ✎修改 / -删除 / ⚠冲突),未变动的单元不显示;默认打开第一个变动单元。
|
|
37
37
|
- **浮窗交互** —— 拖标题栏移动,双击标题栏最大化;使用独立的折叠、最大化/还原和关闭按钮;拖任意边缘或角调整大小。折叠时保留已加载的 Viewer,展开可立即恢复。移动、缩放和视口变化都会保持完整窗口可见。
|
|
38
|
-
- **ready + 会话结束 →
|
|
38
|
+
- **ready + 会话结束 → 自动关闭并嵌入审阅卡片** —— 会话转入空闲后,每个 worktree 都会以审阅卡片嵌入最近一次操作它的已结束回合末尾。紧凑卡片 header 首行显示 Univer 文件名及其右侧的 worktree 名称,次行只显示完整文件路径,右侧显示生命周期状态和控制按钮;不同生命周期的展开卡片使用相同宽度和内容高度。Univer 页面可折叠但不会卸载,并支持一键全屏和按 Esc 退出。`ready` 显示完整合并页(`scope=mergePreview`),丢弃 / 合入当前版本只使用页面内置操作,不在卡片底部重复显示;**`draft` 也会显示**完整实时页面以及提交确认 / 丢弃按钮。merge 或 discard 后,同一张卡片继续保留,移除修改操作,并把完整页面切换到主线。后续回合再次操作该 worktree 时,旧回合保留同款审阅 header 作为历史标记,完整交互卡片移动到新回合末尾。Univer 文件尚无 Unit 时,只把原空状态标题改为“空文件”。会话仍在运行时,非终态 worktree 在右上角浮窗显示。
|
|
39
|
+
- **审阅卡片视区** —— 桌面端展开后的卡片默认总高度约 650px;卡片内嵌的完整 Univer 页面默认收起左侧边栏,仍可在页面内手动展开。卡片进入全屏后隐藏折叠按钮,退出全屏后恢复。
|
|
39
40
|
- **内置 Gateway 管理** —— 插件自带协作 Gateway 与 Viewer;绿点 = 运行中,黄点 = 未运行,点击即可启动插件持有的 Gateway。
|
|
40
41
|
- **多会话并行** —— 各会话显示各自回合的卡片、浮窗与合并面板。
|
|
41
42
|
- **双语界面** —— 插件外壳和所有已打开的 Viewer 都跟随应用语言(中/英)。
|