@lesliechan721/aw 0.1.0-beta.84 → 0.1.0-beta.85
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/index.js +2 -6
- package/dist/index.js.map +1 -1
- package/dist/src/commands/public-lifecycle-result.d.ts +3 -8
- package/dist/src/commands/public-lifecycle-result.js +85 -30
- package/dist/src/commands/public-lifecycle-result.js.map +1 -1
- package/dist/src/commands/public-plugin-query.js +21 -5
- package/dist/src/commands/public-plugin-query.js.map +1 -1
- package/dist/src/commands/rebuild-command.js +19 -3
- 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 +5 -0
- package/dist/src/commands/rebuild-integration.js.map +1 -1
- package/dist/src/commands/rebuild-operations.js +5 -2
- package/dist/src/commands/rebuild-operations.js.map +1 -1
- package/dist/src/commands/rebuild-platform-integration.d.ts +7 -2
- package/dist/src/commands/rebuild-platform-integration.js +539 -65
- package/dist/src/commands/rebuild-platform-integration.js.map +1 -1
- package/dist/src/generators/permissions.d.ts +7 -1
- package/dist/src/generators/permissions.js +56 -0
- package/dist/src/generators/permissions.js.map +1 -1
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.js +7 -4
- package/dist/src/index.js.map +1 -1
- package/dist/src/intent/scope-context.d.ts +4 -2
- package/dist/src/intent/scope-context.js +37 -7
- package/dist/src/intent/scope-context.js.map +1 -1
- package/dist/src/output/component-delivery.d.ts +21 -0
- package/dist/src/output/component-delivery.js +82 -0
- package/dist/src/output/component-delivery.js.map +1 -0
- package/dist/src/output/public-result.d.ts +2 -0
- package/dist/src/output/public-result.js +49 -16
- package/dist/src/output/public-result.js.map +1 -1
- package/dist/src/output/receipt-projection.js +13 -5
- package/dist/src/output/receipt-projection.js.map +1 -1
- package/dist/src/output/skill-invocation-notices.d.ts +2 -0
- package/dist/src/output/skill-invocation-notices.js +40 -4
- package/dist/src/output/skill-invocation-notices.js.map +1 -1
- package/dist/src/platforms/capabilities.d.ts +4 -1
- package/dist/src/platforms/capabilities.js +93 -9
- package/dist/src/platforms/capabilities.js.map +1 -1
- package/dist/src/platforms/contracts.d.ts +36 -1
- package/dist/src/platforms/discovery.d.ts +11 -0
- package/dist/src/platforms/discovery.js +170 -30
- package/dist/src/platforms/discovery.js.map +1 -1
- package/dist/src/platforms/inspection-grok.js +121 -9
- package/dist/src/platforms/inspection-grok.js.map +1 -1
- package/dist/src/platforms/inspection-native.js +53 -18
- package/dist/src/platforms/inspection-native.js.map +1 -1
- package/dist/src/platforms/inspection-pi.d.ts +7 -1
- package/dist/src/platforms/inspection-pi.js +295 -95
- package/dist/src/platforms/inspection-pi.js.map +1 -1
- package/dist/src/platforms/inspection-query.d.ts +4 -2
- package/dist/src/platforms/inspection-query.js +24 -8
- package/dist/src/platforms/inspection-query.js.map +1 -1
- package/dist/src/platforms/inspection.d.ts +4 -1
- package/dist/src/platforms/inspection.js +36 -4
- package/dist/src/platforms/inspection.js.map +1 -1
- package/dist/src/platforms/layout.d.ts +6 -0
- package/dist/src/platforms/layout.js +44 -7
- package/dist/src/platforms/layout.js.map +1 -1
- package/dist/src/platforms/lifecycle-native.d.ts +1 -0
- package/dist/src/platforms/lifecycle-native.js +25 -1
- package/dist/src/platforms/lifecycle-native.js.map +1 -1
- package/dist/src/platforms/lifecycle.d.ts +2 -0
- package/dist/src/platforms/lifecycle.js +67 -16
- package/dist/src/platforms/lifecycle.js.map +1 -1
- package/dist/src/platforms/projection-code-extension.js +2 -1
- package/dist/src/platforms/projection-code-extension.js.map +1 -1
- package/dist/src/platforms/projection.js +70 -22
- package/dist/src/platforms/projection.js.map +1 -1
- package/dist/src/platforms/supplement-layout.d.ts +5 -1
- package/dist/src/platforms/supplement-layout.js +23 -1
- package/dist/src/platforms/supplement-layout.js.map +1 -1
- package/dist/src/platforms/supplement-state.d.ts +1 -1
- package/dist/src/platforms/supplement-state.js +18 -7
- package/dist/src/platforms/supplement-state.js.map +1 -1
- package/dist/src/portable/commands.js +1 -1
- package/dist/src/portable/commands.js.map +1 -1
- package/dist/src/portable/materializer.d.ts +4 -0
- package/dist/src/portable/materializer.js +8 -1
- package/dist/src/portable/materializer.js.map +1 -1
- package/dist/src/portable/recovery.d.ts +2 -0
- package/dist/src/portable/recovery.js +45 -8
- package/dist/src/portable/recovery.js.map +1 -1
- package/dist/src/recovery/coordinator.d.ts +1 -1
- package/dist/src/recovery/coordinator.js +77 -10
- package/dist/src/recovery/coordinator.js.map +1 -1
- package/dist/src/recovery/install-concurrency.js +3 -2
- package/dist/src/recovery/install-concurrency.js.map +1 -1
- package/dist/src/recovery/joint-coordinator.d.ts +7 -0
- package/dist/src/recovery/joint-coordinator.js +173 -23
- package/dist/src/recovery/joint-coordinator.js.map +1 -1
- package/dist/src/recovery/joint-demand.d.ts +14 -2
- package/dist/src/recovery/joint-demand.js +54 -7
- package/dist/src/recovery/joint-demand.js.map +1 -1
- package/dist/src/recovery/receipt.d.ts +15 -4
- package/dist/src/recovery/receipt.js +23 -0
- package/dist/src/recovery/receipt.js.map +1 -1
- package/dist/src/recovery/status.d.ts +20 -8
- package/dist/src/recovery/status.js +380 -90
- package/dist/src/recovery/status.js.map +1 -1
- package/dist/src/review/platform-profile.js +2 -1
- package/dist/src/review/platform-profile.js.map +1 -1
- package/dist/src/review/skill-materialization.d.ts +1 -0
- package/dist/src/review/skill-materialization.js +45 -39
- package/dist/src/review/skill-materialization.js.map +1 -1
- package/dist/src/review/source-binding.js +5 -1
- package/dist/src/review/source-binding.js.map +1 -1
- package/dist/src/tui/console-app-v4.js +67 -30
- package/dist/src/tui/console-app-v4.js.map +1 -1
- package/dist/src/tui/controller-runtime.js +1 -1
- 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 +17 -4
- package/dist/src/tui/controller.js.map +1 -1
- package/dist/src/tui/deployment-view.d.ts +6 -3
- package/dist/src/tui/deployment-view.js +39 -10
- package/dist/src/tui/deployment-view.js.map +1 -1
- package/dist/src/tui/diagnostic-projection.d.ts +7 -1
- package/dist/src/tui/diagnostic-projection.js +47 -2
- package/dist/src/tui/diagnostic-projection.js.map +1 -1
- package/dist/src/tui/entity-cards.d.ts +2 -1
- package/dist/src/tui/entity-cards.js +34 -11
- package/dist/src/tui/entity-cards.js.map +1 -1
- package/dist/src/tui/glossary.js +5 -0
- package/dist/src/tui/glossary.js.map +1 -1
- package/dist/src/tui/model.js +2 -1
- package/dist/src/tui/model.js.map +1 -1
- package/dist/src/tui/operation-diagnostic-screens.js +3 -1
- package/dist/src/tui/operation-diagnostic-screens.js.map +1 -1
- package/dist/src/tui/operation-history.d.ts +6 -0
- package/dist/src/tui/operation-history.js +20 -2
- package/dist/src/tui/operation-history.js.map +1 -1
- package/dist/src/tui/plugin-detail.d.ts +4 -1
- package/dist/src/tui/plugin-detail.js +9 -2
- package/dist/src/tui/plugin-detail.js.map +1 -1
- package/dist/src/tui/scoped-flow.js +34 -16
- package/dist/src/tui/scoped-flow.js.map +1 -1
- package/dist/src/tui/scoped-inventory.d.ts +6 -2
- package/dist/src/tui/scoped-inventory.js +29 -7
- package/dist/src/tui/scoped-inventory.js.map +1 -1
- package/dist/src/types.d.ts +2 -1
- package/dist/src/types.js.map +1 -1
- package/dist/src/utils/artifact-plan.js +5 -1
- package/dist/src/utils/artifact-plan.js.map +1 -1
- package/dist/src/utils/artifact-renderer.d.ts +1 -1
- package/dist/src/utils/artifact-renderer.js +29 -8
- package/dist/src/utils/artifact-renderer.js.map +1 -1
- package/dist/src/utils/catalog-source-references.js +12 -3
- package/dist/src/utils/catalog-source-references.js.map +1 -1
- package/dist/src/utils/codex-native-observation.d.ts +6 -0
- package/dist/src/utils/codex-native-observation.js +32 -3
- package/dist/src/utils/codex-native-observation.js.map +1 -1
- package/dist/src/utils/component-command-preparation.d.ts +2 -0
- package/dist/src/utils/component-command-preparation.js +23 -4
- package/dist/src/utils/component-command-preparation.js.map +1 -1
- package/dist/src/utils/component-gap.d.ts +4 -0
- package/dist/src/utils/component-gap.js +20 -0
- package/dist/src/utils/component-gap.js.map +1 -0
- package/dist/src/utils/component-resources.js +2 -4
- package/dist/src/utils/component-resources.js.map +1 -1
- package/dist/src/utils/dynamic-skill-tree.js +2 -32
- package/dist/src/utils/dynamic-skill-tree.js.map +1 -1
- package/dist/src/utils/native-cli-interruption.d.ts +8 -0
- package/dist/src/utils/native-cli-interruption.js +65 -0
- package/dist/src/utils/native-cli-interruption.js.map +1 -0
- package/dist/src/utils/native-cli.d.ts +5 -0
- package/dist/src/utils/native-cli.js +166 -53
- package/dist/src/utils/native-cli.js.map +1 -1
- package/dist/src/utils/ownership.d.ts +1 -0
- package/dist/src/utils/ownership.js +17 -3
- package/dist/src/utils/ownership.js.map +1 -1
- package/dist/src/utils/package-content.d.ts +7 -0
- package/dist/src/utils/package-content.js +70 -0
- package/dist/src/utils/package-content.js.map +1 -0
- package/dist/src/utils/platform-empty-state.d.ts +31 -6
- package/dist/src/utils/platform-empty-state.js +135 -65
- package/dist/src/utils/platform-empty-state.js.map +1 -1
- package/dist/src/utils/plugin-config-write.js +5 -1
- package/dist/src/utils/plugin-config-write.js.map +1 -1
- package/dist/src/utils/plugin-scripts.js +19 -8
- package/dist/src/utils/plugin-scripts.js.map +1 -1
- package/dist/src/utils/process-tree.d.ts +1 -1
- package/dist/src/utils/process-tree.js +1 -1
- package/dist/src/utils/process-tree.js.map +1 -1
- package/dist/src/utils/skill-invocation-warning.d.ts +8 -3
- package/dist/src/utils/skill-invocation-warning.js +27 -1
- package/dist/src/utils/skill-invocation-warning.js.map +1 -1
- package/package.json +3 -3
|
@@ -312,6 +312,7 @@ async function assertClaudeVersion(options) {
|
|
|
312
312
|
return;
|
|
313
313
|
const failures = [];
|
|
314
314
|
const result = await probeAgentVersion('claude', {
|
|
315
|
+
cache: false,
|
|
315
316
|
cwd: options.cwd,
|
|
316
317
|
env: options.env,
|
|
317
318
|
runner: options.runtime.nativeCliRunner,
|
|
@@ -3006,6 +3007,15 @@ async function runRebuildCommandInSession(options) {
|
|
|
3006
3007
|
: requestedMethod === 'reinstall' ? 'reinstall' : 'install'
|
|
3007
3008
|
: requestedMethod === 'reinstall' ? 'reinstall' : 'install';
|
|
3008
3009
|
let errorCode;
|
|
3010
|
+
// Grok rules can be complete with an empty native package slot. Let
|
|
3011
|
+
// component preparation determine whether the current source needs a package.
|
|
3012
|
+
const grokRulesWithoutPackage = platform === 'grok' && requestedMethod === 'sync'
|
|
3013
|
+
&& requestedInspection.platformObservations.length > 0
|
|
3014
|
+
&& requestedInspection.platformObservations.every(({ observation }) => observation.package === 'absent'
|
|
3015
|
+
&& ['absent', 'not-applicable'].includes(observation.registration))
|
|
3016
|
+
&& requestedInspection.components.some(({ component, state }) => component.kind === 'owned-text-file' && state === 'present')
|
|
3017
|
+
&& requestedInspection.components.every(({ component, state }) => state === 'present'
|
|
3018
|
+
|| component.kind === 'owned-directory' && state === 'absent');
|
|
3009
3019
|
if (!dependencyEnabled && platform === 'codex'
|
|
3010
3020
|
&& relation === 'requested'
|
|
3011
3021
|
&& !uninstallForce
|
|
@@ -3029,6 +3039,7 @@ async function runRebuildCommandInSession(options) {
|
|
|
3029
3039
|
&& (requestedInspection.state === 'error'
|
|
3030
3040
|
|| (requestedInspection.state === 'partial'
|
|
3031
3041
|
&& !activationOnly
|
|
3042
|
+
&& !grokRulesWithoutPackage
|
|
3032
3043
|
&& platform !== 'codex'
|
|
3033
3044
|
&& requestedMethod !== 'reinstall'
|
|
3034
3045
|
&& options.command !== 'cleanup'))) {
|
|
@@ -3159,7 +3170,7 @@ async function runRebuildCommandInSession(options) {
|
|
|
3159
3170
|
sourceId: entry.source.sourceId,
|
|
3160
3171
|
pluginName: dependency,
|
|
3161
3172
|
});
|
|
3162
|
-
return [
|
|
3173
|
+
return [...closureEntriesByPlatform.keys()].flatMap((platform) => placementNodes.some((node) => node.pluginId === entry.pluginId && node.platform === platform)
|
|
3163
3174
|
&& placementNodes.some((node) => node.pluginId === dependencyId && node.platform === platform)
|
|
3164
3175
|
? [{ from: entry.pluginId, to: dependencyId, platform }]
|
|
3165
3176
|
: []);
|
|
@@ -4089,9 +4100,14 @@ async function runRebuildCommandInSession(options) {
|
|
|
4089
4100
|
const preparedTargets = lockedPreparation.preparedTargets;
|
|
4090
4101
|
const preparedTargetErrors = lockedPreparation.preparedTargetErrors;
|
|
4091
4102
|
const removalRequiredConsumers = new Map();
|
|
4103
|
+
// A wider dependency that execution keeps cannot withdraw consumer output.
|
|
4104
|
+
const consumerCheckSelections = options.command === 'sync' ? executionSelections.filter((selection) => {
|
|
4105
|
+
const planned = planTargetFor(lockedPlan, selection);
|
|
4106
|
+
return !planned || !isHealthyWiderDependency(planned);
|
|
4107
|
+
}) : executionSelections;
|
|
4092
4108
|
// Sync checks live references for Codex/Claude providers. Without a possible
|
|
4093
4109
|
// consumer the second inventory cannot add a dependency to this plan.
|
|
4094
|
-
const syncNeedsConsumerCheck = options.command === 'sync' &&
|
|
4110
|
+
const syncNeedsConsumerCheck = options.command === 'sync' && consumerCheckSelections.some(({ platform, entry }) => (platform === 'codex' || platform === 'claude') && availableEntries.some((candidate) => candidate.source.sourceId === entry.source.sourceId && candidate.entry.dependencies.includes(entry.plugin.manifest.name)));
|
|
4095
4111
|
if ((options.command === 'cleanup' && !cleanupForce)
|
|
4096
4112
|
|| (options.command === 'uninstall' && !uninstallForce)
|
|
4097
4113
|
|| syncNeedsConsumerCheck) {
|
|
@@ -4174,7 +4190,7 @@ async function runRebuildCommandInSession(options) {
|
|
|
4174
4190
|
projectKey: reference.projectKey ?? null,
|
|
4175
4191
|
}]];
|
|
4176
4192
|
})).values()];
|
|
4177
|
-
for (const dependencyTarget of
|
|
4193
|
+
for (const dependencyTarget of consumerCheckSelections) {
|
|
4178
4194
|
const dependencyPluginName = dependencyTarget.entry.plugin.manifest.name;
|
|
4179
4195
|
for (const consumer of currentConsumerCandidates) {
|
|
4180
4196
|
if (consumer.entry.source.sourceId
|