@paradigma-inc/flywheel 0.1.111 → 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 +79 -13
- 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/getting-started/flywheel-tutorial-overview.md +1 -1
- 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/how-can-i-get-an-authorized-client_id-for-the-oauth-flow.md +12 -4
- package/skills/flywheel/setting-up-flywheel/installation-overview.md +2 -6
- package/skills/flywheel/setting-up-flywheel/other-hosts-installation.md +53 -26
- 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 +83 -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/_browser-handoff.js +36 -14
- package/src/runtime/vendor/flywheel-cli-dist/commands/_browser-handoff.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/_open-url.js +15 -6
- package/src/runtime/vendor/flywheel-cli-dist/commands/_open-url.js.map +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/commands/admin-test-users-create.js +256 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/admin-test-users-create.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/admin-test-users-delete.js +11 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/admin-test-users-delete.js.map +1 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/admin-test-users-login.js +84 -0
- package/src/runtime/vendor/flywheel-cli-dist/commands/admin-test-users-login.js.map +1 -0
- 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 +239 -263
- 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 +237 -66
- 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 -302
- 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 +252 -254
- 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 -21
- 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/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
|
@@ -27,7 +27,7 @@ export const LIFECYCLE_COMMANDS = [
|
|
|
27
27
|
invocation: 'flywheel nodes:resolve-slug --slug_name my-experiment --detail full',
|
|
28
28
|
},
|
|
29
29
|
],
|
|
30
|
-
related: ['
|
|
30
|
+
related: ['hosted:node:get'],
|
|
31
31
|
},
|
|
32
32
|
{
|
|
33
33
|
name: 'nodes:render:ancestry',
|
|
@@ -59,125 +59,6 @@ export const LIFECYCLE_COMMANDS = [
|
|
|
59
59
|
],
|
|
60
60
|
related: ['nodes:render:tree', 'nodes:render:ancestry'],
|
|
61
61
|
},
|
|
62
|
-
{
|
|
63
|
-
name: 'nodes:add-parent',
|
|
64
|
-
group: 'nodes-graph',
|
|
65
|
-
summary: 'Add a parent-child edge (mirrors POST /nodes/{node_id}/parents/add).',
|
|
66
|
-
endpoints: ['POST /nodes/{node_id}/parents/add'],
|
|
67
|
-
required: [
|
|
68
|
-
{ name: 'node_id', type: 'string', description: 'Child node receiving the edge.' },
|
|
69
|
-
{ name: 'parent_id', type: 'string', description: 'Parent node to attach.' },
|
|
70
|
-
{
|
|
71
|
-
name: 'expected_revision',
|
|
72
|
-
type: 'integer',
|
|
73
|
-
description: 'Optimistic lock for the child node.',
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
name: 'expected_parent_revision',
|
|
77
|
-
type: 'integer',
|
|
78
|
-
description: 'Optimistic lock for the parent node.',
|
|
79
|
-
},
|
|
80
|
-
],
|
|
81
|
-
optional: [],
|
|
82
|
-
examples: [
|
|
83
|
-
{
|
|
84
|
-
description: 'Attach a parent.',
|
|
85
|
-
invocation: 'flywheel nodes:add-parent --node_id n_child --parent_id n_parent --expected_revision 5 --expected_parent_revision 2',
|
|
86
|
-
},
|
|
87
|
-
],
|
|
88
|
-
related: ['nodes:remove-parent'],
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
name: 'nodes:remove-parent',
|
|
92
|
-
group: 'nodes-graph',
|
|
93
|
-
summary: 'Remove a parent-child edge.',
|
|
94
|
-
endpoints: ['POST /nodes/{node_id}/parents/remove'],
|
|
95
|
-
required: [
|
|
96
|
-
{ name: 'node_id', type: 'string', description: 'Child node identifier.' },
|
|
97
|
-
{ name: 'parent_id', type: 'string', description: 'Parent node identifier.' },
|
|
98
|
-
{
|
|
99
|
-
name: 'expected_revision',
|
|
100
|
-
type: 'integer',
|
|
101
|
-
description: 'Optimistic lock for the child node.',
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
name: 'expected_parent_revision',
|
|
105
|
-
type: 'integer',
|
|
106
|
-
description: 'Optimistic lock for the parent node.',
|
|
107
|
-
},
|
|
108
|
-
],
|
|
109
|
-
optional: [],
|
|
110
|
-
examples: [
|
|
111
|
-
{
|
|
112
|
-
description: 'Detach a parent.',
|
|
113
|
-
invocation: 'flywheel nodes:remove-parent --node_id n_child --parent_id n_parent --expected_revision 5 --expected_parent_revision 2',
|
|
114
|
-
},
|
|
115
|
-
],
|
|
116
|
-
related: ['nodes:add-parent'],
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
name: 'nodes:branch',
|
|
120
|
-
group: 'nodes-graph',
|
|
121
|
-
summary: 'Create a child branch from a node.',
|
|
122
|
-
endpoints: ['POST /nodes/{node_id}/branch'],
|
|
123
|
-
required: [{ name: 'node_id', type: 'string', description: 'Source node.' }],
|
|
124
|
-
optional: [
|
|
125
|
-
{ name: 'expected_revision', type: 'integer', description: 'Optimistic lock.' },
|
|
126
|
-
],
|
|
127
|
-
examples: [
|
|
128
|
-
{
|
|
129
|
-
description: 'Read the current revision, then branch from a node.',
|
|
130
|
-
invocation: 'flywheel nodes:get --node_id n_abc --format=json\nflywheel nodes:branch --node_id n_abc --expected_revision 7',
|
|
131
|
-
},
|
|
132
|
-
],
|
|
133
|
-
related: ['nodes:merge'],
|
|
134
|
-
},
|
|
135
|
-
{
|
|
136
|
-
name: 'nodes:merge',
|
|
137
|
-
group: 'nodes-graph',
|
|
138
|
-
summary: 'Merge multiple nodes into one resolved node.',
|
|
139
|
-
endpoints: ['POST /nodes/merge'],
|
|
140
|
-
required: [
|
|
141
|
-
{ name: 'node_ids', type: 'string', description: 'Comma-separated node IDs.' },
|
|
142
|
-
{
|
|
143
|
-
name: 'expected_revision_by_node',
|
|
144
|
-
type: 'json',
|
|
145
|
-
description: 'JSON object mapping node_id to revision.',
|
|
146
|
-
},
|
|
147
|
-
],
|
|
148
|
-
optional: [
|
|
149
|
-
{ name: 'title', type: 'string', description: 'Resolved node title.' },
|
|
150
|
-
{ name: 'resolved_node', type: 'json', description: 'Resolved node JSON blob.' },
|
|
151
|
-
],
|
|
152
|
-
examples: [
|
|
153
|
-
{
|
|
154
|
-
description: 'Read current revisions, then merge two branches.',
|
|
155
|
-
invocation: `flywheel nodes:get --node_id n1 --format=json\nflywheel nodes:get --node_id n2 --format=json\nflywheel nodes:merge --node_ids n1,n2 --expected_revision_by_node '{"n1":5,"n2":3}'`,
|
|
156
|
-
},
|
|
157
|
-
],
|
|
158
|
-
related: ['nodes:branch'],
|
|
159
|
-
},
|
|
160
|
-
{
|
|
161
|
-
name: 'nodes:delete-bulk',
|
|
162
|
-
group: 'nodes-graph',
|
|
163
|
-
summary: 'Delete multiple node subtrees. Requires --yes.',
|
|
164
|
-
endpoints: ['POST /nodes/bulk-delete'],
|
|
165
|
-
required: [{ name: 'node_ids', type: 'string', description: 'Comma-separated node IDs.' }],
|
|
166
|
-
optional: [
|
|
167
|
-
{
|
|
168
|
-
name: 'delete_mode',
|
|
169
|
-
type: 'string',
|
|
170
|
-
description: 'cascade | detach_shared (default detach_shared).',
|
|
171
|
-
},
|
|
172
|
-
],
|
|
173
|
-
examples: [
|
|
174
|
-
{
|
|
175
|
-
description: 'Bulk delete.',
|
|
176
|
-
invocation: 'flywheel nodes:delete-bulk --node_ids n1,n2 --delete_mode cascade --yes',
|
|
177
|
-
},
|
|
178
|
-
],
|
|
179
|
-
related: ['nodes:delete'],
|
|
180
|
-
},
|
|
181
62
|
{
|
|
182
63
|
name: 'nodes:files',
|
|
183
64
|
group: 'nodes-graph',
|
|
@@ -188,7 +69,7 @@ export const LIFECYCLE_COMMANDS = [
|
|
|
188
69
|
examples: [
|
|
189
70
|
{ description: 'List files.', invocation: 'flywheel nodes:files --node_id n_abc' },
|
|
190
71
|
],
|
|
191
|
-
related: ['
|
|
72
|
+
related: ['hosted:artifact:list'],
|
|
192
73
|
},
|
|
193
74
|
{
|
|
194
75
|
name: 'nodes:stage:lease:heartbeat',
|
|
@@ -284,7 +165,7 @@ export const LIFECYCLE_COMMANDS = [
|
|
|
284
165
|
invocation: 'flywheel remote-artifacts:resolve --node_id n_abc --remote_artifact_id official_leaderboard --title "Official Leaderboard" --url https://example.com/leaderboard.json --rows_path items --row_id github_username',
|
|
285
166
|
},
|
|
286
167
|
],
|
|
287
|
-
related: ['remote-artifacts:refresh', '
|
|
168
|
+
related: ['remote-artifacts:refresh', 'hosted:artifact:get'],
|
|
288
169
|
},
|
|
289
170
|
{
|
|
290
171
|
name: 'remote-artifacts:refresh',
|
|
@@ -324,22 +205,7 @@ export const LIFECYCLE_COMMANDS = [
|
|
|
324
205
|
invocation: 'flywheel remote-artifacts:refresh --node_id n_abc --remote_artifact_id official_leaderboard --title "Official Leaderboard" --url https://example.com/leaderboard.json --rows_path items --row_id github_username',
|
|
325
206
|
},
|
|
326
207
|
],
|
|
327
|
-
related: ['remote-artifacts:resolve', '
|
|
328
|
-
},
|
|
329
|
-
{
|
|
330
|
-
name: 'nodes:create',
|
|
331
|
-
group: 'nodes-graph',
|
|
332
|
-
summary: 'Create a minimal node (title only) and emit graph-change event.',
|
|
333
|
-
endpoints: ['POST /nodes'],
|
|
334
|
-
required: [{ name: 'title', type: 'string', description: 'Node title.' }],
|
|
335
|
-
optional: [],
|
|
336
|
-
examples: [
|
|
337
|
-
{
|
|
338
|
-
description: 'Create a node.',
|
|
339
|
-
invocation: `flywheel nodes:create --title "my new node"`,
|
|
340
|
-
},
|
|
341
|
-
],
|
|
342
|
-
related: ['nodes:commit-new'],
|
|
208
|
+
related: ['remote-artifacts:resolve', 'hosted:artifact:get'],
|
|
343
209
|
},
|
|
344
210
|
];
|
|
345
211
|
//# sourceMappingURL=lifecycle.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lifecycle.js","sourceRoot":"","sources":["../../../src/commands/registry/lifecycle.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,kBAAkB,GAAqC;IAClE;QACE,IAAI,EAAE,oBAAoB;QAC1B,KAAK,EAAE,aAAa;QACpB,OAAO,EAAE,8BAA8B;QACvC,SAAS,EAAE,CAAC,4BAA4B,CAAC;QACzC,QAAQ,EAAE,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,YAAY,EAAE,CAAC;QAC5E,QAAQ,EAAE;YACR;gBACE,IAAI,EAAE,iBAAiB;gBACvB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,8BAA8B;aAC5C;YACD;gBACE,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,2CAA2C;aACzD;SACF;QACD,QAAQ,EAAE;YACR;gBACE,WAAW,EAAE,iBAAiB;gBAC9B,UAAU,EAAE,uDAAuD;aACpE;YACD;gBACE,WAAW,EAAE,2CAA2C;gBACxD,UAAU,EAAE,qEAAqE;aAClF;SACF;QACD,OAAO,EAAE,CAAC,
|
|
1
|
+
{"version":3,"file":"lifecycle.js","sourceRoot":"","sources":["../../../src/commands/registry/lifecycle.ts"],"names":[],"mappings":"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"}
|
|
@@ -2,7 +2,7 @@ export const PROFILE_COMMANDS = [
|
|
|
2
2
|
{
|
|
3
3
|
name: 'profile:list',
|
|
4
4
|
group: 'profile',
|
|
5
|
-
summary: 'List
|
|
5
|
+
summary: 'List built-in and custom profiles from the unified user TOML config.',
|
|
6
6
|
endpoints: [],
|
|
7
7
|
required: [],
|
|
8
8
|
optional: [],
|
|
@@ -12,7 +12,7 @@ export const PROFILE_COMMANDS = [
|
|
|
12
12
|
{
|
|
13
13
|
name: 'profile:show',
|
|
14
14
|
group: 'profile',
|
|
15
|
-
summary: 'Show a profile
|
|
15
|
+
summary: 'Show a built-in or custom profile without exposing its credential.',
|
|
16
16
|
endpoints: [],
|
|
17
17
|
required: [{ name: 'name', type: 'string', description: 'Profile name.' }],
|
|
18
18
|
optional: [],
|
|
@@ -27,11 +27,11 @@ export const PROFILE_COMMANDS = [
|
|
|
27
27
|
{
|
|
28
28
|
name: 'profile:set',
|
|
29
29
|
group: 'profile',
|
|
30
|
-
summary: 'Create or update a
|
|
30
|
+
summary: 'Create or update a custom profile in the unified user TOML config (never stores plaintext keys).',
|
|
31
31
|
endpoints: [],
|
|
32
32
|
required: [
|
|
33
33
|
{ name: 'name', type: 'string', description: 'Profile name.' },
|
|
34
|
-
{ name: 'base_url', type: 'string', description: '
|
|
34
|
+
{ name: 'base_url', type: 'string', description: 'API base URL including the /api suffix.' },
|
|
35
35
|
],
|
|
36
36
|
optional: [
|
|
37
37
|
{
|
|
@@ -39,15 +39,10 @@ export const PROFILE_COMMANDS = [
|
|
|
39
39
|
type: 'string',
|
|
40
40
|
description: 'Name of env var that holds the API key at runtime.',
|
|
41
41
|
},
|
|
42
|
-
{
|
|
43
|
-
name: 'api_key_keychain',
|
|
44
|
-
type: 'boolean',
|
|
45
|
-
description: 'If set, the CLI reads the API key from the OS keychain.',
|
|
46
|
-
},
|
|
47
42
|
{
|
|
48
43
|
name: 'default_format',
|
|
49
44
|
type: 'string',
|
|
50
|
-
description: 'Output format default (json|tsv|csv).',
|
|
45
|
+
description: 'Output format default (json|tsv|csv|table).',
|
|
51
46
|
},
|
|
52
47
|
{
|
|
53
48
|
name: 'default_timeout_s',
|
|
@@ -57,8 +52,8 @@ export const PROFILE_COMMANDS = [
|
|
|
57
52
|
],
|
|
58
53
|
examples: [
|
|
59
54
|
{
|
|
60
|
-
description: 'Create
|
|
61
|
-
invocation: 'flywheel profile:set --name
|
|
55
|
+
description: 'Create a research profile using an environment-provided API key.',
|
|
56
|
+
invocation: 'flywheel profile:set --name research --base_url=https://example.test/api --api_key_env=RESEARCH_API_KEY',
|
|
62
57
|
},
|
|
63
58
|
],
|
|
64
59
|
related: ['profile:show', 'profile:unset'],
|
|
@@ -66,7 +61,7 @@ export const PROFILE_COMMANDS = [
|
|
|
66
61
|
{
|
|
67
62
|
name: 'profile:unset',
|
|
68
63
|
group: 'profile',
|
|
69
|
-
summary: 'Delete a
|
|
64
|
+
summary: 'Delete a custom profile from the unified user TOML config.',
|
|
70
65
|
endpoints: [],
|
|
71
66
|
required: [{ name: 'name', type: 'string', description: 'Profile name.' }],
|
|
72
67
|
optional: [],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profile.js","sourceRoot":"","sources":["../../../src/commands/registry/profile.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,gBAAgB,GAAqC;IAChE;QACE,IAAI,EAAE,cAAc;QACpB,KAAK,EAAE,SAAS;QAChB,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"profile.js","sourceRoot":"","sources":["../../../src/commands/registry/profile.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,gBAAgB,GAAqC;IAChE;QACE,IAAI,EAAE,cAAc;QACpB,KAAK,EAAE,SAAS;QAChB,OAAO,EAAE,sEAAsE;QAC/E,SAAS,EAAE,EAAE;QACb,QAAQ,EAAE,EAAE;QACZ,QAAQ,EAAE,EAAE;QACZ,QAAQ,EAAE,CAAC,EAAE,WAAW,EAAE,gBAAgB,EAAE,UAAU,EAAE,uBAAuB,EAAE,CAAC;QAClF,OAAO,EAAE,CAAC,cAAc,EAAE,aAAa,CAAC;KACzC;IACD;QACE,IAAI,EAAE,cAAc;QACpB,KAAK,EAAE,SAAS;QAChB,OAAO,EAAE,oEAAoE;QAC7E,SAAS,EAAE,EAAE;QACb,QAAQ,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,eAAe,EAAE,CAAC;QAC1E,QAAQ,EAAE,EAAE;QACZ,QAAQ,EAAE;YACR;gBACE,WAAW,EAAE,oBAAoB;gBACjC,UAAU,EAAE,mCAAmC;aAChD;SACF;QACD,OAAO,EAAE,CAAC,cAAc,CAAC;KAC1B;IACD;QACE,IAAI,EAAE,aAAa;QACnB,KAAK,EAAE,SAAS;QAChB,OAAO,EAAE,kGAAkG;QAC3G,SAAS,EAAE,EAAE;QACb,QAAQ,EAAE;YACR,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,eAAe,EAAE;YAC9D,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,yCAAyC,EAAE;SAC7F;QACD,QAAQ,EAAE;YACR;gBACE,IAAI,EAAE,aAAa;gBACnB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,oDAAoD;aAClE;YACD;gBACE,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,6CAA6C;aAC3D;YACD;gBACE,IAAI,EAAE,mBAAmB;gBACzB,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,qCAAqC;aACnD;SACF;QACD,QAAQ,EAAE;YACR;gBACE,WAAW,EAAE,kEAAkE;gBAC/E,UAAU,EACR,yGAAyG;aAC5G;SACF;QACD,OAAO,EAAE,CAAC,cAAc,EAAE,eAAe,CAAC;KAC3C;IACD;QACE,IAAI,EAAE,eAAe;QACrB,KAAK,EAAE,SAAS;QAChB,OAAO,EAAE,4DAA4D;QACrE,SAAS,EAAE,EAAE;QACb,QAAQ,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,eAAe,EAAE,CAAC;QAC1E,QAAQ,EAAE,EAAE;QACZ,QAAQ,EAAE;YACR;gBACE,WAAW,EAAE,yBAAyB;gBACtC,UAAU,EAAE,gDAAgD;aAC7D;SACF;QACD,OAAO,EAAE,CAAC,cAAc,CAAC;KAC1B;CACF,CAAC"}
|
|
@@ -0,0 +1,362 @@
|
|
|
1
|
+
import { NODE_CREATE_SCHEMA_TEXT } from "../node-create-schema.js";
|
|
2
|
+
const param = (name, description, choices) => ({
|
|
3
|
+
name,
|
|
4
|
+
type: "string",
|
|
5
|
+
description,
|
|
6
|
+
...(choices ? { choices } : {}),
|
|
7
|
+
});
|
|
8
|
+
const booleanParam = (name, description) => ({
|
|
9
|
+
name,
|
|
10
|
+
type: "boolean",
|
|
11
|
+
description,
|
|
12
|
+
});
|
|
13
|
+
const integerParam = (name, description) => ({
|
|
14
|
+
name,
|
|
15
|
+
type: "integer",
|
|
16
|
+
description,
|
|
17
|
+
});
|
|
18
|
+
const REPO = param("repo", "Local repository filesystem path.");
|
|
19
|
+
const PERSONAL = booleanParam("personal", "Use the configured personal repository.");
|
|
20
|
+
const AT_HEAD = param("at_head", "Pinned local commit ID; required with --after.");
|
|
21
|
+
const AFTER = param("after", "Continuation cursor bound to --at_head.");
|
|
22
|
+
const LOG_AFTER = param("after", "Continuation cursor.");
|
|
23
|
+
const projectionSpecs = [
|
|
24
|
+
[
|
|
25
|
+
"repo:node:get",
|
|
26
|
+
"node_id",
|
|
27
|
+
"Read one node from the pinned local projection.",
|
|
28
|
+
"GET /v1/repositories/{repository_id}/nodes/{node_id}",
|
|
29
|
+
],
|
|
30
|
+
[
|
|
31
|
+
"repo:tag:list",
|
|
32
|
+
"scope_node_id",
|
|
33
|
+
"List tags and holder digests at a pinned local head.",
|
|
34
|
+
"GET /v1/repositories/{repository_id}/tags",
|
|
35
|
+
],
|
|
36
|
+
[
|
|
37
|
+
"repo:lineage:list",
|
|
38
|
+
"node_id",
|
|
39
|
+
"List lineage relations at a pinned local head.",
|
|
40
|
+
"GET /v1/repositories/{repository_id}/lineage",
|
|
41
|
+
],
|
|
42
|
+
[
|
|
43
|
+
"repo:node-artifact:list",
|
|
44
|
+
"node_id",
|
|
45
|
+
"List node artifact references at a pinned local head.",
|
|
46
|
+
"GET /v1/repositories/{repository_id}/nodes/{node_id}/artifacts",
|
|
47
|
+
],
|
|
48
|
+
[
|
|
49
|
+
"repo:edge-artifact:list",
|
|
50
|
+
"edge_id",
|
|
51
|
+
"List edge artifact references at a pinned local head.",
|
|
52
|
+
"GET /v1/repositories/{repository_id}/edges/{edge_id}/artifacts",
|
|
53
|
+
],
|
|
54
|
+
[
|
|
55
|
+
"repo:artifact:get",
|
|
56
|
+
"artifact_id",
|
|
57
|
+
"Read one artifact and its references at a pinned local head.",
|
|
58
|
+
"GET /v1/repositories/{repository_id}/artifacts/{artifact_id}",
|
|
59
|
+
],
|
|
60
|
+
[
|
|
61
|
+
"repo:containment:get",
|
|
62
|
+
"child_node_id",
|
|
63
|
+
"Read active containment for one child.",
|
|
64
|
+
"GET /v1/repositories/{repository_id}/nodes/{child_node_id}/container",
|
|
65
|
+
],
|
|
66
|
+
[
|
|
67
|
+
"repo:containment:list",
|
|
68
|
+
"container_node_id",
|
|
69
|
+
"List active contained nodes.",
|
|
70
|
+
"GET /v1/repositories/{repository_id}/nodes/{container_node_id}/contained",
|
|
71
|
+
],
|
|
72
|
+
[
|
|
73
|
+
"repo:edge:list",
|
|
74
|
+
"graph_node_id",
|
|
75
|
+
"List semantic edges in one graph.",
|
|
76
|
+
"GET /v1/repositories/{repository_id}/nodes/{graph_node_id}/edges",
|
|
77
|
+
],
|
|
78
|
+
[
|
|
79
|
+
"repo:edge:get",
|
|
80
|
+
"edge_id",
|
|
81
|
+
"Read one semantic edge.",
|
|
82
|
+
"GET /v1/repositories/{repository_id}/edges/{edge_id}",
|
|
83
|
+
],
|
|
84
|
+
];
|
|
85
|
+
const PROJECTION_COMMANDS = projectionSpecs.map(([name, targetName, summary, endpoint]) => {
|
|
86
|
+
const target = param(targetName, `${targetName} UUID.`);
|
|
87
|
+
const collection = name.endsWith(":list");
|
|
88
|
+
return {
|
|
89
|
+
name,
|
|
90
|
+
group: "repo-workflow",
|
|
91
|
+
summary,
|
|
92
|
+
endpoints: [endpoint],
|
|
93
|
+
required: [target],
|
|
94
|
+
optional: [
|
|
95
|
+
REPO,
|
|
96
|
+
PERSONAL,
|
|
97
|
+
...(collection ? [AT_HEAD, AFTER] : [AT_HEAD]),
|
|
98
|
+
],
|
|
99
|
+
positionals: [target],
|
|
100
|
+
examples: [
|
|
101
|
+
{
|
|
102
|
+
description: summary,
|
|
103
|
+
invocation: `flywheel ${name} <${targetName}> --repo <path> --json`,
|
|
104
|
+
},
|
|
105
|
+
],
|
|
106
|
+
related: [],
|
|
107
|
+
};
|
|
108
|
+
});
|
|
109
|
+
function operation(name, summary, endpoint, options = {}) {
|
|
110
|
+
const required = [...(options.required ?? [])];
|
|
111
|
+
const repositorySelectors = options.repo === false ? [] : [REPO, PERSONAL];
|
|
112
|
+
const positionals = options.positionals ?? [];
|
|
113
|
+
const positionalNames = new Set(positionals.map((parameter) => parameter.name));
|
|
114
|
+
const requiredNames = new Set(required.map((parameter) => parameter.name));
|
|
115
|
+
const exampleArguments = [
|
|
116
|
+
...positionals
|
|
117
|
+
.filter((parameter) => requiredNames.has(parameter.name))
|
|
118
|
+
.map((parameter) => `<${parameter.name}>`),
|
|
119
|
+
...required
|
|
120
|
+
.filter((parameter) => !positionalNames.has(parameter.name))
|
|
121
|
+
.map((parameter) => parameter.type === "boolean"
|
|
122
|
+
? `--${parameter.name}`
|
|
123
|
+
: `--${parameter.name}=<${parameter.name}>`),
|
|
124
|
+
"--format=json",
|
|
125
|
+
];
|
|
126
|
+
return {
|
|
127
|
+
name,
|
|
128
|
+
group: "repo-workflow",
|
|
129
|
+
summary,
|
|
130
|
+
endpoints: [endpoint],
|
|
131
|
+
required,
|
|
132
|
+
optional: [...repositorySelectors, ...(options.optional ?? [])],
|
|
133
|
+
positionals: options.positionals,
|
|
134
|
+
examples: [
|
|
135
|
+
{
|
|
136
|
+
description: summary,
|
|
137
|
+
invocation: [`flywheel ${name}`, ...exampleArguments].join(" "),
|
|
138
|
+
},
|
|
139
|
+
],
|
|
140
|
+
related: [],
|
|
141
|
+
};
|
|
142
|
+
}
|
|
143
|
+
const directory = param("directory", "Target repository directory.");
|
|
144
|
+
const repositoryId = param("repository_id", "Hosted repository UUID.");
|
|
145
|
+
const archive = param("archive", "Verified Flywheel backup archive.");
|
|
146
|
+
const emptyDirectory = param("empty_directory", "Absent or empty restore target.");
|
|
147
|
+
const commitId = param("commit_id", "Canonical commit ID.");
|
|
148
|
+
const nodeId = param("node_id", "Node UUID.");
|
|
149
|
+
const conflictId = param("conflict_id", "Conflict UUID.");
|
|
150
|
+
const rebaseId = param("rebase_id", "Rebase UUID returned by pull or conflict reads.");
|
|
151
|
+
const OPERATION_COMMANDS = [
|
|
152
|
+
{
|
|
153
|
+
...operation("repo:init", "Initialize or adopt a personal/project repository; report the retained bootstrap lock.", "stdio bootstrap", {
|
|
154
|
+
repo: false,
|
|
155
|
+
optional: [directory, PERSONAL],
|
|
156
|
+
positionals: [directory],
|
|
157
|
+
}),
|
|
158
|
+
examples: [
|
|
159
|
+
{
|
|
160
|
+
description: "Initialize the current existing project directory; Flywheel stores graph history only in .flywheel.",
|
|
161
|
+
invocation: "flywheel repo:init",
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
description: "Create a missing project directory or initialize an existing supported directory.",
|
|
165
|
+
invocation: "flywheel repo:init <directory>",
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
description: "Request stable JSON output for automation.",
|
|
169
|
+
invocation: "flywheel repo:init --format=json",
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
description: "Initialize or adopt the default personal repository and save its path in the user TOML config.",
|
|
173
|
+
invocation: "flywheel repo:init --personal",
|
|
174
|
+
},
|
|
175
|
+
],
|
|
176
|
+
related: ["repo:node:create", "repo:status"],
|
|
177
|
+
},
|
|
178
|
+
operation("repo:clone", "Clone a hosted repository into an explicit destination; report the retained bootstrap lock.", "stdio bootstrap", {
|
|
179
|
+
repo: false,
|
|
180
|
+
required: [repositoryId],
|
|
181
|
+
optional: [
|
|
182
|
+
directory,
|
|
183
|
+
param("objects", "Object transfer mode.", ["lazy", "all"]),
|
|
184
|
+
],
|
|
185
|
+
positionals: [repositoryId, directory],
|
|
186
|
+
}),
|
|
187
|
+
operation("repo:restore", "Restore a verified backup into an explicit empty destination; report the retained bootstrap lock.", "stdio bootstrap", {
|
|
188
|
+
repo: false,
|
|
189
|
+
required: [archive, emptyDirectory],
|
|
190
|
+
positionals: [archive, emptyDirectory],
|
|
191
|
+
}),
|
|
192
|
+
operation("repo:status", "Show local repository status.", "GET /v1/repositories/{repository_id}/status"),
|
|
193
|
+
operation("repo:doctor", "Run read-only local repository diagnostics.", "GET /v1/repositories/{repository_id}/doctor"),
|
|
194
|
+
operation("repo:commit", "Commit the exact current staging digest.", "POST /v1/repositories/{repository_id}/commits", {
|
|
195
|
+
optional: [param("message", "Commit message.")],
|
|
196
|
+
}),
|
|
197
|
+
operation("repo:log", "List reachable local commits.", "GET /v1/repositories/{repository_id}/commits", {
|
|
198
|
+
optional: [
|
|
199
|
+
LOG_AFTER,
|
|
200
|
+
integerParam("limit", "Commit limit from 1 through 256."),
|
|
201
|
+
],
|
|
202
|
+
}),
|
|
203
|
+
operation("repo:diff", "Diff local repository commits.", "GET /v1/repositories/{repository_id}/diff", {
|
|
204
|
+
optional: [
|
|
205
|
+
param("base", "Base commit ID."),
|
|
206
|
+
param("head", "Head commit ID."),
|
|
207
|
+
],
|
|
208
|
+
}),
|
|
209
|
+
operation("repo:revert", "Append the inverse of one commit.", "POST /v1/repositories/{repository_id}/reverts", {
|
|
210
|
+
required: [commitId],
|
|
211
|
+
positionals: [commitId],
|
|
212
|
+
}),
|
|
213
|
+
operation("repo:pull", "Pull and atomically apply hosted history.", "POST /v1/repositories/{repository_id}/sync/pulls", {
|
|
214
|
+
optional: [param("objects", "Object transfer mode.", ["lazy", "all"])],
|
|
215
|
+
}),
|
|
216
|
+
operation("repo:push", "Publish local commits to the hosted repository.", "POST /v1/repositories/{repository_id}/sync/pushes", {
|
|
217
|
+
optional: [
|
|
218
|
+
booleanParam("create-remote", "Create the hosted repository explicitly."),
|
|
219
|
+
],
|
|
220
|
+
}),
|
|
221
|
+
operation("repo:purge", "Purge one node online.", "POST /v1/repositories/{repository_id}/sync/purges", {
|
|
222
|
+
required: [nodeId, param("confirm", "Exact node UUID confirmation.")],
|
|
223
|
+
positionals: [nodeId],
|
|
224
|
+
}),
|
|
225
|
+
operation("repo:backup", "Create and verify a local repository backup.", "POST /v1/repositories/{repository_id}/backups", {
|
|
226
|
+
required: [param("destination", "Backup destination path.")],
|
|
227
|
+
optional: [booleanParam("force", "Replace an existing destination.")],
|
|
228
|
+
positionals: [param("destination", "Backup destination path.")],
|
|
229
|
+
}),
|
|
230
|
+
operation("repo:gc", "Collect continuously unreachable local objects.", "POST /v1/repositories/{repository_id}/gc", {
|
|
231
|
+
optional: [
|
|
232
|
+
booleanParam("dry-run", "Report candidates without deletion."),
|
|
233
|
+
],
|
|
234
|
+
}),
|
|
235
|
+
operation("repo:conflicts:list", "List structured rebase conflicts.", "GET /v1/repositories/{repository_id}/conflicts"),
|
|
236
|
+
operation("repo:conflicts:show", "Show one structured conflict.", "GET /v1/repositories/{repository_id}/conflicts/{conflict_id}", {
|
|
237
|
+
required: [conflictId],
|
|
238
|
+
positionals: [conflictId],
|
|
239
|
+
}),
|
|
240
|
+
operation("repo:conflicts:resolve", "Resolve one structured conflict.", "POST /v1/repositories/{repository_id}/conflicts/{conflict_id}/resolution", {
|
|
241
|
+
required: [
|
|
242
|
+
conflictId,
|
|
243
|
+
param("strategy", "Resolution strategy.", [
|
|
244
|
+
"local",
|
|
245
|
+
"remote",
|
|
246
|
+
"manual",
|
|
247
|
+
]),
|
|
248
|
+
],
|
|
249
|
+
optional: [param("value-file", "Manual latest-value file.")],
|
|
250
|
+
positionals: [conflictId],
|
|
251
|
+
}),
|
|
252
|
+
operation("repo:rebase:continue", "Continue one exact rebase.", "POST /v1/repositories/{repository_id}/rebases/{rebase_id}/continue", {
|
|
253
|
+
required: [rebaseId],
|
|
254
|
+
positionals: [rebaseId],
|
|
255
|
+
}),
|
|
256
|
+
operation("repo:rebase:abort", "Abort one exact rebase.", "POST /v1/repositories/{repository_id}/rebases/{rebase_id}/abort", {
|
|
257
|
+
required: [rebaseId],
|
|
258
|
+
positionals: [rebaseId],
|
|
259
|
+
}),
|
|
260
|
+
];
|
|
261
|
+
const edit = (name, positionals, requiredFlags = [], optional = []) => operation(name, "Stage one closed repository operation.", "POST /v1/repositories/{repository_id}/staging/operations", {
|
|
262
|
+
required: [...positionals, ...requiredFlags],
|
|
263
|
+
optional,
|
|
264
|
+
positionals,
|
|
265
|
+
});
|
|
266
|
+
const scopeNode = param("scope_node_id", "Tag scope node UUID.");
|
|
267
|
+
const tagId = param("tag_id", "Tag identifier.");
|
|
268
|
+
const ownerKind = param("owner_kind", "Artifact owner kind.", ["node", "edge"]);
|
|
269
|
+
const ownerId = param("owner_id", "Artifact owner UUID.");
|
|
270
|
+
const artifactId = param("artifact_id", "Artifact UUID.");
|
|
271
|
+
const EDIT_COMMANDS = [
|
|
272
|
+
{
|
|
273
|
+
...edit("repo:node:create", [], [], [
|
|
274
|
+
param("title", "Minimal node title."),
|
|
275
|
+
booleanParam("schema", "Print the six-field node-create schema and example."),
|
|
276
|
+
param("values-file", "JSON file containing exactly six node fields."),
|
|
277
|
+
]),
|
|
278
|
+
summary: "Stage a minimal node from --title or the full six-field JSON values file.",
|
|
279
|
+
examples: [
|
|
280
|
+
{
|
|
281
|
+
description: "Stage the first graph node with documented null defaults.",
|
|
282
|
+
invocation: 'flywheel repo:node:create --repo <path> --title "First node"',
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
description: "Print the complete machine-readable shape and valid example.",
|
|
286
|
+
invocation: "flywheel repo:node:create --schema --format=json",
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
description: "Use the full JSON path for noninteractive automation.",
|
|
290
|
+
invocation: "flywheel repo:node:create --repo <path> --values-file node.json --format=json",
|
|
291
|
+
},
|
|
292
|
+
],
|
|
293
|
+
schema: NODE_CREATE_SCHEMA_TEXT,
|
|
294
|
+
output: {
|
|
295
|
+
defaultFormat: "human",
|
|
296
|
+
fields: ["operation_id", "staging_digest", "operation_count", "node_id"],
|
|
297
|
+
},
|
|
298
|
+
errors: [
|
|
299
|
+
{
|
|
300
|
+
code: "node_create_values_invalid",
|
|
301
|
+
remediation: "Run `flywheel repo:node:create --schema --format=json`.",
|
|
302
|
+
},
|
|
303
|
+
],
|
|
304
|
+
},
|
|
305
|
+
edit("repo:node:set", [nodeId], [param("field", "D02 node field."), param("value-file", "New value file.")]),
|
|
306
|
+
edit("repo:node:tombstone", [nodeId]),
|
|
307
|
+
edit("repo:node:restore", [nodeId]),
|
|
308
|
+
edit("repo:node:branch", [nodeId]),
|
|
309
|
+
{
|
|
310
|
+
...edit("repo:node:merge", [], [
|
|
311
|
+
param("source", "Source node UUID; repeat --source for each source node."),
|
|
312
|
+
]),
|
|
313
|
+
examples: [
|
|
314
|
+
{
|
|
315
|
+
description: "Stage one merged node and lineage from each source in argument order.",
|
|
316
|
+
invocation: "flywheel repo:node:merge --repo <path> --source=<node_id> --source=<node_id> --format=json",
|
|
317
|
+
},
|
|
318
|
+
],
|
|
319
|
+
},
|
|
320
|
+
edit("repo:tag:define", [scopeNode], [param("definition-file", "Tag definition JSON file.")]),
|
|
321
|
+
edit("repo:tag:update", [scopeNode, tagId], [param("definition-file", "Tag definition JSON file.")]),
|
|
322
|
+
edit("repo:tag:retire", [scopeNode, tagId]),
|
|
323
|
+
edit("repo:node-tag:assign", [scopeNode, nodeId, tagId]),
|
|
324
|
+
edit("repo:node-tag:remove", [scopeNode, nodeId, tagId]),
|
|
325
|
+
edit("repo:lineage:add", [
|
|
326
|
+
param("parent_node_id", "Parent node UUID."),
|
|
327
|
+
param("child_node_id", "Child node UUID."),
|
|
328
|
+
]),
|
|
329
|
+
edit("repo:lineage:remove", [
|
|
330
|
+
param("parent_node_id", "Parent node UUID."),
|
|
331
|
+
param("child_node_id", "Child node UUID."),
|
|
332
|
+
]),
|
|
333
|
+
edit("repo:containment:remove", [
|
|
334
|
+
param("containment_id", "Containment UUID."),
|
|
335
|
+
]),
|
|
336
|
+
edit("repo:containment:assign", [
|
|
337
|
+
param("container_node_id", "Container node UUID."),
|
|
338
|
+
param("child_node_id", "Child node UUID."),
|
|
339
|
+
], [], [
|
|
340
|
+
integerParam("ordinal", "Nonnegative order."),
|
|
341
|
+
param("source-artifact", "Source artifact UUID."),
|
|
342
|
+
]),
|
|
343
|
+
edit("repo:edge:add", [
|
|
344
|
+
param("graph_node_id", "Graph node UUID."),
|
|
345
|
+
param("source_node_id", "Source node UUID."),
|
|
346
|
+
param("target_node_id", "Target node UUID."),
|
|
347
|
+
], [], [param("content-file", "Optional edge-content file.")]),
|
|
348
|
+
edit("repo:edge:set-content", [param("edge_id", "Edge UUID.")], [param("value-file", "New content file.")]),
|
|
349
|
+
edit("repo:edge:remove", [param("edge_id", "Edge UUID.")]),
|
|
350
|
+
edit("repo:artifact:attach", [ownerKind, ownerId], [
|
|
351
|
+
param("file", "Artifact byte path."),
|
|
352
|
+
param("metadata-file", "Artifact metadata JSON file."),
|
|
353
|
+
], [integerParam("order", "Reference order.")]),
|
|
354
|
+
edit("repo:artifact:detach", [ownerKind, ownerId, artifactId]),
|
|
355
|
+
edit("repo:artifact:set-metadata", [ownerKind, ownerId, artifactId], [param("metadata-file", "Artifact metadata JSON file.")]),
|
|
356
|
+
];
|
|
357
|
+
export const REPOSITORY_COMMANDS = [
|
|
358
|
+
...PROJECTION_COMMANDS,
|
|
359
|
+
...OPERATION_COMMANDS,
|
|
360
|
+
...EDIT_COMMANDS,
|
|
361
|
+
];
|
|
362
|
+
//# sourceMappingURL=repository.js.map
|