@athenaintel/sdk 4.3.683 → 4.3.685
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/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/resources/aop/client/Client.d.ts +2 -0
- package/dist/cjs/api/resources/aop/client/Client.js +2 -0
- package/dist/cjs/api/resources/threads/client/Client.d.ts +2 -0
- package/dist/cjs/api/resources/threads/client/Client.js +2 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/api/resources/aop/client/Client.d.mts +2 -0
- package/dist/esm/api/resources/aop/client/Client.mjs +2 -0
- package/dist/esm/api/resources/threads/client/Client.d.mts +2 -0
- package/dist/esm/api/resources/threads/client/Client.mjs +2 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +4 -0
package/dist/cjs/BaseClient.js
CHANGED
|
@@ -43,8 +43,8 @@ function normalizeClientOptions(options) {
|
|
|
43
43
|
const headers = (0, headers_js_1.mergeHeaders)({
|
|
44
44
|
"X-Fern-Language": "JavaScript",
|
|
45
45
|
"X-Fern-SDK-Name": "@athenaintel/sdk",
|
|
46
|
-
"X-Fern-SDK-Version": "4.3.
|
|
47
|
-
"User-Agent": "@athenaintel/sdk/4.3.
|
|
46
|
+
"X-Fern-SDK-Version": "4.3.685",
|
|
47
|
+
"User-Agent": "@athenaintel/sdk/4.3.685",
|
|
48
48
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
49
49
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
50
50
|
}, options === null || options === void 0 ? void 0 : options.headers);
|
|
@@ -37,6 +37,8 @@ export declare class AopClient {
|
|
|
37
37
|
/**
|
|
38
38
|
* Start execution of an Agent Operating Procedure (AOP) asset asynchronously. Returns immediately with a thread_id for tracking execution progress without waiting for completion.
|
|
39
39
|
*
|
|
40
|
+
* **Important:** This endpoint returns immediately and does NOT wait for the AOP to finish. You must poll the thread status endpoint (GET /api/v0/threads/{thread_id}/status) in a loop until the status is "completed" or "failed". See the Long-Running AOP Execution guide in Python Guides for the complete pattern.
|
|
41
|
+
*
|
|
40
42
|
* @param {AthenaIntelligence.AopExecuteRequestIn} request
|
|
41
43
|
* @param {AopClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
42
44
|
*
|
|
@@ -148,6 +148,8 @@ class AopClient {
|
|
|
148
148
|
/**
|
|
149
149
|
* Start execution of an Agent Operating Procedure (AOP) asset asynchronously. Returns immediately with a thread_id for tracking execution progress without waiting for completion.
|
|
150
150
|
*
|
|
151
|
+
* **Important:** This endpoint returns immediately and does NOT wait for the AOP to finish. You must poll the thread status endpoint (GET /api/v0/threads/{thread_id}/status) in a loop until the status is "completed" or "failed". See the Long-Running AOP Execution guide in Python Guides for the complete pattern.
|
|
152
|
+
*
|
|
151
153
|
* @param {AthenaIntelligence.AopExecuteRequestIn} request
|
|
152
154
|
* @param {AopClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
153
155
|
*
|
|
@@ -48,6 +48,8 @@ export declare class ThreadsClient {
|
|
|
48
48
|
/**
|
|
49
49
|
* Check the status of a thread execution by thread ID. Returns thread status and associated conversation asset information for tracking progress.
|
|
50
50
|
*
|
|
51
|
+
* **Polling pattern:** When used with the async AOP execution endpoint, call this endpoint repeatedly in a loop with a 5-second interval until the status is "completed" or "failed". Always implement a timeout to avoid polling indefinitely. See the Long-Running AOP Execution guide in Python Guides for the complete pattern.
|
|
52
|
+
*
|
|
51
53
|
* @param {string} thread_id - The unique thread ID to check status for
|
|
52
54
|
* @param {ThreadsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
53
55
|
*
|
|
@@ -219,6 +219,8 @@ class ThreadsClient {
|
|
|
219
219
|
/**
|
|
220
220
|
* Check the status of a thread execution by thread ID. Returns thread status and associated conversation asset information for tracking progress.
|
|
221
221
|
*
|
|
222
|
+
* **Polling pattern:** When used with the async AOP execution endpoint, call this endpoint repeatedly in a loop with a 5-second interval until the status is "completed" or "failed". Always implement a timeout to avoid polling indefinitely. See the Long-Running AOP Execution guide in Python Guides for the complete pattern.
|
|
223
|
+
*
|
|
222
224
|
* @param {string} thread_id - The unique thread ID to check status for
|
|
223
225
|
* @param {ThreadsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
224
226
|
*
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "4.3.
|
|
1
|
+
export declare const SDK_VERSION = "4.3.685";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/BaseClient.mjs
CHANGED
|
@@ -6,8 +6,8 @@ export function normalizeClientOptions(options) {
|
|
|
6
6
|
const headers = mergeHeaders({
|
|
7
7
|
"X-Fern-Language": "JavaScript",
|
|
8
8
|
"X-Fern-SDK-Name": "@athenaintel/sdk",
|
|
9
|
-
"X-Fern-SDK-Version": "4.3.
|
|
10
|
-
"User-Agent": "@athenaintel/sdk/4.3.
|
|
9
|
+
"X-Fern-SDK-Version": "4.3.685",
|
|
10
|
+
"User-Agent": "@athenaintel/sdk/4.3.685",
|
|
11
11
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
12
12
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
13
13
|
}, options === null || options === void 0 ? void 0 : options.headers);
|
|
@@ -37,6 +37,8 @@ export declare class AopClient {
|
|
|
37
37
|
/**
|
|
38
38
|
* Start execution of an Agent Operating Procedure (AOP) asset asynchronously. Returns immediately with a thread_id for tracking execution progress without waiting for completion.
|
|
39
39
|
*
|
|
40
|
+
* **Important:** This endpoint returns immediately and does NOT wait for the AOP to finish. You must poll the thread status endpoint (GET /api/v0/threads/{thread_id}/status) in a loop until the status is "completed" or "failed". See the Long-Running AOP Execution guide in Python Guides for the complete pattern.
|
|
41
|
+
*
|
|
40
42
|
* @param {AthenaIntelligence.AopExecuteRequestIn} request
|
|
41
43
|
* @param {AopClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
42
44
|
*
|
|
@@ -112,6 +112,8 @@ export class AopClient {
|
|
|
112
112
|
/**
|
|
113
113
|
* Start execution of an Agent Operating Procedure (AOP) asset asynchronously. Returns immediately with a thread_id for tracking execution progress without waiting for completion.
|
|
114
114
|
*
|
|
115
|
+
* **Important:** This endpoint returns immediately and does NOT wait for the AOP to finish. You must poll the thread status endpoint (GET /api/v0/threads/{thread_id}/status) in a loop until the status is "completed" or "failed". See the Long-Running AOP Execution guide in Python Guides for the complete pattern.
|
|
116
|
+
*
|
|
115
117
|
* @param {AthenaIntelligence.AopExecuteRequestIn} request
|
|
116
118
|
* @param {AopClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
117
119
|
*
|
|
@@ -48,6 +48,8 @@ export declare class ThreadsClient {
|
|
|
48
48
|
/**
|
|
49
49
|
* Check the status of a thread execution by thread ID. Returns thread status and associated conversation asset information for tracking progress.
|
|
50
50
|
*
|
|
51
|
+
* **Polling pattern:** When used with the async AOP execution endpoint, call this endpoint repeatedly in a loop with a 5-second interval until the status is "completed" or "failed". Always implement a timeout to avoid polling indefinitely. See the Long-Running AOP Execution guide in Python Guides for the complete pattern.
|
|
52
|
+
*
|
|
51
53
|
* @param {string} thread_id - The unique thread ID to check status for
|
|
52
54
|
* @param {ThreadsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
53
55
|
*
|
|
@@ -183,6 +183,8 @@ export class ThreadsClient {
|
|
|
183
183
|
/**
|
|
184
184
|
* Check the status of a thread execution by thread ID. Returns thread status and associated conversation asset information for tracking progress.
|
|
185
185
|
*
|
|
186
|
+
* **Polling pattern:** When used with the async AOP execution endpoint, call this endpoint repeatedly in a loop with a 5-second interval until the status is "completed" or "failed". Always implement a timeout to avoid polling indefinitely. See the Long-Running AOP Execution guide in Python Guides for the complete pattern.
|
|
187
|
+
*
|
|
186
188
|
* @param {string} thread_id - The unique thread ID to check status for
|
|
187
189
|
* @param {ThreadsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
188
190
|
*
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "4.3.
|
|
1
|
+
export declare const SDK_VERSION = "4.3.685";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "4.3.
|
|
1
|
+
export const SDK_VERSION = "4.3.685";
|
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -167,6 +167,8 @@ await client.aop.execute({
|
|
|
167
167
|
<dd>
|
|
168
168
|
|
|
169
169
|
Start execution of an Agent Operating Procedure (AOP) asset asynchronously. Returns immediately with a thread_id for tracking execution progress without waiting for completion.
|
|
170
|
+
|
|
171
|
+
**Important:** This endpoint returns immediately and does NOT wait for the AOP to finish. You must poll the thread status endpoint (GET /api/v0/threads/{thread_id}/status) in a loop until the status is "completed" or "failed". See the Long-Running AOP Execution guide in Python Guides for the complete pattern.
|
|
170
172
|
</dd>
|
|
171
173
|
</dl>
|
|
172
174
|
</dd>
|
|
@@ -1358,6 +1360,8 @@ await client.threads.batchStop({
|
|
|
1358
1360
|
<dd>
|
|
1359
1361
|
|
|
1360
1362
|
Check the status of a thread execution by thread ID. Returns thread status and associated conversation asset information for tracking progress.
|
|
1363
|
+
|
|
1364
|
+
**Polling pattern:** When used with the async AOP execution endpoint, call this endpoint repeatedly in a loop with a 5-second interval until the status is "completed" or "failed". Always implement a timeout to avoid polling indefinitely. See the Long-Running AOP Execution guide in Python Guides for the complete pattern.
|
|
1361
1365
|
</dd>
|
|
1362
1366
|
</dl>
|
|
1363
1367
|
</dd>
|