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.
- gravity_cli-0.12.2/README.md → gravity_cli-0.13.0/PKG-INFO +108 -14
- gravity_cli-0.12.2/PKG-INFO → gravity_cli-0.13.0/README.md +91 -31
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/README.md +25 -1
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/pyproject.toml +1 -1
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/pyproject.toml +2 -2
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/BUILDER_GUIDE.md +4 -3
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/CHANGELOG.md +9 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/config.py +2 -2
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/docs/Gravity.agent.md +2 -2
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/ui.py +7 -1
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/tests/test_api.py +2 -2
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/tests/test_runs.py +9 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/uv.lock +2 -2
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/.env.example +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/.github/workflows/ci.yml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/.github/workflows/composio-watch.yml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/.github/workflows/release.yml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/.gitignore +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/AGENT_STANDARD.md +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/AGENT_STANDARD_V2.md +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/LICENSE +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/NOTICE +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/RELEASING.md +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/TEMPLATES.md +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/LICENSE +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/NOTICE +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/__init__.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/__main__.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/built_ins.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/catalog.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/catalog.yaml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/catalog_imported.yaml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/contract.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/cron.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/describe.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/errors.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/export.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/gen_catalog.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/gen_vocabulary.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/instance.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/manifest.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/manifest_v2.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/rules.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/rules_cases.json +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/source_scan.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/specs.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/validation.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/__init__.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/__main__.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/capabilities.yaml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/connectors/airtable.yaml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/connectors/asana.yaml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/connectors/browser_tool.yaml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/connectors/composio_search.yaml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/connectors/dropbox.yaml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/connectors/exa.yaml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/connectors/excel.yaml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/connectors/firecrawl.yaml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/connectors/github.yaml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/connectors/gmail.yaml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/connectors/googlecalendar.yaml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/connectors/googledocs.yaml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/connectors/googledrive.yaml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/connectors/googlesheets.yaml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/connectors/googleslides.yaml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/connectors/googletasks.yaml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/connectors/hackernews.yaml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/connectors/hubspot.yaml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/connectors/instagram.yaml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/connectors/jira.yaml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/connectors/linear.yaml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/connectors/linkedin.yaml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/connectors/microsoft_teams.yaml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/connectors/notion.yaml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/connectors/outlook.yaml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/connectors/perplexityai.yaml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/connectors/pinterest.yaml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/connectors/reddit.yaml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/connectors/slack.yaml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/connectors/tavily.yaml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/connectors/youtube.yaml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/core_shapes.yaml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/generated_shapes.yaml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/policy.yaml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/schemas/airtable.json +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/schemas/asana.json +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/schemas/browser_tool.json +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/schemas/composio_search.json +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/schemas/dropbox.json +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/schemas/exa.json +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/schemas/excel.json +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/schemas/firecrawl.json +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/schemas/github.json +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/schemas/gmail.json +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/schemas/googlecalendar.json +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/schemas/googledocs.json +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/schemas/googledrive.json +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/schemas/googlesheets.json +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/schemas/googleslides.json +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/schemas/googletasks.json +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/schemas/hackernews.json +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/schemas/hubspot.json +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/schemas/instagram.json +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/schemas/jira.json +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/schemas/linear.json +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/schemas/linkedin.json +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/schemas/microsoft_teams.json +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/schemas/notion.json +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/schemas/outlook.json +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/schemas/perplexityai.json +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/schemas/pinterest.json +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/schemas/reddit.json +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/schemas/slack.json +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/schemas/tavily.json +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/schemas/youtube.json +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/schemas.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/shapes.d/ochat.yaml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/shapes.d/ocrm.yaml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/shapes.d/ogh.yaml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/shapes.d/oms.yaml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/shapes.d/oweb.yaml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/shapes.d/owork.yaml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/shapes.d/shared.yaml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/sync.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/verbs.d/ochat.yaml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/verbs.d/ocrm.yaml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/verbs.d/ogh.yaml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/verbs.d/oms.yaml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/verbs.d/oweb.yaml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/verbs.d/owork.yaml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/verbs.d/rchat.yaml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/verbs.d/rfiles.yaml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/verbs.d/rgh.yaml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/verbs.d/rtrack.yaml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/verbs.d/rwork.yaml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/gravity_schema/vocabulary/verbs.yaml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/schema/manifest.schema.json +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/tests/conftest.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/tests/fixtures/demo_manifests.yaml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/tests/test_accounts.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/tests/test_actions_memory.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/tests/test_catalog_parity.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/tests/test_cron.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/tests/test_describe.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/tests/test_errors.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/tests/test_generated_tables.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/tests/test_instance.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/tests/test_json_schema.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/tests/test_kind_outputs.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/tests/test_manifest.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/tests/test_manifest_v2.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/tests/test_place_maker.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/tests/test_rules.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/tests/test_slots.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/tests/test_source_scan.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/tests/test_sync.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/tests/test_validation.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/packages/gravity-schema/tests/test_vocabulary.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/scripts/composio-watch.sh +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/BUILDER_GUIDE_V2.md +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/__init__.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/__main__.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/_runner_script.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/api.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/changelog.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/cli.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/commands/__init__.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/commands/adapt.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/commands/build.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/commands/capabilities.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/commands/changelog.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/commands/check.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/commands/connect.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/commands/dev.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/commands/docs.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/commands/guide.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/commands/help.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/commands/init.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/commands/login.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/commands/memory.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/commands/push.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/commands/run.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/commands/runs.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/commands/schedule.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/commands/tools.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/commands/update.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/commands/validate.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/dev.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/dev_page/index.html +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/docs/Gravity.getting-started.md +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/docs/problem-to-agent.md +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/inputs.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/localrun.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/manifest.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/project.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/chat/.gitignore +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/chat/manifest.yaml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/chat/requirements.txt +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/chat/src/agent.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/deepagent/.gitignore +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/deepagent/manifest.yaml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/deepagent/requirements.txt +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/deepagent/src/agent.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/minimal/.gitignore +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/minimal/manifest.yaml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/minimal/requirements.txt +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/minimal/src/agent.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/structured/.gitignore +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/structured/manifest.yaml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/structured/requirements.txt +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/structured/src/agent.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/structured/src/gateway.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/structured/src/nodes/agent.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/structured/src/prompts.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/structured/src/state.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/v2/chat/.gitignore +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/v2/chat/manifest.yaml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/v2/chat/requirements.txt +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/v2/chat/src/agent.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/v2/chat/tests/test_agent.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/v2/deepagent/.gitignore +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/v2/deepagent/manifest.yaml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/v2/deepagent/requirements.txt +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/v2/deepagent/src/agent.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/v2/deepagent/tests/test_agent.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/v2/minimal/.gitignore +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/v2/minimal/manifest.yaml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/v2/minimal/requirements.txt +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/v2/minimal/src/agent.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/v2/minimal/tests/test_agent.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/v2/structured/.gitignore +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/v2/structured/manifest.yaml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/v2/structured/requirements.txt +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/v2/structured/src/__init__.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/v2/structured/src/agent.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/v2/structured/src/gateway.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/v2/structured/src/nodes/__init__.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/v2/structured/src/nodes/agent.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/v2/structured/src/prompts.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/v2/structured/src/state.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/templates/v2/structured/tests/test_agent.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/timeline.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/updater.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/src/gravity_cli/workspace.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/starter/manifest.yaml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/starter/requirements.txt +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/starter/src/agent.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/starter/src/summary.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/starter/tests/test_summary.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/starter-v2/manifest.yaml +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/starter-v2/requirements.txt +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/starter-v2/src/agent.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/starter-v2/src/summary.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/starter-v2/tests/test_summary.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/tests/conftest.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/tests/test_adapt.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/tests/test_agent_guide.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/tests/test_agents.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/tests/test_build_push.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/tests/test_changelog.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/tests/test_check.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/tests/test_connect.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/tests/test_connect_v2.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/tests/test_dev.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/tests/test_dev_v2.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/tests/test_gateway_token.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/tests/test_inputs_memory.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/tests/test_localrun.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/tests/test_manifest_integration.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/tests/test_run.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/tests/test_run_v2.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/tests/test_schedule.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/tests/test_schedule_v2.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/tests/test_session.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/tests/test_templates.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/tests/test_templates_v2.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/tests/test_timeline.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/tests/test_tools.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/tests/test_ui.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/tests/test_updater.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/tests/test_v2_cli.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/tests/test_validate.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/tests/test_validate_v2.py +0 -0
- {gravity_cli-0.12.2 → gravity_cli-0.13.0}/tests/test_welcome.py +0 -0
- {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
|
|
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
|
|
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.
|
|
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
|
|
748
|
-
|
|
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
|
-
|
|
841
|
-
|
|
842
|
-
- **0.
|
|
843
|
-
- **0.
|
|
844
|
-
- **0.
|
|
845
|
-
- **0.
|
|
846
|
-
- **0.
|
|
847
|
-
- **0.
|
|
848
|
-
- **0.
|
|
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
|
|
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
|
|
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.
|
|
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
|
|
765
|
-
|
|
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
|
-
|
|
858
|
-
|
|
859
|
-
- **0.
|
|
860
|
-
- **0.
|
|
861
|
-
- **0.
|
|
862
|
-
- **0.
|
|
863
|
-
- **0.
|
|
864
|
-
- **0.
|
|
865
|
-
- **0.
|
|
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
|
-
`
|
|
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,13 +1,13 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "gravity-cli"
|
|
3
|
-
version = "0.
|
|
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.
|
|
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
|
|
367
|
-
`gmail.send`. Gravity sends it, not
|
|
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://
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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(*(
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|