Skip to content

Add app SDK schema and TypeScript contracts - #406

Open
ghzhost-ghpages wants to merge 1 commit into
mergeos-bounties:masterfrom
ghzhost-ghpages:openclaw/plantguide-sdk-contracts
Open

Add app SDK schema and TypeScript contracts#406
ghzhost-ghpages wants to merge 1 commit into
mergeos-bounties:masterfrom
ghzhost-ghpages:openclaw/plantguide-sdk-contracts

Conversation

@ghzhost-ghpages

Copy link
Copy Markdown

Fixes #10.

Summary

  • Add JSON Schema for the existing plantguide.app.care_report.v1 SDK payload.
  • Add TypeScript declarations for care reports, care cards, matches, and license-safe evidence.
  • Document app SDK contract integration in the README.
  • Add tests that compare the schema contract against real Python SDK sample/tag payloads.

Verification

  • python3 -m pytest -q: 52 passed
  • python3 -m pytest -q tests/test_sdk_contracts.py tests/test_app_report.py tests/test_sdk.py: 8 passed
  • python3 -m ruff check tests/test_sdk_contracts.py: passed
  • git diff --check: passed

Note: full ruff check src tests still reports pre-existing lint issues outside this PR scope.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[50 MRG] App SDK: JSON Schema + TypeScript types for identify/care

1 participant