@4fu/dsh-arbor-ui 0.0.0-stage → 2026.1110.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/LICENSE +21 -0
- package/README.md +234 -2
- package/channel.d.ts +76 -0
- package/channel.js +230 -0
- package/client.js +2700 -0
- package/i18n.d.ts +235 -0
- package/i18n.js +455 -0
- package/index.d.ts +11 -0
- package/index.js +11 -0
- package/package.json +59 -4
- package/styles.d.ts +15 -0
- package/styles.js +246 -0
- package/ui.d.ts +46 -0
- package/ui.js +1257 -0
package/i18n.js
ADDED
|
@@ -0,0 +1,455 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The arbor pages' own copy: Chinese first, English for the other locale.
|
|
3
|
+
*
|
|
4
|
+
* Every string the pages draw comes from this table, registered as a DSH
|
|
5
|
+
* locale namespace through `ctx.locale.register` and read through its bound
|
|
6
|
+
* `t`, so switching DSH's language switches the pages with the rest of the
|
|
7
|
+
* page. The English dictionary is the key-set source of truth; the Chinese
|
|
8
|
+
* one must carry every key.
|
|
9
|
+
*/
|
|
10
|
+
/** The locale namespace this package registers. */
|
|
11
|
+
export const NAMESPACE = 'arborUi';
|
|
12
|
+
/** The English dictionary: the key set every other language must match. */
|
|
13
|
+
export const en = {
|
|
14
|
+
expandStream: "Show more",
|
|
15
|
+
collapseStream: "Show less",
|
|
16
|
+
heroIdleOne: "1 session is quiet; {ended} windows have finished.",
|
|
17
|
+
chainSummaryOne: "{count} window · {window} {state}",
|
|
18
|
+
dateLocale: "en-US",
|
|
19
|
+
filterAll: "All",
|
|
20
|
+
filterWindows: "Windows",
|
|
21
|
+
filterBoard: "Board",
|
|
22
|
+
filterNotes: "Notes",
|
|
23
|
+
filterEnv: "Environment",
|
|
24
|
+
filterSchedules: "Schedules",
|
|
25
|
+
heroLive: "{window} is working. The board holds {board} things.",
|
|
26
|
+
heroLiveBoardOne: "{window} is working. The board holds {board} thing.",
|
|
27
|
+
heroFirst: "{window} is working. The board holds {board} things.",
|
|
28
|
+
heroIdle: "{sessions} sessions are quiet; {ended} windows have finished.",
|
|
29
|
+
heroIdleEndedOne: "{sessions} sessions are quiet; {ended} window has finished.",
|
|
30
|
+
heroIdleBothOne: "1 session is quiet; {ended} window has finished.",
|
|
31
|
+
heroIdleWait: "{waiting} sessions are waiting for you; {ended} windows have finished.",
|
|
32
|
+
heroIdleWaitEndedOne: "{waiting} sessions are waiting for you; {ended} window has finished.",
|
|
33
|
+
heroIdleWaitOne: "1 session is waiting for you; {ended} windows have finished.",
|
|
34
|
+
heroIdleWaitBothOne: "1 session is waiting for you; {ended} window has finished.",
|
|
35
|
+
heroLiveWait: "{window} is working. The board holds {board} things, and {waiting} other sessions are waiting for you.",
|
|
36
|
+
heroLiveWaitBoardOne: "{window} is working. The board holds {board} thing, and {waiting} other sessions are waiting for you.",
|
|
37
|
+
heroLiveWaitWaitingOne: "{window} is working. The board holds {board} things, and {waiting} other session is waiting for you.",
|
|
38
|
+
heroLiveWaitBothOne: "{window} is working. The board holds {board} thing, and {waiting} other session is waiting for you.",
|
|
39
|
+
heroLiveNoBoardWait: "{window} is working; the board is empty, and {waiting} other sessions are waiting for you.",
|
|
40
|
+
heroLiveNoBoardWaitOne: "{window} is working; the board is empty, and {waiting} other session is waiting for you.",
|
|
41
|
+
heroEmpty: "No arbor window yet.",
|
|
42
|
+
heroEmptyHint: "Pick Arbor in any session and send a message; this page will light up.",
|
|
43
|
+
sessionHeroLive: "{window} is carrying on from {previous}, with {board} things still on the board.",
|
|
44
|
+
sessionHeroLiveBoardOne: "{window} is carrying on from {previous}, with {board} thing still on the board.",
|
|
45
|
+
sessionHeroFirst: "{window} is working, with {board} things on the board.",
|
|
46
|
+
sessionHeroFirstBoardOne: "{window} is working, with {board} thing on the board.",
|
|
47
|
+
sessionHeroIdle: "{window} is waiting for your next message.",
|
|
48
|
+
sessionHeroEnded: "All {count} windows are finished; the chain ends at {window}.",
|
|
49
|
+
sessionHeroEndedOne: "1 window is finished; the chain ends at {window}.",
|
|
50
|
+
sessionHeroEmpty: "This session has no window yet.",
|
|
51
|
+
sessionHeroEmptyHint: "Send the first message and arbor will open its first window.",
|
|
52
|
+
cardChain: "Window chain",
|
|
53
|
+
cardWorkspace: "Workspace",
|
|
54
|
+
cardEnvironment: "Environment",
|
|
55
|
+
cardSchedules: "Schedules",
|
|
56
|
+
cardSession: "Session",
|
|
57
|
+
streamEmpty: "When the model starts writing, the lines appear here.",
|
|
58
|
+
emptyWindows: "No window yet.",
|
|
59
|
+
emptyWindowsHint: "The first message opens the first window.",
|
|
60
|
+
emptyBoard: "The board is empty.",
|
|
61
|
+
emptyBoardHint: "A running window writes what it is doing here.",
|
|
62
|
+
emptyNotes: "No active note yet.",
|
|
63
|
+
emptyNotesHint: "Notes are the memory a window writes for the next one.",
|
|
64
|
+
emptyEnv: "The environment is empty.",
|
|
65
|
+
emptyEnvHint: "Skills, MCP servers and services appear here.",
|
|
66
|
+
emptySchedules: "No schedule yet.",
|
|
67
|
+
emptySchedulesHint: "When arbor needs to work at a time, its schedule appears here.",
|
|
68
|
+
openSearch: "Search",
|
|
69
|
+
openSettings: "Settings",
|
|
70
|
+
closeSheet: "Close",
|
|
71
|
+
settingsHostData: "Host data",
|
|
72
|
+
settingsBackend: "Workspace backend",
|
|
73
|
+
settingsShared: "Shared folder",
|
|
74
|
+
chainRestart: "restart",
|
|
75
|
+
chainHandoff: "handoff",
|
|
76
|
+
chainStart: "start",
|
|
77
|
+
chainEnd: "end",
|
|
78
|
+
tabTitle: "Arbor",
|
|
79
|
+
panelLabel: "Arbor",
|
|
80
|
+
pageTitle: "Arbor",
|
|
81
|
+
pageIntro: "The whole arbor host: every session, window, board line, note, environment item, schedule and setting.",
|
|
82
|
+
tabOverview: "Overview",
|
|
83
|
+
sessions: "Sessions",
|
|
84
|
+
liveWindows: "Live windows",
|
|
85
|
+
noSessions: "No arbor window yet.",
|
|
86
|
+
noSessionsHint: "Pick Arbor in any session and send a message; its windows appear here.",
|
|
87
|
+
openSessionTab: "Expand session",
|
|
88
|
+
closeTab: "Close tab",
|
|
89
|
+
openInDsh: "Open session",
|
|
90
|
+
now: "Now",
|
|
91
|
+
noLiveWindow: "No live window.",
|
|
92
|
+
chain: "Window chain",
|
|
93
|
+
chainSummary: "{count} windows · {window} {state}",
|
|
94
|
+
summarySessions: "Sessions",
|
|
95
|
+
summaryWindows: "Live windows",
|
|
96
|
+
summaryNotes: "Active notes",
|
|
97
|
+
summaryEnv: "Environment",
|
|
98
|
+
summarySchedules: "Schedules",
|
|
99
|
+
host: "host",
|
|
100
|
+
dataRoot: "Data root",
|
|
101
|
+
sessionTabHint: "This tab has only this session's state.",
|
|
102
|
+
chipTitle: "Arbor",
|
|
103
|
+
chipAria: "Open the arbor panel",
|
|
104
|
+
chipNoWindow: "No window",
|
|
105
|
+
chipWindows: "{count} windows",
|
|
106
|
+
chipWindowOne: "1 window",
|
|
107
|
+
chipIdle: "Idle · {count} windows",
|
|
108
|
+
chipIdleOne: "Idle · 1 window",
|
|
109
|
+
chipLive: "Live",
|
|
110
|
+
panelIntro: "What arbor is actually doing in this session, read from arbor itself.",
|
|
111
|
+
notArbor: "This session does not run on arbor.",
|
|
112
|
+
loading: "Reading arbor…",
|
|
113
|
+
error: "The arbor channel is unavailable: {message}",
|
|
114
|
+
retry: "Retrying…",
|
|
115
|
+
statusRunning: "Running",
|
|
116
|
+
statusIdle: "Idle",
|
|
117
|
+
statusEnded: "Ended",
|
|
118
|
+
statusPaused: "Paused",
|
|
119
|
+
sectionWindows: "Windows",
|
|
120
|
+
sectionWorkspace: "Workspace",
|
|
121
|
+
sectionBoard: "Board",
|
|
122
|
+
sectionNotes: "Notes",
|
|
123
|
+
sectionEnvironment: "Environment",
|
|
124
|
+
sectionSchedules: "Schedules",
|
|
125
|
+
sectionSettings: "Settings",
|
|
126
|
+
sectionSearch: "Search",
|
|
127
|
+
noWindows: "No window yet.",
|
|
128
|
+
noWindowsHint: "The first message opens this session's first arbor window.",
|
|
129
|
+
live: "live",
|
|
130
|
+
ended: "ended",
|
|
131
|
+
windowCount: "{count} in the chain",
|
|
132
|
+
endModel: "model ended",
|
|
133
|
+
endIdle: "idle timeout",
|
|
134
|
+
endHardLimit: "context limit",
|
|
135
|
+
endRestart: "host restart",
|
|
136
|
+
endFailed: "model failed",
|
|
137
|
+
endPaused: "paused",
|
|
138
|
+
handoff: "handoff",
|
|
139
|
+
handoffTo: "continued by {window}",
|
|
140
|
+
continuesFrom: "continues {window}",
|
|
141
|
+
handoffRefs: "handoff refs",
|
|
142
|
+
handoffTopics: "Topics",
|
|
143
|
+
handoffProgress: "Progress",
|
|
144
|
+
handoffPending: "Pending",
|
|
145
|
+
handoffAgreements: "Agreements",
|
|
146
|
+
refused: "refused: {rule}",
|
|
147
|
+
endRefusedTitle: "The last end was refused",
|
|
148
|
+
endRefusedHint: "The window is still open, so nothing ended. Send another message in DSH to keep working; the model can call end again with the handoff fields arbor named.",
|
|
149
|
+
usage: "{used} / {limit} tokens",
|
|
150
|
+
streamText: "Model output",
|
|
151
|
+
streamSend: "send draft",
|
|
152
|
+
streamWaiting: "No output yet.",
|
|
153
|
+
workspaceBackend: "Workspace",
|
|
154
|
+
workspaceShared: "Shared folder",
|
|
155
|
+
workspaceProject: "Project",
|
|
156
|
+
workspaceCwd: "Session directory",
|
|
157
|
+
workspacePointers: "External pointers",
|
|
158
|
+
workspaceCheckouts: "Checkouts",
|
|
159
|
+
workspaceKeeps: "Persistent directories",
|
|
160
|
+
workspaceOpenWork: "Open work",
|
|
161
|
+
workspaceDirty: "unapplied",
|
|
162
|
+
workspaceClean: "clean",
|
|
163
|
+
none: "None.",
|
|
164
|
+
boardEmpty: "No live window is on the board.",
|
|
165
|
+
boardTargets: "Targets",
|
|
166
|
+
notesActive: "Active set",
|
|
167
|
+
notesCount: "{count} notes · {tokens} / {budget} tokens",
|
|
168
|
+
notesCountOne: "1 note · {tokens} / {budget} tokens",
|
|
169
|
+
notesEpoch: "Epoch {epoch}",
|
|
170
|
+
notesEmpty: "The active set is empty.",
|
|
171
|
+
envCounts: "{skills} skills · {servers} MCP servers · {services} services",
|
|
172
|
+
envBuiltin: "built-in",
|
|
173
|
+
envFunctions: "functions",
|
|
174
|
+
envSkills: "Skills",
|
|
175
|
+
envSkillOne: "Skill",
|
|
176
|
+
envMcp: "MCP servers",
|
|
177
|
+
envMcpOne: "MCP server",
|
|
178
|
+
envServices: "Services",
|
|
179
|
+
envServiceOne: "Service",
|
|
180
|
+
envState: "state",
|
|
181
|
+
envPath: "path",
|
|
182
|
+
envEmpty: "The environment holds no item.",
|
|
183
|
+
schedulesEmpty: "Arbor holds no schedule.",
|
|
184
|
+
scheduleNext: "next {time}",
|
|
185
|
+
scheduleEvery: "every {value}",
|
|
186
|
+
scheduleDaily: "daily at {value}",
|
|
187
|
+
scheduleWeekly: "weekdays {value}",
|
|
188
|
+
schedulePaused: "paused",
|
|
189
|
+
scheduleMine: "this session",
|
|
190
|
+
scheduleFired: "{count} fired",
|
|
191
|
+
settingsSourceEnvironment: "from /env/settings.json",
|
|
192
|
+
settingsSourceDeployment: "deployment seed",
|
|
193
|
+
settingsIdentity: "Identity",
|
|
194
|
+
settingsRules: "General rules",
|
|
195
|
+
settingsJudge: "Judge",
|
|
196
|
+
settingsTiers: "Model tiers",
|
|
197
|
+
settingsDefaultTier: "Default tier",
|
|
198
|
+
settingsWindow: "Window",
|
|
199
|
+
settingsIdle: "Idle",
|
|
200
|
+
settingsContext: "Context",
|
|
201
|
+
settingsReserve: "Reserve",
|
|
202
|
+
settingsProtection: "Protection",
|
|
203
|
+
settingsNotes: "Notes",
|
|
204
|
+
settingsNotesCount: "Active count",
|
|
205
|
+
settingsNotesTokens: "Active tokens",
|
|
206
|
+
settingsSecrets: "Secret names",
|
|
207
|
+
settingsJudgeOn: "on",
|
|
208
|
+
settingsJudgeOff: "off",
|
|
209
|
+
settingsJudgeShadow: "shadow",
|
|
210
|
+
settingsDsh: "DSH's Agent loop page configures ordinary sessions; an arbor window runs under the tier and window limits above.",
|
|
211
|
+
settingsEmpty: "Arbor runs on its own defaults.",
|
|
212
|
+
searchPlaceholder: "Search the journal and notes",
|
|
213
|
+
searchButton: "Search",
|
|
214
|
+
searchEmpty: "Nothing matched.",
|
|
215
|
+
searchTotal: "{count} hits",
|
|
216
|
+
searchTotalOne: "1 hit",
|
|
217
|
+
searchJournal: "Journal",
|
|
218
|
+
searchNotes: "Notes",
|
|
219
|
+
searchBoard: "Board",
|
|
220
|
+
searchHint: "Arbor's own search over its journal, notes and board.",
|
|
221
|
+
searchError: "Search failed: {message}",
|
|
222
|
+
seconds: "{value}s",
|
|
223
|
+
minutes: "{value}m",
|
|
224
|
+
hours: "{value}h",
|
|
225
|
+
tokens: "tokens",
|
|
226
|
+
window: "window",
|
|
227
|
+
heroLiveNoBoard: "{window} is working; the board is empty.",
|
|
228
|
+
};
|
|
229
|
+
export const zh = {
|
|
230
|
+
expandStream: "展开全文",
|
|
231
|
+
collapseStream: "收起",
|
|
232
|
+
heroIdleOne: "1 个会话安静着,{ended} 个窗口已经收工。",
|
|
233
|
+
chainSummaryOne: "{count} 个窗口 · {window} {state}",
|
|
234
|
+
dateLocale: "zh-CN",
|
|
235
|
+
filterAll: "全部",
|
|
236
|
+
filterWindows: "窗口",
|
|
237
|
+
filterBoard: "看板",
|
|
238
|
+
filterNotes: "笔记",
|
|
239
|
+
filterEnv: "环境",
|
|
240
|
+
filterSchedules: "日程",
|
|
241
|
+
heroLive: "{window} 正在干活,看板上还有 {board} 件事。",
|
|
242
|
+
heroLiveBoardOne: "{window} 正在干活,看板上还有 {board} 件事。",
|
|
243
|
+
heroFirst: "{window} 正在干活,看板上还有 {board} 件事。",
|
|
244
|
+
heroIdle: "{sessions} 个会话安静着,{ended} 个窗口已经收工。",
|
|
245
|
+
heroIdleEndedOne: "{sessions} 个会话安静着,{ended} 个窗口已经收工。",
|
|
246
|
+
heroIdleBothOne: "1 个会话安静着,{ended} 个窗口已经收工。",
|
|
247
|
+
heroIdleWait: "{waiting} 个会话在等你,{ended} 个窗口已经收工。",
|
|
248
|
+
heroIdleWaitEndedOne: "{waiting} 个会话在等你,{ended} 个窗口已经收工。",
|
|
249
|
+
heroIdleWaitOne: "1 个会话在等你,{ended} 个窗口已经收工。",
|
|
250
|
+
heroIdleWaitBothOne: "1 个会话在等你,{ended} 个窗口已经收工。",
|
|
251
|
+
heroLiveWait: "{window} 正在干活,看板上还有 {board} 件事;另外 {waiting} 个会话在等你。",
|
|
252
|
+
heroLiveWaitBoardOne: "{window} 正在干活,看板上还有 {board} 件事;另外 {waiting} 个会话在等你。",
|
|
253
|
+
heroLiveWaitWaitingOne: "{window} 正在干活,看板上还有 {board} 件事;另外 {waiting} 个会话在等你。",
|
|
254
|
+
heroLiveWaitBothOne: "{window} 正在干活,看板上还有 {board} 件事;另外 {waiting} 个会话在等你。",
|
|
255
|
+
heroLiveNoBoardWait: "{window} 正在干活,看板空着;另外 {waiting} 个会话在等你。",
|
|
256
|
+
heroLiveNoBoardWaitOne: "{window} 正在干活,看板空着;另外 {waiting} 个会话在等你。",
|
|
257
|
+
heroEmpty: "还没有 Arbor 窗口。",
|
|
258
|
+
heroEmptyHint: "在任意会话里选择 Arbor,发一条消息,这里就会亮起来。",
|
|
259
|
+
sessionHeroLive: "{window} 正在接着 {previous} 干活,看板上还有 {board} 件事。",
|
|
260
|
+
sessionHeroLiveBoardOne: "{window} 正在接着 {previous} 干活,看板上还有 {board} 件事。",
|
|
261
|
+
sessionHeroFirst: "{window} 正在干活,看板上还有 {board} 件事。",
|
|
262
|
+
sessionHeroFirstBoardOne: "{window} 正在干活,看板上还有 {board} 件事。",
|
|
263
|
+
sessionHeroIdle: "{window} 空着,等你发下一句话。",
|
|
264
|
+
sessionHeroEnded: "这个会话的 {count} 个窗口都收工了,最后停在 {window}。",
|
|
265
|
+
sessionHeroEndedOne: "这个会话的 1 个窗口收工了,最后停在 {window}。",
|
|
266
|
+
sessionHeroEmpty: "这个会话还没有窗口。",
|
|
267
|
+
sessionHeroEmptyHint: "发第一条消息,arbor 会为它开第一个窗口。",
|
|
268
|
+
cardChain: "窗口链",
|
|
269
|
+
cardWorkspace: "工作区",
|
|
270
|
+
cardEnvironment: "环境",
|
|
271
|
+
cardSchedules: "日程",
|
|
272
|
+
cardSession: "会话",
|
|
273
|
+
streamEmpty: "模型开始写时,这里会一行行出现。",
|
|
274
|
+
emptyWindows: "还没有窗口。",
|
|
275
|
+
emptyWindowsHint: "发第一条消息,第一个窗口就会开。",
|
|
276
|
+
emptyBoard: "看板是空的。",
|
|
277
|
+
emptyBoardHint: "窗口跑起来后,它会在这里写下正在做什么。",
|
|
278
|
+
emptyNotes: "还没有活跃笔记。",
|
|
279
|
+
emptyNotesHint: "笔记是窗口写给下一个窗口的记忆。",
|
|
280
|
+
emptyEnv: "环境里还没有东西。",
|
|
281
|
+
emptyEnvHint: "技能、MCP 服务和服务会出现在这里。",
|
|
282
|
+
emptySchedules: "还没有日程。",
|
|
283
|
+
emptySchedulesHint: "需要到点干活时,arbor 的日程会出现在这里。",
|
|
284
|
+
openSearch: "搜索",
|
|
285
|
+
openSettings: "设置",
|
|
286
|
+
closeSheet: "关闭",
|
|
287
|
+
settingsHostData: "宿主数据",
|
|
288
|
+
settingsBackend: "工作区后端",
|
|
289
|
+
settingsShared: "共享目录",
|
|
290
|
+
chainRestart: "重启",
|
|
291
|
+
chainHandoff: "交接",
|
|
292
|
+
chainStart: "开始",
|
|
293
|
+
chainEnd: "结束",
|
|
294
|
+
tabTitle: "Arbor",
|
|
295
|
+
panelLabel: "Arbor",
|
|
296
|
+
pageTitle: "Arbor",
|
|
297
|
+
pageIntro: "整个 arbor 宿主:所有会话、窗口、看板、笔记、环境、定时与设置。",
|
|
298
|
+
tabOverview: "总览",
|
|
299
|
+
sessions: "会话",
|
|
300
|
+
liveWindows: "活动窗口",
|
|
301
|
+
noSessions: "这个宿主还没有 arbor 窗口。",
|
|
302
|
+
noSessionsHint: "在任意会话里选择 Arbor 并发一条消息,窗口就会出现在这里。",
|
|
303
|
+
openSessionTab: "展开会话",
|
|
304
|
+
closeTab: "关闭标签",
|
|
305
|
+
openInDsh: "打开会话",
|
|
306
|
+
now: "正在运行",
|
|
307
|
+
noLiveWindow: "当前没有活动窗口。",
|
|
308
|
+
chain: "窗口链",
|
|
309
|
+
chainSummary: "{count} 个窗口 · {window} {state}",
|
|
310
|
+
summarySessions: "会话",
|
|
311
|
+
summaryWindows: "活动窗口",
|
|
312
|
+
summaryNotes: "活跃笔记",
|
|
313
|
+
summaryEnv: "环境",
|
|
314
|
+
summarySchedules: "定时",
|
|
315
|
+
host: "宿主",
|
|
316
|
+
dataRoot: "数据目录",
|
|
317
|
+
sessionTabHint: "这个标签只显示这个会话自己的状态。",
|
|
318
|
+
chipTitle: "Arbor",
|
|
319
|
+
chipAria: "打开 Arbor 面板",
|
|
320
|
+
chipNoWindow: "无窗口",
|
|
321
|
+
chipWindows: "{count} 个窗口",
|
|
322
|
+
chipWindowOne: "1 个窗口",
|
|
323
|
+
chipIdle: "空闲 · {count} 个窗口",
|
|
324
|
+
chipIdleOne: "空闲 · 1 个窗口",
|
|
325
|
+
chipLive: "运行中",
|
|
326
|
+
panelIntro: "这个会话里 arbor 真实在做什么,全部读自 arbor 本身。",
|
|
327
|
+
notArbor: "这个会话不是 arbor 会话。",
|
|
328
|
+
loading: "正在读取 arbor…",
|
|
329
|
+
error: "arbor 通道不可用:{message}",
|
|
330
|
+
retry: "正在重试…",
|
|
331
|
+
statusRunning: "运行中",
|
|
332
|
+
statusIdle: "空闲",
|
|
333
|
+
statusEnded: "已结束",
|
|
334
|
+
statusPaused: "暂停",
|
|
335
|
+
sectionWindows: "窗口",
|
|
336
|
+
sectionWorkspace: "工作区",
|
|
337
|
+
sectionBoard: "看板",
|
|
338
|
+
sectionNotes: "笔记",
|
|
339
|
+
sectionEnvironment: "环境",
|
|
340
|
+
sectionSchedules: "定时",
|
|
341
|
+
sectionSettings: "设置",
|
|
342
|
+
sectionSearch: "搜索",
|
|
343
|
+
noWindows: "还没有窗口。",
|
|
344
|
+
noWindowsHint: "发第一条消息后,arbor 会为这个会话开第一个窗口。",
|
|
345
|
+
live: "活动",
|
|
346
|
+
ended: "结束",
|
|
347
|
+
windowCount: "链上 {count} 个",
|
|
348
|
+
endModel: "模型结束",
|
|
349
|
+
endIdle: "空闲超时",
|
|
350
|
+
endHardLimit: "上下文上限",
|
|
351
|
+
endRestart: "宿主重启",
|
|
352
|
+
endFailed: "模型失败",
|
|
353
|
+
endPaused: "暂停",
|
|
354
|
+
handoff: "交接",
|
|
355
|
+
handoffTo: "由 {window} 继续",
|
|
356
|
+
continuesFrom: "继续 {window}",
|
|
357
|
+
handoffRefs: "交接引用",
|
|
358
|
+
handoffTopics: "主题",
|
|
359
|
+
handoffProgress: "进展",
|
|
360
|
+
handoffPending: "待办",
|
|
361
|
+
handoffAgreements: "约定",
|
|
362
|
+
refused: "被拒绝:{rule}",
|
|
363
|
+
endRefusedTitle: "上一次 end 被拒绝",
|
|
364
|
+
endRefusedHint: "窗口仍然开着,什么都没有结束。在 DSH 里继续发消息就能接着做;模型也可以按 arbor 指出的交接字段重新调用 end。",
|
|
365
|
+
usage: "{used} / {limit} 令牌",
|
|
366
|
+
streamText: "模型输出",
|
|
367
|
+
streamSend: "send 草稿",
|
|
368
|
+
streamWaiting: "还没有输出。",
|
|
369
|
+
workspaceBackend: "工作区",
|
|
370
|
+
workspaceShared: "共享文件夹",
|
|
371
|
+
workspaceProject: "项目",
|
|
372
|
+
workspaceCwd: "会话目录",
|
|
373
|
+
workspacePointers: "外部指向",
|
|
374
|
+
workspaceCheckouts: "检出",
|
|
375
|
+
workspaceKeeps: "保持目录",
|
|
376
|
+
workspaceOpenWork: "未完成的工作",
|
|
377
|
+
workspaceDirty: "未合并",
|
|
378
|
+
workspaceClean: "干净",
|
|
379
|
+
none: "无。",
|
|
380
|
+
boardEmpty: "看板上没有活动窗口。",
|
|
381
|
+
boardTargets: "目标",
|
|
382
|
+
notesActive: "活跃集",
|
|
383
|
+
notesCount: "{count} 条 · {tokens} / {budget} 令牌",
|
|
384
|
+
notesCountOne: "1 条 · {tokens} / {budget} 令牌",
|
|
385
|
+
notesEpoch: "第 {epoch} 代",
|
|
386
|
+
notesEmpty: "活跃集为空。",
|
|
387
|
+
envCounts: "{skills} 个技能 · {servers} 个 MCP 服务 · {services} 个服务",
|
|
388
|
+
envBuiltin: "内置",
|
|
389
|
+
envFunctions: "函数",
|
|
390
|
+
envSkills: "技能",
|
|
391
|
+
envSkillOne: "技能",
|
|
392
|
+
envMcp: "MCP 服务",
|
|
393
|
+
envMcpOne: "MCP 服务",
|
|
394
|
+
envServices: "服务",
|
|
395
|
+
envServiceOne: "服务",
|
|
396
|
+
envState: "状态",
|
|
397
|
+
envPath: "路径",
|
|
398
|
+
envEmpty: "环境里没有条目。",
|
|
399
|
+
schedulesEmpty: "arbor 没有定时任务。",
|
|
400
|
+
scheduleNext: "下次 {time}",
|
|
401
|
+
scheduleEvery: "每 {value}",
|
|
402
|
+
scheduleDaily: "每天 {value}",
|
|
403
|
+
scheduleWeekly: "每周 {value}",
|
|
404
|
+
schedulePaused: "已暂停",
|
|
405
|
+
scheduleMine: "本会话",
|
|
406
|
+
scheduleFired: "已触发 {count} 次",
|
|
407
|
+
settingsSourceEnvironment: "来自 /env/settings.json",
|
|
408
|
+
settingsSourceDeployment: "部署种子",
|
|
409
|
+
settingsIdentity: "身份",
|
|
410
|
+
settingsRules: "通用规则",
|
|
411
|
+
settingsJudge: "判断",
|
|
412
|
+
settingsTiers: "模型层级",
|
|
413
|
+
settingsDefaultTier: "默认层级",
|
|
414
|
+
settingsWindow: "窗口",
|
|
415
|
+
settingsIdle: "空闲",
|
|
416
|
+
settingsContext: "上下文",
|
|
417
|
+
settingsReserve: "预留",
|
|
418
|
+
settingsProtection: "保护期",
|
|
419
|
+
settingsNotes: "笔记",
|
|
420
|
+
settingsNotesCount: "活跃条数",
|
|
421
|
+
settingsNotesTokens: "活跃令牌",
|
|
422
|
+
settingsSecrets: "密钥名",
|
|
423
|
+
settingsJudgeOn: "开启",
|
|
424
|
+
settingsJudgeOff: "关闭",
|
|
425
|
+
settingsJudgeShadow: "影子",
|
|
426
|
+
settingsDsh: "DSH 的 Agent loop 插件页面管的是普通会话;arbor 窗口按上面的层级和窗口限制运行。",
|
|
427
|
+
settingsEmpty: "arbor 使用自己的默认值。",
|
|
428
|
+
searchPlaceholder: "搜索日志与笔记",
|
|
429
|
+
searchButton: "搜索",
|
|
430
|
+
searchEmpty: "没有命中。",
|
|
431
|
+
searchTotal: "{count} 条命中",
|
|
432
|
+
searchTotalOne: "1 条命中",
|
|
433
|
+
searchJournal: "日志",
|
|
434
|
+
searchNotes: "笔记",
|
|
435
|
+
searchBoard: "看板",
|
|
436
|
+
searchHint: "arbor 自己的搜索,查日志、笔记和看板。",
|
|
437
|
+
searchError: "搜索失败:{message}",
|
|
438
|
+
seconds: "{value} 秒",
|
|
439
|
+
minutes: "{value} 分钟",
|
|
440
|
+
hours: "{value} 小时",
|
|
441
|
+
tokens: "令牌",
|
|
442
|
+
window: "窗口",
|
|
443
|
+
heroLiveNoBoard: "{window} 正在干活,看板空着。",
|
|
444
|
+
};
|
|
445
|
+
/** Replace `{name}` placeholders in one string. */
|
|
446
|
+
export function format(template, args) {
|
|
447
|
+
if (args === undefined)
|
|
448
|
+
return template;
|
|
449
|
+
return template.replace(/\{(\w+)\}/g, (whole, name) => (Object.hasOwn(args, name) ? String(args[name]) : whole));
|
|
450
|
+
}
|
|
451
|
+
/** The fallback translate function, for a reduced client graph with no locale service. */
|
|
452
|
+
export function fallbackTranslate(key, args) {
|
|
453
|
+
const value = zh[key];
|
|
454
|
+
return value === undefined ? key : format(value, args);
|
|
455
|
+
}
|
package/index.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The dsh-arbor-ui node half.
|
|
3
|
+
*
|
|
4
|
+
* The empty host `apply` exists only so the plugin appears in the host
|
|
5
|
+
* cordis.yml / Loader: every behavior lives in the browser half
|
|
6
|
+
* (`exports["./client"]`), which the client module graph discovers from this
|
|
7
|
+
* package's `dsh.client` declaration. There is nothing to do on the host — the
|
|
8
|
+
* gate is a composer-slot occupant, which is browser state.
|
|
9
|
+
*/
|
|
10
|
+
/** Host plugin body — no host-side behavior for this surface plugin. */
|
|
11
|
+
export declare function apply(): void;
|
package/index.js
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The dsh-arbor-ui node half.
|
|
3
|
+
*
|
|
4
|
+
* The empty host `apply` exists only so the plugin appears in the host
|
|
5
|
+
* cordis.yml / Loader: every behavior lives in the browser half
|
|
6
|
+
* (`exports["./client"]`), which the client module graph discovers from this
|
|
7
|
+
* package's `dsh.client` declaration. There is nothing to do on the host — the
|
|
8
|
+
* gate is a composer-slot occupant, which is browser state.
|
|
9
|
+
*/
|
|
10
|
+
/** Host plugin body — no host-side behavior for this surface plugin. */
|
|
11
|
+
export function apply() { }
|
package/package.json
CHANGED
|
@@ -1,6 +1,61 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@4fu/dsh-arbor-ui",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"description": "
|
|
6
|
-
|
|
3
|
+
"version": "2026.1110.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "The dsh-arbor browser package: the permanent left-sidebar arbor page, its per-session tabs and live window streams, and for arbor sessions the sandbox access-mode gate; ordinary sessions keep their controls unchanged",
|
|
6
|
+
"exports": {
|
|
7
|
+
".": {
|
|
8
|
+
"types": "./index.d.ts",
|
|
9
|
+
"default": "./index.js"
|
|
10
|
+
},
|
|
11
|
+
"./client": "./client.js",
|
|
12
|
+
"./package.json": "./package.json"
|
|
13
|
+
},
|
|
14
|
+
"files": [
|
|
15
|
+
"channel.d.ts",
|
|
16
|
+
"channel.js",
|
|
17
|
+
"client.js",
|
|
18
|
+
"i18n.d.ts",
|
|
19
|
+
"i18n.js",
|
|
20
|
+
"index.d.ts",
|
|
21
|
+
"index.js",
|
|
22
|
+
"styles.d.ts",
|
|
23
|
+
"styles.js",
|
|
24
|
+
"ui.d.ts",
|
|
25
|
+
"ui.js"
|
|
26
|
+
],
|
|
27
|
+
"dsh": {
|
|
28
|
+
"client": {
|
|
29
|
+
"inject": [
|
|
30
|
+
"@deepseek-ai/dsh-client-ui-permission-presets",
|
|
31
|
+
"@deepseek-ai/dsh-client-locale",
|
|
32
|
+
"@deepseek-ai/dsh-client-ui-conversation",
|
|
33
|
+
"@deepseek-ai/dsh-client-ui-sidebar-right"
|
|
34
|
+
],
|
|
35
|
+
"platform": "web"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"dependencies": {
|
|
39
|
+
"@deepseek-ai/cordis": "4.1.0",
|
|
40
|
+
"@deepseek-ai/dsh-client-ui-permission-presets": "0.2.2-rc.1",
|
|
41
|
+
"@4fu/dsh-arbor-facts": "2026.1110.0",
|
|
42
|
+
"@deepseek-ai/dsh-client-locale": "0.2.2-rc.1",
|
|
43
|
+
"@deepseek-ai/dsh-client-ui-sidebar-right": "0.2.2-rc.1",
|
|
44
|
+
"@deepseek-ai/dsh-client-ui-conversation": "0.2.2-rc.1"
|
|
45
|
+
},
|
|
46
|
+
"license": "MIT",
|
|
47
|
+
"repository": {
|
|
48
|
+
"type": "git",
|
|
49
|
+
"url": "git+https://github.com/4fuu/dsh-arbor.git",
|
|
50
|
+
"directory": "packages/arbor-ui"
|
|
51
|
+
},
|
|
52
|
+
"engines": {
|
|
53
|
+
"node": ">=24.9.0",
|
|
54
|
+
"dsh": "0.2.2-rc.1"
|
|
55
|
+
},
|
|
56
|
+
"publishConfig": {
|
|
57
|
+
"access": "public"
|
|
58
|
+
},
|
|
59
|
+
"types": "./index.d.ts",
|
|
60
|
+
"main": "./index.js"
|
|
61
|
+
}
|
package/styles.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The arbor page's stylesheet, built from DSH's own `--dsw-*` design tokens
|
|
3
|
+
* (`@deepseek-ai/dsh-client-ui-theme`), so light and dark, the content font
|
|
4
|
+
* size and the page's fonts all follow the rest of the web client.
|
|
5
|
+
*
|
|
6
|
+
* Every text node carries one `data-arbor-text` role: body, display, numeric or
|
|
7
|
+
* code. The four roles read `--arbor-font-body`, `--arbor-font-display`,
|
|
8
|
+
* `--arbor-font-numeric` and `--arbor-font-code`, all defined on the page root
|
|
9
|
+
* and defaulting to DSH's own body and monospace tokens. A font plugin can
|
|
10
|
+
* override the properties without touching this stylesheet.
|
|
11
|
+
*/
|
|
12
|
+
/** The page's stylesheet. */
|
|
13
|
+
export declare const CSS = ".arbor-page{\n --arbor-font-body:var(--dsw-font-family);\n --arbor-font-display:var(--dsw-font-family);\n --arbor-font-numeric:var(--dsw-font-family);\n --arbor-font-code:var(--ds-font-family-code);\n box-sizing:border-box;min-height:100%;overflow:auto;\n padding:24px 28px 32px;\n padding-bottom:var(--arbor-dock-reserve,32px);\n background:var(--dsw-alias-bg-base,#fff);\n color:var(--dsw-alias-label-primary,#0f1115);\n font-family:var(--arbor-font-body);\n font-size:13px;line-height:1.55;\n}\n.arbor-page *{box-sizing:border-box}\n.arbor-page [data-arbor-text=\"body\"]{font-family:var(--arbor-font-body)}\n.arbor-page [data-arbor-text=\"display\"]{font-family:var(--arbor-font-display)}\n.arbor-page [data-arbor-text=\"numeric\"]{font-family:var(--arbor-font-numeric);font-variant-numeric:tabular-nums}\n.arbor-page [data-arbor-text=\"code\"]{font-family:var(--arbor-font-code)}\n.arbor-page-inner{width:100%;max-width:1160px;min-height:calc(100vh - 56px);margin:0 auto;display:flex;flex-direction:column;gap:14px}\n.arbor-page .arbor-tabs{display:flex;flex:none;gap:4px;align-items:center;overflow-x:auto;padding:0 1px}\n.arbor-page .arbor-tab-group{display:flex;align-items:center;flex:none}\n.arbor-page .arbor-tab{height:27px;padding:0 10px;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--dsw-alias-label-secondary,#61666b);font:inherit;font-size:11.5px;cursor:pointer;white-space:nowrap}\n.arbor-page .arbor-tab:hover{background:var(--dsw-alias-interactive-bg-hover,#2631480f);color:var(--dsw-alias-label-primary,#0f1115)}\n.arbor-page .arbor-tab.is-active, .arbor-page .arbor-tab-group.is-active .arbor-tab{background:var(--dsw-alias-bg-layer-1,#fff);border-color:var(--dsw-alias-border-l1,#0000000a);color:var(--dsw-alias-label-primary,#0f1115)}\n.arbor-page .arbor-tab-close{width:20px;height:20px;padding:0;border:none;border-radius:5px;background:transparent;color:var(--dsw-alias-label-tertiary,#81858c);cursor:pointer;font-size:13px;line-height:1}\n.arbor-page .arbor-tab-close:hover{background:var(--dsw-alias-interactive-bg-hover,#2631480f);color:var(--dsw-alias-label-primary,#0f1115)}\n.arbor-page .arbor-hero{display:flex;flex-direction:column;gap:2px;padding:8px 0 10px}\n.arbor-page .arbor-hero-top{display:flex;align-items:center;gap:12px;min-height:32px}\n.arbor-page .arbor-date{flex:1;min-width:0;font-size:11px;color:var(--dsw-alias-label-tertiary,#81858c);letter-spacing:.06em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n.arbor-page .arbor-top-actions{display:flex;gap:6px;align-items:center;flex:none}\n.arbor-page .arbor-icon-button{width:32px;height:32px;padding:0;border:1px solid var(--dsw-alias-border-l1,#0000000a);border-radius:50%;background:var(--dsw-alias-bg-layer-1,#fff);color:var(--dsw-alias-label-secondary,#61666b);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;flex:none;box-shadow:var(--dsw-elevation-soft,0 4px 16px #00000008)}\n.arbor-page .arbor-icon-button:hover{background:var(--dsw-alias-interactive-bg-hover,#2631480f);color:var(--dsw-alias-label-primary,#0f1115)}\n.arbor-page .arbor-hero-title{max-width:960px;margin:10px 0 2px;font-size:clamp(20px,2vw,27px);line-height:1.5;font-weight:400;letter-spacing:.005em;color:var(--dsw-alias-label-tertiary,#81858c);text-wrap:balance}\n.arbor-page .arbor-hero-num{font-family:var(--arbor-font-numeric);font-weight:600;font-size:1.18em;line-height:.95;letter-spacing:-.01em;color:var(--dsw-alias-label-primary,#0f1115);font-variant-numeric:tabular-nums}\n.arbor-page .arbor-hero-name{font-weight:400;color:inherit}.arbor-page .arbor-hero-title .arbor-hero-name{color:inherit}\n.arbor-page .arbor-hero-hint{display:block;margin-top:10px;font-size:12.5px;line-height:1.6;color:var(--dsw-alias-label-tertiary,#81858c)}\n.arbor-page .arbor-hero-links{display:flex;gap:10px;margin-top:6px}.arbor-page .arbor-hero-links .arbor-card-link{margin-left:0;align-self:flex-start}\n.arbor-page .arbor-overview{display:flex;flex:1;flex-direction:column;gap:4px;min-height:0}\n.arbor-page .arbor-sky{position:relative;width:100%;flex:none;min-height:0}\n.arbor-page .arbor-sky-cell{position:absolute;min-width:0;z-index:1;transform-origin:50% 50%;transition:transform 150ms ease}\n.arbor-page .arbor-sky-cell>.arbor-card{width:100%}\n.arbor-page .arbor-sky-cell[data-paper=\"true\"]{transform:rotate(var(--arbor-tilt,0deg))}\n.arbor-page .arbor-sky-cell[data-paper=\"true\"]:hover{transform:rotate(0deg) translateY(-5px) scale(1.01);z-index:4}\n.arbor-page .arbor-sky-cell[data-paper=\"true\"]>.arbor-card{transition:box-shadow 150ms ease}\n.arbor-page .arbor-sky-cell[data-paper=\"true\"]:hover>.arbor-card{box-shadow:0 18px 36px #0000002b}\n.arbor-page .arbor-index-card{background:var(--dsw-alias-bg-layer-1,#fff);border-top:3px solid color-mix(in srgb,var(--dsw-alias-state-business-primary,#4176e6) 55%,transparent);border-radius:7px;box-shadow:0 7px 18px #00000012}\n.arbor-page .arbor-note-card{border-radius:8px;box-shadow:0 8px 20px #00000014}\n.arbor-page .arbor-card{min-width:0;display:flex;flex-direction:column;gap:7px;padding:15px 17px 12px;border:1px solid var(--dsw-alias-border-l1,#0000000a);border-radius:17px;background:var(--dsw-alias-bg-layer-1,#fff);box-shadow:var(--dsw-elevation-soft,0 4px 16px #00000008);color:var(--dsw-alias-label-primary,#0f1115)}\n.arbor-page .arbor-card-head{display:flex;align-items:center;gap:8px;min-width:0}\n.arbor-page .arbor-card-kicker{flex:1;min-width:0;font-size:10px;line-height:14px;letter-spacing:.06em;color:var(--dsw-alias-label-tertiary,#81858c);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n.arbor-page .arbor-card-aside{flex:none;display:inline-flex;align-items:center;gap:6px}\n.arbor-page .arbor-card-session{font-size:10px;color:var(--dsw-alias-label-tertiary,#81858c);max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n.arbor-page .arbor-card-title{font-size:16px;line-height:1.5;font-weight:500;color:var(--dsw-alias-label-primary,#0f1115);overflow-wrap:anywhere}\n.arbor-page .arbor-card-project{font-size:11px;line-height:1.5;color:var(--dsw-alias-label-secondary,#61666b);overflow-wrap:anywhere}\n.arbor-page .arbor-card-meta{font-size:10.5px;color:var(--dsw-alias-label-tertiary,#81858c)}\n.arbor-page .arbor-card-foot{margin-top:auto;display:flex;align-items:baseline;gap:3px 7px;flex-wrap:wrap;padding-top:9px;border-top:1px solid var(--dsw-alias-border-l1,#0000000a);font-size:10px;line-height:1.5;color:var(--dsw-alias-label-tertiary,#81858c)}\n.arbor-page .arbor-card-foot-line{flex-basis:100%;margin-top:1px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n.arbor-page .arbor-card-link{margin-left:auto;padding:0;border:none;background:transparent;color:var(--dsw-alias-label-secondary,#61666b);font:inherit;font-size:10.5px;cursor:pointer;white-space:nowrap}\n.arbor-page .arbor-card-link:hover{color:var(--dsw-alias-label-primary,#0f1115)}\n.arbor-page .arbor-board-card{background:color-mix(in srgb,var(--dsw-alias-state-business-primary,#4176e6) 7%,var(--dsw-alias-bg-layer-1,#fff));border-color:color-mix(in srgb,var(--dsw-alias-state-business-primary,#4176e6) 16%,var(--dsw-alias-border-l1,#0000000a))}\n.arbor-page .arbor-note-card{background:color-mix(in srgb,var(--dsw-alias-state-warn-primary,#f59e0b) 9%,var(--dsw-alias-bg-layer-1,#fff));border-color:color-mix(in srgb,var(--dsw-alias-state-warn-primary,#f59e0b) 20%,var(--dsw-alias-border-l1,#0000000a))}\n.arbor-page .arbor-empty-card{min-height:220px;align-items:center;justify-content:center;text-align:center;gap:8px;border-style:dashed;background:color-mix(in srgb,var(--dsw-alias-bg-layer-1,#fff) 55%,transparent)}\n.arbor-page .arbor-empty-mark{width:40px;height:40px;border:1px dashed var(--dsw-alias-border-l3,#0000001f);border-radius:50%;position:relative;margin-bottom:4px}\n.arbor-page .arbor-empty-mark:after{content:'';position:absolute;inset:13px;border-radius:50%;background:var(--dsw-alias-brand-primary,#0f1115);opacity:.16}\n.arbor-page .arbor-empty-title{font-size:19px;font-weight:500;color:var(--dsw-alias-label-primary,#0f1115)}\n.arbor-page .arbor-empty-hint{max-width:44ch;font-size:12.5px;line-height:1.65;color:var(--dsw-alias-label-secondary,#61666b)}\n.arbor-page .arbor-state{display:inline-flex;align-items:center;gap:4px;padding:1px 7px;border-radius:999px;font-size:9.5px;line-height:18px;white-space:nowrap;background:var(--dsw-alias-bg-layer-2,#fff);color:var(--dsw-alias-label-secondary,#61666b)}\n.arbor-page .arbor-state-running{color:var(--dsw-alias-state-success-primary,#22c55e);background:color-mix(in srgb,var(--dsw-alias-state-success-primary,#22c55e) 12%,transparent)}\n.arbor-page .arbor-state-idle, .arbor-page .arbor-state-paused{color:var(--dsw-alias-state-warn-primary,#f59e0b);background:color-mix(in srgb,var(--dsw-alias-state-warn-primary,#f59e0b) 12%,transparent)}\n.arbor-page .arbor-state-ended{color:var(--dsw-alias-label-tertiary,#81858c)}\n.arbor-page .arbor-dot{width:7px;height:7px;border-radius:50%;flex:none;background:var(--dsw-alias-label-tertiary,#81858c)}\n.arbor-page .arbor-dot-running{background:var(--dsw-alias-state-success-primary,#22c55e)}\n.arbor-page .arbor-dot-idle{background:var(--dsw-alias-state-warn-primary,#f59e0b)}\n.arbor-page .arbor-dot-paused{background:var(--dsw-alias-state-warn-primary,#f59e0b)}\n.arbor-page .arbor-dot-ended{background:var(--dsw-alias-label-tertiary,#81858c)}\n.arbor-page .arbor-stream-block{margin-top:2px;padding:10px 11px;border-radius:12px;background:var(--dsw-alias-bg-layer-2,#fff);border:1px solid var(--dsw-alias-border-l1,#0000000a);display:flex;flex-direction:column;gap:5px;min-width:0}\n.arbor-page .arbor-stream-head{display:flex;align-items:center;gap:6px}\n.arbor-page .arbor-pulse{width:5px;height:5px;border-radius:50%;background:var(--dsw-alias-label-tertiary,#81858c);flex:none}\n.arbor-page .arbor-pulse.is-live{background:var(--dsw-alias-state-success-primary,#22c55e);animation:arbor-pulse 1.1s ease-in-out infinite}\n.arbor-page .arbor-stream-label{font-size:9px;letter-spacing:.12em;text-transform:uppercase;color:var(--dsw-alias-label-tertiary,#81858c)}\n.arbor-page .arbor-md-wrap{max-height:260px;overflow:hidden;position:relative}\n.arbor-page .arbor-md-wrap.is-clamped{mask-image:linear-gradient(180deg,#000 72%,transparent 100%)}\n.arbor-page .arbor-window-card .arbor-md-wrap{max-height:140px}\n.arbor-page .arbor-md-wrap.is-expanded{max-height:none;overflow:visible}\n.arbor-page .arbor-md{font-size:12.5px;line-height:1.7;color:var(--dsw-alias-label-secondary,#61666b);overflow-wrap:anywhere}\n.arbor-page .arbor-md-p{margin:0 0 8px}\n.arbor-page .arbor-md-p:last-child{margin-bottom:0}\n.arbor-page .arbor-md-heading{margin:4px 0 7px;font-size:14px;font-weight:600;line-height:1.5;color:var(--dsw-alias-label-primary,#0f1115)}\n.arbor-page .arbor-md-list{margin:0 0 8px;padding-left:18px}\n.arbor-page .arbor-md-list li{margin:1px 0}\n.arbor-page .arbor-md-pre{margin:0 0 8px;padding:8px 10px;border-radius:8px;background:var(--dsw-alias-markdown-code-block,var(--dsw-alias-bg-layer-2,#f5f5f5));overflow:auto;font-family:var(--arbor-font-code);font-size:11px;line-height:1.55}\n.arbor-page .arbor-md-code{padding:1px 4px;border-radius:4px;background:var(--dsw-alias-markdown-inline-code,var(--dsw-alias-bg-layer-2,#f5f5f5));font-family:var(--arbor-font-code);font-size:11px}\n.arbor-page .arbor-md-link{color:var(--dsw-alias-link,var(--dsw-alias-state-business-primary,#4176e6));text-decoration:underline;text-underline-offset:2px}\n.arbor-page .arbor-stream-toggle{align-self:flex-start;padding:0;border:none;background:transparent;color:var(--dsw-alias-label-secondary,#61666b);font:inherit;font-size:10.5px;cursor:pointer}\n.arbor-page .arbor-stream-toggle:hover{color:var(--dsw-alias-label-primary,#0f1115)}\n.arbor-page .arbor-stream-empty{font-size:12px;line-height:1.6;color:var(--dsw-alias-label-tertiary,#81858c)}\n.arbor-page .arbor-stream-send{margin-top:4px;padding-top:6px;border-top:1px dashed var(--dsw-alias-border-l1,#0000000a);display:flex;flex-direction:column;gap:3px}\n.arbor-page .arbor-chain-scroll{overflow-x:auto;padding:3px 0 7px;scrollbar-width:thin}\n.arbor-page .arbor-chain-card{container-type:inline-size}\n.arbor-page .arbor-chain{display:flex;align-items:center;min-width:max-content}\n.arbor-page .arbor-node{min-width:112px;max-width:166px;padding:9px 10px;border:1px solid var(--dsw-alias-border-l1,#0000000a);border-radius:12px;background:var(--dsw-alias-interactive-bg-hover,#2631480f);display:flex;flex-direction:column;gap:1px;min-height:72px}\n.arbor-page .arbor-node-running{border-color:color-mix(in srgb,var(--dsw-alias-state-success-primary,#22c55e) 35%,var(--dsw-alias-border-l1,#0000000a));background:color-mix(in srgb,var(--dsw-alias-state-success-primary,#22c55e) 7%,var(--dsw-alias-bg-layer-1,#fff))}\n.arbor-page .arbor-node-idle{border-color:color-mix(in srgb,var(--dsw-alias-state-warn-primary,#f59e0b) 28%,var(--dsw-alias-border-l1,#0000000a))}\n.arbor-page .arbor-node-ref{font-family:var(--arbor-font-numeric);font-size:15px;line-height:19px;font-weight:500;color:var(--dsw-alias-label-primary,#0f1115);font-variant-numeric:tabular-nums}\n.arbor-page .arbor-node-state{font-size:9px;line-height:13px;letter-spacing:.1em;text-transform:uppercase;color:var(--dsw-alias-label-tertiary,#81858c)}\n.arbor-page .arbor-node-running .arbor-node-state{color:var(--dsw-alias-state-success-primary,#22c55e)}\n.arbor-page .arbor-node-doing{font-size:10.5px;line-height:1.45;color:var(--dsw-alias-label-secondary,#61666b);overflow-wrap:anywhere}\n.arbor-page .arbor-connector{width:52px;flex:none;height:72px;display:flex;align-items:center;justify-content:center;position:relative}\n.arbor-page .arbor-connector-line{position:absolute;left:0;right:0;top:50%;height:1px;background:var(--dsw-alias-border-l2,#0000001a)}\n.arbor-page .arbor-connector-label{position:relative;z-index:1;padding:0 4px;background:var(--dsw-alias-bg-layer-1,#fff);font-size:8px;letter-spacing:.06em;text-transform:uppercase;color:var(--dsw-alias-label-tertiary,#81858c);white-space:nowrap}\n.arbor-page .arbor-connector-arrow{position:relative;z-index:1;padding-left:2px;background:var(--dsw-alias-bg-layer-1,#fff);font-size:12px;color:var(--dsw-alias-label-tertiary,#81858c);line-height:1}\n.arbor-page .arbor-handoffs{display:flex;flex-direction:column;gap:3px;padding-top:7px;border-top:1px solid var(--dsw-alias-border-l1,#0000000a)}\n.arbor-page .arbor-handoff-row{display:flex;gap:8px;align-items:baseline;min-width:0;font-size:11px;line-height:1.5;color:var(--dsw-alias-label-secondary,#61666b)}\n.arbor-page .arbor-handoff-ref{flex:none;font-size:9.5px;color:var(--dsw-alias-label-tertiary,#81858c);letter-spacing:.04em}\n.arbor-page .arbor-handoff-text{min-width:0;overflow-wrap:anywhere}\n.arbor-page .arbor-note-sum{font-size:12.5px;line-height:1.6;color:var(--dsw-alias-label-secondary,#61666b);overflow-wrap:anywhere}\n.arbor-page .arbor-tags{display:flex;flex-wrap:wrap;gap:4px}\n.arbor-page .arbor-tag{display:inline-flex;align-items:center;height:19px;padding:0 6px;border-radius:6px;font-size:9.5px;line-height:19px;white-space:nowrap;background:var(--dsw-alias-bg-layer-2,#fff);color:var(--dsw-alias-label-secondary,#61666b)}\n.arbor-page .arbor-tag-ok{color:var(--dsw-alias-state-success-primary,#22c55e);background:color-mix(in srgb,var(--dsw-alias-state-success-primary,#22c55e) 12%,transparent)}\n.arbor-page .arbor-tag-warn{color:var(--dsw-alias-state-warn-primary,#f59e0b);background:color-mix(in srgb,var(--dsw-alias-state-warn-primary,#f59e0b) 12%,transparent)}\n.arbor-page .arbor-tag-err{color:var(--dsw-alias-state-error-primary,#ef4444);background:color-mix(in srgb,var(--dsw-alias-state-error-primary,#ef4444) 12%,transparent)}\n.arbor-page .arbor-tag-plain{opacity:.7}\n.arbor-page .arbor-refusal{display:flex;flex-direction:column;gap:4px;padding:9px 10px;border-radius:10px;border:1px solid color-mix(in srgb,var(--dsw-alias-state-warn-primary,#f59e0b) 28%,var(--dsw-alias-border-l1,#0000000a));background:color-mix(in srgb,var(--dsw-alias-state-warn-primary,#f59e0b) 8%,var(--dsw-alias-bg-layer-1,#fff))}\n.arbor-page .arbor-refusal-head{display:flex;align-items:center;gap:7px;min-width:0;flex-wrap:wrap}\n.arbor-page .arbor-refusal-title{flex:1;min-width:0;font-size:10px;letter-spacing:.04em;color:var(--dsw-alias-state-warn-primary,#f59e0b)}\n.arbor-page .arbor-refusal-message{font-size:11px;line-height:1.55;color:var(--dsw-alias-label-secondary,#61666b);overflow-wrap:anywhere}\n.arbor-page .arbor-refusal-hint{font-size:10.5px;line-height:1.55;color:var(--dsw-alias-label-tertiary,#81858c)}\n.arbor-page .arbor-env-counts{display:flex;gap:18px;align-items:baseline;flex-wrap:wrap;padding:1px 0 4px}\n.arbor-page .arbor-env-count{display:flex;align-items:baseline;gap:3px;color:var(--dsw-alias-label-secondary,#61666b);font-size:10.5px}\n.arbor-page .arbor-env-big{font-family:var(--arbor-font-numeric);font-size:26px;line-height:30px;font-weight:500;color:var(--dsw-alias-label-primary,#0f1115);font-variant-numeric:tabular-nums}\n.arbor-page .arbor-env-group{padding-top:6px;border-top:1px solid var(--dsw-alias-border-l1,#0000000a);display:flex;flex-direction:column;gap:1px}\n.arbor-page .arbor-env-group-title{font-size:9px;letter-spacing:.1em;text-transform:uppercase;color:var(--dsw-alias-label-tertiary,#81858c);margin-bottom:2px}\n.arbor-page .arbor-env-row{display:flex;align-items:baseline;gap:7px;min-width:0;font-size:11.5px;line-height:1.6}\n.arbor-page .arbor-env-name{flex:none;max-width:55%;overflow-wrap:anywhere;color:var(--dsw-alias-label-primary,#0f1115)}\n.arbor-page .arbor-env-path{flex:1;min-width:0;overflow-wrap:anywhere;font-size:10px;color:var(--dsw-alias-label-tertiary,#81858c)}\n.arbor-page .arbor-env-functions{flex:1;min-width:0;overflow-wrap:anywhere;color:var(--dsw-alias-label-secondary,#61666b);font-size:10.5px}\n.arbor-page .arbor-env-revision{font-size:10px;color:var(--dsw-alias-label-tertiary,#81858c)}\n.arbor-page .arbor-schedule-next{font-size:12.5px;line-height:1.5;color:var(--dsw-alias-label-secondary,#61666b)}\n.arbor-page .arbor-workspace-rows{display:flex;flex-direction:column;gap:7px;min-width:0}\n.arbor-page .arbor-workspace-row{display:flex;flex-direction:column;gap:2px;min-width:0;font-size:11.5px;line-height:1.5;color:var(--dsw-alias-label-primary,#0f1115)}\n.arbor-page .arbor-workspace-row>.arbor-label{font-size:9px;letter-spacing:.1em;text-transform:uppercase;color:var(--dsw-alias-label-tertiary,#81858c)}\n.arbor-page .arbor-workspace-list{display:flex;flex-direction:column;gap:2px;min-width:0}\n.arbor-page .arbor-workspace-item{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap;min-width:0;font-size:11px}\n.arbor-page .arbor-muted{color:var(--dsw-alias-label-tertiary,#81858c);font-size:11px}\n.arbor-page .arbor-error{color:var(--dsw-alias-state-error-primary,#ef4444);font-size:11px;line-height:1.5}\n.arbor-page .arbor-mono{font-family:var(--arbor-font-code);font-size:10.5px;overflow-wrap:anywhere}\n.arbor-page .arbor-clamp{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}\n.arbor-page .arbor-label{letter-spacing:.02em}\n.arbor-page .arbor-num{font-variant-numeric:tabular-nums}\n.arbor-page .arbor-dock{position:sticky;bottom:18px;z-index:8;margin:10px auto 0;width:fit-content;max-width:calc(100% - 24px);padding:5px;border:1px solid var(--dsw-alias-border-l1,#0000000a);border-radius:999px;background:var(--dsw-alias-bg-layer-1,#fff);box-shadow:var(--dsw-elevation-prominent,0 3px 8px #0000000a);isolation:isolate}\n.arbor-page .arbor-dock-pills{display:flex;gap:2px;align-items:center;overflow-x:auto;scrollbar-width:none}\n.arbor-page .arbor-dock-pills::-webkit-scrollbar{display:none}\n.arbor-page .arbor-pill{height:30px;padding:0 13px;border:none;border-radius:999px;background:transparent;color:var(--dsw-alias-label-secondary,#61666b);font:inherit;font-size:11.5px;cursor:pointer;white-space:nowrap}\n.arbor-page .arbor-pill:hover{background:var(--dsw-alias-interactive-bg-hover,#2631480f);color:var(--dsw-alias-label-primary,#0f1115)}\n.arbor-page .arbor-pill.is-active{background:var(--dsw-alias-label-primary,#0f1115);color:var(--dsw-alias-label-primary-foreground,#fff)}\n.arbor-page .arbor-sheet-layer{position:fixed;inset:0;z-index:60;display:flex;justify-content:flex-end}\n.arbor-page .arbor-sheet-backdrop{position:absolute;inset:0;background:var(--dsw-alias-bg-mask-2,#0000001f);backdrop-filter:blur(1px)}\n.arbor-page .arbor-sheet{position:relative;width:min(560px,100%);height:100%;overflow:auto;background:var(--dsw-specific-menu,var(--dsw-alias-bg-layer-1,#fff));border-left:1px solid var(--dsw-alias-border-l1,#0000000a);box-shadow:var(--dsw-elevation-prominent,0 3px 8px #0000000a);padding:18px 20px 28px;display:flex;flex-direction:column;gap:14px}\n.arbor-page .arbor-sheet-head{position:sticky;top:0;z-index:1;display:flex;align-items:center;gap:10px;padding-bottom:10px;background:inherit;border-bottom:1px solid var(--dsw-alias-border-l1,#0000000a)}\n.arbor-page .arbor-sheet-title{flex:1;margin:0;font-size:16px;font-weight:500;color:var(--dsw-alias-label-primary,#0f1115)}\n.arbor-page .arbor-sheet-body{display:flex;flex-direction:column;gap:12px}\n.arbor-page .arbor-settings{display:flex;flex-direction:column;gap:8px;font-size:12px}\n.arbor-page .arbor-settings-source{font-size:10.5px;color:var(--dsw-alias-label-tertiary,#81858c)}\n.arbor-page .arbor-settings-group{display:flex;flex-direction:column;gap:6px;padding:9px 11px;border-radius:11px;background:var(--dsw-alias-bg-layer-2,#fff);border:1px solid var(--dsw-alias-border-l1,#0000000a)}\n.arbor-page .arbor-settings-group-title{font-size:9px;letter-spacing:.12em;text-transform:uppercase;color:var(--dsw-alias-label-tertiary,#81858c)}\n.arbor-page .arbor-setting-row{display:flex;gap:10px;align-items:baseline;min-width:0;padding:5px 0;border-bottom:1px solid var(--dsw-alias-border-l1,#0000000a)}\n.arbor-page .arbor-setting-row:last-child{border-bottom:none}\n.arbor-page .arbor-setting-key{flex:none;width:98px;font-size:9.5px;line-height:1.45;letter-spacing:.02em;color:var(--dsw-alias-label-tertiary,#81858c)}\n.arbor-page .arbor-setting-value{flex:1;min-width:0;font-size:11.5px;line-height:1.55;color:var(--dsw-alias-label-primary,#0f1115)}\n.arbor-page .arbor-settings-wrap{overflow-wrap:anywhere}\n.arbor-page .arbor-settings-note{padding:10px 12px;border-radius:11px;border:1px solid color-mix(in srgb,var(--dsw-alias-state-warn-primary,#f59e0b) 22%,var(--dsw-alias-border-l1,#0000000a));background:color-mix(in srgb,var(--dsw-alias-state-warn-primary,#f59e0b) 7%,var(--dsw-alias-bg-layer-1,#fff));font-size:11.5px;line-height:1.65;color:var(--dsw-alias-label-secondary,#61666b)}\n.arbor-page .arbor-search{display:flex;flex-direction:column;gap:8px}\n.arbor-page .arbor-search-row{display:flex;gap:7px;align-items:center}\n.arbor-page .arbor-search-input{flex:1;min-width:0;height:34px;padding:0 10px;border:1px solid var(--dsw-alias-border-l2,#0000001a);border-radius:9px;background:var(--dsw-alias-bg-layer-2,#fff);color:var(--dsw-alias-label-primary,#0f1115);font:inherit;font-size:12px;outline:none}\n.arbor-page .arbor-search-input:focus{border-color:var(--dsw-alias-brand-primary,#0f1115)}\n.arbor-page .arbor-search-go{height:34px;padding:0 12px;border:1px solid var(--dsw-alias-border-l2,#0000001a);border-radius:9px;background:var(--dsw-alias-bg-layer-1,#fff);color:var(--dsw-alias-label-primary,#0f1115);font-size:10px;letter-spacing:.05em;cursor:pointer}\n.arbor-page .arbor-search-go:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover,#2631480f)}\n.arbor-page .arbor-search-go:disabled{opacity:.45;cursor:default}\n.arbor-page .arbor-search-hint{font-size:10.5px;line-height:1.55;color:var(--dsw-alias-label-tertiary,#81858c)}\n.arbor-page .arbor-search-empty{padding:18px 0;text-align:center;font-size:12.5px;color:var(--dsw-alias-label-secondary,#61666b)}\n.arbor-page .arbor-search-results{display:flex;flex-direction:column;gap:12px}\n.arbor-page .arbor-search-total{font-size:10.5px;color:var(--dsw-alias-label-secondary,#61666b)}\n.arbor-page .arbor-search-group{display:flex;flex-direction:column;gap:5px}\n.arbor-page .arbor-search-group-title{font-size:9px;letter-spacing:.12em;text-transform:uppercase;color:var(--dsw-alias-label-tertiary,#81858c)}\n.arbor-page .arbor-hit{display:flex;flex-direction:column;gap:2px;padding:8px 10px;border-radius:10px;border:1px solid var(--dsw-alias-border-l1,#0000000a);background:var(--dsw-alias-bg-layer-2,#fff)}\n.arbor-page .arbor-hit-head{display:flex;gap:7px;align-items:baseline;flex-wrap:wrap}\n.arbor-page .arbor-hit-ref{font-size:10px;color:var(--dsw-alias-label-tertiary,#81858c)}\n.arbor-page .arbor-hit-kind{font-size:9.5px;color:var(--dsw-alias-label-secondary,#61666b)}\n.arbor-page .arbor-hit-window{font-size:9.5px;color:var(--dsw-alias-label-tertiary,#81858c)}\n.arbor-page .arbor-hit-sum{font-size:11.5px;line-height:1.55;color:var(--dsw-alias-label-secondary,#61666b);overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}\n@container (max-width:460px){\n.arbor-page .arbor-node{min-width:90px;max-width:130px;padding:8px 9px}\n.arbor-page .arbor-connector{width:28px}\n}\n@container (max-width:360px){\n.arbor-page .arbor-node{min-width:76px;max-width:120px;padding:7px 8px}\n.arbor-page .arbor-connector{width:20px}\n.arbor-page .arbor-node-ref{font-size:13px;line-height:17px}\n.arbor-page .arbor-node-handoff{font-size:8px;padding:0 4px}\n}\n@container (max-width:260px){\n.arbor-page .arbor-node{min-width:70px;max-width:100px;padding:6px 7px}\n.arbor-page .arbor-connector{width:16px}\n.arbor-page .arbor-node-handoff{display:none}\n}\n@keyframes arbor-pulse{0%,100%{opacity:.45;transform:scale(.86)}50%{opacity:1;transform:scale(1)}}\n@media (prefers-reduced-motion: reduce){\n.arbor-page .arbor-sky-cell{transform:none!important;transition:none!important}\n.arbor-page .arbor-sky-cell>.arbor-card{transition:none!important}\n}\n@media (max-width:620px){\n.arbor-page{padding:18px 14px 24px;padding-bottom:var(--arbor-dock-reserve,24px)}\n.arbor-page .arbor-hero-title{font-size:23px}\n.arbor-page .arbor-hero-hint{font-size:12px}\n.arbor-page .arbor-dock{max-width:100%}\n.arbor-page .arbor-pill{padding:0 10px}\n}\n@media (prefers-reduced-motion:reduce){.arbor-page .arbor-pulse.is-live{animation:none}}";
|
|
14
|
+
/** Put the page's stylesheet in the page, replacing an earlier copy. */
|
|
15
|
+
export declare function installStyles(): () => void;
|