Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
dc2494a
codegen metadata
stainless-app[bot] Nov 7, 2025
b4971e9
fix(client): correctly specify Accept header with */* instead of empty
stainless-app[bot] Nov 19, 2025
225468e
feat(api): api update
stainless-app[bot] Dec 3, 2025
817865a
codegen metadata
stainless-app[bot] Dec 8, 2025
8a8ad69
feat(api): api update
stainless-app[bot] Dec 8, 2025
dacb1a5
codegen metadata
stainless-app[bot] Dec 9, 2025
263a9c8
chore(internal): codegen related update
stainless-app[bot] Dec 9, 2025
37f1785
chore: elide duplicate aliases
stainless-app[bot] Dec 9, 2025
cdd7fa0
fix(mcp): correct code tool API endpoint
stainless-app[bot] Dec 9, 2025
31f124a
fix: rename param to avoid collision
stainless-app[bot] Dec 9, 2025
fcb1643
codegen metadata
stainless-app[bot] Dec 13, 2025
ffdd553
codegen metadata
stainless-app[bot] Dec 17, 2025
87e81ce
codegen metadata
stainless-app[bot] Dec 18, 2025
d2a63a5
chore(internal): codegen related update
stainless-app[bot] Dec 19, 2025
c8e95c7
docs: add more examples
stainless-app[bot] Dec 20, 2025
96bb51d
feat(api): api update
stainless-app[bot] Jan 6, 2026
7d8d734
codegen metadata
stainless-app[bot] Jan 6, 2026
8630261
codegen metadata
stainless-app[bot] Jan 9, 2026
3ebb820
codegen metadata
stainless-app[bot] Jan 16, 2026
5613221
codegen metadata
stainless-app[bot] Jan 17, 2026
c507015
chore(internal): update `actions/checkout` version
stainless-app[bot] Jan 17, 2026
11168f2
fix(docs): add missing pointer prefix to api.md return types
stainless-app[bot] Jan 17, 2026
dba7b85
feat(api): api update
stainless-app[bot] Jan 22, 2026
5478dc3
codegen metadata
stainless-app[bot] Jan 24, 2026
af47ad8
codegen metadata
stainless-app[bot] Jan 27, 2026
864dcdf
codegen metadata
stainless-app[bot] Feb 3, 2026
423a039
codegen metadata
stainless-app[bot] Feb 4, 2026
3e5918a
codegen metadata
stainless-app[bot] Feb 4, 2026
31b05fe
feat(api): api update
stainless-app[bot] Feb 6, 2026
2cf954f
codegen metadata
stainless-app[bot] Feb 6, 2026
0b62680
codegen metadata
stainless-app[bot] Feb 11, 2026
8fda71b
codegen metadata
stainless-app[bot] Feb 11, 2026
426bd50
feat(api): api update
stainless-app[bot] Feb 12, 2026
f3cafbb
feat(api): api update
stainless-app[bot] Feb 18, 2026
e295d78
feat(api): api update
stainless-app[bot] Feb 19, 2026
ef6dba7
feat(api): api update
stainless-app[bot] Feb 20, 2026
f410c16
codegen metadata
stainless-app[bot] Feb 20, 2026
78e159d
chore: update mock server docs
stainless-app[bot] Feb 20, 2026
5093f28
fix: allow canceling a request while it is waiting to retry
stainless-app[bot] Feb 20, 2026
cedae74
chore(internal): move custom custom `json` tags to `api`
stainless-app[bot] Feb 25, 2026
e7ec3a4
feat(api): api update
stainless-app[bot] Feb 26, 2026
8e0a60b
feat(api): api update
stainless-app[bot] Feb 26, 2026
d308faf
chore(internal): codegen related update
stainless-app[bot] Mar 3, 2026
69d1ce8
codegen metadata
stainless-app[bot] Mar 6, 2026
e5b7b08
codegen metadata
stainless-app[bot] Mar 6, 2026
4c00a3b
feat(api): api update
stainless-app[bot] Mar 7, 2026
49341b2
chore(internal): codegen related update
stainless-app[bot] Mar 7, 2026
7defc79
chore(test): do not count install time for mock server timeout
stainless-app[bot] Mar 7, 2026
70b177c
chore(ci): skip uploading artifacts on stainless-internal branches
stainless-app[bot] Mar 8, 2026
e8333c4
feat(api): api update
stainless-app[bot] Mar 8, 2026
2a2c1c1
codegen metadata
stainless-app[bot] Mar 9, 2026
ccbe3e3
codegen metadata
stainless-app[bot] Mar 9, 2026
6dfc676
chore(internal): minor cleanup
stainless-app[bot] Mar 11, 2026
f107ebe
chore(internal): use explicit returns
stainless-app[bot] Mar 11, 2026
97ffe54
chore(internal): use explicit returns in more places
stainless-app[bot] Mar 11, 2026
107a1dd
chore(internal): tweak CI branches
stainless-app[bot] Mar 17, 2026
0de537a
feat(api): api update
stainless-app[bot] Mar 18, 2026
a0e535e
refactor(tests): switch from prism to steady
stainless-app[bot] Mar 20, 2026
1047eee
codegen metadata
stainless-app[bot] Mar 20, 2026
171aec7
chore(tests): bump steady to v0.19.4
stainless-app[bot] Mar 21, 2026
3c43671
chore(tests): bump steady to v0.19.5
stainless-app[bot] Mar 21, 2026
bcbbcd2
chore(internal): update gitignore
stainless-app[bot] Mar 24, 2026
ffeb63b
chore(tests): bump steady to v0.19.6
stainless-app[bot] Mar 24, 2026
9a5a06a
chore(ci): skip lint on metadata-only changes
stainless-app[bot] Mar 25, 2026
ad2f360
chore(tests): bump steady to v0.19.7
stainless-app[bot] Mar 25, 2026
7cc32ed
codegen metadata
stainless-app[bot] Mar 25, 2026
c38c944
codegen metadata
stainless-app[bot] Mar 26, 2026
f5f5733
fix: prevent duplicate ? in query params
stainless-app[bot] Mar 27, 2026
b976417
chore: remove unnecessary error check for url parsing
stainless-app[bot] Mar 27, 2026
da159cd
feat(internal): support comma format in multipart form encoding
stainless-app[bot] Mar 27, 2026
836da69
chore(ci): support opting out of skipping builds on metadata-only com…
stainless-app[bot] Mar 28, 2026
03c535a
chore(tests): bump steady to v0.20.1
stainless-app[bot] Apr 1, 2026
00aa1f0
chore(tests): bump steady to v0.20.2
stainless-app[bot] Apr 1, 2026
23431c0
feat(api): api update
stainless-app[bot] Apr 10, 2026
79801a5
codegen metadata
stainless-app[bot] Apr 15, 2026
2b0cb4e
release: 0.1.0-alpha.9
stainless-app[bot] Apr 15, 2026
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
49 changes: 41 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,59 @@
name: CI
on:
push:
branches-ignore:
- 'generated'
- 'codegen/**'
- 'integrated/**'
- 'stl-preview-head/**'
- 'stl-preview-base/**'
branches:
- '**'
- '!integrated/**'
- '!stl-preview-head/**'
- '!stl-preview-base/**'
- '!generated'
- '!codegen/**'
- 'codegen/stl/**'
pull_request:
branches-ignore:
- 'stl-preview-head/**'
- 'stl-preview-base/**'

jobs:
build:
timeout-minutes: 10
name: build
permissions:
contents: read
id-token: write
runs-on: ${{ github.repository == 'stainless-sdks/arcade-engine-go' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
if: |-
github.repository == 'stainless-sdks/arcade-engine-go' &&
(github.event_name == 'push' || github.event.pull_request.head.repo.fork) && (github.event_name != 'push' || github.event.head_commit.message != 'codegen metadata')
steps:
- uses: actions/checkout@v6

- name: Get GitHub OIDC Token
if: |-
github.repository == 'stainless-sdks/arcade-engine-go' &&
!startsWith(github.ref, 'refs/heads/stl/')
id: github-oidc
uses: actions/github-script@v8
with:
script: core.setOutput('github_token', await core.getIDToken());

- name: Upload tarball
if: |-
github.repository == 'stainless-sdks/arcade-engine-go' &&
!startsWith(github.ref, 'refs/heads/stl/')
env:
URL: https://pkg.stainless.com/s
AUTH: ${{ steps.github-oidc.outputs.github_token }}
SHA: ${{ github.sha }}
run: ./scripts/utils/upload-artifact.sh
lint:
timeout-minutes: 10
name: lint
runs-on: ${{ github.repository == 'stainless-sdks/arcade-engine-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 All @@ -35,7 +68,7 @@ jobs:
runs-on: ${{ github.repository == 'stainless-sdks/arcade-engine-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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.prism.log
.stdy.log
codegen.log
Brewfile.lock.json
.idea/
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.1.0-alpha.8"
".": "0.1.0-alpha.9"
}
8 changes: 4 additions & 4 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 29
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/arcade-ai%2Farcade-engine-0a15ddd7e03addf08468ff36ac294458f86a3a990277a71870e4bc293635bef9.yml
openapi_spec_hash: 8640228f8a86e5dc464dfa2c8205a2a7
config_hash: 70cdb57c982c578d1961657c07b8b397
configured_endpoints: 30
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/arcade-ai%2Farcade-engine-872f878f0f5dabc42b1102a2408e36653d9e5b4942af0e740ba7ab362916e6c7.yml
openapi_spec_hash: ff3a9433714b0a5de70800bbe267af99
config_hash: 2d4163acdeacd75903f978cd79c35d14
71 changes: 71 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,76 @@
# Changelog

## 0.1.0-alpha.9 (2026-04-15)

Full Changelog: [v0.1.0-alpha.8...v0.1.0-alpha.9](https://github.com/ArcadeAI/arcade-go/compare/v0.1.0-alpha.8...v0.1.0-alpha.9)

### Features

* **api:** api update ([23431c0](https://github.com/ArcadeAI/arcade-go/commit/23431c015087f68e83143eb3f4793932309564d8))
* **api:** api update ([0de537a](https://github.com/ArcadeAI/arcade-go/commit/0de537ac10f2926566b8a62c42b874a0e8bff817))
* **api:** api update ([e8333c4](https://github.com/ArcadeAI/arcade-go/commit/e8333c47cae6a2e6c218c705196796691fabbfc5))
* **api:** api update ([4c00a3b](https://github.com/ArcadeAI/arcade-go/commit/4c00a3bfa62910224a49680ab7a2e4919e93e6e7))
* **api:** api update ([8e0a60b](https://github.com/ArcadeAI/arcade-go/commit/8e0a60b92a5d9aaf32d3b1fd3c008921972ccec8))
* **api:** api update ([e7ec3a4](https://github.com/ArcadeAI/arcade-go/commit/e7ec3a489005741fb4fe27aed0223e479aaf15d6))
* **api:** api update ([ef6dba7](https://github.com/ArcadeAI/arcade-go/commit/ef6dba7dcc75ec8a355da12108145dc966564949))
* **api:** api update ([e295d78](https://github.com/ArcadeAI/arcade-go/commit/e295d78443c56c5d146c1ce425cc0b94aa986abd))
* **api:** api update ([f3cafbb](https://github.com/ArcadeAI/arcade-go/commit/f3cafbbda12389ddac755ad764cdfca589fed640))
* **api:** api update ([426bd50](https://github.com/ArcadeAI/arcade-go/commit/426bd5094794f1fe5cf17928871bdbf7c8372cbc))
* **api:** api update ([31b05fe](https://github.com/ArcadeAI/arcade-go/commit/31b05fe785b727d1fce4a403f6995f354476a3ab))
* **api:** api update ([dba7b85](https://github.com/ArcadeAI/arcade-go/commit/dba7b8599c6b63c207634e3ac9a8250abbd8c478))
* **api:** api update ([96bb51d](https://github.com/ArcadeAI/arcade-go/commit/96bb51dc393da8eda932aebcb8817e15c6f0fd3c))
* **api:** api update ([8a8ad69](https://github.com/ArcadeAI/arcade-go/commit/8a8ad6959f8ae3aed9085661c6efd7a19713ea41))
* **api:** api update ([225468e](https://github.com/ArcadeAI/arcade-go/commit/225468eb94ab97ea95c360939964eef2c9f15142))
* **internal:** support comma format in multipart form encoding ([da159cd](https://github.com/ArcadeAI/arcade-go/commit/da159cdf03283224fee066a351aaa194907b096e))


### Bug Fixes

* allow canceling a request while it is waiting to retry ([5093f28](https://github.com/ArcadeAI/arcade-go/commit/5093f2889531dc14af7be689f2af8baba011f606))
* **client:** correctly specify Accept header with */* instead of empty ([b4971e9](https://github.com/ArcadeAI/arcade-go/commit/b4971e9ac4114e03f0b91628a5e5bea5055d4d90))
* **docs:** add missing pointer prefix to api.md return types ([11168f2](https://github.com/ArcadeAI/arcade-go/commit/11168f2105fd658a16d9378d56dc283925e31412))
* **mcp:** correct code tool API endpoint ([cdd7fa0](https://github.com/ArcadeAI/arcade-go/commit/cdd7fa02a5ca03e198cad5a969e7e2951e6fb372))
* prevent duplicate ? in query params ([f5f5733](https://github.com/ArcadeAI/arcade-go/commit/f5f57333f5ad6fe24346182fbc6004e3da558b0c))
* rename param to avoid collision ([31f124a](https://github.com/ArcadeAI/arcade-go/commit/31f124a0dd547c82e1655a34e30be9bbed9ed06f))


### Chores

* **ci:** skip lint on metadata-only changes ([9a5a06a](https://github.com/ArcadeAI/arcade-go/commit/9a5a06a01559aacd2c9fa8ca596312ab724c52ae))
* **ci:** skip uploading artifacts on stainless-internal branches ([70b177c](https://github.com/ArcadeAI/arcade-go/commit/70b177ccc9ab49e4da4eaed477106fa56d14bbc9))
* **ci:** support opting out of skipping builds on metadata-only commits ([836da69](https://github.com/ArcadeAI/arcade-go/commit/836da69c65e6c66f3f199da76c9e7486c1cf8565))
* elide duplicate aliases ([37f1785](https://github.com/ArcadeAI/arcade-go/commit/37f1785677e7707685049d97ea3fc88f6955cd45))
* **internal:** codegen related update ([49341b2](https://github.com/ArcadeAI/arcade-go/commit/49341b277a9d0824d09c0e0eb5fc3b87ff104c20))
* **internal:** codegen related update ([d308faf](https://github.com/ArcadeAI/arcade-go/commit/d308fafcd3b08787165aa32d4b89302368d85396))
* **internal:** codegen related update ([d2a63a5](https://github.com/ArcadeAI/arcade-go/commit/d2a63a5c1426deb8172d2f98a3976e37b10a8d1d))
* **internal:** codegen related update ([263a9c8](https://github.com/ArcadeAI/arcade-go/commit/263a9c8e76c9920b0b7984701e9498da2cee6398))
* **internal:** minor cleanup ([6dfc676](https://github.com/ArcadeAI/arcade-go/commit/6dfc676d0446ff839d9471a45b27c18a66c609cf))
* **internal:** move custom custom `json` tags to `api` ([cedae74](https://github.com/ArcadeAI/arcade-go/commit/cedae746b544a425461567895a612b8a3f6753fc))
* **internal:** tweak CI branches ([107a1dd](https://github.com/ArcadeAI/arcade-go/commit/107a1dd493e9923873035a3c4b638614a02ba868))
* **internal:** update `actions/checkout` version ([c507015](https://github.com/ArcadeAI/arcade-go/commit/c5070155e8a43faf42a500d32d97e2a569c3eea0))
* **internal:** update gitignore ([bcbbcd2](https://github.com/ArcadeAI/arcade-go/commit/bcbbcd24d3603f0317aaf92cbbbc14fade166423))
* **internal:** use explicit returns ([f107ebe](https://github.com/ArcadeAI/arcade-go/commit/f107ebec55f86a2b82e8678b83f6856ac3c39863))
* **internal:** use explicit returns in more places ([97ffe54](https://github.com/ArcadeAI/arcade-go/commit/97ffe542f9a6e82f02843e1f2a14871c398f644a))
* remove unnecessary error check for url parsing ([b976417](https://github.com/ArcadeAI/arcade-go/commit/b976417506dea1a4e520634e50e09ad5332114e5))
* **test:** do not count install time for mock server timeout ([7defc79](https://github.com/ArcadeAI/arcade-go/commit/7defc79a6f60f1ce26d28c238702d011aa4ba752))
* **tests:** bump steady to v0.19.4 ([171aec7](https://github.com/ArcadeAI/arcade-go/commit/171aec78e38cbad7460d139cf2ef3e6ccec084e3))
* **tests:** bump steady to v0.19.5 ([3c43671](https://github.com/ArcadeAI/arcade-go/commit/3c436718511052fece49d888393f008d2fca278b))
* **tests:** bump steady to v0.19.6 ([ffeb63b](https://github.com/ArcadeAI/arcade-go/commit/ffeb63b3d7521a1cb3b70dd1418af9aa18f249d6))
* **tests:** bump steady to v0.19.7 ([ad2f360](https://github.com/ArcadeAI/arcade-go/commit/ad2f36099721a32b1a2793096345d4683b0ba83c))
* **tests:** bump steady to v0.20.1 ([03c535a](https://github.com/ArcadeAI/arcade-go/commit/03c535a788ee4c16e6581e07849c78a19fd54fe1))
* **tests:** bump steady to v0.20.2 ([00aa1f0](https://github.com/ArcadeAI/arcade-go/commit/00aa1f05777151b994726849614781989b3ae271))
* update mock server docs ([78e159d](https://github.com/ArcadeAI/arcade-go/commit/78e159d152c1a41ce41f28c28902fa63913ba87d))


### Documentation

* add more examples ([c8e95c7](https://github.com/ArcadeAI/arcade-go/commit/c8e95c7814031cf786e5e6d09e4bf8b51a48063a))


### Refactors

* **tests:** switch from prism to steady ([a0e535e](https://github.com/ArcadeAI/arcade-go/commit/a0e535e7bc517918a803d20c9ffe7cf802485f99))

## 0.1.0-alpha.8 (2025-11-07)

Full Changelog: [v0.1.0-alpha.7...v0.1.0-alpha.8](https://github.com/ArcadeAI/arcade-go/compare/v0.1.0-alpha.7...v0.1.0-alpha.8)
Expand Down
5 changes: 2 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,10 @@ $ go mod edit -replace github.com/ArcadeAI/arcade-go=/path/to/arcade-go

## Running tests

Most tests require you to [set up a mock server](https://github.com/stoplightio/prism) against the OpenAPI spec to run the tests.
Most tests require you to [set up a mock server](https://github.com/dgellow/steady) against the OpenAPI spec to run the tests.

```sh
# you will need npm installed
$ npx prism mock path/to/your/openapi.yml
$ ./scripts/mock
```

```sh
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright 2025 Arcade
Copyright 2026 Arcade

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

Expand Down
27 changes: 26 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Or to pin the version:
<!-- x-release-please-start-version -->

```sh
go get -u 'github.com/ArcadeAI/arcade-go@v0.1.0-alpha.8'
go get -u 'github.com/ArcadeAI/arcade-go@v0.1.0-alpha.9'
```

<!-- x-release-please-end -->
Expand Down Expand Up @@ -165,9 +165,34 @@ This library provides some conveniences for working with paginated list endpoint

You can use `.ListAutoPaging()` methods to iterate through items across all pages:

```go
iter := client.Admin.UserConnections.ListAutoPaging(context.TODO(), arcadego.AdminUserConnectionListParams{})
// Automatically fetches more pages as needed.
for iter.Next() {
userConnectionResponse := iter.Current()
fmt.Printf("%+v\n", userConnectionResponse)
}
if err := iter.Err(); err != nil {
panic(err.Error())
}
```

Or you can use simple `.List()` methods to fetch a single page and receive a standard response object
with additional helper methods like `.GetNextPage()`, e.g.:

```go
page, err := client.Admin.UserConnections.List(context.TODO(), arcadego.AdminUserConnectionListParams{})
for page != nil {
for _, userConnection := range page.Items {
fmt.Printf("%+v\n", userConnection)
}
page, err = page.GetNextPage()
}
if err != nil {
panic(err.Error())
}
```

### Errors

When the API returns a non-success status code, we return an error with type
Expand Down
Loading
Loading