@eigenpal/sdk 0.20.41 → 0.20.43

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,11 @@
1
1
  # @eigenpal/sdk
2
2
 
3
+ ## 0.20.42
4
+
5
+ ### Patch Changes
6
+
7
+ - 4da7de5: The `tags` option when starting a run now documents that tags are returned in every webhook event as `data.run.tags`, for correlating events with your own records.
8
+
3
9
  ## 0.20.41
4
10
 
5
11
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eigenpal/sdk",
3
- "version": "0.20.41",
3
+ "version": "0.20.43",
4
4
  "description": "Official TypeScript SDK for the EigenPal API",
5
5
  "type": "module",
6
6
  "main": "./src/index.ts",
@@ -393,6 +393,9 @@ export type UpdateFolderRequest = {
393
393
  * Run envelope. Declare provenance with the `X-Eigenpal-Trigger` header (`api` or `cli`). Legacy 0.5.12 body shapes remain accepted.
394
394
  */
395
395
  export type RunStartBody = {
396
+ /**
397
+ * One exact tag or a list of up to 100 (256 characters each). Tags are returned on the run and in every webhook event as `data.run.tags`, so use them to carry your own correlation IDs.
398
+ */
396
399
  tags?: string | Array<string>;
397
400
  /**
398
401
  * Automation target without a version suffix, e.g. workflows.invoice or agents.support.
@@ -470,7 +473,7 @@ export type RunStartBody = {
470
473
 
471
474
  export type RunStartMultipartRequest = {
472
475
  /**
473
- * JSON string or string array of exact execution tags
476
+ * JSON string or string array of exact execution tags. Returned in every webhook event as `data.run.tags`.
474
477
  */
475
478
  tags?: string;
476
479
  /**
package/src/telemetry.ts CHANGED
@@ -19,7 +19,7 @@
19
19
  export const SDK_LANGUAGE = 'typescript';
20
20
  // Rewritten at publish time by scripts/release/platform/render-sdk-versions.sh.
21
21
  // Keep this string literal exactly stable — sed matches on it.
22
- export const SDK_VERSION = '0.20.41';
22
+ export const SDK_VERSION = '0.20.43';
23
23
 
24
24
  function detectRuntime(): string {
25
25
  const g = globalThis as unknown as {