booking-agent-cli 0.12.0__tar.gz → 0.13.0__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.
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/PKG-INFO +2 -2
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/README.md +1 -1
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/pyproject.toml +1 -1
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent/__init__.py +1 -1
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent/models/booking_questions.py +8 -2
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent/platform_profile.py +62 -15
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent/ucp_checkout.py +3 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent/ucp_profile.py +3 -1
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent_cli/__init__.py +1 -1
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent_cli/booking_questions_flow.py +19 -13
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent_cli/bundled_skill.md +9 -9
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent_cli/commands/flow.py +27 -1
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent_cli/fault_reports.py +39 -10
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/integration/test_booking_questions_flow.py +13 -8
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/integration/test_platform_profile.py +7 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/integration/test_resume_after_restart.py +26 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/integration/test_ucp_checkout_validate.py +1 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/integration/test_ucp_profile.py +15 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/spec_schemas/booking_questions.json +43 -52
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/unit/test_booking_questions_negotiation.py +21 -6
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/unit/test_booking_questions_vectors.py +2 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/unit/test_fault_reports.py +43 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/SOURCE +1 -1
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/fixtures/bq-fx-step-submit-action.json +0 -6
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/flow/bq-flow-action-platform-processing.json +8 -6
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/flow/bq-flow-action-unsupported-fallback.json +3 -1
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/flow/bq-flow-answer-missing.json +3 -1
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/flow/bq-flow-before-confirmation-recap.json +8 -6
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/flow/bq-flow-before-service-required.json +3 -1
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/flow/bq-flow-configuration-duration.json +6 -2
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/flow/bq-flow-configuration-variable-price.json +3 -1
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/flow/bq-flow-consultancy-lead-source-marketing.json +6 -2
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/flow/bq-flow-eligible-token.json +3 -1
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/flow/bq-flow-exclusive-option-rejected.json +6 -4
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/flow/bq-flow-external-task-never-an-answer.json +6 -2
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/flow/bq-flow-grooming-pet-intake.json +6 -2
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/flow/bq-flow-hair-salon-allergy-branch.json +15 -5
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/flow/bq-flow-home-cleaning-configuration.json +9 -3
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/flow/bq-flow-ineligible-no-hold.json +3 -1
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/flow/bq-flow-kids-class-recipient-age-gate.json +12 -4
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/flow/bq-flow-maps-to-notes-no-duplicate.json +3 -1
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/flow/bq-flow-marketing-not-preticked.json +3 -1
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/flow/bq-flow-massage-sensitive-injury.json +6 -2
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/flow/bq-flow-medspa-intake-review.json +3 -1
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/flow/bq-flow-multiple-failures.json +3 -1
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/flow/bq-flow-no-side-effects.json +3 -1
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/flow/bq-flow-pattern-description-echoed.json +3 -1
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/flow/bq-flow-phone-text-ack-combined.json +10 -6
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/flow/bq-flow-recap-redacts-sensitive.json +6 -2
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/flow/bq-flow-recipient-eligibility.json +6 -2
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/flow/bq-flow-repair-secondary-address.json +9 -3
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/flow/bq-flow-requires-input-loop.json +3 -1
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/flow/bq-flow-retry-preserves-hold.json +12 -4
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/flow/bq-flow-sensitive-never-echoed.json +6 -2
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/flow/bq-flow-service-area.json +6 -2
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/flow/bq-flow-set-level-path.json +6 -2
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/flow/bq-flow-stale-revision.json +15 -5
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/flow/bq-flow-tattoo-consent-policy-link.json +3 -1
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/flow/bq-flow-token-expired-missing.json +3 -1
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/flow/bq-flow-ucp-action-authoritative.json +15 -5
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/flow/bq-flow-ucp-create-carries-answers.json +6 -2
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/flow/bq-flow-ucp-incomplete-not-escalation.json +6 -2
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/flow/bq-flow-ucp-order-echo-persists.json +6 -2
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/flow/bq-flow-ucp-trusted-ui-finalization.json +6 -2
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/flow/bq-flow-ucp-update-resend-required.json +6 -2
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/flow/bq-flow-under-review-then-rejected.json +6 -2
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/flow/bq-flow-unknown-question.json +9 -3
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/flow/bq-flow-update-not-allowed.json +3 -1
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/flow/bq-flow-update-states.json +21 -7
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/flow/bq-flow-uri-scheme-policy.json +6 -2
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/flow/bq-flow-withdrawal-waiver-acknowledgement.json +6 -2
- booking_agent_cli-0.13.0/tests/vectors/booking_questions/wire/bq-schema-limits.json +7042 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/wire/bq-schema-long-text.json +6 -6
- booking_agent_cli-0.13.0/tests/vectors/booking_questions/wire/bq-schema-short-text.json +118 -0
- booking_agent_cli-0.13.0/tests/vectors/booking_questions/wire/bq-schema-single-choice.json +1817 -0
- booking_agent_cli-0.13.0/tests/vectors/booking_questions/wire/bq-schema-submission-answers.json +152 -0
- booking_agent_cli-0.12.0/tests/vectors/booking_questions/wire/bq-schema-limits.json +0 -1601
- booking_agent_cli-0.12.0/tests/vectors/booking_questions/wire/bq-schema-short-text.json +0 -105
- booking_agent_cli-0.12.0/tests/vectors/booking_questions/wire/bq-schema-single-choice.json +0 -335
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/.gitignore +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent/authorization.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent/backend/__init__.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent/backend/live.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent/booking_questions.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent/booking_questions_negotiation.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent/calendar/__init__.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent/calendar/filter.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent/calendar/google.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent/calendar/oauth_listener.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent/calendar/scope.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent/circuit_breaker.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent/config.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent/defaults.env +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent/discovery.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent/faults.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent/headless.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent/http_deadlines.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent/http_retry.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent/http_trace.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent/merchant_pacing.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent/models/__init__.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent/models/platform.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent/models/wire.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent/namespace.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent/observability.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent/pop.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent/profile_cache.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent/registry_url.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent/rest_client.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent/secure_file.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent/settings.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent/signals.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent/step_timing.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent/ucp_capabilities.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent/ucp_negotiation.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent/usp_methods.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent_cli/activity_log.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent_cli/booking_poll.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent_cli/booking_summary.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent_cli/calendar_connection.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent_cli/calendar_delegated.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent_cli/calendar_event.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent_cli/calendar_preference.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent_cli/catalog.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent_cli/checkout_prereq.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent_cli/commands/__init__.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent_cli/commands/config.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent_cli/commands/lowlevel.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent_cli/commands/runtime.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent_cli/commands/update.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent_cli/config_loader.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent_cli/engine.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent_cli/fault_report_schema.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent_cli/flow_timings.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent_cli/gates.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent_cli/geo_eligibility.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent_cli/geocode.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent_cli/identity.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent_cli/install_integrity.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent_cli/link_cli.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent_cli/main.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent_cli/output.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent_cli/payment_helpers.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent_cli/payment_token.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent_cli/provenance.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent_cli/reschedule.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent_cli/runtime.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent_cli/runtime_prepare.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent_cli/search_area.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent_cli/session.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent_cli/skill_bundle.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent_cli/skill_integrity.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent_cli/support_bundle_schema.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent_cli/support_report.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent_cli/timezone_context.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent_cli/updates.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/.env.tests +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/conftest.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/e2e/__init__.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/e2e/test_cancel_reschedule_e2e.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/e2e/test_latency_soak.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/e2e/test_prepared_checkout_e2e.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/e2e/test_staging_registry_integration.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/e2e/test_timezone_booking_e2e.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/e2e/test_ucp_native_e2e.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/e2e/test_ucp_skill_flow_e2e.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/e2e/ucp_native.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/evals/booking_questions_relay.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/integration/__init__.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/integration/test_activity_log.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/integration/test_at_rest_hygiene.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/integration/test_booking_questions_relay.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/integration/test_booking_rejection.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/integration/test_bulk_cancel.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/integration/test_calendar_connection.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/integration/test_calendar_connector.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/integration/test_calendar_delegated.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/integration/test_calendar_flow.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/integration/test_calendar_preference.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/integration/test_checkout_signals.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/integration/test_circuit_breaker.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/integration/test_cli_enforced_gates.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/integration/test_config.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/integration/test_correlation_flow.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/integration/test_declined_spt.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/integration/test_discover_registry_rejection.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/integration/test_flow_evidence.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/integration/test_flow_gates.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/integration/test_flow_reschedule.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/integration/test_flow_step_timings.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/integration/test_google_calendar_oauth.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/integration/test_home_visit_address.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/integration/test_http_trace.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/integration/test_identity_logout.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/integration/test_install_integrity.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/integration/test_lazy_oauth.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/integration/test_link_auth.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/integration/test_link_cli_spt.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/integration/test_namespace.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/integration/test_oauth_listener.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/integration/test_oauth_metadata.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/integration/test_platform_key_pop.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/integration/test_pop_keystore.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/integration/test_prepared_checkout.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/integration/test_profile_cache.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/integration/test_recipient_flow.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/integration/test_regression_index.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/integration/test_release_hold_uses_delete.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/integration/test_request_retry_semantics.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/integration/test_runtime_prepare.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/integration/test_search_area.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/integration/test_session_compat.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/integration/test_session_retention.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/integration/test_skill_integrity.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/integration/test_skill_portability.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/integration/test_support_report.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/integration/test_timezone_context.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/integration/test_ucp_cancel_result.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/integration/test_ucp_checkout_pop.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/integration/test_ucp_checkout_proof_wireup.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/integration/test_update_command.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/integration/test_wheel_contents.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/spec_schemas/SOURCE +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/spec_schemas/acp_booking_extension.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/spec_schemas/availability.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/spec_schemas/booking.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/spec_schemas/calendar_freebusy.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/spec_schemas/catalog.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/spec_schemas/esp.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/spec_schemas/paid_bookings.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/spec_schemas/pay_at_service.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/spec_schemas/profile.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/spec_schemas/registry.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/spec_schemas/rest_common.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/spec_schemas/usp.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/spec_schemas/waitlist.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/spec_schemas/webhook_event.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/support/__init__.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/support/fixtures/__init__.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/support/fixtures/profiles.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/support/fixtures/provenance/pypi_attestations-0.0.30-py3-none-any.whl.provenance.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/support/fixtures/services.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/support/mock/__init__.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/support/mock/backend.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/support/mock/link_cli.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/support/mock/mock_calendar.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/support/mock/pop_business.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/support/mock/pop_transport.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/support/mock/ucp_checkout_store.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/support/mock/ucp_server.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/support/offline_stack/__init__.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/support/offline_stack/stack.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/unit/__init__.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/unit/test_authorization_policy.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/unit/test_booking_poll_credentials.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/unit/test_booking_questions_privacy.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/unit/test_booking_request_error.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/unit/test_calendar_filter.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/unit/test_catalog.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/unit/test_check_version.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/unit/test_conditional_writes.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/unit/test_delivery_address.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/unit/test_discovery.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/unit/test_geo_eligibility.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/unit/test_geocode.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/unit/test_harness_docs.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/unit/test_headless.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/unit/test_http_deadlines.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/unit/test_http_retry.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/unit/test_live_search_registry.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/unit/test_merchant_pacing.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/unit/test_mock_support.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/unit/test_money_path_events.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/unit/test_nonce_from_pop_error_body.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/unit/test_observability.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/unit/test_outbound_member_names.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/unit/test_package_layering.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/unit/test_pay_at_service.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/unit/test_provenance.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/unit/test_proxy_env.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/unit/test_registry_search_filters.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/unit/test_registry_search_pricing.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/unit/test_registry_search_responses.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/unit/test_registry_url.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/unit/test_release_notes.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/unit/test_rest_client.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/unit/test_scoped_method_authorization.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/unit/test_session_credentials.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/unit/test_spec_conformance.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/unit/test_step_timing.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/unit/test_ucp_capabilities.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/unit/test_ucp_complete_outcome.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/unit/test_ucp_create_price_guard.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/unit/test_ucp_negotiation.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/unit/test_updates.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/unit/test_wire_model_conformance.py +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/eval/bq-cond-age-threshold.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/eval/bq-cond-allergy-tree.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/eval/bq-cond-combinators.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/eval/bq-cond-contact-preference.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/eval/bq-cond-depth.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/eval/bq-cond-forward-reference.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/eval/bq-cond-inapplicable-chain.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/eval/bq-cond-operators.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/eval/bq-cond-other-free-text.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/eval/bq-cond-pruning.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/eval/bq-cond-required-toggle.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/eval/bq-cond-type-mismatch.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/eval/bq-cond-unanswered-reference.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/fixtures/bq-fx-buyer.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/fixtures/bq-fx-hold-active.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/fixtures/bq-fx-q-ack-action.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/fixtures/bq-fx-q-text-required.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/fixtures/bq-fx-service-required-inputs.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/fixtures/bq-fx-step-create.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/flow/bq-flow-before-confirmation-external-task.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/flow/bq-flow-before-service-optional.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/flow/bq-flow-group-participants-deferred.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/flow/bq-flow-intake-validity.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/flow/bq-flow-negotiated-no-answers.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/flow/bq-flow-once-per-buyer-satisfied.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/flow/bq-flow-phone-only-requirement.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/flow/bq-flow-prompt-injection-quoted.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/flow/bq-flow-required-buyer-field-missing.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/flow/bq-flow-revision-invalidates-intake.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/flow/bq-flow-sensitive-routes-to-url-mode.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/flow/bq-flow-service-picker-field-withheld.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/flow/bq-flow-token-wrong-scope.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/flow/bq-flow-ucp-ap2-mandate-exception.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/flow/bq-flow-ucp-external-task-escalation.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/flow/bq-flow-ucp-multi-parent-pruning.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/flow/bq-flow-ucp-multi-service-deferred.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/flow/bq-flow-unnegotiated-client.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/flow/bq-flow-unreadable-form-withheld.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/flow/bq-flow-waived-state.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/flow/bq-flow-yoga-health-intake-validity.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/wire/bq-schema-acknowledgement.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/wire/bq-schema-address-flattened.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/wire/bq-schema-boolean-not-ack.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/wire/bq-schema-completion-requirement.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/wire/bq-schema-compound-measurement.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/wire/bq-schema-configuration-purpose.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/wire/bq-schema-date-not-after-today.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/wire/bq-schema-date-time.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/wire/bq-schema-date-within-window.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/wire/bq-schema-date.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/wire/bq-schema-dropdown.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/wire/bq-schema-email.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/wire/bq-schema-exclusive-none.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/wire/bq-schema-external-file.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/wire/bq-schema-external-markup.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/wire/bq-schema-external-signature.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/wire/bq-schema-forbidden-keywords.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/wire/bq-schema-ids.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/wire/bq-schema-image-choice.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/wire/bq-schema-localized-nested.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/wire/bq-schema-maps-to-notes.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/wire/bq-schema-multi-choice.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/wire/bq-schema-notice-markdown.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/wire/bq-schema-number.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/wire/bq-schema-other-free-text.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/wire/bq-schema-phone.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/wire/bq-schema-rating.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/wire/bq-schema-required-buyer-fields.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/wire/bq-schema-rich-label-checkbox.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/wire/bq-schema-section-pages.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/wire/bq-schema-tags.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/wire/bq-schema-time.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/booking_questions/wire/bq-schema-uri.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/pop/001-jcs-nested-buyer.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/pop/002-jcs-meta-only.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/pop/003-jcs-unicode-empty-meta.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/pop/004-proof-issuance-no-ath.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/pop/005-proof-presentation-ath-nonce.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/pop/006-cross-key-replay.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/pop/007-downgrade-cnf-without-proof.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/pop/008-replayed-jti.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/pop/009-aud-mismatch.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/pop/010-alg-none.json +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/pop/README.md +0 -0
- {booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/vectors/pop/SOURCE +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: booking-agent-cli
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.13.0
|
|
4
4
|
Summary: The Booking Agent CLI: a stateful USP booking flow with hard gates, plus its USP protocol library.
|
|
5
5
|
Project-URL: Homepage, https://github.com/wix/booking-agent
|
|
6
6
|
Project-URL: Documentation, https://github.com/wix/booking-agent/blob/master/booking-agent/README.md
|
|
@@ -82,7 +82,7 @@ Each release also publishes that skill at an immutable `skill-v<version>` tag an
|
|
|
82
82
|
the release workflow, so a harness can pin and verify the exact text it follows:
|
|
83
83
|
|
|
84
84
|
```bash
|
|
85
|
-
curl -fsSLO https://raw.githubusercontent.com/wix/booking-agent/skill-v0.59.
|
|
85
|
+
curl -fsSLO https://raw.githubusercontent.com/wix/booking-agent/skill-v0.59.2/booking-agent/skills/booking-agent/SKILL.md
|
|
86
86
|
gh attestation verify SKILL.md --repo wix/booking-agent \
|
|
87
87
|
--signer-workflow wix/booking-agent/.github/workflows/release.yml
|
|
88
88
|
```
|
|
@@ -40,7 +40,7 @@ Each release also publishes that skill at an immutable `skill-v<version>` tag an
|
|
|
40
40
|
the release workflow, so a harness can pin and verify the exact text it follows:
|
|
41
41
|
|
|
42
42
|
```bash
|
|
43
|
-
curl -fsSLO https://raw.githubusercontent.com/wix/booking-agent/skill-v0.59.
|
|
43
|
+
curl -fsSLO https://raw.githubusercontent.com/wix/booking-agent/skill-v0.59.2/booking-agent/skills/booking-agent/SKILL.md
|
|
44
44
|
gh attestation verify SKILL.md --repo wix/booking-agent \
|
|
45
45
|
--signer-workflow wix/booking-agent/.github/workflows/release.yml
|
|
46
46
|
```
|
{booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent/models/booking_questions.py
RENAMED
|
@@ -230,11 +230,17 @@ class BookingQuestionSet(_Model):
|
|
|
230
230
|
RequiredBuyerField = Literal["first_name", "last_name", "email", "phone_number"]
|
|
231
231
|
|
|
232
232
|
|
|
233
|
+
class BookingQuestionAnswerEntry(_Model):
|
|
234
|
+
"""One question's answer in a submission: the typed value and its provenance claim."""
|
|
235
|
+
|
|
236
|
+
value: AnswerValue
|
|
237
|
+
collected_via: Optional[Literal["conversation", "platform_surface"]] = None
|
|
238
|
+
|
|
239
|
+
|
|
233
240
|
class BookingQuestionSubmission(_Model):
|
|
234
241
|
set_id: str
|
|
235
242
|
revision: str
|
|
236
|
-
answers: Dict[str,
|
|
237
|
-
collected_via: Optional[Dict[str, Literal["conversation", "platform_surface"]]] = None
|
|
243
|
+
answers: Dict[str, BookingQuestionAnswerEntry]
|
|
238
244
|
action_id: Optional[str] = None
|
|
239
245
|
|
|
240
246
|
|
|
@@ -6,6 +6,22 @@ from typing import Any, Dict
|
|
|
6
6
|
# Canonical publish URL: https://profile.booking-agent.dev/platform-profile.json
|
|
7
7
|
DEFAULT_PLATFORM_PROFILE_URL = "https://profile.booking-agent.dev/platform-profile.json"
|
|
8
8
|
|
|
9
|
+
# The booking-questions schema requires these parents at 2026-08-20.
|
|
10
|
+
# 2026-08-14 stays listed too, so a business on that version still overlaps.
|
|
11
|
+
_USP_PARENTS_2026_08_20 = (
|
|
12
|
+
"dev.usp-protocol.services.catalog",
|
|
13
|
+
"dev.usp-protocol.services.availability",
|
|
14
|
+
"dev.usp-protocol.services.bookings",
|
|
15
|
+
"dev.usp-protocol.services.paid_bookings",
|
|
16
|
+
)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
def _capability(version: str, spec: str, schema: str, extends: Any = None) -> Dict[str, Any]:
|
|
20
|
+
entry: Dict[str, Any] = {"version": version, "spec": spec, "schema": schema}
|
|
21
|
+
if extends is not None:
|
|
22
|
+
entry["extends"] = extends
|
|
23
|
+
return entry
|
|
24
|
+
|
|
9
25
|
|
|
10
26
|
def platform_profile_url() -> str:
|
|
11
27
|
"""Public identity URL sent in both USP and UCP Agent headers.
|
|
@@ -31,25 +47,48 @@ def platform_profile_doc() -> Dict[str, Any]:
|
|
|
31
47
|
"version": "2026-08-14",
|
|
32
48
|
"capabilities": {
|
|
33
49
|
"dev.usp-protocol.services.catalog": [
|
|
34
|
-
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
|
|
50
|
+
_capability(
|
|
51
|
+
"2026-08-14",
|
|
52
|
+
"https://usp-protocol.dev/specification#3-service-catalog",
|
|
53
|
+
"https://usp-protocol.dev/schemas/services/catalog.json",
|
|
54
|
+
),
|
|
55
|
+
_capability(
|
|
56
|
+
"2026-08-20",
|
|
57
|
+
"https://usp-protocol.dev/specification#3-service-catalog",
|
|
58
|
+
"https://usp-protocol.dev/schemas/services/catalog.json",
|
|
59
|
+
),
|
|
39
60
|
],
|
|
40
61
|
"dev.usp-protocol.services.availability": [
|
|
41
|
-
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
|
|
62
|
+
_capability(
|
|
63
|
+
"2026-08-14",
|
|
64
|
+
"https://usp-protocol.dev/specification#4-availability",
|
|
65
|
+
"https://usp-protocol.dev/schemas/services/availability.json",
|
|
66
|
+
),
|
|
67
|
+
_capability(
|
|
68
|
+
"2026-08-20",
|
|
69
|
+
"https://usp-protocol.dev/specification#4-availability",
|
|
70
|
+
"https://usp-protocol.dev/schemas/services/availability.json",
|
|
71
|
+
),
|
|
46
72
|
],
|
|
47
73
|
"dev.usp-protocol.services.bookings": [
|
|
48
|
-
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
|
|
74
|
+
_capability(
|
|
75
|
+
"2026-08-14",
|
|
76
|
+
"https://usp-protocol.dev/specification#5-booking-lifecycle",
|
|
77
|
+
"https://usp-protocol.dev/schemas/services/booking.json",
|
|
78
|
+
),
|
|
79
|
+
_capability(
|
|
80
|
+
"2026-08-20",
|
|
81
|
+
"https://usp-protocol.dev/specification#5-booking-lifecycle",
|
|
82
|
+
"https://usp-protocol.dev/schemas/services/booking.json",
|
|
83
|
+
),
|
|
84
|
+
],
|
|
85
|
+
"dev.usp-protocol.services.booking_questions": [
|
|
86
|
+
_capability(
|
|
87
|
+
"2026-08-20",
|
|
88
|
+
"https://usp-protocol.dev/specification#booking-questions-extension",
|
|
89
|
+
"https://usp-protocol.dev/schemas/services/booking_questions.json",
|
|
90
|
+
list(_USP_PARENTS_2026_08_20),
|
|
91
|
+
),
|
|
53
92
|
],
|
|
54
93
|
},
|
|
55
94
|
"services": {
|
|
@@ -88,6 +127,14 @@ def platform_profile_doc() -> Dict[str, Any]:
|
|
|
88
127
|
"extends": "dev.ucp.shopping.checkout",
|
|
89
128
|
}
|
|
90
129
|
],
|
|
130
|
+
"dev.usp-protocol.services.booking_questions": [
|
|
131
|
+
_capability(
|
|
132
|
+
"2026-08-20",
|
|
133
|
+
"https://usp-protocol.dev/specification#booking-questions-extension",
|
|
134
|
+
"https://usp-protocol.dev/schemas/services/booking_questions.json",
|
|
135
|
+
list(_USP_PARENTS_2026_08_20),
|
|
136
|
+
),
|
|
137
|
+
],
|
|
91
138
|
"dev.usp-protocol.services.pay_at_service": [
|
|
92
139
|
{
|
|
93
140
|
"version": "2026-08-20",
|
|
@@ -294,6 +294,9 @@ def build_payment_instrument_for_complete_checkout(
|
|
|
294
294
|
_handler_entry_for_id(checkout, handler_id) or {},
|
|
295
295
|
):
|
|
296
296
|
inst["type"] = "link"
|
|
297
|
+
# The business rejects a completion whose only instrument is not marked selected
|
|
298
|
+
# (UCP complete_checkout; the public spec example sends selected: true).
|
|
299
|
+
inst["selected"] = True
|
|
297
300
|
return inst
|
|
298
301
|
|
|
299
302
|
|
|
@@ -244,7 +244,9 @@ def usp_business_profile_from_ucp_native(ctx: UcpNativeContext) -> "USPBusinessP
|
|
|
244
244
|
if not key.startswith(f"{SVC_SERVICES}."):
|
|
245
245
|
continue
|
|
246
246
|
usp_caps[key] = [
|
|
247
|
-
USPCapabilityEntry(
|
|
247
|
+
USPCapabilityEntry(
|
|
248
|
+
version=e.version, spec=e.spec, schema_url=e.schema_url, extends=e.extends,
|
|
249
|
+
)
|
|
248
250
|
for e in entries
|
|
249
251
|
]
|
|
250
252
|
usp_bindings: List[USPTransportBinding] = []
|
|
@@ -432,17 +432,23 @@ def submissions(session: Any, *, timings: Iterable[str] = ("preflight", "before_
|
|
|
432
432
|
kept = {q: v for q, v in given.items() if q in applicable}
|
|
433
433
|
if not kept:
|
|
434
434
|
continue
|
|
435
|
-
via = {
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
entry["collected_via"] = via
|
|
442
|
-
out.append(entry)
|
|
435
|
+
via = (state(session).get("collected_via") or {}).get(set_id) or {}
|
|
436
|
+
out.append({
|
|
437
|
+
"set_id": set_id,
|
|
438
|
+
"revision": qset["revision"],
|
|
439
|
+
"answers": {q: _answer_entry(v, via.get(q)) for q, v in kept.items()},
|
|
440
|
+
})
|
|
443
441
|
return out
|
|
444
442
|
|
|
445
443
|
|
|
444
|
+
def _answer_entry(value: Any, collected_via: Optional[str]) -> Dict[str, Any]:
|
|
445
|
+
"""One question's entry: the typed value plus its optional provenance claim."""
|
|
446
|
+
entry: Dict[str, Any] = {"value": value}
|
|
447
|
+
if collected_via:
|
|
448
|
+
entry["collected_via"] = collected_via
|
|
449
|
+
return entry
|
|
450
|
+
|
|
451
|
+
|
|
446
452
|
def submissions_digest(session: Any) -> Optional[str]:
|
|
447
453
|
return bq.submissions_digest(submissions(session))
|
|
448
454
|
|
|
@@ -791,18 +797,18 @@ def action_submissions(session: Any) -> List[Dict[str, Any]]:
|
|
|
791
797
|
for item in entry.get("items") or []:
|
|
792
798
|
sub = by_set.setdefault(item["set_id"], {
|
|
793
799
|
"set_id": item["set_id"], "revision": item["revision"], "answers": {},
|
|
794
|
-
"action_id": entry["id"],
|
|
800
|
+
"action_id": entry["id"],
|
|
795
801
|
})
|
|
796
|
-
sub["answers"][item["question_id"]] = True
|
|
797
|
-
sub["collected_via"][item["question_id"]] = "platform_surface"
|
|
802
|
+
sub["answers"][item["question_id"]] = _answer_entry(True, "platform_surface")
|
|
798
803
|
return list(by_set.values())
|
|
799
804
|
|
|
800
805
|
|
|
801
806
|
def record_action_answers(session: Any) -> None:
|
|
802
807
|
st = state(session)
|
|
803
808
|
for sub in action_submissions(session):
|
|
804
|
-
|
|
805
|
-
|
|
809
|
+
for qid, answer in sub["answers"].items():
|
|
810
|
+
st.setdefault("answers", {}).setdefault(sub["set_id"], {})[qid] = answer["value"]
|
|
811
|
+
st.setdefault("collected_via", {}).setdefault(sub["set_id"], {})[qid] = answer["collected_via"]
|
|
806
812
|
|
|
807
813
|
|
|
808
814
|
# ---------------------------------------------------------------------------
|
{booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent_cli/bundled_skill.md
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
version: 0.59.
|
|
2
|
+
version: 0.59.2
|
|
3
3
|
name: booking-agent
|
|
4
4
|
description: |
|
|
5
5
|
Books time-based services via USP from a Link wallet. Use when the user wants to book, schedule, reserve, or pay for a service from a business (haircut, lesson, repair, class, appointment, consult). The `booking-agent` CLI owns the booking state machine and refuses to proceed when human gates are skipped. Sign the user in to Link on your own, right after install and at the start of every booking (`booking-agent flow link-auth connect`, then start `booking-agent flow link-auth poll` in the background and post the sign-in URL in the same turn, exactly like `pay poll`); never wait for the user to ask to sign in or to say they approved. After `booking-agent flow business use`, follow `next_command` through `use-ucp-checkout-mode`; businesses without native checkout fail closed. Payment uses `booking-agent flow pay request` (default returns immediately with the approval URL), then start `booking-agent flow pay poll` in the background and post the approval URL to the user in the same turn; the poll finishes checkout once they approve. Confirm through `booking-agent flow book poll --wait`; never start an inbound webhook. Surface the approval URL exactly once. Personal identification (name, phone, email, address) must always come from the user's Link account via `link-cli`, never from chat or placeholders. Before any location-based search, the CLI proposes the Link shipping address and the user confirms it or gives another; online services skip this. Talk to the user in plain everyday language only; never expose CLI, UCP, auth, session, or other implementation details unless they explicitly ask.
|
|
@@ -19,7 +19,7 @@ metadata:
|
|
|
19
19
|
- link-cli
|
|
20
20
|
install:
|
|
21
21
|
- kind: uv
|
|
22
|
-
package: "booking-agent-cli==0.
|
|
22
|
+
package: "booking-agent-cli==0.13.0"
|
|
23
23
|
bins: [booking-agent]
|
|
24
24
|
user-invocable: true
|
|
25
25
|
---
|
|
@@ -220,7 +220,7 @@ To take a fixed, published version instead of the latest, fetch it at the releas
|
|
|
220
220
|
workflow signs it under, and check the signature before you follow it:
|
|
221
221
|
|
|
222
222
|
```bash
|
|
223
|
-
curl -fsSLO https://raw.githubusercontent.com/wix/booking-agent/skill-v0.59.
|
|
223
|
+
curl -fsSLO https://raw.githubusercontent.com/wix/booking-agent/skill-v0.59.2/booking-agent/skills/booking-agent/SKILL.md
|
|
224
224
|
gh attestation verify SKILL.md \
|
|
225
225
|
--repo wix/booking-agent \
|
|
226
226
|
--signer-workflow wix/booking-agent/.github/workflows/release.yml
|
|
@@ -245,17 +245,17 @@ before installing:
|
|
|
245
245
|
|
|
246
246
|
```bash
|
|
247
247
|
dir="$HOME/.booking-agent/verified-wheels"
|
|
248
|
-
uvx pip download "booking-agent-cli==0.
|
|
248
|
+
uvx pip download "booking-agent-cli==0.13.0" --no-deps --only-binary :all: -d "$dir"
|
|
249
249
|
uvx pypi-attestations==0.0.30 verify pypi --repository https://github.com/wix/booking-agent \
|
|
250
|
-
"$dir/booking_agent_cli-0.
|
|
251
|
-
uv tool install --force "$dir/booking_agent_cli-0.
|
|
250
|
+
"$dir/booking_agent_cli-0.13.0-py3-none-any.whl"
|
|
251
|
+
uv tool install --force "$dir/booking_agent_cli-0.13.0-py3-none-any.whl"
|
|
252
252
|
|
|
253
253
|
booking-agent --help
|
|
254
254
|
```
|
|
255
255
|
|
|
256
256
|
Install only a wheel whose verify step passed. If `uvx` is not
|
|
257
|
-
available, install the same pinned release with `uv tool install booking-agent-cli==0.
|
|
258
|
-
`pipx install booking-agent-cli==0.
|
|
257
|
+
available, install the same pinned release with `uv tool install booking-agent-cli==0.13.0` or
|
|
258
|
+
`pipx install booking-agent-cli==0.13.0`; the CLI checks its own files against the signed release
|
|
259
259
|
on the first `booking-agent flow init` and refuses to book or pay if they do not match.
|
|
260
260
|
|
|
261
261
|
Harnesses that read this skill's `install` block do this for you. Do not go on
|
|
@@ -468,7 +468,7 @@ confirmation email or on the business's page (`booking_url`). Do not invent a lo
|
|
|
468
468
|
**Step 1b — Create a new session:**
|
|
469
469
|
|
|
470
470
|
```bash
|
|
471
|
-
booking-agent flow init --user-request "<user's exact request>" --skill-version 0.59.
|
|
471
|
+
booking-agent flow init --user-request "<user's exact request>" --skill-version 0.59.2 \
|
|
472
472
|
--skill-path "<absolute path of the SKILL.md you loaded>"
|
|
473
473
|
```
|
|
474
474
|
|
{booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent_cli/commands/flow.py
RENAMED
|
@@ -200,6 +200,28 @@ from ..session import (
|
|
|
200
200
|
app = typer.Typer(help="Stateful USP booking flow with hard human gates.")
|
|
201
201
|
|
|
202
202
|
|
|
203
|
+
def _help_requested(ctx: typer.Context) -> bool:
|
|
204
|
+
"""True when `--help` or `-h` was passed, so group callbacks stay read-only."""
|
|
205
|
+
import inspect
|
|
206
|
+
|
|
207
|
+
help_flags = set(ctx.help_option_names or ("--help",)) | {"--help", "-h"}
|
|
208
|
+
sources = [sys.argv[1:]]
|
|
209
|
+
frame = inspect.currentframe()
|
|
210
|
+
while frame is not None:
|
|
211
|
+
if frame.f_code.co_name == "invoke":
|
|
212
|
+
args = frame.f_locals.get("args")
|
|
213
|
+
if isinstance(args, list):
|
|
214
|
+
sources.append(args)
|
|
215
|
+
frame = frame.f_back
|
|
216
|
+
for tokens in sources:
|
|
217
|
+
for tok in tokens:
|
|
218
|
+
if tok == "--":
|
|
219
|
+
break
|
|
220
|
+
if tok in help_flags:
|
|
221
|
+
return True
|
|
222
|
+
return False
|
|
223
|
+
|
|
224
|
+
|
|
203
225
|
@app.callback()
|
|
204
226
|
def _flow_setup(ctx: typer.Context) -> None:
|
|
205
227
|
"""Load config for every command process.
|
|
@@ -214,6 +236,8 @@ def _flow_setup(ctx: typer.Context) -> None:
|
|
|
214
236
|
|
|
215
237
|
clear_last_http_failure()
|
|
216
238
|
config_loader.load()
|
|
239
|
+
if _help_requested(ctx):
|
|
240
|
+
return
|
|
217
241
|
sub = ctx.invoked_subcommand
|
|
218
242
|
_resume_check(sub)
|
|
219
243
|
if sub not in (None, "init", "sessions"):
|
|
@@ -7465,7 +7489,9 @@ app.add_typer(pay_app, name="pay")
|
|
|
7465
7489
|
|
|
7466
7490
|
|
|
7467
7491
|
@pay_app.callback()
|
|
7468
|
-
def _pay_requires_verified_installation() -> None:
|
|
7492
|
+
def _pay_requires_verified_installation(ctx: typer.Context) -> None:
|
|
7493
|
+
if _help_requested(ctx):
|
|
7494
|
+
return
|
|
7469
7495
|
_require_verified_installation(load_store(), "PAYMENT_PENDING")
|
|
7470
7496
|
_require_verified_skill(load_store(), "PAYMENT_PENDING")
|
|
7471
7497
|
|
{booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/src/booking_agent_cli/fault_reports.py
RENAMED
|
@@ -7,7 +7,7 @@ allowlist in ``FAULT_REPORT_SCHEMA``. Such a report goes to the support ingest w
|
|
|
7
7
|
a consent prompt; everything else stays on the consented support-report path.
|
|
8
8
|
|
|
9
9
|
Reports are queued in ``fault-queue.jsonl`` and sent after the command's stdout is
|
|
10
|
-
written, within a
|
|
10
|
+
written, within a five-second budget, silently. ``BOOKING_AGENT_FAULT_REPORTS=0``
|
|
11
11
|
turns this off.
|
|
12
12
|
"""
|
|
13
13
|
from __future__ import annotations
|
|
@@ -31,8 +31,9 @@ QUEUE_NAME = "fault-queue.jsonl"
|
|
|
31
31
|
SENT_NAME = "fault-sent.json"
|
|
32
32
|
MAX_QUEUE = 50
|
|
33
33
|
MAX_VIOLATIONS = 20
|
|
34
|
+
MAX_ATTEMPTS = 2
|
|
34
35
|
DEDUPE_SECONDS = 24 * 3600
|
|
35
|
-
SEND_BUDGET_S =
|
|
36
|
+
SEND_BUDGET_S = 5.0
|
|
36
37
|
_MIN_ATTEMPT_S = 0.05
|
|
37
38
|
|
|
38
39
|
_visible_error = False
|
|
@@ -142,7 +143,23 @@ def _home() -> Path:
|
|
|
142
143
|
return settings.booking_agent_home()
|
|
143
144
|
|
|
144
145
|
|
|
145
|
-
def
|
|
146
|
+
def _fresh(item: Dict[str, Any], now: float) -> bool:
|
|
147
|
+
from datetime import datetime
|
|
148
|
+
|
|
149
|
+
raw = item.get("created_at")
|
|
150
|
+
if not isinstance(raw, str):
|
|
151
|
+
return False
|
|
152
|
+
try:
|
|
153
|
+
created = datetime.fromisoformat(
|
|
154
|
+
raw[:-1] + "+00:00" if raw.endswith("Z") else raw
|
|
155
|
+
).timestamp()
|
|
156
|
+
except ValueError:
|
|
157
|
+
return False
|
|
158
|
+
return now - created < DEDUPE_SECONDS
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
def _read_queue(path: Path, now: Optional[float] = None) -> List[Dict[str, Any]]:
|
|
162
|
+
now = time.time() if now is None else now
|
|
146
163
|
try:
|
|
147
164
|
lines = path.read_text(encoding="utf-8").splitlines()
|
|
148
165
|
except OSError:
|
|
@@ -153,7 +170,11 @@ def _read_queue(path: Path) -> List[Dict[str, Any]]:
|
|
|
153
170
|
item = json.loads(line)
|
|
154
171
|
except ValueError:
|
|
155
172
|
continue
|
|
156
|
-
if
|
|
173
|
+
if (
|
|
174
|
+
isinstance(item, dict)
|
|
175
|
+
and isinstance(item.get("fingerprint"), str)
|
|
176
|
+
and _fresh(item, now)
|
|
177
|
+
):
|
|
157
178
|
out.append(item)
|
|
158
179
|
return out
|
|
159
180
|
|
|
@@ -191,7 +212,7 @@ def enqueue(reports: List[Dict[str, Any]], *, now: Optional[float] = None) -> No
|
|
|
191
212
|
return
|
|
192
213
|
now = time.time() if now is None else now
|
|
193
214
|
home = _home()
|
|
194
|
-
queue = _read_queue(home / QUEUE_NAME)
|
|
215
|
+
queue = _read_queue(home / QUEUE_NAME, now)
|
|
195
216
|
sent = _read_sent(home / SENT_NAME, now)
|
|
196
217
|
known = {item["fingerprint"] for item in queue} | set(sent)
|
|
197
218
|
for report in reports:
|
|
@@ -211,11 +232,13 @@ def send_queued(
|
|
|
211
232
|
"""Send queued reports until the budget runs out; keep what was not accepted."""
|
|
212
233
|
from .support_report import DEFAULT_SUPPORT_INGEST_URL, _post_report
|
|
213
234
|
|
|
235
|
+
now = time.time() if now is None else now
|
|
214
236
|
home = _home()
|
|
215
|
-
|
|
237
|
+
queue_path = home / QUEUE_NAME
|
|
238
|
+
queue = _read_queue(queue_path, now)
|
|
216
239
|
if not queue:
|
|
240
|
+
queue_path.unlink(missing_ok=True)
|
|
217
241
|
return
|
|
218
|
-
now = time.time() if now is None else now
|
|
219
242
|
sent = _read_sent(home / SENT_NAME, now)
|
|
220
243
|
deadline = time.monotonic() + budget_s
|
|
221
244
|
remaining: List[Dict[str, Any]] = []
|
|
@@ -224,7 +247,9 @@ def send_queued(
|
|
|
224
247
|
if left < _MIN_ATTEMPT_S:
|
|
225
248
|
remaining.extend(queue[index:])
|
|
226
249
|
break
|
|
227
|
-
|
|
250
|
+
attempts = int(report.get("attempts") or 0) + 1
|
|
251
|
+
payload = {k: v for k, v in report.items() if k != "attempts"}
|
|
252
|
+
body = json.dumps(payload, sort_keys=True).encode("utf-8")
|
|
228
253
|
try:
|
|
229
254
|
failure = _post_report(DEFAULT_SUPPORT_INGEST_URL, body, transport=transport, timeout=left)
|
|
230
255
|
except Exception:
|
|
@@ -234,9 +259,13 @@ def send_queued(
|
|
|
234
259
|
elif failure == "schema":
|
|
235
260
|
continue
|
|
236
261
|
else:
|
|
237
|
-
|
|
262
|
+
if attempts < MAX_ATTEMPTS:
|
|
263
|
+
remaining.append({**payload, "attempts": attempts})
|
|
264
|
+
else:
|
|
265
|
+
sent[report["fingerprint"]] = now
|
|
266
|
+
remaining.extend(queue[index + 1:])
|
|
238
267
|
break
|
|
239
|
-
_write_queue(
|
|
268
|
+
_write_queue(queue_path, remaining)
|
|
240
269
|
_write(home / SENT_NAME, json.dumps(sent, sort_keys=True))
|
|
241
270
|
|
|
242
271
|
|
|
@@ -130,10 +130,11 @@ def test_before_confirmation_questions_are_asked_then_sent_on_create(
|
|
|
130
130
|
[create] = _calls("create_booking")
|
|
131
131
|
assert create["booking_question_submissions"] == [{
|
|
132
132
|
"set_id": "intake", "revision": "r1",
|
|
133
|
-
"answers": {
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
133
|
+
"answers": {
|
|
134
|
+
"hair_length": {"value": "long", "collected_via": "conversation"},
|
|
135
|
+
"color_allergy": {"value": True, "collected_via": "conversation"},
|
|
136
|
+
"allergy_detail": {"value": "Itching after a dark dye", "collected_via": "conversation"},
|
|
137
|
+
},
|
|
137
138
|
}]
|
|
138
139
|
assert must_load().booking.id
|
|
139
140
|
|
|
@@ -168,7 +169,9 @@ def test_preflight_gates_availability_and_threads_the_token(
|
|
|
168
169
|
"--question-id", "prior_reaction", "--no"))
|
|
169
170
|
assert eligible["next_command"] == f"booking-agent flow availability --service-id {_SERVICE_ID}"
|
|
170
171
|
[check] = _calls("check_eligibility")
|
|
171
|
-
assert check["submissions"][0]["answers"] == {
|
|
172
|
+
assert check["submissions"][0]["answers"] == {
|
|
173
|
+
"prior_reaction": {"value": False, "collected_via": "conversation"},
|
|
174
|
+
}
|
|
172
175
|
|
|
173
176
|
_ok(_invoke(runner, "flow", "availability", "--service-id", _SERVICE_ID))
|
|
174
177
|
assert _calls("query_availability")[0] == {"booking_question_assessment_token": "bqat_mock"}
|
|
@@ -285,8 +288,9 @@ def test_buyer_input_action_needs_the_users_explicit_yes(
|
|
|
285
288
|
assert done["next_command"] == "booking-agent flow book poll --wait"
|
|
286
289
|
[update] = _calls("update_booking")
|
|
287
290
|
assert update["booking_question_submissions"] == [{
|
|
288
|
-
"set_id": "intake", "revision": "r1",
|
|
289
|
-
"
|
|
291
|
+
"set_id": "intake", "revision": "r1",
|
|
292
|
+
"answers": {"no_show_fee": {"value": True, "collected_via": "platform_surface"}},
|
|
293
|
+
"action_id": "act_bq_1",
|
|
290
294
|
}]
|
|
291
295
|
|
|
292
296
|
|
|
@@ -392,7 +396,8 @@ def test_recipient_preflight_is_about_that_person_and_goes_on_the_check(
|
|
|
392
396
|
[check] = _calls("check_eligibility")
|
|
393
397
|
assert check["recipient"] == {"first_name": "Noa", "last_name": "Levi"}
|
|
394
398
|
assert check["submissions"][0]["answers"] == {
|
|
395
|
-
"participant_name": "Noa Levi", "
|
|
399
|
+
"participant_name": {"value": "Noa Levi", "collected_via": "conversation"},
|
|
400
|
+
"birth_date": {"value": "2018-04-12", "collected_via": "conversation"},
|
|
396
401
|
}
|
|
397
402
|
|
|
398
403
|
|
{booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/integration/test_platform_profile.py
RENAMED
|
@@ -88,6 +88,13 @@ def test_published_capabilities_match_client_surface():
|
|
|
88
88
|
ucp_client_capabilities.add("dev.ucp.common.payment.terms")
|
|
89
89
|
if callable(build_paid_bookings_create_body):
|
|
90
90
|
ucp_client_capabilities.add("dev.usp-protocol.services.paid_bookings")
|
|
91
|
+
create_booking = getattr(USPBusinessRestClient, "create_booking", None)
|
|
92
|
+
if (
|
|
93
|
+
callable(create_booking)
|
|
94
|
+
and "booking_question_submissions" in inspect.signature(create_booking).parameters
|
|
95
|
+
):
|
|
96
|
+
usp_client_capabilities.add("dev.usp-protocol.services.booking_questions")
|
|
97
|
+
ucp_client_capabilities.add("dev.usp-protocol.services.booking_questions")
|
|
91
98
|
# pay_at_service is declared only because the client can complete a checkout
|
|
92
99
|
# with no payment instrument (USP 11.3.5 S4/S5).
|
|
93
100
|
if "without_instrument" in inspect.signature(complete_ucp_checkout_async).parameters:
|
{booking_agent_cli-0.12.0 → booking_agent_cli-0.13.0}/tests/integration/test_resume_after_restart.py
RENAMED
|
@@ -170,6 +170,32 @@ def test_a_note_question_does_not_need_status_first(runner, isolated_session, mo
|
|
|
170
170
|
assert _stdout_json(r)["awaiting_user"] == sr.AWAITING_SUPPORT_REPORT_CONSENT
|
|
171
171
|
|
|
172
172
|
|
|
173
|
+
def test_help_on_a_flow_subcommand_does_not_trip_resume_check_or_record_a_fault(
|
|
174
|
+
runner, isolated_session, monkeypatch,
|
|
175
|
+
):
|
|
176
|
+
from booking_agent_cli import fault_reports
|
|
177
|
+
from booking_agent_cli.session import load_session
|
|
178
|
+
|
|
179
|
+
_at_summary(runner, monkeypatch)
|
|
180
|
+
before_log = list(load_session().activity_log)
|
|
181
|
+
_fresh_runtime(monkeypatch)
|
|
182
|
+
fault_reports.collect()
|
|
183
|
+
|
|
184
|
+
r = _invoke(runner, "flow", "calendar", "record-event", "--help")
|
|
185
|
+
|
|
186
|
+
assert r.exit_code == 0, r.stdout
|
|
187
|
+
assert "Usage:" in r.stdout
|
|
188
|
+
assert fault_reports.collect() == []
|
|
189
|
+
assert load_session().activity_log == before_log
|
|
190
|
+
|
|
191
|
+
# Help on `flow status` must not count as having read the saved booking.
|
|
192
|
+
r_status_help = _invoke(runner, "flow", "status", "--help")
|
|
193
|
+
assert r_status_help.exit_code == 0
|
|
194
|
+
r_change = _invoke(runner, "flow", "availability", "--service-id", _SERVICE_ID, "--change-time")
|
|
195
|
+
assert r_change.exit_code == 1
|
|
196
|
+
assert _stdout_json(r_change)["data"]["error"]["code"] == "resume_check_required"
|
|
197
|
+
|
|
198
|
+
|
|
173
199
|
def _booked_text(session) -> str:
|
|
174
200
|
from booking_agent_cli.booking_summary import booked_message
|
|
175
201
|
|
|
@@ -357,6 +357,7 @@ def test_build_instrument_handler_id_uses_instance_id():
|
|
|
357
357
|
assert inst["credential"]["type"] == "stripe_payment_token"
|
|
358
358
|
assert inst.get("type") == "link"
|
|
359
359
|
assert inst.get("id") == "instr_abc"
|
|
360
|
+
assert inst["selected"] is True
|
|
360
361
|
|
|
361
362
|
|
|
362
363
|
# ---------------------------------------------------------------------------
|
|
@@ -198,12 +198,27 @@ def test_parse_usp_capable_ucp_accepts_capability_extends_list():
|
|
|
198
198
|
],
|
|
199
199
|
}
|
|
200
200
|
]
|
|
201
|
+
doc["ucp"]["capabilities"]["dev.usp-protocol.services.booking_questions"] = [
|
|
202
|
+
{
|
|
203
|
+
"version": "2026-08-20",
|
|
204
|
+
"extends": [
|
|
205
|
+
"dev.usp-protocol.services.catalog",
|
|
206
|
+
"dev.usp-protocol.services.bookings",
|
|
207
|
+
],
|
|
208
|
+
}
|
|
209
|
+
]
|
|
201
210
|
|
|
202
211
|
ctx = parse_ucp_native_context_from_document(
|
|
203
212
|
doc,
|
|
204
213
|
require_paid_bookings=False,
|
|
205
214
|
)
|
|
206
215
|
|
|
216
|
+
profile = usp_business_profile_from_ucp_native(ctx)
|
|
217
|
+
carried = profile.capabilities["dev.usp-protocol.services.booking_questions"][0]
|
|
218
|
+
assert carried.extends == [
|
|
219
|
+
"dev.usp-protocol.services.catalog",
|
|
220
|
+
"dev.usp-protocol.services.bookings",
|
|
221
|
+
]
|
|
207
222
|
entry = ctx.profile.capabilities["dev.ucp.shopping.fulfillment"][0]
|
|
208
223
|
assert entry.extends == [
|
|
209
224
|
"dev.ucp.shopping.checkout",
|