@paradigma-inc/flywheel 0.1.115 → 0.1.134
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 +67 -10
- package/package.json +14 -6
- package/skills/flywheel/SKILL.md +9 -6
- package/skills/flywheel/example-workflows/organizing-exploring-and-iterating-on-a-research-topic.md +38 -46
- package/skills/flywheel/example-workflows/reproducing-papers-on-a-budget.md +34 -36
- package/skills/flywheel/getting-started/flywheel-quickstart.md +2 -5
- package/skills/flywheel/references/INTERFACES.md +2 -2
- package/skills/flywheel/references/experiment-design-protocol.md +32 -25
- package/skills/flywheel/references/flywheel-cli-tool-map.md +120 -76
- package/skills/flywheel/references/flywheel-mcp-tool-map.md +42 -32
- 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/installation-overview.md +2 -6
- package/skills/flywheel/setting-up-flywheel/other-hosts-installation.md +45 -25
- package/skills/flywheel/setting-up-flywheel/updating-flywheel-mcp.md +34 -11
- package/skills/flywheel-auto/SKILL.md +40 -23
- package/skills/flywheel-auto/evals/evals.json +1 -1
- package/skills/flywheel-auto/references/INTERFACES.md +2 -2
- package/skills/flywheel-auto/references/experiment-design-protocol.md +31 -23
- package/skills/flywheel-auto/references/flywheel-cli-tool-map.md +172 -127
- package/skills/flywheel-auto/references/flywheel-mcp-tool-map.md +22 -24
- package/skills/flywheel-lookahead/SKILL.md +47 -28
- package/skills/flywheel-lookahead/agents/openai.yaml +1 -1
- package/skills/flywheel-lookahead/evals/evals.json +6 -6
- package/skills/flywheel-lookahead/references/INTERFACES.md +2 -2
- package/skills/flywheel-lookahead/references/flywheel-cli-tool-map.md +172 -127
- package/skills/flywheel-lookahead/references/flywheel-mcp-tool-map.md +22 -24
- package/skills/flywheel-prove/SKILL.md +2 -2
- package/skills/flywheel-prove/references/workflow.md +21 -2
- package/skills/flywheel-reproduce/SKILL.md +39 -19
- package/skills/flywheel-reproduce/evals/evals.json +1 -1
- package/skills/flywheel-reproduce/references/INTERFACES.md +2 -2
- package/skills/flywheel-reproduce/references/experiment-design-protocol.md +31 -23
- package/skills/flywheel-reproduce/references/flywheel-cli-tool-map.md +172 -127
- package/skills/flywheel-reproduce/references/flywheel-mcp-tool-map.md +22 -24
- package/skills/flywheel-to-graph/SKILL.md +37 -17
- package/skills/flywheel-to-graph/references/INTERFACES.md +2 -2
- package/skills/flywheel-to-graph/references/flywheel-cli-tool-map.md +172 -127
- package/skills/flywheel-to-graph/references/flywheel-mcp-tool-map.md +22 -24
- package/skills/flywheel-tree/references/workflow.md +6 -37
- package/src/cli.mjs +1145 -1141
- package/src/mcp-writer.mjs +413 -435
- package/src/public-command-metadata.mjs +28 -5
- package/src/runtime/delegate.mjs +2 -19
- package/src/runtime/required-runtime-commands.json +80 -28
- package/src/runtime/runtime-config.mjs +39 -60
- package/src/runtime/vendor/flywheel-cli-dist/auth/credentials.js +330 -0
- package/src/runtime/vendor/flywheel-cli-dist/auth/credentials.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/auth/login.js +90 -139
- package/src/runtime/vendor/flywheel-cli-dist/auth/login.js.map +1 -1
- 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/auth/secure-write.js +116 -0
- package/src/runtime/vendor/flywheel-cli-dist/auth/secure-write.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/admin-test-users-create.js +248 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/admin-test-users-create.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/admin-test-users-login.js +65 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/admin-test-users-login.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/admin-test-users-revoke-api-key.js +17 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/admin-test-users-revoke-api-key.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/aliases.js +3 -7
- package/src/runtime/vendor/flywheel-cli-dist/commands/aliases.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/auth-credentials-clear.js +12 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/auth-credentials-clear.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/auth-credentials-set.js +29 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/auth-credentials-set.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/auth-login.js +12 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/auth-login.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/auth-status.js +46 -10
- package/src/runtime/vendor/flywheel-cli-dist/commands/auth-status.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/env.js +17 -40
- package/src/runtime/vendor/flywheel-cli-dist/commands/env.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/graph-operation-resources.js +305 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/graph-operation-resources.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/graph-operation-support.js +72 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/graph-operation-support.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/graph-operation.js +286 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/graph-operation.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/help-metadata.js +30 -5
- package/src/runtime/vendor/flywheel-cli-dist/commands/help-metadata.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/help.js +27 -12
- package/src/runtime/vendor/flywheel-cli-dist/commands/help.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/hosted-commit-replay.js +284 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/hosted-commit-replay.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/hosted-graph.js +169 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/hosted-graph.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/hosted-lineage-list.js +13 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/hosted-lineage-list.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/hosted-repository-snapshot.js +227 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/hosted-repository-snapshot.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/index.js +21 -51
- package/src/runtime/vendor/flywheel-cli-dist/commands/index.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/node-create-schema.js +25 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/node-create-schema.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/profile-list.js +11 -9
- 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 +38 -45
- 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 +14 -17
- package/src/runtime/vendor/flywheel-cli-dist/commands/profile-show.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/profile-unset.js +13 -8
- package/src/runtime/vendor/flywheel-cli-dist/commands/profile-unset.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/admin.js +34 -3
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/admin.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/auth.js +9 -9
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/auth.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/hosted.js +76 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/hosted.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/lifecycle.js +4 -138
- 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 +8 -13
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/profile.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/repository.js +362 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/repository.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry.js +45 -183
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/repository-edit.js +47 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/repository-edit.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/repository-operation.js +181 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/repository-operation.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/repository-output.js +163 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/repository-output.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/repository-projection.js +79 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/repository-projection.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/repository-selection.js +80 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/repository-selection.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/retired-command-names.js +78 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/retired-command-names.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/types.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/usage-spec.js +3 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/usage-spec.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/config/index.js +5 -0
- package/src/runtime/vendor/flywheel-cli-dist/config/index.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/config/io.js +139 -0
- package/src/runtime/vendor/flywheel-cli-dist/config/io.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/config/migration.js +299 -0
- package/src/runtime/vendor/flywheel-cli-dist/config/migration.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/config/model.js +214 -0
- package/src/runtime/vendor/flywheel-cli-dist/config/model.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/config/path.js +30 -0
- package/src/runtime/vendor/flywheel-cli-dist/config/path.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/credential-output.js +29 -0
- package/src/runtime/vendor/flywheel-cli-dist/credential-output.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/errors.js +1 -16
- package/src/runtime/vendor/flywheel-cli-dist/errors.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/generatedProductTelemetryContract.js +3 -3
- package/src/runtime/vendor/flywheel-cli-dist/generatedProductTelemetryContract.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/grammar/globals.js +19 -9
- package/src/runtime/vendor/flywheel-cli-dist/grammar/globals.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/grammar/parse.js +33 -4
- package/src/runtime/vendor/flywheel-cli-dist/grammar/parse.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/http/client.js +322 -304
- package/src/runtime/vendor/flywheel-cli-dist/http/client.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/http/debug.js +1 -21
- package/src/runtime/vendor/flywheel-cli-dist/http/debug.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/http/retry.js +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/http/retry.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/local/adapter.js +244 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/adapter.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/domain/errors.js +7 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/domain/errors.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/domain/history.js +35 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/domain/history.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/domain/invariants.js +42 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/domain/invariants.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/domain/models/artifact-properties.js +179 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/domain/models/artifact-properties.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/domain/models/commits.js +152 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/domain/models/commits.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/domain/models/constants.js +71 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/domain/models/constants.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/domain/models/encoding.js +73 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/domain/models/encoding.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/domain/models/imported-artifact-properties.js +82 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/domain/models/imported-artifact-properties.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/domain/models/operations.js +345 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/domain/models/operations.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/domain/models/tags.js +57 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/domain/models/tags.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/domain/rebase/conflicts.js +149 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/domain/rebase/conflicts.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/domain/rebase/context.js +115 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/domain/rebase/context.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/domain/rebase/keys.js +44 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/domain/rebase/keys.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/domain/rebase/pull.js +159 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/domain/rebase/pull.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/domain/rebase/replay.js +346 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/domain/rebase/replay.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/domain/rebase/resolve.js +37 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/domain/rebase/resolve.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/domain/revert/inverses.js +203 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/domain/revert/inverses.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/domain/revert/plan.js +207 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/domain/revert/plan.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/domain/revert/tag-inverses.js +109 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/domain/revert/tag-inverses.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/domain/service/commit.js +61 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/domain/service/commit.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/domain/service/projection.js +46 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/domain/service/projection.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/domain/service/revert.js +203 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/domain/service/revert.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/domain/service/staging.js +44 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/domain/service/staging.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/domain/service/writes.js +188 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/domain/service/writes.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/domain/sync/cursors.js +54 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/domain/sync/cursors.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/domain/sync/local-pull.js +25 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/domain/sync/local-pull.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/domain/sync-models.js +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/domain/sync-models.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/fs/native.js +7 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/fs/native.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/fs/state.js +129 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/fs/state.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/fs/writer-lock.js +277 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/fs/writer-lock.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/runtime/bootstrap.js +183 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/runtime/bootstrap.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/runtime/context.js +2 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/runtime/context.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/runtime/dispatch.js +121 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/runtime/dispatch.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/runtime/doctor.js +16 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/runtime/doctor.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/runtime/identity.js +72 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/runtime/identity.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/runtime/operations/conflicts.js +59 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/runtime/operations/conflicts.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/runtime/operations/core.js +125 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/runtime/operations/core.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/runtime/operations/history.js +129 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/runtime/operations/history.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/runtime/operations/index.js +31 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/runtime/operations/index.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/runtime/operations/maintenance.js +49 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/runtime/operations/maintenance.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/runtime/operations/projections.js +30 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/runtime/operations/projections.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/runtime/operations/shared.js +12 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/runtime/operations/shared.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/runtime/platform.js +18 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/runtime/platform.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/runtime/projection.js +125 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/runtime/projection.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/runtime/remote/clone.js +37 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/runtime/remote/clone.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/runtime/remote/pull.js +44 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/runtime/remote/pull.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/runtime/remote/purge.js +58 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/runtime/remote/purge.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/runtime/remote/push.js +118 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/runtime/remote/push.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/runtime/remote/transport.js +277 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/runtime/remote/transport.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/apply.js +132 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/apply.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/backup/archive.js +372 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/backup/archive.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/backup/backup.js +210 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/backup/backup.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/backup/restore.js +278 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/backup/restore.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/backup/retained-directory.js +192 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/backup/retained-directory.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/commits.js +114 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/commits.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/contract.js +65 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/contract.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/diagnostics-worker.js +145 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/diagnostics-worker.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/diagnostics.js +218 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/diagnostics.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/gc.js +71 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/gc.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/history-validation.js +298 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/history-validation.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/latest-values.js +121 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/latest-values.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/migrate.js +69 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/migrate.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/migration/provenance.js +49 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/migration/provenance.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/migration/steps.js +424 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/migration/steps.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/migration/versions.js +10 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/migration/versions.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/migrations/001_initial.sql +319 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/migrations/002_staged_latest_values.sql +8 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/migrations/003_remove_cli_editing_lease.sql +21 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/migrations/004_hosted_association.sql +7 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/migrations/005_artifact_properties.sql +68 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/migrations.js +12 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/migrations.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/objects.js +410 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/objects.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/projection/apply.js +77 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/projection/apply.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/projection/artifacts.js +240 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/projection/artifacts.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/projection/nodes.js +127 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/projection/nodes.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/projection/relations.js +107 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/projection/relations.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/projection/rules.js +80 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/projection/rules.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/projection/tags.js +219 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/projection/tags.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/snapshot/hosted.js +164 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/snapshot/hosted.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/snapshot/read.js +20 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/snapshot/read.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/snapshot/replace.js +41 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/snapshot/replace.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/snapshot/schema.js +22 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/snapshot/schema.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/snapshot/validate.js +188 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/snapshot/validate.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/snapshot.js +5 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/snapshot.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/sqlite/connection.js +214 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/sqlite/connection.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/sqlite/errors.js +4 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/sqlite/errors.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/sqlite/rows.js +44 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/sqlite/rows.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/sqlite/schema.js +38 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/sqlite/schema.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/sqlite/store.js +284 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/sqlite/store.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/sqlite/verify.js +133 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/sqlite/verify.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/sync-commits.js +98 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/sync-commits.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/sync.js +161 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/sync.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/workspace-state.js +97 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/workspace-state.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/workspace.js +69 -0
- package/src/runtime/vendor/flywheel-cli-dist/local/store/workspace.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/main.js +651 -376
- package/src/runtime/vendor/flywheel-cli-dist/main.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/output/format.js +18 -11
- package/src/runtime/vendor/flywheel-cli-dist/output/format.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/prebuilds/darwin-arm64/node.napi.node +0 -0
- package/src/runtime/vendor/flywheel-cli-dist/prebuilds/darwin-x64/node.napi.node +0 -0
- package/src/runtime/vendor/flywheel-cli-dist/prebuilds/linux-arm64/node.napi.glibc.node +0 -0
- package/src/runtime/vendor/flywheel-cli-dist/prebuilds/linux-arm64/node.napi.musl.node +0 -0
- package/src/runtime/vendor/flywheel-cli-dist/prebuilds/linux-x64/node.napi.glibc.node +0 -0
- package/src/runtime/vendor/flywheel-cli-dist/prebuilds/linux-x64/node.napi.musl.node +0 -0
- package/src/runtime/vendor/manifest.json +246 -257
- package/src/setup/command.mjs +5 -0
- package/src/setup/io/patchers/json.mjs +1 -1
- package/src/setup/io/patchers/toml.mjs +3 -1
- package/src/setup/io/patchers/yaml.mjs +1 -1
- package/src/setup/modes/cli.mjs +76 -7
- package/src/setup/modes/mcp-command.mjs +802 -793
- package/src/setup/modes/mcp.mjs +7 -3
- package/src/setup/shared/prior-mode-detect.mjs +18 -21
- package/src/setup/test-seams.mjs +25 -0
- package/src/setup-auth.mjs +76 -10
- package/src/toml-lines.mjs +52 -0
- package/src/unified-cli.mjs +31 -16
- package/skills/flywheel-llm-proof-paper/scripts/__pycache__/check_paper.cpython-312.pyc +0 -0
- package/src/runtime/vendor/flywheel-cli-dist/auth/active-key-id.d.ts +0 -1
- package/src/runtime/vendor/flywheel-cli-dist/auth/baseurl.d.ts +0 -35
- package/src/runtime/vendor/flywheel-cli-dist/auth/config.d.ts +0 -34
- package/src/runtime/vendor/flywheel-cli-dist/auth/config.js +0 -92
- package/src/runtime/vendor/flywheel-cli-dist/auth/config.js.map +0 -1
- package/src/runtime/vendor/flywheel-cli-dist/auth/fingerprint.d.ts +0 -5
- package/src/runtime/vendor/flywheel-cli-dist/auth/keychain.d.ts +0 -4
- package/src/runtime/vendor/flywheel-cli-dist/auth/keychain.js +0 -31
- package/src/runtime/vendor/flywheel-cli-dist/auth/keychain.js.map +0 -1
- package/src/runtime/vendor/flywheel-cli-dist/auth/login.d.ts +0 -24
- package/src/runtime/vendor/flywheel-cli-dist/auth/profile.d.ts +0 -15
- package/src/runtime/vendor/flywheel-cli-dist/auth/profile.js +0 -150
- package/src/runtime/vendor/flywheel-cli-dist/auth/profile.js.map +0 -1
- package/src/runtime/vendor/flywheel-cli-dist/auth/profiles.d.ts +0 -27
- package/src/runtime/vendor/flywheel-cli-dist/commands/_admin-auth.d.ts +0 -27
- package/src/runtime/vendor/flywheel-cli-dist/commands/_artifacts-upload-helpers.d.ts +0 -32
- package/src/runtime/vendor/flywheel-cli-dist/commands/_artifacts-upload-helpers.js +0 -213
- package/src/runtime/vendor/flywheel-cli-dist/commands/_artifacts-upload-helpers.js.map +0 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/_browser-handoff.d.ts +0 -35
- package/src/runtime/vendor/flywheel-cli-dist/commands/_open-url.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/_secret-param.d.ts +0 -7
- package/src/runtime/vendor/flywheel-cli-dist/commands/_stream-file-out.d.ts +0 -39
- package/src/runtime/vendor/flywheel-cli-dist/commands/_stream-writer.d.ts +0 -34
- package/src/runtime/vendor/flywheel-cli-dist/commands/_wait-polling.d.ts +0 -50
- package/src/runtime/vendor/flywheel-cli-dist/commands/account-detach.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/account-emails-add.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/account-emails-remove.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/account-emails-set-primary.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/account-get.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/account-merge-preview.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/account-merge-proof.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/account-merge.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/admin-compute-policy-get.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/admin-compute-policy-set.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/admin-graphs-export-stream.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/admin-graphs-export.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/admin-graphs-list.d.ts +0 -4
- package/src/runtime/vendor/flywheel-cli-dist/commands/admin-nodes-audit-list.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/admin-test-users-create.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/admin-test-users-delete.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/admin-test-users-login.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/aliases.d.ts +0 -13
- package/src/runtime/vendor/flywheel-cli-dist/commands/api-keys-create.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/api-keys-delete.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/api-keys-list.d.ts +0 -18
- package/src/runtime/vendor/flywheel-cli-dist/commands/api-keys-rotate.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/approval-sessions-expire.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/approval-sessions-heartbeat.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/approval-sessions-list.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/artifacts-delete-bulk.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/artifacts-delete-bulk.js +0 -22
- package/src/runtime/vendor/flywheel-cli-dist/commands/artifacts-delete-bulk.js.map +0 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/artifacts-delete.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/artifacts-delete.js +0 -8
- package/src/runtime/vendor/flywheel-cli-dist/commands/artifacts-delete.js.map +0 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/artifacts-get.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/artifacts-list.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/artifacts-note-set.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/artifacts-note-set.js +0 -9
- package/src/runtime/vendor/flywheel-cli-dist/commands/artifacts-note-set.js.map +0 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/artifacts-upload-finalize.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/artifacts-upload-finalize.js +0 -7
- package/src/runtime/vendor/flywheel-cli-dist/commands/artifacts-upload-finalize.js.map +0 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/artifacts-upload-prepare.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/artifacts-upload-prepare.js +0 -15
- package/src/runtime/vendor/flywheel-cli-dist/commands/artifacts-upload-prepare.js.map +0 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/artifacts-upload.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/artifacts-upload.js +0 -5
- package/src/runtime/vendor/flywheel-cli-dist/commands/artifacts-upload.js.map +0 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/auth-keychain-clear.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/auth-keychain-clear.js +0 -8
- package/src/runtime/vendor/flywheel-cli-dist/commands/auth-keychain-clear.js.map +0 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/auth-keychain-set.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/auth-keychain-set.js +0 -30
- package/src/runtime/vendor/flywheel-cli-dist/commands/auth-keychain-set.js.map +0 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/auth-login.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/auth-mode.d.ts +0 -4
- package/src/runtime/vendor/flywheel-cli-dist/commands/auth-status.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/blobs-get.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/campaign-budgets-create.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/campaign-budgets-list.d.ts +0 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/campaign-budgets-revoke.d.ts +0 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/campaign-budgets-update.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/campaign-snapshot.d.ts +0 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/compute-acquire.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/compute-budgets.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/compute-connection.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/compute-funding.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/compute-grants-list.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/compute-grants-request-approval.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/compute-options.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/compute-release-all.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/compute-release.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/compute-status.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/credits-balance.d.ts +0 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/credits-billing-portal.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/credits-purchase.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/credits-referral-claim.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/credits-referral.d.ts +0 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/credits-subscribe.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/credits-subscription.d.ts +0 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/credits-transactions.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/credits-usage.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/destructive-confirmation.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/enums.d.ts +0 -22
- package/src/runtime/vendor/flywheel-cli-dist/commands/env.d.ts +0 -8
- package/src/runtime/vendor/flywheel-cli-dist/commands/executions-launch.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/executions-list.d.ts +0 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/executions-terminate.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/export-history.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/export-subgraph.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/export-summary-pdf.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/export-summary-render-pdf.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/export-summary-stream.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/export-summary.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/feedback-create.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/files-list.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/github-disconnect.d.ts +0 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/github-link.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/github-refresh-repos.d.ts +0 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/github-status.d.ts +0 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/graph-get.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/handler-factory.d.ts +0 -22
- package/src/runtime/vendor/flywheel-cli-dist/commands/help-format.d.ts +0 -31
- package/src/runtime/vendor/flywheel-cli-dist/commands/help-metadata.d.ts +0 -36
- package/src/runtime/vendor/flywheel-cli-dist/commands/help.d.ts +0 -17
- package/src/runtime/vendor/flywheel-cli-dist/commands/hooks-create.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/hooks-delete.d.ts +0 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/hooks-list.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/hooks-runs-list.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/hooks-secrets-create.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/hooks-secrets-delete.d.ts +0 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/hooks-secrets-list.d.ts +0 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/hooks-secrets-update.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/hooks-set-enabled.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/hooks-update.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/import-subgraph.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/index.d.ts +0 -23
- package/src/runtime/vendor/flywheel-cli-dist/commands/integrations-huggingface-remove.d.ts +0 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/integrations-huggingface-set.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/integrations-status.d.ts +0 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/integrations-wandb-remove.d.ts +0 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/integrations-wandb-set.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/machines-list.d.ts +0 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-add-parent.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-add-parent.js +0 -15
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-add-parent.js.map +0 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-branch.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-branch.js +0 -10
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-branch.js.map +0 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-children.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-children.js +0 -8
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-children.js.map +0 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-commit-new.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-commit-new.js +0 -6
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-commit-new.js.map +0 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-commit.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-commit.js +0 -7
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-commit.js.map +0 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-create.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-create.js +0 -6
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-create.js.map +0 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-delete-bulk.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-delete-bulk.js +0 -16
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-delete-bulk.js.map +0 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-delete.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-delete.js +0 -11
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-delete.js.map +0 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-files.d.ts +0 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-get.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-list.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-merge.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-merge.js +0 -33
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-merge.js.map +0 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-parents.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-parents.js +0 -8
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-parents.js.map +0 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-remove-parent.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-remove-parent.js +0 -15
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-remove-parent.js.map +0 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-render-ancestry.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-render-summary.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-render-tree.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-resolve-slug.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-sharing-get.d.ts +0 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-sharing-set-bulk.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-sharing-set.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-sharing-summaries.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-stage-lease-acquire.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-stage-lease-heartbeat.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-stage-lease-release.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/profile-list.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/profile-set.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/profile-show.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/profile-unset.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/account.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/admin.d.ts +0 -8
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/api-keys.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/approval.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/artifacts.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/artifacts.js +0 -140
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/artifacts.js.map +0 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/auth.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/budgets.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/compute.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/credits.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/env.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/executions.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/export.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/github.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/graph.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/hooks.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/integrations.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/lifecycle.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/profile.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/resources.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/sharing.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/tagging.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/tagging.js +0 -98
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/tagging.js.map +0 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry/updates.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/registry.d.ts +0 -27
- package/src/runtime/vendor/flywheel-cli-dist/commands/remote-artifacts-refresh.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/remote-artifacts-resolve.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/tags-assign.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/tags-assign.js +0 -25
- package/src/runtime/vendor/flywheel-cli-dist/commands/tags-assign.js.map +0 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/tags-create.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/tags-create.js +0 -25
- package/src/runtime/vendor/flywheel-cli-dist/commands/tags-create.js.map +0 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/tags-delete.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/tags-delete.js +0 -11
- package/src/runtime/vendor/flywheel-cli-dist/commands/tags-delete.js.map +0 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/tags-update.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/tags-update.js +0 -28
- package/src/runtime/vendor/flywheel-cli-dist/commands/tags-update.js.map +0 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/types.d.ts +0 -30
- package/src/runtime/vendor/flywheel-cli-dist/commands/updates-hide-all-active.d.ts +0 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/updates-hide.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/updates-list.d.ts +0 -2
- package/src/runtime/vendor/flywheel-cli-dist/commands/usage-spec.d.ts +0 -6
- package/src/runtime/vendor/flywheel-cli-dist/commands/utils.d.ts +0 -11
- package/src/runtime/vendor/flywheel-cli-dist/errors.d.ts +0 -86
- package/src/runtime/vendor/flywheel-cli-dist/exit-codes.d.ts +0 -8
- package/src/runtime/vendor/flywheel-cli-dist/generatedFeedbackContract.d.ts +0 -41
- package/src/runtime/vendor/flywheel-cli-dist/generatedProductTelemetryContract.d.ts +0 -13
- package/src/runtime/vendor/flywheel-cli-dist/grammar/globals.d.ts +0 -26
- package/src/runtime/vendor/flywheel-cli-dist/grammar/parse.d.ts +0 -17
- package/src/runtime/vendor/flywheel-cli-dist/http/client.d.ts +0 -91
- package/src/runtime/vendor/flywheel-cli-dist/http/debug.d.ts +0 -5
- package/src/runtime/vendor/flywheel-cli-dist/http/poll.d.ts +0 -18
- package/src/runtime/vendor/flywheel-cli-dist/http/retry.d.ts +0 -30
- package/src/runtime/vendor/flywheel-cli-dist/main.d.ts +0 -33
- package/src/runtime/vendor/flywheel-cli-dist/output/format.d.ts +0 -9
- package/src/runtime/vendor/flywheel-cli-dist/runtime-entry.d.ts +0 -1
- package/src/runtime/vendor/flywheel-cli-dist/version.d.ts +0 -3
- package/src/secure-write.mjs +0 -43
|
@@ -1,37 +1,3 @@
|
|
|
1
|
-
const COMMIT_NEW_SCHEMA = `{
|
|
2
|
-
"local_temp_node_id": "string",
|
|
3
|
-
"parent_ids": ["string"],
|
|
4
|
-
"staged_payload": {
|
|
5
|
-
"title": "string",
|
|
6
|
-
"content": "string",
|
|
7
|
-
"summary": "string",
|
|
8
|
-
"repo_context": {
|
|
9
|
-
"repo_url": null,
|
|
10
|
-
"branch_name": null,
|
|
11
|
-
"head_commit_sha": null,
|
|
12
|
-
"origin_host": null,
|
|
13
|
-
"updated_by": null,
|
|
14
|
-
"external_transcript_ref": null
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}`;
|
|
18
|
-
const COMMIT_SCHEMA = `{
|
|
19
|
-
"stage_session_id": "string",
|
|
20
|
-
"base_committed_revision": 0,
|
|
21
|
-
"staged_payload": {
|
|
22
|
-
"title": "string",
|
|
23
|
-
"content": "string",
|
|
24
|
-
"summary": "string",
|
|
25
|
-
"repo_context": {
|
|
26
|
-
"repo_url": null,
|
|
27
|
-
"branch_name": null,
|
|
28
|
-
"head_commit_sha": null,
|
|
29
|
-
"origin_host": null,
|
|
30
|
-
"updated_by": null,
|
|
31
|
-
"external_transcript_ref": null
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}`;
|
|
35
1
|
const CORE_MVP_COMMANDS = [
|
|
36
2
|
{
|
|
37
3
|
name: 'auth:status',
|
|
@@ -87,8 +53,8 @@ const CORE_MVP_COMMANDS = [
|
|
|
87
53
|
related: ['auth:status', 'env:switch'],
|
|
88
54
|
},
|
|
89
55
|
{
|
|
90
|
-
name: '
|
|
91
|
-
group: '
|
|
56
|
+
name: 'hosted:node:list',
|
|
57
|
+
group: 'hosted-graph',
|
|
92
58
|
summary: 'List nodes with optional filters.',
|
|
93
59
|
endpoints: ['GET /nodes'],
|
|
94
60
|
required: [],
|
|
@@ -114,23 +80,26 @@ const CORE_MVP_COMMANDS = [
|
|
|
114
80
|
examples: [
|
|
115
81
|
{
|
|
116
82
|
description: 'List the first page of active nodes.',
|
|
117
|
-
invocation: 'flywheel
|
|
83
|
+
invocation: 'flywheel hosted:node:list --page 1 --page_size 20',
|
|
118
84
|
},
|
|
119
85
|
{
|
|
120
86
|
description: 'Include archived nodes in the output.',
|
|
121
|
-
invocation: 'flywheel
|
|
87
|
+
invocation: 'flywheel hosted:node:list --include_archived',
|
|
122
88
|
},
|
|
123
89
|
],
|
|
124
|
-
related: ['
|
|
90
|
+
related: ['hosted:node:get', 'nodes:render:tree'],
|
|
125
91
|
},
|
|
126
92
|
{
|
|
127
|
-
name: '
|
|
128
|
-
group: '
|
|
93
|
+
name: 'hosted:node:get',
|
|
94
|
+
group: 'hosted-graph',
|
|
129
95
|
summary: 'Fetch one node by identifier. Use relationship paging commands for complete direct-neighbor traversal.',
|
|
130
96
|
endpoints: ['GET /nodes/{node_id}'],
|
|
131
97
|
required: [
|
|
132
98
|
{ name: 'node_id', type: 'string', description: 'Target node identifier.' },
|
|
133
99
|
],
|
|
100
|
+
positionals: [
|
|
101
|
+
{ name: 'node_id', type: 'string', description: 'Target node identifier.' },
|
|
102
|
+
],
|
|
134
103
|
optional: [
|
|
135
104
|
{
|
|
136
105
|
name: 'projection',
|
|
@@ -141,60 +110,33 @@ const CORE_MVP_COMMANDS = [
|
|
|
141
110
|
examples: [
|
|
142
111
|
{
|
|
143
112
|
description: 'Fetch a node with the core projection.',
|
|
144
|
-
invocation: 'flywheel
|
|
113
|
+
invocation: 'flywheel hosted:node:get n_abc --projection core',
|
|
145
114
|
},
|
|
146
115
|
{
|
|
147
116
|
description: 'Fetch the topology projection as TSV for scripting.',
|
|
148
|
-
invocation: 'flywheel
|
|
117
|
+
invocation: 'flywheel hosted:node:get n_abc --projection topology --format=tsv',
|
|
149
118
|
},
|
|
150
119
|
],
|
|
151
|
-
related: ['
|
|
120
|
+
related: ['hosted:node:list', 'hosted:lineage:list', 'nodes:render:tree'],
|
|
152
121
|
},
|
|
153
122
|
{
|
|
154
|
-
name: '
|
|
155
|
-
group: '
|
|
156
|
-
summary: 'Page direct visible children for one node.',
|
|
157
|
-
endpoints: [
|
|
123
|
+
name: 'hosted:lineage:list',
|
|
124
|
+
group: 'hosted-graph',
|
|
125
|
+
summary: 'Page direct visible parents or children for one node.',
|
|
126
|
+
endpoints: [
|
|
127
|
+
'GET /nodes/{node_id}/children',
|
|
128
|
+
'GET /nodes/{node_id}/parents',
|
|
129
|
+
],
|
|
158
130
|
required: [
|
|
159
131
|
{ name: 'node_id', type: 'string', description: 'Target node identifier.' },
|
|
160
|
-
],
|
|
161
|
-
optional: [
|
|
162
132
|
{
|
|
163
|
-
name: '
|
|
164
|
-
type: 'integer',
|
|
165
|
-
description: 'Maximum edges to return (server clamps to 1..500).',
|
|
166
|
-
default: '100',
|
|
167
|
-
},
|
|
168
|
-
{
|
|
169
|
-
name: 'after',
|
|
133
|
+
name: 'direction',
|
|
170
134
|
type: 'string',
|
|
171
|
-
description: '
|
|
172
|
-
|
|
173
|
-
{
|
|
174
|
-
name: 'projection',
|
|
175
|
-
type: 'string',
|
|
176
|
-
description: 'Node payload projection for each edge (topology or core).',
|
|
177
|
-
default: 'topology',
|
|
178
|
-
},
|
|
179
|
-
],
|
|
180
|
-
examples: [
|
|
181
|
-
{
|
|
182
|
-
description: 'Read the first page of children.',
|
|
183
|
-
invocation: 'flywheel nodes:children --node_id n_abc --first 100',
|
|
184
|
-
},
|
|
185
|
-
{
|
|
186
|
-
description: 'Continue from a previous page cursor.',
|
|
187
|
-
invocation: 'flywheel nodes:children --node_id n_abc --after cursor_abc --projection core',
|
|
135
|
+
description: 'Relationship direction.',
|
|
136
|
+
choices: ['parents', 'children'],
|
|
188
137
|
},
|
|
189
138
|
],
|
|
190
|
-
|
|
191
|
-
},
|
|
192
|
-
{
|
|
193
|
-
name: 'nodes:parents',
|
|
194
|
-
group: 'nodes-graph',
|
|
195
|
-
summary: 'Page direct visible parents for one node.',
|
|
196
|
-
endpoints: ['GET /nodes/{node_id}/parents'],
|
|
197
|
-
required: [
|
|
139
|
+
positionals: [
|
|
198
140
|
{ name: 'node_id', type: 'string', description: 'Target node identifier.' },
|
|
199
141
|
],
|
|
200
142
|
optional: [
|
|
@@ -218,41 +160,15 @@ const CORE_MVP_COMMANDS = [
|
|
|
218
160
|
],
|
|
219
161
|
examples: [
|
|
220
162
|
{
|
|
221
|
-
description: 'Read the first page of
|
|
222
|
-
invocation: 'flywheel
|
|
223
|
-
},
|
|
224
|
-
{
|
|
225
|
-
description: 'Continue from a previous page cursor.',
|
|
226
|
-
invocation: 'flywheel nodes:parents --node_id n_abc --after cursor_abc --projection core',
|
|
227
|
-
},
|
|
228
|
-
],
|
|
229
|
-
related: ['nodes:get', 'nodes:children', 'nodes:render:tree'],
|
|
230
|
-
},
|
|
231
|
-
{
|
|
232
|
-
name: 'nodes:commit-new',
|
|
233
|
-
group: 'nodes-graph',
|
|
234
|
-
summary: 'Create and commit a new node in one request.',
|
|
235
|
-
endpoints: ['POST /nodes/commit-new'],
|
|
236
|
-
required: [
|
|
237
|
-
{
|
|
238
|
-
name: 'payload_json',
|
|
239
|
-
type: 'json',
|
|
240
|
-
description: 'Inline JSON or @file path for the full commit-new payload (see --schema for shape).',
|
|
241
|
-
},
|
|
242
|
-
],
|
|
243
|
-
optional: [],
|
|
244
|
-
examples: [
|
|
245
|
-
{
|
|
246
|
-
description: 'Commit a new node from a payload file.',
|
|
247
|
-
invocation: 'flywheel nodes:commit-new --payload_json=@commit-new.json',
|
|
163
|
+
description: 'Read the first page of children.',
|
|
164
|
+
invocation: 'flywheel hosted:lineage:list n_abc --direction children --first 100',
|
|
248
165
|
},
|
|
249
166
|
{
|
|
250
|
-
description: '
|
|
251
|
-
invocation: 'flywheel
|
|
167
|
+
description: 'Continue through parent edges from a previous page cursor.',
|
|
168
|
+
invocation: 'flywheel hosted:lineage:list n_abc --direction parents --after cursor_abc --projection core',
|
|
252
169
|
},
|
|
253
170
|
],
|
|
254
|
-
related: ['
|
|
255
|
-
schema: COMMIT_NEW_SCHEMA,
|
|
171
|
+
related: ['hosted:node:get', 'nodes:render:tree'],
|
|
256
172
|
},
|
|
257
173
|
{
|
|
258
174
|
name: 'nodes:stage:lease:acquire',
|
|
@@ -283,61 +199,7 @@ const CORE_MVP_COMMANDS = [
|
|
|
283
199
|
invocation: 'flywheel nodes:stage:lease:acquire --node_id=n_abc --stage_session_id=session-2 --base_committed_revision=12',
|
|
284
200
|
},
|
|
285
201
|
],
|
|
286
|
-
related: [
|
|
287
|
-
},
|
|
288
|
-
{
|
|
289
|
-
name: 'nodes:commit',
|
|
290
|
-
group: 'nodes-graph',
|
|
291
|
-
summary: 'Commit staged changes to an existing node.',
|
|
292
|
-
endpoints: ['POST /nodes/{node_id}/commit'],
|
|
293
|
-
required: [
|
|
294
|
-
{ name: 'node_id', type: 'string', description: 'Target node identifier.' },
|
|
295
|
-
{
|
|
296
|
-
name: 'payload_json',
|
|
297
|
-
type: 'json',
|
|
298
|
-
description: 'Inline JSON or @file path for the commit payload (see --schema for shape).',
|
|
299
|
-
},
|
|
300
|
-
],
|
|
301
|
-
optional: [],
|
|
302
|
-
examples: [
|
|
303
|
-
{
|
|
304
|
-
description: 'Commit a staged payload from a file.',
|
|
305
|
-
invocation: 'flywheel nodes:commit --node_id n_abc --payload_json=@commit.json',
|
|
306
|
-
},
|
|
307
|
-
{
|
|
308
|
-
description: 'See the minimal JSON payload shape.',
|
|
309
|
-
invocation: 'flywheel help nodes:commit --schema',
|
|
310
|
-
},
|
|
311
|
-
],
|
|
312
|
-
related: ['nodes:stage:lease:acquire', 'nodes:commit-new'],
|
|
313
|
-
schema: COMMIT_SCHEMA,
|
|
314
|
-
},
|
|
315
|
-
{
|
|
316
|
-
name: 'nodes:delete',
|
|
317
|
-
group: 'nodes-graph',
|
|
318
|
-
summary: 'Delete a node by identifier. Requires --yes.',
|
|
319
|
-
endpoints: ['DELETE /nodes/{node_id}'],
|
|
320
|
-
required: [
|
|
321
|
-
{ name: 'node_id', type: 'string', description: 'Target node identifier.' },
|
|
322
|
-
],
|
|
323
|
-
optional: [
|
|
324
|
-
{
|
|
325
|
-
name: 'delete_mode',
|
|
326
|
-
type: 'string',
|
|
327
|
-
description: 'cascade | detach_shared (default detach_shared).',
|
|
328
|
-
},
|
|
329
|
-
],
|
|
330
|
-
examples: [
|
|
331
|
-
{
|
|
332
|
-
description: 'Delete a node.',
|
|
333
|
-
invocation: 'flywheel nodes:delete --node_id n_abc --yes',
|
|
334
|
-
},
|
|
335
|
-
{
|
|
336
|
-
description: 'Delete a node using the --key=value form with JSON output.',
|
|
337
|
-
invocation: 'flywheel nodes:delete --node_id=n_abc --delete_mode=cascade --format=json --yes',
|
|
338
|
-
},
|
|
339
|
-
],
|
|
340
|
-
related: ['nodes:get'],
|
|
202
|
+
related: [],
|
|
341
203
|
},
|
|
342
204
|
{
|
|
343
205
|
name: 'nodes:render:tree',
|
|
@@ -369,11 +231,11 @@ const CORE_MVP_COMMANDS = [
|
|
|
369
231
|
invocation: 'flywheel nodes:render:tree --node_id n_abc --projection core --max_depth 2',
|
|
370
232
|
},
|
|
371
233
|
],
|
|
372
|
-
related: ['
|
|
234
|
+
related: ['hosted:node:get', 'hosted:node:list'],
|
|
373
235
|
},
|
|
374
236
|
{
|
|
375
|
-
name: '
|
|
376
|
-
group: '
|
|
237
|
+
name: 'hosted:artifact:list',
|
|
238
|
+
group: 'hosted-graph',
|
|
377
239
|
summary: 'List artifacts for a node.',
|
|
378
240
|
endpoints: ['GET /nodes/{node_id}/artifacts'],
|
|
379
241
|
required: [
|
|
@@ -385,18 +247,18 @@ const CORE_MVP_COMMANDS = [
|
|
|
385
247
|
examples: [
|
|
386
248
|
{
|
|
387
249
|
description: 'List up to 10 artifacts on a node.',
|
|
388
|
-
invocation: 'flywheel
|
|
250
|
+
invocation: 'flywheel hosted:artifact:list --node_id n_abc --limit 10',
|
|
389
251
|
},
|
|
390
252
|
{
|
|
391
253
|
description: 'List artifacts with TSV output for downstream tooling.',
|
|
392
|
-
invocation: 'flywheel
|
|
254
|
+
invocation: 'flywheel hosted:artifact:list --node_id=n_abc --format=tsv',
|
|
393
255
|
},
|
|
394
256
|
],
|
|
395
|
-
related: ['
|
|
257
|
+
related: ['hosted:artifact:get'],
|
|
396
258
|
},
|
|
397
259
|
{
|
|
398
|
-
name: '
|
|
399
|
-
group: '
|
|
260
|
+
name: 'hosted:artifact:get',
|
|
261
|
+
group: 'hosted-graph',
|
|
400
262
|
summary: 'Fetch one artifact metadata record.',
|
|
401
263
|
endpoints: ['GET /nodes/{node_id}/artifacts/{artifact_id}'],
|
|
402
264
|
required: [
|
|
@@ -407,14 +269,14 @@ const CORE_MVP_COMMANDS = [
|
|
|
407
269
|
examples: [
|
|
408
270
|
{
|
|
409
271
|
description: 'Fetch an artifact metadata record.',
|
|
410
|
-
invocation: 'flywheel
|
|
272
|
+
invocation: 'flywheel hosted:artifact:get --node_id n_abc --artifact_id art_42',
|
|
411
273
|
},
|
|
412
274
|
{
|
|
413
275
|
description: 'Fetch an artifact metadata record using --key=value form.',
|
|
414
|
-
invocation: 'flywheel
|
|
276
|
+
invocation: 'flywheel hosted:artifact:get --node_id=n_abc --artifact_id=art_42 --format=json',
|
|
415
277
|
},
|
|
416
278
|
],
|
|
417
|
-
related: ['
|
|
279
|
+
related: ['hosted:artifact:list'],
|
|
418
280
|
},
|
|
419
281
|
{
|
|
420
282
|
name: 'compute:status',
|
|
@@ -495,10 +357,8 @@ const CORE_MVP_COMMANDS = [
|
|
|
495
357
|
},
|
|
496
358
|
];
|
|
497
359
|
import { PROFILE_COMMANDS } from './registry/profile.js';
|
|
498
|
-
import { TAGGING_COMMANDS } from './registry/tagging.js';
|
|
499
360
|
import { SHARING_COMMANDS } from './registry/sharing.js';
|
|
500
361
|
import { LIFECYCLE_COMMANDS } from './registry/lifecycle.js';
|
|
501
|
-
import { ARTIFACTS_COMMANDS } from './registry/artifacts.js';
|
|
502
362
|
import { HOOKS_COMMANDS } from './registry/hooks.js';
|
|
503
363
|
import { COMPUTE_COMMANDS } from './registry/compute.js';
|
|
504
364
|
import { EXECUTIONS_COMMANDS } from './registry/executions.js';
|
|
@@ -516,13 +376,13 @@ import { APIKEYS_COMMANDS } from './registry/api-keys.js';
|
|
|
516
376
|
import { RESOURCES_COMMANDS } from './registry/resources.js';
|
|
517
377
|
import { AUTH_COMMANDS } from './registry/auth.js';
|
|
518
378
|
import { ENV_COMMANDS } from './registry/env.js';
|
|
379
|
+
import { REPOSITORY_COMMANDS } from './registry/repository.js';
|
|
380
|
+
import { HOSTED_GRAPH_MUTATION_COMMANDS } from './registry/hosted.js';
|
|
519
381
|
export const MVP_COMMANDS = [
|
|
520
382
|
...CORE_MVP_COMMANDS,
|
|
521
383
|
...PROFILE_COMMANDS,
|
|
522
|
-
...TAGGING_COMMANDS,
|
|
523
384
|
...SHARING_COMMANDS,
|
|
524
385
|
...LIFECYCLE_COMMANDS,
|
|
525
|
-
...ARTIFACTS_COMMANDS,
|
|
526
386
|
...HOOKS_COMMANDS,
|
|
527
387
|
...COMPUTE_COMMANDS,
|
|
528
388
|
...EXECUTIONS_COMMANDS,
|
|
@@ -540,6 +400,8 @@ export const MVP_COMMANDS = [
|
|
|
540
400
|
...RESOURCES_COMMANDS,
|
|
541
401
|
...AUTH_COMMANDS,
|
|
542
402
|
...ENV_COMMANDS,
|
|
403
|
+
...REPOSITORY_COMMANDS,
|
|
404
|
+
...HOSTED_GRAPH_MUTATION_COMMANDS,
|
|
543
405
|
];
|
|
544
406
|
const COMMAND_BY_NAME = new Map(MVP_COMMANDS.map((command) => [command.name, command]));
|
|
545
407
|
export function getCommandByName(name) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registry.js","sourceRoot":"","sources":["../../src/commands/registry.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"registry.js","sourceRoot":"","sources":["../../src/commands/registry.ts"],"names":[],"mappings":"AA4DA,MAAM,iBAAiB,GAAqC;IAC1D;QACE,IAAI,EAAE,aAAa;QACnB,KAAK,EAAE,MAAM;QACb,OAAO,EAAE,4DAA4D;QACrE,SAAS,EAAE,CAAC,kBAAkB,CAAC;QAC/B,QAAQ,EAAE,EAAE;QACZ,QAAQ,EAAE,EAAE;QACZ,QAAQ,EAAE;YACR;gBACE,WAAW,EAAE,oDAAoD;gBACjE,UAAU,EAAE,oCAAoC;aACjD;YACD;gBACE,WAAW,EAAE,sDAAsD;gBACnE,UAAU,EAAE,mCAAmC;aAChD;SACF;QACD,OAAO,EAAE,CAAC,YAAY,CAAC;KACxB;IACD;QACE,IAAI,EAAE,YAAY;QAClB,KAAK,EAAE,MAAM;QACb,OAAO,EAAE,oEAAoE;QAC7E,SAAS,EAAE;YACT,4CAA4C;YAC5C,2CAA2C;SAC5C;QACD,QAAQ,EAAE,EAAE;QACZ,QAAQ,EAAE;YACR,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,uCAAuC,EAAE;YACtF;gBACE,IAAI,EAAE,aAAa;gBACnB,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,6DAA6D;aAC3E;YACD;gBACE,IAAI,EAAE,YAAY;gBAClB,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,iEAAiE;aAC/E;SACF;QACD,QAAQ,EAAE;YACR;gBACE,WAAW,EAAE,+CAA+C;gBAC5D,UAAU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O,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,8BAA8B,EAAE,MAAM,sBAAsB,CAAC;AAEtE,MAAM,CAAC,MAAM,YAAY,GAAqC;IAC5D,GAAG,iBAAiB;IACpB,GAAG,gBAAgB;IACnB,GAAG,gBAAgB;IACnB,GAAG,kBAAkB;IACrB,GAAG,cAAc;IACjB,GAAG,gBAAgB;IACnB,GAAG,mBAAmB;IACtB,GAAG,iBAAiB;IACpB,GAAG,gBAAgB;IACnB,GAAG,eAAe;IAClB,GAAG,cAAc;IACjB,GAAG,gBAAgB;IACnB,GAAG,cAAc;IACjB,GAAG,gBAAgB;IACnB,GAAG,gBAAgB;IACnB,GAAG,eAAe;IAClB,GAAG,qBAAqB;IACxB,GAAG,gBAAgB;IACnB,GAAG,kBAAkB;IACrB,GAAG,aAAa;IAChB,GAAG,YAAY;IACf,GAAG,mBAAmB;IACtB,GAAG,8BAA8B;CAClC,CAAC;AAEF,MAAM,eAAe,GAAG,IAAI,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;AAExF,MAAM,UAAU,gBAAgB,CAAC,IAAY;IAC3C,OAAO,eAAe,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;AACnC,CAAC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { createHash } from "node:crypto";
|
|
2
|
+
import { readFile } from "node:fs/promises";
|
|
3
|
+
import { GRAPH_MUTATION_VERBS, buildGraphOperations, } from "./graph-operation.js";
|
|
4
|
+
const EDIT_COMMANDS = GRAPH_MUTATION_VERBS.map((verb) => `repo:${verb}`);
|
|
5
|
+
function requireLocalEditContext(context) {
|
|
6
|
+
if (!context.localRepositoryId ||
|
|
7
|
+
!context.requestLocalJson ||
|
|
8
|
+
!context.installLocalObject ||
|
|
9
|
+
!context.stageLocalOperations) {
|
|
10
|
+
throw new Error("local repository transport is unavailable");
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
function localGraphContext(context, repositoryPath) {
|
|
14
|
+
return {
|
|
15
|
+
repositoryJson: true,
|
|
16
|
+
readPrecondition: (path, query) => context.requestLocalJson(repositoryPath, "GET", path, query ? { query } : undefined),
|
|
17
|
+
readFile,
|
|
18
|
+
installObject: async (bytes) => {
|
|
19
|
+
const objectDigest = `sha256:${createHash("sha256").update(bytes).digest("hex")}`;
|
|
20
|
+
await context.installLocalObject(repositoryPath, objectDigest, bytes);
|
|
21
|
+
return objectDigest;
|
|
22
|
+
},
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
async function editHandler(command, context) {
|
|
26
|
+
requireLocalEditContext(context);
|
|
27
|
+
const repositoryPath = context.repositorySelection?.root;
|
|
28
|
+
if (!repositoryPath) {
|
|
29
|
+
throw new Error("resolved local repository selection is unavailable");
|
|
30
|
+
}
|
|
31
|
+
const repositoryId = await context.localRepositoryId(repositoryPath);
|
|
32
|
+
const verb = command.slice("repo:".length);
|
|
33
|
+
const operations = await buildGraphOperations(verb, context.params, repositoryId, localGraphContext(context, repositoryPath));
|
|
34
|
+
const generated = {};
|
|
35
|
+
for (const { resourceKey, resourceId } of operations) {
|
|
36
|
+
if (resourceKey && resourceId)
|
|
37
|
+
generated[resourceKey] = resourceId;
|
|
38
|
+
}
|
|
39
|
+
const staging = await context.stageLocalOperations(repositoryPath, operations.map((result) => result.operation), operations.flatMap((result) => [...result.latestValues]));
|
|
40
|
+
return { ...staging, ...generated };
|
|
41
|
+
}
|
|
42
|
+
export const repositoryEditHandlers = Object.fromEntries(EDIT_COMMANDS.map((command) => [
|
|
43
|
+
command,
|
|
44
|
+
(context) => editHandler(command, context),
|
|
45
|
+
]));
|
|
46
|
+
export const repositoryEditNames = Object.freeze([...EDIT_COMMANDS]);
|
|
47
|
+
//# sourceMappingURL=repository-edit.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"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C,OAAO,EAAE,OAAO,CAAC;CAC3D,CAAC,CACH,CAAC;AAEJ,MAAM,CAAC,MAAM,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,GAAG,aAAa,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
import { randomUUID } from "node:crypto";
|
|
2
|
+
import os from "node:os";
|
|
3
|
+
import path, { resolve } from "node:path";
|
|
4
|
+
import { readFile } from "node:fs/promises";
|
|
5
|
+
import { loadFlywheelConfig, saveFlywheelConfig } from "../config/index.js";
|
|
6
|
+
import { shellQuote } from "./repository-selection.js";
|
|
7
|
+
import { requiredString } from "./utils.js";
|
|
8
|
+
const local = (method, suffix) => ({
|
|
9
|
+
method,
|
|
10
|
+
path: () => suffix,
|
|
11
|
+
transport: "local",
|
|
12
|
+
});
|
|
13
|
+
const SPECS = {
|
|
14
|
+
"repo:init": { method: "POST", path: () => "", transport: "bootstrap" },
|
|
15
|
+
"repo:clone": { method: "POST", path: () => "", transport: "bootstrap" },
|
|
16
|
+
"repo:restore": { method: "POST", path: () => "", transport: "bootstrap" },
|
|
17
|
+
"repo:status": local("GET", "/status"),
|
|
18
|
+
"repo:doctor": local("GET", "/doctor"),
|
|
19
|
+
"repo:commit": local("POST", "/commits"),
|
|
20
|
+
"repo:log": local("GET", "/commits"),
|
|
21
|
+
"repo:diff": local("GET", "/diff"),
|
|
22
|
+
"repo:revert": local("POST", "/reverts"),
|
|
23
|
+
"repo:pull": local("POST", "/sync/pulls"),
|
|
24
|
+
"repo:push": local("POST", "/sync/pushes"),
|
|
25
|
+
"repo:purge": local("POST", "/sync/purges"),
|
|
26
|
+
"repo:backup": local("POST", "/backups"),
|
|
27
|
+
"repo:gc": local("POST", "/gc"),
|
|
28
|
+
"repo:conflicts:list": local("GET", "/conflicts"),
|
|
29
|
+
"repo:conflicts:show": {
|
|
30
|
+
...local("GET", "/conflicts"),
|
|
31
|
+
path: (params) => `/conflicts/${encodeURIComponent(requiredString(params, "conflict_id"))}`,
|
|
32
|
+
},
|
|
33
|
+
"repo:conflicts:resolve": {
|
|
34
|
+
...local("POST", "/conflicts"),
|
|
35
|
+
path: (params) => `/conflicts/${encodeURIComponent(requiredString(params, "conflict_id"))}/resolution`,
|
|
36
|
+
},
|
|
37
|
+
"repo:rebase:continue": {
|
|
38
|
+
...local("POST", "/rebases"),
|
|
39
|
+
path: (params) => `/rebases/${encodeURIComponent(requiredString(params, "rebase_id"))}/continue`,
|
|
40
|
+
},
|
|
41
|
+
"repo:rebase:abort": {
|
|
42
|
+
...local("POST", "/rebases"),
|
|
43
|
+
path: (params) => `/rebases/${encodeURIComponent(requiredString(params, "rebase_id"))}/abort`,
|
|
44
|
+
},
|
|
45
|
+
};
|
|
46
|
+
function operationHandler(command) {
|
|
47
|
+
const spec = SPECS[command];
|
|
48
|
+
if (!spec)
|
|
49
|
+
throw new Error(`unknown repository operation command: ${command}`);
|
|
50
|
+
return async (context) => {
|
|
51
|
+
if (spec.transport === "bootstrap") {
|
|
52
|
+
if (!context.repositoryBootstrap) {
|
|
53
|
+
throw new Error("local repository bootstrap is unavailable");
|
|
54
|
+
}
|
|
55
|
+
if (command === "repo:init" && context.repositoryInitPersonal) {
|
|
56
|
+
const input = typeof context.params.directory === "string"
|
|
57
|
+
? context.params.directory
|
|
58
|
+
: path.join(os.homedir(), "Flywheel");
|
|
59
|
+
const expanded = input === "~" || input.startsWith("~/")
|
|
60
|
+
? path.join(os.homedir(), input.slice(2))
|
|
61
|
+
: input;
|
|
62
|
+
const target = resolve(expanded);
|
|
63
|
+
const result = await context.repositoryBootstrap("init", {
|
|
64
|
+
directory: target,
|
|
65
|
+
adopt: true,
|
|
66
|
+
});
|
|
67
|
+
try {
|
|
68
|
+
const config = await loadFlywheelConfig({
|
|
69
|
+
env: {
|
|
70
|
+
...process.env,
|
|
71
|
+
FLYWHEEL_CLI_CONFIG_PATH: context.configPath,
|
|
72
|
+
},
|
|
73
|
+
});
|
|
74
|
+
config.repositories = { personal: target };
|
|
75
|
+
await saveFlywheelConfig(config, context.configPath);
|
|
76
|
+
}
|
|
77
|
+
catch (cause) {
|
|
78
|
+
throw new Error(`The repository was initialized at ${target}, but the personal repository setting was not saved. Retry: flywheel repo:init --personal ${shellQuote(target)}`, { cause });
|
|
79
|
+
}
|
|
80
|
+
return result;
|
|
81
|
+
}
|
|
82
|
+
const bootstrapOperation = command.slice("repo:".length);
|
|
83
|
+
return context.repositoryBootstrap(bootstrapOperation, context.params);
|
|
84
|
+
}
|
|
85
|
+
if (!context.requestLocalJson) {
|
|
86
|
+
throw new Error("local repository transport is unavailable");
|
|
87
|
+
}
|
|
88
|
+
const repositoryPath = context.repositorySelection?.root;
|
|
89
|
+
if (!repositoryPath) {
|
|
90
|
+
throw new Error("resolved local repository selection is unavailable");
|
|
91
|
+
}
|
|
92
|
+
let body = Object.fromEntries(Object.entries(context.params).filter(([name]) => !["repo", "personal", "conflict_id", "rebase_id"].includes(name)));
|
|
93
|
+
if (command === "repo:commit" || command === "repo:revert") {
|
|
94
|
+
// Two read-only direct requests run concurrently and neither takes the
|
|
95
|
+
// writer lock. They are only precondition hints: a racing commit is
|
|
96
|
+
// rejected inside the write transaction by the stale-head and stale-
|
|
97
|
+
// staging checks, rather than committing the wrong staging.
|
|
98
|
+
const [staging, head] = await Promise.all([
|
|
99
|
+
context.requestLocalJson(repositoryPath, "GET", "/staging"),
|
|
100
|
+
context.requestLocalJson(repositoryPath, "GET", "/local-head"),
|
|
101
|
+
]);
|
|
102
|
+
body =
|
|
103
|
+
command === "repo:commit"
|
|
104
|
+
? {
|
|
105
|
+
expected_local_head: head.current_local_head,
|
|
106
|
+
staging_digest: staging.staging_digest,
|
|
107
|
+
message: typeof context.params.message === "string"
|
|
108
|
+
? context.params.message
|
|
109
|
+
: null,
|
|
110
|
+
}
|
|
111
|
+
: {
|
|
112
|
+
operation_id: randomUUID(),
|
|
113
|
+
expected_local_head: head.current_local_head,
|
|
114
|
+
commit_id: requiredString(context.params, "commit_id"),
|
|
115
|
+
};
|
|
116
|
+
}
|
|
117
|
+
else if (command === "repo:conflicts:resolve") {
|
|
118
|
+
const valueFile = context.params["value-file"];
|
|
119
|
+
body = {
|
|
120
|
+
operation_id: randomUUID(),
|
|
121
|
+
strategy: requiredString(context.params, "strategy"),
|
|
122
|
+
manual_value: typeof valueFile === "string"
|
|
123
|
+
? await readFile(valueFile, "utf8")
|
|
124
|
+
: null,
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
else if (command === "repo:rebase:continue" ||
|
|
128
|
+
command === "repo:rebase:abort") {
|
|
129
|
+
const head = await context.requestLocalJson(repositoryPath, "GET", "/local-head");
|
|
130
|
+
body = {
|
|
131
|
+
operation_id: randomUUID(),
|
|
132
|
+
expected_local_head: head.current_local_head,
|
|
133
|
+
};
|
|
134
|
+
}
|
|
135
|
+
else if (command === "repo:pull") {
|
|
136
|
+
const status = await context.requestLocalJson(repositoryPath, "GET", "/status");
|
|
137
|
+
body = {
|
|
138
|
+
pull_id: context.globals?.idempotencyKey ?? randomUUID(),
|
|
139
|
+
object_mode: typeof context.params.objects === "string"
|
|
140
|
+
? context.params.objects
|
|
141
|
+
: status.sync.object_mode,
|
|
142
|
+
};
|
|
143
|
+
}
|
|
144
|
+
else if (command === "repo:push") {
|
|
145
|
+
body = {
|
|
146
|
+
push_id: context.globals?.idempotencyKey ?? randomUUID(),
|
|
147
|
+
create_remote: context.params["create-remote"] === true,
|
|
148
|
+
};
|
|
149
|
+
}
|
|
150
|
+
else if (command === "repo:purge") {
|
|
151
|
+
body = {
|
|
152
|
+
purge_id: context.globals?.idempotencyKey ?? randomUUID(),
|
|
153
|
+
node_id: requiredString(context.params, "node_id"),
|
|
154
|
+
confirm_node_id: requiredString(context.params, "confirm"),
|
|
155
|
+
};
|
|
156
|
+
}
|
|
157
|
+
if (command === "repo:gc") {
|
|
158
|
+
body = { dry_run: context.params["dry-run"] === true };
|
|
159
|
+
}
|
|
160
|
+
if (command === "repo:backup") {
|
|
161
|
+
body = {
|
|
162
|
+
...body,
|
|
163
|
+
destination: resolve(requiredString(context.params, "destination")),
|
|
164
|
+
};
|
|
165
|
+
}
|
|
166
|
+
const suffix = spec.path(context.params);
|
|
167
|
+
return context.requestLocalJson(repositoryPath, spec.method, suffix, spec.method === "GET" ? queryOptions(body) : { body });
|
|
168
|
+
};
|
|
169
|
+
}
|
|
170
|
+
function queryOptions(body) {
|
|
171
|
+
const query = {};
|
|
172
|
+
for (const [name, value] of Object.entries(body)) {
|
|
173
|
+
if (typeof value === "string" || typeof value === "boolean") {
|
|
174
|
+
query[name] = value;
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
return { query };
|
|
178
|
+
}
|
|
179
|
+
export const repositoryOperationHandlers = Object.fromEntries(Object.keys(SPECS).map((command) => [command, operationHandler(command)]));
|
|
180
|
+
export const repositoryLocalOperationNames = Object.freeze(Object.keys(SPECS));
|
|
181
|
+
//# sourceMappingURL=repository-operation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"repository-operation.js","sourceRoot":"","sources":["../../src/commands/repository-operation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,MAAM,SAAS,CAAC;AACzB,OAAO,IAAI,EAAE,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAE1C,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAG5C,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAEvD,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAQ5C,MAAM,KAAK,GAAG,CAAC,MAAkB,EAAE,MAAc,EAAiB,EAAE,CAAC,CAAC;IACpE,MAAM;IACN,IAAI,EAAE,GAAG,EAAE,CAAC,MAAM;IAClB,SAAS,EAAE,OAAO;CACnB,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