feat(web): remote dependency metadata, revision-bound previews and cache feedback - #1141
Draft
sheepbox8646 wants to merge 4 commits into
Draft
feat(web): remote dependency metadata, revision-bound previews and cache feedback#1141sheepbox8646 wants to merge 4 commits into
sheepbox8646 wants to merge 4 commits into
Conversation
sheepbox8646
force-pushed
the
workspace-deps/04-web
branch
from
September 3, 2026 08:00
2ac2545 to
68fdeb3
Compare
sheepbox8646
force-pushed
the
workspace-deps/04-web
branch
from
September 3, 2026 09:32
68fdeb3 to
1712212
Compare
sheepbox8646
force-pushed
the
workspace-deps/04-web
branch
from
September 3, 2026 09:44
1712212 to
1232032
Compare
sheepbox8646
force-pushed
the
workspace-deps/04-web
branch
from
September 3, 2026 12:19
1232032 to
07d9d44
Compare
sheepbox8646
force-pushed
the
workspace-deps/04-web
branch
from
September 3, 2026 14:18
07d9d44 to
a617f5c
Compare
sheepbox8646
force-pushed
the
workspace-deps/04-web
branch
from
September 6, 2026 08:17
a617f5c to
80b503c
Compare
sheepbox8646
force-pushed
the
workspace-deps/04-web
branch
from
September 7, 2026 15:45
80b503c to
1b234a0
Compare
This was referenced Sep 7, 2026
Adds the SDK-backed query and SSE composables for the dependency API, pure status/action/icon helpers with tests, the confirm/progress/script/rollback dialogs, and the en/zh/ja strings the dependencies tab and enable flow use. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017sihinqYWYNmZ9K842WqDJ
Adds the Dependencies tab on the bot detail page (target picker, workspace state banner, grouped rows with status badges, install/update/reinstall/ remove/rollback/script actions, streaming progress dialog with background mode and a needs-attention badge in the sidebar), gates enabling a direct agent behind a dependency preflight (install-and-enable flow, workspace not running guidance), and renders the agent_dependency_missing chat error with a link to the tab and the background install task status. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017sihinqYWYNmZ9K842WqDJ
…ies tab and icons
The bot Dependencies tab becomes a flat list of what is installed, grouped
by capability, with the version in effect, the image baseline and the
overlay badge from the new image_version/overlay fields; alignment and
required-version copy is gone. Installing lives in the Supermarket, whose
new Dependencies tab reads the bot-independent catalog endpoint and opens
an install dialog with a bot picker and an optional version input (neutral
placeholder, sent as the {version} body). The enable-agent preflight only
asks whether a copy is present. Adds Node.js, Python and uv brand icons to
@memohai/icon and records the copy rules in apps/web/AGENTS.md.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017sihinqYWYNmZ9K842WqDJ
Streaming install/update/reinstall/remove operations now live in a Pinia store keyed by bot and dependency; dialogs are viewers, so closing one lets the operation continue in the background and settles with a toast, reopening resumes the same log, and duplicate requests for a running operation are refused client-side. Progress, confirm and script dialogs get fixed widths, wrapped log lines and clipped key/value rows so long npm output no longer stretches them, and the bot page shows a banner with a retry when the workspace discovery step fails. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017sihinqYWYNmZ9K842WqDJ
sheepbox8646
force-pushed
the
workspace-deps/04-web
branch
from
September 7, 2026 15:59
1b234a0 to
6e4c9cb
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bot 依赖页、Supermarket 依赖页和启用 Agent 流程改为消费远端目录元数据,删除五个依赖的硬编码名称、描述与图标映射。名称和描述使用配方的三语翻译及通用回退,图标使用 Server 的已验证 digest 地址。
脚本预览与操作请求绑定同一 definition_revision,切换 Bot/目标或重试会重置旧预览;后台操作继续展示真实 SSE 日志与终态。目录暂时离线时展示缓存提示和重试入口,业务分支与本地化文案只依赖稳定错误码。
栈第 5/6 层:#1138 → 本 PR → #1144。验证:依赖相关 Vitest、ESLint 与 UI contract guard;实际页面验证五个远端图标加载、中文深色模式及桌面、390px 窄屏布局无横向溢出。全量 Web typecheck 仍报告仓库既有的其他页面与 UI 子模块类型错误,未把它记作通过。