@engini/sdk 0.31.0 → 0.32.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/README.md CHANGED
@@ -211,6 +211,7 @@ const page = await client.executions.listPage({ top: 20, cursor: previous.nextCu
211
211
 
212
212
  const run = await client.executions.get(4567);
213
213
  const steps = await client.executions.log(4567); // throws EnginiAPIError on 410 (retention passed)
214
+ const failedSteps = steps.filter((s) => s.status === "ranWithError").map((s) => [s.stepNo, s.errorMessage]);
214
215
  const payloads = await client.executions.data(4567, 3, { type: "response" }); // drains, 10 per page
215
216
  ```
216
217
 
@@ -28,11 +28,9 @@ export declare class AuthProvidersResource {
28
28
  /**
29
29
  * Create a provider. `fieldValues` is keyed by slot; password values are write-only. A body
30
30
  * carrying `clientId` / `clientSecret` is a 400 `INVALID_AUTH_PROVIDER`. `allowScopeExtend`
31
- * is required by engini-client 0.18.0's type; here it defaults to `true`, the server's default.
31
+ * is optional: omit it and the server applies its default (`true`).
32
32
  */
33
- create(body: Omit<CreateAuthProviderRequest, "allowScopeExtend"> & {
34
- allowScopeExtend?: boolean;
35
- }): Promise<AuthProviderResponse>;
33
+ create(body: CreateAuthProviderRequest): Promise<AuthProviderResponse>;
36
34
  /**
37
35
  * Partial update: an omitted field is left alone. In `fieldValues`, an omitted slot keeps its
38
36
  * stored value and `""` clears it.
@@ -30,13 +30,10 @@ export class AuthProvidersResource {
30
30
  /**
31
31
  * Create a provider. `fieldValues` is keyed by slot; password values are write-only. A body
32
32
  * carrying `clientId` / `clientSecret` is a 400 `INVALID_AUTH_PROVIDER`. `allowScopeExtend`
33
- * is required by engini-client 0.18.0's type; here it defaults to `true`, the server's default.
33
+ * is optional: omit it and the server applies its default (`true`).
34
34
  */
35
35
  async create(body) {
36
- return call(authProvidersCreate, {
37
- client: this.client._transport,
38
- body: { allowScopeExtend: true, ...body },
39
- });
36
+ return call(authProvidersCreate, { client: this.client._transport, body });
40
37
  }
41
38
  /**
42
39
  * Partial update: an omitted field is left alone. In `fieldValues`, an omitted slot keeps its
package/dist/version.d.ts CHANGED
@@ -3,4 +3,4 @@
3
3
  * Regenerated on every build/typecheck/test (see the "pre*" scripts in
4
4
  * package.json). Un-stamped local builds yield "0.0.0".
5
5
  */
6
- export declare const VERSION = "0.31.0";
6
+ export declare const VERSION = "0.32.0";
package/dist/version.js CHANGED
@@ -3,4 +3,4 @@
3
3
  * Regenerated on every build/typecheck/test (see the "pre*" scripts in
4
4
  * package.json). Un-stamped local builds yield "0.0.0".
5
5
  */
6
- export const VERSION = "0.31.0";
6
+ export const VERSION = "0.32.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@engini/sdk",
3
- "version": "0.31.0",
3
+ "version": "0.32.0",
4
4
  "description": "Engini SDK — agent-first ergonomic layer over the Engini Public API",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -27,7 +27,7 @@
27
27
  "test": "vitest run"
28
28
  },
29
29
  "dependencies": {
30
- "@engini/client": "0.18.0",
30
+ "@engini/client": "0.19.0",
31
31
  "undici": "^6.0.0"
32
32
  },
33
33
  "devDependencies": {