@paradigma-inc/flywheel 0.1.53 → 0.1.72
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 +149 -17
- package/package.json +4 -2
- package/skills/flywheel/SKILL.md +4 -3
- package/skills/flywheel/getting-started/flywheel-quickstart.md +4 -4
- package/skills/flywheel/references/flywheel-cli-tool-map.md +47 -35
- package/skills/flywheel/references/flywheel-mcp-tool-map.md +16 -5
- package/skills/flywheel/setting-up-flywheel/claude-code-cli-installation.md +3 -3
- package/skills/flywheel/setting-up-flywheel/codex-cli-installation.md +3 -3
- package/skills/flywheel/setting-up-flywheel/installation-overview.md +9 -8
- package/skills/flywheel/setting-up-flywheel/other-hosts-installation.md +1 -1
- package/skills/flywheel/setting-up-flywheel/updating-flywheel-mcp.md +4 -4
- package/skills/flywheel-auto/SKILL.md +4 -3
- package/skills/flywheel-auto/references/flywheel-cli-tool-map.md +37 -35
- package/skills/flywheel-auto/references/flywheel-mcp-tool-map.md +4 -4
- package/skills/flywheel-lookahead/SKILL.md +1 -1
- package/skills/flywheel-lookahead/references/flywheel-cli-tool-map.md +37 -35
- package/skills/flywheel-lookahead/references/flywheel-mcp-tool-map.md +4 -4
- package/skills/flywheel-prove/SKILL.md +1 -1
- package/skills/flywheel-reproduce/SKILL.md +4 -3
- package/skills/flywheel-reproduce/references/flywheel-cli-tool-map.md +37 -35
- package/skills/flywheel-reproduce/references/flywheel-mcp-tool-map.md +4 -4
- package/skills/flywheel-to-graph/SKILL.md +1 -1
- package/skills/flywheel-to-graph/references/flywheel-cli-tool-map.md +37 -35
- package/skills/flywheel-to-graph/references/flywheel-mcp-tool-map.md +4 -4
- package/skills/flywheel-tree/SKILL.md +1 -1
- package/src/agents.mjs +114 -48
- package/src/cli.mjs +373 -56
- package/src/mcp-writer.mjs +190 -17
- package/src/runtime/required-runtime-commands.json +19 -4
- package/src/runtime/vendor/flywheel-cli-dist/auth/login.d.ts +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/auth/login.js +3 -6
- package/src/runtime/vendor/flywheel-cli-dist/auth/login.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/auth/profiles.d.ts +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/auth/profiles.js +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/auth/profiles.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/_admin-auth.d.ts +27 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/_admin-auth.js +54 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/_admin-auth.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/_artifacts-upload-helpers.d.ts +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/_artifacts-upload-helpers.js +6 -5
- package/src/runtime/vendor/flywheel-cli-dist/commands/_artifacts-upload-helpers.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/_browser-handoff.d.ts +21 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/_browser-handoff.js +51 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/_browser-handoff.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/_open-url.d.ts +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/_open-url.js +6 -3
- package/src/runtime/vendor/flywheel-cli-dist/commands/_open-url.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/_secret-param.d.ts +7 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/_secret-param.js +18 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/_secret-param.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/_stream-file-out.d.ts +39 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/_stream-file-out.js +72 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/_stream-file-out.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/account-detach.js +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/account-detach.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/account-emails-add.js +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/account-emails-add.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/account-emails-remove.js +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/account-emails-remove.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/account-emails-set-primary.js +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/account-emails-set-primary.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/account-get.d.ts +2 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/account-get.js +6 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/account-get.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/account-merge-preview.js +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/account-merge-preview.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/account-merge-proof.js +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/account-merge-proof.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/account-merge.js +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/account-merge.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/admin-compute-policy-get.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/admin-compute-policy-get.js +11 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/admin-compute-policy-get.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/admin-compute-policy-set.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/admin-compute-policy-set.js +60 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/admin-compute-policy-set.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/admin-graphs-export-stream.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/admin-graphs-export-stream.js +115 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/admin-graphs-export-stream.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/admin-graphs-export.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/admin-graphs-export.js +12 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/admin-graphs-export.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/admin-graphs-list.d.ts +4 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/admin-graphs-list.js +39 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/admin-graphs-list.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/admin-nodes-audit-list.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/admin-nodes-audit-list.js +15 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/admin-nodes-audit-list.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/api-keys-list.d.ts +18 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/api-keys-list.js +38 -5
- package/src/runtime/vendor/flywheel-cli-dist/commands/api-keys-list.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/artifacts-delete.js +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/artifacts-delete.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/auth-mode.d.ts +4 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/auth-mode.js +42 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/auth-mode.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/auth-status.js +15 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/auth-status.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/compute-grants-list.js +8 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/compute-grants-list.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/compute-grants-request-approval.js +6 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/compute-grants-request-approval.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/compute-release-all.js +18 -7
- package/src/runtime/vendor/flywheel-cli-dist/commands/compute-release-all.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/credits-billing-portal.js +8 -4
- package/src/runtime/vendor/flywheel-cli-dist/commands/credits-billing-portal.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/credits-purchase.js +8 -4
- package/src/runtime/vendor/flywheel-cli-dist/commands/credits-purchase.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/credits-subscribe.js +8 -4
- package/src/runtime/vendor/flywheel-cli-dist/commands/credits-subscribe.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/destructive-confirmation.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/destructive-confirmation.js +7 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/destructive-confirmation.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/enums.d.ts +8 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/enums.js +4 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/enums.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/env.d.ts +0 -4
- package/src/runtime/vendor/flywheel-cli-dist/commands/env.js +7 -12
- package/src/runtime/vendor/flywheel-cli-dist/commands/env.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/export-history.js +42 -30
- package/src/runtime/vendor/flywheel-cli-dist/commands/export-history.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/export-subgraph.js +12 -4
- package/src/runtime/vendor/flywheel-cli-dist/commands/export-subgraph.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/github-link.js +9 -14
- package/src/runtime/vendor/flywheel-cli-dist/commands/github-link.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/help-format.d.ts +31 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/help-format.js +69 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/help-format.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/help.d.ts +6 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/help.js +226 -124
- package/src/runtime/vendor/flywheel-cli-dist/commands/help.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/hooks-create.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/hooks-create.js +25 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/hooks-create.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/hooks-delete.d.ts +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/hooks-delete.js +6 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/hooks-delete.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/hooks-list.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/hooks-list.js +10 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/hooks-list.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/hooks-runs-list.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/hooks-runs-list.js +15 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/hooks-runs-list.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/hooks-secrets-create.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/hooks-secrets-create.js +8 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/hooks-secrets-create.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/hooks-secrets-delete.d.ts +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/hooks-secrets-delete.js +6 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/hooks-secrets-delete.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/hooks-secrets-list.d.ts +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/hooks-secrets-list.js +6 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/hooks-secrets-list.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/hooks-secrets-update.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/hooks-secrets-update.js +8 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/hooks-secrets-update.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/hooks-set-enabled.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/hooks-set-enabled.js +8 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/hooks-set-enabled.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/hooks-update.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/hooks-update.js +29 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/hooks-update.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/index.js +36 -6
- package/src/runtime/vendor/flywheel-cli-dist/commands/index.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/integrations-huggingface-set.js +7 -3
- package/src/runtime/vendor/flywheel-cli-dist/commands/integrations-huggingface-set.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/integrations-wandb-set.js +6 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/integrations-wandb-set.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-add-parent.js +6 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-add-parent.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-delete-bulk.js +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-delete-bulk.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-delete.js +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-delete.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-remove-parent.js +8 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-remove-parent.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-resolve-slug.js +55 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-resolve-slug.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/profile-list.js +13 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/profile-list.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/profile-set.js +4 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/profile-set.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/profile-show.js +16 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/profile-show.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/account.js +8 -7
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/account.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/admin.d.ts +8 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/admin.js +131 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/admin.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/api-keys.js +8 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/api-keys.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/approval.js +29 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/approval.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/artifacts.js +13 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/artifacts.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/auth.js +2 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/auth.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/budgets.js +11 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/budgets.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/compute.js +2 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/compute.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/credits.js +8 -6
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/credits.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/env.js +7 -5
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/env.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/github.js +6 -14
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/github.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/hooks.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/hooks.js +312 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/hooks.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/integrations.js +22 -8
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/integrations.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/lifecycle.js +122 -25
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/lifecycle.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/profile.js +2 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/profile.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/resources.js +1 -31
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/resources.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/sharing.js +12 -4
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/sharing.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry.d.ts +2 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry.js +46 -9
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/remote-artifacts-refresh.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/remote-artifacts-refresh.js +20 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/remote-artifacts-refresh.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/remote-artifacts-resolve.d.ts +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/remote-artifacts-resolve.js +23 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/remote-artifacts-resolve.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/errors.d.ts +15 -0
- package/src/runtime/vendor/flywheel-cli-dist/errors.js +16 -1
- package/src/runtime/vendor/flywheel-cli-dist/errors.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/http/client.d.ts +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/http/client.js +75 -19
- package/src/runtime/vendor/flywheel-cli-dist/http/client.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/http/debug.d.ts +3 -0
- package/src/runtime/vendor/flywheel-cli-dist/http/debug.js +21 -2
- package/src/runtime/vendor/flywheel-cli-dist/http/debug.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/main.js +119 -10
- package/src/runtime/vendor/flywheel-cli-dist/main.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/output/format.js +44 -6
- package/src/runtime/vendor/flywheel-cli-dist/output/format.js.map +1 -1
- package/src/runtime/vendor/manifest.json +82 -10
- package/src/setup/base-url.mjs +43 -0
- package/src/setup/command.mjs +2 -0
- package/src/setup/io/patchers/json.mjs +2 -0
- package/src/setup/io/patchers/toml.mjs +7 -1
- package/src/setup/io/patchers/yaml.mjs +2 -0
- package/src/setup/modes/cli.mjs +72 -24
- package/src/setup/modes/mcp-command.mjs +146 -38
- package/src/setup/modes/mcp.mjs +26 -1
- package/src/setup/resolved-selection-record.mjs +25 -0
- package/src/setup/shared/prior-mode-detect.mjs +133 -14
- package/src/setup-auth.mjs +3 -2
- package/src/skill-installer.mjs +179 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/compute-policy-get.d.ts +0 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/compute-policy-get.js +0 -6
- package/src/runtime/vendor/flywheel-cli-dist/commands/compute-policy-get.js.map +0 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/compute-policy-set.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/compute-policy-set.js +0 -19
- package/src/runtime/vendor/flywheel-cli-dist/commands/compute-policy-set.js.map +0 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-audit-list.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-audit-list.js +0 -7
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-audit-list.js.map +0 -1
|
@@ -17,7 +17,7 @@ This skill uses one local wrapper command (selector -> MCP resolve/get_node_tree
|
|
|
17
17
|
This skill supports both Flywheel install modes, with an MCP-first execution path:
|
|
18
18
|
|
|
19
19
|
- **`--mode mcp` install**: preferred for this skill because `scripts/render_tree_via_mcp.py` resolves and calls MCP directly.
|
|
20
|
-
- **`--mode cli` install**: `setup --mode cli` configures runtime credentials for CLI routing; prerequisite for bare-binary routing is `npm install
|
|
20
|
+
- **`--mode cli` install**: `setup --mode cli` configures runtime credentials for CLI routing; prerequisite for bare-binary routing is the curl installer with `--mode cli` or the managed-prefix npm install recipe from the README. This skill's wrapper still reads through MCP, so keep MCP wiring available for the host that runs the script.
|
|
21
21
|
|
|
22
22
|
When switching an already-configured host between modes, rerun setup with `--force` (or uninstall first) so prior-mode artifacts are reconciled explicitly.
|
|
23
23
|
|
package/src/agents.mjs
CHANGED
|
@@ -5,23 +5,33 @@ import path from "node:path";
|
|
|
5
5
|
export const SERVER_NAME = "flywheel";
|
|
6
6
|
export const ALL_HOST_NAMES = [
|
|
7
7
|
"claude",
|
|
8
|
+
"cursor",
|
|
9
|
+
"universal",
|
|
10
|
+
"antigravity",
|
|
8
11
|
"opencode",
|
|
9
12
|
"codex",
|
|
10
|
-
"
|
|
13
|
+
"gemini",
|
|
11
14
|
"pi-mono",
|
|
12
15
|
"hermes-agent",
|
|
13
16
|
"openclaw",
|
|
14
17
|
];
|
|
15
18
|
export const SETUP_HOST_NAMES = {
|
|
16
19
|
claude: "Claude Code",
|
|
20
|
+
cursor: "Cursor",
|
|
21
|
+
universal: "Universal (.agents/skills)",
|
|
22
|
+
antigravity: "Antigravity (.agent/skills)",
|
|
17
23
|
opencode: "OpenCode",
|
|
18
24
|
codex: "Codex",
|
|
19
|
-
|
|
25
|
+
gemini: "Gemini CLI",
|
|
20
26
|
"pi-mono": "Pi (pi-mono)",
|
|
21
27
|
"hermes-agent": "Hermes Agent",
|
|
22
28
|
openclaw: "OpenClaw",
|
|
23
29
|
};
|
|
24
30
|
|
|
31
|
+
export function isSkillOnlyHost(host) {
|
|
32
|
+
return host != null && host.mcp == null;
|
|
33
|
+
}
|
|
34
|
+
|
|
25
35
|
const HOME = os.homedir();
|
|
26
36
|
|
|
27
37
|
const hosts = {
|
|
@@ -33,13 +43,13 @@ const hosts = {
|
|
|
33
43
|
projectPaths: [".mcp.json"],
|
|
34
44
|
globalPaths: [path.join(HOME, ".claude.json")],
|
|
35
45
|
configKey: "mcpServers",
|
|
36
|
-
buildEntry: ({ serverUrl, apiKey }) =>
|
|
37
|
-
type: "http",
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
}
|
|
46
|
+
buildEntry: ({ serverUrl, apiKey }) => {
|
|
47
|
+
const entry = { type: "http", url: serverUrl };
|
|
48
|
+
if (apiKey) {
|
|
49
|
+
entry.headers = { Authorization: `Bearer ${apiKey}` };
|
|
50
|
+
}
|
|
51
|
+
return entry;
|
|
52
|
+
},
|
|
43
53
|
},
|
|
44
54
|
detect: {
|
|
45
55
|
projectPaths: [".mcp.json", ".claude"],
|
|
@@ -67,14 +77,13 @@ const hosts = {
|
|
|
67
77
|
path.join(HOME, ".config", "opencode", ".opencode.jsonc"),
|
|
68
78
|
],
|
|
69
79
|
configKey: "mcp",
|
|
70
|
-
buildEntry: ({ serverUrl, apiKey }) =>
|
|
71
|
-
type: "remote",
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
}),
|
|
80
|
+
buildEntry: ({ serverUrl, apiKey }) => {
|
|
81
|
+
const entry = { type: "remote", url: serverUrl, enabled: true };
|
|
82
|
+
if (apiKey) {
|
|
83
|
+
entry.headers = { Authorization: `Bearer ${apiKey}` };
|
|
84
|
+
}
|
|
85
|
+
return entry;
|
|
86
|
+
},
|
|
78
87
|
},
|
|
79
88
|
detect: {
|
|
80
89
|
projectPaths: [
|
|
@@ -94,13 +103,13 @@ const hosts = {
|
|
|
94
103
|
projectPaths: [path.join(".codex", "config.toml")],
|
|
95
104
|
globalPaths: [path.join(HOME, ".codex", "config.toml")],
|
|
96
105
|
configKey: "mcp_servers",
|
|
97
|
-
buildEntry: ({ serverUrl, apiKey }) =>
|
|
98
|
-
type: "http",
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
}
|
|
106
|
+
buildEntry: ({ serverUrl, apiKey }) => {
|
|
107
|
+
const entry = { type: "http", url: serverUrl };
|
|
108
|
+
if (apiKey) {
|
|
109
|
+
entry.headers = { Authorization: `Bearer ${apiKey}` };
|
|
110
|
+
}
|
|
111
|
+
return entry;
|
|
112
|
+
},
|
|
104
113
|
},
|
|
105
114
|
detect: {
|
|
106
115
|
projectPaths: [".codex", path.join(".codex", "config.toml")],
|
|
@@ -115,18 +124,43 @@ const hosts = {
|
|
|
115
124
|
projectPaths: [path.join(".cursor", "mcp.json")],
|
|
116
125
|
globalPaths: [path.join(HOME, ".cursor", "mcp.json")],
|
|
117
126
|
configKey: "mcpServers",
|
|
118
|
-
buildEntry: ({ serverUrl, apiKey }) =>
|
|
119
|
-
url: serverUrl
|
|
120
|
-
|
|
121
|
-
Authorization: `Bearer ${apiKey}
|
|
122
|
-
}
|
|
123
|
-
|
|
127
|
+
buildEntry: ({ serverUrl, apiKey }) => {
|
|
128
|
+
const entry = { url: serverUrl };
|
|
129
|
+
if (apiKey) {
|
|
130
|
+
entry.headers = { Authorization: `Bearer ${apiKey}` };
|
|
131
|
+
}
|
|
132
|
+
return entry;
|
|
133
|
+
},
|
|
124
134
|
},
|
|
125
135
|
detect: {
|
|
126
136
|
projectPaths: [".cursor", path.join(".cursor", "mcp.json")],
|
|
127
137
|
globalPaths: [path.join(HOME, ".cursor")],
|
|
128
138
|
},
|
|
129
139
|
},
|
|
140
|
+
gemini: {
|
|
141
|
+
name: "gemini",
|
|
142
|
+
displayName: "Gemini CLI",
|
|
143
|
+
mcp: {
|
|
144
|
+
configType: "json",
|
|
145
|
+
projectPaths: [path.join(".gemini", "settings.json")],
|
|
146
|
+
globalPaths: [path.join(HOME, ".gemini", "settings.json")],
|
|
147
|
+
configKey: "mcpServers",
|
|
148
|
+
buildEntry: ({ serverUrl, apiKey }) => {
|
|
149
|
+
const entry = { httpUrl: serverUrl };
|
|
150
|
+
if (apiKey) {
|
|
151
|
+
entry.headers = { Authorization: `Bearer ${apiKey}` };
|
|
152
|
+
}
|
|
153
|
+
return entry;
|
|
154
|
+
},
|
|
155
|
+
},
|
|
156
|
+
detect: {
|
|
157
|
+
projectPaths: [".gemini", path.join(".gemini", "settings.json")],
|
|
158
|
+
globalPaths: [
|
|
159
|
+
path.join(HOME, ".gemini"),
|
|
160
|
+
path.join(HOME, ".gemini", "settings.json"),
|
|
161
|
+
],
|
|
162
|
+
},
|
|
163
|
+
},
|
|
130
164
|
"pi-mono": {
|
|
131
165
|
name: "pi-mono",
|
|
132
166
|
displayName: "Pi (pi-mono)",
|
|
@@ -135,12 +169,13 @@ const hosts = {
|
|
|
135
169
|
projectPaths: [path.join(".pi", "settings.json")],
|
|
136
170
|
globalPaths: [path.join(HOME, ".pi", "agent", "settings.json")],
|
|
137
171
|
configKey: ["mcp", "servers"],
|
|
138
|
-
buildEntry: ({ serverUrl, apiKey }) =>
|
|
139
|
-
url: serverUrl
|
|
140
|
-
|
|
141
|
-
Authorization: `Bearer ${apiKey}
|
|
142
|
-
}
|
|
143
|
-
|
|
172
|
+
buildEntry: ({ serverUrl, apiKey }) => {
|
|
173
|
+
const entry = { url: serverUrl };
|
|
174
|
+
if (apiKey) {
|
|
175
|
+
entry.headers = { Authorization: `Bearer ${apiKey}` };
|
|
176
|
+
}
|
|
177
|
+
return entry;
|
|
178
|
+
},
|
|
144
179
|
},
|
|
145
180
|
detect: {
|
|
146
181
|
projectPaths: [".pi", path.join(".pi", "settings.json")],
|
|
@@ -155,18 +190,31 @@ const hosts = {
|
|
|
155
190
|
projectPaths: [path.join(".hermes", "config.yaml")],
|
|
156
191
|
globalPaths: [path.join(HOME, ".hermes", "config.yaml")],
|
|
157
192
|
configKey: "mcp_servers",
|
|
158
|
-
buildEntry: ({ serverUrl, apiKey }) =>
|
|
159
|
-
url: serverUrl
|
|
160
|
-
|
|
161
|
-
Authorization: `Bearer ${apiKey}
|
|
162
|
-
}
|
|
163
|
-
|
|
193
|
+
buildEntry: ({ serverUrl, apiKey }) => {
|
|
194
|
+
const entry = { url: serverUrl };
|
|
195
|
+
if (apiKey) {
|
|
196
|
+
entry.headers = { Authorization: `Bearer ${apiKey}` };
|
|
197
|
+
}
|
|
198
|
+
return entry;
|
|
199
|
+
},
|
|
164
200
|
},
|
|
165
201
|
detect: {
|
|
166
202
|
projectPaths: [".hermes", path.join(".hermes", "config.yaml")],
|
|
167
203
|
globalPaths: [path.join(HOME, ".hermes"), path.join(HOME, ".hermes", "config.yaml")],
|
|
168
204
|
},
|
|
169
205
|
},
|
|
206
|
+
universal: {
|
|
207
|
+
name: "universal",
|
|
208
|
+
displayName: "Universal (.agents/skills)",
|
|
209
|
+
mcp: null,
|
|
210
|
+
detect: { projectPaths: [], globalPaths: [] },
|
|
211
|
+
},
|
|
212
|
+
antigravity: {
|
|
213
|
+
name: "antigravity",
|
|
214
|
+
displayName: "Antigravity (.agent/skills)",
|
|
215
|
+
mcp: null,
|
|
216
|
+
detect: { projectPaths: [], globalPaths: [] },
|
|
217
|
+
},
|
|
170
218
|
openclaw: {
|
|
171
219
|
name: "openclaw",
|
|
172
220
|
displayName: "OpenClaw",
|
|
@@ -175,12 +223,13 @@ const hosts = {
|
|
|
175
223
|
projectPaths: [path.join(".openclaw", "openclaw.json")],
|
|
176
224
|
globalPaths: [path.join(HOME, ".openclaw", "openclaw.json")],
|
|
177
225
|
configKey: ["mcp", "servers"],
|
|
178
|
-
buildEntry: ({ serverUrl, apiKey }) =>
|
|
179
|
-
url: serverUrl
|
|
180
|
-
|
|
181
|
-
Authorization: `Bearer ${apiKey}
|
|
182
|
-
}
|
|
183
|
-
|
|
226
|
+
buildEntry: ({ serverUrl, apiKey }) => {
|
|
227
|
+
const entry = { url: serverUrl };
|
|
228
|
+
if (apiKey) {
|
|
229
|
+
entry.headers = { Authorization: `Bearer ${apiKey}` };
|
|
230
|
+
}
|
|
231
|
+
return entry;
|
|
232
|
+
},
|
|
184
233
|
},
|
|
185
234
|
detect: {
|
|
186
235
|
projectPaths: [".openclaw", path.join(".openclaw", "openclaw.json")],
|
|
@@ -200,6 +249,23 @@ export function getHost(name) {
|
|
|
200
249
|
return host;
|
|
201
250
|
}
|
|
202
251
|
|
|
252
|
+
/**
|
|
253
|
+
* Names of hosts whose only role is installing skill directories — they have
|
|
254
|
+
* no MCP configuration surface and therefore no "mode" to conflict with.
|
|
255
|
+
*
|
|
256
|
+
* Code that reasons about cross-mode conflicts, ownership of shared skill
|
|
257
|
+
* paths, or skill-only retain/rollback rules must iterate THIS list rather
|
|
258
|
+
* than the wider set of hosts that happen to use the direct-copy skill
|
|
259
|
+
* install path. Specifically, Gemini CLI is MCP-capable (full `mcp` block,
|
|
260
|
+
* `httpUrl`-keyed config under `.gemini/settings.json`) but also uses the
|
|
261
|
+
* direct-copy skill path; treating it as skill-only would silently let a
|
|
262
|
+
* CLI-to-MCP transition proceed without the canonical `--force`
|
|
263
|
+
* reconciliation and leave both wirings active.
|
|
264
|
+
*/
|
|
265
|
+
export const SKILL_ONLY_HOST_NAMES = Object.freeze(
|
|
266
|
+
ALL_HOST_NAMES.filter((name) => isSkillOnlyHost(hosts[name])),
|
|
267
|
+
);
|
|
268
|
+
|
|
203
269
|
async function pathExists(filePath) {
|
|
204
270
|
try {
|
|
205
271
|
await access(filePath);
|