@zq-silk/yui 2.15.0 → 2.16.0
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/dist/web/assets/client/app/catalog.js +40 -14
- package/dist/web/assets/client/app/main.js +33 -9
- package/dist/web/assets/client/app/manage.js +18 -0
- package/dist/web/assets/client/app/selection.js +4 -1
- package/dist/web/assets/client/app/taskView.js +22 -5
- package/dist/web/assets/client/i18n/en.js +10 -3
- package/dist/web/assets/client/i18n/zh-CN.js +10 -3
- package/dist/web/assets/client/index.js +4 -0
- package/dist/web/assets/client/layout/manageShell.js +30 -8
- package/dist/web/assets/client/layout/shortcuts.js +7 -3
- package/dist/web/assets/client/layout/sidebarNav.js +147 -0
- package/dist/web/assets/client/layout/sizing.js +5 -2
- package/dist/web/assets/client/layout/workspace.js +120 -21
- package/dist/web/assets/client/lib/motion.js +59 -0
- package/dist/web/assets/client/lib/prefs.js +29 -2
- package/dist/web/assets/client/lib/theme.js +11 -4
- package/dist/web/assets/client/ui/primitives.js +27 -0
- package/dist/web/assets/client/views/overview.js +8 -5
- package/dist/web/assets/client/views/task/page.js +10 -10
- package/dist/web/assets/shared/brand.js +22 -0
- package/dist/web/assets/shared/geometry.js +7 -1
- package/dist/web/assets/shared/icons.js +4 -0
- package/dist/web/assets/shared/motion.js +74 -0
- package/dist/web/assets/shell/appRail.js +14 -0
- package/dist/web/assets/shell/dialogs.js +1 -0
- package/dist/web/assets/shell/dock.js +19 -6
- package/dist/web/assets/shell/index.js +6 -2
- package/dist/web/assets/shell/login.js +9 -8
- package/dist/web/assets/shell/manage.js +32 -20
- package/dist/web/assets/shell/settingsContent.js +1 -1
- package/dist/web/assets/shell/sidebar.js +16 -23
- package/dist/web/assets/styles/base.js +1 -1
- package/dist/web/assets/styles/index.js +2 -0
- package/dist/web/assets/styles/layout/responsive.js +63 -19
- package/dist/web/assets/styles/layout/workspace.js +53 -16
- package/dist/web/assets/styles/motion.js +51 -0
- package/dist/web/assets/styles/tokens.js +5 -3
- package/dist/web/assets/styles/ui/controls.js +1 -1
- package/dist/web/assets/styles/ui/forms.js +1 -1
- package/dist/web/assets/styles/ui/surfaces.js +1 -2
- package/dist/web/assets/styles/views/conversation.js +1 -1
- package/dist/web/assets/styles/views/dock.js +22 -2
- package/dist/web/assets/styles/views/login.js +16 -13
- package/dist/web/assets/styles/views/manage.js +25 -42
- package/dist/web/assets/styles/views/page.js +2 -3
- package/dist/web/assets/styles/views/records.js +1 -1
- package/dist/web/assets/styles/views/settings.js +1 -1
- package/dist/web/assets/styles/views/sidebar.js +25 -20
- package/dist/web/assets/styles/views/task.js +9 -15
- package/dist/web/assets/styles/views/terminal.js +1 -1
- package/docs/release-workflow.md +22 -0
- package/docs/release-workflow.zh-CN.md +15 -0
- package/package.json +1 -1
|
@@ -1,29 +1,23 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* TASK VIEW — the task page frame and its Overview tab: the sticky
|
|
3
|
-
*
|
|
2
|
+
* TASK VIEW — the task page frame and its Overview tab: the sticky section
|
|
3
|
+
* tabs, the hero, the "now" banner, input requests that need the
|
|
4
4
|
* user, decisions and planning. Rows inside the other tabs live in
|
|
5
5
|
* views/records and views/delivery.
|
|
6
6
|
*/
|
|
7
7
|
export const TASK_STYLES = `
|
|
8
|
-
/*
|
|
9
|
-
the content scrolling beneath them. */
|
|
10
|
-
.
|
|
11
|
-
.task-header{top:0;z-index:10}
|
|
12
|
-
.task-bar{display:flex;align-items:center;gap:6px;height:var(--header-h)}
|
|
13
|
-
.back-btn{display:none}
|
|
14
|
-
.crumbs{display:flex;align-items:center;gap:6px;min-width:0;font-size:var(--fs-sm)}
|
|
15
|
-
.crumb{padding:3px 6px;border:0;border-radius:var(--r-xs);background:transparent;color:var(--ink-3)}
|
|
16
|
-
.crumb:hover{color:var(--ink);background:var(--surface-3)}
|
|
17
|
-
.crumb-sep{color:var(--ink-4)}
|
|
18
|
-
.crumb-current{color:var(--ink-2);font-size:var(--fs-xs)}
|
|
8
|
+
/* Section tabs: sticky under the top bar, bleeding through the page gutter
|
|
9
|
+
and frosting the content scrolling beneath them. */
|
|
10
|
+
.tabs-wrap{position:sticky;margin:0 calc(-1 * var(--gutter));padding:0 var(--gutter);background:var(--canvas)}
|
|
19
11
|
.dock-toggle{height:30px}
|
|
20
|
-
.task-
|
|
12
|
+
.task-bar-sep{width:1px;height:18px;margin:0 2px;background:var(--line-2)}
|
|
13
|
+
.operator-toggle[aria-pressed="true"]{background:var(--accent-soft);color:var(--accent)}
|
|
14
|
+
.task-hero{padding:28px 0 18px}
|
|
21
15
|
.task-title{font-size:var(--fs-2xl);font-weight:650;letter-spacing:-.025em;line-height:1.25;overflow-wrap:anywhere}
|
|
22
16
|
.task-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px;color:var(--ink-3);font-size:var(--fs-xs)}
|
|
23
17
|
.task-meta:empty{display:none}
|
|
24
18
|
.meta-item{display:inline-flex;align-items:center;gap:5px}
|
|
25
19
|
.meta-item .when{font-size:inherit}
|
|
26
|
-
.tabs-wrap{top:var(--header-h);z-index:
|
|
20
|
+
.tabs-wrap{top:var(--header-h);z-index:calc(var(--z-sticky) - 1);border-bottom:1px solid var(--line)}
|
|
27
21
|
.tabs{gap:4px}
|
|
28
22
|
.tab{position:relative;display:inline-flex;align-items:center;gap:7px;flex:none;height:42px;padding:0 10px;border:0;background:transparent;color:var(--ink-3);font-size:var(--fs-sm);font-weight:500}
|
|
29
23
|
.tab:hover{color:var(--ink)}
|
|
@@ -18,7 +18,7 @@ export const TERMINAL_STYLES = `
|
|
|
18
18
|
.target-chip .dot{width:7px;height:7px;box-shadow:none}
|
|
19
19
|
.conn{display:inline-flex;align-items:center;gap:6px;flex:none;color:rgba(255,255,255,.6);font-size:var(--fs-xs);font-weight:500}
|
|
20
20
|
.conn i{width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.3)}
|
|
21
|
-
.conn[data-state="connecting"] i{background:var(--warn);animation:blink 1s infinite}
|
|
21
|
+
.conn[data-state="connecting"] i{background:var(--warn);animation:m-blink 1s infinite}
|
|
22
22
|
.conn[data-state="writable"] i{background:var(--chrome-ok);box-shadow:0 0 0 3px rgba(79,209,139,.2)}
|
|
23
23
|
.conn[data-state="readonly"] i{background:var(--chrome-info)}
|
|
24
24
|
.conn[data-state="error"] i{background:var(--chrome-bad)}
|
package/docs/release-workflow.md
CHANGED
|
@@ -51,6 +51,28 @@ merely to avoid a version decision. Package versions remain distinct from protoc
|
|
|
51
51
|
and persistent-storage contracts: their compatibility checks and required migrations
|
|
52
52
|
are unchanged, and the storage rules below do not authorize a package release.
|
|
53
53
|
|
|
54
|
+
### 2.16.0 compatibility and migration notes
|
|
55
|
+
|
|
56
|
+
This minor refreshes the Web workbench (PR #484). One global navigation rail
|
|
57
|
+
(Workbench / Models / Settings) is shared by the workbench and management pages,
|
|
58
|
+
and the task sidebar can be collapsed. Dialogs, menus, presses and column layout
|
|
59
|
+
changes use one motion source; reduced-motion preferences, narrow layouts and
|
|
60
|
+
hidden documents get instant updates. The 「結」 brand glyph is replaced by a
|
|
61
|
+
vector capital-Y mark drawn from the active theme's tokens, and each theme has a
|
|
62
|
+
matching SVG favicon that follows theme switches.
|
|
63
|
+
|
|
64
|
+
These are presentation changes only. Web APIs, sign-in sessions, `--auth-file`,
|
|
65
|
+
CLI commands and Controller/Host protocols are unchanged. Scripts or browser
|
|
66
|
+
automation that matched the old brand glyph or previous navigation markup must
|
|
67
|
+
use the current page structure. Storage remains **1.21**; there is no migration.
|
|
68
|
+
|
|
69
|
+
With separate upgrade authorization, use `yui update --version 2.16.0`; the
|
|
70
|
+
updater owns preflight, backup and Controller handover. A running Web listener
|
|
71
|
+
serves the new assets after it is restarted. Release gates reuse exact-commit
|
|
72
|
+
Core CI and the existing fresh-install matrix (Linux x64, macOS x64/arm64,
|
|
73
|
+
Node 20/22/24/26). Publishing does not update the global CLI, migrate a
|
|
74
|
+
production Home, restart its Controller or deploy a production Web listener.
|
|
75
|
+
|
|
54
76
|
### 2.15.0 compatibility and migration notes
|
|
55
77
|
|
|
56
78
|
This minor replaces the browser's HTTP Basic prompt with a standalone English/
|
|
@@ -36,6 +36,21 @@ Agent 选择一个预先声明的计划,设施从持久状态驱动该计划
|
|
|
36
36
|
不能将不兼容冒称为兼容,也不为回避版本选择新增历史兼容机制。包版本与协议、
|
|
37
37
|
持久存储契约仍然独立:兼容性检查和必要迁移要求不变,下文存储规则不授予发版权限。
|
|
38
38
|
|
|
39
|
+
### 2.16.0 兼容性及迁移说明
|
|
40
|
+
|
|
41
|
+
本 minor 更新 Web 工作台(PR #484):工作台与管理页共用一条全局导航栏
|
|
42
|
+
(工作台 / 模型 / 设置),任务侧栏可折叠。弹窗、菜单、按压与分栏布局变化使用统一动效来源;
|
|
43
|
+
开启减少动态效果、窄屏布局或页面不可见时直接更新。品牌标志由「結」改为矢量大写 Y,
|
|
44
|
+
颜色取自当前主题令牌;每个主题配有对应的 SVG favicon,随主题切换。
|
|
45
|
+
|
|
46
|
+
以上仅为界面变化。Web API、登录会话、`--auth-file`、CLI 命令以及 Controller/Host 协议均不变。
|
|
47
|
+
依赖旧品牌字形或旧导航结构的脚本、浏览器自动化需改用当前页面结构。存储仍为 **1.21**,无迁移。
|
|
48
|
+
|
|
49
|
+
另行获得升级授权后,使用 `yui update --version 2.16.0`;更新器负责预检、备份与 Controller 交接。
|
|
50
|
+
正在运行的 Web 监听器需重启后才会提供新资源。发布门禁复用同一提交的 Core CI 与既有全新安装矩阵
|
|
51
|
+
(Linux x64、macOS x64/arm64,Node 20/22/24/26)。发布不会更新全局 CLI、迁移生产 Home、
|
|
52
|
+
重启其 Controller 或部署生产 Web 监听器。
|
|
53
|
+
|
|
39
54
|
### 2.15.0 兼容性及迁移说明
|
|
40
55
|
|
|
41
56
|
本 minor 以独立中英文登录页替代浏览器 HTTP Basic 弹窗,支持页内错误提示及安全回跳。
|