@lesliechan721/aw 0.1.0-beta.10 → 0.1.0-beta.11
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/authoring/assets/aw-config.d.mts +1 -50
- package/dist/authoring/assets/aw-config.mjs +58 -928
- package/dist/authoring/assets/aw-config.mjs.map +1 -1
- package/dist/authoring/scripts/init-plugin.mjs +28 -33
- package/dist/authoring/scripts/init-plugin.mjs.map +1 -1
- package/dist/authoring/scripts/lib/plugin-version-check.d.mts +1 -0
- package/dist/authoring/scripts/lib/plugin-version-check.mjs +229 -8
- package/dist/authoring/scripts/lib/plugin-version-check.mjs.map +1 -1
- package/dist/authoring/scripts/validate-plugin.mjs +165 -45
- package/dist/authoring/scripts/validate-plugin.mjs.map +1 -1
- package/dist/scripts/bundle-plugins.js +18 -4
- package/dist/scripts/bundle-plugins.js.map +1 -1
- package/dist/scripts/test-plugin-scripts.d.ts +2 -0
- package/dist/scripts/test-plugin-scripts.js +21 -5
- package/dist/scripts/test-plugin-scripts.js.map +1 -1
- package/dist/src/commands/aw-capabilities.d.ts +1 -1
- package/dist/src/commands/aw-capabilities.js +1 -1
- package/dist/src/commands/aw-capabilities.js.map +1 -1
- package/dist/src/commands/catalog-dev-source.d.ts +6 -3
- package/dist/src/commands/catalog-dev-source.js +96 -35
- package/dist/src/commands/catalog-dev-source.js.map +1 -1
- package/dist/src/commands/catalog-publication-inspection.d.ts +1 -1
- package/dist/src/commands/catalog-publication-inspection.js +54 -8
- package/dist/src/commands/catalog-publication-inspection.js.map +1 -1
- package/dist/src/commands/catalog-publication-journal.js +1 -1
- package/dist/src/commands/catalog-publication-journal.js.map +1 -1
- package/dist/src/commands/catalog-source.d.ts +19 -4
- package/dist/src/commands/catalog-source.js +121 -12
- package/dist/src/commands/catalog-source.js.map +1 -1
- package/dist/src/commands/catalog-store.d.ts +26 -7
- package/dist/src/commands/catalog-store.js +361 -42
- package/dist/src/commands/catalog-store.js.map +1 -1
- package/dist/src/commands/console.js +28 -17
- package/dist/src/commands/console.js.map +1 -1
- package/dist/src/commands/operation-plan.d.ts +2 -1
- package/dist/src/commands/operation-plan.js +24 -0
- package/dist/src/commands/operation-plan.js.map +1 -1
- package/dist/src/commands/operation-planner.d.ts +2 -2
- package/dist/src/commands/operation-planner.js +11 -19
- package/dist/src/commands/operation-planner.js.map +1 -1
- package/dist/src/commands/options.d.ts +2 -2
- package/dist/src/commands/options.js +18 -4
- package/dist/src/commands/options.js.map +1 -1
- package/dist/src/commands/plugin-capabilities.js +2 -2
- package/dist/src/commands/plugin-capabilities.js.map +1 -1
- package/dist/src/commands/rebuild-command.d.ts +7 -0
- package/dist/src/commands/rebuild-command.js +769 -279
- package/dist/src/commands/rebuild-command.js.map +1 -1
- package/dist/src/commands/rebuild-integration.d.ts +24 -47
- package/dist/src/commands/rebuild-integration.js +1074 -1011
- package/dist/src/commands/rebuild-integration.js.map +1 -1
- package/dist/src/commands/rebuild-operations.d.ts +50 -12
- package/dist/src/commands/rebuild-operations.js +207 -101
- package/dist/src/commands/rebuild-operations.js.map +1 -1
- package/dist/src/commands/status-v6.d.ts +21 -2
- package/dist/src/commands/status-v6.js +163 -31
- package/dist/src/commands/status-v6.js.map +1 -1
- package/dist/src/commands/sync-command.d.ts +17 -0
- package/dist/src/commands/sync-command.js +45 -37
- package/dist/src/commands/sync-command.js.map +1 -1
- package/dist/src/commands/write-commands.d.ts +5 -0
- package/dist/src/commands/write-commands.js +50 -3
- package/dist/src/commands/write-commands.js.map +1 -1
- package/dist/src/generators/local-plugin.js +14 -4
- package/dist/src/generators/local-plugin.js.map +1 -1
- package/dist/src/index.js +216 -85
- package/dist/src/index.js.map +1 -1
- package/dist/src/output/command-receipt.js +1 -3
- package/dist/src/output/command-receipt.js.map +1 -1
- package/dist/src/output/rebuild-progress.js +1 -3
- package/dist/src/output/rebuild-progress.js.map +1 -1
- package/dist/src/portable/materializer.js +6 -6
- package/dist/src/portable/materializer.js.map +1 -1
- package/dist/src/tui/catalog-generation.js +41 -1
- package/dist/src/tui/catalog-generation.js.map +1 -1
- package/dist/src/tui/catalog-sources/session.d.ts +1 -0
- package/dist/src/tui/catalog-sources/session.js +16 -3
- package/dist/src/tui/catalog-sources/session.js.map +1 -1
- package/dist/src/tui/catalog-sources/types.d.ts +3 -2
- package/dist/src/tui/components.d.ts +4 -0
- package/dist/src/tui/components.js +36 -24
- package/dist/src/tui/components.js.map +1 -1
- package/dist/src/tui/console-app-v4.d.ts +13 -4
- package/dist/src/tui/console-app-v4.js +2067 -839
- package/dist/src/tui/console-app-v4.js.map +1 -1
- package/dist/src/tui/controller-runtime.js +585 -33
- package/dist/src/tui/controller-runtime.js.map +1 -1
- package/dist/src/tui/controller.d.ts +152 -6
- package/dist/src/tui/controller.js +1168 -156
- package/dist/src/tui/controller.js.map +1 -1
- package/dist/src/tui/diagnostic-projection.d.ts +22 -0
- package/dist/src/tui/diagnostic-projection.js +437 -0
- package/dist/src/tui/diagnostic-projection.js.map +1 -0
- package/dist/src/tui/diagnostics.d.ts +1 -1
- package/dist/src/tui/diagnostics.js +6 -1
- package/dist/src/tui/diagnostics.js.map +1 -1
- package/dist/src/tui/glossary.d.ts +23 -0
- package/dist/src/tui/glossary.js +42 -0
- package/dist/src/tui/glossary.js.map +1 -0
- package/dist/src/tui/index.d.ts +4 -1
- package/dist/src/tui/index.js +4 -1
- package/dist/src/tui/index.js.map +1 -1
- package/dist/src/tui/keys.d.ts +44 -0
- package/dist/src/tui/keys.js +43 -15
- package/dist/src/tui/keys.js.map +1 -1
- package/dist/src/tui/lifecycle-action-view.d.ts +6 -0
- package/dist/src/tui/lifecycle-action-view.js +34 -0
- package/dist/src/tui/lifecycle-action-view.js.map +1 -0
- package/dist/src/tui/model.d.ts +12 -2
- package/dist/src/tui/model.js +128 -52
- package/dist/src/tui/model.js.map +1 -1
- package/dist/src/tui/operation-diagnostic-screens.d.ts +21 -0
- package/dist/src/tui/operation-diagnostic-screens.js +101 -0
- package/dist/src/tui/operation-diagnostic-screens.js.map +1 -0
- package/dist/src/tui/operation-history.d.ts +80 -0
- package/dist/src/tui/operation-history.js +130 -0
- package/dist/src/tui/operation-history.js.map +1 -0
- package/dist/src/tui/operation-review-planner.js +306 -86
- package/dist/src/tui/operation-review-planner.js.map +1 -1
- package/dist/src/tui/router.d.ts +82 -17
- package/dist/src/tui/router.js +186 -38
- package/dist/src/tui/router.js.map +1 -1
- package/dist/src/tui/screen-registry.d.ts +546 -0
- package/dist/src/tui/screen-registry.js +179 -0
- package/dist/src/tui/screen-registry.js.map +1 -0
- package/dist/src/tui/session-console-app.d.ts +6 -0
- package/dist/src/tui/session-console-app.js +13 -0
- package/dist/src/tui/session-console-app.js.map +1 -0
- package/dist/src/tui/session-host.d.ts +44 -0
- package/dist/src/tui/session-host.js +197 -0
- package/dist/src/tui/session-host.js.map +1 -0
- package/dist/src/types.d.ts +64 -3
- package/dist/src/types.js +1 -1
- package/dist/src/types.js.map +1 -1
- package/dist/src/utils/agent-version.js +1 -1
- package/dist/src/utils/agent-version.js.map +1 -1
- package/dist/src/utils/artifact-renderer.d.ts +2 -1
- package/dist/src/utils/artifact-renderer.js +52 -52
- package/dist/src/utils/artifact-renderer.js.map +1 -1
- package/dist/src/utils/bundle-layout.js +4 -4
- package/dist/src/utils/bundle-layout.js.map +1 -1
- package/dist/src/utils/catalog-capability-projection.d.ts +8 -0
- package/dist/src/utils/catalog-capability-projection.js +14 -0
- package/dist/src/utils/catalog-capability-projection.js.map +1 -0
- package/dist/src/utils/catalog-generation-resolver.d.ts +14 -2
- package/dist/src/utils/catalog-generation-resolver.js +49 -27
- package/dist/src/utils/catalog-generation-resolver.js.map +1 -1
- package/dist/src/utils/catalog-generation-service.d.ts +8 -1
- package/dist/src/utils/catalog-generation-service.js +81 -47
- package/dist/src/utils/catalog-generation-service.js.map +1 -1
- package/dist/src/utils/catalog-generation-store.d.ts +1 -0
- package/dist/src/utils/catalog-generation-store.js +60 -5
- package/dist/src/utils/catalog-generation-store.js.map +1 -1
- package/dist/src/utils/catalog-operation-context.js +1 -0
- package/dist/src/utils/catalog-operation-context.js.map +1 -1
- package/dist/src/utils/catalog-public-error.js +4 -0
- package/dist/src/utils/catalog-public-error.js.map +1 -1
- package/dist/src/utils/catalog-source-impact.d.ts +3 -2
- package/dist/src/utils/catalog-source-impact.js +142 -20
- package/dist/src/utils/catalog-source-impact.js.map +1 -1
- package/dist/src/utils/catalog-source-references.js +95 -9
- package/dist/src/utils/catalog-source-references.js.map +1 -1
- package/dist/src/utils/catalog-sources.d.ts +1 -1
- package/dist/src/utils/catalog-sources.js +19 -3
- package/dist/src/utils/catalog-sources.js.map +1 -1
- package/dist/src/utils/codex-manager.js +8 -0
- package/dist/src/utils/codex-manager.js.map +1 -1
- package/dist/src/utils/codex-native-observation.d.ts +34 -1
- package/dist/src/utils/codex-native-observation.js +132 -0
- package/dist/src/utils/codex-native-observation.js.map +1 -1
- package/dist/src/utils/codex-reconciler.d.ts +0 -2
- package/dist/src/utils/codex-reconciler.js.map +1 -1
- package/dist/src/utils/codex-shared-native.d.ts +2 -26
- package/dist/src/utils/codex-shared-native.js +8 -82
- package/dist/src/utils/codex-shared-native.js.map +1 -1
- package/dist/src/utils/git-catalog-provider.d.ts +3 -0
- package/dist/src/utils/git-catalog-provider.js +40 -1
- package/dist/src/utils/git-catalog-provider.js.map +1 -1
- package/dist/src/utils/local-marketplace.d.ts +1 -0
- package/dist/src/utils/local-marketplace.js +69 -73
- package/dist/src/utils/local-marketplace.js.map +1 -1
- package/dist/src/utils/multi-source-catalog.js +1 -0
- package/dist/src/utils/multi-source-catalog.js.map +1 -1
- package/dist/src/utils/native-cli.d.ts +9 -4
- package/dist/src/utils/native-cli.js +280 -34
- package/dist/src/utils/native-cli.js.map +1 -1
- package/dist/src/utils/path-catalog-provider.js +2 -0
- package/dist/src/utils/path-catalog-provider.js.map +1 -1
- package/dist/src/utils/plugin-config-write.d.ts +15 -13
- package/dist/src/utils/plugin-config-write.js +418 -198
- package/dist/src/utils/plugin-config-write.js.map +1 -1
- package/dist/src/utils/plugin-config.d.ts +48 -4
- package/dist/src/utils/plugin-config.js +289 -38
- package/dist/src/utils/plugin-config.js.map +1 -1
- package/dist/src/utils/plugin-scripts.d.ts +20 -12
- package/dist/src/utils/plugin-scripts.js +376 -109
- package/dist/src/utils/plugin-scripts.js.map +1 -1
- package/dist/src/utils/process-tree.d.ts +2 -2
- package/dist/src/utils/process-tree.js +1 -1
- package/dist/src/utils/process-tree.js.map +1 -1
- package/dist/src/utils/project-boundary.d.ts +11 -1
- package/dist/src/utils/project-boundary.js +17 -8
- package/dist/src/utils/project-boundary.js.map +1 -1
- package/dist/src/utils/safe-operation-diagnostic.d.ts +15 -0
- package/dist/src/utils/safe-operation-diagnostic.js +33 -0
- package/dist/src/utils/safe-operation-diagnostic.js.map +1 -0
- package/dist/src/utils/sensitive-content.d.ts +1 -0
- package/dist/src/utils/sensitive-content.js +15 -0
- package/dist/src/utils/sensitive-content.js.map +1 -0
- package/dist/src/utils/windows-claude-shim.d.ts +9 -0
- package/dist/src/utils/windows-claude-shim.js +141 -0
- package/dist/src/utils/windows-claude-shim.js.map +1 -0
- package/dist/vitest.config.js +91 -10
- package/dist/vitest.config.js.map +1 -1
- package/package.json +9 -9
- package/dist/authoring/templates/aw-config-runtime.d.mts +0 -2
- package/dist/authoring/templates/aw-config-runtime.mjs +0 -407
- package/dist/authoring/templates/aw-config-runtime.mjs.map +0 -1
|
@@ -3,12 +3,14 @@ import type { CommandReporter, DebugLogger } from '../output/model.js';
|
|
|
3
3
|
import { type CodexManager, type NativeCliRunner } from '../utils/native-cli.js';
|
|
4
4
|
import { type NativeOwnershipProbe, type OwnershipInspection } from '../utils/ownership.js';
|
|
5
5
|
import type { CodexReconcilePlan } from '../utils/codex-reconciler.js';
|
|
6
|
-
import { type CodexNativeRenderProjection } from '../utils/codex-native-render-receipt.js';
|
|
7
6
|
import { type CodexSharedNativeInspection } from '../utils/codex-shared-native.js';
|
|
8
|
-
import { type CodexNativePluginObservation } from '../utils/codex-native-observation.js';
|
|
7
|
+
import { type CodexNativeObservationSession, type CodexNativePluginObservation } from '../utils/codex-native-observation.js';
|
|
9
8
|
import type { DesiredTarget, RebuildTargetDriver } from './rebuild-operations.js';
|
|
10
9
|
export interface RebuildIntegration {
|
|
11
10
|
driver: RebuildTargetDriver;
|
|
11
|
+
setNativeMarketplaceEligibleTargets(targets: readonly DesiredTarget[]): void;
|
|
12
|
+
prepareNativeMarketplaceGroup(target: DesiredTarget): Promise<void>;
|
|
13
|
+
captureCodexPostMutationSnapshots(marketplaceNames?: readonly string[]): Promise<void>;
|
|
12
14
|
buildTarget(options: {
|
|
13
15
|
sourceId?: string;
|
|
14
16
|
sourceIdentity?: string;
|
|
@@ -48,6 +50,8 @@ export interface RebuildExecutionContext {
|
|
|
48
50
|
debugLogger: DebugLogger;
|
|
49
51
|
expectedCatalogConfigDigest?: string;
|
|
50
52
|
codexUserActivationDesired?: ReadonlySet<string>;
|
|
53
|
+
codexObservationSession?: CodexNativeObservationSession;
|
|
54
|
+
codexObservationScopeByMarketplace?: ReadonlyMap<string, 'user' | 'both'>;
|
|
51
55
|
}
|
|
52
56
|
export declare function executeCodexReconcileActivations(options: {
|
|
53
57
|
plans: readonly CodexReconcilePlan[];
|
|
@@ -55,36 +59,23 @@ export declare function executeCodexReconcileActivations(options: {
|
|
|
55
59
|
env: NodeJS.ProcessEnv;
|
|
56
60
|
manager?: CodexManager;
|
|
57
61
|
runner: NativeCliRunner;
|
|
62
|
+
observationSession?: CodexNativeObservationSession;
|
|
63
|
+
preflightCompleted?: boolean;
|
|
64
|
+
mutationMarketplaces?: Set<string>;
|
|
65
|
+
observationScopeByMarketplace?: ReadonlyMap<string, 'user' | 'both'>;
|
|
58
66
|
}): Promise<void>;
|
|
59
|
-
export declare function
|
|
60
|
-
|
|
67
|
+
export declare function postcheckCodexReconcileActivations(options: {
|
|
68
|
+
plans: readonly CodexReconcilePlan[];
|
|
61
69
|
cwd: string;
|
|
62
70
|
env: NodeJS.ProcessEnv;
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
versions: string[];
|
|
69
|
-
installedVersions: string[];
|
|
70
|
-
cacheVersions: string[];
|
|
71
|
-
enabled: boolean;
|
|
72
|
-
}>;
|
|
71
|
+
manager?: CodexManager;
|
|
72
|
+
runner: NativeCliRunner;
|
|
73
|
+
observationSession?: CodexNativeObservationSession;
|
|
74
|
+
observationScopeByMarketplace?: ReadonlyMap<string, 'user' | 'both'>;
|
|
75
|
+
}): Promise<void>;
|
|
73
76
|
export interface CodexSharedNativeLiveInspection {
|
|
74
77
|
sharedNative: CodexSharedNativeInspection;
|
|
75
|
-
actualPayloadDigest?: string;
|
|
76
78
|
expectedPayloadDigest?: string;
|
|
77
|
-
expectedProjection?: CodexNativeRenderProjection;
|
|
78
|
-
payloadPath?: string;
|
|
79
|
-
staleCacheObserved?: true;
|
|
80
|
-
activationObservations: {
|
|
81
|
-
user: boolean;
|
|
82
|
-
project: boolean;
|
|
83
|
-
};
|
|
84
|
-
activations: {
|
|
85
|
-
user?: boolean;
|
|
86
|
-
project?: boolean;
|
|
87
|
-
};
|
|
88
79
|
}
|
|
89
80
|
export interface CodexPluginRegistrationLiveInspection {
|
|
90
81
|
observation: CodexNativePluginObservation;
|
|
@@ -103,10 +94,12 @@ export declare function inspectCodexPluginRegistrationLive(options: {
|
|
|
103
94
|
env: NodeJS.ProcessEnv;
|
|
104
95
|
nativeCliRunner?: NativeCliRunner;
|
|
105
96
|
manager?: CodexManager;
|
|
97
|
+
scope?: 'user' | 'project' | 'both';
|
|
98
|
+
observationSession?: CodexNativeObservationSession;
|
|
106
99
|
}): Promise<CodexPluginRegistrationLiveInspection>;
|
|
107
100
|
/**
|
|
108
|
-
* Read-only
|
|
109
|
-
*
|
|
101
|
+
* Read-only shared-native inspection. Official Codex list evidence owns installation
|
|
102
|
+
* state. Filesystem validation is limited to the AW-owned marketplace source.
|
|
110
103
|
*/
|
|
111
104
|
export declare function inspectCodexSharedNativeLive(options: {
|
|
112
105
|
pluginName: string;
|
|
@@ -120,28 +113,11 @@ export declare function inspectCodexSharedNativeLive(options: {
|
|
|
120
113
|
marketplaceRoot?: string;
|
|
121
114
|
nativeCliRunner?: NativeCliRunner;
|
|
122
115
|
manager?: CodexManager;
|
|
116
|
+
observationScope?: 'user' | 'both';
|
|
117
|
+
observationSession?: CodexNativeObservationSession;
|
|
123
118
|
pluginRegistration?: CodexPluginRegistrationLiveInspection;
|
|
124
119
|
nativeRenderPlugin?: PluginMeta;
|
|
125
120
|
}): Promise<CodexSharedNativeLiveInspection>;
|
|
126
|
-
export declare function codexNativeRemovalRequired(options: {
|
|
127
|
-
pluginName: string;
|
|
128
|
-
cwd: string;
|
|
129
|
-
env: NodeJS.ProcessEnv;
|
|
130
|
-
marketplaceName?: string;
|
|
131
|
-
marketplaceRoot?: string;
|
|
132
|
-
}): Promise<boolean>;
|
|
133
|
-
export declare function discoverCodexNativeResidueNames(options: {
|
|
134
|
-
cwd: string;
|
|
135
|
-
env: NodeJS.ProcessEnv;
|
|
136
|
-
marketplaceName?: string;
|
|
137
|
-
marketplaceRoot?: string;
|
|
138
|
-
}): Promise<string[]>;
|
|
139
|
-
export declare class CodexNativeResidueProbeError extends Error {
|
|
140
|
-
readonly code = "codexNativeResidueProbeFailed";
|
|
141
|
-
readonly location: string;
|
|
142
|
-
readonly pluginName?: string;
|
|
143
|
-
constructor(location: string, cause: unknown, pluginName?: string);
|
|
144
|
-
}
|
|
145
121
|
export declare function assertNoClaudeUnboundNativeNameCollision(options: {
|
|
146
122
|
pluginName: string;
|
|
147
123
|
cwd: string;
|
|
@@ -157,6 +133,7 @@ export declare function createRebuildIntegration(options: {
|
|
|
157
133
|
context: RebuildExecutionContext;
|
|
158
134
|
scriptTimeoutMs?: number;
|
|
159
135
|
preparedTargets?: readonly DesiredTarget[];
|
|
136
|
+
operationScopedNativePhases?: boolean;
|
|
160
137
|
}): RebuildIntegration;
|
|
161
138
|
export declare function inspectRebuildTarget(options: {
|
|
162
139
|
sourceId?: string;
|