@lesliechan721/aw 0.1.0-beta.10 → 0.1.0-beta.12
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 +159 -48
- 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 +22 -20
- 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 +19 -0
- package/dist/src/commands/rebuild-command.js +828 -283
- package/dist/src/commands/rebuild-command.js.map +1 -1
- package/dist/src/commands/rebuild-integration.d.ts +25 -47
- package/dist/src/commands/rebuild-integration.js +1176 -1016
- 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 +260 -91
- 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 +10 -8
- 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 +2065 -857
- package/dist/src/tui/console-app-v4.js.map +1 -1
- package/dist/src/tui/controller-runtime.js +731 -62
- package/dist/src/tui/controller-runtime.js.map +1 -1
- package/dist/src/tui/controller.d.ts +156 -10
- package/dist/src/tui/controller.js +1187 -163
- 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 +7 -2
- 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 +366 -99
- 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-plan.d.ts +2 -2
- package/dist/src/utils/artifact-plan.js +8 -6
- package/dist/src/utils/artifact-plan.js.map +1 -1
- package/dist/src/utils/artifact-renderer.d.ts +2 -1
- package/dist/src/utils/artifact-renderer.js +139 -120
- package/dist/src/utils/artifact-renderer.js.map +1 -1
- package/dist/src/utils/artifact-request.d.ts +5 -0
- package/dist/src/utils/artifact-request.js +40 -0
- package/dist/src/utils/artifact-request.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-impact.d.ts +33 -0
- package/dist/src/utils/plugin-config-impact.js +298 -0
- package/dist/src/utils/plugin-config-impact.js.map +1 -0
- package/dist/src/utils/plugin-config-write.d.ts +36 -14
- package/dist/src/utils/plugin-config-write.js +709 -225
- package/dist/src/utils/plugin-config-write.js.map +1 -1
- package/dist/src/utils/plugin-config.d.ts +58 -4
- package/dist/src/utils/plugin-config.js +328 -60
- 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 +389 -114
- 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 +33 -11
- 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 +4 -0
- package/dist/src/utils/sensitive-content.js +36 -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,9 @@ 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'>;
|
|
55
|
+
preApplyExecutionCache?: Map<string, Promise<void>>;
|
|
51
56
|
}
|
|
52
57
|
export declare function executeCodexReconcileActivations(options: {
|
|
53
58
|
plans: readonly CodexReconcilePlan[];
|
|
@@ -55,36 +60,23 @@ export declare function executeCodexReconcileActivations(options: {
|
|
|
55
60
|
env: NodeJS.ProcessEnv;
|
|
56
61
|
manager?: CodexManager;
|
|
57
62
|
runner: NativeCliRunner;
|
|
63
|
+
observationSession?: CodexNativeObservationSession;
|
|
64
|
+
preflightCompleted?: boolean;
|
|
65
|
+
mutationMarketplaces?: Set<string>;
|
|
66
|
+
observationScopeByMarketplace?: ReadonlyMap<string, 'user' | 'both'>;
|
|
58
67
|
}): Promise<void>;
|
|
59
|
-
export declare function
|
|
60
|
-
|
|
68
|
+
export declare function postcheckCodexReconcileActivations(options: {
|
|
69
|
+
plans: readonly CodexReconcilePlan[];
|
|
61
70
|
cwd: string;
|
|
62
71
|
env: NodeJS.ProcessEnv;
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
versions: string[];
|
|
69
|
-
installedVersions: string[];
|
|
70
|
-
cacheVersions: string[];
|
|
71
|
-
enabled: boolean;
|
|
72
|
-
}>;
|
|
72
|
+
manager?: CodexManager;
|
|
73
|
+
runner: NativeCliRunner;
|
|
74
|
+
observationSession?: CodexNativeObservationSession;
|
|
75
|
+
observationScopeByMarketplace?: ReadonlyMap<string, 'user' | 'both'>;
|
|
76
|
+
}): Promise<void>;
|
|
73
77
|
export interface CodexSharedNativeLiveInspection {
|
|
74
78
|
sharedNative: CodexSharedNativeInspection;
|
|
75
|
-
actualPayloadDigest?: string;
|
|
76
79
|
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
80
|
}
|
|
89
81
|
export interface CodexPluginRegistrationLiveInspection {
|
|
90
82
|
observation: CodexNativePluginObservation;
|
|
@@ -103,10 +95,12 @@ export declare function inspectCodexPluginRegistrationLive(options: {
|
|
|
103
95
|
env: NodeJS.ProcessEnv;
|
|
104
96
|
nativeCliRunner?: NativeCliRunner;
|
|
105
97
|
manager?: CodexManager;
|
|
98
|
+
scope?: 'user' | 'project' | 'both';
|
|
99
|
+
observationSession?: CodexNativeObservationSession;
|
|
106
100
|
}): Promise<CodexPluginRegistrationLiveInspection>;
|
|
107
101
|
/**
|
|
108
|
-
* Read-only
|
|
109
|
-
*
|
|
102
|
+
* Read-only shared-native inspection. Official Codex list evidence owns installation
|
|
103
|
+
* state. Filesystem validation is limited to the AW-owned marketplace source.
|
|
110
104
|
*/
|
|
111
105
|
export declare function inspectCodexSharedNativeLive(options: {
|
|
112
106
|
pluginName: string;
|
|
@@ -120,28 +114,11 @@ export declare function inspectCodexSharedNativeLive(options: {
|
|
|
120
114
|
marketplaceRoot?: string;
|
|
121
115
|
nativeCliRunner?: NativeCliRunner;
|
|
122
116
|
manager?: CodexManager;
|
|
117
|
+
observationScope?: 'user' | 'both';
|
|
118
|
+
observationSession?: CodexNativeObservationSession;
|
|
123
119
|
pluginRegistration?: CodexPluginRegistrationLiveInspection;
|
|
124
120
|
nativeRenderPlugin?: PluginMeta;
|
|
125
121
|
}): 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
122
|
export declare function assertNoClaudeUnboundNativeNameCollision(options: {
|
|
146
123
|
pluginName: string;
|
|
147
124
|
cwd: string;
|
|
@@ -157,6 +134,7 @@ export declare function createRebuildIntegration(options: {
|
|
|
157
134
|
context: RebuildExecutionContext;
|
|
158
135
|
scriptTimeoutMs?: number;
|
|
159
136
|
preparedTargets?: readonly DesiredTarget[];
|
|
137
|
+
operationScopedNativePhases?: boolean;
|
|
160
138
|
}): RebuildIntegration;
|
|
161
139
|
export declare function inspectRebuildTarget(options: {
|
|
162
140
|
sourceId?: string;
|