@songsid/agend 2.4.0-beta.20 → 2.4.0-beta.22
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/agent-cli-instructions.md +1 -1
- package/dist/backend/claude-carry.d.ts +11 -0
- package/dist/backend/claude-carry.js +88 -6
- package/dist/backend/claude-carry.js.map +1 -1
- package/dist/backend/claude-code.js +3 -0
- package/dist/backend/claude-code.js.map +1 -1
- package/dist/build-provenance.json +1 -1
- package/dist/cache-ledger.d.ts +23 -21
- package/dist/cache-ledger.js +70 -6
- package/dist/cache-ledger.js.map +1 -1
- package/dist/cache-prices.d.ts +8 -6
- package/dist/cache-prices.js +12 -5
- package/dist/cache-prices.js.map +1 -1
- package/dist/cache-service.d.ts +9 -5
- package/dist/cache-service.js +202 -50
- package/dist/cache-service.js.map +1 -1
- package/dist/channel/mcp-tools.js +6 -4
- package/dist/channel/mcp-tools.js.map +1 -1
- package/dist/cli-audited.js +2 -1
- package/dist/cli-audited.js.map +1 -1
- package/dist/cli.js +4 -1
- package/dist/cli.js.map +1 -1
- package/dist/contact-auth-policy.js +1 -1
- package/dist/contact-auth-policy.js.map +1 -1
- package/dist/contact-auth-service.js +8 -2
- package/dist/contact-auth-service.js.map +1 -1
- package/dist/contact-auth-store.d.ts +3 -0
- package/dist/contact-auth-store.js +34 -8
- package/dist/contact-auth-store.js.map +1 -1
- package/dist/contact-auth-types.d.ts +3 -2
- package/dist/contact-auth-types.js.map +1 -1
- package/dist/contact-change-proposals.d.ts +47 -0
- package/dist/contact-change-proposals.js +132 -0
- package/dist/contact-change-proposals.js.map +1 -0
- package/dist/daemon.d.ts +31 -0
- package/dist/daemon.js +149 -2
- package/dist/daemon.js.map +1 -1
- package/dist/delivery-outbox.d.ts +10 -0
- package/dist/delivery-outbox.js +21 -0
- package/dist/delivery-outbox.js.map +1 -1
- package/dist/fleet-manager.d.ts +65 -1
- package/dist/fleet-manager.js +338 -20
- package/dist/fleet-manager.js.map +1 -1
- package/dist/general-knowledge/skills/concepts/SKILL.md +2 -1
- package/dist/general-knowledge/skills/hub/SKILL.md +45 -5
- package/dist/general-knowledge/skills/task-board/SKILL.md +4 -0
- package/dist/general-knowledge/skills/web-appearance/SKILL.md +1 -1
- package/dist/general-knowledge/skills/web-dashboard/SKILL.md +16 -6
- package/dist/hub/agent-pictures-model.d.ts +275 -0
- package/dist/hub/agent-pictures-model.js +103 -0
- package/dist/hub/agent-pictures-model.js.map +1 -0
- package/dist/hub/agent-pictures.d.ts +64 -0
- package/dist/hub/agent-pictures.js +255 -0
- package/dist/hub/agent-pictures.js.map +1 -0
- package/dist/hub/client.d.ts +4 -0
- package/dist/hub/client.js +23 -2
- package/dist/hub/client.js.map +1 -1
- package/dist/hub/compose/member.d.ts +14 -3
- package/dist/hub/compose/member.js +46 -10
- package/dist/hub/compose/member.js.map +1 -1
- package/dist/hub/compose/server.d.ts +6 -5
- package/dist/hub/compose/server.js +7 -3
- package/dist/hub/compose/server.js.map +1 -1
- package/dist/hub/direct-posts-model.d.ts +1 -0
- package/dist/hub/direct-posts-model.js +2 -0
- package/dist/hub/direct-posts-model.js.map +1 -0
- package/dist/hub/direct-posts.d.ts +36 -0
- package/dist/hub/direct-posts.js +145 -0
- package/dist/hub/direct-posts.js.map +1 -0
- package/dist/hub/http/compose.d.ts +5 -0
- package/dist/hub/http/compose.js +158 -20
- package/dist/hub/http/compose.js.map +1 -1
- package/dist/hub/http/core.d.ts +9 -1
- package/dist/hub/http/core.js +21 -1
- package/dist/hub/http/core.js.map +1 -1
- package/dist/hub/http/deps.d.ts +1 -0
- package/dist/hub/http/schema.js +7 -0
- package/dist/hub/http/schema.js.map +1 -1
- package/dist/hub/init/text.js +1 -1
- package/dist/hub/join/service.d.ts +2 -0
- package/dist/hub/join/service.js +7 -3
- package/dist/hub/join/service.js.map +1 -1
- package/dist/hub/member/agent-pictures.d.ts +76 -0
- package/dist/hub/member/agent-pictures.js +196 -0
- package/dist/hub/member/agent-pictures.js.map +1 -0
- package/dist/hub/member/direct-rooms.d.ts +9 -0
- package/dist/hub/member/direct-rooms.js +14 -0
- package/dist/hub/member/direct-rooms.js.map +1 -0
- package/dist/hub/member/room-ask.d.ts +22 -1
- package/dist/hub/member/room-ask.js +99 -5
- package/dist/hub/member/room-ask.js.map +1 -1
- package/dist/hub/member/room-asker-store.d.ts +48 -0
- package/dist/hub/member/room-asker-store.js +181 -0
- package/dist/hub/member/room-asker-store.js.map +1 -0
- package/dist/hub/member/room-post.d.ts +11 -10
- package/dist/hub/member/room-post.js +51 -7
- package/dist/hub/member/room-post.js.map +1 -1
- package/dist/hub/policy.d.ts +11 -2
- package/dist/hub/policy.js +60 -7
- package/dist/hub/policy.js.map +1 -1
- package/dist/hub/protocol.d.ts +254 -1
- package/dist/hub/protocol.js +20 -8
- package/dist/hub/protocol.js.map +1 -1
- package/dist/hub/representative.d.ts +38 -0
- package/dist/hub/representative.js +140 -12
- package/dist/hub/representative.js.map +1 -1
- package/dist/hub/room-asker-identity-model.d.ts +53 -0
- package/dist/hub/room-asker-identity-model.js +14 -0
- package/dist/hub/room-asker-identity-model.js.map +1 -0
- package/dist/hub/room-asker-identity.d.ts +22 -0
- package/dist/hub/room-asker-identity.js +43 -0
- package/dist/hub/room-asker-identity.js.map +1 -0
- package/dist/hub/rooms/agents.d.ts +2 -0
- package/dist/hub/rooms/agents.js +30 -3
- package/dist/hub/rooms/agents.js.map +1 -1
- package/dist/hub/rooms/asker-identity.d.ts +21 -0
- package/dist/hub/rooms/asker-identity.js +86 -0
- package/dist/hub/rooms/asker-identity.js.map +1 -0
- package/dist/hub/rooms/direct-view.d.ts +3 -2
- package/dist/hub/rooms/direct-view.js +23 -8
- package/dist/hub/rooms/direct-view.js.map +1 -1
- package/dist/hub/rooms/office.d.ts +27 -0
- package/dist/hub/rooms/office.js +12 -2
- package/dist/hub/rooms/office.js.map +1 -1
- package/dist/hub/rooms/service.d.ts +38 -1
- package/dist/hub/rooms/service.js +56 -3
- package/dist/hub/rooms/service.js.map +1 -1
- package/dist/hub/rooms/types.d.ts +5 -2
- package/dist/hub/rooms.d.ts +9 -0
- package/dist/hub/rooms.js +97 -26
- package/dist/hub/rooms.js.map +1 -1
- package/dist/hub/runtime.d.ts +1 -1
- package/dist/hub/server.js +24 -2
- package/dist/hub/server.js.map +1 -1
- package/dist/hub/session-directory-transition.d.ts +1 -0
- package/dist/hub/session-directory-transition.js +15 -9
- package/dist/hub/session-directory-transition.js.map +1 -1
- package/dist/hub/session-limits.d.ts +58 -0
- package/dist/hub/session-limits.js +121 -0
- package/dist/hub/session-limits.js.map +1 -0
- package/dist/hub/sessions.d.ts +1 -1
- package/dist/hub/sessions.js +13 -7
- package/dist/hub/sessions.js.map +1 -1
- package/dist/hub/settings-directory-decision.js +1 -1
- package/dist/hub/settings-directory-decision.js.map +1 -1
- package/dist/hub/types.d.ts +9 -2
- package/dist/hub-character-plan.d.ts +47 -0
- package/dist/hub-character-plan.js +70 -0
- package/dist/hub-character-plan.js.map +1 -0
- package/dist/hub-contact-windows.d.ts +13 -1
- package/dist/hub-contact-windows.js +35 -2
- package/dist/hub-contact-windows.js.map +1 -1
- package/dist/hub-picture-reduce.d.ts +34 -0
- package/dist/hub-picture-reduce.js +101 -0
- package/dist/hub-picture-reduce.js.map +1 -0
- package/dist/hub-picture-worker.d.ts +1 -0
- package/dist/hub-picture-worker.js +19 -0
- package/dist/hub-picture-worker.js.map +1 -0
- package/dist/hub-report-target.d.ts +6 -0
- package/dist/hub-report-target.js +6 -0
- package/dist/hub-report-target.js.map +1 -1
- package/dist/locale.js +357 -265
- package/dist/locale.js.map +1 -1
- package/dist/ls-rows.d.ts +2 -0
- package/dist/ls-rows.js.map +1 -1
- package/dist/needs-you.d.ts +6 -0
- package/dist/needs-you.js +3 -1
- package/dist/needs-you.js.map +1 -1
- package/dist/outbound-handlers.d.ts +8 -0
- package/dist/outbound-handlers.js +53 -6
- package/dist/outbound-handlers.js.map +1 -1
- package/dist/outbound-schemas.d.ts +2 -0
- package/dist/outbound-schemas.js +6 -4
- package/dist/outbound-schemas.js.map +1 -1
- package/dist/runtime-cli-install.js +4 -4
- package/dist/runtime-cli-install.js.map +1 -1
- package/dist/task-board-tool.d.ts +17 -0
- package/dist/task-board-tool.js +58 -6
- package/dist/task-board-tool.js.map +1 -1
- package/dist/tips.js +3 -3
- package/dist/tool-permissions.js +2 -2
- package/dist/tool-permissions.js.map +1 -1
- package/dist/ui/agent-export-strings.js +1 -1
- package/dist/ui/agent-page-strings.js +5 -5
- package/dist/ui/contact-auth-client.js +2 -2
- package/dist/ui/contact-tool-groups.js +1 -1
- package/dist/ui/fleet-cache.js +5 -5
- package/dist/ui/fleet-canvas.js +3 -2
- package/dist/ui/fleet-office-card.js +46 -7
- package/dist/ui/fleet-office-dialogue.d.ts +6 -3
- package/dist/ui/fleet-office-dialogue.js +13 -3
- package/dist/ui/fleet-office-layout.js +15 -15
- package/dist/ui/fleet-office-model.js +3 -2
- package/dist/ui/fleet-office-overview.js +1 -1
- package/dist/ui/fleet-office-pack.d.ts +17 -7
- package/dist/ui/fleet-office-pack.js +106 -38
- package/dist/ui/fleet-office-play.js +11 -4
- package/dist/ui/fleet-office-skin.js +41 -11
- package/dist/ui/fleet-office-store.js +10 -1
- package/dist/ui/fleet-office-talk.js +423 -0
- package/dist/ui/fleet-office-view.js +58 -17
- package/dist/ui/fleet-office-zones.js +20 -12
- package/dist/ui/fleet-office.js +250 -65
- package/dist/ui/fleet-org.js +3 -3
- package/dist/ui/fleet-task-common.js +3 -3
- package/dist/ui/fleet-task-sort.js +88 -0
- package/dist/ui/fleet-task-view.js +38 -9
- package/dist/ui/fleet-tasks.js +47 -15
- package/dist/ui/fleet-usage.js +6 -6
- package/dist/ui/hub-admin-overview.js +1 -1
- package/dist/ui/hub-chat-store.js +4 -3
- package/dist/ui/hub-chat-strings.js +3 -1
- package/dist/ui/hub-client.js +3 -0
- package/dist/ui/hub-my-agents-strings.js +2 -2
- package/dist/ui/hub-my-agents.js +3 -0
- package/dist/ui/hub-room-composer.js +24 -4
- package/dist/ui/hub-room-members.js +7 -3
- package/dist/ui/hub-room-office.js +71 -2
- package/dist/ui/hub-room-presence.js +14 -0
- package/dist/ui/hub-room-strings.js +18 -2
- package/dist/ui/hub-room-thread.js +82 -13
- package/dist/ui/hub-room-working.js +37 -0
- package/dist/ui/hub-session-limits.js +79 -0
- package/dist/ui/panel-fleet.js +5 -5
- package/dist/ui/panel-hub.js +41 -6
- package/dist/ui/panel-log.js +3 -3
- package/dist/ui/panel-needs.js +28 -2
- package/dist/ui/panel-runtimes.js +2 -2
- package/dist/ui/runtime-cli-install.js +1 -1
- package/dist/ui/runtime-update-status.js +1 -1
- package/dist/ui/settings-access-strings.js +1 -1
- package/dist/ui/settings-hub-setup-strings.js +1 -1
- package/dist/ui/settings-layout.js +2 -2
- package/dist/ui/settings-named-test.js +16 -16
- package/dist/ui/settings-public-session-strings.js +2 -2
- package/dist/ui/settings-revoke-strings.js +1 -1
- package/dist/ui/settings-shared-strings.js +2 -2
- package/dist/ui/settings-strings.js +40 -40
- package/dist/ui/shared/app-shell.js +1 -1
- package/dist/ui/shared/app.css +106 -6
- package/dist/ui/shared/chat-strings.js +9 -9
- package/dist/ui/shared/hub-owner.css +5 -0
- package/dist/ui/shared/hub-rooms-u2.css +3 -0
- package/dist/ui/shared/instance-nav.js +36 -2
- package/dist/ui/shared/office-dialogue.css +110 -0
- package/dist/ui/shared/task-board.css +103 -7
- package/dist/ui/shared/view-strings.js +27 -9
- package/dist/web-api.d.ts +5 -0
- package/dist/web-api.js +29 -0
- package/dist/web-api.js.map +1 -1
- package/dist/web-office-skins.d.ts +8 -2
- package/dist/web-office-skins.js +33 -14
- package/dist/web-office-skins.js.map +1 -1
- package/dist/web-office-store.js +5 -3
- package/dist/web-office-store.js.map +1 -1
- package/package.json +1 -1
|
@@ -694,7 +694,7 @@ register("settings", {
|
|
|
694
694
|
se_primaryServer: "主伺服器",
|
|
695
695
|
se_externalEmojiHint: "使用其他伺服器的 emoji,bot 在要加反應的頻道需有「使用外部表情符號」權限。",
|
|
696
696
|
se_unavailable: "無法使用",
|
|
697
|
-
se_hint: "留空即使用預設值。預覽由 AgEnD 依 bot
|
|
697
|
+
se_hint: "留空即使用預設值。預覽由 AgEnD 依 bot 實際加上表情反應的方式解析。進度前綴不是反應,而是進度訊息開頭的 emoji。",
|
|
698
698
|
noticeTopic: "頻道", noticeOff: "關閉",
|
|
699
699
|
webNotifyLogin: "網頁登入通知",
|
|
700
700
|
webNotifyLoginHint: "發在頻道。關閉只停用管理員登入通知;訪客與公開連結安全通知仍會發出。預設:頻道。",
|
|
@@ -709,17 +709,17 @@ register("settings", {
|
|
|
709
709
|
publicTtl: "公開連結分鐘數(1–480)",
|
|
710
710
|
publicTtlNamed: "公開連結分鐘數(0–10080;0 = 不到期)",
|
|
711
711
|
publicTtlNamedHint: "設定固定網域時,連結最長可開 7 天(10080 分鐘);設 0 則不會到期,直到關閉或 AgEnD 停止。每次登入仍需裝置登入碼。修改後的期限從下次開啟起生效;要結束目前的連結,請按「關閉」。",
|
|
712
|
-
publicTtlQuickRange: "
|
|
712
|
+
publicTtlQuickRange: "臨時通道只能設 1–480 分鐘。請調低,或設定固定網域以使用更長時間。",
|
|
713
713
|
publicTtlNamedRange: "設定固定網域時:請輸入 1 到 10080 的整數,或 0 代表不到期。",
|
|
714
714
|
publicAutoOpen: "AgEnD 啟動時重新開啟公開連結",
|
|
715
715
|
publicAutoOpenHint: "僅限固定網域。重新啟動後,會替上次用 /web 開啟連結的管理員重新開啟;不會發任何訊息。登入仍需裝置登入碼(用 /web 取得,或由曾登入過的瀏覽器在登入頁索取)。按「關閉」或 /web revoke 後,直到下次 /web 前都不會自動開啟。",
|
|
716
716
|
publicAutoOpenNeedsHostname: "需要固定網域——請取消勾選,或保留網域。",
|
|
717
|
-
publicProtocol: "
|
|
717
|
+
publicProtocol: "通道協定",
|
|
718
718
|
namedHostname: "固定公開網域(選用)",
|
|
719
|
-
namedOriginPort: "
|
|
719
|
+
namedOriginPort: "固定通道本機連接埠",
|
|
720
720
|
namedHostnameInvalid: "請輸入 DNS 網域名稱或 HTTPS 根網址。",
|
|
721
721
|
namedPortInvalid: "請使用 1024 到 65535 的整數連接埠。",
|
|
722
|
-
namedTunnelHint: "
|
|
722
|
+
namedTunnelHint: "網域留空時使用臨時通道。固定通道的路由需指向此本機連接埠;仍須開啟連結,並遵守到期及登入規則。",
|
|
723
723
|
namedTunnelSetup: "設定教學",
|
|
724
724
|
namedToken: "Cloudflare 連接器 token",
|
|
725
725
|
namedTokenHint: "私密儲存,不會讀回。儲存時只檢查格式,開啟時才確認憑證與路由。設定或清除會關閉目前的公開連結。",
|
|
@@ -735,12 +735,12 @@ register("settings", {
|
|
|
735
735
|
levelTitlesHint: "Fleet 自己的等級頭銜,以 JSON 填寫:\"titles\"(最多 32 個,各自從某個等級起算:{ \"from\": 0–100000, \"name\": 1–24 個字 })與 \"fixed\"(固定給某個 Agent 或 NPC 的頭銜;\"hideLevel\" 會隱藏它的等級)。格式與規則和外觀包的 \"levels\" 相同。每間辦公室都會使用;用外觀包畫的辦公室以外觀包自己的頭銜為準,固定頭銜則逐個名字以外觀包的為準。留空:使用儀表板內建的頭銜。儲存後立即對所有人生效。",
|
|
736
736
|
levelTitlesSave: "儲存頭銜", levelTitlesClear: "清除", levelTitlesExample: "插入範例",
|
|
737
737
|
levelTitlesNotJson: "不是有效的 JSON。", levelTitlesSaved: "已儲存等級頭銜。", levelTitlesCleared: "已清除等級頭銜。",
|
|
738
|
-
levelTitlesFailed: "無法儲存等級頭銜。", levelTitlesAdminOnly: "
|
|
738
|
+
levelTitlesFailed: "無法儲存等級頭銜。", levelTitlesAdminOnly: "只有直接開啟儀表板的管理員工作階段可以變更。",
|
|
739
739
|
webPreviewCdn: "HTML 預覽可從 cdnjs / jsDelivr 載入函式庫",
|
|
740
740
|
webPreviewCdnHint: "頁面的指令碼可以從 cdnjs(/ajax/libs/)和 jsDelivr(/npm/)載入函式庫;這些請求會離開這台電腦,CDN 會看到它們,頁面也可能藉此把資料傳出去。只限指令碼、樣式與字型——預覽仍然無法擷取或送出任何資料。預設關閉;之後開始的預覽才會套用,公開連結也一樣。",
|
|
741
741
|
webUsagePublic: "透過公開連結提供用量報告", webUsagePublicHint: "Fleet → 用量(最多 400 天、每個 agent 的 token、請求、訊息與依牌價換算的 API 等值)也會透過公開連結(臨時或固定網址)提供給管理員。預設開啟;訪客一律看不到。變更立即生效。",
|
|
742
|
-
webLogThinking: "
|
|
743
|
-
webLogTab: "紀錄分頁:每個 agent 的步驟", webLogTabHint: "在每個 Agent 的「紀錄」分頁顯示提示、回覆、工具呼叫與結果,以及 fleet 事件;只在分頁開著時從它自己的對話紀錄讀取。機密值會遮蔽。公開連結也看得到。開啟需 fleet
|
|
742
|
+
webLogThinking: "顯示思考(僅管理員,預設關閉)", webLogThinkingHint: "把模型的思考加進 Agent 聊天裡的活動區塊(區塊本身依各 Agent 的工具進度設定決定)與紀錄分頁。Claude Code:開啟後 AgEnD 也會請它寫出思考摘要,從該 Agent 下次啟動起生效,並可能改變每一輪的花費。只有在這個儀表板登入的管理員才會收到——公開連結和訪客一律不會。思考可能包含人不會直接說出口的內容;機密值仍會遮蔽。關閉時不會動 Claude 的設定。",
|
|
743
|
+
webLogTab: "紀錄分頁:每個 agent 的步驟", webLogTabHint: "在每個 Agent 的「紀錄」分頁顯示提示、回覆、工具呼叫與結果,以及 fleet 事件;只在分頁開著時從它自己的對話紀錄讀取。機密值會遮蔽。公開連結也看得到。開啟需 fleet 管理員確認。",
|
|
744
744
|
general: "一般設定",
|
|
745
745
|
advanced: "進階",
|
|
746
746
|
new: "新增",
|
|
@@ -759,14 +759,14 @@ register("settings", {
|
|
|
759
759
|
description: "描述",
|
|
760
760
|
systemPrompt: "System prompt",
|
|
761
761
|
tags: "標籤",
|
|
762
|
-
generalTopicField: "General
|
|
762
|
+
generalTopicField: "General 主題(fleet 分派器)",
|
|
763
763
|
oneGeneral: "{0} 已經是 General,請先取消勾選它。",
|
|
764
764
|
autoPause: "閒置後自動暫停",
|
|
765
765
|
minutes: "分鐘",
|
|
766
766
|
inheritDefault: "沿用全域預設值",
|
|
767
767
|
defaultMark: "預設", inEffect: "目前生效:{0}", inheritedValue: "沿用:{0}",
|
|
768
768
|
changeInClassic: "到 ClassicBot 預設值變更",
|
|
769
|
-
cappedBySession: "
|
|
769
|
+
cappedBySession: "受工作階段時長限制", hoursValue: "{0} 小時", minutesValue: "{0} 分鐘", valueOn: "開", valueOff: "關", valueNone: "無",
|
|
770
770
|
concurrencyAuto: "自動,依可用記憶體與 CPU 核心數取 2–10", inEffectShort: "實際:{0}", cappedByTotal: "受 upload_max_total_mb 限制",
|
|
771
771
|
backendSection: "後端",
|
|
772
772
|
advancedSection: "進階",
|
|
@@ -787,7 +787,7 @@ register("settings", {
|
|
|
787
787
|
dashboardOn: "允許",
|
|
788
788
|
dashboardOff: "關閉",
|
|
789
789
|
dashboardDefaultsHint: "每個 Agent 預設能在網頁儀表板上用哪些功能;個別 Agent 可以在「Agent」裡它的對話框另外設定。取消勾選立即生效;勾選要先確認。",
|
|
790
|
-
replyGuardSupported: "Claude Code、Codex、Muse 與 Kiro
|
|
790
|
+
replyGuardSupported: "Claude Code、Codex、Muse 與 Kiro 舊版/TUI 的 MCP 模式可用。",
|
|
791
791
|
replyGuardUnsupported: "設定會保留,但不會生效:{0} 的 {1} 模式不支援回覆遺失補救。",
|
|
792
792
|
logLevel: "Log 等級",
|
|
793
793
|
concurrency: "啟動併發數",
|
|
@@ -833,7 +833,7 @@ register("settings", {
|
|
|
833
833
|
failed: "失敗",
|
|
834
834
|
actionFailed: "{0}失敗",
|
|
835
835
|
noAgentMatch: "沒有符合「{0}」的 Agent。",
|
|
836
|
-
deleteAgent: "確定刪除 Agent「{0}
|
|
836
|
+
deleteAgent: "確定刪除 Agent「{0}」及它的聊天主題(在 Discord 上是它的頻道與訊息記錄)嗎?只有在確認套用待處理變更後才會生效。",
|
|
837
837
|
nameRequired: "必須填寫名稱",
|
|
838
838
|
tokenEnvRequired: "必須填寫 token 環境變數",
|
|
839
839
|
removeBot: "確定移除機器人「{0}」嗎?(.env 中的 token 會保留)",
|
|
@@ -862,12 +862,12 @@ register("settings", {
|
|
|
862
862
|
wizardAgentPick: "Agent",
|
|
863
863
|
wizardAgentExistingNote: "它的目錄、後端和設定都不變;只有聊天連線改成這個機器人(如果它目前已有連線,會移到這裡)。",
|
|
864
864
|
wizardAgentNewName: "新 agent 名稱",
|
|
865
|
-
wizardTopicNotCarried: "
|
|
866
|
-
wizardTopicGeneral: "它是 General
|
|
865
|
+
wizardTopicNotCarried: "它的主題({0})屬於舊連線的聊天室,不會帶過去:在新的聊天室裡,綁定新的主題之前它沒有主題。",
|
|
866
|
+
wizardTopicGeneral: "它是 General Agent:在新的聊天室裡會改用那裡的 General 主題。",
|
|
867
867
|
wizardNeedDir: "工作目錄必須是絕對路徑,或留空。",
|
|
868
868
|
wizardDir: "工作目錄(選填)",
|
|
869
869
|
wizardDirDefault: "留空的話,agent 會有自己的資料夾 {0},由 AgEnD 建立。若要填寫,必須是絕對路徑。",
|
|
870
|
-
wizardDirDefaultName: "留空的話,
|
|
870
|
+
wizardDirDefaultName: "留空的話,Agent 會在 AgEnD 的 `workspaces` 裡有自己的資料夾,由 AgEnD 建立。若要填寫,必須是絕對路徑。",
|
|
871
871
|
wizardTelegramHint: "用 @BotFather 建立 bot,然後把它加進一個群組。",
|
|
872
872
|
wizardDiscordHint: "在 Discord 開發者後台建立應用程式,並把 bot 邀請到你的伺服器。",
|
|
873
873
|
wizardToken: "Bot token",
|
|
@@ -923,7 +923,7 @@ register("settings", {
|
|
|
923
923
|
reviewChanges: "檢查變更",
|
|
924
924
|
backendUnavailable: "{0}(已移除,請選擇其他後端)",
|
|
925
925
|
backendNotInstalled: "未安裝", backendNotSignedIn: "未登入(請用 /login)", backendTooOld: "需要 {0} 以上版本", backendUnchecked: "尚未檢查",
|
|
926
|
-
modelGroupCommon: "常用", modelGroupMore: "更多模型", modelGroupOneMillion: "1M
|
|
926
|
+
modelGroupCommon: "常用", modelGroupMore: "更多模型", modelGroupOneMillion: "1M 上下文(需訂閱/方案支援)", modelGroupUnverified: "尚未確認此帳號可用",
|
|
927
927
|
modelNotListed: "目前使用中 — 不在這個 CLI 的清單裡", modelOther: "其他…", modelOtherLabel: "模型名稱", modelOtherPlaceholder: "這個 CLI 接受的模型名稱",
|
|
928
928
|
modelNone: "— 無 —", inheritValue: "沿用({0})", modelCliDefault: "CLI 自己的預設",
|
|
929
929
|
modelCatalogLoading: "正在載入這個 CLI 的模型…", modelCatalogFailed: "模型清單載入失敗,可先使用預設或輸入模型名稱。",
|
|
@@ -933,8 +933,8 @@ register("settings", {
|
|
|
933
933
|
modelCatalogRetry: "重試", modelCatalogRefresh: "更新模型",
|
|
934
934
|
readyApply: "可套用變更",
|
|
935
935
|
copied: "已複製",
|
|
936
|
-
expectedMapping: "
|
|
937
|
-
configLoadFailed: "載入設定失敗 —
|
|
936
|
+
expectedMapping: "預期為對應表",
|
|
937
|
+
configLoadFailed: "載入設定失敗 — 請重新開啟設定連結。",
|
|
938
938
|
confirmOpenAccess: "Open 模式會允許此頻道中的所有人操作 bot,確定要繼續嗎?",
|
|
939
939
|
confirmLockedEmpty: "Locked 模式目前沒有允許的使用者,可能導致沒有人能管理 bot,確定要繼續嗎?",
|
|
940
940
|
accessLockedEmpty: "Locked 模式沒有允許的使用者;建議至少加入一位管理員,避免無法操作。",
|
|
@@ -1115,13 +1115,13 @@ register("settings", {
|
|
|
1115
1115
|
appIconLow: "小於 512\u00a0px:會被放大,可能不夠清晰。",
|
|
1116
1116
|
appIconNotAnImage: "無法把這個檔案讀成圖片。",
|
|
1117
1117
|
appIconLoadFailed: "讀不到 App 圖示的設定。",
|
|
1118
|
-
appIconReadOnly: "
|
|
1118
|
+
appIconReadOnly: "只有管理員的工作階段能更換。",
|
|
1119
1119
|
appIconWho: "能打開這個網址的人都看得到:請別用私人照片。",
|
|
1120
1120
|
appIconIos: "iPhone 主畫面要刪掉捷徑重新加入才會換。",
|
|
1121
1121
|
appIconError_app_icon_too_large: "圖片太大({0})。",
|
|
1122
1122
|
appIconError_app_icon_not_png: "主機只接受 PNG({0})。",
|
|
1123
1123
|
appIconError_app_icon_unreadable: "這張圖無法使用:{0}。",
|
|
1124
|
-
appIconError_app_icon_admin_only: "
|
|
1124
|
+
appIconError_app_icon_admin_only: "只有管理員的工作階段能更換 App 圖示。",
|
|
1125
1125
|
appIconError_app_icon_needs_a_signed_in_person: "請先登入再更換 App 圖示。",
|
|
1126
1126
|
appIconError_app_icon_busy: "另一張圖示正在處理中,請稍後再試。",
|
|
1127
1127
|
appIconError_app_icon_superseded: "圖示剛被恢復成預設,請重新選擇圖片。",
|
|
@@ -1179,34 +1179,34 @@ register("settings", {
|
|
|
1179
1179
|
cssError_owner_css_read_only: "這個登入只能檢視、不能變更自訂 CSS。",
|
|
1180
1180
|
cssError_owner_css_needs_a_signed_in_person: "請在瀏覽器登入後再變更自訂 CSS。",
|
|
1181
1181
|
cssError_other: "未儲存({0})。",
|
|
1182
|
-
webLead: "
|
|
1182
|
+
webLead: "網頁儀表板的行為。放寬存取的變更(延長工作階段、重新開啟或延長瀏覽器終端機、公開連結)需要 fleet 管理員確認:在 Telegram 或 Discord 的 General,或在儀表板上卡片提供確認的地方;收緊的變更會立即套用。",
|
|
1183
1183
|
webPublicRefused: "無法透過公開連結變更網頁設定。請從儀表板本身的網址開啟後再變更。",
|
|
1184
|
-
webSessionTitle: "
|
|
1185
|
-
sessionAbsolute: "
|
|
1184
|
+
webSessionTitle: "登入工作階段",
|
|
1185
|
+
sessionAbsolute: "工作階段時長,小時(1–720)",
|
|
1186
1186
|
sessionIdle: "閒置多久後登出,小時(1–720)",
|
|
1187
1187
|
sessionRange: "必須是 1 到 720 之間的小時數",
|
|
1188
|
-
sessionIdleOver: "
|
|
1188
|
+
sessionIdleOver: "不能超過工作階段時長",
|
|
1189
1189
|
webTerminalTitle: "瀏覽器終端機",
|
|
1190
1190
|
webTerminalHint: "/login 用來登入 CLI 的 token 保護終端機。關閉時 /login 會拒絕。下一次 /login 起生效。",
|
|
1191
1191
|
webTerminalEnabled: "允許瀏覽器終端機",
|
|
1192
|
-
webTerminalTtl: "
|
|
1192
|
+
webTerminalTtl: "終端機工作階段分鐘數(1–20)",
|
|
1193
1193
|
webTerminalTtlRange: "必須是 1 到 20 之間的整數",
|
|
1194
1194
|
webReadOnlyTitle: "在 fleet.yaml 設定",
|
|
1195
1195
|
guestsTitle: "訪客", guestsReview: "檢視訪客變更",
|
|
1196
1196
|
guestSessionTitle: "訪客登入時長", guestSessionAbsolute: "最長登入,小時(1–720)", guestSessionIdle: "閒置多久自動登出,分鐘(15–43200,即 720 小時)",
|
|
1197
1197
|
guestSessionAbsoluteRange: "請輸入 1 到 720 小時,或留空使用預設(12 小時)。", guestSessionIdleRange: "請輸入 15 到 43200 分鐘,或留空使用預設(120 分鐘)。",
|
|
1198
1198
|
guestSessionIdleOver: "閒置時間不能比登入時長更長。",
|
|
1199
|
-
guestSessionNote: "每個訪客的登入會在下次檢查時套用這些設定,且不會比管理員在這台電腦上的登入更長。改長要等 fleet 管理員確認,改短立即生效。透過公開連結登入的訪客,也會受連結本身的限制(臨時連結最多 8 小時、閒置 30
|
|
1199
|
+
guestSessionNote: "每個訪客的登入會在下次檢查時套用這些設定,且不會比管理員在這台電腦上的登入更長。改長要等 fleet 管理員確認,改短立即生效。透過公開連結登入的訪客,也會受連結本身的限制(臨時連結最多 8 小時、閒置 30 分鐘;固定連結依「登入」裡的公開連結工作階段設定),連結關閉時也會一起結束。",
|
|
1200
1200
|
guestsHint: "不是管理員的人可以用訪客身分登入網頁:在他本來就能聊天的地方傳 /web,就會私下收到裝置登入碼。訪客只會看到在聊天中本來就能用的 agent,他的訊息僅供辨識。",
|
|
1201
|
-
guestsEnabled: "訪客登入", guestsEnabledHint: "
|
|
1201
|
+
guestsEnabled: "訪客登入", guestsEnabledHint: "關閉:沒有人能以訪客登入,所有訪客工作階段都會結束。開啟需 fleet 管理員確認。",
|
|
1202
1202
|
guestsChat: "訪客可以聊天", guestsChatHint: "關閉:訪客可以讀他的 agent 的聊天,但不能送訊息、附加檔案、按回覆的按鈕或按取消。",
|
|
1203
|
-
guestsOpenFor: "{0}({1})訪客可用的 agent", guestsOpenHint: "這個連線對所有人開放,沒有人員名單:它的訪客只能用你在這裡勾選的
|
|
1203
|
+
guestsOpenFor: "{0}({1})訪客可用的 agent", guestsOpenHint: "這個連線對所有人開放,沒有人員名單:它的訪客只能用你在這裡勾選的 Agent(預設沒有)。新增 Agent 需 fleet 管理員確認。",
|
|
1204
1204
|
guestsList: "訪客帳號", guestsNone: "還沒有訪客登入過。", guestsLoadFailed: "無法載入訪客清單。",
|
|
1205
|
-
guestFacts: "
|
|
1205
|
+
guestFacts: "Agent:{0} · 工作階段:{1} · 記住的瀏覽器:{2}", guestLastActive: "最後使用 {0}", guestNotSignedIn: "目前未登入",
|
|
1206
1206
|
guestNotNarrowed: "可用他在聊天中能用的所有 agent。", guestNarrowedTo: "已縮小為:{0}", guestNothing: "無",
|
|
1207
|
-
guestNarrow: "縮小範圍", guestNotReachable: "(已無法使用)", guestReachesNothing: "這個帳號目前在聊天中沒有能用的 agent,沒有可以縮小的範圍。", guestNarrowLift: "取消縮小", guestNarrowHint: "勾選這位訪客仍可使用的
|
|
1208
|
-
guestSignOut: "登出", guestSignOutTitle: "登出這位訪客?", guestSignOutConfirm: "{0}
|
|
1209
|
-
guestSignedOut: "已登出 {0}。", guestSignedOutNotDurable: "已暫時登出 {0}
|
|
1207
|
+
guestNarrow: "縮小範圍", guestNotReachable: "(已無法使用)", guestReachesNothing: "這個帳號目前在聊天中沒有能用的 agent,沒有可以縮小的範圍。", guestNarrowLift: "取消縮小", guestNarrowHint: "勾選這位訪客仍可使用的 Agent。縮小只會拿走權限(立即生效);放寬或取消縮小需 fleet 管理員確認。",
|
|
1208
|
+
guestSignOut: "登出", guestSignOutTitle: "登出這位訪客?", guestSignOutConfirm: "{0} 的訪客工作階段會立即結束,裝置登入碼失效,記住的瀏覽器也會被忘記。訪客登入開啟期間,他可以再傳 /web 登入。",
|
|
1209
|
+
guestSignedOut: "已登出 {0}。", guestSignedOutNotDurable: "已暫時登出 {0},但無法保存:重新啟動後他的工作階段可能會恢復。", guestSignOutFailed: "沒有成功,請再試一次。",
|
|
1210
1210
|
grantsHint: "選擇誰可以用訪客身分登入,以及每個人可以看到哪些 agent。訪客看到的是頻道上原本顯示的對話(包含頻道裡其他人的訊息),看不到只在網頁上的訊息。新增授權需 fleet 管理員在 General 同意;收回立即生效。",
|
|
1211
1211
|
grantsLegacy: "目前訪客能看到的,取決於他們在聊天中的權限。儲存授權後改為明確授權:只有下列的人,只看得到勾選的 agent。",
|
|
1212
1212
|
grantsConvert: "以目前的訪客為起點", grantsWithAccess: "有存取權的人", grantsNoneYet: "還沒有人有訪客存取權。",
|
|
@@ -1229,19 +1229,19 @@ register("settings", {
|
|
|
1229
1229
|
codeBusy: "目前有太多訪客登入碼還沒被使用,請過幾分鐘再試", codeRevoked: "你已不再被授權", grantsWaiting: "等待 fleet 管理員在 General 同意。", grantsSaveFailed: "沒有儲存:{0}",
|
|
1230
1230
|
grantsPublicLinkNote: "如果對方不在這個網路上,請先開啟公開連結,再傳送裝置登入碼。",
|
|
1231
1231
|
vaTitle: "網頁授權", vaReview: "檢視網頁授權變更",
|
|
1232
|
-
vaHint: "已登入的 fleet
|
|
1232
|
+
vaHint: "已登入的 fleet 管理員從網頁送出的訊息,是否帶有他本人帳號的授權,記錄在每則訊息的送達收據中。用私下傳給該帳號的裝置登入碼、透過直接連線的儀表板登入的工作階段,要在 Discord 或 Telegram 上授權一次;訪客一律不行;公開連結只在下方對應的選項開啟時可以。一般的網頁請求,Agent 本來就會照做;發布、破壞性操作、花費、密鑰,或把授權交給別人,則需要它。",
|
|
1233
1233
|
vaLoadFailed: "無法載入網頁授權。",
|
|
1234
|
-
vaEnabled: "網頁訊息帶有授權", vaEnabledHint: "
|
|
1234
|
+
vaEnabled: "網頁訊息帶有授權", vaEnabledHint: "預設開啟:工作階段要等它的帳號在 Discord 或 Telegram 上確認後才帶有授權。關閉:網頁訊息都不帶授權,已給出的授權立即視為無;關閉前給出的授權不會恢復。",
|
|
1235
1235
|
vaStuckOff: "網頁授權目前是關閉的:它的狀態無法存到這台電腦上(請看 fleet 紀錄)。可以存入後會自動恢復。",
|
|
1236
1236
|
vaLoopbackOnly: "只有這台電腦可以授權", vaLoopbackOnlyHint: "開啟:只有這台電腦上的瀏覽器符合,網路或 tailnet 上的不算,之前從其他地方給出的授權視為無。再關掉也不會讓那些授權恢復。",
|
|
1237
|
-
vaNamedLink: "也允許透過我的固定網域({0})", vaNamedLinkHint: "
|
|
1237
|
+
vaNamedLink: "也允許透過我的固定網域({0})", vaNamedLinkHint: "開啟:透過你自己的固定通道固定網域登入的瀏覽器也能被授權(一樣要在私訊按「確認」),登入的管理員也能在這個連結上按「直接套用」確認設定變更:要先開啟這個選項,否則固定網域的工作階段不能確認。它可從網際網路連到,Cloudflare 也看得到流量:開啟是需確認的變更,由已登入的管理員確認(若確認者自己要求驗證碼,就用他自己的驗證碼),從另一台裝置確認會發通知。關閉立即生效,透過它給出的授權都視為無。臨時公開連結另有下方的選項。",
|
|
1238
1238
|
vaSessionNamed: "透過你的固定網域",
|
|
1239
|
-
vaQuickLink: "也允許透過臨時公開連結", vaQuickLinkHint: "預設開啟:透過 /web 開出的臨時公開連結登入的瀏覽器也能被授權(一樣要在私訊按「確認」)。這個連結是網際網路上的位址,由 Cloudflare
|
|
1239
|
+
vaQuickLink: "也允許透過臨時公開連結", vaQuickLinkHint: "預設開啟:透過 /web 開出的臨時公開連結登入的瀏覽器也能被授權(一樣要在私訊按「確認」)。這個連結是網際網路上的位址,由 Cloudflare 的臨時通道服務轉送,Cloudflare 看得到流量。重新開啟是需確認的變更,由已登入的管理員確認(若確認者自己要求驗證碼,就用他自己的驗證碼),並會結束到目前為止給出的所有授權(每個瀏覽器都要重新確認);關閉立即生效。已授權的瀏覽器在連結結束時一併失去授權。",
|
|
1240
1240
|
vaSessionQuick: "透過臨時公開連結",
|
|
1241
|
-
vaLanWarning: "
|
|
1241
|
+
vaLanWarning: "儀表板也接受 {0} 的連線(web.allowed_hosts)。任何人只要從那裡連上、又拿到被盜的登入,就能以你的名義給出授權。除非你信任所有能連到那裡的人,否則請開啟「只有這台電腦可以授權」。",
|
|
1242
1242
|
vaHours: "一次授權的有效期(小時,{0}–{1})", vaHoursRange: "必須是 1 到 48 之間的數字",
|
|
1243
|
-
vaSessionsTitle: "
|
|
1244
|
-
vaRevoke: "撤銷網頁授權", vaRevokeTitle: "撤銷所有網頁授權?", vaRevokeConfirm: "
|
|
1243
|
+
vaSessionsTitle: "已授權的工作階段", vaSessionsNone: "目前沒有已授權的工作階段。", vaSessionUntil: "{0} 授權 · 到 {1}",
|
|
1244
|
+
vaRevoke: "撤銷網頁授權", vaRevokeTitle: "撤銷所有網頁授權?", vaRevokeConfirm: "到目前為止從網頁給出的授權,從現在起都視為無,所有工作階段的授權也會結束。不會登出任何人,也不會讓任何工作階段失去確認設定變更的能力:要讓某個工作階段失效,請用「全部登出」或 /web revoke。",
|
|
1245
1245
|
vaRevoked: "已撤銷到目前為止的網頁授權。", vaRevokedNotDurable: "已暫時撤銷,但無法保存:在可以保存之前網頁授權會保持關閉,而在那之前重新啟動會讓這次撤銷失效。", vaRevokeFailed: "沒有成功,請再試一次。",
|
|
1246
1246
|
webReadOnlyLead: "僅供檢視:這些設定決定儀表板監聽和公開的內容。這個頁面無法修改。",
|
|
1247
1247
|
searchRetentionUnset: "未設定(不限天數;上限 30 萬筆)",
|
|
@@ -1280,7 +1280,7 @@ register("settings", {
|
|
|
1280
1280
|
bindingLabel: "改綁 {0}",
|
|
1281
1281
|
tokenField: "Bot token(絕不存在瀏覽器)",
|
|
1282
1282
|
tokenPlaceholder: "貼上新的 bot token 以更換",
|
|
1283
|
-
tokenHint: "AgEnD 會先驗證 token
|
|
1283
|
+
tokenHint: "AgEnD 會先驗證 token,再替換執行中的轉接器來套用。之後不會再顯示。",
|
|
1284
1284
|
tokenButton: "暫存新的 token",
|
|
1285
1285
|
tokenRequired: "請先貼上 token。",
|
|
1286
1286
|
tokenQueued: "已暫存——請按「套用變更」。",
|
|
@@ -750,7 +750,7 @@ register("pendingSummary", {
|
|
|
750
750
|
"host_cli.native_switch": "把 AgEnD 這台電腦上的 Claude Code 從 npm 安裝改成 Claude 的原生安裝:以 claude.ai/install.sh 安裝 {0}(AgEnD 稽核過的版本,無人值守執行)。npm 那份會留著,等你另外移除。",
|
|
751
751
|
"host_cli.npm_remove": "從 AgEnD 這台電腦移除 npm 安裝的 Claude Code(在那份所在的 npm 目錄執行 npm -g uninstall @anthropic-ai/claude-code)。只有在 `claude` 已經改用原生安裝時才會執行。",
|
|
752
752
|
"runtime_cli.install": "在已配對的 Windows 電腦 {2} 上安裝 {0} {1}:AgEnD 固定的版本,並在那台電腦上檢查(固定的雜湊、registry 簽章、發行者簽章)。只會安裝這個 CLI;頁面送來的內容不會被執行。仍需要那台電腦主人自己的開關允許。",
|
|
753
|
-
"runtime_cli.update_latest": "如果已配對的 Windows 電腦 {1} 上已經有 {0},這會把它更新到廠商的「最新版」(未經 AgEnD 稽核):Runtime
|
|
753
|
+
"runtime_cli.update_latest": "如果已配對的 Windows 電腦 {1} 上已經有 {0},這會把它更新到廠商的「最新版」(未經 AgEnD 稽核):Runtime 會下載廠商自己的資訊清單指定的版本,並在那台電腦上檢查它的雜湊與發行者簽章,才會切換過去。",
|
|
754
754
|
"hub.browserCertificate.replace": "更換 Hub 瀏覽器憑證;成員傳輸身分保持不變。",
|
|
755
755
|
"hub.browserCertificate.fingerprint": "SHA-256 指紋:{0}",
|
|
756
756
|
"hub.browserCertificate.expires": "到期時間:{0}",
|
package/dist/ui/shared/app.css
CHANGED
|
@@ -1692,7 +1692,10 @@ img.amb-p { object-fit: contain; }
|
|
|
1692
1692
|
.inst-nav.compact .v-inst { height: 30px; min-height: 30px; padding-block: 0; gap: var(--s-2); }
|
|
1693
1693
|
.inst-nav.compact .inst-text { flex-direction: row; align-items: center; gap: var(--s-2); }
|
|
1694
1694
|
.inst-nav.compact .inst-line { flex: 1; min-width: 0; }
|
|
1695
|
-
.inst-nav.compact .inst-line2 { flex:
|
|
1695
|
+
.inst-nav.compact .inst-line2 { flex: 0 1 auto; min-width: 0; }
|
|
1696
|
+
/* M-3674: the name keeps room beside two times (a person's and an agent's); the times ellipsize, the title has them whole. */
|
|
1697
|
+
.inst-nav.compact .inst-line { min-width: 40%; }
|
|
1698
|
+
.inst-nav.compact .inst-line2 > .inst-when { overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
|
|
1696
1699
|
.inst-nav.compact .inst-when { color: var(--text-3); font-weight: var(--fw-normal); }
|
|
1697
1700
|
.inst-nav.compact .inst-row-menu > .icon-btn { height: 28px; min-height: 28px; }
|
|
1698
1701
|
.inst-status.off { background: var(--text-2); }
|
|
@@ -2177,6 +2180,14 @@ textarea.s-yaml { white-space: pre; overflow-x: auto; }
|
|
|
2177
2180
|
.shell:has(.s-pending) .toasts { bottom: calc(var(--s-6) + 64px); }
|
|
2178
2181
|
/* In a chat the composer owns the bottom (Stop reply, Send): toasts come in under the header instead (alpha.2 sweep). */
|
|
2179
2182
|
@media (min-width: 900px) and (pointer: fine), (min-width: 900px) and (pointer: none), (min-width: 900px) and (min-height: 501px), (min-width: 1024px) { .shell:has(.p-chat) .toasts { top: calc(var(--header-h) + var(--s-2)); bottom: auto; } }
|
|
2183
|
+
/* M-3645: a Hub chat's composer owns the bottom (Send) and its thread starts right under the chat's head, so a toast stands
|
|
2184
|
+
in the head's band: over its title and buttons for a few seconds (toasts let clicks through), never on Send or a message
|
|
2185
|
+
row. A confirmation is one line there, and an older one gives way to the newest, so the stack never runs down the thread;
|
|
2186
|
+
an error or a source's details keep every line. */
|
|
2187
|
+
.shell:has(.hub-chat-head) .toasts { top: var(--s-1); bottom: auto; }
|
|
2188
|
+
.shell:has(.hub-chat-head) .toasts > .toast.ok:not(.toast-detail) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
2189
|
+
.shell:has(.hub-chat-head) .toasts > .toast.ok:not(.toast-detail):not(:last-child) { display: none; }
|
|
2190
|
+
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) { .shell:has(.hub-chat-head) .toasts { top: calc(env(safe-area-inset-top) + var(--s-3)); } }
|
|
2180
2191
|
.op-line { display: flex; align-items: center; justify-content: center; gap: var(--s-2); }
|
|
2181
2192
|
.op-line.ok { color: var(--ok); }
|
|
2182
2193
|
.op-line.bad { color: var(--danger); }
|
|
@@ -2646,18 +2657,47 @@ strong.org-name { font-size: var(--fs-sm); color: var(--text); }
|
|
|
2646
2657
|
on a phone a bottom sheet. Tone over borders; the status tokens for the level's tier. */
|
|
2647
2658
|
.oo-card { position: absolute; left: 0; top: 0; z-index: 8; width: 320px; max-height: calc(100% - 2 * var(--s-3)); overflow-y: auto; box-sizing: border-box; padding: var(--s-3); font-size: var(--fs-sm); line-height: var(--lh-sm);
|
|
2648
2659
|
color: var(--text); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-2); }
|
|
2649
|
-
.oo-card.sheet { position: fixed; left: 0; right: 0; top: auto; bottom: 0; width: auto; max-height:
|
|
2660
|
+
.oo-card.sheet { position: fixed; left: 0; right: 0; top: auto; bottom: 0; width: auto; max-height: var(--oo-sheet-max, 50dvh); transform: none; z-index: 40; border-radius: var(--r-lg) var(--r-lg) 0 0;
|
|
2650
2661
|
padding-bottom: calc(var(--s-3) + env(safe-area-inset-bottom, 0px)); touch-action: none; }
|
|
2651
2662
|
/* M-3253: the sheet sits on the window's foot (M-3166 took the phone's tab bar away: the old 56 px lift left a gap), its
|
|
2652
2663
|
close and its two actions a fingertip's 44 px. */
|
|
2653
2664
|
.oo-card.sheet { padding: var(--s-2) var(--s-4) max(var(--s-4), env(safe-area-inset-bottom, 0px)); }
|
|
2665
|
+
/* M-3633: the sheet takes at most half the window, so the office stays in view above it whatever the pack's card (a
|
|
2666
|
+
large avatar and every section scroll inside it); its actions stay at its foot while the rest scrolls. */
|
|
2667
|
+
/* …and on a desk, a card held shorter under an area's name (it scrolls) keeps its actions at its foot the same way. */
|
|
2668
|
+
.oo-card .oo-card-actions { position: sticky; bottom: calc(-1 * var(--oo-card-frame-pad, var(--s-3))); z-index: 2;
|
|
2669
|
+
margin-bottom: calc(-1 * var(--oo-card-frame-pad, var(--s-3))); padding-bottom: var(--oo-card-frame-pad, var(--s-3)); background: var(--oo-card-bg, var(--surface)); }
|
|
2670
|
+
/* …and while there is more to scroll (data-more), the content fades into them: a cue that the card goes on. */
|
|
2671
|
+
.oo-card[data-more] .oo-card-actions::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: var(--s-7); pointer-events: none;
|
|
2672
|
+
background: linear-gradient(to bottom, transparent, var(--oo-card-bg, var(--surface))); }
|
|
2673
|
+
.oo-card.sheet .oo-card-actions, .oo-card-custom.sheet .oo-card-actions { position: sticky; bottom: calc(-1 * max(var(--s-4), env(safe-area-inset-bottom, 0px)));
|
|
2674
|
+
z-index: 2; margin-bottom: calc(-1 * max(var(--s-4), env(safe-area-inset-bottom, 0px))); padding: var(--s-2) 0 max(var(--s-4), env(safe-area-inset-bottom, 0px));
|
|
2675
|
+
background: var(--oo-card-bg, var(--surface)); }
|
|
2676
|
+
/* A pack's card.motion: how the card pops up (opacity and the individual scale/translate, so its placement transform stays). */
|
|
2677
|
+
.oo-card[data-enter] { animation: var(--oo-card-enter-ms, 220ms) both; animation-timing-function: cubic-bezier(.2, .8, .2, 1); }
|
|
2678
|
+
.oo-card[data-enter="fade"] { animation-name: oo-card-fade; }
|
|
2679
|
+
.oo-card[data-enter="pop"] { animation-name: oo-card-pop; }
|
|
2680
|
+
.oo-card[data-enter="rise"] { animation-name: oo-card-rise; }
|
|
2681
|
+
.oo-card[data-enter="slide"] { animation-name: oo-card-slide; }
|
|
2682
|
+
.oo-card[data-enter="bounce"] { animation-name: oo-card-bounce; animation-timing-function: linear; }
|
|
2683
|
+
@keyframes oo-card-fade { from { opacity: 0; } }
|
|
2684
|
+
@keyframes oo-card-pop { from { opacity: 0; scale: .86; } }
|
|
2685
|
+
@keyframes oo-card-rise { from { opacity: 0; translate: 0 14px; } }
|
|
2686
|
+
@keyframes oo-card-slide { from { opacity: 0; translate: -18px 0; } }
|
|
2687
|
+
@keyframes oo-card-bounce { 0% { opacity: 0; scale: .7; } 55% { opacity: 1; scale: 1.06; } 75% { scale: .97; } 100% { scale: 1; } }
|
|
2688
|
+
@media (prefers-reduced-motion: reduce) { .oo-card[data-enter] { animation: none; } }
|
|
2654
2689
|
.oo-card.sheet .oo-card-close { width: var(--tap); height: var(--tap); margin: -6px -8px 0 0; }
|
|
2655
2690
|
.oo-card.sheet .oo-card-actions .btn { flex: 1; min-height: var(--tap); justify-content: center; }
|
|
2656
2691
|
.oo-card.sheet .oo-card-actions { flex-wrap: wrap; }
|
|
2657
2692
|
.oo-card-grip { width: 36px; height: 4px; margin: 0 auto var(--s-2); border-radius: var(--r-full); background: var(--surface-2); }
|
|
2693
|
+
/* M-3633: a sheet whose content scrolls scrolls natively (pan-y); its grip is then the handle that closes it — kept at
|
|
2694
|
+
its top, a fingertip tall (the bar drawn in the middle of it), never taken by the browser (touch-action none). */
|
|
2695
|
+
.oo-card.sheet[data-scrolls], .oo-card-custom.sheet[data-scrolls] .oo-card-body { touch-action: pan-y; }
|
|
2696
|
+
.oo-card.sheet .oo-card-grip { position: sticky; top: calc(-1 * var(--s-2)); z-index: 3; box-sizing: content-box; width: 36px; height: 4px;
|
|
2697
|
+
padding: calc((var(--tap) - 4px) / 2) calc(50% - 18px); margin: calc(-1 * var(--s-2)) calc(-1 * var(--s-4)) 0; background-clip: content-box; touch-action: none; cursor: grab; }
|
|
2658
2698
|
.oo-card-head { display: flex; gap: var(--s-3); align-items: flex-start; }
|
|
2659
2699
|
.oo-card-avatar { position: relative; flex: none; width: 56px; height: 56px; border-radius: var(--r-md); background: var(--surface-2); }
|
|
2660
|
-
.oo-card-avatar canvas { width: 56px; height: 56px; image-rendering: pixelated; }
|
|
2700
|
+
.oo-card-avatar canvas { width: 56px; height: 56px; image-rendering: pixelated; border-radius: inherit; }
|
|
2661
2701
|
.oo-card-avatar .oo-badge { position: absolute; left: -6px; top: -6px; }
|
|
2662
2702
|
.oo-card-names { flex: 1; min-width: 0; }
|
|
2663
2703
|
.oo-card-name { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
@@ -2685,7 +2725,7 @@ strong.org-name { font-size: var(--fs-sm); color: var(--text); }
|
|
|
2685
2725
|
.oo-card-custom.sheet { width: auto; max-width: none; padding: 0; border-radius: var(--oo-card-radius, var(--r-lg)) var(--oo-card-radius, var(--r-lg)) 0 0; }
|
|
2686
2726
|
.oo-card-bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; border-radius: inherit; }
|
|
2687
2727
|
.oo-card-body { position: relative; z-index: 1; padding: var(--oo-card-frame-pad, var(--s-3)); max-height: inherit; overflow-y: auto; box-sizing: border-box; }
|
|
2688
|
-
.oo-card-custom.sheet .oo-card-body { padding: max(var(--s-2), var(--oo-card-frame-pad, var(--s-2))) max(var(--s-4), var(--oo-card-frame-pad, var(--s-4))) max(var(--s-4), env(safe-area-inset-bottom, 0px)); max-height:
|
|
2728
|
+
.oo-card-custom.sheet .oo-card-body { padding: max(var(--s-2), var(--oo-card-frame-pad, var(--s-2))) max(var(--s-4), var(--oo-card-frame-pad, var(--s-4))) max(var(--s-4), env(safe-area-inset-bottom, 0px)); max-height: var(--oo-sheet-max, 50dvh); touch-action: none; }
|
|
2689
2729
|
.oo-card-custom .oo-card-grip { background: var(--oo-card-muted, var(--surface-2)); opacity: 0.45; }
|
|
2690
2730
|
.oo-card-custom .oo-card-avatar { box-sizing: border-box; width: var(--oo-card-avatar, 56px); height: var(--oo-card-avatar, 56px); border-radius: var(--oo-card-radius, var(--r-md));
|
|
2691
2731
|
border: 1px solid var(--oo-card-border, var(--border)); background: color-mix(in srgb, var(--oo-card-bg, var(--surface-2)) 82%, var(--oo-card-text, var(--text)) 18%); }
|
|
@@ -3353,6 +3393,47 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
|
|
|
3353
3393
|
.tb-project-pct { display: flex; align-items: center; gap: var(--s-2); font-size: var(--fs-sm); }
|
|
3354
3394
|
.tb-project-meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-1) var(--s-3); font-size: var(--fs-xs); color: var(--text-2); }
|
|
3355
3395
|
.tb-project-menu { position: absolute; top: var(--s-2); right: var(--s-2); }
|
|
3396
|
+
/* No project, made hard to miss (fleet-task-sort.js): Home's list (the Waiting box's frame), the tile first and outlined, the header's link. */
|
|
3397
|
+
.tb-sort-hint { margin: 0 0 var(--s-2); }
|
|
3398
|
+
.tb-sort-row { gap: var(--s-2) var(--s-3); }
|
|
3399
|
+
.tb-sort-row .tb-wait-title { flex: 1 1 240px; }
|
|
3400
|
+
.tb-sort-meta { font-size: var(--fs-xs); white-space: nowrap; }
|
|
3401
|
+
.tb-sort-pick { flex: 0 0 auto; min-width: 140px; }
|
|
3402
|
+
.tb-sort-foot { display: flex; margin-top: var(--s-2); }
|
|
3403
|
+
.tb-project.needs-sort { border-color: var(--warn-line); }
|
|
3404
|
+
.tb-project.needs-sort:hover { border-color: var(--warn); }
|
|
3405
|
+
.tb-sort-link { border: 0; cursor: pointer; }
|
|
3406
|
+
.tb-sort-link:hover { text-decoration: underline; }
|
|
3407
|
+
/* The header's link: a pill in the stats line on the desk ("N in No project →"); on a phone a full-width banner (below). */
|
|
3408
|
+
.tb-sort-link > svg, .tb-sort-link-long, .tb-sort-link-go { display: none; }
|
|
3409
|
+
/* On a phone or a touch screen (style guide §7: every control a 44px box), laid out for a narrow screen rather than drawn
|
|
3410
|
+
bigger. Home's list is one card: a tinted head (title, hint), then a row per card split by a line — the title across the
|
|
3411
|
+
whole width (its 44px box from padding that negative margins take back, so nothing is drawn bigger), under it who/when on
|
|
3412
|
+
the left and the picker as a small capsule on the right (32px drawn in a 44px box: transparent border; the two boxes
|
|
3413
|
+
meet, they do not overlap), and "See all" as
|
|
3414
|
+
the card's last row. A project's board puts the link on its own line under the stats, as a 44px banner: "No project:
|
|
3415
|
+
N to file … File them →". The desk keeps the Waiting box's rows and the pill. */
|
|
3416
|
+
@media (pointer: coarse), (max-width: 899px) {
|
|
3417
|
+
.tb-sort { padding: 0; overflow: hidden; }
|
|
3418
|
+
.tb-sort > .tb-section-title { margin: 0; padding: var(--s-3) var(--s-4) var(--s-1); background: var(--warn-bg); }
|
|
3419
|
+
.tb-sort > .tb-sort-hint { margin: 0; padding: 0 var(--s-4) var(--s-3); background: var(--warn-bg); }
|
|
3420
|
+
.tb-sort > .rows { gap: 0; }
|
|
3421
|
+
/* the row gap is the title's growth (12px at a 20px line), so the title's 44px box ends where the picker's begins: no overlap */
|
|
3422
|
+
.tb-sort-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--s-3); padding: var(--s-3) var(--s-4) var(--s-2); border-top: 1px solid var(--border); border-radius: 0; background: none; }
|
|
3423
|
+
.tb-sort-row .tb-wait-title { --grow: max(0px, calc((var(--tap) - 1lh) / 2)); grid-column: 1 / -1; padding-block: var(--grow); margin-block: calc(-1 * var(--grow)); }
|
|
3424
|
+
.tb-sort-row .tb-sort-meta { grid-column: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
|
|
3425
|
+
.tb-sort-row .tb-sort-pick { grid-column: 2; width: auto; min-width: 0; max-width: 45vw; min-height: var(--tap); padding-inline: var(--s-3);
|
|
3426
|
+
border: 0; border-block: 6px solid transparent; border-radius: calc((var(--tap) - 12px) / 2) / calc(var(--tap) / 2); background-color: var(--surface-2); background-clip: padding-box; } /* the painted end is a half circle (16 / 16) */
|
|
3427
|
+
.tb-sort-foot { margin: 0; border-top: 1px solid var(--border); }
|
|
3428
|
+
.tb-sort-foot .btn { flex: 1; min-height: var(--tap); border-radius: 0; color: var(--accent); font-size: var(--fs-sm); }
|
|
3429
|
+
.tb-stats .tb-flag.tb-sort-link { order: 1; flex: 1 1 100%; gap: var(--s-2); min-height: var(--tap); margin-top: var(--s-1); padding: 0 var(--s-4);
|
|
3430
|
+
border: 1px solid var(--warn-line); border-radius: var(--r-md); font-size: var(--fs-sm); white-space: normal; text-align: left; }
|
|
3431
|
+
.tb-sort-link > svg { display: inline-block; flex: none; }
|
|
3432
|
+
.tb-sort-link-long { display: inline; min-width: 0; }
|
|
3433
|
+
.tb-sort-link-short { display: none; }
|
|
3434
|
+
.tb-sort-link-go { display: inline; margin-left: auto; font-weight: var(--fw-medium); }
|
|
3435
|
+
.tb-sort-link:hover { text-decoration: none; }
|
|
3436
|
+
}
|
|
3356
3437
|
.tb-archived { display: flex; flex-direction: column; gap: var(--s-2); align-items: flex-start; }
|
|
3357
3438
|
.tb-archived > .tb-projects { align-self: stretch; }
|
|
3358
3439
|
|
|
@@ -3550,14 +3631,23 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
|
|
|
3550
3631
|
.tc-meta { padding: 0; background: none; }
|
|
3551
3632
|
/* #2299: a phone's waiting row: pill and title on one line, the actions under them (assignee left, buttons right). */
|
|
3552
3633
|
.tb-wait-main > .tb-pill { min-width: 0; }
|
|
3553
|
-
|
|
3554
|
-
|
|
3634
|
+
/* The assignee, then the answers on one line: the two buttons share what the name leaves (they never part onto two lines, as they did at 360px);
|
|
3635
|
+
a long name gives way with "…" before a button does, and a lone button (Answer) keeps its own width at the right. */
|
|
3636
|
+
.tb-wait-actions { flex-basis: 100%; margin-left: 0; flex-wrap: nowrap; }
|
|
3637
|
+
.tb-wait-actions > .muted { margin-right: auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
3638
|
+
.tb-wait-actions .btn { flex: 1 0 auto; padding-inline: var(--s-2); }
|
|
3639
|
+
.tb-wait-actions > button:only-of-type { flex: 0 0 auto; padding-inline: var(--s-4); }
|
|
3555
3640
|
/* #2299: on the board its toasts come in above the tabs, not over its title, search and progress — unless a card's
|
|
3556
3641
|
sheet is open (its buttons are at the bottom). */
|
|
3557
3642
|
.shell:has(.tb-home, .tb-board-page):not(:has(dialog[open])) .toasts { top: auto; bottom: calc(56px + env(safe-area-inset-bottom) + var(--s-3)); }
|
|
3558
3643
|
/* …and they do not pile down the board: an older confirmation gives way to two newer toasts; an error never does. */
|
|
3559
3644
|
.shell:has(.tb-home, .tb-board-page) .toasts > .toast.ok:nth-last-child(n+3) { display: none; }
|
|
3560
3645
|
}
|
|
3646
|
+
/* A very narrow phone (320px): the waiting row's name has a line of its own and the two buttons share the next one. */
|
|
3647
|
+
@media (max-width: 339px) {
|
|
3648
|
+
.tb-wait-actions { flex-wrap: wrap; }
|
|
3649
|
+
.tb-wait-actions > .muted { flex-basis: 100%; }
|
|
3650
|
+
}
|
|
3561
3651
|
/* On a desk a project's columns reach the bottom of the page, as taskhall's: a card drops anywhere down a column, and
|
|
3562
3652
|
an empty column still reads as one. The page's column, the board and its scroller pass the height down as flex. */
|
|
3563
3653
|
@media (min-width: 900px) and (pointer: fine), (min-width: 900px) and (pointer: none), (min-width: 900px) and (min-height: 501px), (min-width: 1024px) {
|
|
@@ -5292,3 +5382,13 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
|
|
|
5292
5382
|
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
|
|
5293
5383
|
.contact-grant-dialog :is(input:not([type=checkbox]), select, .check) { min-height: var(--tap); }
|
|
5294
5384
|
}
|
|
5385
|
+
|
|
5386
|
+
/* M-3610: Fleet › Tasks on a phone (or a coarse pointer) — every toolbar control a full tap target (--tap, 44px): the
|
|
5387
|
+
Fleet tab pills, the search boxes (home, a project), Instances / New project / New main task, and a project's Back and
|
|
5388
|
+
Stats. A desktop with a fine pointer keeps its compact bar. */
|
|
5389
|
+
@media (max-width: 899px), (pointer: coarse) {
|
|
5390
|
+
.p-fleet .seg .seg-item { min-height: var(--tap); }
|
|
5391
|
+
.p-fleet .tb-search input { min-height: var(--tap); }
|
|
5392
|
+
.p-fleet :is(.tb-head-actions, .tb-title, .tb-stats) .btn { min-height: var(--tap); }
|
|
5393
|
+
.p-fleet .tb-project-menu .icon-btn { width: var(--tap); height: var(--tap); } /* a project tile's ⋯ */
|
|
5394
|
+
}
|
|
@@ -229,13 +229,13 @@ register("chat", {
|
|
|
229
229
|
compactTimeout: "{0} 分鐘內沒有看到壓縮完成的紀錄,請到 Agent 自己的對話確認。",
|
|
230
230
|
compactLost: "無法再追蹤這次壓縮:指令沒有送到 Agent,或 Agent 已停止、換了後端。",
|
|
231
231
|
compactNotCompacted: "kiro 沒有壓縮對話:對話太短,或壓縮被中止了。",
|
|
232
|
-
cmdChoose: "選擇", cmdCurrent: "目前", cmdSignIn: "連接帳號", cmdSignInTo: "連接 {0} 帳號", chipCompact: "壓縮", chipClear: "清空…", chipContext: "已用 {0}%
|
|
232
|
+
cmdChoose: "選擇", cmdCurrent: "目前", cmdSignIn: "連接帳號", cmdSignInTo: "連接 {0} 帳號", chipCompact: "壓縮", chipClear: "清空…", chipContext: "已用 {0}% 的上下文",
|
|
233
233
|
chipModel: "模型:{0}——選擇其他", chipEffort: "推理強度:{0}——選擇其他",
|
|
234
|
-
cmdReportFilter: "
|
|
234
|
+
cmdReportFilter: "依名稱、後端或狀態篩選", cmdReportOpen: "開啟報告",
|
|
235
235
|
cmdReportCount: "{0} 筆", cmdReportMatches: "顯示 {0} / {1} 筆", cmdReportEmpty: "沒有符合的項目。",
|
|
236
236
|
cmd_sysinfo: "系統資訊與 CLI 版本", cmd_status: "Fleet 狀態",
|
|
237
|
-
cmd_ctx: "
|
|
238
|
-
cmd_model: "查看或切換模型", cmd_backend: "切換 CLI
|
|
237
|
+
cmd_ctx: "上下文用量、模型與推理強度", cmd_compact: "壓縮對話", cmd_clear: "清空對話(會先確認)",
|
|
238
|
+
cmd_model: "查看或切換模型", cmd_backend: "切換 CLI 後端,再選模型和推理強度(會重新啟動)", cmd_effort: "查看或設定推理強度", cmd_cancel: "停止目前的回覆",
|
|
239
239
|
cmd_btw: "不打斷目前工作的旁問", cmd_steer: "送進目前這一輪", cmd_pause: "暫停 Agent",
|
|
240
240
|
cmd_wake: "喚醒已暫停的 Agent", cmd_save: "把對話存成檔案", cmd_update: "更新 AgEnD(開啟更新對話框)",
|
|
241
241
|
tourTitle: "歡迎使用網頁聊天", tourStep: "{0} / {1}", tourBack: "上一步", tourNext: "下一步", tourDone: "知道了", tourSkip: "略過",
|
|
@@ -264,7 +264,7 @@ register("chat", {
|
|
|
264
264
|
tcShow: "顯示", tcHide: "收起", tcDownload: "下載", tcShowAll: "顯示全部 {0} 行", tcOver: "這個檔案超過 1 MiB,請下載後閱讀。", tcPlain: "內容太大,無法在這裡排版,改以純文字顯示。",
|
|
265
265
|
rbGroup: "選項", rbChosen: "{0} 已選擇", rbExpired: "已逾時,請直接回覆文字",
|
|
266
266
|
pollGroup: "投票", pollAnswered: "🗳 已有 {0} 人作答", pollClosed: "🗳 已截止 · {0} 人作答", pollLeft: "剩餘時間", pollVoters: "投票名單",
|
|
267
|
-
pvOpenPanel: "在面板中開啟", pvInPanel: "已在面板中顯示。", pvPanel: "HTML 預覽", pvSource: "來自 {0},{1}
|
|
267
|
+
pvOpenPanel: "在面板中開啟", pvInPanel: "已在面板中顯示。", pvPanel: "HTML 預覽", pvSource: "來自 {0},{1} · 回到這則訊息",
|
|
268
268
|
pvPage: "頁面", pvCode: "程式碼", pvReload: "重新載入", pvClose: "關閉面板", pvBack: "回到對話", pvResize: "調整預覽面板寬度",
|
|
269
269
|
pvNewer: "{0} 的回覆裡有較新的版本。", pvNewerShow: "顯示", pvPanelIdle: "按「預覽」在這裡執行。",
|
|
270
270
|
pvVersions: "版本", pvVer: "v{0}/{1}", pvVerLong: "第 {0} 版,共 {1} 版", pvVerPrev: "上一版", pvVerNext: "下一版",
|
|
@@ -278,7 +278,7 @@ register("chat", {
|
|
|
278
278
|
pvFbAboutNamed: "關於頁面「{0}」:", pvFbAboutThis: "關於這個頁面:",
|
|
279
279
|
pvFbErrOne: "個錯誤", pvFbErrMany: "個錯誤", pvFbErrTitle: "頁面回報了錯誤:以引用的方式放進輸入框,由你確認後送出。錯誤文字來自頁面本身",
|
|
280
280
|
pvFbErrHeadOne: "預覽回報了 1 個錯誤(文字來自頁面):", pvFbErrHead: "預覽回報了 {0} 個錯誤(文字來自頁面):",
|
|
281
|
-
pvFbErrRejection: "
|
|
281
|
+
pvFbErrRejection: "未處理的拒絕:", pvFbErrAt: "第 {0} 行第 {1} 欄", pvFbErrMore: "……還有 {0} 個。",
|
|
282
282
|
pvCdnBlocked: "被預覽封鎖:",
|
|
283
283
|
pvCdnNote: "這個頁面要從 {0} 載入函式庫,但預覽會封鎖它,除非開啟 設定 → 網頁儀表板 中的「HTML 預覽可從 cdnjs / jsDelivr 載入函式庫」。",
|
|
284
284
|
pvFbPick: "指出位置", pvFbPickTitle: "在頁面上點一個元素,說明要怎麼改",
|
|
@@ -328,11 +328,11 @@ register("chat", {
|
|
|
328
328
|
pick: "選一個 Agent 開始聊天。", noAgents: "先建立一個 Agent,再開始聊天。", newAgent: "新增 Agent", notFound: "沒有叫「{0}」的 Agent", notFoundHint: "它可能已被刪除或改名。", backToList: "選擇 Agent",
|
|
329
329
|
details: "Agent 詳細資料", fullWidth: "全寬", start: "啟動 Agent", stopInstance: "停止 Agent", restart: "重新啟動 Agent", delete: "刪除 Agent…",
|
|
330
330
|
started: "{0} 已啟動", stoppedInst: "{0} 已停止", restarted: "{0} 已重新啟動", instanceDeleted: "{0} 已刪除",
|
|
331
|
-
deleteTitle: "要刪除 {0} 嗎?", deleteHelp: "這會把 Agent 從 fleet
|
|
331
|
+
deleteTitle: "要刪除 {0} 嗎?", deleteHelp: "這會把 Agent 從 fleet 移除並停止它,並刪除它的聊天主題(在 Discord 上是它的頻道與訊息記錄)。工作目錄會保留。請輸入「delete {0}」確認。", deleteGo: "刪除", cancel: "取消",
|
|
332
332
|
loadFailed: "載入失敗", tour: "聊天導覽", tourBtnTitle: "在 Agent 的聊天上開啟聊天導覽", tourNoAgent: "請先選一個 Agent,再開啟聊天導覽。",
|
|
333
333
|
dName: "名稱", dStatus: "狀態", dDisplay: "顯示名稱", dDescription: "說明", dDirectory: "目錄", dBackend: "Backend", dModel: "模型", dEffort: "Effort",
|
|
334
|
-
dCost: "花費", dCostNote: "
|
|
335
|
-
dConfig: "設定", dBinding: "綁定", dBindingGeneral: "{0} 的 General
|
|
334
|
+
dCost: "花費", dCostNote: "(本次工作階段累計)", dContext: "Context", dRate5: "5 小時額度", dRate7: "7 天額度", dActivity: "最近活動", dInstance: "Agent", dRuntime: "執行環境",
|
|
335
|
+
dConfig: "設定", dBinding: "綁定", dBindingGeneral: "{0} 的 General 主題", dBindingTopic: "{0},topic {1}", dBindingNoTopic: "{0},尚未綁定主題",
|
|
336
336
|
dBindingDefault: "{0}(預設:第一個連線)", dBindingRoom: "ClassicBot 房間 #{0}({1})",
|
|
337
337
|
dBindingNone: "未綁定(只用網頁)", dPrimary: "第一個連線", dTags: "標籤", dReadOnly: "這裡只能檢視——請到設定修改。",
|
|
338
338
|
dEditInSettings: "到設定編輯", dPause: "暫停", dWake: "喚醒", dPaused: "{0} 已暫停", dWoken: "{0} 正在喚醒", dActionFailed: "沒有成功,請再試一次。",
|
|
@@ -178,3 +178,8 @@
|
|
|
178
178
|
|
|
179
179
|
/* The granting administrator must see a Team's size and leads at every width. */
|
|
180
180
|
.hub-row-text strong.hub-policy-subject-label { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; }
|
|
181
|
+
|
|
182
|
+
/* M-3592: Administration → Sign-in's two lists and its Save are a full tap target on a phone. */
|
|
183
|
+
@media (max-width: 899px), (pointer: coarse) {
|
|
184
|
+
.hub-session-limits select, .hub-session-limits .btn { min-height: var(--tap); }
|
|
185
|
+
}
|
|
@@ -129,6 +129,9 @@
|
|
|
129
129
|
.hub-agent-av.emoji { font-size: var(--fs-xs); font-weight: normal; }
|
|
130
130
|
/* The default tint is pale on a light panel: the neutral avatar (no look) alone gets a ring in the border colour. */
|
|
131
131
|
.hub-agent-av.neutral { box-shadow: inset 0 0 0 1px var(--border); }
|
|
132
|
+
/* M-3533 R2b: a picture fills the disc, cropped to the circle, never stretched (as the Fleet sidebar's .av img). */
|
|
133
|
+
.hub-agent-av.pic::before { content: none; }
|
|
134
|
+
.hub-agent-av.pic img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
|
|
132
135
|
/* The assistant's row is not a button: the agent rows' padding, so its disc sits in their avatar column. */
|
|
133
136
|
.hub-member-assistant { padding-inline: var(--s-1); }
|
|
134
137
|
/* Its status ("Idle · provided by the Hub") is long: in a compact list it takes a second line, so the name stays whole. */
|
|
@@ -501,6 +501,38 @@ export function replyText(mins) {
|
|
|
501
501
|
if (mins < 2880) return tn("replyYesterday");
|
|
502
502
|
return tn("replyDays", { n: Math.floor(mins / 1440) });
|
|
503
503
|
}
|
|
504
|
+
/**
|
|
505
|
+
* M-3674: minutes since another agent last started a turn for the instance (a message it took up from another
|
|
506
|
+
* instance: the status frame's last_agent_turn), or null. Its last reply to a person (replyAge) counts only turns a
|
|
507
|
+
* person started, so an agent kept busy by others looked idle ("33 天").
|
|
508
|
+
*/
|
|
509
|
+
export function agentTurnAge(it, now = Date.now()) {
|
|
510
|
+
const at = it && typeof it.last_agent_turn === "string" ? Date.parse(it.last_agent_turn) : NaN;
|
|
511
|
+
return Number.isFinite(at) ? Math.max(0, (now - at) / 60000) : null;
|
|
512
|
+
}
|
|
513
|
+
/** A short "ago": "now", "2m", "3h", "4d" (zh-TW: 剛剛、2 分、3 小時、4 天). */
|
|
514
|
+
export function whenShort(mins) {
|
|
515
|
+
if (mins < 1) return tn("whenNow");
|
|
516
|
+
if (mins < 60) return tn("whenMin", { n: Math.floor(mins) });
|
|
517
|
+
if (mins < 1440) return tn("whenHour", { n: Math.floor(mins / 60) });
|
|
518
|
+
return tn("whenDay", { n: Math.floor(mins / 1440) });
|
|
519
|
+
}
|
|
520
|
+
/**
|
|
521
|
+
* The row's times: its last reply to a person and the last turn another agent started, each labelled ("Person 33d ·
|
|
522
|
+
* Agent 2m", 「人 33 天 · Agent 2 分」); one alone when it has only that one (a reply alone reads as before: "33 d ago");
|
|
523
|
+
* null for none. The title says which is which, with both full times. `one` (the one-line sidebar, where the name and
|
|
524
|
+
* the time share a line): only the newer of the two, labelled — both stay in the title.
|
|
525
|
+
*/
|
|
526
|
+
export function activityText(it, replyMins, agentMins, one = false) {
|
|
527
|
+
if (replyMins == null && agentMins == null) return null;
|
|
528
|
+
const at = (k) => new Date(Date.parse(it[k])).toLocaleString();
|
|
529
|
+
const title = [replyMins != null ? tn("whenPersonTitle", { time: at("last_reply") }) : null, agentMins != null ? tn("whenAgentTitle", { time: at("last_agent_turn") }) : null]
|
|
530
|
+
.filter(Boolean).join("\n");
|
|
531
|
+
if (agentMins == null) return { text: replyText(replyMins), title };
|
|
532
|
+
const a = tn("whenAgent", { t: whenShort(agentMins) });
|
|
533
|
+
if (one && replyMins != null) return { text: replyMins <= agentMins ? tn("whenPerson", { t: whenShort(replyMins) }) : a, title };
|
|
534
|
+
return { text: replyMins == null ? a : tn("whenBoth", { p: tn("whenPerson", { t: whenShort(replyMins) }), a }), title };
|
|
535
|
+
}
|
|
504
536
|
/** How strong the highlight is: 1 just after a reply, down to 0 at REPLY_FRESH_MIN minutes. */
|
|
505
537
|
export function replyFade(mins) { return mins == null || mins >= REPLY_FRESH_MIN ? 0 : 1 - mins / REPLY_FRESH_MIN; }
|
|
506
538
|
/** The highlight's strength on the row, through the CSSOM (style-src has no 'unsafe-inline'). */
|
|
@@ -789,7 +821,9 @@ export function InstanceNav({ route, items, loaded = true, exec = {}, awaiting =
|
|
|
789
821
|
// #2179 (B5, the user's pick): the % (and the ★ beside the row) on the name's line; the time of the last reply at the
|
|
790
822
|
// end of the second line, highlighted for REPLY_FRESH_MIN minutes, fading by itself (a reply under a minute pulses once).
|
|
791
823
|
const mins = ageOf(name), fade = replyFade(mins);
|
|
792
|
-
|
|
824
|
+
// M-3674: beside it, the last turn another agent started (a busy agent no longer reads "33 天前").
|
|
825
|
+
const amins = viewOnly ? null : agentTurnAge(byName.get(name), now), act = activityText(byName.get(name) || {}, mins, amins, compact);
|
|
826
|
+
const two = !!secondary || !!act;
|
|
793
827
|
const menuItems = [
|
|
794
828
|
canStar ? { key: "favorite", label: t(`agentRow.${starred ? "remove" : "add"}`), icon: "star", disabled: full,
|
|
795
829
|
iconClass: starred ? "menu-starred" : undefined,
|
|
@@ -821,7 +855,7 @@ export function InstanceNav({ route, items, loaded = true, exec = {}, awaiting =
|
|
|
821
855
|
<span class="inst-text"><span class="inst-line"><span class="inst-name" title=${label}>${label}</span>
|
|
822
856
|
${!compact ? html`<span class="v-meta">${it.runtime === "windows" ? "Windows" : it.context_pct != null ? `${Math.round(it.context_pct)}%` : ""}</span>` : null}</span>
|
|
823
857
|
${two ? html`<span class="inst-line inst-line2">${!compact ? html`<span class="inst-alt" title=${secondary || undefined}>${secondary || ""}</span>` : null}
|
|
824
|
-
${
|
|
858
|
+
${act ? html`<span class=${`inst-when${fade > 0 ? " fresh" : ""}`} title=${act.title}>${act.text}</span>` : null}</span>` : null}
|
|
825
859
|
${!compact && it.machine_id ? html`<span class=${`inst-machine${it.machine_status !== "online" ? " offline" : ""}`} title=${tn("tooltipMachine",{value:machineName(it.machine_id,it.machine_name)})}><span class="inst-machine-name">${machineName(it.machine_id,it.machine_name)}</span>${it.machine_status !== "online" ? html`<span class="inst-machine-status">${tn(it.machine_status === "revoked" ? "machineRevoked" : "machineOffline")}</span>` : null}</span>` : null}
|
|
826
860
|
${!compact && facet === "needs" ? html`<span class="inst-sub"><span class="badge-await" title=${waiting || t("app.approxNote")}>${t("app.needsYou")}</span></span>` : null}
|
|
827
861
|
<span class="sr-only">${tn("tooltipBackend", { value: backendLabel(it.backend) })}</span></span>
|