@xcanwin/manyoyo 6.1.3 → 6.2.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.
@@ -17,7 +17,6 @@
17
17
  <div class="sidebar-top">
18
18
  <div class="brand-wrap">
19
19
  <div class="brand">MANYOYO Web</div>
20
- <div class="brand-sub">Container Session Console</div>
21
20
  </div>
22
21
  <div class="sidebar-actions">
23
22
  <button type="button" id="openConfigBtn" class="secondary">配置</button>
@@ -39,7 +38,7 @@
39
38
  <main class="main">
40
39
  <header class="header">
41
40
  <div class="header-main">
42
- <div class="header-main-top">
41
+ <div class="workbench-tabs" id="workbenchTabs" aria-label="工作台视图">
43
42
  <button
44
43
  type="button"
45
44
  id="mobileSessionToggle"
@@ -47,27 +46,6 @@
47
46
  aria-expanded="false"
48
47
  aria-controls="sessionList"
49
48
  >会话</button>
50
- <h1 id="activeTitle">未选择会话</h1>
51
- <div class="header-menu">
52
- <button
53
- type="button"
54
- id="mobileActionsToggle"
55
- class="secondary mobile-actions-toggle"
56
- aria-expanded="false"
57
- aria-controls="headerActions"
58
- >更多</button>
59
- <div class="header-actions" id="headerActions">
60
- <button type="button" id="refreshBtn" class="secondary">刷新</button>
61
- <button type="button" id="openCreateMenuBtn" class="secondary">新建容器</button>
62
- <button type="button" id="removeBtn" class="danger">删除容器</button>
63
- <button type="button" id="addAgentBtn" class="secondary">新建 AGENT</button>
64
- <button type="button" id="removeAllBtn" class="danger">删除 AGENT</button>
65
- </div>
66
- </div>
67
- </div>
68
- <div id="activeMeta">请选择左侧会话</div>
69
- <div class="workbench-tabs" id="workbenchTabs" aria-label="工作台视图">
70
- <button type="button" id="viewActivityBtn" class="secondary is-active">活动</button>
71
49
  <div class="workspace-switcher">
72
50
  <button
73
51
  type="button"
@@ -76,9 +54,10 @@
76
54
  aria-haspopup="true"
77
55
  aria-expanded="false"
78
56
  aria-controls="workspaceSwitcherPanel"
79
- aria-label="更多视图:终端、文件、详情、配置、检查"
57
+ aria-label="切换视图:活动、终端、文件、详情、配置、检查"
80
58
  ><svg viewBox="0 0 16 16" aria-hidden="true" focusable="false"><circle cx="3" cy="8" r="1.4"></circle><circle cx="8" cy="8" r="1.4"></circle><circle cx="13" cy="8" r="1.4"></circle></svg></button>
81
59
  <div class="workspace-switcher-panel" id="workspaceSwitcherPanel" hidden>
60
+ <button type="button" id="viewActivityBtn" class="secondary is-active">活动</button>
82
61
  <button type="button" id="viewTerminalBtn" class="secondary">终端</button>
83
62
  <button type="button" id="viewFilesBtn" class="secondary">文件</button>
84
63
  <button type="button" id="viewDetailBtn" class="secondary">详情</button>
@@ -116,27 +95,28 @@
116
95
  <div id="checkSummary" class="inspector-stack"></div>
117
96
  </section>
118
97
  <form class="composer" id="composer">
119
- <div class="composer-toolbar">
120
- <div class="composer-mode-switch" aria-label="活动输入模式">
121
- <button type="button" id="activityAgentBtn" class="secondary is-active">Agent</button>
122
- <button type="button" id="activityCommandBtn" class="secondary">命令</button>
123
- </div>
124
- <div class="composer-toolbar-meta">
125
- <button type="button" id="agentTemplateBtn" class="secondary toolbar-mini-btn">CLI · —</button>
126
- <span id="activityModelChip" class="toolbar-chip" aria-live="polite">模型 · —</span>
127
- </div>
128
- </div>
129
98
  <div class="composer-inner">
130
99
  <textarea id="commandInput" placeholder="输入容器命令,例如: ls -la"></textarea>
131
100
  <div class="composer-actions">
101
+ <div class="composer-options">
102
+ <button
103
+ type="button"
104
+ id="composerOptionsToggle"
105
+ class="secondary"
106
+ aria-haspopup="true"
107
+ aria-expanded="false"
108
+ aria-controls="composerOptionsPanel"
109
+ >选项</button>
110
+ <div class="composer-options-panel" id="composerOptionsPanel" hidden>
111
+ <button type="button" id="activityAgentBtn" class="secondary is-active">Agent对话</button>
112
+ <button type="button" id="activityCommandBtn" class="secondary">系统命令</button>
113
+ <button type="button" id="agentTemplateBtn" class="secondary">CLI · —</button>
114
+ <span id="activityModelChip" class="composer-options-info" aria-live="polite">模型 · —</span>
115
+ </div>
116
+ </div>
132
117
  <button type="submit" id="sendBtn">发送</button>
133
- <button type="button" id="stopBtn" class="danger-outline">停止</button>
134
118
  </div>
135
119
  </div>
136
- <div class="composer-foot">
137
- <span id="composerHint">Enter 发送 · Shift/Alt + Enter 换行</span>
138
- <span id="sendState" class="send-state">未选择会话</span>
139
- </div>
140
120
  </form>
141
121
  </div>
142
122
  </section>