@lesliechan721/aw 0.1.0-beta.16 → 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/offline-cleanup-evidence.d.ts +8 -0
- package/dist/src/commands/offline-cleanup-evidence.js +18 -0
- package/dist/src/commands/offline-cleanup-evidence.js.map +1 -1
- package/dist/src/commands/rebuild-command.d.ts +4 -1
- package/dist/src/commands/rebuild-command.js +662 -177
- 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 +3 -3
- package/dist/src/index.js.map +1 -1
- package/dist/src/output/command-receipt.js +11 -6
- package/dist/src/output/command-receipt.js.map +1 -1
- package/dist/src/tui/console-app-v4.js +9 -6
- package/dist/src/tui/console-app-v4.js.map +1 -1
- package/dist/src/tui/controller-runtime.js +191 -151
- package/dist/src/tui/controller-runtime.js.map +1 -1
- package/dist/src/tui/controller.d.ts +1 -0
- package/dist/src/tui/controller.js +10 -7
- package/dist/src/tui/controller.js.map +1 -1
- package/dist/src/tui/model.d.ts +1 -1
- package/dist/src/tui/model.js +42 -8
- package/dist/src/tui/model.js.map +1 -1
- package/dist/src/tui/operation-review-planner.js +103 -26
- package/dist/src/tui/operation-review-planner.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
package/dist/src/index.js
CHANGED
|
@@ -2549,7 +2549,7 @@ export function buildProgram(options = {}) {
|
|
|
2549
2549
|
.option('-s, --scope <scope>', 'project or user')
|
|
2550
2550
|
.option('-p, --platform <platform>', 'codex | claude | both')
|
|
2551
2551
|
.option('-j, --json', 'print cleanup result as JSON', false)
|
|
2552
|
-
.option('--force', '
|
|
2552
|
+
.option('--force', 'use exact shallow evidence for exclusively owned damaged output; preserve foreign and shared content', false)
|
|
2553
2553
|
.option('--allow-managed-codex-install', 'allow this command to acquire or rebuild the pinned AW-managed Codex runtime', false)
|
|
2554
2554
|
.option('-v, --verbose', 'show command diagnostics', false)
|
|
2555
2555
|
.option('-D, --debug', 'write debug diagnostics to a log file', false)
|
|
@@ -3197,11 +3197,11 @@ export function buildProgram(options = {}) {
|
|
|
3197
3197
|
commandExitState.exitCode = result.hasErrors ? 1 : 0;
|
|
3198
3198
|
writeLine(io.stdout, result.output);
|
|
3199
3199
|
for (const source of result.payload.catalog.sources) {
|
|
3200
|
-
if (source.error)
|
|
3200
|
+
if (rawOptions.json && source.error)
|
|
3201
3201
|
writeLine(io.stderr, `${source.id}: ${source.error}`);
|
|
3202
3202
|
}
|
|
3203
3203
|
for (const error of result.payload.errors) {
|
|
3204
|
-
if (error.code !== 'nativeStateUnreadable' && error.code !== 'stateInventoryFailed') {
|
|
3204
|
+
if (rawOptions.json && error.code !== 'nativeStateUnreadable' && error.code !== 'stateInventoryFailed') {
|
|
3205
3205
|
writeLine(io.stderr, error.message);
|
|
3206
3206
|
}
|
|
3207
3207
|
}
|