@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
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
import { createHash, randomUUID } from 'node:crypto';
|
|
2
|
+
import { NODE_FIELDS } from './node-create-schema.js';
|
|
3
|
+
import { canonicalJson, digest, record } from './graph-operation-support.js';
|
|
4
|
+
const SNAPSHOT_FIELDS = [
|
|
5
|
+
'artifact_references',
|
|
6
|
+
'artifacts',
|
|
7
|
+
'containments',
|
|
8
|
+
'format',
|
|
9
|
+
'lineage',
|
|
10
|
+
'nodes',
|
|
11
|
+
'object_availability',
|
|
12
|
+
'repository_id',
|
|
13
|
+
'semantic_edges',
|
|
14
|
+
'tag_assignments',
|
|
15
|
+
'tag_definitions',
|
|
16
|
+
'tag_history',
|
|
17
|
+
];
|
|
18
|
+
const MAX_TRANSFER_CHUNKS = 256;
|
|
19
|
+
export async function loadHostedRepositorySnapshot(context, repositoryId) {
|
|
20
|
+
const sessionId = randomUUID();
|
|
21
|
+
const session = record(await context.requestJson('POST', `/repositories/${encodeURIComponent(repositoryId)}/clone-sessions`, {
|
|
22
|
+
body: {
|
|
23
|
+
wire_version: 2,
|
|
24
|
+
session_id: sessionId,
|
|
25
|
+
client_id: randomUUID(),
|
|
26
|
+
object_mode: 'lazy',
|
|
27
|
+
},
|
|
28
|
+
idempotencyKey: sessionId,
|
|
29
|
+
}));
|
|
30
|
+
const totalChunks = session.total_chunks;
|
|
31
|
+
if (session.session_id !== sessionId ||
|
|
32
|
+
session.repository_id !== repositoryId ||
|
|
33
|
+
(session.head !== null && typeof session.head !== 'string') ||
|
|
34
|
+
!Number.isInteger(totalChunks) ||
|
|
35
|
+
totalChunks < 1 ||
|
|
36
|
+
totalChunks > MAX_TRANSFER_CHUNKS ||
|
|
37
|
+
typeof session.manifest_digest !== 'string') {
|
|
38
|
+
throw new Error('repository clone session is invalid');
|
|
39
|
+
}
|
|
40
|
+
const frames = [];
|
|
41
|
+
const chunkDigests = [];
|
|
42
|
+
let after = null;
|
|
43
|
+
for (let ordinal = 0; ordinal < totalChunks; ordinal += 1) {
|
|
44
|
+
const chunk = record(await context.requestJson('GET', `/repositories/${encodeURIComponent(repositoryId)}/clone-sessions/${encodeURIComponent(sessionId)}/chunks`, after === null ? undefined : { query: { after } }));
|
|
45
|
+
const payload = record(chunk.payload);
|
|
46
|
+
const payloadDigest = domainDigest('flywheel.transfer-chunk.v1\0', canonicalJson(payload));
|
|
47
|
+
const isFinal = ordinal === totalChunks - 1;
|
|
48
|
+
if (chunk.session_id !== sessionId ||
|
|
49
|
+
chunk.ordinal !== ordinal ||
|
|
50
|
+
chunk.payload_digest !== payloadDigest ||
|
|
51
|
+
chunk.is_final !== isFinal ||
|
|
52
|
+
payload.schema !== 'flywheel.repository.transfer-chunk-payload.v1' ||
|
|
53
|
+
payload.repository_id !== repositoryId ||
|
|
54
|
+
payload.ordinal !== ordinal ||
|
|
55
|
+
payload.head !== session.head ||
|
|
56
|
+
!Array.isArray(payload.frames) ||
|
|
57
|
+
(isFinal
|
|
58
|
+
? chunk.next_cursor !== null
|
|
59
|
+
: typeof chunk.next_cursor !== 'string' || !chunk.next_cursor)) {
|
|
60
|
+
throw new Error('repository transfer chunk is invalid');
|
|
61
|
+
}
|
|
62
|
+
for (const frame of payload.frames) {
|
|
63
|
+
if (frame === null || typeof frame !== 'object' || Array.isArray(frame)) {
|
|
64
|
+
throw new Error('repository transfer frame is invalid');
|
|
65
|
+
}
|
|
66
|
+
frames.push(frame);
|
|
67
|
+
}
|
|
68
|
+
chunkDigests.push(payloadDigest);
|
|
69
|
+
after = isFinal ? null : chunk.next_cursor;
|
|
70
|
+
}
|
|
71
|
+
const decoded = decodeSnapshotFrames(frames);
|
|
72
|
+
const snapshotDigest = domainDigest('flywheel.repository.snapshot.v1\0', decoded.bytes);
|
|
73
|
+
if (decoded.snapshotDigest !== snapshotDigest) {
|
|
74
|
+
throw new Error('repository transfer snapshot digest is invalid');
|
|
75
|
+
}
|
|
76
|
+
const manifestDigest = domainDigest('flywheel.clone-session-manifest.v1\0', canonicalJson({
|
|
77
|
+
chunk_digests: chunkDigests,
|
|
78
|
+
head: session.head,
|
|
79
|
+
object_mode: 'lazy',
|
|
80
|
+
references: decoded.objectDigests,
|
|
81
|
+
repository_id: repositoryId,
|
|
82
|
+
schema: 'flywheel.repository.clone-manifest.v1',
|
|
83
|
+
session_id: sessionId,
|
|
84
|
+
}));
|
|
85
|
+
if (session.manifest_digest !== manifestDigest) {
|
|
86
|
+
throw new Error('repository transfer manifest is invalid');
|
|
87
|
+
}
|
|
88
|
+
return parseSnapshot(decoded.bytes, repositoryId);
|
|
89
|
+
}
|
|
90
|
+
export function readHostedSnapshotPrecondition(snapshot, path, query) {
|
|
91
|
+
if (path.startsWith('/nodes/')) {
|
|
92
|
+
const nodeId = decodeURIComponent(path.slice('/nodes/'.length));
|
|
93
|
+
const node = one(snapshot.nodes, 'node_id', nodeId);
|
|
94
|
+
return {
|
|
95
|
+
field_digests: Object.fromEntries(NODE_FIELDS.map((field) => [field, node[`${field}_digest`]])),
|
|
96
|
+
lifecycle_digest: digest(node.lifecycle_state),
|
|
97
|
+
node,
|
|
98
|
+
tag_relation_digests: snapshot.tag_assignments
|
|
99
|
+
.filter((assignment) => assignment.node_id === nodeId)
|
|
100
|
+
.map((assignment) => digest(assignment)),
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
if (path === '/tags') {
|
|
104
|
+
const scopeNodeId = query?.scope_node_id;
|
|
105
|
+
return {
|
|
106
|
+
tags: snapshot.tag_definitions.filter((definition) => definition.scope_node_id === scopeNodeId),
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
if (path.startsWith('/containments/')) {
|
|
110
|
+
return {
|
|
111
|
+
containment: one(snapshot.containments, 'containment_id', decodeURIComponent(path.slice('/containments/'.length))),
|
|
112
|
+
};
|
|
113
|
+
}
|
|
114
|
+
if (path.startsWith('/edges/')) {
|
|
115
|
+
return {
|
|
116
|
+
edge: one(snapshot.semantic_edges, 'edge_id', decodeURIComponent(path.slice('/edges/'.length))),
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
if (path.startsWith('/artifacts/')) {
|
|
120
|
+
const artifactId = decodeURIComponent(path.slice('/artifacts/'.length));
|
|
121
|
+
return {
|
|
122
|
+
artifact: one(snapshot.artifacts, 'artifact_id', artifactId),
|
|
123
|
+
references: snapshot.artifact_references.filter((reference) => reference.artifact_id === artifactId),
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
throw new Error(`unsupported repository precondition path: ${path}`);
|
|
127
|
+
}
|
|
128
|
+
function decodeSnapshotFrames(frames) {
|
|
129
|
+
let snapshotDigest = null;
|
|
130
|
+
let fragmentCount = null;
|
|
131
|
+
const fragments = [];
|
|
132
|
+
const objectDigests = [];
|
|
133
|
+
for (const frame of frames) {
|
|
134
|
+
if (frame.kind === 'header') {
|
|
135
|
+
if (snapshotDigest !== null ||
|
|
136
|
+
frame.object_mode !== 'lazy' ||
|
|
137
|
+
typeof frame.snapshot_digest !== 'string') {
|
|
138
|
+
throw new Error('repository transfer header is invalid');
|
|
139
|
+
}
|
|
140
|
+
snapshotDigest = frame.snapshot_digest;
|
|
141
|
+
continue;
|
|
142
|
+
}
|
|
143
|
+
if (frame.kind === 'snapshot') {
|
|
144
|
+
const index = frame.fragment_index;
|
|
145
|
+
const count = frame.fragment_count;
|
|
146
|
+
if (!Number.isInteger(index) ||
|
|
147
|
+
!Number.isInteger(count) ||
|
|
148
|
+
index < 0 ||
|
|
149
|
+
count < 1 ||
|
|
150
|
+
(fragmentCount ?? count) !== count ||
|
|
151
|
+
fragments[index] !== undefined ||
|
|
152
|
+
typeof frame.fragment_b64 !== 'string') {
|
|
153
|
+
throw new Error('repository transfer snapshot frame is invalid');
|
|
154
|
+
}
|
|
155
|
+
fragmentCount = count;
|
|
156
|
+
fragments[index] = decodeBase64(frame.fragment_b64);
|
|
157
|
+
continue;
|
|
158
|
+
}
|
|
159
|
+
if (frame.kind === 'object') {
|
|
160
|
+
if (typeof frame.digest !== 'string') {
|
|
161
|
+
throw new Error('repository transfer object frame is invalid');
|
|
162
|
+
}
|
|
163
|
+
objectDigests.push(frame.digest);
|
|
164
|
+
continue;
|
|
165
|
+
}
|
|
166
|
+
if (frame.kind !== 'commit') {
|
|
167
|
+
throw new Error('repository transfer frame is invalid');
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
if (snapshotDigest === null ||
|
|
171
|
+
fragmentCount === null ||
|
|
172
|
+
fragments.length !== fragmentCount ||
|
|
173
|
+
fragments.some((fragment) => fragment === undefined) ||
|
|
174
|
+
objectDigests.join(',') !== [...new Set(objectDigests)].sort().join(',')) {
|
|
175
|
+
throw new Error('repository transfer frame set is invalid');
|
|
176
|
+
}
|
|
177
|
+
return {
|
|
178
|
+
bytes: Buffer.concat(fragments),
|
|
179
|
+
objectDigests,
|
|
180
|
+
snapshotDigest,
|
|
181
|
+
};
|
|
182
|
+
}
|
|
183
|
+
function parseSnapshot(bytes, repositoryId) {
|
|
184
|
+
let value;
|
|
185
|
+
try {
|
|
186
|
+
value = JSON.parse(new TextDecoder('utf-8', { fatal: true }).decode(bytes));
|
|
187
|
+
}
|
|
188
|
+
catch {
|
|
189
|
+
throw new Error('repository transfer snapshot is malformed');
|
|
190
|
+
}
|
|
191
|
+
const payload = record(value);
|
|
192
|
+
if (Object.keys(payload).sort().join(',') !==
|
|
193
|
+
[...SNAPSHOT_FIELDS].sort().join(',') ||
|
|
194
|
+
(payload.format !== 'flywheel.repository.projection.v1' &&
|
|
195
|
+
payload.format !== 'flywheel.repository.projection.v2') ||
|
|
196
|
+
payload.repository_id !== repositoryId) {
|
|
197
|
+
throw new Error('repository transfer snapshot is invalid');
|
|
198
|
+
}
|
|
199
|
+
for (const field of SNAPSHOT_FIELDS) {
|
|
200
|
+
if (field === 'format' || field === 'repository_id')
|
|
201
|
+
continue;
|
|
202
|
+
const rows = payload[field];
|
|
203
|
+
if (!Array.isArray(rows) ||
|
|
204
|
+
rows.some((row) => row === null || typeof row !== 'object' || Array.isArray(row))) {
|
|
205
|
+
throw new Error('repository transfer snapshot rows are invalid');
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
return payload;
|
|
209
|
+
}
|
|
210
|
+
function one(rows, field, value) {
|
|
211
|
+
const matches = rows.filter((row) => row[field] === value);
|
|
212
|
+
if (matches.length !== 1) {
|
|
213
|
+
throw new Error('repository snapshot entity is unavailable');
|
|
214
|
+
}
|
|
215
|
+
return matches[0];
|
|
216
|
+
}
|
|
217
|
+
function decodeBase64(value) {
|
|
218
|
+
const bytes = Buffer.from(value, 'base64');
|
|
219
|
+
if (bytes.toString('base64') !== value) {
|
|
220
|
+
throw new Error('repository transfer frame base64 is invalid');
|
|
221
|
+
}
|
|
222
|
+
return bytes;
|
|
223
|
+
}
|
|
224
|
+
function domainDigest(domain, value) {
|
|
225
|
+
return `sha256:${createHash('sha256').update(domain).update(value).digest('hex')}`;
|
|
226
|
+
}
|
|
227
|
+
//# sourceMappingURL=hosted-repository-snapshot.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hosted-repository-snapshot.js","sourceRoot":"","sources":["../../src/commands/hosted-repository-snapshot.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAErD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO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
9
|
import { adminTestUsersCreateCommand } from "./admin-test-users-create.js";
|
|
10
10
|
import { adminTestUsersDeleteCommand } from "./admin-test-users-delete.js";
|
|
11
11
|
import { adminTestUsersLoginCommand } from "./admin-test-users-login.js";
|
|
12
|
+
import { adminTestUsersRevokeApiKeyCommand } from "./admin-test-users-revoke-api-key.js";
|
|
12
13
|
import { exportSubgraphCommand } from "./export-subgraph.js";
|
|
13
|
-
import {
|
|
14
|
-
import { nodesCommitCommand } from "./nodes-commit.js";
|
|
15
|
-
import { nodesCommitNewCommand } from "./nodes-commit-new.js";
|
|
16
|
-
import { nodesDeleteCommand } from "./nodes-delete.js";
|
|
14
|
+
import { hostedLineageListCommand } from "./hosted-lineage-list.js";
|
|
17
15
|
import { nodesGetCommand } from "./nodes-get.js";
|
|
18
16
|
import { nodesListCommand } from "./nodes-list.js";
|
|
19
|
-
import { nodesParentsCommand } from "./nodes-parents.js";
|
|
20
17
|
import { nodesRenderTreeCommand } from "./nodes-render-tree.js";
|
|
21
18
|
import { nodesStageLeaseAcquireCommand } from "./nodes-stage-lease-acquire.js";
|
|
22
19
|
import { profileListCommand } from "./profile-list.js";
|
|
23
20
|
import { profileShowCommand } from "./profile-show.js";
|
|
24
21
|
import { profileSetCommand } from "./profile-set.js";
|
|
25
22
|
import { profileUnsetCommand } from "./profile-unset.js";
|
|
26
|
-
import { tagsCreateCommand } from "./tags-create.js";
|
|
27
|
-
import { tagsUpdateCommand } from "./tags-update.js";
|
|
28
|
-
import { tagsDeleteCommand } from "./tags-delete.js";
|
|
29
|
-
import { tagsAssignCommand } from "./tags-assign.js";
|
|
30
23
|
import { nodesSharingGetCommand } from "./nodes-sharing-get.js";
|
|
31
24
|
import { nodesSharingSetCommand } from "./nodes-sharing-set.js";
|
|
32
25
|
import { nodesSharingSetBulkCommand } from "./nodes-sharing-set-bulk.js";
|
|
@@ -35,24 +28,12 @@ import { nodesResolveSlugCommand } from "./nodes-resolve-slug.js";
|
|
|
35
28
|
import { adminNodesAuditListCommand } from "./admin-nodes-audit-list.js";
|
|
36
29
|
import { nodesRenderAncestryCommand } from "./nodes-render-ancestry.js";
|
|
37
30
|
import { nodesRenderSummaryCommand } from "./nodes-render-summary.js";
|
|
38
|
-
import { nodesAddParentCommand } from "./nodes-add-parent.js";
|
|
39
|
-
import { nodesRemoveParentCommand } from "./nodes-remove-parent.js";
|
|
40
|
-
import { nodesBranchCommand } from "./nodes-branch.js";
|
|
41
|
-
import { nodesMergeCommand } from "./nodes-merge.js";
|
|
42
|
-
import { nodesDeleteBulkCommand } from "./nodes-delete-bulk.js";
|
|
43
31
|
import { nodesFilesCommand } from "./nodes-files.js";
|
|
44
32
|
import { nodesStageLeaseHeartbeatCommand } from "./nodes-stage-lease-heartbeat.js";
|
|
45
33
|
import { nodesStageLeaseReleaseCommand } from "./nodes-stage-lease-release.js";
|
|
46
34
|
import { campaignSnapshotCommand } from "./campaign-snapshot.js";
|
|
47
35
|
import { remoteArtifactsRefreshCommand } from "./remote-artifacts-refresh.js";
|
|
48
36
|
import { remoteArtifactsResolveCommand } from "./remote-artifacts-resolve.js";
|
|
49
|
-
import { nodesCreateCommand } from "./nodes-create.js";
|
|
50
|
-
import { artifactsUploadPrepareCommand } from "./artifacts-upload-prepare.js";
|
|
51
|
-
import { artifactsUploadFinalizeCommand } from "./artifacts-upload-finalize.js";
|
|
52
|
-
import { artifactsUploadCommand } from "./artifacts-upload.js";
|
|
53
|
-
import { artifactsDeleteBulkCommand } from "./artifacts-delete-bulk.js";
|
|
54
|
-
import { artifactsDeleteCommand } from "./artifacts-delete.js";
|
|
55
|
-
import { artifactsNoteSetCommand } from "./artifacts-note-set.js";
|
|
56
37
|
import { hooksListCommand } from "./hooks-list.js";
|
|
57
38
|
import { hooksCreateCommand } from "./hooks-create.js";
|
|
58
39
|
import { hooksUpdateCommand } from "./hooks-update.js";
|
|
@@ -131,34 +112,34 @@ import { apiKeysRotateCommand } from "./api-keys-rotate.js";
|
|
|
131
112
|
// FLY-416: removed — legacy /setup-exchange replaced by RFC 8628 device flow.
|
|
132
113
|
// import { apiKeysSetupExchangeCreateCommand } from './api-keys-setup-exchange-create.js';
|
|
133
114
|
// import { apiKeysSetupExchangeRedeemCommand } from './api-keys-setup-exchange-redeem.js';
|
|
134
|
-
import {
|
|
135
|
-
import {
|
|
115
|
+
import { authCredentialsSetCommand } from "./auth-credentials-set.js";
|
|
116
|
+
import { authCredentialsClearCommand } from "./auth-credentials-clear.js";
|
|
136
117
|
import { envSwitchCommand, envListCommand } from "./env.js";
|
|
137
|
-
|
|
118
|
+
import { repositoryProjectionHandlers } from "./repository-projection.js";
|
|
119
|
+
import { repositoryOperationHandlers } from "./repository-operation.js";
|
|
120
|
+
import { repositoryEditHandlers } from "./repository-edit.js";
|
|
121
|
+
import { hostedGraphHandlers } from "./hosted-graph.js";
|
|
122
|
+
export { artifactsGetCommand, artifactsListCommand, authLoginCommand, authStatusCommand, computeStatusCommand, exportSubgraphCommand, graphGetCommand, nodesGetCommand, hostedLineageListCommand, nodesListCommand, nodesRenderTreeCommand, nodesStageLeaseAcquireCommand, profileListCommand, profileShowCommand, profileSetCommand, profileUnsetCommand, };
|
|
138
123
|
export const MVP_COMMAND_HANDLERS = {
|
|
124
|
+
...repositoryProjectionHandlers,
|
|
125
|
+
...repositoryOperationHandlers,
|
|
126
|
+
...repositoryEditHandlers,
|
|
127
|
+
...hostedGraphHandlers,
|
|
139
128
|
"auth:status": authStatusCommand,
|
|
140
129
|
"auth:login": authLoginCommand,
|
|
141
|
-
"
|
|
142
|
-
"
|
|
143
|
-
"
|
|
144
|
-
"nodes:parents": nodesParentsCommand,
|
|
145
|
-
"nodes:commit-new": nodesCommitNewCommand,
|
|
130
|
+
"hosted:node:list": nodesListCommand,
|
|
131
|
+
"hosted:node:get": nodesGetCommand,
|
|
132
|
+
"hosted:lineage:list": hostedLineageListCommand,
|
|
146
133
|
"nodes:stage:lease:acquire": nodesStageLeaseAcquireCommand,
|
|
147
|
-
"nodes:commit": nodesCommitCommand,
|
|
148
|
-
"nodes:delete": nodesDeleteCommand,
|
|
149
134
|
"nodes:render:tree": nodesRenderTreeCommand,
|
|
150
|
-
"
|
|
151
|
-
"
|
|
135
|
+
"hosted:artifact:list": artifactsListCommand,
|
|
136
|
+
"hosted:artifact:get": artifactsGetCommand,
|
|
152
137
|
"compute:status": computeStatusCommand,
|
|
153
138
|
"export:subgraph": exportSubgraphCommand,
|
|
154
139
|
"profile:list": profileListCommand,
|
|
155
140
|
"profile:show": profileShowCommand,
|
|
156
141
|
"profile:set": profileSetCommand,
|
|
157
142
|
"profile:unset": profileUnsetCommand,
|
|
158
|
-
"tags:create": tagsCreateCommand,
|
|
159
|
-
"tags:update": tagsUpdateCommand,
|
|
160
|
-
"tags:delete": tagsDeleteCommand,
|
|
161
|
-
"tags:assign": tagsAssignCommand,
|
|
162
143
|
"nodes:sharing:get": nodesSharingGetCommand,
|
|
163
144
|
"nodes:sharing:set": nodesSharingSetCommand,
|
|
164
145
|
"nodes:sharing:set-bulk": nodesSharingSetBulkCommand,
|
|
@@ -167,24 +148,12 @@ export const MVP_COMMAND_HANDLERS = {
|
|
|
167
148
|
"admin:nodes:audit:list": adminNodesAuditListCommand,
|
|
168
149
|
"nodes:render:ancestry": nodesRenderAncestryCommand,
|
|
169
150
|
"nodes:render:summary": nodesRenderSummaryCommand,
|
|
170
|
-
"nodes:add-parent": nodesAddParentCommand,
|
|
171
|
-
"nodes:remove-parent": nodesRemoveParentCommand,
|
|
172
|
-
"nodes:branch": nodesBranchCommand,
|
|
173
|
-
"nodes:merge": nodesMergeCommand,
|
|
174
|
-
"nodes:delete-bulk": nodesDeleteBulkCommand,
|
|
175
151
|
"nodes:files": nodesFilesCommand,
|
|
176
152
|
"nodes:stage:lease:heartbeat": nodesStageLeaseHeartbeatCommand,
|
|
177
153
|
"nodes:stage:lease:release": nodesStageLeaseReleaseCommand,
|
|
178
154
|
"campaign:snapshot": campaignSnapshotCommand,
|
|
179
155
|
"remote-artifacts:resolve": remoteArtifactsResolveCommand,
|
|
180
156
|
"remote-artifacts:refresh": remoteArtifactsRefreshCommand,
|
|
181
|
-
"nodes:create": nodesCreateCommand,
|
|
182
|
-
"artifacts:upload:prepare": artifactsUploadPrepareCommand,
|
|
183
|
-
"artifacts:upload:finalize": artifactsUploadFinalizeCommand,
|
|
184
|
-
"artifacts:upload": artifactsUploadCommand,
|
|
185
|
-
"artifacts:delete-bulk": artifactsDeleteBulkCommand,
|
|
186
|
-
"artifacts:delete": artifactsDeleteCommand,
|
|
187
|
-
"artifacts:note:set": artifactsNoteSetCommand,
|
|
188
157
|
"hooks:list": hooksListCommand,
|
|
189
158
|
"hooks:create": hooksCreateCommand,
|
|
190
159
|
"hooks:update": hooksUpdateCommand,
|
|
@@ -264,14 +233,15 @@ export const MVP_COMMAND_HANDLERS = {
|
|
|
264
233
|
// FLY-416: removed — legacy /setup-exchange replaced by RFC 8628 device flow.
|
|
265
234
|
// 'api-keys:setup-exchange:create': apiKeysSetupExchangeCreateCommand,
|
|
266
235
|
// 'api-keys:setup-exchange:redeem': apiKeysSetupExchangeRedeemCommand,
|
|
267
|
-
"auth:
|
|
268
|
-
"auth:
|
|
236
|
+
"auth:credentials:set": authCredentialsSetCommand,
|
|
237
|
+
"auth:credentials:clear": authCredentialsClearCommand,
|
|
269
238
|
"admin:graphs:list": adminGraphsListCommand,
|
|
270
239
|
"admin:graphs:export": adminGraphsExportCommand,
|
|
271
240
|
"admin:graphs:export:stream": adminGraphsExportStreamCommand,
|
|
272
241
|
"admin:test-users:create": adminTestUsersCreateCommand,
|
|
273
242
|
"admin:test-users:delete": adminTestUsersDeleteCommand,
|
|
274
243
|
"admin:test-users:login": adminTestUsersLoginCommand,
|
|
244
|
+
"admin:test-users:revoke-api-key": adminTestUsersRevokeApiKeyCommand,
|
|
275
245
|
"env:list": envListCommand,
|
|
276
246
|
"env:switch": envSwitchCommand,
|
|
277
247
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/commands/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,EAAE,wBAAwB,EAAE,MAAM,0BAA0B,CAAC;AACpE,OAAO,EAAE,8BAA8B,EAAE,MAAM,iCAAiC,CAAC;AACjF,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,EAAE,2BAA2B,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,EAAE,2BAA2B,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,EAAE,0BAA0B,EAAE,MAAM,6BAA6B,CAAC;AACzE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/commands/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,EAAE,wBAAwB,EAAE,MAAM,0BAA0B,CAAC;AACpE,OAAO,EAAE,8BAA8B,EAAE,MAAM,iCAAiC,CAAC;AACjF,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,EAAE,2BAA2B,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,EAAE,2BAA2B,EAAE,MAA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AAqB;IACxC,sBAAsB,EAAE,0BAA0B;IAClD,eAAe,EAAE,mBAAmB;IACpC,kBAAkB,EAAE,sBAAsB;IAC1C,mBAAmB,EAAE,uBAAuB;IAC5C,wBAAwB,EAAE,2BAA2B;IACrD,sBAAsB,EAAE,0BAA0B;IAClD,kBAAkB,EAAE,sBAAsB;IAC1C,wBAAwB,EAAE,2BAA2B;IACrD,eAAe,EAAE,mBAAmB;IACpC,aAAa,EAAE,iBAAiB;IAChC,sBAAsB,EAAE,yBAAyB;IACjD,mBAAmB,EAAE,uBAAuB;IAC5C,qBAAqB,EAAE,yBAAyB;IAChD,wBAAwB,EAAE,2BAA2B;IACrD,2BAA2B,EAAE,8BAA8B;IAC3D,8BAA8B,EAAE,iCAAiC;IACjE,iCAAiC,EAAE,oCAAoC;IACvE,eAAe,EAAE,kBAAkB;IACnC,iBAAiB,EAAE,oBAAoB;IACvC,iBAAiB,EAAE,oBAAoB;IACvC,iBAAiB,EAAE,oBAAoB;IACvC,8EAA8E;IAC9E,uEAAuE;IACvE,uEAAuE;IACvE,sBAAsB,EAAE,yBAAyB;IACjD,wBAAwB,EAAE,2BAA2B;IACrD,mBAAmB,EAAE,sBAAsB;IAC3C,qBAAqB,EAAE,wBAAwB;IAC/C,4BAA4B,EAAE,8BAA8B;IAC5D,yBAAyB,EAAE,2BAA2B;IACtD,yBAAyB,EAAE,2BAA2B;IACtD,wBAAwB,EAAE,0BAA0B;IACpD,iCAAiC,EAAE,iCAAiC;IACpE,UAAU,EAAE,cAAc;IAC1B,YAAY,EAAE,gBAAgB;CAC/B,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export const NODE_FIELDS = [
|
|
2
|
+
'title',
|
|
3
|
+
'slug_name',
|
|
4
|
+
'summary',
|
|
5
|
+
'content',
|
|
6
|
+
'origin_host',
|
|
7
|
+
'external_transcript_ref',
|
|
8
|
+
];
|
|
9
|
+
export const NODE_CREATE_SCHEMA = {
|
|
10
|
+
fields: NODE_FIELDS.map((name) => ({
|
|
11
|
+
name,
|
|
12
|
+
type: 'string|null',
|
|
13
|
+
default: null,
|
|
14
|
+
})),
|
|
15
|
+
example: {
|
|
16
|
+
title: 'First node',
|
|
17
|
+
slug_name: null,
|
|
18
|
+
summary: null,
|
|
19
|
+
content: null,
|
|
20
|
+
origin_host: null,
|
|
21
|
+
external_transcript_ref: null,
|
|
22
|
+
},
|
|
23
|
+
};
|
|
24
|
+
export const NODE_CREATE_SCHEMA_TEXT = JSON.stringify(NODE_CREATE_SCHEMA, null, 2);
|
|
25
|
+
//# sourceMappingURL=node-create-schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"node-create-schema.js","sourceRoot":"","sources":["../../src/commands/node-create-schema.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,OAAO;IACP,WAAW;IACX,SAAS;IACT,SAAS;IACT,aAAa;IACb,yBAAyB;CACjB,CAAC;AAEX,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,MAAM,EAAE,WAAW,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;QACjC,IAAI;QACJ,IAAI,EAAE,aAAa;QACnB,OAAO,EAAE,IAAI;KACd,CAAC,CAAC;IACH,OAAO,EAAE;QACP,KAAK,EAAE,YAAY;QACnB,SAAS,EAAE,IAAI;QACf,OAAO,EAAE,IAAI;QACb,OAAO,EAAE,IAAI;QACb,WAAW,EAAE,IAAI;QACjB,uBAAuB,EAAE,IAAI;KAC9B;CACO,CAAC;AAEX,MAAM,CAAC,MAAM,uBAAuB,GAAG,IAAI,CAAC,SAAS,CAAC,kBAAkB,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -1,16 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { BUILTIN_PROFILES, BUILTIN_PROFILE_NAMES } from
|
|
3
|
-
import { isInternalMode } from
|
|
4
|
-
export const profileListCommand = async () => {
|
|
5
|
-
const
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { loadFlywheelConfig } from "../config/index.js";
|
|
2
|
+
import { BUILTIN_PROFILES, BUILTIN_PROFILE_NAMES } from "../auth/profiles.js";
|
|
3
|
+
import { isInternalMode } from "./help.js";
|
|
4
|
+
export const profileListCommand = async (context) => {
|
|
5
|
+
const config = await loadFlywheelConfig({
|
|
6
|
+
env: { ...process.env, FLYWHEEL_CLI_CONFIG_PATH: context.configPath },
|
|
7
|
+
});
|
|
8
|
+
const names = Object.keys(config.profiles ?? {}).sort();
|
|
9
|
+
const builtinNames = BUILTIN_PROFILE_NAMES.filter((name) => isInternalMode() || !BUILTIN_PROFILES[name].hidden);
|
|
8
10
|
return {
|
|
9
11
|
profiles: names,
|
|
10
|
-
user_profiles: names.map((name) => ({ name, source:
|
|
12
|
+
user_profiles: names.map((name) => ({ name, source: "user" })),
|
|
11
13
|
builtin_profiles: builtinNames.map((name) => ({
|
|
12
14
|
name,
|
|
13
|
-
source:
|
|
15
|
+
source: "builtin",
|
|
14
16
|
baseUrl: BUILTIN_PROFILES[name].baseUrl,
|
|
15
17
|
})),
|
|
16
18
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profile-list.js","sourceRoot":"","sources":["../../src/commands/profile-list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"profile-list.js","sourceRoot":"","sources":["../../src/commands/profile-list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC9E,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAG3C,MAAM,CAAC,MAAM,kBAAkB,GAAmB,KAAK,EAAE,OAAO,EAAE,EAAE;IAClE,MAAM,MAAM,GAAG,MAAM,kBAAkB,CAAC;QACtC,GAAG,EAAE,EAAE,GAAG,OAAO,CAAC,GAAG,EAAE,wBAAwB,EAAE,OAAO,CAAC,UAAU,EAAE;KACtE,CAAC,CAAC;IACH,MAAM,KAAK,GAAG,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,QAAQ,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC;IACxD,MAAM,YAAY,GAAG,qBAAqB,CAAC,MAAM,CAC/C,CAAC,IAAI,EAAE,EAAE,CAAC,cAAc,EAAE,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC,MAAM,CAC7D,CAAC;IACF,OAAO;QACL,QAAQ,EAAE,KAAK;QACf,aAAa,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;QAC9D,gBAAgB,EAAE,YAAY,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;YAC5C,IAAI;YACJ,MAAM,EAAE,SAAS;YACjB,OAAO,EAAE,gBAAgB,CAAC,IAAI,CAAC,CAAC,OAAO;SACxC,CAAC,CAAC;KACJ,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1,58 +1,51 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { BUILTIN_PROFILES, BUILTIN_PROFILE_NAMES, isBuiltinProfileName, } from
|
|
3
|
-
import { CliUsageError } from
|
|
4
|
-
import { EXIT_USAGE } from
|
|
5
|
-
import { isInternalMode } from
|
|
6
|
-
import { requiredString } from
|
|
7
|
-
const FORMAT_VALUES = [
|
|
1
|
+
import { loadFlywheelConfig, saveFlywheelConfig, } from "../config/index.js";
|
|
2
|
+
import { BUILTIN_PROFILES, BUILTIN_PROFILE_NAMES, isBuiltinProfileName, } from "../auth/profiles.js";
|
|
3
|
+
import { CliUsageError } from "../errors.js";
|
|
4
|
+
import { EXIT_USAGE } from "../exit-codes.js";
|
|
5
|
+
import { isInternalMode } from "./help.js";
|
|
6
|
+
import { requiredString } from "./utils.js";
|
|
7
|
+
const FORMAT_VALUES = [
|
|
8
|
+
"json",
|
|
9
|
+
"tsv",
|
|
10
|
+
"csv",
|
|
11
|
+
"table",
|
|
12
|
+
];
|
|
8
13
|
export const profileSetCommand = async (context) => {
|
|
9
|
-
const name = requiredString(context.params,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
// names is silently ignored at runtime — the user changes settings,
|
|
14
|
-
// sees no effect, and has no way to diagnose from the CLI's output.
|
|
15
|
-
// Reject at creation/update time so the failure is immediate and
|
|
16
|
-
// actionable. Mirrors the same-named guard in `env:switch`.
|
|
17
|
-
if (isBuiltinProfileName(name)) {
|
|
18
|
-
const internal = isInternalMode();
|
|
19
|
-
const reserved = BUILTIN_PROFILE_NAMES.filter((n) => internal || !BUILTIN_PROFILES[n].hidden).join(', ');
|
|
20
|
-
throw new CliUsageError(`profile name "${name}" is reserved for built-in profiles (${reserved}); ` +
|
|
21
|
-
'use `env:switch` to select a built-in, or pick a different name.', { exitCode: EXIT_USAGE });
|
|
14
|
+
const name = requiredString(context.params, "name");
|
|
15
|
+
if (isBuiltinProfileName(name) || name === "local") {
|
|
16
|
+
const reserved = BUILTIN_PROFILE_NAMES.filter((profile) => isInternalMode() || !BUILTIN_PROFILES[profile].hidden).join(", ");
|
|
17
|
+
throw new CliUsageError(`profile name "${name}" is reserved for built-in profiles (${reserved}, local); pick a different name.`, { exitCode: EXIT_USAGE });
|
|
22
18
|
}
|
|
23
|
-
const
|
|
24
|
-
|
|
19
|
+
const profile = {
|
|
20
|
+
baseUrl: requiredString(context.params, "base_url"),
|
|
21
|
+
};
|
|
25
22
|
const apiKeyEnv = context.params.api_key_env;
|
|
26
|
-
if (typeof apiKeyEnv ===
|
|
23
|
+
if (typeof apiKeyEnv === "string" && apiKeyEnv.trim())
|
|
27
24
|
profile.apiKeyEnv = apiKeyEnv.trim();
|
|
25
|
+
if (context.params.api_key_keychain !== undefined) {
|
|
26
|
+
throw new CliUsageError("--api_key_keychain is retired and has no replacement; credentials are stored separately.");
|
|
28
27
|
}
|
|
29
|
-
const
|
|
30
|
-
if (
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
if (typeof fmt === 'string') {
|
|
35
|
-
if (!FORMAT_VALUES.includes(fmt)) {
|
|
36
|
-
throw new CliUsageError(`invalid default_format=${fmt}; expected one of: ${FORMAT_VALUES.join(', ')}`);
|
|
37
|
-
}
|
|
38
|
-
profile.defaultFormat = fmt;
|
|
28
|
+
const format = context.params.default_format;
|
|
29
|
+
if (typeof format === "string") {
|
|
30
|
+
if (!FORMAT_VALUES.includes(format))
|
|
31
|
+
throw new CliUsageError(`invalid default_format=${format}; expected one of: ${FORMAT_VALUES.join(", ")}`);
|
|
32
|
+
profile.defaultFormat = format;
|
|
39
33
|
}
|
|
40
34
|
const timeout = context.params.default_timeout_s;
|
|
41
|
-
if (typeof timeout ===
|
|
35
|
+
if (typeof timeout === "string" && timeout.trim()) {
|
|
42
36
|
const parsed = Number.parseInt(timeout, 10);
|
|
43
|
-
if (Number.isNaN(parsed) ||
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
// silently brick every request: Node's setTimeout fires a <1ms delay on
|
|
48
|
-
// the next tick (clamped), so the AbortController aborts before the
|
|
49
|
-
// transport attempt completes.
|
|
50
|
-
if (parsed < 1 || parsed > 86_400) {
|
|
37
|
+
if (Number.isNaN(parsed) ||
|
|
38
|
+
String(parsed) !== timeout.trim() ||
|
|
39
|
+
parsed < 1 ||
|
|
40
|
+
parsed > 86400)
|
|
51
41
|
throw new CliUsageError(`invalid default_timeout_s=${timeout}: must be between 1 and 86400 seconds`);
|
|
52
|
-
}
|
|
53
42
|
profile.defaultTimeoutS = parsed;
|
|
54
43
|
}
|
|
55
|
-
await
|
|
56
|
-
|
|
44
|
+
const config = await loadFlywheelConfig({
|
|
45
|
+
env: { ...process.env, FLYWHEEL_CLI_CONFIG_PATH: context.configPath },
|
|
46
|
+
});
|
|
47
|
+
config.profiles = { ...config.profiles, [name]: profile };
|
|
48
|
+
await saveFlywheelConfig(config, context.configPath);
|
|
49
|
+
return { ok: true, profile: name };
|
|
57
50
|
};
|
|
58
51
|
//# sourceMappingURL=profile-set.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profile-set.js","sourceRoot":"","sources":["../../src/commands/profile-set.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"profile-set.js","sourceRoot":"","sources":["../../src/commands/profile-set.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,kBAAkB,GAEnB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,gBAAgB,EAChB,qBAAqB,EACrB,oBAAoB,GACrB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAE3C,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAE5C,MAAM,aAAa,GAAgC;IACjD,MAAM;IACN,KAAK;IACL,KAAK;IACL,OAAO;CACR,CAAC;AACF,MAAM,CAAC,MAAM,iBAAiB,GAAmB,KAAK,EAAE,OAAO,EAAE,EAAE;IACjE,MAAM,IAAI,GAAG,cAAc,CAAC,OAAO,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACpD,IAAI,oBAAoB,CAAC,IAAI,CAAC,IAAI,IAAI,KAAK,OAAO,EAAE,CAAC;QACnD,MAAM,QAAQ,GAAG,qBAAqB,CAAC,MAAM,CAC3C,CAAC,OAAO,EAAE,EAAE,CAAC,cAAc,EAAE,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC,MAAM,CACnE,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACb,MAAM,IAAI,aAAa,CACrB,i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