Skip to content
Merged
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
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: Setup go
uses: actions/setup-go@v5
Expand All @@ -35,7 +35,7 @@ jobs:
runs-on: ${{ github.repository == 'stainless-sdks/kernel-go' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: Setup go
uses: actions/setup-go@v5
Expand Down
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.25.0"
".": "0.26.0"
}
6 changes: 3 additions & 3 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 91
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-4f5307643555b7917e8681b1966ae0b99f770cf59805e2f917ec7528edf11ba8.yml
openapi_spec_hash: 873a9aa3a88b6cec1ad94f848eeb1c45
config_hash: 20337f7888852c165d099faa7589c90a
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-fc2c80b398a8dd511010ae7cda5e21c353e388ee130aa288974b47af4208b5b8.yml
openapi_spec_hash: 5e06586dbbb9fce12b907f4e32497006
config_hash: cc7fdd701d995d4b3456d77041c604cf
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# Changelog

## 0.26.0 (2026-01-17)

Full Changelog: [v0.25.0...v0.26.0](https://github.com/kernel/kernel-go-sdk/compare/v0.25.0...v0.26.0)

### Features

* Auth agents auth check URL ([b7ecbfe](https://github.com/kernel/kernel-go-sdk/commit/b7ecbfe68333179633c445aa1eed551f8b0a11d8))


### Bug Fixes

* **docs:** add missing pointer prefix to api.md return types ([ec3f3d7](https://github.com/kernel/kernel-go-sdk/commit/ec3f3d7baa03b861afb53e3c12b1d32aba02b7e0))
* **stainless:** use @onkernel/sdk package name for TypeScript SDK ([3a4991d](https://github.com/kernel/kernel-go-sdk/commit/3a4991d1ef8e51bc1d3909cd6f4725448f765530))
* use setup-go@v6 (not checkout@v6) ([f1e6ffc](https://github.com/kernel/kernel-go-sdk/commit/f1e6ffc8352c405647fb9d4d07299a465a241bad))


### Chores

* **internal:** update `actions/checkout` version ([5a2a7d4](https://github.com/kernel/kernel-go-sdk/commit/5a2a7d471453081cc84a4fb987c6f43c36bb16ac))

## 0.25.0 (2026-01-16)

Full Changelog: [v0.24.0...v0.25.0](https://github.com/kernel/kernel-go-sdk/compare/v0.24.0...v0.25.0)
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<!-- x-release-please-end -->

The Kernel Go library provides convenient access to the [Kernel REST API](https://www.kernel.sh/docs/api-reference)
The Kernel Go library provides convenient access to the [Kernel REST API](https://kernel.sh/docs)
from applications written in Go.

It is generated with [Stainless](https://www.stainless.com/).
Expand All @@ -28,7 +28,7 @@ Or to pin the version:
<!-- x-release-please-start-version -->

```sh
go get -u 'github.com/kernel/kernel-go-sdk@v0.25.0'
go get -u 'github.com/kernel/kernel-go-sdk@v0.26.0'
```

<!-- x-release-please-end -->
Expand Down
4 changes: 4 additions & 0 deletions agentauth.go
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,9 @@ type AuthAgent struct {
HasSelectors bool `json:"has_selectors"`
// When the last authentication check was performed
LastAuthCheckAt time.Time `json:"last_auth_check_at" format:"date-time"`
// URL where the browser landed after successful login. Query parameters and
// fragments are stripped for privacy.
PostLoginURL string `json:"post_login_url" format:"uri"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
ID respjson.Field
Expand All @@ -322,6 +325,7 @@ type AuthAgent struct {
CredentialName respjson.Field
HasSelectors respjson.Field
LastAuthCheckAt respjson.Field
PostLoginURL respjson.Field
ExtraFields map[string]respjson.Field
raw string
} `json:"-"`
Expand Down
126 changes: 63 additions & 63 deletions api.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion internal/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

package internal

const PackageVersion = "0.25.0" // x-release-please-version
const PackageVersion = "0.26.0" // x-release-please-version