Skip to content

Commit 3d7c9aa

Browse files
release: 1.18.1 (#778)
Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent bdffdb8 commit 3d7c9aa

15 files changed

Lines changed: 155 additions & 15 deletions

File tree

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "1.18.0"
2+
".": "1.18.1"
33
}

.stats.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
configured_endpoints: 109
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai%2Frunloop-a1c7e69cbbf7a7cf63893358470cee52714633e6d31ce6dff2e7255c7445a1aa.yml
3-
openapi_spec_hash: a0e88c05a9b74c2bc9192bd7d94de3c0
4-
config_hash: ecb1ff09d29b565ed1452b5e0362e64d
1+
configured_endpoints: 110
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai%2Frunloop-f0eb12cf4df4fa3046bd88aae4966062eb6e9703768a07a0136da2f26a2ebd56.yml
3+
openapi_spec_hash: cdbd63a8162f1e987e937042cbd60eea
4+
config_hash: 526cf0707adc54c690fc687a1c6db728

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# Changelog
22

3+
## 1.18.1 (2026-04-10)
4+
5+
Full Changelog: [v1.18.0...v1.18.1](https://github.com/runloopai/api-client-ts/compare/v1.18.0...v1.18.1)
6+
7+
### Bug Fixes
8+
9+
* add list events to axon ([#8648](https://github.com/runloopai/api-client-ts/issues/8648)) ([413113e](https://github.com/runloopai/api-client-ts/commit/413113e1ffae4864ec742c43a01569b8ad134047))
10+
* TTL shutdown showed non-standard reason in devbox logs ([#8636](https://github.com/runloopai/api-client-ts/issues/8636)) ([16c33d5](https://github.com/runloopai/api-client-ts/commit/16c33d5cba17dbbf8fc58a4f4e88ac206c732411))
11+
12+
13+
### Documentation
14+
15+
* clarify that we don't support git commit SHA in git agents/blueprint builds ([#8638](https://github.com/runloopai/api-client-ts/issues/8638)) ([0d635d1](https://github.com/runloopai/api-client-ts/commit/0d635d18dfe56aa75dfedabbe47fb45cd376bbef))
16+
317
## 1.18.0 (2026-04-09)
418

519
Full Changelog: [v1.17.0...v1.18.0](https://github.com/runloopai/api-client-ts/compare/v1.17.0...v1.18.0)

api.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,16 @@ Methods:
9696
- <code title="post /v1/axons/{id}/publish">client.axons.<a href="./src/resources/axons/axons.ts">publish</a>(id, { ...params }) -> PublishResultView</code>
9797
- <code title="get /v1/axons/{id}/subscribe/sse">client.axons.<a href="./src/resources/axons/axons.ts">subscribeSse</a>(id, { ...params }) -> AxonEventView</code>
9898

99+
## Events
100+
101+
Types:
102+
103+
- <code><a href="./src/resources/axons/events.ts">AxonEventListView</a></code>
104+
105+
Methods:
106+
107+
- <code title="get /v1/axons/{id}/events">client.axons.events.<a href="./src/resources/axons/events.ts">list</a>(id, { ...params }) -> AxonEventListView</code>
108+
99109
## Sql
100110

101111
Types:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@runloop/api-client",
3-
"version": "1.18.0",
3+
"version": "1.18.1",
44
"description": "The official TypeScript library for the Runloop API",
55
"author": "Runloop <support@runloop.ai>",
66
"types": "dist/sdk.d.ts",

packages/mcp-server/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"dxt_version": "0.2",
33
"name": "@runloop/api-client-mcp",
4-
"version": "1.18.0",
4+
"version": "1.18.1",
55
"description": "The official MCP Server for the Runloop API",
66
"author": {
77
"name": "Runloop",

packages/mcp-server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@runloop/api-client-mcp",
3-
"version": "1.18.0",
3+
"version": "1.18.1",
44
"description": "The official MCP Server for the Runloop API",
55
"author": "Runloop <support@runloop.ai>",
66
"types": "dist/index.d.ts",

packages/mcp-server/src/server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export const newMcpServer = async (stainlessApiKey: string | undefined) =>
1616
new McpServer(
1717
{
1818
name: 'runloop_api_client_api',
19-
version: '1.18.0',
19+
version: '1.18.1',
2020
},
2121
{
2222
instructions: await getInstructions(stainlessApiKey),

src/resources/axons/axons.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ import { APIResource } from '../../resource';
44
import { isRequestOptions } from '../../core';
55
import { APIPromise } from '../../core';
66
import * as Core from '../../core';
7+
import * as EventsAPI from './events';
8+
import { AxonEventListView, EventListParams, Events } from './events';
79
import * as SqlAPI from './sql';
810
import {
911
Sql,
@@ -22,6 +24,7 @@ import { Stream } from '../../streaming';
2224
import { withStreamAutoReconnect } from '@runloop/api-client/lib/streaming-reconnection';
2325

2426
export class Axons extends APIResource {
27+
events: EventsAPI.Events = new EventsAPI.Events(this._client);
2528
sql: SqlAPI.Sql = new SqlAPI.Sql(this._client);
2629

2730
/**
@@ -273,6 +276,7 @@ export interface AxonSubscribeSseParams {
273276
}
274277

275278
Axons.AxonViewsAxonsCursorIDPage = AxonViewsAxonsCursorIDPage;
279+
Axons.Events = Events;
276280
Axons.Sql = Sql;
277281

278282
export declare namespace Axons {
@@ -289,6 +293,12 @@ export declare namespace Axons {
289293
type AxonSubscribeSseParams as AxonSubscribeSseParams,
290294
};
291295

296+
export {
297+
Events as Events,
298+
type AxonEventListView as AxonEventListView,
299+
type EventListParams as EventListParams,
300+
};
301+
292302
export {
293303
Sql as Sql,
294304
type SqlBatchParams as SqlBatchParams,

src/resources/axons/events.ts

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2+
3+
import { APIResource } from '../../resource';
4+
import { isRequestOptions } from '../../core';
5+
import * as Core from '../../core';
6+
import * as AxonsAPI from './axons';
7+
8+
export class Events extends APIResource {
9+
/**
10+
* [Beta] List events from an axon's event stream, ordered by sequence descending.
11+
*/
12+
list(
13+
id: string,
14+
query?: EventListParams,
15+
options?: Core.RequestOptions,
16+
): Core.APIPromise<AxonEventListView>;
17+
list(id: string, options?: Core.RequestOptions): Core.APIPromise<AxonEventListView>;
18+
list(
19+
id: string,
20+
query: EventListParams | Core.RequestOptions = {},
21+
options?: Core.RequestOptions,
22+
): Core.APIPromise<AxonEventListView> {
23+
if (isRequestOptions(query)) {
24+
return this.list(id, {}, query);
25+
}
26+
return this._client.get(`/v1/axons/${id}/events`, { query, ...options });
27+
}
28+
}
29+
30+
export interface AxonEventListView {
31+
/**
32+
* List of axon events.
33+
*/
34+
events: Array<AxonsAPI.AxonEventView>;
35+
36+
has_more: boolean;
37+
38+
total_count?: number | null;
39+
}
40+
41+
export interface EventListParams {
42+
/**
43+
* If true (default), includes total_count in the response. Set to false to skip
44+
* the count query for better performance on large datasets.
45+
*/
46+
include_total_count?: boolean;
47+
48+
/**
49+
* The limit of items to return. Default is 20. Max is 5000.
50+
*/
51+
limit?: number;
52+
53+
/**
54+
* Load the next page of data starting after the item with the given ID.
55+
*/
56+
starting_after?: string;
57+
}
58+
59+
export declare namespace Events {
60+
export { type AxonEventListView as AxonEventListView, type EventListParams as EventListParams };
61+
}

0 commit comments

Comments
 (0)