pltr-cli 0.17.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.
Files changed (422) hide show
  1. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/.github/workflows/ci.yml +3 -0
  2. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/.github/workflows/test-publish.yml +45 -11
  3. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/CHANGELOG.md +172 -1
  4. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/PKG-INFO +102 -7
  5. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/README.md +101 -6
  6. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/README.md +2 -1
  7. pltr_cli-0.19.0/claude_skill/SKILL.md +399 -0
  8. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/api/aip-agents.md +14 -14
  9. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/api/connectivity.md +26 -26
  10. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/api/datasets.md +34 -34
  11. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/api/filesystem.md +29 -29
  12. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/api/media-sets.md +18 -18
  13. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/api/models.md +20 -20
  14. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/api/streams.md +16 -16
  15. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/api/third-party-applications.md +9 -9
  16. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/api/widgets.md +2 -2
  17. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/curated/aip-agents.md +4 -4
  18. pltr_cli-0.19.0/claude_skill/reference/curated/assert.md +40 -0
  19. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/curated/connectivity.md +24 -20
  20. pltr_cli-0.19.0/claude_skill/reference/curated/context.md +41 -0
  21. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/curated/cp.md +2 -2
  22. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/curated/data-health.md +1 -1
  23. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/curated/dataset.md +32 -32
  24. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/curated/folder.md +5 -5
  25. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/curated/media-sets.md +11 -11
  26. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/curated/models.md +5 -5
  27. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/curated/ontology.md +2 -2
  28. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/curated/orchestration.md +28 -14
  29. pltr_cli-0.19.0/claude_skill/reference/curated/osdk.md +24 -0
  30. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/curated/project.md +6 -6
  31. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/curated/resource-role.md +3 -3
  32. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/curated/resource.md +24 -14
  33. pltr_cli-0.19.0/claude_skill/reference/curated/site.md +42 -0
  34. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/curated/sql.md +4 -2
  35. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/curated/streams.md +7 -7
  36. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/curated/third-party-apps.md +1 -1
  37. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/curated/widgets.md +1 -1
  38. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/index.md +7 -3
  39. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/workflows/builds-and-schedules.md +11 -3
  40. pltr_cli-0.19.0/claude_skill/workflows/osdk-react-app.md +361 -0
  41. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/docs/development/command-contract.md +125 -3
  42. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/docs/development/live-verification.md +157 -0
  43. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/docs/user-guide/commands.md +165 -6
  44. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/docs/user-guide/quick-start.md +3 -1
  45. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/docs/user-guide/troubleshooting.md +21 -5
  46. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/docs/user-guide/workflows.md +2 -2
  47. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/pyproject.toml +1 -1
  48. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/scripts/generate_api_commands.py +6 -0
  49. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/scripts/generate_skill_reference.py +8 -1
  50. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/scripts/smoke.py +30 -0
  51. pltr_cli-0.19.0/src/pltr/__init__.py +1 -0
  52. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/cli.py +26 -0
  53. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/commands/aip_agents.py +3 -1
  54. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/commands/api/_runtime.py +68 -4
  55. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/commands/api/_specs/aip_agents.py +14 -14
  56. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/commands/api/_specs/connectivity.py +22 -22
  57. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/commands/api/_specs/datasets.py +32 -32
  58. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/commands/api/_specs/filesystem.py +27 -27
  59. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/commands/api/_specs/media_sets.py +18 -18
  60. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/commands/api/_specs/models.py +17 -17
  61. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/commands/api/_specs/streams.py +15 -15
  62. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/commands/api/_specs/third_party_applications.py +9 -9
  63. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/commands/api/_specs/widgets.py +2 -2
  64. pltr_cli-0.19.0/src/pltr/commands/assertions.py +351 -0
  65. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/commands/connectivity.py +63 -7
  66. pltr_cli-0.19.0/src/pltr/commands/context.py +712 -0
  67. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/commands/cp.py +5 -2
  68. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/commands/data_health.py +13 -3
  69. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/commands/dataset.py +8 -3
  70. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/commands/folder.py +13 -6
  71. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/commands/mediasets.py +3 -1
  72. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/commands/models.py +6 -2
  73. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/commands/ontology.py +3 -1
  74. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/commands/orchestration.py +257 -25
  75. pltr_cli-0.19.0/src/pltr/commands/osdk.py +353 -0
  76. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/commands/project.py +3 -1
  77. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/commands/resource.py +155 -7
  78. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/commands/resource_role.py +11 -2
  79. pltr_cli-0.19.0/src/pltr/commands/site.py +466 -0
  80. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/commands/sql.py +17 -4
  81. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/commands/streams.py +6 -2
  82. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/commands/third_party_applications.py +3 -1
  83. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/commands/widgets.py +3 -1
  84. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/contract/__init__.py +23 -0
  85. pltr_cli-0.19.0/src/pltr/contract/codegen.py +254 -0
  86. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/contract/command.py +122 -2
  87. pltr_cli-0.19.0/src/pltr/contract/emit.py +238 -0
  88. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/contract/errors.py +49 -4
  89. pltr_cli-0.19.0/src/pltr/contract/hints.py +550 -0
  90. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/contract/options.py +27 -0
  91. pltr_cli-0.19.0/src/pltr/contract/resources.py +667 -0
  92. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/manifest.py +15 -3
  93. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/services/base.py +7 -1
  94. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/services/ontology.py +4 -0
  95. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/services/orchestration.py +91 -0
  96. pltr_cli-0.19.0/src/pltr/services/osdk.py +621 -0
  97. pltr_cli-0.19.0/src/pltr/services/osdk_generate.mjs +45 -0
  98. pltr_cli-0.19.0/src/pltr/services/osdk_generator/package-lock.json +1420 -0
  99. pltr_cli-0.19.0/src/pltr/services/osdk_generator/package.json +8 -0
  100. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/services/resource.py +78 -0
  101. pltr_cli-0.19.0/src/pltr/services/site.py +275 -0
  102. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/services/sql.py +13 -19
  103. pltr_cli-0.19.0/src/pltr/services/third_party_applications.py +143 -0
  104. pltr_cli-0.19.0/src/pltr/services/waiting.py +61 -0
  105. pltr_cli-0.19.0/tests/osdk_fakes.py +180 -0
  106. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_api_commands/test_behaviour.py +80 -0
  107. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_api_commands/test_generator.py +43 -0
  108. pltr_cli-0.19.0/tests/test_commands/test_assert.py +247 -0
  109. pltr_cli-0.19.0/tests/test_commands/test_build_paths.py +564 -0
  110. pltr_cli-0.19.0/tests/test_commands/test_context.py +524 -0
  111. pltr_cli-0.19.0/tests/test_commands/test_osdk.py +595 -0
  112. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_commands/test_project.py +12 -2
  113. pltr_cli-0.19.0/tests/test_commands/test_resource_paths.py +192 -0
  114. pltr_cli-0.19.0/tests/test_commands/test_resource_wait.py +407 -0
  115. pltr_cli-0.19.0/tests/test_commands/test_site.py +722 -0
  116. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_commands/test_sql.py +6 -6
  117. pltr_cli-0.19.0/tests/test_commands/test_wait.py +390 -0
  118. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_contract/cases/__init__.py +25 -1
  119. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_contract/cases/api.py +8 -1
  120. pltr_cli-0.19.0/tests/test_contract/cases/assertions.py +18 -0
  121. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_contract/cases/connectivity.py +9 -6
  122. pltr_cli-0.19.0/tests/test_contract/cases/context.py +33 -0
  123. pltr_cli-0.19.0/tests/test_contract/cases/data/site/index.html +2 -0
  124. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_contract/cases/dataset.py +2 -2
  125. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_contract/cases/mediasets.py +5 -5
  126. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_contract/cases/orchestration.py +6 -3
  127. pltr_cli-0.19.0/tests/test_contract/cases/osdk.py +24 -0
  128. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_contract/cases/resource.py +1 -0
  129. pltr_cli-0.19.0/tests/test_contract/cases/site.py +28 -0
  130. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_contract/cases/streams.py +4 -4
  131. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_contract/test_cli_contract.py +18 -3
  132. pltr_cli-0.19.0/tests/test_contract/test_codegen.py +132 -0
  133. pltr_cli-0.19.0/tests/test_contract/test_emit_code.py +364 -0
  134. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_contract/test_errors.py +40 -0
  135. pltr_cli-0.19.0/tests/test_contract/test_hints.py +554 -0
  136. pltr_cli-0.19.0/tests/test_contract/test_json_paths.py +189 -0
  137. pltr_cli-0.19.0/tests/test_contract/test_resource_paths_cli.py +360 -0
  138. pltr_cli-0.19.0/tests/test_contract/test_resources.py +337 -0
  139. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_docs_examples.py +1 -1
  140. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_manifest/test_manifest_build.py +80 -2
  141. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_manifest/test_skill_reference.py +56 -1
  142. pltr_cli-0.19.0/tests/test_services/test_osdk.py +632 -0
  143. pltr_cli-0.19.0/tests/test_services/test_site.py +413 -0
  144. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_services/test_sql.py +2 -2
  145. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_smoke_script_stubbed.py +12 -1
  146. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/uv.lock +1 -1
  147. pltr_cli-0.17.0/claude_skill/SKILL.md +0 -205
  148. pltr_cli-0.17.0/src/pltr/__init__.py +0 -1
  149. pltr_cli-0.17.0/src/pltr/services/third_party_applications.py +0 -30
  150. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/.github/workflows/publish.yml +0 -0
  151. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/.gitignore +0 -0
  152. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/.pre-commit-config.yaml +0 -0
  153. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/CLAUDE.md +0 -0
  154. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/LICENSE +0 -0
  155. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/RELEASE.md +0 -0
  156. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/api/admin/cbac-banner.md +0 -0
  157. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/api/admin/cbac-marking-restrictions.md +0 -0
  158. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/api/admin/enrollment.md +0 -0
  159. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/api/admin/group.md +0 -0
  160. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/api/admin/marking-category.md +0 -0
  161. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/api/admin/marking.md +0 -0
  162. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/api/admin/organization.md +0 -0
  163. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/api/admin/role.md +0 -0
  164. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/api/admin/user.md +0 -0
  165. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/api/audit.md +0 -0
  166. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/api/checkpoints.md +0 -0
  167. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/api/data-health.md +0 -0
  168. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/api/functions.md +0 -0
  169. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/api/language-models.md +0 -0
  170. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/api/ontologies/action-type-full-metadata.md +0 -0
  171. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/api/ontologies/action.md +0 -0
  172. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/api/ontologies/attachment-property.md +0 -0
  173. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/api/ontologies/attachment.md +0 -0
  174. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/api/ontologies/cipher-text-property.md +0 -0
  175. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/api/ontologies/geotemporal-series-property.md +0 -0
  176. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/api/ontologies/linked-object.md +0 -0
  177. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/api/ontologies/media-reference-property.md +0 -0
  178. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/api/ontologies/ontology-interface.md +0 -0
  179. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/api/ontologies/ontology-object-set.md +0 -0
  180. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/api/ontologies/ontology-object.md +0 -0
  181. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/api/ontologies/ontology-scenario.md +0 -0
  182. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/api/ontologies/ontology-transaction.md +0 -0
  183. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/api/ontologies/ontology-value-type.md +0 -0
  184. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/api/ontologies/ontology.md +0 -0
  185. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/api/ontologies/query.md +0 -0
  186. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/api/ontologies/time-series-property-v2.md +0 -0
  187. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/api/ontologies/time-series-value-bank-property.md +0 -0
  188. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/api/orchestration.md +0 -0
  189. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/api/sql-queries.md +0 -0
  190. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/curated/admin.md +0 -0
  191. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/curated/alias.md +0 -0
  192. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/curated/audit.md +0 -0
  193. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/curated/commands.md +0 -0
  194. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/curated/completion.md +0 -0
  195. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/curated/configure.md +0 -0
  196. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/curated/functions.md +0 -0
  197. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/curated/hello.md +0 -0
  198. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/curated/language-models.md +0 -0
  199. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/curated/shell.md +0 -0
  200. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/curated/space.md +0 -0
  201. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/reference/curated/verify.md +0 -0
  202. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/workflows/explore-data.md +0 -0
  203. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/claude_skill/workflows/permissions.md +0 -0
  204. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/docs/README.md +0 -0
  205. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/docs/api/wrapper.md +0 -0
  206. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/docs/api-commands.md +0 -0
  207. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/docs/development/sdk-guardrail.md +0 -0
  208. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/docs/examples/csv-upload.md +0 -0
  209. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/docs/examples/gallery.md +0 -0
  210. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/docs/features/dataset-transactions.md +0 -0
  211. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/docs/migration/v2-pagination.md +0 -0
  212. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/docs/pagination.md +0 -0
  213. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/docs/user-guide/aliases.md +0 -0
  214. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/docs/user-guide/authentication.md +0 -0
  215. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/docs/user-guide/claude-skill.md +0 -0
  216. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/mypy.ini +0 -0
  217. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/scripts/__init__.py +0 -0
  218. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/scripts/check_command_metadata.py +0 -0
  219. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/scripts/check_sdk_calls.py +0 -0
  220. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/scripts/coverage.py +0 -0
  221. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/scripts/release.py +0 -0
  222. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/scripts/sdk_calls.py +0 -0
  223. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/scripts/smoke.example.toml +0 -0
  224. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/__main__.py +0 -0
  225. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/auth/__init__.py +0 -0
  226. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/auth/base.py +0 -0
  227. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/auth/environment.py +0 -0
  228. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/auth/manager.py +0 -0
  229. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/auth/oauth.py +0 -0
  230. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/auth/storage.py +0 -0
  231. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/auth/token.py +0 -0
  232. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/commands/__init__.py +0 -0
  233. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/commands/admin.py +0 -0
  234. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/commands/alias.py +0 -0
  235. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/commands/api/__init__.py +0 -0
  236. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/commands/api/_specs/__init__.py +0 -0
  237. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/commands/api/_specs/admin.py +0 -0
  238. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/commands/api/_specs/audit.py +0 -0
  239. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/commands/api/_specs/checkpoints.py +0 -0
  240. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/commands/api/_specs/data_health.py +0 -0
  241. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/commands/api/_specs/functions.py +0 -0
  242. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/commands/api/_specs/language_models.py +0 -0
  243. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/commands/api/_specs/ontologies.py +0 -0
  244. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/commands/api/_specs/orchestration.py +0 -0
  245. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/commands/api/_specs/sql_queries.py +0 -0
  246. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/commands/audit.py +0 -0
  247. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/commands/completion.py +0 -0
  248. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/commands/configure.py +0 -0
  249. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/commands/functions.py +0 -0
  250. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/commands/language_models.py +0 -0
  251. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/commands/manifest.py +0 -0
  252. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/commands/shell.py +0 -0
  253. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/commands/space.py +0 -0
  254. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/commands/verify.py +0 -0
  255. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/config/__init__.py +0 -0
  256. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/config/aliases.py +0 -0
  257. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/config/profiles.py +0 -0
  258. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/config/settings.py +0 -0
  259. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/contract/output.py +0 -0
  260. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/contract/runtime.py +0 -0
  261. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/contract/serialize.py +0 -0
  262. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/services/__init__.py +0 -0
  263. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/services/admin.py +0 -0
  264. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/services/aip_agents.py +0 -0
  265. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/services/audit.py +0 -0
  266. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/services/connectivity.py +0 -0
  267. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/services/copy.py +0 -0
  268. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/services/data_health.py +0 -0
  269. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/services/dataset.py +0 -0
  270. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/services/folder.py +0 -0
  271. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/services/functions.py +0 -0
  272. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/services/language_models.py +0 -0
  273. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/services/mediasets.py +0 -0
  274. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/services/models.py +0 -0
  275. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/services/project.py +0 -0
  276. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/services/resource_role.py +0 -0
  277. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/services/space.py +0 -0
  278. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/services/streams.py +0 -0
  279. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/services/verify.py +0 -0
  280. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/services/widgets.py +0 -0
  281. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/utils/__init__.py +0 -0
  282. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/utils/alias_resolver.py +0 -0
  283. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/src/pltr/utils/completion.py +0 -0
  284. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/__init__.py +0 -0
  285. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/conftest.py +0 -0
  286. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/foundry_json.py +0 -0
  287. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/foundry_json_admin.py +0 -0
  288. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/foundry_json_aip_agents.py +0 -0
  289. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/foundry_json_audit.py +0 -0
  290. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/foundry_json_connectivity.py +0 -0
  291. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/foundry_json_data_health.py +0 -0
  292. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/foundry_json_dataset.py +0 -0
  293. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/foundry_json_filesystem.py +0 -0
  294. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/foundry_json_functions.py +0 -0
  295. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/foundry_json_language_models.py +0 -0
  296. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/foundry_json_mediasets.py +0 -0
  297. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/foundry_json_models.py +0 -0
  298. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/foundry_json_ontology.py +0 -0
  299. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/foundry_json_orchestration.py +0 -0
  300. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/foundry_json_sql.py +0 -0
  301. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/foundry_json_streams.py +0 -0
  302. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/foundry_json_widgets.py +0 -0
  303. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/integration/README.md +0 -0
  304. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/integration/__init__.py +0 -0
  305. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/integration/conftest.py +0 -0
  306. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/integration/test_auth_flow.py +0 -0
  307. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/integration/test_cli_integration.py +0 -0
  308. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/integration/test_data_workflows.py +0 -0
  309. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/integration/test_data_workflows_simple.py +0 -0
  310. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/integration/test_simple_integration.py +0 -0
  311. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/sdk_call_allowlist.txt +0 -0
  312. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_api_commands/conftest.py +0 -0
  313. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_api_commands/test_lazy_loading.py +0 -0
  314. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_api_commands/test_namespaces.py +0 -0
  315. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_auth/__init__.py +0 -0
  316. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_auth/fakes.py +0 -0
  317. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_auth/test_base.py +0 -0
  318. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_auth/test_headless_auth.py +0 -0
  319. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_auth/test_manager.py +0 -0
  320. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_auth/test_oauth.py +0 -0
  321. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_auth/test_storage.py +0 -0
  322. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_auth/test_token.py +0 -0
  323. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_cli_help.py +0 -0
  324. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_commands/__init__.py +0 -0
  325. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_commands/test_admin.py +0 -0
  326. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_commands/test_aip_agents.py +0 -0
  327. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_commands/test_alias.py +0 -0
  328. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_commands/test_audit.py +0 -0
  329. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_commands/test_completion.py +0 -0
  330. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_commands/test_configure.py +0 -0
  331. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_commands/test_connectivity.py +0 -0
  332. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_commands/test_cp.py +0 -0
  333. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_commands/test_data_health.py +0 -0
  334. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_commands/test_dataset.py +0 -0
  335. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_commands/test_dataset_files.py +0 -0
  336. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_commands/test_dataset_transactions.py +0 -0
  337. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_commands/test_dataset_views.py +0 -0
  338. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_commands/test_folder.py +0 -0
  339. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_commands/test_functions.py +0 -0
  340. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_commands/test_language_models.py +0 -0
  341. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_commands/test_mediasets.py +0 -0
  342. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_commands/test_models.py +0 -0
  343. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_commands/test_ontology.py +0 -0
  344. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_commands/test_orchestration.py +0 -0
  345. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_commands/test_resource.py +0 -0
  346. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_commands/test_resource_role.py +0 -0
  347. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_commands/test_shell.py +0 -0
  348. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_commands/test_space.py +0 -0
  349. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_commands/test_streams.py +0 -0
  350. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_commands/test_third_party_applications.py +0 -0
  351. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_commands/test_verify.py +0 -0
  352. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_commands/test_widgets.py +0 -0
  353. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_config/__init__.py +0 -0
  354. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_config/test_aliases.py +0 -0
  355. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_config/test_profiles.py +0 -0
  356. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_config/test_settings.py +0 -0
  357. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_contract/__init__.py +0 -0
  358. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_contract/cases/admin.py +0 -0
  359. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_contract/cases/aip_agents.py +0 -0
  360. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_contract/cases/audit.py +0 -0
  361. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_contract/cases/cp.py +0 -0
  362. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_contract/cases/data/connectivity-driver.jar +0 -0
  363. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_contract/cases/data/connectivity-secrets.json +0 -0
  364. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_contract/cases/data_health.py +0 -0
  365. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_contract/cases/folder.py +0 -0
  366. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_contract/cases/functions.py +0 -0
  367. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_contract/cases/language_models.py +0 -0
  368. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_contract/cases/local.py +0 -0
  369. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_contract/cases/manifest.py +0 -0
  370. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_contract/cases/models.py +0 -0
  371. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_contract/cases/ontology.py +0 -0
  372. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_contract/cases/project.py +0 -0
  373. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_contract/cases/resource_role.py +0 -0
  374. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_contract/cases/space.py +0 -0
  375. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_contract/cases/sql.py +0 -0
  376. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_contract/cases/third_party_applications.py +0 -0
  377. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_contract/cases/verify.py +0 -0
  378. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_contract/cases/widgets.py +0 -0
  379. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_contract/test_command.py +0 -0
  380. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_contract/test_options.py +0 -0
  381. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_contract/test_output.py +0 -0
  382. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_contract/test_runtime.py +0 -0
  383. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_contract/test_serialize.py +0 -0
  384. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_contract/test_table_rows_timezones.py +0 -0
  385. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_debug_tracebacks.py +0 -0
  386. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_dependencies.py +0 -0
  387. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_entry_point.py +0 -0
  388. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_manifest/__init__.py +0 -0
  389. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_manifest/conftest.py +0 -0
  390. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_manifest/test_manifest_cli.py +0 -0
  391. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_manifest/test_manifest_search.py +0 -0
  392. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_manifest/test_metadata_crosscheck.py +0 -0
  393. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_sdk_call_checker.py +0 -0
  394. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_sdk_call_guardrail.py +0 -0
  395. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_services/__init__.py +0 -0
  396. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_services/test_admin.py +0 -0
  397. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_services/test_aip_agents.py +0 -0
  398. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_services/test_audit.py +0 -0
  399. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_services/test_base.py +0 -0
  400. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_services/test_connectivity.py +0 -0
  401. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_services/test_copy.py +0 -0
  402. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_services/test_data_health.py +0 -0
  403. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_services/test_dataset.py +0 -0
  404. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_services/test_dataset_transactions.py +0 -0
  405. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_services/test_folder.py +0 -0
  406. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_services/test_functions.py +0 -0
  407. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_services/test_language_models.py +0 -0
  408. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_services/test_mediasets.py +0 -0
  409. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_services/test_models.py +0 -0
  410. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_services/test_ontology.py +0 -0
  411. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_services/test_orchestration.py +0 -0
  412. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_services/test_project.py +0 -0
  413. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_services/test_resource.py +0 -0
  414. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_services/test_resource_role.py +0 -0
  415. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_services/test_space.py +0 -0
  416. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_services/test_streams.py +0 -0
  417. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_services/test_widgets.py +0 -0
  418. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_smoke_script.py +0 -0
  419. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_startup.py +0 -0
  420. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_utils/__init__.py +0 -0
  421. {pltr_cli-0.17.0 → pltr_cli-0.19.0}/tests/test_utils/test_alias_resolver.py +0 -0
  422. {pltr_cli-0.17.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 }}
@@ -108,26 +108,60 @@ jobs:
108
108
  echo "Checking wheel contents:"
109
109
  uv run python -m zipfile -l dist/*.whl
110
110
 
111
+ # TestPyPI's trusted-publishing token exchange sometimes times out (the
112
+ # action allows it 5 seconds), so a failed first attempt is retried once.
113
+ # skip-existing makes the retry safe if the first attempt uploaded files.
111
114
  - name: Publish to TestPyPI
115
+ id: publish
116
+ continue-on-error: true
112
117
  uses: pypa/gh-action-pypi-publish@release/v1
113
118
  with:
114
119
  repository-url: https://test.pypi.org/legacy/
115
120
  print-hash: true
116
121
  skip-existing: true
117
122
 
118
- - name: Test installation from TestPyPI
119
- run: |
120
- # Wait a moment for TestPyPI to process the upload
121
- sleep 30
123
+ - name: Wait before retrying the TestPyPI publish
124
+ if: steps.publish.outcome == 'failure'
125
+ run: sleep 60
122
126
 
123
- # Try to install the package from TestPyPI
124
- uv run pip install --index-url https://test.pypi.org/simple/ \
125
- --extra-index-url https://pypi.org/simple/ \
126
- pltr-cli==${{ steps.test_version.outputs.TEST_VERSION }}
127
+ - name: Publish to TestPyPI (retry)
128
+ if: steps.publish.outcome == 'failure'
129
+ uses: pypa/gh-action-pypi-publish@release/v1
130
+ with:
131
+ repository-url: https://test.pypi.org/legacy/
132
+ print-hash: true
133
+ skip-existing: true
127
134
 
128
- # Test basic import and CLI functionality
129
- uv run python -c "import pltr; print('Package import successful')"
130
- uv run pltr --help
135
+ - name: Test installation from TestPyPI
136
+ env:
137
+ TEST_VERSION: ${{ steps.test_version.outputs.TEST_VERSION }}
138
+ run: |
139
+ # Install into a fresh virtualenv outside the checkout, so the smoke
140
+ # test runs the published package, not the project's editable install.
141
+ python -m venv "$RUNNER_TEMP/testpypi-venv"
142
+ VENV_BIN="$RUNNER_TEMP/testpypi-venv/bin"
143
+ cd "$RUNNER_TEMP"
144
+
145
+ # TestPyPI's index can take minutes to list a fresh upload, so retry.
146
+ attempts=10
147
+ for attempt in $(seq 1 "$attempts"); do
148
+ if "$VENV_BIN/pip" install --no-cache-dir \
149
+ --index-url https://test.pypi.org/simple/ \
150
+ --extra-index-url https://pypi.org/simple/ \
151
+ "pltr-cli==$TEST_VERSION"; then
152
+ break
153
+ fi
154
+ if [ "$attempt" -eq "$attempts" ]; then
155
+ echo "::error::pltr-cli==$TEST_VERSION was not installable from TestPyPI after $attempts attempts"
156
+ exit 1
157
+ fi
158
+ echo "pltr-cli==$TEST_VERSION is not installable yet (attempt $attempt/$attempts); retrying in 30s"
159
+ sleep 30
160
+ done
161
+
162
+ # Test basic import and CLI functionality of the installed package
163
+ "$VENV_BIN/python" -c "import pltr; print(f'Package import successful: {pltr.__file__}')"
164
+ "$VENV_BIN/pltr" --help
131
165
 
132
166
  - name: Report test results
133
167
  if: always()
@@ -12,6 +12,175 @@ 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
+
89
+ ## [0.18.0] - 2026-11-08
90
+
91
+ This release makes pltr easier for coding agents to build on Foundry with
92
+ (#191): Compass paths wherever a RID is accepted, errors that say how to
93
+ recover, `--emit-code` to turn a command into SDK Python, `--wait` and
94
+ `pltr assert` to check that work finished, and `pltr context` packs to read
95
+ before writing code. Two exit codes change: read "Breaking changes" first.
96
+
97
+ ### Breaking changes
98
+
99
+ - **SQL failures and timeouts exit 8 and 9.** `sql wait`, `sql execute`,
100
+ `sql export`, `sql submit` (a query that fails at once) and
101
+ `sql submit --wait` now exit 8 (`work_failed`, was 7 `api_error`) for a
102
+ failed or canceled query and 9 (`wait_timeout`, was 7 `timeout`) when
103
+ `--timeout` passes, like the other `--wait` commands (#195). In JSON mode,
104
+ `--wait` commands write a `{"type": "started", ...}` stderr line with the
105
+ RID as soon as the work starts, and an error while waiting says the work
106
+ keeps running and how to wait again.
107
+ - **A RID of the wrong kind exits 2 before any call** (#197). A folder RID
108
+ given to a dataset parameter (or a dataset RID to a project parameter) is
109
+ now a `wrong_resource_type` error (exit 2), and a folder suggests
110
+ `pltr folder list`. Such a RID used to be sent to the API, which usually
111
+ rejected it as not found (exit 5). Only RID formats pltr is sure of are
112
+ checked.
113
+
114
+ ### Added
115
+
116
+ - **Compass paths wherever a resource RID is accepted** (#193). Every
117
+ argument or option that takes the RID of a Compass resource (datasets and
118
+ views, folders, projects, any resource, media sets, connections, models,
119
+ AIP agents, third-party applications and widget repositories) also takes
120
+ its path, such as `/Space/Project/data/employees`, in curated commands and
121
+ in `pltr api`. pltr resolves the paths before calling the API, with one
122
+ `Resource.get_by_path` call (or one `get_by_path_batch` call for several
123
+ paths) and none when only RIDs are given, and prints
124
+ `Resolved '<path>' to <rid>` on stderr in text mode. A path to the wrong
125
+ kind of resource fails with the new error type `wrong_resource_type`
126
+ (exit 2), naming both types; a path with no visible resource fails with
127
+ `path_not_found` (exit 5). Output still shows RIDs. Spaces and the root
128
+ folder can't be looked up by path. The command manifest marks these
129
+ parameters with `"acceptsPath": true` and their `resourceKind`, and usage
130
+ lines show such an option's value as `RID|PATH`.
131
+ - Errors raised by pltr itself can carry `parameters` in the JSON error
132
+ object, like API errors do.
133
+ - **Errors say how to recover** (#197). The JSON error object gains `hint`
134
+ and `suggestedCommand` when pltr knows what to do next (text mode prints
135
+ `Hint:` and `Try:` lines): the closest API names for an unknown object
136
+ type, property, action type or link type; the open transaction to abort
137
+ for `OpenTransactionAlreadyExists`; the missing OAuth scope for
138
+ `ApiUsageDenied`; the operation and resource for a `...PermissionDenied`
139
+ error, with `pltr resource-role list`; and how to replace a rejected token
140
+ (HTTP 401). Type-level default hints stay in text mode only. To make a hint
141
+ specific pltr may make a few read calls (10 s timeout each) after the failure; suggested commands keep the command's `--profile`.
142
+ - **Context packs: `pltr context`** (#194). Compact summaries for a model to
143
+ read before writing code: `pltr context dataset <rid-or-path>` (columns
144
+ with full types, sample rows, schedules, the latest job and its status),
145
+ `pltr context ontology <ontology> [--types A,B]` (from one
146
+ `Ontology.get_full_metadata` call: each type's primary key, properties and
147
+ link types, and the action and query types that involve them, with their
148
+ parameters; a summary without `--types`) and `pltr context folder
149
+ <rid-or-path> --depth N`. Markdown by default, `--format json` for the same
150
+ content as data. Every list is capped and long values are cut, with a note
151
+ on how to narrow; a Markdown pack is never longer than 15 KB. A dataset
152
+ without a schema, or whose rows, schedules or jobs can't be read, still
153
+ gets a pack with a note. `--fixture-dir` writes the samples for tests
154
+ (`--rows` rows as Parquet plus schema JSON, or JSON objects per type),
155
+ never over an existing file, with a warning that they are real data.
156
+ - **The verify loop: `--wait` and `pltr assert`** (#195). `orchestration
157
+ builds create`, `orchestration schedules run`, `connectivity import
158
+ execute-file`/`execute-table` and `sql submit` take `--wait` (with
159
+ `--timeout`): pltr polls with backoff until the work finishes and prints its
160
+ final state. New exit codes: **8** (`work_failed`) when it finished but
161
+ failed (a failed build names its failed jobs and their outputs), and **9**
162
+ (`wait_timeout`) when `--timeout` passed first; the work keeps running and
163
+ `pltr orchestration builds wait <rid>` (new) resumes. `pltr assert dataset`
164
+ (`--min-rows`, reading at most that many rows; `--schema expected.json`;
165
+ `--updated-within 1h`), `pltr assert build --succeeded` and `pltr assert
166
+ objects --min-count` print a result and exit 8 (`assertion_failed`) when a
167
+ check fails.
168
+ - **`--emit-code`: the SDK code for a command's call** (#192). Add
169
+ `--emit-code` anywhere on a command line and pltr prints runnable
170
+ foundry-platform-sdk Python for the call the command would make, with the
171
+ real argument values, instead of making it: the client is built from
172
+ `FOUNDRY_HOST` and `FOUNDRY_TOKEN`, JSON options become SDK model
173
+ constructors, paged methods are looped the SDK's way, binary content goes
174
+ to the `--output` file or stdout, beta methods get `preview=True`, and
175
+ Compass paths (#193) are looked up with `Resource.get_by_path`. Nothing is
176
+ called and destructive commands don't ask. Secret arguments (connection
177
+ secrets, media-set tokens) come from environment variables in the snippet,
178
+ never inlined; a filter pltr applies locally, and reading every page, are
179
+ noted in a comment. 560 commands support it (every generated `pltr api`
180
+ command and the curated commands that make one SDK call); the others
181
+ (several calls, `resource search`, direct HTTP, local) fail with
182
+ `emit_code_unsupported` (exit 2).
183
+
15
184
  ## [0.17.0] - 2026-11-07
16
185
 
17
186
  This release puts every pltr command on one set of rules for output, errors
@@ -1259,7 +1428,9 @@ No changes to pltr itself; only the version number changed.
1259
1428
  and OAuth2 profiles, with credentials in the system keyring),
1260
1429
  `pltr verify`, `pltr dataset get` and `pltr dataset create`.
1261
1430
 
1262
- [Unreleased]: https://github.com/anjor/pltr-cli/compare/v0.17.0...HEAD
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
1433
+ [0.18.0]: https://github.com/anjor/pltr-cli/compare/v0.17.0...v0.18.0
1263
1434
  [0.17.0]: https://github.com/anjor/pltr-cli/compare/v0.16.0...v0.17.0
1264
1435
  [0.16.0]: https://github.com/anjor/pltr-cli/compare/v0.15.0...v0.16.0
1265
1436
  [0.15.0]: https://github.com/anjor/pltr-cli/compare/v0.14.1...v0.15.0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: pltr-cli
3
- Version: 0.17.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
@@ -61,6 +61,17 @@ example `ri.foundry.main.dataset.<uuid>`. Most commands take RIDs, not
61
61
  names; find them in Foundry's web interface, or with commands such as
62
62
  `pltr folder list`, `pltr resource get-by-path` and `pltr ontology list`.
63
63
 
64
+ Wherever a command takes the RID of a Compass resource (a dataset, folder,
65
+ project, media set, connection, model, agent and so on), you can give its
66
+ path instead, such as `/Space/Project/data/employees`. pltr resolves the path
67
+ to the RID before it calls the API, with one lookup for all the paths in a
68
+ command, and checks that the resource is the right kind: a folder path given
69
+ to `pltr dataset get` fails with a `wrong_resource_type` error. The API itself
70
+ stays RID-based, and output always shows RIDs. A value starting with `/` is a
71
+ path; one starting with `ri.` is a RID. Spaces and the root folder can't be
72
+ looked up by path, so give their RIDs. `pltr commands show <command>` marks the
73
+ parameters that take a path with `"acceptsPath": true`.
74
+
64
75
  ## ✨ Key Features
65
76
 
66
77
  - **Authentication**: token and OAuth2 profiles with credentials in the
@@ -177,8 +188,9 @@ pltr folder create "Analysis" --parent-folder <project-or-folder-rid>
177
188
  # Run a SQL query
178
189
  pltr sql execute "SELECT 1 AS test"
179
190
 
180
- # Datasets are addressed by RID
191
+ # Datasets are addressed by RID, or by their Compass path
181
192
  pltr dataset get <dataset-rid>
193
+ pltr dataset get "/My Space/My Project/data/employees"
182
194
  pltr dataset branches list <dataset-rid>
183
195
  pltr dataset files list <dataset-rid>
184
196
 
@@ -236,17 +248,33 @@ pltr is built to be scripted, by people and by agents.
236
248
 
237
249
  Keys that don't apply are left out. In table and CSV mode the same error is
238
250
  printed as readable text, including the Foundry `errorName`.
251
+ - **Errors say how to recover** where pltr knows: the error object then has a
252
+ `hint`, and a `suggestedCommand` to run next (text mode prints them as
253
+ `Hint:` and `Try:` lines). To make a hint specific pltr may make a few
254
+ read calls, for example to find the open transaction to abort.
255
+
256
+ | Failure | Error `type` (`errorName`) | `hint` / `suggestedCommand` |
257
+ |---|---|---|
258
+ | An object type, property, action type or link type that doesn't exist | `not_found` or `validation_error` (`ObjectTypeNotFound`, `PropertiesNotFound`, `ActionTypeNotFound`, `LinkTypeNotFound`) | the closest API names; the command that lists them |
259
+ | A RID or path of the wrong kind (a folder for a dataset) | `wrong_resource_type` | for a folder: `pltr folder list <it>` |
260
+ | A branch that already has an open transaction | `conflict` (`OpenTransactionAlreadyExists`) | names the transaction; `pltr dataset transactions abort <dataset> <transaction>` |
261
+ | A missing OAuth scope | `permission_denied` (`ApiUsageDenied`) | the scope the endpoint needs |
262
+ | Permission denied on an operation | `permission_denied` (`<Operation>PermissionDenied`) | the operation and the resource; `pltr resource-role list <rid> --include-inherited` |
263
+ | An expired or revoked token (HTTP 401) | `auth_error` | `export FOUNDRY_TOKEN=<new-token>`, or the `pltr configure configure` command for the profile |
264
+ | No resource at a path | `path_not_found` | what a path looks like |
239
265
 
240
266
  | Exit code | Meaning | Error `type` |
241
267
  |---|---|---|
242
268
  | 0 | Success | |
243
269
  | 1 | Unexpected error, or "no" at a confirmation prompt | `unexpected_error`, `aborted` |
244
- | 2 | Usage error: bad or missing arguments, invalid JSON input, or `--yes` required | `usage_error`, `confirmation_required` |
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` |
245
271
  | 3 | Authentication: no usable credentials, or HTTP 401 | `auth_error` |
246
272
  | 4 | Permission denied (HTTP 403) | `permission_denied` |
247
- | 5 | Not found (HTTP 404) | `not_found`, `api_not_found` |
273
+ | 5 | Not found (HTTP 404), or no resource at a path you gave | `not_found`, `api_not_found`, `path_not_found` |
248
274
  | 6 | API validation error (HTTP 400, 422) | `validation_error` |
249
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 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` |
250
278
 
251
279
  **Destructive commands ask first.** Commands that delete, remove, revoke,
252
280
  reset, cancel, abort or replace something ask for confirmation, and
@@ -349,6 +377,74 @@ scripts as much as by people. An agent works in four steps:
349
377
  Destructive commands never prompt without a terminal: they fail with exit
350
378
  code 2 and change nothing unless you pass `--yes`.
351
379
 
380
+ **Know what's there before writing code: `pltr context`.** Context packs
381
+ are compact summaries for a model to read (Markdown; `--format json` for the
382
+ same content as data):
383
+
384
+ ```bash
385
+ pltr context dataset /Space/Project/sales # columns, sample rows, schedules, latest job
386
+ pltr context ontology my-ontology --types Employee # keys, properties, links, actions and queries
387
+ pltr context folder /Space/Project --depth 2 # what's in a project: type, path, RID
388
+ ```
389
+
390
+ Every list is capped and long values are cut, and the pack says what it cut
391
+ and how to narrow it (`--columns`, `--types`, a subfolder); a Markdown pack is
392
+ never longer than 15 KB. `--fixture-dir tests/fixtures` also writes the
393
+ samples for tests: `--rows` rows (Parquet, with a schema JSON) or objects
394
+ (JSON), never over an existing file. They are real Foundry data, so keep them
395
+ out of git unless you may share them.
396
+
397
+ **The verify loop: `--wait`, then `pltr assert`.** Commands that start
398
+ asynchronous work (`orchestration builds create`, `orchestration schedules
399
+ run`, `connectivity import execute-file/-table`, `sql submit`) take `--wait`:
400
+ pltr polls with backoff until the work finishes, prints its final state, and
401
+ exits 8 if it failed (the error names the failed jobs) or 9 if `--timeout`
402
+ passed first (`pltr orchestration builds wait <rid>` resumes). Then check the
403
+ result with exit codes, like tests:
404
+
405
+ ```bash
406
+ pltr orchestration builds create @target.json --wait --timeout 900 --format json
407
+ pltr assert dataset /Space/Project/sales --min-rows 1 --updated-within 1h --schema expected.json
408
+ pltr assert objects my-ontology Employee --min-count 100
409
+ ```
410
+
411
+ **From a working command to app code: `--emit-code`.** Add `--emit-code` to
412
+ a command and pltr prints the foundry-platform-sdk Python code for the call it
413
+ would make, with your argument values, instead of making it:
414
+
415
+ ```bash
416
+ pltr dataset get "/My Space/My Project/sales" --emit-code
417
+ ```
418
+
419
+ ```python
420
+ import os
421
+
422
+ from foundry_sdk import FoundryClient, UserTokenAuth
423
+
424
+ client = FoundryClient(
425
+ auth=UserTokenAuth(token=os.environ["FOUNDRY_TOKEN"]),
426
+ hostname=os.environ["FOUNDRY_HOST"],
427
+ )
428
+
429
+ dataset_rid = client.filesystem.Resource.get_by_path(
430
+ path="/My Space/My Project/sales",
431
+ ).rid
432
+ result = client.datasets.Dataset.get(
433
+ dataset_rid=dataset_rid,
434
+ )
435
+ print(result)
436
+ ```
437
+
438
+ The snippet runs as is: it reads the host and token from the environment
439
+ (never a credential pltr knows), passes SDK models for JSON options
440
+ (`ontologies_models.EqualsQueryV2(...)`), pages the SDK's way and looks up
441
+ Compass paths. Secret arguments (connection secrets, media-set tokens) are
442
+ read from environment variables in the snippet, never written into it.
443
+ Nothing is called, so it's safe on destructive commands too.
444
+ Commands that make several calls (`pltr cp`, uploads in a transaction), call
445
+ Foundry without the SDK, or make no Foundry call say so (exit 2,
446
+ `emit_code_unsupported`) instead of printing part of the code.
447
+
352
448
  `pltr commands list --format json` prints the whole manifest, one entry per
353
449
  command, deterministically (sorted, no timestamps). The
354
450
  [Claude Code skill](docs/user-guide/claude-skill.md) in `claude_skill/` packages
@@ -428,9 +524,8 @@ that call beta Foundry endpoints say `[beta]` at the start of their help.
428
524
  pltr orchestration builds search --status FAILED --branch master
429
525
  pltr orchestration builds search --started-after 2026-01-31T00:00:00Z --format json
430
526
 
431
- # Start a build of a dataset, follow it, cancel it
432
- pltr orchestration builds create \
433
- '{"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
434
529
  pltr orchestration builds get <build-rid>
435
530
  pltr orchestration builds jobs <build-rid>
436
531
  pltr orchestration builds cancel <build-rid> --yes
@@ -18,6 +18,17 @@ example `ri.foundry.main.dataset.<uuid>`. Most commands take RIDs, not
18
18
  names; find them in Foundry's web interface, or with commands such as
19
19
  `pltr folder list`, `pltr resource get-by-path` and `pltr ontology list`.
20
20
 
21
+ Wherever a command takes the RID of a Compass resource (a dataset, folder,
22
+ project, media set, connection, model, agent and so on), you can give its
23
+ path instead, such as `/Space/Project/data/employees`. pltr resolves the path
24
+ to the RID before it calls the API, with one lookup for all the paths in a
25
+ command, and checks that the resource is the right kind: a folder path given
26
+ to `pltr dataset get` fails with a `wrong_resource_type` error. The API itself
27
+ stays RID-based, and output always shows RIDs. A value starting with `/` is a
28
+ path; one starting with `ri.` is a RID. Spaces and the root folder can't be
29
+ looked up by path, so give their RIDs. `pltr commands show <command>` marks the
30
+ parameters that take a path with `"acceptsPath": true`.
31
+
21
32
  ## ✨ Key Features
22
33
 
23
34
  - **Authentication**: token and OAuth2 profiles with credentials in the
@@ -134,8 +145,9 @@ pltr folder create "Analysis" --parent-folder <project-or-folder-rid>
134
145
  # Run a SQL query
135
146
  pltr sql execute "SELECT 1 AS test"
136
147
 
137
- # Datasets are addressed by RID
148
+ # Datasets are addressed by RID, or by their Compass path
138
149
  pltr dataset get <dataset-rid>
150
+ pltr dataset get "/My Space/My Project/data/employees"
139
151
  pltr dataset branches list <dataset-rid>
140
152
  pltr dataset files list <dataset-rid>
141
153
 
@@ -193,17 +205,33 @@ pltr is built to be scripted, by people and by agents.
193
205
 
194
206
  Keys that don't apply are left out. In table and CSV mode the same error is
195
207
  printed as readable text, including the Foundry `errorName`.
208
+ - **Errors say how to recover** where pltr knows: the error object then has a
209
+ `hint`, and a `suggestedCommand` to run next (text mode prints them as
210
+ `Hint:` and `Try:` lines). To make a hint specific pltr may make a few
211
+ read calls, for example to find the open transaction to abort.
212
+
213
+ | Failure | Error `type` (`errorName`) | `hint` / `suggestedCommand` |
214
+ |---|---|---|
215
+ | An object type, property, action type or link type that doesn't exist | `not_found` or `validation_error` (`ObjectTypeNotFound`, `PropertiesNotFound`, `ActionTypeNotFound`, `LinkTypeNotFound`) | the closest API names; the command that lists them |
216
+ | A RID or path of the wrong kind (a folder for a dataset) | `wrong_resource_type` | for a folder: `pltr folder list <it>` |
217
+ | A branch that already has an open transaction | `conflict` (`OpenTransactionAlreadyExists`) | names the transaction; `pltr dataset transactions abort <dataset> <transaction>` |
218
+ | A missing OAuth scope | `permission_denied` (`ApiUsageDenied`) | the scope the endpoint needs |
219
+ | Permission denied on an operation | `permission_denied` (`<Operation>PermissionDenied`) | the operation and the resource; `pltr resource-role list <rid> --include-inherited` |
220
+ | An expired or revoked token (HTTP 401) | `auth_error` | `export FOUNDRY_TOKEN=<new-token>`, or the `pltr configure configure` command for the profile |
221
+ | No resource at a path | `path_not_found` | what a path looks like |
196
222
 
197
223
  | Exit code | Meaning | Error `type` |
198
224
  |---|---|---|
199
225
  | 0 | Success | |
200
226
  | 1 | Unexpected error, or "no" at a confirmation prompt | `unexpected_error`, `aborted` |
201
- | 2 | Usage error: bad or missing arguments, invalid JSON input, or `--yes` required | `usage_error`, `confirmation_required` |
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` |
202
228
  | 3 | Authentication: no usable credentials, or HTTP 401 | `auth_error` |
203
229
  | 4 | Permission denied (HTTP 403) | `permission_denied` |
204
- | 5 | Not found (HTTP 404) | `not_found`, `api_not_found` |
230
+ | 5 | Not found (HTTP 404), or no resource at a path you gave | `not_found`, `api_not_found`, `path_not_found` |
205
231
  | 6 | API validation error (HTTP 400, 422) | `validation_error` |
206
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 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` |
207
235
 
208
236
  **Destructive commands ask first.** Commands that delete, remove, revoke,
209
237
  reset, cancel, abort or replace something ask for confirmation, and
@@ -306,6 +334,74 @@ scripts as much as by people. An agent works in four steps:
306
334
  Destructive commands never prompt without a terminal: they fail with exit
307
335
  code 2 and change nothing unless you pass `--yes`.
308
336
 
337
+ **Know what's there before writing code: `pltr context`.** Context packs
338
+ are compact summaries for a model to read (Markdown; `--format json` for the
339
+ same content as data):
340
+
341
+ ```bash
342
+ pltr context dataset /Space/Project/sales # columns, sample rows, schedules, latest job
343
+ pltr context ontology my-ontology --types Employee # keys, properties, links, actions and queries
344
+ pltr context folder /Space/Project --depth 2 # what's in a project: type, path, RID
345
+ ```
346
+
347
+ Every list is capped and long values are cut, and the pack says what it cut
348
+ and how to narrow it (`--columns`, `--types`, a subfolder); a Markdown pack is
349
+ never longer than 15 KB. `--fixture-dir tests/fixtures` also writes the
350
+ samples for tests: `--rows` rows (Parquet, with a schema JSON) or objects
351
+ (JSON), never over an existing file. They are real Foundry data, so keep them
352
+ out of git unless you may share them.
353
+
354
+ **The verify loop: `--wait`, then `pltr assert`.** Commands that start
355
+ asynchronous work (`orchestration builds create`, `orchestration schedules
356
+ run`, `connectivity import execute-file/-table`, `sql submit`) take `--wait`:
357
+ pltr polls with backoff until the work finishes, prints its final state, and
358
+ exits 8 if it failed (the error names the failed jobs) or 9 if `--timeout`
359
+ passed first (`pltr orchestration builds wait <rid>` resumes). Then check the
360
+ result with exit codes, like tests:
361
+
362
+ ```bash
363
+ pltr orchestration builds create @target.json --wait --timeout 900 --format json
364
+ pltr assert dataset /Space/Project/sales --min-rows 1 --updated-within 1h --schema expected.json
365
+ pltr assert objects my-ontology Employee --min-count 100
366
+ ```
367
+
368
+ **From a working command to app code: `--emit-code`.** Add `--emit-code` to
369
+ a command and pltr prints the foundry-platform-sdk Python code for the call it
370
+ would make, with your argument values, instead of making it:
371
+
372
+ ```bash
373
+ pltr dataset get "/My Space/My Project/sales" --emit-code
374
+ ```
375
+
376
+ ```python
377
+ import os
378
+
379
+ from foundry_sdk import FoundryClient, UserTokenAuth
380
+
381
+ client = FoundryClient(
382
+ auth=UserTokenAuth(token=os.environ["FOUNDRY_TOKEN"]),
383
+ hostname=os.environ["FOUNDRY_HOST"],
384
+ )
385
+
386
+ dataset_rid = client.filesystem.Resource.get_by_path(
387
+ path="/My Space/My Project/sales",
388
+ ).rid
389
+ result = client.datasets.Dataset.get(
390
+ dataset_rid=dataset_rid,
391
+ )
392
+ print(result)
393
+ ```
394
+
395
+ The snippet runs as is: it reads the host and token from the environment
396
+ (never a credential pltr knows), passes SDK models for JSON options
397
+ (`ontologies_models.EqualsQueryV2(...)`), pages the SDK's way and looks up
398
+ Compass paths. Secret arguments (connection secrets, media-set tokens) are
399
+ read from environment variables in the snippet, never written into it.
400
+ Nothing is called, so it's safe on destructive commands too.
401
+ Commands that make several calls (`pltr cp`, uploads in a transaction), call
402
+ Foundry without the SDK, or make no Foundry call say so (exit 2,
403
+ `emit_code_unsupported`) instead of printing part of the code.
404
+
309
405
  `pltr commands list --format json` prints the whole manifest, one entry per
310
406
  command, deterministically (sorted, no timestamps). The
311
407
  [Claude Code skill](docs/user-guide/claude-skill.md) in `claude_skill/` packages
@@ -385,9 +481,8 @@ that call beta Foundry endpoints say `[beta]` at the start of their help.
385
481
  pltr orchestration builds search --status FAILED --branch master
386
482
  pltr orchestration builds search --started-after 2026-01-31T00:00:00Z --format json
387
483
 
388
- # Start a build of a dataset, follow it, cancel it
389
- pltr orchestration builds create \
390
- '{"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
391
486
  pltr orchestration builds get <build-rid>
392
487
  pltr orchestration builds jobs <build-rid>
393
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
- │ └── permissions.md
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, ...