Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
80 changes: 80 additions & 0 deletions .changeset/_generated_schema_50147256.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
---
"@linear/sdk": major
---


feat(schema): [breaking] Field 'agentSessionId' was removed from object type 'AiConversationPromptCodingSessionToolCallArgs' (AiConversationPromptCodingSessionToolCallArgs.agentSessionId)

feat(schema): [dangerous] Enum value 'ReadFile' was added to enum 'AiConversationTool' (AiConversationTool.ReadFile)

feat(schema): [dangerous] Member 'AiConversationReadFileToolCall' was added to Union type 'AiConversationToolCall' (AiConversationToolCall)

feat(schema): [dangerous] Input field 'initiativeLabelId' was added to input object type 'FavoriteCreateInput' (FavoriteCreateInput.initiativeLabelId)

feat(schema): [dangerous] Input field 'workflowDefinitionId' was added to input object type 'IntegrationUpdateInput' (IntegrationUpdateInput.workflowDefinitionId)

feat(schema): [dangerous] Input field 'automaticConversationIntakeTeamId' was added to input object type 'IntercomSettingsInput' (IntercomSettingsInput.automaticConversationIntakeTeamId)

feat(schema): [dangerous] Input field 'enableAutomaticConversationIntake' was added to input object type 'IntercomSettingsInput' (IntercomSettingsInput.enableAutomaticConversationIntake)

feat(schema): [dangerous] Input field 'initiativeLabelId' was added to input object type 'ViewPreferencesCreateInput' (ViewPreferencesCreateInput.initiativeLabelId)

feat(schema): [dangerous] Enum value 'initiativeLabel' was added to enum 'ViewType' (ViewType.initiativeLabel)

feat(schema): [non_breaking] Type 'AiConversationReadFileToolCall' was added (AiConversationReadFileToolCall)

feat(schema): [non_breaking] Type 'AiConversationReadFileToolCallArgs' was added (AiConversationReadFileToolCallArgs)

feat(schema): [non_breaking] Type 'AiConversationReadFileToolCallArgsMode' was added (AiConversationReadFileToolCallArgsMode)

feat(schema): [non_breaking] Type 'InitiativeLeadTeamChangeImpact' was added (InitiativeLeadTeamChangeImpact)

feat(schema): [non_breaking] Type 'InitiativeLeadTeamChangeMode' was added (InitiativeLeadTeamChangeMode)

feat(schema): [non_breaking] Field 'document' was added to object type 'AiConversation' (AiConversation.document)

feat(schema): [non_breaking] Field 'initiativeLabel' was added to object type 'Favorite' (Favorite.initiativeLabel)

feat(schema): [non_breaking] Description 'Metadata about a workflow automation that made changes to an issue. Links the issue history entry back to the workflow definition that triggered the change, and optionally to any AI conversation involved in the automation.' on type 'IssueHistoryWorkflowMetadata' has changed to 'Metadata about a loop that made changes to an issue. Links the issue history entry back to the workflow definition that triggered the change, and optionally to any AI conversation involved in the loop.' (IssueHistoryWorkflowMetadata)

feat(schema): [non_breaking] Description 'How workspace trusted source access is restricted for agent automations.' on type 'LinearAgentTrustedSourcesMode' has changed to 'How workspace trusted source access is restricted for agent loops.' (LinearAgentTrustedSourcesMode)

feat(schema): [non_breaking] Field 'initiativeLeadTeamUpdate' was added to object type 'Mutation' (Mutation.initiativeLeadTeamUpdate)

feat(schema): [non_breaking] Input field 'OrganizationLinearAgentSettingsInput.trustedSourcesAllowlist' description changed from '[Internal] Trusted-source allowlist for Linear Agent automations.' to '[Internal] Trusted-source allowlist for Linear Agent loops.' (OrganizationLinearAgentSettingsInput.trustedSourcesAllowlist)

feat(schema): [non_breaking] Input field 'OrganizationLinearAgentSettingsInput.trustedSourcesMode' description changed from '[Internal] Whether external trusted sources are disabled or restricted to approved sources for agent automations.' to '[Internal] Whether external trusted sources are disabled or restricted to approved sources for agent loops.' (OrganizationLinearAgentSettingsInput.trustedSourcesMode)

feat(schema): [non_breaking] Input field 'OrganizationLinearAgentTrustedSourcesAllowlistEntryInput.key' description changed from '[Internal] The trusted-source key that Linear Agent automations are allowed to use.' to '[Internal] The trusted-source key that Linear Agent loops are allowed to use.' (OrganizationLinearAgentTrustedSourcesAllowlistEntryInput.key)

feat(schema): [non_breaking] Description '[Internal] A trusted-source entry for the Linear Agent automation allowlist.' on type 'OrganizationLinearAgentTrustedSourcesAllowlistEntryInput' has changed to '[Internal] A trusted-source entry for the Linear Agent loop allowlist.' (OrganizationLinearAgentTrustedSourcesAllowlistEntryInput)

feat(schema): [non_breaking] Input field 'OrganizationSecuritySettingsInput.automationManagementRole' description changed from 'The minimum role required to manage workspace automations.' to 'The minimum role required to manage workspace loops.' (OrganizationSecuritySettingsInput.automationManagementRole)

feat(schema): [non_breaking] Input field 'OrganizationUpdateInput.agentAutomationEnabled' description changed from '[INTERNAL] Whether the workspace has enabled agent automation.' to '[INTERNAL] Whether the workspace has enabled agent loops.' (OrganizationUpdateInput.agentAutomationEnabled)

feat(schema): [non_breaking] Field 'initiativeLeadTeamChangeImpact' was added to object type 'Query' (Query.initiativeLeadTeamChangeImpact)

feat(schema): [non_breaking] Field 'initiativesEnabled' was added to object type 'Team' (Team.initiativesEnabled)

feat(schema): [non_breaking] Input field 'TeamSecuritySettingsInput.automationManagement' description changed from 'The minimum team role required to manage automations in the team.' to 'The minimum team role required to manage loops in the team.' (TeamSecuritySettingsInput.automationManagement)

feat(schema): [non_breaking] Field 'showTeamReviews' was added to object type 'ViewPreferencesValues' (ViewPreferencesValues.showTeamReviews)

feat(schema): [non_breaking] Field 'ViewPreferencesValues.automationFieldLastExecuted' description changed from 'Whether to show the automation last executed field.' to 'Whether to show the loop last executed field.' (ViewPreferencesValues.automationFieldLastExecuted)

feat(schema): [non_breaking] Field 'ViewPreferencesValues.automationFieldStats' description changed from 'Whether to show the automation status field.' to 'Whether to show the loop status field.' (ViewPreferencesValues.automationFieldStats)

feat(schema): [non_breaking] Field 'ViewPreferencesValues.automationFieldTeam' description changed from 'Whether to show the automation team field.' to 'Whether to show the loop team field.' (ViewPreferencesValues.automationFieldTeam)

feat(schema): [non_breaking] Field 'ViewPreferencesValues.automationFieldTrigger' description changed from 'Whether to show the automation trigger field.' to 'Whether to show the loop trigger field.' (ViewPreferencesValues.automationFieldTrigger)

feat(schema): [non_breaking] Field 'ViewPreferencesValues.automationGrouping' description changed from 'The automation grouping.' to 'The loop grouping.' (ViewPreferencesValues.automationGrouping)

feat(schema): [non_breaking] Field 'ViewPreferencesValues.automationOrdering' description changed from 'The automation ordering.' to 'The loop ordering.' (ViewPreferencesValues.automationOrdering)

feat(schema): [non_breaking] Field 'ViewPreferencesValues.automationShowDescendants' description changed from 'Whether to show sub-team automations.' to 'Whether to show sub-team loops.' (ViewPreferencesValues.automationShowDescendants)

feat(schema): [non_breaking] Field 'ViewPreferencesValues.automationStatsPeriod' description changed from 'The automation stats period.' to 'The loop stats period.' (ViewPreferencesValues.automationStatsPeriod)

feat(schema): [non_breaking] Field 'applyToSubTeams' was added to object type 'WorkflowDefinition' (WorkflowDefinition.applyToSubTeams)
91 changes: 63 additions & 28 deletions packages/sdk/src/_generated_documents.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -4279,6 +4279,9 @@ fragment AiConversationToolCallPart on AiConversationToolCallPart {
... on AiConversationQueryViewToolCall {
...AiConversationQueryViewToolCall
}
... on AiConversationReadFileToolCall {
...AiConversationReadFileToolCall
}
... on AiConversationReadSandboxFileToolCall {
...AiConversationReadSandboxFileToolCall
}
Expand Down Expand Up @@ -5412,6 +5415,8 @@ fragment WorkflowDefinition on WorkflowDefinition {
slugId
# Whether the workflow is enabled and will execute when its trigger conditions are met.
enabled
# Whether the workflow should apply to sub teams.
applyToSubTeams
# Whether the workflow should only execute once per entity. When true, the workflow is excluded from matching automations for an entity if it has already been executed for that entity.
runOnce
}
Expand Down Expand Up @@ -6842,6 +6847,17 @@ fragment TriageResponsibilityManualSelection on TriageResponsibilityManualSelect
userIds
}

# Metadata about a loop that made changes to an issue. Links the issue history entry back to the
# workflow definition that triggered the change, and optionally to any AI conversation involved in the
# loop.
fragment IssueHistoryWorkflowMetadata on IssueHistoryWorkflowMetadata {
__typename
# The workflow definition that triggered the issue update.
workflowDefinition {
...WorkflowDefinition
}
}

# Metadata about a part in an AI conversation.
fragment AiConversationPartMetadata on AiConversationPartMetadata {
__typename
Expand Down Expand Up @@ -6874,17 +6890,6 @@ fragment IssueHistoryTriageRuleMetadata on IssueHistoryTriageRuleMetadata {
}
}

# Metadata about a workflow automation that made changes to an issue. Links the issue history entry
# back to the workflow definition that triggered the change, and optionally to any AI conversation
# involved in the automation.
fragment IssueHistoryWorkflowMetadata on IssueHistoryWorkflowMetadata {
__typename
# The workflow definition that triggered the issue update.
workflowDefinition {
...WorkflowDefinition
}
}

# Metadata about an issue's shared access state, including which users the issue is shared with and
# any field restrictions for shared-only viewers.
fragment IssueSharedAccess on IssueSharedAccess {
Expand Down Expand Up @@ -8971,12 +8976,6 @@ fragment ViewPreferencesValues on ViewPreferencesValues {
reviewFieldPreviewLinks
# Selected team IDs to show cycles for in timeline chronology bar.
timelineChronologyShowCycleTeamIds
# The automation grouping.
automationGrouping
# The automation ordering.
automationOrdering
# The automation stats period.
automationStatsPeriod
# The continuous pipeline releases view grouping.
continuousPipelineReleasesViewGrouping
# The custom views ordering.
Expand Down Expand Up @@ -9025,6 +9024,12 @@ fragment ViewPreferencesValues on ViewPreferencesValues {
projectGroupingLabelGroupId
# The label group ID used for project sub-grouping.
projectSubGroupingLabelGroupId
# The loop grouping.
automationGrouping
# The loop ordering.
automationOrdering
# The loop stats period.
automationStatsPeriod
# The ordering mode for groups. Supersedes projectGroupOrdering.
groupOrderingMode
# The ordering of project groups.
Expand Down Expand Up @@ -9081,6 +9086,8 @@ fragment ViewPreferencesValues on ViewPreferencesValues {
showCompletedReviews
# Whether issues in closed columns should be ordered by recency.
closedIssuesOrderedByRecency
# Whether team reviews are shown in the reviews list.
showTeamReviews
# Whether to show archived items.
showArchivedItems
# Whether to show completed issues and projects in the customer page.
Expand Down Expand Up @@ -9123,10 +9130,10 @@ fragment ViewPreferencesValues on ViewPreferencesValues {
showNestedInitiatives
# Whether to show sub-issues.
showSubIssues
# Whether to show sub-team automations.
automationShowDescendants
# Whether to show sub-team issues.
showSubTeamIssues
# Whether to show sub-team loops.
automationShowDescendants
# Whether to show sub-team projects.
showSubTeamProjects
# Whether to show supervised issues.
Expand All @@ -9135,14 +9142,6 @@ fragment ViewPreferencesValues on ViewPreferencesValues {
fieldSla
# Whether to show the Sentry issues field.
fieldSentryIssues
# Whether to show the automation last executed field.
automationFieldLastExecuted
# Whether to show the automation status field.
automationFieldStats
# Whether to show the automation team field.
automationFieldTeam
# Whether to show the automation trigger field.
automationFieldTrigger
# Whether to show the completion field for scheduled pipeline releases.
scheduledPipelineReleaseFieldCompletion
# Whether to show the custom view creation date field.
Expand Down Expand Up @@ -9245,6 +9244,14 @@ fragment ViewPreferencesValues on ViewPreferencesValues {
releasePipelineFieldLatestRelease
# Whether to show the link count field.
fieldLinkCount
# Whether to show the loop last executed field.
automationFieldLastExecuted
# Whether to show the loop status field.
automationFieldStats
# Whether to show the loop team field.
automationFieldTeam
# Whether to show the loop trigger field.
automationFieldTrigger
# Whether to show the member joined date field.
memberFieldJoined
# Whether to show the member status field.
Expand Down Expand Up @@ -10709,6 +10716,10 @@ fragment AiConversationBaseToolCall on AiConversationBaseToolCall {
...AiConversationQueryViewToolCall
}

... on AiConversationReadFileToolCall {
...AiConversationReadFileToolCall
}

... on AiConversationReadSandboxFileToolCall {
...AiConversationReadSandboxFileToolCall
}
Expand Down Expand Up @@ -11243,7 +11254,6 @@ fragment AiConversationPromptCodingSessionToolCall on AiConversationPromptCoding

fragment AiConversationPromptCodingSessionToolCallArgs on AiConversationPromptCodingSessionToolCallArgs {
__typename
agentSessionId
prompt
queued
}
Expand Down Expand Up @@ -11345,6 +11355,31 @@ fragment AiConversationQueryViewToolCallArgsView on AiConversationQueryViewToolC
type
}

fragment AiConversationReadFileToolCall on AiConversationReadFileToolCall {
__typename
# The arguments of the tool call.
rawArgs
# The arguments to the tool call.
args {
...AiConversationReadFileToolCallArgs
}
# The name of the tool that was called.
name
# The result of the tool call.
rawResult
displayInfo {
...AiConversationToolDisplayInfo
}
}

fragment AiConversationReadFileToolCallArgs on AiConversationReadFileToolCallArgs {
__typename
assetUrl
mode
name
query
}

fragment AiConversationReadSandboxFileToolCall on AiConversationReadSandboxFileToolCall {
__typename
# The arguments of the tool call.
Expand Down
Loading