Skip to content
This repository was archived by the owner on Jun 9, 2026. It is now read-only.

chore: release @goodparty_org/contracts - #1690

Open
gp-sdk-release-bot[bot] wants to merge 1 commit into
masterfrom
changeset-release/master
Open

chore: release @goodparty_org/contracts#1690
gp-sdk-release-bot[bot] wants to merge 1 commit into
masterfrom
changeset-release/master

Conversation

@gp-sdk-release-bot

@gp-sdk-release-bot gp-sdk-release-bot Bot commented May 28, 2026

Copy link
Copy Markdown

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.

Releases

@goodparty_org/contracts@0.14.0

Minor Changes

  • Add top-level primaryResult ('won' | 'lost', nullable) to CampaignSchema
    / ReadCampaignOutput. Persists a candidate's primary-election outcome as a
    proper campaign column instead of the details JSON blob, so the dashboard's
    Election Results selection survives reloads. Readers can access
    campaign.primaryResult directly.

  • Add agent-runs admin read shapes backing the gp-admin agent-runs dashboard:
    AgentRunListItemSchema / AgentRunListItem (a list row with a candidate
    summary derived from compliance_setup params), AgentRunsListQuerySchema /
    AgentRunsListQuery (list filters: experimentType, status, organizationSlug,
    createdAfter, createdBefore, plus pagination), AgentRunSchema / AgentRun
    (the full experiment_run row), and AgentRunDetailSchema / AgentRunDetail
    ({ run, artifact, conversationLog }, where artifact is an opaque
    Record<string, unknown> read from S3 and conversationLog is plain text).
    Also export the ExperimentRunStatus enum (ExperimentRunStatusSchema /
    EXPERIMENT_RUN_STATUS_VALUES).

  • RaceTargetMetricsSchema / RaceTargetMetrics gain three nullable
    filing-office-contact fields, sourced from BallotReady via election-api's
    /races/by-br-hash-id/:hash/filing-fee lookup:

    • filingOfficeAddress — free-text address block (line 1/2, city, state, zip)
      where candidacy paperwork is submitted.
    • filingPhoneNumber — phone for the local election authority.
    • paperworkInstructions — BallotReady's narrative on the local election
      authority a candidate contacts for filing procedures.

    All null when BallotReady has no office data for the race. Powers the
    "filing office" block on the Pro-upgrade filing-instructions screen
    (ENG-10325). Additive and non-breaking — existing consumers are unaffected.

  • Add AWAITING_RESUME to the ExperimentRunStatus enum
    (ExperimentRunStatusSchema / EXPERIMENT_RUN_STATUS_VALUES) and four fields to
    the agent-run read shapes (AgentRunListItemSchema / AgentRunSchema):
    stage, dataQuality, resumeScheduledFor, and resumeAttempts. These back
    the compliance recovery loop (ENG-7554) — a parked run is now reported as
    AWAITING_RESUME rather than COMPLETED, with its resume schedule and attempt
    count surfaced for the gp-admin dashboard.

  • Add speech (Text-to-Speech and Speech-to-Text) module schemas.

    The speech module is a domain-agnostic "pure pipe": TTS in/out is plain text and audio URLs; STT in/out is audio frames and transcripts. Domain rendering and persistence are the caller's responsibility.

    • SynthesizeSpeechRequestSchema / SynthesizeSpeechResponseSchema — TTS request/response for POST /v1/speech/synthesize. Request is { text, options? }.
    • SYNTHESIZE_SPEECH_MAX_TEXT_LENGTH — server-enforced cap on a single synthesis request.
    • SpeechSynthesisVoiceSchema — allowlist of supported Polly neural voices.
    • SpeechSynthesisEngineSchema — Polly engine enum.
    • TranscribeSessionRequestSchema / TranscribeSessionResponseSchema — STT WebSocket session request/response for POST /v1/speech/transcribe/session. Request body is reserved as {} for forward-compatible options.
  • Widen CampaignDetails.isProUpdatedAt from number to string | number.
    New writes from gp-api store an ISO datetime string; legacy unix-ms
    numbers persist in existing rows until backfilled. Readers must handle
    both shapes. The previously-valid number shape is unchanged.

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude Code Review

This repository is configured for manual code reviews. Comment @claude review to trigger a review and subscribe this PR to future pushes, or @claude review once for a one-time review.

Tip: disable this comment in your organization's Code Review settings.

@github-actions

github-actions Bot commented May 28, 2026

Copy link
Copy Markdown
Contributor

Coverage Report

Status Category Percentage Covered / Total
🔴 Lines 64.74% 8261 / 12759
🔴 Statements 55.58% 9953 / 17906
🔴 Functions 52.77% 2023 / 3833
🔴 Branches 46.01% 5355 / 11637
File CoverageNo changed files found.
Generated in workflow #3824 for commit e97e0b5 by the Vitest Coverage Report Action

@github-actions

Copy link
Copy Markdown
Contributor

📊 Overall Test Coverage

59.33% (average of lines, statements, functions, and branches)

@github-actions

Copy link
Copy Markdown
Contributor

Preview Environment

Your preview environment is ready!

Resource URL
API https://pr-1690.preview.goodparty.org
Health Check https://pr-1690.preview.goodparty.org/v1/health

This environment will be automatically destroyed when the PR is closed.

@gp-sdk-release-bot
gp-sdk-release-bot Bot force-pushed the changeset-release/master branch from adc3fa4 to 96b434e Compare May 29, 2026 04:55
@github-actions

Copy link
Copy Markdown
Contributor

📊 Overall Test Coverage

59.85% (average of lines, statements, functions, and branches)

@gp-sdk-release-bot
gp-sdk-release-bot Bot force-pushed the changeset-release/master branch from 96b434e to 0a34070 Compare June 1, 2026 15:20
@github-actions

github-actions Bot commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

📊 Overall Test Coverage

59.68% (average of lines, statements, functions, and branches)

@gp-sdk-release-bot
gp-sdk-release-bot Bot force-pushed the changeset-release/master branch from 0a34070 to 2b72055 Compare June 2, 2026 09:06
@github-actions

github-actions Bot commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

📊 Overall Test Coverage

59.68% (average of lines, statements, functions, and branches)

1 similar comment
@github-actions

github-actions Bot commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

📊 Overall Test Coverage

59.68% (average of lines, statements, functions, and branches)

@github-actions

github-actions Bot commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

@goodparty_org/contracts RC published: 0.0.0-rc-pr-1690.b6642904bdd355258c95b0e081a97c1ffe4ad713

npm install @goodparty_org/contracts@0.0.0-rc-pr-1690.b6642904bdd355258c95b0e081a97c1ffe4ad713

@gp-sdk-release-bot
gp-sdk-release-bot Bot force-pushed the changeset-release/master branch from bec368a to 63fd4f3 Compare June 3, 2026 16:05
@tomer-tgp

Copy link
Copy Markdown
Contributor

@github-actions

github-actions Bot commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

📊 Overall Test Coverage

60.96% (average of lines, statements, functions, and branches)

@gp-sdk-release-bot
gp-sdk-release-bot Bot force-pushed the changeset-release/master branch from 63fd4f3 to 32870b2 Compare June 5, 2026 20:17
@github-actions

github-actions Bot commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

📊 Overall Test Coverage

54.33% (average of lines, statements, functions, and branches)

@gp-sdk-release-bot
gp-sdk-release-bot Bot force-pushed the changeset-release/master branch from 32870b2 to e97e0b5 Compare June 8, 2026 18:41
@tomer-tgp

Copy link
Copy Markdown
Contributor

@github-actions

github-actions Bot commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

📊 Overall Test Coverage

54.78% (average of lines, statements, functions, and branches)

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant