Seedy Pea

CLI And Config

The seedypea package includes a CLI for creating, compiling, and deploying topology config.

npx seedypea init
npx seedypea compile seedy-pea.toml --out seedy-pea.config.json
SEEDYPEA_TOKEN=sp_live_... npx seedypea deploy seedy-pea.toml

Commands

Command Description
seedypea init [path] Writes a starter config. Defaults to seedy-pea.toml.
seedypea compile [config] --out path Parses TOML, YAML, or JSON and writes canonical JSON.
seedypea deploy [config] Compiles and posts the config to the Seedy Pea API.
seedypea push [config] Alias for deploy.

Deploy Flags

Flag Environment Default
--api SEEDYPEA_API_URL https://api.seedy-pea.com
--token SEEDYPEA_TOKEN required
--env SEEDYPEA_ENV production
--dry-run none prints compiled JSON instead of deploying

File Formats

The compiler accepts .toml, .yaml, .yml, and .json.

tenant: ten_123

identity:
  by:
    - type: email
      rank: 100
      normalize: lowercase_trim
    - type: anonymous_id
      rank: 10

computed:
  traits.page_views:
    on: PageViewed
    expr: (profile.traits.page_views ?? 0) + 1

segments:
  known:
    expr: Boolean(profile.ids.email)

triggers:
  score_high_intent_lead:
    boundary: high_intent
    enter: LeadScoreNeeded
    exit: LeadScoreNoLongerNeeded

See Topology config for the normalized schema.