Skip to content

feat: add profiles.check (spec 1.26.0) - #82

Merged
voidlyx merged 1 commit into
mainfrom
feat/spec-1.26.0
Oct 5, 2026
Merged

voidlyx merged 1 commit into
mainfrom
feat/spec-1.26.0

Conversation

@voidlyx

@voidlyx voidlyx commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

Adopts spec 1.26.0. Additive and non-breaking (check-types clean, tests pass).

  • client.profiles.check({ profile: { text }, credentials? }) wraps the new POST /v1/simc/profiles/check: it checks profile text against the rules jobs.create applies, without creating a job or using credits. A pass resolves with the input warnings and warningsCount; a rejection throws the same InvalidProfileError / TooManyVariantsError a submission would. Adds the Profiles resource and ProfileCheckParams / ProfileCheckResponse. Sends no idempotency key, since a repeat check has no side effects.
  • InvalidProfileError.meta.blocked[] entries gain directive and message.
  • Re-vendor (additive): the create response gains warningsCount (warnings now lists the first 16), and the profile and request body limits rise to 5 MB and 6 MB. These flow through the generated types; the README size note is updated to match.

DESIGN.md updated to revision 2.16. Releases as 0.16.0.

@voidlyx
voidlyx merged commit a7a0b0d into main Oct 5, 2026
3 checks passed
@voidlyx
voidlyx deleted the feat/spec-1.26.0 branch October 5, 2026 16:25
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.

1 participant