@lesliechan721/aw 0.1.0-beta.93 → 0.1.0-beta.95
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/scripts/add-skill.mjs +1 -1
- package/dist/authoring/scripts/init-plugin.mjs +2 -2
- package/dist/authoring/scripts/lib/skill-scaffold.d.mts +1 -1
- package/dist/authoring/scripts/lib/skill-scaffold.mjs +1 -1
- package/dist/authoring/scripts/lib/skill-scaffold.mjs.map +1 -1
- package/dist/authoring/scripts/validate-plugin.mjs +0 -10
- package/dist/authoring/scripts/validate-plugin.mjs.map +1 -1
- package/dist/scripts/test-plugin-scripts.js +2 -2
- package/dist/scripts/test-plugin-scripts.js.map +1 -1
- package/dist/src/commands/deployment-confirmation.js +13 -0
- package/dist/src/commands/deployment-confirmation.js.map +1 -1
- package/dist/src/commands/offline-cleanup-evidence.d.ts +1 -1
- package/dist/src/commands/offline-cleanup-evidence.js +30 -31
- package/dist/src/commands/offline-cleanup-evidence.js.map +1 -1
- package/dist/src/commands/operation-plan.d.ts +5 -0
- package/dist/src/commands/operation-plan.js +2 -0
- package/dist/src/commands/operation-plan.js.map +1 -1
- package/dist/src/commands/public-lifecycle-result.js +16 -0
- package/dist/src/commands/public-lifecycle-result.js.map +1 -1
- package/dist/src/commands/public-lifecycle.js +3 -1
- package/dist/src/commands/public-lifecycle.js.map +1 -1
- package/dist/src/commands/rebuild-command.d.ts +9 -16
- package/dist/src/commands/rebuild-command.js +149 -92
- package/dist/src/commands/rebuild-command.js.map +1 -1
- package/dist/src/commands/rebuild-integration.d.ts +1 -0
- package/dist/src/commands/rebuild-integration.js.map +1 -1
- package/dist/src/commands/rebuild-platform-integration.d.ts +1 -0
- package/dist/src/commands/rebuild-platform-integration.js +26 -15
- package/dist/src/commands/rebuild-platform-integration.js.map +1 -1
- package/dist/src/commands/status-v6.js +7 -4
- package/dist/src/commands/status-v6.js.map +1 -1
- package/dist/src/index.js +2 -2
- package/dist/src/index.js.map +1 -1
- package/dist/src/platforms/contracts.d.ts +23 -1
- package/dist/src/platforms/discovery.d.ts +2 -0
- package/dist/src/platforms/discovery.js.map +1 -1
- package/dist/src/platforms/inspection-native.d.ts +4 -2
- package/dist/src/platforms/inspection-native.js +228 -24
- package/dist/src/platforms/inspection-native.js.map +1 -1
- package/dist/src/platforms/layout.js +15 -0
- package/dist/src/platforms/layout.js.map +1 -1
- package/dist/src/platforms/lifecycle-native-services.js +68 -2
- package/dist/src/platforms/lifecycle-native-services.js.map +1 -1
- package/dist/src/platforms/lifecycle-native.js +12 -1
- package/dist/src/platforms/lifecycle-native.js.map +1 -1
- package/dist/src/platforms/lifecycle.d.ts +3 -1
- package/dist/src/platforms/lifecycle.js +133 -12
- package/dist/src/platforms/lifecycle.js.map +1 -1
- package/dist/src/platforms/retirement-native.d.ts +6 -0
- package/dist/src/platforms/retirement-native.js +95 -0
- package/dist/src/platforms/retirement-native.js.map +1 -0
- package/dist/src/portable/materializer.js +4 -1
- package/dist/src/portable/materializer.js.map +1 -1
- package/dist/src/recovery/receipt.d.ts +2 -0
- package/dist/src/recovery/receipt.js.map +1 -1
- package/dist/src/recovery/retirement.js +58 -22
- package/dist/src/recovery/retirement.js.map +1 -1
- package/dist/src/recovery/status.js +12 -2
- package/dist/src/recovery/status.js.map +1 -1
- package/dist/src/tui/catalog-generation.d.ts +4 -1
- package/dist/src/tui/catalog-generation.js +34 -0
- package/dist/src/tui/catalog-generation.js.map +1 -1
- package/dist/src/tui/console-app-v4.js +50 -13
- package/dist/src/tui/console-app-v4.js.map +1 -1
- package/dist/src/tui/controller-runtime.js +16 -8
- package/dist/src/tui/controller-runtime.js.map +1 -1
- package/dist/src/tui/controller.d.ts +2 -1
- package/dist/src/tui/controller.js +14 -5
- package/dist/src/tui/controller.js.map +1 -1
- package/dist/src/tui/deployment-view.d.ts +1 -0
- package/dist/src/tui/deployment-view.js +21 -3
- package/dist/src/tui/deployment-view.js.map +1 -1
- package/dist/src/tui/entity-cards.js +7 -1
- package/dist/src/tui/entity-cards.js.map +1 -1
- package/dist/src/tui/model.d.ts +6 -1
- package/dist/src/tui/model.js +18 -5
- package/dist/src/tui/model.js.map +1 -1
- package/dist/src/tui/scoped-inventory.d.ts +9 -1
- package/dist/src/tui/scoped-inventory.js +16 -1
- package/dist/src/tui/scoped-inventory.js.map +1 -1
- package/dist/src/utils/catalog-source-references.d.ts +37 -1
- package/dist/src/utils/catalog-source-references.js +361 -94
- package/dist/src/utils/catalog-source-references.js.map +1 -1
- package/dist/src/utils/codex-config.d.ts +3 -0
- package/dist/src/utils/codex-config.js +7 -0
- package/dist/src/utils/codex-config.js.map +1 -1
- package/dist/src/utils/local-marketplace.d.ts +2 -0
- package/dist/src/utils/local-marketplace.js +12 -0
- package/dist/src/utils/local-marketplace.js.map +1 -1
- package/dist/src/utils/skill-validation.js +0 -5
- package/dist/src/utils/skill-validation.js.map +1 -1
- package/package.json +3 -3
|
@@ -11,7 +11,7 @@ import path from 'node:path';
|
|
|
11
11
|
import { analyzeCodexSurface } from '../utils/codex-surface-analysis.js';
|
|
12
12
|
import { catalogSourceErrorCode, sanitizeCatalogSourceError, } from '../utils/catalog-public-error.js';
|
|
13
13
|
import { calculateCatalogSourceIdentity } from '../utils/catalog-source-identity.js';
|
|
14
|
-
import {
|
|
14
|
+
import { legacyCanonicalMarketplaceRegistrationNames, inventoryCatalogSourceReferences, inventoryLegacyOwnerReferences, } from '../utils/catalog-source-references.js';
|
|
15
15
|
import { readStrictNamespacedMarketplaceRoot } from '../utils/local-marketplace.js';
|
|
16
16
|
import { readCatalogSourcesConfigSnapshot, resolveCatalogSourceRef } from '../utils/catalog-sources.js';
|
|
17
17
|
import { formatPluginId, parsePluginId, planPluginSelectorSourceIds, withResolvedMultiSourceCatalog, } from '../utils/multi-source-catalog.js';
|
|
@@ -25,7 +25,7 @@ import { createNoopDebugLogger } from '../output/debug-log.js';
|
|
|
25
25
|
import { bindNativeCliRunnerSignal, getDefaultNativeCliRunner } from '../utils/native-cli.js';
|
|
26
26
|
import { createCodexNativeObservationSession, } from '../utils/codex-native-observation.js';
|
|
27
27
|
import { resolveAwHome } from '../utils/paths.js';
|
|
28
|
-
import { codexProjectConfigAliasesUserHome, createProjectLocationKey, getClaudeHome, getCodexHome, resolveRequiredCanonicalRepoRoot, } from '../utils/state-paths.js';
|
|
28
|
+
import { codexProjectConfigAliasesUserHome, createProjectLocationKey, getClaudeHome, getCodexHome, resolveAwHomeCanonical, resolveRequiredCanonicalRepoRoot, } from '../utils/state-paths.js';
|
|
29
29
|
import { resolveEffectivePluginConfig, resolveProjectArtifactRenderConfig, } from '../utils/plugin-config.js';
|
|
30
30
|
import { readCodexConfigFile } from '../utils/codex-config.js';
|
|
31
31
|
import { createEmptyNativeDemandView } from '../utils/native-demand.js';
|
|
@@ -1151,7 +1151,7 @@ async function statusCommandV8InSession(options) {
|
|
|
1151
1151
|
available: placementEntries,
|
|
1152
1152
|
codexProjectAllowed: !codexScopePathsAlias,
|
|
1153
1153
|
});
|
|
1154
|
-
const registeredNames =
|
|
1154
|
+
const registeredNames = legacyCanonicalMarketplaceRegistrationNames(ownerInventory.references, item.resolution.sourceId);
|
|
1155
1155
|
if (registeredNames.length > 1) {
|
|
1156
1156
|
throw new Error('marketplaceIdentityUnavailable: Multiple canonical native marketplace registrations match the source.');
|
|
1157
1157
|
}
|
|
@@ -1304,18 +1304,21 @@ async function statusCommandV8InSession(options) {
|
|
|
1304
1304
|
const defaultMarketplaceName = item.resolution.sourceId === resolution.primarySourceId
|
|
1305
1305
|
? 'aw'
|
|
1306
1306
|
: `aw-${item.resolution.sourceId}`;
|
|
1307
|
+
const legacyMarketplaceRoot = path.join(await resolveAwHomeCanonical(env), 'marketplaces', item.resolution.sourceId);
|
|
1307
1308
|
const marketplaceNameFor = (pluginName, platform, scope) => {
|
|
1308
1309
|
const liveName = ownerInventory.references.find((reference) => (reference.kind === 'namespacedOwner' || reference.kind === 'namespacedMarketplace')
|
|
1309
1310
|
&& reference.sourceId === item.resolution.sourceId
|
|
1310
1311
|
&& reference.sourceIdentity === item.resolution.sourceIdentity
|
|
1311
1312
|
&& reference.pluginName === pluginName
|
|
1313
|
+
&& (reference.kind !== 'namespacedMarketplace' || !reference.marketplaceRoot
|
|
1314
|
+
|| reference.marketplaceRoot === legacyMarketplaceRoot)
|
|
1312
1315
|
&& reference.platform === platform
|
|
1313
1316
|
&& reference.scope === scope
|
|
1314
1317
|
&& (scope === 'user' || reference.projectKey === currentProjectKey)
|
|
1315
1318
|
&& reference.marketplaceName)?.marketplaceName;
|
|
1316
1319
|
if (liveName)
|
|
1317
1320
|
return liveName;
|
|
1318
|
-
const registeredNames =
|
|
1321
|
+
const registeredNames = legacyCanonicalMarketplaceRegistrationNames(ownerInventory.references, item.resolution.sourceId);
|
|
1319
1322
|
if (registeredNames.length > 1) {
|
|
1320
1323
|
throw new Error('marketplaceIdentityUnavailable: Multiple canonical native marketplace registrations match the source.');
|
|
1321
1324
|
}
|