gravity-cli 0.12.2__tar.gz → 0.13.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (285) hide show
  1. gravity_cli-0.12.2/README.md → gravity_cli-0.13.0/PKG-INFO +108 -14
  2. gravity_cli-0.12.2/PKG-INFO → gravity_cli-0.13.0/README.md +91 -31
  3. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/README.md +25 -1
  4. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/pyproject.toml +1 -1
  5. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/pyproject.toml +2 -2
  6. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/BUILDER_GUIDE.md +4 -3
  7. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/CHANGELOG.md +9 -0
  8. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/config.py +2 -2
  9. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/docs/Gravity.agent.md +2 -2
  10. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/ui.py +7 -1
  11. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/tests/test_api.py +2 -2
  12. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/tests/test_runs.py +9 -0
  13. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/uv.lock +2 -2
  14. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/.env.example +0 -0
  15. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/.github/workflows/ci.yml +0 -0
  16. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/.github/workflows/composio-watch.yml +0 -0
  17. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/.github/workflows/release.yml +0 -0
  18. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/.gitignore +0 -0
  19. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/AGENT_STANDARD.md +0 -0
  20. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/AGENT_STANDARD_V2.md +0 -0
  21. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/LICENSE +0 -0
  22. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/NOTICE +0 -0
  23. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/RELEASING.md +0 -0
  24. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/TEMPLATES.md +0 -0
  25. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/LICENSE +0 -0
  26. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/NOTICE +0 -0
  27. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/__init__.py +0 -0
  28. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/__main__.py +0 -0
  29. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/built_ins.py +0 -0
  30. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/catalog.py +0 -0
  31. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/catalog.yaml +0 -0
  32. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/catalog_imported.yaml +0 -0
  33. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/contract.py +0 -0
  34. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/cron.py +0 -0
  35. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/describe.py +0 -0
  36. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/errors.py +0 -0
  37. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/export.py +0 -0
  38. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/gen_catalog.py +0 -0
  39. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/gen_vocabulary.py +0 -0
  40. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/instance.py +0 -0
  41. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/manifest.py +0 -0
  42. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/manifest_v2.py +0 -0
  43. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/rules.py +0 -0
  44. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/rules_cases.json +0 -0
  45. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/source_scan.py +0 -0
  46. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/specs.py +0 -0
  47. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/validation.py +0 -0
  48. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/__init__.py +0 -0
  49. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/__main__.py +0 -0
  50. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/capabilities.yaml +0 -0
  51. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/connectors/airtable.yaml +0 -0
  52. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/connectors/asana.yaml +0 -0
  53. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/connectors/browser_tool.yaml +0 -0
  54. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/connectors/composio_search.yaml +0 -0
  55. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/connectors/dropbox.yaml +0 -0
  56. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/connectors/exa.yaml +0 -0
  57. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/connectors/excel.yaml +0 -0
  58. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/connectors/firecrawl.yaml +0 -0
  59. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/connectors/github.yaml +0 -0
  60. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/connectors/gmail.yaml +0 -0
  61. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/connectors/googlecalendar.yaml +0 -0
  62. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/connectors/googledocs.yaml +0 -0
  63. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/connectors/googledrive.yaml +0 -0
  64. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/connectors/googlesheets.yaml +0 -0
  65. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/connectors/googleslides.yaml +0 -0
  66. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/connectors/googletasks.yaml +0 -0
  67. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/connectors/hackernews.yaml +0 -0
  68. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/connectors/hubspot.yaml +0 -0
  69. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/connectors/instagram.yaml +0 -0
  70. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/connectors/jira.yaml +0 -0
  71. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/connectors/linear.yaml +0 -0
  72. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/connectors/linkedin.yaml +0 -0
  73. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/connectors/microsoft_teams.yaml +0 -0
  74. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/connectors/notion.yaml +0 -0
  75. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/connectors/outlook.yaml +0 -0
  76. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/connectors/perplexityai.yaml +0 -0
  77. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/connectors/pinterest.yaml +0 -0
  78. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/connectors/reddit.yaml +0 -0
  79. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/connectors/slack.yaml +0 -0
  80. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/connectors/tavily.yaml +0 -0
  81. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/connectors/youtube.yaml +0 -0
  82. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/core_shapes.yaml +0 -0
  83. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/generated_shapes.yaml +0 -0
  84. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/policy.yaml +0 -0
  85. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/schemas/airtable.json +0 -0
  86. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/schemas/asana.json +0 -0
  87. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/schemas/browser_tool.json +0 -0
  88. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/schemas/composio_search.json +0 -0
  89. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/schemas/dropbox.json +0 -0
  90. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/schemas/exa.json +0 -0
  91. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/schemas/excel.json +0 -0
  92. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/schemas/firecrawl.json +0 -0
  93. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/schemas/github.json +0 -0
  94. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/schemas/gmail.json +0 -0
  95. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/schemas/googlecalendar.json +0 -0
  96. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/schemas/googledocs.json +0 -0
  97. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/schemas/googledrive.json +0 -0
  98. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/schemas/googlesheets.json +0 -0
  99. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/schemas/googleslides.json +0 -0
  100. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/schemas/googletasks.json +0 -0
  101. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/schemas/hackernews.json +0 -0
  102. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/schemas/hubspot.json +0 -0
  103. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/schemas/instagram.json +0 -0
  104. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/schemas/jira.json +0 -0
  105. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/schemas/linear.json +0 -0
  106. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/schemas/linkedin.json +0 -0
  107. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/schemas/microsoft_teams.json +0 -0
  108. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/schemas/notion.json +0 -0
  109. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/schemas/outlook.json +0 -0
  110. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/schemas/perplexityai.json +0 -0
  111. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/schemas/pinterest.json +0 -0
  112. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/schemas/reddit.json +0 -0
  113. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/schemas/slack.json +0 -0
  114. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/schemas/tavily.json +0 -0
  115. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/schemas/youtube.json +0 -0
  116. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/schemas.py +0 -0
  117. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/shapes.d/ochat.yaml +0 -0
  118. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/shapes.d/ocrm.yaml +0 -0
  119. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/shapes.d/ogh.yaml +0 -0
  120. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/shapes.d/oms.yaml +0 -0
  121. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/shapes.d/oweb.yaml +0 -0
  122. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/shapes.d/owork.yaml +0 -0
  123. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/shapes.d/shared.yaml +0 -0
  124. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/sync.py +0 -0
  125. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/verbs.d/ochat.yaml +0 -0
  126. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/verbs.d/ocrm.yaml +0 -0
  127. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/verbs.d/ogh.yaml +0 -0
  128. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/verbs.d/oms.yaml +0 -0
  129. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/verbs.d/oweb.yaml +0 -0
  130. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/verbs.d/owork.yaml +0 -0
  131. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/verbs.d/rchat.yaml +0 -0
  132. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/verbs.d/rfiles.yaml +0 -0
  133. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/verbs.d/rgh.yaml +0 -0
  134. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/verbs.d/rtrack.yaml +0 -0
  135. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/verbs.d/rwork.yaml +0 -0
  136. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/verbs.yaml +0 -0
  137. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/schema/manifest.schema.json +0 -0
  138. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/tests/conftest.py +0 -0
  139. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/tests/fixtures/demo_manifests.yaml +0 -0
  140. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/tests/test_accounts.py +0 -0
  141. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/tests/test_actions_memory.py +0 -0
  142. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/tests/test_catalog_parity.py +0 -0
  143. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/tests/test_cron.py +0 -0
  144. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/tests/test_describe.py +0 -0
  145. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/tests/test_errors.py +0 -0
  146. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/tests/test_generated_tables.py +0 -0
  147. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/tests/test_instance.py +0 -0
  148. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/tests/test_json_schema.py +0 -0
  149. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/tests/test_kind_outputs.py +0 -0
  150. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/tests/test_manifest.py +0 -0
  151. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/tests/test_manifest_v2.py +0 -0
  152. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/tests/test_place_maker.py +0 -0
  153. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/tests/test_rules.py +0 -0
  154. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/tests/test_slots.py +0 -0
  155. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/tests/test_source_scan.py +0 -0
  156. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/tests/test_sync.py +0 -0
  157. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/tests/test_validation.py +0 -0
  158. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/tests/test_vocabulary.py +0 -0
  159. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/scripts/composio-watch.sh +0 -0
  160. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/BUILDER_GUIDE_V2.md +0 -0
  161. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/__init__.py +0 -0
  162. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/__main__.py +0 -0
  163. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/_runner_script.py +0 -0
  164. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/api.py +0 -0
  165. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/changelog.py +0 -0
  166. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/cli.py +0 -0
  167. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/commands/__init__.py +0 -0
  168. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/commands/adapt.py +0 -0
  169. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/commands/build.py +0 -0
  170. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/commands/capabilities.py +0 -0
  171. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/commands/changelog.py +0 -0
  172. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/commands/check.py +0 -0
  173. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/commands/connect.py +0 -0
  174. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/commands/dev.py +0 -0
  175. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/commands/docs.py +0 -0
  176. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/commands/guide.py +0 -0
  177. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/commands/help.py +0 -0
  178. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/commands/init.py +0 -0
  179. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/commands/login.py +0 -0
  180. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/commands/memory.py +0 -0
  181. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/commands/push.py +0 -0
  182. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/commands/run.py +0 -0
  183. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/commands/runs.py +0 -0
  184. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/commands/schedule.py +0 -0
  185. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/commands/tools.py +0 -0
  186. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/commands/update.py +0 -0
  187. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/commands/validate.py +0 -0
  188. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/dev.py +0 -0
  189. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/dev_page/index.html +0 -0
  190. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/docs/Gravity.getting-started.md +0 -0
  191. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/docs/problem-to-agent.md +0 -0
  192. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/inputs.py +0 -0
  193. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/localrun.py +0 -0
  194. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/manifest.py +0 -0
  195. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/project.py +0 -0
  196. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/chat/.gitignore +0 -0
  197. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/chat/manifest.yaml +0 -0
  198. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/chat/requirements.txt +0 -0
  199. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/chat/src/agent.py +0 -0
  200. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/deepagent/.gitignore +0 -0
  201. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/deepagent/manifest.yaml +0 -0
  202. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/deepagent/requirements.txt +0 -0
  203. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/deepagent/src/agent.py +0 -0
  204. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/minimal/.gitignore +0 -0
  205. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/minimal/manifest.yaml +0 -0
  206. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/minimal/requirements.txt +0 -0
  207. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/minimal/src/agent.py +0 -0
  208. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/structured/.gitignore +0 -0
  209. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/structured/manifest.yaml +0 -0
  210. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/structured/requirements.txt +0 -0
  211. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/structured/src/agent.py +0 -0
  212. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/structured/src/gateway.py +0 -0
  213. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/structured/src/nodes/agent.py +0 -0
  214. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/structured/src/prompts.py +0 -0
  215. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/structured/src/state.py +0 -0
  216. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/v2/chat/.gitignore +0 -0
  217. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/v2/chat/manifest.yaml +0 -0
  218. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/v2/chat/requirements.txt +0 -0
  219. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/v2/chat/src/agent.py +0 -0
  220. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/v2/chat/tests/test_agent.py +0 -0
  221. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/v2/deepagent/.gitignore +0 -0
  222. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/v2/deepagent/manifest.yaml +0 -0
  223. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/v2/deepagent/requirements.txt +0 -0
  224. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/v2/deepagent/src/agent.py +0 -0
  225. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/v2/deepagent/tests/test_agent.py +0 -0
  226. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/v2/minimal/.gitignore +0 -0
  227. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/v2/minimal/manifest.yaml +0 -0
  228. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/v2/minimal/requirements.txt +0 -0
  229. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/v2/minimal/src/agent.py +0 -0
  230. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/v2/minimal/tests/test_agent.py +0 -0
  231. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/v2/structured/.gitignore +0 -0
  232. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/v2/structured/manifest.yaml +0 -0
  233. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/v2/structured/requirements.txt +0 -0
  234. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/v2/structured/src/__init__.py +0 -0
  235. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/v2/structured/src/agent.py +0 -0
  236. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/v2/structured/src/gateway.py +0 -0
  237. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/v2/structured/src/nodes/__init__.py +0 -0
  238. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/v2/structured/src/nodes/agent.py +0 -0
  239. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/v2/structured/src/prompts.py +0 -0
  240. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/v2/structured/src/state.py +0 -0
  241. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/v2/structured/tests/test_agent.py +0 -0
  242. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/timeline.py +0 -0
  243. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/updater.py +0 -0
  244. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/workspace.py +0 -0
  245. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/starter/manifest.yaml +0 -0
  246. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/starter/requirements.txt +0 -0
  247. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/starter/src/agent.py +0 -0
  248. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/starter/src/summary.py +0 -0
  249. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/starter/tests/test_summary.py +0 -0
  250. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/starter-v2/manifest.yaml +0 -0
  251. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/starter-v2/requirements.txt +0 -0
  252. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/starter-v2/src/agent.py +0 -0
  253. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/starter-v2/src/summary.py +0 -0
  254. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/starter-v2/tests/test_summary.py +0 -0
  255. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/tests/conftest.py +0 -0
  256. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/tests/test_adapt.py +0 -0
  257. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/tests/test_agent_guide.py +0 -0
  258. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/tests/test_agents.py +0 -0
  259. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/tests/test_build_push.py +0 -0
  260. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/tests/test_changelog.py +0 -0
  261. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/tests/test_check.py +0 -0
  262. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/tests/test_connect.py +0 -0
  263. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/tests/test_connect_v2.py +0 -0
  264. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/tests/test_dev.py +0 -0
  265. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/tests/test_dev_v2.py +0 -0
  266. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/tests/test_gateway_token.py +0 -0
  267. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/tests/test_inputs_memory.py +0 -0
  268. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/tests/test_localrun.py +0 -0
  269. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/tests/test_manifest_integration.py +0 -0
  270. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/tests/test_run.py +0 -0
  271. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/tests/test_run_v2.py +0 -0
  272. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/tests/test_schedule.py +0 -0
  273. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/tests/test_schedule_v2.py +0 -0
  274. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/tests/test_session.py +0 -0
  275. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/tests/test_templates.py +0 -0
  276. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/tests/test_templates_v2.py +0 -0
  277. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/tests/test_timeline.py +0 -0
  278. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/tests/test_tools.py +0 -0
  279. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/tests/test_ui.py +0 -0
  280. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/tests/test_updater.py +0 -0
  281. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/tests/test_v2_cli.py +0 -0
  282. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/tests/test_validate.py +0 -0
  283. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/tests/test_validate_v2.py +0 -0
  284. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/tests/test_welcome.py +0 -0
  285. {gravity_cli-0.12.2 → gravity_cli-0.13.0}/tests/test_workspace.py +0 -0
@@ -1,3 +1,20 @@
1
+ Metadata-Version: 2.5
2
+ Name: gravity-cli
3
+ Version: 0.13.0
4
+ Summary: gravity cli — init, run, and push python agents to the Gravity marketplace
5
+ License-Expression: Apache-2.0
6
+ License-File: LICENSE
7
+ License-File: NOTICE
8
+ Requires-Python: >=3.12
9
+ Requires-Dist: gravity-schema==0.13.0
10
+ Requires-Dist: httpx>=0.27.0
11
+ Requires-Dist: keyring>=25.0.0
12
+ Requires-Dist: python-dotenv>=1.0.0
13
+ Requires-Dist: rich>=13.9.0
14
+ Requires-Dist: typer>=0.15.0
15
+ Requires-Dist: uv>=0.8.0
16
+ Description-Content-Type: text/markdown
17
+
1
18
  <h1 align="center">Gravity CLI</h1>
2
19
 
3
20
  <p align="center">
@@ -69,6 +86,7 @@ gravity init my-agent
69
86
  - [An agent project](#an-agent-project)
70
87
  - [Running a local gateway](#running-a-local-gateway)
71
88
  - [Troubleshooting](#troubleshooting)
89
+ - [What's new](#whats-new)
72
90
  - [Limitations](#limitations)
73
91
  - [Development](#development)
74
92
  - [Documentation](#documentation)
@@ -181,13 +199,16 @@ Run `gravity help` for this list in the terminal, and add `-h` to any command fo
181
199
  | | [`gravity run`](#gravity-run) | Run your agent locally against real tools |
182
200
  | | [`gravity dev`](#gravity-dev) | Open a local dashboard to run and watch your agent |
183
201
  | | [`gravity schedule`](#gravity-schedule) | Run your agent on its schedule, locally |
184
- | | [`gravity adapt`](#gravity-adapt) | Write a new slot adapter with AI, kept only if its tests pass |
202
+ | | [`gravity memory`](#gravity-memory) | See or clear what your agent remembers between local runs |
203
+ | | [`gravity adapt`](#gravity-adapt) | Write a new slot adapter with AI, kept only if its tests pass (v1) |
204
+ | | [`gravity check`](#gravity-check) | Try a capability on your own account (v2) |
205
+ | | [`gravity capabilities`](#gravity-capabilities) | Browse the capabilities a v2 manifest can name |
185
206
  | **Publish** | [`gravity build`](#gravity-build) | Package your agent into `build/agent.zip` |
186
207
  | | [`gravity push`](#gravity-push) | Publish your built agent to Gravity |
187
208
  | **Your agents** | [`gravity agents`](#gravity-agents) | List your published agents and their review status |
188
209
  | | [`gravity runs`](#gravity-runs) | Show recent runs of one agent |
189
210
  | | [`gravity logs`](#gravity-logs) | Show the logs of one run |
190
- | | [`gravity tools`](#gravity-tools) | Browse the tools your agent can use |
211
+ | | [`gravity tools`](#gravity-tools) | Browse the tools a v1 manifest can name |
191
212
  | **Account** | [`gravity login`](#gravity-login) | Sign in to Gravity in your browser |
192
213
  | | [`gravity logout`](#gravity-logout) | Sign out |
193
214
  | | [`gravity whoami`](#gravity-whoami) | Show who you are signed in as |
@@ -326,6 +347,26 @@ gravity schedule --cron "*/30 * * * *" --now
326
347
 
327
348
  Nobody is at the terminal during a scheduled run, so calls that need approval are rejected and the agent takes its fallback. A failed run does not stop the schedule.
328
349
 
350
+ ### `gravity memory`
351
+
352
+ See or clear what your agent kept between local runs: its `gravity.memory` collections and its notebook, stored in `.gravity/memory/` in the agent's folder. Hosted runs keep memory on Gravity, per person, and this command does not touch it.
353
+
354
+ ```
355
+ gravity memory [ls|show|clear] [collection] [--path PATH]
356
+ ```
357
+
358
+ | Argument | Description |
359
+ |---|---|
360
+ | `ls` | The collections and how many items each holds (the default) |
361
+ | `show [collection]` | The items in one collection |
362
+ | `clear [collection]` | Delete one collection, or everything when no collection is named |
363
+
364
+ ```bash
365
+ gravity memory ls
366
+ gravity memory show seen
367
+ gravity memory clear seen
368
+ ```
369
+
329
370
  ### `gravity adapt`
330
371
 
331
372
  Have a coding agent write one new adapter for a slot. The file is kept only if the slot's conformance tests pass; otherwise the file and the manifest are put back as they were.
@@ -349,6 +390,54 @@ gravity adapt deliver slack --tools slack.send,slack.list_channels --hint "post
349
390
 
350
391
  Requires `tests/test_<slot>_adapters.py` in the project and a gateway token (`gravity login`, or `GRAVITY_DEV_TOKEN`). It makes up to 3 attempts, feeding each test failure back to the model.
351
392
 
393
+ ### `gravity capabilities`
394
+
395
+ Browse the capability vocabulary a [contract v2](#contract-v2) manifest names: each kind of record (a shape, such as `issue` or `message`), what can be done with it (`issue.list`, `issue.create`) and which apps can do each. It is read from the installed gravity-schema, so it works offline.
396
+
397
+ ```
398
+ gravity capabilities [shape | capability] [--app APP]
399
+ ```
400
+
401
+ ```bash
402
+ gravity capabilities # every kind of record
403
+ gravity capabilities issue # its capabilities, and the apps that do each
404
+ gravity capabilities issue.create # one in detail: what each app needs picked
405
+ gravity capabilities --app linear # only what Linear can do
406
+ ```
407
+
408
+ ### `gravity check`
409
+
410
+ Try one capability on your own connected account, before your agent depends on it. A read runs and shows what comes back in the shape's fields; a write is only previewed (the call it would make) unless you add `--run`.
411
+
412
+ ```
413
+ gravity check <capability> --app APP [options]
414
+ gravity check --manifest [path] [--use NAME=APP]...
415
+ ```
416
+
417
+ | Option | Description |
418
+ |---|---|
419
+ | `--app APP` | The app to try it on (`gravity capabilities <capability>` lists them) |
420
+ | `--target ID` | The place: an id (`C0123`), or `resource=id,...` for one inside another (`team=T1,channel=C9`) |
421
+ | `--set FIELD=VALUE` | A field of a write, repeatable. JSON values work (`--set to='["a@x.com"]'`) |
422
+ | `--id ID` | The record to get, for a read by id |
423
+ | `--text TEXT` | Search text |
424
+ | `--filter KEY=VALUE` | A standard filter (`state=open`) |
425
+ | `--window W` | How far back a read looks: `1d`, `7d`, `30d` |
426
+ | `--limit N` | Records to show, at most 50 |
427
+ | `--run` | Really make the write |
428
+ | `--yes` | Also needed for a delete, or anything that can't be undone |
429
+ | `--manifest [path]` | Check every source of the agent in this folder; `--use name=app[:resource=id]` picks the app |
430
+ | `-v`, `--json` | Show whole records and every call, or print the gateway's answer as JSON |
431
+
432
+ ```bash
433
+ gravity check issue.list --app linear
434
+ gravity check message.send --app slack --target C0123 --set text="hello" # previewed
435
+ gravity check message.send --app slack --target C0123 --set text="hello" --run # sent
436
+ gravity check --manifest . --use tasks=linear
437
+ ```
438
+
439
+ It uses your own connected accounts (`gravity connect`).
440
+
352
441
  ### `gravity build`
353
442
 
354
443
  Validate the agent, then bundle it into `build/agent.zip` with its hashes in `build/build.json`. Nothing leaves your machine, so you can inspect the zip before publishing.
@@ -580,7 +669,7 @@ Set `GRAVITY_API_URL` and `GRAVITY_GATEWAY_URL` only to work against services yo
580
669
  | `GRAVITY_DEV_TOKEN` | A gateway token. `gravity run` trades it for a run token scoped to the manifest's tools. Overrides the token `gravity login` stored; needed only when login did not issue one, such as against a local gateway. | the token from `gravity login` |
581
670
  | `GRAVITY_GATEWAY_URL` | The gateway's MCP endpoint, ending in `/mcp` | the gateway the control plane names in `GET /api/cli/config` |
582
671
  | `GRAVITY_LLM_URL` | The OpenAI-compatible model endpoint | the gateway's address + `/v1` |
583
- | `GRAVITY_API_URL` | The control plane's address | `https://agents.dev.gravity.fast` |
672
+ | `GRAVITY_API_URL` | The control plane's address | `https://agents.nonprod.gravity.fast` |
584
673
  | `GRAVITY_API_TOKEN` | A control-plane dev token, used instead of `gravity login`. For development only. | none |
585
674
  | `GRAVITY_CONFIG_DIR` | Moves `~/.gravity` elsewhere. Useful for tests and CI. | `~/.gravity` |
586
675
  | `GRAVITY_AUTO_UPDATE` | When `0`, commands neither check for a newer release nor install one. Always off when `CI` is set. | `1` |
@@ -744,8 +833,11 @@ Unknown fields are rejected rather than ignored, so a typo is reported instead o
744
833
  The CLI also reads `contract: v2` manifests, where an agent names **capabilities** (`message.list`, `issue.create`)
745
834
  instead of tools, and the person picks the app when they set it up: Gmail or Outlook, Linear or Jira. What it reads
746
835
  goes under `sources`, what it changes under `writes`; code calls `gravity.read("inbox")` and `gravity.act("send", ...)`.
747
- Gravity runs both contracts. A v2 agent runs once a consumer has set it up (their app and place for each source,
748
- write and output); `gravity init` stays on v1 by default until that setup page is on the web app.
836
+ Gravity runs both contracts. A v2 agent runs once a consumer has set it up: the app for each source, write and output,
837
+ the place in it (a channel, a sheet, or a new one made for it), and, if they want, how far back it reads and which
838
+ records it takes. They can change the setup later, and delete it with the agent. Write the manifest's labels for
839
+ those questions: "Where your issues live", "Where should the summary go?". `gravity init` starts v1 unless you pass
840
+ `--contract v2`.
749
841
 
750
842
  ```bash
751
843
  gravity init my-agent --contract v2 # the v2 templates
@@ -837,15 +929,17 @@ Real tools act on a connected account. Connect one with `gravity-gateway connect
837
929
 
838
930
  ## What's new
839
931
 
840
- - **0.6.0** Gravity CLI keeps itself up to date and says what changed (`gravity update`, `gravity changelog`). `Gravity.agent.md` and `problem-to-agent.md` appear in the folder you work in, for your coding agent (`gravity docs`). `gravity` on its own shows your version, the agent in the folder, whether you are signed in, and any update. The notes shown after an update are `src/gravity_cli/CHANGELOG.md`.
841
- - **0.5.5** `manifest.yaml` takes an optional `display:` hint for how a run's result shows: `view` (document, report, table, chart, code or files), `field` (the result key to show) and `chart` (`type: line` or `bar`, `x`, and up to three `y` fields). It is a hint, never a rule: an unknown view or key is ignored, so it never fails a push. 0.5.4 and earlier refuse a manifest that has it.
842
- - **0.5.4** `gravity agents` shows each agent's review: a REVIEW column (not submitted, submitted, approved, rejected), and under "From the Gravity team" the reviewer's notes and what to do next. An agent the Gravity team turned off shows as `off` with the reason. UPDATED reads "3 min ago" instead of a timestamp, and status and review are coloured. Also, from a full audit of every command: `gravity --version`. Clear messages instead of tracebacks for: a proxy or sign-in page answering instead of Gravity, a refused `GRAVITY_API_TOKEN` or `GRAVITY_DEV_TOKEN`, an expired sign-in code, a non-UTF-8 manifest, an out-of-range `--port`, a missing agent folder, a malformed session file. `gravity validate` now refuses what the build would refuse: a `graph` that is not an async factory, `os.environ` or `asyncio.run` at import, relative imports, unquoted `python: 3.12`, schedules faster than every 5 minutes or with both day fields, out-of-range cron fields; it accepts a re-exported `graph`. `gravity agents` shows the review status and failure reasons; `gravity runs` never shortens an id; `gravity logs` never wraps. `gravity push` refuses a bundle over 30 MB or a manifest over 12 KB before uploading, and says why when a failed version is re-pushed. `gravity build` ships `tools_needed.yaml`, leaves dotfiles out, and refuses to build without `requirements.lock`. `gravity adapt` leaves the folder untouched when a model call fails. `gravity schedule` checks inputs before the first tick and runs on Asia/Kolkata like the hosted schedules. `gravity run` deletes `.gravity/payload.json` after the run, warns when no `.venv` is present, and keeps a plain agent's `result`. `gravity connect <app>` refuses on the shared test account instead of attaching your account to it. The builder guide and agent standard describe the real flow (init, validate, run or dev, build, push, review on /app).
843
- - **0.5.3** `gravity dev` opens a local dashboard for your agent: a form from your manifest, a live timeline, approvals, the result and run history; runs from `gravity run` in the same folder show up in it live, and the other way round. WhatsApp joins the catalog (51 tools; 1,402 across 15 apps including the curated and built-in ones). Agents can return generated images: put them in a corpus section's `images` and they land in the Word, PowerPoint and Markdown outputs. The agent standard now shows how to generate images and embeddings through the gateway. `NEEDS_RECONNECT` on the shared test account tells you to ask Gravity, not to connect your own account.
844
- - **0.5.2** Jira, Confluence and Notion join the catalog: 1,351 tools across 11 apps. `get_store()` works in local runs, kept in `.gravity/store.json`. Renewing an expired sign-in keeps your gateway token, so `gravity run` keeps working after an hour. Commands start faster: the catalog loads in a quarter of the time.
845
- - **0.5.0** `gravity connect` links your own accounts. `web.search` and `web.fetch` join the catalog. `gravity validate` now refuses a tool that isn't in the catalog, an imported write tool without an approval, and code that names a write tool the manifest doesn't grant. `gravity tools` reads the gateway's list and needs no sign-in. On Windows the session stays in the keychain instead of a file.
846
- - **0.4.4** Same code as 0.4.3, released from this repository so the GitHub release, the tag and PyPI line up again. Adds `RELEASING.md`.
847
- - **0.4.3** Documents the `secret` input type and the `supadata.get_transcript` tool.
848
- - **0.4.1** New input type `secret` for an API key, password or other confidential value. New built-in tool `supadata.get_transcript` (`gravity tools supadata`).
932
+ The full history is in `gravity changelog` (and [`CHANGELOG.md`](src/gravity_cli/CHANGELOG.md)); `gravity update` shows what changed after an update. The latest:
933
+
934
+ - **0.13.0** The CLI's default platform is `agents.nonprod.gravity.fast`, where agents are reviewed and listed for users; run `gravity login` once after updating, and push your agents again. `gravity --api-url` / `GRAVITY_API_URL` still point it elsewhere.
935
+ - **0.12.3** The README covers the v2 commands and how a v2 agent is set up; gravity-schema's page shows how to draw a v2 setup screen.
936
+ - **0.12.2** A v2 agent's message to Microsoft Teams arrives formatted, not as raw markdown.
937
+ - **0.12.1** gravity-schema's PyPI page explains the package; the v2 guide covers `spreadsheet.create` and Slack digest posts.
938
+ - **0.12.0** Contract v2 is out of preview: Gravity runs v1 and v2 agents side by side. A v2 output can go to a new Google Sheet (`spreadsheet.create`, a tab per table), and Slack posts show the digest as blocks.
939
+ - **0.11.1** `gravity connect sheets` (and the other v1 app names) works on a gateway that serves both contracts.
940
+ - **0.11.0** Live progress while a run works (`get_stream_writer()` notes and partial results), `pdf` and `xlsx` outputs, Google Docs and Sheets as destinations and as inputs, several files in one file input, runs when mail arrives (`triggers.email`), named result tabs (`display.tabs`) and `gravity.later()` for one item.
941
+ - **0.10.0** A date input can take several days (`max`, `min`), picked on a calendar.
942
+ - **0.9.0** Contract v2 (preview): `sources` and `writes` as capabilities, the person picks the app; `gravity init --contract v2`, `gravity capabilities`, `gravity check` and `gravity run --use`.
849
943
 
850
944
  ## Limitations
851
945
 
@@ -1,20 +1,3 @@
1
- Metadata-Version: 2.5
2
- Name: gravity-cli
3
- Version: 0.12.2
4
- Summary: gravity cli — init, run, and push python agents to the Gravity marketplace
5
- License-Expression: Apache-2.0
6
- License-File: LICENSE
7
- License-File: NOTICE
8
- Requires-Python: >=3.12
9
- Requires-Dist: gravity-schema==0.12.2
10
- Requires-Dist: httpx>=0.27.0
11
- Requires-Dist: keyring>=25.0.0
12
- Requires-Dist: python-dotenv>=1.0.0
13
- Requires-Dist: rich>=13.9.0
14
- Requires-Dist: typer>=0.15.0
15
- Requires-Dist: uv>=0.8.0
16
- Description-Content-Type: text/markdown
17
-
18
1
  <h1 align="center">Gravity CLI</h1>
19
2
 
20
3
  <p align="center">
@@ -86,6 +69,7 @@ gravity init my-agent
86
69
  - [An agent project](#an-agent-project)
87
70
  - [Running a local gateway](#running-a-local-gateway)
88
71
  - [Troubleshooting](#troubleshooting)
72
+ - [What's new](#whats-new)
89
73
  - [Limitations](#limitations)
90
74
  - [Development](#development)
91
75
  - [Documentation](#documentation)
@@ -198,13 +182,16 @@ Run `gravity help` for this list in the terminal, and add `-h` to any command fo
198
182
  | | [`gravity run`](#gravity-run) | Run your agent locally against real tools |
199
183
  | | [`gravity dev`](#gravity-dev) | Open a local dashboard to run and watch your agent |
200
184
  | | [`gravity schedule`](#gravity-schedule) | Run your agent on its schedule, locally |
201
- | | [`gravity adapt`](#gravity-adapt) | Write a new slot adapter with AI, kept only if its tests pass |
185
+ | | [`gravity memory`](#gravity-memory) | See or clear what your agent remembers between local runs |
186
+ | | [`gravity adapt`](#gravity-adapt) | Write a new slot adapter with AI, kept only if its tests pass (v1) |
187
+ | | [`gravity check`](#gravity-check) | Try a capability on your own account (v2) |
188
+ | | [`gravity capabilities`](#gravity-capabilities) | Browse the capabilities a v2 manifest can name |
202
189
  | **Publish** | [`gravity build`](#gravity-build) | Package your agent into `build/agent.zip` |
203
190
  | | [`gravity push`](#gravity-push) | Publish your built agent to Gravity |
204
191
  | **Your agents** | [`gravity agents`](#gravity-agents) | List your published agents and their review status |
205
192
  | | [`gravity runs`](#gravity-runs) | Show recent runs of one agent |
206
193
  | | [`gravity logs`](#gravity-logs) | Show the logs of one run |
207
- | | [`gravity tools`](#gravity-tools) | Browse the tools your agent can use |
194
+ | | [`gravity tools`](#gravity-tools) | Browse the tools a v1 manifest can name |
208
195
  | **Account** | [`gravity login`](#gravity-login) | Sign in to Gravity in your browser |
209
196
  | | [`gravity logout`](#gravity-logout) | Sign out |
210
197
  | | [`gravity whoami`](#gravity-whoami) | Show who you are signed in as |
@@ -343,6 +330,26 @@ gravity schedule --cron "*/30 * * * *" --now
343
330
 
344
331
  Nobody is at the terminal during a scheduled run, so calls that need approval are rejected and the agent takes its fallback. A failed run does not stop the schedule.
345
332
 
333
+ ### `gravity memory`
334
+
335
+ See or clear what your agent kept between local runs: its `gravity.memory` collections and its notebook, stored in `.gravity/memory/` in the agent's folder. Hosted runs keep memory on Gravity, per person, and this command does not touch it.
336
+
337
+ ```
338
+ gravity memory [ls|show|clear] [collection] [--path PATH]
339
+ ```
340
+
341
+ | Argument | Description |
342
+ |---|---|
343
+ | `ls` | The collections and how many items each holds (the default) |
344
+ | `show [collection]` | The items in one collection |
345
+ | `clear [collection]` | Delete one collection, or everything when no collection is named |
346
+
347
+ ```bash
348
+ gravity memory ls
349
+ gravity memory show seen
350
+ gravity memory clear seen
351
+ ```
352
+
346
353
  ### `gravity adapt`
347
354
 
348
355
  Have a coding agent write one new adapter for a slot. The file is kept only if the slot's conformance tests pass; otherwise the file and the manifest are put back as they were.
@@ -366,6 +373,54 @@ gravity adapt deliver slack --tools slack.send,slack.list_channels --hint "post
366
373
 
367
374
  Requires `tests/test_<slot>_adapters.py` in the project and a gateway token (`gravity login`, or `GRAVITY_DEV_TOKEN`). It makes up to 3 attempts, feeding each test failure back to the model.
368
375
 
376
+ ### `gravity capabilities`
377
+
378
+ Browse the capability vocabulary a [contract v2](#contract-v2) manifest names: each kind of record (a shape, such as `issue` or `message`), what can be done with it (`issue.list`, `issue.create`) and which apps can do each. It is read from the installed gravity-schema, so it works offline.
379
+
380
+ ```
381
+ gravity capabilities [shape | capability] [--app APP]
382
+ ```
383
+
384
+ ```bash
385
+ gravity capabilities # every kind of record
386
+ gravity capabilities issue # its capabilities, and the apps that do each
387
+ gravity capabilities issue.create # one in detail: what each app needs picked
388
+ gravity capabilities --app linear # only what Linear can do
389
+ ```
390
+
391
+ ### `gravity check`
392
+
393
+ Try one capability on your own connected account, before your agent depends on it. A read runs and shows what comes back in the shape's fields; a write is only previewed (the call it would make) unless you add `--run`.
394
+
395
+ ```
396
+ gravity check <capability> --app APP [options]
397
+ gravity check --manifest [path] [--use NAME=APP]...
398
+ ```
399
+
400
+ | Option | Description |
401
+ |---|---|
402
+ | `--app APP` | The app to try it on (`gravity capabilities <capability>` lists them) |
403
+ | `--target ID` | The place: an id (`C0123`), or `resource=id,...` for one inside another (`team=T1,channel=C9`) |
404
+ | `--set FIELD=VALUE` | A field of a write, repeatable. JSON values work (`--set to='["a@x.com"]'`) |
405
+ | `--id ID` | The record to get, for a read by id |
406
+ | `--text TEXT` | Search text |
407
+ | `--filter KEY=VALUE` | A standard filter (`state=open`) |
408
+ | `--window W` | How far back a read looks: `1d`, `7d`, `30d` |
409
+ | `--limit N` | Records to show, at most 50 |
410
+ | `--run` | Really make the write |
411
+ | `--yes` | Also needed for a delete, or anything that can't be undone |
412
+ | `--manifest [path]` | Check every source of the agent in this folder; `--use name=app[:resource=id]` picks the app |
413
+ | `-v`, `--json` | Show whole records and every call, or print the gateway's answer as JSON |
414
+
415
+ ```bash
416
+ gravity check issue.list --app linear
417
+ gravity check message.send --app slack --target C0123 --set text="hello" # previewed
418
+ gravity check message.send --app slack --target C0123 --set text="hello" --run # sent
419
+ gravity check --manifest . --use tasks=linear
420
+ ```
421
+
422
+ It uses your own connected accounts (`gravity connect`).
423
+
369
424
  ### `gravity build`
370
425
 
371
426
  Validate the agent, then bundle it into `build/agent.zip` with its hashes in `build/build.json`. Nothing leaves your machine, so you can inspect the zip before publishing.
@@ -597,7 +652,7 @@ Set `GRAVITY_API_URL` and `GRAVITY_GATEWAY_URL` only to work against services yo
597
652
  | `GRAVITY_DEV_TOKEN` | A gateway token. `gravity run` trades it for a run token scoped to the manifest's tools. Overrides the token `gravity login` stored; needed only when login did not issue one, such as against a local gateway. | the token from `gravity login` |
598
653
  | `GRAVITY_GATEWAY_URL` | The gateway's MCP endpoint, ending in `/mcp` | the gateway the control plane names in `GET /api/cli/config` |
599
654
  | `GRAVITY_LLM_URL` | The OpenAI-compatible model endpoint | the gateway's address + `/v1` |
600
- | `GRAVITY_API_URL` | The control plane's address | `https://agents.dev.gravity.fast` |
655
+ | `GRAVITY_API_URL` | The control plane's address | `https://agents.nonprod.gravity.fast` |
601
656
  | `GRAVITY_API_TOKEN` | A control-plane dev token, used instead of `gravity login`. For development only. | none |
602
657
  | `GRAVITY_CONFIG_DIR` | Moves `~/.gravity` elsewhere. Useful for tests and CI. | `~/.gravity` |
603
658
  | `GRAVITY_AUTO_UPDATE` | When `0`, commands neither check for a newer release nor install one. Always off when `CI` is set. | `1` |
@@ -761,8 +816,11 @@ Unknown fields are rejected rather than ignored, so a typo is reported instead o
761
816
  The CLI also reads `contract: v2` manifests, where an agent names **capabilities** (`message.list`, `issue.create`)
762
817
  instead of tools, and the person picks the app when they set it up: Gmail or Outlook, Linear or Jira. What it reads
763
818
  goes under `sources`, what it changes under `writes`; code calls `gravity.read("inbox")` and `gravity.act("send", ...)`.
764
- Gravity runs both contracts. A v2 agent runs once a consumer has set it up (their app and place for each source,
765
- write and output); `gravity init` stays on v1 by default until that setup page is on the web app.
819
+ Gravity runs both contracts. A v2 agent runs once a consumer has set it up: the app for each source, write and output,
820
+ the place in it (a channel, a sheet, or a new one made for it), and, if they want, how far back it reads and which
821
+ records it takes. They can change the setup later, and delete it with the agent. Write the manifest's labels for
822
+ those questions: "Where your issues live", "Where should the summary go?". `gravity init` starts v1 unless you pass
823
+ `--contract v2`.
766
824
 
767
825
  ```bash
768
826
  gravity init my-agent --contract v2 # the v2 templates
@@ -854,15 +912,17 @@ Real tools act on a connected account. Connect one with `gravity-gateway connect
854
912
 
855
913
  ## What's new
856
914
 
857
- - **0.6.0** Gravity CLI keeps itself up to date and says what changed (`gravity update`, `gravity changelog`). `Gravity.agent.md` and `problem-to-agent.md` appear in the folder you work in, for your coding agent (`gravity docs`). `gravity` on its own shows your version, the agent in the folder, whether you are signed in, and any update. The notes shown after an update are `src/gravity_cli/CHANGELOG.md`.
858
- - **0.5.5** `manifest.yaml` takes an optional `display:` hint for how a run's result shows: `view` (document, report, table, chart, code or files), `field` (the result key to show) and `chart` (`type: line` or `bar`, `x`, and up to three `y` fields). It is a hint, never a rule: an unknown view or key is ignored, so it never fails a push. 0.5.4 and earlier refuse a manifest that has it.
859
- - **0.5.4** `gravity agents` shows each agent's review: a REVIEW column (not submitted, submitted, approved, rejected), and under "From the Gravity team" the reviewer's notes and what to do next. An agent the Gravity team turned off shows as `off` with the reason. UPDATED reads "3 min ago" instead of a timestamp, and status and review are coloured. Also, from a full audit of every command: `gravity --version`. Clear messages instead of tracebacks for: a proxy or sign-in page answering instead of Gravity, a refused `GRAVITY_API_TOKEN` or `GRAVITY_DEV_TOKEN`, an expired sign-in code, a non-UTF-8 manifest, an out-of-range `--port`, a missing agent folder, a malformed session file. `gravity validate` now refuses what the build would refuse: a `graph` that is not an async factory, `os.environ` or `asyncio.run` at import, relative imports, unquoted `python: 3.12`, schedules faster than every 5 minutes or with both day fields, out-of-range cron fields; it accepts a re-exported `graph`. `gravity agents` shows the review status and failure reasons; `gravity runs` never shortens an id; `gravity logs` never wraps. `gravity push` refuses a bundle over 30 MB or a manifest over 12 KB before uploading, and says why when a failed version is re-pushed. `gravity build` ships `tools_needed.yaml`, leaves dotfiles out, and refuses to build without `requirements.lock`. `gravity adapt` leaves the folder untouched when a model call fails. `gravity schedule` checks inputs before the first tick and runs on Asia/Kolkata like the hosted schedules. `gravity run` deletes `.gravity/payload.json` after the run, warns when no `.venv` is present, and keeps a plain agent's `result`. `gravity connect <app>` refuses on the shared test account instead of attaching your account to it. The builder guide and agent standard describe the real flow (init, validate, run or dev, build, push, review on /app).
860
- - **0.5.3** `gravity dev` opens a local dashboard for your agent: a form from your manifest, a live timeline, approvals, the result and run history; runs from `gravity run` in the same folder show up in it live, and the other way round. WhatsApp joins the catalog (51 tools; 1,402 across 15 apps including the curated and built-in ones). Agents can return generated images: put them in a corpus section's `images` and they land in the Word, PowerPoint and Markdown outputs. The agent standard now shows how to generate images and embeddings through the gateway. `NEEDS_RECONNECT` on the shared test account tells you to ask Gravity, not to connect your own account.
861
- - **0.5.2** Jira, Confluence and Notion join the catalog: 1,351 tools across 11 apps. `get_store()` works in local runs, kept in `.gravity/store.json`. Renewing an expired sign-in keeps your gateway token, so `gravity run` keeps working after an hour. Commands start faster: the catalog loads in a quarter of the time.
862
- - **0.5.0** `gravity connect` links your own accounts. `web.search` and `web.fetch` join the catalog. `gravity validate` now refuses a tool that isn't in the catalog, an imported write tool without an approval, and code that names a write tool the manifest doesn't grant. `gravity tools` reads the gateway's list and needs no sign-in. On Windows the session stays in the keychain instead of a file.
863
- - **0.4.4** Same code as 0.4.3, released from this repository so the GitHub release, the tag and PyPI line up again. Adds `RELEASING.md`.
864
- - **0.4.3** Documents the `secret` input type and the `supadata.get_transcript` tool.
865
- - **0.4.1** New input type `secret` for an API key, password or other confidential value. New built-in tool `supadata.get_transcript` (`gravity tools supadata`).
915
+ The full history is in `gravity changelog` (and [`CHANGELOG.md`](src/gravity_cli/CHANGELOG.md)); `gravity update` shows what changed after an update. The latest:
916
+
917
+ - **0.13.0** The CLI's default platform is `agents.nonprod.gravity.fast`, where agents are reviewed and listed for users; run `gravity login` once after updating, and push your agents again. `gravity --api-url` / `GRAVITY_API_URL` still point it elsewhere.
918
+ - **0.12.3** The README covers the v2 commands and how a v2 agent is set up; gravity-schema's page shows how to draw a v2 setup screen.
919
+ - **0.12.2** A v2 agent's message to Microsoft Teams arrives formatted, not as raw markdown.
920
+ - **0.12.1** gravity-schema's PyPI page explains the package; the v2 guide covers `spreadsheet.create` and Slack digest posts.
921
+ - **0.12.0** Contract v2 is out of preview: Gravity runs v1 and v2 agents side by side. A v2 output can go to a new Google Sheet (`spreadsheet.create`, a tab per table), and Slack posts show the digest as blocks.
922
+ - **0.11.1** `gravity connect sheets` (and the other v1 app names) works on a gateway that serves both contracts.
923
+ - **0.11.0** Live progress while a run works (`get_stream_writer()` notes and partial results), `pdf` and `xlsx` outputs, Google Docs and Sheets as destinations and as inputs, several files in one file input, runs when mail arrives (`triggers.email`), named result tabs (`display.tabs`) and `gravity.later()` for one item.
924
+ - **0.10.0** A date input can take several days (`max`, `min`), picked on a calendar.
925
+ - **0.9.0** Contract v2 (preview): `sources` and `writes` as capabilities, the person picks the app; `gravity init --contract v2`, `gravity capabilities`, `gravity check` and `gravity run --use`.
866
926
 
867
927
  ## Limitations
868
928
 
@@ -84,7 +84,31 @@ permissions(manifest, setup)
84
84
  # per app: what it reads, what it changes, what asks first, and what it never does
85
85
  ```
86
86
 
87
- `setup_plan` lists what a consumer has to pick, and `live` describes a running setup.
87
+ `live` describes a running setup.
88
+
89
+ ## Draw a setup screen (v2)
90
+
91
+ `setup_plan` is the screen a consumer sets an agent up on, shortest first: the agent's parts grouped by the app they
92
+ use, with the apps each group could switch to, then only the places that must be picked. The rest (time ranges,
93
+ filters, optional parts, more outputs) is under `advanced`. Pass `connections` (app → connected) to mark each group.
94
+
95
+ ```python
96
+ from gravity_schema import Instance, VOCABULARY, apply_group_change, setup_plan
97
+
98
+ setup = Instance.model_validate({"agent": "inbox-digest", "version": "1.0.0",
99
+ "sources": {"inbox": {"app": "gmail"}}, "writes": {"digest": {"app": "slack"}}})
100
+ plan = setup_plan(manifest, setup, connections={"gmail": True})
101
+ plan["groups"] # [{app: 'gmail', connected: True, parts: [sources.inbox], ...}, {app: 'slack', connected: False, ...}]
102
+ plan["places"] # [{app: 'slack', resource: 'channel', says: 'Choose the channel in Slack', ...}]
103
+ plan["advanced"] # {places, windows, filters, inputs, optional, outputs}
104
+
105
+ # "Switch Slack to Teams": every part of the group moves; the Slack channel means nothing in Teams, so it is cleared
106
+ moved, issues = apply_group_change(manifest, setup, "slack", "microsoft_teams") # issues: a Teams chat to pick
107
+
108
+ VOCABULARY.place_maker("googlesheets", "spreadsheet") # "Create a new ...": {within, within_required, columns}
109
+ VOCABULARY.place_maker("slack", "channel") # None: not made from a name
110
+ VOCABULARY.mapped_apps_for("message.send") # ('gmail', 'instagram', 'microsoft_teams', 'outlook', 'slack')
111
+ ```
88
112
 
89
113
  ## JSON Schema
90
114
 
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "gravity-schema"
3
- version = "0.12.2"
3
+ version = "0.13.0"
4
4
  description = "Gravity agent manifest contract — models, validation, and JSON Schema export"
5
5
  readme = "README.md"
6
6
  license = "Apache-2.0"
@@ -1,13 +1,13 @@
1
1
  [project]
2
2
  name = "gravity-cli"
3
- version = "0.12.2"
3
+ version = "0.13.0"
4
4
  description = "gravity cli — init, run, and push python agents to the Gravity marketplace"
5
5
  readme = "README.md"
6
6
  license = "Apache-2.0"
7
7
  license-files = ["LICENSE", "NOTICE"]
8
8
  requires-python = ">=3.12"
9
9
  dependencies = [
10
- "gravity-schema==0.12.2", # released in lockstep: always the same version as this package
10
+ "gravity-schema==0.13.0", # released in lockstep: always the same version as this package
11
11
  "typer>=0.15.0",
12
12
  "httpx>=0.27.0",
13
13
  "rich>=13.9.0",
@@ -363,8 +363,9 @@ outputs:
363
363
  - `monitor`: runs on a schedule, remembers the last run, reports what changed. Needs
364
364
  `triggers.schedule`.
365
365
 
366
- **`destinations`** is where an output may go: `download` (the default), `gmail.draft` or
367
- `gmail.send`. Gravity sends it, not your agent (§6.3, "Emailing an output").
366
+ **`destinations`** is where an output may go: `download` (the default: the result stays in
367
+ Gravity, where the user reads or downloads it), `gmail.draft` or `gmail.send`. Gravity sends it, not
368
+ your agent (§6.3, "Emailing an output").
368
369
 
369
370
  ### 5.3 The corpus shape
370
371
 
@@ -828,7 +829,7 @@ plain functions in `src/`, as in §3.4.
828
829
  - which accounts it needs (Gmail, Linear, Slack…) and anything the account must contain
829
830
  (a Linear team, a Google Sheet with certain columns…);
830
831
  - what a good result looks like, so we can judge it.
831
- 4. We run it, review it and list it on `https://agents.dev.gravity.fast/app`, where users run it on their
832
+ 4. We run it, review it and list it on Gravity (`https://gravity.fast`), where users run it on their
832
833
  own accounts. There is no submit command; the review happens on our side.
833
834
  5. **Never include keys, tokens or passwords** anywhere in the files. The agent doesn't need any.
834
835
 
@@ -4,6 +4,15 @@ Shown by `gravity update` and `gravity changelog`, and after an update. Each rel
4
4
  then one bullet per change: `- new|improved|fixed: A one-line headline. The detail behind it.`
5
5
  Write it for a builder, not for a maintainer. `tests/test_changelog.py` fails a release that has no entry.
6
6
 
7
+ ## 0.13.0 - 2026-11-02
8
+
9
+ - new: The CLI talks to Gravity's platform at `https://agents.nonprod.gravity.fast` by default: `gravity push` puts your agent where Gravity reviews it and lists it for users, and `gravity agents`, `runs` and `logs` read from there. After updating, run `gravity login` once so `gravity run` gets a gateway token for it. Agents you pushed before stay on the development platform; push them again to list them. To keep working against another environment, `gravity --api-url <url>` (remembered) or `GRAVITY_API_URL` still win.
10
+ - fixed: `gravity agents` showed a traceback when one of your agents has no version yet; its row is blank instead.
11
+
12
+ ## 0.12.3 - 2026-11-01
13
+
14
+ - improved: The README covers `gravity memory`, `gravity check` and `gravity capabilities`, how a consumer sets up a v2 agent, and the releases since 0.9.0; gravity-schema's PyPI page shows how to draw a v2 setup screen (`setup_plan`, `apply_group_change`, `place_maker`).
15
+
7
16
  ## 0.12.2 - 2026-11-01
8
17
 
9
18
  - fixed: A v2 agent's message to Microsoft Teams shows formatted (headings, lists, tables), not as raw markdown: Teams' `message.send` posts the rendered document as HTML.
@@ -25,7 +25,7 @@ ENV_FILE = CONFIG_DIR / ".env"
25
25
 
26
26
  load_dotenv(ENV_FILE) # no-op if the file doesn't exist yet
27
27
 
28
- DEFAULT_API_URL = "https://agents.dev.gravity.fast"
28
+ DEFAULT_API_URL = "https://agents.nonprod.gravity.fast"
29
29
 
30
30
 
31
31
  def _write(path: Path, text: str) -> None:
@@ -66,7 +66,7 @@ def api_url_shadowed() -> str | None:
66
66
 
67
67
  def set_api_url(url: str) -> None:
68
68
  if not url.startswith(("http://", "https://")):
69
- raise Problem("--api-url must start with http:// or https://", f"Got {url!r}.", "Example: gravity --api-url https://agents.dev.gravity.fast whoami")
69
+ raise Problem("--api-url must start with http:// or https://", f"Got {url!r}.", "Example: gravity --api-url https://agents.nonprod.gravity.fast whoami")
70
70
  url = url.rstrip("/")
71
71
  _write(CONFIG_FILE, json.dumps(_read_config() | {"api_url": url}, indent=2))
72
72
  os.environ["GRAVITY_API_URL"] = url # the flag wins this invocation even when .env or the shell set another
@@ -95,7 +95,7 @@ a schedule or a webhook ---> the control plane starts a run; the g
95
95
 
96
96
  | Part | What it does |
97
97
  |---|---|
98
- | Control plane | Accounts, agents and versions, threads and runs, approvals, schedules, webhooks, review. `gravity login/push/agents/runs/logs` talk to it. Default address `https://agents.dev.gravity.fast`. |
98
+ | Control plane | Accounts, agents and versions, threads and runs, approvals, schedules, webhooks, review. `gravity login/push/agents/runs/logs` talk to it. Default address `https://agents.nonprod.gravity.fast`. |
99
99
  | Gateway | The only way out. Serves tools over MCP (streamable HTTP) and models over an OpenAI-compatible API. Checks every call against the run's declared tools, holds calls that need approval, meters model and tool spend against the run's budget, and keeps memory. A tool runs on **Gravity's own account** where Gravity covers it (section 6), else on the **caller's own connected account**. |
100
100
  | Runtime | Your image, one session per conversation thread, ARM64 Linux, Python 3.12. It loads your entrypoint, runs the graph, streams step events, and returns `result`. |
101
101
  | Run token | `GRAVITY_RUN_TOKEN`: scoped to the tools this run may call (plus an approval list and a budget). The agent only ever sees this token. |
@@ -548,7 +548,7 @@ the platform a tool runs either on **Gravity's own account** (the person connect
548
548
  against the run's budget) or on **the person's own connected account**. The set on Gravity's account changes: on
549
549
  2026-10-25 it was `apollo.enrich_person`, `browser.*`, `byteforms.*`, `exa.*`, `firecrawl.*`, `hunter.*`,
550
550
  `scrapecreators.*`, `supadata.get_transcript`, `web.fetch_proxied` and `web.render`, and the live list (what
551
- `gravity tools` reads, `https://gateway.dev.gravity.fast/tools`) carries a `gravity_account` flag on each tool. A
551
+ `gravity tools` reads, `https://gateway.nonprod.gravity.fast/tools`) carries a `gravity_account` flag on each tool. A
552
552
  missing connection answers `NEEDS_RECONNECT` as text, so route every result through `payload`. The pages do not ask
553
553
  a person to connect an app Gravity covers.
554
554
 
@@ -197,6 +197,12 @@ def message(symbol: str, style: str, title: str, when: str, words: str, fix: str
197
197
  say(Padding(body, (0, 0, 1, 4)))
198
198
 
199
199
 
200
+ def _cell(cell) -> Text:
201
+ """A (text, style) tuple or a bare value; a missing value (None, as an agent with no version yet) is blank."""
202
+ text, style = (cell[0], cell[1:]) if isinstance(cell, tuple) else (cell, ())
203
+ return Text("" if text is None else str(text), *style)
204
+
205
+
200
206
  def table(headers: list[str], rows: list[list], footer: str = "") -> None:
201
207
  """A borderless table. A row with one cell is a group heading; a (text, style) cell is coloured.
202
208
  The first column is the key (an id, a name) and is never cut; the other columns give way first."""
@@ -208,7 +214,7 @@ def table(headers: list[str], rows: list[list], footer: str = "") -> None:
208
214
  if len(row) == 1:
209
215
  grid.add_row(Text(f"\n{row[0]}", style="bold"))
210
216
  else:
211
- grid.add_row(*(Text(*cell) if isinstance(cell, tuple) else Text("" if cell is None else str(cell)) for cell in row))
217
+ grid.add_row(*(_cell(cell) for cell in row))
212
218
  if any(headers):
213
219
  say()
214
220
  say(Padding(grid, (0, 0, 0, 2)))
@@ -162,14 +162,14 @@ def test_an_unreachable_host_says_a_stale_env_line_is_hiding_the_saved_address(d
162
162
 
163
163
  env_file = tmp_path / ".env"
164
164
  env_file.write_text("GRAVITY_API_URL=http://localhost:3010\n")
165
- (tmp_path / "config.json").write_text('{"api_url": "https://agents.dev.gravity.fast"}')
165
+ (tmp_path / "config.json").write_text('{"api_url": "https://agents.nonprod.gravity.fast"}')
166
166
  monkeypatch.setattr(config, "ENV_FILE", env_file)
167
167
  monkeypatch.setattr(config, "CONFIG_FILE", tmp_path / "config.json")
168
168
  monkeypatch.setenv("GRAVITY_API_URL", "http://localhost:3010")
169
169
  _serve(monkeypatch, refuse)
170
170
  with pytest.raises(typer.Exit) as e:
171
171
  api.get("/api/cli/agents")
172
- assert "GRAVITY_API_URL in ~/.gravity/.env, which overrides https://agents.dev.gravity.fast saved in config.json" in e.value.fix
172
+ assert "GRAVITY_API_URL in ~/.gravity/.env, which overrides https://agents.nonprod.gravity.fast saved in config.json" in e.value.fix
173
173
 
174
174
 
175
175
  def test_the_address_source_is_named_for_each_place_it_can_come_from(monkeypatch, tmp_path):
@@ -70,6 +70,15 @@ def test_nothing_yet_says_so(control_plane, capsys):
70
70
  assert "No agents yet" in out and "gravity push" in out and "No runs yet for blog-scout" in out
71
71
 
72
72
 
73
+ def test_an_agent_with_no_version_yet_draws_a_blank_row(control_plane, capsys):
74
+ # nonprod, 2 Nov 2026: an agent whose versions are gone answers version/status/review as null; Text(None) crashed
75
+ control_plane["/api/cli/agents"] = [AGENTS[0], {"name": "acc-empty", "version": None, "status": None,
76
+ "review_status": None, "updated_at": None, "disabled": False}]
77
+ agents_command()
78
+ out = capsys.readouterr().out
79
+ assert "acc-empty" in out and "2 agents" in out
80
+
81
+
73
82
  def test_logs_never_wraps_a_line(control_plane, monkeypatch):
74
83
  console = pipe(monkeypatch, 40)
75
84
  control_plane[f"/api/cli/runs/{RUN_ID}/logs"] = {"lines": [LOG_LINE]}
@@ -164,7 +164,7 @@ wheels = [
164
164
 
165
165
  [[package]]
166
166
  name = "gravity-cli"
167
- version = "0.12.2"
167
+ version = "0.13.0"
168
168
  source = { editable = "." }
169
169
  dependencies = [
170
170
  { name = "gravity-schema" },
@@ -201,7 +201,7 @@ dev = [
201
201
 
202
202
  [[package]]
203
203
  name = "gravity-schema"
204
- version = "0.12.2"
204
+ version = "0.13.0"
205
205
  source = { editable = "packages/gravity-schema" }
206
206
  dependencies = [
207
207
  { name = "pydantic" },
File without changes
File without changes
File without changes
File without changes
File without changes