affinity-sdk 1.26.0__tar.gz → 1.28.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.
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/CHANGELOG.md +60 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/PKG-INFO +1 -1
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/_internal/keyfile.py +74 -8
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/commands/config_cmds.py +18 -1
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/commands/field_cmds.py +156 -12
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/context.py +7 -4
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/docs/public/cli/commands.md +19 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/docs/public/guides/authentication.md +22 -1
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.claude-plugin/plugin.json +1 -1
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.claude-plugin/skills/affinity-mcp-workflows/SKILL.md +45 -24
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.claude-plugin/skills/pipeline-history/SKILL.md +12 -4
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.registry/commands.generated.json +34 -20
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.registry/mcp-commands.json +12 -7
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/CHANGELOG.md +61 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/COMPATIBILITY +12 -2
- affinity_sdk-1.28.0/mcp/VERSION +1 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/lib/cli-gateway.sh +64 -26
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/prompts/interaction-brief/interaction-brief.txt +1 -1
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/prompts/pipeline-review/pipeline-review.txt +8 -3
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/prompts/prepare-briefing/prepare-briefing.txt +1 -1
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/prompts/warm-intro/warm-intro.txt +5 -4
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/resources/data-model/data-model.md +25 -21
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/server.d/requirements.json +1 -1
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/server.d/server.meta.json +1 -1
- affinity_sdk-1.28.0/mcp/tools/execute-read-command/tool.meta.json +39 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/tools/execute-read-command/tool.sh +23 -4
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/tools/execute-write-command/tool.meta.json +1 -1
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/tools/get-entity-dossier/tool.meta.json +2 -2
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/tools/get-entity-dossier/tool.sh +14 -21
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/plugins/affinity-sdk/.claude-plugin/plugin.json +1 -1
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/plugins/affinity-sdk/.claude-plugin/skills/affinity-python-sdk/SKILL.md +49 -7
- affinity_sdk-1.28.0/plugins/affinity-sdk/.claude-plugin/skills/affinity-python-sdk/references/services.md +159 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/plugins/xaffinity-cli/.claude-plugin/plugin.json +1 -1
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/plugins/xaffinity-cli/skills/xaffinity-cli-usage/SKILL.md +22 -6
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/plugins/xaffinity-cli/skills/xaffinity-cli-usage/references/files-and-writes.md +7 -9
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/plugins/xaffinity-cli/skills/xaffinity-cli-usage/references/filtering.md +1 -1
- affinity_sdk-1.28.0/plugins/xaffinity-cli/skills/xaffinity-cli-usage/references/history-and-activity.md +86 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/plugins/xaffinity-cli/skills/xaffinity-cli-usage/references/interactions.md +2 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/plugins/xaffinity-cli/skills/xaffinity-cli-usage/references/setup.md +17 -4
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/pyproject.toml +1 -1
- affinity_sdk-1.28.0/tests/test_api_key_file_formats.py +134 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_api_key_resolution.py +19 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_field_history_bulk.py +269 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_generate_mcp_command_registry.py +5 -0
- affinity_sdk-1.28.0/tests/test_mcp_entity_dossier.py +92 -0
- affinity_sdk-1.28.0/tests/test_mcp_gateway_limits.py +148 -0
- affinity_sdk-1.28.0/tests/test_mcp_history_bulk_gateway.py +136 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_mcp_read_truncation.py +41 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tools/generate_mcp_command_registry.py +6 -1
- affinity_sdk-1.26.0/mcp/VERSION +0 -1
- affinity_sdk-1.26.0/mcp/tools/execute-read-command/tool.meta.json +0 -39
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/.claude-plugin/marketplace.json +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/.cursor/rules/test-data-privacy.mdc +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/.editorconfig +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/.env.example +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/.gitattributes +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/.github/CODEOWNERS +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/.github/ISSUE_TEMPLATE/bug_report.yml +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/.github/ISSUE_TEMPLATE/feature_request.yml +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/.github/PULL_REQUEST_TEMPLATE/cli_command.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/.github/PULL_REQUEST_TEMPLATE/release.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/.github/dependabot.yml +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/.github/labels.yml +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/.github/mcp-release-install-footer.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/.github/pull_request_template.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/.github/release-install-footer.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/.github/workflows/ci.yml +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/.github/workflows/docs.yml +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/.github/workflows/labels.yml +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/.github/workflows/linkcheck.yml +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/.github/workflows/openapi-validation.yml +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/.github/workflows/plugin-build.yml +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/.github/workflows/plugin-release.yml +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/.github/workflows/release-detect.yml +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/.github/workflows/release.yml +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/.github/workflows/version-check.yml +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/.gitignore +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/.pre-commit-config.yaml +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/AGENTS.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/CODE_OF_CONDUCT.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/CONTRIBUTING.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/LICENSE +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/README.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/SECURITY.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/VERSIONING.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/__init__.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/_internal/__init__.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/api_versions.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/__init__.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/__main__.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/_update_worker.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/click_compat.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/commands/__init__.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/commands/_entity_field.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/commands/_entity_files_dump.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/commands/_entity_files_read.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/commands/_entity_files_upload.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/commands/_list_entry_fields.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/commands/_org_reads.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/commands/_search_common.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/commands/_v1_parsing.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/commands/company_cmds.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/commands/completion_cmd.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/commands/entry_cmds.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/commands/file_cmds.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/commands/file_url_cmd.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/commands/interaction_cmds.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/commands/list_cmds.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/commands/note_cmds.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/commands/opportunity_cmds.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/commands/org_read_cmds.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/commands/person_cmds.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/commands/query_cmd.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/commands/relationship_strength_cmds.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/commands/reminder_cmds.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/commands/resolve_url_cmd.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/commands/session_cmds.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/commands/task_cmds.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/commands/transcript_cmds.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/commands/version_cmd.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/commands/whoami_cmd.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/config.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/confirm.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/constants.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/csv_utils.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/date_utils.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/decorators.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/errors.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/field_utils.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/formatters.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/help_json.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/interaction_utils.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/logging.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/main.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/mcp_limits.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/options.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/paths.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/progress.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/query/__init__.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/query/aggregates.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/query/cursor.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/query/dates.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/query/exceptions.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/query/executor.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/query/filters.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/query/models.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/query/output.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/query/parser.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/query/planner.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/query/progress.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/query/schema.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/render.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/resolve.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/resolvers.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/results.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/runner.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/serialization.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/session_cache.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/types.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/cli/update_check.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/client.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/clients/__init__.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/clients/http.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/clients/pipeline.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/compare.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/downloads.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/exceptions.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/field_resolve_utils.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/field_resolver.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/filters.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/hooks.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/inbound_webhooks.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/models/__init__.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/models/entities.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/models/interactions_v2.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/models/pagination.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/models/rate_limit_snapshot.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/models/relationships_v2.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/models/search.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/models/secondary.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/models/transcripts.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/models/types.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/policies.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/progress.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/py.typed +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/services/__init__.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/services/_dropdown_options.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/services/_field_listing.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/services/_field_updates.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/services/_org_reads.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/services/_v2_filters.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/services/companies.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/services/lists.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/services/opportunities.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/services/persons.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/services/rate_limits.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/services/search.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/services/tasks.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/services/transcripts.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/services/v1_only.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/affinity/types.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/codecov.yml +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/docs/cli-development-guide.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/docs/public/ai-integrations/index.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/docs/public/changelog.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/docs/public/cli/index.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/docs/public/cli/scripting.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/docs/public/cli-reference.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/docs/public/examples.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/docs/public/getting-started.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/docs/public/glossary.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/docs/public/guides/affinity-official-mcp-comparison.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/docs/public/guides/api-versions-and-routing.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/docs/public/guides/api-versions.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/docs/public/guides/claude-code-plugins.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/docs/public/guides/configuration.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/docs/public/guides/csv-export.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/docs/public/guides/datetime-handling.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/docs/public/guides/debugging-hooks.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/docs/public/guides/errors-and-retries.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/docs/public/guides/field-types-and-values.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/docs/public/guides/field-values.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/docs/public/guides/filtering.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/docs/public/guides/ids-and-types.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/docs/public/guides/models.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/docs/public/guides/opportunity-associations.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/docs/public/guides/pagination.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/docs/public/guides/performance.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/docs/public/guides/query-command.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/docs/public/guides/rate-limits.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/docs/public/guides/sync-vs-async.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/docs/public/guides/webhooks.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/docs/public/index.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/docs/public/mcp/index.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/docs/public/reference/client.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/docs/public/reference/exceptions.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/docs/public/reference/filters.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/docs/public/reference/models.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/docs/public/reference/query-language.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/docs/public/reference/services/companies.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/docs/public/reference/services/lists.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/docs/public/reference/services/opportunities.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/docs/public/reference/services/persons.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/docs/public/reference/services/tasks.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/docs/public/reference/services/v1/auth.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/docs/public/reference/services/v1/field-values.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/docs/public/reference/services/v1/fields.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/docs/public/reference/services/v1/files.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/docs/public/reference/services/v1/interactions.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/docs/public/reference/services/v1/notes.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/docs/public/reference/services/v1/relationships.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/docs/public/reference/services/v1/reminders.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/docs/public/reference/services/v1/webhooks.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/docs/public/reference/types.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/docs/public/troubleshooting.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/examples/advanced_usage.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/examples/async_lifecycle.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/examples/basic_usage.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/examples/filter_builder.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/examples/hooks_debugging.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/examples/list_management.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/examples/resolve_helpers.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/examples/task_polling.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.claude-plugin/.gitignore +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.claude-plugin/skills/query-language/SKILL.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.claude-plugin/skills/query-language/references/filter-operators.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.claude-plugin/skills/query-language/references/include-expand.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.claude-plugin/skills/query-language/references/output-formats.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.claude-plugin/skills/query-language/references/quantifiers.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.claude-plugin/xaffinity-mcp.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.gitignore +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.mcp-bash/VERSION +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.mcp-bash/bin/mcp-bash +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.mcp-bash/handlers/completion.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.mcp-bash/handlers/lifecycle.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.mcp-bash/handlers/logging.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.mcp-bash/handlers/ping.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.mcp-bash/handlers/prompts.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.mcp-bash/handlers/resources.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.mcp-bash/handlers/roots.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.mcp-bash/handlers/tools.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.mcp-bash/lib/auth.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.mcp-bash/lib/capabilities.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.mcp-bash/lib/cli/common.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.mcp-bash/lib/cli/health.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.mcp-bash/lib/completion.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.mcp-bash/lib/core.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.mcp-bash/lib/elicitation.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.mcp-bash/lib/file_read.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.mcp-bash/lib/handler_helpers.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.mcp-bash/lib/hash.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.mcp-bash/lib/ids.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.mcp-bash/lib/io.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.mcp-bash/lib/json.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.mcp-bash/lib/lock.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.mcp-bash/lib/logging.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.mcp-bash/lib/meta_env.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.mcp-bash/lib/paginate.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.mcp-bash/lib/path.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.mcp-bash/lib/policy.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.mcp-bash/lib/progress-passthrough.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.mcp-bash/lib/progress.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.mcp-bash/lib/prompts.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.mcp-bash/lib/registry.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.mcp-bash/lib/require.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.mcp-bash/lib/resource_content.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.mcp-bash/lib/resource_match.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.mcp-bash/lib/resource_providers.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.mcp-bash/lib/resources.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.mcp-bash/lib/roots.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.mcp-bash/lib/rpc.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.mcp-bash/lib/runtime.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.mcp-bash/lib/spec.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.mcp-bash/lib/timeout.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.mcp-bash/lib/tools.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.mcp-bash/lib/tools_policy.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.mcp-bash/lib/ui-templates.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.mcp-bash/lib/ui.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.mcp-bash/lib/uri.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.mcp-bash/lib/validate.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.mcp-bash/providers/echo.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.mcp-bash/providers/file.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.mcp-bash/providers/git.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.mcp-bash/providers/https.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.mcp-bash/providers/ui.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.mcp-bash/sdk/tool-sdk.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.mcp-bash/sdk/ui-sdk.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.mcp-bash/vendor.json +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.registry/prompts.json +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.registry/resource-templates.json +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.registry/resources.json +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/.registry/ui-resources.json +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/Makefile +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/README.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/completions/entity-name.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/completions/list-name.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/completions/status-value.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/docs/DEBUGGING.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/icon.svg +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/lib/cache.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/lib/cli-detect.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/lib/common.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/lib/entity-types.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/lib/field-resolution.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/mcp-bash.lock +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/mcp-publisher.lock +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/mcpb.conf +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/prompts/change-status/change-status.completion.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/prompts/change-status/change-status.meta.json +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/prompts/change-status/change-status.txt +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/prompts/interaction-brief/interaction-brief.meta.json +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/prompts/log-call/log-call.meta.json +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/prompts/log-call/log-call.txt +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/prompts/log-interaction-and-update-workflow/log-interaction-and-update-workflow.meta.json +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/prompts/log-interaction-and-update-workflow/log-interaction-and-update-workflow.txt +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/prompts/log-message/log-message.meta.json +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/prompts/log-message/log-message.txt +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/prompts/pipeline-review/pipeline-review.completion.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/prompts/pipeline-review/pipeline-review.meta.json +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/prompts/prepare-briefing/prepare-briefing.meta.json +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/prompts/warm-intro/warm-intro.meta.json +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/providers/xaffinity.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/resources/data-model/data-model.meta.json +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/resources/field-catalogs/field-catalogs.meta.json +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/resources/field-catalogs/field-catalogs.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/resources/interaction-enums/interaction-enums.json +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/resources/interaction-enums/interaction-enums.meta.json +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/resources/me/me.meta.json +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/resources/me/me.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/resources/me-person-id/me-person-id.meta.json +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/resources/me-person-id/me-person-id.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/resources/query-guide/query-guide.meta.json +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/resources/query-guide/query-guide.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/resources/saved-views/saved-views.meta.json +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/resources/saved-views/saved-views.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/resources/workflow-config/workflow-config.meta.json +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/resources/workflow-config/workflow-config.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/resources/workflows-guide/workflows-guide.meta.json +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/resources/workflows-guide/workflows-guide.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/resources/xaffinity-field-catalogs.completion.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/resources/xaffinity-saved-views.completion.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/resources/xaffinity-workflow-config.completion.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/server.d/env.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/server.d/health-checks.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/server.d/policy.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/server.json +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/test/README.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/test/run.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/test/test_env_update_check.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/test-progress.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/tools/discover-commands/tool.meta.json +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/tools/discover-commands/tool.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/tools/execute-write-command/tool.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/tools/get-file-url/tool.meta.json +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/tools/get-file-url/tool.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/tools/query/tool.meta.json +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/tools/query/tool.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/tools/read-xaffinity-resource/tool.meta.json +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/tools/read-xaffinity-resource/tool.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/user-config.json +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/xaffinity-mcp-env.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mcp/xaffinity-mcp.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/mkdocs.yml +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/plugins/xaffinity-cli/hooks/guard-env-read.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/plugins/xaffinity-cli/hooks/hooks.json +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/plugins/xaffinity-cli/hooks/pre-xaffinity.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/plugins/xaffinity-cli/hooks/session-setup.sh +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/plugins/xaffinity-cli/skills/xaffinity-cli-usage/references/query-guide.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/cli/query/test_cursor.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/cli/test_company_create_dedup.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/cli/test_company_ls_filter_rejection.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/cli/test_formatters.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/cli/test_output_formats_integration.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/cli/test_person_create_dedup.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/cli/test_person_ls_filter_rejection.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/cli/test_query_filter_rejection.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/cli/test_query_list_entry_relationships.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/cli/test_query_list_export_parity.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/cli/test_query_output_flattening.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/cli/test_query_output_truncation.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/cli/test_query_unreplied.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/conftest.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/field_write_mocks.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/fixtures/openapi/mini_openapi.json +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/fixtures/webhooks/field_value_updated.json +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/fixtures/webhooks/list_entry_created.json +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/fixtures/webhooks/organization_created.json +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/fixtures/webhooks/organization_merged.json +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/fixtures/webhooks/person_created.json +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/fixtures/webhooks/unknown_event.json +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/integration/README.md +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/integration/conftest.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/integration/setup_query_parity_data.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/integration/test_cli_writes.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/integration/test_query_parity_integration.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/integration/test_sdk_reads.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/integration/test_sdk_writes.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/integration/test_sdk_writes_runner.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/mcp/__init__.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/mcp/test_query_cursor.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/skill-evals/xaffinity-cli-usage-evals/evals.json +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/spec_guard.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_affinity_client_wrapper_additional_coverage.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_api_version.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_api_version_per_operation.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_async_file_download_streaming.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_batch_get.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_api_version.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_column_limiting.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_command_context.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_company_cmds_coverage.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_company_get.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_config_cmds.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_context_coverage.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_csv_export.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_date_params.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_date_utils.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_datetime_formatting.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_datetime_header_offsets.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_domain_linkification.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_dotenv_resolution.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_dropdown_field_writes.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_enriched_field_writes.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_entity_field_writes.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_entity_files_dump.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_entry_field.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_entry_field_batch_writes.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_entry_field_multi_value_limits.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_error_hints.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_error_rendering.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_field_history.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_field_options_and_transcripts.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_field_utils.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_field_utils_coverage.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_field_utils_set_phase.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_field_value_humanization.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_file_url.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_files_ls.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_files_read.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_get_interaction_dates.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_help_json.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_interaction_date_chunking.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_interaction_utils.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_json_safety.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_list_cmds_coverage.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_list_expand_interactions.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_list_export_entity_scope.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_list_export_field_refresh.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_list_export_filter_safety.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_list_export_truncation_meta.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_missing_coverage.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_multi_value_truncation_warnings.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_no_network_commands.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_opportunity_cmds.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_opportunity_cmds_coverage.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_pager_logic.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_person_cmds_coverage.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_person_get.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_pre_xaffinity_hook.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_progress_manager.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_query_aggregates.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_query_cmd.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_query_cmd_coverage.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_query_dates.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_query_executor.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_query_expand_interactions.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_query_filters.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_query_integration.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_query_parser.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_query_planner.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_query_safety.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_query_schema.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_rate_limit_rendering.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_rate_limit_throttle.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_render_coverage.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_resolve_coverage.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_resolve_url_parsing.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_result_summary.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_safe_field_writes.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_search.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_serialization.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_session_cache.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_session_setup_hook.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_set_phase_atomicity.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_types.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_unreplied.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_update_check.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_v1_only_cmds.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_v1_parsing.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_cli_write_ops.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_client.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_companies_create_dedup.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_companies_filter_rejection.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_compare.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_env_helpers.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_exceptions_coverage.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_field_resolver.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_field_service_caching.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_field_types_c4.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_field_value_type.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_field_values_get_value.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_file_batch_get.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_file_download_streaming.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_file_list_batch.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_file_upload_helpers_and_validation.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_files_upload_returning_files.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_filters.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_get_fields_filter_includes.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_get_fields_pagination.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_get_first.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_hidden_field_values.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_hooks.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_http_client_additional_coverage.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_http_client_remaining_coverage.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_inbound_webhooks.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_integration_smoke.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_interaction_date_validation.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_interactions_and_files_regressions.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_isodatetime.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_list_entry_membership_and_opportunities.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_list_term.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_mcp_bundle_env_and_completions.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_mcp_cli_version_check.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_mcp_limits.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_mcp_resource_scripts.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_models.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_models_v2_2026_fields.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_multi_value_limits.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_new_features.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_notes_v2.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_opportunities_filter_rejection.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_org_reads.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_pagination_iterators.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_persons_create_dedup.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_persons_filter_rejection.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_public_api.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_raw_pipeline_hook_events.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_readonly_factory.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_reminder_list_batch.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_requirements_additional.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_sdk_interaction_dates.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_search.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_service_get_parameter_combinations.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_services_companies_coverage_gaps.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_services_dropdown_options.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_services_entity_field_updates.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_services_field_value_changes.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_services_list_entries_filter_paths.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_services_lists_additional_coverage.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_services_lists_coverage_gaps.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_services_opportunities_additional_coverage.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_services_opportunities_coverage_gaps.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_services_opportunities_tasks_additional_coverage.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_services_persons_companies_additional_coverage.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_services_rate_limits_coverage_gaps.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_services_v1_only_async.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_services_v1_only_coverage_gaps.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_small_modules_coverage.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_spec_guard.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_transport_and_readonly_mode.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_v1_only_services_additional_coverage.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_v1_only_services_more_coverage.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/test_validate_openapi_tool.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/unit/__init__.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tests/unit/test_exceptions.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tools/__init__.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tools/check_cli_patterns.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tools/generate_release_notes.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tools/generate_requirements_mapping.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tools/openapi_snapshots/2024-01-01.json +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tools/openapi_snapshots/2026-07-15.json +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tools/openapi_snapshots/2026-09-17.json +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tools/sync_mcp_bundle_env.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tools/sync_mcp_registry.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tools/sync_mcp_version.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tools/validate_mcp_registry_metadata.py +0 -0
- {affinity_sdk-1.26.0 → affinity_sdk-1.28.0}/tools/validate_openapi_models.py +0 -0
|
@@ -7,6 +7,66 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [1.28.0] - 2026-10-11
|
|
11
|
+
|
|
12
|
+
### Highlights
|
|
13
|
+
|
|
14
|
+
**Read the API key from 1Password.** `AFFINITY_API_KEY_FILE` (and `--api-key-file`) accept a
|
|
15
|
+
`.env` file and a named pipe, so a 1Password Environments locally mounted `.env` works directly:
|
|
16
|
+
the CLI waits for 1Password to supply the key after you approve the read, and the key never
|
|
17
|
+
touches the disk.
|
|
18
|
+
|
|
19
|
+
### Added
|
|
20
|
+
|
|
21
|
+
- `AFFINITY_API_KEY_FILE` / `--api-key-file` (SDK `from_env()` too): a `.env`-style file is read
|
|
22
|
+
for its `AFFINITY_API_KEY=` line (`export` and quotes allowed); a file without that line is an
|
|
23
|
+
error. A named pipe is read when its writer supplies the content, waiting up to 30 seconds,
|
|
24
|
+
with a message naming 1Password if nothing arrives. `config check-key` reports a named pipe as
|
|
25
|
+
configured without reading it, and skips its API-version probe for it (reading would prompt).
|
|
26
|
+
Tested with a 1Password Environments mount: approval and unlock prompts, repeated and
|
|
27
|
+
concurrent reads.
|
|
28
|
+
|
|
29
|
+
### Changed
|
|
30
|
+
|
|
31
|
+
- `field history-bulk --strategy field` never falls back to one call per entry: if the
|
|
32
|
+
field-wide read (or reading the list's fields) fails, the command fails with a hint to retry
|
|
33
|
+
or use `--strategy entries`. `--strategy auto` still falls back, with a warning.
|
|
34
|
+
|
|
35
|
+
### Plugins
|
|
36
|
+
|
|
37
|
+
- **CLI plugin**: 1.12.0 → 1.13.0 — skill: field history without a selector, `field changes`,
|
|
38
|
+
`history-bulk --strategy`; `interaction feed`, `note feed`, `note replies`; transcripts;
|
|
39
|
+
`company|person relationships`, merge history, `task ls`; `field options`.
|
|
40
|
+
- **CLI plugin**: 1.13.0 → 1.13.1 — skill describes the current CLI only (no per-version notes);
|
|
41
|
+
one upgrade hint at install.
|
|
42
|
+
- **CLI plugin**: 1.13.1 → 1.13.2 — skill: `AFFINITY_API_KEY_FILE` reads `.env` files and
|
|
43
|
+
1Password mounted `.env`s; forced `--strategy field` never falls back.
|
|
44
|
+
- **SDK plugin**: 1.7.0 → 1.7.1 — skill: API version pinning, note/file/semantic company search,
|
|
45
|
+
hidden values; new `references/services.md` organised by question (field history, org-wide
|
|
46
|
+
activity, notes V2 and replies, transcripts, relationships, merges, dropdown options, uploads).
|
|
47
|
+
|
|
48
|
+
## [1.27.0] - 2026-10-10
|
|
49
|
+
|
|
50
|
+
### Highlights
|
|
51
|
+
|
|
52
|
+
**`field history-bulk --all` on a list field: a few calls instead of one per entry.** For a field
|
|
53
|
+
that belongs to the list, on lists of 100 or more entries, the history is now read field-wide
|
|
54
|
+
(one call per 500 changes) and filtered to the list's entries: the same rows as before. A
|
|
55
|
+
9,000-entry pipeline no longer needs 9,000 calls.
|
|
56
|
+
|
|
57
|
+
### Added
|
|
58
|
+
|
|
59
|
+
- `field history-bulk --strategy auto|field|entries` (default `auto`). Dry run reports
|
|
60
|
+
`strategy` and, for `field`, `estimatedApiCallsNote`; `estimatedApiCalls` stays the per-entry
|
|
61
|
+
worst case.
|
|
62
|
+
|
|
63
|
+
### Changed
|
|
64
|
+
|
|
65
|
+
- `field history-bulk` rows are sorted by `changedAt` (they came in no particular order). Changes
|
|
66
|
+
on entries no longer on the list are counted in a warning when read field-wide. If the
|
|
67
|
+
field-wide read fails before any data arrives, it falls back to per-entry calls with a warning;
|
|
68
|
+
a failure partway through is an error that suggests `--strategy entries`.
|
|
69
|
+
|
|
10
70
|
## [1.26.0] - 2026-10-10
|
|
11
71
|
|
|
12
72
|
### Highlights
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: affinity-sdk
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.28.0
|
|
4
4
|
Summary: A modern, strongly-typed Python SDK for the Affinity CRM API
|
|
5
5
|
Project-URL: Homepage, https://github.com/yaniv-golan/affinity-sdk
|
|
6
6
|
Project-URL: Documentation, https://yaniv-golan.github.io/affinity-sdk/latest/
|
|
@@ -19,8 +19,10 @@ Both helpers are used by:
|
|
|
19
19
|
from __future__ import annotations
|
|
20
20
|
|
|
21
21
|
import os
|
|
22
|
+
import re
|
|
22
23
|
import stat
|
|
23
24
|
import subprocess
|
|
25
|
+
import time
|
|
24
26
|
import warnings
|
|
25
27
|
from pathlib import Path
|
|
26
28
|
|
|
@@ -50,28 +52,92 @@ def _posix_permission_warnings(path: Path) -> list[str]:
|
|
|
50
52
|
return []
|
|
51
53
|
|
|
52
54
|
|
|
53
|
-
|
|
55
|
+
# How long to wait for a named pipe's writer (1Password asks the user to approve the read).
|
|
56
|
+
FIFO_TIMEOUT_SECONDS = 30.0
|
|
57
|
+
|
|
58
|
+
_ENV_LINE = re.compile(r"^\s*(?:export\s+)?([A-Z][A-Z0-9_]*)\s*=\s*(.*)$")
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
def _read_fifo(path: Path, timeout: float) -> str:
|
|
62
|
+
"""Read a named pipe whose writer may appear later (e.g. a 1Password mounted .env).
|
|
63
|
+
|
|
64
|
+
Opened non-blocking so a missing writer can't hang the process: reads return nothing until
|
|
65
|
+
a writer has written, and end once it closes.
|
|
54
66
|
"""
|
|
55
|
-
|
|
67
|
+
fd = os.open(path, os.O_RDONLY | os.O_NONBLOCK)
|
|
68
|
+
chunks: list[bytes] = []
|
|
69
|
+
deadline = time.monotonic() + timeout
|
|
70
|
+
try:
|
|
71
|
+
while True:
|
|
72
|
+
try:
|
|
73
|
+
chunk = os.read(fd, 65536)
|
|
74
|
+
except BlockingIOError: # a writer is connected but hasn't written yet
|
|
75
|
+
chunk = None
|
|
76
|
+
if chunk:
|
|
77
|
+
chunks.append(chunk)
|
|
78
|
+
elif chunk == b"" and chunks: # writer finished
|
|
79
|
+
break
|
|
80
|
+
if time.monotonic() > deadline:
|
|
81
|
+
raise ValueError(
|
|
82
|
+
f"Timed out after {timeout:g}s waiting for {path} (a named pipe). If it is "
|
|
83
|
+
"a 1Password mounted .env: is 1Password running, and was the read approved?"
|
|
84
|
+
)
|
|
85
|
+
if not chunk:
|
|
86
|
+
time.sleep(0.05)
|
|
87
|
+
finally:
|
|
88
|
+
os.close(fd)
|
|
89
|
+
return b"".join(chunks).decode("utf-8")
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
def _key_from_content(content: str, path: Path) -> str:
|
|
93
|
+
"""The key in *content*: the whole text, or AFFINITY_API_KEY from a .env-style file."""
|
|
94
|
+
text = content.strip()
|
|
95
|
+
assignments = [m for m in (_ENV_LINE.match(line) for line in text.splitlines()) if m]
|
|
96
|
+
if not assignments:
|
|
97
|
+
return text
|
|
98
|
+
for match in assignments:
|
|
99
|
+
if match.group(1) != "AFFINITY_API_KEY":
|
|
100
|
+
continue
|
|
101
|
+
value = match.group(2).strip()
|
|
102
|
+
if value[:1] in ("'", '"') and value[0] in value[1:]:
|
|
103
|
+
value = value[1 : value.index(value[0], 1)]
|
|
104
|
+
else:
|
|
105
|
+
value = value.split(" #", 1)[0].strip()
|
|
106
|
+
if value:
|
|
107
|
+
return value
|
|
108
|
+
raise ValueError(f"No AFFINITY_API_KEY in {path} (it looks like a .env file).")
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
def read_key_file(path: Path, *, fifo_timeout: float | None = None) -> str:
|
|
112
|
+
"""
|
|
113
|
+
Read an API key from *path*: a file holding just the key, or a .env-style file with an
|
|
114
|
+
``AFFINITY_API_KEY=`` line. A named pipe (e.g. a 1Password Environments locally mounted
|
|
115
|
+
.env) is read when its writer supplies the content, waiting up to *fifo_timeout* seconds
|
|
116
|
+
(default :data:`FIFO_TIMEOUT_SECONDS`).
|
|
56
117
|
|
|
57
118
|
Raises:
|
|
58
|
-
ValueError: if the path does not exist,
|
|
59
|
-
|
|
119
|
+
ValueError: if the path does not exist, the file is empty after stripping
|
|
120
|
+
whitespace, a .env-style file has no AFFINITY_API_KEY, or a named pipe gets no
|
|
121
|
+
content in time.
|
|
60
122
|
UserWarning: (Posix only) if the file's permissions are group- or
|
|
61
123
|
world-readable. The warning is emitted via :func:`warnings.warn`
|
|
62
124
|
and the value is still returned.
|
|
63
125
|
"""
|
|
64
|
-
|
|
126
|
+
is_fifo = path.exists() and stat.S_ISFIFO(path.stat().st_mode)
|
|
127
|
+
if not path.is_file() and not is_fifo:
|
|
65
128
|
raise ValueError(f"AFFINITY_API_KEY_FILE points to non-existent file: {path}")
|
|
66
129
|
|
|
67
130
|
for warning_text in _posix_permission_warnings(path):
|
|
68
131
|
warnings.warn(warning_text, UserWarning, stacklevel=3)
|
|
69
132
|
|
|
70
|
-
|
|
71
|
-
|
|
133
|
+
if is_fifo:
|
|
134
|
+
content = _read_fifo(path, FIFO_TIMEOUT_SECONDS if fifo_timeout is None else fifo_timeout)
|
|
135
|
+
else:
|
|
136
|
+
content = path.read_text(encoding="utf-8")
|
|
137
|
+
if not content.strip():
|
|
72
138
|
raise ValueError(f"Empty API key file: {path}")
|
|
73
139
|
|
|
74
|
-
return content
|
|
140
|
+
return _key_from_content(content, path)
|
|
75
141
|
|
|
76
142
|
|
|
77
143
|
def read_key_command(cmd: str) -> str:
|
|
@@ -3,6 +3,7 @@ from __future__ import annotations
|
|
|
3
3
|
import getpass
|
|
4
4
|
import os
|
|
5
5
|
import re
|
|
6
|
+
import stat
|
|
6
7
|
import sys
|
|
7
8
|
from contextlib import suppress
|
|
8
9
|
from datetime import datetime, timezone
|
|
@@ -125,6 +126,10 @@ def _find_existing_key(ctx: CLIContext) -> tuple[bool, str | None]:
|
|
|
125
126
|
if file_path_env:
|
|
126
127
|
try:
|
|
127
128
|
file_path = Path(file_path_env).expanduser()
|
|
129
|
+
# A named pipe (e.g. a 1Password mounted .env) is not read here: reading it asks
|
|
130
|
+
# 1Password for approval. Its existence is the evidence.
|
|
131
|
+
if file_path.exists() and stat.S_ISFIFO(file_path.stat().st_mode):
|
|
132
|
+
return True, "file"
|
|
128
133
|
if file_path.is_file() and file_path.read_text(encoding="utf-8").strip():
|
|
129
134
|
return True, "file"
|
|
130
135
|
except OSError:
|
|
@@ -228,12 +233,22 @@ def check_key(ctx: CLIContext) -> None:
|
|
|
228
233
|
run_command(ctx, command="config check-key", fn=fn)
|
|
229
234
|
|
|
230
235
|
|
|
236
|
+
def _is_fifo(path: str) -> bool:
|
|
237
|
+
if not path:
|
|
238
|
+
return False
|
|
239
|
+
try:
|
|
240
|
+
return stat.S_ISFIFO(Path(path).expanduser().stat().st_mode)
|
|
241
|
+
except OSError:
|
|
242
|
+
return False
|
|
243
|
+
|
|
244
|
+
|
|
231
245
|
def _probe_key_default_api_version(ctx: CLIContext, source: str | None) -> str | None:
|
|
232
246
|
"""
|
|
233
247
|
Best-effort: the API key's default Affinity V2 API version, or None.
|
|
234
248
|
|
|
235
249
|
One unversioned V2 request with a short timeout and no retries. Never raises, never
|
|
236
|
-
runs AFFINITY_API_KEY_COMMAND (check-key deliberately doesn't)
|
|
250
|
+
runs AFFINITY_API_KEY_COMMAND (check-key deliberately doesn't), never reads stdin and
|
|
251
|
+
never reads a named pipe (a 1Password mounted .env would prompt the user).
|
|
237
252
|
"""
|
|
238
253
|
if (
|
|
239
254
|
source == "command"
|
|
@@ -241,6 +256,8 @@ def _probe_key_default_api_version(ctx: CLIContext, source: str | None) -> str |
|
|
|
241
256
|
or os.getenv("AFFINITY_API_KEY_COMMAND", "").strip()
|
|
242
257
|
or ctx.api_key_stdin
|
|
243
258
|
or ctx.api_key_file == "-"
|
|
259
|
+
or _is_fifo(os.getenv("AFFINITY_API_KEY_FILE", "").strip())
|
|
260
|
+
or _is_fifo(ctx.api_key_file or "")
|
|
244
261
|
):
|
|
245
262
|
return None
|
|
246
263
|
try:
|
|
@@ -8,7 +8,12 @@ from typing import Any
|
|
|
8
8
|
|
|
9
9
|
from pydantic import ValidationError
|
|
10
10
|
|
|
11
|
-
from affinity.exceptions import
|
|
11
|
+
from affinity.exceptions import (
|
|
12
|
+
AffinityError,
|
|
13
|
+
ApiVersionTooOldError,
|
|
14
|
+
AuthenticationError,
|
|
15
|
+
AuthorizationError,
|
|
16
|
+
)
|
|
12
17
|
from affinity.models.entities import DropdownOption, FieldCreate, FieldMetadata, FieldValueChange
|
|
13
18
|
from affinity.models.secondary import FieldValueChangeV2
|
|
14
19
|
from affinity.models.types import EntityType, FieldValueType
|
|
@@ -1049,6 +1054,22 @@ def field_options_delete(
|
|
|
1049
1054
|
# ---------------------------------------------------------------------------
|
|
1050
1055
|
|
|
1051
1056
|
_HISTORY_BULK_DEFAULT_CONCURRENCY = 15
|
|
1057
|
+
# --strategy auto reads a list field's history field-wide only for lists at least this big:
|
|
1058
|
+
# field-wide pages are fetched one after another, the per-entry calls 15 at a time.
|
|
1059
|
+
_FIELD_WIDE_MIN_ENTRIES = 100
|
|
1060
|
+
_FIELD_WIDE_PAGE_SIZE = 500
|
|
1061
|
+
|
|
1062
|
+
|
|
1063
|
+
def _same_field(a: object, b: str) -> bool:
|
|
1064
|
+
"""Field ids compare normalised (``123`` and ``field-123`` are the same field)."""
|
|
1065
|
+
try:
|
|
1066
|
+
return str(FieldId(str(a))) == str(FieldId(b))
|
|
1067
|
+
except ValueError:
|
|
1068
|
+
return str(a) == b
|
|
1069
|
+
|
|
1070
|
+
|
|
1071
|
+
class _FieldWideUnavailable(Exception):
|
|
1072
|
+
"""The field-wide fetch failed before any data arrived (auto: use the per-entry path)."""
|
|
1052
1073
|
|
|
1053
1074
|
|
|
1054
1075
|
def _get_entity_name_from_entry(entry: Any) -> str | None:
|
|
@@ -1094,6 +1115,18 @@ def _get_entity_name_from_entry(entry: Any) -> str | None:
|
|
|
1094
1115
|
help="Filter by action type.",
|
|
1095
1116
|
)
|
|
1096
1117
|
@click.option("--dry-run", is_flag=True, help="Show estimated API calls without executing.")
|
|
1118
|
+
@click.option(
|
|
1119
|
+
"--strategy",
|
|
1120
|
+
type=click.Choice(["auto", "field", "entries"]),
|
|
1121
|
+
default="auto",
|
|
1122
|
+
show_default=True,
|
|
1123
|
+
help=(
|
|
1124
|
+
"field: read the list field's whole history in a few paged calls (needs --list-id and "
|
|
1125
|
+
"--all; never falls back to per-entry calls); entries: one call per entry; auto: field "
|
|
1126
|
+
f"for list fields on lists of {_FIELD_WIDE_MIN_ENTRIES}+ entries, per entry if that "
|
|
1127
|
+
"fails before any data."
|
|
1128
|
+
),
|
|
1129
|
+
)
|
|
1097
1130
|
@csv_output_options
|
|
1098
1131
|
@click.pass_obj
|
|
1099
1132
|
def field_history_bulk(
|
|
@@ -1106,10 +1139,13 @@ def field_history_bulk(
|
|
|
1106
1139
|
all_entries: bool,
|
|
1107
1140
|
action_type: str | None,
|
|
1108
1141
|
dry_run: bool,
|
|
1142
|
+
strategy: str,
|
|
1109
1143
|
) -> None:
|
|
1110
1144
|
"""Fetch field value change history for multiple list entries.
|
|
1111
1145
|
|
|
1112
|
-
|
|
1146
|
+
With --list-id and --all, a field that belongs to the list is read field-wide (a few paged
|
|
1147
|
+
calls) on lists of 100+ entries; otherwise one call per entry, 15 at a time. --strategy
|
|
1148
|
+
forces either. Rows and their shape are the same either way, sorted by changedAt.
|
|
1113
1149
|
|
|
1114
1150
|
FIELD_ID is the field identifier (e.g., 'field-123').
|
|
1115
1151
|
|
|
@@ -1194,22 +1230,68 @@ def field_history_bulk(
|
|
|
1194
1230
|
|
|
1195
1231
|
total = len(entry_ids)
|
|
1196
1232
|
|
|
1233
|
+
# --- Strategy ---
|
|
1234
|
+
chosen = "entries"
|
|
1235
|
+
if strategy == "field" and not (list_id is not None and all_entries):
|
|
1236
|
+
raise CLIError(
|
|
1237
|
+
"--strategy field needs --list-id and --all (it reads the whole field).",
|
|
1238
|
+
error_type="usage_error",
|
|
1239
|
+
exit_code=2,
|
|
1240
|
+
)
|
|
1241
|
+
if (
|
|
1242
|
+
list_id is not None
|
|
1243
|
+
and all_entries
|
|
1244
|
+
and strategy != "entries"
|
|
1245
|
+
and (strategy == "field" or total >= _FIELD_WIDE_MIN_ENTRIES)
|
|
1246
|
+
):
|
|
1247
|
+
try:
|
|
1248
|
+
list_fields = client.lists.get_fields(ListId(resolved_list_id))
|
|
1249
|
+
except AffinityError as exc:
|
|
1250
|
+
if strategy == "field":
|
|
1251
|
+
# A forced field-wide read never turns into one call per entry
|
|
1252
|
+
raise CLIError(
|
|
1253
|
+
f"Could not read the list's fields ({exc}).",
|
|
1254
|
+
error_type="api_error",
|
|
1255
|
+
exit_code=1,
|
|
1256
|
+
hint="Retry, or use --strategy entries (one call per entry).",
|
|
1257
|
+
) from exc
|
|
1258
|
+
list_fields = []
|
|
1259
|
+
warnings.append(f"Could not read the list's fields ({exc}); fetching per entry.")
|
|
1260
|
+
if any(f.type == "list" and _same_field(f.id, field_id) for f in list_fields):
|
|
1261
|
+
chosen = "field"
|
|
1262
|
+
elif strategy == "field":
|
|
1263
|
+
raise CLIError(
|
|
1264
|
+
f"--strategy field needs a field of this list; {field_id} is not one "
|
|
1265
|
+
"(global, enriched or another list's field). Use --strategy entries.",
|
|
1266
|
+
error_type="usage_error",
|
|
1267
|
+
exit_code=2,
|
|
1268
|
+
)
|
|
1269
|
+
|
|
1197
1270
|
# --- Dry run ---
|
|
1198
1271
|
if dry_run:
|
|
1199
1272
|
cmd_context = CommandContext(
|
|
1200
1273
|
name="field history-bulk",
|
|
1201
1274
|
inputs={"fieldId": field_id},
|
|
1202
|
-
modifiers={"dryRun": True},
|
|
1275
|
+
modifiers={"dryRun": True, "strategy": chosen},
|
|
1203
1276
|
)
|
|
1277
|
+
dry: dict[str, object] = {
|
|
1278
|
+
"dryRun": True,
|
|
1279
|
+
"entries": total,
|
|
1280
|
+
"strategy": chosen,
|
|
1281
|
+
# Field-wide: one call per 500 changes, usually far fewer than one per entry;
|
|
1282
|
+
# the per-entry count is the worst case (the fallback)
|
|
1283
|
+
"estimatedApiCalls": total,
|
|
1284
|
+
"fieldId": field_id,
|
|
1285
|
+
}
|
|
1286
|
+
if chosen == "field":
|
|
1287
|
+
dry["estimatedApiCallsNote"] = (
|
|
1288
|
+
f"Field-wide: one call per {_FIELD_WIDE_PAGE_SIZE} changes of the field; "
|
|
1289
|
+
"estimatedApiCalls is the per-entry worst case."
|
|
1290
|
+
)
|
|
1204
1291
|
return CommandOutput(
|
|
1205
|
-
data=
|
|
1206
|
-
"dryRun": True,
|
|
1207
|
-
"entries": total,
|
|
1208
|
-
"estimatedApiCalls": total,
|
|
1209
|
-
"fieldId": field_id,
|
|
1210
|
-
},
|
|
1292
|
+
data=dry,
|
|
1211
1293
|
context=cmd_context,
|
|
1212
|
-
api_called=
|
|
1294
|
+
api_called=list_id is not None,
|
|
1213
1295
|
)
|
|
1214
1296
|
|
|
1215
1297
|
# --- Execute async fan-out ---
|
|
@@ -1301,8 +1383,69 @@ def field_history_bulk(
|
|
|
1301
1383
|
)
|
|
1302
1384
|
return results, async_warnings
|
|
1303
1385
|
|
|
1304
|
-
|
|
1305
|
-
|
|
1386
|
+
def _field_wide() -> list[dict[str, object]]:
|
|
1387
|
+
on_list = set(entry_ids)
|
|
1388
|
+
rows: list[dict[str, object]] = []
|
|
1389
|
+
dropped = 0
|
|
1390
|
+
fetched = 0
|
|
1391
|
+
try:
|
|
1392
|
+
for item in client.field_value_changes.iter_all(
|
|
1393
|
+
FieldId(field_id),
|
|
1394
|
+
action_type=parsed_action_type,
|
|
1395
|
+
page_size=_FIELD_WIDE_PAGE_SIZE,
|
|
1396
|
+
):
|
|
1397
|
+
fetched += 1
|
|
1398
|
+
eid = int(item.list_entry_id) if item.list_entry_id is not None else None
|
|
1399
|
+
if eid is None or eid not in on_list:
|
|
1400
|
+
dropped += 1
|
|
1401
|
+
continue
|
|
1402
|
+
payload = _field_value_change_payload(item)
|
|
1403
|
+
payload["entityName"] = entry_names.get(eid)
|
|
1404
|
+
rows.append(payload)
|
|
1405
|
+
if show_progress and fetched % _FIELD_WIDE_PAGE_SIZE == 0:
|
|
1406
|
+
sys.stderr.write(f"\r{fetched} changes fetched (field-wide)")
|
|
1407
|
+
sys.stderr.flush()
|
|
1408
|
+
except (AuthenticationError, AuthorizationError):
|
|
1409
|
+
raise
|
|
1410
|
+
except AffinityError as exc:
|
|
1411
|
+
if fetched == 0:
|
|
1412
|
+
raise _FieldWideUnavailable(str(exc)) from exc
|
|
1413
|
+
raise CLIError(
|
|
1414
|
+
f"Field-wide fetch failed after {fetched} changes: {exc}",
|
|
1415
|
+
error_type="api_error",
|
|
1416
|
+
exit_code=1,
|
|
1417
|
+
hint="Retry, or use --strategy entries to fetch per entry.",
|
|
1418
|
+
) from exc
|
|
1419
|
+
finally:
|
|
1420
|
+
if show_progress and fetched >= _FIELD_WIDE_PAGE_SIZE:
|
|
1421
|
+
sys.stderr.write("\r" + " " * 50 + "\r")
|
|
1422
|
+
sys.stderr.flush()
|
|
1423
|
+
if dropped:
|
|
1424
|
+
warnings.append(
|
|
1425
|
+
f"{dropped} changes belong to entries no longer on the list and are not shown."
|
|
1426
|
+
)
|
|
1427
|
+
return rows
|
|
1428
|
+
|
|
1429
|
+
all_changes: list[dict[str, object]] = []
|
|
1430
|
+
if chosen == "field":
|
|
1431
|
+
try:
|
|
1432
|
+
all_changes = _field_wide()
|
|
1433
|
+
except _FieldWideUnavailable as exc:
|
|
1434
|
+
if strategy == "field":
|
|
1435
|
+
raise CLIError(
|
|
1436
|
+
f"Field-wide fetch failed: {exc}",
|
|
1437
|
+
error_type="api_error",
|
|
1438
|
+
exit_code=1,
|
|
1439
|
+
hint="Retry, or use --strategy entries (one call per entry).",
|
|
1440
|
+
) from exc
|
|
1441
|
+
warnings.append(f"Field-wide fetch failed ({exc}); fetching per entry instead.")
|
|
1442
|
+
chosen = "entries"
|
|
1443
|
+
if chosen == "entries":
|
|
1444
|
+
all_changes, async_warnings = asyncio.run(_run())
|
|
1445
|
+
warnings.extend(async_warnings)
|
|
1446
|
+
all_changes.sort(
|
|
1447
|
+
key=lambda r: (str(r.get("changedAt") or ""), str(r.get("id") or "").zfill(20))
|
|
1448
|
+
)
|
|
1306
1449
|
|
|
1307
1450
|
# Build CommandContext
|
|
1308
1451
|
inputs: dict[str, object] = {"fieldId": field_id}
|
|
@@ -1317,6 +1460,7 @@ def field_history_bulk(
|
|
|
1317
1460
|
modifiers["maxResults"] = max_results
|
|
1318
1461
|
if all_entries:
|
|
1319
1462
|
modifiers["all"] = True
|
|
1463
|
+
modifiers["strategy"] = chosen
|
|
1320
1464
|
|
|
1321
1465
|
cmd_context = CommandContext(
|
|
1322
1466
|
name="field history-bulk",
|
|
@@ -5,6 +5,7 @@ import os
|
|
|
5
5
|
import re
|
|
6
6
|
import sys
|
|
7
7
|
import time
|
|
8
|
+
import warnings as _warnings
|
|
8
9
|
from contextlib import suppress
|
|
9
10
|
from dataclasses import dataclass, field
|
|
10
11
|
from pathlib import Path
|
|
@@ -297,10 +298,12 @@ class CLIContext:
|
|
|
297
298
|
path = Path(self.api_key_file)
|
|
298
299
|
# Check file permissions (Bug #17)
|
|
299
300
|
warnings.extend(config_file_permission_warnings(path))
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
301
|
+
try:
|
|
302
|
+
with _warnings.catch_warnings(): # permission warning already added above
|
|
303
|
+
_warnings.simplefilter("ignore")
|
|
304
|
+
return read_key_file(path)
|
|
305
|
+
except ValueError as exc:
|
|
306
|
+
raise CLIError(str(exc), exit_code=2, error_type="usage_error") from exc
|
|
304
307
|
|
|
305
308
|
# Step 5: --api-key-stdin flag.
|
|
306
309
|
if self.api_key_stdin:
|
|
@@ -1132,6 +1132,25 @@ xaffinity --json field changes --changed-after 2025-06-01T00:00:00Z --all
|
|
|
1132
1132
|
For delta sync, store the latest `changedAt` you processed and pass it as `--changed-after`
|
|
1133
1133
|
next time. It is inclusive, so skip ids you already have.
|
|
1134
1134
|
|
|
1135
|
+
### `xaffinity field history-bulk`
|
|
1136
|
+
|
|
1137
|
+
A field's change history for many list entries at once (pipeline analysis).
|
|
1138
|
+
|
|
1139
|
+
```bash
|
|
1140
|
+
xaffinity field history-bulk field-358027 --list-id Dealflow --all --dry-run
|
|
1141
|
+
xaffinity field history-bulk field-358027 --list-id Dealflow --all
|
|
1142
|
+
xaffinity field history-bulk field-358027 --list-id Dealflow --max-results 50
|
|
1143
|
+
xaffinity field history-bulk field-358027 --list-entry-ids 100,200,300
|
|
1144
|
+
```
|
|
1145
|
+
|
|
1146
|
+
With `--all` on a field that belongs to the list, and a list of 100 or more entries, the history
|
|
1147
|
+
is read field-wide: one call per 500 changes instead of one per entry, with the same rows.
|
|
1148
|
+
Otherwise there is one call per entry, 15 at a time. `--strategy field|entries` forces either
|
|
1149
|
+
(a forced `field` read that fails is an error; it never falls back to per-entry calls);
|
|
1150
|
+
the dry run shows the `strategy` and `estimatedApiCalls` (the per-entry worst case). Changes on
|
|
1151
|
+
entries no longer on the list are left out (a warning says how many). Rows are sorted by
|
|
1152
|
+
`changedAt`.
|
|
1153
|
+
|
|
1135
1154
|
### `xaffinity field options`
|
|
1136
1155
|
|
|
1137
1156
|
Options of a dropdown, ranked-dropdown or status field.
|
|
@@ -16,7 +16,7 @@ The SDK resolves the API key through the following chain (first non-empty value
|
|
|
16
16
|
|
|
17
17
|
1. **Explicit constructor arg** — `Affinity(api_key="…")` or `--api-key` CLI flag
|
|
18
18
|
2. **`AFFINITY_API_KEY`** — standard environment variable
|
|
19
|
-
3. **`AFFINITY_API_KEY_FILE`** — path to a file containing the key (12-factor / Docker secrets)
|
|
19
|
+
3. **`AFFINITY_API_KEY_FILE`** — path to a file containing the key, or a `.env` file / named pipe with `AFFINITY_API_KEY=` (12-factor / Docker secrets / 1Password)
|
|
20
20
|
4. **`AFFINITY_API_KEY_COMMAND`** — shell command whose stdout is the key (credential-helper)
|
|
21
21
|
5. **`--api-key-file <path>`** or **`--api-key-stdin`** — CLI flags
|
|
22
22
|
6. **`xaffinity config setup-key`** — saved to the system keychain
|
|
@@ -64,6 +64,27 @@ env:
|
|
|
64
64
|
value: /etc/secrets/affinity-api-key
|
|
65
65
|
```
|
|
66
66
|
|
|
67
|
+
The file can hold just the key, or be a `.env` file: the `AFFINITY_API_KEY=` line is used
|
|
68
|
+
(`export` and quotes are allowed). The same applies to `--api-key-file`.
|
|
69
|
+
|
|
70
|
+
**1Password Environments.** A 1Password locally mounted `.env` is a named pipe that 1Password
|
|
71
|
+
fills when it is read, after you approve the read. Point the variable at it:
|
|
72
|
+
|
|
73
|
+
```bash
|
|
74
|
+
export AFFINITY_API_KEY_FILE=~/projects/crm/.env # the path you chose when mounting it
|
|
75
|
+
xaffinity whoami
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
The first read asks you to approve it in 1Password; if 1Password is locked, it asks you to
|
|
79
|
+
unlock it. The CLI waits up to 30 seconds for that. Further reads need nothing until 1Password
|
|
80
|
+
locks again, and several commands can read at once. If 1Password isn't running or the read
|
|
81
|
+
isn't approved, the CLI stops with a message saying so. The key is never written to disk.
|
|
82
|
+
`config check-key` reports a named pipe as configured without reading it (so it never prompts).
|
|
83
|
+
|
|
84
|
+
While 1Password is unlocked, any program on your computer can read the mounted file (that is
|
|
85
|
+
how 1Password's mounted `.env` files work), so a short auto-lock time in 1Password limits that
|
|
86
|
+
window.
|
|
87
|
+
|
|
67
88
|
On Posix systems, a `UserWarning` is emitted if the file is group- or world-readable
|
|
68
89
|
(mode `0644` or looser). Use `chmod 600` to silence it. The check is a no-op on Windows.
|
|
69
90
|
An empty file or missing path raises `ConfigError`.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "affinity-crm-mcp-unofficial",
|
|
3
3
|
"description": "Affinity CRM workflows for Claude \u2014 meeting prep, pipeline review, warm intros, interaction logging, and relationship intelligence",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.31.0",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Yaniv Golan",
|
|
7
7
|
"email": "yaniv@golan.name"
|