pltr-cli 0.18.0__tar.gz → 0.19.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.
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/.github/workflows/ci.yml +3 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/CHANGELOG.md +76 -1
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/PKG-INFO +6 -7
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/README.md +5 -6
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/README.md +2 -1
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/SKILL.md +103 -6
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/curated/data-health.md +1 -1
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/curated/orchestration.md +11 -11
- pltr_cli-0.19.0/claude_skill/reference/curated/osdk.md +24 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/curated/resource.md +11 -1
- pltr_cli-0.19.0/claude_skill/reference/curated/site.md +42 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/index.md +4 -2
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/workflows/builds-and-schedules.md +11 -3
- pltr_cli-0.19.0/claude_skill/workflows/osdk-react-app.md +361 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/docs/development/command-contract.md +24 -3
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/docs/development/live-verification.md +72 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/docs/user-guide/commands.md +158 -2
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/docs/user-guide/troubleshooting.md +3 -3
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/docs/user-guide/workflows.md +1 -1
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/pyproject.toml +1 -1
- pltr_cli-0.19.0/src/pltr/__init__.py +1 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/cli.py +10 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/commands/data_health.py +13 -3
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/commands/orchestration.py +151 -22
- pltr_cli-0.19.0/src/pltr/commands/osdk.py +353 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/commands/resource.py +131 -1
- pltr_cli-0.19.0/src/pltr/commands/site.py +466 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/contract/__init__.py +4 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/contract/errors.py +1 -1
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/contract/hints.py +78 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/contract/resources.py +172 -27
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/manifest.py +1 -1
- pltr_cli-0.19.0/src/pltr/services/osdk.py +621 -0
- pltr_cli-0.19.0/src/pltr/services/osdk_generate.mjs +45 -0
- pltr_cli-0.19.0/src/pltr/services/osdk_generator/package-lock.json +1420 -0
- pltr_cli-0.19.0/src/pltr/services/osdk_generator/package.json +8 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/services/resource.py +78 -0
- pltr_cli-0.19.0/src/pltr/services/site.py +275 -0
- pltr_cli-0.19.0/src/pltr/services/third_party_applications.py +143 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/services/waiting.py +4 -2
- pltr_cli-0.19.0/tests/osdk_fakes.py +180 -0
- pltr_cli-0.19.0/tests/test_commands/test_build_paths.py +564 -0
- pltr_cli-0.19.0/tests/test_commands/test_osdk.py +595 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_commands/test_resource_paths.py +1 -0
- pltr_cli-0.19.0/tests/test_commands/test_resource_wait.py +407 -0
- pltr_cli-0.19.0/tests/test_commands/test_site.py +722 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_contract/cases/__init__.py +7 -1
- pltr_cli-0.19.0/tests/test_contract/cases/data/site/index.html +2 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_contract/cases/orchestration.py +5 -3
- pltr_cli-0.19.0/tests/test_contract/cases/osdk.py +24 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_contract/cases/resource.py +1 -0
- pltr_cli-0.19.0/tests/test_contract/cases/site.py +28 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_contract/test_cli_contract.py +14 -2
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_contract/test_hints.py +91 -0
- pltr_cli-0.19.0/tests/test_contract/test_json_paths.py +189 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_contract/test_resource_paths_cli.py +36 -0
- pltr_cli-0.19.0/tests/test_services/test_osdk.py +632 -0
- pltr_cli-0.19.0/tests/test_services/test_site.py +413 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/uv.lock +1 -1
- pltr_cli-0.18.0/src/pltr/__init__.py +0 -1
- pltr_cli-0.18.0/src/pltr/services/third_party_applications.py +0 -30
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/.github/workflows/publish.yml +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/.github/workflows/test-publish.yml +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/.gitignore +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/.pre-commit-config.yaml +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/CLAUDE.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/LICENSE +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/RELEASE.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/api/admin/cbac-banner.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/api/admin/cbac-marking-restrictions.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/api/admin/enrollment.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/api/admin/group.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/api/admin/marking-category.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/api/admin/marking.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/api/admin/organization.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/api/admin/role.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/api/admin/user.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/api/aip-agents.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/api/audit.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/api/checkpoints.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/api/connectivity.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/api/data-health.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/api/datasets.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/api/filesystem.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/api/functions.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/api/language-models.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/api/media-sets.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/api/models.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/api/ontologies/action-type-full-metadata.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/api/ontologies/action.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/api/ontologies/attachment-property.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/api/ontologies/attachment.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/api/ontologies/cipher-text-property.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/api/ontologies/geotemporal-series-property.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/api/ontologies/linked-object.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/api/ontologies/media-reference-property.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/api/ontologies/ontology-interface.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/api/ontologies/ontology-object-set.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/api/ontologies/ontology-object.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/api/ontologies/ontology-scenario.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/api/ontologies/ontology-transaction.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/api/ontologies/ontology-value-type.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/api/ontologies/ontology.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/api/ontologies/query.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/api/ontologies/time-series-property-v2.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/api/ontologies/time-series-value-bank-property.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/api/orchestration.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/api/sql-queries.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/api/streams.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/api/third-party-applications.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/api/widgets.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/curated/admin.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/curated/aip-agents.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/curated/alias.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/curated/assert.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/curated/audit.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/curated/commands.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/curated/completion.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/curated/configure.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/curated/connectivity.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/curated/context.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/curated/cp.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/curated/dataset.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/curated/folder.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/curated/functions.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/curated/hello.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/curated/language-models.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/curated/media-sets.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/curated/models.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/curated/ontology.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/curated/project.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/curated/resource-role.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/curated/shell.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/curated/space.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/curated/sql.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/curated/streams.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/curated/third-party-apps.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/curated/verify.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/reference/curated/widgets.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/workflows/explore-data.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/claude_skill/workflows/permissions.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/docs/README.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/docs/api/wrapper.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/docs/api-commands.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/docs/development/sdk-guardrail.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/docs/examples/csv-upload.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/docs/examples/gallery.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/docs/features/dataset-transactions.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/docs/migration/v2-pagination.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/docs/pagination.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/docs/user-guide/aliases.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/docs/user-guide/authentication.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/docs/user-guide/claude-skill.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/docs/user-guide/quick-start.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/mypy.ini +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/scripts/__init__.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/scripts/check_command_metadata.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/scripts/check_sdk_calls.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/scripts/coverage.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/scripts/generate_api_commands.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/scripts/generate_skill_reference.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/scripts/release.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/scripts/sdk_calls.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/scripts/smoke.example.toml +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/scripts/smoke.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/__main__.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/auth/__init__.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/auth/base.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/auth/environment.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/auth/manager.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/auth/oauth.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/auth/storage.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/auth/token.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/commands/__init__.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/commands/admin.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/commands/aip_agents.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/commands/alias.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/commands/api/__init__.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/commands/api/_runtime.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/commands/api/_specs/__init__.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/commands/api/_specs/admin.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/commands/api/_specs/aip_agents.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/commands/api/_specs/audit.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/commands/api/_specs/checkpoints.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/commands/api/_specs/connectivity.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/commands/api/_specs/data_health.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/commands/api/_specs/datasets.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/commands/api/_specs/filesystem.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/commands/api/_specs/functions.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/commands/api/_specs/language_models.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/commands/api/_specs/media_sets.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/commands/api/_specs/models.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/commands/api/_specs/ontologies.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/commands/api/_specs/orchestration.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/commands/api/_specs/sql_queries.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/commands/api/_specs/streams.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/commands/api/_specs/third_party_applications.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/commands/api/_specs/widgets.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/commands/assertions.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/commands/audit.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/commands/completion.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/commands/configure.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/commands/connectivity.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/commands/context.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/commands/cp.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/commands/dataset.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/commands/folder.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/commands/functions.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/commands/language_models.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/commands/manifest.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/commands/mediasets.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/commands/models.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/commands/ontology.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/commands/project.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/commands/resource_role.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/commands/shell.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/commands/space.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/commands/sql.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/commands/streams.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/commands/third_party_applications.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/commands/verify.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/commands/widgets.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/config/__init__.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/config/aliases.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/config/profiles.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/config/settings.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/contract/codegen.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/contract/command.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/contract/emit.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/contract/options.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/contract/output.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/contract/runtime.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/contract/serialize.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/services/__init__.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/services/admin.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/services/aip_agents.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/services/audit.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/services/base.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/services/connectivity.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/services/copy.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/services/data_health.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/services/dataset.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/services/folder.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/services/functions.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/services/language_models.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/services/mediasets.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/services/models.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/services/ontology.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/services/orchestration.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/services/project.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/services/resource_role.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/services/space.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/services/sql.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/services/streams.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/services/verify.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/services/widgets.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/utils/__init__.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/utils/alias_resolver.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/src/pltr/utils/completion.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/__init__.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/conftest.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/foundry_json.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/foundry_json_admin.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/foundry_json_aip_agents.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/foundry_json_audit.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/foundry_json_connectivity.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/foundry_json_data_health.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/foundry_json_dataset.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/foundry_json_filesystem.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/foundry_json_functions.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/foundry_json_language_models.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/foundry_json_mediasets.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/foundry_json_models.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/foundry_json_ontology.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/foundry_json_orchestration.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/foundry_json_sql.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/foundry_json_streams.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/foundry_json_widgets.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/integration/README.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/integration/__init__.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/integration/conftest.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/integration/test_auth_flow.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/integration/test_cli_integration.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/integration/test_data_workflows.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/integration/test_data_workflows_simple.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/integration/test_simple_integration.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/sdk_call_allowlist.txt +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_api_commands/conftest.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_api_commands/test_behaviour.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_api_commands/test_generator.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_api_commands/test_lazy_loading.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_api_commands/test_namespaces.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_auth/__init__.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_auth/fakes.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_auth/test_base.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_auth/test_headless_auth.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_auth/test_manager.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_auth/test_oauth.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_auth/test_storage.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_auth/test_token.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_cli_help.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_commands/__init__.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_commands/test_admin.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_commands/test_aip_agents.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_commands/test_alias.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_commands/test_assert.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_commands/test_audit.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_commands/test_completion.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_commands/test_configure.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_commands/test_connectivity.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_commands/test_context.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_commands/test_cp.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_commands/test_data_health.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_commands/test_dataset.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_commands/test_dataset_files.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_commands/test_dataset_transactions.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_commands/test_dataset_views.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_commands/test_folder.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_commands/test_functions.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_commands/test_language_models.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_commands/test_mediasets.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_commands/test_models.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_commands/test_ontology.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_commands/test_orchestration.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_commands/test_project.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_commands/test_resource.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_commands/test_resource_role.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_commands/test_shell.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_commands/test_space.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_commands/test_sql.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_commands/test_streams.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_commands/test_third_party_applications.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_commands/test_verify.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_commands/test_wait.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_commands/test_widgets.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_config/__init__.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_config/test_aliases.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_config/test_profiles.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_config/test_settings.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_contract/__init__.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_contract/cases/admin.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_contract/cases/aip_agents.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_contract/cases/api.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_contract/cases/assertions.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_contract/cases/audit.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_contract/cases/connectivity.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_contract/cases/context.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_contract/cases/cp.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_contract/cases/data/connectivity-driver.jar +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_contract/cases/data/connectivity-secrets.json +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_contract/cases/data_health.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_contract/cases/dataset.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_contract/cases/folder.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_contract/cases/functions.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_contract/cases/language_models.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_contract/cases/local.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_contract/cases/manifest.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_contract/cases/mediasets.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_contract/cases/models.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_contract/cases/ontology.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_contract/cases/project.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_contract/cases/resource_role.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_contract/cases/space.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_contract/cases/sql.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_contract/cases/streams.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_contract/cases/third_party_applications.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_contract/cases/verify.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_contract/cases/widgets.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_contract/test_codegen.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_contract/test_command.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_contract/test_emit_code.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_contract/test_errors.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_contract/test_options.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_contract/test_output.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_contract/test_resources.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_contract/test_runtime.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_contract/test_serialize.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_contract/test_table_rows_timezones.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_debug_tracebacks.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_dependencies.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_docs_examples.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_entry_point.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_manifest/__init__.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_manifest/conftest.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_manifest/test_manifest_build.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_manifest/test_manifest_cli.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_manifest/test_manifest_search.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_manifest/test_metadata_crosscheck.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_manifest/test_skill_reference.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_sdk_call_checker.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_sdk_call_guardrail.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_services/__init__.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_services/test_admin.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_services/test_aip_agents.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_services/test_audit.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_services/test_base.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_services/test_connectivity.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_services/test_copy.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_services/test_data_health.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_services/test_dataset.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_services/test_dataset_transactions.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_services/test_folder.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_services/test_functions.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_services/test_language_models.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_services/test_mediasets.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_services/test_models.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_services/test_ontology.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_services/test_orchestration.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_services/test_project.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_services/test_resource.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_services/test_resource_role.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_services/test_space.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_services/test_sql.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_services/test_streams.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_services/test_widgets.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_smoke_script.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_smoke_script_stubbed.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_startup.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_utils/__init__.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_utils/test_alias_resolver.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.19.0}/tests/test_utils/test_rid_cache.py +0 -0
|
@@ -103,6 +103,9 @@ jobs:
|
|
|
103
103
|
pltr --version
|
|
104
104
|
pltr --help
|
|
105
105
|
pltr api --help
|
|
106
|
+
# The Node helper and the generator's lockfile of `pltr osdk generate`
|
|
107
|
+
# must ship in the wheel (#220).
|
|
108
|
+
python -c "from pltr.services.osdk import HELPER, LOCK_DIR; assert HELPER.is_file(); assert (LOCK_DIR / 'package-lock.json').is_file()"
|
|
106
109
|
|
|
107
110
|
- name: Check the error contract (JSON error on stderr, documented exit code)
|
|
108
111
|
working-directory: ${{ runner.temp }}
|
|
@@ -12,6 +12,80 @@ and pull requests. Numbers in parentheses are pull requests or issues.
|
|
|
12
12
|
|
|
13
13
|
## [Unreleased]
|
|
14
14
|
|
|
15
|
+
## [0.19.0] - 2026-11-10
|
|
16
|
+
|
|
17
|
+
This release fills the gaps found building a dataset-to-OSDK-app demo with
|
|
18
|
+
a coding agent (#203): build a dataset by its Compass path, wait for a
|
|
19
|
+
pushed transform's output to appear, generate an OSDK package from the pltr
|
|
20
|
+
profile, and deploy a built web app in one command. There are no breaking
|
|
21
|
+
changes.
|
|
22
|
+
|
|
23
|
+
### Added
|
|
24
|
+
|
|
25
|
+
- **Builds from Compass paths: `orchestration builds create --dataset`**
|
|
26
|
+
(#218). `--dataset <RID or path>` (repeatable) builds exactly those
|
|
27
|
+
datasets, the same as a `{"type": "manual", "targetRids": [...]}` TARGET,
|
|
28
|
+
which is then left out; giving both, or neither, is a usage error (exit 2).
|
|
29
|
+
Inside JSON arguments, these RID fields now take Compass paths too,
|
|
30
|
+
resolved in one lookup per command before the request (a missing path is
|
|
31
|
+
`path_not_found`, exit 5): `targetRids`, `inputRids` and
|
|
32
|
+
`ignoredRids` in `builds create`'s TARGET and in `schedules
|
|
33
|
+
create`/`replace`'s ACTION; `datasetRid` and `mediaSetRid` in `--trigger`;
|
|
34
|
+
`projectRids` in `--scope-mode`; and the subject's `datasetRid` in
|
|
35
|
+
`data-health check create`. A bare RID or path given as TARGET is a usage
|
|
36
|
+
error that points at `--dataset`.
|
|
37
|
+
- **A hint when there is nothing to build** (#218). When Foundry refuses a
|
|
38
|
+
build because its targets are up to date (`BuildTargetsUpToDate`, still
|
|
39
|
+
exit 6), the error says so and its `suggestedCommand` repeats the command
|
|
40
|
+
with `--force` (`--force-build` for `pltr api orchestration build create`).
|
|
41
|
+
- **`pltr resource wait <rid-or-path>`: wait until a resource exists**
|
|
42
|
+
(#219). It is for the step between a git push to a code repository and a
|
|
43
|
+
build: on the first push, Foundry's checks create the transform's output
|
|
44
|
+
dataset, which takes a few minutes. pltr polls the path (or RID), 2 s at
|
|
45
|
+
first and growing to at most 10 s, and prints the resource as soon as it
|
|
46
|
+
exists (exit 0). A 404 `PathNotFound` or `ResourceNotFound` means "not
|
|
47
|
+
yet". Other errors fail at once, except rate limits, 5xx and network
|
|
48
|
+
errors once polling has started, which are retried. After `--timeout`
|
|
49
|
+
(default 600 s) it exits 9
|
|
50
|
+
(`wait_timeout`) with a `suggestedCommand` that waits again. A build, job,
|
|
51
|
+
transaction or schedule RID exits 2 (`wrong_resource_type`) before any call,
|
|
52
|
+
since the API answers "not found" for those too. The public API has no
|
|
53
|
+
code repository check or commit status, so there is no `--after-commit`:
|
|
54
|
+
for a dataset that already exists the command returns at once.
|
|
55
|
+
- **`pltr osdk generate`: an OSDK TypeScript package from the pltr profile**
|
|
56
|
+
(#220). `pltr osdk generate --ontology <name|rid> --object-type A
|
|
57
|
+
[--action-type x] [--query-type q] [--link-type A.b] [--interface-type I]
|
|
58
|
+
--out ./osdk [--package-name @app/sdk] [--package-version 0.0.1]` runs
|
|
59
|
+
Palantir's `@osdk/foundry-sdk-generator`, pinned to 2.87.0, with the host
|
|
60
|
+
and token pltr uses: no Developer Console application is needed. It needs
|
|
61
|
+
Node.js 18+ and npm (`missing_dependency`, exit 2, when they're missing or
|
|
62
|
+
too old) and installs the generator into `~/.cache/pltr/osdk-generator`
|
|
63
|
+
on first use, with `npm ci` from a lockfile pltr ships, so its dependencies
|
|
64
|
+
are pinned too. The token is never on a command line: a Node script shipped
|
|
65
|
+
with pltr calls the generator's library entry point in-process and reads
|
|
66
|
+
the token from an environment variable. The result has the package path,
|
|
67
|
+
the `package.json` dependency line, the `@osdk` packages and versions the
|
|
68
|
+
app needs, and the `"overrides": {"@osdk/api": "2.87.0"}` entry that
|
|
69
|
+
avoids TS2322 errors with `@osdk/react`. `--replace` regenerates an
|
|
70
|
+
existing package, which is swapped in only once the new one is complete.
|
|
71
|
+
A failed install, generation or replacement is `work_failed` (exit 8),
|
|
72
|
+
with the generator's errors.
|
|
73
|
+
The skill has a minimal OSDK React app recipe
|
|
74
|
+
(`claude_skill/workflows/osdk-react-app.md`), since `npx @osdk/create-app`
|
|
75
|
+
needs a terminal.
|
|
76
|
+
- **`pltr site deploy DIST_DIR --application <rid>`** deploys a built web app
|
|
77
|
+
(an OSDK React app, say) to a third-party application's website in one
|
|
78
|
+
command (#221): it checks the folder (`index.html` at its root), zips it,
|
|
79
|
+
checks that the version is new, uploads it and deploys it, retrying while
|
|
80
|
+
Foundry scans the upload (`--timeout`, exit 9). The version comes from
|
|
81
|
+
`--version`, or `--auto-version package-json|git-describe` (a dirty tree
|
|
82
|
+
or a non-semver tag is refused); without one the command refuses to run.
|
|
83
|
+
It prints the version, the website's subdomains and its `url`. Deploying
|
|
84
|
+
asks first (`--yes`); `--upload-only` doesn't deploy. `pltr site versions`
|
|
85
|
+
lists the uploaded versions, and `pltr site rollback VERSION` deploys one.
|
|
86
|
+
The one-time setup in Developer Console and Control Panel is in the
|
|
87
|
+
Command Reference and the skill.
|
|
88
|
+
|
|
15
89
|
## [0.18.0] - 2026-11-08
|
|
16
90
|
|
|
17
91
|
This release makes pltr easier for coding agents to build on Foundry with
|
|
@@ -1354,7 +1428,8 @@ No changes to pltr itself; only the version number changed.
|
|
|
1354
1428
|
and OAuth2 profiles, with credentials in the system keyring),
|
|
1355
1429
|
`pltr verify`, `pltr dataset get` and `pltr dataset create`.
|
|
1356
1430
|
|
|
1357
|
-
[Unreleased]: https://github.com/anjor/pltr-cli/compare/v0.
|
|
1431
|
+
[Unreleased]: https://github.com/anjor/pltr-cli/compare/v0.19.0...HEAD
|
|
1432
|
+
[0.19.0]: https://github.com/anjor/pltr-cli/compare/v0.18.0...v0.19.0
|
|
1358
1433
|
[0.18.0]: https://github.com/anjor/pltr-cli/compare/v0.17.0...v0.18.0
|
|
1359
1434
|
[0.17.0]: https://github.com/anjor/pltr-cli/compare/v0.16.0...v0.17.0
|
|
1360
1435
|
[0.16.0]: https://github.com/anjor/pltr-cli/compare/v0.15.0...v0.16.0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: pltr-cli
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.19.0
|
|
4
4
|
Summary: Command-line interface for Palantir Foundry APIs
|
|
5
5
|
Project-URL: Homepage, https://github.com/anjor/pltr-cli
|
|
6
6
|
Project-URL: Repository, https://github.com/anjor/pltr-cli
|
|
@@ -267,14 +267,14 @@ pltr is built to be scripted, by people and by agents.
|
|
|
267
267
|
|---|---|---|
|
|
268
268
|
| 0 | Success | |
|
|
269
269
|
| 1 | Unexpected error, or "no" at a confirmation prompt | `unexpected_error`, `aborted` |
|
|
270
|
-
| 2 | Usage error: bad or missing arguments, invalid JSON input, a path to the wrong kind of resource, or `--yes` required | `usage_error`, `confirmation_required`, `wrong_resource_type` |
|
|
270
|
+
| 2 | Usage error: bad or missing arguments, invalid JSON input, a path to the wrong kind of resource, or `--yes` required; or Node.js or npm is missing or too old (`pltr osdk generate`) | `usage_error`, `confirmation_required`, `wrong_resource_type`, `missing_dependency` |
|
|
271
271
|
| 3 | Authentication: no usable credentials, or HTTP 401 | `auth_error` |
|
|
272
272
|
| 4 | Permission denied (HTTP 403) | `permission_denied` |
|
|
273
273
|
| 5 | Not found (HTTP 404), or no resource at a path you gave | `not_found`, `api_not_found`, `path_not_found` |
|
|
274
274
|
| 6 | API validation error (HTTP 400, 422) | `validation_error` |
|
|
275
275
|
| 7 | Other API or network error: HTTP 409, 413, 429, 5xx, timeouts, connection errors; or the API's response doesn't match the SDK's model or isn't JSON (`invalid_response`: upgrade pltr, a retry won't help) | `conflict`, `request_too_large`, `rate_limited`, `server_error`, `api_error`, `invalid_response`, `network_error`, `timeout` |
|
|
276
|
-
| 8 | The work finished but failed (a build, query or import waited for with `--wait`), or a `pltr assert` check failed | `work_failed`, `assertion_failed` |
|
|
277
|
-
| 9 | `--wait` timed out; the work keeps running
|
|
276
|
+
| 8 | The work finished but failed (a build, query or import waited for with `--wait`, or the generator `pltr osdk generate` runs), or a `pltr assert` check failed | `work_failed`, `assertion_failed` |
|
|
277
|
+
| 9 | `--wait` timed out; the work keeps running. Or `resource wait` timed out: still nothing at the path. The error's `suggestedCommand` waits again | `wait_timeout` |
|
|
278
278
|
|
|
279
279
|
**Destructive commands ask first.** Commands that delete, remove, revoke,
|
|
280
280
|
reset, cancel, abort or replace something ask for confirmation, and
|
|
@@ -524,9 +524,8 @@ that call beta Foundry endpoints say `[beta]` at the start of their help.
|
|
|
524
524
|
pltr orchestration builds search --status FAILED --branch master
|
|
525
525
|
pltr orchestration builds search --started-after 2026-01-31T00:00:00Z --format json
|
|
526
526
|
|
|
527
|
-
# Start a build of a dataset, follow it, cancel it
|
|
528
|
-
pltr orchestration builds create
|
|
529
|
-
'{"type": "manual", "targetRids": ["<dataset-rid>"]}' --branch master
|
|
527
|
+
# Start a build of a dataset (RID or path), follow it, cancel it
|
|
528
|
+
pltr orchestration builds create --dataset /Space/Project/sales --branch master
|
|
530
529
|
pltr orchestration builds get <build-rid>
|
|
531
530
|
pltr orchestration builds jobs <build-rid>
|
|
532
531
|
pltr orchestration builds cancel <build-rid> --yes
|
|
@@ -224,14 +224,14 @@ pltr is built to be scripted, by people and by agents.
|
|
|
224
224
|
|---|---|---|
|
|
225
225
|
| 0 | Success | |
|
|
226
226
|
| 1 | Unexpected error, or "no" at a confirmation prompt | `unexpected_error`, `aborted` |
|
|
227
|
-
| 2 | Usage error: bad or missing arguments, invalid JSON input, a path to the wrong kind of resource, or `--yes` required | `usage_error`, `confirmation_required`, `wrong_resource_type` |
|
|
227
|
+
| 2 | Usage error: bad or missing arguments, invalid JSON input, a path to the wrong kind of resource, or `--yes` required; or Node.js or npm is missing or too old (`pltr osdk generate`) | `usage_error`, `confirmation_required`, `wrong_resource_type`, `missing_dependency` |
|
|
228
228
|
| 3 | Authentication: no usable credentials, or HTTP 401 | `auth_error` |
|
|
229
229
|
| 4 | Permission denied (HTTP 403) | `permission_denied` |
|
|
230
230
|
| 5 | Not found (HTTP 404), or no resource at a path you gave | `not_found`, `api_not_found`, `path_not_found` |
|
|
231
231
|
| 6 | API validation error (HTTP 400, 422) | `validation_error` |
|
|
232
232
|
| 7 | Other API or network error: HTTP 409, 413, 429, 5xx, timeouts, connection errors; or the API's response doesn't match the SDK's model or isn't JSON (`invalid_response`: upgrade pltr, a retry won't help) | `conflict`, `request_too_large`, `rate_limited`, `server_error`, `api_error`, `invalid_response`, `network_error`, `timeout` |
|
|
233
|
-
| 8 | The work finished but failed (a build, query or import waited for with `--wait`), or a `pltr assert` check failed | `work_failed`, `assertion_failed` |
|
|
234
|
-
| 9 | `--wait` timed out; the work keeps running
|
|
233
|
+
| 8 | The work finished but failed (a build, query or import waited for with `--wait`, or the generator `pltr osdk generate` runs), or a `pltr assert` check failed | `work_failed`, `assertion_failed` |
|
|
234
|
+
| 9 | `--wait` timed out; the work keeps running. Or `resource wait` timed out: still nothing at the path. The error's `suggestedCommand` waits again | `wait_timeout` |
|
|
235
235
|
|
|
236
236
|
**Destructive commands ask first.** Commands that delete, remove, revoke,
|
|
237
237
|
reset, cancel, abort or replace something ask for confirmation, and
|
|
@@ -481,9 +481,8 @@ that call beta Foundry endpoints say `[beta]` at the start of their help.
|
|
|
481
481
|
pltr orchestration builds search --status FAILED --branch master
|
|
482
482
|
pltr orchestration builds search --started-after 2026-01-31T00:00:00Z --format json
|
|
483
483
|
|
|
484
|
-
# Start a build of a dataset, follow it, cancel it
|
|
485
|
-
pltr orchestration builds create
|
|
486
|
-
'{"type": "manual", "targetRids": ["<dataset-rid>"]}' --branch master
|
|
484
|
+
# Start a build of a dataset (RID or path), follow it, cancel it
|
|
485
|
+
pltr orchestration builds create --dataset /Space/Project/sales --branch master
|
|
487
486
|
pltr orchestration builds get <build-rid>
|
|
488
487
|
pltr orchestration builds jobs <build-rid>
|
|
489
488
|
pltr orchestration builds cancel <build-rid> --yes
|
|
@@ -24,7 +24,8 @@ claude_skill/
|
|
|
24
24
|
├── workflows/ # hand-written, longer workflows
|
|
25
25
|
│ ├── explore-data.md
|
|
26
26
|
│ ├── builds-and-schedules.md
|
|
27
|
-
│
|
|
27
|
+
│ ├── permissions.md
|
|
28
|
+
│ └── osdk-react-app.md
|
|
28
29
|
└── reference/ # GENERATED from the command manifest; don't edit
|
|
29
30
|
├── index.md # what's where, and how to read an entry
|
|
30
31
|
├── curated/ # one file per curated group: dataset.md, sql.md, ...
|
|
@@ -93,14 +93,14 @@ Pass `--format json`, or set `PLTR_FORMAT=json` once for the session.
|
|
|
93
93
|
|---|---|---|
|
|
94
94
|
| 0 | success | |
|
|
95
95
|
| 1 | unexpected error, or "no" at a prompt | read the message; `PLTR_DEBUG=1` shows a traceback |
|
|
96
|
-
| 2 | usage error, or `--yes` required; `wrong_resource_type`: a path to the wrong kind of resource | fix the arguments (`pltr commands show ...`) |
|
|
96
|
+
| 2 | usage error, or `--yes` required; `wrong_resource_type`: a path to the wrong kind of resource; `missing_dependency`: Node.js or npm is missing or too old (`pltr osdk generate`) | fix the arguments (`pltr commands show ...`); for `missing_dependency`, tell the user what to install (see `hint`) |
|
|
97
97
|
| 3 | authentication | check credentials with `pltr verify` |
|
|
98
98
|
| 4 | permission denied (403) | the account lacks access; tell the user |
|
|
99
99
|
| 5 | not found (404); `path_not_found`: nothing at a path you gave | check the RID or path and that the account can see it |
|
|
100
100
|
| 6 | the API rejected the request (400, 422) | fix the input; see `errorName` and `parameters` |
|
|
101
101
|
| 7 | other API or network error (409, 429, 5xx, timeouts), or `invalid_response`: the API's response doesn't match the SDK's model or isn't JSON | retry later, or report it; for `invalid_response`, upgrade pltr: a retry won't help |
|
|
102
|
-
| 8 | the work failed (`work_failed`: a build, query or import you waited for) or a `pltr assert` check failed (`assertion_failed`) | read `parameters` (failed jobs) or the assert result on stdout |
|
|
103
|
-
| 9 | `--wait` timed out (`wait_timeout`); the work keeps running | run `suggestedCommand` to wait again |
|
|
102
|
+
| 8 | the work failed (`work_failed`: a build, query or import you waited for, or `pltr osdk generate`'s generator) or a `pltr assert` check failed (`assertion_failed`) | read `parameters` (failed jobs, the generator's `errors`) or the assert result on stdout |
|
|
103
|
+
| 9 | `--wait` timed out (`wait_timeout`); the work keeps running. Or `resource wait` timed out: still nothing at the path | run `suggestedCommand` to wait again |
|
|
104
104
|
|
|
105
105
|
### Errors that say how to recover
|
|
106
106
|
|
|
@@ -121,6 +121,9 @@ When pltr knows how to recover, the error object has a `hint` and often a
|
|
|
121
121
|
- `auth_error` after HTTP 401: the token expired or was revoked; ask the user
|
|
122
122
|
for a new one (`suggestedCommand` shows where it goes);
|
|
123
123
|
- `path_not_found`: what a Compass path looks like.
|
|
124
|
+
- `BuildTargetsUpToDate` (`validation_error`, exit 6): nothing was built
|
|
125
|
+
because the datasets are already up to date. That is usually fine;
|
|
126
|
+
`suggestedCommand` repeats the command with `--force` if you must rebuild.
|
|
124
127
|
|
|
125
128
|
## 4. Safety rules
|
|
126
129
|
|
|
@@ -159,6 +162,12 @@ RID-based: output shows RIDs, so save the RID for later calls. Spaces and the
|
|
|
159
162
|
root folder can't be looked up by path. Usage lines show such options as
|
|
160
163
|
`RID|PATH`, and the reference marks such arguments "(RID or path)".
|
|
161
164
|
|
|
165
|
+
Inside JSON arguments, paths work only in the RID fields a command's help
|
|
166
|
+
names: `targetRids`, `inputRids` and `ignoredRids` of a build target
|
|
167
|
+
(`builds create` TARGET, `schedules create`/`replace` ACTION), schedule
|
|
168
|
+
`--trigger` and `--scope-mode`, and a data-health check's subject. Other
|
|
169
|
+
JSON, including every `pltr api` JSON option, takes RIDs only.
|
|
170
|
+
|
|
162
171
|
Users and groups are identified by UUIDs, ontologies by RID or API name, and
|
|
163
172
|
object types by API name. Don't construct RIDs; get them from the user, from
|
|
164
173
|
a path, or from command output:
|
|
@@ -213,8 +222,8 @@ running (then run the error's `suggestedCommand`). Then verify the output
|
|
|
213
222
|
with `pltr assert`, which exits 8 when a check fails:
|
|
214
223
|
|
|
215
224
|
```bash
|
|
216
|
-
pltr orchestration builds create
|
|
217
|
-
pltr assert dataset
|
|
225
|
+
pltr orchestration builds create --dataset "/My Space/My Project/sales" --branch master --wait --format json
|
|
226
|
+
pltr assert dataset "/My Space/My Project/sales" --min-rows 1 --updated-within 1h --format json
|
|
218
227
|
pltr assert build ri.foundry.main.build.abc --succeeded
|
|
219
228
|
pltr assert objects my-ontology Employee --min-count 1
|
|
220
229
|
```
|
|
@@ -228,6 +237,32 @@ work twice. Never re-run the trigger command to "retry" a wait.
|
|
|
228
237
|
`pltr dataset schema get --format json`. To check an ontology action without
|
|
229
238
|
applying it, use `pltr ontology action-validate`.
|
|
230
239
|
|
|
240
|
+
**After a git push to a code repository**, Foundry's checks run first (a few
|
|
241
|
+
minutes) and, on the first push, create the transform's output dataset; you
|
|
242
|
+
can't build it before that. Don't write a polling loop: `pltr resource wait`
|
|
243
|
+
polls until a resource exists at the path (or RID), then prints it (exit 0),
|
|
244
|
+
or exits 9 after `--timeout` (run the error's `suggestedCommand`; it started
|
|
245
|
+
nothing, so waiting again is always safe). Then build the branch you pushed
|
|
246
|
+
with `--wait`, and check the change itself:
|
|
247
|
+
|
|
248
|
+
```bash
|
|
249
|
+
git push origin my-feature
|
|
250
|
+
pltr resource wait "/Space/Project/clean/orders" --timeout 100 --format json
|
|
251
|
+
pltr orchestration builds create --dataset "/Space/Project/clean/orders" --branch my-feature --wait --format json
|
|
252
|
+
pltr assert dataset "/Space/Project/clean/orders" --branch my-feature --schema expected.json --min-rows 1
|
|
253
|
+
```
|
|
254
|
+
|
|
255
|
+
Without `--branch` the build runs the default branch's code. If it fails at
|
|
256
|
+
once with `BuildTargetsMissingJobSpecs` (exit 6), the checks haven't
|
|
257
|
+
published the transform on that branch yet: wait a minute and build again.
|
|
258
|
+
|
|
259
|
+
The public API has no check or commit status: `resource wait` only knows
|
|
260
|
+
that the dataset exists, so after a later push it returns at once, and a
|
|
261
|
+
build started before the checks finish can run the previous code. Fresh
|
|
262
|
+
rows don't prove the new code ran: assert what the change should show
|
|
263
|
+
(`--schema` for a new column), and if it doesn't, wait a few minutes and
|
|
264
|
+
build again.
|
|
265
|
+
|
|
231
266
|
## 6c. Writing app code: `--emit-code`
|
|
232
267
|
|
|
233
268
|
When you write code that calls Foundry (an app, a pipeline, a script), first
|
|
@@ -248,6 +283,67 @@ it's safe on destructive commands. A command that makes several calls (or no
|
|
|
248
283
|
Foundry call) fails with `emit_code_unsupported` (exit 2): use `pltr commands
|
|
249
284
|
show <command>` for its SDK methods and `pltr api ... --emit-code` for each.
|
|
250
285
|
|
|
286
|
+
## 6d. Building an OSDK app: `pltr osdk generate`
|
|
287
|
+
|
|
288
|
+
To build a TypeScript or React app on ontology objects, generate the OSDK
|
|
289
|
+
package with pltr: it needs Node.js 18+ and npm, but no Developer Console
|
|
290
|
+
application, and it keeps the token off command lines. Run it from the app's
|
|
291
|
+
root:
|
|
292
|
+
|
|
293
|
+
```bash
|
|
294
|
+
pltr context ontology <ontology> --types Order # API names: properties, links, actions
|
|
295
|
+
pltr osdk generate --ontology <ontology> --object-type Order --action-type assign-order --out ./osdk --package-name @orders-app/sdk --format json
|
|
296
|
+
```
|
|
297
|
+
|
|
298
|
+
Add the result's `dependency`, `peerDependencies` (and `reactDependencies`)
|
|
299
|
+
to the app's `package.json`, and its `overrides` entry (`@osdk/api`): without
|
|
300
|
+
it `tsc` fails with TS2322. Objects get links only with
|
|
301
|
+
`--link-type Order.customer` (and the linked object type). To change the
|
|
302
|
+
types, run it again with every type and `--replace`.
|
|
303
|
+
`npx @osdk/create-app` needs a terminal, so write the app from
|
|
304
|
+
[workflows/osdk-react-app.md](workflows/osdk-react-app.md). Signing users
|
|
305
|
+
in needs an OAuth client ID from the user, with the app's redirect URIs
|
|
306
|
+
registered in Developer Console. To host the built app on Foundry, see §6e.
|
|
307
|
+
|
|
308
|
+
## 6e. Hosting a web app: `pltr site deploy`
|
|
309
|
+
|
|
310
|
+
To put a built web app (an OSDK React app, say) on Foundry, build it, then
|
|
311
|
+
deploy the build folder to its third-party application's website. One command
|
|
312
|
+
zips the folder, uploads it as a new version and deploys it:
|
|
313
|
+
|
|
314
|
+
```bash
|
|
315
|
+
npm run build
|
|
316
|
+
pltr site deploy dist --application ri.third-party-applications.main.application.<id> --auto-version package-json --yes --format json
|
|
317
|
+
```
|
|
318
|
+
|
|
319
|
+
- The JSON has the `version`, the website's `subdomains` and `url`
|
|
320
|
+
(`https://` and the first subdomain); `curl` the `url` to check the deploy.
|
|
321
|
+
No `url` comes with a warning that says why: usually the website has no
|
|
322
|
+
approved subdomain yet.
|
|
323
|
+
- Versions are `MAJOR.MINOR.PATCH` and can't be uploaded twice (exit 7,
|
|
324
|
+
`conflict`, before anything is uploaded): bump `version` in package.json,
|
|
325
|
+
or pass `--version`. `--auto-version git-describe` takes the git tag
|
|
326
|
+
(`v1.2.0` gives `1.2.0`; commits after it give a pre-release, which Foundry
|
|
327
|
+
may refuse) and refuses uncommitted changes to tracked files. Without a
|
|
328
|
+
version flag the command refuses to run.
|
|
329
|
+
- If the deploy fails after the upload, follow the error's message: it says
|
|
330
|
+
whether to deploy the uploaded version with `pltr site rollback` or to
|
|
331
|
+
upload a new one. Don't re-run `site deploy` with the same version.
|
|
332
|
+
- Deploying replaces the live site: pass `--yes` only when the user asked for
|
|
333
|
+
the deploy. `--upload-only` uploads without deploying (no `--yes` needed);
|
|
334
|
+
`pltr site rollback <version> --application <rid> --yes` deploys an
|
|
335
|
+
uploaded version, and `pltr site versions --application <rid>` lists them.
|
|
336
|
+
- Exit 9 means Foundry was still scanning the upload for vulnerabilities after
|
|
337
|
+
`--timeout`: the version is uploaded, and the error's `suggestedCommand`
|
|
338
|
+
deploys it.
|
|
339
|
+
|
|
340
|
+
Hosting needs a one-time setup in the UI that pltr can't do; ask the user for
|
|
341
|
+
it: website hosting turned on for the application in Developer Console, a
|
|
342
|
+
subdomain requested there and approved, the domain added to Control Panel's
|
|
343
|
+
network ingress allowlist (otherwise visitors get an ingress 403), and
|
|
344
|
+
`https://<subdomain>/auth/callback` registered as a redirect URL of the
|
|
345
|
+
application.
|
|
346
|
+
|
|
251
347
|
## 7. Workflows
|
|
252
348
|
|
|
253
349
|
**Inspect a dataset and query it with SQL**
|
|
@@ -262,7 +358,8 @@ pltr sql execute 'SELECT origin, COUNT(*) AS n FROM `ri.foundry.main.dataset.<id
|
|
|
262
358
|
**Build a dataset and follow the build**
|
|
263
359
|
|
|
264
360
|
```bash
|
|
265
|
-
pltr orchestration builds create
|
|
361
|
+
pltr orchestration builds create --dataset ri.foundry.main.dataset.<id> --branch master --format json
|
|
362
|
+
pltr orchestration builds create '{"type": "upstream", "targetRids": ["/My Space/My Project/sales"], "ignoredRids": []}' --branch master --format json
|
|
266
363
|
pltr orchestration builds get ri.foundry.main.build.<id> --format json
|
|
267
364
|
pltr orchestration builds jobs ri.foundry.main.build.<id> --format json
|
|
268
365
|
```
|
|
@@ -15,7 +15,7 @@ Create, inspect, replace and delete checks
|
|
|
15
15
|
|
|
16
16
|
`pltr data-health check create CONFIG [OPTIONS]`
|
|
17
17
|
|
|
18
|
-
- `CONFIG`: Check configuration as JSON or @file.json (see below).
|
|
18
|
+
- `CONFIG`: Check configuration as JSON or @file.json; the subject's datasetRid can be a Compass path (see below).
|
|
19
19
|
- `--intent`, `-i` TEXT: Why the check was set up.
|
|
20
20
|
- beta · SDK: `data_health.Check.create`
|
|
21
21
|
|
|
@@ -7,9 +7,8 @@ Everything is addressed by RID: builds (ri.foundry.main.build.<id>), jobs (ri.fo
|
|
|
7
7
|
|
|
8
8
|
Examples:
|
|
9
9
|
|
|
10
|
-
# Start a build and follow it
|
|
11
|
-
pltr orchestration builds create
|
|
12
|
-
'{"type": "manual", "targetRids": ["ri.foundry.main.dataset.abc"]}'
|
|
10
|
+
# Start a build of a dataset (RID or path) and follow it
|
|
11
|
+
pltr orchestration builds create --dataset /Space/Project/sales
|
|
13
12
|
pltr orchestration builds get <BUILD_RID>
|
|
14
13
|
pltr orchestration builds jobs <BUILD_RID>
|
|
15
14
|
# Find recent failed builds
|
|
@@ -38,9 +37,10 @@ Cancel a build's unfinished jobs.
|
|
|
38
37
|
|
|
39
38
|
Start a build of datasets (or other build targets).
|
|
40
39
|
|
|
41
|
-
`pltr orchestration builds create TARGET [OPTIONS]`
|
|
40
|
+
`pltr orchestration builds create [TARGET] [OPTIONS]`
|
|
42
41
|
|
|
43
|
-
- `TARGET
|
|
42
|
+
- `TARGET` (optional): What to build, as JSON or @file.json, with Compass paths allowed in its RID fields (see the examples below); leave it out when you use --dataset.
|
|
43
|
+
- `--dataset` RID|PATH (repeatable): Dataset RID to build, instead of TARGET (repeat for several): builds exactly these datasets, like a manual target.
|
|
44
44
|
- `--branch` TEXT: Branch to build on.
|
|
45
45
|
- `--fallback-branch` TEXT (repeatable): Branch to read an input from when it doesn't exist on --branch (repeat for several, in order).
|
|
46
46
|
- `--force`: Build even if the outputs are already up to date.
|
|
@@ -137,11 +137,11 @@ Inspect, run and manage schedules
|
|
|
137
137
|
|
|
138
138
|
`pltr orchestration schedules create ACTION [OPTIONS]`
|
|
139
139
|
|
|
140
|
-
- `ACTION`: What the schedule builds, as JSON or @file.json in the
|
|
140
|
+
- `ACTION`: What the schedule builds, as JSON or @file.json (paths work in the target's RID fields), e.g. '{"target": {"type": "manual", "targetRids": ["<dataset RID>"]}, "branchName": "master"}'.
|
|
141
141
|
- `--name` TEXT: Display name of the schedule.
|
|
142
142
|
- `--description` TEXT: Description of the schedule.
|
|
143
|
-
- `--trigger` TEXT: When the schedule runs, as JSON or @file.json in the API's shape, e.g. '{"type": "time", "cronExpression": "0 6 * * *", "timeZone": "UTC"}'.
|
|
144
|
-
- `--scope-mode` TEXT: Whose permissions the schedule's builds use, as JSON or @file.json: '{"type": "project", "projectRids": ["<project RID>"]}' or '{"type": "user"}'.
|
|
143
|
+
- `--trigger` TEXT: When the schedule runs, as JSON or @file.json in the API's shape (a datasetRid or mediaSetRid can be a Compass path), e.g. '{"type": "time", "cronExpression": "0 6 * * *", "timeZone": "UTC"}'.
|
|
144
|
+
- `--scope-mode` TEXT: Whose permissions the schedule's builds use, as JSON or @file.json (projectRids can be Compass paths): '{"type": "project", "projectRids": ["<project RID>"]}' or '{"type": "user"}'.
|
|
145
145
|
- beta · SDK: `orchestration.Schedule.create`
|
|
146
146
|
|
|
147
147
|
### pltr orchestration schedules delete
|
|
@@ -178,11 +178,11 @@ Pause a schedule: its trigger no longer starts builds.
|
|
|
178
178
|
`pltr orchestration schedules replace SCHEDULE_RID ACTION [OPTIONS]`
|
|
179
179
|
|
|
180
180
|
- `SCHEDULE_RID`: Schedule RID (ri.scheduler.main.schedule.<id>).
|
|
181
|
-
- `ACTION`: What the schedule builds, as JSON or @file.json in the
|
|
181
|
+
- `ACTION`: What the schedule builds, as JSON or @file.json (paths work in the target's RID fields), e.g. '{"target": {"type": "manual", "targetRids": ["<dataset RID>"]}, "branchName": "master"}'.
|
|
182
182
|
- `--name` TEXT: Display name of the schedule.
|
|
183
183
|
- `--description` TEXT: Description of the schedule.
|
|
184
|
-
- `--trigger` TEXT: When the schedule runs, as JSON or @file.json in the API's shape, e.g. '{"type": "time", "cronExpression": "0 6 * * *", "timeZone": "UTC"}'.
|
|
185
|
-
- `--scope-mode` TEXT: Whose permissions the schedule's builds use, as JSON or @file.json: '{"type": "project", "projectRids": ["<project RID>"]}' or '{"type": "user"}'.
|
|
184
|
+
- `--trigger` TEXT: When the schedule runs, as JSON or @file.json in the API's shape (a datasetRid or mediaSetRid can be a Compass path), e.g. '{"type": "time", "cronExpression": "0 6 * * *", "timeZone": "UTC"}'.
|
|
185
|
+
- `--scope-mode` TEXT: Whose permissions the schedule's builds use, as JSON or @file.json (projectRids can be Compass paths): '{"type": "project", "projectRids": ["<project RID>"]}' or '{"type": "user"}'.
|
|
186
186
|
- beta · **destructive** (asks first; `--yes` skips) · SDK: `orchestration.Schedule.replace`
|
|
187
187
|
|
|
188
188
|
### pltr orchestration schedules run
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<!-- Generated by scripts/generate_skill_reference.py from the pltr command manifest. Do not edit by hand. -->
|
|
2
|
+
# pltr osdk
|
|
3
|
+
|
|
4
|
+
Generate OSDK TypeScript packages for apps from the pltr profile (needs Node.js and npm).
|
|
5
|
+
|
|
6
|
+
1 command. Shared options (`--profile`, `--format`, `--output`, `--yes`, paging) are left out; [index.md](../index.md) explains the labels. Every option of one command: `pltr commands show <command>`.
|
|
7
|
+
|
|
8
|
+
### pltr osdk generate
|
|
9
|
+
|
|
10
|
+
Generate an OSDK TypeScript package for an app, from the pltr profile.
|
|
11
|
+
|
|
12
|
+
`pltr osdk generate --ontology TEXT --out PATH [OPTIONS]`
|
|
13
|
+
|
|
14
|
+
- `--ontology` TEXT (required): Ontology API name or RID (ri.ontology.main.ontology.<id>); find it with 'pltr ontology list'.
|
|
15
|
+
- `--out` PATH (required): Directory for the package: it is written to <out>/<package-name>, e.g. ./osdk/@app/sdk.
|
|
16
|
+
- `--object-type` TEXT (repeatable): Object type API name to include.
|
|
17
|
+
- `--action-type` TEXT (repeatable): Action type API name to include (include the object types its parameters take).
|
|
18
|
+
- `--query-type` TEXT (repeatable): Query (function) API name to include, optionally as name:version.
|
|
19
|
+
- `--link-type` TEXT (repeatable): Link type to include, as ObjectType.linkApiName (both object types must be included); without it objects have no links.
|
|
20
|
+
- `--interface-type` TEXT (repeatable): Interface type API name to include.
|
|
21
|
+
- `--package-name` TEXT (default: @app/sdk): npm name of the generated package.
|
|
22
|
+
- `--package-version` TEXT (default: 0.0.1): Version of the generated package.
|
|
23
|
+
- `--replace`: Generate a package that exists already again (to change its types, or after the ontology changed).
|
|
24
|
+
- SDK: `ontologies.Ontology.get`
|
|
@@ -23,7 +23,7 @@ Examples:
|
|
|
23
23
|
pltr resource list-markings ri.foundry.main.dataset.xyz123
|
|
24
24
|
pltr resource access-requirements ri.foundry.main.dataset.xyz123
|
|
25
25
|
|
|
26
|
-
|
|
26
|
+
14 commands. Shared options (`--profile`, `--format`, `--output`, `--yes`, paging) are left out; [index.md](../index.md) explains the labels. Every option of one command: `pltr commands show <command>`.
|
|
27
27
|
|
|
28
28
|
### pltr resource access-requirements
|
|
29
29
|
|
|
@@ -148,3 +148,13 @@ Find resources below a folder by name, path, description, RID or type.
|
|
|
148
148
|
- `--limit` INTEGER: Stop after this many matches.
|
|
149
149
|
- `--max-folders` INTEGER (default: 1000): Stop after listing this many folders (one request per page each).
|
|
150
150
|
- SDK: `filesystem.Folder.children`
|
|
151
|
+
|
|
152
|
+
### pltr resource wait
|
|
153
|
+
|
|
154
|
+
Wait until a resource exists at a Compass path (or RID), then print it.
|
|
155
|
+
|
|
156
|
+
`pltr resource wait RESOURCE [OPTIONS]`
|
|
157
|
+
|
|
158
|
+
- `RESOURCE` (RID or path): Compass path (or RID) of the resource to wait for, such as a transform's output dataset.
|
|
159
|
+
- `--timeout` NUMBER (default: 600): Seconds to wait before giving up (exit 9); 0 checks once.
|
|
160
|
+
- SDK: `filesystem.Resource.get_by_path`, `filesystem.Resource.get`
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
<!-- Generated by scripts/generate_skill_reference.py from the pltr command manifest. Do not edit by hand. -->
|
|
2
|
+
# pltr site
|
|
3
|
+
|
|
4
|
+
Host a built web app on Foundry: zip, upload and deploy it as a third-party application's website.
|
|
5
|
+
|
|
6
|
+
Before the first deploy, in Developer Console: turn on website hosting for the application and request a subdomain (it must be approved). Visitors also need the domain on Control Panel's network ingress allowlist, and sign-in needs https://<domain>/auth/callback registered as a redirect URL of the application.
|
|
7
|
+
|
|
8
|
+
3 commands. Shared options (`--profile`, `--format`, `--output`, `--yes`, paging) are left out; [index.md](../index.md) explains the labels. Every option of one command: `pltr commands show <command>`.
|
|
9
|
+
|
|
10
|
+
### pltr site deploy
|
|
11
|
+
|
|
12
|
+
Zip a built site, upload it as a new website version and deploy it.
|
|
13
|
+
|
|
14
|
+
`pltr site deploy DIST_DIR --application RID|PATH [OPTIONS]`
|
|
15
|
+
|
|
16
|
+
- `DIST_DIR`: The site's build output folder (Vite: dist), with index.html at its root.
|
|
17
|
+
- `--application` RID|PATH (required): RID of the third-party application whose website to use (ri.third-party-applications.main.application.<id>; shown in Developer Console).
|
|
18
|
+
- `--version` TEXT: Version to upload: MAJOR.MINOR.PATCH, such as 0.1.0.
|
|
19
|
+
- `--auto-version` package-json|git-describe: Take the version from the nearest package.json at or above the folder's parent, or from `git describe --tags` there: tag v1.2.0 gives 1.2.0, and commits after it a pre-release such as 1.2.0-2-g<sha>.
|
|
20
|
+
- `--upload-only`: Upload the version without deploying it: the live site doesn't change, and nothing asks for confirmation.
|
|
21
|
+
- `--timeout` NUMBER (default: 300): Seconds to keep retrying the deploy while Foundry scans the upload for vulnerabilities (exit 9 after that; the version stays uploaded).
|
|
22
|
+
- **destructive** (asks first; `--yes` skips) · SDK: `third_party_applications.ThirdPartyApplication.Website.Version.get`, `third_party_applications.ThirdPartyApplication.Website.Version.upload`, `third_party_applications.ThirdPartyApplication.Website.deploy`
|
|
23
|
+
|
|
24
|
+
### pltr site rollback
|
|
25
|
+
|
|
26
|
+
Deploy a version that was already uploaded (roll back, or go live with an --upload-only version).
|
|
27
|
+
|
|
28
|
+
`pltr site rollback VERSION --application RID|PATH [OPTIONS]`
|
|
29
|
+
|
|
30
|
+
- `VERSION`: An uploaded version (`pltr site versions` lists them).
|
|
31
|
+
- `--application` RID|PATH (required): RID of the third-party application whose website to use (ri.third-party-applications.main.application.<id>; shown in Developer Console).
|
|
32
|
+
- `--timeout` NUMBER (default: 300): Seconds to keep retrying the deploy while Foundry scans the upload for vulnerabilities (exit 9 after that; the version stays uploaded).
|
|
33
|
+
- **destructive** (asks first; `--yes` skips) · SDK: `third_party_applications.ThirdPartyApplication.Website.deploy`
|
|
34
|
+
|
|
35
|
+
### pltr site versions
|
|
36
|
+
|
|
37
|
+
List the uploaded versions of an application's website (paged).
|
|
38
|
+
|
|
39
|
+
`pltr site versions --application RID|PATH [OPTIONS]`
|
|
40
|
+
|
|
41
|
+
- `--application` RID|PATH (required): RID of the third-party application whose website to use (ri.third-party-applications.main.application.<id>; shown in Developer Console).
|
|
42
|
+
- paged · SDK: `third_party_applications.ThirdPartyApplication.Website.Version.list`
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<!-- Generated by scripts/generate_skill_reference.py from the pltr command manifest. Do not edit by hand. -->
|
|
2
2
|
# pltr command reference
|
|
3
3
|
|
|
4
|
-
Every pltr command:
|
|
4
|
+
Every pltr command: 617 in all, 227 curated and 390 generated (`pltr api`, from foundry-platform-sdk 1.111.0). Load only the file you need. To find a command, `pltr commands search <words>` is quicker; `pltr commands show <command>` prints every option of one command.
|
|
5
5
|
|
|
6
6
|
## Reading an entry
|
|
7
7
|
|
|
@@ -45,10 +45,12 @@ The polished commands for common tasks. Prefer them when they cover the task.
|
|
|
45
45
|
| `pltr models` | 4 | [curated/models.md](curated/models.md) | Manage ML models and versions |
|
|
46
46
|
| `pltr ontology` | 16 | [curated/ontology.md](curated/ontology.md) | Ontology operations |
|
|
47
47
|
| `pltr orchestration` | 17 | [curated/orchestration.md](curated/orchestration.md) | Manage builds, jobs, and schedules |
|
|
48
|
+
| `pltr osdk` | 1 | [curated/osdk.md](curated/osdk.md) | Generate OSDK TypeScript packages for apps (needs Node.js) |
|
|
48
49
|
| `pltr project` | 9 | [curated/project.md](curated/project.md) | Manage projects |
|
|
49
|
-
| `pltr resource` |
|
|
50
|
+
| `pltr resource` | 14 | [curated/resource.md](curated/resource.md) | Manage resources |
|
|
50
51
|
| `pltr resource-role` | 3 | [curated/resource-role.md](curated/resource-role.md) | Manage resource permissions |
|
|
51
52
|
| `pltr shell` | 2 | [curated/shell.md](curated/shell.md) | Start an interactive shell session with tab completion and history |
|
|
53
|
+
| `pltr site` | 3 | [curated/site.md](curated/site.md) | Deploy a built web app to website hosting |
|
|
52
54
|
| `pltr space` | 5 | [curated/space.md](curated/space.md) | Manage spaces |
|
|
53
55
|
| `pltr sql` | 7 | [curated/sql.md](curated/sql.md) | Execute SQL queries against Foundry datasets |
|
|
54
56
|
| `pltr streams` | 6 | [curated/streams.md](curated/streams.md) | Manage streaming datasets and streams |
|
|
@@ -6,11 +6,19 @@ and schedules are addressed by RID; `--format json` prints the API's shapes
|
|
|
6
6
|
|
|
7
7
|
## Start a build and follow it
|
|
8
8
|
|
|
9
|
-
`builds create`
|
|
9
|
+
`builds create --dataset` builds exactly the datasets you name, by RID or
|
|
10
|
+
Compass path (repeat it for several). For an upstream or connecting build,
|
|
11
|
+
give the build target as JSON in the API's shape instead; paths work in its
|
|
12
|
+
`targetRids`, `inputRids` and `ignoredRids` too:
|
|
10
13
|
|
|
11
14
|
```bash
|
|
12
|
-
# Build exactly these datasets on master
|
|
13
|
-
pltr orchestration builds create
|
|
15
|
+
# Build exactly these datasets on master, and wait for the result
|
|
16
|
+
pltr orchestration builds create --dataset "/My Space/My Project/sales" \
|
|
17
|
+
--dataset ri.foundry.main.dataset.<id> --branch master --wait --format json
|
|
18
|
+
|
|
19
|
+
# Build a dataset and everything upstream of it
|
|
20
|
+
pltr orchestration builds create \
|
|
21
|
+
'{"type": "upstream", "targetRids": ["/My Space/My Project/sales"], "ignoredRids": []}' \
|
|
14
22
|
--branch master --format json
|
|
15
23
|
|
|
16
24
|
# Follow it: status, then its jobs
|