chore: release @goodparty_org/contracts - #1690
Conversation
There was a problem hiding this comment.
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.
Coverage Report
File CoverageNo changed files found. |
📊 Overall Test Coverage59.33% (average of lines, statements, functions, and branches) |
Preview EnvironmentYour preview environment is ready!
|
adc3fa4 to
96b434e
Compare
📊 Overall Test Coverage59.85% (average of lines, statements, functions, and branches) |
96b434e to
0a34070
Compare
📊 Overall Test Coverage59.68% (average of lines, statements, functions, and branches) |
0a34070 to
2b72055
Compare
📊 Overall Test Coverage59.68% (average of lines, statements, functions, and branches) |
1 similar comment
📊 Overall Test Coverage59.68% (average of lines, statements, functions, and branches) |
|
@goodparty_org/contracts RC published: |
bec368a to
63fd4f3
Compare
📊 Overall Test Coverage60.96% (average of lines, statements, functions, and branches) |
63fd4f3 to
32870b2
Compare
📊 Overall Test Coverage54.33% (average of lines, statements, functions, and branches) |
32870b2 to
e97e0b5
Compare
📊 Overall Test Coverage54.78% (average of lines, statements, functions, and branches) |
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) toCampaignSchema/
ReadCampaignOutput. Persists a candidate's primary-election outcome as aproper campaign column instead of the
detailsJSON blob, so the dashboard'sElection Results selection survives reloads. Readers can access
campaign.primaryResultdirectly.Add agent-runs admin read shapes backing the gp-admin agent-runs dashboard:
AgentRunListItemSchema/AgentRunListItem(a list row with a candidatesummary derived from
compliance_setupparams),AgentRunsListQuerySchema/AgentRunsListQuery(list filters: experimentType, status, organizationSlug,createdAfter, createdBefore, plus pagination),
AgentRunSchema/AgentRun(the full
experiment_runrow), andAgentRunDetailSchema/AgentRunDetail(
{ run, artifact, conversationLog }, whereartifactis an opaqueRecord<string, unknown>read from S3 andconversationLogis plain text).Also export the
ExperimentRunStatusenum (ExperimentRunStatusSchema/EXPERIMENT_RUN_STATUS_VALUES).RaceTargetMetricsSchema/RaceTargetMetricsgain three nullablefiling-office-contact fields, sourced from BallotReady via election-api's
/races/by-br-hash-id/:hash/filing-feelookup: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 electionauthority a candidate contacts for filing procedures.
All
nullwhen 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_RESUMEto theExperimentRunStatusenum(
ExperimentRunStatusSchema/EXPERIMENT_RUN_STATUS_VALUES) and four fields tothe agent-run read shapes (
AgentRunListItemSchema/AgentRunSchema):stage,dataQuality,resumeScheduledFor, andresumeAttempts. These backthe compliance recovery loop (ENG-7554) — a parked run is now reported as
AWAITING_RESUMErather thanCOMPLETED, with its resume schedule and attemptcount 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 forPOST /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 forPOST /v1/speech/transcribe/session. Request body is reserved as{}for forward-compatible options.Widen
CampaignDetails.isProUpdatedAtfromnumbertostring | number.New writes from
gp-apistore an ISO datetime string; legacy unix-msnumbers persist in existing rows until backfilled. Readers must handle
both shapes. The previously-valid
numbershape is unchanged.