@clear-street/clearstreet 0.112.0 → 0.113.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.113.0](https://github.com/clear-street/clear-street-typescript/compare/v0.112.0...v0.113.0) (2026-11-04)
4
+
5
+
6
+ ### Features
7
+
8
+ * **api:** api update ([941810c](https://github.com/clear-street/clear-street-typescript/commit/941810c08aafeaddef18ad6956d5dbb0d070a0bd))
9
+
3
10
  ## [0.112.0](https://github.com/clear-street/clear-street-typescript/compare/v0.111.0...v0.112.0) (2026-11-04)
4
11
 
5
12
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clear-street/clearstreet",
3
- "version": "0.112.0",
3
+ "version": "0.113.0",
4
4
  "description": "The official TypeScript library for the Clear Street API",
5
5
  "author": "Clear Street <concierge@clearstreet.com>",
6
6
  "types": "./index.d.ts",
@@ -14,8 +14,8 @@ export declare class Responses extends APIResource {
14
14
  * response and other queued responses continue. Cancellation is idempotent after
15
15
  * the response becomes terminal. Each canceled response still produces a finalized
16
16
  * assistant message with outcome `canceled` in the thread history. Canceling a
17
- * response that ended `steered` or `merged` stops the response that continues its
18
- * work, with the same effect as Stop.
17
+ * response that ended `steered` or `merged` follows its `continued_in_response_id`
18
+ * and stops the response that continues its work, with the same effect as Stop.
19
19
  *
20
20
  * Authorization uses the linked account before any cancellation.
21
21
  *
@@ -33,8 +33,8 @@ export declare class Responses extends APIResource {
33
33
  * While its status is `queued` or `running`, content may be partial and include
34
34
  * thinking parts. Continue polling until it becomes `succeeded`, `failed`,
35
35
  * `canceled`, `steered`, or `merged`. Treat an unknown status as terminal. On
36
- * `steered` or `merged`, poll `GET /omni-ai/threads/{thread_id}/response` at once
37
- * for the response that continues the work.
36
+ * `steered` or `merged`, poll the response in `continued_in_response_id` at once:
37
+ * it continues the work.
38
38
  *
39
39
  * Once terminal, the finalized message is available through
40
40
  * `GET /omni-ai/threads/{thread_id}/messages`; refresh messages when a response
@@ -90,6 +90,13 @@ export interface Response {
90
90
  * data.
91
91
  */
92
92
  content?: ResponseContent | null;
93
+ /**
94
+ * The response that continues the work of this response. Present only when
95
+ * `status` is `steered` or `merged`. Follow it to keep showing the answer. To stop
96
+ * that work, cancel it, or cancel this response: the server follows the link. When
97
+ * a null/undefined value is observed, it indicates it does not apply.
98
+ */
99
+ continued_in_response_id?: string | null;
93
100
  /**
94
101
  * When a null/undefined value is observed, it indicates it does not apply.
95
102
  */
@@ -98,6 +105,13 @@ export interface Response {
98
105
  * When a null/undefined value is observed, it indicates it does not apply.
99
106
  */
100
107
  output_message_id?: string | null;
108
+ /**
109
+ * The `seq` the output message has in the thread's message list. Present once the
110
+ * output message exists. Omitted while the response is `queued`. Use it to place a
111
+ * response that is still in progress among the listed messages. When a
112
+ * null/undefined value is observed, it indicates it does not apply.
113
+ */
114
+ output_message_seq?: number | null;
101
115
  /**
102
116
  * The user message this response answers. Omitted when the response presents a
103
117
  * background result, such as a subagent's report, and answers no user message; its
@@ -1 +1 @@
1
- {"version":3,"file":"responses.d.mts","sourceRoot":"","sources":["../../../src/resources/v1/omni-ai/responses.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,MAAM,yBAAqB;AACvC,OAAO,KAAK,SAAS,sBAAkB;AACvC,OAAO,EAAE,UAAU,EAAE,sCAAkC;AACvD,OAAO,EAAE,cAAc,EAAE,8CAA0C;AAGnE;;GAEG;AACH,qBAAa,SAAU,SAAQ,WAAW;IACxC;;;;;;;;;;;;;;;;;;;OAmBG;IACH,cAAc,CACZ,UAAU,EAAE,MAAM,EAClB,MAAM,GAAE,4BAA4B,GAAG,IAAI,GAAG,SAAc,EAC5D,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,8BAA8B,CAAC;IAQ7C;;;;;;;;;;;;;;;;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AC3B;IAED;;OAEG;IACH,UAAiB,iBAAkB,SAAQ,SAAS,CAAC,wBAAwB;QAC3E,IAAI,EAAE,QAAQ,CAAC;KAChB;CACF;AAED;;;;;;;;GAQG;AACH,MAAM,MAAM,cAAc,GACtB,QAAQ,GACR,SAAS,GACT,WAAW,GACX,QAAQ,GACR,UAAU,GACV,SAAS,GACT,QAAQ,CAAC;AAEb,MAAM,WAAW,8BAA+B,SAAQ,MAAM,CAAC,YAAY;IACzE,IAAI,EAAE,qBAAqB,CAAC;CAC7B;AAED,MAAM,WAAW,+BAAgC,SAAQ,MAAM,CAAC,YAAY;IAC1E;;OAEG;IACH,IAAI,EAAE,QAAQ,CAAC;CAChB;AAED,MAAM,WAAW,4BAA4B;IAC3C;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,6BAA6B;IAC5C;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,CAAC,OAAO,WAAW,SAAS,CAAC;IACjC,OAAO,EACL,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,WAAW,IAAI,WAAW,EAC/B,KAAK,QAAQ,IAAI,QAAQ,EACzB,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,6BAA6B,IAAI,6BAA6B,GACpE,CAAC;CACH"}
@@ -14,8 +14,8 @@ export declare class Responses extends APIResource {
14
14
  * response and other queued responses continue. Cancellation is idempotent after
15
15
  * the response becomes terminal. Each canceled response still produces a finalized
16
16
  * assistant message with outcome `canceled` in the thread history. Canceling a
17
- * response that ended `steered` or `merged` stops the response that continues its
18
- * work, with the same effect as Stop.
17
+ * response that ended `steered` or `merged` follows its `continued_in_response_id`
18
+ * and stops the response that continues its work, with the same effect as Stop.
19
19
  *
20
20
  * Authorization uses the linked account before any cancellation.
21
21
  *
@@ -33,8 +33,8 @@ export declare class Responses extends APIResource {
33
33
  * While its status is `queued` or `running`, content may be partial and include
34
34
  * thinking parts. Continue polling until it becomes `succeeded`, `failed`,
35
35
  * `canceled`, `steered`, or `merged`. Treat an unknown status as terminal. On
36
- * `steered` or `merged`, poll `GET /omni-ai/threads/{thread_id}/response` at once
37
- * for the response that continues the work.
36
+ * `steered` or `merged`, poll the response in `continued_in_response_id` at once:
37
+ * it continues the work.
38
38
  *
39
39
  * Once terminal, the finalized message is available through
40
40
  * `GET /omni-ai/threads/{thread_id}/messages`; refresh messages when a response
@@ -90,6 +90,13 @@ export interface Response {
90
90
  * data.
91
91
  */
92
92
  content?: ResponseContent | null;
93
+ /**
94
+ * The response that continues the work of this response. Present only when
95
+ * `status` is `steered` or `merged`. Follow it to keep showing the answer. To stop
96
+ * that work, cancel it, or cancel this response: the server follows the link. When
97
+ * a null/undefined value is observed, it indicates it does not apply.
98
+ */
99
+ continued_in_response_id?: string | null;
93
100
  /**
94
101
  * When a null/undefined value is observed, it indicates it does not apply.
95
102
  */
@@ -98,6 +105,13 @@ export interface Response {
98
105
  * When a null/undefined value is observed, it indicates it does not apply.
99
106
  */
100
107
  output_message_id?: string | null;
108
+ /**
109
+ * The `seq` the output message has in the thread's message list. Present once the
110
+ * output message exists. Omitted while the response is `queued`. Use it to place a
111
+ * response that is still in progress among the listed messages. When a
112
+ * null/undefined value is observed, it indicates it does not apply.
113
+ */
114
+ output_message_seq?: number | null;
101
115
  /**
102
116
  * The user message this response answers. Omitted when the response presents a
103
117
  * background result, such as a subagent's report, and answers no user message; its
@@ -1 +1 @@
1
- {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../src/resources/v1/omni-ai/responses.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,KAAK,MAAM,wBAAqB;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AI,8BAA8B,EACrE,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,6BAA6B,IAAI,6BAA6B,GACpE,CAAC;CACH"}
@@ -15,8 +15,8 @@ class Responses extends resource_1.APIResource {
15
15
  * response and other queued responses continue. Cancellation is idempotent after
16
16
  * the response becomes terminal. Each canceled response still produces a finalized
17
17
  * assistant message with outcome `canceled` in the thread history. Canceling a
18
- * response that ended `steered` or `merged` stops the response that continues its
19
- * work, with the same effect as Stop.
18
+ * response that ended `steered` or `merged` follows its `continued_in_response_id`
19
+ * and stops the response that continues its work, with the same effect as Stop.
20
20
  *
21
21
  * Authorization uses the linked account before any cancellation.
22
22
  *
@@ -40,8 +40,8 @@ class Responses extends resource_1.APIResource {
40
40
  * While its status is `queued` or `running`, content may be partial and include
41
41
  * thinking parts. Continue polling until it becomes `succeeded`, `failed`,
42
42
  * `canceled`, `steered`, or `merged`. Treat an unknown status as terminal. On
43
- * `steered` or `merged`, poll `GET /omni-ai/threads/{thread_id}/response` at once
44
- * for the response that continues the work.
43
+ * `steered` or `merged`, poll the response in `continued_in_response_id` at once:
44
+ * it continues the work.
45
45
  *
46
46
  * Once terminal, the finalized message is available through
47
47
  * `GET /omni-ai/threads/{thread_id}/messages`; refresh messages when a response
@@ -12,8 +12,8 @@ export class Responses extends APIResource {
12
12
  * response and other queued responses continue. Cancellation is idempotent after
13
13
  * the response becomes terminal. Each canceled response still produces a finalized
14
14
  * assistant message with outcome `canceled` in the thread history. Canceling a
15
- * response that ended `steered` or `merged` stops the response that continues its
16
- * work, with the same effect as Stop.
15
+ * response that ended `steered` or `merged` follows its `continued_in_response_id`
16
+ * and stops the response that continues its work, with the same effect as Stop.
17
17
  *
18
18
  * Authorization uses the linked account before any cancellation.
19
19
  *
@@ -37,8 +37,8 @@ export class Responses extends APIResource {
37
37
  * While its status is `queued` or `running`, content may be partial and include
38
38
  * thinking parts. Continue polling until it becomes `succeeded`, `failed`,
39
39
  * `canceled`, `steered`, or `merged`. Treat an unknown status as terminal. On
40
- * `steered` or `merged`, poll `GET /omni-ai/threads/{thread_id}/response` at once
41
- * for the response that continues the work.
40
+ * `steered` or `merged`, poll the response in `continued_in_response_id` at once:
41
+ * it continues the work.
42
42
  *
43
43
  * Once terminal, the finalized message is available through
44
44
  * `GET /omni-ai/threads/{thread_id}/messages`; refresh messages when a response
@@ -18,8 +18,8 @@ export class Responses extends APIResource {
18
18
  * response and other queued responses continue. Cancellation is idempotent after
19
19
  * the response becomes terminal. Each canceled response still produces a finalized
20
20
  * assistant message with outcome `canceled` in the thread history. Canceling a
21
- * response that ended `steered` or `merged` stops the response that continues its
22
- * work, with the same effect as Stop.
21
+ * response that ended `steered` or `merged` follows its `continued_in_response_id`
22
+ * and stops the response that continues its work, with the same effect as Stop.
23
23
  *
24
24
  * Authorization uses the linked account before any cancellation.
25
25
  *
@@ -48,8 +48,8 @@ export class Responses extends APIResource {
48
48
  * While its status is `queued` or `running`, content may be partial and include
49
49
  * thinking parts. Continue polling until it becomes `succeeded`, `failed`,
50
50
  * `canceled`, `steered`, or `merged`. Treat an unknown status as terminal. On
51
- * `steered` or `merged`, poll `GET /omni-ai/threads/{thread_id}/response` at once
52
- * for the response that continues the work.
51
+ * `steered` or `merged`, poll the response in `continued_in_response_id` at once:
52
+ * it continues the work.
53
53
  *
54
54
  * Once terminal, the finalized message is available through
55
55
  * `GET /omni-ai/threads/{thread_id}/messages`; refresh messages when a response
@@ -120,6 +120,14 @@ export interface Response {
120
120
  */
121
121
  content?: ResponseContent | null;
122
122
 
123
+ /**
124
+ * The response that continues the work of this response. Present only when
125
+ * `status` is `steered` or `merged`. Follow it to keep showing the answer. To stop
126
+ * that work, cancel it, or cancel this response: the server follows the link. When
127
+ * a null/undefined value is observed, it indicates it does not apply.
128
+ */
129
+ continued_in_response_id?: string | null;
130
+
123
131
  /**
124
132
  * When a null/undefined value is observed, it indicates it does not apply.
125
133
  */
@@ -130,6 +138,14 @@ export interface Response {
130
138
  */
131
139
  output_message_id?: string | null;
132
140
 
141
+ /**
142
+ * The `seq` the output message has in the thread's message list. Present once the
143
+ * output message exists. Omitted while the response is `queued`. Use it to place a
144
+ * response that is still in progress among the listed messages. When a
145
+ * null/undefined value is observed, it indicates it does not apply.
146
+ */
147
+ output_message_seq?: number | null;
148
+
133
149
  /**
134
150
  * The user message this response answers. Omitted when the response presents a
135
151
  * background result, such as a subagent's report, and answers no user message; its
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.112.0'; // x-release-please-version
1
+ export const VERSION = '0.113.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.112.0";
1
+ export declare const VERSION = "0.113.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.112.0";
1
+ export declare const VERSION = "0.113.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '0.112.0'; // x-release-please-version
4
+ exports.VERSION = '0.113.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.112.0'; // x-release-please-version
1
+ export const VERSION = '0.113.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map