mammoth-cli 2.4.4__tar.gz → 2.4.5__tar.gz
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.
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/PKG-INFO +1 -1
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/__init__.py +1 -1
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/app/help_text.py +15 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/app/options.py +12 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/SKILL.md +1 -1
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/command-index.md +2 -1
- mammoth_cli-2.4.5/mammoth_cli/bundled_skill/mammoth-cli/references/commands/bench.md +13 -0
- mammoth_cli-2.4.5/mammoth_cli/commands/bench.py +345 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/help_summaries.json +1 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/registry.py +1 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/run.py +1 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/context/resolver.py +30 -7
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/errors/envelope.py +3 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/runtime/embed_scope.py +2 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/runtime/invocation.py +1 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/runtime/strict.py +5 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/runtime/trace.py +1 -1
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/services/command_contract.py +1 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/services/positional_overrides.py +12 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/pyproject.toml +1 -1
- mammoth_cli-2.4.5/spec/manifests/commands/bench.yaml +44 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/spec/manifests/compiled/commands.json +1 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/spec/manifests/compiled/output-schemas.json +1 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/spec/manifests/output-schemas.yaml +30 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/.gitignore +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/LICENSE +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/README.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/__main__.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/app/__init__.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/app/tree.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/app/usage.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/about-mammoth.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/auth.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/capabilities-misc.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/capabilities.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/activity.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/addon.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/agent.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/ai.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/annotation.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/auth.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/automation.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/batch.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/billing.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/browse.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/calc.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/capabilities.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/capability.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/client-app.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/collection.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/completion.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/config.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/connector.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/context.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/dashboard-embed.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/dashboard-published.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/dashboard-qa.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/dashboard-style.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/dashboard-template.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/dashboard.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/dataset.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/doctor.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/external-key.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/file.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/folder.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/history.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/how.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/job.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/link.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/log.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/notification.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/parameter.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/project.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/recipe.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/report.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/resolve.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/run.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/schedule.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/schema.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/skill.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/snippet.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/support.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/template.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/token.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/trash.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/upgrade.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/user.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/version.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/view-transform.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/view.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/webhook.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/workflow.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/workspace.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/handoff.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/input.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/jobs-drafts.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/machine-output.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/operations.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/recipes/auth-scope.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/recipes/cleanup.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/recipes/dashboards.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/recipes/database-import.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/recipes/end-to-end.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/recipes/exports.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/recipes/file-import.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/recipes/index.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/recipes/need-action.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/recipes/resources.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/recipes/rest-api-import.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/recipes/scheduling.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/recipes/transforms.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/recipes/typed-etl-discovery.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/recipes/workflows.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/recovery.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/report-checklist.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/retention.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/safety.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/bundled_skill/mammoth-cli/references/task-start.md +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/__init__.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/_lazy.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/activity.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/addon.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/agent.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/ai.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/annotation.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/auth.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/automation.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/automation_datasets.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/automation_schedule.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/batch.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/billing.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/browse.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/calc.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/capabilities.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/capability.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/client_app.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/completion.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/config.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/connector.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/context.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/dashboard/__init__.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/dashboard/_common.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/dashboard/generated.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/dashboard/workbook.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/dataset/__init__.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/dataset/_common.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/dataset/create.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/dataset/download.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/dataset/find.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/doctor.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/external_key.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/file.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/folder.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/history.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/how.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/job.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/link.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/notification.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/parameter.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/project.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/recipe.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/report.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/resolve.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/schedule.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/schema/__init__.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/schema/examples.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/schema/find.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/skill.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/snippet.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/support.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/support_template.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/template.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/trash.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/upgrade.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/user.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/view/__init__.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/view/_common.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/view/aggregate.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/view/checks.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/view/column_checks.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/view/columns.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/view/data_read.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/view/derivatives.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/view/explore.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/view/export.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/view/export_dataset.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/view/export_specialized.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/view/export_update.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/view/formatting.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/view/join_check.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/view/lifecycle.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/view/listing.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/view/pipeline.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/view/settle.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/view/upload.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/view_drivers.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/view_explore.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/view_forecast.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/view_ops/__init__.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/view_ops/batch.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/view_ops/crud.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/view_ops/draft.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/view_ops/transforms.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/view_profile.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/webhook.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/workflow.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/commands/workspace.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/context/__init__.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/context/credentials.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/context/endpoint.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/context/keyring_backend.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/context/oauth.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/context/oauth_loopback.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/context/profiles.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/contracts/__init__.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/contracts/auth.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/discovery/__init__.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/discovery/limitations.json +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/discovery/next_commands.json +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/discovery/purposes.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/discovery/recipes.json +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/embed.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/errors/__init__.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/manifest/__init__.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/manifest/loader.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/messages/__init__.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/output/__init__.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/output/emit.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/output/envelope.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/output/normalize.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/output/policy.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/output/progress.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/output/render.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/py.typed +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/runtime/__init__.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/runtime/bindings.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/runtime/compact.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/runtime/confirm.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/runtime/dataset_health.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/runtime/dispatch.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/runtime/dryrun.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/runtime/dryrun_targets.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/runtime/embed_pool.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/runtime/embedded.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/runtime/etag_store.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/runtime/executor.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/runtime/idempotency_servers.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/runtime/input_loader.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/runtime/intent_only.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/runtime/journal.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/runtime/labels.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/runtime/leaf.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/runtime/linecapture.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/runtime/local_paths.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/runtime/locked_files.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/runtime/new_data.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/runtime/next_commands.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/runtime/opens.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/runtime/options.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/runtime/parents.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/runtime/resource_ids.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/runtime/reveal.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/runtime/runlog.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/runtime/session.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/runtime/shared.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/runtime/state.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/runtime/switches.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/runtime/token_scope.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/runtime/updates.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/runtime/usage.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/runtime/usage_sender.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/runtime/validate.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/runtime/verify.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/runtime/view_dataset_cache.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/services/__init__.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/services/append_blank_columns.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/services/argspec.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/services/automation_summary.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/services/board_values.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/services/coerce.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/services/column_type_guard.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/services/conditional_format.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/services/conditions.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/services/dashboard_figures.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/services/dashboard_filters.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/services/dashboard_pages.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/services/dashboard_review.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/services/data_profile.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/services/data_quality.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/services/delete_check.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/services/dispatch.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/services/draft_report.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/services/explore_card_edit.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/services/explore_cards.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/services/explore_to_figure.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/services/explore_to_image.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/services/factory.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/services/field_enums.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/services/folder_ids.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/services/held_change.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/services/input_fields.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/services/job_outcome.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/services/listing.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/services/local_files.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/services/local_time.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/services/mapping.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/services/medians.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/services/missing_view.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/services/openapi_types.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/services/paging.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/services/period_analysis.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/services/poll.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/services/positional_spec.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/services/positionals.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/services/protocol.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/services/read_memo.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/services/read_queries.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/services/schedule_dates.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/services/schema_diff.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/services/sdk_service.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/services/secret_files.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/services/sql_check.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/services/stored_stats.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/services/suggest.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/services/testing.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/services/text_dates.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/services/type_system.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/services/unknown_outcome.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/services/update_method.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/services/view_analysis.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/services/view_variants.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/services/write_impact.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/skills/__init__.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/skills/installer.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/skills/steering.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/mammoth_cli/testing.py +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/spec/manifests/commands/activity.yaml +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/spec/manifests/commands/addon.yaml +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/spec/manifests/commands/agent.yaml +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/spec/manifests/commands/ai.yaml +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/spec/manifests/commands/annotation.yaml +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/spec/manifests/commands/auth.yaml +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/spec/manifests/commands/automation.yaml +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/spec/manifests/commands/batch.yaml +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/spec/manifests/commands/billing.yaml +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/spec/manifests/commands/browse.yaml +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/spec/manifests/commands/calc.yaml +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/spec/manifests/commands/capabilities.yaml +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/spec/manifests/commands/capability.yaml +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/spec/manifests/commands/client-app.yaml +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/spec/manifests/commands/collection.yaml +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/spec/manifests/commands/completion.yaml +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/spec/manifests/commands/config.yaml +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/spec/manifests/commands/connector.yaml +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/spec/manifests/commands/context.yaml +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/spec/manifests/commands/dashboard.yaml +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/spec/manifests/commands/dataset.yaml +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/spec/manifests/commands/doctor.yaml +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/spec/manifests/commands/external-key.yaml +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/spec/manifests/commands/file.yaml +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/spec/manifests/commands/folder.yaml +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/spec/manifests/commands/history.yaml +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/spec/manifests/commands/how.yaml +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/spec/manifests/commands/job.yaml +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/spec/manifests/commands/link.yaml +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/spec/manifests/commands/log.yaml +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/spec/manifests/commands/notification.yaml +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/spec/manifests/commands/parameter.yaml +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/spec/manifests/commands/project.yaml +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/spec/manifests/commands/recipe.yaml +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/spec/manifests/commands/report.yaml +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/spec/manifests/commands/resolve.yaml +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/spec/manifests/commands/run.yaml +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/spec/manifests/commands/schedule.yaml +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/spec/manifests/commands/schema.yaml +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/spec/manifests/commands/skill.yaml +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/spec/manifests/commands/snippet.yaml +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/spec/manifests/commands/support.yaml +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/spec/manifests/commands/template.yaml +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/spec/manifests/commands/token.yaml +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/spec/manifests/commands/trash.yaml +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/spec/manifests/commands/upgrade.yaml +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/spec/manifests/commands/user.yaml +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/spec/manifests/commands/version.yaml +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/spec/manifests/commands/view.yaml +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/spec/manifests/commands/webhook.yaml +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/spec/manifests/commands/workflow.yaml +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/spec/manifests/commands/workspace.yaml +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/spec/manifests/commands.generated.yaml +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/spec/manifests/compiled/openapi-operations.json +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/spec/manifests/compiled/sdk-methods.json +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/spec/manifests/edits-target.source.yaml +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/spec/manifests/openapi-operations.yaml +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/spec/manifests/schema-v1.json +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/spec/manifests/sdk-catalog.source.yaml +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/spec/manifests/sdk-methods.yaml +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/spec/manifests/server-status.json +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/spec/openapi/metadata.json +0 -0
- {mammoth_cli-2.4.4 → mammoth_cli-2.4.5}/spec/openapi/openapi.json +0 -0
|
@@ -463,6 +463,15 @@ def _sdk_backed(command_id: str) -> bool:
|
|
|
463
463
|
_RAW_NOTE = "Input field raw: true returns DATE values with their time, not the date alone."
|
|
464
464
|
|
|
465
465
|
|
|
466
|
+
_BENCH_HELP_NOTE = (
|
|
467
|
+
"COMMAND is any read command, as words or one quoted string; the flags go after it. "
|
|
468
|
+
"--concurrency N calls start together on a barrier, for --repeat R measured rounds, "
|
|
469
|
+
"after --warmup W unmeasured rounds (default 1). One process, one login and one "
|
|
470
|
+
"keep-alive connection pool. Reports p50, p95 and max of each HTTP request's logged "
|
|
471
|
+
"duration_ms and of each command, with status and error counts. Times are client-side "
|
|
472
|
+
"(timing: client): each HTTP attempt's round trip; the server sends no timing. "
|
|
473
|
+
"Example: mammoth bench view list --concurrency 8 --repeat 5"
|
|
474
|
+
)
|
|
466
475
|
_RUN_HELP_NOTE = (
|
|
467
476
|
'One command per line: {"cmd": "view task list", "args": ["290"], "input": {}, '
|
|
468
477
|
'"flags": {"project": 1}, "id": "a"}. cmd is the command path, args its positionals, '
|
|
@@ -479,6 +488,7 @@ _RUN_HELP_NOTE = (
|
|
|
479
488
|
|
|
480
489
|
_HELP_NOTES = {
|
|
481
490
|
"run": _RUN_HELP_NOTE,
|
|
491
|
+
"bench": _BENCH_HELP_NOTE,
|
|
482
492
|
"view.data.get": _RAW_NOTE,
|
|
483
493
|
"view.data.query": _RAW_NOTE,
|
|
484
494
|
"view.export.dataset": (
|
|
@@ -630,6 +640,11 @@ _ROOT_LEAF_HELP: dict[str, str] = {
|
|
|
630
640
|
f"\n\n{_RUN_HELP_NOTE}"
|
|
631
641
|
"\n\nExample: mammoth run commands.jsonl"
|
|
632
642
|
),
|
|
643
|
+
"bench": (
|
|
644
|
+
"Run one read command N at a time for R rounds and report its latency."
|
|
645
|
+
f"\n\n{_BENCH_HELP_NOTE}"
|
|
646
|
+
"\n\nExample: mammoth bench 'project list'"
|
|
647
|
+
),
|
|
633
648
|
"upgrade": (
|
|
634
649
|
"Upgrade the mammoth CLI to the latest (or a specified) version from PyPI."
|
|
635
650
|
"\n\nExample: mammoth upgrade --yes"
|
|
@@ -81,6 +81,18 @@ def _shared_option_params() -> list[inspect.Parameter]:
|
|
|
81
81
|
),
|
|
82
82
|
],
|
|
83
83
|
),
|
|
84
|
+
opt(
|
|
85
|
+
"workspace",
|
|
86
|
+
None,
|
|
87
|
+
Annotated[
|
|
88
|
+
int | None,
|
|
89
|
+
typer.Option(
|
|
90
|
+
"--workspace",
|
|
91
|
+
help="Workspace id override (instead of the profile's workspace).",
|
|
92
|
+
rich_help_panel="Context and timeouts",
|
|
93
|
+
),
|
|
94
|
+
],
|
|
95
|
+
),
|
|
84
96
|
opt(
|
|
85
97
|
"session",
|
|
86
98
|
None,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: mammoth-cli
|
|
3
|
-
version: 2.4.
|
|
3
|
+
version: 2.4.5
|
|
4
4
|
description: "Use Mammoth Analytics from a terminal: install or authenticate the CLI, discover its live command contract, and safely manage projects, data, views, pipelines (join, merge, pivot, filter, clean), dashboards, exports, and handoffs."
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Published CLI command catalog
|
|
2
2
|
|
|
3
|
-
This generated catalog is a lookup table for every command in the published CLI manifest, currently
|
|
3
|
+
This generated catalog is a lookup table for every command in the published CLI manifest, currently 904; each entry carries its release status line. It is a command-contract index, not an assertion that every backend/OpenAPI operation has a CLI binding. For an exact local CLI contract, run `mammoth schema get COMMAND_ID`; `mammoth capability list` is an API-binding inventory and can omit typed/local CLI routes. For focused workflows, read the [recipes index](recipes/index.md). Sensitive structured input must come from a private file or pipe; never put secrets in literal argv.
|
|
4
4
|
|
|
5
5
|
Load only the applicable domain file:
|
|
6
6
|
|
|
@@ -12,6 +12,7 @@ Load only the applicable domain file:
|
|
|
12
12
|
- [auth](commands/auth.md) — 5 published commands
|
|
13
13
|
- [automation](commands/automation.md) — 13 published commands
|
|
14
14
|
- [batch](commands/batch.md) — 7 published commands
|
|
15
|
+
- [bench](commands/bench.md) — 1 published commands
|
|
15
16
|
- [billing](commands/billing.md) — 27 published commands
|
|
16
17
|
- [browse](commands/browse.md) — 9 published commands
|
|
17
18
|
- [calc](commands/calc.md) — 1 published commands
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# `bench` commands
|
|
2
|
+
|
|
3
|
+
Every command returns the standard JSON envelope. On nonzero exit, read the error envelope and its `recovery_commands`; do not guess request fields. "Status on release" is joined from `docs/release-capability-matrix.json`: *ran once* means one bounded live run succeeded on the named CLI release, *untried* means nobody has run it (use it normally: confirm writes with the user, check the result afterwards), *not supported* means the backend refuses it. When this file disagrees with [capabilities](../capabilities.md) or a recipe, they win. Envelope shapes: [machine output](../machine-output.md).
|
|
4
|
+
|
|
5
|
+
### `bench`
|
|
6
|
+
|
|
7
|
+
Run: `mammoth bench`. Exact input fields: `mammoth schema get bench`.
|
|
8
|
+
|
|
9
|
+
Example: `mammoth bench 'project list'`. Placeholders are illustrative; resolve IDs and input from observed reads.
|
|
10
|
+
|
|
11
|
+
Result: `BenchResult`; mutation `read`, confirmation `none`, wait policy `not_async`.
|
|
12
|
+
|
|
13
|
+
Status on release: untried; no live run recorded.
|
|
@@ -0,0 +1,345 @@
|
|
|
1
|
+
"""The ``bench`` command: one read command, N at a time, measured.
|
|
2
|
+
|
|
3
|
+
``mammoth bench COMMAND... --concurrency N --repeat R [--warmup W]`` (the flags after the
|
|
4
|
+
command, or as ``--concurrency=N`` anywhere) runs ``mammoth
|
|
5
|
+
COMMAND...`` ``N`` at a time, ``R`` rounds, in this one process. All calls share one
|
|
6
|
+
keep-alive connection pool (:class:`~mammoth_cli.runtime.embed_pool.EmbedRuntime`) and
|
|
7
|
+
one login, so a round measures the server, not process start, credential lookup or TLS.
|
|
8
|
+
Each round starts on a barrier: the ``N`` calls are released together, so the server
|
|
9
|
+
sees ``N`` requests at once. ``W`` unmeasured warm-up rounds (default 1) open the
|
|
10
|
+
connections first.
|
|
11
|
+
|
|
12
|
+
It reports the 50th and 95th percentile and the maximum of the request duration the SDK
|
|
13
|
+
already logs for every HTTP request (``duration_ms`` of the ``mammoth.http`` log), and of
|
|
14
|
+
the whole command as the caller sees it, with the status counts and the error codes of
|
|
15
|
+
the calls that failed. Both are measured on this side (``timing: client``): one HTTP
|
|
16
|
+
attempt's round trip, timed by the SDK from just before the send. The server sends no
|
|
17
|
+
timing of its own (no ``Server-Timing`` header), so server time is not reported.
|
|
18
|
+
|
|
19
|
+
Only a ``read`` command can be benched: running a write N x R times is not a measurement.
|
|
20
|
+
"""
|
|
21
|
+
|
|
22
|
+
from __future__ import annotations
|
|
23
|
+
|
|
24
|
+
import logging
|
|
25
|
+
import math
|
|
26
|
+
import shlex
|
|
27
|
+
import threading
|
|
28
|
+
import time
|
|
29
|
+
from collections import Counter
|
|
30
|
+
from collections.abc import Callable, Iterator, Sequence
|
|
31
|
+
from contextlib import contextmanager
|
|
32
|
+
from dataclasses import dataclass
|
|
33
|
+
from typing import Any
|
|
34
|
+
from urllib.parse import urlsplit
|
|
35
|
+
|
|
36
|
+
from mammoth_cli import embed
|
|
37
|
+
from mammoth_cli.commands.registry import HandlerResult
|
|
38
|
+
from mammoth_cli.commands.run import resolve_command_id
|
|
39
|
+
from mammoth_cli.context.resolver import ExplicitLogin, resolve_auth
|
|
40
|
+
from mammoth_cli.errors.envelope import EXIT_USAGE, CliError
|
|
41
|
+
from mammoth_cli.manifest.loader import command_by_id
|
|
42
|
+
from mammoth_cli.runtime.embed_pool import EmbedRuntime
|
|
43
|
+
from mammoth_cli.runtime.invocation import Invocation
|
|
44
|
+
from mammoth_cli.runtime.session import resolved_project
|
|
45
|
+
|
|
46
|
+
CODE_INVALID_BENCH = "invalid_bench"
|
|
47
|
+
CODE_BENCH_COMMAND_REFUSED = "bench_command_refused"
|
|
48
|
+
#: The error code of a call that never returned an envelope (it raised, or its round's
|
|
49
|
+
#: barrier broke); counted as an error, never as a clean call.
|
|
50
|
+
CODE_BENCH_CALL_FAILED = "bench_call_failed"
|
|
51
|
+
#: Where the durations are measured: on this side, around each HTTP attempt.
|
|
52
|
+
TIMING = "client"
|
|
53
|
+
|
|
54
|
+
#: The flags ``bench`` reads itself, each taking a whole number, and their defaults.
|
|
55
|
+
BENCH_FLAGS: dict[str, int] = {"--concurrency": 1, "--repeat": 1, "--warmup": 1}
|
|
56
|
+
#: The bounds of each flag: past them a run is a load test, not a benchmark.
|
|
57
|
+
_LIMITS: dict[str, tuple[int, int]] = {
|
|
58
|
+
"--concurrency": (1, 64),
|
|
59
|
+
"--repeat": (1, 100),
|
|
60
|
+
"--warmup": (0, 10),
|
|
61
|
+
}
|
|
62
|
+
#: Seconds a call may wait at the round's barrier for the others.
|
|
63
|
+
_BARRIER_TIMEOUT = 60.0
|
|
64
|
+
_HTTP_LOGGER = "mammoth.http"
|
|
65
|
+
|
|
66
|
+
type Call = Callable[[], dict[str, Any]]
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
@dataclass(frozen=True)
|
|
70
|
+
class BenchArgs:
|
|
71
|
+
"""What to bench and how: the command, and the flags ``bench`` reads itself.
|
|
72
|
+
|
|
73
|
+
Attributes:
|
|
74
|
+
command: The command line after ``mammoth``, without the ``bench`` flags.
|
|
75
|
+
concurrency: The calls released together in each round.
|
|
76
|
+
repeat: The measured rounds.
|
|
77
|
+
warmup: The unmeasured rounds before them.
|
|
78
|
+
"""
|
|
79
|
+
|
|
80
|
+
command: tuple[str, ...]
|
|
81
|
+
concurrency: int
|
|
82
|
+
repeat: int
|
|
83
|
+
warmup: int
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
def parse_args(tokens: Sequence[str]) -> BenchArgs:
|
|
87
|
+
"""Split ``bench``'s own flags from the command it benches.
|
|
88
|
+
|
|
89
|
+
Args:
|
|
90
|
+
tokens: Everything after ``mammoth bench`` that the global options left.
|
|
91
|
+
|
|
92
|
+
Returns:
|
|
93
|
+
The command and the flag values.
|
|
94
|
+
|
|
95
|
+
Raises:
|
|
96
|
+
CliError: ``invalid_bench`` when a flag has no whole number in its bounds,
|
|
97
|
+
or no command is given.
|
|
98
|
+
"""
|
|
99
|
+
values = dict(BENCH_FLAGS)
|
|
100
|
+
command: list[str] = []
|
|
101
|
+
rest = iter(tokens)
|
|
102
|
+
for token in rest:
|
|
103
|
+
name, sep, inline = token.partition("=")
|
|
104
|
+
if name not in BENCH_FLAGS:
|
|
105
|
+
# A command given as one quoted string ("project list") is its words.
|
|
106
|
+
command.extend(shlex.split(token) if not command and " " in token else [token])
|
|
107
|
+
continue
|
|
108
|
+
raw = inline if sep else next(rest, None)
|
|
109
|
+
values[name] = _whole_number(name, raw)
|
|
110
|
+
if not command:
|
|
111
|
+
raise _invalid("Name the command to bench, for example: mammoth bench project list.")
|
|
112
|
+
return BenchArgs(
|
|
113
|
+
command=tuple(command),
|
|
114
|
+
concurrency=values["--concurrency"],
|
|
115
|
+
repeat=values["--repeat"],
|
|
116
|
+
warmup=values["--warmup"],
|
|
117
|
+
)
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
def _whole_number(flag: str, raw: str | None) -> int:
|
|
121
|
+
low, high = _LIMITS[flag]
|
|
122
|
+
try:
|
|
123
|
+
value = int(raw or "")
|
|
124
|
+
except ValueError:
|
|
125
|
+
raise _invalid(f"{flag} takes a whole number from {low} to {high}, got {raw!r}.") from None
|
|
126
|
+
if not low <= value <= high:
|
|
127
|
+
raise _invalid(f"{flag} takes a whole number from {low} to {high}, got {value}.")
|
|
128
|
+
return value
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
def _invalid(message: str) -> CliError:
|
|
132
|
+
return CliError(
|
|
133
|
+
code=CODE_INVALID_BENCH,
|
|
134
|
+
message=message,
|
|
135
|
+
exit_status=EXIT_USAGE,
|
|
136
|
+
hint="mammoth bench view list --concurrency 8 --repeat 5",
|
|
137
|
+
)
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
def percentiles(values: Sequence[float]) -> dict[str, float | None]:
|
|
141
|
+
"""The nearest-rank 50th and 95th percentile and the maximum of ``values``.
|
|
142
|
+
|
|
143
|
+
Args:
|
|
144
|
+
values: The measurements, in any order.
|
|
145
|
+
|
|
146
|
+
Returns:
|
|
147
|
+
``p50_ms``, ``p95_ms`` and ``max_ms``; each None when there are no values.
|
|
148
|
+
"""
|
|
149
|
+
ordered = sorted(values)
|
|
150
|
+
if not ordered:
|
|
151
|
+
return {"p50_ms": None, "p95_ms": None, "max_ms": None}
|
|
152
|
+
|
|
153
|
+
def rank(percent: int) -> float:
|
|
154
|
+
return ordered[max(math.ceil(percent / 100 * len(ordered)), 1) - 1]
|
|
155
|
+
|
|
156
|
+
return {"p50_ms": rank(50), "p95_ms": rank(95), "max_ms": ordered[-1]}
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
def run_rounds(call: Call, *, concurrency: int, rounds: int) -> list[dict[str, Any]]:
|
|
160
|
+
"""Run ``call`` ``concurrency`` at a time for ``rounds`` rounds.
|
|
161
|
+
|
|
162
|
+
Each round starts ``concurrency`` threads that wait on one barrier and call
|
|
163
|
+
together once all of them are ready, then waits for every call to end before
|
|
164
|
+
the next round, so no round overlaps another.
|
|
165
|
+
|
|
166
|
+
Args:
|
|
167
|
+
call: Runs the command once and returns its envelope.
|
|
168
|
+
concurrency: The calls released together in each round.
|
|
169
|
+
rounds: How many rounds to run.
|
|
170
|
+
|
|
171
|
+
Returns:
|
|
172
|
+
Every call's envelope, round by round.
|
|
173
|
+
"""
|
|
174
|
+
envelopes: list[dict[str, Any]] = []
|
|
175
|
+
for _ in range(rounds):
|
|
176
|
+
envelopes.extend(_round(call, concurrency))
|
|
177
|
+
return envelopes
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
def _round(call: Call, concurrency: int) -> list[dict[str, Any]]:
|
|
181
|
+
"""One round: ``concurrency`` calls released together by a barrier, each one's envelope."""
|
|
182
|
+
barrier = threading.Barrier(concurrency)
|
|
183
|
+
results: list[dict[str, Any]] = [{} for _ in range(concurrency)]
|
|
184
|
+
|
|
185
|
+
def worker(slot: int) -> None:
|
|
186
|
+
try:
|
|
187
|
+
barrier.wait(timeout=_BARRIER_TIMEOUT)
|
|
188
|
+
results[slot] = call()
|
|
189
|
+
except Exception as failure: # noqa: BLE001 - reported as this call's error
|
|
190
|
+
results[slot] = {
|
|
191
|
+
"error": {
|
|
192
|
+
"code": CODE_BENCH_CALL_FAILED,
|
|
193
|
+
"message": f"{type(failure).__name__}: {failure}",
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
threads = [threading.Thread(target=worker, args=(slot,)) for slot in range(concurrency)]
|
|
198
|
+
for thread in threads:
|
|
199
|
+
thread.start()
|
|
200
|
+
for thread in threads:
|
|
201
|
+
thread.join()
|
|
202
|
+
return results
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
class _Durations(logging.Handler):
|
|
206
|
+
"""Keeps the ``duration_ms`` and status of every logged HTTP request."""
|
|
207
|
+
|
|
208
|
+
def __init__(self) -> None:
|
|
209
|
+
super().__init__(level=logging.INFO)
|
|
210
|
+
self.requests: list[tuple[float, str]] = []
|
|
211
|
+
|
|
212
|
+
def emit(self, record: logging.LogRecord) -> None:
|
|
213
|
+
fields = getattr(record, "mammoth", None)
|
|
214
|
+
if isinstance(fields, dict) and fields.get("event") == "http":
|
|
215
|
+
self.requests.append((float(fields["duration_ms"]), str(fields.get("status"))))
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
@contextmanager
|
|
219
|
+
def _http_durations() -> Iterator[_Durations]:
|
|
220
|
+
"""Collect the ``mammoth.http`` request durations while the block runs."""
|
|
221
|
+
logger = logging.getLogger(_HTTP_LOGGER)
|
|
222
|
+
handler = _Durations()
|
|
223
|
+
level = logger.level
|
|
224
|
+
if not logger.isEnabledFor(logging.INFO):
|
|
225
|
+
logger.setLevel(logging.INFO)
|
|
226
|
+
logger.addHandler(handler)
|
|
227
|
+
try:
|
|
228
|
+
yield handler
|
|
229
|
+
finally:
|
|
230
|
+
logger.removeHandler(handler)
|
|
231
|
+
logger.setLevel(level)
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
def summarize(
|
|
235
|
+
envelopes: Sequence[dict[str, Any]], requests: Sequence[tuple[float, str]]
|
|
236
|
+
) -> dict[str, Any]:
|
|
237
|
+
"""The bench result: call and request counts, errors, and duration percentiles.
|
|
238
|
+
|
|
239
|
+
Args:
|
|
240
|
+
envelopes: Every measured call's envelope.
|
|
241
|
+
requests: Every measured HTTP request's ``duration_ms`` and status.
|
|
242
|
+
|
|
243
|
+
Returns:
|
|
244
|
+
``calls``, ``errors``, ``error_codes``, ``http`` (requests, status counts and
|
|
245
|
+
duration percentiles) and ``command_ms`` (the per-call ``elapsed_ms`` percentiles).
|
|
246
|
+
"""
|
|
247
|
+
errors = Counter(
|
|
248
|
+
str(envelope["error"].get("code")) for envelope in envelopes if "error" in envelope
|
|
249
|
+
)
|
|
250
|
+
elapsed = [
|
|
251
|
+
float(body["elapsed_ms"])
|
|
252
|
+
for envelope in envelopes
|
|
253
|
+
if isinstance(body := envelope.get("error", envelope.get("meta")), dict)
|
|
254
|
+
and "elapsed_ms" in body
|
|
255
|
+
]
|
|
256
|
+
return {
|
|
257
|
+
"calls": len(envelopes),
|
|
258
|
+
"errors": sum(errors.values()),
|
|
259
|
+
"error_codes": dict(errors),
|
|
260
|
+
"http": {
|
|
261
|
+
"requests": len(requests),
|
|
262
|
+
"status": dict(Counter(status for _, status in requests)),
|
|
263
|
+
**percentiles([duration for duration, _ in requests]),
|
|
264
|
+
},
|
|
265
|
+
"command_ms": percentiles(elapsed),
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
def _login(invocation: Invocation) -> ExplicitLogin:
|
|
270
|
+
"""The resolved credentials of ``invocation`` as one login every call shares.
|
|
271
|
+
|
|
272
|
+
A browser login's access token is read once: a bench is far shorter than its life.
|
|
273
|
+
"""
|
|
274
|
+
auth = resolve_auth(invocation)
|
|
275
|
+
token = auth.api_token
|
|
276
|
+
if token is None and auth.token_provider is not None:
|
|
277
|
+
token = auth.token_provider()
|
|
278
|
+
host = urlsplit(auth.base_url).hostname or ""
|
|
279
|
+
return ExplicitLogin(
|
|
280
|
+
api_key=auth.api_key,
|
|
281
|
+
api_secret=auth.api_secret,
|
|
282
|
+
workspace_id=auth.workspace_id,
|
|
283
|
+
server_prefix=host.split(".", 1)[0] or None,
|
|
284
|
+
api_token=token,
|
|
285
|
+
headers=auth.headers,
|
|
286
|
+
)
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
def _refuse_unless_read(command: Sequence[str]) -> str:
|
|
290
|
+
"""The id of the command to bench; refused unless the manifest calls it a read."""
|
|
291
|
+
command_id = resolve_command_id(command)
|
|
292
|
+
record = command_by_id(command_id) if command_id else None
|
|
293
|
+
if record is None or command_id == "bench":
|
|
294
|
+
raise CliError(
|
|
295
|
+
code=CODE_BENCH_COMMAND_REFUSED,
|
|
296
|
+
message=f"'{' '.join(command)}' is not a command bench can run.",
|
|
297
|
+
exit_status=EXIT_USAGE,
|
|
298
|
+
hint="Bench a read command, for example: mammoth bench project list.",
|
|
299
|
+
)
|
|
300
|
+
if record.get("mutation_class") != "read":
|
|
301
|
+
raise CliError(
|
|
302
|
+
code=CODE_BENCH_COMMAND_REFUSED,
|
|
303
|
+
message=(
|
|
304
|
+
f"'{command_id.replace('.', ' ')}' changes data "
|
|
305
|
+
f"({record.get('mutation_class')}); bench runs read commands only."
|
|
306
|
+
),
|
|
307
|
+
exit_status=EXIT_USAGE,
|
|
308
|
+
)
|
|
309
|
+
return command_id
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
def bench(invocation: Invocation) -> HandlerResult:
|
|
313
|
+
"""Run one read command N at a time for R rounds and report its latency."""
|
|
314
|
+
args = parse_args(invocation.extra_args)
|
|
315
|
+
command_id = _refuse_unless_read(args.command)
|
|
316
|
+
login = _login(invocation)
|
|
317
|
+
project_id = resolved_project(invocation)
|
|
318
|
+
pool = args.concurrency
|
|
319
|
+
with EmbedRuntime(max_connections=pool, max_keepalive_connections=pool) as runtime:
|
|
320
|
+
|
|
321
|
+
def call() -> dict[str, Any]:
|
|
322
|
+
return embed.invoke(
|
|
323
|
+
list(args.command),
|
|
324
|
+
login=login,
|
|
325
|
+
project_id=project_id,
|
|
326
|
+
timeout=invocation.timeout,
|
|
327
|
+
runtime=runtime,
|
|
328
|
+
)
|
|
329
|
+
|
|
330
|
+
run_rounds(call, concurrency=pool, rounds=args.warmup)
|
|
331
|
+
with _http_durations() as http:
|
|
332
|
+
started = time.perf_counter()
|
|
333
|
+
envelopes = run_rounds(call, concurrency=pool, rounds=args.repeat)
|
|
334
|
+
wall_ms = round((time.perf_counter() - started) * 1000)
|
|
335
|
+
data = {
|
|
336
|
+
"command": command_id.replace(".", " "),
|
|
337
|
+
"argv": list(args.command),
|
|
338
|
+
"concurrency": args.concurrency,
|
|
339
|
+
"repeat": args.repeat,
|
|
340
|
+
"warmup": args.warmup,
|
|
341
|
+
"wall_ms": wall_ms,
|
|
342
|
+
"timing": TIMING,
|
|
343
|
+
**summarize(envelopes, http.requests),
|
|
344
|
+
}
|
|
345
|
+
return data, {"workspace_id": login.workspace_id}
|
|
@@ -87,6 +87,7 @@
|
|
|
87
87
|
"batch.get": "Get one batch by id for a dataset in the active project.",
|
|
88
88
|
"batch.list": "List batches for a dataset in the active project.",
|
|
89
89
|
"batch.update": "Apply patch operations to a dataset's batches. 'patch' is required.",
|
|
90
|
+
"bench": "Run one read command N at a time for R rounds and report its latency.",
|
|
90
91
|
"billing.chargebee-plan": "Get the workspace's Chargebee plan details.",
|
|
91
92
|
"billing.hosted-page": "Get a Chargebee hosted-page URL. Object type is positional or an input field.",
|
|
92
93
|
"billing.invoice.charge": "Charge the workspace's outstanding invoice. '--yes --confirm WS' required.",
|
|
@@ -306,6 +306,7 @@ _TARGETS: dict[str, str] = {
|
|
|
306
306
|
"resolve": "mammoth_cli.commands.resolve:resolve",
|
|
307
307
|
"how": "mammoth_cli.commands.how:how",
|
|
308
308
|
"run": "mammoth_cli.commands.run:run",
|
|
309
|
+
"bench": "mammoth_cli.commands.bench:bench",
|
|
309
310
|
"capabilities": "mammoth_cli.commands.capabilities:capabilities",
|
|
310
311
|
"completion.show": "mammoth_cli.commands.completion:completion_show",
|
|
311
312
|
"completion.install": "mammoth_cli.commands.completion:completion_install",
|
|
@@ -112,6 +112,7 @@ OWNED_FLAGS = frozenset(
|
|
|
112
112
|
INHERITED_FLAGS: tuple[tuple[str, str], ...] = (
|
|
113
113
|
("--profile", "profile"),
|
|
114
114
|
("--project", "project"),
|
|
115
|
+
("--workspace", "workspace"),
|
|
115
116
|
("--session", "session"),
|
|
116
117
|
("--timeout", "timeout"),
|
|
117
118
|
("--job-timeout", "job_timeout"),
|
|
@@ -16,7 +16,7 @@ import hashlib
|
|
|
16
16
|
import os
|
|
17
17
|
import sys
|
|
18
18
|
from collections.abc import Callable, Mapping
|
|
19
|
-
from dataclasses import dataclass
|
|
19
|
+
from dataclasses import dataclass, replace
|
|
20
20
|
|
|
21
21
|
from mammoth_cli.context import credentials, profiles
|
|
22
22
|
from mammoth_cli.context.endpoint import resolve_base_url
|
|
@@ -210,16 +210,36 @@ def resolve_auth(
|
|
|
210
210
|
Inside a ``mammoth run`` the answer is kept per profile (see
|
|
211
211
|
:func:`mammoth_cli.runtime.shared.remembering_auth`): the keyring, the profile file
|
|
212
212
|
and the environment token are read once for all the lines, not once per line. An
|
|
213
|
-
explicit login and an embedded call are never kept.
|
|
213
|
+
explicit login and an embedded call are never kept. ``--workspace`` replaces the
|
|
214
|
+
resolved workspace id after the memo, so one line's ``--workspace`` never reaches the next.
|
|
214
215
|
"""
|
|
215
216
|
memo = AUTH_MEMO.get()
|
|
216
217
|
if memo is None or explicit_login is not None or embedded.active():
|
|
217
|
-
return _resolve_auth(invocation, explicit_login)
|
|
218
|
+
return _in_workspace(invocation, _resolve_auth(invocation, explicit_login))
|
|
218
219
|
key = (invocation.profile, invocation.profile_is_default)
|
|
219
220
|
if key not in memo:
|
|
220
221
|
memo[key] = _resolve_auth(invocation, None)
|
|
221
222
|
remembered: ResolvedAuth = memo[key]
|
|
222
|
-
return remembered
|
|
223
|
+
return _in_workspace(invocation, remembered)
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
def _in_workspace(invocation: Invocation, auth: ResolvedAuth) -> ResolvedAuth:
|
|
227
|
+
"""``auth`` in the ``--workspace`` of ``invocation``, when one was given.
|
|
228
|
+
|
|
229
|
+
Args:
|
|
230
|
+
invocation: The current command's resolved global options.
|
|
231
|
+
auth: The credentials and endpoint resolved from the login or profile.
|
|
232
|
+
|
|
233
|
+
Returns:
|
|
234
|
+
``auth`` with ``--workspace`` as its workspace id, or ``auth`` unchanged.
|
|
235
|
+
|
|
236
|
+
Raises:
|
|
237
|
+
CliError: ``invalid_workspace_id`` when ``--workspace`` is not positive.
|
|
238
|
+
"""
|
|
239
|
+
if invocation.workspace is None:
|
|
240
|
+
return auth
|
|
241
|
+
workspace_id = _require_positive_workspace(invocation.workspace, source="--workspace")
|
|
242
|
+
return replace(auth, workspace_id=workspace_id)
|
|
223
243
|
|
|
224
244
|
|
|
225
245
|
def _resolve_auth(
|
|
@@ -308,6 +328,9 @@ def resolve_project(invocation: Invocation, profile: ProfileRecord | None) -> in
|
|
|
308
328
|
"""
|
|
309
329
|
if invocation.project is not None:
|
|
310
330
|
return invocation.project
|
|
311
|
-
if profile is
|
|
312
|
-
return
|
|
313
|
-
|
|
331
|
+
if profile is None:
|
|
332
|
+
return None
|
|
333
|
+
if invocation.workspace is not None and invocation.workspace != profile.workspace_id:
|
|
334
|
+
# The saved project is in the profile's workspace, not the one asked for.
|
|
335
|
+
return None
|
|
336
|
+
return profile.project_id
|
|
@@ -145,6 +145,9 @@ ERROR_SUMMARIES: dict[str, str] = {
|
|
|
145
145
|
"A line used a result from an earlier line that wasn't there, so it wasn't run."
|
|
146
146
|
),
|
|
147
147
|
"run_command_refused": "That command can't be run from a list of commands.",
|
|
148
|
+
"invalid_bench": "The benchmark settings couldn't be used, so nothing was run.",
|
|
149
|
+
"bench_command_refused": "Only a command that reads can be benchmarked.",
|
|
150
|
+
"bench_call_failed": "One benchmarked call failed before it returned a result.",
|
|
148
151
|
"history_not_found": "No recorded change has that id.",
|
|
149
152
|
"journal_off": "Change history is switched off, so there is nothing to show or undo.",
|
|
150
153
|
"nothing_to_resume": "Every line of that run finished.",
|
|
@@ -28,6 +28,8 @@ EMBEDDED_UNAVAILABLE = frozenset(
|
|
|
28
28
|
"completion.install",
|
|
29
29
|
# Reads a JSON Lines file or the host's stdin.
|
|
30
30
|
"run",
|
|
31
|
+
# Runs many calls at once in the host's process, as one login.
|
|
32
|
+
"bench",
|
|
31
33
|
# Read or write the host's profile, run log or install state.
|
|
32
34
|
"auth.status",
|
|
33
35
|
"config.get",
|
|
@@ -58,6 +58,7 @@ class Invocation:
|
|
|
58
58
|
# named none, rather than a ``--profile`` / ``MAMMOTH_PROFILE`` the user gave.
|
|
59
59
|
profile_is_default: bool = field(default=False, repr=False, compare=False)
|
|
60
60
|
project: int | None = None
|
|
61
|
+
workspace: int | None = None
|
|
61
62
|
session: str | None = None
|
|
62
63
|
timeout: float | None = None
|
|
63
64
|
job_timeout: float | None = None
|
|
@@ -67,6 +67,9 @@ COMMAND_FLAGS: dict[str, frozenset[str]] = {
|
|
|
67
67
|
**{command_id: frozenset({REVEAL_FLAG}) for command_id in REVEAL_COMMANDS},
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
+
#: Commands whose trailing tokens are another command line, checked when that command runs.
|
|
71
|
+
PASSTHROUGH_COMMANDS = frozenset({"bench"})
|
|
72
|
+
|
|
70
73
|
CODE_UNKNOWN_OPTION = "unknown_option"
|
|
71
74
|
CODE_UNEXPECTED_ARGUMENT = "unexpected_argument"
|
|
72
75
|
SCHEMA_GET = "schema.get"
|
|
@@ -146,6 +149,8 @@ def validate_extra_args(command_id: str, extra_args: Iterable[str]) -> None:
|
|
|
146
149
|
:func:`mammoth_cli.services.positionals.resolve_positionals`), so a
|
|
147
150
|
surplus id is refused instead of silently ignored.
|
|
148
151
|
"""
|
|
152
|
+
if command_id in PASSTHROUGH_COMMANDS:
|
|
153
|
+
return
|
|
149
154
|
flags = COMMAND_FLAGS.get(command_id, frozenset())
|
|
150
155
|
tokens = [token for token in extra_args if token not in flags]
|
|
151
156
|
for token in tokens:
|
|
@@ -5,7 +5,7 @@ The server already logs every request it serves, with its path, status, latency,
|
|
|
5
5
|
``mammoth-cli/<version>``; this module adds a comment naming the command, so the log can
|
|
6
6
|
answer which commands run, from which surface, by which agent, and how they end:
|
|
7
7
|
|
|
8
|
-
mammoth-cli/2.4.
|
|
8
|
+
mammoth-cli/2.4.5 (cmd=view.data.get; inv=3f9c2a1b7d4e; surface=run; agent=claude-code)
|
|
9
9
|
|
|
10
10
|
``inv`` is the invocation id: every request one command makes carries the same one, and the
|
|
11
11
|
local run log (:mod:`mammoth_cli.runtime.runlog`) records it as its ``run_id``, so a local
|
|
@@ -776,6 +776,18 @@ POSITIONAL_OVERRIDES: dict[str, tuple[PositionalSpec, ...]] = {
|
|
|
776
776
|
example_value="commands.jsonl",
|
|
777
777
|
),
|
|
778
778
|
),
|
|
779
|
+
"bench": (
|
|
780
|
+
PositionalSpec(
|
|
781
|
+
name="command",
|
|
782
|
+
type=str,
|
|
783
|
+
required=True,
|
|
784
|
+
help=(
|
|
785
|
+
"The read command to bench, as words or one quoted string;"
|
|
786
|
+
" the bench flags go after it."
|
|
787
|
+
),
|
|
788
|
+
example_value="project list",
|
|
789
|
+
),
|
|
790
|
+
),
|
|
779
791
|
"calc": (
|
|
780
792
|
PositionalSpec(
|
|
781
793
|
name="expression",
|