@lesliechan721/aw 0.1.0-beta.17 → 0.1.0-beta.18
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/src/commands/rebuild-command.js +4 -5
- package/dist/src/commands/rebuild-command.js.map +1 -1
- package/dist/src/commands/status-v6.d.ts +2 -2
- package/dist/src/commands/status-v6.js +40 -11
- package/dist/src/commands/status-v6.js.map +1 -1
- package/dist/src/index.js +2 -2
- package/dist/src/index.js.map +1 -1
- package/dist/src/tui/console-app-v4.js +6 -3
- package/dist/src/tui/console-app-v4.js.map +1 -1
- package/dist/src/tui/model.js +25 -3
- package/dist/src/tui/model.js.map +1 -1
- package/dist/src/utils/codex-manager.d.ts +5 -7
- package/dist/src/utils/codex-manager.js +24 -97
- package/dist/src/utils/codex-manager.js.map +1 -1
- package/package.json +3 -3
|
@@ -4333,7 +4333,7 @@ export function ConsoleAppV4(props) {
|
|
|
4333
4333
|
: undefined,
|
|
4334
4334
|
};
|
|
4335
4335
|
if (action.id === 'reinstall')
|
|
4336
|
-
return { label:
|
|
4336
|
+
return { label: '重新安装…', description: '保留现有设置并重新生成受管内容', run: () => beginReview({ kind: 'pluginWrite', action: 'reinstall', pluginId: plugin.pluginId, platform: action.platform, scope: action.scope }) };
|
|
4337
4337
|
if (action.id === 'remove')
|
|
4338
4338
|
return { label: `从${scopeLabel(action.scope)}移除…`, description: '保留插件设置', status: 'error', run: () => beginPluginRemoval(plugin, action.platform, action.scope) };
|
|
4339
4339
|
if (action.id === 'cleanup')
|
|
@@ -4447,8 +4447,11 @@ export function ConsoleAppV4(props) {
|
|
|
4447
4447
|
content = _jsxs(Box, { flexDirection: "column", children: [_jsx(DiagnosticSummary, { diagnostic: diagnostic, compact: policy.mode === 'compact' }), _jsx(SemanticRows, { actions: actions, focus: effectiveFocus, kind: "action", compact: policy.mode === 'compact' })] });
|
|
4448
4448
|
}
|
|
4449
4449
|
else if (placement.health === 'incomplete') {
|
|
4450
|
-
|
|
4451
|
-
|
|
4450
|
+
const issue = props.controller.listUserIssues().find((candidate) => candidate.pluginId === plugin.pluginId
|
|
4451
|
+
&& candidate.platform === route.platform
|
|
4452
|
+
&& candidate.scope === placement.scope);
|
|
4453
|
+
title = issue?.title ?? `${platformLabel(route.platform)} 状态待同步`;
|
|
4454
|
+
description = issue?.explanation ?? '现场状态与期望状态不一致,需要重新检查并同步。';
|
|
4452
4455
|
actions = platformActions();
|
|
4453
4456
|
const actualTitle = placement.actualState === 'needsSync' ? '需要同步'
|
|
4454
4457
|
: placement.actualState === 'blocked' ? '当前有安全阻断' : '需要处理';
|