@lesliechan721/aw 0.1.0-beta.10 → 0.1.0-beta.101
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/assets/aw-runtime-config.d.mts +13 -0
- package/dist/authoring/assets/aw-runtime-config.mjs +221 -0
- package/dist/authoring/assets/aw-runtime-config.mjs.map +1 -0
- package/dist/authoring/assets/command-runtime-config.d.mts +9 -0
- package/dist/authoring/assets/command-runtime-config.mjs +134 -0
- package/dist/authoring/assets/command-runtime-config.mjs.map +1 -0
- package/dist/authoring/scripts/add-skill.mjs +16 -39
- package/dist/authoring/scripts/add-skill.mjs.map +1 -1
- package/dist/authoring/scripts/init-plugin.mjs +43 -71
- package/dist/authoring/scripts/init-plugin.mjs.map +1 -1
- package/dist/authoring/scripts/lib/plugin-root.mjs +4 -4
- package/dist/authoring/scripts/lib/plugin-root.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 +230 -9
- package/dist/authoring/scripts/lib/plugin-version-check.mjs.map +1 -1
- package/dist/authoring/scripts/lib/skill-scaffold.d.mts +3 -3
- package/dist/authoring/scripts/lib/skill-scaffold.mjs +5 -8
- package/dist/authoring/scripts/lib/skill-scaffold.mjs.map +1 -1
- package/dist/authoring/scripts/remove-plugin.mjs +1 -1
- package/dist/authoring/scripts/remove-plugin.mjs.map +1 -1
- package/dist/authoring/scripts/validate-plugin.mjs +408 -1748
- package/dist/authoring/scripts/validate-plugin.mjs.map +1 -1
- package/dist/authoring/scripts/validate-skill.mjs +1 -1
- package/dist/index.js +2 -6
- package/dist/index.js.map +1 -1
- package/dist/native-runtime/reader-runtime.mjs +34 -0
- package/dist/native-runtime/reader.d.mts +6 -0
- package/dist/native-runtime/reader.mjs +11 -0
- package/dist/scripts/aw-skill-eval-materializer.d.ts +11 -1
- package/dist/scripts/aw-skill-eval-materializer.js +119 -114
- package/dist/scripts/aw-skill-eval-materializer.js.map +1 -1
- package/dist/scripts/bundle-plugins.js +32 -7
- package/dist/scripts/bundle-plugins.js.map +1 -1
- package/dist/scripts/plugin-staging.d.ts +1 -1
- package/dist/scripts/plugin-staging.js +5 -2
- package/dist/scripts/plugin-staging.js.map +1 -1
- package/dist/scripts/plugin-test-context-guard.d.mts +1 -0
- package/dist/scripts/plugin-test-context-guard.mjs +59 -0
- package/dist/scripts/plugin-test-context-guard.mjs.map +1 -0
- package/dist/scripts/plugin-test-reporter.d.mts +2 -0
- package/dist/scripts/plugin-test-reporter.mjs +21 -0
- package/dist/scripts/plugin-test-reporter.mjs.map +1 -0
- package/dist/scripts/test-plugin-scripts.d.ts +5 -0
- package/dist/scripts/test-plugin-scripts.js +343 -58
- package/dist/scripts/test-plugin-scripts.js.map +1 -1
- package/dist/scripts/test-workers.d.mts +24 -0
- package/dist/scripts/test-workers.mjs +59 -0
- package/dist/scripts/test-workers.mjs.map +1 -0
- package/dist/src/adapters/helpers.d.ts +7 -0
- package/dist/src/adapters/helpers.js.map +1 -1
- package/dist/src/authoring/workspace-commands.d.ts +3 -0
- package/dist/src/authoring/workspace-commands.js +7 -2
- package/dist/src/authoring/workspace-commands.js.map +1 -1
- package/dist/src/commands/aw-capabilities.d.ts +1 -1
- package/dist/src/commands/aw-capabilities.js +48 -19
- package/dist/src/commands/aw-capabilities.js.map +1 -1
- package/dist/src/commands/catalog-dev-source.d.ts +40 -3
- package/dist/src/commands/catalog-dev-source.js +333 -42
- package/dist/src/commands/catalog-dev-source.js.map +1 -1
- package/dist/src/commands/catalog-generation.d.ts +5 -0
- package/dist/src/commands/catalog-generation.js.map +1 -1
- package/dist/src/commands/catalog-publication-inspection.d.ts +11 -3
- package/dist/src/commands/catalog-publication-inspection.js +211 -59
- package/dist/src/commands/catalog-publication-inspection.js.map +1 -1
- package/dist/src/commands/catalog-publication-journal.d.ts +12 -0
- package/dist/src/commands/catalog-publication-journal.js +78 -1
- package/dist/src/commands/catalog-publication-journal.js.map +1 -1
- package/dist/src/commands/catalog-publish.d.ts +21 -1
- package/dist/src/commands/catalog-publish.js +133 -92
- package/dist/src/commands/catalog-publish.js.map +1 -1
- package/dist/src/commands/catalog-source.d.ts +26 -5
- package/dist/src/commands/catalog-source.js +154 -27
- package/dist/src/commands/catalog-source.js.map +1 -1
- package/dist/src/commands/catalog-status.js +2 -2
- package/dist/src/commands/catalog-status.js.map +1 -1
- package/dist/src/commands/catalog-store.d.ts +35 -7
- package/dist/src/commands/catalog-store.js +469 -79
- package/dist/src/commands/catalog-store.js.map +1 -1
- package/dist/src/commands/catalog-workspace-resolution.d.ts +4 -0
- package/dist/src/commands/catalog-workspace-resolution.js +18 -3
- package/dist/src/commands/catalog-workspace-resolution.js.map +1 -1
- package/dist/src/commands/console.js +33 -20
- package/dist/src/commands/console.js.map +1 -1
- package/dist/src/commands/dependency-operation-plan.d.ts +7 -0
- package/dist/src/commands/dependency-operation-plan.js +66 -30
- package/dist/src/commands/dependency-operation-plan.js.map +1 -1
- package/dist/src/commands/deployment-confirmation.d.ts +11 -0
- package/dist/src/commands/deployment-confirmation.js +101 -0
- package/dist/src/commands/deployment-confirmation.js.map +1 -0
- package/dist/src/commands/init.js +1 -1
- package/dist/src/commands/init.js.map +1 -1
- package/dist/src/commands/intent-command.d.ts +35 -0
- package/dist/src/commands/intent-command.js +174 -0
- package/dist/src/commands/intent-command.js.map +1 -0
- package/dist/src/commands/lifecycle-command-package.d.ts +45 -0
- package/dist/src/commands/lifecycle-command-package.js +199 -0
- package/dist/src/commands/lifecycle-command-package.js.map +1 -0
- package/dist/src/commands/managed-commands.d.ts +41 -0
- package/dist/src/commands/managed-commands.js +408 -0
- package/dist/src/commands/managed-commands.js.map +1 -0
- package/dist/src/commands/offline-cleanup-evidence.d.ts +12 -2
- package/dist/src/commands/offline-cleanup-evidence.js +57 -35
- package/dist/src/commands/offline-cleanup-evidence.js.map +1 -1
- package/dist/src/commands/operation-plan.d.ts +72 -2
- package/dist/src/commands/operation-plan.js +54 -3
- package/dist/src/commands/operation-plan.js.map +1 -1
- package/dist/src/commands/operation-planner.d.ts +6 -5
- package/dist/src/commands/operation-planner.js +23 -20
- package/dist/src/commands/operation-planner.js.map +1 -1
- package/dist/src/commands/options.d.ts +11 -16
- package/dist/src/commands/options.js +31 -25
- package/dist/src/commands/options.js.map +1 -1
- package/dist/src/commands/permission-batch.d.ts +5 -0
- package/dist/src/commands/permission-batch.js +83 -0
- package/dist/src/commands/permission-batch.js.map +1 -0
- package/dist/src/commands/plugin-capabilities.js +128 -58
- package/dist/src/commands/plugin-capabilities.js.map +1 -1
- package/dist/src/commands/public-config-confirmation.d.ts +14 -0
- package/dist/src/commands/public-config-confirmation.js +73 -0
- package/dist/src/commands/public-config-confirmation.js.map +1 -0
- package/dist/src/commands/public-interruption.d.ts +9 -0
- package/dist/src/commands/public-interruption.js +23 -0
- package/dist/src/commands/public-interruption.js.map +1 -0
- package/dist/src/commands/public-lifecycle-result.d.ts +107 -0
- package/dist/src/commands/public-lifecycle-result.js +536 -0
- package/dist/src/commands/public-lifecycle-result.js.map +1 -0
- package/dist/src/commands/public-lifecycle.d.ts +28 -0
- package/dist/src/commands/public-lifecycle.js +633 -0
- package/dist/src/commands/public-lifecycle.js.map +1 -0
- package/dist/src/commands/public-plugin-query.d.ts +16 -0
- package/dist/src/commands/public-plugin-query.js +235 -0
- package/dist/src/commands/public-plugin-query.js.map +1 -0
- package/dist/src/commands/rebuild-command.d.ts +177 -16
- package/dist/src/commands/rebuild-command.js +3374 -1558
- package/dist/src/commands/rebuild-command.js.map +1 -1
- package/dist/src/commands/rebuild-integration.d.ts +100 -55
- package/dist/src/commands/rebuild-integration.js +866 -3275
- package/dist/src/commands/rebuild-integration.js.map +1 -1
- package/dist/src/commands/rebuild-operations.d.ts +68 -13
- package/dist/src/commands/rebuild-operations.js +309 -120
- package/dist/src/commands/rebuild-operations.js.map +1 -1
- package/dist/src/commands/rebuild-platform-integration.d.ts +99 -0
- package/dist/src/commands/rebuild-platform-integration.js +2329 -0
- package/dist/src/commands/rebuild-platform-integration.js.map +1 -0
- package/dist/src/commands/reconcile-operation-plan.d.ts +14 -9
- package/dist/src/commands/reconcile-operation-plan.js +26 -6
- package/dist/src/commands/reconcile-operation-plan.js.map +1 -1
- package/dist/src/commands/review-inspection.d.ts +60 -0
- package/dist/src/commands/review-inspection.js +437 -0
- package/dist/src/commands/review-inspection.js.map +1 -0
- package/dist/src/commands/review-preparation.d.ts +51 -0
- package/dist/src/commands/review-preparation.js +400 -0
- package/dist/src/commands/review-preparation.js.map +1 -0
- package/dist/src/commands/runtime.d.ts +7 -1
- package/dist/src/commands/runtime.js +41 -8
- package/dist/src/commands/runtime.js.map +1 -1
- package/dist/src/commands/skill-eval.d.ts +8 -0
- package/dist/src/commands/skill-eval.js +126 -73
- package/dist/src/commands/skill-eval.js.map +1 -1
- package/dist/src/commands/status-v6.d.ts +148 -35
- package/dist/src/commands/status-v6.js +1166 -307
- package/dist/src/commands/status-v6.js.map +1 -1
- package/dist/src/commands/targets-command.d.ts +38 -0
- package/dist/src/commands/targets-command.js +210 -0
- package/dist/src/commands/targets-command.js.map +1 -0
- package/dist/src/commands/wizard.d.ts +7 -3
- package/dist/src/commands/wizard.js +7 -4
- package/dist/src/commands/wizard.js.map +1 -1
- package/dist/src/commands/write-commands.d.ts +7 -1
- package/dist/src/commands/write-commands.js +129 -38
- package/dist/src/commands/write-commands.js.map +1 -1
- package/dist/src/constants.d.ts +2 -3
- package/dist/src/constants.js +2 -3
- package/dist/src/constants.js.map +1 -1
- package/dist/src/eval/manifest-v1.d.ts +6 -3
- package/dist/src/eval/manifest-v1.js +44 -33
- package/dist/src/eval/manifest-v1.js.map +1 -1
- package/dist/src/generators/local-plugin.d.ts +4 -2
- package/dist/src/generators/local-plugin.js +319 -353
- package/dist/src/generators/local-plugin.js.map +1 -1
- package/dist/src/generators/permissions.d.ts +20 -2
- package/dist/src/generators/permissions.js +82 -15
- package/dist/src/generators/permissions.js.map +1 -1
- package/dist/src/index.d.ts +3 -34
- package/dist/src/index.js +1711 -1935
- package/dist/src/index.js.map +1 -1
- package/dist/src/intent/deployment-preferences.d.ts +63 -0
- package/dist/src/intent/deployment-preferences.js +170 -0
- package/dist/src/intent/deployment-preferences.js.map +1 -0
- package/dist/src/intent/diagnostics.d.ts +11 -0
- package/dist/src/intent/diagnostics.js +14 -0
- package/dist/src/intent/diagnostics.js.map +1 -0
- package/dist/src/intent/intent-codec.d.ts +19 -0
- package/dist/src/intent/intent-codec.js +117 -0
- package/dist/src/intent/intent-codec.js.map +1 -0
- package/dist/src/intent/intent-store.d.ts +43 -0
- package/dist/src/intent/intent-store.js +118 -0
- package/dist/src/intent/intent-store.js.map +1 -0
- package/dist/src/intent/scope-context.d.ts +35 -0
- package/dist/src/intent/scope-context.js +179 -0
- package/dist/src/intent/scope-context.js.map +1 -0
- package/dist/src/intent/work-context.d.ts +13 -0
- package/dist/src/intent/work-context.js +22 -0
- package/dist/src/intent/work-context.js.map +1 -0
- package/dist/src/output/cli-progress.d.ts +30 -0
- package/dist/src/output/cli-progress.js +424 -0
- package/dist/src/output/cli-progress.js.map +1 -0
- package/dist/src/output/command-receipt.d.ts +6 -2
- package/dist/src/output/command-receipt.js +67 -32
- package/dist/src/output/command-receipt.js.map +1 -1
- package/dist/src/output/component-delivery.d.ts +28 -0
- package/dist/src/output/component-delivery.js +141 -0
- package/dist/src/output/component-delivery.js.map +1 -0
- package/dist/src/output/model.d.ts +123 -1
- package/dist/src/output/model.js +45 -1
- package/dist/src/output/model.js.map +1 -1
- package/dist/src/output/public-command-ids.d.ts +8 -0
- package/dist/src/output/public-command-ids.js +38 -0
- package/dist/src/output/public-command-ids.js.map +1 -0
- package/dist/src/output/public-result.d.ts +71 -0
- package/dist/src/output/public-result.js +40 -0
- package/dist/src/output/public-result.js.map +1 -0
- package/dist/src/output/rebuild-progress.d.ts +3 -0
- package/dist/src/output/rebuild-progress.js +34 -9
- package/dist/src/output/rebuild-progress.js.map +1 -1
- package/dist/src/output/receipt-projection.d.ts +7 -0
- package/dist/src/output/receipt-projection.js +670 -0
- package/dist/src/output/receipt-projection.js.map +1 -0
- package/dist/src/output/render/document.d.ts +55 -0
- package/dist/src/output/render/document.js +176 -0
- package/dist/src/output/render/document.js.map +1 -0
- package/dist/src/output/render/shared.d.ts +18 -0
- package/dist/src/output/render/shared.js +245 -0
- package/dist/src/output/render/shared.js.map +1 -0
- package/dist/src/output/render/style.d.ts +45 -0
- package/dist/src/output/render/style.js +155 -0
- package/dist/src/output/render/style.js.map +1 -0
- package/dist/src/output/render/views/commands-self.d.ts +6 -0
- package/dist/src/output/render/views/commands-self.js +210 -0
- package/dist/src/output/render/views/commands-self.js.map +1 -0
- package/dist/src/output/render/views/config.d.ts +2 -0
- package/dist/src/output/render/views/config.js +203 -0
- package/dist/src/output/render/views/config.js.map +1 -0
- package/dist/src/output/render/views/dev.d.ts +2 -0
- package/dist/src/output/render/views/dev.js +278 -0
- package/dist/src/output/render/views/dev.js.map +1 -0
- package/dist/src/output/render/views/fallback.d.ts +2 -0
- package/dist/src/output/render/views/fallback.js +6 -0
- package/dist/src/output/render/views/fallback.js.map +1 -0
- package/dist/src/output/render/views/index.d.ts +3 -0
- package/dist/src/output/render/views/index.js +79 -0
- package/dist/src/output/render/views/index.js.map +1 -0
- package/dist/src/output/render/views/lifecycle.d.ts +5 -0
- package/dist/src/output/render/views/lifecycle.js +170 -0
- package/dist/src/output/render/views/lifecycle.js.map +1 -0
- package/dist/src/output/render/views/sources-cache.d.ts +3 -0
- package/dist/src/output/render/views/sources-cache.js +322 -0
- package/dist/src/output/render/views/sources-cache.js.map +1 -0
- package/dist/src/output/render/views/targets.d.ts +2 -0
- package/dist/src/output/render/views/targets.js +82 -0
- package/dist/src/output/render/views/targets.js.map +1 -0
- package/dist/src/output/skill-invocation-notices.d.ts +18 -0
- package/dist/src/output/skill-invocation-notices.js +84 -0
- package/dist/src/output/skill-invocation-notices.js.map +1 -0
- package/dist/src/platforms/antigravity-permissions.d.ts +50 -0
- package/dist/src/platforms/antigravity-permissions.js +388 -0
- package/dist/src/platforms/antigravity-permissions.js.map +1 -0
- package/dist/src/platforms/capabilities.d.ts +9 -0
- package/dist/src/platforms/capabilities.js +125 -0
- package/dist/src/platforms/capabilities.js.map +1 -0
- package/dist/src/platforms/contracts.d.ts +394 -0
- package/dist/src/platforms/contracts.js +2 -0
- package/dist/src/platforms/contracts.js.map +1 -0
- package/dist/src/platforms/cursor-workspace-hook.d.ts +28 -0
- package/dist/src/platforms/cursor-workspace-hook.js +198 -0
- package/dist/src/platforms/cursor-workspace-hook.js.map +1 -0
- package/dist/src/platforms/discovery.d.ts +100 -0
- package/dist/src/platforms/discovery.js +796 -0
- package/dist/src/platforms/discovery.js.map +1 -0
- package/dist/src/platforms/grok-permission-config.d.ts +23 -0
- package/dist/src/platforms/grok-permission-config.js +184 -0
- package/dist/src/platforms/grok-permission-config.js.map +1 -0
- package/dist/src/platforms/grok-permission-document.d.ts +4 -0
- package/dist/src/platforms/grok-permission-document.js +145 -0
- package/dist/src/platforms/grok-permission-document.js.map +1 -0
- package/dist/src/platforms/grok-permissions.d.ts +17 -0
- package/dist/src/platforms/grok-permissions.js +311 -0
- package/dist/src/platforms/grok-permissions.js.map +1 -0
- package/dist/src/platforms/host-permission-policy.d.ts +38 -0
- package/dist/src/platforms/host-permission-policy.js +86 -0
- package/dist/src/platforms/host-permission-policy.js.map +1 -0
- package/dist/src/platforms/identity.d.ts +4 -0
- package/dist/src/platforms/identity.js +22 -0
- package/dist/src/platforms/identity.js.map +1 -0
- package/dist/src/platforms/inspection-grok.d.ts +4 -0
- package/dist/src/platforms/inspection-grok.js +380 -0
- package/dist/src/platforms/inspection-grok.js.map +1 -0
- package/dist/src/platforms/inspection-native.d.ts +8 -0
- package/dist/src/platforms/inspection-native.js +584 -0
- package/dist/src/platforms/inspection-native.js.map +1 -0
- package/dist/src/platforms/inspection-opencode.d.ts +4 -0
- package/dist/src/platforms/inspection-opencode.js +98 -0
- package/dist/src/platforms/inspection-opencode.js.map +1 -0
- package/dist/src/platforms/inspection-pi.d.ts +9 -0
- package/dist/src/platforms/inspection-pi.js +490 -0
- package/dist/src/platforms/inspection-pi.js.map +1 -0
- package/dist/src/platforms/inspection-query.d.ts +26 -0
- package/dist/src/platforms/inspection-query.js +118 -0
- package/dist/src/platforms/inspection-query.js.map +1 -0
- package/dist/src/platforms/inspection.d.ts +20 -0
- package/dist/src/platforms/inspection.js +259 -0
- package/dist/src/platforms/inspection.js.map +1 -0
- package/dist/src/platforms/layout.d.ts +35 -0
- package/dist/src/platforms/layout.js +332 -0
- package/dist/src/platforms/layout.js.map +1 -0
- package/dist/src/platforms/lifecycle-native-services.d.ts +3 -0
- package/dist/src/platforms/lifecycle-native-services.js +213 -0
- package/dist/src/platforms/lifecycle-native-services.js.map +1 -0
- package/dist/src/platforms/lifecycle-native.d.ts +14 -0
- package/dist/src/platforms/lifecycle-native.js +234 -0
- package/dist/src/platforms/lifecycle-native.js.map +1 -0
- package/dist/src/platforms/lifecycle.d.ts +29 -0
- package/dist/src/platforms/lifecycle.js +688 -0
- package/dist/src/platforms/lifecycle.js.map +1 -0
- package/dist/src/platforms/opencode-permission-config.d.ts +13 -0
- package/dist/src/platforms/opencode-permission-config.js +253 -0
- package/dist/src/platforms/opencode-permission-config.js.map +1 -0
- package/dist/src/platforms/opencode-permissions.d.ts +39 -0
- package/dist/src/platforms/opencode-permissions.js +212 -0
- package/dist/src/platforms/opencode-permissions.js.map +1 -0
- package/dist/src/platforms/opencode-related-permissions.d.ts +40 -0
- package/dist/src/platforms/opencode-related-permissions.js +177 -0
- package/dist/src/platforms/opencode-related-permissions.js.map +1 -0
- package/dist/src/platforms/permission-ownership.d.ts +89 -0
- package/dist/src/platforms/permission-ownership.js +543 -0
- package/dist/src/platforms/permission-ownership.js.map +1 -0
- package/dist/src/platforms/permission-sidecar.d.ts +70 -0
- package/dist/src/platforms/permission-sidecar.js +215 -0
- package/dist/src/platforms/permission-sidecar.js.map +1 -0
- package/dist/src/platforms/projection-code-extension.d.ts +8 -0
- package/dist/src/platforms/projection-code-extension.js +126 -0
- package/dist/src/platforms/projection-code-extension.js.map +1 -0
- package/dist/src/platforms/projection-command-resources.d.ts +7 -0
- package/dist/src/platforms/projection-command-resources.js +74 -0
- package/dist/src/platforms/projection-command-resources.js.map +1 -0
- package/dist/src/platforms/projection-files.d.ts +28 -0
- package/dist/src/platforms/projection-files.js +113 -0
- package/dist/src/platforms/projection-files.js.map +1 -0
- package/dist/src/platforms/projection-marketplace.d.ts +19 -0
- package/dist/src/platforms/projection-marketplace.js +42 -0
- package/dist/src/platforms/projection-marketplace.js.map +1 -0
- package/dist/src/platforms/projection.d.ts +13 -0
- package/dist/src/platforms/projection.js +578 -0
- package/dist/src/platforms/projection.js.map +1 -0
- package/dist/src/platforms/read-only-retry-policy.d.ts +34 -0
- package/dist/src/platforms/read-only-retry-policy.js +70 -0
- package/dist/src/platforms/read-only-retry-policy.js.map +1 -0
- package/dist/src/platforms/registry.d.ts +4 -0
- package/dist/src/platforms/registry.js +30 -0
- package/dist/src/platforms/registry.js.map +1 -0
- 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/platforms/supplement-layout.d.ts +20 -0
- package/dist/src/platforms/supplement-layout.js +54 -0
- package/dist/src/platforms/supplement-layout.js.map +1 -0
- package/dist/src/platforms/supplement-state.d.ts +13 -0
- package/dist/src/platforms/supplement-state.js +93 -0
- package/dist/src/platforms/supplement-state.js.map +1 -0
- package/dist/src/portable/commands.d.ts +60 -11
- package/dist/src/portable/commands.js +88 -346
- package/dist/src/portable/commands.js.map +1 -1
- package/dist/src/portable/historical-materialization.d.ts +25 -0
- package/dist/src/portable/historical-materialization.js +148 -0
- package/dist/src/portable/historical-materialization.js.map +1 -0
- package/dist/src/portable/materializer.d.ts +46 -2
- package/dist/src/portable/materializer.js +262 -259
- package/dist/src/portable/materializer.js.map +1 -1
- package/dist/src/portable/recovery-layout.d.ts +17 -0
- package/dist/src/portable/recovery-layout.js +42 -0
- package/dist/src/portable/recovery-layout.js.map +1 -0
- package/dist/src/portable/recovery.d.ts +177 -0
- package/dist/src/portable/recovery.js +597 -0
- package/dist/src/portable/recovery.js.map +1 -0
- package/dist/src/portable/writer.d.ts +67 -0
- package/dist/src/portable/writer.js +321 -0
- package/dist/src/portable/writer.js.map +1 -0
- package/dist/src/recovery/coordinator.d.ts +175 -0
- package/dist/src/recovery/coordinator.js +1629 -0
- package/dist/src/recovery/coordinator.js.map +1 -0
- package/dist/src/recovery/demand.d.ts +53 -0
- package/dist/src/recovery/demand.js +189 -0
- package/dist/src/recovery/demand.js.map +1 -0
- package/dist/src/recovery/install-concurrency.d.ts +48 -0
- package/dist/src/recovery/install-concurrency.js +196 -0
- package/dist/src/recovery/install-concurrency.js.map +1 -0
- package/dist/src/recovery/interruption.d.ts +19 -0
- package/dist/src/recovery/interruption.js +43 -0
- package/dist/src/recovery/interruption.js.map +1 -0
- package/dist/src/recovery/joint-coordinator.d.ts +46 -0
- package/dist/src/recovery/joint-coordinator.js +1728 -0
- package/dist/src/recovery/joint-coordinator.js.map +1 -0
- package/dist/src/recovery/joint-demand.d.ts +72 -0
- package/dist/src/recovery/joint-demand.js +332 -0
- package/dist/src/recovery/joint-demand.js.map +1 -0
- package/dist/src/recovery/joint-install-execution.d.ts +19 -0
- package/dist/src/recovery/joint-install-execution.js +312 -0
- package/dist/src/recovery/joint-install-execution.js.map +1 -0
- package/dist/src/recovery/joint-install-native-rebase.d.ts +4 -0
- package/dist/src/recovery/joint-install-native-rebase.js +67 -0
- package/dist/src/recovery/joint-install-native-rebase.js.map +1 -0
- package/dist/src/recovery/performance.d.ts +4 -0
- package/dist/src/recovery/performance.js +26 -0
- package/dist/src/recovery/performance.js.map +1 -0
- package/dist/src/recovery/receipt.d.ts +131 -0
- package/dist/src/recovery/receipt.js +91 -0
- package/dist/src/recovery/receipt.js.map +1 -0
- package/dist/src/recovery/retirement.d.ts +47 -0
- package/dist/src/recovery/retirement.js +504 -0
- package/dist/src/recovery/retirement.js.map +1 -0
- package/dist/src/recovery/status.d.ts +143 -0
- package/dist/src/recovery/status.js +1528 -0
- package/dist/src/recovery/status.js.map +1 -0
- package/dist/src/recovery/types.d.ts +85 -0
- package/dist/src/recovery/types.js +2 -0
- package/dist/src/recovery/types.js.map +1 -0
- package/dist/src/review/eval-source-input.d.ts +44 -0
- package/dist/src/review/eval-source-input.js +213 -0
- package/dist/src/review/eval-source-input.js.map +1 -0
- package/dist/src/review/platform-profile.d.ts +5 -0
- package/dist/src/review/platform-profile.js +13 -0
- package/dist/src/review/platform-profile.js.map +1 -0
- package/dist/src/review/review-profile.d.ts +20 -0
- package/dist/src/review/review-profile.js +286 -0
- package/dist/src/review/review-profile.js.map +1 -0
- package/dist/src/review/review-selection.d.ts +20 -0
- package/dist/src/review/review-selection.js +502 -0
- package/dist/src/review/review-selection.js.map +1 -0
- package/dist/src/review/review-types.d.ts +71 -0
- package/dist/src/review/review-types.js +16 -0
- package/dist/src/review/review-types.js.map +1 -0
- package/dist/src/review/skill-materialization.d.ts +67 -0
- package/dist/src/review/skill-materialization.js +235 -0
- package/dist/src/review/skill-materialization.js.map +1 -0
- package/dist/src/review/source-binding.d.ts +203 -0
- package/dist/src/review/source-binding.js +791 -0
- package/dist/src/review/source-binding.js.map +1 -0
- package/dist/src/tui/agent-management.d.ts +23 -0
- package/dist/src/tui/agent-management.js +319 -0
- package/dist/src/tui/agent-management.js.map +1 -0
- package/dist/src/tui/agent-settings.d.ts +47 -0
- package/dist/src/tui/agent-settings.js +97 -0
- package/dist/src/tui/agent-settings.js.map +1 -0
- package/dist/src/tui/catalog-generation.d.ts +9 -0
- package/dist/src/tui/catalog-generation.js +96 -6
- package/dist/src/tui/catalog-generation.js.map +1 -1
- package/dist/src/tui/catalog-sources/projection.d.ts +2 -2
- package/dist/src/tui/catalog-sources/screens.js +19 -12
- package/dist/src/tui/catalog-sources/screens.js.map +1 -1
- package/dist/src/tui/catalog-sources/session.d.ts +11 -1
- package/dist/src/tui/catalog-sources/session.js +80 -5
- package/dist/src/tui/catalog-sources/session.js.map +1 -1
- package/dist/src/tui/catalog-sources/types.d.ts +15 -2
- package/dist/src/tui/catalog-store-task.d.ts +16 -0
- package/dist/src/tui/catalog-store-task.js +19 -0
- package/dist/src/tui/catalog-store-task.js.map +1 -0
- package/dist/src/tui/clipboard.d.ts +13 -0
- package/dist/src/tui/clipboard.js +95 -0
- package/dist/src/tui/clipboard.js.map +1 -0
- package/dist/src/tui/components.d.ts +113 -3
- package/dist/src/tui/components.js +201 -34
- package/dist/src/tui/components.js.map +1 -1
- package/dist/src/tui/config-array-draft.d.ts +30 -0
- package/dist/src/tui/config-array-draft.js +51 -0
- package/dist/src/tui/config-array-draft.js.map +1 -0
- package/dist/src/tui/config-leaf-editor.d.ts +44 -0
- package/dist/src/tui/config-leaf-editor.js +227 -0
- package/dist/src/tui/config-leaf-editor.js.map +1 -0
- package/dist/src/tui/config-object-suggestions.d.ts +15 -0
- package/dist/src/tui/config-object-suggestions.js +71 -0
- package/dist/src/tui/config-object-suggestions.js.map +1 -0
- package/dist/src/tui/config-references.d.ts +38 -0
- package/dist/src/tui/config-references.js +82 -0
- package/dist/src/tui/config-references.js.map +1 -0
- package/dist/src/tui/config-suggestions.d.ts +27 -0
- package/dist/src/tui/config-suggestions.js +62 -0
- package/dist/src/tui/config-suggestions.js.map +1 -0
- package/dist/src/tui/config-value-presentation.d.ts +23 -0
- package/dist/src/tui/config-value-presentation.js +151 -0
- package/dist/src/tui/config-value-presentation.js.map +1 -0
- package/dist/src/tui/console-app-v4.d.ts +14 -5
- package/dist/src/tui/console-app-v4.js +9779 -2488
- package/dist/src/tui/console-app-v4.js.map +1 -1
- package/dist/src/tui/content-item-card.d.ts +13 -0
- package/dist/src/tui/content-item-card.js +51 -0
- package/dist/src/tui/content-item-card.js.map +1 -0
- package/dist/src/tui/controller-runtime.d.ts +4 -3
- package/dist/src/tui/controller-runtime.js +1610 -590
- package/dist/src/tui/controller-runtime.js.map +1 -1
- package/dist/src/tui/controller.d.ts +583 -80
- package/dist/src/tui/controller.js +3362 -263
- package/dist/src/tui/controller.js.map +1 -1
- package/dist/src/tui/dependency-graph-view.d.ts +39 -0
- package/dist/src/tui/dependency-graph-view.js +121 -0
- package/dist/src/tui/dependency-graph-view.js.map +1 -0
- package/dist/src/tui/dependency-graph.d.ts +81 -0
- package/dist/src/tui/dependency-graph.js +452 -0
- package/dist/src/tui/dependency-graph.js.map +1 -0
- package/dist/src/tui/deployment-view.d.ts +14 -0
- package/dist/src/tui/deployment-view.js +175 -0
- package/dist/src/tui/deployment-view.js.map +1 -0
- package/dist/src/tui/diagnostic-projection.d.ts +31 -0
- package/dist/src/tui/diagnostic-projection.js +681 -0
- package/dist/src/tui/diagnostic-projection.js.map +1 -0
- package/dist/src/tui/diagnostics.d.ts +6 -2
- package/dist/src/tui/diagnostics.js +14 -2
- package/dist/src/tui/diagnostics.js.map +1 -1
- package/dist/src/tui/entity-cards.d.ts +56 -0
- package/dist/src/tui/entity-cards.js +327 -0
- package/dist/src/tui/entity-cards.js.map +1 -0
- package/dist/src/tui/glossary.d.ts +25 -0
- package/dist/src/tui/glossary.js +78 -0
- package/dist/src/tui/glossary.js.map +1 -0
- package/dist/src/tui/guided-setup.d.ts +25 -0
- package/dist/src/tui/guided-setup.js +101 -0
- package/dist/src/tui/guided-setup.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/input-display.d.ts +1 -0
- package/dist/src/tui/input-display.js +23 -1
- package/dist/src/tui/input-display.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 +36 -0
- package/dist/src/tui/lifecycle-action-view.js.map +1 -0
- package/dist/src/tui/model.d.ts +141 -28
- package/dist/src/tui/model.js +968 -285
- package/dist/src/tui/model.js.map +1 -1
- package/dist/src/tui/operation-diagnostic-screens.d.ts +8 -0
- package/dist/src/tui/operation-diagnostic-screens.js +76 -0
- package/dist/src/tui/operation-diagnostic-screens.js.map +1 -0
- package/dist/src/tui/operation-history.d.ts +91 -0
- package/dist/src/tui/operation-history.js +167 -0
- package/dist/src/tui/operation-history.js.map +1 -0
- package/dist/src/tui/operation-review-planner.d.ts +7 -0
- package/dist/src/tui/operation-review-planner.js +980 -146
- package/dist/src/tui/operation-review-planner.js.map +1 -1
- package/dist/src/tui/plugin-content.d.ts +33 -0
- package/dist/src/tui/plugin-content.js +245 -0
- package/dist/src/tui/plugin-content.js.map +1 -0
- package/dist/src/tui/plugin-detail.d.ts +75 -0
- package/dist/src/tui/plugin-detail.js +267 -0
- package/dist/src/tui/plugin-detail.js.map +1 -0
- package/dist/src/tui/plugin-write-task.d.ts +69 -0
- package/dist/src/tui/plugin-write-task.js +286 -0
- package/dist/src/tui/plugin-write-task.js.map +1 -0
- package/dist/src/tui/query-header.d.ts +30 -0
- package/dist/src/tui/query-header.js +40 -0
- package/dist/src/tui/query-header.js.map +1 -0
- package/dist/src/tui/reader.d.ts +38 -0
- package/dist/src/tui/reader.js +49 -0
- package/dist/src/tui/reader.js.map +1 -0
- package/dist/src/tui/router.d.ts +170 -39
- package/dist/src/tui/router.js +338 -50
- package/dist/src/tui/router.js.map +1 -1
- package/dist/src/tui/scoped-flow.d.ts +49 -0
- package/dist/src/tui/scoped-flow.js +212 -0
- package/dist/src/tui/scoped-flow.js.map +1 -0
- package/dist/src/tui/scoped-inventory.d.ts +139 -0
- package/dist/src/tui/scoped-inventory.js +295 -0
- package/dist/src/tui/scoped-inventory.js.map +1 -0
- package/dist/src/tui/screen-registry.d.ts +696 -0
- package/dist/src/tui/screen-registry.js +226 -0
- package/dist/src/tui/screen-registry.js.map +1 -0
- package/dist/src/tui/session-console-app.d.ts +8 -0
- package/dist/src/tui/session-console-app.js +24 -0
- package/dist/src/tui/session-console-app.js.map +1 -0
- package/dist/src/tui/session-host.d.ts +45 -0
- package/dist/src/tui/session-host.js +219 -0
- package/dist/src/tui/session-host.js.map +1 -0
- package/dist/src/tui/source-detail-card.d.ts +29 -0
- package/dist/src/tui/source-detail-card.js +45 -0
- package/dist/src/tui/source-detail-card.js.map +1 -0
- package/dist/src/tui/theme.d.ts +12 -0
- package/dist/src/tui/theme.js +12 -0
- package/dist/src/tui/theme.js.map +1 -1
- package/dist/src/tui/viewport.d.ts +1 -0
- package/dist/src/tui/viewport.js +23 -0
- package/dist/src/tui/viewport.js.map +1 -1
- package/dist/src/tui/wizard.js +26 -4
- package/dist/src/tui/wizard.js.map +1 -1
- package/dist/src/types.d.ts +105 -83
- package/dist/src/types.js +1 -1
- package/dist/src/types.js.map +1 -1
- package/dist/src/utils/agent-version.d.ts +10 -4
- package/dist/src/utils/agent-version.js +6 -8
- package/dist/src/utils/agent-version.js.map +1 -1
- package/dist/src/utils/artifact-plan.d.ts +18 -25
- package/dist/src/utils/artifact-plan.js +59 -445
- package/dist/src/utils/artifact-plan.js.map +1 -1
- package/dist/src/utils/artifact-renderer.d.ts +64 -90
- package/dist/src/utils/artifact-renderer.js +202 -303
- package/dist/src/utils/artifact-renderer.js.map +1 -1
- package/dist/src/utils/artifact-request.d.ts +19 -14
- package/dist/src/utils/artifact-request.js +51 -36
- package/dist/src/utils/artifact-request.js.map +1 -1
- package/dist/src/utils/artifact-sources.d.ts +4 -8
- package/dist/src/utils/artifact-sources.js +15 -6
- package/dist/src/utils/artifact-sources.js.map +1 -1
- package/dist/src/utils/aw-home-mutation-lock.d.ts +1 -0
- package/dist/src/utils/aw-home-mutation-lock.js +28 -6
- package/dist/src/utils/aw-home-mutation-lock.js.map +1 -1
- package/dist/src/utils/bundle-layout.d.ts +2 -0
- package/dist/src/utils/bundle-layout.js +88 -158
- 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-digests.d.ts +2 -12
- package/dist/src/utils/catalog-digests.js +7 -55
- package/dist/src/utils/catalog-digests.js.map +1 -1
- package/dist/src/utils/catalog-generation-resolver.d.ts +28 -4
- package/dist/src/utils/catalog-generation-resolver.js +146 -40
- package/dist/src/utils/catalog-generation-resolver.js.map +1 -1
- package/dist/src/utils/catalog-generation-service.d.ts +25 -2
- package/dist/src/utils/catalog-generation-service.js +99 -48
- package/dist/src/utils/catalog-generation-service.js.map +1 -1
- package/dist/src/utils/catalog-generation-state.js +1 -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 +69 -10
- package/dist/src/utils/catalog-generation-store.js.map +1 -1
- package/dist/src/utils/catalog-operation-context.d.ts +61 -4
- package/dist/src/utils/catalog-operation-context.js +225 -4
- 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-runtime-projection.d.ts +4 -3
- package/dist/src/utils/catalog-runtime-projection.js.map +1 -1
- package/dist/src/utils/catalog-snapshot.d.ts +3 -0
- package/dist/src/utils/catalog-snapshot.js +4 -1
- package/dist/src/utils/catalog-snapshot.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.d.ts +57 -1
- package/dist/src/utils/catalog-source-references.js +755 -162
- 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 +21 -5
- package/dist/src/utils/catalog-sources.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/codex-executable-discovery.d.ts +28 -0
- package/dist/src/utils/codex-executable-discovery.js +431 -0
- package/dist/src/utils/codex-executable-discovery.js.map +1 -0
- package/dist/src/utils/codex-manager.d.ts +23 -42
- package/dist/src/utils/codex-manager.js +79 -767
- package/dist/src/utils/codex-manager.js.map +1 -1
- package/dist/src/utils/codex-native-observation.d.ts +40 -1
- package/dist/src/utils/codex-native-observation.js +172 -0
- package/dist/src/utils/codex-native-observation.js.map +1 -1
- package/dist/src/utils/codex-reconciler.d.ts +2 -7
- package/dist/src/utils/codex-reconciler.js +33 -5
- package/dist/src/utils/codex-reconciler.js.map +1 -1
- package/dist/src/utils/codex-shared-native.d.ts +8 -26
- package/dist/src/utils/codex-shared-native.js +63 -83
- package/dist/src/utils/codex-shared-native.js.map +1 -1
- package/dist/src/utils/codex-skill-staging.d.ts +4 -3
- package/dist/src/utils/codex-skill-staging.js.map +1 -1
- package/dist/src/utils/codex-skills-root.d.ts +4 -0
- package/dist/src/utils/codex-skills-root.js +29 -0
- package/dist/src/utils/codex-skills-root.js.map +1 -0
- package/dist/src/utils/codex-surface-analysis.d.ts +6 -2
- package/dist/src/utils/codex-surface-analysis.js +31 -56
- package/dist/src/utils/codex-surface-analysis.js.map +1 -1
- package/dist/src/utils/component-agent-binding.d.ts +17 -0
- package/dist/src/utils/component-agent-binding.js +119 -0
- package/dist/src/utils/component-agent-binding.js.map +1 -0
- package/dist/src/utils/component-command-preparation.d.ts +33 -0
- package/dist/src/utils/component-command-preparation.js +129 -0
- package/dist/src/utils/component-command-preparation.js.map +1 -0
- package/dist/src/utils/component-gap.d.ts +4 -0
- package/dist/src/utils/component-gap.js +16 -0
- package/dist/src/utils/component-gap.js.map +1 -0
- package/dist/src/utils/component-resources.d.ts +53 -0
- package/dist/src/utils/component-resources.js +340 -0
- package/dist/src/utils/component-resources.js.map +1 -0
- package/dist/src/utils/config-platforms.d.ts +21 -0
- package/dist/src/utils/config-platforms.js +51 -0
- package/dist/src/utils/config-platforms.js.map +1 -0
- package/dist/src/utils/dynamic-skill-tree.d.ts +18 -6
- package/dist/src/utils/dynamic-skill-tree.js +33 -40
- package/dist/src/utils/dynamic-skill-tree.js.map +1 -1
- package/dist/src/utils/git-catalog-provider.d.ts +3 -0
- package/dist/src/utils/git-catalog-provider.js +49 -3
- package/dist/src/utils/git-catalog-provider.js.map +1 -1
- package/dist/src/utils/inventory-recovery-diagnostic.d.ts +4 -0
- package/dist/src/utils/inventory-recovery-diagnostic.js +15 -0
- package/dist/src/utils/inventory-recovery-diagnostic.js.map +1 -0
- package/dist/src/utils/local-marketplace.d.ts +19 -12
- package/dist/src/utils/local-marketplace.js +97 -194
- package/dist/src/utils/local-marketplace.js.map +1 -1
- package/dist/src/utils/managed-command-cli-review.d.ts +53 -0
- package/dist/src/utils/managed-command-cli-review.js +431 -0
- package/dist/src/utils/managed-command-cli-review.js.map +1 -0
- package/dist/src/utils/managed-command-closure.d.ts +14 -0
- package/dist/src/utils/managed-command-closure.js +156 -0
- package/dist/src/utils/managed-command-closure.js.map +1 -0
- package/dist/src/utils/managed-command-errors.d.ts +5 -0
- package/dist/src/utils/managed-command-errors.js +10 -0
- package/dist/src/utils/managed-command-errors.js.map +1 -0
- package/dist/src/utils/managed-command-materialization.d.ts +90 -0
- package/dist/src/utils/managed-command-materialization.js +375 -0
- package/dist/src/utils/managed-command-materialization.js.map +1 -0
- package/dist/src/utils/managed-command-preparation.d.ts +30 -0
- package/dist/src/utils/managed-command-preparation.js +39 -0
- package/dist/src/utils/managed-command-preparation.js.map +1 -0
- package/dist/src/utils/managed-command-review.d.ts +33 -0
- package/dist/src/utils/managed-command-review.js +80 -0
- package/dist/src/utils/managed-command-review.js.map +1 -0
- package/dist/src/utils/managed-command-runtime.d.ts +36 -0
- package/dist/src/utils/managed-command-runtime.js +126 -0
- package/dist/src/utils/managed-command-runtime.js.map +1 -0
- package/dist/src/utils/managed-command-snapshots.d.ts +24 -0
- package/dist/src/utils/managed-command-snapshots.js +89 -0
- package/dist/src/utils/managed-command-snapshots.js.map +1 -0
- package/dist/src/utils/managed-command-store.d.ts +141 -0
- package/dist/src/utils/managed-command-store.js +839 -0
- package/dist/src/utils/managed-command-store.js.map +1 -0
- package/dist/src/utils/multi-source-catalog.d.ts +6 -1
- package/dist/src/utils/multi-source-catalog.js +9 -4
- package/dist/src/utils/multi-source-catalog.js.map +1 -1
- package/dist/src/utils/native-cli-interruption.d.ts +11 -0
- package/dist/src/utils/native-cli-interruption.js +106 -0
- package/dist/src/utils/native-cli-interruption.js.map +1 -0
- package/dist/src/utils/native-cli.d.ts +37 -6
- package/dist/src/utils/native-cli.js +523 -60
- package/dist/src/utils/native-cli.js.map +1 -1
- package/dist/src/utils/native-demand.d.ts +29 -0
- package/dist/src/utils/native-demand.js +4 -0
- package/dist/src/utils/native-demand.js.map +1 -0
- package/dist/src/utils/native-tool-context.d.ts +17 -0
- package/dist/src/utils/native-tool-context.js +40 -0
- package/dist/src/utils/native-tool-context.js.map +1 -0
- package/dist/src/utils/native-tool-review.d.ts +8 -0
- package/dist/src/utils/native-tool-review.js +14 -0
- package/dist/src/utils/native-tool-review.js.map +1 -0
- package/dist/src/utils/ownership.d.ts +38 -3
- package/dist/src/utils/ownership.js +118 -11
- 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/path-catalog-provider.js +2 -0
- package/dist/src/utils/path-catalog-provider.js.map +1 -1
- package/dist/src/utils/paths.d.ts +1 -1
- package/dist/src/utils/paths.js +5 -2
- package/dist/src/utils/paths.js.map +1 -1
- package/dist/src/utils/platform-empty-state.d.ts +69 -0
- package/dist/src/utils/platform-empty-state.js +249 -0
- package/dist/src/utils/platform-empty-state.js.map +1 -0
- package/dist/src/utils/platform-support.d.ts +1 -1
- package/dist/src/utils/platform-support.js +1 -1
- package/dist/src/utils/platform-support.js.map +1 -1
- package/dist/src/utils/plugin-config-command-apply.d.ts +33 -0
- package/dist/src/utils/plugin-config-command-apply.js +142 -0
- package/dist/src/utils/plugin-config-command-apply.js.map +1 -0
- package/dist/src/utils/plugin-config-diagnostics.d.ts +16 -0
- package/dist/src/utils/plugin-config-diagnostics.js +44 -0
- package/dist/src/utils/plugin-config-diagnostics.js.map +1 -0
- package/dist/src/utils/plugin-config-impact.d.ts +76 -0
- package/dist/src/utils/plugin-config-impact.js +359 -0
- package/dist/src/utils/plugin-config-impact.js.map +1 -0
- package/dist/src/utils/plugin-config-references.d.ts +116 -0
- package/dist/src/utils/plugin-config-references.js +379 -0
- package/dist/src/utils/plugin-config-references.js.map +1 -0
- package/dist/src/utils/plugin-config-suggestion-runner.d.ts +83 -0
- package/dist/src/utils/plugin-config-suggestion-runner.js +308 -0
- package/dist/src/utils/plugin-config-suggestion-runner.js.map +1 -0
- package/dist/src/utils/plugin-config-suggestions.d.ts +50 -0
- package/dist/src/utils/plugin-config-suggestions.js +322 -0
- package/dist/src/utils/plugin-config-suggestions.js.map +1 -0
- package/dist/src/utils/plugin-config-write.d.ts +108 -19
- package/dist/src/utils/plugin-config-write.js +781 -568
- package/dist/src/utils/plugin-config-write.js.map +1 -1
- package/dist/src/utils/plugin-config.d.ts +122 -43
- package/dist/src/utils/plugin-config.js +574 -610
- package/dist/src/utils/plugin-config.js.map +1 -1
- package/dist/src/utils/plugin-dependencies.d.ts +1 -1
- package/dist/src/utils/plugin-dependencies.js.map +1 -1
- package/dist/src/utils/plugin-scripts.d.ts +41 -17
- package/dist/src/utils/plugin-scripts.js +586 -123
- package/dist/src/utils/plugin-scripts.js.map +1 -1
- package/dist/src/utils/process-lock.d.ts +1 -0
- package/dist/src/utils/process-lock.js +22 -5
- package/dist/src/utils/process-lock.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/rendered-contract.js +24 -1
- package/dist/src/utils/rendered-contract.js.map +1 -1
- package/dist/src/utils/runtime-config.d.ts +18 -0
- package/dist/src/utils/runtime-config.js +64 -0
- package/dist/src/utils/runtime-config.js.map +1 -0
- package/dist/src/utils/runtime-skill-closure.d.ts +2 -2
- package/dist/src/utils/runtime-skill-closure.js +50 -7
- package/dist/src/utils/runtime-skill-closure.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/skill-invocation-warning.d.ts +19 -0
- package/dist/src/utils/skill-invocation-warning.js +43 -0
- package/dist/src/utils/skill-invocation-warning.js.map +1 -0
- package/dist/src/utils/skill-validation.js +0 -5
- package/dist/src/utils/skill-validation.js.map +1 -1
- package/dist/src/utils/state-paths.d.ts +8 -3
- package/dist/src/utils/state-paths.js +53 -16
- package/dist/src/utils/state-paths.js.map +1 -1
- package/dist/src/utils/target-eligibility.d.ts +2 -2
- package/dist/src/utils/target-eligibility.js.map +1 -1
- package/dist/src/utils/windows-claude-shim.d.ts +7 -0
- package/dist/src/utils/windows-claude-shim.js +10 -0
- package/dist/src/utils/windows-claude-shim.js.map +1 -0
- package/dist/src/utils/windows-npm-shim.d.ts +16 -0
- package/dist/src/utils/windows-npm-shim.js +155 -0
- package/dist/src/utils/windows-npm-shim.js.map +1 -0
- package/dist/vitest.config.js +109 -9
- package/dist/vitest.config.js.map +1 -1
- package/package.json +20 -12
- 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
- package/dist/src/commands/review-publication.d.ts +0 -99
- package/dist/src/commands/review-publication.js +0 -904
- package/dist/src/commands/review-publication.js.map +0 -1
- package/dist/src/commands/sync-command.d.ts +0 -23
- package/dist/src/commands/sync-command.js +0 -242
- package/dist/src/commands/sync-command.js.map +0 -1
- package/dist/src/portable/skills-cli.d.ts +0 -43
- package/dist/src/portable/skills-cli.js +0 -148
- package/dist/src/portable/skills-cli.js.map +0 -1
- package/dist/src/utils/codex-native-render-receipt.d.ts +0 -40
- package/dist/src/utils/codex-native-render-receipt.js +0 -205
- package/dist/src/utils/codex-native-render-receipt.js.map +0 -1
- package/dist/src/utils/plugin-intent-state.d.ts +0 -34
- package/dist/src/utils/plugin-intent-state.js +0 -289
- package/dist/src/utils/plugin-intent-state.js.map +0 -1
- package/dist/src/utils/slash-commands.d.ts +0 -1
- package/dist/src/utils/slash-commands.js +0 -2
- package/dist/src/utils/slash-commands.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"antigravity-permissions.js","sourceRoot":"","sources":["../../../src/platforms/antigravity-permissions.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAE9C,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,EAAE,SAAS,EAAmB,MAAM,cAAc,CAAC;AAElG,OAAO,EAAE,0BAA0B,EAAE,MAAM,qBAAqB,CAAC;AACjE,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA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Q,KAAK,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IACzE,MAAM,KAAK,GAAG,SAAS,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC;WACzE,KAAK,CAAC,MAAM,KAAK,IAAI,CAAC,MAAM,IAAI,KAAK,CAAC,QAAQ,KAAK,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;IACxE,OAAO,EAAE,MAAM,EAAE,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,OAAO;QAC5C,QAAQ,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAC,UAAU,EAAE,EAAE;YACxC,MAAM,IAAI,GAAG,SAAS,CAAC,GAAG,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC;YAChD,OAAO,IAAI,EAAE,MAAM,KAAK,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,GAAG,UAAU,EAAE,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QAChG,CAAC,CAAC,EAAE,CAAC;AACT,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type PlatformCapabilitiesV3, type PlatformId, type Scope } from '@lesliechan721/aw-plugin-core/manifest';
|
|
2
|
+
import type { CapabilityInput, QualifiedPlatformProfile } from './contracts.js';
|
|
3
|
+
/** Standard writer mappings and confirmed interface limits, independent of historical host sessions. */
|
|
4
|
+
export declare function getQualifiedPlatformProfile(platform: PlatformId): QualifiedPlatformProfile;
|
|
5
|
+
/** Local and authoring preparation start from the same platform-only interface. */
|
|
6
|
+
export declare function capabilitiesFromProfile(profile: QualifiedPlatformProfile, scope: Scope, basis: PlatformCapabilitiesV3['basis']): PlatformCapabilitiesV3;
|
|
7
|
+
/** The renderer and persistent input evidence consume the same capability facts. */
|
|
8
|
+
export declare function toPlatformCapabilitiesView(input: PlatformCapabilitiesV3): PlatformCapabilitiesV3;
|
|
9
|
+
export declare function getPlatformCapabilities(input: CapabilityInput): PlatformCapabilitiesV3;
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import { COMPONENT_KINDS, getPlatformFeatureRegistry, getPlatformHookHandlerRegistry, resolvePlatformAgentNamingMode, } from '@lesliechan721/aw-plugin-core/manifest';
|
|
2
|
+
const PROFILE_BASELINES = {
|
|
3
|
+
codex: '0.155.0', claude: '2.1.292', cursor: 'desktop-3.29_cli-2026.11.05-86047df',
|
|
4
|
+
antigravity: 'cli-1.3.4', opencode: '2.0.0', pi: '1.0.0',
|
|
5
|
+
copilot: '1.0.95', grok: 'native-plugin-interface', generic: 'skills-v1',
|
|
6
|
+
};
|
|
7
|
+
const HOOK_HANDLERS = getPlatformHookHandlerRegistry();
|
|
8
|
+
/** Standard writer mappings and confirmed interface limits, independent of historical host sessions. */
|
|
9
|
+
export function getQualifiedPlatformProfile(platform) {
|
|
10
|
+
const kinds = Object.fromEntries(COMPONENT_KINDS.map((kind) => {
|
|
11
|
+
const supported = platform === 'generic' ? kind === 'skill' : platform !== 'opencode' || kind !== 'agent';
|
|
12
|
+
const supplement = platform === 'codex' && kind === 'agent' || platform === 'grok' && kind === 'instruction';
|
|
13
|
+
return [kind, {
|
|
14
|
+
status: supported ? 'supported' : 'unsupported',
|
|
15
|
+
reasonCodes: supported ? [] : ['interface-unsupported'],
|
|
16
|
+
delivery: !supported ? [] : platform === 'generic' ? ['generic-files'] : [supplement ? 'managed-host-resource'
|
|
17
|
+
: platform === 'pi' || platform === 'opencode' ? 'native-extension' : 'native-package'],
|
|
18
|
+
}];
|
|
19
|
+
}));
|
|
20
|
+
const registry = getPlatformFeatureRegistry();
|
|
21
|
+
const features = Object.fromEntries(Object.entries(registry).filter(([, definition]) => !definition.derivedFromKind).map(([id, definition]) => [id, {
|
|
22
|
+
status: 'unsupported', reasonCodes: ['interface-unsupported'], ...(definition.values ? { values: [] } : {}),
|
|
23
|
+
}]));
|
|
24
|
+
const profile = { id: `${platform}:${PROFILE_BASELINES[platform]}`, platform, kinds, features };
|
|
25
|
+
if (platform === 'generic')
|
|
26
|
+
return profile;
|
|
27
|
+
const support = (id, values) => {
|
|
28
|
+
features[id] = { status: 'supported', reasonCodes: [], ...(values === undefined ? {} : { values }) };
|
|
29
|
+
};
|
|
30
|
+
if (kinds.agent.status === 'supported') {
|
|
31
|
+
support('agent.execution', ['isolated-context']);
|
|
32
|
+
support('agent.prompt-mode', platform === 'claude' ? ['host-default', 'replace'] : ['host-default']);
|
|
33
|
+
if (platform !== 'grok')
|
|
34
|
+
support('agent.model', platform === 'antigravity' ? ['inherit', 'flash_lite', 'flash', 'pro'] : undefined);
|
|
35
|
+
if (platform === 'claude')
|
|
36
|
+
support('agent.tools', ['allowlist']);
|
|
37
|
+
if (platform === 'copilot')
|
|
38
|
+
support('agent.tools', ['none', 'allowlist']);
|
|
39
|
+
if (platform === 'pi')
|
|
40
|
+
support('agent.declaration-protocol', ['aw.pi.agents.v1']);
|
|
41
|
+
}
|
|
42
|
+
if (platform === 'claude') {
|
|
43
|
+
for (const feature of ['skill.model', 'skill.agent', 'skill.hooks', 'skill.paths', 'skill.invocation.hint', 'skill.arguments'])
|
|
44
|
+
support(feature);
|
|
45
|
+
support('skill.execution', ['isolated-context']);
|
|
46
|
+
support('skill.shell', ['bash', 'powershell']);
|
|
47
|
+
support('skill.background', ['true', 'false']);
|
|
48
|
+
support('skill.effort', [...registry['skill.effort'].values]);
|
|
49
|
+
}
|
|
50
|
+
if (platform === 'codex')
|
|
51
|
+
support('skill.runtime-config', ['aw.installed-runtime-config.v2']);
|
|
52
|
+
const supportsHiddenSkills = ['claude', 'copilot', 'grok'].includes(platform);
|
|
53
|
+
support('skill.invocation.manual', supportsHiddenSkills ? ['true', 'false'] : ['true']);
|
|
54
|
+
support('skill.invocation.model', ['true', 'false']);
|
|
55
|
+
support('skill.visibility', supportsHiddenSkills ? ['visible', 'hidden'] : ['visible']);
|
|
56
|
+
support('mcp.transport', ['stdio', 'http', ...(['claude', 'copilot', 'cursor', 'grok'].includes(platform) ? ['sse'] : [])]);
|
|
57
|
+
const coverage = ['main'];
|
|
58
|
+
if (['codex', 'claude', 'copilot', 'grok', 'antigravity'].includes(platform))
|
|
59
|
+
coverage.push('plugin-agents');
|
|
60
|
+
if (['codex', 'claude'].includes(platform))
|
|
61
|
+
coverage.push('other-agents');
|
|
62
|
+
support('instruction.coverage', coverage);
|
|
63
|
+
if (platform === 'cursor' || platform === 'antigravity')
|
|
64
|
+
support('instruction.paths');
|
|
65
|
+
const handlers = HOOK_HANDLERS[platform];
|
|
66
|
+
const matchers = [];
|
|
67
|
+
for (const dialect of ['common', 'native']) {
|
|
68
|
+
for (const [event, handler] of Object.entries(handlers[dialect])) {
|
|
69
|
+
if (handler.nativeEvent === null)
|
|
70
|
+
continue;
|
|
71
|
+
const key = `${dialect}.${event}`;
|
|
72
|
+
// A command can observe an event without a response protocol. Active feedback requires its wire contract.
|
|
73
|
+
support(`hook.${key}`, handler.protocol ? Object.keys(handler.protocol.responses).sort() : ['notify']);
|
|
74
|
+
if (handler.matcherAllowed === true)
|
|
75
|
+
matchers.push(key);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
if (matchers.length)
|
|
79
|
+
support('hook.matcher', matchers);
|
|
80
|
+
return profile;
|
|
81
|
+
}
|
|
82
|
+
/** Local and authoring preparation start from the same platform-only interface. */
|
|
83
|
+
export function capabilitiesFromProfile(profile, scope, basis) {
|
|
84
|
+
return {
|
|
85
|
+
schemaVersion: 3, platform: profile.platform, scope, basis,
|
|
86
|
+
agentNamingMode: resolvePlatformAgentNamingMode(profile.platform),
|
|
87
|
+
kinds: structuredClone(profile.kinds), features: structuredClone(profile.features),
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
/** The renderer and persistent input evidence consume the same capability facts. */
|
|
91
|
+
export function toPlatformCapabilitiesView(input) {
|
|
92
|
+
const sorted = (values) => [...new Set(values)].sort();
|
|
93
|
+
const kinds = Object.fromEntries(COMPONENT_KINDS.map((kind) => {
|
|
94
|
+
const { status, reasonCodes, delivery } = input.kinds[kind];
|
|
95
|
+
return [kind, { status, reasonCodes: sorted(reasonCodes), delivery: sorted(delivery) }];
|
|
96
|
+
}));
|
|
97
|
+
const features = Object.fromEntries(Object.keys(input.features).sort().map((id) => {
|
|
98
|
+
const { status, reasonCodes, values, maxBytes } = input.features[id];
|
|
99
|
+
return [id, { status, reasonCodes: sorted(reasonCodes),
|
|
100
|
+
...(values === undefined ? {} : { values: sorted(values) }), ...(maxBytes === undefined ? {} : { maxBytes }) }];
|
|
101
|
+
}));
|
|
102
|
+
return { schemaVersion: 3, platform: input.platform, scope: input.scope, basis: input.basis,
|
|
103
|
+
agentNamingMode: input.agentNamingMode, kinds, features };
|
|
104
|
+
}
|
|
105
|
+
export function getPlatformCapabilities(input) {
|
|
106
|
+
const { binding, renderUnit, profile } = input;
|
|
107
|
+
if (profile.platform !== binding.platform)
|
|
108
|
+
throw new Error('platformProfileMismatch');
|
|
109
|
+
const capabilities = capabilitiesFromProfile(profile, renderUnit.renderScope.kind, 'local');
|
|
110
|
+
const consumers = renderUnit.consumers;
|
|
111
|
+
// Excluded entries remain facts. They do not revoke another complete path.
|
|
112
|
+
const available = consumers.some((consumer) => consumer.availability === 'available' || consumer.availability === 'notApplicable');
|
|
113
|
+
if (!available && consumers.length) {
|
|
114
|
+
const reasons = consumers.map(({ availability }) => availability === 'missing' ? 'client-missing'
|
|
115
|
+
: availability === 'unsupported' ? 'version-unsupported' : 'client-unknown');
|
|
116
|
+
for (const fact of [...Object.values(capabilities.kinds), ...Object.values(capabilities.features)]) {
|
|
117
|
+
fact.status = 'unsupported';
|
|
118
|
+
fact.reasonCodes = reasons;
|
|
119
|
+
if ('values' in fact)
|
|
120
|
+
fact.values = [];
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
return toPlatformCapabilitiesView(capabilities);
|
|
124
|
+
}
|
|
125
|
+
//# sourceMappingURL=capabilities.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"capabilities.js","sourceRoot":"","sources":["../../../src/platforms/capabilities.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EAAE,0BAA0B,EAAE,8BAA8B,EAAE,8BAA8B,GAE5G,MAAM,wCAAwC,CAAC;AAGhD,MAAM,iBAAiB,GAA+B;IACpD,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,qCAAqC;IAClF,WAAW,EAAE,WAAW,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,EAAE,OAAO;IACxD,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,yBAAyB,EAAE,OAAO,EAAE,WAAW;CACzE,CAAC;AACF,MAAM,aAAa,GAAG,8BAA8B,EAAE,CAAC;AAEvD,wGAAwG;AACxG,MAAM,UAAU,2BAA2B,CAAC,QAAoB;IAC9D,MAAM,KAAK,GAAG,MAAM,CAAC,WAAW,CAAC,eAAe,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;QAC5D,MAAM,SAAS,GAAG,QAAQ,KAAK,SAAS,CAAC,CAAC,CAAC,IAAI,KAAK,OAAO,CAAC,CAAC,CAAC,QAAQ,KAAK,UAAU,IAAI,IAAI,KAAK,OAAO,CAAC;QAC1G,MAAM,UAAU,GAAG,QAAQ,KAAK,OAAO,IAAI,IAAI,KAAK,OAAO,IAAI,QAAQ,KAAK,MAAM,IAAI,IAAI,KAAK,aAAa,CAAC;QAC7G,OAAO,CAAC,IAAI,EAAE;gBACZ,MAAM,EAAE,SAAS,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,aAAa;gBA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AY,EAAE,EAAE,EAAE,CAAC,YAAY,KAAK,SAAS,CAAC,CAAC,CAAC,gBAAgB;YAC/F,CAAC,CAAC,YAAY,KAAK,aAAa,CAAC,CAAC,CAAC,qBAAqB,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC;QAC/E,KAAK,MAAM,IAAI,IAAI,CAAC,GAAG,MAAM,CAAC,MAAM,CAAC,YAAY,CAAC,KAAK,CAAC,EAAE,GAAG,MAAM,CAAC,MAAM,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC,EAAE,CAAC;YACnG,IAAI,CAAC,MAAM,GAAG,aAAa,CAAC;YAC5B,IAAI,CAAC,WAAW,GAAG,OAAO,CAAC;YAC3B,IAAI,QAAQ,IAAI,IAAI;gBAAE,IAAI,CAAC,MAAM,GAAG,EAAE,CAAC;QACzC,CAAC;IACH,CAAC;IACD,OAAO,0BAA0B,CAAC,YAAY,CAAC,CAAC;AAClD,CAAC"}
|
|
@@ -0,0 +1,394 @@
|
|
|
1
|
+
import type { ComponentKind, PluginComponent, PlatformId, PlatformCapabilitiesV3, ResolvedInvocationPolicy, ExpectedComponentSet, ComponentGap, FeatureRequirement } from '@lesliechan721/aw-plugin-core/manifest';
|
|
2
|
+
import type { Diagnostic, ProductInstallation, DiscoveryResult, ReadContext } from './discovery.js';
|
|
3
|
+
import type { VerifiedResourceClosure } from '../utils/component-resources.js';
|
|
4
|
+
export type { PlatformId, ComponentKind, ExpectedComponentSet, ComponentGap, ResolvedInvocationPolicy } from '@lesliechan721/aw-plugin-core/manifest';
|
|
5
|
+
export type { Diagnostic, ProductInstallation, HostEntry, DiscoveryResult, ReadContext, Availability } from './discovery.js';
|
|
6
|
+
export type { VerifiedResourceClosure } from '../utils/component-resources.js';
|
|
7
|
+
export type ScopeRef = {
|
|
8
|
+
kind: 'user';
|
|
9
|
+
} | {
|
|
10
|
+
kind: 'project';
|
|
11
|
+
projectRoot: string;
|
|
12
|
+
};
|
|
13
|
+
export interface PluginIdentity {
|
|
14
|
+
sourceId: string;
|
|
15
|
+
sourceIdentity: string;
|
|
16
|
+
pluginId: string;
|
|
17
|
+
version: string;
|
|
18
|
+
}
|
|
19
|
+
export interface DeploymentBinding {
|
|
20
|
+
id: string;
|
|
21
|
+
plugin: PluginIdentity;
|
|
22
|
+
platform: PlatformId;
|
|
23
|
+
scope: ScopeRef;
|
|
24
|
+
route: InstallRoute;
|
|
25
|
+
consumers: ProductInstallation[];
|
|
26
|
+
physicalKey: string;
|
|
27
|
+
activationKey: string;
|
|
28
|
+
renderUnitIds: string[];
|
|
29
|
+
}
|
|
30
|
+
export interface RenderUnit {
|
|
31
|
+
id: string;
|
|
32
|
+
physicalKey: string;
|
|
33
|
+
renderScope: ScopeRef;
|
|
34
|
+
output: 'package' | 'supplement' | 'generic';
|
|
35
|
+
kinds: ComponentKind[];
|
|
36
|
+
consumers: ProductInstallation[];
|
|
37
|
+
}
|
|
38
|
+
export type InstallRoute = 'codex-marketplace' | 'claude-marketplace' | 'cursor-workspace-hook' | 'antigravity-cli' | 'antigravity-directory' | 'opencode-directory' | 'pi-package' | 'copilot-marketplace' | 'grok-cli' | 'grok-directory' | 'generic-skills';
|
|
39
|
+
export interface PhysicalIdentity {
|
|
40
|
+
sourceIdentity: string;
|
|
41
|
+
pluginId: string;
|
|
42
|
+
platform: PlatformId;
|
|
43
|
+
route: InstallRoute;
|
|
44
|
+
namespaceRoot: string;
|
|
45
|
+
resourceKey: string;
|
|
46
|
+
}
|
|
47
|
+
export interface AgentPluginAdapter<P> {
|
|
48
|
+
readonly platform: PlatformId;
|
|
49
|
+
discover(ctx: ReadContext): Promise<DiscoveryResult>;
|
|
50
|
+
resolve(ctx: ReadContext, request: ResolveRequest): Promise<Resolution>;
|
|
51
|
+
inspect(ctx: ReadContext, binding: DeploymentBinding): Promise<DeploymentObservation>;
|
|
52
|
+
capabilities(input: CapabilityInput): PlatformCapabilitiesV3;
|
|
53
|
+
project(ctx: StageContext, input: ProjectionInput): Promise<ProjectionResult>;
|
|
54
|
+
lifecycle: {
|
|
55
|
+
prepare(input: LifecyclePrepareInput): PrepareResult<P>;
|
|
56
|
+
execute(ctx: MutationContext, prepared: PreparedDeployment<P>): Promise<DeploymentReceipt>;
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
export interface ResolveRequest {
|
|
60
|
+
plugin: PluginIdentity;
|
|
61
|
+
scope: ScopeRef;
|
|
62
|
+
operation: LifecycleOperation;
|
|
63
|
+
discovery: DiscoveryResult;
|
|
64
|
+
recoveryCandidates: RecoveryCandidate[];
|
|
65
|
+
}
|
|
66
|
+
export interface Resolution {
|
|
67
|
+
bindings: DeploymentBinding[];
|
|
68
|
+
renderUnits: RenderUnit[];
|
|
69
|
+
exclusions: Array<{
|
|
70
|
+
productId: string | null;
|
|
71
|
+
reasonCode: string;
|
|
72
|
+
}>;
|
|
73
|
+
diagnostics: Diagnostic[];
|
|
74
|
+
}
|
|
75
|
+
/** Identified products excluded from this operation; missing products are not requirements. */
|
|
76
|
+
export interface DeploymentExclusion {
|
|
77
|
+
platform: PlatformId;
|
|
78
|
+
pluginId: string;
|
|
79
|
+
scope: ScopeRef;
|
|
80
|
+
productId: string;
|
|
81
|
+
product: ProductInstallation | null;
|
|
82
|
+
reasonCode: string;
|
|
83
|
+
execution: 'not-run';
|
|
84
|
+
recoveryActions: string[];
|
|
85
|
+
}
|
|
86
|
+
export type LifecycleOperation = 'ensure' | 'reinstall' | 'remove' | 'cleanup';
|
|
87
|
+
export interface CapabilityInput {
|
|
88
|
+
binding: DeploymentBinding;
|
|
89
|
+
renderUnit: RenderUnit;
|
|
90
|
+
profile: QualifiedPlatformProfile;
|
|
91
|
+
}
|
|
92
|
+
export interface ProjectionInput {
|
|
93
|
+
/** A native Grok observation can withhold access even when the project has a saved trust entry. */
|
|
94
|
+
grokScopeAuthorization?: DeploymentObservation['grokScopeAuthorization'];
|
|
95
|
+
binding: DeploymentBinding;
|
|
96
|
+
renderUnit: RenderUnit;
|
|
97
|
+
capabilities: PlatformCapabilitiesV3;
|
|
98
|
+
components: PluginComponent[];
|
|
99
|
+
policy: ResolvedInvocationPolicy;
|
|
100
|
+
resources: VerifiedResourceClosure;
|
|
101
|
+
}
|
|
102
|
+
export interface ProjectionResult {
|
|
103
|
+
renderUnitId: string;
|
|
104
|
+
bundle: {
|
|
105
|
+
stagingRoot: string;
|
|
106
|
+
contentDigest: string;
|
|
107
|
+
piExtensionDigest?: string;
|
|
108
|
+
} | null;
|
|
109
|
+
supplements: HostContribution[];
|
|
110
|
+
components: Array<{
|
|
111
|
+
id: string;
|
|
112
|
+
nativeName: string;
|
|
113
|
+
relativeOutputs: string[];
|
|
114
|
+
}>;
|
|
115
|
+
diagnostics: Diagnostic[];
|
|
116
|
+
}
|
|
117
|
+
export interface HostContribution {
|
|
118
|
+
id: string;
|
|
119
|
+
componentIds: string[];
|
|
120
|
+
kind: 'owned-file' | 'owned-directory' | 'config-entry';
|
|
121
|
+
destination: string;
|
|
122
|
+
contentDigest: string;
|
|
123
|
+
stagingPath: string;
|
|
124
|
+
mergeKey?: string;
|
|
125
|
+
}
|
|
126
|
+
export interface LifecyclePrepareInput {
|
|
127
|
+
operation: LifecycleOperation;
|
|
128
|
+
binding: DeploymentBinding;
|
|
129
|
+
observation: DeploymentObservation;
|
|
130
|
+
projections: ProjectionResult[];
|
|
131
|
+
expected: ExpectedComponentSet;
|
|
132
|
+
evidence: PreparationEvidence;
|
|
133
|
+
}
|
|
134
|
+
export type PrepareResult<P> = {
|
|
135
|
+
status: 'ready';
|
|
136
|
+
prepared: PreparedDeployment<P>;
|
|
137
|
+
} | {
|
|
138
|
+
status: 'blocked';
|
|
139
|
+
diagnostics: Diagnostic[];
|
|
140
|
+
};
|
|
141
|
+
export interface PreparedDeployment<P> {
|
|
142
|
+
readonly plan: FrozenDeploymentPlan;
|
|
143
|
+
readonly driverState: P;
|
|
144
|
+
}
|
|
145
|
+
export interface FrozenDeploymentPlan {
|
|
146
|
+
binding: DeploymentBinding;
|
|
147
|
+
operation: LifecycleOperation;
|
|
148
|
+
expected: ExpectedComponentSet;
|
|
149
|
+
projections: ProjectionResult[];
|
|
150
|
+
effects: PlannedEffect[];
|
|
151
|
+
evidence: PreparationEvidence;
|
|
152
|
+
}
|
|
153
|
+
export interface PlannedEffect {
|
|
154
|
+
id: string;
|
|
155
|
+
kind: 'publish-package' | 'register' | 'refresh' | 'activate' | 'deactivate' | 'unregister' | 'write-supplement' | 'remove-owned' | 'remove-marketplace-entry';
|
|
156
|
+
/** Exact Claude uninstall scope for a confirmed retirement. */
|
|
157
|
+
nativeScope?: 'user' | 'local';
|
|
158
|
+
physicalKey: string;
|
|
159
|
+
activationKey?: string;
|
|
160
|
+
componentIds: string[];
|
|
161
|
+
destination: string;
|
|
162
|
+
destructive: boolean;
|
|
163
|
+
}
|
|
164
|
+
export type Presence = 'present' | 'absent' | 'unknown' | 'not-applicable';
|
|
165
|
+
export type Activation = 'enabled' | 'disabled' | 'blocked' | 'unknown' | 'not-applicable';
|
|
166
|
+
/** Local configuration evidence supplements native observations; it never overrides them. */
|
|
167
|
+
export interface DeploymentConfigurationObservation {
|
|
168
|
+
scope: ScopeRef['kind'];
|
|
169
|
+
activation: 'enabled' | 'disabled' | 'absent' | 'unknown';
|
|
170
|
+
marketplace?: 'absent' | 'canonical' | 'foreign' | 'unknown';
|
|
171
|
+
reasonCodes: string[];
|
|
172
|
+
}
|
|
173
|
+
export interface DeploymentObservation {
|
|
174
|
+
/** Additional, operation-local evidence for confirmed shared native retirement. */
|
|
175
|
+
retirement?: {
|
|
176
|
+
marketplaceProof: {
|
|
177
|
+
manifestPath: string;
|
|
178
|
+
fingerprint: string;
|
|
179
|
+
entryPresent: boolean;
|
|
180
|
+
} | null;
|
|
181
|
+
configurationFingerprint?: string;
|
|
182
|
+
userActivation?: DeploymentConfigurationObservation['activation'];
|
|
183
|
+
userMarketplace?: DeploymentConfigurationObservation['marketplace'];
|
|
184
|
+
claudeKnownMarketplace?: DeploymentConfigurationObservation['marketplace'];
|
|
185
|
+
claudeRegistrations?: {
|
|
186
|
+
local: boolean;
|
|
187
|
+
user: boolean;
|
|
188
|
+
managed: boolean;
|
|
189
|
+
unsupported: boolean;
|
|
190
|
+
};
|
|
191
|
+
};
|
|
192
|
+
/** Source observations from the marketplace inventory and the selected Copilot plugin row. */
|
|
193
|
+
copilotRegistration?: {
|
|
194
|
+
marketplace: NonNullable<DeploymentConfigurationObservation['marketplace']>;
|
|
195
|
+
source: 'canonical' | 'foreign' | 'unknown';
|
|
196
|
+
};
|
|
197
|
+
/** Historical Project copy at the previous Antigravity namespaced path. */
|
|
198
|
+
antigravityLegacyProjectPackage?: {
|
|
199
|
+
path: string;
|
|
200
|
+
state: 'owned' | 'unconfirmed';
|
|
201
|
+
};
|
|
202
|
+
/** Version read from the verified owned package descriptor; absence means unknown. */
|
|
203
|
+
packageVersion?: string;
|
|
204
|
+
/** Observed native installation bytes; absence does not confirm the installed content. */
|
|
205
|
+
nativePackageContentDigest?: string;
|
|
206
|
+
physicalKey: string;
|
|
207
|
+
package: Presence;
|
|
208
|
+
/** The client-managed copy, for routes that verify a distinct consumption location. */
|
|
209
|
+
nativePackage?: Presence;
|
|
210
|
+
registration: Presence;
|
|
211
|
+
/** Independent registration in the requested scope, only when the native API reports it. */
|
|
212
|
+
scopeRegistration?: Presence;
|
|
213
|
+
/** Independent Project activation when an explicit Codex activation is expected. */
|
|
214
|
+
scopeActivation?: Activation;
|
|
215
|
+
ownership: 'aw' | 'foreign' | 'shared' | 'unknown' | 'absent';
|
|
216
|
+
configuration?: DeploymentConfigurationObservation;
|
|
217
|
+
/** Required Cursor loader entry in the requested scope's hooks.json. */
|
|
218
|
+
workspaceOpen?: Presence;
|
|
219
|
+
/** Grok inspect.projectTrusted for this binding's selected product and scope. */
|
|
220
|
+
grokScopeAuthorization?: 'granted' | 'denied' | 'unknown';
|
|
221
|
+
consumers: Array<{
|
|
222
|
+
productId: string;
|
|
223
|
+
activationKey: string;
|
|
224
|
+
activation: Activation;
|
|
225
|
+
load: 'observed' | 'not-observed' | 'unknown' | 'not-applicable';
|
|
226
|
+
}>;
|
|
227
|
+
/** Exact component and reader facts, when the operation already obtained native policy evidence. */
|
|
228
|
+
skillInvocationPolicies?: Array<{
|
|
229
|
+
componentId: string;
|
|
230
|
+
productId: string;
|
|
231
|
+
features: FeatureRequirement[];
|
|
232
|
+
}>;
|
|
233
|
+
components: Array<{
|
|
234
|
+
id: string;
|
|
235
|
+
presence: Presence;
|
|
236
|
+
reasonCodes: string[];
|
|
237
|
+
}>;
|
|
238
|
+
nativeIdentity: NativeIdentity | null;
|
|
239
|
+
prerequisites: RuntimePrerequisites;
|
|
240
|
+
diagnostics: Diagnostic[];
|
|
241
|
+
}
|
|
242
|
+
export interface GrokOrderEntry {
|
|
243
|
+
sourceRoot: string | null;
|
|
244
|
+
key: string;
|
|
245
|
+
}
|
|
246
|
+
/** Operation-local facts for rechecking confirmed Grok writes within one host scope. */
|
|
247
|
+
interface GrokScopeEvidence {
|
|
248
|
+
scopeDigest: string;
|
|
249
|
+
permissionConfigs: Array<{
|
|
250
|
+
path: string;
|
|
251
|
+
digest: string | null;
|
|
252
|
+
}>;
|
|
253
|
+
permissionInventoryDigest: string;
|
|
254
|
+
/** Exact, exclusive User registration (installed copy and source) for the Project target's name. */
|
|
255
|
+
userRegistrationDigest?: string;
|
|
256
|
+
sourceDigests: string[];
|
|
257
|
+
listOrder: GrokOrderEntry[];
|
|
258
|
+
hookOrder: GrokOrderEntry[];
|
|
259
|
+
resourceOrder: GrokOrderEntry[][];
|
|
260
|
+
instructions: Array<{
|
|
261
|
+
rulePath: string | null;
|
|
262
|
+
digest: string;
|
|
263
|
+
}>;
|
|
264
|
+
}
|
|
265
|
+
export interface RuntimePrerequisites {
|
|
266
|
+
agentConsumers: {
|
|
267
|
+
observation: 'complete' | 'unknown';
|
|
268
|
+
candidates: AgentConsumerObservation[];
|
|
269
|
+
configurationEvidence?: string;
|
|
270
|
+
reasonCodes: string[];
|
|
271
|
+
};
|
|
272
|
+
nativeSources?: {
|
|
273
|
+
observation: 'complete' | 'unknown';
|
|
274
|
+
configurationEvidence: string;
|
|
275
|
+
sources: Array<{
|
|
276
|
+
name: string;
|
|
277
|
+
version: string | null;
|
|
278
|
+
path: string;
|
|
279
|
+
scope: string;
|
|
280
|
+
origin: 'native' | 'compatibility' | 'unknown';
|
|
281
|
+
enabled: boolean | null;
|
|
282
|
+
effectiveComponents: string[];
|
|
283
|
+
}>;
|
|
284
|
+
overlaps: string[];
|
|
285
|
+
grokScopeEvidence?: GrokScopeEvidence;
|
|
286
|
+
};
|
|
287
|
+
}
|
|
288
|
+
export interface AgentConsumerObservation {
|
|
289
|
+
productId: string;
|
|
290
|
+
id: string;
|
|
291
|
+
version: string | null;
|
|
292
|
+
scope: ScopeRef;
|
|
293
|
+
enabled: 'yes' | 'no' | 'unknown';
|
|
294
|
+
trust: 'trusted' | 'required' | 'blocked' | 'unknown';
|
|
295
|
+
packageAccess: 'allowed' | 'denied' | 'unknown';
|
|
296
|
+
settings: {
|
|
297
|
+
promptMode: 'host-default' | 'append' | 'replace' | 'unknown';
|
|
298
|
+
loadExtensions: 'yes' | 'no' | 'host-default' | 'unknown';
|
|
299
|
+
};
|
|
300
|
+
configurationEvidence: string;
|
|
301
|
+
reasonCodes: string[];
|
|
302
|
+
}
|
|
303
|
+
export interface NativeIdentity {
|
|
304
|
+
route: InstallRoute;
|
|
305
|
+
packageId: string;
|
|
306
|
+
registrationId?: string;
|
|
307
|
+
sourceLocation: string;
|
|
308
|
+
}
|
|
309
|
+
export interface DeploymentReceipt {
|
|
310
|
+
bindingId: string;
|
|
311
|
+
effects: Array<{
|
|
312
|
+
id: string;
|
|
313
|
+
status: 'applied' | 'unchanged' | 'blocked' | 'failed' | 'unknown' | 'skipped';
|
|
314
|
+
mutation: 'none' | 'confirmed' | 'possible';
|
|
315
|
+
diagnostics: Diagnostic[];
|
|
316
|
+
}>;
|
|
317
|
+
after: DeploymentObservation;
|
|
318
|
+
unmet: ComponentGap[];
|
|
319
|
+
reload: 'none' | 'new-session' | 'workspace-reload' | 'host-restart' | 'unknown';
|
|
320
|
+
diagnostics: Diagnostic[];
|
|
321
|
+
}
|
|
322
|
+
export interface StageContext extends ReadContext {
|
|
323
|
+
stagingRoot: string;
|
|
324
|
+
}
|
|
325
|
+
export interface RecoveryCandidate {
|
|
326
|
+
binding: DeploymentBinding;
|
|
327
|
+
physicalIdentity: PhysicalIdentity;
|
|
328
|
+
nativeIdentity: NativeIdentity | null;
|
|
329
|
+
evidence: 'verified' | 'unknown';
|
|
330
|
+
}
|
|
331
|
+
export interface QualifiedPlatformProfile {
|
|
332
|
+
id: string;
|
|
333
|
+
platform: PlatformId;
|
|
334
|
+
/** Deterministic standard writer mappings and interface limits. */
|
|
335
|
+
kinds: PlatformCapabilitiesV3['kinds'];
|
|
336
|
+
features: PlatformCapabilitiesV3['features'];
|
|
337
|
+
}
|
|
338
|
+
export interface DeploymentLayoutEvidence {
|
|
339
|
+
packageRoot: string;
|
|
340
|
+
activationPath: string;
|
|
341
|
+
supplementRoot: string | null;
|
|
342
|
+
marketplaceRoot: string | null;
|
|
343
|
+
marketplaceName: string | null;
|
|
344
|
+
}
|
|
345
|
+
export interface PreparationEvidence {
|
|
346
|
+
confirmedCatalogRetirement?: true;
|
|
347
|
+
nativeRetirement?: DeploymentObservation['retirement'];
|
|
348
|
+
permissionOwnershipWarning?: Diagnostic;
|
|
349
|
+
permissionBatch?: import('./permission-ownership.js').ReviewedPermissionBatch;
|
|
350
|
+
fingerprint: string;
|
|
351
|
+
managedCommandReview?: import('../utils/managed-command-review.js').ManagedCommandReviewEvidence;
|
|
352
|
+
marketplace?: {
|
|
353
|
+
files: Array<{
|
|
354
|
+
relativePath: string;
|
|
355
|
+
contentBase64: string;
|
|
356
|
+
contentDigest: string;
|
|
357
|
+
}>;
|
|
358
|
+
fingerprint: string;
|
|
359
|
+
};
|
|
360
|
+
layout: DeploymentLayoutEvidence;
|
|
361
|
+
renderUnits?: RenderUnit[];
|
|
362
|
+
ownership: Array<{
|
|
363
|
+
component: import('../utils/ownership.js').OwnedComponent;
|
|
364
|
+
state: 'present' | 'partial' | 'absent' | 'foreign' | 'error';
|
|
365
|
+
contentDigest?: string;
|
|
366
|
+
physicalKey?: string;
|
|
367
|
+
}>;
|
|
368
|
+
sharedReferences: 'none' | 'present' | 'unknown';
|
|
369
|
+
retainPackage?: boolean;
|
|
370
|
+
nativeIdentity: NativeIdentity | null;
|
|
371
|
+
contentMatches: boolean;
|
|
372
|
+
userActivationEnabled?: boolean | 'unknown';
|
|
373
|
+
}
|
|
374
|
+
export interface MutationOutcome {
|
|
375
|
+
diagnostics?: Diagnostic[];
|
|
376
|
+
mutation: 'none' | 'confirmed' | 'possible';
|
|
377
|
+
changed: boolean;
|
|
378
|
+
/** Exact Pi 1.5 Project remove acknowledgment, valid only for this action. */
|
|
379
|
+
unregisterConfirmed?: true;
|
|
380
|
+
}
|
|
381
|
+
export type DeploymentEvidenceChangeReason = 'deploymentInputsChanged' | 'clientDiscoveryChanged' | 'deploymentObservationChanged' | 'deploymentReferencesChanged' | 'deploymentPathsChanged' | 'marketplaceChanged' | 'deploymentEvidenceReadFailed';
|
|
382
|
+
export interface MutationContext extends ReadContext {
|
|
383
|
+
/** Operation-local receipts for native actions on a shared registration. */
|
|
384
|
+
nativeEffects?: Map<string, Promise<MutationOutcome>>;
|
|
385
|
+
services: {
|
|
386
|
+
verifyEvidence(plan: FrozenDeploymentPlan): Promise<boolean | DeploymentEvidenceChangeReason>;
|
|
387
|
+
publishPackage(binding: DeploymentBinding, bundle: NonNullable<ProjectionResult['bundle']>, destination: string, component: import('../utils/ownership.js').OwnedComponent): Promise<MutationOutcome>;
|
|
388
|
+
writeContribution(binding: DeploymentBinding, contribution: HostContribution, component: import('../utils/ownership.js').OwnedComponent): Promise<MutationOutcome>;
|
|
389
|
+
removeOwned(binding: DeploymentBinding, component: import('../utils/ownership.js').OwnedComponent): Promise<MutationOutcome>;
|
|
390
|
+
setActivation(binding: DeploymentBinding, identity: NativeIdentity, enabled: boolean): Promise<MutationOutcome>;
|
|
391
|
+
registerMarketplace(binding: DeploymentBinding, identity: NativeIdentity): Promise<MutationOutcome>;
|
|
392
|
+
};
|
|
393
|
+
inspect?: (binding: DeploymentBinding) => Promise<DeploymentObservation>;
|
|
394
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contracts.js","sourceRoot":"","sources":["../../../src/platforms/contracts.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { Scope } from '../types.js';
|
|
2
|
+
export interface CursorWorkspaceHookResult {
|
|
3
|
+
pluginPaths: string[];
|
|
4
|
+
}
|
|
5
|
+
export interface CursorWorkspaceHookOptions {
|
|
6
|
+
scope: Scope;
|
|
7
|
+
projectRoot?: string;
|
|
8
|
+
pluginId?: string;
|
|
9
|
+
cwd: string;
|
|
10
|
+
env?: NodeJS.ProcessEnv;
|
|
11
|
+
signal?: AbortSignal;
|
|
12
|
+
}
|
|
13
|
+
/** Cursor has one fixed hook slot; this does not interpret arbitrary JSON patches. */
|
|
14
|
+
export declare function cursorHooks(value: Record<string, unknown>): {
|
|
15
|
+
hooks: Record<string, unknown>;
|
|
16
|
+
entries: unknown[];
|
|
17
|
+
};
|
|
18
|
+
export declare function cursorHookEntryCommand(value: unknown): string | undefined;
|
|
19
|
+
/** Host loader: reads current demand and exact package ownership, without probes, rendering, or writes. */
|
|
20
|
+
export declare function cursorWorkspaceOpen(input: unknown, options: CursorWorkspaceHookOptions): Promise<CursorWorkspaceHookResult>;
|
|
21
|
+
/** Internal host protocol deliberately emits the Cursor Hook object, without the AW result envelope. */
|
|
22
|
+
export declare function runCursorWorkspaceHookCli(args: readonly string[], options: {
|
|
23
|
+
cwd: string;
|
|
24
|
+
env?: NodeJS.ProcessEnv;
|
|
25
|
+
stdin: NodeJS.ReadableStream;
|
|
26
|
+
stdout(text: string): void;
|
|
27
|
+
stderr(text: string): void;
|
|
28
|
+
}): Promise<number>;
|