From d58de258a0f8f2f3e1400778b07b91d4ff5ee91e Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 2 Apr 2026 22:13:37 +0000 Subject: [PATCH 01/29] feat(types): extract Report types to top-level from WorkflowStep --- .stats.yml | 6 ++-- automation.go | 68 ---------------------------------------------- automation_test.go | 12 -------- 3 files changed, 3 insertions(+), 83 deletions(-) diff --git a/.stats.yml b/.stats.yml index 82c3873..e93723a 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 193 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-dabc0ff98cd7b9d91850b3c0dbada4e487e698333cd0b7257959e4819d9a29d6.yml -openapi_spec_hash: b974bdc6025a26cfa62857bf74ec379b -config_hash: 13514c5eb422e4eb01767e718798de1e +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-3dcdbd68ce4b336149d28d17ab08f211538ed6630112ae4883af2f6680643159.yml +openapi_spec_hash: 7e4333995b65cf32663166801e2444bb +config_hash: 8d7b241284195a8c51f5d670fbbe0ab4 diff --git a/automation.go b/automation.go index 4cf5f52..34c9a08 100644 --- a/automation.go +++ b/automation.go @@ -2496,7 +2496,6 @@ type WorkflowStep struct { Agent WorkflowStepAgent `json:"agent"` // WorkflowPullRequestStep represents a pull request creation step. PullRequest WorkflowStepPullRequest `json:"pullRequest"` - Report WorkflowStepReport `json:"report"` // WorkflowTaskStep represents a task step that executes a command. Task WorkflowStepTask `json:"task"` JSON workflowStepJSON `json:"-"` @@ -2506,7 +2505,6 @@ type WorkflowStep struct { type workflowStepJSON struct { Agent apijson.Field PullRequest apijson.Field - Report apijson.Field Task apijson.Field raw string ExtraFields map[string]apijson.Field @@ -2590,51 +2588,6 @@ func (r workflowStepPullRequestJSON) RawJSON() string { return r.raw } -type WorkflowStepReport struct { - // Report must have at least one output: - // - // ``` - // size(this) >= 1 - // ``` - Outputs []WorkflowStepReportOutput `json:"outputs"` - JSON workflowStepReportJSON `json:"-"` -} - -// workflowStepReportJSON contains the JSON metadata for the struct -// [WorkflowStepReport] -type workflowStepReportJSON struct { - Outputs apijson.Field - raw string - ExtraFields map[string]apijson.Field -} - -func (r *WorkflowStepReport) UnmarshalJSON(data []byte) (err error) { - return apijson.UnmarshalRoot(data, r) -} - -func (r workflowStepReportJSON) RawJSON() string { - return r.raw -} - -type WorkflowStepReportOutput struct { - JSON workflowStepReportOutputJSON `json:"-"` -} - -// workflowStepReportOutputJSON contains the JSON metadata for the struct -// [WorkflowStepReportOutput] -type workflowStepReportOutputJSON struct { - raw string - ExtraFields map[string]apijson.Field -} - -func (r *WorkflowStepReportOutput) UnmarshalJSON(data []byte) (err error) { - return apijson.UnmarshalRoot(data, r) -} - -func (r workflowStepReportOutputJSON) RawJSON() string { - return r.raw -} - // WorkflowTaskStep represents a task step that executes a command. type WorkflowStepTask struct { // Command must be between 1 and 20,000 characters: @@ -2668,7 +2621,6 @@ type WorkflowStepParam struct { Agent param.Field[WorkflowStepAgentParam] `json:"agent"` // WorkflowPullRequestStep represents a pull request creation step. PullRequest param.Field[WorkflowStepPullRequestParam] `json:"pullRequest"` - Report param.Field[WorkflowStepReportParam] `json:"report"` // WorkflowTaskStep represents a task step that executes a command. Task param.Field[WorkflowStepTaskParam] `json:"task"` } @@ -2718,26 +2670,6 @@ func (r WorkflowStepPullRequestParam) MarshalJSON() (data []byte, err error) { return apijson.MarshalRoot(r) } -type WorkflowStepReportParam struct { - // Report must have at least one output: - // - // ``` - // size(this) >= 1 - // ``` - Outputs param.Field[[]WorkflowStepReportOutputParam] `json:"outputs"` -} - -func (r WorkflowStepReportParam) MarshalJSON() (data []byte, err error) { - return apijson.MarshalRoot(r) -} - -type WorkflowStepReportOutputParam struct { -} - -func (r WorkflowStepReportOutputParam) MarshalJSON() (data []byte, err error) { - return apijson.MarshalRoot(r) -} - // WorkflowTaskStep represents a task step that executes a command. type WorkflowStepTaskParam struct { // Command must be between 1 and 20,000 characters: diff --git a/automation_test.go b/automation_test.go index bfb8c99..a059847 100644 --- a/automation_test.go +++ b/automation_test.go @@ -47,9 +47,6 @@ func TestAutomationNewWithOptionalParams(t *testing.T) { Draft: gitpod.F(true), Title: gitpod.F("title"), }), - Report: gitpod.F(gitpod.WorkflowStepReportParam{ - Outputs: gitpod.F([]gitpod.WorkflowStepReportOutputParam{{}}), - }), Task: gitpod.F(gitpod.WorkflowStepTaskParam{ Command: gitpod.F("command"), }), @@ -79,9 +76,6 @@ func TestAutomationNewWithOptionalParams(t *testing.T) { Draft: gitpod.F(true), Title: gitpod.F("title"), }), - Report: gitpod.F(gitpod.WorkflowStepReportParam{ - Outputs: gitpod.F([]gitpod.WorkflowStepReportOutputParam{{}}), - }), Task: gitpod.F(gitpod.WorkflowStepTaskParam{ Command: gitpod.F("command"), }), @@ -183,9 +177,6 @@ func TestAutomationUpdateWithOptionalParams(t *testing.T) { Draft: gitpod.F(true), Title: gitpod.F("title"), }), - Report: gitpod.F(gitpod.WorkflowStepReportParam{ - Outputs: gitpod.F([]gitpod.WorkflowStepReportOutputParam{{}}), - }), Task: gitpod.F(gitpod.WorkflowStepTaskParam{ Command: gitpod.F("command"), }), @@ -216,9 +207,6 @@ func TestAutomationUpdateWithOptionalParams(t *testing.T) { Draft: gitpod.F(true), Title: gitpod.F("title"), }), - Report: gitpod.F(gitpod.WorkflowStepReportParam{ - Outputs: gitpod.F([]gitpod.WorkflowStepReportOutputParam{{}}), - }), Task: gitpod.F(gitpod.WorkflowStepTaskParam{ Command: gitpod.F("command"), }), From a3eca9e4893ced6de3eeff2e1620a2c297de39cb Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 3 Apr 2026 01:11:02 +0000 Subject: [PATCH 02/29] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index e93723a..ab88598 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 193 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-3dcdbd68ce4b336149d28d17ab08f211538ed6630112ae4883af2f6680643159.yml -openapi_spec_hash: 7e4333995b65cf32663166801e2444bb +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-1122bbd6558bb1ce02f8dfc967697900cd32a18ef62481537f4f5a6ad5932260.yml +openapi_spec_hash: e5a3f1cb78e8eac5e0d4ac0bdb2c73a6 config_hash: 8d7b241284195a8c51f5d670fbbe0ab4 From dbad708c76ba4d4d1b3d2ea81533c7f950a932bc Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 3 Apr 2026 23:48:17 +0000 Subject: [PATCH 03/29] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index ab88598..f39bf49 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 193 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-1122bbd6558bb1ce02f8dfc967697900cd32a18ef62481537f4f5a6ad5932260.yml -openapi_spec_hash: e5a3f1cb78e8eac5e0d4ac0bdb2c73a6 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-bb01d257acff1b3c58a570307eff6c618f2eb1c2740a8149736c644341504031.yml +openapi_spec_hash: f1a73aad352f34b1162560eb00ce2abe config_hash: 8d7b241284195a8c51f5d670fbbe0ab4 From 4fb3f4961135fc8ebeb824325a104fa998de43c9 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 6 Apr 2026 10:19:01 +0000 Subject: [PATCH 04/29] codegen metadata --- .stats.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.stats.yml b/.stats.yml index f39bf49..d93c13e 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 193 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-bb01d257acff1b3c58a570307eff6c618f2eb1c2740a8149736c644341504031.yml -openapi_spec_hash: f1a73aad352f34b1162560eb00ce2abe -config_hash: 8d7b241284195a8c51f5d670fbbe0ab4 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-ee5c1f5d47838a4ee7e114173d3b37b65abc3b3714615a0b9f06c16e3bbea076.yml +openapi_spec_hash: 4c08bb9223c4537e9bdc985a7937ad07 +config_hash: 6d27da09c9efc26556069dbefd693a37 From cbddf2eeb571a193cd16a7f8dfcda298589b5ac2 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 7 Apr 2026 20:38:25 +0000 Subject: [PATCH 05/29] codegen metadata --- .stats.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.stats.yml b/.stats.yml index d93c13e..5284245 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 193 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-ee5c1f5d47838a4ee7e114173d3b37b65abc3b3714615a0b9f06c16e3bbea076.yml -openapi_spec_hash: 4c08bb9223c4537e9bdc985a7937ad07 -config_hash: 6d27da09c9efc26556069dbefd693a37 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-7366f3114f6f2fae72e3141480d2b2a67094d37391b5a068210e69ead83045f2.yml +openapi_spec_hash: aa2198d5846e9e12e09c823f64b65dca +config_hash: 843d5f356bfb6295862722a8d71d08e0 From b457425bf6a45beab1ccfbf0c90ceffab6a19081 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 8 Apr 2026 11:53:50 +0000 Subject: [PATCH 06/29] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 5284245..a75e53d 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 193 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-7366f3114f6f2fae72e3141480d2b2a67094d37391b5a068210e69ead83045f2.yml -openapi_spec_hash: aa2198d5846e9e12e09c823f64b65dca +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-35cd7fa73c7adecfbdc71193bb6d59e34a427dae598401575870571ec220cd70.yml +openapi_spec_hash: 65118e845e2ad858c647c58016355820 config_hash: 843d5f356bfb6295862722a8d71d08e0 From c2e999e6bc3a00d55152df12928ceade800560bc Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 8 Apr 2026 16:18:57 +0000 Subject: [PATCH 07/29] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index a75e53d..0e153d5 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 193 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-35cd7fa73c7adecfbdc71193bb6d59e34a427dae598401575870571ec220cd70.yml -openapi_spec_hash: 65118e845e2ad858c647c58016355820 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-9b7fd2030480921db661aeb8eb6c454e8b53accf4bddecc66e740383ab7ad074.yml +openapi_spec_hash: deb597c2dbac0fddcdd136aae19aba44 config_hash: 843d5f356bfb6295862722a8d71d08e0 From 5b02fe5111f66ac18a52efb079dcc0a86d82181a Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 8 Apr 2026 16:21:31 +0000 Subject: [PATCH 08/29] feat(api): remove Terminal field from RunsOn type --- .stats.yml | 4 ++-- environmentautomation_test.go | 6 ++---- environmentautomationservice_test.go | 6 ++---- environmentautomationtask_test.go | 6 ++---- shared/shared.go | 9 +-------- 5 files changed, 9 insertions(+), 22 deletions(-) diff --git a/.stats.yml b/.stats.yml index 0e153d5..4533569 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 193 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-9b7fd2030480921db661aeb8eb6c454e8b53accf4bddecc66e740383ab7ad074.yml -openapi_spec_hash: deb597c2dbac0fddcdd136aae19aba44 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-ffc8cf0ed565636356f70cba5521094ee367d0b30bacb266a70f4ea98889c74c.yml +openapi_spec_hash: bf1abc17445dd410c3c3f8607c5a4937 config_hash: 843d5f356bfb6295862722a8d71d08e0 diff --git a/environmentautomation_test.go b/environmentautomation_test.go index c8ad014..55ecae4 100644 --- a/environmentautomation_test.go +++ b/environmentautomation_test.go @@ -44,8 +44,7 @@ func TestEnvironmentAutomationUpsertWithOptionalParams(t *testing.T) { Environment: gitpod.F([]string{"string"}), Image: gitpod.F("x"), }), - Machine: gitpod.F[any](map[string]interface{}{}), - Terminal: gitpod.F[any](map[string]interface{}{}), + Machine: gitpod.F[any](map[string]interface{}{}), }), TriggeredBy: gitpod.F([]gitpod.AutomationsFileServicesTriggeredBy{gitpod.AutomationsFileServicesTriggeredByPostDevcontainerStart}), }, @@ -61,8 +60,7 @@ func TestEnvironmentAutomationUpsertWithOptionalParams(t *testing.T) { Environment: gitpod.F([]string{"string"}), Image: gitpod.F("x"), }), - Machine: gitpod.F[any](map[string]interface{}{}), - Terminal: gitpod.F[any](map[string]interface{}{}), + Machine: gitpod.F[any](map[string]interface{}{}), }), TriggeredBy: gitpod.F([]gitpod.AutomationsFileTasksTriggeredBy{gitpod.AutomationsFileTasksTriggeredByPostEnvironmentStart}), }, diff --git a/environmentautomationservice_test.go b/environmentautomationservice_test.go index ff0f3d8..e9421b5 100644 --- a/environmentautomationservice_test.go +++ b/environmentautomationservice_test.go @@ -70,8 +70,7 @@ func TestEnvironmentAutomationServiceNewWithOptionalParams(t *testing.T) { Environment: gitpod.F([]string{"string"}), Image: gitpod.F("x"), }), - Machine: gitpod.F[any](map[string]interface{}{}), - Terminal: gitpod.F[any](map[string]interface{}{}), + Machine: gitpod.F[any](map[string]interface{}{}), }), Session: gitpod.F("session"), SpecVersion: gitpod.F("specVersion"), @@ -161,8 +160,7 @@ func TestEnvironmentAutomationServiceUpdateWithOptionalParams(t *testing.T) { Environment: gitpod.F([]string{"string"}), Image: gitpod.F("x"), }), - Machine: gitpod.F[any](map[string]interface{}{}), - Terminal: gitpod.F[any](map[string]interface{}{}), + Machine: gitpod.F[any](map[string]interface{}{}), }), }), Status: gitpod.F(gitpod.EnvironmentAutomationServiceUpdateParamsStatus{ diff --git a/environmentautomationtask_test.go b/environmentautomationtask_test.go index 21a0f71..3d110cc 100644 --- a/environmentautomationtask_test.go +++ b/environmentautomationtask_test.go @@ -65,8 +65,7 @@ func TestEnvironmentAutomationTaskNewWithOptionalParams(t *testing.T) { Environment: gitpod.F([]string{"string"}), Image: gitpod.F("x"), }), - Machine: gitpod.F[any](map[string]interface{}{}), - Terminal: gitpod.F[any](map[string]interface{}{}), + Machine: gitpod.F[any](map[string]interface{}{}), }), }), }) @@ -150,8 +149,7 @@ func TestEnvironmentAutomationTaskUpdateWithOptionalParams(t *testing.T) { Environment: gitpod.F([]string{"string"}), Image: gitpod.F("x"), }), - Machine: gitpod.F[any](map[string]interface{}{}), - Terminal: gitpod.F[any](map[string]interface{}{}), + Machine: gitpod.F[any](map[string]interface{}{}), }), }), }) diff --git a/shared/shared.go b/shared/shared.go index 19afda4..7522185 100644 --- a/shared/shared.go +++ b/shared/shared.go @@ -567,17 +567,13 @@ type RunsOn struct { Docker RunsOnDocker `json:"docker"` // Machine runs the service/task directly on the VM/machine level. Machine interface{} `json:"machine"` - // Terminal runs the service inside a managed PTY terminal in the devcontainer. - // Users can attach to the terminal interactively via the terminal API. - Terminal interface{} `json:"terminal"` - JSON runsOnJSON `json:"-"` + JSON runsOnJSON `json:"-"` } // runsOnJSON contains the JSON metadata for the struct [RunsOn] type runsOnJSON struct { Docker apijson.Field Machine apijson.Field - Terminal apijson.Field raw string ExtraFields map[string]apijson.Field } @@ -616,9 +612,6 @@ type RunsOnParam struct { Docker param.Field[RunsOnDockerParam] `json:"docker"` // Machine runs the service/task directly on the VM/machine level. Machine param.Field[interface{}] `json:"machine"` - // Terminal runs the service inside a managed PTY terminal in the devcontainer. - // Users can attach to the terminal interactively via the terminal API. - Terminal param.Field[interface{}] `json:"terminal"` } func (r RunsOnParam) MarshalJSON() (data []byte, err error) { From eef96f40b77d42d0b0d74d88d5dd96aee10e2936 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 9 Apr 2026 16:18:43 +0000 Subject: [PATCH 09/29] codegen metadata --- .stats.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.stats.yml b/.stats.yml index 4533569..4764b18 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 193 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-ffc8cf0ed565636356f70cba5521094ee367d0b30bacb266a70f4ea98889c74c.yml -openapi_spec_hash: bf1abc17445dd410c3c3f8607c5a4937 -config_hash: 843d5f356bfb6295862722a8d71d08e0 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-b9c344a37f60a4c5459a97503d3a06356209ebc50086ffef43305e85be508183.yml +openapi_spec_hash: 3e2a15c9cc346e05f8e6406acb4d0549 +config_hash: 93d77fe2271e1d5867977aa102e3c944 From 22de80f6d49ad5e38c555cae433aa33239eb2f3d Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 9 Apr 2026 16:57:48 +0000 Subject: [PATCH 10/29] codegen metadata --- .stats.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.stats.yml b/.stats.yml index 4764b18..14a1d63 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 193 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-b9c344a37f60a4c5459a97503d3a06356209ebc50086ffef43305e85be508183.yml -openapi_spec_hash: 3e2a15c9cc346e05f8e6406acb4d0549 -config_hash: 93d77fe2271e1d5867977aa102e3c944 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-5ffe9b518bd3a240d0262f71b53b207da01ef03d7532ce3c906ec42401efec96.yml +openapi_spec_hash: 4abaf13d8709ebb1af302ecab14f74df +config_hash: 459bd8a85f3cca1801bd9d5c3462cee9 From 991b8e37c0fb907861804f73cbef7c57ec4c8b2e Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 9 Apr 2026 17:47:30 +0000 Subject: [PATCH 11/29] codegen metadata --- .stats.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.stats.yml b/.stats.yml index 14a1d63..e293ff0 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 193 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-5ffe9b518bd3a240d0262f71b53b207da01ef03d7532ce3c906ec42401efec96.yml -openapi_spec_hash: 4abaf13d8709ebb1af302ecab14f74df -config_hash: 459bd8a85f3cca1801bd9d5c3462cee9 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-5899adbe0e83d93afad45dbe14d4c83c92ed9a68021602f2b6a567b00471c190.yml +openapi_spec_hash: d851857366f97e4f4e9562bbea1b2219 +config_hash: d73914a733b27d121d59aa43bc7c710e From 9253ba59470869768d5639942e17b429171a972e Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 10 Apr 2026 05:44:15 +0000 Subject: [PATCH 12/29] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index e293ff0..7ff68c5 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 193 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-5899adbe0e83d93afad45dbe14d4c83c92ed9a68021602f2b6a567b00471c190.yml -openapi_spec_hash: d851857366f97e4f4e9562bbea1b2219 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-e6bd64d0391186862b785448f5a2dd781a89415c8edf2d7a365eed6ce7870812.yml +openapi_spec_hash: eab33ae9c929dead86c0c04598c5c71c config_hash: d73914a733b27d121d59aa43bc7c710e From 0cc561f9c1433dd994ba074b012c3149fae28d99 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 10 Apr 2026 08:06:25 +0000 Subject: [PATCH 13/29] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7ff68c5..bb79b8b 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 193 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-e6bd64d0391186862b785448f5a2dd781a89415c8edf2d7a365eed6ce7870812.yml -openapi_spec_hash: eab33ae9c929dead86c0c04598c5c71c +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-c96c88897f8d19fbdbc198611166980daa0448074a92a083b3db2014e670c474.yml +openapi_spec_hash: 4a1f0f6bbd23a8943700da97162255ab config_hash: d73914a733b27d121d59aa43bc7c710e From 9fe19258fc36ca036af7788f5f6a9999734c2563 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 10 Apr 2026 09:39:38 +0000 Subject: [PATCH 14/29] feat(api): add old_path field to environment git changed file model --- .stats.yml | 4 ++-- environment.go | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index bb79b8b..d879ff2 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 193 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-c96c88897f8d19fbdbc198611166980daa0448074a92a083b3db2014e670c474.yml -openapi_spec_hash: 4a1f0f6bbd23a8943700da97162255ab +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-95aec32d54661e6522d78deca8c182908b30bae1db5762b365a3ef338dbaccfa.yml +openapi_spec_hash: cd08bb12843c15e0fe783957866deb83 config_hash: d73914a733b27d121d59aa43bc7c710e diff --git a/environment.go b/environment.go index a870d10..9191316 100644 --- a/environment.go +++ b/environment.go @@ -1628,6 +1628,9 @@ func (r environmentStatusContentGitJSON) RawJSON() string { type EnvironmentStatusContentGitChangedFile struct { // ChangeType is the type of change that happened to the file ChangeType EnvironmentStatusContentGitChangedFilesChangeType `json:"changeType"` + // old_path is the previous path of the file before a rename or copy. Only set when + // change_type is RENAMED or COPIED. + OldPath string `json:"oldPath"` // path is the path of the file Path string `json:"path"` JSON environmentStatusContentGitChangedFileJSON `json:"-"` @@ -1637,6 +1640,7 @@ type EnvironmentStatusContentGitChangedFile struct { // struct [EnvironmentStatusContentGitChangedFile] type environmentStatusContentGitChangedFileJSON struct { ChangeType apijson.Field + OldPath apijson.Field Path apijson.Field raw string ExtraFields map[string]apijson.Field From f8b376ef7d1eebbdf66252e7ec29893d2fc1541f Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 10 Apr 2026 14:58:59 +0000 Subject: [PATCH 15/29] chore(internal): regenerate SDK with no functional changes --- .stats.yml | 4 ++-- aliases.go | 8 ++++---- shared/shared.go | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.stats.yml b/.stats.yml index d879ff2..f0b85f4 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 193 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-95aec32d54661e6522d78deca8c182908b30bae1db5762b365a3ef338dbaccfa.yml -openapi_spec_hash: cd08bb12843c15e0fe783957866deb83 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-803e9a382bb3f4d9b6ef7b1dd12c5541bf93608d3f4c240e99054929130f260b.yml +openapi_spec_hash: e2eae7e0a5a1fc83f3af40662b1ffbd1 config_hash: d73914a733b27d121d59aa43bc7c710e diff --git a/aliases.go b/aliases.go index 8de5747..9dc2f5b 100644 --- a/aliases.go +++ b/aliases.go @@ -21,8 +21,8 @@ type Error = apierror.Error // automation during a prebuild of an environment. This phase does not have user // secrets available. The `before_snapshot` field triggers the automation after all // prebuild tasks complete but before the snapshot is taken. This is used for tasks -// that need to run last during prebuilds, such as IDE warmup. Note: The prebuild -// and before_snapshot triggers can only be used with tasks, not services. +// that need to run last during prebuilds, such as IDE warmup. Note: The +// before_snapshot trigger can only be used with tasks, not services. // // This is an alias to an internal type. type AutomationTrigger = shared.AutomationTrigger @@ -39,8 +39,8 @@ type AutomationTrigger = shared.AutomationTrigger // automation during a prebuild of an environment. This phase does not have user // secrets available. The `before_snapshot` field triggers the automation after all // prebuild tasks complete but before the snapshot is taken. This is used for tasks -// that need to run last during prebuilds, such as IDE warmup. Note: The prebuild -// and before_snapshot triggers can only be used with tasks, not services. +// that need to run last during prebuilds, such as IDE warmup. Note: The +// before_snapshot trigger can only be used with tasks, not services. // // This is an alias to an internal type. type AutomationTriggerParam = shared.AutomationTriggerParam diff --git a/shared/shared.go b/shared/shared.go index 7522185..1d8f4a1 100644 --- a/shared/shared.go +++ b/shared/shared.go @@ -21,8 +21,8 @@ import ( // automation during a prebuild of an environment. This phase does not have user // secrets available. The `before_snapshot` field triggers the automation after all // prebuild tasks complete but before the snapshot is taken. This is used for tasks -// that need to run last during prebuilds, such as IDE warmup. Note: The prebuild -// and before_snapshot triggers can only be used with tasks, not services. +// that need to run last during prebuilds, such as IDE warmup. Note: The +// before_snapshot trigger can only be used with tasks, not services. type AutomationTrigger struct { BeforeSnapshot bool `json:"beforeSnapshot"` Manual bool `json:"manual"` @@ -66,8 +66,8 @@ func (r automationTriggerJSON) RawJSON() string { // automation during a prebuild of an environment. This phase does not have user // secrets available. The `before_snapshot` field triggers the automation after all // prebuild tasks complete but before the snapshot is taken. This is used for tasks -// that need to run last during prebuilds, such as IDE warmup. Note: The prebuild -// and before_snapshot triggers can only be used with tasks, not services. +// that need to run last during prebuilds, such as IDE warmup. Note: The +// before_snapshot trigger can only be used with tasks, not services. type AutomationTriggerParam struct { BeforeSnapshot param.Field[bool] `json:"beforeSnapshot"` Manual param.Field[bool] `json:"manual"` From efe08724860d1d93c1782725f688a588b755be40 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 13 Apr 2026 09:38:34 +0000 Subject: [PATCH 16/29] feat(types): add prebuild value to AutomationsFileServicesTriggeredBy enum --- .stats.yml | 4 ++-- environmentautomation.go | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.stats.yml b/.stats.yml index f0b85f4..71f636c 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 193 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-803e9a382bb3f4d9b6ef7b1dd12c5541bf93608d3f4c240e99054929130f260b.yml -openapi_spec_hash: e2eae7e0a5a1fc83f3af40662b1ffbd1 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-0c7c44116a92283a25ed199143e085b16a97dd804e0199e0058ec8ba61fa82a6.yml +openapi_spec_hash: 52646ebb63427df86c33aca56688b9a7 config_hash: d73914a733b27d121d59aa43bc7c710e diff --git a/environmentautomation.go b/environmentautomation.go index b4523b7..726bcdb 100644 --- a/environmentautomation.go +++ b/environmentautomation.go @@ -153,11 +153,12 @@ const ( AutomationsFileServicesTriggeredByManual AutomationsFileServicesTriggeredBy = "manual" AutomationsFileServicesTriggeredByPostEnvironmentStart AutomationsFileServicesTriggeredBy = "postEnvironmentStart" AutomationsFileServicesTriggeredByPostDevcontainerStart AutomationsFileServicesTriggeredBy = "postDevcontainerStart" + AutomationsFileServicesTriggeredByPrebuild AutomationsFileServicesTriggeredBy = "prebuild" ) func (r AutomationsFileServicesTriggeredBy) IsKnown() bool { switch r { - case AutomationsFileServicesTriggeredByManual, AutomationsFileServicesTriggeredByPostEnvironmentStart, AutomationsFileServicesTriggeredByPostDevcontainerStart: + case AutomationsFileServicesTriggeredByManual, AutomationsFileServicesTriggeredByPostEnvironmentStart, AutomationsFileServicesTriggeredByPostDevcontainerStart, AutomationsFileServicesTriggeredByPrebuild: return true } return false From 0f5307818bb3b5022a5b112e0df58297f487b99e Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 13 Apr 2026 12:37:18 +0000 Subject: [PATCH 17/29] codegen metadata --- .stats.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.stats.yml b/.stats.yml index 71f636c..c99a655 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 193 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-0c7c44116a92283a25ed199143e085b16a97dd804e0199e0058ec8ba61fa82a6.yml -openapi_spec_hash: 52646ebb63427df86c33aca56688b9a7 -config_hash: d73914a733b27d121d59aa43bc7c710e +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-eb884d2b7e612a947d702820ae4cb60dbb9fa1b4127982ae8df8bc31cfe2222e.yml +openapi_spec_hash: 9a49114388edad25943a8660407db780 +config_hash: 25c7c72de891ed240ee62c4fb9a99756 From 52434f838a5de801216ef773a2f94f57948cf839 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 14 Apr 2026 05:20:43 +0000 Subject: [PATCH 18/29] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index c99a655..9cc0d2e 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 193 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-eb884d2b7e612a947d702820ae4cb60dbb9fa1b4127982ae8df8bc31cfe2222e.yml -openapi_spec_hash: 9a49114388edad25943a8660407db780 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-c148bac55f33b187604bab867c9b75124734cc8e4e72d4087e5a8e9b7472adff.yml +openapi_spec_hash: b98efd1fad1247c31ca39e482a151040 config_hash: 25c7c72de891ed240ee62c4fb9a99756 From 71d164aa1e7e29b16ee8531437e1e9969933aa08 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 14 Apr 2026 10:42:57 +0000 Subject: [PATCH 19/29] feat(api): add integration_id, update webhook_id in pull request trigger --- .stats.yml | 4 ++-- automation.go | 17 +++++++++++++---- automation_test.go | 10 ++++++---- 3 files changed, 21 insertions(+), 10 deletions(-) diff --git a/.stats.yml b/.stats.yml index 9cc0d2e..96f9664 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 193 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-c148bac55f33b187604bab867c9b75124734cc8e4e72d4087e5a8e9b7472adff.yml -openapi_spec_hash: b98efd1fad1247c31ca39e482a151040 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-5f25564854b84c1757f66d81caaa50f47db40dc697d4cc91877c2f4e59fa16aa.yml +openapi_spec_hash: 132db01aff2713a9a0a4d9e858ec1bba config_hash: 25c7c72de891ed240ee62c4fb9a99756 diff --git a/automation.go b/automation.go index 34c9a08..718e899 100644 --- a/automation.go +++ b/automation.go @@ -2749,6 +2749,10 @@ func (r workflowTriggerJSON) RawJSON() string { // for PRs in repositories matching the trigger context. type WorkflowTriggerPullRequest struct { Events []WorkflowTriggerPullRequestEvent `json:"events"` + // integration_id is the optional ID of an integration that acts as the source of + // webhook events. When set, the trigger will be activated when the webhook + // receives events. + IntegrationID string `json:"integrationId" api:"nullable" format:"uuid"` // webhook_id is the optional ID of a webhook that this trigger is bound to. When // set, the trigger will be activated when the webhook receives events. This allows // multiple workflows to share a single webhook endpoint. @@ -2759,10 +2763,11 @@ type WorkflowTriggerPullRequest struct { // workflowTriggerPullRequestJSON contains the JSON metadata for the struct // [WorkflowTriggerPullRequest] type workflowTriggerPullRequestJSON struct { - Events apijson.Field - WebhookID apijson.Field - raw string - ExtraFields map[string]apijson.Field + Events apijson.Field + IntegrationID apijson.Field + WebhookID apijson.Field + raw string + ExtraFields map[string]apijson.Field } func (r *WorkflowTriggerPullRequest) UnmarshalJSON(data []byte) (err error) { @@ -2872,6 +2877,10 @@ func (r WorkflowTriggerParam) MarshalJSON() (data []byte, err error) { // for PRs in repositories matching the trigger context. type WorkflowTriggerPullRequestParam struct { Events param.Field[[]WorkflowTriggerPullRequestEvent] `json:"events"` + // integration_id is the optional ID of an integration that acts as the source of + // webhook events. When set, the trigger will be activated when the webhook + // receives events. + IntegrationID param.Field[string] `json:"integrationId" format:"uuid"` // webhook_id is the optional ID of a webhook that this trigger is bound to. When // set, the trigger will be activated when the webhook receives events. This allows // multiple workflows to share a single webhook endpoint. diff --git a/automation_test.go b/automation_test.go index a059847..6e6a243 100644 --- a/automation_test.go +++ b/automation_test.go @@ -103,8 +103,9 @@ func TestAutomationNewWithOptionalParams(t *testing.T) { }), Manual: gitpod.F[any](map[string]interface{}{}), PullRequest: gitpod.F(gitpod.WorkflowTriggerPullRequestParam{ - Events: gitpod.F([]gitpod.WorkflowTriggerPullRequestEvent{gitpod.WorkflowTriggerPullRequestEventPullRequestEventUnspecified}), - WebhookID: gitpod.F("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"), + Events: gitpod.F([]gitpod.WorkflowTriggerPullRequestEvent{gitpod.WorkflowTriggerPullRequestEventPullRequestEventUnspecified}), + IntegrationID: gitpod.F("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"), + WebhookID: gitpod.F("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"), }), Time: gitpod.F(gitpod.WorkflowTriggerTimeParam{ CronExpression: gitpod.F("cronExpression"), @@ -234,8 +235,9 @@ func TestAutomationUpdateWithOptionalParams(t *testing.T) { }), Manual: gitpod.F[any](map[string]interface{}{}), PullRequest: gitpod.F(gitpod.WorkflowTriggerPullRequestParam{ - Events: gitpod.F([]gitpod.WorkflowTriggerPullRequestEvent{gitpod.WorkflowTriggerPullRequestEventPullRequestEventUnspecified}), - WebhookID: gitpod.F("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"), + Events: gitpod.F([]gitpod.WorkflowTriggerPullRequestEvent{gitpod.WorkflowTriggerPullRequestEventPullRequestEventUnspecified}), + IntegrationID: gitpod.F("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"), + WebhookID: gitpod.F("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"), }), Time: gitpod.F(gitpod.WorkflowTriggerTimeParam{ CronExpression: gitpod.F("cronExpression"), From 105a24cf646c14ac6acba7998e9608d730fd8700 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 15 Apr 2026 07:01:37 +0000 Subject: [PATCH 20/29] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 96f9664..4ed0bd1 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 193 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-5f25564854b84c1757f66d81caaa50f47db40dc697d4cc91877c2f4e59fa16aa.yml -openapi_spec_hash: 132db01aff2713a9a0a4d9e858ec1bba +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-baa75e208ad1eecd8764ebbf015adb7b94e929910b0f4d5520710ec7b3555a5e.yml +openapi_spec_hash: 01b460f045b05da799c85a5813321605 config_hash: 25c7c72de891ed240ee62c4fb9a99756 From 8294acc0eed974e58d98e9cc7038fb46cf20504a Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 15 Apr 2026 07:49:15 +0000 Subject: [PATCH 21/29] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 4ed0bd1..3043de4 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 193 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-baa75e208ad1eecd8764ebbf015adb7b94e929910b0f4d5520710ec7b3555a5e.yml -openapi_spec_hash: 01b460f045b05da799c85a5813321605 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-6ec0a3dc7648f06e6ab5f66e8b441dae208e3664646194942afab30c2838d754.yml +openapi_spec_hash: 666f25bc2bafe875f1816feb0efab84f config_hash: 25c7c72de891ed240ee62c4fb9a99756 From 6e99a7235cadfe6f265f8b5daac80574d75483a6 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 15 Apr 2026 18:32:30 +0000 Subject: [PATCH 22/29] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 3043de4..1d52292 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 193 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-6ec0a3dc7648f06e6ab5f66e8b441dae208e3664646194942afab30c2838d754.yml -openapi_spec_hash: 666f25bc2bafe875f1816feb0efab84f +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-f570506d82942fdb3a9f4b7a5d132ed844382dd75805f29dfeeeaf5204053301.yml +openapi_spec_hash: cd8bd23d7ff803f061fce04b772d9466 config_hash: 25c7c72de891ed240ee62c4fb9a99756 From 6e3178eff7946662bdd2aede907d7d86b4d003f1 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 16 Apr 2026 07:13:20 +0000 Subject: [PATCH 23/29] feat(api): add port_authentication capability to RunnerCapability --- .stats.yml | 4 ++-- runner.go | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.stats.yml b/.stats.yml index 1d52292..2b98967 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 193 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-f570506d82942fdb3a9f4b7a5d132ed844382dd75805f29dfeeeaf5204053301.yml -openapi_spec_hash: cd8bd23d7ff803f061fce04b772d9466 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-f3b2ada71e17af494850c3c8b1b00cf5c6625b26f19f22d289ba37173f3019f5.yml +openapi_spec_hash: efd6b17f7ccf946e8888236ea24111d2 config_hash: 25c7c72de891ed240ee62c4fb9a99756 diff --git a/runner.go b/runner.go index cef5783..f9b3243 100644 --- a/runner.go +++ b/runner.go @@ -599,11 +599,12 @@ const ( RunnerCapabilityRunnerSideAgent RunnerCapability = "RUNNER_CAPABILITY_RUNNER_SIDE_AGENT" RunnerCapabilityWarmPool RunnerCapability = "RUNNER_CAPABILITY_WARM_POOL" RunnerCapabilityAsgWarmPool RunnerCapability = "RUNNER_CAPABILITY_ASG_WARM_POOL" + RunnerCapabilityPortAuthentication RunnerCapability = "RUNNER_CAPABILITY_PORT_AUTHENTICATION" ) func (r RunnerCapability) IsKnown() bool { switch r { - case RunnerCapabilityUnspecified, RunnerCapabilityFetchLocalScmIntegrations, RunnerCapabilitySecretContainerRegistry, RunnerCapabilityAgentExecution, RunnerCapabilityAllowEnvTokenPopulation, RunnerCapabilityDefaultDevContainerImage, RunnerCapabilityEnvironmentSnapshot, RunnerCapabilityPrebuildsBeforeSnapshotTrigger, RunnerCapabilityListScmOrganizations, RunnerCapabilityCheckRepositoryAccess, RunnerCapabilityRunnerSideAgent, RunnerCapabilityWarmPool, RunnerCapabilityAsgWarmPool: + case RunnerCapabilityUnspecified, RunnerCapabilityFetchLocalScmIntegrations, RunnerCapabilitySecretContainerRegistry, RunnerCapabilityAgentExecution, RunnerCapabilityAllowEnvTokenPopulation, RunnerCapabilityDefaultDevContainerImage, RunnerCapabilityEnvironmentSnapshot, RunnerCapabilityPrebuildsBeforeSnapshotTrigger, RunnerCapabilityListScmOrganizations, RunnerCapabilityCheckRepositoryAccess, RunnerCapabilityRunnerSideAgent, RunnerCapabilityWarmPool, RunnerCapabilityAsgWarmPool, RunnerCapabilityPortAuthentication: return true } return false From c818de467b8fc8fa8bfb6a60c81dcd2c0312376f Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 16 Apr 2026 09:39:44 +0000 Subject: [PATCH 24/29] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 2b98967..8ba6610 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 193 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-f3b2ada71e17af494850c3c8b1b00cf5c6625b26f19f22d289ba37173f3019f5.yml -openapi_spec_hash: efd6b17f7ccf946e8888236ea24111d2 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-aaa301821ff7b0f6e0a55a197a2cc86f27b8117cc5011fef261eccde7fd64928.yml +openapi_spec_hash: ed6ad2ad221e8abfef79ac7f3f2667c3 config_hash: 25c7c72de891ed240ee62c4fb9a99756 From 26ebe8500711600796b3b4cd51aa5d8e8f4c8862 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 16 Apr 2026 18:34:39 +0000 Subject: [PATCH 25/29] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 8ba6610..3684387 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 193 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-aaa301821ff7b0f6e0a55a197a2cc86f27b8117cc5011fef261eccde7fd64928.yml -openapi_spec_hash: ed6ad2ad221e8abfef79ac7f3f2667c3 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-83988f0b809f1fac483b4a3600397960b51b588aad5bc2483ec1234b72e4cff7.yml +openapi_spec_hash: 0c46d3bd9c1354e06feed3a85651c406 config_hash: 25c7c72de891ed240ee62c4fb9a99756 From d62f31f9cbcf57cbfa303b660afd13e57652db28 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 16 Apr 2026 22:33:44 +0000 Subject: [PATCH 26/29] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 3684387..d839543 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 193 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-83988f0b809f1fac483b4a3600397960b51b588aad5bc2483ec1234b72e4cff7.yml -openapi_spec_hash: 0c46d3bd9c1354e06feed3a85651c406 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-5136c01edc5507b8b534b7239a1f70e53b1860cbab729a99e33d65a114cb8097.yml +openapi_spec_hash: ca515ab45b8858fbc806f73ce6270702 config_hash: 25c7c72de891ed240ee62c4fb9a99756 From ac58c8578b8564674f5204cadbee1a3ce89e5b94 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 17 Apr 2026 12:30:45 +0000 Subject: [PATCH 27/29] feat(api): add review_requested event to workflow trigger pull request events --- .stats.yml | 4 ++-- automation.go | 17 +++++++++-------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/.stats.yml b/.stats.yml index d839543..983ecb0 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 193 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-5136c01edc5507b8b534b7239a1f70e53b1860cbab729a99e33d65a114cb8097.yml -openapi_spec_hash: ca515ab45b8858fbc806f73ce6270702 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-2cf38267930eaef11e8ba7d229c924d43f3e22d614aa586ad1ddffe65b9b4548.yml +openapi_spec_hash: e2ffe61e23fa87d7f8932b8d7764ee76 config_hash: 25c7c72de891ed240ee62c4fb9a99756 diff --git a/automation.go b/automation.go index 718e899..724bfa7 100644 --- a/automation.go +++ b/automation.go @@ -2782,18 +2782,19 @@ func (r workflowTriggerPullRequestJSON) RawJSON() string { type WorkflowTriggerPullRequestEvent string const ( - WorkflowTriggerPullRequestEventPullRequestEventUnspecified WorkflowTriggerPullRequestEvent = "PULL_REQUEST_EVENT_UNSPECIFIED" - WorkflowTriggerPullRequestEventPullRequestEventOpened WorkflowTriggerPullRequestEvent = "PULL_REQUEST_EVENT_OPENED" - WorkflowTriggerPullRequestEventPullRequestEventUpdated WorkflowTriggerPullRequestEvent = "PULL_REQUEST_EVENT_UPDATED" - WorkflowTriggerPullRequestEventPullRequestEventApproved WorkflowTriggerPullRequestEvent = "PULL_REQUEST_EVENT_APPROVED" - WorkflowTriggerPullRequestEventPullRequestEventMerged WorkflowTriggerPullRequestEvent = "PULL_REQUEST_EVENT_MERGED" - WorkflowTriggerPullRequestEventPullRequestEventClosed WorkflowTriggerPullRequestEvent = "PULL_REQUEST_EVENT_CLOSED" - WorkflowTriggerPullRequestEventPullRequestEventReadyForReview WorkflowTriggerPullRequestEvent = "PULL_REQUEST_EVENT_READY_FOR_REVIEW" + WorkflowTriggerPullRequestEventPullRequestEventUnspecified WorkflowTriggerPullRequestEvent = "PULL_REQUEST_EVENT_UNSPECIFIED" + WorkflowTriggerPullRequestEventPullRequestEventOpened WorkflowTriggerPullRequestEvent = "PULL_REQUEST_EVENT_OPENED" + WorkflowTriggerPullRequestEventPullRequestEventUpdated WorkflowTriggerPullRequestEvent = "PULL_REQUEST_EVENT_UPDATED" + WorkflowTriggerPullRequestEventPullRequestEventApproved WorkflowTriggerPullRequestEvent = "PULL_REQUEST_EVENT_APPROVED" + WorkflowTriggerPullRequestEventPullRequestEventMerged WorkflowTriggerPullRequestEvent = "PULL_REQUEST_EVENT_MERGED" + WorkflowTriggerPullRequestEventPullRequestEventClosed WorkflowTriggerPullRequestEvent = "PULL_REQUEST_EVENT_CLOSED" + WorkflowTriggerPullRequestEventPullRequestEventReadyForReview WorkflowTriggerPullRequestEvent = "PULL_REQUEST_EVENT_READY_FOR_REVIEW" + WorkflowTriggerPullRequestEventPullRequestEventReviewRequested WorkflowTriggerPullRequestEvent = "PULL_REQUEST_EVENT_REVIEW_REQUESTED" ) func (r WorkflowTriggerPullRequestEvent) IsKnown() bool { switch r { - case WorkflowTriggerPullRequestEventPullRequestEventUnspecified, WorkflowTriggerPullRequestEventPullRequestEventOpened, WorkflowTriggerPullRequestEventPullRequestEventUpdated, WorkflowTriggerPullRequestEventPullRequestEventApproved, WorkflowTriggerPullRequestEventPullRequestEventMerged, WorkflowTriggerPullRequestEventPullRequestEventClosed, WorkflowTriggerPullRequestEventPullRequestEventReadyForReview: + case WorkflowTriggerPullRequestEventPullRequestEventUnspecified, WorkflowTriggerPullRequestEventPullRequestEventOpened, WorkflowTriggerPullRequestEventPullRequestEventUpdated, WorkflowTriggerPullRequestEventPullRequestEventApproved, WorkflowTriggerPullRequestEventPullRequestEventMerged, WorkflowTriggerPullRequestEventPullRequestEventClosed, WorkflowTriggerPullRequestEventPullRequestEventReadyForReview, WorkflowTriggerPullRequestEventPullRequestEventReviewRequested: return true } return false From d2a744be9876078da2a967eea5b71e6d10709fca Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 17 Apr 2026 12:32:29 +0000 Subject: [PATCH 28/29] feat(api): add OPUS_4_7 to agent supported models enum --- .stats.yml | 4 ++-- agent.go | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.stats.yml b/.stats.yml index 983ecb0..b0ef81a 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 193 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-2cf38267930eaef11e8ba7d229c924d43f3e22d614aa586ad1ddffe65b9b4548.yml -openapi_spec_hash: e2ffe61e23fa87d7f8932b8d7764ee76 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-0e20f536f7f833dd7205eaadd72826bd527a3ed91fcb006323e3232550abb04e.yml +openapi_spec_hash: 7a96aca1a75735a1664edd091b277940 config_hash: 25c7c72de891ed240ee62c4fb9a99756 diff --git a/agent.go b/agent.go index 255239e..a5866b3 100644 --- a/agent.go +++ b/agent.go @@ -1197,6 +1197,7 @@ const ( AgentExecutionStatusSupportedModelSupportedModelOpus4_5Extended AgentExecutionStatusSupportedModel = "SUPPORTED_MODEL_OPUS_4_5_EXTENDED" AgentExecutionStatusSupportedModelSupportedModelOpus4_6 AgentExecutionStatusSupportedModel = "SUPPORTED_MODEL_OPUS_4_6" AgentExecutionStatusSupportedModelSupportedModelOpus4_6Extended AgentExecutionStatusSupportedModel = "SUPPORTED_MODEL_OPUS_4_6_EXTENDED" + AgentExecutionStatusSupportedModelSupportedModelOpus4_7 AgentExecutionStatusSupportedModel = "SUPPORTED_MODEL_OPUS_4_7" AgentExecutionStatusSupportedModelSupportedModelHaiku4_5 AgentExecutionStatusSupportedModel = "SUPPORTED_MODEL_HAIKU_4_5" AgentExecutionStatusSupportedModelSupportedModelOpenAI4O AgentExecutionStatusSupportedModel = "SUPPORTED_MODEL_OPENAI_4O" AgentExecutionStatusSupportedModelSupportedModelOpenAI4OMini AgentExecutionStatusSupportedModel = "SUPPORTED_MODEL_OPENAI_4O_MINI" @@ -1206,7 +1207,7 @@ const ( func (r AgentExecutionStatusSupportedModel) IsKnown() bool { switch r { - case AgentExecutionStatusSupportedModelSupportedModelUnspecified, AgentExecutionStatusSupportedModelSupportedModelSonnet3_5, AgentExecutionStatusSupportedModelSupportedModelSonnet3_7, AgentExecutionStatusSupportedModelSupportedModelSonnet3_7Extended, AgentExecutionStatusSupportedModelSupportedModelSonnet4, AgentExecutionStatusSupportedModelSupportedModelSonnet4Extended, AgentExecutionStatusSupportedModelSupportedModelSonnet4_5, AgentExecutionStatusSupportedModelSupportedModelSonnet4_5Extended, AgentExecutionStatusSupportedModelSupportedModelSonnet4_6, AgentExecutionStatusSupportedModelSupportedModelSonnet4_6Extended, AgentExecutionStatusSupportedModelSupportedModelOpus4, AgentExecutionStatusSupportedModelSupportedModelOpus4Extended, AgentExecutionStatusSupportedModelSupportedModelOpus4_5, AgentExecutionStatusSupportedModelSupportedModelOpus4_5Extended, AgentExecutionStatusSupportedModelSupportedModelOpus4_6, AgentExecutionStatusSupportedModelSupportedModelOpus4_6Extended, AgentExecutionStatusSupportedModelSupportedModelHaiku4_5, AgentExecutionStatusSupportedModelSupportedModelOpenAI4O, AgentExecutionStatusSupportedModelSupportedModelOpenAI4OMini, AgentExecutionStatusSupportedModelSupportedModelOpenAIO1, AgentExecutionStatusSupportedModelSupportedModelOpenAIO1Mini: + case AgentExecutionStatusSupportedModelSupportedModelUnspecified, AgentExecutionStatusSupportedModelSupportedModelSonnet3_5, AgentExecutionStatusSupportedModelSupportedModelSonnet3_7, AgentExecutionStatusSupportedModelSupportedModelSonnet3_7Extended, AgentExecutionStatusSupportedModelSupportedModelSonnet4, AgentExecutionStatusSupportedModelSupportedModelSonnet4Extended, AgentExecutionStatusSupportedModelSupportedModelSonnet4_5, AgentExecutionStatusSupportedModelSupportedModelSonnet4_5Extended, AgentExecutionStatusSupportedModelSupportedModelSonnet4_6, AgentExecutionStatusSupportedModelSupportedModelSonnet4_6Extended, AgentExecutionStatusSupportedModelSupportedModelOpus4, AgentExecutionStatusSupportedModelSupportedModelOpus4Extended, AgentExecutionStatusSupportedModelSupportedModelOpus4_5, AgentExecutionStatusSupportedModelSupportedModelOpus4_5Extended, AgentExecutionStatusSupportedModelSupportedModelOpus4_6, AgentExecutionStatusSupportedModelSupportedModelOpus4_6Extended, AgentExecutionStatusSupportedModelSupportedModelOpus4_7, AgentExecutionStatusSupportedModelSupportedModelHaiku4_5, AgentExecutionStatusSupportedModelSupportedModelOpenAI4O, AgentExecutionStatusSupportedModelSupportedModelOpenAI4OMini, AgentExecutionStatusSupportedModelSupportedModelOpenAIO1, AgentExecutionStatusSupportedModelSupportedModelOpenAIO1Mini: return true } return false From fbbead68c8e6f0b0f294b49f1a5b1baf9caa143a Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 17 Apr 2026 12:32:56 +0000 Subject: [PATCH 29/29] release: 0.14.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 20 ++++++++++++++++++++ README.md | 2 +- internal/version.go | 2 +- 4 files changed, 23 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index d52d2b9..a26ebfc 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.13.0" + ".": "0.14.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index a4864f2..d46ba0f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,25 @@ # Changelog +## 0.14.0 (2026-04-17) + +Full Changelog: [v0.13.0...v0.14.0](https://github.com/gitpod-io/gitpod-sdk-go/compare/v0.13.0...v0.14.0) + +### Features + +* **api:** add integration_id, update webhook_id in pull request trigger ([71d164a](https://github.com/gitpod-io/gitpod-sdk-go/commit/71d164aa1e7e29b16ee8531437e1e9969933aa08)) +* **api:** add old_path field to environment git changed file model ([9fe1925](https://github.com/gitpod-io/gitpod-sdk-go/commit/9fe19258fc36ca036af7788f5f6a9999734c2563)) +* **api:** add OPUS_4_7 to agent supported models enum ([d2a744b](https://github.com/gitpod-io/gitpod-sdk-go/commit/d2a744be9876078da2a967eea5b71e6d10709fca)) +* **api:** add port_authentication capability to RunnerCapability ([6e3178e](https://github.com/gitpod-io/gitpod-sdk-go/commit/6e3178eff7946662bdd2aede907d7d86b4d003f1)) +* **api:** add review_requested event to workflow trigger pull request events ([ac58c85](https://github.com/gitpod-io/gitpod-sdk-go/commit/ac58c8578b8564674f5204cadbee1a3ce89e5b94)) +* **api:** remove Terminal field from RunsOn type ([5b02fe5](https://github.com/gitpod-io/gitpod-sdk-go/commit/5b02fe5111f66ac18a52efb079dcc0a86d82181a)) +* **types:** add prebuild value to AutomationsFileServicesTriggeredBy enum ([efe0872](https://github.com/gitpod-io/gitpod-sdk-go/commit/efe08724860d1d93c1782725f688a588b755be40)) +* **types:** extract Report types to top-level from WorkflowStep ([d58de25](https://github.com/gitpod-io/gitpod-sdk-go/commit/d58de258a0f8f2f3e1400778b07b91d4ff5ee91e)) + + +### Chores + +* **internal:** regenerate SDK with no functional changes ([f8b376e](https://github.com/gitpod-io/gitpod-sdk-go/commit/f8b376ef7d1eebbdf66252e7ec29893d2fc1541f)) + ## 0.13.0 (2026-04-02) Full Changelog: [v0.12.0...v0.13.0](https://github.com/gitpod-io/gitpod-sdk-go/compare/v0.12.0...v0.13.0) diff --git a/README.md b/README.md index 212b803..8e810cf 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ Or to pin the version: ```sh -go get -u 'github.com/gitpod-io/gitpod-sdk-go@v0.13.0' +go get -u 'github.com/gitpod-io/gitpod-sdk-go@v0.14.0' ``` diff --git a/internal/version.go b/internal/version.go index 871f096..870e575 100644 --- a/internal/version.go +++ b/internal/version.go @@ -2,4 +2,4 @@ package internal -const PackageVersion = "0.13.0" // x-release-please-version +const PackageVersion = "0.14.0" // x-release-please-version