@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,103 @@
|
|
|
1
|
+
export const APIKEYS_COMMANDS = [
|
|
2
|
+
{
|
|
3
|
+
name: 'api-keys:list',
|
|
4
|
+
group: 'api-keys',
|
|
5
|
+
summary: 'List your API keys.',
|
|
6
|
+
endpoints: ['GET /auth/mcp-api-keys'],
|
|
7
|
+
required: [],
|
|
8
|
+
optional: [],
|
|
9
|
+
examples: [{ description: 'List keys.', invocation: 'flywheel api-keys:list' }],
|
|
10
|
+
related: ['api-keys:create'],
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
name: 'api-keys:create',
|
|
14
|
+
group: 'api-keys',
|
|
15
|
+
summary: 'Create a new API key and return the raw material once.',
|
|
16
|
+
endpoints: ['POST /auth/mcp-api-keys'],
|
|
17
|
+
required: [],
|
|
18
|
+
optional: [
|
|
19
|
+
{ name: 'name', type: 'string', description: 'Human-readable label.' },
|
|
20
|
+
{ name: 'expiry_days', type: 'integer', description: 'Lifetime in days.' },
|
|
21
|
+
],
|
|
22
|
+
examples: [
|
|
23
|
+
{
|
|
24
|
+
description: 'Create a 30-day key.',
|
|
25
|
+
invocation: 'flywheel api-keys:create --name ci-bot --expiry_days 30',
|
|
26
|
+
},
|
|
27
|
+
],
|
|
28
|
+
related: ['api-keys:rotate'],
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
name: 'api-keys:delete',
|
|
32
|
+
group: 'api-keys',
|
|
33
|
+
summary: 'Delete an API key (refuses to delete the active one unless --allow-self).',
|
|
34
|
+
endpoints: ['DELETE /auth/mcp-api-keys/{key_id}'],
|
|
35
|
+
required: [{ name: 'key_id', type: 'string', description: 'Target key ID.' }],
|
|
36
|
+
optional: [],
|
|
37
|
+
examples: [
|
|
38
|
+
{
|
|
39
|
+
description: 'Delete a key.',
|
|
40
|
+
invocation: 'flywheel api-keys:delete --key_id k_abc',
|
|
41
|
+
},
|
|
42
|
+
],
|
|
43
|
+
related: ['api-keys:rotate'],
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
name: 'api-keys:rotate',
|
|
47
|
+
group: 'api-keys',
|
|
48
|
+
summary: 'Rotate an API key (refuses to rotate the active one unless --allow-self).',
|
|
49
|
+
endpoints: ['POST /auth/mcp-api-keys/{key_id}/rotate'],
|
|
50
|
+
required: [{ name: 'key_id', type: 'string', description: 'Target key ID.' }],
|
|
51
|
+
optional: [
|
|
52
|
+
{ name: 'expiry_days', type: 'integer', description: 'Lifetime for the new key.' },
|
|
53
|
+
],
|
|
54
|
+
examples: [
|
|
55
|
+
{
|
|
56
|
+
description: 'Rotate a key.',
|
|
57
|
+
invocation: 'flywheel api-keys:rotate --key_id k_abc',
|
|
58
|
+
},
|
|
59
|
+
],
|
|
60
|
+
related: ['api-keys:delete'],
|
|
61
|
+
},
|
|
62
|
+
// Legacy /setup-exchange commands removed — replaced by RFC 8628 device
|
|
63
|
+
// flow; /setup-exchange/redeem was unauthenticated (5-minute TTL only).
|
|
64
|
+
// Kept as comment for one release cycle; delete in a follow-up.
|
|
65
|
+
// {
|
|
66
|
+
// name: 'api-keys:setup-exchange:create',
|
|
67
|
+
// summary: 'Start browser-assisted setup exchange.',
|
|
68
|
+
// endpoints: ['POST /auth/mcp-api-keys/setup-exchange'],
|
|
69
|
+
// required: [
|
|
70
|
+
// { name: 'state', type: 'string', description: 'State token.' },
|
|
71
|
+
// { name: 'redirect_uri', type: 'string', description: 'Redirect URI.' },
|
|
72
|
+
// ],
|
|
73
|
+
// optional: [],
|
|
74
|
+
// examples: [
|
|
75
|
+
// {
|
|
76
|
+
// description: 'Start exchange.',
|
|
77
|
+
// invocation:
|
|
78
|
+
// 'flywheel api-keys:setup-exchange:create --state s --redirect_uri https://x',
|
|
79
|
+
// },
|
|
80
|
+
// ],
|
|
81
|
+
// related: ['api-keys:setup-exchange:redeem'],
|
|
82
|
+
// },
|
|
83
|
+
// {
|
|
84
|
+
// name: 'api-keys:setup-exchange:redeem',
|
|
85
|
+
// summary: 'Redeem a setup exchange token into a raw API key.',
|
|
86
|
+
// endpoints: ['POST /auth/mcp-api-keys/setup-exchange/redeem'],
|
|
87
|
+
// required: [
|
|
88
|
+
// { name: 'exchange_token', type: 'string', description: 'Exchange token.' },
|
|
89
|
+
// { name: 'state', type: 'string', description: 'State token.' },
|
|
90
|
+
// { name: 'redirect_uri', type: 'string', description: 'Redirect URI.' },
|
|
91
|
+
// ],
|
|
92
|
+
// optional: [],
|
|
93
|
+
// examples: [
|
|
94
|
+
// {
|
|
95
|
+
// description: 'Redeem exchange.',
|
|
96
|
+
// invocation:
|
|
97
|
+
// 'flywheel api-keys:setup-exchange:redeem --exchange_token t --state s --redirect_uri https://x',
|
|
98
|
+
// },
|
|
99
|
+
// ],
|
|
100
|
+
// related: ['api-keys:setup-exchange:create'],
|
|
101
|
+
// },
|
|
102
|
+
];
|
|
103
|
+
//# sourceMappingURL=api-keys.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api-keys.js","sourceRoot":"","sources":["../../../src/commands/registry/api-keys.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,gBAAgB,GAAqC;IAChE;QACE,IAAI,EAAE,eAAe;QACrB,KAAK,EAAE,UAAU;QACjB,OAAO,EAAE,qBAAqB;QAC9B,SAAS,EAAE,CAAC,wBAAwB,CAAC;QACrC,QAAQ,EAAE,EAAE;QACZ,QAAQ,EAAE,EAAE;QACZ,QAAQ,EAAE,CAAC,EAAE,WAAW,EAAE,YAAY,EAAE,UAAU,EAAE,wBAAwB,EAAE,CAAC;QAC/E,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,2BAA2B,EAAE;SACnF;QACD,QAAQ,EAAE;YACR;gBACE,WAAW,EAAE,eAAe;gBAC5B,UAAU,EAAE,yCAAyC;aACtD;SACF;QACD,OAAO,EAAE,CAAC,iBAAiB,CAAC;KAC7B;IACD,wEAAwE;IACxE,wEAAwE;IACxE,gEAAgE;IAChE,IAAI;IACJ,4CAA4C;IAC5C,uDAAuD;IACvD,2DAA2D;IAC3D,gBAAgB;IAChB,sEAAsE;IACtE,8EAA8E;IAC9E,OAAO;IACP,kBAAkB;IAClB,gBAAgB;IAChB,QAAQ;IACR,wCAAwC;IACxC,oBAAoB;IACpB,wFAAwF;IACxF,SAAS;IACT,OAAO;IACP,iDAAiD;IACjD,KAAK;IACL,IAAI;IACJ,4CAA4C;IAC5C,kEAAkE;IAClE,kEAAkE;IAClE,gBAAgB;IAChB,kFAAkF;IAClF,sEAAsE;IACtE,8EAA8E;IAC9E,OAAO;IACP,kBAAkB;IAClB,gBAAgB;IAChB,QAAQ;IACR,yCAAyC;IACzC,oBAAoB;IACpB,2GAA2G;IAC3G,SAAS;IACT,OAAO;IACP,iDAAiD;IACjD,KAAK;CACN,CAAC"}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
export const APPROVAL_COMMANDS = [
|
|
2
|
+
{
|
|
3
|
+
name: 'approval-sessions:heartbeat',
|
|
4
|
+
group: 'approvals-budgets',
|
|
5
|
+
summary: 'Create or refresh a compute approval session.',
|
|
6
|
+
endpoints: ['POST /approval-sessions/heartbeat'],
|
|
7
|
+
required: [],
|
|
8
|
+
optional: [{ name: 'session_id', type: 'string', description: 'Existing session ID.' }],
|
|
9
|
+
examples: [
|
|
10
|
+
{
|
|
11
|
+
description: 'Heartbeat.',
|
|
12
|
+
invocation: 'flywheel approval-sessions:heartbeat',
|
|
13
|
+
},
|
|
14
|
+
],
|
|
15
|
+
related: ['approval-sessions:list'],
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
name: 'approval-sessions:list',
|
|
19
|
+
group: 'approvals-budgets',
|
|
20
|
+
summary: 'List approval sessions.',
|
|
21
|
+
endpoints: ['GET /approval-sessions'],
|
|
22
|
+
required: [],
|
|
23
|
+
optional: [{ name: 'status', type: 'string', description: 'active | expired.' }],
|
|
24
|
+
examples: [
|
|
25
|
+
{
|
|
26
|
+
description: 'List active sessions.',
|
|
27
|
+
invocation: 'flywheel approval-sessions:list --status active',
|
|
28
|
+
},
|
|
29
|
+
],
|
|
30
|
+
related: ['approval-sessions:heartbeat'],
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
name: 'approval-sessions:expire',
|
|
34
|
+
group: 'approvals-budgets',
|
|
35
|
+
summary: 'Expire an approval session.',
|
|
36
|
+
endpoints: ['POST /approval-sessions/expire'],
|
|
37
|
+
required: [{ name: 'session_id', type: 'string', description: 'Session ID.' }],
|
|
38
|
+
optional: [],
|
|
39
|
+
examples: [
|
|
40
|
+
{
|
|
41
|
+
description: 'Expire.',
|
|
42
|
+
invocation: 'flywheel approval-sessions:expire --session_id s1',
|
|
43
|
+
},
|
|
44
|
+
],
|
|
45
|
+
related: ['approval-sessions:heartbeat'],
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
name: 'compute-grants:list',
|
|
49
|
+
group: 'approvals-budgets',
|
|
50
|
+
summary: 'List compute grants available to the user.',
|
|
51
|
+
endpoints: ['GET /compute/grants'],
|
|
52
|
+
required: [],
|
|
53
|
+
optional: [
|
|
54
|
+
{ name: 'budget_source', type: 'string', description: 'user | root.' },
|
|
55
|
+
{
|
|
56
|
+
name: 'approval_session_id',
|
|
57
|
+
type: 'string',
|
|
58
|
+
description: 'Scope to approval session.',
|
|
59
|
+
},
|
|
60
|
+
],
|
|
61
|
+
examples: [
|
|
62
|
+
{
|
|
63
|
+
description: 'List grants.',
|
|
64
|
+
invocation: 'flywheel compute-grants:list --budget_source user',
|
|
65
|
+
},
|
|
66
|
+
],
|
|
67
|
+
related: ['compute-grants:request-approval'],
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
name: 'compute-grants:request-approval',
|
|
71
|
+
group: 'approvals-budgets',
|
|
72
|
+
summary: 'Request compute-grant approval. POSTs to the consolidated server endpoint which owns the heartbeat/grants/credits/campaign-budgets/status fan-out.',
|
|
73
|
+
endpoints: ['POST /compute-grants/request-approval'],
|
|
74
|
+
required: [
|
|
75
|
+
{ name: 'purpose', type: 'string', description: 'Human-readable purpose.' },
|
|
76
|
+
{ name: 'requested_sku', type: 'string', description: 'SKU.' },
|
|
77
|
+
{ name: 'budget_source', type: 'string', description: 'user | root.' },
|
|
78
|
+
],
|
|
79
|
+
optional: [
|
|
80
|
+
{
|
|
81
|
+
name: 'region',
|
|
82
|
+
type: 'string',
|
|
83
|
+
description: 'Region. Optional for provider-validated offers; required otherwise (server decides per-offer).',
|
|
84
|
+
},
|
|
85
|
+
{ name: 'acquire_node_id', type: 'string', description: 'Target node for acquire.' },
|
|
86
|
+
{
|
|
87
|
+
name: 'lease_control_token',
|
|
88
|
+
type: 'string',
|
|
89
|
+
description: 'Triggers optional status preflight when set.',
|
|
90
|
+
},
|
|
91
|
+
],
|
|
92
|
+
examples: [
|
|
93
|
+
{
|
|
94
|
+
description: 'Request approval.',
|
|
95
|
+
invocation: `flywheel compute-grants:request-approval --purpose "train" --requested_sku sku --region us-east --budget_source user`,
|
|
96
|
+
},
|
|
97
|
+
],
|
|
98
|
+
related: ['compute:acquire'],
|
|
99
|
+
},
|
|
100
|
+
];
|
|
101
|
+
//# sourceMappingURL=approval.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"approval.js","sourceRoot":"","sources":["../../../src/commands/registry/approval.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,iBAAiB,GAAqC;IACjE;QACE,IAAI,EAAE,6BAA6B;QACnC,KAAK,EAAE,mBAAmB;QAC1B,OAAO,EAAE,+CAA+C;QACxD,SAAS,EAAE,CAAC,mCAAmC,CAAC;QAChD,QAAQ,EAAE,EAAE;QACZ,Q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|
|
4
|
+
group: 'artifacts-files',
|
|
5
|
+
summary: 'Create upload batch with signed per-item upload tickets.',
|
|
6
|
+
endpoints: ['POST /nodes/{node_id}/artifacts/uploads/prepare'],
|
|
7
|
+
required: [
|
|
8
|
+
{ name: 'node_id', type: 'string', description: 'Owning node.' },
|
|
9
|
+
{ name: 'expected_revision', type: 'integer', description: 'Optimistic lock.' },
|
|
10
|
+
{ name: 'items', type: 'json', description: 'JSON array of upload items.' },
|
|
11
|
+
],
|
|
12
|
+
optional: [],
|
|
13
|
+
examples: [
|
|
14
|
+
{
|
|
15
|
+
description: 'Prepare one upload.',
|
|
16
|
+
invocation: `flywheel artifacts:upload:prepare --node_id n --expected_revision 3 --items '[{"local_path":"report.pdf"}]'`,
|
|
17
|
+
},
|
|
18
|
+
],
|
|
19
|
+
related: ['artifacts:upload:finalize', 'artifacts:upload'],
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
name: 'artifacts:upload:finalize',
|
|
23
|
+
group: 'artifacts-files',
|
|
24
|
+
summary: 'Finalize prepared artifact uploads and attach artifacts.',
|
|
25
|
+
endpoints: ['POST /nodes/{node_id}/artifacts/uploads/finalize'],
|
|
26
|
+
required: [
|
|
27
|
+
{ name: 'node_id', type: 'string', description: 'Owning node.' },
|
|
28
|
+
{ name: 'batch_token', type: 'string', description: 'Token returned from prepare.' },
|
|
29
|
+
],
|
|
30
|
+
optional: [],
|
|
31
|
+
examples: [
|
|
32
|
+
{
|
|
33
|
+
description: 'Finalize batch.',
|
|
34
|
+
invocation: 'flywheel artifacts:upload:finalize --node_id n --batch_token tok_abc',
|
|
35
|
+
},
|
|
36
|
+
],
|
|
37
|
+
related: ['artifacts:upload:prepare'],
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
name: 'artifacts:upload',
|
|
41
|
+
group: 'artifacts-files',
|
|
42
|
+
summary: 'One-shot upload: prepare + PUT + finalize from a single invocation.',
|
|
43
|
+
endpoints: [
|
|
44
|
+
'POST /nodes/{node_id}/artifacts/uploads/prepare',
|
|
45
|
+
'POST /nodes/{node_id}/artifacts/uploads/finalize',
|
|
46
|
+
],
|
|
47
|
+
required: [
|
|
48
|
+
{ name: 'node_id', type: 'string', description: 'Owning node.' },
|
|
49
|
+
{ name: 'expected_revision', type: 'integer', description: 'Optimistic lock.' },
|
|
50
|
+
{
|
|
51
|
+
name: 'items',
|
|
52
|
+
type: 'json',
|
|
53
|
+
description: 'JSON array: each entry requires local_path and artifact_type (one of: text, table, json, image, banner, html, plotly_html, vega, checkpoint, binary, diff_carousel); optional media_type, title, execution_id, note, metadata.',
|
|
54
|
+
},
|
|
55
|
+
],
|
|
56
|
+
optional: [],
|
|
57
|
+
examples: [
|
|
58
|
+
{
|
|
59
|
+
description: 'Upload a file.',
|
|
60
|
+
invocation: `flywheel artifacts:upload --node_id n --expected_revision 3 --items '[{"local_path":"./report.pdf","artifact_type":"binary"}]'`,
|
|
61
|
+
},
|
|
62
|
+
],
|
|
63
|
+
related: ['artifacts:upload:prepare', 'artifacts:upload:finalize'],
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
name: 'artifacts:delete',
|
|
67
|
+
group: 'artifacts-files',
|
|
68
|
+
summary: 'Delete an artifact from a node.',
|
|
69
|
+
endpoints: ['DELETE /nodes/{node_id}/artifacts/{artifact_id}'],
|
|
70
|
+
required: [
|
|
71
|
+
{ name: 'node_id', type: 'string', description: 'Owning node.' },
|
|
72
|
+
{ name: 'artifact_id', type: 'string', description: 'Artifact ID.' },
|
|
73
|
+
{ name: 'expected_revision', type: 'integer', description: 'Optimistic lock.' },
|
|
74
|
+
],
|
|
75
|
+
optional: [],
|
|
76
|
+
examples: [
|
|
77
|
+
{
|
|
78
|
+
description: 'Delete an artifact.',
|
|
79
|
+
invocation: 'flywheel artifacts:delete --node_id n --artifact_id a --expected_revision 7',
|
|
80
|
+
},
|
|
81
|
+
],
|
|
82
|
+
related: ['artifacts:list'],
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
name: 'artifacts:note:set',
|
|
86
|
+
group: 'artifacts-files',
|
|
87
|
+
summary: 'Add, update, or clear an artifact note.',
|
|
88
|
+
endpoints: ['PATCH /nodes/{node_id}/artifacts/{artifact_id}/note'],
|
|
89
|
+
required: [
|
|
90
|
+
{ name: 'node_id', type: 'string', description: 'Owning node.' },
|
|
91
|
+
{ name: 'artifact_id', type: 'string', description: 'Artifact ID.' },
|
|
92
|
+
{ name: 'expected_revision', type: 'integer', description: 'Optimistic lock.' },
|
|
93
|
+
],
|
|
94
|
+
optional: [{ name: 'note', type: 'string', description: 'Note text (omit to clear).' }],
|
|
95
|
+
examples: [
|
|
96
|
+
{
|
|
97
|
+
description: 'Attach a note.',
|
|
98
|
+
invocation: `flywheel artifacts:note:set --node_id n --artifact_id a --expected_revision 7 --note "needs review"`,
|
|
99
|
+
},
|
|
100
|
+
],
|
|
101
|
+
related: ['artifacts:get'],
|
|
102
|
+
},
|
|
103
|
+
];
|
|
104
|
+
//# sourceMappingURL=artifacts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"artifacts.js","sourceRoot":"","sources":["../../../src/commands/registry/artifacts.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,kBAAkB,GAAqC;IAClE;QACE,IAAI,EAAE,0BAA0B;QAChC,KAAK,EAAE,iBAAiB;QACxB,OAAO,EAAE,0DAA0D;QACnE,SAAS,EAAE,CAAC,iDAAiD,CAAC;QAC9D,QAAQ,EAAE;YACR,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,cAAc,EAAE;YAChE,EAAE,IAAI,EAAE,mBAAmB,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,EAAE,kBAAkB,EAAE;YAC/E,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,6BAA6B,EAAE;SAC5E;QACD,QAAQ,EAAE,EAAE;QACZ,QAAQ,EAAE;Y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TH_COMMANDS = [
|
|
2
|
+
{
|
|
3
|
+
name: 'auth:keychain:set',
|
|
4
|
+
group: 'developer-admin',
|
|
5
|
+
summary: 'Store an API key in the OS keychain for a profile. Reads the key from stdin.',
|
|
6
|
+
endpoints: [],
|
|
7
|
+
required: [],
|
|
8
|
+
optional: [
|
|
9
|
+
{ name: 'profile', type: 'string', description: 'Profile name (default "default").' },
|
|
10
|
+
],
|
|
11
|
+
examples: [
|
|
12
|
+
{
|
|
13
|
+
description: 'Store key via stdin.',
|
|
14
|
+
invocation: 'echo -n $KEY | flywheel auth:keychain:set --profile prod',
|
|
15
|
+
},
|
|
16
|
+
],
|
|
17
|
+
related: ['auth:keychain:clear'],
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
name: 'auth:keychain:clear',
|
|
21
|
+
group: 'developer-admin',
|
|
22
|
+
summary: 'Remove an API key from the OS keychain for a profile.',
|
|
23
|
+
endpoints: [],
|
|
24
|
+
required: [],
|
|
25
|
+
optional: [
|
|
26
|
+
{ name: 'profile', type: 'string', description: 'Profile name (default "default").' },
|
|
27
|
+
],
|
|
28
|
+
examples: [
|
|
29
|
+
{
|
|
30
|
+
description: 'Clear stored key.',
|
|
31
|
+
invocation: 'flywheel auth:keychain:clear --profile prod',
|
|
32
|
+
},
|
|
33
|
+
],
|
|
34
|
+
related: ['auth:keychain:set'],
|
|
35
|
+
},
|
|
36
|
+
];
|
|
37
|
+
//# sourceMappingURL=auth.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth.js","sourceRoot":"","sources":["../../../src/commands/registry/auth.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,aAAa,GAAqC;IAC7D;QACE,IAAI,EAAE,mBAAmB;QACzB,KAAK,EAAE,iBAAiB;QACxB,OAAO,EAAE,8EAA8E;QACvF,SAAS,EAAE,EAAE;QACb,QAAQ,EAAE,EAAE;QACZ,QAAQ,EAAE;YACR,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,mCAAmC,EAAE;SACtF;QACD,QAAQ,EAAE;YACR;gBACE,WAAW,EAAE,sBAAsB;gBACnC,UAAU,EAAE,0DAA0D;aACvE;SACF;QACD,OAAO,EAAE,CAAC,qBAAqB,CAAC;KACjC;IACD;QACE,IAAI,EAAE,qBAAqB;QAC3B,KAAK,EAAE,iBAAiB;QACxB,OAAO,EAAE,uDAAuD;QAChE,SAAS,EAAE,EAAE;QACb,QAAQ,EAAE,EAAE;QACZ,QAAQ,EAAE;YACR,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,mCAAmC,EAAE;SACtF;QACD,QAAQ,EAAE;YACR;gBACE,WAAW,EAAE,mBAAmB;gBAChC,UAAU,EAAE,6CAA6C;aAC1D;SACF;QACD,OAAO,EAAE,CAAC,mBAAmB,CAAC;KAC/B;CACF,CAAC"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
export const BUDGETS_COMMANDS = [
|
|
2
|
+
{
|
|
3
|
+
name: 'campaign-budgets:list',
|
|
4
|
+
group: 'approvals-budgets',
|
|
5
|
+
summary: 'List campaign compute budgets for a root.',
|
|
6
|
+
endpoints: ['GET /nodes/{root_node_id}/campaign-budgets'],
|
|
7
|
+
required: [{ name: 'root_node_id', type: 'string', description: 'Graph root ID.' }],
|
|
8
|
+
optional: [],
|
|
9
|
+
examples: [
|
|
10
|
+
{
|
|
11
|
+
description: 'List budgets.',
|
|
12
|
+
invocation: 'flywheel campaign-budgets:list --root_node_id r_root',
|
|
13
|
+
},
|
|
14
|
+
],
|
|
15
|
+
related: ['campaign-budgets:create'],
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
name: 'campaign-budgets:create',
|
|
19
|
+
group: 'approvals-budgets',
|
|
20
|
+
summary: 'Create a campaign compute budget grant.',
|
|
21
|
+
endpoints: ['POST /nodes/{root_node_id}/campaign-budgets'],
|
|
22
|
+
required: [
|
|
23
|
+
{ name: 'root_node_id', type: 'string', description: 'Graph root ID.' },
|
|
24
|
+
{ name: 'hard_cap_cents', type: 'integer', description: 'Hard cap in cents.' },
|
|
25
|
+
],
|
|
26
|
+
optional: [{ name: 'label', type: 'string', description: 'Label.' }],
|
|
27
|
+
examples: [
|
|
28
|
+
{
|
|
29
|
+
description: 'Create a budget.',
|
|
30
|
+
invocation: 'flywheel campaign-budgets:create --root_node_id r_root --hard_cap_cents 10000',
|
|
31
|
+
},
|
|
32
|
+
],
|
|
33
|
+
related: ['campaign-budgets:update'],
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
name: 'campaign-budgets:update',
|
|
37
|
+
group: 'approvals-budgets',
|
|
38
|
+
summary: 'Update a campaign budget (partial; any key=value becomes a field).',
|
|
39
|
+
endpoints: ['PATCH /nodes/{root_node_id}/campaign-budgets/{compute_budget_id}'],
|
|
40
|
+
required: [
|
|
41
|
+
{ name: 'root_node_id', type: 'string', description: 'Graph root ID.' },
|
|
42
|
+
{ name: 'compute_budget_id', type: 'string', description: 'Budget ID.' },
|
|
43
|
+
],
|
|
44
|
+
optional: [],
|
|
45
|
+
examples: [
|
|
46
|
+
{
|
|
47
|
+
description: 'Bump hard cap.',
|
|
48
|
+
invocation: 'flywheel campaign-budgets:update --root_node_id r --compute_budget_id b --hard_cap_cents 20000',
|
|
49
|
+
},
|
|
50
|
+
],
|
|
51
|
+
related: ['campaign-budgets:revoke'],
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
name: 'campaign-budgets:revoke',
|
|
55
|
+
group: 'approvals-budgets',
|
|
56
|
+
summary: 'Revoke a campaign budget grant.',
|
|
57
|
+
endpoints: ['DELETE /nodes/{root_node_id}/campaign-budgets/{compute_budget_id}'],
|
|
58
|
+
required: [
|
|
59
|
+
{ name: 'root_node_id', type: 'string', description: 'Graph root ID.' },
|
|
60
|
+
{ name: 'compute_budget_id', type: 'string', description: 'Budget ID.' },
|
|
61
|
+
],
|
|
62
|
+
optional: [],
|
|
63
|
+
examples: [
|
|
64
|
+
{
|
|
65
|
+
description: 'Revoke.',
|
|
66
|
+
invocation: 'flywheel campaign-budgets:revoke --root_node_id r --compute_budget_id b',
|
|
67
|
+
},
|
|
68
|
+
],
|
|
69
|
+
related: ['campaign-budgets:list'],
|
|
70
|
+
},
|
|
71
|
+
];
|
|
72
|
+
//# sourceMappingURL=budgets.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"budgets.js","sourceRoot":"","sources":["../../../src/commands/registry/budgets.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,gBAAgB,GAAqC;IAChE;QACE,IAAI,EAAE,uBAAuB;QAC7B,KAAK,EAAE,mBAAmB;QAC1B,OAAO,EAAE,2CAA2C;QACpD,SAAS,EAAE,CAAC,4CAA4C,CAAC;QACzD,QAAQ,EAAE,CAAC,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,gBAAgB,EAAE,CAAC;QACnF,QAAQ,EAAE,EAAE;QACZ,QAAQ,EAAE;YACR;gBACE,WAAW,EAAE,eAAe;gBAC5B,UAAU,EAAE,sDAAsD;aACnE;SACF;QACD,OAAO,EAAE,CAAC,yBAAyB,CAAC;KACrC;IACD;QACE,IAAI,EAAE,yBAAyB;QAC/B,KAAK,EAAE,mBAAmB;QAC1B,OAAO,EAAE,yCAAyC;QAClD,SAAS,EAAE,CAAC,6CAA6C,CAAC;QAC1D,QAAQ,EAAE;YACR,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,gBAAgB,EAAE;YACvE,EAAE,IAAI,EAAE,gBAAgB,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,EAAE,oBAAoB,EAAE;SAC/E;QACD,QAAQ,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE,CAAC;QACp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5
|
+
summary: 'List allowed compute catalog options for a node.',
|
|
6
|
+
endpoints: ['GET /compute/catalog'],
|
|
7
|
+
required: [{ name: 'node_id', type: 'string', description: 'Node ID for contract compat.' }],
|
|
8
|
+
optional: [
|
|
9
|
+
{ name: 'provider', type: 'string', description: 'Filter by provider.' },
|
|
10
|
+
{ name: 'limit', type: 'integer', description: 'Max entries.' },
|
|
11
|
+
{ name: 'detail', type: 'string', description: 'compact | full.' },
|
|
12
|
+
],
|
|
13
|
+
examples: [
|
|
14
|
+
{
|
|
15
|
+
description: 'List catalog.',
|
|
16
|
+
invocation: 'flywheel compute:options --node_id n_abc --detail compact',
|
|
17
|
+
},
|
|
18
|
+
],
|
|
19
|
+
related: ['compute:acquire'],
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
name: 'compute:funding',
|
|
23
|
+
group: 'compute-executions',
|
|
24
|
+
summary: 'Read grant-scoped funding context before compute acquire.',
|
|
25
|
+
endpoints: ['GET /compute/funding'],
|
|
26
|
+
required: [{ name: 'compute_grant_id', type: 'string', description: 'Grant ID.' }],
|
|
27
|
+
optional: [
|
|
28
|
+
{
|
|
29
|
+
name: 'approval_session_id',
|
|
30
|
+
type: 'string',
|
|
31
|
+
description: 'Approval session ID.',
|
|
32
|
+
},
|
|
33
|
+
],
|
|
34
|
+
examples: [
|
|
35
|
+
{
|
|
36
|
+
description: 'Read funding.',
|
|
37
|
+
invocation: 'flywheel compute:funding --compute_grant_id g_abc',
|
|
38
|
+
},
|
|
39
|
+
],
|
|
40
|
+
related: ['compute:acquire'],
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
name: 'compute:connection',
|
|
44
|
+
group: 'compute-executions',
|
|
45
|
+
summary: 'Get SSH connection material for a usable lease.',
|
|
46
|
+
endpoints: ['GET /compute/connection'],
|
|
47
|
+
required: [{ name: 'lease_control_token', type: 'string', description: 'Lease control token.' }],
|
|
48
|
+
optional: [
|
|
49
|
+
{ name: 'lease_id', type: 'string', description: 'Target lease ID.' },
|
|
50
|
+
{ name: 'node_id', type: 'string', description: 'Target node ID.' },
|
|
51
|
+
],
|
|
52
|
+
examples: [
|
|
53
|
+
{
|
|
54
|
+
description: 'Get connection.',
|
|
55
|
+
invocation: 'flywheel compute:connection --lease_control_token tok --lease_id l1',
|
|
56
|
+
},
|
|
57
|
+
],
|
|
58
|
+
related: ['compute:status'],
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
name: 'compute:acquire',
|
|
62
|
+
group: 'compute-executions',
|
|
63
|
+
summary: 'Acquire managed compute for a node.',
|
|
64
|
+
endpoints: ['POST /nodes/{node_id}/compute/acquire'],
|
|
65
|
+
required: [
|
|
66
|
+
{ name: 'node_id', type: 'string', description: 'Target node.' },
|
|
67
|
+
{ name: 'compute_grant_id', type: 'string', description: 'Bound grant ID.' },
|
|
68
|
+
{ name: 'requested_sku', type: 'string', description: 'SKU.' },
|
|
69
|
+
{
|
|
70
|
+
name: 'approval_session_id',
|
|
71
|
+
type: 'string',
|
|
72
|
+
description: 'Approval session ID (server requires; see compute-acquire.ts).',
|
|
73
|
+
},
|
|
74
|
+
],
|
|
75
|
+
optional: [
|
|
76
|
+
{
|
|
77
|
+
name: 'region',
|
|
78
|
+
type: 'string',
|
|
79
|
+
description: 'Region. Optional for provider-validated offers; required otherwise (server decides per-offer).',
|
|
80
|
+
},
|
|
81
|
+
],
|
|
82
|
+
examples: [
|
|
83
|
+
{
|
|
84
|
+
description: 'Acquire.',
|
|
85
|
+
invocation: 'flywheel compute:acquire --node_id n --compute_grant_id g --requested_sku sku --region us-east',
|
|
86
|
+
},
|
|
87
|
+
],
|
|
88
|
+
related: ['compute:release', 'compute-grants:request-approval'],
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
name: 'compute:release',
|
|
92
|
+
group: 'compute-executions',
|
|
93
|
+
summary: 'Release one active compute lease (async; use --wait to block).',
|
|
94
|
+
endpoints: ['POST /users/me/machines/{lease_id}/release'],
|
|
95
|
+
required: [
|
|
96
|
+
{ name: 'lease_id', type: 'string', description: 'Lease ID.' },
|
|
97
|
+
{ name: 'lease_control_token', type: 'string', description: 'Lease control token.' },
|
|
98
|
+
],
|
|
99
|
+
optional: [],
|
|
100
|
+
examples: [
|
|
101
|
+
{
|
|
102
|
+
description: 'Release a lease.',
|
|
103
|
+
invocation: 'flywheel compute:release --lease_id l1 --lease_control_token tok',
|
|
104
|
+
},
|
|
105
|
+
],
|
|
106
|
+
related: ['compute:release-all'],
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
name: 'compute:release-all',
|
|
110
|
+
group: 'compute-executions',
|
|
111
|
+
summary: 'Release all active leases in current scope (pass --force for account scope).',
|
|
112
|
+
endpoints: ['POST /users/me/machines/release-all'],
|
|
113
|
+
required: [{ name: 'lease_control_token', type: 'string', description: 'Lease control token.' }],
|
|
114
|
+
optional: [],
|
|
115
|
+
examples: [
|
|
116
|
+
{
|
|
117
|
+
description: 'Release all (default token scope).',
|
|
118
|
+
invocation: 'flywheel compute:release-all --lease_control_token tok',
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
description: 'Release all (account scope with --force).',
|
|
122
|
+
invocation: 'flywheel compute:release-all --lease_control_token tok --force',
|
|
123
|
+
},
|
|
124
|
+
],
|
|
125
|
+
related: ['compute:release'],
|
|
126
|
+
},
|
|
127
|
+
];
|
|
128
|
+
//# sourceMappingURL=compute.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"compute.js","sourceRoot":"","sources":["../../../src/commands/registry/compute.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,gBAAgB,GAAqC;IAChE;QACE,IAAI,EAAE,iBAAiB;QACvB,KAAK,EAAE,oBAAoB;QAC3B,OAAO,EAAE,kDAAkD;QAC3D,SAAS,EAAE,CAAC,sBAAsB,CAAC;QACnC,QAAQ,EAAE,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,8BAA8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