@lesliechan721/aw 0.1.0-beta.19 → 0.1.0-beta.20
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 +0 -5
- package/dist/src/commands/rebuild-command.js.map +1 -1
- package/dist/src/commands/rebuild-integration.d.ts +0 -1
- package/dist/src/commands/rebuild-integration.js +3 -152
- package/dist/src/commands/rebuild-integration.js.map +1 -1
- package/dist/src/tui/console-app-v4.js +9 -2
- package/dist/src/tui/console-app-v4.js.map +1 -1
- package/dist/src/tui/controller-runtime.js +29 -9
- package/dist/src/tui/controller-runtime.js.map +1 -1
- package/dist/src/tui/controller.js +4 -0
- package/dist/src/tui/controller.js.map +1 -1
- package/package.json +3 -3
|
@@ -2716,6 +2716,10 @@ export class TuiController {
|
|
|
2716
2716
|
const preparationRecordId = `${this.#sessionEpoch}:${active.snapshot.id}`;
|
|
2717
2717
|
const carriedDiagnostics = error instanceof TuiOperationBlockedError
|
|
2718
2718
|
? error.diagnostics : undefined;
|
|
2719
|
+
if (carriedDiagnostics?.length) {
|
|
2720
|
+
active.snapshot.message = `无法准备确认信息:${carriedDiagnostics.slice(0, 3)
|
|
2721
|
+
.map((diagnostic) => sanitizeDiagnosticText(`${diagnostic.target?.pluginId ? `${diagnostic.target.pluginId}:` : ''}${diagnostic.safeMessage}(${safeDiagnosticCode(diagnostic.code, 'operationBlocked')})`, [], collectOperationSensitiveValues(intent))).join(';')}`;
|
|
2722
|
+
}
|
|
2719
2723
|
const preparationDiagnostics = carriedDiagnostics?.length
|
|
2720
2724
|
? carriedDiagnostics.map((diagnostic, index) => ({
|
|
2721
2725
|
...structuredClone(diagnostic),
|