@paradigma-inc/flywheel 0.1.35 → 0.1.52
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/README.md +117 -60
- package/bin/flywheel.js +10 -3
- package/package.json +5 -1
- package/skills/flywheel/SKILL.md +13 -1
- package/skills/flywheel/campaigns/participating-in-a-campaign.md +2 -2
- package/skills/flywheel/compute/managed-compute.md +26 -7
- package/skills/flywheel/getting-started/flywheel-tutorial-overview.md +2 -1
- package/skills/flywheel/references/INTERFACES.md +2 -0
- package/skills/flywheel/references/flywheel-cli-tool-map.md +244 -0
- package/skills/flywheel/references/flywheel-mcp-tool-map.md +39 -5
- package/skills/flywheel/setting-up-flywheel/claude-code-cli-installation.md +1 -1
- package/skills/flywheel/setting-up-flywheel/codex-cli-installation.md +1 -1
- package/skills/flywheel/setting-up-flywheel/how-can-i-get-an-authorized-client_id-for-the-oauth-flow.md +3 -3
- package/skills/flywheel/setting-up-flywheel/installation-overview.md +19 -4
- package/skills/flywheel/setting-up-flywheel/other-hosts-installation.md +1 -1
- package/skills/flywheel/usage-and-workflows/what-to-do-with-flywheel.md +28 -1
- package/skills/flywheel/web-ui/the-flywheel-web-ui.md +1 -1
- package/skills/flywheel-auto/SKILL.md +23 -12
- package/skills/flywheel-auto/references/INTERFACES.md +2 -0
- package/skills/flywheel-auto/references/flywheel-cli-tool-map.md +244 -0
- package/skills/flywheel-auto/references/flywheel-mcp-tool-map.md +6 -5
- package/skills/flywheel-lookahead/SKILL.md +22 -11
- package/skills/flywheel-lookahead/references/INTERFACES.md +2 -0
- package/skills/flywheel-lookahead/references/flywheel-cli-tool-map.md +244 -0
- package/skills/flywheel-lookahead/references/flywheel-mcp-tool-map.md +6 -5
- package/skills/flywheel-prove/SKILL.md +9 -0
- package/skills/flywheel-reproduce/SKILL.md +23 -12
- package/skills/flywheel-reproduce/references/INTERFACES.md +2 -0
- package/skills/flywheel-reproduce/references/flywheel-cli-tool-map.md +244 -0
- package/skills/flywheel-reproduce/references/flywheel-mcp-tool-map.md +6 -5
- package/skills/flywheel-to-graph/SKILL.md +20 -9
- package/skills/flywheel-to-graph/references/INTERFACES.md +2 -0
- package/skills/flywheel-to-graph/references/flywheel-cli-tool-map.md +244 -0
- package/skills/flywheel-to-graph/references/flywheel-mcp-tool-map.md +6 -5
- package/skills/flywheel-tree/SKILL.md +9 -0
- package/src/cli.mjs +284 -598
- package/src/mcp-writer.mjs +2 -2
- package/src/runtime/delegate.mjs +21 -0
- package/src/runtime/required-runtime-commands.json +117 -0
- package/src/runtime/runtime-config.mjs +84 -0
- package/src/runtime/vendor/.gitkeep +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/auth/active-key-id.d.ts +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/auth/active-key-id.js +22 -0
- package/src/runtime/vendor/flywheel-cli-dist/auth/active-key-id.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/auth/baseurl.d.ts +35 -0
- package/src/runtime/vendor/flywheel-cli-dist/auth/baseurl.js +64 -0
- package/src/runtime/vendor/flywheel-cli-dist/auth/baseurl.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/auth/config.d.ts +34 -0
- package/src/runtime/vendor/flywheel-cli-dist/auth/config.js +92 -0
- package/src/runtime/vendor/flywheel-cli-dist/auth/config.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/auth/fingerprint.d.ts +5 -0
- package/src/runtime/vendor/flywheel-cli-dist/auth/fingerprint.js +12 -0
- package/src/runtime/vendor/flywheel-cli-dist/auth/fingerprint.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/auth/keychain.d.ts +4 -0
- package/src/runtime/vendor/flywheel-cli-dist/auth/keychain.js +31 -0
- package/src/runtime/vendor/flywheel-cli-dist/auth/keychain.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/auth/login.d.ts +23 -0
- package/src/runtime/vendor/flywheel-cli-dist/auth/login.js +387 -0
- package/src/runtime/vendor/flywheel-cli-dist/auth/login.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/auth/profile.d.ts +15 -0
- package/src/runtime/vendor/flywheel-cli-dist/auth/profile.js +150 -0
- package/src/runtime/vendor/flywheel-cli-dist/auth/profile.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/auth/profiles.d.ts +26 -0
- package/src/runtime/vendor/flywheel-cli-dist/auth/profiles.js +27 -0
- package/src/runtime/vendor/flywheel-cli-dist/auth/profiles.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/_artifacts-upload-helpers.d.ts +32 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/_artifacts-upload-helpers.js +171 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/_artifacts-upload-helpers.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/_open-url.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/_open-url.js +26 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/_open-url.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/_stream-writer.d.ts +34 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/_stream-writer.js +63 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/_stream-writer.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/_wait-polling.d.ts +29 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/_wait-polling.js +75 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/_wait-polling.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/account-detach.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/account-detach.js +13 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/account-detach.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/account-emails-add.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/account-emails-add.js +6 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/account-emails-add.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/account-emails-remove.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/account-emails-remove.js +6 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/account-emails-remove.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/account-emails-set-primary.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/account-emails-set-primary.js +6 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/account-emails-set-primary.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/account-get.d.ts +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/account-get.js +6 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/account-get.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/account-merge-preview.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/account-merge-preview.js +6 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/account-merge-preview.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/account-merge-proof.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/account-merge-proof.js +8 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/account-merge-proof.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/account-merge.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/account-merge.js +11 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/account-merge.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/aliases.d.ts +13 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/aliases.js +13 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/aliases.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/api-keys-create.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/api-keys-create.js +12 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/api-keys-create.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/api-keys-delete.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/api-keys-delete.js +20 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/api-keys-delete.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/api-keys-list.d.ts +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/api-keys-list.js +6 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/api-keys-list.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/api-keys-rotate.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/api-keys-rotate.js +21 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/api-keys-rotate.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/approval-sessions-expire.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/approval-sessions-expire.js +8 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/approval-sessions-expire.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/approval-sessions-heartbeat.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/approval-sessions-heartbeat.js +29 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/approval-sessions-heartbeat.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/approval-sessions-list.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/approval-sessions-list.js +10 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/approval-sessions-list.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/artifacts-delete.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/artifacts-delete.js +8 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/artifacts-delete.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/artifacts-get.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/artifacts-get.js +7 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/artifacts-get.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/artifacts-list.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/artifacts-list.js +8 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/artifacts-list.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/artifacts-note-set.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/artifacts-note-set.js +9 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/artifacts-note-set.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/artifacts-upload-finalize.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/artifacts-upload-finalize.js +7 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/artifacts-upload-finalize.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/artifacts-upload-prepare.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/artifacts-upload-prepare.js +15 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/artifacts-upload-prepare.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/artifacts-upload.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/artifacts-upload.js +5 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/artifacts-upload.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/auth-keychain-clear.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/auth-keychain-clear.js +8 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/auth-keychain-clear.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/auth-keychain-set.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/auth-keychain-set.js +30 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/auth-keychain-set.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/auth-login.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/auth-login.js +34 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/auth-login.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/auth-status.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/auth-status.js +4 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/auth-status.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/blobs-get.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/blobs-get.js +18 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/blobs-get.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/campaign-budgets-create.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/campaign-budgets-create.js +11 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/campaign-budgets-create.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/campaign-budgets-list.d.ts +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/campaign-budgets-list.js +6 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/campaign-budgets-list.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/campaign-budgets-revoke.d.ts +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/campaign-budgets-revoke.js +6 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/campaign-budgets-revoke.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/campaign-budgets-update.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/campaign-budgets-update.js +22 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/campaign-budgets-update.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/campaign-snapshot.d.ts +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/campaign-snapshot.js +6 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/campaign-snapshot.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/compute-acquire.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/compute-acquire.js +39 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/compute-acquire.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/compute-budgets.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/compute-budgets.js +14 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/compute-budgets.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/compute-connection.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/compute-connection.js +13 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/compute-connection.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/compute-funding.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/compute-funding.js +10 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/compute-funding.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/compute-grants-list.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/compute-grants-list.js +13 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/compute-grants-list.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/compute-grants-request-approval.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/compute-grants-request-approval.js +53 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/compute-grants-request-approval.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/compute-options.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/compute-options.js +17 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/compute-options.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/compute-policy-get.d.ts +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/compute-policy-get.js +6 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/compute-policy-get.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/compute-policy-set.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/compute-policy-set.js +19 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/compute-policy-set.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/compute-release-all.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/compute-release-all.js +39 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/compute-release-all.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/compute-release.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/compute-release.js +28 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/compute-release.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/compute-status.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/compute-status.js +8 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/compute-status.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/credits-balance.d.ts +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/credits-balance.js +6 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/credits-balance.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/credits-billing-portal.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/credits-billing-portal.js +8 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/credits-billing-portal.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/credits-purchase.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/credits-purchase.js +10 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/credits-purchase.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/credits-referral-claim.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/credits-referral-claim.js +6 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/credits-referral-claim.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/credits-referral.d.ts +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/credits-referral.js +6 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/credits-referral.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/credits-subscribe.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/credits-subscribe.js +14 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/credits-subscribe.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/credits-subscription.d.ts +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/credits-subscription.js +6 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/credits-subscription.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/credits-transactions.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/credits-transactions.js +12 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/credits-transactions.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/credits-usage.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/credits-usage.js +9 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/credits-usage.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/enums.d.ts +16 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/enums.js +12 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/enums.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/env.d.ts +12 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/env.js +65 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/env.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/executions-launch.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/executions-launch.js +11 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/executions-launch.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/executions-list.d.ts +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/executions-list.js +6 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/executions-list.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/executions-terminate.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/executions-terminate.js +8 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/executions-terminate.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/export-history.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/export-history.js +82 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/export-history.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/export-subgraph.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/export-subgraph.js +18 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/export-subgraph.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/export-summary-pdf.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/export-summary-pdf.js +19 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/export-summary-pdf.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/export-summary-render-pdf.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/export-summary-render-pdf.js +65 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/export-summary-render-pdf.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/export-summary-stream.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/export-summary-stream.js +174 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/export-summary-stream.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/export-summary.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/export-summary.js +9 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/export-summary.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/files-list.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/files-list.js +12 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/files-list.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/github-disconnect.d.ts +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/github-disconnect.js +6 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/github-disconnect.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/github-link.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/github-link.js +17 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/github-link.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/github-refresh-repos.d.ts +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/github-refresh-repos.js +6 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/github-refresh-repos.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/github-status.d.ts +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/github-status.js +6 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/github-status.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/graph-get.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/graph-get.js +15 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/graph-get.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/handler-factory.d.ts +22 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/handler-factory.js +51 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/handler-factory.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/help.d.ts +23 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/help.js +258 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/help.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/import-subgraph.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/import-subgraph.js +6 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/import-subgraph.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/index.d.ts +20 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/index.js +238 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/index.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/integrations-huggingface-remove.d.ts +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/integrations-huggingface-remove.js +6 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/integrations-huggingface-remove.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/integrations-huggingface-set.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/integrations-huggingface-set.js +6 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/integrations-huggingface-set.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/integrations-status.d.ts +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/integrations-status.js +6 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/integrations-status.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/integrations-wandb-remove.d.ts +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/integrations-wandb-remove.js +6 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/integrations-wandb-remove.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/integrations-wandb-set.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/integrations-wandb-set.js +6 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/integrations-wandb-set.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/machines-list.d.ts +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/machines-list.js +6 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/machines-list.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-add-parent.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-add-parent.js +10 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-add-parent.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-audit-list.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-audit-list.js +7 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-audit-list.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-branch.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-branch.js +10 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-branch.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-commit-new.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-commit-new.js +6 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-commit-new.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-commit.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-commit.js +7 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-commit.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-create.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-create.js +6 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-create.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-delete-bulk.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-delete-bulk.js +14 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-delete-bulk.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-delete.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-delete.js +9 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-delete.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-files.d.ts +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-files.js +6 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-files.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-get.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-get.js +8 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-get.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-list.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-list.js +7 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-list.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-merge.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-merge.js +33 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-merge.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-remove-parent.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-remove-parent.js +8 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-remove-parent.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-render-ancestry.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-render-ancestry.js +10 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-render-ancestry.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-render-summary.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-render-summary.js +10 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-render-summary.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-render-tree.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-render-tree.js +8 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-render-tree.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-resolve-slug.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-resolve-slug.js +13 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-resolve-slug.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-sharing-get.d.ts +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-sharing-get.js +6 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-sharing-get.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-sharing-set-bulk.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-sharing-set-bulk.js +20 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-sharing-set-bulk.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-sharing-set.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-sharing-set.js +10 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-sharing-set.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-sharing-summaries.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-sharing-summaries.js +11 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-sharing-summaries.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-stage-backfill-hypothesis.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-stage-backfill-hypothesis.js +7 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-stage-backfill-hypothesis.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-stage-backfill-insights.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-stage-backfill-insights.js +7 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-stage-backfill-insights.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-stage-lease-acquire.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-stage-lease-acquire.js +13 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-stage-lease-acquire.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-stage-lease-heartbeat.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-stage-lease-heartbeat.js +7 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-stage-lease-heartbeat.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-stage-lease-release.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-stage-lease-release.js +7 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-stage-lease-release.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/profile-list.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/profile-list.js +6 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/profile-list.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/profile-set.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/profile-set.js +56 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/profile-set.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/profile-show.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/profile-show.js +12 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/profile-show.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/profile-unset.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/profile-unset.js +12 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/profile-unset.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/account.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/account.js +124 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/account.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/api-keys.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/api-keys.js +103 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/api-keys.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/approval.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/approval.js +101 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/approval.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/artifacts.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/artifacts.js +104 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/artifacts.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/auth.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/auth.js +37 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/auth.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/budgets.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/budgets.js +72 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/budgets.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/compute.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/compute.js +128 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/compute.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/credits.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/credits.js +134 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/credits.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/env.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/env.js +39 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/env.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/executions.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/executions.js +55 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/executions.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/export.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/export.js +88 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/export.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/github.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/github.js +60 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/github.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/graph.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/graph.js +22 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/graph.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/integrations.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/integrations.js +69 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/integrations.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/lifecycle.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/lifecycle.js +284 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/lifecycle.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/profile.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/profile.js +82 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/profile.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/resources.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/resources.js +108 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/resources.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/sharing.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/sharing.js +69 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/sharing.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/tagging.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/tagging.js +98 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/tagging.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/updates.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/updates.js +70 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/updates.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry.d.ts +25 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry.js +441 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/tags-assign.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/tags-assign.js +25 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/tags-assign.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/tags-create.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/tags-create.js +25 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/tags-create.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/tags-delete.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/tags-delete.js +11 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/tags-delete.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/tags-update.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/tags-update.js +28 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/tags-update.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/types.d.ts +30 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/types.js +6 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/types.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/updates-hide-all-active.d.ts +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/updates-hide-all-active.js +6 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/updates-hide-all-active.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/updates-hide.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/updates-hide.js +10 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/updates-hide.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/updates-list.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/updates-list.js +12 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/updates-list.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/utils.d.ts +10 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/utils.js +171 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/utils.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/errors.d.ts +55 -0
- package/src/runtime/vendor/flywheel-cli-dist/errors.js +51 -0
- package/src/runtime/vendor/flywheel-cli-dist/errors.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/exit-codes.d.ts +8 -0
- package/src/runtime/vendor/flywheel-cli-dist/exit-codes.js +8 -0
- package/src/runtime/vendor/flywheel-cli-dist/exit-codes.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/grammar/globals.d.ts +26 -0
- package/src/runtime/vendor/flywheel-cli-dist/grammar/globals.js +117 -0
- package/src/runtime/vendor/flywheel-cli-dist/grammar/globals.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/grammar/parse.d.ts +17 -0
- package/src/runtime/vendor/flywheel-cli-dist/grammar/parse.js +102 -0
- package/src/runtime/vendor/flywheel-cli-dist/grammar/parse.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/http/client.d.ts +75 -0
- package/src/runtime/vendor/flywheel-cli-dist/http/client.js +369 -0
- package/src/runtime/vendor/flywheel-cli-dist/http/client.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/http/debug.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/http/debug.js +68 -0
- package/src/runtime/vendor/flywheel-cli-dist/http/debug.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/http/poll.d.ts +18 -0
- package/src/runtime/vendor/flywheel-cli-dist/http/poll.js +57 -0
- package/src/runtime/vendor/flywheel-cli-dist/http/poll.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/http/retry.d.ts +30 -0
- package/src/runtime/vendor/flywheel-cli-dist/http/retry.js +127 -0
- package/src/runtime/vendor/flywheel-cli-dist/http/retry.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/main.d.ts +31 -0
- package/src/runtime/vendor/flywheel-cli-dist/main.js +763 -0
- package/src/runtime/vendor/flywheel-cli-dist/main.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/output/format.d.ts +9 -0
- package/src/runtime/vendor/flywheel-cli-dist/output/format.js +129 -0
- package/src/runtime/vendor/flywheel-cli-dist/output/format.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/runtime-entry.d.ts +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/runtime-entry.js +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/runtime-entry.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/version.d.ts +3 -0
- package/src/runtime/vendor/flywheel-cli-dist/version.js +31 -0
- package/src/runtime/vendor/flywheel-cli-dist/version.js.map +1 -0
- package/src/runtime/vendor/manifest.json +500 -0
- package/src/setup/command.mjs +24 -0
- package/src/setup/io/patchers/json.mjs +33 -0
- package/src/setup/io/patchers/toml.mjs +15 -0
- package/src/setup/io/patchers/yaml.mjs +33 -0
- package/src/setup/mode.mjs +113 -0
- package/src/setup/modes/cli.mjs +317 -0
- package/src/setup/modes/mcp-command.mjs +850 -0
- package/src/setup/modes/mcp.mjs +176 -0
- package/src/setup/preflight.mjs +54 -0
- package/src/setup/shared/prior-mode-detect.mjs +412 -0
- package/src/setup/shared/skill.mjs +12 -0
- package/src/setup/shared/summary.mjs +80 -0
- package/src/setup-auth.mjs +293 -178
- package/src/unified-cli.mjs +161 -0
|
@@ -0,0 +1,850 @@
|
|
|
1
|
+
import { checkbox, confirm } from "@inquirer/prompts";
|
|
2
|
+
import ora from "ora";
|
|
3
|
+
import pc from "picocolors";
|
|
4
|
+
import { rm } from "node:fs/promises";
|
|
5
|
+
import path from "node:path";
|
|
6
|
+
|
|
7
|
+
import {
|
|
8
|
+
ALL_HOST_NAMES,
|
|
9
|
+
SERVER_NAME,
|
|
10
|
+
detectHosts,
|
|
11
|
+
getHost,
|
|
12
|
+
normalizeHosts,
|
|
13
|
+
} from "../../agents.mjs";
|
|
14
|
+
import {
|
|
15
|
+
readNamedConfigEntry,
|
|
16
|
+
readJsonConfig,
|
|
17
|
+
readTomlServerEntry,
|
|
18
|
+
readYamlConfig,
|
|
19
|
+
resolveMcpPath,
|
|
20
|
+
} from "../../mcp-writer.mjs";
|
|
21
|
+
import {
|
|
22
|
+
resolveSetupApiKey,
|
|
23
|
+
} from "../../setup-auth.mjs";
|
|
24
|
+
import {
|
|
25
|
+
cleanupInstalledSkillArtifactsForHosts,
|
|
26
|
+
formatSupportedInstallSkillHosts,
|
|
27
|
+
inspectInstalledSkillArtifactsForHosts,
|
|
28
|
+
installBundledSkillForHosts,
|
|
29
|
+
listBundledSkills,
|
|
30
|
+
partitionInstallSkillHosts,
|
|
31
|
+
resolveInstalledSkillDir,
|
|
32
|
+
resolvePackageRoot,
|
|
33
|
+
resolveSkillsAgentName,
|
|
34
|
+
} from "../../skill-installer.mjs";
|
|
35
|
+
import { runMcpSetupMode } from "./mcp.mjs";
|
|
36
|
+
import { SetupModeUsageError } from "../mode.mjs";
|
|
37
|
+
import {
|
|
38
|
+
detectPriorModeForSetup,
|
|
39
|
+
formatPriorModeConflictError,
|
|
40
|
+
} from "../shared/prior-mode-detect.mjs";
|
|
41
|
+
import { renderSetupSummary } from "../shared/summary.mjs";
|
|
42
|
+
|
|
43
|
+
const INSTALL_SKILL_BASE_URL = "https://flywheel.paradigma.inc";
|
|
44
|
+
const DEFAULT_BASE_URL =
|
|
45
|
+
process.env.FLYWHEEL_PUBLIC_BASE_URL || INSTALL_SKILL_BASE_URL;
|
|
46
|
+
const NON_INTERACTIVE_SKILL_DECISION_ERROR =
|
|
47
|
+
"Non-interactive setup requires one of --install-skill or --skip-skill.";
|
|
48
|
+
const MUTUALLY_EXCLUSIVE_SKILL_FLAGS_ERROR =
|
|
49
|
+
"--install-skill and --skip-skill cannot be used together.";
|
|
50
|
+
const GUIDED_SKILL_DECISION_TEST_ENV = "FLYWHEEL_GUIDED_SKILL_DECISION_FOR_TESTS";
|
|
51
|
+
const ENABLE_TEST_SEAMS_ENV = "FLYWHEEL_ENABLE_TEST_SEAMS";
|
|
52
|
+
|
|
53
|
+
const log = {
|
|
54
|
+
info: (message) => console.log(pc.cyan(message)),
|
|
55
|
+
warn: (message) => console.log(pc.yellow(`⚠ ${message}`)),
|
|
56
|
+
error: (message) => console.log(pc.red(`✖ ${message}`)),
|
|
57
|
+
plain: (message) => console.log(message),
|
|
58
|
+
blank: () => console.log(""),
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
const CHECKBOX_THEME = {
|
|
62
|
+
style: {
|
|
63
|
+
highlight: (text) => pc.green(text),
|
|
64
|
+
disabledChoice: (text) => ` ${pc.dim("◯")} ${pc.dim(text)}`,
|
|
65
|
+
},
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
function normalizeBaseUrl(value) {
|
|
69
|
+
const normalized = String(value || "").trim();
|
|
70
|
+
let parsedUrl;
|
|
71
|
+
try {
|
|
72
|
+
parsedUrl = new URL(normalized);
|
|
73
|
+
} catch {
|
|
74
|
+
throw new Error("Base URL must be a valid absolute URL.");
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
if (parsedUrl.pathname !== "/" || parsedUrl.search || parsedUrl.hash) {
|
|
78
|
+
throw new Error(
|
|
79
|
+
"Base URL must be a public Flywheel origin without a path, query, or hash.",
|
|
80
|
+
);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
return parsedUrl.origin;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
function normalizeServerName(value) {
|
|
87
|
+
const normalized = String(value || "").trim();
|
|
88
|
+
if (!normalized) {
|
|
89
|
+
throw new Error("Server name cannot be empty.");
|
|
90
|
+
}
|
|
91
|
+
return normalized;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
function selectedHostsFromOptions(options) {
|
|
95
|
+
const hosts = [];
|
|
96
|
+
if (options.claude) hosts.push("claude");
|
|
97
|
+
if (options.opencode) hosts.push("opencode");
|
|
98
|
+
if (options.codex) hosts.push("codex");
|
|
99
|
+
if (options.cursor) hosts.push("cursor");
|
|
100
|
+
if (options.piMono) hosts.push("pi-mono");
|
|
101
|
+
if (options.hermesAgent) hosts.push("hermes-agent");
|
|
102
|
+
if (options.openclaw) hosts.push("openclaw");
|
|
103
|
+
return hosts;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
function mcpCandidatesForScope(host, scope) {
|
|
107
|
+
if (scope === "global") return host.mcp.globalPaths;
|
|
108
|
+
return host.mcp.projectPaths.map((candidate) =>
|
|
109
|
+
path.join(process.cwd(), candidate),
|
|
110
|
+
);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
async function readExistingServerState(hostName, scope, serverName) {
|
|
114
|
+
const host = getHost(hostName);
|
|
115
|
+
const mcpPath = await resolveMcpPath(mcpCandidatesForScope(host, scope));
|
|
116
|
+
|
|
117
|
+
if (host.mcp.configType === "toml") {
|
|
118
|
+
const { exists, url } = await readTomlServerEntry(mcpPath, serverName);
|
|
119
|
+
return { exists, url, mcpPath };
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
const existing =
|
|
123
|
+
host.mcp.configType === "yaml"
|
|
124
|
+
? await readYamlConfig(mcpPath)
|
|
125
|
+
: await readJsonConfig(mcpPath);
|
|
126
|
+
const entry = readNamedConfigEntry(existing, host.mcp.configKey, serverName);
|
|
127
|
+
return {
|
|
128
|
+
exists: entry !== null,
|
|
129
|
+
url: typeof entry?.url === "string" ? entry.url : null,
|
|
130
|
+
mcpPath,
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
async function isAlreadyConfigured(hostName, scope, serverName) {
|
|
135
|
+
const existingState = await readExistingServerState(
|
|
136
|
+
hostName,
|
|
137
|
+
scope,
|
|
138
|
+
serverName,
|
|
139
|
+
);
|
|
140
|
+
return existingState.exists;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
async function inspectInstallSkillHosts({
|
|
144
|
+
hostNames,
|
|
145
|
+
scope,
|
|
146
|
+
serverName,
|
|
147
|
+
serverUrl,
|
|
148
|
+
}) {
|
|
149
|
+
const hostStates = new Map();
|
|
150
|
+
const needsSetupHosts = [];
|
|
151
|
+
const driftHosts = [];
|
|
152
|
+
|
|
153
|
+
for (const hostName of hostNames) {
|
|
154
|
+
// eslint-disable-next-line no-await-in-loop
|
|
155
|
+
const existingState = await readExistingServerState(
|
|
156
|
+
hostName,
|
|
157
|
+
scope,
|
|
158
|
+
serverName,
|
|
159
|
+
);
|
|
160
|
+
if (!existingState.exists) {
|
|
161
|
+
needsSetupHosts.push(hostName);
|
|
162
|
+
hostStates.set(hostName, {
|
|
163
|
+
classification: "needs-setup",
|
|
164
|
+
mcpPath: existingState.mcpPath,
|
|
165
|
+
});
|
|
166
|
+
continue;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
if (existingState.url === serverUrl) {
|
|
170
|
+
hostStates.set(hostName, {
|
|
171
|
+
classification: "matching",
|
|
172
|
+
mcpPath: existingState.mcpPath,
|
|
173
|
+
});
|
|
174
|
+
continue;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
driftHosts.push({
|
|
178
|
+
hostName,
|
|
179
|
+
mcpPath: existingState.mcpPath,
|
|
180
|
+
existingUrl: existingState.url ?? "(missing URL)",
|
|
181
|
+
});
|
|
182
|
+
hostStates.set(hostName, {
|
|
183
|
+
classification: "drift",
|
|
184
|
+
mcpPath: existingState.mcpPath,
|
|
185
|
+
});
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
return { hostStates, needsSetupHosts, driftHosts };
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
function formatInstallSkillDriftError({
|
|
192
|
+
hostName,
|
|
193
|
+
scope,
|
|
194
|
+
serverName,
|
|
195
|
+
existingUrl,
|
|
196
|
+
requestedUrl,
|
|
197
|
+
}) {
|
|
198
|
+
const host = getHost(hostName);
|
|
199
|
+
const scopeFlag = scope === "project" ? "--scope project" : "--scope global";
|
|
200
|
+
return `Flywheel MCP entry '${serverName}' for ${host.displayName} already points to ${existingUrl}, not ${requestedUrl}. Run 'flywheel uninstall ${scopeFlag} --${hostName} --name ${serverName}' first or choose a different --name.`;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
function getGuidedSkillDecisionOverrideForTests() {
|
|
204
|
+
const testSeamsEnabled =
|
|
205
|
+
String(process.env[ENABLE_TEST_SEAMS_ENV] || "").trim() === "1";
|
|
206
|
+
if (!testSeamsEnabled) {
|
|
207
|
+
return "";
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
const normalizedGuidedDecisionOverride = String(
|
|
211
|
+
process.env[GUIDED_SKILL_DECISION_TEST_ENV] || "",
|
|
212
|
+
)
|
|
213
|
+
.trim()
|
|
214
|
+
.toLowerCase();
|
|
215
|
+
if (normalizedGuidedDecisionOverride.length === 0) {
|
|
216
|
+
return "";
|
|
217
|
+
}
|
|
218
|
+
if (
|
|
219
|
+
normalizedGuidedDecisionOverride === "accept" ||
|
|
220
|
+
normalizedGuidedDecisionOverride === "decline" ||
|
|
221
|
+
normalizedGuidedDecisionOverride === "abort"
|
|
222
|
+
) {
|
|
223
|
+
return normalizedGuidedDecisionOverride;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
throw new Error(
|
|
227
|
+
`${GUIDED_SKILL_DECISION_TEST_ENV} must be one of: accept, decline, abort`,
|
|
228
|
+
);
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
async function promptHosts(scope, detected, serverName) {
|
|
232
|
+
const choices = [];
|
|
233
|
+
for (const hostName of ALL_HOST_NAMES) {
|
|
234
|
+
// eslint-disable-next-line no-await-in-loop
|
|
235
|
+
const configured = await isAlreadyConfigured(
|
|
236
|
+
hostName,
|
|
237
|
+
scope,
|
|
238
|
+
serverName,
|
|
239
|
+
).catch(() => false);
|
|
240
|
+
const label = configured
|
|
241
|
+
? `${getHost(hostName).displayName} ${pc.dim("(already configured)")}`
|
|
242
|
+
: getHost(hostName).displayName;
|
|
243
|
+
choices.push({
|
|
244
|
+
name: label,
|
|
245
|
+
value: hostName,
|
|
246
|
+
checked: detected.includes(hostName),
|
|
247
|
+
});
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
try {
|
|
251
|
+
return await checkbox({
|
|
252
|
+
message: "Which hosts do you want to set up?",
|
|
253
|
+
choices,
|
|
254
|
+
loop: false,
|
|
255
|
+
theme: CHECKBOX_THEME,
|
|
256
|
+
validate: (selected) =>
|
|
257
|
+
selected.length > 0 || "Select at least one host.",
|
|
258
|
+
});
|
|
259
|
+
} catch {
|
|
260
|
+
return null;
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
async function resolveHosts(options, scope, serverName, allowPrompt = true) {
|
|
265
|
+
const explicit = selectedHostsFromOptions(options);
|
|
266
|
+
if (explicit.length > 0) return explicit;
|
|
267
|
+
|
|
268
|
+
const detected = await detectHosts(scope);
|
|
269
|
+
const promptDisabled =
|
|
270
|
+
options.yes || process.stdout.isTTY !== true || !allowPrompt;
|
|
271
|
+
if (detected.length > 0 && promptDisabled) {
|
|
272
|
+
return detected;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
if (promptDisabled) {
|
|
276
|
+
log.warn(
|
|
277
|
+
"No hosts were detected for prompt-free setup. Pass explicit host flags such as --codex.",
|
|
278
|
+
);
|
|
279
|
+
return [];
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
log.blank();
|
|
283
|
+
const selected = await promptHosts(scope, detected, serverName);
|
|
284
|
+
if (!selected) {
|
|
285
|
+
log.warn("Setup cancelled");
|
|
286
|
+
return [];
|
|
287
|
+
}
|
|
288
|
+
return selected;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
async function resolveApiKey(options, baseUrl) {
|
|
292
|
+
if (Object.hasOwn(options, "apiKey")) {
|
|
293
|
+
const resolved = await resolveSetupApiKey({
|
|
294
|
+
options,
|
|
295
|
+
baseUrl,
|
|
296
|
+
});
|
|
297
|
+
return resolved.apiKey;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
const spinner = ora("Configuring authentication...").start();
|
|
301
|
+
try {
|
|
302
|
+
const resolved = await resolveSetupApiKey({
|
|
303
|
+
options,
|
|
304
|
+
baseUrl,
|
|
305
|
+
});
|
|
306
|
+
spinner.succeed(`Authenticated (${resolved.authMode})`);
|
|
307
|
+
return resolved.apiKey;
|
|
308
|
+
} catch (error) {
|
|
309
|
+
spinner.fail("Authentication failed");
|
|
310
|
+
const message = error instanceof Error ? error.message : String(error);
|
|
311
|
+
if (/cancelled/i.test(message)) {
|
|
312
|
+
return null;
|
|
313
|
+
}
|
|
314
|
+
throw new Error(message);
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
function buildSetupResultRows({ selectedHosts, hostStates, setupResult }) {
|
|
319
|
+
const byAgent = new Map(
|
|
320
|
+
setupResult.agentResults.map((result) => [result.agent, result]),
|
|
321
|
+
);
|
|
322
|
+
|
|
323
|
+
return selectedHosts.map((hostName) => {
|
|
324
|
+
const host = getHost(hostName);
|
|
325
|
+
const agentResult = byAgent.get(hostName);
|
|
326
|
+
if (!agentResult) {
|
|
327
|
+
return {
|
|
328
|
+
host: host.displayName,
|
|
329
|
+
status: "unknown",
|
|
330
|
+
filePath: hostStates.get(hostName)?.mcpPath || "(unknown)",
|
|
331
|
+
};
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
if (agentResult.success !== true) {
|
|
335
|
+
return {
|
|
336
|
+
host: host.displayName,
|
|
337
|
+
status: "failed",
|
|
338
|
+
filePath: hostStates.get(hostName)?.mcpPath || "(unknown)",
|
|
339
|
+
};
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
const alreadyConfigured =
|
|
343
|
+
Array.isArray(agentResult.skippedSteps) &&
|
|
344
|
+
agentResult.skippedSteps.includes("already-configured");
|
|
345
|
+
|
|
346
|
+
return {
|
|
347
|
+
host: host.displayName,
|
|
348
|
+
status: alreadyConfigured ? "already configured" : "configured with API Key",
|
|
349
|
+
filePath:
|
|
350
|
+
agentResult.touchedFiles[0] || hostStates.get(hostName)?.mcpPath || "(unknown)",
|
|
351
|
+
};
|
|
352
|
+
});
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
function printSetupResults(
|
|
356
|
+
results,
|
|
357
|
+
scope,
|
|
358
|
+
serverUrl,
|
|
359
|
+
{ showSkillRefreshGuidance = false, experimentalSyncAgents = [] } = {},
|
|
360
|
+
) {
|
|
361
|
+
log.blank();
|
|
362
|
+
log.plain(pc.green("✔ Flywheel setup complete"));
|
|
363
|
+
log.blank();
|
|
364
|
+
log.plain(` Scope: ${pc.bold(scope)}`);
|
|
365
|
+
log.plain(` Server URL: ${pc.bold(serverUrl)}`);
|
|
366
|
+
for (const result of results) {
|
|
367
|
+
const icon = result.status.startsWith("configured")
|
|
368
|
+
? pc.green("+")
|
|
369
|
+
: pc.dim("~");
|
|
370
|
+
log.plain(` ${pc.bold(result.host)}`);
|
|
371
|
+
log.plain(` ${icon} ${result.status}`);
|
|
372
|
+
log.plain(` ${pc.dim(result.filePath)}`);
|
|
373
|
+
}
|
|
374
|
+
if (showSkillRefreshGuidance) {
|
|
375
|
+
log.blank();
|
|
376
|
+
log.plain(" Bundled skill refresh guidance");
|
|
377
|
+
log.plain(
|
|
378
|
+
` Preferred: ${pc.bold("npx --yes @paradigma-inc/flywheel@latest setup --mode mcp --install-skill --project")}`,
|
|
379
|
+
);
|
|
380
|
+
log.plain(
|
|
381
|
+
` ${pc.bold("npm install --save-dev @paradigma-inc/flywheel@latest")}`,
|
|
382
|
+
);
|
|
383
|
+
if (experimentalSyncAgents.length === 1) {
|
|
384
|
+
log.plain(" Optional path via skills experimental_sync:");
|
|
385
|
+
log.plain(
|
|
386
|
+
` ${pc.bold(`npx skills experimental_sync --agent ${experimentalSyncAgents[0]} -y`)}`,
|
|
387
|
+
);
|
|
388
|
+
} else if (experimentalSyncAgents.length > 1) {
|
|
389
|
+
log.plain(" Optional path via skills experimental_sync for selected hosts:");
|
|
390
|
+
for (const agentName of experimentalSyncAgents) {
|
|
391
|
+
log.plain(
|
|
392
|
+
` ${pc.bold(`npx skills experimental_sync --agent ${agentName} -y`)}`,
|
|
393
|
+
);
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
log.blank();
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
function resolveExperimentalSyncAgentsForHosts(supportedHosts) {
|
|
401
|
+
const agentNames = [];
|
|
402
|
+
const seenAgentNames = new Set();
|
|
403
|
+
|
|
404
|
+
for (const hostName of supportedHosts) {
|
|
405
|
+
const agentName = resolveSkillsAgentName(hostName);
|
|
406
|
+
if (seenAgentNames.has(agentName)) {
|
|
407
|
+
continue;
|
|
408
|
+
}
|
|
409
|
+
seenAgentNames.add(agentName);
|
|
410
|
+
agentNames.push(agentName);
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
return agentNames;
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
export function buildGuidedSkillInstallPrompt({
|
|
417
|
+
unsupportedHosts,
|
|
418
|
+
bundledSkillNames,
|
|
419
|
+
}) {
|
|
420
|
+
const usesPlural = bundledSkillNames.length > 1;
|
|
421
|
+
if (unsupportedHosts.length > 0) {
|
|
422
|
+
return usesPlural
|
|
423
|
+
? `Also install or refresh the bundled Flywheel skills for supported hosts? Unsupported hosts (${unsupportedHosts.join(", ")}) will remain MCP-only.`
|
|
424
|
+
: `Also install or refresh the bundled Flywheel skill for supported hosts? Unsupported hosts (${unsupportedHosts.join(", ")}) will remain MCP-only.`;
|
|
425
|
+
}
|
|
426
|
+
return usesPlural
|
|
427
|
+
? "Also install or refresh the bundled Flywheel skills?"
|
|
428
|
+
: "Also install or refresh the bundled Flywheel skill?";
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
async function promptGuidedSkillInstall(
|
|
432
|
+
bundledSkillNames,
|
|
433
|
+
unsupportedHosts,
|
|
434
|
+
guidedSkillDecisionOverride,
|
|
435
|
+
) {
|
|
436
|
+
if (guidedSkillDecisionOverride === "accept") {
|
|
437
|
+
return true;
|
|
438
|
+
}
|
|
439
|
+
if (
|
|
440
|
+
guidedSkillDecisionOverride === "decline" ||
|
|
441
|
+
guidedSkillDecisionOverride === "abort"
|
|
442
|
+
) {
|
|
443
|
+
return false;
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
log.blank();
|
|
447
|
+
const message = buildGuidedSkillInstallPrompt({
|
|
448
|
+
unsupportedHosts,
|
|
449
|
+
bundledSkillNames,
|
|
450
|
+
});
|
|
451
|
+
|
|
452
|
+
try {
|
|
453
|
+
return await confirm({
|
|
454
|
+
message,
|
|
455
|
+
default: true,
|
|
456
|
+
theme: CHECKBOX_THEME,
|
|
457
|
+
});
|
|
458
|
+
} catch {
|
|
459
|
+
return false;
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
function logBundledSkillInstallPlan({
|
|
464
|
+
bundledSkillNames,
|
|
465
|
+
projectRoot,
|
|
466
|
+
scope,
|
|
467
|
+
supportedHosts,
|
|
468
|
+
}) {
|
|
469
|
+
for (const hostName of supportedHosts) {
|
|
470
|
+
const hostDisplayName = getHost(hostName).displayName;
|
|
471
|
+
const resolvedSkillRoot = path.dirname(
|
|
472
|
+
resolveInstalledSkillDir(
|
|
473
|
+
projectRoot,
|
|
474
|
+
hostName,
|
|
475
|
+
scope,
|
|
476
|
+
bundledSkillNames[0],
|
|
477
|
+
),
|
|
478
|
+
);
|
|
479
|
+
log.plain(
|
|
480
|
+
`Installing bundled skills for ${hostDisplayName} (${scope}: ${resolvedSkillRoot}): ${bundledSkillNames.join(", ")}`,
|
|
481
|
+
);
|
|
482
|
+
}
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
function normalizeSkillDecisionMode(options) {
|
|
486
|
+
if (options.installSkill && options.skipSkill) {
|
|
487
|
+
throw new Error(MUTUALLY_EXCLUSIVE_SKILL_FLAGS_ERROR);
|
|
488
|
+
}
|
|
489
|
+
if (options.installSkill) return "install";
|
|
490
|
+
if (options.skipSkill) return "skip";
|
|
491
|
+
return "guided";
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
async function discardInstallSkillCleanupState(cleanupState) {
|
|
495
|
+
if (!cleanupState?.backupRoot) {
|
|
496
|
+
return null;
|
|
497
|
+
}
|
|
498
|
+
await rm(cleanupState.backupRoot, { force: true, recursive: true });
|
|
499
|
+
return null;
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
function printSetupResultSummary(setupResult) {
|
|
503
|
+
const lines = renderSetupSummary(setupResult);
|
|
504
|
+
log.blank();
|
|
505
|
+
for (const line of lines) {
|
|
506
|
+
log.plain(` ${line}`);
|
|
507
|
+
}
|
|
508
|
+
log.blank();
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
export async function runMcpModeCommand(options, deps = {}) {
|
|
512
|
+
const projectRoot = process.cwd();
|
|
513
|
+
const skillDecisionMode = normalizeSkillDecisionMode(options);
|
|
514
|
+
const guidedSkillDecisionOverride = getGuidedSkillDecisionOverrideForTests();
|
|
515
|
+
const nonInteractive = process.stdout.isTTY !== true;
|
|
516
|
+
const hasGuidedDecisionOverride = guidedSkillDecisionOverride.length > 0;
|
|
517
|
+
if (
|
|
518
|
+
nonInteractive &&
|
|
519
|
+
skillDecisionMode === "guided" &&
|
|
520
|
+
!hasGuidedDecisionOverride
|
|
521
|
+
) {
|
|
522
|
+
throw new Error(NON_INTERACTIVE_SKILL_DECISION_ERROR);
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
const scope = options.project ? "project" : "global";
|
|
526
|
+
const baseUrl = normalizeBaseUrl(options.baseUrl || DEFAULT_BASE_URL);
|
|
527
|
+
const serverUrl = `${baseUrl}/mcp-server`;
|
|
528
|
+
const serverName = normalizeServerName(options.name || SERVER_NAME);
|
|
529
|
+
const hosts = await resolveHosts(
|
|
530
|
+
options,
|
|
531
|
+
scope,
|
|
532
|
+
serverName,
|
|
533
|
+
skillDecisionMode === "guided",
|
|
534
|
+
);
|
|
535
|
+
if (hosts.length === 0) {
|
|
536
|
+
return { exitCode: 0 };
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
const { supportedHosts, unsupportedHosts } = partitionInstallSkillHosts(hosts);
|
|
540
|
+
const packageRoot = resolvePackageRoot();
|
|
541
|
+
const bundledSkillNames =
|
|
542
|
+
skillDecisionMode === "skip" || supportedHosts.length === 0
|
|
543
|
+
? []
|
|
544
|
+
: await listBundledSkills(packageRoot);
|
|
545
|
+
|
|
546
|
+
if (skillDecisionMode === "install" && supportedHosts.length === 0) {
|
|
547
|
+
if (options.allowUnsupportedSkillInstall !== true) {
|
|
548
|
+
throw new Error(
|
|
549
|
+
`--install-skill is not supported for: ${unsupportedHosts.join(", ")}. Supported hosts: ${formatSupportedInstallSkillHosts()}.`,
|
|
550
|
+
);
|
|
551
|
+
}
|
|
552
|
+
log.plain(
|
|
553
|
+
`Bundled skill install skipped (unsupported-only host selection: ${unsupportedHosts.join(", ")}).`,
|
|
554
|
+
);
|
|
555
|
+
}
|
|
556
|
+
if (
|
|
557
|
+
skillDecisionMode !== "skip" &&
|
|
558
|
+
supportedHosts.length > 0 &&
|
|
559
|
+
bundledSkillNames.length === 0
|
|
560
|
+
) {
|
|
561
|
+
throw new Error(`No bundled skills found under ${path.join(packageRoot, "skills")}.`);
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
const {
|
|
565
|
+
hostStates = new Map(),
|
|
566
|
+
needsSetupHosts = [],
|
|
567
|
+
driftHosts = [],
|
|
568
|
+
} = await inspectInstallSkillHosts({
|
|
569
|
+
hostNames: hosts,
|
|
570
|
+
scope,
|
|
571
|
+
serverName,
|
|
572
|
+
serverUrl,
|
|
573
|
+
});
|
|
574
|
+
|
|
575
|
+
// Capture prior-mode state before any install/auth side effects so the
|
|
576
|
+
// detector does not classify artifacts created by this same command as
|
|
577
|
+
// pre-existing CLI-mode installs, and so a refuse or reconcile decision
|
|
578
|
+
// happens before we touch disk or start a browser auth flow. Running this
|
|
579
|
+
// inside runMcpSetupMode (the prior placement) meant --force would uninstall
|
|
580
|
+
// the freshly installed bundled skills, and the non-force path would still
|
|
581
|
+
// have run auth before surfacing the conflict.
|
|
582
|
+
const priorModeSnapshot = await detectPriorModeForSetup({
|
|
583
|
+
targetMode: "mcp",
|
|
584
|
+
selectedHosts: hosts,
|
|
585
|
+
scope,
|
|
586
|
+
cwd: projectRoot,
|
|
587
|
+
serverName,
|
|
588
|
+
serverUrl,
|
|
589
|
+
});
|
|
590
|
+
const reconciled = [];
|
|
591
|
+
if (
|
|
592
|
+
priorModeSnapshot.priorMode &&
|
|
593
|
+
priorModeSnapshot.affectedHosts.length > 0
|
|
594
|
+
) {
|
|
595
|
+
if (deps.force !== true) {
|
|
596
|
+
throw new SetupModeUsageError(
|
|
597
|
+
formatPriorModeConflictError(priorModeSnapshot),
|
|
598
|
+
);
|
|
599
|
+
}
|
|
600
|
+
if (typeof deps.reconcilePriorMode !== "function") {
|
|
601
|
+
throw new Error(
|
|
602
|
+
"reconcilePriorMode dependency is required when --force is used.",
|
|
603
|
+
);
|
|
604
|
+
}
|
|
605
|
+
const reconcileEntries = Array.isArray(priorModeSnapshot.entries)
|
|
606
|
+
? priorModeSnapshot.entries
|
|
607
|
+
: priorModeSnapshot.affectedHosts.map((hostName) => ({
|
|
608
|
+
hostName,
|
|
609
|
+
serverNames: [],
|
|
610
|
+
}));
|
|
611
|
+
for (const entry of reconcileEntries) {
|
|
612
|
+
try {
|
|
613
|
+
// eslint-disable-next-line no-await-in-loop
|
|
614
|
+
await deps.reconcilePriorMode({
|
|
615
|
+
priorMode: priorModeSnapshot.priorMode,
|
|
616
|
+
targetMode: "mcp",
|
|
617
|
+
hostNames: [entry.hostName],
|
|
618
|
+
serverNames: entry.serverNames,
|
|
619
|
+
scope,
|
|
620
|
+
cwd: projectRoot,
|
|
621
|
+
serverName,
|
|
622
|
+
serverUrl,
|
|
623
|
+
});
|
|
624
|
+
} catch (error) {
|
|
625
|
+
const message = error instanceof Error ? error.message : String(error);
|
|
626
|
+
const reconcileError = new Error(
|
|
627
|
+
`Failed to reconcile prior --mode ${priorModeSnapshot.priorMode} artifacts for host ${entry.hostName}: ${message}`,
|
|
628
|
+
);
|
|
629
|
+
reconcileError.exitCode = 4;
|
|
630
|
+
throw reconcileError;
|
|
631
|
+
}
|
|
632
|
+
}
|
|
633
|
+
reconciled.push(
|
|
634
|
+
`removed prior --mode ${priorModeSnapshot.priorMode} artifacts for host(s): ${priorModeSnapshot.affectedHosts.join(", ")}`,
|
|
635
|
+
);
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
const installDriftHosts = driftHosts;
|
|
639
|
+
|
|
640
|
+
if (skillDecisionMode === "install" && installDriftHosts.length > 0) {
|
|
641
|
+
throw new Error(
|
|
642
|
+
formatInstallSkillDriftError({
|
|
643
|
+
hostName: installDriftHosts[0].hostName,
|
|
644
|
+
scope,
|
|
645
|
+
serverName,
|
|
646
|
+
existingUrl: installDriftHosts[0].existingUrl,
|
|
647
|
+
requestedUrl: serverUrl,
|
|
648
|
+
}),
|
|
649
|
+
);
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
let cleanupState = null;
|
|
653
|
+
try {
|
|
654
|
+
if (skillDecisionMode === "install") {
|
|
655
|
+
logBundledSkillInstallPlan({
|
|
656
|
+
bundledSkillNames,
|
|
657
|
+
projectRoot,
|
|
658
|
+
scope,
|
|
659
|
+
supportedHosts,
|
|
660
|
+
});
|
|
661
|
+
cleanupState = await inspectInstalledSkillArtifactsForHosts({
|
|
662
|
+
projectRoot,
|
|
663
|
+
hostNames: supportedHosts,
|
|
664
|
+
scope,
|
|
665
|
+
skillNames: bundledSkillNames,
|
|
666
|
+
});
|
|
667
|
+
await installBundledSkillForHosts({
|
|
668
|
+
projectRoot,
|
|
669
|
+
hostNames: supportedHosts,
|
|
670
|
+
scope,
|
|
671
|
+
serverName,
|
|
672
|
+
serverUrl,
|
|
673
|
+
skillNames: bundledSkillNames,
|
|
674
|
+
});
|
|
675
|
+
if (unsupportedHosts.length > 0) {
|
|
676
|
+
log.plain(
|
|
677
|
+
`--install-skill skipped unsupported hosts (MCP-only): ${unsupportedHosts.join(", ")}.`,
|
|
678
|
+
);
|
|
679
|
+
}
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
let apiKey = null;
|
|
683
|
+
const explicitApiKeyProvided = Object.hasOwn(options, "apiKey");
|
|
684
|
+
const shouldResolveApiKey =
|
|
685
|
+
needsSetupHosts.length > 0 ||
|
|
686
|
+
explicitApiKeyProvided;
|
|
687
|
+
if (shouldResolveApiKey) {
|
|
688
|
+
apiKey = await resolveApiKey(options, baseUrl);
|
|
689
|
+
if (!apiKey) {
|
|
690
|
+
if (cleanupState) {
|
|
691
|
+
await cleanupInstalledSkillArtifactsForHosts({
|
|
692
|
+
projectRoot,
|
|
693
|
+
hostNames: supportedHosts,
|
|
694
|
+
priorState: cleanupState,
|
|
695
|
+
scope,
|
|
696
|
+
skillNames: bundledSkillNames,
|
|
697
|
+
});
|
|
698
|
+
cleanupState = null;
|
|
699
|
+
}
|
|
700
|
+
log.warn("Setup cancelled");
|
|
701
|
+
return { exitCode: 0 };
|
|
702
|
+
}
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
const setupResult = await runMcpSetupMode({
|
|
706
|
+
selectedHosts: hosts,
|
|
707
|
+
scope,
|
|
708
|
+
cwd: projectRoot,
|
|
709
|
+
// Prior-mode enforcement already ran before install/auth (above); skip
|
|
710
|
+
// the inner detector so a --force reconcile cannot re-uninstall the
|
|
711
|
+
// skills this command just installed, and so the non-force conflict
|
|
712
|
+
// path short-circuits before we reach this point.
|
|
713
|
+
force: false,
|
|
714
|
+
serverName,
|
|
715
|
+
serverUrl,
|
|
716
|
+
apiKey,
|
|
717
|
+
detectPriorMode: async () => ({
|
|
718
|
+
priorMode: null,
|
|
719
|
+
affectedHosts: [],
|
|
720
|
+
entries: [],
|
|
721
|
+
}),
|
|
722
|
+
reconcilePriorMode: deps.reconcilePriorMode,
|
|
723
|
+
});
|
|
724
|
+
if (reconciled.length > 0) {
|
|
725
|
+
setupResult.reconciled = [
|
|
726
|
+
...(Array.isArray(setupResult.reconciled) ? setupResult.reconciled : []),
|
|
727
|
+
...reconciled,
|
|
728
|
+
];
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
if (setupResult.exitCode !== 0) {
|
|
732
|
+
printSetupResultSummary(setupResult);
|
|
733
|
+
const failureDetails = setupResult.agentResults
|
|
734
|
+
.filter((result) => result.success !== true)
|
|
735
|
+
.flatMap((result) =>
|
|
736
|
+
Array.isArray(result.warnings) ? result.warnings : [],
|
|
737
|
+
)
|
|
738
|
+
.join(" | ");
|
|
739
|
+
const error = new Error(
|
|
740
|
+
failureDetails.length > 0
|
|
741
|
+
? `MCP setup encountered host-level failures: ${failureDetails}`
|
|
742
|
+
: "MCP setup encountered host-level failures.",
|
|
743
|
+
);
|
|
744
|
+
error.exitCode = setupResult.exitCode;
|
|
745
|
+
throw error;
|
|
746
|
+
}
|
|
747
|
+
|
|
748
|
+
const setupRows = buildSetupResultRows({
|
|
749
|
+
selectedHosts: hosts,
|
|
750
|
+
hostStates,
|
|
751
|
+
setupResult,
|
|
752
|
+
});
|
|
753
|
+
|
|
754
|
+
if (skillDecisionMode !== "guided") {
|
|
755
|
+
const completedCleanupState = cleanupState;
|
|
756
|
+
cleanupState = null;
|
|
757
|
+
await discardInstallSkillCleanupState(completedCleanupState);
|
|
758
|
+
const showSkillRefreshGuidance =
|
|
759
|
+
scope === "project" &&
|
|
760
|
+
skillDecisionMode === "install" &&
|
|
761
|
+
supportedHosts.length > 0;
|
|
762
|
+
printSetupResults(setupRows, scope, serverUrl, {
|
|
763
|
+
showSkillRefreshGuidance,
|
|
764
|
+
experimentalSyncAgents: showSkillRefreshGuidance
|
|
765
|
+
? resolveExperimentalSyncAgentsForHosts(supportedHosts)
|
|
766
|
+
: [],
|
|
767
|
+
});
|
|
768
|
+
return setupResult;
|
|
769
|
+
}
|
|
770
|
+
|
|
771
|
+
if (supportedHosts.length === 0) {
|
|
772
|
+
log.plain(
|
|
773
|
+
`Bundled skill installation is unavailable for the selected hosts (${hosts.join(", ")}). Continuing with MCP-only setup.`,
|
|
774
|
+
);
|
|
775
|
+
printSetupResults(setupRows, scope, serverUrl);
|
|
776
|
+
return setupResult;
|
|
777
|
+
}
|
|
778
|
+
|
|
779
|
+
const shouldInstallSkill = await promptGuidedSkillInstall(
|
|
780
|
+
bundledSkillNames,
|
|
781
|
+
unsupportedHosts,
|
|
782
|
+
guidedSkillDecisionOverride,
|
|
783
|
+
);
|
|
784
|
+
if (!shouldInstallSkill) {
|
|
785
|
+
printSetupResults(setupRows, scope, serverUrl);
|
|
786
|
+
return setupResult;
|
|
787
|
+
}
|
|
788
|
+
|
|
789
|
+
if (installDriftHosts.length > 0) {
|
|
790
|
+
throw new Error(
|
|
791
|
+
formatInstallSkillDriftError({
|
|
792
|
+
hostName: installDriftHosts[0].hostName,
|
|
793
|
+
scope,
|
|
794
|
+
serverName,
|
|
795
|
+
existingUrl: installDriftHosts[0].existingUrl,
|
|
796
|
+
requestedUrl: serverUrl,
|
|
797
|
+
}),
|
|
798
|
+
);
|
|
799
|
+
}
|
|
800
|
+
|
|
801
|
+
logBundledSkillInstallPlan({
|
|
802
|
+
bundledSkillNames,
|
|
803
|
+
projectRoot,
|
|
804
|
+
scope,
|
|
805
|
+
supportedHosts,
|
|
806
|
+
});
|
|
807
|
+
cleanupState = await inspectInstalledSkillArtifactsForHosts({
|
|
808
|
+
projectRoot,
|
|
809
|
+
hostNames: supportedHosts,
|
|
810
|
+
scope,
|
|
811
|
+
skillNames: bundledSkillNames,
|
|
812
|
+
});
|
|
813
|
+
await installBundledSkillForHosts({
|
|
814
|
+
projectRoot,
|
|
815
|
+
hostNames: supportedHosts,
|
|
816
|
+
scope,
|
|
817
|
+
serverName,
|
|
818
|
+
serverUrl,
|
|
819
|
+
skillNames: bundledSkillNames,
|
|
820
|
+
});
|
|
821
|
+
if (unsupportedHosts.length > 0) {
|
|
822
|
+
log.plain(
|
|
823
|
+
`Guided skill install skipped unsupported hosts (MCP-only): ${unsupportedHosts.join(", ")}.`,
|
|
824
|
+
);
|
|
825
|
+
}
|
|
826
|
+
const completedCleanupState = cleanupState;
|
|
827
|
+
cleanupState = null;
|
|
828
|
+
await discardInstallSkillCleanupState(completedCleanupState);
|
|
829
|
+
const showSkillRefreshGuidance =
|
|
830
|
+
scope === "project" && supportedHosts.length > 0;
|
|
831
|
+
printSetupResults(setupRows, scope, serverUrl, {
|
|
832
|
+
showSkillRefreshGuidance,
|
|
833
|
+
experimentalSyncAgents: showSkillRefreshGuidance
|
|
834
|
+
? resolveExperimentalSyncAgentsForHosts(supportedHosts)
|
|
835
|
+
: [],
|
|
836
|
+
});
|
|
837
|
+
return setupResult;
|
|
838
|
+
} catch (error) {
|
|
839
|
+
if (cleanupState) {
|
|
840
|
+
await cleanupInstalledSkillArtifactsForHosts({
|
|
841
|
+
projectRoot,
|
|
842
|
+
hostNames: supportedHosts,
|
|
843
|
+
priorState: cleanupState,
|
|
844
|
+
scope,
|
|
845
|
+
skillNames: bundledSkillNames,
|
|
846
|
+
});
|
|
847
|
+
}
|
|
848
|
+
throw error;
|
|
849
|
+
}
|
|
850
|
+
}
|