Skip to content

chore: version packages - #76

Open
gh-workflow-token-generator[bot] wants to merge 1 commit into
mainfrom
changeset-release/main
Open

gh-workflow-token-generator[bot] wants to merge 1 commit into
mainfrom
changeset-release/main

Conversation

@gh-workflow-token-generator

@gh-workflow-token-generator gh-workflow-token-generator Bot commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

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 main, this PR will be updated.

Releases

@team-plain/graphql@4.0.0

Major Changes

  • 3abc931: Regenerate against the current API schema. Adds the Account queries and mutations plus every other operation shipped since the last codegen. No method is removed, but one field is gone from the generated result types, which is why this is a major.

    field TypeScript JavaScript replacement
    FirstResponseTimeServiceLevelAgreement.useBusinessHoursOnly TS2339 at build undefined businessHoursSchedules
    NextResponseTimeServiceLevelAgreement.useBusinessHoursOnly TS2339 at build undefined businessHoursSchedules

    The API deprecated useBusinessHoursOnly because an SLA can now be tracked against several named business hours schedules rather than a single on/off flag. The bundled documents skip deprecated fields, so it drops out wherever an SLA is returned: query.tier and query.tiers, the tier and SLA create, update and delete mutations, and SLA status transitions in timeline entries and importThreadMessages.

    businessHoursSchedules is not selected by the bundled documents yet. Until it is, read it with your own query through PlainGraphQLClient. An empty list means the SLA is tracked 24/7, the old useBusinessHoursOnly: false:

    import { PlainGraphQLClient } from "@team-plain/graphql";
    import { parse } from "graphql";
    
    const client = new PlainGraphQLClient({ apiKey });
    const data = await client.request(
      parse(`
        query TierSlaSchedules($tierId: ID!) {
          tier(tierId: $tierId) {
            serviceLevelAgreements {
              ... on FirstResponseTimeServiceLevelAgreement { id businessHoursSchedules { id name } }
              ... on NextResponseTimeServiceLevelAgreement { id businessHoursSchedules { id name } }
            }
          }
        }
      `),
      { tierId },
    );

    mutation.createTestThread gains an optional input ({ channel }, defaulting to CHAT on the API). Calling it with no arguments still works: the generator now treats an argument with a schema default as optional instead of required.

Minor Changes

  • 700285e: New method mutation.createThreadFromSlackMessage({ input: { slackChannelId, slackMessageTimestamp } }) creates a thread from a top-level message in a connected customer Slack channel. It triggers the new API_ONLY ingestion mode (SlackIngestionMode) and works in the other modes too. Ingestion is asynchronous: thread is returned only when the message was already ingested; otherwise it is null and the thread arrives later through query.threadBySlackPermalink or the thread.thread_created webhook. Requires thread:create. Replies are rejected.

    Also new in this schema:

    • MachineUser.isAssignableToThreads: false when custom-agent pricing is on and the machine user is neither a custom agent nor Ari
    • SidekickAvailableTool.configurableArgs[].isMultiValued: when true, the builder may pin several values for that arg
    • isWorkflowTask on the discussions filter: when true, only the Sidekick tasks started by an ask_sidekick workflow step
  • 4eae2d5: Support graphql 17. graphql is now ^16.14.2 || ^17.0.2, so projects on either major share their own copy.

  • 1e0fcfc: Generated documents now hold compact query text instead of an inlined AST, and the package is marked side-effect free.

    request() now takes any GraphQLDocument: a generated document, a document from parse(), or query text as a plain string.

Patch Changes

  • b9757b8: Update dependencies: graphql to ^16.14.2, ajv to ^8.20.0 and ajv-formats to ^3.0.1.
  • 818d901: Build the CommonJS output with tsdown instead of tsup. Exports are unchanged.
  • 73bfc55: require() users now get CommonJS type declarations. With moduleResolution: node16 or nodenext, TypeScript used to resolve ESM declarations for the CommonJS build. @team-plain/ui-components and @team-plain/webhooks are now marked side-effect free, so bundlers can drop what you don't use.
  • 1e0fcfc: Sourcemaps now embed their sources, so stack traces and debuggers resolve to the original TypeScript without it being published. Sourcemaps for the generated GraphQL code are not published.

@team-plain/ui-components@14.0.0

Major Changes

  • 2f61447: Requires @team-plain/graphql 4.0.0. The peer dependency moves from 3.2.0 to 4.0.0, so upgrade both packages together.

Patch Changes

  • 818d901: Build the CommonJS output with tsdown instead of tsup. Exports are unchanged.
  • 73bfc55: require() users now get CommonJS type declarations. With moduleResolution: node16 or nodenext, TypeScript used to resolve ESM declarations for the CommonJS build. @team-plain/ui-components and @team-plain/webhooks are now marked side-effect free, so bundlers can drop what you don't use.
  • 1e0fcfc: Sourcemaps now embed their sources, so stack traces and debuggers resolve to the original TypeScript without it being published. Sourcemaps for the generated GraphQL code are not published.
  • Updated dependencies [b9757b8]
  • Updated dependencies [818d901]
  • Updated dependencies [73bfc55]
  • Updated dependencies [700285e]
  • Updated dependencies [4eae2d5]
  • Updated dependencies [3abc931]
  • Updated dependencies [1e0fcfc]
  • Updated dependencies [1e0fcfc]
    • @team-plain/graphql@4.0.0

@team-plain/webhooks@1.10.1

Patch Changes

  • b9757b8: Update dependencies: graphql to ^16.14.2, ajv to ^8.20.0 and ajv-formats to ^3.0.1.
  • 818d901: Build the CommonJS output with tsdown instead of tsup. Exports are unchanged.
  • 73bfc55: require() users now get CommonJS type declarations. With moduleResolution: node16 or nodenext, TypeScript used to resolve ESM declarations for the CommonJS build. @team-plain/ui-components and @team-plain/webhooks are now marked side-effect free, so bundlers can drop what you don't use.
  • 1e0fcfc: Sourcemaps now embed their sources, so stack traces and debuggers resolve to the original TypeScript without it being published. Sourcemaps for the generated GraphQL code are not published.

Note

Medium Risk
Merging publishes a major GraphQL SDK with a breaking removed SLA field and forces coordinated upgrades for ui-components consumers; the diff itself is release metadata only.

Overview
This is a Changesets release PR: it removes the consumed .changeset/* entries and bumps published versions plus changelogs—no application source changes in the diff.

@team-plain/graphql@4.0.0 (major): schema regen adds Account APIs and other new operations; useBusinessHoursOnly is removed from first/next-response SLA result types (use businessHoursSchedules via custom queries until bundled docs select it). Also ships createThreadFromSlackMessage, optional createTestThread input, graphql 16/17 peer range, string-based generated documents and broader request() document types, side-effect-free package, tsdown CJS build, embedded sourcemaps, and dependency bumps.

@team-plain/ui-components@14.0.0 (major): peer dependency now requires @team-plain/graphql@4.0.0—upgrade both together; inherits the shared build/types/sourcemap patches.

@team-plain/webhooks@1.10.1 (patch): same build, CJS types, sourcemaps, and ajv/graphql dependency updates as the other packages.

Reviewed by Cursor Bugbot for commit 10dff74. Bugbot is set up for automated code reviews on this repo. Configure here.

@gh-workflow-token-generator
gh-workflow-token-generator Bot force-pushed the changeset-release/main branch 4 times, most recently from 79e85f4 to d02353f Compare October 3, 2026 10:47

@mpsq mpsq left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

blocked until #86 is merged

@gh-workflow-token-generator
gh-workflow-token-generator Bot force-pushed the changeset-release/main branch 4 times, most recently from f4b1638 to cdc9bf8 Compare October 5, 2026 15:33

@cursor cursor 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.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Want higher recall? High effort reviews run extra passes and find more bugs. A team admin can switch effort levels in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit cdc9bf8. Configure here.

Comment thread packages/ui-components/package.json Outdated
@gh-workflow-token-generator
gh-workflow-token-generator Bot force-pushed the changeset-release/main branch 3 times, most recently from 87b9aa0 to a274d5e Compare October 9, 2026 12:33
@gh-workflow-token-generator
gh-workflow-token-generator Bot force-pushed the changeset-release/main branch 4 times, most recently from 84ced3c to 309a95d Compare October 19, 2026 10:13
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