@lesliechan721/aw 0.1.0-beta.101 → 0.1.0-beta.103
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/catalog-generation.d.ts +2 -5
- package/dist/src/commands/catalog-generation.js +2 -4
- package/dist/src/commands/catalog-generation.js.map +1 -1
- package/dist/src/commands/lifecycle-command-package.d.ts +1 -1
- package/dist/src/commands/lifecycle-command-package.js +40 -2
- package/dist/src/commands/lifecycle-command-package.js.map +1 -1
- package/dist/src/commands/managed-commands.d.ts +2 -1
- package/dist/src/commands/managed-commands.js +4 -2
- package/dist/src/commands/managed-commands.js.map +1 -1
- package/dist/src/commands/operation-plan.d.ts +2 -8
- package/dist/src/commands/operation-plan.js.map +1 -1
- package/dist/src/commands/public-config-confirmation.d.ts +16 -10
- package/dist/src/commands/public-config-confirmation.js +87 -52
- package/dist/src/commands/public-config-confirmation.js.map +1 -1
- package/dist/src/commands/public-lifecycle.d.ts +1 -1
- package/dist/src/commands/public-lifecycle.js +36 -8
- package/dist/src/commands/public-lifecycle.js.map +1 -1
- package/dist/src/commands/public-plugin-query.js +6 -4
- package/dist/src/commands/public-plugin-query.js.map +1 -1
- package/dist/src/commands/rebuild-command.d.ts +22 -6
- package/dist/src/commands/rebuild-command.js +273 -557
- package/dist/src/commands/rebuild-command.js.map +1 -1
- package/dist/src/commands/rebuild-integration.d.ts +12 -39
- package/dist/src/commands/rebuild-integration.js +67 -303
- package/dist/src/commands/rebuild-integration.js.map +1 -1
- package/dist/src/commands/rebuild-operations.d.ts +0 -4
- package/dist/src/commands/rebuild-operations.js +9 -8
- package/dist/src/commands/rebuild-operations.js.map +1 -1
- package/dist/src/commands/rebuild-platform-integration.d.ts +14 -6
- package/dist/src/commands/rebuild-platform-integration.js +310 -101
- package/dist/src/commands/rebuild-platform-integration.js.map +1 -1
- package/dist/src/commands/status-v6.d.ts +3 -117
- package/dist/src/commands/status-v6.js +0 -2886
- package/dist/src/commands/status-v6.js.map +1 -1
- package/dist/src/commands/write-commands.js +0 -3
- package/dist/src/commands/write-commands.js.map +1 -1
- package/dist/src/index.js +44 -36
- package/dist/src/index.js.map +1 -1
- package/dist/src/intent/deployment-preferences.js +4 -3
- package/dist/src/intent/deployment-preferences.js.map +1 -1
- package/dist/src/intent/intent-store.js +3 -2
- package/dist/src/intent/intent-store.js.map +1 -1
- package/dist/src/output/command-receipt.d.ts +0 -6
- package/dist/src/output/command-receipt.js +0 -15
- package/dist/src/output/command-receipt.js.map +1 -1
- package/dist/src/output/receipt-projection.js +2 -1
- package/dist/src/output/receipt-projection.js.map +1 -1
- package/dist/src/platforms/capabilities.js +8 -2
- package/dist/src/platforms/capabilities.js.map +1 -1
- package/dist/src/platforms/contracts.d.ts +2 -0
- package/dist/src/platforms/discovery.d.ts +2 -0
- package/dist/src/platforms/discovery.js +95 -49
- package/dist/src/platforms/discovery.js.map +1 -1
- package/dist/src/platforms/inspection-native.d.ts +7 -1
- package/dist/src/platforms/inspection-native.js +6 -3
- package/dist/src/platforms/inspection-native.js.map +1 -1
- package/dist/src/platforms/inspection-query.d.ts +28 -14
- package/dist/src/platforms/inspection-query.js +102 -8
- package/dist/src/platforms/inspection-query.js.map +1 -1
- package/dist/src/platforms/lifecycle-native-services.d.ts +1 -1
- package/dist/src/platforms/lifecycle-native-services.js +7 -2
- package/dist/src/platforms/lifecycle-native-services.js.map +1 -1
- package/dist/src/platforms/lifecycle-native.js +20 -3
- package/dist/src/platforms/lifecycle-native.js.map +1 -1
- package/dist/src/platforms/lifecycle.js +5 -0
- package/dist/src/platforms/lifecycle.js.map +1 -1
- package/dist/src/platforms/supplement-state.js +11 -2
- package/dist/src/platforms/supplement-state.js.map +1 -1
- package/dist/src/portable/commands.d.ts +1 -0
- package/dist/src/portable/commands.js.map +1 -1
- package/dist/src/portable/materializer.d.ts +2 -0
- package/dist/src/portable/materializer.js +4 -4
- package/dist/src/portable/materializer.js.map +1 -1
- package/dist/src/portable/recovery.d.ts +1 -0
- package/dist/src/portable/recovery.js +3 -2
- package/dist/src/portable/recovery.js.map +1 -1
- package/dist/src/recovery/coordinator.d.ts +6 -1
- package/dist/src/recovery/coordinator.js +113 -108
- package/dist/src/recovery/coordinator.js.map +1 -1
- package/dist/src/recovery/demand.d.ts +1 -2
- package/dist/src/recovery/demand.js +4 -11
- package/dist/src/recovery/demand.js.map +1 -1
- package/dist/src/recovery/install-concurrency.d.ts +12 -0
- package/dist/src/recovery/install-concurrency.js +39 -0
- package/dist/src/recovery/install-concurrency.js.map +1 -1
- package/dist/src/recovery/joint-coordinator.d.ts +3 -4
- package/dist/src/recovery/joint-coordinator.js +324 -188
- package/dist/src/recovery/joint-coordinator.js.map +1 -1
- package/dist/src/recovery/joint-demand.js +4 -3
- package/dist/src/recovery/joint-demand.js.map +1 -1
- package/dist/src/recovery/joint-install-execution.js +46 -2
- package/dist/src/recovery/joint-install-execution.js.map +1 -1
- package/dist/src/recovery/joint-install-native-rebase.js +5 -2
- package/dist/src/recovery/joint-install-native-rebase.js.map +1 -1
- package/dist/src/recovery/locked-prepared-execution.d.ts +32 -0
- package/dist/src/recovery/locked-prepared-execution.js +67 -0
- package/dist/src/recovery/locked-prepared-execution.js.map +1 -0
- package/dist/src/recovery/status.d.ts +20 -6
- package/dist/src/recovery/status.js +153 -98
- package/dist/src/recovery/status.js.map +1 -1
- package/dist/src/review/skill-materialization.d.ts +1 -0
- package/dist/src/review/skill-materialization.js.map +1 -1
- package/dist/src/tui/console-app-v4.js +4 -14
- package/dist/src/tui/console-app-v4.js.map +1 -1
- package/dist/src/tui/controller-runtime.js +201 -57
- package/dist/src/tui/controller-runtime.js.map +1 -1
- package/dist/src/tui/controller.d.ts +8 -9
- package/dist/src/tui/controller.js +5 -6
- package/dist/src/tui/controller.js.map +1 -1
- package/dist/src/tui/operation-review-planner.js +14 -103
- package/dist/src/tui/operation-review-planner.js.map +1 -1
- package/dist/src/types.d.ts +5 -1
- package/dist/src/types.js.map +1 -1
- package/dist/src/utils/agent-version.js +1 -0
- package/dist/src/utils/agent-version.js.map +1 -1
- package/dist/src/utils/artifact-renderer.d.ts +10 -0
- package/dist/src/utils/artifact-renderer.js +28 -2
- package/dist/src/utils/artifact-renderer.js.map +1 -1
- package/dist/src/utils/aw-home-mutation-lock.d.ts +8 -0
- package/dist/src/utils/aw-home-mutation-lock.js +44 -8
- package/dist/src/utils/aw-home-mutation-lock.js.map +1 -1
- package/dist/src/utils/bundle-integrity.js +126 -33
- package/dist/src/utils/bundle-integrity.js.map +1 -1
- package/dist/src/utils/catalog-generation-resolver.d.ts +4 -0
- package/dist/src/utils/catalog-generation-resolver.js +4 -0
- package/dist/src/utils/catalog-generation-resolver.js.map +1 -1
- package/dist/src/utils/catalog-generation-service.d.ts +50 -11
- package/dist/src/utils/catalog-generation-service.js +276 -130
- package/dist/src/utils/catalog-generation-service.js.map +1 -1
- package/dist/src/utils/catalog-generation-state.js +6 -1
- package/dist/src/utils/catalog-generation-state.js.map +1 -1
- package/dist/src/utils/catalog-generation-store.d.ts +5 -0
- package/dist/src/utils/catalog-generation-store.js +36 -13
- package/dist/src/utils/catalog-generation-store.js.map +1 -1
- package/dist/src/utils/catalog-operation-context.d.ts +17 -3
- package/dist/src/utils/catalog-operation-context.js +220 -22
- package/dist/src/utils/catalog-operation-context.js.map +1 -1
- package/dist/src/utils/catalog-performance.d.ts +3 -0
- package/dist/src/utils/catalog-performance.js +26 -0
- package/dist/src/utils/catalog-performance.js.map +1 -0
- package/dist/src/utils/catalog-snapshot.d.ts +5 -2
- package/dist/src/utils/catalog-snapshot.js +3 -2
- package/dist/src/utils/catalog-snapshot.js.map +1 -1
- package/dist/src/utils/catalog-source-impact.d.ts +2 -1
- package/dist/src/utils/catalog-source-impact.js +2 -2
- package/dist/src/utils/catalog-source-impact.js.map +1 -1
- package/dist/src/utils/catalog-source-references.d.ts +2 -0
- package/dist/src/utils/catalog-source-references.js +284 -148
- package/dist/src/utils/catalog-source-references.js.map +1 -1
- package/dist/src/utils/codex-executable-discovery.js +1 -0
- package/dist/src/utils/codex-executable-discovery.js.map +1 -1
- package/dist/src/utils/codex-manager.js +1 -0
- package/dist/src/utils/codex-manager.js.map +1 -1
- package/dist/src/utils/codex-native-observation.d.ts +5 -2
- package/dist/src/utils/codex-native-observation.js +8 -4
- package/dist/src/utils/codex-native-observation.js.map +1 -1
- package/dist/src/utils/component-command-preparation.d.ts +1 -0
- package/dist/src/utils/component-command-preparation.js.map +1 -1
- package/dist/src/utils/git-catalog-provider.d.ts +38 -5
- package/dist/src/utils/git-catalog-provider.js +365 -156
- package/dist/src/utils/git-catalog-provider.js.map +1 -1
- package/dist/src/utils/managed-command-closure.d.ts +3 -1
- package/dist/src/utils/managed-command-closure.js +10 -5
- package/dist/src/utils/managed-command-closure.js.map +1 -1
- package/dist/src/utils/managed-command-materialization.d.ts +2 -0
- package/dist/src/utils/managed-command-materialization.js +4 -3
- package/dist/src/utils/managed-command-materialization.js.map +1 -1
- package/dist/src/utils/managed-command-preparation.js +1 -1
- package/dist/src/utils/managed-command-preparation.js.map +1 -1
- package/dist/src/utils/multi-source-catalog.d.ts +1 -1
- package/dist/src/utils/multi-source-catalog.js +3 -3
- package/dist/src/utils/multi-source-catalog.js.map +1 -1
- package/dist/src/utils/native-cli.d.ts +6 -1
- package/dist/src/utils/native-cli.js +67 -32
- package/dist/src/utils/native-cli.js.map +1 -1
- package/dist/src/utils/platform-empty-state.d.ts +2 -0
- package/dist/src/utils/platform-empty-state.js +5 -5
- package/dist/src/utils/platform-empty-state.js.map +1 -1
- package/dist/src/utils/plugin-config-command-apply.d.ts +14 -4
- package/dist/src/utils/plugin-config-command-apply.js +49 -5
- package/dist/src/utils/plugin-config-command-apply.js.map +1 -1
- package/dist/src/utils/plugin-config-impact.d.ts +42 -0
- package/dist/src/utils/plugin-config-impact.js +170 -14
- package/dist/src/utils/plugin-config-impact.js.map +1 -1
- package/dist/src/utils/plugin-config-references.d.ts +3 -1
- package/dist/src/utils/plugin-config-references.js +3 -5
- package/dist/src/utils/plugin-config-references.js.map +1 -1
- package/dist/src/utils/plugin-config-write.d.ts +14 -5
- package/dist/src/utils/plugin-config-write.js +213 -117
- package/dist/src/utils/plugin-config-write.js.map +1 -1
- package/dist/src/utils/plugin-config.d.ts +2 -0
- package/dist/src/utils/plugin-config.js.map +1 -1
- package/dist/src/utils/plugin-scripts.d.ts +2 -0
- package/dist/src/utils/plugin-scripts.js +102 -3
- package/dist/src/utils/plugin-scripts.js.map +1 -1
- package/package.json +3 -5
- package/dist/src/utils/codex-reconciler.d.ts +0 -123
- package/dist/src/utils/codex-reconciler.js +0 -322
- package/dist/src/utils/codex-reconciler.js.map +0 -1
|
@@ -1,14 +1,8 @@
|
|
|
1
|
-
import { type DemandSnapshot } from '../recovery/demand.js';
|
|
2
|
-
import type { NativeObservation } from '../recovery/status.js';
|
|
3
1
|
import type { CatalogSource, PlatformName, PlatformTarget, PluginConfigSchemaField, Scope } from '../types.js';
|
|
4
|
-
import {
|
|
5
|
-
import { inventoryCatalogSourceReferences, type CatalogSourceReference } from '../utils/catalog-source-references.js';
|
|
6
|
-
import type { CatalogOperationContext } from '../utils/catalog-operation-context.js';
|
|
7
|
-
import { type NativeCliRunner } from '../utils/native-cli.js';
|
|
8
|
-
import { createCodexNativeObservationSession, type CodexNativeObservationSession } from '../utils/codex-native-observation.js';
|
|
2
|
+
import type { CodexExtensionKind } from '../utils/codex-surface-analysis.js';
|
|
9
3
|
import type { ArtifactCollisionEvidence } from '../utils/ownership.js';
|
|
10
|
-
import {
|
|
11
|
-
|
|
4
|
+
import type { SystemCodexInspection } from '../utils/codex-manager.js';
|
|
5
|
+
/** Shared TUI projection types and helpers; live observations come from RecoveryStatus. */
|
|
12
6
|
export interface StatusV8CatalogSource {
|
|
13
7
|
id: string;
|
|
14
8
|
identity: string;
|
|
@@ -71,7 +65,6 @@ export interface StatusV8RecoveryAction {
|
|
|
71
65
|
scope?: Scope;
|
|
72
66
|
description: string;
|
|
73
67
|
}
|
|
74
|
-
export type StatusV8DependencyReadinessState = 'ready' | 'absent' | 'blockedByCollision' | 'incomplete' | 'error';
|
|
75
68
|
export interface StatusV8Component {
|
|
76
69
|
kind: 'intent' | 'ownership' | 'sharedNative' | 'activation' | 'extension' | 'dependency' | 'systemConsumer';
|
|
77
70
|
key: string;
|
|
@@ -100,7 +93,6 @@ export interface StatusSharedNativeProjection {
|
|
|
100
93
|
diagnostic?: string;
|
|
101
94
|
staleCacheObserved?: boolean;
|
|
102
95
|
}
|
|
103
|
-
export declare function projectStatusSharedNativeReasons(sharedNative: StatusSharedNativeProjection | undefined, existingReasonCodes?: readonly string[], desiredEnabled?: boolean): StatusV8Reason[];
|
|
104
96
|
type StatusSystemCodexInspection = Exclude<SystemCodexInspection, {
|
|
105
97
|
state: 'compatible';
|
|
106
98
|
}> | Omit<Extract<SystemCodexInspection, {
|
|
@@ -210,110 +202,4 @@ export interface LiveConsoleItem {
|
|
|
210
202
|
pluginSummary?: Omit<StatusV8PluginSummary, 'pluginName' | 'pluginId'>;
|
|
211
203
|
targets: StatusScopedTarget[];
|
|
212
204
|
}
|
|
213
|
-
export interface ConsoleItemsLoadResult {
|
|
214
|
-
items: LiveConsoleItem[];
|
|
215
|
-
catalogUnavailable: boolean;
|
|
216
|
-
status: StatusV8Payload;
|
|
217
|
-
}
|
|
218
|
-
export declare function setStatusDependencyInspectionHookForTests(hook: (() => void) | undefined): void;
|
|
219
|
-
export declare function loadConsoleItemsResult(options?: {
|
|
220
|
-
cwd?: string;
|
|
221
|
-
platform?: string;
|
|
222
|
-
scope?: string;
|
|
223
|
-
verbose?: boolean;
|
|
224
|
-
}, runtime?: {
|
|
225
|
-
env?: NodeJS.ProcessEnv;
|
|
226
|
-
}): Promise<ConsoleItemsLoadResult>;
|
|
227
|
-
export declare function loadConsoleItems(options?: {
|
|
228
|
-
cwd?: string;
|
|
229
|
-
platform?: string;
|
|
230
|
-
scope?: string;
|
|
231
|
-
verbose?: boolean;
|
|
232
|
-
}, runtime?: {
|
|
233
|
-
env?: NodeJS.ProcessEnv;
|
|
234
|
-
}): Promise<LiveConsoleItem[]>;
|
|
235
|
-
interface DesiredTargetState {
|
|
236
|
-
scopes: Scope[];
|
|
237
|
-
relation: 'root' | 'dependency' | 'managed' | 'none';
|
|
238
|
-
}
|
|
239
|
-
type NativeIntentObservation = {
|
|
240
|
-
state: 'ready';
|
|
241
|
-
value: NativeDemandView;
|
|
242
|
-
} | {
|
|
243
|
-
state: 'absent';
|
|
244
|
-
} | {
|
|
245
|
-
state: 'invalid' | 'unavailable';
|
|
246
|
-
code: string;
|
|
247
|
-
message: string;
|
|
248
|
-
};
|
|
249
|
-
export declare function statusRecovery(options: {
|
|
250
|
-
state: StatusV8State;
|
|
251
|
-
desired: DesiredTargetState;
|
|
252
|
-
platform: PlatformName;
|
|
253
|
-
pluginId: string;
|
|
254
|
-
dependencyMoves?: Array<{
|
|
255
|
-
pluginId: string;
|
|
256
|
-
fromScope: Scope;
|
|
257
|
-
toScope: Scope;
|
|
258
|
-
}>;
|
|
259
|
-
sharedNative?: StatusSharedNativeProjection;
|
|
260
|
-
scope?: Scope;
|
|
261
|
-
actualEnabled?: boolean;
|
|
262
|
-
conflictRoots?: Partial<Record<Scope, string[]>>;
|
|
263
|
-
errorCodes?: string[];
|
|
264
|
-
}): StatusV8RecoveryAction[];
|
|
265
|
-
export declare function projectTargetRevision(availableVersion: string | undefined, installedVersion: string | undefined): TargetRevisionState;
|
|
266
|
-
declare function statusCommandV8InSession(options: {
|
|
267
|
-
plugins?: string[];
|
|
268
|
-
cwd: string;
|
|
269
|
-
env?: NodeJS.ProcessEnv;
|
|
270
|
-
signal?: AbortSignal;
|
|
271
|
-
nativeCliRunner?: NativeCliRunner;
|
|
272
|
-
cliVersion?: string;
|
|
273
|
-
platform?: string;
|
|
274
|
-
scope?: string;
|
|
275
|
-
json?: boolean;
|
|
276
|
-
verbose?: boolean;
|
|
277
|
-
catalogOperationContext?: CatalogOperationContext;
|
|
278
|
-
recoveryDemand?: DemandSnapshot;
|
|
279
|
-
recoverySelection?: {
|
|
280
|
-
targets?: readonly string[];
|
|
281
|
-
};
|
|
282
|
-
inventoryCatalogSourceReferences?: typeof inventoryCatalogSourceReferences;
|
|
283
|
-
codexObservationSession: Awaited<ReturnType<typeof createCodexNativeObservationSession>>;
|
|
284
|
-
}): Promise<{
|
|
285
|
-
payload: StatusV8Payload;
|
|
286
|
-
output: string;
|
|
287
|
-
hasErrors: boolean;
|
|
288
|
-
pluginSummaries: StatusV8PluginSummary[];
|
|
289
|
-
targetRevisions: StatusTargetRevision[];
|
|
290
|
-
projectRoot?: string;
|
|
291
|
-
projectIntentObservation: NativeIntentObservation;
|
|
292
|
-
nativeObservations: NativeObservation[];
|
|
293
|
-
nativeExtraObserved: Array<{
|
|
294
|
-
pluginId: string;
|
|
295
|
-
platform?: PlatformName;
|
|
296
|
-
scope: Scope;
|
|
297
|
-
reference: CatalogSourceReference;
|
|
298
|
-
}>;
|
|
299
|
-
}>;
|
|
300
|
-
export declare function statusCommandV8(options: {
|
|
301
|
-
plugins?: string[];
|
|
302
|
-
cwd: string;
|
|
303
|
-
env?: NodeJS.ProcessEnv;
|
|
304
|
-
signal?: AbortSignal;
|
|
305
|
-
nativeCliRunner?: NativeCliRunner;
|
|
306
|
-
cliVersion?: string;
|
|
307
|
-
platform?: string;
|
|
308
|
-
scope?: string;
|
|
309
|
-
json?: boolean;
|
|
310
|
-
verbose?: boolean;
|
|
311
|
-
catalogOperationContext?: CatalogOperationContext;
|
|
312
|
-
recoveryDemand?: DemandSnapshot;
|
|
313
|
-
recoverySelection?: {
|
|
314
|
-
targets?: readonly string[];
|
|
315
|
-
};
|
|
316
|
-
inventoryCatalogSourceReferences?: typeof inventoryCatalogSourceReferences;
|
|
317
|
-
codexObservationSession?: CodexNativeObservationSession;
|
|
318
|
-
}): ReturnType<typeof statusCommandV8InSession>;
|
|
319
205
|
export {};
|