@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.
@@ -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.683",
47
- "User-Agent": "@athenaintel/sdk/4.3.683",
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
  *
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "4.3.683";
1
+ export declare const SDK_VERSION = "4.3.685";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "4.3.683";
4
+ exports.SDK_VERSION = "4.3.685";
@@ -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.683",
10
- "User-Agent": "@athenaintel/sdk/4.3.683",
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
  *
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "4.3.683";
1
+ export declare const SDK_VERSION = "4.3.685";
@@ -1 +1 @@
1
- export const SDK_VERSION = "4.3.683";
1
+ export const SDK_VERSION = "4.3.685";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@athenaintel/sdk",
3
- "version": "4.3.683",
3
+ "version": "4.3.685",
4
4
  "private": false,
5
5
  "repository": "github:Athena-Intel/athena-typescript",
6
6
  "type": "commonjs",
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>